mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
aed2e151eb
Summary: The Mips implementation only covers the feature bits described by the ELF e_flags so far. Mips stores additional feature bits such as MSA in the .MIPS.abiflags section. Also fixed a small bug this revealed where microMIPS wouldn't add the EF_MIPS_MICROMIPS flag when using -filetype=obj. Reviewers: echristo, rafael Subscribers: rafael, mehdi_amini, dsanders, sdardis, llvm-commits Differential Revision: http://reviews.llvm.org/D21125 llvm-svn: 272880
19 lines
276 B
ArmAsm
19 lines
276 B
ArmAsm
# RUN: llvm-mc %s -arch=mips -mcpu=mips32 -filetype=obj -o - | \
|
|
# RUN: llvm-objdump -d -r - | FileCheck %s
|
|
|
|
.global foo
|
|
.weak bar
|
|
.set bar, b
|
|
.set foo, b
|
|
.set foo, a
|
|
a:
|
|
nop
|
|
# CHECK-NOT: a:
|
|
# CHECK: foo:
|
|
|
|
b:
|
|
nop
|
|
# CHECK-NOT: b:
|
|
# CHECK-NOT: foo:
|
|
# CHECK: bar:
|