aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorSteve Ellcey <sje@cup.hp.com>2013-09-17 21:09:27 +0000
committerSteve Ellcey <sje@cup.hp.com>2013-09-17 21:09:27 +0000
commitfef1b0b33bc5c04ca1353fdb1d0e1b1966d616ad (patch)
tree9ef72eefb1bbafe9d15cf4d6b2043de260392c13 /binutils
parentf1c38003e78107ce414ca4eb3a231fe16906e99e (diff)
downloadgdb-fef1b0b33bc5c04ca1353fdb1d0e1b1966d616ad.zip
gdb-fef1b0b33bc5c04ca1353fdb1d0e1b1966d616ad.tar.gz
gdb-fef1b0b33bc5c04ca1353fdb1d0e1b1966d616ad.tar.bz2
2013-09-17 Doug Gilmore <Doug.Gilmore@imgtec.com>
* readelf.c (get_machine_flags): Handle EF_MIPS_FP64.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/readelf.c3
2 files changed, 7 insertions, 0 deletions
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 <Doug.Gilmore@imgtec.com>
+
+ * readelf.c (get_machine_flags): Handle EF_MIPS_FP64.
+
2013-09-12 Nick Clifton <nickc@redhat.com>
* 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;