[all-commits] [llvm/llvm-project] 9195b0: [ELF][PPC64] Enable R_PPC64_REL14 trunks
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sat Apr 4 11:00:32 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 9195b0191130a8d5f1751f60b3489782ca5dc315
https://github.com/llvm/llvm-project/commit/9195b0191130a8d5f1751f60b3489782ca5dc315
Author: Fangrui Song <maskray at google.com>
Date: 2020-04-04 (Sat, 04 Apr 2020)
Changed paths:
M lld/ELF/Thunks.cpp
A lld/test/ELF/ppc64-long-branch-rel14.s
Log Message:
-----------
[ELF][PPC64] Enable R_PPC64_REL14 trunks
The thunk implementation is available but an assertion disallows it.
Linux kernel has such a use case: in arch/powerpc/kernel/exceptions-64s.S:handle_page_fault,
beq+ ret_from_except_lite may get out of range.
Link: https://github.com/ClangBuiltLinux/linux/issues/951
Differential Revision: https://reviews.llvm.org/D76904
More information about the All-commits
mailing list