elf-reloc-tstb.s revision 7486d92a6c949a193bb75c0ffa0170eeb2fabb80
1// RUN: llvm-mc -triple=aarch64-none-linux-gnu -filetype=obj %s -o - | \
2// RUN:   llvm-readobj -r | FileCheck -check-prefix=OBJ %s
3
4        tbz x6, #45, somewhere
5        tbnz w3, #15, somewhere
6
7// OBJ:      Relocations [
8// OBJ-NEXT:   Section (2) .rela.text {
9// OBJ-NEXT:     0x0  R_AARCH64_TSTBR14 somewhere 0x0
10// OBJ-NEXT:     0x4  R_AARCH64_TSTBR14 somewhere 0x0
11// OBJ-NEXT:   }
12// OBJ-NEXT: ]
13