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

20 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.

20 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.

20 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.

20 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.

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

20 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.

20 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.

20 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.

20 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.

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

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

20 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.

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

20 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.

20 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.

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

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

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

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

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

20 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.

20 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.

20 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.

20 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.

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

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

20 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.

20 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.

20 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.

20 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__.

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

20 years ago(__dl_runtime_resolve): Update to use _dl_lookup_symbol_x.
Andreas Jaeger [Tue, 20 Jul 2004 09:24:49 +0000 (09:24 +0000)]
(__dl_runtime_resolve): Update to use _dl_lookup_symbol_x.
(elf_machine_runtime_link_map): Don't INTUSE _dl_signal_error.

20 years ago(ffs): Add libc_hidden_builtin_def.
Ulrich Drepper [Mon, 5 Jul 2004 17:36:14 +0000 (17:36 +0000)]
(ffs): Add libc_hidden_builtin_def.

20 years ago[BZ #230]
Ulrich Drepper [Mon, 28 Jun 2004 21:03:34 +0000 (21:03 +0000)]
[BZ #230]
(_dl_start_user): Use ldah/ldl to load _dl_skip_args.

20 years ago[BZ #231]
Ulrich Drepper [Mon, 28 Jun 2004 21:02:47 +0000 (21:02 +0000)]
[BZ #231]
(__syscall_error): Avoid !samegp relocation in librt.so.

20 years ago(inline_syscall6): Fix a typo.
Ulrich Drepper [Mon, 28 Jun 2004 21:02:06 +0000 (21:02 +0000)]
(inline_syscall6): Fix a typo.

20 years ago(MULTIPLE_THREADS_OFFSET): Define unconditionally.
Ulrich Drepper [Mon, 28 Jun 2004 20:57:50 +0000 (20:57 +0000)]
(MULTIPLE_THREADS_OFFSET): Define unconditionally.

20 years agoLowlevel system dependent code for Unix/Alpha.
Ulrich Drepper [Tue, 22 Jun 2004 05:55:22 +0000 (05:55 +0000)]
Lowlevel system dependent code for Unix/Alpha.

20 years agoAdditional makefile for Unix on Alpha.
Ulrich Drepper [Tue, 22 Jun 2004 05:54:44 +0000 (05:54 +0000)]
Additional makefile for Unix on Alpha.

20 years ago * sysdeps/alpha/div_libc.h (_ITOFS): Use "sp" not "$sp".
Richard Henderson [Mon, 14 Jun 2004 18:04:25 +0000 (18:04 +0000)]
    * sysdeps/alpha/div_libc.h (_ITOFS): Use "sp" not "$sp".
        (_ITOFT, _FTOIT, _ITOFT2): Likewise.

20 years ago2004-06-11 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 11 Jun 2004 10:15:34 +0000 (10:15 +0000)]
2004-06-11  Roland McGrath  <roland@redhat.com>

* sysdeps/arm/strlen.S [__ARMEB__]: Compute correctly for big-endian.
From Krzysztof Halasa <khc@pm.waw.pl>.

20 years ago(pthread_cond_t): Add __data.__futex field, reshuffle __data.__clock.
Ulrich Drepper [Thu, 3 Jun 2004 15:57:42 +0000 (15:57 +0000)]
(pthread_cond_t): Add __data.__futex field, reshuffle __data.__clock.

20 years ago(FUTEX_CMP_REQUEUE): Define.
Ulrich Drepper [Thu, 3 Jun 2004 15:57:25 +0000 (15:57 +0000)]
(FUTEX_CMP_REQUEUE): Define.
(lll_futex_requeue): Add val argument, use FUTEX_CMP_REQUEUE
internally.  Return non-zero if error, zero if success.

20 years agoAdd libc_hidden_builtin_def.
Ulrich Drepper [Fri, 28 May 2004 06:39:36 +0000 (06:39 +0000)]
Add libc_hidden_builtin_def.

20 years agoUse "+m" constraint instead
Andreas Schwab [Sun, 23 May 2004 10:22:47 +0000 (10:22 +0000)]
Use "+m" constraint instead
of separate "m" constraints.

20 years ago2004-05-15 Chris Demetriou <cgd@broadcom.com>
Roland McGrath [Thu, 20 May 2004 22:07:15 +0000 (22:07 +0000)]
2004-05-15  Chris Demetriou  <cgd@broadcom.com>

* sysdeps/mips/dl-machine.h (ELF_DL_FRAME_SIZE)
(ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS): For the N32
and 64 ABIs, save and restore regs $10 and $11 (a6 and a7).

20 years ago(pthread_cond_t): Add __broadcast_seq field.
Ulrich Drepper [Tue, 18 May 2004 20:16:32 +0000 (20:16 +0000)]
(pthread_cond_t): Add __broadcast_seq field.

20 years agoExport __libc_alpha_cache_shape as a private symbol.
Ulrich Drepper [Fri, 7 May 2004 01:57:35 +0000 (01:57 +0000)]
Export __libc_alpha_cache_shape as a private symbol.

20 years agoLinux/Alpha sysconf definitions.
Ulrich Drepper [Fri, 7 May 2004 01:57:19 +0000 (01:57 +0000)]
Linux/Alpha sysconf definitions.

20 years agoLinux/Alpha startup code in ld.so.
Ulrich Drepper [Fri, 7 May 2004 01:57:04 +0000 (01:57 +0000)]
Linux/Alpha startup code in ld.so.

20 years ago * sysdeps/alpha/div_libc.h (_ITOFS, _ITOFT, _FTOIT, _ITOFT2): New.
Richard Henderson [Thu, 6 May 2004 22:01:01 +0000 (22:01 +0000)]
    * sysdeps/alpha/div_libc.h (_ITOFS, _ITOFT, _FTOIT, _ITOFT2): New.
        * sysdeps/alpha/divl.S, sysdeps/alpha/divq.S, sysdeps/alpha/divqu.S,
        sysdeps/alpha/reml.S, sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S:
        Use them.

20 years agoNot needed anymore.
Ulrich Drepper [Wed, 5 May 2004 18:42:44 +0000 (18:42 +0000)]
Not needed anymore.

20 years ago(F_SETOWN, F_GETOWN): Define if __USE_BSD or __USE_UNIX98.
Ulrich Drepper [Mon, 3 May 2004 21:39:39 +0000 (21:39 +0000)]
(F_SETOWN, F_GETOWN): Define if __USE_BSD or __USE_UNIX98.

20 years ago2004-04-29 Philip Blundell <pb@nexus.co.uk>
Roland McGrath [Thu, 29 Apr 2004 20:06:49 +0000 (20:06 +0000)]
2004-04-29  Philip Blundell  <pb@nexus.co.uk>

* sysdeps/arm/dl-machine.h (RTLD_START): Avoid unnecessary GOT
entries.