This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] MIPS code cleanup: Use TARGET_NEWABI and TARGET_OLDABIconsistently
- From: Richard Sandiford <rsandifo at redhat dot com>
- To: Thiemo Seufer <ica2_ts at csv dot ica dot uni-stuttgart dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 07 Feb 2004 18:54:23 +0000
- Subject: Re: [PATCH] MIPS code cleanup: Use TARGET_NEWABI and TARGET_OLDABIconsistently
- References: <20040206015113.GE26968@rembrandt.csv.ica.uni-stuttgart.de>
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.