Committed: fix for cris-elf ldsym1 testsuite failure

Hans-Peter Nilsson
Sun Nov 5 19:24:00 GMT 2006

It's not that I disabled the binutils autotester for
--target=cris-axis-elf, it's that I disabled the part that
updated from CVS, then forgot to change back and later didn't
notice!  Sigh.  One breakage - only, I guess.

I have no idea what of the recent symbol-in-ldscript-sections-
removed-and-back-again changes broke these test-cases, but as
all the listed symbols have equivalent type and address and the
__init__start collates before the others, the current behavior
doesn't look obviously wrong.

Still, please remember to adjust test-cases whenever changes
with widespread effects are done.

Running /h/hp/binutils/cvs_latest/src/ld/testsuite/ld-cris/cris.exp ...
FAIL: ld-cris/ldsym1

which looks like this in ld.log:
regexp_diff match failure
regexp "^0+ <(__start|__Stext)>:$"
line   "00000000 <___init__start>:"
FAIL: ld-cris/ldsym1



        * ld-cris/ldsym1.d: Adjust for semi-recent ld changes.

Index: ldsym1.d
RCS file: /cvs/src/src/ld/testsuite/ld-cris/ldsym1.d,v
retrieving revision 1.4
diff -u -p -r1.4 ldsym1.d
--- ldsym1.d	17 Oct 2006 13:41:48 -0000	1.4
+++ ldsym1.d	5 Nov 2006 19:16:36 -0000
@@ -13,7 +13,7 @@
 Disassembly of section \.text:
-0+ <(__start|__Stext)>:
+0+ <(___init__start|__start|__Stext)>:
    0:	0f05                	nop 
 0+2 <expfn>:

brgds, H-P

More information about the Binutils mailing list