[lld] [llvm] [LLD] Add support for two special OpenBSD sections (PR #97122)
John Ericson via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 30 16:53:59 PDT 2024
================
@@ -107,7 +107,8 @@ static StringRef getOutputSectionName(const InputSectionBase *s) {
for (StringRef v :
{".data.rel.ro", ".data", ".rodata", ".bss.rel.ro", ".bss", ".ldata",
".lrodata", ".lbss", ".gcc_except_table", ".init_array", ".fini_array",
- ".tbss", ".tdata", ".ARM.exidx", ".ARM.extab", ".ctors", ".dtors"})
+ ".tbss", ".tdata", ".ARM.exidx", ".ARM.extab", ".ctors", ".dtors",
+ ".openbsd.randomdata", ".openbsd.mutable"})
----------------
Ericson2314 wrote:
OK I did a test and this is unnecessary for my cross-compiled statically-linked binaries. Removed!
https://github.com/llvm/llvm-project/pull/97122
More information about the llvm-commits
mailing list