aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/Mips/elf_basic.s
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2012-01-11 04:04:14 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2012-01-11 04:04:14 +0000
commit29a17145ad4985df032785cc1b4716fd7875d47b (patch)
treea6bf3ba76d742cfc7059fd0acce9020dce491bd0 /test/MC/Mips/elf_basic.s
parentfddf80459747198d2ee33974c90f6137ea29cbd8 (diff)
downloadexternal_llvm-29a17145ad4985df032785cc1b4716fd7875d47b.tar.gz
external_llvm-29a17145ad4985df032785cc1b4716fd7875d47b.tar.bz2
external_llvm-29a17145ad4985df032785cc1b4716fd7875d47b.zip
Add big endian mips support. Based on a patch by Jack Carter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147924 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Mips/elf_basic.s')
-rw-r--r--test/MC/Mips/elf_basic.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/MC/Mips/elf_basic.s b/test/MC/Mips/elf_basic.s
index 4a53a8047e..46211823b6 100644
--- a/test/MC/Mips/elf_basic.s
+++ b/test/MC/Mips/elf_basic.s
@@ -1,5 +1,7 @@
+; RUN: llc -filetype=obj -mtriple mips-unknown-linux %s -o - | elf-dump --dump-section-data | FileCheck -check-prefix=CHECK-BE %s
; RUN: llc -filetype=obj -mtriple mipsel-unknown-linux %s -o - | elf-dump --dump-section-data | FileCheck -check-prefix=CHECK-LE %s
; Check that we produce the correct endian.
+; CHECK-BE: ('e_indent[EI_DATA]', 0x02)
; CHECK-LE: ('e_indent[EI_DATA]', 0x01)