[PATCH] D122459: [ELF] Fix relocations against .eh_frame
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 28 20:30:33 PDT 2022
MaskRay added a comment.
In D122459#3413092 <https://reviews.llvm.org/D122459#3413092>, @ayrtonm wrote:
> It looks like the relocations pointing to an empty .eh_frame in crtbegin.o have an offset greater than the size of the input section pieces. So in that case we need to revert to the old behavior of returning the offset unchanged instead of throwing a fatal error.
@ayrtonm @haowei Is there a `--reproduce=/tmp/rep.tar` file for the crtbegin.o with a relocation with r_offset larger than the input section piece?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122459/new/
https://reviews.llvm.org/D122459
More information about the llvm-commits
mailing list