forked from OSchip/llvm-project
19 lines
618 B
C++
19 lines
618 B
C++
|
//===-- Nios2TargetObjectFile.cpp - Nios2 Object Files --------------------===//
|
||
|
//
|
||
|
// The LLVM Compiler Infrastructure
|
||
|
//
|
||
|
// This file is distributed under the University of Illinois Open Source
|
||
|
// License. See LICENSE.TXT for details.
|
||
|
//
|
||
|
//===----------------------------------------------------------------------===//
|
||
|
|
||
|
#include "Nios2TargetObjectFile.h"
|
||
|
|
||
|
using namespace llvm;
|
||
|
|
||
|
void Nios2TargetObjectFile::Initialize(MCContext &Ctx,
|
||
|
const TargetMachine &TM) {
|
||
|
TargetLoweringObjectFileELF::Initialize(Ctx, TM);
|
||
|
InitializeELF(TM.Options.UseInitArray);
|
||
|
}
|