* 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-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
 
 #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
 
 /* d# target symbol definitions */
        .weakref Wld1, ld1
        .long Wld1
-ld1 = l
+       ld1 = l
 
        .weakref Wld2, ld2
        .long Wld2
 
-#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
 
-#nm: --defined-only --no-sort
+#nm: --defined-only
 #name: weakref tests, local syms
 #source: weakref1.s
 # aix drops local symbols
 
-#nm: --undefined-only --no-sort
+#nm: --undefined-only
 #name: weakref tests, strong undefined syms
 #source: weakref1.s
 # aout turns undefined into *ABS* symbols.
 #...
 .* U uc9
 #...
-.* U um5
+.* U ud5
 #...
 .* U uh8
 #...
 .* U uh9
 #...
-.* U ud5
+.* U um5
 #pass
 
-#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
 #...
 .* w wc1
 #...
-.* w ww1
+.* w wh2
 #...
-.* w ww2
+.* w wh3
 #...
-.* w ww3
+.* w wh4
 #...
-.* w ww4
+.* w wh5
 #...
-.* w ww5
+.* w wh6
 #...
-.* w ww6
+.* w wh7
 #...
-.* w ww7
+.* w wm6
 #...
-.* w ww8
+.* w wm7
 #...
-.* w ww9
+.* w wm8
 #...
-.* w ww10
+.* w ww1
 #...
-.* w wm6
+.* w ww10
 #...
-.* w wm7
+.* w ww2
 #...
-.* w wm8
+.* w ww3
 #...
-.* w wh2
+.* w ww4
 #...
-.* w wh3
+.* w ww5
 #...
-.* w wh4
+.* w ww6
 #...
-.* w wh5
+.* w ww7
 #...
-.* w wh6
+.* w ww8
 #...
-.* w wh7
+.* w ww9
 #pass
 
-.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
 
-.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