diff options
author | Anthony Green <green@cygnus.com> | 1999-12-12 18:06:08 +0000 |
---|---|---|
committer | Anthony Green <green@gcc.gnu.org> | 1999-12-12 18:06:08 +0000 |
commit | d0017c11ff277f6e7aad314240da8f32c2d17069 (patch) | |
tree | 09d6353b0f67a8764ec5ac0e7fac500cf1d5fcb1 /boehm-gc | |
parent | 3e7d8ef1a6cd485144c86284728ecf0ffb1da727 (diff) | |
download | gcc-d0017c11ff277f6e7aad314240da8f32c2d17069.zip gcc-d0017c11ff277f6e7aad314240da8f32c2d17069.tar.gz gcc-d0017c11ff277f6e7aad314240da8f32c2d17069.tar.bz2 |
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
Diffstat (limited to 'boehm-gc')
-rw-r--r-- | boehm-gc/ChangeLog | 9 | ||||
-rw-r--r-- | boehm-gc/gcconfig.h | 8 | ||||
-rw-r--r-- | boehm-gc/misc.c | 2 | ||||
-rw-r--r-- | boehm-gc/os_dep.c | 5 |
4 files changed, 14 insertions, 10 deletions
diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog index c5a0bf2..9f96bdd 100644 --- a/boehm-gc/ChangeLog +++ b/boehm-gc/ChangeLog @@ -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. diff --git a/boehm-gc/gcconfig.h b/boehm-gc/gcconfig.h index 899b8d3..2215691 100644 --- a/boehm-gc/gcconfig.h +++ b/boehm-gc/gcconfig.h @@ -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 diff --git a/boehm-gc/misc.c b/boehm-gc/misc.c index 32288a9..9f20910 100644 --- a/boehm-gc/misc.c +++ b/boehm-gc/misc.c @@ -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 diff --git a/boehm-gc/os_dep.c b/boehm-gc/os_dep.c index 4f697b4..362bd93 100644 --- a/boehm-gc/os_dep.c +++ b/boehm-gc/os_dep.c @@ -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 */ |