diff options
author | Mark Wielaard <mjw@redhat.com> | 2016-01-28 13:59:20 +0100 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2016-02-19 21:13:23 +0100 |
commit | 2f289fa9e34c7cf67403907a354abe8ecaf380d2 (patch) | |
tree | 1fb846b82df4a69e984332b3f2bc968f3de46be5 /backends | |
parent | 02c48ac64ee068e9a72d987996f3cbf5213ee13a (diff) | |
download | elfutils-2f289fa9e34c7cf67403907a354abe8ecaf380d2.tar.gz |
Add new i386 and x86_64 relocation types.
Update elf.h from glibc and recognize R_386_GOT32X, R_X86_64_GOTPCRELX
and R_x86_64_REX_GOTPCRELX as non-dynamic relocations.
Signed-off-by: Mark Wielaard <mjw@redhat.com>
Diffstat (limited to 'backends')
-rw-r--r-- | backends/ChangeLog | 5 | ||||
-rw-r--r-- | backends/i386_reloc.def | 1 | ||||
-rw-r--r-- | backends/x86_64_reloc.def | 2 |
3 files changed, 8 insertions, 0 deletions
diff --git a/backends/ChangeLog b/backends/ChangeLog index 302646f1..d2222663 100644 --- a/backends/ChangeLog +++ b/backends/ChangeLog @@ -1,3 +1,8 @@ +2015-12-28 Mark Wielaard <mjw@redhat.com> + + * i386_reloc.def: Add GOT32X. + * x86_64_reloc.def: Add GOTPCRELX and REX_GOTPCRELX. + 2016-02-12 Mark Wielaard <mjw@redhat.com> * aarch64_corenote.c (aarch64_syscall_items): New Ebl_Core_Item[]. diff --git a/backends/i386_reloc.def b/backends/i386_reloc.def index de3575d2..a6a03f32 100644 --- a/backends/i386_reloc.def +++ b/backends/i386_reloc.def @@ -68,3 +68,4 @@ RELOC_TYPE (TLS_GOTDESC, REL) RELOC_TYPE (TLS_DESC_CALL, REL) RELOC_TYPE (TLS_DESC, EXEC) RELOC_TYPE (IRELATIVE, EXEC|DYN) +RELOC_TYPE (GOT32X, REL) diff --git a/backends/x86_64_reloc.def b/backends/x86_64_reloc.def index ad84efa1..07a7c3d7 100644 --- a/backends/x86_64_reloc.def +++ b/backends/x86_64_reloc.def @@ -61,3 +61,5 @@ RELOC_TYPE (GOTPC32_TLSDESC, REL) RELOC_TYPE (TLSDESC_CALL, REL) RELOC_TYPE (TLSDESC, REL|EXEC|DYN) RELOC_TYPE (IRELATIVE, EXEC|DYN) +RELOC_TYPE (GOTPCRELX, REL) +RELOC_TYPE (REX_GOTPCRELX, REL) |