Update.
[glibc.git] / ChangeLog
blobd34f0e0fa195293850b48770b391c80ff02d2cfa
1 2001-10-26  Ulrich Drepper  <drepper@redhat.com>
3         * posix/fnmatch_loop.c: Recognize - at end of bracket expression
4         correctly.
6         * string/strxfrm.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get
7         nrules value.
9 2001-10-24  H.J. Lu  <hjl@gnu.org>
11         * sysdeps/generic/bits/dlfcn.h (DL_CALL_FCT): Cast to void *.
12         Use __BEGIN_DECLS/__END_DECLS around prototypes.
13         * sysdeps/mips/bits/dlfcn.h (DL_CALL_FCT): Likewise.
15 2001-10-21  Jim Meyering  <meyering@lucent.com>
17         * malloc/obstack.c (_): Honor the setting of ENABLE_NLS.  Otherwise,
18         this code would end up calling gettext even in packages built
19         with --disable-nls.
20         * posix/getopt.c (_): Likewise.
21         * posix/regex.c (_): Likewise.
23 2001-10-26  Ulrich Drepper  <drepper@redhat.com>
25         * resolv/gethnamaddr.c (gethostbyaddr): Use ip6.addr for reverse
26         lookup not ip6.int.
27         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
28         Reported by Martin.v.Loewis@t-online.de [PR libc/2598].
30 2001-10-19  Jakub Jelinek  <jakub@redhat.com>
32         * misc/sys/cdefs.h (__attribute_used__): Define.
33         * elf/rtld.c (_dl_start): Add __attribute_used__.
34         * elf/dl-runtime.c (fixup, profile_fixup): Likewise.
36 2001-10-25  Andreas Schwab  <schwab@suse.de>
38         * stdlib/a64l.c: Expect least significant digit first.
39         * stdlib/l64a.c: Produce least significant digit first.
40         * stdlib/Makefile (tests): Add test-a64l.
41         * stdlib/test-a64l.c: New file.
42         Reported by Masaki Hasegawa <masaki-h@pp.iij4u.or.jp>.
44 2001-10-21  Ulrich Drepper  <drepper@redhat.com>
46         * po/sk.po: Update from translation team.
48 2001-10-18  Ulrich Drepper  <drepper@redhat.com>
50         * sysdeps/i386/elf/start.S (_fp_hw): Define object type.
52 2001-10-18  Andreas Schwab  <schwab@suse.de>
54         * math/libm-test.inc (print_ulps): Print ulp values rounded to
55         next whole number.
56         (print_function_ulps): Likewise.
57         (print_complex_function_ulps): Likewise.
58         (print_max_error): Likewise.
59         (print_complex_max_error): Likewise.  Handle ignore_max_ulp.
61 2001-10-16  Andreas Schwab  <schwab@suse.de>
63         * sysdeps/m68k/fpu/libm-test-ulps: Updated for fixed cbrtl
64         implementation.
66         * sysdeps/m68k/setjmp.c: Also define setjmp and _setjmp if
67         BSD_SETJMP or BSD__SETJMP is defined, resp.
68         * sysdeps/m68k/bsd-setjmp.c: Inline setjmp code instead of making
69         a tail call to __sigsetjmp that would require extending the
70         caller's frame.
71         * sysdeps/m68k/bsd-_setjmp.c: Likewise.
72         * sysdeps/m68k/bsd-setjmp.S: Deleted.
73         * sysdeps/m68k/bsd-_setjmp.S: Deleted.
74         Reported by Jes Sorensen <jes@trained-monkey.org>.
76 2001-10-16  Andreas Jaeger  <aj@suse.de>
78         * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Fix
79         parentheses.  Reported by David Byron <dbyron@porto.coactive.com>,
80         close PR libc/2589.
82 2001-10-15  Ulrich Drepper  <drepper@redhat.com>
84         * po/ca.po: New file.  Contributed by the translation team.
86 2001-10-15  Ralf Baechle  <ralf@gnu.org>
88         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Make sysmips() prototype
89         a varargs prototype.  Remove dependency from kernel header files.
91         * sysdeps/unix/sysv/linux/mips/bits/termios.h: General cleanup, use
92         __USE_MISC / __USE_XOPEN not __USE_BSD where appropriate.
94 2001-10-14  Ulrich Drepper  <drepper@redhat.com>
96         * locale/programs/ld-collate.c (handle_ellipsis): Use %lX not %lx
97         to generate hexadecimal identifier.
98         Patch by Jungshik Shin <jungshik.shin@yale.edu>.
100 2001-10-09  Stephen L Moshier  <moshier@mediaone.net>
102         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Fix algorithm.
104 2001-10-14  Ulrich Drepper  <drepper@redhat.com>
106         * sysdeps/ieee754/ldbl-128/e_powl.c: New file.
107         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: New file.
108         Contributed by Stephen L Moshier <moshier@mediaone.net>.
110         * sysdeps/ieee754/ldbl-128/e_j0l.c: Constify float variables.
111         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
112         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise
113         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise
114         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise
115         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise
117         * timezone/africa: Update from tzdata2001d.
118         * timezone/asia: Likewise.
119         * timezone/australasia: Likewise.
120         * timezone/backward: Likewise.
121         * timezone/europe: Likewise.
122         * timezone/leapseconds: Likewise.
123         * timezone/northamerica: Likewise.
124         * timezone/southamerica: Likewise.
125         * timezone/zone.tab: Likewise.
127 2001-10-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
129         * sysdeps/s390/s390-32/sys/ucontext.h: Correct __psw_t typedef.
130         * sysdeps/s390/s390-64/sys/ucontext.h: Likewise.
132 2001-10-12  Ulrich Drepper  <drepper@redhat.com>
134         * elf/elf.h (PT_TLS): New definition.
136 2001-10-10  Jeff Bailey  <jbailey@nisa.net>
138         * sysdeps/mach/hurd/Makefile: Add $(CFLAGS) for generation of
139         bits/errno.h
141 2001-10-07  Roland McGrath  <roland@frob.com>
143         * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Never return ENOSYS.
145 2001-10-10  Ulrich Drepper  <drepper@redhat.com>
147         * elf/elf.h: Add more ELFOSABI_* constants.
149 2001-10-04  Ben Collins  <bcollins@debian.org>
151         * sysdeps/generic/inttypes.h: Fix typo (define, not defined) in
152         decleration of __need_wchar_t.
154 2001-10-03  Jakub Jelinek  <jakub@redhat.com>
156         * string/bits/string2.h (__strsep_g): Add prototype.
157         (__strsep): Use it.
158         * string/Versions (__strsep): Remove.
159         * sysdeps/generic/strsep.c (__strsep_g): Add alias to __strsep.
161 2001-10-07  Ulrich Drepper  <drepper@redhat.com>
163         * manua/llio.texi: Clarify file references added by mmap.
164         Patch by Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
166 2001-09-29  Jes Sorensen  <jes@trained-monkey.org>
168         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
169         Add sc_loadrs and sc_rbs_bas to match current kernel.
171 2001-09-27  Jakub Jelinek  <jakub@redhat.com>
173         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
175         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Fix erfc(-inf).
177 2001-09-27  Jakub Jelinek  <jakub@redhat.com>
179         * elf/dl-open.c (dl_open_worker): If l_opencount of freshly loaded
180         object has been bumped because of relocation dependency, avoid
181         duplicates in l_scope.
182         (show_scope): Fix typos.
183         * elf/Makefile: Add rules to build and run reldep6.
184         * elf/reldep6.c: New file.
185         * elf/reldep6mod0.c: New file.
186         * elf/reldep6mod1.c: New file.
187         * elf/reldep6mod2.c: New file.
188         * elf/reldep6mod3.c: New file.
189         * elf/reldep6mod4.c: New file.
191 2001-09-26  Jakub Jelinek  <jakub@redhat.com>
193         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Call
194         sparc64_fixup_plt.
195         (sparc64_fixup_plt): Moved from elf_machine_fixup_plt.  Optimize
196         near jumps and 0xfffff800XXXXXXXX target addresses, no thread safety
197         for non-lazy binding. Fix .plt[32768+] handling.
198         (elf_machine_plt_value): Don't add addend.
199         (elf_machine_rela): Call sparc64_fixup_plt instead of
200         elf_machine_fixup_plt.
201         (elf_machine_runtime_setup, TRAMPOLINE_TEMPLATE): Optimize for
202         dynamic linker at 0xfffff800XXXXXXXX.
204         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
206 2001-09-28  Ulrich Drepper  <drepper@redhat.com>
208         * elf/elf.h: Define SHF_GROUP and SHF_TLS.
210 2001-09-25  Jakub Jelinek  <jakub@redhat.com>
212         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (struct cmsghdr): Don't
213         declare __cmsg_data field if its size would be bigger than 0.
214         (CMSG_DATA): Adjust accordingly.
215         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
216         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Likewise.
217         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
218         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
219         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
220         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
221         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
223 2001-09-25  Ulrich Drepper  <drepper@redhat.com>
225         * iconvdata/TESTS: Add entries for IBM1160 and IBM1161.
226         * iconvdata/testdata/IBM1160: New file.
227         * iconvdata/testdata/IBM1160..UTF8: New file.
228         * iconvdata/testdata/IBM1161: New file.
229         * iconvdata/testdata/IBM1161..UTF8: New file.
230         Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
232 2001-09-24  Ulrich Drepper  <drepper@redhat.com>
234         * sysdeps/unix/bsd/ulimit.c (ulimit): Handle overflow in
235         UL_SETFSIZE computations better.
237         * rt/Makefile: Remove use of filter for librt again.
239         * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Handle overflow in
240         UL_SETFSIZE computations better.
242         * string/Versions: Export __strsep for GLIBC_2.2.5.
243         * string/bits/string2.h: Define all __STRING_INLINE functions if
244         _FORCE_INLINES is defined.
245         Use int instead of char of parameter types.
246         (__strsep): Don't use __strsep_g.  Don't define it.
247         (__strsep_1c, __strsep_2c, __strsep_3c): Optimize.
248         * sysdeps/i386/i486/string.h (__strcpy_a_small): Renamed from
249         __strcpy_small.
250         (__stpcpy_a_small): Renamed from __stpcpy_small.
251         (__strcspn_c1): Don't define if _FORCE_INLINES.
252         (__strspn_c1): Likewise.
254 2001-09-22  Ben Collins  <bcollins@debian.org>
256         * sysdeps/sparc/bits/sigaction.h: Define SA_RESTART and friends when
257         _UNIX98_SOURCE is defined too.  Matches generic/bits/sigaction.h.
258         * sysdeps/ia64/bits/sigaction.h: Likewise.
259         * sysdeps/s390/s390-64/bits/sigaction.h: Likewise.
261 2001-09-24  Andrew Haley  <aph@cambridge.redhat.com>
263         * sysdeps/unix/sysv/linux/sh/Makefile (sysdep_headers): Add sys/io.h.
265 2001-09-24  Jakub Jelinek  <jakub@redhat.com>
267         * elf/dl-open.c (dl_open_worker): Update l_scope_max.
269 2001-09-24  Ulrich Drepper  <drepper@redhat.com>
271         * wcsmbs/wchar.h: Add __attribute_pure__ to mbsinit prototype.
273 2001-09-20  H.J. Lu  <hjl@gnu.org>
275         * include/dlfcn.h (__RTLD_SPROF): New definiton.
276         * elf/dl-open.c (dl_open_worker): Return immediately after loading
277         for __RTLD_SPROF.
278         * elf/sprof.c (main): Default to the filename if soname doesn't exist.
279         (load_shobj): Call dlopen with `RTLD_LAZY | __RTLD_SPROF'.
281 2001-09-20  H.J. Lu  <hjl@gnu.org>
283         * elf/dl-profile.c (_dl_mcount): Use old *narcsp value for newarc,
284         don't add 1.
286 2001-09-22  Ulrich Drepper  <drepper@redhat.com>
288         * nss/getent.c: Accept -s parameter to overwrite rules in
289         nsswitch.conf.  Patch by Nalin Dahyabhai <nalin@redhat.com>.
291         * nss/nss_files/files-network.c (LINE_PARSER): Pad addr string
292         with as many ".0" as necessary to form a complete address
293         inet_network understands.
295         * nss/getent.c: Various cleanups.  Use simpler and fewer function
296         calls.
298 2001-09-20  Martin Schwidefsky  <schwidefsky@de.ibm.com>
300         * sysdeps/s390/s390-32/bits/setjmp.h: Correct pointer comparison in
301         _JMPBUF_UNWINDS.
302         * sysdeps/s390/s390-64/bits/setjmp.h: Likewise.
304 2001-09-22  Ulrich Drepper  <drepper@redhat.com>
306         * iconvdata/Makefile: Add rules to build and distribute IBM1160 and
307         IBM1161.
308         * iconvdata/gconv-modules: Add entries for IBM1160 and IBM1161.
309         * iconvdata/ibm1160.c: New file.
310         * iconvdata/ibm1160.h: New file.
311         * iconvdata/ibm1161.c: New file.
312         * iconvdata/ibm1161.h: New file.
313         Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
315 2001-09-19  Jakub Jelinek  <jakub@redhat.com>
317         * sysdeps/alpha/dl-machine.h (elf_machine_load_address): Compute the
318         difference between base address and first PT_LOAD's virtual address,
319         not the base address.
321 2001-09-11  Tom Rix  <trix@redhat.com>
323         * sysdeps/unix/sysv/aix/init-first.c (init):  Use USE_NONONPTION_FLAG
324         ifdef for __getopt_clean_environment.
325         * sysdeps/unix/sysv/aix/libc-start.c: Add real implementation.
327 2001-09-22  Andreas Jaeger  <aj@suse.de>
329         * elf/reldep4.c (main): Add proper prototype to fix warning.
331         * elf/reldep5.c (main): Remove unused variable.
333         * math/math_private.h: Add prototypes.
335 2001-09-21  Andreas Jaeger  <aj@suse.de>
337         * sysdeps/unix/sysv/linux/x86_64/Dist: New file.
338         * sysdeps/x86_64/Dist: New file.
339         * sysdeps/x86_64/soft-fp/Dist: New file.
341         * sysdeps/gnu/Dist: Remove eval.c.
343 2001-09-20  Ulrich Drepper  <drepper@redhat.com>
345         * malloc/memusage.c (realloc): Don't count already allocated
346         memory in the sums.
347         (me): Always use dlsym() to find the real implementations.
349         * malloc/memusage.sh: Make -n option actually do something.
351 2001-09-20  Andreas Jaeger  <aj@suse.de>
353         * elf/elf.h (R_390_NUM): Correct value.
355         * Versions.def: Add missing versions 2.2.3 for libthread_db and
356         libpthread.
358         * sysdeps/unix/sysv/linux/configure.in: Add minimal kernel version
359         for x86-64, install x86-64 into */lib64.
361         * shlib-versions: Add x86-64.
363         * elf/elf.h: Add x86-64 relocations.
365 2001-09-19  Ulrich Drepper  <drepper@redhat.com>
367         * po/fr.po: Update from translation team.
369 2001-09-19  Andreas Jaeger  <aj@suse.de>
371         * sysdeps/unix/sysv/linux/x86_64/Makefile: New file.
372         * sysdeps/unix/sysv/linux/x86_64/Versions: New file.
373         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: New file.
374         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: New file.
375         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: New file.
376         * sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: New file.
377         * sysdeps/unix/sysv/linux/x86_64/bits/time.h: New file.
378         * sysdeps/unix/sysv/linux/x86_64/bits/types.h: New file.
379         * sysdeps/unix/sysv/linux/x86_64/brk.c: New file.
380         * sysdeps/unix/sysv/linux/x86_64/clone.S: New file.
381         * sysdeps/unix/sysv/linux/x86_64/fstatfs64.c: New file.
382         * sysdeps/unix/sysv/linux/x86_64/ftruncate64.c: New file.
383         * sysdeps/unix/sysv/linux/x86_64/fxstat.c: New file.
384         * sysdeps/unix/sysv/linux/x86_64/fxstat64.c: New file.
385         * sysdeps/unix/sysv/linux/x86_64/getdents.c: New file.
386         * sysdeps/unix/sysv/linux/x86_64/getdents64.c: New file.
387         * sysdeps/unix/sysv/linux/x86_64/getrlimit64.c: New file.
388         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
389         * sysdeps/unix/sysv/linux/x86_64/glob64.c: New file.
390         * sysdeps/unix/sysv/linux/x86_64/lxstat.c: New file.
391         * sysdeps/unix/sysv/linux/x86_64/lxstat64.c: New file.
392         * sysdeps/unix/sysv/linux/x86_64/mmap64.c: New file.
393         * sysdeps/unix/sysv/linux/x86_64/pread64.c: New file.
394         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: New file.
395         * sysdeps/unix/sysv/linux/x86_64/pwrite64.c: New file.
396         * sysdeps/unix/sysv/linux/x86_64/readdir.c: New file.
397         * sysdeps/unix/sysv/linux/x86_64/readdir64.c: New file.
398         * sysdeps/unix/sysv/linux/x86_64/readdir64_r.c: New file.
399         * sysdeps/unix/sysv/linux/x86_64/readdir_r.c: New file.
400         * sysdeps/unix/sysv/linux/x86_64/recv.c: New file.
401         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: New file.
402         * sysdeps/unix/sysv/linux/x86_64/send.c: New file.
403         * sysdeps/unix/sysv/linux/x86_64/setrlimit64.c: New file.
404         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: New file.
405         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: New file.
406         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: New file.
407         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: New file.
408         * sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: New file.
409         * sysdeps/unix/sysv/linux/x86_64/statfs64.c: New file.
410         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: New file.
411         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: New file.
412         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: New file.
413         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: New file.
414         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: New file.
415         * sysdeps/unix/sysv/linux/x86_64/syscall.S: New file.
416         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: New file.
417         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: New file.
418         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: New file.
419         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
420         * sysdeps/unix/sysv/linux/x86_64/truncate64.c: New file.
421         * sysdeps/unix/sysv/linux/x86_64/umount.c: New file.
422         * sysdeps/unix/sysv/linux/x86_64/vfork.S: New file.
423         * sysdeps/unix/sysv/linux/x86_64/xstat.c: New file.
424         * sysdeps/unix/sysv/linux/x86_64/xstat64.c: New file.
425         * sysdeps/unix/x86_64/sysdep.S: New file.
426         * sysdeps/unix/x86_64/sysdep.h: New file.
427         * sysdeps/x86_64/Implies: New file.
428         * sysdeps/x86_64/Makefile: New file.
429         * sysdeps/x86_64/Versions: New file.
430         * sysdeps/x86_64/__longjmp.S: New file.
431         * sysdeps/x86_64/abort-instr.h: New file.
432         * sysdeps/x86_64/atomicity.h: New file.
433         * sysdeps/x86_64/bits/endian.h: New file.
434         * sysdeps/x86_64/bits/setjmp.h: New file.
435         * sysdeps/x86_64/bits/string.h: New file.
436         * sysdeps/x86_64/bp-asm.h: New file.
437         * sysdeps/x86_64/bsd-_setjmp.S: New file.
438         * sysdeps/x86_64/bsd-setjmp.S: New file.
439         * sysdeps/x86_64/dl-machine.h: New file.
440         * sysdeps/x86_64/elf/initfini.c: New file.
441         * sysdeps/x86_64/elf/start.S: New file.
442         * sysdeps/x86_64/ffs.c: New file.
443         * sysdeps/x86_64/ffsll.c: New file.
444         * sysdeps/x86_64/fpu/bits/fenv.h: New file.
445         * sysdeps/x86_64/fpu/bits/mathdef.h: New file.
446         * sysdeps/x86_64/fpu/e_acosl.c: New file.
447         * sysdeps/x86_64/fpu/e_atan2l.c: New file.
448         * sysdeps/x86_64/fpu/e_exp2l.S: New file.
449         * sysdeps/x86_64/fpu/e_expl.c: New file.
450         * sysdeps/x86_64/fpu/e_fmodl.S: New file.
451         * sysdeps/x86_64/fpu/e_log10l.S: New file.
452         * sysdeps/x86_64/fpu/e_log2l.S: New file.
453         * sysdeps/x86_64/fpu/e_logl.S: New file.
454         * sysdeps/x86_64/fpu/e_powl.S: New file.
455         * sysdeps/x86_64/fpu/e_rem_pio2l.c: New file.
456         * sysdeps/x86_64/fpu/e_scalbl.S: New file.
457         * sysdeps/x86_64/fpu/e_sqrtl.c: New file.
458         * sysdeps/x86_64/fpu/fclrexcpt.c: New file.
459         * sysdeps/x86_64/fpu/fedisblxcpt.c: New file.
460         * sysdeps/x86_64/fpu/feenablxcpt.c: New file.
461         * sysdeps/x86_64/fpu/fegetenv.c: New file.
462         * sysdeps/x86_64/fpu/fegetexcept.c: New file.
463         * sysdeps/x86_64/fpu/fegetround.c: New file.
464         * sysdeps/x86_64/fpu/feholdexcpt.c: New file.
465         * sysdeps/x86_64/fpu/fesetenv.c: New file.
466         * sysdeps/x86_64/fpu/fesetround.c: New file.
467         * sysdeps/x86_64/fpu/fgetexcptflg.c: New file.
468         * sysdeps/x86_64/fpu/fraiseexcpt.c: New file.
469         * sysdeps/x86_64/fpu/fsetexcptflg.c: New file.
470         * sysdeps/x86_64/fpu/ftestexcept.c: New file.
471         * sysdeps/x86_64/fpu/libm-test-ulps: New file.
472         * sysdeps/x86_64/fpu/math_ldbl.h: New file.
473         * sysdeps/x86_64/fpu/printf_fphex.c: New file.
474         * sysdeps/x86_64/fpu/s_atanl.c: New file.
475         * sysdeps/x86_64/fpu/s_cosl.S: New file.
476         * sysdeps/x86_64/fpu/s_expm1l.S: New file.
477         * sysdeps/x86_64/fpu/s_fpclassifyl.c: New file.
478         * sysdeps/x86_64/fpu/s_isinfl.c: New file.
479         * sysdeps/x86_64/fpu/s_isnanl.c: New file.
480         * sysdeps/x86_64/fpu/s_log1pl.S: New file.
481         * sysdeps/x86_64/fpu/s_logbl.c: New file.
482         * sysdeps/x86_64/fpu/s_nextafterl.c: New file.
483         * sysdeps/x86_64/fpu/s_nexttoward.c: New file.
484         * sysdeps/x86_64/fpu/s_nexttowardf.c: New file.
485         * sysdeps/x86_64/fpu/s_rintl.c: New file.
486         * sysdeps/x86_64/fpu/s_significandl.c: New file.
487         * sysdeps/x86_64/fpu/s_sincosl.S: New file.
488         * sysdeps/x86_64/fpu/s_sinl.S: New file.
489         * sysdeps/x86_64/fpu/s_tanl.S: New file.
490         * sysdeps/x86_64/gmp-mparam.h: New file.
491         * sysdeps/x86_64/hp-timing.c: New file.
492         * sysdeps/x86_64/hp-timing.h: New file.
493         * sysdeps/x86_64/htonl.S: New file.
494         * sysdeps/x86_64/memusage.h: New file.
495         * sysdeps/x86_64/setjmp.S: New file.
496         * sysdeps/x86_64/soft-fp/sfp-machine.h: New file.
497         * sysdeps/x86_64/stackinfo.h: New file.
498         * sysdeps/x86_64/sysdep.h: New file.
499         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: New file.
501         * sysdeps/ieee754/ldbl-128/s_erfl.c: New file, contributed Stephen
502         L Moshier.
504 2001-09-18  Ulrich Drepper  <drepper@redhat.com>
506         * malloc/malloc.c (ptmalloc_init): Handle _environ==NULL.
507         Reported by B. D. Elliott <bde@nwlink.com> [PR libc/2541].
509 2001-09-18  Andreas Schwab  <schwab@suse.de>
511         * elf/dl-load.c (_dl_map_object_from_fd): Update handling of scope
512         list, now that l_scope is a pointer.
514         * elf/dl-open.c (dl_open_worker): Fix thinko when enlarging the
515         scope list.
517 2001-09-18  kaz Kojima  <kkojima@rr.iij4u.or.jp>
519         * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix reverse condition.
520         (elf_machine_rela_relative): Add a missing declaration.
522 2001-09-18  Jakub Jelinek  <jakub@redhat.com>
524         * sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: New.
525         * sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed: New.
526         * sysdeps/unix/sysv/linux/configure.in: Add ia64 and s390
527         ldd-rewrite scripts.
529 2001-09-18  Ulrich Drepper  <drepper@redhat.com>
531         * elf/ldd.bash.in: Update copyright message.
533 2001-09-17  H.J. Lu  <hjl@gnu.org>
535         * hurd/hurdmalloc.c (bcopy): Removed.
536         (realloc): Replace bcopy with memcpy.
537         * hurd/path-lookup.c (file_name_path_scan): Likewise.
538         * resolv/gethnamaddr.c (map_v4v6_address): Likewise.
539         * sunrpc/rpcinfo.c (pmapdump): Likewise.
541         * resolv/gethnamaddr.c (getanswer): Replace bcopy with memmove.
542         (gethostbyaddr): Likewise.
543         * sunrpc/rpcinfo.c (get_inet_address): Likewise.
545 2001-09-18  Ulrich Drepper  <drepper@redhat.com>
547         * sysdeps/gnu/eval.c: Removed.
549 2001-09-18  Andreas Jaeger  <aj@suse.de>
551         * sysdeps/i386/fpu/s_logbl.S: Move to ...
552         * sysdeps/i386/fpu/s_logbl.c: ...here, use inline assembler.
554         * sysdeps/i386/fpu/s_rintl.S: Move to ...
555         * sysdeps/i386/fpu/s_rintl.c: ...here, use inline assembler.
557         * sysdeps/i386/fpu/s_significandl.S: Move to ...
558         * sysdeps/i386/fpu/s_significandl.c: ...here, use inline assembler.
560 2001-09-16  Ulrich Drepper  <drepper@redhat.com>
562         * string/strcoll.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get
563         nrules value.
565 2001-09-14  H.J. Lu  <hjl@gnu.org>
567         * sysdeps/mips/fpu/libm-test-ulps: Updated.
569 2001-09-14  Ulrich Drepper  <drepper@redhat.com>
571         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix a typo.
572         Patch by Florian La Roche <laroche@redhat.com>.
574         * string/bits/string2.h (__strtok_r_1c): Optimize a bit.
576         * sysdeps/unix/sysv/linux/net/ethernet.h: Correct references to
577         ETHER_CRC_LEN.
579 2001-09-14  Andreas Schwab  <schwab@suse.de>
581         * posix/execl.c: Fix last argument of memcpy.  Reported by Brian
582         Sumner <bls@sgi.com>.
583         * posix/execlp.c: Likewise.
585 2001-09-13  Jakub Jelinek  <jakub@redhat.com>
587         * elf/dl-deps.c (_dl_map_object_deps): Fix filter handling if filter
588         is already found earlier in the search scope.
590 2001-09-12  Jakub Jelinek  <jakub@redhat.com>
592         * rt/Makefile (LDFLAGS-rt.so): Use shared thread library as librt's
593         filter.
595 2001-09-13  Ulrich Drepper  <drepper@redhat.com>
597         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust expected errors for j0.
599 2001-09-12  Ulrich Drepper  <drepper@redhat.com>
601         * config.h.in: Enforce optimization to be used.
602         * Makeconfig (preprocess-versions): Define ASSEMBLER.
603         * stdlib/Makefile (isomac-CFLAGS): Define to -O.
604         * posix/Makefile (annexc-CFLAGS): Define to -O.
605         * sysdeps/unix/make-syscalls.sh: Define __OPTIMIZE__ in use of asm_CPP.
607 2001-09-11  Ulrich Drepper  <drepper@redhat.com>
609         * nscd/nscd_gethst_r.c: Don't expect IPv6 addresses for IPv4 lookup.
610         Patch by Stephan Kulow.
612 2001-09-08  Ben Collins  <bcollins@debian.org>
614         * sysdeps/arm/dl-machine.h (elf_machine_rel): Fix thinko in
615         usage of RESOLVE() (r_type, not reloc->r_type).
617 2001-09-08  Ulrich Drepper  <drepper@redhat.com>
619         * elf/dl-object.c: Avoid allocating extra memory block for name.
620         * elf/dl-close.c (_dl_close): Don't free l_libname if it is not
621         allocated separately.
622         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
624 2001-09-08  H.J. Lu  <hjl@gnu.org>
626         * po/zh_TW.po: Fix a typo.
628 2001-09-07  Tom Rix  <trix@redhat.com>
630         * sysdeps/unix/sysv/aix/sysv_termio.h: New file.
632 2001-08-26  Tom Rix  <trix@redhat.com>
634         * sysdeps/unix/sysv/aix/Makefile (aix-syscalls.o): More linker
635         command line options.
636         * sysdeps/unix/sysv/aix/start.s: New file, rework of start.c
637         * sysdeps/unix/sysv/aix/start.c: Removed.
638         * sysdeps/unix/sysv/aix/start-libc.c: New file.
639         * sysdeps/unix/sysv/aix/init-first.c: New file.
640         * sysdeps/unix/sysv/aix/fcntl.c: Alias __libc_fcntl to __fcntl.
642 2001-09-08  Ben Collins  <bcollins@debian.org>
644         * sysdeps/arm/dl-machine.h: Fix usage of new _dl_signal_error() format.
645         * sysdeps/generic/dl-machine.h: Likewise.
646         * sysdeps/hppa/dl-fptr.c: Likewise.
647         * sysdeps/ia64/dl-fptr.c: Likewise.
648         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
649         * sysdeps/mips/dl-machine.h: Likewise.
650         * sysdeps/mips/mips64/dl-machine.h: Likewise.
651         * sysdeps/powerpc/dl-machine.c: Likewise.
653 2001-09-07  Ben Collins  <bcollins@debian.org>
655         * sysdeps/sparc/sparc32/dl-machine.h: Fix typo.
657         * sysdeps/hppa/dl-lookupcfg.h: Forward declare struct link_map.
659 2001-09-08  Ulrich Drepper  <drepper@redhat.com>
661         * elf/dl-lookup.c (add_dependency): Bump l_opencount of all
662         dependencies if necessary.
664         * elf/dl-close.c (_dl_close): If object has no r_list (i.e., wasn't
665         loaded directly) determine length if l_initfini list by iterating
666         over its elements.  Minor optimizations.
667         * elf/dl-deps.c (_dl_map_object_deps): Always add own map to l_initfini
668         for dependency objects.
669         If object was already loaded check whether any of the dependencies
670         is already on the relocation dependency list.  If yes, remove the
671         latter.  Minor optimizations.
672         * elf/dl-lookup.c (add_dependency): Add check for self reference of
673         maps here.  Search l_initfini list only if the object was loaded
674         directly and not only as a dependency.
675         (_dl_lookup_symbol): Add relocation dependency also if object
676         is not in global scope.  Remove test for self-reference here.
677         (_dl_lookup_versioned_symbol): Likewise.
678         * elf/dl-object (_dl_new_object): Cleanup.  Initialize dont_free
679         element of first name record.
680         * elf/loadtest.c: Add some more test to recognize early if an object
681         wasn't unloaded.
682         * elf/Makefile: Add rules to build and run reldep5.
683         * elf/reldep5.c: New file.
684         * elf/reldepmod5.c: New file.
685         * elf/reldepmod6.c: New file.
687         * elf/reldep2.c: Fix typo.
689 2001-09-07  Ulrich Drepper  <drepper@redhat.com>
691         * include/link.h (struct link_map): Add l_scope_mem and l_scope_max
692         elements.  Change l_scope to be a pointer only.
693         * elf/dl-object.c (_dl_new_object): Initialize l_scope and l_scope_max.
694         * elf/dl-open.c (dl_open_worker): If dependency wasn't just opened
695         here add searchlist of newly open file to the dependency's scope.
696         * elf/dl-close.c (_dl_close): If dependency is used otherwise remove
697         only searchlist from its scope.  Free own scope array if necessary.
698         * elf/Makefile (tests): Add dblload and dblunload now.
700 2001-09-06  Andreas Jaeger  <aj@suse.de>
702         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: New file, contributed
703         Stephen L Moshier.
705 2001-09-05  Ulrich Drepper  <drepper@redhat.com>
707         * elf/Makefile: Add rules to build new tests.  Don't run them yet since
708         they both fail.
709         * elf/dblload.c: New file.
710         * elf/dblloadmod1.c: New file.
711         * elf/dblloadmod2.c: New file.
712         * elf/dblloadmod3.c: New file.
713         * elf/dblunload.c: New file.
715 2001-09-04  Richard Henderson  <rth@redhat.com>
717         * elf/elf.h (R_ALPHA_OP_*, R_ALPHA_IMMED_*): Remove.
718         (R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16.
720 2001-09-04  Ulrich Drepper  <drepper@redhat.com>
722         Correct very misleading message for error in failed runtime relocation.
723         * elf/dl-error.c (_dl_signal_error): Take extra parameter to describe
724         place of the error.
725         (_dl_signal_cerror): Likewise.
726         * sysdeps/generic/ldsodefs.h: Adjust prototypes.
727         * elf/dl-close.c: Likewise.
728         * elf/dl-deps.c: Likewise.
729         * elf/dl-load.c: Likewise.
730         * elf/dl-lookup.c: Likewise.
731         * elf/dl-open.c: Likewise.
732         * elf/dl-reloc.c: Likewise.
733         * elf/dl-sym.c: Likewise.
734         * elf/dl-version.c: Likewise.
735         * sysdeps/generic/dl-sysdep.c: Likewise.
737 2001-09-04  Jakub Jelinek  <jakub@redhat.com>
739         * iconv/strtab.c (strtabinit): Initialize null Strent.
740         (newstring): Move len == 0 handling...
741         (strtabadd): ...here.
742         If len == 1, return null Strent.
743         When inserting a suffix of an existing string, check if
744         it is not equal to some suffix already recorded.
745         Copy left and right members over if adding longer string.
747 2001-09-04  Jakub Jelinek  <jakub@redhat.com>
749         * sunrpc/rpc_cout.c (upcase): Account for trailing '\0'.
751         * sysdeps/unix/sysv/linux/alpha/gethostname.c: Include <errno.h>.
752         (__syscall_gethostname): Add prototype.
754 2001-09-04  Ulrich Drepper  <drepper@redhat.com>
756         * elf/dl-object.c (_dl_new_object): Remove unnecessary if.
758 2001-09-02  Ulrich Drepper  <drepper@redhat.com>
760         * elf/rtld.c (dl_main): Increment l_opencount for main binary.
762 2001-08-27  Roland McGrath  <roland@frob.com>
764         * sysdeps/unix/sysv/gethostname.c (__gethostname): When LEN is too
765         short, copy that much into NAME anyway before returning error.
767 2001-09-01  Richard Henderson  <rth@redhat.com>
769         * sysdeps/alpha/elf/Dist: Remove file.
770         * sysdeps/alpha/elf/Makefile: Remove file.
771         * sysdeps/alpha/elf/crtbegin.S: Remove file.
772         * sysdeps/alpha/elf/crtend.S: Remove file.
773         * sysdeps/alpha/elf/initfini.c: New file.
775 2001-09-01  Mark Kettenis  <kettenis@gnu.org>
777         * iconv/tst-iconv1.c: Include <stddef.h> for wchar_t.
778         * iconv/tst-iconv3.c: Likewise.
780 2001-09-01  Jakub Jelinek  <jakub@redhat.com>
782         * sysdeps/generic/inttypes.h (__gwchar_t): Define to wchar_t for C++.
784 2001-09-01  Ulrich Drepper  <drepper@redhat.com>
786         * iconv/gconv_cache.c: Rename variable cache to __gconv_cache and
787         export it.
788         * iconv/Versions (libc) [GLIBC_2.2.5]: Export __gconv_cache.
789         * iconv/iconv_prog.c (insert_cache): New function.
790         (print_known_names): If cache is used call insert_cache to use the
791         information from the cache [PR libc/2509].
793 2001-08-31  Ulrich Drepper  <drepper@redhat.com>
795         * time/strptime.c (strptime_internal): Recognize 'l' format and
796         handle it like 'I' for symmetry with strftime.
798 2001-08-31  Richard Henderson  <rth@redhat.com>
800         * elf/dl-support.c (_dl_cpuclock_offset): Protect with NONAVAIL.
801         (HP_TIMING_AVAIL): Set to HP_SMALL_TIMING_AVAIL if present.
802         * elf/rtld.c (HP_TIMING_AVAIL): Likewise.
803         (print_statistics): Make scalar unsigned long long.
804         * sysdeps/alpha/hp-timing.h: New file.
806 2001-08-31  Jakub Jelinek  <jakub@redhat.com>
808         * stdio-common/perror.c (perror): Save errno early, pass it
809         down to perror_internal.
810         (perror_internal): Add errnum argument.
812 2001-08-31  Jakub Jelinek  <jakub@redhat.com>
814         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Remove unused code.
815         Don't add old memory content for R_ALPHA_REFQUAD.
817 2001-08-30  Ulrich Drepper  <drepper@redhat.com>
819         * crypt/md5-crypt.c (__md5_crypt_r): Compute used and required
820         memory correctly.
822         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Use __open
823         instead of open, __close instead of close, __getpagesize instead
824         of getpagesize.
826         * string/argz-stringify.c (__argz_stringify): Use __strnlen
827         instead of strnlen.
828         * include/string.h (strndupa): Redefine here to use __strnlen
829         instead of strnlen.
830         * string/strndup.c (__strndup): Use __strnlen not strnlen.
832         * misc/syslog.c (vsyslog): Fix typo in last change (connect ->
833         connected).
835 2001-08-30  Jakub Jelinek  <jakub@redhat.com>
837         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
838         R_ALPHA_RELATIVE if RTLD_BOOTSTRAP and HAVE_Z_COMBRELOC.  Only check
839         for rtld map if neither RTLD_BOOTSTRAP nor HAVE_Z_COMBRELOC is defined.
840         * sysdeps/i386/dl-machine.h (elf_machine_rel): Similarly.
841         * sysdeps/ia64/dl-machine.h (elf_machine_rel): Similarly.
842         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rel): Similarly.
843         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rel): Similarly.
845 2001-08-30  Ulrich Drepper  <drepper@redhat.com>
847         * sysdeps/alpha/fpu/libm-test-ulps: Adjust j0 ULPs.
849 2001-08-30  Andreas Jaeger  <aj@suse.de>
851         * sysdeps/ieee754/ldbl-128/e_jnl.c: New file,
852         contributed Stephen L Moshier.
854 2001-08-30  Jakub Jelinek  <jakub@redhat.com>
856         * sunrpc/etc.rpc (sgi_fam): Add.
858 2001-08-30  Ulrich Drepper  <drepper@redhat.com>
860         * sysdeps/unix/sysv/linux/alpha/gethostname.c: New file.
862 2001-08-29  Ulrich Drepper  <drepper@redhat.com>
864         * nis/nis_findserv.c (__nis_findfastest): Don't fail if reply received
865         first is from a previous call.
866         Patch by Alexander Belopolsky <alexb@rentec.com> for [PR libc/3670].
868 2001-08-29  Andreas Schwab  <schwab@suse.de>
870         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
872 2001-08-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
874         * config.make.in (INSTALL_SCRIPT): Define.
875         * Makeconfig (INSTALL_SCRIPT): Define.
876         * Makerules (do-install-script): New macro to install scripts using
877         INSTALL_SCRIPT.
878         (install-bin-script): New rule to install scripts with
879         do-install-script.
880         (install-bin-script-nosubdir): New rule.
881         (install-no-libc.a-nosubdir): Add install-bin-script-nosubdir.
882         (distinfo-vars): Add $(install-bin-script).
883         * Rules (others): Likewise.
884         * Makefile (glibcbug): Install with install-bin-script.
885         * debug/Makefile (xtrace): Likewise.
886         (catchsegv): Likewise.
887         * elf/Makefile (ldd): Likewise.
888         * malloc/Makefile (mtrace): Likewise.
889         * timezone/Makefile (tzselect): Likewise.
891 2001-08-29  H.J. Lu  <hjl@gnu.org>
893         * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Pass
894         ELF_RTYPE_CLASS_PLT, instead of R_MIPS_REL32, to
895         _dl_lookup_versioned_symbol () and _dl_lookup_symbol ().
897 2001-08-29  Andreas Schwab  <schwab@suse.de>
899         * sysdeps/m68k/fpu/libm-test-ulps: Updated.
901 2001-08-28  H.J. Lu  <hjl@gnu.org>
903         * Makeconfig (combreloc-LDFLAGS): New variable.
904         Add it to LDFLAGS.so, LDFLAGS-rtld, and +link.
905         * config.make.in (have-z-combreloc): New variable.
906         * configure.in: Substitute libc_cv_z_combreloc.
908 2001-08-29  Ulrich Drepper  <drepper@redhat.com>
910         * po/sv.po: Update from translation team.
911         * po/fr.po: Likewise.
912         * po/da.po: Likewise.
914 2001-08-28  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
916         * Makerules: Fix a typo: MD% -> MD5.
918 2001-08-28  Ulrich Drepper  <drepper@redhat.com>
920         * sunrpc/rpc_hout.c (pargdef): Function must take pointer to object.
921         Patch by Patrick Duval <Patrick.Duval@devinci.fr>.
923 2001-08-28  Andreas Jaeger  <aj@suse.de>
925         * manual/libc-texinfo.sh: Add entry about free manuals.
927         * manual/contrib.texi (Contributors): Fix cross reference.
929         * manual/libc.texinfo (Copying): Include freemanuals.
931         * manual/Makefile (appendices): Add freemanuals.
933         * manual/freemanuals.texi: New file.
934         Patch by Brian Youmans <3diff@gnu.org>.
936         * manual/libm-err-tab.pl: Pretty print more platforms, print a
937         smaller table.
939         * manual/math.texi (Errors in Math Functions): Fix grammar, start
940         table on separate page.
941         Patch by Brian Youmans <3diff@gnu.org>.
943 2001-08-27  Ulrich Drepper  <drepper@redhat.com>
945         * misc/syslog.c (vsyslog): Try a bit harder to use syslogd.  If
946         the connection went down after we first used it try to connect
947         again and resend the message before printing to the console.
948         Reported by Coserea Gh. Tudor <tudore@tudore.gecadsoftware.com>.
950 2001-08-27  Jakub Jelinek  <jakub@redhat.com>
952         * string/tst-strlen.c (main): Test strnlen (, -1) too.
953         * sysdeps/generic/strnlen.c (__strnlen): Fix for maxlens with top
954         bit set.
956 2001-08-27  Ulrich Drepper  <drepper@redhat.com>
958         * iconv/strtab.c (searchstring): Use correct length for comparison.
959         (strtabadd): Account total size correct if new string has old string as
960         substring.
962 2001-08-27  Jakub Jelinek  <jakub@redhat.com>
964         * elf/rtld.c (dl_main): Update call to _dl_lookup_symbol.
966 2001-08-27  Andreas Jaeger  <aj@suse.de>
968         * sysdeps/i386/fpu/libm-test-ulps (float): Add ulps for new tests.
970         * math/libm-test.inc (j0_test): Add extra tests.
971         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Use |x|,
972         not x, in Hankel approximation.
973         Patches by Stephen L Moshier.
975 2001-08-26  Ulrich Drepper  <drepper@redhat.com>
977         * sysdeps/ia64/dl-lookupcfg.h: Add forward declaration for struct
978         link_map.
980         * configure.in: Fix test for .rela.dyn section.
982         * elf/dl-runtime.c: Update calls to _dl_lookup_*.
984 2001-08-26  Jakub Jelinek  <jakub@redhat.com>
986         * elf/dl-reloc.c (RESOLVE_MAP, RESOLVE): Use elf_machine_type_class
987         instead of elf_machine_lookup_noexec_p and elf_machine_lookup_noplt_p.
988         Pass type_class to _dl_lookup_*.
989         * elf/dl-lookup.c (_dl_lookup_symbol): Take type_class parameter now.
990         Pass around just type_class instead of noexec, noplt pair.
991         (_dl_lookup_versioned_symbol): Likewise.
992         (_dl_lookup_symbol_skip): Pass around just type_class instead of
993         noexec, noplt pair.
994         (_dl_lookup_versioned_symbol_skip): Likewise.
995         (_dl_do_lookup, _dl_do_lookup_versioned): Likewise.
996         * elf/do-lookup.h (do_lookup): Likewise.
997         * include/link.h (struct link_map): Replace noexec and noplt fields
998         in l_lookup_cache with type_class field.
999         * sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_PLT,
1000         ELF_RTYPE_CLASS_COPY): Define.
1001         Adjust prototypes for _dl_lookup_symbol and
1002         _dl_lookup_versioned_symbol.
1003         * sysdeps/alpha/dl-machine.h (elf_machine_lookup_noplt_p,
1004         elf_machine_lookup_noexec_p): Remove.
1005         (elf_machine_type_class): Define.
1006         * sysdeps/arm/dl-machine.h: Likewise.
1007         * sysdeps/hppa/dl-machine.h: Likewise.
1008         * sysdeps/cris/dl-machine.h: Likewise.
1009         * sysdeps/i386/dl-machine.h: Likewise.
1010         * sysdeps/ia64/dl-machine.h: Likewise.
1011         * sysdeps/m68k/dl-machine.h: Likewise.
1012         * sysdeps/mips/mips64/dl-machine.h: Likewise.
1013         * sysdeps/mips/dl-machine.h: Likewise.
1014         * sysdeps/powerpc/dl-machine.h: Likewise.
1015         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1016         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1017         * sysdeps/sh/dl-machine.h: Likewise.
1018         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1019         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1021 2001-08-26  Ulrich Drepper  <drepper@redhat.com>
1023         * manual/message.texi (Advanced gettext functions): Change
1024         description of plural forms for Slovak.
1025         Reported by Marcel Telka <marcel@telka.sk>.
1027         * manuaL/time.texi (Low-Level Time String Parsing): Fix description of
1028         %z.  Reported by C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>.
1030 2001-08-26  Jakub Jelinek  <jakub@redhat.com>
1032         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_lazy_rel): Fix a
1033         typo.  Patch by Florian La Roche <laroche@redhat.com>.
1035 2001-08-26  Ulrich Drepper  <drepper@redhat.com>
1037         * include/link.h (struct link_map): Add l_lookup_cache element.
1038         * elf/dl-reloc.c (RESOLVE): Add symbol caching here.
1039         (RESOLVE_MAP): Likewise.
1040         (_dl_relocate_object): Remove cache initialization.
1041         * elf/dl-lookup.c: Rip out cache handling code.
1042         * sysdeps/generic/ldsodefs.h: Remove lookup_cache struct and variable
1043         declarations.
1045         * elf/dl-lookup.c (_dl_lookup_symbol): Reorder some conditions and
1046         remove some __builtin_expect.
1047         (_dl_lookup_versioned_symbol): Likewise.
1049         * config.h.in: Add HAVE_Z_COMBRELOC.
1050         * configure.in: Add test for -z combreloc.
1052         * sysdeps/i386/dl-machine.h (elf_machine_rel): Minor cleanups and
1053         optimizations.  Use HAVE_Z_COMBRELOC to avoid generaton of
1054         R_386_RELATIVE handling for ld.so startup.  Reduce RTLD_BOOTSTRAP
1055         case to almost no code.
1057 2001-08-25  Ulrich Drepper  <drepper@redhat.com>
1059         * po/tr.po: Update from translation team.
1061 2001-08-24  Andreas Jaeger  <aj@suse.de>
1063         * iconv/Makefile (extra-objs): Add iconvconfig-modules so that
1064         make clean works.
1066 2001-08-24  Ulrich Drepper  <drepper@redhat.com>
1068         * elf/rtld.c (print_statistics): Printf % after percent values.
1069         * elf/dl-misc.c (_dl_debug_vdprintf): Implement %%.
1071         * elf/dl-lookup.c (_dl_lookup_symbol): If we use the cache we
1072         don't have to compute the hash value and initialize current_value.
1073         Move reference_name variable to where it is needed.
1074         (_dl_lookup_versioned_symbol): Likewise.
1076 2001-08-24  Roland McGrath  <roland@frob.com>
1078         * string/tester.c (test_strerror): Don't use _sys_errlist/_sys_nerr.
1079         Just test that strerror returns non-null for a few errno codes.
1081 2001-08-23  Roland McGrath  <roland@frob.com>
1083         * hurd/Versions (libc: GLIBC_2.2.5): New set; add _hurd_raise_signal,
1084         _hurdsig_interrupt_timeout, _hurdsig_fault_preemptor.
1086         * sysdeps/posix/shm_unlink.c (shm_unlink): __unlink -> unlink.
1088         * mach/Versions (libc: GLIBC_2.2.5): New set; add __mach_msg_destroy,
1089         __mach_reply_port.
1091 2001-08-24  Ulrich Drepper  <drepper@redhat.com>
1093         * nss/test-netdb.c (test_hosts): Don't segfault if gethostname
1094         returns NULL.
1096         * elf/do-rel.h (elf_dynamic_do_rel): Fix problem with ld.so
1097         startup.  Explicitly remove lazy part for RTLD_BOOTSTRAP since gcc
1098         doesn't do it.
1099         * elf/rtld.c: Include <sys/param.h>.
1100         * elf/dl-reloc.c: Likewise.
1102 2001-08-24  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
1104         * sysdeps/unix/sysv/linux/mips/configure.in: Define AC_SUBST to
1105         empty to prevent junk from being generated.
1106         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1108 2001-08-24  Jakub Jelinek  <jakub@redhat.com>
1110         * elf/do-rel.h (elf_dynamic_do_rel): If l_addr is 0, skip relative
1111         records.  Rename endrel to relative, initialize it to r, and use it
1112         in elf_machine_rel_relative calls.  Point r after relative relocs.
1114 2001-08-24  Ulrich Drepper  <drepper@redhat.com>
1116         * sysdeps/i386/dl-machine.h (elf_machine_rel): Correct prediction
1117         of R_386_NONE.
1119 2001-08-24  Jakub Jelinek  <jakub@redhat.com>
1121         * elf/do-rel.h (elf_machine_rel_relative): Define for rela if
1122         necessary.  Undefine newly defined macros at the end.
1123         * sysdeps/hppa/dl-machine.h (elf_machine_rela_relative):
1124         Rename from elf_machine_rel_relative.
1125         * sysdeps/cris/dl-machine.h (elf_machine_rela_relative): Likewise.
1126         * sysdeps/m68k/dl-machine.h (elf_machine_rela_relative): Likewise.
1127         * sysdeps/powerpc/dl-machine.h (elf_machine_rela_relative): Likewise.
1128         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela_relative):
1129         Likewise.
1130         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela_relative):
1131         Likewise.
1132         * sysdeps/ia64/dl-machine.h (elf_machine_rela_relative): Likewise.
1133         Fix argument types.
1134         * sysdeps/alpha/dl-machine.h (elf_machine_rela_relative): Likewise.
1135         Fix argument types.
1136         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela_relative):
1137         Likewise.  Fix argument types.
1138         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela_relative):
1139         Likewise.  Fix argument types.
1140         * sysdeps/sh/dl-machine.h (elf_machine_rela_relative): Likewise.
1141         Fix argument types.
1142         * sysdeps/mips/dl-machine.h (elf_machine_rel_relative): Use
1143         ElfW(Rel) in argument.
1144         * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel_relative): New
1145         function.
1147 2001-08-24  Alexandre Oliva  <aoliva@redhat.com>
1149         * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix typo.
1151 2001-08-24  Andreas Jaeger  <aj@suse.de>
1153         * sysdeps/ieee754/ldbl-128/e_j1l.c: New file, contributed by
1154         Stephen L Moshier <moshier@mediaone.net>.
1156 2001-08-24  Ulrich Drepper  <drepper@redhat.com>
1158         * elf/do-rel.h (elf_dynamic_do_rel): RELATIVE relocations comes
1159         first if RELCOUNT is set.
1161         * elf/do-rel.h (elf_dynamic_do_rel): If not relocating lazily, don't
1162         call elf_machine_rel for the last DT_RELCOUNT relocations but instead
1163         elf_machine_rel_relative.
1164         * sysdeps/alpha/dl-machine.h: Define elf_machine_rel_relative.
1165         Minor optimizations.
1166         * sysdeps/arm/dl-machine.h: Likewise.
1167         * sysdeps/cris/dl-machine.h: Likewise.
1168         * sysdeps/hppa/dl-machine.h: Likewise.
1169         * sysdeps/i386/dl-machine.h: Likewise.
1170         * sysdeps/ia64/dl-machine.h: Likewise.
1171         * sysdeps/m68k/dl-machine.h: Likewise.
1172         * sysdeps/mips/dl-machine.h: Likewise.
1173         * sysdeps/powerpc/dl-machine.h: Likewise.
1174         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1175         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1176         * sysdeps/sh/dl-machine.h: Likewise.
1177         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1178         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1180 2001-08-23  Roland McGrath  <roland@frob.com>
1182         * rt/tst-aio4.c [! SIGRTMIN] (SIGRTMIN, SIGRTMAX): Define as -1.
1184         * sysdeps/mach/hurd/bits/libc-lock.h: New file, initially copied from
1185         sysdeps/mach version.  Implement counting ("recursive") mutexes
1186         on top of cthreads mutexes.
1187         * sysdeps/mach/hurd/bits/stdio-lock.h: File removed; generic now works.
1189         * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Define to
1190         _LIBC_LOCK_RECURSIVE_INITIALIZER if defined, else do an #error.
1191         (__libc_cleanup_region_start, __libc_cleanup_region_end,
1192         __libc_clean_end): Define these to call the cleanup function after
1193         normal exit when they're supposed to.
1195         * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start):
1196         Take new first arg DOIT, a boolean saying whether to really install
1197         any cleanup handler.
1198         (__libc_cleanup_region_end): Do nothing if start's DOIT arg was zero.
1199         (__libc_cleanup_end): Likewise.
1200         * sysdeps/generic/bits/libc-lock.h: Same changes.
1201         * stdio-common/vfscanf.c (LOCK_STREAM): Pass new arg.
1202         * stdio-common/vfprintf.c (buffered_vfprintf, vfprintf): Likewise.
1203         * sysdeps/mach/hurd/bits/stdio-lock.h (_IO_cleanup_region_start):
1204         Likewise.
1205         * misc/syslog.c (vsyslog, openlog, closelog): Likewise.
1206         * sysdeps/generic/bits/stdio-lock.h
1207         (_IO_cleanup_region_start, _IO_cleanup_region_start_noarg): Likewise.
1209 2001-08-23  Jakub Jelinek  <jakub@redhat.com>
1211         * elf/ldconfig.c (search_dir): Remove stale symlinks.
1213 2001-08-23  Jakub Jelinek  <jakub@redhat.com>
1215         * elf/dl-lookup.c (lookup_cache, lookup_cache_versioned): New.
1216         (_dl_lookup_symbol): Lookup relocations in cache and store successfull
1217         lookups in cache.
1218         (_dl_lookup_versioned_symbol): Likewise.
1219         * elf/dl-reloc.c (_dl_relocate_object): Initialize cache for
1220         relocation lookup.
1221         * elf/rtld.c (print_statistics): Output _dl_num_cache_relocations.
1222         * sysdeps/generic/ldsodefs.h (struct lookup_cache): New definition.
1223         (lookup_cache, lookup_cache_versioned): Add declarations.
1225 2001-08-23  Ulrich Drepper  <drepper@redhat.com>
1227         * stdlib/tst-random.c (main): Swap parameters in fail call.
1228         Patch by Pete Bevin <pete@petebevin.com>.
1230 2001-08-23  Jakub Jelinek  <jakub@redhat.com>
1232         * sysdeps/generic/inttypes.h: Use __gwchar_t instead of __wchar_t.
1234 2001-08-23  Ulrich Drepper  <drepper@redhat.com>
1236         * malloc/obstack.c: Indent preprocessor directives.
1237         Patch by Jim Meyering <meyering@ascend.com>.
1239         * po/ja.po: Update from translation team.
1241 2001-08-23  Roland McGrath  <roland@frob.com>
1243         * libio/tst-ungetwc1.c (main): Add a const to quiet a warning.
1245         * nss/test-netdb.c (test_hosts): Don't use MAXHOSTNAMELEN.
1246         Instead, use dynamic buffer to test gethostname's ENAMETOOLONG error.
1248 2001-08-22  Roland McGrath  <roland@frob.com>
1250         * sysdeps/generic/ldsodefs.h (_dl_load_lock): Declare it here with
1251         __libc_lock_define_recursive.
1252         * elf/dl-open.c: Don't declare it here any more.
1253         * elf/dl-close.c: Likewise.
1254         * elf/dl-lookup.c: Likewise.
1255         * elf/dl-iteratephdr.c: Likewise.
1256         * elf/dl-lookup.c (add_dependency): Use __libc_lock_lock_recursive and
1257         __libc_lock_unlock_recursive.
1258         * elf/dl-close.c (_dl_close): Likewise
1259         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise
1260         * elf/dl-open.c (_dl_open): Likewise
1262         * sysdeps/generic/bits/libc-lock.h
1263         (__libc_lock_define_recursive): New macro.
1264         * sysdeps/generic/bits/stdio-lock.h (_IO_lock_t): Use it.
1265         (_IO_lock_lock): Use __libc_lock_lock_recursive.
1266         (_IO_lock_unlock): Use __libc_lock_unlock_recursive.
1268         * conform/conformtest.pl (checknamespace): Sort the output list.
1270         * sysdeps/generic/bits/poll.h (POLLWRBAND): New alias for POLLOUT.
1271         (POLLRDNORM, POLLRDBAND, POLLWRNORM, POLLWRBAND): Make these
1272         definitions conditional on [__USE_XOPEN].
1274         * sysdeps/mach/hurd/bits/fcntl.h (O_ASYNC, O_FSYNC, O_SYNC): Define
1275         these unconditionally, not only use [__USE_BSD], so as to match
1276         the sysdeps/unix/sysv/linux files.
1278 2001-08-22  Ulrich Drepper  <drepper@redhat.com>
1280         * test-skeleton.c (add_temp_file): Add __attribute__ ((unused)) to
1281         avoid warnings.
1283         * dlfcn/tst-dladdr.c (do_test): Get address of ref1 using
1284         DL_LOOKUP_ADDRESS.
1286 2001-08-22  Roland McGrath  <roland@frob.com>
1288         * sysdeps/generic/bits/sigaction.h (struct sigaction): Fix up
1289         conditionalization of sa_handler/sa_sigaction member types to
1290         match the sysdeps/unix/sysv/linux file.
1292 2001-08-22  Ulrich Drepper  <drepper@redhat.com>
1294         * elf/dl-addr.c (_dl_addr): Handle broken binaries with zero
1295         symbol sizes a bit better.
1297         * sysdeps/ia64/strncpy.S: Complete rewrite.
1298         Contributed by Jakub Jelinek <jakub@redhat.com>.
1300         * string/stratcliff.c (main): Add strncpy test.
1302 2001-08-22  Roland McGrath  <roland@frob.com>
1304         * sysdeps/generic/dl-environ.c: Include <stdlib.h> and <unistd.h>,
1305         and don't declare unsetenv or _environ directly.
1306         (unsetenv): Return int, not void.  Use __environ instead of _environ.
1308 2001-08-01  Mark Kettenis  <kettenis@gnu.org>
1310         * sysdeps/unix/bsd/bsd4.4/Makefile: New file.
1311         * sysdeps/unix/bsd/bsd4.4/Versions: New file.
1312         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: New file.
1313         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Correct
1314         test for cmsg struct size.
1316 2001-04-23  Paul Eggert  <eggert@twinsun.com>
1318         * posix/getopt.h (getopt_long, getopt_long_only, _getopt_internal):
1319         Rename __argc to ___argc in prototypes to avoid compatibility
1320         problems with systems that reserve the identifier "__argc".
1321         Similarly for __argv.
1323 2001-08-21  Roland McGrath  <roland@frob.com>
1325         * stdio-common/tst-fseek.c: Include <time.h> for `time' declaration.
1327         * mach/Makefile (tests): Removed.
1328         * mach/hello.c: File removed.
1330 2001-08-22  Ulrich Drepper  <drepper@redhat.com>
1332         * po/sv.po: Update from translation team.
1334         * stdio-common/vfscanf.c: Fix handling of %l[].
1335         Reported by Mitsuru Chinen <mchinen@yamato.ibm.com>.
1337         * libio/Makefile (tests): Add tst-sscanf.
1338         * libio/tst-sscanf.c: New file.
1340         * elf/dl-addr.c (_dl_addr): Fix tests to determine dli_sname.
1341         * malloc/mtrace.c (tr_where): dli_sname always points to a
1342         non-empty string if != NULL.
1343         Reported by Tim Janik <timj@gtk.org>.
1345 2001-08-22  Jakub Jelinek  <jakub@redhat.com>
1347         * sunrpc/xdr_rec.c (xdrrec_create): Fix buf sizes before allocating
1348         buf.  Free resources on failure.
1349         * sunrpc/svc_unix.c (svcunix_create): Free resources on failure.
1350         (makefd_xprt): Likewise.
1351         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
1352         * sunrpc/svc_tcp.c (svctcp_create, makefd_xprt): Likewise.
1353         * sunrpc/auth_unix.c (authunix_create): Likewise.
1355 2001-08-21  Jakub Jelinek  <jakub@redhat.com>
1357         * string/strnlen.c: Remove.
1358         * sysdeps/generic/strnlen.c: New.
1359         * sysdeps/i386/i486/bits/string.h (strnlen): Remove.
1361 2001-08-21  Roland McGrath  <roland@frob.com>
1363         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Define this
1364         as a macro, not an extern inline function.
1366         * hurd/Versions (GLIBC_2.2.5): New set, define __hurd_fail here.
1367         * Versions.def (libc): Add GLIBC_2.2.5 set.
1368         * hurd/hurd.h (_HURD_H_EXTERN_INLINE): New macro.
1369         (__hurd_fail): Use that instead of _EXTERN_INLINE in decl.
1371 2001-08-20  Roland McGrath  <roland@frob.com>
1373         * hurd/hurdlookup.c (__hurd_file_name_lookup): Fail with ENOENT for "".
1374         (__hurd_file_name_split, __hurd_directory_name_split): Likewise.
1376 2001-08-21  Ulrich Drepper  <drepper@redhat.com>
1378         * string/bits/string2.h: Remove strnlen optimization here.
1379         * sysdeps/i386/i486/bits/string.h: Add it here.
1381 2001-08-21  Wolfram Gloger  <wg@malloc.de>
1383         * malloc/malloc.c: Make access to ..._hook pointers thread-safe.
1385 2001-08-21  Ulrich Drepper  <drepper@redhat.com>
1387         * po/gl.po: Update from translation team.
1389 2001-08-20  Ulrich Drepper  <drepper@redhat.com>
1391         * misc/error.c (error_tail): Use fputws_unlocked instead of fputws.
1392         * misc/err.c (convert_and_print): Likewise.
1394         * malloc/obstack.c (print_and_abort): Use fprintf instead of two
1395         function calls.
1397 2001-08-20  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1399         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Revert the
1400         change of the gregset_t type.
1401         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1403 2001-08-20  kaz Kojima  <kkojima@rr.iij4u.or.jp>
1405         * sysdeps/unix/sysv/linux/sh/sysdep.S: Align errno.
1407 2001-08-20  Ulrich Drepper  <drepper@redhat.com>
1409         * posix/regex.c (truncate_wchar): Use wcrtomb not wctomb.
1411         * string/strnlen.c: Fix the implementation.  We cannot use memchr.
1413 2001-08-18  Mark Kettenis  <kettenis@gnu.org>
1415         * sysdeps/mach/hurd/i386/init-first.c (init): Initialize __environ
1416         before calling the cthreads initialization code.
1418 2001-08-20  Ulrich Drepper  <drepper@redhat.com>
1420         * argp/argp-help.c: Fix two problems introduced in last change.
1422         * include/dirent.h: Include <dirstream.h> first.
1424 2001-08-19  Ulrich Drepper  <drepper@redhat.com>
1426         * io/fts.c (fts_safe_changedir): Use __fxstat64 instead of __fstat.
1428         * sunrpc/svcauth_des.c (_svcauth_des): Avoid using bcopy.
1429         * sunrpc/xdr_rec.c: Likewise.
1430         * sunrpc/xdr_mem.c: Likewise.
1431         * sunrpc/svc_authux.c (_svcauth_unix): Likewise.
1432         * sunrpc/rpc_cmsg.c: Likewise.
1433         * sunrpc/getrpcport.c (getrpcport): Likewise.
1434         * sunrpc/clnt_simp.c (callrpc): Likewise.
1435         * sunrpc/clnt_gen.c (clnt_create): Likewise.
1436         * string/envz.c: Likewise.
1438         * po/ko.po: Update from translation team.
1440         * argp/argp-help.c: Handle wide oriented stderr stream.
1442 2001-08-18  Ulrich Drepper  <drepper@redhat.com>
1444         * sysdeps/generic/strtol.c: Little optimizations.  Add some
1445         __builtin_expect.
1447         * conform/conformtest.pl: <inttypes.h> test requires <stddef.h>.
1449         * wcsmbs/wchar.h (wcwdith): Change parameter type to wchar_t.
1450         * wcsmbs/wcwidth.c (wcwdith): Likewise.
1451         * wcsmbs/wcwidth.h (internal_wcwdith): Likewise.
1453         * conform/data/unistd.h-data: Remove _SC_MULTIPLE_PROCESS.
1455         * conform/data/ucontext.h-data: Fix typos in ucontext_t element tests.
1457         * time/time.h (struct timespec): Use __time_t for tv_sec element.
1459         * sysdeps/generic/inttypes.h: Define __wchar_t.  Use it instead of
1460         wchar_t for function declarations and defintions.
1462         * misc/sys/select.h: Define __need_time_t before including <time.h>.
1463         Define suseconds_t if it hasn't happened yet.
1465         * iconv/gconv.h: Define __need_wchar_t before including <stddef.h>.
1467         * conform/data/sys/uio.h-data: Allow UIO_MAXIOV to be defined.
1469         * sysdeps/generic/stdint.h: Don't get definition of wchar_t from
1470         <stddef.h>.
1472         * conform/data/stddef.h-data: Remove wint_t.
1474         * conform/conformtest.pl: Change namespace test to take #undef
1475         lines into account.
1477         * conform/data/netinet/in.h-data: Fix typo in allow-header line.
1479         * conform/data/sys/socket.h-data: Add sockatmark.
1481 2001-08-17  Ulrich Drepper  <drepper@redhat.com>
1483         * io/fts.c: Update from recent BSD source.
1485 2001-08-17  Roland McGrath  <roland@frob.com>
1487         * stdio-common/perror.c (perror) [! USE_IN_LIBIO]: Don't use _IO_fwide.
1488         * misc/error.c (error_tail, error, error_at_line) [! USE_IN_LIBIO]:
1489         Likewise.
1491 2001-08-17  Ulrich Drepper  <drepper@redhat.com>
1493         * locale/duplocale.c (__duplocale): Also initialize the special
1494         __ctype_* elements.
1496         * conform/data/netdb.h-data: Adjust gai_strerror return type.
1498 2001-08-17  Andreas Jaeger  <aj@suse.de>
1500         * misc/getpass.c: Include wchar.h for prototypes.
1501         * malloc/obstack.c: Likewise.
1503 2001-08-17  Ulrich Drepper  <drepper@redhat.com>
1505         * sunrpc/svc_simple.c (universal): Use __write instead of write.
1507         * wcsmbs/wcscoll.c: Also define __wcscoll.
1508         * include/wchar.h: Declare __wcscoll.
1510         * libio/fwprintf.c: Use __vfwprintf instead of vfwprintf.
1511         * libio/vwprintf.c: Likewise.
1512         * libio/wprintf.c: Likewise.
1514         * iconv/gconv_cache.c: Use __munmap instead of munmap.
1516 2001-08-16  Ulrich Drepper  <drepper@redhat.com>
1518         * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
1519         instead of mbrtowc.
1520         [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
1521         wcslen, and __wcscoll instead of wcscoll.
1523         * sysdeps/unix/sockatmark.c (sockatmark): Use __ioctl instead of ioctl.
1525         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue): Use
1526         __getuid instead of getuid.
1528         * stdio-common/perror.c (perror): Use __close instead of close.
1529         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
1530         * libio/freopen.c (freopen): Likewise.
1531         * libio/freopen64.c (freopen64): Likewise.
1533         * libio/tst-ungetwc2.c (main): Define str const.
1535         * include/wchar.h: Add prototypes for __fwprintf and __vfwprintf.
1536         * libio/fwprintf.c: Also define __fwprintf.
1537         * stdio-common/vfprintf.c [COMPILE_WPRINTF]: Also define __vfwprintf.
1538         * argp/argp-fmtstream.c: Handle wide oriented stderr stream.
1539         * assert/assert-perr.c: Likewise.
1540         * assert/assert.c: Likewise.
1541         * gmon/gmon.c: Likewise.
1542         * inet/rcmd.c: Likewise.
1543         * malloc/obstack.c: Likewise.
1544         * misc/err.c: Likewise.
1545         * misc/error.c: Likewise.
1546         * misc/getpass.c: Likewise.
1547         * posix/getopt.c: Likewise.
1548         * resolv/res_hconf.c: Likewise.
1549         * stdio-common/perror.c: Likewise.
1550         * stdio-common/psignal.c: Likewise.
1551         * stdlib/fmtmsg.c: Likewise.
1552         * sunrpc/auth_unix.c: Likewise.
1553         * sunrpc/clnt_perr.c: Likewise.
1554         * sunrpc/clnt_tcp.c: Likewise.
1555         * sunrpc/clnt_udp.c: Likewise.
1556         * sunrpc/clnt_unix.c: Likewise.
1557         * sunrpc/svc_simple.c: Likewise.
1558         * sunrpc/svc_tcp.c: Likewise.
1559         * sunrpc/svc_udp.c: Likewise.
1560         * sunrpc/svc_unix.c: Likewise.
1561         * sunrpc/xdr.c: Likewise.
1562         * sunrpc/xdr_array.c: Likewise.
1563         * sunrpc/xdr_rec.c: Likewise.
1564         * sunrpc/xdr_ref.c: Likewise.
1565         * sysdeps/generic/wordexp.c: Likewise.
1567         * po/it.po: Update from translation team.
1569         * misc/err.c: Handle wide oriented stderr stream.
1571 2001-08-14  Tom Rix  <trix@redhat.com>
1573         * iconv/gconv_cache.c (find_module): Add #ifndef STATIC_GCONV.
1574         * iconv/Makefile: Fix gconv_cache.c CFLAGS.
1576 2001-08-13  Tom Rix  <trix@redhat.com>
1578         * sysdeps/unix/sysv/aix/Makefile: Add rule to import kernel symbols.
1579         * sysdeps/unix/sysv/aix/bits/types.h: Fix type of __id_t, __useconds_t
1580         and __intptr_t.
1582 2001-08-15  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1584         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S (__getcontext):
1585         Store the access registers to the ucontext structure.
1586         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S (__getcontext):
1587         Likewise.
1589         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S (__setcontext):
1590         Load the access registers from the ucontext structure.
1591         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S (__setcontext):
1592         Likewise.
1594         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: Adjust the SC_xxx
1595         offsets to the new ucontext layout.
1596         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: Likewise.
1598         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix the layout
1599         of the ucontext structure.
1600         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1602 2001-08-15  Ulrich Drepper  <drepper@redhat.com>
1604         * misc/error.c (error): Handle wide oriented stderr stream correctly.
1605         (error_at_line): Likewise.
1607         * stdio-common/perror.c (perror): Implement according to standard.
1608         The stream orientation must not be changed if the stream was not
1609         oriented before the call.
1610         * stdio-common/Makefile (tests): Add tst-perror.
1611         * stdio-common/tst-perror.c: New file.
1614 See ChangeLog.12 for earlier changes.