diff options
author | Roland McGrath <roland@redhat.com> | 2010-03-11 00:44:28 -0800 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2010-03-11 00:44:28 -0800 |
commit | 4bf7d392453cbcbd65b36c054e1fdbdb1590def7 (patch) | |
tree | 8ad75ac93140620ab7ec6800dd14ee34a359a0e2 | |
parent | b8907dfd8b1c33943fef1f7c51274c1500024785 (diff) | |
download | glibc-4bf7d392453cbcbd65b36c054e1fdbdb1590def7.tar.gz glibc-4bf7d392453cbcbd65b36c054e1fdbdb1590def7.tar.xz glibc-4bf7d392453cbcbd65b36c054e1fdbdb1590def7.zip |
elf.h: Add missing R_X86_64_*64 relocs.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | elf/elf.h | 8 |
2 files changed, 12 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 218545435a..c3fda93de9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-03-11 Roland McGrath <roland@redhat.com> + + * elf/elf.h (R_X86_64_GOT64, R_X86_64_GOTPCREL64): New macros. + (R_X86_64_GOTPC64, R_X86_64_GOTPLT64, R_X86_64_PLTOFF64): New macros. + 2010-03-10 Luis Machado <luisgpm@br.ibm.com> * sysdeps/powerpc/powerpc64/power7/memcpy.S: New file. diff --git a/elf/elf.h b/elf/elf.h index fd6236b8cf..f41a02649e 100644 --- a/elf/elf.h +++ b/elf/elf.h @@ -2666,7 +2666,13 @@ 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 .. 31 */ +#define R_X86_64_GOT64 27 /* 64-bit GOT entry offset */ +#define R_X86_64_GOTPCREL64 28 /* 64-bit PC relative offset + to GOT entry */ +#define R_X86_64_GOTPC64 29 /* 64-bit PC relative offset to GOT */ +#define R_X86_64_GOTPLT64 30 /* like GOT64, says PLT entry needed */ +#define R_X86_64_PLTOFF64 31 /* 64-bit GOT relative offset + to PLT entry */ #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. */ |