mirror of git://gcc.gnu.org/git/gcc.git
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:
parent
3e7d8ef1a6
commit
d0017c11ff
|
@ -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>
|
1999-11-04 Tom Tromey <tromey@cygnus.com>
|
||||||
|
|
||||||
* Makefile.in: Rebuilt.
|
* Makefile.in: Rebuilt.
|
||||||
|
|
|
@ -532,14 +532,10 @@
|
||||||
# undef STACK_GRAN
|
# undef STACK_GRAN
|
||||||
# define STACK_GRAN 0x10000000
|
# define STACK_GRAN 0x10000000
|
||||||
/* Stack usually starts at 0x80000000 */
|
/* Stack usually starts at 0x80000000 */
|
||||||
# define DATASTART GC_data_start
|
# define DATASTART (&data_start)
|
||||||
/* Others have reported better success with */
|
|
||||||
/* extern int __data_start; */
|
|
||||||
/*# define DATASTART (&__data_start) */
|
|
||||||
/* and disabling the GC_data_start */
|
|
||||||
/* initialization code. */
|
|
||||||
extern int _end;
|
extern int _end;
|
||||||
# define DATAEND (&_end)
|
# define DATAEND (&_end)
|
||||||
|
# define DYNAMIC_LOADING
|
||||||
# endif
|
# endif
|
||||||
# ifdef MACOSX
|
# ifdef MACOSX
|
||||||
# define ALIGNMENT 4
|
# define ALIGNMENT 4
|
||||||
|
|
|
@ -444,7 +444,7 @@ void GC_init_inner()
|
||||||
GC_init_win32();
|
GC_init_win32();
|
||||||
# endif
|
# endif
|
||||||
# if defined(LINUX) && \
|
# if defined(LINUX) && \
|
||||||
(defined(POWERPC) || defined(ALPHA) || defined(SPARC) || defined(IA64))
|
(defined(ALPHA) || defined(SPARC) || defined(IA64))
|
||||||
GC_init_linux_data_start();
|
GC_init_linux_data_start();
|
||||||
# endif
|
# endif
|
||||||
# ifdef SOLARIS_THREADS
|
# ifdef SOLARIS_THREADS
|
||||||
|
|
|
@ -75,7 +75,7 @@
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# if defined(LINUX) && \
|
# if defined(LINUX) && \
|
||||||
(defined(POWERPC) || defined(SPARC) || defined(ALPHA) || defined(IA64))
|
(defined(SPARC) || defined(ALPHA) || defined(IA64))
|
||||||
# define NEED_FIND_LIMIT
|
# define NEED_FIND_LIMIT
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
@ -142,8 +142,7 @@
|
||||||
# define OPT_PROT_EXEC 0
|
# define OPT_PROT_EXEC 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(LINUX) && (defined(POWERPC) || defined(SPARC) || defined(ALPHA) \
|
#if defined(LINUX) && (defined(SPARC) || defined(ALPHA) || defined(IA64))
|
||||||
|| defined(IA64))
|
|
||||||
/* The I386 case can be handled without a search. The Alpha case */
|
/* The I386 case can be handled without a search. The Alpha case */
|
||||||
/* used to be handled differently as well, but the rules changed */
|
/* used to be handled differently as well, but the rules changed */
|
||||||
/* for recent Linux versions. This seems to be the easiest way to */
|
/* for recent Linux versions. This seems to be the easiest way to */
|
||||||
|
|
Loading…
Reference in New Issue