1 2001-12-05 Geoff Keating <geoffk@redhat.com>
3 * scripts/cpp: Test the exit status from 'type', not 'awk'.
5 * sysdeps/powerpc/__longjmp.S: Don't restore FP registers.
6 * sysdeps/powerpc/fpu/__longjmp.S: Do restore FP registers.
7 * sysdeps/powerpc/setjmp.S: Don't save FP registers.
8 * sysdeps/powerpc/fpu/setjmp.S: Do save FP registers.
9 * sysdeps/powerpc/fclrexcpt.c: Move to...
10 * sysdeps/powerpc/fpu/fclrexcpt.c: ... here.
11 * sysdeps/powerpc/fpu_control.h: Move to...
12 * sysdeps/powerpc/fpu/fpu_control.h: ... here.
14 2001-12-05 Ulrich Drepper <drepper@redhat.com>
16 * iconvdata/ibm1129.h: Remove duplicate mappings.
17 * iconvdata/ibm937.c: Handle overflow errors. Handle new tables.
18 * iconvdata/ibm937.h: Reorganize table to safe a lot of space.
19 Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
21 * timezone/zic.c: Fix handling of turnaround times.
22 Patch by Arthur David Olson <olsona@dc37a.nci.nih.gov>.
24 2001-12-02 Moshe Olshansky <OLSHANSK@il.ibm.com>
26 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Fix
29 2001-12-05 Ulrich Drepper <drepper@redhat.com>
31 * posix/regex.c: For use outside glibc defined bounded pointer
32 macros here. Patch by Jim Meyering <jim@meyering.net>.
34 * iconvdata/Makefile (modules): Add TCVN5712-1.
35 * iconvdata/TESTS: Add TCVN5712-1.
36 * iconvdata/gconv-modules: Likewise.
37 * iconvdata/tcvn5712-1.c: New file.
38 * iconvdata/testdata/TCVN-5712: New file.
39 * iconvdata/testdata/TCVN-5712..UTF8: New file.
41 2001-12-04 Ulrich Drepper <drepper@redhat.com>
43 * iconvdata/cp1258.c: Optimize conversion from UCS4.
45 2001-12-02 Roland McGrath <roland@frob.com>
47 * mach/Makefile, mach/Machrules: Move comments out of \ continuations.
49 * hurd/hurd.h (__hurd_fail): Add `break;' to silence new gcc-3 warning.
50 Reported by Jeff Bailey <jbailey@nisa.net>.
52 * hurd/hurd.h (_hurd_umask): Remove volatile qualifier from decl.
53 Reported by Jeff Bailey <jbailey@nisa.net>.
55 * mach/Makefile ($(objpfx)mach-syscalls.mk): Pass $(CFLAGS) to $(CC).
56 * mach/Machrules ($(objpfx)%.udeps static pattern rule): Likewise.
57 Reported by Jeff Bailey <jbailey@nisa.net>.
59 2001-12-01 Roland McGrath <roland@frob.com>
61 * sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Add
62 missing backslash in test arguments.
63 * sysdeps/mach/hurd/configure: Regenerated.
65 2001-11-26 Roland McGrath <roland@frob.com>
67 * hurd/hurdinit.c (_hurd_ports_use): Check if _hurd_ports is null.
68 Reported by John Tobey <jtobey@john-edwin-tobey.org>.
70 2001-11-30 Ulrich Drepper <drepper@redhat.com>
72 * iconvdata/Makefile (modules): Add ARMSCII-8.
73 * iconvdata/gconv-modules: Add entries for ARMSCII-8.
74 * iconvdata/armscii-8.c: New file.
76 2001-11-29 Jakub Jelinek <jakub@redhat.com>
78 * sysdeps/generic/glob.c (next_brace_sub): Return NULL if braces
79 don't match, fix {{a,b},c} globbing, clean up.
80 Patch by Flavio Veloso <flaviovs@magnux.com>.
81 * posix/globtest.sh: Add new tests.
83 2001-11-29 Andreas Jaeger <aj@suse.de>
85 * sysdeps/unix/sysv/linux/x86_64/Versions: Add arch_prctl.
86 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add arch_prctl call.
88 * sysdeps/generic/abort.c: Include libioP.h for
89 _IO_flush_all_lockp prototype.
91 2001-11-29 Ulrich Drepper <drepper@redhat.com>
93 * posix/regex.h: Define __restrict_arr correctly.
95 2001-11-28 Ulrich Drepper <drepper@redhat.com>
97 * iconvdata/ibm1163.c: New file.
98 * iconvdata/ibm1163.h: New file.
99 * iconvdata/ibm1164.c: New file.
100 * iconvdata/ibm1164.h: New file.
101 * iconvdata/TESTS: Add entries for IBM1163 and IBM1164.
102 * iconvdata/Makefile: Likewise.
103 * iconvdata/testdata/IBM1163: New file.
104 * iconvdata/testdata/IBM1163..UTF8: New file.
105 * iconvdata/testdata/IBM1164: New file.
106 * iconvdata/testdata/IBM1164..UTF8: New file.
107 Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
109 * iconvdata/ibm1046.h: Optimize. Remove duplicate mappings.
110 * iconvdata/ibm1124.h: Likewise.
111 * iconvdata/ibm1132.h: Likewise.
112 * iconvdata/ibm1133.h: Likewise.
113 * iconvdata/ibm1160.h: Likewise.
114 * iconvdata/ibm1161.h: Likewise.
115 * iconvdata/ibm1162.h: Likewise.
116 * iconvdata/ibm856.h: Likewise.
117 * iconvdata/ibm922.h: Likewise.
118 * iconvdata/ibm930.h: Likewise.
119 * iconvdata/ibm932.h: Likewise.
120 * iconvdata/ibm933.h: Likewise.
121 * iconvdata/ibm935.h: Likewise.
122 * iconvdata/ibm937.h: Likewise.
123 * iconvdata/ibm939.h: Likewise.
124 * iconvdata/ibm943.h: Likewise.
125 * iconvdata/ibm930.c: Pretty printing.
126 * iconvdata/ibm937.c: Avoid access accross array boundary.
128 * iconv/gconv_open.c (__gconv_open): Empty codeset name now means using
129 the current locale's codeset.
130 * iconv/iconv_open.c (iconv_open): Don't strip out everything for
132 * iconv/iconv_prog.c: Pass empty strings as default value for to-
133 and from-charset. Don't determine locale's charset here.
135 * libio/genops.c (_IO_flush_all_lockp): New function. The same code
136 as the old _IO_flush_all but lock only if parameter is nonzero.
137 (_IO_flush_all): Call _IO_flush_all_lockp with 1 as parameter.
138 * libio/libioP.h: Add prototype for _IO_flush_all_lockp.
139 * sysdeps/generic/abort.c (fflush): Define to _IO_flush_all_lockp(0)
140 if libio is used [PR libc/2575].
142 2001-11-28 Jakub Jelinek <jakub@redhat.com>
144 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf, __signbit,
145 __signbitl): Only define for ISO C99.
147 2001-11-22 Thorsten Kukuk <kukuk@suse.de>
149 * nss/nss_files/files-hosts.c (_nss_files_get##name##_r): Set
150 herrnop to NETDB_INTERNAL if we run out of buffer space.
152 2001-11-28 Ulrich Drepper <drepper@redhat.com>
154 * nss/nss_files/files-XXX.c (internal_getent): Correct input
155 overflow test for platforms with signed char.
156 Reported by Andrew Haley <aph@cambridge.redhat.com>.
158 2001-11-28 Bruno Haible <bruno@clisp.org>
160 * locale/programs/simple-hash.c (lookup_2): Remove function.
161 (insert_entry_2): Call lookup instead of lookup_2.
163 2001-03-04 Bruno Haible <bruno@clisp.org>
165 * intl/dcigettext.c (DCIGETTEXT): Increment path_max proportionally.
167 2001-10-31 Bruno Haible <bruno@clisp.org>
169 * intl/plural.y: Include <stddef.h>, needed for NULL with SunOS 4 cc.
171 2001-03-21 Bruno Haible <bruno@clisp.org>
173 * intl/dcigettext.c (_nl_state_lock): Mark as #ifdef _LIBC. AIX 3 xlc
174 chokes on empty macro arguments.
175 * intl/plural.y: Add #pragma for alloca on AIX 3.
177 2001-11-27 Ulrich Drepper <drepper@redhat.com>
179 * intl/dcigettext.c (guess_category_value): Only implement for
180 glibc. Otherwise rely on function _nl_locale_name which isn't
181 present in the glibc sources.
183 2001-09-24 Bruno Haible <bruno@clisp.org>
185 * intl/loadmsgcat.c (_nl_init_domain_conv): Also enable
186 transliteration when building on a glibc system but outside glibc.
188 2001-09-22 Bruno Haible <bruno@clisp.org>
190 * intl/plural-eval.c: New file, extracted from dcigettext.c.
191 * intl/dcigettext.c (plural_eval): Remove function, moved to
193 (plural_lookup): Call PLURAL_EVAL instead of plural_eval.
194 Include plural-eval.c.
196 2001-09-22 Bruno Haible <bruno@clisp.org>
198 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Reject numbers that
199 don't start with a digit; nplurals must be positive.
201 2001-09-02 Bruno Haible <bruno@clisp.org>
203 * intl/plural-exp.h: New file, extracted from gettextP.h.
204 * intl/plural-exp.c: New file, extracted from loadmsgcat.c.
205 * intl/gettextP.h (struct expression, struct parse_args,
206 __gettext_free_exp, __gettextparse): Move to plural-exp.h.
207 * intl/loadmsgcat.c: Include plural-exp.h.
208 (PLURAL_PARSE): Move macro to plural-exp.h.
209 (plvar, plone, germanic_plural, INIT_GERMANIC_PLURAL): Move to
211 (_nl_load_domain): Move plural handling code to plural-exp.c. Call
212 EXTRACT_PLURAL_EXPRESSION.
213 (_nl_unload_domain): Update.
214 * intl/dcigettext.c: Include plural-exp.h.
215 * intl/plural.y: Include plural-exp.h, not gettextP.h.
216 (FREE_EXPRESSION): Move macro to plural-exp.h.
217 * intl/Makefile (routines): Add plural-exp.
218 (distribute): Add plural-exp.h.
220 2001-07-28 Bruno Haible <bruno@clisp.org>
222 * intl/l10nflist.c (_nl_normalize_codeset): Cast isalnum, isalpha,
223 isdigit, tolower argument to 'unsigned char'.
224 * intl/loadmsgcat.c (_nl_load_domain): Cast isspace argument to
226 * intl/localealias.c (read_alias_file): Cast isspace argument to
229 2001-10-20 Bruno Haible <bruno@clisp.org>
231 Assume strchr() exists. (Without it, intl/explodename.c wouldn't link
233 * intl/dcigettext.c (strchr): Remove fallback definition; it conflicts
234 with the variable 'index' in plural_lookup.
235 * intl/l10nflist.c (strchr): Likewise.
236 * intl/localealias.c (strchr): Likewise.
238 Assume <stddef.h>, <stdlib.h>, <string.h>, <locale.h> exist.
239 * intl/bindtextdom.c: Likewise.
240 * intl/dcigettext.c: Likewise.
241 * intl/dgettext.c: Likewise.
242 * intl/dngettext.c: Likewise.
243 * intl/explodename.c: Likewise.
244 * intl/finddomain.c: Likewise.
245 * intl/gettext.c: Likewise.
246 * intl/l10nflist.c: Likewise.
247 * intl/loadmsgcat.c: Likewise.
248 * intl/localealias.c: Likewise.
249 * intl/ngettext.c: Likewise.
250 * intl/textdomain.c: Likewise.
251 * intl/gettext.h: Assume <limits.h> exists.
253 2001-11-27 Ulrich Drepper <drepper@redhat.com>
255 * stdio-common/Makefile (tests): Add scanf11.
256 * stdio-common/scanf11.c: New file.
258 2001-11-26 Ulrich Drepper <drepper@redhat.com>
260 * version.h (RELEASE): Define as development.
261 (VERSION): Set to 2.2.90.
263 2001-11-22 Thorsten Kukuk <kukuk@suse.de>
265 * nis/nss_compat/compat-grp.c: Print group id as unsigned long.
266 * nis/nss_nis/nis-grp.c: Likewise.
267 * nis/nss_nisplus/nisplus-grp.c: Likewise.
269 * nis/nss_compat/compat-pwd.c: Print user id as unsigned long.
270 * nis/nss_nis/nis-pwd.c: Likewise.
271 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
273 * nis/nss_nis/nis-publickey.c: Use strtoul instead of atoi.
274 * nis/nss_nisplus/nisplus-parser.c: Likewise.
275 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
277 * nscd/grpcache.c: Use strtoul instead of atol.
278 * nscd/pwdcache.c: Likewise.
279 * nss/getent.c: Likewise.
281 2001-11-27 Paul Eggert <eggert@twinsun.com>
283 * sysdeps/posix/tempname.c (__gen_tempname): Try at least
284 ATTEMPTS_MIN or TMP_MAX times, whichever is greater.
286 2001-11-19 Bruno Haible <bruno@clisp.org>
288 * locale/programs/simple-hash.c (insert_entry_2): Resize at 75%, not
290 (compute_hashval): Shift by 9 bits, not by 4 bits. This drastically
291 improves the quality of the hash function, especially for short
294 2001-11-26 Ulrich Drepper <drepper@redhat.com>
296 * stdio-common/vfscanf.c: If incomplete nan of inf(inity) strings
297 are found call conv_error and not input_error [PR libc/2669].
299 * math/bits/mathcalls.h: Mark ceil and floor as const.
300 Reported by David Mosberger.
302 2001-11-21 Jim Meyering <meyering@lucent.com>
304 * posix/regex.c (iswctype, mbrtowc, wcslen, wcscoll, wcrtomb) [_LIBC]:
305 Define to be __-prefixed.
306 Remove unnecessary duplication in `#ifdef _LIBC' blocks.
308 2001-11-26 Andreas Jaeger <aj@suse.de>
310 * sysdeps/unix/sysv/linux/hppa/brk.c: Remove __brk_addr alias,
313 2001-11-26 Stephen L Moshier <moshier@mediaone.net>
315 * sysdeps/ieee754/ldbl-128/e_log10l.c (L102B): Fix typo in
318 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Remove
319 unused variables. Fix threshold for returning 1.0.
321 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (neval, deval): Constify
324 * sysdeps/ieee754/ldbl-128/s_erfl.c (neval, deval): Likewise, and
325 remove unused variables.
327 * sysdeps/ieee754/ldbl-128/e_j0l.c (neval, deval): Likewise.
329 * sysdeps/ieee754/ldbl-128/e_j1l.c (neval, deval): Likewise, and
330 include local math header files.
332 2001-11-22 Andreas Jaeger <aj@suse.de>
334 * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Add brace to
337 2001-11-21 Andreas Jaeger <aj@suse.de>
339 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: New file.
341 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers): Add
344 2001-11-15 Andreas Jaeger <aj@suse.de>
346 * include/features.h (__GLIBC_HAVE_LONG_LONG): Define for
347 compilers that support it.
349 * posix/sys/types.h: Use __GLIBC_HAVE_LONG_LONG.
350 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
351 * stdlib/stdlib.h: Likewise.
353 2001-11-17 Ulrich Drepper <drepper@redhat.com>
355 * posix/regex.c (byte_re_match_2_internal): For gcc replace switch
356 statement with gotos.
357 Based on a patch by Paolo Bonzini <bonzini@pc-amo3.elet.polimi.it>.
359 2001-11-16 Stephen L Moshier <moshier@mediaone.net>
361 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfcl): Fix K&R header.
363 2001-11-15 Ulrich Drepper <drepper@redhat.com>
365 * sysdeps/generic/unwind-dw2-fde.c: Don't use recursive mutexes.
367 2001-10-02 Jakub Jelinek <jakub@redhat.com>
368 H.J. Lu <hjl@gnu.org>
370 * configure.in (libc_cv_gcc_static_libgcc): Set to -static-libgcc
371 if gcc supports this flag.
372 (EXPORT_UNWIND_FIND_FDE): Define unless target configure disables it.
373 (gcc3): Allow glibc to be compiled with gcc 3.x.
374 * config.h.in (EXPORT_UNWIND_FIND_FDE): Add.
375 * config.make.in (static-libgcc, unwind-find-fde): Add.
376 * Makerules (build-shlib-helper, build-module-helper): Use it.
377 * scripts/versions.awk: Make sure GLIBC_ versions come first.
378 * elf/soinit.c (__libc_global_ctors): Set tbases and dbases if
380 (_fini): Call __deregister_frame_info_bases if
381 __register_frame_info_bases was used to register.
382 * elf/Versions (__register_frame_info, __deregister_frame_info): Add
384 (__register_frame_info_bases, __register_frame_info_table_bases,
385 __deregister_frame_info_bases, _Unwind_Find_FDE): Add for GLIBC_2.2.5.
386 * elf/Makefile (routines): Add unwind-dw2-fde.
387 (shared-only-routines): Add unwind-dw2-fde.
388 * sysdeps/alpha/gccframe.h: New file.
389 * sysdeps/arm/gccframe.h: New file.
390 * sysdeps/generic/framestate.c: New file.
391 * sysdeps/generic/dwarf2.h: New file.
392 * sysdeps/generic/gccframe.h (struct object): Update from gcc 3.0.
393 * sysdeps/generic/unwind-dw2-fde.c: New file.
394 * sysdeps/unix/sysv/linux/ia64/unwind-dw2-fde.c: New file.
395 * sysdeps/generic/unwind-dw2-fde.h: New file.
396 * sysdeps/generic/unwind-dw2.c: New file.
397 * sysdeps/generic/unwind-pe.h: New file.
398 * sysdeps/generic/unwind.h: New file.
399 * sysdeps/hppa/gccframe.h: New file.
400 * sysdeps/i386/gccframe.h: New file.
401 * sysdeps/m68k/gccframe.h: New file.
402 * sysdeps/mips/gccframe.h: New file.
403 * sysdeps/powerpc/gccframe.h: New file.
404 * sysdeps/s390/gccframe.h: New file.
405 * sysdeps/sh/gccframe.h: New file.
406 * sysdeps/sparc/gccframe.h: New file.
407 * sysdeps/vax/gccframe.h: New file.
408 * sysdeps/unix/sysv/linux/configure.in (libc_cv_gcc_unwind_find_fde):
409 Set on all architectures except ia64.
410 * sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Set
412 * sysdeps/mach/hurd/i386/Versions (__register_frame_info,
413 __deregister_frame_info): Move to elf/Versions.
414 * sysdeps/unix/sysv/linux/m68k/Versions: Likewise.
415 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
416 * sysdeps/unix/sysv/linux/alpha/Versions: Likewise.
417 * sysdeps/unix/sysv/linux/i386/Versions: Likewise.
418 * sysdeps/unix/sysv/linux/mips/Versions: Likewise.
419 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
420 * sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise.
421 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
422 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
423 * sysdeps/mach/hurd/i386/Makefile (sysdep-routines): Add framestate.
424 * sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
425 * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
426 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
427 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
428 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
429 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
430 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
431 * sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
433 2001-11-15 Jeff Law <law@redhat.com>
435 * posix/regex.c (uintptr_t): Do not provide a definition if the
438 2001-11-13 Roland McGrath <roland@frob.com>
440 * stdio-common/tmpfile.c: Moved to ...
441 * sysdeps/generic/tmpfile.c: ... here.
442 * sysdeps/mach/hurd/tmpfile.c: New file.
444 * hurd/fopenport.c (__fopenport): Renamed from fopenport.
445 [USE_IN_LIBIO] (fopencookie): #define as _IO_fopencookie.
446 (fopenport): Define as weak alias.
448 * libio/iofopncook.c (_IO_fopencookie): Move forward declaration ...
449 * libio/libioP.h: ... to here.
451 2001-11-12 Ulrich Drepper <drepper@redhat.com>
453 * elf/dl-reloc.c (_dl_relocate_object): Avoid iterating over
454 program header twice. Construct list with the needed information.
456 2001-11-10 Ulrich Drepper <drepper@redhat.com>
458 * po/ca.po: Update from translation team.
460 * elf/dl-load.c (_dl_map_object_from_fd): Remove use of
461 _dl_pf_to_prot. Use arithmetic operation using PF_TO_PROT macro.
462 * sysdeps/generic/ldsodefs.h (PF_TO_PROT): New macro.
463 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
465 2001-11-10 Andreas Jaeger <aj@suse.de>
467 * sysdeps/ieee754/ldbl-128/e_log2l.c: New file.
468 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
469 Contributed by Stephen L Moshier <moshier@mediaone.net>.
471 2001-11-09 Ulrich Drepper <drepper@redhat.com>
473 * elf/dl-minimal.c (realloc): Handle NULL for first parameter
475 * elf/dl-load.c (is_dst): New function.
476 (_dl_dst_count): Use is_dst to check for DST variable.
477 (_dl_dst_substitute): Likewise.
479 2001-11-09 Roland McGrath <roland@frob.com>
481 Hurd/PowerPC port contributed by Peter Bruin <pjbruin@dds.nl>.
482 * sysdeps/mach/hurd/powerpc/exc2signal.c: New file.
483 * sysdeps/mach/hurd/powerpc/init-first.c: New file.
484 * sysdeps/mach/hurd/powerpc/intr-msg.h: New file.
485 * sysdeps/mach/hurd/powerpc/longjmp-ts.c: New file.
486 * sysdeps/mach/hurd/powerpc/register-dump.h: New file.
487 * sysdeps/mach/hurd/powerpc/sigreturn.c: New file.
488 * sysdeps/mach/hurd/powerpc/static-start.S: New file.
489 * sysdeps/mach/hurd/powerpc/trampoline.c: New file.
490 * sysdeps/mach/hurd/powerpc/bits/sigcontext.h: New file.
491 * sysdeps/mach/hurd/powerpc/Dist: New file.
493 * hurd/privports.c (__get_privileged_ports):
494 Only contact the proc server if necessary for this call.
495 Suggested by Neal H Walfield <neal@cs.uml.edu>.
496 Check error return for mach_port_mod_refs.
498 2001-11-09 Andreas Schwab <schwab@suse.de>
500 * sysdeps/unix/sysv/linux/m68k/bits/resource.h: New file.
502 2001-11-09 Ulrich Drepper <drepper@redhat.com>
504 * elf/dl-load.c (lose): Remove some unnecessary code. The new
505 object is always the last in the list.
506 (_dl_map_object_from_fd): Delete code to remove from object list
507 when DF_1_NOOPEN is seen. This is done in lose.
509 2001-11-08 Ulrich Drepper <drepper@redhat.com>
511 * elf/dl-object.c (_dl_new_object): Various small optimizations.
513 2001-11-07 Ulrich Drepper <drepper@redhat.com>
515 * sysdeps/generic/dl-cache.c: Optimize SEARCH_CACHE and
516 HWCAP_CHECK macro code.
518 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Optimize code a bit.
519 Now returns MAP_FAILED on error.
520 * elf/rtld.c: Adjust caller.
521 * sysdeps/generic/dl-cache.c: Likewise.
522 * sysdeps/generic/ldsodefs.h: Adjust description.
524 * elf/dl-version.c (match_symbol): Optimize error handling for size.
525 (_dl_check_map_versions): Likewise.
527 2001-11-06 Ulrich Drepper <drepper@redhat.com>
529 * elf/dl-load.c (_dl_map_object_from_fd): Don't call
530 _dl_signal_error directly, always use lose. Set fd to -1 after
532 (lose): Don't call close if fd == -1.
534 2001-11-07 Kaoru Fukui <k_fukui@highway.ne.jp>
536 * manual/charset.texi: Fix typo @w[ISO 6937] to @w{ISO 6937}.
537 Also fix typo @code {mbsinit} to @code{mbsinit}.
539 2001-11-06 Ulrich Drepper <drepper@redhat.com>
541 * elf/dl-profile.c: Replace state variable with simple flag named
542 running. Remove commented-out code.
544 * elf/dl-load.c (decompose_rpath): Optimize error handling for size.
545 (_dl_init_paths): Likewise.
546 (_dl_map_object_from_fd): Likewise.
547 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
549 2001-11-06 Roland McGrath <roland@frob.com>
551 * sysdeps/mach/powerpc/sysdep.h: Include sysdeps/unix/powerpc/sysdep.h
552 instead of sysdeps/powerpc/elf/sysdep.h and sysdeps/unix/sysdep.h.
554 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't include
555 sysdeps/powerpc/elf/sysdep.h.
556 Reported by Kaoru Fukui <k_fukui@highway.ne.jp>.
558 2001-11-05 Ulrich Drepper <drepper@redhat.com>
560 * elf/rtld.c (process_dl_debug): Rewritten. Optimized for size not
562 (process_envvars): Some more optimizations.
563 * sysdeps/generic/ldsodefs.h (DL_DEBUG_HELP): New macro.
565 * elf/elf.h: Add dynamic tag definitions for prelinking.
567 * elf/rtld.c (process_envvars): Avoid using array of string pointers.
568 Rewrite code to remove environment varables for SUID binaries.
569 Small optimization in LD_PROFILE handling.
570 * sysdeps/generic/unsecvars.h: Adjust format for process_envvars
572 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
574 * sysdeps/generic/dl-sysdep.c: Don't initialize _dl_cpuclock_offset.
576 * elf/dl-reloc.c (_dl_reloc_bad_type): Rewrite to not use writable
577 strings. Change type of second parameter.
578 * sysdeps/generic/ldsodefs.h: Adjust _dl_reloc_bad_type prototype
581 * io/fts.h: Prevent using <fts.h> with _FILE_OFFSET_BITS=64.
583 2001-11-04 Joseph S. Myers <jsm28@cam.ac.uk>
585 * manual/string.texi: Fix typos.
586 * manual/examples/argp-ex2.c: Likewise.
588 2001-11-05 Roland McGrath <roland@frob.com>
590 * sysdeps/powerpc/elf/sysdep.h: Remove this file, because it overrides
591 the more-specific unix/sysv/linux/powerpc file and breaks everything.
592 * sysdeps/powerpc/sysdep.h (ALIGNARG, ASM_TYPE_DIRECTIVE,
593 ASM_SIZE_DIRECTIVE, CALL_MCOUNT, ENTRY, EALIGN, DO_CALL, JUMPTARGET,
594 PSEUDO, PSEUDO_RET, PSEUDO_END, L, C_TEXT): These macros moved here
595 here, put under [__ELF__].
597 2001-11-05 Ulrich Drepper <drepper@redhat.com>
599 * manual/charset.texi: Extensive editing work.
600 * manual/nss.texi: Likewise.
601 Changes by Dennis Grace <dgrace@us.ibm.com>.
603 2001-11-04 Roland McGrath <roland@frob.com>
605 * hurd/set-host.c (_hurd_set_host_config): Use O_WRONLY in flags
606 parameter to dir_mkfile.
608 2001-11-02 Jakub Jelinek <jakub@redhat.com>
610 * string/bits/string2.h (__strndup): If n is smaller than len, set
612 * string/tester.c (test_strndup): New function.
615 2001-11-01 Ulrich Drepper <drepper@redhat.com>
617 * sunrpc/rpc_main.c: Optimize variable definitions a bit.
619 * sunrpc/Makefile (rpcgen-cmd): Use ../scripts/cpp in rpcgen calls.
620 * scripts/cpp: New file.
622 * elf/dl-load.c (_dl_map_object): Correct test of DF_1_NODEFLIB
623 for rtld_search_dirs content. Minor optimizations.
625 2001-10-31 Ulrich Drepper <drepper@redhat.com>
627 * elf/dl-load.c (_dl_map_object): Make code a bit more compact by
628 avoiding unnecessary duplication.
630 2001-10-31 Jakub Jelinek <jakub@redhat.com>
632 * elf/dl-load.c (_dl_map_object): If library was found using
633 LD_LIBRARY_PATH, don't try RUNPATH list.
635 2001-10-31 Martin Schwidefsky <schwidefsky@de.ibm.com>
637 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h (REGISTER_DUMP):
638 Correct second argument of register_dump call.
639 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h (REGISTER_DUMP):
642 2001-10-31 Ulrich Drepper <drepper@redhat.com>
644 * iconvdata/Makefile: Add support for IBM1132, IBM1133, and IBM1162
646 * iconvdata/TESTS: Likewise.
647 * iconvdata/gconv-modules: Likewise.
648 * iconvdata/ibm1132.c: New file.
649 * iconvdata/ibm1132.h: New file.
650 * iconvdata/ibm1133.c: New file.
651 * iconvdata/ibm1133.h: New file.
652 * iconvdata/ibm1162.c: New file.
653 * iconvdata/ibm1162.h: New file.
654 * iconvdata/testdata/IBM1132: New file.
655 * iconvdata/testdata/IBM1132..UTF8: New file.
656 * iconvdata/testdata/IBM1133: New file.
657 * iconvdata/testdata/IBM1133..UTF8: New file.
658 * iconvdata/testdata/IBM1162: New file.
659 * iconvdata/testdata/IBM1162..UTF8: New file.
660 Patches by Masahide Washizawa <WASHI@jp.ibm.com>.
662 * string/string.h: Fix typo in comment.
663 * wcsmbs/wchar.h: Likewise.
665 2001-10-30 Joseph S. Myers <jsm28@cam.ac.uk>
667 * manual/getopt.texi (getopt_long, getopt_long_only): Include
668 const in type of longopts parameter.
670 2001-10-29 Andreas Jaeger <aj@suse.de>
672 * sysdeps/ieee754/dbl-64/mpa.h: Add prototypes for internal functions.
674 2001-10-29 Kevin Ryde <user42@zip.com.au>
676 * manual/stdio.texi (Integer Conversions): Corrections to sample printf
677 output, clarify `#' behaviour on 0.
678 (Floating-Point Conversions): Clarify that %g only uses %e when
679 the exponent would be greater than 1.
681 2001-10-28 Roland McGrath <roland@frob.com>
683 Support for Mach/PowerPC contributed by Peter Bruin <pjbruin@dds.nl>.
684 * sysdeps/mach/powerpc/machine-sp.h: New file.
685 * sysdeps/mach/powerpc/sysdep.h: New file.
686 * sysdeps/mach/powerpc/thread_state.h: New file.
688 * sysdeps/mach/hurd/i386/Makefile: File removed; crt0.o rules moved ...
689 * sysdeps/mach/hurd/Makefile: ... to here. For the time being, we can
690 expect to need the same thing on every platform.
692 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: File moved ...
693 * sysdeps/generic/sys/ucontext.h: ... to replace this one.
695 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (ALIGNARG,
696 ASM_TYPE_DIRECTIVE, ASM_SIZE_DIRECTIVE, CALL_MCOUNT, ENTRY, EALIGN,
697 DO_CALL, JUMPTARGET, PSEUDO, PSEUDO_RET, PSEUDO_END, L, C_TEXT):
698 Move all these assembly-related definitions to ...
699 * sysdeps/powerpc/elf/sysdep.h: ... this new file.
701 * sysdeps/mach/powerpc/machine-lock.h: Assembly code rewritten
702 by Peter Bruin <pjbruin@dds.nl>.
704 * hurd/hurdselect.c (_hurd_select): Check SELECT_RETURNED bit when
705 packing results for a `poll' call.
707 2001-10-26 Ulrich Drepper <drepper@redhat.com>
709 * posix/fnmatch_loop.c: Recognize - at end of bracket expression
711 * posix/tst-fnmatch.input: Add tests for - at beginning and end of
714 * string/strxfrm.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get
716 * string/tst-strxfrm.c (test): Also test __strxfrm_l.
718 2001-10-24 H.J. Lu <hjl@gnu.org>
720 * sysdeps/generic/bits/dlfcn.h (DL_CALL_FCT): Cast to void *.
721 Use __BEGIN_DECLS/__END_DECLS around prototypes.
722 * sysdeps/mips/bits/dlfcn.h (DL_CALL_FCT): Likewise.
724 2001-10-21 Jim Meyering <meyering@lucent.com>
726 * malloc/obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
727 this code would end up calling gettext even in packages built
729 * posix/getopt.c (_): Likewise.
730 * posix/regex.c (_): Likewise.
732 2001-10-26 Ulrich Drepper <drepper@redhat.com>
734 * resolv/gethnamaddr.c (gethostbyaddr): Use ip6.addr for reverse
736 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
737 Reported by Martin.v.Loewis@t-online.de [PR libc/2598].
739 2001-10-19 Jakub Jelinek <jakub@redhat.com>
741 * misc/sys/cdefs.h (__attribute_used__): Define.
742 * elf/rtld.c (_dl_start): Add __attribute_used__.
743 * elf/dl-runtime.c (fixup, profile_fixup): Likewise.
745 2001-10-25 Andreas Schwab <schwab@suse.de>
747 * stdlib/a64l.c: Expect least significant digit first.
748 * stdlib/l64a.c: Produce least significant digit first.
749 * stdlib/Makefile (tests): Add test-a64l.
750 * stdlib/test-a64l.c: New file.
751 Reported by Masaki Hasegawa <masaki-h@pp.iij4u.or.jp>.
753 2001-10-21 Ulrich Drepper <drepper@redhat.com>
755 * po/sk.po: Update from translation team.
757 2001-10-18 Ulrich Drepper <drepper@redhat.com>
759 * sysdeps/i386/elf/start.S (_fp_hw): Define object type.
761 2001-10-18 Andreas Schwab <schwab@suse.de>
763 * math/libm-test.inc (print_ulps): Print ulp values rounded to
765 (print_function_ulps): Likewise.
766 (print_complex_function_ulps): Likewise.
767 (print_max_error): Likewise.
768 (print_complex_max_error): Likewise. Handle ignore_max_ulp.
770 2001-10-16 Andreas Schwab <schwab@suse.de>
772 * sysdeps/m68k/fpu/libm-test-ulps: Updated for fixed cbrtl
775 * sysdeps/m68k/setjmp.c: Also define setjmp and _setjmp if
776 BSD_SETJMP or BSD__SETJMP is defined, resp.
777 * sysdeps/m68k/bsd-setjmp.c: Inline setjmp code instead of making
778 a tail call to __sigsetjmp that would require extending the
780 * sysdeps/m68k/bsd-_setjmp.c: Likewise.
781 * sysdeps/m68k/bsd-setjmp.S: Deleted.
782 * sysdeps/m68k/bsd-_setjmp.S: Deleted.
783 Reported by Jes Sorensen <jes@trained-monkey.org>.
785 2001-10-16 Andreas Jaeger <aj@suse.de>
787 * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Fix
788 parentheses. Reported by David Byron <dbyron@porto.coactive.com>,
791 2001-10-15 Ulrich Drepper <drepper@redhat.com>
793 * po/ca.po: New file. Contributed by the translation team.
795 2001-10-15 Ralf Baechle <ralf@gnu.org>
797 * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Make sysmips() prototype
798 a varargs prototype. Remove dependency from kernel header files.
800 * sysdeps/unix/sysv/linux/mips/bits/termios.h: General cleanup, use
801 __USE_MISC / __USE_XOPEN not __USE_BSD where appropriate.
803 2001-10-14 Ulrich Drepper <drepper@redhat.com>
805 * locale/programs/ld-collate.c (handle_ellipsis): Use %lX not %lx
806 to generate hexadecimal identifier.
807 Patch by Jungshik Shin <jungshik.shin@yale.edu>.
809 2001-10-09 Stephen L Moshier <moshier@mediaone.net>
811 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Fix algorithm.
813 2001-10-14 Ulrich Drepper <drepper@redhat.com>
815 * sysdeps/ieee754/ldbl-128/e_powl.c: New file.
816 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: New file.
817 Contributed by Stephen L Moshier <moshier@mediaone.net>.
819 * sysdeps/ieee754/ldbl-128/e_j0l.c: Constify float variables.
820 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
821 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise
822 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise
823 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise
824 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise
826 * timezone/africa: Update from tzdata2001d.
827 * timezone/asia: Likewise.
828 * timezone/australasia: Likewise.
829 * timezone/backward: Likewise.
830 * timezone/europe: Likewise.
831 * timezone/leapseconds: Likewise.
832 * timezone/northamerica: Likewise.
833 * timezone/southamerica: Likewise.
834 * timezone/zone.tab: Likewise.
836 2001-10-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
838 * sysdeps/s390/s390-32/sys/ucontext.h: Correct __psw_t typedef.
839 * sysdeps/s390/s390-64/sys/ucontext.h: Likewise.
841 2001-10-12 Ulrich Drepper <drepper@redhat.com>
843 * elf/elf.h (PT_TLS): New definition.
845 2001-10-10 Jeff Bailey <jbailey@nisa.net>
847 * sysdeps/mach/hurd/Makefile: Add $(CFLAGS) for generation of
850 2001-10-07 Roland McGrath <roland@frob.com>
852 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Never return ENOSYS.
854 2001-10-10 Ulrich Drepper <drepper@redhat.com>
856 * elf/elf.h: Add more ELFOSABI_* constants.
858 2001-10-04 Ben Collins <bcollins@debian.org>
860 * sysdeps/generic/inttypes.h: Fix typo (define, not defined) in
861 decleration of __need_wchar_t.
863 2001-10-03 Jakub Jelinek <jakub@redhat.com>
865 * string/bits/string2.h (__strsep_g): Add prototype.
867 * string/Versions (__strsep): Remove.
868 * sysdeps/generic/strsep.c (__strsep_g): Add alias to __strsep.
870 2001-10-07 Ulrich Drepper <drepper@redhat.com>
872 * manua/llio.texi: Clarify file references added by mmap.
873 Patch by Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
875 2001-09-29 Jes Sorensen <jes@trained-monkey.org>
877 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
878 Add sc_loadrs and sc_rbs_bas to match current kernel.
880 2001-09-27 Jakub Jelinek <jakub@redhat.com>
882 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
884 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Fix erfc(-inf).
886 2001-09-27 Jakub Jelinek <jakub@redhat.com>
888 * elf/dl-open.c (dl_open_worker): If l_opencount of freshly loaded
889 object has been bumped because of relocation dependency, avoid
890 duplicates in l_scope.
891 (show_scope): Fix typos.
892 * elf/Makefile: Add rules to build and run reldep6.
893 * elf/reldep6.c: New file.
894 * elf/reldep6mod0.c: New file.
895 * elf/reldep6mod1.c: New file.
896 * elf/reldep6mod2.c: New file.
897 * elf/reldep6mod3.c: New file.
898 * elf/reldep6mod4.c: New file.
900 2001-09-26 Jakub Jelinek <jakub@redhat.com>
902 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Call
904 (sparc64_fixup_plt): Moved from elf_machine_fixup_plt. Optimize
905 near jumps and 0xfffff800XXXXXXXX target addresses, no thread safety
906 for non-lazy binding. Fix .plt[32768+] handling.
907 (elf_machine_plt_value): Don't add addend.
908 (elf_machine_rela): Call sparc64_fixup_plt instead of
909 elf_machine_fixup_plt.
910 (elf_machine_runtime_setup, TRAMPOLINE_TEMPLATE): Optimize for
911 dynamic linker at 0xfffff800XXXXXXXX.
913 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
915 2001-09-28 Ulrich Drepper <drepper@redhat.com>
917 * elf/elf.h: Define SHF_GROUP and SHF_TLS.
919 2001-09-25 Jakub Jelinek <jakub@redhat.com>
921 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (struct cmsghdr): Don't
922 declare __cmsg_data field if its size would be bigger than 0.
923 (CMSG_DATA): Adjust accordingly.
924 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
925 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Likewise.
926 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
927 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
928 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
929 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
930 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
932 2001-09-25 Ulrich Drepper <drepper@redhat.com>
934 * iconvdata/TESTS: Add entries for IBM1160 and IBM1161.
935 * iconvdata/testdata/IBM1160: New file.
936 * iconvdata/testdata/IBM1160..UTF8: New file.
937 * iconvdata/testdata/IBM1161: New file.
938 * iconvdata/testdata/IBM1161..UTF8: New file.
939 Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
941 2001-09-24 Ulrich Drepper <drepper@redhat.com>
943 * sysdeps/unix/bsd/ulimit.c (ulimit): Handle overflow in
944 UL_SETFSIZE computations better.
946 * rt/Makefile: Remove use of filter for librt again.
948 * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Handle overflow in
949 UL_SETFSIZE computations better.
951 * string/Versions: Export __strsep for GLIBC_2.2.5.
952 * string/bits/string2.h: Define all __STRING_INLINE functions if
953 _FORCE_INLINES is defined.
954 Use int instead of char of parameter types.
955 (__strsep): Don't use __strsep_g. Don't define it.
956 (__strsep_1c, __strsep_2c, __strsep_3c): Optimize.
957 * sysdeps/i386/i486/string.h (__strcpy_a_small): Renamed from
959 (__stpcpy_a_small): Renamed from __stpcpy_small.
960 (__strcspn_c1): Don't define if _FORCE_INLINES.
961 (__strspn_c1): Likewise.
963 2001-09-22 Ben Collins <bcollins@debian.org>
965 * sysdeps/sparc/bits/sigaction.h: Define SA_RESTART and friends when
966 _UNIX98_SOURCE is defined too. Matches generic/bits/sigaction.h.
967 * sysdeps/ia64/bits/sigaction.h: Likewise.
968 * sysdeps/s390/s390-64/bits/sigaction.h: Likewise.
970 2001-09-24 Andrew Haley <aph@cambridge.redhat.com>
972 * sysdeps/unix/sysv/linux/sh/Makefile (sysdep_headers): Add sys/io.h.
974 2001-09-24 Jakub Jelinek <jakub@redhat.com>
976 * elf/dl-open.c (dl_open_worker): Update l_scope_max.
978 2001-09-24 Ulrich Drepper <drepper@redhat.com>
980 * wcsmbs/wchar.h: Add __attribute_pure__ to mbsinit prototype.
982 2001-09-20 H.J. Lu <hjl@gnu.org>
984 * include/dlfcn.h (__RTLD_SPROF): New definiton.
985 * elf/dl-open.c (dl_open_worker): Return immediately after loading
987 * elf/sprof.c (main): Default to the filename if soname doesn't exist.
988 (load_shobj): Call dlopen with `RTLD_LAZY | __RTLD_SPROF'.
990 2001-09-20 H.J. Lu <hjl@gnu.org>
992 * elf/dl-profile.c (_dl_mcount): Use old *narcsp value for newarc,
995 2001-09-22 Ulrich Drepper <drepper@redhat.com>
997 * nss/getent.c: Accept -s parameter to overwrite rules in
998 nsswitch.conf. Patch by Nalin Dahyabhai <nalin@redhat.com>.
1000 * nss/nss_files/files-network.c (LINE_PARSER): Pad addr string
1001 with as many ".0" as necessary to form a complete address
1002 inet_network understands.
1004 * nss/getent.c: Various cleanups. Use simpler and fewer function
1007 2001-09-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
1009 * sysdeps/s390/s390-32/bits/setjmp.h: Correct pointer comparison in
1011 * sysdeps/s390/s390-64/bits/setjmp.h: Likewise.
1013 2001-09-22 Ulrich Drepper <drepper@redhat.com>
1015 * iconvdata/Makefile: Add rules to build and distribute IBM1160 and
1017 * iconvdata/gconv-modules: Add entries for IBM1160 and IBM1161.
1018 * iconvdata/ibm1160.c: New file.
1019 * iconvdata/ibm1160.h: New file.
1020 * iconvdata/ibm1161.c: New file.
1021 * iconvdata/ibm1161.h: New file.
1022 Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
1024 2001-09-19 Jakub Jelinek <jakub@redhat.com>
1026 * sysdeps/alpha/dl-machine.h (elf_machine_load_address): Compute the
1027 difference between base address and first PT_LOAD's virtual address,
1028 not the base address.
1030 2001-09-11 Tom Rix <trix@redhat.com>
1032 * sysdeps/unix/sysv/aix/init-first.c (init): Use USE_NONONPTION_FLAG
1033 ifdef for __getopt_clean_environment.
1034 * sysdeps/unix/sysv/aix/libc-start.c: Add real implementation.
1036 2001-09-22 Andreas Jaeger <aj@suse.de>
1038 * elf/reldep4.c (main): Add proper prototype to fix warning.
1040 * elf/reldep5.c (main): Remove unused variable.
1042 * math/math_private.h: Add prototypes.
1044 2001-09-21 Andreas Jaeger <aj@suse.de>
1046 * sysdeps/unix/sysv/linux/x86_64/Dist: New file.
1047 * sysdeps/x86_64/Dist: New file.
1048 * sysdeps/x86_64/soft-fp/Dist: New file.
1050 * sysdeps/gnu/Dist: Remove eval.c.
1052 2001-09-20 Ulrich Drepper <drepper@redhat.com>
1054 * malloc/memusage.c (realloc): Don't count already allocated
1056 (me): Always use dlsym() to find the real implementations.
1058 * malloc/memusage.sh: Make -n option actually do something.
1060 2001-09-20 Andreas Jaeger <aj@suse.de>
1062 * elf/elf.h (R_390_NUM): Correct value.
1064 * Versions.def: Add missing versions 2.2.3 for libthread_db and
1067 * sysdeps/unix/sysv/linux/configure.in: Add minimal kernel version
1068 for x86-64, install x86-64 into */lib64.
1070 * shlib-versions: Add x86-64.
1072 * elf/elf.h: Add x86-64 relocations.
1074 2001-09-19 Ulrich Drepper <drepper@redhat.com>
1076 * po/fr.po: Update from translation team.
1078 2001-09-19 Andreas Jaeger <aj@suse.de>
1080 * sysdeps/unix/sysv/linux/x86_64/Makefile: New file.
1081 * sysdeps/unix/sysv/linux/x86_64/Versions: New file.
1082 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: New file.
1083 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: New file.
1084 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: New file.
1085 * sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: New file.
1086 * sysdeps/unix/sysv/linux/x86_64/bits/time.h: New file.
1087 * sysdeps/unix/sysv/linux/x86_64/bits/types.h: New file.
1088 * sysdeps/unix/sysv/linux/x86_64/brk.c: New file.
1089 * sysdeps/unix/sysv/linux/x86_64/clone.S: New file.
1090 * sysdeps/unix/sysv/linux/x86_64/fstatfs64.c: New file.
1091 * sysdeps/unix/sysv/linux/x86_64/ftruncate64.c: New file.
1092 * sysdeps/unix/sysv/linux/x86_64/fxstat.c: New file.
1093 * sysdeps/unix/sysv/linux/x86_64/fxstat64.c: New file.
1094 * sysdeps/unix/sysv/linux/x86_64/getdents.c: New file.
1095 * sysdeps/unix/sysv/linux/x86_64/getdents64.c: New file.
1096 * sysdeps/unix/sysv/linux/x86_64/getrlimit64.c: New file.
1097 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
1098 * sysdeps/unix/sysv/linux/x86_64/glob64.c: New file.
1099 * sysdeps/unix/sysv/linux/x86_64/lxstat.c: New file.
1100 * sysdeps/unix/sysv/linux/x86_64/lxstat64.c: New file.
1101 * sysdeps/unix/sysv/linux/x86_64/mmap64.c: New file.
1102 * sysdeps/unix/sysv/linux/x86_64/pread64.c: New file.
1103 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: New file.
1104 * sysdeps/unix/sysv/linux/x86_64/pwrite64.c: New file.
1105 * sysdeps/unix/sysv/linux/x86_64/readdir.c: New file.
1106 * sysdeps/unix/sysv/linux/x86_64/readdir64.c: New file.
1107 * sysdeps/unix/sysv/linux/x86_64/readdir64_r.c: New file.
1108 * sysdeps/unix/sysv/linux/x86_64/readdir_r.c: New file.
1109 * sysdeps/unix/sysv/linux/x86_64/recv.c: New file.
1110 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: New file.
1111 * sysdeps/unix/sysv/linux/x86_64/send.c: New file.
1112 * sysdeps/unix/sysv/linux/x86_64/setrlimit64.c: New file.
1113 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: New file.
1114 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: New file.
1115 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: New file.
1116 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: New file.
1117 * sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: New file.
1118 * sysdeps/unix/sysv/linux/x86_64/statfs64.c: New file.
1119 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: New file.
1120 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: New file.
1121 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: New file.
1122 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: New file.
1123 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: New file.
1124 * sysdeps/unix/sysv/linux/x86_64/syscall.S: New file.
1125 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: New file.
1126 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: New file.
1127 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: New file.
1128 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
1129 * sysdeps/unix/sysv/linux/x86_64/truncate64.c: New file.
1130 * sysdeps/unix/sysv/linux/x86_64/umount.c: New file.
1131 * sysdeps/unix/sysv/linux/x86_64/vfork.S: New file.
1132 * sysdeps/unix/sysv/linux/x86_64/xstat.c: New file.
1133 * sysdeps/unix/sysv/linux/x86_64/xstat64.c: New file.
1134 * sysdeps/unix/x86_64/sysdep.S: New file.
1135 * sysdeps/unix/x86_64/sysdep.h: New file.
1136 * sysdeps/x86_64/Implies: New file.
1137 * sysdeps/x86_64/Makefile: New file.
1138 * sysdeps/x86_64/Versions: New file.
1139 * sysdeps/x86_64/__longjmp.S: New file.
1140 * sysdeps/x86_64/abort-instr.h: New file.
1141 * sysdeps/x86_64/atomicity.h: New file.
1142 * sysdeps/x86_64/bits/endian.h: New file.
1143 * sysdeps/x86_64/bits/setjmp.h: New file.
1144 * sysdeps/x86_64/bits/string.h: New file.
1145 * sysdeps/x86_64/bp-asm.h: New file.
1146 * sysdeps/x86_64/bsd-_setjmp.S: New file.
1147 * sysdeps/x86_64/bsd-setjmp.S: New file.
1148 * sysdeps/x86_64/dl-machine.h: New file.
1149 * sysdeps/x86_64/elf/initfini.c: New file.
1150 * sysdeps/x86_64/elf/start.S: New file.
1151 * sysdeps/x86_64/ffs.c: New file.
1152 * sysdeps/x86_64/ffsll.c: New file.
1153 * sysdeps/x86_64/fpu/bits/fenv.h: New file.
1154 * sysdeps/x86_64/fpu/bits/mathdef.h: New file.
1155 * sysdeps/x86_64/fpu/e_acosl.c: New file.
1156 * sysdeps/x86_64/fpu/e_atan2l.c: New file.
1157 * sysdeps/x86_64/fpu/e_exp2l.S: New file.
1158 * sysdeps/x86_64/fpu/e_expl.c: New file.
1159 * sysdeps/x86_64/fpu/e_fmodl.S: New file.
1160 * sysdeps/x86_64/fpu/e_log10l.S: New file.
1161 * sysdeps/x86_64/fpu/e_log2l.S: New file.
1162 * sysdeps/x86_64/fpu/e_logl.S: New file.
1163 * sysdeps/x86_64/fpu/e_powl.S: New file.
1164 * sysdeps/x86_64/fpu/e_rem_pio2l.c: New file.
1165 * sysdeps/x86_64/fpu/e_scalbl.S: New file.
1166 * sysdeps/x86_64/fpu/e_sqrtl.c: New file.
1167 * sysdeps/x86_64/fpu/fclrexcpt.c: New file.
1168 * sysdeps/x86_64/fpu/fedisblxcpt.c: New file.
1169 * sysdeps/x86_64/fpu/feenablxcpt.c: New file.
1170 * sysdeps/x86_64/fpu/fegetenv.c: New file.
1171 * sysdeps/x86_64/fpu/fegetexcept.c: New file.
1172 * sysdeps/x86_64/fpu/fegetround.c: New file.
1173 * sysdeps/x86_64/fpu/feholdexcpt.c: New file.
1174 * sysdeps/x86_64/fpu/fesetenv.c: New file.
1175 * sysdeps/x86_64/fpu/fesetround.c: New file.
1176 * sysdeps/x86_64/fpu/fgetexcptflg.c: New file.
1177 * sysdeps/x86_64/fpu/fraiseexcpt.c: New file.
1178 * sysdeps/x86_64/fpu/fsetexcptflg.c: New file.
1179 * sysdeps/x86_64/fpu/ftestexcept.c: New file.
1180 * sysdeps/x86_64/fpu/libm-test-ulps: New file.
1181 * sysdeps/x86_64/fpu/math_ldbl.h: New file.
1182 * sysdeps/x86_64/fpu/printf_fphex.c: New file.
1183 * sysdeps/x86_64/fpu/s_atanl.c: New file.
1184 * sysdeps/x86_64/fpu/s_cosl.S: New file.
1185 * sysdeps/x86_64/fpu/s_expm1l.S: New file.
1186 * sysdeps/x86_64/fpu/s_fpclassifyl.c: New file.
1187 * sysdeps/x86_64/fpu/s_isinfl.c: New file.
1188 * sysdeps/x86_64/fpu/s_isnanl.c: New file.
1189 * sysdeps/x86_64/fpu/s_log1pl.S: New file.
1190 * sysdeps/x86_64/fpu/s_logbl.c: New file.
1191 * sysdeps/x86_64/fpu/s_nextafterl.c: New file.
1192 * sysdeps/x86_64/fpu/s_nexttoward.c: New file.
1193 * sysdeps/x86_64/fpu/s_nexttowardf.c: New file.
1194 * sysdeps/x86_64/fpu/s_rintl.c: New file.
1195 * sysdeps/x86_64/fpu/s_significandl.c: New file.
1196 * sysdeps/x86_64/fpu/s_sincosl.S: New file.
1197 * sysdeps/x86_64/fpu/s_sinl.S: New file.
1198 * sysdeps/x86_64/fpu/s_tanl.S: New file.
1199 * sysdeps/x86_64/gmp-mparam.h: New file.
1200 * sysdeps/x86_64/hp-timing.c: New file.
1201 * sysdeps/x86_64/hp-timing.h: New file.
1202 * sysdeps/x86_64/htonl.S: New file.
1203 * sysdeps/x86_64/memusage.h: New file.
1204 * sysdeps/x86_64/setjmp.S: New file.
1205 * sysdeps/x86_64/soft-fp/sfp-machine.h: New file.
1206 * sysdeps/x86_64/stackinfo.h: New file.
1207 * sysdeps/x86_64/sysdep.h: New file.
1208 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: New file.
1210 * sysdeps/ieee754/ldbl-128/s_erfl.c: New file, contributed Stephen
1213 2001-09-18 Ulrich Drepper <drepper@redhat.com>
1215 * malloc/malloc.c (ptmalloc_init): Handle _environ==NULL.
1216 Reported by B. D. Elliott <bde@nwlink.com> [PR libc/2541].
1218 2001-09-18 Andreas Schwab <schwab@suse.de>
1220 * elf/dl-load.c (_dl_map_object_from_fd): Update handling of scope
1221 list, now that l_scope is a pointer.
1223 * elf/dl-open.c (dl_open_worker): Fix thinko when enlarging the
1226 2001-09-18 kaz Kojima <kkojima@rr.iij4u.or.jp>
1228 * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix reverse condition.
1229 (elf_machine_rela_relative): Add a missing declaration.
1231 2001-09-18 Jakub Jelinek <jakub@redhat.com>
1233 * sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: New file.
1234 * sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed: New file.
1235 * sysdeps/unix/sysv/linux/configure.in: Add ia64 and s390
1236 ldd-rewrite scripts.
1238 2001-09-18 Ulrich Drepper <drepper@redhat.com>
1240 * elf/ldd.bash.in: Update copyright message.
1242 2001-09-17 H.J. Lu <hjl@gnu.org>
1244 * hurd/hurdmalloc.c (bcopy): Removed.
1245 (realloc): Replace bcopy with memcpy.
1246 * hurd/path-lookup.c (file_name_path_scan): Likewise.
1247 * resolv/gethnamaddr.c (map_v4v6_address): Likewise.
1248 * sunrpc/rpcinfo.c (pmapdump): Likewise.
1250 * resolv/gethnamaddr.c (getanswer): Replace bcopy with memmove.
1251 (gethostbyaddr): Likewise.
1252 * sunrpc/rpcinfo.c (get_inet_address): Likewise.
1254 2001-09-18 Ulrich Drepper <drepper@redhat.com>
1256 * sysdeps/gnu/eval.c: Removed.
1258 2001-09-18 Andreas Jaeger <aj@suse.de>
1260 * sysdeps/i386/fpu/s_logbl.S: Move to ...
1261 * sysdeps/i386/fpu/s_logbl.c: ...here, use inline assembler.
1263 * sysdeps/i386/fpu/s_rintl.S: Move to ...
1264 * sysdeps/i386/fpu/s_rintl.c: ...here, use inline assembler.
1266 * sysdeps/i386/fpu/s_significandl.S: Move to ...
1267 * sysdeps/i386/fpu/s_significandl.c: ...here, use inline assembler.
1269 2001-09-16 Ulrich Drepper <drepper@redhat.com>
1271 * string/strcoll.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get
1274 2001-09-14 H.J. Lu <hjl@gnu.org>
1276 * sysdeps/mips/fpu/libm-test-ulps: Updated.
1278 2001-09-14 Ulrich Drepper <drepper@redhat.com>
1280 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix a typo.
1281 Patch by Florian La Roche <laroche@redhat.com>.
1283 * string/bits/string2.h (__strtok_r_1c): Optimize a bit.
1285 * sysdeps/unix/sysv/linux/net/ethernet.h: Correct references to
1288 2001-09-14 Andreas Schwab <schwab@suse.de>
1290 * posix/execl.c: Fix last argument of memcpy. Reported by Brian
1291 Sumner <bls@sgi.com>.
1292 * posix/execlp.c: Likewise.
1294 2001-09-13 Jakub Jelinek <jakub@redhat.com>
1296 * elf/dl-deps.c (_dl_map_object_deps): Fix filter handling if filter
1297 is already found earlier in the search scope.
1299 2001-09-12 Jakub Jelinek <jakub@redhat.com>
1301 * rt/Makefile (LDFLAGS-rt.so): Use shared thread library as librt's
1304 2001-09-13 Ulrich Drepper <drepper@redhat.com>
1306 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust expected errors for j0.
1308 2001-09-12 Ulrich Drepper <drepper@redhat.com>
1310 * config.h.in: Enforce optimization to be used.
1311 * Makeconfig (preprocess-versions): Define ASSEMBLER.
1312 * stdlib/Makefile (isomac-CFLAGS): Define to -O.
1313 * posix/Makefile (annexc-CFLAGS): Define to -O.
1314 * sysdeps/unix/make-syscalls.sh: Define __OPTIMIZE__ in use of asm_CPP.
1316 2001-09-11 Ulrich Drepper <drepper@redhat.com>
1318 * nscd/nscd_gethst_r.c: Don't expect IPv6 addresses for IPv4 lookup.
1319 Patch by Stephan Kulow.
1321 2001-09-08 Ben Collins <bcollins@debian.org>
1323 * sysdeps/arm/dl-machine.h (elf_machine_rel): Fix thinko in
1324 usage of RESOLVE() (r_type, not reloc->r_type).
1326 2001-09-08 Ulrich Drepper <drepper@redhat.com>
1328 * elf/dl-object.c: Avoid allocating extra memory block for name.
1329 * elf/dl-close.c (_dl_close): Don't free l_libname if it is not
1330 allocated separately.
1331 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1333 2001-09-08 H.J. Lu <hjl@gnu.org>
1335 * po/zh_TW.po: Fix a typo.
1337 2001-09-07 Tom Rix <trix@redhat.com>
1339 * sysdeps/unix/sysv/aix/sysv_termio.h: New file.
1341 2001-08-26 Tom Rix <trix@redhat.com>
1343 * sysdeps/unix/sysv/aix/Makefile (aix-syscalls.o): More linker
1344 command line options.
1345 * sysdeps/unix/sysv/aix/start.s: New file, rework of start.c
1346 * sysdeps/unix/sysv/aix/start.c: Removed.
1347 * sysdeps/unix/sysv/aix/start-libc.c: New file.
1348 * sysdeps/unix/sysv/aix/init-first.c: New file.
1349 * sysdeps/unix/sysv/aix/fcntl.c: Alias __libc_fcntl to __fcntl.
1351 2001-09-08 Ben Collins <bcollins@debian.org>
1353 * sysdeps/arm/dl-machine.h: Fix usage of new _dl_signal_error() format.
1354 * sysdeps/generic/dl-machine.h: Likewise.
1355 * sysdeps/hppa/dl-fptr.c: Likewise.
1356 * sysdeps/ia64/dl-fptr.c: Likewise.
1357 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1358 * sysdeps/mips/dl-machine.h: Likewise.
1359 * sysdeps/mips/mips64/dl-machine.h: Likewise.
1360 * sysdeps/powerpc/dl-machine.c: Likewise.
1362 2001-09-07 Ben Collins <bcollins@debian.org>
1364 * sysdeps/sparc/sparc32/dl-machine.h: Fix typo.
1366 * sysdeps/hppa/dl-lookupcfg.h: Forward declare struct link_map.
1368 2001-09-08 Ulrich Drepper <drepper@redhat.com>
1370 * elf/dl-lookup.c (add_dependency): Bump l_opencount of all
1371 dependencies if necessary.
1373 * elf/dl-close.c (_dl_close): If object has no r_list (i.e., wasn't
1374 loaded directly) determine length if l_initfini list by iterating
1375 over its elements. Minor optimizations.
1376 * elf/dl-deps.c (_dl_map_object_deps): Always add own map to l_initfini
1377 for dependency objects.
1378 If object was already loaded check whether any of the dependencies
1379 is already on the relocation dependency list. If yes, remove the
1380 latter. Minor optimizations.
1381 * elf/dl-lookup.c (add_dependency): Add check for self reference of
1382 maps here. Search l_initfini list only if the object was loaded
1383 directly and not only as a dependency.
1384 (_dl_lookup_symbol): Add relocation dependency also if object
1385 is not in global scope. Remove test for self-reference here.
1386 (_dl_lookup_versioned_symbol): Likewise.
1387 * elf/dl-object (_dl_new_object): Cleanup. Initialize dont_free
1388 element of first name record.
1389 * elf/loadtest.c: Add some more test to recognize early if an object
1391 * elf/Makefile: Add rules to build and run reldep5.
1392 * elf/reldep5.c: New file.
1393 * elf/reldepmod5.c: New file.
1394 * elf/reldepmod6.c: New file.
1396 * elf/reldep2.c: Fix typo.
1398 2001-09-07 Ulrich Drepper <drepper@redhat.com>
1400 * include/link.h (struct link_map): Add l_scope_mem and l_scope_max
1401 elements. Change l_scope to be a pointer only.
1402 * elf/dl-object.c (_dl_new_object): Initialize l_scope and l_scope_max.
1403 * elf/dl-open.c (dl_open_worker): If dependency wasn't just opened
1404 here add searchlist of newly open file to the dependency's scope.
1405 * elf/dl-close.c (_dl_close): If dependency is used otherwise remove
1406 only searchlist from its scope. Free own scope array if necessary.
1407 * elf/Makefile (tests): Add dblload and dblunload now.
1409 2001-09-06 Andreas Jaeger <aj@suse.de>
1411 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: New file, contributed
1414 2001-09-05 Ulrich Drepper <drepper@redhat.com>
1416 * elf/Makefile: Add rules to build new tests. Don't run them yet since
1418 * elf/dblload.c: New file.
1419 * elf/dblloadmod1.c: New file.
1420 * elf/dblloadmod2.c: New file.
1421 * elf/dblloadmod3.c: New file.
1422 * elf/dblunload.c: New file.
1424 2001-09-04 Richard Henderson <rth@redhat.com>
1426 * elf/elf.h (R_ALPHA_OP_*, R_ALPHA_IMMED_*): Remove.
1427 (R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16.
1429 2001-09-04 Ulrich Drepper <drepper@redhat.com>
1431 Correct very misleading message for error in failed runtime relocation.
1432 * elf/dl-error.c (_dl_signal_error): Take extra parameter to describe
1434 (_dl_signal_cerror): Likewise.
1435 * sysdeps/generic/ldsodefs.h: Adjust prototypes.
1436 * elf/dl-close.c: Likewise.
1437 * elf/dl-deps.c: Likewise.
1438 * elf/dl-load.c: Likewise.
1439 * elf/dl-lookup.c: Likewise.
1440 * elf/dl-open.c: Likewise.
1441 * elf/dl-reloc.c: Likewise.
1442 * elf/dl-sym.c: Likewise.
1443 * elf/dl-version.c: Likewise.
1444 * sysdeps/generic/dl-sysdep.c: Likewise.
1446 2001-09-04 Jakub Jelinek <jakub@redhat.com>
1448 * iconv/strtab.c (strtabinit): Initialize null Strent.
1449 (newstring): Move len == 0 handling...
1450 (strtabadd): ...here.
1451 If len == 1, return null Strent.
1452 When inserting a suffix of an existing string, check if
1453 it is not equal to some suffix already recorded.
1454 Copy left and right members over if adding longer string.
1456 2001-09-04 Jakub Jelinek <jakub@redhat.com>
1458 * sunrpc/rpc_cout.c (upcase): Account for trailing '\0'.
1460 * sysdeps/unix/sysv/linux/alpha/gethostname.c: Include <errno.h>.
1461 (__syscall_gethostname): Add prototype.
1463 2001-09-04 Ulrich Drepper <drepper@redhat.com>
1465 * elf/dl-object.c (_dl_new_object): Remove unnecessary if.
1467 2001-09-02 Ulrich Drepper <drepper@redhat.com>
1469 * elf/rtld.c (dl_main): Increment l_opencount for main binary.
1471 2001-08-27 Roland McGrath <roland@frob.com>
1473 * sysdeps/unix/sysv/gethostname.c (__gethostname): When LEN is too
1474 short, copy that much into NAME anyway before returning error.
1476 2001-09-01 Richard Henderson <rth@redhat.com>
1478 * sysdeps/alpha/elf/Dist: Remove file.
1479 * sysdeps/alpha/elf/Makefile: Remove file.
1480 * sysdeps/alpha/elf/crtbegin.S: Remove file.
1481 * sysdeps/alpha/elf/crtend.S: Remove file.
1482 * sysdeps/alpha/elf/initfini.c: New file.
1484 2001-09-01 Mark Kettenis <kettenis@gnu.org>
1486 * iconv/tst-iconv1.c: Include <stddef.h> for wchar_t.
1487 * iconv/tst-iconv3.c: Likewise.
1489 2001-09-01 Jakub Jelinek <jakub@redhat.com>
1491 * sysdeps/generic/inttypes.h (__gwchar_t): Define to wchar_t for C++.
1493 2001-09-01 Ulrich Drepper <drepper@redhat.com>
1495 * iconv/gconv_cache.c: Rename variable cache to __gconv_cache and
1497 * iconv/Versions (libc) [GLIBC_2.2.5]: Export __gconv_cache.
1498 * iconv/iconv_prog.c (insert_cache): New function.
1499 (print_known_names): If cache is used call insert_cache to use the
1500 information from the cache [PR libc/2509].
1502 2001-08-31 Ulrich Drepper <drepper@redhat.com>
1504 * time/strptime.c (strptime_internal): Recognize 'l' format and
1505 handle it like 'I' for symmetry with strftime.
1507 2001-08-31 Richard Henderson <rth@redhat.com>
1509 * elf/dl-support.c (_dl_cpuclock_offset): Protect with NONAVAIL.
1510 (HP_TIMING_AVAIL): Set to HP_SMALL_TIMING_AVAIL if present.
1511 * elf/rtld.c (HP_TIMING_AVAIL): Likewise.
1512 (print_statistics): Make scalar unsigned long long.
1513 * sysdeps/alpha/hp-timing.h: New file.
1515 2001-08-31 Jakub Jelinek <jakub@redhat.com>
1517 * stdio-common/perror.c (perror): Save errno early, pass it
1518 down to perror_internal.
1519 (perror_internal): Add errnum argument.
1521 2001-08-31 Jakub Jelinek <jakub@redhat.com>
1523 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Remove unused code.
1524 Don't add old memory content for R_ALPHA_REFQUAD.
1526 2001-08-30 Ulrich Drepper <drepper@redhat.com>
1528 * crypt/md5-crypt.c (__md5_crypt_r): Compute used and required
1531 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Use __open
1532 instead of open, __close instead of close, __getpagesize instead
1535 * string/argz-stringify.c (__argz_stringify): Use __strnlen
1537 * include/string.h (strndupa): Redefine here to use __strnlen
1539 * string/strndup.c (__strndup): Use __strnlen not strnlen.
1541 * misc/syslog.c (vsyslog): Fix typo in last change (connect ->
1544 2001-08-30 Jakub Jelinek <jakub@redhat.com>
1546 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
1547 R_ALPHA_RELATIVE if RTLD_BOOTSTRAP and HAVE_Z_COMBRELOC. Only check
1548 for rtld map if neither RTLD_BOOTSTRAP nor HAVE_Z_COMBRELOC is defined.
1549 * sysdeps/i386/dl-machine.h (elf_machine_rel): Similarly.
1550 * sysdeps/ia64/dl-machine.h (elf_machine_rel): Similarly.
1551 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rel): Similarly.
1552 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rel): Similarly.
1554 2001-08-30 Ulrich Drepper <drepper@redhat.com>
1556 * sysdeps/alpha/fpu/libm-test-ulps: Adjust j0 ULPs.
1558 2001-08-30 Andreas Jaeger <aj@suse.de>
1560 * sysdeps/ieee754/ldbl-128/e_jnl.c: New file,
1561 contributed Stephen L Moshier.
1563 2001-08-30 Jakub Jelinek <jakub@redhat.com>
1565 * sunrpc/etc.rpc (sgi_fam): Add.
1567 2001-08-30 Ulrich Drepper <drepper@redhat.com>
1569 * sysdeps/unix/sysv/linux/alpha/gethostname.c: New file.
1571 2001-08-29 Ulrich Drepper <drepper@redhat.com>
1573 * nis/nis_findserv.c (__nis_findfastest): Don't fail if reply received
1574 first is from a previous call.
1575 Patch by Alexander Belopolsky <alexb@rentec.com> for [PR libc/3670].
1577 2001-08-29 Andreas Schwab <schwab@suse.de>
1579 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
1581 2001-08-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1583 * config.make.in (INSTALL_SCRIPT): Define.
1584 * Makeconfig (INSTALL_SCRIPT): Define.
1585 * Makerules (do-install-script): New macro to install scripts using
1587 (install-bin-script): New rule to install scripts with
1589 (install-bin-script-nosubdir): New rule.
1590 (install-no-libc.a-nosubdir): Add install-bin-script-nosubdir.
1591 (distinfo-vars): Add $(install-bin-script).
1592 * Rules (others): Likewise.
1593 * Makefile (glibcbug): Install with install-bin-script.
1594 * debug/Makefile (xtrace): Likewise.
1595 (catchsegv): Likewise.
1596 * elf/Makefile (ldd): Likewise.
1597 * malloc/Makefile (mtrace): Likewise.
1598 * timezone/Makefile (tzselect): Likewise.
1600 2001-08-29 H.J. Lu <hjl@gnu.org>
1602 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Pass
1603 ELF_RTYPE_CLASS_PLT, instead of R_MIPS_REL32, to
1604 _dl_lookup_versioned_symbol () and _dl_lookup_symbol ().
1606 2001-08-29 Andreas Schwab <schwab@suse.de>
1608 * sysdeps/m68k/fpu/libm-test-ulps: Updated.
1610 2001-08-28 H.J. Lu <hjl@gnu.org>
1612 * Makeconfig (combreloc-LDFLAGS): New variable.
1613 Add it to LDFLAGS.so, LDFLAGS-rtld, and +link.
1614 * config.make.in (have-z-combreloc): New variable.
1615 * configure.in: Substitute libc_cv_z_combreloc.
1617 2001-08-29 Ulrich Drepper <drepper@redhat.com>
1619 * po/sv.po: Update from translation team.
1620 * po/fr.po: Likewise.
1621 * po/da.po: Likewise.
1623 2001-08-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1625 * Makerules: Fix a typo: MD% -> MD5.
1627 2001-08-28 Ulrich Drepper <drepper@redhat.com>
1629 * sunrpc/rpc_hout.c (pargdef): Function must take pointer to object.
1630 Patch by Patrick Duval <Patrick.Duval@devinci.fr>.
1632 2001-08-28 Andreas Jaeger <aj@suse.de>
1634 * manual/libc-texinfo.sh: Add entry about free manuals.
1636 * manual/contrib.texi (Contributors): Fix cross reference.
1638 * manual/libc.texinfo (Copying): Include freemanuals.
1640 * manual/Makefile (appendices): Add freemanuals.
1642 * manual/freemanuals.texi: New file.
1643 Patch by Brian Youmans <3diff@gnu.org>.
1645 * manual/libm-err-tab.pl: Pretty print more platforms, print a
1648 * manual/math.texi (Errors in Math Functions): Fix grammar, start
1649 table on separate page.
1650 Patch by Brian Youmans <3diff@gnu.org>.
1652 2001-08-27 Ulrich Drepper <drepper@redhat.com>
1654 * misc/syslog.c (vsyslog): Try a bit harder to use syslogd. If
1655 the connection went down after we first used it try to connect
1656 again and resend the message before printing to the console.
1657 Reported by Coserea Gh. Tudor <tudore@tudore.gecadsoftware.com>.
1659 2001-08-27 Jakub Jelinek <jakub@redhat.com>
1661 * string/tst-strlen.c (main): Test strnlen (, -1) too.
1662 * sysdeps/generic/strnlen.c (__strnlen): Fix for maxlens with top
1665 2001-08-27 Ulrich Drepper <drepper@redhat.com>
1667 * iconv/strtab.c (searchstring): Use correct length for comparison.
1668 (strtabadd): Account total size correct if new string has old string as
1671 2001-08-27 Jakub Jelinek <jakub@redhat.com>
1673 * elf/rtld.c (dl_main): Update call to _dl_lookup_symbol.
1675 2001-08-27 Andreas Jaeger <aj@suse.de>
1677 * sysdeps/i386/fpu/libm-test-ulps (float): Add ulps for new tests.
1679 * math/libm-test.inc (j0_test): Add extra tests.
1680 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Use |x|,
1681 not x, in Hankel approximation.
1682 Patches by Stephen L Moshier.
1684 2001-08-26 Ulrich Drepper <drepper@redhat.com>
1686 * sysdeps/ia64/dl-lookupcfg.h: Add forward declaration for struct
1689 * configure.in: Fix test for .rela.dyn section.
1691 * elf/dl-runtime.c: Update calls to _dl_lookup_*.
1693 2001-08-26 Jakub Jelinek <jakub@redhat.com>
1695 * elf/dl-reloc.c (RESOLVE_MAP, RESOLVE): Use elf_machine_type_class
1696 instead of elf_machine_lookup_noexec_p and elf_machine_lookup_noplt_p.
1697 Pass type_class to _dl_lookup_*.
1698 * elf/dl-lookup.c (_dl_lookup_symbol): Take type_class parameter now.
1699 Pass around just type_class instead of noexec, noplt pair.
1700 (_dl_lookup_versioned_symbol): Likewise.
1701 (_dl_lookup_symbol_skip): Pass around just type_class instead of
1703 (_dl_lookup_versioned_symbol_skip): Likewise.
1704 (_dl_do_lookup, _dl_do_lookup_versioned): Likewise.
1705 * elf/do-lookup.h (do_lookup): Likewise.
1706 * include/link.h (struct link_map): Replace noexec and noplt fields
1707 in l_lookup_cache with type_class field.
1708 * sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_PLT,
1709 ELF_RTYPE_CLASS_COPY): Define.
1710 Adjust prototypes for _dl_lookup_symbol and
1711 _dl_lookup_versioned_symbol.
1712 * sysdeps/alpha/dl-machine.h (elf_machine_lookup_noplt_p,
1713 elf_machine_lookup_noexec_p): Remove.
1714 (elf_machine_type_class): Define.
1715 * sysdeps/arm/dl-machine.h: Likewise.
1716 * sysdeps/hppa/dl-machine.h: Likewise.
1717 * sysdeps/cris/dl-machine.h: Likewise.
1718 * sysdeps/i386/dl-machine.h: Likewise.
1719 * sysdeps/ia64/dl-machine.h: Likewise.
1720 * sysdeps/m68k/dl-machine.h: Likewise.
1721 * sysdeps/mips/mips64/dl-machine.h: Likewise.
1722 * sysdeps/mips/dl-machine.h: Likewise.
1723 * sysdeps/powerpc/dl-machine.h: Likewise.
1724 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1725 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1726 * sysdeps/sh/dl-machine.h: Likewise.
1727 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1728 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1730 2001-08-26 Ulrich Drepper <drepper@redhat.com>
1732 * manual/message.texi (Advanced gettext functions): Change
1733 description of plural forms for Slovak.
1734 Reported by Marcel Telka <marcel@telka.sk>.
1736 * manuaL/time.texi (Low-Level Time String Parsing): Fix description of
1737 %z. Reported by C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>.
1739 2001-08-26 Jakub Jelinek <jakub@redhat.com>
1741 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_lazy_rel): Fix a
1742 typo. Patch by Florian La Roche <laroche@redhat.com>.
1744 2001-08-26 Ulrich Drepper <drepper@redhat.com>
1746 * include/link.h (struct link_map): Add l_lookup_cache element.
1747 * elf/dl-reloc.c (RESOLVE): Add symbol caching here.
1748 (RESOLVE_MAP): Likewise.
1749 (_dl_relocate_object): Remove cache initialization.
1750 * elf/dl-lookup.c: Rip out cache handling code.
1751 * sysdeps/generic/ldsodefs.h: Remove lookup_cache struct and variable
1754 * elf/dl-lookup.c (_dl_lookup_symbol): Reorder some conditions and
1755 remove some __builtin_expect.
1756 (_dl_lookup_versioned_symbol): Likewise.
1758 * config.h.in: Add HAVE_Z_COMBRELOC.
1759 * configure.in: Add test for -z combreloc.
1761 * sysdeps/i386/dl-machine.h (elf_machine_rel): Minor cleanups and
1762 optimizations. Use HAVE_Z_COMBRELOC to avoid generaton of
1763 R_386_RELATIVE handling for ld.so startup. Reduce RTLD_BOOTSTRAP
1764 case to almost no code.
1766 2001-08-25 Ulrich Drepper <drepper@redhat.com>
1768 * po/tr.po: Update from translation team.
1770 2001-08-24 Andreas Jaeger <aj@suse.de>
1772 * iconv/Makefile (extra-objs): Add iconvconfig-modules so that
1775 2001-08-24 Ulrich Drepper <drepper@redhat.com>
1777 * elf/rtld.c (print_statistics): Printf % after percent values.
1778 * elf/dl-misc.c (_dl_debug_vdprintf): Implement %%.
1780 * elf/dl-lookup.c (_dl_lookup_symbol): If we use the cache we
1781 don't have to compute the hash value and initialize current_value.
1782 Move reference_name variable to where it is needed.
1783 (_dl_lookup_versioned_symbol): Likewise.
1785 2001-08-24 Roland McGrath <roland@frob.com>
1787 * string/tester.c (test_strerror): Don't use _sys_errlist/_sys_nerr.
1788 Just test that strerror returns non-null for a few errno codes.
1790 2001-08-23 Roland McGrath <roland@frob.com>
1792 * hurd/Versions (libc: GLIBC_2.2.5): New set; add _hurd_raise_signal,
1793 _hurdsig_interrupt_timeout, _hurdsig_fault_preemptor.
1795 * sysdeps/posix/shm_unlink.c (shm_unlink): __unlink -> unlink.
1797 * mach/Versions (libc: GLIBC_2.2.5): New set; add __mach_msg_destroy,
1800 2001-08-24 Ulrich Drepper <drepper@redhat.com>
1802 * nss/test-netdb.c (test_hosts): Don't segfault if gethostname
1805 * elf/do-rel.h (elf_dynamic_do_rel): Fix problem with ld.so
1806 startup. Explicitly remove lazy part for RTLD_BOOTSTRAP since gcc
1808 * elf/rtld.c: Include <sys/param.h>.
1809 * elf/dl-reloc.c: Likewise.
1811 2001-08-24 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1813 * sysdeps/unix/sysv/linux/mips/configure.in: Define AC_SUBST to
1814 empty to prevent junk from being generated.
1815 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1817 2001-08-24 Jakub Jelinek <jakub@redhat.com>
1819 * elf/do-rel.h (elf_dynamic_do_rel): If l_addr is 0, skip relative
1820 records. Rename endrel to relative, initialize it to r, and use it
1821 in elf_machine_rel_relative calls. Point r after relative relocs.
1823 2001-08-24 Ulrich Drepper <drepper@redhat.com>
1825 * sysdeps/i386/dl-machine.h (elf_machine_rel): Correct prediction
1828 2001-08-24 Jakub Jelinek <jakub@redhat.com>
1830 * elf/do-rel.h (elf_machine_rel_relative): Define for rela if
1831 necessary. Undefine newly defined macros at the end.
1832 * sysdeps/hppa/dl-machine.h (elf_machine_rela_relative):
1833 Rename from elf_machine_rel_relative.
1834 * sysdeps/cris/dl-machine.h (elf_machine_rela_relative): Likewise.
1835 * sysdeps/m68k/dl-machine.h (elf_machine_rela_relative): Likewise.
1836 * sysdeps/powerpc/dl-machine.h (elf_machine_rela_relative): Likewise.
1837 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela_relative):
1839 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela_relative):
1841 * sysdeps/ia64/dl-machine.h (elf_machine_rela_relative): Likewise.
1843 * sysdeps/alpha/dl-machine.h (elf_machine_rela_relative): Likewise.
1845 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela_relative):
1846 Likewise. Fix argument types.
1847 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela_relative):
1848 Likewise. Fix argument types.
1849 * sysdeps/sh/dl-machine.h (elf_machine_rela_relative): Likewise.
1851 * sysdeps/mips/dl-machine.h (elf_machine_rel_relative): Use
1852 ElfW(Rel) in argument.
1853 * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel_relative): New
1856 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
1858 * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix typo.
1860 2001-08-24 Andreas Jaeger <aj@suse.de>
1862 * sysdeps/ieee754/ldbl-128/e_j1l.c: New file, contributed by
1863 Stephen L Moshier <moshier@mediaone.net>.
1865 2001-08-24 Ulrich Drepper <drepper@redhat.com>
1867 * elf/do-rel.h (elf_dynamic_do_rel): RELATIVE relocations comes
1868 first if RELCOUNT is set.
1870 * elf/do-rel.h (elf_dynamic_do_rel): If not relocating lazily, don't
1871 call elf_machine_rel for the last DT_RELCOUNT relocations but instead
1872 elf_machine_rel_relative.
1873 * sysdeps/alpha/dl-machine.h: Define elf_machine_rel_relative.
1874 Minor optimizations.
1875 * sysdeps/arm/dl-machine.h: Likewise.
1876 * sysdeps/cris/dl-machine.h: Likewise.
1877 * sysdeps/hppa/dl-machine.h: Likewise.
1878 * sysdeps/i386/dl-machine.h: Likewise.
1879 * sysdeps/ia64/dl-machine.h: Likewise.
1880 * sysdeps/m68k/dl-machine.h: Likewise.
1881 * sysdeps/mips/dl-machine.h: Likewise.
1882 * sysdeps/powerpc/dl-machine.h: Likewise.
1883 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1884 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1885 * sysdeps/sh/dl-machine.h: Likewise.
1886 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1887 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1889 2001-08-23 Roland McGrath <roland@frob.com>
1891 * rt/tst-aio4.c [! SIGRTMIN] (SIGRTMIN, SIGRTMAX): Define as -1.
1893 * sysdeps/mach/hurd/bits/libc-lock.h: New file, initially copied from
1894 sysdeps/mach version. Implement counting ("recursive") mutexes
1895 on top of cthreads mutexes.
1896 * sysdeps/mach/hurd/bits/stdio-lock.h: File removed; generic now works.
1898 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Define to
1899 _LIBC_LOCK_RECURSIVE_INITIALIZER if defined, else do an #error.
1900 (__libc_cleanup_region_start, __libc_cleanup_region_end,
1901 __libc_clean_end): Define these to call the cleanup function after
1902 normal exit when they're supposed to.
1904 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start):
1905 Take new first arg DOIT, a boolean saying whether to really install
1906 any cleanup handler.
1907 (__libc_cleanup_region_end): Do nothing if start's DOIT arg was zero.
1908 (__libc_cleanup_end): Likewise.
1909 * sysdeps/generic/bits/libc-lock.h: Same changes.
1910 * stdio-common/vfscanf.c (LOCK_STREAM): Pass new arg.
1911 * stdio-common/vfprintf.c (buffered_vfprintf, vfprintf): Likewise.
1912 * sysdeps/mach/hurd/bits/stdio-lock.h (_IO_cleanup_region_start):
1914 * misc/syslog.c (vsyslog, openlog, closelog): Likewise.
1915 * sysdeps/generic/bits/stdio-lock.h
1916 (_IO_cleanup_region_start, _IO_cleanup_region_start_noarg): Likewise.
1918 2001-08-23 Jakub Jelinek <jakub@redhat.com>
1920 * elf/ldconfig.c (search_dir): Remove stale symlinks.
1922 2001-08-23 Jakub Jelinek <jakub@redhat.com>
1924 * elf/dl-lookup.c (lookup_cache, lookup_cache_versioned): New.
1925 (_dl_lookup_symbol): Lookup relocations in cache and store successfull
1927 (_dl_lookup_versioned_symbol): Likewise.
1928 * elf/dl-reloc.c (_dl_relocate_object): Initialize cache for
1930 * elf/rtld.c (print_statistics): Output _dl_num_cache_relocations.
1931 * sysdeps/generic/ldsodefs.h (struct lookup_cache): New definition.
1932 (lookup_cache, lookup_cache_versioned): Add declarations.
1934 2001-08-23 Ulrich Drepper <drepper@redhat.com>
1936 * stdlib/tst-random.c (main): Swap parameters in fail call.
1937 Patch by Pete Bevin <pete@petebevin.com>.
1939 2001-08-23 Jakub Jelinek <jakub@redhat.com>
1941 * sysdeps/generic/inttypes.h: Use __gwchar_t instead of __wchar_t.
1943 2001-08-23 Ulrich Drepper <drepper@redhat.com>
1945 * malloc/obstack.c: Indent preprocessor directives.
1946 Patch by Jim Meyering <meyering@ascend.com>.
1948 * po/ja.po: Update from translation team.
1950 2001-08-23 Roland McGrath <roland@frob.com>
1952 * libio/tst-ungetwc1.c (main): Add a const to quiet a warning.
1954 * nss/test-netdb.c (test_hosts): Don't use MAXHOSTNAMELEN.
1955 Instead, use dynamic buffer to test gethostname's ENAMETOOLONG error.
1957 2001-08-22 Roland McGrath <roland@frob.com>
1959 * sysdeps/generic/ldsodefs.h (_dl_load_lock): Declare it here with
1960 __libc_lock_define_recursive.
1961 * elf/dl-open.c: Don't declare it here any more.
1962 * elf/dl-close.c: Likewise.
1963 * elf/dl-lookup.c: Likewise.
1964 * elf/dl-iteratephdr.c: Likewise.
1965 * elf/dl-lookup.c (add_dependency): Use __libc_lock_lock_recursive and
1966 __libc_lock_unlock_recursive.
1967 * elf/dl-close.c (_dl_close): Likewise
1968 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise
1969 * elf/dl-open.c (_dl_open): Likewise
1971 * sysdeps/generic/bits/libc-lock.h
1972 (__libc_lock_define_recursive): New macro.
1973 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_t): Use it.
1974 (_IO_lock_lock): Use __libc_lock_lock_recursive.
1975 (_IO_lock_unlock): Use __libc_lock_unlock_recursive.
1977 * conform/conformtest.pl (checknamespace): Sort the output list.
1979 * sysdeps/generic/bits/poll.h (POLLWRBAND): New alias for POLLOUT.
1980 (POLLRDNORM, POLLRDBAND, POLLWRNORM, POLLWRBAND): Make these
1981 definitions conditional on [__USE_XOPEN].
1983 * sysdeps/mach/hurd/bits/fcntl.h (O_ASYNC, O_FSYNC, O_SYNC): Define
1984 these unconditionally, not only use [__USE_BSD], so as to match
1985 the sysdeps/unix/sysv/linux files.
1987 2001-08-22 Ulrich Drepper <drepper@redhat.com>
1989 * test-skeleton.c (add_temp_file): Add __attribute__ ((unused)) to
1992 * dlfcn/tst-dladdr.c (do_test): Get address of ref1 using
1995 2001-08-22 Roland McGrath <roland@frob.com>
1997 * sysdeps/generic/bits/sigaction.h (struct sigaction): Fix up
1998 conditionalization of sa_handler/sa_sigaction member types to
1999 match the sysdeps/unix/sysv/linux file.
2001 2001-08-22 Ulrich Drepper <drepper@redhat.com>
2003 * elf/dl-addr.c (_dl_addr): Handle broken binaries with zero
2004 symbol sizes a bit better.
2006 * sysdeps/ia64/strncpy.S: Complete rewrite.
2007 Contributed by Jakub Jelinek <jakub@redhat.com>.
2009 * string/stratcliff.c (main): Add strncpy test.
2011 2001-08-22 Roland McGrath <roland@frob.com>
2013 * sysdeps/generic/dl-environ.c: Include <stdlib.h> and <unistd.h>,
2014 and don't declare unsetenv or _environ directly.
2015 (unsetenv): Return int, not void. Use __environ instead of _environ.
2017 2001-08-01 Mark Kettenis <kettenis@gnu.org>
2019 * sysdeps/unix/bsd/bsd4.4/Makefile: New file.
2020 * sysdeps/unix/bsd/bsd4.4/Versions: New file.
2021 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: New file.
2022 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Correct
2023 test for cmsg struct size.
2025 2001-04-23 Paul Eggert <eggert@twinsun.com>
2027 * posix/getopt.h (getopt_long, getopt_long_only, _getopt_internal):
2028 Rename __argc to ___argc in prototypes to avoid compatibility
2029 problems with systems that reserve the identifier "__argc".
2030 Similarly for __argv.
2032 2001-08-21 Roland McGrath <roland@frob.com>
2034 * stdio-common/tst-fseek.c: Include <time.h> for `time' declaration.
2036 * mach/Makefile (tests): Removed.
2037 * mach/hello.c: File removed.
2039 2001-08-22 Ulrich Drepper <drepper@redhat.com>
2041 * po/sv.po: Update from translation team.
2043 * stdio-common/vfscanf.c: Fix handling of %l[].
2044 Reported by Mitsuru Chinen <mchinen@yamato.ibm.com>.
2046 * libio/Makefile (tests): Add tst-sscanf.
2047 * libio/tst-sscanf.c: New file.
2049 * elf/dl-addr.c (_dl_addr): Fix tests to determine dli_sname.
2050 * malloc/mtrace.c (tr_where): dli_sname always points to a
2051 non-empty string if != NULL.
2052 Reported by Tim Janik <timj@gtk.org>.
2054 2001-08-22 Jakub Jelinek <jakub@redhat.com>
2056 * sunrpc/xdr_rec.c (xdrrec_create): Fix buf sizes before allocating
2057 buf. Free resources on failure.
2058 * sunrpc/svc_unix.c (svcunix_create): Free resources on failure.
2059 (makefd_xprt): Likewise.
2060 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
2061 * sunrpc/svc_tcp.c (svctcp_create, makefd_xprt): Likewise.
2062 * sunrpc/auth_unix.c (authunix_create): Likewise.
2064 2001-08-21 Jakub Jelinek <jakub@redhat.com>
2066 * string/strnlen.c: Remove.
2067 * sysdeps/generic/strnlen.c: New file.
2068 * sysdeps/i386/i486/bits/string.h (strnlen): Remove.
2070 2001-08-21 Roland McGrath <roland@frob.com>
2072 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Define this
2073 as a macro, not an extern inline function.
2075 * hurd/Versions (GLIBC_2.2.5): New set, define __hurd_fail here.
2076 * Versions.def (libc): Add GLIBC_2.2.5 set.
2077 * hurd/hurd.h (_HURD_H_EXTERN_INLINE): New macro.
2078 (__hurd_fail): Use that instead of _EXTERN_INLINE in decl.
2080 2001-08-20 Roland McGrath <roland@frob.com>
2082 * hurd/hurdlookup.c (__hurd_file_name_lookup): Fail with ENOENT for "".
2083 (__hurd_file_name_split, __hurd_directory_name_split): Likewise.
2085 2001-08-21 Ulrich Drepper <drepper@redhat.com>
2087 * string/bits/string2.h: Remove strnlen optimization here.
2088 * sysdeps/i386/i486/bits/string.h: Add it here.
2090 2001-08-21 Wolfram Gloger <wg@malloc.de>
2092 * malloc/malloc.c: Make access to ..._hook pointers thread-safe.
2094 2001-08-21 Ulrich Drepper <drepper@redhat.com>
2096 * po/gl.po: Update from translation team.
2098 2001-08-20 Ulrich Drepper <drepper@redhat.com>
2100 * misc/error.c (error_tail): Use fputws_unlocked instead of fputws.
2101 * misc/err.c (convert_and_print): Likewise.
2103 * malloc/obstack.c (print_and_abort): Use fprintf instead of two
2106 2001-08-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
2108 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Revert the
2109 change of the gregset_t type.
2110 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2112 2001-08-20 kaz Kojima <kkojima@rr.iij4u.or.jp>
2114 * sysdeps/unix/sysv/linux/sh/sysdep.S: Align errno.
2116 2001-08-20 Ulrich Drepper <drepper@redhat.com>
2118 * posix/regex.c (truncate_wchar): Use wcrtomb not wctomb.
2120 * string/strnlen.c: Fix the implementation. We cannot use memchr.
2122 2001-08-18 Mark Kettenis <kettenis@gnu.org>
2124 * sysdeps/mach/hurd/i386/init-first.c (init): Initialize __environ
2125 before calling the cthreads initialization code.
2127 2001-08-20 Ulrich Drepper <drepper@redhat.com>
2129 * argp/argp-help.c: Fix two problems introduced in last change.
2131 * include/dirent.h: Include <dirstream.h> first.
2133 2001-08-19 Ulrich Drepper <drepper@redhat.com>
2135 * io/fts.c (fts_safe_changedir): Use __fxstat64 instead of __fstat.
2137 * sunrpc/svcauth_des.c (_svcauth_des): Avoid using bcopy.
2138 * sunrpc/xdr_rec.c: Likewise.
2139 * sunrpc/xdr_mem.c: Likewise.
2140 * sunrpc/svc_authux.c (_svcauth_unix): Likewise.
2141 * sunrpc/rpc_cmsg.c: Likewise.
2142 * sunrpc/getrpcport.c (getrpcport): Likewise.
2143 * sunrpc/clnt_simp.c (callrpc): Likewise.
2144 * sunrpc/clnt_gen.c (clnt_create): Likewise.
2145 * string/envz.c: Likewise.
2147 * po/ko.po: Update from translation team.
2149 * argp/argp-help.c: Handle wide oriented stderr stream.
2151 2001-08-18 Ulrich Drepper <drepper@redhat.com>
2153 * sysdeps/generic/strtol.c: Little optimizations. Add some
2156 * conform/conformtest.pl: <inttypes.h> test requires <stddef.h>.
2158 * wcsmbs/wchar.h (wcwdith): Change parameter type to wchar_t.
2159 * wcsmbs/wcwidth.c (wcwdith): Likewise.
2160 * wcsmbs/wcwidth.h (internal_wcwdith): Likewise.
2162 * conform/data/unistd.h-data: Remove _SC_MULTIPLE_PROCESS.
2164 * conform/data/ucontext.h-data: Fix typos in ucontext_t element tests.
2166 * time/time.h (struct timespec): Use __time_t for tv_sec element.
2168 * sysdeps/generic/inttypes.h: Define __wchar_t. Use it instead of
2169 wchar_t for function declarations and defintions.
2171 * misc/sys/select.h: Define __need_time_t before including <time.h>.
2172 Define suseconds_t if it hasn't happened yet.
2174 * iconv/gconv.h: Define __need_wchar_t before including <stddef.h>.
2176 * conform/data/sys/uio.h-data: Allow UIO_MAXIOV to be defined.
2178 * sysdeps/generic/stdint.h: Don't get definition of wchar_t from
2181 * conform/data/stddef.h-data: Remove wint_t.
2183 * conform/conformtest.pl: Change namespace test to take #undef
2186 * conform/data/netinet/in.h-data: Fix typo in allow-header line.
2188 * conform/data/sys/socket.h-data: Add sockatmark.
2190 2001-08-17 Ulrich Drepper <drepper@redhat.com>
2192 * io/fts.c: Update from recent BSD source.
2194 2001-08-17 Roland McGrath <roland@frob.com>
2196 * stdio-common/perror.c (perror) [! USE_IN_LIBIO]: Don't use _IO_fwide.
2197 * misc/error.c (error_tail, error, error_at_line) [! USE_IN_LIBIO]:
2200 2001-08-17 Ulrich Drepper <drepper@redhat.com>
2202 * locale/duplocale.c (__duplocale): Also initialize the special
2205 * conform/data/netdb.h-data: Adjust gai_strerror return type.
2207 2001-08-17 Andreas Jaeger <aj@suse.de>
2209 * misc/getpass.c: Include wchar.h for prototypes.
2210 * malloc/obstack.c: Likewise.
2212 2001-08-17 Ulrich Drepper <drepper@redhat.com>
2214 * sunrpc/svc_simple.c (universal): Use __write instead of write.
2216 * wcsmbs/wcscoll.c: Also define __wcscoll.
2217 * include/wchar.h: Declare __wcscoll.
2219 * libio/fwprintf.c: Use __vfwprintf instead of vfwprintf.
2220 * libio/vwprintf.c: Likewise.
2221 * libio/wprintf.c: Likewise.
2223 * iconv/gconv_cache.c: Use __munmap instead of munmap.
2225 2001-08-16 Ulrich Drepper <drepper@redhat.com>
2227 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
2229 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
2230 wcslen, and __wcscoll instead of wcscoll.
2232 * sysdeps/unix/sockatmark.c (sockatmark): Use __ioctl instead of ioctl.
2234 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue): Use
2235 __getuid instead of getuid.
2237 * stdio-common/perror.c (perror): Use __close instead of close.
2238 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
2239 * libio/freopen.c (freopen): Likewise.
2240 * libio/freopen64.c (freopen64): Likewise.
2242 * libio/tst-ungetwc2.c (main): Define str const.
2244 * include/wchar.h: Add prototypes for __fwprintf and __vfwprintf.
2245 * libio/fwprintf.c: Also define __fwprintf.
2246 * stdio-common/vfprintf.c [COMPILE_WPRINTF]: Also define __vfwprintf.
2247 * argp/argp-fmtstream.c: Handle wide oriented stderr stream.
2248 * assert/assert-perr.c: Likewise.
2249 * assert/assert.c: Likewise.
2250 * gmon/gmon.c: Likewise.
2251 * inet/rcmd.c: Likewise.
2252 * malloc/obstack.c: Likewise.
2253 * misc/err.c: Likewise.
2254 * misc/error.c: Likewise.
2255 * misc/getpass.c: Likewise.
2256 * posix/getopt.c: Likewise.
2257 * resolv/res_hconf.c: Likewise.
2258 * stdio-common/perror.c: Likewise.
2259 * stdio-common/psignal.c: Likewise.
2260 * stdlib/fmtmsg.c: Likewise.
2261 * sunrpc/auth_unix.c: Likewise.
2262 * sunrpc/clnt_perr.c: Likewise.
2263 * sunrpc/clnt_tcp.c: Likewise.
2264 * sunrpc/clnt_udp.c: Likewise.
2265 * sunrpc/clnt_unix.c: Likewise.
2266 * sunrpc/svc_simple.c: Likewise.
2267 * sunrpc/svc_tcp.c: Likewise.
2268 * sunrpc/svc_udp.c: Likewise.
2269 * sunrpc/svc_unix.c: Likewise.
2270 * sunrpc/xdr.c: Likewise.
2271 * sunrpc/xdr_array.c: Likewise.
2272 * sunrpc/xdr_rec.c: Likewise.
2273 * sunrpc/xdr_ref.c: Likewise.
2274 * sysdeps/generic/wordexp.c: Likewise.
2276 * po/it.po: Update from translation team.
2278 * misc/err.c: Handle wide oriented stderr stream.
2280 2001-08-14 Tom Rix <trix@redhat.com>
2282 * iconv/gconv_cache.c (find_module): Add #ifndef STATIC_GCONV.
2283 * iconv/Makefile: Fix gconv_cache.c CFLAGS.
2285 2001-08-13 Tom Rix <trix@redhat.com>
2287 * sysdeps/unix/sysv/aix/Makefile: Add rule to import kernel symbols.
2288 * sysdeps/unix/sysv/aix/bits/types.h: Fix type of __id_t, __useconds_t
2291 2001-08-15 Martin Schwidefsky <schwidefsky@de.ibm.com>
2293 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S (__getcontext):
2294 Store the access registers to the ucontext structure.
2295 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S (__getcontext):
2298 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S (__setcontext):
2299 Load the access registers from the ucontext structure.
2300 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S (__setcontext):
2303 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: Adjust the SC_xxx
2304 offsets to the new ucontext layout.
2305 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: Likewise.
2307 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix the layout
2308 of the ucontext structure.
2309 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2311 2001-08-15 Ulrich Drepper <drepper@redhat.com>
2313 * misc/error.c (error): Handle wide oriented stderr stream correctly.
2314 (error_at_line): Likewise.
2316 * stdio-common/perror.c (perror): Implement according to standard.
2317 The stream orientation must not be changed if the stream was not
2318 oriented before the call.
2319 * stdio-common/Makefile (tests): Add tst-perror.
2320 * stdio-common/tst-perror.c: New file.
2323 See ChangeLog.12 for earlier changes.