boehm-gc NetBSD/i386 configuration patch
Krister Walfridsson
cato@df.lth.se
Sat Mar 30 11:33:00 GMT 2002
The boehm-gc has code to handle dynamic loading for NetBSD/i386 ELF, but
the configuration forgets to enable it. The path below remedies that, and
thus makes java useable on i*86-*-netbsdelf*.
Bootstrapped and checked on i386-unknown-netbsdelf1.5ZC.
/Krister
2002-03-30 Krister Walfridsson <cato@df.lth.se>
* include/private/gcconfig.h: define DYNAMIC_LOADING for ELF
NetBSD/i386.
Index: gcc/boehm-gc/include/private/gcconfig.h
===================================================================
RCS file: /cvs/gcc/gcc/boehm-gc/include/private/gcconfig.h,v
retrieving revision 1.13
diff -c -3 -p -r1.13 gcconfig.h
*** gcconfig.h 2002/03/25 23:20:31 1.13
--- gcconfig.h 2002/03/30 16:30:36
***************
*** 1063,1068 ****
--- 1063,1071 ----
# endif
# ifdef NETBSD
# define OS_TYPE "NETBSD"
+ # ifdef __ELF__
+ # define DYNAMIC_LOADING
+ # endif
# endif
# ifdef THREE86BSD
# define OS_TYPE "THREE86BSD"
More information about the Java-patches
mailing list