Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-06-03 | - add libpthread-nonshared-y to files.dep | Bernhard Reutner-Fischer | |
Fixes superfluous rebuild of pthread_atfork.oS. | |||
2008-06-03 | syslog.c: fix a buglet in prev-last commit: logic inversion in closelog | Denis Vlasenko | |
2008-06-03 | syslog.c: fix indentation and style. No code changes. | Denis Vlasenko | |
2008-06-03 | Fix bug 575 and other small problems noticed along the way. | Denis Vlasenko | |
The bug: this blocks in syslogd is stopped: #include <syslog.h> int main() { int i; for (i = 0; i < 10000; i++) syslog(LOG_INFO, "Testing, disregard...................."); return 0; } Fix: set O_NONBLOCK on fd to "/dev/log". Other fixes: do not try to write to fd -1, do not spin forever or EAGAIN, use constant sockaddr instead of recreating identical one each time, eliminate one intermediate function (SUGPIPE sig handler), use smallints where appropriate, add a few comments. Size: text data bss dec hex filename - 1140 16 21 1177 499 libc/misc/syslog/syslog.o + 1123 13 2 1138 472 libc/misc/syslog/syslog.o | |||
2008-06-03 | - Generate dummy rules for prerequisites. | Bernhard Reutner-Fischer | |
Fixes build-failures in ldso when switching thread-impl because of missing rule to make e.g. pthreadtypes.h Thanks to Peter Kjellerstedt for the reminder. | |||
2008-06-03 | - adds several config-options to allow for turning off certain features | Bernhard Reutner-Fischer | |
like o UCLIBC_HAS_GNU_ERROR o UCLIBC_HAS_BSD_ERR o UCLIBC_HAS_PTY o UCLIBC_HAS_GETPT (1) o UCLIBC_SYSCALL_STUBS o UCLIBC_SYSCALL_STUB_WARNING o UCLIBC_LINUX_SPECIFIC (2) o UCLIBC_BSD_SPECIFIC (3) o UCLIBC_NTP_LEGACY (4) o UCLIBC_SV4_DEPRECATED (5) o UCLIBC_HAVE_REALTIME (6) o UCLIBC_HAVE_ADVANCED_REALTIME (7) o UCLIBC_HAVE_EPOLL (8) o UCLIBC_HAVE_XATTR (9) o UCLIBC_HAVE_PROFILING (10) (1) make non-standard getpt optional and implement standard posix_openpt (2) fstatfs(), inotify_*(), ioperm(), iopl(), madvise(), modify_ldt(), personality() ppoll(), setresuid() (3) mincore(), getdomainname(), setdomainname() (4) ntp_adjtime(), ntp_gettime() aliases (5) ustat() [use statfs(2) in your code instead] (6) All marked as "(REALTIME)" in SUSv3 (7) All marked as "(ADVANCED REALTIME)" in SUSv3 (8) epoll_create(), epoll_ctl(), epoll_wait() (9) all Extended Attributes (10) helpers for gcc's -finstrument-functions - Fixes _dl_exit() - Implements sleep(3) for !UCLIBC_HAVE_REALTIME - Implements usleep(3) for !UCLIBC_HAVE_REALTIME - adds #warning about incorrect posix_fadvise{,64}() - removes unused and unwanted uselib() Net outcome is that an allnoconfig with HAVE_SHARED is now about 88k instead of formerly 130k. | |||
2008-06-03 | - breakup lines of compile.c and add a variable to hold filter-out PHONY target. | Bernhard Reutner-Fischer | |
No functional changes. | |||
2008-06-03 | Remove __PRINTF_INFO_NO_BITFIELD hack, UCLIBC_INTERNAL can be used instead, | Denis Vlasenko | |
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). | |||
2008-06-03 | fix trivial mismatch in return type of build_wcs_upper_buffer() | Denis Vlasenko | |
(int/enum). clases bug 3234. | |||
2008-06-02 | Rename HAVE_NO_SHARED to ARCH_HAS_NO_SHARED, otherwise it's too confusing | Denis Vlasenko | |
with HAVE_SHARED | |||
2008-06-02 | dlfcn.h exists only if __HAVE_SHARED__ ("we are built with shared lib support"), | Denis Vlasenko | |
not when !__HAVE_NO_SHARED__ ("arch can theoretically support shred libs") | |||
2008-06-02 | libc/stdlib/stdlib.c: fix whitespace damage. No code changes | Denis Vlasenko | |
(verified with objdump) | |||
2008-06-02 | fix bug 1577: '`' is not an acceptable digit for strto[u]l(). | Denis Vlasenko | |
Code size is not changed on i386. | |||
2008-06-02 | libc/inet/resolv.c: use ip6.arpa instead of ip6.int for reverse | Denis Vlasenko | |
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. | |||
2008-06-02 | libc/inet/addr.c: fix broked indentation and bad style. No code changes. | Denis Vlasenko | |
2008-06-02 | fix fallout from libc_hidden_proto removal | Denis Vlasenko | |
2008-06-01 | suppress a few "might be used uninitialized" warnings. No code growth. | Denis Vlasenko | |
2008-06-01 | Rework smallint machinery so that it will reliably fail to compile | Denis Vlasenko | |
even if arch overrides smallint size. Makes it easier to spot bugs on such arches. | |||
2008-06-01 | build system: stop creating ugly double-slash symlinks like | Denis Vlasenko | |
fenv.h -> ../../libc/sysdeps/linux/i386/bits//fenv.h | |||
2008-06-01 | fix compile breakage in libc/string/wcscasecmp.c | Denis Vlasenko | |
by adding include <wchar.h> in strcasecmp.c | |||
2008-06-01 | add missing includes of unistd.h for smallint usage | Denis Vlasenko | |
remove a few duplicate includes of unistd.h | |||
2008-06-01 | Still forgot some libraries in one of the previous commits. | Bernd Schmidt | |
2008-06-01 | A slight improvement over my previous commit which ensured we always rebuild | Bernd Schmidt | |
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. | |||
2008-06-01 | Use $(<D) rather than $(^D), as the latter now contains an element | Bernd Schmidt | |
corresponding to FORCE, which causes some CFLAGS to be lost. Include all objects in the dependency calculation, not just the ones in libc. | |||
2008-06-01 | - since we force make into trying to rebuild unconditionally, we have to | Bernhard Reutner-Fischer | |
check for changed prerequisites manually. | |||
2008-06-01 | - store the used compiler plus flags in the .%.dep files too and | Bernhard Reutner-Fischer | |
use this info to decide whether or not to rebuild something (if e.g. the filestamp of the prereq did not change but the cc or CFLAGS did). For files that we did not yet build we have no flags on record, so those did change inherently and we rebuild. Shouldn't be much slower than before. | |||
2008-05-31 | Fix a dependency to mention libc.so, not libc.so.0, as we only have a rule to | Bernd Schmidt | |
build the former. | |||
2008-05-31 | - rm all deps on distclean | Bernhard Reutner-Fischer | |
2008-05-31 | Oh, and prepend a dot to the basename so i don't have to change my habit of | Bernhard Reutner-Fischer | |
calling 'size thefile.o*' | |||
2008-05-31 | - generate deps via gcc | Bernhard Reutner-Fischer | |
2008-05-31 | - fix whitespace | Bernhard Reutner-Fischer | |
2008-05-31 | - fix prerequisites of sysnum.h (has to depend on the script that generates it) | Bernhard Reutner-Fischer | |
2008-05-31 | - default kernel-modules funcs to on. | Bernhard Reutner-Fischer | |
2008-05-31 | fix fallout from string.h libc_hidden_proto removal | Denis Vlasenko | |
2008-05-31 | Makefile.kconfig: whitespace fix | Denis Vlasenko | |
top-level Makefile.in: add TODO | |||
2008-05-30 | - cannot really guarantee proper order, so play safe and compile the problematic | Bernhard Reutner-Fischer | |
sources separately for now. | |||
2008-05-30 | - Fix gcc glitch with mremap and IMA. | Bernhard Reutner-Fischer | |
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 | |||
2008-05-30 | - Avoid warning about undefined preprocessor token. No obj-code changes. | Bernhard Reutner-Fischer | |
2008-05-30 | - try to pickup UINTMAX_MAX | Bernhard Reutner-Fischer | |
2008-05-30 | - fix the macros rather than the callees as rightfully noted by bernds (duh!) | Bernhard Reutner-Fischer | |
2008-05-30 | - nlist is unsigned. Adjust iterator variables accordingly to avoid ↵ | Bernhard Reutner-Fischer | |
signedness warnings. | |||
2008-05-30 | - Avoid warning about missing brace. No obj-code changes. | Bernhard Reutner-Fischer | |
2008-05-30 | - fix dependencies of ldso.c | Bernhard Reutner-Fischer | |
Previously a touch ldso/ldso/dl-debug.c && make ldso/ldso/ldso.oS did nothing | |||
2008-05-30 | - Avoid warning about missing brace. | Bernhard Reutner-Fischer | |
2008-05-30 | - Avoid warning about undefined preprocessor token. No obj-code changes. | Bernhard Reutner-Fischer | |
2008-05-30 | - Avoid warning about missing brace. No obj-code changes. | Bernhard Reutner-Fischer | |
2008-05-30 | - Avoid warning about undefined preprocessor token. No obj-code changes. | Bernhard Reutner-Fischer | |
2008-05-30 | - pull wur settings from upstream. No other changes. | Bernhard Reutner-Fischer | |
2008-05-30 | - shrink a little bit. | Bernhard Reutner-Fischer | |
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 | |||
2008-05-29 | - fix dependencies for multi-source | Bernhard Reutner-Fischer | |