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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [binutils-2.20.1/] [ld/] [testsuite/] [ld-arm/] [preempt-app.s] - Blame information for rev 841

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 205 julius
        @ Preempt an ARM shared library function with a Thumb function
2
        @ in the application.
3
        .text
4
        .p2align 4
5
        .globl _start
6
_start:
7
        mov     ip, sp
8
        stmdb   sp!, {r11, ip, lr, pc}
9
        bl      lib_func1
10
        ldmia   sp, {r11, sp, lr}
11
        bx lr
12
 
13
        .p2align 4
14
        .globl app_func2
15
        .type app_func2,%function
16
app_func2:
17
        bx      lr
18
 
19
        .p2align 4
20
        .globl lib_func1
21
        .type lib_func1,%function
22
        .thumb_func
23
lib_func1:
24
        bx lr
25
 
26
        .data
27
        .long data_obj

powered by: WebSVN 2.1.0

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