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]

Fix for regression ld/rgn-over7 caused by change in linker message change in ldlang.c


My guess is that there was a testsuite adjustment together with
the message change, but it was just overlooked at commit-time.

Anyhow, I committed the following patch as trivial, to fix the
regression my autotester noticed for cris-elf and
cris-axis-linux-gnu (and myself for arm-elf, arm-linux-gnu and
native i686-pc-linux-gnu):

...
Running /tmp/hpautotest-binutils/bsrc/src/ld/testsuite/ld-scripts/rgn-over.exp ...
FAIL: rgn-over7
...

ld/testsuite:

	* ld-scripts/rgn-over7.d: Adjust expected message for recent change.

Index: ld-scripts/rgn-over7.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-scripts/rgn-over7.d,v
retrieving revision 1.3
diff -p -u -r1.3 rgn-over7.d
--- ld-scripts/rgn-over7.d	2 Mar 2009 17:27:36 -0000	1.3
+++ ld-scripts/rgn-over7.d	22 May 2009 15:53:23 -0000
@@ -1,7 +1,7 @@
 # name: rgn-over7
 # source: rgn-over.s
 # ld: -T rgn-over7.t -Map tmpdir/rgn-over7.map
-# error: \A[^ \n]*?ld[^:\n]*?: [^\n]*?section `\.text' will not fit in region `r1'\n[^ \n]*?ld[^:\n]*?: section \.data \[0+1008 -> 0+1013\] overlaps section \.text \[0+1000 -> 0+100b\]\n[^ \n]*?ld[^:\n]*?: region `r1' overflowed by 4 bytes\Z
+# error: \A[^ \n]*?ld[^:\n]*?: [^\n]*?section `\.text' will not fit in region `r1'\n[^ \n]*?ld[^:\n]*?: section \.data loaded at \[0+1008,0+1013\] overlaps section \.text loaded at \[0+1000,0+100b\]\n[^ \n]*?ld[^:\n]*?: region `r1' overflowed by 4 bytes\Z
 
 Discarded input sections
 #...

brgds, H-P


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