This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


"Maciej W. Rozycki" <macro@codesourcery.com> writes:
> 2013-07-12  Maciej W. Rozycki  <macro@codesourcery.com>
>
> 	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.

Richard


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]