[mips][mips64r6] Set ELF e_flags for MIPS32r6/MIPS64r6. Also do MIPS-I to MIPS-V
[oota-llvm.git] / lib / Target / Mips / MCTargetDesc / MipsELFStreamer.cpp
1 //===-------- MipsELFStreamer.cpp - ELF Object Output ---------------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #include "MipsELFStreamer.h"
11
12 namespace llvm {
13 MCELFStreamer *createMipsELFStreamer(MCContext &Context, MCAsmBackend &MAB,
14                                      raw_ostream &OS, MCCodeEmitter *Emitter,
15                                      const MCSubtargetInfo &STI, bool RelaxAll,
16                                      bool NoExecStack) {
17   return new MipsELFStreamer(Context, MAB, OS, Emitter, STI);
18 }
19 }