From 270bd86b4f1ed78013a1c7839732e21ab9774472 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 8 Sep 2005 02:35:30 +0000 Subject: punt _DL_FINI_CRT_COMPAT option now that 0.9.28 has been released --- libc/misc/internals/__uClibc_main.c | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'libc/misc/internals') 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 -- cgit v1.2.3