From c41041bc2f84eb8f44ff36c3d14e55944185e665 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 27 Dec 1999 21:50:29 +0000 Subject: Update. 1999-12-17 Andreas Jaeger * stdlib/Versions: Export __cxa_atexit and __cxa_finalize. 1999-12-16 Mark Mitchell * stdlib/Makefile (routines): Add cxa_atexit and cxa_finalize. * stdlib/exit.h (flavor): Add ef_cxa. (exit_function): Add cxa variant. * stdlib/exit.c (exit): Handle ef_cxa exit functions. * stdlib/cxa_atexit.c: New file. * stdlib/cxa_finalize.c: New file. --- stdlib/exit.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'stdlib/exit.c') diff --git a/stdlib/exit.c b/stdlib/exit.c index f63dc1fdec..904c225336 100644 --- a/stdlib/exit.c +++ b/stdlib/exit.c @@ -56,6 +56,9 @@ exit (int status) case ef_at: (*f->func.at) (); break; + case ef_cxa: + (*f->func.cxa.fn) (f->func.cxa.arg); + break; } } -- cgit 1.4.1