* elf32-arm.c (elf32_arm_merge_eabi_attributes): Iterate over all
authorBen Elliston <bje@au.ibm.com>
Tue, 14 Mar 2006 23:58:07 +0000 (23:58 +0000)
committerBen Elliston <bje@au.ibm.com>
Tue, 14 Mar 2006 23:58:07 +0000 (23:58 +0000)
in_list elements, not just the first.

bfd/ChangeLog
bfd/elf32-arm.c

index 5ede2eaa7fdeecde5195e26ebac58c5e4d89e96a..cc0093edb1e8e9a1aa37e08b46de9ec38db44c09 100644 (file)
@@ -1,3 +1,8 @@
+2006-03-15  Ben Elliston  <bje@au.ibm.com>
+
+       * elf32-arm.c (elf32_arm_merge_eabi_attributes): Iterate over all
+       in_list elements, not just the first.
+       
 2006-03-14  Richard Sandiford  <richard@codesourcery.com>
 
        * elf32-mips.c (mips_elf_adjust_addend): New function, mostly split
index 784160a2634ab673c6dcb5d905100d506d47e81f..3f560dfec1395b9d6e1614b94c03d8523a50b627 100644 (file)
@@ -5146,10 +5146,12 @@ elf32_arm_merge_eabi_attributes (bfd *ibfd, bfd *obfd)
   for (; in_list; in_list = in_list->next)
     {
       if ((in_list->tag & 128) < 64)
-       _bfd_error_handler
-         (_("Warning: %B: Unknown EABI object attribute %d"),
-          ibfd, in_list->tag);
-      break;
+       {
+         _bfd_error_handler
+           (_("Warning: %B: Unknown EABI object attribute %d"),
+            ibfd, in_list->tag);
+         break;
+       }
     }
   return TRUE;
 }