* gas/mips/ld.d: Spell out section offsets and addends
authorMaciej W. Rozycki <macro@linux-mips.org>
Mon, 18 Oct 2010 01:35:06 +0000 (01:35 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Mon, 18 Oct 2010 01:35:06 +0000 (01:35 +0000)
explicitly.  Clean up some regexps.
* gas/mips/ld-ilocks.d: Likewise.  Add missing "$" prefixes to
the names of FP registers.
* gas/mips/ld-ilocks-addr32.d: Likewise.
* gas/mips/ld.s: Align sections to 4k, adjust padding.

gas/testsuite/ChangeLog
gas/testsuite/gas/mips/ld-ilocks-addr32.d
gas/testsuite/gas/mips/ld-ilocks.d
gas/testsuite/gas/mips/ld.d
gas/testsuite/gas/mips/ld.s

index 9a81484459f9cf38b892471ff552afcba733b3f0..bfaaeb58b5b2c783d6f57782eea9d3c7e72a7d49 100644 (file)
@@ -1,3 +1,12 @@
+2010-10-18  Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * gas/mips/ld.d: Spell out section offsets and addends
+       explicitly.  Clean up some regexps.
+       * gas/mips/ld-ilocks.d: Likewise.  Add missing "$" prefixes to
+       the names of FP registers.
+       * gas/mips/ld-ilocks-addr32.d: Likewise.
+       * gas/mips/ld.s: Align sections to 4k, adjust padding.
+
 2010-10-18  Maciej W. Rozycki  <macro@linux-mips.org>
 
        * gas/mips/ld.d: Use wildcard address matching.
index 4e03fe57f2b95b293bfd1d8b06f7a41c6ad93c58..bc93602f977a4ddc5110eafc34e32b017ad3d3eb 100644 (file)
@@ -8,8 +8,8 @@
 
 .*: +file format .*mips.*
 
-Disassembly of section .text:
-[0-9a-f]+ <.text> lw   a0,0\(zero\)
+Disassembly of section \.text:
+[0-9a-f]+ <[^>]*> lw   a0,0\(zero\)
 [0-9a-f]+ <[^>]*> lw   a1,4\(zero\)
 [0-9a-f]+ <[^>]*> lw   a0,1\(zero\)
 [0-9a-f]+ <[^>]*> lw   a1,5\(zero\)
@@ -43,11 +43,11 @@ Disassembly of section .text:
 [0-9a-f]+ <[^>]*> lw   a0,-23131\(at\)
 [0-9a-f]+ <[^>]*> lw   a1,-23127\(at\)
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a0,0\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a0,(0|4096)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|4100)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> lw   a0,0\(at\)
@@ -69,21 +69,21 @@ Disassembly of section .text:
 [0-9a-f]+ <[^>]*> lw   a1,4\(gp\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  small_external_common
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a0,0\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a0,-16384\(gp\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,-16380\(gp\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  .sbss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a0,(0|8192)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|8196)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a0,(0|-16384)\(gp\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  \.sbss(\+0x4000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|-16380)\(gp\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  \.sbss(\+0x4000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a0,1\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,5\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a0,(1|4097)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,(5|4101)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> lw   a0,1\(at\)
@@ -105,21 +105,21 @@ Disassembly of section .text:
 [0-9a-f]+ <[^>]*> lw   a1,5\(gp\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  small_external_common
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a0,1\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,5\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a0,-16383\(gp\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,-16379\(gp\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  .sbss.*
-[0-9a-f]+ <[^>]*> lui  at,0x1
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a0,(1|8193)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,(5|8197)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a0,(1|-16383)\(gp\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  \.sbss(\+0x4000)?
+[0-9a-f]+ <[^>]*> lw   a1,(5|-16379)\(gp\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  \.sbss(\+0x4000)?
+[0-9a-f]+ <[^>]*> lui  at,0x1
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|28672)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|28668)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x1
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
@@ -145,23 +145,23 @@ Disassembly of section .text:
 [0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
 [0-9a-f]+ <[^>]*> lui  at,0x1
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lui  at,0x1
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|24576)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|24572)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lui  at,0x1
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|28672)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|28668)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|28672)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|28668)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
@@ -187,23 +187,23 @@ Disassembly of section .text:
 [0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|24576)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|24572)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lui  at,0x1
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a0,0\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|28672)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|28668)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lui  at,0x1
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a0,(0|4096)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|4100)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x1
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> lw   a0,0\(at\)
@@ -229,23 +229,23 @@ Disassembly of section .text:
 [0-9a-f]+ <[^>]*> lw   a1,4\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
 [0-9a-f]+ <[^>]*> lui  at,0x1
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a0,0\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lui  at,0x1
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a0,0\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a0,(0|8192)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|8196)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lui  at,0x1
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a0,(0|4096)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|4100)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x2
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a0,-23131\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,-23127\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a0,-(23131|19035)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(23127|19031)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x2
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> lw   a0,-23131\(at\)
@@ -271,24 +271,24 @@ Disassembly of section .text:
 [0-9a-f]+ <[^>]*> lw   a1,-23127\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
 [0-9a-f]+ <[^>]*> lui  at,0x2
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a0,-23131\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,-23127\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a0,-(23131|14939)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(23127|14935)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> lui  at,0x2
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a0,-23131\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,-23127\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a0,-(23131|19035)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(23127|19031)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,0\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
+[0-9a-f]+ <[^>]*> lw   a0,(0|4096)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|4100)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> addu at,a1,at
@@ -314,24 +314,24 @@ Disassembly of section .text:
 [0-9a-f]+ <[^>]*> lw   a1,4\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  small_external_common
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,0\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
+[0-9a-f]+ <[^>]*> lw   a0,(0|8192)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|8196)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> addu at,a1,gp
-[0-9a-f]+ <[^>]*> lw   a0,-16384\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,-16380\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  .sbss.*
+[0-9a-f]+ <[^>]*> lw   a0,(0|-16384)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  \.sbss(\+0x4000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|-16380)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  \.sbss(\+0x4000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,1\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,5\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
+[0-9a-f]+ <[^>]*> lw   a0,(1|4097)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,(5|4101)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> addu at,a1,at
@@ -357,24 +357,24 @@ Disassembly of section .text:
 [0-9a-f]+ <[^>]*> lw   a1,5\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  small_external_common
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,1\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,5\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
+[0-9a-f]+ <[^>]*> lw   a0,(1|8193)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,(5|8197)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> addu at,a1,gp
-[0-9a-f]+ <[^>]*> lw   a0,-16383\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,-16379\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  .sbss.*
+[0-9a-f]+ <[^>]*> lw   a0,(1|-16383)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  \.sbss(\+0x4000)?
+[0-9a-f]+ <[^>]*> lw   a1,(5|-16379)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  \.sbss(\+0x4000)?
 [0-9a-f]+ <[^>]*> lui  at,0x1
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|28672)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|28668)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x1
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> addu at,a1,at
@@ -404,26 +404,26 @@ Disassembly of section .text:
 [0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
 [0-9a-f]+ <[^>]*> lui  at,0x1
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|24576)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|24572)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> lui  at,0x1
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .sbss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.sbss(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|28672)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|28668)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|28672)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|28668)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> addu at,a1,at
@@ -453,26 +453,26 @@ Disassembly of section .text:
 [0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|24576)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|24572)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .sbss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.sbss(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|28672)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|28668)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x1
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,0\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
+[0-9a-f]+ <[^>]*> lw   a0,(0|4096)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|4100)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x1
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> addu at,a1,at
@@ -502,26 +502,26 @@ Disassembly of section .text:
 [0-9a-f]+ <[^>]*> lw   a1,4\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
 [0-9a-f]+ <[^>]*> lui  at,0x1
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,0\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
+[0-9a-f]+ <[^>]*> lw   a0,(0|8192)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|8196)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> lui  at,0x1
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .sbss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.sbss(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,0\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
+[0-9a-f]+ <[^>]*> lw   a0,(0|4096)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|4100)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x2
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,-23131\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,-23127\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
+[0-9a-f]+ <[^>]*> lw   a0,-(23131|19035)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(23127|19031)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x2
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> addu at,a1,at
@@ -551,82 +551,82 @@ Disassembly of section .text:
 [0-9a-f]+ <[^>]*> lw   a1,-23127\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
 [0-9a-f]+ <[^>]*> lui  at,0x2
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,-23131\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,-23127\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
+[0-9a-f]+ <[^>]*> lw   a0,-(23131|14939)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(23127|14935)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> lui  at,0x2
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,-23131\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,-23127\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lwc1 f5,0\(zero\)
-[0-9a-f]+ <[^>]*> lwc1 f4,4\(zero\)
-[0-9a-f]+ <[^>]*> lwc1 f5,1\(zero\)
-[0-9a-f]+ <[^>]*> lwc1 f4,5\(zero\)
-[0-9a-f]+ <[^>]*> lui  at,0x1
-[0-9a-f]+ <[^>]*> lwc1 f5,-32768\(at\)
-[0-9a-f]+ <[^>]*> lwc1 f4,-32764\(at\)
-[0-9a-f]+ <[^>]*> lwc1 f5,-32768\(zero\)
-[0-9a-f]+ <[^>]*> lwc1 f4,-32764\(zero\)
-[0-9a-f]+ <[^>]*> lwc1 f5,0\(a1\)
-[0-9a-f]+ <[^>]*> lwc1 f4,4\(a1\)
-[0-9a-f]+ <[^>]*> lwc1 f5,1\(a1\)
-[0-9a-f]+ <[^>]*> lwc1 f4,5\(a1\)
-[0-9a-f]+ <[^>]*> lui  at,0x1
-[0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lwc1 f5,-32768\(at\)
-[0-9a-f]+ <[^>]*> lwc1 f4,-32764\(at\)
-[0-9a-f]+ <[^>]*> lwc1 f5,-32768\(a1\)
-[0-9a-f]+ <[^>]*> lwc1 f4,-32764\(a1\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> addu at,a1,at
+[0-9a-f]+ <[^>]*> lw   a0,-(23131|19035)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(23127|19031)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],0\(zero\)
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],4\(zero\)
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],1\(zero\)
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],5\(zero\)
+[0-9a-f]+ <[^>]*> lui  at,0x1
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],-32768\(at\)
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],-32764\(at\)
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],-32768\(zero\)
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],-32764\(zero\)
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],0\(a1\)
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],4\(a1\)
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],1\(a1\)
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],5\(a1\)
+[0-9a-f]+ <[^>]*> lui  at,0x1
+[0-9a-f]+ <[^>]*> addu at,a1,at
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],-32768\(at\)
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],-32764\(at\)
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],-32768\(a1\)
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],-32764\(a1\)
 [0-9a-f]+ <[^>]*> lui  at,0x2
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     small_external_common
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lwc1 f5,-23131\(at\)
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],-23131\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
-[0-9a-f]+ <[^>]*> lwc1 f4,-23127\(at\)
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],-23127\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
 [0-9a-f]+ <[^>]*> nop
-[0-9a-f]+ <[^>]*> swc1 f5,0\(zero\)
-[0-9a-f]+ <[^>]*> swc1 f4,4\(zero\)
-[0-9a-f]+ <[^>]*> swc1 f5,1\(zero\)
-[0-9a-f]+ <[^>]*> swc1 f4,5\(zero\)
-[0-9a-f]+ <[^>]*> lui  at,0x1
-[0-9a-f]+ <[^>]*> swc1 f5,-32768\(at\)
-[0-9a-f]+ <[^>]*> swc1 f4,-32764\(at\)
-[0-9a-f]+ <[^>]*> swc1 f5,-32768\(zero\)
-[0-9a-f]+ <[^>]*> swc1 f4,-32764\(zero\)
-[0-9a-f]+ <[^>]*> swc1 f5,0\(a1\)
-[0-9a-f]+ <[^>]*> swc1 f4,4\(a1\)
-[0-9a-f]+ <[^>]*> swc1 f5,1\(a1\)
-[0-9a-f]+ <[^>]*> swc1 f4,5\(a1\)
-[0-9a-f]+ <[^>]*> lui  at,0x1
-[0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> swc1 f5,-32768\(at\)
-[0-9a-f]+ <[^>]*> swc1 f4,-32764\(at\)
-[0-9a-f]+ <[^>]*> swc1 f5,-32768\(a1\)
-[0-9a-f]+ <[^>]*> swc1 f4,-32764\(a1\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],0\(zero\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],4\(zero\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],1\(zero\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],5\(zero\)
+[0-9a-f]+ <[^>]*> lui  at,0x1
+[0-9a-f]+ <[^>]*> swc1 \$f[45],-32768\(at\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],-32764\(at\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],-32768\(zero\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],-32764\(zero\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],0\(a1\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],4\(a1\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],1\(a1\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],5\(a1\)
+[0-9a-f]+ <[^>]*> lui  at,0x1
+[0-9a-f]+ <[^>]*> addu at,a1,at
+[0-9a-f]+ <[^>]*> swc1 \$f[45],-32768\(at\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],-32764\(at\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],-32768\(a1\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],-32764\(a1\)
 [0-9a-f]+ <[^>]*> lui  at,0x2
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_common
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> swc1 f5,-23131\(at\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],-23131\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_common
-[0-9a-f]+ <[^>]*> swc1 f4,-23127\(at\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],-23127\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_common
 [0-9a-f]+ <[^>]*> sw   a0,0\(zero\)
 [0-9a-f]+ <[^>]*> sw   a1,4\(zero\)
 [0-9a-f]+ <[^>]*> lui  a0,0x2
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> addu a0,a0,a1
-[0-9a-f]+ <[^>]*> ld   a0,-23131\(a0\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
+[0-9a-f]+ <[^>]*> ld   a0,-(23131|14939)\(a0\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> lui  at,0x2
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .sbss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.sbss(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> addu at,at,a1
-[0-9a-f]+ <[^>]*> sd   a0,-23131\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> nop
+[0-9a-f]+ <[^>]*> sd   a0,-(23131|19035)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+       \.\.\.
index 25e0a61b2580bb5b6f95ae116085bb49bde2c968..ecdeb8076c68b7c294ac58790d2ea409d2dc3c7b 100644 (file)
@@ -2,12 +2,13 @@
 #name: MIPS ld-ilocks
 #source: ld.s
 #as:
+
 # Test the ld macro.
 
 .*: +file format .*mips.*
 
-Disassembly of section .text:
-[0-9a-f]+ <.text> lw   a0,0\(zero\)
+Disassembly of section \.text:
+[0-9a-f]+ <[^>]*> lw   a0,0\(zero\)
 [0-9a-f]+ <[^>]*> lw   a1,4\(zero\)
 [0-9a-f]+ <[^>]*> lw   a0,1\(zero\)
 [0-9a-f]+ <[^>]*> lw   a1,5\(zero\)
@@ -41,11 +42,11 @@ Disassembly of section .text:
 [0-9a-f]+ <[^>]*> lw   a0,-23131\(at\)
 [0-9a-f]+ <[^>]*> lw   a1,-23127\(at\)
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a0,0\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a0,(0|4096)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|4100)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> lw   a0,0\(at\)
@@ -67,21 +68,21 @@ Disassembly of section .text:
 [0-9a-f]+ <[^>]*> lw   a1,4\(gp\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  small_external_common
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a0,0\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a0,-16384\(gp\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,-16380\(gp\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  .sbss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a0,(0|8192)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|8196)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a0,(0|-16384)\(gp\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  \.sbss(\+0x4000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|-16380)\(gp\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  \.sbss(\+0x4000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a0,1\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,5\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a0,(1|4097)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,(5|4101)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> lw   a0,1\(at\)
@@ -103,21 +104,21 @@ Disassembly of section .text:
 [0-9a-f]+ <[^>]*> lw   a1,5\(gp\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  small_external_common
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a0,1\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,5\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a0,-16383\(gp\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,-16379\(gp\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  .sbss.*
-[0-9a-f]+ <[^>]*> lui  at,0x1
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a0,(1|8193)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,(5|8197)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a0,(1|-16383)\(gp\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  \.sbss(\+0x4000)?
+[0-9a-f]+ <[^>]*> lw   a1,(5|-16379)\(gp\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  \.sbss(\+0x4000)?
+[0-9a-f]+ <[^>]*> lui  at,0x1
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|28672)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|28668)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x1
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
@@ -143,23 +144,23 @@ Disassembly of section .text:
 [0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
 [0-9a-f]+ <[^>]*> lui  at,0x1
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lui  at,0x1
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|24576)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|24572)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lui  at,0x1
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|28672)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|28668)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|28672)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|28668)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
@@ -185,23 +186,23 @@ Disassembly of section .text:
 [0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|24576)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|24572)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lui  at,0x1
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a0,0\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|28672)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|28668)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lui  at,0x1
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a0,(0|4096)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|4100)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x1
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> lw   a0,0\(at\)
@@ -227,23 +228,23 @@ Disassembly of section .text:
 [0-9a-f]+ <[^>]*> lw   a1,4\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
 [0-9a-f]+ <[^>]*> lui  at,0x1
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a0,0\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lui  at,0x1
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a0,0\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a0,(0|8192)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|8196)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lui  at,0x1
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a0,(0|4096)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|4100)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x2
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a0,-23131\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,-23127\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a0,-(23131|19035)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(23127|19031)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x2
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> lw   a0,-23131\(at\)
@@ -269,24 +270,24 @@ Disassembly of section .text:
 [0-9a-f]+ <[^>]*> lw   a1,-23127\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
 [0-9a-f]+ <[^>]*> lui  at,0x2
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a0,-23131\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,-23127\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a0,-(23131|14939)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(23127|14935)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> lui  at,0x2
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a0,-23131\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,-23127\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a0,-(23131|19035)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(23127|19031)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,0\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
+[0-9a-f]+ <[^>]*> lw   a0,(0|4096)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|4100)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> addu at,a1,at
@@ -312,24 +313,24 @@ Disassembly of section .text:
 [0-9a-f]+ <[^>]*> lw   a1,4\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  small_external_common
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,0\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
+[0-9a-f]+ <[^>]*> lw   a0,(0|8192)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|8196)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> addu at,a1,gp
-[0-9a-f]+ <[^>]*> lw   a0,-16384\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,-16380\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  .sbss.*
+[0-9a-f]+ <[^>]*> lw   a0,(0|-16384)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  \.sbss(\+0x4000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|-16380)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  \.sbss(\+0x4000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,1\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,5\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
+[0-9a-f]+ <[^>]*> lw   a0,(1|4097)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,(5|4101)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> addu at,a1,at
@@ -355,24 +356,24 @@ Disassembly of section .text:
 [0-9a-f]+ <[^>]*> lw   a1,5\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  small_external_common
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,1\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,5\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
+[0-9a-f]+ <[^>]*> lw   a0,(1|8193)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,(5|8197)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> addu at,a1,gp
-[0-9a-f]+ <[^>]*> lw   a0,-16383\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,-16379\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  .sbss.*
+[0-9a-f]+ <[^>]*> lw   a0,(1|-16383)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  \.sbss(\+0x4000)?
+[0-9a-f]+ <[^>]*> lw   a1,(5|-16379)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  \.sbss(\+0x4000)?
 [0-9a-f]+ <[^>]*> lui  at,0x1
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|28672)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|28668)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x1
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> addu at,a1,at
@@ -402,26 +403,26 @@ Disassembly of section .text:
 [0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
 [0-9a-f]+ <[^>]*> lui  at,0x1
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|24576)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|24572)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> lui  at,0x1
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .sbss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.sbss(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|28672)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|28668)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|28672)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|28668)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> addu at,a1,at
@@ -451,26 +452,26 @@ Disassembly of section .text:
 [0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|24576)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|24572)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .sbss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.sbss(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|28672)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|28668)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x1
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,0\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
+[0-9a-f]+ <[^>]*> lw   a0,(0|4096)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|4100)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x1
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> addu at,a1,at
@@ -500,26 +501,26 @@ Disassembly of section .text:
 [0-9a-f]+ <[^>]*> lw   a1,4\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
 [0-9a-f]+ <[^>]*> lui  at,0x1
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,0\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
+[0-9a-f]+ <[^>]*> lw   a0,(0|8192)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|8196)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> lui  at,0x1
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .sbss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.sbss(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,0\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
+[0-9a-f]+ <[^>]*> lw   a0,(0|4096)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|4100)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x2
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,-23131\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,-23127\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
+[0-9a-f]+ <[^>]*> lw   a0,-(23131|19035)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(23127|19031)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x2
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> addu at,a1,at
@@ -549,83 +550,82 @@ Disassembly of section .text:
 [0-9a-f]+ <[^>]*> lw   a1,-23127\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
 [0-9a-f]+ <[^>]*> lui  at,0x2
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,-23131\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,-23127\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
+[0-9a-f]+ <[^>]*> lw   a0,-(23131|14939)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(23127|14935)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> lui  at,0x2
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,-23131\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,-23127\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lwc1 f[45],0\(zero\)
-[0-9a-f]+ <[^>]*> lwc1 f[45],4\(zero\)
-[0-9a-f]+ <[^>]*> lwc1 f[45],1\(zero\)
-[0-9a-f]+ <[^>]*> lwc1 f[45],5\(zero\)
-[0-9a-f]+ <[^>]*> lui  at,0x1
-[0-9a-f]+ <[^>]*> lwc1 f[45],-32768\(at\)
-[0-9a-f]+ <[^>]*> lwc1 f[45],-32764\(at\)
-[0-9a-f]+ <[^>]*> lwc1 f[45],-32768\(zero\)
-[0-9a-f]+ <[^>]*> lwc1 f[45],-32764\(zero\)
-[0-9a-f]+ <[^>]*> lwc1 f[45],0\(a1\)
-[0-9a-f]+ <[^>]*> lwc1 f[45],4\(a1\)
-[0-9a-f]+ <[^>]*> lwc1 f[45],1\(a1\)
-[0-9a-f]+ <[^>]*> lwc1 f[45],5\(a1\)
-[0-9a-f]+ <[^>]*> lui  at,0x1
-[0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lwc1 f[45],-32768\(at\)
-[0-9a-f]+ <[^>]*> lwc1 f[45],-32764\(at\)
-[0-9a-f]+ <[^>]*> lwc1 f[45],-32768\(a1\)
-[0-9a-f]+ <[^>]*> lwc1 f[45],-32764\(a1\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> addu at,a1,at
+[0-9a-f]+ <[^>]*> lw   a0,-(23131|19035)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(23127|19031)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],0\(zero\)
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],4\(zero\)
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],1\(zero\)
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],5\(zero\)
+[0-9a-f]+ <[^>]*> lui  at,0x1
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],-32768\(at\)
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],-32764\(at\)
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],-32768\(zero\)
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],-32764\(zero\)
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],0\(a1\)
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],4\(a1\)
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],1\(a1\)
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],5\(a1\)
+[0-9a-f]+ <[^>]*> lui  at,0x1
+[0-9a-f]+ <[^>]*> addu at,a1,at
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],-32768\(at\)
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],-32764\(at\)
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],-32768\(a1\)
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],-32764\(a1\)
 [0-9a-f]+ <[^>]*> lui  at,0x2
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     small_external_common
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lwc1 f[45],-23131\(at\)
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],-23131\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
-[0-9a-f]+ <[^>]*> lwc1 f[45],-23127\(at\)
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],-23127\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
 [0-9a-f]+ <[^>]*> nop
-[0-9a-f]+ <[^>]*> swc1 f[45],0\(zero\)
-[0-9a-f]+ <[^>]*> swc1 f[45],4\(zero\)
-[0-9a-f]+ <[^>]*> swc1 f[45],1\(zero\)
-[0-9a-f]+ <[^>]*> swc1 f[45],5\(zero\)
-[0-9a-f]+ <[^>]*> lui  at,0x1
-[0-9a-f]+ <[^>]*> swc1 f[45],-32768\(at\)
-[0-9a-f]+ <[^>]*> swc1 f[45],-32764\(at\)
-[0-9a-f]+ <[^>]*> swc1 f[45],-32768\(zero\)
-[0-9a-f]+ <[^>]*> swc1 f[45],-32764\(zero\)
-[0-9a-f]+ <[^>]*> swc1 f[45],0\(a1\)
-[0-9a-f]+ <[^>]*> swc1 f[45],4\(a1\)
-[0-9a-f]+ <[^>]*> swc1 f[45],1\(a1\)
-[0-9a-f]+ <[^>]*> swc1 f[45],5\(a1\)
-[0-9a-f]+ <[^>]*> lui  at,0x1
-[0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> swc1 f[45],-32768\(at\)
-[0-9a-f]+ <[^>]*> swc1 f[45],-32764\(at\)
-[0-9a-f]+ <[^>]*> swc1 f[45],-32768\(a1\)
-[0-9a-f]+ <[^>]*> swc1 f[45],-32764\(a1\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],0\(zero\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],4\(zero\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],1\(zero\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],5\(zero\)
+[0-9a-f]+ <[^>]*> lui  at,0x1
+[0-9a-f]+ <[^>]*> swc1 \$f[45],-32768\(at\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],-32764\(at\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],-32768\(zero\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],-32764\(zero\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],0\(a1\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],4\(a1\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],1\(a1\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],5\(a1\)
+[0-9a-f]+ <[^>]*> lui  at,0x1
+[0-9a-f]+ <[^>]*> addu at,a1,at
+[0-9a-f]+ <[^>]*> swc1 \$f[45],-32768\(at\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],-32764\(at\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],-32768\(a1\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],-32764\(a1\)
 [0-9a-f]+ <[^>]*> lui  at,0x2
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_common
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> swc1 f[45],-23131\(at\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],-23131\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_common
-[0-9a-f]+ <[^>]*> swc1 f[45],-23127\(at\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],-23127\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_common
 [0-9a-f]+ <[^>]*> sw   a0,0\(zero\)
 [0-9a-f]+ <[^>]*> sw   a1,4\(zero\)
 [0-9a-f]+ <[^>]*> lui  a0,0x2
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> (d|)addu     a0,a0,a1
-[0-9a-f]+ <[^>]*> ld   a0,-23131\(a0\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
+[0-9a-f]+ <[^>]*> ld   a0,-(23131|14939)\(a0\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> lui  at,0x2
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .sbss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.sbss(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> (d|)addu     at,at,a1
-[0-9a-f]+ <[^>]*> sd   a0,-23131\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> nop
-
+[0-9a-f]+ <[^>]*> sd   a0,-(23131|19035)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+       \.\.\.
index be55922928a7c2ee0d4bf0f56a0256b91b90fb43..503d801aecc7fb4ce247ca98cf9cb22a0d68c1a2 100644 (file)
@@ -6,7 +6,7 @@
 
 .*: +file format .*mips.*
 
-Disassembly of section .text:
+Disassembly of section \.text:
 [0-9a-f]+ <[^>]*> lw   a0,0\(zero\)
 [0-9a-f]+ <[^>]*> lw   a1,4\(zero\)
 [0-9a-f]+ <[^>]*> lw   a0,1\(zero\)
@@ -44,52 +44,52 @@ Disassembly of section .text:
 [0-9a-f]+ <[^>]*> lw   a0,-23131\(at\)
 [0-9a-f]+ <[^>]*> lw   a1,-23127\(at\)
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a0,(0|4096)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|4100)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> lw   a0,0\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_data_label
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> lw   a0,0\(gp\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  small_external_data_label
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(gp\)
+[0-9a-f]+ <[^>]*> lw   a1,4\(gp\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  small_external_data_label
 [0-9a-f]+ <[^>]*> lui  at,0x0
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_common
 [0-9a-f]+ <[^>]*> lw   a0,0\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_common
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_common
 [0-9a-f]+ <[^>]*> lw   a0,0\(gp\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  small_external_common
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(gp\)
+[0-9a-f]+ <[^>]*> lw   a1,4\(gp\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  small_external_common
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(gp\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(gp\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  .sbss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a0,(0|8192)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|8196)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a0,(0|-16384)\(gp\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  \.sbss(\+0x4000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|-16380)\(gp\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  \.sbss(\+0x4000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a0,(1|4097)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,(5|4101)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a0,1\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_data_label
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,5\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> lw   a0,1\(gp\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  small_external_data_label
@@ -97,251 +97,251 @@ Disassembly of section .text:
 [      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  small_external_data_label
 [0-9a-f]+ <[^>]*> lui  at,0x0
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_common
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a0,1\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_common
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,5\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_common
 [0-9a-f]+ <[^>]*> lw   a0,1\(gp\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  small_external_common
 [0-9a-f]+ <[^>]*> lw   a1,5\(gp\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  small_external_common
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(gp\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(gp\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  .sbss.*
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a0,(1|8193)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,(5|8197)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a0,(1|-16383)\(gp\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  \.sbss(\+0x4000)?
+[0-9a-f]+ <[^>]*> lw   a1,(5|-16379)\(gp\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  \.sbss(\+0x4000)?
+[0-9a-f]+ <[^>]*> lui  at,0x1
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|28672)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|28668)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lui  at,0x1
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_data_label
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_data_label
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
+[0-9a-f]+ <[^>]*> lui  at,0x1
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     small_external_data_label
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_data_label
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_data_label
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
+[0-9a-f]+ <[^>]*> lui  at,0x1
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_common
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_common
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_common
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
+[0-9a-f]+ <[^>]*> lui  at,0x1
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     small_external_common
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
+[0-9a-f]+ <[^>]*> lui  at,0x1
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|24576)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|24572)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lui  at,0x1
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|28672)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|28668)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|28672)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|28668)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_data_label
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> lui  at,0x0
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     small_external_data_label
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_data_label
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_data_label
 [0-9a-f]+ <[^>]*> lui  at,0x0
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_common
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_common
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_common
 [0-9a-f]+ <[^>]*> lui  at,0x0
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     small_external_common
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|24576)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|24572)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|28672)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|28668)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lui  at,0x1
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a0,(0|4096)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|4100)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lui  at,0x1
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> lw   a0,0\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_data_label
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_data_label
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
+[0-9a-f]+ <[^>]*> lui  at,0x1
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     small_external_data_label
 [0-9a-f]+ <[^>]*> lw   a0,0\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_data_label
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_data_label
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
+[0-9a-f]+ <[^>]*> lui  at,0x1
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_common
 [0-9a-f]+ <[^>]*> lw   a0,0\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_common
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_common
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
+[0-9a-f]+ <[^>]*> lui  at,0x1
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     small_external_common
 [0-9a-f]+ <[^>]*> lw   a0,0\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
+[0-9a-f]+ <[^>]*> lui  at,0x1
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a0,(0|8192)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|8196)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lui  at,0x1
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a0,(0|4096)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|4100)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lui  at,0x2
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a0,-(23131|19035)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(23127|19031)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lui  at,0x2
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a0,-23131\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_data_label
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,-23127\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_data_label
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
+[0-9a-f]+ <[^>]*> lui  at,0x2
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     small_external_data_label
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a0,-23131\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_data_label
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,-23127\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_data_label
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
+[0-9a-f]+ <[^>]*> lui  at,0x2
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_common
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a0,-23131\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_common
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,-23127\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_common
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
+[0-9a-f]+ <[^>]*> lui  at,0x2
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     small_external_common
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a0,-23131\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,-23127\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
+[0-9a-f]+ <[^>]*> lui  at,0x2
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a0,-(23131|14939)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(23127|14935)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lui  at,0x2
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a0,-(23131|19035)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(23127|19031)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
+[0-9a-f]+ <[^>]*> lw   a0,(0|4096)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|4100)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> addu at,a1,at
 [0-9a-f]+ <[^>]*> lw   a0,0\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_data_label
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> nop
 [0-9a-f]+ <[^>]*> addu at,a1,gp
 [0-9a-f]+ <[^>]*> lw   a0,0\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  small_external_data_label
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  small_external_data_label
 [0-9a-f]+ <[^>]*> lui  at,0x0
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_common
 [0-9a-f]+ <[^>]*> addu at,a1,at
 [0-9a-f]+ <[^>]*> lw   a0,0\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_common
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_common
 [0-9a-f]+ <[^>]*> nop
 [0-9a-f]+ <[^>]*> addu at,a1,gp
 [0-9a-f]+ <[^>]*> lw   a0,0\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  small_external_common
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  small_external_common
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
+[0-9a-f]+ <[^>]*> lw   a0,(0|8192)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|8196)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> nop
 [0-9a-f]+ <[^>]*> addu at,a1,gp
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  .sbss.*
+[0-9a-f]+ <[^>]*> lw   a0,(0|-16384)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  \.sbss(\+0x4000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|-16380)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  \.sbss(\+0x4000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
+[0-9a-f]+ <[^>]*> lw   a0,(1|4097)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,(5|4101)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a0,1\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_data_label
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,5\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> nop
 [0-9a-f]+ <[^>]*> addu at,a1,gp
@@ -352,9 +352,9 @@ Disassembly of section .text:
 [0-9a-f]+ <[^>]*> lui  at,0x0
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_common
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a0,1\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_common
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,5\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_common
 [0-9a-f]+ <[^>]*> nop
 [0-9a-f]+ <[^>]*> addu at,a1,gp
@@ -363,214 +363,214 @@ Disassembly of section .text:
 [0-9a-f]+ <[^>]*> lw   a1,5\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  small_external_common
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
+[0-9a-f]+ <[^>]*> lw   a0,(1|8193)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,(5|8197)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> nop
 [0-9a-f]+ <[^>]*> addu at,a1,gp
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  .sbss.*
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
+[0-9a-f]+ <[^>]*> lw   a0,(1|-16383)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  \.sbss(\+0x4000)?
+[0-9a-f]+ <[^>]*> lw   a1,(5|-16379)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*GPREL[A-Z0-9_]*  \.sbss(\+0x4000)?
+[0-9a-f]+ <[^>]*> lui  at,0x1
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> addu at,a1,at
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|28672)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|28668)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lui  at,0x1
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_data_label
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_data_label
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
+[0-9a-f]+ <[^>]*> lui  at,0x1
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     small_external_data_label
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_data_label
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_data_label
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
+[0-9a-f]+ <[^>]*> lui  at,0x1
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_common
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_common
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_common
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
+[0-9a-f]+ <[^>]*> lui  at,0x1
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     small_external_common
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
+[0-9a-f]+ <[^>]*> lui  at,0x1
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> addu at,a1,at
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|24576)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|24572)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lui  at,0x1
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> addu at,a1,at
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|28672)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|28668)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|28672)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|28668)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_data_label
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> lui  at,0x0
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     small_external_data_label
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_data_label
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_data_label
 [0-9a-f]+ <[^>]*> lui  at,0x0
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_common
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_common
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_common
 [0-9a-f]+ <[^>]*> lui  at,0x0
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     small_external_common
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a0,-32768\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,-32764\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|24576)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|24572)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> lui  at,0x0
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> addu at,a1,at
+[0-9a-f]+ <[^>]*> lw   a0,-(32768|28672)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(32764|28668)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lui  at,0x1
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> addu at,a1,at
+[0-9a-f]+ <[^>]*> lw   a0,(0|4096)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|4100)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lui  at,0x1
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> addu at,a1,at
 [0-9a-f]+ <[^>]*> lw   a0,0\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_data_label
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_data_label
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
+[0-9a-f]+ <[^>]*> lui  at,0x1
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     small_external_data_label
 [0-9a-f]+ <[^>]*> addu at,a1,at
 [0-9a-f]+ <[^>]*> lw   a0,0\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_data_label
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_data_label
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
+[0-9a-f]+ <[^>]*> lui  at,0x1
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_common
 [0-9a-f]+ <[^>]*> addu at,a1,at
 [0-9a-f]+ <[^>]*> lw   a0,0\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_common
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_common
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
+[0-9a-f]+ <[^>]*> lui  at,0x1
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     small_external_common
 [0-9a-f]+ <[^>]*> addu at,a1,at
 [0-9a-f]+ <[^>]*> lw   a0,0\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,4\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .data.*
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
+[0-9a-f]+ <[^>]*> lui  at,0x1
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> addu at,a1,at
+[0-9a-f]+ <[^>]*> lw   a0,(0|8192)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|8196)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lui  at,0x1
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> addu at,a1,at
+[0-9a-f]+ <[^>]*> lw   a0,(0|4096)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,(4|4100)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lui  at,0x2
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> addu at,a1,at
+[0-9a-f]+ <[^>]*> lw   a0,-(23131|19035)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(23127|19031)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.data(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lui  at,0x2
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_data_label
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a0,-23131\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_data_label
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,-23127\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_data_label
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
+[0-9a-f]+ <[^>]*> lui  at,0x2
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     small_external_data_label
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a0,-23131\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_data_label
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,-23127\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_data_label
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
+[0-9a-f]+ <[^>]*> lui  at,0x2
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_common
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a0,-23131\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_common
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,-23127\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_common
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
+[0-9a-f]+ <[^>]*> lui  at,0x2
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     small_external_common
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a0,-23131\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lw   a1,-23127\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lw   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> lw   a1,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
+[0-9a-f]+ <[^>]*> lui  at,0x2
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> addu at,a1,at
+[0-9a-f]+ <[^>]*> lw   a0,-(23131|14939)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(23127|14935)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lui  at,0x2
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> addu at,a1,at
+[0-9a-f]+ <[^>]*> lw   a0,-(23131|19035)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+[0-9a-f]+ <[^>]*> lw   a1,-(23127|19031)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> lwc1 \$f[45],0\(zero\)
 [0-9a-f]+ <[^>]*> lwc1 \$f[45],4\(zero\)
 [0-9a-f]+ <[^>]*> lwc1 \$f[45],1\(zero\)
@@ -590,12 +590,12 @@ Disassembly of section .text:
 [0-9a-f]+ <[^>]*> lwc1 \$f[45],-32764\(at\)
 [0-9a-f]+ <[^>]*> lwc1 \$f[45],-32768\(a1\)
 [0-9a-f]+ <[^>]*> lwc1 \$f[45],-32764\(a1\)
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
+[0-9a-f]+ <[^>]*> lui  at,0x2
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     small_external_common
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],-23131\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> lwc1 \$f[45],-23127\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     small_external_common
 [0-9a-f]+ <[^>]*> nop
 [0-9a-f]+ <[^>]*> swc1 \$f[45],0\(zero\)
@@ -617,23 +617,23 @@ Disassembly of section .text:
 [0-9a-f]+ <[^>]*> swc1 \$f[45],-32764\(at\)
 [0-9a-f]+ <[^>]*> swc1 \$f[45],-32768\(a1\)
 [0-9a-f]+ <[^>]*> swc1 \$f[45],-32764\(a1\)
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
+[0-9a-f]+ <[^>]*> lui  at,0x2
 [      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     big_external_common
 [0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> swc1 \$f[45],[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],-23131\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_common
-[0-9a-f]+ <[^>]*> swc1 \$f[45],[-0-9]+\(at\)
+[0-9a-f]+ <[^>]*> swc1 \$f[45],-23127\(at\)
 [      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     big_external_common
 [0-9a-f]+ <[^>]*> sw   a0,0\(zero\)
 [0-9a-f]+ <[^>]*> sw   a1,4\(zero\)
-[0-9a-f]+ <[^>]*> lui  a0,[-0-9x]+
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .bss.*
+[0-9a-f]+ <[^>]*> lui  a0,0x2
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.bss(\+0xffffe000)?
 [0-9a-f]+ <[^>]*> addu a0,a0,a1
-[0-9a-f]+ <[^>]*> ld   a0,[-0-9]+\(a0\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .bss.*
-[0-9a-f]+ <[^>]*> lui  at,[-0-9x]+
-[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     .sbss.*
+[0-9a-f]+ <[^>]*> ld   a0,-(23131|14939)\(a0\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.bss(\+0xffffe000)?
+[0-9a-f]+ <[^>]*> lui  at,0x2
+[      ]*[0-9a-f]+: [A-Z0-9_]*HI[A-Z0-9_]*     \.sbss(\+0xfffff000)?
 [0-9a-f]+ <[^>]*> addu at,at,a1
-[0-9a-f]+ <[^>]*> sd   a0,[-0-9]+\(at\)
-[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     .sbss.*
-[0-9a-f]+ <[^>]*> nop
+[0-9a-f]+ <[^>]*> sd   a0,-(23131|19035)\(at\)
+[      ]*[0-9a-f]+: [A-Z0-9_]*LO[A-Z0-9_]*     \.sbss(\+0xfffff000)?
+       \.\.\.
index 05ee3c03fe0819f5c906fcf7b6fe61b8ee58944b..970ffe5536c938796beecfbb54b3347274f1c62a 100644 (file)
@@ -1,8 +1,13 @@
 # Source file used to test the ld macro.
-       
+
        .set    mips1
 
+       .bss
+       .align  12
+       .sbss
+       .align  12
        .data
+       .align  12
 data_label:
        .extern big_external_data_label,1000
        .extern small_external_data_label,1
@@ -10,8 +15,9 @@ data_label:
        .comm small_external_common,1
        .lcomm big_local_common,1000
        .lcomm small_local_common,1
-       
+
        .text
+       .align  12
        ld      $4,0
        ld      $4,1
        ld      $4,0x8000
@@ -140,5 +146,6 @@ data_label:
        ld      $4,big_local_common+0x1a5a5($5)
        sd      $4,small_local_common+0x1a5a5($5)
 
-# Round to a 16 byte boundary, for ease in testing multiple targets.
-       nop
+# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
+       .align  2
+       .space  8