[PATCH] boehm-gc reinstate support for arm-netbsdelf configurations

Richard Earnshaw rearnsha@arm.com
Fri Oct 31 11:26:00 GMT 2003


This patch was lost when an update to gcconfig.h was installed.  
Re-instated.

R.

2003-10-31  Richard Earnshaw  <rearnsha@arm.com>

	* include/private/gcconfig.h: Re-install change of 2003-04-16.



-------------- next part --------------
Index: include/private/gcconfig.h
===================================================================
RCS file: /cvs/gcc/gcc/boehm-gc/include/private/gcconfig.h,v
retrieving revision 1.34
retrieving revision 1.35
diff -p -r1.34 -r1.35
*** include/private/gcconfig.h	17 Oct 2003 14:59:17 -0000	1.34
--- include/private/gcconfig.h	31 Oct 2003 11:03:00 -0000	1.35
***************
*** 62,68 ****
  /* Determine the machine type: */
  # if defined(__arm__) || defined(__thumb__)
  #    define ARM32
! #    if !defined(LINUX)
  #      define NOSYS
  #      define mach_type_known
  #    endif
--- 62,68 ----
  /* Determine the machine type: */
  # if defined(__arm__) || defined(__thumb__)
  #    define ARM32
! #    if !defined(LINUX) && !defined(NETBSD)
  #      define NOSYS
  #      define mach_type_known
  #    endif
***************
*** 1688,1695 ****
  #   ifdef NETBSD
  #       define OS_TYPE "NETBSD"
  #       define HEURISTIC2
!        extern char etext[];
! #       define DATASTART ((ptr_t)(etext))
  #       define USE_GENERIC_PUSH_REGS
  #   endif
  #   ifdef LINUX
--- 1688,1700 ----
  #   ifdef NETBSD
  #       define OS_TYPE "NETBSD"
  #       define HEURISTIC2
! #	ifdef __ELF__
! #          define DATASTART GC_data_start
! #	   define DYNAMIC_LOADING
! #	else
!            extern char etext[];
! #          define DATASTART ((ptr_t)(etext))
! #	endif
  #       define USE_GENERIC_PUSH_REGS
  #   endif
  #   ifdef LINUX


More information about the Gcc-patches mailing list