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-mix2.s] - Blame information for rev 98

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
 
14
 
15
@ We will place the section .mytext at 0x2000.
16
 
17
        .section .mytext, "xa"
18
        bl bar3
19
        bl bar4
20
        bl bar5
21
 
22
@ We will place the section .foo at 0x2003020.
23
 
24
        .section .foo, "xa"
25
 
26
        .global bar
27
        .thumb_func
28
bar:
29
        bx lr
30
 
31
        .arm
32
        .global bar2
33
        .type bar2, %function
34
bar2:
35
        bx lr
36
 
37
        .global bar3
38
        .type bar3, %function
39
bar3:
40
        bx lr
41
 
42
        .global bar4
43
        .thumb_func
44
bar4:
45
        bx lr
46
 
47
        .global bar5
48
        .type bar5, %function
49
bar5:
50
        bx lr
51
 

powered by: WebSVN 2.1.0

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