This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

frv readelf: fix goof in previous patch


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}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]