[lld] [llvm] [LLD] Add support for two special OpenBSD sections (PR #97122)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 9 18:11:23 PDT 2024


================
@@ -1628,7 +1628,9 @@ unsigned ScriptParser::readPhdrType() {
                      .Case("PT_GNU_EH_FRAME", PT_GNU_EH_FRAME)
                      .Case("PT_GNU_STACK", PT_GNU_STACK)
                      .Case("PT_GNU_RELRO", PT_GNU_RELRO)
+                     .Case("PT_OPENBSD_MUTABLE", PT_OPENBSD_MUTABLE)
----------------
MaskRay wrote:

Add tests in ELF/openbsd-phdr.s

https://github.com/llvm/llvm-project/pull/97122


More information about the llvm-commits mailing list