aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2004-10-07 21:01:43 +0000
committerAlexandre Oliva <aoliva@redhat.com>2004-10-07 21:01:43 +0000
commit1c877e87e3ccaf264d2026a70c146289d19e4cdb (patch)
tree7b3dc14cc12212aa1df0b425639ac6643a0f00ed
parent99022dfb1d4b1de6f394026ffd5b738b522aa9f6 (diff)
downloadgdb-1c877e87e3ccaf264d2026a70c146289d19e4cdb.zip
gdb-1c877e87e3ccaf264d2026a70c146289d19e4cdb.tar.gz
gdb-1c877e87e3ccaf264d2026a70c146289d19e4cdb.tar.bz2
* readelf.c (get_machine_flags): Don't fall through into m68k cpu
types.
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/readelf.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index eea10a2..95b3568 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2004-10-07 Alexandre Oliva <aoliva@redhat.com>
+
+ * readelf.c (get_machine_flags): Don't fall through into m68k cpu
+ types.
+
2004-10-01 Paul Brook <paul@codesourcery.com>
* readelf.c (get_arm_section_type_name): New function.
diff --git a/binutils/readelf.c b/binutils/readelf.c
index b35ddfe..516b040 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -1912,6 +1912,7 @@ get_machine_flags (unsigned e_flags, unsigned e_machine)
strcat (buf, ", tomcat");
break;
}
+ break;
case EM_68K:
if (e_flags & EF_CPU32)