summaryrefslogtreecommitdiffstats
path: root/test/MC/Mips/elf_eflags.s
diff options
context:
space:
mode:
authorJack Carter <jack.carter@imgtec.com>2014-01-22 23:08:42 +0000
committerJack Carter <jack.carter@imgtec.com>2014-01-22 23:08:42 +0000
commit2ccf523ce7f7fc7fe5471c505aafa32d827a8343 (patch)
tree4d486f96003ab5163384d8e1362803f1b870a7e4 /test/MC/Mips/elf_eflags.s
parent9920bd341a7f6ddb887c397d41328848aba43a8d (diff)
[Mips] TargetStreamer Support for .set mips16.
This patch updates .set mips16 support which affects the ELF ABI and its flags. In addition the patch uses a common interface for both the MipsTargetSteamer and MipsObjectStreamer that the assembler uses for both ELF and ASCII output for these directives. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199851 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Mips/elf_eflags.s')
-rw-r--r--test/MC/Mips/elf_eflags.s5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/MC/Mips/elf_eflags.s b/test/MC/Mips/elf_eflags.s
index c05772970a71..f459689bb92b 100644
--- a/test/MC/Mips/elf_eflags.s
+++ b/test/MC/Mips/elf_eflags.s
@@ -5,8 +5,11 @@
.mips_hack_elf_flags 0x50001003
-// CHECK: Flags [ (0x50001005)
+// CHECK: Flags [ (0x54001005)
.abicalls
.option pic0
+
+ // Set EF_MIPS_ARCH_ASE_M16 (0x04000000)
+ .set mips16