This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA] aoutx.h, aout_link_write_other_symbol, missing break statement (?)
- From: Michael Snyder <msnyder at vmware dot com>
- To: nickc at redhat dot com, "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>, bug-binutils at gnu dot org
- Date: Thu, 03 Mar 2011 10:32:18 -0800
- Subject: [RFA] aoutx.h, aout_link_write_other_symbol, missing break statement (?)
Hey Nick,
Should there be a break here? Or a "FALLTHROUGH" comment?
Looks like a break to me...
Cheers,
Michael
2011-03-03 Michael Snyder <msnyder@vmware.com>
* aoutx.h (aout_link_write_other_symbol): Missing break statement.
Index: aoutx.h
===================================================================
RCS file: /cvs/src/src/bfd/aoutx.h,v
retrieving revision 1.85
diff -u -p -u -p -r1.85 aoutx.h
--- aoutx.h 13 Dec 2010 01:06:15 -0000 1.85
+++ aoutx.h 3 Mar 2011 18:28:37 -0000
@@ -3637,6 +3637,7 @@ aout_link_write_other_symbol (struct aou
case bfd_link_hash_undefweak:
type = N_WEAKU;
val = 0;
+ break;
case bfd_link_hash_indirect:
/* We ignore these symbols, since the indirected symbol is
already in the hash table. */