| ... | ... | @@ -9023,8 +9023,6 @@ fn addRelocAssumeCapacity( |
| 9023 | 9023 | .HIX22, |
| 9024 | 9024 | .LOX10, |
| 9025 | 9025 | .REGISTER, |
| 9026 | | .TLS_IE_HI22, |
| 9027 | | .TLS_IE_LO10, |
| 9028 | 9026 | .TLS_DTPMOD32, |
| 9029 | 9027 | .TLS_DTPMOD64, |
| 9030 | 9028 | .H34, |
| ... | ... | @@ -9088,6 +9086,7 @@ fn addRelocAssumeCapacity( |
| 9088 | 9086 | .GOTDATA_OP_HIX22 => elf.addGotRelocAssumeCapacity(node, offset, .{ .symbol = target }, addend, .special(.sparc_op_hix22)), |
| 9089 | 9087 | .TLS_GD_HI22 => elf.addGotRelocAssumeCapacity(node, offset, .{ .tlsgd0 = target }, addend, .simple(.offset, .{ .dest = .@"32[21:0]", .cast = .trunc, .shift = .@"10" })), |
| 9090 | 9088 | .TLS_LDM_HI22 => elf.addGotRelocAssumeCapacity(node, offset, .tlsld0, addend, .simple(.offset, .{ .dest = .@"32[21:0]", .cast = .trunc, .shift = .@"10" })), |
| 9089 | .TLS_IE_HI22 => elf.addGotRelocAssumeCapacity(node, offset, .{ .tpoff = target }, addend, .simple(.offset, .{ .dest = .@"32[21:0]", .cast = .trunc, .shift = .@"10" })), |
| 9091 | 9090 | // zig fmt: on |
| 9092 | 9091 | |
| 9093 | 9092 | .TLS_GD_CALL, .TLS_LDM_CALL => { |
| ... | ... | @@ -9133,6 +9132,10 @@ fn addRelocAssumeCapacity( |
| 9133 | 9132 | try elf.one_shot_fixups.append(elf.base.comp.gpa, .{ .node = node, .offset = offset, .action = .@"32[12:10] = 0b000" }); |
| 9134 | 9133 | elf.addGotRelocAssumeCapacity(node, offset, .tlsld0, addend, .simple(.offset, .{ .dest = .@"32[9:0]", .cast = .trunc, .shift = .@"0" })); |
| 9135 | 9134 | }, |
| 9135 | .TLS_IE_LO10 => { |
| 9136 | try elf.one_shot_fixups.append(elf.base.comp.gpa, .{ .node = node, .offset = offset, .action = .@"32[12:10] = 0b000" }); |
| 9137 | elf.addGotRelocAssumeCapacity(node, offset, .{ .tpoff = target }, addend, .simple(.offset, .{ .dest = .@"32[9:0]", .cast = .trunc, .shift = .@"0" })); |
| 9138 | }, |
| 9136 | 9139 | }, |
| 9137 | 9140 | .X86_64 => rel_type: switch (@"type".X86_64) { |
| 9138 | 9141 | .NONE => {}, |