This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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 code cleanup: Use TARGET_NEWABI and TARGET_OLDABIconsistently


Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de> writes:
> this patch defines TARGET_OLDABI, and uses together with TARGET_NEWABI
> to make the mips_abi checks a bit less obfuscated.
>
> Tested for mips64-linux with gcc bootstrap and regression test.

Thanks for the patch.  I agree this is a nice cleanup.

> I don't have a copyright assignment for gcc yet, but it's probably
> not needed anyway for such search-and-replace style things.

Judging by the link Paul sent earlier:

    http://www.gnu.org/prep/maintain_6.html#SEC6

it looks like this is indeed OK without an assignment.  I'll apply
it to trunk in a few day's time unless someone tells me otherwise.

Richard

> 2004-02-06  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
>
> 	/gcc/ChangeLog
> 	* config/mips/mips.h (TARGET_OLDABI): Define. Use TARGET_NEWABI and
> 	TARGET_LODABI consistently.
> 	* config/mips/mips.c (function_arg,mips_setup_incoming_varargs,
> 	mips_va_arg,override_options,compute_frame_size,
> 	mips_initial_elimination_offset,mips16_fp_args,build_mips16_call_stub
> 	,mips_return_in_memory,mips_strict_argument_naming): Use TARGET_NEWABI
> 	and TARGET_LODABI consistently.
> 	* config/mips/mips.md (exception_receiver): Likewise.
> 	* config/mips/linux64.h: Likewise.


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