diff options
author | Richard Earnshaw <rearnsha@arm.com> | 2021-05-12 11:43:59 +0100 |
---|---|---|
committer | Richard Earnshaw <rearnsha@arm.com> | 2021-05-12 11:43:59 +0100 |
commit | 84139c58642a8a6b857cad1c50420264452882f9 (patch) | |
tree | ee2a265e2ffcc6089eee91c392c73c4471973051 | |
parent | 2f822da535ba9b159174d02d7114b4fc4f7c8818 (diff) | |
download | gdb-84139c58642a8a6b857cad1c50420264452882f9.zip gdb-84139c58642a8a6b857cad1c50420264452882f9.tar.gz gdb-84139c58642a8a6b857cad1c50420264452882f9.tar.bz2 |
arm: fix fallout from recent thumb2 detection patch
The recent change to correct the detection of thumb2 object files
resulted in a ld test for veneering starting to fail. The problem was
the test itself, which was incorrectly expecting thumb1 type far-call
veneers instead of the thumb2 flavour. We already have a dump file of
the expected form, so the fix is to change the expected output
accordingly.
ld/
* testsuite/ld-arm/arm-elf.exp (farcall test for v8-m.mainline):
Correct expected output.
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/arm-elf.exp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index eec7977..77b10eb 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2021-05-12 Richard Earnshaw <rearnsha@arm.com> + + * testsuite/ld-arm/arm-elf.exp (farcall test for v8-m.mainline): + Correct expected output. + 2021-05-11 Roland McGrath <mcgrathr@google.com> * testsuite/ld-x86-64/rela.d: Fix regexp not to presume a specific diff --git a/ld/testsuite/ld-arm/arm-elf.exp b/ld/testsuite/ld-arm/arm-elf.exp index ea1d1e1..9bad9b8 100644 --- a/ld/testsuite/ld-arm/arm-elf.exp +++ b/ld/testsuite/ld-arm/arm-elf.exp @@ -575,7 +575,7 @@ set armeabitests_nonacl { {{objdump -d farcall-thumb-thumb-m.d}} "farcall-thumb-thumb-v8-m-base"} {"Thumb-Thumb farcall v8-M Mainline" "-Ttext 0x1000 --section-start .foo=0x2001014" "" "-march=armv8-m.main" {farcall-thumb-thumb.s} - {{objdump -d farcall-thumb-thumb-m.d}} + {{objdump -d farcall-thumb2-thumb2-m.d}} "farcall-thumb-thumb-v8-m-main"} {"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}} |