Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove __PRINTF_INFO_NO_BITFIELD hack, UCLIBC_INTERNAL can be used instead, | Denis Vlasenko | 2008-06-03 | 2 | -4/+0 |
| | | | | | | | | | and it's slightly shorter. Also removes stray macros from public <printf.h> header and uses spaces for comment indentation. No code changes (verified with objdump). | ||||
* | fix trivial mismatch in return type of build_wcs_upper_buffer() | Denis Vlasenko | 2008-06-03 | 1 | -1/+1 |
| | | | | | (int/enum). clases bug 3234. | ||||
* | libc/stdlib/stdlib.c: fix whitespace damage. No code changes | Denis Vlasenko | 2008-06-02 | 1 | -92/+86 |
| | | | | | (verified with objdump) | ||||
* | fix bug 1577: '`' is not an acceptable digit for strto[u]l(). | Denis Vlasenko | 2008-06-02 | 1 | -13/+13 |
| | | | | | Code size is not changed on i386. | ||||
* | libc/inet/resolv.c: use ip6.arpa instead of ip6.int for reverse | Denis Vlasenko | 2008-06-02 | 1 | -87/+88 |
| | | | | | | | IPv6 DNS resolv. rfc4159 mandated this 3 years ago. Closes bug 1020. Also cleans up some stype inconsistensied and saves 2 bytes of rw data. | ||||
* | libc/inet/addr.c: fix broked indentation and bad style. No code changes. | Denis Vlasenko | 2008-06-02 | 1 | -12/+12 |
| | |||||
* | fix fallout from libc_hidden_proto removal | Denis Vlasenko | 2008-06-02 | 2 | -1/+4 |
| | |||||
* | suppress a few "might be used uninitialized" warnings. No code growth. | Denis Vlasenko | 2008-06-01 | 3 | -4/+6 |
| | |||||
* | Rework smallint machinery so that it will reliably fail to compile | Denis Vlasenko | 2008-06-01 | 1 | -4/+2 |
| | | | | | | even if arch overrides smallint size. Makes it easier to spot bugs on such arches. | ||||
* | fix compile breakage in libc/string/wcscasecmp.c | Denis Vlasenko | 2008-06-01 | 1 | -0/+1 |
| | | | | | by adding include <wchar.h> in strcasecmp.c | ||||
* | add missing includes of unistd.h for smallint usage | Denis Vlasenko | 2008-06-01 | 6 | -2/+4 |
| | | | | | remove a few duplicate includes of unistd.h | ||||
* | A slight improvement over my previous commit which ensured we always rebuild | Bernd Schmidt | 2008-06-01 | 1 | -3/+3 |
| | | | | | | | | | libc when one of the source files changes. Since there are more places which want to depend on $(libc), fix them all to use a new variable $(libc.depend), which contains the filename for which we have a rule. | ||||
* | Fix a dependency to mention libc.so, not libc.so.0, as we only have a rule to | Bernd Schmidt | 2008-05-31 | 1 | -1/+1 |
| | | | | build the former. | ||||
* | - generate deps via gcc | Bernhard Reutner-Fischer | 2008-05-31 | 1 | -9/+0 |
| | |||||
* | fix fallout from string.h libc_hidden_proto removal | Denis Vlasenko | 2008-05-31 | 2 | -8/+10 |
| | |||||
* | - cannot really guarantee proper order, so play safe and compile the problematic | Bernhard Reutner-Fischer | 2008-05-30 | 3 | -9/+6 |
| | | | | sources separately for now. | ||||
* | - Fix gcc glitch with mremap and IMA. | Bernhard Reutner-Fischer | 2008-05-30 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | For -combine, make sure that we don't pollute our non-varargs mremap decl with some vararg decl from later in the TU by putting ours after anybody else who is picking up mman.h. This is admittedly a small work-around.. smallish testcase: $ cat bug.h extern void *mremap (void*, unsigned, unsigned, int, ...); $ cat bug1.c #include "bug.h" int whatever; $ cat bug2.c #define mremap _hidemremap #include "bug.h" #undef mremap void *mremap (void*, unsigned, unsigned, int, void*); $ gcc -c bug1.c bug2.c $ gcc -c bug1.c bug2.c -combine bug2.c:4: error: conflicting types for ‘mremap’ bug.h:1: error: previous declaration of ‘mremap’ was here | ||||
* | - try to pickup UINTMAX_MAX | Bernhard Reutner-Fischer | 2008-05-30 | 1 | -0/+1 |
| | |||||
* | - Avoid warning about undefined preprocessor token. No obj-code changes. | Bernhard Reutner-Fischer | 2008-05-30 | 1 | -1/+1 |
| | |||||
* | - Avoid warning about undefined preprocessor token. No obj-code changes. | Bernhard Reutner-Fischer | 2008-05-30 | 18 | -20/+20 |
| | |||||
* | - shrink a little bit. | Bernhard Reutner-Fischer | 2008-05-30 | 1 | -14/+10 |
| | | | | | | text data bss dec hex filename 1176 16 24 1216 4c0 libc/misc/syslog/syslog.o.orig 1140 16 21 1177 499 libc/misc/syslog/syslog.o | ||||
* | - fix dependencies for multi-source | Bernhard Reutner-Fischer | 2008-05-29 | 1 | -9/+21 |
| | |||||
* | Fix typo in macro for tls access model | Carmelo Amoroso | 2008-05-29 | 1 | -1/+1 |
| | |||||
* | avr32: splice(), vmsplice() and tee() support | Haavard Skinnemoen | 2008-05-28 | 1 | -0/+31 |
| | | | | | Add the necessary prototypes and definitions for splice(), vmsplice() and tee() to work. Without this, they won't even compile. | ||||
* | Fix build failure due to missing 'smallint' definition | Carmelo Amoroso | 2008-05-27 | 6 | -1/+5 |
| | | | | | | by adding <unistd.h> header file. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com> | ||||
* | Slight size reduction by use of smallints/consts: | Denis Vlasenko | 2008-05-25 | 6 | -9/+9 |
| | | | | | | - 288016 1924 7176 297116 4889c libuClibc-0.9.29.so + 287956 1924 7168 297048 48858 libuClibc-0.9.29.so | ||||
* | __uClibc_main.c: save ~70 bytes by not checking that /dev/null | Denis Vlasenko | 2008-05-25 | 1 | -9/+7 |
| | | | | | | | | | | | is indeed a char device with correct (maj,min). (If it's not such a char device, the system is screwed anyway, nothing can be done about it...) text data bss dec hex filename - 715 4 21 740 2e4 libc/misc/internals/__uClibc_main.o + 644 4 21 669 29d libc/misc/internals/__uClibc_main.o | ||||
* | - avoid warning about cast from pointer to integer of different size | Bernhard Reutner-Fischer | 2008-05-23 | 1 | -1/+1 |
| | |||||
* | arm memcpy: fix the case when src=dst | Denis Vlasenko | 2008-05-23 | 1 | -2/+1 |
| | |||||
* | - for non-threaded, non-macro case we were missing __GI_fputc (for e.g. error.c) | Bernhard Reutner-Fischer | 2008-05-23 | 1 | -0/+2 |
| | |||||
* | - rename to match the set*() function's filename | Bernhard Reutner-Fischer | 2008-05-22 | 1 | -0/+0 |
| | |||||
* | - rename to match the setdomainname filename | Bernhard Reutner-Fischer | 2008-05-22 | 1 | -0/+0 |
| | |||||
* | convert two more static ints used as flags to smallints | Denis Vlasenko | 2008-05-22 | 1 | -1/+1 |
| | |||||
* | - my manpage sais that init_module, create_module, query_module, delete_module | Bernhard Reutner-Fischer | 2008-05-21 | 1 | -0/+5 |
| | | | | were removed in linux-2.6 | ||||
* | - fix warning about old-style function definition | Bernhard Reutner-Fischer | 2008-05-21 | 1 | -32/+33 |
| | | | | This could need a pull from upstream to do away with these __STDC__ conditionals. | ||||
* | - fix warning about static not being at the beginning of a decl | Bernhard Reutner-Fischer | 2008-05-21 | 1 | -1/+1 |
| | |||||
* | replace "if (p) free(p)" by just "free(p)" - free(NULL) is safe. | Denis Vlasenko | 2008-05-20 | 12 | -63/+31 |
| | |||||
* | getopt: do not needlessly use static structure. | Denis Vlasenko | 2008-05-20 | 2 | -20/+18 |
| | | | | | | | | | Reorder structure members and change some of them into smallints to reduce bss and text: text data bss dec hex filename - 2403 12 40 2455 997 libc/unistd/getopt.o + 2252 12 0 2264 8d8 libc/unistd/getopt.o | ||||
* | Introduce and use small[u]int type. Changes in size: | Denis Vlasenko | 2008-05-20 | 13 | -16/+23 |
| | | | | | | | | | | | | | | - 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 | ||||
* | - note that __drand48_iterate should be void | Bernhard Reutner-Fischer | 2008-05-20 | 1 | -0/+3 |
| | |||||
* | - remove old-style definitions. No object-code changes. | Bernhard Reutner-Fischer | 2008-05-20 | 24 | -113/+34 |
| | |||||
* | - silence warning | Bernhard Reutner-Fischer | 2008-05-20 | 1 | -1/+1 |
| | |||||
* | Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL block | Denis Vlasenko | 2008-05-19 | 216 | -431/+433 |
| | | | | | | | | | in string.h and strings.h. This caught unguarded string ops in libc/inet/ethers.c __ether_line_w() function. I will wait for fallout reports for a week or so, then continue converting more libc_hidden_proto's. | ||||
* | Added a bounch of locale fixes. | Carmelo Amoroso | 2008-05-19 | 2 | -1/+3 |
| | | | | | | | | | | | | | | | | | * 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> | ||||
* | realpath: do not set bogus errno when readlink fails. | Denis Vlasenko | 2008-05-08 | 1 | -22/+26 |
| | |||||
* | - add missing #endif | Bernhard Reutner-Fischer | 2008-05-03 | 24 | -1/+23 |
| | |||||
* | - implement splice,vmsplice,tee for all arches | Bernhard Reutner-Fischer | 2008-05-03 | 24 | -158/+806 |
| | | | | - synch F_LINUX_SPECIFIC_BASE related fcntls for all arches | ||||
* | Wire up vmsplice, splice and tee for arm. | Khem Raj | 2008-05-03 | 1 | -11/+14 |
| | |||||
* | - add vmsplice, splice, tee (Timo Teräs) | Bernhard Reutner-Fischer | 2008-05-02 | 4 | -10/+106 |
| | | | | - pull bits/fcntl.h from glibc (Timo Teräs) | ||||
* | __uc_malloc: remove stray semicolons | Denis Vlasenko | 2008-04-28 | 1 | -3/+3 |
| |