xref: /freebsd/contrib/llvm-project/llvm/lib/Target/M68k/M68kTargetObjectFile.h (revision 02e9120893770924227138ba49df1edb3896112a)
1 //===-- M68kELFTargetObjectFile.h - M68k Object Info ------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 ///
9 /// \file
10 /// This file contains declarations for M68k ELF object file lowering.
11 ///
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef LLVM_LIB_TARGET_M68K_M68KTARGETOBJECTFILE_H
15 #define LLVM_LIB_TARGET_M68K_M68KTARGETOBJECTFILE_H
16 
17 #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
18 
19 namespace llvm {
20 class M68kTargetMachine;
21 class M68kELFTargetObjectFile : public TargetLoweringObjectFileELF {
22   const M68kTargetMachine *TM;
23   MCSection *SmallDataSection;
24   MCSection *SmallBSSSection;
25 
26 public:
27   void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
28 };
29 } // end namespace llvm
30 
31 #endif // LLVM_LIB_TARGET_M68K_M68KTARGETOBJECTFILE_H
32