[PATCH] D158911: [BOLT] Support input binaries that use R_X86_GOTPC64

Rafael Auler via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 29 17:39:56 PDT 2023


rafauler added a comment.

In this solution, we don't need to mark any symbols as globals and therefore I've removed the dependency on the parent diff "[BOLT] Local hidden should be global syms."

The consequence is that we need to special-case the recognition of the GOT symbol in two more places, in addition to the X86MCSymbolizer: analyzeRelocation() and in JITLinkLinker when resolving the address of symbols.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D158911



More information about the llvm-commits mailing list