Roland McGrath [Wed, 28 Dec 2005 05:46:19 +0000 (05:46 +0000)]
2005-12-27 Roland McGrath <roland@redhat.com>
* sysdeps/arm/eabi/bits/setjmp.h (_JMPBUF_UNWINDS): Take third argument
DEMANGLE, and pass SP value through it.
* sysdeps/arm/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
* sysdeps/arm/fpu/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
Roland McGrath [Wed, 28 Dec 2005 05:46:16 +0000 (05:46 +0000)]
2005-12-15 Roland McGrath <roland@redhat.com>
* sysdeps/arm/libc-tls.c: Use csu/ instead of sysdeps/generic/.
Roland McGrath [Wed, 28 Dec 2005 05:44:53 +0000 (05:44 +0000)]
2005-12-27 Roland McGrath <roland@redhat.com>
* sysdeps/cris/bits/setjmp.h (_JMPBUF_UNWINDS): Take third argument
DEMANGLE, and pass SP value through it.
Roland McGrath [Wed, 28 Dec 2005 05:44:02 +0000 (05:44 +0000)]
2005-12-27 Roland McGrath <roland@redhat.com>
* sysdeps/am33/bits/setjmp.h (_JMPBUF_UNWINDS): Take third argument
DEMANGLE, and pass SP value through it.
Roland McGrath [Wed, 28 Dec 2005 05:43:52 +0000 (05:43 +0000)]
2005-12-27 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/aix/bits/setjmp.h (_JMPBUF_UNWINDS): Take third
argument DEMANGLE, and pass SP value through it.
Roland McGrath [Wed, 28 Dec 2005 05:41:36 +0000 (05:41 +0000)]
2005-12-27 Roland McGrath <roland@redhat.com>
* sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Take third argument
DEMANGLE, and pass SP value through it.
* sysdeps/hppa/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
* sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
* sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
* sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
* sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
* sysdeps/s390/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
* sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
* sysdeps/sparc/sparc32/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Likewise.
* sysdeps/x86_64/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
* hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Pass inline
demangler function to _JMPBUF_UNWINDS.
* sysdeps/mach/hurd/jmp-unwind.c (demangle_ptr): New function.
(_longjmp_unwind): Pass it to _JMPBUF_UNWINDS.
Roland McGrath [Wed, 28 Dec 2005 05:41:16 +0000 (05:41 +0000)]
2005-12-27 Roland McGrath <roland@redhat.com>
* sysdeps/x86_64/jmpbuf-unwind.h (_jmpbuf_sp): New inline function.
(_JMPBUF_UNWINDS_ADJ): Use it, to PTR_DEMANGLE before comparison.
* sysdeps/alpha/jmpbuf-unwind.h: Likewise.
* sysdeps/i386/jmpbuf-unwind.h: Likewise.
* sysdeps/mips/jmpbuf-unwind.h: Likewise.
* sysdeps/powerpc/jmpbuf-unwind.h: Likewise.
* sysdeps/s390/jmpbuf-unwind.h: Likewise.
* sysdeps/sh/jmpbuf-unwind.h: Likewise.
* sysdeps/sparc/sparc32/jmpbuf-unwind.h: Likewise.
* sysdeps/sparc/sparc64/jmpbuf-unwind.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/jmpbuf-unwind.h: Likewise.
Ulrich Drepper [Tue, 27 Dec 2005 15:23:06 +0000 (15:23 +0000)]
Define EOWNERDEAD and ENOTRECOVERABLE if not already defined.
Ulrich Drepper [Tue, 27 Dec 2005 15:21:33 +0000 (15:21 +0000)]
dd new errlist-compat entry for up to 138 errnos.
Ulrich Drepper [Tue, 27 Dec 2005 15:08:35 +0000 (15:08 +0000)]
Add __next and __prev field to pthread_mutex_t.
Roland McGrath [Wed, 21 Dec 2005 22:16:21 +0000 (22:16 +0000)]
2005-12-21 Roland McGrath <roland@redhat.com>
* elf/cache.c: Use <> rather than "" #includes.
* elf/chroot_canon.c: Likewise.
* elf/dl-lookup.c: Likewise.
* elf/ldconfig.c: Likewise.
* elf/readlib.c: Likewise.
* elf/rtld.c: Likewise.
* gmon/mcount.c: Likewise.
* hurd/hurdfault.c: Likewise.
* hurd/hurdsig.c: Likewise.
* hurd/report-wait.c: Likewise.
* hurd/sigunwind.c: Likewise.
* mach/setup-thread.c: Likewise.
* rt/aio_read64.c: Likewise.
* rt/aio_sigqueue.c: Likewise.
* rt/aio_write64.c: Likewise.
* soft-fp/soft-fp.h: Likewise.
* stdio-common/tmpfile64.c: Likewise.
* sysdeps/mach/hurd/fork.c: Likewise.
* sysdeps/mach/hurd/hppa/trampoline.c: Likewise.
* sysdeps/mach/hurd/i386/trampoline.c: Likewise.
* sysdeps/mach/hurd/mips/trampoline.c: Likewise.
* sysdeps/mach/hurd/powerpc/trampoline.c: Likewise.
* sysdeps/posix/sprofil.c: Likewise.
* sysdeps/pthread/aio_cancel.c: Likewise.
* sysdeps/pthread/aio_fsync.c: Likewise.
* sysdeps/pthread/aio_read64.c: Likewise.
* sysdeps/pthread/aio_read.c: Likewise.
* sysdeps/pthread/aio_suspend.c: Likewise.
* sysdeps/pthread/aio_write64.c: Likewise.
* sysdeps/pthread/aio_write.c: Likewise.
* sysdeps/pthread/lio_listio64.c: Likewise.
* sysdeps/pthread/lio_listio.c: Likewise.
* sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
* sysdeps/unix/sysv/tcflow.c: Likewise.
Richard Henderson [Sun, 18 Dec 2005 22:47:08 +0000 (22:47 +0000)]
* sysdeps/alpha/libc-tls.c: Fix directory on include of base file.
Roland McGrath [Thu, 15 Dec 2005 21:10:12 +0000 (21:10 +0000)]
2005-12-15 Roland McGrath <roland@redhat.com>
* sysdeps/alpha/fpu/s_cacosf.c: Don't use sysdeps/generic/.
* sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
* sysdeps/alpha/fpu/s_casinf.c: Likewise.
* sysdeps/alpha/fpu/s_casinhf.c: Likewise.
* sysdeps/alpha/fpu/s_catanf.c: Likewise.
* sysdeps/alpha/fpu/s_catanhf.c: Likewise.
* sysdeps/alpha/fpu/s_ccosf.c: Likewise.
* sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
* sysdeps/alpha/fpu/s_cexpf.c: Likewise.
* sysdeps/alpha/fpu/s_clog10f.c: Likewise.
* sysdeps/alpha/fpu/s_clogf.c: Likewise.
* sysdeps/alpha/fpu/s_cpowf.c: Likewise.
* sysdeps/alpha/fpu/s_cprojf.c: Likewise.
* sysdeps/alpha/fpu/s_csinf.c: Likewise.
* sysdeps/alpha/fpu/s_csinhf.c: Likewise.
* sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
* sysdeps/alpha/fpu/s_ctanf.c: Likewise.
* sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
* sysdeps/alpha/libc-tls.c: Likewise.
* sysdeps/gnu/glob64.c: Likewise.
* sysdeps/gnu/updwtmp.c: Likewise.
* sysdeps/gnu/utmp_file.c: Likewise.
* sysdeps/i386/bzero.c: Likewise.
* sysdeps/i386/ffs.c: Likewise.
* sysdeps/i386/i686/ffs.c: Likewise.
* sysdeps/i386/memset.c: Likewise.
* sysdeps/ia64/fpu/printf_fphex.c: Likewise.
* sysdeps/ia64/libc-tls.c: Likewise.
* sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
* sysdeps/m68k/ffs.c: Likewise.
* sysdeps/mach/hurd/getdents.c: Likewise.
* sysdeps/mach/hurd/init-posix.c: Likewise.
* sysdeps/mach/msync.c: Likewise.
* sysdeps/mips/libc-tls.c: Likewise.
* sysdeps/posix/profil.c: Likewise.
* sysdeps/posix/shm_open.c: Likewise.
* sysdeps/posix/shm_unlink.c: Likewise.
* sysdeps/posix/sprofil.c: Likewise.
* sysdeps/rs6000/ffs.c: Likewise.
* sysdeps/s390/libc-tls.c: Likewise.
* sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/wordexp.c: Likewise.
* sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
* sysdeps/unix/sysv/linux/gai_sigqueue.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
* sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
* sysdeps/unix/sysv/linux/i386/readelflib.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/readelflib.c: Likewise.
* sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/readelflib.c: Likewise.
* sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
* sysdeps/unix/sysv/linux/mq_close.c: Likewise.
* sysdeps/unix/sysv/linux/mq_getattr.c: Likewise.
* sysdeps/unix/sysv/linux/mq_notify.c: Likewise.
* sysdeps/unix/sysv/linux/mq_open.c: Likewise.
* sysdeps/unix/sysv/linux/mq_receive.c: Likewise.
* sysdeps/unix/sysv/linux/mq_send.c: Likewise.
* sysdeps/unix/sysv/linux/mq_unlink.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/readelflib.c: Likewise.
* sysdeps/unix/sysv/linux/s390/readelflib.c: Likewise.
* sysdeps/unix/sysv/linux/sched_getaffinity.c: Likewise.
* sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
* sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
* sysdeps/unix/sysv/linux/sigstack.c: Likewise.
* sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
* sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/readelflib.c: Likewise.
* sysdeps/unix/sysv/linux/truncate64.c: Likewise.
* sysdeps/unix/sysv/linux/vfork.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/readelflib.c: Likewise.
Ulrich Drepper [Wed, 14 Dec 2005 11:16:23 +0000 (11:16 +0000)]
Generic strtsupp.c.
Ulrich Drepper [Wed, 14 Dec 2005 08:30:30 +0000 (08:30 +0000)]
Generic console.c.
Ulrich Drepper [Wed, 14 Dec 2005 08:22:40 +0000 (08:22 +0000)]
Generic brdinit.c.
Roland McGrath [Tue, 6 Dec 2005 01:38:24 +0000 (01:38 +0000)]
2005-11-15 Mike Frysinger <vapier@gentoo.org>
* sysdeps/hppa/bits/setjmp.h: Add _BITS_SETJMP_H preprocessor
protection and allow pthread.h to include bits/setjmp.h as well as
setjmp.h.
* sysdeps/m68k/bits/setjmp.h: Likewise.
* sysdeps/s390/bits/setjmp.h: Make sure only setjmp.h or pthread.h
are allow to include bits/setjmp.h.
* sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Cast rhs to match lhs
cast of address.
* sysdeps/sh/bits/setjmp.h: Likewise.
Andreas Jaeger [Mon, 28 Nov 2005 08:25:55 +0000 (08:25 +0000)]
(MREMAP_FIXED): Added.
Patch by René Rebe <rene@exactcode.de>.
Richard Henderson [Sun, 27 Nov 2005 06:05:33 +0000 (06:05 +0000)]
* sysdeps/alpha/strncmp.S: Don't read too much data when pointers
are co-aligned, and count is aligned with the end of the word.
Richard Henderson [Sat, 26 Nov 2005 00:52:45 +0000 (00:52 +0000)]
* sysdeps/unix/sysv/linux/alpha/fxstatat.c (__fxstatat): Fix typo.
(__fxstatat64): Alias from __fxstatat; remove other cnp errors.
* sysdeps/unix/sysv/linux/alpha/sigaction.c: Include sys/cdefs.h
and stddef.h.
* sysdeps/unix/sysv/linux/alpha/bits/mman.h (MREMAP_FIXED): Define.
Roland McGrath [Fri, 18 Nov 2005 22:46:31 +0000 (22:46 +0000)]
2005-11-18 Paul Brook <paul@codesourcery.com>
* sysdeps/unix/sysv/linux/m68k/bits/mman.h (MREMAP_FIXED): New macro.
Ulrich Drepper [Fri, 18 Nov 2005 02:40:36 +0000 (02:40 +0000)]
Define SHM_NORESERVE.
Daniel Jacobowitz [Wed, 16 Nov 2005 19:22:59 +0000 (19:22 +0000)]
* sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h,
sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c,
sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c,
sysdeps/unix/sysv/linux/arm/nptl/unwind.h,
sysdeps/arm/unwind-dw2-fde-glibc.c,
sysdeps/arm/unwind-pe.c, sysdeps/arm/framestate.c: New files.
Daniel Jacobowitz [Wed, 16 Nov 2005 19:03:42 +0000 (19:03 +0000)]
* 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.
Daniel Jacobowitz [Wed, 16 Nov 2005 18:08:53 +0000 (18:08 +0000)]
* 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.
Ulrich Drepper [Fri, 11 Nov 2005 19:42:24 +0000 (19:42 +0000)]
Linux/m68k fchownat implementation.
Ulrich Drepper [Fri, 11 Nov 2005 19:17:50 +0000 (19:17 +0000)]
Linux/m68k fxstatat implementation.
Ulrich Drepper [Fri, 11 Nov 2005 19:15:37 +0000 (19:15 +0000)]
Linux/Alpha fxstatat implementation.
Roland McGrath [Thu, 10 Nov 2005 00:57:19 +0000 (00:57 +0000)]
.
Roland McGrath [Thu, 10 Nov 2005 00:56:23 +0000 (00:56 +0000)]
2005-10-11 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/powerpc/nofpu/fesetround.c: Add libm_hidden_def.
Ulrich Drepper [Sun, 6 Nov 2005 02:05:16 +0000 (02:05 +0000)]
Remove use of HAVE_GNU_LD.
Daniel Jacobowitz [Thu, 3 Nov 2005 14:42:00 +0000 (14:42 +0000)]
* sysdeps/unix/sysv/linux/arm/aeabi_read_tp.S: Add LGPL exception.
Daniel Jacobowitz [Mon, 31 Oct 2005 21:05:09 +0000 (21:05 +0000)]
* sysdeps/arm/eabi/aeabi_lcsts.c, sysdeps/arm/eabi/aeabi_math.c,
sysdeps/arm/eabi/aeabi_sighandlers.S: Add LGPL exception.
Daniel Jacobowitz [Mon, 31 Oct 2005 20:49:25 +0000 (20:49 +0000)]
* 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.
Daniel Jacobowitz [Mon, 31 Oct 2005 20:41:32 +0000 (20:41 +0000)]
* sysdeps/unix/sysv/linux/arm/bits/mman.h (MREMAP_FIXED): Define.
Daniel Jacobowitz [Thu, 27 Oct 2005 18:50:12 +0000 (18:50 +0000)]
* sysdeps/unix/sysv/linux/arm/socket.S: Honor NO_WEAK_ALIAS.
Ulrich Drepper [Thu, 20 Oct 2005 05:24:59 +0000 (05:24 +0000)]
Return the correct result when the same dividend and divisor are provided,
and they're negative numbers.
Daniel Jacobowitz [Mon, 10 Oct 2005 15:36:01 +0000 (15:36 +0000)]
Correct attribution goof.
Daniel Jacobowitz [Mon, 10 Oct 2005 15:29:32 +0000 (15:29 +0000)]
Add ARM EABI port.
Phil Blundell [Mon, 10 Oct 2005 15:09:14 +0000 (15:09 +0000)]
2005-10-10 Philip Blundell <philb@gnu.org>
* sysdeps/arm/Makefile, sysdeps/arm/machine-gmon.h,
sysdeps/arm/_mcount.S: Revert previous bogus changes.
Daniel Jacobowitz [Mon, 10 Oct 2005 15:00:47 +0000 (15:00 +0000)]
* sysdeps/arm/memset.S (memset): Correct handling of negative
arguments.
Phil Blundell [Mon, 10 Oct 2005 14:51:13 +0000 (14:51 +0000)]
2005-10-10 Philip Blundell <philb@gnu.org>
* sysdeps/arm/_mcount.S: Suppress profiling when building this
file.
Phil Blundell [Sun, 9 Oct 2005 18:29:25 +0000 (18:29 +0000)]
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.
Phil Blundell [Sun, 9 Oct 2005 18:24:09 +0000 (18:24 +0000)]
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.
Daniel Jacobowitz [Wed, 5 Oct 2005 20:17:08 +0000 (20:17 +0000)]
* sysdeps/unix/sysv/linux/arm/posix_fadvise.c,
sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: New files.
Daniel Jacobowitz [Wed, 5 Oct 2005 20:15:22 +0000 (20:15 +0000)]
* 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.
Daniel Jacobowitz [Wed, 5 Oct 2005 20:14:10 +0000 (20:14 +0000)]
* sysdeps/arm/atomicity.h: Delete.
* sysdeps/arm/bits/atomic.h: New file.
Daniel Jacobowitz [Wed, 5 Oct 2005 20:13:03 +0000 (20:13 +0000)]
* sysdeps/arm/dl-machine.h (ARCH_LA_PLTENTER,
ARCH_LA_PLTEXIT): Define.
* sysdeps/arm/ldsodefs.h, sysdeps/arm/tst-audit.h: New files.
Richard Henderson [Tue, 20 Sep 2005 05:35:42 +0000 (05:35 +0000)]
[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.
Richard Henderson [Tue, 20 Sep 2005 05:35:13 +0000 (05:35 +0000)]
* sysdeps/alpha/ldiv.S (lldiv): Add alias.
Andreas Jaeger [Fri, 16 Sep 2005 13:12:44 +0000 (13:12 +0000)]
[BZ #1047]
* sysdeps/unix/sysv/linux/mips/getpagesize.c: New file.
Andreas Jaeger [Fri, 16 Sep 2005 12:20:48 +0000 (12:20 +0000)]
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.
Ulrich Drepper [Thu, 8 Sep 2005 17:39:04 +0000 (17:39 +0000)]
(FUTEX_WAKE_OP, FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
(lll_futex_wake_unlock): Define.
Ulrich Drepper [Mon, 11 Jul 2005 15:48:29 +0000 (15:48 +0000)]
(pthread_rwlock_t): Make sure __flags are located at offset 48 from the
start of the structure.
Ulrich Drepper [Fri, 8 Jul 2005 18:52:47 +0000 (18:52 +0000)]
Add libm_hidden_def.
Roland McGrath [Fri, 8 Jul 2005 06:11:21 +0000 (06:11 +0000)]
2005-07-08 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/hppa/setjmp.S (__sigsetjmp): Use %r1 not %r19.
Roland McGrath [Fri, 8 Jul 2005 06:10:13 +0000 (06:10 +0000)]
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.
Ulrich Drepper [Tue, 21 Jun 2005 18:38:49 +0000 (18:38 +0000)]
(RLIMIT_RTPRIO): Fix typo.
Ulrich Drepper [Mon, 20 Jun 2005 15:07:34 +0000 (15:07 +0000)]
(RLIMIT_NICE, RLIMIT_RTPRIO): Add.
(RLIMIT_NLIMITS): Adjust.
Phil Blundell [Mon, 13 Jun 2005 10:11:47 +0000 (10:11 +0000)]
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.
Phil Blundell [Sat, 11 Jun 2005 10:15:27 +0000 (10:15 +0000)]
2005-06-11 Phil Blundell <pb@reciva.com>
* sysdeps/arm/init-first.c: Deleted.
* sysdeps/unix/sysv/linux/arm/linuxthreads/fork.c: New file.
Phil Blundell [Fri, 10 Jun 2005 18:10:47 +0000 (18:10 +0000)]
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>.
Phil Blundell [Fri, 10 Jun 2005 11:33:52 +0000 (11:33 +0000)]
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.
Phil Blundell [Fri, 10 Jun 2005 11:12:09 +0000 (11:12 +0000)]
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.
Phil Blundell [Thu, 9 Jun 2005 21:48:16 +0000 (21:48 +0000)]
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.
Richard Henderson [Sat, 28 May 2005 23:40:09 +0000 (23:40 +0000)]
* 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.
Ulrich Drepper [Thu, 26 May 2005 18:49:14 +0000 (18:49 +0000)]
(O_DIRECT): Fix value.
Ulrich Drepper [Thu, 26 May 2005 14:30:48 +0000 (14:30 +0000)]
Add space inf weak_alias use.
Roland McGrath [Tue, 24 May 2005 06:13:06 +0000 (06:13 +0000)]
.
Roland McGrath [Tue, 24 May 2005 06:13:03 +0000 (06:13 +0000)]
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.
Roland McGrath [Tue, 24 May 2005 06:12:39 +0000 (06:12 +0000)]
\f
* 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.
Roland McGrath [Thu, 28 Apr 2005 22:28:50 +0000 (22:28 +0000)]
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.
Andreas Jaeger [Tue, 29 Mar 2005 19:56:26 +0000 (19:56 +0000)]
MIPS NPTL specific pthreadtypes.h
Roland McGrath [Mon, 28 Mar 2005 20:42:43 +0000 (20:42 +0000)]
2005-03-28 Roland McGrath <roland@redhat.com>
* sysdeps/generic/w_exp2.c [NO_LONG_DOUBLE]: Fix typos in alias names.
Reported by Mark Mitchell <mark@codesourcery.com>.
* Versions.def (libm): Define GLIBC_2.4 set.
* math/Versions (libm: GLIBC_2.4): Add this set, with exp2l.
* sysdeps/i386/Versions (libm: GLIBC_2.1): Add this set, with exp2l.
* sysdeps/ia64/Versions: Likewise.
* sysdeps/m68k/Versions: Likewise.
* sysdeps/sparc/sparc64/Versions: Likewise.
* sysdeps/x86_64/Versions: New file.
* sysdeps/mips/mips64/Versions: New file.
Andreas Jaeger [Mon, 28 Mar 2005 09:32:27 +0000 (09:32 +0000)]
Protect against multiple inclusion.
Andreas Jaeger [Mon, 28 Mar 2005 09:32:04 +0000 (09:32 +0000)]
(elf_machine_rel): Add TLS relocations.
Andreas Jaeger [Mon, 28 Mar 2005 09:21:52 +0000 (09:21 +0000)]
MIPS NPTL support
Andreas Jaeger [Mon, 28 Mar 2005 09:19:38 +0000 (09:19 +0000)]
Add MIPS NPTL support
Andreas Jaeger [Mon, 28 Mar 2005 09:17:43 +0000 (09:17 +0000)]
(SIGEV_THREAD, SIGEV_CALLBACK, SIGEV_THREAD_ID): Update to match the kernel.
Andreas Jaeger [Mon, 28 Mar 2005 09:17:26 +0000 (09:17 +0000)]
(INTERNAL_SYSCALL_NCS): New.
(INTERNAL_SYSCALL, internal_syscall0, internal_syscall1,
internal_syscall2, internal_syscall3, internal_syscall4,
internal_syscall5, internal_syscall6, internal_syscall7): Update
for non-constant support.
Andreas Jaeger [Mon, 28 Mar 2005 09:17:06 +0000 (09:17 +0000)]
Add NPTL and five-argument clone support.
Andreas Jaeger [Mon, 28 Mar 2005 09:16:12 +0000 (09:16 +0000)]
Linux/MIPS vfork implementation.
Andreas Jaeger [Mon, 28 Mar 2005 09:15:45 +0000 (09:15 +0000)]
New file.
Andreas Jaeger [Mon, 28 Mar 2005 09:14:59 +0000 (09:14 +0000)]
New files for MIPS TLS support.
Andreas Jaeger [Mon, 28 Mar 2005 08:59:05 +0000 (08:59 +0000)]
Remove unused file.
Andreas Jaeger [Mon, 28 Mar 2005 07:58:05 +0000 (07:58 +0000)]
Remove whitespace at eol
Andreas Jaeger [Mon, 28 Mar 2005 07:48:26 +0000 (07:48 +0000)]
(internal_syscall5): Use register operands instead of non-lvalue
memory operands.
(internal_syscall6): Likewise.
(internal_syscall7): Likewise.
Andreas Jaeger [Mon, 28 Mar 2005 07:47:27 +0000 (07:47 +0000)]
(elf_machine_runtime_link_map, ELF_DL_FRAME_SIZE,
ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS,
ELF_MACHINE_RUNTIME_TRAMPOLINE): Move to dl-trampoline.c.
(RTLD_START): Align the stack before calling _dl_init_internal.
Use .ent for _dl_start_user.
(ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): Define.
(elf_machine_rel, elf_machine_rel_relative, elf_machine_lazy_rel)
(elf_machine_runtime_setup): Use "auto inline".
(elf_machine_rela, elf_machine_rela_relative): Provide empty versions.
(elf_machine_got_rel): Likewise. Use RESOLVE_MAP.
Andreas Jaeger [Mon, 28 Mar 2005 07:44:17 +0000 (07:44 +0000)]
MIPS specific dl-trampoline.c.
Andreas Jaeger [Mon, 28 Mar 2005 07:43:51 +0000 (07:43 +0000)]
MIPS specific <bits/link.h>
Ulrich Drepper [Sun, 20 Mar 2005 04:30:28 +0000 (04:30 +0000)]
Add __USE_MISC and __USE_XOPEN guards to match linux/bits/termios.h.
(CMSPAR): Define.
Roland McGrath [Thu, 17 Mar 2005 00:32:10 +0000 (00:32 +0000)]
Finish remove not committed properly
Roland McGrath [Tue, 15 Mar 2005 22:57:26 +0000 (22:57 +0000)]
2005-03-15 Jakub Jelinek <jakub@redhat.com>
* elf/dynamic-link.h (elf_machine_rel, elf_machine_rel_relative,
elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
Add inline keyword.
* sysdeps/alpha/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative, elf_machine_lazy_rel): Add always_inline
attribute.
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative, elf_machine_lazy_rel): Likewise. Change
static inline into auto inline.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
* sysdeps/generic/dl-machine.h (elf_machine_rel, elf_machine_rela):
Likewise.
* sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rel_relative,
elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
Likewise.
Roland McGrath [Sun, 13 Mar 2005 03:27:22 +0000 (03:27 +0000)]
2005-03-10 GOTO Masanori <gotom@debian.or.jp>
* sysdeps/hppa/configure.in: Remove old Makefile leftovers.
* sysdeps/hppa/configure: Regenerated.
Ulrich Drepper [Sun, 6 Mar 2005 00:07:58 +0000 (00:07 +0000)]
(ELF_MACHINE_NO_RELA): Define unconditionally to defined RTLD_BOOTSTRAP.
Roland McGrath [Tue, 1 Mar 2005 20:34:40 +0000 (20:34 +0000)]
2005-03-01 Roland McGrath <roland@redhat.com>
[BZ #721]
* sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
of [RESOLVE_MAP].
Andreas Jaeger [Fri, 25 Feb 2005 15:18:13 +0000 (15:18 +0000)]
2004-11-11 Richard Sandiford <rsandifo@redhat.com>
[BZ #758]
* sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): Only
preprocess <asm/unistd.h> if it defines ABI-prefixed syscall names
like __NR_N32_open. Just include <asm/unistd.h> otherwise.
* sysdeps/unix/sysv/linux/mips/configure: Regenerate.
* sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: Delete
* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (SYS_ify): Use the
standard __NR prefix.
* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (SYS_ify): Likewise.
* sysdeps/unix/sysv/linux/mips/Makefile (syscall-%.h): Rework so that
the output file is compatible with both pre-2.6 and 2.6 kernel headers.
Extract separate syscall lists for each ABI.
Roland McGrath [Tue, 15 Feb 2005 00:12:18 +0000 (00:12 +0000)]
2005-02-14 GOTO Masanori <gotom@debian.or.jp>
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated
getpeername entry.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
Andreas Schwab [Tue, 8 Feb 2005 20:02:24 +0000 (20:02 +0000)]
(elf_machine_rela): Remove use of
RESOLVE.
Richard Henderson [Tue, 8 Feb 2005 04:37:48 +0000 (04:37 +0000)]
* math/math_private.h (__copysign): Define as builtin for gcc 4.
(__copysignf, __copysignl): Likewise.
* sysdeps/alpha/fpu/bits/mathinline.h (copysign): Don't define
for gcc 4.0.
(copysignf, copysignl, fabsf, fabs): Likewise.
(__copysign, __copysignf, __copysignl): Remove.
(__fabs, __fabsf): Remove.