summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-08-20Unlike glibc, uClibc doesn't always support the d_type field ofManuel Novoa III
struct dirent. So, disable the d_type support macros when d_type isn't available. This fixes a build problem file fileutils-4.1.
2002-08-20Only build libthread_db when both threads and debug are enabledEric Andersen
-Erik
2002-08-19Eliminate wrapping of struct stat and use the kernel versionEric Andersen
directly. Eliminate all the attendant baggage. Fix internal types to match kernel types more closely. -Erik
2002-08-19Fixup struct _res handling so apps using struct _res can actuallyEric Andersen
compile ("worst standard ever!") -Erik
2002-08-19SuperH config updateEric Andersen
2002-08-19missed const-ifying this one.Eric Andersen
2002-08-19some updates from Stefan Allius to make up the SuperH shared libEric Andersen
loader build properly. Mostly just sprinkling casts, and making static some things that should be static.
2002-08-19Add a .note section to make gdb happyEric Andersen
2002-08-19Call the pthread setup junk early if possible.Eric Andersen
2002-08-19Work from Stefan Allius which allows superH to use the commonEric Andersen
method for building crti.o and crtn.o
2002-08-19Based on work by Stefan Allius, arrange for early initialization ofEric Andersen
pthread stuff. Also, don't bother building libthread_db unless we are debugging. -Erik
2002-08-19Open a lib that is not so closely coupled with gdbEric Andersen
2002-08-19Be prepared to call __pthread_initialize_minimalEric Andersen
2002-08-19(CSRC): Make contents source files, not object files.Miles Bader
2002-08-19(CSRC): Add `memalign.c'.Miles Bader
2002-08-19Initial checkin.Miles Bader
2002-08-19(realloc): Follow new arg conventions of MALLOC_SET_SIZE.Miles Bader
2002-08-19(malloc): Use MALLOC_SETUP.Miles Bader
2002-08-19(MALLOC_SETUP): New macro.Miles Bader
(MALLOC_SET_SIZE): Take the base-address of the block, not the user-address. (MALLOC_ADDR): Macro removed.
2002-08-18Directly use kernel types for uid_t, gid_t, and dev_t to avoid theEric Andersen
need to translate these entities... -Erik
2002-08-18Yet more rework to make __getgrent and the functions that use itEric Andersen
reentrant... -Erik
2002-08-18Fix broken locking so that at least the Python 2.2.1 grp test doesn'tManuel Novoa III
lock up. This really needs to be looked at, as I don't think this needs to be reentrant. In any case, several routines call the __getgrent internal routine and it uses static vars for data. If this stuff is really supposed to be threadsafe, then __getgrent probably needs fixing.
2002-08-18Remove recursive lock/unlock for a non-recursive mutex.Manuel Novoa III
2002-08-17Fixed __read_etc_hosts_r to return alias list and modified bufferManuel Novoa III
allocation accordingly. This fixes the segfault in the Python 2.2.1 socket test.
2002-08-17Fix two problems with printf that showed up in the python 2.2.1 tests;Manuel Novoa III
One involving %o and one involving %f.
2002-08-16Disable macro implementations. Somehow I missed the following from theManuel Novoa III
ANSI/ISO C99 std... A library macro that masks a function declaration expands to an expression that evaluates each of its arguments once (and only once). ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Arguments that have side effects evaluate the same way whether the expression executes the macro expansion or calls the function. Macros for the functions getc and putc are explicit exceptions to this rule. Their stream arguments can be evaluated more than once. Avoid argument expressions that have side effects with these macros. This will be reworked before the next release. And yes, I feel stupid.
2002-08-16Cleanup exit a bit, from Ronald WahlEric Andersen
2002-08-16whitespaceMiles Bader
2002-08-16Remove __res_state function.Miles Bader
2002-08-16Make INCLUDE_FULL_RPC default to !HAVE_SHARED.Miles Bader
2002-08-16Demonstrate that dlopen() RTLD_NOW is currently broken.Eric Andersen
-Erik
2002-08-16Remove thread-specific stuff entirely.Miles Bader
2002-08-16(_res): Define as a macro if __UCLIBC_HAS_THREADS__ is defined,Miles Bader
regardless of _LIBC.
2002-08-16(h_errno): Only define as a macro if __UCLIBC_HAS_THREADS__ is defined.Miles Bader
(__set_h_errno): Just assign to `h_errno' (which will be expanded to the thread-friendly version when appropriate).
2002-08-16(errno): Only define as a macro if __UCLIBC_HAS_THREADS__ is defined.Miles Bader
(__set_errno): Just assign to `errno' (which will be expanded to the thread-friendly version when appropriate).
2002-08-16Replace all instances of _LIBC_REENTRANT with __UCLIBC_HAS_THREADS__Eric Andersen
-Erik
2002-08-16Remove h8300 special caseEric Andersen
2002-08-16(headers): Remove special case for v850, now that the general caseMiles Bader
works correctly for non-MMU systems without a `nommu' suffix. Fixup indentation a bit.
2002-08-15Fix erroneous grouping.Manuel Novoa III
2002-08-15Patch from Jarkko to fix drand48 to not use long long whenEric Andersen
long long support is disabled in the uClibc Config.
2002-08-15Do not prevent people from making mmu-less builds on mmu-full systems.Eric Andersen
-Erik
2002-08-14Use __malloc_unlikely instead of `likely'.Miles Bader
2002-08-14Add flow-control hints with __malloc_likely and __malloc_unlikely.Miles Bader
2002-08-14(__malloc_likely, __malloc_unlikely): New macros.Miles Bader
2002-08-14Handle zero NEW_SIZE case.Miles Bader
2002-08-14(CSRC): Add syscall.cMiles Bader
2002-08-14Initial checkin.Miles Bader
2002-08-14Move all malloc tests under test/malloc/Eric Andersen
2002-08-14Add missing include/thread_db.h file, as reported by Simon PosnjakEric Andersen
-Erik
2002-08-13__fsetlocking() and FILE field user_locking were completely broken. :-(Manuel Novoa III
I think they're fixed now (I've run a few tests). Note: __fsetlocking() is not threadsafe... but glibc's doesn't appear to be either.