From 8fdb55720f08f1aa231b06d37106e3c9e0793514 Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Thu, 30 Nov 2006 03:37:34 +0000 Subject: [PATCH] crt0.c (__dso_handle): Define. 2006-11-29 Andrew Pinski * config/spu/crt0.c (__dso_handle): Define. From-SVN: r119354 --- gcc/ChangeLog | 4 ++++ gcc/config/spu/crt0.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ac547356375..9db977ed6bd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2006-11-29 Andrew Pinski + + * config/spu/crt0.c (__dso_handle): Define. + 2006-11-30 Kaz Kojima * emit-rtl.c (verify_rtl_sharing): Handle SEQUENCE specially diff --git a/gcc/config/spu/crt0.c b/gcc/config/spu/crt0.c index 8c03abe12b6..eee15922f1f 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. */