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        b somewhere
5        bl somewhere
6
7// OBJ:      Relocations [
8// OBJ-NEXT:   Section {{.*}} .rela.text {
9// OBJ-NEXT:     0x0 R_AARCH64_JUMP26 somewhere 0x0
10// OBJ-NEXT:     0x4 R_AARCH64_CALL26 somewhere 0x0
11// OBJ-NEXT:   }
12// OBJ-NEXT: ]
13