brintos

brintos / llvm-project-archived public Read only

0
0
Text · 349 B · a939e1b Raw
10 lines · plain
1// REQUIRES: aarch642// RUN: llvm-mc -filetype=obj -triple=aarch64 %s -o %t.o3// RUN: not ld.lld -shared %t.o -o /dev/null 2>&1 | FileCheck %s4// CHECK: error: relocation R_AARCH64_PREL64 cannot be used against symbol 'foo'; recompile with -fPIC5// CHECK: >>> defined in {{.*}}6// CHECK: >>> referenced by {{.*}}:(.data+0x0)7 8.data9  .xword foo - .10