This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
gas testsuite tweak
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sources dot redhat dot com
- Date: Fri, 31 Dec 2004 09:10:53 +1030
- Subject: gas testsuite tweak
Another test that is confused by multiple reloc sections.
* gas/elf/elf.exp: Don't list reloc sections.
* gas/elf/section5.e: Remove reloc sections.
Index: gas/testsuite/gas/elf/elf.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/elf/elf.exp,v
retrieving revision 1.26
diff -u -p -r1.26 elf.exp
--- gas/testsuite/gas/elf/elf.exp 16 Dec 2004 13:23:22 -0000 1.26
+++ gas/testsuite/gas/elf/elf.exp 30 Dec 2004 22:06:18 -0000
@@ -60,7 +60,7 @@ if { ([istarget "*-*-*elf*"]
run_list_test "section2" "$target_machine" "-al" "-s" ""
run_dump_test "section3"
run_dump_test "section4"
- run_list_test "section5" "" "-al" "-SW" "| grep \"\\\\.test\\\[\\\[:digit:\\\]\\\]\""
+ run_list_test "section5" "" "-al" "-SW" "| grep \" \\\\.test\\\[\\\[:digit:\\\]\\\]\""
run_dump_test "symver"
run_list_test "type" "" "" "-s" "| grep \"1 \\\[FONT\\\]\""
}
Index: gas/testsuite/gas/elf/section5.e
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/elf/section5.e,v
retrieving revision 1.2
diff -u -p -r1.2 section5.e
--- gas/testsuite/gas/elf/section5.e 21 Dec 2004 13:09:55 -0000 1.2
+++ gas/testsuite/gas/elf/section5.e 30 Dec 2004 22:06:18 -0000
@@ -1,8 +1,5 @@
.* \.test0[ ]+PROGBITS[ ]+[0-9a-fA-F]+[ ]+[0-9a-fA-F]+[ ]+[0-9a-fA-F]+[ ]+[0-9a-fA-F]+[ ]+[ ]+[0-9]+.*
.* \.test1[ ]+PROGBITS[ ]+[0-9a-fA-F]+[ ]+[0-9a-fA-F]+[ ]+[0-9a-fA-F]+[ ]+[0-9a-fA-F]+[ ]+[ ]+[0-9]+.*
-.* \.rela?\.test1[ ]+RELA?[ ]+.*
.* \.test2[ ]+PROGBITS[ ]+[0-9a-fA-F]+[ ]+[0-9a-fA-F]+[ ]+[0-9a-fA-F]+[ ]+[0-9a-fA-F]+[ ]+[ ]+[0-9]+.*
-.* \.rela?\.test2[ ]+RELA?[ ]+.*
.* \.test3[ ]+PROGBITS[ ]+[0-9a-fA-F]+[ ]+[0-9a-fA-F]+[ ]+[0-9a-fA-F]+[ ]+[0-9a-fA-F]+[ ]+WA[ ]+[0-9]+.*
-.* \.rela?\.test3[ ]+RELA?[ ]+.*
.* \.test4[ ]+NOBITS[ ]+[0-9a-fA-F]+[ ]+[0-9a-fA-F]+[ ]+[0-9a-fA-F]+[ ]+[0-9a-fA-F]+[ ]+WA[ ]+[0-9]+.*
--
Alan Modra
IBM OzLabs - Linux Technology Centre