summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/i386/bits
Commit message (Collapse)AuthorAgeFilesLines
* Some updates from glibc. mjn3 reports this fixes profilingEric Andersen2003-09-071-2/+7
| | | | on i386, at least, so seems like a good thing.
* i386/mcount.S expects to call __mcount_internal with the 2 args passedManuel Novoa III2003-09-071-1/+1
| | | | | | | in registers. NOTE: i386/mcount.S really needs to be rewritten. It currently won't work for non-PIC builds.
* Initial effort at adding profiling support.Eric Andersen2003-03-035-0/+204
|
* Finish up fixing stat and setting various system types.Eric Andersen2003-01-241-1/+1
|
* Ok, people are probably going to hate me for this... This commit changes theEric Andersen2003-01-241-29/+2
| | | | | | | | | | | | | | | type of 'struct stat' and 'struct stat64' so they use consistant types. This change is the result of a bug I found while trying to use GNU tar. The problem was caused by our using kernel types within struct stat and trying to directly compare these values with standard types. Trying an 'if (a < b)' when 'a' is an 'unsigned long' and 'b' is an 'int' leads to very different results then when comparing entities of the same type (i.e. time_t values).... Grumble. Nasty stuff, but I'm glad I got this out of the way now. As a result of this fix, uClibc 0.9.17 will not be binary compatible with earlier releases. I have always warned people this can and will happen. -Erik
* Support O_STREAMINGEric Andersen2002-10-091-0/+1
|
* Change <bits/syscall.h> to <bits/sysnum.h>.Miles Bader2002-09-052-3/+3
|
* Added __kernel_fsid_t to satisfy some apps that need it.David McCullough2002-08-271-0/+8
| | | | Definitions taken from 2.4 kernel sources for each of the platforms.
* Make bits/kernel_types.h include guard names match the includeEric Andersen2002-08-261-3/+9
| | | | | | | 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
* Tweak things so that struct stat and struct stat64 (seem to) work onManuel Novoa III2002-08-241-0/+27
| | | | i386. This is for Erik to look at wrt the other archs.
* Break dependancy of bits/types.h on the asm/posix_types.h kernelEric Andersen2002-08-241-0/+29
| | | | | header, which is not directly usable for many architectures. -Erik
* Split out the definition of struct stat into the new archEric Andersen2002-08-231-0/+56
| | | | | specific bits/kernel_stat.h file. -Erik
* Eliminate wrapping of struct stat and use the kernel versionEric Andersen2002-08-191-0/+4
| | | | | | directly. Eliminate all the attendant baggage. Fix internal types to match kernel types more closely. -Erik
* Rework syscall handling. Rewrite syscall handlers for x86 and ARM.Eric Andersen2002-07-221-156/+109
| | | | | | Prepare to kill the UNIFIED_SYSCALL option and instead have it be a per arch thing that is either enabled or not for that arch. -Erik
* Clean up CLK_TCK situation. clock() and sysconf() now use anManuel Novoa III2002-07-151-73/+0
| | | | | | 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.
* Major rework of the include files to eliminate redundancyEric Andersen2002-03-0158-7419/+15
| | | | | and to better support each arch. This is a really big patch... -Erik
* Scrub up some lingering problems preventing readdir64 from workingEric Andersen2001-11-141-2/+4
| | | | | | and creating several *64 problems, particualrly when client apps used -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64. All better now. -Erik
* Initial first (lame) pass at making a pthreads library. ThisEric Andersen2001-11-141-0/+28
| | | | works for me when linking staticly on x86.
* Gut this file, and quit referrng to _IO_* junkEric Andersen2001-09-271-146/+1
|
* Update to accomodate the header file changesEric Andersen2001-09-2766-1093/+1796
|
* Added __BEGIN_DECLS and __END_DECLS to the files that didn't haveDavid McCullough2001-07-116-0/+20
| | | | | | it and that I could see needed it. Should be pretty low impact as these are only defined when using C++.
* Added a script to create bits/syscall.h for each arch.Manuel Novoa III2001-06-283-425/+40
| | | | | | | | | | | NOTE!!! This is run by "make -C libc/sysdeps/linux/$(TARGET_ARCH) headers" in the main Makefile, but I only changed libc/sysdeps/linux/i386/Makefile as I had no way of testing it for the other archs. Various arch maintainers, please check and update the corresponding Makefile... or report bugs ;-)... appropriately. You'll also want to "cvs del" syscall.h and add it to a .cvsignore in $(ARCH)/bits. Also added a define to uClibc_config.h, __UCLIBC_USE_UNIFIED_SYSCALL__, and moved i386 unified syscall stuff out of common and into i386/bits/syscalls.h.
* Stub out an initial version. Manuel will be writingEric Andersen2001-06-271-0/+229
| | | | some code to autogenerate this stuff...
* Step one in a process to ween ourselves off of using asm/unistd.h.Eric Andersen2001-06-271-1/+79
| | | | | This will break the build for a bit. -Erik
* Remove simulated d_type support for getdents and the dirent struct, and useManuel Novoa III2001-06-251-2/+11
| | | | the straight getdents syscall instead of the wrapper (which leaked memory).
* This adds in support for PIC on x86. Unfortunately, this will breakEric Andersen2001-06-231-0/+81
| | | | | | all arches till they add in an libc/sysdeps/linux/<arch>/bits/syscalls.h file. Sorry about there, there was no other way... -Erik
* Add the in* and out* functions for i386. Note: the sys/io.h header forManuel Novoa III2001-06-171-0/+171
| | | | | | | | | glibc-2.2.2 actually defines static inline versions for i386, but only provides prototypes for externs for the other archs I looked at. Since uClibc shares this header amongst archs, I stashed the inline defs in bits/io_i386.h and included it when __i386__ was defined. Better solutions are most welcome, but it doesn't clutter sys/io.h too badly and now lilo and the pcmcia tools build against uClibc on i386 without modification.
* Add in some more GNU compatible locale stuff. I only implement theEric Andersen2001-05-251-0/+44
| | | | C locale of course. util-linux needs this stuff to compile...
* Change FILENAME_MAX to be only 255. Max filename on ext2 is 255,Eric Andersen2001-05-071-1/+1
| | | | | | | so there is no reason to allocate 4k. Change working of execvep.c per patch from Matthias Kilian <kili@outback.escape.de> so that there is not a fixed 127 byte buffer. Too easy to overflow... -Erik
* Remove all the __THROW macrosEric Andersen2001-04-192-12/+12
|
* Sync with glibc i386 bits.Eric Andersen2001-03-193-4/+4
|
* Sync i386 up with _all_ the glibc 2.1.3 include/bits headers,Eric Andersen2001-03-1929-0/+5529
| | | | | | since we will end up needing a few more of them anyways, and all the other arches have the full set anyways. -Erik
* Clean up atexit.c; make sure sysconf and atexit agree; link in ref'd libgcc.aManuel Novoa III2001-01-251-1/+4
| | | | objects with shared uClibc; allow disabling long long support.
* Facelist/cleanup for several syscalls. Added poll.Eric Andersen2001-01-161-0/+51
|
* Fix termios handling. Now synced with behavior of GNU libc.Eric Andersen2001-01-151-0/+212
| | | | -Erik
* More cleanups. Fix things so tinylogin compiles.Eric Andersen2000-11-042-0/+518
| | | | Fix a bug in getdelim -- patch from David Whedon <dwhedon@gordian.com>.
* Fixup some PMTsEric Andersen2000-10-302-2/+2
|
* Header file cleanupEric Andersen2000-10-302-0/+134
|
* Needed now.Eric Andersen2000-10-091-0/+141
|
* Add in support for shm/ipc.Eric Andersen2000-10-072-0/+134
|
* More stuff. Down to only 43 missing functions before BusyBox willEric Andersen2000-08-101-0/+46
| | | | | | link. Fixed socket stuff so it doesn't pull in kernel headers and stubbed out fork and clone. A few other header file cleanups. -Erik
* fix sys/vfs so it doesn't pull in kernel stuff.Eric Andersen2000-07-091-0/+61
| | | | -Erik
* Forgot this file.Eric Andersen2000-07-091-0/+196
| | | | -Erik
* Some more major updates to further superate ucLibc from the kernelEric Andersen2000-07-0624-0/+2235
| | | | | headers (the way it has been done in GNU libc). -Erik
* Hacked things so longjmp now works.Eric Andersen2000-07-062-165/+155
| | | | -Erik
* Initial revision0_9_1Erik Andersen2000-05-141-0/+176