gas/testsuite/
2005-05-06 Jan Beulich <jbeulich@novell.com> * gas/macros/dot.s: Don't use pseudo-ops in first column. * gas/macros/dot.l: Match broader range of possible outputs. * gas/macros/purge.l: Likewise. * gas/macros/purge.s: Start generated macro names with an underscore.
This commit is contained in:
parent
539a2ce3aa
commit
8368879b12
|
@ -1,3 +1,10 @@
|
||||||
|
2005-05-06 Jan Beulich <jbeulich@novell.com>
|
||||||
|
|
||||||
|
* gas/macros/dot.s: Don't use pseudo-ops in first column.
|
||||||
|
* gas/macros/dot.l: Match broader range of possible outputs.
|
||||||
|
* gas/macros/purge.l: Likewise.
|
||||||
|
* gas/macros/purge.s: Start generated macro names with an underscore.
|
||||||
|
|
||||||
2005-05-05 Paul Brook <paul@codesourcery.com>
|
2005-05-05 Paul Brook <paul@codesourcery.com>
|
||||||
|
|
||||||
* gas/i386/i386.exp: Don't run divide test on vxworks.
|
* gas/i386/i386.exp: Don't run divide test on vxworks.
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
.*:[1-9][0-9]*: Warning: attempt to redefine pseudo-op .\.macro. ignored
|
.*:[1-9][0-9]*: Warning: attempt to redefine pseudo-op .\.macro. ignored
|
||||||
.*:27: Error: unknown pseudo-op: .\.xyz.
|
.*:27: Error: unknown pseudo-op: .\.xyz.
|
||||||
.*:28: Error: .*
|
.*:28: Error: .*
|
||||||
(.* )?GAS .*
|
|
||||||
#...
|
#...
|
||||||
[ ]*[1-9][0-9]*[ ]+m 4, 2
|
[ ]*[1-9][0-9]*[ ]+m 4, 2
|
||||||
[ ]*[1-9][0-9]*[ ]+> \.data
|
[ ]*[1-9][0-9]*[ ]+> \.data
|
||||||
|
@ -19,4 +18,5 @@
|
||||||
[ ]*[1-9][0-9]*[ ]+
|
[ ]*[1-9][0-9]*[ ]+
|
||||||
[ ]*[1-9][0-9]*[ ]+\.purgem \.xyz, x\.y\.z
|
[ ]*[1-9][0-9]*[ ]+\.purgem \.xyz, x\.y\.z
|
||||||
[ ]*[1-9][0-9]*[ ]+\.xyz 0
|
[ ]*[1-9][0-9]*[ ]+\.xyz 0
|
||||||
[ ]*[1-9][0-9]*[ ]+x\.y\.z 0
|
[ ]*[1-9][0-9]*[ ]+(\?+[0 ]+)?x\.y\.z 0
|
||||||
|
#pass
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
.altmacro
|
.altmacro
|
||||||
|
|
||||||
.macro x.y.z val
|
.macro x.y.z val
|
||||||
.align 4
|
.align 4
|
||||||
.byte val, val
|
.byte val, val
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
.macro .xyz val
|
.macro .xyz val
|
||||||
.align 8
|
.align 8
|
||||||
.byte val, val
|
.byte val, val
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
.macro .macro
|
.macro .macro
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
label1:label2 : label3 :label4: m: .macro arg.1, arg.2
|
label1:label2 : label3 :label4: m: .macro arg.1, arg.2
|
||||||
.data
|
.data
|
||||||
|
@ -23,6 +23,6 @@ label9:label8 : label7 :label6: .endm
|
||||||
|
|
||||||
m 4, 2
|
m 4, 2
|
||||||
|
|
||||||
.purgem .xyz, x.y.z
|
.purgem .xyz, x.y.z
|
||||||
.xyz 0
|
.xyz 0
|
||||||
x.y.z 0
|
x.y.z 0
|
||||||
|
|
|
@ -1,7 +1,11 @@
|
||||||
.*: Assembler messages:
|
.*: Assembler messages:
|
||||||
.*:11: Error: .*
|
.*:11: Error: .*
|
||||||
|
#...
|
||||||
.*:12: Error: .*
|
.*:12: Error: .*
|
||||||
|
#...
|
||||||
.*:13: Error: .*
|
.*:13: Error: .*
|
||||||
|
#...
|
||||||
.*:14: Error: .*
|
.*:14: Error: .*
|
||||||
|
#...
|
||||||
.*:15: Warning: .*
|
.*:15: Warning: .*
|
||||||
.*:16: Warning: .*
|
.*:16: Warning: .*
|
||||||
|
|
|
@ -29,12 +29,12 @@
|
||||||
.irpc b,ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
.irpc b,ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
||||||
.irpc c,ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
.irpc c,ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
||||||
.irpc d,ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
.irpc d,ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
||||||
.macro \a\b\c\d arg1=0, arg2=0
|
.macro _\a\b\c\d arg1=0, arg2=0
|
||||||
.if \arg1 + \arg2
|
.if \arg1 + \arg2
|
||||||
.purgem \a\b\c\d
|
.purgem _\a\b\c\d
|
||||||
.endif
|
.endif
|
||||||
.endm
|
.endm
|
||||||
\a\b\c\d 1, 2
|
_\a\b\c\d 1, 2
|
||||||
.endr
|
.endr
|
||||||
.endr
|
.endr
|
||||||
.endr
|
.endr
|
||||||
|
|
Loading…
Reference in New Issue