aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Pinski <andrew_pinski@playstation.sony.com>2006-11-30 03:37:34 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2006-11-29 19:37:34 -0800
commit8fdb55720f08f1aa231b06d37106e3c9e0793514 (patch)
treec667762410c783053fef8b4a35c7907b263025fd
parent2954a81343333d5e6e3b78616f2b5b10cf2d1251 (diff)
downloadgcc-8fdb55720f08f1aa231b06d37106e3c9e0793514.zip
gcc-8fdb55720f08f1aa231b06d37106e3c9e0793514.tar.gz
gcc-8fdb55720f08f1aa231b06d37106e3c9e0793514.tar.bz2
crt0.c (__dso_handle): Define.
2006-11-29 Andrew Pinski <andrew_pinski@playstation.sony.com> * config/spu/crt0.c (__dso_handle): Define. From-SVN: r119354
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/spu/crt0.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ac54735..9db977e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2006-11-29 Andrew Pinski <andrew_pinski@playstation.sony.com>
+
+ * config/spu/crt0.c (__dso_handle): Define.
+
2006-11-30 Kaz Kojima <kkojima@gcc.gnu.org>
* emit-rtl.c (verify_rtl_sharing): Handle SEQUENCE specially
diff --git a/gcc/config/spu/crt0.c b/gcc/config/spu/crt0.c
index 8c03abe..eee1592 100644
--- a/gcc/config/spu/crt0.c
+++ b/gcc/config/spu/crt0.c
@@ -46,6 +46,7 @@ static func_ptr __DTOR_LIST__[1]
__attribute__((__section__(".dtors"), __aligned__(4)))
= { (func_ptr) (-1) };
+void *__dso_handle = 0;
/* According to the BE Linux ABI an SPU module is called with these
* parameters. Also, $2 is set to the Available Stack Size. */