From c8cb675144102a1a5c89aa59e87e7efd3698a8ea Mon Sep 17 00:00:00 2001 From: kettenis Date: Mon, 20 Nov 2023 10:11:03 +0000 Subject: [PATCH] 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@ --- gnu/llvm/lld/ELF/LinkerScript.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1