mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-30 12:44:10 +08:00
* gas/all/cond.s, gas/all/cond.d: New test.
* gas/all/gas.exp: Run it.
This commit is contained in:
parent
28d8c67124
commit
c98bb2d606
@ -1,3 +1,13 @@
|
||||
Tue Feb 25 13:45:55 1997 Ian Lance Taylor <ian@cygnus.com>
|
||||
|
||||
* gas/all/cond.s, gas/all/cond.d: New test.
|
||||
* gas/all/gas.exp: Run it.
|
||||
|
||||
Mon Feb 24 10:52:12 1997 Bob Manson <manson@charmed.cygnus.com>
|
||||
|
||||
* lib/gas-defs.exp(gas_init): Added new parameter for script
|
||||
name.
|
||||
|
||||
start-sanitize-tic80
|
||||
Mon Feb 24 10:40:28 1997 Fred Fish <fnf@cygnus.com>
|
||||
|
||||
|
@ -31,6 +31,8 @@ align.s
|
||||
gas.exp
|
||||
cofftag.d
|
||||
cofftag.s
|
||||
cond.d
|
||||
cond.s
|
||||
comment.s
|
||||
diff1.s
|
||||
float.s
|
||||
|
15
gas/testsuite/gas/all/cond.d
Normal file
15
gas/testsuite/gas/all/cond.d
Normal file
@ -0,0 +1,15 @@
|
||||
# This should match the output of gas -alc cond.s.
|
||||
|
||||
.*cond.s.*
|
||||
|
||||
|
||||
1[ ]+.if 0
|
||||
8[ ]+.else
|
||||
9[ ]+.if 1
|
||||
10[ ]+.endc
|
||||
11 0000 0[02]00 ?000[02][ ]+.long[ ]+2
|
||||
12[ ]+.if 0
|
||||
14[ ]+.else
|
||||
15 0004 0[04]00 ?000[04][ ]+.long[ ]+4
|
||||
16[ ]+.endc
|
||||
17[ ]+.endc
|
17
gas/testsuite/gas/all/cond.s
Normal file
17
gas/testsuite/gas/all/cond.s
Normal file
@ -0,0 +1,17 @@
|
||||
.if 0
|
||||
.if 1
|
||||
.endc
|
||||
.long 0
|
||||
.if 0
|
||||
.long 1
|
||||
.endc
|
||||
.else
|
||||
.if 1
|
||||
.endc
|
||||
.long 2
|
||||
.if 0
|
||||
.long 3
|
||||
.else
|
||||
.long 4
|
||||
.endc
|
||||
.endc
|
Loading…
Reference in New Issue
Block a user