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] |
This is something I noticed by accident while working with an embedded toolchain. Accidentally specify two linker scripts, and you get an malformed error message that can be hard to read. aretha$ cat tmp.ld STARTUP(crt1.o) aretha$ ./ld-new tmp.o -Ttmp.ld -Ttmp.ld ./ld-newmultiple STARTUP files With this patch, I now get the much better aretha$ ./ld-new tmp.o -Ttmp.ld -Ttmp.ld ./ld-new: multiple STARTUP files I grepped the linker sources, but did not see any other instances of this problem. This was tested with an native x86_64-linux build and make check. There were no regressions. I have checked in the patch. -- Jim Wilson, GNU Tools Support, http://www.specifix.com
Attachment:
patch.multiple.STARTUP
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |