This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fix ARM GAS tests for non-ELF based ports


Hi Guys,

  A number of the new ARM GAS tests are failing for non-ELF based
  targets (eg: arm-pe) because they use ELF specific pseudo-ops,
  usually .arch.  I am applying the attached patch to ensure that
  these tests are skipped for such targets.

Cheers
  Nick

gas/testsuite/ChangeLog
2006-04-16  Nick Clifton  <nickc@redhat.com>

	* gas/arm/arch7.d: Skip test for non-ELF targets.
	* gas/arm/blx-local.d: Likewise.
	* gas/arm/svc.d: Likewise.
	* gas/arm/thumb2_bcond.d: Likewise.
	* gas/arm/thumb2_it_bad.d: Likewise.

Index: gas/testsuite/gas/arm/arch7.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/arm/arch7.d,v
retrieving revision 1.1
diff -c -3 -p -r1.1 arch7.d
*** gas/testsuite/gas/arm/arch7.d	24 Feb 2006 15:36:36 -0000	1.1
--- gas/testsuite/gas/arm/arch7.d	16 Apr 2006 11:44:22 -0000
***************
*** 1,5 ****
--- 1,6 ----
  #name: ARM V7 instructions
  #as: -march=armv7r
+ #skip: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
  #objdump: -dr --prefix-addresses --show-raw-insn
  
  .*: +file format .*arm.*
Index: gas/testsuite/gas/arm/blx-local.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/arm/blx-local.d,v
retrieving revision 1.2
diff -c -3 -p -r1.2 blx-local.d
*** gas/testsuite/gas/arm/blx-local.d	7 Apr 2006 15:08:04 -0000	1.2
--- gas/testsuite/gas/arm/blx-local.d	16 Apr 2006 11:44:22 -0000
***************
*** 1,5 ****
--- 1,6 ----
  #name: Local BLX instructions
  #objdump: -dr --prefix-addresses --show-raw-insn
+ #skip: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
  #as:
  
  # Test assembler resolution of blx instructions.
Index: gas/testsuite/gas/arm/svc.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/arm/svc.d,v
retrieving revision 1.1
diff -c -3 -p -r1.1 svc.d
*** gas/testsuite/gas/arm/svc.d	16 Mar 2006 15:08:47 -0000	1.1
--- gas/testsuite/gas/arm/svc.d	16 Apr 2006 11:44:22 -0000
***************
*** 1,5 ****
--- 1,6 ----
  # name: SWI/SVC instructions
  # objdump: -dr --prefix-addresses --show-raw-insn
+ # skip: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
  
  .*: +file format .*arm.*
  
Index: gas/testsuite/gas/arm/thumb2_bcond.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/arm/thumb2_bcond.d,v
retrieving revision 1.1
diff -c -3 -p -r1.1 thumb2_bcond.d
*** gas/testsuite/gas/arm/thumb2_bcond.d	20 Mar 2006 15:38:02 -0000	1.1
--- gas/testsuite/gas/arm/thumb2_bcond.d	16 Apr 2006 11:44:22 -0000
***************
*** 1,5 ****
--- 1,6 ----
  # as:
  # objdump: -dr --prefix-addresses --show-raw-insn
+ # skip: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
  
  .*: +file format .*arm.*
  
Index: gas/testsuite/gas/arm/thumb2_it_bad.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/arm/thumb2_it_bad.d,v
retrieving revision 1.1
diff -c -3 -p -r1.1 thumb2_it_bad.d
*** gas/testsuite/gas/arm/thumb2_it_bad.d	20 Mar 2006 15:38:02 -0000	1.1
--- gas/testsuite/gas/arm/thumb2_it_bad.d	16 Apr 2006 11:44:22 -0000
***************
*** 1,3 ****
--- 1,4 ----
  #name: Invalid IT instructions
  #as:
+ #skip: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
  #error-output: thumb2_it_bad.l

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]