mirror of git://gcc.gnu.org/git/gcc.git
Fix gnu11 fallout on SPARC
* include/gc.h [(sparc || __sparc) && sun] (GC_INIT): Remove comment and definition. From-SVN: r216577
This commit is contained in:
parent
f038cd81d1
commit
1e98795b67
|
|
@ -1,3 +1,8 @@
|
||||||
|
2014-10-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||||
|
|
||||||
|
* include/gc.h [(sparc || __sparc) && sun] (GC_INIT): Remove
|
||||||
|
comment and definition.
|
||||||
|
|
||||||
2014-10-06 Marek Polacek <polacek@redhat.com>
|
2014-10-06 Marek Polacek <polacek@redhat.com>
|
||||||
|
|
||||||
* testsuite/boehm-gc.c/gctest.c: Fix defaulting to int.
|
* testsuite/boehm-gc.c/gctest.c: Fix defaulting to int.
|
||||||
|
|
|
||||||
|
|
@ -1011,14 +1011,7 @@ GC_API void GC_register_has_static_roots_callback
|
||||||
* make that too hard.
|
* make that too hard.
|
||||||
*/
|
*/
|
||||||
#if (defined(sparc) || defined(__sparc)) && defined(sun)
|
#if (defined(sparc) || defined(__sparc)) && defined(sun)
|
||||||
/*
|
# define GC_INIT()
|
||||||
* If you are planning on putting
|
|
||||||
* the collector in a SunOS 5 dynamic library, you need to call GC_INIT()
|
|
||||||
* from the statically loaded program section.
|
|
||||||
* This circumvents a Solaris 2.X (X<=4) linker bug.
|
|
||||||
*/
|
|
||||||
# define GC_INIT() { extern end, etext; \
|
|
||||||
GC_noop(&end, &etext); }
|
|
||||||
#else
|
#else
|
||||||
# if defined(__CYGWIN32__) || defined (_AIX)
|
# if defined(__CYGWIN32__) || defined (_AIX)
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue