1 2001-11-05 Ulrich Drepper <drepper@redhat.com>
3 * elf/rtld.c (process_dl_debug): Rewritten. Optimized for size not
5 (process_envvars): More some optimizations.
7 * elf/elf.h: Add dynamic tag definitions for prelinking.
9 * elf/rtld.c (process_envvars): Avoid using array of string pointers.
10 Rewrite code to remove environment varables for SUID binaries.
11 Small optimization in LD_PROFILE handling.
12 * sysdeps/generic/unsecvars.h: Adjust format for process_envvars
14 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
16 * sysdeps/generic/dl-sysdep.c: Don't initialize _dl_cpuclock_offset.
18 * elf/dl-reloc.c (_dl_reloc_bad_type): Rewrite to not use writable
19 strings. Change type of second parameter.
20 * sysdeps/generic/ldsodefs.h: Adjust _dl_reloc_bad_type prototype
23 * io/fts.h: Prevent using <fts.h> with _FILE_OFFSET_BITS=64.
25 2001-11-04 Joseph S. Myers <jsm28@cam.ac.uk>
27 * manual/string.texi: Fix typos.
28 * manual/examples/argp-ex2.c: Likewise.
30 2001-11-05 Roland McGrath <roland@frob.com>
32 * sysdeps/powerpc/elf/sysdep.h: Remove this file, because it overrides
33 the more-specific unix/sysv/linux/powerpc file and breaks everything.
34 * sysdeps/powerpc/sysdep.h (ALIGNARG, ASM_TYPE_DIRECTIVE,
35 ASM_SIZE_DIRECTIVE, CALL_MCOUNT, ENTRY, EALIGN, DO_CALL, JUMPTARGET,
36 PSEUDO, PSEUDO_RET, PSEUDO_END, L, C_TEXT): These macros moved here
37 here, put under [__ELF__].
39 2001-11-05 Ulrich Drepper <drepper@redhat.com>
41 * manual/charset.texi: Extensive editing work.
42 * manual/nss.texi: Likewise.
43 Changes by Dennis Grace <dgrace@us.ibm.com>.
45 2001-11-04 Roland McGrath <roland@frob.com>
47 * hurd/set-host.c (_hurd_set_host_config): Use O_WRONLY in flags
48 parameter to dir_mkfile.
50 2001-11-02 Jakub Jelinek <jakub@redhat.com>
52 * string/bits/string2.h (__strndup): If n is smaller than len, set
54 * string/tester.c (test_strndup): New function.
57 2001-11-01 Ulrich Drepper <drepper@redhat.com>
59 * sunrpc/rpc_main.c: Optimize variable definitions a bit.
61 * sunrpc/Makefile (rpcgen-cmd): Use ../scripts/cpp in rpcgen calls.
62 * scripts/cpp: New file.
64 * elf/dl-load.c (_dl_map_object): Correct test of DF_1_NODEFLIB
65 for rtld_search_dirs content. Minor optimizations.
67 2001-10-31 Ulrich Drepper <drepper@redhat.com>
69 * elf/dl-load.c (_dl_map_object): Make code a bit more compact by
70 avoiding unnecessary duplication.
72 2001-10-31 Jakub Jelinek <jakub@redhat.com>
74 * elf/dl-load.c (_dl_map_object): If library was found using
75 LD_LIBRARY_PATH, don't try RUNPATH list.
77 2001-10-31 Martin Schwidefsky <schwidefsky@de.ibm.com>
79 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h (REGISTER_DUMP):
80 Correct second argument of register_dump call.
81 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h (REGISTER_DUMP):
84 2001-10-31 Ulrich Drepper <drepper@redhat.com>
86 * iconvdata/Makefile: Add support for IBM1132, IBM1133, and IBM1162
88 * iconvdata/TESTS: Likewise.
89 * iconvdata/gconv-modules: Likewise.
90 * iconvdata/ibm1132.c: New file.
91 * iconvdata/ibm1132.h: New file.
92 * iconvdata/ibm1133.c: New file.
93 * iconvdata/ibm1133.h: New file.
94 * iconvdata/ibm1162.c: New file.
95 * iconvdata/ibm1162.h: New file.
96 * iconvdata/testdata/IBM1132: New file.
97 * iconvdata/testdata/IBM1132..UTF8: New file.
98 * iconvdata/testdata/IBM1133: New file.
99 * iconvdata/testdata/IBM1133..UTF8: New file.
100 * iconvdata/testdata/IBM1162: New file.
101 * iconvdata/testdata/IBM1162..UTF8: New file.
102 Patches by Masahide Washizawa <WASHI@jp.ibm.com>.
104 * string/string.h: Fix typo in comment.
105 * wcsmbs/wchar.h: Likewise.
107 2001-10-30 Joseph S. Myers <jsm28@cam.ac.uk>
109 * manual/getopt.texi (getopt_long, getopt_long_only): Include
110 const in type of longopts parameter.
112 2001-10-29 Andreas Jaeger <aj@suse.de>
114 * sysdeps/ieee754/dbl-64/mpa.h: Add prototypes for internal functions.
116 2001-10-29 Kevin Ryde <user42@zip.com.au>
118 * manual/stdio.texi (Integer Conversions): Corrections to sample printf
119 output, clarify `#' behaviour on 0.
120 (Floating-Point Conversions): Clarify that %g only uses %e when
121 the exponent would be greater than 1.
123 2001-10-28 Roland McGrath <roland@frob.com>
125 Support for Mach/PowerPC contributed by Peter Bruin <pjbruin@dds.nl>.
126 * sysdeps/mach/powerpc/machine-sp.h: New file.
127 * sysdeps/mach/powerpc/sysdep.h: New file.
128 * sysdeps/mach/powerpc/thread_state.h: New file.
130 * sysdeps/mach/hurd/i386/Makefile: File removed; crt0.o rules moved ...
131 * sysdeps/mach/hurd/Makefile: ... to here. For the time being, we can
132 expect to need the same thing on every platform.
134 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: File moved ...
135 * sysdeps/generic/sys/ucontext.h: ... to replace this one.
137 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (ALIGNARG,
138 ASM_TYPE_DIRECTIVE, ASM_SIZE_DIRECTIVE, CALL_MCOUNT, ENTRY, EALIGN,
139 DO_CALL, JUMPTARGET, PSEUDO, PSEUDO_RET, PSEUDO_END, L, C_TEXT):
140 Move all these assembly-related definitions to ...
141 * sysdeps/powerpc/elf/sysdep.h: ... this new file.
143 * sysdeps/mach/powerpc/machine-lock.h: Assembly code rewritten
144 by Peter Bruin <pjbruin@dds.nl>.
146 * hurd/hurdselect.c (_hurd_select): Check SELECT_RETURNED bit when
147 packing results for a `poll' call.
149 2001-10-26 Ulrich Drepper <drepper@redhat.com>
151 * posix/fnmatch_loop.c: Recognize - at end of bracket expression
153 * posix/tst-fnmatch.input: Add tests for - at beginning and end of
156 * string/strxfrm.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get
158 * string/tst-strxfrm.c (test): Also test __strxfrm_l.
160 2001-10-24 H.J. Lu <hjl@gnu.org>
162 * sysdeps/generic/bits/dlfcn.h (DL_CALL_FCT): Cast to void *.
163 Use __BEGIN_DECLS/__END_DECLS around prototypes.
164 * sysdeps/mips/bits/dlfcn.h (DL_CALL_FCT): Likewise.
166 2001-10-21 Jim Meyering <meyering@lucent.com>
168 * malloc/obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
169 this code would end up calling gettext even in packages built
171 * posix/getopt.c (_): Likewise.
172 * posix/regex.c (_): Likewise.
174 2001-10-26 Ulrich Drepper <drepper@redhat.com>
176 * resolv/gethnamaddr.c (gethostbyaddr): Use ip6.addr for reverse
178 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
179 Reported by Martin.v.Loewis@t-online.de [PR libc/2598].
181 2001-10-19 Jakub Jelinek <jakub@redhat.com>
183 * misc/sys/cdefs.h (__attribute_used__): Define.
184 * elf/rtld.c (_dl_start): Add __attribute_used__.
185 * elf/dl-runtime.c (fixup, profile_fixup): Likewise.
187 2001-10-25 Andreas Schwab <schwab@suse.de>
189 * stdlib/a64l.c: Expect least significant digit first.
190 * stdlib/l64a.c: Produce least significant digit first.
191 * stdlib/Makefile (tests): Add test-a64l.
192 * stdlib/test-a64l.c: New file.
193 Reported by Masaki Hasegawa <masaki-h@pp.iij4u.or.jp>.
195 2001-10-21 Ulrich Drepper <drepper@redhat.com>
197 * po/sk.po: Update from translation team.
199 2001-10-18 Ulrich Drepper <drepper@redhat.com>
201 * sysdeps/i386/elf/start.S (_fp_hw): Define object type.
203 2001-10-18 Andreas Schwab <schwab@suse.de>
205 * math/libm-test.inc (print_ulps): Print ulp values rounded to
207 (print_function_ulps): Likewise.
208 (print_complex_function_ulps): Likewise.
209 (print_max_error): Likewise.
210 (print_complex_max_error): Likewise. Handle ignore_max_ulp.
212 2001-10-16 Andreas Schwab <schwab@suse.de>
214 * sysdeps/m68k/fpu/libm-test-ulps: Updated for fixed cbrtl
217 * sysdeps/m68k/setjmp.c: Also define setjmp and _setjmp if
218 BSD_SETJMP or BSD__SETJMP is defined, resp.
219 * sysdeps/m68k/bsd-setjmp.c: Inline setjmp code instead of making
220 a tail call to __sigsetjmp that would require extending the
222 * sysdeps/m68k/bsd-_setjmp.c: Likewise.
223 * sysdeps/m68k/bsd-setjmp.S: Deleted.
224 * sysdeps/m68k/bsd-_setjmp.S: Deleted.
225 Reported by Jes Sorensen <jes@trained-monkey.org>.
227 2001-10-16 Andreas Jaeger <aj@suse.de>
229 * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Fix
230 parentheses. Reported by David Byron <dbyron@porto.coactive.com>,
233 2001-10-15 Ulrich Drepper <drepper@redhat.com>
235 * po/ca.po: New file. Contributed by the translation team.
237 2001-10-15 Ralf Baechle <ralf@gnu.org>
239 * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Make sysmips() prototype
240 a varargs prototype. Remove dependency from kernel header files.
242 * sysdeps/unix/sysv/linux/mips/bits/termios.h: General cleanup, use
243 __USE_MISC / __USE_XOPEN not __USE_BSD where appropriate.
245 2001-10-14 Ulrich Drepper <drepper@redhat.com>
247 * locale/programs/ld-collate.c (handle_ellipsis): Use %lX not %lx
248 to generate hexadecimal identifier.
249 Patch by Jungshik Shin <jungshik.shin@yale.edu>.
251 2001-10-09 Stephen L Moshier <moshier@mediaone.net>
253 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Fix algorithm.
255 2001-10-14 Ulrich Drepper <drepper@redhat.com>
257 * sysdeps/ieee754/ldbl-128/e_powl.c: New file.
258 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: New file.
259 Contributed by Stephen L Moshier <moshier@mediaone.net>.
261 * sysdeps/ieee754/ldbl-128/e_j0l.c: Constify float variables.
262 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
263 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise
264 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise
265 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise
266 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise
268 * timezone/africa: Update from tzdata2001d.
269 * timezone/asia: Likewise.
270 * timezone/australasia: Likewise.
271 * timezone/backward: Likewise.
272 * timezone/europe: Likewise.
273 * timezone/leapseconds: Likewise.
274 * timezone/northamerica: Likewise.
275 * timezone/southamerica: Likewise.
276 * timezone/zone.tab: Likewise.
278 2001-10-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
280 * sysdeps/s390/s390-32/sys/ucontext.h: Correct __psw_t typedef.
281 * sysdeps/s390/s390-64/sys/ucontext.h: Likewise.
283 2001-10-12 Ulrich Drepper <drepper@redhat.com>
285 * elf/elf.h (PT_TLS): New definition.
287 2001-10-10 Jeff Bailey <jbailey@nisa.net>
289 * sysdeps/mach/hurd/Makefile: Add $(CFLAGS) for generation of
292 2001-10-07 Roland McGrath <roland@frob.com>
294 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Never return ENOSYS.
296 2001-10-10 Ulrich Drepper <drepper@redhat.com>
298 * elf/elf.h: Add more ELFOSABI_* constants.
300 2001-10-04 Ben Collins <bcollins@debian.org>
302 * sysdeps/generic/inttypes.h: Fix typo (define, not defined) in
303 decleration of __need_wchar_t.
305 2001-10-03 Jakub Jelinek <jakub@redhat.com>
307 * string/bits/string2.h (__strsep_g): Add prototype.
309 * string/Versions (__strsep): Remove.
310 * sysdeps/generic/strsep.c (__strsep_g): Add alias to __strsep.
312 2001-10-07 Ulrich Drepper <drepper@redhat.com>
314 * manua/llio.texi: Clarify file references added by mmap.
315 Patch by Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
317 2001-09-29 Jes Sorensen <jes@trained-monkey.org>
319 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
320 Add sc_loadrs and sc_rbs_bas to match current kernel.
322 2001-09-27 Jakub Jelinek <jakub@redhat.com>
324 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
326 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Fix erfc(-inf).
328 2001-09-27 Jakub Jelinek <jakub@redhat.com>
330 * elf/dl-open.c (dl_open_worker): If l_opencount of freshly loaded
331 object has been bumped because of relocation dependency, avoid
332 duplicates in l_scope.
333 (show_scope): Fix typos.
334 * elf/Makefile: Add rules to build and run reldep6.
335 * elf/reldep6.c: New file.
336 * elf/reldep6mod0.c: New file.
337 * elf/reldep6mod1.c: New file.
338 * elf/reldep6mod2.c: New file.
339 * elf/reldep6mod3.c: New file.
340 * elf/reldep6mod4.c: New file.
342 2001-09-26 Jakub Jelinek <jakub@redhat.com>
344 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Call
346 (sparc64_fixup_plt): Moved from elf_machine_fixup_plt. Optimize
347 near jumps and 0xfffff800XXXXXXXX target addresses, no thread safety
348 for non-lazy binding. Fix .plt[32768+] handling.
349 (elf_machine_plt_value): Don't add addend.
350 (elf_machine_rela): Call sparc64_fixup_plt instead of
351 elf_machine_fixup_plt.
352 (elf_machine_runtime_setup, TRAMPOLINE_TEMPLATE): Optimize for
353 dynamic linker at 0xfffff800XXXXXXXX.
355 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
357 2001-09-28 Ulrich Drepper <drepper@redhat.com>
359 * elf/elf.h: Define SHF_GROUP and SHF_TLS.
361 2001-09-25 Jakub Jelinek <jakub@redhat.com>
363 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (struct cmsghdr): Don't
364 declare __cmsg_data field if its size would be bigger than 0.
365 (CMSG_DATA): Adjust accordingly.
366 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
367 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Likewise.
368 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
369 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
370 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
371 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
372 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
374 2001-09-25 Ulrich Drepper <drepper@redhat.com>
376 * iconvdata/TESTS: Add entries for IBM1160 and IBM1161.
377 * iconvdata/testdata/IBM1160: New file.
378 * iconvdata/testdata/IBM1160..UTF8: New file.
379 * iconvdata/testdata/IBM1161: New file.
380 * iconvdata/testdata/IBM1161..UTF8: New file.
381 Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
383 2001-09-24 Ulrich Drepper <drepper@redhat.com>
385 * sysdeps/unix/bsd/ulimit.c (ulimit): Handle overflow in
386 UL_SETFSIZE computations better.
388 * rt/Makefile: Remove use of filter for librt again.
390 * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Handle overflow in
391 UL_SETFSIZE computations better.
393 * string/Versions: Export __strsep for GLIBC_2.2.5.
394 * string/bits/string2.h: Define all __STRING_INLINE functions if
395 _FORCE_INLINES is defined.
396 Use int instead of char of parameter types.
397 (__strsep): Don't use __strsep_g. Don't define it.
398 (__strsep_1c, __strsep_2c, __strsep_3c): Optimize.
399 * sysdeps/i386/i486/string.h (__strcpy_a_small): Renamed from
401 (__stpcpy_a_small): Renamed from __stpcpy_small.
402 (__strcspn_c1): Don't define if _FORCE_INLINES.
403 (__strspn_c1): Likewise.
405 2001-09-22 Ben Collins <bcollins@debian.org>
407 * sysdeps/sparc/bits/sigaction.h: Define SA_RESTART and friends when
408 _UNIX98_SOURCE is defined too. Matches generic/bits/sigaction.h.
409 * sysdeps/ia64/bits/sigaction.h: Likewise.
410 * sysdeps/s390/s390-64/bits/sigaction.h: Likewise.
412 2001-09-24 Andrew Haley <aph@cambridge.redhat.com>
414 * sysdeps/unix/sysv/linux/sh/Makefile (sysdep_headers): Add sys/io.h.
416 2001-09-24 Jakub Jelinek <jakub@redhat.com>
418 * elf/dl-open.c (dl_open_worker): Update l_scope_max.
420 2001-09-24 Ulrich Drepper <drepper@redhat.com>
422 * wcsmbs/wchar.h: Add __attribute_pure__ to mbsinit prototype.
424 2001-09-20 H.J. Lu <hjl@gnu.org>
426 * include/dlfcn.h (__RTLD_SPROF): New definiton.
427 * elf/dl-open.c (dl_open_worker): Return immediately after loading
429 * elf/sprof.c (main): Default to the filename if soname doesn't exist.
430 (load_shobj): Call dlopen with `RTLD_LAZY | __RTLD_SPROF'.
432 2001-09-20 H.J. Lu <hjl@gnu.org>
434 * elf/dl-profile.c (_dl_mcount): Use old *narcsp value for newarc,
437 2001-09-22 Ulrich Drepper <drepper@redhat.com>
439 * nss/getent.c: Accept -s parameter to overwrite rules in
440 nsswitch.conf. Patch by Nalin Dahyabhai <nalin@redhat.com>.
442 * nss/nss_files/files-network.c (LINE_PARSER): Pad addr string
443 with as many ".0" as necessary to form a complete address
444 inet_network understands.
446 * nss/getent.c: Various cleanups. Use simpler and fewer function
449 2001-09-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
451 * sysdeps/s390/s390-32/bits/setjmp.h: Correct pointer comparison in
453 * sysdeps/s390/s390-64/bits/setjmp.h: Likewise.
455 2001-09-22 Ulrich Drepper <drepper@redhat.com>
457 * iconvdata/Makefile: Add rules to build and distribute IBM1160 and
459 * iconvdata/gconv-modules: Add entries for IBM1160 and IBM1161.
460 * iconvdata/ibm1160.c: New file.
461 * iconvdata/ibm1160.h: New file.
462 * iconvdata/ibm1161.c: New file.
463 * iconvdata/ibm1161.h: New file.
464 Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
466 2001-09-19 Jakub Jelinek <jakub@redhat.com>
468 * sysdeps/alpha/dl-machine.h (elf_machine_load_address): Compute the
469 difference between base address and first PT_LOAD's virtual address,
470 not the base address.
472 2001-09-11 Tom Rix <trix@redhat.com>
474 * sysdeps/unix/sysv/aix/init-first.c (init): Use USE_NONONPTION_FLAG
475 ifdef for __getopt_clean_environment.
476 * sysdeps/unix/sysv/aix/libc-start.c: Add real implementation.
478 2001-09-22 Andreas Jaeger <aj@suse.de>
480 * elf/reldep4.c (main): Add proper prototype to fix warning.
482 * elf/reldep5.c (main): Remove unused variable.
484 * math/math_private.h: Add prototypes.
486 2001-09-21 Andreas Jaeger <aj@suse.de>
488 * sysdeps/unix/sysv/linux/x86_64/Dist: New file.
489 * sysdeps/x86_64/Dist: New file.
490 * sysdeps/x86_64/soft-fp/Dist: New file.
492 * sysdeps/gnu/Dist: Remove eval.c.
494 2001-09-20 Ulrich Drepper <drepper@redhat.com>
496 * malloc/memusage.c (realloc): Don't count already allocated
498 (me): Always use dlsym() to find the real implementations.
500 * malloc/memusage.sh: Make -n option actually do something.
502 2001-09-20 Andreas Jaeger <aj@suse.de>
504 * elf/elf.h (R_390_NUM): Correct value.
506 * Versions.def: Add missing versions 2.2.3 for libthread_db and
509 * sysdeps/unix/sysv/linux/configure.in: Add minimal kernel version
510 for x86-64, install x86-64 into */lib64.
512 * shlib-versions: Add x86-64.
514 * elf/elf.h: Add x86-64 relocations.
516 2001-09-19 Ulrich Drepper <drepper@redhat.com>
518 * po/fr.po: Update from translation team.
520 2001-09-19 Andreas Jaeger <aj@suse.de>
522 * sysdeps/unix/sysv/linux/x86_64/Makefile: New file.
523 * sysdeps/unix/sysv/linux/x86_64/Versions: New file.
524 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: New file.
525 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: New file.
526 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: New file.
527 * sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: New file.
528 * sysdeps/unix/sysv/linux/x86_64/bits/time.h: New file.
529 * sysdeps/unix/sysv/linux/x86_64/bits/types.h: New file.
530 * sysdeps/unix/sysv/linux/x86_64/brk.c: New file.
531 * sysdeps/unix/sysv/linux/x86_64/clone.S: New file.
532 * sysdeps/unix/sysv/linux/x86_64/fstatfs64.c: New file.
533 * sysdeps/unix/sysv/linux/x86_64/ftruncate64.c: New file.
534 * sysdeps/unix/sysv/linux/x86_64/fxstat.c: New file.
535 * sysdeps/unix/sysv/linux/x86_64/fxstat64.c: New file.
536 * sysdeps/unix/sysv/linux/x86_64/getdents.c: New file.
537 * sysdeps/unix/sysv/linux/x86_64/getdents64.c: New file.
538 * sysdeps/unix/sysv/linux/x86_64/getrlimit64.c: New file.
539 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
540 * sysdeps/unix/sysv/linux/x86_64/glob64.c: New file.
541 * sysdeps/unix/sysv/linux/x86_64/lxstat.c: New file.
542 * sysdeps/unix/sysv/linux/x86_64/lxstat64.c: New file.
543 * sysdeps/unix/sysv/linux/x86_64/mmap64.c: New file.
544 * sysdeps/unix/sysv/linux/x86_64/pread64.c: New file.
545 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: New file.
546 * sysdeps/unix/sysv/linux/x86_64/pwrite64.c: New file.
547 * sysdeps/unix/sysv/linux/x86_64/readdir.c: New file.
548 * sysdeps/unix/sysv/linux/x86_64/readdir64.c: New file.
549 * sysdeps/unix/sysv/linux/x86_64/readdir64_r.c: New file.
550 * sysdeps/unix/sysv/linux/x86_64/readdir_r.c: New file.
551 * sysdeps/unix/sysv/linux/x86_64/recv.c: New file.
552 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: New file.
553 * sysdeps/unix/sysv/linux/x86_64/send.c: New file.
554 * sysdeps/unix/sysv/linux/x86_64/setrlimit64.c: New file.
555 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: New file.
556 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: New file.
557 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: New file.
558 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: New file.
559 * sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: New file.
560 * sysdeps/unix/sysv/linux/x86_64/statfs64.c: New file.
561 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: New file.
562 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: New file.
563 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: New file.
564 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: New file.
565 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: New file.
566 * sysdeps/unix/sysv/linux/x86_64/syscall.S: New file.
567 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: New file.
568 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: New file.
569 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: New file.
570 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
571 * sysdeps/unix/sysv/linux/x86_64/truncate64.c: New file.
572 * sysdeps/unix/sysv/linux/x86_64/umount.c: New file.
573 * sysdeps/unix/sysv/linux/x86_64/vfork.S: New file.
574 * sysdeps/unix/sysv/linux/x86_64/xstat.c: New file.
575 * sysdeps/unix/sysv/linux/x86_64/xstat64.c: New file.
576 * sysdeps/unix/x86_64/sysdep.S: New file.
577 * sysdeps/unix/x86_64/sysdep.h: New file.
578 * sysdeps/x86_64/Implies: New file.
579 * sysdeps/x86_64/Makefile: New file.
580 * sysdeps/x86_64/Versions: New file.
581 * sysdeps/x86_64/__longjmp.S: New file.
582 * sysdeps/x86_64/abort-instr.h: New file.
583 * sysdeps/x86_64/atomicity.h: New file.
584 * sysdeps/x86_64/bits/endian.h: New file.
585 * sysdeps/x86_64/bits/setjmp.h: New file.
586 * sysdeps/x86_64/bits/string.h: New file.
587 * sysdeps/x86_64/bp-asm.h: New file.
588 * sysdeps/x86_64/bsd-_setjmp.S: New file.
589 * sysdeps/x86_64/bsd-setjmp.S: New file.
590 * sysdeps/x86_64/dl-machine.h: New file.
591 * sysdeps/x86_64/elf/initfini.c: New file.
592 * sysdeps/x86_64/elf/start.S: New file.
593 * sysdeps/x86_64/ffs.c: New file.
594 * sysdeps/x86_64/ffsll.c: New file.
595 * sysdeps/x86_64/fpu/bits/fenv.h: New file.
596 * sysdeps/x86_64/fpu/bits/mathdef.h: New file.
597 * sysdeps/x86_64/fpu/e_acosl.c: New file.
598 * sysdeps/x86_64/fpu/e_atan2l.c: New file.
599 * sysdeps/x86_64/fpu/e_exp2l.S: New file.
600 * sysdeps/x86_64/fpu/e_expl.c: New file.
601 * sysdeps/x86_64/fpu/e_fmodl.S: New file.
602 * sysdeps/x86_64/fpu/e_log10l.S: New file.
603 * sysdeps/x86_64/fpu/e_log2l.S: New file.
604 * sysdeps/x86_64/fpu/e_logl.S: New file.
605 * sysdeps/x86_64/fpu/e_powl.S: New file.
606 * sysdeps/x86_64/fpu/e_rem_pio2l.c: New file.
607 * sysdeps/x86_64/fpu/e_scalbl.S: New file.
608 * sysdeps/x86_64/fpu/e_sqrtl.c: New file.
609 * sysdeps/x86_64/fpu/fclrexcpt.c: New file.
610 * sysdeps/x86_64/fpu/fedisblxcpt.c: New file.
611 * sysdeps/x86_64/fpu/feenablxcpt.c: New file.
612 * sysdeps/x86_64/fpu/fegetenv.c: New file.
613 * sysdeps/x86_64/fpu/fegetexcept.c: New file.
614 * sysdeps/x86_64/fpu/fegetround.c: New file.
615 * sysdeps/x86_64/fpu/feholdexcpt.c: New file.
616 * sysdeps/x86_64/fpu/fesetenv.c: New file.
617 * sysdeps/x86_64/fpu/fesetround.c: New file.
618 * sysdeps/x86_64/fpu/fgetexcptflg.c: New file.
619 * sysdeps/x86_64/fpu/fraiseexcpt.c: New file.
620 * sysdeps/x86_64/fpu/fsetexcptflg.c: New file.
621 * sysdeps/x86_64/fpu/ftestexcept.c: New file.
622 * sysdeps/x86_64/fpu/libm-test-ulps: New file.
623 * sysdeps/x86_64/fpu/math_ldbl.h: New file.
624 * sysdeps/x86_64/fpu/printf_fphex.c: New file.
625 * sysdeps/x86_64/fpu/s_atanl.c: New file.
626 * sysdeps/x86_64/fpu/s_cosl.S: New file.
627 * sysdeps/x86_64/fpu/s_expm1l.S: New file.
628 * sysdeps/x86_64/fpu/s_fpclassifyl.c: New file.
629 * sysdeps/x86_64/fpu/s_isinfl.c: New file.
630 * sysdeps/x86_64/fpu/s_isnanl.c: New file.
631 * sysdeps/x86_64/fpu/s_log1pl.S: New file.
632 * sysdeps/x86_64/fpu/s_logbl.c: New file.
633 * sysdeps/x86_64/fpu/s_nextafterl.c: New file.
634 * sysdeps/x86_64/fpu/s_nexttoward.c: New file.
635 * sysdeps/x86_64/fpu/s_nexttowardf.c: New file.
636 * sysdeps/x86_64/fpu/s_rintl.c: New file.
637 * sysdeps/x86_64/fpu/s_significandl.c: New file.
638 * sysdeps/x86_64/fpu/s_sincosl.S: New file.
639 * sysdeps/x86_64/fpu/s_sinl.S: New file.
640 * sysdeps/x86_64/fpu/s_tanl.S: New file.
641 * sysdeps/x86_64/gmp-mparam.h: New file.
642 * sysdeps/x86_64/hp-timing.c: New file.
643 * sysdeps/x86_64/hp-timing.h: New file.
644 * sysdeps/x86_64/htonl.S: New file.
645 * sysdeps/x86_64/memusage.h: New file.
646 * sysdeps/x86_64/setjmp.S: New file.
647 * sysdeps/x86_64/soft-fp/sfp-machine.h: New file.
648 * sysdeps/x86_64/stackinfo.h: New file.
649 * sysdeps/x86_64/sysdep.h: New file.
650 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: New file.
652 * sysdeps/ieee754/ldbl-128/s_erfl.c: New file, contributed Stephen
655 2001-09-18 Ulrich Drepper <drepper@redhat.com>
657 * malloc/malloc.c (ptmalloc_init): Handle _environ==NULL.
658 Reported by B. D. Elliott <bde@nwlink.com> [PR libc/2541].
660 2001-09-18 Andreas Schwab <schwab@suse.de>
662 * elf/dl-load.c (_dl_map_object_from_fd): Update handling of scope
663 list, now that l_scope is a pointer.
665 * elf/dl-open.c (dl_open_worker): Fix thinko when enlarging the
668 2001-09-18 kaz Kojima <kkojima@rr.iij4u.or.jp>
670 * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix reverse condition.
671 (elf_machine_rela_relative): Add a missing declaration.
673 2001-09-18 Jakub Jelinek <jakub@redhat.com>
675 * sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: New.
676 * sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed: New.
677 * sysdeps/unix/sysv/linux/configure.in: Add ia64 and s390
680 2001-09-18 Ulrich Drepper <drepper@redhat.com>
682 * elf/ldd.bash.in: Update copyright message.
684 2001-09-17 H.J. Lu <hjl@gnu.org>
686 * hurd/hurdmalloc.c (bcopy): Removed.
687 (realloc): Replace bcopy with memcpy.
688 * hurd/path-lookup.c (file_name_path_scan): Likewise.
689 * resolv/gethnamaddr.c (map_v4v6_address): Likewise.
690 * sunrpc/rpcinfo.c (pmapdump): Likewise.
692 * resolv/gethnamaddr.c (getanswer): Replace bcopy with memmove.
693 (gethostbyaddr): Likewise.
694 * sunrpc/rpcinfo.c (get_inet_address): Likewise.
696 2001-09-18 Ulrich Drepper <drepper@redhat.com>
698 * sysdeps/gnu/eval.c: Removed.
700 2001-09-18 Andreas Jaeger <aj@suse.de>
702 * sysdeps/i386/fpu/s_logbl.S: Move to ...
703 * sysdeps/i386/fpu/s_logbl.c: ...here, use inline assembler.
705 * sysdeps/i386/fpu/s_rintl.S: Move to ...
706 * sysdeps/i386/fpu/s_rintl.c: ...here, use inline assembler.
708 * sysdeps/i386/fpu/s_significandl.S: Move to ...
709 * sysdeps/i386/fpu/s_significandl.c: ...here, use inline assembler.
711 2001-09-16 Ulrich Drepper <drepper@redhat.com>
713 * string/strcoll.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get
716 2001-09-14 H.J. Lu <hjl@gnu.org>
718 * sysdeps/mips/fpu/libm-test-ulps: Updated.
720 2001-09-14 Ulrich Drepper <drepper@redhat.com>
722 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix a typo.
723 Patch by Florian La Roche <laroche@redhat.com>.
725 * string/bits/string2.h (__strtok_r_1c): Optimize a bit.
727 * sysdeps/unix/sysv/linux/net/ethernet.h: Correct references to
730 2001-09-14 Andreas Schwab <schwab@suse.de>
732 * posix/execl.c: Fix last argument of memcpy. Reported by Brian
733 Sumner <bls@sgi.com>.
734 * posix/execlp.c: Likewise.
736 2001-09-13 Jakub Jelinek <jakub@redhat.com>
738 * elf/dl-deps.c (_dl_map_object_deps): Fix filter handling if filter
739 is already found earlier in the search scope.
741 2001-09-12 Jakub Jelinek <jakub@redhat.com>
743 * rt/Makefile (LDFLAGS-rt.so): Use shared thread library as librt's
746 2001-09-13 Ulrich Drepper <drepper@redhat.com>
748 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust expected errors for j0.
750 2001-09-12 Ulrich Drepper <drepper@redhat.com>
752 * config.h.in: Enforce optimization to be used.
753 * Makeconfig (preprocess-versions): Define ASSEMBLER.
754 * stdlib/Makefile (isomac-CFLAGS): Define to -O.
755 * posix/Makefile (annexc-CFLAGS): Define to -O.
756 * sysdeps/unix/make-syscalls.sh: Define __OPTIMIZE__ in use of asm_CPP.
758 2001-09-11 Ulrich Drepper <drepper@redhat.com>
760 * nscd/nscd_gethst_r.c: Don't expect IPv6 addresses for IPv4 lookup.
761 Patch by Stephan Kulow.
763 2001-09-08 Ben Collins <bcollins@debian.org>
765 * sysdeps/arm/dl-machine.h (elf_machine_rel): Fix thinko in
766 usage of RESOLVE() (r_type, not reloc->r_type).
768 2001-09-08 Ulrich Drepper <drepper@redhat.com>
770 * elf/dl-object.c: Avoid allocating extra memory block for name.
771 * elf/dl-close.c (_dl_close): Don't free l_libname if it is not
772 allocated separately.
773 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
775 2001-09-08 H.J. Lu <hjl@gnu.org>
777 * po/zh_TW.po: Fix a typo.
779 2001-09-07 Tom Rix <trix@redhat.com>
781 * sysdeps/unix/sysv/aix/sysv_termio.h: New file.
783 2001-08-26 Tom Rix <trix@redhat.com>
785 * sysdeps/unix/sysv/aix/Makefile (aix-syscalls.o): More linker
786 command line options.
787 * sysdeps/unix/sysv/aix/start.s: New file, rework of start.c
788 * sysdeps/unix/sysv/aix/start.c: Removed.
789 * sysdeps/unix/sysv/aix/start-libc.c: New file.
790 * sysdeps/unix/sysv/aix/init-first.c: New file.
791 * sysdeps/unix/sysv/aix/fcntl.c: Alias __libc_fcntl to __fcntl.
793 2001-09-08 Ben Collins <bcollins@debian.org>
795 * sysdeps/arm/dl-machine.h: Fix usage of new _dl_signal_error() format.
796 * sysdeps/generic/dl-machine.h: Likewise.
797 * sysdeps/hppa/dl-fptr.c: Likewise.
798 * sysdeps/ia64/dl-fptr.c: Likewise.
799 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
800 * sysdeps/mips/dl-machine.h: Likewise.
801 * sysdeps/mips/mips64/dl-machine.h: Likewise.
802 * sysdeps/powerpc/dl-machine.c: Likewise.
804 2001-09-07 Ben Collins <bcollins@debian.org>
806 * sysdeps/sparc/sparc32/dl-machine.h: Fix typo.
808 * sysdeps/hppa/dl-lookupcfg.h: Forward declare struct link_map.
810 2001-09-08 Ulrich Drepper <drepper@redhat.com>
812 * elf/dl-lookup.c (add_dependency): Bump l_opencount of all
813 dependencies if necessary.
815 * elf/dl-close.c (_dl_close): If object has no r_list (i.e., wasn't
816 loaded directly) determine length if l_initfini list by iterating
817 over its elements. Minor optimizations.
818 * elf/dl-deps.c (_dl_map_object_deps): Always add own map to l_initfini
819 for dependency objects.
820 If object was already loaded check whether any of the dependencies
821 is already on the relocation dependency list. If yes, remove the
822 latter. Minor optimizations.
823 * elf/dl-lookup.c (add_dependency): Add check for self reference of
824 maps here. Search l_initfini list only if the object was loaded
825 directly and not only as a dependency.
826 (_dl_lookup_symbol): Add relocation dependency also if object
827 is not in global scope. Remove test for self-reference here.
828 (_dl_lookup_versioned_symbol): Likewise.
829 * elf/dl-object (_dl_new_object): Cleanup. Initialize dont_free
830 element of first name record.
831 * elf/loadtest.c: Add some more test to recognize early if an object
833 * elf/Makefile: Add rules to build and run reldep5.
834 * elf/reldep5.c: New file.
835 * elf/reldepmod5.c: New file.
836 * elf/reldepmod6.c: New file.
838 * elf/reldep2.c: Fix typo.
840 2001-09-07 Ulrich Drepper <drepper@redhat.com>
842 * include/link.h (struct link_map): Add l_scope_mem and l_scope_max
843 elements. Change l_scope to be a pointer only.
844 * elf/dl-object.c (_dl_new_object): Initialize l_scope and l_scope_max.
845 * elf/dl-open.c (dl_open_worker): If dependency wasn't just opened
846 here add searchlist of newly open file to the dependency's scope.
847 * elf/dl-close.c (_dl_close): If dependency is used otherwise remove
848 only searchlist from its scope. Free own scope array if necessary.
849 * elf/Makefile (tests): Add dblload and dblunload now.
851 2001-09-06 Andreas Jaeger <aj@suse.de>
853 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: New file, contributed
856 2001-09-05 Ulrich Drepper <drepper@redhat.com>
858 * elf/Makefile: Add rules to build new tests. Don't run them yet since
860 * elf/dblload.c: New file.
861 * elf/dblloadmod1.c: New file.
862 * elf/dblloadmod2.c: New file.
863 * elf/dblloadmod3.c: New file.
864 * elf/dblunload.c: New file.
866 2001-09-04 Richard Henderson <rth@redhat.com>
868 * elf/elf.h (R_ALPHA_OP_*, R_ALPHA_IMMED_*): Remove.
869 (R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16.
871 2001-09-04 Ulrich Drepper <drepper@redhat.com>
873 Correct very misleading message for error in failed runtime relocation.
874 * elf/dl-error.c (_dl_signal_error): Take extra parameter to describe
876 (_dl_signal_cerror): Likewise.
877 * sysdeps/generic/ldsodefs.h: Adjust prototypes.
878 * elf/dl-close.c: Likewise.
879 * elf/dl-deps.c: Likewise.
880 * elf/dl-load.c: Likewise.
881 * elf/dl-lookup.c: Likewise.
882 * elf/dl-open.c: Likewise.
883 * elf/dl-reloc.c: Likewise.
884 * elf/dl-sym.c: Likewise.
885 * elf/dl-version.c: Likewise.
886 * sysdeps/generic/dl-sysdep.c: Likewise.
888 2001-09-04 Jakub Jelinek <jakub@redhat.com>
890 * iconv/strtab.c (strtabinit): Initialize null Strent.
891 (newstring): Move len == 0 handling...
892 (strtabadd): ...here.
893 If len == 1, return null Strent.
894 When inserting a suffix of an existing string, check if
895 it is not equal to some suffix already recorded.
896 Copy left and right members over if adding longer string.
898 2001-09-04 Jakub Jelinek <jakub@redhat.com>
900 * sunrpc/rpc_cout.c (upcase): Account for trailing '\0'.
902 * sysdeps/unix/sysv/linux/alpha/gethostname.c: Include <errno.h>.
903 (__syscall_gethostname): Add prototype.
905 2001-09-04 Ulrich Drepper <drepper@redhat.com>
907 * elf/dl-object.c (_dl_new_object): Remove unnecessary if.
909 2001-09-02 Ulrich Drepper <drepper@redhat.com>
911 * elf/rtld.c (dl_main): Increment l_opencount for main binary.
913 2001-08-27 Roland McGrath <roland@frob.com>
915 * sysdeps/unix/sysv/gethostname.c (__gethostname): When LEN is too
916 short, copy that much into NAME anyway before returning error.
918 2001-09-01 Richard Henderson <rth@redhat.com>
920 * sysdeps/alpha/elf/Dist: Remove file.
921 * sysdeps/alpha/elf/Makefile: Remove file.
922 * sysdeps/alpha/elf/crtbegin.S: Remove file.
923 * sysdeps/alpha/elf/crtend.S: Remove file.
924 * sysdeps/alpha/elf/initfini.c: New file.
926 2001-09-01 Mark Kettenis <kettenis@gnu.org>
928 * iconv/tst-iconv1.c: Include <stddef.h> for wchar_t.
929 * iconv/tst-iconv3.c: Likewise.
931 2001-09-01 Jakub Jelinek <jakub@redhat.com>
933 * sysdeps/generic/inttypes.h (__gwchar_t): Define to wchar_t for C++.
935 2001-09-01 Ulrich Drepper <drepper@redhat.com>
937 * iconv/gconv_cache.c: Rename variable cache to __gconv_cache and
939 * iconv/Versions (libc) [GLIBC_2.2.5]: Export __gconv_cache.
940 * iconv/iconv_prog.c (insert_cache): New function.
941 (print_known_names): If cache is used call insert_cache to use the
942 information from the cache [PR libc/2509].
944 2001-08-31 Ulrich Drepper <drepper@redhat.com>
946 * time/strptime.c (strptime_internal): Recognize 'l' format and
947 handle it like 'I' for symmetry with strftime.
949 2001-08-31 Richard Henderson <rth@redhat.com>
951 * elf/dl-support.c (_dl_cpuclock_offset): Protect with NONAVAIL.
952 (HP_TIMING_AVAIL): Set to HP_SMALL_TIMING_AVAIL if present.
953 * elf/rtld.c (HP_TIMING_AVAIL): Likewise.
954 (print_statistics): Make scalar unsigned long long.
955 * sysdeps/alpha/hp-timing.h: New file.
957 2001-08-31 Jakub Jelinek <jakub@redhat.com>
959 * stdio-common/perror.c (perror): Save errno early, pass it
960 down to perror_internal.
961 (perror_internal): Add errnum argument.
963 2001-08-31 Jakub Jelinek <jakub@redhat.com>
965 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Remove unused code.
966 Don't add old memory content for R_ALPHA_REFQUAD.
968 2001-08-30 Ulrich Drepper <drepper@redhat.com>
970 * crypt/md5-crypt.c (__md5_crypt_r): Compute used and required
973 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Use __open
974 instead of open, __close instead of close, __getpagesize instead
977 * string/argz-stringify.c (__argz_stringify): Use __strnlen
979 * include/string.h (strndupa): Redefine here to use __strnlen
981 * string/strndup.c (__strndup): Use __strnlen not strnlen.
983 * misc/syslog.c (vsyslog): Fix typo in last change (connect ->
986 2001-08-30 Jakub Jelinek <jakub@redhat.com>
988 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
989 R_ALPHA_RELATIVE if RTLD_BOOTSTRAP and HAVE_Z_COMBRELOC. Only check
990 for rtld map if neither RTLD_BOOTSTRAP nor HAVE_Z_COMBRELOC is defined.
991 * sysdeps/i386/dl-machine.h (elf_machine_rel): Similarly.
992 * sysdeps/ia64/dl-machine.h (elf_machine_rel): Similarly.
993 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rel): Similarly.
994 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rel): Similarly.
996 2001-08-30 Ulrich Drepper <drepper@redhat.com>
998 * sysdeps/alpha/fpu/libm-test-ulps: Adjust j0 ULPs.
1000 2001-08-30 Andreas Jaeger <aj@suse.de>
1002 * sysdeps/ieee754/ldbl-128/e_jnl.c: New file,
1003 contributed Stephen L Moshier.
1005 2001-08-30 Jakub Jelinek <jakub@redhat.com>
1007 * sunrpc/etc.rpc (sgi_fam): Add.
1009 2001-08-30 Ulrich Drepper <drepper@redhat.com>
1011 * sysdeps/unix/sysv/linux/alpha/gethostname.c: New file.
1013 2001-08-29 Ulrich Drepper <drepper@redhat.com>
1015 * nis/nis_findserv.c (__nis_findfastest): Don't fail if reply received
1016 first is from a previous call.
1017 Patch by Alexander Belopolsky <alexb@rentec.com> for [PR libc/3670].
1019 2001-08-29 Andreas Schwab <schwab@suse.de>
1021 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
1023 2001-08-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1025 * config.make.in (INSTALL_SCRIPT): Define.
1026 * Makeconfig (INSTALL_SCRIPT): Define.
1027 * Makerules (do-install-script): New macro to install scripts using
1029 (install-bin-script): New rule to install scripts with
1031 (install-bin-script-nosubdir): New rule.
1032 (install-no-libc.a-nosubdir): Add install-bin-script-nosubdir.
1033 (distinfo-vars): Add $(install-bin-script).
1034 * Rules (others): Likewise.
1035 * Makefile (glibcbug): Install with install-bin-script.
1036 * debug/Makefile (xtrace): Likewise.
1037 (catchsegv): Likewise.
1038 * elf/Makefile (ldd): Likewise.
1039 * malloc/Makefile (mtrace): Likewise.
1040 * timezone/Makefile (tzselect): Likewise.
1042 2001-08-29 H.J. Lu <hjl@gnu.org>
1044 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Pass
1045 ELF_RTYPE_CLASS_PLT, instead of R_MIPS_REL32, to
1046 _dl_lookup_versioned_symbol () and _dl_lookup_symbol ().
1048 2001-08-29 Andreas Schwab <schwab@suse.de>
1050 * sysdeps/m68k/fpu/libm-test-ulps: Updated.
1052 2001-08-28 H.J. Lu <hjl@gnu.org>
1054 * Makeconfig (combreloc-LDFLAGS): New variable.
1055 Add it to LDFLAGS.so, LDFLAGS-rtld, and +link.
1056 * config.make.in (have-z-combreloc): New variable.
1057 * configure.in: Substitute libc_cv_z_combreloc.
1059 2001-08-29 Ulrich Drepper <drepper@redhat.com>
1061 * po/sv.po: Update from translation team.
1062 * po/fr.po: Likewise.
1063 * po/da.po: Likewise.
1065 2001-08-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1067 * Makerules: Fix a typo: MD% -> MD5.
1069 2001-08-28 Ulrich Drepper <drepper@redhat.com>
1071 * sunrpc/rpc_hout.c (pargdef): Function must take pointer to object.
1072 Patch by Patrick Duval <Patrick.Duval@devinci.fr>.
1074 2001-08-28 Andreas Jaeger <aj@suse.de>
1076 * manual/libc-texinfo.sh: Add entry about free manuals.
1078 * manual/contrib.texi (Contributors): Fix cross reference.
1080 * manual/libc.texinfo (Copying): Include freemanuals.
1082 * manual/Makefile (appendices): Add freemanuals.
1084 * manual/freemanuals.texi: New file.
1085 Patch by Brian Youmans <3diff@gnu.org>.
1087 * manual/libm-err-tab.pl: Pretty print more platforms, print a
1090 * manual/math.texi (Errors in Math Functions): Fix grammar, start
1091 table on separate page.
1092 Patch by Brian Youmans <3diff@gnu.org>.
1094 2001-08-27 Ulrich Drepper <drepper@redhat.com>
1096 * misc/syslog.c (vsyslog): Try a bit harder to use syslogd. If
1097 the connection went down after we first used it try to connect
1098 again and resend the message before printing to the console.
1099 Reported by Coserea Gh. Tudor <tudore@tudore.gecadsoftware.com>.
1101 2001-08-27 Jakub Jelinek <jakub@redhat.com>
1103 * string/tst-strlen.c (main): Test strnlen (, -1) too.
1104 * sysdeps/generic/strnlen.c (__strnlen): Fix for maxlens with top
1107 2001-08-27 Ulrich Drepper <drepper@redhat.com>
1109 * iconv/strtab.c (searchstring): Use correct length for comparison.
1110 (strtabadd): Account total size correct if new string has old string as
1113 2001-08-27 Jakub Jelinek <jakub@redhat.com>
1115 * elf/rtld.c (dl_main): Update call to _dl_lookup_symbol.
1117 2001-08-27 Andreas Jaeger <aj@suse.de>
1119 * sysdeps/i386/fpu/libm-test-ulps (float): Add ulps for new tests.
1121 * math/libm-test.inc (j0_test): Add extra tests.
1122 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Use |x|,
1123 not x, in Hankel approximation.
1124 Patches by Stephen L Moshier.
1126 2001-08-26 Ulrich Drepper <drepper@redhat.com>
1128 * sysdeps/ia64/dl-lookupcfg.h: Add forward declaration for struct
1131 * configure.in: Fix test for .rela.dyn section.
1133 * elf/dl-runtime.c: Update calls to _dl_lookup_*.
1135 2001-08-26 Jakub Jelinek <jakub@redhat.com>
1137 * elf/dl-reloc.c (RESOLVE_MAP, RESOLVE): Use elf_machine_type_class
1138 instead of elf_machine_lookup_noexec_p and elf_machine_lookup_noplt_p.
1139 Pass type_class to _dl_lookup_*.
1140 * elf/dl-lookup.c (_dl_lookup_symbol): Take type_class parameter now.
1141 Pass around just type_class instead of noexec, noplt pair.
1142 (_dl_lookup_versioned_symbol): Likewise.
1143 (_dl_lookup_symbol_skip): Pass around just type_class instead of
1145 (_dl_lookup_versioned_symbol_skip): Likewise.
1146 (_dl_do_lookup, _dl_do_lookup_versioned): Likewise.
1147 * elf/do-lookup.h (do_lookup): Likewise.
1148 * include/link.h (struct link_map): Replace noexec and noplt fields
1149 in l_lookup_cache with type_class field.
1150 * sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_PLT,
1151 ELF_RTYPE_CLASS_COPY): Define.
1152 Adjust prototypes for _dl_lookup_symbol and
1153 _dl_lookup_versioned_symbol.
1154 * sysdeps/alpha/dl-machine.h (elf_machine_lookup_noplt_p,
1155 elf_machine_lookup_noexec_p): Remove.
1156 (elf_machine_type_class): Define.
1157 * sysdeps/arm/dl-machine.h: Likewise.
1158 * sysdeps/hppa/dl-machine.h: Likewise.
1159 * sysdeps/cris/dl-machine.h: Likewise.
1160 * sysdeps/i386/dl-machine.h: Likewise.
1161 * sysdeps/ia64/dl-machine.h: Likewise.
1162 * sysdeps/m68k/dl-machine.h: Likewise.
1163 * sysdeps/mips/mips64/dl-machine.h: Likewise.
1164 * sysdeps/mips/dl-machine.h: Likewise.
1165 * sysdeps/powerpc/dl-machine.h: Likewise.
1166 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1167 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1168 * sysdeps/sh/dl-machine.h: Likewise.
1169 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1170 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1172 2001-08-26 Ulrich Drepper <drepper@redhat.com>
1174 * manual/message.texi (Advanced gettext functions): Change
1175 description of plural forms for Slovak.
1176 Reported by Marcel Telka <marcel@telka.sk>.
1178 * manuaL/time.texi (Low-Level Time String Parsing): Fix description of
1179 %z. Reported by C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>.
1181 2001-08-26 Jakub Jelinek <jakub@redhat.com>
1183 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_lazy_rel): Fix a
1184 typo. Patch by Florian La Roche <laroche@redhat.com>.
1186 2001-08-26 Ulrich Drepper <drepper@redhat.com>
1188 * include/link.h (struct link_map): Add l_lookup_cache element.
1189 * elf/dl-reloc.c (RESOLVE): Add symbol caching here.
1190 (RESOLVE_MAP): Likewise.
1191 (_dl_relocate_object): Remove cache initialization.
1192 * elf/dl-lookup.c: Rip out cache handling code.
1193 * sysdeps/generic/ldsodefs.h: Remove lookup_cache struct and variable
1196 * elf/dl-lookup.c (_dl_lookup_symbol): Reorder some conditions and
1197 remove some __builtin_expect.
1198 (_dl_lookup_versioned_symbol): Likewise.
1200 * config.h.in: Add HAVE_Z_COMBRELOC.
1201 * configure.in: Add test for -z combreloc.
1203 * sysdeps/i386/dl-machine.h (elf_machine_rel): Minor cleanups and
1204 optimizations. Use HAVE_Z_COMBRELOC to avoid generaton of
1205 R_386_RELATIVE handling for ld.so startup. Reduce RTLD_BOOTSTRAP
1206 case to almost no code.
1208 2001-08-25 Ulrich Drepper <drepper@redhat.com>
1210 * po/tr.po: Update from translation team.
1212 2001-08-24 Andreas Jaeger <aj@suse.de>
1214 * iconv/Makefile (extra-objs): Add iconvconfig-modules so that
1217 2001-08-24 Ulrich Drepper <drepper@redhat.com>
1219 * elf/rtld.c (print_statistics): Printf % after percent values.
1220 * elf/dl-misc.c (_dl_debug_vdprintf): Implement %%.
1222 * elf/dl-lookup.c (_dl_lookup_symbol): If we use the cache we
1223 don't have to compute the hash value and initialize current_value.
1224 Move reference_name variable to where it is needed.
1225 (_dl_lookup_versioned_symbol): Likewise.
1227 2001-08-24 Roland McGrath <roland@frob.com>
1229 * string/tester.c (test_strerror): Don't use _sys_errlist/_sys_nerr.
1230 Just test that strerror returns non-null for a few errno codes.
1232 2001-08-23 Roland McGrath <roland@frob.com>
1234 * hurd/Versions (libc: GLIBC_2.2.5): New set; add _hurd_raise_signal,
1235 _hurdsig_interrupt_timeout, _hurdsig_fault_preemptor.
1237 * sysdeps/posix/shm_unlink.c (shm_unlink): __unlink -> unlink.
1239 * mach/Versions (libc: GLIBC_2.2.5): New set; add __mach_msg_destroy,
1242 2001-08-24 Ulrich Drepper <drepper@redhat.com>
1244 * nss/test-netdb.c (test_hosts): Don't segfault if gethostname
1247 * elf/do-rel.h (elf_dynamic_do_rel): Fix problem with ld.so
1248 startup. Explicitly remove lazy part for RTLD_BOOTSTRAP since gcc
1250 * elf/rtld.c: Include <sys/param.h>.
1251 * elf/dl-reloc.c: Likewise.
1253 2001-08-24 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1255 * sysdeps/unix/sysv/linux/mips/configure.in: Define AC_SUBST to
1256 empty to prevent junk from being generated.
1257 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1259 2001-08-24 Jakub Jelinek <jakub@redhat.com>
1261 * elf/do-rel.h (elf_dynamic_do_rel): If l_addr is 0, skip relative
1262 records. Rename endrel to relative, initialize it to r, and use it
1263 in elf_machine_rel_relative calls. Point r after relative relocs.
1265 2001-08-24 Ulrich Drepper <drepper@redhat.com>
1267 * sysdeps/i386/dl-machine.h (elf_machine_rel): Correct prediction
1270 2001-08-24 Jakub Jelinek <jakub@redhat.com>
1272 * elf/do-rel.h (elf_machine_rel_relative): Define for rela if
1273 necessary. Undefine newly defined macros at the end.
1274 * sysdeps/hppa/dl-machine.h (elf_machine_rela_relative):
1275 Rename from elf_machine_rel_relative.
1276 * sysdeps/cris/dl-machine.h (elf_machine_rela_relative): Likewise.
1277 * sysdeps/m68k/dl-machine.h (elf_machine_rela_relative): Likewise.
1278 * sysdeps/powerpc/dl-machine.h (elf_machine_rela_relative): Likewise.
1279 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela_relative):
1281 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela_relative):
1283 * sysdeps/ia64/dl-machine.h (elf_machine_rela_relative): Likewise.
1285 * sysdeps/alpha/dl-machine.h (elf_machine_rela_relative): Likewise.
1287 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela_relative):
1288 Likewise. Fix argument types.
1289 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela_relative):
1290 Likewise. Fix argument types.
1291 * sysdeps/sh/dl-machine.h (elf_machine_rela_relative): Likewise.
1293 * sysdeps/mips/dl-machine.h (elf_machine_rel_relative): Use
1294 ElfW(Rel) in argument.
1295 * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel_relative): New
1298 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
1300 * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix typo.
1302 2001-08-24 Andreas Jaeger <aj@suse.de>
1304 * sysdeps/ieee754/ldbl-128/e_j1l.c: New file, contributed by
1305 Stephen L Moshier <moshier@mediaone.net>.
1307 2001-08-24 Ulrich Drepper <drepper@redhat.com>
1309 * elf/do-rel.h (elf_dynamic_do_rel): RELATIVE relocations comes
1310 first if RELCOUNT is set.
1312 * elf/do-rel.h (elf_dynamic_do_rel): If not relocating lazily, don't
1313 call elf_machine_rel for the last DT_RELCOUNT relocations but instead
1314 elf_machine_rel_relative.
1315 * sysdeps/alpha/dl-machine.h: Define elf_machine_rel_relative.
1316 Minor optimizations.
1317 * sysdeps/arm/dl-machine.h: Likewise.
1318 * sysdeps/cris/dl-machine.h: Likewise.
1319 * sysdeps/hppa/dl-machine.h: Likewise.
1320 * sysdeps/i386/dl-machine.h: Likewise.
1321 * sysdeps/ia64/dl-machine.h: Likewise.
1322 * sysdeps/m68k/dl-machine.h: Likewise.
1323 * sysdeps/mips/dl-machine.h: Likewise.
1324 * sysdeps/powerpc/dl-machine.h: Likewise.
1325 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1326 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1327 * sysdeps/sh/dl-machine.h: Likewise.
1328 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1329 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1331 2001-08-23 Roland McGrath <roland@frob.com>
1333 * rt/tst-aio4.c [! SIGRTMIN] (SIGRTMIN, SIGRTMAX): Define as -1.
1335 * sysdeps/mach/hurd/bits/libc-lock.h: New file, initially copied from
1336 sysdeps/mach version. Implement counting ("recursive") mutexes
1337 on top of cthreads mutexes.
1338 * sysdeps/mach/hurd/bits/stdio-lock.h: File removed; generic now works.
1340 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Define to
1341 _LIBC_LOCK_RECURSIVE_INITIALIZER if defined, else do an #error.
1342 (__libc_cleanup_region_start, __libc_cleanup_region_end,
1343 __libc_clean_end): Define these to call the cleanup function after
1344 normal exit when they're supposed to.
1346 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start):
1347 Take new first arg DOIT, a boolean saying whether to really install
1348 any cleanup handler.
1349 (__libc_cleanup_region_end): Do nothing if start's DOIT arg was zero.
1350 (__libc_cleanup_end): Likewise.
1351 * sysdeps/generic/bits/libc-lock.h: Same changes.
1352 * stdio-common/vfscanf.c (LOCK_STREAM): Pass new arg.
1353 * stdio-common/vfprintf.c (buffered_vfprintf, vfprintf): Likewise.
1354 * sysdeps/mach/hurd/bits/stdio-lock.h (_IO_cleanup_region_start):
1356 * misc/syslog.c (vsyslog, openlog, closelog): Likewise.
1357 * sysdeps/generic/bits/stdio-lock.h
1358 (_IO_cleanup_region_start, _IO_cleanup_region_start_noarg): Likewise.
1360 2001-08-23 Jakub Jelinek <jakub@redhat.com>
1362 * elf/ldconfig.c (search_dir): Remove stale symlinks.
1364 2001-08-23 Jakub Jelinek <jakub@redhat.com>
1366 * elf/dl-lookup.c (lookup_cache, lookup_cache_versioned): New.
1367 (_dl_lookup_symbol): Lookup relocations in cache and store successfull
1369 (_dl_lookup_versioned_symbol): Likewise.
1370 * elf/dl-reloc.c (_dl_relocate_object): Initialize cache for
1372 * elf/rtld.c (print_statistics): Output _dl_num_cache_relocations.
1373 * sysdeps/generic/ldsodefs.h (struct lookup_cache): New definition.
1374 (lookup_cache, lookup_cache_versioned): Add declarations.
1376 2001-08-23 Ulrich Drepper <drepper@redhat.com>
1378 * stdlib/tst-random.c (main): Swap parameters in fail call.
1379 Patch by Pete Bevin <pete@petebevin.com>.
1381 2001-08-23 Jakub Jelinek <jakub@redhat.com>
1383 * sysdeps/generic/inttypes.h: Use __gwchar_t instead of __wchar_t.
1385 2001-08-23 Ulrich Drepper <drepper@redhat.com>
1387 * malloc/obstack.c: Indent preprocessor directives.
1388 Patch by Jim Meyering <meyering@ascend.com>.
1390 * po/ja.po: Update from translation team.
1392 2001-08-23 Roland McGrath <roland@frob.com>
1394 * libio/tst-ungetwc1.c (main): Add a const to quiet a warning.
1396 * nss/test-netdb.c (test_hosts): Don't use MAXHOSTNAMELEN.
1397 Instead, use dynamic buffer to test gethostname's ENAMETOOLONG error.
1399 2001-08-22 Roland McGrath <roland@frob.com>
1401 * sysdeps/generic/ldsodefs.h (_dl_load_lock): Declare it here with
1402 __libc_lock_define_recursive.
1403 * elf/dl-open.c: Don't declare it here any more.
1404 * elf/dl-close.c: Likewise.
1405 * elf/dl-lookup.c: Likewise.
1406 * elf/dl-iteratephdr.c: Likewise.
1407 * elf/dl-lookup.c (add_dependency): Use __libc_lock_lock_recursive and
1408 __libc_lock_unlock_recursive.
1409 * elf/dl-close.c (_dl_close): Likewise
1410 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise
1411 * elf/dl-open.c (_dl_open): Likewise
1413 * sysdeps/generic/bits/libc-lock.h
1414 (__libc_lock_define_recursive): New macro.
1415 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_t): Use it.
1416 (_IO_lock_lock): Use __libc_lock_lock_recursive.
1417 (_IO_lock_unlock): Use __libc_lock_unlock_recursive.
1419 * conform/conformtest.pl (checknamespace): Sort the output list.
1421 * sysdeps/generic/bits/poll.h (POLLWRBAND): New alias for POLLOUT.
1422 (POLLRDNORM, POLLRDBAND, POLLWRNORM, POLLWRBAND): Make these
1423 definitions conditional on [__USE_XOPEN].
1425 * sysdeps/mach/hurd/bits/fcntl.h (O_ASYNC, O_FSYNC, O_SYNC): Define
1426 these unconditionally, not only use [__USE_BSD], so as to match
1427 the sysdeps/unix/sysv/linux files.
1429 2001-08-22 Ulrich Drepper <drepper@redhat.com>
1431 * test-skeleton.c (add_temp_file): Add __attribute__ ((unused)) to
1434 * dlfcn/tst-dladdr.c (do_test): Get address of ref1 using
1437 2001-08-22 Roland McGrath <roland@frob.com>
1439 * sysdeps/generic/bits/sigaction.h (struct sigaction): Fix up
1440 conditionalization of sa_handler/sa_sigaction member types to
1441 match the sysdeps/unix/sysv/linux file.
1443 2001-08-22 Ulrich Drepper <drepper@redhat.com>
1445 * elf/dl-addr.c (_dl_addr): Handle broken binaries with zero
1446 symbol sizes a bit better.
1448 * sysdeps/ia64/strncpy.S: Complete rewrite.
1449 Contributed by Jakub Jelinek <jakub@redhat.com>.
1451 * string/stratcliff.c (main): Add strncpy test.
1453 2001-08-22 Roland McGrath <roland@frob.com>
1455 * sysdeps/generic/dl-environ.c: Include <stdlib.h> and <unistd.h>,
1456 and don't declare unsetenv or _environ directly.
1457 (unsetenv): Return int, not void. Use __environ instead of _environ.
1459 2001-08-01 Mark Kettenis <kettenis@gnu.org>
1461 * sysdeps/unix/bsd/bsd4.4/Makefile: New file.
1462 * sysdeps/unix/bsd/bsd4.4/Versions: New file.
1463 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: New file.
1464 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Correct
1465 test for cmsg struct size.
1467 2001-04-23 Paul Eggert <eggert@twinsun.com>
1469 * posix/getopt.h (getopt_long, getopt_long_only, _getopt_internal):
1470 Rename __argc to ___argc in prototypes to avoid compatibility
1471 problems with systems that reserve the identifier "__argc".
1472 Similarly for __argv.
1474 2001-08-21 Roland McGrath <roland@frob.com>
1476 * stdio-common/tst-fseek.c: Include <time.h> for `time' declaration.
1478 * mach/Makefile (tests): Removed.
1479 * mach/hello.c: File removed.
1481 2001-08-22 Ulrich Drepper <drepper@redhat.com>
1483 * po/sv.po: Update from translation team.
1485 * stdio-common/vfscanf.c: Fix handling of %l[].
1486 Reported by Mitsuru Chinen <mchinen@yamato.ibm.com>.
1488 * libio/Makefile (tests): Add tst-sscanf.
1489 * libio/tst-sscanf.c: New file.
1491 * elf/dl-addr.c (_dl_addr): Fix tests to determine dli_sname.
1492 * malloc/mtrace.c (tr_where): dli_sname always points to a
1493 non-empty string if != NULL.
1494 Reported by Tim Janik <timj@gtk.org>.
1496 2001-08-22 Jakub Jelinek <jakub@redhat.com>
1498 * sunrpc/xdr_rec.c (xdrrec_create): Fix buf sizes before allocating
1499 buf. Free resources on failure.
1500 * sunrpc/svc_unix.c (svcunix_create): Free resources on failure.
1501 (makefd_xprt): Likewise.
1502 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
1503 * sunrpc/svc_tcp.c (svctcp_create, makefd_xprt): Likewise.
1504 * sunrpc/auth_unix.c (authunix_create): Likewise.
1506 2001-08-21 Jakub Jelinek <jakub@redhat.com>
1508 * string/strnlen.c: Remove.
1509 * sysdeps/generic/strnlen.c: New.
1510 * sysdeps/i386/i486/bits/string.h (strnlen): Remove.
1512 2001-08-21 Roland McGrath <roland@frob.com>
1514 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Define this
1515 as a macro, not an extern inline function.
1517 * hurd/Versions (GLIBC_2.2.5): New set, define __hurd_fail here.
1518 * Versions.def (libc): Add GLIBC_2.2.5 set.
1519 * hurd/hurd.h (_HURD_H_EXTERN_INLINE): New macro.
1520 (__hurd_fail): Use that instead of _EXTERN_INLINE in decl.
1522 2001-08-20 Roland McGrath <roland@frob.com>
1524 * hurd/hurdlookup.c (__hurd_file_name_lookup): Fail with ENOENT for "".
1525 (__hurd_file_name_split, __hurd_directory_name_split): Likewise.
1527 2001-08-21 Ulrich Drepper <drepper@redhat.com>
1529 * string/bits/string2.h: Remove strnlen optimization here.
1530 * sysdeps/i386/i486/bits/string.h: Add it here.
1532 2001-08-21 Wolfram Gloger <wg@malloc.de>
1534 * malloc/malloc.c: Make access to ..._hook pointers thread-safe.
1536 2001-08-21 Ulrich Drepper <drepper@redhat.com>
1538 * po/gl.po: Update from translation team.
1540 2001-08-20 Ulrich Drepper <drepper@redhat.com>
1542 * misc/error.c (error_tail): Use fputws_unlocked instead of fputws.
1543 * misc/err.c (convert_and_print): Likewise.
1545 * malloc/obstack.c (print_and_abort): Use fprintf instead of two
1548 2001-08-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
1550 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Revert the
1551 change of the gregset_t type.
1552 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1554 2001-08-20 kaz Kojima <kkojima@rr.iij4u.or.jp>
1556 * sysdeps/unix/sysv/linux/sh/sysdep.S: Align errno.
1558 2001-08-20 Ulrich Drepper <drepper@redhat.com>
1560 * posix/regex.c (truncate_wchar): Use wcrtomb not wctomb.
1562 * string/strnlen.c: Fix the implementation. We cannot use memchr.
1564 2001-08-18 Mark Kettenis <kettenis@gnu.org>
1566 * sysdeps/mach/hurd/i386/init-first.c (init): Initialize __environ
1567 before calling the cthreads initialization code.
1569 2001-08-20 Ulrich Drepper <drepper@redhat.com>
1571 * argp/argp-help.c: Fix two problems introduced in last change.
1573 * include/dirent.h: Include <dirstream.h> first.
1575 2001-08-19 Ulrich Drepper <drepper@redhat.com>
1577 * io/fts.c (fts_safe_changedir): Use __fxstat64 instead of __fstat.
1579 * sunrpc/svcauth_des.c (_svcauth_des): Avoid using bcopy.
1580 * sunrpc/xdr_rec.c: Likewise.
1581 * sunrpc/xdr_mem.c: Likewise.
1582 * sunrpc/svc_authux.c (_svcauth_unix): Likewise.
1583 * sunrpc/rpc_cmsg.c: Likewise.
1584 * sunrpc/getrpcport.c (getrpcport): Likewise.
1585 * sunrpc/clnt_simp.c (callrpc): Likewise.
1586 * sunrpc/clnt_gen.c (clnt_create): Likewise.
1587 * string/envz.c: Likewise.
1589 * po/ko.po: Update from translation team.
1591 * argp/argp-help.c: Handle wide oriented stderr stream.
1593 2001-08-18 Ulrich Drepper <drepper@redhat.com>
1595 * sysdeps/generic/strtol.c: Little optimizations. Add some
1598 * conform/conformtest.pl: <inttypes.h> test requires <stddef.h>.
1600 * wcsmbs/wchar.h (wcwdith): Change parameter type to wchar_t.
1601 * wcsmbs/wcwidth.c (wcwdith): Likewise.
1602 * wcsmbs/wcwidth.h (internal_wcwdith): Likewise.
1604 * conform/data/unistd.h-data: Remove _SC_MULTIPLE_PROCESS.
1606 * conform/data/ucontext.h-data: Fix typos in ucontext_t element tests.
1608 * time/time.h (struct timespec): Use __time_t for tv_sec element.
1610 * sysdeps/generic/inttypes.h: Define __wchar_t. Use it instead of
1611 wchar_t for function declarations and defintions.
1613 * misc/sys/select.h: Define __need_time_t before including <time.h>.
1614 Define suseconds_t if it hasn't happened yet.
1616 * iconv/gconv.h: Define __need_wchar_t before including <stddef.h>.
1618 * conform/data/sys/uio.h-data: Allow UIO_MAXIOV to be defined.
1620 * sysdeps/generic/stdint.h: Don't get definition of wchar_t from
1623 * conform/data/stddef.h-data: Remove wint_t.
1625 * conform/conformtest.pl: Change namespace test to take #undef
1628 * conform/data/netinet/in.h-data: Fix typo in allow-header line.
1630 * conform/data/sys/socket.h-data: Add sockatmark.
1632 2001-08-17 Ulrich Drepper <drepper@redhat.com>
1634 * io/fts.c: Update from recent BSD source.
1636 2001-08-17 Roland McGrath <roland@frob.com>
1638 * stdio-common/perror.c (perror) [! USE_IN_LIBIO]: Don't use _IO_fwide.
1639 * misc/error.c (error_tail, error, error_at_line) [! USE_IN_LIBIO]:
1642 2001-08-17 Ulrich Drepper <drepper@redhat.com>
1644 * locale/duplocale.c (__duplocale): Also initialize the special
1647 * conform/data/netdb.h-data: Adjust gai_strerror return type.
1649 2001-08-17 Andreas Jaeger <aj@suse.de>
1651 * misc/getpass.c: Include wchar.h for prototypes.
1652 * malloc/obstack.c: Likewise.
1654 2001-08-17 Ulrich Drepper <drepper@redhat.com>
1656 * sunrpc/svc_simple.c (universal): Use __write instead of write.
1658 * wcsmbs/wcscoll.c: Also define __wcscoll.
1659 * include/wchar.h: Declare __wcscoll.
1661 * libio/fwprintf.c: Use __vfwprintf instead of vfwprintf.
1662 * libio/vwprintf.c: Likewise.
1663 * libio/wprintf.c: Likewise.
1665 * iconv/gconv_cache.c: Use __munmap instead of munmap.
1667 2001-08-16 Ulrich Drepper <drepper@redhat.com>
1669 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
1671 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
1672 wcslen, and __wcscoll instead of wcscoll.
1674 * sysdeps/unix/sockatmark.c (sockatmark): Use __ioctl instead of ioctl.
1676 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue): Use
1677 __getuid instead of getuid.
1679 * stdio-common/perror.c (perror): Use __close instead of close.
1680 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
1681 * libio/freopen.c (freopen): Likewise.
1682 * libio/freopen64.c (freopen64): Likewise.
1684 * libio/tst-ungetwc2.c (main): Define str const.
1686 * include/wchar.h: Add prototypes for __fwprintf and __vfwprintf.
1687 * libio/fwprintf.c: Also define __fwprintf.
1688 * stdio-common/vfprintf.c [COMPILE_WPRINTF]: Also define __vfwprintf.
1689 * argp/argp-fmtstream.c: Handle wide oriented stderr stream.
1690 * assert/assert-perr.c: Likewise.
1691 * assert/assert.c: Likewise.
1692 * gmon/gmon.c: Likewise.
1693 * inet/rcmd.c: Likewise.
1694 * malloc/obstack.c: Likewise.
1695 * misc/err.c: Likewise.
1696 * misc/error.c: Likewise.
1697 * misc/getpass.c: Likewise.
1698 * posix/getopt.c: Likewise.
1699 * resolv/res_hconf.c: Likewise.
1700 * stdio-common/perror.c: Likewise.
1701 * stdio-common/psignal.c: Likewise.
1702 * stdlib/fmtmsg.c: Likewise.
1703 * sunrpc/auth_unix.c: Likewise.
1704 * sunrpc/clnt_perr.c: Likewise.
1705 * sunrpc/clnt_tcp.c: Likewise.
1706 * sunrpc/clnt_udp.c: Likewise.
1707 * sunrpc/clnt_unix.c: Likewise.
1708 * sunrpc/svc_simple.c: Likewise.
1709 * sunrpc/svc_tcp.c: Likewise.
1710 * sunrpc/svc_udp.c: Likewise.
1711 * sunrpc/svc_unix.c: Likewise.
1712 * sunrpc/xdr.c: Likewise.
1713 * sunrpc/xdr_array.c: Likewise.
1714 * sunrpc/xdr_rec.c: Likewise.
1715 * sunrpc/xdr_ref.c: Likewise.
1716 * sysdeps/generic/wordexp.c: Likewise.
1718 * po/it.po: Update from translation team.
1720 * misc/err.c: Handle wide oriented stderr stream.
1722 2001-08-14 Tom Rix <trix@redhat.com>
1724 * iconv/gconv_cache.c (find_module): Add #ifndef STATIC_GCONV.
1725 * iconv/Makefile: Fix gconv_cache.c CFLAGS.
1727 2001-08-13 Tom Rix <trix@redhat.com>
1729 * sysdeps/unix/sysv/aix/Makefile: Add rule to import kernel symbols.
1730 * sysdeps/unix/sysv/aix/bits/types.h: Fix type of __id_t, __useconds_t
1733 2001-08-15 Martin Schwidefsky <schwidefsky@de.ibm.com>
1735 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S (__getcontext):
1736 Store the access registers to the ucontext structure.
1737 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S (__getcontext):
1740 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S (__setcontext):
1741 Load the access registers from the ucontext structure.
1742 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S (__setcontext):
1745 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: Adjust the SC_xxx
1746 offsets to the new ucontext layout.
1747 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: Likewise.
1749 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix the layout
1750 of the ucontext structure.
1751 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1753 2001-08-15 Ulrich Drepper <drepper@redhat.com>
1755 * misc/error.c (error): Handle wide oriented stderr stream correctly.
1756 (error_at_line): Likewise.
1758 * stdio-common/perror.c (perror): Implement according to standard.
1759 The stream orientation must not be changed if the stream was not
1760 oriented before the call.
1761 * stdio-common/Makefile (tests): Add tst-perror.
1762 * stdio-common/tst-perror.c: New file.
1765 See ChangeLog.12 for earlier changes.