aboutsummaryrefslogtreecommitdiff
path: root/test/MC/AArch64/elf-reloc-addsubimm.s
blob: 7fa6e90b5d0d0d88684a45cb337009217ab14510 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: llvm-mc -arch=aarch64 -filetype=obj %s -o - | \
// RUN:   elf-dump | FileCheck -check-prefix=OBJ %s

        add x2, x3, #:lo12:some_label
// OBJ: .rela.text

// OBJ: 'r_offset', 0x0000000000000000
// OBJ-NEXT:  'r_sym', 0x00000005
// OBJ-NEXT: 'r_type', 0x00000115

// OBJ: .symtab
// OBJ: Symbol 5
// OBJ-NEXT: some_label