From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thiemo Seufer To: binutils@sources.redhat.com Subject: [PATCH] One more MIPS gas testcase Date: Sun, 26 Aug 2001 08:36:00 -0000 Message-id: <20010826173612.C13086@rembrandt.csv.ica.uni-stuttgart.de> X-SW-Source: 2001-08/msg00610.html Hi All, this adds a missing MIPS16 relocation testcase of the endianness/traditional permutations. Thiemo 2001-08-26 Thiemo Seufer /gas/testsuite/ChangeLog * gas/mips/tmips16-f.d: New file, testcase for big endian MIPS16 relocations, tradtional variant. diff -BurpNX /bigdisk/src/binutils-exclude src-orig/gas/testsuite/gas/mips/tmips16-f.d src/gas/testsuite/gas/mips/tmips16-f.d --- src-orig/gas/testsuite/gas/mips/tmips16-f.d Thu Jan 1 01:00:00 1970 +++ src/gas/testsuite/gas/mips/tmips16-f.d Sun Aug 26 17:17:44 2001 @@ -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 .*