Re: x86_64: is there an option to always do RIP relative addressing for globals?

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

 



> I think you can get approximately what you want by using "#pragma GCC
> visibility push(protected)" at the start of some header file to give all
> symbols, including all external symbols, protected visibility. ÂThen
> compile with -fpic. ÂI don't know if that will cover all cases. ÂIt
> seems like kind of a special purpose requirement.
>

Awesome! That seems to do exactly what I want! Thanks!



[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