Commit 351c2c4b by Richard Earnshaw Committed by Richard Earnshaw

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

From-SVN: r65692
parent 908a31e1
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> 2003-04-09 Tom Tromey <tromey@redhat.com>
* include/private/gcconfig.h (LINUX_STACKBOTTOM): Define for * include/private/gcconfig.h (LINUX_STACKBOTTOM): Define for
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
/* Determine the machine type: */ /* Determine the machine type: */
# if defined(__arm__) || defined(__thumb__) # if defined(__arm__) || defined(__thumb__)
# define ARM32 # define ARM32
# if !defined(LINUX) # if !defined(LINUX) && !defined(NETBSD)
# define NOSYS # define NOSYS
# define mach_type_known # define mach_type_known
# endif # endif
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
# define POWERPC # define POWERPC
# define mach_type_known # define mach_type_known
# endif # endif
# if defined(NETBSD) && defined(__arm32__) # if defined(NETBSD) && defined(__arm__)
# define ARM32 # define ARM32
# define mach_type_known # define mach_type_known
# endif # endif
...@@ -1562,8 +1562,13 @@ ...@@ -1562,8 +1562,13 @@
# ifdef NETBSD # ifdef NETBSD
# define OS_TYPE "NETBSD" # define OS_TYPE "NETBSD"
# define HEURISTIC2 # define HEURISTIC2
extern char etext[]; # ifdef __ELF__
# define DATASTART ((ptr_t)(etext)) # define DATASTART GC_data_start
# define DYNAMIC_LOADING
# else
extern char etext[];
# define DATASTART ((ptr_t)(etext))
# endif
# define USE_GENERIC_PUSH_REGS # define USE_GENERIC_PUSH_REGS
# endif # endif
# ifdef LINUX # ifdef LINUX
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment