external/glibc.git
20 years agoNot needed anymore.
Ulrich Drepper [Sun, 14 Mar 2004 20:59:44 +0000 (20:59 +0000)]
Not needed anymore.

20 years ago * sysdeps/unix/sysv/linux/alpha/select.S: Fix unwind. Propagate
Richard Henderson [Sat, 13 Mar 2004 05:29:45 +0000 (05:29 +0000)]
    * sysdeps/unix/sysv/linux/alpha/select.S: Fix unwind.  Propagate
        oldvalue from CENABLE to CDISABLE.

20 years ago * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Propagate
Richard Henderson [Sat, 13 Mar 2004 05:29:24 +0000 (05:29 +0000)]
    * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Propagate
        oldvalue from CENABLE to CDISABLE.

20 years agoDefine HOST_NAME_MAX.
Ulrich Drepper [Fri, 12 Mar 2004 20:24:21 +0000 (20:24 +0000)]
Define HOST_NAME_MAX.

20 years ago * sysdeps/alpha/tcb-offsets.sym (PID_OFFSET): New.
Richard Henderson [Thu, 11 Mar 2004 21:34:25 +0000 (21:34 +0000)]
    * sysdeps/alpha/tcb-offsets.sym (PID_OFFSET): New.
        * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Save/restore PID.
        * sysdeps/unix/sysv/linux/alpha/vfork.S: New file.

20 years ago * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (kernel_stat64): New.
Richard Henderson [Thu, 11 Mar 2004 02:58:44 +0000 (02:58 +0000)]
    * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (kernel_stat64): New.
        (glibc21_stat): New.
        * sysdeps/unix/sysv/linux/alpha/fxstat.c: New file.
        * sysdeps/unix/sysv/linux/alpha/lxstat.c: New file.
        * sysdeps/unix/sysv/linux/alpha/xstat.c: New file.
        * sysdeps/unix/sysv/linux/alpha/xstatconv.c (__xstat_conv): Add
        code for _STAT_VER_GLIBC2_3_4.
        (__libc_missing_axp_stat64): New.
        * sysdeps/unix/sysv/linux/alpha/xstatconv.h: New file.
        * sysdeps/unix/sysv/linux/alpha/bits/stat.h (__ST_TIME): New.
        (_STAT_VER_GLIBC2_3_4, _STAT_VER_KERNEL64): New.
        (struct stat, struct stat64): Update to new format.
        (_STATBUF_ST_NSEC): New.

20 years ago(__old_glob, __old_globfree): Add attribute_compat_text_section.
Ulrich Drepper [Wed, 10 Mar 2004 19:21:39 +0000 (19:21 +0000)]
(__old_glob, __old_globfree): Add attribute_compat_text_section.

20 years ago(__old_wordexp): Add attribute_compat_text_section.
Ulrich Drepper [Wed, 10 Mar 2004 19:21:18 +0000 (19:21 +0000)]
(__old_wordexp): Add attribute_compat_text_section.

20 years ago(ADJTIME): Add attribute_compat_text_section.
Ulrich Drepper [Wed, 10 Mar 2004 19:20:11 +0000 (19:20 +0000)]
(ADJTIME): Add attribute_compat_text_section.

20 years ago(isgreater, isgreaterequal, isless, islessequal, islessgreater): Remove;
Ulrich Drepper [Wed, 10 Mar 2004 05:58:46 +0000 (05:58 +0000)]
(isgreater, isgreaterequal, isless, islessequal, islessgreater): Remove;
use default.
(isunordered): Convert inputs to double.

20 years agoDon't define via builtins.
Ulrich Drepper [Wed, 10 Mar 2004 05:58:17 +0000 (05:58 +0000)]
Don't define via builtins.

20 years ago * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Fix typo
Richard Henderson [Mon, 8 Mar 2004 12:34:18 +0000 (12:34 +0000)]
    * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Fix typo
        in name.

20 years agoUse GLRO instead of GL where appropriate.
Ulrich Drepper [Sun, 7 Mar 2004 08:38:42 +0000 (08:38 +0000)]
Use GLRO instead of GL where appropriate.

20 years ago * soft-fp/quad.h (union _FP_UNION_Q): Add longs structure.
Richard Henderson [Sat, 6 Mar 2004 20:46:23 +0000 (20:46 +0000)]
    * soft-fp/quad.h (union _FP_UNION_Q): Add longs structure.
        * sysdeps/alpha/Implies: Add alpha/soft-fp.
        * sysdeps/alpha/soft-fp/sfp-machine.h: Rewrite for GEM interface.
        * sysdeps/alpha/Subdirs, sysdeps/alpha/soft-fp/Makefile,
        sysdeps/alpha/soft-fp/Versions, sysdeps/alpha/soft-fp/local-soft-fp.h,
        sysdeps/alpha/soft-fp/ots_add.c, sysdeps/alpha/soft-fp/ots_cmp.c,
        sysdeps/alpha/soft-fp/ots_cmpe.c, sysdeps/alpha/soft-fp/ots_cvtqux.c,
        sysdeps/alpha/soft-fp/ots_cvtqx.c, sysdeps/alpha/soft-fp/ots_cvttx.c,
        sysdeps/alpha/soft-fp/ots_cvtxq.c, sysdeps/alpha/soft-fp/ots_cvtxt.c,
        sysdeps/alpha/soft-fp/ots_div.c, sysdeps/alpha/soft-fp/ots_mul.c,
        sysdeps/alpha/soft-fp/ots_nintxq.c, sysdeps/alpha/soft-fp/ots_sub.c:
        New files.

20 years agoUse GLRO instead of GL where appropriate.
Ulrich Drepper [Sat, 6 Mar 2004 08:06:01 +0000 (08:06 +0000)]
Use GLRO instead of GL where appropriate.

20 years agoUse GLRO instead of GL where appropriate.
Ulrich Drepper [Fri, 5 Mar 2004 10:22:54 +0000 (10:22 +0000)]
Use GLRO instead of GL where appropriate.

20 years agoposix_fadvise implementation.
Ulrich Drepper [Wed, 3 Mar 2004 18:56:20 +0000 (18:56 +0000)]
posix_fadvise implementation.

20 years agoposix_fadvise64 implementation.
Ulrich Drepper [Wed, 3 Mar 2004 18:56:03 +0000 (18:56 +0000)]
posix_fadvise64 implementation.

20 years ago(posix_fadvise64): Remove.
Ulrich Drepper [Wed, 3 Mar 2004 18:55:08 +0000 (18:55 +0000)]
(posix_fadvise64): Remove.

20 years ago(feholdexcept): Fix order of fp status register loads.
Ulrich Drepper [Sat, 21 Feb 2004 02:10:01 +0000 (02:10 +0000)]
(feholdexcept): Fix order of fp status register loads.

20 years agoAlpha specific definition for ld.so.
Ulrich Drepper [Fri, 20 Feb 2004 20:14:55 +0000 (20:14 +0000)]
Alpha specific definition for ld.so.

20 years ago(DL_ARGV_NOT_RELRO): Remove.
Ulrich Drepper [Fri, 20 Feb 2004 20:14:00 +0000 (20:14 +0000)]
(DL_ARGV_NOT_RELRO): Remove.

20 years ago(DL_ARGV_NOT_RELRO): Define.
Ulrich Drepper [Fri, 20 Feb 2004 05:41:20 +0000 (05:41 +0000)]
(DL_ARGV_NOT_RELRO): Define.

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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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