summaryrefslogtreecommitdiff
path: root/binutils/readelf.c
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
commit9e3974dab08dfc99b18c9f4ab462b94f3b973019 (patch)
tree8cbb4f9b0f731f4cf1ad1cf1b447bd53076262a7 /binutils/readelf.c
parentf2f0aba03d6fa37d68fdab425d67a5e5c80e77ef (diff)
downloadbinutils-redhat-9e3974dab08dfc99b18c9f4ab462b94f3b973019.tar.gz
2013-09-17 Doug Gilmore <Doug.Gilmore@imgtec.com>
* readelf.c (get_machine_flags): Handle EF_MIPS_FP64.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 2dd1d8bef2..0568a673eb 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;