[Bug target/68178] [arm] Relative address expressions bind at as-time, even if symbol is weak
rearnsha at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Nov 3 11:13:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68178
Richard Earnshaw <rearnsha at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |---
--- Comment #8 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
Based on the follow-up discussions, I'm re-opening this. While I don't think
it's really a GCC bug, we can work around the assembler ambiguity problems in
the compiler.
To do this, legitimize_pic_address needs to not call arm_pic_static_addr() when
a symbol definition is weak, even if it does bind locally.
More information about the Gcc-bugs
mailing list