1// RUN: llvm-mc -triple=arm64-none-linux-gnu -filetype=obj %s -o - | \
2// RUN:   llvm-readobj -r - | FileCheck -check-prefix=OBJ %s
3// RUN: llvm-mc -target-abi=ilp32 -triple=arm64-none-linux-gnu -filetype=obj \
4// RUN:   %s -o - | \
5// RUN:   llvm-readobj -r - | FileCheck -check-prefix=OBJ-ILP32 %s
6
7        b.eq somewhere
8
9// OBJ:      Relocations [
10// OBJ-NEXT:   Section {{.*}} .rela.text {
11// OBJ-NEXT:     0x0 R_AARCH64_CONDBR19 somewhere 0x0
12// OBJ-NEXT:   }
13// OBJ-NEXT: ]
14
15// OBJ-ILP32:      Relocations [
16// OBJ-ILP32-NEXT:   Section {{.*}} .rela.text {
17// OBJ-ILP32-NEXT:     0x0 R_AARCH64_P32_CONDBR19 somewhere 0x0
18// OBJ-ILP32-NEXT:   }
19// OBJ-ILP32-NEXT: ]
20