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]

Remove data_start hack from trunk



Some folks suggested removing the data_start hack from the trunk and
seeing what happens.

Ok for trunk?

2001-06-02  Anthony Green  <green@redhat.com>

	* configure: Rebuild.
	* configure.in: Remove data_start hack.
	* libgcj.spec.in: Ditto.
	* Makefile.in: Rebuild.
	* Makefile.am: Ditto.
	* libgcjdata.c: Remove.

Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/libjava/configure.in,v
retrieving revision 1.91
diff -u -p -r1.91 configure.in
--- configure.in	2001/06/02 08:49:31	1.91
+++ configure.in	2001/06/02 08:54:44
@@ -147,16 +147,6 @@ fi
 AC_LANG_RESTORE
 AC_MSG_RESULT($ac_exception_model_name)
 
-AC_MSG_CHECKING([for data_start])
-LIBDATASTARTSPEC=
-NEEDS_DATA_START=
-AC_TRY_LINK([extern int data_start;], [return ((int) &data_start);],
-  [AC_MSG_RESULT(found it)],
-  [LIBDATASTARTSPEC="-u data_start libgcjdata.a%s"
-   NEEDS_DATA_START=yes	
-   AC_MSG_RESULT(missing)])
-AC_SUBST(LIBDATASTARTSPEC)
-
 dnl See if the user wants to disable java.net.  This is the mildly
 dnl ugly way that we admit that target-side configuration sucks.
 AC_ARG_ENABLE(java-net,
Index: libgcj.spec.in
===================================================================
RCS file: /cvs/gcc/gcc/libjava/libgcj.spec.in,v
retrieving revision 1.17
diff -u -p -r1.17 libgcj.spec.in
--- libgcj.spec.in	2001/05/24 05:40:36	1.17
+++ libgcj.spec.in	2001/06/02 08:54:44
@@ -7,10 +7,3 @@
 *lib: -lgcj -lm @GCSPEC@ @THREADSPEC@ @ZLIBSPEC@ @SYSTEMSPEC@ %(libgcc) %(liborig)
 
 *jc1: @HASH_SYNC_SPEC@ @DIVIDESPEC@ @JC1GCSPEC@ @EXCEPTIONSPEC@
-
-#
-# On some systems we force in a data_start symbol so that the GC will work
-# with shared libraries.
-# 
-%rename startfile startfileorig
-*startfile: %(startfileorig) @LIBDATASTARTSPEC@
Index: Makefile.am
===================================================================
RCS file: /cvs/gcc/gcc/libjava/Makefile.am,v
retrieving revision 1.150
diff -u -p -r1.150 Makefile.am
--- Makefile.am	2001/06/02 08:49:30	1.150
+++ Makefile.am	2001/06/02 08:54:44
@@ -33,11 +33,6 @@ toolexeclib_LTLIBRARIES = libgcj.la $(co
 toolexeclib_DATA = libgcj.spec
 data_DATA = libgcj.jar
 
-if NEEDS_DATA_START
-toolexeclib_LIBRARIES = libgcjdata.a
-libgcjdata_a_SOURCES = libgcjdata.c
-endif
-
 ## For now, only on native systems.  FIXME.
 if NATIVE
 bin_PROGRAMS = jv-convert gij


AG


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