15 lines · plain
1# REQUIRES: ppc2# RUN: llvm-mc -filetype=obj -triple=powerpc64le %s -o %t.o3# RUN: not ld.lld -shared %t.o -o /dev/null 2>&1 | FileCheck %s4 5## Test we don't create R_AARCH64_RELATIVE.6 7# CHECK: error: relocation R_PPC64_ADDR32 cannot be used against symbol 'hidden'; recompile with -fPIC8 9.globl hidden10.hidden hidden11hidden:12 13.data14.long hidden15