]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/ELF/aarch64-ldprel-lo19-invalid.s
Vendor import of lld trunk r338150:
[FreeBSD/FreeBSD.git] / test / ELF / aarch64-ldprel-lo19-invalid.s
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: relocation R_AARCH64_LD_PREL_LO19 out of range: 2065536 is not in [-1048576, 1048575]
7
8   ldr x8, patatino
9   .data
10   .zero 2000000
11 patatino: