This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java 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]

[Patch] No more -mxgot for MIPS...


RTH's patch:

http://gcc.gnu.org/ml/java-patches/2005-q1/msg00402.html

Fixes the libgcj build so that the MIPS build longer needs -mxgot.

This patch removes the -mxgot resulting in a size reduction of libgcj of about 1MB (from 17.5 to 16.5 MB as reported by size).

Tested on mipsel-linux target with no regressions in make -k check of libjava.

O.K. to commit?

2005-02-23 David Daney <ddaney@avtrex.com>

*configure.host: Don't use -mxgot for MIPS builds.


David Daney.
Index: configure.host
===================================================================
RCS file: /cvs/gcc/gcc/libjava/configure.host,v
retrieving revision 1.64
diff -c -p -r1.64 configure.host
*** configure.host	25 Nov 2004 03:46:56 -0000	1.64
--- configure.host	24 Feb 2005 00:59:25 -0000
*************** EOF
*** 227,233 ****
    mips*-*-linux* )
    	sysdeps_dir=mips
    	can_unwind_signal=yes
- 	libgcj_flags="${libgcj_flags} -mxgot"
  	DIVIDESPEC=-fno-use-divide-subroutine
  	case "${host}" in
  	    mipsel*-linux* | mipsisa32el*-linux*)
--- 227,232 ----

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