mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
* gas/macros/and.s: New.
* gas/macros/macros.exp: Assemble it.
This commit is contained in:
parent
d1b2d571cc
commit
405525ece7
@ -1,3 +1,8 @@
|
||||
2003-06-10 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* gas/macros/and.s: New.
|
||||
* gas/macros/macros.exp: Assemble it.
|
||||
|
||||
2003-06-10 Gary Hade <garyhade@us.ibm.com>
|
||||
|
||||
* gas/ppc/test2elf64.{s,d}: New test.
|
||||
|
9
gas/testsuite/gas/macros/and.s
Normal file
9
gas/testsuite/gas/macros/and.s
Normal file
@ -0,0 +1,9 @@
|
||||
.set TFLAG_C, 1
|
||||
|
||||
.macro check
|
||||
.if (0 & TFLAG_C)
|
||||
.endif
|
||||
.endm
|
||||
|
||||
.text
|
||||
check
|
@ -18,6 +18,8 @@ if { ![istarget *c54x*-*-*] && ![istarget *c4x*-*-*] } {
|
||||
|
||||
gas_test_error "err.s" "" "macro infinite recursion"
|
||||
|
||||
gas_test "and.s" "" "" "logical and in macro definition"
|
||||
|
||||
case $target_triplet in {
|
||||
{ hppa*-*-* } { if [istarget *-*-linux*] { run_dump_test semi } }
|
||||
{ *c4x*-*-* } { }
|
||||
|
Loading…
Reference in New Issue
Block a user