Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amd64/include Add more relocation constants
details: https://anonhg.NetBSD.org/src/rev/fdeee7cdbfd4
branches: trunk
changeset: 343411:fdeee7cdbfd4
user: christos <christos%NetBSD.org@localhost>
date: Tue Feb 02 20:13:59 2016 +0000
description:
Add more relocation constants
diffstat:
sys/arch/amd64/include/elf_machdep.h | 22 +++++++++++++++++++++-
1 files changed, 21 insertions(+), 1 deletions(-)
diffs (36 lines):
diff -r 83ba685297b2 -r fdeee7cdbfd4 sys/arch/amd64/include/elf_machdep.h
--- a/sys/arch/amd64/include/elf_machdep.h Tue Feb 02 19:15:40 2016 +0000
+++ b/sys/arch/amd64/include/elf_machdep.h Tue Feb 02 20:13:59 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: elf_machdep.h,v 1.4 2010/03/18 08:28:33 cegger Exp $ */
+/* $NetBSD: elf_machdep.h,v 1.5 2016/02/02 20:13:59 christos Exp $ */
#if !defined __i386__
@@ -46,6 +46,26 @@
#define R_X86_64_GOTTPOFF 22
#define R_X86_64_TPOFF32 23
+#define R_X86_64_PC64 24
+#define R_X86_64_GOTOFF64 25
+#define R_X86_64_GOTPC32 26
+#define R_X86_64_GOT64 27
+#define R_X86_64_GOTPCREL64 28
+#define R_X86_64_GOTPC64 29
+#define R_X86_64_GOTPLT64 30
+#define R_X86_64_PLTOFF64 31
+#define R_X86_64_SIZE32 32
+#define R_X86_64_SIZE64 33
+#define R_X86_64_GOTPC32_TLSDESC 34
+#define R_X86_64_TLSDESC_CALL 35
+#define R_X86_64_TLSDESC 36
+#define R_X86_64_IRELATIVE 37
+#define R_X86_64_RELATIVE64 38
+#define R_X86_64_PC32_BND 39
+#define R_X86_64_PLT32_BND 40
+#define R_X86_64_GOTPCRELX 41
+#define R_X86_64_REX_GOTPCRELX 42
+
#define R_TYPE(name) __CONCAT(R_X86_64_,name)
#else /* !__i386__ */
Home |
Main Index |
Thread Index |
Old Index