aboutsummaryrefslogtreecommitdiff
path: root/bfd/configure
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/configure')
-rwxr-xr-xbfd/configure15
1 files changed, 6 insertions, 9 deletions
diff --git a/bfd/configure b/bfd/configure
index 806ee7e..c15a118 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -10531,14 +10531,11 @@ echo "$as_me: error: bad value ${enableval} for ELF STT_COMMON option" >&2;}
esac
else
# We have to choose a default behaviour. For native builds we could
-# test whether the loader supports the STT_COMMON type. For cross
-# toolchains we default to assuming that they are not supported.
-if test "$cross_compiling" != yes; then
- want_elf_stt_common=false
- else
- # XXX FIXME: Add code to test the loader here.
+# test whether the loader supports the STT_COMMON type, but that would
+# mean that built binaries could not be exported to older systems where
+# the loader does not support it. So by default we always choose to
+# disable this feature.
want_elf_stt_common=false
- fi
fi; if test $want_elf_stt_common = true; then
cat >>confdefs.h <<\_ACEOF
@@ -10549,7 +10546,6 @@ fi
-
# Check whether --with-pkgversion or --without-pkgversion was given.
if test "${with_pkgversion+set}" = set; then
withval="$with_pkgversion"
@@ -12548,7 +12544,8 @@ fi
-for ac_header in stddef.h string.h strings.h stdlib.h time.h unistd.h
+
+for ac_header in alloca.h stddef.h string.h strings.h stdlib.h time.h unistd.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then