aboutsummaryrefslogtreecommitdiff
path: root/ld/configure
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
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')
-rwxr-xr-xld/configure6
1 files changed, 4 insertions, 2 deletions
diff --git a/ld/configure b/ld/configure
index cb99b4c..1d20df5 100755
--- a/ld/configure
+++ b/ld/configure
@@ -614,6 +614,7 @@ ENABLE_PLUGINS_FALSE
ENABLE_PLUGINS_TRUE
NATIVE_LIB_DIRS
HOSTING_LIBS
+HOSTING_SCRT0
HOSTING_CRT0
HDEFINES
do_compare
@@ -12185,7 +12186,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12188 "configure"
+#line 12189 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12291,7 +12292,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12294 "configure"
+#line 12295 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -16200,6 +16201,7 @@ do_compare="$gcc_cv_prog_cmp_skip"
+
for ac_header in string.h strings.h stdlib.h unistd.h elf-hints.h limits.h locale.h sys/param.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`