/bfd:
authorEric B. Weddington <eric.weddington@atmel.com>
Fri, 14 Nov 2008 21:37:52 +0000 (21:37 +0000)
committerEric B. Weddington <eric.weddington@atmel.com>
Fri, 14 Nov 2008 21:37:52 +0000 (21:37 +0000)
2008-11-14  Eric B. Weddington  <eric.weddington@atmel.com>

PR 7022
* elf32-avr.c (bfd_elf_avr_final_write_processing):
Add missing break statements.

bfd/ChangeLog
bfd/elf32-avr.c

index b44e3ef5cdff9981e9c3a14ed6d317e40ddd2fc8..2adfb18bbc63ee397be6bca5947252e8bf99a0ac 100644 (file)
@@ -1,3 +1,9 @@
+2008-11-14  Eric B. Weddington  <eric.weddington@atmel.com>
+
+       PR 7022
+       * elf32-avr.c (bfd_elf_avr_final_write_processing):
+       Add missing break statements.
+
 2008-11-14  Bob Wilson  <bob.wilson@acm.org>
 
        * xtensa-modules.c (xtensa_state_id): New enum, replacing STATE macros.
index fffd0409663839e5842fbb9f6626a5e583631994..17e20fa2c3a8d7ac26f883e5e0dc69dd1edd6c36 100644 (file)
@@ -1298,6 +1298,7 @@ bfd_elf_avr_final_write_processing (bfd *abfd,
 
     case bfd_mach_avr25:
       val = E_AVR_MACH_AVR25;
+      break;
 
     case bfd_mach_avr3:
       val = E_AVR_MACH_AVR3;
@@ -1305,9 +1306,11 @@ bfd_elf_avr_final_write_processing (bfd *abfd,
 
     case bfd_mach_avr31:
       val = E_AVR_MACH_AVR31;
+      break;
 
     case bfd_mach_avr35:
       val = E_AVR_MACH_AVR35;
+      break;
 
     case bfd_mach_avr4:
       val = E_AVR_MACH_AVR4;