binutils-gdb/ld/testsuite/ld-mips-elf/elf-rel-got-n64-irix.d
Maciej W. Rozycki 78da84f994 MIPS/LD/testsuite: Correct mips-elf.exp test ABI/emul/endian arrangement
Similarly to commit 86b24e15c4 ("MIPS/LD/testsuite: Correct
comm-data.exp test ABI/emul/endian arrangement") update the mips-elf.exp
test script to:

- correctly select emulations for targets using non-traditional MIPS
  emulations,

- correctly select ABIs for targets that do not support all of them,

- use the default endianness selection where possible to benefit targets
  that support only one,

- simplify test invocation by providing ABI-specific `run_dump_test'
  wrappers, specifically `run_dump_test_o32', `run_dump_test_n32',
  `run_dump_test_n64' and `run_dump_test_eabi', which remove the need to
  use conditionals across the Expect script or to repeat ABI-specific
  GAS and LD flags with each invocation,

removing numerous test failures for `mips-sgi-irix6', `mips64-openbsd',
`mips64el-openbsd' and `mips64el-ps2-elf' targets and broadening
coverage for several MIPS targets.

There are some new failures for the `mips64el-ps2-elf' target with tests
that were not previously run for that target:

FAIL: MIPS16 link branch to absolute expression (n32)
FAIL: MIPS16 link branch to absolute expression 1 (n32)
FAIL: MIPS16 link branch to absolute expression 2 (n32)
FAIL: microMIPS link branch to absolute expression (n32)
FAIL: MIPS ELF got reloc n32
FAIL: MIPS ELF xgot reloc n32
FAIL: undefined weak symbol overflow (n32)
FAIL: R_MIPS16_HI16 and R_MIPS16_LO16 relocs n32
FAIL: ld-mips-elf/attr-gnu-4-0-n32-ph
FAIL: ld-mips-elf/attr-gnu-4-1-n32-ph
FAIL: ld-mips-elf/attr-gnu-4-2-n32-ph
FAIL: ld-mips-elf/attr-gnu-4-3-n32-ph
FAIL: MIPSr6 JALR reloc unaligned/cross-mode link test (n32)

which are mostly due to dump discrepancies caused by mapping differences
coming from the default linker scripts used by these test cases, or
sometimes because of the specific MIPS processor architecture recorded
in the ELF file taking precedence over the general MIPS ISA level also
recorded.  Finally, the R_MIPS16_HI16/R_MIPS16_LO16 relocation test
failure is a preexisting issue with the IRIX style emulation.

These failures will have to be addressed separately.

	ld/
	* testsuite/ld-mips-elf/mips-elf.exp (run_dump_test_abi)
	(run_dump_test_o32, run_dump_test_n32, run_dump_test_n64)
	(run_dump_test_eabi): New procedures.
	(has_newabi, has_elf32): Remove variables.
	(has_abi): New associative array variable.
	(abi_asflags, abi_ldflags): Update settings across targets.
	(irixemul): New variable.
	Replace `run_dump_test' calls where applicable throughout with
	`run_dump_test_o32', `run_dump_test_n32', `run_dump_test_n64'
	and `run_dump_test_eabi' as appropriate.  Remove explicit
	passing of `abi_asflags' and `abi_ldflags'.  Use `noarch' for
	tests that require their own architecture setting.  Force the
	big endianness for tests that require it.  Select the endianness
	required for `objdump invocation with the `reloc-2' test.
	Conditionalize tests run via `run_ld_link_tests' on the ABI
	required and use the ABI list from the `has_abi' array where
	appropriate.
	* testsuite/ld-mips-elf/attr-gnu-4-0-n32-ph.d: Remove ABI and
	endianness selection options from `ld' and `source' tags.  Relax
	output format matching.
	* testsuite/ld-mips-elf/attr-gnu-4-0-n64-ph.d: Likewise.
	* testsuite/ld-mips-elf/attr-gnu-4-1-n32-ph.d: Likewise.
	* testsuite/ld-mips-elf/attr-gnu-4-1-n64-ph.d: Likewise.
	* testsuite/ld-mips-elf/attr-gnu-4-2-n32-ph.d: Likewise.
	* testsuite/ld-mips-elf/attr-gnu-4-2-n64-ph.d: Likewise.
	* testsuite/ld-mips-elf/attr-gnu-4-3-n32-ph.d: Likewise.
	* testsuite/ld-mips-elf/attr-gnu-4-3-n64-ph.d: Likewise.
	* testsuite/ld-mips-elf/bal-jalx-addend-micromips-n32.d: Remove
	ABI and endianness selection options from `as', `ld', `source'
	tags, and also the `-march=from-abi' option.  Remove the `as'
	tag where it would become empty.
	* testsuite/ld-mips-elf/bal-jalx-addend-micromips-n64.d:
	Likewise.
	* testsuite/ld-mips-elf/bal-jalx-addend-micromips.d: Likewise.
	* testsuite/ld-mips-elf/bal-jalx-addend-n32.d: Likewise.
	* testsuite/ld-mips-elf/bal-jalx-addend-n64.d: Likewise.
	* testsuite/ld-mips-elf/bal-jalx-addend.d: Likewise.
	* testsuite/ld-mips-elf/bal-jalx-local-micromips-n32.d:
	Likewise.
	* testsuite/ld-mips-elf/bal-jalx-local-micromips-n64.d:
	Likewise.
	* testsuite/ld-mips-elf/bal-jalx-local-micromips.d: Likewise.
	* testsuite/ld-mips-elf/bal-jalx-local-n32.d: Likewise.
	* testsuite/ld-mips-elf/bal-jalx-local-n64.d: Likewise.
	* testsuite/ld-mips-elf/bal-jalx-local.d: Likewise.
	* testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n32.d:
	Likewise.
	* testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n64.d:
	Likewise.
	* testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips.d:
	Likewise.
	* testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: Likewise.
	* testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: Likewise.
	* testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: Likewise.
	* testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d: Likewise.
	* testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d: Likewise.
	* testsuite/ld-mips-elf/bal-jalx-pic-micromips.d: Likewise.
	* testsuite/ld-mips-elf/bal-jalx-pic-n32.d: Likewise.
	* testsuite/ld-mips-elf/bal-jalx-pic-n64.d: Likewise.
	* testsuite/ld-mips-elf/bal-jalx-pic.d: Likewise.
	* testsuite/ld-mips-elf/branch-absolute-addend-n32.d: Likewise.
	* testsuite/ld-mips-elf/branch-absolute-addend-n64.d: Likewise.
	* testsuite/ld-mips-elf/branch-absolute-addend.d: Likewise.
	* testsuite/ld-mips-elf/branch-absolute-n32.d: Likewise.
	* testsuite/ld-mips-elf/branch-absolute-n64.d: Likewise.
	* testsuite/ld-mips-elf/branch-absolute.d: Likewise.
	* testsuite/ld-mips-elf/dyn-sec64.d: Likewise.
	* testsuite/ld-mips-elf/eh-frame1-n32.d: Likewise.
	* testsuite/ld-mips-elf/eh-frame1-n64.d: Likewise.
	* testsuite/ld-mips-elf/eh-frame2-n32.d: Likewise.
	* testsuite/ld-mips-elf/eh-frame2-n64.d: Likewise.
	* testsuite/ld-mips-elf/elf-rel-got-n32-embed.d: Likewise.
	* testsuite/ld-mips-elf/elf-rel-got-n32.d: Likewise.
	* testsuite/ld-mips-elf/elf-rel-got-n64-embed.d: Likewise.
	* testsuite/ld-mips-elf/elf-rel-got-n64-irix.d: Likewise.
	* testsuite/ld-mips-elf/elf-rel-got-n64.d: Likewise.
	* testsuite/ld-mips-elf/elf-rel-xgot-n32-embed.d: Likewise.
	* testsuite/ld-mips-elf/elf-rel-xgot-n32.d: Likewise.
	* testsuite/ld-mips-elf/elf-rel-xgot-n64-embed.d: Likewise.
	* testsuite/ld-mips-elf/elf-rel-xgot-n64-irix.d: Likewise.
	* testsuite/ld-mips-elf/elf-rel-xgot-n64.d: Likewise.
	* testsuite/ld-mips-elf/emit-relocs-1.d: Likewise.
	* testsuite/ld-mips-elf/got-dump-2.d: Likewise.
	* testsuite/ld-mips-elf/got-page-2.d: Likewise.
	* testsuite/ld-mips-elf/jal-global-overflow-0.d: Likewise.
	* testsuite/ld-mips-elf/jal-global-overflow-1.d: Likewise.
	* testsuite/ld-mips-elf/jal-local-overflow-0.d: Likewise.
	* testsuite/ld-mips-elf/jal-local-overflow-1.d: Likewise.
	* testsuite/ld-mips-elf/jalbal.d: Likewise.
	* testsuite/ld-mips-elf/jalx-addend-n32.d: Likewise.
	* testsuite/ld-mips-elf/jalx-addend-n64.d: Likewise.
	* testsuite/ld-mips-elf/jalx-addend.d: Likewise.
	* testsuite/ld-mips-elf/jalx-local-n32.d: Likewise.
	* testsuite/ld-mips-elf/jalx-local-n64.d: Likewise.
	* testsuite/ld-mips-elf/jalx-local.d: Likewise.
	* testsuite/ld-mips-elf/jr-to-b-1.d: Likewise.
	* testsuite/ld-mips-elf/jr-to-b-2.d: Likewise.
	* testsuite/ld-mips-elf/lsi-4010-isa.d: Likewise.
	* testsuite/ld-mips-elf/micromips-branch-absolute-addend-n32.d:
	Likewise.
	* testsuite/ld-mips-elf/micromips-branch-absolute-addend-n64.d:
	Likewise.
	* testsuite/ld-mips-elf/micromips-branch-absolute-addend.d:
	Likewise.
	* testsuite/ld-mips-elf/micromips-branch-absolute-n32.d:
	Likewise.
	* testsuite/ld-mips-elf/micromips-branch-absolute-n64.d:
	Likewise.
	* testsuite/ld-mips-elf/micromips-branch-absolute.d: Likewise.
	* testsuite/ld-mips-elf/mips16-branch-2.d: Likewise.
	* testsuite/ld-mips-elf/mips16-branch-3.d: Likewise.
	* testsuite/ld-mips-elf/mips16-branch-absolute-1.d: Likewise.
	* testsuite/ld-mips-elf/mips16-branch-absolute-2.d: Likewise.
	* testsuite/ld-mips-elf/mips16-branch-absolute-addend-1.d:
	Likewise.
	* testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32-1.d:
	Likewise.
	* testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32.d:
	Likewise.
	* testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64-1.d:
	Likewise.
	* testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64.d:
	Likewise.
	* testsuite/ld-mips-elf/mips16-branch-absolute-addend.d:
	Likewise.
	* testsuite/ld-mips-elf/mips16-branch-absolute-n32-1.d:
	Likewise.
	* testsuite/ld-mips-elf/mips16-branch-absolute-n32-2.d:
	Likewise.
	* testsuite/ld-mips-elf/mips16-branch-absolute-n32.d: Likewise.
	* testsuite/ld-mips-elf/mips16-branch-absolute-n64-1.d:
	Likewise.
	* testsuite/ld-mips-elf/mips16-branch-absolute-n64-2.d:
	Likewise.
	* testsuite/ld-mips-elf/mips16-branch-absolute-n64.d: Likewise.
	* testsuite/ld-mips-elf/mips16-branch-absolute.d: Likewise.
	* testsuite/ld-mips-elf/mips16-branch-addend-2.d: Likewise.
	* testsuite/ld-mips-elf/mips16-branch-addend-3.d: Likewise.
	* testsuite/ld-mips-elf/mips16-hilo-n32.d: Likewise.
	* testsuite/ld-mips-elf/mips16-pcrel-0.d: Likewise.
	* testsuite/ld-mips-elf/mips16-pcrel-1.d: Likewise.
	* testsuite/ld-mips-elf/mips16-pcrel-addend-2.d: Likewise.
	* testsuite/ld-mips-elf/mips16-pcrel-addend-6.d: Likewise.
	* testsuite/ld-mips-elf/mips16-pcrel-n32-0.d: Likewise.
	* testsuite/ld-mips-elf/mips16-pcrel-n32-1.d: Likewise.
	* testsuite/ld-mips-elf/mips16-pcrel-n64-sym32-0.d: Likewise.
	* testsuite/ld-mips-elf/mips16-pcrel-n64-sym32-1.d: Likewise.
	* testsuite/ld-mips-elf/mips16e2-pcrel-0.d: Likewise.
	* testsuite/ld-mips-elf/mips16e2-pcrel-1.d: Likewise.
	* testsuite/ld-mips-elf/mips16e2-pcrel-addend-2.d: Likewise.
	* testsuite/ld-mips-elf/mips16e2-pcrel-addend-6.d: Likewise.
	* testsuite/ld-mips-elf/mips16e2-pcrel-n32-0.d: Likewise.
	* testsuite/ld-mips-elf/mips16e2-pcrel-n32-1.d: Likewise.
	* testsuite/ld-mips-elf/mips16e2-pcrel-n64-sym32-0.d: Likewise.
	* testsuite/ld-mips-elf/mips16e2-pcrel-n64-sym32-1.d: Likewise.
	* testsuite/ld-mips-elf/multi-got-1.d: Likewise.
	* testsuite/ld-mips-elf/multi-got-hidden-1.d: Likewise.
	* testsuite/ld-mips-elf/multi-got-hidden-2.d: Likewise.
	* testsuite/ld-mips-elf/multi-got-no-shared.d: Likewise.
	* testsuite/ld-mips-elf/no-shared-1-n32.d: Likewise.
	* testsuite/ld-mips-elf/no-shared-1-n64.d: Likewise.
	* testsuite/ld-mips-elf/no-shared-1-o32.d: Likewise.
	* testsuite/ld-mips-elf/pic-and-nonpic-2.d: Likewise.
	* testsuite/ld-mips-elf/pic-and-nonpic-3-error.d: Likewise.
	* testsuite/ld-mips-elf/pic-and-nonpic-4-error.d: Likewise.
	* testsuite/ld-mips-elf/pie-n32.d: Likewise.
	* testsuite/ld-mips-elf/pie-n64.d: Likewise.
	* testsuite/ld-mips-elf/pie-o32.d: Likewise.
	* testsuite/ld-mips-elf/rel32-n32.d: Likewise.
	* testsuite/ld-mips-elf/rel32-o32.d: Likewise.
	* testsuite/ld-mips-elf/rel64.d: Likewise.
	* testsuite/ld-mips-elf/relax-jalr-n32.d: Likewise.
	* testsuite/ld-mips-elf/reloc-1-n32.d: Likewise.
	* testsuite/ld-mips-elf/reloc-1-n64.d: Likewise.
	* testsuite/ld-mips-elf/reloc-2.d: Likewise.
	* testsuite/ld-mips-elf/reloc-3-n32.d: Likewise.
	* testsuite/ld-mips-elf/reloc-local-overflow.d: Likewise.
	* testsuite/ld-mips-elf/textrel-1.d: Likewise.
	* testsuite/ld-mips-elf/unaligned-branch-2.d: Likewise.
	* testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: Likewise.
	* testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d:
	Likewise.
	* testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d:
	Likewise.
	* testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d:
	Likewise.
	* testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
	* testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
	* testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
	* testsuite/ld-mips-elf/unaligned-branch-r6-2.d: Likewise.
	* testsuite/ld-mips-elf/unaligned-branch.d: Likewise.
	* testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: Likewise.
	* testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
	* testsuite/ld-mips-elf/unaligned-jalx-addend-2.d: Likewise.
	* testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: Likewise.
	* testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d:
	Likewise.
	* testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
	Likewise.
	* testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d:
	Likewise.
	* testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
	Likewise.
	* testsuite/ld-mips-elf/unaligned-jump-micromips.d: Likewise.
	* testsuite/ld-mips-elf/unaligned-jump-mips16.d: Likewise.
	* testsuite/ld-mips-elf/unaligned-jump.d: Likewise.
	* testsuite/ld-mips-elf/unaligned-ldpc-0.d: Likewise.
	* testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
	* testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
	* testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
2018-07-12 20:01:44 +01:00

327 lines
12 KiB
Makefile

#name: MIPS ELF got reloc n64
#as: -KPIC
#objcopy_objects: -R .MIPS.abiflags
#source: ../../../gas/testsuite/gas/mips/elf-rel-got-n64.s RUN_OBJCOPY
#ld:
#objdump: -D --show-raw-insn
.*: +file format elf64-.*mips.*
Disassembly of section \.MIPS\.options:
00000000100000e8 <\.MIPS\.options>:
100000e8: 01280000 .*
100000ec: 00000000 .*
100000f0: 92020022 .*
\.\.\.
1000010c: 10018600 .*
Disassembly of section \.text:
0000000010000110 <fn>:
10000110: df858020 ld a1,-32736\(gp\)
10000114: df858020 ld a1,-32736\(gp\)
10000118: 64a5000c daddiu a1,a1,12
1000011c: df858020 ld a1,-32736\(gp\)
10000120: 3c010001 lui at,0x1
10000124: 3421e240 ori at,at,0xe240
10000128: 00a1282d daddu a1,a1,at
1000012c: df858020 ld a1,-32736\(gp\)
10000130: 00b1282d daddu a1,a1,s1
10000134: df858020 ld a1,-32736\(gp\)
10000138: 64a5000c daddiu a1,a1,12
1000013c: 00b1282d daddu a1,a1,s1
10000140: df858020 ld a1,-32736\(gp\)
10000144: 3c010001 lui at,0x1
10000148: 3421e240 ori at,at,0xe240
1000014c: 00a1282d daddu a1,a1,at
10000150: 00b1282d daddu a1,a1,s1
10000154: df858028 ld a1,-32728\(gp\)
10000158: dca5055c ld a1,1372\(a1\)
1000015c: df858028 ld a1,-32728\(gp\)
10000160: dca50568 ld a1,1384\(a1\)
10000164: df858028 ld a1,-32728\(gp\)
10000168: 00b1282d daddu a1,a1,s1
1000016c: dca5055c ld a1,1372\(a1\)
10000170: df858028 ld a1,-32728\(gp\)
10000174: 00b1282d daddu a1,a1,s1
10000178: dca50568 ld a1,1384\(a1\)
1000017c: df818028 ld at,-32728\(gp\)
10000180: 0025082d daddu at,at,a1
10000184: dc25057e ld a1,1406\(at\)
10000188: df818028 ld at,-32728\(gp\)
1000018c: 0025082d daddu at,at,a1
10000190: fc250594 sd a1,1428\(at\)
10000194: df818020 ld at,-32736\(gp\)
10000198: 88250000 lwl a1,0\(at\)
1000019c: 98250003 lwr a1,3\(at\)
100001a0: df818020 ld at,-32736\(gp\)
100001a4: 6421000c daddiu at,at,12
100001a8: 88250000 lwl a1,0\(at\)
100001ac: 98250003 lwr a1,3\(at\)
100001b0: df818020 ld at,-32736\(gp\)
100001b4: 0031082d daddu at,at,s1
100001b8: 88250000 lwl a1,0\(at\)
100001bc: 98250003 lwr a1,3\(at\)
100001c0: df818020 ld at,-32736\(gp\)
100001c4: 6421000c daddiu at,at,12
100001c8: 0031082d daddu at,at,s1
100001cc: 88250000 lwl a1,0\(at\)
100001d0: 98250003 lwr a1,3\(at\)
100001d4: df818020 ld at,-32736\(gp\)
100001d8: 64210022 daddiu at,at,34
100001dc: 0025082d daddu at,at,a1
100001e0: 88250000 lwl a1,0\(at\)
100001e4: 98250003 lwr a1,3\(at\)
100001e8: df818020 ld at,-32736\(gp\)
100001ec: 64210038 daddiu at,at,56
100001f0: 0025082d daddu at,at,a1
100001f4: a8250000 swl a1,0\(at\)
100001f8: b8250003 swr a1,3\(at\)
100001fc: df858020 ld a1,-32736\(gp\)
10000200: df858030 ld a1,-32720\(gp\)
10000204: df858038 ld a1,-32712\(gp\)
10000208: df858020 ld a1,-32736\(gp\)
1000020c: 00b1282d daddu a1,a1,s1
10000210: df858030 ld a1,-32720\(gp\)
10000214: 00b1282d daddu a1,a1,s1
10000218: df858038 ld a1,-32712\(gp\)
1000021c: 00b1282d daddu a1,a1,s1
10000220: df858028 ld a1,-32728\(gp\)
10000224: dca5055c ld a1,1372\(a1\)
10000228: df858028 ld a1,-32728\(gp\)
1000022c: dca50568 ld a1,1384\(a1\)
10000230: df858028 ld a1,-32728\(gp\)
10000234: 00b1282d daddu a1,a1,s1
10000238: dca5055c ld a1,1372\(a1\)
1000023c: df858028 ld a1,-32728\(gp\)
10000240: 00b1282d daddu a1,a1,s1
10000244: dca50568 ld a1,1384\(a1\)
10000248: df818028 ld at,-32728\(gp\)
1000024c: 0025082d daddu at,at,a1
10000250: dc25057e ld a1,1406\(at\)
10000254: df818028 ld at,-32728\(gp\)
10000258: 0025082d daddu at,at,a1
1000025c: fc250594 sd a1,1428\(at\)
10000260: df818020 ld at,-32736\(gp\)
10000264: 88250000 lwl a1,0\(at\)
10000268: 98250003 lwr a1,3\(at\)
1000026c: df818030 ld at,-32720\(gp\)
10000270: 88250000 lwl a1,0\(at\)
10000274: 98250003 lwr a1,3\(at\)
10000278: df818020 ld at,-32736\(gp\)
1000027c: 0031082d daddu at,at,s1
10000280: 88250000 lwl a1,0\(at\)
10000284: 98250003 lwr a1,3\(at\)
10000288: df818030 ld at,-32720\(gp\)
1000028c: 0031082d daddu at,at,s1
10000290: 88250000 lwl a1,0\(at\)
10000294: 98250003 lwr a1,3\(at\)
10000298: df818040 ld at,-32704\(gp\)
1000029c: 0025082d daddu at,at,a1
100002a0: 88250000 lwl a1,0\(at\)
100002a4: 98250003 lwr a1,3\(at\)
100002a8: df818048 ld at,-32696\(gp\)
100002ac: 0025082d daddu at,at,a1
100002b0: a8250000 swl a1,0\(at\)
100002b4: b8250003 swr a1,3\(at\)
100002b8: df858050 ld a1,-32688\(gp\)
100002bc: df858050 ld a1,-32688\(gp\)
100002c0: df998050 ld t9,-32688\(gp\)
100002c4: df998050 ld t9,-32688\(gp\)
100002c8: df998050 ld t9,-32688\(gp\)
100002cc: 0411ff90 bal 10000110 <fn>
100002d0: 00000000 nop
100002d4: df998050 ld t9,-32688\(gp\)
100002d8: 0411ff8d bal 10000110 <fn>
100002dc: 00000000 nop
100002e0: df858058 ld a1,-32680\(gp\)
100002e4: df858058 ld a1,-32680\(gp\)
100002e8: 64a5000c daddiu a1,a1,12
100002ec: df858058 ld a1,-32680\(gp\)
100002f0: 3c010001 lui at,0x1
100002f4: 3421e240 ori at,at,0xe240
100002f8: 00a1282d daddu a1,a1,at
100002fc: df858058 ld a1,-32680\(gp\)
10000300: 00b1282d daddu a1,a1,s1
10000304: df858058 ld a1,-32680\(gp\)
10000308: 64a5000c daddiu a1,a1,12
1000030c: 00b1282d daddu a1,a1,s1
10000310: df858058 ld a1,-32680\(gp\)
10000314: 3c010001 lui at,0x1
10000318: 3421e240 ori at,at,0xe240
1000031c: 00a1282d daddu a1,a1,at
10000320: 00b1282d daddu a1,a1,s1
10000324: df858028 ld a1,-32728\(gp\)
10000328: dca505d4 ld a1,1492\(a1\)
1000032c: df858028 ld a1,-32728\(gp\)
10000330: dca505e0 ld a1,1504\(a1\)
10000334: df858028 ld a1,-32728\(gp\)
10000338: 00b1282d daddu a1,a1,s1
1000033c: dca505d4 ld a1,1492\(a1\)
10000340: df858028 ld a1,-32728\(gp\)
10000344: 00b1282d daddu a1,a1,s1
10000348: dca505e0 ld a1,1504\(a1\)
1000034c: df818028 ld at,-32728\(gp\)
10000350: 0025082d daddu at,at,a1
10000354: dc2505f6 ld a1,1526\(at\)
10000358: df818028 ld at,-32728\(gp\)
1000035c: 0025082d daddu at,at,a1
10000360: fc25060c sd a1,1548\(at\)
10000364: df818058 ld at,-32680\(gp\)
10000368: 88250000 lwl a1,0\(at\)
1000036c: 98250003 lwr a1,3\(at\)
10000370: df818058 ld at,-32680\(gp\)
10000374: 6421000c daddiu at,at,12
10000378: 88250000 lwl a1,0\(at\)
1000037c: 98250003 lwr a1,3\(at\)
10000380: df818058 ld at,-32680\(gp\)
10000384: 0031082d daddu at,at,s1
10000388: 88250000 lwl a1,0\(at\)
1000038c: 98250003 lwr a1,3\(at\)
10000390: df818058 ld at,-32680\(gp\)
10000394: 6421000c daddiu at,at,12
10000398: 0031082d daddu at,at,s1
1000039c: 88250000 lwl a1,0\(at\)
100003a0: 98250003 lwr a1,3\(at\)
100003a4: df818058 ld at,-32680\(gp\)
100003a8: 64210022 daddiu at,at,34
100003ac: 0025082d daddu at,at,a1
100003b0: 88250000 lwl a1,0\(at\)
100003b4: 98250003 lwr a1,3\(at\)
100003b8: df818058 ld at,-32680\(gp\)
100003bc: 64210038 daddiu at,at,56
100003c0: 0025082d daddu at,at,a1
100003c4: a8250000 swl a1,0\(at\)
100003c8: b8250003 swr a1,3\(at\)
100003cc: df858058 ld a1,-32680\(gp\)
100003d0: df858060 ld a1,-32672\(gp\)
100003d4: df858068 ld a1,-32664\(gp\)
100003d8: df858058 ld a1,-32680\(gp\)
100003dc: 00b1282d daddu a1,a1,s1
100003e0: df858060 ld a1,-32672\(gp\)
100003e4: 00b1282d daddu a1,a1,s1
100003e8: df858068 ld a1,-32664\(gp\)
100003ec: 00b1282d daddu a1,a1,s1
100003f0: df858028 ld a1,-32728\(gp\)
100003f4: dca505d4 ld a1,1492\(a1\)
100003f8: df858028 ld a1,-32728\(gp\)
100003fc: dca505e0 ld a1,1504\(a1\)
10000400: df858028 ld a1,-32728\(gp\)
10000404: 00b1282d daddu a1,a1,s1
10000408: dca505d4 ld a1,1492\(a1\)
1000040c: df858028 ld a1,-32728\(gp\)
10000410: 00b1282d daddu a1,a1,s1
10000414: dca505e0 ld a1,1504\(a1\)
10000418: df818028 ld at,-32728\(gp\)
1000041c: 0025082d daddu at,at,a1
10000420: dc2505f6 ld a1,1526\(at\)
10000424: df818028 ld at,-32728\(gp\)
10000428: 0025082d daddu at,at,a1
1000042c: fc25060c sd a1,1548\(at\)
10000430: df818058 ld at,-32680\(gp\)
10000434: 88250000 lwl a1,0\(at\)
10000438: 98250003 lwr a1,3\(at\)
1000043c: df818060 ld at,-32672\(gp\)
10000440: 88250000 lwl a1,0\(at\)
10000444: 98250003 lwr a1,3\(at\)
10000448: df818058 ld at,-32680\(gp\)
1000044c: 0031082d daddu at,at,s1
10000450: 88250000 lwl a1,0\(at\)
10000454: 98250003 lwr a1,3\(at\)
10000458: df818060 ld at,-32672\(gp\)
1000045c: 0031082d daddu at,at,s1
10000460: 88250000 lwl a1,0\(at\)
10000464: 98250003 lwr a1,3\(at\)
10000468: df818070 ld at,-32656\(gp\)
1000046c: 0025082d daddu at,at,a1
10000470: 88250000 lwl a1,0\(at\)
10000474: 98250003 lwr a1,3\(at\)
10000478: df818078 ld at,-32648\(gp\)
1000047c: 0025082d daddu at,at,a1
10000480: a8250000 swl a1,0\(at\)
10000484: b8250003 swr a1,3\(at\)
10000488: df858080 ld a1,-32640\(gp\)
1000048c: df858080 ld a1,-32640\(gp\)
10000490: df998080 ld t9,-32640\(gp\)
10000494: df998080 ld t9,-32640\(gp\)
10000498: df998080 ld t9,-32640\(gp\)
1000049c: 0411001d bal 10000514 <fn2>
100004a0: 00000000 nop
100004a4: df998080 ld t9,-32640\(gp\)
100004a8: 0411001a bal 10000514 <fn2>
100004ac: 00000000 nop
100004b0: 1000ff17 b 10000110 <fn>
100004b4: df858020 ld a1,-32736\(gp\)
100004b8: df858028 ld a1,-32728\(gp\)
100004bc: 10000015 b 10000514 <fn2>
100004c0: dca505d4 ld a1,1492\(a1\)
100004c4: 1000ff12 b 10000110 <fn>
100004c8: df858020 ld a1,-32736\(gp\)
100004cc: df858060 ld a1,-32672\(gp\)
100004d0: 10000010 b 10000514 <fn2>
100004d4: 00000000 nop
100004d8: df858038 ld a1,-32712\(gp\)
100004dc: 1000ff0c b 10000110 <fn>
100004e0: 00000000 nop
100004e4: df858028 ld a1,-32728\(gp\)
100004e8: 1000000a b 10000514 <fn2>
100004ec: dca505d4 ld a1,1492\(a1\)
100004f0: df858028 ld a1,-32728\(gp\)
100004f4: 1000ff06 b 10000110 <fn>
100004f8: dca50568 ld a1,1384\(a1\)
100004fc: df818028 ld at,-32728\(gp\)
10000500: 0025082d daddu at,at,a1
10000504: 10000003 b 10000514 <fn2>
10000508: dc2505f6 ld a1,1526\(at\)
\.\.\.
0000000010000514 <fn2>:
\.\.\.
Disassembly of section \.data:
0000000010010520 <_fdata>:
\.\.\.
000000001001055c <dg1>:
\.\.\.
0000000010010598 <sp2>:
\.\.\.
00000000100105d4 <dg2>:
\.\.\.
Disassembly of section \.got:
0000000010010610 <_GLOBAL_OFFSET_TABLE_>:
\.\.\.
10010618: 80000000 .*
\.\.\.
10010624: 1001055c .*
10010628: 00000000 .*
1001062c: 10010000 .*
10010630: 00000000 .*
10010634: 10010568 .*
10010638: 00000000 .*
1001063c: 1002e79c .*
10010640: 00000000 .*
10010644: 1001057e .*
10010648: 00000000 .*
1001064c: 10010594 .*
10010650: 00000000 .*
10010654: 10000110 .*
10010658: 00000000 .*
1001065c: 100105d4 .*
10010660: 00000000 .*
10010664: 100105e0 .*
10010668: 00000000 .*
1001066c: 1002e814 .*
10010670: 00000000 .*
10010674: 100105f6 .*
10010678: 00000000 .*
1001067c: 1001060c .*
10010680: 00000000 .*
10010684: 10000514 .*
10010688: 00000000 .*
\.\.\.
#pass