summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/i386
Commit message (Collapse)AuthorAgeFilesLines
* i386: use common INTERNAL_SYSCALL_ERROR_PMike Frysinger2009-10-161-3/+0
| | | | | | | The common define has the same behavior, just formatted differently. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* clean up O_CLOEXEC handlingMike Frysinger2009-10-161-2/+0
| | | | | | | | Drop the "#ifndef O_CLOEXEC" cruft, enable O_CLOEXEC in most fcntl.h headers, and import __ASSUME_O_CLOEXEC from glibc. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* spent this morning beating i386 nptl into shapeAustin Foxley2009-09-225-4/+31
| | | | | | Got it compiling thus far, still working on getting it to run Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* trim Experimentally off and uncommented hiddenAustin Foxley2009-09-181-1/+0
| | | | | | | | sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* honour NO_LONG_DOUBLE_MATHBernhard Reutner-Fischer2009-09-031-0/+4
| | | | | | | | | This fixes compilation errors on hosts that turn off long double support for C99 like powerpc32. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* enable nanosecond stat support for everyoneMike Frysinger2009-08-191-12/+6
| | | | | | | | | | | | | | Fill out the stat structure so that the nanosecond resolution support is always available. There is a small code size increase for a few ports (three additional assignments in xstatconv), but otherwise everything should remain the same. While we're here, punt __old_kernel_stat from the few headers that still define it as it is unused in uClibc and causes compile errors after these nanosecond changes. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* byteswap: unify common definitionsMike Frysinger2009-08-191-99/+22
| | | | | | | | | | The majority of the byteswap functions are the same across all arches, so setup a common header to provide definitions if they don't exist. This allows arches to override only the ones they actually want to implement with inline assembly. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* s/UCLIBC_INTERNAL/_LIBC/gDenys Vlasenko2009-08-191-1/+1
| | | | | | | | | | | Undo my old mistake. I added UCLIBC_INTERNAL define, but later I realized _LIBC is doing exactly the same thing. This change converts all usages of UCLIBC_INTERNAL to _LIBC, removing all instances of UCLIBC_INTERNAL. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* build: Include Makefile.commonarch from common Makefile.inCarmelo Amoroso2009-07-291-2/+0
| | | | | | | | Avoid including akefile.commonarch in each Makefile.arch. Include it instead from Makefile.in just after the arch specific Makefile.arch Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* syscall: unify part 2: NCS varietyMike Frysinger2009-07-091-3/+3
| | | | | | | | Declare common NCS (non-constant syscall) variants and convert the existing ports over to this. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* syscall: unify common syscall definesMike Frysinger2009-07-091-66/+0
| | | | | | | | | | Unify all the common syscall defines in syscalls-common.h and scrub all the duplicated code from relevant ports. This should also make converting existing ports to INLINE_SYSCALL() much easier as they don't have to get lost in all the unrelated noise, as well as creating new ports. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* i386: store errno value before using __set_errno()Ingo van Lil2009-07-091-4/+3
| | | | | | | | | | | | The __syscall_error() function stores the errno value in the edx register before invoking the __set_errno() macro. When using the pthread library this macro calls thread_self() to determine the errno location, which might clobber the edx register. The errno value must be stored in a "real" variable so the compiler can take care of saving/restoring it if necessary. Signed-off-by: Ingo van Lil <inguin@gmx.de> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* uClibc_arch_features: sync defines between portsMike Frysinger2009-07-091-0/+6
| | | | | | | | Make sure each arch has the same complete list to make comparing between them easier. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* mknod: widen the parameters to match kernelDenis Vlasenko2009-03-031-4/+3
| | | | | | | | | ustat: same, + remove superfluous "conversion" which does nothing at best, loses high dev bits at worst i386/bits/kernel_stat.h: update to reflect reality (wider dev_t) h8300/bits/kernel_stat.h: same arm/bits/kernel_stat.h: cosmetics to match kernel header to the letter
* Synch kernel_types.h (i386, x86_64) with trunkCarmelo Amoroso2009-02-191-1/+1
|
* docs/probe_math_exception.c:Denis Vlasenko2009-02-111-3/+14
| | | | | | | | | | | | update example libc/sysdeps/linux/i386/bits/mathinline.h: improve __finite() macro, add __finitef macro (why they aren't always macros? why aren't they arch independent?) libm/math_private.h: much better comments on math_opt_barrier() and math_force_eval() libm/s_finite[f].c: improve out-of-line __finite[f]() too (one byte less, yay...)
* Synch with trunk: miscellaneous changes, mostly cleanup,Carmelo Amoroso2009-01-221-9/+17
| | | | | | | code styling, comments. No object-code changes. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - pull r24799 from trunkBernhard Reutner-Fischer2009-01-121-0/+1
|
* - whitespace cleanup; no obj-code changes (r24600)Bernhard Reutner-Fischer2008-12-292-23/+23
|
* Get non nptl threads compiled on x86.Khem Raj2008-12-231-2/+6
|
* Get i386 non nptl builds going.Khem Raj2008-12-232-112/+87
|
* Synch with trunk @ 24242Carmelo Amoroso2008-12-031-28/+34
| | | | | Step 18: some more synch: hidden_proto, size reduction and signal handling changes.
* Synch with trunk @ 24160Carmelo Amoroso2008-11-278-15/+176
| | | | | | Step 14: miscellaneous merge for arch specific files in libc/sysdeps. Comments, cleanup, formatting, hidden_proto removal and others.
* Synch with trunk @ 24160Carmelo Amoroso2008-11-271-2/+2
| | | | Step 13: build system updates.
* some more asm keyword fixes (Yann E. MORIN)Carmelo Amoroso2008-08-061-15/+15
|
* Synch with trunk at rev 22997.Carmelo Amoroso2008-07-316-54/+54
| | | | | | | Basically trailing whitespaces removal, fix non standard keywords asm -> __asm__ inline -> __inline__ and some minor changes on trunk. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Synch libc nios/xtensa/v850/h8300/cris/x86_64/ia64/hppa/i382/nios2/frv/avr32 ↵Carmelo Amoroso2008-06-1815-45/+74
| | | | specific with trunk
* Merge from trunk."Steven J. Hill"2006-12-163-6/+7
|
* When you delete a '1' does it become '0' or tri-stated?"Steven J. Hill"2006-12-162-290/+0
|
* Big fricking merge from trunk, but an easy one."Steven J. Hill"2006-08-2410-94/+207
|
* Removal as per trunk."Steven J. Hill"2006-08-222-89/+0
|
* Merge from trunk."Steven J. Hill"2006-08-212-4/+2
|
* Merge from trunk."Steven J. Hill"2006-08-184-32/+56
|
* Merge from trunk."Steven J. Hill"2006-02-289-69/+152
|
* Big fricking merge from trunk."Steven J. Hill"2006-01-073-6/+19
|
* Finish up changes for sigaction and NPTL."Steven J. Hill"2005-12-101-0/+3
|
* Merge from trunk."Steven J. Hill"2005-12-102-8/+11
|
* Big merge from trunk. Stop the madness!"Steven J. Hill"2005-12-061-4/+4
|
* Merge from trunk."Steven J. Hill"2005-12-023-13/+7
|
* Sync up with trunk."Steven J. Hill"2005-11-191-1/+1
|
* Massive merge from trunk."Steven J. Hill"2005-11-181-2/+6
|
* Massive merge from trunk."Steven J. Hill"2005-11-172-29/+10
|
* Update signal handlers for NPTL."Steven J. Hill"2005-11-161-0/+3
|
* Merge from trunk."Steven J. Hill"2005-10-301-81/+8
|
* Copy from trunk."Steven J. Hill"2005-10-301-0/+33
|
* Big, huge fricking merge. Peter, if you touch the build system again I'm ↵"Steven J. Hill"2005-10-041-5/+3
| | | | going to smash your keyboard.
* Finish merge from trunk."Steven J. Hill"2005-09-132-1/+50
|
* Merge/sync with trunk."Steven J. Hill"2005-08-172-6/+12
|
* Bring in latest from trunk."Steven J. Hill"2005-08-124-20/+8
|
* More merges with main trunk."Steven J. Hill"2005-07-302-4/+21
|