From 3df9903e416a1c6d8157bb806c5fd342aabecbed Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 4 Mar 2010 19:49:04 -0800 Subject: [PATCH] Define new x86-64 relocation symbols --- ChangeLog | 5 +++++ elf/elf.h | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index eac8ecd965..e9832a632c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-03-04 Ulrich Drepper + + * elf/elf.h (R_X86_64_SIZE32): Define. + (R_X86_64_SIZE64): Define. + 2010-03-02 Richard Guenther * 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. */