diff options
author | Daniel Sanders <daniel.sanders@imgtec.com> | 2016-06-16 09:17:03 +0000 |
---|---|---|
committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2016-06-16 09:17:03 +0000 |
commit | 0b8fc77698a1887f2b9b3b76e9187f812f13a4f5 (patch) | |
tree | 9ee92f0ae04c2d0abd918609af43abe9a1c92b0f /test/MC/Mips/cprestore-noreorder.s | |
parent | 2e5ed34ad61ffbda3507ad49381b776bcf1020fb (diff) |
[llvm-objdump] Support detection of feature bits from the object and implement this for Mips.
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
Diffstat (limited to 'test/MC/Mips/cprestore-noreorder.s')
-rw-r--r-- | test/MC/Mips/cprestore-noreorder.s | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/MC/Mips/cprestore-noreorder.s b/test/MC/Mips/cprestore-noreorder.s index 1d1997493f56..6740ad92b272 100644 --- a/test/MC/Mips/cprestore-noreorder.s +++ b/test/MC/Mips/cprestore-noreorder.s @@ -2,8 +2,7 @@ # RUN: FileCheck %s # RUN: llvm-mc %s -arch=mips -mcpu=mips32 --position-independent -filetype=obj -o -| \ -# RUN: llvm-objdump -d -r -arch=mips - | \ -# RUN: FileCheck %s -check-prefix=CHECK-FOR-STORE +# RUN: llvm-objdump -d -r - | FileCheck %s -check-prefix=CHECK-FOR-STORE # RUN: llvm-mc %s -arch=mips -mcpu=mips32 -mattr=+micromips --position-independent -show-encoding | \ # RUN: FileCheck %s -check-prefix=MICROMIPS |