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-mix.s] - Blame information for rev 146

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

Line No. Rev Author Line
1 33 khays
@ Test to ensure that ARM calls exceeding 32Mb generate stubs.
2
 
3
        .global _start
4
        .syntax unified
5
 
6
@ We will place the section .text at 0x1000.
7
 
8
        .text
9
 
10
_start:
11
        bl bar
12
        bl bar2
13
        bl bar3
14
        bl bar4
15
        bl bar5
16
 
17
@ We will place the section .foo at 0x2002020.
18
 
19
        .section .foo, "xa"
20
 
21
        .global bar
22
        .thumb_func
23
bar:
24
        bx lr
25
 
26
        .arm
27
        .global bar2
28
        .type bar2, %function
29
bar2:
30
        bx lr
31
 
32
        .global bar3
33
        .type bar3, %function
34
bar3:
35
        bx lr
36
 
37
        .global bar4
38
        .thumb_func
39
bar4:
40
        bx lr
41
 
42
        .global bar5
43
        .type bar5, %function
44
bar5:
45
        bx lr
46
 

powered by: WebSVN 2.1.0

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