gcconfig.h: Add new case for powerpc EABI.

* gcconfig.h: Add new case for powerpc EABI.
	[PPC]: Handle embedded OS for powerpc simulator.

From-SVN: r38179
This commit is contained in:
Geoffrey Keating 2000-12-10 22:57:37 +00:00 committed by Geoffrey Keating
parent 09314637fc
commit c9e02e5dc3
2 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2000-12-10 Geoffrey Keating <geoffk@redhat.com>
* gcconfig.h: Add new case for powerpc EABI.
[PPC]: Handle embedded OS for powerpc simulator.
2000-09-30 Bryce McKinlay <bryce@albatross.co.nz>
* configure.in: Define GC_GCJ_SUPPORT. Define NO_DEBUGGING in

View File

@ -297,6 +297,10 @@
# endif
# define mach_type_known
# endif
# if defined(__embedded__) && defined(PPC)
# define POWERPC
# define mach_type_known
# endif
/* Feel free to add more clauses here */
@ -573,6 +577,17 @@
# define STACKBOTTOM ((ptr_t) 0xc0000000)
# define DATAEND /* not needed */
# endif
# ifdef __embedded__
# define ALIGNMENT 4
# define OS_TYPE "EMBEDDED"
extern void __end, __dso_handle;
# define DATASTART (&__dso_handle) /* OK, that's ugly. */
# define DATAEND (&__end)
/* Stack starts at 0xE0000000 for the simulator. */
# undef STACK_GRAN
# define STACK_GRAN 0x10000000
# define HEURISTIC1
# endif
# endif
# ifdef VAX