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]

testsuite failures caused by orphan placement changes


These are some I noticed.  There may well be others if running the
testsuite natively, or with full cross-toolchain support.

crx-elf
+FAIL: ld-crx/reloc-num16
+FAIL: ld-crx/reloc-num32
+FAIL: ld-crx/reloc-num8
.text is now being placed before the .text_* sections defined in
ld/testsuite/ld-crx/crx.ld.

hppa64-linux
+FAIL: ld-scripts/provide-2
Ick, hppa64-linux is creating a dynamic object, and the new orphan
section placement puts .interp and suchlike before .data.

mips-linux
+FAIL: ld-scripts/provide-2
.reginfo gets placed before .data now, so .data starts at 0x20 rather
than 0.

	* ld-crx/reloc-num8.d: Adjust for changed orphan placement.
	* ld-crx/reloc-num16.d: Likewise.
	* ld-crx/reloc-num32.d: Likewise.
	* ld-scripts/provide-2.t: Start .data at 0x2000.
	* ld-scripts/provide-2.d: Adjust.

Index: ld/testsuite/ld-crx/reloc-num16.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-crx/reloc-num16.d,v
retrieving revision 1.1
diff -u -p -r1.1 reloc-num16.d
--- ld/testsuite/ld-crx/reloc-num16.d	3 Sep 2004 14:31:38 -0000	1.1
+++ ld/testsuite/ld-crx/reloc-num16.d	15 Oct 2004 00:22:58 -0000
@@ -8,5 +8,5 @@
 
 Disassembly of section .text:
 
-11014000 <_start>:
-11014000:	34 12       	addcw	\$0x3, r4
+.* <_start>:
+.*:	34 12       	addcw	\$0x3, r4
Index: ld/testsuite/ld-crx/reloc-num32.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-crx/reloc-num32.d,v
retrieving revision 1.1
diff -u -p -r1.1 reloc-num32.d
--- ld/testsuite/ld-crx/reloc-num32.d	3 Sep 2004 14:31:38 -0000	1.1
+++ ld/testsuite/ld-crx/reloc-num32.d	15 Oct 2004 00:22:58 -0000
@@ -8,6 +8,6 @@
 
 Disassembly of section .text:
 
-11014000 <_start>:
-11014000:	78 56       	orw	r7, r8
-11014002:	34 12       	addcw	\$0x3, r4
+.* <_start>:
+.*:	78 56       	orw	r7, r8
+.*:	34 12       	addcw	\$0x3, r4
Index: ld/testsuite/ld-crx/reloc-num8.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-crx/reloc-num8.d,v
retrieving revision 1.1
diff -u -p -r1.1 reloc-num8.d
--- ld/testsuite/ld-crx/reloc-num8.d	3 Sep 2004 14:31:38 -0000	1.1
+++ ld/testsuite/ld-crx/reloc-num8.d	15 Oct 2004 00:22:58 -0000
@@ -8,5 +8,5 @@
 
 Disassembly of section .text:
 
-11014000 <_start>:
-11014000:	12 00       	addub	\$0x1, r2
+.* <_start>:
+.*:	12 00       	addub	\$0x1, r2
Index: ld/testsuite/ld-scripts/provide-2.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-scripts/provide-2.d,v
retrieving revision 1.3
diff -u -p -r1.3 provide-2.d
--- ld/testsuite/ld-scripts/provide-2.d	8 Apr 2004 00:51:37 -0000	1.3
+++ ld/testsuite/ld-scripts/provide-2.d	15 Oct 2004 00:22:59 -0000
@@ -3,5 +3,5 @@
 #nm: -B
 #...
 0+3 A baz
-0+0 D foo
+0+2000 D foo
 #pass
Index: ld/testsuite/ld-scripts/provide-2.t
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-scripts/provide-2.t,v
retrieving revision 1.1
diff -u -p -r1.1 provide-2.t
--- ld/testsuite/ld-scripts/provide-2.t	23 Feb 2004 10:10:02 -0000	1.1
+++ ld/testsuite/ld-scripts/provide-2.t	15 Oct 2004 00:22:59 -0000
@@ -3,7 +3,7 @@ SECTIONS 
   PROVIDE (foo = 1);
   PROVIDE (bar = 2);
   PROVIDE (baz = 3);
-  .data :
+  .data 0x2000 :
   {
     *(.data)
   }

-- 
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]