Age | Commit message (Collapse) | Author |
|
Introduce UCLIBC_BUILD_MINIMAL_LOCALES and if selected
build only those locales.
Based on a patch by Bernhard Reutner-Fischer.
Signed-off-by: Marc Andre Tanner <mat@brain-dump.org>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
|
|
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
|
|
use CURDIR instead of spawning a separate shell as suggested by
Mike.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
|
|
PWD may point to somewhere else if we're run from another make
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
|
|
Handle O=
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
|
|
Rather than require everyone to have en_US.UTF-8 when we really need any
UTF8 locale, do a scan for possible UTF8 locales if the default en_US does
not exist. Hopefully this should make the utility "just work" for most
people.
Reported-by: Daniel Cordero <theappleman@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
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)
|
|
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)
|
|
|
|
|
|
from signed/unsigned char conversions
|
|
rewrite one exceptionally unreadable loop. Heed a few warnings
(wrong type for string op params)
text data bss dec hex filename
- 1164 16 0 1180 49c libc/misc/locale/newlocale.os
+ 1180 0 0 1180 49c libc/misc/locale/newlocale.os
- 494480 2751 15684 512915 7d393 lib/libuClibc-0.9.30-svn.so
+ 494472 2735 15684 512891 7d37b lib/libuClibc-0.9.30-svn.so
|
|
|
|
- update name of locale-tarball. We will retroactively fill them in, eventually
|
|
|
|
The verbosity can be set to the previous level by passing V=2 to make.
|
|
|
|
|
|
|
|
|
|
|
|
- retry with some different locale if en_US happens not to be there
|
|
- silence some warnings while at it
|
|
|
|
|
|
These are source files built on the host.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
|
|
- 79 0 28 107 6b libc/inet/rpc/create_xid.o
+ 76 0 25 101 65 libc/inet/rpc/create_xid.o
- 126 0 4 130 82 libc/misc/assert/__assert.o
+ 123 0 1 124 7c libc/misc/assert/__assert.o
- 648 4 24 676 2a4 libc/misc/internals/__uClibc_main.o
+ 645 4 21 670 29e libc/misc/internals/__uClibc_main.o
- 230 0 4 234 ea libc/stdlib/abort.o
+ 216 0 1 217 d9 libc/stdlib/abort.o
- 129 0 4 133 85 libc/termios/tcgetsid.o
+ 126 0 1 127 7f libc/termios/tcgetsid.o
|
|
* extra/locale/gen_wc8bit.c: use strrchr to parse locale
name to handle the case in which it contains a '.' character
like ANSI_X3.4-1968
* include/locale.h: use __UCLIBC_HAS_XLOCALE__ to control
inclusion of xlocale.h only
* libc/misc/ctype/ctype.c: add missing weak_alias for
__tolower_l and __toupper_l
* libc/misc/locale/locale.c: use strcasecmp (case insensitive)
for utf-8 locale name.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
|
|
|
|
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
|
|
|
|
|
|
generated header files
|
|
|
|
cause all this trouble. Now gen_wctype works without the rlimit stack hack.
|
|
we are skipping it
|
|
gen_wctype segfaults on my system when optimized with -O2. It does work
without optimization, even -O1 does not cause the segfault. Problem is in
newopt, at gen_wctype.c:865:
memcpy(tbl->ti + i * blocksize, ti[uniqblock[i]], blocksize);
The segfault is caused by the uninitialized variable uniqblock when
newopt is called recursively. The attached patch fixes this.
|
|
|
|
libc.a/libc.so, the diffs go into libc-static-y/libc-shared-y exclusively, add IMA to libc, don't use any MSRC anymore
|
|
is a useless attempt
|
|
|
|
|
|
|
|
|
|
extra/locale, as download, unpack, locale_data.o
|
|
|
|
only use the pregenerated ones
|
|
|
|
objects at once; use :=//$</$^; use CRT_SRC/CRT_OBJ/SCRT_OBJ/CSRC/COBJ/SSRC/SOBJ/MSRC/MOBJ where no more is needed, if only CSRC is present use OBJS directly instead of COBJ; CTOR_TARGETS are created directly in lib; remove unused/unneeded parts. Hope I haven't broken too much.
|