about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-03-04 19:49:04 -0800
committerUlrich Drepper <drepper@redhat.com>2010-03-04 19:49:04 -0800
commit3df9903e416a1c6d8157bb806c5fd342aabecbed (patch)
treee3e97cac547207c4dd345501bbba8bba9f28723e
parente39acb1f165c467e99509146c95f69c7444521e3 (diff)
downloadglibc-3df9903e416a1c6d8157bb806c5fd342aabecbed.tar.gz
glibc-3df9903e416a1c6d8157bb806c5fd342aabecbed.tar.xz
glibc-3df9903e416a1c6d8157bb806c5fd342aabecbed.zip
Define new x86-64 relocation symbols
-rw-r--r--ChangeLog5
-rw-r--r--elf/elf.h4
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index eac8ecd965..e9832a632c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-03-04  Ulrich Drepper  <drepper@redhat.com>
+
+	* elf/elf.h (R_X86_64_SIZE32): Define.
+	(R_X86_64_SIZE64): Define.
+
 2010-03-02  Richard Guenther  <rguenther@suse.de>
 
 	* sysdeps/x86_64/dl-machine.h (elf_machine_rela): R_X86_64_PC32
diff --git a/elf/elf.h b/elf/elf.h
index b6b6410c51..fd6236b8cf 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -2666,7 +2666,9 @@ 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 .. 33 */
+/* 27 .. 31 */
+#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.  */
 #define R_X86_64_TLSDESC_CALL   35	/* Marker for call through TLS
 					   descriptor.  */