This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [mips] generate PIC jump tables for n32 and n64
- From: Eric Christopher <echristo at redhat dot com>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 06 Nov 2002 12:26:37 -0800
- Subject: Re: [mips] generate PIC jump tables for n32 and n64
- References: <or65w6yq45.fsf@free.redhat.lsd.ic.unicamp.br><1034554661.2029.5.camel@ghostwheel> <or3cqv2wlc.fsf@free.redhat.lsd.ic.unicamp.br>
> bootstrapped it on another mips64 port I'm working on. Are the
> mips-specific parts ok for b-i-b?
>
> ----
>
> Index: gcc/ChangeLog
> from Alexandre Oliva <aoliva@redhat.com>
>
> * config.gcc (tm_defines): Define HAVE_GNU_AS and HAVE_GNU_LD.
> * config/mips/mips.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output
> .gpword/.gpdword for ABI_N32 and ABI_64 too.
> * config/mips/mips.md (tablejump_internal3): Output .cpadd
> before jump on ABI_N32 too.
> (tablejump_internal4): Ditto on ABI_64. Increase maximum
> length to match.
>
OK for b-i-b with the TARGET_GAS changes we talked about offline.
-eric
--
Yeah, I used to play basketball...