mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
ccb3c9c270
excluding visibility bits. Mips (MicroMips) specific STO handling . The st_other field settig for STO_MIPS_MICROMIPS Contributer: Zoran Jovanovic git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175564 91177308-0d34-0410-b5e6-96231b3b80d8
44 lines
1.3 KiB
C++
44 lines
1.3 KiB
C++
//=== MipsELFStreamer.h - MipsELFStreamer ------------------------------===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENCE.TXT for details.
|
|
//
|
|
//===-------------------------------------------------------------------===//
|
|
#ifndef MIPSELFSTREAMER_H_
|
|
#define MIPSELFSTREAMER_H_
|
|
|
|
#include "llvm/MC/MCELFStreamer.h"
|
|
|
|
namespace llvm {
|
|
class MipsAsmPrinter;
|
|
class MipsSubtarget;
|
|
class MCSymbol;
|
|
|
|
class MipsELFStreamer : public MCELFStreamer {
|
|
public:
|
|
MipsELFStreamer(MCContext &Context, MCAsmBackend &TAB,
|
|
raw_ostream &OS, MCCodeEmitter *Emitter,
|
|
bool RelaxAll, bool NoExecStack)
|
|
: MCELFStreamer(SK_MipsELFStreamer, Context, TAB, OS, Emitter) {
|
|
}
|
|
|
|
~MipsELFStreamer() {}
|
|
void emitELFHeaderFlagsCG(const MipsSubtarget &Subtarget);
|
|
void emitMipsSTOCG(const MipsSubtarget &Subtarget,
|
|
MCSymbol *Sym,
|
|
unsigned Val);
|
|
|
|
static bool classof(const MCStreamer *S) {
|
|
return S->getKind() == SK_MipsELFStreamer;
|
|
}
|
|
};
|
|
|
|
MCELFStreamer* createMipsELFStreamer(MCContext &Context, MCAsmBackend &TAB,
|
|
raw_ostream &OS, MCCodeEmitter *Emitter,
|
|
bool RelaxAll, bool NoExecStack);
|
|
}
|
|
|
|
#endif /* MIPSELFSTREAMER_H_ */
|