summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-31 22:59:12 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-31 22:59:12 +0000
commit7bde4a3e311f868bc9da067d50b1ea3b1a14cca5 (patch)
treea15225fe77d1dfc8f94313f7e1033c40298bedb5 /libc/misc
parent0fca08a0d4e0b16865fa935b25381ba567bffd3a (diff)
add comment to know why it's weak
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/internals/__uClibc_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c
index 05b601cfb..39dceac89 100644
--- a/libc/misc/internals/__uClibc_main.c
+++ b/libc/misc/internals/__uClibc_main.c
@@ -98,6 +98,7 @@ strong_alias (__progname_full, program_invocation_name)
libc_hidden_proto(__environ)
char **__environ = 0;
libc_hidden_def(__environ)
+/* psm: arm segfaults with strong_alias, although defined */
weak_alias(__environ,environ)
/* TODO: don't export __pagesize; we cant now because libpthread uses it */