diff options
author | Alan Modra <amodra@gmail.com> | 2010-07-06 09:29:47 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2010-07-06 09:29:47 +0000 |
commit | 50248c890f1bc82c6e1751bd549da7580c60f098 (patch) | |
tree | 12000cf2317e8f8b826e64787d87d057b988d1b0 /ld/testsuite/ld-powerpc/relaxr.d | |
parent | d3dbc53042f0e29120fe037b1ebaca342fe71ad2 (diff) | |
download | gdb-50248c890f1bc82c6e1751bd549da7580c60f098.zip gdb-50248c890f1bc82c6e1751bd549da7580c60f098.tar.gz gdb-50248c890f1bc82c6e1751bd549da7580c60f098.tar.bz2 |
bfd/
* elf32-ppc.c (ppc_elf_relax_section): Insert branch around
trampolines only for .init and .fini sections.
ld/testsuite/
* ld-powerpc/relax.s: Add branch back to _start.
* ld-powerpc/relax.d: Update.
* ld-powerpc/relaxr.d: Update.
Diffstat (limited to 'ld/testsuite/ld-powerpc/relaxr.d')
-rw-r--r-- | ld/testsuite/ld-powerpc/relaxr.d | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/testsuite/ld-powerpc/relaxr.d b/ld/testsuite/ld-powerpc/relaxr.d index ce8cb9c..6e55984 100644 --- a/ld/testsuite/ld-powerpc/relaxr.d +++ b/ld/testsuite/ld-powerpc/relaxr.d @@ -10,7 +10,8 @@ Disassembly of section .text: 8: R_PPC_NONE \*ABS\* c: 48 00 00 19 bl 24 <_start\+0x24> c: R_PPC_NONE \*ABS\* - 10: 48 00 00 24 b 34 <_start\+0x34> + 10: 48 00 00 00 b 10 <_start\+0x10> + 10: R_PPC_REL24 _start 14: 3d 80 00 00 lis r12,0 16: R_PPC_ADDR16_HA near 18: 39 8c 00 00 addi r12,r12,0 |