binutils-gdb/ld/testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.dd
Maciej W. Rozycki 0375b0a537 MIPS/LD/testsuite: Verify microMIPS LA25 stub generation
Repeat `PIC and non-PIC test 1' checks for microMIPS LA25 stubs,
covering code generation and stub symbol annotation.

	ld/
	* testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.dd: New
	test.
	* testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.nd: New
	test.
	* testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.dd: New test.
	* testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.nd: New test.
	* testsuite/ld-mips-elf/pic-and-nonpic-1a-micromips.s: New test
	source.
	* testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s: New test
	source.
	* testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2016-08-10 22:24:43 +01:00

49 lines
1.1 KiB
Plaintext

.*
Disassembly of section \.text:
00041000 <\.pic\.f3>:
41000: 3c190004 lui t9,0x4
41004: 08010415 j 41054 <f3>
41008: 27391054 addiu t9,t9,4180
4100c: 00000000 nop
00041010 <\.pic\.f2>:
41010: 41b9 0004 lui t9,0x4
41014: d402 0823 j 41046 <f2>
41018: 3339 1047 addiu t9,t9,4167
\.\.\.
00041028 <\.pic\.f1>:
41028: 41b9 0004 lui t9,0x4
4102c: 3339 1031 addiu t9,t9,4145
00041030 <f1>:
41030: 41bc 0002 lui gp,0x2
41034: 339c 6fcf addiu gp,gp,28623
41038: 033c e150 addu gp,gp,t9
4103c: f001 0415 jalx 41054 <f3>
41040: 0000 0000 nop
41044: 45bf jrc ra
00041046 <f2>:
41046: 41bc 0002 lui gp,0x2
4104a: 339c 6fb9 addiu gp,gp,28601
4104e: 033c e150 addu gp,gp,t9
41052: 45bf jrc ra
00041054 <f3>:
41054: 3c1c0002 lui gp,0x2
41058: 279c6fac addiu gp,gp,28588
4105c: 0399e021 addu gp,gp,t9
00041060 <__start>:
41060: f402 0814 jal 41028 <\.pic\.f1>
41064: 0000 0000 nop
41068: f402 0808 jal 41010 <\.pic\.f2>
4106c: 0000 0000 nop
41070: f001 0400 jalx 41000 <\.pic\.f3>
41074: 0000 0000 nop
\.\.\.