This is the mail archive of the binutils@sources.redhat.com 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: absolute syms in shared libs


On Fri, Oct 04, 2002 at 11:34:37AM +0930, Alan Modra wrote:
> Oops, our "jmp foo" goes to the shared lib load address + 0x12345678.
> 
> This can be fixed, but I'm just wondering whether it's wise to
> change the current ld behaviour.  Opinions?

Whoops.  I was forgetting about ld.so behaviour with "absolute" syms.
It seems that ld.so relocates them to be relative to be load address
anyway.  :-(  Presumably this is for compatibility with sysv linkers
and loaders.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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