From 8058fb1efc594a771ae7c356c33abbf4bac28ff6 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 28 Mar 2009 05:26:39 +0000 Subject: Merged revisions 25821,25823-25824,25836 via svnmerge from svn+ssh://svn.uclibc.org/svn/trunk/uClibc ........ r25821 | aldot | 2009-03-25 12:27:56 -0700 (Wed, 25 Mar 2009) | 2 lines - do not pass -Wl with -shared in LDFLAGS_NOSTRIP (Peter S. Mazinger) ........ r25823 | aldot | 2009-03-25 13:28:19 -0700 (Wed, 25 Mar 2009) | 8 lines - Add strtouq alias (to strtoul) for 64bit The strtouq alias was only available on 32bit, breaking compilation of stuff using strtouq on 64bit machines. At the same time use the correct return type (u_quad_t). Signed-of-by: Peter Korsgaard ........ r25824 | aldot | 2009-03-26 01:51:47 -0700 (Thu, 26 Mar 2009) | 2 lines - ignore objects ........ r25836 | landley | 2009-03-26 21:03:20 -0700 (Thu, 26 Mar 2009) | 3 lines 32/64 bit sparc got unified in 2.6.29 the way x86/x86_64 did in 2.6.28. The new guard symbol is "__SPARC_POSIX_TYPES_H". ........ --- libc/stdlib/stdlib.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libc/stdlib/stdlib.c') diff --git a/libc/stdlib/stdlib.c b/libc/stdlib/stdlib.c index ef92ea4fd..05cc68bdb 100644 --- a/libc/stdlib/stdlib.c +++ b/libc/stdlib/stdlib.c @@ -401,6 +401,9 @@ extern __typeof(__XL_NPP(strtoul)) __XL_NPP(strtoull); libc_hidden_proto(__XL_NPP(strtoull)) strong_alias(__XL_NPP(strtoul),__XL_NPP(strtoull)) libc_hidden_def(__XL_NPP(strtoull)) +#if !defined(L_strtoul_l) +strong_alias(strtoul,strtouq) +#endif #endif -- cgit v1.2.3