Ulrich Drepper [Sun, 14 Apr 2002 18:34:22 +0000 (18:34 +0000)]
Undefine __libc_fcntl as well.
Ulrich Drepper [Sun, 14 Apr 2002 17:54:50 +0000 (17:54 +0000)]
Also define _internal alias.
Ulrich Drepper [Sun, 14 Apr 2002 09:12:57 +0000 (09:12 +0000)]
Define __gettimeofday alias.
Ulrich Drepper [Sun, 14 Apr 2002 09:11:55 +0000 (09:11 +0000)]
Use INTEDEF for __gettimeofday.
Ulrich Drepper [Sun, 14 Apr 2002 08:42:53 +0000 (08:42 +0000)]
Use INTDEF for __getpgid.
Ulrich Drepper [Sun, 14 Apr 2002 08:41:04 +0000 (08:41 +0000)]
Use INTDEF for __getpagesize.
Ulrich Drepper [Sun, 14 Apr 2002 08:38:17 +0000 (08:38 +0000)]
Use INTDEF for __fxstat64.
Ulrich Drepper [Sun, 14 Apr 2002 08:37:17 +0000 (08:37 +0000)]
Use INTDEF for __fxstat.
Andreas Schwab [Sat, 13 Apr 2002 15:41:53 +0000 (15:41 +0000)]
* sysdeps/m68k/fpu/s_finite.c: Add internal alias.
* sysdeps/m68k/fpu/s_finitef.c: Likewise.
* sysdeps/m68k/fpu/s_finitel.c: Likewise.
Ulrich Drepper [Sat, 13 Apr 2002 07:53:04 +0000 (07:53 +0000)]
Adjust all callers of _dl_lookup_symbol and _dl_lookup_versioned_symbol.
Ulrich Drepper [Thu, 11 Apr 2002 20:38:52 +0000 (20:38 +0000)]
LOC): Don't paste in a token.
Ulrich Drepper [Tue, 9 Apr 2002 20:26:17 +0000 (20:26 +0000)]
Use INTUSE for __chown calls.
Ulrich Drepper [Tue, 9 Apr 2002 20:22:09 +0000 (20:22 +0000)]
Use INTDEF for __fork.
Ulrich Drepper [Tue, 9 Apr 2002 20:21:24 +0000 (20:21 +0000)]
Use INTDEF for __connect.
Ulrich Drepper [Tue, 9 Apr 2002 20:20:23 +0000 (20:20 +0000)]
Use INTDEF for __chown.
Ulrich Drepper [Tue, 9 Apr 2002 19:49:11 +0000 (19:49 +0000)]
Use INTDEF for __fcntl.
Roland McGrath [Mon, 8 Apr 2002 07:06:48 +0000 (07:06 +0000)]
2002-04-07 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/alpha/trampoline.c: Don't include
<mach/machine/alpha_instruction.h>.
(_hurd_setup_sighandler): Take proper arguments for current decls.
Update code to use _hurdsig_catch_fault.
Use `callsys' instruction instead of `call_pal'.
* sysdeps/mach/hurd/alpha/intr-msg.h: New file.
Roland McGrath [Mon, 8 Apr 2002 07:06:46 +0000 (07:06 +0000)]
2002-04-07 Roland McGrath <roland@frob.com>
* sysdeps/mach/alpha/sysdep.h: Include <mach/alpha/asm.h>.
(ALIGN, at, AT, fp): New macros.
Roland McGrath [Mon, 8 Apr 2002 02:16:12 +0000 (02:16 +0000)]
2002-04-06 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/alpha/exc2signal.c
(_hurd_exception2signal): Rewritten.
* sysdeps/mach/hurd/alpha/longjmp-ts.c
(_hurd_longjmp_thread_state): Rewritten.
Roland McGrath [Mon, 8 Apr 2002 02:16:04 +0000 (02:16 +0000)]
2002-04-06 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/alpha/sigreturn.c: Pass missing argument to
__msg_sig_post RPC.
Ulrich Drepper [Sat, 6 Apr 2002 04:05:14 +0000 (04:05 +0000)]
Protect against multiple inclusion.
Ulrich Drepper [Sat, 6 Apr 2002 01:34:06 +0000 (01:34 +0000)]
brk implementation for dynamic linker.
Ulrich Drepper [Sat, 6 Apr 2002 00:33:22 +0000 (00:33 +0000)]
(ELF_MACHINE_REL_RELATIVE): Define.
Andreas Jaeger [Thu, 4 Apr 2002 08:57:22 +0000 (08:57 +0000)]
Remove files since arch is not supported anymore.
Andreas Jaeger [Thu, 4 Apr 2002 08:53:30 +0000 (08:53 +0000)]
Remove, the archs are not supported anymore.
Ulrich Drepper [Wed, 3 Apr 2002 06:55:14 +0000 (06:55 +0000)]
(_DL_HWCAP_COUNT): Define as 8.
Ulrich Drepper [Wed, 3 Apr 2002 06:54:28 +0000 (06:54 +0000)]
Completely specify size of _dl_arm_cap_flags.
Roland McGrath [Sun, 24 Mar 2002 01:55:18 +0000 (01:55 +0000)]
2002-03-23 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/i386/Makefile
(sysdep_routines, shared-only-routines): Don't add framestate,
reverting 2001-10-02 change.
* sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
* sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
* sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
* sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
* sysdeps/generic/Makefile (sysdep_routines, shared-only-routines):
Do it here instead, only if [$(unwind-find-fde) = yes].
Andreas Jaeger [Fri, 22 Mar 2002 10:10:19 +0000 (10:10 +0000)]
Copy from generic file with changes for NaNs on MIPS.
Andreas Jaeger [Sun, 17 Mar 2002 12:09:54 +0000 (12:09 +0000)]
* 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.
Andreas Jaeger [Sun, 17 Mar 2002 12:07:44 +0000 (12:07 +0000)]
* 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.
Ulrich Drepper [Thu, 14 Mar 2002 20:44:11 +0000 (20:44 +0000)]
Dummy file fo rnot needed __clz_tab table.
Ulrich Drepper [Wed, 13 Mar 2002 03:49:52 +0000 (03:49 +0000)]
(__libc_multiple_libcs): Define as hidden.
Ulrich Drepper [Tue, 12 Mar 2002 21:37:08 +0000 (21:37 +0000)]
Define __libc_argc and __libc_argv as hidden.
Andreas Jaeger [Sat, 2 Mar 2002 13:14:40 +0000 (13:14 +0000)]
Added initialization of GP (to _gp) if compiled non-PIC.
Ulrich Drepper [Fri, 1 Mar 2002 09:43:36 +0000 (09:43 +0000)]
Use rtld_progrname instead of _dl_argv[0].
Ulrich Drepper [Thu, 28 Feb 2002 22:36:33 +0000 (22:36 +0000)]
Add HAVE_VISIBILITY_ATTRIBUTE and HAVE_SDATA_SECTION.
Ulrich Drepper [Thu, 28 Feb 2002 19:37:12 +0000 (19:37 +0000)]
(sysdep_routines): Add divdi3 in csu dir.
(shared-only-routines): Likewise.
Ulrich Drepper [Wed, 27 Feb 2002 18:10:53 +0000 (18:10 +0000)]
(elf_machine_load_address, RTLD_START): Work around an Alpha gas bug.
Ulrich Drepper [Sun, 24 Feb 2002 08:33:08 +0000 (08:33 +0000)]
Call _dl_non_dynamic_init for !SHARED.
Ulrich Drepper [Sat, 23 Feb 2002 08:45:12 +0000 (08:45 +0000)]
Call __init_misc in addition to __libc_init.
Andreas Jaeger [Mon, 11 Feb 2002 10:23:36 +0000 (10:23 +0000)]
Update MCOUNT for current GCC behavior.
Ulrich Drepper [Sat, 9 Feb 2002 01:58:16 +0000 (01:58 +0000)]
Use \n\ for multiline string.
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.