4794281d64
This is 48aaa9f66120f72b5d7e4a90b32fee40a3386ce9 from the git monorepo.
11 lines
335 B
ArmAsm
11 lines
335 B
ArmAsm
# REQUIRES: x86
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
|
|
# RUN: not ld.lld -shared %t.o -o %t.so 2>&1 | FileCheck %s
|
|
|
|
# CHECK: relocation R_X86_64_32 cannot be used against shared object; recompile with -fPIC
|
|
# CHECK: >>> defined in {{.*}}
|
|
# CHECK: >>> referenced by {{.*}}:(.data+0x0)
|
|
|
|
.data
|
|
.long _shared
|