Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | michael_d writes in [#2064]: fix building on linux-2.0 systems | Mike Frysinger | 2008-03-21 | 4 | -6/+21 | |
| | ||||||
* | posix_fadvise64 on 64bit systems take 5 arguments, not 6, as pointed out by ↵ | Mike Frysinger | 2008-02-16 | 1 | -1/+1 | |
| | | | | skinkie in #2194 | |||||
* | fix typo pointed out by skinkie in #2194 | Mike Frysinger | 2008-02-16 | 1 | -1/+1 | |
| | ||||||
* | A patch from our Blackfin repository, originally from Jie Zhang. This fixes | Bernd Schmidt | 2008-01-17 | 1 | -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 Frysinger | 2008-01-08 | 1 | -1/+1 | |
| | | | | doing double negatives | |||||
* | this code does not actually rely on INTERNAL_SYSCALL | Mike Frysinger | 2008-01-05 | 1 | -3/+1 | |
| | ||||||
* | if an arch does not provide __NR_mmap, fall back to __NR_mmap2 (this just ↵ | Mike Frysinger | 2008-01-05 | 1 | -0/+29 | |
| | | | | generalizes what Blackfin was already doing) | |||||
* | add BOTHER define from termios2 | Mike Frysinger | 2008-01-05 | 1 | -0/+1 | |
| | ||||||
* | implement semtimedop for #927 | Mike Frysinger | 2008-01-05 | 1 | -17/+0 | |
| | ||||||
* | michael_d in #1849 writes: The getcwd() implementation in the absence of a ↵ | Mike Frysinger | 2008-01-05 | 1 | -1/+1 | |
| | | | | getcwd syscall has an off-by-one allocation bug. As a result, sometimes the returned string has garbage at the end. | |||||
* | Poll with zero timeout | Joakim Tjernlund | 2007-10-23 | 1 | -0/+4 | |
| | | | | | | | | | | Jean-Christian de Rivaz writes: The attached patch solve an issue I faced while using the libdbus-glib waiting for a D-Bus message or the end of a glib timer at the same time. This specific case of use generate a poll call with a zero timeout. On platformes with the glibc a zero timeout poll return immetiately even if there is no file descriptor event. But on platformes with uClibc a zero timeout poll block until a file descriptor event occurs. | |||||
* | if __NR__newselect and __NR_select are unavailable, fall back to __NR_pselect6 | Mike Frysinger | 2007-09-15 | 1 | -0/+24 | |
| | ||||||
* | include/sys/mman.h says that msync exists only on MMU. | Denis Vlasenko | 2007-07-18 | 1 | -0/+4 | |
| | | | | | Make msync.c agree on this. | |||||
* | Enable all of the remaining baud rates. All of the other architectures have ↵ | "Steven J. Hill" | 2007-07-18 | 1 | -4/+0 | |
| | | | | them enabled, so let's go all the way. There was a quick discussion on IRC about making the max baud rate configurable. That requires a bunch of #ifdef salting throughout all of the 'termios.h' files for the pre-processor to chew on. I'm going to pass on that for now. | |||||
* | Atsushi Nemoto writes: | Mike Frysinger | 2007-05-31 | 2 | -4/+2 | |
| | | | | | http://www.opengroup.org/onlinepubs/009695399/functions/posix_fadvise.html states it returns error code instead of setting errno. | |||||
* | Jean-Christian de Rivaz writes: | Mike Frysinger | 2007-05-25 | 1 | -1/+1 | |
| | | | | | | | | I actually suspect this code into the file uClibc/libc/sysdeps/linux/common/poll.c: tval.tv_nsec = (timeout % 1000) *1000; <==== make only usec! From milisecond this really needs a * 1000000 to make nanosecond. Without this a 1100 milisecond timeout is converted into a 1 seconde and 100 microsecond timeout! This can explain the weird result of the test code. | |||||
* | Restored indentation. | Peter Kjellerstedt | 2007-05-15 | 1 | -7/+8 | |
| | ||||||
* | Made it compile again. | Peter Kjellerstedt | 2007-05-15 | 1 | -1/+1 | |
| | ||||||
* | Fix arm mmap when using mmap2 syscall. Fixes bug #1303 | Khem Raj | 2007-05-15 | 1 | -2/+7 | |
| | ||||||
* | Bernd Schmidt writes: The following patch is needed for libc to be able to ↵ | Mike Frysinger | 2007-03-18 | 1 | -0/+3 | |
| | | | | emulate poll with ppoll. | |||||
* | svn 17941/17943 broke the build. 18032 made the threaded case compile | Rob Landley | 2007-03-08 | 1 | -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. | |||||
* | Add posix_fadvise posix_fadvise64 for arm. | Khem Raj | 2007-03-06 | 2 | -0/+33 | |
| | | | | | Import INTERNAL_SYSCALL macro for i386 from glibc. Use above macro in posix_fadvise implementation if an arch defines it. | |||||
* | Should be __sigset_t instead of sigset_t. | Khem Raj | 2007-03-01 | 1 | -2/+2 | |
| | ||||||
* | add support for ppoll() and emulate poll() with it when __NR_poll does not exist | Mike Frysinger | 2007-02-28 | 2 | -0/+64 | |
| | ||||||
* | ifdef out RTLD defines we dont actually support nor are in POSIX | Mike Frysinger | 2007-02-28 | 1 | -0/+2 | |
| | ||||||
* | Impl. linux syscalls sched_getaffinity/sched_setaffinity but | Joakim Tjernlund | 2007-02-12 | 2 | -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. | |||||
* | Make sure struct stat is identical to struct stat64 if | Peter Kjellerstedt | 2007-02-02 | 1 | -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/g | Bernhard Reutner-Fischer | 2007-01-29 | 1 | -2/+2 | |
| | ||||||
* | sync with glibc as pointed out by Bernhard Fischer | Mike Frysinger | 2007-01-28 | 1 | -3/+2 | |
| | ||||||
* | - commentary typo fix | Bernhard Reutner-Fischer | 2007-01-28 | 1 | -1/+2 | |
| | ||||||
* | initial waitid() implementation | Mike Frysinger | 2007-01-28 | 1 | -0/+15 | |
| | ||||||
* | need string.h for memset() | Mike Frysinger | 2007-01-28 | 1 | -0/+1 | |
| | ||||||
* | make sure we clear out the buffer so that random garbage on the stack doesnt ↵ | Mike Frysinger | 2007-01-28 | 1 | -2/+6 | |
| | | | | screw us up | |||||
* | fix from blackfin repo: Jie Zhang writes: Passing NULL as the second ↵ | Mike Frysinger | 2007-01-27 | 1 | -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-20 | 1 | -0/+2 | |
| | ||||||
* | Fix SEGV for static builds in exit() path. | Joakim Tjernlund | 2007-01-10 | 1 | -1/+1 | |
| | | | | Leave the now obsolete libc/misc/pthread dir in for now. | |||||
* | Aurelien Jacobs writes: | Joakim Tjernlund | 2007-01-09 | 1 | -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. | |||||
* | fix building when __NR_sigalstack does not exist | Mike Frysinger | 2006-12-14 | 1 | -0/+3 | |
| | ||||||
* | if __NR_lseek is not defined, then we fall back to calling the 64bit lseek | Mike Frysinger | 2006-12-14 | 1 | -0/+9 | |
| | ||||||
* | fix building when pthread support is disabled | Mike Frysinger | 2006-12-11 | 1 | -1/+1 | |
| | ||||||
* | dont try and compile if the MMU is disabled | Mike Frysinger | 2006-12-11 | 1 | -0/+4 | |
| | ||||||
* | need endian.h for __LONG_LONG_PAIR() macro | Mike Frysinger | 2006-12-11 | 1 | -0/+1 | |
| | ||||||
* | cleanup style | Mike Frysinger | 2006-12-11 | 1 | -36/+36 | |
| | ||||||
* | Add missing sys/types.h header | Eric Andersen | 2006-12-09 | 6 | -6/+12 | |
| | ||||||
* | silence a lot of warnings and fix a few genuine bugs while I'm at it. | Eric Andersen | 2006-12-09 | 2 | -6/+16 | |
| | ||||||
* | seems this is the newfangled way to tell folks this stuff | Eric Andersen | 2006-12-08 | 1 | -1/+1 | |
| | | | | is really really and we mean it this time, for uClibc only | |||||
* | Take Mike Frysinger's comments into account -- make certain that user | Eric Andersen | 2006-12-08 | 164 | -164/+164 | |
| | | | | | applications stop using _syscall#() and use syscall() instead. Cleanup internal handling of syscall includes to use the correct header file. | |||||
* | if __NR_swapon does not exist, dont try and create a syscall for it | Mike Frysinger | 2006-12-08 | 1 | -0/+5 | |
| | ||||||
* | if __NR_swapoff does not exist, dont try and create a syscall for it | Mike Frysinger | 2006-12-08 | 1 | -0/+5 | |
| | ||||||
* | if __NR_msync does not exist, dont try and create a syscall for it | Mike Frysinger | 2006-12-08 | 1 | -0/+5 | |
| |