mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
gas/arc: Unify tests run on big/little endian arc assembler
We were running a slightly different set of assembler tests on big and little endian arc targets. This commit unifies the set of tests run. gas/ChangeLog: * testsuite/gas/arc/add_s-err.s: Update target pattern. * testsuite/gas/arc/warn.s: Likewise. * testsuite/gas/elf/elf.exp: Run test for arc.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||||
|
|
||||||
|
* testsuite/gas/arc/add_s-err.s: Update target pattern.
|
||||||
|
* testsuite/gas/arc/warn.s: Likewise.
|
||||||
|
* testsuite/gas/elf/elf.exp: Run test for arc.
|
||||||
|
|
||||||
2016-04-14 Nick Clifton <nickc@redhat.com>
|
2016-04-14 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
PR target/19938
|
PR target/19938
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
;; Test ARC EM Code denisty ADD_S extensions. They are only valid for
|
;; Test ARC EM Code denisty ADD_S extensions. They are only valid for
|
||||||
;; ARCv2 architecture.
|
;; ARCv2 architecture.
|
||||||
;;
|
;;
|
||||||
; { dg-do assemble { target arc-*-* } }
|
; { dg-do assemble { target arc*-*-* } }
|
||||||
; { dg-options "--mcpu=arc700" }
|
; { dg-options "--mcpu=arc700" }
|
||||||
;; The following insns are accepted by ARCv2 only
|
;; The following insns are accepted by ARCv2 only
|
||||||
add_s r4,r4,-1 ; { dg-error "Error: inappropriate arguments for opcode 'add_s'" }
|
add_s r4,r4,-1 ; { dg-error "Error: inappropriate arguments for opcode 'add_s'" }
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
; Test ARC specific assembler warnings
|
; Test ARC specific assembler warnings
|
||||||
;
|
;
|
||||||
; { dg-do assemble { target arc-*-* } }
|
; { dg-do assemble { target arc*-*-* } }
|
||||||
|
|
||||||
b.d foo
|
b.d foo
|
||||||
mov r0,256
|
mov r0,256
|
||||||
|
@ -90,7 +90,6 @@ if { [is_elf_format] } then {
|
|||||||
# optimization because it interfers with link-time relaxation of
|
# optimization because it interfers with link-time relaxation of
|
||||||
# function prologues.
|
# function prologues.
|
||||||
if {![istarget "mn10300-*-*"]
|
if {![istarget "mn10300-*-*"]
|
||||||
&& ![istarget "arc-*-*"]
|
|
||||||
&& ![istarget "xtensa*-*-*"]
|
&& ![istarget "xtensa*-*-*"]
|
||||||
&& ![istarget "msp430*-*-*"]
|
&& ![istarget "msp430*-*-*"]
|
||||||
&& ![istarget "nds32*-*-*"]
|
&& ![istarget "nds32*-*-*"]
|
||||||
|
Reference in New Issue
Block a user