From d803cda42997f42649910309ac18170d2d6f2214 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Wed, 3 May 2017 20:26:46 +0000 Subject: Vendor import of lld trunk r302069: https://llvm.org/svn/llvm-project/lld/trunk@302069 --- ELF/Writer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ELF/Writer.cpp') diff --git a/ELF/Writer.cpp b/ELF/Writer.cpp index e2ab48433a52..3de2596af27c 100644 --- a/ELF/Writer.cpp +++ b/ELF/Writer.cpp @@ -252,7 +252,7 @@ template void Writer::run() { } else { if (!Script->Opt.HasSections) { fixSectionAlignments(); - Script->fabricateDefaultCommands(Config->MaxPageSize); + Script->fabricateDefaultCommands(AllocateHeader); } Script->synchronize(); Script->assignAddresses(Phdrs); -- cgit v1.3