1 //===-- AVRTargetObjectFile.h - AVR Object Info -----------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_AVR_TARGET_OBJECT_FILE_H
11 #define LLVM_AVR_TARGET_OBJECT_FILE_H
13 #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
17 * Lowering for an AVR ELF32 object file.
19 class AVRTargetObjectFile : public TargetLoweringObjectFileELF {
20 typedef TargetLoweringObjectFileELF Base;
23 void Initialize(MCContext &ctx, const TargetMachine &TM) override;
25 MCSection *SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
27 const TargetMachine &TM) const override;
30 MCSection *ProgmemDataSection;
33 } // end namespace llvm
35 #endif // LLVM_AVR_TARGET_OBJECT_FILE_H