Next: WebAssembly-Signatures, Previous: WebAssembly-Chars, Up: WebAssembly-Syntax [Contents][Index]

#### 9.52.2.2 Relocations

Special relocations are available by using the ‘`@plt`’, ‘`@got`’, or ‘`@got`’ suffixes after a constant expression, which correspond to the R_ASMJS_LEB128_PLT, R_ASMJS_LEB128_GOT, and R_ASMJS_LEB128_GOT_CODE relocations, respectively.

The ‘`@plt`’ suffix is followed by a symbol name in braces; the symbol value is used to determine the function signature for which a PLT stub is generated. Currently, the symbol name is parsed from its last ‘`F`’ character to determine the argument count of the function, which is also necessary for generating a PLT stub.