diff options
author | Paul Brook <paul@codesourcery.com> | 2011-05-31 13:37:27 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2011-05-31 13:37:27 +0000 |
commit | 12352d3f854285aaaecf6bc89df80e6247968a63 (patch) | |
tree | b84ebdb4a945751576354d7572cb36abdd466fc2 /ld/testsuite | |
parent | 1ab52cbe0549166fc916f60dc4e666c97ad8b113 (diff) | |
download | gdb-12352d3f854285aaaecf6bc89df80e6247968a63.zip gdb-12352d3f854285aaaecf6bc89df80e6247968a63.tar.gz gdb-12352d3f854285aaaecf6bc89df80e6247968a63.tar.bz2 |
2011-05-31 Paul Brook <paul@codesourcery.com>
bfd/
* elf32-arm.c (arm_stub_is_thumb): Add
arm_stub_long_branch_v4t_thumb_tls_pic.
(elf32_arm_final_link_relocate): TLS stubs are always ARM.
Handle Thumb stubs.
ld/testsuite/
* ld-arm/tls-longplt.d: Update expected output.
* ld-arm/tls-thumb1.d: Ditto.
Diffstat (limited to 'ld/testsuite')
-rw-r--r-- | ld/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/tls-longplt.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/tls-thumb1.d | 4 |
3 files changed, 8 insertions, 3 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index d3bafcc..a652cde 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-05-31 Paul Brook <paul@codesourcery.com> + + * ld-arm/tls-longplt.d: Update expected output. + * ld-arm/tls-thumb1.d: Ditto. + 2011-05-26 H.J. Lu <hongjiu.lu@intel.com> PR ld/12809 diff --git a/ld/testsuite/ld-arm/tls-longplt.d b/ld/testsuite/ld-arm/tls-longplt.d index 8729e74..175c561 100644 --- a/ld/testsuite/ld-arm/tls-longplt.d +++ b/ld/testsuite/ld-arm/tls-longplt.d @@ -47,7 +47,7 @@ Disassembly of section .foo: 4001018: e1a00000 nop ; .* 400101c: fc00f2a0 .word 0xfc00f2a0 4001020: 4801 ldr r0, \[pc, #4\] ; .* - 4001022: f000 e80a blx 4001038 .* + 4001022: f000 f809 bl 4001038 .* 4001026: 46c0 nop ; .* 4001028: fc00f291 .word 0xfc00f291 400102c: 00000000 .word 0x00000000 diff --git a/ld/testsuite/ld-arm/tls-thumb1.d b/ld/testsuite/ld-arm/tls-thumb1.d index 26b65bb..ad2a512 100644 --- a/ld/testsuite/ld-arm/tls-thumb1.d +++ b/ld/testsuite/ld-arm/tls-thumb1.d @@ -31,7 +31,7 @@ Disassembly of section .text: 81b0: e1a00000 nop ; .* 81b4: 000080c0 .word 0x000080c0 81b8: 4801 ldr r0, \[pc, #4\] ; .* - 81ba: f000 e806 blx 81c8 .* + 81ba: f000 f805 bl 81c8 .* 81be: 46c0 nop ; .* 81c0: 000080b1 .word 0x000080b1 81c4: 00000000 .word 0x00000000 @@ -55,7 +55,7 @@ Disassembly of section .foo: 4001018: e1a00000 nop ; .* 400101c: fc00f260 .word 0xfc00f260 4001020: 4801 ldr r0, \[pc, #4\] ; .* - 4001022: f000 e80c blx 400103c .* + 4001022: f000 f80b bl 400103c .* 4001026: 46c0 nop ; .* 4001028: fc00f249 .word 0xfc00f249 400102c: 00000000 .word 0x00000000 |