OSDN Git Service

uclinux-h8/uClibc.git
17 years agoremove redundant headers local to libpthread, causing header
Eric Andersen [Wed, 29 Nov 2006 21:29:28 +0000 (21:29 -0000)]
remove redundant headers local to libpthread, causing header
file content skew between the versions

17 years ago- introduce UCLIBC_SUSV3_LEGACY_MACROS to be able to do away with all LEGACY
Bernhard Reutner-Fischer [Wed, 29 Nov 2006 21:12:13 +0000 (21:12 -0000)]
- introduce UCLIBC_SUSV3_LEGACY_MACROS to be able to do away with all LEGACY
  stuff, even the fallback defines.

17 years ago- honor __UCLIBC_HAS_LFS__
Bernhard Reutner-Fischer [Wed, 29 Nov 2006 21:10:04 +0000 (21:10 -0000)]
- honor __UCLIBC_HAS_LFS__

17 years ago- Cleanout the only occurance of the SUSv3 LEGACY function getwd() that was
Bernhard Reutner-Fischer [Wed, 29 Nov 2006 21:07:00 +0000 (21:07 -0000)]
- Cleanout the only occurance of the SUSv3 LEGACY function getwd() that was
  furthermore ifdef'ed out anyway.

17 years ago- gcvt() is marked LEGACY in XSI and mandatory in BSD.
Bernhard Reutner-Fischer [Wed, 29 Nov 2006 21:04:35 +0000 (21:04 -0000)]
- gcvt() is marked LEGACY in XSI and mandatory in BSD.
  Also make compilation conditional on float support.

17 years agofix from cmetcalf to make sure we clear the auxvt table before using it
Mike Frysinger [Mon, 27 Nov 2006 15:25:32 +0000 (15:25 -0000)]
fix from cmetcalf to make sure we clear the auxvt table before using it

17 years agoindent
Mike Frysinger [Mon, 27 Nov 2006 15:11:28 +0000 (15:11 -0000)]
indent

17 years ago- fix typo
Bernhard Reutner-Fischer [Wed, 22 Nov 2006 17:09:42 +0000 (17:09 -0000)]
- fix typo

17 years agoCorrect -march cflag value for thumb capable ARM processors: Thanks Paul Brook
Khem Raj [Wed, 22 Nov 2006 02:20:09 +0000 (02:20 -0000)]
Correct -march cflag value for thumb capable ARM processors: Thanks Paul Brook

17 years agoUse constant pool instead of and adr
Khem Raj [Tue, 21 Nov 2006 02:50:42 +0000 (02:50 -0000)]
Use constant pool instead of and adr
instruction in unoptimized builds and thumb: thanks Paul Brook

17 years agoAdd CHECK_ONLY option to allow for running the tests on the target instead of attempt...
"Steven J. Hill" [Sat, 18 Nov 2006 15:04:54 +0000 (15:04 -0000)]
Add CHECK_ONLY option to allow for running the tests on the target instead of attempting to link or compile them. Perhaps I don't fully understand the test structure, but for TLS and NPTL the tests cannot be compiled on the target without a full source tree.

17 years agofix from Paul Brook for ISO C violation in terms of handling of modifying automatic...
Mike Frysinger [Fri, 17 Nov 2006 18:18:46 +0000 (18:18 -0000)]
fix from Paul Brook for ISO C violation in terms of handling of modifying automatic local variables between setjmp/longjmp

17 years agoBernd Schmidt writes: [blackfin updates] add support for FDPIC and include L1 functions
Mike Frysinger [Fri, 17 Nov 2006 06:51:34 +0000 (06:51 -0000)]
Bernd Schmidt writes: [blackfin updates] add support for FDPIC and include L1 functions

17 years agoBernd Schmidt writes:
Mike Frysinger [Fri, 17 Nov 2006 06:07:30 +0000 (06:07 -0000)]
Bernd Schmidt writes:
This reintroduces a mechanism identical to the DL_BOOT macro present in
older versions of uClibc.  On Blackfin and FRV, we want to pass more
than one argument to _dl_start.  We also want to do something special
before returning, so delete the warning when the START macro is defined.

17 years agoget rid of the notion of .E files as .i is the proper usage
Mike Frysinger [Fri, 17 Nov 2006 05:55:24 +0000 (05:55 -0000)]
get rid of the notion of .E files as .i is the proper usage

17 years agorevert PTHREAD_THREADS_MAX back to former size since the large majority of people...
Mike Frysinger [Fri, 17 Nov 2006 05:50:31 +0000 (05:50 -0000)]
revert PTHREAD_THREADS_MAX back to former size since the large majority of people out there will not need more than 1k threads (and people who do can change this themselves)

17 years agofix comment typos
Mike Frysinger [Thu, 16 Nov 2006 23:29:14 +0000 (23:29 -0000)]
fix comment typos

17 years agoadd a test for making sure vfork/signals are handled properly across different setjmp...
Mike Frysinger [Thu, 16 Nov 2006 23:09:36 +0000 (23:09 -0000)]
add a test for making sure vfork/signals are handled properly across different setjmp/longjmps

17 years agoexercise the signal related jump code
Mike Frysinger [Thu, 16 Nov 2006 21:50:57 +0000 (21:50 -0000)]
exercise the signal related jump code

17 years agomake default output silence and have the exit status indicate error
Mike Frysinger [Thu, 16 Nov 2006 21:47:57 +0000 (21:47 -0000)]
make default output silence and have the exit status indicate error

17 years agorevert rev 16527 changes to ldso/ldso/dl-hash.c
Eric Andersen [Thu, 16 Nov 2006 20:52:28 +0000 (20:52 -0000)]
revert rev 16527 changes to ldso/ldso/dl-hash.c

17 years agoPaul Brook writes:
Eric Andersen [Thu, 16 Nov 2006 17:09:49 +0000 (17:09 -0000)]
Paul Brook writes:

The patch below fixes a bug in the new ARM _ld_linux_resolve implementation.
I'm don't know if/how the current implementation was tested, but it's
completely broken.

This patch makes the prologue and epilogue agree on how big the stack frame
is, and also makes sure EABI doubleword stack alignment is preserved.

Tested on arm-linux-gnueabi.

17 years agoThis change reimplements the ARM _dl_linux_resolve entry point - this is
Eric Andersen [Fri, 10 Nov 2006 20:41:49 +0000 (20:41 -0000)]
This change reimplements the ARM _dl_linux_resolve entry point - this is
called to resolve DLL PLT entries.  The assembler is changed to be thumb
compatible and slightly faster, the C function, _dl_linux_resolver (note
the extra r) is changed to take a byte address in place of an 8 byte
count (faster in caller and callee, and slightly easier to understand).

17 years agoarm thumb:
Eric Andersen [Fri, 10 Nov 2006 20:37:45 +0000 (20:37 -0000)]
arm thumb:
Put the call_via_rx code into each executable - call_via_ip cannot
possibly work if called through the PLT!  ldso requires this code
too as it is not linked with the crt stuff and thumb ldso does
make calls via a register.

The patch puts the code into crti.S so that it is linked into
every normally built application (if thumb or interworking is
selected).  This is only 30 extra bytes and it works - the previous
code did not because nothing both implemented and exported the
APIs (they were in libgcc, but not in the version script).

crti.S and crtn.S is also brought up to date with GCC 3.4.4 - this
is essential for thumb support because the .init and .fini sections
must use arm or thumb code to match the compilation of the libraries.

Note that code which pushes stuff into .init or .fini must be
compiled with or without -mthumb to match the uclibc compilation -
and gcc itself (which does do this) must therefore be compiled to
match.

17 years agoprevent cancellation functions from being called more than once
Mike Frysinger [Thu, 9 Nov 2006 08:14:00 +0000 (08:14 -0000)]
prevent cancellation functions from being called more than once

17 years agobackport from upstream:
Mike Frysinger [Thu, 9 Nov 2006 08:11:33 +0000 (08:11 -0000)]
backport from upstream:
2001-04-10  Ulrich Drepper  <drepper@redhat.com>

    * join.c (pthread_exit): Move code to new function __pthread_do_exit
    which takes an extra parameter with the current frame pointer.
    Call new function with CURRENT_STACK_FRAME.
    (__pthread_do_exit): New function.  Call __pthread_perform_cleanup
    with the new parameter.
    (pthread_join): Call __pthread_do_exit instead of pthread_exit.
    * cancel.c (__pthread_perform_cleanup): Takes extra parameter.  Use
    this parameter as the initial value the cleanup handler records are
    compared against.  No active cleanup handler record must have an
    address lower than the previous one and the initial record must be
    above (below on PA) the frame address passed in.
    (pthread_setcancelstate): Call __pthread_do_exit instead of
    pthread_exit.
    (pthread_setcanceltype): Likewise.
    (pthread_testcancel): Likewise.
    (_pthread_cleanup_pop_restore): Likewise.
    * condvar.c (pthread_cond_wait): Likewise.
    (pthread_cond_timedwait_relative): Likewise.
    * manager.c (pthread_start_thread): Likewise.
    * oldsemaphore.c (__old_sem_wait): Likewise.
    * pthread.c (pthread_handle_sigcancel): Likewise.
    * semaphore.c (__new_sem_wait): Likewise.
    (sem_timedwait): Likewise.
    * ptlongjmp.c (pthread_cleanup_upto): Also use current stack frame
    to limit the cleanup handlers which get run.
    * internals.h: Add prototype for __pthread_do_exit.  Adjust prototype
    for __pthread_perform_cleanup.

17 years agobackport from upstream:
Mike Frysinger [Thu, 9 Nov 2006 08:07:43 +0000 (08:07 -0000)]
backport from upstream:
2001-04-11  Ulrich Drepper  <drepper@redhat.com>

    * cancel.c (_pthread_cleanup_push): Catch invalid __prev buffer
    and remove it.
    (_pthread_cleanup_push_defer): Likewise.

17 years agoI failed to check the patch adding support for the new (stupid) US 2007
Eric Andersen [Tue, 7 Nov 2006 20:50:21 +0000 (20:50 -0000)]
I failed to check the patch adding support for the new (stupid) US 2007
daylight savings time rules when xlocale was enabled.  Fix compile error.

17 years agomips64 patch from Atsushi Nemoto:
Eric Andersen [Mon, 6 Nov 2006 17:49:24 +0000 (17:49 -0000)]
mips64 patch from Atsushi Nemoto:
We should not use old stype ipc_perm for 64-bit mips kernel.

I suppose other 64-bit platforms shoule define __IPC_64 also and we
can define it unconditionally, but not sure for other archs ...

17 years agomips64 patch from Atsushi Nemoto:
Eric Andersen [Mon, 6 Nov 2006 17:46:44 +0000 (17:46 -0000)]
mips64 patch from Atsushi Nemoto:
We should use "PTR_LA" instead of "la" for N64 ABI.

17 years agomips64 patch from Atsushi Nemoto:
Eric Andersen [Sat, 4 Nov 2006 20:17:03 +0000 (20:17 -0000)]
mips64 patch from Atsushi Nemoto:
Add selection of 3 ABI.
CPU_CFLAGS is needed to generate correct sysnum.h.
Fix test/Rules.mak.

17 years agomips64 patch from Atsushi Nemoto:
Eric Andersen [Sat, 4 Nov 2006 20:14:10 +0000 (20:14 -0000)]
mips64 patch from Atsushi Nemoto:
64bit MIPS ELF format tweaks. (from glibc)
Elf32/ElfW convertions.
asm code adjustments.

17 years agomips64 patch from Atsushi Nemoto:
Eric Andersen [Sat, 4 Nov 2006 19:55:30 +0000 (19:55 -0000)]
mips64 patch from Atsushi Nemoto:
No pread64, pwrite64 syscall for N64 ABI.
Make __libc_pread and __libc_pread64 use same syscall.

17 years agomips64 patch from Atsushi Nemoto:
Eric Andersen [Sat, 4 Nov 2006 19:54:32 +0000 (19:54 -0000)]
mips64 patch from Atsushi Nemoto:
Adjust for mips64 kernel.

17 years agomips64 patch from Atsushi Nemoto:
Eric Andersen [Sat, 4 Nov 2006 19:53:15 +0000 (19:53 -0000)]
mips64 patch from Atsushi Nemoto:
miscellaneous asm routines

17 years agomips64 patch from Atsushi Nemoto:
Eric Andersen [Sat, 4 Nov 2006 19:50:20 +0000 (19:50 -0000)]
mips64 patch from Atsushi Nemoto:
The mips64 N32/N64 ABI have a bit different register usage convention.
Also the register size for these ABI is 8 byte.  Use ld/sd for them.

17 years agomips64 patch from Atsushi Nemoto:
Eric Andersen [Sat, 4 Nov 2006 19:49:18 +0000 (19:49 -0000)]
mips64 patch from Atsushi Nemoto:
The mips64 N32/N64 ABI can pass much arguments via registers.

17 years agomips64 patch from Atsushi Nemoto:
Eric Andersen [Sat, 4 Nov 2006 19:48:12 +0000 (19:48 -0000)]
mips64 patch from Atsushi Nemoto:
Import mips64 version of memset, memcpy from glibc.

17 years agomips64 patch from Atsushi Nemoto
Eric Andersen [Sat, 4 Nov 2006 19:47:04 +0000 (19:47 -0000)]
mips64 patch from Atsushi Nemoto
This is a bit twisted dirent.h can be used for both getdirent and
getdirent64 case on mips/mips64.

17 years agomips64 patch from Atsushi Nemoto:
Eric Andersen [Sat, 4 Nov 2006 19:45:37 +0000 (19:45 -0000)]
mips64 patch from Atsushi Nemoto:
The kernel include/asm-mips/posix_types.h defines
__kernel_ino_t as unsigned long.

17 years agomips64 patch from Atsushi Nemoto:
Eric Andersen [Sat, 4 Nov 2006 19:44:51 +0000 (19:44 -0000)]
mips64 patch from Atsushi Nemoto:
The predefined _MIPS_SZPTR (32 for O32 or N32, 64 for N64) can be used
for WORDSIZE.  This is came from glibc code.

17 years agomips64 patch from Atsushi Nemoto:
Eric Andersen [Sat, 4 Nov 2006 19:44:00 +0000 (19:44 -0000)]
mips64 patch from Atsushi Nemoto:
It seems these codes dropped when importing from glibc.
This is required for mips64.

17 years agobased on a patch from Atsushi Nemoto:
Eric Andersen [Sat, 4 Nov 2006 18:33:04 +0000 (18:33 -0000)]
based on a patch from Atsushi Nemoto:
There is a mismatch of struct msghdr between the kernel and libc.
In a 64-bit environment, the size of msg_namelen is 4 for all, but
the size of msg_iovlen and msg_controllen is 8 bytes for the kernel
and for glibc, but 4 bytes for uClibc.  Fix size for the 64bit case.

17 years agoremove duplicated/unused ASSERT code
Mike Frysinger [Fri, 3 Nov 2006 18:55:00 +0000 (18:55 -0000)]
remove duplicated/unused ASSERT code

17 years agodont need to force optimization in CFLAGS anymore (if this fails your compiler prob...
Mike Frysinger [Fri, 3 Nov 2006 18:52:35 +0000 (18:52 -0000)]
dont need to force optimization in CFLAGS anymore (if this fails your compiler prob sucks anyways)

17 years agoIn bug 622, JohnAta writes:
Eric Andersen [Thu, 2 Nov 2006 21:46:07 +0000 (21:46 -0000)]
In bug 622, JohnAta writes:
In 2005, Congress passed a law so that in 2007, the second week of March starts
DST. Previously, it was the first week of April. The uclibc time library
routines apparently have not been updated to reflect this new processing. Using
the current version of uclibc, on March 11, 2007 the reported time will be
incorrect.

17 years agosome updates noting things that should be done
Eric Andersen [Thu, 26 Oct 2006 17:11:26 +0000 (17:11 -0000)]
some updates noting things that should be done

17 years agoMerge SH-2 trapa fixups from Mark.
Paul Mundt [Mon, 23 Oct 2006 04:20:20 +0000 (04:20 -0000)]
Merge SH-2 trapa fixups from Mark.

2006-10-16  Mark Shinwell  <shinwell@codesourcery.com>

* libc/sysdeps/linux/sh/vfork.S: Use __SH_SYSCALL_TRAP_BASE.
Also use __CONFIG_SH2__ rather than __sh2__, for consistency.
* libc/sysdeps/linux/sh/syscall.c: Use __SH_SYSCALL_TRAP_BASE.
* libc/sysdeps/linux/sh/bits/uClibc_arch_features.h: Use
__CONFIG_SH2__ rather than __sh2__, for consistency.
* libc/sysdeps/linux/sh/bits/syscalls.h (__SH_SYSCALL_TRAP_BASE):
New.
Use instead of hard-coded trap numbers in the various __NR_<name>
macros.
* libc/sysdeps/linux/sh/clone.S: Use __SH_SYSCALL_TRAP_BASE.
Also use __CONFIG_SH2__ rather than __sh2__, for consistency.
* libc/sysdeps/linux/sh/crti.S: Disable GOT-related code if
__HAVE_SHARED__ is not set.
* libc/sysdeps/linux/sh/pipe.c (pipe): Use __SH_SYSCALL_TRAP_BASE.

17 years agodont require DOPIC with FORCE_SHAREABLE_TEXT_SEGMENTS
Mike Frysinger [Sun, 22 Oct 2006 00:22:29 +0000 (00:22 -0000)]
dont require DOPIC with FORCE_SHAREABLE_TEXT_SEGMENTS

17 years agoJoseph S. Myers writes:
Eric Andersen [Thu, 19 Oct 2006 21:28:37 +0000 (21:28 -0000)]
Joseph S. Myers writes:
There are many directories called "CVS" checked into uClibc SVN, probably
as a side-effect of importing a CVS checkout.  I don't think these are
particularly useful to have checked in.

17 years agoMake strdup() use memcpy() rather than strcpy() to duplicate the string.
Peter Kjellerstedt [Thu, 19 Oct 2006 10:17:12 +0000 (10:17 -0000)]
Make strdup() use memcpy() rather than strcpy() to duplicate the string.
The rationale is that we already have the length of the string to
duplicate (from doing the malloc()), and memcpy() should then always be
faster than strcpy() (or at least as fast).

17 years agoMake _dl_linux_resolve interworking safe. Thanks Paul Brook
Khem Raj [Tue, 10 Oct 2006 01:03:46 +0000 (01:03 -0000)]
Make _dl_linux_resolve interworking safe. Thanks Paul Brook

17 years agoAdd the mmap.c missed out in the last commit.
Khem Raj [Sat, 7 Oct 2006 22:22:51 +0000 (22:22 -0000)]
Add the mmap.c missed out in the last commit.

17 years agoAdd config options to select ARM ARMv5 and Intel iwmmxt variants.
Khem Raj [Sat, 7 Oct 2006 06:54:35 +0000 (06:54 -0000)]
Add config options to select ARM ARMv5 and Intel iwmmxt variants.

17 years agoAdd mmap function needed for ARM EABI and define thumb specific INTERNAL_SYSCALL...
Khem Raj [Sat, 7 Oct 2006 06:50:44 +0000 (06:50 -0000)]
Add mmap function needed for ARM EABI and define thumb specific INTERNAL_SYSCALL macro which saves r7 before making the call and pops it back after return.

17 years agoSergey Lapin says the undefined syscall numbers from unistd.h do not get propogated...
Khem Raj [Sat, 7 Oct 2006 06:40:33 +0000 (06:40 -0000)]
Sergey Lapin says the undefined syscall numbers from unistd.h do not get propogated into generated sysnum.h.

17 years agofixup from Bernd Schmidt to properly document DL_ADDR_TO_FUNC_PTR
Mike Frysinger [Sat, 7 Oct 2006 06:40:20 +0000 (06:40 -0000)]
fixup from Bernd Schmidt to properly document DL_ADDR_TO_FUNC_PTR

17 years agoBernd Schmidt writes:
Mike Frysinger [Sat, 7 Oct 2006 06:36:32 +0000 (06:36 -0000)]
Bernd Schmidt writes:
This introduces a new SEND_EARLY_STDERR macro that is to be used in
dl-startup.c before ld.so is relocated.  It is needed on Blackfin (and
frv) FDPIC since we have to use special tricks to get the address of a
string constant.

EARLY_STDERR_SPECIAL gets defined on such a machine and prevents
printing of debug strings inside the loop that relocates ld.so, since we
can't decide which of the two variants to use.

17 years agoDon't use r10 to find PIC base. In GCC 4.1.1 onwards ARM PIC handling uses pseudo...
Khem Raj [Sat, 7 Oct 2006 06:32:44 +0000 (06:32 -0000)]
Don't use r10 to find PIC base. In GCC 4.1.1 onwards ARM PIC handling uses pseudo register for PIC base so load and relocate it.

17 years agothe makefile will include elf.h for us #778
Mike Frysinger [Sat, 7 Oct 2006 06:01:37 +0000 (06:01 -0000)]
the makefile will include elf.h for us #778

17 years agoimplement support for the rest of the 32bit uid syscalls
Mike Frysinger [Thu, 28 Sep 2006 20:41:28 +0000 (20:41 -0000)]
implement support for the rest of the 32bit uid syscalls

17 years agoDo not include tls.h unless __UCLIBC_HAS_THREADS__ is defined.
Peter Kjellerstedt [Mon, 25 Sep 2006 07:38:13 +0000 (07:38 -0000)]
Do not include tls.h unless __UCLIBC_HAS_THREADS__ is defined.

17 years agofix return casts for a bunch of functions
Mike Frysinger [Sat, 23 Sep 2006 04:10:42 +0000 (04:10 -0000)]
fix return casts for a bunch of functions

17 years agograb s_lrint from glibc for C99
Mike Frysinger [Sat, 23 Sep 2006 04:05:33 +0000 (04:05 -0000)]
grab s_lrint from glibc for C99

17 years agoonly include _lfs_64.h when __UCLIBC_HAS_LFS__ is defined as pointed out by Miguel...
Mike Frysinger [Sat, 23 Sep 2006 03:44:35 +0000 (03:44 -0000)]
only include _lfs_64.h when __UCLIBC_HAS_LFS__ is defined as pointed out by Miguel Ángel

17 years agoAdded support for sysconf(_SC_MONOTONIC_CLOCK).
Peter Kjellerstedt [Fri, 22 Sep 2006 16:54:49 +0000 (16:54 -0000)]
Added support for sysconf(_SC_MONOTONIC_CLOCK).

17 years agoRemove code to define errno in this file. It is definitly not needed
Peter Kjellerstedt [Fri, 22 Sep 2006 16:40:00 +0000 (16:40 -0000)]
Remove code to define errno in this file.  It is definitly not needed
when building with thread support (which we normally do), and as far
as I can tell it should not be needed otherwise either.  And as it did
not build with the latest binutils and gcc, the choice was easy...

17 years agouse proper #APP lines so that the assembler knows when it needs to handle parsing...
Mike Frysinger [Thu, 21 Sep 2006 01:46:11 +0000 (01:46 -0000)]
use proper #APP lines so that the assembler knows when it needs to handle parsing (see sources.redhat.com/ml/binutils/2004-04/msg00665.html)

17 years agoAllow the res argument to clock_getres() to be NULL.
Peter Kjellerstedt [Tue, 19 Sep 2006 07:44:15 +0000 (07:44 -0000)]
Allow the res argument to clock_getres() to be NULL.

17 years agomerge some more FDPIC related fixes from Bernd Schmidt
Mike Frysinger [Tue, 19 Sep 2006 01:29:11 +0000 (01:29 -0000)]
merge some more FDPIC related fixes from Bernd Schmidt

17 years agoAtsushi Nemoto writes:
Eric Andersen [Mon, 11 Sep 2006 18:46:39 +0000 (18:46 -0000)]
Atsushi Nemoto writes:
The "make headers_install" in kernel 2.6.18 does not export
asm-mips/asm.h, asm-mips/regdef.h and asm-mips/sysmips.h.  Do not use
them.  We can use sys/asm.h and sys/regdef.h instead.  The sysmips.h
part of this patch is came from glibc 2.4 code.

17 years agoThe readahead syscall requires LFS/64 bit support
Eric Andersen [Mon, 11 Sep 2006 18:40:10 +0000 (18:40 -0000)]
The readahead syscall requires LFS/64 bit support

17 years agoremove version checking code and add some more comments
Mike Frysinger [Sun, 10 Sep 2006 06:10:52 +0000 (06:10 -0000)]
remove version checking code and add some more comments

17 years agomake this stuff actually readable
Mike Frysinger [Sat, 9 Sep 2006 22:35:00 +0000 (22:35 -0000)]
make this stuff actually readable

17 years agoadd some inline funcs for the mlock funcs on no-mmu
Mike Frysinger [Fri, 8 Sep 2006 23:07:54 +0000 (23:07 -0000)]
add some inline funcs for the mlock funcs on no-mmu

17 years agoFix from Joseph Myers: Save and restore iWMMXt registers in ARM setjmp/longjmp
Khem Raj [Thu, 31 Aug 2006 19:49:16 +0000 (19:49 -0000)]
Fix from Joseph Myers: Save and restore iWMMXt registers in ARM setjmp/longjmp

17 years agoMade it compile again.
Peter Kjellerstedt [Thu, 31 Aug 2006 11:39:36 +0000 (11:39 -0000)]
Made it compile again.

17 years agofix bug 1012 as noted by moschny
Eric Andersen [Wed, 30 Aug 2006 17:24:44 +0000 (17:24 -0000)]
fix bug 1012 as noted by moschny

17 years agotweak a few syscalls using varargs
Eric Andersen [Wed, 30 Aug 2006 17:12:51 +0000 (17:12 -0000)]
tweak a few syscalls using varargs

17 years agofix from psm to make sure host make is new enough
Mike Frysinger [Fri, 25 Aug 2006 04:59:43 +0000 (04:59 -0000)]
fix from psm to make sure host make is new enough

17 years agofix from psm: DODEBUG_PT is only meaningful for LINUXTHREADS_OLD, add: depends on...
Mike Frysinger [Fri, 25 Aug 2006 04:58:11 +0000 (04:58 -0000)]
fix from psm: DODEBUG_PT is only meaningful for LINUXTHREADS_OLD, add: depends on LINUXTHREADS_OLD

17 years agofix from psm: makes use of the malloc debug option in malloc-standard as well
Mike Frysinger [Fri, 25 Aug 2006 04:57:01 +0000 (04:57 -0000)]
fix from psm: makes use of the malloc debug option in malloc-standard as well

17 years agoBump SHMLBA up to a sensible size for dcache alias avoidance to coincide with
Paul Mundt [Fri, 25 Aug 2006 04:54:39 +0000 (04:54 -0000)]
Bump SHMLBA up to a sensible size for dcache alias avoidance to coincide with
the kernel's get_unmapped_area() behaviour. Ideally this should be more tightly
packed based off of the L1 dcache shape, once we're able to handle it through
the auxiliary vector.

17 years agomerge with psm: sync with common socket headers
Mike Frysinger [Fri, 25 Aug 2006 04:28:12 +0000 (04:28 -0000)]
merge with psm: sync with common socket headers

17 years agomerge fixes from upstream (rev 1.10 -> 1.13)
Mike Frysinger [Thu, 24 Aug 2006 23:47:02 +0000 (23:47 -0000)]
merge fixes from upstream (rev 1.10 -> 1.13)

17 years ago- only link asm-generic if it exists.
Bernhard Reutner-Fischer [Thu, 24 Aug 2006 21:39:49 +0000 (21:39 -0000)]
- only link asm-generic if it exists.
  PS: test for existence on Slowaris was disfunctional, last time i looked. Shouldn't matter much here, though..

17 years agofix from psm: enable readahead prototype
Mike Frysinger [Thu, 24 Aug 2006 21:15:57 +0000 (21:15 -0000)]
fix from psm: enable readahead prototype

17 years agoonly pull in errno.h when not assembler
Mike Frysinger [Thu, 24 Aug 2006 19:47:34 +0000 (19:47 -0000)]
only pull in errno.h when not assembler

17 years agoimplement readahead()
Mike Frysinger [Thu, 24 Aug 2006 19:13:14 +0000 (19:13 -0000)]
implement readahead()

17 years agofixups from psm for ASSEMBLER handling
Mike Frysinger [Thu, 24 Aug 2006 18:49:16 +0000 (18:49 -0000)]
fixups from psm for ASSEMBLER handling

17 years agouse the common huge_val.h version now
Mike Frysinger [Thu, 24 Aug 2006 18:11:33 +0000 (18:11 -0000)]
use the common huge_val.h version now

17 years agoupdate to new huge_val headers
Mike Frysinger [Thu, 24 Aug 2006 18:06:51 +0000 (18:06 -0000)]
update to new huge_val headers

17 years agofix from psm: disable unsupported features
Mike Frysinger [Thu, 24 Aug 2006 18:02:17 +0000 (18:02 -0000)]
fix from psm: disable unsupported features

17 years agofix from psm: just use common resource.h
Mike Frysinger [Thu, 24 Aug 2006 18:00:30 +0000 (18:00 -0000)]
fix from psm: just use common resource.h

17 years agojust be like every other uclibc port
Mike Frysinger [Thu, 24 Aug 2006 17:48:23 +0000 (17:48 -0000)]
just be like every other uclibc port

17 years agosync with glibc
Mike Frysinger [Thu, 24 Aug 2006 17:25:18 +0000 (17:25 -0000)]
sync with glibc

17 years agopsm says: use $(top_builddir) instead of $(top_srcdir) when accessing generated heade...
Mike Frysinger [Thu, 24 Aug 2006 03:55:55 +0000 (03:55 -0000)]
psm says: use $(top_builddir) instead of $(top_srcdir) when accessing generated header files

17 years agoadd back in HIDDEN_JUMPTARGET() as pointed out by psm
Mike Frysinger [Thu, 24 Aug 2006 03:52:27 +0000 (03:52 -0000)]
add back in HIDDEN_JUMPTARGET() as pointed out by psm

17 years agofix by Bernhard Fischer to move local prototypes to a header to keep things sane
Mike Frysinger [Thu, 24 Aug 2006 02:43:08 +0000 (02:43 -0000)]
fix by Bernhard Fischer to move local prototypes to a header to keep things sane

17 years agofix from psm: only define __ASSUME_NETLINK_SUPPORT if not defined
Mike Frysinger [Thu, 24 Aug 2006 02:32:08 +0000 (02:32 -0000)]
fix from psm: only define __ASSUME_NETLINK_SUPPORT if not defined