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]

xtensa vs automatic section group test


xtensa adds a property section to the group, so we don't get expected
output.

	* gas/elf/elf.exp (groupautob): Don't run on xtensa.
	* gas/elf/groupautoa.d: Change test name.
	* gas/elf/groupautob.d: Change test name.

Index: gas/testsuite/gas/elf/elf.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/elf/elf.exp,v
retrieving revision 1.68
diff -u -p -r1.68 elf.exp
--- gas/testsuite/gas/elf/elf.exp	23 Oct 2010 18:05:09 -0000	1.68
+++ gas/testsuite/gas/elf/elf.exp	28 Oct 2010 03:49:31 -0000
@@ -108,7 +108,12 @@ if { ([istarget "*-*-*elf*"]
     run_dump_test "group1a"
     run_dump_test "group1b"
     run_dump_test "groupautoa"
-    run_dump_test "groupautob"
+    case $target_triplet in {
+	{ xtensa*-*-* } { }
+	default {
+	    run_dump_test "groupautob"
+	}
+    }
     case $target_triplet in {
 	{ alpha*-*-* } { }
 	{ cr16*-*-* } { }
Index: gas/testsuite/gas/elf/groupautoa.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/elf/groupautoa.d,v
retrieving revision 1.2
diff -u -p -r1.2 groupautoa.d
--- gas/testsuite/gas/elf/groupautoa.d	23 Oct 2010 18:05:09 -0000	1.2
+++ gas/testsuite/gas/elf/groupautoa.d	28 Oct 2010 03:49:31 -0000
@@ -1,5 +1,5 @@
 #readelf: -SW
-#name: automatic section group
+#name: automatic section group a
 #source: groupauto.s
 
 #...
Index: gas/testsuite/gas/elf/groupautob.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/elf/groupautob.d,v
retrieving revision 1.2
diff -u -p -r1.2 groupautob.d
--- gas/testsuite/gas/elf/groupautob.d	23 Oct 2010 18:05:09 -0000	1.2
+++ gas/testsuite/gas/elf/groupautob.d	28 Oct 2010 03:49:31 -0000
@@ -1,5 +1,5 @@
 #readelf: -g
-#name: automatic section group
+#name: automatic section group b
 #source: groupauto.s
 
 #...

-- 
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]