Support object attributes numbers below 4

Alan Modra amodra@gmail.com
Tue Jun 15 22:58:00 GMT 2010


On Tue, Jun 15, 2010 at 04:33:36PM +0000, Joseph S. Myers wrote:
> 2010-06-15  Joseph Myers  <joseph@codesourcery.com>
> 
> 	* elf-bfd.h (LEAST_KNOWN_OBJ_ATTRIBUTE): Define.
> 	(struct elf_backend_data): Update comment on obj_attrs_order.
> 	* elf-attrs.c (vendor_obj_attr_size, vendor_set_obj_attr_contents,
> 	_bfd_elf_copy_obj_attributes): Use LEAST_KNOWN_OBJ_ATTRIBUTE
> 	instead of hardcoded 4.
> 	* elf32-arm.c (elf32_arm_obj_attrs_order): Use
> 	LEAST_KNOWN_OBJ_ATTRIBUTE and LEAST_KNOWN_OBJ_ATTRIBUTE + 1
> 	instead of hardcoded 4 and 5.
> 	(elf32_arm_merge_eabi_attributes): Use LEAST_KNOWN_OBJ_ATTRIBUTE
> 	instead of hardcoded 4.

OK.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list