[PATCH 102/188] using R_WASM_TABLE_INDEX_SLEB for i32.const as a

relocation symbol

From 8843e04dc76e1ffd70d1d227bb8cbba61237a8f5 Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Tue, 17 Mar 2020 15:02:07 -0400

git-svn-id: branches/wasm@46098 -
This commit is contained in:
nickysn 2020-08-03 13:00:50 +00:00
parent caa77c3b74
commit 637b558629

View File

@ -229,7 +229,7 @@ const
,(doReloc: false; relocType: $FF) // 3F memory_size
,(doReloc: false; relocType: $FF) // 40 memory_grow
,(doReloc: true; relocType: R_WASM_FUNCTION_INDEX_LEB) // 41 i32_const // TODO: special case for function address
,(doReloc: true; relocType: R_WASM_TABLE_INDEX_SLEB) // 41 i32_const // TODO: special case for function address
,(doReloc: false; relocType: $FF) // 42 i64_const
,(doReloc: false; relocType: $FF) // 43 f32_const