1 //===-- RISCVTargetObjectFile.cpp - RISCV Object Info -----------------===// 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 #include "RISCVTargetObjectFile.h" 10 #include "RISCVTargetMachine.h" 11 12 using namespace llvm; 13 14 void RISCVELFTargetObjectFile::Initialize(MCContext &Ctx, 15 const TargetMachine &TM) { 16 TargetLoweringObjectFileELF::Initialize(Ctx, TM); 17 InitializeELF(TM.Options.UseInitArray); 18 } 19