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.
This commit is contained in:
Richard Earnshaw 2021-05-12 11:43:59 +01:00
parent 2f822da535
commit 84139c5864
2 changed files with 6 additions and 1 deletions

View 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

View 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}}