[mips] Fix ELF header flags.
authorMatheus Almeida <matheus.almeida@imgtec.com>
Tue, 28 Jan 2014 19:24:11 +0000 (19:24 +0000)
committerMatheus Almeida <matheus.almeida@imgtec.com>
Tue, 28 Jan 2014 19:24:11 +0000 (19:24 +0000)
commit4ed4bd0feec4dbf23282e6fbbb360c60b3a98052
tree23f3efd72448ac70a2269661cf6fc50e3b65cd9e
parent1c71a20f32b6c6af85fb26d56b26effe71c710b9
[mips] Fix ELF header flags.

As opposed to GCC/GAS the default ABI for Mips64 is n64.
Compatibility bit should be set if o32 ABI is used when targeting Mips64.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200332 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
test/MC/Mips/elf_eflags.s