PATCH: Add -Ttext-segment ADDR to ELF linker

John David Anglin dave@hiauly1.hia.nrc.ca
Sun May 10 14:46:00 GMT 2009


On Tue, 13 Jan 2009, H.J. Lu wrote:

> I don't think we should take this risk to potentially break existing
> applications.  Here is a patch to add a new switch -Ttext-segment.
> I can reuse -Ttext and update linker tests if it is preferred.

This change breaks glibc builds on parisc.  The glibc build attempts
to modify the default linker script with a sed script to provide the
symbol _begin used by the dynamic loader.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)



More information about the Binutils mailing list