This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Enable some additionally testcases for mingw64


Hallo all,

In the ld testsuite there are some valid test-cases not activated. 
Therefore I suggest the following small patches to the tests fastcall, pe, 
and indirect via the ld-lib.exp to weak, weak-undef, and align.

Changes:
        * ld-fastcall/fastcall.exp:             Add x86_64-pc-mingw64 as 
valid target
        * ld-pe/pe.exp:                 Likewise
        * lib/ld-lib.exp:                       Add x86_64-pc-mingw64 
target as  pe-coff format ( is_pecoff_format)

Regards,
 i.A. Kai Tietz

The patch:

diff -rNbu -x CVS src/ld/testsuite/ld-fastcall/fastcall.exp 
src_conf/ld/testsuite/ld-fastcall/fastcall.exp
--- src/ld/testsuite/ld-fastcall/fastcall.exp   2006-09-20 
14:45:12.490377100 +0200
+++ src_conf/ld/testsuite/ld-fastcall/fastcall.exp      2006-09-21 
12:31:10.263462500 +0200
@@ -23,7 +23,8 @@
 
 if {  !([istarget "i*86-*-*pe*"] && ![istarget "i*86-*-opensd*"]) \
     && ![istarget "i*86-*-cygwin*"] \
-    && ![istarget "i*86-*-mingw*"] } {
+    && ![istarget "i*86-*-mingw*"] \
+    && ![istarget "x86_64-*-mingw64*"] } {
     return
 }
 
diff -rNbu -x CVS src/ld/testsuite/ld-pe/pe.exp 
src_conf/ld/testsuite/ld-pe/pe.exp
--- src/ld/testsuite/ld-pe/pe.exp       2006-08-06 17:04:20.000000000 
+0200
+++ src_conf/ld/testsuite/ld-pe/pe.exp  2006-09-21 12:33:12.476965700 
+0200
@@ -19,7 +19,7 @@
 
 # This test can only be run on PE/COFF platforms that support .secrel32.
 if { ![istarget i*86-*-cygwin*] && ![istarget i*86-*-pe]
-     && ![istarget i*86-*-mingw*] && ![istarget arm-wince-pe] } {
+     && ![istarget *-*-mingw*] && ![istarget arm-wince-pe] } {
     return
 }
 
diff -rNbu -x CVS src/ld/testsuite/lib/ld-lib.exp 
src_conf/ld/testsuite/lib/ld-lib.exp
--- src/ld/testsuite/lib/ld-lib.exp     2006-09-07 19:16:34.000000000 
+0200
+++ src_conf/ld/testsuite/lib/ld-lib.exp        2006-09-21 
12:36:16.383719500 +0200
@@ -434,7 +434,7 @@
 # True if the object format is known to be PE COFF.
 #
 proc is_pecoff_format {} {
-    if { ![istarget *-*-mingw32*] \
+    if { ![istarget *-*-mingw*] \
         && ![istarget *-*-cygwin*] \
         && ![istarget *-*-pe*] } {
        return 0


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]