mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-06 20:10:38 +00:00
0b8fc77698
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272880 91177308-0d34-0410-b5e6-96231b3b80d8
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:
|