This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java 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]

PATCH Add arm-netbsdelf configuration for boehm-gc


This patch adds the arm-netbsdelf configuration information needed for 
building boehm-gc on an arm-netbsdelf system.

R.

2003-04-16  Richard Earnshaw  <rearnsha at arm dot com>

	* include/private/gcconfig.h: Add support for arm-netbsdelf.


Index: boehm-gc/include/private/gcconfig.h
===================================================================
RCS file: /cvs/gcc/gcc/boehm-gc/include/private/gcconfig.h,v
retrieving revision 1.30
diff -p -p -r1.30 gcconfig.h
*** boehm-gc/include/private/gcconfig.h	10 Apr 2003 00:08:10 -0000	1.30
--- boehm-gc/include/private/gcconfig.h	16 Apr 2003 18:19:37 -0000
***************
*** 46,52 ****
  /* Determine the machine type: */
  # if defined(__arm__) || defined(__thumb__)
  #    define ARM32
! #    if !defined(LINUX)
  #      define NOSYS
  #      define mach_type_known
  #    endif
--- 46,52 ----
  /* Determine the machine type: */
  # if defined(__arm__) || defined(__thumb__)
  #    define ARM32
! #    if !defined(LINUX) && !defined(NETBSD)
  #      define NOSYS
  #      define mach_type_known
  #    endif
***************
*** 77,83 ****
  #    define POWERPC
  #    define mach_type_known
  # endif
! # if defined(NETBSD) && defined(__arm32__)
  #    define ARM32
  #    define mach_type_known
  # endif
--- 77,83 ----
  #    define POWERPC
  #    define mach_type_known
  # endif
! # if defined(NETBSD) && defined(__arm__)
  #    define ARM32
  #    define mach_type_known
  # endif
***************
*** 1562,1569 ****
  #   ifdef NETBSD
  #       define OS_TYPE "NETBSD"
  #       define HEURISTIC2
!         extern char etext[];
! #       define DATASTART ((ptr_t)(etext))
  #       define USE_GENERIC_PUSH_REGS
  #   endif
  #   ifdef LINUX
--- 1562,1574 ----
  #   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

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