[PATCH] D61006: [ELF] Delete a redundant SHT_NOBITS -> SHT_PROGBITS after D60131

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 23 06:10:13 PDT 2019


MaskRay created this revision.
MaskRay added a reviewer: ruiu.
Herald added subscribers: llvm-commits, arichardson, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.

Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D61006

Files:
  ELF/ScriptParser.cpp


Index: ELF/ScriptParser.cpp
===================================================================
--- ELF/ScriptParser.cpp
+++ ELF/ScriptParser.cpp
@@ -752,7 +752,6 @@
   } else {
     skip(); // This is "COPY", "INFO" or "OVERLAY".
     Cmd->NonAlloc = true;
-    Cmd->Type = SHT_PROGBITS;
   }
   expect(")");
   return true;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61006.196229.patch
Type: text/x-patch
Size: 326 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190423/c63c30d9/attachment.bin>


More information about the llvm-commits mailing list