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