From 4e96895385186df23bba478679c8effc74ec69e5 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 29 Sep 2016 16:24:17 +0000 Subject: [PATCH] Don't handle binary output differently. It is not clear if we need a different layout, so for now handle them like regular ELF output. llvm-svn: 282724 --- lld/ELF/Writer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp index 7774507..239d45a 100644 --- a/lld/ELF/Writer.cpp +++ b/lld/ELF/Writer.cpp @@ -544,7 +544,7 @@ void PhdrEntry::add(OutputSectionBase *Sec) { if (!First) First = Sec; H.p_align = std::max(H.p_align, Sec->getAlignment()); - if (H.p_type == PT_LOAD && !Config->OFormatBinary) + if (H.p_type == PT_LOAD) Sec->FirstInPtLoad = First; } -- 2.7.4