binutils-gdb/ld/testsuite/ld-mips-elf/compressed-plt-1-o32-umips-only.od
Richard Sandiford 690f47bf98 ld/testsuite/
* lib/ld-lib.exp (default_ld_compile): Add a -I option for the source
	directory.
	* ld-mips-elf/compressed-plt-1.ld, ld-mips-elf/compressed-plt-1.s,
	ld-mips-elf/compressed-plt-1-dyn.s, ld-mips-elf/compressed-plt-1a.s,
	ld-mips-elf/compressed-plt-1b.s, ld-mips-elf/compressed-plt-1c.s,
	ld-mips-elf/compressed-plt-1d.s, ld-mips-elf/compressed-plt-1e.s,
	ld-mips-elf/compressed-plt-1-o32-se.rd,
	ld-mips-elf/compressed-plt-1-o32-se.od,
	ld-mips-elf/compressed-plt-1-o32-mips16-only.rd,
	ld-mips-elf/compressed-plt-1-o32-mips16-only.od,
	ld-mips-elf/compressed-plt-1-o32-umips-only.rd,
	ld-mips-elf/compressed-plt-1-o32-umips-only.od,
	ld-mips-elf/compressed-plt-1-o32-mips16.rd,
	ld-mips-elf/compressed-plt-1-o32-mips16.od,
	ld-mips-elf/compressed-plt-1-o32-mips16-got.rd,
	ld-mips-elf/compressed-plt-1-o32-mips16-got.od,
	ld-mips-elf/compressed-plt-1-o32-mips16-word.rd,
	ld-mips-elf/compressed-plt-1-o32-mips16-word.od,
	ld-mips-elf/compressed-plt-1-o32-umips.rd,
	ld-mips-elf/compressed-plt-1-o32-umips.od,
	ld-mips-elf/compressed-plt-1-o32-umips-got.rd,
	ld-mips-elf/compressed-plt-1-o32-umips-got.od,
	ld-mips-elf/compressed-plt-1-o32-umips-word.rd,
	ld-mips-elf/compressed-plt-1-o32-umips-word.od,
	ld-mips-elf/compressed-plt-1-n32-mips16.rd,
	ld-mips-elf/compressed-plt-1-n32-mips16.od,
	ld-mips-elf/compressed-plt-1-n32-umips.rd,
	ld-mips-elf/compressed-plt-1-n32-umips.od: New tests.
	* ld-mips-elf/mips-elf.exp: Run them.
2013-10-13 10:17:20 +00:00

112 lines
2.9 KiB
Plaintext

.* file format .*
Disassembly of section \.plt:
# All entries must be microMIPS.
10100000 <_PROCEDURE_LINKAGE_TABLE_>:
.*: 7984 0000 addiu \$3,\$pc,1048576
.*: ff23 0000 lw \$25,0\(\$3\)
.*: 0535 subu \$2,\$2,\$3
.*: 2525 srl \$2,\$2,2
.*: 3302 fffe addiu \$24,\$2,-2
.*: 0dff move \$15,\$31
.*: 45f9 jalrs \$25
.*: 0f83 move \$28,\$3
.*: 0c00 nop
10100018 <f_lo_ic@micromipsplt>:
.*: 7903 fffc addiu \$2,\$pc,1048560
# ^ 0x10200008
.*: ff22 0000 lw \$25,0\(\$2\)
.*: 4599 jr \$25
.*: 0f02 move \$24,\$2
10100024 <f_lo_dc@micromipsplt>:
.*: 7903 fffa addiu \$2,\$pc,1048552
# ^ 0x1020000c
.*: ff22 0000 lw \$25,0\(\$2\)
.*: 4599 jr \$25
.*: 0f02 move \$24,\$2
10100030 <f_dc@micromipsplt>:
.*: 7903 fff8 addiu \$2,\$pc,1048544
# ^ 0x10200010
.*: ff22 0000 lw \$25,0\(\$2\)
.*: 4599 jr \$25
.*: 0f02 move \$24,\$2
1010003c <f_ic_dc@micromipsplt>:
.*: 7903 fff6 addiu \$2,\$pc,1048536
# ^ 0x10200014
.*: ff22 0000 lw \$25,0\(\$2\)
.*: 4599 jr \$25
.*: 0f02 move \$24,\$2
10100048 <f_lo_ic_dc@micromipsplt>:
.*: 7903 fff4 addiu \$2,\$pc,1048528
# ^ 0x10200018
.*: ff22 0000 lw \$25,0\(\$2\)
.*: 4599 jr \$25
.*: 0f02 move \$24,\$2
10100054 <f_lo@micromipsplt>:
.*: 7903 fff2 addiu \$2,\$pc,1048520
# ^ 0x1020001c
.*: ff22 0000 lw \$25,0\(\$2\)
.*: 4599 jr \$25
.*: 0f02 move \$24,\$2
Disassembly of section \.MIPS\.stubs:
10101000 <_MIPS_STUBS_>:
# Lazy-binding stub for f_ic.
.*: ff3c 8010 lw \$25,-32752\(\$28\)
.*: 0dff move \$15,\$31
.*: 45d9 jalr \$25
.*: 3300 0009 li \$24,9
\.\.\.
Disassembly of section \.text\.a:
10102000 <testc>:
.*: .... .... jal [0-9a-f]+ <f_dc@micromipsplt>
.*: 0000 0000 nop
.*: .... .... j [0-9a-f]+ <f_dc@micromipsplt>
.*: 0c00 nop
.*: fc43 8024 lw \$2,-32732\(\$3\)
# ^ global GOT entry for f_ic
.*: .... .... jal [0-9a-f]+ <f_ic_dc@micromipsplt>
.*: 0000 0000 nop
.*: .... .... j [0-9a-f]+ <f_ic_dc@micromipsplt>
.*: 0c00 nop
.*: fc43 8018 lw \$2,-32744\(\$3\)
# ^ local GOT entry for f_ic_dc@micromipsplt
.*: .... .... jal [0-9a-f]+ <f_lo_dc@micromipsplt>
.*: 0000 0000 nop
.*: .... .... j [0-9a-f]+ <f_lo_dc@micromipsplt>
.*: 0c00 nop
.*: fc43 801c lw \$2,-32740\(\$3\)
# ^ local GOT entry for f_lo_ic@micromipsplt
.*: .... .... jal [0-9a-f]+ <f_lo_ic_dc@micromipsplt>
.*: 0000 0000 nop
.*: .... .... j [0-9a-f]+ <f_lo_ic_dc@micromipsplt>
.*: 0c00 nop
.*: fc43 8020 lw \$2,-32736\(\$3\)
# ^ local GOT entry for f_lo_ic_dc@micromipsplt
.*: 459f jr \$31
Disassembly of section \.text\.c:
10103000 <testlo>:
.*: 3040 0055 li \$2,85
# ^ low 16 bits of f_lo@micromipsplt
.*: 3040 0025 li \$2,37
# ^ low 16 bits of f_lo_dc@micromipsplt
.*: 3040 0019 li \$2,25
# ^ low 16 bits of f_lo_ic@micromipsplt
.*: 3040 0049 li \$2,73
# ^ low 16 bits of f_lo_ic_dc@micromipsplt