summaryrefslogtreecommitdiffstats
path: root/llvm/test/ExecutionEngine/RuntimeDyld/AArch64/ELF_ARM64_local_branch.s
blob: f4d96fc422484231429757bb612e74689aab4925 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# RUN: llvm-mc -triple=arm64-none-linux-gnu -filetype=obj -o %t %s
# RUN: llvm-rtdyld -triple=arm64-none-linux-gnu -verify -check=%s %t

.globl _main
.weak _label1

.section .text.1,"ax"
_label1:
  nop
_main:
  b _label1

## Branch 1 instruction back from _main
# rtdyld-check: *{4}(_main) = 0x17ffffff
OpenPOWER on IntegriCloud