diff options
author | Daniel Jacobowitz <drow@false.org> | 2010-03-29 20:42:55 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2010-03-29 20:42:55 +0000 |
commit | 41ed1ee7a643d280824474a28074cb4c96a57a1e (patch) | |
tree | b1cf7b2eb9b8fcd6528c9ec27732191dbe1dff17 /ld | |
parent | 1da644f0333980957e4156aa7de86b971126771f (diff) | |
download | gdb-41ed1ee7a643d280824474a28074cb4c96a57a1e.zip gdb-41ed1ee7a643d280824474a28074cb4c96a57a1e.tar.gz gdb-41ed1ee7a643d280824474a28074cb4c96a57a1e.tar.bz2 |
bfd/
* elf32-arm.c (using_thumb_only): Handle v6-M.
ld/testsuite/
* ld-arm/arm-elf.exp (armeabitests): Add v6-M farcall test.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/arm-elf.exp | 7 |
2 files changed, 9 insertions, 2 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index e8f3f59..f7aeed7 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2010-03-29 Daniel Jacobowitz <dan@codesourcery.com> + + * ld-arm/arm-elf.exp (armeabitests): Add v6-M farcall test. + 2010-03-25 Joseph Myers <joseph@codesourcery.com> * ld-elf/flags1.d, ld-elf/merge.d: XFAIL for tic6x-*-*. diff --git a/ld/testsuite/ld-arm/arm-elf.exp b/ld/testsuite/ld-arm/arm-elf.exp index 26552b9..5c4351b 100644 --- a/ld/testsuite/ld-arm/arm-elf.exp +++ b/ld/testsuite/ld-arm/arm-elf.exp @@ -371,16 +371,19 @@ set armeabitests { {"Thumb-Thumb farcall with BLX" "-Ttext 0x1000 --section-start .foo=0x2001014" "-march=armv5t" {farcall-thumb-thumb.s} {{objdump -d farcall-thumb-thumb-blx.d}} "farcall-thumb-thumb-blx"} - {"Thumb-Thumb farcall M profile" "-Ttext 0x1000 --section-start .foo=0x2001014" "-march=armv7m" {farcall-thumb-thumb.s} + {"Thumb-Thumb farcall M profile" "-Ttext 0x1000 --section-start .foo=0x2001014" "-march=armv7-m" {farcall-thumb-thumb.s} {{objdump -d farcall-thumb-thumb-m.d}} "farcall-thumb-thumb-m"} + {"Thumb-Thumb farcall v6-M" "-Ttext 0x1000 --section-start .foo=0x2001014" "-march=armv6-m" {farcall-thumb-thumb.s} + {{objdump -d farcall-thumb-thumb-m.d}} + "farcall-thumb-thumb-v6-m"} {"Thumb-Thumb farcall" "-Ttext 0x1000 --section-start .foo=0x2001014" "-march=armv4t" {farcall-thumb-thumb.s} {{objdump -d farcall-thumb-thumb.d}} "farcall-thumb-thumb"} {"Thumb-Thumb farcall with BLX (PIC veneer)" "-Ttext 0x1000 --section-start .foo=0x2001014 --pic-veneer" "-march=armv5t" {farcall-thumb-thumb.s} {{objdump -d farcall-thumb-thumb-blx-pic-veneer.d}} "farcall-thumb-thumb-blx-pic-veneer"} - {"Thumb-Thumb farcall M profile (PIC veneer)" "-Ttext 0x1000 --section-start .foo=0x2001014 --pic-veneer" "-march=armv7m" {farcall-thumb-thumb.s} + {"Thumb-Thumb farcall M profile (PIC veneer)" "-Ttext 0x1000 --section-start .foo=0x2001014 --pic-veneer" "-march=armv7-m" {farcall-thumb-thumb.s} {{objdump -d farcall-thumb-thumb-m-pic-veneer.d}} "farcall-thumb-thumb-m-pic-veneer"} {"Thumb-Thumb farcall (PIC veneer)" "-Ttext 0x1000 --section-start .foo=0x2001014 --pic-veneer" "-march=armv4t" {farcall-thumb-thumb.s} |