1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-03 12:11:17 +03:00
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.
This commit is contained in:
Ulrich Drepper
2001-01-11 19:25:07 +00:00
parent beb5387cf6
commit 3bbddbe4a3
11 changed files with 131 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
/* Copyright (C) 1991, 1996, 1997, 1999 Free Software Foundation, Inc.
/* Copyright (C) 1991, 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
@@ -26,7 +26,8 @@ enum
ef_us,
ef_on,
ef_at,
ef_cxa
ef_cxa,
ef_cxa2
};
struct exit_function
@@ -48,6 +49,12 @@ struct exit_function
void *arg;
void *dso_handle;
} cxa;
struct
{
void (*fn) (int status, void *arg);
void *arg;
void *dso_handle;
} cxa2;
} func;
};
struct exit_function_list