xref: /llvm-project/lld/test/ELF/aarch64-load-alignment.s (revision f66b767abe5edcdd7ab4a25007b71437f58c1369)
1# REQUIRES: aarch64
2
3# RUN: llvm-mc -filetype=obj -triple=aarch64-linux-none %s -o %t.o
4# RUN: not ld.lld -shared %t.o -o /dev/null 2>&1 | FileCheck %s
5
6# CHECK: improper alignment for relocation R_AARCH64_LD_PREL_LO19: 0x2007D is not aligned to 4 bytes
7
8  ldr x8, patatino
9  .data
10  .zero 5
11patatino:
12