1// This test checks that the pointers to PLT are properly updated. 2// The test is using bfd linker, since it may add versioning string 3// to the symbol name e.g. memcpy@@GLIBC_2.17 4 5// REQUIRES: gnu_ld 6 7// RUN: %clang %cflags %p/../Inputs/plt.c -fuse-ld=bfd \ 8// RUN: -o %t.bfd.exe -Wl,-q 9// RUN: llvm-bolt %t.bfd.exe -o %t.bfd.bolt.exe --use-old-text=0 --lite=0 10// RUN: %t.bfd.bolt.exe | FileCheck %s 11 12// CHECK: Test completed 13