aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/aarch64-load-alignment.s
blob: 175f1e6dad749c7c82b5594d002de37069133e0d (plain)
1
2
3
4
5
6
7
8
9
10
11
# REQUIRES: aarch64

# RUN: llvm-mc -filetype=obj -triple=aarch64-linux-none %s -o %t.o
# RUN: not ld.lld -shared %t.o -o /dev/null 2>&1 | FileCheck %s

# CHECK: improper alignment for relocation R_AARCH64_LD_PREL_LO19: 0x10005 is not aligned to 4 bytes

  ldr x8, patatino
  .data
  .zero 5
patatino: