llvm-project/lld/test/elf2/aarch64-prel16-error.s

8 lines
212 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
.hword sym + 65539 - .
// CHECK: R_AARCH64_PREL16 out of range