This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Committed: Fix ARM thumb2_bcond test for non-ELF targets
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sourceware dot org
- Date: Tue, 23 Feb 2010 16:46:26 +0000
- Subject: Committed: Fix ARM thumb2_bcond test for non-ELF targets
Hi Guys,
I am applying the patch below to fix the GAS/ARM test thumb2_bcond.
This fails with non-ELF based ARM targets because the number of NOPs
inserted to pad the section out to an alignment boundary differs.
Cheers
Nick
gas/testsuite/ChangeLog
2010-02-23 Nick Clifton <nickc@redhat.com>
* gas/arm/thumb2_bcond.d: Allow for varying number of nops at the
end of the section depending upon the target of the arm assembler
being tested.
Index: gas/testsuite/gas/arm/thumb2_bcond.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/arm/thumb2_bcond.d,v
retrieving revision 1.5
diff -c -3 -p -r1.5 thumb2_bcond.d
*** gas/testsuite/gas/arm/thumb2_bcond.d 12 Feb 2010 20:15:13 -0000 1.5
--- gas/testsuite/gas/arm/thumb2_bcond.d 23 Feb 2010 11:49:51 -0000
*************** Disassembly of section .text:
*** 24,27 ****
0+02a <[^>]+> be00 bkpt 0x0000
0+02c <[^>]+> bf00 nople
0+02e <[^>]+> bf00 nop
! 0+030 <[^>]+> bf00 nop
--- 24,27 ----
0+02a <[^>]+> be00 bkpt 0x0000
0+02c <[^>]+> bf00 nople
0+02e <[^>]+> bf00 nop
! #...