summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/i386
Commit message (Collapse)AuthorAgeFilesLines
...
* next portion of libc_hidden_proto removalDenis Vlasenko2008-11-202-2/+2
|
* - Remove linux-specific prototypes if asked to.Bernhard Reutner-Fischer2008-11-151-2/+2
|
* - revert wrong r24049Bernhard Reutner-Fischer2008-11-151-2/+2
|
* - Remove linux-specific prototypes if asked to.Bernhard Reutner-Fischer2008-11-151-2/+2
|
* - fix sigaction on older kernels (Michael Deutschmann)Bernhard Reutner-Fischer2008-10-191-3/+3
| | | | | | | | | | | | | | In issue #5554 Michael wrote: The implementation of sigaction on i386 for older kernels makes the system call using an inline asm element with two flaws: 1. The asm is not marked as depending on the kact structure or modifying the koact structure. Thus, GCC is free to assume these structures need not be kept consistent, allowing it to remove all initialization of kact. 2. The asm allows the signal number to be provided as a memory reference. But this allows GCC to provide a stack-relative operand, which will break because the assembler saves %ebx on the stack before using that operand. 1 didn't use to be a problem in practice because GCC 4.2.* didn't seize the optimization opportunity. GCC 4.3.2, however, optimizes out the "kact.sa_flags = act->sa_flags | SA_RESTORER;" line, so that the kernel sees garbage in sa_flags. This can result in the kernel seeing the SA_RESETHAND flag, causing erratic behaviour in signal dependent programs. 2 becomes an issue if "-fomit-frame-pointer" is provided. In uClibc-0.9.29 it isn't, uClibc-0.9.30-rc2 does use the flag by default.
* - add long double math wrappers (Ned Ludd)Bernhard Reutner-Fischer2008-10-031-4/+0
|
* - now passes all LTP testsBernhard Reutner-Fischer2008-09-293-65/+23
|
* - fix !LFS case for i386Bernhard Reutner-Fischer2008-09-252-7/+12
|
* - add posix_fadvise. Not yet tested most likely broken in advise64Bernhard Reutner-Fischer2008-09-192-0/+39
|
* - take LFS into account and add fallback via fadvise64Bernhard Reutner-Fischer2008-09-191-4/+34
|
* - posix_fadvise64 for i386Bernhard Reutner-Fischer2008-09-191-0/+68
|
* - sync_file_range(). Missed the i386 directory in previous commitBernhard Reutner-Fischer2008-09-162-2/+69
|
* - add sync_file_range()Bernhard Reutner-Fischer2008-09-161-4/+0
| | | | Tested successfully on i386..
* - some more asm keyword fixes (Yann E. MORIN)Bernhard Reutner-Fischer2008-08-061-15/+15
|
* - trim any trailing whitespaceBernhard Reutner-Fischer2008-07-233-5/+5
|
* - fix asm and volatile keywordsBernhard Reutner-Fischer2008-07-233-49/+49
|
* - adds several config-options to allow for turning off certain featuresBernhard Reutner-Fischer2008-06-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | like o UCLIBC_HAS_GNU_ERROR o UCLIBC_HAS_BSD_ERR o UCLIBC_HAS_PTY o UCLIBC_HAS_GETPT (1) o UCLIBC_SYSCALL_STUBS o UCLIBC_SYSCALL_STUB_WARNING o UCLIBC_LINUX_SPECIFIC (2) o UCLIBC_BSD_SPECIFIC (3) o UCLIBC_NTP_LEGACY (4) o UCLIBC_SV4_DEPRECATED (5) o UCLIBC_HAVE_REALTIME (6) o UCLIBC_HAVE_ADVANCED_REALTIME (7) o UCLIBC_HAVE_EPOLL (8) o UCLIBC_HAVE_XATTR (9) o UCLIBC_HAVE_PROFILING (10) (1) make non-standard getpt optional and implement standard posix_openpt (2) fstatfs(), inotify_*(), ioperm(), iopl(), madvise(), modify_ldt(), personality() ppoll(), setresuid() (3) mincore(), getdomainname(), setdomainname() (4) ntp_adjtime(), ntp_gettime() aliases (5) ustat() [use statfs(2) in your code instead] (6) All marked as "(REALTIME)" in SUSv3 (7) All marked as "(ADVANCED REALTIME)" in SUSv3 (8) epoll_create(), epoll_ctl(), epoll_wait() (9) all Extended Attributes (10) helpers for gcc's -finstrument-functions - Fixes _dl_exit() - Implements sleep(3) for !UCLIBC_HAVE_REALTIME - Implements usleep(3) for !UCLIBC_HAVE_REALTIME - adds #warning about incorrect posix_fadvise{,64}() - removes unused and unwanted uselib() Net outcome is that an allnoconfig with HAVE_SHARED is now about 88k instead of formerly 130k.
* Rework smallint machinery so that it will reliably fail to compileDenis Vlasenko2008-06-011-4/+2
| | | | | | even if arch overrides smallint size. Makes it easier to spot bugs on such arches.
* Introduce and use small[u]int type. Changes in size:Denis Vlasenko2008-05-201-0/+8
| | | | | | | | | | | | | | - 79 0 28 107 6b libc/inet/rpc/create_xid.o + 76 0 25 101 65 libc/inet/rpc/create_xid.o - 126 0 4 130 82 libc/misc/assert/__assert.o + 123 0 1 124 7c libc/misc/assert/__assert.o - 648 4 24 676 2a4 libc/misc/internals/__uClibc_main.o + 645 4 21 670 29e libc/misc/internals/__uClibc_main.o - 230 0 4 234 ea libc/stdlib/abort.o + 216 0 1 217 d9 libc/stdlib/abort.o - 129 0 4 133 85 libc/termios/tcgetsid.o + 126 0 1 127 7f libc/termios/tcgetsid.o
* Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko2008-05-191-1/+1
| | | | | | | | | in string.h and strings.h. This caught unguarded string ops in libc/inet/ethers.c __ether_line_w() function. I will wait for fallout reports for a week or so, then continue converting more libc_hidden_proto's.
* - add missing #endifBernhard Reutner-Fischer2008-05-031-1/+0
|
* - implement splice,vmsplice,tee for all archesBernhard Reutner-Fischer2008-05-031-1/+6
| | | | - synch F_LINUX_SPECIFIC_BASE related fcntls for all arches
* - add vmsplice, splice, tee (Timo Teräs)Bernhard Reutner-Fischer2008-05-021-10/+22
| | | | - pull bits/fcntl.h from glibc (Timo Teräs)
* - fixup asm. No object-code changesBernhard Reutner-Fischer2008-04-242-2/+2
|
* A patch from our Blackfin repository, originally from Jie Zhang. This fixesBernd Schmidt2008-01-171-3/+0
| | | | | | | | | | | | | a problem where the linker was trying to use the wrong symbol name for the init function. Define SYMBOL_PREFIX as _ in Rules.mak for h8300, bfin, i960, microblaze, and v850. Add -D__UCLIBC_UNDERSCORES__ in CFLAGS for targets which define SYMBOL_PREFIX as _. Remove defines and undefs from uClibc_arch_features.h of each target. Add $(SYMBOL_PREFIX) to __uClibc_init when passed by ld option -init.
* change NO_UNDERSCORES to just UNDERSCORES so as to be less confusing when ↵Mike Frysinger2008-01-081-1/+1
| | | | doing double negatives
* michael_d writes in #1874: Mike Frysinger2008-01-051-2/+2
| | | | | | | | | On an i386 platform with no rt_sigsuspend syscall (ie: Linux 2.0), compilation will halt on libc/sysdeps/linux/common/sigsuspend.os with a cryptic error message: "Error: non-constant expression in ".if" statement" I've investigated and found that the cause is that a literal '0' is being passed into a block of complex assembler macrology that is only prepared to deal with register names - '%eax', etc. In turn, that seems to be because of a typo in the GCC register constraints. The constraints for 2 and 3-argument syscalls includes a "C" constraint. To gcc, "C" means an SSE floating point constant -- an unlikely element in a syscall. I suspect the author meant to type "S" (%esi).
* Remove stray code alignment (.align 16 and .align 4 directives)Denis Vlasenko2007-07-298-9/+0
| | | | | from i386 and x86_64.
* - make sure to define _LIBC in libc-symbols.h before including anythingBernhard Reutner-Fischer2007-06-241-0/+2
| | | | | | else. - internal_function is only used inside libc, so do not define it in uClibc_arch_features.h on i386 if we are outside of libc.
* Using local variable 'result' caused problems with lseek64 syscall failing ↵Khem Raj2007-03-131-10/+9
| | | | with gcc 4.2. Renaming to make it a bit uncommon name.
* Add posix_fadvise posix_fadvise64 for arm.Khem Raj2007-03-061-15/+27
| | | | | Import INTERNAL_SYSCALL macro for i386 from glibc. Use above macro in posix_fadvise implementation if an arch defines it.
* Add a hack for compiling a 32 bit user space with a 64 bit kernel on x86_64Eric Andersen2007-02-281-1/+5
|
* Take Mike Frysinger's comments into account -- make certain that userEric Andersen2006-12-081-5/+0
| | | | | applications stop using _syscall#() and use syscall() instead. Cleanup internal handling of syscall includes to use the correct header file.
* bits/kernel_stat.h is for internal uClibc use only, fix a few otherEric Andersen2006-12-061-0/+4
| | | | minor include file issues
* fix from psm: enable readahead prototypeMike Frysinger2006-08-241-1/+3
|
* use the common huge_val.h version nowMike Frysinger2006-08-241-81/+0
|
* fix from psm: just use common resource.hMike Frysinger2006-08-241-209/+0
|
* sync with psm: update errno handling to be the same on all archesMike Frysinger2006-08-231-2/+4
|
* sync with upstream via psmMike Frysinger2006-08-237-85/+191
|
* fixes from psm: hide internal brk symbolsMike Frysinger2006-08-231-3/+2
|
* fixes from psm: disable unsupported __fpu_control and sync with upstreamMike Frysinger2006-08-231-4/+10
|
* bits/profil-counter.h and bits/atomicity.h are leftovers from the old gprofEric Andersen2006-08-212-89/+0
| | | | | based profiling I nuked ages ago since tools like oprofile are non invasive and work so much better.
* sync with glibcMike Frysinger2006-04-211-6/+15
|
* prune trailing whitespaceEric Andersen2006-04-131-2/+2
|
* sync with glibcMike Frysinger2006-03-291-3/+18
|
* Replace __THROW w/ __NTH pointed out by Amir ShalemPeter S. Mazinger2006-03-201-21/+21
|
* Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, ↵Peter S. Mazinger2006-03-101-3/+0
| | | | most of global data relocations are back
* disable older rlimit support by defaultMike Frysinger2006-03-041-1/+2
|
* Block the combo DOMULTI/SUPPORT_LD_DEBUGPeter S. Mazinger2006-02-151-1/+41
|
* Weaken all internal vfork versions in asm code, wondering why only some of ↵Peter S. Mazinger2006-02-131-1/+1
| | | | the archs fail