| author | |
| committer | |
| log | ace1a69a55dd77a8189b7408b126d9d1ca0066ee |
| tree | ccd0b745df077ef97c63ee5fafcd537ba4126d95 |
| parent | 975862aca9a68f1d6fa786b6cef19bcc7b1aec2a |
2 files changed, 2 insertions(+), 0 deletions(-)
lib/std/elf.zig+1| ... | @@ -2181,6 +2181,7 @@ pub const R_RISCV = enum(u32) { | ... | @@ -2181,6 +2181,7 @@ pub const R_RISCV = enum(u32) { |
| 2181 | R_RISCV_TLS_DTPREL64 = 9, | 2181 | R_RISCV_TLS_DTPREL64 = 9, |
| 2182 | R_RISCV_TLS_TPREL32 = 10, | 2182 | R_RISCV_TLS_TPREL32 = 10, |
| 2183 | R_RISCV_TLS_TPREL64 = 11, | 2183 | R_RISCV_TLS_TPREL64 = 11, |
| 2184 | R_RISVC_TLSDESC = 12, | ||
| 2184 | R_RISCV_BRANCH = 16, | 2185 | R_RISCV_BRANCH = 16, |
| 2185 | R_RISCV_JAL = 17, | 2186 | R_RISCV_JAL = 17, |
| 2186 | R_RISCV_CALL = 18, | 2187 | R_RISCV_CALL = 18, |
src/link/Elf/relocation.zig+1| ... | @@ -64,6 +64,7 @@ const riscv64_relocs = Table(8, elf.R_RISCV, .{ | ... | @@ -64,6 +64,7 @@ const riscv64_relocs = Table(8, elf.R_RISCV, .{ |
| 64 | .{ .dtpmod, .R_RISCV_TLS_DTPMOD64 }, | 64 | .{ .dtpmod, .R_RISCV_TLS_DTPMOD64 }, |
| 65 | .{ .dtpoff, .R_RISCV_TLS_DTPREL64 }, | 65 | .{ .dtpoff, .R_RISCV_TLS_DTPREL64 }, |
| 66 | .{ .tpoff, .R_RISCV_TLS_TPREL64 }, | 66 | .{ .tpoff, .R_RISCV_TLS_TPREL64 }, |
| 67 | .{ .tlsdesc, .R_RISCV_TLSDESC }, | ||
| 67 | }); | 68 | }); |
| 68 | 69 | ||
| 69 | pub fn decode(r_type: u32, cpu_arch: std.Target.Cpu.Arch) ?Kind { | 70 | pub fn decode(r_type: u32, cpu_arch: std.Target.Cpu.Arch) ?Kind { |