diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2001-08-10 20:38:33 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2001-08-10 20:38:33 +0000 |
commit | db1c0ae754021c56ee70c7ec20025d7474fd5adf (patch) | |
tree | ae86d9300387c580ff6f305c86ee7061c9353cd2 /gas/testsuite | |
parent | 1e1b3bc252a7e9765d9fe70c5da4fb1b1e867928 (diff) | |
download | gdb-db1c0ae754021c56ee70c7ec20025d7474fd5adf.zip gdb-db1c0ae754021c56ee70c7ec20025d7474fd5adf.tar.gz gdb-db1c0ae754021c56ee70c7ec20025d7474fd5adf.tar.bz2 |
2001-08-10 H.J. Lu <hjl@gnu.org>
* 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.
Diffstat (limited to 'gas/testsuite')
22 files changed, 62 insertions, 34 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 81aa9f5..d411abc 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,32 @@ +2001-08-10 H.J. Lu <hjl@gnu.org> + + * 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 <rsandifo@redhat.com> * 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 cc49416..3983c7f 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 0e476ae..208c987 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 e322f70..9f3e998 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 10b6f8a..5524d1e 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 41eaf57..d73df8a 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 564fc03..cc5af56 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 <foo>: +0+00 <foo>: 0: 00850019 multu a0,a1 4: 00001012 mflo v0 8: 03e00008 jr ra c: 24420001 addiu v0,v0,1 -0000000000000010 <main>: +0+10 <main>: 10: 27bdffd8 addiu sp,sp,-40 14: afbf0020 sw ra,32\(sp\) 18: 0c000000 jal 0 <foo> diff --git a/gas/testsuite/gas/mips/elf_e_flags2.d b/gas/testsuite/gas/mips/elf_e_flags2.d index 2752857..30dabe3 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 <foo>: +0+00 <foo>: 0: 70851002 mul v0,a0,a1 4: 03e00008 jr ra 8: 24420001 addiu v0,v0,1 -000000000000000c <main>: +0+0c <main>: c: 27bdffd8 addiu sp,sp,-40 10: afbf0020 sw ra,32\(sp\) 14: 0c000000 jal 0 <foo> diff --git a/gas/testsuite/gas/mips/elf_e_flags3.d b/gas/testsuite/gas/mips/elf_e_flags3.d index 9ba5042..bc5fcd4 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 <foo>: +0+00 <foo>: 0: 70851002 mul v0,a0,a1 4: 03e00008 jr ra 8: 24420001 addiu v0,v0,1 -000000000000000c <main>: +0+0c <main>: c: 27bdffd8 addiu sp,sp,-40 10: afbf0020 sw ra,32\(sp\) 14: 0c000000 jal 0 <foo> diff --git a/gas/testsuite/gas/mips/elf_e_flags4.d b/gas/testsuite/gas/mips/elf_e_flags4.d index 9ba5042..bc5fcd4 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 <foo>: +0+00 <foo>: 0: 70851002 mul v0,a0,a1 4: 03e00008 jr ra 8: 24420001 addiu v0,v0,1 -000000000000000c <main>: +0+0c <main>: c: 27bdffd8 addiu sp,sp,-40 10: afbf0020 sw ra,32\(sp\) 14: 0c000000 jal 0 <foo> diff --git a/gas/testsuite/gas/mips/elfel-rel.d b/gas/testsuite/gas/mips/elfel-rel.d index b3fc4fa..b619893 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 8cca7f0..9e16c94 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 f630d4b..de08d43 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 46d9a65..c54c198 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 ffb4fe1..678b470 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 1161956..13788fd 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 69df307..ec39651 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 d0eadb1..969d259 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 db4a8c0..1667ce1 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 0f1ad8b..3539bd6 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 a14b461..8847fe4 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 5a6bedf..107902e 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 |