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]

Re: ld 2.15.90 20040222 ld-scripts/data testsuite failure


On Sun, Feb 22, 2004 at 09:32:10PM +0100, Christian Joensson wrote:
> regexp "^ 1000 (0410)?0000(1004)? (0810)?0000(1008)? +........ *$"
> line   " 1000 04100000 00200000                    ..... ..        "
> FAIL: ld-scripts/data

It's a new test, run foul of section alignment.

	* ld-scripts/data.t: Set ".other" address so location doesn't
	depend on target alignment.
	* ld-scripts/data.d: Update.

Index: ld/testsuite/ld-scripts/data.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-scripts/data.d,v
retrieving revision 1.1
diff -u -p -r1.1 data.d
--- ld/testsuite/ld-scripts/data.d	19 Feb 2004 14:08:31 -0000	1.1
+++ ld/testsuite/ld-scripts/data.d	23 Feb 2004 09:22:23 -0000
@@ -5,5 +5,5 @@
 .*:     file format .*
 
 Contents of section .text:
- 1000 (0410)?0000(1004)? (0810)?0000(1008)? +........ *
+ 1000 (0410)?0000(1004)? (0020)?0000(2000)? .*
 #pass
Index: ld/testsuite/ld-scripts/data.t
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-scripts/data.t,v
retrieving revision 1.1
diff -u -p -r1.1 data.t
--- ld/testsuite/ld-scripts/data.t	19 Feb 2004 14:08:31 -0000	1.1
+++ ld/testsuite/ld-scripts/data.t	23 Feb 2004 09:22:23 -0000
@@ -6,5 +6,5 @@ SECTIONS
      label = .;
      LONG (ADDR (.other))
    }
-   .other : {}
+   .other 0x2000 : {}
 }

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