Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | add more tests as suggested by Natanael Copa and as harvested from: | Mike Frysinger | 2007-09-15 | 1 | -1/+31 | |
| | | | | http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/92880 | |||||
* | Blue Swirl writes: | Mike Frysinger | 2007-09-15 | 15 | -12/+20 | |
| | | | | | | | | | | | | | | | | | | | | I got the library to compile with the attached patches, though dynamic loader crashes early. In buildroot I changed the architecture name by hand from sparc to sparc64, otherwise the compiler produced 32-bit files with V9 (64-bit) instructions. This configuration is not supported by QEMU, so I aimed for pure 64-bit. I think Sparc64 option needs to be added to buildroot. The _Qp_ ops seem to be required by the ABI. This and setjmp patches are just hacks to get the compilation further. The _Qp_ ops can be found in glibc, would it be OK to use those? V9 assembler requires declarations for global register use. The mem* functions in sparc32 directory did not work. They are actually used only by the hybrid 32-bit + V9 CPU configuration. | |||||
* | simplify binutils as-needed support and enable it all the time regardless of ssp | Mike Frysinger | 2007-09-15 | 1 | -5/+1 | |
| | ||||||
* | setup OUTPUT_FORMAT() in linker script (helps with multilib) | Mike Frysinger | 2007-09-15 | 1 | -0/+3 | |
| | ||||||
* | Atsushi Nemoto writes: | Mike Frysinger | 2007-09-15 | 2 | -1/+11 | |
| | | | | | | | In MIPS syscall(2), .cpload was added to an the error path, but it was not enough for ABIs other then O32. Use SETUP_GP, SETUP_GP64 and RESTORE_GP64 to handle all ABIs. This patch fixes an error path of MIPS pipe(2) too. | |||||
* | sync with glibc | Mike Frysinger | 2007-09-15 | 3 | -29/+100 | |
| | ||||||
* | actually update errors variable when a test fails | Mike Frysinger | 2007-09-15 | 1 | -0/+1 | |
| | ||||||
* | add strerror_r symbol alias as some autotool based packages simply use ↵ | Mike Frysinger | 2007-09-15 | 1 | -0/+6 | |
| | | | | AC_CHECK_LIB() to see if a function exists rather than checking the headers | |||||
* | drop __user hack for crappy kernel headers and document the __linux__ grease | Mike Frysinger | 2007-09-15 | 1 | -4/+4 | |
| | ||||||
* | fix from Kevin Day to make sure we use strchr() rather than index() | Mike Frysinger | 2007-09-15 | 1 | -2/+2 | |
| | ||||||
* | sgetspent: add missing free/__uc_malloc calls | Denis Vlasenko | 2007-08-01 | 1 | -0/+2 | |
| | | | | | (spotted by Peter S. Mazinger <ps.m@gmx.net>) | |||||
* | make regex_old.c, ruserpass.c use __uc_malloc, | Denis Vlasenko | 2007-07-30 | 7 | -19/+20 | |
| | | | | | | | | | | | | | replace "buf = malloc(BUFSIZ); if (!buf) abort();" by __uc_malloc elsewhere. With last 7 patches together uclibc has 3k of static data total with fairly big .config and with 2k being used for 2 x BUFSIZ stdio buffer: text data bss dec hex filename 114 132 2048 2294 8f6 _stdio.o (ex lib/libc.a) total data 593 total bss 3062 | |||||
* | make getnetent.c, md5.c use __uc_malloc | Denis Vlasenko | 2007-07-30 | 2 | -14/+35 | |
| | ||||||
* | make utent.c, getpass.c use __uc_malloc | Denis Vlasenko | 2007-07-30 | 2 | -6/+14 | |
| | ||||||
* | make pwd_grp.c use __uc_malloc | Denis Vlasenko | 2007-07-30 | 1 | -39/+90 | |
| | ||||||
* | patch #3: make resolv.c use __uc_malloc | Denis Vlasenko | 2007-07-30 | 2 | -12/+30 | |
| | ||||||
* | convert des.c to use __uc_malloc (-70 kbytes of bss) | Denis Vlasenko | 2007-07-30 | 1 | -25/+79 | |
| | ||||||
* | introduce __uc_malloc, so that users can intercept libc internal OOM. | Denis Vlasenko | 2007-07-30 | 3 | -1/+49 | |
| | ||||||
* | Remove stray code alignment (.align 16 and .align 4 directives) | Denis Vlasenko | 2007-07-29 | 29 | -32/+16 | |
| | | | | | from i386 and x86_64. | |||||
* | execXp should go to next PATH dir on any error except ENOEXEC, | Denis Vlasenko | 2007-07-18 | 1 | -3/+3 | |
| | | | | | | not just on ENOENT (in particular, on EPERM). At least glibc does so. Fixing this. | |||||
* | 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. | |||||
* | des.c: move 0.5k of static data on stack, they are used only temporarily | Denis Vlasenko | 2007-07-18 | 1 | -4/+5 | |
| | | | | | by des_init. | |||||
* | 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. | |||||
* | Apply patch as submitted by Blue Smurfy Swirly <blauwirbel@gmail.com> for ↵ | "Steven J. Hill" | 2007-07-18 | 1 | -0/+6 | |
| | | | | Sparc32. | |||||
* | syslog.h: allow prioritynames[]/facilitynames[] to be defined const | Denis Vlasenko | 2007-07-14 | 1 | -0/+6 | |
| | | | | | (selectable by #defining SYSLOG_NAMES_CONST) | |||||
* | Fix broken syscall() function since the original patch did not work. | "Steven J. Hill" | 2007-07-12 | 1 | -2/+4 | |
| | ||||||
* | tweak msync prototype to match header | Mike Frysinger | 2007-06-29 | 1 | -1/+1 | |
| | ||||||
* | - make sure to define _LIBC in libc-symbols.h before including anything | Bernhard Reutner-Fischer | 2007-06-24 | 2 | -10/+12 | |
| | | | | | | 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. | |||||
* | as noted by psm, make sure we accumulate PICFLAG-y back into PICFLAG | Mike Frysinger | 2007-06-22 | 1 | -0/+1 | |
| | ||||||
* | pull from Blackfin repo: add -mid-shared-library for ↵ | Mike Frysinger | 2007-06-22 | 1 | -5/+5 | |
| | | | | UCLIBC_FORMAT_SHARED_FLAT and -msep-data for UCLIBC_FORMAT_FLAT_SEP_DATA | |||||
* | Carmelo AMOROSO <carmelo.amoroso@st.com> writes: | Joakim Tjernlund | 2007-06-13 | 1 | -2/+14 | |
| | | | | | | | | Hi All, this patch fixes a mismatch in ucontext struct between uClibc and kernel. In this way a signal handler installed by sigaction can access to the whole machine state correctly. This can be applied both to trunk and nptl branch | |||||
* | Correct return value. Pointed out by psm. | Joakim Tjernlund | 2007-06-04 | 1 | -1/+1 | |
| | ||||||
* | change the auxvt code from being dependent on MMU to !LDSO as auxvt things ↵ | Mike Frysinger | 2007-06-01 | 1 | -5/+5 | |
| | | | | are ELF-specific, not MMU-specific | |||||
* | Bernd Schmidt writes: make sure custom stacks work properly for no-mmu | Mike Frysinger | 2007-05-31 | 1 | -0/+7 | |
| | ||||||
* | Atsushi Nemoto writes: | Mike Frysinger | 2007-05-31 | 4 | -1/+122 | |
| | | | | | | | | Current MIPS readahead(), posix_fadvise(), posix_fadvise64() do not match with kernel on all ABIs. On O32 ABI, a padding is needed before a long long argument. On N32/N64, a long long argument should be passed via a single register. | |||||
* | Atsushi Nemoto writes: | Mike Frysinger | 2007-05-31 | 4 | -8/+4 | |
| | | | | | 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. | |||||
* | Remove the arch specific mmap impl. for Powerpc. The common one will do. | Joakim Tjernlund | 2007-05-25 | 2 | -56/+1 | |
| | ||||||
* | use POSIX -eq rather than bash == #1360 | Mike Frysinger | 2007-05-24 | 1 | -1/+1 | |
| | ||||||
* | Fix MIPS syscall() and pipe functions to set errno correctly as reported by ↵ | "Steven J. Hill" | 2007-05-24 | 2 | -5/+20 | |
| | | | | Daniel Jacobowitz on the mailing list. More information available at <http://www.uclibc.org/lists/uclibc/2007-May/017968.html> . | |||||
* | Fix ARM EABI signal unwinding to accomodate signal frame layout between ↵ | "Steven J. Hill" | 2007-05-24 | 1 | -2/+13 | |
| | | | | Linux kernel versions as reported by Joseph S. Myers on the mailing list. More information available at <http://www.uclibc.org/lists/uclibc/2007-May/017971.html> . | |||||
* | Restored indentation. | Peter Kjellerstedt | 2007-05-15 | 2 | -11/+13 | |
| | ||||||
* | 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 | 3 | -4/+57 | |
| | ||||||
* | Remove preprocessor warning due to missing definition of USE_TLS | Khem Raj | 2007-05-15 | 1 | -1/+1 | |
| | ||||||
* | Nickolai Zeldovich writes: if the temp name already exists, then the retry ↵ | Mike Frysinger | 2007-05-06 | 1 | -10/+9 | |
| | | | | code does not create a new temp name as the code to do so is outside of the retry loop | |||||
* | - commentary typo fix | Bernhard Reutner-Fischer | 2007-05-04 | 1 | -1/+1 | |
| | ||||||
* | give proper prototypes | Mike Frysinger | 2007-05-03 | 2 | -2/+2 | |
| | ||||||
* | cancellation-points needs librt | Mike Frysinger | 2007-05-02 | 1 | -0/+2 | |
| | ||||||
* | exercise all required POSIX pthread cancellation points | Mike Frysinger | 2007-05-02 | 1 | -0/+280 | |
| |