Check !executable instead of shared for PIE.
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 21 Mar 2010 23:26:33 +0000 (23:26 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 21 Mar 2010 23:26:33 +0000 (23:26 +0000)
commitca4a656ba45ab05e7998d6fd5dc445f55d4c8197
tree849f08709795d5a4b4401697b283e2322137c015
parentacaf5de82703513e8a2adddf5b2b7462f7be5fbf
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