summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2004-02-18Alexandre Oliva writes:Eric Andersen
While testing the FR-V code with GCC mainline, I ran into some problems in the RPC code. It relies on a GCC extension that is no longer available, namely, the result of a cast is no longer considered an lvalue. This patch enables the code to compile. I haven't been able to test RPC though, especially in a multi-threaded environment.
2004-02-12Add our own copies of the include/scsi header files, per what glibcEric Andersen
does, rather than depending on the kernel header files. -Erik
2004-02-11New stdio core. Should be more maintainable. Fixes a couple of bugs.Manuel Novoa III
Codepaths streamlined. Improved performance for nonthreaded apps when linked with a thread-enabled libc. Minor iconv bug and some locale/thread related startup issues fixed. These showed up in getting a gcj-compiled java helloworld app running. Removed some old extension functions... _stdio_fdout and _stdio_fsfopen.
2004-02-02Use the correct configuration test define.Manuel Novoa III
2004-01-14Add a dummy (always fails) wcsftime. This is needed for the libstdc++ localeManuel Novoa III
implementation to build. Later this month I'll add a functional wcsftime.
2004-01-02Cope with 2.6.x headersEric Andersen
2003-12-27Fix a long-standing bug with pthreads. A couple of linuxthreads filesManuel Novoa III
were including libc-lock.h which had a bunch of weak pragmas. Also, uClibc supplied a number of no-op weak thread functions even though many weren't needed. This combined result was that sometimes the functional versions of thread functions in pthread would not override the weaks in libc. While fixing this, I also prepended double-underscore to all necessary weak thread funcs in uClibc, and removed all unused weaks. I did a test build, but haven't tested this since these changes are a backport from my working tree. I did test the changes there and no longer need to explicitly add -lpthread in the perl build for perl to pass its thread self tests.
2003-12-03Paul Mundt <lethal@linux-sh.org> writes:Eric Andersen
Nothing overly interesting here, this renames Hitachi/Mitsubishi to Renesas for the relevant platforms (in this case, h8, sh, and m32r). The same changes have already been going on in gcc/binutils/gdb/glibc/etc.
2003-11-21prevent some needless warnings when building w/2.6.x kernel headersEric Andersen
2003-11-13Kill off these headers, which are supposed to be part of binutils-dev,Eric Andersen
not part of uClibc.
2003-11-02Add some missing prototypesEric Andersen
2003-11-02Hopefully fix the struct tm extension problem once and for all.Manuel Novoa III
Also fix a dst-related bug which caused the use of uninitialized data.
2003-10-24Sigh. It seems some stupid programs expect this...Eric Andersen
2003-10-22It seems we need to also define SI_LOAD_SHIFT since that wasEric Andersen
also exported by the Linux kernel.h header that we do not include.
2003-10-21Those crazy binutils folks changed their abi. Add this so olderEric Andersen
apps can cope gracefully.
2003-10-20Merge some newer/updated bits from the glibc elf.hEric Andersen
2003-10-11I forgot to remove thisEric Andersen
2003-10-11These are wanted by net-toolsEric Andersen
2003-10-10We do not provide gmtime(), so disable the prototype toEric Andersen
prevent confusing autoconf
2003-10-08Atsushi Nemoto writes:Eric Andersen
I found inappropriate data types are used in some places in networking codes. * tcp_seq is 32bit (u_long -> u_int32_t) * in_addt_t should be used for internet address (unsigned long -> in_addr_t) * socklen_t should be used for accept() This is a patch against uclibc-0.9.21 (can be applied for current CVS). 64bit platforms (sizeof(int)!=sizeof(long)) will need this. I believe this patch does not harm any 32bit platforms.
2003-09-26Revert to using uClibc-specific c-symbol-prefix stuffMiles Bader
(__C_SYMBOL_PREFIX__).
2003-09-09sigh. The cris compiler doesn't do link_warning's....Eric Andersen
2003-09-08Obligatory forgotten file.Manuel Novoa III
2003-09-08Add back in table-less ctype funcs for those interested in minimizingManuel Novoa III
static build sizes and not needing wchar support. Add in a SUSv3 getopt as an option for those not needing gnu getopt. Again, mainly for the static linking crowd.
2003-09-08ansidecl.h and symcat.h copied from glibc.Miles Bader
2003-09-06Don't install floating point related headers, and wrap some previouslyManuel Novoa III
unwrapped prototypes, when float support is disabled. Also don't install printf.h if glibc custom printf specifier support is disabled.
2003-09-05Add support for ftw and nftwEric Andersen
2003-09-05Move an #endif that was in the wrong place.Manuel Novoa III
2003-09-03Only define __STDC_ISO_10646__ if wide char support is enabled.Manuel Novoa III
2003-08-28Create a typedef for the ctype bitmask table entries.Manuel Novoa III
Hack a fix for ctype support of 8-bit codeset locales. Note: toupper/tolower mappings do not handle the special cases for the tr_TR and az_AZ locales, since the wide versions currently handle them either. That will be addressed when I rewrite the data generation tools and the libc locale code.
2003-08-25Add missing header.Manuel Novoa III
2003-08-24Fix a few bugs in the new extended locale functions.Manuel Novoa III
Move stub gettext functions to a stub libintl to make switching in gnu gettext easier. Also add a few gnu-isms. Change to using hidden names with global weak aliases for the extended locale functions, as expected by libstd++. Slightly rework the locale data generation stuff to allow pregenerated locale data to be used with buildroot.
2003-08-22Avoid gratuitous conflicts when used with kernel headersEric Andersen
2003-08-11also carefully booleanize the false valueEric Andersen
2003-08-10silly me, thats not going to work.Eric Andersen
2003-08-10An even simpler likelyEric Andersen
2003-08-10Update likely() to cope with truth values other than 1Eric Andersen
2003-08-08Add support for personality(), prctl(), ustat(), and ulimit()Eric Andersen
syscalls, which had managed to stay unimplemented thus far. -Erik
2003-08-01Add a new *scanf implementation, includeing the *wscanf functions.Manuel Novoa III
Should be standards compliant and with several optional features, including support for hexadecimal float notation, locale awareness, glibc-like locale-specific digit grouping with the `'' flag, and positional arg support. I tested it pretty well (finding several bugs in glibc's scanf in the process), but it is brand new so be aware. The *wprintf functions now support floating point output. Also, a couple of bugs were squashed. Finally, %a/%A conversions are now implemented. Implement the glibc xlocale interface for thread-specific locale support. Also add the various *_l(args, locale_t loc_arg) funcs. NOTE!!! setlocale() is NOT threadsafe! NOTE!!! The strto{floating point} conversion functions are now locale aware. The also now support hexadecimal floating point notation. Add the wcsto{floating point} conversion functions. Fix a bug in mktime() related to dst. Note that unlike glibc's mktime, uClibc's version always normalizes the struct tm before attempting to determine the correct dst setting if tm_isdst == -1 on entry. Add a stub version of the libintl functions. (untested) Fixed a known memory leak in setlocale() related to the collation data. Add lots of new config options (which Erik agreed to sort out :-), including finally exposing some of the stripped down stdio configs. Be careful with those though, as they haven't been tested in a long time. (temporary) GOTCHAs... The ctype functions are currently incorrect for 8-bit locales. They will be fixed shortly. The ctype functions are now table-based, resulting in larger staticly linked binaries. I'll be adding an option to use the old approach in the stub locale configuration.
2003-06-17Optionally support the struct tm extension fields.Manuel Novoa III
Add a few misc functions mentioned in time.h. Revert davidm's change regarding using a define for the "/etc/TZ" path, as this is eventually meant to be a configurable extension and not unconditionally supported.
2003-06-16Add memmem().Manuel Novoa III
2003-06-14Comment out the rpl_malloc workaround. It was a good idea, but it violatesEric Andersen
namespace guarantees and conflicts with other programs that have used the AC_FUNC_MALLOC autoconf macro properly.
2003-06-12The mere presence of stropts.h causes many configure scripts to erroneouslyEric Andersen
believe that uClibc supports STREAMS. Well, we don't. So I am hereby removing this header file, since it was empty anyways. Applications that depend on stropts.h being present, but do not depend on its contents, are broken anyways. -Erik
2003-06-05We do not provide getfsent and friends, so remove this headerEric Andersen
file, to prevent stupid configure scripts from getting confused.
2003-05-29Eviscerate stropts.h so configure scripts won't try to use STREAMSEric Andersen
garbage. uClibc does not support STREAMS in any way whatsoever. -Erik
2003-05-27grr. It's a void *, not a char *.Eric Andersen
2003-05-27Change 'N' to '__size' to avoid conflicts with common #define of NEric Andersen
2003-05-23Cope with autoconf's broken AC_FUNC_MALLOC macro, which redefines malloc asEric Andersen
rpl_malloc if it does not detect glibc style returning-a-valid-pointer-for-malloc(0) behavior. This wrapper calls malloc() as usual, but if N is zero, we allocate and return a 1-byte block instead.... sigh... -Erik
2003-03-13resync with glibc 2.3Eric Andersen
2003-03-07Patch from Stefan Allius:Eric Andersen
fix a couple of gcc 3.3 compiler warnings in gmon.c