mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-23 13:21:43 +08:00
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.
This commit is contained in:
parent
b60bf9be01
commit
a9f581680f
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
||||
2013-10-14 Jan-Benedict Glaw <jbglaw@lug-owl.de>
|
||||
|
||||
* readelf.c (decode_arm_unwind): Don't initialize `addr'.
|
||||
|
@ -2114,6 +2114,9 @@ Print the 'raw' instruction mnemonic instead of some pseudo
|
||||
instruction mnemonic. I.e., print 'daddu' or 'or' instead of 'move',
|
||||
'sll' instead of 'nop', etc.
|
||||
|
||||
@item msa
|
||||
Disassemble MSA instructions.
|
||||
|
||||
@item virt
|
||||
Disassemble the virtualization ASE instructions.
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user