Update.
[glibc.git] / ChangeLog
blob7996e4fb8289dc429475c2ee96febc240ccff2e9
1 2001-08-15  Ralf Baechle  <ralf@gnu.org>
3         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Make sysmips() prototype a
4         varargs prototype.  Remove dependency from kernel header files.
6         * sysdeps/unix/sysv/linux/mips/bits/termios.h: General cleanup, use
7         __USE_MISC / __USE_XOPEN not __USE_BSD where appropriate.
9 2001-10-14  Ulrich Drepper  <drepper@redhat.com>
11         * locale/programs/ld-collate.c (handle_ellipsis): Use %lX not %lx
12         to generate hexadecimal identifier.
13         Patch by Jungshik Shin <jungshik.shin@yale.edu>.
15 2001-10-09  Stephen L Moshier  <moshier@mediaone.net>
17         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Fix algorithm.
19 2001-10-14  Ulrich Drepper  <drepper@redhat.com>
21         * sysdeps/ieee754/ldbl-128/e_powl.c: New file.
22         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: New file.
23         Contributed by Stephen L Moshier <moshier@mediaone.net>.
25         * sysdeps/ieee754/ldbl-128/e_j0l.c: Constify float variables.
26         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise
28         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise
29         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise
30         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise
32         * timezone/africa: Update from tzdata2001d.
33         * timezone/asia: Likewise.
34         * timezone/australasia: Likewise.
35         * timezone/backward: Likewise.
36         * timezone/europe: Likewise.
37         * timezone/leapseconds: Likewise.
38         * timezone/northamerica: Likewise.
39         * timezone/southamerica: Likewise.
40         * timezone/zone.tab: Likewise.
42 2001-10-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
44         * sysdeps/s390/s390-32/sys/ucontext.h: Correct __psw_t typedef.
45         * sysdeps/s390/s390-64/sys/ucontext.h: Likewise.
47 2001-10-12  Ulrich Drepper  <drepper@redhat.com>
49         * elf/elf.h (PT_TLS): New definition.
51 2001-10-10  Jeff Bailey  <jbailey@nisa.net>
53         * sysdeps/mach/hurd/Makefile: Add $(CFLAGS) for generation of
54         bits/errno.h
56 2001-10-07  Roland McGrath  <roland@frob.com>
58         * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Never return ENOSYS.
60 2001-10-10  Ulrich Drepper  <drepper@redhat.com>
62         * elf/elf.h: Add more ELFOSABI_* constants.
64 2001-10-04  Ben Collins  <bcollins@debian.org>
66         * sysdeps/generic/inttypes.h: Fix typo (define, not defined) in
67         decleration of __need_wchar_t.
69 2001-10-03  Jakub Jelinek  <jakub@redhat.com>
71         * string/bits/string2.h (__strsep_g): Add prototype.
72         (__strsep): Use it.
73         * string/Versions (__strsep): Remove.
74         * sysdeps/generic/strsep.c (__strsep_g): Add alias to __strsep.
76 2001-10-07  Ulrich Drepper  <drepper@redhat.com>
78         * manua/llio.texi: Clarify file references added by mmap.
79         Patch by Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
81 2001-09-29  Jes Sorensen  <jes@trained-monkey.org>
83         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
84         Add sc_loadrs and sc_rbs_bas to match current kernel.
86 2001-09-27  Jakub Jelinek  <jakub@redhat.com>
88         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
90         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Fix erfc(-inf).
92 2001-09-27  Jakub Jelinek  <jakub@redhat.com>
94         * elf/dl-open.c (dl_open_worker): If l_opencount of freshly loaded
95         object has been bumped because of relocation dependency, avoid
96         duplicates in l_scope.
97         (show_scope): Fix typos.
98         * elf/Makefile: Add rules to build and run reldep6.
99         * elf/reldep6.c: New file.
100         * elf/reldep6mod0.c: New file.
101         * elf/reldep6mod1.c: New file.
102         * elf/reldep6mod2.c: New file.
103         * elf/reldep6mod3.c: New file.
104         * elf/reldep6mod4.c: New file.
106 2001-09-26  Jakub Jelinek  <jakub@redhat.com>
108         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Call
109         sparc64_fixup_plt.
110         (sparc64_fixup_plt): Moved from elf_machine_fixup_plt.  Optimize
111         near jumps and 0xfffff800XXXXXXXX target addresses, no thread safety
112         for non-lazy binding. Fix .plt[32768+] handling.
113         (elf_machine_plt_value): Don't add addend.
114         (elf_machine_rela): Call sparc64_fixup_plt instead of
115         elf_machine_fixup_plt.
116         (elf_machine_runtime_setup, TRAMPOLINE_TEMPLATE): Optimize for
117         dynamic linker at 0xfffff800XXXXXXXX.
119         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
121 2001-09-28  Ulrich Drepper  <drepper@redhat.com>
123         * elf/elf.h: Define SHF_GROUP and SHF_TLS.
125 2001-09-25  Jakub Jelinek  <jakub@redhat.com>
127         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (struct cmsghdr): Don't
128         declare __cmsg_data field if its size would be bigger than 0.
129         (CMSG_DATA): Adjust accordingly.
130         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
131         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Likewise.
132         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
133         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
134         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
135         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
136         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
138 2001-09-25  Ulrich Drepper  <drepper@redhat.com>
140         * iconvdata/TESTS: Add entries for IBM1160 and IBM1161.
141         * iconvdata/testdata/IBM1160: New file.
142         * iconvdata/testdata/IBM1160..UTF8: New file.
143         * iconvdata/testdata/IBM1161: New file.
144         * iconvdata/testdata/IBM1161..UTF8: New file.
145         Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
147 2001-09-24  Ulrich Drepper  <drepper@redhat.com>
149         * sysdeps/unix/bsd/ulimit.c (ulimit): Handle overflow in
150         UL_SETFSIZE computations better.
152         * rt/Makefile: Remove use of filter for librt again.
154         * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Handle overflow in
155         UL_SETFSIZE computations better.
157         * string/Versions: Export __strsep for GLIBC_2.2.5.
158         * string/bits/string2.h: Define all __STRING_INLINE functions if
159         _FORCE_INLINES is defined.
160         Use int instead of char of parameter types.
161         (__strsep): Don't use __strsep_g.  Don't define it.
162         (__strsep_1c, __strsep_2c, __strsep_3c): Optimize.
163         * sysdeps/i386/i486/string.h (__strcpy_a_small): Renamed from
164         __strcpy_small.
165         (__stpcpy_a_small): Renamed from __stpcpy_small.
166         (__strcspn_c1): Don't define if _FORCE_INLINES.
167         (__strspn_c1): Likewise.
169 2001-09-22  Ben Collins  <bcollins@debian.org>
171         * sysdeps/sparc/bits/sigaction.h: Define SA_RESTART and friends when
172         _UNIX98_SOURCE is defined too.  Matches generic/bits/sigaction.h.
173         * sysdeps/ia64/bits/sigaction.h: Likewise.
174         * sysdeps/s390/s390-64/bits/sigaction.h: Likewise.
176 2001-09-24  Andrew Haley  <aph@cambridge.redhat.com>
178         * sysdeps/unix/sysv/linux/sh/Makefile (sysdep_headers): Add sys/io.h.
180 2001-09-24  Jakub Jelinek  <jakub@redhat.com>
182         * elf/dl-open.c (dl_open_worker): Update l_scope_max.
184 2001-09-24  Ulrich Drepper  <drepper@redhat.com>
186         * wcsmbs/wchar.h: Add __attribute_pure__ to mbsinit prototype.
188 2001-09-20  H.J. Lu  <hjl@gnu.org>
190         * include/dlfcn.h (__RTLD_SPROF): New definiton.
191         * elf/dl-open.c (dl_open_worker): Return immediately after loading
192         for __RTLD_SPROF.
193         * elf/sprof.c (main): Default to the filename if soname doesn't exist.
194         (load_shobj): Call dlopen with `RTLD_LAZY | __RTLD_SPROF'.
196 2001-09-20  H.J. Lu  <hjl@gnu.org>
198         * elf/dl-profile.c (_dl_mcount): Use old *narcsp value for newarc,
199         don't add 1.
201 2001-09-22  Ulrich Drepper  <drepper@redhat.com>
203         * nss/getent.c: Accept -s parameter to overwrite rules in
204         nsswitch.conf.  Patch by Nalin Dahyabhai <nalin@redhat.com>.
206         * nss/nss_files/files-network.c (LINE_PARSER): Pad addr string
207         with as many ".0" as necessary to form a complete address
208         inet_network understands.
210         * nss/getent.c: Various cleanups.  Use simpler and fewer function
211         calls.
213 2001-09-20  Martin Schwidefsky  <schwidefsky@de.ibm.com>
215         * sysdeps/s390/s390-32/bits/setjmp.h: Correct pointer comparison in
216         _JMPBUF_UNWINDS.
217         * sysdeps/s390/s390-64/bits/setjmp.h: Likewise.
219 2001-09-22  Ulrich Drepper  <drepper@redhat.com>
221         * iconvdata/Makefile: Add rules to build and distribute IBM1160 and
222         IBM1161.
223         * iconvdata/gconv-modules: Add entries for IBM1160 and IBM1161.
224         * iconvdata/ibm1160.c: New file.
225         * iconvdata/ibm1160.h: New file.
226         * iconvdata/ibm1161.c: New file.
227         * iconvdata/ibm1161.h: New file.
228         Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
230 2001-09-19  Jakub Jelinek  <jakub@redhat.com>
232         * sysdeps/alpha/dl-machine.h (elf_machine_load_address): Compute the
233         difference between base address and first PT_LOAD's virtual address,
234         not the base address.
236 2001-09-11  Tom Rix  <trix@redhat.com>
238         * sysdeps/unix/sysv/aix/init-first.c (init):  Use USE_NONONPTION_FLAG
239         ifdef for __getopt_clean_environment.
240         * sysdeps/unix/sysv/aix/libc-start.c: Add real implementation.
242 2001-09-22  Andreas Jaeger  <aj@suse.de>
244         * elf/reldep4.c (main): Add proper prototype to fix warning.
246         * elf/reldep5.c (main): Remove unused variable.
248         * math/math_private.h: Add prototypes.
250 2001-09-21  Andreas Jaeger  <aj@suse.de>
252         * sysdeps/unix/sysv/linux/x86_64/Dist: New file.
253         * sysdeps/x86_64/Dist: New file.
254         * sysdeps/x86_64/soft-fp/Dist: New file.
256         * sysdeps/gnu/Dist: Remove eval.c.
258 2001-09-20  Ulrich Drepper  <drepper@redhat.com>
260         * malloc/memusage.c (realloc): Don't count already allocated
261         memory in the sums.
262         (me): Always use dlsym() to find the real implementations.
264         * malloc/memusage.sh: Make -n option actually do something.
266 2001-09-20  Andreas Jaeger  <aj@suse.de>
268         * elf/elf.h (R_390_NUM): Correct value.
270         * Versions.def: Add missing versions 2.2.3 for libthread_db and
271         libpthread.
273         * sysdeps/unix/sysv/linux/configure.in: Add minimal kernel version
274         for x86-64, install x86-64 into */lib64.
276         * shlib-versions: Add x86-64.
278         * elf/elf.h: Add x86-64 relocations.
280 2001-09-19  Ulrich Drepper  <drepper@redhat.com>
282         * po/fr.po: Update from translation team.
284 2001-09-19  Andreas Jaeger  <aj@suse.de>
286         * sysdeps/unix/sysv/linux/x86_64/Makefile: New file.
287         * sysdeps/unix/sysv/linux/x86_64/Versions: New file.
288         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: New file.
289         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: New file.
290         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: New file.
291         * sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: New file.
292         * sysdeps/unix/sysv/linux/x86_64/bits/time.h: New file.
293         * sysdeps/unix/sysv/linux/x86_64/bits/types.h: New file.
294         * sysdeps/unix/sysv/linux/x86_64/brk.c: New file.
295         * sysdeps/unix/sysv/linux/x86_64/clone.S: New file.
296         * sysdeps/unix/sysv/linux/x86_64/fstatfs64.c: New file.
297         * sysdeps/unix/sysv/linux/x86_64/ftruncate64.c: New file.
298         * sysdeps/unix/sysv/linux/x86_64/fxstat.c: New file.
299         * sysdeps/unix/sysv/linux/x86_64/fxstat64.c: New file.
300         * sysdeps/unix/sysv/linux/x86_64/getdents.c: New file.
301         * sysdeps/unix/sysv/linux/x86_64/getdents64.c: New file.
302         * sysdeps/unix/sysv/linux/x86_64/getrlimit64.c: New file.
303         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
304         * sysdeps/unix/sysv/linux/x86_64/glob64.c: New file.
305         * sysdeps/unix/sysv/linux/x86_64/lxstat.c: New file.
306         * sysdeps/unix/sysv/linux/x86_64/lxstat64.c: New file.
307         * sysdeps/unix/sysv/linux/x86_64/mmap64.c: New file.
308         * sysdeps/unix/sysv/linux/x86_64/pread64.c: New file.
309         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: New file.
310         * sysdeps/unix/sysv/linux/x86_64/pwrite64.c: New file.
311         * sysdeps/unix/sysv/linux/x86_64/readdir.c: New file.
312         * sysdeps/unix/sysv/linux/x86_64/readdir64.c: New file.
313         * sysdeps/unix/sysv/linux/x86_64/readdir64_r.c: New file.
314         * sysdeps/unix/sysv/linux/x86_64/readdir_r.c: New file.
315         * sysdeps/unix/sysv/linux/x86_64/recv.c: New file.
316         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: New file.
317         * sysdeps/unix/sysv/linux/x86_64/send.c: New file.
318         * sysdeps/unix/sysv/linux/x86_64/setrlimit64.c: New file.
319         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: New file.
320         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: New file.
321         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: New file.
322         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: New file.
323         * sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: New file.
324         * sysdeps/unix/sysv/linux/x86_64/statfs64.c: New file.
325         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: New file.
326         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: New file.
327         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: New file.
328         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: New file.
329         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: New file.
330         * sysdeps/unix/sysv/linux/x86_64/syscall.S: New file.
331         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: New file.
332         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: New file.
333         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: New file.
334         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
335         * sysdeps/unix/sysv/linux/x86_64/truncate64.c: New file.
336         * sysdeps/unix/sysv/linux/x86_64/umount.c: New file.
337         * sysdeps/unix/sysv/linux/x86_64/vfork.S: New file.
338         * sysdeps/unix/sysv/linux/x86_64/xstat.c: New file.
339         * sysdeps/unix/sysv/linux/x86_64/xstat64.c: New file.
340         * sysdeps/unix/x86_64/sysdep.S: New file.
341         * sysdeps/unix/x86_64/sysdep.h: New file.
342         * sysdeps/x86_64/Implies: New file.
343         * sysdeps/x86_64/Makefile: New file.
344         * sysdeps/x86_64/Versions: New file.
345         * sysdeps/x86_64/__longjmp.S: New file.
346         * sysdeps/x86_64/abort-instr.h: New file.
347         * sysdeps/x86_64/atomicity.h: New file.
348         * sysdeps/x86_64/bits/endian.h: New file.
349         * sysdeps/x86_64/bits/setjmp.h: New file.
350         * sysdeps/x86_64/bits/string.h: New file.
351         * sysdeps/x86_64/bp-asm.h: New file.
352         * sysdeps/x86_64/bsd-_setjmp.S: New file.
353         * sysdeps/x86_64/bsd-setjmp.S: New file.
354         * sysdeps/x86_64/dl-machine.h: New file.
355         * sysdeps/x86_64/elf/initfini.c: New file.
356         * sysdeps/x86_64/elf/start.S: New file.
357         * sysdeps/x86_64/ffs.c: New file.
358         * sysdeps/x86_64/ffsll.c: New file.
359         * sysdeps/x86_64/fpu/bits/fenv.h: New file.
360         * sysdeps/x86_64/fpu/bits/mathdef.h: New file.
361         * sysdeps/x86_64/fpu/e_acosl.c: New file.
362         * sysdeps/x86_64/fpu/e_atan2l.c: New file.
363         * sysdeps/x86_64/fpu/e_exp2l.S: New file.
364         * sysdeps/x86_64/fpu/e_expl.c: New file.
365         * sysdeps/x86_64/fpu/e_fmodl.S: New file.
366         * sysdeps/x86_64/fpu/e_log10l.S: New file.
367         * sysdeps/x86_64/fpu/e_log2l.S: New file.
368         * sysdeps/x86_64/fpu/e_logl.S: New file.
369         * sysdeps/x86_64/fpu/e_powl.S: New file.
370         * sysdeps/x86_64/fpu/e_rem_pio2l.c: New file.
371         * sysdeps/x86_64/fpu/e_scalbl.S: New file.
372         * sysdeps/x86_64/fpu/e_sqrtl.c: New file.
373         * sysdeps/x86_64/fpu/fclrexcpt.c: New file.
374         * sysdeps/x86_64/fpu/fedisblxcpt.c: New file.
375         * sysdeps/x86_64/fpu/feenablxcpt.c: New file.
376         * sysdeps/x86_64/fpu/fegetenv.c: New file.
377         * sysdeps/x86_64/fpu/fegetexcept.c: New file.
378         * sysdeps/x86_64/fpu/fegetround.c: New file.
379         * sysdeps/x86_64/fpu/feholdexcpt.c: New file.
380         * sysdeps/x86_64/fpu/fesetenv.c: New file.
381         * sysdeps/x86_64/fpu/fesetround.c: New file.
382         * sysdeps/x86_64/fpu/fgetexcptflg.c: New file.
383         * sysdeps/x86_64/fpu/fraiseexcpt.c: New file.
384         * sysdeps/x86_64/fpu/fsetexcptflg.c: New file.
385         * sysdeps/x86_64/fpu/ftestexcept.c: New file.
386         * sysdeps/x86_64/fpu/libm-test-ulps: New file.
387         * sysdeps/x86_64/fpu/math_ldbl.h: New file.
388         * sysdeps/x86_64/fpu/printf_fphex.c: New file.
389         * sysdeps/x86_64/fpu/s_atanl.c: New file.
390         * sysdeps/x86_64/fpu/s_cosl.S: New file.
391         * sysdeps/x86_64/fpu/s_expm1l.S: New file.
392         * sysdeps/x86_64/fpu/s_fpclassifyl.c: New file.
393         * sysdeps/x86_64/fpu/s_isinfl.c: New file.
394         * sysdeps/x86_64/fpu/s_isnanl.c: New file.
395         * sysdeps/x86_64/fpu/s_log1pl.S: New file.
396         * sysdeps/x86_64/fpu/s_logbl.c: New file.
397         * sysdeps/x86_64/fpu/s_nextafterl.c: New file.
398         * sysdeps/x86_64/fpu/s_nexttoward.c: New file.
399         * sysdeps/x86_64/fpu/s_nexttowardf.c: New file.
400         * sysdeps/x86_64/fpu/s_rintl.c: New file.
401         * sysdeps/x86_64/fpu/s_significandl.c: New file.
402         * sysdeps/x86_64/fpu/s_sincosl.S: New file.
403         * sysdeps/x86_64/fpu/s_sinl.S: New file.
404         * sysdeps/x86_64/fpu/s_tanl.S: New file.
405         * sysdeps/x86_64/gmp-mparam.h: New file.
406         * sysdeps/x86_64/hp-timing.c: New file.
407         * sysdeps/x86_64/hp-timing.h: New file.
408         * sysdeps/x86_64/htonl.S: New file.
409         * sysdeps/x86_64/memusage.h: New file.
410         * sysdeps/x86_64/setjmp.S: New file.
411         * sysdeps/x86_64/soft-fp/sfp-machine.h: New file.
412         * sysdeps/x86_64/stackinfo.h: New file.
413         * sysdeps/x86_64/sysdep.h: New file.
414         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: New file.
416         * sysdeps/ieee754/ldbl-128/s_erfl.c: New file, contributed Stephen
417         L Moshier.
419 2001-09-18  Ulrich Drepper  <drepper@redhat.com>
421         * malloc/malloc.c (ptmalloc_init): Handle _environ==NULL.
422         Reported by B. D. Elliott <bde@nwlink.com> [PR libc/2541].
424 2001-09-18  Andreas Schwab  <schwab@suse.de>
426         * elf/dl-load.c (_dl_map_object_from_fd): Update handling of scope
427         list, now that l_scope is a pointer.
429         * elf/dl-open.c (dl_open_worker): Fix thinko when enlarging the
430         scope list.
432 2001-09-18  kaz Kojima  <kkojima@rr.iij4u.or.jp>
434         * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix reverse condition.
435         (elf_machine_rela_relative): Add a missing declaration.
437 2001-09-18  Jakub Jelinek  <jakub@redhat.com>
439         * sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: New.
440         * sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed: New.
441         * sysdeps/unix/sysv/linux/configure.in: Add ia64 and s390
442         ldd-rewrite scripts.
444 2001-09-18  Ulrich Drepper  <drepper@redhat.com>
446         * elf/ldd.bash.in: Update copyright message.
448 2001-09-17  H.J. Lu  <hjl@gnu.org>
450         * hurd/hurdmalloc.c (bcopy): Removed.
451         (realloc): Replace bcopy with memcpy.
452         * hurd/path-lookup.c (file_name_path_scan): Likewise.
453         * resolv/gethnamaddr.c (map_v4v6_address): Likewise.
454         * sunrpc/rpcinfo.c (pmapdump): Likewise.
456         * resolv/gethnamaddr.c (getanswer): Replace bcopy with memmove.
457         (gethostbyaddr): Likewise.
458         * sunrpc/rpcinfo.c (get_inet_address): Likewise.
460 2001-09-18  Ulrich Drepper  <drepper@redhat.com>
462         * sysdeps/gnu/eval.c: Removed.
464 2001-09-18  Andreas Jaeger  <aj@suse.de>
466         * sysdeps/i386/fpu/s_logbl.S: Move to ...
467         * sysdeps/i386/fpu/s_logbl.c: ...here, use inline assembler.
469         * sysdeps/i386/fpu/s_rintl.S: Move to ...
470         * sysdeps/i386/fpu/s_rintl.c: ...here, use inline assembler.
472         * sysdeps/i386/fpu/s_significandl.S: Move to ...
473         * sysdeps/i386/fpu/s_significandl.c: ...here, use inline assembler.
475 2001-09-16  Ulrich Drepper  <drepper@redhat.com>
477         * string/strcoll.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get
478         nrules value.
480 2001-09-14  H.J. Lu  <hjl@gnu.org>
482         * sysdeps/mips/fpu/libm-test-ulps: Updated.
484 2001-09-14  Ulrich Drepper  <drepper@redhat.com>
486         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix a typo.
487         Patch by Florian La Roche <laroche@redhat.com>.
489         * string/bits/string2.h (__strtok_r_1c): Optimize a bit.
491         * sysdeps/unix/sysv/linux/net/ethernet.h: Correct references to
492         ETHER_CRC_LEN.
494 2001-09-14  Andreas Schwab  <schwab@suse.de>
496         * posix/execl.c: Fix last argument of memcpy.  Reported by Brian
497         Sumner <bls@sgi.com>.
498         * posix/execlp.c: Likewise.
500 2001-09-13  Jakub Jelinek  <jakub@redhat.com>
502         * elf/dl-deps.c (_dl_map_object_deps): Fix filter handling if filter
503         is already found earlier in the search scope.
505 2001-09-12  Jakub Jelinek  <jakub@redhat.com>
507         * rt/Makefile (LDFLAGS-rt.so): Use shared thread library as librt's
508         filter.
510 2001-09-13  Ulrich Drepper  <drepper@redhat.com>
512         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust expected errors for j0.
514 2001-09-12  Ulrich Drepper  <drepper@redhat.com>
516         * config.h.in: Enforce optimization to be used.
517         * Makeconfig (preprocess-versions): Define ASSEMBLER.
518         * stdlib/Makefile (isomac-CFLAGS): Define to -O.
519         * posix/Makefile (annexc-CFLAGS): Define to -O.
520         * sysdeps/unix/make-syscalls.sh: Define __OPTIMIZE__ in use of asm_CPP.
522 2001-09-11  Ulrich Drepper  <drepper@redhat.com>
524         * nscd/nscd_gethst_r.c: Don't expect IPv6 addresses for IPv4 lookup.
525         Patch by Stephan Kulow.
527 2001-09-08  Ben Collins  <bcollins@debian.org>
529         * sysdeps/arm/dl-machine.h (elf_machine_rel): Fix thinko in
530         usage of RESOLVE() (r_type, not reloc->r_type).
532 2001-09-08  Ulrich Drepper  <drepper@redhat.com>
534         * elf/dl-object.c: Avoid allocating extra memory block for name.
535         * elf/dl-close.c (_dl_close): Don't free l_libname if it is not
536         allocated separately.
537         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
539 2001-09-08  H.J. Lu  <hjl@gnu.org>
541         * po/zh_TW.po: Fix a typo.
543 2001-09-07  Tom Rix  <trix@redhat.com>
545         * sysdeps/unix/sysv/aix/sysv_termio.h: New file.
547 2001-08-26  Tom Rix  <trix@redhat.com>
549         * sysdeps/unix/sysv/aix/Makefile (aix-syscalls.o): More linker
550         command line options.
551         * sysdeps/unix/sysv/aix/start.s: New file, rework of start.c
552         * sysdeps/unix/sysv/aix/start.c: Removed.
553         * sysdeps/unix/sysv/aix/start-libc.c: New file.
554         * sysdeps/unix/sysv/aix/init-first.c: New file.
555         * sysdeps/unix/sysv/aix/fcntl.c: Alias __libc_fcntl to __fcntl.
557 2001-09-08  Ben Collins  <bcollins@debian.org>
559         * sysdeps/arm/dl-machine.h: Fix usage of new _dl_signal_error() format.
560         * sysdeps/generic/dl-machine.h: Likewise.
561         * sysdeps/hppa/dl-fptr.c: Likewise.
562         * sysdeps/ia64/dl-fptr.c: Likewise.
563         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
564         * sysdeps/mips/dl-machine.h: Likewise.
565         * sysdeps/mips/mips64/dl-machine.h: Likewise.
566         * sysdeps/powerpc/dl-machine.c: Likewise.
568 2001-09-07  Ben Collins  <bcollins@debian.org>
570         * sysdeps/sparc/sparc32/dl-machine.h: Fix typo.
572         * sysdeps/hppa/dl-lookupcfg.h: Forward declare struct link_map.
574 2001-09-08  Ulrich Drepper  <drepper@redhat.com>
576         * elf/dl-lookup.c (add_dependency): Bump l_opencount of all
577         dependencies if necessary.
579         * elf/dl-close.c (_dl_close): If object has no r_list (i.e., wasn't
580         loaded directly) determine length if l_initfini list by iterating
581         over its elements.  Minor optimizations.
582         * elf/dl-deps.c (_dl_map_object_deps): Always add own map to l_initfini
583         for dependency objects.
584         If object was already loaded check whether any of the dependencies
585         is already on the relocation dependency list.  If yes, remove the
586         latter.  Minor optimizations.
587         * elf/dl-lookup.c (add_dependency): Add check for self reference of
588         maps here.  Search l_initfini list only if the object was loaded
589         directly and not only as a dependency.
590         (_dl_lookup_symbol): Add relocation dependency also if object
591         is not in global scope.  Remove test for self-reference here.
592         (_dl_lookup_versioned_symbol): Likewise.
593         * elf/dl-object (_dl_new_object): Cleanup.  Initialize dont_free
594         element of first name record.
595         * elf/loadtest.c: Add some more test to recognize early if an object
596         wasn't unloaded.
597         * elf/Makefile: Add rules to build and run reldep5.
598         * elf/reldep5.c: New file.
599         * elf/reldepmod5.c: New file.
600         * elf/reldepmod6.c: New file.
602         * elf/reldep2.c: Fix typo.
604 2001-09-07  Ulrich Drepper  <drepper@redhat.com>
606         * include/link.h (struct link_map): Add l_scope_mem and l_scope_max
607         elements.  Change l_scope to be a pointer only.
608         * elf/dl-object.c (_dl_new_object): Initialize l_scope and l_scope_max.
609         * elf/dl-open.c (dl_open_worker): If dependency wasn't just opened
610         here add searchlist of newly open file to the dependency's scope.
611         * elf/dl-close.c (_dl_close): If dependency is used otherwise remove
612         only searchlist from its scope.  Free own scope array if necessary.
613         * elf/Makefile (tests): Add dblload and dblunload now.
615 2001-09-06  Andreas Jaeger  <aj@suse.de>
617         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: New file, contributed
618         Stephen L Moshier.
620 2001-09-05  Ulrich Drepper  <drepper@redhat.com>
622         * elf/Makefile: Add rules to build new tests.  Don't run them yet since
623         they both fail.
624         * elf/dblload.c: New file.
625         * elf/dblloadmod1.c: New file.
626         * elf/dblloadmod2.c: New file.
627         * elf/dblloadmod3.c: New file.
628         * elf/dblunload.c: New file.
630 2001-09-04  Richard Henderson  <rth@redhat.com>
632         * elf/elf.h (R_ALPHA_OP_*, R_ALPHA_IMMED_*): Remove.
633         (R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16.
635 2001-09-04  Ulrich Drepper  <drepper@redhat.com>
637         Correct very misleading message for error in failed runtime relocation.
638         * elf/dl-error.c (_dl_signal_error): Take extra parameter to describe
639         place of the error.
640         (_dl_signal_cerror): Likewise.
641         * sysdeps/generic/ldsodefs.h: Adjust prototypes.
642         * elf/dl-close.c: Likewise.
643         * elf/dl-deps.c: Likewise.
644         * elf/dl-load.c: Likewise.
645         * elf/dl-lookup.c: Likewise.
646         * elf/dl-open.c: Likewise.
647         * elf/dl-reloc.c: Likewise.
648         * elf/dl-sym.c: Likewise.
649         * elf/dl-version.c: Likewise.
650         * sysdeps/generic/dl-sysdep.c: Likewise.
652 2001-09-04  Jakub Jelinek  <jakub@redhat.com>
654         * iconv/strtab.c (strtabinit): Initialize null Strent.
655         (newstring): Move len == 0 handling...
656         (strtabadd): ...here.
657         If len == 1, return null Strent.
658         When inserting a suffix of an existing string, check if
659         it is not equal to some suffix already recorded.
660         Copy left and right members over if adding longer string.
662 2001-09-04  Jakub Jelinek  <jakub@redhat.com>
664         * sunrpc/rpc_cout.c (upcase): Account for trailing '\0'.
666         * sysdeps/unix/sysv/linux/alpha/gethostname.c: Include <errno.h>.
667         (__syscall_gethostname): Add prototype.
669 2001-09-04  Ulrich Drepper  <drepper@redhat.com>
671         * elf/dl-object.c (_dl_new_object): Remove unnecessary if.
673 2001-09-02  Ulrich Drepper  <drepper@redhat.com>
675         * elf/rtld.c (dl_main): Increment l_opencount for main binary.
677 2001-08-27  Roland McGrath  <roland@frob.com>
679         * sysdeps/unix/sysv/gethostname.c (__gethostname): When LEN is too
680         short, copy that much into NAME anyway before returning error.
682 2001-09-01  Richard Henderson  <rth@redhat.com>
684         * sysdeps/alpha/elf/Dist: Remove file.
685         * sysdeps/alpha/elf/Makefile: Remove file.
686         * sysdeps/alpha/elf/crtbegin.S: Remove file.
687         * sysdeps/alpha/elf/crtend.S: Remove file.
688         * sysdeps/alpha/elf/initfini.c: New file.
690 2001-09-01  Mark Kettenis  <kettenis@gnu.org>
692         * iconv/tst-iconv1.c: Include <stddef.h> for wchar_t.
693         * iconv/tst-iconv3.c: Likewise.
695 2001-09-01  Jakub Jelinek  <jakub@redhat.com>
697         * sysdeps/generic/inttypes.h (__gwchar_t): Define to wchar_t for C++.
699 2001-09-01  Ulrich Drepper  <drepper@redhat.com>
701         * iconv/gconv_cache.c: Rename variable cache to __gconv_cache and
702         export it.
703         * iconv/Versions (libc) [GLIBC_2.2.5]: Export __gconv_cache.
704         * iconv/iconv_prog.c (insert_cache): New function.
705         (print_known_names): If cache is used call insert_cache to use the
706         information from the cache [PR libc/2509].
708 2001-08-31  Ulrich Drepper  <drepper@redhat.com>
710         * time/strptime.c (strptime_internal): Recognize 'l' format and
711         handle it like 'I' for symmetry with strftime.
713 2001-08-31  Richard Henderson  <rth@redhat.com>
715         * elf/dl-support.c (_dl_cpuclock_offset): Protect with NONAVAIL.
716         (HP_TIMING_AVAIL): Set to HP_SMALL_TIMING_AVAIL if present.
717         * elf/rtld.c (HP_TIMING_AVAIL): Likewise.
718         (print_statistics): Make scalar unsigned long long.
719         * sysdeps/alpha/hp-timing.h: New file.
721 2001-08-31  Jakub Jelinek  <jakub@redhat.com>
723         * stdio-common/perror.c (perror): Save errno early, pass it
724         down to perror_internal.
725         (perror_internal): Add errnum argument.
727 2001-08-31  Jakub Jelinek  <jakub@redhat.com>
729         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Remove unused code.
730         Don't add old memory content for R_ALPHA_REFQUAD.
732 2001-08-30  Ulrich Drepper  <drepper@redhat.com>
734         * crypt/md5-crypt.c (__md5_crypt_r): Compute used and required
735         memory correctly.
737         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Use __open
738         instead of open, __close instead of close, __getpagesize instead
739         of getpagesize.
741         * string/argz-stringify.c (__argz_stringify): Use __strnlen
742         instead of strnlen.
743         * include/string.h (strndupa): Redefine here to use __strnlen
744         instead of strnlen.
745         * string/strndup.c (__strndup): Use __strnlen not strnlen.
747         * misc/syslog.c (vsyslog): Fix typo in last change (connect ->
748         connected).
750 2001-08-30  Jakub Jelinek  <jakub@redhat.com>
752         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
753         R_ALPHA_RELATIVE if RTLD_BOOTSTRAP and HAVE_Z_COMBRELOC.  Only check
754         for rtld map if neither RTLD_BOOTSTRAP nor HAVE_Z_COMBRELOC is defined.
755         * sysdeps/i386/dl-machine.h (elf_machine_rel): Similarly.
756         * sysdeps/ia64/dl-machine.h (elf_machine_rel): Similarly.
757         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rel): Similarly.
758         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rel): Similarly.
760 2001-08-30  Ulrich Drepper  <drepper@redhat.com>
762         * sysdeps/alpha/fpu/libm-test-ulps: Adjust j0 ULPs.
764 2001-08-30  Andreas Jaeger  <aj@suse.de>
766         * sysdeps/ieee754/ldbl-128/e_jnl.c: New file,
767         contributed Stephen L Moshier.
769 2001-08-30  Jakub Jelinek  <jakub@redhat.com>
771         * sunrpc/etc.rpc (sgi_fam): Add.
773 2001-08-30  Ulrich Drepper  <drepper@redhat.com>
775         * sysdeps/unix/sysv/linux/alpha/gethostname.c: New file.
777 2001-08-29  Ulrich Drepper  <drepper@redhat.com>
779         * nis/nis_findserv.c (__nis_findfastest): Don't fail if reply received
780         first is from a previous call.
781         Patch by Alexander Belopolsky <alexb@rentec.com> for [PR libc/3670].
783 2001-08-29  Andreas Schwab  <schwab@suse.de>
785         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
787 2001-08-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
789         * config.make.in (INSTALL_SCRIPT): Define.
790         * Makeconfig (INSTALL_SCRIPT): Define.
791         * Makerules (do-install-script): New macro to install scripts using
792         INSTALL_SCRIPT.
793         (install-bin-script): New rule to install scripts with
794         do-install-script.
795         (install-bin-script-nosubdir): New rule.
796         (install-no-libc.a-nosubdir): Add install-bin-script-nosubdir.
797         (distinfo-vars): Add $(install-bin-script).
798         * Rules (others): Likewise.
799         * Makefile (glibcbug): Install with install-bin-script.
800         * debug/Makefile (xtrace): Likewise.
801         (catchsegv): Likewise.
802         * elf/Makefile (ldd): Likewise.
803         * malloc/Makefile (mtrace): Likewise.
804         * timezone/Makefile (tzselect): Likewise.
806 2001-08-29  H.J. Lu  <hjl@gnu.org>
808         * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Pass
809         ELF_RTYPE_CLASS_PLT, instead of R_MIPS_REL32, to
810         _dl_lookup_versioned_symbol () and _dl_lookup_symbol ().
812 2001-08-29  Andreas Schwab  <schwab@suse.de>
814         * sysdeps/m68k/fpu/libm-test-ulps: Updated.
816 2001-08-28  H.J. Lu  <hjl@gnu.org>
818         * Makeconfig (combreloc-LDFLAGS): New variable.
819         Add it to LDFLAGS.so, LDFLAGS-rtld, and +link.
820         * config.make.in (have-z-combreloc): New variable.
821         * configure.in: Substitute libc_cv_z_combreloc.
823 2001-08-29  Ulrich Drepper  <drepper@redhat.com>
825         * po/sv.po: Update from translation team.
826         * po/fr.po: Likewise.
827         * po/da.po: Likewise.
829 2001-08-28  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
831         * Makerules: Fix a typo: MD% -> MD5.
833 2001-08-28  Ulrich Drepper  <drepper@redhat.com>
835         * sunrpc/rpc_hout.c (pargdef): Function must take pointer to object.
836         Patch by Patrick Duval <Patrick.Duval@devinci.fr>.
838 2001-08-28  Andreas Jaeger  <aj@suse.de>
840         * manual/libc-texinfo.sh: Add entry about free manuals.
842         * manual/contrib.texi (Contributors): Fix cross reference.
844         * manual/libc.texinfo (Copying): Include freemanuals.
846         * manual/Makefile (appendices): Add freemanuals.
848         * manual/freemanuals.texi: New file.
849         Patch by Brian Youmans <3diff@gnu.org>.
851         * manual/libm-err-tab.pl: Pretty print more platforms, print a
852         smaller table.
854         * manual/math.texi (Errors in Math Functions): Fix grammar, start
855         table on separate page.
856         Patch by Brian Youmans <3diff@gnu.org>.
858 2001-08-27  Ulrich Drepper  <drepper@redhat.com>
860         * misc/syslog.c (vsyslog): Try a bit harder to use syslogd.  If
861         the connection went down after we first used it try to connect
862         again and resend the message before printing to the console.
863         Reported by Coserea Gh. Tudor <tudore@tudore.gecadsoftware.com>.
865 2001-08-27  Jakub Jelinek  <jakub@redhat.com>
867         * string/tst-strlen.c (main): Test strnlen (, -1) too.
868         * sysdeps/generic/strnlen.c (__strnlen): Fix for maxlens with top
869         bit set.
871 2001-08-27  Ulrich Drepper  <drepper@redhat.com>
873         * iconv/strtab.c (searchstring): Use correct length for comparison.
874         (strtabadd): Account total size correct if new string has old string as
875         substring.
877 2001-08-27  Jakub Jelinek  <jakub@redhat.com>
879         * elf/rtld.c (dl_main): Update call to _dl_lookup_symbol.
881 2001-08-27  Andreas Jaeger  <aj@suse.de>
883         * sysdeps/i386/fpu/libm-test-ulps (float): Add ulps for new tests.
885         * math/libm-test.inc (j0_test): Add extra tests.
886         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Use |x|,
887         not x, in Hankel approximation.
888         Patches by Stephen L Moshier.
890 2001-08-26  Ulrich Drepper  <drepper@redhat.com>
892         * sysdeps/ia64/dl-lookupcfg.h: Add forward declaration for struct
893         link_map.
895         * configure.in: Fix test for .rela.dyn section.
897         * elf/dl-runtime.c: Update calls to _dl_lookup_*.
899 2001-08-26  Jakub Jelinek  <jakub@redhat.com>
901         * elf/dl-reloc.c (RESOLVE_MAP, RESOLVE): Use elf_machine_type_class
902         instead of elf_machine_lookup_noexec_p and elf_machine_lookup_noplt_p.
903         Pass type_class to _dl_lookup_*.
904         * elf/dl-lookup.c (_dl_lookup_symbol): Take type_class parameter now.
905         Pass around just type_class instead of noexec, noplt pair.
906         (_dl_lookup_versioned_symbol): Likewise.
907         (_dl_lookup_symbol_skip): Pass around just type_class instead of
908         noexec, noplt pair.
909         (_dl_lookup_versioned_symbol_skip): Likewise.
910         (_dl_do_lookup, _dl_do_lookup_versioned): Likewise.
911         * elf/do-lookup.h (do_lookup): Likewise.
912         * include/link.h (struct link_map): Replace noexec and noplt fields
913         in l_lookup_cache with type_class field.
914         * sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_PLT,
915         ELF_RTYPE_CLASS_COPY): Define.
916         Adjust prototypes for _dl_lookup_symbol and
917         _dl_lookup_versioned_symbol.
918         * sysdeps/alpha/dl-machine.h (elf_machine_lookup_noplt_p,
919         elf_machine_lookup_noexec_p): Remove.
920         (elf_machine_type_class): Define.
921         * sysdeps/arm/dl-machine.h: Likewise.
922         * sysdeps/hppa/dl-machine.h: Likewise.
923         * sysdeps/cris/dl-machine.h: Likewise.
924         * sysdeps/i386/dl-machine.h: Likewise.
925         * sysdeps/ia64/dl-machine.h: Likewise.
926         * sysdeps/m68k/dl-machine.h: Likewise.
927         * sysdeps/mips/mips64/dl-machine.h: Likewise.
928         * sysdeps/mips/dl-machine.h: Likewise.
929         * sysdeps/powerpc/dl-machine.h: Likewise.
930         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
931         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
932         * sysdeps/sh/dl-machine.h: Likewise.
933         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
934         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
936 2001-08-26  Ulrich Drepper  <drepper@redhat.com>
938         * manual/message.texi (Advanced gettext functions): Change
939         description of plural forms for Slovak.
940         Reported by Marcel Telka <marcel@telka.sk>.
942         * manuaL/time.texi (Low-Level Time String Parsing): Fix description of
943         %z.  Reported by C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>.
945 2001-08-26  Jakub Jelinek  <jakub@redhat.com>
947         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_lazy_rel): Fix a
948         typo.  Patch by Florian La Roche <laroche@redhat.com>.
950 2001-08-26  Ulrich Drepper  <drepper@redhat.com>
952         * include/link.h (struct link_map): Add l_lookup_cache element.
953         * elf/dl-reloc.c (RESOLVE): Add symbol caching here.
954         (RESOLVE_MAP): Likewise.
955         (_dl_relocate_object): Remove cache initialization.
956         * elf/dl-lookup.c: Rip out cache handling code.
957         * sysdeps/generic/ldsodefs.h: Remove lookup_cache struct and variable
958         declarations.
960         * elf/dl-lookup.c (_dl_lookup_symbol): Reorder some conditions and
961         remove some __builtin_expect.
962         (_dl_lookup_versioned_symbol): Likewise.
964         * config.h.in: Add HAVE_Z_COMBRELOC.
965         * configure.in: Add test for -z combreloc.
967         * sysdeps/i386/dl-machine.h (elf_machine_rel): Minor cleanups and
968         optimizations.  Use HAVE_Z_COMBRELOC to avoid generaton of
969         R_386_RELATIVE handling for ld.so startup.  Reduce RTLD_BOOTSTRAP
970         case to almost no code.
972 2001-08-25  Ulrich Drepper  <drepper@redhat.com>
974         * po/tr.po: Update from translation team.
976 2001-08-24  Andreas Jaeger  <aj@suse.de>
978         * iconv/Makefile (extra-objs): Add iconvconfig-modules so that
979         make clean works.
981 2001-08-24  Ulrich Drepper  <drepper@redhat.com>
983         * elf/rtld.c (print_statistics): Printf % after percent values.
984         * elf/dl-misc.c (_dl_debug_vdprintf): Implement %%.
986         * elf/dl-lookup.c (_dl_lookup_symbol): If we use the cache we
987         don't have to compute the hash value and initialize current_value.
988         Move reference_name variable to where it is needed.
989         (_dl_lookup_versioned_symbol): Likewise.
991 2001-08-24  Roland McGrath  <roland@frob.com>
993         * string/tester.c (test_strerror): Don't use _sys_errlist/_sys_nerr.
994         Just test that strerror returns non-null for a few errno codes.
996 2001-08-23  Roland McGrath  <roland@frob.com>
998         * hurd/Versions (libc: GLIBC_2.2.5): New set; add _hurd_raise_signal,
999         _hurdsig_interrupt_timeout, _hurdsig_fault_preemptor.
1001         * sysdeps/posix/shm_unlink.c (shm_unlink): __unlink -> unlink.
1003         * mach/Versions (libc: GLIBC_2.2.5): New set; add __mach_msg_destroy,
1004         __mach_reply_port.
1006 2001-08-24  Ulrich Drepper  <drepper@redhat.com>
1008         * nss/test-netdb.c (test_hosts): Don't segfault if gethostname
1009         returns NULL.
1011         * elf/do-rel.h (elf_dynamic_do_rel): Fix problem with ld.so
1012         startup.  Explicitly remove lazy part for RTLD_BOOTSTRAP since gcc
1013         doesn't do it.
1014         * elf/rtld.c: Include <sys/param.h>.
1015         * elf/dl-reloc.c: Likewise.
1017 2001-08-24  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
1019         * sysdeps/unix/sysv/linux/mips/configure.in: Define AC_SUBST to
1020         empty to prevent junk from being generated.
1021         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1023 2001-08-24  Jakub Jelinek  <jakub@redhat.com>
1025         * elf/do-rel.h (elf_dynamic_do_rel): If l_addr is 0, skip relative
1026         records.  Rename endrel to relative, initialize it to r, and use it
1027         in elf_machine_rel_relative calls.  Point r after relative relocs.
1029 2001-08-24  Ulrich Drepper  <drepper@redhat.com>
1031         * sysdeps/i386/dl-machine.h (elf_machine_rel): Correct prediction
1032         of R_386_NONE.
1034 2001-08-24  Jakub Jelinek  <jakub@redhat.com>
1036         * elf/do-rel.h (elf_machine_rel_relative): Define for rela if
1037         necessary.  Undefine newly defined macros at the end.
1038         * sysdeps/hppa/dl-machine.h (elf_machine_rela_relative):
1039         Rename from elf_machine_rel_relative.
1040         * sysdeps/cris/dl-machine.h (elf_machine_rela_relative): Likewise.
1041         * sysdeps/m68k/dl-machine.h (elf_machine_rela_relative): Likewise.
1042         * sysdeps/powerpc/dl-machine.h (elf_machine_rela_relative): Likewise.
1043         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela_relative):
1044         Likewise.
1045         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela_relative):
1046         Likewise.
1047         * sysdeps/ia64/dl-machine.h (elf_machine_rela_relative): Likewise.
1048         Fix argument types.
1049         * sysdeps/alpha/dl-machine.h (elf_machine_rela_relative): Likewise.
1050         Fix argument types.
1051         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela_relative):
1052         Likewise.  Fix argument types.
1053         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela_relative):
1054         Likewise.  Fix argument types.
1055         * sysdeps/sh/dl-machine.h (elf_machine_rela_relative): Likewise.
1056         Fix argument types.
1057         * sysdeps/mips/dl-machine.h (elf_machine_rel_relative): Use
1058         ElfW(Rel) in argument.
1059         * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel_relative): New
1060         function.
1062 2001-08-24  Alexandre Oliva  <aoliva@redhat.com>
1064         * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix typo.
1066 2001-08-24  Andreas Jaeger  <aj@suse.de>
1068         * sysdeps/ieee754/ldbl-128/e_j1l.c: New file, contributed by
1069         Stephen L Moshier <moshier@mediaone.net>.
1071 2001-08-24  Ulrich Drepper  <drepper@redhat.com>
1073         * elf/do-rel.h (elf_dynamic_do_rel): RELATIVE relocations comes
1074         first if RELCOUNT is set.
1076         * elf/do-rel.h (elf_dynamic_do_rel): If not relocating lazily, don't
1077         call elf_machine_rel for the last DT_RELCOUNT relocations but instead
1078         elf_machine_rel_relative.
1079         * sysdeps/alpha/dl-machine.h: Define elf_machine_rel_relative.
1080         Minor optimizations.
1081         * sysdeps/arm/dl-machine.h: Likewise.
1082         * sysdeps/cris/dl-machine.h: Likewise.
1083         * sysdeps/hppa/dl-machine.h: Likewise.
1084         * sysdeps/i386/dl-machine.h: Likewise.
1085         * sysdeps/ia64/dl-machine.h: Likewise.
1086         * sysdeps/m68k/dl-machine.h: Likewise.
1087         * sysdeps/mips/dl-machine.h: Likewise.
1088         * sysdeps/powerpc/dl-machine.h: Likewise.
1089         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1090         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1091         * sysdeps/sh/dl-machine.h: Likewise.
1092         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1093         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1095 2001-08-23  Roland McGrath  <roland@frob.com>
1097         * rt/tst-aio4.c [! SIGRTMIN] (SIGRTMIN, SIGRTMAX): Define as -1.
1099         * sysdeps/mach/hurd/bits/libc-lock.h: New file, initially copied from
1100         sysdeps/mach version.  Implement counting ("recursive") mutexes
1101         on top of cthreads mutexes.
1102         * sysdeps/mach/hurd/bits/stdio-lock.h: File removed; generic now works.
1104         * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Define to
1105         _LIBC_LOCK_RECURSIVE_INITIALIZER if defined, else do an #error.
1106         (__libc_cleanup_region_start, __libc_cleanup_region_end,
1107         __libc_clean_end): Define these to call the cleanup function after
1108         normal exit when they're supposed to.
1110         * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start):
1111         Take new first arg DOIT, a boolean saying whether to really install
1112         any cleanup handler.
1113         (__libc_cleanup_region_end): Do nothing if start's DOIT arg was zero.
1114         (__libc_cleanup_end): Likewise.
1115         * sysdeps/generic/bits/libc-lock.h: Same changes.
1116         * stdio-common/vfscanf.c (LOCK_STREAM): Pass new arg.
1117         * stdio-common/vfprintf.c (buffered_vfprintf, vfprintf): Likewise.
1118         * sysdeps/mach/hurd/bits/stdio-lock.h (_IO_cleanup_region_start):
1119         Likewise.
1120         * misc/syslog.c (vsyslog, openlog, closelog): Likewise.
1121         * sysdeps/generic/bits/stdio-lock.h
1122         (_IO_cleanup_region_start, _IO_cleanup_region_start_noarg): Likewise.
1124 2001-08-23  Jakub Jelinek  <jakub@redhat.com>
1126         * elf/ldconfig.c (search_dir): Remove stale symlinks.
1128 2001-08-23  Jakub Jelinek  <jakub@redhat.com>
1130         * elf/dl-lookup.c (lookup_cache, lookup_cache_versioned): New.
1131         (_dl_lookup_symbol): Lookup relocations in cache and store successfull
1132         lookups in cache.
1133         (_dl_lookup_versioned_symbol): Likewise.
1134         * elf/dl-reloc.c (_dl_relocate_object): Initialize cache for
1135         relocation lookup.
1136         * elf/rtld.c (print_statistics): Output _dl_num_cache_relocations.
1137         * sysdeps/generic/ldsodefs.h (struct lookup_cache): New definition.
1138         (lookup_cache, lookup_cache_versioned): Add declarations.
1140 2001-08-23  Ulrich Drepper  <drepper@redhat.com>
1142         * stdlib/tst-random.c (main): Swap parameters in fail call.
1143         Patch by Pete Bevin <pete@petebevin.com>.
1145 2001-08-23  Jakub Jelinek  <jakub@redhat.com>
1147         * sysdeps/generic/inttypes.h: Use __gwchar_t instead of __wchar_t.
1149 2001-08-23  Ulrich Drepper  <drepper@redhat.com>
1151         * malloc/obstack.c: Indent preprocessor directives.
1152         Patch by Jim Meyering <meyering@ascend.com>.
1154         * po/ja.po: Update from translation team.
1156 2001-08-23  Roland McGrath  <roland@frob.com>
1158         * libio/tst-ungetwc1.c (main): Add a const to quiet a warning.
1160         * nss/test-netdb.c (test_hosts): Don't use MAXHOSTNAMELEN.
1161         Instead, use dynamic buffer to test gethostname's ENAMETOOLONG error.
1163 2001-08-22  Roland McGrath  <roland@frob.com>
1165         * sysdeps/generic/ldsodefs.h (_dl_load_lock): Declare it here with
1166         __libc_lock_define_recursive.
1167         * elf/dl-open.c: Don't declare it here any more.
1168         * elf/dl-close.c: Likewise.
1169         * elf/dl-lookup.c: Likewise.
1170         * elf/dl-iteratephdr.c: Likewise.
1171         * elf/dl-lookup.c (add_dependency): Use __libc_lock_lock_recursive and
1172         __libc_lock_unlock_recursive.
1173         * elf/dl-close.c (_dl_close): Likewise
1174         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise
1175         * elf/dl-open.c (_dl_open): Likewise
1177         * sysdeps/generic/bits/libc-lock.h
1178         (__libc_lock_define_recursive): New macro.
1179         * sysdeps/generic/bits/stdio-lock.h (_IO_lock_t): Use it.
1180         (_IO_lock_lock): Use __libc_lock_lock_recursive.
1181         (_IO_lock_unlock): Use __libc_lock_unlock_recursive.
1183         * conform/conformtest.pl (checknamespace): Sort the output list.
1185         * sysdeps/generic/bits/poll.h (POLLWRBAND): New alias for POLLOUT.
1186         (POLLRDNORM, POLLRDBAND, POLLWRNORM, POLLWRBAND): Make these
1187         definitions conditional on [__USE_XOPEN].
1189         * sysdeps/mach/hurd/bits/fcntl.h (O_ASYNC, O_FSYNC, O_SYNC): Define
1190         these unconditionally, not only use [__USE_BSD], so as to match
1191         the sysdeps/unix/sysv/linux files.
1193 2001-08-22  Ulrich Drepper  <drepper@redhat.com>
1195         * test-skeleton.c (add_temp_file): Add __attribute__ ((unused)) to
1196         avoid warnings.
1198         * dlfcn/tst-dladdr.c (do_test): Get address of ref1 using
1199         DL_LOOKUP_ADDRESS.
1201 2001-08-22  Roland McGrath  <roland@frob.com>
1203         * sysdeps/generic/bits/sigaction.h (struct sigaction): Fix up
1204         conditionalization of sa_handler/sa_sigaction member types to
1205         match the sysdeps/unix/sysv/linux file.
1207 2001-08-22  Ulrich Drepper  <drepper@redhat.com>
1209         * elf/dl-addr.c (_dl_addr): Handle broken binaries with zero
1210         symbol sizes a bit better.
1212         * sysdeps/ia64/strncpy.S: Complete rewrite.
1213         Contributed by Jakub Jelinek <jakub@redhat.com>.
1215         * string/stratcliff.c (main): Add strncpy test.
1217 2001-08-22  Roland McGrath  <roland@frob.com>
1219         * sysdeps/generic/dl-environ.c: Include <stdlib.h> and <unistd.h>,
1220         and don't declare unsetenv or _environ directly.
1221         (unsetenv): Return int, not void.  Use __environ instead of _environ.
1223 2001-08-01  Mark Kettenis  <kettenis@gnu.org>
1225         * sysdeps/unix/bsd/bsd4.4/Makefile: New file.
1226         * sysdeps/unix/bsd/bsd4.4/Versions: New file.
1227         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: New file.
1228         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Correct
1229         test for cmsg struct size.
1231 2001-04-23  Paul Eggert  <eggert@twinsun.com>
1233         * posix/getopt.h (getopt_long, getopt_long_only, _getopt_internal):
1234         Rename __argc to ___argc in prototypes to avoid compatibility
1235         problems with systems that reserve the identifier "__argc".
1236         Similarly for __argv.
1238 2001-08-21  Roland McGrath  <roland@frob.com>
1240         * stdio-common/tst-fseek.c: Include <time.h> for `time' declaration.
1242         * mach/Makefile (tests): Removed.
1243         * mach/hello.c: File removed.
1245 2001-08-22  Ulrich Drepper  <drepper@redhat.com>
1247         * po/sv.po: Update from translation team.
1249         * stdio-common/vfscanf.c: Fix handling of %l[].
1250         Reported by Mitsuru Chinen <mchinen@yamato.ibm.com>.
1252         * libio/Makefile (tests): Add tst-sscanf.
1253         * libio/tst-sscanf.c: New file.
1255         * elf/dl-addr.c (_dl_addr): Fix tests to determine dli_sname.
1256         * malloc/mtrace.c (tr_where): dli_sname always points to a
1257         non-empty string if != NULL.
1258         Reported by Tim Janik <timj@gtk.org>.
1260 2001-08-22  Jakub Jelinek  <jakub@redhat.com>
1262         * sunrpc/xdr_rec.c (xdrrec_create): Fix buf sizes before allocating
1263         buf.  Free resources on failure.
1264         * sunrpc/svc_unix.c (svcunix_create): Free resources on failure.
1265         (makefd_xprt): Likewise.
1266         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
1267         * sunrpc/svc_tcp.c (svctcp_create, makefd_xprt): Likewise.
1268         * sunrpc/auth_unix.c (authunix_create): Likewise.
1270 2001-08-21  Jakub Jelinek  <jakub@redhat.com>
1272         * string/strnlen.c: Remove.
1273         * sysdeps/generic/strnlen.c: New.
1274         * sysdeps/i386/i486/bits/string.h (strnlen): Remove.
1276 2001-08-21  Roland McGrath  <roland@frob.com>
1278         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Define this
1279         as a macro, not an extern inline function.
1281         * hurd/Versions (GLIBC_2.2.5): New set, define __hurd_fail here.
1282         * Versions.def (libc): Add GLIBC_2.2.5 set.
1283         * hurd/hurd.h (_HURD_H_EXTERN_INLINE): New macro.
1284         (__hurd_fail): Use that instead of _EXTERN_INLINE in decl.
1286 2001-08-20  Roland McGrath  <roland@frob.com>
1288         * hurd/hurdlookup.c (__hurd_file_name_lookup): Fail with ENOENT for "".
1289         (__hurd_file_name_split, __hurd_directory_name_split): Likewise.
1291 2001-08-21  Ulrich Drepper  <drepper@redhat.com>
1293         * string/bits/string2.h: Remove strnlen optimization here.
1294         * sysdeps/i386/i486/bits/string.h: Add it here.
1296 2001-08-21  Wolfram Gloger  <wg@malloc.de>
1298         * malloc/malloc.c: Make access to ..._hook pointers thread-safe.
1300 2001-08-21  Ulrich Drepper  <drepper@redhat.com>
1302         * po/gl.po: Update from translation team.
1304 2001-08-20  Ulrich Drepper  <drepper@redhat.com>
1306         * misc/error.c (error_tail): Use fputws_unlocked instead of fputws.
1307         * misc/err.c (convert_and_print): Likewise.
1309         * malloc/obstack.c (print_and_abort): Use fprintf instead of two
1310         function calls.
1312 2001-08-20  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1314         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Revert the
1315         change of the gregset_t type.
1316         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1318 2001-08-20  kaz Kojima  <kkojima@rr.iij4u.or.jp>
1320         * sysdeps/unix/sysv/linux/sh/sysdep.S: Align errno.
1322 2001-08-20  Ulrich Drepper  <drepper@redhat.com>
1324         * posix/regex.c (truncate_wchar): Use wcrtomb not wctomb.
1326         * string/strnlen.c: Fix the implementation.  We cannot use memchr.
1328 2001-08-18  Mark Kettenis  <kettenis@gnu.org>
1330         * sysdeps/mach/hurd/i386/init-first.c (init): Initialize __environ
1331         before calling the cthreads initialization code.
1333 2001-08-20  Ulrich Drepper  <drepper@redhat.com>
1335         * argp/argp-help.c: Fix two problems introduced in last change.
1337         * include/dirent.h: Include <dirstream.h> first.
1339 2001-08-19  Ulrich Drepper  <drepper@redhat.com>
1341         * io/fts.c (fts_safe_changedir): Use __fxstat64 instead of __fstat.
1343         * sunrpc/svcauth_des.c (_svcauth_des): Avoid using bcopy.
1344         * sunrpc/xdr_rec.c: Likewise.
1345         * sunrpc/xdr_mem.c: Likewise.
1346         * sunrpc/svc_authux.c (_svcauth_unix): Likewise.
1347         * sunrpc/rpc_cmsg.c: Likewise.
1348         * sunrpc/getrpcport.c (getrpcport): Likewise.
1349         * sunrpc/clnt_simp.c (callrpc): Likewise.
1350         * sunrpc/clnt_gen.c (clnt_create): Likewise.
1351         * string/envz.c: Likewise.
1353         * po/ko.po: Update from translation team.
1355         * argp/argp-help.c: Handle wide oriented stderr stream.
1357 2001-08-18  Ulrich Drepper  <drepper@redhat.com>
1359         * sysdeps/generic/strtol.c: Little optimizations.  Add some
1360         __builtin_expect.
1362         * conform/conformtest.pl: <inttypes.h> test requires <stddef.h>.
1364         * wcsmbs/wchar.h (wcwdith): Change parameter type to wchar_t.
1365         * wcsmbs/wcwidth.c (wcwdith): Likewise.
1366         * wcsmbs/wcwidth.h (internal_wcwdith): Likewise.
1368         * conform/data/unistd.h-data: Remove _SC_MULTIPLE_PROCESS.
1370         * conform/data/ucontext.h-data: Fix typos in ucontext_t element tests.
1372         * time/time.h (struct timespec): Use __time_t for tv_sec element.
1374         * sysdeps/generic/inttypes.h: Define __wchar_t.  Use it instead of
1375         wchar_t for function declarations and defintions.
1377         * misc/sys/select.h: Define __need_time_t before including <time.h>.
1378         Define suseconds_t if it hasn't happened yet.
1380         * iconv/gconv.h: Define __need_wchar_t before including <stddef.h>.
1382         * conform/data/sys/uio.h-data: Allow UIO_MAXIOV to be defined.
1384         * sysdeps/generic/stdint.h: Don't get definition of wchar_t from
1385         <stddef.h>.
1387         * conform/data/stddef.h-data: Remove wint_t.
1389         * conform/conformtest.pl: Change namespace test to take #undef
1390         lines into account.
1392         * conform/data/netinet/in.h-data: Fix typo in allow-header line.
1394         * conform/data/sys/socket.h-data: Add sockatmark.
1396 2001-08-17  Ulrich Drepper  <drepper@redhat.com>
1398         * io/fts.c: Update from recent BSD source.
1400 2001-08-17  Roland McGrath  <roland@frob.com>
1402         * stdio-common/perror.c (perror) [! USE_IN_LIBIO]: Don't use _IO_fwide.
1403         * misc/error.c (error_tail, error, error_at_line) [! USE_IN_LIBIO]:
1404         Likewise.
1406 2001-08-17  Ulrich Drepper  <drepper@redhat.com>
1408         * locale/duplocale.c (__duplocale): Also initialize the special
1409         __ctype_* elements.
1411         * conform/data/netdb.h-data: Adjust gai_strerror return type.
1413 2001-08-17  Andreas Jaeger  <aj@suse.de>
1415         * misc/getpass.c: Include wchar.h for prototypes.
1416         * malloc/obstack.c: Likewise.
1418 2001-08-17  Ulrich Drepper  <drepper@redhat.com>
1420         * sunrpc/svc_simple.c (universal): Use __write instead of write.
1422         * wcsmbs/wcscoll.c: Also define __wcscoll.
1423         * include/wchar.h: Declare __wcscoll.
1425         * libio/fwprintf.c: Use __vfwprintf instead of vfwprintf.
1426         * libio/vwprintf.c: Likewise.
1427         * libio/wprintf.c: Likewise.
1429         * iconv/gconv_cache.c: Use __munmap instead of munmap.
1431 2001-08-16  Ulrich Drepper  <drepper@redhat.com>
1433         * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
1434         instead of mbrtowc.
1435         [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
1436         wcslen, and __wcscoll instead of wcscoll.
1438         * sysdeps/unix/sockatmark.c (sockatmark): Use __ioctl instead of ioctl.
1440         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue): Use
1441         __getuid instead of getuid.
1443         * stdio-common/perror.c (perror): Use __close instead of close.
1444         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
1445         * libio/freopen.c (freopen): Likewise.
1446         * libio/freopen64.c (freopen64): Likewise.
1448         * libio/tst-ungetwc2.c (main): Define str const.
1450         * include/wchar.h: Add prototypes for __fwprintf and __vfwprintf.
1451         * libio/fwprintf.c: Also define __fwprintf.
1452         * stdio-common/vfprintf.c [COMPILE_WPRINTF]: Also define __vfwprintf.
1453         * argp/argp-fmtstream.c: Handle wide oriented stderr stream.
1454         * assert/assert-perr.c: Likewise.
1455         * assert/assert.c: Likewise.
1456         * gmon/gmon.c: Likewise.
1457         * inet/rcmd.c: Likewise.
1458         * malloc/obstack.c: Likewise.
1459         * misc/err.c: Likewise.
1460         * misc/error.c: Likewise.
1461         * misc/getpass.c: Likewise.
1462         * posix/getopt.c: Likewise.
1463         * resolv/res_hconf.c: Likewise.
1464         * stdio-common/perror.c: Likewise.
1465         * stdio-common/psignal.c: Likewise.
1466         * stdlib/fmtmsg.c: Likewise.
1467         * sunrpc/auth_unix.c: Likewise.
1468         * sunrpc/clnt_perr.c: Likewise.
1469         * sunrpc/clnt_tcp.c: Likewise.
1470         * sunrpc/clnt_udp.c: Likewise.
1471         * sunrpc/clnt_unix.c: Likewise.
1472         * sunrpc/svc_simple.c: Likewise.
1473         * sunrpc/svc_tcp.c: Likewise.
1474         * sunrpc/svc_udp.c: Likewise.
1475         * sunrpc/svc_unix.c: Likewise.
1476         * sunrpc/xdr.c: Likewise.
1477         * sunrpc/xdr_array.c: Likewise.
1478         * sunrpc/xdr_rec.c: Likewise.
1479         * sunrpc/xdr_ref.c: Likewise.
1480         * sysdeps/generic/wordexp.c: Likewise.
1482         * po/it.po: Update from translation team.
1484         * misc/err.c: Handle wide oriented stderr stream.
1486 2001-08-14  Tom Rix  <trix@redhat.com>
1488         * iconv/gconv_cache.c (find_module): Add #ifndef STATIC_GCONV.
1489         * iconv/Makefile: Fix gconv_cache.c CFLAGS.
1491 2001-08-13  Tom Rix  <trix@redhat.com>
1493         * sysdeps/unix/sysv/aix/Makefile: Add rule to import kernel symbols.
1494         * sysdeps/unix/sysv/aix/bits/types.h: Fix type of __id_t, __useconds_t
1495         and __intptr_t.
1497 2001-08-15  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1499         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S (__getcontext):
1500         Store the access registers to the ucontext structure.
1501         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S (__getcontext):
1502         Likewise.
1504         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S (__setcontext):
1505         Load the access registers from the ucontext structure.
1506         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S (__setcontext):
1507         Likewise.
1509         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: Adjust the SC_xxx
1510         offsets to the new ucontext layout.
1511         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: Likewise.
1513         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix the layout
1514         of the ucontext structure.
1515         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1517 2001-08-15  Ulrich Drepper  <drepper@redhat.com>
1519         * misc/error.c (error): Handle wide oriented stderr stream correctly.
1520         (error_at_line): Likewise.
1522         * stdio-common/perror.c (perror): Implement according to standard.
1523         The stream orientation must not be changed if the stream was not
1524         oriented before the call.
1525         * stdio-common/Makefile (tests): Add tst-perror.
1526         * stdio-common/tst-perror.c: New file.
1529 See ChangeLog.12 for earlier changes.