PATCH: elf32-arm.c fix (committed)
Ben Elliston
bje@au1.ibm.com
Tue Mar 14 23:57:00 GMT 2006
More information about the Binutils mailing list
Tue Mar 14 23:57:00 GMT 2006
- Previous message (by thread): [patch] Unbreak Arm blx relocations
- Next message (by thread): PATCH: elf32-arm.c fix (committed)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This patch corrects a bug where iterating over a list (in_list), we break after the first element, warning only if that element is erroneous. I suspect the correct behaviour is to examine all list elements, but only issue one warning. Committed as obvious; feel free to grill me if I am wrong! 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. Index: elf32-arm.c =================================================================== RCS file: /cvs/src/src/bfd/elf32-arm.c,v retrieving revision 1.68 diff -u -p -r1.68 elf32-arm.c --- elf32-arm.c 10 Mar 2006 17:20:28 -0000 1.68 +++ elf32-arm.c 14 Mar 2006 23:49:43 -0000 @@ -5146,10 +5146,12 @@ elf32_arm_merge_eabi_attributes (bfd *ib 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; }
- Previous message (by thread): [patch] Unbreak Arm blx relocations
- Next message (by thread): PATCH: elf32-arm.c fix (committed)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list