PATCH: Avoid unnecessary R_IA64_FPTR64LSB in executable

Richard Henderson rth@redhat.com
Fri Apr 29 06:30:00 GMT 2005


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.



r~



More information about the Binutils mailing list