summaryrefslogtreecommitdiff
path: root/elf/elf.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2010-03-11 00:44:28 -0800
committerRoland McGrath <roland@redhat.com>2010-03-11 00:44:28 -0800
commit4bf7d392453cbcbd65b36c054e1fdbdb1590def7 (patch)
tree8ad75ac93140620ab7ec6800dd14ee34a359a0e2 /elf/elf.h
parentb8907dfd8b1c33943fef1f7c51274c1500024785 (diff)
elf.h: Add missing R_X86_64_*64 relocs.
Diffstat (limited to 'elf/elf.h')
-rw-r--r--elf/elf.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/elf/elf.h b/elf/elf.h
index fd6236b8cf..f41a02649e 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -2666,7 +2666,13 @@ typedef Elf32_Addr Elf32_Conflict;
#define R_X86_64_GOTOFF64 25 /* 64 bit offset to GOT */
#define R_X86_64_GOTPC32 26 /* 32 bit signed pc relative
offset to GOT */
-/* 27 .. 31 */
+#define R_X86_64_GOT64 27 /* 64-bit GOT entry offset */
+#define R_X86_64_GOTPCREL64 28 /* 64-bit PC relative offset
+ to GOT entry */
+#define R_X86_64_GOTPC64 29 /* 64-bit PC relative offset to GOT */
+#define R_X86_64_GOTPLT64 30 /* like GOT64, says PLT entry needed */
+#define R_X86_64_PLTOFF64 31 /* 64-bit GOT relative offset
+ to PLT entry */
#define R_X86_64_SIZE32 32 /* Size of symbol plus 32-bit addend */
#define R_X86_64_SIZE64 33 /* Size of symbol plus 64-bit addend */
#define R_X86_64_GOTPC32_TLSDESC 34 /* GOT offset for TLS descriptor. */