From fef1b0b33bc5c04ca1353fdb1d0e1b1966d616ad Mon Sep 17 00:00:00 2001 From: Steve Ellcey Date: Tue, 17 Sep 2013 21:09:27 +0000 Subject: [PATCH] 2013-09-17 Doug Gilmore * readelf.c (get_machine_flags): Handle EF_MIPS_FP64. --- binutils/ChangeLog | 4 ++++ binutils/readelf.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 423611c..1bbbe2e 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2013-09-17 Doug Gilmore + + * readelf.c (get_machine_flags): Handle EF_MIPS_FP64. + 2013-09-12 Nick Clifton * dwarf.c (dwarf_vmatoa): Rename to dwarf_vmatoa_1 and add a diff --git a/binutils/readelf.c b/binutils/readelf.c index 2dd1d8b..0568a67 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -2571,6 +2571,9 @@ get_machine_flags (unsigned e_flags, unsigned e_machine) if (e_flags & EF_MIPS_NAN2008) strcat (buf, ", nan2008"); + if (e_flags & EF_MIPS_FP64) + strcat (buf, ", fp64"); + switch ((e_flags & EF_MIPS_MACH)) { case E_MIPS_MACH_3900: strcat (buf, ", 3900"); break; -- 2.7.4