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

i at maskray dot me gcc-bugzilla@gcc.gnu.org
Wed May 26 22:15:31 GMT 2021


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

--- Comment #9 from Fangrui Song <i at maskray dot me> ---
I have a patch to implement this Clang.

It'd be good to have a name even if GCC wants to postpone the implementation
for now. How about -fdirect-access-external-function &
-fno-direct-access-external-function ?  It is similar to the feature request
-fdirect-access-external-data


More information about the Gcc-bugs mailing list