1 2001-10-31 Martin Schwidefsky <schwidefsky@de.ibm.com>
3 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump (REGISTER_DUMP):
4 Correct second argument of register_dump call.
5 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump (REGISTER_DUMP):
8 2001-10-31 Ulrich Drepper <drepper@redhat.com>
10 * iconvdata/Makefile: Add support for IBM1132, IBM1133, and IBM1162
12 * iconvdata/TESTS: Likewise.
13 * iconvdata/gconv-modules: Likewise.
14 * iconvdata/ibm1132.c: New file.
15 * iconvdata/ibm1132.h: New file.
16 * iconvdata/ibm1133.c: New file.
17 * iconvdata/ibm1133.h: New file.
18 * iconvdata/ibm1162.c: New file.
19 * iconvdata/ibm1162.h: New file.
20 * iconvdata/testdata/IBM1132: New file.
21 * iconvdata/testdata/IBM1132..UTF8: New file.
22 * iconvdata/testdata/IBM1133: New file.
23 * iconvdata/testdata/IBM1133..UTF8: New file.
24 * iconvdata/testdata/IBM1162: New file.
25 * iconvdata/testdata/IBM1162..UTF8: New file.
26 Patches by Masahide Washizawa <WASHI@jp.ibm.com>.
28 * string/string.h: Fix typo in comment.
29 * wcsmbs/wchar.h: Likewise.
31 2001-10-30 Joseph S. Myers <jsm28@cam.ac.uk>
33 * manual/getopt.texi (getopt_long, getopt_long_only): Include
34 const in type of longopts parameter.
36 2001-10-29 Andreas Jaeger <aj@suse.de>
38 * sysdeps/ieee754/dbl-64/mpa.h: Add prototypes for internal functions.
40 2001-10-29 Kevin Ryde <user42@zip.com.au>
42 * manual/stdio.texi (Integer Conversions): Corrections to sample printf
43 output, clarify `#' behaviour on 0.
44 (Floating-Point Conversions): Clarify that %g only uses %e when
45 the exponent would be greater than 1.
47 2001-10-28 Roland McGrath <roland@frob.com>
49 Support for Mach/PowerPC contributed by Peter Bruin <pjbruin@dds.nl>.
50 * sysdeps/mach/powerpc/machine-sp.h: New file.
51 * sysdeps/mach/powerpc/sysdep.h: New file.
52 * sysdeps/mach/powerpc/thread_state.h: New file.
54 * sysdeps/mach/hurd/i386/Makefile: File removed; crt0.o rules moved ...
55 * sysdeps/mach/hurd/Makefile: ... to here. For the time being, we can
56 expect to need the same thing on every platform.
58 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: File moved ...
59 * sysdeps/generic/sys/ucontext.h: ... to replace this one.
61 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (ALIGNARG,
62 ASM_TYPE_DIRECTIVE, ASM_SIZE_DIRECTIVE, CALL_MCOUNT, ENTRY, EALIGN,
63 DO_CALL, JUMPTARGET, PSEUDO, PSEUDO_RET, PSEUDO_END, L, C_TEXT):
64 Move all these assembly-related definitions to ...
65 * sysdeps/powerpc/elf/sysdep.h: ... this new file.
67 * sysdeps/mach/powerpc/machine-lock.h: Assembly code rewritten
68 by Peter Bruin <pjbruin@dds.nl>.
70 * hurd/hurdselect.c (_hurd_select): Check SELECT_RETURNED bit when
71 packing results for a `poll' call.
73 2001-10-26 Ulrich Drepper <drepper@redhat.com>
75 * posix/fnmatch_loop.c: Recognize - at end of bracket expression
77 * posix/tst-fnmatch.input: Add tests for - at beginning and end of
80 * string/strxfrm.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get
82 * string/tst-strxfrm.c (test): Also test __strxfrm_l.
84 2001-10-24 H.J. Lu <hjl@gnu.org>
86 * sysdeps/generic/bits/dlfcn.h (DL_CALL_FCT): Cast to void *.
87 Use __BEGIN_DECLS/__END_DECLS around prototypes.
88 * sysdeps/mips/bits/dlfcn.h (DL_CALL_FCT): Likewise.
90 2001-10-21 Jim Meyering <meyering@lucent.com>
92 * malloc/obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
93 this code would end up calling gettext even in packages built
95 * posix/getopt.c (_): Likewise.
96 * posix/regex.c (_): Likewise.
98 2001-10-26 Ulrich Drepper <drepper@redhat.com>
100 * resolv/gethnamaddr.c (gethostbyaddr): Use ip6.addr for reverse
102 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
103 Reported by Martin.v.Loewis@t-online.de [PR libc/2598].
105 2001-10-19 Jakub Jelinek <jakub@redhat.com>
107 * misc/sys/cdefs.h (__attribute_used__): Define.
108 * elf/rtld.c (_dl_start): Add __attribute_used__.
109 * elf/dl-runtime.c (fixup, profile_fixup): Likewise.
111 2001-10-25 Andreas Schwab <schwab@suse.de>
113 * stdlib/a64l.c: Expect least significant digit first.
114 * stdlib/l64a.c: Produce least significant digit first.
115 * stdlib/Makefile (tests): Add test-a64l.
116 * stdlib/test-a64l.c: New file.
117 Reported by Masaki Hasegawa <masaki-h@pp.iij4u.or.jp>.
119 2001-10-21 Ulrich Drepper <drepper@redhat.com>
121 * po/sk.po: Update from translation team.
123 2001-10-18 Ulrich Drepper <drepper@redhat.com>
125 * sysdeps/i386/elf/start.S (_fp_hw): Define object type.
127 2001-10-18 Andreas Schwab <schwab@suse.de>
129 * math/libm-test.inc (print_ulps): Print ulp values rounded to
131 (print_function_ulps): Likewise.
132 (print_complex_function_ulps): Likewise.
133 (print_max_error): Likewise.
134 (print_complex_max_error): Likewise. Handle ignore_max_ulp.
136 2001-10-16 Andreas Schwab <schwab@suse.de>
138 * sysdeps/m68k/fpu/libm-test-ulps: Updated for fixed cbrtl
141 * sysdeps/m68k/setjmp.c: Also define setjmp and _setjmp if
142 BSD_SETJMP or BSD__SETJMP is defined, resp.
143 * sysdeps/m68k/bsd-setjmp.c: Inline setjmp code instead of making
144 a tail call to __sigsetjmp that would require extending the
146 * sysdeps/m68k/bsd-_setjmp.c: Likewise.
147 * sysdeps/m68k/bsd-setjmp.S: Deleted.
148 * sysdeps/m68k/bsd-_setjmp.S: Deleted.
149 Reported by Jes Sorensen <jes@trained-monkey.org>.
151 2001-10-16 Andreas Jaeger <aj@suse.de>
153 * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Fix
154 parentheses. Reported by David Byron <dbyron@porto.coactive.com>,
157 2001-10-15 Ulrich Drepper <drepper@redhat.com>
159 * po/ca.po: New file. Contributed by the translation team.
161 2001-10-15 Ralf Baechle <ralf@gnu.org>
163 * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Make sysmips() prototype
164 a varargs prototype. Remove dependency from kernel header files.
166 * sysdeps/unix/sysv/linux/mips/bits/termios.h: General cleanup, use
167 __USE_MISC / __USE_XOPEN not __USE_BSD where appropriate.
169 2001-10-14 Ulrich Drepper <drepper@redhat.com>
171 * locale/programs/ld-collate.c (handle_ellipsis): Use %lX not %lx
172 to generate hexadecimal identifier.
173 Patch by Jungshik Shin <jungshik.shin@yale.edu>.
175 2001-10-09 Stephen L Moshier <moshier@mediaone.net>
177 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Fix algorithm.
179 2001-10-14 Ulrich Drepper <drepper@redhat.com>
181 * sysdeps/ieee754/ldbl-128/e_powl.c: New file.
182 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: New file.
183 Contributed by Stephen L Moshier <moshier@mediaone.net>.
185 * sysdeps/ieee754/ldbl-128/e_j0l.c: Constify float variables.
186 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
187 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise
188 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise
189 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise
190 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise
192 * timezone/africa: Update from tzdata2001d.
193 * timezone/asia: Likewise.
194 * timezone/australasia: Likewise.
195 * timezone/backward: Likewise.
196 * timezone/europe: Likewise.
197 * timezone/leapseconds: Likewise.
198 * timezone/northamerica: Likewise.
199 * timezone/southamerica: Likewise.
200 * timezone/zone.tab: Likewise.
202 2001-10-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
204 * sysdeps/s390/s390-32/sys/ucontext.h: Correct __psw_t typedef.
205 * sysdeps/s390/s390-64/sys/ucontext.h: Likewise.
207 2001-10-12 Ulrich Drepper <drepper@redhat.com>
209 * elf/elf.h (PT_TLS): New definition.
211 2001-10-10 Jeff Bailey <jbailey@nisa.net>
213 * sysdeps/mach/hurd/Makefile: Add $(CFLAGS) for generation of
216 2001-10-07 Roland McGrath <roland@frob.com>
218 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Never return ENOSYS.
220 2001-10-10 Ulrich Drepper <drepper@redhat.com>
222 * elf/elf.h: Add more ELFOSABI_* constants.
224 2001-10-04 Ben Collins <bcollins@debian.org>
226 * sysdeps/generic/inttypes.h: Fix typo (define, not defined) in
227 decleration of __need_wchar_t.
229 2001-10-03 Jakub Jelinek <jakub@redhat.com>
231 * string/bits/string2.h (__strsep_g): Add prototype.
233 * string/Versions (__strsep): Remove.
234 * sysdeps/generic/strsep.c (__strsep_g): Add alias to __strsep.
236 2001-10-07 Ulrich Drepper <drepper@redhat.com>
238 * manua/llio.texi: Clarify file references added by mmap.
239 Patch by Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
241 2001-09-29 Jes Sorensen <jes@trained-monkey.org>
243 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
244 Add sc_loadrs and sc_rbs_bas to match current kernel.
246 2001-09-27 Jakub Jelinek <jakub@redhat.com>
248 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
250 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Fix erfc(-inf).
252 2001-09-27 Jakub Jelinek <jakub@redhat.com>
254 * elf/dl-open.c (dl_open_worker): If l_opencount of freshly loaded
255 object has been bumped because of relocation dependency, avoid
256 duplicates in l_scope.
257 (show_scope): Fix typos.
258 * elf/Makefile: Add rules to build and run reldep6.
259 * elf/reldep6.c: New file.
260 * elf/reldep6mod0.c: New file.
261 * elf/reldep6mod1.c: New file.
262 * elf/reldep6mod2.c: New file.
263 * elf/reldep6mod3.c: New file.
264 * elf/reldep6mod4.c: New file.
266 2001-09-26 Jakub Jelinek <jakub@redhat.com>
268 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Call
270 (sparc64_fixup_plt): Moved from elf_machine_fixup_plt. Optimize
271 near jumps and 0xfffff800XXXXXXXX target addresses, no thread safety
272 for non-lazy binding. Fix .plt[32768+] handling.
273 (elf_machine_plt_value): Don't add addend.
274 (elf_machine_rela): Call sparc64_fixup_plt instead of
275 elf_machine_fixup_plt.
276 (elf_machine_runtime_setup, TRAMPOLINE_TEMPLATE): Optimize for
277 dynamic linker at 0xfffff800XXXXXXXX.
279 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
281 2001-09-28 Ulrich Drepper <drepper@redhat.com>
283 * elf/elf.h: Define SHF_GROUP and SHF_TLS.
285 2001-09-25 Jakub Jelinek <jakub@redhat.com>
287 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (struct cmsghdr): Don't
288 declare __cmsg_data field if its size would be bigger than 0.
289 (CMSG_DATA): Adjust accordingly.
290 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
291 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Likewise.
292 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
293 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
294 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
295 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
296 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
298 2001-09-25 Ulrich Drepper <drepper@redhat.com>
300 * iconvdata/TESTS: Add entries for IBM1160 and IBM1161.
301 * iconvdata/testdata/IBM1160: New file.
302 * iconvdata/testdata/IBM1160..UTF8: New file.
303 * iconvdata/testdata/IBM1161: New file.
304 * iconvdata/testdata/IBM1161..UTF8: New file.
305 Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
307 2001-09-24 Ulrich Drepper <drepper@redhat.com>
309 * sysdeps/unix/bsd/ulimit.c (ulimit): Handle overflow in
310 UL_SETFSIZE computations better.
312 * rt/Makefile: Remove use of filter for librt again.
314 * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Handle overflow in
315 UL_SETFSIZE computations better.
317 * string/Versions: Export __strsep for GLIBC_2.2.5.
318 * string/bits/string2.h: Define all __STRING_INLINE functions if
319 _FORCE_INLINES is defined.
320 Use int instead of char of parameter types.
321 (__strsep): Don't use __strsep_g. Don't define it.
322 (__strsep_1c, __strsep_2c, __strsep_3c): Optimize.
323 * sysdeps/i386/i486/string.h (__strcpy_a_small): Renamed from
325 (__stpcpy_a_small): Renamed from __stpcpy_small.
326 (__strcspn_c1): Don't define if _FORCE_INLINES.
327 (__strspn_c1): Likewise.
329 2001-09-22 Ben Collins <bcollins@debian.org>
331 * sysdeps/sparc/bits/sigaction.h: Define SA_RESTART and friends when
332 _UNIX98_SOURCE is defined too. Matches generic/bits/sigaction.h.
333 * sysdeps/ia64/bits/sigaction.h: Likewise.
334 * sysdeps/s390/s390-64/bits/sigaction.h: Likewise.
336 2001-09-24 Andrew Haley <aph@cambridge.redhat.com>
338 * sysdeps/unix/sysv/linux/sh/Makefile (sysdep_headers): Add sys/io.h.
340 2001-09-24 Jakub Jelinek <jakub@redhat.com>
342 * elf/dl-open.c (dl_open_worker): Update l_scope_max.
344 2001-09-24 Ulrich Drepper <drepper@redhat.com>
346 * wcsmbs/wchar.h: Add __attribute_pure__ to mbsinit prototype.
348 2001-09-20 H.J. Lu <hjl@gnu.org>
350 * include/dlfcn.h (__RTLD_SPROF): New definiton.
351 * elf/dl-open.c (dl_open_worker): Return immediately after loading
353 * elf/sprof.c (main): Default to the filename if soname doesn't exist.
354 (load_shobj): Call dlopen with `RTLD_LAZY | __RTLD_SPROF'.
356 2001-09-20 H.J. Lu <hjl@gnu.org>
358 * elf/dl-profile.c (_dl_mcount): Use old *narcsp value for newarc,
361 2001-09-22 Ulrich Drepper <drepper@redhat.com>
363 * nss/getent.c: Accept -s parameter to overwrite rules in
364 nsswitch.conf. Patch by Nalin Dahyabhai <nalin@redhat.com>.
366 * nss/nss_files/files-network.c (LINE_PARSER): Pad addr string
367 with as many ".0" as necessary to form a complete address
368 inet_network understands.
370 * nss/getent.c: Various cleanups. Use simpler and fewer function
373 2001-09-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
375 * sysdeps/s390/s390-32/bits/setjmp.h: Correct pointer comparison in
377 * sysdeps/s390/s390-64/bits/setjmp.h: Likewise.
379 2001-09-22 Ulrich Drepper <drepper@redhat.com>
381 * iconvdata/Makefile: Add rules to build and distribute IBM1160 and
383 * iconvdata/gconv-modules: Add entries for IBM1160 and IBM1161.
384 * iconvdata/ibm1160.c: New file.
385 * iconvdata/ibm1160.h: New file.
386 * iconvdata/ibm1161.c: New file.
387 * iconvdata/ibm1161.h: New file.
388 Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
390 2001-09-19 Jakub Jelinek <jakub@redhat.com>
392 * sysdeps/alpha/dl-machine.h (elf_machine_load_address): Compute the
393 difference between base address and first PT_LOAD's virtual address,
394 not the base address.
396 2001-09-11 Tom Rix <trix@redhat.com>
398 * sysdeps/unix/sysv/aix/init-first.c (init): Use USE_NONONPTION_FLAG
399 ifdef for __getopt_clean_environment.
400 * sysdeps/unix/sysv/aix/libc-start.c: Add real implementation.
402 2001-09-22 Andreas Jaeger <aj@suse.de>
404 * elf/reldep4.c (main): Add proper prototype to fix warning.
406 * elf/reldep5.c (main): Remove unused variable.
408 * math/math_private.h: Add prototypes.
410 2001-09-21 Andreas Jaeger <aj@suse.de>
412 * sysdeps/unix/sysv/linux/x86_64/Dist: New file.
413 * sysdeps/x86_64/Dist: New file.
414 * sysdeps/x86_64/soft-fp/Dist: New file.
416 * sysdeps/gnu/Dist: Remove eval.c.
418 2001-09-20 Ulrich Drepper <drepper@redhat.com>
420 * malloc/memusage.c (realloc): Don't count already allocated
422 (me): Always use dlsym() to find the real implementations.
424 * malloc/memusage.sh: Make -n option actually do something.
426 2001-09-20 Andreas Jaeger <aj@suse.de>
428 * elf/elf.h (R_390_NUM): Correct value.
430 * Versions.def: Add missing versions 2.2.3 for libthread_db and
433 * sysdeps/unix/sysv/linux/configure.in: Add minimal kernel version
434 for x86-64, install x86-64 into */lib64.
436 * shlib-versions: Add x86-64.
438 * elf/elf.h: Add x86-64 relocations.
440 2001-09-19 Ulrich Drepper <drepper@redhat.com>
442 * po/fr.po: Update from translation team.
444 2001-09-19 Andreas Jaeger <aj@suse.de>
446 * sysdeps/unix/sysv/linux/x86_64/Makefile: New file.
447 * sysdeps/unix/sysv/linux/x86_64/Versions: New file.
448 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: New file.
449 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: New file.
450 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: New file.
451 * sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: New file.
452 * sysdeps/unix/sysv/linux/x86_64/bits/time.h: New file.
453 * sysdeps/unix/sysv/linux/x86_64/bits/types.h: New file.
454 * sysdeps/unix/sysv/linux/x86_64/brk.c: New file.
455 * sysdeps/unix/sysv/linux/x86_64/clone.S: New file.
456 * sysdeps/unix/sysv/linux/x86_64/fstatfs64.c: New file.
457 * sysdeps/unix/sysv/linux/x86_64/ftruncate64.c: New file.
458 * sysdeps/unix/sysv/linux/x86_64/fxstat.c: New file.
459 * sysdeps/unix/sysv/linux/x86_64/fxstat64.c: New file.
460 * sysdeps/unix/sysv/linux/x86_64/getdents.c: New file.
461 * sysdeps/unix/sysv/linux/x86_64/getdents64.c: New file.
462 * sysdeps/unix/sysv/linux/x86_64/getrlimit64.c: New file.
463 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
464 * sysdeps/unix/sysv/linux/x86_64/glob64.c: New file.
465 * sysdeps/unix/sysv/linux/x86_64/lxstat.c: New file.
466 * sysdeps/unix/sysv/linux/x86_64/lxstat64.c: New file.
467 * sysdeps/unix/sysv/linux/x86_64/mmap64.c: New file.
468 * sysdeps/unix/sysv/linux/x86_64/pread64.c: New file.
469 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: New file.
470 * sysdeps/unix/sysv/linux/x86_64/pwrite64.c: New file.
471 * sysdeps/unix/sysv/linux/x86_64/readdir.c: New file.
472 * sysdeps/unix/sysv/linux/x86_64/readdir64.c: New file.
473 * sysdeps/unix/sysv/linux/x86_64/readdir64_r.c: New file.
474 * sysdeps/unix/sysv/linux/x86_64/readdir_r.c: New file.
475 * sysdeps/unix/sysv/linux/x86_64/recv.c: New file.
476 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: New file.
477 * sysdeps/unix/sysv/linux/x86_64/send.c: New file.
478 * sysdeps/unix/sysv/linux/x86_64/setrlimit64.c: New file.
479 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: New file.
480 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: New file.
481 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: New file.
482 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: New file.
483 * sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: New file.
484 * sysdeps/unix/sysv/linux/x86_64/statfs64.c: New file.
485 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: New file.
486 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: New file.
487 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: New file.
488 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: New file.
489 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: New file.
490 * sysdeps/unix/sysv/linux/x86_64/syscall.S: New file.
491 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: New file.
492 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: New file.
493 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: New file.
494 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
495 * sysdeps/unix/sysv/linux/x86_64/truncate64.c: New file.
496 * sysdeps/unix/sysv/linux/x86_64/umount.c: New file.
497 * sysdeps/unix/sysv/linux/x86_64/vfork.S: New file.
498 * sysdeps/unix/sysv/linux/x86_64/xstat.c: New file.
499 * sysdeps/unix/sysv/linux/x86_64/xstat64.c: New file.
500 * sysdeps/unix/x86_64/sysdep.S: New file.
501 * sysdeps/unix/x86_64/sysdep.h: New file.
502 * sysdeps/x86_64/Implies: New file.
503 * sysdeps/x86_64/Makefile: New file.
504 * sysdeps/x86_64/Versions: New file.
505 * sysdeps/x86_64/__longjmp.S: New file.
506 * sysdeps/x86_64/abort-instr.h: New file.
507 * sysdeps/x86_64/atomicity.h: New file.
508 * sysdeps/x86_64/bits/endian.h: New file.
509 * sysdeps/x86_64/bits/setjmp.h: New file.
510 * sysdeps/x86_64/bits/string.h: New file.
511 * sysdeps/x86_64/bp-asm.h: New file.
512 * sysdeps/x86_64/bsd-_setjmp.S: New file.
513 * sysdeps/x86_64/bsd-setjmp.S: New file.
514 * sysdeps/x86_64/dl-machine.h: New file.
515 * sysdeps/x86_64/elf/initfini.c: New file.
516 * sysdeps/x86_64/elf/start.S: New file.
517 * sysdeps/x86_64/ffs.c: New file.
518 * sysdeps/x86_64/ffsll.c: New file.
519 * sysdeps/x86_64/fpu/bits/fenv.h: New file.
520 * sysdeps/x86_64/fpu/bits/mathdef.h: New file.
521 * sysdeps/x86_64/fpu/e_acosl.c: New file.
522 * sysdeps/x86_64/fpu/e_atan2l.c: New file.
523 * sysdeps/x86_64/fpu/e_exp2l.S: New file.
524 * sysdeps/x86_64/fpu/e_expl.c: New file.
525 * sysdeps/x86_64/fpu/e_fmodl.S: New file.
526 * sysdeps/x86_64/fpu/e_log10l.S: New file.
527 * sysdeps/x86_64/fpu/e_log2l.S: New file.
528 * sysdeps/x86_64/fpu/e_logl.S: New file.
529 * sysdeps/x86_64/fpu/e_powl.S: New file.
530 * sysdeps/x86_64/fpu/e_rem_pio2l.c: New file.
531 * sysdeps/x86_64/fpu/e_scalbl.S: New file.
532 * sysdeps/x86_64/fpu/e_sqrtl.c: New file.
533 * sysdeps/x86_64/fpu/fclrexcpt.c: New file.
534 * sysdeps/x86_64/fpu/fedisblxcpt.c: New file.
535 * sysdeps/x86_64/fpu/feenablxcpt.c: New file.
536 * sysdeps/x86_64/fpu/fegetenv.c: New file.
537 * sysdeps/x86_64/fpu/fegetexcept.c: New file.
538 * sysdeps/x86_64/fpu/fegetround.c: New file.
539 * sysdeps/x86_64/fpu/feholdexcpt.c: New file.
540 * sysdeps/x86_64/fpu/fesetenv.c: New file.
541 * sysdeps/x86_64/fpu/fesetround.c: New file.
542 * sysdeps/x86_64/fpu/fgetexcptflg.c: New file.
543 * sysdeps/x86_64/fpu/fraiseexcpt.c: New file.
544 * sysdeps/x86_64/fpu/fsetexcptflg.c: New file.
545 * sysdeps/x86_64/fpu/ftestexcept.c: New file.
546 * sysdeps/x86_64/fpu/libm-test-ulps: New file.
547 * sysdeps/x86_64/fpu/math_ldbl.h: New file.
548 * sysdeps/x86_64/fpu/printf_fphex.c: New file.
549 * sysdeps/x86_64/fpu/s_atanl.c: New file.
550 * sysdeps/x86_64/fpu/s_cosl.S: New file.
551 * sysdeps/x86_64/fpu/s_expm1l.S: New file.
552 * sysdeps/x86_64/fpu/s_fpclassifyl.c: New file.
553 * sysdeps/x86_64/fpu/s_isinfl.c: New file.
554 * sysdeps/x86_64/fpu/s_isnanl.c: New file.
555 * sysdeps/x86_64/fpu/s_log1pl.S: New file.
556 * sysdeps/x86_64/fpu/s_logbl.c: New file.
557 * sysdeps/x86_64/fpu/s_nextafterl.c: New file.
558 * sysdeps/x86_64/fpu/s_nexttoward.c: New file.
559 * sysdeps/x86_64/fpu/s_nexttowardf.c: New file.
560 * sysdeps/x86_64/fpu/s_rintl.c: New file.
561 * sysdeps/x86_64/fpu/s_significandl.c: New file.
562 * sysdeps/x86_64/fpu/s_sincosl.S: New file.
563 * sysdeps/x86_64/fpu/s_sinl.S: New file.
564 * sysdeps/x86_64/fpu/s_tanl.S: New file.
565 * sysdeps/x86_64/gmp-mparam.h: New file.
566 * sysdeps/x86_64/hp-timing.c: New file.
567 * sysdeps/x86_64/hp-timing.h: New file.
568 * sysdeps/x86_64/htonl.S: New file.
569 * sysdeps/x86_64/memusage.h: New file.
570 * sysdeps/x86_64/setjmp.S: New file.
571 * sysdeps/x86_64/soft-fp/sfp-machine.h: New file.
572 * sysdeps/x86_64/stackinfo.h: New file.
573 * sysdeps/x86_64/sysdep.h: New file.
574 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: New file.
576 * sysdeps/ieee754/ldbl-128/s_erfl.c: New file, contributed Stephen
579 2001-09-18 Ulrich Drepper <drepper@redhat.com>
581 * malloc/malloc.c (ptmalloc_init): Handle _environ==NULL.
582 Reported by B. D. Elliott <bde@nwlink.com> [PR libc/2541].
584 2001-09-18 Andreas Schwab <schwab@suse.de>
586 * elf/dl-load.c (_dl_map_object_from_fd): Update handling of scope
587 list, now that l_scope is a pointer.
589 * elf/dl-open.c (dl_open_worker): Fix thinko when enlarging the
592 2001-09-18 kaz Kojima <kkojima@rr.iij4u.or.jp>
594 * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix reverse condition.
595 (elf_machine_rela_relative): Add a missing declaration.
597 2001-09-18 Jakub Jelinek <jakub@redhat.com>
599 * sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: New.
600 * sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed: New.
601 * sysdeps/unix/sysv/linux/configure.in: Add ia64 and s390
604 2001-09-18 Ulrich Drepper <drepper@redhat.com>
606 * elf/ldd.bash.in: Update copyright message.
608 2001-09-17 H.J. Lu <hjl@gnu.org>
610 * hurd/hurdmalloc.c (bcopy): Removed.
611 (realloc): Replace bcopy with memcpy.
612 * hurd/path-lookup.c (file_name_path_scan): Likewise.
613 * resolv/gethnamaddr.c (map_v4v6_address): Likewise.
614 * sunrpc/rpcinfo.c (pmapdump): Likewise.
616 * resolv/gethnamaddr.c (getanswer): Replace bcopy with memmove.
617 (gethostbyaddr): Likewise.
618 * sunrpc/rpcinfo.c (get_inet_address): Likewise.
620 2001-09-18 Ulrich Drepper <drepper@redhat.com>
622 * sysdeps/gnu/eval.c: Removed.
624 2001-09-18 Andreas Jaeger <aj@suse.de>
626 * sysdeps/i386/fpu/s_logbl.S: Move to ...
627 * sysdeps/i386/fpu/s_logbl.c: ...here, use inline assembler.
629 * sysdeps/i386/fpu/s_rintl.S: Move to ...
630 * sysdeps/i386/fpu/s_rintl.c: ...here, use inline assembler.
632 * sysdeps/i386/fpu/s_significandl.S: Move to ...
633 * sysdeps/i386/fpu/s_significandl.c: ...here, use inline assembler.
635 2001-09-16 Ulrich Drepper <drepper@redhat.com>
637 * string/strcoll.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get
640 2001-09-14 H.J. Lu <hjl@gnu.org>
642 * sysdeps/mips/fpu/libm-test-ulps: Updated.
644 2001-09-14 Ulrich Drepper <drepper@redhat.com>
646 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix a typo.
647 Patch by Florian La Roche <laroche@redhat.com>.
649 * string/bits/string2.h (__strtok_r_1c): Optimize a bit.
651 * sysdeps/unix/sysv/linux/net/ethernet.h: Correct references to
654 2001-09-14 Andreas Schwab <schwab@suse.de>
656 * posix/execl.c: Fix last argument of memcpy. Reported by Brian
657 Sumner <bls@sgi.com>.
658 * posix/execlp.c: Likewise.
660 2001-09-13 Jakub Jelinek <jakub@redhat.com>
662 * elf/dl-deps.c (_dl_map_object_deps): Fix filter handling if filter
663 is already found earlier in the search scope.
665 2001-09-12 Jakub Jelinek <jakub@redhat.com>
667 * rt/Makefile (LDFLAGS-rt.so): Use shared thread library as librt's
670 2001-09-13 Ulrich Drepper <drepper@redhat.com>
672 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust expected errors for j0.
674 2001-09-12 Ulrich Drepper <drepper@redhat.com>
676 * config.h.in: Enforce optimization to be used.
677 * Makeconfig (preprocess-versions): Define ASSEMBLER.
678 * stdlib/Makefile (isomac-CFLAGS): Define to -O.
679 * posix/Makefile (annexc-CFLAGS): Define to -O.
680 * sysdeps/unix/make-syscalls.sh: Define __OPTIMIZE__ in use of asm_CPP.
682 2001-09-11 Ulrich Drepper <drepper@redhat.com>
684 * nscd/nscd_gethst_r.c: Don't expect IPv6 addresses for IPv4 lookup.
685 Patch by Stephan Kulow.
687 2001-09-08 Ben Collins <bcollins@debian.org>
689 * sysdeps/arm/dl-machine.h (elf_machine_rel): Fix thinko in
690 usage of RESOLVE() (r_type, not reloc->r_type).
692 2001-09-08 Ulrich Drepper <drepper@redhat.com>
694 * elf/dl-object.c: Avoid allocating extra memory block for name.
695 * elf/dl-close.c (_dl_close): Don't free l_libname if it is not
696 allocated separately.
697 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
699 2001-09-08 H.J. Lu <hjl@gnu.org>
701 * po/zh_TW.po: Fix a typo.
703 2001-09-07 Tom Rix <trix@redhat.com>
705 * sysdeps/unix/sysv/aix/sysv_termio.h: New file.
707 2001-08-26 Tom Rix <trix@redhat.com>
709 * sysdeps/unix/sysv/aix/Makefile (aix-syscalls.o): More linker
710 command line options.
711 * sysdeps/unix/sysv/aix/start.s: New file, rework of start.c
712 * sysdeps/unix/sysv/aix/start.c: Removed.
713 * sysdeps/unix/sysv/aix/start-libc.c: New file.
714 * sysdeps/unix/sysv/aix/init-first.c: New file.
715 * sysdeps/unix/sysv/aix/fcntl.c: Alias __libc_fcntl to __fcntl.
717 2001-09-08 Ben Collins <bcollins@debian.org>
719 * sysdeps/arm/dl-machine.h: Fix usage of new _dl_signal_error() format.
720 * sysdeps/generic/dl-machine.h: Likewise.
721 * sysdeps/hppa/dl-fptr.c: Likewise.
722 * sysdeps/ia64/dl-fptr.c: Likewise.
723 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
724 * sysdeps/mips/dl-machine.h: Likewise.
725 * sysdeps/mips/mips64/dl-machine.h: Likewise.
726 * sysdeps/powerpc/dl-machine.c: Likewise.
728 2001-09-07 Ben Collins <bcollins@debian.org>
730 * sysdeps/sparc/sparc32/dl-machine.h: Fix typo.
732 * sysdeps/hppa/dl-lookupcfg.h: Forward declare struct link_map.
734 2001-09-08 Ulrich Drepper <drepper@redhat.com>
736 * elf/dl-lookup.c (add_dependency): Bump l_opencount of all
737 dependencies if necessary.
739 * elf/dl-close.c (_dl_close): If object has no r_list (i.e., wasn't
740 loaded directly) determine length if l_initfini list by iterating
741 over its elements. Minor optimizations.
742 * elf/dl-deps.c (_dl_map_object_deps): Always add own map to l_initfini
743 for dependency objects.
744 If object was already loaded check whether any of the dependencies
745 is already on the relocation dependency list. If yes, remove the
746 latter. Minor optimizations.
747 * elf/dl-lookup.c (add_dependency): Add check for self reference of
748 maps here. Search l_initfini list only if the object was loaded
749 directly and not only as a dependency.
750 (_dl_lookup_symbol): Add relocation dependency also if object
751 is not in global scope. Remove test for self-reference here.
752 (_dl_lookup_versioned_symbol): Likewise.
753 * elf/dl-object (_dl_new_object): Cleanup. Initialize dont_free
754 element of first name record.
755 * elf/loadtest.c: Add some more test to recognize early if an object
757 * elf/Makefile: Add rules to build and run reldep5.
758 * elf/reldep5.c: New file.
759 * elf/reldepmod5.c: New file.
760 * elf/reldepmod6.c: New file.
762 * elf/reldep2.c: Fix typo.
764 2001-09-07 Ulrich Drepper <drepper@redhat.com>
766 * include/link.h (struct link_map): Add l_scope_mem and l_scope_max
767 elements. Change l_scope to be a pointer only.
768 * elf/dl-object.c (_dl_new_object): Initialize l_scope and l_scope_max.
769 * elf/dl-open.c (dl_open_worker): If dependency wasn't just opened
770 here add searchlist of newly open file to the dependency's scope.
771 * elf/dl-close.c (_dl_close): If dependency is used otherwise remove
772 only searchlist from its scope. Free own scope array if necessary.
773 * elf/Makefile (tests): Add dblload and dblunload now.
775 2001-09-06 Andreas Jaeger <aj@suse.de>
777 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: New file, contributed
780 2001-09-05 Ulrich Drepper <drepper@redhat.com>
782 * elf/Makefile: Add rules to build new tests. Don't run them yet since
784 * elf/dblload.c: New file.
785 * elf/dblloadmod1.c: New file.
786 * elf/dblloadmod2.c: New file.
787 * elf/dblloadmod3.c: New file.
788 * elf/dblunload.c: New file.
790 2001-09-04 Richard Henderson <rth@redhat.com>
792 * elf/elf.h (R_ALPHA_OP_*, R_ALPHA_IMMED_*): Remove.
793 (R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16.
795 2001-09-04 Ulrich Drepper <drepper@redhat.com>
797 Correct very misleading message for error in failed runtime relocation.
798 * elf/dl-error.c (_dl_signal_error): Take extra parameter to describe
800 (_dl_signal_cerror): Likewise.
801 * sysdeps/generic/ldsodefs.h: Adjust prototypes.
802 * elf/dl-close.c: Likewise.
803 * elf/dl-deps.c: Likewise.
804 * elf/dl-load.c: Likewise.
805 * elf/dl-lookup.c: Likewise.
806 * elf/dl-open.c: Likewise.
807 * elf/dl-reloc.c: Likewise.
808 * elf/dl-sym.c: Likewise.
809 * elf/dl-version.c: Likewise.
810 * sysdeps/generic/dl-sysdep.c: Likewise.
812 2001-09-04 Jakub Jelinek <jakub@redhat.com>
814 * iconv/strtab.c (strtabinit): Initialize null Strent.
815 (newstring): Move len == 0 handling...
816 (strtabadd): ...here.
817 If len == 1, return null Strent.
818 When inserting a suffix of an existing string, check if
819 it is not equal to some suffix already recorded.
820 Copy left and right members over if adding longer string.
822 2001-09-04 Jakub Jelinek <jakub@redhat.com>
824 * sunrpc/rpc_cout.c (upcase): Account for trailing '\0'.
826 * sysdeps/unix/sysv/linux/alpha/gethostname.c: Include <errno.h>.
827 (__syscall_gethostname): Add prototype.
829 2001-09-04 Ulrich Drepper <drepper@redhat.com>
831 * elf/dl-object.c (_dl_new_object): Remove unnecessary if.
833 2001-09-02 Ulrich Drepper <drepper@redhat.com>
835 * elf/rtld.c (dl_main): Increment l_opencount for main binary.
837 2001-08-27 Roland McGrath <roland@frob.com>
839 * sysdeps/unix/sysv/gethostname.c (__gethostname): When LEN is too
840 short, copy that much into NAME anyway before returning error.
842 2001-09-01 Richard Henderson <rth@redhat.com>
844 * sysdeps/alpha/elf/Dist: Remove file.
845 * sysdeps/alpha/elf/Makefile: Remove file.
846 * sysdeps/alpha/elf/crtbegin.S: Remove file.
847 * sysdeps/alpha/elf/crtend.S: Remove file.
848 * sysdeps/alpha/elf/initfini.c: New file.
850 2001-09-01 Mark Kettenis <kettenis@gnu.org>
852 * iconv/tst-iconv1.c: Include <stddef.h> for wchar_t.
853 * iconv/tst-iconv3.c: Likewise.
855 2001-09-01 Jakub Jelinek <jakub@redhat.com>
857 * sysdeps/generic/inttypes.h (__gwchar_t): Define to wchar_t for C++.
859 2001-09-01 Ulrich Drepper <drepper@redhat.com>
861 * iconv/gconv_cache.c: Rename variable cache to __gconv_cache and
863 * iconv/Versions (libc) [GLIBC_2.2.5]: Export __gconv_cache.
864 * iconv/iconv_prog.c (insert_cache): New function.
865 (print_known_names): If cache is used call insert_cache to use the
866 information from the cache [PR libc/2509].
868 2001-08-31 Ulrich Drepper <drepper@redhat.com>
870 * time/strptime.c (strptime_internal): Recognize 'l' format and
871 handle it like 'I' for symmetry with strftime.
873 2001-08-31 Richard Henderson <rth@redhat.com>
875 * elf/dl-support.c (_dl_cpuclock_offset): Protect with NONAVAIL.
876 (HP_TIMING_AVAIL): Set to HP_SMALL_TIMING_AVAIL if present.
877 * elf/rtld.c (HP_TIMING_AVAIL): Likewise.
878 (print_statistics): Make scalar unsigned long long.
879 * sysdeps/alpha/hp-timing.h: New file.
881 2001-08-31 Jakub Jelinek <jakub@redhat.com>
883 * stdio-common/perror.c (perror): Save errno early, pass it
884 down to perror_internal.
885 (perror_internal): Add errnum argument.
887 2001-08-31 Jakub Jelinek <jakub@redhat.com>
889 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Remove unused code.
890 Don't add old memory content for R_ALPHA_REFQUAD.
892 2001-08-30 Ulrich Drepper <drepper@redhat.com>
894 * crypt/md5-crypt.c (__md5_crypt_r): Compute used and required
897 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Use __open
898 instead of open, __close instead of close, __getpagesize instead
901 * string/argz-stringify.c (__argz_stringify): Use __strnlen
903 * include/string.h (strndupa): Redefine here to use __strnlen
905 * string/strndup.c (__strndup): Use __strnlen not strnlen.
907 * misc/syslog.c (vsyslog): Fix typo in last change (connect ->
910 2001-08-30 Jakub Jelinek <jakub@redhat.com>
912 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
913 R_ALPHA_RELATIVE if RTLD_BOOTSTRAP and HAVE_Z_COMBRELOC. Only check
914 for rtld map if neither RTLD_BOOTSTRAP nor HAVE_Z_COMBRELOC is defined.
915 * sysdeps/i386/dl-machine.h (elf_machine_rel): Similarly.
916 * sysdeps/ia64/dl-machine.h (elf_machine_rel): Similarly.
917 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rel): Similarly.
918 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rel): Similarly.
920 2001-08-30 Ulrich Drepper <drepper@redhat.com>
922 * sysdeps/alpha/fpu/libm-test-ulps: Adjust j0 ULPs.
924 2001-08-30 Andreas Jaeger <aj@suse.de>
926 * sysdeps/ieee754/ldbl-128/e_jnl.c: New file,
927 contributed Stephen L Moshier.
929 2001-08-30 Jakub Jelinek <jakub@redhat.com>
931 * sunrpc/etc.rpc (sgi_fam): Add.
933 2001-08-30 Ulrich Drepper <drepper@redhat.com>
935 * sysdeps/unix/sysv/linux/alpha/gethostname.c: New file.
937 2001-08-29 Ulrich Drepper <drepper@redhat.com>
939 * nis/nis_findserv.c (__nis_findfastest): Don't fail if reply received
940 first is from a previous call.
941 Patch by Alexander Belopolsky <alexb@rentec.com> for [PR libc/3670].
943 2001-08-29 Andreas Schwab <schwab@suse.de>
945 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
947 2001-08-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
949 * config.make.in (INSTALL_SCRIPT): Define.
950 * Makeconfig (INSTALL_SCRIPT): Define.
951 * Makerules (do-install-script): New macro to install scripts using
953 (install-bin-script): New rule to install scripts with
955 (install-bin-script-nosubdir): New rule.
956 (install-no-libc.a-nosubdir): Add install-bin-script-nosubdir.
957 (distinfo-vars): Add $(install-bin-script).
958 * Rules (others): Likewise.
959 * Makefile (glibcbug): Install with install-bin-script.
960 * debug/Makefile (xtrace): Likewise.
961 (catchsegv): Likewise.
962 * elf/Makefile (ldd): Likewise.
963 * malloc/Makefile (mtrace): Likewise.
964 * timezone/Makefile (tzselect): Likewise.
966 2001-08-29 H.J. Lu <hjl@gnu.org>
968 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Pass
969 ELF_RTYPE_CLASS_PLT, instead of R_MIPS_REL32, to
970 _dl_lookup_versioned_symbol () and _dl_lookup_symbol ().
972 2001-08-29 Andreas Schwab <schwab@suse.de>
974 * sysdeps/m68k/fpu/libm-test-ulps: Updated.
976 2001-08-28 H.J. Lu <hjl@gnu.org>
978 * Makeconfig (combreloc-LDFLAGS): New variable.
979 Add it to LDFLAGS.so, LDFLAGS-rtld, and +link.
980 * config.make.in (have-z-combreloc): New variable.
981 * configure.in: Substitute libc_cv_z_combreloc.
983 2001-08-29 Ulrich Drepper <drepper@redhat.com>
985 * po/sv.po: Update from translation team.
986 * po/fr.po: Likewise.
987 * po/da.po: Likewise.
989 2001-08-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
991 * Makerules: Fix a typo: MD% -> MD5.
993 2001-08-28 Ulrich Drepper <drepper@redhat.com>
995 * sunrpc/rpc_hout.c (pargdef): Function must take pointer to object.
996 Patch by Patrick Duval <Patrick.Duval@devinci.fr>.
998 2001-08-28 Andreas Jaeger <aj@suse.de>
1000 * manual/libc-texinfo.sh: Add entry about free manuals.
1002 * manual/contrib.texi (Contributors): Fix cross reference.
1004 * manual/libc.texinfo (Copying): Include freemanuals.
1006 * manual/Makefile (appendices): Add freemanuals.
1008 * manual/freemanuals.texi: New file.
1009 Patch by Brian Youmans <3diff@gnu.org>.
1011 * manual/libm-err-tab.pl: Pretty print more platforms, print a
1014 * manual/math.texi (Errors in Math Functions): Fix grammar, start
1015 table on separate page.
1016 Patch by Brian Youmans <3diff@gnu.org>.
1018 2001-08-27 Ulrich Drepper <drepper@redhat.com>
1020 * misc/syslog.c (vsyslog): Try a bit harder to use syslogd. If
1021 the connection went down after we first used it try to connect
1022 again and resend the message before printing to the console.
1023 Reported by Coserea Gh. Tudor <tudore@tudore.gecadsoftware.com>.
1025 2001-08-27 Jakub Jelinek <jakub@redhat.com>
1027 * string/tst-strlen.c (main): Test strnlen (, -1) too.
1028 * sysdeps/generic/strnlen.c (__strnlen): Fix for maxlens with top
1031 2001-08-27 Ulrich Drepper <drepper@redhat.com>
1033 * iconv/strtab.c (searchstring): Use correct length for comparison.
1034 (strtabadd): Account total size correct if new string has old string as
1037 2001-08-27 Jakub Jelinek <jakub@redhat.com>
1039 * elf/rtld.c (dl_main): Update call to _dl_lookup_symbol.
1041 2001-08-27 Andreas Jaeger <aj@suse.de>
1043 * sysdeps/i386/fpu/libm-test-ulps (float): Add ulps for new tests.
1045 * math/libm-test.inc (j0_test): Add extra tests.
1046 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Use |x|,
1047 not x, in Hankel approximation.
1048 Patches by Stephen L Moshier.
1050 2001-08-26 Ulrich Drepper <drepper@redhat.com>
1052 * sysdeps/ia64/dl-lookupcfg.h: Add forward declaration for struct
1055 * configure.in: Fix test for .rela.dyn section.
1057 * elf/dl-runtime.c: Update calls to _dl_lookup_*.
1059 2001-08-26 Jakub Jelinek <jakub@redhat.com>
1061 * elf/dl-reloc.c (RESOLVE_MAP, RESOLVE): Use elf_machine_type_class
1062 instead of elf_machine_lookup_noexec_p and elf_machine_lookup_noplt_p.
1063 Pass type_class to _dl_lookup_*.
1064 * elf/dl-lookup.c (_dl_lookup_symbol): Take type_class parameter now.
1065 Pass around just type_class instead of noexec, noplt pair.
1066 (_dl_lookup_versioned_symbol): Likewise.
1067 (_dl_lookup_symbol_skip): Pass around just type_class instead of
1069 (_dl_lookup_versioned_symbol_skip): Likewise.
1070 (_dl_do_lookup, _dl_do_lookup_versioned): Likewise.
1071 * elf/do-lookup.h (do_lookup): Likewise.
1072 * include/link.h (struct link_map): Replace noexec and noplt fields
1073 in l_lookup_cache with type_class field.
1074 * sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_PLT,
1075 ELF_RTYPE_CLASS_COPY): Define.
1076 Adjust prototypes for _dl_lookup_symbol and
1077 _dl_lookup_versioned_symbol.
1078 * sysdeps/alpha/dl-machine.h (elf_machine_lookup_noplt_p,
1079 elf_machine_lookup_noexec_p): Remove.
1080 (elf_machine_type_class): Define.
1081 * sysdeps/arm/dl-machine.h: Likewise.
1082 * sysdeps/hppa/dl-machine.h: Likewise.
1083 * sysdeps/cris/dl-machine.h: Likewise.
1084 * sysdeps/i386/dl-machine.h: Likewise.
1085 * sysdeps/ia64/dl-machine.h: Likewise.
1086 * sysdeps/m68k/dl-machine.h: Likewise.
1087 * sysdeps/mips/mips64/dl-machine.h: Likewise.
1088 * sysdeps/mips/dl-machine.h: Likewise.
1089 * sysdeps/powerpc/dl-machine.h: Likewise.
1090 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1091 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1092 * sysdeps/sh/dl-machine.h: Likewise.
1093 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1094 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1096 2001-08-26 Ulrich Drepper <drepper@redhat.com>
1098 * manual/message.texi (Advanced gettext functions): Change
1099 description of plural forms for Slovak.
1100 Reported by Marcel Telka <marcel@telka.sk>.
1102 * manuaL/time.texi (Low-Level Time String Parsing): Fix description of
1103 %z. Reported by C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>.
1105 2001-08-26 Jakub Jelinek <jakub@redhat.com>
1107 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_lazy_rel): Fix a
1108 typo. Patch by Florian La Roche <laroche@redhat.com>.
1110 2001-08-26 Ulrich Drepper <drepper@redhat.com>
1112 * include/link.h (struct link_map): Add l_lookup_cache element.
1113 * elf/dl-reloc.c (RESOLVE): Add symbol caching here.
1114 (RESOLVE_MAP): Likewise.
1115 (_dl_relocate_object): Remove cache initialization.
1116 * elf/dl-lookup.c: Rip out cache handling code.
1117 * sysdeps/generic/ldsodefs.h: Remove lookup_cache struct and variable
1120 * elf/dl-lookup.c (_dl_lookup_symbol): Reorder some conditions and
1121 remove some __builtin_expect.
1122 (_dl_lookup_versioned_symbol): Likewise.
1124 * config.h.in: Add HAVE_Z_COMBRELOC.
1125 * configure.in: Add test for -z combreloc.
1127 * sysdeps/i386/dl-machine.h (elf_machine_rel): Minor cleanups and
1128 optimizations. Use HAVE_Z_COMBRELOC to avoid generaton of
1129 R_386_RELATIVE handling for ld.so startup. Reduce RTLD_BOOTSTRAP
1130 case to almost no code.
1132 2001-08-25 Ulrich Drepper <drepper@redhat.com>
1134 * po/tr.po: Update from translation team.
1136 2001-08-24 Andreas Jaeger <aj@suse.de>
1138 * iconv/Makefile (extra-objs): Add iconvconfig-modules so that
1141 2001-08-24 Ulrich Drepper <drepper@redhat.com>
1143 * elf/rtld.c (print_statistics): Printf % after percent values.
1144 * elf/dl-misc.c (_dl_debug_vdprintf): Implement %%.
1146 * elf/dl-lookup.c (_dl_lookup_symbol): If we use the cache we
1147 don't have to compute the hash value and initialize current_value.
1148 Move reference_name variable to where it is needed.
1149 (_dl_lookup_versioned_symbol): Likewise.
1151 2001-08-24 Roland McGrath <roland@frob.com>
1153 * string/tester.c (test_strerror): Don't use _sys_errlist/_sys_nerr.
1154 Just test that strerror returns non-null for a few errno codes.
1156 2001-08-23 Roland McGrath <roland@frob.com>
1158 * hurd/Versions (libc: GLIBC_2.2.5): New set; add _hurd_raise_signal,
1159 _hurdsig_interrupt_timeout, _hurdsig_fault_preemptor.
1161 * sysdeps/posix/shm_unlink.c (shm_unlink): __unlink -> unlink.
1163 * mach/Versions (libc: GLIBC_2.2.5): New set; add __mach_msg_destroy,
1166 2001-08-24 Ulrich Drepper <drepper@redhat.com>
1168 * nss/test-netdb.c (test_hosts): Don't segfault if gethostname
1171 * elf/do-rel.h (elf_dynamic_do_rel): Fix problem with ld.so
1172 startup. Explicitly remove lazy part for RTLD_BOOTSTRAP since gcc
1174 * elf/rtld.c: Include <sys/param.h>.
1175 * elf/dl-reloc.c: Likewise.
1177 2001-08-24 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1179 * sysdeps/unix/sysv/linux/mips/configure.in: Define AC_SUBST to
1180 empty to prevent junk from being generated.
1181 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1183 2001-08-24 Jakub Jelinek <jakub@redhat.com>
1185 * elf/do-rel.h (elf_dynamic_do_rel): If l_addr is 0, skip relative
1186 records. Rename endrel to relative, initialize it to r, and use it
1187 in elf_machine_rel_relative calls. Point r after relative relocs.
1189 2001-08-24 Ulrich Drepper <drepper@redhat.com>
1191 * sysdeps/i386/dl-machine.h (elf_machine_rel): Correct prediction
1194 2001-08-24 Jakub Jelinek <jakub@redhat.com>
1196 * elf/do-rel.h (elf_machine_rel_relative): Define for rela if
1197 necessary. Undefine newly defined macros at the end.
1198 * sysdeps/hppa/dl-machine.h (elf_machine_rela_relative):
1199 Rename from elf_machine_rel_relative.
1200 * sysdeps/cris/dl-machine.h (elf_machine_rela_relative): Likewise.
1201 * sysdeps/m68k/dl-machine.h (elf_machine_rela_relative): Likewise.
1202 * sysdeps/powerpc/dl-machine.h (elf_machine_rela_relative): Likewise.
1203 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela_relative):
1205 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela_relative):
1207 * sysdeps/ia64/dl-machine.h (elf_machine_rela_relative): Likewise.
1209 * sysdeps/alpha/dl-machine.h (elf_machine_rela_relative): Likewise.
1211 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela_relative):
1212 Likewise. Fix argument types.
1213 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela_relative):
1214 Likewise. Fix argument types.
1215 * sysdeps/sh/dl-machine.h (elf_machine_rela_relative): Likewise.
1217 * sysdeps/mips/dl-machine.h (elf_machine_rel_relative): Use
1218 ElfW(Rel) in argument.
1219 * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel_relative): New
1222 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
1224 * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix typo.
1226 2001-08-24 Andreas Jaeger <aj@suse.de>
1228 * sysdeps/ieee754/ldbl-128/e_j1l.c: New file, contributed by
1229 Stephen L Moshier <moshier@mediaone.net>.
1231 2001-08-24 Ulrich Drepper <drepper@redhat.com>
1233 * elf/do-rel.h (elf_dynamic_do_rel): RELATIVE relocations comes
1234 first if RELCOUNT is set.
1236 * elf/do-rel.h (elf_dynamic_do_rel): If not relocating lazily, don't
1237 call elf_machine_rel for the last DT_RELCOUNT relocations but instead
1238 elf_machine_rel_relative.
1239 * sysdeps/alpha/dl-machine.h: Define elf_machine_rel_relative.
1240 Minor optimizations.
1241 * sysdeps/arm/dl-machine.h: Likewise.
1242 * sysdeps/cris/dl-machine.h: Likewise.
1243 * sysdeps/hppa/dl-machine.h: Likewise.
1244 * sysdeps/i386/dl-machine.h: Likewise.
1245 * sysdeps/ia64/dl-machine.h: Likewise.
1246 * sysdeps/m68k/dl-machine.h: Likewise.
1247 * sysdeps/mips/dl-machine.h: Likewise.
1248 * sysdeps/powerpc/dl-machine.h: Likewise.
1249 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1250 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1251 * sysdeps/sh/dl-machine.h: Likewise.
1252 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1253 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1255 2001-08-23 Roland McGrath <roland@frob.com>
1257 * rt/tst-aio4.c [! SIGRTMIN] (SIGRTMIN, SIGRTMAX): Define as -1.
1259 * sysdeps/mach/hurd/bits/libc-lock.h: New file, initially copied from
1260 sysdeps/mach version. Implement counting ("recursive") mutexes
1261 on top of cthreads mutexes.
1262 * sysdeps/mach/hurd/bits/stdio-lock.h: File removed; generic now works.
1264 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Define to
1265 _LIBC_LOCK_RECURSIVE_INITIALIZER if defined, else do an #error.
1266 (__libc_cleanup_region_start, __libc_cleanup_region_end,
1267 __libc_clean_end): Define these to call the cleanup function after
1268 normal exit when they're supposed to.
1270 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start):
1271 Take new first arg DOIT, a boolean saying whether to really install
1272 any cleanup handler.
1273 (__libc_cleanup_region_end): Do nothing if start's DOIT arg was zero.
1274 (__libc_cleanup_end): Likewise.
1275 * sysdeps/generic/bits/libc-lock.h: Same changes.
1276 * stdio-common/vfscanf.c (LOCK_STREAM): Pass new arg.
1277 * stdio-common/vfprintf.c (buffered_vfprintf, vfprintf): Likewise.
1278 * sysdeps/mach/hurd/bits/stdio-lock.h (_IO_cleanup_region_start):
1280 * misc/syslog.c (vsyslog, openlog, closelog): Likewise.
1281 * sysdeps/generic/bits/stdio-lock.h
1282 (_IO_cleanup_region_start, _IO_cleanup_region_start_noarg): Likewise.
1284 2001-08-23 Jakub Jelinek <jakub@redhat.com>
1286 * elf/ldconfig.c (search_dir): Remove stale symlinks.
1288 2001-08-23 Jakub Jelinek <jakub@redhat.com>
1290 * elf/dl-lookup.c (lookup_cache, lookup_cache_versioned): New.
1291 (_dl_lookup_symbol): Lookup relocations in cache and store successfull
1293 (_dl_lookup_versioned_symbol): Likewise.
1294 * elf/dl-reloc.c (_dl_relocate_object): Initialize cache for
1296 * elf/rtld.c (print_statistics): Output _dl_num_cache_relocations.
1297 * sysdeps/generic/ldsodefs.h (struct lookup_cache): New definition.
1298 (lookup_cache, lookup_cache_versioned): Add declarations.
1300 2001-08-23 Ulrich Drepper <drepper@redhat.com>
1302 * stdlib/tst-random.c (main): Swap parameters in fail call.
1303 Patch by Pete Bevin <pete@petebevin.com>.
1305 2001-08-23 Jakub Jelinek <jakub@redhat.com>
1307 * sysdeps/generic/inttypes.h: Use __gwchar_t instead of __wchar_t.
1309 2001-08-23 Ulrich Drepper <drepper@redhat.com>
1311 * malloc/obstack.c: Indent preprocessor directives.
1312 Patch by Jim Meyering <meyering@ascend.com>.
1314 * po/ja.po: Update from translation team.
1316 2001-08-23 Roland McGrath <roland@frob.com>
1318 * libio/tst-ungetwc1.c (main): Add a const to quiet a warning.
1320 * nss/test-netdb.c (test_hosts): Don't use MAXHOSTNAMELEN.
1321 Instead, use dynamic buffer to test gethostname's ENAMETOOLONG error.
1323 2001-08-22 Roland McGrath <roland@frob.com>
1325 * sysdeps/generic/ldsodefs.h (_dl_load_lock): Declare it here with
1326 __libc_lock_define_recursive.
1327 * elf/dl-open.c: Don't declare it here any more.
1328 * elf/dl-close.c: Likewise.
1329 * elf/dl-lookup.c: Likewise.
1330 * elf/dl-iteratephdr.c: Likewise.
1331 * elf/dl-lookup.c (add_dependency): Use __libc_lock_lock_recursive and
1332 __libc_lock_unlock_recursive.
1333 * elf/dl-close.c (_dl_close): Likewise
1334 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise
1335 * elf/dl-open.c (_dl_open): Likewise
1337 * sysdeps/generic/bits/libc-lock.h
1338 (__libc_lock_define_recursive): New macro.
1339 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_t): Use it.
1340 (_IO_lock_lock): Use __libc_lock_lock_recursive.
1341 (_IO_lock_unlock): Use __libc_lock_unlock_recursive.
1343 * conform/conformtest.pl (checknamespace): Sort the output list.
1345 * sysdeps/generic/bits/poll.h (POLLWRBAND): New alias for POLLOUT.
1346 (POLLRDNORM, POLLRDBAND, POLLWRNORM, POLLWRBAND): Make these
1347 definitions conditional on [__USE_XOPEN].
1349 * sysdeps/mach/hurd/bits/fcntl.h (O_ASYNC, O_FSYNC, O_SYNC): Define
1350 these unconditionally, not only use [__USE_BSD], so as to match
1351 the sysdeps/unix/sysv/linux files.
1353 2001-08-22 Ulrich Drepper <drepper@redhat.com>
1355 * test-skeleton.c (add_temp_file): Add __attribute__ ((unused)) to
1358 * dlfcn/tst-dladdr.c (do_test): Get address of ref1 using
1361 2001-08-22 Roland McGrath <roland@frob.com>
1363 * sysdeps/generic/bits/sigaction.h (struct sigaction): Fix up
1364 conditionalization of sa_handler/sa_sigaction member types to
1365 match the sysdeps/unix/sysv/linux file.
1367 2001-08-22 Ulrich Drepper <drepper@redhat.com>
1369 * elf/dl-addr.c (_dl_addr): Handle broken binaries with zero
1370 symbol sizes a bit better.
1372 * sysdeps/ia64/strncpy.S: Complete rewrite.
1373 Contributed by Jakub Jelinek <jakub@redhat.com>.
1375 * string/stratcliff.c (main): Add strncpy test.
1377 2001-08-22 Roland McGrath <roland@frob.com>
1379 * sysdeps/generic/dl-environ.c: Include <stdlib.h> and <unistd.h>,
1380 and don't declare unsetenv or _environ directly.
1381 (unsetenv): Return int, not void. Use __environ instead of _environ.
1383 2001-08-01 Mark Kettenis <kettenis@gnu.org>
1385 * sysdeps/unix/bsd/bsd4.4/Makefile: New file.
1386 * sysdeps/unix/bsd/bsd4.4/Versions: New file.
1387 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: New file.
1388 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Correct
1389 test for cmsg struct size.
1391 2001-04-23 Paul Eggert <eggert@twinsun.com>
1393 * posix/getopt.h (getopt_long, getopt_long_only, _getopt_internal):
1394 Rename __argc to ___argc in prototypes to avoid compatibility
1395 problems with systems that reserve the identifier "__argc".
1396 Similarly for __argv.
1398 2001-08-21 Roland McGrath <roland@frob.com>
1400 * stdio-common/tst-fseek.c: Include <time.h> for `time' declaration.
1402 * mach/Makefile (tests): Removed.
1403 * mach/hello.c: File removed.
1405 2001-08-22 Ulrich Drepper <drepper@redhat.com>
1407 * po/sv.po: Update from translation team.
1409 * stdio-common/vfscanf.c: Fix handling of %l[].
1410 Reported by Mitsuru Chinen <mchinen@yamato.ibm.com>.
1412 * libio/Makefile (tests): Add tst-sscanf.
1413 * libio/tst-sscanf.c: New file.
1415 * elf/dl-addr.c (_dl_addr): Fix tests to determine dli_sname.
1416 * malloc/mtrace.c (tr_where): dli_sname always points to a
1417 non-empty string if != NULL.
1418 Reported by Tim Janik <timj@gtk.org>.
1420 2001-08-22 Jakub Jelinek <jakub@redhat.com>
1422 * sunrpc/xdr_rec.c (xdrrec_create): Fix buf sizes before allocating
1423 buf. Free resources on failure.
1424 * sunrpc/svc_unix.c (svcunix_create): Free resources on failure.
1425 (makefd_xprt): Likewise.
1426 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
1427 * sunrpc/svc_tcp.c (svctcp_create, makefd_xprt): Likewise.
1428 * sunrpc/auth_unix.c (authunix_create): Likewise.
1430 2001-08-21 Jakub Jelinek <jakub@redhat.com>
1432 * string/strnlen.c: Remove.
1433 * sysdeps/generic/strnlen.c: New.
1434 * sysdeps/i386/i486/bits/string.h (strnlen): Remove.
1436 2001-08-21 Roland McGrath <roland@frob.com>
1438 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Define this
1439 as a macro, not an extern inline function.
1441 * hurd/Versions (GLIBC_2.2.5): New set, define __hurd_fail here.
1442 * Versions.def (libc): Add GLIBC_2.2.5 set.
1443 * hurd/hurd.h (_HURD_H_EXTERN_INLINE): New macro.
1444 (__hurd_fail): Use that instead of _EXTERN_INLINE in decl.
1446 2001-08-20 Roland McGrath <roland@frob.com>
1448 * hurd/hurdlookup.c (__hurd_file_name_lookup): Fail with ENOENT for "".
1449 (__hurd_file_name_split, __hurd_directory_name_split): Likewise.
1451 2001-08-21 Ulrich Drepper <drepper@redhat.com>
1453 * string/bits/string2.h: Remove strnlen optimization here.
1454 * sysdeps/i386/i486/bits/string.h: Add it here.
1456 2001-08-21 Wolfram Gloger <wg@malloc.de>
1458 * malloc/malloc.c: Make access to ..._hook pointers thread-safe.
1460 2001-08-21 Ulrich Drepper <drepper@redhat.com>
1462 * po/gl.po: Update from translation team.
1464 2001-08-20 Ulrich Drepper <drepper@redhat.com>
1466 * misc/error.c (error_tail): Use fputws_unlocked instead of fputws.
1467 * misc/err.c (convert_and_print): Likewise.
1469 * malloc/obstack.c (print_and_abort): Use fprintf instead of two
1472 2001-08-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
1474 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Revert the
1475 change of the gregset_t type.
1476 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1478 2001-08-20 kaz Kojima <kkojima@rr.iij4u.or.jp>
1480 * sysdeps/unix/sysv/linux/sh/sysdep.S: Align errno.
1482 2001-08-20 Ulrich Drepper <drepper@redhat.com>
1484 * posix/regex.c (truncate_wchar): Use wcrtomb not wctomb.
1486 * string/strnlen.c: Fix the implementation. We cannot use memchr.
1488 2001-08-18 Mark Kettenis <kettenis@gnu.org>
1490 * sysdeps/mach/hurd/i386/init-first.c (init): Initialize __environ
1491 before calling the cthreads initialization code.
1493 2001-08-20 Ulrich Drepper <drepper@redhat.com>
1495 * argp/argp-help.c: Fix two problems introduced in last change.
1497 * include/dirent.h: Include <dirstream.h> first.
1499 2001-08-19 Ulrich Drepper <drepper@redhat.com>
1501 * io/fts.c (fts_safe_changedir): Use __fxstat64 instead of __fstat.
1503 * sunrpc/svcauth_des.c (_svcauth_des): Avoid using bcopy.
1504 * sunrpc/xdr_rec.c: Likewise.
1505 * sunrpc/xdr_mem.c: Likewise.
1506 * sunrpc/svc_authux.c (_svcauth_unix): Likewise.
1507 * sunrpc/rpc_cmsg.c: Likewise.
1508 * sunrpc/getrpcport.c (getrpcport): Likewise.
1509 * sunrpc/clnt_simp.c (callrpc): Likewise.
1510 * sunrpc/clnt_gen.c (clnt_create): Likewise.
1511 * string/envz.c: Likewise.
1513 * po/ko.po: Update from translation team.
1515 * argp/argp-help.c: Handle wide oriented stderr stream.
1517 2001-08-18 Ulrich Drepper <drepper@redhat.com>
1519 * sysdeps/generic/strtol.c: Little optimizations. Add some
1522 * conform/conformtest.pl: <inttypes.h> test requires <stddef.h>.
1524 * wcsmbs/wchar.h (wcwdith): Change parameter type to wchar_t.
1525 * wcsmbs/wcwidth.c (wcwdith): Likewise.
1526 * wcsmbs/wcwidth.h (internal_wcwdith): Likewise.
1528 * conform/data/unistd.h-data: Remove _SC_MULTIPLE_PROCESS.
1530 * conform/data/ucontext.h-data: Fix typos in ucontext_t element tests.
1532 * time/time.h (struct timespec): Use __time_t for tv_sec element.
1534 * sysdeps/generic/inttypes.h: Define __wchar_t. Use it instead of
1535 wchar_t for function declarations and defintions.
1537 * misc/sys/select.h: Define __need_time_t before including <time.h>.
1538 Define suseconds_t if it hasn't happened yet.
1540 * iconv/gconv.h: Define __need_wchar_t before including <stddef.h>.
1542 * conform/data/sys/uio.h-data: Allow UIO_MAXIOV to be defined.
1544 * sysdeps/generic/stdint.h: Don't get definition of wchar_t from
1547 * conform/data/stddef.h-data: Remove wint_t.
1549 * conform/conformtest.pl: Change namespace test to take #undef
1552 * conform/data/netinet/in.h-data: Fix typo in allow-header line.
1554 * conform/data/sys/socket.h-data: Add sockatmark.
1556 2001-08-17 Ulrich Drepper <drepper@redhat.com>
1558 * io/fts.c: Update from recent BSD source.
1560 2001-08-17 Roland McGrath <roland@frob.com>
1562 * stdio-common/perror.c (perror) [! USE_IN_LIBIO]: Don't use _IO_fwide.
1563 * misc/error.c (error_tail, error, error_at_line) [! USE_IN_LIBIO]:
1566 2001-08-17 Ulrich Drepper <drepper@redhat.com>
1568 * locale/duplocale.c (__duplocale): Also initialize the special
1571 * conform/data/netdb.h-data: Adjust gai_strerror return type.
1573 2001-08-17 Andreas Jaeger <aj@suse.de>
1575 * misc/getpass.c: Include wchar.h for prototypes.
1576 * malloc/obstack.c: Likewise.
1578 2001-08-17 Ulrich Drepper <drepper@redhat.com>
1580 * sunrpc/svc_simple.c (universal): Use __write instead of write.
1582 * wcsmbs/wcscoll.c: Also define __wcscoll.
1583 * include/wchar.h: Declare __wcscoll.
1585 * libio/fwprintf.c: Use __vfwprintf instead of vfwprintf.
1586 * libio/vwprintf.c: Likewise.
1587 * libio/wprintf.c: Likewise.
1589 * iconv/gconv_cache.c: Use __munmap instead of munmap.
1591 2001-08-16 Ulrich Drepper <drepper@redhat.com>
1593 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
1595 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
1596 wcslen, and __wcscoll instead of wcscoll.
1598 * sysdeps/unix/sockatmark.c (sockatmark): Use __ioctl instead of ioctl.
1600 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue): Use
1601 __getuid instead of getuid.
1603 * stdio-common/perror.c (perror): Use __close instead of close.
1604 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
1605 * libio/freopen.c (freopen): Likewise.
1606 * libio/freopen64.c (freopen64): Likewise.
1608 * libio/tst-ungetwc2.c (main): Define str const.
1610 * include/wchar.h: Add prototypes for __fwprintf and __vfwprintf.
1611 * libio/fwprintf.c: Also define __fwprintf.
1612 * stdio-common/vfprintf.c [COMPILE_WPRINTF]: Also define __vfwprintf.
1613 * argp/argp-fmtstream.c: Handle wide oriented stderr stream.
1614 * assert/assert-perr.c: Likewise.
1615 * assert/assert.c: Likewise.
1616 * gmon/gmon.c: Likewise.
1617 * inet/rcmd.c: Likewise.
1618 * malloc/obstack.c: Likewise.
1619 * misc/err.c: Likewise.
1620 * misc/error.c: Likewise.
1621 * misc/getpass.c: Likewise.
1622 * posix/getopt.c: Likewise.
1623 * resolv/res_hconf.c: Likewise.
1624 * stdio-common/perror.c: Likewise.
1625 * stdio-common/psignal.c: Likewise.
1626 * stdlib/fmtmsg.c: Likewise.
1627 * sunrpc/auth_unix.c: Likewise.
1628 * sunrpc/clnt_perr.c: Likewise.
1629 * sunrpc/clnt_tcp.c: Likewise.
1630 * sunrpc/clnt_udp.c: Likewise.
1631 * sunrpc/clnt_unix.c: Likewise.
1632 * sunrpc/svc_simple.c: Likewise.
1633 * sunrpc/svc_tcp.c: Likewise.
1634 * sunrpc/svc_udp.c: Likewise.
1635 * sunrpc/svc_unix.c: Likewise.
1636 * sunrpc/xdr.c: Likewise.
1637 * sunrpc/xdr_array.c: Likewise.
1638 * sunrpc/xdr_rec.c: Likewise.
1639 * sunrpc/xdr_ref.c: Likewise.
1640 * sysdeps/generic/wordexp.c: Likewise.
1642 * po/it.po: Update from translation team.
1644 * misc/err.c: Handle wide oriented stderr stream.
1646 2001-08-14 Tom Rix <trix@redhat.com>
1648 * iconv/gconv_cache.c (find_module): Add #ifndef STATIC_GCONV.
1649 * iconv/Makefile: Fix gconv_cache.c CFLAGS.
1651 2001-08-13 Tom Rix <trix@redhat.com>
1653 * sysdeps/unix/sysv/aix/Makefile: Add rule to import kernel symbols.
1654 * sysdeps/unix/sysv/aix/bits/types.h: Fix type of __id_t, __useconds_t
1657 2001-08-15 Martin Schwidefsky <schwidefsky@de.ibm.com>
1659 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S (__getcontext):
1660 Store the access registers to the ucontext structure.
1661 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S (__getcontext):
1664 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S (__setcontext):
1665 Load the access registers from the ucontext structure.
1666 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S (__setcontext):
1669 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: Adjust the SC_xxx
1670 offsets to the new ucontext layout.
1671 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: Likewise.
1673 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix the layout
1674 of the ucontext structure.
1675 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1677 2001-08-15 Ulrich Drepper <drepper@redhat.com>
1679 * misc/error.c (error): Handle wide oriented stderr stream correctly.
1680 (error_at_line): Likewise.
1682 * stdio-common/perror.c (perror): Implement according to standard.
1683 The stream orientation must not be changed if the stream was not
1684 oriented before the call.
1685 * stdio-common/Makefile (tests): Add tst-perror.
1686 * stdio-common/tst-perror.c: New file.
1689 See ChangeLog.12 for earlier changes.