From 725b93d48a8938a59ea1c88b5e9756425b7be2af Mon Sep 17 00:00:00 2001 From: Ingmar Steen <iksteen@gmail.com> Date: Sat, 21 May 2016 12:49:39 +0200 Subject: [PATCH] Don't align text section on 4 byte boundary. --- llvm/lib/MC/MCELFStreamer.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/llvm/lib/MC/MCELFStreamer.cpp b/llvm/lib/MC/MCELFStreamer.cpp index f93129b..c881e14 100644 --- a/llvm/lib/MC/MCELFStreamer.cpp +++ b/llvm/lib/MC/MCELFStreamer.cpp @@ -91,7 +91,6 @@ void MCELFStreamer::mergeFragment(MCDataFragment *DF, void MCELFStreamer::InitSections(bool NoExecStack) { MCContext &Ctx = getContext(); SwitchSection(Ctx.getObjectFileInfo()->getTextSection()); - EmitCodeAlignment(4); if (NoExecStack) SwitchSection(Ctx.getAsmInfo()->getNonexecutableStackSection(Ctx)); -- GitLab