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

20 years agoUse __attribute_used__.
Andreas Schwab [Fri, 23 Apr 2004 20:41:42 +0000 (20:41 +0000)]
Use __attribute_used__.

20 years ago(elf_machine_rela): Don't use INTUSE when calling _dl_signal_error.
Ulrich Drepper [Thu, 22 Apr 2004 07:31:08 +0000 (07:31 +0000)]
(elf_machine_rela): Don't use INTUSE when calling _dl_signal_error.
(elf_machine_rel): Likewise.

20 years agoDon't use x86 version.
Ulrich Drepper [Mon, 19 Apr 2004 06:49:28 +0000 (06:49 +0000)]
Don't use x86 version.

20 years agohppa specific part of profiling code.
Ulrich Drepper [Mon, 19 Apr 2004 06:49:15 +0000 (06:49 +0000)]
hppa specific part of profiling code.

20 years agoEntry point definition for hppa.
Ulrich Drepper [Mon, 19 Apr 2004 06:48:59 +0000 (06:48 +0000)]
Entry point definition for hppa.

20 years ago(SEM_VALUE_MAX): Jusr use a plain number.
Ulrich Drepper [Sat, 17 Apr 2004 23:06:39 +0000 (23:06 +0000)]
(SEM_VALUE_MAX): Jusr use a plain number.

20 years agoAdd bits/link.h elf/entry.h.
Ulrich Drepper [Sat, 17 Apr 2004 22:55:20 +0000 (22:55 +0000)]
Add bits/link.h elf/entry.h.

20 years agoDynamic linking definitions for HPPA.
Ulrich Drepper [Sat, 17 Apr 2004 22:54:23 +0000 (22:54 +0000)]
Dynamic linking definitions for HPPA.

20 years ago(__hppa_init_bootstrap_fdesc_table):
Ulrich Drepper [Sat, 17 Apr 2004 22:53:29 +0000 (22:53 +0000)]
(__hppa_init_bootstrap_fdesc_table):
Initialze the fdesc table for the generic code.
(elf_machine_dynamic): Use asm version.
(elf_machine_load_addresss): Simplify asm by calling
elf_machine_dynamic.
(elf_machine_fixup_plt): Correct comment.
(elf_machine_profile_fixup_plt): New.
(elf_machine_runtime_setup): Check PLT exists, if lazy=1  process
normally, else relocate all the absolute entries.
(RTLD_START): Fix comments.
(TRAMPOLINE_TEMPLATE): Reformat assembly, add return pointer for
calls to profile_fixup.
(ELF_MACHINE_SIZEOF_JMP_SLOT, DL_STATIC_FUNCTION_ADDRESS,
DL_PLATFORM_INIT): Define.
(DL_FUNCTION_ADDRESS): Remove.
(dl_platform_init): New.
(elf_machine_rela): Use generic fdesc code, and process all COPY
relocations. Use __attribute__((always_inline)).
(elf_machine_rela_relative): Add sanity checks, remove IPLT
processing, print error message in default case. Use
__attribute__((always_inline)).
(elf_machine_lazy_rel): Use __attribute__((always_inline)).

20 years ago(feupdateenv): Use only sw[0] and call feraiseexcept.
Ulrich Drepper [Sat, 17 Apr 2004 22:51:43 +0000 (22:51 +0000)]
(feupdateenv): Use only sw[0] and call feraiseexcept.

20 years agoFix last commit.
Andreas Jaeger [Thu, 15 Apr 2004 14:08:16 +0000 (14:08 +0000)]
Fix last commit.

20 years ago(RTLD_START): Do not use nested .end.
Andreas Jaeger [Thu, 15 Apr 2004 04:50:11 +0000 (04:50 +0000)]
(RTLD_START): Do not use nested .end.

20 years ago(MQ_PRIO_MAX): Define.
Ulrich Drepper [Tue, 13 Apr 2004 02:00:09 +0000 (02:00 +0000)]
(MQ_PRIO_MAX): Define.

20 years ago(INTERNAL_SYSCALL): Add
Andreas Schwab [Thu, 8 Apr 2004 23:30:26 +0000 (23:30 +0000)]
(INTERNAL_SYSCALL): Add
LOAD_REGS_##nr.
(LOAD_ARGS_0, LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4)
(LOAD_ARGS_5, LOAD_ARGS_6): Load argument values into temporary
variables.
(LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4)
(LOAD_REGS_5, LOAD_REGS_6): New macros to actually load the
syscall argument registers.

20 years agoAdd IUTF8.
Ulrich Drepper [Wed, 31 Mar 2004 08:53:29 +0000 (08:53 +0000)]
Add IUTF8.

20 years ago * sysdeps/alpha/remqu.S: Detect power-of-two special case.
Richard Henderson [Wed, 31 Mar 2004 02:34:13 +0000 (02:34 +0000)]
    * sysdeps/alpha/remqu.S: Detect power-of-two special case.

20 years ago * sysdeps/alpha/Makefile <gnulib> (sysdep_routines): Merge divrem
Richard Henderson [Sat, 27 Mar 2004 00:32:28 +0000 (00:32 +0000)]
    * sysdeps/alpha/Makefile <gnulib> (sysdep_routines): Merge divrem
        variable, add unsigned variants.
        * sysdeps/alpha/divrem.h: Remove file.
        * sysdeps/alpha/div_libc.h: New file.
        * sysdeps/alpha/divl.S: Rewrite from scratch.
        * sysdeps/alpha/reml.S: Likewise.
        * sysdeps/alpha/divq.S: Likewise.
        * sysdeps/alpha/remq.S: Likewise.
        * sysdeps/alpha/divlu.S: New file.
        * sysdeps/alpha/remlu.S: New file.
        * sysdeps/alpha/divqu.S: New file.
        * sysdeps/alpha/remqu.S: New file.

20 years ago * sysdeps/alpha/backtrace.c: New.
Richard Henderson [Fri, 26 Mar 2004 07:56:26 +0000 (07:56 +0000)]
    * sysdeps/alpha/backtrace.c: New.

20 years agoDefine lll_mutex_cond_trylock.
Ulrich Drepper [Wed, 24 Mar 2004 06:34:59 +0000 (06:34 +0000)]
Define lll_mutex_cond_trylock.

20 years ago(pthread_mutex_t): Add __spins field.
Ulrich Drepper [Wed, 24 Mar 2004 06:29:57 +0000 (06:29 +0000)]
(pthread_mutex_t): Add __spins field.

20 years ago(__NR_pread, __NR_pwrite): Define to __NR_p{read,write}64 if not defined.
Ulrich Drepper [Tue, 23 Mar 2004 23:31:47 +0000 (23:31 +0000)]
(__NR_pread, __NR_pwrite): Define to __NR_p{read,write}64 if not defined.

20 years agoMove common syscalls for 64bit arches to
Ulrich Drepper [Tue, 23 Mar 2004 23:31:19 +0000 (23:31 +0000)]
Move common syscalls for 64bit arches to
sysdeps/unix/sysv/linux/wordsize-64/syscalls.list.

20 years agoNot needed anymore.
Ulrich Drepper [Tue, 23 Mar 2004 23:26:58 +0000 (23:26 +0000)]
Not needed anymore.

20 years agoImplied additional directories.
Ulrich Drepper [Tue, 23 Mar 2004 23:26:24 +0000 (23:26 +0000)]
Implied additional directories.

20 years agoConsolidated 64bit support for Linux.
Ulrich Drepper [Tue, 23 Mar 2004 23:25:52 +0000 (23:25 +0000)]
Consolidated 64bit support for Linux.

20 years ago * sysdeps/alpha/s_fabs.S: Remove file.
Richard Henderson [Tue, 23 Mar 2004 01:18:23 +0000 (01:18 +0000)]
    * sysdeps/alpha/s_fabs.S: Remove file.
        * sysdeps/alpha/s_copysign.S: Remove file.

20 years ago * math/Makefile (headers): Add bits/huge_valf.h, bits/huge_vall.h,
Richard Henderson [Mon, 15 Mar 2004 21:44:10 +0000 (21:44 +0000)]
    * math/Makefile (headers): Add bits/huge_valf.h, bits/huge_vall.h,
        and bits/inf.h.
        * math/math.h: Include them.

        * sysdeps/alpha/fpu/bits/mathdef.h, sysdeps/arm/fpu/bits/mathdef.h,
        sysdeps/generic/bits/mathdef.h, sysdeps/i386/fpu/bits/mathdef.h,
        sysdeps/ia64/fpu/bits/mathdef.h, sysdeps/m68k/fpu/bits/mathdef.h,
        sysdeps/mips/fpu/bits/mathdef.h, sysdeps/powerpc/fpu/bits/mathdef.h,
        sysdeps/sh/sh4/fpu/bits/mathdef.h, sysdeps/sparc/fpu/bits/mathdef.h,
        sysdeps/x86_64/fpu/bits/mathdef.h: Remove INFINITY.

        * sysdeps/arm/bits/huge_val.h (HUGE_VAL): Use __builtin_huge_val.
        (HUGE_VALF, HUGE_VALL): Remove.
        * sysdeps/ieee754/bits/huge_val.h: Likewise.
        * sysdeps/sh/bits/huge_val.h: Likewise.

        * sysdeps/generic/bits/huge_val.h (HUGE_VAL): Use __builtin_huge_val.
        * sysdeps/generic/bits/huge_valf.h: New file.
        * sysdeps/generic/bits/huge_vall.h: New file.
        * sysdeps/generic/bits/inf.h: New file.
        * sysdeps/ieee754/bits/huge_valf.h: New file.
        * sysdeps/ieee754/bits/inf.h: New file.
        * sysdeps/i386/bits/huge_val.h: Remove file.
        * sysdeps/i386/bits/huge_vall.h: New file.
        * sysdeps/ia64/bits/huge_val.h: Remove file.
        * sysdeps/ia64/bits/huge_vall.h: New file.
        * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: New file.
        * sysdeps/m68k/bits/huge_val.h: Remove file.
        * sysdeps/m68k/bits/huge_vall.h: New file.
        * sysdeps/s390/bits/huge_val.h: Remove file.
        * sysdeps/sh/sh4/fpu/bits/huge_val.h: Remove file.
        * sysdeps/sparc/bits/huge_vall.h: New file.
        * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Remove file.
        * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Remove file.

        * sysdeps/ieee754/bits/nan.h (NAN): Use __builtin_nanf.
        * sysdeps/mips/bits/nan.h (NAN): Likewise.

20 years agostrtold_l for m68k long double.
Ulrich Drepper [Sun, 14 Mar 2004 21:01:14 +0000 (21:01 +0000)]
strtold_l for m68k long double.

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.