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: Reloc info of static functions


On Wed, Oct 15, 2003 at 08:59:42PM -0700, pradeep tumati wrote:
> Is there any specific reason for not including the
> relocation information? 

Yes.  It's not needed since static functions can't be overridden by
other definitions, and calls on x86 are pc-relative.

> I am thinking of modifying the gas assembler source code.

You'll need to change TC_FORCE_RELOCATION, and maybe tc_fix_adjustable
if you want to keep the original symbol.

-- 
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]