diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog index 6b55358fed2d..f367b2c0865b 100644 --- a/boehm-gc/ChangeLog +++ b/boehm-gc/ChangeLog @@ -1,3 +1,7 @@ +1999-12-19 Jeff Sturm + + * gcconfig.h: Define DATASTART for Alpha Linux. + 1999-12-19 Anthony Green * gcconfig.h: Use libgcj hack for Alpha Linux. diff --git a/boehm-gc/gcconfig.h b/boehm-gc/gcconfig.h index c5c2b88ac736..9451aab37703 100644 --- a/boehm-gc/gcconfig.h +++ b/boehm-gc/gcconfig.h @@ -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) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 8e68f2865318..07efe35e01cf 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,9 @@ +1999-12-23 Anthony Green + + * configure: Rebuilt. + * configure.in (LIBDATASTARTSPEC): Force data_start in with + linker trick. + 1999-12-19 Anthony Green * libgcjdata.c: New file. diff --git a/libjava/configure b/libjava/configure index 14a581cc0633..297b7b868136 100755 --- a/libjava/configure +++ b/libjava/configure @@ -2473,7 +2473,7 @@ else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - LIBDATASTARTSPEC="-lgcjdata" + LIBDATASTARTSPEC="-u data_start -lgcjdata" NEEDS_DATA_START=yes echo "$ac_t""missing" 1>&6 fi diff --git a/libjava/configure.in b/libjava/configure.in index 5f0ee893751b..519ffb585a96 100644 --- a/libjava/configure.in +++ b/libjava/configure.in @@ -89,7 +89,7 @@ LIBDATASTARTSPEC= 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)