From cb1953f6d963e7000b064a59e10ed8fc992c0aa6 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Sun, 26 Jan 2014 06:57:13 +0000 Subject: Implement the missing bits corresponding to .mips_hack_elf_flags. These were: * noreorder handling on the target object streamer and asm parser. * setting the initial flag bits based on the enabled features. * setting the elf header flag for micromips It is *really* depressing I am the one doing this instead of someone at mips actually taking the time to understand the infrastructure. llvm-svn: 200138 --- llvm/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp') diff --git a/llvm/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp b/llvm/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp index 6d3662cb80b..f7cf1c1e001 100644 --- a/llvm/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp +++ b/llvm/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp @@ -134,7 +134,7 @@ static MCStreamer *createMCStreamer(const Target &T, StringRef TT, bool RelaxAll, bool NoExecStack) { MCStreamer *S = createELFStreamer(Context, MAB, OS, Emitter, RelaxAll, NoExecStack); - new MipsTargetELFStreamer(*S); + new MipsTargetELFStreamer(*S, STI); return S; } -- cgit v1.2.3