diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-04-29 11:52:16 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-04-29 11:58:32 -0700 |
commit | 05a96236132e1727a457da1e92da94adcd55528a (patch) | |
tree | 5b223ae16eb61fa612cf0320c0a87fab008ad5a5 /libssp | |
parent | 9e6f58a106d7ee875c95d4aba7e5dd7cefd32f45 (diff) | |
download | gcc-hjl/pr65846/gcc-5-branch.tar.gz |
Enable -fsymbolic in LTO if -Bsymbolic is usedhjl/pr65846/gcc-5-branch
When -Bsymbolic is passed to linker, references to global symbols
defined in the shared library are resolved locally. We should pass
-fsymbolic to GCC in this case.
* collect2.c (main): Add -fsymbolic to COLLECT_GCC_OPTIONS if
-Bsymbolic is used.
* doc/invoke.texi: Updated.
Diffstat (limited to 'libssp')
0 files changed, 0 insertions, 0 deletions