Add x86_64-mingw64 target

This commit is contained in:
Nick Clifton
2006-09-20 11:35:11 +00:00
parent a8bbe5b03e
commit 99ad839030
78 changed files with 3806 additions and 157 deletions

View File

@ -1,3 +1,13 @@
2006-09-20 Kai Tietz <Kai.Tietz@onevision.com>
* binutils-all/copy-3.d: Add support for target x86_64-pc-mingw64.
* binutils-all/dlltool.exp: Likewise.
* binutils-all/objcopy.exp: Likewise.
* binutils-all/windres/windres.exp: Likewise.
* binutils-all/windres/lang.rc: xfail it as long as there is no windows.h.
* binutils-all/windres/strtab1.rc: Likewise.
* lib/utils-lib.exp: Adjust executable prefix detection (as .exe).
2006-09-14 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/3181

View File

@ -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*
#not-target: *-*-aout *-*-*pe *-*-*coff i*86-*-cygwin* i*86-*-mingw32* x86_64-*-mingw64*
# The .text # section in PE/COFF has a fixed set of flags and these
# cannot be changed. We skip it for them.

View File

@ -1,4 +1,4 @@
# Copyright 2002, 2004 Free Software Foundation, Inc.
# Copyright 2002, 2004, 2006 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -14,13 +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-*-*"]} {
if {![istarget "i*86-*-*"] && ![istarget "x86_64-*-mingw64*"] } {
return
}
if {![istarget "i*86-*-*pe*"] \
&& ![istarget "i*86-*-cygwin*"] \
&& ![istarget "i*86-*-mingw32*"] } {
&& ![istarget "i*86-*-mingw32*"] \
&& ![istarget "x86_64-*-mingw64*"] } {
set target_xfail "yes"
} else {
set target_xfail "no"

View File

@ -1,5 +1,5 @@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
# 2004
# 2004, 2006
# Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
@ -443,7 +443,7 @@ strip_test_with_saving_a_symbol
# Build a final executable.
if { [istarget *-*-cygwin] || [istarget *-*-mingw32] } {
if { [istarget *-*-cygwin] || [istarget *-*-mingw*] } {
set test_prog "testprog.exe"
} else {
set test_prog "testprog"

View File

@ -1,3 +1,4 @@
//#xfail *-*-mingw64
#include "windows.h"
LANGUAGE 0, 0

View File

@ -1,3 +1,4 @@
//#xfail *-*-mingw64
#include "windows.h"
LANGUAGE 0, 0

View File

@ -1,4 +1,4 @@
# Copyright 2001, 2003, 2004 Free Software Foundation, Inc.
# Copyright 2001, 2003, 2004, 2006 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -19,13 +19,14 @@
# Written by DJ Delorie <dj@redhat.com>
if {![istarget "i*86-*-*"]} {
if {![istarget "i*86-*-*"] && ![istarget "x86_64-*-mingw64"] } {
return
}
if {![istarget "i*86-*-*pe*"] \
&& ![istarget "i*86-*-cygwin*"] \
&& ![istarget "i*86-*-mingw32*"] } {
&& ![istarget "i*86-*-mingw32*"] \
&& ![istarget "x86_64-*-mingw64*"] } {
set target_xfail "yes"
} else {
set target_xfail "no"

View File

@ -1,4 +1,4 @@
# Copyright 1993, 1994, 1995, 1996, 1997, 2000, 2001, 2003, 2004
# Copyright 1993, 1994, 1995, 1996, 1997, 2000, 2001, 2003, 2004, 2006
# Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
@ -161,7 +161,7 @@ proc is_elf_format {} {
# Returns target executable extension, if any.
#
proc exe_ext {} {
if { [istarget *-*-mingw32] || [istarget *-*-cygwin*] } {
if { [istarget *-*-mingw*] || [istarget *-*-cygwin*] } {
return ".exe"
} else {
return ""