diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2014-10-23 08:39:19 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2014-10-23 08:39:19 +0000 |
commit | 1e98795b67eed1324c0155c21db55947bfcb3629 (patch) | |
tree | 52f7f0c1769f9f36428f20f30924ee1b0008fb22 /boehm-gc/include | |
parent | f038cd81d14f7b8400b12ea905d3f469a894232b (diff) | |
download | gcc-1e98795b67eed1324c0155c21db55947bfcb3629.zip gcc-1e98795b67eed1324c0155c21db55947bfcb3629.tar.gz gcc-1e98795b67eed1324c0155c21db55947bfcb3629.tar.bz2 |
Fix gnu11 fallout on SPARC
* include/gc.h [(sparc || __sparc) && sun] (GC_INIT): Remove
comment and definition.
From-SVN: r216577
Diffstat (limited to 'boehm-gc/include')
-rw-r--r-- | boehm-gc/include/gc.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/boehm-gc/include/gc.h b/boehm-gc/include/gc.h index c51e017..6b38f2d 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) /* |