| ... | @@ -1477,8 +1477,8 @@ fn applyRelocs(code: []u8, code_offset: u32, relocs: Wasm.ObjectRelocation.Itera | ... | @@ -1477,8 +1477,8 @@ fn applyRelocs(code: []u8, code_offset: u32, relocs: Wasm.ObjectRelocation.Itera |
| 1477 | .table_import_index_sleb => @panic("TODO indirect function table needs to support object functions too"), | 1477 | .table_import_index_sleb => @panic("TODO indirect function table needs to support object functions too"), |
| 1478 | .table_import_index_sleb64 => @panic("TODO indirect function table needs to support object functions too"), | 1478 | .table_import_index_sleb64 => @panic("TODO indirect function table needs to support object functions too"), |
| 1479 | | 1479 | |
| 1480 | .global_index_i32 => reloc_u32_global(sliced_code, .fromObjectGlobal(wasm, pointee.global)), | 1480 | .global_index_i32 => reloc_u32_global(sliced_code, .fromObjectGlobalHandlingWeak(wasm, pointee.global)), |
| 1481 | .global_index_leb => reloc_leb_global(sliced_code, .fromObjectGlobal(wasm, pointee.global)), | 1481 | .global_index_leb => reloc_leb_global(sliced_code, .fromObjectGlobalHandlingWeak(wasm, pointee.global)), |
| 1482 | | 1482 | |
| 1483 | .global_import_index_i32 => reloc_u32_global(sliced_code, .fromSymbolName(wasm, pointee.symbol_name)), | 1483 | .global_import_index_i32 => reloc_u32_global(sliced_code, .fromSymbolName(wasm, pointee.symbol_name)), |
| 1484 | .global_import_index_leb => reloc_leb_global(sliced_code, .fromSymbolName(wasm, pointee.symbol_name)), | 1484 | .global_import_index_leb => reloc_leb_global(sliced_code, .fromSymbolName(wasm, pointee.symbol_name)), |