; 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)

// RUN: llvm-mc -filetype=obj -triple mips-unknown-linux %s -o - | elf-dump --dump-section-data  | FileCheck -check-prefix=CHECK-BE %s
// RUN: llvm-mc -filetype=obj -triple 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)

Use llvm-mc instead of llc. Patch by Jack Carter.
Use llvm-mc instead of llc. Patch by Jack Carter.

git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@152242 91177308-0d34-0410-b5e6-96231b3b80d8
