diff options
author | Chao-ying Fu <fu@mips.com> | 2013-10-14 18:45:46 +0000 |
---|---|---|
committer | Chao-ying Fu <fu@mips.com> | 2013-10-14 18:45:46 +0000 |
commit | 2b9ed0a4216444d4aa2a600789544031fc78fd9d (patch) | |
tree | 092a8e53c71ba6eceea19ab06e3457dfa587835a /binutils/readelf.c | |
parent | 1046a148f553b1930827620d61331b18c3522e22 (diff) | |
download | binutils-redhat-2b9ed0a4216444d4aa2a600789544031fc78fd9d.tar.gz |
2013-10-14 Chao-ying Fu <Chao-ying.Fu@imgtec.com>
* readelf.c (display_mips_gnu_attribute): Support Tag_GNU_MIPS_ABI_MSA.
* doc/binutils.texi: Document -Mmsa disassembler option.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r-- | binutils/readelf.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c index 2156b78258..7920100630 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -11769,6 +11769,30 @@ display_mips_gnu_attribute (unsigned char * p, return p; } + if (tag == Tag_GNU_MIPS_ABI_MSA) + { + unsigned int len; + int val; + + val = read_uleb128 (p, &len, end); + p += len; + printf (" Tag_GNU_MIPS_ABI_MSA: "); + + switch (val) + { + case Val_GNU_MIPS_ABI_MSA_ANY: + printf (_("Any MSA or not\n")); + break; + case Val_GNU_MIPS_ABI_MSA_128: + printf (_("128-bit MSA\n")); + break; + default: + printf ("??? (%d)\n", val); + break; + } + return p; + } + return display_tag_value (tag & 1, p, end); } |