* math/libm-test.inc (print_ulps): Print ulp values rounded to
[glibc.git] / ChangeLog
blob843b329f4634dd4a2bacc4f333b8223bde29f4b9
1 2001-10-18  Andreas Schwab  <schwab@suse.de>
3         * math/libm-test.inc (print_ulps): Print ulp values rounded to
4         next whole number.
5         (print_function_ulps): Likewise.
6         (print_complex_function_ulps): Likewise.
7         (print_max_error): Likewise.
8         (print_complex_max_error): Likewise.  Handle ignore_max_ulp.
10 2001-10-16  Andreas Schwab  <schwab@suse.de>
12         * sysdeps/m68k/fpu/libm-test-ulps: Updated for fixed cbrtl
13         implementation.
15         * sysdeps/m68k/setjmp.c: Also define setjmp and _setjmp if
16         BSD_SETJMP or BSD__SETJMP is defined, resp.
17         * sysdeps/m68k/bsd-setjmp.c: Inline setjmp code instead of making
18         a tail call to __sigsetjmp that would require extending the
19         caller's frame.
20         * sysdeps/m68k/bsd-_setjmp.c: Likewise.
21         * sysdeps/m68k/bsd-setjmp.S: Deleted.
22         * sysdeps/m68k/bsd-_setjmp.S: Deleted.
23         Reported by Jes Sorensen <jes@trained-monkey.org>.
25 2001-10-16  Andreas Jaeger  <aj@suse.de>
27         * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Fix
28         parentheses.
29         Reported by David Byron <dbyron@porto.coactive.com>, close PR libc/2589.
31 2001-10-15  Ulrich Drepper  <drepper@redhat.com>
33         * po/ca.po: New file.  Contributed by the translation team.
35 2001-10-15  Ralf Baechle  <ralf@gnu.org>
37         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Make sysmips() prototype
38         a varargs prototype.  Remove dependency from kernel header files.
40         * sysdeps/unix/sysv/linux/mips/bits/termios.h: General cleanup, use
41         __USE_MISC / __USE_XOPEN not __USE_BSD where appropriate.
43 2001-10-14  Ulrich Drepper  <drepper@redhat.com>
45         * locale/programs/ld-collate.c (handle_ellipsis): Use %lX not %lx
46         to generate hexadecimal identifier.
47         Patch by Jungshik Shin <jungshik.shin@yale.edu>.
49 2001-10-09  Stephen L Moshier  <moshier@mediaone.net>
51         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Fix algorithm.
53 2001-10-14  Ulrich Drepper  <drepper@redhat.com>
55         * sysdeps/ieee754/ldbl-128/e_powl.c: New file.
56         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: New file.
57         Contributed by Stephen L Moshier <moshier@mediaone.net>.
59         * sysdeps/ieee754/ldbl-128/e_j0l.c: Constify float variables.
60         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
61         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise
62         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise
63         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise
64         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise
66         * timezone/africa: Update from tzdata2001d.
67         * timezone/asia: Likewise.
68         * timezone/australasia: Likewise.
69         * timezone/backward: Likewise.
70         * timezone/europe: Likewise.
71         * timezone/leapseconds: Likewise.
72         * timezone/northamerica: Likewise.
73         * timezone/southamerica: Likewise.
74         * timezone/zone.tab: Likewise.
76 2001-10-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
78         * sysdeps/s390/s390-32/sys/ucontext.h: Correct __psw_t typedef.
79         * sysdeps/s390/s390-64/sys/ucontext.h: Likewise.
81 2001-10-12  Ulrich Drepper  <drepper@redhat.com>
83         * elf/elf.h (PT_TLS): New definition.
85 2001-10-10  Jeff Bailey  <jbailey@nisa.net>
87         * sysdeps/mach/hurd/Makefile: Add $(CFLAGS) for generation of
88         bits/errno.h
90 2001-10-07  Roland McGrath  <roland@frob.com>
92         * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Never return ENOSYS.
94 2001-10-10  Ulrich Drepper  <drepper@redhat.com>
96         * elf/elf.h: Add more ELFOSABI_* constants.
98 2001-10-04  Ben Collins  <bcollins@debian.org>
100         * sysdeps/generic/inttypes.h: Fix typo (define, not defined) in
101         decleration of __need_wchar_t.
103 2001-10-03  Jakub Jelinek  <jakub@redhat.com>
105         * string/bits/string2.h (__strsep_g): Add prototype.
106         (__strsep): Use it.
107         * string/Versions (__strsep): Remove.
108         * sysdeps/generic/strsep.c (__strsep_g): Add alias to __strsep.
110 2001-10-07  Ulrich Drepper  <drepper@redhat.com>
112         * manua/llio.texi: Clarify file references added by mmap.
113         Patch by Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
115 2001-09-29  Jes Sorensen  <jes@trained-monkey.org>
117         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
118         Add sc_loadrs and sc_rbs_bas to match current kernel.
120 2001-09-27  Jakub Jelinek  <jakub@redhat.com>
122         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
124         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Fix erfc(-inf).
126 2001-09-27  Jakub Jelinek  <jakub@redhat.com>
128         * elf/dl-open.c (dl_open_worker): If l_opencount of freshly loaded
129         object has been bumped because of relocation dependency, avoid
130         duplicates in l_scope.
131         (show_scope): Fix typos.
132         * elf/Makefile: Add rules to build and run reldep6.
133         * elf/reldep6.c: New file.
134         * elf/reldep6mod0.c: New file.
135         * elf/reldep6mod1.c: New file.
136         * elf/reldep6mod2.c: New file.
137         * elf/reldep6mod3.c: New file.
138         * elf/reldep6mod4.c: New file.
140 2001-09-26  Jakub Jelinek  <jakub@redhat.com>
142         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Call
143         sparc64_fixup_plt.
144         (sparc64_fixup_plt): Moved from elf_machine_fixup_plt.  Optimize
145         near jumps and 0xfffff800XXXXXXXX target addresses, no thread safety
146         for non-lazy binding. Fix .plt[32768+] handling.
147         (elf_machine_plt_value): Don't add addend.
148         (elf_machine_rela): Call sparc64_fixup_plt instead of
149         elf_machine_fixup_plt.
150         (elf_machine_runtime_setup, TRAMPOLINE_TEMPLATE): Optimize for
151         dynamic linker at 0xfffff800XXXXXXXX.
153         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
155 2001-09-28  Ulrich Drepper  <drepper@redhat.com>
157         * elf/elf.h: Define SHF_GROUP and SHF_TLS.
159 2001-09-25  Jakub Jelinek  <jakub@redhat.com>
161         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (struct cmsghdr): Don't
162         declare __cmsg_data field if its size would be bigger than 0.
163         (CMSG_DATA): Adjust accordingly.
164         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
165         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Likewise.
166         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
167         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
168         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
169         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
170         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
172 2001-09-25  Ulrich Drepper  <drepper@redhat.com>
174         * iconvdata/TESTS: Add entries for IBM1160 and IBM1161.
175         * iconvdata/testdata/IBM1160: New file.
176         * iconvdata/testdata/IBM1160..UTF8: New file.
177         * iconvdata/testdata/IBM1161: New file.
178         * iconvdata/testdata/IBM1161..UTF8: New file.
179         Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
181 2001-09-24  Ulrich Drepper  <drepper@redhat.com>
183         * sysdeps/unix/bsd/ulimit.c (ulimit): Handle overflow in
184         UL_SETFSIZE computations better.
186         * rt/Makefile: Remove use of filter for librt again.
188         * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Handle overflow in
189         UL_SETFSIZE computations better.
191         * string/Versions: Export __strsep for GLIBC_2.2.5.
192         * string/bits/string2.h: Define all __STRING_INLINE functions if
193         _FORCE_INLINES is defined.
194         Use int instead of char of parameter types.
195         (__strsep): Don't use __strsep_g.  Don't define it.
196         (__strsep_1c, __strsep_2c, __strsep_3c): Optimize.
197         * sysdeps/i386/i486/string.h (__strcpy_a_small): Renamed from
198         __strcpy_small.
199         (__stpcpy_a_small): Renamed from __stpcpy_small.
200         (__strcspn_c1): Don't define if _FORCE_INLINES.
201         (__strspn_c1): Likewise.
203 2001-09-22  Ben Collins  <bcollins@debian.org>
205         * sysdeps/sparc/bits/sigaction.h: Define SA_RESTART and friends when
206         _UNIX98_SOURCE is defined too.  Matches generic/bits/sigaction.h.
207         * sysdeps/ia64/bits/sigaction.h: Likewise.
208         * sysdeps/s390/s390-64/bits/sigaction.h: Likewise.
210 2001-09-24  Andrew Haley  <aph@cambridge.redhat.com>
212         * sysdeps/unix/sysv/linux/sh/Makefile (sysdep_headers): Add sys/io.h.
214 2001-09-24  Jakub Jelinek  <jakub@redhat.com>
216         * elf/dl-open.c (dl_open_worker): Update l_scope_max.
218 2001-09-24  Ulrich Drepper  <drepper@redhat.com>
220         * wcsmbs/wchar.h: Add __attribute_pure__ to mbsinit prototype.
222 2001-09-20  H.J. Lu  <hjl@gnu.org>
224         * include/dlfcn.h (__RTLD_SPROF): New definiton.
225         * elf/dl-open.c (dl_open_worker): Return immediately after loading
226         for __RTLD_SPROF.
227         * elf/sprof.c (main): Default to the filename if soname doesn't exist.
228         (load_shobj): Call dlopen with `RTLD_LAZY | __RTLD_SPROF'.
230 2001-09-20  H.J. Lu  <hjl@gnu.org>
232         * elf/dl-profile.c (_dl_mcount): Use old *narcsp value for newarc,
233         don't add 1.
235 2001-09-22  Ulrich Drepper  <drepper@redhat.com>
237         * nss/getent.c: Accept -s parameter to overwrite rules in
238         nsswitch.conf.  Patch by Nalin Dahyabhai <nalin@redhat.com>.
240         * nss/nss_files/files-network.c (LINE_PARSER): Pad addr string
241         with as many ".0" as necessary to form a complete address
242         inet_network understands.
244         * nss/getent.c: Various cleanups.  Use simpler and fewer function
245         calls.
247 2001-09-20  Martin Schwidefsky  <schwidefsky@de.ibm.com>
249         * sysdeps/s390/s390-32/bits/setjmp.h: Correct pointer comparison in
250         _JMPBUF_UNWINDS.
251         * sysdeps/s390/s390-64/bits/setjmp.h: Likewise.
253 2001-09-22  Ulrich Drepper  <drepper@redhat.com>
255         * iconvdata/Makefile: Add rules to build and distribute IBM1160 and
256         IBM1161.
257         * iconvdata/gconv-modules: Add entries for IBM1160 and IBM1161.
258         * iconvdata/ibm1160.c: New file.
259         * iconvdata/ibm1160.h: New file.
260         * iconvdata/ibm1161.c: New file.
261         * iconvdata/ibm1161.h: New file.
262         Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
264 2001-09-19  Jakub Jelinek  <jakub@redhat.com>
266         * sysdeps/alpha/dl-machine.h (elf_machine_load_address): Compute the
267         difference between base address and first PT_LOAD's virtual address,
268         not the base address.
270 2001-09-11  Tom Rix  <trix@redhat.com>
272         * sysdeps/unix/sysv/aix/init-first.c (init):  Use USE_NONONPTION_FLAG
273         ifdef for __getopt_clean_environment.
274         * sysdeps/unix/sysv/aix/libc-start.c: Add real implementation.
276 2001-09-22  Andreas Jaeger  <aj@suse.de>
278         * elf/reldep4.c (main): Add proper prototype to fix warning.
280         * elf/reldep5.c (main): Remove unused variable.
282         * math/math_private.h: Add prototypes.
284 2001-09-21  Andreas Jaeger  <aj@suse.de>
286         * sysdeps/unix/sysv/linux/x86_64/Dist: New file.
287         * sysdeps/x86_64/Dist: New file.
288         * sysdeps/x86_64/soft-fp/Dist: New file.
290         * sysdeps/gnu/Dist: Remove eval.c.
292 2001-09-20  Ulrich Drepper  <drepper@redhat.com>
294         * malloc/memusage.c (realloc): Don't count already allocated
295         memory in the sums.
296         (me): Always use dlsym() to find the real implementations.
298         * malloc/memusage.sh: Make -n option actually do something.
300 2001-09-20  Andreas Jaeger  <aj@suse.de>
302         * elf/elf.h (R_390_NUM): Correct value.
304         * Versions.def: Add missing versions 2.2.3 for libthread_db and
305         libpthread.
307         * sysdeps/unix/sysv/linux/configure.in: Add minimal kernel version
308         for x86-64, install x86-64 into */lib64.
310         * shlib-versions: Add x86-64.
312         * elf/elf.h: Add x86-64 relocations.
314 2001-09-19  Ulrich Drepper  <drepper@redhat.com>
316         * po/fr.po: Update from translation team.
318 2001-09-19  Andreas Jaeger  <aj@suse.de>
320         * sysdeps/unix/sysv/linux/x86_64/Makefile: New file.
321         * sysdeps/unix/sysv/linux/x86_64/Versions: New file.
322         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: New file.
323         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: New file.
324         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: New file.
325         * sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: New file.
326         * sysdeps/unix/sysv/linux/x86_64/bits/time.h: New file.
327         * sysdeps/unix/sysv/linux/x86_64/bits/types.h: New file.
328         * sysdeps/unix/sysv/linux/x86_64/brk.c: New file.
329         * sysdeps/unix/sysv/linux/x86_64/clone.S: New file.
330         * sysdeps/unix/sysv/linux/x86_64/fstatfs64.c: New file.
331         * sysdeps/unix/sysv/linux/x86_64/ftruncate64.c: New file.
332         * sysdeps/unix/sysv/linux/x86_64/fxstat.c: New file.
333         * sysdeps/unix/sysv/linux/x86_64/fxstat64.c: New file.
334         * sysdeps/unix/sysv/linux/x86_64/getdents.c: New file.
335         * sysdeps/unix/sysv/linux/x86_64/getdents64.c: New file.
336         * sysdeps/unix/sysv/linux/x86_64/getrlimit64.c: New file.
337         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
338         * sysdeps/unix/sysv/linux/x86_64/glob64.c: New file.
339         * sysdeps/unix/sysv/linux/x86_64/lxstat.c: New file.
340         * sysdeps/unix/sysv/linux/x86_64/lxstat64.c: New file.
341         * sysdeps/unix/sysv/linux/x86_64/mmap64.c: New file.
342         * sysdeps/unix/sysv/linux/x86_64/pread64.c: New file.
343         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: New file.
344         * sysdeps/unix/sysv/linux/x86_64/pwrite64.c: New file.
345         * sysdeps/unix/sysv/linux/x86_64/readdir.c: New file.
346         * sysdeps/unix/sysv/linux/x86_64/readdir64.c: New file.
347         * sysdeps/unix/sysv/linux/x86_64/readdir64_r.c: New file.
348         * sysdeps/unix/sysv/linux/x86_64/readdir_r.c: New file.
349         * sysdeps/unix/sysv/linux/x86_64/recv.c: New file.
350         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: New file.
351         * sysdeps/unix/sysv/linux/x86_64/send.c: New file.
352         * sysdeps/unix/sysv/linux/x86_64/setrlimit64.c: New file.
353         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: New file.
354         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: New file.
355         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: New file.
356         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: New file.
357         * sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: New file.
358         * sysdeps/unix/sysv/linux/x86_64/statfs64.c: New file.
359         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: New file.
360         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: New file.
361         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: New file.
362         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: New file.
363         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: New file.
364         * sysdeps/unix/sysv/linux/x86_64/syscall.S: New file.
365         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: New file.
366         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: New file.
367         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: New file.
368         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
369         * sysdeps/unix/sysv/linux/x86_64/truncate64.c: New file.
370         * sysdeps/unix/sysv/linux/x86_64/umount.c: New file.
371         * sysdeps/unix/sysv/linux/x86_64/vfork.S: New file.
372         * sysdeps/unix/sysv/linux/x86_64/xstat.c: New file.
373         * sysdeps/unix/sysv/linux/x86_64/xstat64.c: New file.
374         * sysdeps/unix/x86_64/sysdep.S: New file.
375         * sysdeps/unix/x86_64/sysdep.h: New file.
376         * sysdeps/x86_64/Implies: New file.
377         * sysdeps/x86_64/Makefile: New file.
378         * sysdeps/x86_64/Versions: New file.
379         * sysdeps/x86_64/__longjmp.S: New file.
380         * sysdeps/x86_64/abort-instr.h: New file.
381         * sysdeps/x86_64/atomicity.h: New file.
382         * sysdeps/x86_64/bits/endian.h: New file.
383         * sysdeps/x86_64/bits/setjmp.h: New file.
384         * sysdeps/x86_64/bits/string.h: New file.
385         * sysdeps/x86_64/bp-asm.h: New file.
386         * sysdeps/x86_64/bsd-_setjmp.S: New file.
387         * sysdeps/x86_64/bsd-setjmp.S: New file.
388         * sysdeps/x86_64/dl-machine.h: New file.
389         * sysdeps/x86_64/elf/initfini.c: New file.
390         * sysdeps/x86_64/elf/start.S: New file.
391         * sysdeps/x86_64/ffs.c: New file.
392         * sysdeps/x86_64/ffsll.c: New file.
393         * sysdeps/x86_64/fpu/bits/fenv.h: New file.
394         * sysdeps/x86_64/fpu/bits/mathdef.h: New file.
395         * sysdeps/x86_64/fpu/e_acosl.c: New file.
396         * sysdeps/x86_64/fpu/e_atan2l.c: New file.
397         * sysdeps/x86_64/fpu/e_exp2l.S: New file.
398         * sysdeps/x86_64/fpu/e_expl.c: New file.
399         * sysdeps/x86_64/fpu/e_fmodl.S: New file.
400         * sysdeps/x86_64/fpu/e_log10l.S: New file.
401         * sysdeps/x86_64/fpu/e_log2l.S: New file.
402         * sysdeps/x86_64/fpu/e_logl.S: New file.
403         * sysdeps/x86_64/fpu/e_powl.S: New file.
404         * sysdeps/x86_64/fpu/e_rem_pio2l.c: New file.
405         * sysdeps/x86_64/fpu/e_scalbl.S: New file.
406         * sysdeps/x86_64/fpu/e_sqrtl.c: New file.
407         * sysdeps/x86_64/fpu/fclrexcpt.c: New file.
408         * sysdeps/x86_64/fpu/fedisblxcpt.c: New file.
409         * sysdeps/x86_64/fpu/feenablxcpt.c: New file.
410         * sysdeps/x86_64/fpu/fegetenv.c: New file.
411         * sysdeps/x86_64/fpu/fegetexcept.c: New file.
412         * sysdeps/x86_64/fpu/fegetround.c: New file.
413         * sysdeps/x86_64/fpu/feholdexcpt.c: New file.
414         * sysdeps/x86_64/fpu/fesetenv.c: New file.
415         * sysdeps/x86_64/fpu/fesetround.c: New file.
416         * sysdeps/x86_64/fpu/fgetexcptflg.c: New file.
417         * sysdeps/x86_64/fpu/fraiseexcpt.c: New file.
418         * sysdeps/x86_64/fpu/fsetexcptflg.c: New file.
419         * sysdeps/x86_64/fpu/ftestexcept.c: New file.
420         * sysdeps/x86_64/fpu/libm-test-ulps: New file.
421         * sysdeps/x86_64/fpu/math_ldbl.h: New file.
422         * sysdeps/x86_64/fpu/printf_fphex.c: New file.
423         * sysdeps/x86_64/fpu/s_atanl.c: New file.
424         * sysdeps/x86_64/fpu/s_cosl.S: New file.
425         * sysdeps/x86_64/fpu/s_expm1l.S: New file.
426         * sysdeps/x86_64/fpu/s_fpclassifyl.c: New file.
427         * sysdeps/x86_64/fpu/s_isinfl.c: New file.
428         * sysdeps/x86_64/fpu/s_isnanl.c: New file.
429         * sysdeps/x86_64/fpu/s_log1pl.S: New file.
430         * sysdeps/x86_64/fpu/s_logbl.c: New file.
431         * sysdeps/x86_64/fpu/s_nextafterl.c: New file.
432         * sysdeps/x86_64/fpu/s_nexttoward.c: New file.
433         * sysdeps/x86_64/fpu/s_nexttowardf.c: New file.
434         * sysdeps/x86_64/fpu/s_rintl.c: New file.
435         * sysdeps/x86_64/fpu/s_significandl.c: New file.
436         * sysdeps/x86_64/fpu/s_sincosl.S: New file.
437         * sysdeps/x86_64/fpu/s_sinl.S: New file.
438         * sysdeps/x86_64/fpu/s_tanl.S: New file.
439         * sysdeps/x86_64/gmp-mparam.h: New file.
440         * sysdeps/x86_64/hp-timing.c: New file.
441         * sysdeps/x86_64/hp-timing.h: New file.
442         * sysdeps/x86_64/htonl.S: New file.
443         * sysdeps/x86_64/memusage.h: New file.
444         * sysdeps/x86_64/setjmp.S: New file.
445         * sysdeps/x86_64/soft-fp/sfp-machine.h: New file.
446         * sysdeps/x86_64/stackinfo.h: New file.
447         * sysdeps/x86_64/sysdep.h: New file.
448         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: New file.
450         * sysdeps/ieee754/ldbl-128/s_erfl.c: New file, contributed Stephen
451         L Moshier.
453 2001-09-18  Ulrich Drepper  <drepper@redhat.com>
455         * malloc/malloc.c (ptmalloc_init): Handle _environ==NULL.
456         Reported by B. D. Elliott <bde@nwlink.com> [PR libc/2541].
458 2001-09-18  Andreas Schwab  <schwab@suse.de>
460         * elf/dl-load.c (_dl_map_object_from_fd): Update handling of scope
461         list, now that l_scope is a pointer.
463         * elf/dl-open.c (dl_open_worker): Fix thinko when enlarging the
464         scope list.
466 2001-09-18  kaz Kojima  <kkojima@rr.iij4u.or.jp>
468         * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix reverse condition.
469         (elf_machine_rela_relative): Add a missing declaration.
471 2001-09-18  Jakub Jelinek  <jakub@redhat.com>
473         * sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: New.
474         * sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed: New.
475         * sysdeps/unix/sysv/linux/configure.in: Add ia64 and s390
476         ldd-rewrite scripts.
478 2001-09-18  Ulrich Drepper  <drepper@redhat.com>
480         * elf/ldd.bash.in: Update copyright message.
482 2001-09-17  H.J. Lu  <hjl@gnu.org>
484         * hurd/hurdmalloc.c (bcopy): Removed.
485         (realloc): Replace bcopy with memcpy.
486         * hurd/path-lookup.c (file_name_path_scan): Likewise.
487         * resolv/gethnamaddr.c (map_v4v6_address): Likewise.
488         * sunrpc/rpcinfo.c (pmapdump): Likewise.
490         * resolv/gethnamaddr.c (getanswer): Replace bcopy with memmove.
491         (gethostbyaddr): Likewise.
492         * sunrpc/rpcinfo.c (get_inet_address): Likewise.
494 2001-09-18  Ulrich Drepper  <drepper@redhat.com>
496         * sysdeps/gnu/eval.c: Removed.
498 2001-09-18  Andreas Jaeger  <aj@suse.de>
500         * sysdeps/i386/fpu/s_logbl.S: Move to ...
501         * sysdeps/i386/fpu/s_logbl.c: ...here, use inline assembler.
503         * sysdeps/i386/fpu/s_rintl.S: Move to ...
504         * sysdeps/i386/fpu/s_rintl.c: ...here, use inline assembler.
506         * sysdeps/i386/fpu/s_significandl.S: Move to ...
507         * sysdeps/i386/fpu/s_significandl.c: ...here, use inline assembler.
509 2001-09-16  Ulrich Drepper  <drepper@redhat.com>
511         * string/strcoll.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get
512         nrules value.
514 2001-09-14  H.J. Lu  <hjl@gnu.org>
516         * sysdeps/mips/fpu/libm-test-ulps: Updated.
518 2001-09-14  Ulrich Drepper  <drepper@redhat.com>
520         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix a typo.
521         Patch by Florian La Roche <laroche@redhat.com>.
523         * string/bits/string2.h (__strtok_r_1c): Optimize a bit.
525         * sysdeps/unix/sysv/linux/net/ethernet.h: Correct references to
526         ETHER_CRC_LEN.
528 2001-09-14  Andreas Schwab  <schwab@suse.de>
530         * posix/execl.c: Fix last argument of memcpy.  Reported by Brian
531         Sumner <bls@sgi.com>.
532         * posix/execlp.c: Likewise.
534 2001-09-13  Jakub Jelinek  <jakub@redhat.com>
536         * elf/dl-deps.c (_dl_map_object_deps): Fix filter handling if filter
537         is already found earlier in the search scope.
539 2001-09-12  Jakub Jelinek  <jakub@redhat.com>
541         * rt/Makefile (LDFLAGS-rt.so): Use shared thread library as librt's
542         filter.
544 2001-09-13  Ulrich Drepper  <drepper@redhat.com>
546         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust expected errors for j0.
548 2001-09-12  Ulrich Drepper  <drepper@redhat.com>
550         * config.h.in: Enforce optimization to be used.
551         * Makeconfig (preprocess-versions): Define ASSEMBLER.
552         * stdlib/Makefile (isomac-CFLAGS): Define to -O.
553         * posix/Makefile (annexc-CFLAGS): Define to -O.
554         * sysdeps/unix/make-syscalls.sh: Define __OPTIMIZE__ in use of asm_CPP.
556 2001-09-11  Ulrich Drepper  <drepper@redhat.com>
558         * nscd/nscd_gethst_r.c: Don't expect IPv6 addresses for IPv4 lookup.
559         Patch by Stephan Kulow.
561 2001-09-08  Ben Collins  <bcollins@debian.org>
563         * sysdeps/arm/dl-machine.h (elf_machine_rel): Fix thinko in
564         usage of RESOLVE() (r_type, not reloc->r_type).
566 2001-09-08  Ulrich Drepper  <drepper@redhat.com>
568         * elf/dl-object.c: Avoid allocating extra memory block for name.
569         * elf/dl-close.c (_dl_close): Don't free l_libname if it is not
570         allocated separately.
571         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
573 2001-09-08  H.J. Lu  <hjl@gnu.org>
575         * po/zh_TW.po: Fix a typo.
577 2001-09-07  Tom Rix  <trix@redhat.com>
579         * sysdeps/unix/sysv/aix/sysv_termio.h: New file.
581 2001-08-26  Tom Rix  <trix@redhat.com>
583         * sysdeps/unix/sysv/aix/Makefile (aix-syscalls.o): More linker
584         command line options.
585         * sysdeps/unix/sysv/aix/start.s: New file, rework of start.c
586         * sysdeps/unix/sysv/aix/start.c: Removed.
587         * sysdeps/unix/sysv/aix/start-libc.c: New file.
588         * sysdeps/unix/sysv/aix/init-first.c: New file.
589         * sysdeps/unix/sysv/aix/fcntl.c: Alias __libc_fcntl to __fcntl.
591 2001-09-08  Ben Collins  <bcollins@debian.org>
593         * sysdeps/arm/dl-machine.h: Fix usage of new _dl_signal_error() format.
594         * sysdeps/generic/dl-machine.h: Likewise.
595         * sysdeps/hppa/dl-fptr.c: Likewise.
596         * sysdeps/ia64/dl-fptr.c: Likewise.
597         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
598         * sysdeps/mips/dl-machine.h: Likewise.
599         * sysdeps/mips/mips64/dl-machine.h: Likewise.
600         * sysdeps/powerpc/dl-machine.c: Likewise.
602 2001-09-07  Ben Collins  <bcollins@debian.org>
604         * sysdeps/sparc/sparc32/dl-machine.h: Fix typo.
606         * sysdeps/hppa/dl-lookupcfg.h: Forward declare struct link_map.
608 2001-09-08  Ulrich Drepper  <drepper@redhat.com>
610         * elf/dl-lookup.c (add_dependency): Bump l_opencount of all
611         dependencies if necessary.
613         * elf/dl-close.c (_dl_close): If object has no r_list (i.e., wasn't
614         loaded directly) determine length if l_initfini list by iterating
615         over its elements.  Minor optimizations.
616         * elf/dl-deps.c (_dl_map_object_deps): Always add own map to l_initfini
617         for dependency objects.
618         If object was already loaded check whether any of the dependencies
619         is already on the relocation dependency list.  If yes, remove the
620         latter.  Minor optimizations.
621         * elf/dl-lookup.c (add_dependency): Add check for self reference of
622         maps here.  Search l_initfini list only if the object was loaded
623         directly and not only as a dependency.
624         (_dl_lookup_symbol): Add relocation dependency also if object
625         is not in global scope.  Remove test for self-reference here.
626         (_dl_lookup_versioned_symbol): Likewise.
627         * elf/dl-object (_dl_new_object): Cleanup.  Initialize dont_free
628         element of first name record.
629         * elf/loadtest.c: Add some more test to recognize early if an object
630         wasn't unloaded.
631         * elf/Makefile: Add rules to build and run reldep5.
632         * elf/reldep5.c: New file.
633         * elf/reldepmod5.c: New file.
634         * elf/reldepmod6.c: New file.
636         * elf/reldep2.c: Fix typo.
638 2001-09-07  Ulrich Drepper  <drepper@redhat.com>
640         * include/link.h (struct link_map): Add l_scope_mem and l_scope_max
641         elements.  Change l_scope to be a pointer only.
642         * elf/dl-object.c (_dl_new_object): Initialize l_scope and l_scope_max.
643         * elf/dl-open.c (dl_open_worker): If dependency wasn't just opened
644         here add searchlist of newly open file to the dependency's scope.
645         * elf/dl-close.c (_dl_close): If dependency is used otherwise remove
646         only searchlist from its scope.  Free own scope array if necessary.
647         * elf/Makefile (tests): Add dblload and dblunload now.
649 2001-09-06  Andreas Jaeger  <aj@suse.de>
651         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: New file, contributed
652         Stephen L Moshier.
654 2001-09-05  Ulrich Drepper  <drepper@redhat.com>
656         * elf/Makefile: Add rules to build new tests.  Don't run them yet since
657         they both fail.
658         * elf/dblload.c: New file.
659         * elf/dblloadmod1.c: New file.
660         * elf/dblloadmod2.c: New file.
661         * elf/dblloadmod3.c: New file.
662         * elf/dblunload.c: New file.
664 2001-09-04  Richard Henderson  <rth@redhat.com>
666         * elf/elf.h (R_ALPHA_OP_*, R_ALPHA_IMMED_*): Remove.
667         (R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16.
669 2001-09-04  Ulrich Drepper  <drepper@redhat.com>
671         Correct very misleading message for error in failed runtime relocation.
672         * elf/dl-error.c (_dl_signal_error): Take extra parameter to describe
673         place of the error.
674         (_dl_signal_cerror): Likewise.
675         * sysdeps/generic/ldsodefs.h: Adjust prototypes.
676         * elf/dl-close.c: Likewise.
677         * elf/dl-deps.c: Likewise.
678         * elf/dl-load.c: Likewise.
679         * elf/dl-lookup.c: Likewise.
680         * elf/dl-open.c: Likewise.
681         * elf/dl-reloc.c: Likewise.
682         * elf/dl-sym.c: Likewise.
683         * elf/dl-version.c: Likewise.
684         * sysdeps/generic/dl-sysdep.c: Likewise.
686 2001-09-04  Jakub Jelinek  <jakub@redhat.com>
688         * iconv/strtab.c (strtabinit): Initialize null Strent.
689         (newstring): Move len == 0 handling...
690         (strtabadd): ...here.
691         If len == 1, return null Strent.
692         When inserting a suffix of an existing string, check if
693         it is not equal to some suffix already recorded.
694         Copy left and right members over if adding longer string.
696 2001-09-04  Jakub Jelinek  <jakub@redhat.com>
698         * sunrpc/rpc_cout.c (upcase): Account for trailing '\0'.
700         * sysdeps/unix/sysv/linux/alpha/gethostname.c: Include <errno.h>.
701         (__syscall_gethostname): Add prototype.
703 2001-09-04  Ulrich Drepper  <drepper@redhat.com>
705         * elf/dl-object.c (_dl_new_object): Remove unnecessary if.
707 2001-09-02  Ulrich Drepper  <drepper@redhat.com>
709         * elf/rtld.c (dl_main): Increment l_opencount for main binary.
711 2001-08-27  Roland McGrath  <roland@frob.com>
713         * sysdeps/unix/sysv/gethostname.c (__gethostname): When LEN is too
714         short, copy that much into NAME anyway before returning error.
716 2001-09-01  Richard Henderson  <rth@redhat.com>
718         * sysdeps/alpha/elf/Dist: Remove file.
719         * sysdeps/alpha/elf/Makefile: Remove file.
720         * sysdeps/alpha/elf/crtbegin.S: Remove file.
721         * sysdeps/alpha/elf/crtend.S: Remove file.
722         * sysdeps/alpha/elf/initfini.c: New file.
724 2001-09-01  Mark Kettenis  <kettenis@gnu.org>
726         * iconv/tst-iconv1.c: Include <stddef.h> for wchar_t.
727         * iconv/tst-iconv3.c: Likewise.
729 2001-09-01  Jakub Jelinek  <jakub@redhat.com>
731         * sysdeps/generic/inttypes.h (__gwchar_t): Define to wchar_t for C++.
733 2001-09-01  Ulrich Drepper  <drepper@redhat.com>
735         * iconv/gconv_cache.c: Rename variable cache to __gconv_cache and
736         export it.
737         * iconv/Versions (libc) [GLIBC_2.2.5]: Export __gconv_cache.
738         * iconv/iconv_prog.c (insert_cache): New function.
739         (print_known_names): If cache is used call insert_cache to use the
740         information from the cache [PR libc/2509].
742 2001-08-31  Ulrich Drepper  <drepper@redhat.com>
744         * time/strptime.c (strptime_internal): Recognize 'l' format and
745         handle it like 'I' for symmetry with strftime.
747 2001-08-31  Richard Henderson  <rth@redhat.com>
749         * elf/dl-support.c (_dl_cpuclock_offset): Protect with NONAVAIL.
750         (HP_TIMING_AVAIL): Set to HP_SMALL_TIMING_AVAIL if present.
751         * elf/rtld.c (HP_TIMING_AVAIL): Likewise.
752         (print_statistics): Make scalar unsigned long long.
753         * sysdeps/alpha/hp-timing.h: New file.
755 2001-08-31  Jakub Jelinek  <jakub@redhat.com>
757         * stdio-common/perror.c (perror): Save errno early, pass it
758         down to perror_internal.
759         (perror_internal): Add errnum argument.
761 2001-08-31  Jakub Jelinek  <jakub@redhat.com>
763         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Remove unused code.
764         Don't add old memory content for R_ALPHA_REFQUAD.
766 2001-08-30  Ulrich Drepper  <drepper@redhat.com>
768         * crypt/md5-crypt.c (__md5_crypt_r): Compute used and required
769         memory correctly.
771         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Use __open
772         instead of open, __close instead of close, __getpagesize instead
773         of getpagesize.
775         * string/argz-stringify.c (__argz_stringify): Use __strnlen
776         instead of strnlen.
777         * include/string.h (strndupa): Redefine here to use __strnlen
778         instead of strnlen.
779         * string/strndup.c (__strndup): Use __strnlen not strnlen.
781         * misc/syslog.c (vsyslog): Fix typo in last change (connect ->
782         connected).
784 2001-08-30  Jakub Jelinek  <jakub@redhat.com>
786         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
787         R_ALPHA_RELATIVE if RTLD_BOOTSTRAP and HAVE_Z_COMBRELOC.  Only check
788         for rtld map if neither RTLD_BOOTSTRAP nor HAVE_Z_COMBRELOC is defined.
789         * sysdeps/i386/dl-machine.h (elf_machine_rel): Similarly.
790         * sysdeps/ia64/dl-machine.h (elf_machine_rel): Similarly.
791         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rel): Similarly.
792         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rel): Similarly.
794 2001-08-30  Ulrich Drepper  <drepper@redhat.com>
796         * sysdeps/alpha/fpu/libm-test-ulps: Adjust j0 ULPs.
798 2001-08-30  Andreas Jaeger  <aj@suse.de>
800         * sysdeps/ieee754/ldbl-128/e_jnl.c: New file,
801         contributed Stephen L Moshier.
803 2001-08-30  Jakub Jelinek  <jakub@redhat.com>
805         * sunrpc/etc.rpc (sgi_fam): Add.
807 2001-08-30  Ulrich Drepper  <drepper@redhat.com>
809         * sysdeps/unix/sysv/linux/alpha/gethostname.c: New file.
811 2001-08-29  Ulrich Drepper  <drepper@redhat.com>
813         * nis/nis_findserv.c (__nis_findfastest): Don't fail if reply received
814         first is from a previous call.
815         Patch by Alexander Belopolsky <alexb@rentec.com> for [PR libc/3670].
817 2001-08-29  Andreas Schwab  <schwab@suse.de>
819         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
821 2001-08-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
823         * config.make.in (INSTALL_SCRIPT): Define.
824         * Makeconfig (INSTALL_SCRIPT): Define.
825         * Makerules (do-install-script): New macro to install scripts using
826         INSTALL_SCRIPT.
827         (install-bin-script): New rule to install scripts with
828         do-install-script.
829         (install-bin-script-nosubdir): New rule.
830         (install-no-libc.a-nosubdir): Add install-bin-script-nosubdir.
831         (distinfo-vars): Add $(install-bin-script).
832         * Rules (others): Likewise.
833         * Makefile (glibcbug): Install with install-bin-script.
834         * debug/Makefile (xtrace): Likewise.
835         (catchsegv): Likewise.
836         * elf/Makefile (ldd): Likewise.
837         * malloc/Makefile (mtrace): Likewise.
838         * timezone/Makefile (tzselect): Likewise.
840 2001-08-29  H.J. Lu  <hjl@gnu.org>
842         * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Pass
843         ELF_RTYPE_CLASS_PLT, instead of R_MIPS_REL32, to
844         _dl_lookup_versioned_symbol () and _dl_lookup_symbol ().
846 2001-08-29  Andreas Schwab  <schwab@suse.de>
848         * sysdeps/m68k/fpu/libm-test-ulps: Updated.
850 2001-08-28  H.J. Lu  <hjl@gnu.org>
852         * Makeconfig (combreloc-LDFLAGS): New variable.
853         Add it to LDFLAGS.so, LDFLAGS-rtld, and +link.
854         * config.make.in (have-z-combreloc): New variable.
855         * configure.in: Substitute libc_cv_z_combreloc.
857 2001-08-29  Ulrich Drepper  <drepper@redhat.com>
859         * po/sv.po: Update from translation team.
860         * po/fr.po: Likewise.
861         * po/da.po: Likewise.
863 2001-08-28  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
865         * Makerules: Fix a typo: MD% -> MD5.
867 2001-08-28  Ulrich Drepper  <drepper@redhat.com>
869         * sunrpc/rpc_hout.c (pargdef): Function must take pointer to object.
870         Patch by Patrick Duval <Patrick.Duval@devinci.fr>.
872 2001-08-28  Andreas Jaeger  <aj@suse.de>
874         * manual/libc-texinfo.sh: Add entry about free manuals.
876         * manual/contrib.texi (Contributors): Fix cross reference.
878         * manual/libc.texinfo (Copying): Include freemanuals.
880         * manual/Makefile (appendices): Add freemanuals.
882         * manual/freemanuals.texi: New file.
883         Patch by Brian Youmans <3diff@gnu.org>.
885         * manual/libm-err-tab.pl: Pretty print more platforms, print a
886         smaller table.
888         * manual/math.texi (Errors in Math Functions): Fix grammar, start
889         table on separate page.
890         Patch by Brian Youmans <3diff@gnu.org>.
892 2001-08-27  Ulrich Drepper  <drepper@redhat.com>
894         * misc/syslog.c (vsyslog): Try a bit harder to use syslogd.  If
895         the connection went down after we first used it try to connect
896         again and resend the message before printing to the console.
897         Reported by Coserea Gh. Tudor <tudore@tudore.gecadsoftware.com>.
899 2001-08-27  Jakub Jelinek  <jakub@redhat.com>
901         * string/tst-strlen.c (main): Test strnlen (, -1) too.
902         * sysdeps/generic/strnlen.c (__strnlen): Fix for maxlens with top
903         bit set.
905 2001-08-27  Ulrich Drepper  <drepper@redhat.com>
907         * iconv/strtab.c (searchstring): Use correct length for comparison.
908         (strtabadd): Account total size correct if new string has old string as
909         substring.
911 2001-08-27  Jakub Jelinek  <jakub@redhat.com>
913         * elf/rtld.c (dl_main): Update call to _dl_lookup_symbol.
915 2001-08-27  Andreas Jaeger  <aj@suse.de>
917         * sysdeps/i386/fpu/libm-test-ulps (float): Add ulps for new tests.
919         * math/libm-test.inc (j0_test): Add extra tests.
920         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Use |x|,
921         not x, in Hankel approximation.
922         Patches by Stephen L Moshier.
924 2001-08-26  Ulrich Drepper  <drepper@redhat.com>
926         * sysdeps/ia64/dl-lookupcfg.h: Add forward declaration for struct
927         link_map.
929         * configure.in: Fix test for .rela.dyn section.
931         * elf/dl-runtime.c: Update calls to _dl_lookup_*.
933 2001-08-26  Jakub Jelinek  <jakub@redhat.com>
935         * elf/dl-reloc.c (RESOLVE_MAP, RESOLVE): Use elf_machine_type_class
936         instead of elf_machine_lookup_noexec_p and elf_machine_lookup_noplt_p.
937         Pass type_class to _dl_lookup_*.
938         * elf/dl-lookup.c (_dl_lookup_symbol): Take type_class parameter now.
939         Pass around just type_class instead of noexec, noplt pair.
940         (_dl_lookup_versioned_symbol): Likewise.
941         (_dl_lookup_symbol_skip): Pass around just type_class instead of
942         noexec, noplt pair.
943         (_dl_lookup_versioned_symbol_skip): Likewise.
944         (_dl_do_lookup, _dl_do_lookup_versioned): Likewise.
945         * elf/do-lookup.h (do_lookup): Likewise.
946         * include/link.h (struct link_map): Replace noexec and noplt fields
947         in l_lookup_cache with type_class field.
948         * sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_PLT,
949         ELF_RTYPE_CLASS_COPY): Define.
950         Adjust prototypes for _dl_lookup_symbol and
951         _dl_lookup_versioned_symbol.
952         * sysdeps/alpha/dl-machine.h (elf_machine_lookup_noplt_p,
953         elf_machine_lookup_noexec_p): Remove.
954         (elf_machine_type_class): Define.
955         * sysdeps/arm/dl-machine.h: Likewise.
956         * sysdeps/hppa/dl-machine.h: Likewise.
957         * sysdeps/cris/dl-machine.h: Likewise.
958         * sysdeps/i386/dl-machine.h: Likewise.
959         * sysdeps/ia64/dl-machine.h: Likewise.
960         * sysdeps/m68k/dl-machine.h: Likewise.
961         * sysdeps/mips/mips64/dl-machine.h: Likewise.
962         * sysdeps/mips/dl-machine.h: Likewise.
963         * sysdeps/powerpc/dl-machine.h: Likewise.
964         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
965         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
966         * sysdeps/sh/dl-machine.h: Likewise.
967         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
968         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
970 2001-08-26  Ulrich Drepper  <drepper@redhat.com>
972         * manual/message.texi (Advanced gettext functions): Change
973         description of plural forms for Slovak.
974         Reported by Marcel Telka <marcel@telka.sk>.
976         * manuaL/time.texi (Low-Level Time String Parsing): Fix description of
977         %z.  Reported by C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>.
979 2001-08-26  Jakub Jelinek  <jakub@redhat.com>
981         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_lazy_rel): Fix a
982         typo.  Patch by Florian La Roche <laroche@redhat.com>.
984 2001-08-26  Ulrich Drepper  <drepper@redhat.com>
986         * include/link.h (struct link_map): Add l_lookup_cache element.
987         * elf/dl-reloc.c (RESOLVE): Add symbol caching here.
988         (RESOLVE_MAP): Likewise.
989         (_dl_relocate_object): Remove cache initialization.
990         * elf/dl-lookup.c: Rip out cache handling code.
991         * sysdeps/generic/ldsodefs.h: Remove lookup_cache struct and variable
992         declarations.
994         * elf/dl-lookup.c (_dl_lookup_symbol): Reorder some conditions and
995         remove some __builtin_expect.
996         (_dl_lookup_versioned_symbol): Likewise.
998         * config.h.in: Add HAVE_Z_COMBRELOC.
999         * configure.in: Add test for -z combreloc.
1001         * sysdeps/i386/dl-machine.h (elf_machine_rel): Minor cleanups and
1002         optimizations.  Use HAVE_Z_COMBRELOC to avoid generaton of
1003         R_386_RELATIVE handling for ld.so startup.  Reduce RTLD_BOOTSTRAP
1004         case to almost no code.
1006 2001-08-25  Ulrich Drepper  <drepper@redhat.com>
1008         * po/tr.po: Update from translation team.
1010 2001-08-24  Andreas Jaeger  <aj@suse.de>
1012         * iconv/Makefile (extra-objs): Add iconvconfig-modules so that
1013         make clean works.
1015 2001-08-24  Ulrich Drepper  <drepper@redhat.com>
1017         * elf/rtld.c (print_statistics): Printf % after percent values.
1018         * elf/dl-misc.c (_dl_debug_vdprintf): Implement %%.
1020         * elf/dl-lookup.c (_dl_lookup_symbol): If we use the cache we
1021         don't have to compute the hash value and initialize current_value.
1022         Move reference_name variable to where it is needed.
1023         (_dl_lookup_versioned_symbol): Likewise.
1025 2001-08-24  Roland McGrath  <roland@frob.com>
1027         * string/tester.c (test_strerror): Don't use _sys_errlist/_sys_nerr.
1028         Just test that strerror returns non-null for a few errno codes.
1030 2001-08-23  Roland McGrath  <roland@frob.com>
1032         * hurd/Versions (libc: GLIBC_2.2.5): New set; add _hurd_raise_signal,
1033         _hurdsig_interrupt_timeout, _hurdsig_fault_preemptor.
1035         * sysdeps/posix/shm_unlink.c (shm_unlink): __unlink -> unlink.
1037         * mach/Versions (libc: GLIBC_2.2.5): New set; add __mach_msg_destroy,
1038         __mach_reply_port.
1040 2001-08-24  Ulrich Drepper  <drepper@redhat.com>
1042         * nss/test-netdb.c (test_hosts): Don't segfault if gethostname
1043         returns NULL.
1045         * elf/do-rel.h (elf_dynamic_do_rel): Fix problem with ld.so
1046         startup.  Explicitly remove lazy part for RTLD_BOOTSTRAP since gcc
1047         doesn't do it.
1048         * elf/rtld.c: Include <sys/param.h>.
1049         * elf/dl-reloc.c: Likewise.
1051 2001-08-24  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
1053         * sysdeps/unix/sysv/linux/mips/configure.in: Define AC_SUBST to
1054         empty to prevent junk from being generated.
1055         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1057 2001-08-24  Jakub Jelinek  <jakub@redhat.com>
1059         * elf/do-rel.h (elf_dynamic_do_rel): If l_addr is 0, skip relative
1060         records.  Rename endrel to relative, initialize it to r, and use it
1061         in elf_machine_rel_relative calls.  Point r after relative relocs.
1063 2001-08-24  Ulrich Drepper  <drepper@redhat.com>
1065         * sysdeps/i386/dl-machine.h (elf_machine_rel): Correct prediction
1066         of R_386_NONE.
1068 2001-08-24  Jakub Jelinek  <jakub@redhat.com>
1070         * elf/do-rel.h (elf_machine_rel_relative): Define for rela if
1071         necessary.  Undefine newly defined macros at the end.
1072         * sysdeps/hppa/dl-machine.h (elf_machine_rela_relative):
1073         Rename from elf_machine_rel_relative.
1074         * sysdeps/cris/dl-machine.h (elf_machine_rela_relative): Likewise.
1075         * sysdeps/m68k/dl-machine.h (elf_machine_rela_relative): Likewise.
1076         * sysdeps/powerpc/dl-machine.h (elf_machine_rela_relative): Likewise.
1077         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela_relative):
1078         Likewise.
1079         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela_relative):
1080         Likewise.
1081         * sysdeps/ia64/dl-machine.h (elf_machine_rela_relative): Likewise.
1082         Fix argument types.
1083         * sysdeps/alpha/dl-machine.h (elf_machine_rela_relative): Likewise.
1084         Fix argument types.
1085         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela_relative):
1086         Likewise.  Fix argument types.
1087         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela_relative):
1088         Likewise.  Fix argument types.
1089         * sysdeps/sh/dl-machine.h (elf_machine_rela_relative): Likewise.
1090         Fix argument types.
1091         * sysdeps/mips/dl-machine.h (elf_machine_rel_relative): Use
1092         ElfW(Rel) in argument.
1093         * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel_relative): New
1094         function.
1096 2001-08-24  Alexandre Oliva  <aoliva@redhat.com>
1098         * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix typo.
1100 2001-08-24  Andreas Jaeger  <aj@suse.de>
1102         * sysdeps/ieee754/ldbl-128/e_j1l.c: New file, contributed by
1103         Stephen L Moshier <moshier@mediaone.net>.
1105 2001-08-24  Ulrich Drepper  <drepper@redhat.com>
1107         * elf/do-rel.h (elf_dynamic_do_rel): RELATIVE relocations comes
1108         first if RELCOUNT is set.
1110         * elf/do-rel.h (elf_dynamic_do_rel): If not relocating lazily, don't
1111         call elf_machine_rel for the last DT_RELCOUNT relocations but instead
1112         elf_machine_rel_relative.
1113         * sysdeps/alpha/dl-machine.h: Define elf_machine_rel_relative.
1114         Minor optimizations.
1115         * sysdeps/arm/dl-machine.h: Likewise.
1116         * sysdeps/cris/dl-machine.h: Likewise.
1117         * sysdeps/hppa/dl-machine.h: Likewise.
1118         * sysdeps/i386/dl-machine.h: Likewise.
1119         * sysdeps/ia64/dl-machine.h: Likewise.
1120         * sysdeps/m68k/dl-machine.h: Likewise.
1121         * sysdeps/mips/dl-machine.h: Likewise.
1122         * sysdeps/powerpc/dl-machine.h: Likewise.
1123         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1124         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1125         * sysdeps/sh/dl-machine.h: Likewise.
1126         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1127         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1129 2001-08-23  Roland McGrath  <roland@frob.com>
1131         * rt/tst-aio4.c [! SIGRTMIN] (SIGRTMIN, SIGRTMAX): Define as -1.
1133         * sysdeps/mach/hurd/bits/libc-lock.h: New file, initially copied from
1134         sysdeps/mach version.  Implement counting ("recursive") mutexes
1135         on top of cthreads mutexes.
1136         * sysdeps/mach/hurd/bits/stdio-lock.h: File removed; generic now works.
1138         * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Define to
1139         _LIBC_LOCK_RECURSIVE_INITIALIZER if defined, else do an #error.
1140         (__libc_cleanup_region_start, __libc_cleanup_region_end,
1141         __libc_clean_end): Define these to call the cleanup function after
1142         normal exit when they're supposed to.
1144         * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start):
1145         Take new first arg DOIT, a boolean saying whether to really install
1146         any cleanup handler.
1147         (__libc_cleanup_region_end): Do nothing if start's DOIT arg was zero.
1148         (__libc_cleanup_end): Likewise.
1149         * sysdeps/generic/bits/libc-lock.h: Same changes.
1150         * stdio-common/vfscanf.c (LOCK_STREAM): Pass new arg.
1151         * stdio-common/vfprintf.c (buffered_vfprintf, vfprintf): Likewise.
1152         * sysdeps/mach/hurd/bits/stdio-lock.h (_IO_cleanup_region_start):
1153         Likewise.
1154         * misc/syslog.c (vsyslog, openlog, closelog): Likewise.
1155         * sysdeps/generic/bits/stdio-lock.h
1156         (_IO_cleanup_region_start, _IO_cleanup_region_start_noarg): Likewise.
1158 2001-08-23  Jakub Jelinek  <jakub@redhat.com>
1160         * elf/ldconfig.c (search_dir): Remove stale symlinks.
1162 2001-08-23  Jakub Jelinek  <jakub@redhat.com>
1164         * elf/dl-lookup.c (lookup_cache, lookup_cache_versioned): New.
1165         (_dl_lookup_symbol): Lookup relocations in cache and store successfull
1166         lookups in cache.
1167         (_dl_lookup_versioned_symbol): Likewise.
1168         * elf/dl-reloc.c (_dl_relocate_object): Initialize cache for
1169         relocation lookup.
1170         * elf/rtld.c (print_statistics): Output _dl_num_cache_relocations.
1171         * sysdeps/generic/ldsodefs.h (struct lookup_cache): New definition.
1172         (lookup_cache, lookup_cache_versioned): Add declarations.
1174 2001-08-23  Ulrich Drepper  <drepper@redhat.com>
1176         * stdlib/tst-random.c (main): Swap parameters in fail call.
1177         Patch by Pete Bevin <pete@petebevin.com>.
1179 2001-08-23  Jakub Jelinek  <jakub@redhat.com>
1181         * sysdeps/generic/inttypes.h: Use __gwchar_t instead of __wchar_t.
1183 2001-08-23  Ulrich Drepper  <drepper@redhat.com>
1185         * malloc/obstack.c: Indent preprocessor directives.
1186         Patch by Jim Meyering <meyering@ascend.com>.
1188         * po/ja.po: Update from translation team.
1190 2001-08-23  Roland McGrath  <roland@frob.com>
1192         * libio/tst-ungetwc1.c (main): Add a const to quiet a warning.
1194         * nss/test-netdb.c (test_hosts): Don't use MAXHOSTNAMELEN.
1195         Instead, use dynamic buffer to test gethostname's ENAMETOOLONG error.
1197 2001-08-22  Roland McGrath  <roland@frob.com>
1199         * sysdeps/generic/ldsodefs.h (_dl_load_lock): Declare it here with
1200         __libc_lock_define_recursive.
1201         * elf/dl-open.c: Don't declare it here any more.
1202         * elf/dl-close.c: Likewise.
1203         * elf/dl-lookup.c: Likewise.
1204         * elf/dl-iteratephdr.c: Likewise.
1205         * elf/dl-lookup.c (add_dependency): Use __libc_lock_lock_recursive and
1206         __libc_lock_unlock_recursive.
1207         * elf/dl-close.c (_dl_close): Likewise
1208         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise
1209         * elf/dl-open.c (_dl_open): Likewise
1211         * sysdeps/generic/bits/libc-lock.h
1212         (__libc_lock_define_recursive): New macro.
1213         * sysdeps/generic/bits/stdio-lock.h (_IO_lock_t): Use it.
1214         (_IO_lock_lock): Use __libc_lock_lock_recursive.
1215         (_IO_lock_unlock): Use __libc_lock_unlock_recursive.
1217         * conform/conformtest.pl (checknamespace): Sort the output list.
1219         * sysdeps/generic/bits/poll.h (POLLWRBAND): New alias for POLLOUT.
1220         (POLLRDNORM, POLLRDBAND, POLLWRNORM, POLLWRBAND): Make these
1221         definitions conditional on [__USE_XOPEN].
1223         * sysdeps/mach/hurd/bits/fcntl.h (O_ASYNC, O_FSYNC, O_SYNC): Define
1224         these unconditionally, not only use [__USE_BSD], so as to match
1225         the sysdeps/unix/sysv/linux files.
1227 2001-08-22  Ulrich Drepper  <drepper@redhat.com>
1229         * test-skeleton.c (add_temp_file): Add __attribute__ ((unused)) to
1230         avoid warnings.
1232         * dlfcn/tst-dladdr.c (do_test): Get address of ref1 using
1233         DL_LOOKUP_ADDRESS.
1235 2001-08-22  Roland McGrath  <roland@frob.com>
1237         * sysdeps/generic/bits/sigaction.h (struct sigaction): Fix up
1238         conditionalization of sa_handler/sa_sigaction member types to
1239         match the sysdeps/unix/sysv/linux file.
1241 2001-08-22  Ulrich Drepper  <drepper@redhat.com>
1243         * elf/dl-addr.c (_dl_addr): Handle broken binaries with zero
1244         symbol sizes a bit better.
1246         * sysdeps/ia64/strncpy.S: Complete rewrite.
1247         Contributed by Jakub Jelinek <jakub@redhat.com>.
1249         * string/stratcliff.c (main): Add strncpy test.
1251 2001-08-22  Roland McGrath  <roland@frob.com>
1253         * sysdeps/generic/dl-environ.c: Include <stdlib.h> and <unistd.h>,
1254         and don't declare unsetenv or _environ directly.
1255         (unsetenv): Return int, not void.  Use __environ instead of _environ.
1257 2001-08-01  Mark Kettenis  <kettenis@gnu.org>
1259         * sysdeps/unix/bsd/bsd4.4/Makefile: New file.
1260         * sysdeps/unix/bsd/bsd4.4/Versions: New file.
1261         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: New file.
1262         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Correct
1263         test for cmsg struct size.
1265 2001-04-23  Paul Eggert  <eggert@twinsun.com>
1267         * posix/getopt.h (getopt_long, getopt_long_only, _getopt_internal):
1268         Rename __argc to ___argc in prototypes to avoid compatibility
1269         problems with systems that reserve the identifier "__argc".
1270         Similarly for __argv.
1272 2001-08-21  Roland McGrath  <roland@frob.com>
1274         * stdio-common/tst-fseek.c: Include <time.h> for `time' declaration.
1276         * mach/Makefile (tests): Removed.
1277         * mach/hello.c: File removed.
1279 2001-08-22  Ulrich Drepper  <drepper@redhat.com>
1281         * po/sv.po: Update from translation team.
1283         * stdio-common/vfscanf.c: Fix handling of %l[].
1284         Reported by Mitsuru Chinen <mchinen@yamato.ibm.com>.
1286         * libio/Makefile (tests): Add tst-sscanf.
1287         * libio/tst-sscanf.c: New file.
1289         * elf/dl-addr.c (_dl_addr): Fix tests to determine dli_sname.
1290         * malloc/mtrace.c (tr_where): dli_sname always points to a
1291         non-empty string if != NULL.
1292         Reported by Tim Janik <timj@gtk.org>.
1294 2001-08-22  Jakub Jelinek  <jakub@redhat.com>
1296         * sunrpc/xdr_rec.c (xdrrec_create): Fix buf sizes before allocating
1297         buf.  Free resources on failure.
1298         * sunrpc/svc_unix.c (svcunix_create): Free resources on failure.
1299         (makefd_xprt): Likewise.
1300         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
1301         * sunrpc/svc_tcp.c (svctcp_create, makefd_xprt): Likewise.
1302         * sunrpc/auth_unix.c (authunix_create): Likewise.
1304 2001-08-21  Jakub Jelinek  <jakub@redhat.com>
1306         * string/strnlen.c: Remove.
1307         * sysdeps/generic/strnlen.c: New.
1308         * sysdeps/i386/i486/bits/string.h (strnlen): Remove.
1310 2001-08-21  Roland McGrath  <roland@frob.com>
1312         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Define this
1313         as a macro, not an extern inline function.
1315         * hurd/Versions (GLIBC_2.2.5): New set, define __hurd_fail here.
1316         * Versions.def (libc): Add GLIBC_2.2.5 set.
1317         * hurd/hurd.h (_HURD_H_EXTERN_INLINE): New macro.
1318         (__hurd_fail): Use that instead of _EXTERN_INLINE in decl.
1320 2001-08-20  Roland McGrath  <roland@frob.com>
1322         * hurd/hurdlookup.c (__hurd_file_name_lookup): Fail with ENOENT for "".
1323         (__hurd_file_name_split, __hurd_directory_name_split): Likewise.
1325 2001-08-21  Ulrich Drepper  <drepper@redhat.com>
1327         * string/bits/string2.h: Remove strnlen optimization here.
1328         * sysdeps/i386/i486/bits/string.h: Add it here.
1330 2001-08-21  Wolfram Gloger  <wg@malloc.de>
1332         * malloc/malloc.c: Make access to ..._hook pointers thread-safe.
1334 2001-08-21  Ulrich Drepper  <drepper@redhat.com>
1336         * po/gl.po: Update from translation team.
1338 2001-08-20  Ulrich Drepper  <drepper@redhat.com>
1340         * misc/error.c (error_tail): Use fputws_unlocked instead of fputws.
1341         * misc/err.c (convert_and_print): Likewise.
1343         * malloc/obstack.c (print_and_abort): Use fprintf instead of two
1344         function calls.
1346 2001-08-20  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1348         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Revert the
1349         change of the gregset_t type.
1350         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1352 2001-08-20  kaz Kojima  <kkojima@rr.iij4u.or.jp>
1354         * sysdeps/unix/sysv/linux/sh/sysdep.S: Align errno.
1356 2001-08-20  Ulrich Drepper  <drepper@redhat.com>
1358         * posix/regex.c (truncate_wchar): Use wcrtomb not wctomb.
1360         * string/strnlen.c: Fix the implementation.  We cannot use memchr.
1362 2001-08-18  Mark Kettenis  <kettenis@gnu.org>
1364         * sysdeps/mach/hurd/i386/init-first.c (init): Initialize __environ
1365         before calling the cthreads initialization code.
1367 2001-08-20  Ulrich Drepper  <drepper@redhat.com>
1369         * argp/argp-help.c: Fix two problems introduced in last change.
1371         * include/dirent.h: Include <dirstream.h> first.
1373 2001-08-19  Ulrich Drepper  <drepper@redhat.com>
1375         * io/fts.c (fts_safe_changedir): Use __fxstat64 instead of __fstat.
1377         * sunrpc/svcauth_des.c (_svcauth_des): Avoid using bcopy.
1378         * sunrpc/xdr_rec.c: Likewise.
1379         * sunrpc/xdr_mem.c: Likewise.
1380         * sunrpc/svc_authux.c (_svcauth_unix): Likewise.
1381         * sunrpc/rpc_cmsg.c: Likewise.
1382         * sunrpc/getrpcport.c (getrpcport): Likewise.
1383         * sunrpc/clnt_simp.c (callrpc): Likewise.
1384         * sunrpc/clnt_gen.c (clnt_create): Likewise.
1385         * string/envz.c: Likewise.
1387         * po/ko.po: Update from translation team.
1389         * argp/argp-help.c: Handle wide oriented stderr stream.
1391 2001-08-18  Ulrich Drepper  <drepper@redhat.com>
1393         * sysdeps/generic/strtol.c: Little optimizations.  Add some
1394         __builtin_expect.
1396         * conform/conformtest.pl: <inttypes.h> test requires <stddef.h>.
1398         * wcsmbs/wchar.h (wcwdith): Change parameter type to wchar_t.
1399         * wcsmbs/wcwidth.c (wcwdith): Likewise.
1400         * wcsmbs/wcwidth.h (internal_wcwdith): Likewise.
1402         * conform/data/unistd.h-data: Remove _SC_MULTIPLE_PROCESS.
1404         * conform/data/ucontext.h-data: Fix typos in ucontext_t element tests.
1406         * time/time.h (struct timespec): Use __time_t for tv_sec element.
1408         * sysdeps/generic/inttypes.h: Define __wchar_t.  Use it instead of
1409         wchar_t for function declarations and defintions.
1411         * misc/sys/select.h: Define __need_time_t before including <time.h>.
1412         Define suseconds_t if it hasn't happened yet.
1414         * iconv/gconv.h: Define __need_wchar_t before including <stddef.h>.
1416         * conform/data/sys/uio.h-data: Allow UIO_MAXIOV to be defined.
1418         * sysdeps/generic/stdint.h: Don't get definition of wchar_t from
1419         <stddef.h>.
1421         * conform/data/stddef.h-data: Remove wint_t.
1423         * conform/conformtest.pl: Change namespace test to take #undef
1424         lines into account.
1426         * conform/data/netinet/in.h-data: Fix typo in allow-header line.
1428         * conform/data/sys/socket.h-data: Add sockatmark.
1430 2001-08-17  Ulrich Drepper  <drepper@redhat.com>
1432         * io/fts.c: Update from recent BSD source.
1434 2001-08-17  Roland McGrath  <roland@frob.com>
1436         * stdio-common/perror.c (perror) [! USE_IN_LIBIO]: Don't use _IO_fwide.
1437         * misc/error.c (error_tail, error, error_at_line) [! USE_IN_LIBIO]:
1438         Likewise.
1440 2001-08-17  Ulrich Drepper  <drepper@redhat.com>
1442         * locale/duplocale.c (__duplocale): Also initialize the special
1443         __ctype_* elements.
1445         * conform/data/netdb.h-data: Adjust gai_strerror return type.
1447 2001-08-17  Andreas Jaeger  <aj@suse.de>
1449         * misc/getpass.c: Include wchar.h for prototypes.
1450         * malloc/obstack.c: Likewise.
1452 2001-08-17  Ulrich Drepper  <drepper@redhat.com>
1454         * sunrpc/svc_simple.c (universal): Use __write instead of write.
1456         * wcsmbs/wcscoll.c: Also define __wcscoll.
1457         * include/wchar.h: Declare __wcscoll.
1459         * libio/fwprintf.c: Use __vfwprintf instead of vfwprintf.
1460         * libio/vwprintf.c: Likewise.
1461         * libio/wprintf.c: Likewise.
1463         * iconv/gconv_cache.c: Use __munmap instead of munmap.
1465 2001-08-16  Ulrich Drepper  <drepper@redhat.com>
1467         * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
1468         instead of mbrtowc.
1469         [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
1470         wcslen, and __wcscoll instead of wcscoll.
1472         * sysdeps/unix/sockatmark.c (sockatmark): Use __ioctl instead of ioctl.
1474         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue): Use
1475         __getuid instead of getuid.
1477         * stdio-common/perror.c (perror): Use __close instead of close.
1478         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
1479         * libio/freopen.c (freopen): Likewise.
1480         * libio/freopen64.c (freopen64): Likewise.
1482         * libio/tst-ungetwc2.c (main): Define str const.
1484         * include/wchar.h: Add prototypes for __fwprintf and __vfwprintf.
1485         * libio/fwprintf.c: Also define __fwprintf.
1486         * stdio-common/vfprintf.c [COMPILE_WPRINTF]: Also define __vfwprintf.
1487         * argp/argp-fmtstream.c: Handle wide oriented stderr stream.
1488         * assert/assert-perr.c: Likewise.
1489         * assert/assert.c: Likewise.
1490         * gmon/gmon.c: Likewise.
1491         * inet/rcmd.c: Likewise.
1492         * malloc/obstack.c: Likewise.
1493         * misc/err.c: Likewise.
1494         * misc/error.c: Likewise.
1495         * misc/getpass.c: Likewise.
1496         * posix/getopt.c: Likewise.
1497         * resolv/res_hconf.c: Likewise.
1498         * stdio-common/perror.c: Likewise.
1499         * stdio-common/psignal.c: Likewise.
1500         * stdlib/fmtmsg.c: Likewise.
1501         * sunrpc/auth_unix.c: Likewise.
1502         * sunrpc/clnt_perr.c: Likewise.
1503         * sunrpc/clnt_tcp.c: Likewise.
1504         * sunrpc/clnt_udp.c: Likewise.
1505         * sunrpc/clnt_unix.c: Likewise.
1506         * sunrpc/svc_simple.c: Likewise.
1507         * sunrpc/svc_tcp.c: Likewise.
1508         * sunrpc/svc_udp.c: Likewise.
1509         * sunrpc/svc_unix.c: Likewise.
1510         * sunrpc/xdr.c: Likewise.
1511         * sunrpc/xdr_array.c: Likewise.
1512         * sunrpc/xdr_rec.c: Likewise.
1513         * sunrpc/xdr_ref.c: Likewise.
1514         * sysdeps/generic/wordexp.c: Likewise.
1516         * po/it.po: Update from translation team.
1518         * misc/err.c: Handle wide oriented stderr stream.
1520 2001-08-14  Tom Rix  <trix@redhat.com>
1522         * iconv/gconv_cache.c (find_module): Add #ifndef STATIC_GCONV.
1523         * iconv/Makefile: Fix gconv_cache.c CFLAGS.
1525 2001-08-13  Tom Rix  <trix@redhat.com>
1527         * sysdeps/unix/sysv/aix/Makefile: Add rule to import kernel symbols.
1528         * sysdeps/unix/sysv/aix/bits/types.h: Fix type of __id_t, __useconds_t
1529         and __intptr_t.
1531 2001-08-15  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1533         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S (__getcontext):
1534         Store the access registers to the ucontext structure.
1535         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S (__getcontext):
1536         Likewise.
1538         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S (__setcontext):
1539         Load the access registers from the ucontext structure.
1540         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S (__setcontext):
1541         Likewise.
1543         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: Adjust the SC_xxx
1544         offsets to the new ucontext layout.
1545         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: Likewise.
1547         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix the layout
1548         of the ucontext structure.
1549         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1551 2001-08-15  Ulrich Drepper  <drepper@redhat.com>
1553         * misc/error.c (error): Handle wide oriented stderr stream correctly.
1554         (error_at_line): Likewise.
1556         * stdio-common/perror.c (perror): Implement according to standard.
1557         The stream orientation must not be changed if the stream was not
1558         oriented before the call.
1559         * stdio-common/Makefile (tests): Add tst-perror.
1560         * stdio-common/tst-perror.c: New file.
1563 See ChangeLog.12 for earlier changes.