xref: /freebsd/contrib/llvm-project/llvm/lib/Target/M68k/M68kTargetObjectFile.h (revision 04eeddc0aa8e0a417a16eaf9d7d095207f4a8623)
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