[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:23 PST 2018


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

Changed prior to commit:
  https://reviews.llvm.org/D43946?vs=136744&id=136973#toc

Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D43946

Files:
  wasm/Writer.cpp


Index: wasm/Writer.cpp
===================================================================
--- wasm/Writer.cpp
+++ 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.136973.patch
Type: text/x-patch
Size: 370 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180305/44b0f246/attachment.bin>


More information about the llvm-commits mailing list