[PATCH] D126747: [BOLT] Add support for GOTPCRELX relocations
Maksim Panchenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 31 18:24:53 PDT 2022
maksfb created this revision.
maksfb added reviewers: yota9, Amir, ayermolo, rafauler, zr33.
Herald added subscribers: jsji, pengfei.
Herald added a project: All.
maksfb requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
The linker can convert instructions with GOTPCRELX relocations into a
form that uses an absolute addressing with an immediate. BOLT needs to
recognize such conversions and symbolize the immediates.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D126747
Files:
bolt/include/bolt/Core/BinaryFunction.h
bolt/include/bolt/Core/Relocation.h
bolt/lib/Core/Relocation.cpp
bolt/lib/Target/X86/X86MCSymbolizer.cpp
bolt/test/X86/gotpcrelx.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126747.433265.patch
Type: text/x-patch
Size: 11925 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220601/5e12d532/attachment.bin>
More information about the llvm-commits
mailing list