Commit Graph

3366 Commits

Author SHA1 Message Date
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
e3e4621ebc . 2004-08-16 09:21:38 +00:00
Roland McGrath
191601e310 2004-08-16 Roland McGrath <roland@frob.com>
* Makefile: New file.
2004-08-16 09:21:34 +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
Roland McGrath
717de822dc 2004-08-04 Roland McGrath <roland@frob.com>
New directory implementing glibc add-on infrastructure for
	ports maintained separate from the core glibc source tree.
	* README, configure.in, Makeconfig, Banner, ChangeLog: New files.
	* configure: New generated file.
2004-08-05 03:46:43 +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