mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-16 11:30:51 +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
|