[WebAssembly] Reorder reloc sections to come after symtab

This matches LLVM change D43940.

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

llvm-svn: 326693
This commit is contained in:
Nicholas Wilson 2018-03-05 12:33:58 +00:00
parent 6705c00f4d
commit 94d3b16101
1 changed files with 1 additions and 1 deletions

View File

@ -631,8 +631,8 @@ void Writer::createSections() {
// Custom sections
if (Config->Relocatable) {
createRelocSections();
createLinkingSection();
createRelocSections();
}
if (!Config->StripDebug && !Config->StripAll)
createNameSection();