This is the mail archive of the libc-help@sourceware.org mailing list for the glibc 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: [Fwd: Re: Register a signal handler in _dl_start to handle SIGSEGV for dynamic linker]


On Tue, Sep 2, 2008 at 8:32 AM, wuxi <wu.andrew.xi@gmail.com> wrote:
>> Yes. You should not be making function calls into libc *before* the
>> dynamic loader has relocated itself.
>>
>
> very interesting, I want to know more details here, I roughly read the code
> - here relocation means loading dynamic load into the address space, right?
> (on IA64, I found the address of code will change from X to
> 0x2000000000000000+X)

Please read "Loaders and Linkers" by John R. Levine for a treatment of
this topic.

Cheers,
Carlos.


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