Commit Graph

3340 Commits

Author SHA1 Message Date
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
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