Daniel Jacobowitz
02a9f771e3
* sysdeps/arm/bits/setjmp.h, sysdeps/arm/fpu/bits/setjmp.h: Update
...
include guards.
* sysdeps/unix/arm/sysdep.S (syscall_error): Handle USE___THREAD and
RTLD_PRIVATE_ERRNO.
* sysdeps/unix/sysv/linux/arm/clone.S (__clone): Handle RESET_PID.
Handle new arguments.
* sysdeps/unix/sysv/linux/arm/vfork.S (__vfork): Use SAVE_PID and
RESTORE_PID. Use the right syscall error handler.
* sysdeps/unix/sysv/linux/arm/eabi/sigrestorer.S
(__default_sa_restorer, __default_rt_sa_restorer): Add unwind
information.
* sysdeps/unix/sysv/linux/arm/eabi/socket.S: Update formatting.
Add unwind information. Correct stack alignment typo.
* sysdeps/unix/sysv/linux/arm/eabi/sysdep.h
(INTERNAL_SYSCALL_NCS): Define.
* sysdeps/unix/sysv/linux/arm/sigaction.c
(__libc_sigaction): Remove never-valid handling for SA_ONSTACK.
* sysdeps/unix/sysv/linux/arm/socket.S: Whitespace cleanup.
* sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER): Handle
RTLD_PRIVATE_ERRNO.
(INTERNAL_SYSCALL_NCS): Implement.
* sysdeps/arm/nptl/Makefile, sysdeps/arm/nptl/jmpbuf-unwind.h,
sysdeps/arm/nptl/pthread_spin_lock.S,
sysdeps/arm/nptl/pthread_spin_trylock.S,
sysdeps/arm/nptl/pthreaddef.h, sysdeps/arm/nptl/tcb-offsets.sym,
sysdeps/arm/nptl/tls.h, sysdeps/unix/sysv/linux/arm/eabi/Makefile,
sysdeps/unix/sysv/linux/arm/eabi/nptl/Makefile,
sysdeps/unix/sysv/linux/arm/eabi/nptl/configure,
sysdeps/unix/sysv/linux/arm/eabi/nptl/configure.in,
sysdeps/unix/sysv/linux/arm/eabi/nptl/nptl-aeabi_unwind_cpp_pr1.c,
sysdeps/unix/sysv/linux/arm/eabi/nptl/rt-aeabi_unwind_cpp_pr1.c,
sysdeps/unix/sysv/linux/arm/eabi/nptl/sysdep-cancel.h,
sysdeps/unix/sysv/linux/arm/eabi/nptl/unwind-forcedunwind.c,
sysdeps/unix/sysv/linux/arm/eabi/nptl/unwind-resume.c,
sysdeps/unix/sysv/linux/arm/eabi/nptl/unwind.h,
sysdeps/unix/sysv/linux/arm/nptl/Versions,
sysdeps/unix/sysv/linux/arm/nptl/bits/atomic.h,
sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h,
sysdeps/unix/sysv/linux/arm/nptl/clone.S,
sysdeps/unix/sysv/linux/arm/nptl/createthread.c,
sysdeps/unix/sysv/linux/arm/nptl/fork.c,
sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c,
sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h,
sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S,
sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c,
sysdeps/unix/sysv/linux/arm/nptl/vfork.S: New files.
2005-11-16 19:03:42 +00:00
Daniel Jacobowitz
de96d1483f
* sysdeps/arm/dl-machine.h (CLEAR_CACHE): Use INTERNAL_SYSCALL_ARM.
...
* sysdeps/unix/sysv/linux/arm/brk.c (__brk): Use INLINE_SYSCALL.
* sysdeps/unix/sysv/linux/arm/clone.S (__clone): Use DO_CALL.
* sysdeps/unix/sysv/linux/arm/eabi/configure.in: Bump
arch_minimum_kernel.
* sysdeps/unix/sysv/linux/arm/eabi/configure: Regenerated.
* sysdeps/unix/sysv/linux/arm/eabi/epoll_ctl.c,
sysdeps/unix/sysv/linux/arm/eabi/epoll_wait.c,
sysdeps/unix/sysv/linux/arm/eabi/fcntl.c,
sysdeps/unix/sysv/linux/arm/eabi/fstatfs64.c,
sysdeps/unix/sysv/linux/arm/eabi/ftruncate64.c,
sysdeps/unix/sysv/linux/arm/eabi/fxstat64.c,
sysdeps/unix/sysv/linux/arm/eabi/kernel_epoll.h,
sysdeps/unix/sysv/linux/arm/eabi/kernel_stat.h,
sysdeps/unix/sysv/linux/arm/eabi/lockf64.c,
sysdeps/unix/sysv/linux/arm/eabi/lxstat64.c,
sysdeps/unix/sysv/linux/arm/eabi/semop.c,
sysdeps/unix/sysv/linux/arm/eabi/semtimedop.c,
sysdeps/unix/sysv/linux/arm/eabi/statfs64.c,
sysdeps/unix/sysv/linux/arm/eabi/syscalls.list,
sysdeps/unix/sysv/linux/arm/eabi/uname.c,
sysdeps/unix/sysv/linux/arm/eabi/xstat64.c,
sysdeps/unix/sysv/linux/arm/eabi/xstatconv.c,
sysdeps/unix/sysv/linux/arm/eabi/xstatconv.h: Removed.
* sysdeps/unix/sysv/linux/arm/eabi/linuxthreads/sysdep-cancel.h,
sysdeps/unix/sysv/linux/arm/eabi/mmap64.S,
sysdeps/unix/sysv/linux/arm/eabi/pread.c,
sysdeps/unix/sysv/linux/arm/eabi/pread64.c,
sysdeps/unix/sysv/linux/arm/eabi/pwrite.c,
sysdeps/unix/sysv/linux/arm/eabi/pwrite64.c,
sysdeps/unix/sysv/linux/arm/eabi/readahead.c,
sysdeps/unix/sysv/linux/arm/eabi/sigrestorer.S,
sysdeps/unix/sysv/linux/arm/eabi/socket.S,
sysdeps/unix/sysv/linux/arm/eabi/syscall.S,
sysdeps/unix/sysv/linux/arm/eabi/sysdep.h,
sysdeps/unix/sysv/linux/arm/eabi/truncate64.c: New files.
* sysdeps/unix/sysv/linux/arm/linuxthreads/sysdep-cancel.h
(SINGLE_THREAD_P_INT, SINGLE_THREAD_P_PIC): Removed.
(SINGLE_THREAD_P): Rewritten to use only ip.
* sysdeps/unix/sysv/linux/arm/linuxthreads/vfork.S (__vfork): Use
DO_CALL.
* sysdeps/unix/sysv/linux/arm/mmap.S (__mmap): Use DO_CALL.
* sysdeps/unix/sysv/linux/arm/mmap64.S (__mmap64): Use DO_CALL.
Don't handle EABI here.
* sysdeps/unix/sysv/linux/arm/socket.S (__socket): Use
SINGLE_THREAD_P.
* sysdeps/unix/sysv/linux/arm/vfork.S (__vfork): Use DO_CALL.
2005-11-16 18:08:53 +00:00
Ulrich Drepper
c80f86b75e
Linux/m68k fchownat implementation.
2005-11-11 19:42:24 +00:00
Ulrich Drepper
e448eedb64
Linux/m68k fxstatat implementation.
2005-11-11 19:17:50 +00:00
Ulrich Drepper
421e974872
Linux/Alpha fxstatat implementation.
2005-11-11 19:15:37 +00:00
Roland McGrath
105d6c8a15
.
2005-11-10 00:57:19 +00:00
Roland McGrath
0ff54449d6
2005-10-11 Steven Munroe <sjmunroe@us.ibm.com>
...
* sysdeps/powerpc/nofpu/fesetround.c: Add libm_hidden_def.
2005-11-10 00:56:23 +00:00
Ulrich Drepper
eb519ed7bc
Remove use of HAVE_GNU_LD.
2005-11-06 02:05:16 +00:00
Daniel Jacobowitz
4962a991a3
* sysdeps/unix/sysv/linux/arm/aeabi_read_tp.S: Add LGPL exception.
2005-11-03 14:42:00 +00:00
Daniel Jacobowitz
ffe91e2252
* sysdeps/arm/eabi/aeabi_lcsts.c, sysdeps/arm/eabi/aeabi_math.c,
...
sysdeps/arm/eabi/aeabi_sighandlers.S: Add LGPL exception.
2005-10-31 21:05:09 +00:00
Daniel Jacobowitz
f56b8b7c82
* sysdeps/arm/eabi/Makefile (static-only-routines): Remove
...
$(aeabi_routines).
* sysdeps/arm/eabi/Versions (GLIBC_2.4): Add ARM EABI portability
routines.
* sysdeps/arm/eabi/aeabi_assert.c, sysdeps/arm/eabi/aeabi_atexit.c,
sysdeps/arm/eabi/aeabi_errno_addr.c,
sysdeps/arm/eabi/aeabi_localeconv.c,
sysdeps/arm/eabi/aeabi_mb_cur_max.c, sysdeps/arm/eabi/aeabi_memclr.c,
sysdeps/arm/eabi/aeabi_memcpy.c, sysdeps/arm/eabi/aeabi_memmove.c,
sysdeps/arm/eabi/aeabi_memset.c: Remove attribute_hidden.
2005-10-31 20:49:25 +00:00
Daniel Jacobowitz
56cf6cc523
* sysdeps/unix/sysv/linux/arm/bits/mman.h (MREMAP_FIXED): Define.
2005-10-31 20:41:32 +00:00
Daniel Jacobowitz
e7837483d3
* sysdeps/unix/sysv/linux/arm/socket.S: Honor NO_WEAK_ALIAS.
2005-10-27 18:50:12 +00:00
Ulrich Drepper
011363465f
Return the correct result when the same dividend and divisor are provided,
...
and they're negative numbers.
2005-10-20 05:24:59 +00:00
Daniel Jacobowitz
eb34460f46
Correct attribution goof.
2005-10-10 15:36:01 +00:00
Daniel Jacobowitz
f10eff5832
Add ARM EABI port.
2005-10-10 15:29:32 +00:00
Phil Blundell
4ce0c8e4c8
2005-10-10 Philip Blundell <philb@gnu.org>
...
* sysdeps/arm/Makefile, sysdeps/arm/machine-gmon.h,
sysdeps/arm/_mcount.S: Revert previous bogus changes.
2005-10-10 15:09:14 +00:00
Daniel Jacobowitz
a7ed1adbec
* sysdeps/arm/memset.S (memset): Correct handling of negative
...
arguments.
2005-10-10 15:00:47 +00:00
Phil Blundell
b033155aa9
2005-10-10 Philip Blundell <philb@gnu.org>
...
* sysdeps/arm/_mcount.S: Suppress profiling when building this
file.
2005-10-10 14:51:13 +00:00
Phil Blundell
5f7c48c17f
2005-10-09 Phil Blundell <pb@reciva.com>
...
* sysdeps/arm/Makefile [subdir=gmon] (sysdep_routines): Add
_mcount.
* sysdeps/arm/machine-gmon.h (MCOUNT): Replace with empty
definition.
(_MCOUNT_DECL): Make linkage global.
* sysdeps/arm/_mcount.S: New file.
2005-10-09 18:29:25 +00:00
Phil Blundell
609908d770
2005-10-09 Phil Blundell <pb@reciva.com>
...
* sysdeps/arm/dl-trampoline.S: [PROF] (_dl_runtime_profile):
Don't compile. Correct cut'n'paste error with .size.
2005-10-09 18:24:09 +00:00
Daniel Jacobowitz
ecaa5eab07
* sysdeps/unix/sysv/linux/arm/posix_fadvise.c,
...
sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: New files.
2005-10-05 20:17:08 +00:00
Daniel Jacobowitz
485a9bb9f0
* sysdeps/arm/dl-machine.h: Include <tls.h>.
...
(elf_machine_type_class, elf_machine_rel, elf_machine_rela): Handle
TLS relocations.
* sysdeps/unix/sysv/linux/arm/Makefile: Build __aeabi_read_tp.
* sysdeps/unix/sysv/linux/arm/sysdep.h (INTERNAL_SYSCALL_RAW): Renamed
from INTERNAL_SYSCALL.
(INTERNAL_SYSCALL, INTERNAL_SYSCALL_ARM): New macros.
* sysdeps/arm/dl-tls.h, sysdeps/arm/elf/configure.in,
sysdeps/arm/elf/configure, sysdeps/arm/libc-tls.c,
sysdeps/arm/linuxthreads/tls.h, sysdeps/arm/tls-macros.h,
sysdeps/unix/sysv/linux/arm/aeabi_read_tp.S,
sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: New files.
2005-10-05 20:15:22 +00:00
Daniel Jacobowitz
b4900b98dc
* sysdeps/arm/atomicity.h: Delete.
...
* sysdeps/arm/bits/atomic.h: New file.
2005-10-05 20:14:10 +00:00
Daniel Jacobowitz
867700cb74
* sysdeps/arm/dl-machine.h (ARCH_LA_PLTENTER,
...
ARCH_LA_PLTEXIT): Define.
* sysdeps/arm/ldsodefs.h, sysdeps/arm/tst-audit.h: New files.
2005-10-05 20:13:03 +00:00
Richard Henderson
dc5ca5d1f6
[BZ #1358 ]
...
* sysdeps/unix/alpha/sysdep.h (inline_syscall1): Copy argument(s)
to a temporary first.
(inline_syscall2, inline_syscall3, inline_syscall4): Likewise.
(inline_syscall5, inline_syscall6): Likewise.
2005-09-20 05:35:42 +00:00
Richard Henderson
228f398a30
* sysdeps/alpha/ldiv.S (lldiv): Add alias.
2005-09-20 05:35:13 +00:00
Andreas Jaeger
32e1823eb3
[BZ #1047 ]
...
* sysdeps/unix/sysv/linux/mips/getpagesize.c: New file.
2005-09-16 13:12:44 +00:00
Andreas Jaeger
ea78d8fa65
2005-09-16 Maciej W. Rozycki <macro@linux-mips.org>
...
[BZ #933 ]
* sysdeps/unix/sysv/linux/mips/brk.c (__brk): Load the number of
the syscall immediately before invocation.
* sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Use
macros to handle GP.
* sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall):
Likewise. Update inaccurate comments.
2005-09-16 12:20:48 +00:00
Ulrich Drepper
eb4e0abb40
(FUTEX_WAKE_OP, FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
...
(lll_futex_wake_unlock): Define.
2005-09-08 17:39:04 +00:00
Ulrich Drepper
e582e2ddcf
(pthread_rwlock_t): Make sure __flags are located at offset 48 from the
...
start of the structure.
2005-07-11 15:48:29 +00:00
Ulrich Drepper
15aff3c956
Add libm_hidden_def.
2005-07-08 18:52:47 +00:00
Roland McGrath
eb699c14c2
2005-07-08 Carlos O'Donell <carlos@systemhalted.org>
...
* sysdeps/hppa/setjmp.S (__sigsetjmp): Use %r1 not %r19.
2005-07-08 06:11:21 +00:00
Roland McGrath
e4782a5688
2005-07-08 Carlos O'Donell <carlos@systemhalted.org>
...
* sysdeps/hppa/add_n.s (__mpn_add_n): Use sr0 or r0, not 0.
* sysdeps/hppa/lshift.s (__mpn_lshift): Likewise.
* sysdeps/hppa/rshift.s (__mpn_rshift): Likewise.
* sysdeps/hppa/sub_n.s (__mpn_sub_n): Likewise.
* sysdeps/hppa/udiv_qrnnd.s (__udiv_qrnnd): Likewise.
* sysdeps/hppa/hppa1.1/udiv_qrnnd.s (__udiv_qrnnd): Likewise.
2005-07-08 06:10:13 +00:00
Ulrich Drepper
baee7540a4
(RLIMIT_RTPRIO): Fix typo.
2005-06-21 18:38:49 +00:00
Ulrich Drepper
5e74293199
(RLIMIT_NICE, RLIMIT_RTPRIO): Add.
...
(RLIMIT_NLIMITS): Adjust.
2005-06-20 15:07:34 +00:00
Phil Blundell
3bdeb53ad6
2005-06-13 Philip Blundell <philb@gnu.org>
...
Patch from addsub@eyou.com:
* sysdeps/arm/ieee754.h: Deleted.
* sysdeps/arm/gmp-mparam.h: Support VFP and big endian.
* sysdeps/arm/bits/endian.h: Likewise.
2005-06-13 10:11:47 +00:00
Phil Blundell
19f2e4ebef
2005-06-11 Phil Blundell <pb@reciva.com>
...
* sysdeps/arm/init-first.c: Deleted.
* sysdeps/unix/sysv/linux/arm/linuxthreads/fork.c: New file.
2005-06-11 10:15:27 +00:00
Phil Blundell
51ae9dc83d
2005-06-10 Phil Blundell <pb@reciva.com>
...
Bug #957 :
* sysdeps/unix/sysv/linux/arm/mmap64.S: Handle offset correctly on
big endian machines. Reported by Sven Henkel <shenkel@gmail.com>.
2005-06-10 18:10:47 +00:00
Phil Blundell
849e84dde3
2005-05-09 Daniel Jacobowitz <dan@codesourcery.com>
...
Mark Mitchell <mark@codesourcery.com>
* sysdeps/arm/bits/link.h: New file.
* sysdeps/arm/dl-trampoline.S: New file.
* sysdeps/arm/dl-machine.h: Check RESOLVE_MAP instead of RESOLVE.
(elf_machine_runtime_setup): Check dl_profile before calling
_dl_name_match_p.
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Delete.
(elf_machine_rel, elf_machine_rela): Use RESOLVE_MAP.
(fix_bad_pc24): Use auto instead of static.
2005-06-10 11:33:52 +00:00
Phil Blundell
efaef362b3
2005-05-09 Daniel Jacobowitz <dan@codesourcery.com>
...
Mark Mitchell <mark@codesourcery.com>
* sysdeps/unix/sysv/linux/arm/ioperm.c (BUS_ISA): Define for new
kernel headers.
2005-06-10 11:12:09 +00:00
Phil Blundell
7051b72105
2005-06-09 Phil Blundell <pb@reciva.com>
...
* sysdeps/unix/arm/sysdep.h, sysdeps/unix/sysv/linux/arm/sysdep.h,
sysdeps/unix/sysv/linux/arm/sysdep.S: Correct paths to included
files.
2005-06-09 21:48:16 +00:00
Richard Henderson
685896ef5a
* elf/elf.h (DT_ALPHA_PLTRO, DT_ALPHA_NUM): New.
...
* sysdeps/alpha/dl-dtprocnum.h: New file.
* sysdeps/alpha/dl-machine.h (DT_ALPHA): New.
(elf_machine_load_address): Simplify to rely on gprel relocations.
(elf_machine_runtime_setup): Handle DT_ALPHA_PLTRO plt format.
Remove thread safety workaround for binutils 2.6.
(elf_machine_fixup_plt): Handle DT_ALPHA_PLTRO plt format.
* sysdeps/alpha/dl-trampoline.S (_dl_runtime_resolve_new): New.
(_dl_runtime_profile_new): New.
(_dl_runtime_resolve_old): Rename from _dl_runtime_resolve.
(_dl_runtime_profile_old): Rename from _dl_runtime_profile. Fix
typo in _dl_call_pltexit argument loading.
* sysdeps/alpha/div_libc.h (funcnoplt): New.
* sysdeps/alpha/divl.S, sysdeps/alpha/divq.S: Use it.
* sysdeps/alpha/divqu.S, sysdeps/alpha/reml.S: Likewise.
* sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S: Likewise.
2005-05-28 23:40:09 +00:00
Ulrich Drepper
3597225d0f
(O_DIRECT): Fix value.
2005-05-26 18:49:14 +00:00
Ulrich Drepper
8796ce2127
Add space inf weak_alias use.
2005-05-26 14:30:48 +00:00
Roland McGrath
3a980ecbe3
.
2005-05-24 06:13:06 +00:00
Roland McGrath
fc49094260
2005-03-22 Roland McGrath <roland@redhat.com>
...
* Makefile ($(distname).tar): Fail if sysdeps/.../configure files are
not all up to date. Touch configure files after cvs export.
(glibc-port-%-$(dist-version).tar): Likewise.
2005-05-24 06:13:03 +00:00
Roland McGrath
39f0b3ca13
* ChangeLog.arm: New file (this one).
...
* sysdeps/arm, sysdeps/unix/arm, sysdeps/unix/sysv/linux/arm:
Subdirectories moved here from main repository.
* sysdeps/arm/preconfigure: New file.
* sysdeps/arm/shlib-versions: New file.
2005-05-24 06:12:39 +00:00
Roland McGrath
ef0ae0f57e
2005-04-28 Roland McGrath <roland@redhat.com>
...
* sysdeps/generic/dl-sysdep.h: Remove multiple inclusion protection.
* sysdeps/alpha/dl-sysdep.h: Likewise.
Use #include_next instead of duplicating generic file's contents.
* sysdeps/ia64/dl-sysdep.h: Likewise.
* sysdeps/sparc/dl-sysdep.h: Likewise.
2005-04-28 22:28:50 +00:00
Andreas Jaeger
60bb0e6188
MIPS NPTL specific pthreadtypes.h
2005-03-29 19:56:26 +00:00