summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/bits
AgeCommit message (Collapse)Author
2003-01-22Missed an endifEric Andersen
2003-01-22Looks like sigaction on arm needs adjustment, so split this intoEric Andersen
a common header file and a default implementation.
2002-12-20The big thing is locale dependent collation support.Manuel Novoa III
Also added outdigit support and (legacy) YESSTR/NOSTR support.
2002-12-11Remove trailing comma from enum list as a nicety for older compilers.Manuel Novoa III
2002-11-22Ok... here's the summary:Manuel Novoa III
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.
2002-11-03Implement locale-specific grouping in printf for base 10 integer conversionsManuel Novoa III
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...
2002-10-31Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen
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
2002-10-13It turns out that __thread is now a gcc keyword. We used __thread inEric Andersen
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
2002-09-04Fixed 'struct ipc_perm' and 'struct msqid_ds' members to allow the Linux"Steven J. Hill"
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.
2002-08-26Make bits/kernel_types.h include guard names match the includeEric Andersen
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
2002-08-25Use the kernel version of struct msqid_ds directly, since we don'tEric Andersen
do any of that silly translating... -Erik
2002-08-25Finish off the bits/kernel_stat.h cleanup for properEric Andersen
__USE_FILE_OFFSET64 handling. -Erik
2002-08-25Make shm stuff work properly.Eric Andersen
-Erik
2002-08-24Tweak things so that struct stat and struct stat64 (seem to) work onManuel Novoa III
i386. This is for Erik to look at wrt the other archs.
2002-08-24Avoid `ECANCELED' redefined on mipsEric Andersen
-Erik
2002-08-24Break dependancy of bits/types.h on the asm/posix_types.h kernelEric Andersen
header, which is not directly usable for many architectures. -Erik
2002-08-23Split out the definition of struct stat into the new archEric Andersen
specific bits/kernel_stat.h file. -Erik
2002-08-23Split out the arch dependant errno_values.h junk into arch dependant files.Eric Andersen
-Erik
2002-08-22Rework struct stat/stat64 handling to eliminate kernel headersEric Andersen
-Erik
2002-08-22Rework errno handling to be kernel header freeEric Andersen
-Erik
2002-08-21Revert mode_t change. Sigh. As Manuel so eloquently put it: "this is the wayEric Andersen
we hose our code... hose our code... hose our code... this is the way we hose our code... all thanks to glibc" -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-18Directly use kernel types for uid_t, gid_t, and dev_t to avoid theEric Andersen
need to translate these entities... -Erik
2002-08-16whitespaceMiles Bader
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-12Revert commit by davidm to printf.c that initialized conv_numManuel Novoa III
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.
2002-07-15Clean up CLK_TCK situation. clock() and sysconf() now use anManuel Novoa III
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.
2002-07-07Attempt to clean up the strerror_r situation.Manuel Novoa III
2002-07-05Only define __uwchar_t if wide char support is enabled.Manuel Novoa III
2002-07-03Enable WCHAR support for C/POSIX stub locales.Manuel Novoa III
Implemented unformatted wide i/o functions. (ungetwc still needs testing) Fix a few bugs in wchar.c. Modifications for bcc/elks support.
2002-06-18Fix perror() and printf("%m") to not call strerror(), as required by theManuel Novoa III
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.
2002-06-10Kill the libc-lock headers, which we do not use and which areEric Andersen
not correct for uClibc. Fix setenv locking to behave itself. -Erik
2002-05-12Add a default syscalls.h that will just error out.Eric Andersen
Add in syscalls.h for alpha.
2002-05-06New locale support (in development). Supports LC_CTYPE, LC_NUMERIC,Manuel Novoa III
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.
2002-03-12Fix another O_LARGEFILE bug. Also, I forget to make floating point optionalManuel Novoa III
in the new printf code.
2002-03-12Oops.. had left thread support forced on.Manuel Novoa III
2002-03-12Fixup redefinition of NL_ARGMAXEric Andersen
2002-03-12Swap in the new stdio code.Manuel Novoa III
2002-03-01Major rework of the include files to eliminate redundancyEric Andersen
and to better support each arch. This is a really big patch... -Erik