This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
boehm-gc NetBSD/i386 configuration patch
- From: Krister Walfridsson <cato at df dot lth dot se>
- To: java-patches at gcc dot gnu dot org
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 30 Mar 2002 17:48:07 +0100 (MET)
- Subject: boehm-gc NetBSD/i386 configuration patch
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"