This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
PATCH Add arm-netbsdelf configuration for boehm-gc
- From: Richard Earnshaw <rearnsha at buzzard dot freeserve dot co dot uk>
- To: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Cc: Richard dot Earnshaw at buzzard dot freeserve dot co dot uk
- Date: Wed, 16 Apr 2003 19:42:12 +0100
- Subject: PATCH Add arm-netbsdelf configuration for boehm-gc
- Reply-to: Richard dot Earnshaw at buzzard dot freeserve dot co dot uk
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