diff options
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 7 | ||||
-rw-r--r-- | bfd/elfxx-mips.c | 4 |
2 files changed, 10 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 19b8bb4badd..f7e58ff760c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,10 @@ +2014-10-28 Matthew Fortune <matthew.fortune@imgtec.com> + + Apply trunk patches + 2014-10-22 Matthew Fortune <matthew.fortune@imgtec.com> + * elfxx-mips.c (print_mips_ases): Print unknown ASEs. + (print_mips_isa_ext): Print the value of an unknown extension. + 2014-10-28 Nick Clifton <nickc@redhat.com> * Apply trunk patches: diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index a1e9945c79f..61c363a9460 100644 --- a/bfd/elfxx-mips.c +++ b/bfd/elfxx-mips.c @@ -15507,6 +15507,8 @@ print_mips_ases (FILE *file, unsigned int mask) fputs ("\n\tXPA ASE", file); if (mask == 0) fprintf (file, "\n\t%s", _("None")); + else if ((mask & ~AFL_ASE_MASK) != 0) + fprintf (stdout, "\n\t%s (%x)", _("Unknown"), mask & ~AFL_ASE_MASK); } static void @@ -15572,7 +15574,7 @@ print_mips_isa_ext (FILE *file, unsigned int isa_ext) fputs ("ST Microelectronics Loongson 2F", file); break; default: - fputs (_("Unknown"), file); + fprintf (file, "%s (%d)", _("Unknown"), isa_ext); break; } } |