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]

Re: PATCH: Xfail dw2-compress-2 and x86-64-dw2-compress-2


On Wed, Jul 28, 2010 at 09:00:04AM -0700, H.J. Lu wrote:
> Binutils can't handle compressed debug sections. I checked in this patch
> to xfail dw2-compress-2 and x86-64-dw2-compress-2.

Some further tweaks.  dw2-compress-1 won't run on i386-linuxoldld
or i386-linuxaout, and I think the other two don't need to be
restricted to linux.

	* gas/i386/i386.exp (dw2-compress-1): Only run on ELF targets.
	(dw2-compress-2, x86-64-dw2-compress-2): Remove unnecessary linux
	target test.

Index: gas/testsuite/gas/i386/i386.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/i386/i386.exp,v
retrieving revision 1.144
diff -u -p -r1.144 i386.exp
--- gas/testsuite/gas/i386/i386.exp	28 Jul 2010 15:59:05 -0000	1.144
+++ gas/testsuite/gas/i386/i386.exp	2 Aug 2010 08:34:40 -0000
@@ -214,10 +214,8 @@ if [expr ([istarget "i*86-*-*"] ||  [ist
 	run_dump_test "localpic"
 	run_dump_test "debug1"
 
-	if [expr [istarget "*-*-linux*"]] then {
-	    setup_xfail "*-*-linux*"
-	    run_dump_test "dw2-compress-2"
-	}
+	setup_xfail "*-*-*"
+	run_dump_test "dw2-compress-2"
     }
 
     # This is a PE specific test.
@@ -240,8 +238,6 @@ if [expr [istarget "i*86-*-*"] || [istar
 	run_list_test_stdin "list-1" "-al"
 	run_list_test_stdin "list-2" "-al"
 	run_list_test_stdin "list-3" "-al"
-    }
-    if [expr [istarget "*-*-linux*"]] then {
 	run_dump_test "dw2-compress-1"
     }
 }
@@ -407,10 +403,8 @@ if [expr ([istarget "i*86-*-*"] || [ista
 	run_dump_test "x86-64-localpic"
 	run_dump_test "debug1"
 
-	if [istarget "*-*-linux*"] then {
-	    setup_xfail "*-*-linux*"
-	    run_dump_test "x86-64-dw2-compress-2"
-	}
+	setup_xfail "*-*-*"
+	run_dump_test "x86-64-dw2-compress-2"
     }
 
     set ASFLAGS "$old_ASFLAGS"

-- 
Alan Modra
Australia Development Lab, IBM


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