X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gas%2Fconfigure;h=144ead49c4e5e31a5bd1a317d442ce4d291092ec;hb=2f4fcf00399bc0ad5a4fed6b530128e8be4f40da;hp=9808cf9bce5218651514d31928f506e3463b3f17;hpb=d0ac1c44885daf68f631befa37e3f3bad318fbbf;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/configure b/gas/configure index 9808cf9bce..144ead49c4 100755 --- a/gas/configure +++ b/gas/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for gas 2.30.52. +# Generated by GNU Autoconf 2.69 for gas 2.33.50. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -587,8 +587,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='gas' PACKAGE_TARNAME='gas' -PACKAGE_VERSION='2.30.52' -PACKAGE_STRING='gas 2.30.52' +PACKAGE_VERSION='2.33.50' +PACKAGE_STRING='gas 2.33.50' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -808,6 +808,9 @@ enable_compressed_debug_sections enable_x86_relax_relocations enable_elf_stt_common enable_generate_build_notes +enable_mips_fix_loongson3_llsc +enable_x86_used_note +enable_default_riscv_attribute enable_werror enable_build_warnings with_cpu @@ -1366,7 +1369,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 gas 2.30.52 to adapt to many kinds of systems. +\`configure' configures gas 2.33.50 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1437,7 +1440,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of gas 2.30.52:";; + short | recursive ) echo "Configuration of gas 2.33.50:";; esac cat <<\_ACEOF @@ -1469,6 +1472,11 @@ Optional Features: --enable-generate-build-notes generate GNU Build notes if none are provided by the input + --enable-mips-fix-loongson3-llsc + enable MIPS fix Loongson3 LLSC errata + --enable-x86-used-note generate GNU x86 used ISA and feature properties + --enable-default-riscv-attribute + generate RISC-V arch attribute by default --enable-werror treat compile warnings as errors --enable-build-warnings enable build-time compiler warnings --disable-nls do not use Native Language Support @@ -1568,7 +1576,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -gas configure 2.30.52 +gas configure 2.33.50 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2033,7 +2041,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 gas $as_me 2.30.52, which was +It was created by gas $as_me 2.33.50, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3980,7 +3988,7 @@ fi # Define the identity of the package. PACKAGE='gas' - VERSION='2.30.52' + VERSION='2.33.50' cat >>confdefs.h <<_ACEOF @@ -11335,7 +11343,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11338 "configure" +#line 11346 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11441,7 +11449,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11444 "configure" +#line 11452 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12045,10 +12053,9 @@ if test "${enable_targets+set}" = set; then : esac fi -ac_checking=yes -if grep '^RELEASE=y' ${srcdir}/../bfd/Makefile.am >/dev/null 2>/dev/null ; then - ac_checking= -fi +ac_checking= +. ${srcdir}/../bfd/development.sh +test "$development" = true && ac_checking=yes # Check whether --enable-checking was given. if test "${enable_checking+set}" = set; then : enableval=$enable_checking; case "${enableval}" in @@ -12110,6 +12117,40 @@ if test "${enable_generate_build_notes+set}" = set; then : esac fi +# Decide if the MIPS assembler should default to enable MIPS fix Loongson3 +# LLSC errata. +ac_default_mips_fix_loongson3_llsc=unset +# Provide a configuration option to override the default. +# Check whether --enable-mips-fix-loongson3-llsc was given. +if test "${enable_mips_fix_loongson3_llsc+set}" = set; then : + enableval=$enable_mips_fix_loongson3_llsc; case "${enableval}" in + yes) ac_default_mips_fix_loongson3_llsc=1 ;; + no) ac_default_mips_fix_loongson3_llsc=0 ;; +esac +fi + +# Decide if the x86 ELF assembler should default to generating GNU x86 +# used ISA and feature properties. +ac_default_generate_x86_used_note=unset +# Provide a configuration option to override the default. +# Check whether --enable-x86-used-note was given. +if test "${enable_x86_used_note+set}" = set; then : + enableval=$enable_x86_used_note; case "${enableval}" in + yes) ac_default_generate_x86_used_note=1 ;; + no) ac_default_generate_x86_used_note=0 ;; +esac +fi + +# Decide if the RISC-V ELF assembler should default to generating attribute. +ac_default_generate_riscv_attr=unset +# Provide a configuration option to override the default. +# Check whether --enable-default-riscv-attribute was given. +if test "${enable_default_riscv_attribute+set}" = set; then : + enableval=$enable_default_riscv_attribute; case "${enableval}" in + yes) ac_default_generate_riscv_attr=1 ;; + no) ac_default_generate_riscv_attr=0 ;; +esac +fi using_cgen=no @@ -12130,7 +12171,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext __GNUC__ _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "^[0-3]$" >/dev/null 2>&1; then : + $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then : else GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wshadow" @@ -12144,7 +12185,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext __GNUC__ _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "^[0-4]$" >/dev/null 2>&1; then : + $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then : else GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wstack-usage=262144" @@ -12159,7 +12200,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext __GNUC__ _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "^[0-3]$" >/dev/null 2>&1; then : + $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then : else WARN_WRITE_STRINGS="-Wwrite-strings" @@ -12175,7 +12216,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext __GNUC__ _ACEOF if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 | - $EGREP "^[0-3]$" >/dev/null 2>&1; then : + $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then : else GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wshadow" @@ -12189,7 +12230,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext __GNUC__ _ACEOF if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 | - $EGREP "^[0-4]$" >/dev/null 2>&1; then : + $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then : else GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144" @@ -12782,17 +12823,24 @@ _ACEOF case ${cpu_type} in bfin) - echo ${extra_objects} | grep -s "bfin-parse.o" - if test $? -ne 0 ; then - extra_objects="$extra_objects bfin-parse.o" - fi + for f in bfin-parse.o bfin-lex-wrapper.o; do + case " $extra_objects " in + *" $f "*) ;; + *) extra_objects="$extra_objects $f" ;; + esac + done + ;; - echo ${extra_objects} | grep -s "bfin-lex-wrapper.o" - if test $? -ne 0 ; then - extra_objects="$extra_objects bfin-lex-wrapper.o" - fi - ;; + bpf) + if test $this_target = $target ; then +cat >>confdefs.h <<_ACEOF +#define DEFAULT_ARCH "${arch}" +_ACEOF + + fi + using_cgen=yes + ;; epiphany | fr30 | ip2k | iq2000 | lm32 | m32r | or1k) using_cgen=yes ;; @@ -12804,9 +12852,10 @@ _ACEOF using_cgen=yes ;; m68k) - case ${extra_objects} in - *m68k-parse.o*) ;; - *) extra_objects="$extra_objects m68k-parse.o" ;; + f=m68k-parse.o + case " $extra_objects " in + *" $f "*) ;; + *) extra_objects="$extra_objects $f" ;; esac ;; @@ -12815,50 +12864,53 @@ _ACEOF ;; mips) - echo ${extra_objects} | grep -s "itbl-parse.o" - if test $? -ne 0 ; then - extra_objects="$extra_objects itbl-parse.o" - fi - - echo ${extra_objects} | grep -s "itbl-lex-wrapper.o" - if test $? -ne 0 ; then - extra_objects="$extra_objects itbl-lex-wrapper.o" - fi - - echo ${extra_objects} | grep -s "itbl-ops.o" - if test $? -ne 0 ; then - extra_objects="$extra_objects itbl-ops.o" - fi + for f in itbl-parse.o itbl-lex-wrapper.o itbl-ops.o; do + case " $extra_objects " in + *" $f "*) ;; + *) extra_objects="$extra_objects $f" ;; + esac + done ;; mt) - using_cgen=yes + using_cgen=yes ;; nds32) - # Decide BASELINE, REDUCED_REGS, FPU_DP_EXT, FPU_SP_EXT features + # setup NDS32_LINUX_TOOLCHAIN definition + if test "linux" = $em; then + +$as_echo "#define NDS32_LINUX_TOOLCHAIN 1" >>confdefs.h + + else + +$as_echo "#define NDS32_LINUX_TOOLCHAIN 0" >>confdefs.h + + fi + + # Decide BASELINE, REDUCED_REGS, FPU_DP_EXT, FPU_SP_EXT features # based on arch_name. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --with-arch" >&5 $as_echo_n "checking for default configuration of --with-arch... " >&6; } if test "x${with_arch}" != x; then case ${with_arch} in - v2j | v2s | v2f | v2 | v3m | v3j | v3s | v3f | v3 ) + v2j | v2s | v2f | v2 | v3m | v3j | v3s | v3f | v3 ) cat >>confdefs.h <<_ACEOF #define NDS32_DEFAULT_ARCH_NAME "$with_arch" _ACEOF - ;; + ;; *) as_fn_error $? "This kind of arch name does *NOT* exist!" "$LINENO" 5 ;; - esac + esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_arch" >&5 $as_echo "$with_arch" >&6; } - # Decide features one by one. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-dx-regs" >&5 + # Decide features one by one. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-dx-regs" >&5 $as_echo_n "checking for default configuration of --enable-dx-regs... " >&6; } if test "x${enable_dx_regs}" = xyes; then @@ -12872,7 +12924,7 @@ $as_echo "#define NDS32_DEFAULT_DX_REGS 0" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dx_regs" >&5 $as_echo "$enable_dx_regs" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-perf-ext" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-perf-ext" >&5 $as_echo_n "checking for default configuration of --enable-perf-ext... " >&6; } if test "x${enable_perf_ext}" = xno; then @@ -12886,7 +12938,7 @@ $as_echo "#define NDS32_DEFAULT_PERF_EXT 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_perf_ext" >&5 $as_echo "$enable_perf_ext" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-perf-ext2" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-perf-ext2" >&5 $as_echo_n "checking for default configuration of --enable-perf-ext2... " >&6; } if test "x${enable_perf_ext2}" = xno; then @@ -12900,7 +12952,7 @@ $as_echo "#define NDS32_DEFAULT_PERF_EXT2 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_perf_ext2" >&5 $as_echo "$enable_perf_ext2" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-string-ext" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-string-ext" >&5 $as_echo_n "checking for default configuration of --enable-string-ext... " >&6; } if test "x${enable_string_ext}" = xno; then @@ -12914,7 +12966,7 @@ $as_echo "#define NDS32_DEFAULT_STRING_EXT 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_string_ext" >&5 $as_echo "$enable_string_ext" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-audio-ext" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-audio-ext" >&5 $as_echo_n "checking for default configuration of --enable-audio-ext... " >&6; } if test "x${enable_audio_ext}" = xno; then @@ -12927,6 +12979,34 @@ $as_echo "#define NDS32_DEFAULT_AUDIO_EXT 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_audio_ext" >&5 $as_echo "$enable_audio_ext" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-dsp-ext" >&5 +$as_echo_n "checking for default configuration of --enable-dsp-ext... " >&6; } + if test "x${enable_dsp_ext}" = xno; then + +$as_echo "#define NDS32_DEFAULT_DSP_EXT 0" >>confdefs.h + + else + +$as_echo "#define NDS32_DEFAULT_DSP_EXT 1" >>confdefs.h + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dsp_ext" >&5 +$as_echo "$enable_dsp_ext" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-zol-ext" >&5 +$as_echo_n "checking for default configuration of --enable-zol-ext... " >&6; } + if test "x${enable_zol_ext}" = xno; then + +$as_echo "#define NDS32_DEFAULT_ZOL_EXT 0" >>confdefs.h + + else + +$as_echo "#define NDS32_DEFAULT_ZOL_EXT 1" >>confdefs.h + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_zol_ext" >&5 +$as_echo "$enable_zol_ext" >&6; } ;; aarch64 | i386 | riscv | s390 | sparc) @@ -12940,17 +13020,19 @@ _ACEOF ;; rl78) - echo ${extra_objects} | grep -s "rl78-parse.o" - if test $? -ne 0 ; then - extra_objects="$extra_objects rl78-parse.o" - fi + f=rl78-parse.o + case " $extra_objects " in + *" $f "*) ;; + *) extra_objects="$extra_objects $f" ;; + esac ;; rx) - echo ${extra_objects} | grep -s "rx-parse.o" - if test $? -ne 0 ; then - extra_objects="$extra_objects rx-parse.o" - fi + f=rx-parse.o + case " $extra_objects " in + *" $f "*) ;; + *) extra_objects="$extra_objects $f" ;; + esac ;; xstormy16) @@ -12962,10 +13044,11 @@ _ACEOF ;; xtensa) - echo ${extra_objects} | grep -s "xtensa-relax.o" - if test $? -ne 0 ; then - extra_objects="$extra_objects xtensa-relax.o" - fi + f=config/xtensa-relax.o + case " $extra_objects " in + *" $f "*) ;; + *) extra_objects="$extra_objects $f" ;; + esac ;; *) @@ -12973,9 +13056,10 @@ _ACEOF esac if test $using_cgen = yes ; then - case "x${extra_objects}" in - *cgen.o*) ;; - *) extra_objects="$extra_objects cgen.o" ;; + f=cgen.o + case " $extra_objects " in + *" $f "*) ;; + *) extra_objects="$extra_objects $f" ;; esac fi @@ -12986,9 +13070,14 @@ _ACEOF te_file=$em fi - case ${te_file} in - vms) extra_objects="$extra_objects te-vms.o" ;; - esac + case ${te_file} in + vms) + f=config/te-vms.o + case " $extra_objects " in + *" $f "*) ;; + *) extra_objects="$extra_objects $f" ;; + esac ;; + esac # From target name and format, produce a list of supported emulations. @@ -13040,6 +13129,41 @@ cat >>confdefs.h <<_ACEOF _ACEOF +if test ${ac_default_generate_x86_used_note} = unset; then + ac_default_generate_x86_used_note=0 +fi + +cat >>confdefs.h <<_ACEOF +#define DEFAULT_X86_USED_NOTE $ac_default_generate_x86_used_note +_ACEOF + + +if test ${ac_default_generate_riscv_attr} = unset; then + case ${target_os} in + elf) + ac_default_generate_riscv_attr=1 + ;; + *) + ac_default_generate_riscv_attr=0 + ;; + esac +fi + + +cat >>confdefs.h <<_ACEOF +#define DEFAULT_RISCV_ATTR $ac_default_generate_riscv_attr +_ACEOF + + +if test ${ac_default_mips_fix_loongson3_llsc} = unset; then + ac_default_mips_fix_loongson3_llsc=0 +fi + +cat >>confdefs.h <<_ACEOF +#define DEFAULT_MIPS_FIX_LOONGSON3_LLSC $ac_default_mips_fix_loongson3_llsc +_ACEOF + + if test x$ac_default_compressed_debug_sections = xyes ; then $as_echo "#define DEFAULT_FLAG_COMPRESS_DEBUG 1" >>confdefs.h @@ -15581,7 +15705,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 gas $as_me 2.30.52, which was +This file was extended by gas $as_me 2.33.50, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -15647,7 +15771,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="\\ -gas config.status 2.30.52 +gas config.status 2.33.50 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\"