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]

Re: linker bug 10515


On Thu, Oct 08, 2009 at 11:30:36AM +1030, Alan Modra wrote:
> 	PR ld/10744
> 	* ldlang.c (lang_new_phdr): Allow FILEHDR/PHDRS on more than the
> 	first PT_LOAD header.
> 	* ld.texinfo: Update.

Oops, forgot the testsuite update.

	PR ld/10744
	* ld-scripts/phdrs3.d: Update.

Index: ld/testsuite/ld-scripts/phdrs3.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-scripts/phdrs3.d,v
retrieving revision 1.1
diff -u -p -r1.1 phdrs3.d
--- ld/testsuite/ld-scripts/phdrs3.d	7 Oct 2009 07:25:36 -0000	1.1
+++ ld/testsuite/ld-scripts/phdrs3.d	8 Oct 2009 01:10:44 -0000
@@ -1,4 +1,4 @@
 # name: PHDRS headers
 # source: phdrs.s
 # ld: -T phdrs3.t
-# error: \A[^ \n:]*:[^:\n]*:5: PHDRS and FILEHDR are only permitted for the first PT_LOAD segment\Z
+# error: \A[^ \n:]*:[^:\n]*:5: PHDRS and FILEHDR.*

-- 
Alan Modra
Australia Development Lab, IBM


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