Commit Graph

3577 Commits

Author SHA1 Message Date
Roland McGrath 47f0752a48 2004-11-18 Daniel Jacobowitz <dan@codesourcery.com>
* sysdeps/arm/sysdep.h: Define __USE_BX__ if bx is available.
	Use it instead of __THUMB_INTERWORK__.  Make RETINSTR take
	only a condition and a register.
	* sysdeps/arm/dl-machine.h: Use __USE_BX__ instead of
	__THUMB_INTERWORK__.
	(_dl_start_user): Use BX.
	* sysdeps/arm/strlen.S: Use DO_RET.
	* sysdeps/unix/arm/brk.S, sysdeps/unix/arm/fork.S,
	sysdeps/unix/arm/sysdep.S, sysdeps/unix/arm/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/arm/clone.S,
	sysdeps/unix/sysv/linux/arm/mmap.S,
	sysdeps/unix/sysv/linux/arm/mmap64.S,
	sysdeps/unix/sysv/linux/arm/socket.S,
	sysdeps/unix/sysv/linux/arm/sysdep.h,
	sysdeps/unix/sysv/linux/arm/vfork.S: Update uses of RETINSTR.
2004-12-04 21:20:17 +00:00
Ulrich Drepper f0b94226b1 Include sgidefs.h only if NO_SGIDEFS_H isn't defined. Don't include
sgidefs.h twice.
2004-11-27 20:01:03 +00:00
Andreas Jaeger 232e0cb8d6 Regenerate. 2004-11-24 04:42:45 +00:00
Andreas Jaeger ae9e3809f9 Use _ABIO32, _ABIN32 and _ABI64 for ABI selection in generated asm-unistd.h. 2004-11-24 04:38:31 +00:00
Andreas Jaeger 8de3c5f1fe Use _ABIO32, _ABIN32 and _ABI64 for ABI selection in generated syscall-list.h 2004-11-24 04:38:15 +00:00
Andreas Jaeger 9b7b62e64d Prevent <asm/sgidefs.h> from being
included by kernel headers and undo its settings if already
	included.  Define _ABIO32, _ABIN32 and _ABI64 if missing and use
	them to define _MIPS_SIM_ABI32, _MIPS_SIM_NABI32 and
	_MIPS_SIM_ABI64 for compatibility.
2004-11-24 04:37:58 +00:00
Andreas Jaeger 73a227e200 Use _ABIO32, _ABIN32 and _ABI64 for ABI selection throughout. 2004-11-24 04:37:35 +00:00
Andreas Jaeger b8ddf7a11f Include <sgidefs.h>. Use _ABIO32, _ABIN32 and _ABI64 for ABI selection
throughout.
2004-11-24 04:36:11 +00:00
Andreas Jaeger 56eb7d3add * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (__SI_MAX_SIZE):
Define appropriately based on __WORDSIZE.
	[struct siginfo] (__pad0): Add for explicit padding.

	* sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Formatting fixes
	throughout.
2004-11-22 12:47:50 +00:00
Ulrich Drepper 8608e6698d (TRAMPOLINE_TEMPLATE): Add unwind annotations. 2004-11-19 00:01:25 +00:00
Ulrich Drepper 6deb629a54 Remove sys/syscall.h, sys/types.h, linux/posix_types.h, sysdep.h and
pthread-functions.h includes.  Include setxid.h.  Use
INLINE_SETXID_SYSCALL macro instead of INLINE_SYSCALL, kill the
HAVE_PTR__NPTL_SETXID guarded snippets.
2004-11-12 01:15:06 +00:00
Richard Henderson 463402af3a * sysdeps/unix/sysv/linux/alpha/register-dump.h (regnames): Align.
(linefeed): Remove.
        (register_dump): Rewrite to generate into a flat buffer instead
        of into iovecs.
2004-11-04 18:39:10 +00:00
Richard Henderson 8cc7e0507d * sysdeps/unix/sysv/linux/alpha/setregid.c: New file.
* sysdeps/unix/sysv/linux/alpha/setresgid.c: New file.
        * sysdeps/unix/sysv/linux/alpha/setresuid.c: New file.
        * sysdeps/unix/sysv/linux/alpha/setreuid.c: New file.
2004-11-01 05:31:54 +00:00
Andreas Schwab 7618b354bf (elf_machine_rela)
(elf_machine_rela_relative, elf_machine_lazy_rel): Mark auto
instead of static.
2004-10-30 21:44:13 +00:00
Roland McGrath 1b4558c1c5 2004-10-25 Roland McGrath <roland@frob.com>
* configure.in (ASM_LINE_SEP): Move this setting to ...
	* sysdeps/hppa/configure.in: ... here, new file.
	* sysdeps/hppa/configure: New generated file.
	* configure: Regenerated.
2004-10-26 01:35:53 +00:00
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
Ulrich Drepper f19a935e1b 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.
2003-10-15 05:46:00 +00:00
Ulrich Drepper 5420f85dbe (syscall): Cleanup asm statment. 2003-10-15 05:45:16 +00:00
Ulrich Drepper aca984867e Undef JUMPTARGET before use. 2003-10-15 05:31:42 +00:00
Roland McGrath 6f12dcc7b8 2003-10-10 Carlos O'Donell <carlos@baldric.uwo.ca>
* sysdeps/hppa/Makefile (CFLAGS-malloc.c): Variable removed.
2003-10-11 01:28:59 +00:00
Roland McGrath 66a1dc8705 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.
2003-10-01 06:59:40 +00:00
Ulrich Drepper 3d87932d45 Define PROT_GROWSDOWN and PROT_GROWSUP. 2003-09-25 16:42:43 +00:00
Ulrich Drepper b82390a8da (RTLD_START): Remove setting of __libc_stack_end. 2003-09-24 21:08:31 +00:00
Ulrich Drepper aec9c3ef29 Not needed anymore. 2003-09-24 05:36:39 +00:00
Ulrich Drepper de251c974b [GLIBC_2.2]: Add __clz_tab. 2003-09-24 03:14:27 +00:00
Ulrich Drepper e62e873e95 Add libgcc-compat.c. 2003-09-24 03:14:14 +00:00
Ulrich Drepper 131d66906b libgcc compatibility code. 2003-09-24 03:13:56 +00:00
Ulrich Drepper f32742b088 Include compat code in build. 2003-09-24 03:13:28 +00:00
Ulrich Drepper 011f9a85d2 Add #error if __NR_vfork required but not defined.
Improve test of error code.
2003-09-17 18:09:53 +00:00
Ulrich Drepper 644d82249f (DO_RET): New. 2003-09-17 18:09:36 +00:00
Ulrich Drepper 12a15026b8 (CALL_ROUTINE): Deleted.
(BX): Define.
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Optimise a little.
2003-09-17 18:09:25 +00:00
Ulrich Drepper 170880ee26 Branch to fork if libpthread is loaded. Elide backwards compatibility code
when not required.
2003-09-17 18:07:04 +00:00
Roland McGrath 5abcf86949 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.
2003-09-17 02:47:48 +00:00
Andreas Schwab 3dc8a4b254 Add hidden_def. 2003-09-15 08:43:12 +00:00
Ulrich Drepper 60f4eece70 Optimise code a little. 2003-09-14 19:54:53 +00:00
Ulrich Drepper 2c65912458 Use sys_mmap2 if it's known to be available. 2003-09-14 19:54:40 +00:00
Ulrich Drepper 7e7d334885 Rewrite. 2003-09-14 19:53:42 +00:00
Roland McGrath 8525f64d52 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.
2003-09-10 23:38:52 +00:00
Roland McGrath 855bf8c1df 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.
2003-09-09 20:10:22 +00:00
Roland McGrath aa38a5c081 2003-09-09 Chris Demetriou <cgd@broadcom.com>
* sysdeps/unix/mips/sysdep.h (PSEUDO_END): Undef before defining.
2003-09-09 19:21:51 +00:00
Roland McGrath ad8d610d5c 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.
2003-09-09 07:00:21 +00:00
Roland McGrath 25c0b916b6 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.
2003-09-09 06:44:48 +00:00
Ulrich Drepper ea72a68d42 Change type of pthread_t to be compatible with LT. 2003-09-08 23:56:13 +00:00
Ulrich Drepper 49d7842ab5 Remove unused __syscall_* prototypes. 2003-09-03 03:21:27 +00:00
Ulrich Drepper 679ee4e361 (sysdep_routines): Remove rt_*. 2003-09-03 03:16:54 +00:00
Ulrich Drepper b3c37d6c95 (__syscall_*): Remove unused __syscall_ stubs. 2003-09-03 03:16:40 +00:00
Ulrich Drepper df9cbb61e3 (__syscall_recvfrom, __syscall_sendto): Remove unused aliases. 2003-09-03 03:16:25 +00:00
Ulrich Drepper b89b553b54 Not needed anymore. 2003-09-03 03:15:51 +00:00
Ulrich Drepper dc7f67a8e8 (__syscall_rt_sigaction): New prototype. 2003-09-03 03:15:08 +00:00
Ulrich Drepper 0e4d3d9dbd (sysdep_routines): Remove rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
rt_sigqueueinfo and rt_sigpending.
2003-09-03 03:14:43 +00:00
Ulrich Drepper d87ab9bc12 Additional versions for Linux/Alpha. 2003-09-03 03:10:25 +00:00
Ulrich Drepper 82019706cf POSIX limits for Linux/Alpha. 2003-09-03 03:10:01 +00:00
Jakub Jelinek c6df9debb1 New file. 2003-09-01 21:38:14 +00:00
Ulrich Drepper 8ff5cf2c6f Add posix_fadvise64 and posix_fallocate64 at GLIBC_2.3.3. 2003-08-31 18:13:35 +00:00
Ulrich Drepper 62810a52b5 Add semtimedop. 2003-08-30 00:23:14 +00:00
Ulrich Drepper ae53e7a785 (PSEUDO_ERRVAL): Define.
(PSEUDO_END_ERRVAL, ret_ERRVAL): Likewise.
2003-08-25 18:30:43 +00:00
Ulrich Drepper a6df4fa6a2 (posix_fadvise64): Add V flag. 2003-08-17 00:34:12 +00:00
Ulrich Drepper 724bab37c1 (PSEUDO_ERRVAL, PSEUDO_RET_ERRVAL, ret_ERRVAL, PSEUDO_END_ERRVAL): Define. 2003-08-17 00:33:13 +00:00
Ulrich Drepper f98259f8e3 Don't add new posix_fadvise64_64 syscall. 2003-08-16 08:06:54 +00:00
Ulrich Drepper a4164f54c6 Define posix_fadvise64_64 entry. Add version info to posix_fadvise64 entry. 2003-08-16 06:18:46 +00:00
Ulrich Drepper 0be7f50d10 AIX posix_madvise implementation. 2003-08-16 06:13:49 +00:00
Ulrich Drepper 591ef241f8 (__SSIZE_T_TYPE): Define. 2003-07-31 19:34:16 +00:00
Ulrich Drepper ab69220d3c (PT_EI): Add __attribute__((always_inline)). 2003-07-31 19:15:42 +00:00
Alexandre Oliva 5027ae109a * elf/dynamic-link.h (elf_machine_rel, elf_machine_rela,
elf_machine_rel_relative, elf_machine_rela_relative): Don't assume
reloc_addr is aligned.
* sysdeps/alpha/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rela,
elf_machine_rel_relative, elf_machine_rela_relative): Adjust.
* sysdeps/cris/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/hppa/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela,
elf_machine_rel_relative, elf_machine_rela_relative): Adjust.
* sysdeps/ia64/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/m68k/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/mips/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/powerpc/powerpc64/dl-machine.h
(elf_machine_rela_relative, elf_machine_rela): Adjust.
* sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative):
* sysdeps/sh/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/x86_64/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
2003-07-31 06:33:52 +00:00
Ulrich Drepper 775a8c02e1 Header with a.out binary format definitions. 2003-07-25 09:04:57 +00:00
Ulrich Drepper ff46117d2f (PROCINFO_CLASS): Define if not yet defined. Use it instead of EXTERN.
Undefine at the end of the file.
2003-07-22 22:07:18 +00:00
Andreas Jaeger f8d826fc85 2003-07-16 Daniel Jacobowitz <drow@mvista.com>
Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/mips/bits/shm.h (SHMLBA): Define to
	256K, remove unneeded declaration of __getpagesize.
2003-07-16 07:39:07 +00:00
Ulrich Drepper 85d3b8cbf5 (_STATFS_F_FRSIZE): Define. 2003-07-12 19:30:54 +00:00
Ulrich Drepper 4bdf10e334 Remove CLFAGS-.oS addition. 2003-07-10 09:22:13 +00:00
Ulrich Drepper dc7d6605c8 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): On
success return actual return value from the syscall, not 0.
2003-07-08 03:42:27 +00:00
Ulrich Drepper 16fc430a76 Avoid .ent/.end. 2003-07-08 03:41:53 +00:00
Richard Henderson ee13e79fc8 * sysdeps/alpha/elf/initfini.c: Avoid .ent/.end.
* sysdeps/alpha/elf/pt-initfini.c: Avoid .ent/.end.
2003-07-05 22:56:39 +00:00
Ulrich Drepper 5400aba699 Asm macros for definition of cancelable syscall wrappers for nptl on Alpha. 2003-07-01 20:22:49 +00:00
Ulrich Drepper 22c9b5efb9 sem_post implementation for nptl on Alpha. 2003-07-01 20:22:23 +00:00
Ulrich Drepper 3b47913dc8 pthread_once implementation for nptl on Alpha. 2003-07-01 20:22:10 +00:00
Ulrich Drepper a06fb001ba vfork implementation for nptl on Alpha. 2003-07-01 20:21:45 +00:00
Ulrich Drepper 92f7ea1cbc Low level lock definitions for nptl on Alpha. 2003-07-01 20:21:32 +00:00
Ulrich Drepper f34839aa4d Alpha specific fork in nptl on Alpha. 2003-07-01 20:20:57 +00:00
Ulrich Drepper 877333746e Alpha specific nptl code to start thread. 2003-07-01 20:20:36 +00:00
Ulrich Drepper 707cd6ca79 Public semaphore type definitions for Alpha. 2003-07-01 20:20:19 +00:00
Ulrich Drepper 77e4ae304e Public type definitions for nptl on Alpha. 2003-07-01 20:20:04 +00:00
Ulrich Drepper 10578c2ed3 Makefile for nptl on Alpha. 2003-07-01 20:19:46 +00:00
Ulrich Drepper 690359671c TLS access definitions for Alpha. 2003-07-01 19:25:45 +00:00
Ulrich Drepper cb9d4969c9 libthread_db interface to map LWP ID to thread for Alpha. 2003-07-01 19:25:32 +00:00
Ulrich Drepper c1b42f8052 General definition for libpthread on Alpha. 2003-07-01 19:25:02 +00:00
Ulrich Drepper 29da0ceb72 Spinlock trylock implementation for Alpha. 2003-07-01 19:24:47 +00:00
Ulrich Drepper 81b6201ae0 Spinlock implementation for Alpha. 2003-07-01 19:24:33 +00:00
Ulrich Drepper bba28b0ec0 Initialization code for libpthread on Alpha. 2003-07-01 19:23:36 +00:00
Richard Henderson 4feb1bb5b6 * sysdeps/unix/sysv/linux/alpha/clone.S: Load child_tid properly. 2003-06-30 23:21:49 +00:00
Richard Henderson b7978e8d84 * sysdeps/alpha/bits/atomic.h (__arch_compare_and_exchange_bool_*_int):
Invert the sense of the return value.
        (__arch_exchange_16_int): Fix paste-o.
        (__arch_exchange_{32,64}_int): Fix think-o.
2003-06-30 23:21:38 +00:00
Andreas Jaeger b8ba6f0633 2003-06-17 Guido Guenther <agx@sigxcpu.org>
* sysdeps/unix/sysv/linux/mips/xstatconv.c: Handle STAT_IS_KERNEL_STAT
	case.
	(xstat_conv): Rename to __xstat_conv and remove static inline.
	(xstat64_conv): Likewise.
2003-06-30 09:33:13 +00:00
Roland McGrath 00dedb1574 2003-06-27 Jeroen Dekkers <jeroen@dekkers.cx>
* sysdeps/mach/hurd/alpha/init-first.c: Remove call to __libc_init.
	* sysdeps/mach/hurd/i386/init-first.c: Likewise.
	* sysdeps/mach/hurd/mips/init-first.c: Likewise.
	* sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
2003-06-27 20:58:22 +00:00
Ulrich Drepper 66f558e194 Define _STATBUF_ST_NSEC. 2003-06-26 17:00:37 +00:00
Andreas Schwab fbdd196b52 * sysdeps/m68k/fpu/bits/mathinline.h: Don't inline frexp.
* sysdeps/m68k/fpu/s_frexp.c: Put implementation here.
	* sysdeps/m68k/fpu/s_frexpl.c: Fix to handle unnormalized numbers.
2003-06-26 16:18:13 +00:00
Ulrich Drepper fba1515d24 (INLINE_SYSCALL): Cast result to long int. 2003-06-25 08:18:08 +00:00
Ulrich Drepper 50b45ef61c ld.so cache deifnitions for mips. 2003-06-25 08:03:24 +00:00
Ulrich Drepper e31adc6532 (struct statfs): Add f_frsize field.
(struct statfs64): Likewise.
2003-06-24 17:13:44 +00:00
Richard Henderson adaab7298a * sysdeps/alpha/bits/atomic.h: New file. 2003-06-24 17:03:59 +00:00
Richard Henderson 1fbb61a95d * sysdeps/unix/sysv/linux/alpha/clone.S: Use HIDDEN_JUMPTARGET.
* sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Use
        libc_hidden_def.
        * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Use libc_hidden_proto
        on them.
2003-06-24 16:38:45 +00:00
Richard Henderson 981e63c822 * sysdeps/alpha/fpu/bits/mathinline.h: Honor
__LIBC_INTERNAL_MATH_INLINES.  Implement __signbitf, __signbit.
2003-06-24 16:33:49 +00:00
Richard Henderson 1bb08f1582 * sysdeps/alpha/setjmp.S (_setjmp, setjmp): Mark .prologue. 2003-06-24 16:29:21 +00:00