diff options
author | Nick Clifton <nickc@redhat.com> | 2013-07-18 12:00:26 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2013-07-18 12:00:26 +0000 |
commit | 39f21624991525f1f937a796cf008654a8596240 (patch) | |
tree | 9409748b4d54e12a37de07ad1a855b0a0bbaf8b5 /ld | |
parent | 8c997c2767dbcb0522cc4f586a4f172cf7f08fcf (diff) | |
download | gdb-39f21624991525f1f937a796cf008654a8596240.zip gdb-39f21624991525f1f937a796cf008654a8596240.tar.gz gdb-39f21624991525f1f937a796cf008654a8596240.tar.bz2 |
* elf32-arm.c (arm_type_of_stub): Don't use ST_BRANCH_TO_ARM for
thumb only targets.
(elf32_arm_final_link_relocate): Likewise.
* ld-arm/thumb-b-lks-sym.d: Updated to be more flexible.
* ld-arm/thumb-bl-lks-sym.d: Likewise.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/thumb-b-lks-sym.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/thumb-bl-lks-sym.d | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 652474d..9eeb006 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-07-18 Terry Guo <terry.guo@arm.com> + + * ld-arm/thumb-b-lks-sym.d: Updated to be more flexible. + * ld-arm/thumb-bl-lks-sym.d: Likewise. + 2013-07-18 Roland McGrath <mcgrathr@google.com> * ld-arm/farcall-arm-nacl.d: New file. diff --git a/ld/testsuite/ld-arm/thumb-b-lks-sym.d b/ld/testsuite/ld-arm/thumb-b-lks-sym.d index eadd9a4..cc23bc3 100644 --- a/ld/testsuite/ld-arm/thumb-b-lks-sym.d +++ b/ld/testsuite/ld-arm/thumb-b-lks-sym.d @@ -4,4 +4,4 @@ Disassembly of section .text: 00000000 <main>: - 0: f000 bffe b.w 1000 <extFunc> + 0: f000 bffe b.w 1000 <.*> diff --git a/ld/testsuite/ld-arm/thumb-bl-lks-sym.d b/ld/testsuite/ld-arm/thumb-bl-lks-sym.d index b553b51..1da6928 100644 --- a/ld/testsuite/ld-arm/thumb-bl-lks-sym.d +++ b/ld/testsuite/ld-arm/thumb-bl-lks-sym.d @@ -6,7 +6,7 @@ Disassembly of section .text: 00000000 <main>: 0: b580 push {r7, lr} 2: af00 add r7, sp, #0 - 4: f000 fffc bl 1000 <extFunc> + 4: f000 fffc bl 1000 <.*> 8: bd80 pop {r7, pc} a: bf00 nop |