gcconfig.h (DATASTART): Define as (&data_start) for PowerPC Linux.

* gcconfig.h (DATASTART): Define as (&data_start) for PowerPC
        Linux.
        (DYNAMIC_LOADING): Define for PowerPC Linux.
        * os_dep.c: Remove some special cases for PowerPC Linux.
        * misc.c (GC_init_inner): Don't call GC_init_linux_data_start
        for PowerPC Linux.

From-SVN: r30873
This commit is contained in:
Anthony Green 1999-12-12 18:06:08 +00:00 committed by Anthony Green
parent 3e7d8ef1a6
commit d0017c11ff
4 changed files with 14 additions and 10 deletions

View File

@ -1,3 +1,12 @@
1999-12-15 Anthony Green <green@cygnus.com>
* gcconfig.h (DATASTART): Define as (&data_start) for PowerPC
Linux.
(DYNAMIC_LOADING): Define for PowerPC Linux.
* os_dep.c: Remove some special cases for PowerPC Linux.
* misc.c (GC_init_inner): Don't call GC_init_linux_data_start
for PowerPC Linux.
1999-11-04 Tom Tromey <tromey@cygnus.com>
* Makefile.in: Rebuilt.

View File

@ -532,14 +532,10 @@
# undef STACK_GRAN
# define STACK_GRAN 0x10000000
/* Stack usually starts at 0x80000000 */
# define DATASTART GC_data_start
/* Others have reported better success with */
/* extern int __data_start; */
/*# define DATASTART (&__data_start) */
/* and disabling the GC_data_start */
/* initialization code. */
# define DATASTART (&data_start)
extern int _end;
# define DATAEND (&_end)
# define DYNAMIC_LOADING
# endif
# ifdef MACOSX
# define ALIGNMENT 4

View File

@ -444,7 +444,7 @@ void GC_init_inner()
GC_init_win32();
# endif
# if defined(LINUX) && \
(defined(POWERPC) || defined(ALPHA) || defined(SPARC) || defined(IA64))
(defined(ALPHA) || defined(SPARC) || defined(IA64))
GC_init_linux_data_start();
# endif
# ifdef SOLARIS_THREADS

View File

@ -75,7 +75,7 @@
# endif
# if defined(LINUX) && \
(defined(POWERPC) || defined(SPARC) || defined(ALPHA) || defined(IA64))
(defined(SPARC) || defined(ALPHA) || defined(IA64))
# define NEED_FIND_LIMIT
# endif
@ -142,8 +142,7 @@
# define OPT_PROT_EXEC 0
#endif
#if defined(LINUX) && (defined(POWERPC) || defined(SPARC) || defined(ALPHA) \
|| defined(IA64))
#if defined(LINUX) && (defined(SPARC) || defined(ALPHA) || defined(IA64))
/* The I386 case can be handled without a search. The Alpha case */
/* used to be handled differently as well, but the rules changed */
/* for recent Linux versions. This seems to be the easiest way to */