From 2245d757d710118e04476e6b32abc0a3b457545a Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 28 Nov 1994 16:21:59 +0000 Subject: [PATCH] * gas/mips/ld.d: Adjust to work for both big and little endian code. * gas/mips/ld.s, gas/mips/lif-empic.d: Likewise. * gas/mips/lifloat.d, gas/mips/ulh-empic.d: Likewise. * gas/mips/ulh.d, gas/mips/ulw.d, gas/mips/ush.d: Likewise. * gas/mips/usw.d: Likewise. --- gas/testsuite/ChangeLog | 9 +++++ gas/testsuite/gas/mips/lif-empic.d | 4 +- gas/testsuite/gas/mips/ulh-empic.d | 62 +++++++++++++++--------------- 3 files changed, 42 insertions(+), 33 deletions(-) diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 149a122b3e5..376fa84bbcc 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -8,6 +8,15 @@ Tue Nov 22 23:38:20 1994 Jeff Law (law@snake.cs.utah.edu) * gas/hppa/reloc/reloc.exp: Minor tweaks to match current PA ELF output. +Fri Nov 18 17:56:57 1994 Ian Lance Taylor + + * gas/mips/ld.d: Adjust to work for both big and little endian + code. + * gas/mips/ld.s, gas/mips/lif-empic.d: Likewise. + * gas/mips/lifloat.d, gas/mips/ulh-empic.d: Likewise. + * gas/mips/ulh.d, gas/mips/ulw.d, gas/mips/ush.d: Likewise. + * gas/mips/usw.d: Likewise. + Tue Nov 15 11:09:57 1994 Jeff Law (law@snake.cs.utah.edu) * gas/hppa/unsorted/align4.s: New test. diff --git a/gas/testsuite/gas/mips/lif-empic.d b/gas/testsuite/gas/mips/lif-empic.d index 393eca0101b..08de25d0a55 100644 --- a/gas/testsuite/gas/mips/lif-empic.d +++ b/gas/testsuite/gas/mips/lif-empic.d @@ -12,9 +12,9 @@ Disassembly of section .text: [ ]*RELOC: 0+0000 [A-Z0-9_]*GPREL[A-Z0-9_]* .rdata.* 0+0004 <[^>]*> lw \$a0,0\(\$at\) 0+0008 <[^>]*> lw \$a1,4\(\$at\) -0+000c <[^>]*> lwc1 \$f5,-16368\(\$gp\) +0+000c <[^>]*> lwc1 \$f[45],-16368\(\$gp\) [ ]*RELOC: 0+000c [A-Z0-9_]*LITERAL[A-Z0-9_]* .lit8.* -0+0010 <[^>]*> lwc1 \$f4,-16364\(\$gp\) +0+0010 <[^>]*> lwc1 \$f[45],-16364\(\$gp\) [ ]*RELOC: 0+0010 [A-Z0-9_]*LITERAL[A-Z0-9_]* .lit8.* 0+0014 <[^>]*> lui \$a0,16256 0+0018 <[^>]*> lui \$at,16256 diff --git a/gas/testsuite/gas/mips/ulh-empic.d b/gas/testsuite/gas/mips/ulh-empic.d index 3fc23c28007..b19f9691634 100644 --- a/gas/testsuite/gas/mips/ulh-empic.d +++ b/gas/testsuite/gas/mips/ulh-empic.d @@ -10,82 +10,82 @@ Disassembly of section .text: 0+0000 <[^>]*> addiu \$at,\$gp,-16384 [ ]*RELOC: 0+0000 [A-Z0-9_]*GPREL[A-Z0-9_]* .sdata.* -0+0004 <[^>]*> lb \$a0,0\(\$at\) -0+0008 <[^>]*> lbu \$at,1\(\$at\) +0+0004 <[^>]*> lb \$a0,[01]\(\$at\) +0+0008 <[^>]*> lbu \$at,[01]\(\$at\) 0+000c <[^>]*> sll \$a0,\$a0,0x8 0+0010 <[^>]*> or \$a0,\$a0,\$at 0+0014 <[^>]*> addiu \$at,\$gp,0 [ ]*RELOC: 0+0014 [A-Z0-9_]*GPREL[A-Z0-9_]* big_external_data_label -0+0018 <[^>]*> lbu \$a0,0\(\$at\) -0+001c <[^>]*> lbu \$at,1\(\$at\) +0+0018 <[^>]*> lbu \$a0,[01]\(\$at\) +0+001c <[^>]*> lbu \$at,[01]\(\$at\) 0+0020 <[^>]*> sll \$a0,\$a0,0x8 0+0024 <[^>]*> or \$a0,\$a0,\$at 0+0028 <[^>]*> addiu \$at,\$gp,0 [ ]*RELOC: 0+0028 [A-Z0-9_]*GPREL[A-Z0-9_]* small_external_data_label -0+002c <[^>]*> lwl \$a0,0\(\$at\) -0+0030 <[^>]*> lwr \$a0,3\(\$at\) +0+002c <[^>]*> lwl \$a0,[03]\(\$at\) +0+0030 <[^>]*> lwr \$a0,[03]\(\$at\) 0+0034 <[^>]*> addiu \$at,\$gp,0 [ ]*RELOC: 0+0034 [A-Z0-9_]*GPREL[A-Z0-9_]* big_external_common -0+0038 <[^>]*> sb \$a0,1\(\$at\) +0+0038 <[^>]*> sb \$a0,[01]\(\$at\) 0+003c <[^>]*> srl \$a0,\$a0,0x8 -0+0040 <[^>]*> sb \$a0,0\(\$at\) -0+0044 <[^>]*> lbu \$at,1\(\$at\) +0+0040 <[^>]*> sb \$a0,[01]\(\$at\) +0+0044 <[^>]*> lbu \$at,[01]\(\$at\) 0+0048 <[^>]*> sll \$a0,\$a0,0x8 0+004c <[^>]*> or \$a0,\$a0,\$at 0+0050 <[^>]*> addiu \$at,\$gp,0 [ ]*RELOC: 0+0050 [A-Z0-9_]*GPREL[A-Z0-9_]* small_external_common -0+0054 <[^>]*> swl \$a0,0\(\$at\) -0+0058 <[^>]*> swr \$a0,3\(\$at\) +0+0054 <[^>]*> swl \$a0,[03]\(\$at\) +0+0058 <[^>]*> swr \$a0,[03]\(\$at\) 0+005c <[^>]*> addiu \$at,\$gp,-16384 [ ]*RELOC: 0+005c [A-Z0-9_]*GPREL[A-Z0-9_]* .sbss.* -0+0060 <[^>]*> lb \$a0,0\(\$at\) -0+0064 <[^>]*> lbu \$at,1\(\$at\) +0+0060 <[^>]*> lb \$a0,[01]\(\$at\) +0+0064 <[^>]*> lbu \$at,[01]\(\$at\) 0+0068 <[^>]*> sll \$a0,\$a0,0x8 0+006c <[^>]*> or \$a0,\$a0,\$at 0+0070 <[^>]*> addiu \$at,\$gp,-15384 [ ]*RELOC: 0+0070 [A-Z0-9_]*GPREL[A-Z0-9_]* .sbss.* -0+0074 <[^>]*> lbu \$a0,0\(\$at\) -0+0078 <[^>]*> lbu \$at,1\(\$at\) +0+0074 <[^>]*> lbu \$a0,[01]\(\$at\) +0+0078 <[^>]*> lbu \$at,[01]\(\$at\) 0+007c <[^>]*> sll \$a0,\$a0,0x8 0+0080 <[^>]*> or \$a0,\$a0,\$at 0+0084 <[^>]*> addiu \$at,\$gp,-16383 [ ]*RELOC: 0+0084 [A-Z0-9_]*GPREL[A-Z0-9_]* .sdata.* -0+0088 <[^>]*> lwl \$a0,0\(\$at\) -0+008c <[^>]*> lwr \$a0,3\(\$at\) +0+0088 <[^>]*> lwl \$a0,[03]\(\$at\) +0+008c <[^>]*> lwr \$a0,[03]\(\$at\) 0+0090 <[^>]*> addiu \$at,\$gp,1 [ ]*RELOC: 0+0090 [A-Z0-9_]*GPREL[A-Z0-9_]* big_external_data_label -0+0094 <[^>]*> sb \$a0,1\(\$at\) +0+0094 <[^>]*> sb \$a0,[01]\(\$at\) 0+0098 <[^>]*> srl \$a0,\$a0,0x8 -0+009c <[^>]*> sb \$a0,0\(\$at\) -0+00a0 <[^>]*> lbu \$at,1\(\$at\) +0+009c <[^>]*> sb \$a0,[01]\(\$at\) +0+00a0 <[^>]*> lbu \$at,[01]\(\$at\) 0+00a4 <[^>]*> sll \$a0,\$a0,0x8 0+00a8 <[^>]*> or \$a0,\$a0,\$at 0+00ac <[^>]*> addiu \$at,\$gp,1 [ ]*RELOC: 0+00ac [A-Z0-9_]*GPREL[A-Z0-9_]* small_external_data_label -0+00b0 <[^>]*> swl \$a0,0\(\$at\) -0+00b4 <[^>]*> swr \$a0,3\(\$at\) +0+00b0 <[^>]*> swl \$a0,[03]\(\$at\) +0+00b4 <[^>]*> swr \$a0,[03]\(\$at\) 0+00b8 <[^>]*> addiu \$at,\$gp,1 [ ]*RELOC: 0+00b8 [A-Z0-9_]*GPREL[A-Z0-9_]* big_external_common -0+00bc <[^>]*> lb \$a0,0\(\$at\) -0+00c0 <[^>]*> lbu \$at,1\(\$at\) +0+00bc <[^>]*> lb \$a0,[01]\(\$at\) +0+00c0 <[^>]*> lbu \$at,[01]\(\$at\) 0+00c4 <[^>]*> sll \$a0,\$a0,0x8 0+00c8 <[^>]*> or \$a0,\$a0,\$at 0+00cc <[^>]*> addiu \$at,\$gp,1 [ ]*RELOC: 0+00cc [A-Z0-9_]*GPREL[A-Z0-9_]* small_external_common -0+00d0 <[^>]*> lbu \$a0,0\(\$at\) -0+00d4 <[^>]*> lbu \$at,1\(\$at\) +0+00d0 <[^>]*> lbu \$a0,[01]\(\$at\) +0+00d4 <[^>]*> lbu \$at,[01]\(\$at\) 0+00d8 <[^>]*> sll \$a0,\$a0,0x8 0+00dc <[^>]*> or \$a0,\$a0,\$at 0+00e0 <[^>]*> addiu \$at,\$gp,-16383 [ ]*RELOC: 0+00e0 [A-Z0-9_]*GPREL[A-Z0-9_]* .sbss.* -0+00e4 <[^>]*> lwl \$a0,0\(\$at\) -0+00e8 <[^>]*> lwr \$a0,3\(\$at\) +0+00e4 <[^>]*> lwl \$a0,[03]\(\$at\) +0+00e8 <[^>]*> lwr \$a0,[03]\(\$at\) 0+00ec <[^>]*> addiu \$at,\$gp,-15383 [ ]*RELOC: 0+00ec [A-Z0-9_]*GPREL[A-Z0-9_]* .sbss.* -0+00f0 <[^>]*> sb \$a0,1\(\$at\) +0+00f0 <[^>]*> sb \$a0,[01]\(\$at\) 0+00f4 <[^>]*> srl \$a0,\$a0,0x8 -0+00f8 <[^>]*> sb \$a0,0\(\$at\) -0+00fc <[^>]*> lbu \$at,1\(\$at\) +0+00f8 <[^>]*> sb \$a0,[01]\(\$at\) +0+00fc <[^>]*> lbu \$at,[01]\(\$at\) 0+0100 <[^>]*> sll \$a0,\$a0,0x8 0+0104 <[^>]*> or \$a0,\$a0,\$at ... -- 2.30.2