This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] MIPS BFD: Avoid unwanted fallthroughs in elfxx-mips.c
- From: Thiemo Seufer <ths at networkno dot de>
- To: binutils at sourceware dot org
- Date: Wed, 14 Nov 2007 20:07:15 +0000
- Subject: [PATCH] MIPS BFD: Avoid unwanted fallthroughs in elfxx-mips.c
Hello All,
I committed the appended patch, it fixes a logic bug which caused
in some cases two lines of output, only one of them valid.
Thiemo
2007-11-14 Thiemo Seufer <ths@mips.com>
* elfxx-mips.c (mips_elf_merge_obj_attributes): Prevent
unwanted fallthroughs in case statement.
Index: head/bfd/elfxx-mips.c
===================================================================
--- head.orig/bfd/elfxx-mips.c 2007-11-14 19:01:31.000000000 +0000
+++ head/bfd/elfxx-mips.c 2007-11-14 19:15:45.000000000 +0000
@@ -11073,6 +11073,7 @@
_bfd_error_handler
(_("Warning: %B uses -msingle-float, %B uses -mdouble-float"),
obfd, ibfd);
+ break;
case 3:
_bfd_error_handler
@@ -11092,6 +11093,7 @@
_bfd_error_handler
(_("Warning: %B uses -msingle-float, %B uses -mdouble-float"),
ibfd, obfd);
+ break;
case 3:
_bfd_error_handler