summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux
Commit message (Collapse)AuthorAgeFilesLines
...
* Add posix_fadvise posix_fadvise64 for arm.Khem Raj2007-03-064-16/+62
| | | | | Import INTERNAL_SYSCALL macro for i386 from glibc. Use above macro in posix_fadvise implementation if an arch defines it.
* Fix compiler warning about shadowed declaration.Khem Raj2007-03-011-20/+20
|
* Should be __sigset_t instead of sigset_t.Khem Raj2007-03-011-2/+2
|
* add support for ppoll() and emulate poll() with it when __NR_poll does not existMike Frysinger2007-02-282-0/+64
|
* Add a hack for compiling a 32 bit user space with a 64 bit kernel on x86_64Eric Andersen2007-02-281-1/+5
|
* ifdef out RTLD defines we dont actually support nor are in POSIXMike Frysinger2007-02-281-0/+2
|
* Atsushi Nemoto writes:Mike Frysinger2007-02-151-348/+65
| | | | | | | | | | | | | | | When I imported INLINE_SYSCALL, etc. from glibc, I just copied whole macros for each ABI. Actually, except for argument type (long vs. long long), internal_syscall[0-4] are identical for all ABI, and internal_syscall[5-6] for N32/N64 are identical for N32/N64. And I just disabled FORCE_FRAME_POINTER since it had caused build failure, but including <alloca.h> can solve it. Here is a patch to handle these issues, plus asm/__asm__ and volatile/__volatile__ conversion. Thanks for Peter S. Mazinger who did basic work of this cleanup.
* Add missing bits/fenv.h that got lost in the e500 port.Joakim Tjernlund2007-02-134-19/+169
| | | | | clean up E500 math support somewhat. From Steve Papacharalambous with mods by me.
* Impl. linux syscalls sched_getaffinity/sched_setaffinity butJoakim Tjernlund2007-02-122-0/+130
| | | | | | | | | protect its use by #ifdef INTERNAL_SYSCALL since not all arch's has INTERNAL_SYSCALL. All arch's not having INTERNAL_SYSCALL in libc/sysdeps/linux/<arch>/bits/syscalls.h should get an update from glibc.
* Updates from glibc.Joakim Tjernlund2007-02-121-28/+183
|
* Rehash the PowerPC e500 port to avoid creating symlinks Joakim Tjernlund2007-02-1220-757/+545
| | | | | | | in the powerpc arch code and make more code common with classic PowerPC. From Steve Papacharalambous Lets hope I didn't break something.
* Atsushi Nemoto writes:Mike Frysinger2007-02-122-121/+164
| | | | | | | | | | Current ucontext_t does not match with kernel's definition. Also, on N32 ABI, we can not use kernel's struct sigcontext since kernel's sizeof(long) and user's sizeof(long) is differ. For both data structure, just importing header files from recent glibc fixes the mismatch. So here is a patch importing sys/ucontext.h and bits/sigcontext.t from glibc-2.5.
* Removed a .align 2 by mistake in previous commit.Joakim Tjernlund2007-02-121-0/+2
|
* Remove #APP/#NO_APP since -std=gnu99 will makeJoakim Tjernlund2007-02-122-18/+2
| | | | gcc barf otherwise.
* Atsushi Nemoto writes:Mike Frysinger2007-02-111-266/+583
| | | | | | | | This patch imports INLINE_SYSCALL, etc. from glibc-2.5 ports and implements _syscall[0-7] by using them, like arm and powerpc. I think this patch does not change functionality, but gives better __SYSCALL_CLOBBERS for N32/N64.
* we dont actually need asm/page.hMike Frysinger2007-02-101-3/+0
|
* Atsushi Nemoto writes: Add st_[amc]timensec to N32/N64 version of stat, add ↵Mike Frysinger2007-02-092-21/+23
| | | | st_[amc]time_nsec to each kernel_stat, and define STAT_HAVE_NSEC to convert them
* sh crti.S needs features.h to resolve __HAVE_SHARED__, trivial patchPaul Mundt2007-02-071-0/+2
| | | | | from Carmelo Amoroso <carmelo73@gmail.com>.
* Add support for PowerPC e500, libc part only.Joakim Tjernlund2007-02-0417-0/+577
| | | | | Math support to be done. From Steve Papacharalambous, stevep@freescale.com
* fixup includes so we compile againMike Frysinger2007-02-042-6/+4
|
* fix compiling and touchup styleMike Frysinger2007-02-041-14/+16
|
* sync some stuff from glibc to fix test build failureMike Frysinger2007-02-041-6/+7
|
* Make sure struct stat is identical to struct stat64 ifPeter Kjellerstedt2007-02-021-2/+4
| | | | | | __USE_FILE_OFFSET64 is defined. This was the case for all architectures except those that use packed structures by default (i.e., CRIS).
* - s/if USE___THREAD/if defined USE___THREAD && USE___THREAD/gBernhard Reutner-Fischer2007-01-291-2/+2
|
* pull in unistd.h for syscall() prototypeMike Frysinger2007-01-291-0/+1
|
* sync with glibc as pointed out by Bernhard FischerMike Frysinger2007-01-281-3/+2
|
* - commentary typo fixBernhard Reutner-Fischer2007-01-281-1/+2
|
* initial waitid() implementationMike Frysinger2007-01-281-0/+15
|
* need string.h for memset()Mike Frysinger2007-01-281-0/+1
|
* make sure we clear out the buffer so that random garbage on the stack doesnt ↵Mike Frysinger2007-01-281-2/+6
| | | | screw us up
* Paul Brook writes:Mike Frysinger2007-01-281-3/+4
| | | | | The patch below tweaks the ARM nommu startup code so that doubleword stack alignment is preserved. This is required on EABI targets.
* fix from blackfin repo: Jie Zhang writes: update __kernel_ipc_pid_t, ↵Mike Frysinger2007-01-271-3/+3
| | | | __kernel_uid_t and __kernel_gid_t types to match actual kernel types
* fix from blackfin repo: Jie Zhang writes: Passing NULL as the second ↵Mike Frysinger2007-01-271-6/+1
| | | | argument to utimes () if the second argument to utime () is NULL as the kernel will take care of getting/setting current time
* Disable declarations for NPTL."Steven J. Hill"2007-01-201-0/+2
|
* merge from blackfin.uclinux.org: AdjustMike Frysinger2007-01-101-17/+10
| | | | crt1.S so that __uClibc_main is called properly
* Fix SEGV for static builds in exit() path.Joakim Tjernlund2007-01-101-1/+1
| | | | Leave the now obsolete libc/misc/pthread dir in for now.
* sync with upstream blackfin.uclinux.orgMike Frysinger2007-01-101-94/+94
|
* Aurelien Jacobs writes:Joakim Tjernlund2007-01-091-1/+1
| | | | | | | | | | | | | | | | | | After our last update a new compilation breakage appeared when compiling gcc: /home/aurel/geex/geexbox/build.i386/toolchain/i386-pc-linux-uclibc/sysroot/usr/include/bits/uClibc_stdio.h:346: error: expected initializer before 'attribute_hidden' Some investigations revealed that the following changeset is responsible for this breakage: http://uclibc.org/cgi-bin/viewcvs.cgi/trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_stdio.h?rev=16801&r1=16793&r2=16801&diff_format=h Reverting just one hunk of this changeset fixed the problem us. I'm not sure this is the right fix, but please see attached patch. Look good to me.
* Support SecurePLTs for PowerPC. You need a toolchain that supportsJoakim Tjernlund2007-01-055-15/+23
| | | | | | config option --enable-secureplt. The assembler must also supports R_PPC_REL16* relocations. gcc 4.1.1 and binutils 2.17 is known to do this.
* Atle Nissestad writes: The attached patch fixes compilation of the current ↵Mike Frysinger2007-01-056-44/+312
| | | | svn on the nios2 platform, and updates the crt1/n/i.S files to get CTOR/DTOR-support to work.
* fix building when __NR_sigalstack does not existMike Frysinger2006-12-141-0/+3
|
* if __NR_lseek is not defined, then we fall back to calling the 64bit lseekMike Frysinger2006-12-141-0/+9
|
* sort out a few issues that show up on mipsEric Andersen2006-12-123-23/+37
|
* fix building when pthread support is disabledMike Frysinger2006-12-111-1/+1
|
* dont try and compile if the MMU is disabledMike Frysinger2006-12-111-0/+4
|
* need endian.h for __LONG_LONG_PAIR() macroMike Frysinger2006-12-111-0/+1
|
* cleanup styleMike Frysinger2006-12-111-36/+36
|
* create new menu so people can select what format they wish to build uClibcMike Frysinger2006-12-112-5/+5
|
* Add missing sys/types.h headerEric Andersen2006-12-096-6/+12
|
* silence a lot of warnings and fix a few genuine bugs while I'm at it.Eric Andersen2006-12-092-6/+16
|