diff options
25 files changed, 69 insertions, 24 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index e341c1f367..402b0a3db7 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2007-01-08 Kai Tietz <kai.tietz@onevision.com> + + * config.bfd: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*. + 2007-01-05 Jakub Jelinek <jakub@redhat.com> * texhex.c (first_phase): Don't fall through into the default diff --git a/bfd/config.bfd b/bfd/config.bfd index 93a6f630fd..70d2c703b0 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -590,7 +590,7 @@ case "${targ}" in targ_selvecs="bfd_elf32_i386_vec i386linux_vec bfd_efi_app_ia32_vec" want64=true ;; - x86_64-*-mingw64*) + x86_64-*-mingw*) targ_defvec=x86_64pe_vec targ_selvecs="x86_64pe_vec x86_64pei_vec x86_64coff_vec bfd_elf64_x86_64_vec" want64=true diff --git a/binutils/ChangeLog b/binutils/ChangeLog index d63cbc2b84..33ae9043dd 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +2007-01-08 Kai Tietz <kai.tietz@onevision.com> + + * configure.in: Renamed target x86_64-*-mingw64 to + x86_64-*-mingw*. + * configure: Regenerated. + 2007-01-05 Alan Modra <amodra@bigpond.net.au> * readelf.c (dump_section): Don't print 32-bit values, which diff --git a/binutils/configure b/binutils/configure index eaddc74639..fd0d32b0d9 100755 --- a/binutils/configure +++ b/binutils/configure @@ -8653,7 +8653,7 @@ do DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM" BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)' ;; - x86_64-*-mingw64*) + x86_64-*-mingw*) BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)' DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MX86_64" BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)' diff --git a/binutils/configure.in b/binutils/configure.in index bf950518b8..40369530a0 100644 --- a/binutils/configure.in +++ b/binutils/configure.in @@ -264,7 +264,7 @@ changequote([,])dnl DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM" BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)' ;; - x86_64-*-mingw64*) + x86_64-*-mingw*) BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)' DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MX86_64" BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)' diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index ca065c273e..966222bb4e 100644 --- a/binutils/testsuite/ChangeLog +++ b/binutils/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2007-01-08 Kai Tietz <kai.tietz@onevision.com> + + * copy-3.d: Renamed target x86_64-*-mingw64 to x86_64-*-mingw* + * dlltool.exp: Dito + * lang.rc: Dito + * strtab1.rc: Dito + * windres.exp: Dito + 2006-09-20 Kai Tietz <Kai.Tietz@onevision.com> * binutils-all/copy-3.d: Add support for target x86_64-pc-mingw64. diff --git a/binutils/testsuite/binutils-all/copy-3.d b/binutils/testsuite/binutils-all/copy-3.d index 4bea36f74b..1b07817cd2 100644 --- a/binutils/testsuite/binutils-all/copy-3.d +++ b/binutils/testsuite/binutils-all/copy-3.d @@ -3,7 +3,7 @@ #objcopy: --set-section-flags .text=alloc,data #name: copy with setting section flags 3 #source: bintest.s -#not-target: *-*-aout *-*-*pe *-*-*coff i*86-*-cygwin* i*86-*-mingw32* x86_64-*-mingw64* +#not-target: *-*-aout *-*-*pe *-*-*coff i*86-*-cygwin* i*86-*-mingw32* x86_64-*-mingw* # The .text # section in PE/COFF has a fixed set of flags and these # cannot be changed. We skip it for them. diff --git a/binutils/testsuite/binutils-all/dlltool.exp b/binutils/testsuite/binutils-all/dlltool.exp index 96b678230f..af0145d48d 100644 --- a/binutils/testsuite/binutils-all/dlltool.exp +++ b/binutils/testsuite/binutils-all/dlltool.exp @@ -14,14 +14,14 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. -if {![istarget "i*86-*-*"] && ![istarget "x86_64-*-mingw64*"] } { +if {![istarget "i*86-*-*"] && ![istarget "x86_64-*-mingw*"] } { return } if {![istarget "i*86-*-*pe*"] \ && ![istarget "i*86-*-cygwin*"] \ && ![istarget "i*86-*-mingw32*"] \ - && ![istarget "x86_64-*-mingw64*"] } { + && ![istarget "x86_64-*-mingw*"] } { set target_xfail "yes" } else { set target_xfail "no" diff --git a/binutils/testsuite/binutils-all/windres/lang.rc b/binutils/testsuite/binutils-all/windres/lang.rc index f3da1057ad..11a4d06b94 100644 --- a/binutils/testsuite/binutils-all/windres/lang.rc +++ b/binutils/testsuite/binutils-all/windres/lang.rc @@ -1,4 +1,4 @@ -//#xfail *-*-mingw64 +//#xfail x86_64-*-mingw* #include "windows.h" LANGUAGE 0, 0 diff --git a/binutils/testsuite/binutils-all/windres/strtab1.rc b/binutils/testsuite/binutils-all/windres/strtab1.rc index 48fd107631..416d157f1c 100644 --- a/binutils/testsuite/binutils-all/windres/strtab1.rc +++ b/binutils/testsuite/binutils-all/windres/strtab1.rc @@ -1,4 +1,4 @@ -//#xfail *-*-mingw64 +//#xfail x86_64-*-mingw* #include "windows.h" LANGUAGE 0, 0 diff --git a/binutils/testsuite/binutils-all/windres/windres.exp b/binutils/testsuite/binutils-all/windres/windres.exp index 2c836b8a37..eb825d0f73 100644 --- a/binutils/testsuite/binutils-all/windres/windres.exp +++ b/binutils/testsuite/binutils-all/windres/windres.exp @@ -19,14 +19,14 @@ # Written by DJ Delorie <dj@redhat.com> -if {![istarget "i*86-*-*"] && ![istarget "x86_64-*-mingw64"] } { +if {![istarget "i*86-*-*"] && ![istarget "x86_64-*-mingw*"] } { return } if {![istarget "i*86-*-*pe*"] \ && ![istarget "i*86-*-cygwin*"] \ && ![istarget "i*86-*-mingw32*"] \ - && ![istarget "x86_64-*-mingw64*"] } { + && ![istarget "x86_64-*-mingw*"] } { set target_xfail "yes" } else { set target_xfail "no" diff --git a/gas/ChangeLog b/gas/ChangeLog index 7b9c20e5ab..3b7a57a9c5 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2007-01-08 Kai Tietz <kai.tietz@onevision.com> + + * configure.tgt: Renamed target x86_64-*-mingw64 to x86_64-*-mingw* + 2007-01-05 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (set_intel_syntax): Update set_intel_syntax diff --git a/gas/configure.tgt b/gas/configure.tgt index e4cfa1e375..8650dac780 100644 --- a/gas/configure.tgt +++ b/gas/configure.tgt @@ -212,8 +212,11 @@ case ${generic_target} in i386-*-pe) fmt=coff em=pe ;; i386-*-cygwin*) fmt=coff em=pe ;; i386-*-interix*) fmt=coff em=interix ;; - i386-*-mingw32*) fmt=coff em=pe ;; - i386-*-mingw64*) fmt=coff em=pep ;; + i386-*-mingw*) + case ${cpu} in + x86_64*) fmt=coff em=pep ;; + i*) fmt=coff em=pe ;; + esac ;; i386-*-nto-qnx*) fmt=elf ;; i386-*-*nt*) fmt=coff em=pe ;; i386-*-chaos) fmt=elf ;; diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index df0a747fa9..fda071e8a9 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2007-01-08 Kai Tietz <kai.tietz@onevision.com> + + * gas/all/gas.exp: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*. + * gas/i386/i386.exp: Ditto. + 2007-01-04 Paul Brook <paul@codesourcery.com> * gas/arm/archv6.s: Add more cpsie tests. diff --git a/gas/testsuite/gas/all/gas.exp b/gas/testsuite/gas/all/gas.exp index adaa486620..294d091818 100644 --- a/gas/testsuite/gas/all/gas.exp +++ b/gas/testsuite/gas/all/gas.exp @@ -207,7 +207,7 @@ if { ([istarget *-*-coff*] && ![istarget *arm*-*-coff] && ![istarget thumb*-*- || [istarget i*86-*-isc*] \ || [istarget i*86-*-go32*] \ || [istarget i*86-*-cygwin*] \ - || [istarget x86_64-*-mingw64*] \ + || [istarget x86_64-*-mingw*] \ || [istarget i*86-*-*nt] \ || [istarget i*86-*-interix*] \ || ([istarget i960-*-vxworks5.*] && ![istarget i960-*-vxworks5.0*]) } { diff --git a/gas/testsuite/gas/i386/i386.exp b/gas/testsuite/gas/i386/i386.exp index 159465395b..1f141f252e 100644 --- a/gas/testsuite/gas/i386/i386.exp +++ b/gas/testsuite/gas/i386/i386.exp @@ -164,7 +164,7 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_64_check]] t run_dump_test "x86-64-io-suffix" run_dump_test "x86-64-gidt" run_dump_test "x86-64-nops" - if ![istarget "*-*-mingw64*"] then { + if ![istarget "x86_64-*-mingw*"] then { run_dump_test "x86-64-nops-1" } run_dump_test "x86-64-nops-1-k8" diff --git a/ld/ChangeLog b/ld/ChangeLog index d3e3eaf4ce..116c8aa590 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2007-01-08 Kai Tietz <kai.tietz@onevision.com> + + * configure.tgt: Renamed target x86_64-*-mingw64 to + x86_64-*-mingw*. + 2007-01-08 Pedro Alves <pedro_alves@portugalmail.pt> * configure.host: Add i[3-7]86-*-mingw* case. diff --git a/ld/configure.tgt b/ld/configure.tgt index d1fc690377..86232354f4 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -239,7 +239,7 @@ i[3-7]86-*-cygwin*) targ_emul=i386pe ; test "$targ" != "$host" && LIB_PATH='${tooldir}/lib/w32api' ;; i[3-7]86-*-mingw32*) targ_emul=i386pe ; targ_extra_ofiles="deffilep.o pe-dll.o" ;; -x86_64-*-mingw64*) targ_emul=i386pep ; +x86_64-*-mingw*) targ_emul=i386pep ; targ_extra_ofiles="deffilep.o pep-dll.o" ;; i[3-7]86-*-interix*) targ_emul=i386pe_posix; targ_extra_ofiles="deffilep.o pe-dll.o" ;; diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index e7ac70c60e..769db911be 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,13 @@ +2007-01-08 Kai Tietz <kai.tietz@onevision.com> + + * ld-fastcall/fastcall.exp: Renamed target x86_64-*-mingw64 to + x86_64-*-mingw*. + * ld-pe/pe.exp: Ditto. + * ld-scripts/align.exp: Ditto. + * ld-scripts/defined.exp: Ditto. + * ld-scripts/provide.exp: Ditto. + * ld-scripts/weak.exp: Ditto. + 2007-01-06 Nathan Sidwell <nathan@codesourcery.com> * ld-scripts/expr.exp: New. diff --git a/ld/testsuite/ld-fastcall/fastcall.exp b/ld/testsuite/ld-fastcall/fastcall.exp index b613625ea0..66ad72e93f 100644 --- a/ld/testsuite/ld-fastcall/fastcall.exp +++ b/ld/testsuite/ld-fastcall/fastcall.exp @@ -17,13 +17,13 @@ set testname "ld (fastcall symbols)" -if {![istarget "i*86-*-*"] && ![istarget "x86_64-*-mingw64*"] } { +if {![istarget "i*86-*-*"] && ![istarget "x86_64-*-mingw*"] } { return } if { !([istarget "i*86-*-*pe*"] && ![istarget "i*86-*-opensd*"]) \ && ![istarget "i*86-*-cygwin*"] \ - && ![istarget "x86_64-*-mingw64"] \ + && ![istarget "x86_64-*-mingw*"] \ && ![istarget "i*86-*-mingw*"] } { return } diff --git a/ld/testsuite/ld-pe/pe.exp b/ld/testsuite/ld-pe/pe.exp index 53440d1981..8657f221c8 100644 --- a/ld/testsuite/ld-pe/pe.exp +++ b/ld/testsuite/ld-pe/pe.exp @@ -21,7 +21,7 @@ if { ![istarget i*86-*-cygwin*]
&& ![istarget i*86-*-pe]
&& ![istarget i*86-*-mingw*]
- && ![istarget x86_64-*-mingw64*]
+ && ![istarget x86_64-*-mingw*]
&& ![istarget arm-wince-pe] } {
return
}
diff --git a/ld/testsuite/ld-scripts/align.exp b/ld/testsuite/ld-scripts/align.exp index 25d4d3e176..8c97d3bcc8 100644 --- a/ld/testsuite/ld-scripts/align.exp +++ b/ld/testsuite/ld-scripts/align.exp @@ -30,10 +30,10 @@ if ![ld_assemble $as $srcdir/$subdir/align.s tmpdir/align.o] { } # Doesn't work on PECOFF, appears to be a genuine bug. -# mingw64 targets need to set the image base to 0 to avoid auto image-basing. +# mingw on x86_64 targets need to set the image base to 0 to avoid auto image-basing. global LDFLAGS set saved_LDFLAGS "$LDFLAGS" -if [istarget "*-*-mingw64*"] then { +if [istarget "x86_64-*-mingw*"] then { set LDFLAGS "$LDFLAGS --image-base 0" } else { if [is_pecoff_format] { diff --git a/ld/testsuite/ld-scripts/defined.exp b/ld/testsuite/ld-scripts/defined.exp index d02b909903..13e8d5a67a 100644 --- a/ld/testsuite/ld-scripts/defined.exp +++ b/ld/testsuite/ld-scripts/defined.exp @@ -27,7 +27,7 @@ if ![ld_assemble $as $srcdir/$subdir/defined.s tmpdir/def.o] { global LDFLAGS set saved_LDFLAGS "$LDFLAGS" -if [istarget "*-*-mingw64*"] then { +if [istarget "x86_64-*-mingw*"] then { set LDFLAGS "$LDFLAGS --image-base 0" } diff --git a/ld/testsuite/ld-scripts/provide.exp b/ld/testsuite/ld-scripts/provide.exp index 7d755a048b..46915978ac 100644 --- a/ld/testsuite/ld-scripts/provide.exp +++ b/ld/testsuite/ld-scripts/provide.exp @@ -31,7 +31,7 @@ if {[istarget "rs6000-*-aix*"] || [is_aout_format]} { global LDFLAGS set saved_LDFLAGS "$LDFLAGS" -if [istarget "*-*-mingw64*"] then { +if [istarget "x86_64-*-mingw*"] then { set LDFLAGS "$LDFLAGS --image-base 0" } diff --git a/ld/testsuite/ld-scripts/weak.exp b/ld/testsuite/ld-scripts/weak.exp index 9ea9ff6c92..c70bbf2627 100644 --- a/ld/testsuite/ld-scripts/weak.exp +++ b/ld/testsuite/ld-scripts/weak.exp @@ -29,7 +29,7 @@ if {! [is_elf_format] && ! [is_pecoff_format]} { # Weak symbols are broken for non-i386 PE targets. if {! [istarget i?86-*-*]} { setup_xfail *-*-pe* - setup_xfail *-*-mingw64* + setup_xfail x86_64-*-mingw* } # hppa64 and or32 are incredibly broken @@ -44,7 +44,7 @@ if {! [ld_assemble $as $srcdir/$subdir/weak1.s tmpdir/weak1.o] global LDFLAGS set saved_LDFLAGS "$LDFLAGS" -if [istarget "*-*-mingw64*"] then { +if [istarget "x86_64-*-mingw*"] then { set LDFLAGS "$LDFLAGS --image-base 0" } |