From 6d2920c847e9f9719d30f38ae94a8cce221edd97 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 10 Sep 2012 17:00:44 +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. --- binutils/ChangeLog | 4 ++++ binutils/configure | 19 +++++++++++++------ 2 files changed, 17 insertions(+), 6 deletions(-) (limited to 'binutils') diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 7bc8a09..95ed4c1 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2012-09-10 H.J. Lu + + * configure: Regenerated. + 2012-09-06 Cary Coutant * dwarf.c (decode_location_expression): Add diff --git a/binutils/configure b/binutils/configure index a9ef21d..f983f19 100755 --- a/binutils/configure +++ b/binutils/configure @@ -6988,7 +6988,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" @@ -9439,7 +9446,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 @@ -10352,7 +10359,7 @@ freebsd* | dragonfly*) objformat=`/usr/bin/objformat` else case $host_os in - freebsd[123]*) objformat=aout ;; + freebsd[23].*) objformat=aout ;; *) objformat=elf ;; esac fi @@ -10370,7 +10377,7 @@ freebsd* | dragonfly*) esac shlibpath_var=LD_LIBRARY_PATH case $host_os in - freebsd2*) + freebsd2.*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) @@ -11204,7 +11211,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11207 "configure" +#line 11214 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11310,7 +11317,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11313 "configure" +#line 11320 "configure" #include "confdefs.h" #if HAVE_DLFCN_H -- cgit v1.1