diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-04-17 11:31:08 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-04-17 11:31:08 +0000 |
commit | ac582c1ec7bc393c8f14f6d471789a1a82850890 (patch) | |
tree | 030b45b42f60bc6efb191aae7dd937a7642d3b0c /libc/misc | |
parent | 9b4cbe2e11e602d2a947d17782649cf27e937789 (diff) |
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.
Diffstat (limited to 'libc/misc')
-rw-r--r-- | libc/misc/internals/__uClibc_main.c | 4 |
1 files 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); |