diff options
author | Jack Carter <jcarter@mips.com> | 2013-01-30 02:16:36 +0000 |
---|---|---|
committer | Jack Carter <jcarter@mips.com> | 2013-01-30 02:16:36 +0000 |
commit | dba14301f0098f9fc5c0d244bf334f55a6a21960 (patch) | |
tree | 12e6d9123a7a7eaa3394a440bf423d1a2767e6c0 /lib/Target/Mips/MipsSubtarget.cpp | |
parent | 9a7bf438b50fed2c77f0e2bc835defa5b4728f82 (diff) | |
download | external_llvm-dba14301f0098f9fc5c0d244bf334f55a6a21960.zip external_llvm-dba14301f0098f9fc5c0d244bf334f55a6a21960.tar.gz external_llvm-dba14301f0098f9fc5c0d244bf334f55a6a21960.tar.bz2 |
This patch implements runtime Mips specific
setting of ELF header e_flags.
Contributer: Jack Carter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173884 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsSubtarget.cpp')
-rw-r--r-- | lib/Target/Mips/MipsSubtarget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/Mips/MipsSubtarget.cpp b/lib/Target/Mips/MipsSubtarget.cpp index 30d377a..6ad97db 100644 --- a/lib/Target/Mips/MipsSubtarget.cpp +++ b/lib/Target/Mips/MipsSubtarget.cpp @@ -26,13 +26,13 @@ void MipsSubtarget::anchor() { } MipsSubtarget::MipsSubtarget(const std::string &TT, const std::string &CPU, const std::string &FS, bool little, - Reloc::Model RM) : + Reloc::Model _RM) : MipsGenSubtargetInfo(TT, CPU, FS), MipsArchVersion(Mips32), MipsABI(UnknownABI), IsLittle(little), IsSingleFloat(false), IsFP64bit(false), IsGP64bit(false), HasVFPU(false), IsLinux(true), HasSEInReg(false), HasCondMov(false), HasSwap(false), HasBitCount(false), HasFPIdx(false), - InMips16Mode(false), HasDSP(false), HasDSPR2(false), IsAndroid(false) + InMips16Mode(false), HasDSP(false), HasDSPR2(false), IsAndroid(false), RM(_RM) { std::string CPUName = CPU; if (CPUName.empty()) |