aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.in
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2013-01-19 19:36:37 +0000
committerH.J. Lu <hjl.tools@gmail.com>2013-01-19 19:36:37 +0000
commit6738cadcc7b0e5ada20372765a72771dd99efe43 (patch)
treee505794ada35899f1579a6c0498ff2bd97bfa0b0 /ld/configure.in
parent44fc9657c5168eb2e6c116eef7cc709972fcdc0f (diff)
downloadgdb-6738cadcc7b0e5ada20372765a72771dd99efe43.zip
gdb-6738cadcc7b0e5ada20372765a72771dd99efe43.tar.gz
gdb-6738cadcc7b0e5ada20372765a72771dd99efe43.tar.bz2
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.
Diffstat (limited to 'ld/configure.in')
-rw-r--r--ld/configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/configure.in b/ld/configure.in
index 0cdef93..2af3dfc 100644
--- a/ld/configure.in
+++ b/ld/configure.in
@@ -185,6 +185,7 @@ ACX_PROG_CMP_IGNORE_INITIAL
AC_SUBST(HDEFINES)
AC_SUBST(HOSTING_CRT0)
+AC_SUBST(HOSTING_SCRT0)
AC_SUBST(HOSTING_LIBS)
AC_SUBST(NATIVE_LIB_DIRS)