]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
arm: fix fallout from recent thumb2 detection patch
authorRichard Earnshaw <rearnsha@arm.com>
Wed, 12 May 2021 10:43:59 +0000 (11:43 +0100)
committerRichard Earnshaw <rearnsha@arm.com>
Wed, 12 May 2021 10:43:59 +0000 (11:43 +0100)
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.

ld/ChangeLog
ld/testsuite/ld-arm/arm-elf.exp

index eec797754ed970849ad6e974bfad331812a70bc2..77b10eb86df8d657750b34cb0590a218daaa7ff5 100644 (file)
@@ -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
index ea1d1e1345a849bfb0cfc13d5930aa6dda1f13f1..9bad9b8859ba157a8029f44b948d26064882c61d 100644 (file)
@@ -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}}