[Bug middle-end/100593] [ELF] -fno-pic: Use GOT to take address of an external default visibility function

ndesaulniers at google dot com gcc-bugzilla@gcc.gnu.org
Fri Apr 29 19:39:34 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100593

Nick Desaulniers <ndesaulniers at google dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ndesaulniers at google dot com

--- Comment #15 from Nick Desaulniers <ndesaulniers at google dot com> ---
Any chance we could get -mdirect-extern-access implemented for aarch64? 
Otherwise we're discussing the use of `#pragma GCC visibility push(hidden)` for
use in the linux kernel since it's slightly more portable at the moment.

https://lore.kernel.org/linux-arm-kernel/20220427171241.2426592-3-ardb@kernel.org/


More information about the Gcc-bugs mailing list