[Mips] TargetStreamer Support for .abicalls and .set pic0.
authorJack Carter <jack.carter@imgtec.com>
Mon, 6 Jan 2014 23:27:31 +0000 (23:27 +0000)
committerJack Carter <jack.carter@imgtec.com>
Mon, 6 Jan 2014 23:27:31 +0000 (23:27 +0000)
commit063564c4c5655946094975abe4a89d601d02c69a
treee133467a82ad8892f2d10e6971e71bee0011f68f
parent284c8bc4b0c1642e0feced9d9b7416b08a4d1b5d
[Mips] TargetStreamer Support for .abicalls and .set pic0.

This patch adds .abicalls and .set pic0 support which
affects the ELF ABI and its flags. In addition the patch uses
a common interface for both the MipsTargetSteamer and
MipsObjectStreamer that both the integrated and standalone
assemblers will use for the output for these directives.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198646 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp
lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
lib/Target/Mips/MipsAsmPrinter.cpp
lib/Target/Mips/MipsTargetStreamer.h
test/MC/Mips/elf_eflags.ll
test/MC/Mips/elf_eflags.s
test/MC/Mips/mips_directives.s
test/MC/Mips/mips_directives_bad.s [new file with mode: 0644]