[all-commits] [llvm/llvm-project] 181764: [BOLT] Add support for GOTPCRELX relocations
maksfb via All-commits
all-commits at lists.llvm.org
Thu Jun 9 13:37:40 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1817642684c8d7fbe197d27b34df097d4223c23e
https://github.com/llvm/llvm-project/commit/1817642684c8d7fbe197d27b34df097d4223c23e
Author: Maksim Panchenko <maks at fb.com>
Date: 2022-06-09 (Thu, 09 Jun 2022)
Changed paths:
M bolt/include/bolt/Core/BinaryFunction.h
M bolt/include/bolt/Core/Relocation.h
M bolt/lib/Core/Relocation.cpp
M bolt/lib/Target/X86/X86MCSymbolizer.cpp
M bolt/test/X86/gotpcrelx.s
Log Message:
-----------
[BOLT] Add support for GOTPCRELX relocations
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.
Reviewed By: rafauler
Differential Revision: https://reviews.llvm.org/D126747
More information about the All-commits
mailing list