From 99bea377bcf13d6e53caaa4ea8fd687904a813fe Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 27 Dec 1999 21:53:13 +0000 Subject: [PATCH] (exit): Handle ef_cxa exit functions. --- stdlib/exit.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stdlib/exit.c b/stdlib/exit.c index f44c519aa75..4d4264e7cc0 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; } } while (__exit_funcs->idx > 0); -- 2.47.2