This is the mail archive of the binutils@sourceware.org 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]

Committed: fix ld-mmix broken by section order changes


One of the recent ELF section order changes broke the MMIX
testsuite.  More than one person has been involved IIRC, so I'm
not pointing fingers, but it is still expected that whoever does
such a change adjust all testsuites.  (If someone doesn't agree,
please get the policy changed instead of just not following it.)
Apparently the change was just to the section *list*, not the
actual layout, and it now follows the actual layout for this
case.

	* ld-mmix/sec-1.d: Adjust for section order changes.

Index: ld-mmix/sec-1.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-mmix/sec-1.d,v
retrieving revision 1.4
diff -p -u -r1.4 sec-1.d
--- ld-mmix/sec-1.d	17 Nov 2005 02:01:14 -0000	1.4
+++ ld-mmix/sec-1.d	3 Jan 2006 06:53:43 -0000
@@ -13,21 +13,21 @@ Sections:
 Idx Name          Size      VMA               LMA               File off  Algn
   0 \.text         0+4  0+  0+  0+  2\*\*2
                   CONTENTS, ALLOC, LOAD, CODE
-  1 \.a\.fourth\.section 0+10  0+20  0+20  0+  2\*\*2
-                  CONTENTS, ALLOC, LOAD, READONLY, DATA
-  2 secname       0+19  0+4  0+4  0+  2\*\*2
+  1 secname       0+19  0+4  0+4  0+  2\*\*2
                   CONTENTS, ALLOC, LOAD, READONLY, CODE
+  2 \.a\.fourth\.section 0+10  0+20  0+20  0+  2\*\*2
+                  CONTENTS, ALLOC, LOAD, READONLY, DATA
   3 anothersec    0+13  2000000000000000  2000000000000000  0+  2\*\*2
                   CONTENTS, ALLOC, LOAD, DATA
   4 thirdsec      0+a  0+  0+  0+  2\*\*2
                   CONTENTS, READONLY
 Contents of section \.text:
  0000 e3fd0001                             .*
-Contents of section \.a\.fourth\.section:
- 0020 00000000 0087a238 00000000 302a55a8  .*
 Contents of section secname:
  0004 00000001 00000002 00000003 00000004  .*
  0014 ffffffff fffff827 50                 .*
+Contents of section \.a\.fourth\.section:
+ 0020 00000000 0087a238 00000000 302a55a8  .*
 Contents of section anothersec:
  2000000000000000 0000000a 00000009 00000008 00000007  .*
  2000000000000010 252729                               .*

brgds, H-P


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