srctree

Jakub Konka parent 3e8cb153 99584906 f3bd1777
Merge pull request #18976 from ziglang/elf-misc-fixes

elf: misc fixes

inlinesplit
src/link/Elf/Atom.zig added: 5, removed: 4, total 1
@@ -881,7 +881,7 @@ const x86_64 = struct {
.@"32",
.@"32S",
=> {
try atom.scanReloc(symbol, rel, dynAbsRelocAction(symbol, elf_file), elf_file);
try atom.scanReloc(symbol, rel, absRelocAction(symbol, elf_file), elf_file);
},
 
.GOT32,
 
src/link/Elf/relocation.zig added: 5, removed: 4, total 1
@@ -55,11 +55,12 @@ const aarch64_relocs = Table(10, elf.R_AARCH64, .{
.{ .tlsdesc, .TLSDESC },
});
 
const riscv64_relocs = Table(9, elf.R_RISCV, .{
const riscv64_relocs = Table(10, elf.R_RISCV, .{
.{ .abs, .@"64" },
.{ .copy, .COPY },
.{ .rel, .RELATIVE },
.{ .irel, .IRELATIVE },
.{ .glob_dat, .@"64" },
.{ .jump_slot, .JUMP_SLOT },
.{ .dtpmod, .TLS_DTPMOD64 },
.{ .dtpoff, .TLS_DTPREL64 },