diff options
author | Anthony Green <green@redhat.com> | 2002-02-09 00:50:05 +0000 |
---|---|---|
committer | Anthony Green <green@redhat.com> | 2002-02-09 00:50:05 +0000 |
commit | 1c46420fdb3c2ecdb59bd1560903330295a6858e (patch) | |
tree | c68d180cfc2d82b626c6a1cf2c655d6cf7a53e32 /boehm-gc/include/private/gcconfig.h | |
parent | 920034b23cc116902036dd20df9289b4cbc98202 (diff) |
xscale-elf support
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@49626 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc/include/private/gcconfig.h')
-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 1c92ee31f2f..647bd5af3f7 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 |