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.
Andreas Jaeger [Tue, 20 Jul 2004 16:35:32 +0000 (16:35 +0000)]
Use standard names for ABI macros, include sgidefs.h where appropriate.
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.
Ulrich Drepper [Mon, 5 Jul 2004 17:36:14 +0000 (17:36 +0000)]
(ffs): Add libc_hidden_builtin_def.
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.
Ulrich Drepper [Mon, 28 Jun 2004 21:02:47 +0000 (21:02 +0000)]
[BZ #231]
(__syscall_error): Avoid !samegp relocation in librt.so.
Ulrich Drepper [Mon, 28 Jun 2004 21:02:06 +0000 (21:02 +0000)]
(inline_syscall6): Fix a typo.
Ulrich Drepper [Mon, 28 Jun 2004 20:57:50 +0000 (20:57 +0000)]
(MULTIPLE_THREADS_OFFSET): Define unconditionally.
Ulrich Drepper [Tue, 22 Jun 2004 05:55:22 +0000 (05:55 +0000)]
Lowlevel system dependent code for Unix/Alpha.
Ulrich Drepper [Tue, 22 Jun 2004 05:54:44 +0000 (05:54 +0000)]
Additional makefile for Unix on Alpha.
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.
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>.
Ulrich Drepper [Thu, 3 Jun 2004 15:57:42 +0000 (15:57 +0000)]
(pthread_cond_t): Add __data.__futex field, reshuffle __data.__clock.
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.
Ulrich Drepper [Fri, 28 May 2004 06:39:36 +0000 (06:39 +0000)]
Add libc_hidden_builtin_def.
Andreas Schwab [Sun, 23 May 2004 10:22:47 +0000 (10:22 +0000)]
Use "+m" constraint instead
of separate "m" constraints.
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).
Ulrich Drepper [Tue, 18 May 2004 20:16:32 +0000 (20:16 +0000)]
(pthread_cond_t): Add __broadcast_seq field.
Ulrich Drepper [Fri, 7 May 2004 01:57:35 +0000 (01:57 +0000)]
Export __libc_alpha_cache_shape as a private symbol.
Ulrich Drepper [Fri, 7 May 2004 01:57:19 +0000 (01:57 +0000)]
Linux/Alpha sysconf definitions.
Ulrich Drepper [Fri, 7 May 2004 01:57:04 +0000 (01:57 +0000)]
Linux/Alpha startup code in ld.so.
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.
Ulrich Drepper [Wed, 5 May 2004 18:42:44 +0000 (18:42 +0000)]
Not needed anymore.
Ulrich Drepper [Mon, 3 May 2004 21:39:39 +0000 (21:39 +0000)]
(F_SETOWN, F_GETOWN): Define if __USE_BSD or __USE_UNIX98.
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.
Andreas Schwab [Fri, 23 Apr 2004 20:41:42 +0000 (20:41 +0000)]
Use __attribute_used__.
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.
Ulrich Drepper [Mon, 19 Apr 2004 06:49:28 +0000 (06:49 +0000)]
Don't use x86 version.
Ulrich Drepper [Mon, 19 Apr 2004 06:49:15 +0000 (06:49 +0000)]
hppa specific part of profiling code.
Ulrich Drepper [Mon, 19 Apr 2004 06:48:59 +0000 (06:48 +0000)]
Entry point definition for hppa.
Ulrich Drepper [Sat, 17 Apr 2004 23:06:39 +0000 (23:06 +0000)]
(SEM_VALUE_MAX): Jusr use a plain number.
Ulrich Drepper [Sat, 17 Apr 2004 22:55:20 +0000 (22:55 +0000)]
Add bits/link.h elf/entry.h.
Ulrich Drepper [Sat, 17 Apr 2004 22:54:23 +0000 (22:54 +0000)]
Dynamic linking definitions for HPPA.
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)).
Ulrich Drepper [Sat, 17 Apr 2004 22:51:43 +0000 (22:51 +0000)]
(feupdateenv): Use only sw[0] and call feraiseexcept.
Andreas Jaeger [Thu, 15 Apr 2004 14:08:16 +0000 (14:08 +0000)]
Fix last commit.
Andreas Jaeger [Thu, 15 Apr 2004 04:50:11 +0000 (04:50 +0000)]
(RTLD_START): Do not use nested .end.
Ulrich Drepper [Tue, 13 Apr 2004 02:00:09 +0000 (02:00 +0000)]
(MQ_PRIO_MAX): Define.
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.
Ulrich Drepper [Wed, 31 Mar 2004 08:53:29 +0000 (08:53 +0000)]
Add IUTF8.
Richard Henderson [Wed, 31 Mar 2004 02:34:13 +0000 (02:34 +0000)]
* sysdeps/alpha/remqu.S: Detect power-of-two special case.
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.
Richard Henderson [Fri, 26 Mar 2004 07:56:26 +0000 (07:56 +0000)]
* sysdeps/alpha/backtrace.c: New.
Ulrich Drepper [Wed, 24 Mar 2004 06:34:59 +0000 (06:34 +0000)]
Define lll_mutex_cond_trylock.
Ulrich Drepper [Wed, 24 Mar 2004 06:29:57 +0000 (06:29 +0000)]
(pthread_mutex_t): Add __spins field.
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.
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.
Ulrich Drepper [Tue, 23 Mar 2004 23:26:58 +0000 (23:26 +0000)]
Not needed anymore.
Ulrich Drepper [Tue, 23 Mar 2004 23:26:24 +0000 (23:26 +0000)]
Implied additional directories.
Ulrich Drepper [Tue, 23 Mar 2004 23:25:52 +0000 (23:25 +0000)]
Consolidated 64bit support for Linux.
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.
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.
Ulrich Drepper [Sun, 14 Mar 2004 21:01:14 +0000 (21:01 +0000)]
strtold_l for m68k long double.
Ulrich Drepper [Sun, 14 Mar 2004 20:59:44 +0000 (20:59 +0000)]
Not needed anymore.
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.
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.
Ulrich Drepper [Fri, 12 Mar 2004 20:24:21 +0000 (20:24 +0000)]
Define HOST_NAME_MAX.
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.
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.
Ulrich Drepper [Wed, 10 Mar 2004 19:21:39 +0000 (19:21 +0000)]
(__old_glob, __old_globfree): 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.
Ulrich Drepper [Wed, 10 Mar 2004 19:20:11 +0000 (19:20 +0000)]
(ADJTIME): Add attribute_compat_text_section.
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.
Ulrich Drepper [Wed, 10 Mar 2004 05:58:17 +0000 (05:58 +0000)]
Don't define via builtins.
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.
Ulrich Drepper [Sun, 7 Mar 2004 08:38:42 +0000 (08:38 +0000)]
Use GLRO instead of GL where appropriate.
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.
Ulrich Drepper [Sat, 6 Mar 2004 08:06:01 +0000 (08:06 +0000)]
Use 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.
Ulrich Drepper [Wed, 3 Mar 2004 18:56:20 +0000 (18:56 +0000)]
posix_fadvise implementation.
Ulrich Drepper [Wed, 3 Mar 2004 18:56:03 +0000 (18:56 +0000)]
posix_fadvise64 implementation.
Ulrich Drepper [Wed, 3 Mar 2004 18:55:08 +0000 (18:55 +0000)]
(posix_fadvise64): Remove.
Ulrich Drepper [Sat, 21 Feb 2004 02:10:01 +0000 (02:10 +0000)]
(feholdexcept): Fix order of fp status register loads.
Ulrich Drepper [Fri, 20 Feb 2004 20:14:55 +0000 (20:14 +0000)]
Alpha specific definition for ld.so.
Ulrich Drepper [Fri, 20 Feb 2004 20:14:00 +0000 (20:14 +0000)]
(DL_ARGV_NOT_RELRO): Remove.
Ulrich Drepper [Fri, 20 Feb 2004 05:41:20 +0000 (05:41 +0000)]
(DL_ARGV_NOT_RELRO): Define.
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.
Ulrich Drepper [Tue, 20 Jan 2004 23:23:55 +0000 (23:23 +0000)]
Add readahead prototype.
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.
Richard Henderson [Fri, 16 Jan 2004 06:04:53 +0000 (06:04 +0000)]
* sysdeps/unix/alpha/sysdep.h: Revert last change.
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.
Richard Henderson [Fri, 16 Jan 2004 05:59:42 +0000 (05:59 +0000)]
* sysdeps/alpha/dl-machine.h (RTLD_START): Use _dl_argv_internal.
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.
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.
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.
Richard Henderson [Tue, 13 Jan 2004 20:47:01 +0000 (20:47 +0000)]
* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typo.
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.
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.
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.
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.
Andreas Schwab [Sun, 21 Dec 2003 17:31:58 +0000 (17:31 +0000)]
Avoid matching memory constraints.
Ulrich Drepper [Fri, 19 Dec 2003 01:35:07 +0000 (01:35 +0000)]
Setjmp buffer unwinding helper code for Alpha.
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.
Ulrich Drepper [Thu, 18 Dec 2003 03:58:26 +0000 (03:58 +0000)]
(fesetexceptflag): Set enable bits not raised exception bits.
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.
Ulrich Drepper [Thu, 18 Dec 2003 03:57:50 +0000 (03:57 +0000)]
(feupdateenv): Read raised exception bits, OR with envp, pass to fesetenv.
Ulrich Drepper [Thu, 18 Dec 2003 03:57:31 +0000 (03:57 +0000)]
(fesetenv): 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.
Ulrich Drepper [Thu, 18 Dec 2003 03:56:50 +0000 (03:56 +0000)]
(fegetenv): use asm 'ma,' completer, and gcc '+r' constraint.
Ulrich Drepper [Thu, 18 Dec 2003 03:56:15 +0000 (03:56 +0000)]
(feclearexcept): Right shift FE_ALL_EXCEPT before complimenting.