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: PATCH: Avoid unnecessary R_IA64_FPTR64LSB in executable


On Thu, Apr 28, 2005 at 06:36:04PM -0700, Richard Henderson wrote:
> On Thu, Apr 28, 2005 at 04:26:55PM -0700, H. J. Lu wrote:
> > > 1. When we export a function in executable, whose function pointer is
> > > used in executable and which is referenced by a DSO, can we create a
> > > R_IA64_FPTR64LSB in executable only when there is a dynamic
> > > R_IA64_FPTR64LSB reference?
> 
> No, we need one any time the symbol is dynamic.  Which does let you
> eliminate quite a few.  But with --export-dynamic you can't just 
> look for those that are referenced.
> 

Do you have a testcase?  I thought you didn't need R_IA64_FPTR64LSB for
every dynamic function symbol and you only needed it for official
functon descriptor. As for --export-dynamic, I have to check if it
creates R_IA64_FPTR64LSB relocations for all pointers to function
symbols.


H.J.


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