mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 03:29:40 +00:00
17 lines
331 B
ArmAsm
17 lines
331 B
ArmAsm
|
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32 %s -o - \
|
||
|
# RUN: | llvm-readobj -t | FileCheck %s
|
||
|
|
||
|
# Symbol bar must be marked as micromips.
|
||
|
# CHECK: Name: bar
|
||
|
# CHECK: Other: 128
|
||
|
.align 2
|
||
|
.type f,@function
|
||
|
.set nomips16
|
||
|
.set micromips
|
||
|
f:
|
||
|
nop
|
||
|
.set nomicromips
|
||
|
nop
|
||
|
.globl bar
|
||
|
bar = f
|