From 9710f75d4a4d57fa86f20e011c6dc6e66c590080 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 3 Feb 2002 19:39:52 +0000 Subject: Update. 2002-02-03 Andreas Schwab * sysdeps/posix/readv.c: Use ssize_t for bytes_read. * sysdeps/posix/writev.c: Use ssize_t for bytes_written. Fix comment. 2002-02-03 Thorsten Kukuk * sysdeps/posix/writev.c: Check for ssize_t overflow, don't use alloca if the memory reqirements are too high. 2002-02-03 Ulrich Drepper * elf/dl-load.c (decompose_rpath): Avoid using strstr. * elf/dl-minimal.c (_strerror_r): Use _itoa instead of _itoa_word since the former is available anyway and speed isn't important here. * elf/dl-misc.c (_dl_debug_vdprintf): Likewise. * elf/dl-version.c (match_symbol): Likewise. (_dl_check_map_versions): Likewise. * elf/rtld.c (process_envvars): Likewise. (print_statistics): Likewise. * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Likewise. * elf/dl-minimal.c (_itoa): Always define it. Make it work for all bases. Add assert to catch uses of unimplemented features. (__strsep): Add assert to catch uses of unimplemented features. * elf/dl-object.c (_dl_new_object): Don't use rawmemchr. Use strchr and avoid inline optimization. * elf/rtld.c (process_envvars): Likewise. * elf/dl-open.c: Don't include . * elf/dl-profile.c (_dl_start_profile): Help compiler to avoid ffs. * elf/rtld.c (dl_main): Avoid strsep inline optimization. * stdio-common/_itoa.h: Minor simplifications of the code. * stdio-common/_itoa.c: Likewise. * elf/dl-reloc.c (_dl_relocate_object): Use _dl_debug_printf instead of _dl_printf for debugging info output. * sysdeps/mips/atomicity.h (exchange_and_add): Use branch likely. --- elf/dl-version.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'elf/dl-version.c') diff --git a/elf/dl-version.c b/elf/dl-version.c index 9ba91b2efe..f9fd3ba55d 100644 --- a/elf/dl-version.c +++ b/elf/dl-version.c @@ -121,8 +121,8 @@ no version information available (required by ", name, ")"); buf[sizeof (buf) - 1] = '\0'; /* XXX We cannot translate the message. */ errstring = make_string ("unsupported version ", - _itoa_word (def->vd_version, - &buf[sizeof (buf) - 1], 10, 0), + _itoa (def->vd_version, + &buf[sizeof (buf) - 1], 10, 0), " of Verdef record"); result = 1; goto call_cerror; @@ -210,8 +210,8 @@ _dl_check_map_versions (struct link_map *map, int verbose, int trace_mode) buf[sizeof (buf) - 1] = '\0'; /* XXX We cannot translate the message. */ errstring = make_string ("unsupported version ", - _itoa_word (ent->vn_version, - &buf[sizeof (buf) - 1], 10, 0), + _itoa (ent->vn_version, + &buf[sizeof (buf) - 1], 10, 0), " of Verneed record\n"); call_error: INT(_dl_signal_error) (errval, (*map->l_name -- cgit v1.2.3