| //===-- RISCVTargetObjectFile.cpp - RISCV Object Info -----------------===// | |
| // | |
| // The LLVM Compiler Infrastructure | |
| // | |
| // This file is distributed under the University of Illinois Open Source | |
| // License. See LICENSE.TXT for details. | |
| // | |
| //===----------------------------------------------------------------------===// | |
| #include "RISCVTargetObjectFile.h" | |
| #include "RISCVTargetMachine.h" | |
| using namespace llvm; | |
| void RISCVELFTargetObjectFile::Initialize(MCContext &Ctx, | |
| const TargetMachine &TM) { | |
| TargetLoweringObjectFileELF::Initialize(Ctx, TM); | |
| InitializeELF(TM.Options.UseInitArray); | |
| } |