Add HOSTING_SLIBS and use it for -pie
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 26 Nov 2013 19:17:08 +0000 (11:17 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 26 Nov 2013 19:17:08 +0000 (11:17 -0800)
commitb27caf75c311991772b316fe7c0eecfd5788eeaf
tree90f0032a6a93fcabbf0fe308995ade85e642783e
parentd24a9f159c4b62ea5a64f619bd2090bbc98d8abd
Add HOSTING_SLIBS and use it for -pie

ld/

PR ld/16259
* Makefile.am (HOSTING_SLIBS): New.
* configure.host (HOSTING_SLIBS): New.  Used for PIE.
* configure.in (HOSTING_SLIBS): New AC_SUBST.
* Makefile.in: Regenerated.
* configure: Likewise.

ld/testsuite/

PR ld/16259
* config/default.exp (get_target_emul): Also set HOSTING_SLIBS.
* lib/ld-lib.exp (default_ld_link): Use HOSTING_SLIBS for -pie.
ld/ChangeLog
ld/Makefile.am
ld/Makefile.in
ld/configure
ld/configure.host
ld/configure.in
ld/testsuite/ChangeLog
ld/testsuite/config/default.exp
ld/testsuite/lib/ld-lib.exp