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

9 lines
276 B
ArmAsm
Raw Normal View History

// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %S/Inputs/abs.s -o %tabs
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
// RUN: not ld.lld2 -shared %tabs %t -o %t2 2>&1 | FileCheck %s
// REQUIRES: x86
movl $big, %edx
#CHECK: R_X86_64_32 out of range