llvm-project/lld/test/ELF/ppc64-addr16-error.s

8 lines
213 B
ArmAsm

// RUN: llvm-mc -filetype=obj -triple=powerpc64-unknown-linux %s -o %t
// RUN: not ld.lld -shared %t -o %t2 2>&1 | FileCheck %s
// REQUIRES: ppc
.short sym+65539
// CHECK: Relocation R_PPC64_ADDR16 out of range