| ... | @@ -11943,7 +11943,7 @@ fn ensurePltEntry(elf: *Elf, gsi: Symbol.Global.Index) Error!bool { | ... | @@ -11943,7 +11943,7 @@ fn ensurePltEntry(elf: *Elf, gsi: Symbol.Global.Index) Error!bool { |
| 11943 | // sethi (. - .plt[0]), %g1 | 11943 | // sethi (. - .plt[0]), %g1 |
| 11944 | .{ .imm22 = .{ .imm = @truncate(got_plt_offset), .op = 0b0000001100 } }, | 11944 | .{ .imm22 = .{ .imm = @truncate(got_plt_offset), .op = 0b0000001100 } }, |
| 11945 | // ba,a %xcc, .plt[1] | 11945 | // ba,a %xcc, .plt[1] |
| 11946 | .{ .disp19 = .{ .disp = @truncate((got_plt_offset + 4 - 32) >> 2), .op = 0b0011000001101 } }, | 11946 | .{ .disp19 = .{ .disp = @truncate((32 -% (got_plt_offset + 4)) >> 2), .op = 0b0011000001101 } }, |
| 11947 | // nop | 11947 | // nop |
| 11948 | .{ .raw = 0x0100_0000 }, | 11948 | .{ .raw = 0x0100_0000 }, |
| 11949 | // nop | 11949 | // nop |