13 lines · plain
1// This test checks that the pointers to PLT are properly updated.2// The test is using bfd linker, since it may add versioning string3// to the symbol name e.g. memcpy@@GLIBC_2.174 5// REQUIRES: gnu_ld6 7// RUN: %clang %cflags %p/../Inputs/plt.c -fuse-ld=bfd \8// RUN: -o %t.bfd.exe -Wl,-q9// RUN: llvm-bolt %t.bfd.exe -o %t.bfd.bolt.exe --use-old-text=0 --lite=010// RUN: %t.bfd.bolt.exe | FileCheck %s11 12// CHECK: Test completed13