From 4a5835702685a8a320b7a8d03519fac3f86dc767 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 10 Sep 2012 17:00:40 +0000 Subject: Regenerate binutils configure bfd/ 2012-09-10 H.J. Lu * configure: Regenerated. binutils/ 2012-09-10 H.J. Lu * configure: Regenerated. etc/ 2010-11-20 Ralf Wildenhues * Makefile.in (install-strip): New target. gas/ 2012-09-10 H.J. Lu * configure: Regenerated. gold/ 2012-09-09 Alan Modra * target.h (Target::gc_mark_symbol, do_gc_mark_symbol): New functions. gprof/ 2012-09-10 H.J. Lu * configure: Regenerated. intl/ 2010-06-27 Ralf Wildenhues PR bootstrap/44621 ld/ 2012-09-10 H.J. Lu * configure: Regenerated. libiberty/ 2011-08-28 H.J. Lu * argv.c (dupargv): Replace malloc with xmalloc. Don't check opcodes/ 2012-09-10 H.J. Lu * configure: Regenerated. --- gas/configure | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'gas/configure') diff --git a/gas/configure b/gas/configure index 4f976f6da6..45ceb99fbc 100755 --- a/gas/configure +++ b/gas/configure @@ -6971,7 +6971,14 @@ s390*-*linux*|s390*-*tpf*|sparc*-*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 ;; ppc64-*linux*|powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" @@ -9422,7 +9429,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi ;; # 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 @@ -10335,7 +10342,7 @@ freebsd* | dragonfly*) objformat=`/usr/bin/objformat` else case $host_os in - freebsd[123]*) objformat=aout ;; + freebsd[23].*) objformat=aout ;; *) objformat=elf ;; esac fi @@ -10353,7 +10360,7 @@ freebsd* | dragonfly*) esac shlibpath_var=LD_LIBRARY_PATH case $host_os in - freebsd2*) + freebsd2.*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) @@ -11187,7 +11194,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11190 "configure" +#line 11197 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11293,7 +11300,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11296 "configure" +#line 11303 "configure" #include "confdefs.h" #if HAVE_DLFCN_H -- cgit v1.2.1