zig/deps/lld/test/ELF/aarch64-ldprel-lo19-invalid.s

12 lines
302 B
ArmAsm
Raw Normal View History

2018-01-17 14:29:21 -08:00
# REQUIRES: aarch64
# RUN: llvm-mc -filetype=obj -triple=aarch64-linux-none %s -o %t.o
2018-08-04 14:47:16 -07:00
# RUN: not ld.lld -shared %t.o -o /dev/null 2>&1 | FileCheck %s
2018-01-17 14:29:21 -08:00
# CHECK: relocation R_AARCH64_LD_PREL_LO19 out of range: 2065536 is not in [-1048576, 1048575]
ldr x8, patatino
.data
.zero 2000000
patatino: