[clang-tidy][modernize-use-starts-ends-with] Fix operator rewriting false negative...
[llvm-project.git] / lld / test / ELF / ppc64-abs32-dyn.s
blob015a6b0f4ed2aad76cc8279bbf862a40010297d7
1 # REQUIRES: ppc
2 # RUN: llvm-mc -filetype=obj -triple=powerpc64le %s -o %t.o
3 # RUN: not ld.lld -shared %t.o -o /dev/null 2>&1 | FileCheck %s
5 ## Test we don't create R_AARCH64_RELATIVE.
7 # CHECK: error: relocation R_PPC64_ADDR32 cannot be used against symbol 'hidden'; recompile with -fPIC
9 .globl hidden
10 .hidden hidden
11 hidden:
13 .data
14 .long hidden