kernel: Add handling for R_X86_64_PLT32 (type 4) in kernel linker.
authorzrj <rimvydas.jasinskas@gmail.com>
Thu, 13 Feb 2020 12:07:37 +0000 (14:07 +0200)
committerzrj <zrj@dragonflybsd.org>
Sat, 14 Mar 2020 09:41:45 +0000 (11:41 +0200)
commit2b49b9bea2f9cf3b0d2a7689e9d389854027e269
tree9003a417145d541b104b6019544306a28d8b5736
parent19e62264d997eb8d6e53397519dfe782271b2475
kernel: Add handling for R_X86_64_PLT32 (type 4) in kernel linker.

 Newer binutils can emit R_X86_64_PLT32 for -shared compilations.

Tested-with: binutils234
sys/cpu/x86_64/misc/elf_machdep.c