public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* testsuite fixes
@ 2005-03-01  3:52 Alan Modra
  0 siblings, 0 replies; 7+ messages in thread
From: Alan Modra @ 2005-03-01  3:52 UTC (permalink / raw)
  To: binutils

When built on a 64-bit host, we get 64-bit addresses printed on non-ELF
32-bit targets.  Which isn't nice, but I'm not sufficiently motivated to
fix this particular problem.  So hack the testsuite.

	* gas/m68k/mcf-emac.d: Allow for 64-bit addresses.
	* gas/m68k/mcf-mac.d: Likewise.
	* gas/m68k/mcf-mov3q.d: Likewise.
	* gas/m68k/mode5.d: Likewise.

Index: gas/testsuite/gas/m68k/mcf-emac.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/m68k/mcf-emac.d,v
retrieving revision 1.2
diff -u -p -r1.2 mcf-emac.d
--- gas/testsuite/gas/m68k/mcf-emac.d	24 May 2004 14:33:19 -0000	1.2
+++ gas/testsuite/gas/m68k/mcf-emac.d	1 Mar 2005 03:03:19 -0000
@@ -6,7 +6,7 @@
 
 Disassembly of section .text:
 
-00000000 <.text>:
+0+ <.text>:
        0:	a241 0280      	macw %d1l,%a1u,<<,%acc0
        4:	a2d0 d281      	macw %d1l,%a5u,<<,%a0@,%a1,%acc0
        8:	a490 b2a5      	macw %d5l,%a3u,<<,%a0@&,%d2,%acc0
Index: gas/testsuite/gas/m68k/mcf-mac.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/m68k/mcf-mac.d,v
retrieving revision 1.2
diff -u -p -r1.2 mcf-mac.d
--- gas/testsuite/gas/m68k/mcf-mac.d	24 May 2004 14:33:20 -0000	1.2
+++ gas/testsuite/gas/m68k/mcf-mac.d	1 Mar 2005 03:03:20 -0000
@@ -6,7 +6,7 @@
 
 Disassembly of section .text:
 
-00000000 <.text>:
+0+ <.text>:
        0:	a182           	movel %acc,%d2
        2:	a189           	movel %acc,%a1
        4:	a989           	movel %macsr,%a1
Index: gas/testsuite/gas/m68k/mcf-mov3q.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/m68k/mcf-mov3q.d,v
retrieving revision 1.2
diff -u -p -r1.2 mcf-mov3q.d
--- gas/testsuite/gas/m68k/mcf-mov3q.d	5 Nov 2003 01:14:25 -0000	1.2
+++ gas/testsuite/gas/m68k/mcf-mov3q.d	1 Mar 2005 03:03:20 -0000
@@ -6,7 +6,7 @@
 
 Disassembly of section .text:
 
-00000000 <test_mov3q>:
+0+ <test_mov3q>:
    0:	a140           	mov3ql #-1,%d0
    2:	a349           	mov3ql #1,%a1
    4:	a552           	mov3ql #2,%a2@
Index: gas/testsuite/gas/m68k/mode5.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/m68k/mode5.d,v
retrieving revision 1.2
diff -u -p -r1.2 mode5.d
--- gas/testsuite/gas/m68k/mode5.d	29 Jun 2004 14:43:55 -0000	1.2
+++ gas/testsuite/gas/m68k/mode5.d	1 Mar 2005 03:03:20 -0000
@@ -6,7 +6,7 @@
 
 Disassembly of section .text:
 
-00000000 <.text>:
+0+ <.text>:
    0:	2213           	movel %a3@,%d1
    2:	2882           	movel %d2,%a4@
    4:	2295           	movel %a5@,%a1@

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: testsuite fixes
  2007-08-09 11:26 Alan Modra
@ 2007-08-09 11:43 ` Alan Modra
  0 siblings, 0 replies; 7+ messages in thread
From: Alan Modra @ 2007-08-09 11:43 UTC (permalink / raw)
  To: binutils

Another one.

	* windres/windres.exp: Return unsupported rather than fail if
	windows.h not found.

Index: binutils/testsuite/binutils-all/windres/windres.exp
===================================================================
RCS file: /cvs/src/src/binutils/testsuite/binutils-all/windres/windres.exp,v
retrieving revision 1.10
diff -u -p -r1.10 windres.exp
--- binutils/testsuite/binutils-all/windres/windres.exp	5 Jul 2007 16:54:45 -0000	1.10
+++ binutils/testsuite/binutils-all/windres/windres.exp	9 Aug 2007 01:40:59 -0000
@@ -88,7 +88,11 @@ foreach res $res_list {
     if ![string match "" $err] then {
 	send_log "$err\n"
 	verbose "$err" 1
-	fail "windres/$broot (parse)"
+	if [string match "*windows.h: No such file*" $err] then {
+	    unsupported "windres/$broot (parse)"
+	} else {
+	    fail "windres/$broot (parse)"
+	}
 	continue
     }
     pass "windres/$broot (parse)"

-- 
Alan Modra
Australia Development Lab, IBM

^ permalink raw reply	[flat|nested] 7+ messages in thread

* testsuite fixes
@ 2007-08-09 11:26 Alan Modra
  2007-08-09 11:43 ` Alan Modra
  0 siblings, 1 reply; 7+ messages in thread
From: Alan Modra @ 2007-08-09 11:26 UTC (permalink / raw)
  To: binutils

i486-*-linuxaout fails these tests just like other aout targets.

binutils/testsuite/
	* binutils-all/copy-2.d (not-target): Match *-*-*aout.
	* binutils-all/copy-3.d (not-target): Likewise.
	* binutils-all/objcopy.exp (objcopy_test): Remove extraneous
	setup_xfail.
gas/testsuite/
	* gas/all/weakref1u.d (not-target): Match *-*-*aout.

Index: binutils/testsuite/binutils-all/copy-2.d
===================================================================
RCS file: /cvs/src/src/binutils/testsuite/binutils-all/copy-2.d,v
retrieving revision 1.3
diff -u -p -r1.3 copy-2.d
--- binutils/testsuite/binutils-all/copy-2.d	2 May 2006 17:46:41 -0000	1.3
+++ binutils/testsuite/binutils-all/copy-2.d	9 Aug 2007 01:40:59 -0000
@@ -3,7 +3,7 @@
 #objcopy: --set-section-flags foo=contents,alloc,load,code
 #name: copy with setting section flags 2
 #source: copytest.s
-#not-target: *-*-aout
+#not-target: *-*-*aout
 # Note - we use copytest.s and a section named "foo" rather
 # than .text because for some file formats (eg PE) the .text
 # section has a fixed set of flags and these cannot be changed.
Index: binutils/testsuite/binutils-all/copy-3.d
===================================================================
RCS file: /cvs/src/src/binutils/testsuite/binutils-all/copy-3.d,v
retrieving revision 1.4
diff -u -p -r1.4 copy-3.d
--- binutils/testsuite/binutils-all/copy-3.d	8 Jan 2007 17:21:49 -0000	1.4
+++ binutils/testsuite/binutils-all/copy-3.d	9 Aug 2007 01:40:59 -0000
@@ -3,7 +3,7 @@
 #objcopy: --set-section-flags .text=alloc,data
 #name: copy with setting section flags 3
 #source: bintest.s
-#not-target: *-*-aout *-*-*pe *-*-*coff i*86-*-cygwin* i*86-*-mingw32* x86_64-*-mingw*
+#not-target: *-*-*aout *-*-*pe *-*-*coff i*86-*-cygwin* i*86-*-mingw32* x86_64-*-mingw*
 # The .text # section in PE/COFF has a fixed set of flags and these
 # cannot be changed.  We skip it for them.
 
Index: binutils/testsuite/binutils-all/objcopy.exp
===================================================================
RCS file: /cvs/src/src/binutils/testsuite/binutils-all/objcopy.exp,v
retrieving revision 1.46
diff -u -p -r1.46 objcopy.exp
--- binutils/testsuite/binutils-all/objcopy.exp	5 Jul 2007 16:54:45 -0000	1.46
+++ binutils/testsuite/binutils-all/objcopy.exp	9 Aug 2007 01:40:59 -0000
@@ -103,9 +103,6 @@ proc objcopy_test {testname srcfile} {
 	    # On OSF/1, this succeeds with gas and fails with /bin/as.
 	    setup_xfail "alpha*-*-osf*"
 
-	    # This fails for COFF i960-vxworks targets.
-	    setup_xfail "i960-*-vxworks*"
-
 	    fail "objcopy ($testname)"
 	}
     }
Index: gas/testsuite/gas/all/weakref1u.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/all/weakref1u.d,v
retrieving revision 1.3
diff -u -p -r1.3 weakref1u.d
--- gas/testsuite/gas/all/weakref1u.d	20 Nov 2005 22:03:25 -0000	1.3
+++ gas/testsuite/gas/all/weakref1u.d	9 Aug 2007 01:41:09 -0000
@@ -3,7 +3,7 @@
 #source: weakref1.s
 # aout turns undefined into *ABS* symbols.
 # see weakref1.d for comments on the other not-targets
-#not-target: *-*-aout ns32k-*-netbsd alpha*-*-osf* *-*-ecoff pdp11-*-aout
+#not-target: *-*-*aout ns32k-*-netbsd alpha*-*-osf* *-*-ecoff
 
 # the rest of this file is generated with the following script:
 # # script begin

-- 
Alan Modra
Australia Development Lab, IBM

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: testsuite fixes
  2004-07-02  9:52 ` Kaz Kojima
@ 2004-07-02 10:16   ` Alan Modra
  0 siblings, 0 replies; 7+ messages in thread
From: Alan Modra @ 2004-07-02 10:16 UTC (permalink / raw)
  To: Kaz Kojima; +Cc: binutils

On Fri, Jul 02, 2004 at 06:51:43PM +0900, Kaz Kojima wrote:
> Only the hunk for testsuite/ld-elf/frame.exp is a change for non-SH
> specific file.  If it's OK, I'd like to check the patch in.

Yes please.  Thanks for looking at this.  I was a little worried my
section size changes had broken sh64.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: testsuite fixes
  2004-06-29 14:43 Alan Modra
  2004-07-01 19:17 ` Jakub Jelinek
@ 2004-07-02  9:52 ` Kaz Kojima
  2004-07-02 10:16   ` Alan Modra
  1 sibling, 1 reply; 7+ messages in thread
From: Kaz Kojima @ 2004-07-02  9:52 UTC (permalink / raw)
  To: binutils

Alan Modra <amodra@bigpond.net.au> wrote:
> I see an annoying number of testsuite failures, presumably the following
> are all from Jakub's 2004-05-11 bfd patch to remove unneeded section
> syms, or 2004-05-19 ld change which rearranged sections.
[snip]
> sh64-linux
> +FAIL: read-only .eh_frame section
> +FAIL: read-only .gcc_except_table section
> +FAIL: ld-sh/shared-1
> +FAIL: ld-sh/shared-2
> +FAIL: ld-sh/sh64/gotplt
> +FAIL: ld-sh/sh64/init-cmpct
> +FAIL: ld-sh/sh64/init-media
> +FAIL: ld-sh/sh64/init64
> +FAIL: SH64 linking, 64-bit ABI
> +FAIL: SH64 linking, 32-bit ABI
> +FAIL: SH64 linking, single multi-ISA object
> +FAIL: SH64 linking, two different-ISA objects
> +FAIL: SH64 linking, single SHcompact
> +FAIL: SH64 inter-file datalabel references, 64-bit ABI
> +FAIL: SH64 inter-file datalabel references, 32-bit ABI
> +FAIL: Handling SH64 assembler-generated .cranges
> +FAIL: Mixing SH64 assembler-generated with linker-generated .cranges
> +FAIL: Merge and use of SH64 .cranges, some not originally in order
> +FAIL: Sorted SH64 .cranges, entry at SHcompact code
> +FAIL: Sorted SH64 .cranges, entry at SHmedia code

It seems that this is the result for sh64-elf.  Anyway, sorry for
not fixing these errors sooner.
The first 2 failures are same on sh-elf and it turned out that
sh64/sh-elf target has the 128-byte MAXPAGESIZE which is too small
for these tests.  The second hank of the patch below simply makes
frame.exp test not run on these targets.
The other parts of patch except the first hunk just adjust the tests
for section reordering and other minor changes of output format.
The first one is required to fix another failures on sh64-linux.
It's tested on sh-elf, sh64-elf, sh4-unknown-linux-gnu, sh64-unknown-
linux-gnu and i686-pc-linux-gnu.

Only the hunk for testsuite/ld-elf/frame.exp is a change for non-SH
specific file.  If it's OK, I'd like to check the patch in.

Regards,
	kaz
--
2004-07-01  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

[ld/ChangeLog]
	* emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.

[ld/testsuite/ChangeLog]
	* ld-elf/frame.exp: Don't run on sh*-*-elf*.
	* ld-sh/shared-1.d: Adjust for section reordering changes.
	* ld-sh/shared-2.d: Likewise.
	* ld-sh/tlsbin-2.d: Likewise.
	* ld-sh/tlspic-2.d: Likewise.
	* ld-sh/sh64/abi32.xd: Likewise.
	* ld-sh/sh64/abi64.xd: Likewise.
	* ld-sh/sh64/cmpct1.xd: Likewise.
	* ld-sh/sh64/crange1.rd: Likewise.
	* ld-sh/sh64/crange2.rd: Likewise.
	* ld-sh/sh64/crange3-cmpct.rd: Likewise.
	* ld-sh/sh64/crange3-media.rd: Likewise.
	* ld-sh/sh64/crange3.rd: Likewise.
	* ld-sh/sh64/gotplt.d: Likewise.
	* ld-sh/sh64/init-cmpct.d: Likewise.
	* ld-sh/sh64/init-media.d: Likewise.
	* ld-sh/sh64/init64.d: Likewise.
	* ld-sh/sh64/mix1.xd: Likewise.
	* ld-sh/sh64/mix2.xd: Likewise.
	* ld-sh/sh64/shdl32.xd: Likewise.
	* ld-sh/sh64/shdl64.xd: Likewise.

diff -u3prN ORIG/src/ld/emulparams/shlelf32_linux.sh LOCAL/src/ld/emulparams/shlelf32_linux.sh
--- ORIG/src/ld/emulparams/shlelf32_linux.sh	Tue Jun  3 13:30:44 2003
+++ LOCAL/src/ld/emulparams/shlelf32_linux.sh	Fri Jul  2 17:47:44 2004
@@ -5,6 +5,7 @@ SCRIPT_NAME=elf
 OUTPUT_FORMAT="elf32-sh64-linux"
 TEXT_START_ADDR=0x400000
 MAXPAGESIZE=0x10000
+COMMONPAGESIZE=0x1000
 ARCH=sh
 MACHINE=sh5
 ALIGNMENT=8
diff -u3prN ORIG/src/ld/testsuite/ld-elf/frame.exp LOCAL/src/ld/testsuite/ld-elf/frame.exp
--- ORIG/src/ld/testsuite/ld-elf/frame.exp	Wed Jun 30 20:45:01 2004
+++ LOCAL/src/ld/testsuite/ld-elf/frame.exp	Fri Jul  2 14:25:06 2004
@@ -30,6 +30,11 @@ if { [istarget "mcore-*-*"] } {
     return
 }
 
+# Too small MAXPAGESIZE on this target.
+if { [istarget "sh*-*-elf*"] } {
+    return
+}
+
 set test1	"read-only .eh_frame section"
 set test2	"read-only .gcc_except_table section"
 
diff -u3prN ORIG/src/ld/testsuite/ld-sh/sh64/abi32.xd LOCAL/src/ld/testsuite/ld-sh/sh64/abi32.xd
--- ORIG/src/ld/testsuite/ld-sh/sh64/abi32.xd	Mon Dec  1 17:24:18 2003
+++ LOCAL/src/ld/testsuite/ld-sh/sh64/abi32.xd	Fri Jul  2 16:24:42 2004
@@ -17,12 +17,12 @@ Sections:
 Idx Name          Size      VMA       LMA       File off  Algn
   0 \.text         00000064  0+1000  0+1000  00000100  2\*\*0
                   CONTENTS, ALLOC, LOAD, READONLY, CODE
-  1 \.data         00000018  0+10e8  0+10e8  00000168  2\*\*2
-                  CONTENTS, ALLOC, LOAD, DATA
-  2 \.ctors        00000000  0+1100  0+1100  00000184  2\*\*0
+  1 \.ctors        00000000  0+10e8  0+10e8  00000184  2\*\*0
                   CONTENTS
-  3 \.dtors        00000000  0+1100  0+1100  00000184  2\*\*0
+  2 \.dtors        00000000  0+10e8  0+10e8  00000184  2\*\*0
                   CONTENTS
+  3 \.data         00000018  0+10e8  0+10e8  00000168  2\*\*2
+                  CONTENTS, ALLOC, LOAD, DATA
   4 \.sbss         00000000  0+1100  0+1100  00000184  2\*\*0
                   CONTENTS
   5 \.bss          00000000  0+1100  0+1100  00000180  2\*\*0
@@ -31,9 +31,9 @@ Idx Name          Size      VMA       LM
                   CONTENTS, ALLOC, LOAD, DATA
 SYMBOL TABLE:
 0+1000 l    d  \.text	0+ 
+0+10e8 l    d  \.ctors	0+ 
+0+10e8 l    d  \.dtors	0+ 
 0+10e8 l    d  \.data	0+ 
-0+1100 l    d  \.ctors	0+ 
-0+1100 l    d  \.dtors	0+ 
 0+1100 l    d  \.sbss	0+ 
 0+1100 l    d  \.bss	0+ 
 0+80000 l    d  \.stack	0+ 
@@ -45,16 +45,16 @@ SYMBOL TABLE:
 0+1060 l       \.text	0+ 0x04 plugh
 0+10f8 g       \.data	0+ foobar
 0+10e8 g       \.data	0+ baz
-0+1100 g       \.dtors	0+ ___dtors
+0+10e8 g       \.dtors	0+ ___dtors
 0+105c g       \.text	0+ 0x04 xyzzy
 0+1100 g       \*ABS\*	0+ __bss_start
-0+1100 g       \.ctors	0+ ___ctors_end
+0+10e8 g       \.ctors	0+ ___ctors_end
 0+10f0 g       \.data	0+ baz2
-0+1100 g       \.ctors	0+ ___ctors
+0+10e8 g       \.ctors	0+ ___ctors
 0+1000 g       \.text	0+ 0x04 foo
 0+1100 g       \*ABS\*	0+ _edata
 0+1100 g       \*ABS\*	0+ _end
 0+1010 g       \.text	0+ 0x04 start
 0+100c g       \.text	0+ 0x04 bar
 0+80000 g       \.stack	0+ _stack
-0+1100 g       \.dtors	0+ ___dtors_end
+0+10e8 g       \.dtors	0+ ___dtors_end
diff -u3prN ORIG/src/ld/testsuite/ld-sh/sh64/abi64.xd LOCAL/src/ld/testsuite/ld-sh/sh64/abi64.xd
--- ORIG/src/ld/testsuite/ld-sh/sh64/abi64.xd	Mon Dec  1 17:24:18 2003
+++ LOCAL/src/ld/testsuite/ld-sh/sh64/abi64.xd	Fri Jul  2 16:13:06 2004
@@ -16,12 +16,12 @@ Sections:
 Idx Name          Size      VMA               LMA               File off  Algn
   0 \.text         000000ac  0000000000001000  0000000000001000  00000100  2\*\*0
                   CONTENTS, ALLOC, LOAD, READONLY, CODE
-  1 \.data         00000018  0000000000001130  0000000000001130  000001b0  2\*\*2
-                  CONTENTS, ALLOC, LOAD, DATA
-  2 \.ctors        00000000  0000000000001148  0000000000001148  00000204  2\*\*0
+  1 \.ctors        00000000  0000000000001130  0000000000001130  00000204  2\*\*0
                   CONTENTS
-  3 \.dtors        00000000  0000000000001148  0000000000001148  00000204  2\*\*0
+  2 \.dtors        00000000  0000000000001130  0000000000001130  00000204  2\*\*0
                   CONTENTS
+  3 \.data         00000018  0000000000001130  0000000000001130  000001b0  2\*\*2
+                  CONTENTS, ALLOC, LOAD, DATA
   4 \.sbss         00000000  0000000000001148  0000000000001148  00000204  2\*\*0
                   CONTENTS
   5 \.bss          00000000  0000000000001148  0000000000001148  000001c8  2\*\*0
@@ -30,9 +30,9 @@ Idx Name          Size      VMA         
                   CONTENTS, ALLOC, LOAD, DATA
 SYMBOL TABLE:
 0000000000001000 l    d  \.text	0000000000000000 
+0000000000001130 l    d  \.ctors	0000000000000000 
+0000000000001130 l    d  \.dtors	0000000000000000 
 0000000000001130 l    d  \.data	0000000000000000 
-0000000000001148 l    d  \.ctors	0000000000000000 
-0000000000001148 l    d  \.dtors	0000000000000000 
 0000000000001148 l    d  \.sbss	0000000000000000 
 0000000000001148 l    d  \.bss	0000000000000000 
 0000000000080000 l    d  \.stack	0000000000000000 
@@ -44,16 +44,16 @@ SYMBOL TABLE:
 00000000000010a8 l       \.text	0000000000000000 0x04 plugh
 0000000000001140 g       \.data	0000000000000000 foobar
 0000000000001130 g       \.data	0000000000000000 baz
-0000000000001148 g       \.dtors	0000000000000000 ___dtors
+0000000000001130 g       \.dtors	0000000000000000 ___dtors
 00000000000010a4 g       \.text	0000000000000000 0x04 xyzzy
 0000000000001148 g       \*ABS\*	0000000000000000 __bss_start
-0000000000001148 g       \.ctors	0000000000000000 ___ctors_end
+0000000000001130 g       \.ctors	0000000000000000 ___ctors_end
 0000000000001138 g       \.data	0000000000000000 baz2
-0000000000001148 g       \.ctors	0000000000000000 ___ctors
+0000000000001130 g       \.ctors	0000000000000000 ___ctors
 0000000000001000 g       \.text	0000000000000000 0x04 foo
 0000000000001148 g       \*ABS\*	0000000000000000 _edata
 0000000000001148 g       \*ABS\*	0000000000000000 _end
 0000000000001018 g       \.text	0000000000000000 0x04 start
 0000000000001014 g       \.text	0000000000000000 0x04 bar
 0000000000080000 g       \.stack	0000000000000000 _stack
-0000000000001148 g       \.dtors	0000000000000000 ___dtors_end
+0000000000001130 g       \.dtors	0000000000000000 ___dtors_end
diff -u3prN ORIG/src/ld/testsuite/ld-sh/sh64/cmpct1.xd LOCAL/src/ld/testsuite/ld-sh/sh64/cmpct1.xd
--- ORIG/src/ld/testsuite/ld-sh/sh64/cmpct1.xd	Mon Dec  1 17:24:18 2003
+++ LOCAL/src/ld/testsuite/ld-sh/sh64/cmpct1.xd	Fri Jul  2 16:36:00 2004
@@ -19,12 +19,12 @@ Idx Name          Size      VMA       LM
                   CONTENTS, ALLOC, LOAD, READONLY, CODE
   1 \.rodata       0000000c  0+1008  0+1008  00000108  2\*\*2
                   CONTENTS, ALLOC, LOAD, READONLY, DATA
-  2 \.data         00000000  0+1098  0+1098  00000118  2\*\*0
-                  CONTENTS, ALLOC, LOAD, DATA
-  3 \.ctors        00000000  0+1098  0+1098  00000184  2\*\*0
+  2 \.ctors        00000000  0+1098  0+1098  00000184  2\*\*0
                   CONTENTS
-  4 \.dtors        00000000  0+1098  0+1098  00000184  2\*\*0
+  3 \.dtors        00000000  0+1098  0+1098  00000184  2\*\*0
                   CONTENTS
+  4 \.data         00000000  0+1098  0+1098  00000118  2\*\*0
+                  CONTENTS, ALLOC, LOAD, DATA
   5 \.sbss         00000000  0+1098  0+1098  00000184  2\*\*0
                   CONTENTS
   6 \.bss          00000000  0+1098  0+1098  00000118  2\*\*0
@@ -34,9 +34,9 @@ Idx Name          Size      VMA       LM
 SYMBOL TABLE:
 0+1000 l    d  \.text	0+ 
 0+1008 l    d  \.rodata	0+ 
-0+1098 l    d  \.data	0+ 
 0+1098 l    d  \.ctors	0+ 
 0+1098 l    d  \.dtors	0+ 
+0+1098 l    d  \.data	0+ 
 0+1098 l    d  \.sbss	0+ 
 0+1098 l    d  \.bss	0+ 
 0+80000 l    d  \.stack	0+ 
diff -u3prN ORIG/src/ld/testsuite/ld-sh/sh64/crange1.rd LOCAL/src/ld/testsuite/ld-sh/sh64/crange1.rd
--- ORIG/src/ld/testsuite/ld-sh/sh64/crange1.rd	Thu May  6 08:51:49 2004
+++ LOCAL/src/ld/testsuite/ld-sh/sh64/crange1.rd	Fri Jul  2 17:06:30 2004
@@ -5,9 +5,9 @@ Section Headers:
   \[ 0\]                   NULL            00000000 000000 000000 00      0   0  0
   \[ 1\] \.init             PROGBITS        00001000 000100 000004 00 AXp  0   0  4
   \[ 2\] \.text             PROGBITS        00001004 000104 000018 00 AXp  0   0  4
-  \[ 3\] \.data             PROGBITS        000010a0 000120 000000 00  WA  0   0  1
-  \[ 4\] \.ctors            PROGBITS        000010a0 000184 000000 00   W  0   0  1
-  \[ 5\] \.dtors            PROGBITS        000010a0 000184 000000 00   W  0   0  1
+  \[ 3\] \.ctors            PROGBITS        000010a0 000184 000000 00   W  0   0  1
+  \[ 4\] \.dtors            PROGBITS        000010a0 000184 000000 00   W  0   0  1
+  \[ 5\] \.data             PROGBITS        000010a0 000120 000000 00  WA  0   0  1
   \[ 6\] \.sbss             PROGBITS        000010a0 000184 000000 00   W  0   0  1
   \[ 7\] \.bss              NOBITS          000010a0 000120 000000 00  WA  0   0  1
   \[ 8\] \.stack            PROGBITS        00080000 000180 000004 00  WA  0   0  1
@@ -38,16 +38,16 @@ Symbol table '\.symtab' contains 24 entr
     11: 00000000     0 SECTION LOCAL  DEFAULT   11 
     12: 00000000     0 SECTION LOCAL  DEFAULT   12 
     13: 00001004     0 NOTYPE  LOCAL  DEFAULT    2 start2
-    14: 000010a0     0 NOTYPE  GLOBAL DEFAULT    5 ___dtors
+    14: 000010a0     0 NOTYPE  GLOBAL DEFAULT    4 ___dtors
     15: 000010a0     0 NOTYPE  GLOBAL DEFAULT  ABS __bss_start
-    16: 000010a0     0 NOTYPE  GLOBAL DEFAULT    4 ___ctors_end
+    16: 000010a0     0 NOTYPE  GLOBAL DEFAULT    3 ___ctors_end
     17: 00001004     0 NOTYPE  GLOBAL DEFAULT    2 diversion2
-    18: 000010a0     0 NOTYPE  GLOBAL DEFAULT    4 ___ctors
+    18: 000010a0     0 NOTYPE  GLOBAL DEFAULT    3 ___ctors
     19: 000010a0     0 NOTYPE  GLOBAL DEFAULT  ABS _edata
     20: 000010a0     0 NOTYPE  GLOBAL DEFAULT  ABS _end
     21: 00001000     0 NOTYPE  GLOBAL DEFAULT    1 start
     22: 00080000     0 NOTYPE  GLOBAL DEFAULT    8 _stack
-    23: 000010a0     0 NOTYPE  GLOBAL DEFAULT    5 ___dtors_end
+    23: 000010a0     0 NOTYPE  GLOBAL DEFAULT    4 ___dtors_end
 
 Hex dump of section '\.init':
   0x00001000 6ff0fff0                            .*
diff -u3prN ORIG/src/ld/testsuite/ld-sh/sh64/crange2.rd LOCAL/src/ld/testsuite/ld-sh/sh64/crange2.rd
--- ORIG/src/ld/testsuite/ld-sh/sh64/crange2.rd	Thu May  6 08:51:49 2004
+++ LOCAL/src/ld/testsuite/ld-sh/sh64/crange2.rd	Fri Jul  2 17:11:15 2004
@@ -5,9 +5,9 @@ Section Headers:
   \[ 0\]                   NULL            00000000 000000 000000 00      0   0  0
   \[ 1\] \.init             PROGBITS        00001000 000100 000004 00 AXp  0   0  4
   \[ 2\] \.text             PROGBITS        00001004 000104 00005c 00 AXp  0   0  4
-  \[ 3\] \.data             PROGBITS        000010e0 000160 000000 00  WA  0   0  1
-  \[ 4\] \.ctors            PROGBITS        000010e0 000184 000000 00   W  0   0  1
-  \[ 5\] \.dtors            PROGBITS        000010e0 000184 000000 00   W  0   0  1
+  \[ 3\] \.ctors            PROGBITS        000010e0 000184 000000 00   W  0   0  1
+  \[ 4\] \.dtors            PROGBITS        000010e0 000184 000000 00   W  0   0  1
+  \[ 5\] \.data             PROGBITS        000010e0 000160 000000 00  WA  0   0  1
   \[ 6\] \.sbss             PROGBITS        000010e0 000184 000000 00   W  0   0  1
   \[ 7\] \.bss              NOBITS          000010e0 000160 000000 00  WA  0   0  1
   \[ 8\] \.stack            PROGBITS        00080000 000180 000004 00  WA  0   0  1
@@ -42,16 +42,16 @@ Symbol table '\.symtab' contains 28 entr
     15: 0000102c     0 NOTYPE  LOCAL  DEFAULT    2 sec2
     16: 00001040     0 NOTYPE  LOCAL  DEFAULT    2 sec3
     17: 00001048     0 NOTYPE  LOCAL  DEFAULT    2 sec4
-    18: 000010e0     0 NOTYPE  GLOBAL DEFAULT    5 ___dtors
+    18: 000010e0     0 NOTYPE  GLOBAL DEFAULT    4 ___dtors
     19: 000010e0     0 NOTYPE  GLOBAL DEFAULT  ABS __bss_start
-    20: 000010e0     0 NOTYPE  GLOBAL DEFAULT    4 ___ctors_end
+    20: 000010e0     0 NOTYPE  GLOBAL DEFAULT    3 ___ctors_end
     21: 00001004     0 NOTYPE  GLOBAL DEFAULT    2 diversion2
-    22: 000010e0     0 NOTYPE  GLOBAL DEFAULT    4 ___ctors
+    22: 000010e0     0 NOTYPE  GLOBAL DEFAULT    3 ___ctors
     23: 000010e0     0 NOTYPE  GLOBAL DEFAULT  ABS _edata
     24: 000010e0     0 NOTYPE  GLOBAL DEFAULT  ABS _end
     25: 00001000     0 NOTYPE  GLOBAL DEFAULT    1 start
     26: 00080000     0 NOTYPE  GLOBAL DEFAULT    8 _stack
-    27: 000010e0     0 NOTYPE  GLOBAL DEFAULT    5 ___dtors_end
+    27: 000010e0     0 NOTYPE  GLOBAL DEFAULT    4 ___dtors_end
 
 Hex dump of section '\.text':
   0x00001004 6ff0fff0 6ff0fff0 6ff0fff0 0000002a .*
diff -u3prN ORIG/src/ld/testsuite/ld-sh/sh64/crange3-cmpct.rd LOCAL/src/ld/testsuite/ld-sh/sh64/crange3-cmpct.rd
--- ORIG/src/ld/testsuite/ld-sh/sh64/crange3-cmpct.rd	Thu May  6 08:51:49 2004
+++ LOCAL/src/ld/testsuite/ld-sh/sh64/crange3-cmpct.rd	Fri Jul  2 17:15:41 2004
@@ -24,9 +24,9 @@ Section Headers:
   \[ 0\]                   NULL            00000000 000000 000000 00      0   0  0
   \[ 1\] \.init             PROGBITS        00001000 000100 000004 00 AXp  0   0  4
   \[ 2\] \.text             PROGBITS        00001004 000104 0000d8 00 AXp  0   0  4
-  \[ 3\] \.data             PROGBITS        00001160 0001e0 000000 00  WA  0   0  1
-  \[ 4\] \.ctors            PROGBITS        00001160 000204 000000 00   W  0   0  1
-  \[ 5\] \.dtors            PROGBITS        00001160 000204 000000 00   W  0   0  1
+  \[ 3\] \.ctors            PROGBITS        00001160 000204 000000 00   W  0   0  1
+  \[ 4\] \.dtors            PROGBITS        00001160 000204 000000 00   W  0   0  1
+  \[ 5\] \.data             PROGBITS        00001160 0001e0 000000 00  WA  0   0  1
   \[ 6\] \.sbss             PROGBITS        00001160 000204 000000 00   W  0   0  1
   \[ 7\] \.bss              NOBITS          00001160 0001e0 000000 00  WA  0   0  1
   \[ 8\] \.stack            PROGBITS        00080000 000200 000004 00  WA  0   0  1
@@ -58,16 +58,16 @@ Symbol table '\.symtab' contains 27 entr
     14: 000010a4     0 NOTYPE  LOCAL  DEFAULT    2 start2
     15: 000010bc     0 NOTYPE  LOCAL  DEFAULT    2 sec3
     16: 000010c4     0 NOTYPE  GLOBAL DEFAULT    2 diversion
-    17: 00001160     0 NOTYPE  GLOBAL DEFAULT    5 ___dtors
+    17: 00001160     0 NOTYPE  GLOBAL DEFAULT    4 ___dtors
     18: 00001160     0 NOTYPE  GLOBAL DEFAULT  ABS __bss_start
-    19: 00001160     0 NOTYPE  GLOBAL DEFAULT    4 ___ctors_end
+    19: 00001160     0 NOTYPE  GLOBAL DEFAULT    3 ___ctors_end
     20: 000010a4     0 NOTYPE  GLOBAL DEFAULT    2 diversion2
-    21: 00001160     0 NOTYPE  GLOBAL DEFAULT    4 ___ctors
+    21: 00001160     0 NOTYPE  GLOBAL DEFAULT    3 ___ctors
     22: 00001160     0 NOTYPE  GLOBAL DEFAULT  ABS _edata
     23: 00001160     0 NOTYPE  GLOBAL DEFAULT  ABS _end
     24: 00001000     0 NOTYPE  GLOBAL DEFAULT    1 start
     25: 00080000     0 NOTYPE  GLOBAL DEFAULT    8 _stack
-    26: 00001160     0 NOTYPE  GLOBAL DEFAULT    5 ___dtors_end
+    26: 00001160     0 NOTYPE  GLOBAL DEFAULT    4 ___dtors_end
 
 Hex dump of section '\.text':
   0x00001004 6ff0fff0 6ff0fff0 6ff0fff0 6ff0fff0 .*
diff -u3prN ORIG/src/ld/testsuite/ld-sh/sh64/crange3-media.rd LOCAL/src/ld/testsuite/ld-sh/sh64/crange3-media.rd
--- ORIG/src/ld/testsuite/ld-sh/sh64/crange3-media.rd	Thu May  6 08:51:49 2004
+++ LOCAL/src/ld/testsuite/ld-sh/sh64/crange3-media.rd	Fri Jul  2 17:17:27 2004
@@ -24,9 +24,9 @@ Section Headers:
   \[ 0\]                   NULL            00000000 000000 000000 00      0   0  0
   \[ 1\] \.init             PROGBITS        00001000 000100 000004 00 AXp  0   0  4
   \[ 2\] \.text             PROGBITS        00001004 000104 0000d8 00 AXp  0   0  4
-  \[ 3\] \.data             PROGBITS        00001160 0001e0 000000 00  WA  0   0  1
-  \[ 4\] \.ctors            PROGBITS        00001160 000204 000000 00   W  0   0  1
-  \[ 5\] \.dtors            PROGBITS        00001160 000204 000000 00   W  0   0  1
+  \[ 3\] \.ctors            PROGBITS        00001160 000204 000000 00   W  0   0  1
+  \[ 4\] \.dtors            PROGBITS        00001160 000204 000000 00   W  0   0  1
+  \[ 5\] \.data             PROGBITS        00001160 0001e0 000000 00  WA  0   0  1
   \[ 6\] \.sbss             PROGBITS        00001160 000204 000000 00   W  0   0  1
   \[ 7\] \.bss              NOBITS          00001160 0001e0 000000 00  WA  0   0  1
   \[ 8\] \.stack            PROGBITS        00080000 000200 000004 00  WA  0   0  1
@@ -58,16 +58,16 @@ Symbol table '\.symtab' contains 27 entr
     14: 000010a4     0 NOTYPE  LOCAL  DEFAULT    2 start2
     15: 000010bc     0 NOTYPE  LOCAL  DEFAULT    2 sec3
     16: 000010c4     0 NOTYPE  GLOBAL DEFAULT    2 diversion
-    17: 00001160     0 NOTYPE  GLOBAL DEFAULT    5 ___dtors
+    17: 00001160     0 NOTYPE  GLOBAL DEFAULT    4 ___dtors
     18: 00001160     0 NOTYPE  GLOBAL DEFAULT  ABS __bss_start
-    19: 00001160     0 NOTYPE  GLOBAL DEFAULT    4 ___ctors_end
+    19: 00001160     0 NOTYPE  GLOBAL DEFAULT    3 ___ctors_end
     20: 000010a4     0 NOTYPE  GLOBAL DEFAULT    2 diversion2
-    21: 00001160     0 NOTYPE  GLOBAL DEFAULT    4 ___ctors
+    21: 00001160     0 NOTYPE  GLOBAL DEFAULT    3 ___ctors
     22: 00001160     0 NOTYPE  GLOBAL DEFAULT  ABS _edata
     23: 00001160     0 NOTYPE  GLOBAL DEFAULT  ABS _end
     24: 00001000     0 NOTYPE  GLOBAL DEFAULT    1 start
     25: 00080000     0 NOTYPE  GLOBAL DEFAULT    8 _stack
-    26: 00001160     0 NOTYPE  GLOBAL DEFAULT    5 ___dtors_end
+    26: 00001160     0 NOTYPE  GLOBAL DEFAULT    4 ___dtors_end
 
 Hex dump of section '\.text':
   0x00001004 6ff0fff0 6ff0fff0 6ff0fff0 6ff0fff0 .*
diff -u3prN ORIG/src/ld/testsuite/ld-sh/sh64/crange3.rd LOCAL/src/ld/testsuite/ld-sh/sh64/crange3.rd
--- ORIG/src/ld/testsuite/ld-sh/sh64/crange3.rd	Thu May  6 08:51:49 2004
+++ LOCAL/src/ld/testsuite/ld-sh/sh64/crange3.rd	Fri Jul  2 17:13:41 2004
@@ -5,9 +5,9 @@ Section Headers:
   \[ 0\]                   NULL            00000000 000000 000000 00      0   0  0
   \[ 1\] \.init             PROGBITS        00001000 000100 000004 00 AXp  0   0  4
   \[ 2\] \.text             PROGBITS        00001004 000104 0000d8 00 AXp  0   0  4
-  \[ 3\] \.data             PROGBITS        00001160 0001e0 000000 00  WA  0   0  1
-  \[ 4\] \.ctors            PROGBITS        00001160 000204 000000 00   W  0   0  1
-  \[ 5\] \.dtors            PROGBITS        00001160 000204 000000 00   W  0   0  1
+  \[ 3\] \.ctors            PROGBITS        00001160 000204 000000 00   W  0   0  1
+  \[ 4\] \.dtors            PROGBITS        00001160 000204 000000 00   W  0   0  1
+  \[ 5\] \.data             PROGBITS        00001160 0001e0 000000 00  WA  0   0  1
   \[ 6\] \.sbss             PROGBITS        00001160 000204 000000 00   W  0   0  1
   \[ 7\] \.bss              NOBITS          00001160 0001e0 000000 00  WA  0   0  1
   \[ 8\] \.stack            PROGBITS        00080000 000200 000004 00  WA  0   0  1
@@ -39,16 +39,16 @@ Symbol table '\.symtab' contains 27 entr
     14: 000010a4     0 NOTYPE  LOCAL  DEFAULT    2 start2
     15: 000010bc     0 NOTYPE  LOCAL  DEFAULT    2 sec3
     16: 000010c4     0 NOTYPE  GLOBAL DEFAULT    2 diversion
-    17: 00001160     0 NOTYPE  GLOBAL DEFAULT    5 ___dtors
+    17: 00001160     0 NOTYPE  GLOBAL DEFAULT    4 ___dtors
     18: 00001160     0 NOTYPE  GLOBAL DEFAULT  ABS __bss_start
-    19: 00001160     0 NOTYPE  GLOBAL DEFAULT    4 ___ctors_end
+    19: 00001160     0 NOTYPE  GLOBAL DEFAULT    3 ___ctors_end
     20: 000010a4     0 NOTYPE  GLOBAL DEFAULT    2 diversion2
-    21: 00001160     0 NOTYPE  GLOBAL DEFAULT    4 ___ctors
+    21: 00001160     0 NOTYPE  GLOBAL DEFAULT    3 ___ctors
     22: 00001160     0 NOTYPE  GLOBAL DEFAULT  ABS _edata
     23: 00001160     0 NOTYPE  GLOBAL DEFAULT  ABS _end
     24: 00001000     0 NOTYPE  GLOBAL DEFAULT    1 start
     25: 00080000     0 NOTYPE  GLOBAL DEFAULT    8 _stack
-    26: 00001160     0 NOTYPE  GLOBAL DEFAULT    5 ___dtors_end
+    26: 00001160     0 NOTYPE  GLOBAL DEFAULT    4 ___dtors_end
 
 Hex dump of section '\.text':
   0x00001004 6ff0fff0 6ff0fff0 6ff0fff0 6ff0fff0 .*
diff -u3prN ORIG/src/ld/testsuite/ld-sh/sh64/gotplt.d LOCAL/src/ld/testsuite/ld-sh/sh64/gotplt.d
--- ORIG/src/ld/testsuite/ld-sh/sh64/gotplt.d	Mon Oct 13 13:40:56 2003
+++ LOCAL/src/ld/testsuite/ld-sh/sh64/gotplt.d	Thu Jul  1 09:24:42 2004
@@ -7,6 +7,6 @@
 # Make sure that gotplt relocations of forced local symbols
 # use the GOT.
 
-Relocation section '\.rela\.dyn' at offset 0x3c8 contains 1 entries:
+Relocation section '\.rela\.dyn' at offset 0x29c contains 1 entries:
  Offset     Info    Type            Sym\.Value  Sym\. Name \+ Addend
-000004f4  000000a5 R_SH_RELATIVE                                000003d4
+000003cc  000000a5 R_SH_RELATIVE                                000002a8
diff -u3prN ORIG/src/ld/testsuite/ld-sh/sh64/init-cmpct.d LOCAL/src/ld/testsuite/ld-sh/sh64/init-cmpct.d
--- ORIG/src/ld/testsuite/ld-sh/sh64/init-cmpct.d	Mon Oct 13 13:40:56 2003
+++ LOCAL/src/ld/testsuite/ld-sh/sh64/init-cmpct.d	Thu Jul  1 09:29:57 2004
@@ -7,13 +7,13 @@
 # Make sure that the lsb of DT_INIT and DT_FINI entries is not set
 # when _init and _fini are SHcompact code.
 
-Dynamic segment at offset 0x328 contains 8 entries:
+Dynamic section at offset 0x250 contains 8 entries:
   Tag        Type                         Name/Value
- 0x0000000c \(INIT\)                       0x318
- 0x0000000d \(FINI\)                       0x320
+ 0x0000000c \(INIT\)                       0x240
+ 0x0000000d \(FINI\)                       0x248
  0x00000004 \(HASH\)                       0x94
- 0x00000005 \(STRTAB\)                     0x2ac
- 0x00000006 \(SYMTAB\)                     0x13c
+ 0x00000005 \(STRTAB\)                     0x1d4
+ 0x00000006 \(SYMTAB\)                     0xe4
  0x0000000a \(STRSZ\)                      107 \(bytes\)
  0x0000000b \(SYMENT\)                     16 \(bytes\)
  0x00000000 \(NULL\)                       0x0
diff -u3prN ORIG/src/ld/testsuite/ld-sh/sh64/init-media.d LOCAL/src/ld/testsuite/ld-sh/sh64/init-media.d
--- ORIG/src/ld/testsuite/ld-sh/sh64/init-media.d	Mon Oct 13 13:40:56 2003
+++ LOCAL/src/ld/testsuite/ld-sh/sh64/init-media.d	Thu Jul  1 09:30:34 2004
@@ -7,13 +7,13 @@
 # Make sure that the lsb of DT_INIT and DT_FINI entries is set
 # when _init and _fini are SHmedia code.
 
-Dynamic segment at offset 0x338 contains 8 entries:
+Dynamic section at offset 0x260 contains 8 entries:
   Tag        Type                         Name/Value
- 0x0000000c \(INIT\)                       0x319
- 0x0000000d \(FINI\)                       0x329
+ 0x0000000c \(INIT\)                       0x241
+ 0x0000000d \(FINI\)                       0x251
  0x00000004 \(HASH\)                       0x94
- 0x00000005 \(STRTAB\)                     0x2ac
- 0x00000006 \(SYMTAB\)                     0x13c
+ 0x00000005 \(STRTAB\)                     0x1d4
+ 0x00000006 \(SYMTAB\)                     0xe4
  0x0000000a \(STRSZ\)                      107 \(bytes\)
  0x0000000b \(SYMENT\)                     16 \(bytes\)
  0x00000000 \(NULL\)                       0x0
diff -u3prN ORIG/src/ld/testsuite/ld-sh/sh64/init64.d LOCAL/src/ld/testsuite/ld-sh/sh64/init64.d
--- ORIG/src/ld/testsuite/ld-sh/sh64/init64.d	Mon Oct 13 13:40:56 2003
+++ LOCAL/src/ld/testsuite/ld-sh/sh64/init64.d	Thu Jul  1 09:29:49 2004
@@ -7,13 +7,13 @@
 # Make sure that the lsb of DT_INIT and DT_FINI entries is set
 # when _init and _fini are SHmedia code.
 
-Dynamic segment at offset 0x448 contains 8 entries:
+Dynamic section at offset 0x330 contains 8 entries:
   Tag        Type                         Name/Value
- 0x000000000000000c \(INIT\)               0x425
- 0x000000000000000d \(FINI\)               0x435
+ 0x000000000000000c \(INIT\)               0x30d
+ 0x000000000000000d \(FINI\)               0x31d
  0x0000000000000004 \(HASH\)               0xe8
- 0x0000000000000005 \(STRTAB\)             0x3b8
- 0x0000000000000006 \(SYMTAB\)             0x190
+ 0x0000000000000005 \(STRTAB\)             0x2a0
+ 0x0000000000000006 \(SYMTAB\)             0x138
  0x000000000000000a \(STRSZ\)              107 \(bytes\)
  0x000000000000000b \(SYMENT\)             24 \(bytes\)
  0x0000000000000000 \(NULL\)               0x0
diff -u3prN ORIG/src/ld/testsuite/ld-sh/sh64/mix1.xd LOCAL/src/ld/testsuite/ld-sh/sh64/mix1.xd
--- ORIG/src/ld/testsuite/ld-sh/sh64/mix1.xd	Mon Dec  1 20:41:32 2003
+++ LOCAL/src/ld/testsuite/ld-sh/sh64/mix1.xd	Fri Jul  2 16:28:35 2004
@@ -16,12 +16,12 @@ Sections:
 Idx Name          Size      VMA       LMA       File off  Algn
   0 \.text         00000048  0+1000  0+1000  00000100  2\*\*2
                   CONTENTS, ALLOC, LOAD, READONLY, CODE
-  1 \.data         0000000c  0+10c8  0+10c8  00000148  2\*\*2
-                  CONTENTS, ALLOC, LOAD, DATA
-  2 \.ctors        00000000  0+10d4  0+10d4  00000184  2\*\*0
+  1 \.ctors        00000000  0+10c8  0+10c8  00000184  2\*\*0
                   CONTENTS
-  3 \.dtors        00000000  0+10d4  0+10d4  00000184  2\*\*0
+  2 \.dtors        00000000  0+10c8  0+10c8  00000184  2\*\*0
                   CONTENTS
+  3 \.data         0000000c  0+10c8  0+10c8  00000148  2\*\*2
+                  CONTENTS, ALLOC, LOAD, DATA
   4 \.sbss         00000000  0+10d8  0+10d8  00000184  2\*\*0
                   CONTENTS
   5 \.bss          00000000  0+10d8  0+10d8  00000158  2\*\*0
@@ -32,9 +32,9 @@ Idx Name          Size      VMA       LM
                   CONTENTS, DEBUGGING, SORT_ENTRIES
 SYMBOL TABLE:
 0+1000 l    d  \.text	0+ 
+0+10c8 l    d  \.ctors	0+ 
+0+10c8 l    d  \.dtors	0+ 
 0+10c8 l    d  \.data	0+ 
-0+10d4 l    d  \.ctors	0+ 
-0+10d4 l    d  \.dtors	0+ 
 0+10d8 l    d  \.sbss	0+ 
 0+10d8 l    d  \.bss	0+ 
 0+80000 l    d  \.stack	0+ 
@@ -46,12 +46,12 @@ SYMBOL TABLE:
 0+1004 l       \.text	0+ start2
 0+1030 l       \.text	0+ 0x04 mediacode2
 0+1018 l       \.text	0+ 0x04 mediacode
-0+10d4 g       \.dtors	0+ ___dtors
+0+10c8 g       \.dtors	0+ ___dtors
 0+10d8 g       \*ABS\*	0+ __bss_start
-0+10d4 g       \.ctors	0+ ___ctors_end
-0+10d4 g       \.ctors	0+ ___ctors
+0+10c8 g       \.ctors	0+ ___ctors_end
+0+10c8 g       \.ctors	0+ ___ctors
 0+10d8 g       \*ABS\*	0+ _edata
 0+10d8 g       \*ABS\*	0+ _end
 0+1000 g       \.text	0+ start
 0+80000 g       \.stack	0+ _stack
-0+10d4 g       \.dtors	0+ ___dtors_end
+0+10c8 g       \.dtors	0+ ___dtors_end
diff -u3prN ORIG/src/ld/testsuite/ld-sh/sh64/mix2.xd LOCAL/src/ld/testsuite/ld-sh/sh64/mix2.xd
--- ORIG/src/ld/testsuite/ld-sh/sh64/mix2.xd	Mon Dec  1 20:41:32 2003
+++ LOCAL/src/ld/testsuite/ld-sh/sh64/mix2.xd	Fri Jul  2 16:32:24 2004
@@ -19,12 +19,12 @@ Idx Name          Size      VMA       LM
                   CONTENTS, ALLOC, LOAD, READONLY, CODE
   1 \.rodata       00000010  0+1034  0+1034  00000134  2\*\*2
                   CONTENTS, ALLOC, LOAD, READONLY, DATA
-  2 \.data         00000010  0+10c8  0+10c8  00000148  2\*\*2
-                  CONTENTS, ALLOC, LOAD, DATA
-  3 \.ctors        00000000  0+10d8  0+10d8  00000184  2\*\*0
+  2 \.ctors        00000000  0+10c8  0+10c8  00000184  2\*\*0
                   CONTENTS
-  4 \.dtors        00000000  0+10d8  0+10d8  00000184  2\*\*0
+  3 \.dtors        00000000  0+10c8  0+10c8  00000184  2\*\*0
                   CONTENTS
+  4 \.data         00000010  0+10c8  0+10c8  00000148  2\*\*2
+                  CONTENTS, ALLOC, LOAD, DATA
   5 \.sbss         00000000  0+10d8  0+10d8  00000184  2\*\*0
                   CONTENTS
   6 \.bss          00000000  0+10d8  0+10d8  00000158  2\*\*0
@@ -36,9 +36,9 @@ Idx Name          Size      VMA       LM
 SYMBOL TABLE:
 0+1000 l    d  \.text	0+ 
 0+1034 l    d  \.rodata	0+ 
+0+10c8 l    d  \.ctors	0+ 
+0+10c8 l    d  \.dtors	0+ 
 0+10c8 l    d  \.data	0+ 
-0+10d8 l    d  \.ctors	0+ 
-0+10d8 l    d  \.dtors	0+ 
 0+10d8 l    d  \.sbss	0+ 
 0+10d8 l    d  \.bss	0+ 
 0+80000 l    d  \.stack	0+ 
@@ -54,14 +54,14 @@ SYMBOL TABLE:
 0+1024 g       \.text	0+ compactlabel2
 0+1028 g       \.text	0+ compactlabel3
 0+1010 g       \.text	0+ 0x04 medialabel1
-0+10d8 g       \.dtors	0+ ___dtors
+0+10c8 g       \.dtors	0+ ___dtors
 0+10cc g       \.data	0+ medialabel4
 0+10d8 g       \*ABS\*	0+ __bss_start
-0+10d8 g       \.ctors	0+ ___ctors_end
+0+10c8 g       \.ctors	0+ ___ctors_end
 0+10d4 g       \.data	0+ compactlabel5
-0+10d8 g       \.ctors	0+ ___ctors
+0+10c8 g       \.ctors	0+ ___ctors
 0+10d8 g       \*ABS\*	0+ _edata
 0+10d8 g       \*ABS\*	0+ _end
 0+1000 g       \.text	0+ 0x04 start
 0+80000 g       \.stack	0+ _stack
-0+10d8 g       \.dtors	0+ ___dtors_end
+0+10c8 g       \.dtors	0+ ___dtors_end
diff -u3prN ORIG/src/ld/testsuite/ld-sh/sh64/shdl32.xd LOCAL/src/ld/testsuite/ld-sh/sh64/shdl32.xd
--- ORIG/src/ld/testsuite/ld-sh/sh64/shdl32.xd	Mon Dec  1 17:24:19 2003
+++ LOCAL/src/ld/testsuite/ld-sh/sh64/shdl32.xd	Fri Jul  2 17:02:55 2004
@@ -18,12 +18,12 @@ Idx Name          Size      VMA       LM
                   CONTENTS, ALLOC, LOAD, READONLY, CODE
   1 \.rodata       0+144  0+1204  0+1204  0+304  2\*\*2
                   CONTENTS, ALLOC, LOAD, READONLY, DATA
-  2 \.data         0+194  0+13c8  0+13c8  0+448  2\*\*2
-                  CONTENTS, ALLOC, LOAD, DATA
-  3 \.ctors        0+  0+155c  0+155c  0+604  2\*\*0
+  2 \.ctors        0+  0+13c8  0+13c8  0+604  2\*\*0
                   CONTENTS
-  4 \.dtors        0+  0+155c  0+155c  0+604  2\*\*0
+  3 \.dtors        0+  0+13c8  0+13c8  0+604  2\*\*0
                   CONTENTS
+  4 \.data         0+194  0+13c8  0+13c8  0+448  2\*\*2
+                  CONTENTS, ALLOC, LOAD, DATA
   5 \.sbss         0+  0+1560  0+1560  0+604  2\*\*0
                   CONTENTS
   6 \.bss          0+  0+1560  0+1560  0+5e0  2\*\*0
@@ -33,9 +33,9 @@ Idx Name          Size      VMA       LM
 SYMBOL TABLE:
 0+1000 l    d  \.text	0+ 
 0+1204 l    d  \.rodata	0+ 
+0+13c8 l    d  \.ctors	0+ 
+0+13c8 l    d  \.dtors	0+ 
 0+13c8 l    d  \.data	0+ 
-0+155c l    d  \.ctors	0+ 
-0+155c l    d  \.dtors	0+ 
 0+1560 l    d  \.sbss	0+ 
 0+1560 l    d  \.bss	0+ 
 0+80000 l    d  \.stack	0+ 
@@ -88,7 +88,7 @@ SYMBOL TABLE:
 0+14e0 g       \.data	0+ dbar_mixboth2
 0+14ec g       \.data	0+ dbaz
 0+1524 g       \.data	0+ dbaz_mix
-0+155c g       \.dtors	0+ ___dtors
+0+13c8 g       \.dtors	0+ ___dtors
 0+141c g       \.data	0+ dfoo_mixboth2
 0+119c g       \.text	0+ 0x04 bazboth
 0+13f0 g       \.data	0+ dfoo_other
@@ -104,13 +104,13 @@ SYMBOL TABLE:
 0+14f4 g       \.data	0+ dbazboth
 0+1038 g       \.text	0+ 0x04 foo_otherwithout
 0+1190 g       \.text	0+ 0x04 bar_mixwithout2
-0+155c g       \.ctors	0+ ___ctors_end
+0+13c8 g       \.ctors	0+ ___ctors_end
 0+1064 g       \.text	0+ 0x04 foo_mixwithout
 0+116c g       \.text	0+ 0x04 bar_other
 0+13d0 g       \.data	0+ dfooboth
 0+1034 g       \.text	0+ 0x04 foo_otherboth2
 0+1400 g       \.data	0+ dfoo_mix
-0+155c g       \.ctors	0+ ___ctors
+0+13c8 g       \.ctors	0+ ___ctors
 0+14d4 g       \.data	0+ dbar_mix
 0+100c g       \.text	0+ 0x04 fooboth
 0+1170 g       \.text	0+ 0x04 bar_otherboth
@@ -133,6 +133,6 @@ SYMBOL TABLE:
 0+1160 g       \.text	0+ 0x04 barboth
 0+14b8 g       \.data	0+ dbarboth
 0+1188 g       \.text	0+ 0x04 bar_mixboth2
-0+155c g       \.dtors	0+ ___dtors_end
+0+13c8 g       \.dtors	0+ ___dtors_end
 0+151c g       \.data	0+ dbaz_otherboth2
 0+1500 g       \.data	0+ dbazboth2
diff -u3prN ORIG/src/ld/testsuite/ld-sh/sh64/shdl64.xd LOCAL/src/ld/testsuite/ld-sh/sh64/shdl64.xd
--- ORIG/src/ld/testsuite/ld-sh/sh64/shdl64.xd	Mon Dec  1 17:24:19 2003
+++ LOCAL/src/ld/testsuite/ld-sh/sh64/shdl64.xd	Fri Jul  2 17:00:10 2004
@@ -18,12 +18,12 @@ Idx Name          Size      VMA         
                   CONTENTS, ALLOC, LOAD, READONLY, CODE
   1 \.rodata       0+144  0+1204  0+1204  0+304  2\*\*2
                   CONTENTS, ALLOC, LOAD, READONLY, DATA
-  2 \.data         0+194  0+13c8  0+13c8  0+448  2\*\*2
-                  CONTENTS, ALLOC, LOAD, DATA
-  3 \.ctors        0+  0+155c  0+155c  0+604  2\*\*0
+  2 \.ctors        0+  0+13c8  0+13c8  0+604  2\*\*0
                   CONTENTS
-  4 \.dtors        0+  0+155c  0+155c  0+604  2\*\*0
+  3 \.dtors        0+  0+13c8  0+13c8  0+604  2\*\*0
                   CONTENTS
+  4 \.data         0+194  0+13c8  0+13c8  0+448  2\*\*2
+                  CONTENTS, ALLOC, LOAD, DATA
   5 \.sbss         0+  0+1560  0+1560  0+604  2\*\*0
                   CONTENTS
   6 \.bss          0+  0+1560  0+1560  0+5e0  2\*\*0
@@ -33,9 +33,9 @@ Idx Name          Size      VMA         
 SYMBOL TABLE:
 0+1000 l    d  \.text	0+ 
 0+1204 l    d  \.rodata	0+ 
+0+13c8 l    d  \.ctors	0+ 
+0+13c8 l    d  \.dtors	0+ 
 0+13c8 l    d  \.data	0+ 
-0+155c l    d  \.ctors	0+ 
-0+155c l    d  \.dtors	0+ 
 0+1560 l    d  \.sbss	0+ 
 0+1560 l    d  \.bss	0+ 
 0+80000 l    d  \.stack	0+ 
@@ -88,7 +88,7 @@ SYMBOL TABLE:
 0+14e0 g       \.data	0+ dbar_mixboth2
 0+14ec g       \.data	0+ dbaz
 0+1524 g       \.data	0+ dbaz_mix
-0+155c g       \.dtors	0+ ___dtors
+0+13c8 g       \.dtors	0+ ___dtors
 0+141c g       \.data	0+ dfoo_mixboth2
 0+119c g       \.text	0+ 0x04 bazboth
 0+13f0 g       \.data	0+ dfoo_other
@@ -104,13 +104,13 @@ SYMBOL TABLE:
 0+14f4 g       \.data	0+ dbazboth
 0+1038 g       \.text	0+ 0x04 foo_otherwithout
 0+1190 g       \.text	0+ 0x04 bar_mixwithout2
-0+155c g       \.ctors	0+ ___ctors_end
+0+13c8 g       \.ctors	0+ ___ctors_end
 0+1064 g       \.text	0+ 0x04 foo_mixwithout
 0+116c g       \.text	0+ 0x04 bar_other
 0+13d0 g       \.data	0+ dfooboth
 0+1034 g       \.text	0+ 0x04 foo_otherboth2
 0+1400 g       \.data	0+ dfoo_mix
-0+155c g       \.ctors	0+ ___ctors
+0+13c8 g       \.ctors	0+ ___ctors
 0+14d4 g       \.data	0+ dbar_mix
 0+100c g       \.text	0+ 0x04 fooboth
 0+1170 g       \.text	0+ 0x04 bar_otherboth
@@ -133,6 +133,6 @@ SYMBOL TABLE:
 0+1160 g       \.text	0+ 0x04 barboth
 0+14b8 g       \.data	0+ dbarboth
 0+1188 g       \.text	0+ 0x04 bar_mixboth2
-0+155c g       \.dtors	0+ ___dtors_end
+0+13c8 g       \.dtors	0+ ___dtors_end
 0+151c g       \.data	0+ dbaz_otherboth2
 0+1500 g       \.data	0+ dbazboth2
diff -u3prN ORIG/src/ld/testsuite/ld-sh/shared-1.d LOCAL/src/ld/testsuite/ld-sh/shared-1.d
--- ORIG/src/ld/testsuite/ld-sh/shared-1.d	Mon Oct 13 13:40:56 2003
+++ LOCAL/src/ld/testsuite/ld-sh/shared-1.d	Thu Jul  1 09:22:05 2004
@@ -13,10 +13,10 @@
 
 Relocation section '\.rela\.text' at offset 0x[0-9a-f]+ contains 1 entries:
 .*
-0000030c  000000a5 R_SH_RELATIVE +00000310
+00000220  000000a5 R_SH_RELATIVE +00000224
 
 Hex dump of section '\.rela\.text':
-  0x000002f8          00000310 000000a5 0000030c .*
+  0x0000020c          00000224 000000a5 00000220 .*
 
 Hex dump of section '\.text':
-  0x00000304          00000310 00090009 00090009 .*
+  0x00000218          00000224 00090009 00090009 .*
diff -u3prN ORIG/src/ld/testsuite/ld-sh/shared-2.d LOCAL/src/ld/testsuite/ld-sh/shared-2.d
--- ORIG/src/ld/testsuite/ld-sh/shared-2.d	Sat Aug  2 22:14:18 2003
+++ LOCAL/src/ld/testsuite/ld-sh/shared-2.d	Wed Jun 30 22:13:08 2004
@@ -7,7 +7,7 @@
 
 # Make sure that there is no unnecessary DT_TEXTREL entry.
 
-Dynamic segment at offset 0x[0-9a-f]+ contains 9 entries:
+Dynamic section at offset 0x[0-9a-f]+ contains 9 entries:
   Tag        Type                         Name/Value
  0x00000004 \(HASH\)                       0x[0-9a-f]+
  0x00000005 \(STRTAB\)                     0x[0-9a-f]+
diff -u3prN ORIG/src/ld/testsuite/ld-sh/tlsbin-2.d LOCAL/src/ld/testsuite/ld-sh/tlsbin-2.d
--- ORIG/src/ld/testsuite/ld-sh/tlsbin-2.d	Wed May 12 14:34:44 2004
+++ LOCAL/src/ld/testsuite/ld-sh/tlsbin-2.d	Wed Jun 30 21:36:37 2004
@@ -20,8 +20,7 @@ Section Headers:
   \[ 8\] \.text +PROGBITS +0+401000 .*
   \[ 9\] \.tdata +PROGBITS +0+413000 [0-9a-f]+ 0+018 00 WAT  0   0  4
   \[10\] \.tbss +NOBITS +0+413018 [0-9a-f]+ 0+010 00 WAT  0   0  1
-  \[11\] \.dynamic +DYNAMIC +0+413018 .*
-  \[12\] \.data +.*
+#...
   \[[0-9a-f]+\] \.got +PROGBITS +0+414000 .*
   \[[0-9a-f]+\] \.sbss +.*
   \[[0-9a-f]+\] \.bss +.*
@@ -80,50 +79,4 @@ Symbol table '\.dynsym' contains [0-9]+ 
  +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT  UND sG1
 #...
 
-Symbol table '\.symtab' contains [0-9]+ entries:
- +Num: +Value +Size Type +Bind +Vis +Ndx Name
- +0: 0+ +0 NOTYPE  LOCAL  DEFAULT  UND *
- +1: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +1 *
- +2: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +2 *
- +3: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +3 *
- +4: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +4 *
- +5: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +5 *
- +6: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +6 *
- +7: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +7 *
- +8: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +8 *
- +9: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +9 *
- +10: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +10 *
- +11: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +11 *
- +12: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +12 *
- +13: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +13 *
- +14: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +14 *
- +15: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +15 *
- +16: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +16 *
- +17: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +17 *
- +18: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +18 *
- +[0-9]+: 00000008 +0 TLS +LOCAL  DEFAULT +9 sl1
- +[0-9]+: 0000000c +0 TLS +LOCAL  DEFAULT +9 sl2
- +[0-9]+: 00000020 +0 TLS +LOCAL  DEFAULT +10 bl1
- +[0-9]+: 00000024 +0 TLS +LOCAL  DEFAULT +10 bl2
- +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT  UND sG3
- +[0-9]+: [0-9a-f]+ +0 OBJECT  GLOBAL DEFAULT  ABS _DYNAMIC
- +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT  UND sG2
- +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT  UND sG4
- +[0-9]+: [0-9a-f]+ +0 FUNC +GLOBAL DEFAULT  UND __tls_get_addr
- +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT +9 sg1
- +[0-9]+: 0+402000 +0 FUNC +GLOBAL DEFAULT +8 _start
-#...
- +[0-9]+: 0+401000 +0 FUNC +GLOBAL DEFAULT +8 fn2
-#...
- +[0-9]+: 00000004 +0 TLS +GLOBAL DEFAULT +9 sg2
- +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT  UND sG1
- +[0-9]+: 00000010 +0 TLS +GLOBAL HIDDEN +9 sh1
- +[0-9]+: [0-9a-f]+ +0 NOTYPE  GLOBAL DEFAULT  ABS _edata
- +[0-9]+: [0-9a-f]+ +0 OBJECT  GLOBAL DEFAULT  ABS _GLOBAL_OFFSET_TABLE_
- +[0-9]+: [0-9a-f]+ +0 NOTYPE  GLOBAL DEFAULT  ABS _end
- +[0-9]+: 00000014 +0 TLS +GLOBAL HIDDEN +9 sh2
- +[0-9]+: 0000001c +0 TLS +GLOBAL DEFAULT +10 bg2
- +[0-9]+: 00000018 +0 TLS +GLOBAL DEFAULT +10 bg1
-#...
- +[0-9]+: .*
 #pass
diff -u3prN ORIG/src/ld/testsuite/ld-sh/tlspic-2.d LOCAL/src/ld/testsuite/ld-sh/tlspic-2.d
--- ORIG/src/ld/testsuite/ld-sh/tlspic-2.d	Wed May 12 14:34:44 2004
+++ LOCAL/src/ld/testsuite/ld-sh/tlspic-2.d	Wed Jun 30 21:36:38 2004
@@ -19,8 +19,6 @@ Section Headers:
   \[ 7\] \.text +PROGBITS +0+[0-9a-f]+ .*
   \[ 8\] \.tdata +PROGBITS +0+[0-9a-f]+ [0-9a-f]+ 0+018 00 WAT  0   0  4
   \[ 9\] \.tbss +NOBITS +0+[0-9a-f]+ [0-9a-f]+ 0+008 00 WAT  0   0  1
-  \[10\] \.dynamic +DYNAMIC +0+[0-9a-f]+ .*
-  \[11\] \.data +.*
 #...
   \[[0-9a-f]+\] \.got +PROGBITS +0+[0-9a-f]+ .*
   \[[0-9a-f]+\] \.sbss +.*
@@ -75,47 +73,16 @@ Symbol table '\.dynsym' contains [0-9]+ 
  +1: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +7 *
  +2: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +8 *
  +3: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +9 *
- +4: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +11 *
- +5: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +14 *
+ +4: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +[0-9]+ *
+ +5: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +[0-9]+ *
  +6: [0-9a-f]+ +0 OBJECT +GLOBAL DEFAULT +ABS _DYNAMIC
  +[0-9a-f]+: [0-9a-f]+ +0 NOTYPE  GLOBAL DEFAULT  UND __tls_get_addr
  +[0-9a-f]+: 0+00 +0 TLS +GLOBAL DEFAULT +8 sg1
+#...
  +[0-9a-f]+: [0-9a-f]+ +0 FUNC +GLOBAL DEFAULT +7 fn1
 #...
  +[0-9a-f]+: 0+04 +0 TLS +GLOBAL DEFAULT +8 sg2
 #...
 
-Symbol table '\.symtab' contains [0-9]+ entries:
- +Num: +Value +Size Type +Bind +Vis +Ndx Name
- +0: 0+ +0 NOTYPE  LOCAL  DEFAULT  UND *
- +1: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +1 *
- +2: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +2 *
- +3: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +3 *
- +4: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +4 *
- +5: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +5 *
- +6: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +6 *
- +7: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +7 *
- +8: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +8 *
- +9: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +9 *
- +10: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +10 *
- +11: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +11 *
- +12: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +12 *
- +13: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +13 *
- +14: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +14 *
- +15: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +15 *
- +16: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +16 *
- +17: [0-9a-f]+ +0 SECTION LOCAL  DEFAULT +17 *
- +[0-9]+: 0+08 +0 TLS +LOCAL  DEFAULT +8 sl1
- +[0-9]+: 0+0c +0 TLS +LOCAL  DEFAULT +8 sl2
- +[0-9]+: 0+18 +0 TLS +LOCAL  HIDDEN +9 sH1
- +[0-9]+: 0+1c +0 TLS +LOCAL  HIDDEN +9 sH2
- +[0-9]+: 0+10 +0 TLS +LOCAL  HIDDEN +8 sh1
- +[0-9]+: 0+14 +0 TLS +LOCAL  HIDDEN +8 sh2
-#...
- +[0-9]+: [0-9a-f]+ +0 NOTYPE  GLOBAL DEFAULT  UND __tls_get_addr
- +[0-9]+: 0+00 +0 TLS +GLOBAL DEFAULT +8 sg1
-#...
- +[0-9]+: [0-9a-f]+ +0 FUNC    GLOBAL DEFAULT +7 fn1
-#...
- +[0-9]+: 0+04 +0 TLS +GLOBAL DEFAULT +8 sg2
 #pass
+

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: testsuite fixes
  2004-06-29 14:43 Alan Modra
@ 2004-07-01 19:17 ` Jakub Jelinek
  2004-07-02  9:52 ` Kaz Kojima
  1 sibling, 0 replies; 7+ messages in thread
From: Jakub Jelinek @ 2004-07-01 19:17 UTC (permalink / raw)
  To: binutils

On Wed, Jun 30, 2004 at 12:13:15AM +0930, Alan Modra wrote:
> sparc-linux and sparc64-linux
> +FAIL: TLS -fpic -shared transitions
> +FAIL: TLS -fpic and -fno-pic exec transitions

These 2 are fixed in CVS by the attached patch, sorry.

> +FAIL: TLS -fno-pic -shared

This one is unrelated to those changes.
Not sure if we just should ban -fno-pic objects using TLS in shared
libraries (in which case the whole test would go away) or it is worth
supporting it.

2004-07-01  Jakub Jelinek  <jakub@redhat.com>

	* ld-sparc/tlssunpic32.rd: Adjust for section reordering changes
	and removal of unneeded STT_SECTION symbols from .dynsym.
	* ld-sparc/tlssunbin32.rd: Likewise.
	* ld-sparc/tlssunpic32.dd: Likewise.
	* ld-sparc/tlssunpic32.sd: Likewise.
	* ld-sparc/tlssunbin32.dd: Likewise.
	* ld-sparc/tlssunbin32.sd: Likewise.
	* ld-sparc/tlssunbin32.td: Likewise.

--- ld/testsuite/ld-sparc/tlssunpic32.rd.jj	2003-01-24 18:37:51.000000000 -0500
+++ ld/testsuite/ld-sparc/tlssunpic32.rd	2004-07-01 15:47:06.230324280 -0400
@@ -16,12 +16,12 @@ Section Headers:
  +\[ 4\] .rela.dyn +.*
  +\[ 5\] .rela.plt +.*
  +\[ 6\] .text +PROGBITS +0+1000 0+1000 0+1000 0+ +AX +0 +0 4096
- +\[ 7\] .data +PROGBITS +0+12000 0+2000 0+ 0+ +WA +0 +0 4096
- +\[ 8\] .tdata +PROGBITS +0+12000 0+2000 0+60 0+ WAT +0 +0 +4
- +\[ 9\] .tbss +NOBITS +0+12060 0+2060 0+20 0+ WAT +0 +0 +4
- +\[10\] .dynamic +DYNAMIC +0+12060 0+2060 0+98 08 +WA +3 +0 +4
+ +\[ 7\] .tdata +PROGBITS +0+12000 0+2000 0+60 0+ WAT +0 +0 +4
+ +\[ 8\] .tbss +NOBITS +0+12060 0+2060 0+20 0+ WAT +0 +0 +4
+ +\[ 9\] .dynamic +DYNAMIC +0+12060 0+2060 0+98 08 +WA +3 +0 +4
+ +\[10\] .got +PROGBITS +0+120f8 0+20f8 0+4c 04 +WA +0 +0 +4
  +\[11\] .plt +.*
- +\[12\] .got +PROGBITS +0+12138 0+2138 0+4c 04 +WA +0 +0 +4
+ +\[12\] .data +PROGBITS +0+13000 0+3000 0+ 0+ +WA +0 +0 4096
  +\[13\] .bss +.*
  +\[14\] .shstrtab +.*
  +\[15\] .symtab +.*
@@ -35,121 +35,113 @@ There are 4 program headers, starting at
 Program Headers:
  +Type +Offset +VirtAddr +PhysAddr +FileSiz MemSiz +Flg Align
  +LOAD +0x0+ 0x0+ 0x0+ 0x0+2000 0x0+2000 R E 0x10000
- +LOAD +0x0+2000 0x0+12000 0x0+12000 0x0+184 0x0+188 RWE 0x10000
+ +LOAD +0x0+2000 0x0+12000 0x0+12000 0x0+1000 0x0+1000 RWE 0x10000
  +DYNAMIC +0x0+2060 0x0+12060 0x0+12060 0x0+98 0x0+98 RW +0x4
  +TLS +0x0+2000 0x0+12000 0x0+12000 0x0+60 0x0+80 R +0x4
 #...
 
 Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 14 entries:
  Offset +Info +Type +Sym. Value +Symbol's Name \+ Addend
-0+1213c +0+4a R_SPARC_TLS_DTPMOD32 +0+
-0+12144 +0+4e R_SPARC_TLS_TPOFF32 +0+24
-0+12148 +0+4e R_SPARC_TLS_TPOFF32 +0+30
-0+1214c +0+4a R_SPARC_TLS_DTPMOD32 +0+
-0+12154 +0+4a R_SPARC_TLS_DTPMOD32 +0+
-0+1215c +0+4e R_SPARC_TLS_TPOFF32 +0+64
-0+1216c +0+4e R_SPARC_TLS_TPOFF32 +0+50
-0+12170 +0+4e R_SPARC_TLS_TPOFF32 +0+70
-0+12178 +0+4a R_SPARC_TLS_DTPMOD32 +0+
-0+12180 +0+4e R_SPARC_TLS_TPOFF32 +0+44
-0+12160 +0+124e R_SPARC_TLS_TPOFF32 +0+10 +sg5 \+ 0
-0+12164 +0+154a R_SPARC_TLS_DTPMOD32 +0+ +sg1 \+ 0
-0+12168 +0+154c R_SPARC_TLS_DTPOFF32 +0+ +sg1 \+ 0
-0+12174 +0+184e R_SPARC_TLS_TPOFF32 +0+4 +sg2 \+ 0
+0+120fc +0+4a R_SPARC_TLS_DTPMOD32 +0+
+0+12104 +0+4e R_SPARC_TLS_TPOFF32 +0+24
+0+12108 +0+4e R_SPARC_TLS_TPOFF32 +0+30
+0+1210c +0+4a R_SPARC_TLS_DTPMOD32 +0+
+0+12114 +0+4a R_SPARC_TLS_DTPMOD32 +0+
+0+1211c +0+4e R_SPARC_TLS_TPOFF32 +0+64
+0+1212c +0+4e R_SPARC_TLS_TPOFF32 +0+50
+0+12130 +0+4e R_SPARC_TLS_TPOFF32 +0+70
+0+12138 +0+4a R_SPARC_TLS_DTPMOD32 +0+
+0+12140 +0+4e R_SPARC_TLS_TPOFF32 +0+44
+0+12120 +0+a4e R_SPARC_TLS_TPOFF32 +0+10 +sg5 \+ 0
+0+12124 +0+d4a R_SPARC_TLS_DTPMOD32 +0+ +sg1 \+ 0
+0+12128 +0+d4c R_SPARC_TLS_DTPOFF32 +0+ +sg1 \+ 0
+0+12134 +0+104e R_SPARC_TLS_TPOFF32 +0+4 +sg2 \+ 0
 
 Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 1 entries:
  Offset +Info +Type +Sym. Value +Symbol's Name \+ Addend
-0+12128 +0+1415 R_SPARC_JMP_SLOT +0+ +__tls_get_addr \+ 0
+0+12174 +0+c15 R_SPARC_JMP_SLOT +0+ +__tls_get_addr \+ 0
 
-Symbol table '.dynsym' contains 30 entries:
+Symbol table '.dynsym' contains 22 entries:
  +Num: +Value +Size Type +Bind +Vis +Ndx Name
  +0: 0+ +0 NOTYPE +LOCAL +DEFAULT +UND *
- +1: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +1 *
- +2: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +2 *
- +3: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +3 *
- +4: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +4 *
- +5: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +5 *
- +6: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +6 *
- +7: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +7 *
- +8: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +8 *
- +9: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +9 *
- +10: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +10 *
- +11: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +11 *
- +12: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +12 *
- +13: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +13 *
- +14: 0+1c +0 TLS +GLOBAL DEFAULT +8 sg8
- +15: 0+12060 +0 OBJECT +GLOBAL DEFAULT +ABS _DYNAMIC
- +16: 0+8 +0 TLS +GLOBAL DEFAULT +8 sg3
- +17: 0+c +0 TLS +GLOBAL DEFAULT +8 sg4
- +18: 0+10 +0 TLS +GLOBAL DEFAULT +8 sg5
- +19: [0-9a-f]+ +0 OBJECT +GLOBAL DEFAULT +ABS _PROCEDURE_LINKAGE_TABLE_
- +20: 0+ +0 NOTYPE +GLOBAL DEFAULT +UND __tls_get_addr
- +21: 0+ +0 TLS +GLOBAL DEFAULT +8 sg1
- +22: 0+1008 +0 FUNC +GLOBAL DEFAULT +6 fn1
- +23: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS __bss_start
- +24: 0+4 +0 TLS +GLOBAL DEFAULT +8 sg2
- +25: 0+14 +0 TLS +GLOBAL DEFAULT +8 sg6
- +26: 0+18 +0 TLS +GLOBAL DEFAULT +8 sg7
- +27: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _edata
- +28: 0+12138 +0 OBJECT +GLOBAL DEFAULT +ABS _GLOBAL_OFFSET_TABLE_
- +29: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _end
+ +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +6 *
+ +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +7 *
+ +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +8 *
+ +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +12 *
+ +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +13 *
+ +[0-9]+: 0+1c +0 TLS +GLOBAL DEFAULT +7 sg8
+ +[0-9]+: 0+12060 +0 OBJECT +GLOBAL DEFAULT +ABS _DYNAMIC
+ +[0-9]+: 0+8 +0 TLS +GLOBAL DEFAULT +7 sg3
+ +[0-9]+: 0+c +0 TLS +GLOBAL DEFAULT +7 sg4
+ +[0-9]+: 0+10 +0 TLS +GLOBAL DEFAULT +7 sg5
+ +[0-9]+: [0-9a-f]+ +0 OBJECT +GLOBAL DEFAULT +ABS _PROCEDURE_LINKAGE_TABLE_
+ +[0-9]+: 0+ +0 NOTYPE +GLOBAL DEFAULT +UND __tls_get_addr
+ +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT +7 sg1
+ +[0-9]+: 0+1008 +0 FUNC +GLOBAL DEFAULT +6 fn1
+ +[0-9]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS __bss_start
+ +[0-9]+: 0+4 +0 TLS +GLOBAL DEFAULT +7 sg2
+ +[0-9]+: 0+14 +0 TLS +GLOBAL DEFAULT +7 sg6
+ +[0-9]+: 0+18 +0 TLS +GLOBAL DEFAULT +7 sg7
+ +[0-9]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _edata
+ +[0-9]+: 0+120f8 +0 OBJECT +GLOBAL DEFAULT +ABS _GLOBAL_OFFSET_TABLE_
+ +[0-9]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _end
 
 Symbol table '.symtab' contains 57 entries:
  +Num: +Value +Size Type +Bind +Vis +Ndx Name
  +0: 0+ +0 NOTYPE +LOCAL +DEFAULT +UND *
- +1: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +1 *
- +2: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +2 *
- +3: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +3 *
- +4: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +4 *
- +5: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +5 *
- +6: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +6 *
- +7: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +7 *
- +8: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +8 *
- +9: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +9 *
- +10: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +10 *
- +11: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +11 *
- +12: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +12 *
- +13: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +13 *
- +14: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +14 *
- +15: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +15 *
- +16: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +16 *
- +17: 0+20 +0 TLS +LOCAL +DEFAULT +8 sl1
- +18: 0+24 +0 TLS +LOCAL +DEFAULT +8 sl2
- +19: 0+28 +0 TLS +LOCAL +DEFAULT +8 sl3
- +20: 0+2c +0 TLS +LOCAL +DEFAULT +8 sl4
- +21: 0+30 +0 TLS +LOCAL +DEFAULT +8 sl5
- +22: 0+34 +0 TLS +LOCAL +DEFAULT +8 sl6
- +23: 0+38 +0 TLS +LOCAL +DEFAULT +8 sl7
- +24: 0+3c +0 TLS +LOCAL +DEFAULT +8 sl8
- +25: 0+60 +0 TLS +LOCAL +HIDDEN +9 sH1
- +26: 0+48 +0 TLS +LOCAL +HIDDEN +8 sh3
- +27: 0+64 +0 TLS +LOCAL +HIDDEN +9 sH2
- +28: 0+78 +0 TLS +LOCAL +HIDDEN +9 sH7
- +29: 0+58 +0 TLS +LOCAL +HIDDEN +8 sh7
- +30: 0+5c +0 TLS +LOCAL +HIDDEN +8 sh8
- +31: 0+6c +0 TLS +LOCAL +HIDDEN +9 sH4
- +32: 0+4c +0 TLS +LOCAL +HIDDEN +8 sh4
- +33: 0+68 +0 TLS +LOCAL +HIDDEN +9 sH3
- +34: 0+50 +0 TLS +LOCAL +HIDDEN +8 sh5
- +35: 0+70 +0 TLS +LOCAL +HIDDEN +9 sH5
- +36: 0+74 +0 TLS +LOCAL +HIDDEN +9 sH6
- +37: 0+7c +0 TLS +LOCAL +HIDDEN +9 sH8
- +38: 0+40 +0 TLS +LOCAL +HIDDEN +8 sh1
- +39: 0+44 +0 TLS +LOCAL +HIDDEN +8 sh2
- +40: 0+54 +0 TLS +LOCAL +HIDDEN +8 sh6
- +41: 0+1c +0 TLS +GLOBAL DEFAULT +8 sg8
- +42: 0+12060 +0 OBJECT +GLOBAL DEFAULT +ABS _DYNAMIC
- +43: 0+8 +0 TLS +GLOBAL DEFAULT +8 sg3
- +44: 0+c +0 TLS +GLOBAL DEFAULT +8 sg4
- +45: 0+10 +0 TLS +GLOBAL DEFAULT +8 sg5
- +46: [0-9a-f]+ +0 OBJECT +GLOBAL DEFAULT +ABS _PROCEDURE_LINKAGE_TABLE_
- +47: 0+ +0 NOTYPE +GLOBAL DEFAULT +UND __tls_get_addr
- +48: 0+ +0 TLS +GLOBAL DEFAULT +8 sg1
- +49: 0+1008 +0 FUNC +GLOBAL DEFAULT +6 fn1
- +50: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS __bss_start
- +51: 0+4 +0 TLS +GLOBAL DEFAULT +8 sg2
- +52: 0+14 +0 TLS +GLOBAL DEFAULT +8 sg6
- +53: 0+18 +0 TLS +GLOBAL DEFAULT +8 sg7
- +54: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _edata
- +55: 0+12138 +0 OBJECT +GLOBAL DEFAULT +ABS _GLOBAL_OFFSET_TABLE_
- +56: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _end
+ +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +1 *
+ +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +2 *
+ +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +3 *
+ +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +4 *
+ +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +5 *
+ +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +6 *
+ +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +7 *
+ +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +8 *
+ +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +9 *
+ +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +10 *
+ +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +11 *
+ +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +12 *
+ +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +13 *
+ +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +14 *
+ +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +15 *
+ +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +16 *
+ +[0-9]+: 0+20 +0 TLS +LOCAL +DEFAULT +7 sl1
+ +[0-9]+: 0+24 +0 TLS +LOCAL +DEFAULT +7 sl2
+ +[0-9]+: 0+28 +0 TLS +LOCAL +DEFAULT +7 sl3
+ +[0-9]+: 0+2c +0 TLS +LOCAL +DEFAULT +7 sl4
+ +[0-9]+: 0+30 +0 TLS +LOCAL +DEFAULT +7 sl5
+ +[0-9]+: 0+34 +0 TLS +LOCAL +DEFAULT +7 sl6
+ +[0-9]+: 0+38 +0 TLS +LOCAL +DEFAULT +7 sl7
+ +[0-9]+: 0+3c +0 TLS +LOCAL +DEFAULT +7 sl8
+ +[0-9]+: 0+60 +0 TLS +LOCAL +HIDDEN +8 sH1
+ +[0-9]+: 0+48 +0 TLS +LOCAL +HIDDEN +7 sh3
+ +[0-9]+: 0+64 +0 TLS +LOCAL +HIDDEN +8 sH2
+ +[0-9]+: 0+78 +0 TLS +LOCAL +HIDDEN +8 sH7
+ +[0-9]+: 0+58 +0 TLS +LOCAL +HIDDEN +7 sh7
+ +[0-9]+: 0+5c +0 TLS +LOCAL +HIDDEN +7 sh8
+ +[0-9]+: 0+6c +0 TLS +LOCAL +HIDDEN +8 sH4
+ +[0-9]+: 0+4c +0 TLS +LOCAL +HIDDEN +7 sh4
+ +[0-9]+: 0+68 +0 TLS +LOCAL +HIDDEN +8 sH3
+ +[0-9]+: 0+50 +0 TLS +LOCAL +HIDDEN +7 sh5
+ +[0-9]+: 0+70 +0 TLS +LOCAL +HIDDEN +8 sH5
+ +[0-9]+: 0+74 +0 TLS +LOCAL +HIDDEN +8 sH6
+ +[0-9]+: 0+7c +0 TLS +LOCAL +HIDDEN +8 sH8
+ +[0-9]+: 0+40 +0 TLS +LOCAL +HIDDEN +7 sh1
+ +[0-9]+: 0+44 +0 TLS +LOCAL +HIDDEN +7 sh2
+ +[0-9]+: 0+54 +0 TLS +LOCAL +HIDDEN +7 sh6
+ +[0-9]+: 0+1c +0 TLS +GLOBAL DEFAULT +7 sg8
+ +[0-9]+: 0+12060 +0 OBJECT +GLOBAL DEFAULT +ABS _DYNAMIC
+ +[0-9]+: 0+8 +0 TLS +GLOBAL DEFAULT +7 sg3
+ +[0-9]+: 0+c +0 TLS +GLOBAL DEFAULT +7 sg4
+ +[0-9]+: 0+10 +0 TLS +GLOBAL DEFAULT +7 sg5
+ +[0-9]+: [0-9a-f]+ +0 OBJECT +GLOBAL DEFAULT +ABS _PROCEDURE_LINKAGE_TABLE_
+ +[0-9]+: 0+ +0 NOTYPE +GLOBAL DEFAULT +UND __tls_get_addr
+ +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT +7 sg1
+ +[0-9]+: 0+1008 +0 FUNC +GLOBAL DEFAULT +6 fn1
+ +[0-9]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS __bss_start
+ +[0-9]+: 0+4 +0 TLS +GLOBAL DEFAULT +7 sg2
+ +[0-9]+: 0+14 +0 TLS +GLOBAL DEFAULT +7 sg6
+ +[0-9]+: 0+18 +0 TLS +GLOBAL DEFAULT +7 sg7
+ +[0-9]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _edata
+ +[0-9]+: 0+120f8 +0 OBJECT +GLOBAL DEFAULT +ABS _GLOBAL_OFFSET_TABLE_
+ +[0-9]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _end
--- ld/testsuite/ld-sparc/tlssunbin32.rd.jj	2003-01-24 18:37:51.000000000 -0500
+++ ld/testsuite/ld-sparc/tlssunbin32.rd	2004-07-01 16:06:16.230497680 -0400
@@ -15,12 +15,12 @@ Section Headers:
  +\[ 4\] .dynstr +.*
  +\[ 5\] .rela.dyn +.*
  +\[ 6\] .text +PROGBITS +0+11000 0+1000 0+1194 00 +AX +0 +0 4096
- +\[ 7\] .data +.*
- +\[ 8\] .tdata +PROGBITS +0+24000 0+4000 0+1060 00 WAT +0 +0 +4
- +\[ 9\] .tbss +NOBITS +0+25060 0+5060 0+40 00 WAT +0 +0 +4
- +\[10\] .dynamic +DYNAMIC +0+25060 0+5060 0+80 08 +WA +4 +0 +4
+ +\[ 7\] .tdata +PROGBITS +0+22194 0+2194 0+1060 00 WAT +0 +0 +4
+ +\[ 8\] .tbss +NOBITS +0+231f4 0+31f4 0+40 00 WAT +0 +0 +4
+ +\[ 9\] .dynamic +DYNAMIC +0+231f8 0+31f8 0+80 08 +WA +4 +0 +4
+ +\[10\] .got +PROGBITS +0+23278 0+3278 0+14 04 +WA +0 +0 +4
  +\[11\] .plt +.*
- +\[12\] .got +PROGBITS +0+250e0 0+50e0 0+14 04 +WA +0 +0 +4
+ +\[12\] .data +.*
  +\[13\] .bss +.*
  +\[14\] .shstrtab +.*
  +\[15\] .symtab +.*
@@ -37,23 +37,23 @@ Program Headers:
  +INTERP +0x0+f4 0x0+100f4 0x0+100f4 0x0+11 0x0+11 R +0x1
 .*Requesting program interpreter.*
  +LOAD +0x0+ 0x0+10000 0x0+10000 0x0+2194 0x0+2194 R E 0x10000
- +LOAD +0x0+4000 0x0+24000 0x0+24000 0x0+10f4 0x0+10f8 RWE 0x10000
- +DYNAMIC +0x0+5060 0x0+25060 0x0+25060 0x0+80 0x0+80 RW +0x4
- +TLS +0x0+4000 0x0+24000 0x0+24000 0x0+1060 0x0+10a0 R +0x4
+ +LOAD +0x0+2194 0x0+22194 0x0+22194 0x0+1e6c 0x0+1e6c RWE 0x10000
+ +DYNAMIC +0x0+31f8 0x0+231f8 0x0+231f8 0x0+80 0x0+80 RW +0x4
+ +TLS +0x0+2194 0x0+22194 0x0+22194 0x0+1060 0x0+10a0 R +0x4
 #...
 
 Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 4 entries:
  Offset +Info +Type +Sym. Value +Symbol's Name \+ Addend
-000250e4 +0000014e R_SPARC_TLS_TPOFF32 +00000000 +sG5 \+ 0
-000250e8 +0000034e R_SPARC_TLS_TPOFF32 +00000000 +sG2 \+ 0
-000250ec +0000074e R_SPARC_TLS_TPOFF32 +00000000 +sG6 \+ 0
-000250f0 +0000084e R_SPARC_TLS_TPOFF32 +00000000 +sG1 \+ 0
+0002327c +0000014e R_SPARC_TLS_TPOFF32 +00000000 +sG5 \+ 0
+00023280 +0000034e R_SPARC_TLS_TPOFF32 +00000000 +sG2 \+ 0
+00023284 +0000074e R_SPARC_TLS_TPOFF32 +00000000 +sG6 \+ 0
+00023288 +0000084e R_SPARC_TLS_TPOFF32 +00000000 +sG1 \+ 0
 
 Symbol table '.dynsym' contains 11 entries:
  +Num: +Value +Size Type +Bind +Vis +Ndx Name
  +0: 0+ +0 NOTYPE +LOCAL +DEFAULT +UND *
  +1: 0+ +0 TLS +GLOBAL DEFAULT +UND sG5
- +2: 0+25060 +0 OBJECT +GLOBAL DEFAULT +ABS _DYNAMIC
+ +2: 0+231f8 +0 OBJECT +GLOBAL DEFAULT +ABS _DYNAMIC
  +3: 0+ +0 TLS +GLOBAL DEFAULT +UND sG2
  +4: [0-9a-f]+ +0 OBJECT +GLOBAL DEFAULT +ABS _PROCEDURE_LINKAGE_TABLE_
  +5: 0+ +0 FUNC +GLOBAL DEFAULT +UND __tls_get_addr
@@ -82,56 +82,56 @@ Symbol table '.symtab' contains 70 entri
  +14: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +14 *
  +15: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +15 *
  +16: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +16 *
- +17: 0+1020 +0 TLS +LOCAL +DEFAULT +8 sl1
- +18: 0+1024 +0 TLS +LOCAL +DEFAULT +8 sl2
- +19: 0+1028 +0 TLS +LOCAL +DEFAULT +8 sl3
- +20: 0+102c +0 TLS +LOCAL +DEFAULT +8 sl4
- +21: 0+1030 +0 TLS +LOCAL +DEFAULT +8 sl5
- +22: 0+1034 +0 TLS +LOCAL +DEFAULT +8 sl6
- +23: 0+1038 +0 TLS +LOCAL +DEFAULT +8 sl7
- +24: 0+103c +0 TLS +LOCAL +DEFAULT +8 sl8
- +25: 0+1080 +0 TLS +LOCAL +DEFAULT +9 bl1
- +26: 0+1084 +0 TLS +LOCAL +DEFAULT +9 bl2
- +27: 0+1088 +0 TLS +LOCAL +DEFAULT +9 bl3
- +28: 0+108c +0 TLS +LOCAL +DEFAULT +9 bl4
- +29: 0+1090 +0 TLS +LOCAL +DEFAULT +9 bl5
- +30: 0+1094 +0 TLS +LOCAL +DEFAULT +9 bl6
- +31: 0+1098 +0 TLS +LOCAL +DEFAULT +9 bl7
- +32: 0+109c +0 TLS +LOCAL +DEFAULT +9 bl8
- +33: 0+250e0 +0 OBJECT +LOCAL +HIDDEN +12 _GLOBAL_OFFSET_TABLE_
- +34: 0+101c +0 TLS +GLOBAL DEFAULT +8 sg8
- +35: 0+107c +0 TLS +GLOBAL DEFAULT +9 bg8
- +36: 0+1074 +0 TLS +GLOBAL DEFAULT +9 bg6
+ +17: 0+1020 +0 TLS +LOCAL +DEFAULT +7 sl1
+ +18: 0+1024 +0 TLS +LOCAL +DEFAULT +7 sl2
+ +19: 0+1028 +0 TLS +LOCAL +DEFAULT +7 sl3
+ +20: 0+102c +0 TLS +LOCAL +DEFAULT +7 sl4
+ +21: 0+1030 +0 TLS +LOCAL +DEFAULT +7 sl5
+ +22: 0+1034 +0 TLS +LOCAL +DEFAULT +7 sl6
+ +23: 0+1038 +0 TLS +LOCAL +DEFAULT +7 sl7
+ +24: 0+103c +0 TLS +LOCAL +DEFAULT +7 sl8
+ +25: 0+1080 +0 TLS +LOCAL +DEFAULT +8 bl1
+ +26: 0+1084 +0 TLS +LOCAL +DEFAULT +8 bl2
+ +27: 0+1088 +0 TLS +LOCAL +DEFAULT +8 bl3
+ +28: 0+108c +0 TLS +LOCAL +DEFAULT +8 bl4
+ +29: 0+1090 +0 TLS +LOCAL +DEFAULT +8 bl5
+ +30: 0+1094 +0 TLS +LOCAL +DEFAULT +8 bl6
+ +31: 0+1098 +0 TLS +LOCAL +DEFAULT +8 bl7
+ +32: 0+109c +0 TLS +LOCAL +DEFAULT +8 bl8
+ +33: 0+23278 +0 OBJECT +LOCAL +HIDDEN +10 _GLOBAL_OFFSET_TABLE_
+ +34: 0+101c +0 TLS +GLOBAL DEFAULT +7 sg8
+ +35: 0+107c +0 TLS +GLOBAL DEFAULT +8 bg8
+ +36: 0+1074 +0 TLS +GLOBAL DEFAULT +8 bg6
  +37: 0+ +0 TLS +GLOBAL DEFAULT +UND sG5
- +38: 0+1068 +0 TLS +GLOBAL DEFAULT +9 bg3
- +39: 0+25060 +0 OBJECT +GLOBAL DEFAULT +ABS _DYNAMIC
- +40: 0+1008 +0 TLS +GLOBAL DEFAULT +8 sg3
- +41: 0+1048 +0 TLS +GLOBAL HIDDEN +8 sh3
+ +38: 0+1068 +0 TLS +GLOBAL DEFAULT +8 bg3
+ +39: 0+231f8 +0 OBJECT +GLOBAL DEFAULT +ABS _DYNAMIC
+ +40: 0+1008 +0 TLS +GLOBAL DEFAULT +7 sg3
+ +41: 0+1048 +0 TLS +GLOBAL HIDDEN +7 sh3
  +42: 0+ +0 TLS +GLOBAL DEFAULT +UND sG2
- +43: 0+100c +0 TLS +GLOBAL DEFAULT +8 sg4
- +44: 0+1010 +0 TLS +GLOBAL DEFAULT +8 sg5
+ +43: 0+100c +0 TLS +GLOBAL DEFAULT +7 sg4
+ +44: 0+1010 +0 TLS +GLOBAL DEFAULT +7 sg5
  +45: [0-9a-f]+ +0 OBJECT +GLOBAL DEFAULT +ABS _PROCEDURE_LINKAGE_TABLE_
- +46: 0+1070 +0 TLS +GLOBAL DEFAULT +9 bg5
+ +46: 0+1070 +0 TLS +GLOBAL DEFAULT +8 bg5
  +47: 0+ +0 FUNC +GLOBAL DEFAULT +UND __tls_get_addr
- +48: 0+1058 +0 TLS +GLOBAL HIDDEN +8 sh7
- +49: 0+105c +0 TLS +GLOBAL HIDDEN +8 sh8
- +50: 0+ +0 TLS +GLOBAL DEFAULT +8 sg1
+ +48: 0+1058 +0 TLS +GLOBAL HIDDEN +7 sh7
+ +49: 0+105c +0 TLS +GLOBAL HIDDEN +7 sh8
+ +50: 0+ +0 TLS +GLOBAL DEFAULT +7 sg1
  +51: 0+12000 +0 FUNC +GLOBAL DEFAULT +6 _start
- +52: 0+104c +0 TLS +GLOBAL HIDDEN +8 sh4
- +53: 0+1078 +0 TLS +GLOBAL DEFAULT +9 bg7
- +54: 0+1050 +0 TLS +GLOBAL HIDDEN +8 sh5
+ +52: 0+104c +0 TLS +GLOBAL HIDDEN +7 sh4
+ +53: 0+1078 +0 TLS +GLOBAL DEFAULT +8 bg7
+ +54: 0+1050 +0 TLS +GLOBAL HIDDEN +7 sh5
  +55: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS __bss_start
  +56: 0+ +0 TLS +GLOBAL DEFAULT +UND sG6
  +57: 0+11008 +0 FUNC +GLOBAL DEFAULT +6 fn2
- +58: 0+1004 +0 TLS +GLOBAL DEFAULT +8 sg2
+ +58: 0+1004 +0 TLS +GLOBAL DEFAULT +7 sg2
  +59: 0+ +0 TLS +GLOBAL DEFAULT +UND sG1
- +60: 0+1040 +0 TLS +GLOBAL HIDDEN +8 sh1
- +61: 0+1014 +0 TLS +GLOBAL DEFAULT +8 sg6
- +62: 0+1018 +0 TLS +GLOBAL DEFAULT +8 sg7
+ +60: 0+1040 +0 TLS +GLOBAL HIDDEN +7 sh1
+ +61: 0+1014 +0 TLS +GLOBAL DEFAULT +7 sg6
+ +62: 0+1018 +0 TLS +GLOBAL DEFAULT +7 sg7
  +63: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _edata
  +64: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _end
- +65: 0+1044 +0 TLS +GLOBAL HIDDEN +8 sh2
- +66: 0+1054 +0 TLS +GLOBAL HIDDEN +8 sh6
- +67: 0+1064 +0 TLS +GLOBAL DEFAULT +9 bg2
- +68: 0+1060 +0 TLS +GLOBAL DEFAULT +9 bg1
- +69: 0+106c +0 TLS +GLOBAL DEFAULT +9 bg4
+ +65: 0+1044 +0 TLS +GLOBAL HIDDEN +7 sh2
+ +66: 0+1054 +0 TLS +GLOBAL HIDDEN +7 sh6
+ +67: 0+1064 +0 TLS +GLOBAL DEFAULT +8 bg2
+ +68: 0+1060 +0 TLS +GLOBAL DEFAULT +8 bg1
+ +69: 0+106c +0 TLS +GLOBAL DEFAULT +8 bg4
--- ld/testsuite/ld-sparc/tlssunpic32.dd.jj	2003-01-24 18:37:51.000000000 -0500
+++ ld/testsuite/ld-sparc/tlssunpic32.dd	2004-07-01 16:05:32.991071072 -0400
@@ -17,7 +17,7 @@ Disassembly of section .text:
  +1008:	9d e3 bf 98 	save  %sp, -104, %sp
  +100c:	2f 00 00 44 	sethi  %hi\(0x11000\), %l7
  +1010:	7f ff ff fc 	call  1000 <.*>
- +1014:	ae 05 e1 28 	add  %l7, 0x128, %l7	! 11128 <.*>
+ +1014:	ae 05 e0 e8 	add  %l7, 0xe8, %l7	! 110e8 <.*>
  +1018:	01 00 00 00 	nop *
  +101c:	01 00 00 00 	nop *
  +1020:	01 00 00 00 	nop *
@@ -28,7 +28,7 @@ Disassembly of section .text:
  +1034:	01 00 00 00 	nop *
  +1038:	90 05 c0 12 	add  %l7, %l2, %o0
  +103c:	01 00 00 00 	nop *
- +1040:	40 00 44 3a 	call  12128 <.*>
+ +1040:	40 00 44 4d 	call  [0-9a-f]+ <__tls_get_addr@plt>
  +1044:	01 00 00 00 	nop *
  +1048:	01 00 00 00 	nop *
  +104c:	01 00 00 00 	nop *
@@ -46,7 +46,7 @@ Disassembly of section .text:
  +107c:	19 00 00 00 	sethi  %hi\(0\), %o4
  +1080:	98 03 20 04 	add  %o4, 4, %o4	! 4 <.*>
  +1084:	90 05 c0 0c 	add  %l7, %o4, %o0
- +1088:	40 00 44 28 	call  12128 <.*>
+ +1088:	40 00 44 3b 	call  [0-9a-f]+ <__tls_get_addr@plt>
  +108c:	01 00 00 00 	nop *
  +1090:	01 00 00 00 	nop *
  +1094:	01 00 00 00 	nop *
@@ -64,7 +64,7 @@ Disassembly of section .text:
  +10c4:	19 00 00 00 	sethi  %hi\(0\), %o4
  +10c8:	98 03 20 40 	add  %o4, 0x40, %o4	! 40 <.*>
  +10cc:	90 05 c0 0c 	add  %l7, %o4, %o0
- +10d0:	40 00 44 16 	call  12128 <.*>
+ +10d0:	40 00 44 29 	call  [0-9a-f]+ <__tls_get_addr@plt>
  +10d4:	01 00 00 00 	nop *
  +10d8:	01 00 00 00 	nop *
  +10dc:	01 00 00 00 	nop *
@@ -82,7 +82,7 @@ Disassembly of section .text:
  +110c:	19 00 00 00 	sethi  %hi\(0\), %o4
  +1110:	98 03 20 1c 	add  %o4, 0x1c, %o4	! 1c <.*>
  +1114:	90 05 c0 0c 	add  %l7, %o4, %o0
- +1118:	40 00 44 04 	call  12128 <.*>
+ +1118:	40 00 44 17 	call  [0-9a-f]+ <__tls_get_addr@plt>
  +111c:	01 00 00 00 	nop *
  +1120:	01 00 00 00 	nop *
  +1124:	01 00 00 00 	nop *
@@ -103,7 +103,7 @@ Disassembly of section .text:
  +1160:	01 00 00 00 	nop *
  +1164:	90 05 c0 12 	add  %l7, %l2, %o0
  +1168:	01 00 00 00 	nop *
- +116c:	40 00 43 ef 	call  12128 <.*>
+ +116c:	40 00 44 02 	call  [0-9a-f]+ <__tls_get_addr@plt>
  +1170:	01 00 00 00 	nop *
  +1174:	27 3f ff ff 	sethi  %hi\(0xfffffc00\), %l3
  +1178:	01 00 00 00 	nop *
@@ -126,7 +126,7 @@ Disassembly of section .text:
  +11bc:	25 3f ff ff 	sethi  %hi\(0xfffffc00\), %l2
  +11c0:	90 05 c0 0a 	add  %l7, %o2, %o0
  +11c4:	a8 1c fc 40 	xor  %l3, -960, %l4
- +11c8:	40 00 43 d8 	call  12128 <.*>
+ +11c8:	40 00 43 eb 	call  [0-9a-f]+ <__tls_get_addr@plt>
  +11cc:	a6 1c bc 45 	xor  %l2, -955, %l3
  +11d0:	aa 02 00 14 	add  %o0, %l4, %l5
  +11d4:	ec 0a 00 13 	ldub  \[ %o0 \+ %l3 \], %l6
@@ -140,7 +140,7 @@ Disassembly of section .text:
  +11f4:	25 3f ff ff 	sethi  %hi\(0xfffffc00\), %l2
  +11f8:	90 05 c0 0a 	add  %l7, %o2, %o0
  +11fc:	a8 1c fc 63 	xor  %l3, -925, %l4
- +1200:	40 00 43 ca 	call  12128 <.*>
+ +1200:	40 00 43 dd 	call  [0-9a-f]+ <__tls_get_addr@plt>
  +1204:	a6 1c bc 64 	xor  %l2, -924, %l3
  +1208:	aa 02 00 14 	add  %o0, %l4, %l5
  +120c:	ec 02 00 13 	ld  \[ %o0 \+ %l3 \], %l6
--- ld/testsuite/ld-sparc/tlssunpic32.sd.jj	2003-01-24 18:37:51.000000000 -0500
+++ ld/testsuite/ld-sparc/tlssunpic32.sd	2004-07-01 16:11:00.188329528 -0400
@@ -8,8 +8,8 @@
 .*: +file format elf32-sparc
 
 Contents of section .got:
- 12138 00012060 00000000 00000020 00000000  .*
- 12148 00000000 00000000 00000000 00000000  .*
- 12158 00000060 00000000 00000000 00000000  .*
- 12168 00000000 00000000 00000000 00000000  .*
- 12178 00000000 00000040 00000000  .*
+ 120f8 00012060 00000000 00000020 00000000  .*
+ 12108 00000000 00000000 00000000 00000000  .*
+ 12118 00000060 00000000 00000000 00000000  .*
+ 12128 00000000 00000000 00000000 00000000  .*
+ 12138 00000000 00000040 00000000  .*
--- ld/testsuite/ld-sparc/tlssunbin32.dd.jj	2003-01-24 18:37:51.000000000 -0500
+++ ld/testsuite/ld-sparc/tlssunbin32.dd	2004-07-01 16:23:52.260956648 -0400
@@ -14,9 +14,9 @@ Disassembly of section .text:
 
 0+11008 <fn2>:
  +11008:	9d e3 bf 98 	save  %sp, -104, %sp
- +1100c:	2f 00 00 50 	sethi  %hi\(0x14000\), %l7
+ +1100c:	2f 00 00 48 	sethi  %hi\(0x12000\), %l7
  +11010:	7f ff ff fc 	call  11000 <.*>
- +11014:	ae 05 e0 d0 	add  %l7, 0xd0, %l7	! 140d0 <.*>
+ +11014:	ae 05 e2 68 	add  %l7, 0x268, %l7	! 12268 <.*>
  +11018:	01 00 00 00 	nop *
  +1101c:	01 00 00 00 	nop *
  +11020:	01 00 00 00 	nop *
@@ -171,8 +171,8 @@ Disassembly of section .text:
 
 00012000 <_start>:
  +12000:	9d e3 bf 98 	save  %sp, -104, %sp
- +12004:	29 00 00 94 	sethi  %hi\(0x25000\), %l4
- +12008:	a8 15 20 e0 	or  %l4, 0xe0, %l4	! 250e0 <.*>
+ +12004:	29 00 00 8c 	sethi  %hi\(0x23000\), %l4
+ +12008:	a8 15 22 78 	or  %l4, 0x278, %l4	! 23278 <.*>
  +1200c:	01 00 00 00 	nop *
  +12010:	01 00 00 00 	nop *
  +12014:	01 00 00 00 	nop *
--- ld/testsuite/ld-sparc/tlssunbin32.sd.jj	2003-01-24 18:37:51.000000000 -0500
+++ ld/testsuite/ld-sparc/tlssunbin32.sd	2004-07-01 16:13:46.014120176 -0400
@@ -7,5 +7,5 @@
 .*: +file format elf32-sparc
 
 Contents of section .got:
- 250e0 00025060 0+ 0+ 0+  .*
- 250f0 0+  .*
+ 23278 00025060 0+ 0+ 0+  .*
+ 23288 0+  .*
--- ld/testsuite/ld-sparc/tlssunbin32.td.jj	2003-01-24 18:37:51.000000000 -0500
+++ ld/testsuite/ld-sparc/tlssunbin32.td	2004-07-01 16:16:18.399954008 -0400
@@ -7,13 +7,13 @@
 .*: +file format elf32-sparc
 
 Contents of section .tdata:
- 24000 00000011 00000000 00000000 00000000  .*
- 24010 00000000 00000000 00000000 00000000  .*
+ 22194 00000011 00000000 00000000 00000000  .*
+ 221a4 00000000 00000000 00000000 00000000  .*
 #...
- 24ff0 00000000 00000000 00000000 00000000  .*
- 25000 00000000 00000012 00000013 00000014  .*
- 25010 00000015 00000016 00000017 00000018  .*
- 25020 00000041 00000042 00000043 00000044  .*
- 25030 00000045 00000046 00000047 00000048  .*
- 25040 00000101 00000102 00000103 00000104  .*
- 25050 00000105 00000106 00000107 00000108  .*
+ 23184 00000000 00000000 00000000 00000000  .*
+ 23194 00000000 00000012 00000013 00000014  .*
+ 231a4 00000015 00000016 00000017 00000018  .*
+ 231b4 00000041 00000042 00000043 00000044  .*
+ 231c4 00000045 00000046 00000047 00000048  .*
+ 231d4 00000101 00000102 00000103 00000104  .*
+ 231e4 00000105 00000106 00000107 00000108  .*


	Jakub

^ permalink raw reply	[flat|nested] 7+ messages in thread

* testsuite fixes
@ 2004-06-29 14:43 Alan Modra
  2004-07-01 19:17 ` Jakub Jelinek
  2004-07-02  9:52 ` Kaz Kojima
  0 siblings, 2 replies; 7+ messages in thread
From: Alan Modra @ 2004-06-29 14:43 UTC (permalink / raw)
  To: binutils, Jakub Jelinek

Miscellaneous testsuite fixes.

	* gas/m68k/mode5.s: Pad section.
	* gas/m68k/mode5.d: Update.

	* ld-elf/frame.exp: Don't run on mcore.

I see an annoying number of testsuite failures, presumably the following
are all from Jakub's 2004-05-11 bfd patch to remove unneeded section
syms, or 2004-05-19 ld change which rearranged sections.  Jakub, you're
listed as sparc maintainer.  Please at least update the sparc testsuite
to suit your changes!

alpha-linux
+FAIL: TLS -fpic -shared
+FAIL: TLS -fpic and -fno-pic exec
+FAIL: TLS -fpic and -fno-pic exec -relax

cris-elf
+FAIL: ld-cris/libdso-1
+FAIL: ld-cris/libdso-2
+FAIL: ld-cris/expdyn1
+FAIL: ld-cris/expdyn5
+FAIL: ld-cris/expdyn6
+FAIL: ld-cris/expdyn7
+FAIL: ld-cris/gotplt2
+FAIL: ld-cris/gotplt3
+FAIL: ld-cris/locref1
+FAIL: ld-cris/nodyn4
+FAIL: ld-cris/nodyn5

sh-linux
+FAIL: ld-sh/shared-2

sh64-linux
+FAIL: read-only .eh_frame section
+FAIL: read-only .gcc_except_table section
+FAIL: ld-sh/shared-1
+FAIL: ld-sh/shared-2
+FAIL: ld-sh/sh64/gotplt
+FAIL: ld-sh/sh64/init-cmpct
+FAIL: ld-sh/sh64/init-media
+FAIL: ld-sh/sh64/init64
+FAIL: SH64 linking, 64-bit ABI
+FAIL: SH64 linking, 32-bit ABI
+FAIL: SH64 linking, single multi-ISA object
+FAIL: SH64 linking, two different-ISA objects
+FAIL: SH64 linking, single SHcompact
+FAIL: SH64 inter-file datalabel references, 64-bit ABI
+FAIL: SH64 inter-file datalabel references, 32-bit ABI
+FAIL: Handling SH64 assembler-generated .cranges
+FAIL: Mixing SH64 assembler-generated with linker-generated .cranges
+FAIL: Merge and use of SH64 .cranges, some not originally in order
+FAIL: Sorted SH64 .cranges, entry at SHcompact code
+FAIL: Sorted SH64 .cranges, entry at SHmedia code

sparc-linux and sparc64-linux
+FAIL: TLS -fpic -shared transitions
+FAIL: TLS -fpic and -fno-pic exec transitions
+FAIL: TLS -fno-pic -shared

Also, mips-linux has a number of failures reporting
"assertion fail /src/binutils-current/bfd/elfxx-mips.c:2041"


Index: gas/testsuite/gas/m68k/mode5.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/m68k/mode5.d,v
retrieving revision 1.1
diff -u -p -r1.1 mode5.d
--- gas/testsuite/gas/m68k/mode5.d	28 May 2004 07:55:21 -0000	1.1
+++ gas/testsuite/gas/m68k/mode5.d	29 Jun 2004 12:51:56 -0000
@@ -10,3 +10,4 @@ Disassembly of section .text:
    0:	2213           	movel %a3@,%d1
    2:	2882           	movel %d2,%a4@
    4:	2295           	movel %a5@,%a1@
+	...
Index: gas/testsuite/gas/m68k/mode5.s
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/m68k/mode5.s,v
retrieving revision 1.1
diff -u -p -r1.1 mode5.s
--- gas/testsuite/gas/m68k/mode5.s	28 May 2004 07:55:21 -0000	1.1
+++ gas/testsuite/gas/m68k/mode5.s	29 Jun 2004 12:51:56 -0000
@@ -4,3 +4,4 @@
 	move.l 0(%a3),%d1
 	move.l %d2,0(%a4)
 	move.l 0(%a5),0(%a1)
+	.p2align 4
Index: ld/testsuite/ld-elf/frame.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-elf/frame.exp,v
retrieving revision 1.2
diff -u -p -r1.2 frame.exp
--- ld/testsuite/ld-elf/frame.exp	21 Jun 2004 10:24:39 -0000	1.2
+++ ld/testsuite/ld-elf/frame.exp	29 Jun 2004 12:52:13 -0000
@@ -25,6 +25,11 @@ if ![is_elf_format] {
     return
 }
 
+# No shared lib support on this target.
+if { [istarget "mcore-*-*"] } {
+    return
+}
+
 set test1	"read-only .eh_frame section"
 set test2	"read-only .gcc_except_table section"
 

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-08-09 11:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-01  3:52 testsuite fixes Alan Modra
  -- strict thread matches above, loose matches on Subject: below --
2007-08-09 11:26 Alan Modra
2007-08-09 11:43 ` Alan Modra
2004-06-29 14:43 Alan Modra
2004-07-01 19:17 ` Jakub Jelinek
2004-07-02  9:52 ` Kaz Kojima
2004-07-02 10:16   ` Alan Modra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).