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: PATCH: Add -Ttext-segment ADDR to ELF linker


On Sun, May 10, 2009 at 8:20 AM, John David Anglin
<dave@hiauly1.hia.nrc.ca> wrote:
> On Sun, 10 May 2009, H.J. Lu wrote:
>
>> On Sun, May 10, 2009 at 7:46 AM, John David Anglin
>> <dave@hiauly1.hia.nrc.ca> wrote:
>> > 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.
>> >
>>
>> It was fixed by
>>
>> http://sourceware.org/ml/libc-alpha/2009-01/msg00036.html
>>
>> If you have problems on parisc, it must be parisc specific.
>
> The problem is old versions of glibc can't be built. ?Also, the fix
> probably doesn't work if the -T option is used to specify the start
> of the text segment.
>

You have to change your scripts or use the older binutils.


-- 
H.J.


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