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 script question and/or bug


Nick Clifton wrote:
Hi Michael,

That works.   But if you specify the options in the
reverse order, it fails.

I'll post a patch which moves processing user-specified
linker scripts to the same place as default linker scripts.

I am sorry, but I do not think that this will be accepted. The linker documentation explicitly states that options such as -T are processed when they are encountered on the command line. Changing this behavior may break linker command lines that are being used in other projects.

Bleah! This essentially means that a linker script passed from gcc is never going to work reasonably if it references user-specified symbols.

--
Michael Eager	 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077


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