OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [binutils-2.20.1/] [ld/] [testsuite/] [ld-mips-elf/] [mips16-pic-4a.s] - Blame information for rev 818

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 205 julius
        .abicalls
2
        .set    noreorder
3
 
4
        # Define a stub for f1, which is defined in another file.
5
        #
6
        # (It's questionable whether defining the stub and real function
7
        # in separate files is really valid or useful.  However, if we
8
        # accept it without error, we should do something useful with it.)
9
 
10
        .section .mips16.fn.f1, "ax", @progbits
11
        .ent    __fn
12
__fn:
13
        .reloc  0,R_MIPS_NONE,f1
14
        la      $25,_f1
15
        jr      $25
16
        mfc1    $4,$f12
17
        .end    __fn
18
 
19
        # Define dummy functions for the executable to call.
20
 
21
        .macro  dummy,name
22
        .text
23
        .global \name
24
        .type   \name,@function
25
        .ent    \name
26
\name:
27
        jr      $31
28
        nop
29
        .end    \name
30
        .endm
31
 
32
        dummy   f2
33
        dummy   f3

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.