diff --git a/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp b/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp index 6062a6a13cf..15f5865cef4 100644 --- a/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp +++ b/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp @@ -238,7 +238,7 @@ void ARMTargetAsmStreamer::finishAttributeSection() {} void ARMTargetAsmStreamer::AnnotateTLSDescriptorSequence(const MCSymbolRefExpr *S) { - OS << "\t.tlsdescseq\t" << S->getSymbol().getName(); + OS << "\t.tlsdescseq\t" << S->getSymbol().getName() << "\n"; } void ARMTargetAsmStreamer::emitThumbSet(MCSymbol *Symbol, const MCExpr *Value) { diff --git a/test/MC/ARM/directive-tlsdescseq.s b/test/MC/ARM/directive-tlsdescseq.s index 12db0589d7a..649366365b7 100644 --- a/test/MC/ARM/directive-tlsdescseq.s +++ b/test/MC/ARM/directive-tlsdescseq.s @@ -25,9 +25,9 @@ tlsdescseq: @ CHECK-ASM: ldr r1, [pc, #8] @ CHECK-ASM: .tlsdescseq variable -@ CHECK-ASM: add r2, pc, r1 +@ CHECK-ASM-NEXT: add r2, pc, r1 @ CHECK-ASM: .tlsdescseq variable -@ CHECK-ASM: ldr r3, [r1, #4] +@ CHECK-ASM-NEXT: ldr r3, [r1, #4] @ CHECK-ASM: .tlsdescseq variable -@ CHECK-ASM: blx r3 +@ CHECK-ASM-NEXT: blx r3