projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove support for the (deprecated) openrisc and or32 configurations and replace
[deliverable/binutils-gdb.git]
/
ld
/
configure
diff --git
a/ld/configure
b/ld/configure
index 621fbb101b9ada81c1e9af5ce340d8b7a6e7fa91..b6c324605ee0c9c28a7b1cffb93a47f10599b8c6 100755
(executable)
--- a/
ld/configure
+++ b/
ld/configure
@@
-613,7
+613,9
@@
enable_initfini_array
ENABLE_PLUGINS_FALSE
ENABLE_PLUGINS_TRUE
NATIVE_LIB_DIRS
ENABLE_PLUGINS_FALSE
ENABLE_PLUGINS_TRUE
NATIVE_LIB_DIRS
+HOSTING_SLIBS
HOSTING_LIBS
HOSTING_LIBS
+HOSTING_SCRT0
HOSTING_CRT0
HDEFINES
do_compare
HOSTING_CRT0
HDEFINES
do_compare
@@
-7944,7
+7946,7
@@
ia64-*-hpux*)
rm -rf conftest*
;;
rm -rf conftest*
;;
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|p
pc*-*linux*|p
owerpc*-*linux*| \
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
# Find out which ABI we are using.
echo 'int i;' > conftest.$ac_ext
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
# Find out which ABI we are using.
echo 'int i;' > conftest.$ac_ext
@@
-7960,9
+7962,19
@@
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
LD="${LD-ld} -m elf_i386_fbsd"
;;
x86_64-*linux*)
LD="${LD-ld} -m elf_i386_fbsd"
;;
x86_64-*linux*)
- LD="${LD-ld} -m elf_i386"
+ case `/usr/bin/file conftest.o` in
+ *x86-64*)
+ LD="${LD-ld} -m elf32_x86_64"
+ ;;
+ *)
+ LD="${LD-ld} -m elf_i386"
+ ;;
+ esac
+ ;;
+ powerpc64le-*linux*)
+ LD="${LD-ld} -m elf32lppclinux"
;;
;;
- p
pc64-*linux*|p
owerpc64-*linux*)
+ powerpc64-*linux*)
LD="${LD-ld} -m elf32ppclinux"
;;
s390x-*linux*)
LD="${LD-ld} -m elf32ppclinux"
;;
s390x-*linux*)
@@
-7981,7
+7993,10
@@
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
x86_64-*linux*)
LD="${LD-ld} -m elf_x86_64"
;;
x86_64-*linux*)
LD="${LD-ld} -m elf_x86_64"
;;
- ppc*-*linux*|powerpc*-*linux*)
+ powerpcle-*linux*)
+ LD="${LD-ld} -m elf64lppc"
+ ;;
+ powerpc-*linux*)
LD="${LD-ld} -m elf64ppc"
;;
s390*-*linux*|s390*-*tpf*)
LD="${LD-ld} -m elf64ppc"
;;
s390*-*linux*|s390*-*tpf*)
@@
-9231,6
+9246,7
@@
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
# AIX 5 now supports IA64 processor
lt_prog_compiler_static='-Bstatic'
fi
# AIX 5 now supports IA64 processor
lt_prog_compiler_static='-Bstatic'
fi
+ lt_prog_compiler_pic='-fPIC'
;;
amigaos*)
;;
amigaos*)
@@
-10412,7
+10428,7
@@
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
;;
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
;;
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
- freebsd2*)
+ freebsd2
.
*)
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
hardcode_direct=yes
hardcode_minus_L=yes
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
hardcode_direct=yes
hardcode_minus_L=yes
@@
-11325,7
+11341,7
@@
freebsd* | dragonfly*)
objformat=`/usr/bin/objformat`
else
case $host_os in
objformat=`/usr/bin/objformat`
else
case $host_os in
- freebsd[
123]
*) objformat=aout ;;
+ freebsd[
23].
*) objformat=aout ;;
*) objformat=elf ;;
esac
fi
*) objformat=elf ;;
esac
fi
@@
-11343,7
+11359,7
@@
freebsd* | dragonfly*)
esac
shlibpath_var=LD_LIBRARY_PATH
case $host_os in
esac
shlibpath_var=LD_LIBRARY_PATH
case $host_os in
- freebsd2*)
+ freebsd2
.
*)
shlibpath_overrides_runpath=yes
;;
freebsd3.[01]* | freebsdelf3.[01]*)
shlibpath_overrides_runpath=yes
;;
freebsd3.[01]* | freebsdelf3.[01]*)
@@
-12177,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
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 121
80
"configure"
+#line 121
96
"configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
#include "confdefs.h"
#if HAVE_DLFCN_H
@@
-12283,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
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12
286
"configure"
+#line 12
302
"configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
#include "confdefs.h"
#if HAVE_DLFCN_H
@@
-13209,7
+13225,7
@@
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
esac
;;
esac
;;
- freebsd
[12]
*)
+ freebsd
2.
*)
# C++ shared libraries reported to be fairly broken before
# switch to ELF
ld_shlibs_CXX=no
# C++ shared libraries reported to be fairly broken before
# switch to ELF
ld_shlibs_CXX=no
@@
-14080,6
+14096,7
@@
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
# AIX 5 now supports IA64 processor
lt_prog_compiler_static_CXX='-Bstatic'
fi
# AIX 5 now supports IA64 processor
lt_prog_compiler_static_CXX='-Bstatic'
fi
+ lt_prog_compiler_pic_CXX='-fPIC'
;;
amigaos*)
;;
amigaos*)
@@
-14984,7
+15001,7
@@
freebsd* | dragonfly*)
objformat=`/usr/bin/objformat`
else
case $host_os in
objformat=`/usr/bin/objformat`
else
case $host_os in
- freebsd[
123]
*) objformat=aout ;;
+ freebsd[
23].
*) objformat=aout ;;
*) objformat=elf ;;
esac
fi
*) objformat=elf ;;
esac
fi
@@
-15002,7
+15019,7
@@
freebsd* | dragonfly*)
esac
shlibpath_var=LD_LIBRARY_PATH
case $host_os in
esac
shlibpath_var=LD_LIBRARY_PATH
case $host_os in
- freebsd2*)
+ freebsd2
.
*)
shlibpath_overrides_runpath=yes
;;
freebsd3.[01]* | freebsdelf3.[01]*)
shlibpath_overrides_runpath=yes
;;
freebsd3.[01]* | freebsdelf3.[01]*)
@@
-15536,7
+15553,7
@@
ac_compiler_gnu=$ac_cv_c_compiler_gnu
-ALL_LINGUAS="fr sv tr es da vi zh_CN zh_TW ga fi id bg it"
+ALL_LINGUAS="fr sv tr es da vi zh_CN zh_TW ga fi id bg it
uk
"
# If we haven't got the data from the intl directory,
# assume NLS is disabled.
USE_NLS=no
# If we haven't got the data from the intl directory,
# assume NLS is disabled.
USE_NLS=no
@@
-16191,6
+16208,8
@@
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`
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`
@@
-16925,6
+16944,7
@@
do
;;
esac
done
;;
esac
done
+
fi
done
fi
done
This page took
0.029322 seconds
and
4
git commands to generate.