diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-01-11 19:25:07 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-01-11 19:25:07 +0000 |
commit | 3bbddbe4a37ebd5e015fea42065db59966444224 (patch) | |
tree | 7d9e9a7f89c1bac0b241980aed9cd7de61d26764 /stdlib/exit.c | |
parent | beb5387cf656c281f9cc81d6a04f1085fe534c9a (diff) | |
download | glibc-3bbddbe4a37ebd5e015fea42065db59966444224.tar glibc-3bbddbe4a37ebd5e015fea42065db59966444224.tar.gz glibc-3bbddbe4a37ebd5e015fea42065db59966444224.tar.bz2 glibc-3bbddbe4a37ebd5e015fea42065db59966444224.zip |
Update.
2001-01-11 Ulrich Drepper <drepper@redhat.com>
* stdlib/Makefile (routines): Add cxa_on_exit.
* stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
* stdlib/cxa_on_exit.c: New file.
* include/stdlib.h: Add prototype for __cxa_on_exit.
* stdlib/exit.c: Handle ef_cxa2.
* stdlib/exit.h (enum): Add ef_cxa2.
(struct exit_function): Add cxa2.
* Versions.def [ld]: Add GLIBC_2.2.1.
Diffstat (limited to 'stdlib/exit.c')
-rw-r--r-- | stdlib/exit.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/stdlib/exit.c b/stdlib/exit.c index 904c225336..5714999117 100644 --- a/stdlib/exit.c +++ b/stdlib/exit.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1996, 1997, 1999 Free Software Foundation, Inc. +/* Copyright (C) 1991,1995,1996,1997,1999,2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -59,6 +59,9 @@ exit (int status) case ef_cxa: (*f->func.cxa.fn) (f->func.cxa.arg); break; + case ef_cxa2: + (*f->func.cxa2.fn) (status, f->func.cxa2.arg); + break; } } |