summaryrefslogtreecommitdiffstats
path: root/llvm/test/Object/Mips/feature.test
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2016-06-16 09:17:03 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2016-06-16 09:17:03 +0000
commit1d14864bb35b011d1a1cd08a7c3c033ef87bde42 (patch)
treeaf265742beed843f53465a16a991d38bd08128fb /llvm/test/Object/Mips/feature.test
parent139ffba398645de7fd3a98eb581c6a79340b67b2 (diff)
downloadbcm5719-llvm-1d14864bb35b011d1a1cd08a7c3c033ef87bde42.tar.gz
bcm5719-llvm-1d14864bb35b011d1a1cd08a7c3c033ef87bde42.zip
[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 llvm-svn: 272880
Diffstat (limited to 'llvm/test/Object/Mips/feature.test')
-rw-r--r--llvm/test/Object/Mips/feature.test1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/Object/Mips/feature.test b/llvm/test/Object/Mips/feature.test
index e4d81a159f7..dc0e7ade3fa 100644
--- a/llvm/test/Object/Mips/feature.test
+++ b/llvm/test/Object/Mips/feature.test
@@ -1,3 +1,4 @@
+RUN: llvm-objdump -disassemble %p/../Inputs/dext-test.elf-mips64r2 | FileCheck %s
RUN: llvm-objdump -disassemble -mattr +mips64r2 %p/../Inputs/dext-test.elf-mips64r2 \
RUN: | FileCheck %s
OpenPOWER on IntegriCloud