Update.
[glibc.git] / ChangeLog
blob90bdec7a144535d3c52bb8d18f0713a0aed85ebf
1 2001-10-26  Ulrich Drepper  <drepper@redhat.com>
3         * string/strxfrm.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get
4         nrules value.
6 2001-10-24  H.J. Lu  <hjl@gnu.org>
8         * sysdeps/generic/bits/dlfcn.h (DL_CALL_FCT): Cast to void *.
9         Use __BEGIN_DECLS/__END_DECLS around prototypes.
10         * sysdeps/mips/bits/dlfcn.h (DL_CALL_FCT): Likewise.
12 2001-10-21  Jim Meyering  <meyering@lucent.com>
14         * malloc/obstack.c (_): Honor the setting of ENABLE_NLS.  Otherwise,
15         this code would end up calling gettext even in packages built
16         with --disable-nls.
17         * posix/getopt.c (_): Likewise.
18         * posix/regex.c (_): Likewise.
20 2001-10-26  Ulrich Drepper  <drepper@redhat.com>
22         * resolv/gethnamaddr.c (gethostbyaddr): Use ip6.addr for reverse
23         lookup not ip6.int.
24         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
25         Reported by Martin.v.Loewis@t-online.de [PR libc/2598].
27 2001-10-19  Jakub Jelinek  <jakub@redhat.com>
29         * misc/sys/cdefs.h (__attribute_used__): Define.
30         * elf/rtld.c (_dl_start): Add __attribute_used__.
31         * elf/dl-runtime.c (fixup, profile_fixup): Likewise.
33 2001-10-25  Andreas Schwab  <schwab@suse.de>
35         * stdlib/a64l.c: Expect least significant digit first.
36         * stdlib/l64a.c: Produce least significant digit first.
37         * stdlib/Makefile (tests): Add test-a64l.
38         * stdlib/test-a64l.c: New file.
39         Reported by Masaki Hasegawa <masaki-h@pp.iij4u.or.jp>.
41 2001-10-21  Ulrich Drepper  <drepper@redhat.com>
43         * po/sk.po: Update from translation team.
45 2001-10-18  Ulrich Drepper  <drepper@redhat.com>
47         * sysdeps/i386/elf/start.S (_fp_hw): Define object type.
49 2001-10-18  Andreas Schwab  <schwab@suse.de>
51         * math/libm-test.inc (print_ulps): Print ulp values rounded to
52         next whole number.
53         (print_function_ulps): Likewise.
54         (print_complex_function_ulps): Likewise.
55         (print_max_error): Likewise.
56         (print_complex_max_error): Likewise.  Handle ignore_max_ulp.
58 2001-10-16  Andreas Schwab  <schwab@suse.de>
60         * sysdeps/m68k/fpu/libm-test-ulps: Updated for fixed cbrtl
61         implementation.
63         * sysdeps/m68k/setjmp.c: Also define setjmp and _setjmp if
64         BSD_SETJMP or BSD__SETJMP is defined, resp.
65         * sysdeps/m68k/bsd-setjmp.c: Inline setjmp code instead of making
66         a tail call to __sigsetjmp that would require extending the
67         caller's frame.
68         * sysdeps/m68k/bsd-_setjmp.c: Likewise.
69         * sysdeps/m68k/bsd-setjmp.S: Deleted.
70         * sysdeps/m68k/bsd-_setjmp.S: Deleted.
71         Reported by Jes Sorensen <jes@trained-monkey.org>.
73 2001-10-16  Andreas Jaeger  <aj@suse.de>
75         * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Fix
76         parentheses.  Reported by David Byron <dbyron@porto.coactive.com>,
77         close PR libc/2589.
79 2001-10-15  Ulrich Drepper  <drepper@redhat.com>
81         * po/ca.po: New file.  Contributed by the translation team.
83 2001-10-15  Ralf Baechle  <ralf@gnu.org>
85         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Make sysmips() prototype
86         a varargs prototype.  Remove dependency from kernel header files.
88         * sysdeps/unix/sysv/linux/mips/bits/termios.h: General cleanup, use
89         __USE_MISC / __USE_XOPEN not __USE_BSD where appropriate.
91 2001-10-14  Ulrich Drepper  <drepper@redhat.com>
93         * locale/programs/ld-collate.c (handle_ellipsis): Use %lX not %lx
94         to generate hexadecimal identifier.
95         Patch by Jungshik Shin <jungshik.shin@yale.edu>.
97 2001-10-09  Stephen L Moshier  <moshier@mediaone.net>
99         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Fix algorithm.
101 2001-10-14  Ulrich Drepper  <drepper@redhat.com>
103         * sysdeps/ieee754/ldbl-128/e_powl.c: New file.
104         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: New file.
105         Contributed by Stephen L Moshier <moshier@mediaone.net>.
107         * sysdeps/ieee754/ldbl-128/e_j0l.c: Constify float variables.
108         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
109         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise
110         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise
111         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise
112         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise
114         * timezone/africa: Update from tzdata2001d.
115         * timezone/asia: Likewise.
116         * timezone/australasia: Likewise.
117         * timezone/backward: Likewise.
118         * timezone/europe: Likewise.
119         * timezone/leapseconds: Likewise.
120         * timezone/northamerica: Likewise.
121         * timezone/southamerica: Likewise.
122         * timezone/zone.tab: Likewise.
124 2001-10-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
126         * sysdeps/s390/s390-32/sys/ucontext.h: Correct __psw_t typedef.
127         * sysdeps/s390/s390-64/sys/ucontext.h: Likewise.
129 2001-10-12  Ulrich Drepper  <drepper@redhat.com>
131         * elf/elf.h (PT_TLS): New definition.
133 2001-10-10  Jeff Bailey  <jbailey@nisa.net>
135         * sysdeps/mach/hurd/Makefile: Add $(CFLAGS) for generation of
136         bits/errno.h
138 2001-10-07  Roland McGrath  <roland@frob.com>
140         * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Never return ENOSYS.
142 2001-10-10  Ulrich Drepper  <drepper@redhat.com>
144         * elf/elf.h: Add more ELFOSABI_* constants.
146 2001-10-04  Ben Collins  <bcollins@debian.org>
148         * sysdeps/generic/inttypes.h: Fix typo (define, not defined) in
149         decleration of __need_wchar_t.
151 2001-10-03  Jakub Jelinek  <jakub@redhat.com>
153         * string/bits/string2.h (__strsep_g): Add prototype.
154         (__strsep): Use it.
155         * string/Versions (__strsep): Remove.
156         * sysdeps/generic/strsep.c (__strsep_g): Add alias to __strsep.
158 2001-10-07  Ulrich Drepper  <drepper@redhat.com>
160         * manua/llio.texi: Clarify file references added by mmap.
161         Patch by Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
163 2001-09-29  Jes Sorensen  <jes@trained-monkey.org>
165         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
166         Add sc_loadrs and sc_rbs_bas to match current kernel.
168 2001-09-27  Jakub Jelinek  <jakub@redhat.com>
170         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
172         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Fix erfc(-inf).
174 2001-09-27  Jakub Jelinek  <jakub@redhat.com>
176         * elf/dl-open.c (dl_open_worker): If l_opencount of freshly loaded
177         object has been bumped because of relocation dependency, avoid
178         duplicates in l_scope.
179         (show_scope): Fix typos.
180         * elf/Makefile: Add rules to build and run reldep6.
181         * elf/reldep6.c: New file.
182         * elf/reldep6mod0.c: New file.
183         * elf/reldep6mod1.c: New file.
184         * elf/reldep6mod2.c: New file.
185         * elf/reldep6mod3.c: New file.
186         * elf/reldep6mod4.c: New file.
188 2001-09-26  Jakub Jelinek  <jakub@redhat.com>
190         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Call
191         sparc64_fixup_plt.
192         (sparc64_fixup_plt): Moved from elf_machine_fixup_plt.  Optimize
193         near jumps and 0xfffff800XXXXXXXX target addresses, no thread safety
194         for non-lazy binding. Fix .plt[32768+] handling.
195         (elf_machine_plt_value): Don't add addend.
196         (elf_machine_rela): Call sparc64_fixup_plt instead of
197         elf_machine_fixup_plt.
198         (elf_machine_runtime_setup, TRAMPOLINE_TEMPLATE): Optimize for
199         dynamic linker at 0xfffff800XXXXXXXX.
201         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
203 2001-09-28  Ulrich Drepper  <drepper@redhat.com>
205         * elf/elf.h: Define SHF_GROUP and SHF_TLS.
207 2001-09-25  Jakub Jelinek  <jakub@redhat.com>
209         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (struct cmsghdr): Don't
210         declare __cmsg_data field if its size would be bigger than 0.
211         (CMSG_DATA): Adjust accordingly.
212         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
213         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Likewise.
214         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
215         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
216         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
217         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
218         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
220 2001-09-25  Ulrich Drepper  <drepper@redhat.com>
222         * iconvdata/TESTS: Add entries for IBM1160 and IBM1161.
223         * iconvdata/testdata/IBM1160: New file.
224         * iconvdata/testdata/IBM1160..UTF8: New file.
225         * iconvdata/testdata/IBM1161: New file.
226         * iconvdata/testdata/IBM1161..UTF8: New file.
227         Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
229 2001-09-24  Ulrich Drepper  <drepper@redhat.com>
231         * sysdeps/unix/bsd/ulimit.c (ulimit): Handle overflow in
232         UL_SETFSIZE computations better.
234         * rt/Makefile: Remove use of filter for librt again.
236         * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Handle overflow in
237         UL_SETFSIZE computations better.
239         * string/Versions: Export __strsep for GLIBC_2.2.5.
240         * string/bits/string2.h: Define all __STRING_INLINE functions if
241         _FORCE_INLINES is defined.
242         Use int instead of char of parameter types.
243         (__strsep): Don't use __strsep_g.  Don't define it.
244         (__strsep_1c, __strsep_2c, __strsep_3c): Optimize.
245         * sysdeps/i386/i486/string.h (__strcpy_a_small): Renamed from
246         __strcpy_small.
247         (__stpcpy_a_small): Renamed from __stpcpy_small.
248         (__strcspn_c1): Don't define if _FORCE_INLINES.
249         (__strspn_c1): Likewise.
251 2001-09-22  Ben Collins  <bcollins@debian.org>
253         * sysdeps/sparc/bits/sigaction.h: Define SA_RESTART and friends when
254         _UNIX98_SOURCE is defined too.  Matches generic/bits/sigaction.h.
255         * sysdeps/ia64/bits/sigaction.h: Likewise.
256         * sysdeps/s390/s390-64/bits/sigaction.h: Likewise.
258 2001-09-24  Andrew Haley  <aph@cambridge.redhat.com>
260         * sysdeps/unix/sysv/linux/sh/Makefile (sysdep_headers): Add sys/io.h.
262 2001-09-24  Jakub Jelinek  <jakub@redhat.com>
264         * elf/dl-open.c (dl_open_worker): Update l_scope_max.
266 2001-09-24  Ulrich Drepper  <drepper@redhat.com>
268         * wcsmbs/wchar.h: Add __attribute_pure__ to mbsinit prototype.
270 2001-09-20  H.J. Lu  <hjl@gnu.org>
272         * include/dlfcn.h (__RTLD_SPROF): New definiton.
273         * elf/dl-open.c (dl_open_worker): Return immediately after loading
274         for __RTLD_SPROF.
275         * elf/sprof.c (main): Default to the filename if soname doesn't exist.
276         (load_shobj): Call dlopen with `RTLD_LAZY | __RTLD_SPROF'.
278 2001-09-20  H.J. Lu  <hjl@gnu.org>
280         * elf/dl-profile.c (_dl_mcount): Use old *narcsp value for newarc,
281         don't add 1.
283 2001-09-22  Ulrich Drepper  <drepper@redhat.com>
285         * nss/getent.c: Accept -s parameter to overwrite rules in
286         nsswitch.conf.  Patch by Nalin Dahyabhai <nalin@redhat.com>.
288         * nss/nss_files/files-network.c (LINE_PARSER): Pad addr string
289         with as many ".0" as necessary to form a complete address
290         inet_network understands.
292         * nss/getent.c: Various cleanups.  Use simpler and fewer function
293         calls.
295 2001-09-20  Martin Schwidefsky  <schwidefsky@de.ibm.com>
297         * sysdeps/s390/s390-32/bits/setjmp.h: Correct pointer comparison in
298         _JMPBUF_UNWINDS.
299         * sysdeps/s390/s390-64/bits/setjmp.h: Likewise.
301 2001-09-22  Ulrich Drepper  <drepper@redhat.com>
303         * iconvdata/Makefile: Add rules to build and distribute IBM1160 and
304         IBM1161.
305         * iconvdata/gconv-modules: Add entries for IBM1160 and IBM1161.
306         * iconvdata/ibm1160.c: New file.
307         * iconvdata/ibm1160.h: New file.
308         * iconvdata/ibm1161.c: New file.
309         * iconvdata/ibm1161.h: New file.
310         Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
312 2001-09-19  Jakub Jelinek  <jakub@redhat.com>
314         * sysdeps/alpha/dl-machine.h (elf_machine_load_address): Compute the
315         difference between base address and first PT_LOAD's virtual address,
316         not the base address.
318 2001-09-11  Tom Rix  <trix@redhat.com>
320         * sysdeps/unix/sysv/aix/init-first.c (init):  Use USE_NONONPTION_FLAG
321         ifdef for __getopt_clean_environment.
322         * sysdeps/unix/sysv/aix/libc-start.c: Add real implementation.
324 2001-09-22  Andreas Jaeger  <aj@suse.de>
326         * elf/reldep4.c (main): Add proper prototype to fix warning.
328         * elf/reldep5.c (main): Remove unused variable.
330         * math/math_private.h: Add prototypes.
332 2001-09-21  Andreas Jaeger  <aj@suse.de>
334         * sysdeps/unix/sysv/linux/x86_64/Dist: New file.
335         * sysdeps/x86_64/Dist: New file.
336         * sysdeps/x86_64/soft-fp/Dist: New file.
338         * sysdeps/gnu/Dist: Remove eval.c.
340 2001-09-20  Ulrich Drepper  <drepper@redhat.com>
342         * malloc/memusage.c (realloc): Don't count already allocated
343         memory in the sums.
344         (me): Always use dlsym() to find the real implementations.
346         * malloc/memusage.sh: Make -n option actually do something.
348 2001-09-20  Andreas Jaeger  <aj@suse.de>
350         * elf/elf.h (R_390_NUM): Correct value.
352         * Versions.def: Add missing versions 2.2.3 for libthread_db and
353         libpthread.
355         * sysdeps/unix/sysv/linux/configure.in: Add minimal kernel version
356         for x86-64, install x86-64 into */lib64.
358         * shlib-versions: Add x86-64.
360         * elf/elf.h: Add x86-64 relocations.
362 2001-09-19  Ulrich Drepper  <drepper@redhat.com>
364         * po/fr.po: Update from translation team.
366 2001-09-19  Andreas Jaeger  <aj@suse.de>
368         * sysdeps/unix/sysv/linux/x86_64/Makefile: New file.
369         * sysdeps/unix/sysv/linux/x86_64/Versions: New file.
370         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: New file.
371         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: New file.
372         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: New file.
373         * sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: New file.
374         * sysdeps/unix/sysv/linux/x86_64/bits/time.h: New file.
375         * sysdeps/unix/sysv/linux/x86_64/bits/types.h: New file.
376         * sysdeps/unix/sysv/linux/x86_64/brk.c: New file.
377         * sysdeps/unix/sysv/linux/x86_64/clone.S: New file.
378         * sysdeps/unix/sysv/linux/x86_64/fstatfs64.c: New file.
379         * sysdeps/unix/sysv/linux/x86_64/ftruncate64.c: New file.
380         * sysdeps/unix/sysv/linux/x86_64/fxstat.c: New file.
381         * sysdeps/unix/sysv/linux/x86_64/fxstat64.c: New file.
382         * sysdeps/unix/sysv/linux/x86_64/getdents.c: New file.
383         * sysdeps/unix/sysv/linux/x86_64/getdents64.c: New file.
384         * sysdeps/unix/sysv/linux/x86_64/getrlimit64.c: New file.
385         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
386         * sysdeps/unix/sysv/linux/x86_64/glob64.c: New file.
387         * sysdeps/unix/sysv/linux/x86_64/lxstat.c: New file.
388         * sysdeps/unix/sysv/linux/x86_64/lxstat64.c: New file.
389         * sysdeps/unix/sysv/linux/x86_64/mmap64.c: New file.
390         * sysdeps/unix/sysv/linux/x86_64/pread64.c: New file.
391         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: New file.
392         * sysdeps/unix/sysv/linux/x86_64/pwrite64.c: New file.
393         * sysdeps/unix/sysv/linux/x86_64/readdir.c: New file.
394         * sysdeps/unix/sysv/linux/x86_64/readdir64.c: New file.
395         * sysdeps/unix/sysv/linux/x86_64/readdir64_r.c: New file.
396         * sysdeps/unix/sysv/linux/x86_64/readdir_r.c: New file.
397         * sysdeps/unix/sysv/linux/x86_64/recv.c: New file.
398         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: New file.
399         * sysdeps/unix/sysv/linux/x86_64/send.c: New file.
400         * sysdeps/unix/sysv/linux/x86_64/setrlimit64.c: New file.
401         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: New file.
402         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: New file.
403         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: New file.
404         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: New file.
405         * sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: New file.
406         * sysdeps/unix/sysv/linux/x86_64/statfs64.c: New file.
407         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: New file.
408         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: New file.
409         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: New file.
410         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: New file.
411         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: New file.
412         * sysdeps/unix/sysv/linux/x86_64/syscall.S: New file.
413         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: New file.
414         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: New file.
415         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: New file.
416         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
417         * sysdeps/unix/sysv/linux/x86_64/truncate64.c: New file.
418         * sysdeps/unix/sysv/linux/x86_64/umount.c: New file.
419         * sysdeps/unix/sysv/linux/x86_64/vfork.S: New file.
420         * sysdeps/unix/sysv/linux/x86_64/xstat.c: New file.
421         * sysdeps/unix/sysv/linux/x86_64/xstat64.c: New file.
422         * sysdeps/unix/x86_64/sysdep.S: New file.
423         * sysdeps/unix/x86_64/sysdep.h: New file.
424         * sysdeps/x86_64/Implies: New file.
425         * sysdeps/x86_64/Makefile: New file.
426         * sysdeps/x86_64/Versions: New file.
427         * sysdeps/x86_64/__longjmp.S: New file.
428         * sysdeps/x86_64/abort-instr.h: New file.
429         * sysdeps/x86_64/atomicity.h: New file.
430         * sysdeps/x86_64/bits/endian.h: New file.
431         * sysdeps/x86_64/bits/setjmp.h: New file.
432         * sysdeps/x86_64/bits/string.h: New file.
433         * sysdeps/x86_64/bp-asm.h: New file.
434         * sysdeps/x86_64/bsd-_setjmp.S: New file.
435         * sysdeps/x86_64/bsd-setjmp.S: New file.
436         * sysdeps/x86_64/dl-machine.h: New file.
437         * sysdeps/x86_64/elf/initfini.c: New file.
438         * sysdeps/x86_64/elf/start.S: New file.
439         * sysdeps/x86_64/ffs.c: New file.
440         * sysdeps/x86_64/ffsll.c: New file.
441         * sysdeps/x86_64/fpu/bits/fenv.h: New file.
442         * sysdeps/x86_64/fpu/bits/mathdef.h: New file.
443         * sysdeps/x86_64/fpu/e_acosl.c: New file.
444         * sysdeps/x86_64/fpu/e_atan2l.c: New file.
445         * sysdeps/x86_64/fpu/e_exp2l.S: New file.
446         * sysdeps/x86_64/fpu/e_expl.c: New file.
447         * sysdeps/x86_64/fpu/e_fmodl.S: New file.
448         * sysdeps/x86_64/fpu/e_log10l.S: New file.
449         * sysdeps/x86_64/fpu/e_log2l.S: New file.
450         * sysdeps/x86_64/fpu/e_logl.S: New file.
451         * sysdeps/x86_64/fpu/e_powl.S: New file.
452         * sysdeps/x86_64/fpu/e_rem_pio2l.c: New file.
453         * sysdeps/x86_64/fpu/e_scalbl.S: New file.
454         * sysdeps/x86_64/fpu/e_sqrtl.c: New file.
455         * sysdeps/x86_64/fpu/fclrexcpt.c: New file.
456         * sysdeps/x86_64/fpu/fedisblxcpt.c: New file.
457         * sysdeps/x86_64/fpu/feenablxcpt.c: New file.
458         * sysdeps/x86_64/fpu/fegetenv.c: New file.
459         * sysdeps/x86_64/fpu/fegetexcept.c: New file.
460         * sysdeps/x86_64/fpu/fegetround.c: New file.
461         * sysdeps/x86_64/fpu/feholdexcpt.c: New file.
462         * sysdeps/x86_64/fpu/fesetenv.c: New file.
463         * sysdeps/x86_64/fpu/fesetround.c: New file.
464         * sysdeps/x86_64/fpu/fgetexcptflg.c: New file.
465         * sysdeps/x86_64/fpu/fraiseexcpt.c: New file.
466         * sysdeps/x86_64/fpu/fsetexcptflg.c: New file.
467         * sysdeps/x86_64/fpu/ftestexcept.c: New file.
468         * sysdeps/x86_64/fpu/libm-test-ulps: New file.
469         * sysdeps/x86_64/fpu/math_ldbl.h: New file.
470         * sysdeps/x86_64/fpu/printf_fphex.c: New file.
471         * sysdeps/x86_64/fpu/s_atanl.c: New file.
472         * sysdeps/x86_64/fpu/s_cosl.S: New file.
473         * sysdeps/x86_64/fpu/s_expm1l.S: New file.
474         * sysdeps/x86_64/fpu/s_fpclassifyl.c: New file.
475         * sysdeps/x86_64/fpu/s_isinfl.c: New file.
476         * sysdeps/x86_64/fpu/s_isnanl.c: New file.
477         * sysdeps/x86_64/fpu/s_log1pl.S: New file.
478         * sysdeps/x86_64/fpu/s_logbl.c: New file.
479         * sysdeps/x86_64/fpu/s_nextafterl.c: New file.
480         * sysdeps/x86_64/fpu/s_nexttoward.c: New file.
481         * sysdeps/x86_64/fpu/s_nexttowardf.c: New file.
482         * sysdeps/x86_64/fpu/s_rintl.c: New file.
483         * sysdeps/x86_64/fpu/s_significandl.c: New file.
484         * sysdeps/x86_64/fpu/s_sincosl.S: New file.
485         * sysdeps/x86_64/fpu/s_sinl.S: New file.
486         * sysdeps/x86_64/fpu/s_tanl.S: New file.
487         * sysdeps/x86_64/gmp-mparam.h: New file.
488         * sysdeps/x86_64/hp-timing.c: New file.
489         * sysdeps/x86_64/hp-timing.h: New file.
490         * sysdeps/x86_64/htonl.S: New file.
491         * sysdeps/x86_64/memusage.h: New file.
492         * sysdeps/x86_64/setjmp.S: New file.
493         * sysdeps/x86_64/soft-fp/sfp-machine.h: New file.
494         * sysdeps/x86_64/stackinfo.h: New file.
495         * sysdeps/x86_64/sysdep.h: New file.
496         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: New file.
498         * sysdeps/ieee754/ldbl-128/s_erfl.c: New file, contributed Stephen
499         L Moshier.
501 2001-09-18  Ulrich Drepper  <drepper@redhat.com>
503         * malloc/malloc.c (ptmalloc_init): Handle _environ==NULL.
504         Reported by B. D. Elliott <bde@nwlink.com> [PR libc/2541].
506 2001-09-18  Andreas Schwab  <schwab@suse.de>
508         * elf/dl-load.c (_dl_map_object_from_fd): Update handling of scope
509         list, now that l_scope is a pointer.
511         * elf/dl-open.c (dl_open_worker): Fix thinko when enlarging the
512         scope list.
514 2001-09-18  kaz Kojima  <kkojima@rr.iij4u.or.jp>
516         * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix reverse condition.
517         (elf_machine_rela_relative): Add a missing declaration.
519 2001-09-18  Jakub Jelinek  <jakub@redhat.com>
521         * sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: New.
522         * sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed: New.
523         * sysdeps/unix/sysv/linux/configure.in: Add ia64 and s390
524         ldd-rewrite scripts.
526 2001-09-18  Ulrich Drepper  <drepper@redhat.com>
528         * elf/ldd.bash.in: Update copyright message.
530 2001-09-17  H.J. Lu  <hjl@gnu.org>
532         * hurd/hurdmalloc.c (bcopy): Removed.
533         (realloc): Replace bcopy with memcpy.
534         * hurd/path-lookup.c (file_name_path_scan): Likewise.
535         * resolv/gethnamaddr.c (map_v4v6_address): Likewise.
536         * sunrpc/rpcinfo.c (pmapdump): Likewise.
538         * resolv/gethnamaddr.c (getanswer): Replace bcopy with memmove.
539         (gethostbyaddr): Likewise.
540         * sunrpc/rpcinfo.c (get_inet_address): Likewise.
542 2001-09-18  Ulrich Drepper  <drepper@redhat.com>
544         * sysdeps/gnu/eval.c: Removed.
546 2001-09-18  Andreas Jaeger  <aj@suse.de>
548         * sysdeps/i386/fpu/s_logbl.S: Move to ...
549         * sysdeps/i386/fpu/s_logbl.c: ...here, use inline assembler.
551         * sysdeps/i386/fpu/s_rintl.S: Move to ...
552         * sysdeps/i386/fpu/s_rintl.c: ...here, use inline assembler.
554         * sysdeps/i386/fpu/s_significandl.S: Move to ...
555         * sysdeps/i386/fpu/s_significandl.c: ...here, use inline assembler.
557 2001-09-16  Ulrich Drepper  <drepper@redhat.com>
559         * string/strcoll.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get
560         nrules value.
562 2001-09-14  H.J. Lu  <hjl@gnu.org>
564         * sysdeps/mips/fpu/libm-test-ulps: Updated.
566 2001-09-14  Ulrich Drepper  <drepper@redhat.com>
568         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix a typo.
569         Patch by Florian La Roche <laroche@redhat.com>.
571         * string/bits/string2.h (__strtok_r_1c): Optimize a bit.
573         * sysdeps/unix/sysv/linux/net/ethernet.h: Correct references to
574         ETHER_CRC_LEN.
576 2001-09-14  Andreas Schwab  <schwab@suse.de>
578         * posix/execl.c: Fix last argument of memcpy.  Reported by Brian
579         Sumner <bls@sgi.com>.
580         * posix/execlp.c: Likewise.
582 2001-09-13  Jakub Jelinek  <jakub@redhat.com>
584         * elf/dl-deps.c (_dl_map_object_deps): Fix filter handling if filter
585         is already found earlier in the search scope.
587 2001-09-12  Jakub Jelinek  <jakub@redhat.com>
589         * rt/Makefile (LDFLAGS-rt.so): Use shared thread library as librt's
590         filter.
592 2001-09-13  Ulrich Drepper  <drepper@redhat.com>
594         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust expected errors for j0.
596 2001-09-12  Ulrich Drepper  <drepper@redhat.com>
598         * config.h.in: Enforce optimization to be used.
599         * Makeconfig (preprocess-versions): Define ASSEMBLER.
600         * stdlib/Makefile (isomac-CFLAGS): Define to -O.
601         * posix/Makefile (annexc-CFLAGS): Define to -O.
602         * sysdeps/unix/make-syscalls.sh: Define __OPTIMIZE__ in use of asm_CPP.
604 2001-09-11  Ulrich Drepper  <drepper@redhat.com>
606         * nscd/nscd_gethst_r.c: Don't expect IPv6 addresses for IPv4 lookup.
607         Patch by Stephan Kulow.
609 2001-09-08  Ben Collins  <bcollins@debian.org>
611         * sysdeps/arm/dl-machine.h (elf_machine_rel): Fix thinko in
612         usage of RESOLVE() (r_type, not reloc->r_type).
614 2001-09-08  Ulrich Drepper  <drepper@redhat.com>
616         * elf/dl-object.c: Avoid allocating extra memory block for name.
617         * elf/dl-close.c (_dl_close): Don't free l_libname if it is not
618         allocated separately.
619         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
621 2001-09-08  H.J. Lu  <hjl@gnu.org>
623         * po/zh_TW.po: Fix a typo.
625 2001-09-07  Tom Rix  <trix@redhat.com>
627         * sysdeps/unix/sysv/aix/sysv_termio.h: New file.
629 2001-08-26  Tom Rix  <trix@redhat.com>
631         * sysdeps/unix/sysv/aix/Makefile (aix-syscalls.o): More linker
632         command line options.
633         * sysdeps/unix/sysv/aix/start.s: New file, rework of start.c
634         * sysdeps/unix/sysv/aix/start.c: Removed.
635         * sysdeps/unix/sysv/aix/start-libc.c: New file.
636         * sysdeps/unix/sysv/aix/init-first.c: New file.
637         * sysdeps/unix/sysv/aix/fcntl.c: Alias __libc_fcntl to __fcntl.
639 2001-09-08  Ben Collins  <bcollins@debian.org>
641         * sysdeps/arm/dl-machine.h: Fix usage of new _dl_signal_error() format.
642         * sysdeps/generic/dl-machine.h: Likewise.
643         * sysdeps/hppa/dl-fptr.c: Likewise.
644         * sysdeps/ia64/dl-fptr.c: Likewise.
645         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
646         * sysdeps/mips/dl-machine.h: Likewise.
647         * sysdeps/mips/mips64/dl-machine.h: Likewise.
648         * sysdeps/powerpc/dl-machine.c: Likewise.
650 2001-09-07  Ben Collins  <bcollins@debian.org>
652         * sysdeps/sparc/sparc32/dl-machine.h: Fix typo.
654         * sysdeps/hppa/dl-lookupcfg.h: Forward declare struct link_map.
656 2001-09-08  Ulrich Drepper  <drepper@redhat.com>
658         * elf/dl-lookup.c (add_dependency): Bump l_opencount of all
659         dependencies if necessary.
661         * elf/dl-close.c (_dl_close): If object has no r_list (i.e., wasn't
662         loaded directly) determine length if l_initfini list by iterating
663         over its elements.  Minor optimizations.
664         * elf/dl-deps.c (_dl_map_object_deps): Always add own map to l_initfini
665         for dependency objects.
666         If object was already loaded check whether any of the dependencies
667         is already on the relocation dependency list.  If yes, remove the
668         latter.  Minor optimizations.
669         * elf/dl-lookup.c (add_dependency): Add check for self reference of
670         maps here.  Search l_initfini list only if the object was loaded
671         directly and not only as a dependency.
672         (_dl_lookup_symbol): Add relocation dependency also if object
673         is not in global scope.  Remove test for self-reference here.
674         (_dl_lookup_versioned_symbol): Likewise.
675         * elf/dl-object (_dl_new_object): Cleanup.  Initialize dont_free
676         element of first name record.
677         * elf/loadtest.c: Add some more test to recognize early if an object
678         wasn't unloaded.
679         * elf/Makefile: Add rules to build and run reldep5.
680         * elf/reldep5.c: New file.
681         * elf/reldepmod5.c: New file.
682         * elf/reldepmod6.c: New file.
684         * elf/reldep2.c: Fix typo.
686 2001-09-07  Ulrich Drepper  <drepper@redhat.com>
688         * include/link.h (struct link_map): Add l_scope_mem and l_scope_max
689         elements.  Change l_scope to be a pointer only.
690         * elf/dl-object.c (_dl_new_object): Initialize l_scope and l_scope_max.
691         * elf/dl-open.c (dl_open_worker): If dependency wasn't just opened
692         here add searchlist of newly open file to the dependency's scope.
693         * elf/dl-close.c (_dl_close): If dependency is used otherwise remove
694         only searchlist from its scope.  Free own scope array if necessary.
695         * elf/Makefile (tests): Add dblload and dblunload now.
697 2001-09-06  Andreas Jaeger  <aj@suse.de>
699         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: New file, contributed
700         Stephen L Moshier.
702 2001-09-05  Ulrich Drepper  <drepper@redhat.com>
704         * elf/Makefile: Add rules to build new tests.  Don't run them yet since
705         they both fail.
706         * elf/dblload.c: New file.
707         * elf/dblloadmod1.c: New file.
708         * elf/dblloadmod2.c: New file.
709         * elf/dblloadmod3.c: New file.
710         * elf/dblunload.c: New file.
712 2001-09-04  Richard Henderson  <rth@redhat.com>
714         * elf/elf.h (R_ALPHA_OP_*, R_ALPHA_IMMED_*): Remove.
715         (R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16.
717 2001-09-04  Ulrich Drepper  <drepper@redhat.com>
719         Correct very misleading message for error in failed runtime relocation.
720         * elf/dl-error.c (_dl_signal_error): Take extra parameter to describe
721         place of the error.
722         (_dl_signal_cerror): Likewise.
723         * sysdeps/generic/ldsodefs.h: Adjust prototypes.
724         * elf/dl-close.c: Likewise.
725         * elf/dl-deps.c: Likewise.
726         * elf/dl-load.c: Likewise.
727         * elf/dl-lookup.c: Likewise.
728         * elf/dl-open.c: Likewise.
729         * elf/dl-reloc.c: Likewise.
730         * elf/dl-sym.c: Likewise.
731         * elf/dl-version.c: Likewise.
732         * sysdeps/generic/dl-sysdep.c: Likewise.
734 2001-09-04  Jakub Jelinek  <jakub@redhat.com>
736         * iconv/strtab.c (strtabinit): Initialize null Strent.
737         (newstring): Move len == 0 handling...
738         (strtabadd): ...here.
739         If len == 1, return null Strent.
740         When inserting a suffix of an existing string, check if
741         it is not equal to some suffix already recorded.
742         Copy left and right members over if adding longer string.
744 2001-09-04  Jakub Jelinek  <jakub@redhat.com>
746         * sunrpc/rpc_cout.c (upcase): Account for trailing '\0'.
748         * sysdeps/unix/sysv/linux/alpha/gethostname.c: Include <errno.h>.
749         (__syscall_gethostname): Add prototype.
751 2001-09-04  Ulrich Drepper  <drepper@redhat.com>
753         * elf/dl-object.c (_dl_new_object): Remove unnecessary if.
755 2001-09-02  Ulrich Drepper  <drepper@redhat.com>
757         * elf/rtld.c (dl_main): Increment l_opencount for main binary.
759 2001-08-27  Roland McGrath  <roland@frob.com>
761         * sysdeps/unix/sysv/gethostname.c (__gethostname): When LEN is too
762         short, copy that much into NAME anyway before returning error.
764 2001-09-01  Richard Henderson  <rth@redhat.com>
766         * sysdeps/alpha/elf/Dist: Remove file.
767         * sysdeps/alpha/elf/Makefile: Remove file.
768         * sysdeps/alpha/elf/crtbegin.S: Remove file.
769         * sysdeps/alpha/elf/crtend.S: Remove file.
770         * sysdeps/alpha/elf/initfini.c: New file.
772 2001-09-01  Mark Kettenis  <kettenis@gnu.org>
774         * iconv/tst-iconv1.c: Include <stddef.h> for wchar_t.
775         * iconv/tst-iconv3.c: Likewise.
777 2001-09-01  Jakub Jelinek  <jakub@redhat.com>
779         * sysdeps/generic/inttypes.h (__gwchar_t): Define to wchar_t for C++.
781 2001-09-01  Ulrich Drepper  <drepper@redhat.com>
783         * iconv/gconv_cache.c: Rename variable cache to __gconv_cache and
784         export it.
785         * iconv/Versions (libc) [GLIBC_2.2.5]: Export __gconv_cache.
786         * iconv/iconv_prog.c (insert_cache): New function.
787         (print_known_names): If cache is used call insert_cache to use the
788         information from the cache [PR libc/2509].
790 2001-08-31  Ulrich Drepper  <drepper@redhat.com>
792         * time/strptime.c (strptime_internal): Recognize 'l' format and
793         handle it like 'I' for symmetry with strftime.
795 2001-08-31  Richard Henderson  <rth@redhat.com>
797         * elf/dl-support.c (_dl_cpuclock_offset): Protect with NONAVAIL.
798         (HP_TIMING_AVAIL): Set to HP_SMALL_TIMING_AVAIL if present.
799         * elf/rtld.c (HP_TIMING_AVAIL): Likewise.
800         (print_statistics): Make scalar unsigned long long.
801         * sysdeps/alpha/hp-timing.h: New file.
803 2001-08-31  Jakub Jelinek  <jakub@redhat.com>
805         * stdio-common/perror.c (perror): Save errno early, pass it
806         down to perror_internal.
807         (perror_internal): Add errnum argument.
809 2001-08-31  Jakub Jelinek  <jakub@redhat.com>
811         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Remove unused code.
812         Don't add old memory content for R_ALPHA_REFQUAD.
814 2001-08-30  Ulrich Drepper  <drepper@redhat.com>
816         * crypt/md5-crypt.c (__md5_crypt_r): Compute used and required
817         memory correctly.
819         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Use __open
820         instead of open, __close instead of close, __getpagesize instead
821         of getpagesize.
823         * string/argz-stringify.c (__argz_stringify): Use __strnlen
824         instead of strnlen.
825         * include/string.h (strndupa): Redefine here to use __strnlen
826         instead of strnlen.
827         * string/strndup.c (__strndup): Use __strnlen not strnlen.
829         * misc/syslog.c (vsyslog): Fix typo in last change (connect ->
830         connected).
832 2001-08-30  Jakub Jelinek  <jakub@redhat.com>
834         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
835         R_ALPHA_RELATIVE if RTLD_BOOTSTRAP and HAVE_Z_COMBRELOC.  Only check
836         for rtld map if neither RTLD_BOOTSTRAP nor HAVE_Z_COMBRELOC is defined.
837         * sysdeps/i386/dl-machine.h (elf_machine_rel): Similarly.
838         * sysdeps/ia64/dl-machine.h (elf_machine_rel): Similarly.
839         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rel): Similarly.
840         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rel): Similarly.
842 2001-08-30  Ulrich Drepper  <drepper@redhat.com>
844         * sysdeps/alpha/fpu/libm-test-ulps: Adjust j0 ULPs.
846 2001-08-30  Andreas Jaeger  <aj@suse.de>
848         * sysdeps/ieee754/ldbl-128/e_jnl.c: New file,
849         contributed Stephen L Moshier.
851 2001-08-30  Jakub Jelinek  <jakub@redhat.com>
853         * sunrpc/etc.rpc (sgi_fam): Add.
855 2001-08-30  Ulrich Drepper  <drepper@redhat.com>
857         * sysdeps/unix/sysv/linux/alpha/gethostname.c: New file.
859 2001-08-29  Ulrich Drepper  <drepper@redhat.com>
861         * nis/nis_findserv.c (__nis_findfastest): Don't fail if reply received
862         first is from a previous call.
863         Patch by Alexander Belopolsky <alexb@rentec.com> for [PR libc/3670].
865 2001-08-29  Andreas Schwab  <schwab@suse.de>
867         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
869 2001-08-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
871         * config.make.in (INSTALL_SCRIPT): Define.
872         * Makeconfig (INSTALL_SCRIPT): Define.
873         * Makerules (do-install-script): New macro to install scripts using
874         INSTALL_SCRIPT.
875         (install-bin-script): New rule to install scripts with
876         do-install-script.
877         (install-bin-script-nosubdir): New rule.
878         (install-no-libc.a-nosubdir): Add install-bin-script-nosubdir.
879         (distinfo-vars): Add $(install-bin-script).
880         * Rules (others): Likewise.
881         * Makefile (glibcbug): Install with install-bin-script.
882         * debug/Makefile (xtrace): Likewise.
883         (catchsegv): Likewise.
884         * elf/Makefile (ldd): Likewise.
885         * malloc/Makefile (mtrace): Likewise.
886         * timezone/Makefile (tzselect): Likewise.
888 2001-08-29  H.J. Lu  <hjl@gnu.org>
890         * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Pass
891         ELF_RTYPE_CLASS_PLT, instead of R_MIPS_REL32, to
892         _dl_lookup_versioned_symbol () and _dl_lookup_symbol ().
894 2001-08-29  Andreas Schwab  <schwab@suse.de>
896         * sysdeps/m68k/fpu/libm-test-ulps: Updated.
898 2001-08-28  H.J. Lu  <hjl@gnu.org>
900         * Makeconfig (combreloc-LDFLAGS): New variable.
901         Add it to LDFLAGS.so, LDFLAGS-rtld, and +link.
902         * config.make.in (have-z-combreloc): New variable.
903         * configure.in: Substitute libc_cv_z_combreloc.
905 2001-08-29  Ulrich Drepper  <drepper@redhat.com>
907         * po/sv.po: Update from translation team.
908         * po/fr.po: Likewise.
909         * po/da.po: Likewise.
911 2001-08-28  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
913         * Makerules: Fix a typo: MD% -> MD5.
915 2001-08-28  Ulrich Drepper  <drepper@redhat.com>
917         * sunrpc/rpc_hout.c (pargdef): Function must take pointer to object.
918         Patch by Patrick Duval <Patrick.Duval@devinci.fr>.
920 2001-08-28  Andreas Jaeger  <aj@suse.de>
922         * manual/libc-texinfo.sh: Add entry about free manuals.
924         * manual/contrib.texi (Contributors): Fix cross reference.
926         * manual/libc.texinfo (Copying): Include freemanuals.
928         * manual/Makefile (appendices): Add freemanuals.
930         * manual/freemanuals.texi: New file.
931         Patch by Brian Youmans <3diff@gnu.org>.
933         * manual/libm-err-tab.pl: Pretty print more platforms, print a
934         smaller table.
936         * manual/math.texi (Errors in Math Functions): Fix grammar, start
937         table on separate page.
938         Patch by Brian Youmans <3diff@gnu.org>.
940 2001-08-27  Ulrich Drepper  <drepper@redhat.com>
942         * misc/syslog.c (vsyslog): Try a bit harder to use syslogd.  If
943         the connection went down after we first used it try to connect
944         again and resend the message before printing to the console.
945         Reported by Coserea Gh. Tudor <tudore@tudore.gecadsoftware.com>.
947 2001-08-27  Jakub Jelinek  <jakub@redhat.com>
949         * string/tst-strlen.c (main): Test strnlen (, -1) too.
950         * sysdeps/generic/strnlen.c (__strnlen): Fix for maxlens with top
951         bit set.
953 2001-08-27  Ulrich Drepper  <drepper@redhat.com>
955         * iconv/strtab.c (searchstring): Use correct length for comparison.
956         (strtabadd): Account total size correct if new string has old string as
957         substring.
959 2001-08-27  Jakub Jelinek  <jakub@redhat.com>
961         * elf/rtld.c (dl_main): Update call to _dl_lookup_symbol.
963 2001-08-27  Andreas Jaeger  <aj@suse.de>
965         * sysdeps/i386/fpu/libm-test-ulps (float): Add ulps for new tests.
967         * math/libm-test.inc (j0_test): Add extra tests.
968         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Use |x|,
969         not x, in Hankel approximation.
970         Patches by Stephen L Moshier.
972 2001-08-26  Ulrich Drepper  <drepper@redhat.com>
974         * sysdeps/ia64/dl-lookupcfg.h: Add forward declaration for struct
975         link_map.
977         * configure.in: Fix test for .rela.dyn section.
979         * elf/dl-runtime.c: Update calls to _dl_lookup_*.
981 2001-08-26  Jakub Jelinek  <jakub@redhat.com>
983         * elf/dl-reloc.c (RESOLVE_MAP, RESOLVE): Use elf_machine_type_class
984         instead of elf_machine_lookup_noexec_p and elf_machine_lookup_noplt_p.
985         Pass type_class to _dl_lookup_*.
986         * elf/dl-lookup.c (_dl_lookup_symbol): Take type_class parameter now.
987         Pass around just type_class instead of noexec, noplt pair.
988         (_dl_lookup_versioned_symbol): Likewise.
989         (_dl_lookup_symbol_skip): Pass around just type_class instead of
990         noexec, noplt pair.
991         (_dl_lookup_versioned_symbol_skip): Likewise.
992         (_dl_do_lookup, _dl_do_lookup_versioned): Likewise.
993         * elf/do-lookup.h (do_lookup): Likewise.
994         * include/link.h (struct link_map): Replace noexec and noplt fields
995         in l_lookup_cache with type_class field.
996         * sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_PLT,
997         ELF_RTYPE_CLASS_COPY): Define.
998         Adjust prototypes for _dl_lookup_symbol and
999         _dl_lookup_versioned_symbol.
1000         * sysdeps/alpha/dl-machine.h (elf_machine_lookup_noplt_p,
1001         elf_machine_lookup_noexec_p): Remove.
1002         (elf_machine_type_class): Define.
1003         * sysdeps/arm/dl-machine.h: Likewise.
1004         * sysdeps/hppa/dl-machine.h: Likewise.
1005         * sysdeps/cris/dl-machine.h: Likewise.
1006         * sysdeps/i386/dl-machine.h: Likewise.
1007         * sysdeps/ia64/dl-machine.h: Likewise.
1008         * sysdeps/m68k/dl-machine.h: Likewise.
1009         * sysdeps/mips/mips64/dl-machine.h: Likewise.
1010         * sysdeps/mips/dl-machine.h: Likewise.
1011         * sysdeps/powerpc/dl-machine.h: Likewise.
1012         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1013         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1014         * sysdeps/sh/dl-machine.h: Likewise.
1015         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1016         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1018 2001-08-26  Ulrich Drepper  <drepper@redhat.com>
1020         * manual/message.texi (Advanced gettext functions): Change
1021         description of plural forms for Slovak.
1022         Reported by Marcel Telka <marcel@telka.sk>.
1024         * manuaL/time.texi (Low-Level Time String Parsing): Fix description of
1025         %z.  Reported by C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>.
1027 2001-08-26  Jakub Jelinek  <jakub@redhat.com>
1029         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_lazy_rel): Fix a
1030         typo.  Patch by Florian La Roche <laroche@redhat.com>.
1032 2001-08-26  Ulrich Drepper  <drepper@redhat.com>
1034         * include/link.h (struct link_map): Add l_lookup_cache element.
1035         * elf/dl-reloc.c (RESOLVE): Add symbol caching here.
1036         (RESOLVE_MAP): Likewise.
1037         (_dl_relocate_object): Remove cache initialization.
1038         * elf/dl-lookup.c: Rip out cache handling code.
1039         * sysdeps/generic/ldsodefs.h: Remove lookup_cache struct and variable
1040         declarations.
1042         * elf/dl-lookup.c (_dl_lookup_symbol): Reorder some conditions and
1043         remove some __builtin_expect.
1044         (_dl_lookup_versioned_symbol): Likewise.
1046         * config.h.in: Add HAVE_Z_COMBRELOC.
1047         * configure.in: Add test for -z combreloc.
1049         * sysdeps/i386/dl-machine.h (elf_machine_rel): Minor cleanups and
1050         optimizations.  Use HAVE_Z_COMBRELOC to avoid generaton of
1051         R_386_RELATIVE handling for ld.so startup.  Reduce RTLD_BOOTSTRAP
1052         case to almost no code.
1054 2001-08-25  Ulrich Drepper  <drepper@redhat.com>
1056         * po/tr.po: Update from translation team.
1058 2001-08-24  Andreas Jaeger  <aj@suse.de>
1060         * iconv/Makefile (extra-objs): Add iconvconfig-modules so that
1061         make clean works.
1063 2001-08-24  Ulrich Drepper  <drepper@redhat.com>
1065         * elf/rtld.c (print_statistics): Printf % after percent values.
1066         * elf/dl-misc.c (_dl_debug_vdprintf): Implement %%.
1068         * elf/dl-lookup.c (_dl_lookup_symbol): If we use the cache we
1069         don't have to compute the hash value and initialize current_value.
1070         Move reference_name variable to where it is needed.
1071         (_dl_lookup_versioned_symbol): Likewise.
1073 2001-08-24  Roland McGrath  <roland@frob.com>
1075         * string/tester.c (test_strerror): Don't use _sys_errlist/_sys_nerr.
1076         Just test that strerror returns non-null for a few errno codes.
1078 2001-08-23  Roland McGrath  <roland@frob.com>
1080         * hurd/Versions (libc: GLIBC_2.2.5): New set; add _hurd_raise_signal,
1081         _hurdsig_interrupt_timeout, _hurdsig_fault_preemptor.
1083         * sysdeps/posix/shm_unlink.c (shm_unlink): __unlink -> unlink.
1085         * mach/Versions (libc: GLIBC_2.2.5): New set; add __mach_msg_destroy,
1086         __mach_reply_port.
1088 2001-08-24  Ulrich Drepper  <drepper@redhat.com>
1090         * nss/test-netdb.c (test_hosts): Don't segfault if gethostname
1091         returns NULL.
1093         * elf/do-rel.h (elf_dynamic_do_rel): Fix problem with ld.so
1094         startup.  Explicitly remove lazy part for RTLD_BOOTSTRAP since gcc
1095         doesn't do it.
1096         * elf/rtld.c: Include <sys/param.h>.
1097         * elf/dl-reloc.c: Likewise.
1099 2001-08-24  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
1101         * sysdeps/unix/sysv/linux/mips/configure.in: Define AC_SUBST to
1102         empty to prevent junk from being generated.
1103         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1105 2001-08-24  Jakub Jelinek  <jakub@redhat.com>
1107         * elf/do-rel.h (elf_dynamic_do_rel): If l_addr is 0, skip relative
1108         records.  Rename endrel to relative, initialize it to r, and use it
1109         in elf_machine_rel_relative calls.  Point r after relative relocs.
1111 2001-08-24  Ulrich Drepper  <drepper@redhat.com>
1113         * sysdeps/i386/dl-machine.h (elf_machine_rel): Correct prediction
1114         of R_386_NONE.
1116 2001-08-24  Jakub Jelinek  <jakub@redhat.com>
1118         * elf/do-rel.h (elf_machine_rel_relative): Define for rela if
1119         necessary.  Undefine newly defined macros at the end.
1120         * sysdeps/hppa/dl-machine.h (elf_machine_rela_relative):
1121         Rename from elf_machine_rel_relative.
1122         * sysdeps/cris/dl-machine.h (elf_machine_rela_relative): Likewise.
1123         * sysdeps/m68k/dl-machine.h (elf_machine_rela_relative): Likewise.
1124         * sysdeps/powerpc/dl-machine.h (elf_machine_rela_relative): Likewise.
1125         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela_relative):
1126         Likewise.
1127         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela_relative):
1128         Likewise.
1129         * sysdeps/ia64/dl-machine.h (elf_machine_rela_relative): Likewise.
1130         Fix argument types.
1131         * sysdeps/alpha/dl-machine.h (elf_machine_rela_relative): Likewise.
1132         Fix argument types.
1133         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela_relative):
1134         Likewise.  Fix argument types.
1135         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela_relative):
1136         Likewise.  Fix argument types.
1137         * sysdeps/sh/dl-machine.h (elf_machine_rela_relative): Likewise.
1138         Fix argument types.
1139         * sysdeps/mips/dl-machine.h (elf_machine_rel_relative): Use
1140         ElfW(Rel) in argument.
1141         * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel_relative): New
1142         function.
1144 2001-08-24  Alexandre Oliva  <aoliva@redhat.com>
1146         * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix typo.
1148 2001-08-24  Andreas Jaeger  <aj@suse.de>
1150         * sysdeps/ieee754/ldbl-128/e_j1l.c: New file, contributed by
1151         Stephen L Moshier <moshier@mediaone.net>.
1153 2001-08-24  Ulrich Drepper  <drepper@redhat.com>
1155         * elf/do-rel.h (elf_dynamic_do_rel): RELATIVE relocations comes
1156         first if RELCOUNT is set.
1158         * elf/do-rel.h (elf_dynamic_do_rel): If not relocating lazily, don't
1159         call elf_machine_rel for the last DT_RELCOUNT relocations but instead
1160         elf_machine_rel_relative.
1161         * sysdeps/alpha/dl-machine.h: Define elf_machine_rel_relative.
1162         Minor optimizations.
1163         * sysdeps/arm/dl-machine.h: Likewise.
1164         * sysdeps/cris/dl-machine.h: Likewise.
1165         * sysdeps/hppa/dl-machine.h: Likewise.
1166         * sysdeps/i386/dl-machine.h: Likewise.
1167         * sysdeps/ia64/dl-machine.h: Likewise.
1168         * sysdeps/m68k/dl-machine.h: Likewise.
1169         * sysdeps/mips/dl-machine.h: Likewise.
1170         * sysdeps/powerpc/dl-machine.h: Likewise.
1171         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1172         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1173         * sysdeps/sh/dl-machine.h: Likewise.
1174         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1175         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1177 2001-08-23  Roland McGrath  <roland@frob.com>
1179         * rt/tst-aio4.c [! SIGRTMIN] (SIGRTMIN, SIGRTMAX): Define as -1.
1181         * sysdeps/mach/hurd/bits/libc-lock.h: New file, initially copied from
1182         sysdeps/mach version.  Implement counting ("recursive") mutexes
1183         on top of cthreads mutexes.
1184         * sysdeps/mach/hurd/bits/stdio-lock.h: File removed; generic now works.
1186         * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Define to
1187         _LIBC_LOCK_RECURSIVE_INITIALIZER if defined, else do an #error.
1188         (__libc_cleanup_region_start, __libc_cleanup_region_end,
1189         __libc_clean_end): Define these to call the cleanup function after
1190         normal exit when they're supposed to.
1192         * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start):
1193         Take new first arg DOIT, a boolean saying whether to really install
1194         any cleanup handler.
1195         (__libc_cleanup_region_end): Do nothing if start's DOIT arg was zero.
1196         (__libc_cleanup_end): Likewise.
1197         * sysdeps/generic/bits/libc-lock.h: Same changes.
1198         * stdio-common/vfscanf.c (LOCK_STREAM): Pass new arg.
1199         * stdio-common/vfprintf.c (buffered_vfprintf, vfprintf): Likewise.
1200         * sysdeps/mach/hurd/bits/stdio-lock.h (_IO_cleanup_region_start):
1201         Likewise.
1202         * misc/syslog.c (vsyslog, openlog, closelog): Likewise.
1203         * sysdeps/generic/bits/stdio-lock.h
1204         (_IO_cleanup_region_start, _IO_cleanup_region_start_noarg): Likewise.
1206 2001-08-23  Jakub Jelinek  <jakub@redhat.com>
1208         * elf/ldconfig.c (search_dir): Remove stale symlinks.
1210 2001-08-23  Jakub Jelinek  <jakub@redhat.com>
1212         * elf/dl-lookup.c (lookup_cache, lookup_cache_versioned): New.
1213         (_dl_lookup_symbol): Lookup relocations in cache and store successfull
1214         lookups in cache.
1215         (_dl_lookup_versioned_symbol): Likewise.
1216         * elf/dl-reloc.c (_dl_relocate_object): Initialize cache for
1217         relocation lookup.
1218         * elf/rtld.c (print_statistics): Output _dl_num_cache_relocations.
1219         * sysdeps/generic/ldsodefs.h (struct lookup_cache): New definition.
1220         (lookup_cache, lookup_cache_versioned): Add declarations.
1222 2001-08-23  Ulrich Drepper  <drepper@redhat.com>
1224         * stdlib/tst-random.c (main): Swap parameters in fail call.
1225         Patch by Pete Bevin <pete@petebevin.com>.
1227 2001-08-23  Jakub Jelinek  <jakub@redhat.com>
1229         * sysdeps/generic/inttypes.h: Use __gwchar_t instead of __wchar_t.
1231 2001-08-23  Ulrich Drepper  <drepper@redhat.com>
1233         * malloc/obstack.c: Indent preprocessor directives.
1234         Patch by Jim Meyering <meyering@ascend.com>.
1236         * po/ja.po: Update from translation team.
1238 2001-08-23  Roland McGrath  <roland@frob.com>
1240         * libio/tst-ungetwc1.c (main): Add a const to quiet a warning.
1242         * nss/test-netdb.c (test_hosts): Don't use MAXHOSTNAMELEN.
1243         Instead, use dynamic buffer to test gethostname's ENAMETOOLONG error.
1245 2001-08-22  Roland McGrath  <roland@frob.com>
1247         * sysdeps/generic/ldsodefs.h (_dl_load_lock): Declare it here with
1248         __libc_lock_define_recursive.
1249         * elf/dl-open.c: Don't declare it here any more.
1250         * elf/dl-close.c: Likewise.
1251         * elf/dl-lookup.c: Likewise.
1252         * elf/dl-iteratephdr.c: Likewise.
1253         * elf/dl-lookup.c (add_dependency): Use __libc_lock_lock_recursive and
1254         __libc_lock_unlock_recursive.
1255         * elf/dl-close.c (_dl_close): Likewise
1256         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise
1257         * elf/dl-open.c (_dl_open): Likewise
1259         * sysdeps/generic/bits/libc-lock.h
1260         (__libc_lock_define_recursive): New macro.
1261         * sysdeps/generic/bits/stdio-lock.h (_IO_lock_t): Use it.
1262         (_IO_lock_lock): Use __libc_lock_lock_recursive.
1263         (_IO_lock_unlock): Use __libc_lock_unlock_recursive.
1265         * conform/conformtest.pl (checknamespace): Sort the output list.
1267         * sysdeps/generic/bits/poll.h (POLLWRBAND): New alias for POLLOUT.
1268         (POLLRDNORM, POLLRDBAND, POLLWRNORM, POLLWRBAND): Make these
1269         definitions conditional on [__USE_XOPEN].
1271         * sysdeps/mach/hurd/bits/fcntl.h (O_ASYNC, O_FSYNC, O_SYNC): Define
1272         these unconditionally, not only use [__USE_BSD], so as to match
1273         the sysdeps/unix/sysv/linux files.
1275 2001-08-22  Ulrich Drepper  <drepper@redhat.com>
1277         * test-skeleton.c (add_temp_file): Add __attribute__ ((unused)) to
1278         avoid warnings.
1280         * dlfcn/tst-dladdr.c (do_test): Get address of ref1 using
1281         DL_LOOKUP_ADDRESS.
1283 2001-08-22  Roland McGrath  <roland@frob.com>
1285         * sysdeps/generic/bits/sigaction.h (struct sigaction): Fix up
1286         conditionalization of sa_handler/sa_sigaction member types to
1287         match the sysdeps/unix/sysv/linux file.
1289 2001-08-22  Ulrich Drepper  <drepper@redhat.com>
1291         * elf/dl-addr.c (_dl_addr): Handle broken binaries with zero
1292         symbol sizes a bit better.
1294         * sysdeps/ia64/strncpy.S: Complete rewrite.
1295         Contributed by Jakub Jelinek <jakub@redhat.com>.
1297         * string/stratcliff.c (main): Add strncpy test.
1299 2001-08-22  Roland McGrath  <roland@frob.com>
1301         * sysdeps/generic/dl-environ.c: Include <stdlib.h> and <unistd.h>,
1302         and don't declare unsetenv or _environ directly.
1303         (unsetenv): Return int, not void.  Use __environ instead of _environ.
1305 2001-08-01  Mark Kettenis  <kettenis@gnu.org>
1307         * sysdeps/unix/bsd/bsd4.4/Makefile: New file.
1308         * sysdeps/unix/bsd/bsd4.4/Versions: New file.
1309         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: New file.
1310         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Correct
1311         test for cmsg struct size.
1313 2001-04-23  Paul Eggert  <eggert@twinsun.com>
1315         * posix/getopt.h (getopt_long, getopt_long_only, _getopt_internal):
1316         Rename __argc to ___argc in prototypes to avoid compatibility
1317         problems with systems that reserve the identifier "__argc".
1318         Similarly for __argv.
1320 2001-08-21  Roland McGrath  <roland@frob.com>
1322         * stdio-common/tst-fseek.c: Include <time.h> for `time' declaration.
1324         * mach/Makefile (tests): Removed.
1325         * mach/hello.c: File removed.
1327 2001-08-22  Ulrich Drepper  <drepper@redhat.com>
1329         * po/sv.po: Update from translation team.
1331         * stdio-common/vfscanf.c: Fix handling of %l[].
1332         Reported by Mitsuru Chinen <mchinen@yamato.ibm.com>.
1334         * libio/Makefile (tests): Add tst-sscanf.
1335         * libio/tst-sscanf.c: New file.
1337         * elf/dl-addr.c (_dl_addr): Fix tests to determine dli_sname.
1338         * malloc/mtrace.c (tr_where): dli_sname always points to a
1339         non-empty string if != NULL.
1340         Reported by Tim Janik <timj@gtk.org>.
1342 2001-08-22  Jakub Jelinek  <jakub@redhat.com>
1344         * sunrpc/xdr_rec.c (xdrrec_create): Fix buf sizes before allocating
1345         buf.  Free resources on failure.
1346         * sunrpc/svc_unix.c (svcunix_create): Free resources on failure.
1347         (makefd_xprt): Likewise.
1348         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
1349         * sunrpc/svc_tcp.c (svctcp_create, makefd_xprt): Likewise.
1350         * sunrpc/auth_unix.c (authunix_create): Likewise.
1352 2001-08-21  Jakub Jelinek  <jakub@redhat.com>
1354         * string/strnlen.c: Remove.
1355         * sysdeps/generic/strnlen.c: New.
1356         * sysdeps/i386/i486/bits/string.h (strnlen): Remove.
1358 2001-08-21  Roland McGrath  <roland@frob.com>
1360         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Define this
1361         as a macro, not an extern inline function.
1363         * hurd/Versions (GLIBC_2.2.5): New set, define __hurd_fail here.
1364         * Versions.def (libc): Add GLIBC_2.2.5 set.
1365         * hurd/hurd.h (_HURD_H_EXTERN_INLINE): New macro.
1366         (__hurd_fail): Use that instead of _EXTERN_INLINE in decl.
1368 2001-08-20  Roland McGrath  <roland@frob.com>
1370         * hurd/hurdlookup.c (__hurd_file_name_lookup): Fail with ENOENT for "".
1371         (__hurd_file_name_split, __hurd_directory_name_split): Likewise.
1373 2001-08-21  Ulrich Drepper  <drepper@redhat.com>
1375         * string/bits/string2.h: Remove strnlen optimization here.
1376         * sysdeps/i386/i486/bits/string.h: Add it here.
1378 2001-08-21  Wolfram Gloger  <wg@malloc.de>
1380         * malloc/malloc.c: Make access to ..._hook pointers thread-safe.
1382 2001-08-21  Ulrich Drepper  <drepper@redhat.com>
1384         * po/gl.po: Update from translation team.
1386 2001-08-20  Ulrich Drepper  <drepper@redhat.com>
1388         * misc/error.c (error_tail): Use fputws_unlocked instead of fputws.
1389         * misc/err.c (convert_and_print): Likewise.
1391         * malloc/obstack.c (print_and_abort): Use fprintf instead of two
1392         function calls.
1394 2001-08-20  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1396         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Revert the
1397         change of the gregset_t type.
1398         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1400 2001-08-20  kaz Kojima  <kkojima@rr.iij4u.or.jp>
1402         * sysdeps/unix/sysv/linux/sh/sysdep.S: Align errno.
1404 2001-08-20  Ulrich Drepper  <drepper@redhat.com>
1406         * posix/regex.c (truncate_wchar): Use wcrtomb not wctomb.
1408         * string/strnlen.c: Fix the implementation.  We cannot use memchr.
1410 2001-08-18  Mark Kettenis  <kettenis@gnu.org>
1412         * sysdeps/mach/hurd/i386/init-first.c (init): Initialize __environ
1413         before calling the cthreads initialization code.
1415 2001-08-20  Ulrich Drepper  <drepper@redhat.com>
1417         * argp/argp-help.c: Fix two problems introduced in last change.
1419         * include/dirent.h: Include <dirstream.h> first.
1421 2001-08-19  Ulrich Drepper  <drepper@redhat.com>
1423         * io/fts.c (fts_safe_changedir): Use __fxstat64 instead of __fstat.
1425         * sunrpc/svcauth_des.c (_svcauth_des): Avoid using bcopy.
1426         * sunrpc/xdr_rec.c: Likewise.
1427         * sunrpc/xdr_mem.c: Likewise.
1428         * sunrpc/svc_authux.c (_svcauth_unix): Likewise.
1429         * sunrpc/rpc_cmsg.c: Likewise.
1430         * sunrpc/getrpcport.c (getrpcport): Likewise.
1431         * sunrpc/clnt_simp.c (callrpc): Likewise.
1432         * sunrpc/clnt_gen.c (clnt_create): Likewise.
1433         * string/envz.c: Likewise.
1435         * po/ko.po: Update from translation team.
1437         * argp/argp-help.c: Handle wide oriented stderr stream.
1439 2001-08-18  Ulrich Drepper  <drepper@redhat.com>
1441         * sysdeps/generic/strtol.c: Little optimizations.  Add some
1442         __builtin_expect.
1444         * conform/conformtest.pl: <inttypes.h> test requires <stddef.h>.
1446         * wcsmbs/wchar.h (wcwdith): Change parameter type to wchar_t.
1447         * wcsmbs/wcwidth.c (wcwdith): Likewise.
1448         * wcsmbs/wcwidth.h (internal_wcwdith): Likewise.
1450         * conform/data/unistd.h-data: Remove _SC_MULTIPLE_PROCESS.
1452         * conform/data/ucontext.h-data: Fix typos in ucontext_t element tests.
1454         * time/time.h (struct timespec): Use __time_t for tv_sec element.
1456         * sysdeps/generic/inttypes.h: Define __wchar_t.  Use it instead of
1457         wchar_t for function declarations and defintions.
1459         * misc/sys/select.h: Define __need_time_t before including <time.h>.
1460         Define suseconds_t if it hasn't happened yet.
1462         * iconv/gconv.h: Define __need_wchar_t before including <stddef.h>.
1464         * conform/data/sys/uio.h-data: Allow UIO_MAXIOV to be defined.
1466         * sysdeps/generic/stdint.h: Don't get definition of wchar_t from
1467         <stddef.h>.
1469         * conform/data/stddef.h-data: Remove wint_t.
1471         * conform/conformtest.pl: Change namespace test to take #undef
1472         lines into account.
1474         * conform/data/netinet/in.h-data: Fix typo in allow-header line.
1476         * conform/data/sys/socket.h-data: Add sockatmark.
1478 2001-08-17  Ulrich Drepper  <drepper@redhat.com>
1480         * io/fts.c: Update from recent BSD source.
1482 2001-08-17  Roland McGrath  <roland@frob.com>
1484         * stdio-common/perror.c (perror) [! USE_IN_LIBIO]: Don't use _IO_fwide.
1485         * misc/error.c (error_tail, error, error_at_line) [! USE_IN_LIBIO]:
1486         Likewise.
1488 2001-08-17  Ulrich Drepper  <drepper@redhat.com>
1490         * locale/duplocale.c (__duplocale): Also initialize the special
1491         __ctype_* elements.
1493         * conform/data/netdb.h-data: Adjust gai_strerror return type.
1495 2001-08-17  Andreas Jaeger  <aj@suse.de>
1497         * misc/getpass.c: Include wchar.h for prototypes.
1498         * malloc/obstack.c: Likewise.
1500 2001-08-17  Ulrich Drepper  <drepper@redhat.com>
1502         * sunrpc/svc_simple.c (universal): Use __write instead of write.
1504         * wcsmbs/wcscoll.c: Also define __wcscoll.
1505         * include/wchar.h: Declare __wcscoll.
1507         * libio/fwprintf.c: Use __vfwprintf instead of vfwprintf.
1508         * libio/vwprintf.c: Likewise.
1509         * libio/wprintf.c: Likewise.
1511         * iconv/gconv_cache.c: Use __munmap instead of munmap.
1513 2001-08-16  Ulrich Drepper  <drepper@redhat.com>
1515         * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
1516         instead of mbrtowc.
1517         [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
1518         wcslen, and __wcscoll instead of wcscoll.
1520         * sysdeps/unix/sockatmark.c (sockatmark): Use __ioctl instead of ioctl.
1522         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue): Use
1523         __getuid instead of getuid.
1525         * stdio-common/perror.c (perror): Use __close instead of close.
1526         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
1527         * libio/freopen.c (freopen): Likewise.
1528         * libio/freopen64.c (freopen64): Likewise.
1530         * libio/tst-ungetwc2.c (main): Define str const.
1532         * include/wchar.h: Add prototypes for __fwprintf and __vfwprintf.
1533         * libio/fwprintf.c: Also define __fwprintf.
1534         * stdio-common/vfprintf.c [COMPILE_WPRINTF]: Also define __vfwprintf.
1535         * argp/argp-fmtstream.c: Handle wide oriented stderr stream.
1536         * assert/assert-perr.c: Likewise.
1537         * assert/assert.c: Likewise.
1538         * gmon/gmon.c: Likewise.
1539         * inet/rcmd.c: Likewise.
1540         * malloc/obstack.c: Likewise.
1541         * misc/err.c: Likewise.
1542         * misc/error.c: Likewise.
1543         * misc/getpass.c: Likewise.
1544         * posix/getopt.c: Likewise.
1545         * resolv/res_hconf.c: Likewise.
1546         * stdio-common/perror.c: Likewise.
1547         * stdio-common/psignal.c: Likewise.
1548         * stdlib/fmtmsg.c: Likewise.
1549         * sunrpc/auth_unix.c: Likewise.
1550         * sunrpc/clnt_perr.c: Likewise.
1551         * sunrpc/clnt_tcp.c: Likewise.
1552         * sunrpc/clnt_udp.c: Likewise.
1553         * sunrpc/clnt_unix.c: Likewise.
1554         * sunrpc/svc_simple.c: Likewise.
1555         * sunrpc/svc_tcp.c: Likewise.
1556         * sunrpc/svc_udp.c: Likewise.
1557         * sunrpc/svc_unix.c: Likewise.
1558         * sunrpc/xdr.c: Likewise.
1559         * sunrpc/xdr_array.c: Likewise.
1560         * sunrpc/xdr_rec.c: Likewise.
1561         * sunrpc/xdr_ref.c: Likewise.
1562         * sysdeps/generic/wordexp.c: Likewise.
1564         * po/it.po: Update from translation team.
1566         * misc/err.c: Handle wide oriented stderr stream.
1568 2001-08-14  Tom Rix  <trix@redhat.com>
1570         * iconv/gconv_cache.c (find_module): Add #ifndef STATIC_GCONV.
1571         * iconv/Makefile: Fix gconv_cache.c CFLAGS.
1573 2001-08-13  Tom Rix  <trix@redhat.com>
1575         * sysdeps/unix/sysv/aix/Makefile: Add rule to import kernel symbols.
1576         * sysdeps/unix/sysv/aix/bits/types.h: Fix type of __id_t, __useconds_t
1577         and __intptr_t.
1579 2001-08-15  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1581         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S (__getcontext):
1582         Store the access registers to the ucontext structure.
1583         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S (__getcontext):
1584         Likewise.
1586         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S (__setcontext):
1587         Load the access registers from the ucontext structure.
1588         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S (__setcontext):
1589         Likewise.
1591         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: Adjust the SC_xxx
1592         offsets to the new ucontext layout.
1593         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: Likewise.
1595         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix the layout
1596         of the ucontext structure.
1597         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1599 2001-08-15  Ulrich Drepper  <drepper@redhat.com>
1601         * misc/error.c (error): Handle wide oriented stderr stream correctly.
1602         (error_at_line): Likewise.
1604         * stdio-common/perror.c (perror): Implement according to standard.
1605         The stream orientation must not be changed if the stream was not
1606         oriented before the call.
1607         * stdio-common/Makefile (tests): Add tst-perror.
1608         * stdio-common/tst-perror.c: New file.
1611 See ChangeLog.12 for earlier changes.