summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/bits
Commit message (Collapse)AuthorAgeFilesLines
...
* Missed an endifEric Andersen2003-01-221-0/+1
|
* Looks like sigaction on arm needs adjustment, so split this intoEric Andersen2003-01-221-0/+92
| | | | a common header file and a default implementation.
* The big thing is locale dependent collation support.Manuel Novoa III2002-12-201-3/+60
| | | | Also added outdigit support and (legacy) YESSTR/NOSTR support.
* Remove trailing comma from enum list as a nicety for older compilers.Manuel Novoa III2002-12-111-1/+1
|
* Ok... here's the summary:Manuel Novoa III2002-11-222-1/+6
| | | | | | | | | | | | | | Hopefully locale support will build when cross compiling now. Collation is still not supported, but that's what I'm currently working on. In the next couple of days, I'll probably put up a couple of files for download that will save people the trouble of generating all the glibc locales. Added *wprintf functions, although they currently don't support floating point. That will be fixed when I rewrite _dtostr... or possibly before. Added the wcsto{inttype} functions. Added iconv() and a mini iconv utility. The require locale support and only provide for conversions involving the various unicode encodings { UCS-4*, UCS-2*, UTF-32*, UTF-16*, UTF-8 }, the 8-bit codesets built with the locale data, and the internal WCHAR_T.
* Implement locale-specific grouping in printf for base 10 integer conversionsManuel Novoa III2002-11-031-0/+1
| | | | | when the grouping flag "'" is specified. Grouping for floating point values may wait until I do a rewrite of the floating pt to string code...
* Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen2002-10-312-8/+8
| | | | | | | | | | | | | | | been working on a new config system on and off for about 6 months now, but I've never been fully satisfied. Well, I'm finally am happy with the new config system, so here it is. This completely removes the old uClibc configuration system, and replaces it with an entirely new system based on LinuxKernelConf, from http://www.xs4all.nl/~zippel/lc/ As it turns out, Linus has just merged LinuxKernelConf into Linux 2.5.45, so it looks like I made the right choice. I have thus far updated only x86. I'll be updating the other architectures shortly. -Erik
* It turns out that __thread is now a gcc keyword. We used __thread inEric Andersen2002-10-131-1/+1
| | | | | | | | a few spots in our header files. In this change I do a s/__thread/__thread_id/ so we no longer conflict with newer CVS versions of gcc (such as the patched up gcc 3.2 included with RedHat 3.0). -Erik
* Fixed 'struct ipc_perm' and 'struct msqid_ds' members to allow the Linux"Steven J. Hill"2002-09-042-3/+3
| | | | | | Test Project to compile as well as be consistent with the architecture specific files. Maybe eventually the architecture specific files could be removed all together.
* Make bits/kernel_types.h include guard names match the includeEric Andersen2002-08-261-1/+5
| | | | | | | guard names used by the kernel's asm/posix_types.h to eliminate gratuitous conflicts and let our file win over the very-likely- to-be-broken kernel header file. -Erik
* Use the kernel version of struct msqid_ds directly, since we don'tEric Andersen2002-08-251-16/+14
| | | | | do any of that silly translating... -Erik
* Finish off the bits/kernel_stat.h cleanup for properEric Andersen2002-08-251-1/+27
| | | | | __USE_FILE_OFFSET64 handling. -Erik
* Make shm stuff work properly.Eric Andersen2002-08-252-23/+22
| | | | -Erik
* Tweak things so that struct stat and struct stat64 (seem to) work onManuel Novoa III2002-08-241-7/+0
| | | | i386. This is for Erik to look at wrt the other archs.
* Avoid `ECANCELED' redefined on mipsEric Andersen2002-08-241-3/+4
| | | | -Erik
* Break dependancy of bits/types.h on the asm/posix_types.h kernelEric Andersen2002-08-242-10/+18
| | | | | header, which is not directly usable for many architectures. -Erik
* Split out the definition of struct stat into the new archEric Andersen2002-08-232-612/+60
| | | | | specific bits/kernel_stat.h file. -Erik
* Split out the arch dependant errno_values.h junk into arch dependant files.Eric Andersen2002-08-231-392/+7
| | | | -Erik
* Rework struct stat/stat64 handling to eliminate kernel headersEric Andersen2002-08-221-2/+613
| | | | -Erik
* Rework errno handling to be kernel header freeEric Andersen2002-08-222-12/+523
| | | | -Erik
* Revert mode_t change. Sigh. As Manuel so eloquently put it: "this is the wayEric Andersen2002-08-211-1/+1
| | | | | | we hose our code... hose our code... hose our code... this is the way we hose our code... all thanks to glibc" -Erik
* Eliminate wrapping of struct stat and use the kernel versionEric Andersen2002-08-192-73/+23
| | | | | | directly. Eliminate all the attendant baggage. Fix internal types to match kernel types more closely. -Erik
* Directly use kernel types for uid_t, gid_t, and dev_t to avoid theEric Andersen2002-08-181-3/+12
| | | | | need to translate these entities... -Erik
* whitespaceMiles Bader2002-08-161-0/+1
|
* (errno): Only define as a macro if __UCLIBC_HAS_THREADS__ is defined.Miles Bader2002-08-161-3/+4
| | | | | (__set_errno): Just assign to `errno' (which will be expanded to the thread-friendly version when appropriate).
* Replace all instances of _LIBC_REENTRANT with __UCLIBC_HAS_THREADS__Eric Andersen2002-08-161-1/+1
| | | | -Erik
* Revert commit by davidm to printf.c that initialized conv_numManuel Novoa III2002-08-121-9/+9
| | | | | | | | | needlessly. To do so increases the generated code size with bcc. Eliminate duplicate define warnings in wstring.c. Fix potentially broken preprocessor comparisons. The preprocessor converts integers to maximal signed type, so inequality comparisons involving UINTMAX_MAX, ULLONG_MAX, and (if no long long) ULONG_MAX were potentially broken.
* Clean up CLK_TCK situation. clock() and sysconf() now use anManuel Novoa III2002-07-152-2/+18
| | | | | | arch-specific constant value defined in bits/uClibc_clk_tck.h. Default is 100 (common/bits) but alpha uses 1024 following glibc. Override per arch as necessary.
* Attempt to clean up the strerror_r situation.Manuel Novoa III2002-07-071-8/+0
|
* Only define __uwchar_t if wide char support is enabled.Manuel Novoa III2002-07-051-1/+1
|
* Enable WCHAR support for C/POSIX stub locales.Manuel Novoa III2002-07-032-16/+51
| | | | | | Implemented unformatted wide i/o functions. (ungetwc still needs testing) Fix a few bugs in wchar.c. Modifications for bcc/elks support.
* Fix perror() and printf("%m") to not call strerror(), as required by theManuel Novoa III2002-06-181-0/+8
| | | | | | | | | standards. Temporarily added a utility function to wrap Erik's strerror_r so that "Unknown error xxx" strings can be generated for errno's which cause strerror_r to fail. That utility function will eventually be merged in with the strerror/strerror_r functions when I change over to optionallly mmap'ing the system error strings to provide for lower mem comsumption on non-MMU platforms, as well as locale-specific system error messages.
* Kill the libc-lock headers, which we do not use and which areEric Andersen2002-06-102-375/+0
| | | | | not correct for uClibc. Fix setenv locking to behave itself. -Erik
* Add a default syscalls.h that will just error out.Eric Andersen2002-05-121-0/+10
| | | | Add in syscalls.h for alpha.
* New locale support (in development). Supports LC_CTYPE, LC_NUMERIC,Manuel Novoa III2002-05-063-0/+512
| | | | | | | | | | | | | | | | | | | | | | LC_TIME, LC_MONETARY, and LC_MESSAGES for the SUSv3 items. Also, nl_langinfo() when real locale support is enabled. New implementation of ctype.h. New implementation of wctype.h. New implementation of most of the string functions (smaller). New implementation of the wcs/wmem functions. These are untested, but they're also just preprocessor-modified versions ot the corresponding str/mem functions. Tweaked qsort and new bsearch. Stuff still pending: stdlib.h and wchar.h mb<->wc functions. I actually have working versions of the stdlib ones, but the reentrant versions from wchar.h require some reworking. Basic replacement and translit support for wc->mb conversions. (groundwork laid). Simple-minded collate support such as was provided by the previous locale implementation. (mostly done -- 8-bit codesets only) Shared mmaping of the locale data and strerror message text.
* Fix another O_LARGEFILE bug. Also, I forget to make floating point optionalManuel Novoa III2002-03-121-5/+0
| | | | in the new printf code.
* Oops.. had left thread support forced on.Manuel Novoa III2002-03-121-1/+1
|
* Fixup redefinition of NL_ARGMAXEric Andersen2002-03-122-3/+3
|
* Swap in the new stdio code.Manuel Novoa III2002-03-121-0/+494
|
* Major rework of the include files to eliminate redundancyEric Andersen2002-03-0171-0/+8119
and to better support each arch. This is a really big patch... -Erik