llvm-6502/test/MC/Mips/elf_eflags.s
Jack Carter 2ccf523ce7 [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
2014-01-22 23:08:42 +00:00

16 lines
426 B
ArmAsm

// RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux %s -o -| llvm-readobj -h | FileCheck %s
// The initial value will be set at 0x50001003 and
// we will override that with the negation of 0x2 (option pic0
// the addition of 0x4 (.abicalls)
.mips_hack_elf_flags 0x50001003
// CHECK: Flags [ (0x54001005)
.abicalls
.option pic0
// Set EF_MIPS_ARCH_ASE_M16 (0x04000000)
.set mips16