diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-10-01 10:49:33 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-10-01 10:49:33 -0700 |
commit | 5db4f0d383e3de40e594cf05dd8f6d743233a487 (patch) | |
tree | f5231fc84b681e870f9d1c84cb9273b5b1b79353 /ld/testsuite/ChangeLog | |
parent | dd0a637a3d8f5ca7229131c085ef6b8e255d01f6 (diff) | |
download | gdb-5db4f0d383e3de40e594cf05dd8f6d743233a487.zip gdb-5db4f0d383e3de40e594cf05dd8f6d743233a487.tar.gz gdb-5db4f0d383e3de40e594cf05dd8f6d743233a487.tar.bz2 |
Create a PLT entry for R_X86_64_PC32 in non-code sections
Since something like ".long foo - ." may be used as pointer, we make
sure that PLT is used if foo is a function defined in a shared library.
bfd/
PR ld/19031
* elf64-x86-64.c (elf_x86_64_check_relocs): Set
pointer_equality_needed for R_X86_64_PC32 reloc in non-code
sections.
ld/testsuite/
PR ld/19031
* ld-x86-64/x86-64.exp: Run PR ld/19031 test.
* ld-x86-64/pr19031.out: New file.
* ld-x86-64/pr19031a.c: Likewise.
* ld-x86-64/pr19031b.S: Likewise.
* ld-x86-64/pr19031c.c: Likewise.
Diffstat (limited to 'ld/testsuite/ChangeLog')
-rw-r--r-- | ld/testsuite/ChangeLog | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index fdf4b3c..41be8cd 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2015-10-01 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/19031 + * ld-x86-64/x86-64.exp: Run PR ld/19031 test. + * ld-x86-64/pr19031.out: New file. + * ld-x86-64/pr19031a.c: Likewise. + * ld-x86-64/pr19031b.S: Likewise. + * ld-x86-64/pr19031c.c: Likewise. + 2015-10-01 Renlin Li <renlin.li@arm.com> * ld-aarch64/aarch64-elf.exp: Run the new test. @@ -17,10 +26,10 @@ PR ld/19031 * ld-i386/i386.exp: Run PR ld/19031 test. - * ld/testsuite/ld-i386/pr19031.out: New file. - * ld/testsuite/ld-i386/pr19031a.c: Likewise. - * ld/testsuite/ld-i386/pr19031b.S: Likewise. - * ld/testsuite/ld-i386/pr19031c.c: Likewise. + * ld-i386/pr19031.out: New file. + * ld-i386/pr19031a.c: Likewise. + * ld-i386/pr19031b.S: Likewise. + * ld-i386/pr19031c.c: Likewise. 2015-09-30 H.J. Lu <hongjiu.lu@intel.com> |