summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2003-12-17Patch from Paul Mundt <lethal@linux-sh.org>:Eric Andersen
The subject says it all.. optimized memset/memcpy/strcpy, lifted from SuperH's glibc tree.
2003-12-14Fix some dst issues in _time_mktime().Manuel Novoa III
Normalize the tm_isdst value to -1, 0, or 1. If no dst for this timezone, then reset tm_isdst to 0.
2003-12-14Fix a couple of 'declaration after statement' errors.Manuel Novoa III
2003-12-05Paul Mundt <lethal@linux-sh.org> writes:Eric Andersen
This patch adds the libpthread backend bits for sh64. As noted previously, we can't inline things like the testandset() in pt-machine.h as we need to use a completely different ISA / CFLAGS in order for this to work. As a result, this patch is somewhat of a RFC as well to see what people think of the libpthread/linuxthreads/sysdeps Makefile approach, etc. The approach I've taken currently has been to provide a sysdeps/Makefile with a note that TARGET_ARCHs that want build rules can simply add themselves into the list of matching architectures to add to the subdir rule for. This probably isn't the cleanest solution, but it's quite transparent and works quite well.
2003-12-04Fix infinite loop in putgrent (forgotten increment).Manuel Novoa III
2003-12-04Fix arm profiling support, which was accidentally removedEric Andersen
2003-12-04Building of iconv.o was accidently always disabled.Manuel Novoa III
Also, build the iconv app in utils.
2003-12-03Lethal noticed that the generated file gmon-start.S was notEric Andersen
being cleaned up.
2003-12-03Patch from lethal, adding syscall() to the sh64 portEric Andersen
2003-12-03remove some garbageEric Andersen
2003-12-02Add a syscall() implementation using a hacked version of the syscall6 macro.Manuel Novoa III
Untested, but syscall() is needed by busybox for pivot_root at least.
2003-12-02Add function versions of ntohl and friendsEric Andersen
2003-12-02Avoid a potentially undefined operation with a veriable++ in a macroEric Andersen
2003-12-02Put in a dummy reference to main so busybox will link.Manuel Novoa III
2003-11-29Patch by "Bradley D. LaRonde" <brad@ltc.com> for boehm garbage collector.Manuel Novoa III
2003-11-28Another missing mips function, needed by the boehm garbage collector.Manuel Novoa III
2003-11-28Add sysmips(), based on a patch by Atsushi Nemoto <anemo@mba.ocn.ne.jp>.Manuel Novoa III
2003-11-22Remove SAFECFLAGS. It was a workaround for failures in old awk scriptEric Andersen
used to generate the crti.S and crtn.S files. Since we don't use that anymore, keeping the workaround makes no sense. Furthermore, in most cases, SAFECFLAGS was not picking up all the needed flags, causing crti.o and crtn.o to not be built PIC. Which is very bad. Removing SAFECFLAGS and using CFLAGS fixes that as well.
2003-11-20Add missing weak alias for bcmpEric Andersen
2003-11-20Always include locale.h, which was included by libintl.h only whenManuel Novoa III
optimizing.
2003-11-20Don't depend on BSD namingEric Andersen
2003-11-20Add an initial set of arm optimized string functions. TheseEric Andersen
do seem to make noticable speed improvement... -Erik
2003-11-20Lets try that one again...Eric Andersen
2003-11-20Make certain that the arch specific stuff is always compiled lastEric Andersen
2003-11-20Fixup dependancies to ensure arch specific string functionsEric Andersen
will always win
2003-11-19Fix the return value for fputs when passed an empty string.Manuel Novoa III
Indirectly detected by gmp-4.1.2 self-tests and reported by "Peter S. Mazinger" <ps.m@gmx.net>.
2003-11-17If __NR_ftruncate64 isn't defined, do the best we can.Manuel Novoa III
2003-11-16I forgot to update the thread locking in the last dst fix.Manuel Novoa III
2003-11-16Fix a build problem when using 2.2.x kernel headers.Manuel Novoa III
2003-11-12Add support for missing ntp_gettime and ntp_adjtimeEric Andersen
2003-11-11Fix for the last "fix".Manuel Novoa III
2003-11-11Protect some header inclusions.Manuel Novoa III
2003-11-11Stefan Allius writes:Eric Andersen
Hello Erik, to compile the new uClibc release for a SH3 we need some little modifications: First I fix the crt[in].S files, so we can use them for big endian and little endian targets.
2003-11-08Darn. Fix compilation for soft-float, which I inadvertantlyEric Andersen
broke a couple of days ago. :-(
2003-11-08kill mention of the wrapperEric Andersen
2003-11-08For now, disable the iconv utilityEric Andersen
2003-11-08Fix up several errors related to filename length and errno thatEric Andersen
showed up while running the latest LTP testsuite. -Erik
2003-11-07Add clock_gettime() submitted by Justus Pendleton <uc@ryoohki.net>.Manuel Novoa III
2003-11-06Sigh... I wasn't checking if the gid field in a group line actuallyManuel Novoa III
contained a digit. Also adjust a comment.
2003-11-06Add a utility macro.Manuel Novoa III
2003-11-06Oops... don't need recursive mutexes.Manuel Novoa III
2003-11-06Rewrite the pwd.h, grp.h, and shadow.h functions (except lckpwdf/ulckpwdf).Manuel Novoa III
2003-11-06Add in aliases provided by the non arch specific implementationsEric Andersen
2003-11-06George Thanos writes:Eric Andersen
Dear Erik, We downloded uClibc lattest version from the CVS. Still there are some minor problems with extra/Configs/Config.e1 You have actually set ARCH_HAS_C_SYMBOL_PREFIX to NO which is not correct for our architecture. Please apply the patch that will fix the problem. Best Regards, - George P.S. Patch also removes some irritating comments we have added in the past.
2003-11-06The curse of cut-n-pasteEric Andersen
2003-11-06Add some initial x86 string optimizations. These make no attempt to use niftyEric Andersen
things like mmx/3dnow/etc. These are not inline, and will therefore not be as fast as modifying the headers to use inlines (and cannot therefore do tricky things when dealing with const memory). But they should (I hope!) be faster than their generic equivalents.... More importantly, these should provide a good example for others to follow when adding arch specific optimizations. -Erik
2003-11-05Remove erroneous trailing semicolon.Manuel Novoa III
2003-11-05Rip the guts out of the dynamically generated sysconf.c, and live with a simpleEric Andersen
static version. This will need further work later on, but should do the job for the time being,
2003-11-05last but certinaly not least, kill off initfini.cEric Andersen
2003-11-05Add quick hacks to create fake crti.o and crtn.o files. These architecturesEric Andersen
need to be fixed properly. I tried, but I was unable to build a cross toolchain for each of these (using stock binutils and gcc) so it is someone else's problem to fix them now.