[PATCH] PR ld/18329: Turn off PROTECTED visibility with -Bsymbolic
Alan Modra
amodra@gmail.com
Sat Apr 25 23:46:00 GMT 2015
On Sat, Apr 25, 2015 at 02:46:38PM -0700, H.J. Lu wrote:
> If a global protected symbol is bound locally by -Bsymbolic, there is no
> need to keep protected visibility which hich may have overhead at run-time.
For this change to be safe you'd need to show that all ELF targets
supporting dynamic objects also properly support -Bsymbolic for both
functions and variables. ie. that none emit dynamic relocations for
the symbol when -Bsymbolic.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list