Check !executable instead of shared for PIE.
commitaf49972ea4454adba71958d33188ead47b9a8b69
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 21 Mar 2010 23:26:31 +0000 (21 23:26 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 21 Mar 2010 23:26:31 +0000 (21 23:26 +0000)
tree5b2d7adbc287f2729361c8d63af2069da0a5c103
parent60c63a6bf57c123d259a6904fcdc72626a07fcea
Check !executable instead of shared for PIE.

2010-03-21  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11413
* elflink.c (_bfd_elf_add_default_symbol): Check !executable
instead of shared.
bfd/ChangeLog
bfd/elflink.c