kernel: Add handling for R_X86_64_PLT32 (type 4) in kernel linker

Operating Systems / DragonFlyBSD - zrj [gmail.com] - 14 March 2020 09:41 EDT

Newer binutils can emit R_X86_64_PLT32 for -shared compilations.

Tested-with: binutils234

2b49b9bea2 kernel: Add handling for R_X86_64_PLT32 (type 4) in kernel linker.
sys/cpu/x86_64/misc/elf_machdep.c | 2 ++
1 file changed, 2 insertions(+)

Upstream: gitweb.dragonflybsd.org


  • Share