aboutsummaryrefslogtreecommitdiff
path: root/elf/elf.h
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-09-20 06:43:34 +0000
committerAndreas Jaeger <aj@suse.de>2001-09-20 06:43:34 +0000
commit85458ce9e49419545c15560cd2eb9af3a54a9775 (patch)
treefdcad785374a711eab1e335147f1038b87a0006c /elf/elf.h
parentd8d373c55e918a943b268b5bf1e2d8a662fde408 (diff)
downloadglibc-85458ce9e49419545c15560cd2eb9af3a54a9775.zip
glibc-85458ce9e49419545c15560cd2eb9af3a54a9775.tar.gz
glibc-85458ce9e49419545c15560cd2eb9af3a54a9775.tar.bz2
Update.
2001-09-19 Andreas Jaeger <aj@suse.de> * Versions.def: Add missing versions 2.2.3 for libthread_db and libpthread. * sysdeps/unix/sysv/linux/configure.in: Add minimal kernel version for x86-64, install x86-64 into */lib64. * shlib-versions: Add x86-64. * elf/elf.h: Add x86-64 relocations.
Diffstat (limited to 'elf/elf.h')
-rw-r--r--elf/elf.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/elf/elf.h b/elf/elf.h
index 595d904..4ae28a5 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -2084,6 +2084,27 @@ typedef Elf32_Addr Elf32_Conflict;
#define R_CRIS_NUM 20
+/* AMD x86-64 relocations. */
+#define R_X86_64_NONE 0 /* No reloc */
+#define R_X86_64_64 1 /* Direct 64 bit */
+#define R_X86_64_PC32 2 /* PC relative 32 bit signed */
+#define R_X86_64_GOT32 3 /* 32 bit GOT entry */
+#define R_X86_64_PLT32 4 /* 32 bit PLT address */
+#define R_X86_64_COPY 5 /* Copy symbol at runtime */
+#define R_X86_64_GLOB_DAT 6 /* Create GOT entry */
+#define R_X86_64_JUMP_SLOT 7 /* Create PLT entry */
+#define R_X86_64_RELATIVE 8 /* Adjust by program base */
+#define R_X86_64_GOTPCREL 9 /* 32 bit signed pc relative
+ offset to GOT */
+#define R_X86_64_32 10 /* Direct 32 bit zero extended */
+#define R_X86_64_32S 11 /* Direct 32 bit sign extended */
+#define R_X86_64_16 12 /* Direct 16 bit zero extended */
+#define R_X86_64_PC16 13 /* 16 bit sign extended pc relative */
+#define R_X86_64_8 14 /* Direct 8 bit sign extended */
+#define R_X86_64_PC8 15 /* 8 bit sign extended pc relative */
+
+#define R_X86_64_NUM 16
+
__END_DECLS
#endif /* elf.h */