2013-10-06 00:42:21 +08:00
|
|
|
// RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux %s -o -| llvm-readobj -t | FileCheck %s
|
|
|
|
|
2014-01-14 12:25:13 +08:00
|
|
|
|
|
|
|
.globl f1
|
2014-01-15 11:07:12 +08:00
|
|
|
.type f1, @function
|
2014-01-14 12:25:13 +08:00
|
|
|
.set micromips
|
|
|
|
f1:
|
|
|
|
nop
|
|
|
|
|
2014-01-15 11:07:12 +08:00
|
|
|
.globl d1
|
|
|
|
.type d1, @object
|
|
|
|
d1:
|
|
|
|
.word 42
|
|
|
|
|
2014-01-14 12:25:13 +08:00
|
|
|
.globl f2
|
2014-01-15 11:07:12 +08:00
|
|
|
.type f2, @function
|
2014-01-14 12:25:13 +08:00
|
|
|
.set nomicromips
|
|
|
|
f2:
|
|
|
|
nop
|
|
|
|
|
2014-01-15 11:07:12 +08:00
|
|
|
// CHECK-LABEL: Name: d1
|
|
|
|
// CHECK: Other: 0
|
2014-01-14 12:25:13 +08:00
|
|
|
// CHECK-LABEL: Name: f1
|
2016-03-25 00:10:37 +08:00
|
|
|
// CHECK: Other [ (0x80)
|
2014-01-14 12:25:13 +08:00
|
|
|
// CHECK-LABEL: Name: f2
|
|
|
|
// CHECK: Other: 0
|