[lld] Enough LLD changes to bootstrap OpenBSD on sparc64 (PR #207609)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 18 15:17:14 PDT 2026
================
@@ -3836,6 +3845,7 @@ void elf::combineEhSections(Ctx &ctx) {
EhFrameSection &eh = *ctx.in.ehFrame;
sec->parent = &eh;
eh.addralign = std::max(eh.addralign, sec->addralign);
+ eh.flags |= sec->flags & SHF_WRITE;
----------------
MaskRay wrote:
This is really backward. Can you change compilers to not use absolute FDE/personality encodings, allowing .eh_frame to be readonly (like every other arch)?
https://github.com/llvm/llvm-project/pull/207609
More information about the llvm-commits
mailing list