hanchenye-llvm-project/lld/test/elf2/aarch64-prel32-error.s

8 lines
217 B
ArmAsm

// RUN: llvm-mc -filetype=obj -triple=aarch64-none-freebsd %s -o %t
// RUN: not ld.lld2 -shared %t -o %t2 2>&1 | FileCheck %s
// REQUIRES: aarch64
.word sym + 99999999999 - .
// CHECK: R_AARCH64_PREL32 out of range