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: [mips] generate PIC jump tables for n32 and n64


> 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...


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