platform/upstream/glibc.git
18 years agoAdd ARM EABI port.
Daniel Jacobowitz [Mon, 10 Oct 2005 15:29:32 +0000 (15:29 +0000)]
Add ARM EABI port.

18 years ago2005-10-10 Philip Blundell <philb@gnu.org>
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.

18 years ago * sysdeps/arm/memset.S (memset): Correct handling of negative
Daniel Jacobowitz [Mon, 10 Oct 2005 15:00:47 +0000 (15:00 +0000)]
* sysdeps/arm/memset.S (memset): Correct handling of negative
arguments.

18 years ago2005-10-10 Philip Blundell <philb@gnu.org>
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.

18 years ago2005-10-09 Phil Blundell <pb@reciva.com>
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.

18 years ago2005-10-09 Phil Blundell <pb@reciva.com>
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.

18 years ago * sysdeps/unix/sysv/linux/arm/posix_fadvise.c,
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.

18 years ago * sysdeps/arm/dl-machine.h: Include <tls.h>.
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.

18 years ago * sysdeps/arm/atomicity.h: Delete.
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.

18 years ago * sysdeps/arm/dl-machine.h (ARCH_LA_PLTENTER,
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.

18 years ago [BZ #1358]
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.

18 years ago * sysdeps/alpha/ldiv.S (lldiv): Add alias.
Richard Henderson [Tue, 20 Sep 2005 05:35:13 +0000 (05:35 +0000)]
    * sysdeps/alpha/ldiv.S (lldiv): Add alias.

18 years ago [BZ #1047]
Andreas Jaeger [Fri, 16 Sep 2005 13:12:44 +0000 (13:12 +0000)]
[BZ #1047]
* sysdeps/unix/sysv/linux/mips/getpagesize.c: New file.

18 years ago2005-09-16 Maciej W. Rozycki <macro@linux-mips.org>
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.

18 years ago(FUTEX_WAKE_OP, FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
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.

19 years ago(pthread_rwlock_t): Make sure __flags are located at offset 48 from the
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.

19 years agoAdd libm_hidden_def.
Ulrich Drepper [Fri, 8 Jul 2005 18:52:47 +0000 (18:52 +0000)]
Add libm_hidden_def.

19 years ago2005-07-08 Carlos O'Donell <carlos@systemhalted.org>
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.

19 years ago2005-07-08 Carlos O'Donell <carlos@systemhalted.org>
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.

19 years ago(RLIMIT_RTPRIO): Fix typo.
Ulrich Drepper [Tue, 21 Jun 2005 18:38:49 +0000 (18:38 +0000)]
(RLIMIT_RTPRIO): Fix typo.

19 years ago(RLIMIT_NICE, RLIMIT_RTPRIO): Add.
Ulrich Drepper [Mon, 20 Jun 2005 15:07:34 +0000 (15:07 +0000)]
(RLIMIT_NICE, RLIMIT_RTPRIO): Add.
(RLIMIT_NLIMITS): Adjust.

19 years ago2005-06-13 Philip Blundell <philb@gnu.org>
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.

19 years ago2005-06-11 Phil Blundell <pb@reciva.com>
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.

19 years ago2005-06-10 Phil Blundell <pb@reciva.com>
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>.

19 years ago2005-05-09 Daniel Jacobowitz <dan@codesourcery.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.

19 years ago2005-05-09 Daniel Jacobowitz <dan@codesourcery.com>
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.

19 years ago2005-06-09 Phil Blundell <pb@reciva.com>
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.

19 years ago * elf/elf.h (DT_ALPHA_PLTRO, DT_ALPHA_NUM): New.
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.

19 years ago(O_DIRECT): Fix value.
Ulrich Drepper [Thu, 26 May 2005 18:49:14 +0000 (18:49 +0000)]
(O_DIRECT): Fix value.

19 years agoAdd space inf weak_alias use.
Ulrich Drepper [Thu, 26 May 2005 14:30:48 +0000 (14:30 +0000)]
Add space inf weak_alias use.

19 years ago.
Roland McGrath [Tue, 24 May 2005 06:13:06 +0000 (06:13 +0000)]
.

19 years ago2005-03-22 Roland McGrath <roland@redhat.com>
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.

19 years ago\f
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.

19 years ago2005-04-28 Roland McGrath <roland@redhat.com>
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.

19 years agoMIPS NPTL specific pthreadtypes.h
Andreas Jaeger [Tue, 29 Mar 2005 19:56:26 +0000 (19:56 +0000)]
MIPS NPTL specific pthreadtypes.h

19 years ago2005-03-28 Roland McGrath <roland@redhat.com>
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.

19 years agoProtect against multiple inclusion.
Andreas Jaeger [Mon, 28 Mar 2005 09:32:27 +0000 (09:32 +0000)]
Protect against multiple inclusion.

19 years ago(elf_machine_rel): Add TLS relocations.
Andreas Jaeger [Mon, 28 Mar 2005 09:32:04 +0000 (09:32 +0000)]
(elf_machine_rel): Add TLS relocations.

19 years agoMIPS NPTL support
Andreas Jaeger [Mon, 28 Mar 2005 09:21:52 +0000 (09:21 +0000)]
MIPS NPTL support

19 years agoAdd MIPS NPTL support
Andreas Jaeger [Mon, 28 Mar 2005 09:19:38 +0000 (09:19 +0000)]
Add MIPS NPTL support

19 years ago(SIGEV_THREAD, SIGEV_CALLBACK, SIGEV_THREAD_ID): Update to match the kernel.
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.

19 years ago (INTERNAL_SYSCALL_NCS): New.
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.

19 years agoAdd NPTL and five-argument clone support.
Andreas Jaeger [Mon, 28 Mar 2005 09:17:06 +0000 (09:17 +0000)]
Add NPTL and five-argument clone support.

19 years agoLinux/MIPS vfork implementation.
Andreas Jaeger [Mon, 28 Mar 2005 09:16:12 +0000 (09:16 +0000)]
Linux/MIPS vfork implementation.

19 years agoNew file.
Andreas Jaeger [Mon, 28 Mar 2005 09:15:45 +0000 (09:15 +0000)]
New file.

19 years agoNew files for MIPS TLS support.
Andreas Jaeger [Mon, 28 Mar 2005 09:14:59 +0000 (09:14 +0000)]
New files for MIPS TLS support.

19 years agoRemove unused file.
Andreas Jaeger [Mon, 28 Mar 2005 08:59:05 +0000 (08:59 +0000)]
Remove unused file.

19 years agoRemove whitespace at eol
Andreas Jaeger [Mon, 28 Mar 2005 07:58:05 +0000 (07:58 +0000)]
Remove whitespace at eol

19 years ago (internal_syscall5): Use register operands instead of non-lvalue
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.

19 years ago (elf_machine_runtime_link_map, ELF_DL_FRAME_SIZE,
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.

19 years agoMIPS specific dl-trampoline.c.
Andreas Jaeger [Mon, 28 Mar 2005 07:44:17 +0000 (07:44 +0000)]
MIPS specific dl-trampoline.c.

19 years agoMIPS specific <bits/link.h>
Andreas Jaeger [Mon, 28 Mar 2005 07:43:51 +0000 (07:43 +0000)]
MIPS specific <bits/link.h>

19 years agoAdd __USE_MISC and __USE_XOPEN guards to match linux/bits/termios.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.

19 years agoFinish remove not committed properly
Roland McGrath [Thu, 17 Mar 2005 00:32:10 +0000 (00:32 +0000)]
Finish remove not committed properly

19 years ago2005-03-15 Jakub Jelinek <jakub@redhat.com>
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.

19 years ago2005-03-10 GOTO Masanori <gotom@debian.or.jp>
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.

19 years ago(ELF_MACHINE_NO_RELA): Define unconditionally to defined RTLD_BOOTSTRAP.
Ulrich Drepper [Sun, 6 Mar 2005 00:07:58 +0000 (00:07 +0000)]
(ELF_MACHINE_NO_RELA): Define unconditionally to defined RTLD_BOOTSTRAP.

19 years ago2005-03-01 Roland McGrath <roland@redhat.com>
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].

19 years ago2004-11-11 Richard Sandiford <rsandifo@redhat.com>
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.

19 years ago2005-02-14 GOTO Masanori <gotom@debian.or.jp>
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.

19 years ago(elf_machine_rela): Remove use of
Andreas Schwab [Tue, 8 Feb 2005 20:02:24 +0000 (20:02 +0000)]
(elf_machine_rela): Remove use of
RESOLVE.

19 years ago * math/math_private.h (__copysign): Define as builtin for gcc 4.
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.

19 years ago * sysdeps/alpha/dl-machine.h (elf_machine_rela): Use RESOLVE_MAP
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.

19 years ago(__old_globfree): Also copy gl_offs.
Ulrich Drepper [Thu, 27 Jan 2005 20:52:04 +0000 (20:52 +0000)]
(__old_globfree): Also copy gl_offs.

19 years ago * sysdeps/alpha/dl-trampoline.S: New file.
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.

19 years ago * sysdeps/m68k/dl-machine.h: Remove trampoline code. Define
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.

19 years ago(__tls_get_addr): Updated for dtv_t union.
Ulrich Drepper [Wed, 12 Jan 2005 02:41:50 +0000 (02:41 +0000)]
(__tls_get_addr): Updated for dtv_t union.

19 years ago * csu/elf-init.c (__libc_csu_fini): Don't do anything here.
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.

19 years ago2004-12-20 Jakub Jelinek <jakub@redhat.com>,
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.

19 years ago * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Add support
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.

19 years agoAdjust for changed result.
Andreas Jaeger [Fri, 17 Dec 2004 06:49:58 +0000 (06:49 +0000)]
Adjust for changed result.

19 years ago2004-10-18 Maciej W. Rozycki <macro@mips.com>
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.

19 years ago2004-10-18 Maciej W. Rozycki <macro@mips.com>
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.

19 years ago2004-10-18 Maciej W. Rozycki <macro@mips.com>
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.

19 years ago2004-11-18 Daniel Jacobowitz <dan@codesourcery.com>
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.

19 years ago2004-11-18 Daniel Jacobowitz <dan@codesourcery.com>
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.

19 years agoInclude sgidefs.h only if NO_SGIDEFS_H isn't defined. Don't include
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.

19 years agoRegenerate.
Andreas Jaeger [Wed, 24 Nov 2004 04:42:45 +0000 (04:42 +0000)]
Regenerate.

19 years agoUse _ABIO32, _ABIN32 and _ABI64 for ABI selection in generated asm-unistd.h.
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.

19 years agoUse _ABIO32, _ABIN32 and _ABI64 for ABI selection in generated syscall-list.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

19 years ago Prevent <asm/sgidefs.h> from being
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.

19 years agoUse _ABIO32, _ABIN32 and _ABI64 for ABI selection throughout.
Andreas Jaeger [Wed, 24 Nov 2004 04:37:35 +0000 (04:37 +0000)]
Use _ABIO32, _ABIN32 and _ABI64 for ABI selection throughout.

19 years agoInclude <sgidefs.h>. Use _ABIO32, _ABIN32 and _ABI64 for ABI selection
Andreas Jaeger [Wed, 24 Nov 2004 04:36:11 +0000 (04:36 +0000)]
Include <sgidefs.h>.  Use _ABIO32, _ABIN32 and _ABI64 for ABI selection
throughout.

19 years ago * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (__SI_MAX_SIZE):
Andreas Jaeger [Mon, 22 Nov 2004 12:47:50 +0000 (12:47 +0000)]
* sysdeps/unix/sysv/linux/mips/bits/siginfo.h (__SI_MAX_SIZE):
Define appropriately based on __WORDSIZE.
[struct siginfo] (__pad0): Add for explicit padding.

* sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Formatting fixes
throughout.

19 years ago(TRAMPOLINE_TEMPLATE): Add unwind annotations.
Ulrich Drepper [Fri, 19 Nov 2004 00:01:25 +0000 (00:01 +0000)]
(TRAMPOLINE_TEMPLATE): Add unwind annotations.

19 years agoRemove sys/syscall.h, sys/types.h, linux/posix_types.h, sysdep.h and
Ulrich Drepper [Fri, 12 Nov 2004 01:15:06 +0000 (01:15 +0000)]
Remove sys/syscall.h, sys/types.h, linux/posix_types.h, sysdep.h and
pthread-functions.h includes.  Include setxid.h.  Use
INLINE_SETXID_SYSCALL macro instead of INLINE_SYSCALL, kill the
HAVE_PTR__NPTL_SETXID guarded snippets.

19 years ago * sysdeps/unix/sysv/linux/alpha/register-dump.h (regnames): Align.
Richard Henderson [Thu, 4 Nov 2004 18:39:10 +0000 (18:39 +0000)]
    * sysdeps/unix/sysv/linux/alpha/register-dump.h (regnames): Align.
        (linefeed): Remove.
        (register_dump): Rewrite to generate into a flat buffer instead
        of into iovecs.

19 years ago * sysdeps/unix/sysv/linux/alpha/setregid.c: New file.
Richard Henderson [Mon, 1 Nov 2004 05:31:54 +0000 (05:31 +0000)]
    * sysdeps/unix/sysv/linux/alpha/setregid.c: New file.
        * sysdeps/unix/sysv/linux/alpha/setresgid.c: New file.
        * sysdeps/unix/sysv/linux/alpha/setresuid.c: New file.
        * sysdeps/unix/sysv/linux/alpha/setreuid.c: New file.

19 years ago(elf_machine_rela)
Andreas Schwab [Sat, 30 Oct 2004 21:44:13 +0000 (21:44 +0000)]
(elf_machine_rela)
(elf_machine_rela_relative, elf_machine_lazy_rel): Mark auto
instead of static.

19 years agoNonworking non-GNU OS port code moved to ports repository.
Roland McGrath [Tue, 26 Oct 2004 02:15:24 +0000 (02:15 +0000)]
Nonworking non-GNU OS port code moved to ports repository.

19 years ago.
Roland McGrath [Tue, 26 Oct 2004 01:36:11 +0000 (01:36 +0000)]
.

19 years ago2004-10-25 Roland McGrath <roland@frob.com>
Roland McGrath [Tue, 26 Oct 2004 01:35:53 +0000 (01:35 +0000)]
2004-10-25  Roland McGrath  <roland@frob.com>

* configure.in (ASM_LINE_SEP): Move this setting to ...
* sysdeps/hppa/configure.in: ... here, new file.
* sysdeps/hppa/configure: New generated file.
* configure: Regenerated.

19 years ago2004-10-25 Roland McGrath <roland@frob.com>
Roland McGrath [Tue, 26 Oct 2004 01:33:30 +0000 (01:33 +0000)]
2004-10-25  Roland McGrath  <roland@frob.com>

* sysdeps/cris/configure.in: New file, with test moved out of main
libc configure.in file.
* sysdeps/cris/configure: New generated file.

19 years ago* ChangeLog.am33: Added emacs local variables for mode setting and
Alexandre Oliva [Mon, 25 Oct 2004 07:16:32 +0000 (07:16 +0000)]
* ChangeLog.am33: Added emacs local variables for mode setting and
default changelog name.

19 years ago* sysdeps/unix/sysv/linux/linuxthreads/sysdep-cancel.h: Moved...
Alexandre Oliva [Mon, 25 Oct 2004 07:11:57 +0000 (07:11 +0000)]
* sysdeps/unix/sysv/linux/linuxthreads/sysdep-cancel.h: Moved...
* sysdeps/unix/sysv/linux/am33/linuxthreads/sysdep-cancel.h:
... here, where it should have been added in the first place.

19 years agoadd it
Roland McGrath [Sat, 23 Oct 2004 04:33:14 +0000 (04:33 +0000)]
add it

19 years ago.
Roland McGrath [Sat, 23 Oct 2004 04:07:10 +0000 (04:07 +0000)]
.

19 years ago2004-10-22 Roland McGrath <roland@frob.com>
Roland McGrath [Sat, 23 Oct 2004 04:07:06 +0000 (04:07 +0000)]
2004-10-22  Roland McGrath  <roland@frob.com>

* Makefile (dist, dist-ports): New target.
(dist-port-%): New pattern rule.
* Makeconfig [!subdir] (ports/%): New pattern rule.

19 years ago.
Roland McGrath [Sat, 23 Oct 2004 03:04:42 +0000 (03:04 +0000)]
.

19 years ago2004-10-22 Roland McGrath <roland@frob.com>
Roland McGrath [Sat, 23 Oct 2004 03:04:33 +0000 (03:04 +0000)]
2004-10-22  Roland McGrath  <roland@frob.com>

* configure.in: Cope if there are no sysdeps/*/preconfigure files.
* configure: Regenerated.