diff options
author | Alan Modra <amodra@gmail.com> | 2013-11-01 19:25:56 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2013-11-04 10:21:32 +1030 |
commit | 52a82034ac9a288d2d8e60efa880623288b5d228 (patch) | |
tree | a1563eb868c979d4a8885798d64a36a9f7bb187a /bfd/ChangeLog | |
parent | a345bc8d317a159e3e887632d80c5a8282d34f07 (diff) | |
download | gdb-52a82034ac9a288d2d8e60efa880623288b5d228.zip gdb-52a82034ac9a288d2d8e60efa880623288b5d228.tar.gz gdb-52a82034ac9a288d2d8e60efa880623288b5d228.tar.bz2 |
Edit ELFv2 global entry prologue to non-PIC
Changing addis r2,r12,..; addi r2,r2,.. to lis r2,..; addi r2,r2..
in non-PIC executables has the benefit of removing a dependency on r12.
bfd/
* elf64-ppc.c (ppc64_elf_relocate_section): Edit global entry
prologue to non-PIC in non-PIC executables.
ld/testsuite/
* ld-powerpc/elfv2exe.d: Adjust for non-PIC global entry.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index bbba087..99d8d09 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,10 @@ 2013-11-04 Alan Modra <amodra@gmail.com> + * elf64-ppc.c (ppc64_elf_relocate_section): Edit global entry + prologue to non-PIC in non-PIC executables. + +2013-11-04 Alan Modra <amodra@gmail.com> + * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Copy pointer_equality_needed flag. (ppc64_elf_check_relocs): For ELFv2 arrange to emit plt |