From db1c0ae754021c56ee70c7ec20025d7474fd5adf Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 10 Aug 2001 20:38:33 +0000 Subject: [PATCH] 2001-08-10 H.J. Lu * gas/mips/e32-rel2.d: Updated for the objdump output change. * gas/mips/e32el-rel2.d: Likewise. * gas/mips/elf-rel.d: Likewise. * gas/mips/elf-rel2.d: Likewise. * gas/mips/elf-rel3.d: Likewise. * gas/mips/elf_e_flags1.d: Likewise. * gas/mips/elf_e_flags2.d: Likewise. * gas/mips/elf_e_flags3.d: Likewise. * gas/mips/elf_e_flags4.d: Likewise. * gas/mips/elfel-rel.d: Likewise. * gas/mips/elfel-rel2.d: Likewise. * gas/mips/elfel-rel3.d: Likewise. * gas/mips/empic.d: Likewise. * gas/mips/mips16-e.d: Likewise. * gas/mips/mips16-f.d: Likewise. * gas/mips/mipsel16-f.d: Likewise. * gas/mips/telempic.d: Likewise. * gas/mips/tempic.d: Likewise. * gas/mips/tmips16-e.d: Likewise. * gas/mips/tmipsel16-e.d: Likewise. * gas/mips/mips16-f.d: Fix the symbol table output. * gas/mips/mipsel16-f.d: Fix the endian. * gas/mips/mips.exp; Don't xfail mips16-f/mipsel16-f. --- gas/testsuite/ChangeLog | 29 +++++++++++++++++++++++++++ gas/testsuite/gas/mips/e32-rel2.d | 2 +- gas/testsuite/gas/mips/e32el-rel2.d | 2 +- gas/testsuite/gas/mips/elf-rel.d | 2 +- gas/testsuite/gas/mips/elf-rel2.d | 2 +- gas/testsuite/gas/mips/elf-rel3.d | 2 +- gas/testsuite/gas/mips/elf_e_flags1.d | 6 +++--- gas/testsuite/gas/mips/elf_e_flags2.d | 6 +++--- gas/testsuite/gas/mips/elf_e_flags3.d | 6 +++--- gas/testsuite/gas/mips/elf_e_flags4.d | 6 +++--- gas/testsuite/gas/mips/elfel-rel.d | 2 +- gas/testsuite/gas/mips/elfel-rel2.d | 2 +- gas/testsuite/gas/mips/elfel-rel3.d | 2 +- gas/testsuite/gas/mips/empic.d | 4 ++-- gas/testsuite/gas/mips/mips.exp | 1 - gas/testsuite/gas/mips/mips16-e.d | 2 +- gas/testsuite/gas/mips/mips16-f.d | 4 ++-- gas/testsuite/gas/mips/mipsel16-f.d | 4 ++-- gas/testsuite/gas/mips/telempic.d | 4 ++-- gas/testsuite/gas/mips/tempic.d | 4 ++-- gas/testsuite/gas/mips/tmips16-e.d | 2 +- gas/testsuite/gas/mips/tmipsel16-e.d | 2 +- 22 files changed, 62 insertions(+), 34 deletions(-) diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 81aa9f5e400..d411abccddd 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,32 @@ +2001-08-10 H.J. Lu + + * gas/mips/e32-rel2.d: Updated for the objdump output change. + * gas/mips/e32el-rel2.d: Likewise. + * gas/mips/elf-rel.d: Likewise. + * gas/mips/elf-rel2.d: Likewise. + * gas/mips/elf-rel3.d: Likewise. + * gas/mips/elf_e_flags1.d: Likewise. + * gas/mips/elf_e_flags2.d: Likewise. + * gas/mips/elf_e_flags3.d: Likewise. + * gas/mips/elf_e_flags4.d: Likewise. + * gas/mips/elfel-rel.d: Likewise. + * gas/mips/elfel-rel2.d: Likewise. + * gas/mips/elfel-rel3.d: Likewise. + * gas/mips/empic.d: Likewise. + * gas/mips/mips16-e.d: Likewise. + * gas/mips/mips16-f.d: Likewise. + * gas/mips/mipsel16-f.d: Likewise. + * gas/mips/telempic.d: Likewise. + * gas/mips/tempic.d: Likewise. + * gas/mips/tmips16-e.d: Likewise. + * gas/mips/tmipsel16-e.d: Likewise. + + * gas/mips/mips16-f.d: Fix the symbol table output. + + * gas/mips/mipsel16-f.d: Fix the endian. + + * gas/mips/mips.exp; Don't xfail mips16-f/mipsel16-f. + 2001-08-10 Richard Sandiford * gas/mips/mips-gp32-fp32.d: Expect addu rather than or for moves. diff --git a/gas/testsuite/gas/mips/e32-rel2.d b/gas/testsuite/gas/mips/e32-rel2.d index cc494164cf6..3983c7fd6f9 100644 --- a/gas/testsuite/gas/mips/e32-rel2.d +++ b/gas/testsuite/gas/mips/e32-rel2.d @@ -9,7 +9,7 @@ .*: file format elf.*mips RELOCATION RECORDS FOR \[\.text\]: -OFFSET TYPE VALUE +OFFSET [ ]+ TYPE VALUE 0+0000000 R_MIPS_LITERAL \.lit8\+0x0+0004000 0+0000004 R_MIPS_LITERAL \.lit8\+0x0+0004000 0+0000008 R_MIPS_LITERAL \.lit8\+0x0+0004000 diff --git a/gas/testsuite/gas/mips/e32el-rel2.d b/gas/testsuite/gas/mips/e32el-rel2.d index 0e476ae3190..208c987c6a1 100644 --- a/gas/testsuite/gas/mips/e32el-rel2.d +++ b/gas/testsuite/gas/mips/e32el-rel2.d @@ -9,7 +9,7 @@ .*: file format elf.*mips RELOCATION RECORDS FOR \[\.text\]: -OFFSET TYPE VALUE +OFFSET [ ]+ TYPE VALUE 0+0000000 R_MIPS_LITERAL \.lit8\+0x0+0004000 0+0000004 R_MIPS_LITERAL \.lit8\+0x0+0004000 0+0000008 R_MIPS_LITERAL \.lit8\+0x0+0004000 diff --git a/gas/testsuite/gas/mips/elf-rel.d b/gas/testsuite/gas/mips/elf-rel.d index e322f70f8ad..9f3e9989483 100644 --- a/gas/testsuite/gas/mips/elf-rel.d +++ b/gas/testsuite/gas/mips/elf-rel.d @@ -6,7 +6,7 @@ .*: file format elf.*mips RELOCATION RECORDS FOR \[\.text\]: -OFFSET TYPE VALUE +OFFSET [ ]+ TYPE VALUE 0+0000000 R_MIPS_HI16 \.text 0+0000018 R_MIPS_LO16 \.text 0+000000c R_MIPS_HI16 \.text diff --git a/gas/testsuite/gas/mips/elf-rel2.d b/gas/testsuite/gas/mips/elf-rel2.d index 10b6f8a53dc..5524d1e7324 100644 --- a/gas/testsuite/gas/mips/elf-rel2.d +++ b/gas/testsuite/gas/mips/elf-rel2.d @@ -8,7 +8,7 @@ .*: file format elf.*mips RELOCATION RECORDS FOR \[\.text\]: -OFFSET TYPE VALUE +OFFSET [ ]+ TYPE VALUE 0+0000000 R_MIPS_LITERAL \.lit8\+0x0+0004000 0+0000004 R_MIPS_LITERAL \.lit8\+0x0+0004000 0+0000008 R_MIPS_LITERAL \.lit8\+0x0+0004000 diff --git a/gas/testsuite/gas/mips/elf-rel3.d b/gas/testsuite/gas/mips/elf-rel3.d index 41eaf57338b..d73df8a7066 100644 --- a/gas/testsuite/gas/mips/elf-rel3.d +++ b/gas/testsuite/gas/mips/elf-rel3.d @@ -4,7 +4,7 @@ .*: file format elf.*mips RELOCATION RECORDS FOR \[\.data\]: -OFFSET TYPE VALUE +OFFSET [ ]+ TYPE VALUE 0+0000004 R_MIPS_32 b 0+0000008 R_MIPS_32 .data diff --git a/gas/testsuite/gas/mips/elf_e_flags1.d b/gas/testsuite/gas/mips/elf_e_flags1.d index 564fc038a1a..cc5af56cbbe 100644 --- a/gas/testsuite/gas/mips/elf_e_flags1.d +++ b/gas/testsuite/gas/mips/elf_e_flags1.d @@ -6,17 +6,17 @@ .*:.*file format.*mips.* architecture: mips:.*, flags 0x00000011: HAS_RELOC, HAS_SYMS -start address 0x0000000000000000 +start address 0x0+00 Disassembly of section .text: -0000000000000000 : +0+00 : 0: 00850019 multu a0,a1 4: 00001012 mflo v0 8: 03e00008 jr ra c: 24420001 addiu v0,v0,1 -0000000000000010
: +0+10
: 10: 27bdffd8 addiu sp,sp,-40 14: afbf0020 sw ra,32\(sp\) 18: 0c000000 jal 0 diff --git a/gas/testsuite/gas/mips/elf_e_flags2.d b/gas/testsuite/gas/mips/elf_e_flags2.d index 27528571f3e..30dabe38269 100644 --- a/gas/testsuite/gas/mips/elf_e_flags2.d +++ b/gas/testsuite/gas/mips/elf_e_flags2.d @@ -6,16 +6,16 @@ .*:.*file format.*mips.* architecture: mips:4650, flags 0x00000011: HAS_RELOC, HAS_SYMS -start address 0x0000000000000000 +start address 0x0+00 Disassembly of section .text: -0000000000000000 : +0+00 : 0: 70851002 mul v0,a0,a1 4: 03e00008 jr ra 8: 24420001 addiu v0,v0,1 -000000000000000c
: +0+0c
: c: 27bdffd8 addiu sp,sp,-40 10: afbf0020 sw ra,32\(sp\) 14: 0c000000 jal 0 diff --git a/gas/testsuite/gas/mips/elf_e_flags3.d b/gas/testsuite/gas/mips/elf_e_flags3.d index 9ba5042d062..bc5fcd47b39 100644 --- a/gas/testsuite/gas/mips/elf_e_flags3.d +++ b/gas/testsuite/gas/mips/elf_e_flags3.d @@ -6,16 +6,16 @@ .*:.*file format.*mips.* architecture: mips:4650, flags 0x00000011: HAS_RELOC, HAS_SYMS -start address 0x0000000000000000 +start address 0x0+00 Disassembly of section .text: -0000000000000000 : +0+00 : 0: 70851002 mul v0,a0,a1 4: 03e00008 jr ra 8: 24420001 addiu v0,v0,1 -000000000000000c
: +0+0c
: c: 27bdffd8 addiu sp,sp,-40 10: afbf0020 sw ra,32\(sp\) 14: 0c000000 jal 0 diff --git a/gas/testsuite/gas/mips/elf_e_flags4.d b/gas/testsuite/gas/mips/elf_e_flags4.d index 9ba5042d062..bc5fcd47b39 100644 --- a/gas/testsuite/gas/mips/elf_e_flags4.d +++ b/gas/testsuite/gas/mips/elf_e_flags4.d @@ -6,16 +6,16 @@ .*:.*file format.*mips.* architecture: mips:4650, flags 0x00000011: HAS_RELOC, HAS_SYMS -start address 0x0000000000000000 +start address 0x0+00 Disassembly of section .text: -0000000000000000 : +0+00 : 0: 70851002 mul v0,a0,a1 4: 03e00008 jr ra 8: 24420001 addiu v0,v0,1 -000000000000000c
: +0+0c
: c: 27bdffd8 addiu sp,sp,-40 10: afbf0020 sw ra,32\(sp\) 14: 0c000000 jal 0 diff --git a/gas/testsuite/gas/mips/elfel-rel.d b/gas/testsuite/gas/mips/elfel-rel.d index b3fc4fa4934..b619893da77 100644 --- a/gas/testsuite/gas/mips/elfel-rel.d +++ b/gas/testsuite/gas/mips/elfel-rel.d @@ -7,7 +7,7 @@ .*: file format elf.*mips RELOCATION RECORDS FOR \[\.text\]: -OFFSET TYPE VALUE +OFFSET [ ]+ TYPE VALUE 0+0000000 R_MIPS_HI16 \.text 0+0000018 R_MIPS_LO16 \.text 0+000000c R_MIPS_HI16 \.text diff --git a/gas/testsuite/gas/mips/elfel-rel2.d b/gas/testsuite/gas/mips/elfel-rel2.d index 8cca7f089cc..9e16c941330 100644 --- a/gas/testsuite/gas/mips/elfel-rel2.d +++ b/gas/testsuite/gas/mips/elfel-rel2.d @@ -9,7 +9,7 @@ .*: file format elf.*mips RELOCATION RECORDS FOR \[\.text\]: -OFFSET TYPE VALUE +OFFSET [ ]+ TYPE VALUE 0+0000000 R_MIPS_LITERAL \.lit8\+0x0+0004000 0+0000004 R_MIPS_LITERAL \.lit8\+0x0+0004000 0+0000008 R_MIPS_LITERAL \.lit8\+0x0+0004000 diff --git a/gas/testsuite/gas/mips/elfel-rel3.d b/gas/testsuite/gas/mips/elfel-rel3.d index f630d4b23a3..de08d43ec60 100644 --- a/gas/testsuite/gas/mips/elfel-rel3.d +++ b/gas/testsuite/gas/mips/elfel-rel3.d @@ -5,7 +5,7 @@ .*: file format elf.*mips RELOCATION RECORDS FOR \[\.data\]: -OFFSET TYPE VALUE +OFFSET [ ]+ TYPE VALUE 0+0000004 R_MIPS_32 b 0+0000008 R_MIPS_32 .data diff --git a/gas/testsuite/gas/mips/empic.d b/gas/testsuite/gas/mips/empic.d index 46d9a6518ff..c54c198ad5a 100644 --- a/gas/testsuite/gas/mips/empic.d +++ b/gas/testsuite/gas/mips/empic.d @@ -23,7 +23,7 @@ SYMBOL TABLE: RELOCATION RECORDS FOR \[\.text\]: -OFFSET TYPE VALUE +OFFSET [ ]+ TYPE VALUE 0+0000004 R_MIPS_GNU_REL16_S2 g1 0+000000c R_MIPS_GNU_REL16_S2 g2 0+0000014 R_MIPS_GNU_REL16_S2 g2 @@ -60,7 +60,7 @@ OFFSET TYPE VALUE RELOCATION RECORDS FOR \[\.foo\]: -OFFSET TYPE VALUE +OFFSET [ ]+ TYPE VALUE 0+0000004 R_MIPS_GNU_REL_HI16 g1 0+0000008 R_MIPS_GNU_REL_LO16 g1 0+000000c R_MIPS_GNU_REL_HI16 \.foo diff --git a/gas/testsuite/gas/mips/mips.exp b/gas/testsuite/gas/mips/mips.exp index ffb4fe12783..678b47090a4 100644 --- a/gas/testsuite/gas/mips/mips.exp +++ b/gas/testsuite/gas/mips/mips.exp @@ -160,7 +160,6 @@ if { [istarget mips*-*-*] } then { run_dump_test "${tmips}${el}empic" if { !$no_mips16 } { run_dump_test "${tmips}mips${el}16-e" - setup_xfail "mips*-*-*" run_dump_test "mips${el}16-f" } } diff --git a/gas/testsuite/gas/mips/mips16-e.d b/gas/testsuite/gas/mips/mips16-e.d index 1161956c0b8..13788fd13ed 100644 --- a/gas/testsuite/gas/mips/mips16-e.d +++ b/gas/testsuite/gas/mips/mips16-e.d @@ -19,7 +19,7 @@ SYMBOL TABLE: RELOCATION RECORDS FOR \[foo\]: -OFFSET TYPE VALUE +OFFSET [ ]+ TYPE VALUE 0+0000000 R_MIPS_32 l1 0+0000004 R_MIPS_32 l1 0+0000008 R_MIPS_32 L1.1 diff --git a/gas/testsuite/gas/mips/mips16-f.d b/gas/testsuite/gas/mips/mips16-f.d index 69df307cdfa..ec396516a0f 100644 --- a/gas/testsuite/gas/mips/mips16-f.d +++ b/gas/testsuite/gas/mips/mips16-f.d @@ -10,14 +10,14 @@ SYMBOL TABLE: 0+0000000 l d \.text 0+0000000 0+0000000 l d \.data 0+0000000 0+0000000 l d \.bss 0+0000000 +0+0000002 l \.text 0+0000000 0xf0 l1 0+0000000 l d foo 0+0000000 0+0000000 l d \.reginfo 0+0000000 0+0000000 l d \.(mdebug|pdr) 0+0000000 -0+0000002 l \.text 0+0000000 0xf0 l1 RELOCATION RECORDS FOR \[foo\]: -OFFSET TYPE VALUE +OFFSET [ ]+ TYPE VALUE 0+0000000 R_MIPS_32 l1 diff --git a/gas/testsuite/gas/mips/mipsel16-f.d b/gas/testsuite/gas/mips/mipsel16-f.d index d0eadb12208..969d2590107 100644 --- a/gas/testsuite/gas/mips/mipsel16-f.d +++ b/gas/testsuite/gas/mips/mipsel16-f.d @@ -18,7 +18,7 @@ SYMBOL TABLE: RELOCATION RECORDS FOR \[foo\]: -OFFSET TYPE VALUE +OFFSET [ ]+ TYPE VALUE 0+0000000 R_MIPS_32 l1 @@ -31,4 +31,4 @@ Contents of section \.reginfo: Contents of section \.(mdebug|pdr): #... Contents of section foo: - 0000 00000003 00000000 00000000 00000000 .* + 0000 03000000 00000000 00000000 00000000 .* diff --git a/gas/testsuite/gas/mips/telempic.d b/gas/testsuite/gas/mips/telempic.d index db4a8c03c8c..1667ce19a82 100644 --- a/gas/testsuite/gas/mips/telempic.d +++ b/gas/testsuite/gas/mips/telempic.d @@ -24,7 +24,7 @@ SYMBOL TABLE: RELOCATION RECORDS FOR \[\.text\]: -OFFSET TYPE VALUE +OFFSET [ ]+ TYPE VALUE 0+0000004 R_MIPS_GNU_REL16_S2 g1 0+000000c R_MIPS_GNU_REL16_S2 g2 0+0000014 R_MIPS_GNU_REL16_S2 g2 @@ -61,7 +61,7 @@ OFFSET TYPE VALUE RELOCATION RECORDS FOR \[\.foo\]: -OFFSET TYPE VALUE +OFFSET [ ]+ TYPE VALUE 0+0000004 R_MIPS_GNU_REL_HI16 g1 0+0000008 R_MIPS_GNU_REL_LO16 g1 0+000000c R_MIPS_GNU_REL_HI16 \.foo diff --git a/gas/testsuite/gas/mips/tempic.d b/gas/testsuite/gas/mips/tempic.d index 0f1ad8b4eb5..3539bd631bd 100644 --- a/gas/testsuite/gas/mips/tempic.d +++ b/gas/testsuite/gas/mips/tempic.d @@ -24,7 +24,7 @@ SYMBOL TABLE: RELOCATION RECORDS FOR \[\.text\]: -OFFSET TYPE VALUE +OFFSET [ ]+ TYPE VALUE 0+0000004 R_MIPS_GNU_REL16_S2 g1 0+000000c R_MIPS_GNU_REL16_S2 g2 0+0000014 R_MIPS_GNU_REL16_S2 g2 @@ -61,7 +61,7 @@ OFFSET TYPE VALUE RELOCATION RECORDS FOR \[\.foo\]: -OFFSET TYPE VALUE +OFFSET [ ]+ TYPE VALUE 0+0000004 R_MIPS_GNU_REL_HI16 g1 0+0000008 R_MIPS_GNU_REL_LO16 g1 0+000000c R_MIPS_GNU_REL_HI16 \.foo diff --git a/gas/testsuite/gas/mips/tmips16-e.d b/gas/testsuite/gas/mips/tmips16-e.d index a14b4617245..8847fe443c9 100644 --- a/gas/testsuite/gas/mips/tmips16-e.d +++ b/gas/testsuite/gas/mips/tmips16-e.d @@ -20,7 +20,7 @@ SYMBOL TABLE: RELOCATION RECORDS FOR \[foo\]: -OFFSET TYPE VALUE +OFFSET [ ]+ TYPE VALUE 0+0000000 R_MIPS_32 l1 0+0000004 R_MIPS_32 l1 0+0000008 R_MIPS_32 L1.1 diff --git a/gas/testsuite/gas/mips/tmipsel16-e.d b/gas/testsuite/gas/mips/tmipsel16-e.d index 5a6bedf44e9..107902ed680 100644 --- a/gas/testsuite/gas/mips/tmipsel16-e.d +++ b/gas/testsuite/gas/mips/tmipsel16-e.d @@ -20,7 +20,7 @@ SYMBOL TABLE: RELOCATION RECORDS FOR \[foo\]: -OFFSET TYPE VALUE +OFFSET [ ]+ TYPE VALUE 0+0000000 R_MIPS_32 l1 0+0000004 R_MIPS_32 l1 0+0000008 R_MIPS_32 L1.1 -- 2.30.2