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