platform/upstream/glibc.git
20 years ago * Versions.def (libm): Replace GLIBC_2.3.3 with GLIBC_2.3.4.
Richard Henderson [Fri, 23 Jan 2004 21:08:08 +0000 (21:08 +0000)]
    * Versions.def (libm): Replace GLIBC_2.3.3 with GLIBC_2.3.4.
        * sysdeps/alpha/fpu/Versions (libm): Likewise.
        * sysdeps/alpha/fpu/cfloat-compat.h (cfloat_versions): Likewise.
        * sysdeps/alpha/fpu/s_clog10f.c (clog10f): Likewise.

20 years agoAdd readahead prototype.
Ulrich Drepper [Tue, 20 Jan 2004 23:23:55 +0000 (23:23 +0000)]
Add readahead prototype.

20 years ago2004-01-13 Daniel Jacobowitz <drow@mvista.com>
Roland McGrath [Sat, 17 Jan 2004 01:38:55 +0000 (01:38 +0000)]
2004-01-13  Daniel Jacobowitz  <drow@mvista.com>

* sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions)
(__sim_disabled_exceptions, __sim_round_mode): Declare with
hidden data and nocommon.
* sysdeps/powerpc/nofpu/soft-supp.h (__sim_exceptions)
(__sim_disabled_exceptions, __sim_round_mode): Use
libc_hidden_proto.
* sysdeps/powerpc/soft-fp/sfp-machine.h (__sim_exceptions)
(__sim_disabled_exceptions, __sim_round_mode): Likewise.

20 years ago * sysdeps/unix/alpha/sysdep.h: Revert last change.
Richard Henderson [Fri, 16 Jan 2004 06:04:53 +0000 (06:04 +0000)]
    * sysdeps/unix/alpha/sysdep.h: Revert last change.

20 years ago * sysdeps/unix/alpha/sysdep.h [PIC] (SYSCALL_ERROR_HANDLER): Use
Richard Henderson [Fri, 16 Jan 2004 06:02:52 +0000 (06:02 +0000)]
    * sysdeps/unix/alpha/sysdep.h [PIC] (SYSCALL_ERROR_HANDLER): Use
        !samegp relocation.

20 years ago * sysdeps/alpha/dl-machine.h (RTLD_START): Use _dl_argv_internal.
Richard Henderson [Fri, 16 Jan 2004 05:59:42 +0000 (05:59 +0000)]
    * sysdeps/alpha/dl-machine.h (RTLD_START): Use _dl_argv_internal.

20 years ago * sysdeps/alpha/tls.h (tcbhead_t): Add private.
Richard Henderson [Fri, 16 Jan 2004 05:23:05 +0000 (05:23 +0000)]
    * sysdeps/alpha/tls.h (tcbhead_t): Add private.
        (TLS_INIT_TCB_SIZE, TLS_INIT_TCB_ALIGN, TLS_TCB_SIZE,
        TLS_PRE_TCB_SIZE, TLS_TCB_ALIGN, INSTALL_DTV, INSTALL_NEW_DTV,
        GET_DTV, THREAD_DTV, THREAD_SELF, DB_THREAD_SELF): Match ia64.
        (TLS_TCB_OFFSET, THREAD_ID, NO_TLS_OFFSET): Remove.
        (THREAD_GETMEM, THREAD_GETMEM_NC): Simplify.
        (THREAD_SETMEM, THREAD_SETMEM_NC): Likewise.
        * sysdeps/unix/sysv/linux/alpha/createthread.c (TLS_VALUE): Match ia64.

20 years ago * sysdeps/unix/sysv/linux/alpha/Makefile [stdlib]: Process
Richard Henderson [Fri, 16 Jan 2004 05:04:59 +0000 (05:04 +0000)]
    * sysdeps/unix/sysv/linux/alpha/Makefile [stdlib]: Process
        ucontext-offsets.sym.
        * sysdeps/unix/sysv/linux/alpha/getcontext.S: New file.
        * sysdeps/unix/sysv/linux/alpha/makecontext.S: New file.
        * sysdeps/unix/sysv/linux/alpha/setcontext.S: New file.
        * sysdeps/unix/sysv/linux/alpha/swapcontext.S: New file.
        * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: New file.

20 years ago * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Prefix stubs with
Richard Henderson [Fri, 16 Jan 2004 04:59:55 +0000 (04:59 +0000)]
    * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Prefix stubs with
        __syscall_, move nop inside, adjust users by +4.

20 years ago * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typo.
Richard Henderson [Tue, 13 Jan 2004 20:47:01 +0000 (20:47 +0000)]
    * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typo.

20 years ago * sysdeps/alpha/Makefile: New file.
Richard Henderson [Tue, 13 Jan 2004 09:36:22 +0000 (09:36 +0000)]
    * sysdeps/alpha/Makefile: New file.
        * sysdeps/alpha/tcb-offsets.sym: New file.
        * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (SINGLE_THREAD_P):
        Use MULTIPLE_THREADS_OFFSET to implement !libpthread !libc version.

        * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Rewrite based
        on powerpc version.

20 years ago * sysdeps/alpha/bits/atomic.h (__arch_compare_and_exchange_xxx_8_int):
Richard Henderson [Tue, 13 Jan 2004 09:15:58 +0000 (09:15 +0000)]
    * sysdeps/alpha/bits/atomic.h (__arch_compare_and_exchange_xxx_8_int):
        Cast old up to uint64_t before back down to inner width.
        (__arch_compare_and_exchange_xxx_16_int): Likewise.
        (__arch_compare_and_exchange_xxx_32_int): Likewise.
        (__arch_compare_and_exchange_xxx_64_int): Likewise.
        (__arch_compare_and_exchange_val_8_int): Cast result to
        the type of the memory.
        (__arch_compare_and_exchange_val_16_int): Likewise.
        (__arch_compare_and_exchange_val_32_int): Likewise.
        (__arch_compare_and_exchange_val_64_int): Likewise.
        (atomic_compare_and_exchange_bool_acq): Use __atomic_bool_bysize.
        (atomic_compare_and_exchange_bool_rel): Likewise.

        * sysdeps/unix/alpha/sysdep.h: Select inline_syscall_r0_asm
        based on HAVE___THREAD instead of USE_TLS.

        * sysdeps/unix/sysv/linux/alpha/adjtime.c (ADJTIMEX32): New.
        (__adjtimex_tv64): Use it.

        * sysdeps/unix/sysv/linux/alpha/semctl.c (__new_semctl): Cast
        to void* rather than directly to the compatibility structure type.
        * sysdeps/unix/sysv/linux/alpha/shmctl.c (__new_shmctl): Likewise.

        * sysdeps/unix/sysv/linux/alpha/sigaction.c (struct kernel_sigaction):
        Forward declare.

20 years ago * Versions.def (libm): Add GLIBC_2.3.3.
Richard Henderson [Tue, 13 Jan 2004 09:08:04 +0000 (09:08 +0000)]
* Versions.def (libm): Add GLIBC_2.3.3.
* sysdeps/alpha/fpu/Versions: Add __c1_c*f and c*f to GLIBC_2.3.3.
* sysdeps/alpha/fpu/cabsf.c, sysdeps/alpha/fpu/cargf.c,
sysdeps/alpha/fpu/cfloat-compat.h, sysdeps/alpha/fpu/cimagf.c,
sysdeps/alpha/fpu/conjf.c, sysdeps/alpha/fpu/crealf.c,
sysdeps/alpha/fpu/s_cacosf.c, sysdeps/alpha/fpu/s_cacoshf.c,
sysdeps/alpha/fpu/s_casinf.c, sysdeps/alpha/fpu/s_casinhf.c,
sysdeps/alpha/fpu/s_catanf.c, sysdeps/alpha/fpu/s_catanhf.c,
sysdeps/alpha/fpu/s_ccosf.c, sysdeps/alpha/fpu/s_ccoshf.c,
sysdeps/alpha/fpu/s_cexpf.c, sysdeps/alpha/fpu/s_clog10f.c,
sysdeps/alpha/fpu/s_clogf.c, sysdeps/alpha/fpu/s_cpowf.c,
sysdeps/alpha/fpu/s_cprojf.c, sysdeps/alpha/fpu/s_csinf.c,
sysdeps/alpha/fpu/s_csinhf.c, sysdeps/alpha/fpu/s_csqrtf.c,
sysdeps/alpha/fpu/s_ctanf.c, sysdeps/alpha/fpu/s_ctanhf.c: New files.
* sysdeps/alpha/fpu/bits/mathdef.h: Rename complex float
functions for gcc 3.3.

* sysdeps/generic/s_cacosf.c, sysdeps/generic/s_cacoshf.c,
sysdeps/generic/s_casinf.c, sysdeps/generic/s_casinhf.c,
sysdeps/generic/s_catanf.c, sysdeps/generic/s_catanhf.c,
sysdeps/generic/s_ccosf.c, sysdeps/generic/s_ccoshf.c,
sysdeps/generic/s_cexpf.c, sysdeps/generic/s_clog10f.c,
sysdeps/generic/s_clogf.c, sysdeps/generic/s_cpowf.c,
sysdeps/generic/s_cprojf.c, sysdeps/generic/s_csinf.c,
sysdeps/generic/s_csinhf.c, sysdeps/generic/s_csqrtf.c,
sysdeps/generic/s_ctanf.c, sysdeps/generic/s_ctanhf.c: Don't
weak_alias if the function name has been #defined.

* math/cabsf.c: Move ...
* sysdeps/generic/cabsf.c: ... here.
* math/cargf.c: Move ...
* sysdeps/generic/cargf.c: ... here.
* math/cimagf.c: Move ...
* sysdeps/generic/cimagf.c: ... here.
* math/conjf.c: Move ...
* sysdeps/generic/conjf.c: ... here.
* math/crealf.c: Move ...
* sysdeps/generic/crealf.c: ... here.

20 years ago2003-12-11 Ulrich Weigand <uweigand@de.ibm.com>
Roland McGrath [Tue, 6 Jan 2004 10:31:07 +0000 (10:31 +0000)]
2003-12-11  Ulrich Weigand  <uweigand@de.ibm.com>

* sysdeps/alpha/tls.h (DB_THREAD_SELF): Pass bit size of thread
register as second parameter to the REGISTER macro.
* sysdeps/ia64/tls.h (DB_THREAD_SELF): Likewise.
* sysdeps/powerpc/tls.h (DB_THREAD_SELF): Likewise.
* sysdeps/sh/tls.h (DB_THREAD_SELF): Likewise.
* sysdeps/sparc/tls.h (DB_THREAD_SELF): Likewise.
* sysdeps/s390/tls.h (DB_THREAD_SELF): Pass __WORDSIZE as bit size
of thread register as second parameter to REGISTER macro in 64 case.

20 years agoAvoid matching memory constraints.
Andreas Schwab [Sun, 21 Dec 2003 17:31:58 +0000 (17:31 +0000)]
Avoid matching memory constraints.

20 years agoSetjmp buffer unwinding helper code for Alpha.
Ulrich Drepper [Fri, 19 Dec 2003 01:35:07 +0000 (01:35 +0000)]
Setjmp buffer unwinding helper code for Alpha.

20 years ago(__clone) [PIC]: Save PIC, reload PIC if we need to call __syscall_error,
Ulrich Drepper [Thu, 18 Dec 2003 06:05:03 +0000 (06:05 +0000)]
(__clone) [PIC]: Save PIC, reload PIC if we need to call __syscall_error,
cleanup asm.

20 years ago(fesetexceptflag): Set enable bits not raised exception bits.
Ulrich Drepper [Thu, 18 Dec 2003 03:58:26 +0000 (03:58 +0000)]
(fesetexceptflag): Set enable bits not raised exception bits.

20 years ago(feraiseexcept): Add delayed exception flushing, FE_UNDERFLOW is DBL_MIN/3.0,
Ulrich Drepper [Thu, 18 Dec 2003 03:58:09 +0000 (03:58 +0000)]
(feraiseexcept): Add delayed exception flushing, FE_UNDERFLOW is DBL_MIN/3.0,
FE_INEXACT is triggered by M_PI/69.69 converted to single precision.

20 years ago(feupdateenv): Read raised exception bits, OR with envp, pass to fesetenv.
Ulrich Drepper [Thu, 18 Dec 2003 03:57:50 +0000 (03:57 +0000)]
(feupdateenv): Read raised exception bits, OR with envp, pass to fesetenv.

20 years ago(fesetenv): Use asm 'ma,' completer, and gcc '+r' constraint.
Ulrich Drepper [Thu, 18 Dec 2003 03:57:31 +0000 (03:57 +0000)]
(fesetenv): Use asm 'ma,' completer, and gcc '+r' constraint.

20 years ago(feholdexcept): Use asm 'ma,' completer, and gcc '+r' constraint.
Ulrich Drepper [Thu, 18 Dec 2003 03:57:14 +0000 (03:57 +0000)]
(feholdexcept): Use asm 'ma,' completer, and gcc '+r' constraint.

20 years ago(fegetenv): use asm 'ma,' completer, and gcc '+r' constraint.
Ulrich Drepper [Thu, 18 Dec 2003 03:56:50 +0000 (03:56 +0000)]
(fegetenv): use asm 'ma,' completer, and gcc '+r' constraint.

20 years ago(feclearexcept): Right shift FE_ALL_EXCEPT before complimenting.
Ulrich Drepper [Thu, 18 Dec 2003 03:56:15 +0000 (03:56 +0000)]
(feclearexcept): Right shift FE_ALL_EXCEPT before complimenting.

20 years agoDL_LOOKUP_ADDRESS must clear PLABEL32 bits, define DL_AUTO_FUNCTION_ADDRESS and
Ulrich Drepper [Thu, 18 Dec 2003 03:53:47 +0000 (03:53 +0000)]
DL_LOOKUP_ADDRESS must clear PLABEL32 bits, define DL_AUTO_FUNCTION_ADDRESS and
DL_STATIC_FUNCTION_ADDRESS, DL_DT_INIT_ADDRESS and DL_DT_FINI_ADDRESS use the
previous two macros.

20 years ago(_dl_symbol_address): Use _dl_make_ftpr, remove const qualifier for map.
Ulrich Drepper [Thu, 18 Dec 2003 03:53:22 +0000 (03:53 +0000)]
(_dl_symbol_address): Use _dl_make_ftpr, remove const qualifier for map.
(_dl_function_address): Removed.

20 years agoNot needed anymore.
Ulrich Drepper [Thu, 18 Dec 2003 03:53:02 +0000 (03:53 +0000)]
Not needed anymore.

20 years agoConfiguration for hppa function descriptor handling.
Ulrich Drepper [Thu, 18 Dec 2003 03:52:28 +0000 (03:52 +0000)]
Configuration for hppa function descriptor handling.

20 years agoAdd dl-symaddr and dl-fptr to the correct build strings.
Ulrich Drepper [Thu, 18 Dec 2003 03:51:49 +0000 (03:51 +0000)]
Add dl-symaddr and dl-fptr to the correct build strings.

20 years agoMark sqrt_data as used.
Andreas Jaeger [Wed, 10 Dec 2003 05:45:29 +0000 (05:45 +0000)]
Mark sqrt_data as used.

20 years ago(__fegetexceptflag): Add masking of fenv.
Ulrich Drepper [Sat, 6 Dec 2003 07:16:41 +0000 (07:16 +0000)]
(__fegetexceptflag): Add masking of fenv.

20 years ago(PSEUDO_ERRVAL)
Andreas Schwab [Sun, 30 Nov 2003 16:44:48 +0000 (16:44 +0000)]
(PSEUDO_ERRVAL)
(PSEUDO_END_ERRVAL, ret_ERRVAL): Define.

20 years ago(LOAD_ARGS_0) (LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4)
Ulrich Drepper [Mon, 3 Nov 2003 17:18:38 +0000 (17:18 +0000)]
(LOAD_ARGS_0) (LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4)
(LOAD_ARGS_5, LOAD_ARGS_6): Add missing parentheses.

20 years ago2003-10-18 Carlos O'Donell <carlos@baldric.uwo.ca>
Roland McGrath [Wed, 22 Oct 2003 07:09:31 +0000 (07:09 +0000)]
2003-10-18  Carlos O'Donell  <carlos@baldric.uwo.ca>

* sysdeps/unix/sysv/linux/hppa/sysdep.h: Fix merge error.

20 years agoDefine PSEUDO_ERRVAL, SYSCALL_ERROR_LABEL under all conditions,
Ulrich Drepper [Wed, 15 Oct 2003 05:46:00 +0000 (05:46 +0000)]
Define PSEUDO_ERRVAL, SYSCALL_ERROR_LABEL under all conditions,
INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERROR_P,
INTERNAL_SYSCALL_ERRNO, INTERNAL_SYSCALL, and undef
JUMPTARGET before use.
[PIC]: Save pic register around syscall.

20 years ago(syscall): Cleanup asm statment.
Ulrich Drepper [Wed, 15 Oct 2003 05:45:16 +0000 (05:45 +0000)]
(syscall): Cleanup asm statment.

20 years agoUndef JUMPTARGET before use.
Ulrich Drepper [Wed, 15 Oct 2003 05:31:42 +0000 (05:31 +0000)]
Undef JUMPTARGET before use.

20 years ago2003-10-10 Carlos O'Donell <carlos@baldric.uwo.ca>
Roland McGrath [Sat, 11 Oct 2003 01:28:59 +0000 (01:28 +0000)]
2003-10-10  Carlos O'Donell  <carlos@baldric.uwo.ca>

* sysdeps/hppa/Makefile (CFLAGS-malloc.c): Variable removed.

20 years ago2003-09-10 Chris Demetriou <cgd@broadcom.com>
Roland McGrath [Wed, 1 Oct 2003 06:59:40 +0000 (06:59 +0000)]
2003-09-10  Chris Demetriou  <cgd@broadcom.com>

* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Remove
"#if 0" surrounding most of contents.
(SYSCALL_ERROR_LABEL): Define.
(__SYSCALL_CLOBBERS): Add $10.
(internal_syscall7): Remove.
* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.

20 years agoDefine PROT_GROWSDOWN and PROT_GROWSUP.
Ulrich Drepper [Thu, 25 Sep 2003 16:42:43 +0000 (16:42 +0000)]
Define PROT_GROWSDOWN and PROT_GROWSUP.

20 years ago(RTLD_START): Remove setting of __libc_stack_end.
Ulrich Drepper [Wed, 24 Sep 2003 21:08:31 +0000 (21:08 +0000)]
(RTLD_START): Remove setting of __libc_stack_end.

20 years agoNot needed anymore.
Ulrich Drepper [Wed, 24 Sep 2003 05:36:39 +0000 (05:36 +0000)]
Not needed anymore.

20 years ago[GLIBC_2.2]: Add __clz_tab.
Ulrich Drepper [Wed, 24 Sep 2003 03:14:27 +0000 (03:14 +0000)]
[GLIBC_2.2]: Add __clz_tab.

20 years agoAdd libgcc-compat.c.
Ulrich Drepper [Wed, 24 Sep 2003 03:14:14 +0000 (03:14 +0000)]
Add libgcc-compat.c.

20 years agolibgcc compatibility code.
Ulrich Drepper [Wed, 24 Sep 2003 03:13:56 +0000 (03:13 +0000)]
libgcc compatibility code.

20 years agoInclude compat code in build.
Ulrich Drepper [Wed, 24 Sep 2003 03:13:28 +0000 (03:13 +0000)]
Include compat code in build.

20 years agoAdd #error if __NR_vfork required but not defined.
Ulrich Drepper [Wed, 17 Sep 2003 18:09:53 +0000 (18:09 +0000)]
Add #error if __NR_vfork required but not defined.
Improve test of error code.

20 years ago(DO_RET): New.
Ulrich Drepper [Wed, 17 Sep 2003 18:09:36 +0000 (18:09 +0000)]
(DO_RET): New.

20 years ago(CALL_ROUTINE): Deleted.
Ulrich Drepper [Wed, 17 Sep 2003 18:09:25 +0000 (18:09 +0000)]
(CALL_ROUTINE): Deleted.
(BX): Define.
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Optimise a little.

20 years agoBranch to fork if libpthread is loaded. Elide backwards compatibility code
Ulrich Drepper [Wed, 17 Sep 2003 18:07:04 +0000 (18:07 +0000)]
Branch to fork if libpthread is loaded.  Elide backwards compatibility code
when not required.

20 years ago2003-09-17 Uwe Reimann <Uwe_Reimann@gmx.net> Hans-Peter Nilsson <hp@axis.com>
Roland McGrath [Wed, 17 Sep 2003 02:47:48 +0000 (02:47 +0000)]
2003-09-17  Uwe Reimann  <Uwe_Reimann@gmx.net> Hans-Peter Nilsson  <hp@axis.com>

* sysdeps/cris/dl-machine.h (elf_machine_type_class): Classify
R_CRIS_GLOB_DAT as ELF_RTYPE_CLASS_PLT.  Clarify comment.

20 years agoAdd hidden_def.
Andreas Schwab [Mon, 15 Sep 2003 08:43:12 +0000 (08:43 +0000)]
Add hidden_def.

20 years agoOptimise code a little.
Ulrich Drepper [Sun, 14 Sep 2003 19:54:53 +0000 (19:54 +0000)]
Optimise code a little.

20 years agoUse sys_mmap2 if it's known to be available.
Ulrich Drepper [Sun, 14 Sep 2003 19:54:40 +0000 (19:54 +0000)]
Use sys_mmap2 if it's known to be available.

20 years agoRewrite.
Ulrich Drepper [Sun, 14 Sep 2003 19:53:42 +0000 (19:53 +0000)]
Rewrite.

20 years ago2003-09-10 Chris Demetriou <cgd@broadcom.com>
Roland McGrath [Wed, 10 Sep 2003 23:38:52 +0000 (23:38 +0000)]
2003-09-10  Chris Demetriou  <cgd@broadcom.com>

* sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Fix
syscall invocation.
* sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
* sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
Also, only assert off_t size is 4 for N32 and O32, and clean up
white space.
* sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.

20 years ago2003-09-08 Chris Demetriou <cgd@broadcom.com>
Roland McGrath [Tue, 9 Sep 2003 20:10:22 +0000 (20:10 +0000)]
2003-09-08  Chris Demetriou  <cgd@broadcom.com>

        * sysdeps/mips/mips64/n32/Implies: Move ieee754/ldbl-128 to
        the top of the list.
        * sysdeps/mips/mips64/n64/Implies: Likewise.

20 years ago2003-09-09 Chris Demetriou <cgd@broadcom.com>
Roland McGrath [Tue, 9 Sep 2003 19:21:51 +0000 (19:21 +0000)]
2003-09-09  Chris Demetriou  <cgd@broadcom.com>

        * sysdeps/unix/mips/sysdep.h (PSEUDO_END): Undef before defining.

20 years ago2003-09-05 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 9 Sep 2003 07:00:21 +0000 (07:00 +0000)]
2003-09-05  Roland McGrath  <roland@redhat.com>

* pthread_create.c (__pthread_pthread_sizeof_descr): Removed.
Instead, include ../nptl_db/db_info.c to do its magic.
* pthread_key_create.c (__pthread_pthread_keys_max): Removed.
(__pthread_pthread_key_2ndlevel_size): Likewise.
* sysdeps/alpha/tls.h (DB_THREAD_SELF): New macro.
* sysdeps/i386/tls.h (DB_THREAD_SELF): New macro.
* sysdeps/ia64/tls.h (DB_THREAD_SELF): New macro.
* sysdeps/powerpc/tls.h (DB_THREAD_SELF): New macro.
* sysdeps/s390/tls.h (DB_THREAD_SELF): New macro.
* sysdeps/sh/tls.h (DB_THREAD_SELF): New macro.
* sysdeps/sparc/tls.h (DB_THREAD_SELF): New macro.
* sysdeps/x86_64/tls.h (DB_THREAD_SELF): New macro.
* sysdeps/alpha/td_ta_map_lwp2thr.c: File removed.
* sysdeps/generic/td_ta_map_lwp2thr.c: File removed.
* sysdeps/i386/td_ta_map_lwp2thr.c: File removed.
* sysdeps/ia64/td_ta_map_lwp2thr.c: File removed.
* sysdeps/powerpc/td_ta_map_lwp2thr.c: File removed.
* sysdeps/s390/td_ta_map_lwp2thr.c: File removed.
* sysdeps/sh/td_ta_map_lwp2thr.c: File removed.
* sysdeps/sparc/td_ta_map_lwp2thr.c: File removed.
* sysdeps/x86_64/td_ta_map_lwp2thr.c: File removed.

20 years ago2003-09-08 Roland McGrath <roland@frob.com>
Roland McGrath [Tue, 9 Sep 2003 06:44:48 +0000 (06:44 +0000)]
2003-09-08  Roland McGrath  <roland@frob.com>

* sysdeps/unix/sysv/linux/speed.c
(cfsetospeed): Only set c_ospeed under [_HAVE_STRUCT_TERMIOS_C_OSPEED].
(cfsetispeed): Only set c_ispeed under [_HAVE_STRUCT_TERMIOS_C_ISPEED].
* sysdeps/unix/sysv/linux/bits/termios.h
(_HAVE_STRUCT_TERMIOS_C_ISPEED, _HAVE_STRUCT_TERMIOS_C_OSPEED): Define.
* sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.

20 years agoChange type of pthread_t to be compatible with LT.
Ulrich Drepper [Mon, 8 Sep 2003 23:56:13 +0000 (23:56 +0000)]
Change type of pthread_t to be compatible with LT.

20 years agoRemove unused __syscall_* prototypes.
Ulrich Drepper [Wed, 3 Sep 2003 03:21:27 +0000 (03:21 +0000)]
Remove unused __syscall_* prototypes.

20 years ago(sysdep_routines): Remove rt_*.
Ulrich Drepper [Wed, 3 Sep 2003 03:16:54 +0000 (03:16 +0000)]
(sysdep_routines): Remove rt_*.

20 years ago(__syscall_*): Remove unused __syscall_ stubs.
Ulrich Drepper [Wed, 3 Sep 2003 03:16:40 +0000 (03:16 +0000)]
(__syscall_*): Remove unused __syscall_ stubs.

20 years ago(__syscall_recvfrom, __syscall_sendto): Remove unused aliases.
Ulrich Drepper [Wed, 3 Sep 2003 03:16:25 +0000 (03:16 +0000)]
(__syscall_recvfrom, __syscall_sendto): Remove unused aliases.

20 years agoNot needed anymore.
Ulrich Drepper [Wed, 3 Sep 2003 03:15:51 +0000 (03:15 +0000)]
Not needed anymore.

20 years ago(__syscall_rt_sigaction): New prototype.
Ulrich Drepper [Wed, 3 Sep 2003 03:15:08 +0000 (03:15 +0000)]
(__syscall_rt_sigaction): New prototype.

20 years ago(sysdep_routines): Remove rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
Ulrich Drepper [Wed, 3 Sep 2003 03:14:43 +0000 (03:14 +0000)]
(sysdep_routines): Remove rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
rt_sigqueueinfo and rt_sigpending.

20 years agoAdditional versions for Linux/Alpha.
Ulrich Drepper [Wed, 3 Sep 2003 03:10:25 +0000 (03:10 +0000)]
Additional versions for Linux/Alpha.

20 years agoPOSIX limits for Linux/Alpha.
Ulrich Drepper [Wed, 3 Sep 2003 03:10:01 +0000 (03:10 +0000)]
POSIX limits for Linux/Alpha.

20 years agoNew file.
Jakub Jelinek [Mon, 1 Sep 2003 21:38:14 +0000 (21:38 +0000)]
New file.

20 years agoAdd posix_fadvise64 and posix_fallocate64 at GLIBC_2.3.3.
Ulrich Drepper [Sun, 31 Aug 2003 18:13:35 +0000 (18:13 +0000)]
Add posix_fadvise64 and posix_fallocate64 at GLIBC_2.3.3.

20 years agoAdd semtimedop.
Ulrich Drepper [Sat, 30 Aug 2003 00:23:14 +0000 (00:23 +0000)]
Add semtimedop.

20 years ago(PSEUDO_ERRVAL): Define.
Ulrich Drepper [Mon, 25 Aug 2003 18:30:43 +0000 (18:30 +0000)]
(PSEUDO_ERRVAL): Define.
(PSEUDO_END_ERRVAL, ret_ERRVAL): Likewise.

20 years ago(posix_fadvise64): Add V flag.
Ulrich Drepper [Sun, 17 Aug 2003 00:34:12 +0000 (00:34 +0000)]
(posix_fadvise64): Add V flag.

20 years ago(PSEUDO_ERRVAL, PSEUDO_RET_ERRVAL, ret_ERRVAL, PSEUDO_END_ERRVAL): Define.
Ulrich Drepper [Sun, 17 Aug 2003 00:33:13 +0000 (00:33 +0000)]
(PSEUDO_ERRVAL, PSEUDO_RET_ERRVAL, ret_ERRVAL, PSEUDO_END_ERRVAL): Define.

20 years agoDon't add new posix_fadvise64_64 syscall.
Ulrich Drepper [Sat, 16 Aug 2003 08:06:54 +0000 (08:06 +0000)]
Don't add new posix_fadvise64_64 syscall.

20 years agoDefine posix_fadvise64_64 entry. Add version info to posix_fadvise64 entry.
Ulrich Drepper [Sat, 16 Aug 2003 06:18:46 +0000 (06:18 +0000)]
Define posix_fadvise64_64 entry.  Add version info to posix_fadvise64 entry.

20 years agoAIX posix_madvise implementation.
Ulrich Drepper [Sat, 16 Aug 2003 06:13:49 +0000 (06:13 +0000)]
AIX posix_madvise implementation.

20 years ago(__SSIZE_T_TYPE): Define.
Ulrich Drepper [Thu, 31 Jul 2003 19:34:16 +0000 (19:34 +0000)]
(__SSIZE_T_TYPE): Define.

20 years ago(PT_EI): Add __attribute__((always_inline)).
Ulrich Drepper [Thu, 31 Jul 2003 19:15:42 +0000 (19:15 +0000)]
(PT_EI): Add __attribute__((always_inline)).

20 years ago* elf/dynamic-link.h (elf_machine_rel, elf_machine_rela,
Alexandre Oliva [Thu, 31 Jul 2003 06:33:52 +0000 (06:33 +0000)]
* elf/dynamic-link.h (elf_machine_rel, elf_machine_rela,
elf_machine_rel_relative, elf_machine_rela_relative): Don't assume
reloc_addr is aligned.
* sysdeps/alpha/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rela,
elf_machine_rel_relative, elf_machine_rela_relative): Adjust.
* sysdeps/cris/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/hppa/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela,
elf_machine_rel_relative, elf_machine_rela_relative): Adjust.
* sysdeps/ia64/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/m68k/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/mips/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/powerpc/powerpc64/dl-machine.h
(elf_machine_rela_relative, elf_machine_rela): Adjust.
* sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative):
* sysdeps/sh/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/x86_64/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.

21 years agoHeader with a.out binary format definitions.
Ulrich Drepper [Fri, 25 Jul 2003 09:04:57 +0000 (09:04 +0000)]
Header with a.out binary format definitions.

21 years ago (PROCINFO_CLASS): Define if not yet defined. Use it instead of EXTERN.
Ulrich Drepper [Tue, 22 Jul 2003 22:07:18 +0000 (22:07 +0000)]
 (PROCINFO_CLASS): Define if not yet defined.  Use it instead of EXTERN.
Undefine at the end of the file.

21 years ago2003-07-16 Daniel Jacobowitz <drow@mvista.com>
Andreas Jaeger [Wed, 16 Jul 2003 07:39:07 +0000 (07:39 +0000)]
2003-07-16  Daniel Jacobowitz  <drow@mvista.com>
    Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/mips/bits/shm.h (SHMLBA): Define to
256K, remove unneeded declaration of __getpagesize.

21 years ago(_STATFS_F_FRSIZE): Define.
Ulrich Drepper [Sat, 12 Jul 2003 19:30:54 +0000 (19:30 +0000)]
(_STATFS_F_FRSIZE): Define.

21 years agoRemove CLFAGS-.oS addition.
Ulrich Drepper [Thu, 10 Jul 2003 09:22:13 +0000 (09:22 +0000)]
Remove CLFAGS-.oS addition.

21 years ago(lll_futex_wait, lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): On
Ulrich Drepper [Tue, 8 Jul 2003 03:42:27 +0000 (03:42 +0000)]
(lll_futex_wait, lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): On
success return actual return value from the syscall, not 0.

21 years agoAvoid .ent/.end.
Ulrich Drepper [Tue, 8 Jul 2003 03:41:53 +0000 (03:41 +0000)]
Avoid .ent/.end.

21 years ago * sysdeps/alpha/elf/initfini.c: Avoid .ent/.end.
Richard Henderson [Sat, 5 Jul 2003 22:56:39 +0000 (22:56 +0000)]
    * sysdeps/alpha/elf/initfini.c: Avoid .ent/.end.
        * sysdeps/alpha/elf/pt-initfini.c: Avoid .ent/.end.

21 years agoAsm macros for definition of cancelable syscall wrappers for nptl on Alpha.
Ulrich Drepper [Tue, 1 Jul 2003 20:22:49 +0000 (20:22 +0000)]
Asm macros for definition of cancelable syscall wrappers for nptl on Alpha.

21 years agosem_post implementation for nptl on Alpha.
Ulrich Drepper [Tue, 1 Jul 2003 20:22:23 +0000 (20:22 +0000)]
sem_post implementation for nptl on Alpha.

21 years agopthread_once implementation for nptl on Alpha.
Ulrich Drepper [Tue, 1 Jul 2003 20:22:10 +0000 (20:22 +0000)]
pthread_once implementation for nptl on Alpha.

21 years agovfork implementation for nptl on Alpha.
Ulrich Drepper [Tue, 1 Jul 2003 20:21:45 +0000 (20:21 +0000)]
vfork implementation for nptl on Alpha.

21 years agoLow level lock definitions for nptl on Alpha.
Ulrich Drepper [Tue, 1 Jul 2003 20:21:32 +0000 (20:21 +0000)]
Low level lock definitions for nptl on Alpha.

21 years agoAlpha specific fork in nptl on Alpha.
Ulrich Drepper [Tue, 1 Jul 2003 20:20:57 +0000 (20:20 +0000)]
Alpha specific fork in nptl on Alpha.

21 years agoAlpha specific nptl code to start thread.
Ulrich Drepper [Tue, 1 Jul 2003 20:20:36 +0000 (20:20 +0000)]
Alpha specific nptl code to start thread.

21 years agoPublic semaphore type definitions for Alpha.
Ulrich Drepper [Tue, 1 Jul 2003 20:20:19 +0000 (20:20 +0000)]
Public semaphore type definitions for Alpha.

21 years agoPublic type definitions for nptl on Alpha.
Ulrich Drepper [Tue, 1 Jul 2003 20:20:04 +0000 (20:20 +0000)]
Public type definitions for nptl on Alpha.

21 years agoMakefile for nptl on Alpha.
Ulrich Drepper [Tue, 1 Jul 2003 20:19:46 +0000 (20:19 +0000)]
Makefile for nptl on Alpha.