OSDN Git Service
Denis Vlasenko [Wed, 11 Feb 2009 17:32:39 +0000 (17:32 -0000)]
add comment why do we need _ISbit() macro
Carmelo Amoroso [Tue, 10 Feb 2009 16:56:43 +0000 (16:56 -0000)]
Re-add _ISbit macro required to build libstdc++ from gcc toolchain.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Mike Frysinger [Tue, 10 Feb 2009 04:10:34 +0000 (04:10 -0000)]
include more info in error messages so we have a better idea where things are failing
Mike Frysinger [Tue, 10 Feb 2009 00:09:04 +0000 (00:09 -0000)]
add mmap()/munmap() implementation for Windows
Mike Frysinger [Tue, 10 Feb 2009 00:02:19 +0000 (00:02 -0000)]
do not rely on features.h so that elf.h can be used on non-elf systems (Darwin, Windows, etc...)
Mike Frysinger [Mon, 9 Feb 2009 23:42:23 +0000 (23:42 -0000)]
allow people to run the hostutils targets without having a .config file
Denis Vlasenko [Mon, 9 Feb 2009 22:55:08 +0000 (22:55 -0000)]
ldouble_wrappers.c: add long and long long optimized wrappers
float_wrappers.c: add xxxWRAPPER1(func) macros. no code changes,
but makes this file much shorter.
text data bss dec hex filename
- 42504 188 4 42696 a6c8 lib/libm-0.9.30-svn.so
+ 42488 188 4 42680 a6b8 lib/libm-0.9.30-svn.so
Mike Frysinger [Mon, 9 Feb 2009 22:51:27 +0000 (22:51 -0000)]
unify byte order cruft in bswap.h and porting.h and add a bswap_64() replacement
Mike Frysinger [Mon, 9 Feb 2009 21:48:48 +0000 (21:48 -0000)]
unify the headers/random defines into porting.h to avoid duplication/rot
Mike Frysinger [Mon, 9 Feb 2009 21:25:15 +0000 (21:25 -0000)]
dont force -Wl,-s when building host utils -- people can strip themselves
Denis Vlasenko [Mon, 9 Feb 2009 13:26:01 +0000 (13:26 -0000)]
reinstate bits/uClibc_arch_features.h in installed headers,
my cross-compile toolchain based on gcc 4.3.1 broke without it.
Denis Vlasenko [Mon, 9 Feb 2009 13:10:12 +0000 (13:10 -0000)]
Hand-optimize wrappers on i386:
-83 ec 10 sub $0x10,%esp
-db 6c 24 14 fldt 0x14(%esp)
-dd 5c 24 08 fstpl 0x8(%esp)
-dd 44 24 08 fldl 0x8(%esp)
-dd 1c 24 fstpl (%esp)
-e8 fc ff ff ff call __GI_trunc
-83 c4 10 add $0x10,%esp
+db 6c 24 04 fldt 0x4(%esp)
+dd 5c 24 04 fstpl 0x4(%esp)
+e9 fc ff ff ff jmp __GI_trunc
c3 ret
text data bss dec hex filename
- 42749 176 4 42929 a7b1 lib/libm-0.9.30-svn.so
+ 42085 176 4 42265 a519 lib/libm-0.9.30-svn.so
Denis Vlasenko [Mon, 9 Feb 2009 13:07:37 +0000 (13:07 -0000)]
ldouble_wrappers.c: fix __signbitl, it was calling itself by mistake.
remove wrong casts to long double of long return values.
remove lots of empty lines.
Denis Vlasenko [Sun, 8 Feb 2009 22:45:13 +0000 (22:45 -0000)]
forgot to add libc/string/generic/strverscmp.c
Denis Vlasenko [Sun, 8 Feb 2009 22:40:17 +0000 (22:40 -0000)]
Add strverscmp() and versionsort[64]().
By Hai Zaar (haizaar AT codefidence.com)
Denis Vlasenko [Sun, 8 Feb 2009 02:04:10 +0000 (02:04 -0000)]
nextafterf: trying to correct FP exception handling
Denis Vlasenko [Fri, 6 Feb 2009 01:57:15 +0000 (01:57 -0000)]
libm/s_nextafterf.c: forgot to "svn add" it
Denis Vlasenko [Fri, 6 Feb 2009 01:56:25 +0000 (01:56 -0000)]
fix nextafterf. by Jie Zhang (jie.zhang AT analog.com)
Denis Vlasenko [Thu, 5 Feb 2009 22:40:03 +0000 (22:40 -0000)]
libm: add scalbf, gammaf, significandf wrappers.
This makes in possible to enable test/math
(not it compiles, but has lots of test failures).
Khem Raj [Thu, 5 Feb 2009 07:50:54 +0000 (07:50 -0000)]
Make TLS configure time variable. Enable it along with NPTL.
Bernhard Reutner-Fischer [Tue, 3 Feb 2009 17:38:53 +0000 (17:38 -0000)]
- fix install_headers on hosts where ld does not support gnu hash-style but
uClibc is configured to use it.
Denis Vlasenko [Mon, 2 Feb 2009 14:51:48 +0000 (14:51 -0000)]
libm/ldouble_wrappers.c: add libm_hidden_def's to fix testsuite build
test/Rules.mak: don't pass target options to host build
test/math/basic-test.c: fix test build error
patching file test/unistd/errno.c: fix test build warning
Denis Vlasenko [Wed, 28 Jan 2009 23:42:01 +0000 (23:42 -0000)]
fix ppoll. we forgot to pass 5th parameter to the syscall
Denis Vlasenko [Wed, 28 Jan 2009 23:12:43 +0000 (23:12 -0000)]
Partially revent "make utils" fix. This version is less intrusive,
but still works! :)
Carmelo Amoroso [Wed, 28 Jan 2009 15:23:51 +0000 (15:23 -0000)]
Added sysdep.h and sysdep-cancel.h for linuxthreads ARM
Signed-off-by: Will Wagner <will_wagner@carallon.com>
Carmelo Amoroso [Wed, 28 Jan 2009 13:36:43 +0000 (13:36 -0000)]
Remove check for the relocation type check in the resolver,
from all archs.
Signed-off-by: Jiri Olsa <olsajiri@gmail.com>
Carmelo Amoroso [Wed, 28 Jan 2009 13:13:40 +0000 (13:13 -0000)]
Follow naming convention for tst-regex2 input file. All others
are .dat suffix.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Denis Vlasenko [Wed, 28 Jan 2009 01:04:49 +0000 (01:04 -0000)]
"make utils" now successfully makes utils for target
Bernhard Reutner-Fischer [Thu, 22 Jan 2009 09:47:09 +0000 (09:47 -0000)]
- also link librt with --as-needed and do so unconditionally to work around
bugs in gentoo's QA.
Just add UCLIBC_HAS_SSP to the "and" of link.asneeded to properly take SSP
into account, if you prefer.
Bernhard Reutner-Fischer [Thu, 22 Jan 2009 08:49:56 +0000 (08:49 -0000)]
- make sure __user is defined when including kernel's sigcontext.h
Bernhard Reutner-Fischer [Wed, 21 Jan 2009 23:18:41 +0000 (23:18 -0000)]
- commentary typo fix
Bernhard Reutner-Fischer [Wed, 21 Jan 2009 22:21:40 +0000 (22:21 -0000)]
- remove unavailable functionality upon request (Peter Mazinger)
Denis Vlasenko [Wed, 21 Jan 2009 02:52:59 +0000 (02:52 -0000)]
*: remove __UCLIBC_CURLOCALE_DATA, __UCLIBC_CURLOCALE_DATA.x
is always equivalent to __UCLIBC_CURLOCALE->x.
remove typedef __uclibc_locale_t, it used only in a few places,
it is lees confusing to use struct __uclibc_locale_struct
everywhere.
xlocale.h: hide __global_locale back under _LIBC,
bug 53 is wrong in claiming it should be exported.
Also hide under _LIBC:
extern __locale_t __curlocale_var;
extern __locale_t __curlocale(void);
extern __locale_t __curlocale_set(__locale_t newloc);
# define __UCLIBC_CURLOCALE
# define __XL_NPP(N)
# define __LOCALE_PARAM
# define __LOCALE_ARG
# define __LOCALE_PTR
Denis Vlasenko [Tue, 20 Jan 2009 00:49:13 +0000 (00:49 -0000)]
ldouble_wrappers.c: remove erroneous libm_hidden_def's
Denis Vlasenko [Mon, 19 Jan 2009 03:19:43 +0000 (03:19 -0000)]
extra/scripts/relative_path.sh: fix it
Denis Vlasenko [Sun, 18 Jan 2009 22:59:41 +0000 (22:59 -0000)]
__global_locale must be visible to users, move it outside of #ifdef _LIBC
Bernhard Reutner-Fischer [Wed, 14 Jan 2009 16:01:02 +0000 (16:01 -0000)]
- hide __dl_ldso__ (Peter S. Mazinger)
Bernhard Reutner-Fischer [Wed, 14 Jan 2009 15:59:36 +0000 (15:59 -0000)]
- make sure to pass the correct PIE flags to gcc (Peter S. Mazinger)
Bernhard Reutner-Fischer [Wed, 14 Jan 2009 15:51:57 +0000 (15:51 -0000)]
- make sure not to have relocs in Scrt1.o (Peter S. Mazinger)
Carmelo Amoroso [Wed, 14 Jan 2009 15:20:25 +0000 (15:20 -0000)]
ldso: performs bootstrap relocations only if required by the arch.
It is controlled by ARCH_NEEDS_BOOTSTRAP_RELOCS macro.
Signed-off-by: Jirka <olsajiri@gmail.com>
Acked-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Carmelo Amoroso [Wed, 14 Jan 2009 14:28:48 +0000 (14:28 -0000)]
libm_sh: fix libm build for sh
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Carmelo Amoroso [Wed, 14 Jan 2009 12:49:24 +0000 (12:49 -0000)]
libm_sh: Re-added sh specific files erroneously removed recently,
and moved under a better folder.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Carmelo Amoroso [Mon, 12 Jan 2009 17:01:58 +0000 (17:01 -0000)]
ldso: do not comment out unused variables, just delete it.
SIgned-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Bernhard Reutner-Fischer [Mon, 12 Jan 2009 15:07:42 +0000 (15:07 -0000)]
- fixup incomplete r24515 (fix redefinitions of posix_types for i386->x86_64 with linux >= 2.6.28)
Bernhard Reutner-Fischer [Mon, 12 Jan 2009 08:32:46 +0000 (08:32 -0000)]
- fix typo in r24594
Denis Vlasenko [Sun, 11 Jan 2009 22:11:29 +0000 (22:11 -0000)]
utils/Makefile.in: de-obfuscate it a bit
Rules.mak: use -Os, not -O2
Denis Vlasenko [Sun, 11 Jan 2009 18:56:38 +0000 (18:56 -0000)]
replace yet another _dl_malloc + _dl_memset with _dl_zalloc
Denis Vlasenko [Sat, 10 Jan 2009 21:02:48 +0000 (21:02 -0000)]
simple optimizations and style fixes in dynamic loading
text data bss dec hex filename
- 16709 240 92 17041 4291 lib/ld-uClibc.so
+ 16634 236 92 16962 4242 lib/ld-uClibc.so
- 4602 344 4 4950 1356 lib/libdl-0.9.30-svn.so
+ 4571 328 4 4903 1327 lib/libdl-0.9.30-svn.so
- 4602 344 4 4950 1356 lib/libdl.so
+ 4571 328 4 4903 1327 lib/libdl.so
Denis Vlasenko [Sat, 10 Jan 2009 18:49:32 +0000 (18:49 -0000)]
libc/signal/sigaction.c: s/!=/==/
Carmelo Amoroso [Thu, 8 Jan 2009 11:11:26 +0000 (11:11 -0000)]
Silent compiler warning regarding undefined macro
Denis Vlasenko [Sun, 4 Jan 2009 21:19:43 +0000 (21:19 -0000)]
ldso/ldso/dl-startup.c: make _dl_elf_main static; remove one dead variable.
ldso/ldso/avr32/dl-startup.h: remove superfluous definition of START() macro.
ldso/ldso/*/dl-startup.h: fix a typo in comment
text data bss dec hex filename
- 16752 244 92 17088 42c0 lib/ld-uClibc.so
+ 16709 240 92 17041 4291 lib/ld-uClibc.so
Denis Vlasenko [Sun, 4 Jan 2009 21:12:23 +0000 (21:12 -0000)]
forgot to remove one #endif...
Denis Vlasenko [Sat, 3 Jan 2009 15:05:20 +0000 (15:05 -0000)]
Get rid of the following annoying warnings on ppc:
warning: nested extern declaration of '__illegally_sized_syscall_argN'
From Stefan Assmann (sassmann AT suse.de)
Denis Vlasenko [Sat, 3 Jan 2009 14:42:54 +0000 (14:42 -0000)]
libm/e_scalb.c: remove unused #ifdef _SCALB_INT branches
libm/s_ldexp.c: add TODO
Denis Vlasenko [Sat, 3 Jan 2009 13:58:09 +0000 (13:58 -0000)]
fix small goof in last commit: should use "long" function (scalbln)
as a main one, not "int" one (scalbn).
Denis Vlasenko [Sat, 3 Jan 2009 13:51:12 +0000 (13:51 -0000)]
libm: remove scalbln implementation, it seems to be less correct than scalbn.
instead, either alias scalbln to scalbn if int == long on this arch, or
just call scalbn form scalbln.
text data bss dec hex filename
- 45297 180 4 45481 b1a9 lib/libm.so
+ 44969 180 4 45153 b061 lib/libm.so
Khem Raj [Wed, 31 Dec 2008 00:31:38 +0000 (00:31 -0000)]
Merge some pre-work from branch, needed by NPTL.
Denis Vlasenko [Mon, 29 Dec 2008 16:03:34 +0000 (16:03 -0000)]
libm/e_lgamma_r.c: cosmetic whitespace fixes
Denis Vlasenko [Mon, 29 Dec 2008 16:00:21 +0000 (16:00 -0000)]
libm/*: delete many incarnations of logarithmic gamma function,
aliasing them instead af appropriate. Also alias drem to remainder.
text data bss dec hex filename
- 43568 176 4 43748 aae4 lib/libm.so
+ 43444 176 4 43624 aa68 lib/libm.so
Denis Vlasenko [Mon, 29 Dec 2008 15:56:22 +0000 (15:56 -0000)]
libc/stdlib/_strtod.c: add parens around a | b
Bernhard Reutner-Fischer [Mon, 29 Dec 2008 15:06:30 +0000 (15:06 -0000)]
- whitespace cleanup; no obj-code changes
Denis Vlasenko [Mon, 29 Dec 2008 14:53:27 +0000 (14:53 -0000)]
libm/s_nearbyint.c: delete (forgot to do it in prev commit)
libm/*.c: minor style tweaks, no code changes
Bernhard Reutner-Fischer [Mon, 29 Dec 2008 14:09:28 +0000 (14:09 -0000)]
- ethers only make sense if we want to play with ethernet addresses
as in /etc/ethers (man 5 ethers)
Assume that any of socket- or IP support indicate that need.
Bernhard Reutner-Fischer [Mon, 29 Dec 2008 13:55:44 +0000 (13:55 -0000)]
- expand SUSv3_LEGACY
- SUSv4_LEGACY part #1 (non-networking)
Bernhard Reutner-Fischer [Mon, 29 Dec 2008 13:44:44 +0000 (13:44 -0000)]
- pthread_attr_{g,s}etstacksize would depend on SUSv3 legacy but are not
implemented anyway.
Denis Vlasenko [Sun, 28 Dec 2008 22:15:07 +0000 (22:15 -0000)]
remove many functions which just call __ieee754_<function>,
define them as aliases instead.
text data bss dec hex filename
- 45402 180 4 45586 b212 lib/libm-0.9.30-svn.so
+ 45302 180 4 45486 b1ae lib/libm-0.9.30-svn.so
Denis Vlasenko [Sun, 28 Dec 2008 12:06:04 +0000 (12:06 -0000)]
fix another corner case in unifdef
Denis Vlasenko [Sun, 28 Dec 2008 11:48:01 +0000 (11:48 -0000)]
patch up unifdef to recognize and remove "#if defined _LIBC && something"
blocks too (and similar)
Denis Vlasenko [Sat, 27 Dec 2008 11:01:17 +0000 (11:01 -0000)]
Help unifdef to remove private parts of headers
Denis Vlasenko [Sat, 27 Dec 2008 10:19:19 +0000 (10:19 -0000)]
ctype: remove some trivial macros from ctype.h;
remove __tolower and __toupper (they existed only in SOME configs!);
remove usages of _tolower (some of them clearly buggy) from uclibc code;
add a few more -U<define> options to unifdef pass over installed headers;
document it on docs/wchar_and_locale.txt
text data bss dec hex filename
- 514963 2727 15396 533086 8225e lib/libuClibc-0.9.30-svn.so
+ 514888 2727 15396 533011 82213 lib/libuClibc-0.9.30-svn.so
Denis Vlasenko [Fri, 26 Dec 2008 19:08:45 +0000 (19:08 -0000)]
convert yet another old-style function definition
Denis Vlasenko [Fri, 26 Dec 2008 17:18:43 +0000 (17:18 -0000)]
new regex: stop confusing ourself with _LIBC being undefined;
nuke one struct initializer which was invisibly becoming a memset -
this improves speed by x2:
test 0 pattern 0 '.?.?.?.?.?.?.?Log\.13'
- 0.249795s
+ 0.133522s
test 0 pattern 1 '(.?)(.?)(.?)(.?)(.?)(.?)(.?)Log\.13'
- 0.360115s
+ 0.191959s
text data bss dec hex filename
- 515009 2731 15396 533136 82290 lib/libuClibc-0.9.30-svn.so
+ 514961 2727 15396 533084 8225c lib/libuClibc-0.9.30-svn.so
Denis Vlasenko [Fri, 26 Dec 2008 16:09:46 +0000 (16:09 -0000)]
regex: remove useless casts on allocations;
remove old-style-C function params declarations;
change re_comp_buf from struct to pointer (more static build friendly)
text data bss dec hex filename
- 514952 2731 15424 533107 82273 lib/libuClibc-0.9.30-svn.so
+ 515011 2731 15396 533138 82292 lib/libuClibc-0.9.30-svn.so
Denis Vlasenko [Fri, 26 Dec 2008 04:25:09 +0000 (04:25 -0000)]
regex: drop __<funcname> aliases. remove much of unused code.
shrink offset tables. disable "likely/unlikely" BE() macro.
text data bss dec hex filename
- 515032 2731 15424 533187 822c3 lib/libuClibc-0.9.30-svn.so
+ 515014 2731 15424 533169 822b1 lib/libuClibc-0.9.30-svn.so
Denis Vlasenko [Fri, 26 Dec 2008 02:50:13 +0000 (02:50 -0000)]
include/libc-string_i386.h: fix a bug where memset('\xff') misbehaves
Rules.mak: add -funsigned-char, to forestall future PITA
Denis Vlasenko [Thu, 25 Dec 2008 19:26:09 +0000 (19:26 -0000)]
document internal_function
Denis Vlasenko [Thu, 25 Dec 2008 18:03:40 +0000 (18:03 -0000)]
test/regex/tst-regexloc.c: include ok/bad indicator in the message
test/regex/tst-regex2.c: do not exit at the first error
Denis Vlasenko [Thu, 25 Dec 2008 03:33:41 +0000 (03:33 -0000)]
test/regex/tst-regex2.c: fix the rest of testsuite failures
Denis Vlasenko [Thu, 25 Dec 2008 01:17:58 +0000 (01:17 -0000)]
test/regex/tst-regex2.c: fix test failure. Next one is immediately after...
test 2 pattern 0 '.?.?.?.?.?.?.?Log\.13'
-incorrect num_regs 30, expected 2
+ 1.283480s
+test 2 pattern 1 '(.?)(.?)(.?)(.?)(.?)(.?)(.?)Log\.13'
+ 3.429810s
+test 2 pattern 2 '((((((((((.?))))))))))((((((((((.?))))))))))....'
+incorrect num_regs 30, expected 72
Denis Vlasenko [Wed, 24 Dec 2008 22:46:06 +0000 (22:46 -0000)]
test/regex: make it faster to rebuild and run regex testcase
Denis Vlasenko [Wed, 24 Dec 2008 22:01:03 +0000 (22:01 -0000)]
rename test file
Denis Vlasenko [Wed, 24 Dec 2008 21:58:57 +0000 (21:58 -0000)]
test/Makefile: make "make compile" install headers first
test/regex/Makefile: remove superfluous oprions
test/regex/tst-regex2.c: reformat, simplify, and make error messages
more informative
test/test-skeleton.c: kill child test process on ^C
Denis Vlasenko [Tue, 23 Dec 2008 11:00:30 +0000 (11:00 -0000)]
libc/sysdeps/linux/hppa/bits/signum.h: _NSIG == 65 is the common value,
no need to define it here
Khem Raj [Tue, 23 Dec 2008 09:04:50 +0000 (09:04 -0000)]
These defines needs to be considered after recent linux kernel combined i386 and x86_64 into x86
Bernhard Reutner-Fischer [Mon, 22 Dec 2008 20:18:56 +0000 (20:18 -0000)]
- mark capset() as linux specific
Bernhard Reutner-Fischer [Mon, 22 Dec 2008 19:16:14 +0000 (19:16 -0000)]
- capget() is linux specific; Sync helptext with current exclude list.
Bernhard Reutner-Fischer [Mon, 22 Dec 2008 19:01:38 +0000 (19:01 -0000)]
- remove leftover from r13277
Bernhard Reutner-Fischer [Mon, 22 Dec 2008 18:17:37 +0000 (18:17 -0000)]
- fix for !GETOPT_LONG
Denis Vlasenko [Mon, 22 Dec 2008 15:58:54 +0000 (15:58 -0000)]
libm/*: mass removal of:
1. static char rcsid[] = "$NetBSD: ..."
2. /* @(#)s_scalbn.c 5.1 93/09/24 */
3. #ifdef __STDC__
No code changes (verified with objdump)
Denis Vlasenko [Mon, 22 Dec 2008 14:51:20 +0000 (14:51 -0000)]
extra/locale/gen_wctype.c: remove __CTYPE_isalnum and friends;
stop using macros with hidden parameter - that's evil;
reformat broken indenting (it was not matching the number of {}s);
fix format warnings (int vs size_t vs long)
No code changes (verified with objdump)
Denis Vlasenko [Mon, 22 Dec 2008 13:51:28 +0000 (13:51 -0000)]
UCLIBC_CTYPE_HEADER define is removed, as it always
equal to "include/bits/uClibc_ctype.h"
__CTYPE_unclassified and other similar __CTYPE_xxxx
constants are moved to separate include file,
bits/uClibc_charclass.h
Duplicate declaration of these constants is
removed from libc/misc/wctype/_wctype.c
Ugly re-inclusion trick in extra/locale/gen_wctype.c deleted
Large ifdefed-out chunk in extra/locale/gen_wctype.c removed
Move __CTYPE_isalnum() etc macros from uClibc_ctype.h
to their single user, extra/locale/gen_wctype.c
(can be simplified further)
Overall, no code changes (verified with objdump)
Bernhard Reutner-Fischer [Mon, 22 Dec 2008 11:53:33 +0000 (11:53 -0000)]
- remove whitespace
Bernhard Reutner-Fischer [Mon, 22 Dec 2008 11:31:12 +0000 (11:31 -0000)]
- fix fpclassify, signbit, isfinite, isnan, isinf macros for long double math support
- add rule to create preprocessor output for float- and long double math wrapper
Denis Vlasenko [Mon, 22 Dec 2008 11:27:14 +0000 (11:27 -0000)]
add new file to docs/
Denis Vlasenko [Mon, 22 Dec 2008 10:15:27 +0000 (10:15 -0000)]
remove stray comment (the identical one is just a few lines down)
Bernhard Reutner-Fischer [Mon, 22 Dec 2008 09:58:25 +0000 (09:58 -0000)]
- non-pic support for MIPS (Catherine Moore, clm at codesourcery com)
Denis Vlasenko [Mon, 22 Dec 2008 04:20:11 +0000 (04:20 -0000)]
Remove unused macros
Denis Vlasenko [Mon, 22 Dec 2008 01:01:40 +0000 (01:01 -0000)]
docs/defines.txt: document _extern_inline
libc/inet/ether_addr.c: optimize tolower, we ever use it on 0-9a-f
libc/inet/ntop.c: optimize tolower, we ever use it on 0-9a-f
with locale support on, code size change is:
text data bss dec hex filename
- 396 0 24 420 1a4 libc/inet/ether_addr.os
+ 306 0 24 330 14a libc/inet/ether_addr.os
- 1453 0 0 1453 5ad libc/inet/ntop.os
+ 1430 0 0 1430 596 libc/inet/ntop.os
Denis Vlasenko [Sun, 21 Dec 2008 14:50:55 +0000 (14:50 -0000)]
more of warning fixes, mostly pointer signedness mismatches
Denis Vlasenko [Sun, 21 Dec 2008 14:12:08 +0000 (14:12 -0000)]
more of pointer signedness warnings removed