llvm-6502/test/MC/Mips/elf_st_other.s
Rafael Espindola 3c733ea064 Replace .mips_hack_stocg with ".set micromips" and ".set nomicromips".
This matches what gnu as does and implementing this is easier than arguing
about it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199181 91177308-0d34-0410-b5e6-96231b3b80d8
2014-01-14 04:25:13 +00:00

18 lines
275 B
ArmAsm

// RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux %s -o -| llvm-readobj -t | FileCheck %s
.globl f1
.set micromips
f1:
nop
.globl f2
.set nomicromips
f2:
nop
// CHECK-LABEL: Name: f1
// CHECK: Other: 128
// CHECK-LABEL: Name: f2
// CHECK: Other: 0