summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
AgeCommit message (Collapse)Author
2004-05-11make certain that getpagesize() returns correct the value for mipsEric Andersen
by extracting the value from the ELF header.
2004-05-07Patch from Yoshinori Sato <ysato@users.sourceforge.jp>.Manuel Novoa III
2004-05-07Fix a couple of issues in configurations I hadn't tested.Manuel Novoa III
2004-05-05Fix screwed up formattingEric Andersen
2004-05-05Jeroen Dobbelaere writes:Eric Andersen
Because variables are linked to fixed registers, there is a problem in : (*__errno_location())=(-_r0); As __errno_location() uses r0 to return the address of the errno location, the negated address will be assigned instead of the error code. Attached patch will resolve this.
2004-04-23It turns out that asm/reg.h is missing from the 2.6.x kernel headers,Eric Andersen
which prevents libthread_db (used by gdb) from compiling. Include a copy within include/sys/user.h for mips, per what was done in glibc.
2004-04-20Cope with gcc 3.4's more aggressive persuit of attribute unusedEric Andersen
2004-04-14Fix typo.Manuel Novoa III
2004-03-19Per patch from Stefan Holst, do not try to compile theseEric Andersen
syscalls if they are not supported.
2004-03-19Patch from Stefan Holst to fix argv[0]Eric Andersen
2004-03-19Based on a patch from Alexandre Oliva, allow uClibc to compileEric Andersen
with __NR_mmap is not available (i.e. only __NR_mmap2)
2004-03-18Alexandre Oliva writes:Eric Andersen
I added this function after I posted the last version of the FR-V patch. Add syscall.c.
2004-03-18Based on a patch from Alexandre Oliva, remove all reference to 'bzero' (whichEric Andersen
is not a SuSv3 symbol). Rather than using __bzero internally per Alexandre's original patch, use memset instead.
2004-03-12Cope gracefully with missing module syscallsEric Andersen
2004-02-18Fixup naming of '_mmap' to 'mmap' so it will properly overrideEric Andersen
the symbol in common.
2004-02-18Alexandre Oliva writes:Eric Andersen
This patch adds code to uClibc to support a new ABI designed for the FR-V architecture, that enables text segments of executables and shared libraries to be shared by multiple processes on an OS such as uClinux, that can run on FR-V processors without an MMU. Patches for binutils and GCC have just been posted in the corresponding mailing lists. The binutils patch was approved, but there's one additional patch pending review, that I posted this week. An updated GCC patch will be posted to gcc-patches@gcc.gnu.org as soon as I complete testing (I used a known-good compiler to test the uClibc patch below). Since the existing dynamic loader code didn't support independent relocation of segments, it required changes that were somewhat extensive. I've added a number of new machine-specific macros to try to keep the platform and ABI-specific details outside the generic code. I hope this is not a problem.
2004-02-17Fixup fdatasync on alpha, thanks to Alan HourihaneEric Andersen
2004-02-15Generic fork works. Use it instead since this didn't handle errno_location.Manuel Novoa III
2004-02-15Oops.Eric Andersen
2004-02-15Mips can use the generic vforkEric Andersen
2004-02-15Cris can use the generic vforkEric Andersen
2004-02-15This should not be inlined. This should probably use aEric Andersen
weak alias as well...
2004-02-15Fixup fork implementation to provide the __libc_fork symbolEric Andersen
2004-02-15Use the generic fork implementation on sh64Eric Andersen
2004-02-12Add missing mips specific include/sys/user.hEric Andersen
2004-02-11New stdio core. Should be more maintainable. Fixes a couple of bugs.Manuel Novoa III
Codepaths streamlined. Improved performance for nonthreaded apps when linked with a thread-enabled libc. Minor iconv bug and some locale/thread related startup issues fixed. These showed up in getting a gcj-compiled java helloworld app running. Removed some old extension functions... _stdio_fdout and _stdio_fsfopen.
2004-02-11Fix bug from the syscall reorganization, detected by python's test_poll.py.Manuel Novoa III
The #ifdef __NR_poll test was failing because it was done before any includes. Hence, the emulation was always being used. NOTE: The emulation fails a couple of tests in test_poll.py!
2004-02-10Do not include the create_module syscall if it is not presentEric Andersen
2004-02-06Fix completely hosed up formattingEric Andersen
2004-02-06Sigh. The 2.6.x kernel removed '__kernel_dev_t' and renamed it asEric Andersen
'__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
2004-02-05Patch from Alan Hourihane <alanh@fairlite.demon.co.uk> for building alpha.Manuel Novoa III
2004-02-05Use 'mmap.c' instead of '_mmap.c'Eric Andersen
2004-01-30Andrew May writes:Eric Andersen
Here are some simple fixes for things that broke for PPC with the recent syscall cleanup. I am not sure they are correct but they seem pretty trivial.
2004-01-24Oleksandr G. Zhadan writes:Eric Andersen
Hi Eric, The attached diff file includes BUS_ISA fix for kernel since 2.4.23/ Kind regards, Oleks
2004-01-21Sort all the filesEric Andersen
2004-01-21Split up syscalls.c, since it had grown to be quite large and ugly.Eric Andersen
-Erik
2004-01-21Add pollEric Andersen
2004-01-21Move poll to its own file, rather than being only half in its own fileEric Andersen
2004-01-21Massive formatting cleanup, making it easier to parseEric Andersen
2004-01-17Add __data_start needed by boehm garbage collector, in turn needed by libgcj.Manuel Novoa III
2004-01-16s/UCLIBC_HAS_MMU/ARCH_HAS_MMU/gEric Andersen
2004-01-03And just like that, clone is now fixed.... Previously theEric Andersen
error handling code was mostly broken. -Erik
2004-01-03oopsEric Andersen
2004-01-03Minor changesEric Andersen
2004-01-02Peter S. Mazinger writes:Eric Andersen
Hello Erik! I have made some cosmetical changes to the files, removed the added SCRT=-fPIC option from building the crt0.S file (but it is a requirement to build them with -fPIC), and changed some comments. I have left the ldso.c patch with PIE_SUPPORT ifdefs, but consider applying it w/o them (see some earlier comment from PaX Team on this issue, as it is considered a bug). To have it work correctly, you'll also need removing COMPLETELY_PIC. One thing is missing: PIE_SUPPORT should be usable only for i386 (for now). Also added the support for propolice protection (that works for me and catches memcpy/strcpy attacks (but needs a special gcc version). Thanks, Peter
2004-01-02rohde at soap dot adsl dot dk writes:Eric Andersen
The macro to do some floating point checks in libc/sysdeps/linux/powerpc/setjmp.S is incorrect. The following should fix it. Same applies to uClibc/libc/sysdeps/linux/powerpc/__longjmp.S Hope there aren't other files I've missed :)
2004-01-02rohde at soap dot adsl dot dk writes:Eric Andersen
The macro to do some floating point checks in libc/sysdeps/linux/powerpc/setjmp.S is incorrect. The following should fix it.
2004-01-02The checking Erik added seems to be unnecessary. Without it, I am notManuel Novoa III
seeing any LTP failures.
2004-01-02Minor fix from upstream glibc.Manuel Novoa III
2003-12-31Fir errno return when the file/path is NULL or points to an empty string.Eric Andersen
-Erik