This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Support object attributes numbers below 4
- From: Alan Modra <amodra at gmail dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: binutils at sourceware dot org
- Date: Wed, 16 Jun 2010 08:28:43 +0930
- Subject: Re: Support object attributes numbers below 4
- References: <Pine.LNX.4.64.1006151632210.21525@digraph.polyomino.org.uk>
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