From: kettenis Date: Mon, 20 Nov 2023 10:11:03 +0000 (+0000) Subject: Code changes between llvm 13 and 16 mean that we have to drop the final dot X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c8cb675144102a1a5c89aa59e87e7efd3698a8ea;p=openbsd Code changes between llvm 13 and 16 mean that we have to drop the final dot for the .openbsd.randomdata and .openbsd.mutable section merging code. ok jca@ --- diff --git a/gnu/llvm/lld/ELF/LinkerScript.cpp b/gnu/llvm/lld/ELF/LinkerScript.cpp index 24e4ae68ffd..0fe9433b629 100644 --- a/gnu/llvm/lld/ELF/LinkerScript.cpp +++ b/gnu/llvm/lld/ELF/LinkerScript.cpp @@ -104,7 +104,7 @@ static StringRef getOutputSectionName(const InputSectionBase *s) { {".data.rel.ro", ".data", ".rodata", ".bss.rel.ro", ".bss", ".gcc_except_table", ".init_array", ".fini_array", ".tbss", ".tdata", ".ARM.exidx", ".ARM.extab", ".ctors", ".dtors", - ".openbsd.randomdata.", ".openbsd.mutable."}) + ".openbsd.randomdata", ".openbsd.mutable"}) if (isSectionPrefix(v, s->name)) return v;