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/bpo-10.d, PR ld/1501.


No, .text isn't that magic for MMIX when producing ELF.  I
mistook this test for the sec-7m.d test, where there were some
adjustments made with which I wasn't happy.  I need to look
closer at those changes and probably adjust the test so it still
checks what was originally the intention: a tricky edge
condition in mmo.c.

The bpo-10.d test however, has a pretty straightforward fix; the
test is intended to check that any effects of register-
allocating relocs in sections removed by GC go too, i.e. we just
adjust the test for that the .text section is now gone.

	PR ld/1501
	* ld-mmix/bpo-10.d: Adjust for empty-section-removal.

Index: bpo-10.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-mmix/bpo-10.d,v
retrieving revision 1.8
diff -p -u -r1.8 bpo-10.d
--- bpo-10.d	8 Jul 2005 06:22:03 -0000	1.8
+++ bpo-10.d	31 Oct 2005 03:54:29 -0000
@@ -11,7 +11,6 @@

 SYMBOL TABLE:
 0+ l    d  \.init	0+ (|\.init)
-0+4 l    d  \.text	0+ (|\.text)
 0+7f8 l +d  \.MMIX.reg_contents	0+ (|\.MMIX\.reg_contents)
 0+ l    d  \*ABS\*	0+ (|\.shstrtab)
 0+ l    d  \*ABS\*	0+ (|\.symtab)
@@ -20,7 +19,7 @@ SYMBOL TABLE:
 2000000000000000 g       \*ABS\*	0+ __bss_start
 2000000000000000 g       \*ABS\*	0+ _edata
 2000000000000000 g       \*ABS\*	0+ _end
-0+4 g       \.text	0+ _start\.
+0+4 g       \*ABS\*	0+ _start\.

 Contents of section \.init:
  0000 e37704a6                             .*

brgds, H-P


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