This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: GCC patch for MIPS multi-got support in the linker
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: aoliva at redhat dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 16 Jan 2003 12:59:19 -0500 (EST)
- Subject: Re: GCC patch for MIPS multi-got support in the linker
- References: <orvg0suxfu.fsf@free.redhat.lsd.ic.unicamp.br>
> from Alexandre Oliva <aoliva@redhat.com>
> * config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Define so as
> to set $gp before the call.
>
> + jal " USER_LABEL_PREFIX #FUNC "\n\
> + " TEXT_SECTION_ASM_OP);
> +#elif (defined _ABIN32 && _MIPS_SIM == _ABIN32) \
> + || (defined _ABI64 && _MIPS_SIM == _ABI64)
On an irix6 bootstrap, the above fragment yields:
> mips.h:4693:2: warning: suggest not using #elif in traditional C
Would you please fix it?
Thanks,
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu