aboutsummaryrefslogtreecommitdiff
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
parent2013-09-17 Doug Gilmore <Doug.Gilmore@imgtec.com> (diff)
downloadbinutils-gdb-fef1b0b33bc5c04ca1353fdb1d0e1b1966d616ad.tar.gz
binutils-gdb-fef1b0b33bc5c04ca1353fdb1d0e1b1966d616ad.tar.bz2
binutils-gdb-fef1b0b33bc5c04ca1353fdb1d0e1b1966d616ad.zip
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 423611c55c4..1bbbe2e64b3 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 2dd1d8bef2e..0568a673eb8 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;