aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2023-10-30 12:17:53 +0000
committerNick Clifton <nickc@redhat.com>2023-10-30 12:18:45 +0000
commita4a51292bb5739e23dc1e16866139e00a2578c06 (patch)
treeabe7121fda687a943dfe5b5e7392cac0e9de7adb /include
parentc9b0a82151ffb2ca91d61a21161b6bf4fdbc5095 (diff)
downloadgdb-a4a51292bb5739e23dc1e16866139e00a2578c06.zip
gdb-a4a51292bb5739e23dc1e16866139e00a2578c06.tar.gz
gdb-a4a51292bb5739e23dc1e16866139e00a2578c06.tar.bz2
Accept and ignore the R_BPF_64_NODLYD32 relocation.
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog5
-rw-r--r--include/elf/bpf.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 90ee736..e0f0cb3 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,8 @@
+2023-10-30 Nick Clifton <nickc@redhat.com>
+
+ * elf/bpf.h (R_BPF_64_NODYLD32): Add a note that this reloc is
+ generated by other tools, eg LLVM.
+
2023-09-28 Frederic Cambus <fred@statdns.com>
* elf/common.h (PT_OPENBSD_NOBTCFI): Define.
diff --git a/include/elf/bpf.h b/include/elf/bpf.h
index e4d4162..1ad074f 100644
--- a/include/elf/bpf.h
+++ b/include/elf/bpf.h
@@ -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)