Commit Graph

2802 Commits

Author SHA1 Message Date
Andreas Jaeger
d61bf26511 * sysdeps/i386/pt-machine.h: Add testandset and __compare_and_swap
prototpyes.
	* sysdeps/alpha/pt-machine.h: Likewise.
	* sysdeps/arm/pt-machine.h: Likewise.
	* sysdeps/cris/pt-machine.h: Likewise.
	* sysdeps/hppa/pt-machine.h: Likewise.
	* sysdeps/i386/i686/pt-machine.h: Likewise.
	* sysdeps/ia64/pt-machine.h: Likewise.
	* sysdeps/m68k/pt-machine.h: Likewise.
	* sysdeps/mips/pt-machine.h: Likewise.
	* sysdeps/powerpc/pt-machine.h: Likewise.
	* sysdeps/s390/s390-32/pt-machine.h: Likewise.
	* sysdeps/s390/s390-64/pt-machine.h: Likewise.
	* sysdeps/sh/pt-machine.h: Likewise.
	* sysdeps/sparc/sparc32/pt-machine.h: Likewise.
	* sysdeps/sparc/sparc64/pt-machine.h: Likewise.
	* sysdeps/x86_64/pt-machine.h: Likewise.

	* internals.h: Move testandset and __compare_and_swap prototypes
	to pt-machine.h.
2002-03-17 12:09:54 +00:00
Andreas Jaeger
f1cdba97f5 * sysdeps/mips/fpu/fraiseexcpt.c (__feraiseexcept): Set cause bits.
* sysdeps/mips/fpu/fgetexcptflg.c (__fegetexceptflag): Add comment.

	* sysdeps/mips/fpu/fclrexcpt.c (__feclearexcept): Clear also cause
	bits.

	* sysdeps/mips/fpu/fenv_libc.h (CAUSE_MASK): New.
	(CAUSE_SHIFT): New.
2002-03-17 12:07:44 +00:00
Ulrich Drepper
7862ef805b Dummy file fo rnot needed __clz_tab table. 2002-03-14 20:44:11 +00:00
Ulrich Drepper
15a7702daa (__libc_multiple_libcs): Define as hidden. 2002-03-13 03:49:52 +00:00
Ulrich Drepper
48e6095f0e Define __libc_argc and __libc_argv as hidden. 2002-03-12 21:37:08 +00:00
Andreas Jaeger
b5f72d715e Added initialization of GP (to _gp) if compiled non-PIC. 2002-03-02 13:14:40 +00:00
Ulrich Drepper
ceb7d0bbbe Use rtld_progrname instead of _dl_argv[0]. 2002-03-01 09:43:36 +00:00
Ulrich Drepper
dca9c7304b Add HAVE_VISIBILITY_ATTRIBUTE and HAVE_SDATA_SECTION. 2002-02-28 22:36:33 +00:00
Ulrich Drepper
23f357ebe1 (sysdep_routines): Add divdi3 in csu dir.
(shared-only-routines): Likewise.
2002-02-28 19:37:12 +00:00
Ulrich Drepper
88706a4c84 (elf_machine_load_address, RTLD_START): Work around an Alpha gas bug. 2002-02-27 18:10:53 +00:00
Ulrich Drepper
53ea1a569e Call _dl_non_dynamic_init for !SHARED. 2002-02-24 08:33:08 +00:00
Ulrich Drepper
1bb0396702 Call __init_misc in addition to __libc_init. 2002-02-23 08:45:12 +00:00
Andreas Jaeger
c8523a3c74 Update MCOUNT for current GCC behavior. 2002-02-11 10:23:36 +00:00
Ulrich Drepper
64e7a2bf11 Use \n\ for multiline string. 2002-02-09 01:58:16 +00:00
Andreas Jaeger
4bf39226fa * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Use
__attribute_used__.
	(__dl_runtime_resolve): Likewise.

	* sysdeps/mips/machine-gmon.h (_MCOUNT_DECL): Make it a real
	declaration.
2002-02-08 18:56:57 +00:00
Andreas Jaeger
b16fd2b050 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Don't include
<signal.h>, <sys/ucontext.h> nor <asm/elf.h>. Updated for gdb.

	* sysdeps/unix/sysv/linux/mips/sys/user.h: New.
2002-02-08 16:21:00 +00:00
Andreas Jaeger
c149ac8f45 * sysdeps/mips/atomicity.h (compare_and_swap): Remove
".set noreorder".
	* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set):
	Likewise.
2002-02-08 16:15:32 +00:00
Andreas Jaeger
6d1e7ba623 Do not use branch likely. 2002-02-07 10:39:06 +00:00
Andreas Jaeger
9ff2687616 Make sure the right <ldsodefs.h> is included. 2002-02-06 22:48:35 +00:00
Ulrich Drepper
d7d16bb3ea (_test_and_set): Use branch likely. 2002-02-03 02:25:17 +00:00
Ulrich Drepper
f295ff3212 (exchange_and_add): Use branch likely.
(atomic_add): Likewise.
(compare_and_swap): Return 0 only when failed to compare. Use branch likely.
2002-02-03 02:24:53 +00:00
Ulrich Drepper
c577723005 (RTLD_START): Call _dl_init_internal instead of _dl_init. 2002-02-03 00:29:15 +00:00
Ulrich Drepper
ae6cfd8bc1 Move all symbols to GLIBC_PRIVATE. 2002-02-01 23:14:50 +00:00
Ulrich Drepper
a242df8440 Remove dl-procinfo.c. 2002-02-01 19:11:08 +00:00
Ulrich Drepper
8badabd849 _dl_fpu_control, _dl_fpu_control_set): Remove unused externs. 2002-02-01 19:03:37 +00:00
Andreas Schwab
d09d6903ed Don't use multi-line string literals. 2002-02-01 10:28:20 +00:00
Ulrich Drepper
8bd56b60c4 Move _dl_hp_timing_overhead and procinfo-related variables in
rtld_global struct.
2002-02-01 07:48:43 +00:00
Ulrich Drepper
f71d7f5726 Move global variables for SHARED code in struct _rtld_global. Export
this struct, remove all exports for the signal variables.
2002-02-01 01:32:06 +00:00
Ulrich Drepper
6fbd2f3d0c (pic-ccflag): New variable. 2002-01-29 03:53:32 +00:00
Ulrich Drepper
872cf89f66 (ELF_MACHINE_BEFORE_RTLD_RELOC): Don't use label at end of compound statement. 2002-01-29 02:58:00 +00:00
Ulrich Drepper
6f68ec79d2 Avoid warning about comma at end of enum for !_GNU_SOURCE. 2002-01-18 23:37:53 +00:00
Ulrich Drepper
046f02be6f (__dl_runtime_resolve): Remove const' from got'. 2002-01-17 23:21:33 +00:00
Ulrich Drepper
18328fa8da (__ieee754_sqrt): Don't use multi-line string literals.
(__full_ieee754_sqrt): Add __attribute_used__.
2002-01-11 01:03:15 +00:00
Ulrich Drepper
51e7253b84 Add sysv_termio.h and start-libc.c. 2002-01-08 21:54:58 +00:00
Andreas Jaeger
5374babef3 Prevent double inclusion. 2002-01-08 10:19:33 +00:00
Ulrich Drepper
3c2105f0b0 Define _G_MMAP64. 2002-01-07 09:18:53 +00:00
Roland McGrath
ca439e9a54 2002-01-02 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/i386/bits/sigcontext.h: Protect from
	multiple inclusion.  Inhibit #error under [_SYS_UCONTEXT_H].
	* sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
	* sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
	* sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
	* sysdeps/mach/hurd/powerpc/bits/sigcontext.h: Likewise.
2002-01-02 09:52:27 +00:00
Ulrich Drepper
0a6fc182da (elf_machine_runtime_setup): Avoid warning.
(TRAMPOLINE_TEMPLATE, RTLD_START): Don't use multi-line string
literals to avoid warnings.
2001-12-31 17:33:59 +00:00
Andreas Jaeger
b6845b6741 (elf_machine_rela): Fix typo in last patch. 2001-12-12 09:02:09 +00:00
Ulrich Drepper
bcb5a520da (elf_machine_runtime_setup): Save original content of .got[1].
(ELF_MACHINE_NO_RELA): Only define if RTLD_BOOTSTRAP.
(ELF_MACHINE_PLT_REL): Define.
(elf_machine_rela, elf_machine_rela_relative): New.
(elf_machine_lazy_rel): Reinitialize R_ARM_JUMP_SLOT address instead
of adjusting it if prelinked and prelinking cannot be used.
2001-12-12 00:11:47 +00:00
Ulrich Drepper
ef5f0af552 Arm specific additions to struct link. 2001-12-12 00:11:15 +00:00
Ulrich Drepper
d70bbfe3be (elf_machine_runtime_setup): Reinitialize
.plt for prelinked libraries where prelinking info cannot be used.
(elf_machine_rela): If relocating R_ALPHA_JMP_SLOT in .gnu.conflict
section, use RESOLVE_CONFLICT_FIND_MAP to find out reloc's link_map.
2001-12-12 00:10:27 +00:00
Andreas Jaeger
90a0de032a Remove __brk_addr alias, avoid warning. 2001-11-26 08:37:35 +00:00
Ulrich Drepper
decdce5e7c (sysdep-routines): Add framestate. 2001-11-16 01:24:04 +00:00
Ulrich Drepper
9bfdd6609c (__register_frame_info, __deregister_frame_info): Move to elf/Versions. 2001-11-16 01:22:33 +00:00
Ulrich Drepper
816763d76a GCC frame description for VAX. 2001-11-16 01:14:52 +00:00
Ulrich Drepper
532e4e4b65 GCC frame description for MIPS. 2001-11-16 01:12:04 +00:00
Ulrich Drepper
03012549bd GCC frame description for m68k. 2001-11-16 01:11:16 +00:00
Ulrich Drepper
b72b3cc5af GCC frame description for PA. 2001-11-16 01:07:57 +00:00
Ulrich Drepper
ee448304d6 GCC frame description for Arm. 2001-11-16 01:07:20 +00:00