diff options
author | Alan Modra <amodra@gmail.com> | 2011-03-23 15:25:06 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2011-03-23 15:25:06 +0000 |
commit | 663a1470e1a7af58a3d0691f480bc5621bd0c54f (patch) | |
tree | eb7a84aef9f6d307fdb4f8472b0e1759b04f6625 /ld/testsuite/ld-powerpc/tlsmark.d | |
parent | 6f8a4444ff2b2239ccc23fb175f89d8c5fc4435f (diff) | |
download | gdb-663a1470e1a7af58a3d0691f480bc5621bd0c54f.zip gdb-663a1470e1a7af58a3d0691f480bc5621bd0c54f.tar.gz gdb-663a1470e1a7af58a3d0691f480bc5621bd0c54f.tar.bz2 |
bfd/
* elf32-ppc.c (ppc_elf_tls_optimize): Catch more cases where
old-style __tls_get_addr calls without marker relocs don't match
their arg setup insn one for one. If such mismatches are found
report the reloc and don't do any tls optimization.
* elf64-ppc.c (ppc64_elf_tls_optimize): Likewise.
ld/testsuite/
* ld-powerpc/tlsmark.s: Delete non-optimizable section.
* ld-powerpc/tlsmark32.s: Likewise.
* ld-powerpc/tlsmark.d: Adjust to suit.
* ld-powerpc/tlsmark32.d: Likewise.
* ld-powerpc/tlsopt1.d, * ld-powerpc/tlsopt1.s: New.
* ld-powerpc/tlsopt2.d, * ld-powerpc/tlsopt2.s: New.
* ld-powerpc/tlsopt3.d, * ld-powerpc/tlsopt3.s: New.
* ld-powerpc/tlsopt4.d, * ld-powerpc/tlsopt4.s: New.
* ld-powerpc/tlsopt1_32.d, * ld-powerpc/tlsopt1_32.s: New.
* ld-powerpc/tlsopt2_32.d, * ld-powerpc/tlsopt2_32.s: New.
* ld-powerpc/tlsopt3_32.d, * ld-powerpc/tlsopt3_32.s: New.
* ld-powerpc/tlsopt4_32.d, * ld-powerpc/tlsopt4_32.s: New.
* ld-powerpc/powerpc.exp: Run new tests.
Diffstat (limited to 'ld/testsuite/ld-powerpc/tlsmark.d')
-rw-r--r-- | ld/testsuite/ld-powerpc/tlsmark.d | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/ld/testsuite/ld-powerpc/tlsmark.d b/ld/testsuite/ld-powerpc/tlsmark.d index 8ba350e..d892f34 100644 --- a/ld/testsuite/ld-powerpc/tlsmark.d +++ b/ld/testsuite/ld-powerpc/tlsmark.d @@ -32,11 +32,6 @@ Disassembly of section \.text: 10000134: 60 00 00 00 nop 10000138: 38 63 10 00 addi r3,r3,4096 1000013c: e8 a3 80 04 ld r5,-32764\(r3\) - 10000140: 38 62 80 28 addi r3,r2,-32728 - 10000144: 3f a0 10 01 lis r29,4097 - 10000148: 3b bd 01 68 addi r29,r29,360 - 1000014c: 48 00 00 09 bl 10000154 <\.__tls_get_addr> - 10000150: 60 00 00 00 nop -0+10000154 <\.__tls_get_addr>: - 10000154: 4e 80 00 20 blr +0+10000140 <\.__tls_get_addr>: + 10000140: 4e 80 00 20 blr |