Linker script question and/or bug
Michael Eager
eager@eagercon.com
Mon Dec 25 20:24:00 GMT 2006
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
More information about the Binutils
mailing list