From ac582c1ec7bc393c8f14f6d471789a1a82850890 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 17 Apr 2002 11:31:08 +0000 Subject: Patch from Martin Proulx to remove weak_aliases for non ELF compilers in __uClibc_main for the _stdio_init and _stdio_term functions. Since weak_aliases are defined as hard aliases for non ELF compilers, these 2 symbols ended up to be multiply defined, as those two are defined in stdio.c. --- libc/misc/internals/__uClibc_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c index da68e788f..23e024e15 100644 --- a/libc/misc/internals/__uClibc_main.c +++ b/libc/misc/internals/__uClibc_main.c @@ -54,8 +54,8 @@ extern void _fini(void); extern void _stdio_init(void); weak_alias(__uClibc_empty_func, _init); weak_alias(__uClibc_empty_func, _fini); -weak_alias(__uClibc_empty_func, _stdio_init); -weak_alias(__uClibc_empty_func, _stdio_term); +//weak_alias(__uClibc_empty_func, _stdio_init); +//weak_alias(__uClibc_empty_func, _stdio_term); //weak_alias(__uClibc_empty_func, atexit); extern int atexit(void (*function)(void)); //weak_alias(__uClibc_empty_func, __errno_location); -- cgit v1.2.3