~ubuntu-branches/ubuntu/utopic/binutils-arm64-cross/utopic

« back to all changes in this revision

Viewing changes to binutils-2.23.52.20130611/ld/testsuite/ld-arm/farcall-mix.s

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-06-20 17:38:09 UTC
  • Revision ID: package-import@ubuntu.com-20130620173809-app8lzgvymy5fg6c
Tags: 0.7
Build-depend on binutils-source (>= 2.23.52.20130620-1~).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
@ 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