old-cross-binutils/ld/testsuite/ld-mips-elf/export-class-call16-o32.dd
Maciej W. Rozycki 9b11fa1a85 * ld-mips-elf/export-class-call16-o32.dd: New test.
* ld-mips-elf/export-class-call16-o32-irix.dd: New test.
	* ld-mips-elf/export-class-call16-o32.gd: New test.
	* ld-mips-elf/export-class-call16-n32.dd: New test.
	* ld-mips-elf/export-class-call16-n32.gd: New test.
	* ld-mips-elf/export-class-call16-n64.dd: New test.
	* ld-mips-elf/export-class-call16-n64.gd: New test.
	* ld-mips-elf/export-class-call16-def.s: New test source.
	* ld-mips-elf/export-class-call16-o32.s: New test source.
	* ld-mips-elf/export-class-call16-n32.s: New test source.
	* ld-mips-elf/export-class-call16-n64.s: New test source.
	* ld-mips-elf/export-class-call16.ld: New test linker script.
	* ld-mips-elf/mips-elf.exp: Run the new tests.
2012-08-13 19:52:59 +00:00

43 lines
1 KiB
Text

.*: +file format .*mips.*
Disassembly of section \.text:
12340000 <foo>:
12340000: 3c1c0001 lui gp,0x1
12340004: 279c8080 addiu gp,gp,-32640
12340008: 0399e021 addu gp,gp,t9
1234000c: 27bdfff8 addiu sp,sp,-8
12340010: afbf0004 sw ra,4\(sp\)
12340014: afbc0000 sw gp,0\(sp\)
12340018: 8f998018 lw t9,-32744\(gp\)
1234001c: 04110010 bal 12340060 <protected_foo>
12340020: 00000000 nop
12340024: 8fbc0000 lw gp,0\(sp\)
12340028: 8f99801c lw t9,-32740\(gp\)
1234002c: 04110010 bal 12340070 <hidden_foo>
12340030: 00000000 nop
12340034: 8fbc0000 lw gp,0\(sp\)
12340038: 8f998020 lw t9,-32736\(gp\)
1234003c: 04110010 bal 12340080 <internal_foo>
12340040: 00000000 nop
12340044: 8fbc0000 lw gp,0\(sp\)
12340048: 8fbf0004 lw ra,4\(sp\)
1234004c: 03e00008 jr ra
12340050: 27bd0008 addiu sp,sp,8
\.\.\.
12340060 <protected_foo>:
12340060: 03e00008 jr ra
12340064: 00000000 nop
\.\.\.
12340070 <hidden_foo>:
12340070: 03e00008 jr ra
12340074: 00000000 nop
\.\.\.
12340080 <internal_foo>:
12340080: 03e00008 jr ra
12340084: 00000000 nop
\.\.\.