[PATCH] D122039: [BOLT] Fix plt relocations symbol match

Vladislav Khmelevsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 2 06:40:10 PDT 2022


yota9 updated this revision to Diff 419975.
yota9 added a comment.

@maksfb You were right, after rebase on your patch I've got the problems too. 
I was sure the undefined symbols with unresolved-symbols=ignore-all option will create PLT entry by using symbol name, but it does not.
Anyway we will just create stub library now for the testing purposes and the problem will gone.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122039/new/

https://reviews.llvm.org/D122039

Files:
  bolt/CMakeLists.txt
  bolt/include/bolt/Core/BinaryContext.h
  bolt/lib/Rewrite/RewriteInstance.cpp
  bolt/test/AArch64/Inputs/plt-gnu-ld.yaml
  bolt/test/AArch64/constant-island-alignment.s
  bolt/test/AArch64/lit.local.cfg
  bolt/test/AArch64/plt-gnu-ld.test
  bolt/test/AArch64/plt-lld.test
  bolt/test/Inputs/plt.c
  bolt/test/Inputs/stub.c
  bolt/test/Inputs/stub.h
  bolt/test/lit.cfg.py
  bolt/test/lit.site.cfg.py.in
  bolt/test/runtime/AArch64/iplt.c
  bolt/test/runtime/AArch64/plt.c
  bolt/test/runtime/iplt.c
  bolt/test/runtime/plt-gnu-ld.test
  bolt/test/runtime/plt-lld.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122039.419975.patch
Type: text/x-patch
Size: 27016 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220402/3b5a229c/attachment.bin>


More information about the llvm-commits mailing list