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

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [ld/] [testsuite/] [ld-arm/] [farcall-mixed-lib1.s] - Blame information for rev 84

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

Line No. Rev Author Line
1 33 khays
@ 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
 
7
        .p2align 4
8
        .globl lib_func1
9
        .type lib_func1, %function
10
lib_func1:
11
        mov     ip, sp
12
        stmdb   sp!, {r11, ip, lr, pc}
13
        bl      app_func
14
        .weak   app_func_weak
15
        bl      app_func_weak
16
        bl      lib_func3
17
        bl      lib_func4
18
        ldmia   sp, {r11, sp, lr}
19
        bx lr
20
        .size lib_func1, . - lib_func1
21
 
22
        .space 0x1000000
23
        .p2align 4
24
        .globl lib_func2
25
        .type lib_func2, %function
26
        .thumb_func
27
        .code 16
28
lib_func2:
29
        bl      app_func
30
        bl      app_func_weak
31
        bl      lib_func3
32
        bl      lib_func4
33
        bx lr
34
        .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.