Use MCSectionELF in places we know we have an ELF section.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118699 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2010-11-10 19:05:07 +00:00
parent 3355c4e598
commit 4283f4b81e
3 changed files with 11 additions and 11 deletions

View 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)