summaryrefslogtreecommitdiff
path: root/libc/misc/internals
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-05-04 14:44:13 +0000
committerMike Frysinger <vapier@gentoo.org>2006-05-04 14:44:13 +0000
commitc9234bbc4d1ba5a0ad97d5d38b57af1077c38305 (patch)
treeb066c42680cb72885ba3d469fecc2606030eea1b /libc/misc/internals
parentf98cea07143a255bcbfea909fe5b87fcdaa987bc (diff)
use weak_alias() for data symbols, not strong_alias()
Diffstat (limited to 'libc/misc/internals')
-rw-r--r--libc/misc/internals/__uClibc_main.c2
-rw-r--r--libc/misc/internals/errno.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c
index 869c9e178..41848775f 100644
--- a/libc/misc/internals/__uClibc_main.c
+++ b/libc/misc/internals/__uClibc_main.c
@@ -118,7 +118,7 @@ strong_alias (__progname_full, program_invocation_name)
* environ symbol is also included.
*/
char **__environ = 0;
-strong_alias(__environ,environ)
+weak_alias(__environ, environ)
/* TODO: don't export __pagesize; we cant now because libpthread uses it */
size_t __pagesize = 0;
diff --git a/libc/misc/internals/errno.c b/libc/misc/internals/errno.c
index ffacc8188..e06b3d228 100644
--- a/libc/misc/internals/errno.c
+++ b/libc/misc/internals/errno.c
@@ -16,7 +16,7 @@ int _errno = 0;
int _h_errno = 0;
#endif
-strong_alias(_errno,errno)
+weak_alias(_errno,errno)
libc_hidden_def(errno)
-strong_alias(_h_errno,h_errno)
+weak_alias(_h_errno,h_errno)
libc_hidden_def(h_errno)