From 03000689e2398afa60e6362dd4264c209f25fbf8 Mon Sep 17 00:00:00 2001 From: ths Date: Thu, 6 Sep 2001 20:02:19 +0000 Subject: [PATCH] * gas/mips/tmips16-f.d: New file, testcase for big endian MIPS16 relocations, tradtional variant. --- gas/testsuite/ChangeLog | 5 +++++ gas/testsuite/gas/mips/tmips16-f.d | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 gas/testsuite/gas/mips/tmips16-f.d diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 6398610696..f0422b09e2 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2001-09-06 Thiemo Seufer + + * gas/mips/tmips16-f.d: New file, testcase for big endian MIPS16 + relocations, tradtional variant. + 2001-08-04 Richard Henderson * gas/alpha/alpha.exp: New file. diff --git a/gas/testsuite/gas/mips/tmips16-f.d b/gas/testsuite/gas/mips/tmips16-f.d new file mode 100644 index 0000000000..a6d4491ac9 --- /dev/null +++ b/gas/testsuite/gas/mips/tmips16-f.d @@ -0,0 +1,34 @@ +#objdump: -rst -mips16 +#name: MIPS16 reloc 2 +#as: -mips16 +#source: mips16-f.s + +# Check MIPS16 reloc processing + +.*: +file format elf.*mips.* + +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 + + +RELOCATION RECORDS FOR \[foo\]: +OFFSET [ ]+ TYPE VALUE +0+0000000 R_MIPS_32 l1 + + +Contents of section \.text: + 0000 65006500 65006500 65006500 65006500 .* +Contents of section \.data: +Contents of section \.reginfo: + 0000 00000001 00000000 00000000 00000000 .* + 0010 00000000 00000000 .* +Contents of section \.(mdebug|pdr): +#... +Contents of section foo: + 0000 00000003 00000000 00000000 00000000 .* -- 2.11.0