diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-10-23 08:39:19 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-10-23 08:39:19 +0000 |
commit | f1314c88b205d80b0d4c07677516440d13d6342b (patch) | |
tree | 52f7f0c1769f9f36428f20f30924ee1b0008fb22 /boehm-gc | |
parent | 3b474d9be906d568dc0495124e4ee535012ef816 (diff) | |
download | gcc-f1314c88b205d80b0d4c07677516440d13d6342b.tar.gz |
Fix gnu11 fallout on SPARC
* include/gc.h [(sparc || __sparc) && sun] (GC_INIT): Remove
comment and definition.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216577 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc')
-rw-r--r-- | boehm-gc/ChangeLog | 5 | ||||
-rw-r--r-- | boehm-gc/include/gc.h | 9 |
2 files changed, 6 insertions, 8 deletions
diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog index 94692f09a74..1c8cbda90e1 100644 --- a/boehm-gc/ChangeLog +++ b/boehm-gc/ChangeLog @@ -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> * testsuite/boehm-gc.c/gctest.c: Fix defaulting to int. diff --git a/boehm-gc/include/gc.h b/boehm-gc/include/gc.h index c51e017d674..6b38f2d0e6c 100644 --- a/boehm-gc/include/gc.h +++ b/boehm-gc/include/gc.h @@ -1011,14 +1011,7 @@ GC_API void GC_register_has_static_roots_callback * make that too hard. */ #if (defined(sparc) || defined(__sparc)) && defined(sun) - /* - * 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); } +# define GC_INIT() #else # if defined(__CYGWIN32__) || defined (_AIX) /* |