1 2001-12-05 Ulrich Drepper <drepper@redhat.com>
3 * iconvdata/ibm1129.h: Remove duplicate mappings.
4 * iconvdata/ibm937.c: Handle overflow errors. Handle new tables.
5 * iconvdata/ibm937.h: Reorganize table to safe a lot of space.
6 Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
8 * timezone/zic.c: Fix handling of turnaround times.
9 Patch by Arthur David Olson <olsona@dc37a.nci.nih.gov>.
11 2001-12-02 Moshe Olshansky <OLSHANSK@il.ibm.com>
13 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Fix
16 2001-12-05 Ulrich Drepper <drepper@redhat.com>
18 * posix/regex.c: For use outside glibc defined bounded pointer
19 macros here. Patch by Jim Meyering <jim@meyering.net>.
21 * iconvdata/Makefile (modules): Add TCVN5712-1.
22 * iconvdata/TESTS: Add TCVN5712-1.
23 * iconvdata/gconv-modules: Likewise.
24 * iconvdata/tcvn5712-1.c: New file.
25 * iconvdata/testdata/TCVN-5712: New file.
26 * iconvdata/testdata/TCVN-5712..UTF8: New file.
28 2001-12-04 Ulrich Drepper <drepper@redhat.com>
30 * iconvdata/cp1258.c: Optimize conversion from UCS4.
32 2001-12-02 Roland McGrath <roland@frob.com>
34 * mach/Makefile, mach/Machrules: Move comments out of \ continuations.
36 * hurd/hurd.h (__hurd_fail): Add `break;' to silence new gcc-3 warning.
37 Reported by Jeff Bailey <jbailey@nisa.net>.
39 * hurd/hurd.h (_hurd_umask): Remove volatile qualifier from decl.
40 Reported by Jeff Bailey <jbailey@nisa.net>.
42 * mach/Makefile ($(objpfx)mach-syscalls.mk): Pass $(CFLAGS) to $(CC).
43 * mach/Machrules ($(objpfx)%.udeps static pattern rule): Likewise.
44 Reported by Jeff Bailey <jbailey@nisa.net>.
46 2001-12-01 Roland McGrath <roland@frob.com>
48 * sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Add
49 missing backslash in test arguments.
50 * sysdeps/mach/hurd/configure: Regenerated.
52 2001-11-26 Roland McGrath <roland@frob.com>
54 * hurd/hurdinit.c (_hurd_ports_use): Check if _hurd_ports is null.
55 Reported by John Tobey <jtobey@john-edwin-tobey.org>.
57 2001-11-30 Ulrich Drepper <drepper@redhat.com>
59 * iconvdata/Makefile (modules): Add ARMSCII-8.
60 * iconvdata/gconv-modules: Add entries for ARMSCII-8.
61 * iconvdata/armscii-8.c: New file.
63 2001-11-29 Jakub Jelinek <jakub@redhat.com>
65 * sysdeps/generic/glob.c (next_brace_sub): Return NULL if braces
66 don't match, fix {{a,b},c} globbing, clean up.
67 Patch by Flavio Veloso <flaviovs@magnux.com>.
68 * posix/globtest.sh: Add new tests.
70 2001-11-29 Andreas Jaeger <aj@suse.de>
72 * sysdeps/unix/sysv/linux/x86_64/Versions: Add arch_prctl.
73 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add arch_prctl call.
75 * sysdeps/generic/abort.c: Include libioP.h for
76 _IO_flush_all_lockp prototype.
78 2001-11-29 Ulrich Drepper <drepper@redhat.com>
80 * posix/regex.h: Define __restrict_arr correctly.
82 2001-11-28 Ulrich Drepper <drepper@redhat.com>
84 * iconvdata/ibm1163.c: New file.
85 * iconvdata/ibm1163.h: New file.
86 * iconvdata/ibm1164.c: New file.
87 * iconvdata/ibm1164.h: New file.
88 * iconvdata/TESTS: Add entries for IBM1163 and IBM1164.
89 * iconvdata/Makefile: Likewise.
90 * iconvdata/testdata/IBM1163: New file.
91 * iconvdata/testdata/IBM1163..UTF8: New file.
92 * iconvdata/testdata/IBM1164: New file.
93 * iconvdata/testdata/IBM1164..UTF8: New file.
94 Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
96 * iconvdata/ibm1046.h: Optimize. Remove duplicate mappings.
97 * iconvdata/ibm1124.h: Likewise.
98 * iconvdata/ibm1132.h: Likewise.
99 * iconvdata/ibm1133.h: Likewise.
100 * iconvdata/ibm1160.h: Likewise.
101 * iconvdata/ibm1161.h: Likewise.
102 * iconvdata/ibm1162.h: Likewise.
103 * iconvdata/ibm856.h: Likewise.
104 * iconvdata/ibm922.h: Likewise.
105 * iconvdata/ibm930.h: Likewise.
106 * iconvdata/ibm932.h: Likewise.
107 * iconvdata/ibm933.h: Likewise.
108 * iconvdata/ibm935.h: Likewise.
109 * iconvdata/ibm937.h: Likewise.
110 * iconvdata/ibm939.h: Likewise.
111 * iconvdata/ibm943.h: Likewise.
112 * iconvdata/ibm930.c: Pretty printing.
113 * iconvdata/ibm937.c: Avoid access accross array boundary.
115 * iconv/gconv_open.c (__gconv_open): Empty codeset name now means using
116 the current locale's codeset.
117 * iconv/iconv_open.c (iconv_open): Don't strip out everything for
119 * iconv/iconv_prog.c: Pass empty strings as default value for to-
120 and from-charset. Don't determine locale's charset here.
122 * libio/genops.c (_IO_flush_all_lockp): New function. The same code
123 as the old _IO_flush_all but lock only if parameter is nonzero.
124 (_IO_flush_all): Call _IO_flush_all_lockp with 1 as parameter.
125 * libio/libioP.h: Add prototype for _IO_flush_all_lockp.
126 * sysdeps/generic/abort.c (fflush): Define to _IO_flush_all_lockp(0)
127 if libio is used [PR libc/2575].
129 2001-11-28 Jakub Jelinek <jakub@redhat.com>
131 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf, __signbit,
132 __signbitl): Only define for ISO C99.
134 2001-11-22 Thorsten Kukuk <kukuk@suse.de>
136 * nss/nss_files/files-hosts.c (_nss_files_get##name##_r): Set
137 herrnop to NETDB_INTERNAL if we run out of buffer space.
139 2001-11-28 Ulrich Drepper <drepper@redhat.com>
141 * nss/nss_files/files-XXX.c (internal_getent): Correct input
142 overflow test for platforms with signed char.
143 Reported by Andrew Haley <aph@cambridge.redhat.com>.
145 2001-11-28 Bruno Haible <bruno@clisp.org>
147 * locale/programs/simple-hash.c (lookup_2): Remove function.
148 (insert_entry_2): Call lookup instead of lookup_2.
150 2001-03-04 Bruno Haible <bruno@clisp.org>
152 * intl/dcigettext.c (DCIGETTEXT): Increment path_max proportionally.
154 2001-10-31 Bruno Haible <bruno@clisp.org>
156 * intl/plural.y: Include <stddef.h>, needed for NULL with SunOS 4 cc.
158 2001-03-21 Bruno Haible <bruno@clisp.org>
160 * intl/dcigettext.c (_nl_state_lock): Mark as #ifdef _LIBC. AIX 3 xlc
161 chokes on empty macro arguments.
162 * intl/plural.y: Add #pragma for alloca on AIX 3.
164 2001-11-27 Ulrich Drepper <drepper@redhat.com>
166 * intl/dcigettext.c (guess_category_value): Only implement for
167 glibc. Otherwise rely on function _nl_locale_name which isn't
168 present in the glibc sources.
170 2001-09-24 Bruno Haible <bruno@clisp.org>
172 * intl/loadmsgcat.c (_nl_init_domain_conv): Also enable
173 transliteration when building on a glibc system but outside glibc.
175 2001-09-22 Bruno Haible <bruno@clisp.org>
177 * intl/plural-eval.c: New file, extracted from dcigettext.c.
178 * intl/dcigettext.c (plural_eval): Remove function, moved to
180 (plural_lookup): Call PLURAL_EVAL instead of plural_eval.
181 Include plural-eval.c.
183 2001-09-22 Bruno Haible <bruno@clisp.org>
185 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Reject numbers that
186 don't start with a digit; nplurals must be positive.
188 2001-09-02 Bruno Haible <bruno@clisp.org>
190 * intl/plural-exp.h: New file, extracted from gettextP.h.
191 * intl/plural-exp.c: New file, extracted from loadmsgcat.c.
192 * intl/gettextP.h (struct expression, struct parse_args,
193 __gettext_free_exp, __gettextparse): Move to plural-exp.h.
194 * intl/loadmsgcat.c: Include plural-exp.h.
195 (PLURAL_PARSE): Move macro to plural-exp.h.
196 (plvar, plone, germanic_plural, INIT_GERMANIC_PLURAL): Move to
198 (_nl_load_domain): Move plural handling code to plural-exp.c. Call
199 EXTRACT_PLURAL_EXPRESSION.
200 (_nl_unload_domain): Update.
201 * intl/dcigettext.c: Include plural-exp.h.
202 * intl/plural.y: Include plural-exp.h, not gettextP.h.
203 (FREE_EXPRESSION): Move macro to plural-exp.h.
204 * intl/Makefile (routines): Add plural-exp.
205 (distribute): Add plural-exp.h.
207 2001-07-28 Bruno Haible <bruno@clisp.org>
209 * intl/l10nflist.c (_nl_normalize_codeset): Cast isalnum, isalpha,
210 isdigit, tolower argument to 'unsigned char'.
211 * intl/loadmsgcat.c (_nl_load_domain): Cast isspace argument to
213 * intl/localealias.c (read_alias_file): Cast isspace argument to
216 2001-10-20 Bruno Haible <bruno@clisp.org>
218 Assume strchr() exists. (Without it, intl/explodename.c wouldn't link
220 * intl/dcigettext.c (strchr): Remove fallback definition; it conflicts
221 with the variable 'index' in plural_lookup.
222 * intl/l10nflist.c (strchr): Likewise.
223 * intl/localealias.c (strchr): Likewise.
225 Assume <stddef.h>, <stdlib.h>, <string.h>, <locale.h> exist.
226 * intl/bindtextdom.c: Likewise.
227 * intl/dcigettext.c: Likewise.
228 * intl/dgettext.c: Likewise.
229 * intl/dngettext.c: Likewise.
230 * intl/explodename.c: Likewise.
231 * intl/finddomain.c: Likewise.
232 * intl/gettext.c: Likewise.
233 * intl/l10nflist.c: Likewise.
234 * intl/loadmsgcat.c: Likewise.
235 * intl/localealias.c: Likewise.
236 * intl/ngettext.c: Likewise.
237 * intl/textdomain.c: Likewise.
238 * intl/gettext.h: Assume <limits.h> exists.
240 2001-11-27 Ulrich Drepper <drepper@redhat.com>
242 * stdio-common/Makefile (tests): Add scanf11.
243 * stdio-common/scanf11.c: New file.
245 2001-11-26 Ulrich Drepper <drepper@redhat.com>
247 * version.h (RELEASE): Define as development.
248 (VERSION): Set to 2.2.90.
250 2001-11-22 Thorsten Kukuk <kukuk@suse.de>
252 * nis/nss_compat/compat-grp.c: Print group id as unsigned long.
253 * nis/nss_nis/nis-grp.c: Likewise.
254 * nis/nss_nisplus/nisplus-grp.c: Likewise.
256 * nis/nss_compat/compat-pwd.c: Print user id as unsigned long.
257 * nis/nss_nis/nis-pwd.c: Likewise.
258 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
260 * nis/nss_nis/nis-publickey.c: Use strtoul instead of atoi.
261 * nis/nss_nisplus/nisplus-parser.c: Likewise.
262 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
264 * nscd/grpcache.c: Use strtoul instead of atol.
265 * nscd/pwdcache.c: Likewise.
266 * nss/getent.c: Likewise.
268 2001-11-27 Paul Eggert <eggert@twinsun.com>
270 * sysdeps/posix/tempname.c (__gen_tempname): Try at least
271 ATTEMPTS_MIN or TMP_MAX times, whichever is greater.
273 2001-11-19 Bruno Haible <bruno@clisp.org>
275 * locale/programs/simple-hash.c (insert_entry_2): Resize at 75%, not
277 (compute_hashval): Shift by 9 bits, not by 4 bits. This drastically
278 improves the quality of the hash function, especially for short
281 2001-11-26 Ulrich Drepper <drepper@redhat.com>
283 * stdio-common/vfscanf.c: If incomplete nan of inf(inity) strings
284 are found call conv_error and not input_error [PR libc/2669].
286 * math/bits/mathcalls.h: Mark ceil and floor as const.
287 Reported by David Mosberger.
289 2001-11-21 Jim Meyering <meyering@lucent.com>
291 * posix/regex.c (iswctype, mbrtowc, wcslen, wcscoll, wcrtomb) [_LIBC]:
292 Define to be __-prefixed.
293 Remove unnecessary duplication in `#ifdef _LIBC' blocks.
295 2001-11-26 Andreas Jaeger <aj@suse.de>
297 * sysdeps/unix/sysv/linux/hppa/brk.c: Remove __brk_addr alias,
300 2001-11-26 Stephen L Moshier <moshier@mediaone.net>
302 * sysdeps/ieee754/ldbl-128/e_log10l.c (L102B): Fix typo in
305 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Remove
306 unused variables. Fix threshold for returning 1.0.
308 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (neval, deval): Constify
311 * sysdeps/ieee754/ldbl-128/s_erfl.c (neval, deval): Likewise, and
312 remove unused variables.
314 * sysdeps/ieee754/ldbl-128/e_j0l.c (neval, deval): Likewise.
316 * sysdeps/ieee754/ldbl-128/e_j1l.c (neval, deval): Likewise, and
317 include local math header files.
319 2001-11-22 Andreas Jaeger <aj@suse.de>
321 * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Add brace to
324 2001-11-21 Andreas Jaeger <aj@suse.de>
326 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: New file.
328 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers): Add
331 2001-11-15 Andreas Jaeger <aj@suse.de>
333 * include/features.h (__GLIBC_HAVE_LONG_LONG): Define for
334 compilers that support it.
336 * posix/sys/types.h: Use __GLIBC_HAVE_LONG_LONG.
337 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
338 * stdlib/stdlib.h: Likewise.
340 2001-11-17 Ulrich Drepper <drepper@redhat.com>
342 * posix/regex.c (byte_re_match_2_internal): For gcc replace switch
343 statement with gotos.
344 Based on a patch by Paolo Bonzini <bonzini@pc-amo3.elet.polimi.it>.
346 2001-11-16 Stephen L Moshier <moshier@mediaone.net>
348 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfcl): Fix K&R header.
350 2001-11-15 Ulrich Drepper <drepper@redhat.com>
352 * sysdeps/generic/unwind-dw2-fde.c: Don't use recursive mutexes.
354 2001-10-02 Jakub Jelinek <jakub@redhat.com>
355 H.J. Lu <hjl@gnu.org>
357 * configure.in (libc_cv_gcc_static_libgcc): Set to -static-libgcc
358 if gcc supports this flag.
359 (EXPORT_UNWIND_FIND_FDE): Define unless target configure disables it.
360 (gcc3): Allow glibc to be compiled with gcc 3.x.
361 * config.h.in (EXPORT_UNWIND_FIND_FDE): Add.
362 * config.make.in (static-libgcc, unwind-find-fde): Add.
363 * Makerules (build-shlib-helper, build-module-helper): Use it.
364 * scripts/versions.awk: Make sure GLIBC_ versions come first.
365 * elf/soinit.c (__libc_global_ctors): Set tbases and dbases if
367 (_fini): Call __deregister_frame_info_bases if
368 __register_frame_info_bases was used to register.
369 * elf/Versions (__register_frame_info, __deregister_frame_info): Add
371 (__register_frame_info_bases, __register_frame_info_table_bases,
372 __deregister_frame_info_bases, _Unwind_Find_FDE): Add for GLIBC_2.2.5.
373 * elf/Makefile (routines): Add unwind-dw2-fde.
374 (shared-only-routines): Add unwind-dw2-fde.
375 * sysdeps/alpha/gccframe.h: New file.
376 * sysdeps/arm/gccframe.h: New file.
377 * sysdeps/generic/framestate.c: New file.
378 * sysdeps/generic/dwarf2.h: New file.
379 * sysdeps/generic/gccframe.h (struct object): Update from gcc 3.0.
380 * sysdeps/generic/unwind-dw2-fde.c: New file.
381 * sysdeps/unix/sysv/linux/ia64/unwind-dw2-fde.c: New file.
382 * sysdeps/generic/unwind-dw2-fde.h: New file.
383 * sysdeps/generic/unwind-dw2.c: New file.
384 * sysdeps/generic/unwind-pe.h: New file.
385 * sysdeps/generic/unwind.h: New file.
386 * sysdeps/hppa/gccframe.h: New file.
387 * sysdeps/i386/gccframe.h: New file.
388 * sysdeps/m68k/gccframe.h: New file.
389 * sysdeps/mips/gccframe.h: New file.
390 * sysdeps/powerpc/gccframe.h: New file.
391 * sysdeps/s390/gccframe.h: New file.
392 * sysdeps/sh/gccframe.h: New file.
393 * sysdeps/sparc/gccframe.h: New file.
394 * sysdeps/vax/gccframe.h: New file.
395 * sysdeps/unix/sysv/linux/configure.in (libc_cv_gcc_unwind_find_fde):
396 Set on all architectures except ia64.
397 * sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Set
399 * sysdeps/mach/hurd/i386/Versions (__register_frame_info,
400 __deregister_frame_info): Move to elf/Versions.
401 * sysdeps/unix/sysv/linux/m68k/Versions: Likewise.
402 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
403 * sysdeps/unix/sysv/linux/alpha/Versions: Likewise.
404 * sysdeps/unix/sysv/linux/i386/Versions: Likewise.
405 * sysdeps/unix/sysv/linux/mips/Versions: Likewise.
406 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
407 * sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise.
408 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
409 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
410 * sysdeps/mach/hurd/i386/Makefile (sysdep-routines): Add framestate.
411 * sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
412 * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
413 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
414 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
415 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
416 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
417 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
418 * sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
420 2001-11-15 Jeff Law <law@redhat.com>
422 * posix/regex.c (uintptr_t): Do not provide a definition if the
425 2001-11-13 Roland McGrath <roland@frob.com>
427 * stdio-common/tmpfile.c: Moved to ...
428 * sysdeps/generic/tmpfile.c: ... here.
429 * sysdeps/mach/hurd/tmpfile.c: New file.
431 * hurd/fopenport.c (__fopenport): Renamed from fopenport.
432 [USE_IN_LIBIO] (fopencookie): #define as _IO_fopencookie.
433 (fopenport): Define as weak alias.
435 * libio/iofopncook.c (_IO_fopencookie): Move forward declaration ...
436 * libio/libioP.h: ... to here.
438 2001-11-12 Ulrich Drepper <drepper@redhat.com>
440 * elf/dl-reloc.c (_dl_relocate_object): Avoid iterating over
441 program header twice. Construct list with the needed information.
443 2001-11-10 Ulrich Drepper <drepper@redhat.com>
445 * po/ca.po: Update from translation team.
447 * elf/dl-load.c (_dl_map_object_from_fd): Remove use of
448 _dl_pf_to_prot. Use arithmetic operation using PF_TO_PROT macro.
449 * sysdeps/generic/ldsodefs.h (PF_TO_PROT): New macro.
450 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
452 2001-11-10 Andreas Jaeger <aj@suse.de>
454 * sysdeps/ieee754/ldbl-128/e_log2l.c: New file.
455 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
456 Contributed by Stephen L Moshier <moshier@mediaone.net>.
458 2001-11-09 Ulrich Drepper <drepper@redhat.com>
460 * elf/dl-minimal.c (realloc): Handle NULL for first parameter
462 * elf/dl-load.c (is_dst): New function.
463 (_dl_dst_count): Use is_dst to check for DST variable.
464 (_dl_dst_substitute): Likewise.
466 2001-11-09 Roland McGrath <roland@frob.com>
468 Hurd/PowerPC port contributed by Peter Bruin <pjbruin@dds.nl>.
469 * sysdeps/mach/hurd/powerpc/exc2signal.c: New file.
470 * sysdeps/mach/hurd/powerpc/init-first.c: New file.
471 * sysdeps/mach/hurd/powerpc/intr-msg.h: New file.
472 * sysdeps/mach/hurd/powerpc/longjmp-ts.c: New file.
473 * sysdeps/mach/hurd/powerpc/register-dump.h: New file.
474 * sysdeps/mach/hurd/powerpc/sigreturn.c: New file.
475 * sysdeps/mach/hurd/powerpc/static-start.S: New file.
476 * sysdeps/mach/hurd/powerpc/trampoline.c: New file.
477 * sysdeps/mach/hurd/powerpc/bits/sigcontext.h: New file.
478 * sysdeps/mach/hurd/powerpc/Dist: New file.
480 * hurd/privports.c (__get_privileged_ports):
481 Only contact the proc server if necessary for this call.
482 Suggested by Neal H Walfield <neal@cs.uml.edu>.
483 Check error return for mach_port_mod_refs.
485 2001-11-09 Andreas Schwab <schwab@suse.de>
487 * sysdeps/unix/sysv/linux/m68k/bits/resource.h: New file.
489 2001-11-09 Ulrich Drepper <drepper@redhat.com>
491 * elf/dl-load.c (lose): Remove some unnecessary code. The new
492 object is always the last in the list.
493 (_dl_map_object_from_fd): Delete code to remove from object list
494 when DF_1_NOOPEN is seen. This is done in lose.
496 2001-11-08 Ulrich Drepper <drepper@redhat.com>
498 * elf/dl-object.c (_dl_new_object): Various small optimizations.
500 2001-11-07 Ulrich Drepper <drepper@redhat.com>
502 * sysdeps/generic/dl-cache.c: Optimize SEARCH_CACHE and
503 HWCAP_CHECK macro code.
505 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Optimize code a bit.
506 Now returns MAP_FAILED on error.
507 * elf/rtld.c: Adjust caller.
508 * sysdeps/generic/dl-cache.c: Likewise.
509 * sysdeps/generic/ldsodefs.h: Adjust description.
511 * elf/dl-version.c (match_symbol): Optimize error handling for size.
512 (_dl_check_map_versions): Likewise.
514 2001-11-06 Ulrich Drepper <drepper@redhat.com>
516 * elf/dl-load.c (_dl_map_object_from_fd): Don't call
517 _dl_signal_error directly, always use lose. Set fd to -1 after
519 (lose): Don't call close if fd == -1.
521 2001-11-07 Kaoru Fukui <k_fukui@highway.ne.jp>
523 * manual/charset.texi: Fix typo @w[ISO 6937] to @w{ISO 6937}.
524 Also fix typo @code {mbsinit} to @code{mbsinit}.
526 2001-11-06 Ulrich Drepper <drepper@redhat.com>
528 * elf/dl-profile.c: Replace state variable with simple flag named
529 running. Remove commented-out code.
531 * elf/dl-load.c (decompose_rpath): Optimize error handling for size.
532 (_dl_init_paths): Likewise.
533 (_dl_map_object_from_fd): Likewise.
534 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
536 2001-11-06 Roland McGrath <roland@frob.com>
538 * sysdeps/mach/powerpc/sysdep.h: Include sysdeps/unix/powerpc/sysdep.h
539 instead of sysdeps/powerpc/elf/sysdep.h and sysdeps/unix/sysdep.h.
541 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't include
542 sysdeps/powerpc/elf/sysdep.h.
543 Reported by Kaoru Fukui <k_fukui@highway.ne.jp>.
545 2001-11-05 Ulrich Drepper <drepper@redhat.com>
547 * elf/rtld.c (process_dl_debug): Rewritten. Optimized for size not
549 (process_envvars): Some more optimizations.
550 * sysdeps/generic/ldsodefs.h (DL_DEBUG_HELP): New macro.
552 * elf/elf.h: Add dynamic tag definitions for prelinking.
554 * elf/rtld.c (process_envvars): Avoid using array of string pointers.
555 Rewrite code to remove environment varables for SUID binaries.
556 Small optimization in LD_PROFILE handling.
557 * sysdeps/generic/unsecvars.h: Adjust format for process_envvars
559 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
561 * sysdeps/generic/dl-sysdep.c: Don't initialize _dl_cpuclock_offset.
563 * elf/dl-reloc.c (_dl_reloc_bad_type): Rewrite to not use writable
564 strings. Change type of second parameter.
565 * sysdeps/generic/ldsodefs.h: Adjust _dl_reloc_bad_type prototype
568 * io/fts.h: Prevent using <fts.h> with _FILE_OFFSET_BITS=64.
570 2001-11-04 Joseph S. Myers <jsm28@cam.ac.uk>
572 * manual/string.texi: Fix typos.
573 * manual/examples/argp-ex2.c: Likewise.
575 2001-11-05 Roland McGrath <roland@frob.com>
577 * sysdeps/powerpc/elf/sysdep.h: Remove this file, because it overrides
578 the more-specific unix/sysv/linux/powerpc file and breaks everything.
579 * sysdeps/powerpc/sysdep.h (ALIGNARG, ASM_TYPE_DIRECTIVE,
580 ASM_SIZE_DIRECTIVE, CALL_MCOUNT, ENTRY, EALIGN, DO_CALL, JUMPTARGET,
581 PSEUDO, PSEUDO_RET, PSEUDO_END, L, C_TEXT): These macros moved here
582 here, put under [__ELF__].
584 2001-11-05 Ulrich Drepper <drepper@redhat.com>
586 * manual/charset.texi: Extensive editing work.
587 * manual/nss.texi: Likewise.
588 Changes by Dennis Grace <dgrace@us.ibm.com>.
590 2001-11-04 Roland McGrath <roland@frob.com>
592 * hurd/set-host.c (_hurd_set_host_config): Use O_WRONLY in flags
593 parameter to dir_mkfile.
595 2001-11-02 Jakub Jelinek <jakub@redhat.com>
597 * string/bits/string2.h (__strndup): If n is smaller than len, set
599 * string/tester.c (test_strndup): New function.
602 2001-11-01 Ulrich Drepper <drepper@redhat.com>
604 * sunrpc/rpc_main.c: Optimize variable definitions a bit.
606 * sunrpc/Makefile (rpcgen-cmd): Use ../scripts/cpp in rpcgen calls.
607 * scripts/cpp: New file.
609 * elf/dl-load.c (_dl_map_object): Correct test of DF_1_NODEFLIB
610 for rtld_search_dirs content. Minor optimizations.
612 2001-10-31 Ulrich Drepper <drepper@redhat.com>
614 * elf/dl-load.c (_dl_map_object): Make code a bit more compact by
615 avoiding unnecessary duplication.
617 2001-10-31 Jakub Jelinek <jakub@redhat.com>
619 * elf/dl-load.c (_dl_map_object): If library was found using
620 LD_LIBRARY_PATH, don't try RUNPATH list.
622 2001-10-31 Martin Schwidefsky <schwidefsky@de.ibm.com>
624 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h (REGISTER_DUMP):
625 Correct second argument of register_dump call.
626 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h (REGISTER_DUMP):
629 2001-10-31 Ulrich Drepper <drepper@redhat.com>
631 * iconvdata/Makefile: Add support for IBM1132, IBM1133, and IBM1162
633 * iconvdata/TESTS: Likewise.
634 * iconvdata/gconv-modules: Likewise.
635 * iconvdata/ibm1132.c: New file.
636 * iconvdata/ibm1132.h: New file.
637 * iconvdata/ibm1133.c: New file.
638 * iconvdata/ibm1133.h: New file.
639 * iconvdata/ibm1162.c: New file.
640 * iconvdata/ibm1162.h: New file.
641 * iconvdata/testdata/IBM1132: New file.
642 * iconvdata/testdata/IBM1132..UTF8: New file.
643 * iconvdata/testdata/IBM1133: New file.
644 * iconvdata/testdata/IBM1133..UTF8: New file.
645 * iconvdata/testdata/IBM1162: New file.
646 * iconvdata/testdata/IBM1162..UTF8: New file.
647 Patches by Masahide Washizawa <WASHI@jp.ibm.com>.
649 * string/string.h: Fix typo in comment.
650 * wcsmbs/wchar.h: Likewise.
652 2001-10-30 Joseph S. Myers <jsm28@cam.ac.uk>
654 * manual/getopt.texi (getopt_long, getopt_long_only): Include
655 const in type of longopts parameter.
657 2001-10-29 Andreas Jaeger <aj@suse.de>
659 * sysdeps/ieee754/dbl-64/mpa.h: Add prototypes for internal functions.
661 2001-10-29 Kevin Ryde <user42@zip.com.au>
663 * manual/stdio.texi (Integer Conversions): Corrections to sample printf
664 output, clarify `#' behaviour on 0.
665 (Floating-Point Conversions): Clarify that %g only uses %e when
666 the exponent would be greater than 1.
668 2001-10-28 Roland McGrath <roland@frob.com>
670 Support for Mach/PowerPC contributed by Peter Bruin <pjbruin@dds.nl>.
671 * sysdeps/mach/powerpc/machine-sp.h: New file.
672 * sysdeps/mach/powerpc/sysdep.h: New file.
673 * sysdeps/mach/powerpc/thread_state.h: New file.
675 * sysdeps/mach/hurd/i386/Makefile: File removed; crt0.o rules moved ...
676 * sysdeps/mach/hurd/Makefile: ... to here. For the time being, we can
677 expect to need the same thing on every platform.
679 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: File moved ...
680 * sysdeps/generic/sys/ucontext.h: ... to replace this one.
682 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (ALIGNARG,
683 ASM_TYPE_DIRECTIVE, ASM_SIZE_DIRECTIVE, CALL_MCOUNT, ENTRY, EALIGN,
684 DO_CALL, JUMPTARGET, PSEUDO, PSEUDO_RET, PSEUDO_END, L, C_TEXT):
685 Move all these assembly-related definitions to ...
686 * sysdeps/powerpc/elf/sysdep.h: ... this new file.
688 * sysdeps/mach/powerpc/machine-lock.h: Assembly code rewritten
689 by Peter Bruin <pjbruin@dds.nl>.
691 * hurd/hurdselect.c (_hurd_select): Check SELECT_RETURNED bit when
692 packing results for a `poll' call.
694 2001-10-26 Ulrich Drepper <drepper@redhat.com>
696 * posix/fnmatch_loop.c: Recognize - at end of bracket expression
698 * posix/tst-fnmatch.input: Add tests for - at beginning and end of
701 * string/strxfrm.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get
703 * string/tst-strxfrm.c (test): Also test __strxfrm_l.
705 2001-10-24 H.J. Lu <hjl@gnu.org>
707 * sysdeps/generic/bits/dlfcn.h (DL_CALL_FCT): Cast to void *.
708 Use __BEGIN_DECLS/__END_DECLS around prototypes.
709 * sysdeps/mips/bits/dlfcn.h (DL_CALL_FCT): Likewise.
711 2001-10-21 Jim Meyering <meyering@lucent.com>
713 * malloc/obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
714 this code would end up calling gettext even in packages built
716 * posix/getopt.c (_): Likewise.
717 * posix/regex.c (_): Likewise.
719 2001-10-26 Ulrich Drepper <drepper@redhat.com>
721 * resolv/gethnamaddr.c (gethostbyaddr): Use ip6.addr for reverse
723 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
724 Reported by Martin.v.Loewis@t-online.de [PR libc/2598].
726 2001-10-19 Jakub Jelinek <jakub@redhat.com>
728 * misc/sys/cdefs.h (__attribute_used__): Define.
729 * elf/rtld.c (_dl_start): Add __attribute_used__.
730 * elf/dl-runtime.c (fixup, profile_fixup): Likewise.
732 2001-10-25 Andreas Schwab <schwab@suse.de>
734 * stdlib/a64l.c: Expect least significant digit first.
735 * stdlib/l64a.c: Produce least significant digit first.
736 * stdlib/Makefile (tests): Add test-a64l.
737 * stdlib/test-a64l.c: New file.
738 Reported by Masaki Hasegawa <masaki-h@pp.iij4u.or.jp>.
740 2001-10-21 Ulrich Drepper <drepper@redhat.com>
742 * po/sk.po: Update from translation team.
744 2001-10-18 Ulrich Drepper <drepper@redhat.com>
746 * sysdeps/i386/elf/start.S (_fp_hw): Define object type.
748 2001-10-18 Andreas Schwab <schwab@suse.de>
750 * math/libm-test.inc (print_ulps): Print ulp values rounded to
752 (print_function_ulps): Likewise.
753 (print_complex_function_ulps): Likewise.
754 (print_max_error): Likewise.
755 (print_complex_max_error): Likewise. Handle ignore_max_ulp.
757 2001-10-16 Andreas Schwab <schwab@suse.de>
759 * sysdeps/m68k/fpu/libm-test-ulps: Updated for fixed cbrtl
762 * sysdeps/m68k/setjmp.c: Also define setjmp and _setjmp if
763 BSD_SETJMP or BSD__SETJMP is defined, resp.
764 * sysdeps/m68k/bsd-setjmp.c: Inline setjmp code instead of making
765 a tail call to __sigsetjmp that would require extending the
767 * sysdeps/m68k/bsd-_setjmp.c: Likewise.
768 * sysdeps/m68k/bsd-setjmp.S: Deleted.
769 * sysdeps/m68k/bsd-_setjmp.S: Deleted.
770 Reported by Jes Sorensen <jes@trained-monkey.org>.
772 2001-10-16 Andreas Jaeger <aj@suse.de>
774 * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Fix
775 parentheses. Reported by David Byron <dbyron@porto.coactive.com>,
778 2001-10-15 Ulrich Drepper <drepper@redhat.com>
780 * po/ca.po: New file. Contributed by the translation team.
782 2001-10-15 Ralf Baechle <ralf@gnu.org>
784 * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Make sysmips() prototype
785 a varargs prototype. Remove dependency from kernel header files.
787 * sysdeps/unix/sysv/linux/mips/bits/termios.h: General cleanup, use
788 __USE_MISC / __USE_XOPEN not __USE_BSD where appropriate.
790 2001-10-14 Ulrich Drepper <drepper@redhat.com>
792 * locale/programs/ld-collate.c (handle_ellipsis): Use %lX not %lx
793 to generate hexadecimal identifier.
794 Patch by Jungshik Shin <jungshik.shin@yale.edu>.
796 2001-10-09 Stephen L Moshier <moshier@mediaone.net>
798 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Fix algorithm.
800 2001-10-14 Ulrich Drepper <drepper@redhat.com>
802 * sysdeps/ieee754/ldbl-128/e_powl.c: New file.
803 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: New file.
804 Contributed by Stephen L Moshier <moshier@mediaone.net>.
806 * sysdeps/ieee754/ldbl-128/e_j0l.c: Constify float variables.
807 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
808 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise
809 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise
810 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise
811 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise
813 * timezone/africa: Update from tzdata2001d.
814 * timezone/asia: Likewise.
815 * timezone/australasia: Likewise.
816 * timezone/backward: Likewise.
817 * timezone/europe: Likewise.
818 * timezone/leapseconds: Likewise.
819 * timezone/northamerica: Likewise.
820 * timezone/southamerica: Likewise.
821 * timezone/zone.tab: Likewise.
823 2001-10-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
825 * sysdeps/s390/s390-32/sys/ucontext.h: Correct __psw_t typedef.
826 * sysdeps/s390/s390-64/sys/ucontext.h: Likewise.
828 2001-10-12 Ulrich Drepper <drepper@redhat.com>
830 * elf/elf.h (PT_TLS): New definition.
832 2001-10-10 Jeff Bailey <jbailey@nisa.net>
834 * sysdeps/mach/hurd/Makefile: Add $(CFLAGS) for generation of
837 2001-10-07 Roland McGrath <roland@frob.com>
839 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Never return ENOSYS.
841 2001-10-10 Ulrich Drepper <drepper@redhat.com>
843 * elf/elf.h: Add more ELFOSABI_* constants.
845 2001-10-04 Ben Collins <bcollins@debian.org>
847 * sysdeps/generic/inttypes.h: Fix typo (define, not defined) in
848 decleration of __need_wchar_t.
850 2001-10-03 Jakub Jelinek <jakub@redhat.com>
852 * string/bits/string2.h (__strsep_g): Add prototype.
854 * string/Versions (__strsep): Remove.
855 * sysdeps/generic/strsep.c (__strsep_g): Add alias to __strsep.
857 2001-10-07 Ulrich Drepper <drepper@redhat.com>
859 * manua/llio.texi: Clarify file references added by mmap.
860 Patch by Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
862 2001-09-29 Jes Sorensen <jes@trained-monkey.org>
864 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
865 Add sc_loadrs and sc_rbs_bas to match current kernel.
867 2001-09-27 Jakub Jelinek <jakub@redhat.com>
869 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
871 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Fix erfc(-inf).
873 2001-09-27 Jakub Jelinek <jakub@redhat.com>
875 * elf/dl-open.c (dl_open_worker): If l_opencount of freshly loaded
876 object has been bumped because of relocation dependency, avoid
877 duplicates in l_scope.
878 (show_scope): Fix typos.
879 * elf/Makefile: Add rules to build and run reldep6.
880 * elf/reldep6.c: New file.
881 * elf/reldep6mod0.c: New file.
882 * elf/reldep6mod1.c: New file.
883 * elf/reldep6mod2.c: New file.
884 * elf/reldep6mod3.c: New file.
885 * elf/reldep6mod4.c: New file.
887 2001-09-26 Jakub Jelinek <jakub@redhat.com>
889 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Call
891 (sparc64_fixup_plt): Moved from elf_machine_fixup_plt. Optimize
892 near jumps and 0xfffff800XXXXXXXX target addresses, no thread safety
893 for non-lazy binding. Fix .plt[32768+] handling.
894 (elf_machine_plt_value): Don't add addend.
895 (elf_machine_rela): Call sparc64_fixup_plt instead of
896 elf_machine_fixup_plt.
897 (elf_machine_runtime_setup, TRAMPOLINE_TEMPLATE): Optimize for
898 dynamic linker at 0xfffff800XXXXXXXX.
900 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
902 2001-09-28 Ulrich Drepper <drepper@redhat.com>
904 * elf/elf.h: Define SHF_GROUP and SHF_TLS.
906 2001-09-25 Jakub Jelinek <jakub@redhat.com>
908 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (struct cmsghdr): Don't
909 declare __cmsg_data field if its size would be bigger than 0.
910 (CMSG_DATA): Adjust accordingly.
911 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
912 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Likewise.
913 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
914 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
915 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
916 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
917 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
919 2001-09-25 Ulrich Drepper <drepper@redhat.com>
921 * iconvdata/TESTS: Add entries for IBM1160 and IBM1161.
922 * iconvdata/testdata/IBM1160: New file.
923 * iconvdata/testdata/IBM1160..UTF8: New file.
924 * iconvdata/testdata/IBM1161: New file.
925 * iconvdata/testdata/IBM1161..UTF8: New file.
926 Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
928 2001-09-24 Ulrich Drepper <drepper@redhat.com>
930 * sysdeps/unix/bsd/ulimit.c (ulimit): Handle overflow in
931 UL_SETFSIZE computations better.
933 * rt/Makefile: Remove use of filter for librt again.
935 * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Handle overflow in
936 UL_SETFSIZE computations better.
938 * string/Versions: Export __strsep for GLIBC_2.2.5.
939 * string/bits/string2.h: Define all __STRING_INLINE functions if
940 _FORCE_INLINES is defined.
941 Use int instead of char of parameter types.
942 (__strsep): Don't use __strsep_g. Don't define it.
943 (__strsep_1c, __strsep_2c, __strsep_3c): Optimize.
944 * sysdeps/i386/i486/string.h (__strcpy_a_small): Renamed from
946 (__stpcpy_a_small): Renamed from __stpcpy_small.
947 (__strcspn_c1): Don't define if _FORCE_INLINES.
948 (__strspn_c1): Likewise.
950 2001-09-22 Ben Collins <bcollins@debian.org>
952 * sysdeps/sparc/bits/sigaction.h: Define SA_RESTART and friends when
953 _UNIX98_SOURCE is defined too. Matches generic/bits/sigaction.h.
954 * sysdeps/ia64/bits/sigaction.h: Likewise.
955 * sysdeps/s390/s390-64/bits/sigaction.h: Likewise.
957 2001-09-24 Andrew Haley <aph@cambridge.redhat.com>
959 * sysdeps/unix/sysv/linux/sh/Makefile (sysdep_headers): Add sys/io.h.
961 2001-09-24 Jakub Jelinek <jakub@redhat.com>
963 * elf/dl-open.c (dl_open_worker): Update l_scope_max.
965 2001-09-24 Ulrich Drepper <drepper@redhat.com>
967 * wcsmbs/wchar.h: Add __attribute_pure__ to mbsinit prototype.
969 2001-09-20 H.J. Lu <hjl@gnu.org>
971 * include/dlfcn.h (__RTLD_SPROF): New definiton.
972 * elf/dl-open.c (dl_open_worker): Return immediately after loading
974 * elf/sprof.c (main): Default to the filename if soname doesn't exist.
975 (load_shobj): Call dlopen with `RTLD_LAZY | __RTLD_SPROF'.
977 2001-09-20 H.J. Lu <hjl@gnu.org>
979 * elf/dl-profile.c (_dl_mcount): Use old *narcsp value for newarc,
982 2001-09-22 Ulrich Drepper <drepper@redhat.com>
984 * nss/getent.c: Accept -s parameter to overwrite rules in
985 nsswitch.conf. Patch by Nalin Dahyabhai <nalin@redhat.com>.
987 * nss/nss_files/files-network.c (LINE_PARSER): Pad addr string
988 with as many ".0" as necessary to form a complete address
989 inet_network understands.
991 * nss/getent.c: Various cleanups. Use simpler and fewer function
994 2001-09-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
996 * sysdeps/s390/s390-32/bits/setjmp.h: Correct pointer comparison in
998 * sysdeps/s390/s390-64/bits/setjmp.h: Likewise.
1000 2001-09-22 Ulrich Drepper <drepper@redhat.com>
1002 * iconvdata/Makefile: Add rules to build and distribute IBM1160 and
1004 * iconvdata/gconv-modules: Add entries for IBM1160 and IBM1161.
1005 * iconvdata/ibm1160.c: New file.
1006 * iconvdata/ibm1160.h: New file.
1007 * iconvdata/ibm1161.c: New file.
1008 * iconvdata/ibm1161.h: New file.
1009 Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
1011 2001-09-19 Jakub Jelinek <jakub@redhat.com>
1013 * sysdeps/alpha/dl-machine.h (elf_machine_load_address): Compute the
1014 difference between base address and first PT_LOAD's virtual address,
1015 not the base address.
1017 2001-09-11 Tom Rix <trix@redhat.com>
1019 * sysdeps/unix/sysv/aix/init-first.c (init): Use USE_NONONPTION_FLAG
1020 ifdef for __getopt_clean_environment.
1021 * sysdeps/unix/sysv/aix/libc-start.c: Add real implementation.
1023 2001-09-22 Andreas Jaeger <aj@suse.de>
1025 * elf/reldep4.c (main): Add proper prototype to fix warning.
1027 * elf/reldep5.c (main): Remove unused variable.
1029 * math/math_private.h: Add prototypes.
1031 2001-09-21 Andreas Jaeger <aj@suse.de>
1033 * sysdeps/unix/sysv/linux/x86_64/Dist: New file.
1034 * sysdeps/x86_64/Dist: New file.
1035 * sysdeps/x86_64/soft-fp/Dist: New file.
1037 * sysdeps/gnu/Dist: Remove eval.c.
1039 2001-09-20 Ulrich Drepper <drepper@redhat.com>
1041 * malloc/memusage.c (realloc): Don't count already allocated
1043 (me): Always use dlsym() to find the real implementations.
1045 * malloc/memusage.sh: Make -n option actually do something.
1047 2001-09-20 Andreas Jaeger <aj@suse.de>
1049 * elf/elf.h (R_390_NUM): Correct value.
1051 * Versions.def: Add missing versions 2.2.3 for libthread_db and
1054 * sysdeps/unix/sysv/linux/configure.in: Add minimal kernel version
1055 for x86-64, install x86-64 into */lib64.
1057 * shlib-versions: Add x86-64.
1059 * elf/elf.h: Add x86-64 relocations.
1061 2001-09-19 Ulrich Drepper <drepper@redhat.com>
1063 * po/fr.po: Update from translation team.
1065 2001-09-19 Andreas Jaeger <aj@suse.de>
1067 * sysdeps/unix/sysv/linux/x86_64/Makefile: New file.
1068 * sysdeps/unix/sysv/linux/x86_64/Versions: New file.
1069 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: New file.
1070 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: New file.
1071 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: New file.
1072 * sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: New file.
1073 * sysdeps/unix/sysv/linux/x86_64/bits/time.h: New file.
1074 * sysdeps/unix/sysv/linux/x86_64/bits/types.h: New file.
1075 * sysdeps/unix/sysv/linux/x86_64/brk.c: New file.
1076 * sysdeps/unix/sysv/linux/x86_64/clone.S: New file.
1077 * sysdeps/unix/sysv/linux/x86_64/fstatfs64.c: New file.
1078 * sysdeps/unix/sysv/linux/x86_64/ftruncate64.c: New file.
1079 * sysdeps/unix/sysv/linux/x86_64/fxstat.c: New file.
1080 * sysdeps/unix/sysv/linux/x86_64/fxstat64.c: New file.
1081 * sysdeps/unix/sysv/linux/x86_64/getdents.c: New file.
1082 * sysdeps/unix/sysv/linux/x86_64/getdents64.c: New file.
1083 * sysdeps/unix/sysv/linux/x86_64/getrlimit64.c: New file.
1084 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
1085 * sysdeps/unix/sysv/linux/x86_64/glob64.c: New file.
1086 * sysdeps/unix/sysv/linux/x86_64/lxstat.c: New file.
1087 * sysdeps/unix/sysv/linux/x86_64/lxstat64.c: New file.
1088 * sysdeps/unix/sysv/linux/x86_64/mmap64.c: New file.
1089 * sysdeps/unix/sysv/linux/x86_64/pread64.c: New file.
1090 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: New file.
1091 * sysdeps/unix/sysv/linux/x86_64/pwrite64.c: New file.
1092 * sysdeps/unix/sysv/linux/x86_64/readdir.c: New file.
1093 * sysdeps/unix/sysv/linux/x86_64/readdir64.c: New file.
1094 * sysdeps/unix/sysv/linux/x86_64/readdir64_r.c: New file.
1095 * sysdeps/unix/sysv/linux/x86_64/readdir_r.c: New file.
1096 * sysdeps/unix/sysv/linux/x86_64/recv.c: New file.
1097 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: New file.
1098 * sysdeps/unix/sysv/linux/x86_64/send.c: New file.
1099 * sysdeps/unix/sysv/linux/x86_64/setrlimit64.c: New file.
1100 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: New file.
1101 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: New file.
1102 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: New file.
1103 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: New file.
1104 * sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: New file.
1105 * sysdeps/unix/sysv/linux/x86_64/statfs64.c: New file.
1106 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: New file.
1107 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: New file.
1108 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: New file.
1109 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: New file.
1110 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: New file.
1111 * sysdeps/unix/sysv/linux/x86_64/syscall.S: New file.
1112 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: New file.
1113 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: New file.
1114 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: New file.
1115 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
1116 * sysdeps/unix/sysv/linux/x86_64/truncate64.c: New file.
1117 * sysdeps/unix/sysv/linux/x86_64/umount.c: New file.
1118 * sysdeps/unix/sysv/linux/x86_64/vfork.S: New file.
1119 * sysdeps/unix/sysv/linux/x86_64/xstat.c: New file.
1120 * sysdeps/unix/sysv/linux/x86_64/xstat64.c: New file.
1121 * sysdeps/unix/x86_64/sysdep.S: New file.
1122 * sysdeps/unix/x86_64/sysdep.h: New file.
1123 * sysdeps/x86_64/Implies: New file.
1124 * sysdeps/x86_64/Makefile: New file.
1125 * sysdeps/x86_64/Versions: New file.
1126 * sysdeps/x86_64/__longjmp.S: New file.
1127 * sysdeps/x86_64/abort-instr.h: New file.
1128 * sysdeps/x86_64/atomicity.h: New file.
1129 * sysdeps/x86_64/bits/endian.h: New file.
1130 * sysdeps/x86_64/bits/setjmp.h: New file.
1131 * sysdeps/x86_64/bits/string.h: New file.
1132 * sysdeps/x86_64/bp-asm.h: New file.
1133 * sysdeps/x86_64/bsd-_setjmp.S: New file.
1134 * sysdeps/x86_64/bsd-setjmp.S: New file.
1135 * sysdeps/x86_64/dl-machine.h: New file.
1136 * sysdeps/x86_64/elf/initfini.c: New file.
1137 * sysdeps/x86_64/elf/start.S: New file.
1138 * sysdeps/x86_64/ffs.c: New file.
1139 * sysdeps/x86_64/ffsll.c: New file.
1140 * sysdeps/x86_64/fpu/bits/fenv.h: New file.
1141 * sysdeps/x86_64/fpu/bits/mathdef.h: New file.
1142 * sysdeps/x86_64/fpu/e_acosl.c: New file.
1143 * sysdeps/x86_64/fpu/e_atan2l.c: New file.
1144 * sysdeps/x86_64/fpu/e_exp2l.S: New file.
1145 * sysdeps/x86_64/fpu/e_expl.c: New file.
1146 * sysdeps/x86_64/fpu/e_fmodl.S: New file.
1147 * sysdeps/x86_64/fpu/e_log10l.S: New file.
1148 * sysdeps/x86_64/fpu/e_log2l.S: New file.
1149 * sysdeps/x86_64/fpu/e_logl.S: New file.
1150 * sysdeps/x86_64/fpu/e_powl.S: New file.
1151 * sysdeps/x86_64/fpu/e_rem_pio2l.c: New file.
1152 * sysdeps/x86_64/fpu/e_scalbl.S: New file.
1153 * sysdeps/x86_64/fpu/e_sqrtl.c: New file.
1154 * sysdeps/x86_64/fpu/fclrexcpt.c: New file.
1155 * sysdeps/x86_64/fpu/fedisblxcpt.c: New file.
1156 * sysdeps/x86_64/fpu/feenablxcpt.c: New file.
1157 * sysdeps/x86_64/fpu/fegetenv.c: New file.
1158 * sysdeps/x86_64/fpu/fegetexcept.c: New file.
1159 * sysdeps/x86_64/fpu/fegetround.c: New file.
1160 * sysdeps/x86_64/fpu/feholdexcpt.c: New file.
1161 * sysdeps/x86_64/fpu/fesetenv.c: New file.
1162 * sysdeps/x86_64/fpu/fesetround.c: New file.
1163 * sysdeps/x86_64/fpu/fgetexcptflg.c: New file.
1164 * sysdeps/x86_64/fpu/fraiseexcpt.c: New file.
1165 * sysdeps/x86_64/fpu/fsetexcptflg.c: New file.
1166 * sysdeps/x86_64/fpu/ftestexcept.c: New file.
1167 * sysdeps/x86_64/fpu/libm-test-ulps: New file.
1168 * sysdeps/x86_64/fpu/math_ldbl.h: New file.
1169 * sysdeps/x86_64/fpu/printf_fphex.c: New file.
1170 * sysdeps/x86_64/fpu/s_atanl.c: New file.
1171 * sysdeps/x86_64/fpu/s_cosl.S: New file.
1172 * sysdeps/x86_64/fpu/s_expm1l.S: New file.
1173 * sysdeps/x86_64/fpu/s_fpclassifyl.c: New file.
1174 * sysdeps/x86_64/fpu/s_isinfl.c: New file.
1175 * sysdeps/x86_64/fpu/s_isnanl.c: New file.
1176 * sysdeps/x86_64/fpu/s_log1pl.S: New file.
1177 * sysdeps/x86_64/fpu/s_logbl.c: New file.
1178 * sysdeps/x86_64/fpu/s_nextafterl.c: New file.
1179 * sysdeps/x86_64/fpu/s_nexttoward.c: New file.
1180 * sysdeps/x86_64/fpu/s_nexttowardf.c: New file.
1181 * sysdeps/x86_64/fpu/s_rintl.c: New file.
1182 * sysdeps/x86_64/fpu/s_significandl.c: New file.
1183 * sysdeps/x86_64/fpu/s_sincosl.S: New file.
1184 * sysdeps/x86_64/fpu/s_sinl.S: New file.
1185 * sysdeps/x86_64/fpu/s_tanl.S: New file.
1186 * sysdeps/x86_64/gmp-mparam.h: New file.
1187 * sysdeps/x86_64/hp-timing.c: New file.
1188 * sysdeps/x86_64/hp-timing.h: New file.
1189 * sysdeps/x86_64/htonl.S: New file.
1190 * sysdeps/x86_64/memusage.h: New file.
1191 * sysdeps/x86_64/setjmp.S: New file.
1192 * sysdeps/x86_64/soft-fp/sfp-machine.h: New file.
1193 * sysdeps/x86_64/stackinfo.h: New file.
1194 * sysdeps/x86_64/sysdep.h: New file.
1195 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: New file.
1197 * sysdeps/ieee754/ldbl-128/s_erfl.c: New file, contributed Stephen
1200 2001-09-18 Ulrich Drepper <drepper@redhat.com>
1202 * malloc/malloc.c (ptmalloc_init): Handle _environ==NULL.
1203 Reported by B. D. Elliott <bde@nwlink.com> [PR libc/2541].
1205 2001-09-18 Andreas Schwab <schwab@suse.de>
1207 * elf/dl-load.c (_dl_map_object_from_fd): Update handling of scope
1208 list, now that l_scope is a pointer.
1210 * elf/dl-open.c (dl_open_worker): Fix thinko when enlarging the
1213 2001-09-18 kaz Kojima <kkojima@rr.iij4u.or.jp>
1215 * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix reverse condition.
1216 (elf_machine_rela_relative): Add a missing declaration.
1218 2001-09-18 Jakub Jelinek <jakub@redhat.com>
1220 * sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: New file.
1221 * sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed: New file.
1222 * sysdeps/unix/sysv/linux/configure.in: Add ia64 and s390
1223 ldd-rewrite scripts.
1225 2001-09-18 Ulrich Drepper <drepper@redhat.com>
1227 * elf/ldd.bash.in: Update copyright message.
1229 2001-09-17 H.J. Lu <hjl@gnu.org>
1231 * hurd/hurdmalloc.c (bcopy): Removed.
1232 (realloc): Replace bcopy with memcpy.
1233 * hurd/path-lookup.c (file_name_path_scan): Likewise.
1234 * resolv/gethnamaddr.c (map_v4v6_address): Likewise.
1235 * sunrpc/rpcinfo.c (pmapdump): Likewise.
1237 * resolv/gethnamaddr.c (getanswer): Replace bcopy with memmove.
1238 (gethostbyaddr): Likewise.
1239 * sunrpc/rpcinfo.c (get_inet_address): Likewise.
1241 2001-09-18 Ulrich Drepper <drepper@redhat.com>
1243 * sysdeps/gnu/eval.c: Removed.
1245 2001-09-18 Andreas Jaeger <aj@suse.de>
1247 * sysdeps/i386/fpu/s_logbl.S: Move to ...
1248 * sysdeps/i386/fpu/s_logbl.c: ...here, use inline assembler.
1250 * sysdeps/i386/fpu/s_rintl.S: Move to ...
1251 * sysdeps/i386/fpu/s_rintl.c: ...here, use inline assembler.
1253 * sysdeps/i386/fpu/s_significandl.S: Move to ...
1254 * sysdeps/i386/fpu/s_significandl.c: ...here, use inline assembler.
1256 2001-09-16 Ulrich Drepper <drepper@redhat.com>
1258 * string/strcoll.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get
1261 2001-09-14 H.J. Lu <hjl@gnu.org>
1263 * sysdeps/mips/fpu/libm-test-ulps: Updated.
1265 2001-09-14 Ulrich Drepper <drepper@redhat.com>
1267 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix a typo.
1268 Patch by Florian La Roche <laroche@redhat.com>.
1270 * string/bits/string2.h (__strtok_r_1c): Optimize a bit.
1272 * sysdeps/unix/sysv/linux/net/ethernet.h: Correct references to
1275 2001-09-14 Andreas Schwab <schwab@suse.de>
1277 * posix/execl.c: Fix last argument of memcpy. Reported by Brian
1278 Sumner <bls@sgi.com>.
1279 * posix/execlp.c: Likewise.
1281 2001-09-13 Jakub Jelinek <jakub@redhat.com>
1283 * elf/dl-deps.c (_dl_map_object_deps): Fix filter handling if filter
1284 is already found earlier in the search scope.
1286 2001-09-12 Jakub Jelinek <jakub@redhat.com>
1288 * rt/Makefile (LDFLAGS-rt.so): Use shared thread library as librt's
1291 2001-09-13 Ulrich Drepper <drepper@redhat.com>
1293 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust expected errors for j0.
1295 2001-09-12 Ulrich Drepper <drepper@redhat.com>
1297 * config.h.in: Enforce optimization to be used.
1298 * Makeconfig (preprocess-versions): Define ASSEMBLER.
1299 * stdlib/Makefile (isomac-CFLAGS): Define to -O.
1300 * posix/Makefile (annexc-CFLAGS): Define to -O.
1301 * sysdeps/unix/make-syscalls.sh: Define __OPTIMIZE__ in use of asm_CPP.
1303 2001-09-11 Ulrich Drepper <drepper@redhat.com>
1305 * nscd/nscd_gethst_r.c: Don't expect IPv6 addresses for IPv4 lookup.
1306 Patch by Stephan Kulow.
1308 2001-09-08 Ben Collins <bcollins@debian.org>
1310 * sysdeps/arm/dl-machine.h (elf_machine_rel): Fix thinko in
1311 usage of RESOLVE() (r_type, not reloc->r_type).
1313 2001-09-08 Ulrich Drepper <drepper@redhat.com>
1315 * elf/dl-object.c: Avoid allocating extra memory block for name.
1316 * elf/dl-close.c (_dl_close): Don't free l_libname if it is not
1317 allocated separately.
1318 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1320 2001-09-08 H.J. Lu <hjl@gnu.org>
1322 * po/zh_TW.po: Fix a typo.
1324 2001-09-07 Tom Rix <trix@redhat.com>
1326 * sysdeps/unix/sysv/aix/sysv_termio.h: New file.
1328 2001-08-26 Tom Rix <trix@redhat.com>
1330 * sysdeps/unix/sysv/aix/Makefile (aix-syscalls.o): More linker
1331 command line options.
1332 * sysdeps/unix/sysv/aix/start.s: New file, rework of start.c
1333 * sysdeps/unix/sysv/aix/start.c: Removed.
1334 * sysdeps/unix/sysv/aix/start-libc.c: New file.
1335 * sysdeps/unix/sysv/aix/init-first.c: New file.
1336 * sysdeps/unix/sysv/aix/fcntl.c: Alias __libc_fcntl to __fcntl.
1338 2001-09-08 Ben Collins <bcollins@debian.org>
1340 * sysdeps/arm/dl-machine.h: Fix usage of new _dl_signal_error() format.
1341 * sysdeps/generic/dl-machine.h: Likewise.
1342 * sysdeps/hppa/dl-fptr.c: Likewise.
1343 * sysdeps/ia64/dl-fptr.c: Likewise.
1344 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1345 * sysdeps/mips/dl-machine.h: Likewise.
1346 * sysdeps/mips/mips64/dl-machine.h: Likewise.
1347 * sysdeps/powerpc/dl-machine.c: Likewise.
1349 2001-09-07 Ben Collins <bcollins@debian.org>
1351 * sysdeps/sparc/sparc32/dl-machine.h: Fix typo.
1353 * sysdeps/hppa/dl-lookupcfg.h: Forward declare struct link_map.
1355 2001-09-08 Ulrich Drepper <drepper@redhat.com>
1357 * elf/dl-lookup.c (add_dependency): Bump l_opencount of all
1358 dependencies if necessary.
1360 * elf/dl-close.c (_dl_close): If object has no r_list (i.e., wasn't
1361 loaded directly) determine length if l_initfini list by iterating
1362 over its elements. Minor optimizations.
1363 * elf/dl-deps.c (_dl_map_object_deps): Always add own map to l_initfini
1364 for dependency objects.
1365 If object was already loaded check whether any of the dependencies
1366 is already on the relocation dependency list. If yes, remove the
1367 latter. Minor optimizations.
1368 * elf/dl-lookup.c (add_dependency): Add check for self reference of
1369 maps here. Search l_initfini list only if the object was loaded
1370 directly and not only as a dependency.
1371 (_dl_lookup_symbol): Add relocation dependency also if object
1372 is not in global scope. Remove test for self-reference here.
1373 (_dl_lookup_versioned_symbol): Likewise.
1374 * elf/dl-object (_dl_new_object): Cleanup. Initialize dont_free
1375 element of first name record.
1376 * elf/loadtest.c: Add some more test to recognize early if an object
1378 * elf/Makefile: Add rules to build and run reldep5.
1379 * elf/reldep5.c: New file.
1380 * elf/reldepmod5.c: New file.
1381 * elf/reldepmod6.c: New file.
1383 * elf/reldep2.c: Fix typo.
1385 2001-09-07 Ulrich Drepper <drepper@redhat.com>
1387 * include/link.h (struct link_map): Add l_scope_mem and l_scope_max
1388 elements. Change l_scope to be a pointer only.
1389 * elf/dl-object.c (_dl_new_object): Initialize l_scope and l_scope_max.
1390 * elf/dl-open.c (dl_open_worker): If dependency wasn't just opened
1391 here add searchlist of newly open file to the dependency's scope.
1392 * elf/dl-close.c (_dl_close): If dependency is used otherwise remove
1393 only searchlist from its scope. Free own scope array if necessary.
1394 * elf/Makefile (tests): Add dblload and dblunload now.
1396 2001-09-06 Andreas Jaeger <aj@suse.de>
1398 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: New file, contributed
1401 2001-09-05 Ulrich Drepper <drepper@redhat.com>
1403 * elf/Makefile: Add rules to build new tests. Don't run them yet since
1405 * elf/dblload.c: New file.
1406 * elf/dblloadmod1.c: New file.
1407 * elf/dblloadmod2.c: New file.
1408 * elf/dblloadmod3.c: New file.
1409 * elf/dblunload.c: New file.
1411 2001-09-04 Richard Henderson <rth@redhat.com>
1413 * elf/elf.h (R_ALPHA_OP_*, R_ALPHA_IMMED_*): Remove.
1414 (R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16.
1416 2001-09-04 Ulrich Drepper <drepper@redhat.com>
1418 Correct very misleading message for error in failed runtime relocation.
1419 * elf/dl-error.c (_dl_signal_error): Take extra parameter to describe
1421 (_dl_signal_cerror): Likewise.
1422 * sysdeps/generic/ldsodefs.h: Adjust prototypes.
1423 * elf/dl-close.c: Likewise.
1424 * elf/dl-deps.c: Likewise.
1425 * elf/dl-load.c: Likewise.
1426 * elf/dl-lookup.c: Likewise.
1427 * elf/dl-open.c: Likewise.
1428 * elf/dl-reloc.c: Likewise.
1429 * elf/dl-sym.c: Likewise.
1430 * elf/dl-version.c: Likewise.
1431 * sysdeps/generic/dl-sysdep.c: Likewise.
1433 2001-09-04 Jakub Jelinek <jakub@redhat.com>
1435 * iconv/strtab.c (strtabinit): Initialize null Strent.
1436 (newstring): Move len == 0 handling...
1437 (strtabadd): ...here.
1438 If len == 1, return null Strent.
1439 When inserting a suffix of an existing string, check if
1440 it is not equal to some suffix already recorded.
1441 Copy left and right members over if adding longer string.
1443 2001-09-04 Jakub Jelinek <jakub@redhat.com>
1445 * sunrpc/rpc_cout.c (upcase): Account for trailing '\0'.
1447 * sysdeps/unix/sysv/linux/alpha/gethostname.c: Include <errno.h>.
1448 (__syscall_gethostname): Add prototype.
1450 2001-09-04 Ulrich Drepper <drepper@redhat.com>
1452 * elf/dl-object.c (_dl_new_object): Remove unnecessary if.
1454 2001-09-02 Ulrich Drepper <drepper@redhat.com>
1456 * elf/rtld.c (dl_main): Increment l_opencount for main binary.
1458 2001-08-27 Roland McGrath <roland@frob.com>
1460 * sysdeps/unix/sysv/gethostname.c (__gethostname): When LEN is too
1461 short, copy that much into NAME anyway before returning error.
1463 2001-09-01 Richard Henderson <rth@redhat.com>
1465 * sysdeps/alpha/elf/Dist: Remove file.
1466 * sysdeps/alpha/elf/Makefile: Remove file.
1467 * sysdeps/alpha/elf/crtbegin.S: Remove file.
1468 * sysdeps/alpha/elf/crtend.S: Remove file.
1469 * sysdeps/alpha/elf/initfini.c: New file.
1471 2001-09-01 Mark Kettenis <kettenis@gnu.org>
1473 * iconv/tst-iconv1.c: Include <stddef.h> for wchar_t.
1474 * iconv/tst-iconv3.c: Likewise.
1476 2001-09-01 Jakub Jelinek <jakub@redhat.com>
1478 * sysdeps/generic/inttypes.h (__gwchar_t): Define to wchar_t for C++.
1480 2001-09-01 Ulrich Drepper <drepper@redhat.com>
1482 * iconv/gconv_cache.c: Rename variable cache to __gconv_cache and
1484 * iconv/Versions (libc) [GLIBC_2.2.5]: Export __gconv_cache.
1485 * iconv/iconv_prog.c (insert_cache): New function.
1486 (print_known_names): If cache is used call insert_cache to use the
1487 information from the cache [PR libc/2509].
1489 2001-08-31 Ulrich Drepper <drepper@redhat.com>
1491 * time/strptime.c (strptime_internal): Recognize 'l' format and
1492 handle it like 'I' for symmetry with strftime.
1494 2001-08-31 Richard Henderson <rth@redhat.com>
1496 * elf/dl-support.c (_dl_cpuclock_offset): Protect with NONAVAIL.
1497 (HP_TIMING_AVAIL): Set to HP_SMALL_TIMING_AVAIL if present.
1498 * elf/rtld.c (HP_TIMING_AVAIL): Likewise.
1499 (print_statistics): Make scalar unsigned long long.
1500 * sysdeps/alpha/hp-timing.h: New file.
1502 2001-08-31 Jakub Jelinek <jakub@redhat.com>
1504 * stdio-common/perror.c (perror): Save errno early, pass it
1505 down to perror_internal.
1506 (perror_internal): Add errnum argument.
1508 2001-08-31 Jakub Jelinek <jakub@redhat.com>
1510 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Remove unused code.
1511 Don't add old memory content for R_ALPHA_REFQUAD.
1513 2001-08-30 Ulrich Drepper <drepper@redhat.com>
1515 * crypt/md5-crypt.c (__md5_crypt_r): Compute used and required
1518 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Use __open
1519 instead of open, __close instead of close, __getpagesize instead
1522 * string/argz-stringify.c (__argz_stringify): Use __strnlen
1524 * include/string.h (strndupa): Redefine here to use __strnlen
1526 * string/strndup.c (__strndup): Use __strnlen not strnlen.
1528 * misc/syslog.c (vsyslog): Fix typo in last change (connect ->
1531 2001-08-30 Jakub Jelinek <jakub@redhat.com>
1533 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
1534 R_ALPHA_RELATIVE if RTLD_BOOTSTRAP and HAVE_Z_COMBRELOC. Only check
1535 for rtld map if neither RTLD_BOOTSTRAP nor HAVE_Z_COMBRELOC is defined.
1536 * sysdeps/i386/dl-machine.h (elf_machine_rel): Similarly.
1537 * sysdeps/ia64/dl-machine.h (elf_machine_rel): Similarly.
1538 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rel): Similarly.
1539 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rel): Similarly.
1541 2001-08-30 Ulrich Drepper <drepper@redhat.com>
1543 * sysdeps/alpha/fpu/libm-test-ulps: Adjust j0 ULPs.
1545 2001-08-30 Andreas Jaeger <aj@suse.de>
1547 * sysdeps/ieee754/ldbl-128/e_jnl.c: New file,
1548 contributed Stephen L Moshier.
1550 2001-08-30 Jakub Jelinek <jakub@redhat.com>
1552 * sunrpc/etc.rpc (sgi_fam): Add.
1554 2001-08-30 Ulrich Drepper <drepper@redhat.com>
1556 * sysdeps/unix/sysv/linux/alpha/gethostname.c: New file.
1558 2001-08-29 Ulrich Drepper <drepper@redhat.com>
1560 * nis/nis_findserv.c (__nis_findfastest): Don't fail if reply received
1561 first is from a previous call.
1562 Patch by Alexander Belopolsky <alexb@rentec.com> for [PR libc/3670].
1564 2001-08-29 Andreas Schwab <schwab@suse.de>
1566 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
1568 2001-08-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1570 * config.make.in (INSTALL_SCRIPT): Define.
1571 * Makeconfig (INSTALL_SCRIPT): Define.
1572 * Makerules (do-install-script): New macro to install scripts using
1574 (install-bin-script): New rule to install scripts with
1576 (install-bin-script-nosubdir): New rule.
1577 (install-no-libc.a-nosubdir): Add install-bin-script-nosubdir.
1578 (distinfo-vars): Add $(install-bin-script).
1579 * Rules (others): Likewise.
1580 * Makefile (glibcbug): Install with install-bin-script.
1581 * debug/Makefile (xtrace): Likewise.
1582 (catchsegv): Likewise.
1583 * elf/Makefile (ldd): Likewise.
1584 * malloc/Makefile (mtrace): Likewise.
1585 * timezone/Makefile (tzselect): Likewise.
1587 2001-08-29 H.J. Lu <hjl@gnu.org>
1589 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Pass
1590 ELF_RTYPE_CLASS_PLT, instead of R_MIPS_REL32, to
1591 _dl_lookup_versioned_symbol () and _dl_lookup_symbol ().
1593 2001-08-29 Andreas Schwab <schwab@suse.de>
1595 * sysdeps/m68k/fpu/libm-test-ulps: Updated.
1597 2001-08-28 H.J. Lu <hjl@gnu.org>
1599 * Makeconfig (combreloc-LDFLAGS): New variable.
1600 Add it to LDFLAGS.so, LDFLAGS-rtld, and +link.
1601 * config.make.in (have-z-combreloc): New variable.
1602 * configure.in: Substitute libc_cv_z_combreloc.
1604 2001-08-29 Ulrich Drepper <drepper@redhat.com>
1606 * po/sv.po: Update from translation team.
1607 * po/fr.po: Likewise.
1608 * po/da.po: Likewise.
1610 2001-08-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1612 * Makerules: Fix a typo: MD% -> MD5.
1614 2001-08-28 Ulrich Drepper <drepper@redhat.com>
1616 * sunrpc/rpc_hout.c (pargdef): Function must take pointer to object.
1617 Patch by Patrick Duval <Patrick.Duval@devinci.fr>.
1619 2001-08-28 Andreas Jaeger <aj@suse.de>
1621 * manual/libc-texinfo.sh: Add entry about free manuals.
1623 * manual/contrib.texi (Contributors): Fix cross reference.
1625 * manual/libc.texinfo (Copying): Include freemanuals.
1627 * manual/Makefile (appendices): Add freemanuals.
1629 * manual/freemanuals.texi: New file.
1630 Patch by Brian Youmans <3diff@gnu.org>.
1632 * manual/libm-err-tab.pl: Pretty print more platforms, print a
1635 * manual/math.texi (Errors in Math Functions): Fix grammar, start
1636 table on separate page.
1637 Patch by Brian Youmans <3diff@gnu.org>.
1639 2001-08-27 Ulrich Drepper <drepper@redhat.com>
1641 * misc/syslog.c (vsyslog): Try a bit harder to use syslogd. If
1642 the connection went down after we first used it try to connect
1643 again and resend the message before printing to the console.
1644 Reported by Coserea Gh. Tudor <tudore@tudore.gecadsoftware.com>.
1646 2001-08-27 Jakub Jelinek <jakub@redhat.com>
1648 * string/tst-strlen.c (main): Test strnlen (, -1) too.
1649 * sysdeps/generic/strnlen.c (__strnlen): Fix for maxlens with top
1652 2001-08-27 Ulrich Drepper <drepper@redhat.com>
1654 * iconv/strtab.c (searchstring): Use correct length for comparison.
1655 (strtabadd): Account total size correct if new string has old string as
1658 2001-08-27 Jakub Jelinek <jakub@redhat.com>
1660 * elf/rtld.c (dl_main): Update call to _dl_lookup_symbol.
1662 2001-08-27 Andreas Jaeger <aj@suse.de>
1664 * sysdeps/i386/fpu/libm-test-ulps (float): Add ulps for new tests.
1666 * math/libm-test.inc (j0_test): Add extra tests.
1667 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Use |x|,
1668 not x, in Hankel approximation.
1669 Patches by Stephen L Moshier.
1671 2001-08-26 Ulrich Drepper <drepper@redhat.com>
1673 * sysdeps/ia64/dl-lookupcfg.h: Add forward declaration for struct
1676 * configure.in: Fix test for .rela.dyn section.
1678 * elf/dl-runtime.c: Update calls to _dl_lookup_*.
1680 2001-08-26 Jakub Jelinek <jakub@redhat.com>
1682 * elf/dl-reloc.c (RESOLVE_MAP, RESOLVE): Use elf_machine_type_class
1683 instead of elf_machine_lookup_noexec_p and elf_machine_lookup_noplt_p.
1684 Pass type_class to _dl_lookup_*.
1685 * elf/dl-lookup.c (_dl_lookup_symbol): Take type_class parameter now.
1686 Pass around just type_class instead of noexec, noplt pair.
1687 (_dl_lookup_versioned_symbol): Likewise.
1688 (_dl_lookup_symbol_skip): Pass around just type_class instead of
1690 (_dl_lookup_versioned_symbol_skip): Likewise.
1691 (_dl_do_lookup, _dl_do_lookup_versioned): Likewise.
1692 * elf/do-lookup.h (do_lookup): Likewise.
1693 * include/link.h (struct link_map): Replace noexec and noplt fields
1694 in l_lookup_cache with type_class field.
1695 * sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_PLT,
1696 ELF_RTYPE_CLASS_COPY): Define.
1697 Adjust prototypes for _dl_lookup_symbol and
1698 _dl_lookup_versioned_symbol.
1699 * sysdeps/alpha/dl-machine.h (elf_machine_lookup_noplt_p,
1700 elf_machine_lookup_noexec_p): Remove.
1701 (elf_machine_type_class): Define.
1702 * sysdeps/arm/dl-machine.h: Likewise.
1703 * sysdeps/hppa/dl-machine.h: Likewise.
1704 * sysdeps/cris/dl-machine.h: Likewise.
1705 * sysdeps/i386/dl-machine.h: Likewise.
1706 * sysdeps/ia64/dl-machine.h: Likewise.
1707 * sysdeps/m68k/dl-machine.h: Likewise.
1708 * sysdeps/mips/mips64/dl-machine.h: Likewise.
1709 * sysdeps/mips/dl-machine.h: Likewise.
1710 * sysdeps/powerpc/dl-machine.h: Likewise.
1711 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1712 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1713 * sysdeps/sh/dl-machine.h: Likewise.
1714 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1715 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1717 2001-08-26 Ulrich Drepper <drepper@redhat.com>
1719 * manual/message.texi (Advanced gettext functions): Change
1720 description of plural forms for Slovak.
1721 Reported by Marcel Telka <marcel@telka.sk>.
1723 * manuaL/time.texi (Low-Level Time String Parsing): Fix description of
1724 %z. Reported by C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>.
1726 2001-08-26 Jakub Jelinek <jakub@redhat.com>
1728 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_lazy_rel): Fix a
1729 typo. Patch by Florian La Roche <laroche@redhat.com>.
1731 2001-08-26 Ulrich Drepper <drepper@redhat.com>
1733 * include/link.h (struct link_map): Add l_lookup_cache element.
1734 * elf/dl-reloc.c (RESOLVE): Add symbol caching here.
1735 (RESOLVE_MAP): Likewise.
1736 (_dl_relocate_object): Remove cache initialization.
1737 * elf/dl-lookup.c: Rip out cache handling code.
1738 * sysdeps/generic/ldsodefs.h: Remove lookup_cache struct and variable
1741 * elf/dl-lookup.c (_dl_lookup_symbol): Reorder some conditions and
1742 remove some __builtin_expect.
1743 (_dl_lookup_versioned_symbol): Likewise.
1745 * config.h.in: Add HAVE_Z_COMBRELOC.
1746 * configure.in: Add test for -z combreloc.
1748 * sysdeps/i386/dl-machine.h (elf_machine_rel): Minor cleanups and
1749 optimizations. Use HAVE_Z_COMBRELOC to avoid generaton of
1750 R_386_RELATIVE handling for ld.so startup. Reduce RTLD_BOOTSTRAP
1751 case to almost no code.
1753 2001-08-25 Ulrich Drepper <drepper@redhat.com>
1755 * po/tr.po: Update from translation team.
1757 2001-08-24 Andreas Jaeger <aj@suse.de>
1759 * iconv/Makefile (extra-objs): Add iconvconfig-modules so that
1762 2001-08-24 Ulrich Drepper <drepper@redhat.com>
1764 * elf/rtld.c (print_statistics): Printf % after percent values.
1765 * elf/dl-misc.c (_dl_debug_vdprintf): Implement %%.
1767 * elf/dl-lookup.c (_dl_lookup_symbol): If we use the cache we
1768 don't have to compute the hash value and initialize current_value.
1769 Move reference_name variable to where it is needed.
1770 (_dl_lookup_versioned_symbol): Likewise.
1772 2001-08-24 Roland McGrath <roland@frob.com>
1774 * string/tester.c (test_strerror): Don't use _sys_errlist/_sys_nerr.
1775 Just test that strerror returns non-null for a few errno codes.
1777 2001-08-23 Roland McGrath <roland@frob.com>
1779 * hurd/Versions (libc: GLIBC_2.2.5): New set; add _hurd_raise_signal,
1780 _hurdsig_interrupt_timeout, _hurdsig_fault_preemptor.
1782 * sysdeps/posix/shm_unlink.c (shm_unlink): __unlink -> unlink.
1784 * mach/Versions (libc: GLIBC_2.2.5): New set; add __mach_msg_destroy,
1787 2001-08-24 Ulrich Drepper <drepper@redhat.com>
1789 * nss/test-netdb.c (test_hosts): Don't segfault if gethostname
1792 * elf/do-rel.h (elf_dynamic_do_rel): Fix problem with ld.so
1793 startup. Explicitly remove lazy part for RTLD_BOOTSTRAP since gcc
1795 * elf/rtld.c: Include <sys/param.h>.
1796 * elf/dl-reloc.c: Likewise.
1798 2001-08-24 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1800 * sysdeps/unix/sysv/linux/mips/configure.in: Define AC_SUBST to
1801 empty to prevent junk from being generated.
1802 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1804 2001-08-24 Jakub Jelinek <jakub@redhat.com>
1806 * elf/do-rel.h (elf_dynamic_do_rel): If l_addr is 0, skip relative
1807 records. Rename endrel to relative, initialize it to r, and use it
1808 in elf_machine_rel_relative calls. Point r after relative relocs.
1810 2001-08-24 Ulrich Drepper <drepper@redhat.com>
1812 * sysdeps/i386/dl-machine.h (elf_machine_rel): Correct prediction
1815 2001-08-24 Jakub Jelinek <jakub@redhat.com>
1817 * elf/do-rel.h (elf_machine_rel_relative): Define for rela if
1818 necessary. Undefine newly defined macros at the end.
1819 * sysdeps/hppa/dl-machine.h (elf_machine_rela_relative):
1820 Rename from elf_machine_rel_relative.
1821 * sysdeps/cris/dl-machine.h (elf_machine_rela_relative): Likewise.
1822 * sysdeps/m68k/dl-machine.h (elf_machine_rela_relative): Likewise.
1823 * sysdeps/powerpc/dl-machine.h (elf_machine_rela_relative): Likewise.
1824 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela_relative):
1826 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela_relative):
1828 * sysdeps/ia64/dl-machine.h (elf_machine_rela_relative): Likewise.
1830 * sysdeps/alpha/dl-machine.h (elf_machine_rela_relative): Likewise.
1832 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela_relative):
1833 Likewise. Fix argument types.
1834 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela_relative):
1835 Likewise. Fix argument types.
1836 * sysdeps/sh/dl-machine.h (elf_machine_rela_relative): Likewise.
1838 * sysdeps/mips/dl-machine.h (elf_machine_rel_relative): Use
1839 ElfW(Rel) in argument.
1840 * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel_relative): New
1843 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
1845 * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix typo.
1847 2001-08-24 Andreas Jaeger <aj@suse.de>
1849 * sysdeps/ieee754/ldbl-128/e_j1l.c: New file, contributed by
1850 Stephen L Moshier <moshier@mediaone.net>.
1852 2001-08-24 Ulrich Drepper <drepper@redhat.com>
1854 * elf/do-rel.h (elf_dynamic_do_rel): RELATIVE relocations comes
1855 first if RELCOUNT is set.
1857 * elf/do-rel.h (elf_dynamic_do_rel): If not relocating lazily, don't
1858 call elf_machine_rel for the last DT_RELCOUNT relocations but instead
1859 elf_machine_rel_relative.
1860 * sysdeps/alpha/dl-machine.h: Define elf_machine_rel_relative.
1861 Minor optimizations.
1862 * sysdeps/arm/dl-machine.h: Likewise.
1863 * sysdeps/cris/dl-machine.h: Likewise.
1864 * sysdeps/hppa/dl-machine.h: Likewise.
1865 * sysdeps/i386/dl-machine.h: Likewise.
1866 * sysdeps/ia64/dl-machine.h: Likewise.
1867 * sysdeps/m68k/dl-machine.h: Likewise.
1868 * sysdeps/mips/dl-machine.h: Likewise.
1869 * sysdeps/powerpc/dl-machine.h: Likewise.
1870 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1871 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1872 * sysdeps/sh/dl-machine.h: Likewise.
1873 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1874 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1876 2001-08-23 Roland McGrath <roland@frob.com>
1878 * rt/tst-aio4.c [! SIGRTMIN] (SIGRTMIN, SIGRTMAX): Define as -1.
1880 * sysdeps/mach/hurd/bits/libc-lock.h: New file, initially copied from
1881 sysdeps/mach version. Implement counting ("recursive") mutexes
1882 on top of cthreads mutexes.
1883 * sysdeps/mach/hurd/bits/stdio-lock.h: File removed; generic now works.
1885 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Define to
1886 _LIBC_LOCK_RECURSIVE_INITIALIZER if defined, else do an #error.
1887 (__libc_cleanup_region_start, __libc_cleanup_region_end,
1888 __libc_clean_end): Define these to call the cleanup function after
1889 normal exit when they're supposed to.
1891 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start):
1892 Take new first arg DOIT, a boolean saying whether to really install
1893 any cleanup handler.
1894 (__libc_cleanup_region_end): Do nothing if start's DOIT arg was zero.
1895 (__libc_cleanup_end): Likewise.
1896 * sysdeps/generic/bits/libc-lock.h: Same changes.
1897 * stdio-common/vfscanf.c (LOCK_STREAM): Pass new arg.
1898 * stdio-common/vfprintf.c (buffered_vfprintf, vfprintf): Likewise.
1899 * sysdeps/mach/hurd/bits/stdio-lock.h (_IO_cleanup_region_start):
1901 * misc/syslog.c (vsyslog, openlog, closelog): Likewise.
1902 * sysdeps/generic/bits/stdio-lock.h
1903 (_IO_cleanup_region_start, _IO_cleanup_region_start_noarg): Likewise.
1905 2001-08-23 Jakub Jelinek <jakub@redhat.com>
1907 * elf/ldconfig.c (search_dir): Remove stale symlinks.
1909 2001-08-23 Jakub Jelinek <jakub@redhat.com>
1911 * elf/dl-lookup.c (lookup_cache, lookup_cache_versioned): New.
1912 (_dl_lookup_symbol): Lookup relocations in cache and store successfull
1914 (_dl_lookup_versioned_symbol): Likewise.
1915 * elf/dl-reloc.c (_dl_relocate_object): Initialize cache for
1917 * elf/rtld.c (print_statistics): Output _dl_num_cache_relocations.
1918 * sysdeps/generic/ldsodefs.h (struct lookup_cache): New definition.
1919 (lookup_cache, lookup_cache_versioned): Add declarations.
1921 2001-08-23 Ulrich Drepper <drepper@redhat.com>
1923 * stdlib/tst-random.c (main): Swap parameters in fail call.
1924 Patch by Pete Bevin <pete@petebevin.com>.
1926 2001-08-23 Jakub Jelinek <jakub@redhat.com>
1928 * sysdeps/generic/inttypes.h: Use __gwchar_t instead of __wchar_t.
1930 2001-08-23 Ulrich Drepper <drepper@redhat.com>
1932 * malloc/obstack.c: Indent preprocessor directives.
1933 Patch by Jim Meyering <meyering@ascend.com>.
1935 * po/ja.po: Update from translation team.
1937 2001-08-23 Roland McGrath <roland@frob.com>
1939 * libio/tst-ungetwc1.c (main): Add a const to quiet a warning.
1941 * nss/test-netdb.c (test_hosts): Don't use MAXHOSTNAMELEN.
1942 Instead, use dynamic buffer to test gethostname's ENAMETOOLONG error.
1944 2001-08-22 Roland McGrath <roland@frob.com>
1946 * sysdeps/generic/ldsodefs.h (_dl_load_lock): Declare it here with
1947 __libc_lock_define_recursive.
1948 * elf/dl-open.c: Don't declare it here any more.
1949 * elf/dl-close.c: Likewise.
1950 * elf/dl-lookup.c: Likewise.
1951 * elf/dl-iteratephdr.c: Likewise.
1952 * elf/dl-lookup.c (add_dependency): Use __libc_lock_lock_recursive and
1953 __libc_lock_unlock_recursive.
1954 * elf/dl-close.c (_dl_close): Likewise
1955 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise
1956 * elf/dl-open.c (_dl_open): Likewise
1958 * sysdeps/generic/bits/libc-lock.h
1959 (__libc_lock_define_recursive): New macro.
1960 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_t): Use it.
1961 (_IO_lock_lock): Use __libc_lock_lock_recursive.
1962 (_IO_lock_unlock): Use __libc_lock_unlock_recursive.
1964 * conform/conformtest.pl (checknamespace): Sort the output list.
1966 * sysdeps/generic/bits/poll.h (POLLWRBAND): New alias for POLLOUT.
1967 (POLLRDNORM, POLLRDBAND, POLLWRNORM, POLLWRBAND): Make these
1968 definitions conditional on [__USE_XOPEN].
1970 * sysdeps/mach/hurd/bits/fcntl.h (O_ASYNC, O_FSYNC, O_SYNC): Define
1971 these unconditionally, not only use [__USE_BSD], so as to match
1972 the sysdeps/unix/sysv/linux files.
1974 2001-08-22 Ulrich Drepper <drepper@redhat.com>
1976 * test-skeleton.c (add_temp_file): Add __attribute__ ((unused)) to
1979 * dlfcn/tst-dladdr.c (do_test): Get address of ref1 using
1982 2001-08-22 Roland McGrath <roland@frob.com>
1984 * sysdeps/generic/bits/sigaction.h (struct sigaction): Fix up
1985 conditionalization of sa_handler/sa_sigaction member types to
1986 match the sysdeps/unix/sysv/linux file.
1988 2001-08-22 Ulrich Drepper <drepper@redhat.com>
1990 * elf/dl-addr.c (_dl_addr): Handle broken binaries with zero
1991 symbol sizes a bit better.
1993 * sysdeps/ia64/strncpy.S: Complete rewrite.
1994 Contributed by Jakub Jelinek <jakub@redhat.com>.
1996 * string/stratcliff.c (main): Add strncpy test.
1998 2001-08-22 Roland McGrath <roland@frob.com>
2000 * sysdeps/generic/dl-environ.c: Include <stdlib.h> and <unistd.h>,
2001 and don't declare unsetenv or _environ directly.
2002 (unsetenv): Return int, not void. Use __environ instead of _environ.
2004 2001-08-01 Mark Kettenis <kettenis@gnu.org>
2006 * sysdeps/unix/bsd/bsd4.4/Makefile: New file.
2007 * sysdeps/unix/bsd/bsd4.4/Versions: New file.
2008 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: New file.
2009 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Correct
2010 test for cmsg struct size.
2012 2001-04-23 Paul Eggert <eggert@twinsun.com>
2014 * posix/getopt.h (getopt_long, getopt_long_only, _getopt_internal):
2015 Rename __argc to ___argc in prototypes to avoid compatibility
2016 problems with systems that reserve the identifier "__argc".
2017 Similarly for __argv.
2019 2001-08-21 Roland McGrath <roland@frob.com>
2021 * stdio-common/tst-fseek.c: Include <time.h> for `time' declaration.
2023 * mach/Makefile (tests): Removed.
2024 * mach/hello.c: File removed.
2026 2001-08-22 Ulrich Drepper <drepper@redhat.com>
2028 * po/sv.po: Update from translation team.
2030 * stdio-common/vfscanf.c: Fix handling of %l[].
2031 Reported by Mitsuru Chinen <mchinen@yamato.ibm.com>.
2033 * libio/Makefile (tests): Add tst-sscanf.
2034 * libio/tst-sscanf.c: New file.
2036 * elf/dl-addr.c (_dl_addr): Fix tests to determine dli_sname.
2037 * malloc/mtrace.c (tr_where): dli_sname always points to a
2038 non-empty string if != NULL.
2039 Reported by Tim Janik <timj@gtk.org>.
2041 2001-08-22 Jakub Jelinek <jakub@redhat.com>
2043 * sunrpc/xdr_rec.c (xdrrec_create): Fix buf sizes before allocating
2044 buf. Free resources on failure.
2045 * sunrpc/svc_unix.c (svcunix_create): Free resources on failure.
2046 (makefd_xprt): Likewise.
2047 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
2048 * sunrpc/svc_tcp.c (svctcp_create, makefd_xprt): Likewise.
2049 * sunrpc/auth_unix.c (authunix_create): Likewise.
2051 2001-08-21 Jakub Jelinek <jakub@redhat.com>
2053 * string/strnlen.c: Remove.
2054 * sysdeps/generic/strnlen.c: New file.
2055 * sysdeps/i386/i486/bits/string.h (strnlen): Remove.
2057 2001-08-21 Roland McGrath <roland@frob.com>
2059 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Define this
2060 as a macro, not an extern inline function.
2062 * hurd/Versions (GLIBC_2.2.5): New set, define __hurd_fail here.
2063 * Versions.def (libc): Add GLIBC_2.2.5 set.
2064 * hurd/hurd.h (_HURD_H_EXTERN_INLINE): New macro.
2065 (__hurd_fail): Use that instead of _EXTERN_INLINE in decl.
2067 2001-08-20 Roland McGrath <roland@frob.com>
2069 * hurd/hurdlookup.c (__hurd_file_name_lookup): Fail with ENOENT for "".
2070 (__hurd_file_name_split, __hurd_directory_name_split): Likewise.
2072 2001-08-21 Ulrich Drepper <drepper@redhat.com>
2074 * string/bits/string2.h: Remove strnlen optimization here.
2075 * sysdeps/i386/i486/bits/string.h: Add it here.
2077 2001-08-21 Wolfram Gloger <wg@malloc.de>
2079 * malloc/malloc.c: Make access to ..._hook pointers thread-safe.
2081 2001-08-21 Ulrich Drepper <drepper@redhat.com>
2083 * po/gl.po: Update from translation team.
2085 2001-08-20 Ulrich Drepper <drepper@redhat.com>
2087 * misc/error.c (error_tail): Use fputws_unlocked instead of fputws.
2088 * misc/err.c (convert_and_print): Likewise.
2090 * malloc/obstack.c (print_and_abort): Use fprintf instead of two
2093 2001-08-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
2095 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Revert the
2096 change of the gregset_t type.
2097 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2099 2001-08-20 kaz Kojima <kkojima@rr.iij4u.or.jp>
2101 * sysdeps/unix/sysv/linux/sh/sysdep.S: Align errno.
2103 2001-08-20 Ulrich Drepper <drepper@redhat.com>
2105 * posix/regex.c (truncate_wchar): Use wcrtomb not wctomb.
2107 * string/strnlen.c: Fix the implementation. We cannot use memchr.
2109 2001-08-18 Mark Kettenis <kettenis@gnu.org>
2111 * sysdeps/mach/hurd/i386/init-first.c (init): Initialize __environ
2112 before calling the cthreads initialization code.
2114 2001-08-20 Ulrich Drepper <drepper@redhat.com>
2116 * argp/argp-help.c: Fix two problems introduced in last change.
2118 * include/dirent.h: Include <dirstream.h> first.
2120 2001-08-19 Ulrich Drepper <drepper@redhat.com>
2122 * io/fts.c (fts_safe_changedir): Use __fxstat64 instead of __fstat.
2124 * sunrpc/svcauth_des.c (_svcauth_des): Avoid using bcopy.
2125 * sunrpc/xdr_rec.c: Likewise.
2126 * sunrpc/xdr_mem.c: Likewise.
2127 * sunrpc/svc_authux.c (_svcauth_unix): Likewise.
2128 * sunrpc/rpc_cmsg.c: Likewise.
2129 * sunrpc/getrpcport.c (getrpcport): Likewise.
2130 * sunrpc/clnt_simp.c (callrpc): Likewise.
2131 * sunrpc/clnt_gen.c (clnt_create): Likewise.
2132 * string/envz.c: Likewise.
2134 * po/ko.po: Update from translation team.
2136 * argp/argp-help.c: Handle wide oriented stderr stream.
2138 2001-08-18 Ulrich Drepper <drepper@redhat.com>
2140 * sysdeps/generic/strtol.c: Little optimizations. Add some
2143 * conform/conformtest.pl: <inttypes.h> test requires <stddef.h>.
2145 * wcsmbs/wchar.h (wcwdith): Change parameter type to wchar_t.
2146 * wcsmbs/wcwidth.c (wcwdith): Likewise.
2147 * wcsmbs/wcwidth.h (internal_wcwdith): Likewise.
2149 * conform/data/unistd.h-data: Remove _SC_MULTIPLE_PROCESS.
2151 * conform/data/ucontext.h-data: Fix typos in ucontext_t element tests.
2153 * time/time.h (struct timespec): Use __time_t for tv_sec element.
2155 * sysdeps/generic/inttypes.h: Define __wchar_t. Use it instead of
2156 wchar_t for function declarations and defintions.
2158 * misc/sys/select.h: Define __need_time_t before including <time.h>.
2159 Define suseconds_t if it hasn't happened yet.
2161 * iconv/gconv.h: Define __need_wchar_t before including <stddef.h>.
2163 * conform/data/sys/uio.h-data: Allow UIO_MAXIOV to be defined.
2165 * sysdeps/generic/stdint.h: Don't get definition of wchar_t from
2168 * conform/data/stddef.h-data: Remove wint_t.
2170 * conform/conformtest.pl: Change namespace test to take #undef
2173 * conform/data/netinet/in.h-data: Fix typo in allow-header line.
2175 * conform/data/sys/socket.h-data: Add sockatmark.
2177 2001-08-17 Ulrich Drepper <drepper@redhat.com>
2179 * io/fts.c: Update from recent BSD source.
2181 2001-08-17 Roland McGrath <roland@frob.com>
2183 * stdio-common/perror.c (perror) [! USE_IN_LIBIO]: Don't use _IO_fwide.
2184 * misc/error.c (error_tail, error, error_at_line) [! USE_IN_LIBIO]:
2187 2001-08-17 Ulrich Drepper <drepper@redhat.com>
2189 * locale/duplocale.c (__duplocale): Also initialize the special
2192 * conform/data/netdb.h-data: Adjust gai_strerror return type.
2194 2001-08-17 Andreas Jaeger <aj@suse.de>
2196 * misc/getpass.c: Include wchar.h for prototypes.
2197 * malloc/obstack.c: Likewise.
2199 2001-08-17 Ulrich Drepper <drepper@redhat.com>
2201 * sunrpc/svc_simple.c (universal): Use __write instead of write.
2203 * wcsmbs/wcscoll.c: Also define __wcscoll.
2204 * include/wchar.h: Declare __wcscoll.
2206 * libio/fwprintf.c: Use __vfwprintf instead of vfwprintf.
2207 * libio/vwprintf.c: Likewise.
2208 * libio/wprintf.c: Likewise.
2210 * iconv/gconv_cache.c: Use __munmap instead of munmap.
2212 2001-08-16 Ulrich Drepper <drepper@redhat.com>
2214 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
2216 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
2217 wcslen, and __wcscoll instead of wcscoll.
2219 * sysdeps/unix/sockatmark.c (sockatmark): Use __ioctl instead of ioctl.
2221 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue): Use
2222 __getuid instead of getuid.
2224 * stdio-common/perror.c (perror): Use __close instead of close.
2225 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
2226 * libio/freopen.c (freopen): Likewise.
2227 * libio/freopen64.c (freopen64): Likewise.
2229 * libio/tst-ungetwc2.c (main): Define str const.
2231 * include/wchar.h: Add prototypes for __fwprintf and __vfwprintf.
2232 * libio/fwprintf.c: Also define __fwprintf.
2233 * stdio-common/vfprintf.c [COMPILE_WPRINTF]: Also define __vfwprintf.
2234 * argp/argp-fmtstream.c: Handle wide oriented stderr stream.
2235 * assert/assert-perr.c: Likewise.
2236 * assert/assert.c: Likewise.
2237 * gmon/gmon.c: Likewise.
2238 * inet/rcmd.c: Likewise.
2239 * malloc/obstack.c: Likewise.
2240 * misc/err.c: Likewise.
2241 * misc/error.c: Likewise.
2242 * misc/getpass.c: Likewise.
2243 * posix/getopt.c: Likewise.
2244 * resolv/res_hconf.c: Likewise.
2245 * stdio-common/perror.c: Likewise.
2246 * stdio-common/psignal.c: Likewise.
2247 * stdlib/fmtmsg.c: Likewise.
2248 * sunrpc/auth_unix.c: Likewise.
2249 * sunrpc/clnt_perr.c: Likewise.
2250 * sunrpc/clnt_tcp.c: Likewise.
2251 * sunrpc/clnt_udp.c: Likewise.
2252 * sunrpc/clnt_unix.c: Likewise.
2253 * sunrpc/svc_simple.c: Likewise.
2254 * sunrpc/svc_tcp.c: Likewise.
2255 * sunrpc/svc_udp.c: Likewise.
2256 * sunrpc/svc_unix.c: Likewise.
2257 * sunrpc/xdr.c: Likewise.
2258 * sunrpc/xdr_array.c: Likewise.
2259 * sunrpc/xdr_rec.c: Likewise.
2260 * sunrpc/xdr_ref.c: Likewise.
2261 * sysdeps/generic/wordexp.c: Likewise.
2263 * po/it.po: Update from translation team.
2265 * misc/err.c: Handle wide oriented stderr stream.
2267 2001-08-14 Tom Rix <trix@redhat.com>
2269 * iconv/gconv_cache.c (find_module): Add #ifndef STATIC_GCONV.
2270 * iconv/Makefile: Fix gconv_cache.c CFLAGS.
2272 2001-08-13 Tom Rix <trix@redhat.com>
2274 * sysdeps/unix/sysv/aix/Makefile: Add rule to import kernel symbols.
2275 * sysdeps/unix/sysv/aix/bits/types.h: Fix type of __id_t, __useconds_t
2278 2001-08-15 Martin Schwidefsky <schwidefsky@de.ibm.com>
2280 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S (__getcontext):
2281 Store the access registers to the ucontext structure.
2282 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S (__getcontext):
2285 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S (__setcontext):
2286 Load the access registers from the ucontext structure.
2287 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S (__setcontext):
2290 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: Adjust the SC_xxx
2291 offsets to the new ucontext layout.
2292 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: Likewise.
2294 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix the layout
2295 of the ucontext structure.
2296 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2298 2001-08-15 Ulrich Drepper <drepper@redhat.com>
2300 * misc/error.c (error): Handle wide oriented stderr stream correctly.
2301 (error_at_line): Likewise.
2303 * stdio-common/perror.c (perror): Implement according to standard.
2304 The stream orientation must not be changed if the stream was not
2305 oriented before the call.
2306 * stdio-common/Makefile (tests): Add tst-perror.
2307 * stdio-common/tst-perror.c: New file.
2310 See ChangeLog.12 for earlier changes.