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]

Re: i386 relocation, _GLOBAL_OFFSET_TABLE_ -fPIC


On Mon, Jun 11, 2001 at 11:02:00AM -0700, John Reiser wrote:
>
> So, what is the climate for new R_386_* relocation types?

Why would you need a new relocation type to load %ebx with the
address of the .got?  Seems to me that existing relocs, eg.
R_386_32 or R_326_RELATIVE will do what you want.

You might like to consider putting your
put_GLOBAL_OFFSET_TABLE_into_ebx function into it's own section.

-- 
Alan Modra


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