diff options
Diffstat (limited to 'llvm/lib/Target/AVR/AVRTargetObjectFile.cpp')
-rw-r--r-- | llvm/lib/Target/AVR/AVRTargetObjectFile.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Target/AVR/AVRTargetObjectFile.cpp b/llvm/lib/Target/AVR/AVRTargetObjectFile.cpp index 85f03e818e8..c1d7a4ebc95 100644 --- a/llvm/lib/Target/AVR/AVRTargetObjectFile.cpp +++ b/llvm/lib/Target/AVR/AVRTargetObjectFile.cpp @@ -27,7 +27,7 @@ void AVRTargetObjectFile::Initialize(MCContext &Ctx, const TargetMachine &TM) { MCSection * AVRTargetObjectFile::SelectSectionForGlobal(const GlobalValue *GV, - SectionKind Kind, Mangler &Mang, + SectionKind Kind, const TargetMachine &TM) const { // Global values in flash memory are placed in the progmem.data section // unless they already have a user assigned section. @@ -35,6 +35,7 @@ AVRTargetObjectFile::SelectSectionForGlobal(const GlobalValue *GV, return ProgmemDataSection; // Otherwise, we work the same way as ELF. - return Base::SelectSectionForGlobal(GV, Kind, Mang, TM); + return Base::SelectSectionForGlobal(GV, Kind, TM); } } // end of namespace llvm + |