mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 03:29:47 +08:00
* gas/macros/and.s: New.
* gas/macros/macros.exp: Assemble it.
This commit is contained in:
@ -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>
|
2003-06-10 Gary Hade <garyhade@us.ibm.com>
|
||||||
|
|
||||||
* gas/ppc/test2elf64.{s,d}: New test.
|
* 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_error "err.s" "" "macro infinite recursion"
|
||||||
|
|
||||||
|
gas_test "and.s" "" "" "logical and in macro definition"
|
||||||
|
|
||||||
case $target_triplet in {
|
case $target_triplet in {
|
||||||
{ hppa*-*-* } { if [istarget *-*-linux*] { run_dump_test semi } }
|
{ hppa*-*-* } { if [istarget *-*-linux*] { run_dump_test semi } }
|
||||||
{ *c4x*-*-* } { }
|
{ *c4x*-*-* } { }
|
||||||
|
Reference in New Issue
Block a user