Andreas Jaeger [Fri, 8 Feb 2002 18:56:57 +0000 (18:56 +0000)]
* 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.
Andreas Jaeger [Fri, 8 Feb 2002 16:21:00 +0000 (16:21 +0000)]
* 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.
Andreas Jaeger [Fri, 8 Feb 2002 16:15:32 +0000 (16:15 +0000)]
* sysdeps/mips/atomicity.h (compare_and_swap): Remove
".set noreorder".
* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set):
Likewise.
Andreas Jaeger [Thu, 7 Feb 2002 10:39:06 +0000 (10:39 +0000)]
Do not use branch likely.
Andreas Jaeger [Wed, 6 Feb 2002 22:48:35 +0000 (22:48 +0000)]
Make sure the right <ldsodefs.h> is included.
Ulrich Drepper [Sun, 3 Feb 2002 02:25:17 +0000 (02:25 +0000)]
(_test_and_set): Use branch likely.
Ulrich Drepper [Sun, 3 Feb 2002 02:24:53 +0000 (02:24 +0000)]
(exchange_and_add): Use branch likely.
(atomic_add): Likewise.
(compare_and_swap): Return 0 only when failed to compare. Use branch likely.
Ulrich Drepper [Sun, 3 Feb 2002 00:29:15 +0000 (00:29 +0000)]
(RTLD_START): Call _dl_init_internal instead of _dl_init.
Ulrich Drepper [Fri, 1 Feb 2002 23:14:50 +0000 (23:14 +0000)]
Move all symbols to GLIBC_PRIVATE.
Ulrich Drepper [Fri, 1 Feb 2002 19:11:08 +0000 (19:11 +0000)]
Remove dl-procinfo.c.
Ulrich Drepper [Fri, 1 Feb 2002 19:03:37 +0000 (19:03 +0000)]
_dl_fpu_control, _dl_fpu_control_set): Remove unused externs.
Andreas Schwab [Fri, 1 Feb 2002 10:28:20 +0000 (10:28 +0000)]
Don't use multi-line string literals.
Ulrich Drepper [Fri, 1 Feb 2002 07:48:43 +0000 (07:48 +0000)]
Move _dl_hp_timing_overhead and procinfo-related variables in
rtld_global struct.
Ulrich Drepper [Fri, 1 Feb 2002 01:32:06 +0000 (01:32 +0000)]
Move global variables for SHARED code in struct _rtld_global. Export
this struct, remove all exports for the signal variables.
Ulrich Drepper [Tue, 29 Jan 2002 03:53:32 +0000 (03:53 +0000)]
(pic-ccflag): New variable.
Ulrich Drepper [Tue, 29 Jan 2002 02:58:00 +0000 (02:58 +0000)]
(ELF_MACHINE_BEFORE_RTLD_RELOC): Don't use label at end of compound statement.
Ulrich Drepper [Fri, 18 Jan 2002 23:37:53 +0000 (23:37 +0000)]
Avoid warning about comma at end of enum for !_GNU_SOURCE.
Ulrich Drepper [Thu, 17 Jan 2002 23:21:33 +0000 (23:21 +0000)]
(__dl_runtime_resolve): Remove `const' from `got'.
Ulrich Drepper [Fri, 11 Jan 2002 01:03:15 +0000 (01:03 +0000)]
(__ieee754_sqrt): Don't use multi-line string literals.
(__full_ieee754_sqrt): Add __attribute_used__.
Ulrich Drepper [Tue, 8 Jan 2002 21:54:58 +0000 (21:54 +0000)]
Add sysv_termio.h and start-libc.c.
Andreas Jaeger [Tue, 8 Jan 2002 10:19:33 +0000 (10:19 +0000)]
Prevent double inclusion.
Ulrich Drepper [Mon, 7 Jan 2002 09:18:53 +0000 (09:18 +0000)]
Define _G_MMAP64.
Roland McGrath [Wed, 2 Jan 2002 09:52:27 +0000 (09:52 +0000)]
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.
Ulrich Drepper [Mon, 31 Dec 2001 17:33:59 +0000 (17:33 +0000)]
(elf_machine_runtime_setup): Avoid warning.
(TRAMPOLINE_TEMPLATE, RTLD_START): Don't use multi-line string
literals to avoid warnings.
Andreas Jaeger [Wed, 12 Dec 2001 09:02:09 +0000 (09:02 +0000)]
(elf_machine_rela): Fix typo in last patch.
Ulrich Drepper [Wed, 12 Dec 2001 00:11:47 +0000 (00:11 +0000)]
(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.
Ulrich Drepper [Wed, 12 Dec 2001 00:11:15 +0000 (00:11 +0000)]
Arm specific additions to struct link.
Ulrich Drepper [Wed, 12 Dec 2001 00:10:27 +0000 (00:10 +0000)]
(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.
Andreas Jaeger [Mon, 26 Nov 2001 08:37:35 +0000 (08:37 +0000)]
Remove __brk_addr alias, avoid warning.
Ulrich Drepper [Fri, 16 Nov 2001 01:24:04 +0000 (01:24 +0000)]
(sysdep-routines): Add framestate.
Ulrich Drepper [Fri, 16 Nov 2001 01:22:33 +0000 (01:22 +0000)]
(__register_frame_info, __deregister_frame_info): Move to elf/Versions.
Ulrich Drepper [Fri, 16 Nov 2001 01:14:52 +0000 (01:14 +0000)]
GCC frame description for VAX.
Ulrich Drepper [Fri, 16 Nov 2001 01:12:04 +0000 (01:12 +0000)]
GCC frame description for MIPS.
Ulrich Drepper [Fri, 16 Nov 2001 01:11:16 +0000 (01:11 +0000)]
GCC frame description for m68k.
Ulrich Drepper [Fri, 16 Nov 2001 01:07:57 +0000 (01:07 +0000)]
GCC frame description for PA.
Ulrich Drepper [Fri, 16 Nov 2001 01:07:20 +0000 (01:07 +0000)]
GCC frame description for Arm.
Ulrich Drepper [Fri, 16 Nov 2001 01:06:40 +0000 (01:06 +0000)]
GCC frame description for Alpha.
Andreas Schwab [Fri, 9 Nov 2001 19:57:55 +0000 (19:57 +0000)]
New file to fix RLIM_INFINITY.
Ulrich Drepper [Sat, 27 Oct 2001 00:03:32 +0000 (00:03 +0000)]
(DL_CALL_FCT): Cast to void *.
Use __BEGIN_DECLS/__END_DECLS around prototypes.
Andreas Schwab [Tue, 16 Oct 2001 20:21:38 +0000 (20:21 +0000)]
Updated for fixed cbrtl implementation.
Andreas Schwab [Tue, 16 Oct 2001 15:31:18 +0000 (15:31 +0000)]
Fix braino in last change.
Andreas Schwab [Tue, 16 Oct 2001 14:20:17 +0000 (14:20 +0000)]
* sysdeps/m68k/setjmp.c: Also define setjmp and _setjmp if
BSD_SETJMP or BSD__SETJMP is defined, resp.
* sysdeps/m68k/bsd-setjmp.c: Inline setjmp code instead of making
a tail call to __sigsetjmp that would require extending the
caller's frame.
* sysdeps/m68k/bsd-_setjmp.c: Likewise.
* sysdeps/m68k/bsd-setjmp.S: Deleted.
* sysdeps/m68k/bsd-_setjmp.S: Deleted.
Andreas Jaeger [Mon, 15 Oct 2001 11:56:11 +0000 (11:56 +0000)]
Make sysmips() prototype a varargs prototype. Remove dependency from kernel header files.
Andreas Jaeger [Mon, 15 Oct 2001 11:55:20 +0000 (11:55 +0000)]
General cleanup, use __USE_MISC / __USE_XOPEN not __USE_BSD where appropriate.
Ulrich Drepper [Wed, 26 Sep 2001 05:23:10 +0000 (05:23 +0000)]
(struct cmsghdr): Don't declare __cmsg_data field if its size would be bigger
than 0.
(CMSG_DATA): Adjust accordingly.
Ulrich Drepper [Sat, 22 Sep 2001 21:32:57 +0000 (21:32 +0000)]
(elf_machine_load_address): Compute the difference between base address and
first PT_LOAD's virtual address, not the base address.
Ulrich Drepper [Sat, 22 Sep 2001 21:28:25 +0000 (21:28 +0000)]
Add real implementation.
Ulrich Drepper [Sat, 22 Sep 2001 21:19:47 +0000 (21:19 +0000)]
(init): Use USE_NONONPTION_FLAG ifdef for __getopt_clean_environment.
Ulrich Drepper [Sat, 15 Sep 2001 03:01:21 +0000 (03:01 +0000)]
Updated.
Ulrich Drepper [Sat, 8 Sep 2001 21:31:40 +0000 (21:31 +0000)]
(elf_machine_rel): Fix thinko in usage of RESOLVE() (r_type, not
reloc->r_type).
Ulrich Drepper [Sat, 8 Sep 2001 17:45:10 +0000 (17:45 +0000)]
termio definitions for AIX.
Ulrich Drepper [Sat, 8 Sep 2001 17:44:33 +0000 (17:44 +0000)]
Library startup code for AIX.
Ulrich Drepper [Sat, 8 Sep 2001 17:41:25 +0000 (17:41 +0000)]
Program startup code for AIX.
Ulrich Drepper [Sat, 8 Sep 2001 17:40:41 +0000 (17:40 +0000)]
Alias __libc_fcntl to __fcntl.
Ulrich Drepper [Sat, 8 Sep 2001 17:24:19 +0000 (17:24 +0000)]
Startup code for glibc on AIX.
Ulrich Drepper [Sat, 8 Sep 2001 17:23:45 +0000 (17:23 +0000)]
Not needed anymore.
Ulrich Drepper [Sat, 8 Sep 2001 17:22:27 +0000 (17:22 +0000)]
(aix-syscalls.o): More linker command line options.
Ulrich Drepper [Sat, 8 Sep 2001 17:16:44 +0000 (17:16 +0000)]
Fix usage of new _dl_signal_error() format.
Ulrich Drepper [Sat, 8 Sep 2001 17:13:52 +0000 (17:13 +0000)]
Forward declare struct link_map.
Ulrich Drepper [Wed, 5 Sep 2001 00:08:11 +0000 (00:08 +0000)]
Include <errno.h>.
(__syscall_gethostname): Add prototype.
Ulrich Drepper [Mon, 3 Sep 2001 17:10:56 +0000 (17:10 +0000)]
gethostname implementation for Linux/Alpha.
Ulrich Drepper [Sat, 1 Sep 2001 19:24:46 +0000 (19:24 +0000)]
Startup code for Alpha/ELF.
Ulrich Drepper [Sat, 1 Sep 2001 19:23:47 +0000 (19:23 +0000)]
Not needed anymore.
Ulrich Drepper [Sat, 1 Sep 2001 06:08:44 +0000 (06:08 +0000)]
Support for high-precision timers on Alpha.
Ulrich Drepper [Sat, 1 Sep 2001 05:32:08 +0000 (05:32 +0000)]
(elf_machine_rela): Remove unused code.
Don't add old memory content for R_ALPHA_REFQUAD.
Ulrich Drepper [Thu, 30 Aug 2001 23:09:10 +0000 (23:09 +0000)]
(elf_machine_rela): Don't handle
R_ALPHA_RELATIVE if RTLD_BOOTSTRAP and HAVE_Z_COMBRELOC. Only
check for rtld map if RTLD_BOOTSTRAP nor HAVE_Z_COMBRELOC is defined.
Ulrich Drepper [Thu, 30 Aug 2001 20:22:48 +0000 (20:22 +0000)]
Adjust j0 ULPs.
Ulrich Drepper [Thu, 30 Aug 2001 20:04:34 +0000 (20:04 +0000)]
Adjust j0 ULPs.
Andreas Schwab [Wed, 29 Aug 2001 21:12:09 +0000 (21:12 +0000)]
Updated.
Ulrich Drepper [Wed, 29 Aug 2001 18:48:49 +0000 (18:48 +0000)]
(__dl_runtime_resolve): Pass ELF_RTYPE_CLASS_PLT, instead of R_MIPS_REL32, to
_dl_lookup_versioned_symbol () and _dl_lookup_symbol ().
Ulrich Drepper [Sun, 26 Aug 2001 22:26:38 +0000 (22:26 +0000)]
(elf_machine_lookup_noplt_p, elf_machine_lookup_noexec_p): Remove.
(elf_machine_type_class): Define.
Andreas Jaeger [Fri, 24 Aug 2001 18:27:55 +0000 (18:27 +0000)]
2001-08-24 Maciej W. Rozycki macro@ds2.pg.gda.pl
* sysdeps/unix/sysv/linux/mips/configure.in: Define AC_SUBST to
empty to prevent junk from being generated.
sysdeps/unix/sysv/linux/mips/configure: Regenerated.
Ulrich Drepper [Fri, 24 Aug 2001 14:57:45 +0000 (14:57 +0000)]
(elf_machine_rel_relative): New function.
Ulrich Drepper [Fri, 24 Aug 2001 14:53:23 +0000 (14:53 +0000)]
(elf_machine_rel_relative): Use ElfW(Rel) in argument.
Ulrich Drepper [Fri, 24 Aug 2001 14:53:03 +0000 (14:53 +0000)]
(elf_machine_rela_relative): Rename from elf_machine_rel_relative. Fix argument types.
Ulrich Drepper [Fri, 24 Aug 2001 14:51:50 +0000 (14:51 +0000)]
(elf_machine_rela_relative): Rename from elf_machine_rel_relative.
Ulrich Drepper [Fri, 24 Aug 2001 08:43:21 +0000 (08:43 +0000)]
Define elf_machine_rel_relative. Minor optimizations.
Ulrich Drepper [Thu, 16 Aug 2001 05:32:49 +0000 (05:32 +0000)]
Fix type of __id_t, __useconds_t and __intptr_t.
Ulrich Drepper [Thu, 16 Aug 2001 05:32:30 +0000 (05:32 +0000)]
Add rule to import kernel symbols.
Andreas Schwab [Wed, 15 Aug 2001 13:09:16 +0000 (13:09 +0000)]
(atomic_add): Don't allow address register for operand 0.
Andreas Jaeger [Mon, 13 Aug 2001 08:42:44 +0000 (08:42 +0000)]
(MCOUNT): Don't use delay slot for jal since jal is a macro.
Ulrich Drepper [Sat, 11 Aug 2001 20:31:07 +0000 (20:31 +0000)]
Use __getopt_clean_environment only if USE_NONOPTION_FLAGS is defined.
Ulrich Drepper [Sat, 11 Aug 2001 08:54:29 +0000 (08:54 +0000)]
(elf_machine_runtime_setup): Only set _dl_profile_map for the right object.
Andreas Jaeger [Tue, 31 Jul 2001 07:46:06 +0000 (07:46 +0000)]
* sysdeps/unix/sysv/linux/sparc/bits/poll.h (NPOLLFILE): Removed.
* sysdeps/unix/sysv/linux/mips/bits/poll.h (NPOLLFILE): Removed.
* sysdeps/unix/sysv/linux/m68k/bits/poll.h (NPOLLFILE): Removed.
* sysdeps/unix/sysv/linux/bits/poll.h (NPOLLFILE): Removed.
* sysdeps/generic/bits/poll.h (NPOLLFILE): Removed.
Ulrich Drepper [Sat, 28 Jul 2001 06:08:50 +0000 (06:08 +0000)]
Add dl-support.c, dl-addr.c, and dl-error.c.
Ulrich Drepper [Sat, 28 Jul 2001 06:07:40 +0000 (06:07 +0000)]
Add sys/procfs.h.
Ulrich Drepper [Sat, 28 Jul 2001 05:53:57 +0000 (05:53 +0000)]
Not needed anymore.
Ulrich Drepper [Sat, 28 Jul 2001 05:53:37 +0000 (05:53 +0000)]
Remove non-existing files.
Andreas Schwab [Sun, 22 Jul 2001 18:18:48 +0000 (18:18 +0000)]
Don't mark asm input operand as clobbered.
Andreas Schwab [Sun, 22 Jul 2001 18:18:34 +0000 (18:18 +0000)]
(INLINE_SYSCALL): Don't mark asm input operand as clobbered.
Andreas Jaeger [Fri, 20 Jul 2001 06:05:16 +0000 (06:05 +0000)]
Synch with kernel.
Andreas Schwab [Tue, 17 Jul 2001 17:12:10 +0000 (17:12 +0000)]
Fix last change.
Ulrich Drepper [Mon, 16 Jul 2001 22:30:06 +0000 (22:30 +0000)]
Not needed anymore.
Ulrich Drepper [Mon, 16 Jul 2001 22:26:12 +0000 (22:26 +0000)]
(MAP_BASE_ADDR): Removed.
(elf_machine_got_rel): Defined only if RTLD_BOOTSTRAP is not defined.
(RESOLVE_GOTSYM): Rewrite to use RESOLVE.
Andreas Schwab [Sun, 15 Jul 2001 15:30:50 +0000 (15:30 +0000)]
Special versions for Linux/m68k.
Andreas Schwab [Sun, 15 Jul 2001 15:25:11 +0000 (15:25 +0000)]
Check _dl_pagesize first. Default to 4096, not EXEC_PAGESIZE.
Ulrich Drepper [Sun, 8 Jul 2001 07:15:01 +0000 (07:15 +0000)]
Improve nsendmsg prototype.
Ulrich Drepper [Sun, 8 Jul 2001 07:14:06 +0000 (07:14 +0000)]
(sendmsg): Fix return type.
Ulrich Drepper [Sun, 8 Jul 2001 07:11:53 +0000 (07:11 +0000)]
(recvmsg): Fix return type.
Ulrich Drepper [Sun, 8 Jul 2001 07:09:12 +0000 (07:09 +0000)]
(__recv): Fix typo.