This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] GAS: Move .gnu_attribute to ELF object format support
- From: Alan Modra <amodra at gmail dot com>
- To: "Maciej W. Rozycki" <macro at codesourcery dot com>
- Cc: binutils at sourceware dot org
- Date: Fri, 9 Nov 2012 09:09:54 +1030
- Subject: Re: [PATCH] GAS: Move .gnu_attribute to ELF object format support
- References: <alpine.DEB.1.10.1211080925550.11298@tp.orcam.me.uk>
On Thu, Nov 08, 2012 at 05:20:51PM +0000, Maciej W. Rozycki wrote:
> * read.h (s_vendor_attribute): Move to...
> * config/obj-elf.h (obj_elf_vendor_attribute): ... here.
> * read.c (potable): Remove "gnu_attribute".
> (skip_whitespace, skip_past_char, skip_past_comma): Delete, move
> to config/obj-elf.c.
> (s_vendor_attribute): Delete, move to obj_elf_vendor_attribute
> in config/obj-elf.c.
> (s_gnu_attribute): Delete, move to obj_elf_gnu_attribute in
> config/obj-elf.c.
> * config/obj-elf.c (elf_pseudo_table): Add "gnu_attribute".
> (skip_whitespace, skip_past_char, skip_past_comma): New, moved
> from read.c.
> (obj_elf_vendor_attribute): New, moved from s_vendor_attribute
> in read.c.
> (obj_elf_gnu_attribute): New, moved from s_gnu_attribute in
> read.c.
> * config/tc-arm.c (s_arm_eabi_attribute): Rename
> s_vendor_attribute to obj_elf_vendor_attribute.
> * config/tc-tic6x.c (s_tic6x_c6xabi_attribute): Likewise.
OK, thanks!
--
Alan Modra
Australia Development Lab, IBM