platform/upstream/glibc.git
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.

19 years agoAdded Matsushita AM33/2.0 port.
Alexandre Oliva [Sat, 23 Oct 2004 00:33:35 +0000 (00:33 +0000)]
Added Matsushita AM33/2.0 port.

19 years ago(__SYSCALL_CLOBBERS): Add "memory".
Andreas Jaeger [Mon, 18 Oct 2004 05:16:08 +0000 (05:16 +0000)]
(__SYSCALL_CLOBBERS): Add "memory".

19 years ago * sysdeps/unix/sysv/linux/alpha/register-dump.h: New file.
Richard Henderson [Fri, 15 Oct 2004 09:34:45 +0000 (09:34 +0000)]
    * sysdeps/unix/sysv/linux/alpha/register-dump.h: New file.
        * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h (SIGCONTEXT): Add
        _code argument, pass sigcontext by pointer.
        (SIGCONTEXT_EXTRA_ARGS): Likewise.
        (GET_PC, GET_FRAME, GET_STACK): Expect ctx as pointer.

19 years ago * sysdeps/alpha/tcb-offsets.sym (thread_offsetof): Redefine to
Richard Henderson [Fri, 15 Oct 2004 07:07:57 +0000 (07:07 +0000)]
    * sysdeps/alpha/tcb-offsets.sym (thread_offsetof): Redefine to
        make gcc4 happy.

19 years ago * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use prototype
Richard Henderson [Fri, 15 Oct 2004 07:06:56 +0000 (07:06 +0000)]
    * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use prototype
        style definition.
        * sysdeps/unix/sysv/linux/alpha/adjtime.c (ADJTIME): If
        __ASSUME_TIMEVAL64, define __adjtime directly rather than
        via strong_alias.

19 years ago * sysdeps/alpha/dl-machine.h (elf_machine_rela,
Richard Henderson [Fri, 15 Oct 2004 07:06:11 +0000 (07:06 +0000)]
    * sysdeps/alpha/dl-machine.h (elf_machine_rela,
        elf_machine_rela_relative, elf_machine_lazy_rel): Mark auto
        instead of static.

19 years ago(elf_machine_runtime_link_map): Replace iteration over GL(dl_loaded)
Ulrich Drepper [Thu, 14 Oct 2004 16:08:53 +0000 (16:08 +0000)]
(elf_machine_runtime_link_map): Replace iteration over GL(dl_loaded)
chain with iteration over all namespaces' _ns_loaded chains.

19 years ago(WORD_COPY_BWD): Remove use of cast as lvalue.
Andreas Schwab [Sat, 9 Oct 2004 21:19:06 +0000 (21:19 +0000)]
(WORD_COPY_BWD): Remove use of cast as lvalue.

19 years agoRemove __THROW from inline definitions.
Andreas Schwab [Sat, 9 Oct 2004 21:18:03 +0000 (21:18 +0000)]
Remove __THROW from inline definitions.

19 years ago2004-10-04 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 4 Oct 2004 20:59:38 +0000 (20:59 +0000)]
2004-10-04  Roland McGrath  <roland@redhat.com>

* include/errno.h [RTLD_PRIVATE_ERRNO] (errno): Rename the real symbol
to rtld_errno.
* sysdeps/generic/errno.c [RTLD_PRIVATE_ERRNO] (rtld_errno): Define it,
and don't define any other errno names.
* sysdeps/unix/alpha/sysdep.h [RTLD_PRIVATE_ERRNO]: Use rtld_errno in
place of errno.
* sysdeps/unix/i386/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
* sysdeps/unix/x86_64/sysdep.S: Likewise.

19 years ago(__fdimf, __fdim, fdimf, fdim): Handle +inf/+inf.
Ulrich Drepper [Thu, 30 Sep 2004 06:16:28 +0000 (06:16 +0000)]
(__fdimf, __fdim, fdimf, fdim): Handle +inf/+inf.

19 years ago(pthread_cond_t): Add __extension__ to long long types.
Ulrich Drepper [Tue, 28 Sep 2004 10:29:32 +0000 (10:29 +0000)]
(pthread_cond_t): Add __extension__ to long long types.

19 years ago * sysdeps/alpha/alphaev6/memcpy.S: Mark .prologue.
Richard Henderson [Sun, 26 Sep 2004 17:40:31 +0000 (17:40 +0000)]
    * sysdeps/alpha/alphaev6/memcpy.S: Mark .prologue.
        * sysdeps/unix/alpha/sysdep.h (LEAF, ENTRY): Align entry points
        to 16 byte boundaries.

19 years ago(inline_syscall[0-6]): Change name argument to numbers from syscall names.
Ulrich Drepper [Thu, 23 Sep 2004 05:15:41 +0000 (05:15 +0000)]
(inline_syscall[0-6]): Change name argument to numbers from syscall names.
(INLINE_SYSCALL1): Pass __NR_##name to inline_syscall##nr.
(INTERNAL_SYSCALL_NCS): Renamed from...
(INTERNAL_SYSCALL_1): ... this.  Use INTERNAL_SYSCALL_NCS.

19 years ago * sysdeps/alpha/fpu/libm-test-ulps: Update.
Richard Henderson [Wed, 15 Sep 2004 12:23:39 +0000 (12:23 +0000)]
    * sysdeps/alpha/fpu/libm-test-ulps: Update.
        * scripts/data/c++-types-alpha-linux-gnu.data: New file.

19 years ago * sysdeps/unix/sysv/linux/alpha/vfork.S: Use libc_hidden_def.
Richard Henderson [Wed, 15 Sep 2004 12:22:09 +0000 (12:22 +0000)]
    * sysdeps/unix/sysv/linux/alpha/vfork.S: Use libc_hidden_def.

19 years agoRemove uses of __P and __PMT.
Ulrich Drepper [Tue, 14 Sep 2004 04:24:52 +0000 (04:24 +0000)]
Remove uses of __P and __PMT.

19 years agoDefine rwlock types also for __USE_XOPEN2K.
Ulrich Drepper [Sun, 12 Sep 2004 18:40:45 +0000 (18:40 +0000)]
Define rwlock types also for __USE_XOPEN2K.

19 years agoUse __NTH instead of __THROW in inline function definitions.
Ulrich Drepper [Sun, 12 Sep 2004 18:13:16 +0000 (18:13 +0000)]
Use __NTH instead of __THROW in inline function definitions.

19 years ago(__pthread_once): Use atomic_increment instead of atomic_exchange_and_add.
Ulrich Drepper [Wed, 8 Sep 2004 06:11:35 +0000 (06:11 +0000)]
(__pthread_once): Use atomic_increment instead of atomic_exchange_and_add.

19 years ago * sysdeps/alpha/fpu/fraiseexcpt.c: Remove file.
Richard Henderson [Mon, 6 Sep 2004 02:19:36 +0000 (02:19 +0000)]
    * sysdeps/alpha/fpu/fraiseexcpt.c: Remove file.
        * sysdeps/unix/sysv/linux/kernel-features.h
        (__ASSUME_IEEE_RAISE_EXCEPTION): New.
        * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.c: New file.
        * sysdeps/unix/sysv/linux/alpha/kernel_sysinfo.h: New file.
        * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Use it.
        * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.

19 years ago * sysdeps/alpha/div.S: Save and restore FPCR around fp operations.
Richard Henderson [Mon, 6 Sep 2004 02:01:35 +0000 (02:01 +0000)]
    * sysdeps/alpha/div.S: Save and restore FPCR around fp operations.
        * sysdeps/alpha/divl.S, sysdeps/alpha/divq.S, sysdeps/alpha/divqu.S,
        sysdeps/alpha/ldiv.S, sysdeps/alpha/reml.S, sysdeps/alpha/remq.S,
        sysdeps/alpha/remqu.S: Likewise.
        * sysdeps/alpha/div_libc.h (FRAME): Increase to 64.

19 years ago * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (SINGLE_THREAD_P):
Richard Henderson [Mon, 6 Sep 2004 01:12:02 +0000 (01:12 +0000)]
    * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (SINGLE_THREAD_P):
        Move definition inside libpthread, libc, librt check.  Provide
        definition for rtld.

19 years agoDefine __libc_unwind_longjmp.
Ulrich Drepper [Thu, 2 Sep 2004 22:46:02 +0000 (22:46 +0000)]
Define __libc_unwind_longjmp.

19 years ago(pthread_cond_t): Rename __data.__clock to __data.__nwaiters, make it
Ulrich Drepper [Thu, 2 Sep 2004 18:51:31 +0000 (18:51 +0000)]
(pthread_cond_t): Rename __data.__clock to __data.__nwaiters, make it
unsigned int.

19 years agoInclude sgidefs.h only if NO_SGIDEFS_H isn't defined.
Ulrich Drepper [Thu, 26 Aug 2004 16:59:14 +0000 (16:59 +0000)]
Include sgidefs.h only if NO_SGIDEFS_H isn't defined.

19 years ago * sysdeps/alpha/elf/start.S (_start): Use $15 as frame unwind
Richard Henderson [Wed, 25 Aug 2004 19:59:01 +0000 (19:59 +0000)]
    * sysdeps/alpha/elf/start.S (_start): Use $15 as frame unwind
        instead of $31.  Zero $15.
        * sysdeps/unix/sysv/linux/alpha/clone.S (thread_start): Likewise.

19 years ago (_dl_start_user): Don't set __libc_stack_end.
Andreas Jaeger [Wed, 25 Aug 2004 05:57:35 +0000 (05:57 +0000)]
 (_dl_start_user): Don't set __libc_stack_end.

19 years ago[BZ #341]
Andreas Jaeger [Mon, 23 Aug 2004 07:28:45 +0000 (07:28 +0000)]
[BZ #341]
(O_NOATIME): Define.

19 years ago.
Roland McGrath [Mon, 16 Aug 2004 09:21:38 +0000 (09:21 +0000)]
.

19 years ago2004-08-16 Roland McGrath <roland@frob.com>
Roland McGrath [Mon, 16 Aug 2004 09:21:34 +0000 (09:21 +0000)]
2004-08-16  Roland McGrath  <roland@frob.com>

* Makefile: New file.

19 years ago2004-08-15 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 16 Aug 2004 08:51:46 +0000 (08:51 +0000)]
2004-08-15  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who):
Remove __RUSAGE_BOTH constant and RUSAGE_BOTH macro.
* sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.

19 years ago2004-08-15 Roland McGrath <roland@frob.com>
Roland McGrath [Mon, 16 Aug 2004 04:51:04 +0000 (04:51 +0000)]
2004-08-15  Roland McGrath  <roland@frob.com>

* csu/elf-init.c: Update copyright terms including special exception
for these trivial files, which are statically linked into executables
that use dynamic linking for the significant library code.
* io/fstat.c: Likewise.
* io/fstat64.c: Likewise.
* io/lstat.c: Likewise.
* io/lstat64.c: Likewise.
* io/stat.c: Likewise.
* io/stat64.c: Likewise.
* stdlib/atexit.c: Likewise.
* sysdeps/alpha/elf/initfini.c: Likewise.
* sysdeps/alpha/elf/start.S: Likewise.
* sysdeps/arm/elf/start.S: Likewise.
* sysdeps/cris/elf/start.S: Likewise.
* sysdeps/generic/initfini.c: Likewise.
* sysdeps/generic/mknod.c: Likewise.
* sysdeps/hppa/elf/initfini.c: Likewise.
* sysdeps/hppa/elf/start.S: Likewise.
* sysdeps/i386/elf/start.S: Likewise.
* sysdeps/i386/i686/hp-timing.c: Likewise.
* sysdeps/ia64/elf/initfini.c: Likewise.
* sysdeps/ia64/elf/start.S: Likewise.
* sysdeps/ia64/hp-timing.c: Likewise.
* sysdeps/m68k/elf/start.S: Likewise.
* sysdeps/mach/start.c: Likewise.
* sysdeps/mips/elf/start.S: Likewise.
* sysdeps/powerpc/powerpc32/elf/start.S: Likewise.
* sysdeps/powerpc/powerpc64/elf/start.S: Likewise.
* sysdeps/s390/s390-32/elf/start.S: Likewise.
* sysdeps/s390/s390-32/initfini.c: Likewise.
* sysdeps/s390/s390-64/elf/start.S: Likewise.
* sysdeps/s390/s390-64/initfini.c: Likewise.
* sysdeps/sh/elf/initfini.c: Likewise.
* sysdeps/sh/elf/start.S: Likewise.
* sysdeps/sparc/sparc32/elf/start.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Likewise.
* sysdeps/sparc/sparc64/elf/start.S: Likewise.
* sysdeps/sparc/sparc64/hp-timing.c: Likewise.
* sysdeps/standalone/i386/start.S: Likewise.
* sysdeps/standalone/i960/start.S: Likewise.
* sysdeps/standalone/m68k/m68020/start.S: Likewise.
* sysdeps/unix/arm/start.c: Likewise.
* sysdeps/unix/bsd/osf/alpha/start.S: Likewise.
* sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
* sysdeps/unix/sparc/start.c: Likewise.
* sysdeps/unix/start.c: Likewise.
* sysdeps/unix/sysv/aix/start.s: Likewise.
* sysdeps/unix/sysv/irix4/start.c: Likewise.
* sysdeps/x86_64/elf/initfini.c: Likewise.
* sysdeps/x86_64/elf/start.S: Likewise.

19 years ago2004-08-13 Daniel Jacobowitz <dan@debian.org>
Roland McGrath [Sat, 14 Aug 2004 06:54:41 +0000 (06:54 +0000)]
2004-08-13  Daniel Jacobowitz  <dan@debian.org>

* sysdeps/arm/machine-gmon.h (mcount_internal): Mark as
__attribute_used__.

19 years agoDefine non-standard RUSAGE_ enums as __RUSAGE_ and adjust macros
Ulrich Drepper [Fri, 13 Aug 2004 05:46:37 +0000 (05:46 +0000)]
Define non-standard RUSAGE_ enums as __RUSAGE_ and adjust macros
accordingly.

19 years ago(RLIMIT_SIGPENDING, RLIMIT_MSGQUEUE): Add.
Ulrich Drepper [Thu, 12 Aug 2004 18:05:26 +0000 (18:05 +0000)]
(RLIMIT_SIGPENDING, RLIMIT_MSGQUEUE): Add.
(RLIMIT_NLIMITS, RLIM_NLIMITS): Adjust.

19 years ago(RLIMIT_SIGPENDING, RLIMIT_MSGQUEUE): Add.
Ulrich Drepper [Thu, 12 Aug 2004 18:04:51 +0000 (18:04 +0000)]
(RLIMIT_SIGPENDING, RLIMIT_MSGQUEUE): Add.
(RLIMIT_NLIMITS, RLIM_NLIMITS): Adjust.
Define non-standard RLIMIT__ enums as __RLIMIT_ and adjust macros
accordingly.

19 years agoAdd __BEGIN_DECLS for __getpagesize declaration.
Ulrich Drepper [Thu, 12 Aug 2004 17:27:20 +0000 (17:27 +0000)]
Add __BEGIN_DECLS for __getpagesize declaration.

19 years ago2004-08-04 Roland McGrath <roland@frob.com>
Roland McGrath [Thu, 5 Aug 2004 03:46:43 +0000 (03:46 +0000)]
2004-08-04  Roland McGrath  <roland@frob.com>

New directory implementing glibc add-on infrastructure for
ports maintained separate from the core glibc source tree.
* README, configure.in, Makeconfig, Banner, ChangeLog: New files.
* configure: New generated file.

19 years ago * sysdeps/alpha/divq.S: Save t3 before it gets clobbered.
Richard Henderson [Fri, 30 Jul 2004 18:15:57 +0000 (18:15 +0000)]
    * sysdeps/alpha/divq.S: Save t3 before it gets clobbered.
        * sysdeps/alpha/remq.S: Likewise.
        * sysdeps/alpha/div.S, sysdeps/alpha/ldiv.S: Rewrite with the
        new division algorithms in divl.S and divq.S respectively.

20 years agoAdd semtimedop.
Andreas Jaeger [Wed, 21 Jul 2004 06:13:15 +0000 (06:13 +0000)]
Add semtimedop.

20 years ago($(objpfx)syscall-%.h): Sort by syscalls. Make sure we get headers such
Andreas Jaeger [Tue, 20 Jul 2004 16:37:41 +0000 (16:37 +0000)]
($(objpfx)syscall-%.h): Sort by syscalls.  Make sure we get headers such
as sgidefs.h from the build tree before just-installed ones.

20 years ago Use standard names for ABI macros, include sgidefs.h where appropriate.
Andreas Jaeger [Tue, 20 Jul 2004 16:35:32 +0000 (16:35 +0000)]
 Use standard names for ABI macros, include sgidefs.h where appropriate.