[all-commits] [llvm/llvm-project] 7b4b09: [Bolt] fix a relocation bug for R_AARCH64_CALL26
sinan via All-commits
all-commits at lists.llvm.org
Mon Sep 18 04:56:15 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7b4b09a59a75dcfdfd7bc7c5283535091550ad7a
https://github.com/llvm/llvm-project/commit/7b4b09a59a75dcfdfd7bc7c5283535091550ad7a
Author: Sinan Lin <sinan.lin at linux.alibaba.com>
Date: 2023-09-18 (Mon, 18 Sep 2023)
Changed paths:
M bolt/lib/Core/Relocation.cpp
M bolt/test/AArch64/reloc-call26.s
Log Message:
-----------
[Bolt] fix a relocation bug for R_AARCH64_CALL26
If the R_AARCH64_CALL26 against a symbol that has a lower address, then
encodeValueAArch64 will return a wrong value.
Reviewed By: Kepontry, yota9
Differential Revision: https://reviews.llvm.org/D159513
More information about the All-commits
mailing list