Prefer object over notype symbols when disassembling
[deliverable/binutils-gdb.git] / ld / testsuite / ld-mips-elf / mips16-pic-4c.s
CommitLineData
61b0a4af
RS
1 .abicalls
2 .option pic0
3 .set noreorder
4
5 # Create a call stub for f2. We pretend that f2 takes floating-point
6 # arguments but doesn't return a floating-point value.
7
8 .section .mips16.call.f2, "ax", @progbits
9 .ent __call
660df28a 10 .type __call, @function
61b0a4af
RS
11__call:
12 la $25,f2
13 jr $25
14 nop
15 .end __call
16
17 # Create a call stub for f3. We pretend that f3 returns a
18 # floating-point value.
19
20 .section .mips16.call.fp.f3, "ax", @progbits
21 .ent __call_fp
660df28a 22 .type __call_fp, @function
61b0a4af
RS
23__call_fp:
24 la $25,f3
25 jr $25
26 nop
27 .end __call_fp
28
29 # Make sure that f2 and f3 are called from MIPS16 code.
30 .set mips16
31 .text
32 .global __start
33 .type __start,@function
34 .ent __start
35__start:
36 jal f2
37 nop
38 jal f3
39 nop
40 .end __start
This page took 0.498793 seconds and 4 git commands to generate.