summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux
Commit message (Collapse)AuthorAgeFilesLines
...
* Restored indentation.Peter Kjellerstedt2007-05-152-11/+13
|
* Made it compile again.Peter Kjellerstedt2007-05-151-1/+1
|
* Fix arm mmap when using mmap2 syscall. Fixes bug #1303Khem Raj2007-05-152-4/+16
|
* Carmelo AMOROSO writes:Mike Frysinger2007-04-301-2/+2
| | | | | | | running LTP test suite on uClibc-nptl for sh4 I found a bug into pread and pwrite functions. When the offset is negative it is not correctly handled due to a missing shift operation, so it is passed to the syscall as the highest unsigned positive value.
* fixes from Carmelo AMOROSO to depend less on kernel headersMike Frysinger2007-04-021-1/+10
|
* Update comment regarding passing dl_fini.Joakim Tjernlund2007-03-311-2/+5
|
* Revert last change until we figure out the correct fix.Rob Landley2007-03-291-1/+1
|
* Make the code match the comments. (I narrowed down the bug, Khem Raj Rob Landley2007-03-281-1/+1
| | | | | pointed out the solution. This fixes a segfault for me on exit from a statically linked "hello world".)
* Joseph S. Myers writes:Joakim Tjernlund2007-03-191-0/+7
| | | | | | | | | On PowerPC, r13 is used for a small data pointer and needs to be set up from _SDA_BASE_ (defined by the linker) at startup. This is needed for the GCC testcase gcc.target/powerpc/980827-1.c to work. This patch fixes that testcase (verified for both static and dynamic linking).
* Bernd Schmidt writes: The following patch is needed for libc to be able to ↵Mike Frysinger2007-03-181-0/+3
| | | | emulate poll with ppoll.
* dont include asm/user.hMike Frysinger2007-03-141-3/+53
|
* 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.
* fix from upstream blackfin repo for sigsetjmpMike Frysinger2007-03-121-2/+3
|
* Patch from Al Stone to fix ia64:Rob Landley2007-03-111-1/+1
| | | | | | | | | The attached patch works around some compilation failures on ia64 caused by the use of the C preprocessor ## operator, and allows the ia64 default configuration to build again -- or, at least get as far as an x86 build does (the current source tree has some problems compiling because of conflicting type declarations for __kernel_dev_t).
* Sync kernel_stat64 with kernel. Thanks to Daniel Jacobowitz for hints.Khem Raj2007-03-081-7/+2
|
* Patch from Khem Raj that fixes running gcc on arm for me. (Otherwise itRob Landley2007-03-081-6/+42
| | | | says "virtual memory exhausted" trying to build hello world.)
* svn 17941/17943 broke the build. 18032 made the threaded case compile Rob Landley2007-03-081-5/+0
| | | | | | again, this makes the non-threaded case compile again. I have no idea if this is the proper fix, I'm just tired if it not compiling for two weeks.
* Sync sh's procfs.h with glibc, fixes gdbserver.Paul Mundt2007-03-071-2/+2
| | | | | Patch from Carmelo Amoroso <carmelo73@gmail.com>.
* Fix PLTJMP() token pasting build error, patch fromPaul Mundt2007-03-071-1/+1
| | | | | Carmelo Amoroso <carmelo73@gmail.com>.
* I always miss svn add.Khem Raj2007-03-062-0/+84
|
* 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