Re: LTO Optimization with asm renames of intrinsic functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2020-08-13 at 18:07 -0500, Segher Boessenkool wrote:
> On Wed, Aug 12, 2020 at 05:26:35PM -0500, Paul E Murphy via Gcc-help wrote:
> >   asm ("__bid_floatsidd  = __GI___bid_floatsidd");
> > This creative workaround has worked with lto disabled, but
> > when enabled, it is effectively ignored.  Is there a more robust way
> > to bypass plt calls for intrinsic functions when using LTO?
> 
> Do linker scripts work with LTO?  You can do this in a linker script
> (which is neater than doing it in assembler, anyway :-) )
I wouldn't think that anything with symbol manipulation would work since LTO
wouldn't know about anything the linker script did.


jeff




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux