~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/group-relocs-ldc-bad.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 intended to fail for LDC group relocations.
 
2
 
 
3
@ We will place .text at 0x8000.
 
4
 
 
5
        .text
 
6
        .globl _start
 
7
 
 
8
_start:
 
9
        add     r0, r0, #:pc_g0_nc:(bar)
 
10
        ldc     0, c0, [r0, #:pc_g1:(bar + 4)]
 
11
 
 
12
@ We will place the section foo at 0x118400.
 
13
@ (The relocations above would be OK if it were at 0x118200, for example.)
 
14
 
 
15
        .section foo
 
16
 
 
17
bar:
 
18
        mov r0, #0
 
19