[lld] r359099 - [ELF] Delete a redundant SHT_NOBITS -> SHT_PROGBITS after D60131

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 24 07:44:07 PDT 2019


Author: maskray
Date: Wed Apr 24 07:44:07 2019
New Revision: 359099

URL: http://llvm.org/viewvc/llvm-project?rev=359099&view=rev
Log:
[ELF] Delete a redundant SHT_NOBITS -> SHT_PROGBITS after D60131

Differential Revision: https://reviews.llvm.org/D61006

Modified:
    lld/trunk/ELF/ScriptParser.cpp

Modified: lld/trunk/ELF/ScriptParser.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/ScriptParser.cpp?rev=359099&r1=359098&r2=359099&view=diff
==============================================================================
--- lld/trunk/ELF/ScriptParser.cpp (original)
+++ lld/trunk/ELF/ScriptParser.cpp Wed Apr 24 07:44:07 2019
@@ -752,7 +752,6 @@ bool ScriptParser::readSectionDirective(
   } else {
     skip(); // This is "COPY", "INFO" or "OVERLAY".
     Cmd->NonAlloc = true;
-    Cmd->Type = SHT_PROGBITS;
   }
   expect(")");
   return true;




More information about the llvm-commits mailing list