This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Support "-march=armv6j", not "-march=armv6"
Hi Guys,
Alan Modra <amodra@bigpond.net.au> writes:
> The change breaks the testsuite.
>
> ../as-new -march=armv6 -o dump.o /src/binutils-current/gas/testsuite/gas/arm/archv6.s
> Assembler messages:
> Error: unknown architecture `armv6'
>
> FAIL: ARM V6 instructions
> ../as-new -march=armv6 -mthumb -o dump.o /src/binutils-current/gas/testsuite/gas/arm/thumbv6.s
> Assembler messages:
> Error: unknown architecture `armv6'
>
> FAIL: THUMB V6 instructions
As simple enough fix. I have checked this in.
Cheers
Nick
2003-12-22 Nick Clifton <nickc@redhat.com>
* gas/arm/archv6.d (as): Use -march=armv6j.
* gas/arm/thumbv6.d (as): Likewise.
Index: gas/testsuite/gas/arm/archv6.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/arm/archv6.d,v
retrieving revision 1.1
diff -c -3 -p -r1.1 archv6.d
*** gas/testsuite/gas/arm/archv6.d 6 Dec 2003 01:25:29 -0000 1.1
--- gas/testsuite/gas/arm/archv6.d 22 Dec 2003 08:41:20 -0000
***************
*** 1,5 ****
#name: ARM V6 instructions
! #as: -march=armv6
#objdump: -dr --prefix-addresses --show-raw-insn
.*: +file format .*arm.*
--- 1,5 ----
#name: ARM V6 instructions
! #as: -march=armv6j
#objdump: -dr --prefix-addresses --show-raw-insn
.*: +file format .*arm.*
Index: gas/testsuite/gas/arm/thumbv6.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/arm/thumbv6.d,v
retrieving revision 1.2
diff -c -3 -p -r1.2 thumbv6.d
*** gas/testsuite/gas/arm/thumbv6.d 15 Dec 2003 04:47:23 -0000 1.2
--- gas/testsuite/gas/arm/thumbv6.d 22 Dec 2003 08:41:20 -0000
***************
*** 1,5 ****
#name: THUMB V6 instructions
! #as: -march=armv6 -mthumb
#objdump: -dr --prefix-addresses --show-raw-insn -M force-thumb
.*: +file format .*arm.*
--- 1,5 ----
#name: THUMB V6 instructions
! #as: -march=armv6j -mthumb
#objdump: -dr --prefix-addresses --show-raw-insn -M force-thumb
.*: +file format .*arm.*