summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/hw/xfree86/loader/elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'xc/programs/Xserver/hw/xfree86/loader/elf.h')
-rw-r--r--xc/programs/Xserver/hw/xfree86/loader/elf.h24
1 files changed, 23 insertions, 1 deletions
diff --git a/xc/programs/Xserver/hw/xfree86/loader/elf.h b/xc/programs/Xserver/hw/xfree86/loader/elf.h
index 36e96fb53..fd655b06f 100644
--- a/xc/programs/Xserver/hw/xfree86/loader/elf.h
+++ b/xc/programs/Xserver/hw/xfree86/loader/elf.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/programs/Xserver/hw/xfree86/loader/elf.h,v 1.12 2002/01/14 18:16:52 dawes Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/xfree86/loader/elf.h,v 1.14 2002/09/16 18:06:10 eich Exp $ */
typedef unsigned int Elf32_Addr;
@@ -141,6 +141,26 @@ extern Elf32_Dyn _DYNAMIC [];
#define R_386_GOTPC 10
#define R_386_NUM 11
+/* x86_64 Relocation Types */
+#define R_X86_64_NONE 0
+#define R_X86_64_64 1
+#define R_X86_64_PC32 2
+#define R_X86_64_GOT32 3
+#define R_X86_64_PLT32 4
+#define R_X86_64_COPY 5
+#define R_X86_64_GLOB_DAT 6
+#define R_X86_64_JUMP_SLOT 7
+#define R_X86_64_RELATIVE 8
+#define R_X86_64_GOTPCREL 9
+#define R_X86_64_32 10
+#define R_X86_64_32S 11
+#define R_X86_64_16 12
+#define R_X86_64_PC16 13
+#define R_X86_64_8 14
+#define R_X86_64_PC8 15
+#define R_X86_64_GNU_VTINHERIT 250
+#define R_X86_64_GNU_VTENTRY 251
+
/* sparc Relocation Types */
#define R_SPARC_NONE 0
#define R_SPARC_8 1
@@ -598,6 +618,8 @@ typedef struct
#define SHT_LOUSER 0x80000000
#define SHT_HIUSER 0xffffffff
+#define SHT_IA_64_UNWIND (SHT_LOPROC + 1) /* unwind bits */
+
/* sh_flags */
#define SHF_WRITE 0x1
#define SHF_ALLOC 0x2