1 2001-12-13 Ulrich Drepper <drepper@redhat.com>
3 * crypt/md5.c (md5_process_bytes): Correct handling of alignment.
4 Patch by Eric Sharkey <sharkey@netrics.com>.
6 * crypt/md5test.c (main): Add test for multiple calls to
7 __md5_process_bytes to itererate over input string.
9 2001-12-12 Ulrich Drepper <drepper@redhat.com>
11 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Mostly the code
12 from __nis_findfastest. Take timeout value from parameter.
13 (__nis_findfastest): Call __nis_findfastest_with_timeout repeatedly.
14 * nis/nis_intern.h: Define parameters controlling __nis_findfastest
15 [PR libc/2520]. Patch by Alexander Belopolsky <alexb@rentec.com>.
17 2001-12-12 Andreas Jaeger <aj@suse.de>
19 * configure.in: Use -nostartfiles -nostdlib for linker tests, fix
20 combreloc test so that it works in this case.
22 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix typo in last patch.
24 2001-12-12 NIIBE Yutaka <gniibe@m17n.org>
26 * sysdeps/sh/Makefile: New file.
27 * sysdeps/sh/_mcount.S: New file.
28 * sysdeps/sh/sysdep.h (CALL_MCOUNT): Implemented.
29 * sysdeps/sh/machine-gmon.h: Remove "NOTYET" comment, as we are ready.
31 2001-12-11 Ulrich Drepper <drepper@redhat.com>
33 * resolv/nss_dns/dns-host.c (getanswer_r): Remove MAX_NR_ADDRS
34 limitation [PR libc/2564].
36 2001-12-11 Jakub Jelinek <jakub@redhat.com>
38 * elf/Makefile (dl-routines): Add conflict.
39 (rtld-ldscript-in, rtld-ldscript, rtld-parms): Remove.
40 (ld.so): Add _begin local symbol.
41 * elf/elf.h (DT_VALTAGIDX, DT_VALNUM, DT_ADDRTAGIDX, DT_ADDRNUM):
43 * elf/dl-deps.c (_dl_build_local_scope): New.
44 (_dl_map_object_deps): If LD_TRACE_PRELINKING, compute local scopes
46 * elf/do-rel.h (VALIDX): Define.
47 (elf_dynamic_do_rel): If ELF_MACHINE_PLT_REL is defined, don't do
48 lazy binding for RELA. If DT_GNU_PRELINKED, DT_RELACOUNT relocations
50 * elf/dl-conflict.c: New file.
51 * elf/dl-lookup.c (_dl_debug_bindings): New.
52 (_dl_lookup_symbol): Use _dl_debug_bindings. Reference_name is always
54 (_dl_lookup_symbol_skip): Likewise.
55 (_dl_lookup_versioned_symbol): Likewise.
56 (_dl_lookup_versioned_symbol_skip): Likewise.
57 * elf/dl-runtime.c (PLTREL): If ELF_MACHINE_PLT_REL is defined,
59 * elf/dynamic-link.h (elf_get_dynamic_info): Record selected dynamic
60 tags in the DT_VALRNGLO..DT_VALRNGHI and DT_ADDRRNGLO..DT_ADDRRNGHI
62 Don't adjust address dynamic tags if l_addr is 0.
63 * elf/rtld.c (_dl_trace_prelink, _dl_trace_prelink_map): New variables.
64 (_dl_start): Skip ELF_DYNAMIC_RELOCATE if ld.so is prelinked.
65 (VALIDX, ADDRIDX): Define.
66 (_dl_start_final): Initialize _dl_rtld_map's l_map_start and l_map_end.
67 (dl_main): Print library list for LD_TRACE_PRELINKING.
68 If prelinking information can be used, skip relocating libraries and
69 call _dl_resolve_conflicts instead.
70 (process_envvars): Handle LD_TRACE_PRELINKING envvar.
71 * elf/dl-load.c (_dl_map_object): Don't create fake libs
72 if LD_TRACE_PRELINKING.
73 * include/link.h (struct link_map) [l_info]: Add DT_VALNUM
75 * sysdeps/generic/ldsodefs.h (_dl_trace_prelink_map): New declaration.
76 (DL_DEBUG_PRELINK): Define.
77 (_dl_resolve_conflicts): Add prototype.
79 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Reinitialize
80 .plt for prelinked libraries where prelinking info cannot be used.
81 (elf_machine_rela): If relocating R_ALPHA_JMP_SLOT in .gnu.conflict
82 section, use RESOLVE_CONFLICT_FIND_MAP to find out reloc's link_map.
83 * sysdeps/arm/bits/link.h: New file.
84 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Save original
86 (ELF_MACHINE_NO_RELA): Only define if RTLD_BOOTSTRAP.
87 (ELF_MACHINE_PLT_REL): Define.
88 (elf_machine_rela, elf_machine_rela_relative): New.
89 (elf_machine_lazy_rel): Reinitialize R_ARM_JUMP_SLOT address instead
90 of adjusting it if prelinked and prelinking cannot be used.
91 * sysdeps/i386/bits/link.h: New file.
92 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Save original
94 (ELF_MACHINE_NO_RELA): Only define if RTLD_BOOTSTRAP.
95 (ELF_MACHINE_PLT_REL): Define.
96 (elf_machine_rela, elf_machine_rela_relative): New.
97 (elf_machine_lazy_rel): Reinitialize R_386_JUMP_SLOT address instead
98 of adjusting it if prelinked and prelinking cannot be used.
99 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): If relocating
100 conflicts, skip finaladdr computation. Use RESOLVE_CONFLICT_FIND_MAP
101 to find out map for R_PPC_JMP_SLOT relocs.
102 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Define.
104 (elf_machine_runtime_setup): Reinitialize .plt for prelinked
105 libraries where prelinking info cannot be used.
106 (sparc_fixup_plt): Renamed from elf_machine_fixup_plt.
107 (elf_machine_fixup_plt): Call sparc_fixup_plt.
108 (elf_machine_rela): Set value to 0 if relocating conflicts.
109 Call sparc_fixup_plt for R_SPARC_JMP_SLOT.
110 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Define.
111 (sparc64_fixup_plt): Fix a typo.
112 (elf_machine_rela): Set value to 0 if relocating conflicts.
113 Handle R_SPARC_JMP_SLOT relocs when relocating conflicts.
114 (elf_machine_runtime_setup): Reinitialize .plt for prelinked
115 libraries where prelinking info cannot be used.
116 * sysdeps/sh/bits/link.h: New file.
117 * sysdeps/sh/dl-machine.h (elf_machine_runtime_setup): Save original
119 (elf_machine_lazy_rel): Reinitialize R_SH_JMP_SLOT address instead
120 of adjusting it if prelinked and prelinking cannot be used.
121 * sysdeps/s390/s390-32/bits/link.h: New file.
122 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
123 Save original content of .got[1].
124 (elf_machine_lazy_rel): Reinitialize R_390_JMP_SLOT address instead
125 of adjusting it if prelinked and prelinking cannot be used.
126 * sysdeps/s390/s390-64/bits/link.h: New file.
127 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup):
128 Save original content of .got[1].
129 (elf_machine_lazy_rel): Reinitialize R_390_JMP_SLOT address instead
130 of adjusting it if prelinked and prelinking cannot be used.
131 * sysdeps/x86_64/bits/link.h: New file.
132 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
133 Save original content of .got[1].
134 (elf_machine_lazy_rel): Reinitialize R_X86_64_JMP_SLOT address instead
135 of adjusting it if prelinked and prelinking cannot be used.
137 2001-12-11 Ulrich Drepper <drepper@redhat.com>
139 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use sizeof
140 where appropriate instead of numbers. Little optimizations.
142 2001-12-10 Roland McGrath <roland@frob.com>
144 * sysdeps/mach/hurd/bind.c (bind): Don't deallocate IFSOCK if we never
147 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): Set default
148 set to GLIBC_2.2.5, not GLIBC_2.2.4.
150 * sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde):
151 Fix conditionals so this is set by default for stdio and not for libio.
152 * sysdeps/mach/hurd/configure: Regenerated.
154 2001-12-10 Thorsten Kukuk <kukuk@suse.de>
156 * io/ftw.c (ftw_startup): Check, if the path is search and readable.
158 2001-12-10 Ulrich Drepper <drepper@redhat.com>
160 * io/Makefile (tests): Add bug-ftw3.
161 * io/bug-ftw3.c: New file.
163 * sysdeps/generic/glob.c (glob): Return only pattern if nothing
164 matches and GLOB_NOCHECK is set.
165 * posix/globtest.sh: Correct expected result for NOCHECK test.
167 * po/ca.po: Update from translation team.
169 2001-12-09 Ulrich Drepper <drepper@redhat.com>
171 Implement transliteration of characters in strings of the locale
173 * locale/programs/linereader.c: Adjust for additional parameter to
175 (get_string): If character <Uxxxx> is not found try to transliterate
177 * locale/programs/ld-ctype.c: Adjust for additional parameter to
178 lr_token. Add const to charmap parameter of all functions.
179 (find_translit, find_translit2): New functions.
180 * locale/programs/charmap.c: Adjust for additional parameter to
182 * locale/programs/repertoire.c: Likewise.
183 * locale/programs/linereader.h: Likewise.
184 * locale/programs/ld-address.c: Likewise. Add const to charmap
185 parameter of all functions.
186 * locale/programs/ld-collate.c: Likewise.
187 * locale/programs/ld-identification.c: Likewise.
188 * locale/programs/ld-measurement.c: Likewise.
189 * locale/programs/ld-messages.c: Likewise.
190 * locale/programs/ld-monetary.c: Likewise.
191 * locale/programs/ld-name.c: Likewise.
192 * locale/programs/ld-numeric.c: Likewise.
193 * locale/programs/ld-paper.c: Likewise.
194 * locale/programs/ld-paper.c: Likewise.
195 * locale/programs/ld-telephone.c: Likewise.
196 * locale/programs/ld-time.c: Likewise.
197 * locale/programs/locfile.c: Likewise.
198 * locale/programs/localedef.c: Likewise.
199 * locale/programs/localedef.h: Likewise.
200 * locale/programs/locfile.h: Likewise. Add declaration for
202 * locale/programs/simple-hash.c: Add const to first parameter of
203 find_entry, iterate_table, and lookup.
204 * locale/programs/simple-hash.h: Likewise.
205 * locale/localeinfo.h: Don't define __LC_LAST here. Include <locale.h>
207 * include/locale.h: Define __LC_LAST.
208 * iconv/Makefile (CFLAGS-linereader.c): Define to -DNO_TRANSLITERATION.
210 2001-12-07 Geoff Keating <geoffk@redhat.com>
212 * sysdeps/powerpc/Dist: Update for recent FP changes.
213 * sysdeps/powerpc/fpu/Dist: Likewise.
215 2001-12-07 Andreas Schwab <schwab@suse.de>
217 * sysdeps/unix/sysv/linux/opensock.c: Include <string.h>.
219 2001-12-06 Geoff Keating <geoffk@redhat.com>
221 * sysdeps/powerpc/Makefile (sysdep_routines): Don't build the fpr
222 save/restore functions here.
223 (libm-support): Don't define these functions here.
224 * sysdeps/powerpc/fpu/Makefile: Build the fpr save/restore
226 * sysdeps/powerpc/fe_nomask.c: Move to...
227 * sysdeps/powerpc/fpu/fe_nomask.c: ... here.
228 * sysdeps/powerpc/fprrest.S: Move to...
229 * sysdeps/powerpc/fpu/fprrest.S: ... here.
230 * sysdeps/powerpc/fprsave.S: Move to...
231 * sysdeps/powerpc/fpu/fprsave.S: ... here.
233 2001-12-06 Ulrich Drepper <drepper@redhat.com>
235 * sysdeps/unix/sysv/linux/opensock.c: New file.
237 2001-12-06 Geoff Keating <geoffk@redhat.com>
239 * config.make.in (with-fp): Define from configure.
240 * configure.in: Substitute with_fp.
241 * configure: Regenerate.
242 * sysdeps/powerpc/Makefile: Set -msoft-float when --without-fp is
243 specified, and don't change FPU environment.
245 2001-12-06 Ulrich Drepper <drepper@redhat.com>
247 * libio/vasprintf.c (_IO_vasprintf): Free buffer on failure.
248 * assert/assert.c: Check result of __asprintf call and don't use
250 * assert/assert-perr.c: Likewise.
251 * inet/rcmd.c: Likewise.
252 * locale/programs/localedef.c (main): Check result of
253 construct_output_path and exit if it failed.
254 (construct_output_path): Check result of asprintf and mkdir calls and
256 * posix/getopt.c: Check result of __asprintf calls and fail if
258 Patch by Dmitry V. Levin <ldv@alt-linux.org>.
260 2001-12-05 Ulrich Drepper <drepper@redhat.com>
262 * sysdeps/generic/strcasecmp.c (__strcasecmp): Little performance
264 * sysdeps/generic/strncase.c: Likewise.
265 * string/tester.c: Add tests for strcasecmp and strncasecmp.
267 2001-12-05 Geoff Keating <geoffk@redhat.com>
269 * scripts/cpp: Test the exit status from 'type', not 'awk'.
271 * sysdeps/powerpc/__longjmp.S: Don't restore FP registers.
272 * sysdeps/powerpc/fpu/__longjmp.S: Do restore FP registers.
273 * sysdeps/powerpc/setjmp.S: Don't save FP registers.
274 * sysdeps/powerpc/fpu/setjmp.S: Do save FP registers.
275 * sysdeps/powerpc/fclrexcpt.c: Move to...
276 * sysdeps/powerpc/fpu/fclrexcpt.c: ... here.
277 * sysdeps/powerpc/fpu_control.h: Move to...
278 * sysdeps/powerpc/fpu/fpu_control.h: ... here.
280 2001-12-05 Ulrich Drepper <drepper@redhat.com>
282 * iconvdata/ibm1129.h: Remove duplicate mappings.
283 * iconvdata/ibm937.c: Handle overflow errors. Handle new tables.
284 * iconvdata/ibm937.h: Reorganize table to safe a lot of space.
285 Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
287 * timezone/zic.c: Fix handling of turnaround times.
288 Patch by Arthur David Olson <olsona@dc37a.nci.nih.gov>.
290 2001-12-02 Moshe Olshansky <OLSHANSK@il.ibm.com>
292 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Fix
295 2001-12-05 Ulrich Drepper <drepper@redhat.com>
297 * posix/regex.c: For use outside glibc defined bounded pointer
298 macros here. Patch by Jim Meyering <jim@meyering.net>.
300 * iconvdata/Makefile (modules): Add TCVN5712-1.
301 * iconvdata/TESTS: Add TCVN5712-1.
302 * iconvdata/gconv-modules: Likewise.
303 * iconvdata/tcvn5712-1.c: New file.
304 * iconvdata/testdata/TCVN-5712: New file.
305 * iconvdata/testdata/TCVN-5712..UTF8: New file.
307 2001-12-04 Ulrich Drepper <drepper@redhat.com>
309 * iconvdata/cp1258.c: Optimize conversion from UCS4.
311 2001-12-02 Roland McGrath <roland@frob.com>
313 * mach/Makefile, mach/Machrules: Move comments out of \ continuations.
315 * hurd/hurd.h (__hurd_fail): Add `break;' to silence new gcc-3 warning.
316 Reported by Jeff Bailey <jbailey@nisa.net>.
318 * hurd/hurd.h (_hurd_umask): Remove volatile qualifier from decl.
319 Reported by Jeff Bailey <jbailey@nisa.net>.
321 * mach/Makefile ($(objpfx)mach-syscalls.mk): Pass $(CFLAGS) to $(CC).
322 * mach/Machrules ($(objpfx)%.udeps static pattern rule): Likewise.
323 Reported by Jeff Bailey <jbailey@nisa.net>.
325 2001-12-01 Roland McGrath <roland@frob.com>
327 * sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Add
328 missing backslash in test arguments.
329 * sysdeps/mach/hurd/configure: Regenerated.
331 2001-11-26 Roland McGrath <roland@frob.com>
333 * hurd/hurdinit.c (_hurd_ports_use): Check if _hurd_ports is null.
334 Reported by John Tobey <jtobey@john-edwin-tobey.org>.
336 2001-11-30 Ulrich Drepper <drepper@redhat.com>
338 * iconvdata/Makefile (modules): Add ARMSCII-8.
339 * iconvdata/gconv-modules: Add entries for ARMSCII-8.
340 * iconvdata/armscii-8.c: New file.
342 2001-11-29 Jakub Jelinek <jakub@redhat.com>
344 * sysdeps/generic/glob.c (next_brace_sub): Return NULL if braces
345 don't match, fix {{a,b},c} globbing, clean up.
346 Patch by Flavio Veloso <flaviovs@magnux.com>.
347 * posix/globtest.sh: Add new tests.
349 2001-11-29 Andreas Jaeger <aj@suse.de>
351 * sysdeps/unix/sysv/linux/x86_64/Versions: Add arch_prctl.
352 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add arch_prctl call.
354 * sysdeps/generic/abort.c: Include libioP.h for
355 _IO_flush_all_lockp prototype.
357 2001-11-29 Ulrich Drepper <drepper@redhat.com>
359 * posix/regex.h: Define __restrict_arr correctly.
361 2001-11-28 Ulrich Drepper <drepper@redhat.com>
363 * iconvdata/ibm1163.c: New file.
364 * iconvdata/ibm1163.h: New file.
365 * iconvdata/ibm1164.c: New file.
366 * iconvdata/ibm1164.h: New file.
367 * iconvdata/TESTS: Add entries for IBM1163 and IBM1164.
368 * iconvdata/Makefile: Likewise.
369 * iconvdata/testdata/IBM1163: New file.
370 * iconvdata/testdata/IBM1163..UTF8: New file.
371 * iconvdata/testdata/IBM1164: New file.
372 * iconvdata/testdata/IBM1164..UTF8: New file.
373 Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
375 * iconvdata/ibm1046.h: Optimize. Remove duplicate mappings.
376 * iconvdata/ibm1124.h: Likewise.
377 * iconvdata/ibm1132.h: Likewise.
378 * iconvdata/ibm1133.h: Likewise.
379 * iconvdata/ibm1160.h: Likewise.
380 * iconvdata/ibm1161.h: Likewise.
381 * iconvdata/ibm1162.h: Likewise.
382 * iconvdata/ibm856.h: Likewise.
383 * iconvdata/ibm922.h: Likewise.
384 * iconvdata/ibm930.h: Likewise.
385 * iconvdata/ibm932.h: Likewise.
386 * iconvdata/ibm933.h: Likewise.
387 * iconvdata/ibm935.h: Likewise.
388 * iconvdata/ibm937.h: Likewise.
389 * iconvdata/ibm939.h: Likewise.
390 * iconvdata/ibm943.h: Likewise.
391 * iconvdata/ibm930.c: Pretty printing.
392 * iconvdata/ibm937.c: Avoid access accross array boundary.
394 * iconv/gconv_open.c (__gconv_open): Empty codeset name now means using
395 the current locale's codeset.
396 * iconv/iconv_open.c (iconv_open): Don't strip out everything for
398 * iconv/iconv_prog.c: Pass empty strings as default value for to-
399 and from-charset. Don't determine locale's charset here.
401 * libio/genops.c (_IO_flush_all_lockp): New function. The same code
402 as the old _IO_flush_all but lock only if parameter is nonzero.
403 (_IO_flush_all): Call _IO_flush_all_lockp with 1 as parameter.
404 * libio/libioP.h: Add prototype for _IO_flush_all_lockp.
405 * sysdeps/generic/abort.c (fflush): Define to _IO_flush_all_lockp(0)
406 if libio is used [PR libc/2575].
408 2001-11-28 Jakub Jelinek <jakub@redhat.com>
410 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf, __signbit,
411 __signbitl): Only define for ISO C99.
413 2001-11-22 Thorsten Kukuk <kukuk@suse.de>
415 * nss/nss_files/files-hosts.c (_nss_files_get##name##_r): Set
416 herrnop to NETDB_INTERNAL if we run out of buffer space.
418 2001-11-28 Ulrich Drepper <drepper@redhat.com>
420 * nss/nss_files/files-XXX.c (internal_getent): Correct input
421 overflow test for platforms with signed char.
422 Reported by Andrew Haley <aph@cambridge.redhat.com>.
424 2001-11-28 Bruno Haible <bruno@clisp.org>
426 * locale/programs/simple-hash.c (lookup_2): Remove function.
427 (insert_entry_2): Call lookup instead of lookup_2.
429 2001-03-04 Bruno Haible <bruno@clisp.org>
431 * intl/dcigettext.c (DCIGETTEXT): Increment path_max proportionally.
433 2001-10-31 Bruno Haible <bruno@clisp.org>
435 * intl/plural.y: Include <stddef.h>, needed for NULL with SunOS 4 cc.
437 2001-03-21 Bruno Haible <bruno@clisp.org>
439 * intl/dcigettext.c (_nl_state_lock): Mark as #ifdef _LIBC. AIX 3 xlc
440 chokes on empty macro arguments.
441 * intl/plural.y: Add #pragma for alloca on AIX 3.
443 2001-11-27 Ulrich Drepper <drepper@redhat.com>
445 * intl/dcigettext.c (guess_category_value): Only implement for
446 glibc. Otherwise rely on function _nl_locale_name which isn't
447 present in the glibc sources.
449 2001-09-24 Bruno Haible <bruno@clisp.org>
451 * intl/loadmsgcat.c (_nl_init_domain_conv): Also enable
452 transliteration when building on a glibc system but outside glibc.
454 2001-09-22 Bruno Haible <bruno@clisp.org>
456 * intl/plural-eval.c: New file, extracted from dcigettext.c.
457 * intl/dcigettext.c (plural_eval): Remove function, moved to
459 (plural_lookup): Call PLURAL_EVAL instead of plural_eval.
460 Include plural-eval.c.
462 2001-09-22 Bruno Haible <bruno@clisp.org>
464 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Reject numbers that
465 don't start with a digit; nplurals must be positive.
467 2001-09-02 Bruno Haible <bruno@clisp.org>
469 * intl/plural-exp.h: New file, extracted from gettextP.h.
470 * intl/plural-exp.c: New file, extracted from loadmsgcat.c.
471 * intl/gettextP.h (struct expression, struct parse_args,
472 __gettext_free_exp, __gettextparse): Move to plural-exp.h.
473 * intl/loadmsgcat.c: Include plural-exp.h.
474 (PLURAL_PARSE): Move macro to plural-exp.h.
475 (plvar, plone, germanic_plural, INIT_GERMANIC_PLURAL): Move to
477 (_nl_load_domain): Move plural handling code to plural-exp.c. Call
478 EXTRACT_PLURAL_EXPRESSION.
479 (_nl_unload_domain): Update.
480 * intl/dcigettext.c: Include plural-exp.h.
481 * intl/plural.y: Include plural-exp.h, not gettextP.h.
482 (FREE_EXPRESSION): Move macro to plural-exp.h.
483 * intl/Makefile (routines): Add plural-exp.
484 (distribute): Add plural-exp.h.
486 2001-07-28 Bruno Haible <bruno@clisp.org>
488 * intl/l10nflist.c (_nl_normalize_codeset): Cast isalnum, isalpha,
489 isdigit, tolower argument to 'unsigned char'.
490 * intl/loadmsgcat.c (_nl_load_domain): Cast isspace argument to
492 * intl/localealias.c (read_alias_file): Cast isspace argument to
495 2001-10-20 Bruno Haible <bruno@clisp.org>
497 Assume strchr() exists. (Without it, intl/explodename.c wouldn't link
499 * intl/dcigettext.c (strchr): Remove fallback definition; it conflicts
500 with the variable 'index' in plural_lookup.
501 * intl/l10nflist.c (strchr): Likewise.
502 * intl/localealias.c (strchr): Likewise.
504 Assume <stddef.h>, <stdlib.h>, <string.h>, <locale.h> exist.
505 * intl/bindtextdom.c: Likewise.
506 * intl/dcigettext.c: Likewise.
507 * intl/dgettext.c: Likewise.
508 * intl/dngettext.c: Likewise.
509 * intl/explodename.c: Likewise.
510 * intl/finddomain.c: Likewise.
511 * intl/gettext.c: Likewise.
512 * intl/l10nflist.c: Likewise.
513 * intl/loadmsgcat.c: Likewise.
514 * intl/localealias.c: Likewise.
515 * intl/ngettext.c: Likewise.
516 * intl/textdomain.c: Likewise.
517 * intl/gettext.h: Assume <limits.h> exists.
519 2001-11-27 Ulrich Drepper <drepper@redhat.com>
521 * stdio-common/Makefile (tests): Add scanf11.
522 * stdio-common/scanf11.c: New file.
524 2001-11-26 Ulrich Drepper <drepper@redhat.com>
526 * version.h (RELEASE): Define as development.
527 (VERSION): Set to 2.2.90.
529 2001-11-22 Thorsten Kukuk <kukuk@suse.de>
531 * nis/nss_compat/compat-grp.c: Print group id as unsigned long.
532 * nis/nss_nis/nis-grp.c: Likewise.
533 * nis/nss_nisplus/nisplus-grp.c: Likewise.
535 * nis/nss_compat/compat-pwd.c: Print user id as unsigned long.
536 * nis/nss_nis/nis-pwd.c: Likewise.
537 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
539 * nis/nss_nis/nis-publickey.c: Use strtoul instead of atoi.
540 * nis/nss_nisplus/nisplus-parser.c: Likewise.
541 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
543 * nscd/grpcache.c: Use strtoul instead of atol.
544 * nscd/pwdcache.c: Likewise.
545 * nss/getent.c: Likewise.
547 2001-11-27 Paul Eggert <eggert@twinsun.com>
549 * sysdeps/posix/tempname.c (__gen_tempname): Try at least
550 ATTEMPTS_MIN or TMP_MAX times, whichever is greater.
552 2001-11-19 Bruno Haible <bruno@clisp.org>
554 * locale/programs/simple-hash.c (insert_entry_2): Resize at 75%, not
556 (compute_hashval): Shift by 9 bits, not by 4 bits. This drastically
557 improves the quality of the hash function, especially for short
560 2001-11-26 Ulrich Drepper <drepper@redhat.com>
562 * stdio-common/vfscanf.c: If incomplete nan of inf(inity) strings
563 are found call conv_error and not input_error [PR libc/2669].
565 * math/bits/mathcalls.h: Mark ceil and floor as const.
566 Reported by David Mosberger.
568 2001-11-21 Jim Meyering <meyering@lucent.com>
570 * posix/regex.c (iswctype, mbrtowc, wcslen, wcscoll, wcrtomb) [_LIBC]:
571 Define to be __-prefixed.
572 Remove unnecessary duplication in `#ifdef _LIBC' blocks.
574 2001-11-26 Andreas Jaeger <aj@suse.de>
576 * sysdeps/unix/sysv/linux/hppa/brk.c: Remove __brk_addr alias,
579 2001-11-26 Stephen L Moshier <moshier@mediaone.net>
581 * sysdeps/ieee754/ldbl-128/e_log10l.c (L102B): Fix typo in
584 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Remove
585 unused variables. Fix threshold for returning 1.0.
587 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (neval, deval): Constify
590 * sysdeps/ieee754/ldbl-128/s_erfl.c (neval, deval): Likewise, and
591 remove unused variables.
593 * sysdeps/ieee754/ldbl-128/e_j0l.c (neval, deval): Likewise.
595 * sysdeps/ieee754/ldbl-128/e_j1l.c (neval, deval): Likewise, and
596 include local math header files.
598 2001-11-22 Andreas Jaeger <aj@suse.de>
600 * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Add brace to
603 2001-11-21 Andreas Jaeger <aj@suse.de>
605 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: New file.
607 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers): Add
610 2001-11-15 Andreas Jaeger <aj@suse.de>
612 * include/features.h (__GLIBC_HAVE_LONG_LONG): Define for
613 compilers that support it.
615 * posix/sys/types.h: Use __GLIBC_HAVE_LONG_LONG.
616 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
617 * stdlib/stdlib.h: Likewise.
619 2001-11-17 Ulrich Drepper <drepper@redhat.com>
621 * posix/regex.c (byte_re_match_2_internal): For gcc replace switch
622 statement with gotos.
623 Based on a patch by Paolo Bonzini <bonzini@pc-amo3.elet.polimi.it>.
625 2001-11-16 Stephen L Moshier <moshier@mediaone.net>
627 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfcl): Fix K&R header.
629 2001-11-15 Ulrich Drepper <drepper@redhat.com>
631 * sysdeps/generic/unwind-dw2-fde.c: Don't use recursive mutexes.
633 2001-10-02 Jakub Jelinek <jakub@redhat.com>
634 H.J. Lu <hjl@gnu.org>
636 * Versions.def (libc): Add GCC_3.0.
637 * configure.in (libc_cv_gcc_static_libgcc): Set to -static-libgcc
638 if gcc supports this flag.
639 (EXPORT_UNWIND_FIND_FDE): Define unless target configure disables it.
640 (gcc3): Allow glibc to be compiled with gcc 3.x.
641 * config.h.in (EXPORT_UNWIND_FIND_FDE): Add.
642 * config.make.in (static-libgcc, unwind-find-fde): Add.
643 * Makerules (build-shlib-helper, build-module-helper): Use it.
644 * scripts/versions.awk: Make sure GLIBC_ versions come first.
645 * elf/soinit.c (__libc_global_ctors): Set tbases and dbases if
647 (_fini): Call __deregister_frame_info_bases if
648 __register_frame_info_bases was used to register.
649 * elf/Versions (__register_frame_info, __deregister_frame_info): Add
651 (__register_frame_info_bases, __register_frame_info_table_bases,
652 __deregister_frame_info_bases, _Unwind_Find_FDE): Add for GCC_3.0.
653 * elf/Makefile (routines): Add unwind-dw2-fde.
654 (shared-only-routines): Add unwind-dw2-fde.
655 * sysdeps/alpha/gccframe.h: New file.
656 * sysdeps/arm/gccframe.h: New file.
657 * sysdeps/generic/framestate.c: New file.
658 * sysdeps/generic/dwarf2.h: New file.
659 * sysdeps/generic/gccframe.h (struct object): Update from gcc 3.0.
660 * sysdeps/generic/unwind-dw2-fde.c: New file.
661 * sysdeps/unix/sysv/linux/ia64/unwind-dw2-fde.c: New file.
662 * sysdeps/generic/unwind-dw2-fde.h: New file.
663 * sysdeps/generic/unwind-dw2.c: New file.
664 * sysdeps/generic/unwind-pe.h: New file.
665 * sysdeps/generic/unwind.h: New file.
666 * sysdeps/hppa/gccframe.h: New file.
667 * sysdeps/i386/gccframe.h: New file.
668 * sysdeps/m68k/gccframe.h: New file.
669 * sysdeps/mips/gccframe.h: New file.
670 * sysdeps/powerpc/gccframe.h: New file.
671 * sysdeps/s390/gccframe.h: New file.
672 * sysdeps/sh/gccframe.h: New file.
673 * sysdeps/sparc/gccframe.h: New file.
674 * sysdeps/vax/gccframe.h: New file.
675 * sysdeps/unix/sysv/linux/configure.in (libc_cv_gcc_unwind_find_fde):
676 Set on all architectures except ia64.
677 * sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Set
679 * sysdeps/mach/hurd/i386/Versions (__register_frame_info,
680 __deregister_frame_info): Move to elf/Versions.
681 * sysdeps/unix/sysv/linux/m68k/Versions: Likewise.
682 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
683 * sysdeps/unix/sysv/linux/alpha/Versions: Likewise.
684 * sysdeps/unix/sysv/linux/i386/Versions: Likewise.
685 * sysdeps/unix/sysv/linux/mips/Versions: Likewise.
686 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
687 * sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise.
688 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
689 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
690 * sysdeps/mach/hurd/i386/Makefile (sysdep-routines): Add framestate.
691 * sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
692 * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
693 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
694 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
695 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
696 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
697 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
698 * sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
700 2001-11-15 Jeff Law <law@redhat.com>
702 * posix/regex.c (uintptr_t): Do not provide a definition if the
705 2001-11-13 Roland McGrath <roland@frob.com>
707 * stdio-common/tmpfile.c: Moved to ...
708 * sysdeps/generic/tmpfile.c: ... here.
709 * sysdeps/mach/hurd/tmpfile.c: New file.
711 * hurd/fopenport.c (__fopenport): Renamed from fopenport.
712 [USE_IN_LIBIO] (fopencookie): #define as _IO_fopencookie.
713 (fopenport): Define as weak alias.
715 * libio/iofopncook.c (_IO_fopencookie): Move forward declaration ...
716 * libio/libioP.h: ... to here.
718 2001-11-12 Ulrich Drepper <drepper@redhat.com>
720 * elf/dl-reloc.c (_dl_relocate_object): Avoid iterating over
721 program header twice. Construct list with the needed information.
723 2001-11-10 Ulrich Drepper <drepper@redhat.com>
725 * po/ca.po: Update from translation team.
727 * elf/dl-load.c (_dl_map_object_from_fd): Remove use of
728 _dl_pf_to_prot. Use arithmetic operation using PF_TO_PROT macro.
729 * sysdeps/generic/ldsodefs.h (PF_TO_PROT): New macro.
730 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
732 2001-11-10 Andreas Jaeger <aj@suse.de>
734 * sysdeps/ieee754/ldbl-128/e_log2l.c: New file.
735 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
736 Contributed by Stephen L Moshier <moshier@mediaone.net>.
738 2001-11-09 Ulrich Drepper <drepper@redhat.com>
740 * elf/dl-minimal.c (realloc): Handle NULL for first parameter
742 * elf/dl-load.c (is_dst): New function.
743 (_dl_dst_count): Use is_dst to check for DST variable.
744 (_dl_dst_substitute): Likewise.
746 2001-11-09 Roland McGrath <roland@frob.com>
748 Hurd/PowerPC port contributed by Peter Bruin <pjbruin@dds.nl>.
749 * sysdeps/mach/hurd/powerpc/exc2signal.c: New file.
750 * sysdeps/mach/hurd/powerpc/init-first.c: New file.
751 * sysdeps/mach/hurd/powerpc/intr-msg.h: New file.
752 * sysdeps/mach/hurd/powerpc/longjmp-ts.c: New file.
753 * sysdeps/mach/hurd/powerpc/register-dump.h: New file.
754 * sysdeps/mach/hurd/powerpc/sigreturn.c: New file.
755 * sysdeps/mach/hurd/powerpc/static-start.S: New file.
756 * sysdeps/mach/hurd/powerpc/trampoline.c: New file.
757 * sysdeps/mach/hurd/powerpc/bits/sigcontext.h: New file.
758 * sysdeps/mach/hurd/powerpc/Dist: New file.
760 * hurd/privports.c (__get_privileged_ports):
761 Only contact the proc server if necessary for this call.
762 Suggested by Neal H Walfield <neal@cs.uml.edu>.
763 Check error return for mach_port_mod_refs.
765 2001-11-09 Andreas Schwab <schwab@suse.de>
767 * sysdeps/unix/sysv/linux/m68k/bits/resource.h: New file.
769 2001-11-09 Ulrich Drepper <drepper@redhat.com>
771 * elf/dl-load.c (lose): Remove some unnecessary code. The new
772 object is always the last in the list.
773 (_dl_map_object_from_fd): Delete code to remove from object list
774 when DF_1_NOOPEN is seen. This is done in lose.
776 2001-11-08 Ulrich Drepper <drepper@redhat.com>
778 * elf/dl-object.c (_dl_new_object): Various small optimizations.
780 2001-11-07 Ulrich Drepper <drepper@redhat.com>
782 * sysdeps/generic/dl-cache.c: Optimize SEARCH_CACHE and
783 HWCAP_CHECK macro code.
785 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Optimize code a bit.
786 Now returns MAP_FAILED on error.
787 * elf/rtld.c: Adjust caller.
788 * sysdeps/generic/dl-cache.c: Likewise.
789 * sysdeps/generic/ldsodefs.h: Adjust description.
791 * elf/dl-version.c (match_symbol): Optimize error handling for size.
792 (_dl_check_map_versions): Likewise.
794 2001-11-06 Ulrich Drepper <drepper@redhat.com>
796 * elf/dl-load.c (_dl_map_object_from_fd): Don't call
797 _dl_signal_error directly, always use lose. Set fd to -1 after
799 (lose): Don't call close if fd == -1.
801 2001-11-07 Kaoru Fukui <k_fukui@highway.ne.jp>
803 * manual/charset.texi: Fix typo @w[ISO 6937] to @w{ISO 6937}.
804 Also fix typo @code {mbsinit} to @code{mbsinit}.
806 2001-11-06 Ulrich Drepper <drepper@redhat.com>
808 * elf/dl-profile.c: Replace state variable with simple flag named
809 running. Remove commented-out code.
811 * elf/dl-load.c (decompose_rpath): Optimize error handling for size.
812 (_dl_init_paths): Likewise.
813 (_dl_map_object_from_fd): Likewise.
814 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
816 2001-11-06 Roland McGrath <roland@frob.com>
818 * sysdeps/mach/powerpc/sysdep.h: Include sysdeps/unix/powerpc/sysdep.h
819 instead of sysdeps/powerpc/elf/sysdep.h and sysdeps/unix/sysdep.h.
821 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't include
822 sysdeps/powerpc/elf/sysdep.h.
823 Reported by Kaoru Fukui <k_fukui@highway.ne.jp>.
825 2001-11-05 Ulrich Drepper <drepper@redhat.com>
827 * elf/rtld.c (process_dl_debug): Rewritten. Optimized for size not
829 (process_envvars): Some more optimizations.
830 * sysdeps/generic/ldsodefs.h (DL_DEBUG_HELP): New macro.
832 * elf/elf.h: Add dynamic tag definitions for prelinking.
834 * elf/rtld.c (process_envvars): Avoid using array of string pointers.
835 Rewrite code to remove environment varables for SUID binaries.
836 Small optimization in LD_PROFILE handling.
837 * sysdeps/generic/unsecvars.h: Adjust format for process_envvars
839 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
841 * sysdeps/generic/dl-sysdep.c: Don't initialize _dl_cpuclock_offset.
843 * elf/dl-reloc.c (_dl_reloc_bad_type): Rewrite to not use writable
844 strings. Change type of second parameter.
845 * sysdeps/generic/ldsodefs.h: Adjust _dl_reloc_bad_type prototype
848 * io/fts.h: Prevent using <fts.h> with _FILE_OFFSET_BITS=64.
850 2001-11-04 Joseph S. Myers <jsm28@cam.ac.uk>
852 * manual/string.texi: Fix typos.
853 * manual/examples/argp-ex2.c: Likewise.
855 2001-11-05 Roland McGrath <roland@frob.com>
857 * sysdeps/powerpc/elf/sysdep.h: Remove this file, because it overrides
858 the more-specific unix/sysv/linux/powerpc file and breaks everything.
859 * sysdeps/powerpc/sysdep.h (ALIGNARG, ASM_TYPE_DIRECTIVE,
860 ASM_SIZE_DIRECTIVE, CALL_MCOUNT, ENTRY, EALIGN, DO_CALL, JUMPTARGET,
861 PSEUDO, PSEUDO_RET, PSEUDO_END, L, C_TEXT): These macros moved here
862 here, put under [__ELF__].
864 2001-11-05 Ulrich Drepper <drepper@redhat.com>
866 * manual/charset.texi: Extensive editing work.
867 * manual/nss.texi: Likewise.
868 Changes by Dennis Grace <dgrace@us.ibm.com>.
870 2001-11-04 Roland McGrath <roland@frob.com>
872 * hurd/set-host.c (_hurd_set_host_config): Use O_WRONLY in flags
873 parameter to dir_mkfile.
875 2001-11-02 Jakub Jelinek <jakub@redhat.com>
877 * string/bits/string2.h (__strndup): If n is smaller than len, set
879 * string/tester.c (test_strndup): New function.
882 2001-11-01 Ulrich Drepper <drepper@redhat.com>
884 * sunrpc/rpc_main.c: Optimize variable definitions a bit.
886 * sunrpc/Makefile (rpcgen-cmd): Use ../scripts/cpp in rpcgen calls.
887 * scripts/cpp: New file.
889 * elf/dl-load.c (_dl_map_object): Correct test of DF_1_NODEFLIB
890 for rtld_search_dirs content. Minor optimizations.
892 2001-10-31 Ulrich Drepper <drepper@redhat.com>
894 * elf/dl-load.c (_dl_map_object): Make code a bit more compact by
895 avoiding unnecessary duplication.
897 2001-10-31 Jakub Jelinek <jakub@redhat.com>
899 * elf/dl-load.c (_dl_map_object): If library was found using
900 LD_LIBRARY_PATH, don't try RUNPATH list.
902 2001-10-31 Martin Schwidefsky <schwidefsky@de.ibm.com>
904 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h (REGISTER_DUMP):
905 Correct second argument of register_dump call.
906 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h (REGISTER_DUMP):
909 2001-10-31 Ulrich Drepper <drepper@redhat.com>
911 * iconvdata/Makefile: Add support for IBM1132, IBM1133, and IBM1162
913 * iconvdata/TESTS: Likewise.
914 * iconvdata/gconv-modules: Likewise.
915 * iconvdata/ibm1132.c: New file.
916 * iconvdata/ibm1132.h: New file.
917 * iconvdata/ibm1133.c: New file.
918 * iconvdata/ibm1133.h: New file.
919 * iconvdata/ibm1162.c: New file.
920 * iconvdata/ibm1162.h: New file.
921 * iconvdata/testdata/IBM1132: New file.
922 * iconvdata/testdata/IBM1132..UTF8: New file.
923 * iconvdata/testdata/IBM1133: New file.
924 * iconvdata/testdata/IBM1133..UTF8: New file.
925 * iconvdata/testdata/IBM1162: New file.
926 * iconvdata/testdata/IBM1162..UTF8: New file.
927 Patches by Masahide Washizawa <WASHI@jp.ibm.com>.
929 * string/string.h: Fix typo in comment.
930 * wcsmbs/wchar.h: Likewise.
932 2001-10-30 Joseph S. Myers <jsm28@cam.ac.uk>
934 * manual/getopt.texi (getopt_long, getopt_long_only): Include
935 const in type of longopts parameter.
937 2001-10-29 Andreas Jaeger <aj@suse.de>
939 * sysdeps/ieee754/dbl-64/mpa.h: Add prototypes for internal functions.
941 2001-10-29 Kevin Ryde <user42@zip.com.au>
943 * manual/stdio.texi (Integer Conversions): Corrections to sample printf
944 output, clarify `#' behaviour on 0.
945 (Floating-Point Conversions): Clarify that %g only uses %e when
946 the exponent would be greater than 1.
948 2001-10-28 Roland McGrath <roland@frob.com>
950 Support for Mach/PowerPC contributed by Peter Bruin <pjbruin@dds.nl>.
951 * sysdeps/mach/powerpc/machine-sp.h: New file.
952 * sysdeps/mach/powerpc/sysdep.h: New file.
953 * sysdeps/mach/powerpc/thread_state.h: New file.
955 * sysdeps/mach/hurd/i386/Makefile: File removed; crt0.o rules moved ...
956 * sysdeps/mach/hurd/Makefile: ... to here. For the time being, we can
957 expect to need the same thing on every platform.
959 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: File moved ...
960 * sysdeps/generic/sys/ucontext.h: ... to replace this one.
962 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (ALIGNARG,
963 ASM_TYPE_DIRECTIVE, ASM_SIZE_DIRECTIVE, CALL_MCOUNT, ENTRY, EALIGN,
964 DO_CALL, JUMPTARGET, PSEUDO, PSEUDO_RET, PSEUDO_END, L, C_TEXT):
965 Move all these assembly-related definitions to ...
966 * sysdeps/powerpc/elf/sysdep.h: ... this new file.
968 * sysdeps/mach/powerpc/machine-lock.h: Assembly code rewritten
969 by Peter Bruin <pjbruin@dds.nl>.
971 * hurd/hurdselect.c (_hurd_select): Check SELECT_RETURNED bit when
972 packing results for a `poll' call.
974 2001-10-26 Ulrich Drepper <drepper@redhat.com>
976 * posix/fnmatch_loop.c: Recognize - at end of bracket expression
978 * posix/tst-fnmatch.input: Add tests for - at beginning and end of
981 * string/strxfrm.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get
983 * string/tst-strxfrm.c (test): Also test __strxfrm_l.
985 2001-10-24 H.J. Lu <hjl@gnu.org>
987 * sysdeps/generic/bits/dlfcn.h (DL_CALL_FCT): Cast to void *.
988 Use __BEGIN_DECLS/__END_DECLS around prototypes.
989 * sysdeps/mips/bits/dlfcn.h (DL_CALL_FCT): Likewise.
991 2001-10-21 Jim Meyering <meyering@lucent.com>
993 * malloc/obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
994 this code would end up calling gettext even in packages built
996 * posix/getopt.c (_): Likewise.
997 * posix/regex.c (_): Likewise.
999 2001-10-26 Ulrich Drepper <drepper@redhat.com>
1001 * resolv/gethnamaddr.c (gethostbyaddr): Use ip6.addr for reverse
1003 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
1004 Reported by Martin.v.Loewis@t-online.de [PR libc/2598].
1006 2001-10-19 Jakub Jelinek <jakub@redhat.com>
1008 * misc/sys/cdefs.h (__attribute_used__): Define.
1009 * elf/rtld.c (_dl_start): Add __attribute_used__.
1010 * elf/dl-runtime.c (fixup, profile_fixup): Likewise.
1012 2001-10-25 Andreas Schwab <schwab@suse.de>
1014 * stdlib/a64l.c: Expect least significant digit first.
1015 * stdlib/l64a.c: Produce least significant digit first.
1016 * stdlib/Makefile (tests): Add test-a64l.
1017 * stdlib/test-a64l.c: New file.
1018 Reported by Masaki Hasegawa <masaki-h@pp.iij4u.or.jp>.
1020 2001-10-21 Ulrich Drepper <drepper@redhat.com>
1022 * po/sk.po: Update from translation team.
1024 2001-10-18 Ulrich Drepper <drepper@redhat.com>
1026 * sysdeps/i386/elf/start.S (_fp_hw): Define object type.
1028 2001-10-18 Andreas Schwab <schwab@suse.de>
1030 * math/libm-test.inc (print_ulps): Print ulp values rounded to
1032 (print_function_ulps): Likewise.
1033 (print_complex_function_ulps): Likewise.
1034 (print_max_error): Likewise.
1035 (print_complex_max_error): Likewise. Handle ignore_max_ulp.
1037 2001-10-16 Andreas Schwab <schwab@suse.de>
1039 * sysdeps/m68k/fpu/libm-test-ulps: Updated for fixed cbrtl
1042 * sysdeps/m68k/setjmp.c: Also define setjmp and _setjmp if
1043 BSD_SETJMP or BSD__SETJMP is defined, resp.
1044 * sysdeps/m68k/bsd-setjmp.c: Inline setjmp code instead of making
1045 a tail call to __sigsetjmp that would require extending the
1047 * sysdeps/m68k/bsd-_setjmp.c: Likewise.
1048 * sysdeps/m68k/bsd-setjmp.S: Deleted.
1049 * sysdeps/m68k/bsd-_setjmp.S: Deleted.
1050 Reported by Jes Sorensen <jes@trained-monkey.org>.
1052 2001-10-16 Andreas Jaeger <aj@suse.de>
1054 * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Fix
1055 parentheses. Reported by David Byron <dbyron@porto.coactive.com>,
1058 2001-10-15 Ulrich Drepper <drepper@redhat.com>
1060 * po/ca.po: New file. Contributed by the translation team.
1062 2001-10-15 Ralf Baechle <ralf@gnu.org>
1064 * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Make sysmips() prototype
1065 a varargs prototype. Remove dependency from kernel header files.
1067 * sysdeps/unix/sysv/linux/mips/bits/termios.h: General cleanup, use
1068 __USE_MISC / __USE_XOPEN not __USE_BSD where appropriate.
1070 2001-10-14 Ulrich Drepper <drepper@redhat.com>
1072 * locale/programs/ld-collate.c (handle_ellipsis): Use %lX not %lx
1073 to generate hexadecimal identifier.
1074 Patch by Jungshik Shin <jungshik.shin@yale.edu>.
1076 2001-10-09 Stephen L Moshier <moshier@mediaone.net>
1078 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Fix algorithm.
1080 2001-10-14 Ulrich Drepper <drepper@redhat.com>
1082 * sysdeps/ieee754/ldbl-128/e_powl.c: New file.
1083 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: New file.
1084 Contributed by Stephen L Moshier <moshier@mediaone.net>.
1086 * sysdeps/ieee754/ldbl-128/e_j0l.c: Constify float variables.
1087 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1088 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise
1089 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise
1090 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise
1091 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise
1093 * timezone/africa: Update from tzdata2001d.
1094 * timezone/asia: Likewise.
1095 * timezone/australasia: Likewise.
1096 * timezone/backward: Likewise.
1097 * timezone/europe: Likewise.
1098 * timezone/leapseconds: Likewise.
1099 * timezone/northamerica: Likewise.
1100 * timezone/southamerica: Likewise.
1101 * timezone/zone.tab: Likewise.
1103 2001-10-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1105 * sysdeps/s390/s390-32/sys/ucontext.h: Correct __psw_t typedef.
1106 * sysdeps/s390/s390-64/sys/ucontext.h: Likewise.
1108 2001-10-12 Ulrich Drepper <drepper@redhat.com>
1110 * elf/elf.h (PT_TLS): New definition.
1112 2001-10-10 Jeff Bailey <jbailey@nisa.net>
1114 * sysdeps/mach/hurd/Makefile: Add $(CFLAGS) for generation of
1117 2001-10-07 Roland McGrath <roland@frob.com>
1119 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Never return ENOSYS.
1121 2001-10-10 Ulrich Drepper <drepper@redhat.com>
1123 * elf/elf.h: Add more ELFOSABI_* constants.
1125 2001-10-04 Ben Collins <bcollins@debian.org>
1127 * sysdeps/generic/inttypes.h: Fix typo (define, not defined) in
1128 decleration of __need_wchar_t.
1130 2001-10-03 Jakub Jelinek <jakub@redhat.com>
1132 * string/bits/string2.h (__strsep_g): Add prototype.
1134 * string/Versions (__strsep): Remove.
1135 * sysdeps/generic/strsep.c (__strsep_g): Add alias to __strsep.
1137 2001-10-07 Ulrich Drepper <drepper@redhat.com>
1139 * manua/llio.texi: Clarify file references added by mmap.
1140 Patch by Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
1142 2001-09-29 Jes Sorensen <jes@trained-monkey.org>
1144 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
1145 Add sc_loadrs and sc_rbs_bas to match current kernel.
1147 2001-09-27 Jakub Jelinek <jakub@redhat.com>
1149 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
1151 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Fix erfc(-inf).
1153 2001-09-27 Jakub Jelinek <jakub@redhat.com>
1155 * elf/dl-open.c (dl_open_worker): If l_opencount of freshly loaded
1156 object has been bumped because of relocation dependency, avoid
1157 duplicates in l_scope.
1158 (show_scope): Fix typos.
1159 * elf/Makefile: Add rules to build and run reldep6.
1160 * elf/reldep6.c: New file.
1161 * elf/reldep6mod0.c: New file.
1162 * elf/reldep6mod1.c: New file.
1163 * elf/reldep6mod2.c: New file.
1164 * elf/reldep6mod3.c: New file.
1165 * elf/reldep6mod4.c: New file.
1167 2001-09-26 Jakub Jelinek <jakub@redhat.com>
1169 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Call
1171 (sparc64_fixup_plt): Moved from elf_machine_fixup_plt. Optimize
1172 near jumps and 0xfffff800XXXXXXXX target addresses, no thread safety
1173 for non-lazy binding. Fix .plt[32768+] handling.
1174 (elf_machine_plt_value): Don't add addend.
1175 (elf_machine_rela): Call sparc64_fixup_plt instead of
1176 elf_machine_fixup_plt.
1177 (elf_machine_runtime_setup, TRAMPOLINE_TEMPLATE): Optimize for
1178 dynamic linker at 0xfffff800XXXXXXXX.
1180 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
1182 2001-09-28 Ulrich Drepper <drepper@redhat.com>
1184 * elf/elf.h: Define SHF_GROUP and SHF_TLS.
1186 2001-09-25 Jakub Jelinek <jakub@redhat.com>
1188 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (struct cmsghdr): Don't
1189 declare __cmsg_data field if its size would be bigger than 0.
1190 (CMSG_DATA): Adjust accordingly.
1191 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
1192 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Likewise.
1193 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
1194 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
1195 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1196 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1197 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1199 2001-09-25 Ulrich Drepper <drepper@redhat.com>
1201 * iconvdata/TESTS: Add entries for IBM1160 and IBM1161.
1202 * iconvdata/testdata/IBM1160: New file.
1203 * iconvdata/testdata/IBM1160..UTF8: New file.
1204 * iconvdata/testdata/IBM1161: New file.
1205 * iconvdata/testdata/IBM1161..UTF8: New file.
1206 Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
1208 2001-09-24 Ulrich Drepper <drepper@redhat.com>
1210 * sysdeps/unix/bsd/ulimit.c (ulimit): Handle overflow in
1211 UL_SETFSIZE computations better.
1213 * rt/Makefile: Remove use of filter for librt again.
1215 * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Handle overflow in
1216 UL_SETFSIZE computations better.
1218 * string/Versions: Export __strsep for GLIBC_2.2.5.
1219 * string/bits/string2.h: Define all __STRING_INLINE functions if
1220 _FORCE_INLINES is defined.
1221 Use int instead of char of parameter types.
1222 (__strsep): Don't use __strsep_g. Don't define it.
1223 (__strsep_1c, __strsep_2c, __strsep_3c): Optimize.
1224 * sysdeps/i386/i486/string.h (__strcpy_a_small): Renamed from
1226 (__stpcpy_a_small): Renamed from __stpcpy_small.
1227 (__strcspn_c1): Don't define if _FORCE_INLINES.
1228 (__strspn_c1): Likewise.
1230 2001-09-22 Ben Collins <bcollins@debian.org>
1232 * sysdeps/sparc/bits/sigaction.h: Define SA_RESTART and friends when
1233 _UNIX98_SOURCE is defined too. Matches generic/bits/sigaction.h.
1234 * sysdeps/ia64/bits/sigaction.h: Likewise.
1235 * sysdeps/s390/s390-64/bits/sigaction.h: Likewise.
1237 2001-09-24 Andrew Haley <aph@cambridge.redhat.com>
1239 * sysdeps/unix/sysv/linux/sh/Makefile (sysdep_headers): Add sys/io.h.
1241 2001-09-24 Jakub Jelinek <jakub@redhat.com>
1243 * elf/dl-open.c (dl_open_worker): Update l_scope_max.
1245 2001-09-24 Ulrich Drepper <drepper@redhat.com>
1247 * wcsmbs/wchar.h: Add __attribute_pure__ to mbsinit prototype.
1249 2001-09-20 H.J. Lu <hjl@gnu.org>
1251 * include/dlfcn.h (__RTLD_SPROF): New definiton.
1252 * elf/dl-open.c (dl_open_worker): Return immediately after loading
1254 * elf/sprof.c (main): Default to the filename if soname doesn't exist.
1255 (load_shobj): Call dlopen with `RTLD_LAZY | __RTLD_SPROF'.
1257 2001-09-20 H.J. Lu <hjl@gnu.org>
1259 * elf/dl-profile.c (_dl_mcount): Use old *narcsp value for newarc,
1262 2001-09-22 Ulrich Drepper <drepper@redhat.com>
1264 * nss/getent.c: Accept -s parameter to overwrite rules in
1265 nsswitch.conf. Patch by Nalin Dahyabhai <nalin@redhat.com>.
1267 * nss/nss_files/files-network.c (LINE_PARSER): Pad addr string
1268 with as many ".0" as necessary to form a complete address
1269 inet_network understands.
1271 * nss/getent.c: Various cleanups. Use simpler and fewer function
1274 2001-09-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
1276 * sysdeps/s390/s390-32/bits/setjmp.h: Correct pointer comparison in
1278 * sysdeps/s390/s390-64/bits/setjmp.h: Likewise.
1280 2001-09-22 Ulrich Drepper <drepper@redhat.com>
1282 * iconvdata/Makefile: Add rules to build and distribute IBM1160 and
1284 * iconvdata/gconv-modules: Add entries for IBM1160 and IBM1161.
1285 * iconvdata/ibm1160.c: New file.
1286 * iconvdata/ibm1160.h: New file.
1287 * iconvdata/ibm1161.c: New file.
1288 * iconvdata/ibm1161.h: New file.
1289 Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
1291 2001-09-19 Jakub Jelinek <jakub@redhat.com>
1293 * sysdeps/alpha/dl-machine.h (elf_machine_load_address): Compute the
1294 difference between base address and first PT_LOAD's virtual address,
1295 not the base address.
1297 2001-09-11 Tom Rix <trix@redhat.com>
1299 * sysdeps/unix/sysv/aix/init-first.c (init): Use USE_NONONPTION_FLAG
1300 ifdef for __getopt_clean_environment.
1301 * sysdeps/unix/sysv/aix/libc-start.c: Add real implementation.
1303 2001-09-22 Andreas Jaeger <aj@suse.de>
1305 * elf/reldep4.c (main): Add proper prototype to fix warning.
1307 * elf/reldep5.c (main): Remove unused variable.
1309 * math/math_private.h: Add prototypes.
1311 2001-09-21 Andreas Jaeger <aj@suse.de>
1313 * sysdeps/unix/sysv/linux/x86_64/Dist: New file.
1314 * sysdeps/x86_64/Dist: New file.
1315 * sysdeps/x86_64/soft-fp/Dist: New file.
1317 * sysdeps/gnu/Dist: Remove eval.c.
1319 2001-09-20 Ulrich Drepper <drepper@redhat.com>
1321 * malloc/memusage.c (realloc): Don't count already allocated
1323 (me): Always use dlsym() to find the real implementations.
1325 * malloc/memusage.sh: Make -n option actually do something.
1327 2001-09-20 Andreas Jaeger <aj@suse.de>
1329 * elf/elf.h (R_390_NUM): Correct value.
1331 * Versions.def: Add missing versions 2.2.3 for libthread_db and
1334 * sysdeps/unix/sysv/linux/configure.in: Add minimal kernel version
1335 for x86-64, install x86-64 into */lib64.
1337 * shlib-versions: Add x86-64.
1339 * elf/elf.h: Add x86-64 relocations.
1341 2001-09-19 Ulrich Drepper <drepper@redhat.com>
1343 * po/fr.po: Update from translation team.
1345 2001-09-19 Andreas Jaeger <aj@suse.de>
1347 * sysdeps/unix/sysv/linux/x86_64/Makefile: New file.
1348 * sysdeps/unix/sysv/linux/x86_64/Versions: New file.
1349 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: New file.
1350 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: New file.
1351 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: New file.
1352 * sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: New file.
1353 * sysdeps/unix/sysv/linux/x86_64/bits/time.h: New file.
1354 * sysdeps/unix/sysv/linux/x86_64/bits/types.h: New file.
1355 * sysdeps/unix/sysv/linux/x86_64/brk.c: New file.
1356 * sysdeps/unix/sysv/linux/x86_64/clone.S: New file.
1357 * sysdeps/unix/sysv/linux/x86_64/fstatfs64.c: New file.
1358 * sysdeps/unix/sysv/linux/x86_64/ftruncate64.c: New file.
1359 * sysdeps/unix/sysv/linux/x86_64/fxstat.c: New file.
1360 * sysdeps/unix/sysv/linux/x86_64/fxstat64.c: New file.
1361 * sysdeps/unix/sysv/linux/x86_64/getdents.c: New file.
1362 * sysdeps/unix/sysv/linux/x86_64/getdents64.c: New file.
1363 * sysdeps/unix/sysv/linux/x86_64/getrlimit64.c: New file.
1364 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
1365 * sysdeps/unix/sysv/linux/x86_64/glob64.c: New file.
1366 * sysdeps/unix/sysv/linux/x86_64/lxstat.c: New file.
1367 * sysdeps/unix/sysv/linux/x86_64/lxstat64.c: New file.
1368 * sysdeps/unix/sysv/linux/x86_64/mmap64.c: New file.
1369 * sysdeps/unix/sysv/linux/x86_64/pread64.c: New file.
1370 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: New file.
1371 * sysdeps/unix/sysv/linux/x86_64/pwrite64.c: New file.
1372 * sysdeps/unix/sysv/linux/x86_64/readdir.c: New file.
1373 * sysdeps/unix/sysv/linux/x86_64/readdir64.c: New file.
1374 * sysdeps/unix/sysv/linux/x86_64/readdir64_r.c: New file.
1375 * sysdeps/unix/sysv/linux/x86_64/readdir_r.c: New file.
1376 * sysdeps/unix/sysv/linux/x86_64/recv.c: New file.
1377 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: New file.
1378 * sysdeps/unix/sysv/linux/x86_64/send.c: New file.
1379 * sysdeps/unix/sysv/linux/x86_64/setrlimit64.c: New file.
1380 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: New file.
1381 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: New file.
1382 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: New file.
1383 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: New file.
1384 * sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: New file.
1385 * sysdeps/unix/sysv/linux/x86_64/statfs64.c: New file.
1386 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: New file.
1387 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: New file.
1388 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: New file.
1389 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: New file.
1390 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: New file.
1391 * sysdeps/unix/sysv/linux/x86_64/syscall.S: New file.
1392 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: New file.
1393 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: New file.
1394 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: New file.
1395 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
1396 * sysdeps/unix/sysv/linux/x86_64/truncate64.c: New file.
1397 * sysdeps/unix/sysv/linux/x86_64/umount.c: New file.
1398 * sysdeps/unix/sysv/linux/x86_64/vfork.S: New file.
1399 * sysdeps/unix/sysv/linux/x86_64/xstat.c: New file.
1400 * sysdeps/unix/sysv/linux/x86_64/xstat64.c: New file.
1401 * sysdeps/unix/x86_64/sysdep.S: New file.
1402 * sysdeps/unix/x86_64/sysdep.h: New file.
1403 * sysdeps/x86_64/Implies: New file.
1404 * sysdeps/x86_64/Makefile: New file.
1405 * sysdeps/x86_64/Versions: New file.
1406 * sysdeps/x86_64/__longjmp.S: New file.
1407 * sysdeps/x86_64/abort-instr.h: New file.
1408 * sysdeps/x86_64/atomicity.h: New file.
1409 * sysdeps/x86_64/bits/endian.h: New file.
1410 * sysdeps/x86_64/bits/setjmp.h: New file.
1411 * sysdeps/x86_64/bits/string.h: New file.
1412 * sysdeps/x86_64/bp-asm.h: New file.
1413 * sysdeps/x86_64/bsd-_setjmp.S: New file.
1414 * sysdeps/x86_64/bsd-setjmp.S: New file.
1415 * sysdeps/x86_64/dl-machine.h: New file.
1416 * sysdeps/x86_64/elf/initfini.c: New file.
1417 * sysdeps/x86_64/elf/start.S: New file.
1418 * sysdeps/x86_64/ffs.c: New file.
1419 * sysdeps/x86_64/ffsll.c: New file.
1420 * sysdeps/x86_64/fpu/bits/fenv.h: New file.
1421 * sysdeps/x86_64/fpu/bits/mathdef.h: New file.
1422 * sysdeps/x86_64/fpu/e_acosl.c: New file.
1423 * sysdeps/x86_64/fpu/e_atan2l.c: New file.
1424 * sysdeps/x86_64/fpu/e_exp2l.S: New file.
1425 * sysdeps/x86_64/fpu/e_expl.c: New file.
1426 * sysdeps/x86_64/fpu/e_fmodl.S: New file.
1427 * sysdeps/x86_64/fpu/e_log10l.S: New file.
1428 * sysdeps/x86_64/fpu/e_log2l.S: New file.
1429 * sysdeps/x86_64/fpu/e_logl.S: New file.
1430 * sysdeps/x86_64/fpu/e_powl.S: New file.
1431 * sysdeps/x86_64/fpu/e_rem_pio2l.c: New file.
1432 * sysdeps/x86_64/fpu/e_scalbl.S: New file.
1433 * sysdeps/x86_64/fpu/e_sqrtl.c: New file.
1434 * sysdeps/x86_64/fpu/fclrexcpt.c: New file.
1435 * sysdeps/x86_64/fpu/fedisblxcpt.c: New file.
1436 * sysdeps/x86_64/fpu/feenablxcpt.c: New file.
1437 * sysdeps/x86_64/fpu/fegetenv.c: New file.
1438 * sysdeps/x86_64/fpu/fegetexcept.c: New file.
1439 * sysdeps/x86_64/fpu/fegetround.c: New file.
1440 * sysdeps/x86_64/fpu/feholdexcpt.c: New file.
1441 * sysdeps/x86_64/fpu/fesetenv.c: New file.
1442 * sysdeps/x86_64/fpu/fesetround.c: New file.
1443 * sysdeps/x86_64/fpu/fgetexcptflg.c: New file.
1444 * sysdeps/x86_64/fpu/fraiseexcpt.c: New file.
1445 * sysdeps/x86_64/fpu/fsetexcptflg.c: New file.
1446 * sysdeps/x86_64/fpu/ftestexcept.c: New file.
1447 * sysdeps/x86_64/fpu/libm-test-ulps: New file.
1448 * sysdeps/x86_64/fpu/math_ldbl.h: New file.
1449 * sysdeps/x86_64/fpu/printf_fphex.c: New file.
1450 * sysdeps/x86_64/fpu/s_atanl.c: New file.
1451 * sysdeps/x86_64/fpu/s_cosl.S: New file.
1452 * sysdeps/x86_64/fpu/s_expm1l.S: New file.
1453 * sysdeps/x86_64/fpu/s_fpclassifyl.c: New file.
1454 * sysdeps/x86_64/fpu/s_isinfl.c: New file.
1455 * sysdeps/x86_64/fpu/s_isnanl.c: New file.
1456 * sysdeps/x86_64/fpu/s_log1pl.S: New file.
1457 * sysdeps/x86_64/fpu/s_logbl.c: New file.
1458 * sysdeps/x86_64/fpu/s_nextafterl.c: New file.
1459 * sysdeps/x86_64/fpu/s_nexttoward.c: New file.
1460 * sysdeps/x86_64/fpu/s_nexttowardf.c: New file.
1461 * sysdeps/x86_64/fpu/s_rintl.c: New file.
1462 * sysdeps/x86_64/fpu/s_significandl.c: New file.
1463 * sysdeps/x86_64/fpu/s_sincosl.S: New file.
1464 * sysdeps/x86_64/fpu/s_sinl.S: New file.
1465 * sysdeps/x86_64/fpu/s_tanl.S: New file.
1466 * sysdeps/x86_64/gmp-mparam.h: New file.
1467 * sysdeps/x86_64/hp-timing.c: New file.
1468 * sysdeps/x86_64/hp-timing.h: New file.
1469 * sysdeps/x86_64/htonl.S: New file.
1470 * sysdeps/x86_64/memusage.h: New file.
1471 * sysdeps/x86_64/setjmp.S: New file.
1472 * sysdeps/x86_64/soft-fp/sfp-machine.h: New file.
1473 * sysdeps/x86_64/stackinfo.h: New file.
1474 * sysdeps/x86_64/sysdep.h: New file.
1475 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: New file.
1477 * sysdeps/ieee754/ldbl-128/s_erfl.c: New file, contributed Stephen
1480 2001-09-18 Ulrich Drepper <drepper@redhat.com>
1482 * malloc/malloc.c (ptmalloc_init): Handle _environ==NULL.
1483 Reported by B. D. Elliott <bde@nwlink.com> [PR libc/2541].
1485 2001-09-18 Andreas Schwab <schwab@suse.de>
1487 * elf/dl-load.c (_dl_map_object_from_fd): Update handling of scope
1488 list, now that l_scope is a pointer.
1490 * elf/dl-open.c (dl_open_worker): Fix thinko when enlarging the
1493 2001-09-18 kaz Kojima <kkojima@rr.iij4u.or.jp>
1495 * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix reverse condition.
1496 (elf_machine_rela_relative): Add a missing declaration.
1498 2001-09-18 Jakub Jelinek <jakub@redhat.com>
1500 * sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: New file.
1501 * sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed: New file.
1502 * sysdeps/unix/sysv/linux/configure.in: Add ia64 and s390
1503 ldd-rewrite scripts.
1505 2001-09-18 Ulrich Drepper <drepper@redhat.com>
1507 * elf/ldd.bash.in: Update copyright message.
1509 2001-09-17 H.J. Lu <hjl@gnu.org>
1511 * hurd/hurdmalloc.c (bcopy): Removed.
1512 (realloc): Replace bcopy with memcpy.
1513 * hurd/path-lookup.c (file_name_path_scan): Likewise.
1514 * resolv/gethnamaddr.c (map_v4v6_address): Likewise.
1515 * sunrpc/rpcinfo.c (pmapdump): Likewise.
1517 * resolv/gethnamaddr.c (getanswer): Replace bcopy with memmove.
1518 (gethostbyaddr): Likewise.
1519 * sunrpc/rpcinfo.c (get_inet_address): Likewise.
1521 2001-09-18 Ulrich Drepper <drepper@redhat.com>
1523 * sysdeps/gnu/eval.c: Removed.
1525 2001-09-18 Andreas Jaeger <aj@suse.de>
1527 * sysdeps/i386/fpu/s_logbl.S: Move to ...
1528 * sysdeps/i386/fpu/s_logbl.c: ...here, use inline assembler.
1530 * sysdeps/i386/fpu/s_rintl.S: Move to ...
1531 * sysdeps/i386/fpu/s_rintl.c: ...here, use inline assembler.
1533 * sysdeps/i386/fpu/s_significandl.S: Move to ...
1534 * sysdeps/i386/fpu/s_significandl.c: ...here, use inline assembler.
1536 2001-09-16 Ulrich Drepper <drepper@redhat.com>
1538 * string/strcoll.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get
1541 2001-09-14 H.J. Lu <hjl@gnu.org>
1543 * sysdeps/mips/fpu/libm-test-ulps: Updated.
1545 2001-09-14 Ulrich Drepper <drepper@redhat.com>
1547 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix a typo.
1548 Patch by Florian La Roche <laroche@redhat.com>.
1550 * string/bits/string2.h (__strtok_r_1c): Optimize a bit.
1552 * sysdeps/unix/sysv/linux/net/ethernet.h: Correct references to
1555 2001-09-14 Andreas Schwab <schwab@suse.de>
1557 * posix/execl.c: Fix last argument of memcpy. Reported by Brian
1558 Sumner <bls@sgi.com>.
1559 * posix/execlp.c: Likewise.
1561 2001-09-13 Jakub Jelinek <jakub@redhat.com>
1563 * elf/dl-deps.c (_dl_map_object_deps): Fix filter handling if filter
1564 is already found earlier in the search scope.
1566 2001-09-12 Jakub Jelinek <jakub@redhat.com>
1568 * rt/Makefile (LDFLAGS-rt.so): Use shared thread library as librt's
1571 2001-09-13 Ulrich Drepper <drepper@redhat.com>
1573 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust expected errors for j0.
1575 2001-09-12 Ulrich Drepper <drepper@redhat.com>
1577 * config.h.in: Enforce optimization to be used.
1578 * Makeconfig (preprocess-versions): Define ASSEMBLER.
1579 * stdlib/Makefile (isomac-CFLAGS): Define to -O.
1580 * posix/Makefile (annexc-CFLAGS): Define to -O.
1581 * sysdeps/unix/make-syscalls.sh: Define __OPTIMIZE__ in use of asm_CPP.
1583 2001-09-11 Ulrich Drepper <drepper@redhat.com>
1585 * nscd/nscd_gethst_r.c: Don't expect IPv6 addresses for IPv4 lookup.
1586 Patch by Stephan Kulow.
1588 2001-09-08 Ben Collins <bcollins@debian.org>
1590 * sysdeps/arm/dl-machine.h (elf_machine_rel): Fix thinko in
1591 usage of RESOLVE() (r_type, not reloc->r_type).
1593 2001-09-08 Ulrich Drepper <drepper@redhat.com>
1595 * elf/dl-object.c: Avoid allocating extra memory block for name.
1596 * elf/dl-close.c (_dl_close): Don't free l_libname if it is not
1597 allocated separately.
1598 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1600 2001-09-08 H.J. Lu <hjl@gnu.org>
1602 * po/zh_TW.po: Fix a typo.
1604 2001-09-07 Tom Rix <trix@redhat.com>
1606 * sysdeps/unix/sysv/aix/sysv_termio.h: New file.
1608 2001-08-26 Tom Rix <trix@redhat.com>
1610 * sysdeps/unix/sysv/aix/Makefile (aix-syscalls.o): More linker
1611 command line options.
1612 * sysdeps/unix/sysv/aix/start.s: New file, rework of start.c
1613 * sysdeps/unix/sysv/aix/start.c: Removed.
1614 * sysdeps/unix/sysv/aix/start-libc.c: New file.
1615 * sysdeps/unix/sysv/aix/init-first.c: New file.
1616 * sysdeps/unix/sysv/aix/fcntl.c: Alias __libc_fcntl to __fcntl.
1618 2001-09-08 Ben Collins <bcollins@debian.org>
1620 * sysdeps/arm/dl-machine.h: Fix usage of new _dl_signal_error() format.
1621 * sysdeps/generic/dl-machine.h: Likewise.
1622 * sysdeps/hppa/dl-fptr.c: Likewise.
1623 * sysdeps/ia64/dl-fptr.c: Likewise.
1624 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1625 * sysdeps/mips/dl-machine.h: Likewise.
1626 * sysdeps/mips/mips64/dl-machine.h: Likewise.
1627 * sysdeps/powerpc/dl-machine.c: Likewise.
1629 2001-09-07 Ben Collins <bcollins@debian.org>
1631 * sysdeps/sparc/sparc32/dl-machine.h: Fix typo.
1633 * sysdeps/hppa/dl-lookupcfg.h: Forward declare struct link_map.
1635 2001-09-08 Ulrich Drepper <drepper@redhat.com>
1637 * elf/dl-lookup.c (add_dependency): Bump l_opencount of all
1638 dependencies if necessary.
1640 * elf/dl-close.c (_dl_close): If object has no r_list (i.e., wasn't
1641 loaded directly) determine length if l_initfini list by iterating
1642 over its elements. Minor optimizations.
1643 * elf/dl-deps.c (_dl_map_object_deps): Always add own map to l_initfini
1644 for dependency objects.
1645 If object was already loaded check whether any of the dependencies
1646 is already on the relocation dependency list. If yes, remove the
1647 latter. Minor optimizations.
1648 * elf/dl-lookup.c (add_dependency): Add check for self reference of
1649 maps here. Search l_initfini list only if the object was loaded
1650 directly and not only as a dependency.
1651 (_dl_lookup_symbol): Add relocation dependency also if object
1652 is not in global scope. Remove test for self-reference here.
1653 (_dl_lookup_versioned_symbol): Likewise.
1654 * elf/dl-object (_dl_new_object): Cleanup. Initialize dont_free
1655 element of first name record.
1656 * elf/loadtest.c: Add some more test to recognize early if an object
1658 * elf/Makefile: Add rules to build and run reldep5.
1659 * elf/reldep5.c: New file.
1660 * elf/reldepmod5.c: New file.
1661 * elf/reldepmod6.c: New file.
1663 * elf/reldep2.c: Fix typo.
1665 2001-09-07 Ulrich Drepper <drepper@redhat.com>
1667 * include/link.h (struct link_map): Add l_scope_mem and l_scope_max
1668 elements. Change l_scope to be a pointer only.
1669 * elf/dl-object.c (_dl_new_object): Initialize l_scope and l_scope_max.
1670 * elf/dl-open.c (dl_open_worker): If dependency wasn't just opened
1671 here add searchlist of newly open file to the dependency's scope.
1672 * elf/dl-close.c (_dl_close): If dependency is used otherwise remove
1673 only searchlist from its scope. Free own scope array if necessary.
1674 * elf/Makefile (tests): Add dblload and dblunload now.
1676 2001-09-06 Andreas Jaeger <aj@suse.de>
1678 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: New file, contributed
1681 2001-09-05 Ulrich Drepper <drepper@redhat.com>
1683 * elf/Makefile: Add rules to build new tests. Don't run them yet since
1685 * elf/dblload.c: New file.
1686 * elf/dblloadmod1.c: New file.
1687 * elf/dblloadmod2.c: New file.
1688 * elf/dblloadmod3.c: New file.
1689 * elf/dblunload.c: New file.
1691 2001-09-04 Richard Henderson <rth@redhat.com>
1693 * elf/elf.h (R_ALPHA_OP_*, R_ALPHA_IMMED_*): Remove.
1694 (R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16.
1696 2001-09-04 Ulrich Drepper <drepper@redhat.com>
1698 Correct very misleading message for error in failed runtime relocation.
1699 * elf/dl-error.c (_dl_signal_error): Take extra parameter to describe
1701 (_dl_signal_cerror): Likewise.
1702 * sysdeps/generic/ldsodefs.h: Adjust prototypes.
1703 * elf/dl-close.c: Likewise.
1704 * elf/dl-deps.c: Likewise.
1705 * elf/dl-load.c: Likewise.
1706 * elf/dl-lookup.c: Likewise.
1707 * elf/dl-open.c: Likewise.
1708 * elf/dl-reloc.c: Likewise.
1709 * elf/dl-sym.c: Likewise.
1710 * elf/dl-version.c: Likewise.
1711 * sysdeps/generic/dl-sysdep.c: Likewise.
1713 2001-09-04 Jakub Jelinek <jakub@redhat.com>
1715 * iconv/strtab.c (strtabinit): Initialize null Strent.
1716 (newstring): Move len == 0 handling...
1717 (strtabadd): ...here.
1718 If len == 1, return null Strent.
1719 When inserting a suffix of an existing string, check if
1720 it is not equal to some suffix already recorded.
1721 Copy left and right members over if adding longer string.
1723 2001-09-04 Jakub Jelinek <jakub@redhat.com>
1725 * sunrpc/rpc_cout.c (upcase): Account for trailing '\0'.
1727 * sysdeps/unix/sysv/linux/alpha/gethostname.c: Include <errno.h>.
1728 (__syscall_gethostname): Add prototype.
1730 2001-09-04 Ulrich Drepper <drepper@redhat.com>
1732 * elf/dl-object.c (_dl_new_object): Remove unnecessary if.
1734 2001-09-02 Ulrich Drepper <drepper@redhat.com>
1736 * elf/rtld.c (dl_main): Increment l_opencount for main binary.
1738 2001-08-27 Roland McGrath <roland@frob.com>
1740 * sysdeps/unix/sysv/gethostname.c (__gethostname): When LEN is too
1741 short, copy that much into NAME anyway before returning error.
1743 2001-09-01 Richard Henderson <rth@redhat.com>
1745 * sysdeps/alpha/elf/Dist: Remove file.
1746 * sysdeps/alpha/elf/Makefile: Remove file.
1747 * sysdeps/alpha/elf/crtbegin.S: Remove file.
1748 * sysdeps/alpha/elf/crtend.S: Remove file.
1749 * sysdeps/alpha/elf/initfini.c: New file.
1751 2001-09-01 Mark Kettenis <kettenis@gnu.org>
1753 * iconv/tst-iconv1.c: Include <stddef.h> for wchar_t.
1754 * iconv/tst-iconv3.c: Likewise.
1756 2001-09-01 Jakub Jelinek <jakub@redhat.com>
1758 * sysdeps/generic/inttypes.h (__gwchar_t): Define to wchar_t for C++.
1760 2001-09-01 Ulrich Drepper <drepper@redhat.com>
1762 * iconv/gconv_cache.c: Rename variable cache to __gconv_cache and
1764 * iconv/Versions (libc) [GLIBC_2.2.5]: Export __gconv_cache.
1765 * iconv/iconv_prog.c (insert_cache): New function.
1766 (print_known_names): If cache is used call insert_cache to use the
1767 information from the cache [PR libc/2509].
1769 2001-08-31 Ulrich Drepper <drepper@redhat.com>
1771 * time/strptime.c (strptime_internal): Recognize 'l' format and
1772 handle it like 'I' for symmetry with strftime.
1774 2001-08-31 Richard Henderson <rth@redhat.com>
1776 * elf/dl-support.c (_dl_cpuclock_offset): Protect with NONAVAIL.
1777 (HP_TIMING_AVAIL): Set to HP_SMALL_TIMING_AVAIL if present.
1778 * elf/rtld.c (HP_TIMING_AVAIL): Likewise.
1779 (print_statistics): Make scalar unsigned long long.
1780 * sysdeps/alpha/hp-timing.h: New file.
1782 2001-08-31 Jakub Jelinek <jakub@redhat.com>
1784 * stdio-common/perror.c (perror): Save errno early, pass it
1785 down to perror_internal.
1786 (perror_internal): Add errnum argument.
1788 2001-08-31 Jakub Jelinek <jakub@redhat.com>
1790 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Remove unused code.
1791 Don't add old memory content for R_ALPHA_REFQUAD.
1793 2001-08-30 Ulrich Drepper <drepper@redhat.com>
1795 * crypt/md5-crypt.c (__md5_crypt_r): Compute used and required
1798 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Use __open
1799 instead of open, __close instead of close, __getpagesize instead
1802 * string/argz-stringify.c (__argz_stringify): Use __strnlen
1804 * include/string.h (strndupa): Redefine here to use __strnlen
1806 * string/strndup.c (__strndup): Use __strnlen not strnlen.
1808 * misc/syslog.c (vsyslog): Fix typo in last change (connect ->
1811 2001-08-30 Jakub Jelinek <jakub@redhat.com>
1813 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
1814 R_ALPHA_RELATIVE if RTLD_BOOTSTRAP and HAVE_Z_COMBRELOC. Only check
1815 for rtld map if neither RTLD_BOOTSTRAP nor HAVE_Z_COMBRELOC is defined.
1816 * sysdeps/i386/dl-machine.h (elf_machine_rel): Similarly.
1817 * sysdeps/ia64/dl-machine.h (elf_machine_rel): Similarly.
1818 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rel): Similarly.
1819 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rel): Similarly.
1821 2001-08-30 Ulrich Drepper <drepper@redhat.com>
1823 * sysdeps/alpha/fpu/libm-test-ulps: Adjust j0 ULPs.
1825 2001-08-30 Andreas Jaeger <aj@suse.de>
1827 * sysdeps/ieee754/ldbl-128/e_jnl.c: New file,
1828 contributed Stephen L Moshier.
1830 2001-08-30 Jakub Jelinek <jakub@redhat.com>
1832 * sunrpc/etc.rpc (sgi_fam): Add.
1834 2001-08-30 Ulrich Drepper <drepper@redhat.com>
1836 * sysdeps/unix/sysv/linux/alpha/gethostname.c: New file.
1838 2001-08-29 Ulrich Drepper <drepper@redhat.com>
1840 * nis/nis_findserv.c (__nis_findfastest): Don't fail if reply received
1841 first is from a previous call.
1842 Patch by Alexander Belopolsky <alexb@rentec.com> for [PR libc/3670].
1844 2001-08-29 Andreas Schwab <schwab@suse.de>
1846 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
1848 2001-08-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1850 * config.make.in (INSTALL_SCRIPT): Define.
1851 * Makeconfig (INSTALL_SCRIPT): Define.
1852 * Makerules (do-install-script): New macro to install scripts using
1854 (install-bin-script): New rule to install scripts with
1856 (install-bin-script-nosubdir): New rule.
1857 (install-no-libc.a-nosubdir): Add install-bin-script-nosubdir.
1858 (distinfo-vars): Add $(install-bin-script).
1859 * Rules (others): Likewise.
1860 * Makefile (glibcbug): Install with install-bin-script.
1861 * debug/Makefile (xtrace): Likewise.
1862 (catchsegv): Likewise.
1863 * elf/Makefile (ldd): Likewise.
1864 * malloc/Makefile (mtrace): Likewise.
1865 * timezone/Makefile (tzselect): Likewise.
1867 2001-08-29 H.J. Lu <hjl@gnu.org>
1869 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Pass
1870 ELF_RTYPE_CLASS_PLT, instead of R_MIPS_REL32, to
1871 _dl_lookup_versioned_symbol () and _dl_lookup_symbol ().
1873 2001-08-29 Andreas Schwab <schwab@suse.de>
1875 * sysdeps/m68k/fpu/libm-test-ulps: Updated.
1877 2001-08-28 H.J. Lu <hjl@gnu.org>
1879 * Makeconfig (combreloc-LDFLAGS): New variable.
1880 Add it to LDFLAGS.so, LDFLAGS-rtld, and +link.
1881 * config.make.in (have-z-combreloc): New variable.
1882 * configure.in: Substitute libc_cv_z_combreloc.
1884 2001-08-29 Ulrich Drepper <drepper@redhat.com>
1886 * po/sv.po: Update from translation team.
1887 * po/fr.po: Likewise.
1888 * po/da.po: Likewise.
1890 2001-08-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1892 * Makerules: Fix a typo: MD% -> MD5.
1894 2001-08-28 Ulrich Drepper <drepper@redhat.com>
1896 * sunrpc/rpc_hout.c (pargdef): Function must take pointer to object.
1897 Patch by Patrick Duval <Patrick.Duval@devinci.fr>.
1899 2001-08-28 Andreas Jaeger <aj@suse.de>
1901 * manual/libc-texinfo.sh: Add entry about free manuals.
1903 * manual/contrib.texi (Contributors): Fix cross reference.
1905 * manual/libc.texinfo (Copying): Include freemanuals.
1907 * manual/Makefile (appendices): Add freemanuals.
1909 * manual/freemanuals.texi: New file.
1910 Patch by Brian Youmans <3diff@gnu.org>.
1912 * manual/libm-err-tab.pl: Pretty print more platforms, print a
1915 * manual/math.texi (Errors in Math Functions): Fix grammar, start
1916 table on separate page.
1917 Patch by Brian Youmans <3diff@gnu.org>.
1919 2001-08-27 Ulrich Drepper <drepper@redhat.com>
1921 * misc/syslog.c (vsyslog): Try a bit harder to use syslogd. If
1922 the connection went down after we first used it try to connect
1923 again and resend the message before printing to the console.
1924 Reported by Coserea Gh. Tudor <tudore@tudore.gecadsoftware.com>.
1926 2001-08-27 Jakub Jelinek <jakub@redhat.com>
1928 * string/tst-strlen.c (main): Test strnlen (, -1) too.
1929 * sysdeps/generic/strnlen.c (__strnlen): Fix for maxlens with top
1932 2001-08-27 Ulrich Drepper <drepper@redhat.com>
1934 * iconv/strtab.c (searchstring): Use correct length for comparison.
1935 (strtabadd): Account total size correct if new string has old string as
1938 2001-08-27 Jakub Jelinek <jakub@redhat.com>
1940 * elf/rtld.c (dl_main): Update call to _dl_lookup_symbol.
1942 2001-08-27 Andreas Jaeger <aj@suse.de>
1944 * sysdeps/i386/fpu/libm-test-ulps (float): Add ulps for new tests.
1946 * math/libm-test.inc (j0_test): Add extra tests.
1947 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Use |x|,
1948 not x, in Hankel approximation.
1949 Patches by Stephen L Moshier.
1951 2001-08-26 Ulrich Drepper <drepper@redhat.com>
1953 * sysdeps/ia64/dl-lookupcfg.h: Add forward declaration for struct
1956 * configure.in: Fix test for .rela.dyn section.
1958 * elf/dl-runtime.c: Update calls to _dl_lookup_*.
1960 2001-08-26 Jakub Jelinek <jakub@redhat.com>
1962 * elf/dl-reloc.c (RESOLVE_MAP, RESOLVE): Use elf_machine_type_class
1963 instead of elf_machine_lookup_noexec_p and elf_machine_lookup_noplt_p.
1964 Pass type_class to _dl_lookup_*.
1965 * elf/dl-lookup.c (_dl_lookup_symbol): Take type_class parameter now.
1966 Pass around just type_class instead of noexec, noplt pair.
1967 (_dl_lookup_versioned_symbol): Likewise.
1968 (_dl_lookup_symbol_skip): Pass around just type_class instead of
1970 (_dl_lookup_versioned_symbol_skip): Likewise.
1971 (_dl_do_lookup, _dl_do_lookup_versioned): Likewise.
1972 * elf/do-lookup.h (do_lookup): Likewise.
1973 * include/link.h (struct link_map): Replace noexec and noplt fields
1974 in l_lookup_cache with type_class field.
1975 * sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_PLT,
1976 ELF_RTYPE_CLASS_COPY): Define.
1977 Adjust prototypes for _dl_lookup_symbol and
1978 _dl_lookup_versioned_symbol.
1979 * sysdeps/alpha/dl-machine.h (elf_machine_lookup_noplt_p,
1980 elf_machine_lookup_noexec_p): Remove.
1981 (elf_machine_type_class): Define.
1982 * sysdeps/arm/dl-machine.h: Likewise.
1983 * sysdeps/hppa/dl-machine.h: Likewise.
1984 * sysdeps/cris/dl-machine.h: Likewise.
1985 * sysdeps/i386/dl-machine.h: Likewise.
1986 * sysdeps/ia64/dl-machine.h: Likewise.
1987 * sysdeps/m68k/dl-machine.h: Likewise.
1988 * sysdeps/mips/mips64/dl-machine.h: Likewise.
1989 * sysdeps/mips/dl-machine.h: Likewise.
1990 * sysdeps/powerpc/dl-machine.h: Likewise.
1991 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1992 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1993 * sysdeps/sh/dl-machine.h: Likewise.
1994 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1995 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1997 2001-08-26 Ulrich Drepper <drepper@redhat.com>
1999 * manual/message.texi (Advanced gettext functions): Change
2000 description of plural forms for Slovak.
2001 Reported by Marcel Telka <marcel@telka.sk>.
2003 * manuaL/time.texi (Low-Level Time String Parsing): Fix description of
2004 %z. Reported by C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>.
2006 2001-08-26 Jakub Jelinek <jakub@redhat.com>
2008 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_lazy_rel): Fix a
2009 typo. Patch by Florian La Roche <laroche@redhat.com>.
2011 2001-08-26 Ulrich Drepper <drepper@redhat.com>
2013 * include/link.h (struct link_map): Add l_lookup_cache element.
2014 * elf/dl-reloc.c (RESOLVE): Add symbol caching here.
2015 (RESOLVE_MAP): Likewise.
2016 (_dl_relocate_object): Remove cache initialization.
2017 * elf/dl-lookup.c: Rip out cache handling code.
2018 * sysdeps/generic/ldsodefs.h: Remove lookup_cache struct and variable
2021 * elf/dl-lookup.c (_dl_lookup_symbol): Reorder some conditions and
2022 remove some __builtin_expect.
2023 (_dl_lookup_versioned_symbol): Likewise.
2025 * config.h.in: Add HAVE_Z_COMBRELOC.
2026 * configure.in: Add test for -z combreloc.
2028 * sysdeps/i386/dl-machine.h (elf_machine_rel): Minor cleanups and
2029 optimizations. Use HAVE_Z_COMBRELOC to avoid generaton of
2030 R_386_RELATIVE handling for ld.so startup. Reduce RTLD_BOOTSTRAP
2031 case to almost no code.
2033 2001-08-25 Ulrich Drepper <drepper@redhat.com>
2035 * po/tr.po: Update from translation team.
2037 2001-08-24 Andreas Jaeger <aj@suse.de>
2039 * iconv/Makefile (extra-objs): Add iconvconfig-modules so that
2042 2001-08-24 Ulrich Drepper <drepper@redhat.com>
2044 * elf/rtld.c (print_statistics): Printf % after percent values.
2045 * elf/dl-misc.c (_dl_debug_vdprintf): Implement %%.
2047 * elf/dl-lookup.c (_dl_lookup_symbol): If we use the cache we
2048 don't have to compute the hash value and initialize current_value.
2049 Move reference_name variable to where it is needed.
2050 (_dl_lookup_versioned_symbol): Likewise.
2052 2001-08-24 Roland McGrath <roland@frob.com>
2054 * string/tester.c (test_strerror): Don't use _sys_errlist/_sys_nerr.
2055 Just test that strerror returns non-null for a few errno codes.
2057 2001-08-23 Roland McGrath <roland@frob.com>
2059 * hurd/Versions (libc: GLIBC_2.2.5): New set; add _hurd_raise_signal,
2060 _hurdsig_interrupt_timeout, _hurdsig_fault_preemptor.
2062 * sysdeps/posix/shm_unlink.c (shm_unlink): __unlink -> unlink.
2064 * mach/Versions (libc: GLIBC_2.2.5): New set; add __mach_msg_destroy,
2067 2001-08-24 Ulrich Drepper <drepper@redhat.com>
2069 * nss/test-netdb.c (test_hosts): Don't segfault if gethostname
2072 * elf/do-rel.h (elf_dynamic_do_rel): Fix problem with ld.so
2073 startup. Explicitly remove lazy part for RTLD_BOOTSTRAP since gcc
2075 * elf/rtld.c: Include <sys/param.h>.
2076 * elf/dl-reloc.c: Likewise.
2078 2001-08-24 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2080 * sysdeps/unix/sysv/linux/mips/configure.in: Define AC_SUBST to
2081 empty to prevent junk from being generated.
2082 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2084 2001-08-24 Jakub Jelinek <jakub@redhat.com>
2086 * elf/do-rel.h (elf_dynamic_do_rel): If l_addr is 0, skip relative
2087 records. Rename endrel to relative, initialize it to r, and use it
2088 in elf_machine_rel_relative calls. Point r after relative relocs.
2090 2001-08-24 Ulrich Drepper <drepper@redhat.com>
2092 * sysdeps/i386/dl-machine.h (elf_machine_rel): Correct prediction
2095 2001-08-24 Jakub Jelinek <jakub@redhat.com>
2097 * elf/do-rel.h (elf_machine_rel_relative): Define for rela if
2098 necessary. Undefine newly defined macros at the end.
2099 * sysdeps/hppa/dl-machine.h (elf_machine_rela_relative):
2100 Rename from elf_machine_rel_relative.
2101 * sysdeps/cris/dl-machine.h (elf_machine_rela_relative): Likewise.
2102 * sysdeps/m68k/dl-machine.h (elf_machine_rela_relative): Likewise.
2103 * sysdeps/powerpc/dl-machine.h (elf_machine_rela_relative): Likewise.
2104 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela_relative):
2106 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela_relative):
2108 * sysdeps/ia64/dl-machine.h (elf_machine_rela_relative): Likewise.
2110 * sysdeps/alpha/dl-machine.h (elf_machine_rela_relative): Likewise.
2112 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela_relative):
2113 Likewise. Fix argument types.
2114 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela_relative):
2115 Likewise. Fix argument types.
2116 * sysdeps/sh/dl-machine.h (elf_machine_rela_relative): Likewise.
2118 * sysdeps/mips/dl-machine.h (elf_machine_rel_relative): Use
2119 ElfW(Rel) in argument.
2120 * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel_relative): New
2123 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
2125 * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix typo.
2127 2001-08-24 Andreas Jaeger <aj@suse.de>
2129 * sysdeps/ieee754/ldbl-128/e_j1l.c: New file, contributed by
2130 Stephen L Moshier <moshier@mediaone.net>.
2132 2001-08-24 Ulrich Drepper <drepper@redhat.com>
2134 * elf/do-rel.h (elf_dynamic_do_rel): RELATIVE relocations comes
2135 first if RELCOUNT is set.
2137 * elf/do-rel.h (elf_dynamic_do_rel): If not relocating lazily, don't
2138 call elf_machine_rel for the last DT_RELCOUNT relocations but instead
2139 elf_machine_rel_relative.
2140 * sysdeps/alpha/dl-machine.h: Define elf_machine_rel_relative.
2141 Minor optimizations.
2142 * sysdeps/arm/dl-machine.h: Likewise.
2143 * sysdeps/cris/dl-machine.h: Likewise.
2144 * sysdeps/hppa/dl-machine.h: Likewise.
2145 * sysdeps/i386/dl-machine.h: Likewise.
2146 * sysdeps/ia64/dl-machine.h: Likewise.
2147 * sysdeps/m68k/dl-machine.h: Likewise.
2148 * sysdeps/mips/dl-machine.h: Likewise.
2149 * sysdeps/powerpc/dl-machine.h: Likewise.
2150 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2151 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2152 * sysdeps/sh/dl-machine.h: Likewise.
2153 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2154 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2156 2001-08-23 Roland McGrath <roland@frob.com>
2158 * rt/tst-aio4.c [! SIGRTMIN] (SIGRTMIN, SIGRTMAX): Define as -1.
2160 * sysdeps/mach/hurd/bits/libc-lock.h: New file, initially copied from
2161 sysdeps/mach version. Implement counting ("recursive") mutexes
2162 on top of cthreads mutexes.
2163 * sysdeps/mach/hurd/bits/stdio-lock.h: File removed; generic now works.
2165 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Define to
2166 _LIBC_LOCK_RECURSIVE_INITIALIZER if defined, else do an #error.
2167 (__libc_cleanup_region_start, __libc_cleanup_region_end,
2168 __libc_clean_end): Define these to call the cleanup function after
2169 normal exit when they're supposed to.
2171 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start):
2172 Take new first arg DOIT, a boolean saying whether to really install
2173 any cleanup handler.
2174 (__libc_cleanup_region_end): Do nothing if start's DOIT arg was zero.
2175 (__libc_cleanup_end): Likewise.
2176 * sysdeps/generic/bits/libc-lock.h: Same changes.
2177 * stdio-common/vfscanf.c (LOCK_STREAM): Pass new arg.
2178 * stdio-common/vfprintf.c (buffered_vfprintf, vfprintf): Likewise.
2179 * sysdeps/mach/hurd/bits/stdio-lock.h (_IO_cleanup_region_start):
2181 * misc/syslog.c (vsyslog, openlog, closelog): Likewise.
2182 * sysdeps/generic/bits/stdio-lock.h
2183 (_IO_cleanup_region_start, _IO_cleanup_region_start_noarg): Likewise.
2185 2001-08-23 Jakub Jelinek <jakub@redhat.com>
2187 * elf/ldconfig.c (search_dir): Remove stale symlinks.
2189 2001-08-23 Jakub Jelinek <jakub@redhat.com>
2191 * elf/dl-lookup.c (lookup_cache, lookup_cache_versioned): New.
2192 (_dl_lookup_symbol): Lookup relocations in cache and store successfull
2194 (_dl_lookup_versioned_symbol): Likewise.
2195 * elf/dl-reloc.c (_dl_relocate_object): Initialize cache for
2197 * elf/rtld.c (print_statistics): Output _dl_num_cache_relocations.
2198 * sysdeps/generic/ldsodefs.h (struct lookup_cache): New definition.
2199 (lookup_cache, lookup_cache_versioned): Add declarations.
2201 2001-08-23 Ulrich Drepper <drepper@redhat.com>
2203 * stdlib/tst-random.c (main): Swap parameters in fail call.
2204 Patch by Pete Bevin <pete@petebevin.com>.
2206 2001-08-23 Jakub Jelinek <jakub@redhat.com>
2208 * sysdeps/generic/inttypes.h: Use __gwchar_t instead of __wchar_t.
2210 2001-08-23 Ulrich Drepper <drepper@redhat.com>
2212 * malloc/obstack.c: Indent preprocessor directives.
2213 Patch by Jim Meyering <meyering@ascend.com>.
2215 * po/ja.po: Update from translation team.
2217 2001-08-23 Roland McGrath <roland@frob.com>
2219 * libio/tst-ungetwc1.c (main): Add a const to quiet a warning.
2221 * nss/test-netdb.c (test_hosts): Don't use MAXHOSTNAMELEN.
2222 Instead, use dynamic buffer to test gethostname's ENAMETOOLONG error.
2224 2001-08-22 Roland McGrath <roland@frob.com>
2226 * sysdeps/generic/ldsodefs.h (_dl_load_lock): Declare it here with
2227 __libc_lock_define_recursive.
2228 * elf/dl-open.c: Don't declare it here any more.
2229 * elf/dl-close.c: Likewise.
2230 * elf/dl-lookup.c: Likewise.
2231 * elf/dl-iteratephdr.c: Likewise.
2232 * elf/dl-lookup.c (add_dependency): Use __libc_lock_lock_recursive and
2233 __libc_lock_unlock_recursive.
2234 * elf/dl-close.c (_dl_close): Likewise
2235 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise
2236 * elf/dl-open.c (_dl_open): Likewise
2238 * sysdeps/generic/bits/libc-lock.h
2239 (__libc_lock_define_recursive): New macro.
2240 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_t): Use it.
2241 (_IO_lock_lock): Use __libc_lock_lock_recursive.
2242 (_IO_lock_unlock): Use __libc_lock_unlock_recursive.
2244 * conform/conformtest.pl (checknamespace): Sort the output list.
2246 * sysdeps/generic/bits/poll.h (POLLWRBAND): New alias for POLLOUT.
2247 (POLLRDNORM, POLLRDBAND, POLLWRNORM, POLLWRBAND): Make these
2248 definitions conditional on [__USE_XOPEN].
2250 * sysdeps/mach/hurd/bits/fcntl.h (O_ASYNC, O_FSYNC, O_SYNC): Define
2251 these unconditionally, not only use [__USE_BSD], so as to match
2252 the sysdeps/unix/sysv/linux files.
2254 2001-08-22 Ulrich Drepper <drepper@redhat.com>
2256 * test-skeleton.c (add_temp_file): Add __attribute__ ((unused)) to
2259 * dlfcn/tst-dladdr.c (do_test): Get address of ref1 using
2262 2001-08-22 Roland McGrath <roland@frob.com>
2264 * sysdeps/generic/bits/sigaction.h (struct sigaction): Fix up
2265 conditionalization of sa_handler/sa_sigaction member types to
2266 match the sysdeps/unix/sysv/linux file.
2268 2001-08-22 Ulrich Drepper <drepper@redhat.com>
2270 * elf/dl-addr.c (_dl_addr): Handle broken binaries with zero
2271 symbol sizes a bit better.
2273 * sysdeps/ia64/strncpy.S: Complete rewrite.
2274 Contributed by Jakub Jelinek <jakub@redhat.com>.
2276 * string/stratcliff.c (main): Add strncpy test.
2278 2001-08-22 Roland McGrath <roland@frob.com>
2280 * sysdeps/generic/dl-environ.c: Include <stdlib.h> and <unistd.h>,
2281 and don't declare unsetenv or _environ directly.
2282 (unsetenv): Return int, not void. Use __environ instead of _environ.
2284 2001-08-01 Mark Kettenis <kettenis@gnu.org>
2286 * sysdeps/unix/bsd/bsd4.4/Makefile: New file.
2287 * sysdeps/unix/bsd/bsd4.4/Versions: New file.
2288 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: New file.
2289 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Correct
2290 test for cmsg struct size.
2292 2001-04-23 Paul Eggert <eggert@twinsun.com>
2294 * posix/getopt.h (getopt_long, getopt_long_only, _getopt_internal):
2295 Rename __argc to ___argc in prototypes to avoid compatibility
2296 problems with systems that reserve the identifier "__argc".
2297 Similarly for __argv.
2299 2001-08-21 Roland McGrath <roland@frob.com>
2301 * stdio-common/tst-fseek.c: Include <time.h> for `time' declaration.
2303 * mach/Makefile (tests): Removed.
2304 * mach/hello.c: File removed.
2306 2001-08-22 Ulrich Drepper <drepper@redhat.com>
2308 * po/sv.po: Update from translation team.
2310 * stdio-common/vfscanf.c: Fix handling of %l[].
2311 Reported by Mitsuru Chinen <mchinen@yamato.ibm.com>.
2313 * libio/Makefile (tests): Add tst-sscanf.
2314 * libio/tst-sscanf.c: New file.
2316 * elf/dl-addr.c (_dl_addr): Fix tests to determine dli_sname.
2317 * malloc/mtrace.c (tr_where): dli_sname always points to a
2318 non-empty string if != NULL.
2319 Reported by Tim Janik <timj@gtk.org>.
2321 2001-08-22 Jakub Jelinek <jakub@redhat.com>
2323 * sunrpc/xdr_rec.c (xdrrec_create): Fix buf sizes before allocating
2324 buf. Free resources on failure.
2325 * sunrpc/svc_unix.c (svcunix_create): Free resources on failure.
2326 (makefd_xprt): Likewise.
2327 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
2328 * sunrpc/svc_tcp.c (svctcp_create, makefd_xprt): Likewise.
2329 * sunrpc/auth_unix.c (authunix_create): Likewise.
2331 2001-08-21 Jakub Jelinek <jakub@redhat.com>
2333 * string/strnlen.c: Remove.
2334 * sysdeps/generic/strnlen.c: New file.
2335 * sysdeps/i386/i486/bits/string.h (strnlen): Remove.
2337 2001-08-21 Roland McGrath <roland@frob.com>
2339 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Define this
2340 as a macro, not an extern inline function.
2342 * hurd/Versions (GLIBC_2.2.5): New set, define __hurd_fail here.
2343 * Versions.def (libc): Add GLIBC_2.2.5 set.
2344 * hurd/hurd.h (_HURD_H_EXTERN_INLINE): New macro.
2345 (__hurd_fail): Use that instead of _EXTERN_INLINE in decl.
2347 2001-08-20 Roland McGrath <roland@frob.com>
2349 * hurd/hurdlookup.c (__hurd_file_name_lookup): Fail with ENOENT for "".
2350 (__hurd_file_name_split, __hurd_directory_name_split): Likewise.
2352 2001-08-21 Ulrich Drepper <drepper@redhat.com>
2354 * string/bits/string2.h: Remove strnlen optimization here.
2355 * sysdeps/i386/i486/bits/string.h: Add it here.
2357 2001-08-21 Wolfram Gloger <wg@malloc.de>
2359 * malloc/malloc.c: Make access to ..._hook pointers thread-safe.
2361 2001-08-21 Ulrich Drepper <drepper@redhat.com>
2363 * po/gl.po: Update from translation team.
2365 2001-08-20 Ulrich Drepper <drepper@redhat.com>
2367 * misc/error.c (error_tail): Use fputws_unlocked instead of fputws.
2368 * misc/err.c (convert_and_print): Likewise.
2370 * malloc/obstack.c (print_and_abort): Use fprintf instead of two
2373 2001-08-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
2375 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Revert the
2376 change of the gregset_t type.
2377 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2379 2001-08-20 kaz Kojima <kkojima@rr.iij4u.or.jp>
2381 * sysdeps/unix/sysv/linux/sh/sysdep.S: Align errno.
2383 2001-08-20 Ulrich Drepper <drepper@redhat.com>
2385 * posix/regex.c (truncate_wchar): Use wcrtomb not wctomb.
2387 * string/strnlen.c: Fix the implementation. We cannot use memchr.
2389 2001-08-18 Mark Kettenis <kettenis@gnu.org>
2391 * sysdeps/mach/hurd/i386/init-first.c (init): Initialize __environ
2392 before calling the cthreads initialization code.
2394 2001-08-20 Ulrich Drepper <drepper@redhat.com>
2396 * argp/argp-help.c: Fix two problems introduced in last change.
2398 * include/dirent.h: Include <dirstream.h> first.
2400 2001-08-19 Ulrich Drepper <drepper@redhat.com>
2402 * io/fts.c (fts_safe_changedir): Use __fxstat64 instead of __fstat.
2404 * sunrpc/svcauth_des.c (_svcauth_des): Avoid using bcopy.
2405 * sunrpc/xdr_rec.c: Likewise.
2406 * sunrpc/xdr_mem.c: Likewise.
2407 * sunrpc/svc_authux.c (_svcauth_unix): Likewise.
2408 * sunrpc/rpc_cmsg.c: Likewise.
2409 * sunrpc/getrpcport.c (getrpcport): Likewise.
2410 * sunrpc/clnt_simp.c (callrpc): Likewise.
2411 * sunrpc/clnt_gen.c (clnt_create): Likewise.
2412 * string/envz.c: Likewise.
2414 * po/ko.po: Update from translation team.
2416 * argp/argp-help.c: Handle wide oriented stderr stream.
2418 2001-08-18 Ulrich Drepper <drepper@redhat.com>
2420 * sysdeps/generic/strtol.c: Little optimizations. Add some
2423 * conform/conformtest.pl: <inttypes.h> test requires <stddef.h>.
2425 * wcsmbs/wchar.h (wcwdith): Change parameter type to wchar_t.
2426 * wcsmbs/wcwidth.c (wcwdith): Likewise.
2427 * wcsmbs/wcwidth.h (internal_wcwdith): Likewise.
2429 * conform/data/unistd.h-data: Remove _SC_MULTIPLE_PROCESS.
2431 * conform/data/ucontext.h-data: Fix typos in ucontext_t element tests.
2433 * time/time.h (struct timespec): Use __time_t for tv_sec element.
2435 * sysdeps/generic/inttypes.h: Define __wchar_t. Use it instead of
2436 wchar_t for function declarations and defintions.
2438 * misc/sys/select.h: Define __need_time_t before including <time.h>.
2439 Define suseconds_t if it hasn't happened yet.
2441 * iconv/gconv.h: Define __need_wchar_t before including <stddef.h>.
2443 * conform/data/sys/uio.h-data: Allow UIO_MAXIOV to be defined.
2445 * sysdeps/generic/stdint.h: Don't get definition of wchar_t from
2448 * conform/data/stddef.h-data: Remove wint_t.
2450 * conform/conformtest.pl: Change namespace test to take #undef
2453 * conform/data/netinet/in.h-data: Fix typo in allow-header line.
2455 * conform/data/sys/socket.h-data: Add sockatmark.
2457 2001-08-17 Ulrich Drepper <drepper@redhat.com>
2459 * io/fts.c: Update from recent BSD source.
2461 2001-08-17 Roland McGrath <roland@frob.com>
2463 * stdio-common/perror.c (perror) [! USE_IN_LIBIO]: Don't use _IO_fwide.
2464 * misc/error.c (error_tail, error, error_at_line) [! USE_IN_LIBIO]:
2467 2001-08-17 Ulrich Drepper <drepper@redhat.com>
2469 * locale/duplocale.c (__duplocale): Also initialize the special
2472 * conform/data/netdb.h-data: Adjust gai_strerror return type.
2474 2001-08-17 Andreas Jaeger <aj@suse.de>
2476 * misc/getpass.c: Include wchar.h for prototypes.
2477 * malloc/obstack.c: Likewise.
2479 2001-08-17 Ulrich Drepper <drepper@redhat.com>
2481 * sunrpc/svc_simple.c (universal): Use __write instead of write.
2483 * wcsmbs/wcscoll.c: Also define __wcscoll.
2484 * include/wchar.h: Declare __wcscoll.
2486 * libio/fwprintf.c: Use __vfwprintf instead of vfwprintf.
2487 * libio/vwprintf.c: Likewise.
2488 * libio/wprintf.c: Likewise.
2490 * iconv/gconv_cache.c: Use __munmap instead of munmap.
2492 2001-08-16 Ulrich Drepper <drepper@redhat.com>
2494 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
2496 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
2497 wcslen, and __wcscoll instead of wcscoll.
2499 * sysdeps/unix/sockatmark.c (sockatmark): Use __ioctl instead of ioctl.
2501 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue): Use
2502 __getuid instead of getuid.
2504 * stdio-common/perror.c (perror): Use __close instead of close.
2505 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
2506 * libio/freopen.c (freopen): Likewise.
2507 * libio/freopen64.c (freopen64): Likewise.
2509 * libio/tst-ungetwc2.c (main): Define str const.
2511 * include/wchar.h: Add prototypes for __fwprintf and __vfwprintf.
2512 * libio/fwprintf.c: Also define __fwprintf.
2513 * stdio-common/vfprintf.c [COMPILE_WPRINTF]: Also define __vfwprintf.
2514 * argp/argp-fmtstream.c: Handle wide oriented stderr stream.
2515 * assert/assert-perr.c: Likewise.
2516 * assert/assert.c: Likewise.
2517 * gmon/gmon.c: Likewise.
2518 * inet/rcmd.c: Likewise.
2519 * malloc/obstack.c: Likewise.
2520 * misc/err.c: Likewise.
2521 * misc/error.c: Likewise.
2522 * misc/getpass.c: Likewise.
2523 * posix/getopt.c: Likewise.
2524 * resolv/res_hconf.c: Likewise.
2525 * stdio-common/perror.c: Likewise.
2526 * stdio-common/psignal.c: Likewise.
2527 * stdlib/fmtmsg.c: Likewise.
2528 * sunrpc/auth_unix.c: Likewise.
2529 * sunrpc/clnt_perr.c: Likewise.
2530 * sunrpc/clnt_tcp.c: Likewise.
2531 * sunrpc/clnt_udp.c: Likewise.
2532 * sunrpc/clnt_unix.c: Likewise.
2533 * sunrpc/svc_simple.c: Likewise.
2534 * sunrpc/svc_tcp.c: Likewise.
2535 * sunrpc/svc_udp.c: Likewise.
2536 * sunrpc/svc_unix.c: Likewise.
2537 * sunrpc/xdr.c: Likewise.
2538 * sunrpc/xdr_array.c: Likewise.
2539 * sunrpc/xdr_rec.c: Likewise.
2540 * sunrpc/xdr_ref.c: Likewise.
2541 * sysdeps/generic/wordexp.c: Likewise.
2543 * po/it.po: Update from translation team.
2545 * misc/err.c: Handle wide oriented stderr stream.
2547 2001-08-14 Tom Rix <trix@redhat.com>
2549 * iconv/gconv_cache.c (find_module): Add #ifndef STATIC_GCONV.
2550 * iconv/Makefile: Fix gconv_cache.c CFLAGS.
2552 2001-08-13 Tom Rix <trix@redhat.com>
2554 * sysdeps/unix/sysv/aix/Makefile: Add rule to import kernel symbols.
2555 * sysdeps/unix/sysv/aix/bits/types.h: Fix type of __id_t, __useconds_t
2558 2001-08-15 Martin Schwidefsky <schwidefsky@de.ibm.com>
2560 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S (__getcontext):
2561 Store the access registers to the ucontext structure.
2562 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S (__getcontext):
2565 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S (__setcontext):
2566 Load the access registers from the ucontext structure.
2567 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S (__setcontext):
2570 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: Adjust the SC_xxx
2571 offsets to the new ucontext layout.
2572 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: Likewise.
2574 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix the layout
2575 of the ucontext structure.
2576 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2578 2001-08-15 Ulrich Drepper <drepper@redhat.com>
2580 * misc/error.c (error): Handle wide oriented stderr stream correctly.
2581 (error_at_line): Likewise.
2583 * stdio-common/perror.c (perror): Implement according to standard.
2584 The stream orientation must not be changed if the stream was not
2585 oriented before the call.
2586 * stdio-common/Makefile (tests): Add tst-perror.
2587 * stdio-common/tst-perror.c: New file.
2590 See ChangeLog.12 for earlier changes.