[all-commits] [llvm/llvm-project] fdc41a: [lld][ELF] Mark empty NOLOAD output sections SHT_N...
Matt Schulte via All-commits
all-commits at lists.llvm.org
Sat Mar 28 10:08:12 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: fdc41aa22c60958e6b6df461174b814a4aae3384
https://github.com/llvm/llvm-project/commit/fdc41aa22c60958e6b6df461174b814a4aae3384
Author: Matt Schulte <schultetwin1 at gmail.com>
Date: 2020-03-28 (Sat, 28 Mar 2020)
Changed paths:
M lld/ELF/ScriptParser.cpp
M lld/test/ELF/linkerscript/noload.s
Log Message:
-----------
[lld][ELF] Mark empty NOLOAD output sections SHT_NOBITS instead of SHT_PROGBITS
This fixes PR# 45336.
Output sections described in a linker script as NOLOAD with no input sections would be marked as SHT_PROGBITS.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D76981
More information about the All-commits
mailing list