brintos

brintos / llvm-project-archived public Read only

0
0
Text · 356 B · 9ff29b8 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:      relocation R_AARCH64_ABS16 cannot be used against symbol 'foo'; recompile with -fPIC5// CHECK-NEXT: >>> defined in {{.*}}.o6// CHECK-NEXT: >>> referenced by {{.*}}.o:(.data+0x0)7 8.data9  .hword foo10