[Bug middle-end/118473] ELF visibility of compiler declared symbols
jbeulich at suse dot com
gcc-bugzilla@gcc.gnu.org
Wed Jan 15 07:51:17 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118473
--- Comment #4 from jbeulich at suse dot com ---
(In reply to Andrew Pinski from comment #1)
> Does this happen only for x86_64 or also for aarch64?
As per a quick experiment - yes, same issue there. Not surprising considering
that both targets invoke default_stack_protect_guard() when passed
-mstack-protector-guard=global.
(In reply to Andrew Pinski from comment #2)
> Also do you have a simple Testcase?
For the quick experiment above I used the example from bug 32434. The unwanted
reference through GOT can be seen by looking at the generated assembly.
More information about the Gcc-bugs
mailing list