summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Add our own copies of the include/scsi header files, per what glibcEric Andersen2004-02-123-0/+535
| | | | | does, rather than depending on the kernel header files. -Erik
* New stdio core. Should be more maintainable. Fixes a couple of bugs.Manuel Novoa III2004-02-112-27/+46
| | | | | | | | 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.
* Use the correct configuration test define.Manuel Novoa III2004-02-021-2/+2
|
* Add a dummy (always fails) wcsftime. This is needed for the libstdc++ localeManuel Novoa III2004-01-141-2/+0
| | | | implementation to build. Later this month I'll add a functional wcsftime.
* Cope with 2.6.x headersEric Andersen2004-01-021-0/+4
|
* Fix a long-standing bug with pthreads. A couple of linuxthreads filesManuel Novoa III2003-12-271-0/+3
| | | | | | | | | | | | | | | | 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.
* Paul Mundt <lethal@linux-sh.org> writes:Eric Andersen2003-12-031-6/+6
| | | | | | 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.
* prevent some needless warnings when building w/2.6.x kernel headersEric Andersen2003-11-211-0/+3
|
* Kill off these headers, which are supposed to be part of binutils-dev,Eric Andersen2003-11-132-364/+0
| | | | not part of uClibc.
* Add some missing prototypesEric Andersen2003-11-021-1/+19
|
* Hopefully fix the struct tm extension problem once and for all.Manuel Novoa III2003-11-021-3/+2
| | | | Also fix a dst-related bug which caused the use of uninitialized data.
* Sigh. It seems some stupid programs expect this...Eric Andersen2003-10-241-0/+1
|
* It seems we need to also define SI_LOAD_SHIFT since that wasEric Andersen2003-10-221-0/+1
| | | | also exported by the Linux kernel.h header that we do not include.
* Those crazy binutils folks changed their abi. Add this so olderEric Andersen2003-10-211-0/+5
| | | | apps can cope gracefully.
* Merge some newer/updated bits from the glibc elf.hEric Andersen2003-10-201-106/+226
|
* I forgot to remove thisEric Andersen2003-10-111-98/+0
|
* These are wanted by net-toolsEric Andersen2003-10-112-0/+223
|
* We do not provide gmtime(), so disable the prototype toEric Andersen2003-10-101-0/+2
| | | | prevent confusing autoconf
* Atsushi Nemoto writes:Eric Andersen2003-10-081-1/+1
| | | | | | | | | | | | | 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.
* Revert to using uClibc-specific c-symbol-prefix stuffMiles Bader2003-09-261-2/+1
| | | | (__C_SYMBOL_PREFIX__).
* sigh. The cris compiler doesn't do link_warning's....Eric Andersen2003-09-091-1/+5
|
* Obligatory forgotten file.Manuel Novoa III2003-09-081-0/+8
|
* Add back in table-less ctype funcs for those interested in minimizingManuel Novoa III2003-09-083-162/+4
| | | | | | 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.
* ansidecl.h and symcat.h copied from glibc.Miles Bader2003-09-082-0/+364
|
* Don't install floating point related headers, and wrap some previouslyManuel Novoa III2003-09-063-0/+10
| | | | | | unwrapped prototypes, when float support is disabled. Also don't install printf.h if glibc custom printf specifier support is disabled.
* Add support for ftw and nftwEric Andersen2003-09-051-0/+150
|
* Move an #endif that was in the wrong place.Manuel Novoa III2003-09-051-1/+1
|
* Only define __STDC_ISO_10646__ if wide char support is enabled.Manuel Novoa III2003-09-031-0/+2
|
* Create a typedef for the ctype bitmask table entries.Manuel Novoa III2003-08-281-6/+6
| | | | | | | | | 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.
* Add missing header.Manuel Novoa III2003-08-251-0/+71
|
* Fix a few bugs in the new extended locale functions.Manuel Novoa III2003-08-247-0/+117
| | | | | | | | | 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.
* Avoid gratuitous conflicts when used with kernel headersEric Andersen2003-08-221-2/+6
|
* also carefully booleanize the false valueEric Andersen2003-08-111-2/+2
|
* silly me, thats not going to work.Eric Andersen2003-08-101-3/+2
|
* An even simpler likelyEric Andersen2003-08-101-1/+1
|
* Update likely() to cope with truth values other than 1Eric Andersen2003-08-101-2/+2
|
* Add support for personality(), prctl(), ustat(), and ulimit()Eric Andersen2003-08-086-2/+194
| | | | | syscalls, which had managed to stay unimplemented thus far. -Erik
* Add a new *scanf implementation, includeing the *wscanf functions.Manuel Novoa III2003-08-0113-464/+1336
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Optionally support the struct tm extension fields.Manuel Novoa III2003-06-172-5/+4
| | | | | | | 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.
* Add memmem().Manuel Novoa III2003-06-161-2/+0
|
* Comment out the rpl_malloc workaround. It was a good idea, but it violatesEric Andersen2003-06-141-0/+2
| | | | | namespace guarantees and conflicts with other programs that have used the AC_FUNC_MALLOC autoconf macro properly.
* The mere presence of stropts.h causes many configure scripts to erroneouslyEric Andersen2003-06-121-88/+0
| | | | | | | 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
* We do not provide getfsent and friends, so remove this headerEric Andersen2003-06-051-82/+0
| | | | file, to prevent stupid configure scripts from getting confused.
* Eviscerate stropts.h so configure scripts won't try to use STREAMSEric Andersen2003-05-291-1/+8
| | | | | garbage. uClibc does not support STREAMS in any way whatsoever. -Erik
* grr. It's a void *, not a char *.Eric Andersen2003-05-271-1/+1
|
* Change 'N' to '__size' to avoid conflicts with common #define of NEric Andersen2003-05-271-5/+5
|
* Cope with autoconf's broken AC_FUNC_MALLOC macro, which redefines malloc asEric Andersen2003-05-231-0/+12
| | | | | | | | | 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
* resync with glibc 2.3Eric Andersen2003-03-131-129/+357
|
* Patch from Stefan Allius:Eric Andersen2003-03-071-1/+1
| | | | fix a couple of gcc 3.3 compiler warnings in gmon.c
* Initial effort at adding profiling support.Eric Andersen2003-03-032-0/+281
|