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

        tbz x6, #45, somewhere
        tbnz w3, #15, somewhere

// OBJ:      Relocations [
// OBJ-NEXT:   Section (1) .text {
// OBJ-NEXT:     0x0  R_AARCH64_TSTBR14 somewhere 0x0
// OBJ-NEXT:     0x4  R_AARCH64_TSTBR14 somewhere 0x0
// OBJ-NEXT:   }
// OBJ-NEXT: ]