summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Patch from Martin Proulx <mproulx@okiok.com> to supportEric Andersen2002-06-1817-0/+1098
| | | | the i960 architecture.
* Add support for sigtimedwait and sigwaitinfoEric Andersen2002-06-171-0/+39
| | | | -Erik
* 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
* Changes so that 'regdef.h' gets included in the development environment."Steven J. Hill"2002-06-046-4/+66
|
* Moved to 'sys' directory."Steven J. Hill"2002-06-041-61/+0
|
* Doh! A silly typo broke select...Eric Andersen2002-05-301-2/+2
| | | | -Erik
* And with this, the alpha port is not basically working.Eric Andersen2002-05-301-24/+24
| | | | -Erik
* Make these properly cope with 64bit systemsEric Andersen2002-05-302-29/+35
| | | | -Erik
* Fixup some silly bugs I added earlierEric Andersen2002-05-301-40/+37
| | | | -Erik
* Needed for the alpha portEric Andersen2002-05-306-1/+292
| | | | -Erik
* Make syscalls.c way more generic. Now works on alpha...Eric Andersen2002-05-301-4/+173
| | | | -Erik
* Several h8300 updates from Yoshinori Sato <qzb04471@nifty.ne.jp>Eric Andersen2002-05-232-5/+5
|
* Changes needed for MIPS with regards to the .init and .fini sections."Steven J. Hill"2002-05-201-4/+0
|
* Use the default version in include/sys insteadEric Andersen2002-05-122-70/+0
|
* Fixes for 64 bit archesEric Andersen2002-05-121-1/+29
|
* Small cleanups for alphaEric Andersen2002-05-121-0/+1
|
* Add a default syscalls.h that will just error out.Eric Andersen2002-05-123-0/+252
| | | | Add in syscalls.h for alpha.
* First pass attempt at an alpha portEric Andersen2002-05-1035-0/+3158
|
* 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.
* Use __off64_t instead of off64_t.Miles Bader2002-04-251-2/+2
|
* Stupid libgcc.a from gcc 2.95.x uses __write in pure.oEric Andersen2002-04-251-0/+3
| | | | | which is a blatent GNU libc-ism... Cope. -Erik
* Don't bother zeroing BSS, since actually we _can_ rely on the loader to do it.Miles Bader2002-04-251-10/+1
|
* Add support for mmap64Eric Andersen2002-04-242-1/+53
| | | | -Erik
* Stub out pread and pwrite when not availableEric Andersen2002-04-171-0/+16
|
* Change branch to fallthrough. Unclean, but it removes last R_PPC_REL24.David Schleef2002-04-171-3/+3
|
* Just tail-call __uClibc_main. There's no real point to calling abort ifMiles Bader2002-04-171-4/+2
| | | | exit failed, and abort drags in some unecessary grot.
* (L_dummy_main_reference): Reference the C symbol `main', not the linkerMiles Bader2002-04-151-5/+4
| | | | symbol `main'.
* Fix dummy main reference so it works...Eric Andersen2002-04-144-13/+24
|
* Manuel and I were looking into a problem with applications failing to linkEric Andersen2002-04-1412-1/+65
| | | | | | | | | | (undefined reference to `main') when the .o file containing main was contained in an static library(a '.a' ar archive). It turns out that due to its single pass nature, GNU ld was failing to pull it into the build. This sticks a dummy reference to main() into crt0.o, so that when an application is linked with the main() function in a static library, we can be sure that main() actually gets linked in. -Erik
* John Traill <john.traill@motorola.com> noticed that on powerpcEric Andersen2002-04-101-0/+148
| | | | | | a dev_t is _not_ a quad type, but a simple int. Doh! We fixed that months ago, but subsequently lost the fix, so this restores things.
* Some minor updates per discussion with Miles BaderEric Andersen2002-04-102-8/+12
| | | | -Erik
* Make assembly code PIC-compatible.David Schleef2002-04-105-0/+28
|
* Remove v850-specific versions of truncate64.c and ftruncate64.c.Miles Bader2002-04-101-1/+1
|
* Generic implemention works for v850 now, so we don't need a special version.Miles Bader2002-04-102-67/+0
|
* Fixup __USE_FILE_OFFSET64Eric Andersen2002-04-091-5/+7
|
* Add creat64Eric Andersen2002-04-092-2/+48
| | | | -Erik
* Add truncate64.cEric Andersen2002-04-091-1/+1
|
* Remove from syscalls.c, leave just ftruncate64.c and truncate64.cEric Andersen2002-04-093-28/+43
| | | | | which have implementations that works... -Erik
* Create a much more careful ftruncate64 implementation, that shouldEric Andersen2002-04-096-47/+42
| | | | | address all the concern Miles had with the earlier versions... -Erik
* Avoid defining __USE_FILE_OFFSET64, since we do _NOT_ wantEric Andersen2002-04-092-6/+10
| | | | | | interfaces silently renamed under us or very bad things may happen... -Erik
* undefine __USE_FILE_OFFSET64, since we absolutely do _NOT_ want interfacesEric Andersen2002-04-092-63/+1
| | | | | | silently renamed under us or very bad things will happen. In this case, statfs64() ended up recurively calling statfs64() instead of statfs().... -Erik
* Teach initfini to build properly on arches where gcc tries to beEric Andersen2002-04-031-0/+10
| | | | | sneaky behind our back... -Erik
* Revert this file back to where it was so m68k can compile again.Eric Andersen2002-04-031-25/+22
| | | | | Oops. I'd hosed things up for m68k with the header file rework. -Erik
* Be certain thatEric Andersen2002-04-031-1/+7
|
* Run dos2unix on these filesEric Andersen2002-04-034-11/+11
|
* m4@brecis.COM noticed a typing problem with the getuid syscall. OOps.Eric Andersen2002-04-031-1/+1
|
* Patches from Yoshinori Sato <qzb04471@nifty.ne.jp> to fix h8300Eric Andersen2002-04-017-0/+594
| | | | support for pthreads and update for the latest and greatest.
* Patch from Miles Bader to fix the spots I'd messed up.Eric Andersen2002-04-011-8/+13
|
* Add support for getrlimit64 and setrlimit64. Fix some problemsEric Andersen2002-03-315-23/+199
| | | | | with the getrlimit and setrlimit syscalls. -Erik