Home | History | Annotate | Download | only in AArch64
      1 ; RUN: llvm-mc -triple arm64-apple-darwin -filetype=obj -o - %s | macho-dump | FileCheck %s
      2 
      3 foo:
      4   .long 0
      5 bar:
      6   .long 1
      7 
      8 baz:
      9   .byte foo - bar
     10   .short foo - bar
     11 
     12 ; CHECK: # Relocation 0
     13 ; CHECK: (('word-0', 0x9),
     14 ; CHECK:  ('word-1', 0x1a000002)),
     15 ; CHECK: # Relocation 1
     16 ; CHECK: (('word-0', 0x9),
     17 ; CHECK:  ('word-1', 0xa000001)),
     18 ; CHECK: # Relocation 2
     19 ; CHECK: (('word-0', 0x8),
     20 ; CHECK:  ('word-1', 0x18000002)),
     21 ; CHECK: # Relocation 3
     22 ; CHECK: (('word-0', 0x8),
     23 ; CHECK:  ('word-1', 0x8000001)),
     24 
     25