This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fix weak-5 on alpha


On Wed, May 15, 2002 at 08:23:31PM +0200, Franz Sirl wrote:
> OK, but you explain it to Uli or fix it yourself.

Ok.

> Remember:
> 
> extern int __cxa_atexit (void (*func) (void *), void *arg, void *d);
> extern void *__dso_handle;
> int
> atexit (void (*func) (void))
> {
>   return __cxa_atexit ((void (*) (void *)) func, ((void *)0) ,
>                        &__dso_handle == ((void *)0)  ? ((void *)0)  : 
> __dso_handle);
> }
> extern void *__dso_handle __attribute__((weak));

Ah, right.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]