diff options
author | Anthony Green <green@redhat.com> | 2002-02-09 00:50:05 +0000 |
---|---|---|
committer | Anthony Green <green@gcc.gnu.org> | 2002-02-09 00:50:05 +0000 |
commit | b6459d9a78a55b0a1906357552ccff2d2769fa8a (patch) | |
tree | c68d180cfc2d82b626c6a1cf2c655d6cf7a53e32 /boehm-gc/include | |
parent | 85aa876c4b7cf8d07c36dccaded74ca02e546eca (diff) | |
download | gcc-b6459d9a78a55b0a1906357552ccff2d2769fa8a.zip gcc-b6459d9a78a55b0a1906357552ccff2d2769fa8a.tar.gz gcc-b6459d9a78a55b0a1906357552ccff2d2769fa8a.tar.bz2 |
xscale-elf support
From-SVN: r49626
Diffstat (limited to 'boehm-gc/include')
-rw-r--r-- | boehm-gc/include/private/gcconfig.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/boehm-gc/include/private/gcconfig.h b/boehm-gc/include/private/gcconfig.h index 1c92ee3..647bd5a 100644 --- a/boehm-gc/include/private/gcconfig.h +++ b/boehm-gc/include/private/gcconfig.h @@ -39,6 +39,13 @@ # endif /* Determine the machine type: */ +# if defined(__XSCALE__) +# define ARM32 +# if !defined(LINUX) +# define NOSYS +# define mach_type_known +# endif +# endif # if defined(sun) && defined(mc68000) # define M68K # define SUNOS4 @@ -1495,6 +1502,15 @@ # define OS_TYPE "MSWINCE" # define DATAEND /* not needed */ # endif +# ifdef NOSYS + /* __data_start is usually defined in the target linker script. */ + extern int __data_start; +# define DATASTART (ptr_t)(&__data_start) +# define USE_GENERIC_PUSH_REGS + /* __stack_base__ is set in newlib/libc/sys/arm/crt0.S */ + extern void *__stack_base__; +# define STACKBOTTOM ((ptr_t) (__stack_base__)) +# endif #endif # ifdef SH |