[PATCH] D43946: [WebAssembly] Reorder reloc sections to come after symtab

Nicholas Wilson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 5 04:39:24 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL326693: [WebAssembly] Reorder reloc sections to come after symtab (authored by ncw, committed by ).

Repository:
  rL LLVM

https://reviews.llvm.org/D43946

Files:
  lld/trunk/wasm/Writer.cpp


Index: lld/trunk/wasm/Writer.cpp
===================================================================
--- lld/trunk/wasm/Writer.cpp
+++ lld/trunk/wasm/Writer.cpp
@@ -631,8 +631,8 @@
 
   // Custom sections
   if (Config->Relocatable) {
-    createRelocSections();
     createLinkingSection();
+    createRelocSections();
   }
   if (!Config->StripDebug && !Config->StripAll)
     createNameSection();


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43946.136974.patch
Type: text/x-patch
Size: 400 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180305/8799e964/attachment.bin>


More information about the llvm-commits mailing list