Roland McGrath
99e519ba0a
2004-10-25 Roland McGrath <roland@frob.com>
...
* sysdeps/cris/configure.in: New file, with test moved out of main
libc configure.in file.
* sysdeps/cris/configure: New generated file.
2004-10-26 01:33:30 +00:00
Alexandre Oliva
cbd6a07c56
* sysdeps/unix/sysv/linux/linuxthreads/sysdep-cancel.h: Moved...
...
* sysdeps/unix/sysv/linux/am33/linuxthreads/sysdep-cancel.h:
... here, where it should have been added in the first place.
2004-10-25 07:11:57 +00:00
Alexandre Oliva
d115c0d8f6
Added Matsushita AM33/2.0 port.
2004-10-23 00:33:35 +00:00
Andreas Jaeger
145f3f8a3c
(__SYSCALL_CLOBBERS): Add "memory".
2004-10-18 05:16:08 +00:00
Richard Henderson
885186d085
* sysdeps/unix/sysv/linux/alpha/register-dump.h: New file.
...
* sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h (SIGCONTEXT): Add
_code argument, pass sigcontext by pointer.
(SIGCONTEXT_EXTRA_ARGS): Likewise.
(GET_PC, GET_FRAME, GET_STACK): Expect ctx as pointer.
2004-10-15 09:34:45 +00:00
Richard Henderson
73e5300008
* sysdeps/alpha/tcb-offsets.sym (thread_offsetof): Redefine to
...
make gcc4 happy.
2004-10-15 07:07:57 +00:00
Richard Henderson
36f86ab9ac
* sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use prototype
...
style definition.
* sysdeps/unix/sysv/linux/alpha/adjtime.c (ADJTIME): If
__ASSUME_TIMEVAL64, define __adjtime directly rather than
via strong_alias.
2004-10-15 07:06:56 +00:00
Richard Henderson
1795e40c5d
* sysdeps/alpha/dl-machine.h (elf_machine_rela,
...
elf_machine_rela_relative, elf_machine_lazy_rel): Mark auto
instead of static.
2004-10-15 07:06:11 +00:00
Ulrich Drepper
a270d32ff2
(elf_machine_runtime_link_map): Replace iteration over GL(dl_loaded)
...
chain with iteration over all namespaces' _ns_loaded chains.
2004-10-14 16:08:53 +00:00
Andreas Schwab
6ffbfb80e1
(WORD_COPY_BWD): Remove use of cast as lvalue.
2004-10-09 21:19:06 +00:00
Andreas Schwab
1bd55d8b3a
Remove __THROW from inline definitions.
2004-10-09 21:18:03 +00:00
Roland McGrath
94645659a4
2004-10-04 Roland McGrath <roland@redhat.com>
...
* include/errno.h [RTLD_PRIVATE_ERRNO] (errno): Rename the real symbol
to rtld_errno.
* sysdeps/generic/errno.c [RTLD_PRIVATE_ERRNO] (rtld_errno): Define it,
and don't define any other errno names.
* sysdeps/unix/alpha/sysdep.h [RTLD_PRIVATE_ERRNO]: Use rtld_errno in
place of errno.
* sysdeps/unix/i386/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
* sysdeps/unix/x86_64/sysdep.S: Likewise.
2004-10-04 20:59:38 +00:00
Ulrich Drepper
3e08e73f58
(__fdimf, __fdim, fdimf, fdim): Handle +inf/+inf.
2004-09-30 06:16:28 +00:00
Ulrich Drepper
6fae1eca92
(pthread_cond_t): Add __extension__ to long long types.
2004-09-28 10:29:32 +00:00
Richard Henderson
def004d709
* sysdeps/alpha/alphaev6/memcpy.S: Mark .prologue.
...
* sysdeps/unix/alpha/sysdep.h (LEAF, ENTRY): Align entry points
to 16 byte boundaries.
2004-09-26 17:40:31 +00:00
Ulrich Drepper
d627d8fb46
(inline_syscall[0-6]): Change name argument to numbers from syscall names.
...
(INLINE_SYSCALL1): Pass __NR_##name to inline_syscall##nr.
(INTERNAL_SYSCALL_NCS): Renamed from...
(INTERNAL_SYSCALL_1): ... this. Use INTERNAL_SYSCALL_NCS.
2004-09-23 05:15:41 +00:00
Richard Henderson
6a63b83c91
* sysdeps/alpha/fpu/libm-test-ulps: Update.
...
* scripts/data/c++-types-alpha-linux-gnu.data: New file.
2004-09-15 12:23:39 +00:00
Richard Henderson
93207f7d2d
* sysdeps/unix/sysv/linux/alpha/vfork.S: Use libc_hidden_def.
2004-09-15 12:22:09 +00:00
Ulrich Drepper
2bb0696559
Remove uses of __P and __PMT.
2004-09-14 04:24:52 +00:00
Ulrich Drepper
ebb9960651
Define rwlock types also for __USE_XOPEN2K.
2004-09-12 18:40:45 +00:00
Ulrich Drepper
6d74bdcd30
Use __NTH instead of __THROW in inline function definitions.
2004-09-12 18:13:16 +00:00
Ulrich Drepper
493814089b
(__pthread_once): Use atomic_increment instead of atomic_exchange_and_add.
2004-09-08 06:11:35 +00:00
Richard Henderson
0af1bbc9f2
* sysdeps/alpha/fpu/fraiseexcpt.c: Remove file.
...
* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_IEEE_RAISE_EXCEPTION): New.
* sysdeps/unix/sysv/linux/alpha/fraiseexcpt.c: New file.
* sysdeps/unix/sysv/linux/alpha/kernel_sysinfo.h: New file.
* sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Use it.
* sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2004-09-06 02:19:36 +00:00
Richard Henderson
a61c91b0ca
* sysdeps/alpha/div.S: Save and restore FPCR around fp operations.
...
* sysdeps/alpha/divl.S, sysdeps/alpha/divq.S, sysdeps/alpha/divqu.S,
sysdeps/alpha/ldiv.S, sysdeps/alpha/reml.S, sysdeps/alpha/remq.S,
sysdeps/alpha/remqu.S: Likewise.
* sysdeps/alpha/div_libc.h (FRAME): Increase to 64.
2004-09-06 02:01:35 +00:00
Richard Henderson
df8419fe0a
* sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (SINGLE_THREAD_P):
...
Move definition inside libpthread, libc, librt check. Provide
definition for rtld.
2004-09-06 01:12:02 +00:00
Ulrich Drepper
99e111a7c2
Define __libc_unwind_longjmp.
2004-09-02 22:46:02 +00:00
Ulrich Drepper
19eca5d62f
(pthread_cond_t): Rename __data.__clock to __data.__nwaiters, make it
...
unsigned int.
2004-09-02 18:51:31 +00:00
Ulrich Drepper
c80ce440fb
Include sgidefs.h only if NO_SGIDEFS_H isn't defined.
2004-08-26 16:59:14 +00:00
Richard Henderson
13e579e4f9
* sysdeps/alpha/elf/start.S (_start): Use $15 as frame unwind
...
instead of $31. Zero $15.
* sysdeps/unix/sysv/linux/alpha/clone.S (thread_start): Likewise.
2004-08-25 19:59:01 +00:00
Andreas Jaeger
7048b1bff0
(_dl_start_user): Don't set __libc_stack_end.
2004-08-25 05:57:35 +00:00
Andreas Jaeger
e8805e8d3f
[BZ #341 ]
...
(O_NOATIME): Define.
2004-08-23 07:28:45 +00:00
Roland McGrath
ca5c03379c
2004-08-15 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who):
Remove __RUSAGE_BOTH constant and RUSAGE_BOTH macro.
* sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
2004-08-16 08:51:46 +00:00
Roland McGrath
0bec0145c4
2004-08-15 Roland McGrath <roland@frob.com>
...
* csu/elf-init.c: Update copyright terms including special exception
for these trivial files, which are statically linked into executables
that use dynamic linking for the significant library code.
* io/fstat.c: Likewise.
* io/fstat64.c: Likewise.
* io/lstat.c: Likewise.
* io/lstat64.c: Likewise.
* io/stat.c: Likewise.
* io/stat64.c: Likewise.
* stdlib/atexit.c: Likewise.
* sysdeps/alpha/elf/initfini.c: Likewise.
* sysdeps/alpha/elf/start.S: Likewise.
* sysdeps/arm/elf/start.S: Likewise.
* sysdeps/cris/elf/start.S: Likewise.
* sysdeps/generic/initfini.c: Likewise.
* sysdeps/generic/mknod.c: Likewise.
* sysdeps/hppa/elf/initfini.c: Likewise.
* sysdeps/hppa/elf/start.S: Likewise.
* sysdeps/i386/elf/start.S: Likewise.
* sysdeps/i386/i686/hp-timing.c: Likewise.
* sysdeps/ia64/elf/initfini.c: Likewise.
* sysdeps/ia64/elf/start.S: Likewise.
* sysdeps/ia64/hp-timing.c: Likewise.
* sysdeps/m68k/elf/start.S: Likewise.
* sysdeps/mach/start.c: Likewise.
* sysdeps/mips/elf/start.S: Likewise.
* sysdeps/powerpc/powerpc32/elf/start.S: Likewise.
* sysdeps/powerpc/powerpc64/elf/start.S: Likewise.
* sysdeps/s390/s390-32/elf/start.S: Likewise.
* sysdeps/s390/s390-32/initfini.c: Likewise.
* sysdeps/s390/s390-64/elf/start.S: Likewise.
* sysdeps/s390/s390-64/initfini.c: Likewise.
* sysdeps/sh/elf/initfini.c: Likewise.
* sysdeps/sh/elf/start.S: Likewise.
* sysdeps/sparc/sparc32/elf/start.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Likewise.
* sysdeps/sparc/sparc64/elf/start.S: Likewise.
* sysdeps/sparc/sparc64/hp-timing.c: Likewise.
* sysdeps/standalone/i386/start.S: Likewise.
* sysdeps/standalone/i960/start.S: Likewise.
* sysdeps/standalone/m68k/m68020/start.S: Likewise.
* sysdeps/unix/arm/start.c: Likewise.
* sysdeps/unix/bsd/osf/alpha/start.S: Likewise.
* sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
* sysdeps/unix/sparc/start.c: Likewise.
* sysdeps/unix/start.c: Likewise.
* sysdeps/unix/sysv/aix/start.s: Likewise.
* sysdeps/unix/sysv/irix4/start.c: Likewise.
* sysdeps/x86_64/elf/initfini.c: Likewise.
* sysdeps/x86_64/elf/start.S: Likewise.
2004-08-16 04:51:04 +00:00
Roland McGrath
ba5a329ddd
2004-08-13 Daniel Jacobowitz <dan@debian.org>
...
* sysdeps/arm/machine-gmon.h (mcount_internal): Mark as
__attribute_used__.
2004-08-14 06:54:41 +00:00
Ulrich Drepper
ea0b49e7f8
Define non-standard RUSAGE_ enums as __RUSAGE_ and adjust macros
...
accordingly.
2004-08-13 05:46:37 +00:00
Ulrich Drepper
4214993aa0
(RLIMIT_SIGPENDING, RLIMIT_MSGQUEUE): Add.
...
(RLIMIT_NLIMITS, RLIM_NLIMITS): Adjust.
2004-08-12 18:05:26 +00:00
Ulrich Drepper
744a7b202e
(RLIMIT_SIGPENDING, RLIMIT_MSGQUEUE): Add.
...
(RLIMIT_NLIMITS, RLIM_NLIMITS): Adjust.
Define non-standard RLIMIT__ enums as __RLIMIT_ and adjust macros
accordingly.
2004-08-12 18:04:51 +00:00
Ulrich Drepper
c908feca74
Add __BEGIN_DECLS for __getpagesize declaration.
2004-08-12 17:27:20 +00:00
Richard Henderson
bd68d85075
* 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.
2004-07-30 18:15:57 +00:00
Andreas Jaeger
5c3c0a7a13
Add semtimedop.
2004-07-21 06:13:15 +00:00
Andreas Jaeger
c654366496
($(objpfx)syscall-%.h): Sort by syscalls. Make sure we get headers such
...
as sgidefs.h from the build tree before just-installed ones.
2004-07-20 16:37:41 +00:00
Andreas Jaeger
24c4c341e3
Use standard names for ABI macros, include sgidefs.h where appropriate.
2004-07-20 16:35:32 +00:00
Andreas Jaeger
ef827649e7
(__dl_runtime_resolve): Update to use _dl_lookup_symbol_x.
...
(elf_machine_runtime_link_map): Don't INTUSE _dl_signal_error.
2004-07-20 09:24:49 +00:00
Ulrich Drepper
38c0241ea9
(ffs): Add libc_hidden_builtin_def.
2004-07-05 17:36:14 +00:00
Ulrich Drepper
a18e04cfb5
[BZ #230 ]
...
(_dl_start_user): Use ldah/ldl to load _dl_skip_args.
2004-06-28 21:03:34 +00:00
Ulrich Drepper
2acd67aa30
[BZ #231 ]
...
(__syscall_error): Avoid !samegp relocation in librt.so.
2004-06-28 21:02:47 +00:00
Ulrich Drepper
d32bff863e
(inline_syscall6): Fix a typo.
2004-06-28 21:02:06 +00:00
Ulrich Drepper
594e390a37
(MULTIPLE_THREADS_OFFSET): Define unconditionally.
2004-06-28 20:57:50 +00:00
Ulrich Drepper
5e79bfc674
Lowlevel system dependent code for Unix/Alpha.
2004-06-22 05:55:22 +00:00
Ulrich Drepper
be8cedf82f
Additional makefile for Unix on Alpha.
2004-06-22 05:54:44 +00:00
Richard Henderson
48a7f702e8
* sysdeps/alpha/div_libc.h (_ITOFS): Use "sp" not "$sp".
...
(_ITOFT, _FTOIT, _ITOFT2): Likewise.
2004-06-14 18:04:25 +00:00
Roland McGrath
482f870081
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>.
2004-06-11 10:15:34 +00:00
Ulrich Drepper
64d5339733
(pthread_cond_t): Add __data.__futex field, reshuffle __data.__clock.
2004-06-03 15:57:42 +00:00
Ulrich Drepper
e0a27e2f47
(FUTEX_CMP_REQUEUE): Define.
...
(lll_futex_requeue): Add val argument, use FUTEX_CMP_REQUEUE
internally. Return non-zero if error, zero if success.
2004-06-03 15:57:25 +00:00
Ulrich Drepper
8a9a971c4d
Add libc_hidden_builtin_def.
2004-05-28 06:39:36 +00:00
Andreas Schwab
945ec97938
Use "+m" constraint instead
...
of separate "m" constraints.
2004-05-23 10:22:47 +00:00
Roland McGrath
7255da777a
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).
2004-05-20 22:07:15 +00:00
Ulrich Drepper
5341b8057c
(pthread_cond_t): Add __broadcast_seq field.
2004-05-18 20:16:32 +00:00
Ulrich Drepper
524a69be2a
Export __libc_alpha_cache_shape as a private symbol.
2004-05-07 01:57:35 +00:00
Ulrich Drepper
8dbe95aa6a
Linux/Alpha sysconf definitions.
2004-05-07 01:57:19 +00:00
Ulrich Drepper
58ed091a43
Linux/Alpha startup code in ld.so.
2004-05-07 01:57:04 +00:00
Richard Henderson
de47cb7012
* 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.
2004-05-06 22:01:01 +00:00
Ulrich Drepper
272d8363ef
Not needed anymore.
2004-05-05 18:42:44 +00:00
Ulrich Drepper
b1225f7208
(F_SETOWN, F_GETOWN): Define if __USE_BSD or __USE_UNIX98.
2004-05-03 21:39:39 +00:00
Roland McGrath
08b55be5f9
2004-04-29 Philip Blundell <pb@nexus.co.uk>
...
* sysdeps/arm/dl-machine.h (RTLD_START): Avoid unnecessary GOT
entries.
2004-04-29 20:06:49 +00:00
Andreas Schwab
e52ded1809
Use __attribute_used__.
2004-04-23 20:41:42 +00:00
Ulrich Drepper
88aa65dae8
(elf_machine_rela): Don't use INTUSE when calling _dl_signal_error.
...
(elf_machine_rel): Likewise.
2004-04-22 07:31:08 +00:00
Ulrich Drepper
6fdde6b9d4
Don't use x86 version.
2004-04-19 06:49:28 +00:00
Ulrich Drepper
50ce18cd24
hppa specific part of profiling code.
2004-04-19 06:49:15 +00:00
Ulrich Drepper
e5931923b6
Entry point definition for hppa.
2004-04-19 06:48:59 +00:00
Ulrich Drepper
7c1ebdffa6
(SEM_VALUE_MAX): Jusr use a plain number.
2004-04-17 23:06:39 +00:00
Ulrich Drepper
ce0cf67279
Add bits/link.h elf/entry.h.
2004-04-17 22:55:20 +00:00
Ulrich Drepper
660404d72b
Dynamic linking definitions for HPPA.
2004-04-17 22:54:23 +00:00
Ulrich Drepper
32e5b41b17
(__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)).
2004-04-17 22:53:29 +00:00
Ulrich Drepper
87ffc6ec79
(feupdateenv): Use only sw[0] and call feraiseexcept.
2004-04-17 22:51:43 +00:00
Andreas Jaeger
57f4291c9d
Fix last commit.
2004-04-15 14:08:16 +00:00
Andreas Jaeger
af6aab77a6
(RTLD_START): Do not use nested .end.
2004-04-15 04:50:11 +00:00
Ulrich Drepper
13bf163209
(MQ_PRIO_MAX): Define.
2004-04-13 02:00:09 +00:00
Andreas Schwab
693687e64e
(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.
2004-04-08 23:30:26 +00:00
Ulrich Drepper
635d5fe388
Add IUTF8.
2004-03-31 08:53:29 +00:00
Richard Henderson
2b89b1957d
* sysdeps/alpha/remqu.S: Detect power-of-two special case.
2004-03-31 02:34:13 +00:00
Richard Henderson
08e3c578ca
* 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.
2004-03-27 00:32:28 +00:00
Richard Henderson
a66be89006
* sysdeps/alpha/backtrace.c: New.
2004-03-26 07:56:26 +00:00
Ulrich Drepper
ce3f7d21bd
Define lll_mutex_cond_trylock.
2004-03-24 06:34:59 +00:00
Ulrich Drepper
04520d8eeb
(pthread_mutex_t): Add __spins field.
2004-03-24 06:29:57 +00:00
Ulrich Drepper
240d71125a
(__NR_pread, __NR_pwrite): Define to __NR_p{read,write}64 if not defined.
2004-03-23 23:31:47 +00:00
Ulrich Drepper
a01905d020
Move common syscalls for 64bit arches to
...
sysdeps/unix/sysv/linux/wordsize-64/syscalls.list.
2004-03-23 23:31:19 +00:00
Ulrich Drepper
31e954134a
Not needed anymore.
2004-03-23 23:26:58 +00:00
Ulrich Drepper
0dfe557c64
Implied additional directories.
2004-03-23 23:26:24 +00:00
Ulrich Drepper
006de71202
Consolidated 64bit support for Linux.
2004-03-23 23:25:52 +00:00
Richard Henderson
fb14e096b5
* sysdeps/alpha/s_fabs.S: Remove file.
...
* sysdeps/alpha/s_copysign.S: Remove file.
2004-03-23 01:18:23 +00:00
Richard Henderson
154a5429ac
* 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.
2004-03-15 21:44:10 +00:00
Ulrich Drepper
399e12d470
strtold_l for m68k long double.
2004-03-14 21:01:14 +00:00
Ulrich Drepper
360b2fddf1
Not needed anymore.
2004-03-14 20:59:44 +00:00
Richard Henderson
e0f09d9aba
* sysdeps/unix/sysv/linux/alpha/select.S: Fix unwind. Propagate
...
oldvalue from CENABLE to CDISABLE.
2004-03-13 05:29:45 +00:00
Richard Henderson
a5e72ef81a
* sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Propagate
...
oldvalue from CENABLE to CDISABLE.
2004-03-13 05:29:24 +00:00
Ulrich Drepper
24a4e2b0c9
Define HOST_NAME_MAX.
2004-03-12 20:24:21 +00:00
Richard Henderson
76deb69747
* 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.
2004-03-11 21:34:25 +00:00
Richard Henderson
b4d2a4238c
* 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.
2004-03-11 02:58:44 +00:00
Ulrich Drepper
25366174f2
(__old_glob, __old_globfree): Add attribute_compat_text_section.
2004-03-10 19:21:39 +00:00
Ulrich Drepper
826bbef91e
(__old_wordexp): Add attribute_compat_text_section.
2004-03-10 19:21:18 +00:00
Ulrich Drepper
36727f22a1
(ADJTIME): Add attribute_compat_text_section.
2004-03-10 19:20:11 +00:00
Ulrich Drepper
15d7e9922c
(isgreater, isgreaterequal, isless, islessequal, islessgreater): Remove;
...
use default.
(isunordered): Convert inputs to double.
2004-03-10 05:58:46 +00:00
Ulrich Drepper
23386e2249
Don't define via builtins.
2004-03-10 05:58:17 +00:00
Richard Henderson
19fecb537f
* sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Fix typo
...
in name.
2004-03-08 12:34:18 +00:00
Ulrich Drepper
33ebb515d1
Use GLRO instead of GL where appropriate.
2004-03-07 08:38:42 +00:00
Richard Henderson
fb08891109
* 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.
2004-03-06 20:46:23 +00:00
Ulrich Drepper
a7c187d616
Use GLRO instead of GL where appropriate.
2004-03-06 08:06:01 +00:00
Ulrich Drepper
cebbd6e78d
Use GLRO instead of GL where appropriate.
2004-03-05 10:22:54 +00:00
Ulrich Drepper
f519f54950
posix_fadvise implementation.
2004-03-03 18:56:20 +00:00
Ulrich Drepper
5d2146a9e2
posix_fadvise64 implementation.
2004-03-03 18:56:03 +00:00
Ulrich Drepper
3bc82bb9b5
(posix_fadvise64): Remove.
2004-03-03 18:55:08 +00:00
Ulrich Drepper
e98a88227f
(feholdexcept): Fix order of fp status register loads.
2004-02-21 02:10:01 +00:00
Ulrich Drepper
45f79d6b6a
Alpha specific definition for ld.so.
2004-02-20 20:14:55 +00:00
Ulrich Drepper
f742623a42
(DL_ARGV_NOT_RELRO): Remove.
2004-02-20 20:14:00 +00:00
Ulrich Drepper
83eb9f210d
(DL_ARGV_NOT_RELRO): Define.
2004-02-20 05:41:20 +00:00
Richard Henderson
2de6922e31
* 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.
2004-01-23 21:08:08 +00:00
Ulrich Drepper
9efb40c836
Add readahead prototype.
2004-01-20 23:23:55 +00:00
Roland McGrath
def952dc40
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.
2004-01-17 01:38:55 +00:00
Richard Henderson
6092f9e018
* sysdeps/unix/alpha/sysdep.h: Revert last change.
2004-01-16 06:04:53 +00:00
Richard Henderson
7bd9f5453c
* sysdeps/unix/alpha/sysdep.h [PIC] (SYSCALL_ERROR_HANDLER): Use
...
!samegp relocation.
2004-01-16 06:02:52 +00:00
Richard Henderson
56a46fe4b9
* sysdeps/alpha/dl-machine.h (RTLD_START): Use _dl_argv_internal.
2004-01-16 05:59:42 +00:00
Richard Henderson
bbbfa1b98e
* 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.
2004-01-16 05:23:05 +00:00
Richard Henderson
4dbd216dc3
* 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.
2004-01-16 05:04:59 +00:00
Richard Henderson
83c784e84c
* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Prefix stubs with
...
__syscall_, move nop inside, adjust users by +4.
2004-01-16 04:59:55 +00:00
Richard Henderson
df6e7e29eb
* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typo.
2004-01-13 20:47:01 +00:00
Richard Henderson
b17d80b12f
* 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.
2004-01-13 09:36:22 +00:00
Richard Henderson
cfbf1a2f78
* 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.
2004-01-13 09:15:58 +00:00
Richard Henderson
9e42ca8f27
* 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.
2004-01-13 09:08:04 +00:00
Roland McGrath
b1c81c0040
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.
2004-01-06 10:31:07 +00:00
Andreas Schwab
646ae9f228
Avoid matching memory constraints.
2003-12-21 17:31:58 +00:00
Ulrich Drepper
e445ac3d49
Setjmp buffer unwinding helper code for Alpha.
2003-12-19 01:35:07 +00:00
Ulrich Drepper
46bf1d81a4
(__clone) [PIC]: Save PIC, reload PIC if we need to call __syscall_error,
...
cleanup asm.
2003-12-18 06:05:03 +00:00
Ulrich Drepper
c1f024c3e1
(fesetexceptflag): Set enable bits not raised exception bits.
2003-12-18 03:58:26 +00:00
Ulrich Drepper
2da72a511e
(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.
2003-12-18 03:58:09 +00:00
Ulrich Drepper
1bff455e8a
(feupdateenv): Read raised exception bits, OR with envp, pass to fesetenv.
2003-12-18 03:57:50 +00:00
Ulrich Drepper
c5cf6f4a3d
(fesetenv): Use asm 'ma,' completer, and gcc '+r' constraint.
2003-12-18 03:57:31 +00:00
Ulrich Drepper
4923dcf1bd
(feholdexcept): Use asm 'ma,' completer, and gcc '+r' constraint.
2003-12-18 03:57:14 +00:00
Ulrich Drepper
78f9fd6419
(fegetenv): use asm 'ma,' completer, and gcc '+r' constraint.
2003-12-18 03:56:50 +00:00
Ulrich Drepper
4db359168e
(feclearexcept): Right shift FE_ALL_EXCEPT before complimenting.
2003-12-18 03:56:15 +00:00
Ulrich Drepper
69751d3f42
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.
2003-12-18 03:53:47 +00:00
Ulrich Drepper
ba0b86d09f
(_dl_symbol_address): Use _dl_make_ftpr, remove const qualifier for map.
...
(_dl_function_address): Removed.
2003-12-18 03:53:22 +00:00
Ulrich Drepper
866956e5c3
Not needed anymore.
2003-12-18 03:53:02 +00:00
Ulrich Drepper
1294f72885
Configuration for hppa function descriptor handling.
2003-12-18 03:52:28 +00:00
Ulrich Drepper
dfc6dfb9a6
Add dl-symaddr and dl-fptr to the correct build strings.
2003-12-18 03:51:49 +00:00
Andreas Jaeger
c34667d768
Mark sqrt_data as used.
2003-12-10 05:45:29 +00:00
Ulrich Drepper
d9f0b23a78
(__fegetexceptflag): Add masking of fenv.
2003-12-06 07:16:41 +00:00
Andreas Schwab
fd1f2c4aab
(PSEUDO_ERRVAL)
...
(PSEUDO_END_ERRVAL, ret_ERRVAL): Define.
2003-11-30 16:44:48 +00:00
Ulrich Drepper
49096d939f
(LOAD_ARGS_0) (LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4)
...
(LOAD_ARGS_5, LOAD_ARGS_6): Add missing parentheses.
2003-11-03 17:18:38 +00:00
Roland McGrath
fb86edea20
2003-10-18 Carlos O'Donell <carlos@baldric.uwo.ca>
...
* sysdeps/unix/sysv/linux/hppa/sysdep.h: Fix merge error.
2003-10-22 07:09:31 +00:00