about summary refs log tree commit diff
path: root/elf/elf.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-05-10 17:05:06 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-05-10 17:05:06 -0700
commitdf8a552f6f93f62c494177a49ee49d3bf40949b8 (patch)
tree8aee7d998d4e25fe5563f87295f317d5800e4f0e /elf/elf.h
parentf42d41d10769f9bf465348e6cf6960364d47e10b (diff)
downloadglibc-df8a552f6f93f62c494177a49ee49d3bf40949b8.tar.gz
glibc-df8a552f6f93f62c494177a49ee49d3bf40949b8.tar.xz
glibc-df8a552f6f93f62c494177a49ee49d3bf40949b8.zip
Handle R_X86_64_RELATIVE64 and R_X86_64_64 for x32
Diffstat (limited to 'elf/elf.h')
-rw-r--r--elf/elf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/elf.h b/elf/elf.h
index 347d6d856e..6522ea6b6f 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -2703,8 +2703,9 @@ typedef Elf32_Addr Elf32_Conflict;
 					   descriptor.  */
 #define R_X86_64_TLSDESC        36	/* TLS descriptor.  */
 #define R_X86_64_IRELATIVE	37	/* Adjust indirectly by program base */
+#define R_X86_64_RELATIVE64	38	/* 64-bit adjust by program base */
 
-#define R_X86_64_NUM		38
+#define R_X86_64_NUM		39
 
 
 /* AM33 relocations.  */