[RFC][PATCH][X86_64] Eliminate PLT stubs for specified external functions via -fno-plt=

Andi Kleen andi@firstfloor.org
Sat May 2 12:12:00 GMT 2015


On Fri, May 01, 2015 at 11:05:58AM -0700, Sriraman Tallam wrote:
> On Fri, May 1, 2015 at 9:26 AM, Xinliang David Li <davidxl@google.com> wrote:
> > yes -- it is good to turn this on by default in LTO mode without
> > requiring user to specify the option.
> 
> Yes, with LTO, we would exactly know what the "truly extern" functions
> are

... unless a function is overwritten somewhere else at dynamic link time 
That's why you may need -fno-semantic...

-Andi



More information about the Gcc-patches mailing list