[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / aarch64-abs32-dyn.s
blob97dd0d18d76379c195adf5f6dc6ee88bd126b3c3
1 # REQUIRES: aarch64
2 # RUN: llvm-mc -filetype=obj -triple=aarch64 %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_AARCH64_ABS32 cannot be used against symbol 'hidden'; recompile with -fPIC
9 .globl hidden
10 .hidden hidden
11 hidden:
13 .data
14 .long hidden