* 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.
This commit is contained in:
Ian Lance Taylor 1994-11-28 16:21:59 +00:00
parent 5a1b13d7e9
commit 2245d757d7
3 changed files with 42 additions and 33 deletions

View File

@ -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 <ian@sanguine.cygnus.com>
* 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.

View File

@ -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

View File

@ -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
...