[PATCH] MIPS: Define descriptive names for GNU attribute values

Maciej W. Rozycki macro@codesourcery.com
Mon Jul 15 15:55:00 GMT 2013


On Sat, 13 Jul 2013, Richard Sandiford wrote:

> > 	include/elf/
> > 	* mips.h (Tag_GNU_MIPS_ABI_FP): Remove comment.
> > 	(Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE,
> > 	Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT,
> > 	Val_GNU_MIPS_ABI_FP_64): New enum.
> >
> > 	bfd/
> > 	* elfxx-mips.c (mips_elf_merge_obj_attributes): Replace hardcoded
> > 	magic numbers with enum values.
> >
> > 	binutils/
> > 	* readelf.c (display_mips_gnu_attribute): Replace hardcoded magic
> > 	numbers with enum values.
> >
> > 	gdb/
> > 	* mips-tdep.c (mips_gdbarch_init): Replace hardcoded magic
> > 	numbers with enum values.
> 
> OK.  Nice cleanup, thanks.

 Committed now, thanks.

  Maciej



More information about the Binutils mailing list