[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / MC / AArch64 / elf-reloc-uncondbrimm.s
blob71dbbf5ebf747ec2f94871e3e21e9e5dc8e47ee5
1 // RUN: llvm-mc -triple=aarch64-none-linux-gnu -filetype=obj %s -o - | \
2 // RUN: llvm-readobj -r - | FileCheck -check-prefix=OBJ %s
3 // RUN: llvm-mc -triple=aarch64-none-linux-gnu_ilp32 -filetype=obj %s -o - | \
4 // RUN: llvm-readobj -r - | FileCheck -check-prefix=OBJ-ILP32 %s
6 b somewhere
7 bl somewhere
9 // OBJ: Relocations [
10 // OBJ-NEXT: Section {{.*}} .rela.text {
11 // OBJ-NEXT: 0x0 R_AARCH64_JUMP26 somewhere 0x0
12 // OBJ-NEXT: 0x4 R_AARCH64_CALL26 somewhere 0x0
13 // OBJ-NEXT: }
14 // OBJ-NEXT: ]
16 // OBJ-ILP32: Relocations [
17 // OBJ-ILP32-NEXT: Section {{.*}} .rela.text {
18 // OBJ-ILP32-NEXT: 0x0 R_AARCH64_P32_JUMP26 somewhere 0x0
19 // OBJ-ILP32-NEXT: 0x4 R_AARCH64_P32_CALL26 somewhere 0x0
20 // OBJ-ILP32-NEXT: }
21 // OBJ-ILP32-NEXT: ]