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