1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/MC/Mips/micromips-label-test-sections.s

36 lines
710 B
ArmAsm
Raw Normal View History

# RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 \
# RUN: -mattr=+micromips -filetype=obj -o - | llvm-readobj -t | FileCheck %s
.text
.set micromips
f:
nop
g:
.section .text
h:
nop
# CHECK: Symbols [
# CHECK: Symbol {
# CHECK: Name: f
# CHECK: Binding: Local
# CHECK: Type: None
# CHECK: Other: 128
# CHECK: Section: .text
# CHECK: }
# CHECK: Symbol {
# CHECK: Name: g
# CHECK: Binding: Local
# CHECK: Type: None
# CHECK: Other: 0
# CHECK: Section: .text
# CHECK: }
# CHECK: Symbol {
# CHECK: Name: h
# CHECK: Binding: Local
# CHECK: Type: None
# CHECK: Other: 128
# CHECK: Section: .text
# CHECK: }
# CHECK: ]