[PATCH] GAS: Move .gnu_attribute to ELF object format support

Alan Modra amodra@gmail.com
Thu Nov 8 22:40:00 GMT 2012


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



More information about the Binutils mailing list