Use MCSectionELF in places we know we have an ELF section.
[oota-llvm.git] / lib / MC / MCContext.cpp
index 3b96264be043131e7d87b1c613fd87367ca6dee8..bafa10a174ab98d43707f8f544b5e9d2ba02234b 100644 (file)
@@ -148,8 +148,7 @@ getMachOSection(StringRef Segment, StringRef Section,
                                             Reserved2, Kind);
 }
 
-
-const MCSection *MCContext::
+const MCSectionELF *MCContext::
 getELFSection(StringRef Section, unsigned Type, unsigned Flags,
               SectionKind Kind, unsigned EntrySize) {
   if (ELFUniquingMap == 0)