1 2001-11-28 Ulrich Drepper <drepper@redhat.com>
3 * nss/nss_files/files-XXX.c (internal_getent): Correct input
4 overflow test for platforms with signed char.
5 Reported by Andrew Haley <aph@cambridge.redhat.com>.
7 2001-11-28 Bruno Haible <bruno@clisp.org>
9 * locale/programs/simple-hash.c (lookup_2): Remove function.
10 (insert_entry_2): Call lookup instead of lookup_2.
12 2001-03-04 Bruno Haible <bruno@clisp.org>
14 * intl/dcigettext.c (DCIGETTEXT): Increment path_max proportionally.
16 2001-10-31 Bruno Haible <bruno@clisp.org>
18 * intl/plural.y: Include <stddef.h>, needed for NULL with SunOS 4 cc.
20 2001-03-21 Bruno Haible <bruno@clisp.org>
22 * intl/dcigettext.c (_nl_state_lock): Mark as #ifdef _LIBC. AIX 3 xlc
23 chokes on empty macro arguments.
24 * intl/plural.y: Add #pragma for alloca on AIX 3.
26 2001-11-27 Ulrich Drepper <drepper@redhat.com>
28 * intl/dcigettext.c (guess_category_value): Only implement for
29 glibc. Otherwise rely on function _nl_locale_name which isn't
30 present in the glibc sources.
32 2001-09-24 Bruno Haible <bruno@clisp.org>
34 * intl/loadmsgcat.c (_nl_init_domain_conv): Also enable
35 transliteration when building on a glibc system but outside glibc.
37 2001-09-22 Bruno Haible <bruno@clisp.org>
39 * intl/plural-eval.c: New file, extracted from dcigettext.c.
40 * intl/dcigettext.c (plural_eval): Remove function, moved to
42 (plural_lookup): Call PLURAL_EVAL instead of plural_eval.
43 Include plural-eval.c.
45 2001-09-22 Bruno Haible <bruno@clisp.org>
47 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Reject numbers that
48 don't start with a digit; nplurals must be positive.
50 2001-09-02 Bruno Haible <bruno@clisp.org>
52 * intl/plural-exp.h: New file, extracted from gettextP.h.
53 * intl/plural-exp.c: New file, extracted from loadmsgcat.c.
54 * intl/gettextP.h (struct expression, struct parse_args,
55 __gettext_free_exp, __gettextparse): Move to plural-exp.h.
56 * intl/loadmsgcat.c: Include plural-exp.h.
57 (PLURAL_PARSE): Move macro to plural-exp.h.
58 (plvar, plone, germanic_plural, INIT_GERMANIC_PLURAL): Move to
60 (_nl_load_domain): Move plural handling code to plural-exp.c. Call
61 EXTRACT_PLURAL_EXPRESSION.
62 (_nl_unload_domain): Update.
63 * intl/dcigettext.c: Include plural-exp.h.
64 * intl/plural.y: Include plural-exp.h, not gettextP.h.
65 (FREE_EXPRESSION): Move macro to plural-exp.h.
66 * intl/Makefile (routines): Add plural-exp.
67 (distribute): Add plural-exp.h.
69 2001-07-28 Bruno Haible <bruno@clisp.org>
71 * intl/l10nflist.c (_nl_normalize_codeset): Cast isalnum, isalpha,
72 isdigit, tolower argument to 'unsigned char'.
73 * intl/loadmsgcat.c (_nl_load_domain): Cast isspace argument to
75 * intl/localealias.c (read_alias_file): Cast isspace argument to
78 2001-10-20 Bruno Haible <bruno@clisp.org>
80 Assume strchr() exists. (Without it, intl/explodename.c wouldn't link
82 * intl/dcigettext.c (strchr): Remove fallback definition; it conflicts
83 with the variable 'index' in plural_lookup.
84 * intl/l10nflist.c (strchr): Likewise.
85 * intl/localealias.c (strchr): Likewise.
87 Assume <stddef.h>, <stdlib.h>, <string.h>, <locale.h> exist.
88 * intl/bindtextdom.c: Likewise.
89 * intl/dcigettext.c: Likewise.
90 * intl/dgettext.c: Likewise.
91 * intl/dngettext.c: Likewise.
92 * intl/explodename.c: Likewise.
93 * intl/finddomain.c: Likewise.
94 * intl/gettext.c: Likewise.
95 * intl/l10nflist.c: Likewise.
96 * intl/loadmsgcat.c: Likewise.
97 * intl/localealias.c: Likewise.
98 * intl/ngettext.c: Likewise.
99 * intl/textdomain.c: Likewise.
100 * intl/gettext.h: Assume <limits.h> exists.
102 2001-11-27 Ulrich Drepper <drepper@redhat.com>
104 * stdio-common/Makefile (tests): Add scanf11.
105 * stdio-common/scanf11.c: New file.
107 2001-11-26 Ulrich Drepper <drepper@redhat.com>
109 * version.h (RELEASE): Define as development.
110 (VERSION): Set to 2.2.90.
112 2001-11-22 Thorsten Kukuk <kukuk@suse.de>
114 * nis/nss_compat/compat-grp.c: Print group id as unsigned long.
115 * nis/nss_nis/nis-grp.c: Likewise.
116 * nis/nss_nisplus/nisplus-grp.c: Likewise.
118 * nis/nss_compat/compat-pwd.c: Print user id as unsigned long.
119 * nis/nss_nis/nis-pwd.c: Likewise.
120 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
122 * nis/nss_nis/nis-publickey.c: Use strtoul instead of atoi.
123 * nis/nss_nisplus/nisplus-parser.c: Likewise.
124 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
126 * nscd/grpcache.c: Use strtoul instead of atol.
127 * nscd/pwdcache.c: Likewise.
128 * nss/getent.c: Likewise.
130 2001-11-27 Paul Eggert <eggert@twinsun.com>
132 * sysdeps/posix/tempname.c (__gen_tempname): Try at least
133 ATTEMPTS_MIN or TMP_MAX times, whichever is greater.
135 2001-11-19 Bruno Haible <bruno@clisp.org>
137 * locale/programs/simple-hash.c (insert_entry_2): Resize at 75%, not
139 (compute_hashval): Shift by 9 bits, not by 4 bits. This drastically
140 improves the quality of the hash function, especially for short
143 2001-11-26 Ulrich Drepper <drepper@redhat.com>
145 * stdio-common/vfscanf.c: If incomplete nan of inf(inity) strings
146 are found call conv_error and not input_error [PR libc/2669].
148 * math/bits/mathcalls.h: Mark ceil and floor as const.
149 Reported by David Mosberger.
151 2001-11-21 Jim Meyering <meyering@lucent.com>
153 * posix/regex.c (iswctype, mbrtowc, wcslen, wcscoll, wcrtomb) [_LIBC]:
154 Define to be __-prefixed.
155 Remove unnecessary duplication in `#ifdef _LIBC' blocks.
157 2001-11-26 Andreas Jaeger <aj@suse.de>
159 * sysdeps/unix/sysv/linux/hppa/brk.c: Remove __brk_addr alias,
162 2001-11-26 Stephen L Moshier <moshier@mediaone.net>
164 * sysdeps/ieee754/ldbl-128/e_log10l.c (L102B): Fix typo in
167 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Remove
168 unused variables. Fix threshold for returning 1.0.
170 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (neval, deval): Constify
173 * sysdeps/ieee754/ldbl-128/s_erfl.c (neval, deval): Likewise, and
174 remove unused variables.
176 * sysdeps/ieee754/ldbl-128/e_j0l.c (neval, deval): Likewise.
178 * sysdeps/ieee754/ldbl-128/e_j1l.c (neval, deval): Likewise, and
179 include local math header files.
181 2001-11-22 Andreas Jaeger <aj@suse.de>
183 * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Add brace to
186 2001-11-21 Andreas Jaeger <aj@suse.de>
188 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: New file.
190 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers): Add
193 2001-11-15 Andreas Jaeger <aj@suse.de>
195 * include/features.h (__GLIBC_HAVE_LONG_LONG): Define for
196 compilers that support it.
198 * posix/sys/types.h: Use __GLIBC_HAVE_LONG_LONG.
199 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
200 * stdlib/stdlib.h: Likewise.
202 2001-11-17 Ulrich Drepper <drepper@redhat.com>
204 * posix/regex.c (byte_re_match_2_internal): For gcc replace switch
205 statement with gotos.
206 Based on a patch by Paolo Bonzini <bonzini@pc-amo3.elet.polimi.it>.
208 2001-11-16 Stephen L Moshier <moshier@mediaone.net>
210 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfcl): Fix K&R header.
212 2001-11-15 Ulrich Drepper <drepper@redhat.com>
214 * sysdeps/generic/unwind-dw2-fde.c: Don't use recursive mutexes.
216 2001-10-02 Jakub Jelinek <jakub@redhat.com>
217 H.J. Lu <hjl@gnu.org>
219 * configure.in (libc_cv_gcc_static_libgcc): Set to -static-libgcc
220 if gcc supports this flag.
221 (EXPORT_UNWIND_FIND_FDE): Define unless target configure disables it.
222 (gcc3): Allow glibc to be compiled with gcc 3.x.
223 * config.h.in (EXPORT_UNWIND_FIND_FDE): Add.
224 * config.make.in (static-libgcc, unwind-find-fde): Add.
225 * Makerules (build-shlib-helper, build-module-helper): Use it.
226 * scripts/versions.awk: Make sure GLIBC_ versions come first.
227 * elf/soinit.c (__libc_global_ctors): Set tbases and dbases if
229 (_fini): Call __deregister_frame_info_bases if
230 __register_frame_info_bases was used to register.
231 * elf/Versions (__register_frame_info, __deregister_frame_info): Add
233 (__register_frame_info_bases, __register_frame_info_table_bases,
234 __deregister_frame_info_bases, _Unwind_Find_FDE): Add for GLIBC_2.2.5.
235 * elf/Makefile (routines): Add unwind-dw2-fde.
236 (shared-only-routines): Add unwind-dw2-fde.
237 * sysdeps/alpha/gccframe.h: New file.
238 * sysdeps/arm/gccframe.h: New file.
239 * sysdeps/generic/framestate.c: New file.
240 * sysdeps/generic/dwarf2.h: New file.
241 * sysdeps/generic/gccframe.h (struct object): Update from gcc 3.0.
242 * sysdeps/generic/unwind-dw2-fde.c: New file.
243 * sysdeps/unix/sysv/linux/ia64/unwind-dw2-fde.c: New file.
244 * sysdeps/generic/unwind-dw2-fde.h: New file.
245 * sysdeps/generic/unwind-dw2.c: New file.
246 * sysdeps/generic/unwind-pe.h: New file.
247 * sysdeps/generic/unwind.h: New file.
248 * sysdeps/hppa/gccframe.h: New file.
249 * sysdeps/i386/gccframe.h: New file.
250 * sysdeps/m68k/gccframe.h: New file.
251 * sysdeps/mips/gccframe.h: New file.
252 * sysdeps/powerpc/gccframe.h: New file.
253 * sysdeps/s390/gccframe.h: New file.
254 * sysdeps/sh/gccframe.h: New file.
255 * sysdeps/sparc/gccframe.h: New file.
256 * sysdeps/vax/gccframe.h: New file.
257 * sysdeps/unix/sysv/linux/configure.in (libc_cv_gcc_unwind_find_fde):
258 Set on all architectures except ia64.
259 * sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Set
261 * sysdeps/mach/hurd/i386/Versions (__register_frame_info,
262 __deregister_frame_info): Move to elf/Versions.
263 * sysdeps/unix/sysv/linux/m68k/Versions: Likewise.
264 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
265 * sysdeps/unix/sysv/linux/alpha/Versions: Likewise.
266 * sysdeps/unix/sysv/linux/i386/Versions: Likewise.
267 * sysdeps/unix/sysv/linux/mips/Versions: Likewise.
268 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
269 * sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise.
270 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
271 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
272 * sysdeps/mach/hurd/i386/Makefile (sysdep-routines): Add framestate.
273 * sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
274 * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
275 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
276 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
277 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
278 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
279 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
280 * sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
282 2001-11-15 Jeff Law <law@redhat.com>
284 * posix/regex.c (uintptr_t): Do not provide a definition if the
287 2001-11-13 Roland McGrath <roland@frob.com>
289 * stdio-common/tmpfile.c: Moved to ...
290 * sysdeps/generic/tmpfile.c: ... here.
291 * sysdeps/mach/hurd/tmpfile.c: New file.
293 * hurd/fopenport.c (__fopenport): Renamed from fopenport.
294 [USE_IN_LIBIO] (fopencookie): #define as _IO_fopencookie.
295 (fopenport): Define as weak alias.
297 * libio/iofopncook.c (_IO_fopencookie): Move forward declaration ...
298 * libio/libioP.h: ... to here.
300 2001-11-12 Ulrich Drepper <drepper@redhat.com>
302 * elf/dl-reloc.c (_dl_relocate_object): Avoid iterating over
303 program header twice. Construct list with the needed information.
305 2001-11-10 Ulrich Drepper <drepper@redhat.com>
307 * po/ca.po: Update from translation team.
309 * elf/dl-load.c (_dl_map_object_from_fd): Remove use of
310 _dl_pf_to_prot. Use arithmetic operation using PF_TO_PROT macro.
311 * sysdeps/generic/ldsodefs.h (PF_TO_PROT): New macro.
312 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
314 2001-11-10 Andreas Jaeger <aj@suse.de>
316 * sysdeps/ieee754/ldbl-128/e_log2l.c: New file.
317 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
318 Contributed by Stephen L Moshier <moshier@mediaone.net>.
320 2001-11-09 Ulrich Drepper <drepper@redhat.com>
322 * elf/dl-minimal.c (realloc): Handle NULL for first parameter
324 * elf/dl-load.c (is_dst): New function.
325 (_dl_dst_count): Use is_dst to check for DST variable.
326 (_dl_dst_substitute): Likewise.
328 2001-11-09 Roland McGrath <roland@frob.com>
330 Hurd/PowerPC port contributed by Peter Bruin <pjbruin@dds.nl>.
331 * sysdeps/mach/hurd/powerpc/exc2signal.c: New file.
332 * sysdeps/mach/hurd/powerpc/init-first.c: New file.
333 * sysdeps/mach/hurd/powerpc/intr-msg.h: New file.
334 * sysdeps/mach/hurd/powerpc/longjmp-ts.c: New file.
335 * sysdeps/mach/hurd/powerpc/register-dump.h: New file.
336 * sysdeps/mach/hurd/powerpc/sigreturn.c: New file.
337 * sysdeps/mach/hurd/powerpc/static-start.S: New file.
338 * sysdeps/mach/hurd/powerpc/trampoline.c: New file.
339 * sysdeps/mach/hurd/powerpc/bits/sigcontext.h: New file.
340 * sysdeps/mach/hurd/powerpc/Dist: New file.
342 * hurd/privports.c (__get_privileged_ports):
343 Only contact the proc server if necessary for this call.
344 Suggested by Neal H Walfield <neal@cs.uml.edu>.
345 Check error return for mach_port_mod_refs.
347 2001-11-09 Andreas Schwab <schwab@suse.de>
349 * sysdeps/unix/sysv/linux/m68k/bits/resource.h: New file.
351 2001-11-09 Ulrich Drepper <drepper@redhat.com>
353 * elf/dl-load.c (lose): Remove some unnecessary code. The new
354 object is always the last in the list.
355 (_dl_map_object_from_fd): Delete code to remove from object list
356 when DF_1_NOOPEN is seen. This is done in lose.
358 2001-11-08 Ulrich Drepper <drepper@redhat.com>
360 * elf/dl-object.c (_dl_new_object): Various small optimizations.
362 2001-11-07 Ulrich Drepper <drepper@redhat.com>
364 * sysdeps/generic/dl-cache.c: Optimize SEARCH_CACHE and
365 HWCAP_CHECK macro code.
367 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Optimize code a bit.
368 Now returns MAP_FAILED on error.
369 * elf/rtld.c: Adjust caller.
370 * sysdeps/generic/dl-cache.c: Likewise.
371 * sysdeps/generic/ldsodefs.h: Adjust description.
373 * elf/dl-version.c (match_symbol): Optimize error handling for size.
374 (_dl_check_map_versions): Likewise.
376 2001-11-06 Ulrich Drepper <drepper@redhat.com>
378 * elf/dl-load.c (_dl_map_object_from_fd): Don't call
379 _dl_signal_error directly, always use lose. Set fd to -1 after
381 (lose): Don't call close if fd == -1.
383 2001-11-07 Kaoru Fukui <k_fukui@highway.ne.jp>
385 * manual/charset.texi: Fix typo @w[ISO 6937] to @w{ISO 6937}.
386 Also fix typo @code {mbsinit} to @code{mbsinit}.
388 2001-11-06 Ulrich Drepper <drepper@redhat.com>
390 * elf/dl-profile.c: Replace state variable with simple flag named
391 running. Remove commented-out code.
393 * elf/dl-load.c (decompose_rpath): Optimize error handling for size.
394 (_dl_init_paths): Likewise.
395 (_dl_map_object_from_fd): Likewise.
396 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
398 2001-11-06 Roland McGrath <roland@frob.com>
400 * sysdeps/mach/powerpc/sysdep.h: Include sysdeps/unix/powerpc/sysdep.h
401 instead of sysdeps/powerpc/elf/sysdep.h and sysdeps/unix/sysdep.h.
403 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't include
404 sysdeps/powerpc/elf/sysdep.h.
405 Reported by Kaoru Fukui <k_fukui@highway.ne.jp>.
407 2001-11-05 Ulrich Drepper <drepper@redhat.com>
409 * elf/rtld.c (process_dl_debug): Rewritten. Optimized for size not
411 (process_envvars): Some more optimizations.
412 * sysdeps/generic/ldsodefs.h (DL_DEBUG_HELP): New macro.
414 * elf/elf.h: Add dynamic tag definitions for prelinking.
416 * elf/rtld.c (process_envvars): Avoid using array of string pointers.
417 Rewrite code to remove environment varables for SUID binaries.
418 Small optimization in LD_PROFILE handling.
419 * sysdeps/generic/unsecvars.h: Adjust format for process_envvars
421 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
423 * sysdeps/generic/dl-sysdep.c: Don't initialize _dl_cpuclock_offset.
425 * elf/dl-reloc.c (_dl_reloc_bad_type): Rewrite to not use writable
426 strings. Change type of second parameter.
427 * sysdeps/generic/ldsodefs.h: Adjust _dl_reloc_bad_type prototype
430 * io/fts.h: Prevent using <fts.h> with _FILE_OFFSET_BITS=64.
432 2001-11-04 Joseph S. Myers <jsm28@cam.ac.uk>
434 * manual/string.texi: Fix typos.
435 * manual/examples/argp-ex2.c: Likewise.
437 2001-11-05 Roland McGrath <roland@frob.com>
439 * sysdeps/powerpc/elf/sysdep.h: Remove this file, because it overrides
440 the more-specific unix/sysv/linux/powerpc file and breaks everything.
441 * sysdeps/powerpc/sysdep.h (ALIGNARG, ASM_TYPE_DIRECTIVE,
442 ASM_SIZE_DIRECTIVE, CALL_MCOUNT, ENTRY, EALIGN, DO_CALL, JUMPTARGET,
443 PSEUDO, PSEUDO_RET, PSEUDO_END, L, C_TEXT): These macros moved here
444 here, put under [__ELF__].
446 2001-11-05 Ulrich Drepper <drepper@redhat.com>
448 * manual/charset.texi: Extensive editing work.
449 * manual/nss.texi: Likewise.
450 Changes by Dennis Grace <dgrace@us.ibm.com>.
452 2001-11-04 Roland McGrath <roland@frob.com>
454 * hurd/set-host.c (_hurd_set_host_config): Use O_WRONLY in flags
455 parameter to dir_mkfile.
457 2001-11-02 Jakub Jelinek <jakub@redhat.com>
459 * string/bits/string2.h (__strndup): If n is smaller than len, set
461 * string/tester.c (test_strndup): New function.
464 2001-11-01 Ulrich Drepper <drepper@redhat.com>
466 * sunrpc/rpc_main.c: Optimize variable definitions a bit.
468 * sunrpc/Makefile (rpcgen-cmd): Use ../scripts/cpp in rpcgen calls.
469 * scripts/cpp: New file.
471 * elf/dl-load.c (_dl_map_object): Correct test of DF_1_NODEFLIB
472 for rtld_search_dirs content. Minor optimizations.
474 2001-10-31 Ulrich Drepper <drepper@redhat.com>
476 * elf/dl-load.c (_dl_map_object): Make code a bit more compact by
477 avoiding unnecessary duplication.
479 2001-10-31 Jakub Jelinek <jakub@redhat.com>
481 * elf/dl-load.c (_dl_map_object): If library was found using
482 LD_LIBRARY_PATH, don't try RUNPATH list.
484 2001-10-31 Martin Schwidefsky <schwidefsky@de.ibm.com>
486 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h (REGISTER_DUMP):
487 Correct second argument of register_dump call.
488 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h (REGISTER_DUMP):
491 2001-10-31 Ulrich Drepper <drepper@redhat.com>
493 * iconvdata/Makefile: Add support for IBM1132, IBM1133, and IBM1162
495 * iconvdata/TESTS: Likewise.
496 * iconvdata/gconv-modules: Likewise.
497 * iconvdata/ibm1132.c: New file.
498 * iconvdata/ibm1132.h: New file.
499 * iconvdata/ibm1133.c: New file.
500 * iconvdata/ibm1133.h: New file.
501 * iconvdata/ibm1162.c: New file.
502 * iconvdata/ibm1162.h: New file.
503 * iconvdata/testdata/IBM1132: New file.
504 * iconvdata/testdata/IBM1132..UTF8: New file.
505 * iconvdata/testdata/IBM1133: New file.
506 * iconvdata/testdata/IBM1133..UTF8: New file.
507 * iconvdata/testdata/IBM1162: New file.
508 * iconvdata/testdata/IBM1162..UTF8: New file.
509 Patches by Masahide Washizawa <WASHI@jp.ibm.com>.
511 * string/string.h: Fix typo in comment.
512 * wcsmbs/wchar.h: Likewise.
514 2001-10-30 Joseph S. Myers <jsm28@cam.ac.uk>
516 * manual/getopt.texi (getopt_long, getopt_long_only): Include
517 const in type of longopts parameter.
519 2001-10-29 Andreas Jaeger <aj@suse.de>
521 * sysdeps/ieee754/dbl-64/mpa.h: Add prototypes for internal functions.
523 2001-10-29 Kevin Ryde <user42@zip.com.au>
525 * manual/stdio.texi (Integer Conversions): Corrections to sample printf
526 output, clarify `#' behaviour on 0.
527 (Floating-Point Conversions): Clarify that %g only uses %e when
528 the exponent would be greater than 1.
530 2001-10-28 Roland McGrath <roland@frob.com>
532 Support for Mach/PowerPC contributed by Peter Bruin <pjbruin@dds.nl>.
533 * sysdeps/mach/powerpc/machine-sp.h: New file.
534 * sysdeps/mach/powerpc/sysdep.h: New file.
535 * sysdeps/mach/powerpc/thread_state.h: New file.
537 * sysdeps/mach/hurd/i386/Makefile: File removed; crt0.o rules moved ...
538 * sysdeps/mach/hurd/Makefile: ... to here. For the time being, we can
539 expect to need the same thing on every platform.
541 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: File moved ...
542 * sysdeps/generic/sys/ucontext.h: ... to replace this one.
544 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (ALIGNARG,
545 ASM_TYPE_DIRECTIVE, ASM_SIZE_DIRECTIVE, CALL_MCOUNT, ENTRY, EALIGN,
546 DO_CALL, JUMPTARGET, PSEUDO, PSEUDO_RET, PSEUDO_END, L, C_TEXT):
547 Move all these assembly-related definitions to ...
548 * sysdeps/powerpc/elf/sysdep.h: ... this new file.
550 * sysdeps/mach/powerpc/machine-lock.h: Assembly code rewritten
551 by Peter Bruin <pjbruin@dds.nl>.
553 * hurd/hurdselect.c (_hurd_select): Check SELECT_RETURNED bit when
554 packing results for a `poll' call.
556 2001-10-26 Ulrich Drepper <drepper@redhat.com>
558 * posix/fnmatch_loop.c: Recognize - at end of bracket expression
560 * posix/tst-fnmatch.input: Add tests for - at beginning and end of
563 * string/strxfrm.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get
565 * string/tst-strxfrm.c (test): Also test __strxfrm_l.
567 2001-10-24 H.J. Lu <hjl@gnu.org>
569 * sysdeps/generic/bits/dlfcn.h (DL_CALL_FCT): Cast to void *.
570 Use __BEGIN_DECLS/__END_DECLS around prototypes.
571 * sysdeps/mips/bits/dlfcn.h (DL_CALL_FCT): Likewise.
573 2001-10-21 Jim Meyering <meyering@lucent.com>
575 * malloc/obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
576 this code would end up calling gettext even in packages built
578 * posix/getopt.c (_): Likewise.
579 * posix/regex.c (_): Likewise.
581 2001-10-26 Ulrich Drepper <drepper@redhat.com>
583 * resolv/gethnamaddr.c (gethostbyaddr): Use ip6.addr for reverse
585 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
586 Reported by Martin.v.Loewis@t-online.de [PR libc/2598].
588 2001-10-19 Jakub Jelinek <jakub@redhat.com>
590 * misc/sys/cdefs.h (__attribute_used__): Define.
591 * elf/rtld.c (_dl_start): Add __attribute_used__.
592 * elf/dl-runtime.c (fixup, profile_fixup): Likewise.
594 2001-10-25 Andreas Schwab <schwab@suse.de>
596 * stdlib/a64l.c: Expect least significant digit first.
597 * stdlib/l64a.c: Produce least significant digit first.
598 * stdlib/Makefile (tests): Add test-a64l.
599 * stdlib/test-a64l.c: New file.
600 Reported by Masaki Hasegawa <masaki-h@pp.iij4u.or.jp>.
602 2001-10-21 Ulrich Drepper <drepper@redhat.com>
604 * po/sk.po: Update from translation team.
606 2001-10-18 Ulrich Drepper <drepper@redhat.com>
608 * sysdeps/i386/elf/start.S (_fp_hw): Define object type.
610 2001-10-18 Andreas Schwab <schwab@suse.de>
612 * math/libm-test.inc (print_ulps): Print ulp values rounded to
614 (print_function_ulps): Likewise.
615 (print_complex_function_ulps): Likewise.
616 (print_max_error): Likewise.
617 (print_complex_max_error): Likewise. Handle ignore_max_ulp.
619 2001-10-16 Andreas Schwab <schwab@suse.de>
621 * sysdeps/m68k/fpu/libm-test-ulps: Updated for fixed cbrtl
624 * sysdeps/m68k/setjmp.c: Also define setjmp and _setjmp if
625 BSD_SETJMP or BSD__SETJMP is defined, resp.
626 * sysdeps/m68k/bsd-setjmp.c: Inline setjmp code instead of making
627 a tail call to __sigsetjmp that would require extending the
629 * sysdeps/m68k/bsd-_setjmp.c: Likewise.
630 * sysdeps/m68k/bsd-setjmp.S: Deleted.
631 * sysdeps/m68k/bsd-_setjmp.S: Deleted.
632 Reported by Jes Sorensen <jes@trained-monkey.org>.
634 2001-10-16 Andreas Jaeger <aj@suse.de>
636 * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Fix
637 parentheses. Reported by David Byron <dbyron@porto.coactive.com>,
640 2001-10-15 Ulrich Drepper <drepper@redhat.com>
642 * po/ca.po: New file. Contributed by the translation team.
644 2001-10-15 Ralf Baechle <ralf@gnu.org>
646 * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Make sysmips() prototype
647 a varargs prototype. Remove dependency from kernel header files.
649 * sysdeps/unix/sysv/linux/mips/bits/termios.h: General cleanup, use
650 __USE_MISC / __USE_XOPEN not __USE_BSD where appropriate.
652 2001-10-14 Ulrich Drepper <drepper@redhat.com>
654 * locale/programs/ld-collate.c (handle_ellipsis): Use %lX not %lx
655 to generate hexadecimal identifier.
656 Patch by Jungshik Shin <jungshik.shin@yale.edu>.
658 2001-10-09 Stephen L Moshier <moshier@mediaone.net>
660 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Fix algorithm.
662 2001-10-14 Ulrich Drepper <drepper@redhat.com>
664 * sysdeps/ieee754/ldbl-128/e_powl.c: New file.
665 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: New file.
666 Contributed by Stephen L Moshier <moshier@mediaone.net>.
668 * sysdeps/ieee754/ldbl-128/e_j0l.c: Constify float variables.
669 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
670 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise
671 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise
672 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise
673 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise
675 * timezone/africa: Update from tzdata2001d.
676 * timezone/asia: Likewise.
677 * timezone/australasia: Likewise.
678 * timezone/backward: Likewise.
679 * timezone/europe: Likewise.
680 * timezone/leapseconds: Likewise.
681 * timezone/northamerica: Likewise.
682 * timezone/southamerica: Likewise.
683 * timezone/zone.tab: Likewise.
685 2001-10-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
687 * sysdeps/s390/s390-32/sys/ucontext.h: Correct __psw_t typedef.
688 * sysdeps/s390/s390-64/sys/ucontext.h: Likewise.
690 2001-10-12 Ulrich Drepper <drepper@redhat.com>
692 * elf/elf.h (PT_TLS): New definition.
694 2001-10-10 Jeff Bailey <jbailey@nisa.net>
696 * sysdeps/mach/hurd/Makefile: Add $(CFLAGS) for generation of
699 2001-10-07 Roland McGrath <roland@frob.com>
701 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Never return ENOSYS.
703 2001-10-10 Ulrich Drepper <drepper@redhat.com>
705 * elf/elf.h: Add more ELFOSABI_* constants.
707 2001-10-04 Ben Collins <bcollins@debian.org>
709 * sysdeps/generic/inttypes.h: Fix typo (define, not defined) in
710 decleration of __need_wchar_t.
712 2001-10-03 Jakub Jelinek <jakub@redhat.com>
714 * string/bits/string2.h (__strsep_g): Add prototype.
716 * string/Versions (__strsep): Remove.
717 * sysdeps/generic/strsep.c (__strsep_g): Add alias to __strsep.
719 2001-10-07 Ulrich Drepper <drepper@redhat.com>
721 * manua/llio.texi: Clarify file references added by mmap.
722 Patch by Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
724 2001-09-29 Jes Sorensen <jes@trained-monkey.org>
726 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
727 Add sc_loadrs and sc_rbs_bas to match current kernel.
729 2001-09-27 Jakub Jelinek <jakub@redhat.com>
731 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
733 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Fix erfc(-inf).
735 2001-09-27 Jakub Jelinek <jakub@redhat.com>
737 * elf/dl-open.c (dl_open_worker): If l_opencount of freshly loaded
738 object has been bumped because of relocation dependency, avoid
739 duplicates in l_scope.
740 (show_scope): Fix typos.
741 * elf/Makefile: Add rules to build and run reldep6.
742 * elf/reldep6.c: New file.
743 * elf/reldep6mod0.c: New file.
744 * elf/reldep6mod1.c: New file.
745 * elf/reldep6mod2.c: New file.
746 * elf/reldep6mod3.c: New file.
747 * elf/reldep6mod4.c: New file.
749 2001-09-26 Jakub Jelinek <jakub@redhat.com>
751 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Call
753 (sparc64_fixup_plt): Moved from elf_machine_fixup_plt. Optimize
754 near jumps and 0xfffff800XXXXXXXX target addresses, no thread safety
755 for non-lazy binding. Fix .plt[32768+] handling.
756 (elf_machine_plt_value): Don't add addend.
757 (elf_machine_rela): Call sparc64_fixup_plt instead of
758 elf_machine_fixup_plt.
759 (elf_machine_runtime_setup, TRAMPOLINE_TEMPLATE): Optimize for
760 dynamic linker at 0xfffff800XXXXXXXX.
762 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
764 2001-09-28 Ulrich Drepper <drepper@redhat.com>
766 * elf/elf.h: Define SHF_GROUP and SHF_TLS.
768 2001-09-25 Jakub Jelinek <jakub@redhat.com>
770 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (struct cmsghdr): Don't
771 declare __cmsg_data field if its size would be bigger than 0.
772 (CMSG_DATA): Adjust accordingly.
773 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
774 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Likewise.
775 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
776 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
777 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
778 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
779 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
781 2001-09-25 Ulrich Drepper <drepper@redhat.com>
783 * iconvdata/TESTS: Add entries for IBM1160 and IBM1161.
784 * iconvdata/testdata/IBM1160: New file.
785 * iconvdata/testdata/IBM1160..UTF8: New file.
786 * iconvdata/testdata/IBM1161: New file.
787 * iconvdata/testdata/IBM1161..UTF8: New file.
788 Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
790 2001-09-24 Ulrich Drepper <drepper@redhat.com>
792 * sysdeps/unix/bsd/ulimit.c (ulimit): Handle overflow in
793 UL_SETFSIZE computations better.
795 * rt/Makefile: Remove use of filter for librt again.
797 * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Handle overflow in
798 UL_SETFSIZE computations better.
800 * string/Versions: Export __strsep for GLIBC_2.2.5.
801 * string/bits/string2.h: Define all __STRING_INLINE functions if
802 _FORCE_INLINES is defined.
803 Use int instead of char of parameter types.
804 (__strsep): Don't use __strsep_g. Don't define it.
805 (__strsep_1c, __strsep_2c, __strsep_3c): Optimize.
806 * sysdeps/i386/i486/string.h (__strcpy_a_small): Renamed from
808 (__stpcpy_a_small): Renamed from __stpcpy_small.
809 (__strcspn_c1): Don't define if _FORCE_INLINES.
810 (__strspn_c1): Likewise.
812 2001-09-22 Ben Collins <bcollins@debian.org>
814 * sysdeps/sparc/bits/sigaction.h: Define SA_RESTART and friends when
815 _UNIX98_SOURCE is defined too. Matches generic/bits/sigaction.h.
816 * sysdeps/ia64/bits/sigaction.h: Likewise.
817 * sysdeps/s390/s390-64/bits/sigaction.h: Likewise.
819 2001-09-24 Andrew Haley <aph@cambridge.redhat.com>
821 * sysdeps/unix/sysv/linux/sh/Makefile (sysdep_headers): Add sys/io.h.
823 2001-09-24 Jakub Jelinek <jakub@redhat.com>
825 * elf/dl-open.c (dl_open_worker): Update l_scope_max.
827 2001-09-24 Ulrich Drepper <drepper@redhat.com>
829 * wcsmbs/wchar.h: Add __attribute_pure__ to mbsinit prototype.
831 2001-09-20 H.J. Lu <hjl@gnu.org>
833 * include/dlfcn.h (__RTLD_SPROF): New definiton.
834 * elf/dl-open.c (dl_open_worker): Return immediately after loading
836 * elf/sprof.c (main): Default to the filename if soname doesn't exist.
837 (load_shobj): Call dlopen with `RTLD_LAZY | __RTLD_SPROF'.
839 2001-09-20 H.J. Lu <hjl@gnu.org>
841 * elf/dl-profile.c (_dl_mcount): Use old *narcsp value for newarc,
844 2001-09-22 Ulrich Drepper <drepper@redhat.com>
846 * nss/getent.c: Accept -s parameter to overwrite rules in
847 nsswitch.conf. Patch by Nalin Dahyabhai <nalin@redhat.com>.
849 * nss/nss_files/files-network.c (LINE_PARSER): Pad addr string
850 with as many ".0" as necessary to form a complete address
851 inet_network understands.
853 * nss/getent.c: Various cleanups. Use simpler and fewer function
856 2001-09-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
858 * sysdeps/s390/s390-32/bits/setjmp.h: Correct pointer comparison in
860 * sysdeps/s390/s390-64/bits/setjmp.h: Likewise.
862 2001-09-22 Ulrich Drepper <drepper@redhat.com>
864 * iconvdata/Makefile: Add rules to build and distribute IBM1160 and
866 * iconvdata/gconv-modules: Add entries for IBM1160 and IBM1161.
867 * iconvdata/ibm1160.c: New file.
868 * iconvdata/ibm1160.h: New file.
869 * iconvdata/ibm1161.c: New file.
870 * iconvdata/ibm1161.h: New file.
871 Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
873 2001-09-19 Jakub Jelinek <jakub@redhat.com>
875 * sysdeps/alpha/dl-machine.h (elf_machine_load_address): Compute the
876 difference between base address and first PT_LOAD's virtual address,
877 not the base address.
879 2001-09-11 Tom Rix <trix@redhat.com>
881 * sysdeps/unix/sysv/aix/init-first.c (init): Use USE_NONONPTION_FLAG
882 ifdef for __getopt_clean_environment.
883 * sysdeps/unix/sysv/aix/libc-start.c: Add real implementation.
885 2001-09-22 Andreas Jaeger <aj@suse.de>
887 * elf/reldep4.c (main): Add proper prototype to fix warning.
889 * elf/reldep5.c (main): Remove unused variable.
891 * math/math_private.h: Add prototypes.
893 2001-09-21 Andreas Jaeger <aj@suse.de>
895 * sysdeps/unix/sysv/linux/x86_64/Dist: New file.
896 * sysdeps/x86_64/Dist: New file.
897 * sysdeps/x86_64/soft-fp/Dist: New file.
899 * sysdeps/gnu/Dist: Remove eval.c.
901 2001-09-20 Ulrich Drepper <drepper@redhat.com>
903 * malloc/memusage.c (realloc): Don't count already allocated
905 (me): Always use dlsym() to find the real implementations.
907 * malloc/memusage.sh: Make -n option actually do something.
909 2001-09-20 Andreas Jaeger <aj@suse.de>
911 * elf/elf.h (R_390_NUM): Correct value.
913 * Versions.def: Add missing versions 2.2.3 for libthread_db and
916 * sysdeps/unix/sysv/linux/configure.in: Add minimal kernel version
917 for x86-64, install x86-64 into */lib64.
919 * shlib-versions: Add x86-64.
921 * elf/elf.h: Add x86-64 relocations.
923 2001-09-19 Ulrich Drepper <drepper@redhat.com>
925 * po/fr.po: Update from translation team.
927 2001-09-19 Andreas Jaeger <aj@suse.de>
929 * sysdeps/unix/sysv/linux/x86_64/Makefile: New file.
930 * sysdeps/unix/sysv/linux/x86_64/Versions: New file.
931 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: New file.
932 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: New file.
933 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: New file.
934 * sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: New file.
935 * sysdeps/unix/sysv/linux/x86_64/bits/time.h: New file.
936 * sysdeps/unix/sysv/linux/x86_64/bits/types.h: New file.
937 * sysdeps/unix/sysv/linux/x86_64/brk.c: New file.
938 * sysdeps/unix/sysv/linux/x86_64/clone.S: New file.
939 * sysdeps/unix/sysv/linux/x86_64/fstatfs64.c: New file.
940 * sysdeps/unix/sysv/linux/x86_64/ftruncate64.c: New file.
941 * sysdeps/unix/sysv/linux/x86_64/fxstat.c: New file.
942 * sysdeps/unix/sysv/linux/x86_64/fxstat64.c: New file.
943 * sysdeps/unix/sysv/linux/x86_64/getdents.c: New file.
944 * sysdeps/unix/sysv/linux/x86_64/getdents64.c: New file.
945 * sysdeps/unix/sysv/linux/x86_64/getrlimit64.c: New file.
946 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
947 * sysdeps/unix/sysv/linux/x86_64/glob64.c: New file.
948 * sysdeps/unix/sysv/linux/x86_64/lxstat.c: New file.
949 * sysdeps/unix/sysv/linux/x86_64/lxstat64.c: New file.
950 * sysdeps/unix/sysv/linux/x86_64/mmap64.c: New file.
951 * sysdeps/unix/sysv/linux/x86_64/pread64.c: New file.
952 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: New file.
953 * sysdeps/unix/sysv/linux/x86_64/pwrite64.c: New file.
954 * sysdeps/unix/sysv/linux/x86_64/readdir.c: New file.
955 * sysdeps/unix/sysv/linux/x86_64/readdir64.c: New file.
956 * sysdeps/unix/sysv/linux/x86_64/readdir64_r.c: New file.
957 * sysdeps/unix/sysv/linux/x86_64/readdir_r.c: New file.
958 * sysdeps/unix/sysv/linux/x86_64/recv.c: New file.
959 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: New file.
960 * sysdeps/unix/sysv/linux/x86_64/send.c: New file.
961 * sysdeps/unix/sysv/linux/x86_64/setrlimit64.c: New file.
962 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: New file.
963 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: New file.
964 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: New file.
965 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: New file.
966 * sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: New file.
967 * sysdeps/unix/sysv/linux/x86_64/statfs64.c: New file.
968 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: New file.
969 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: New file.
970 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: New file.
971 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: New file.
972 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: New file.
973 * sysdeps/unix/sysv/linux/x86_64/syscall.S: New file.
974 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: New file.
975 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: New file.
976 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: New file.
977 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
978 * sysdeps/unix/sysv/linux/x86_64/truncate64.c: New file.
979 * sysdeps/unix/sysv/linux/x86_64/umount.c: New file.
980 * sysdeps/unix/sysv/linux/x86_64/vfork.S: New file.
981 * sysdeps/unix/sysv/linux/x86_64/xstat.c: New file.
982 * sysdeps/unix/sysv/linux/x86_64/xstat64.c: New file.
983 * sysdeps/unix/x86_64/sysdep.S: New file.
984 * sysdeps/unix/x86_64/sysdep.h: New file.
985 * sysdeps/x86_64/Implies: New file.
986 * sysdeps/x86_64/Makefile: New file.
987 * sysdeps/x86_64/Versions: New file.
988 * sysdeps/x86_64/__longjmp.S: New file.
989 * sysdeps/x86_64/abort-instr.h: New file.
990 * sysdeps/x86_64/atomicity.h: New file.
991 * sysdeps/x86_64/bits/endian.h: New file.
992 * sysdeps/x86_64/bits/setjmp.h: New file.
993 * sysdeps/x86_64/bits/string.h: New file.
994 * sysdeps/x86_64/bp-asm.h: New file.
995 * sysdeps/x86_64/bsd-_setjmp.S: New file.
996 * sysdeps/x86_64/bsd-setjmp.S: New file.
997 * sysdeps/x86_64/dl-machine.h: New file.
998 * sysdeps/x86_64/elf/initfini.c: New file.
999 * sysdeps/x86_64/elf/start.S: New file.
1000 * sysdeps/x86_64/ffs.c: New file.
1001 * sysdeps/x86_64/ffsll.c: New file.
1002 * sysdeps/x86_64/fpu/bits/fenv.h: New file.
1003 * sysdeps/x86_64/fpu/bits/mathdef.h: New file.
1004 * sysdeps/x86_64/fpu/e_acosl.c: New file.
1005 * sysdeps/x86_64/fpu/e_atan2l.c: New file.
1006 * sysdeps/x86_64/fpu/e_exp2l.S: New file.
1007 * sysdeps/x86_64/fpu/e_expl.c: New file.
1008 * sysdeps/x86_64/fpu/e_fmodl.S: New file.
1009 * sysdeps/x86_64/fpu/e_log10l.S: New file.
1010 * sysdeps/x86_64/fpu/e_log2l.S: New file.
1011 * sysdeps/x86_64/fpu/e_logl.S: New file.
1012 * sysdeps/x86_64/fpu/e_powl.S: New file.
1013 * sysdeps/x86_64/fpu/e_rem_pio2l.c: New file.
1014 * sysdeps/x86_64/fpu/e_scalbl.S: New file.
1015 * sysdeps/x86_64/fpu/e_sqrtl.c: New file.
1016 * sysdeps/x86_64/fpu/fclrexcpt.c: New file.
1017 * sysdeps/x86_64/fpu/fedisblxcpt.c: New file.
1018 * sysdeps/x86_64/fpu/feenablxcpt.c: New file.
1019 * sysdeps/x86_64/fpu/fegetenv.c: New file.
1020 * sysdeps/x86_64/fpu/fegetexcept.c: New file.
1021 * sysdeps/x86_64/fpu/fegetround.c: New file.
1022 * sysdeps/x86_64/fpu/feholdexcpt.c: New file.
1023 * sysdeps/x86_64/fpu/fesetenv.c: New file.
1024 * sysdeps/x86_64/fpu/fesetround.c: New file.
1025 * sysdeps/x86_64/fpu/fgetexcptflg.c: New file.
1026 * sysdeps/x86_64/fpu/fraiseexcpt.c: New file.
1027 * sysdeps/x86_64/fpu/fsetexcptflg.c: New file.
1028 * sysdeps/x86_64/fpu/ftestexcept.c: New file.
1029 * sysdeps/x86_64/fpu/libm-test-ulps: New file.
1030 * sysdeps/x86_64/fpu/math_ldbl.h: New file.
1031 * sysdeps/x86_64/fpu/printf_fphex.c: New file.
1032 * sysdeps/x86_64/fpu/s_atanl.c: New file.
1033 * sysdeps/x86_64/fpu/s_cosl.S: New file.
1034 * sysdeps/x86_64/fpu/s_expm1l.S: New file.
1035 * sysdeps/x86_64/fpu/s_fpclassifyl.c: New file.
1036 * sysdeps/x86_64/fpu/s_isinfl.c: New file.
1037 * sysdeps/x86_64/fpu/s_isnanl.c: New file.
1038 * sysdeps/x86_64/fpu/s_log1pl.S: New file.
1039 * sysdeps/x86_64/fpu/s_logbl.c: New file.
1040 * sysdeps/x86_64/fpu/s_nextafterl.c: New file.
1041 * sysdeps/x86_64/fpu/s_nexttoward.c: New file.
1042 * sysdeps/x86_64/fpu/s_nexttowardf.c: New file.
1043 * sysdeps/x86_64/fpu/s_rintl.c: New file.
1044 * sysdeps/x86_64/fpu/s_significandl.c: New file.
1045 * sysdeps/x86_64/fpu/s_sincosl.S: New file.
1046 * sysdeps/x86_64/fpu/s_sinl.S: New file.
1047 * sysdeps/x86_64/fpu/s_tanl.S: New file.
1048 * sysdeps/x86_64/gmp-mparam.h: New file.
1049 * sysdeps/x86_64/hp-timing.c: New file.
1050 * sysdeps/x86_64/hp-timing.h: New file.
1051 * sysdeps/x86_64/htonl.S: New file.
1052 * sysdeps/x86_64/memusage.h: New file.
1053 * sysdeps/x86_64/setjmp.S: New file.
1054 * sysdeps/x86_64/soft-fp/sfp-machine.h: New file.
1055 * sysdeps/x86_64/stackinfo.h: New file.
1056 * sysdeps/x86_64/sysdep.h: New file.
1057 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: New file.
1059 * sysdeps/ieee754/ldbl-128/s_erfl.c: New file, contributed Stephen
1062 2001-09-18 Ulrich Drepper <drepper@redhat.com>
1064 * malloc/malloc.c (ptmalloc_init): Handle _environ==NULL.
1065 Reported by B. D. Elliott <bde@nwlink.com> [PR libc/2541].
1067 2001-09-18 Andreas Schwab <schwab@suse.de>
1069 * elf/dl-load.c (_dl_map_object_from_fd): Update handling of scope
1070 list, now that l_scope is a pointer.
1072 * elf/dl-open.c (dl_open_worker): Fix thinko when enlarging the
1075 2001-09-18 kaz Kojima <kkojima@rr.iij4u.or.jp>
1077 * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix reverse condition.
1078 (elf_machine_rela_relative): Add a missing declaration.
1080 2001-09-18 Jakub Jelinek <jakub@redhat.com>
1082 * sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: New file.
1083 * sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed: New file.
1084 * sysdeps/unix/sysv/linux/configure.in: Add ia64 and s390
1085 ldd-rewrite scripts.
1087 2001-09-18 Ulrich Drepper <drepper@redhat.com>
1089 * elf/ldd.bash.in: Update copyright message.
1091 2001-09-17 H.J. Lu <hjl@gnu.org>
1093 * hurd/hurdmalloc.c (bcopy): Removed.
1094 (realloc): Replace bcopy with memcpy.
1095 * hurd/path-lookup.c (file_name_path_scan): Likewise.
1096 * resolv/gethnamaddr.c (map_v4v6_address): Likewise.
1097 * sunrpc/rpcinfo.c (pmapdump): Likewise.
1099 * resolv/gethnamaddr.c (getanswer): Replace bcopy with memmove.
1100 (gethostbyaddr): Likewise.
1101 * sunrpc/rpcinfo.c (get_inet_address): Likewise.
1103 2001-09-18 Ulrich Drepper <drepper@redhat.com>
1105 * sysdeps/gnu/eval.c: Removed.
1107 2001-09-18 Andreas Jaeger <aj@suse.de>
1109 * sysdeps/i386/fpu/s_logbl.S: Move to ...
1110 * sysdeps/i386/fpu/s_logbl.c: ...here, use inline assembler.
1112 * sysdeps/i386/fpu/s_rintl.S: Move to ...
1113 * sysdeps/i386/fpu/s_rintl.c: ...here, use inline assembler.
1115 * sysdeps/i386/fpu/s_significandl.S: Move to ...
1116 * sysdeps/i386/fpu/s_significandl.c: ...here, use inline assembler.
1118 2001-09-16 Ulrich Drepper <drepper@redhat.com>
1120 * string/strcoll.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get
1123 2001-09-14 H.J. Lu <hjl@gnu.org>
1125 * sysdeps/mips/fpu/libm-test-ulps: Updated.
1127 2001-09-14 Ulrich Drepper <drepper@redhat.com>
1129 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix a typo.
1130 Patch by Florian La Roche <laroche@redhat.com>.
1132 * string/bits/string2.h (__strtok_r_1c): Optimize a bit.
1134 * sysdeps/unix/sysv/linux/net/ethernet.h: Correct references to
1137 2001-09-14 Andreas Schwab <schwab@suse.de>
1139 * posix/execl.c: Fix last argument of memcpy. Reported by Brian
1140 Sumner <bls@sgi.com>.
1141 * posix/execlp.c: Likewise.
1143 2001-09-13 Jakub Jelinek <jakub@redhat.com>
1145 * elf/dl-deps.c (_dl_map_object_deps): Fix filter handling if filter
1146 is already found earlier in the search scope.
1148 2001-09-12 Jakub Jelinek <jakub@redhat.com>
1150 * rt/Makefile (LDFLAGS-rt.so): Use shared thread library as librt's
1153 2001-09-13 Ulrich Drepper <drepper@redhat.com>
1155 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust expected errors for j0.
1157 2001-09-12 Ulrich Drepper <drepper@redhat.com>
1159 * config.h.in: Enforce optimization to be used.
1160 * Makeconfig (preprocess-versions): Define ASSEMBLER.
1161 * stdlib/Makefile (isomac-CFLAGS): Define to -O.
1162 * posix/Makefile (annexc-CFLAGS): Define to -O.
1163 * sysdeps/unix/make-syscalls.sh: Define __OPTIMIZE__ in use of asm_CPP.
1165 2001-09-11 Ulrich Drepper <drepper@redhat.com>
1167 * nscd/nscd_gethst_r.c: Don't expect IPv6 addresses for IPv4 lookup.
1168 Patch by Stephan Kulow.
1170 2001-09-08 Ben Collins <bcollins@debian.org>
1172 * sysdeps/arm/dl-machine.h (elf_machine_rel): Fix thinko in
1173 usage of RESOLVE() (r_type, not reloc->r_type).
1175 2001-09-08 Ulrich Drepper <drepper@redhat.com>
1177 * elf/dl-object.c: Avoid allocating extra memory block for name.
1178 * elf/dl-close.c (_dl_close): Don't free l_libname if it is not
1179 allocated separately.
1180 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1182 2001-09-08 H.J. Lu <hjl@gnu.org>
1184 * po/zh_TW.po: Fix a typo.
1186 2001-09-07 Tom Rix <trix@redhat.com>
1188 * sysdeps/unix/sysv/aix/sysv_termio.h: New file.
1190 2001-08-26 Tom Rix <trix@redhat.com>
1192 * sysdeps/unix/sysv/aix/Makefile (aix-syscalls.o): More linker
1193 command line options.
1194 * sysdeps/unix/sysv/aix/start.s: New file, rework of start.c
1195 * sysdeps/unix/sysv/aix/start.c: Removed.
1196 * sysdeps/unix/sysv/aix/start-libc.c: New file.
1197 * sysdeps/unix/sysv/aix/init-first.c: New file.
1198 * sysdeps/unix/sysv/aix/fcntl.c: Alias __libc_fcntl to __fcntl.
1200 2001-09-08 Ben Collins <bcollins@debian.org>
1202 * sysdeps/arm/dl-machine.h: Fix usage of new _dl_signal_error() format.
1203 * sysdeps/generic/dl-machine.h: Likewise.
1204 * sysdeps/hppa/dl-fptr.c: Likewise.
1205 * sysdeps/ia64/dl-fptr.c: Likewise.
1206 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1207 * sysdeps/mips/dl-machine.h: Likewise.
1208 * sysdeps/mips/mips64/dl-machine.h: Likewise.
1209 * sysdeps/powerpc/dl-machine.c: Likewise.
1211 2001-09-07 Ben Collins <bcollins@debian.org>
1213 * sysdeps/sparc/sparc32/dl-machine.h: Fix typo.
1215 * sysdeps/hppa/dl-lookupcfg.h: Forward declare struct link_map.
1217 2001-09-08 Ulrich Drepper <drepper@redhat.com>
1219 * elf/dl-lookup.c (add_dependency): Bump l_opencount of all
1220 dependencies if necessary.
1222 * elf/dl-close.c (_dl_close): If object has no r_list (i.e., wasn't
1223 loaded directly) determine length if l_initfini list by iterating
1224 over its elements. Minor optimizations.
1225 * elf/dl-deps.c (_dl_map_object_deps): Always add own map to l_initfini
1226 for dependency objects.
1227 If object was already loaded check whether any of the dependencies
1228 is already on the relocation dependency list. If yes, remove the
1229 latter. Minor optimizations.
1230 * elf/dl-lookup.c (add_dependency): Add check for self reference of
1231 maps here. Search l_initfini list only if the object was loaded
1232 directly and not only as a dependency.
1233 (_dl_lookup_symbol): Add relocation dependency also if object
1234 is not in global scope. Remove test for self-reference here.
1235 (_dl_lookup_versioned_symbol): Likewise.
1236 * elf/dl-object (_dl_new_object): Cleanup. Initialize dont_free
1237 element of first name record.
1238 * elf/loadtest.c: Add some more test to recognize early if an object
1240 * elf/Makefile: Add rules to build and run reldep5.
1241 * elf/reldep5.c: New file.
1242 * elf/reldepmod5.c: New file.
1243 * elf/reldepmod6.c: New file.
1245 * elf/reldep2.c: Fix typo.
1247 2001-09-07 Ulrich Drepper <drepper@redhat.com>
1249 * include/link.h (struct link_map): Add l_scope_mem and l_scope_max
1250 elements. Change l_scope to be a pointer only.
1251 * elf/dl-object.c (_dl_new_object): Initialize l_scope and l_scope_max.
1252 * elf/dl-open.c (dl_open_worker): If dependency wasn't just opened
1253 here add searchlist of newly open file to the dependency's scope.
1254 * elf/dl-close.c (_dl_close): If dependency is used otherwise remove
1255 only searchlist from its scope. Free own scope array if necessary.
1256 * elf/Makefile (tests): Add dblload and dblunload now.
1258 2001-09-06 Andreas Jaeger <aj@suse.de>
1260 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: New file, contributed
1263 2001-09-05 Ulrich Drepper <drepper@redhat.com>
1265 * elf/Makefile: Add rules to build new tests. Don't run them yet since
1267 * elf/dblload.c: New file.
1268 * elf/dblloadmod1.c: New file.
1269 * elf/dblloadmod2.c: New file.
1270 * elf/dblloadmod3.c: New file.
1271 * elf/dblunload.c: New file.
1273 2001-09-04 Richard Henderson <rth@redhat.com>
1275 * elf/elf.h (R_ALPHA_OP_*, R_ALPHA_IMMED_*): Remove.
1276 (R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16.
1278 2001-09-04 Ulrich Drepper <drepper@redhat.com>
1280 Correct very misleading message for error in failed runtime relocation.
1281 * elf/dl-error.c (_dl_signal_error): Take extra parameter to describe
1283 (_dl_signal_cerror): Likewise.
1284 * sysdeps/generic/ldsodefs.h: Adjust prototypes.
1285 * elf/dl-close.c: Likewise.
1286 * elf/dl-deps.c: Likewise.
1287 * elf/dl-load.c: Likewise.
1288 * elf/dl-lookup.c: Likewise.
1289 * elf/dl-open.c: Likewise.
1290 * elf/dl-reloc.c: Likewise.
1291 * elf/dl-sym.c: Likewise.
1292 * elf/dl-version.c: Likewise.
1293 * sysdeps/generic/dl-sysdep.c: Likewise.
1295 2001-09-04 Jakub Jelinek <jakub@redhat.com>
1297 * iconv/strtab.c (strtabinit): Initialize null Strent.
1298 (newstring): Move len == 0 handling...
1299 (strtabadd): ...here.
1300 If len == 1, return null Strent.
1301 When inserting a suffix of an existing string, check if
1302 it is not equal to some suffix already recorded.
1303 Copy left and right members over if adding longer string.
1305 2001-09-04 Jakub Jelinek <jakub@redhat.com>
1307 * sunrpc/rpc_cout.c (upcase): Account for trailing '\0'.
1309 * sysdeps/unix/sysv/linux/alpha/gethostname.c: Include <errno.h>.
1310 (__syscall_gethostname): Add prototype.
1312 2001-09-04 Ulrich Drepper <drepper@redhat.com>
1314 * elf/dl-object.c (_dl_new_object): Remove unnecessary if.
1316 2001-09-02 Ulrich Drepper <drepper@redhat.com>
1318 * elf/rtld.c (dl_main): Increment l_opencount for main binary.
1320 2001-08-27 Roland McGrath <roland@frob.com>
1322 * sysdeps/unix/sysv/gethostname.c (__gethostname): When LEN is too
1323 short, copy that much into NAME anyway before returning error.
1325 2001-09-01 Richard Henderson <rth@redhat.com>
1327 * sysdeps/alpha/elf/Dist: Remove file.
1328 * sysdeps/alpha/elf/Makefile: Remove file.
1329 * sysdeps/alpha/elf/crtbegin.S: Remove file.
1330 * sysdeps/alpha/elf/crtend.S: Remove file.
1331 * sysdeps/alpha/elf/initfini.c: New file.
1333 2001-09-01 Mark Kettenis <kettenis@gnu.org>
1335 * iconv/tst-iconv1.c: Include <stddef.h> for wchar_t.
1336 * iconv/tst-iconv3.c: Likewise.
1338 2001-09-01 Jakub Jelinek <jakub@redhat.com>
1340 * sysdeps/generic/inttypes.h (__gwchar_t): Define to wchar_t for C++.
1342 2001-09-01 Ulrich Drepper <drepper@redhat.com>
1344 * iconv/gconv_cache.c: Rename variable cache to __gconv_cache and
1346 * iconv/Versions (libc) [GLIBC_2.2.5]: Export __gconv_cache.
1347 * iconv/iconv_prog.c (insert_cache): New function.
1348 (print_known_names): If cache is used call insert_cache to use the
1349 information from the cache [PR libc/2509].
1351 2001-08-31 Ulrich Drepper <drepper@redhat.com>
1353 * time/strptime.c (strptime_internal): Recognize 'l' format and
1354 handle it like 'I' for symmetry with strftime.
1356 2001-08-31 Richard Henderson <rth@redhat.com>
1358 * elf/dl-support.c (_dl_cpuclock_offset): Protect with NONAVAIL.
1359 (HP_TIMING_AVAIL): Set to HP_SMALL_TIMING_AVAIL if present.
1360 * elf/rtld.c (HP_TIMING_AVAIL): Likewise.
1361 (print_statistics): Make scalar unsigned long long.
1362 * sysdeps/alpha/hp-timing.h: New file.
1364 2001-08-31 Jakub Jelinek <jakub@redhat.com>
1366 * stdio-common/perror.c (perror): Save errno early, pass it
1367 down to perror_internal.
1368 (perror_internal): Add errnum argument.
1370 2001-08-31 Jakub Jelinek <jakub@redhat.com>
1372 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Remove unused code.
1373 Don't add old memory content for R_ALPHA_REFQUAD.
1375 2001-08-30 Ulrich Drepper <drepper@redhat.com>
1377 * crypt/md5-crypt.c (__md5_crypt_r): Compute used and required
1380 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Use __open
1381 instead of open, __close instead of close, __getpagesize instead
1384 * string/argz-stringify.c (__argz_stringify): Use __strnlen
1386 * include/string.h (strndupa): Redefine here to use __strnlen
1388 * string/strndup.c (__strndup): Use __strnlen not strnlen.
1390 * misc/syslog.c (vsyslog): Fix typo in last change (connect ->
1393 2001-08-30 Jakub Jelinek <jakub@redhat.com>
1395 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
1396 R_ALPHA_RELATIVE if RTLD_BOOTSTRAP and HAVE_Z_COMBRELOC. Only check
1397 for rtld map if neither RTLD_BOOTSTRAP nor HAVE_Z_COMBRELOC is defined.
1398 * sysdeps/i386/dl-machine.h (elf_machine_rel): Similarly.
1399 * sysdeps/ia64/dl-machine.h (elf_machine_rel): Similarly.
1400 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rel): Similarly.
1401 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rel): Similarly.
1403 2001-08-30 Ulrich Drepper <drepper@redhat.com>
1405 * sysdeps/alpha/fpu/libm-test-ulps: Adjust j0 ULPs.
1407 2001-08-30 Andreas Jaeger <aj@suse.de>
1409 * sysdeps/ieee754/ldbl-128/e_jnl.c: New file,
1410 contributed Stephen L Moshier.
1412 2001-08-30 Jakub Jelinek <jakub@redhat.com>
1414 * sunrpc/etc.rpc (sgi_fam): Add.
1416 2001-08-30 Ulrich Drepper <drepper@redhat.com>
1418 * sysdeps/unix/sysv/linux/alpha/gethostname.c: New file.
1420 2001-08-29 Ulrich Drepper <drepper@redhat.com>
1422 * nis/nis_findserv.c (__nis_findfastest): Don't fail if reply received
1423 first is from a previous call.
1424 Patch by Alexander Belopolsky <alexb@rentec.com> for [PR libc/3670].
1426 2001-08-29 Andreas Schwab <schwab@suse.de>
1428 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
1430 2001-08-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1432 * config.make.in (INSTALL_SCRIPT): Define.
1433 * Makeconfig (INSTALL_SCRIPT): Define.
1434 * Makerules (do-install-script): New macro to install scripts using
1436 (install-bin-script): New rule to install scripts with
1438 (install-bin-script-nosubdir): New rule.
1439 (install-no-libc.a-nosubdir): Add install-bin-script-nosubdir.
1440 (distinfo-vars): Add $(install-bin-script).
1441 * Rules (others): Likewise.
1442 * Makefile (glibcbug): Install with install-bin-script.
1443 * debug/Makefile (xtrace): Likewise.
1444 (catchsegv): Likewise.
1445 * elf/Makefile (ldd): Likewise.
1446 * malloc/Makefile (mtrace): Likewise.
1447 * timezone/Makefile (tzselect): Likewise.
1449 2001-08-29 H.J. Lu <hjl@gnu.org>
1451 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Pass
1452 ELF_RTYPE_CLASS_PLT, instead of R_MIPS_REL32, to
1453 _dl_lookup_versioned_symbol () and _dl_lookup_symbol ().
1455 2001-08-29 Andreas Schwab <schwab@suse.de>
1457 * sysdeps/m68k/fpu/libm-test-ulps: Updated.
1459 2001-08-28 H.J. Lu <hjl@gnu.org>
1461 * Makeconfig (combreloc-LDFLAGS): New variable.
1462 Add it to LDFLAGS.so, LDFLAGS-rtld, and +link.
1463 * config.make.in (have-z-combreloc): New variable.
1464 * configure.in: Substitute libc_cv_z_combreloc.
1466 2001-08-29 Ulrich Drepper <drepper@redhat.com>
1468 * po/sv.po: Update from translation team.
1469 * po/fr.po: Likewise.
1470 * po/da.po: Likewise.
1472 2001-08-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1474 * Makerules: Fix a typo: MD% -> MD5.
1476 2001-08-28 Ulrich Drepper <drepper@redhat.com>
1478 * sunrpc/rpc_hout.c (pargdef): Function must take pointer to object.
1479 Patch by Patrick Duval <Patrick.Duval@devinci.fr>.
1481 2001-08-28 Andreas Jaeger <aj@suse.de>
1483 * manual/libc-texinfo.sh: Add entry about free manuals.
1485 * manual/contrib.texi (Contributors): Fix cross reference.
1487 * manual/libc.texinfo (Copying): Include freemanuals.
1489 * manual/Makefile (appendices): Add freemanuals.
1491 * manual/freemanuals.texi: New file.
1492 Patch by Brian Youmans <3diff@gnu.org>.
1494 * manual/libm-err-tab.pl: Pretty print more platforms, print a
1497 * manual/math.texi (Errors in Math Functions): Fix grammar, start
1498 table on separate page.
1499 Patch by Brian Youmans <3diff@gnu.org>.
1501 2001-08-27 Ulrich Drepper <drepper@redhat.com>
1503 * misc/syslog.c (vsyslog): Try a bit harder to use syslogd. If
1504 the connection went down after we first used it try to connect
1505 again and resend the message before printing to the console.
1506 Reported by Coserea Gh. Tudor <tudore@tudore.gecadsoftware.com>.
1508 2001-08-27 Jakub Jelinek <jakub@redhat.com>
1510 * string/tst-strlen.c (main): Test strnlen (, -1) too.
1511 * sysdeps/generic/strnlen.c (__strnlen): Fix for maxlens with top
1514 2001-08-27 Ulrich Drepper <drepper@redhat.com>
1516 * iconv/strtab.c (searchstring): Use correct length for comparison.
1517 (strtabadd): Account total size correct if new string has old string as
1520 2001-08-27 Jakub Jelinek <jakub@redhat.com>
1522 * elf/rtld.c (dl_main): Update call to _dl_lookup_symbol.
1524 2001-08-27 Andreas Jaeger <aj@suse.de>
1526 * sysdeps/i386/fpu/libm-test-ulps (float): Add ulps for new tests.
1528 * math/libm-test.inc (j0_test): Add extra tests.
1529 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Use |x|,
1530 not x, in Hankel approximation.
1531 Patches by Stephen L Moshier.
1533 2001-08-26 Ulrich Drepper <drepper@redhat.com>
1535 * sysdeps/ia64/dl-lookupcfg.h: Add forward declaration for struct
1538 * configure.in: Fix test for .rela.dyn section.
1540 * elf/dl-runtime.c: Update calls to _dl_lookup_*.
1542 2001-08-26 Jakub Jelinek <jakub@redhat.com>
1544 * elf/dl-reloc.c (RESOLVE_MAP, RESOLVE): Use elf_machine_type_class
1545 instead of elf_machine_lookup_noexec_p and elf_machine_lookup_noplt_p.
1546 Pass type_class to _dl_lookup_*.
1547 * elf/dl-lookup.c (_dl_lookup_symbol): Take type_class parameter now.
1548 Pass around just type_class instead of noexec, noplt pair.
1549 (_dl_lookup_versioned_symbol): Likewise.
1550 (_dl_lookup_symbol_skip): Pass around just type_class instead of
1552 (_dl_lookup_versioned_symbol_skip): Likewise.
1553 (_dl_do_lookup, _dl_do_lookup_versioned): Likewise.
1554 * elf/do-lookup.h (do_lookup): Likewise.
1555 * include/link.h (struct link_map): Replace noexec and noplt fields
1556 in l_lookup_cache with type_class field.
1557 * sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_PLT,
1558 ELF_RTYPE_CLASS_COPY): Define.
1559 Adjust prototypes for _dl_lookup_symbol and
1560 _dl_lookup_versioned_symbol.
1561 * sysdeps/alpha/dl-machine.h (elf_machine_lookup_noplt_p,
1562 elf_machine_lookup_noexec_p): Remove.
1563 (elf_machine_type_class): Define.
1564 * sysdeps/arm/dl-machine.h: Likewise.
1565 * sysdeps/hppa/dl-machine.h: Likewise.
1566 * sysdeps/cris/dl-machine.h: Likewise.
1567 * sysdeps/i386/dl-machine.h: Likewise.
1568 * sysdeps/ia64/dl-machine.h: Likewise.
1569 * sysdeps/m68k/dl-machine.h: Likewise.
1570 * sysdeps/mips/mips64/dl-machine.h: Likewise.
1571 * sysdeps/mips/dl-machine.h: Likewise.
1572 * sysdeps/powerpc/dl-machine.h: Likewise.
1573 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1574 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1575 * sysdeps/sh/dl-machine.h: Likewise.
1576 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1577 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1579 2001-08-26 Ulrich Drepper <drepper@redhat.com>
1581 * manual/message.texi (Advanced gettext functions): Change
1582 description of plural forms for Slovak.
1583 Reported by Marcel Telka <marcel@telka.sk>.
1585 * manuaL/time.texi (Low-Level Time String Parsing): Fix description of
1586 %z. Reported by C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>.
1588 2001-08-26 Jakub Jelinek <jakub@redhat.com>
1590 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_lazy_rel): Fix a
1591 typo. Patch by Florian La Roche <laroche@redhat.com>.
1593 2001-08-26 Ulrich Drepper <drepper@redhat.com>
1595 * include/link.h (struct link_map): Add l_lookup_cache element.
1596 * elf/dl-reloc.c (RESOLVE): Add symbol caching here.
1597 (RESOLVE_MAP): Likewise.
1598 (_dl_relocate_object): Remove cache initialization.
1599 * elf/dl-lookup.c: Rip out cache handling code.
1600 * sysdeps/generic/ldsodefs.h: Remove lookup_cache struct and variable
1603 * elf/dl-lookup.c (_dl_lookup_symbol): Reorder some conditions and
1604 remove some __builtin_expect.
1605 (_dl_lookup_versioned_symbol): Likewise.
1607 * config.h.in: Add HAVE_Z_COMBRELOC.
1608 * configure.in: Add test for -z combreloc.
1610 * sysdeps/i386/dl-machine.h (elf_machine_rel): Minor cleanups and
1611 optimizations. Use HAVE_Z_COMBRELOC to avoid generaton of
1612 R_386_RELATIVE handling for ld.so startup. Reduce RTLD_BOOTSTRAP
1613 case to almost no code.
1615 2001-08-25 Ulrich Drepper <drepper@redhat.com>
1617 * po/tr.po: Update from translation team.
1619 2001-08-24 Andreas Jaeger <aj@suse.de>
1621 * iconv/Makefile (extra-objs): Add iconvconfig-modules so that
1624 2001-08-24 Ulrich Drepper <drepper@redhat.com>
1626 * elf/rtld.c (print_statistics): Printf % after percent values.
1627 * elf/dl-misc.c (_dl_debug_vdprintf): Implement %%.
1629 * elf/dl-lookup.c (_dl_lookup_symbol): If we use the cache we
1630 don't have to compute the hash value and initialize current_value.
1631 Move reference_name variable to where it is needed.
1632 (_dl_lookup_versioned_symbol): Likewise.
1634 2001-08-24 Roland McGrath <roland@frob.com>
1636 * string/tester.c (test_strerror): Don't use _sys_errlist/_sys_nerr.
1637 Just test that strerror returns non-null for a few errno codes.
1639 2001-08-23 Roland McGrath <roland@frob.com>
1641 * hurd/Versions (libc: GLIBC_2.2.5): New set; add _hurd_raise_signal,
1642 _hurdsig_interrupt_timeout, _hurdsig_fault_preemptor.
1644 * sysdeps/posix/shm_unlink.c (shm_unlink): __unlink -> unlink.
1646 * mach/Versions (libc: GLIBC_2.2.5): New set; add __mach_msg_destroy,
1649 2001-08-24 Ulrich Drepper <drepper@redhat.com>
1651 * nss/test-netdb.c (test_hosts): Don't segfault if gethostname
1654 * elf/do-rel.h (elf_dynamic_do_rel): Fix problem with ld.so
1655 startup. Explicitly remove lazy part for RTLD_BOOTSTRAP since gcc
1657 * elf/rtld.c: Include <sys/param.h>.
1658 * elf/dl-reloc.c: Likewise.
1660 2001-08-24 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1662 * sysdeps/unix/sysv/linux/mips/configure.in: Define AC_SUBST to
1663 empty to prevent junk from being generated.
1664 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1666 2001-08-24 Jakub Jelinek <jakub@redhat.com>
1668 * elf/do-rel.h (elf_dynamic_do_rel): If l_addr is 0, skip relative
1669 records. Rename endrel to relative, initialize it to r, and use it
1670 in elf_machine_rel_relative calls. Point r after relative relocs.
1672 2001-08-24 Ulrich Drepper <drepper@redhat.com>
1674 * sysdeps/i386/dl-machine.h (elf_machine_rel): Correct prediction
1677 2001-08-24 Jakub Jelinek <jakub@redhat.com>
1679 * elf/do-rel.h (elf_machine_rel_relative): Define for rela if
1680 necessary. Undefine newly defined macros at the end.
1681 * sysdeps/hppa/dl-machine.h (elf_machine_rela_relative):
1682 Rename from elf_machine_rel_relative.
1683 * sysdeps/cris/dl-machine.h (elf_machine_rela_relative): Likewise.
1684 * sysdeps/m68k/dl-machine.h (elf_machine_rela_relative): Likewise.
1685 * sysdeps/powerpc/dl-machine.h (elf_machine_rela_relative): Likewise.
1686 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela_relative):
1688 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela_relative):
1690 * sysdeps/ia64/dl-machine.h (elf_machine_rela_relative): Likewise.
1692 * sysdeps/alpha/dl-machine.h (elf_machine_rela_relative): Likewise.
1694 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela_relative):
1695 Likewise. Fix argument types.
1696 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela_relative):
1697 Likewise. Fix argument types.
1698 * sysdeps/sh/dl-machine.h (elf_machine_rela_relative): Likewise.
1700 * sysdeps/mips/dl-machine.h (elf_machine_rel_relative): Use
1701 ElfW(Rel) in argument.
1702 * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel_relative): New
1705 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
1707 * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix typo.
1709 2001-08-24 Andreas Jaeger <aj@suse.de>
1711 * sysdeps/ieee754/ldbl-128/e_j1l.c: New file, contributed by
1712 Stephen L Moshier <moshier@mediaone.net>.
1714 2001-08-24 Ulrich Drepper <drepper@redhat.com>
1716 * elf/do-rel.h (elf_dynamic_do_rel): RELATIVE relocations comes
1717 first if RELCOUNT is set.
1719 * elf/do-rel.h (elf_dynamic_do_rel): If not relocating lazily, don't
1720 call elf_machine_rel for the last DT_RELCOUNT relocations but instead
1721 elf_machine_rel_relative.
1722 * sysdeps/alpha/dl-machine.h: Define elf_machine_rel_relative.
1723 Minor optimizations.
1724 * sysdeps/arm/dl-machine.h: Likewise.
1725 * sysdeps/cris/dl-machine.h: Likewise.
1726 * sysdeps/hppa/dl-machine.h: Likewise.
1727 * sysdeps/i386/dl-machine.h: Likewise.
1728 * sysdeps/ia64/dl-machine.h: Likewise.
1729 * sysdeps/m68k/dl-machine.h: Likewise.
1730 * sysdeps/mips/dl-machine.h: Likewise.
1731 * sysdeps/powerpc/dl-machine.h: Likewise.
1732 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1733 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1734 * sysdeps/sh/dl-machine.h: Likewise.
1735 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1736 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1738 2001-08-23 Roland McGrath <roland@frob.com>
1740 * rt/tst-aio4.c [! SIGRTMIN] (SIGRTMIN, SIGRTMAX): Define as -1.
1742 * sysdeps/mach/hurd/bits/libc-lock.h: New file, initially copied from
1743 sysdeps/mach version. Implement counting ("recursive") mutexes
1744 on top of cthreads mutexes.
1745 * sysdeps/mach/hurd/bits/stdio-lock.h: File removed; generic now works.
1747 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Define to
1748 _LIBC_LOCK_RECURSIVE_INITIALIZER if defined, else do an #error.
1749 (__libc_cleanup_region_start, __libc_cleanup_region_end,
1750 __libc_clean_end): Define these to call the cleanup function after
1751 normal exit when they're supposed to.
1753 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start):
1754 Take new first arg DOIT, a boolean saying whether to really install
1755 any cleanup handler.
1756 (__libc_cleanup_region_end): Do nothing if start's DOIT arg was zero.
1757 (__libc_cleanup_end): Likewise.
1758 * sysdeps/generic/bits/libc-lock.h: Same changes.
1759 * stdio-common/vfscanf.c (LOCK_STREAM): Pass new arg.
1760 * stdio-common/vfprintf.c (buffered_vfprintf, vfprintf): Likewise.
1761 * sysdeps/mach/hurd/bits/stdio-lock.h (_IO_cleanup_region_start):
1763 * misc/syslog.c (vsyslog, openlog, closelog): Likewise.
1764 * sysdeps/generic/bits/stdio-lock.h
1765 (_IO_cleanup_region_start, _IO_cleanup_region_start_noarg): Likewise.
1767 2001-08-23 Jakub Jelinek <jakub@redhat.com>
1769 * elf/ldconfig.c (search_dir): Remove stale symlinks.
1771 2001-08-23 Jakub Jelinek <jakub@redhat.com>
1773 * elf/dl-lookup.c (lookup_cache, lookup_cache_versioned): New.
1774 (_dl_lookup_symbol): Lookup relocations in cache and store successfull
1776 (_dl_lookup_versioned_symbol): Likewise.
1777 * elf/dl-reloc.c (_dl_relocate_object): Initialize cache for
1779 * elf/rtld.c (print_statistics): Output _dl_num_cache_relocations.
1780 * sysdeps/generic/ldsodefs.h (struct lookup_cache): New definition.
1781 (lookup_cache, lookup_cache_versioned): Add declarations.
1783 2001-08-23 Ulrich Drepper <drepper@redhat.com>
1785 * stdlib/tst-random.c (main): Swap parameters in fail call.
1786 Patch by Pete Bevin <pete@petebevin.com>.
1788 2001-08-23 Jakub Jelinek <jakub@redhat.com>
1790 * sysdeps/generic/inttypes.h: Use __gwchar_t instead of __wchar_t.
1792 2001-08-23 Ulrich Drepper <drepper@redhat.com>
1794 * malloc/obstack.c: Indent preprocessor directives.
1795 Patch by Jim Meyering <meyering@ascend.com>.
1797 * po/ja.po: Update from translation team.
1799 2001-08-23 Roland McGrath <roland@frob.com>
1801 * libio/tst-ungetwc1.c (main): Add a const to quiet a warning.
1803 * nss/test-netdb.c (test_hosts): Don't use MAXHOSTNAMELEN.
1804 Instead, use dynamic buffer to test gethostname's ENAMETOOLONG error.
1806 2001-08-22 Roland McGrath <roland@frob.com>
1808 * sysdeps/generic/ldsodefs.h (_dl_load_lock): Declare it here with
1809 __libc_lock_define_recursive.
1810 * elf/dl-open.c: Don't declare it here any more.
1811 * elf/dl-close.c: Likewise.
1812 * elf/dl-lookup.c: Likewise.
1813 * elf/dl-iteratephdr.c: Likewise.
1814 * elf/dl-lookup.c (add_dependency): Use __libc_lock_lock_recursive and
1815 __libc_lock_unlock_recursive.
1816 * elf/dl-close.c (_dl_close): Likewise
1817 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise
1818 * elf/dl-open.c (_dl_open): Likewise
1820 * sysdeps/generic/bits/libc-lock.h
1821 (__libc_lock_define_recursive): New macro.
1822 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_t): Use it.
1823 (_IO_lock_lock): Use __libc_lock_lock_recursive.
1824 (_IO_lock_unlock): Use __libc_lock_unlock_recursive.
1826 * conform/conformtest.pl (checknamespace): Sort the output list.
1828 * sysdeps/generic/bits/poll.h (POLLWRBAND): New alias for POLLOUT.
1829 (POLLRDNORM, POLLRDBAND, POLLWRNORM, POLLWRBAND): Make these
1830 definitions conditional on [__USE_XOPEN].
1832 * sysdeps/mach/hurd/bits/fcntl.h (O_ASYNC, O_FSYNC, O_SYNC): Define
1833 these unconditionally, not only use [__USE_BSD], so as to match
1834 the sysdeps/unix/sysv/linux files.
1836 2001-08-22 Ulrich Drepper <drepper@redhat.com>
1838 * test-skeleton.c (add_temp_file): Add __attribute__ ((unused)) to
1841 * dlfcn/tst-dladdr.c (do_test): Get address of ref1 using
1844 2001-08-22 Roland McGrath <roland@frob.com>
1846 * sysdeps/generic/bits/sigaction.h (struct sigaction): Fix up
1847 conditionalization of sa_handler/sa_sigaction member types to
1848 match the sysdeps/unix/sysv/linux file.
1850 2001-08-22 Ulrich Drepper <drepper@redhat.com>
1852 * elf/dl-addr.c (_dl_addr): Handle broken binaries with zero
1853 symbol sizes a bit better.
1855 * sysdeps/ia64/strncpy.S: Complete rewrite.
1856 Contributed by Jakub Jelinek <jakub@redhat.com>.
1858 * string/stratcliff.c (main): Add strncpy test.
1860 2001-08-22 Roland McGrath <roland@frob.com>
1862 * sysdeps/generic/dl-environ.c: Include <stdlib.h> and <unistd.h>,
1863 and don't declare unsetenv or _environ directly.
1864 (unsetenv): Return int, not void. Use __environ instead of _environ.
1866 2001-08-01 Mark Kettenis <kettenis@gnu.org>
1868 * sysdeps/unix/bsd/bsd4.4/Makefile: New file.
1869 * sysdeps/unix/bsd/bsd4.4/Versions: New file.
1870 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: New file.
1871 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Correct
1872 test for cmsg struct size.
1874 2001-04-23 Paul Eggert <eggert@twinsun.com>
1876 * posix/getopt.h (getopt_long, getopt_long_only, _getopt_internal):
1877 Rename __argc to ___argc in prototypes to avoid compatibility
1878 problems with systems that reserve the identifier "__argc".
1879 Similarly for __argv.
1881 2001-08-21 Roland McGrath <roland@frob.com>
1883 * stdio-common/tst-fseek.c: Include <time.h> for `time' declaration.
1885 * mach/Makefile (tests): Removed.
1886 * mach/hello.c: File removed.
1888 2001-08-22 Ulrich Drepper <drepper@redhat.com>
1890 * po/sv.po: Update from translation team.
1892 * stdio-common/vfscanf.c: Fix handling of %l[].
1893 Reported by Mitsuru Chinen <mchinen@yamato.ibm.com>.
1895 * libio/Makefile (tests): Add tst-sscanf.
1896 * libio/tst-sscanf.c: New file.
1898 * elf/dl-addr.c (_dl_addr): Fix tests to determine dli_sname.
1899 * malloc/mtrace.c (tr_where): dli_sname always points to a
1900 non-empty string if != NULL.
1901 Reported by Tim Janik <timj@gtk.org>.
1903 2001-08-22 Jakub Jelinek <jakub@redhat.com>
1905 * sunrpc/xdr_rec.c (xdrrec_create): Fix buf sizes before allocating
1906 buf. Free resources on failure.
1907 * sunrpc/svc_unix.c (svcunix_create): Free resources on failure.
1908 (makefd_xprt): Likewise.
1909 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
1910 * sunrpc/svc_tcp.c (svctcp_create, makefd_xprt): Likewise.
1911 * sunrpc/auth_unix.c (authunix_create): Likewise.
1913 2001-08-21 Jakub Jelinek <jakub@redhat.com>
1915 * string/strnlen.c: Remove.
1916 * sysdeps/generic/strnlen.c: New file.
1917 * sysdeps/i386/i486/bits/string.h (strnlen): Remove.
1919 2001-08-21 Roland McGrath <roland@frob.com>
1921 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Define this
1922 as a macro, not an extern inline function.
1924 * hurd/Versions (GLIBC_2.2.5): New set, define __hurd_fail here.
1925 * Versions.def (libc): Add GLIBC_2.2.5 set.
1926 * hurd/hurd.h (_HURD_H_EXTERN_INLINE): New macro.
1927 (__hurd_fail): Use that instead of _EXTERN_INLINE in decl.
1929 2001-08-20 Roland McGrath <roland@frob.com>
1931 * hurd/hurdlookup.c (__hurd_file_name_lookup): Fail with ENOENT for "".
1932 (__hurd_file_name_split, __hurd_directory_name_split): Likewise.
1934 2001-08-21 Ulrich Drepper <drepper@redhat.com>
1936 * string/bits/string2.h: Remove strnlen optimization here.
1937 * sysdeps/i386/i486/bits/string.h: Add it here.
1939 2001-08-21 Wolfram Gloger <wg@malloc.de>
1941 * malloc/malloc.c: Make access to ..._hook pointers thread-safe.
1943 2001-08-21 Ulrich Drepper <drepper@redhat.com>
1945 * po/gl.po: Update from translation team.
1947 2001-08-20 Ulrich Drepper <drepper@redhat.com>
1949 * misc/error.c (error_tail): Use fputws_unlocked instead of fputws.
1950 * misc/err.c (convert_and_print): Likewise.
1952 * malloc/obstack.c (print_and_abort): Use fprintf instead of two
1955 2001-08-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
1957 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Revert the
1958 change of the gregset_t type.
1959 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1961 2001-08-20 kaz Kojima <kkojima@rr.iij4u.or.jp>
1963 * sysdeps/unix/sysv/linux/sh/sysdep.S: Align errno.
1965 2001-08-20 Ulrich Drepper <drepper@redhat.com>
1967 * posix/regex.c (truncate_wchar): Use wcrtomb not wctomb.
1969 * string/strnlen.c: Fix the implementation. We cannot use memchr.
1971 2001-08-18 Mark Kettenis <kettenis@gnu.org>
1973 * sysdeps/mach/hurd/i386/init-first.c (init): Initialize __environ
1974 before calling the cthreads initialization code.
1976 2001-08-20 Ulrich Drepper <drepper@redhat.com>
1978 * argp/argp-help.c: Fix two problems introduced in last change.
1980 * include/dirent.h: Include <dirstream.h> first.
1982 2001-08-19 Ulrich Drepper <drepper@redhat.com>
1984 * io/fts.c (fts_safe_changedir): Use __fxstat64 instead of __fstat.
1986 * sunrpc/svcauth_des.c (_svcauth_des): Avoid using bcopy.
1987 * sunrpc/xdr_rec.c: Likewise.
1988 * sunrpc/xdr_mem.c: Likewise.
1989 * sunrpc/svc_authux.c (_svcauth_unix): Likewise.
1990 * sunrpc/rpc_cmsg.c: Likewise.
1991 * sunrpc/getrpcport.c (getrpcport): Likewise.
1992 * sunrpc/clnt_simp.c (callrpc): Likewise.
1993 * sunrpc/clnt_gen.c (clnt_create): Likewise.
1994 * string/envz.c: Likewise.
1996 * po/ko.po: Update from translation team.
1998 * argp/argp-help.c: Handle wide oriented stderr stream.
2000 2001-08-18 Ulrich Drepper <drepper@redhat.com>
2002 * sysdeps/generic/strtol.c: Little optimizations. Add some
2005 * conform/conformtest.pl: <inttypes.h> test requires <stddef.h>.
2007 * wcsmbs/wchar.h (wcwdith): Change parameter type to wchar_t.
2008 * wcsmbs/wcwidth.c (wcwdith): Likewise.
2009 * wcsmbs/wcwidth.h (internal_wcwdith): Likewise.
2011 * conform/data/unistd.h-data: Remove _SC_MULTIPLE_PROCESS.
2013 * conform/data/ucontext.h-data: Fix typos in ucontext_t element tests.
2015 * time/time.h (struct timespec): Use __time_t for tv_sec element.
2017 * sysdeps/generic/inttypes.h: Define __wchar_t. Use it instead of
2018 wchar_t for function declarations and defintions.
2020 * misc/sys/select.h: Define __need_time_t before including <time.h>.
2021 Define suseconds_t if it hasn't happened yet.
2023 * iconv/gconv.h: Define __need_wchar_t before including <stddef.h>.
2025 * conform/data/sys/uio.h-data: Allow UIO_MAXIOV to be defined.
2027 * sysdeps/generic/stdint.h: Don't get definition of wchar_t from
2030 * conform/data/stddef.h-data: Remove wint_t.
2032 * conform/conformtest.pl: Change namespace test to take #undef
2035 * conform/data/netinet/in.h-data: Fix typo in allow-header line.
2037 * conform/data/sys/socket.h-data: Add sockatmark.
2039 2001-08-17 Ulrich Drepper <drepper@redhat.com>
2041 * io/fts.c: Update from recent BSD source.
2043 2001-08-17 Roland McGrath <roland@frob.com>
2045 * stdio-common/perror.c (perror) [! USE_IN_LIBIO]: Don't use _IO_fwide.
2046 * misc/error.c (error_tail, error, error_at_line) [! USE_IN_LIBIO]:
2049 2001-08-17 Ulrich Drepper <drepper@redhat.com>
2051 * locale/duplocale.c (__duplocale): Also initialize the special
2054 * conform/data/netdb.h-data: Adjust gai_strerror return type.
2056 2001-08-17 Andreas Jaeger <aj@suse.de>
2058 * misc/getpass.c: Include wchar.h for prototypes.
2059 * malloc/obstack.c: Likewise.
2061 2001-08-17 Ulrich Drepper <drepper@redhat.com>
2063 * sunrpc/svc_simple.c (universal): Use __write instead of write.
2065 * wcsmbs/wcscoll.c: Also define __wcscoll.
2066 * include/wchar.h: Declare __wcscoll.
2068 * libio/fwprintf.c: Use __vfwprintf instead of vfwprintf.
2069 * libio/vwprintf.c: Likewise.
2070 * libio/wprintf.c: Likewise.
2072 * iconv/gconv_cache.c: Use __munmap instead of munmap.
2074 2001-08-16 Ulrich Drepper <drepper@redhat.com>
2076 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
2078 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
2079 wcslen, and __wcscoll instead of wcscoll.
2081 * sysdeps/unix/sockatmark.c (sockatmark): Use __ioctl instead of ioctl.
2083 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue): Use
2084 __getuid instead of getuid.
2086 * stdio-common/perror.c (perror): Use __close instead of close.
2087 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
2088 * libio/freopen.c (freopen): Likewise.
2089 * libio/freopen64.c (freopen64): Likewise.
2091 * libio/tst-ungetwc2.c (main): Define str const.
2093 * include/wchar.h: Add prototypes for __fwprintf and __vfwprintf.
2094 * libio/fwprintf.c: Also define __fwprintf.
2095 * stdio-common/vfprintf.c [COMPILE_WPRINTF]: Also define __vfwprintf.
2096 * argp/argp-fmtstream.c: Handle wide oriented stderr stream.
2097 * assert/assert-perr.c: Likewise.
2098 * assert/assert.c: Likewise.
2099 * gmon/gmon.c: Likewise.
2100 * inet/rcmd.c: Likewise.
2101 * malloc/obstack.c: Likewise.
2102 * misc/err.c: Likewise.
2103 * misc/error.c: Likewise.
2104 * misc/getpass.c: Likewise.
2105 * posix/getopt.c: Likewise.
2106 * resolv/res_hconf.c: Likewise.
2107 * stdio-common/perror.c: Likewise.
2108 * stdio-common/psignal.c: Likewise.
2109 * stdlib/fmtmsg.c: Likewise.
2110 * sunrpc/auth_unix.c: Likewise.
2111 * sunrpc/clnt_perr.c: Likewise.
2112 * sunrpc/clnt_tcp.c: Likewise.
2113 * sunrpc/clnt_udp.c: Likewise.
2114 * sunrpc/clnt_unix.c: Likewise.
2115 * sunrpc/svc_simple.c: Likewise.
2116 * sunrpc/svc_tcp.c: Likewise.
2117 * sunrpc/svc_udp.c: Likewise.
2118 * sunrpc/svc_unix.c: Likewise.
2119 * sunrpc/xdr.c: Likewise.
2120 * sunrpc/xdr_array.c: Likewise.
2121 * sunrpc/xdr_rec.c: Likewise.
2122 * sunrpc/xdr_ref.c: Likewise.
2123 * sysdeps/generic/wordexp.c: Likewise.
2125 * po/it.po: Update from translation team.
2127 * misc/err.c: Handle wide oriented stderr stream.
2129 2001-08-14 Tom Rix <trix@redhat.com>
2131 * iconv/gconv_cache.c (find_module): Add #ifndef STATIC_GCONV.
2132 * iconv/Makefile: Fix gconv_cache.c CFLAGS.
2134 2001-08-13 Tom Rix <trix@redhat.com>
2136 * sysdeps/unix/sysv/aix/Makefile: Add rule to import kernel symbols.
2137 * sysdeps/unix/sysv/aix/bits/types.h: Fix type of __id_t, __useconds_t
2140 2001-08-15 Martin Schwidefsky <schwidefsky@de.ibm.com>
2142 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S (__getcontext):
2143 Store the access registers to the ucontext structure.
2144 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S (__getcontext):
2147 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S (__setcontext):
2148 Load the access registers from the ucontext structure.
2149 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S (__setcontext):
2152 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: Adjust the SC_xxx
2153 offsets to the new ucontext layout.
2154 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: Likewise.
2156 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix the layout
2157 of the ucontext structure.
2158 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2160 2001-08-15 Ulrich Drepper <drepper@redhat.com>
2162 * misc/error.c (error): Handle wide oriented stderr stream correctly.
2163 (error_at_line): Likewise.
2165 * stdio-common/perror.c (perror): Implement according to standard.
2166 The stream orientation must not be changed if the stream was not
2167 oriented before the call.
2168 * stdio-common/Makefile (tests): Add tst-perror.
2169 * stdio-common/tst-perror.c: New file.
2172 See ChangeLog.12 for earlier changes.