Bug gas/1879

* gas/all/weakref1.d: Check for "$CODE$" as well as ".text".
	* gas/all/weakref1.s: Indent "-ld1 = l".
	* gas/all/weakref1g.d: Remove --no-sort option.
	* gas/all/weakref1l.d: Likewise.
	* gas/all/weakref1u.d: Likewise.  Sort expected results.
	* gas/all/weakref1w.d: Likewise.
	* gas/all/weakref2.s: Indent directives.
	* gas/all/weakref3.s: Likewise.
This commit is contained in:
Dave Anglin 2005-11-20 22:03:25 +00:00
parent f29ba31228
commit 9af1437233
9 changed files with 50 additions and 38 deletions

View File

@ -1,3 +1,15 @@
2005-11-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Bug gas/1879
* gas/all/weakref1.d: Check for "$CODE$" as well as ".text".
* gas/all/weakref1.s: Indent "-ld1 = l".
* gas/all/weakref1g.d: Remove --no-sort option.
* gas/all/weakref1l.d: Likewise.
* gas/all/weakref1u.d: Likewise. Sort expected results.
* gas/all/weakref1w.d: Likewise.
* gas/all/weakref2.s: Indent directives.
* gas/all/weakref3.s: Likewise.
2005-11-17 Jan Beulich <jbeulich@novell.com>
* gas/all/cond.s: Also check ifdef works on equates and

View File

@ -6,7 +6,7 @@
#not-target: alpha*-*-osf* *-*-ecoff pdp11-*-aout
#...
RELOCATION RECORDS FOR \[\.text\]:
RELOCATION RECORDS FOR \[(\.text|\$CODE\$)\]:
OFFSET +TYPE +VALUE *
# the rest of this file is generated with the following script:
# # script begin

View File

@ -189,7 +189,7 @@ l:
/* d# target symbol definitions */
.weakref Wld1, ld1
.long Wld1
ld1 = l
ld1 = l
.weakref Wld2, ld2
.long Wld2

View File

@ -1,4 +1,4 @@
#nm: --defined-only --extern-only --no-sort
#nm: --defined-only --extern-only
#name: weakref tests, global syms
#source: weakref1.s
# see weakref1.d for comments on the not-targets

View File

@ -1,4 +1,4 @@
#nm: --defined-only --no-sort
#nm: --defined-only
#name: weakref tests, local syms
#source: weakref1.s
# aix drops local symbols

View File

@ -1,4 +1,4 @@
#nm: --undefined-only --no-sort
#nm: --undefined-only
#name: weakref tests, strong undefined syms
#source: weakref1.s
# aout turns undefined into *ABS* symbols.
@ -39,11 +39,11 @@
#...
.* U uc9
#...
.* U um5
.* U ud5
#...
.* U uh8
#...
.* U uh9
#...
.* U ud5
.* U um5
#pass

View File

@ -1,4 +1,4 @@
#nm: --undefined-only --no-sort
#nm: --undefined-only
#name: weakref tests, weak undefined syms
#source: weakref1.s
# see weakref1.d for comments on the not-targets
@ -16,8 +16,28 @@
#...
.* w wc1
#...
.* w wh2
#...
.* w wh3
#...
.* w wh4
#...
.* w wh5
#...
.* w wh6
#...
.* w wh7
#...
.* w wm6
#...
.* w wm7
#...
.* w wm8
#...
.* w ww1
#...
.* w ww10
#...
.* w ww2
#...
.* w ww3
@ -33,24 +53,4 @@
.* w ww8
#...
.* w ww9
#...
.* w ww10
#...
.* w wm6
#...
.* w wm7
#...
.* w wm8
#...
.* w wh2
#...
.* w wh3
#...
.* w wh4
#...
.* w wh5
#...
.* w wh6
#...
.* w wh7
#pass

View File

@ -1,5 +1,5 @@
.weakref a,b
.weakref b,c
.weakref c,d
.weakref d,e
.weakref e,a
.weakref a,b
.weakref b,c
.weakref c,d
.weakref d,e
.weakref e,a

View File

@ -1,5 +1,5 @@
.weakref e,a
.weakref d,e
.weakref c,d
.weakref b,c
.weakref a,b
.weakref e,a
.weakref d,e
.weakref c,d
.weakref b,c
.weakref a,b