summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/i386/bits
Commit message (Collapse)AuthorAgeFilesLines
...
* Block the combo DOMULTI/SUPPORT_LD_DEBUGPeter S. Mazinger2006-02-151-1/+41
|
* only check for rlimit stuff if the target doesnt support the newer function ↵Mike Frysinger2006-02-101-0/+3
| | | | call, and dont bother with 64bit versions on 64bit hosts as the regular one works fine (should fix the setrlimit ltp tests)
* Allow for targets that don't know about signed zero floats."Jan-Benedict Glaw"2006-01-261-0/+3
|
* Make i386 build w/ -std=c99 (almost)Peter S. Mazinger2006-01-231-2/+2
|
* Change to sane defaultsPeter S. Mazinger2006-01-191-5/+12
|
* move a bunch of arch-specific checks out of common files and into an arch ↵Mike Frysinger2006-01-191-0/+33
| | | | specific header file to make porting/updates a lot easier
* implement syscall6Mike Frysinger2006-01-051-0/+12
|
* define MREMAP_FIXEDMike Frysinger2005-11-271-0/+1
|
* update copyright and license, add _BITS_SETJMP_H protection around the file, ↵Mike Frysinger2005-11-161-2/+6
| | | | make sure we are only included by setjmp.h and pthread.h, and fix casting of address/jumpbugf in _JMPBUF_UNWINDS
* Undo 12115, it fails on building libc/sysdeps/linux/commonPeter S. Mazinger2005-11-021-5/+4
|
* Cleaner i386/syscalls.h patch to handle macro redefines proposed by jockePeter S. Mazinger2005-11-021-4/+4
|
* Remove __set_errno proposed by jockePeter S. Mazinger2005-11-021-4/+2
|
* Allow sources using syscalls to be IMA compiled on x86Peter S. Mazinger2005-11-021-1/+4
|
* Added new 'bits/atomic.h' for most of the architectures and the top-level ↵"Steven J. Hill"2005-05-121-0/+366
| | | | 'include/atomic.h' to add in new atomic operations for use by NPTL. There are multiple files for PowerPC and Sparc for 'atomic.h'. I will let those architecture maintainers choose the correct file. The files come from glibc in 'sysdeps/ARCH/bits'.
* no more cvsMike Frysinger2005-02-121-1/+0
|
* Kill off all support for 'gcc -pg' / 'gprof' style profiling. There is both aEric Andersen2004-08-211-41/+0
| | | | | | | | size and performance penalty to profiling applications this way, as well as Heisenberg effects, where the act of measuring changes what is measured. There are better tools for doing profiling, such as OProfile, that do not require gcc to instrument the application code. -Erik
* Cleanup some dead wood in the header filesEric Andersen2004-07-301-904/+0
|
* Cope with gcc 3.4's more aggressive persuit of attribute unusedEric Andersen2004-04-202-4/+4
|
* Sigh. The 2.6.x kernel removed '__kernel_dev_t' and renamed it asEric Andersen2004-02-061-0/+1
| | | | | | | | | '__kernel_old_dev_t'. And of course there is no good way to know which is in use except checking linux/version.h. Grumble. This is rather lame, but for now, define __kernel_old_dev_t to be the same as __kernel_dev_t. This will want to be revisited soon. -Erik
* 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
|