This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]