summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2019-02-06 14:04:58 -0800
committerBen Smith <binjimin@gmail.com>2019-02-06 14:04:58 -0800
commit2470125ad664e8744acab97526173a44bd9fb98a (patch)
treeaf2482322caf5424f5c9366bf630ada63cc86c20 /src
parentadf722aa263d53d90b505adf86e6b4250707e8f7 (diff)
downloadwabt-2470125ad664e8744acab97526173a44bd9fb98a.tar.gz
wabt-2470125ad664e8744acab97526173a44bd9fb98a.tar.bz2
wabt-2470125ad664e8744acab97526173a44bd9fb98a.zip
Rename relocation types (#1005)
See https://github.com/WebAssembly/tool-conventions/pull/95
Diffstat (limited to 'src')
-rw-r--r--src/common.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/common.cc b/src/common.cc
index 4d3fb466..a22c42c1 100644
--- a/src/common.cc
+++ b/src/common.cc
@@ -43,11 +43,11 @@ const char* g_kind_name[] = {"func", "table", "memory", "global", "except"};
WABT_STATIC_ASSERT(WABT_ARRAY_SIZE(g_kind_name) == kExternalKindCount);
const char* g_reloc_type_name[] = {
- "R_WEBASSEMBLY_FUNCTION_INDEX_LEB", "R_WEBASSEMBLY_TABLE_INDEX_SLEB",
- "R_WEBASSEMBLY_TABLE_INDEX_I32", "R_WEBASSEMBLY_MEMORY_ADDR_LEB",
- "R_WEBASSEMBLY_MEMORY_ADDR_SLEB", "R_WEBASSEMBLY_MEMORY_ADDR_I32",
- "R_WEBASSEMBLY_TYPE_INDEX_LEB", "R_WEBASSEMBLY_GLOBAL_INDEX_LEB",
- "R_WEBASSEMBLY_FUNCTION_OFFSET_I32", "R_WEBASSEMBLY_SECTION_OFFSET_I32",
+ "R_WASM_FUNCTION_INDEX_LEB", "R_WASM_TABLE_INDEX_SLEB",
+ "R_WASM_TABLE_INDEX_I32", "R_WASM_MEMORY_ADDR_LEB",
+ "R_WASM_MEMORY_ADDR_SLEB", "R_WASM_MEMORY_ADDR_I32",
+ "R_WASM_TYPE_INDEX_LEB", "R_WASM_GLOBAL_INDEX_LEB",
+ "R_WASM_FUNCTION_OFFSET_I32", "R_WASM_SECTION_OFFSET_I32",
};
WABT_STATIC_ASSERT(WABT_ARRAY_SIZE(g_reloc_type_name) == kRelocTypeCount);