From: Ben Elliston Date: Tue, 14 Mar 2006 23:58:07 +0000 (+0000) Subject: * elf32-arm.c (elf32_arm_merge_eabi_attributes): Iterate over all X-Git-Tag: binutils-csl-2_17-branchpoint~48 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eb111b1f4eb78fe9584a09db267c85a4002a87d0;p=external%2Fbinutils.git * elf32-arm.c (elf32_arm_merge_eabi_attributes): Iterate over all in_list elements, not just the first. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 5ede2ea..cc0093e 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2006-03-15 Ben Elliston + + * elf32-arm.c (elf32_arm_merge_eabi_attributes): Iterate over all + in_list elements, not just the first. + 2006-03-14 Richard Sandiford * elf32-mips.c (mips_elf_adjust_addend): New function, mostly split diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c index 784160a..3f560df 100644 --- a/bfd/elf32-arm.c +++ b/bfd/elf32-arm.c @@ -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; }