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

From-SVN: r65692
This commit is contained in:
Richard Earnshaw 2003-04-16 18:28:29 +00:00 committed by Richard Earnshaw
parent 908a31e1b1
commit 351c2c4b2f
2 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2003-04-16 Richard Earnshaw <rearnsha@arm.com>
* include/private/gcconfig.h: Add support for arm-netbsdelf.
2003-04-09 Tom Tromey <tromey@redhat.com>
* include/private/gcconfig.h (LINUX_STACKBOTTOM): Define for

View File

@ -46,7 +46,7 @@
/* Determine the machine type: */
# if defined(__arm__) || defined(__thumb__)
# define ARM32
# if !defined(LINUX)
# if !defined(LINUX) && !defined(NETBSD)
# define NOSYS
# define mach_type_known
# endif
@ -77,7 +77,7 @@
# define POWERPC
# define mach_type_known
# endif
# if defined(NETBSD) && defined(__arm32__)
# if defined(NETBSD) && defined(__arm__)
# define ARM32
# define mach_type_known
# endif
@ -1562,8 +1562,13 @@
# ifdef NETBSD
# define OS_TYPE "NETBSD"
# define HEURISTIC2
extern char etext[];
# define DATASTART ((ptr_t)(etext))
# 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