Add HOSTING_SCRT0 for PIE test
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 19 Jan 2013 19:36:37 +0000 (19:36 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 19 Jan 2013 19:36:37 +0000 (19:36 +0000)
commit6738cadcc7b0e5ada20372765a72771dd99efe43
treee505794ada35899f1579a6c0498ff2bd97bfa0b0
parent44fc9657c5168eb2e6c116eef7cc709972fcdc0f
Add HOSTING_SCRT0 for PIE test

ld/

* Makefile.am (HOSTING_SCRT0): New.

* configure.host (HOSTING_SCRT0): New.  Used for PIE.

* configure.in (HOSTING_SCRT0): New AC_SUBST.

* Makefile.in: Regenerated.
* configure: Likewise.

ld/testsuite/

* config/default.exp (get_target_emul): Also set HOSTING_SCRT0.

* lib/ld-lib.exp (default_ld_link): Use HOSTING_SCRT0 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