mirror of
https://github.com/ziglang/zig.git
synced 2026-01-05 13:03:25 +00:00
elf: fix circular dep loop in zig jump table
This commit is contained in:
parent
57f7209508
commit
edd72c75eb
@ -1817,7 +1817,7 @@ pub const JumpTable = struct {
|
||||
|
||||
pub fn targetAddress(jt: JumpTable, index: Index, zo: *ZigObject, elf_file: *Elf) i64 {
|
||||
const sym_index = jt.entries.items(.sym_index)[index];
|
||||
return zo.symbol(sym_index).address(.{}, elf_file);
|
||||
return zo.symbol(sym_index).address(.{ .zjt = false }, elf_file);
|
||||
}
|
||||
|
||||
const max_jump_seq_len = 12;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user