This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

sh testsuite failures


Nick's recent gas/config/tc-sh.c:sh_elf_cons change has resulted in
a bunch of sh and sh64 testsuite failures.  Some of these are
quite obvious to fix as they just involve adjusting the expected
alignment for certain sections.  Others will need tweaking of
the source to avoid assembler warnings.  I'm leaving fixing of
the non-obvious ones to a SH maintainer..

	* ld-sh/tlsbin-2.d: Update section alignment.
	* 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/rel32.xd: Likewise.
	* ld-sh/sh64/rel64.xd: Likewise.
	* ld-sh/sh64/shdl32.xd: Likewise.
	* ld-sh/sh64/shdl64.xd: Likewise.

Index: ld/testsuite/ld-sh/tlsbin-2.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-sh/tlsbin-2.d,v
retrieving revision 1.3
diff -u -p -r1.3 tlsbin-2.d
--- ld/testsuite/ld-sh/tlsbin-2.d	24 Apr 2003 05:19:09 -0000	1.3
+++ ld/testsuite/ld-sh/tlsbin-2.d	1 Dec 2003 06:50:12 -0000
@@ -19,7 +19,7 @@ Section Headers:
   \[ 7\] \.plt +.*
   \[ 8\] \.text +PROGBITS +0+401000 .*
   \[ 9\] \.data +.*
-  \[10\] \.tdata +PROGBITS +0+413000 [0-9a-f]+ 0+018 00 WAT  0   0  1
+  \[10\] \.tdata +PROGBITS +0+413000 [0-9a-f]+ 0+018 00 WAT  0   0  4
   \[11\] \.tbss +NOBITS +0+413018 [0-9a-f]+ 0+010 00 WAT  0   0  1
   \[12\] \.dynamic +DYNAMIC +0+413018 .*
 #...
@@ -47,7 +47,7 @@ Program Headers:
   LOAD.*
   LOAD.*
   DYNAMIC.*
-  TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+18 0x0+28 R +0x1
+  TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+18 0x0+28 R +0x4
 
  Section to Segment mapping:
   Segment Sections\.\.\.
Index: ld/testsuite/ld-sh/tlspic-2.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-sh/tlspic-2.d,v
retrieving revision 1.2
diff -u -p -r1.2 tlspic-2.d
--- ld/testsuite/ld-sh/tlspic-2.d	4 Nov 2002 01:18:13 -0000	1.2
+++ ld/testsuite/ld-sh/tlspic-2.d	1 Dec 2003 06:50:12 -0000
@@ -18,7 +18,7 @@ Section Headers:
   \[ 6\] \.plt +.*
   \[ 7\] \.text +PROGBITS +0+[0-9a-f]+ .*
   \[ 8\] \.data +.*
-  \[ 9\] \.tdata +PROGBITS +0+[0-9a-f]+ [0-9a-f]+ 0+018 00 WAT  0   0  1
+  \[ 9\] \.tdata +PROGBITS +0+[0-9a-f]+ [0-9a-f]+ 0+018 00 WAT  0   0  4
   \[10\] \.tbss +NOBITS +0+[0-9a-f]+ [0-9a-f]+ 0+008 00 WAT  0   0  1
   \[11\] \.dynamic +DYNAMIC +0+[0-9a-f]+ .*
 #...
@@ -43,7 +43,7 @@ Program Headers:
   LOAD.*
   LOAD.*
   DYNAMIC.*
-  TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+18 0x0+20 R +0x1
+  TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+18 0x0+20 R +0x4
 
  Section to Segment mapping:
   Segment Sections\.\.\.
Index: ld/testsuite/ld-sh/sh64/abi32.xd
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-sh/sh64/abi32.xd,v
retrieving revision 1.4
diff -u -p -r1.4 abi32.xd
--- ld/testsuite/ld-sh/sh64/abi32.xd	13 Oct 2003 05:09:21 -0000	1.4
+++ ld/testsuite/ld-sh/sh64/abi32.xd	1 Dec 2003 06:50:12 -0000
@@ -17,7 +17,7 @@ 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\*\*0
+  1 \.data         00000018  0+10e8  0+10e8  00000168  2\*\*2
                   CONTENTS, ALLOC, LOAD, DATA
   2 \.ctors        00000000  0+1100  0+1100  00000184  2\*\*0
                   CONTENTS
Index: ld/testsuite/ld-sh/sh64/abi64.xd
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-sh/sh64/abi64.xd,v
retrieving revision 1.3
diff -u -p -r1.3 abi64.xd
--- ld/testsuite/ld-sh/sh64/abi64.xd	13 Oct 2003 05:09:21 -0000	1.3
+++ ld/testsuite/ld-sh/sh64/abi64.xd	1 Dec 2003 06:50:12 -0000
@@ -16,7 +16,7 @@ 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\*\*0
+  1 \.data         00000018  0000000000001130  0000000000001130  000001b0  2\*\*2
                   CONTENTS, ALLOC, LOAD, DATA
   2 \.ctors        00000000  0000000000001148  0000000000001148  00000204  2\*\*0
                   CONTENTS
Index: ld/testsuite/ld-sh/sh64/cmpct1.xd
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-sh/sh64/cmpct1.xd,v
retrieving revision 1.5
diff -u -p -r1.5 cmpct1.xd
--- ld/testsuite/ld-sh/sh64/cmpct1.xd	13 Oct 2003 05:09:21 -0000	1.5
+++ ld/testsuite/ld-sh/sh64/cmpct1.xd	1 Dec 2003 06:50:12 -0000
@@ -17,7 +17,7 @@ Sections:
 Idx Name          Size      VMA       LMA       File off  Algn
   0 \.text         00000008  0+1000  0+1000  00000100  2\*\*0
                   CONTENTS, ALLOC, LOAD, READONLY, CODE
-  1 \.rodata       0000000c  0+1008  0+1008  00000108  2\*\*0
+  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
Index: ld/testsuite/ld-sh/sh64/rel32.xd
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-sh/sh64/rel32.xd,v
retrieving revision 1.3
diff -u -p -r1.3 rel32.xd
--- ld/testsuite/ld-sh/sh64/rel32.xd	13 Oct 2003 05:09:21 -0000	1.3
+++ ld/testsuite/ld-sh/sh64/rel32.xd	1 Dec 2003 06:50:12 -0000
@@ -9,7 +9,7 @@ Sections:
 Idx Name          Size      VMA       LMA       File off  Algn
   0 \.text         0+40  0+  0+  0+34  2\*\*0
                   CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
-  1 \.data         0+40  0+  0+  0+74  2\*\*0
+  1 \.data         0+40  0+  0+  0+74  2\*\*2
                   CONTENTS, ALLOC, LOAD, RELOC, DATA
   2 \.bss          0+  0+  0+  0+b4  2\*\*0
                   ALLOC
Index: ld/testsuite/ld-sh/sh64/rel64.xd
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-sh/sh64/rel64.xd,v
retrieving revision 1.2
diff -u -p -r1.2 rel64.xd
--- ld/testsuite/ld-sh/sh64/rel64.xd	13 Oct 2003 05:09:21 -0000	1.2
+++ ld/testsuite/ld-sh/sh64/rel64.xd	1 Dec 2003 06:50:12 -0000
@@ -9,7 +9,7 @@ Sections:
 Idx Name          Size      VMA               LMA               File off  Algn
   0 \.text         0+40  0+  0+  0+40  2\*\*0
                   CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
-  1 \.data         0+40  0+  0+  0+80  2\*\*0
+  1 \.data         0+40  0+  0+  0+80  2\*\*2
                   CONTENTS, ALLOC, LOAD, RELOC, DATA
   2 \.bss          0+  0+  0+  0+c0  2\*\*0
                   ALLOC
Index: ld/testsuite/ld-sh/sh64/shdl32.xd
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-sh/sh64/shdl32.xd,v
retrieving revision 1.3
diff -u -p -r1.3 shdl32.xd
--- ld/testsuite/ld-sh/sh64/shdl32.xd	13 Oct 2003 05:09:21 -0000	1.3
+++ ld/testsuite/ld-sh/sh64/shdl32.xd	1 Dec 2003 06:50:12 -0000
@@ -16,9 +16,9 @@ Sections:
 Idx Name          Size      VMA       LMA       File off  Algn
   0 \.text         0+204  0+1000  0+1000  0+100  2\*\*0
                   CONTENTS, ALLOC, LOAD, READONLY, CODE
-  1 \.rodata       0+144  0+1204  0+1204  0+304  2\*\*0
+  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\*\*0
+  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
                   CONTENTS
Index: ld/testsuite/ld-sh/sh64/shdl64.xd
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-sh/sh64/shdl64.xd,v
retrieving revision 1.3
diff -u -p -r1.3 shdl64.xd
--- ld/testsuite/ld-sh/sh64/shdl64.xd	13 Oct 2003 05:09:21 -0000	1.3
+++ ld/testsuite/ld-sh/sh64/shdl64.xd	1 Dec 2003 06:50:12 -0000
@@ -16,9 +16,9 @@ Sections:
 Idx Name          Size      VMA               LMA               File off  Algn
   0 \.text         0+204  0+1000  0+1000  0+100  2\*\*0
                   CONTENTS, ALLOC, LOAD, READONLY, CODE
-  1 \.rodata       0+144  0+1204  0+1204  0+304  2\*\*0
+  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\*\*0
+  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
                   CONTENTS


-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]