llvm-project/lld/test/elf2/x86-64-reloc-32S-error.s

8 lines
212 B
ArmAsm

// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
// RUN: not ld.lld2 -shared %t -o %t2 2>&1 | FileCheck %s
// REQUIRES: x86
movq _start - 0x1000000000000, %rdx
#CHECK: R_X86_64_32S out of range