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]

Committed, MMIX: Tweak ld testsuite for ELF LMA change.


ELF section stuff changed again.  This looks somewhat like a
spurious change: a zero-length section now seems to have the LMA
following a previous non-zero-length section rather than its own
VMA.  The change is unrelated to the purpose of this test, and
there are other tests that show that a non-empty .data section
gets the right LMA.  The change happens here for .data and .bss,
not .sbss.  This does not happen on the 2.12 branch.

ld/testsuite:

	* ld-mmix/local12.d (Sections): Match any LMA for .data, .sbss,
	and .bss.

Index: ld-mmix/local12.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-mmix/local12.d,v
retrieving revision 1.1
diff -p -c -r1.1 local12.d
*** local12.d	2001/10/30 15:20:14	1.1
--- local12.d	2002/02/17 17:49:06
*************** Sections:
*** 12,22 ****
  Idx Name          Size      VMA               LMA               File off  Algn
    0 \.text         0+8  0+  0+  0+b0  2\*\*2
                    CONTENTS, ALLOC, LOAD, READONLY, CODE
!   1 \.data         0+  2000000000000000  2000000000000000  0+b8  2\*\*0
                    CONTENTS, ALLOC, LOAD, DATA
!   2 \.sbss         0+  2000000000000000  2000000000000000  0+b8  2\*\*0
                    CONTENTS
!   3 \.bss          0+  2000000000000000  2000000000000000  0+b8  2\*\*0
                    ALLOC
  Contents of section \.text:
   0000 fd030201 e3fd0001                    .*
--- 12,22 ----
  Idx Name          Size      VMA               LMA               File off  Algn
    0 \.text         0+8  0+  0+  0+b0  2\*\*2
                    CONTENTS, ALLOC, LOAD, READONLY, CODE
!   1 \.data         0+  2000000000000000  [0-9]+  0+b8  2\*\*0
                    CONTENTS, ALLOC, LOAD, DATA
!   2 \.sbss         0+  2000000000000000  [0-9]+  0+b8  2\*\*0
                    CONTENTS
!   3 \.bss          0+  2000000000000000  [0-9]+  0+b8  2\*\*0
                    ALLOC
  Contents of section \.text:
   0000 fd030201 e3fd0001                    .*

brgds, H-P


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