diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2013-11-26 11:17:08 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2013-11-26 11:17:08 -0800 |
commit | b27caf75c311991772b316fe7c0eecfd5788eeaf (patch) | |
tree | 90f0032a6a93fcabbf0fe308995ade85e642783e /ld/configure | |
parent | d24a9f159c4b62ea5a64f619bd2090bbc98d8abd (diff) | |
download | gdb-b27caf75c311991772b316fe7c0eecfd5788eeaf.zip gdb-b27caf75c311991772b316fe7c0eecfd5788eeaf.tar.gz gdb-b27caf75c311991772b316fe7c0eecfd5788eeaf.tar.bz2 |
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.
Diffstat (limited to 'ld/configure')
-rwxr-xr-x | ld/configure | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ld/configure b/ld/configure index 63d17e2..8452a13 100755 --- a/ld/configure +++ b/ld/configure @@ -613,6 +613,7 @@ enable_initfini_array ENABLE_PLUGINS_FALSE ENABLE_PLUGINS_TRUE NATIVE_LIB_DIRS +HOSTING_SLIBS HOSTING_LIBS HOSTING_SCRT0 HOSTING_CRT0 @@ -12192,7 +12193,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12195 "configure" +#line 12196 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12298,7 +12299,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12301 "configure" +#line 12302 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -16208,6 +16209,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` |