~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/cortex-a8-fix-b-rel.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
        .syntax unified
 
2
        .cpu cortex-a8
 
3
        .thumb
 
4
        .text
 
5
 
 
6
        @ expansion 32 bytes
 
7
        .macro bw1
 
8
1:
 
9
        add.w r0, r1, r2
 
10
        b.w targetfn
 
11
        add.w r0, r1, r2
 
12
        b.w targetfn
 
13
        add.w r0, r1, r2
 
14
        b.w targetfn
 
15
        add.w r0, r1, r2
 
16
        b.w targetfn
 
17
        .endm
 
18
 
 
19
        @ expansion 128 bytes
 
20
        .macro bw2
 
21
        bw1
 
22
        bw1
 
23
        bw1
 
24
        bw1
 
25
        .endm
 
26
 
 
27
        .align  3
 
28
        .global _start
 
29
        .thumb
 
30
        .thumb_func
 
31
        .type   _start, %function
 
32
_start:
 
33
        nop
 
34
 
 
35
        @ If branching to an ARM destination, we *don't* want to create a
 
36
        @ Cortex-A8 stub: the Thumb-to-ARM stub will suffice (and we need it
 
37
        @ to change mode).
 
38
        bw2
 
39
        bw2
 
40
 
 
41
        bx      lr