minor tweaks for Alpha Linux

Anthony Green green@cygnus.com
Sun Dec 19 21:55:00 GMT 1999


Jeff Sturm provided Alpha Linux patches which I have committed.


In boehm-gc/ChangeLog

1999-12-19  Jeff Sturm  <jsturm@sigma6.com>

        * gcconfig.h: Define DATASTART for Alpha Linux.

===================================================================
RCS file: /cvs/java/libgcj/boehm-gc/gcconfig.h,v
retrieving revision 1.7
diff -u -r1.7 gcconfig.h
--- gcconfig.h	1999/12/20 02:34:52	1.7
+++ gcconfig.h	1999/12/20 05:46:53
@@ -992,6 +992,7 @@
                the start of the data segment.  So libgcj defines
                data_start on its own (in libgcjdata.a).  */
             extern int data_start;
+#           define DATASTART &data_start
 #           define DYNAMIC_LOADING
 #       else
 #           define DATASTART ((ptr_t) 0x140000000)




In libjava/ChangeLog

1999-12-23  Anthony Green  <green@cygnus.com>

	* configure: Rebuilt.	    
	* configure.in (LIBDATASTARTSPEC): Force data_start in with
	linker trick.

Index: libjava/configure.in
===================================================================
RCS file: /cvs/java/libgcj/libjava/configure.in,v
retrieving revision 1.43
diff -u -r1.43 configure.in
--- configure.in	1999/12/20 02:18:11	1.43
+++ configure.in	1999/12/20 05:47:00
@@ -89,7 +89,7 @@
 NEEDS_DATA_START=
 AC_TRY_LINK([extern int data_start;], [return ((int) &data_start);],
   [AC_MSG_RESULT(found it)],
-  [LIBDATASTARTSPEC="-lgcjdata"
+  [LIBDATASTARTSPEC="-u data_start -lgcjdata"
    NEEDS_DATA_START=yes	
    AC_MSG_RESULT(missing)])
 AC_SUBST(LIBDATASTARTSPEC)

Index: configure
===================================================================
RCS file: /cvs/java/libgcj/libjava/configure,v
retrieving revision 1.45
diff -r1.45 configure
2476c2476
<   LIBDATASTARTSPEC="-lgcjdata"
---
>   LIBDATASTARTSPEC="-u data_start -lgcjdata"

-- 
Anthony Green                                               Cygnus Solutions
                                                       Sunnyvale, California


More information about the Java-patches mailing list