summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-06-02libc/inet/resolv.c: use ip6.arpa instead of ip6.int for reverseDenis 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-02libc/inet/addr.c: fix broked indentation and bad style. No code changes.Denis Vlasenko
2008-06-02fix fallout from libc_hidden_proto removalDenis Vlasenko
2008-06-01suppress a few "might be used uninitialized" warnings. No code growth.Denis Vlasenko
2008-06-01Rework smallint machinery so that it will reliably fail to compileDenis Vlasenko
even if arch overrides smallint size. Makes it easier to spot bugs on such arches.
2008-06-01build system: stop creating ugly double-slash symlinks likeDenis Vlasenko
fenv.h -> ../../libc/sysdeps/linux/i386/bits//fenv.h
2008-06-01fix compile breakage in libc/string/wcscasecmp.cDenis Vlasenko
by adding include <wchar.h> in strcasecmp.c
2008-06-01add missing includes of unistd.h for smallint usageDenis Vlasenko
remove a few duplicate includes of unistd.h
2008-06-01Still forgot some libraries in one of the previous commits.Bernd Schmidt
2008-06-01A slight improvement over my previous commit which ensured we always rebuildBernd 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-01Use $(<D) rather than $(^D), as the latter now contains an elementBernd 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 toBernhard Reutner-Fischer
check for changed prerequisites manually.
2008-06-01- store the used compiler plus flags in the .%.dep files too andBernhard 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-31Fix a dependency to mention libc.so, not libc.so.0, as we only have a rule toBernd Schmidt
build the former.
2008-05-31- rm all deps on distcleanBernhard Reutner-Fischer
2008-05-31Oh, and prepend a dot to the basename so i don't have to change my habit ofBernhard Reutner-Fischer
calling 'size thefile.o*'
2008-05-31- generate deps via gccBernhard Reutner-Fischer
2008-05-31- fix whitespaceBernhard 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-31fix fallout from string.h libc_hidden_proto removalDenis Vlasenko
2008-05-31Makefile.kconfig: whitespace fixDenis Vlasenko
top-level Makefile.in: add TODO
2008-05-30- cannot really guarantee proper order, so play safe and compile the problematicBernhard 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_MAXBernhard 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.cBernhard 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-sourceBernhard Reutner-Fischer
2008-05-29Fix typo in macro for tls access modelCarmelo Amoroso
2008-05-28- pull commentary fixes from upstreamBernhard Reutner-Fischer
2008-05-28Fix the ELF magic number for SPARCV9: by Friedrich Oslage ↵Carmelo Amoroso
<bluebird@porno-bullen.de>
2008-05-28avr32: splice(), vmsplice() and tee() supportHaavard Skinnemoen
Add the necessary prototypes and definitions for splice(), vmsplice() and tee() to work. Without this, they won't even compile.
2008-05-27Fix build failure due to missing 'smallint' definitionCarmelo Amoroso
These are source files built on the host. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-05-27Fix build failure due to missing 'smallint' definitionCarmelo Amoroso
by adding <unistd.h> header file. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-05-25Slight size reduction by use of smallints/consts:Denis Vlasenko
- 288016 1924 7176 297116 4889c libuClibc-0.9.29.so + 287956 1924 7168 297048 48858 libuClibc-0.9.29.so
2008-05-25__uClibc_main.c: save ~70 bytes by not checking that /dev/nullDenis Vlasenko
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
2008-05-23- use -print-file-nameBernhard Reutner-Fischer
2008-05-23- avoid warning about cast from pointer to integer of different sizeBernhard Reutner-Fischer
2008-05-23arm memcpy: fix the case when src=dstDenis Vlasenko
2008-05-23- for non-threaded, non-macro case we were missing __GI_fputc (for e.g. error.c)Bernhard Reutner-Fischer
2008-05-23- fix compilation errorBernhard Reutner-Fischer