~pali/+junk/llvm-toolchain-3.7

« back to all changes in this revision

Viewing changes to test/MC/ARM/hilo-16bit-relocations.s

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2015-07-15 17:51:08 UTC
  • Revision ID: package-import@ubuntu.com-20150715175108-l8mynwovkx4zx697
Tags: upstream-3.7~+rc2
ImportĀ upstreamĀ versionĀ 3.7~+rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
@ RUN: llvm-mc %s -triple armv7-apple-darwin | FileCheck %s
 
2
@ RUN: llvm-mc %s -triple armv7-apple-darwin | FileCheck %s        
 
3
        
 
4
_t:
 
5
        movw    r0, :lower16:(L_foo$non_lazy_ptr - (L1 + 8))
 
6
        movt    r0, :upper16:(L_foo$non_lazy_ptr - (L1 + 8))
 
7
L1:
 
8
 
 
9
@ CHECK: movw   r0, :lower16:(L_foo$non_lazy_ptr-(L1+8))
 
10
@ CHECK: movt   r0, :upper16:(L_foo$non_lazy_ptr-(L1+8))
 
11
        
 
12
        .comm   _foo,4,2
 
13
 
 
14
        .section        __DATA,__nl_symbol_ptr,non_lazy_symbol_pointers
 
15
        .align  2
 
16
L_foo$non_lazy_ptr:
 
17
        .indirect_symbol        _foo
 
18
        .long   0
 
19
        
 
20
.subsections_via_symbols