X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ld%2Fconfigure;h=fba65c58e222f98000bde8be57944de81f27f1e7;hb=cbd7581f343d85b4216db2eefdf601f6d988062d;hp=8edef4548e341539e7fd823d61797d7acf15c9c7;hpb=075a2b89c71796f1f0f38f51b0f60d4048c49410;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/configure b/ld/configure index 8edef4548e..fba65c58e2 100755 --- a/ld/configure +++ b/ld/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for ld 2.32.51. +# Generated by GNU Autoconf 2.69 for ld 2.34.50. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -587,8 +587,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='ld' PACKAGE_TARNAME='ld' -PACKAGE_VERSION='2.32.51' -PACKAGE_STRING='ld 2.32.51' +PACKAGE_VERSION='2.34.50' +PACKAGE_STRING='ld 2.34.50' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -634,6 +634,7 @@ ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS +TESTCTFLIB TESTBFDLIB EMULATION_LIBPATH LIB_PATH @@ -645,9 +646,9 @@ elf_plt_unwind_list_options elf_shlib_list_options elf_list_options STRINGIFY +zlibinc +zlibdir enable_initfini_array -ENABLE_PLUGINS_FALSE -ENABLE_PLUGINS_TRUE NATIVE_LIB_DIRS HDEFINES do_compare @@ -828,12 +829,14 @@ enable_got enable_compressed_debug_sections enable_new_dtags enable_relro +enable_textrel_check enable_separate_code enable_default_hash_style enable_werror enable_build_warnings enable_nls enable_initfini_array +with_system_zlib ' ac_precious_vars='build_alias host_alias @@ -1390,7 +1393,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures ld 2.32.51 to adapt to many kinds of systems. +\`configure' configures ld 2.34.50 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1461,7 +1464,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of ld 2.32.51:";; + short | recursive ) echo "Configuration of ld 2.34.50:";; esac cat <<\_ACEOF @@ -1494,6 +1497,8 @@ Optional Features: compress debug sections by default] --enable-new-dtags set DT_RUNPATH instead of DT_RPATH by default] --enable-relro enable -z relro in ELF linker by default + --enable-textrel-check=[yes|no|warning|error] + enable DT_TEXTREL check in ELF linker --enable-separate-code enable -z separate-code in ELF linker by default --enable-default-hash-style={sysv,gnu,both} use this default hash style @@ -1510,6 +1515,7 @@ Optional Packages: --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-lib-path=dir1:dir2... set default LIB_PATH --with-sysroot=DIR Search for usr/lib et al within DIR. + --with-system-zlib use installed libz Some influential environment variables: CC C compiler command @@ -1596,7 +1602,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -ld configure 2.32.51 +ld configure 2.34.50 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2311,7 +2317,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by ld $as_me 2.32.51, which was +It was created by ld $as_me 2.34.50, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -4262,7 +4268,7 @@ fi # Define the identity of the package. PACKAGE='ld' - VERSION='2.32.51' + VERSION='2.34.50' cat >>confdefs.h <<_ACEOF @@ -12027,7 +12033,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12030 "configure" +#line 12036 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12133,7 +12139,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12136 "configure" +#line 12142 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -15871,6 +15877,16 @@ if test "${enable_relro+set}" = set; then : esac fi +# Decide if DT_TEXTREL check should be enabled in ELF linker. +ac_default_ld_textrel_check=unset +# Check whether --enable-textrel-check was given. +if test "${enable_textrel_check+set}" = set; then : + enableval=$enable_textrel_check; case "${enableval}" in + yes|no|warning|error) ac_default_ld_textrel_check=${enableval} ;; +esac +fi + + # Decide if -z separate-code should be enabled in ELF linker by default. ac_default_ld_z_separate_code=unset # Check whether --enable-separate-code was given. @@ -17267,14 +17283,6 @@ if test "$ac_res" != no; then : fi - if test x$plugins = xyes; then - ENABLE_PLUGINS_TRUE= - ENABLE_PLUGINS_FALSE='#' -else - ENABLE_PLUGINS_TRUE='#' - ENABLE_PLUGINS_FALSE= -fi - # Check whether --enable-initfini-array was given. if test "${enable_initfini_array+set}" = set; then : @@ -17385,6 +17393,26 @@ cat >>confdefs.h <<_ACEOF _ACEOF +# Link in zlib if we can. This allows us to read and write +# compressed CTF sections. + + # Use the system's zlib library. + zlibdir="-L\$(top_builddir)/../zlib" + zlibinc="-I\$(top_srcdir)/../zlib" + +# Check whether --with-system-zlib was given. +if test "${with_system_zlib+set}" = set; then : + withval=$with_system_zlib; if test x$with_system_zlib = xyes ; then + zlibdir= + zlibinc= + fi + +fi + + + + + # When converting linker scripts into strings for use in emulation # files, use astring.sed if the compiler supports ANSI string # concatenation, or ostring.sed otherwise. This is to support the @@ -17593,6 +17621,30 @@ cat >>confdefs.h <<_ACEOF _ACEOF +ac_default_ld_textrel_check_warning=0 +case "${ac_default_ld_textrel_check}" in + unset|no) + ac_default_ld_textrel_check=textrel_check_none + ;; + yes|warning) + ac_default_ld_textrel_check=textrel_check_warning + ac_default_ld_textrel_check_warning=1 + ;; + error) + ac_default_ld_textrel_check=textrel_check_error + ;; +esac + +cat >>confdefs.h <<_ACEOF +#define DEFAULT_LD_TEXTREL_CHECK $ac_default_ld_textrel_check +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define DEFAULT_LD_TEXTREL_CHECK_WARNING $ac_default_ld_textrel_check_warning +_ACEOF + + if test "${ac_default_ld_z_separate_code}" = unset; then ac_default_ld_z_separate_code=0 fi @@ -17643,11 +17695,14 @@ EMULATION_LIBPATH=$all_libpath if test x${enable_static} = xno; then TESTBFDLIB="-Wl,--rpath,../bfd/.libs ../bfd/.libs/libbfd.so" + TESTCTFLIB="-Wl,--rpath,../libctf/.libs ../libctf/.libs/libctf.so" else TESTBFDLIB="../bfd/.libs/libbfd.a" + TESTCTFLIB="../libctf/.libs/libctf.a" fi + target_vendor=${target_vendor=$host_vendor} case "$target_vendor" in hp) EXTRA_SHLIB_EXTENSION=".sl" ;; @@ -17825,10 +17880,6 @@ if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then as_fn_error $? "conditional \"GENINSRC_NEVER\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi -if test -z "${ENABLE_PLUGINS_TRUE}" && test -z "${ENABLE_PLUGINS_FALSE}"; then - as_fn_error $? "conditional \"ENABLE_PLUGINS\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 @@ -18226,7 +18277,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by ld $as_me 2.32.51, which was +This file was extended by ld $as_me 2.34.50, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -18292,7 +18343,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -ld config.status 2.32.51 +ld config.status 2.34.50 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\"