This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
frv readelf: fix goof in previous patch
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: binutils at sources dot redhat dot com
- Date: 07 Oct 2004 18:01:22 -0300
- Subject: frv readelf: fix goof in previous patch
- Organization: Red Hat Global Engineering Services Compiler Team
I goofed when adding support for printing FR-V CPU types in readelf.
This patch fixes it. I'm checking it in. *blush* :-)
Index: binutils/ChangeLog
from Alexandre Oliva <aoliva@redhat.com>
* readelf.c (get_machine_flags): Don't fall through into m68k cpu
types.
Index: binutils/readelf.c
===================================================================
RCS file: /cvs/src/src/binutils/readelf.c,v
retrieving revision 1.254
diff -u -p -r1.254 readelf.c
--- binutils/readelf.c 1 Oct 2004 12:59:42 -0000 1.254
+++ binutils/readelf.c 7 Oct 2004 20:59:22 -0000
@@ -1912,6 +1912,7 @@ get_machine_flags (unsigned e_flags, uns
strcat (buf, ", tomcat");
break;
}
+ break;
case EM_68K:
if (e_flags & EF_CPU32)
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}