diff options
| author | green <green@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-10-02 15:44:24 +0000 |
|---|---|---|
| committer | green <green@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-10-02 15:44:24 +0000 |
| commit | 94c957204d0f09f7625fb3d5a6f76fa272d821de (patch) | |
| tree | c6b3f0e39e6729d1d81835c316f549ac9a7ed987 /libjava | |
| parent | abb5d70537f83ab31d02f0adfc0e9e559b82b41a (diff) | |
| download | ppe42-gcc-94c957204d0f09f7625fb3d5a6f76fa272d821de.tar.gz ppe42-gcc-94c957204d0f09f7625fb3d5a6f76fa272d821de.zip | |
The following patches include a couple of fixes for cross toolchains,
and endian bits for the picojava port. I am committing this (and the
rebuilt Makefile.in/configure files).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29765 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
| -rw-r--r-- | libjava/Makefile.am | 1 | ||||
| -rw-r--r-- | libjava/configure.in | 2 | ||||
| -rw-r--r-- | libjava/java/lang/ieeefp.h | 8 |
3 files changed, 10 insertions, 1 deletions
diff --git a/libjava/Makefile.am b/libjava/Makefile.am index dc5a034059b..dc5ff59280f 100644 --- a/libjava/Makefile.am +++ b/libjava/Makefile.am @@ -80,6 +80,7 @@ JCFLAGS = -g JC1FLAGS = -g @LIBGCJ_JAVAFLAGS@ LIBFFIINCS = -I$(top_srcdir)/../libffi/include -I../libffi/include +ZINCS = -I$(top_srcdir)/../zlib INCLUDES = -I$(top_srcdir) -Iinclude -I$(top_srcdir)/include \ $(GCINCS) $(THREADINCS) \ diff --git a/libjava/configure.in b/libjava/configure.in index 375242bdd7e..a6557d14b3d 100644 --- a/libjava/configure.in +++ b/libjava/configure.in @@ -302,7 +302,7 @@ if test -n "${with_cross_host}"; then dnl We also assume we are using gcc, which provides alloca. AC_DEFINE(HAVE_ALLOCA) - ZLIBSPEC=-lgcj + ZLIBSPEC=-lzgcj # If Canadian cross, then don't pick up tools from the build # directory. diff --git a/libjava/java/lang/ieeefp.h b/libjava/java/lang/ieeefp.h index 1f0951ff430..bf0cafc6bd2 100644 --- a/libjava/java/lang/ieeefp.h +++ b/libjava/java/lang/ieeefp.h @@ -66,6 +66,14 @@ #define __IEEE_BIG_ENDIAN #endif +#ifdef __pj__ +#ifdef __pjl__ +#define __IEEE_LITTLE_ENDIAN +#else +#define __IEEE_BIG_ENDIAN +#endif +#endif + /* necv70 was __IEEE_LITTLE_ENDIAN. */ #ifdef __W65__ |

