aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2000-05-10Update.Andreas Jaeger
* elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt argument. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle R_SPARC_UA64. * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file. 2000-05-10 Jakub Jelinek <jakub@redhat.com>
2000-05-10Update.Andreas Jaeger
at proper place. Compute the high nibble correctly.
2000-05-10Update.Andreas Jaeger
2000-05-10 Jakub Jelinek <jakub@redhat.com> * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message at proper place.
2000-05-10Update.Andreas Jaeger
* elf/ldconfig.c: Include elf.h.
2000-05-10Update.Andreas Jaeger
2000-05-09 Jakub Jelinek <jakub@redhat.com> * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero. (_dl_vsym): Likewise. Reported by Owen Taylor <otaylor@redhat.com>. * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini always.
2000-05-08Update.Andreas Jaeger
2000-05-08 Andreas Jaeger <aj@suse.de> * include/libintl.h: Add prototype for __bind_textdomain_codeset. * intl/bindtextdom.c (set_binding_values): Add prototype.
2000-05-08Update.Andreas Jaeger
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in call to elf_machine_fixup_plt. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise. 2000-05-08 Jakub Jelinek <jakub@redhat.com>
2000-05-082000-05-08 Jakub Jelinek <jakub@redhat.com>Andreas Jaeger
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in call to elf_machine_fixup_plt. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2000-05-08Update.Ulrich Drepper
2000-05-08 Jakub Jelinek <jakub@redhat.com> * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that they are not dlclose'd from underneath us.
2000-05-08Update.Ulrich Drepper
* posix/execle.c: Fix size parameter of memcpy. 2000-05-08 Andreas Schwab <schwab@suse.de>
2000-05-08Fix size parameter of memcpy.Ulrich Drepper
2000-05-08* sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. UseAndreas Schwab
getpagesize syscall if available.
2000-05-08New file. Use getpagesize syscall if available.Andreas Schwab
2000-05-08Update.Andreas Jaeger
2000-05-08 Andreas Jaeger <aj@suse.de> * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and set errno.
2000-05-08Update.Andreas Jaeger
2000-05-08 Jakub Jelinek <jakub@redhat.com> * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in sizeof(struct link_map *) chunks, not in bytes.
2000-05-082000-05-08 Jakub Jelinek <jakub@redhat.com>Andreas Jaeger
* elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in sizeof(struct link_map *) chunks, not in bytes.
2000-05-08Update.Ulrich Drepper
2000-05-07 Ulrich Drepper <drepper@redhat.com> * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's only needed for locale. * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS. It's only needed for catgets. Patches by Greg McGary <gkm@eng.ascend.com>.
2000-05-08Update.Ulrich Drepper
2000-05-07 Mark Kettenis <kettenis@gnu.org> * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print. Remove duplicate <errno.h> include. Remove inclusion of <libintl.h> and "nsswitch.h". (set_cloexec_flag): New function, broken out of dbopen. (dbopen): Changed return type to `enum nss_status'. Mostly rewritten to make sure that we do not report NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts. (internal_setent): Change return type to nss_status. Document, and make sure that the function behaves accordingly. Make dynamically loading the database library really thread-safe and return NSS_STATUS_UNAVAIL if it failed. (db_cursor): Return ENOMEM is memory allocation failed. Remove unecessary casts. * nss/nss_db/dummy-db.h: Add copyright notice. Improve documentation. (struct dbc24, struct dbc27): Use DBT type in parameter lists for c_get function member. * nss/nss_db/nss_db.h: Add and tweak some comments. (DBT): Move typedef before NSS_DBC typedef. (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
2000-05-08Update.Ulrich Drepper
2000-05-07 H.J. Lu <hjl@gnu.org> * csu/initfini.c: Moved to .... * sysdeps/generic/initfini.c: ...here. * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
2000-05-07Update.Ulrich Drepper
* manual/resource.texi: Document POSIX scheduling functions. Patch by Bryan Henderson <bryanh@giraffe-data.com>.
2000-05-07Update.Ulrich Drepper
* inet/rcmd.c (rcmd_af): errno is not set if read returns without reading anything. Reported by Andries.Brouwer@cwi.nl.
2000-05-07Update.Ulrich Drepper
* sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type for x since promotion in comparison might leads to unexpected results. Reported by Dan Pop <Dan.Pop@cern.ch>.
2000-05-07Update.Ulrich Drepper
(ucs4_internal_loop): Likewise. (ucs4_internal_loop_unaligned): Likewise. (internal_ucs4le_loop): Likewise. (internal_ucs4le_loop_unaligned): Likewise. (ucs4le_internal_loop): Likewise. (ucs4le_internal_loop_unaligned): Likewise.
2000-05-07Update.Ulrich Drepper
* iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting empty input buffer over full output buffer.
2000-05-07Update.Ulrich Drepper
2000-05-07 Ulrich Drepper <drepper@redhat.com> * iconv/Makefile (tests): Add tst-iconv1. * iconv/tst-iconv1.c: New file. Reported by yaoz@nih.gov.
2000-05-07Update.Ulrich Drepper
2000-05-06 Bruno Haible <haible@clisp.cons.org> * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform returned != __GCONV_OK, there is nothing to clean up. 2000-05-06 Bruno Haible <haible@clisp.cons.org> * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and OUTPUT_CHARSET environment variables. 2000-05-06 Andreas Jaeger <aj@suse.de> * sysdeps/generic/dl-cache.h (struct file_entry_new): New. (struct cache_file_new): New. (struct file_entry): New (moved from cache.c). (struct cache_file): New (moved from cache.c). * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out from _dl_load_cache_lookup. (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle the different cache formats. New variable cache_new for new format. * elf/ldconfig.h: Change according to changes in cache.c and ldconfig.c; remove cache_libcmp; add opt_format. * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove stuff that's defined in those headers. Add hwcap to struct lib_entry. (opt_format): New variable to select cache format. (options): Add format parameter. (is_hwcap): New function. (path_hwcap): New function. (parse_opt): Handle new format parameter. (search_dir): Handle hwcap, search also subdirectories with hwcap. * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since ldconfig is part of glibc. Include dl-cache.h and remove stuff that's defined there. (struct cache_entry): Add new member hwcap. (print_entry): Print hwcap, cleanup a bit. (print_cache): Print new and old formats. (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap. (save_cache): Save new and old formats. (add_to_cache): Handle hwcap. * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here... * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here. * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here... * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here. * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here... * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here. 2000-05-05 Bruno Haible <haible@clisp.cons.org> * intl/dcigettext.c (alignof): New macro. (_nl_find_msg): Use it instead of __alignof__. Pass correct output buffer length to __gconv/iconv. If malloc (freemem_size) fails, set freemem_size to 0. 2000-05-05 Bruno Haible <haible@clisp.cons.org> * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch return value.
2000-05-07(dcigettext): Fix interpretation of tsearch return value.Ulrich Drepper
2000-05-07Removed conflict marker.Andreas Jaeger
2000-05-06Update.Ulrich Drepper
2000-05-06 Ulrich Drepper <drepper@redhat.com> * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'. (mempcpy): Correct typo is parameter list.
2000-05-06(DCIGETTEXT): Always define local variable `index'. (mempcpy): Correct typo ↵Ulrich Drepper
is parameter list.
2000-05-06Update.Andreas Jaeger
2000-05-06 Andreas Jaeger <aj@suse.de> * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline functions unless -ffast-math is given to gcc.
2000-05-062000-05-06 Andreas Jaeger <aj@suse.de>Andreas Jaeger
* sysdeps/i386/fpu/bits/mathinline.h: Disable some inline functions unless -ffast-math is given to gcc.
2000-05-06Update.Ulrich Drepper
2000-05-06 Ulrich Drepper <drepper@redhat.com> * po/ko.po: Update from translation team.
2000-05-06New version from translator.Ulrich Drepper
2000-05-052000-05-05 Andreas Jaeger <aj@suse.de>Andreas Jaeger
* sysdeps/unix/sysv/linux/i386/getcpuclockid.c (pthread_getcpuclockid): Correct test for ourselves. 2000-05-05 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/i386/getcpuclockid.c (pthread_getcpuclockid): Correct test for ourselves.
2000-05-05Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
2000-05-05Update.Ulrich Drepper
2000-05-05 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to... * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here. * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to... * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here. * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to... * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here. * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed. * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed. * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file. * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file. * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file. * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file. * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
2000-05-05Update.Ulrich Drepper
2000-05-05 Jes Sorensen <jes@linuxcare.com> * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file. * sysdeps/unix/sysv/linux/ia64/syscall.S: New file. * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file. * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file. * sysdeps/ia64/Implies: New file. * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address. * sysdeps/ia64/Makefile: New file. * sysdeps/ia64/gmp-mparam.h: New file, * sysdeps/ia64/elf/start.S: New file. * sysdeps/ia64/bits/fenv.h: New file. 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com> * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file. 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch> * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The ia64 has 64 bit .hash entries just as the Alpha. 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch> * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro. 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch> * sysdeps/ia64/fpu/fclrexcpt.c: New file. * sysdeps/ia64/fpu/fedisblxcpt.c: New file. * sysdeps/ia64/fpu/feenablxcpt.c: New file. * sysdeps/ia64/fpu/fegetenv.c: New file. * sysdeps/ia64/fpu/fegetexcept.c: New file. * sysdeps/ia64/fpu/fegetround.c: New file. * sysdeps/ia64/fpu/feholdexcpt.c: New file. * sysdeps/ia64/fpu/fesetenv.c: New file. * sysdeps/ia64/fpu/fesetround.c: New file. * sysdeps/ia64/fpu/feupdateenv.c: New file. * sysdeps/ia64/fpu/fgetexcptflg.c: New file. * sysdeps/ia64/fpu/fraiseexcpt.c: New file. * sysdeps/ia64/fpu/fsetexcptflg.c: New file. * sysdeps/ia64/fpu/ftestexcept.c: New file. * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New. * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_DL_HWCAP_COUNT): New. * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_DL_HWCAP_COUNT): New.
2000-05-05Additional directories to use for IA-64.Ulrich Drepper
2000-05-05Update.Andreas Jaeger
* sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New. (_dl_string_hwcap): New, does nothing. * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New. (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant. (_dl_string_hwcap): New function, converts from string to hwcap encoding. * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_DL_HWCAP_COUNT): New. (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant. (_dl_string_hwcap): New function, converts from string to hwcap encoding. * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_DL_HWCAP_COUNT): New. (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant. (_dl_string_hwcap): New function, converts from string to hwcap encoding.
2000-05-052000-05-05 Andreas Jaeger <aj@suse.de>Andreas Jaeger
* misc/tst-tsearch.c (main): Correct type for initstate argument. 2000-05-05 Andreas Jaeger <aj@suse.de> * misc/tst-tsearch.c (main): Correct type for initstate argument.
2000-05-05Update.Ulrich Drepper
* elf/Makefile (distribute): Add dl-lookupcfg.h. * sysdeps/ia64/Dist: New file.
2000-05-05Update.Ulrich Drepper
2000-05-05 Ulrich Drepper <drepper@redhat.com> * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of parameter to mprotect and for variable assignments. 2000-05-03 Jes Sorensen <jes@linuxcare.com> * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the validity of map before dereferencing it. * elf/dl-reloc.c (RESOLVE_MAP): Define. 2000-05-02 Jes Sorensen <jes@linuxcare.com> * elf/dl-runtime.c (fixup): Add the value returned in the symbol lookup to the arguments to elf_machine_fixup_plt(). * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map of the symbol being resolved to input argument list and make the function return the pointer to the reloc. * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change return valuie to lookup_t and return the value. * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise. * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise. * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise. * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise. * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise. Make it an inline function returning value after calling __elf_machine_fixup_plt(). * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the symbol address. * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to obtain the symbol address. * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL. * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an inline on non ia64. 2000-04-28 Jes Sorensen <jes@linuxcare.com> * elf/dl-runtime.c (fixup): Use the portable macros to get the symbol address of an object. * elf/dl-runtime.c (fixup-profile): Use the portable macros to get the symbol address of an object. * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t. * elf/dl-lookup.c (_dl_lookup_symbol): Likewise. (_dl_lookup_symbol_skip): Likewise. (_dl_lookup_versioned_symbol): Likewise. (_dl_lookup_versioned_symbol_skip): Likewise. 2000-04-27 Jes Sorensen <jes@linuxcare.com> * elf/rtld.c (_dl_start): Get the function pointer return address via _dl_start_address for architectures that need a function pointer descriptor rather than just a pointer (ia64). * sysdeps/generic/dl-lookupcfg.h: New file. * sysdeps/ia64/dl-lookupcfg.h: New file. * sysdeps/ia64/dl-machine.h: New file. * sysdeps/ia64/dl-symaddr.c: New file. * sysdeps/ia64/dl-fptr.c: New file. * elf/elf.h: Add IA-64 specific definitions.
2000-05-05Update.Ulrich Drepper
2000-05-04 Jakub Jelinek <jakub@redhat.com> * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the end of enum. 2000-05-04 Jakub Jelinek <jakub@redhat.com> * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic happy.
2000-05-05Update.Ulrich Drepper
2000-05-04 Ulrich Drepper <drepper@redhat.com> * tst-fmon.c (main): Print the locale name as well in the error message.
2000-05-05(main): Print the locale name as well in the error message.Ulrich Drepper
2000-05-04Update sysdeps/powerpc/dl-start.S.Geoff Keating
2000-04-11 Geoff Keating <geoffk@cygnus.com> * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user symbol. Call _dl_init rather than the old way. >>>>>>> 1.3514
2000-05-04Update.Ulrich Drepper
2000-05-04 Ulrich Drepper <drepper@redhat.com> * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to test for pointer in range of DSO address space. * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
2000-05-04(dl_open_worker): Use l_map_start and l_map_end to test for pointer in range ↵Ulrich Drepper
of DSO address space.
2000-05-04Update.Andreas Jaeger
2000-05-04 Andreas Jaeger <aj@suse.de> * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.