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

        b somewhere
        bl somewhere

// OBJ:      Relocations [
// OBJ-NEXT:   Section (2) .rela.text {
// OBJ-NEXT:     0x0 R_AARCH64_JUMP26 somewhere 0x0
// OBJ-NEXT:     0x4 R_AARCH64_CALL26 somewhere 0x0
// OBJ-NEXT:   }
// OBJ-NEXT: ]