aboutsummaryrefslogtreecommitdiff
path: root/test/MC/Mips/elf_eflags_abicalls.s
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-01-26 06:57:13 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-01-26 06:57:13 +0000
commit5356e75b5b764fda2ab4e7f171180032be45632a (patch)
tree0519206e81056cb32f90d58a7b87d8a32c92f7f4 /test/MC/Mips/elf_eflags_abicalls.s
parent550d791907b445b1c01680bbd1a50bf0630218a0 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200138 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Mips/elf_eflags_abicalls.s')
-rw-r--r--test/MC/Mips/elf_eflags_abicalls.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/MC/Mips/elf_eflags_abicalls.s b/test/MC/Mips/elf_eflags_abicalls.s
new file mode 100644
index 00000000000..5f3963019bb
--- /dev/null
+++ b/test/MC/Mips/elf_eflags_abicalls.s
@@ -0,0 +1,6 @@
+# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32 %s -o -| llvm-readobj -h | FileCheck %s
+
+# This *MUST* match the output of gas compiled with the same triple.
+# CHECK: Flags [ (0x50001006)
+
+.abicalls