Commit: ARM: skip v7 and v8 tests for non-ELF ARM targets

Richard Earnshaw rearnsha@arm.com
Fri Mar 15 17:16:00 GMT 2013


On 15/03/13 16:24, Nick Clifton wrote:
> Hi Guys,
>
>    I am checking in the patch below to skip some of the v7 and v8 ARM gas
>    tests when the target is a non-ELF based ARM target.
>

Hmm, RISC iX support was removed from GCC back in 2002.  Isn't it time 
the binutils support was removed as well?

R.

> Cheers
>    Nick
>
> gas/testsuite/ChangeLog
> 2013-03-15  Nick Clifton  <nickc@redhat.com>
>
> 	* gas/arm/arch7.d: Skip for non-ELF ARM targets.
> 	* gas/arm/arch7a-mp.d: Likewise.
> 	* gas/arm/arch7em.d: Likewise.
> 	* gas/arm/crc32-bad.d: Likewise.
> 	* gas/arm/crc32.d: Likewise.
>
> Index: gas/testsuite/gas/arm/arch7.d
> ===================================================================
> RCS file: /cvs/src/src/gas/testsuite/gas/arm/arch7.d,v
> retrieving revision 1.10
> diff -u -3 -p -r1.10 arch7.d
> --- gas/testsuite/gas/arm/arch7.d	19 Apr 2011 07:44:11 -0000	1.10
> +++ gas/testsuite/gas/arm/arch7.d	15 Mar 2013 16:25:21 -0000
> @@ -1,6 +1,7 @@
>   #name: ARM V7 instructions
>   #as: -march=armv7r
>   #objdump: -dr --prefix-addresses --show-raw-insn
> +#not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
>
>   .*: +file format .*arm.*
>
> Index: gas/testsuite/gas/arm/arch7a-mp.d
> ===================================================================
> RCS file: /cvs/src/src/gas/testsuite/gas/arm/arch7a-mp.d,v
> retrieving revision 1.1
> diff -u -3 -p -r1.1 arch7a-mp.d
> --- gas/testsuite/gas/arm/arch7a-mp.d	23 Sep 2010 15:18:18 -0000	1.1
> +++ gas/testsuite/gas/arm/arch7a-mp.d	15 Mar 2013 16:25:21 -0000
> @@ -2,6 +2,7 @@
>   #as: -march=armv7-a+mp
>   #objdump: -dr --prefix-addresses --show-raw-insn
>   #source: arch7ar-mp.s
> +#not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
>
>   .*: +file format .*arm.*
>
> Index: gas/testsuite/gas/arm/arch7em.d
> ===================================================================
> RCS file: /cvs/src/src/gas/testsuite/gas/arm/arch7em.d,v
> retrieving revision 1.3
> diff -u -3 -p -r1.3 arch7em.d
> --- gas/testsuite/gas/arm/arch7em.d	24 Feb 2010 15:11:44 -0000	1.3
> +++ gas/testsuite/gas/arm/arch7em.d	15 Mar 2013 16:25:21 -0000
> @@ -1,6 +1,7 @@
>   # name: 32-bit Thumb DSP instructions
>   # as: -march=armv7e-m
>   # objdump: -dr --prefix-addresses --show-raw-insn
> +#not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
>
>   .*: +file format .*arm.*
>
> Index: gas/testsuite/gas/arm/crc32-bad.d
> ===================================================================
> RCS file: /cvs/src/src/gas/testsuite/gas/arm/crc32-bad.d,v
> retrieving revision 1.1
> diff -u -3 -p -r1.1 crc32-bad.d
> --- gas/testsuite/gas/arm/crc32-bad.d	11 Mar 2013 11:09:32 -0000	1.1
> +++ gas/testsuite/gas/arm/crc32-bad.d	15 Mar 2013 16:25:21 -0000
> @@ -2,6 +2,7 @@
>   #name: Unpredictable ARMv8 CRC32 instructions.
>   #as: -march=armv8-a+crc
>   #stderr: crc32-bad.l
> +#not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
>
>   .*: +file format .*arm.*
>
> Index: gas/testsuite/gas/arm/crc32.d
> ===================================================================
> RCS file: /cvs/src/src/gas/testsuite/gas/arm/crc32.d,v
> retrieving revision 1.1
> diff -u -3 -p -r1.1 crc32.d
> --- gas/testsuite/gas/arm/crc32.d	11 Mar 2013 11:09:32 -0000	1.1
> +++ gas/testsuite/gas/arm/crc32.d	15 Mar 2013 16:25:21 -0000
> @@ -1,6 +1,7 @@
>   #objdump: -dr --prefix-addresses --show-raw-insn
>   #name: ARMv8 CRC32 instructions
>   #as: -march=armv8-a+crc
> +#not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
>
>   .*: *file format .*arm.*
>
>
>
>




More information about the Binutils mailing list