1 2001-10-31 Ulrich Drepper <drepper@redhat.com>
3 * elf/dl-load.c (_dl_map_object): Make code a bit more compact by
4 avoiding unnecessary duplication.
6 2001-10-31 Jakub Jelinek <jakub@redhat.com>
8 * elf/dl-load.c (_dl_map_object): If library was found using
9 LD_LIBRARY_PATH, don't try RUNPATH list.
11 2001-10-31 Martin Schwidefsky <schwidefsky@de.ibm.com>
13 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump (REGISTER_DUMP):
14 Correct second argument of register_dump call.
15 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump (REGISTER_DUMP):
18 2001-10-31 Ulrich Drepper <drepper@redhat.com>
20 * iconvdata/Makefile: Add support for IBM1132, IBM1133, and IBM1162
22 * iconvdata/TESTS: Likewise.
23 * iconvdata/gconv-modules: Likewise.
24 * iconvdata/ibm1132.c: New file.
25 * iconvdata/ibm1132.h: New file.
26 * iconvdata/ibm1133.c: New file.
27 * iconvdata/ibm1133.h: New file.
28 * iconvdata/ibm1162.c: New file.
29 * iconvdata/ibm1162.h: New file.
30 * iconvdata/testdata/IBM1132: New file.
31 * iconvdata/testdata/IBM1132..UTF8: New file.
32 * iconvdata/testdata/IBM1133: New file.
33 * iconvdata/testdata/IBM1133..UTF8: New file.
34 * iconvdata/testdata/IBM1162: New file.
35 * iconvdata/testdata/IBM1162..UTF8: New file.
36 Patches by Masahide Washizawa <WASHI@jp.ibm.com>.
38 * string/string.h: Fix typo in comment.
39 * wcsmbs/wchar.h: Likewise.
41 2001-10-30 Joseph S. Myers <jsm28@cam.ac.uk>
43 * manual/getopt.texi (getopt_long, getopt_long_only): Include
44 const in type of longopts parameter.
46 2001-10-29 Andreas Jaeger <aj@suse.de>
48 * sysdeps/ieee754/dbl-64/mpa.h: Add prototypes for internal functions.
50 2001-10-29 Kevin Ryde <user42@zip.com.au>
52 * manual/stdio.texi (Integer Conversions): Corrections to sample printf
53 output, clarify `#' behaviour on 0.
54 (Floating-Point Conversions): Clarify that %g only uses %e when
55 the exponent would be greater than 1.
57 2001-10-28 Roland McGrath <roland@frob.com>
59 Support for Mach/PowerPC contributed by Peter Bruin <pjbruin@dds.nl>.
60 * sysdeps/mach/powerpc/machine-sp.h: New file.
61 * sysdeps/mach/powerpc/sysdep.h: New file.
62 * sysdeps/mach/powerpc/thread_state.h: New file.
64 * sysdeps/mach/hurd/i386/Makefile: File removed; crt0.o rules moved ...
65 * sysdeps/mach/hurd/Makefile: ... to here. For the time being, we can
66 expect to need the same thing on every platform.
68 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: File moved ...
69 * sysdeps/generic/sys/ucontext.h: ... to replace this one.
71 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (ALIGNARG,
72 ASM_TYPE_DIRECTIVE, ASM_SIZE_DIRECTIVE, CALL_MCOUNT, ENTRY, EALIGN,
73 DO_CALL, JUMPTARGET, PSEUDO, PSEUDO_RET, PSEUDO_END, L, C_TEXT):
74 Move all these assembly-related definitions to ...
75 * sysdeps/powerpc/elf/sysdep.h: ... this new file.
77 * sysdeps/mach/powerpc/machine-lock.h: Assembly code rewritten
78 by Peter Bruin <pjbruin@dds.nl>.
80 * hurd/hurdselect.c (_hurd_select): Check SELECT_RETURNED bit when
81 packing results for a `poll' call.
83 2001-10-26 Ulrich Drepper <drepper@redhat.com>
85 * posix/fnmatch_loop.c: Recognize - at end of bracket expression
87 * posix/tst-fnmatch.input: Add tests for - at beginning and end of
90 * string/strxfrm.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get
92 * string/tst-strxfrm.c (test): Also test __strxfrm_l.
94 2001-10-24 H.J. Lu <hjl@gnu.org>
96 * sysdeps/generic/bits/dlfcn.h (DL_CALL_FCT): Cast to void *.
97 Use __BEGIN_DECLS/__END_DECLS around prototypes.
98 * sysdeps/mips/bits/dlfcn.h (DL_CALL_FCT): Likewise.
100 2001-10-21 Jim Meyering <meyering@lucent.com>
102 * malloc/obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
103 this code would end up calling gettext even in packages built
105 * posix/getopt.c (_): Likewise.
106 * posix/regex.c (_): Likewise.
108 2001-10-26 Ulrich Drepper <drepper@redhat.com>
110 * resolv/gethnamaddr.c (gethostbyaddr): Use ip6.addr for reverse
112 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
113 Reported by Martin.v.Loewis@t-online.de [PR libc/2598].
115 2001-10-19 Jakub Jelinek <jakub@redhat.com>
117 * misc/sys/cdefs.h (__attribute_used__): Define.
118 * elf/rtld.c (_dl_start): Add __attribute_used__.
119 * elf/dl-runtime.c (fixup, profile_fixup): Likewise.
121 2001-10-25 Andreas Schwab <schwab@suse.de>
123 * stdlib/a64l.c: Expect least significant digit first.
124 * stdlib/l64a.c: Produce least significant digit first.
125 * stdlib/Makefile (tests): Add test-a64l.
126 * stdlib/test-a64l.c: New file.
127 Reported by Masaki Hasegawa <masaki-h@pp.iij4u.or.jp>.
129 2001-10-21 Ulrich Drepper <drepper@redhat.com>
131 * po/sk.po: Update from translation team.
133 2001-10-18 Ulrich Drepper <drepper@redhat.com>
135 * sysdeps/i386/elf/start.S (_fp_hw): Define object type.
137 2001-10-18 Andreas Schwab <schwab@suse.de>
139 * math/libm-test.inc (print_ulps): Print ulp values rounded to
141 (print_function_ulps): Likewise.
142 (print_complex_function_ulps): Likewise.
143 (print_max_error): Likewise.
144 (print_complex_max_error): Likewise. Handle ignore_max_ulp.
146 2001-10-16 Andreas Schwab <schwab@suse.de>
148 * sysdeps/m68k/fpu/libm-test-ulps: Updated for fixed cbrtl
151 * sysdeps/m68k/setjmp.c: Also define setjmp and _setjmp if
152 BSD_SETJMP or BSD__SETJMP is defined, resp.
153 * sysdeps/m68k/bsd-setjmp.c: Inline setjmp code instead of making
154 a tail call to __sigsetjmp that would require extending the
156 * sysdeps/m68k/bsd-_setjmp.c: Likewise.
157 * sysdeps/m68k/bsd-setjmp.S: Deleted.
158 * sysdeps/m68k/bsd-_setjmp.S: Deleted.
159 Reported by Jes Sorensen <jes@trained-monkey.org>.
161 2001-10-16 Andreas Jaeger <aj@suse.de>
163 * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Fix
164 parentheses. Reported by David Byron <dbyron@porto.coactive.com>,
167 2001-10-15 Ulrich Drepper <drepper@redhat.com>
169 * po/ca.po: New file. Contributed by the translation team.
171 2001-10-15 Ralf Baechle <ralf@gnu.org>
173 * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Make sysmips() prototype
174 a varargs prototype. Remove dependency from kernel header files.
176 * sysdeps/unix/sysv/linux/mips/bits/termios.h: General cleanup, use
177 __USE_MISC / __USE_XOPEN not __USE_BSD where appropriate.
179 2001-10-14 Ulrich Drepper <drepper@redhat.com>
181 * locale/programs/ld-collate.c (handle_ellipsis): Use %lX not %lx
182 to generate hexadecimal identifier.
183 Patch by Jungshik Shin <jungshik.shin@yale.edu>.
185 2001-10-09 Stephen L Moshier <moshier@mediaone.net>
187 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Fix algorithm.
189 2001-10-14 Ulrich Drepper <drepper@redhat.com>
191 * sysdeps/ieee754/ldbl-128/e_powl.c: New file.
192 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: New file.
193 Contributed by Stephen L Moshier <moshier@mediaone.net>.
195 * sysdeps/ieee754/ldbl-128/e_j0l.c: Constify float variables.
196 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
197 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise
198 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise
199 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise
200 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise
202 * timezone/africa: Update from tzdata2001d.
203 * timezone/asia: Likewise.
204 * timezone/australasia: Likewise.
205 * timezone/backward: Likewise.
206 * timezone/europe: Likewise.
207 * timezone/leapseconds: Likewise.
208 * timezone/northamerica: Likewise.
209 * timezone/southamerica: Likewise.
210 * timezone/zone.tab: Likewise.
212 2001-10-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
214 * sysdeps/s390/s390-32/sys/ucontext.h: Correct __psw_t typedef.
215 * sysdeps/s390/s390-64/sys/ucontext.h: Likewise.
217 2001-10-12 Ulrich Drepper <drepper@redhat.com>
219 * elf/elf.h (PT_TLS): New definition.
221 2001-10-10 Jeff Bailey <jbailey@nisa.net>
223 * sysdeps/mach/hurd/Makefile: Add $(CFLAGS) for generation of
226 2001-10-07 Roland McGrath <roland@frob.com>
228 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Never return ENOSYS.
230 2001-10-10 Ulrich Drepper <drepper@redhat.com>
232 * elf/elf.h: Add more ELFOSABI_* constants.
234 2001-10-04 Ben Collins <bcollins@debian.org>
236 * sysdeps/generic/inttypes.h: Fix typo (define, not defined) in
237 decleration of __need_wchar_t.
239 2001-10-03 Jakub Jelinek <jakub@redhat.com>
241 * string/bits/string2.h (__strsep_g): Add prototype.
243 * string/Versions (__strsep): Remove.
244 * sysdeps/generic/strsep.c (__strsep_g): Add alias to __strsep.
246 2001-10-07 Ulrich Drepper <drepper@redhat.com>
248 * manua/llio.texi: Clarify file references added by mmap.
249 Patch by Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
251 2001-09-29 Jes Sorensen <jes@trained-monkey.org>
253 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
254 Add sc_loadrs and sc_rbs_bas to match current kernel.
256 2001-09-27 Jakub Jelinek <jakub@redhat.com>
258 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
260 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Fix erfc(-inf).
262 2001-09-27 Jakub Jelinek <jakub@redhat.com>
264 * elf/dl-open.c (dl_open_worker): If l_opencount of freshly loaded
265 object has been bumped because of relocation dependency, avoid
266 duplicates in l_scope.
267 (show_scope): Fix typos.
268 * elf/Makefile: Add rules to build and run reldep6.
269 * elf/reldep6.c: New file.
270 * elf/reldep6mod0.c: New file.
271 * elf/reldep6mod1.c: New file.
272 * elf/reldep6mod2.c: New file.
273 * elf/reldep6mod3.c: New file.
274 * elf/reldep6mod4.c: New file.
276 2001-09-26 Jakub Jelinek <jakub@redhat.com>
278 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Call
280 (sparc64_fixup_plt): Moved from elf_machine_fixup_plt. Optimize
281 near jumps and 0xfffff800XXXXXXXX target addresses, no thread safety
282 for non-lazy binding. Fix .plt[32768+] handling.
283 (elf_machine_plt_value): Don't add addend.
284 (elf_machine_rela): Call sparc64_fixup_plt instead of
285 elf_machine_fixup_plt.
286 (elf_machine_runtime_setup, TRAMPOLINE_TEMPLATE): Optimize for
287 dynamic linker at 0xfffff800XXXXXXXX.
289 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
291 2001-09-28 Ulrich Drepper <drepper@redhat.com>
293 * elf/elf.h: Define SHF_GROUP and SHF_TLS.
295 2001-09-25 Jakub Jelinek <jakub@redhat.com>
297 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (struct cmsghdr): Don't
298 declare __cmsg_data field if its size would be bigger than 0.
299 (CMSG_DATA): Adjust accordingly.
300 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
301 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Likewise.
302 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
303 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
304 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
305 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
306 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
308 2001-09-25 Ulrich Drepper <drepper@redhat.com>
310 * iconvdata/TESTS: Add entries for IBM1160 and IBM1161.
311 * iconvdata/testdata/IBM1160: New file.
312 * iconvdata/testdata/IBM1160..UTF8: New file.
313 * iconvdata/testdata/IBM1161: New file.
314 * iconvdata/testdata/IBM1161..UTF8: New file.
315 Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
317 2001-09-24 Ulrich Drepper <drepper@redhat.com>
319 * sysdeps/unix/bsd/ulimit.c (ulimit): Handle overflow in
320 UL_SETFSIZE computations better.
322 * rt/Makefile: Remove use of filter for librt again.
324 * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Handle overflow in
325 UL_SETFSIZE computations better.
327 * string/Versions: Export __strsep for GLIBC_2.2.5.
328 * string/bits/string2.h: Define all __STRING_INLINE functions if
329 _FORCE_INLINES is defined.
330 Use int instead of char of parameter types.
331 (__strsep): Don't use __strsep_g. Don't define it.
332 (__strsep_1c, __strsep_2c, __strsep_3c): Optimize.
333 * sysdeps/i386/i486/string.h (__strcpy_a_small): Renamed from
335 (__stpcpy_a_small): Renamed from __stpcpy_small.
336 (__strcspn_c1): Don't define if _FORCE_INLINES.
337 (__strspn_c1): Likewise.
339 2001-09-22 Ben Collins <bcollins@debian.org>
341 * sysdeps/sparc/bits/sigaction.h: Define SA_RESTART and friends when
342 _UNIX98_SOURCE is defined too. Matches generic/bits/sigaction.h.
343 * sysdeps/ia64/bits/sigaction.h: Likewise.
344 * sysdeps/s390/s390-64/bits/sigaction.h: Likewise.
346 2001-09-24 Andrew Haley <aph@cambridge.redhat.com>
348 * sysdeps/unix/sysv/linux/sh/Makefile (sysdep_headers): Add sys/io.h.
350 2001-09-24 Jakub Jelinek <jakub@redhat.com>
352 * elf/dl-open.c (dl_open_worker): Update l_scope_max.
354 2001-09-24 Ulrich Drepper <drepper@redhat.com>
356 * wcsmbs/wchar.h: Add __attribute_pure__ to mbsinit prototype.
358 2001-09-20 H.J. Lu <hjl@gnu.org>
360 * include/dlfcn.h (__RTLD_SPROF): New definiton.
361 * elf/dl-open.c (dl_open_worker): Return immediately after loading
363 * elf/sprof.c (main): Default to the filename if soname doesn't exist.
364 (load_shobj): Call dlopen with `RTLD_LAZY | __RTLD_SPROF'.
366 2001-09-20 H.J. Lu <hjl@gnu.org>
368 * elf/dl-profile.c (_dl_mcount): Use old *narcsp value for newarc,
371 2001-09-22 Ulrich Drepper <drepper@redhat.com>
373 * nss/getent.c: Accept -s parameter to overwrite rules in
374 nsswitch.conf. Patch by Nalin Dahyabhai <nalin@redhat.com>.
376 * nss/nss_files/files-network.c (LINE_PARSER): Pad addr string
377 with as many ".0" as necessary to form a complete address
378 inet_network understands.
380 * nss/getent.c: Various cleanups. Use simpler and fewer function
383 2001-09-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
385 * sysdeps/s390/s390-32/bits/setjmp.h: Correct pointer comparison in
387 * sysdeps/s390/s390-64/bits/setjmp.h: Likewise.
389 2001-09-22 Ulrich Drepper <drepper@redhat.com>
391 * iconvdata/Makefile: Add rules to build and distribute IBM1160 and
393 * iconvdata/gconv-modules: Add entries for IBM1160 and IBM1161.
394 * iconvdata/ibm1160.c: New file.
395 * iconvdata/ibm1160.h: New file.
396 * iconvdata/ibm1161.c: New file.
397 * iconvdata/ibm1161.h: New file.
398 Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
400 2001-09-19 Jakub Jelinek <jakub@redhat.com>
402 * sysdeps/alpha/dl-machine.h (elf_machine_load_address): Compute the
403 difference between base address and first PT_LOAD's virtual address,
404 not the base address.
406 2001-09-11 Tom Rix <trix@redhat.com>
408 * sysdeps/unix/sysv/aix/init-first.c (init): Use USE_NONONPTION_FLAG
409 ifdef for __getopt_clean_environment.
410 * sysdeps/unix/sysv/aix/libc-start.c: Add real implementation.
412 2001-09-22 Andreas Jaeger <aj@suse.de>
414 * elf/reldep4.c (main): Add proper prototype to fix warning.
416 * elf/reldep5.c (main): Remove unused variable.
418 * math/math_private.h: Add prototypes.
420 2001-09-21 Andreas Jaeger <aj@suse.de>
422 * sysdeps/unix/sysv/linux/x86_64/Dist: New file.
423 * sysdeps/x86_64/Dist: New file.
424 * sysdeps/x86_64/soft-fp/Dist: New file.
426 * sysdeps/gnu/Dist: Remove eval.c.
428 2001-09-20 Ulrich Drepper <drepper@redhat.com>
430 * malloc/memusage.c (realloc): Don't count already allocated
432 (me): Always use dlsym() to find the real implementations.
434 * malloc/memusage.sh: Make -n option actually do something.
436 2001-09-20 Andreas Jaeger <aj@suse.de>
438 * elf/elf.h (R_390_NUM): Correct value.
440 * Versions.def: Add missing versions 2.2.3 for libthread_db and
443 * sysdeps/unix/sysv/linux/configure.in: Add minimal kernel version
444 for x86-64, install x86-64 into */lib64.
446 * shlib-versions: Add x86-64.
448 * elf/elf.h: Add x86-64 relocations.
450 2001-09-19 Ulrich Drepper <drepper@redhat.com>
452 * po/fr.po: Update from translation team.
454 2001-09-19 Andreas Jaeger <aj@suse.de>
456 * sysdeps/unix/sysv/linux/x86_64/Makefile: New file.
457 * sysdeps/unix/sysv/linux/x86_64/Versions: New file.
458 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: New file.
459 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: New file.
460 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: New file.
461 * sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: New file.
462 * sysdeps/unix/sysv/linux/x86_64/bits/time.h: New file.
463 * sysdeps/unix/sysv/linux/x86_64/bits/types.h: New file.
464 * sysdeps/unix/sysv/linux/x86_64/brk.c: New file.
465 * sysdeps/unix/sysv/linux/x86_64/clone.S: New file.
466 * sysdeps/unix/sysv/linux/x86_64/fstatfs64.c: New file.
467 * sysdeps/unix/sysv/linux/x86_64/ftruncate64.c: New file.
468 * sysdeps/unix/sysv/linux/x86_64/fxstat.c: New file.
469 * sysdeps/unix/sysv/linux/x86_64/fxstat64.c: New file.
470 * sysdeps/unix/sysv/linux/x86_64/getdents.c: New file.
471 * sysdeps/unix/sysv/linux/x86_64/getdents64.c: New file.
472 * sysdeps/unix/sysv/linux/x86_64/getrlimit64.c: New file.
473 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
474 * sysdeps/unix/sysv/linux/x86_64/glob64.c: New file.
475 * sysdeps/unix/sysv/linux/x86_64/lxstat.c: New file.
476 * sysdeps/unix/sysv/linux/x86_64/lxstat64.c: New file.
477 * sysdeps/unix/sysv/linux/x86_64/mmap64.c: New file.
478 * sysdeps/unix/sysv/linux/x86_64/pread64.c: New file.
479 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: New file.
480 * sysdeps/unix/sysv/linux/x86_64/pwrite64.c: New file.
481 * sysdeps/unix/sysv/linux/x86_64/readdir.c: New file.
482 * sysdeps/unix/sysv/linux/x86_64/readdir64.c: New file.
483 * sysdeps/unix/sysv/linux/x86_64/readdir64_r.c: New file.
484 * sysdeps/unix/sysv/linux/x86_64/readdir_r.c: New file.
485 * sysdeps/unix/sysv/linux/x86_64/recv.c: New file.
486 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: New file.
487 * sysdeps/unix/sysv/linux/x86_64/send.c: New file.
488 * sysdeps/unix/sysv/linux/x86_64/setrlimit64.c: New file.
489 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: New file.
490 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: New file.
491 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: New file.
492 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: New file.
493 * sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: New file.
494 * sysdeps/unix/sysv/linux/x86_64/statfs64.c: New file.
495 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: New file.
496 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: New file.
497 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: New file.
498 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: New file.
499 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: New file.
500 * sysdeps/unix/sysv/linux/x86_64/syscall.S: New file.
501 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: New file.
502 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: New file.
503 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: New file.
504 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
505 * sysdeps/unix/sysv/linux/x86_64/truncate64.c: New file.
506 * sysdeps/unix/sysv/linux/x86_64/umount.c: New file.
507 * sysdeps/unix/sysv/linux/x86_64/vfork.S: New file.
508 * sysdeps/unix/sysv/linux/x86_64/xstat.c: New file.
509 * sysdeps/unix/sysv/linux/x86_64/xstat64.c: New file.
510 * sysdeps/unix/x86_64/sysdep.S: New file.
511 * sysdeps/unix/x86_64/sysdep.h: New file.
512 * sysdeps/x86_64/Implies: New file.
513 * sysdeps/x86_64/Makefile: New file.
514 * sysdeps/x86_64/Versions: New file.
515 * sysdeps/x86_64/__longjmp.S: New file.
516 * sysdeps/x86_64/abort-instr.h: New file.
517 * sysdeps/x86_64/atomicity.h: New file.
518 * sysdeps/x86_64/bits/endian.h: New file.
519 * sysdeps/x86_64/bits/setjmp.h: New file.
520 * sysdeps/x86_64/bits/string.h: New file.
521 * sysdeps/x86_64/bp-asm.h: New file.
522 * sysdeps/x86_64/bsd-_setjmp.S: New file.
523 * sysdeps/x86_64/bsd-setjmp.S: New file.
524 * sysdeps/x86_64/dl-machine.h: New file.
525 * sysdeps/x86_64/elf/initfini.c: New file.
526 * sysdeps/x86_64/elf/start.S: New file.
527 * sysdeps/x86_64/ffs.c: New file.
528 * sysdeps/x86_64/ffsll.c: New file.
529 * sysdeps/x86_64/fpu/bits/fenv.h: New file.
530 * sysdeps/x86_64/fpu/bits/mathdef.h: New file.
531 * sysdeps/x86_64/fpu/e_acosl.c: New file.
532 * sysdeps/x86_64/fpu/e_atan2l.c: New file.
533 * sysdeps/x86_64/fpu/e_exp2l.S: New file.
534 * sysdeps/x86_64/fpu/e_expl.c: New file.
535 * sysdeps/x86_64/fpu/e_fmodl.S: New file.
536 * sysdeps/x86_64/fpu/e_log10l.S: New file.
537 * sysdeps/x86_64/fpu/e_log2l.S: New file.
538 * sysdeps/x86_64/fpu/e_logl.S: New file.
539 * sysdeps/x86_64/fpu/e_powl.S: New file.
540 * sysdeps/x86_64/fpu/e_rem_pio2l.c: New file.
541 * sysdeps/x86_64/fpu/e_scalbl.S: New file.
542 * sysdeps/x86_64/fpu/e_sqrtl.c: New file.
543 * sysdeps/x86_64/fpu/fclrexcpt.c: New file.
544 * sysdeps/x86_64/fpu/fedisblxcpt.c: New file.
545 * sysdeps/x86_64/fpu/feenablxcpt.c: New file.
546 * sysdeps/x86_64/fpu/fegetenv.c: New file.
547 * sysdeps/x86_64/fpu/fegetexcept.c: New file.
548 * sysdeps/x86_64/fpu/fegetround.c: New file.
549 * sysdeps/x86_64/fpu/feholdexcpt.c: New file.
550 * sysdeps/x86_64/fpu/fesetenv.c: New file.
551 * sysdeps/x86_64/fpu/fesetround.c: New file.
552 * sysdeps/x86_64/fpu/fgetexcptflg.c: New file.
553 * sysdeps/x86_64/fpu/fraiseexcpt.c: New file.
554 * sysdeps/x86_64/fpu/fsetexcptflg.c: New file.
555 * sysdeps/x86_64/fpu/ftestexcept.c: New file.
556 * sysdeps/x86_64/fpu/libm-test-ulps: New file.
557 * sysdeps/x86_64/fpu/math_ldbl.h: New file.
558 * sysdeps/x86_64/fpu/printf_fphex.c: New file.
559 * sysdeps/x86_64/fpu/s_atanl.c: New file.
560 * sysdeps/x86_64/fpu/s_cosl.S: New file.
561 * sysdeps/x86_64/fpu/s_expm1l.S: New file.
562 * sysdeps/x86_64/fpu/s_fpclassifyl.c: New file.
563 * sysdeps/x86_64/fpu/s_isinfl.c: New file.
564 * sysdeps/x86_64/fpu/s_isnanl.c: New file.
565 * sysdeps/x86_64/fpu/s_log1pl.S: New file.
566 * sysdeps/x86_64/fpu/s_logbl.c: New file.
567 * sysdeps/x86_64/fpu/s_nextafterl.c: New file.
568 * sysdeps/x86_64/fpu/s_nexttoward.c: New file.
569 * sysdeps/x86_64/fpu/s_nexttowardf.c: New file.
570 * sysdeps/x86_64/fpu/s_rintl.c: New file.
571 * sysdeps/x86_64/fpu/s_significandl.c: New file.
572 * sysdeps/x86_64/fpu/s_sincosl.S: New file.
573 * sysdeps/x86_64/fpu/s_sinl.S: New file.
574 * sysdeps/x86_64/fpu/s_tanl.S: New file.
575 * sysdeps/x86_64/gmp-mparam.h: New file.
576 * sysdeps/x86_64/hp-timing.c: New file.
577 * sysdeps/x86_64/hp-timing.h: New file.
578 * sysdeps/x86_64/htonl.S: New file.
579 * sysdeps/x86_64/memusage.h: New file.
580 * sysdeps/x86_64/setjmp.S: New file.
581 * sysdeps/x86_64/soft-fp/sfp-machine.h: New file.
582 * sysdeps/x86_64/stackinfo.h: New file.
583 * sysdeps/x86_64/sysdep.h: New file.
584 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: New file.
586 * sysdeps/ieee754/ldbl-128/s_erfl.c: New file, contributed Stephen
589 2001-09-18 Ulrich Drepper <drepper@redhat.com>
591 * malloc/malloc.c (ptmalloc_init): Handle _environ==NULL.
592 Reported by B. D. Elliott <bde@nwlink.com> [PR libc/2541].
594 2001-09-18 Andreas Schwab <schwab@suse.de>
596 * elf/dl-load.c (_dl_map_object_from_fd): Update handling of scope
597 list, now that l_scope is a pointer.
599 * elf/dl-open.c (dl_open_worker): Fix thinko when enlarging the
602 2001-09-18 kaz Kojima <kkojima@rr.iij4u.or.jp>
604 * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix reverse condition.
605 (elf_machine_rela_relative): Add a missing declaration.
607 2001-09-18 Jakub Jelinek <jakub@redhat.com>
609 * sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: New.
610 * sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed: New.
611 * sysdeps/unix/sysv/linux/configure.in: Add ia64 and s390
614 2001-09-18 Ulrich Drepper <drepper@redhat.com>
616 * elf/ldd.bash.in: Update copyright message.
618 2001-09-17 H.J. Lu <hjl@gnu.org>
620 * hurd/hurdmalloc.c (bcopy): Removed.
621 (realloc): Replace bcopy with memcpy.
622 * hurd/path-lookup.c (file_name_path_scan): Likewise.
623 * resolv/gethnamaddr.c (map_v4v6_address): Likewise.
624 * sunrpc/rpcinfo.c (pmapdump): Likewise.
626 * resolv/gethnamaddr.c (getanswer): Replace bcopy with memmove.
627 (gethostbyaddr): Likewise.
628 * sunrpc/rpcinfo.c (get_inet_address): Likewise.
630 2001-09-18 Ulrich Drepper <drepper@redhat.com>
632 * sysdeps/gnu/eval.c: Removed.
634 2001-09-18 Andreas Jaeger <aj@suse.de>
636 * sysdeps/i386/fpu/s_logbl.S: Move to ...
637 * sysdeps/i386/fpu/s_logbl.c: ...here, use inline assembler.
639 * sysdeps/i386/fpu/s_rintl.S: Move to ...
640 * sysdeps/i386/fpu/s_rintl.c: ...here, use inline assembler.
642 * sysdeps/i386/fpu/s_significandl.S: Move to ...
643 * sysdeps/i386/fpu/s_significandl.c: ...here, use inline assembler.
645 2001-09-16 Ulrich Drepper <drepper@redhat.com>
647 * string/strcoll.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get
650 2001-09-14 H.J. Lu <hjl@gnu.org>
652 * sysdeps/mips/fpu/libm-test-ulps: Updated.
654 2001-09-14 Ulrich Drepper <drepper@redhat.com>
656 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix a typo.
657 Patch by Florian La Roche <laroche@redhat.com>.
659 * string/bits/string2.h (__strtok_r_1c): Optimize a bit.
661 * sysdeps/unix/sysv/linux/net/ethernet.h: Correct references to
664 2001-09-14 Andreas Schwab <schwab@suse.de>
666 * posix/execl.c: Fix last argument of memcpy. Reported by Brian
667 Sumner <bls@sgi.com>.
668 * posix/execlp.c: Likewise.
670 2001-09-13 Jakub Jelinek <jakub@redhat.com>
672 * elf/dl-deps.c (_dl_map_object_deps): Fix filter handling if filter
673 is already found earlier in the search scope.
675 2001-09-12 Jakub Jelinek <jakub@redhat.com>
677 * rt/Makefile (LDFLAGS-rt.so): Use shared thread library as librt's
680 2001-09-13 Ulrich Drepper <drepper@redhat.com>
682 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust expected errors for j0.
684 2001-09-12 Ulrich Drepper <drepper@redhat.com>
686 * config.h.in: Enforce optimization to be used.
687 * Makeconfig (preprocess-versions): Define ASSEMBLER.
688 * stdlib/Makefile (isomac-CFLAGS): Define to -O.
689 * posix/Makefile (annexc-CFLAGS): Define to -O.
690 * sysdeps/unix/make-syscalls.sh: Define __OPTIMIZE__ in use of asm_CPP.
692 2001-09-11 Ulrich Drepper <drepper@redhat.com>
694 * nscd/nscd_gethst_r.c: Don't expect IPv6 addresses for IPv4 lookup.
695 Patch by Stephan Kulow.
697 2001-09-08 Ben Collins <bcollins@debian.org>
699 * sysdeps/arm/dl-machine.h (elf_machine_rel): Fix thinko in
700 usage of RESOLVE() (r_type, not reloc->r_type).
702 2001-09-08 Ulrich Drepper <drepper@redhat.com>
704 * elf/dl-object.c: Avoid allocating extra memory block for name.
705 * elf/dl-close.c (_dl_close): Don't free l_libname if it is not
706 allocated separately.
707 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
709 2001-09-08 H.J. Lu <hjl@gnu.org>
711 * po/zh_TW.po: Fix a typo.
713 2001-09-07 Tom Rix <trix@redhat.com>
715 * sysdeps/unix/sysv/aix/sysv_termio.h: New file.
717 2001-08-26 Tom Rix <trix@redhat.com>
719 * sysdeps/unix/sysv/aix/Makefile (aix-syscalls.o): More linker
720 command line options.
721 * sysdeps/unix/sysv/aix/start.s: New file, rework of start.c
722 * sysdeps/unix/sysv/aix/start.c: Removed.
723 * sysdeps/unix/sysv/aix/start-libc.c: New file.
724 * sysdeps/unix/sysv/aix/init-first.c: New file.
725 * sysdeps/unix/sysv/aix/fcntl.c: Alias __libc_fcntl to __fcntl.
727 2001-09-08 Ben Collins <bcollins@debian.org>
729 * sysdeps/arm/dl-machine.h: Fix usage of new _dl_signal_error() format.
730 * sysdeps/generic/dl-machine.h: Likewise.
731 * sysdeps/hppa/dl-fptr.c: Likewise.
732 * sysdeps/ia64/dl-fptr.c: Likewise.
733 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
734 * sysdeps/mips/dl-machine.h: Likewise.
735 * sysdeps/mips/mips64/dl-machine.h: Likewise.
736 * sysdeps/powerpc/dl-machine.c: Likewise.
738 2001-09-07 Ben Collins <bcollins@debian.org>
740 * sysdeps/sparc/sparc32/dl-machine.h: Fix typo.
742 * sysdeps/hppa/dl-lookupcfg.h: Forward declare struct link_map.
744 2001-09-08 Ulrich Drepper <drepper@redhat.com>
746 * elf/dl-lookup.c (add_dependency): Bump l_opencount of all
747 dependencies if necessary.
749 * elf/dl-close.c (_dl_close): If object has no r_list (i.e., wasn't
750 loaded directly) determine length if l_initfini list by iterating
751 over its elements. Minor optimizations.
752 * elf/dl-deps.c (_dl_map_object_deps): Always add own map to l_initfini
753 for dependency objects.
754 If object was already loaded check whether any of the dependencies
755 is already on the relocation dependency list. If yes, remove the
756 latter. Minor optimizations.
757 * elf/dl-lookup.c (add_dependency): Add check for self reference of
758 maps here. Search l_initfini list only if the object was loaded
759 directly and not only as a dependency.
760 (_dl_lookup_symbol): Add relocation dependency also if object
761 is not in global scope. Remove test for self-reference here.
762 (_dl_lookup_versioned_symbol): Likewise.
763 * elf/dl-object (_dl_new_object): Cleanup. Initialize dont_free
764 element of first name record.
765 * elf/loadtest.c: Add some more test to recognize early if an object
767 * elf/Makefile: Add rules to build and run reldep5.
768 * elf/reldep5.c: New file.
769 * elf/reldepmod5.c: New file.
770 * elf/reldepmod6.c: New file.
772 * elf/reldep2.c: Fix typo.
774 2001-09-07 Ulrich Drepper <drepper@redhat.com>
776 * include/link.h (struct link_map): Add l_scope_mem and l_scope_max
777 elements. Change l_scope to be a pointer only.
778 * elf/dl-object.c (_dl_new_object): Initialize l_scope and l_scope_max.
779 * elf/dl-open.c (dl_open_worker): If dependency wasn't just opened
780 here add searchlist of newly open file to the dependency's scope.
781 * elf/dl-close.c (_dl_close): If dependency is used otherwise remove
782 only searchlist from its scope. Free own scope array if necessary.
783 * elf/Makefile (tests): Add dblload and dblunload now.
785 2001-09-06 Andreas Jaeger <aj@suse.de>
787 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: New file, contributed
790 2001-09-05 Ulrich Drepper <drepper@redhat.com>
792 * elf/Makefile: Add rules to build new tests. Don't run them yet since
794 * elf/dblload.c: New file.
795 * elf/dblloadmod1.c: New file.
796 * elf/dblloadmod2.c: New file.
797 * elf/dblloadmod3.c: New file.
798 * elf/dblunload.c: New file.
800 2001-09-04 Richard Henderson <rth@redhat.com>
802 * elf/elf.h (R_ALPHA_OP_*, R_ALPHA_IMMED_*): Remove.
803 (R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16.
805 2001-09-04 Ulrich Drepper <drepper@redhat.com>
807 Correct very misleading message for error in failed runtime relocation.
808 * elf/dl-error.c (_dl_signal_error): Take extra parameter to describe
810 (_dl_signal_cerror): Likewise.
811 * sysdeps/generic/ldsodefs.h: Adjust prototypes.
812 * elf/dl-close.c: Likewise.
813 * elf/dl-deps.c: Likewise.
814 * elf/dl-load.c: Likewise.
815 * elf/dl-lookup.c: Likewise.
816 * elf/dl-open.c: Likewise.
817 * elf/dl-reloc.c: Likewise.
818 * elf/dl-sym.c: Likewise.
819 * elf/dl-version.c: Likewise.
820 * sysdeps/generic/dl-sysdep.c: Likewise.
822 2001-09-04 Jakub Jelinek <jakub@redhat.com>
824 * iconv/strtab.c (strtabinit): Initialize null Strent.
825 (newstring): Move len == 0 handling...
826 (strtabadd): ...here.
827 If len == 1, return null Strent.
828 When inserting a suffix of an existing string, check if
829 it is not equal to some suffix already recorded.
830 Copy left and right members over if adding longer string.
832 2001-09-04 Jakub Jelinek <jakub@redhat.com>
834 * sunrpc/rpc_cout.c (upcase): Account for trailing '\0'.
836 * sysdeps/unix/sysv/linux/alpha/gethostname.c: Include <errno.h>.
837 (__syscall_gethostname): Add prototype.
839 2001-09-04 Ulrich Drepper <drepper@redhat.com>
841 * elf/dl-object.c (_dl_new_object): Remove unnecessary if.
843 2001-09-02 Ulrich Drepper <drepper@redhat.com>
845 * elf/rtld.c (dl_main): Increment l_opencount for main binary.
847 2001-08-27 Roland McGrath <roland@frob.com>
849 * sysdeps/unix/sysv/gethostname.c (__gethostname): When LEN is too
850 short, copy that much into NAME anyway before returning error.
852 2001-09-01 Richard Henderson <rth@redhat.com>
854 * sysdeps/alpha/elf/Dist: Remove file.
855 * sysdeps/alpha/elf/Makefile: Remove file.
856 * sysdeps/alpha/elf/crtbegin.S: Remove file.
857 * sysdeps/alpha/elf/crtend.S: Remove file.
858 * sysdeps/alpha/elf/initfini.c: New file.
860 2001-09-01 Mark Kettenis <kettenis@gnu.org>
862 * iconv/tst-iconv1.c: Include <stddef.h> for wchar_t.
863 * iconv/tst-iconv3.c: Likewise.
865 2001-09-01 Jakub Jelinek <jakub@redhat.com>
867 * sysdeps/generic/inttypes.h (__gwchar_t): Define to wchar_t for C++.
869 2001-09-01 Ulrich Drepper <drepper@redhat.com>
871 * iconv/gconv_cache.c: Rename variable cache to __gconv_cache and
873 * iconv/Versions (libc) [GLIBC_2.2.5]: Export __gconv_cache.
874 * iconv/iconv_prog.c (insert_cache): New function.
875 (print_known_names): If cache is used call insert_cache to use the
876 information from the cache [PR libc/2509].
878 2001-08-31 Ulrich Drepper <drepper@redhat.com>
880 * time/strptime.c (strptime_internal): Recognize 'l' format and
881 handle it like 'I' for symmetry with strftime.
883 2001-08-31 Richard Henderson <rth@redhat.com>
885 * elf/dl-support.c (_dl_cpuclock_offset): Protect with NONAVAIL.
886 (HP_TIMING_AVAIL): Set to HP_SMALL_TIMING_AVAIL if present.
887 * elf/rtld.c (HP_TIMING_AVAIL): Likewise.
888 (print_statistics): Make scalar unsigned long long.
889 * sysdeps/alpha/hp-timing.h: New file.
891 2001-08-31 Jakub Jelinek <jakub@redhat.com>
893 * stdio-common/perror.c (perror): Save errno early, pass it
894 down to perror_internal.
895 (perror_internal): Add errnum argument.
897 2001-08-31 Jakub Jelinek <jakub@redhat.com>
899 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Remove unused code.
900 Don't add old memory content for R_ALPHA_REFQUAD.
902 2001-08-30 Ulrich Drepper <drepper@redhat.com>
904 * crypt/md5-crypt.c (__md5_crypt_r): Compute used and required
907 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Use __open
908 instead of open, __close instead of close, __getpagesize instead
911 * string/argz-stringify.c (__argz_stringify): Use __strnlen
913 * include/string.h (strndupa): Redefine here to use __strnlen
915 * string/strndup.c (__strndup): Use __strnlen not strnlen.
917 * misc/syslog.c (vsyslog): Fix typo in last change (connect ->
920 2001-08-30 Jakub Jelinek <jakub@redhat.com>
922 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
923 R_ALPHA_RELATIVE if RTLD_BOOTSTRAP and HAVE_Z_COMBRELOC. Only check
924 for rtld map if neither RTLD_BOOTSTRAP nor HAVE_Z_COMBRELOC is defined.
925 * sysdeps/i386/dl-machine.h (elf_machine_rel): Similarly.
926 * sysdeps/ia64/dl-machine.h (elf_machine_rel): Similarly.
927 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rel): Similarly.
928 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rel): Similarly.
930 2001-08-30 Ulrich Drepper <drepper@redhat.com>
932 * sysdeps/alpha/fpu/libm-test-ulps: Adjust j0 ULPs.
934 2001-08-30 Andreas Jaeger <aj@suse.de>
936 * sysdeps/ieee754/ldbl-128/e_jnl.c: New file,
937 contributed Stephen L Moshier.
939 2001-08-30 Jakub Jelinek <jakub@redhat.com>
941 * sunrpc/etc.rpc (sgi_fam): Add.
943 2001-08-30 Ulrich Drepper <drepper@redhat.com>
945 * sysdeps/unix/sysv/linux/alpha/gethostname.c: New file.
947 2001-08-29 Ulrich Drepper <drepper@redhat.com>
949 * nis/nis_findserv.c (__nis_findfastest): Don't fail if reply received
950 first is from a previous call.
951 Patch by Alexander Belopolsky <alexb@rentec.com> for [PR libc/3670].
953 2001-08-29 Andreas Schwab <schwab@suse.de>
955 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
957 2001-08-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
959 * config.make.in (INSTALL_SCRIPT): Define.
960 * Makeconfig (INSTALL_SCRIPT): Define.
961 * Makerules (do-install-script): New macro to install scripts using
963 (install-bin-script): New rule to install scripts with
965 (install-bin-script-nosubdir): New rule.
966 (install-no-libc.a-nosubdir): Add install-bin-script-nosubdir.
967 (distinfo-vars): Add $(install-bin-script).
968 * Rules (others): Likewise.
969 * Makefile (glibcbug): Install with install-bin-script.
970 * debug/Makefile (xtrace): Likewise.
971 (catchsegv): Likewise.
972 * elf/Makefile (ldd): Likewise.
973 * malloc/Makefile (mtrace): Likewise.
974 * timezone/Makefile (tzselect): Likewise.
976 2001-08-29 H.J. Lu <hjl@gnu.org>
978 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Pass
979 ELF_RTYPE_CLASS_PLT, instead of R_MIPS_REL32, to
980 _dl_lookup_versioned_symbol () and _dl_lookup_symbol ().
982 2001-08-29 Andreas Schwab <schwab@suse.de>
984 * sysdeps/m68k/fpu/libm-test-ulps: Updated.
986 2001-08-28 H.J. Lu <hjl@gnu.org>
988 * Makeconfig (combreloc-LDFLAGS): New variable.
989 Add it to LDFLAGS.so, LDFLAGS-rtld, and +link.
990 * config.make.in (have-z-combreloc): New variable.
991 * configure.in: Substitute libc_cv_z_combreloc.
993 2001-08-29 Ulrich Drepper <drepper@redhat.com>
995 * po/sv.po: Update from translation team.
996 * po/fr.po: Likewise.
997 * po/da.po: Likewise.
999 2001-08-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1001 * Makerules: Fix a typo: MD% -> MD5.
1003 2001-08-28 Ulrich Drepper <drepper@redhat.com>
1005 * sunrpc/rpc_hout.c (pargdef): Function must take pointer to object.
1006 Patch by Patrick Duval <Patrick.Duval@devinci.fr>.
1008 2001-08-28 Andreas Jaeger <aj@suse.de>
1010 * manual/libc-texinfo.sh: Add entry about free manuals.
1012 * manual/contrib.texi (Contributors): Fix cross reference.
1014 * manual/libc.texinfo (Copying): Include freemanuals.
1016 * manual/Makefile (appendices): Add freemanuals.
1018 * manual/freemanuals.texi: New file.
1019 Patch by Brian Youmans <3diff@gnu.org>.
1021 * manual/libm-err-tab.pl: Pretty print more platforms, print a
1024 * manual/math.texi (Errors in Math Functions): Fix grammar, start
1025 table on separate page.
1026 Patch by Brian Youmans <3diff@gnu.org>.
1028 2001-08-27 Ulrich Drepper <drepper@redhat.com>
1030 * misc/syslog.c (vsyslog): Try a bit harder to use syslogd. If
1031 the connection went down after we first used it try to connect
1032 again and resend the message before printing to the console.
1033 Reported by Coserea Gh. Tudor <tudore@tudore.gecadsoftware.com>.
1035 2001-08-27 Jakub Jelinek <jakub@redhat.com>
1037 * string/tst-strlen.c (main): Test strnlen (, -1) too.
1038 * sysdeps/generic/strnlen.c (__strnlen): Fix for maxlens with top
1041 2001-08-27 Ulrich Drepper <drepper@redhat.com>
1043 * iconv/strtab.c (searchstring): Use correct length for comparison.
1044 (strtabadd): Account total size correct if new string has old string as
1047 2001-08-27 Jakub Jelinek <jakub@redhat.com>
1049 * elf/rtld.c (dl_main): Update call to _dl_lookup_symbol.
1051 2001-08-27 Andreas Jaeger <aj@suse.de>
1053 * sysdeps/i386/fpu/libm-test-ulps (float): Add ulps for new tests.
1055 * math/libm-test.inc (j0_test): Add extra tests.
1056 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Use |x|,
1057 not x, in Hankel approximation.
1058 Patches by Stephen L Moshier.
1060 2001-08-26 Ulrich Drepper <drepper@redhat.com>
1062 * sysdeps/ia64/dl-lookupcfg.h: Add forward declaration for struct
1065 * configure.in: Fix test for .rela.dyn section.
1067 * elf/dl-runtime.c: Update calls to _dl_lookup_*.
1069 2001-08-26 Jakub Jelinek <jakub@redhat.com>
1071 * elf/dl-reloc.c (RESOLVE_MAP, RESOLVE): Use elf_machine_type_class
1072 instead of elf_machine_lookup_noexec_p and elf_machine_lookup_noplt_p.
1073 Pass type_class to _dl_lookup_*.
1074 * elf/dl-lookup.c (_dl_lookup_symbol): Take type_class parameter now.
1075 Pass around just type_class instead of noexec, noplt pair.
1076 (_dl_lookup_versioned_symbol): Likewise.
1077 (_dl_lookup_symbol_skip): Pass around just type_class instead of
1079 (_dl_lookup_versioned_symbol_skip): Likewise.
1080 (_dl_do_lookup, _dl_do_lookup_versioned): Likewise.
1081 * elf/do-lookup.h (do_lookup): Likewise.
1082 * include/link.h (struct link_map): Replace noexec and noplt fields
1083 in l_lookup_cache with type_class field.
1084 * sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_PLT,
1085 ELF_RTYPE_CLASS_COPY): Define.
1086 Adjust prototypes for _dl_lookup_symbol and
1087 _dl_lookup_versioned_symbol.
1088 * sysdeps/alpha/dl-machine.h (elf_machine_lookup_noplt_p,
1089 elf_machine_lookup_noexec_p): Remove.
1090 (elf_machine_type_class): Define.
1091 * sysdeps/arm/dl-machine.h: Likewise.
1092 * sysdeps/hppa/dl-machine.h: Likewise.
1093 * sysdeps/cris/dl-machine.h: Likewise.
1094 * sysdeps/i386/dl-machine.h: Likewise.
1095 * sysdeps/ia64/dl-machine.h: Likewise.
1096 * sysdeps/m68k/dl-machine.h: Likewise.
1097 * sysdeps/mips/mips64/dl-machine.h: Likewise.
1098 * sysdeps/mips/dl-machine.h: Likewise.
1099 * sysdeps/powerpc/dl-machine.h: Likewise.
1100 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1101 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1102 * sysdeps/sh/dl-machine.h: Likewise.
1103 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1104 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1106 2001-08-26 Ulrich Drepper <drepper@redhat.com>
1108 * manual/message.texi (Advanced gettext functions): Change
1109 description of plural forms for Slovak.
1110 Reported by Marcel Telka <marcel@telka.sk>.
1112 * manuaL/time.texi (Low-Level Time String Parsing): Fix description of
1113 %z. Reported by C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>.
1115 2001-08-26 Jakub Jelinek <jakub@redhat.com>
1117 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_lazy_rel): Fix a
1118 typo. Patch by Florian La Roche <laroche@redhat.com>.
1120 2001-08-26 Ulrich Drepper <drepper@redhat.com>
1122 * include/link.h (struct link_map): Add l_lookup_cache element.
1123 * elf/dl-reloc.c (RESOLVE): Add symbol caching here.
1124 (RESOLVE_MAP): Likewise.
1125 (_dl_relocate_object): Remove cache initialization.
1126 * elf/dl-lookup.c: Rip out cache handling code.
1127 * sysdeps/generic/ldsodefs.h: Remove lookup_cache struct and variable
1130 * elf/dl-lookup.c (_dl_lookup_symbol): Reorder some conditions and
1131 remove some __builtin_expect.
1132 (_dl_lookup_versioned_symbol): Likewise.
1134 * config.h.in: Add HAVE_Z_COMBRELOC.
1135 * configure.in: Add test for -z combreloc.
1137 * sysdeps/i386/dl-machine.h (elf_machine_rel): Minor cleanups and
1138 optimizations. Use HAVE_Z_COMBRELOC to avoid generaton of
1139 R_386_RELATIVE handling for ld.so startup. Reduce RTLD_BOOTSTRAP
1140 case to almost no code.
1142 2001-08-25 Ulrich Drepper <drepper@redhat.com>
1144 * po/tr.po: Update from translation team.
1146 2001-08-24 Andreas Jaeger <aj@suse.de>
1148 * iconv/Makefile (extra-objs): Add iconvconfig-modules so that
1151 2001-08-24 Ulrich Drepper <drepper@redhat.com>
1153 * elf/rtld.c (print_statistics): Printf % after percent values.
1154 * elf/dl-misc.c (_dl_debug_vdprintf): Implement %%.
1156 * elf/dl-lookup.c (_dl_lookup_symbol): If we use the cache we
1157 don't have to compute the hash value and initialize current_value.
1158 Move reference_name variable to where it is needed.
1159 (_dl_lookup_versioned_symbol): Likewise.
1161 2001-08-24 Roland McGrath <roland@frob.com>
1163 * string/tester.c (test_strerror): Don't use _sys_errlist/_sys_nerr.
1164 Just test that strerror returns non-null for a few errno codes.
1166 2001-08-23 Roland McGrath <roland@frob.com>
1168 * hurd/Versions (libc: GLIBC_2.2.5): New set; add _hurd_raise_signal,
1169 _hurdsig_interrupt_timeout, _hurdsig_fault_preemptor.
1171 * sysdeps/posix/shm_unlink.c (shm_unlink): __unlink -> unlink.
1173 * mach/Versions (libc: GLIBC_2.2.5): New set; add __mach_msg_destroy,
1176 2001-08-24 Ulrich Drepper <drepper@redhat.com>
1178 * nss/test-netdb.c (test_hosts): Don't segfault if gethostname
1181 * elf/do-rel.h (elf_dynamic_do_rel): Fix problem with ld.so
1182 startup. Explicitly remove lazy part for RTLD_BOOTSTRAP since gcc
1184 * elf/rtld.c: Include <sys/param.h>.
1185 * elf/dl-reloc.c: Likewise.
1187 2001-08-24 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1189 * sysdeps/unix/sysv/linux/mips/configure.in: Define AC_SUBST to
1190 empty to prevent junk from being generated.
1191 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1193 2001-08-24 Jakub Jelinek <jakub@redhat.com>
1195 * elf/do-rel.h (elf_dynamic_do_rel): If l_addr is 0, skip relative
1196 records. Rename endrel to relative, initialize it to r, and use it
1197 in elf_machine_rel_relative calls. Point r after relative relocs.
1199 2001-08-24 Ulrich Drepper <drepper@redhat.com>
1201 * sysdeps/i386/dl-machine.h (elf_machine_rel): Correct prediction
1204 2001-08-24 Jakub Jelinek <jakub@redhat.com>
1206 * elf/do-rel.h (elf_machine_rel_relative): Define for rela if
1207 necessary. Undefine newly defined macros at the end.
1208 * sysdeps/hppa/dl-machine.h (elf_machine_rela_relative):
1209 Rename from elf_machine_rel_relative.
1210 * sysdeps/cris/dl-machine.h (elf_machine_rela_relative): Likewise.
1211 * sysdeps/m68k/dl-machine.h (elf_machine_rela_relative): Likewise.
1212 * sysdeps/powerpc/dl-machine.h (elf_machine_rela_relative): Likewise.
1213 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela_relative):
1215 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela_relative):
1217 * sysdeps/ia64/dl-machine.h (elf_machine_rela_relative): Likewise.
1219 * sysdeps/alpha/dl-machine.h (elf_machine_rela_relative): Likewise.
1221 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela_relative):
1222 Likewise. Fix argument types.
1223 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela_relative):
1224 Likewise. Fix argument types.
1225 * sysdeps/sh/dl-machine.h (elf_machine_rela_relative): Likewise.
1227 * sysdeps/mips/dl-machine.h (elf_machine_rel_relative): Use
1228 ElfW(Rel) in argument.
1229 * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel_relative): New
1232 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
1234 * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix typo.
1236 2001-08-24 Andreas Jaeger <aj@suse.de>
1238 * sysdeps/ieee754/ldbl-128/e_j1l.c: New file, contributed by
1239 Stephen L Moshier <moshier@mediaone.net>.
1241 2001-08-24 Ulrich Drepper <drepper@redhat.com>
1243 * elf/do-rel.h (elf_dynamic_do_rel): RELATIVE relocations comes
1244 first if RELCOUNT is set.
1246 * elf/do-rel.h (elf_dynamic_do_rel): If not relocating lazily, don't
1247 call elf_machine_rel for the last DT_RELCOUNT relocations but instead
1248 elf_machine_rel_relative.
1249 * sysdeps/alpha/dl-machine.h: Define elf_machine_rel_relative.
1250 Minor optimizations.
1251 * sysdeps/arm/dl-machine.h: Likewise.
1252 * sysdeps/cris/dl-machine.h: Likewise.
1253 * sysdeps/hppa/dl-machine.h: Likewise.
1254 * sysdeps/i386/dl-machine.h: Likewise.
1255 * sysdeps/ia64/dl-machine.h: Likewise.
1256 * sysdeps/m68k/dl-machine.h: Likewise.
1257 * sysdeps/mips/dl-machine.h: Likewise.
1258 * sysdeps/powerpc/dl-machine.h: Likewise.
1259 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1260 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1261 * sysdeps/sh/dl-machine.h: Likewise.
1262 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1263 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1265 2001-08-23 Roland McGrath <roland@frob.com>
1267 * rt/tst-aio4.c [! SIGRTMIN] (SIGRTMIN, SIGRTMAX): Define as -1.
1269 * sysdeps/mach/hurd/bits/libc-lock.h: New file, initially copied from
1270 sysdeps/mach version. Implement counting ("recursive") mutexes
1271 on top of cthreads mutexes.
1272 * sysdeps/mach/hurd/bits/stdio-lock.h: File removed; generic now works.
1274 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Define to
1275 _LIBC_LOCK_RECURSIVE_INITIALIZER if defined, else do an #error.
1276 (__libc_cleanup_region_start, __libc_cleanup_region_end,
1277 __libc_clean_end): Define these to call the cleanup function after
1278 normal exit when they're supposed to.
1280 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start):
1281 Take new first arg DOIT, a boolean saying whether to really install
1282 any cleanup handler.
1283 (__libc_cleanup_region_end): Do nothing if start's DOIT arg was zero.
1284 (__libc_cleanup_end): Likewise.
1285 * sysdeps/generic/bits/libc-lock.h: Same changes.
1286 * stdio-common/vfscanf.c (LOCK_STREAM): Pass new arg.
1287 * stdio-common/vfprintf.c (buffered_vfprintf, vfprintf): Likewise.
1288 * sysdeps/mach/hurd/bits/stdio-lock.h (_IO_cleanup_region_start):
1290 * misc/syslog.c (vsyslog, openlog, closelog): Likewise.
1291 * sysdeps/generic/bits/stdio-lock.h
1292 (_IO_cleanup_region_start, _IO_cleanup_region_start_noarg): Likewise.
1294 2001-08-23 Jakub Jelinek <jakub@redhat.com>
1296 * elf/ldconfig.c (search_dir): Remove stale symlinks.
1298 2001-08-23 Jakub Jelinek <jakub@redhat.com>
1300 * elf/dl-lookup.c (lookup_cache, lookup_cache_versioned): New.
1301 (_dl_lookup_symbol): Lookup relocations in cache and store successfull
1303 (_dl_lookup_versioned_symbol): Likewise.
1304 * elf/dl-reloc.c (_dl_relocate_object): Initialize cache for
1306 * elf/rtld.c (print_statistics): Output _dl_num_cache_relocations.
1307 * sysdeps/generic/ldsodefs.h (struct lookup_cache): New definition.
1308 (lookup_cache, lookup_cache_versioned): Add declarations.
1310 2001-08-23 Ulrich Drepper <drepper@redhat.com>
1312 * stdlib/tst-random.c (main): Swap parameters in fail call.
1313 Patch by Pete Bevin <pete@petebevin.com>.
1315 2001-08-23 Jakub Jelinek <jakub@redhat.com>
1317 * sysdeps/generic/inttypes.h: Use __gwchar_t instead of __wchar_t.
1319 2001-08-23 Ulrich Drepper <drepper@redhat.com>
1321 * malloc/obstack.c: Indent preprocessor directives.
1322 Patch by Jim Meyering <meyering@ascend.com>.
1324 * po/ja.po: Update from translation team.
1326 2001-08-23 Roland McGrath <roland@frob.com>
1328 * libio/tst-ungetwc1.c (main): Add a const to quiet a warning.
1330 * nss/test-netdb.c (test_hosts): Don't use MAXHOSTNAMELEN.
1331 Instead, use dynamic buffer to test gethostname's ENAMETOOLONG error.
1333 2001-08-22 Roland McGrath <roland@frob.com>
1335 * sysdeps/generic/ldsodefs.h (_dl_load_lock): Declare it here with
1336 __libc_lock_define_recursive.
1337 * elf/dl-open.c: Don't declare it here any more.
1338 * elf/dl-close.c: Likewise.
1339 * elf/dl-lookup.c: Likewise.
1340 * elf/dl-iteratephdr.c: Likewise.
1341 * elf/dl-lookup.c (add_dependency): Use __libc_lock_lock_recursive and
1342 __libc_lock_unlock_recursive.
1343 * elf/dl-close.c (_dl_close): Likewise
1344 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise
1345 * elf/dl-open.c (_dl_open): Likewise
1347 * sysdeps/generic/bits/libc-lock.h
1348 (__libc_lock_define_recursive): New macro.
1349 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_t): Use it.
1350 (_IO_lock_lock): Use __libc_lock_lock_recursive.
1351 (_IO_lock_unlock): Use __libc_lock_unlock_recursive.
1353 * conform/conformtest.pl (checknamespace): Sort the output list.
1355 * sysdeps/generic/bits/poll.h (POLLWRBAND): New alias for POLLOUT.
1356 (POLLRDNORM, POLLRDBAND, POLLWRNORM, POLLWRBAND): Make these
1357 definitions conditional on [__USE_XOPEN].
1359 * sysdeps/mach/hurd/bits/fcntl.h (O_ASYNC, O_FSYNC, O_SYNC): Define
1360 these unconditionally, not only use [__USE_BSD], so as to match
1361 the sysdeps/unix/sysv/linux files.
1363 2001-08-22 Ulrich Drepper <drepper@redhat.com>
1365 * test-skeleton.c (add_temp_file): Add __attribute__ ((unused)) to
1368 * dlfcn/tst-dladdr.c (do_test): Get address of ref1 using
1371 2001-08-22 Roland McGrath <roland@frob.com>
1373 * sysdeps/generic/bits/sigaction.h (struct sigaction): Fix up
1374 conditionalization of sa_handler/sa_sigaction member types to
1375 match the sysdeps/unix/sysv/linux file.
1377 2001-08-22 Ulrich Drepper <drepper@redhat.com>
1379 * elf/dl-addr.c (_dl_addr): Handle broken binaries with zero
1380 symbol sizes a bit better.
1382 * sysdeps/ia64/strncpy.S: Complete rewrite.
1383 Contributed by Jakub Jelinek <jakub@redhat.com>.
1385 * string/stratcliff.c (main): Add strncpy test.
1387 2001-08-22 Roland McGrath <roland@frob.com>
1389 * sysdeps/generic/dl-environ.c: Include <stdlib.h> and <unistd.h>,
1390 and don't declare unsetenv or _environ directly.
1391 (unsetenv): Return int, not void. Use __environ instead of _environ.
1393 2001-08-01 Mark Kettenis <kettenis@gnu.org>
1395 * sysdeps/unix/bsd/bsd4.4/Makefile: New file.
1396 * sysdeps/unix/bsd/bsd4.4/Versions: New file.
1397 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: New file.
1398 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Correct
1399 test for cmsg struct size.
1401 2001-04-23 Paul Eggert <eggert@twinsun.com>
1403 * posix/getopt.h (getopt_long, getopt_long_only, _getopt_internal):
1404 Rename __argc to ___argc in prototypes to avoid compatibility
1405 problems with systems that reserve the identifier "__argc".
1406 Similarly for __argv.
1408 2001-08-21 Roland McGrath <roland@frob.com>
1410 * stdio-common/tst-fseek.c: Include <time.h> for `time' declaration.
1412 * mach/Makefile (tests): Removed.
1413 * mach/hello.c: File removed.
1415 2001-08-22 Ulrich Drepper <drepper@redhat.com>
1417 * po/sv.po: Update from translation team.
1419 * stdio-common/vfscanf.c: Fix handling of %l[].
1420 Reported by Mitsuru Chinen <mchinen@yamato.ibm.com>.
1422 * libio/Makefile (tests): Add tst-sscanf.
1423 * libio/tst-sscanf.c: New file.
1425 * elf/dl-addr.c (_dl_addr): Fix tests to determine dli_sname.
1426 * malloc/mtrace.c (tr_where): dli_sname always points to a
1427 non-empty string if != NULL.
1428 Reported by Tim Janik <timj@gtk.org>.
1430 2001-08-22 Jakub Jelinek <jakub@redhat.com>
1432 * sunrpc/xdr_rec.c (xdrrec_create): Fix buf sizes before allocating
1433 buf. Free resources on failure.
1434 * sunrpc/svc_unix.c (svcunix_create): Free resources on failure.
1435 (makefd_xprt): Likewise.
1436 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
1437 * sunrpc/svc_tcp.c (svctcp_create, makefd_xprt): Likewise.
1438 * sunrpc/auth_unix.c (authunix_create): Likewise.
1440 2001-08-21 Jakub Jelinek <jakub@redhat.com>
1442 * string/strnlen.c: Remove.
1443 * sysdeps/generic/strnlen.c: New.
1444 * sysdeps/i386/i486/bits/string.h (strnlen): Remove.
1446 2001-08-21 Roland McGrath <roland@frob.com>
1448 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Define this
1449 as a macro, not an extern inline function.
1451 * hurd/Versions (GLIBC_2.2.5): New set, define __hurd_fail here.
1452 * Versions.def (libc): Add GLIBC_2.2.5 set.
1453 * hurd/hurd.h (_HURD_H_EXTERN_INLINE): New macro.
1454 (__hurd_fail): Use that instead of _EXTERN_INLINE in decl.
1456 2001-08-20 Roland McGrath <roland@frob.com>
1458 * hurd/hurdlookup.c (__hurd_file_name_lookup): Fail with ENOENT for "".
1459 (__hurd_file_name_split, __hurd_directory_name_split): Likewise.
1461 2001-08-21 Ulrich Drepper <drepper@redhat.com>
1463 * string/bits/string2.h: Remove strnlen optimization here.
1464 * sysdeps/i386/i486/bits/string.h: Add it here.
1466 2001-08-21 Wolfram Gloger <wg@malloc.de>
1468 * malloc/malloc.c: Make access to ..._hook pointers thread-safe.
1470 2001-08-21 Ulrich Drepper <drepper@redhat.com>
1472 * po/gl.po: Update from translation team.
1474 2001-08-20 Ulrich Drepper <drepper@redhat.com>
1476 * misc/error.c (error_tail): Use fputws_unlocked instead of fputws.
1477 * misc/err.c (convert_and_print): Likewise.
1479 * malloc/obstack.c (print_and_abort): Use fprintf instead of two
1482 2001-08-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
1484 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Revert the
1485 change of the gregset_t type.
1486 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1488 2001-08-20 kaz Kojima <kkojima@rr.iij4u.or.jp>
1490 * sysdeps/unix/sysv/linux/sh/sysdep.S: Align errno.
1492 2001-08-20 Ulrich Drepper <drepper@redhat.com>
1494 * posix/regex.c (truncate_wchar): Use wcrtomb not wctomb.
1496 * string/strnlen.c: Fix the implementation. We cannot use memchr.
1498 2001-08-18 Mark Kettenis <kettenis@gnu.org>
1500 * sysdeps/mach/hurd/i386/init-first.c (init): Initialize __environ
1501 before calling the cthreads initialization code.
1503 2001-08-20 Ulrich Drepper <drepper@redhat.com>
1505 * argp/argp-help.c: Fix two problems introduced in last change.
1507 * include/dirent.h: Include <dirstream.h> first.
1509 2001-08-19 Ulrich Drepper <drepper@redhat.com>
1511 * io/fts.c (fts_safe_changedir): Use __fxstat64 instead of __fstat.
1513 * sunrpc/svcauth_des.c (_svcauth_des): Avoid using bcopy.
1514 * sunrpc/xdr_rec.c: Likewise.
1515 * sunrpc/xdr_mem.c: Likewise.
1516 * sunrpc/svc_authux.c (_svcauth_unix): Likewise.
1517 * sunrpc/rpc_cmsg.c: Likewise.
1518 * sunrpc/getrpcport.c (getrpcport): Likewise.
1519 * sunrpc/clnt_simp.c (callrpc): Likewise.
1520 * sunrpc/clnt_gen.c (clnt_create): Likewise.
1521 * string/envz.c: Likewise.
1523 * po/ko.po: Update from translation team.
1525 * argp/argp-help.c: Handle wide oriented stderr stream.
1527 2001-08-18 Ulrich Drepper <drepper@redhat.com>
1529 * sysdeps/generic/strtol.c: Little optimizations. Add some
1532 * conform/conformtest.pl: <inttypes.h> test requires <stddef.h>.
1534 * wcsmbs/wchar.h (wcwdith): Change parameter type to wchar_t.
1535 * wcsmbs/wcwidth.c (wcwdith): Likewise.
1536 * wcsmbs/wcwidth.h (internal_wcwdith): Likewise.
1538 * conform/data/unistd.h-data: Remove _SC_MULTIPLE_PROCESS.
1540 * conform/data/ucontext.h-data: Fix typos in ucontext_t element tests.
1542 * time/time.h (struct timespec): Use __time_t for tv_sec element.
1544 * sysdeps/generic/inttypes.h: Define __wchar_t. Use it instead of
1545 wchar_t for function declarations and defintions.
1547 * misc/sys/select.h: Define __need_time_t before including <time.h>.
1548 Define suseconds_t if it hasn't happened yet.
1550 * iconv/gconv.h: Define __need_wchar_t before including <stddef.h>.
1552 * conform/data/sys/uio.h-data: Allow UIO_MAXIOV to be defined.
1554 * sysdeps/generic/stdint.h: Don't get definition of wchar_t from
1557 * conform/data/stddef.h-data: Remove wint_t.
1559 * conform/conformtest.pl: Change namespace test to take #undef
1562 * conform/data/netinet/in.h-data: Fix typo in allow-header line.
1564 * conform/data/sys/socket.h-data: Add sockatmark.
1566 2001-08-17 Ulrich Drepper <drepper@redhat.com>
1568 * io/fts.c: Update from recent BSD source.
1570 2001-08-17 Roland McGrath <roland@frob.com>
1572 * stdio-common/perror.c (perror) [! USE_IN_LIBIO]: Don't use _IO_fwide.
1573 * misc/error.c (error_tail, error, error_at_line) [! USE_IN_LIBIO]:
1576 2001-08-17 Ulrich Drepper <drepper@redhat.com>
1578 * locale/duplocale.c (__duplocale): Also initialize the special
1581 * conform/data/netdb.h-data: Adjust gai_strerror return type.
1583 2001-08-17 Andreas Jaeger <aj@suse.de>
1585 * misc/getpass.c: Include wchar.h for prototypes.
1586 * malloc/obstack.c: Likewise.
1588 2001-08-17 Ulrich Drepper <drepper@redhat.com>
1590 * sunrpc/svc_simple.c (universal): Use __write instead of write.
1592 * wcsmbs/wcscoll.c: Also define __wcscoll.
1593 * include/wchar.h: Declare __wcscoll.
1595 * libio/fwprintf.c: Use __vfwprintf instead of vfwprintf.
1596 * libio/vwprintf.c: Likewise.
1597 * libio/wprintf.c: Likewise.
1599 * iconv/gconv_cache.c: Use __munmap instead of munmap.
1601 2001-08-16 Ulrich Drepper <drepper@redhat.com>
1603 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
1605 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
1606 wcslen, and __wcscoll instead of wcscoll.
1608 * sysdeps/unix/sockatmark.c (sockatmark): Use __ioctl instead of ioctl.
1610 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue): Use
1611 __getuid instead of getuid.
1613 * stdio-common/perror.c (perror): Use __close instead of close.
1614 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
1615 * libio/freopen.c (freopen): Likewise.
1616 * libio/freopen64.c (freopen64): Likewise.
1618 * libio/tst-ungetwc2.c (main): Define str const.
1620 * include/wchar.h: Add prototypes for __fwprintf and __vfwprintf.
1621 * libio/fwprintf.c: Also define __fwprintf.
1622 * stdio-common/vfprintf.c [COMPILE_WPRINTF]: Also define __vfwprintf.
1623 * argp/argp-fmtstream.c: Handle wide oriented stderr stream.
1624 * assert/assert-perr.c: Likewise.
1625 * assert/assert.c: Likewise.
1626 * gmon/gmon.c: Likewise.
1627 * inet/rcmd.c: Likewise.
1628 * malloc/obstack.c: Likewise.
1629 * misc/err.c: Likewise.
1630 * misc/error.c: Likewise.
1631 * misc/getpass.c: Likewise.
1632 * posix/getopt.c: Likewise.
1633 * resolv/res_hconf.c: Likewise.
1634 * stdio-common/perror.c: Likewise.
1635 * stdio-common/psignal.c: Likewise.
1636 * stdlib/fmtmsg.c: Likewise.
1637 * sunrpc/auth_unix.c: Likewise.
1638 * sunrpc/clnt_perr.c: Likewise.
1639 * sunrpc/clnt_tcp.c: Likewise.
1640 * sunrpc/clnt_udp.c: Likewise.
1641 * sunrpc/clnt_unix.c: Likewise.
1642 * sunrpc/svc_simple.c: Likewise.
1643 * sunrpc/svc_tcp.c: Likewise.
1644 * sunrpc/svc_udp.c: Likewise.
1645 * sunrpc/svc_unix.c: Likewise.
1646 * sunrpc/xdr.c: Likewise.
1647 * sunrpc/xdr_array.c: Likewise.
1648 * sunrpc/xdr_rec.c: Likewise.
1649 * sunrpc/xdr_ref.c: Likewise.
1650 * sysdeps/generic/wordexp.c: Likewise.
1652 * po/it.po: Update from translation team.
1654 * misc/err.c: Handle wide oriented stderr stream.
1656 2001-08-14 Tom Rix <trix@redhat.com>
1658 * iconv/gconv_cache.c (find_module): Add #ifndef STATIC_GCONV.
1659 * iconv/Makefile: Fix gconv_cache.c CFLAGS.
1661 2001-08-13 Tom Rix <trix@redhat.com>
1663 * sysdeps/unix/sysv/aix/Makefile: Add rule to import kernel symbols.
1664 * sysdeps/unix/sysv/aix/bits/types.h: Fix type of __id_t, __useconds_t
1667 2001-08-15 Martin Schwidefsky <schwidefsky@de.ibm.com>
1669 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S (__getcontext):
1670 Store the access registers to the ucontext structure.
1671 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S (__getcontext):
1674 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S (__setcontext):
1675 Load the access registers from the ucontext structure.
1676 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S (__setcontext):
1679 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: Adjust the SC_xxx
1680 offsets to the new ucontext layout.
1681 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: Likewise.
1683 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix the layout
1684 of the ucontext structure.
1685 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1687 2001-08-15 Ulrich Drepper <drepper@redhat.com>
1689 * misc/error.c (error): Handle wide oriented stderr stream correctly.
1690 (error_at_line): Likewise.
1692 * stdio-common/perror.c (perror): Implement according to standard.
1693 The stream orientation must not be changed if the stream was not
1694 oriented before the call.
1695 * stdio-common/Makefile (tests): Add tst-perror.
1696 * stdio-common/tst-perror.c: New file.
1699 See ChangeLog.12 for earlier changes.