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.
Richard Henderson [Mon, 7 Feb 2005 03:11:46 +0000 (03:11 +0000)]
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Use RESOLVE_MAP
all the time.
Ulrich Drepper [Thu, 27 Jan 2005 20:52:04 +0000 (20:52 +0000)]
(__old_globfree): Also copy gl_offs.
Richard Henderson [Sun, 23 Jan 2005 08:02:38 +0000 (08:02 +0000)]
* sysdeps/alpha/dl-trampoline.S: New file.
* sysdeps/alpha/dl-machine.h: Move PLT trampolines there.
Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
(elf_machine_runtime_setup): Test for dl_profile non-null.
(ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
* sysdeps/alpha/bits/link.h: New file.
* sysdeps/generic/ldsodefs.h (La_alpha_regs, La_alpha_retval): New.
(struct audit_ifaces): Add alpha entries.
* elf/tst-auditmod1.c: Add alpha entries.
Andreas Schwab [Sun, 16 Jan 2005 02:07:29 +0000 (02:07 +0000)]
* sysdeps/m68k/dl-machine.h: Remove trampoline code. Define
ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
(elf_machine_runtime_setup): If profile != 0 does not anymore mean
GLRO(dl_profile) != NULL.
* sysdeps/m68k/dl-trampoline.S: New file.
* sysdeps/m68k/bits/link.h: New file.
* sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add m68k
variants.
* elf/tst-auditmod1.c: Add m68k support.
Ulrich Drepper [Wed, 12 Jan 2005 02:41:50 +0000 (02:41 +0000)]
(__tls_get_addr): Updated for dtv_t union.
Ulrich Drepper [Thu, 6 Jan 2005 22:40:24 +0000 (22:40 +0000)]
* csu/elf-init.c (__libc_csu_fini): Don't do anything here.
* sysdeps/generic/libc-start.c: Don't register program destructor here.
* dlfcn/Makefile: Add rules to build dlfcn.c.
(LDFLAGS-dl.so): Removed.
* dlfcn/dlclose.c: _dl_close is now in ld.so, use function pointer
table.
* dlfcn/dlmopen.c: Likewise for _dl_open.
* dlfcn/dlopen.c: Likewise.
* dlfcn/dlopenold.c: Likewise.
* elf/dl-libc.c: Likewise for _dl_open and _dl_close.
* elf/Makefile (routines): Remove dl-open and dl-close.
(dl-routines): Add dl-open, dl-close, and dl-trampoline.
Add rules to build and run tst-audit1.
* elf/tst-audit1.c: New file.
* elf/tst-auditmod1.c: New file.
* elf/Versions [libc]: Remove _dl_open and _dl_close.
* elf/dl-close.c: Change for use inside ld.so instead of libc.so.
* elf/dl-open.c: Likewise.
* elf/dl-debug.c (_dl_debug_initialize): Allow reinitialization,
signaled by nonzero parameter.
* elf/dl-init.c: Fix use of r_state.
* elf/dl-load.c: Likewise.
* elf/dl-close.c: Add auditing checkpoints.
* elf/dl-open.c: Likewise.
* elf/dl-fini.c: Likewise.
* elf/dl-load.c: Likewise.
* elf/dl-sym.c: Likewise.
* sysdeps/generic/libc-start.c: Likewise.
* elf/dl-object.c: Allocate memory for auditing information.
* elf/dl-reloc.c: Remove RESOLV. We now always need the map.
Correctly initialize slotinfo.
* elf/dynamic-link.h: Adjust after removal of RESOLV.
* sysdeps/hppa/dl-lookupcfg.h: Likewise.
* sysdeps/ia64/dl-lookupcfg.h: Likewise.
* sysdeps/powerpc/powerpc64/dl-lookupcfg.h: Removed.
* elf/dl-runtime.c (_dl_fixup): Little cleanup.
(_dl_profile_fixup): New parameters to point to register struct and
variable for frame size.
Add auditing checkpoints.
(_dl_call_pltexit): New function.
Don't define trampoline code here.
* elf/rtld.c: Recognize LD_AUDIT. Load modules on startup.
Remove all the functions from _rtld_global_ro which only _dl_open
and _dl_close needed.
Add auditing checkpoints.
* elf/link.h: Define symbols for auditing interfaces.
* include/link.h: Likewise.
* include/dlfcn.h: Define __RTLD_AUDIT.
Remove prototypes for _dl_open and _dl_close.
Adjust access to argc and argv in libdl.
* dlfcn/dlfcn.c: New file.
* sysdeps/generic/dl-lookupcfg.h: Remove all content now that RESOLVE
is gone.
* sysdeps/generic/ldsodefs.h: Add definitions for auditing interfaces.
* sysdeps/generic/unsecvars.h: Add LD_AUDIT.
* sysdeps/i386/dl-machine.h: Remove trampoline code here.
Adjust for removal of RESOLVE.
* sysdeps/x86_64/dl-machine.h: Likewise.
* sysdeps/generic/dl-trampoline.c: New file.
* sysdeps/i386/dl-trampoline.c: New file.
* sysdeps/x86_64/dl-trampoline.c: New file.
* sysdeps/generic/dl-tls.c: Cleanups. Fixup for dtv_t change.
Fix updating of DTV.
* sysdeps/generic/libc-tls.c: Likewise.
* sysdeps/arm/bits/link.h: Renamed to ...
* sysdeps/arm/buts/linkmap.h: ...this.
* sysdeps/generic/bits/link.h: Renamed to...
* sysdeps/generic/bits/linkmap.h: ...this.
* sysdeps/hppa/bits/link.h: Renamed to...
* sysdeps/hppa/bits/linkmap.h: ...this.
* sysdeps/hppa/i386/link.h: Renamed to...
* sysdeps/hppa/i386/linkmap.h: ...this.
* sysdeps/hppa/ia64/link.h: Renamed to...
* sysdeps/hppa/ia64/linkmap.h: ...this.
* sysdeps/hppa/s390/link.h: Renamed to...
* sysdeps/hppa/s390/linkmap.h: ...this.
* sysdeps/hppa/sh/link.h: Renamed to...
* sysdeps/hppa/sh/linkmap.h: ...this.
* sysdeps/hppa/x86_64/link.h: Renamed to...
* sysdeps/hppa/x86_64/linkmap.h: ...this.
Andreas Jaeger [Mon, 20 Dec 2004 08:34:03 +0000 (08:34 +0000)]
2004-12-20 Jakub Jelinek <jakub@redhat.com>,
Jim Gifford <giffordj@linkline.com>
[BZ #562]
* sysdeps/mips/Makefile (librt-sysdep_routines): Add.
* sysdeps/unix/mips/rt-sysdep.S: New file.
Richard Henderson [Fri, 17 Dec 2004 10:11:44 +0000 (10:11 +0000)]
* sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Add support
for NPTL where the PID is stored at userlevel and needs to be
reset when CLONE_THREAD is not used.
nptl/
* sysdeps/unix/sysv/linux/alpha/clone.S: New file.
* sysdeps/alpha/tcb-offsets.sym (TID_OFFSET): New.
Andreas Jaeger [Fri, 17 Dec 2004 06:49:58 +0000 (06:49 +0000)]
Adjust for changed result.
Roland McGrath [Wed, 15 Dec 2004 01:00:56 +0000 (01:00 +0000)]
2004-10-18 Maciej W. Rozycki <macro@mips.com>
* sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Use
__NTH instead of __THROW in the inline definition.
* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Likewise.
Roland McGrath [Wed, 15 Dec 2004 01:00:51 +0000 (01:00 +0000)]
2004-10-18 Maciej W. Rozycki <macro@mips.com>
* sysdeps/mips/bits/dlfcn.h (RTLD_DEEPBIND): New macro.
Roland McGrath [Wed, 15 Dec 2004 01:00:48 +0000 (01:00 +0000)]
2004-10-18 Maciej W. Rozycki <macro@mips.com>
* sysdeps/unix/sysv/linux/mips/bits/mman.h
(PROT_GROWSDOWN, PROT_GROWSUP): New macros.
Roland McGrath [Sat, 4 Dec 2004 21:20:30 +0000 (21:20 +0000)]
2004-11-18 Daniel Jacobowitz <dan@codesourcery.com>
* sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Update RETINSTR use.
* sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
Roland McGrath [Sat, 4 Dec 2004 21:20:17 +0000 (21:20 +0000)]
2004-11-18 Daniel Jacobowitz <dan@codesourcery.com>
* sysdeps/arm/sysdep.h: Define __USE_BX__ if bx is available.
Use it instead of __THUMB_INTERWORK__. Make RETINSTR take
only a condition and a register.
* sysdeps/arm/dl-machine.h: Use __USE_BX__ instead of
__THUMB_INTERWORK__.
(_dl_start_user): Use BX.
* sysdeps/arm/strlen.S: Use DO_RET.
* sysdeps/unix/arm/brk.S, sysdeps/unix/arm/fork.S,
sysdeps/unix/arm/sysdep.S, sysdeps/unix/arm/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/arm/clone.S,
sysdeps/unix/sysv/linux/arm/mmap.S,
sysdeps/unix/sysv/linux/arm/mmap64.S,
sysdeps/unix/sysv/linux/arm/socket.S,
sysdeps/unix/sysv/linux/arm/sysdep.h,
sysdeps/unix/sysv/linux/arm/vfork.S: Update uses of RETINSTR.
Ulrich Drepper [Sat, 27 Nov 2004 20:01:03 +0000 (20:01 +0000)]
Include sgidefs.h only if NO_SGIDEFS_H isn't defined. Don't include
sgidefs.h twice.
Andreas Jaeger [Wed, 24 Nov 2004 04:42:45 +0000 (04:42 +0000)]
Regenerate.
Andreas Jaeger [Wed, 24 Nov 2004 04:38:31 +0000 (04:38 +0000)]
Use _ABIO32, _ABIN32 and _ABI64 for ABI selection in generated asm-unistd.h.
Andreas Jaeger [Wed, 24 Nov 2004 04:38:15 +0000 (04:38 +0000)]
Use _ABIO32, _ABIN32 and _ABI64 for ABI selection in generated syscall-list.h
Andreas Jaeger [Wed, 24 Nov 2004 04:37:58 +0000 (04:37 +0000)]
Prevent <asm/sgidefs.h> from being
included by kernel headers and undo its settings if already
included. Define _ABIO32, _ABIN32 and _ABI64 if missing and use
them to define _MIPS_SIM_ABI32, _MIPS_SIM_NABI32 and
_MIPS_SIM_ABI64 for compatibility.