diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-09-08 02:35:30 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-09-08 02:35:30 +0000 |
commit | 270bd86b4f1ed78013a1c7839732e21ab9774472 (patch) | |
tree | 1ba173b4c1bd30d0804a496cef078986ae04ff05 /libc/misc | |
parent | 073cd03a2c5b0eb6c0872622f840f4a9724a9b04 (diff) |
punt _DL_FINI_CRT_COMPAT option now that 0.9.28 has been released
Diffstat (limited to 'libc/misc')
-rw-r--r-- | libc/misc/internals/__uClibc_main.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c index 53bb02820..fe6a37349 100644 --- a/libc/misc/internals/__uClibc_main.c +++ b/libc/misc/internals/__uClibc_main.c @@ -161,16 +161,6 @@ void attribute_hidden (*__app_fini)(void) = NULL; void attribute_hidden (*__rtld_fini)(void) = NULL; -#ifdef _DL_FINI_CRT_COMPAT -void attribute_hidden (*__dl_fini)(void) = NULL; - -void _set__dl_fini(void *fini_func) -{ - if (fini_func != NULL) - __dl_fini = fini_func; -} -#endif - /* __uClibc_start_main is the new main stub for uClibc. This function is * called from crt0 (version 0.9.16 or newer), after ALL shared libraries * are initialized, just before we call the application's main function. @@ -265,13 +255,3 @@ __uClibc_main(int (*main)(int, char **, char **), int argc, */ exit(main(argc, argv, __environ)); } - -#ifdef _DL_FINI_CRT_COMPAT -extern int weak_function main(int argc, char **argv, char **envp); -void __attribute__ ((__noreturn__)) -__uClibc_start_main(int argc, char **argv, char **envp, - void (*app_fini)(void), void (*app_init)(void)) -{ - __uClibc_main(main, argc, argv, app_init, app_fini, NULL, NULL); -} -#endif |