3 # RUN: yaml2obj %s -o %t.o
4 # RUN: ld.lld %t.o -o %t.out
5 # RUN: llvm-objdump -d --no-show-raw-insn %t.out | FileCheck %s
7 # Check that the R_AARCH64_JUMP26 writes the branch opcode as well as the
8 # immediate. We use this property to overwrite instructions with a branch.
10 # CHECK: Disassembly of section .text:
13 # CHECK-NEXT: 210120: b 0x210124
15 # CHECK-NEXT: 210124: b 0x210120
26 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
27 Content: "0000000000000000"
34 Type: R_AARCH64_JUMP26
37 Type: R_AARCH64_JUMP26