Accept and ignore the R_BPF_64_NODLYD32 relocation.

This commit is contained in:
Nick Clifton
2023-10-30 12:17:53 +00:00
parent c9b0a82151
commit a4a51292bb
4 changed files with 28 additions and 2 deletions

View File

@@ -30,8 +30,8 @@ START_RELOC_NUMBERS (elf_bpf_reloc_type)
RELOC_NUMBER (R_BPF_64_64, 1)
RELOC_NUMBER (R_BPF_64_ABS64, 2)
RELOC_NUMBER (R_BPF_64_ABS32, 3)
/* R_BPF_64_NODYLD32 is not used by GNU tools.
* It is kept in this file to remind that the value is already taken. */
/* R_BPF_64_NODYLD32 is not used by GNU tools - but it is generated by LLVM.
It is kept in this file to remind that the value is already taken. */
RELOC_NUMBER (R_BPF_64_NODYLD32, 4)
RELOC_NUMBER (R_BPF_64_32, 10)
RELOC_NUMBER (R_BPF_GNU_64_16, 256)