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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [binutils-2.20.1/] [ld/] [testsuite/] [ld-arm/] [farcall-mixed-lib1.s] - Blame information for rev 855

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

Line No. Rev Author Line
1 205 julius
@ Create a large shared library so that calls through PLT to an undef
2
@ symbol require insertion of a long branch stub.
3
@ Check also calls to an undef weak symbol.
4
 
5
        .text
6
        .arch armv5t
7
 
8
        .p2align 4
9
        .globl lib_func1
10
        .type lib_func1, %function
11
lib_func1:
12
        mov     ip, sp
13
        stmdb   sp!, {r11, ip, lr, pc}
14
        bl      app_func
15
        .weak   app_func_weak
16
        bl      app_func_weak
17
        bl      lib_func3
18
        bl      lib_func4
19
        ldmia   sp, {r11, sp, lr}
20
        bx lr
21
        .size lib_func1, . - lib_func1
22
 
23
        .space 0x1000000
24
        .p2align 4
25
        .globl lib_func2
26
        .type lib_func2, %function
27
        .thumb_func
28
        .code 16
29
lib_func2:
30
        bl      app_func
31
        bl      app_func_weak
32
        bl      lib_func3
33
        bl      lib_func4
34
        bx lr
35
        .size lib_func2, . - lib_func2

powered by: WebSVN 2.1.0

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