* gas/mips/ld-n32.d: New test.

* gas/mips/ld-n64.d: Likewise.
	* gas/mips/mips.exp: Run the new tests.
This commit is contained in:
Maciej W. Rozycki 2010-10-24 10:08:56 +00:00
parent f3e3843c71
commit 233c7e41a6
4 changed files with 1816 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2010-10-24 Maciej W. Rozycki <macro@linux-mips.org>
* gas/mips/ld-n32.d: New test.
* gas/mips/ld-n64.d: Likewise.
* gas/mips/mips.exp: Run the new tests.
2010-10-24 Maciej W. Rozycki <macro@linux-mips.org>
* gas/mips/ld.d: Rename to...

View File

@ -0,0 +1,386 @@
#objdump: -dr --prefix-addresses
#as: -n32
#name: MIPS ld n32
#source: ld.s
# Test the ld macro, n32.
.*: +file format .*mips.*
Disassembly of section \.text:
[0-9a-f]+ <[^>]*> ld a0,0\(zero\)
[0-9a-f]+ <[^>]*> ld a0,1\(zero\)
[0-9a-f]+ <[^>]*> lui a0,0x1
[0-9a-f]+ <[^>]*> ld a0,-32768\(a0\)
[0-9a-f]+ <[^>]*> ld a0,-32768\(zero\)
[0-9a-f]+ <[^>]*> lui a0,0x1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[0-9a-f]+ <[^>]*> lui a0,0x2
[0-9a-f]+ <[^>]*> ld a0,-23131\(a0\)
[0-9a-f]+ <[^>]*> ld a0,0\(a1\)
[0-9a-f]+ <[^>]*> ld a0,1\(a1\)
[0-9a-f]+ <[^>]*> lui a0,0x1
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,-32768\(a0\)
[0-9a-f]+ <[^>]*> ld a0,-32768\(a1\)
[0-9a-f]+ <[^>]*> lui a0,0x1
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[0-9a-f]+ <[^>]*> lui a0,0x2
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,-23131\(a0\)
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 \.data
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 \.data
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 big_external_data_label
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 big_external_data_label
[0-9a-f]+ <[^>]*> ld a0,0\(gp\)
[ ]*[0-9a-f]+: R_MIPS_GPREL16 small_external_data_label
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 big_external_common
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 big_external_common
[0-9a-f]+ <[^>]*> ld a0,0\(gp\)
[ ]*[0-9a-f]+: R_MIPS_GPREL16 small_external_common
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 \.bss
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 \.bss
[0-9a-f]+ <[^>]*> ld a0,0\(gp\)
[ ]*[0-9a-f]+: R_MIPS_GPREL16 \.sbss
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 \.data\+0x1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 \.data\+0x1
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 big_external_data_label\+0x1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 big_external_data_label\+0x1
[0-9a-f]+ <[^>]*> ld a0,0\(gp\)
[ ]*[0-9a-f]+: R_MIPS_GPREL16 small_external_data_label\+0x1
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 big_external_common\+0x1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 big_external_common\+0x1
[0-9a-f]+ <[^>]*> ld a0,0\(gp\)
[ ]*[0-9a-f]+: R_MIPS_GPREL16 small_external_common\+0x1
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 \.bss\+0x1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 \.bss\+0x1
[0-9a-f]+ <[^>]*> ld a0,0\(gp\)
[ ]*[0-9a-f]+: R_MIPS_GPREL16 \.sbss\+0x1
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 \.data\+0x8000
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 \.data\+0x8000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 big_external_data_label\+0x8000
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 big_external_data_label\+0x8000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 small_external_data_label\+0x8000
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 small_external_data_label\+0x8000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 big_external_common\+0x8000
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 big_external_common\+0x8000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 small_external_common\+0x8000
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 small_external_common\+0x8000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 \.bss\+0x8000
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 \.bss\+0x8000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 \.sbss\+0x8000
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 \.sbss\+0x8000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 \.data\+0xffff8000
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 \.data\+0xffff8000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 big_external_data_label\+0xffff8000
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 big_external_data_label\+0xffff8000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 small_external_data_label\+0xffff8000
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 small_external_data_label\+0xffff8000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 big_external_common\+0xffff8000
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 big_external_common\+0xffff8000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 small_external_common\+0xffff8000
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 small_external_common\+0xffff8000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 \.bss\+0xffff8000
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 \.bss\+0xffff8000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 \.sbss\+0xffff8000
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 \.sbss\+0xffff8000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 \.data\+0x10000
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 \.data\+0x10000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 big_external_data_label\+0x10000
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 big_external_data_label\+0x10000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 small_external_data_label\+0x10000
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 small_external_data_label\+0x10000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 big_external_common\+0x10000
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 big_external_common\+0x10000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 small_external_common\+0x10000
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 small_external_common\+0x10000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 \.bss\+0x10000
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 \.bss\+0x10000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 \.sbss\+0x10000
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 \.sbss\+0x10000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 \.data\+0x1a5a5
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 \.data\+0x1a5a5
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 big_external_data_label\+0x1a5a5
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 big_external_data_label\+0x1a5a5
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 small_external_data_label\+0x1a5a5
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 small_external_data_label\+0x1a5a5
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 big_external_common\+0x1a5a5
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 big_external_common\+0x1a5a5
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 small_external_common\+0x1a5a5
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 small_external_common\+0x1a5a5
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 \.bss\+0x1a5a5
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 \.bss\+0x1a5a5
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 \.sbss\+0x1a5a5
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 \.sbss\+0x1a5a5
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 \.data
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 \.data
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 big_external_data_label
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 big_external_data_label
[0-9a-f]+ <[^>]*> addu a0,a1,gp
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_GPREL16 small_external_data_label
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 big_external_common
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 big_external_common
[0-9a-f]+ <[^>]*> addu a0,a1,gp
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_GPREL16 small_external_common
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 \.bss
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 \.bss
[0-9a-f]+ <[^>]*> addu a0,a1,gp
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_GPREL16 \.sbss
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 \.data\+0x1
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 \.data\+0x1
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 big_external_data_label\+0x1
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 big_external_data_label\+0x1
[0-9a-f]+ <[^>]*> addu a0,a1,gp
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_GPREL16 small_external_data_label\+0x1
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 big_external_common\+0x1
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 big_external_common\+0x1
[0-9a-f]+ <[^>]*> addu a0,a1,gp
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_GPREL16 small_external_common\+0x1
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 \.bss\+0x1
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 \.bss\+0x1
[0-9a-f]+ <[^>]*> addu a0,a1,gp
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_GPREL16 \.sbss\+0x1
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 \.data\+0x8000
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 \.data\+0x8000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 big_external_data_label\+0x8000
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 big_external_data_label\+0x8000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 small_external_data_label\+0x8000
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 small_external_data_label\+0x8000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 big_external_common\+0x8000
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 big_external_common\+0x8000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 small_external_common\+0x8000
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 small_external_common\+0x8000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 \.bss\+0x8000
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 \.bss\+0x8000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 \.sbss\+0x8000
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 \.sbss\+0x8000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 \.data\+0xffff8000
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 \.data\+0xffff8000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 big_external_data_label\+0xffff8000
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 big_external_data_label\+0xffff8000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 small_external_data_label\+0xffff8000
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 small_external_data_label\+0xffff8000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 big_external_common\+0xffff8000
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 big_external_common\+0xffff8000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 small_external_common\+0xffff8000
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 small_external_common\+0xffff8000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 \.bss\+0xffff8000
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 \.bss\+0xffff8000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 \.sbss\+0xffff8000
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 \.sbss\+0xffff8000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 \.data\+0x10000
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 \.data\+0x10000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 big_external_data_label\+0x10000
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 big_external_data_label\+0x10000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 small_external_data_label\+0x10000
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 small_external_data_label\+0x10000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 big_external_common\+0x10000
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 big_external_common\+0x10000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 small_external_common\+0x10000
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 small_external_common\+0x10000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 \.bss\+0x10000
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 \.bss\+0x10000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 \.sbss\+0x10000
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 \.sbss\+0x10000
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 \.data\+0x1a5a5
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 \.data\+0x1a5a5
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 big_external_data_label\+0x1a5a5
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 big_external_data_label\+0x1a5a5
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 small_external_data_label\+0x1a5a5
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 small_external_data_label\+0x1a5a5
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 big_external_common\+0x1a5a5
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 big_external_common\+0x1a5a5
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 small_external_common\+0x1a5a5
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 small_external_common\+0x1a5a5
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 \.bss\+0x1a5a5
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 \.bss\+0x1a5a5
[0-9a-f]+ <[^>]*> lui a0,0x0
[ ]*[0-9a-f]+: R_MIPS_HI16 \.sbss\+0x1a5a5
[0-9a-f]+ <[^>]*> addu a0,a0,a1
[0-9a-f]+ <[^>]*> ld a0,0\(a0\)
[ ]*[0-9a-f]+: R_MIPS_LO16 \.sbss\+0x1a5a5
\.\.\.

File diff suppressed because it is too large Load Diff

View File

@ -515,6 +515,12 @@ if { [istarget mips*-*-vxworks*] } {
}
if !$aout {
run_dump_test_arches "ld" [mips_arch_list_matching mips1]
if $has_newabi {
run_dump_test_arches "ld-n32" \
[mips_arch_list_matching mips3]
run_dump_test_arches "ld-n64" \
[mips_arch_list_matching mips3]
}
}
if $elf { run_dump_test "ld-svr4pic" }
if $elf { run_dump_test "ld-xgot" }