http://llvm.org/bugs/show_bug.cgi?id=22711
Markus F.X.J. Oberhumer <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #14 from Markus F.X.J. Oberhumer <[email protected]> --- Please have a look at the following proposed patch which - actually aligns the *label* - actually deals with ".got2" sections - also works for the PPCTargetAsmStreamer class ~Markus --- a/llvm-3.6.0/lib/Target/PowerPC/PPCAsmPrinter.cpp +++ b/llvm-3.6.0/lib/Target/PowerPC/PPCAsmPrinter.cpp @@ -1051,6 +1051,7 @@ ELF::SHT_PROGBITS, ELF::SHF_WRITE | ELF::SHF_ALLOC, SectionKind::getReadOnly()); OutStreamer.SwitchSection(Section); + OutStreamer.EmitValueToAlignment(isPPC64 ? 8 : 4); for (MapVector<MCSymbol*, MCSymbol*>::iterator I = TOC.begin(), E = TOC.end(); I != E; ++I) { -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
