aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-11-16Update.Ulrich Drepper53-156/+4446
2001-10-02 Jakub Jelinek <jakub@redhat.com> H.J. Lu <hjl@gnu.org> * configure.in (libc_cv_gcc_static_libgcc): Set to -static-libgcc if gcc supports this flag. (EXPORT_UNWIND_FIND_FDE): Define unless target configure disables it. (gcc3): Allow glibc to be compiled with gcc 3.x. * config.h.in (EXPORT_UNWIND_FIND_FDE): Add. * config.make.in (static-libgcc, unwind-find-fde): Add. * Makerules (build-shlib-helper, build-module-helper): Use it. * scripts/versions.awk: Make sure GLIBC_ versions come first. * elf/soinit.c (__libc_global_ctors): Set tbases and dbases if necessary. (_fini): Call __deregister_frame_info_bases if __register_frame_info_bases was used to register. * elf/Versions (__register_frame_info, __deregister_frame_info): Add for GLIBC_2.0. (__register_frame_info_bases, __register_frame_info_table_bases, __deregister_frame_info_bases, _Unwind_Find_FDE): Add for GLIBC_2.2.5. * elf/Makefile (routines): Add unwind-dw2-fde. (shared-only-routines): Add unwind-dw2-fde. * sysdeps/alpha/gccframe.h: New file. * sysdeps/arm/gccframe.h: New file. * sysdeps/generic/framestate.c: New file. * sysdeps/generic/dwarf2.h: New file. * sysdeps/generic/gccframe.h (struct object): Update from gcc 3.0. * sysdeps/generic/unwind-dw2-fde.c: New file. * sysdeps/unix/sysv/linux/ia64/unwind-dw2-fde.c: New file. * sysdeps/generic/unwind-dw2-fde.h: New file. * sysdeps/generic/unwind-dw2.c: New file. * sysdeps/generic/unwind-pe.h: New file. * sysdeps/generic/unwind.h: New file. * sysdeps/hppa/gccframe.h: New file. * sysdeps/i386/gccframe.h: New file. * sysdeps/m68k/gccframe.h: New file. * sysdeps/mips/gccframe.h: New file. * sysdeps/powerpc/gccframe.h: New file. * sysdeps/s390/gccframe.h: New file. * sysdeps/sh/gccframe.h: New file. * sysdeps/sparc/gccframe.h: New file. * sysdeps/vax/gccframe.h: New file. * sysdeps/unix/sysv/linux/configure.in (libc_cv_gcc_unwind_find_fde): Set on all architectures except ia64. * sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Set for i386. * sysdeps/mach/hurd/i386/Versions (__register_frame_info, __deregister_frame_info): Move to elf/Versions. * sysdeps/unix/sysv/linux/m68k/Versions: Likewise. * sysdeps/unix/sysv/linux/arm/Versions: Likewise. * sysdeps/unix/sysv/linux/alpha/Versions: Likewise. * sysdeps/unix/sysv/linux/i386/Versions: Likewise. * sysdeps/unix/sysv/linux/mips/Versions: Likewise. * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise. * sysdeps/mach/hurd/i386/Makefile (sysdep-routines): Add framestate. * 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/unix/sysv/linux/ia64/ldd-rewrite.sed: New file. * sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed: New file. * sysdeps/generic/strnlen.c: New file.
2001-11-15Update.Ulrich Drepper3-1/+10
2001-11-15 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/i686/Implies: Removed. * sysdeps/i386/i686/Versions: New file.
2001-11-15Update.Ulrich Drepper2-1/+6
2001-11-15 Jeff Law <law@redhat.com> * posix/regex.c (uintptr_t): Do not provide a definition if the system provided one.
2001-11-14Update.Ulrich Drepper1-25/+0
2001-11-13* stdio-common/tmpfile.c: Moved to ...Roland McGrath4-3/+87
* sysdeps/generic/tmpfile.c: ... here. * sysdeps/mach/hurd/tmpfile.c: New file. * hurd/fopenport.c (__fopenport): Renamed from fopenport. [USE_IN_LIBIO] (fopencookie): #define as _IO_fopencookie. (fopenport): Define as weak alias. * libio/iofopncook.c (_IO_fopencookie): Move forward declaration ... * libio/libioP.h: ... to here.
2001-11-132001-11-13 Roland McGrath <roland@frob.com>Roland McGrath2-2/+4
* libio/iofopncook.c (_IO_fopencookie): Move forward declaration ... * libio/libioP.h: ... to here.
2001-11-12Update.Ulrich Drepper2-48/+56
2001-11-12 Ulrich Drepper <drepper@redhat.com> * elf/dl-reloc.c (_dl_relocate_object): Avoid iterating over program header twice. Construct list with the needed information.
2001-11-11Update.Ulrich Drepper2-1300/+1006
* po/ca.po: Update from translation team.
2001-11-10Update.Ulrich Drepper3-12/+33
2001-11-10 Ulrich Drepper <drepper@redhat.com> * elf/dl-load.c (_dl_map_object_from_fd): Remove use of _dl_pf_to_prot. Use arithmetic operation using PF_TO_PROT macro. * sysdeps/generic/ldsodefs.h (PF_TO_PROT): New macro. * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2001-11-10(_dl_map_object_from_fd): Remove use of _dl_pf_to_prot. Use arithmetic ↵Ulrich Drepper1-24/+12
operation using PF_TO_PROT macro.
2001-11-10Update.Andreas Jaeger3-2/+252
2001-11-10 Andreas Jaeger <aj@suse.de> * sysdeps/ieee754/ldbl-128/e_log2l.c: New file. * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise. Contributed by Stephen L Moshier <moshier@mediaone.net>.
2001-11-10128-bit long double implementation of e_log2.Andreas Jaeger1-0/+237
2001-11-10(is_dst): Pretty printing.Ulrich Drepper1-2/+2
2001-11-10Update.Ulrich Drepper2-35/+42
2001-11-09 Ulrich Drepper <drepper@redhat.com> * elf/dl-minimal.c (realloc): Handle NULL for first parameter correctly. * elf/dl-load.c (is_dst): New function. (_dl_dst_count): Use is_dst to check for DST variable. (_dl_dst_substitute): Likewise.
2001-11-10(realloc): Handle NULL for first parameter correctly.Ulrich Drepper1-0/+2
2001-11-10Hurd/PowerPC port contributed by Peter Bruin <pjbruin@dds.nl>.Roland McGrath12-1/+1276
* NEWS: Mention it. * sysdeps/mach/hurd/powerpc/exc2signal.c: New file. * sysdeps/mach/hurd/powerpc/init-first.c: New file. * sysdeps/mach/hurd/powerpc/intr-msg.h: New file. * sysdeps/mach/hurd/powerpc/longjmp-ts.c: New file. * sysdeps/mach/hurd/powerpc/register-dump.h: New file. * sysdeps/mach/hurd/powerpc/sigreturn.c: New file. * sysdeps/mach/hurd/powerpc/static-start.S: New file. * sysdeps/mach/hurd/powerpc/trampoline.c: New file. * sysdeps/mach/hurd/powerpc/bits/sigcontext.h: New file. * sysdeps/mach/hurd/powerpc/Dist: New file.
2001-11-10* hurd/privports.c (__get_privileged_ports):Roland McGrath1-0/+7
Only contact the proc server if necessary for this call. Suggested by Neal H Walfield <neal@cs.uml.edu>. Check error return for mach_port_mod_refs.
2001-11-102001-11-09 Roland McGrath <roland@frob.com>Roland McGrath1-5/+14
* hurd/privports.c (__get_privileged_ports): Only contact the proc server if necessary for this call. Suggested by Neal H Walfield <neal@cs.uml.edu>. Check error return for mach_port_mod_refs.
2001-11-09Update.Ulrich Drepper1-2/+4
* elf/dl-load.c (lose): Remove some unnecessary code. The new object is always the last in the list. (_dl_map_object_from_fd): Delete code to remove from object list when DF_1_NOOPEN is seen. This is done in lose.
2001-11-09(lose): Remove some unnecessary code. The new object is always the last in ↵Ulrich Drepper1-4/+8
the list.
2001-11-09* sysdeps/unix/sysv/linux/m68k/bits/resource.h: New file.Andreas Schwab1-0/+4
2001-11-09New file to fix RLIM_INFINITY.Andreas Schwab1-0/+209
2001-11-09Update.Ulrich Drepper2-13/+5
2001-11-09 Ulrich Drepper <drepper@redhat.com> * elf/dl-load.c (_dl_map_object_from_fd): Delete code to remove from object list when DF_1_NOOPEN is seen. This is done in lose.
2001-11-08Update.Ulrich Drepper2-48/+52
2001-11-08 Ulrich Drepper <drepper@redhat.com> * elf/dl-object.c (_dl_new_object): Various small optimizations.
2001-11-08Update.Ulrich Drepper5-128/+135
* sysdeps/generic/dl-cache.c: Optimize SEARCH_CACHE and HWCAP_CHECK macro code. * elf/dl-misc.c (_dl_sysdep_read_whole_file): Optimize code a bit. Now returns MAP_FAILED on error. * elf/rtld.c: Adjust caller. * sysdeps/generic/dl-cache.c: Likewise. * sysdeps/generic/ldsodefs.h: Adjust description.
2001-11-07Update.Ulrich Drepper3-94/+103
2001-11-07 Ulrich Drepper <drepper@redhat.com> * elf/dl-version.c (match_symbol): Optimize error handling for size. (_dl_check_map_versions): Likewise.
2001-11-07Update.Ulrich Drepper2-12/+18
2001-11-06 Ulrich Drepper <drepper@redhat.com> * elf/dl-load.c (_dl_map_object_from_fd): Don't call _dl_signal_error directly, always use lose. Set fd to -1 after file is closed. (lose): Don't call close if fd == -1.
2001-11-07Update.Ulrich Drepper2-294/+298
2001-11-07 Kaoru Fukui <k_fukui@highway.ne.jp> * manual/charset.texi: Fix typo @w[ISO 6937] to @w{ISO 6937}. Also fix typo @code {mbsinit} to @code{mbsinit}.
2001-11-07Update.Ulrich Drepper3-24/+24
* elf/dl-profile.c: Replace state variable with simple flag named running. Remove commented-out code. * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2001-11-07Update.Ulrich Drepper2-82/+160
2001-11-06 Ulrich Drepper <drepper@redhat.com> * elf/dl-load.c (decompose_rpath): Optimize error handling for size. (_dl_init_paths): Likewise. (_dl_map_object_from_fd): Likewise.
2001-11-06Update.Ulrich Drepper1-0/+1
* sysdeps/generic/ldsodefs.h (DL_DEBUG_HELP): New macro.
2001-11-06(DL_DEBUG_HELP): New macro.Ulrich Drepper1-0/+2
2001-11-06* sysdeps/mach/powerpc/sysdep.h: Include sysdeps/unix/powerpc/sysdep.hRoland McGrath2-2/+4
instead of sysdeps/powerpc/elf/sysdep.h and sysdeps/unix/sysdep.h.
2001-11-06* sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't includeRoland McGrath1-0/+6
sysdeps/powerpc/elf/sysdep.h. Reported by Kaoru Fukui <k_fukui@highway.ne.jp>.
2001-11-062001-11-06 Roland McGrath <roland@frob.com>Roland McGrath1-1/+0
* sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't include sysdeps/powerpc/elf/sysdep.h. Reported by Kaoru Fukui <k_fukui@highway.ne.jp>.
2001-11-06Update.Ulrich Drepper1-1/+1
(process_envvars): Some more optimizations.
2001-11-06Update.Ulrich Drepper2-112/+76
* elf/rtld.c (process_dl_debug): Rewritten. Optimized for size not speed. (process_envvars): More some optimizations.
2001-11-06Update.Ulrich Drepper6-42/+55
* elf/elf.h: Add dynamic tag definitions for prelinking. * elf/rtld.c (process_envvars): Avoid using array of string pointers. Rewrite code to remove environment varables for SUID binaries. Small optimization in LD_PROFILE handling. * sysdeps/generic/unsecvars.h: Adjust format for process_envvars changes. * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise. * sysdeps/generic/dl-sysdep.c: Don't initialize _dl_cpuclock_offset.
2001-11-05Update.Ulrich Drepper3-22/+21
* elf/dl-reloc.c (_dl_reloc_bad_type): Rewrite to not use writable strings. Change type of second parameter. * sysdeps/generic/ldsodefs.h: Adjust _dl_reloc_bad_type prototype for last change.
2001-11-05Update.Ulrich Drepper2-2/+18
2001-11-05 Ulrich Drepper <drepper@redhat.com> * io/fts.h: Prevent using <fts.h> with _FILE_OFFSET_BITS=64. 2001-11-04 Joseph S. Myers <jsm28@cam.ac.uk> * manual/string.texi: Fix typos. * manual/examples/argp-ex2.c: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h (REGISTER_DUMP): * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h (REGISTER_DUMP):
2001-11-05Fix typos.Ulrich Drepper2-2/+2
2001-11-05* sysdeps/powerpc/elf/sysdep.h: Remove this file, because it overridesRoland McGrath1-0/+9
the more-specific unix/sysv/linux/powerpc file and breaks everything. * sysdeps/powerpc/sysdep.h (ALIGNARG, ASM_TYPE_DIRECTIVE, ASM_SIZE_DIRECTIVE, CALL_MCOUNT, ENTRY, EALIGN, DO_CALL, JUMPTARGET, PSEUDO, PSEUDO_RET, PSEUDO_END, L, C_TEXT): These macros moved here here, put under [__ELF__].
2001-11-052001-11-05 Roland McGrath <roland@frob.com>Roland McGrath2-139/+121
* sysdeps/powerpc/elf/sysdep.h: Remove this file, because it overrides the more-specific unix/sysv/linux/powerpc file and breaks everything. * sysdeps/powerpc/sysdep.h (ALIGNARG, ASM_TYPE_DIRECTIVE, ASM_SIZE_DIRECTIVE, CALL_MCOUNT, ENTRY, EALIGN, DO_CALL, JUMPTARGET, PSEUDO, PSEUDO_RET, PSEUDO_END, L, C_TEXT): These macros moved here here, put under [__ELF__].
2001-11-05Update.Ulrich Drepper2-2891/+2901
2001-11-05 Ulrich Drepper <drepper@redhat.com> * manual/charset.texi: Extensive editing work. * manual/nss.texi: Likewise. Changes by Dennis Grace <dgrace@us.ibm.com>.
2001-11-05Editing.Ulrich Drepper1-2892/+2892
2001-11-04* hurd/set-host.c (_hurd_set_host_config): Use O_WRONLY in flagsRoland McGrath1-0/+5
parameter to dir_mkfile.
2001-11-042001-11-04 Roland McGrath <roland@frob.com>Roland McGrath1-2/+2
* hurd/set-host.c (_hurd_set_host_config): Use O_WRONLY in flags parameter to dir_mkfile.
2001-11-03Update.Ulrich Drepper3-2/+36
2001-11-02 Jakub Jelinek <jakub@redhat.com> * string/bits/string2.h (__strndup): If n is smaller than len, set len to n + 1. * string/tester.c (test_strndup): New function. (main): Call it. * sunrpc/rpc_main.c: Optimize variable definitions a bit.
2001-11-02Update.Ulrich Drepper2-7/+9
* sunrpc/rpc_main.c: Optomize variable definitions a bit.
2001-11-02Update.Ulrich Drepper3-2/+25
* sunrpc/Makefile (rpcgen-cmd): Use ../scripts/cpp in rpcgen calls. * scripts/cpp: New file.