Update.
[glibc.git] / ChangeLog
blob03c6aa3c1b05e4bd74692e51f76e5f2c3f5652b2
1 2001-11-17  Ulrich Drepper  <drepper@redhat.com>
3         * posix/regex.c (byte_re_match_2_internal): For gcc replace switch
4         statement with gotos.
5         Based on a patch by Paolo Bonzini <bonzini@pc-amo3.elet.polimi.it>.
7 2001-11-16  Stephen L Moshier  <moshier@mediaone.net>
9         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfcl): Fix K&R header.
11 2001-11-15  Ulrich Drepper  <drepper@redhat.com>
13         * sysdeps/generic/unwind-dw2-fde.c: Don't use recursive mutexes.
15 2001-10-02  Jakub Jelinek  <jakub@redhat.com>
16             H.J. Lu  <hjl@gnu.org>
18         * configure.in (libc_cv_gcc_static_libgcc): Set to -static-libgcc
19         if gcc supports this flag.
20         (EXPORT_UNWIND_FIND_FDE): Define unless target configure disables it.
21         (gcc3): Allow glibc to be compiled with gcc 3.x.
22         * config.h.in (EXPORT_UNWIND_FIND_FDE): Add.
23         * config.make.in (static-libgcc, unwind-find-fde): Add.
24         * Makerules (build-shlib-helper, build-module-helper): Use it.
25         * scripts/versions.awk: Make sure GLIBC_ versions come first.
26         * elf/soinit.c (__libc_global_ctors): Set tbases and dbases if
27         necessary.
28         (_fini): Call __deregister_frame_info_bases if
29         __register_frame_info_bases was used to register.
30         * elf/Versions (__register_frame_info, __deregister_frame_info): Add
31         for GLIBC_2.0.
32         (__register_frame_info_bases, __register_frame_info_table_bases,
33         __deregister_frame_info_bases, _Unwind_Find_FDE): Add for GLIBC_2.2.5.
34         * elf/Makefile (routines): Add unwind-dw2-fde.
35         (shared-only-routines): Add unwind-dw2-fde.
36         * sysdeps/alpha/gccframe.h: New file.
37         * sysdeps/arm/gccframe.h: New file.
38         * sysdeps/generic/framestate.c: New file.
39         * sysdeps/generic/dwarf2.h: New file.
40         * sysdeps/generic/gccframe.h (struct object): Update from gcc 3.0.
41         * sysdeps/generic/unwind-dw2-fde.c: New file.
42         * sysdeps/unix/sysv/linux/ia64/unwind-dw2-fde.c: New file.
43         * sysdeps/generic/unwind-dw2-fde.h: New file.
44         * sysdeps/generic/unwind-dw2.c: New file.
45         * sysdeps/generic/unwind-pe.h: New file.
46         * sysdeps/generic/unwind.h: New file.
47         * sysdeps/hppa/gccframe.h: New file.
48         * sysdeps/i386/gccframe.h: New file.
49         * sysdeps/m68k/gccframe.h: New file.
50         * sysdeps/mips/gccframe.h: New file.
51         * sysdeps/powerpc/gccframe.h: New file.
52         * sysdeps/s390/gccframe.h: New file.
53         * sysdeps/sh/gccframe.h: New file.
54         * sysdeps/sparc/gccframe.h: New file.
55         * sysdeps/vax/gccframe.h: New file.
56         * sysdeps/unix/sysv/linux/configure.in (libc_cv_gcc_unwind_find_fde):
57         Set on all architectures except ia64.
58         * sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Set
59         for i386.
60         * sysdeps/mach/hurd/i386/Versions (__register_frame_info,
61         __deregister_frame_info): Move to elf/Versions.
62         * sysdeps/unix/sysv/linux/m68k/Versions: Likewise.
63         * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
64         * sysdeps/unix/sysv/linux/alpha/Versions: Likewise.
65         * sysdeps/unix/sysv/linux/i386/Versions: Likewise.
66         * sysdeps/unix/sysv/linux/mips/Versions: Likewise.
67         * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
68         * sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise.
69         * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
70         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
71         * sysdeps/mach/hurd/i386/Makefile (sysdep-routines): Add framestate.
72         * sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
73         * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
74         * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
75         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
76         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
77         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
78         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
79         * sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
81 2001-11-15  Jeff Law  <law@redhat.com>
83         * posix/regex.c (uintptr_t): Do not provide a definition if the
84         system provided one.
86 2001-11-13  Roland McGrath  <roland@frob.com>
88         * stdio-common/tmpfile.c: Moved to ...
89         * sysdeps/generic/tmpfile.c: ... here.
90         * sysdeps/mach/hurd/tmpfile.c: New file.
92         * hurd/fopenport.c (__fopenport): Renamed from fopenport.
93         [USE_IN_LIBIO] (fopencookie): #define as _IO_fopencookie.
94         (fopenport): Define as weak alias.
96         * libio/iofopncook.c (_IO_fopencookie): Move forward declaration ...
97         * libio/libioP.h: ... to here.
99 2001-11-12  Ulrich Drepper  <drepper@redhat.com>
101         * elf/dl-reloc.c (_dl_relocate_object): Avoid iterating over
102         program header twice.  Construct list with the needed information.
104 2001-11-10  Ulrich Drepper  <drepper@redhat.com>
106         * po/ca.po: Update from translation team.
108         * elf/dl-load.c (_dl_map_object_from_fd): Remove use of
109         _dl_pf_to_prot.  Use arithmetic operation using PF_TO_PROT macro.
110         * sysdeps/generic/ldsodefs.h (PF_TO_PROT): New macro.
111         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
113 2001-11-10  Andreas Jaeger  <aj@suse.de>
115         * sysdeps/ieee754/ldbl-128/e_log2l.c: New file.
116         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
117         Contributed by Stephen L Moshier <moshier@mediaone.net>.
119 2001-11-09  Ulrich Drepper  <drepper@redhat.com>
121         * elf/dl-minimal.c (realloc): Handle NULL for first parameter
122         correctly.
123         * elf/dl-load.c (is_dst): New function.
124         (_dl_dst_count): Use is_dst to check for DST variable.
125         (_dl_dst_substitute): Likewise.
127 2001-11-09  Roland McGrath  <roland@frob.com>
129         Hurd/PowerPC port contributed by Peter Bruin <pjbruin@dds.nl>.
130         * sysdeps/mach/hurd/powerpc/exc2signal.c: New file.
131         * sysdeps/mach/hurd/powerpc/init-first.c: New file.
132         * sysdeps/mach/hurd/powerpc/intr-msg.h: New file.
133         * sysdeps/mach/hurd/powerpc/longjmp-ts.c: New file.
134         * sysdeps/mach/hurd/powerpc/register-dump.h: New file.
135         * sysdeps/mach/hurd/powerpc/sigreturn.c: New file.
136         * sysdeps/mach/hurd/powerpc/static-start.S: New file.
137         * sysdeps/mach/hurd/powerpc/trampoline.c: New file.
138         * sysdeps/mach/hurd/powerpc/bits/sigcontext.h: New file.
139         * sysdeps/mach/hurd/powerpc/Dist: New file.
141         * hurd/privports.c (__get_privileged_ports):
142         Only contact the proc server if necessary for this call.
143         Suggested by Neal H Walfield <neal@cs.uml.edu>.
144         Check error return for mach_port_mod_refs.
146 2001-11-09  Andreas Schwab  <schwab@suse.de>
148         * sysdeps/unix/sysv/linux/m68k/bits/resource.h: New file.
150 2001-11-09  Ulrich Drepper  <drepper@redhat.com>
152         * elf/dl-load.c (lose): Remove some unnecessary code.  The new
153         object is always the last in the list.
154         (_dl_map_object_from_fd): Delete code to remove from object list
155         when DF_1_NOOPEN is seen.  This is done in lose.
157 2001-11-08  Ulrich Drepper  <drepper@redhat.com>
159         * elf/dl-object.c (_dl_new_object): Various small optimizations.
161 2001-11-07  Ulrich Drepper  <drepper@redhat.com>
163         * sysdeps/generic/dl-cache.c: Optimize SEARCH_CACHE and
164         HWCAP_CHECK macro code.
166         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Optimize code a bit.
167         Now returns MAP_FAILED on error.
168         * elf/rtld.c: Adjust caller.
169         * sysdeps/generic/dl-cache.c: Likewise.
170         * sysdeps/generic/ldsodefs.h: Adjust description.
172         * elf/dl-version.c (match_symbol): Optimize error handling for size.
173         (_dl_check_map_versions): Likewise.
175 2001-11-06  Ulrich Drepper  <drepper@redhat.com>
177         * elf/dl-load.c (_dl_map_object_from_fd): Don't call
178         _dl_signal_error directly, always use lose.  Set fd to -1 after
179         file is closed.
180         (lose): Don't call close if fd == -1.
182 2001-11-07  Kaoru Fukui  <k_fukui@highway.ne.jp>
184         * manual/charset.texi: Fix typo @w[ISO 6937] to  @w{ISO 6937}.
185          Also fix typo @code {mbsinit} to @code{mbsinit}.
187 2001-11-06  Ulrich Drepper  <drepper@redhat.com>
189         * elf/dl-profile.c: Replace state variable with simple flag named
190         running.  Remove commented-out code.
192         * elf/dl-load.c (decompose_rpath): Optimize error handling for size.
193         (_dl_init_paths): Likewise.
194         (_dl_map_object_from_fd): Likewise.
195         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
197 2001-11-06  Roland McGrath  <roland@frob.com>
199         * sysdeps/mach/powerpc/sysdep.h: Include sysdeps/unix/powerpc/sysdep.h
200         instead of sysdeps/powerpc/elf/sysdep.h and sysdeps/unix/sysdep.h.
202         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't include
203         sysdeps/powerpc/elf/sysdep.h.
204         Reported by Kaoru Fukui <k_fukui@highway.ne.jp>.
206 2001-11-05  Ulrich Drepper  <drepper@redhat.com>
208         * elf/rtld.c (process_dl_debug): Rewritten.  Optimized for size not
209         speed.
210         (process_envvars): Some more optimizations.
211         * sysdeps/generic/ldsodefs.h (DL_DEBUG_HELP): New macro.
213         * elf/elf.h: Add dynamic tag definitions for prelinking.
215         * elf/rtld.c (process_envvars): Avoid using array of string pointers.
216         Rewrite code to remove environment varables for SUID binaries.
217         Small optimization in LD_PROFILE handling.
218         * sysdeps/generic/unsecvars.h: Adjust format for process_envvars
219         changes.
220         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
222         * sysdeps/generic/dl-sysdep.c: Don't initialize _dl_cpuclock_offset.
224         * elf/dl-reloc.c (_dl_reloc_bad_type): Rewrite to not use writable
225         strings.  Change type of second parameter.
226         * sysdeps/generic/ldsodefs.h: Adjust _dl_reloc_bad_type prototype
227         for last change.
229         * io/fts.h: Prevent using <fts.h> with _FILE_OFFSET_BITS=64.
231 2001-11-04  Joseph S. Myers  <jsm28@cam.ac.uk>
233         * manual/string.texi: Fix typos.
234         * manual/examples/argp-ex2.c: Likewise.
236 2001-11-05  Roland McGrath  <roland@frob.com>
238         * sysdeps/powerpc/elf/sysdep.h: Remove this file, because it overrides
239         the more-specific unix/sysv/linux/powerpc file and breaks everything.
240         * sysdeps/powerpc/sysdep.h (ALIGNARG, ASM_TYPE_DIRECTIVE,
241         ASM_SIZE_DIRECTIVE, CALL_MCOUNT, ENTRY, EALIGN, DO_CALL, JUMPTARGET,
242         PSEUDO, PSEUDO_RET, PSEUDO_END, L, C_TEXT): These macros moved here
243         here, put under [__ELF__].
245 2001-11-05  Ulrich Drepper  <drepper@redhat.com>
247         * manual/charset.texi: Extensive editing work.
248         * manual/nss.texi: Likewise.
249         Changes by Dennis Grace <dgrace@us.ibm.com>.
251 2001-11-04  Roland McGrath  <roland@frob.com>
253         * hurd/set-host.c (_hurd_set_host_config): Use O_WRONLY in flags
254         parameter to dir_mkfile.
256 2001-11-02  Jakub Jelinek  <jakub@redhat.com>
258         * string/bits/string2.h (__strndup): If n is smaller than len, set
259         len to n + 1.
260         * string/tester.c (test_strndup): New function.
261         (main): Call it.
263 2001-11-01  Ulrich Drepper  <drepper@redhat.com>
265         * sunrpc/rpc_main.c: Optimize variable definitions a bit.
267         * sunrpc/Makefile (rpcgen-cmd): Use ../scripts/cpp in rpcgen calls.
268         * scripts/cpp: New file.
270         * elf/dl-load.c (_dl_map_object): Correct test of DF_1_NODEFLIB
271         for rtld_search_dirs content.  Minor optimizations.
273 2001-10-31  Ulrich Drepper  <drepper@redhat.com>
275         * elf/dl-load.c (_dl_map_object): Make code a bit more compact by
276         avoiding unnecessary duplication.
278 2001-10-31  Jakub Jelinek  <jakub@redhat.com>
280         * elf/dl-load.c (_dl_map_object): If library was found using
281         LD_LIBRARY_PATH, don't try RUNPATH list.
283 2001-10-31  Martin Schwidefsky  <schwidefsky@de.ibm.com>
285         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h (REGISTER_DUMP):
286         Correct second argument of register_dump call.
287         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h (REGISTER_DUMP):
288         Likewise.
290 2001-10-31  Ulrich Drepper  <drepper@redhat.com>
292         * iconvdata/Makefile: Add support for IBM1132, IBM1133, and IBM1162
293         modules.
294         * iconvdata/TESTS: Likewise.
295         * iconvdata/gconv-modules: Likewise.
296         * iconvdata/ibm1132.c: New file.
297         * iconvdata/ibm1132.h: New file.
298         * iconvdata/ibm1133.c: New file.
299         * iconvdata/ibm1133.h: New file.
300         * iconvdata/ibm1162.c: New file.
301         * iconvdata/ibm1162.h: New file.
302         * iconvdata/testdata/IBM1132: New file.
303         * iconvdata/testdata/IBM1132..UTF8: New file.
304         * iconvdata/testdata/IBM1133: New file.
305         * iconvdata/testdata/IBM1133..UTF8: New file.
306         * iconvdata/testdata/IBM1162: New file.
307         * iconvdata/testdata/IBM1162..UTF8: New file.
308         Patches by Masahide Washizawa <WASHI@jp.ibm.com>.
310         * string/string.h: Fix typo in comment.
311         * wcsmbs/wchar.h: Likewise.
313 2001-10-30  Joseph S. Myers  <jsm28@cam.ac.uk>
315         * manual/getopt.texi (getopt_long, getopt_long_only): Include
316         const in type of longopts parameter.
318 2001-10-29  Andreas Jaeger  <aj@suse.de>
320         * sysdeps/ieee754/dbl-64/mpa.h: Add prototypes for internal functions.
322 2001-10-29  Kevin Ryde  <user42@zip.com.au>
324         * manual/stdio.texi (Integer Conversions): Corrections to sample printf
325         output, clarify `#' behaviour on 0.
326         (Floating-Point Conversions): Clarify that %g only uses %e when
327         the exponent would be greater than 1.
329 2001-10-28  Roland McGrath  <roland@frob.com>
331         Support for Mach/PowerPC contributed by Peter Bruin <pjbruin@dds.nl>.
332         * sysdeps/mach/powerpc/machine-sp.h: New file.
333         * sysdeps/mach/powerpc/sysdep.h: New file.
334         * sysdeps/mach/powerpc/thread_state.h: New file.
336         * sysdeps/mach/hurd/i386/Makefile: File removed; crt0.o rules moved ...
337         * sysdeps/mach/hurd/Makefile: ... to here.  For the time being, we can
338         expect to need the same thing on every platform.
340         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: File moved ...
341         * sysdeps/generic/sys/ucontext.h: ... to replace this one.
343         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (ALIGNARG,
344         ASM_TYPE_DIRECTIVE, ASM_SIZE_DIRECTIVE, CALL_MCOUNT, ENTRY, EALIGN,
345         DO_CALL, JUMPTARGET, PSEUDO, PSEUDO_RET, PSEUDO_END, L, C_TEXT):
346         Move all these assembly-related definitions to ...
347         * sysdeps/powerpc/elf/sysdep.h: ... this new file.
349         * sysdeps/mach/powerpc/machine-lock.h: Assembly code rewritten
350         by Peter Bruin <pjbruin@dds.nl>.
352         * hurd/hurdselect.c (_hurd_select): Check SELECT_RETURNED bit when
353         packing results for a `poll' call.
355 2001-10-26  Ulrich Drepper  <drepper@redhat.com>
357         * posix/fnmatch_loop.c: Recognize - at end of bracket expression
358         correctly.
359         * posix/tst-fnmatch.input: Add tests for - at beginning and end of
360         bracket expression.
362         * string/strxfrm.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get
363         nrules value.
364         * string/tst-strxfrm.c (test): Also test __strxfrm_l.
366 2001-10-24  H.J. Lu  <hjl@gnu.org>
368         * sysdeps/generic/bits/dlfcn.h (DL_CALL_FCT): Cast to void *.
369         Use __BEGIN_DECLS/__END_DECLS around prototypes.
370         * sysdeps/mips/bits/dlfcn.h (DL_CALL_FCT): Likewise.
372 2001-10-21  Jim Meyering  <meyering@lucent.com>
374         * malloc/obstack.c (_): Honor the setting of ENABLE_NLS.  Otherwise,
375         this code would end up calling gettext even in packages built
376         with --disable-nls.
377         * posix/getopt.c (_): Likewise.
378         * posix/regex.c (_): Likewise.
380 2001-10-26  Ulrich Drepper  <drepper@redhat.com>
382         * resolv/gethnamaddr.c (gethostbyaddr): Use ip6.addr for reverse
383         lookup not ip6.int.
384         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
385         Reported by Martin.v.Loewis@t-online.de [PR libc/2598].
387 2001-10-19  Jakub Jelinek  <jakub@redhat.com>
389         * misc/sys/cdefs.h (__attribute_used__): Define.
390         * elf/rtld.c (_dl_start): Add __attribute_used__.
391         * elf/dl-runtime.c (fixup, profile_fixup): Likewise.
393 2001-10-25  Andreas Schwab  <schwab@suse.de>
395         * stdlib/a64l.c: Expect least significant digit first.
396         * stdlib/l64a.c: Produce least significant digit first.
397         * stdlib/Makefile (tests): Add test-a64l.
398         * stdlib/test-a64l.c: New file.
399         Reported by Masaki Hasegawa <masaki-h@pp.iij4u.or.jp>.
401 2001-10-21  Ulrich Drepper  <drepper@redhat.com>
403         * po/sk.po: Update from translation team.
405 2001-10-18  Ulrich Drepper  <drepper@redhat.com>
407         * sysdeps/i386/elf/start.S (_fp_hw): Define object type.
409 2001-10-18  Andreas Schwab  <schwab@suse.de>
411         * math/libm-test.inc (print_ulps): Print ulp values rounded to
412         next whole number.
413         (print_function_ulps): Likewise.
414         (print_complex_function_ulps): Likewise.
415         (print_max_error): Likewise.
416         (print_complex_max_error): Likewise.  Handle ignore_max_ulp.
418 2001-10-16  Andreas Schwab  <schwab@suse.de>
420         * sysdeps/m68k/fpu/libm-test-ulps: Updated for fixed cbrtl
421         implementation.
423         * sysdeps/m68k/setjmp.c: Also define setjmp and _setjmp if
424         BSD_SETJMP or BSD__SETJMP is defined, resp.
425         * sysdeps/m68k/bsd-setjmp.c: Inline setjmp code instead of making
426         a tail call to __sigsetjmp that would require extending the
427         caller's frame.
428         * sysdeps/m68k/bsd-_setjmp.c: Likewise.
429         * sysdeps/m68k/bsd-setjmp.S: Deleted.
430         * sysdeps/m68k/bsd-_setjmp.S: Deleted.
431         Reported by Jes Sorensen <jes@trained-monkey.org>.
433 2001-10-16  Andreas Jaeger  <aj@suse.de>
435         * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Fix
436         parentheses.  Reported by David Byron <dbyron@porto.coactive.com>,
437         close PR libc/2589.
439 2001-10-15  Ulrich Drepper  <drepper@redhat.com>
441         * po/ca.po: New file.  Contributed by the translation team.
443 2001-10-15  Ralf Baechle  <ralf@gnu.org>
445         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Make sysmips() prototype
446         a varargs prototype.  Remove dependency from kernel header files.
448         * sysdeps/unix/sysv/linux/mips/bits/termios.h: General cleanup, use
449         __USE_MISC / __USE_XOPEN not __USE_BSD where appropriate.
451 2001-10-14  Ulrich Drepper  <drepper@redhat.com>
453         * locale/programs/ld-collate.c (handle_ellipsis): Use %lX not %lx
454         to generate hexadecimal identifier.
455         Patch by Jungshik Shin <jungshik.shin@yale.edu>.
457 2001-10-09  Stephen L Moshier  <moshier@mediaone.net>
459         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Fix algorithm.
461 2001-10-14  Ulrich Drepper  <drepper@redhat.com>
463         * sysdeps/ieee754/ldbl-128/e_powl.c: New file.
464         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: New file.
465         Contributed by Stephen L Moshier <moshier@mediaone.net>.
467         * sysdeps/ieee754/ldbl-128/e_j0l.c: Constify float variables.
468         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
469         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise
470         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise
471         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise
472         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise
474         * timezone/africa: Update from tzdata2001d.
475         * timezone/asia: Likewise.
476         * timezone/australasia: Likewise.
477         * timezone/backward: Likewise.
478         * timezone/europe: Likewise.
479         * timezone/leapseconds: Likewise.
480         * timezone/northamerica: Likewise.
481         * timezone/southamerica: Likewise.
482         * timezone/zone.tab: Likewise.
484 2001-10-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
486         * sysdeps/s390/s390-32/sys/ucontext.h: Correct __psw_t typedef.
487         * sysdeps/s390/s390-64/sys/ucontext.h: Likewise.
489 2001-10-12  Ulrich Drepper  <drepper@redhat.com>
491         * elf/elf.h (PT_TLS): New definition.
493 2001-10-10  Jeff Bailey  <jbailey@nisa.net>
495         * sysdeps/mach/hurd/Makefile: Add $(CFLAGS) for generation of
496         bits/errno.h
498 2001-10-07  Roland McGrath  <roland@frob.com>
500         * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Never return ENOSYS.
502 2001-10-10  Ulrich Drepper  <drepper@redhat.com>
504         * elf/elf.h: Add more ELFOSABI_* constants.
506 2001-10-04  Ben Collins  <bcollins@debian.org>
508         * sysdeps/generic/inttypes.h: Fix typo (define, not defined) in
509         decleration of __need_wchar_t.
511 2001-10-03  Jakub Jelinek  <jakub@redhat.com>
513         * string/bits/string2.h (__strsep_g): Add prototype.
514         (__strsep): Use it.
515         * string/Versions (__strsep): Remove.
516         * sysdeps/generic/strsep.c (__strsep_g): Add alias to __strsep.
518 2001-10-07  Ulrich Drepper  <drepper@redhat.com>
520         * manua/llio.texi: Clarify file references added by mmap.
521         Patch by Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
523 2001-09-29  Jes Sorensen  <jes@trained-monkey.org>
525         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
526         Add sc_loadrs and sc_rbs_bas to match current kernel.
528 2001-09-27  Jakub Jelinek  <jakub@redhat.com>
530         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
532         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Fix erfc(-inf).
534 2001-09-27  Jakub Jelinek  <jakub@redhat.com>
536         * elf/dl-open.c (dl_open_worker): If l_opencount of freshly loaded
537         object has been bumped because of relocation dependency, avoid
538         duplicates in l_scope.
539         (show_scope): Fix typos.
540         * elf/Makefile: Add rules to build and run reldep6.
541         * elf/reldep6.c: New file.
542         * elf/reldep6mod0.c: New file.
543         * elf/reldep6mod1.c: New file.
544         * elf/reldep6mod2.c: New file.
545         * elf/reldep6mod3.c: New file.
546         * elf/reldep6mod4.c: New file.
548 2001-09-26  Jakub Jelinek  <jakub@redhat.com>
550         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Call
551         sparc64_fixup_plt.
552         (sparc64_fixup_plt): Moved from elf_machine_fixup_plt.  Optimize
553         near jumps and 0xfffff800XXXXXXXX target addresses, no thread safety
554         for non-lazy binding. Fix .plt[32768+] handling.
555         (elf_machine_plt_value): Don't add addend.
556         (elf_machine_rela): Call sparc64_fixup_plt instead of
557         elf_machine_fixup_plt.
558         (elf_machine_runtime_setup, TRAMPOLINE_TEMPLATE): Optimize for
559         dynamic linker at 0xfffff800XXXXXXXX.
561         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
563 2001-09-28  Ulrich Drepper  <drepper@redhat.com>
565         * elf/elf.h: Define SHF_GROUP and SHF_TLS.
567 2001-09-25  Jakub Jelinek  <jakub@redhat.com>
569         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (struct cmsghdr): Don't
570         declare __cmsg_data field if its size would be bigger than 0.
571         (CMSG_DATA): Adjust accordingly.
572         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
573         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Likewise.
574         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
575         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
576         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
577         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
578         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
580 2001-09-25  Ulrich Drepper  <drepper@redhat.com>
582         * iconvdata/TESTS: Add entries for IBM1160 and IBM1161.
583         * iconvdata/testdata/IBM1160: New file.
584         * iconvdata/testdata/IBM1160..UTF8: New file.
585         * iconvdata/testdata/IBM1161: New file.
586         * iconvdata/testdata/IBM1161..UTF8: New file.
587         Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
589 2001-09-24  Ulrich Drepper  <drepper@redhat.com>
591         * sysdeps/unix/bsd/ulimit.c (ulimit): Handle overflow in
592         UL_SETFSIZE computations better.
594         * rt/Makefile: Remove use of filter for librt again.
596         * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Handle overflow in
597         UL_SETFSIZE computations better.
599         * string/Versions: Export __strsep for GLIBC_2.2.5.
600         * string/bits/string2.h: Define all __STRING_INLINE functions if
601         _FORCE_INLINES is defined.
602         Use int instead of char of parameter types.
603         (__strsep): Don't use __strsep_g.  Don't define it.
604         (__strsep_1c, __strsep_2c, __strsep_3c): Optimize.
605         * sysdeps/i386/i486/string.h (__strcpy_a_small): Renamed from
606         __strcpy_small.
607         (__stpcpy_a_small): Renamed from __stpcpy_small.
608         (__strcspn_c1): Don't define if _FORCE_INLINES.
609         (__strspn_c1): Likewise.
611 2001-09-22  Ben Collins  <bcollins@debian.org>
613         * sysdeps/sparc/bits/sigaction.h: Define SA_RESTART and friends when
614         _UNIX98_SOURCE is defined too.  Matches generic/bits/sigaction.h.
615         * sysdeps/ia64/bits/sigaction.h: Likewise.
616         * sysdeps/s390/s390-64/bits/sigaction.h: Likewise.
618 2001-09-24  Andrew Haley  <aph@cambridge.redhat.com>
620         * sysdeps/unix/sysv/linux/sh/Makefile (sysdep_headers): Add sys/io.h.
622 2001-09-24  Jakub Jelinek  <jakub@redhat.com>
624         * elf/dl-open.c (dl_open_worker): Update l_scope_max.
626 2001-09-24  Ulrich Drepper  <drepper@redhat.com>
628         * wcsmbs/wchar.h: Add __attribute_pure__ to mbsinit prototype.
630 2001-09-20  H.J. Lu  <hjl@gnu.org>
632         * include/dlfcn.h (__RTLD_SPROF): New definiton.
633         * elf/dl-open.c (dl_open_worker): Return immediately after loading
634         for __RTLD_SPROF.
635         * elf/sprof.c (main): Default to the filename if soname doesn't exist.
636         (load_shobj): Call dlopen with `RTLD_LAZY | __RTLD_SPROF'.
638 2001-09-20  H.J. Lu  <hjl@gnu.org>
640         * elf/dl-profile.c (_dl_mcount): Use old *narcsp value for newarc,
641         don't add 1.
643 2001-09-22  Ulrich Drepper  <drepper@redhat.com>
645         * nss/getent.c: Accept -s parameter to overwrite rules in
646         nsswitch.conf.  Patch by Nalin Dahyabhai <nalin@redhat.com>.
648         * nss/nss_files/files-network.c (LINE_PARSER): Pad addr string
649         with as many ".0" as necessary to form a complete address
650         inet_network understands.
652         * nss/getent.c: Various cleanups.  Use simpler and fewer function
653         calls.
655 2001-09-20  Martin Schwidefsky  <schwidefsky@de.ibm.com>
657         * sysdeps/s390/s390-32/bits/setjmp.h: Correct pointer comparison in
658         _JMPBUF_UNWINDS.
659         * sysdeps/s390/s390-64/bits/setjmp.h: Likewise.
661 2001-09-22  Ulrich Drepper  <drepper@redhat.com>
663         * iconvdata/Makefile: Add rules to build and distribute IBM1160 and
664         IBM1161.
665         * iconvdata/gconv-modules: Add entries for IBM1160 and IBM1161.
666         * iconvdata/ibm1160.c: New file.
667         * iconvdata/ibm1160.h: New file.
668         * iconvdata/ibm1161.c: New file.
669         * iconvdata/ibm1161.h: New file.
670         Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
672 2001-09-19  Jakub Jelinek  <jakub@redhat.com>
674         * sysdeps/alpha/dl-machine.h (elf_machine_load_address): Compute the
675         difference between base address and first PT_LOAD's virtual address,
676         not the base address.
678 2001-09-11  Tom Rix  <trix@redhat.com>
680         * sysdeps/unix/sysv/aix/init-first.c (init):  Use USE_NONONPTION_FLAG
681         ifdef for __getopt_clean_environment.
682         * sysdeps/unix/sysv/aix/libc-start.c: Add real implementation.
684 2001-09-22  Andreas Jaeger  <aj@suse.de>
686         * elf/reldep4.c (main): Add proper prototype to fix warning.
688         * elf/reldep5.c (main): Remove unused variable.
690         * math/math_private.h: Add prototypes.
692 2001-09-21  Andreas Jaeger  <aj@suse.de>
694         * sysdeps/unix/sysv/linux/x86_64/Dist: New file.
695         * sysdeps/x86_64/Dist: New file.
696         * sysdeps/x86_64/soft-fp/Dist: New file.
698         * sysdeps/gnu/Dist: Remove eval.c.
700 2001-09-20  Ulrich Drepper  <drepper@redhat.com>
702         * malloc/memusage.c (realloc): Don't count already allocated
703         memory in the sums.
704         (me): Always use dlsym() to find the real implementations.
706         * malloc/memusage.sh: Make -n option actually do something.
708 2001-09-20  Andreas Jaeger  <aj@suse.de>
710         * elf/elf.h (R_390_NUM): Correct value.
712         * Versions.def: Add missing versions 2.2.3 for libthread_db and
713         libpthread.
715         * sysdeps/unix/sysv/linux/configure.in: Add minimal kernel version
716         for x86-64, install x86-64 into */lib64.
718         * shlib-versions: Add x86-64.
720         * elf/elf.h: Add x86-64 relocations.
722 2001-09-19  Ulrich Drepper  <drepper@redhat.com>
724         * po/fr.po: Update from translation team.
726 2001-09-19  Andreas Jaeger  <aj@suse.de>
728         * sysdeps/unix/sysv/linux/x86_64/Makefile: New file.
729         * sysdeps/unix/sysv/linux/x86_64/Versions: New file.
730         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: New file.
731         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: New file.
732         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: New file.
733         * sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: New file.
734         * sysdeps/unix/sysv/linux/x86_64/bits/time.h: New file.
735         * sysdeps/unix/sysv/linux/x86_64/bits/types.h: New file.
736         * sysdeps/unix/sysv/linux/x86_64/brk.c: New file.
737         * sysdeps/unix/sysv/linux/x86_64/clone.S: New file.
738         * sysdeps/unix/sysv/linux/x86_64/fstatfs64.c: New file.
739         * sysdeps/unix/sysv/linux/x86_64/ftruncate64.c: New file.
740         * sysdeps/unix/sysv/linux/x86_64/fxstat.c: New file.
741         * sysdeps/unix/sysv/linux/x86_64/fxstat64.c: New file.
742         * sysdeps/unix/sysv/linux/x86_64/getdents.c: New file.
743         * sysdeps/unix/sysv/linux/x86_64/getdents64.c: New file.
744         * sysdeps/unix/sysv/linux/x86_64/getrlimit64.c: New file.
745         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
746         * sysdeps/unix/sysv/linux/x86_64/glob64.c: New file.
747         * sysdeps/unix/sysv/linux/x86_64/lxstat.c: New file.
748         * sysdeps/unix/sysv/linux/x86_64/lxstat64.c: New file.
749         * sysdeps/unix/sysv/linux/x86_64/mmap64.c: New file.
750         * sysdeps/unix/sysv/linux/x86_64/pread64.c: New file.
751         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: New file.
752         * sysdeps/unix/sysv/linux/x86_64/pwrite64.c: New file.
753         * sysdeps/unix/sysv/linux/x86_64/readdir.c: New file.
754         * sysdeps/unix/sysv/linux/x86_64/readdir64.c: New file.
755         * sysdeps/unix/sysv/linux/x86_64/readdir64_r.c: New file.
756         * sysdeps/unix/sysv/linux/x86_64/readdir_r.c: New file.
757         * sysdeps/unix/sysv/linux/x86_64/recv.c: New file.
758         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: New file.
759         * sysdeps/unix/sysv/linux/x86_64/send.c: New file.
760         * sysdeps/unix/sysv/linux/x86_64/setrlimit64.c: New file.
761         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: New file.
762         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: New file.
763         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: New file.
764         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: New file.
765         * sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: New file.
766         * sysdeps/unix/sysv/linux/x86_64/statfs64.c: New file.
767         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: New file.
768         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: New file.
769         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: New file.
770         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: New file.
771         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: New file.
772         * sysdeps/unix/sysv/linux/x86_64/syscall.S: New file.
773         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: New file.
774         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: New file.
775         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: New file.
776         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
777         * sysdeps/unix/sysv/linux/x86_64/truncate64.c: New file.
778         * sysdeps/unix/sysv/linux/x86_64/umount.c: New file.
779         * sysdeps/unix/sysv/linux/x86_64/vfork.S: New file.
780         * sysdeps/unix/sysv/linux/x86_64/xstat.c: New file.
781         * sysdeps/unix/sysv/linux/x86_64/xstat64.c: New file.
782         * sysdeps/unix/x86_64/sysdep.S: New file.
783         * sysdeps/unix/x86_64/sysdep.h: New file.
784         * sysdeps/x86_64/Implies: New file.
785         * sysdeps/x86_64/Makefile: New file.
786         * sysdeps/x86_64/Versions: New file.
787         * sysdeps/x86_64/__longjmp.S: New file.
788         * sysdeps/x86_64/abort-instr.h: New file.
789         * sysdeps/x86_64/atomicity.h: New file.
790         * sysdeps/x86_64/bits/endian.h: New file.
791         * sysdeps/x86_64/bits/setjmp.h: New file.
792         * sysdeps/x86_64/bits/string.h: New file.
793         * sysdeps/x86_64/bp-asm.h: New file.
794         * sysdeps/x86_64/bsd-_setjmp.S: New file.
795         * sysdeps/x86_64/bsd-setjmp.S: New file.
796         * sysdeps/x86_64/dl-machine.h: New file.
797         * sysdeps/x86_64/elf/initfini.c: New file.
798         * sysdeps/x86_64/elf/start.S: New file.
799         * sysdeps/x86_64/ffs.c: New file.
800         * sysdeps/x86_64/ffsll.c: New file.
801         * sysdeps/x86_64/fpu/bits/fenv.h: New file.
802         * sysdeps/x86_64/fpu/bits/mathdef.h: New file.
803         * sysdeps/x86_64/fpu/e_acosl.c: New file.
804         * sysdeps/x86_64/fpu/e_atan2l.c: New file.
805         * sysdeps/x86_64/fpu/e_exp2l.S: New file.
806         * sysdeps/x86_64/fpu/e_expl.c: New file.
807         * sysdeps/x86_64/fpu/e_fmodl.S: New file.
808         * sysdeps/x86_64/fpu/e_log10l.S: New file.
809         * sysdeps/x86_64/fpu/e_log2l.S: New file.
810         * sysdeps/x86_64/fpu/e_logl.S: New file.
811         * sysdeps/x86_64/fpu/e_powl.S: New file.
812         * sysdeps/x86_64/fpu/e_rem_pio2l.c: New file.
813         * sysdeps/x86_64/fpu/e_scalbl.S: New file.
814         * sysdeps/x86_64/fpu/e_sqrtl.c: New file.
815         * sysdeps/x86_64/fpu/fclrexcpt.c: New file.
816         * sysdeps/x86_64/fpu/fedisblxcpt.c: New file.
817         * sysdeps/x86_64/fpu/feenablxcpt.c: New file.
818         * sysdeps/x86_64/fpu/fegetenv.c: New file.
819         * sysdeps/x86_64/fpu/fegetexcept.c: New file.
820         * sysdeps/x86_64/fpu/fegetround.c: New file.
821         * sysdeps/x86_64/fpu/feholdexcpt.c: New file.
822         * sysdeps/x86_64/fpu/fesetenv.c: New file.
823         * sysdeps/x86_64/fpu/fesetround.c: New file.
824         * sysdeps/x86_64/fpu/fgetexcptflg.c: New file.
825         * sysdeps/x86_64/fpu/fraiseexcpt.c: New file.
826         * sysdeps/x86_64/fpu/fsetexcptflg.c: New file.
827         * sysdeps/x86_64/fpu/ftestexcept.c: New file.
828         * sysdeps/x86_64/fpu/libm-test-ulps: New file.
829         * sysdeps/x86_64/fpu/math_ldbl.h: New file.
830         * sysdeps/x86_64/fpu/printf_fphex.c: New file.
831         * sysdeps/x86_64/fpu/s_atanl.c: New file.
832         * sysdeps/x86_64/fpu/s_cosl.S: New file.
833         * sysdeps/x86_64/fpu/s_expm1l.S: New file.
834         * sysdeps/x86_64/fpu/s_fpclassifyl.c: New file.
835         * sysdeps/x86_64/fpu/s_isinfl.c: New file.
836         * sysdeps/x86_64/fpu/s_isnanl.c: New file.
837         * sysdeps/x86_64/fpu/s_log1pl.S: New file.
838         * sysdeps/x86_64/fpu/s_logbl.c: New file.
839         * sysdeps/x86_64/fpu/s_nextafterl.c: New file.
840         * sysdeps/x86_64/fpu/s_nexttoward.c: New file.
841         * sysdeps/x86_64/fpu/s_nexttowardf.c: New file.
842         * sysdeps/x86_64/fpu/s_rintl.c: New file.
843         * sysdeps/x86_64/fpu/s_significandl.c: New file.
844         * sysdeps/x86_64/fpu/s_sincosl.S: New file.
845         * sysdeps/x86_64/fpu/s_sinl.S: New file.
846         * sysdeps/x86_64/fpu/s_tanl.S: New file.
847         * sysdeps/x86_64/gmp-mparam.h: New file.
848         * sysdeps/x86_64/hp-timing.c: New file.
849         * sysdeps/x86_64/hp-timing.h: New file.
850         * sysdeps/x86_64/htonl.S: New file.
851         * sysdeps/x86_64/memusage.h: New file.
852         * sysdeps/x86_64/setjmp.S: New file.
853         * sysdeps/x86_64/soft-fp/sfp-machine.h: New file.
854         * sysdeps/x86_64/stackinfo.h: New file.
855         * sysdeps/x86_64/sysdep.h: New file.
856         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: New file.
858         * sysdeps/ieee754/ldbl-128/s_erfl.c: New file, contributed Stephen
859         L Moshier.
861 2001-09-18  Ulrich Drepper  <drepper@redhat.com>
863         * malloc/malloc.c (ptmalloc_init): Handle _environ==NULL.
864         Reported by B. D. Elliott <bde@nwlink.com> [PR libc/2541].
866 2001-09-18  Andreas Schwab  <schwab@suse.de>
868         * elf/dl-load.c (_dl_map_object_from_fd): Update handling of scope
869         list, now that l_scope is a pointer.
871         * elf/dl-open.c (dl_open_worker): Fix thinko when enlarging the
872         scope list.
874 2001-09-18  kaz Kojima  <kkojima@rr.iij4u.or.jp>
876         * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix reverse condition.
877         (elf_machine_rela_relative): Add a missing declaration.
879 2001-09-18  Jakub Jelinek  <jakub@redhat.com>
881         * sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: New file.
882         * sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed: New file.
883         * sysdeps/unix/sysv/linux/configure.in: Add ia64 and s390
884         ldd-rewrite scripts.
886 2001-09-18  Ulrich Drepper  <drepper@redhat.com>
888         * elf/ldd.bash.in: Update copyright message.
890 2001-09-17  H.J. Lu  <hjl@gnu.org>
892         * hurd/hurdmalloc.c (bcopy): Removed.
893         (realloc): Replace bcopy with memcpy.
894         * hurd/path-lookup.c (file_name_path_scan): Likewise.
895         * resolv/gethnamaddr.c (map_v4v6_address): Likewise.
896         * sunrpc/rpcinfo.c (pmapdump): Likewise.
898         * resolv/gethnamaddr.c (getanswer): Replace bcopy with memmove.
899         (gethostbyaddr): Likewise.
900         * sunrpc/rpcinfo.c (get_inet_address): Likewise.
902 2001-09-18  Ulrich Drepper  <drepper@redhat.com>
904         * sysdeps/gnu/eval.c: Removed.
906 2001-09-18  Andreas Jaeger  <aj@suse.de>
908         * sysdeps/i386/fpu/s_logbl.S: Move to ...
909         * sysdeps/i386/fpu/s_logbl.c: ...here, use inline assembler.
911         * sysdeps/i386/fpu/s_rintl.S: Move to ...
912         * sysdeps/i386/fpu/s_rintl.c: ...here, use inline assembler.
914         * sysdeps/i386/fpu/s_significandl.S: Move to ...
915         * sysdeps/i386/fpu/s_significandl.c: ...here, use inline assembler.
917 2001-09-16  Ulrich Drepper  <drepper@redhat.com>
919         * string/strcoll.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get
920         nrules value.
922 2001-09-14  H.J. Lu  <hjl@gnu.org>
924         * sysdeps/mips/fpu/libm-test-ulps: Updated.
926 2001-09-14  Ulrich Drepper  <drepper@redhat.com>
928         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix a typo.
929         Patch by Florian La Roche <laroche@redhat.com>.
931         * string/bits/string2.h (__strtok_r_1c): Optimize a bit.
933         * sysdeps/unix/sysv/linux/net/ethernet.h: Correct references to
934         ETHER_CRC_LEN.
936 2001-09-14  Andreas Schwab  <schwab@suse.de>
938         * posix/execl.c: Fix last argument of memcpy.  Reported by Brian
939         Sumner <bls@sgi.com>.
940         * posix/execlp.c: Likewise.
942 2001-09-13  Jakub Jelinek  <jakub@redhat.com>
944         * elf/dl-deps.c (_dl_map_object_deps): Fix filter handling if filter
945         is already found earlier in the search scope.
947 2001-09-12  Jakub Jelinek  <jakub@redhat.com>
949         * rt/Makefile (LDFLAGS-rt.so): Use shared thread library as librt's
950         filter.
952 2001-09-13  Ulrich Drepper  <drepper@redhat.com>
954         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust expected errors for j0.
956 2001-09-12  Ulrich Drepper  <drepper@redhat.com>
958         * config.h.in: Enforce optimization to be used.
959         * Makeconfig (preprocess-versions): Define ASSEMBLER.
960         * stdlib/Makefile (isomac-CFLAGS): Define to -O.
961         * posix/Makefile (annexc-CFLAGS): Define to -O.
962         * sysdeps/unix/make-syscalls.sh: Define __OPTIMIZE__ in use of asm_CPP.
964 2001-09-11  Ulrich Drepper  <drepper@redhat.com>
966         * nscd/nscd_gethst_r.c: Don't expect IPv6 addresses for IPv4 lookup.
967         Patch by Stephan Kulow.
969 2001-09-08  Ben Collins  <bcollins@debian.org>
971         * sysdeps/arm/dl-machine.h (elf_machine_rel): Fix thinko in
972         usage of RESOLVE() (r_type, not reloc->r_type).
974 2001-09-08  Ulrich Drepper  <drepper@redhat.com>
976         * elf/dl-object.c: Avoid allocating extra memory block for name.
977         * elf/dl-close.c (_dl_close): Don't free l_libname if it is not
978         allocated separately.
979         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
981 2001-09-08  H.J. Lu  <hjl@gnu.org>
983         * po/zh_TW.po: Fix a typo.
985 2001-09-07  Tom Rix  <trix@redhat.com>
987         * sysdeps/unix/sysv/aix/sysv_termio.h: New file.
989 2001-08-26  Tom Rix  <trix@redhat.com>
991         * sysdeps/unix/sysv/aix/Makefile (aix-syscalls.o): More linker
992         command line options.
993         * sysdeps/unix/sysv/aix/start.s: New file, rework of start.c
994         * sysdeps/unix/sysv/aix/start.c: Removed.
995         * sysdeps/unix/sysv/aix/start-libc.c: New file.
996         * sysdeps/unix/sysv/aix/init-first.c: New file.
997         * sysdeps/unix/sysv/aix/fcntl.c: Alias __libc_fcntl to __fcntl.
999 2001-09-08  Ben Collins  <bcollins@debian.org>
1001         * sysdeps/arm/dl-machine.h: Fix usage of new _dl_signal_error() format.
1002         * sysdeps/generic/dl-machine.h: Likewise.
1003         * sysdeps/hppa/dl-fptr.c: Likewise.
1004         * sysdeps/ia64/dl-fptr.c: Likewise.
1005         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1006         * sysdeps/mips/dl-machine.h: Likewise.
1007         * sysdeps/mips/mips64/dl-machine.h: Likewise.
1008         * sysdeps/powerpc/dl-machine.c: Likewise.
1010 2001-09-07  Ben Collins  <bcollins@debian.org>
1012         * sysdeps/sparc/sparc32/dl-machine.h: Fix typo.
1014         * sysdeps/hppa/dl-lookupcfg.h: Forward declare struct link_map.
1016 2001-09-08  Ulrich Drepper  <drepper@redhat.com>
1018         * elf/dl-lookup.c (add_dependency): Bump l_opencount of all
1019         dependencies if necessary.
1021         * elf/dl-close.c (_dl_close): If object has no r_list (i.e., wasn't
1022         loaded directly) determine length if l_initfini list by iterating
1023         over its elements.  Minor optimizations.
1024         * elf/dl-deps.c (_dl_map_object_deps): Always add own map to l_initfini
1025         for dependency objects.
1026         If object was already loaded check whether any of the dependencies
1027         is already on the relocation dependency list.  If yes, remove the
1028         latter.  Minor optimizations.
1029         * elf/dl-lookup.c (add_dependency): Add check for self reference of
1030         maps here.  Search l_initfini list only if the object was loaded
1031         directly and not only as a dependency.
1032         (_dl_lookup_symbol): Add relocation dependency also if object
1033         is not in global scope.  Remove test for self-reference here.
1034         (_dl_lookup_versioned_symbol): Likewise.
1035         * elf/dl-object (_dl_new_object): Cleanup.  Initialize dont_free
1036         element of first name record.
1037         * elf/loadtest.c: Add some more test to recognize early if an object
1038         wasn't unloaded.
1039         * elf/Makefile: Add rules to build and run reldep5.
1040         * elf/reldep5.c: New file.
1041         * elf/reldepmod5.c: New file.
1042         * elf/reldepmod6.c: New file.
1044         * elf/reldep2.c: Fix typo.
1046 2001-09-07  Ulrich Drepper  <drepper@redhat.com>
1048         * include/link.h (struct link_map): Add l_scope_mem and l_scope_max
1049         elements.  Change l_scope to be a pointer only.
1050         * elf/dl-object.c (_dl_new_object): Initialize l_scope and l_scope_max.
1051         * elf/dl-open.c (dl_open_worker): If dependency wasn't just opened
1052         here add searchlist of newly open file to the dependency's scope.
1053         * elf/dl-close.c (_dl_close): If dependency is used otherwise remove
1054         only searchlist from its scope.  Free own scope array if necessary.
1055         * elf/Makefile (tests): Add dblload and dblunload now.
1057 2001-09-06  Andreas Jaeger  <aj@suse.de>
1059         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: New file, contributed
1060         Stephen L Moshier.
1062 2001-09-05  Ulrich Drepper  <drepper@redhat.com>
1064         * elf/Makefile: Add rules to build new tests.  Don't run them yet since
1065         they both fail.
1066         * elf/dblload.c: New file.
1067         * elf/dblloadmod1.c: New file.
1068         * elf/dblloadmod2.c: New file.
1069         * elf/dblloadmod3.c: New file.
1070         * elf/dblunload.c: New file.
1072 2001-09-04  Richard Henderson  <rth@redhat.com>
1074         * elf/elf.h (R_ALPHA_OP_*, R_ALPHA_IMMED_*): Remove.
1075         (R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16.
1077 2001-09-04  Ulrich Drepper  <drepper@redhat.com>
1079         Correct very misleading message for error in failed runtime relocation.
1080         * elf/dl-error.c (_dl_signal_error): Take extra parameter to describe
1081         place of the error.
1082         (_dl_signal_cerror): Likewise.
1083         * sysdeps/generic/ldsodefs.h: Adjust prototypes.
1084         * elf/dl-close.c: Likewise.
1085         * elf/dl-deps.c: Likewise.
1086         * elf/dl-load.c: Likewise.
1087         * elf/dl-lookup.c: Likewise.
1088         * elf/dl-open.c: Likewise.
1089         * elf/dl-reloc.c: Likewise.
1090         * elf/dl-sym.c: Likewise.
1091         * elf/dl-version.c: Likewise.
1092         * sysdeps/generic/dl-sysdep.c: Likewise.
1094 2001-09-04  Jakub Jelinek  <jakub@redhat.com>
1096         * iconv/strtab.c (strtabinit): Initialize null Strent.
1097         (newstring): Move len == 0 handling...
1098         (strtabadd): ...here.
1099         If len == 1, return null Strent.
1100         When inserting a suffix of an existing string, check if
1101         it is not equal to some suffix already recorded.
1102         Copy left and right members over if adding longer string.
1104 2001-09-04  Jakub Jelinek  <jakub@redhat.com>
1106         * sunrpc/rpc_cout.c (upcase): Account for trailing '\0'.
1108         * sysdeps/unix/sysv/linux/alpha/gethostname.c: Include <errno.h>.
1109         (__syscall_gethostname): Add prototype.
1111 2001-09-04  Ulrich Drepper  <drepper@redhat.com>
1113         * elf/dl-object.c (_dl_new_object): Remove unnecessary if.
1115 2001-09-02  Ulrich Drepper  <drepper@redhat.com>
1117         * elf/rtld.c (dl_main): Increment l_opencount for main binary.
1119 2001-08-27  Roland McGrath  <roland@frob.com>
1121         * sysdeps/unix/sysv/gethostname.c (__gethostname): When LEN is too
1122         short, copy that much into NAME anyway before returning error.
1124 2001-09-01  Richard Henderson  <rth@redhat.com>
1126         * sysdeps/alpha/elf/Dist: Remove file.
1127         * sysdeps/alpha/elf/Makefile: Remove file.
1128         * sysdeps/alpha/elf/crtbegin.S: Remove file.
1129         * sysdeps/alpha/elf/crtend.S: Remove file.
1130         * sysdeps/alpha/elf/initfini.c: New file.
1132 2001-09-01  Mark Kettenis  <kettenis@gnu.org>
1134         * iconv/tst-iconv1.c: Include <stddef.h> for wchar_t.
1135         * iconv/tst-iconv3.c: Likewise.
1137 2001-09-01  Jakub Jelinek  <jakub@redhat.com>
1139         * sysdeps/generic/inttypes.h (__gwchar_t): Define to wchar_t for C++.
1141 2001-09-01  Ulrich Drepper  <drepper@redhat.com>
1143         * iconv/gconv_cache.c: Rename variable cache to __gconv_cache and
1144         export it.
1145         * iconv/Versions (libc) [GLIBC_2.2.5]: Export __gconv_cache.
1146         * iconv/iconv_prog.c (insert_cache): New function.
1147         (print_known_names): If cache is used call insert_cache to use the
1148         information from the cache [PR libc/2509].
1150 2001-08-31  Ulrich Drepper  <drepper@redhat.com>
1152         * time/strptime.c (strptime_internal): Recognize 'l' format and
1153         handle it like 'I' for symmetry with strftime.
1155 2001-08-31  Richard Henderson  <rth@redhat.com>
1157         * elf/dl-support.c (_dl_cpuclock_offset): Protect with NONAVAIL.
1158         (HP_TIMING_AVAIL): Set to HP_SMALL_TIMING_AVAIL if present.
1159         * elf/rtld.c (HP_TIMING_AVAIL): Likewise.
1160         (print_statistics): Make scalar unsigned long long.
1161         * sysdeps/alpha/hp-timing.h: New file.
1163 2001-08-31  Jakub Jelinek  <jakub@redhat.com>
1165         * stdio-common/perror.c (perror): Save errno early, pass it
1166         down to perror_internal.
1167         (perror_internal): Add errnum argument.
1169 2001-08-31  Jakub Jelinek  <jakub@redhat.com>
1171         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Remove unused code.
1172         Don't add old memory content for R_ALPHA_REFQUAD.
1174 2001-08-30  Ulrich Drepper  <drepper@redhat.com>
1176         * crypt/md5-crypt.c (__md5_crypt_r): Compute used and required
1177         memory correctly.
1179         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Use __open
1180         instead of open, __close instead of close, __getpagesize instead
1181         of getpagesize.
1183         * string/argz-stringify.c (__argz_stringify): Use __strnlen
1184         instead of strnlen.
1185         * include/string.h (strndupa): Redefine here to use __strnlen
1186         instead of strnlen.
1187         * string/strndup.c (__strndup): Use __strnlen not strnlen.
1189         * misc/syslog.c (vsyslog): Fix typo in last change (connect ->
1190         connected).
1192 2001-08-30  Jakub Jelinek  <jakub@redhat.com>
1194         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
1195         R_ALPHA_RELATIVE if RTLD_BOOTSTRAP and HAVE_Z_COMBRELOC.  Only check
1196         for rtld map if neither RTLD_BOOTSTRAP nor HAVE_Z_COMBRELOC is defined.
1197         * sysdeps/i386/dl-machine.h (elf_machine_rel): Similarly.
1198         * sysdeps/ia64/dl-machine.h (elf_machine_rel): Similarly.
1199         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rel): Similarly.
1200         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rel): Similarly.
1202 2001-08-30  Ulrich Drepper  <drepper@redhat.com>
1204         * sysdeps/alpha/fpu/libm-test-ulps: Adjust j0 ULPs.
1206 2001-08-30  Andreas Jaeger  <aj@suse.de>
1208         * sysdeps/ieee754/ldbl-128/e_jnl.c: New file,
1209         contributed Stephen L Moshier.
1211 2001-08-30  Jakub Jelinek  <jakub@redhat.com>
1213         * sunrpc/etc.rpc (sgi_fam): Add.
1215 2001-08-30  Ulrich Drepper  <drepper@redhat.com>
1217         * sysdeps/unix/sysv/linux/alpha/gethostname.c: New file.
1219 2001-08-29  Ulrich Drepper  <drepper@redhat.com>
1221         * nis/nis_findserv.c (__nis_findfastest): Don't fail if reply received
1222         first is from a previous call.
1223         Patch by Alexander Belopolsky <alexb@rentec.com> for [PR libc/3670].
1225 2001-08-29  Andreas Schwab  <schwab@suse.de>
1227         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
1229 2001-08-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
1231         * config.make.in (INSTALL_SCRIPT): Define.
1232         * Makeconfig (INSTALL_SCRIPT): Define.
1233         * Makerules (do-install-script): New macro to install scripts using
1234         INSTALL_SCRIPT.
1235         (install-bin-script): New rule to install scripts with
1236         do-install-script.
1237         (install-bin-script-nosubdir): New rule.
1238         (install-no-libc.a-nosubdir): Add install-bin-script-nosubdir.
1239         (distinfo-vars): Add $(install-bin-script).
1240         * Rules (others): Likewise.
1241         * Makefile (glibcbug): Install with install-bin-script.
1242         * debug/Makefile (xtrace): Likewise.
1243         (catchsegv): Likewise.
1244         * elf/Makefile (ldd): Likewise.
1245         * malloc/Makefile (mtrace): Likewise.
1246         * timezone/Makefile (tzselect): Likewise.
1248 2001-08-29  H.J. Lu  <hjl@gnu.org>
1250         * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Pass
1251         ELF_RTYPE_CLASS_PLT, instead of R_MIPS_REL32, to
1252         _dl_lookup_versioned_symbol () and _dl_lookup_symbol ().
1254 2001-08-29  Andreas Schwab  <schwab@suse.de>
1256         * sysdeps/m68k/fpu/libm-test-ulps: Updated.
1258 2001-08-28  H.J. Lu  <hjl@gnu.org>
1260         * Makeconfig (combreloc-LDFLAGS): New variable.
1261         Add it to LDFLAGS.so, LDFLAGS-rtld, and +link.
1262         * config.make.in (have-z-combreloc): New variable.
1263         * configure.in: Substitute libc_cv_z_combreloc.
1265 2001-08-29  Ulrich Drepper  <drepper@redhat.com>
1267         * po/sv.po: Update from translation team.
1268         * po/fr.po: Likewise.
1269         * po/da.po: Likewise.
1271 2001-08-28  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
1273         * Makerules: Fix a typo: MD% -> MD5.
1275 2001-08-28  Ulrich Drepper  <drepper@redhat.com>
1277         * sunrpc/rpc_hout.c (pargdef): Function must take pointer to object.
1278         Patch by Patrick Duval <Patrick.Duval@devinci.fr>.
1280 2001-08-28  Andreas Jaeger  <aj@suse.de>
1282         * manual/libc-texinfo.sh: Add entry about free manuals.
1284         * manual/contrib.texi (Contributors): Fix cross reference.
1286         * manual/libc.texinfo (Copying): Include freemanuals.
1288         * manual/Makefile (appendices): Add freemanuals.
1290         * manual/freemanuals.texi: New file.
1291         Patch by Brian Youmans <3diff@gnu.org>.
1293         * manual/libm-err-tab.pl: Pretty print more platforms, print a
1294         smaller table.
1296         * manual/math.texi (Errors in Math Functions): Fix grammar, start
1297         table on separate page.
1298         Patch by Brian Youmans <3diff@gnu.org>.
1300 2001-08-27  Ulrich Drepper  <drepper@redhat.com>
1302         * misc/syslog.c (vsyslog): Try a bit harder to use syslogd.  If
1303         the connection went down after we first used it try to connect
1304         again and resend the message before printing to the console.
1305         Reported by Coserea Gh. Tudor <tudore@tudore.gecadsoftware.com>.
1307 2001-08-27  Jakub Jelinek  <jakub@redhat.com>
1309         * string/tst-strlen.c (main): Test strnlen (, -1) too.
1310         * sysdeps/generic/strnlen.c (__strnlen): Fix for maxlens with top
1311         bit set.
1313 2001-08-27  Ulrich Drepper  <drepper@redhat.com>
1315         * iconv/strtab.c (searchstring): Use correct length for comparison.
1316         (strtabadd): Account total size correct if new string has old string as
1317         substring.
1319 2001-08-27  Jakub Jelinek  <jakub@redhat.com>
1321         * elf/rtld.c (dl_main): Update call to _dl_lookup_symbol.
1323 2001-08-27  Andreas Jaeger  <aj@suse.de>
1325         * sysdeps/i386/fpu/libm-test-ulps (float): Add ulps for new tests.
1327         * math/libm-test.inc (j0_test): Add extra tests.
1328         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Use |x|,
1329         not x, in Hankel approximation.
1330         Patches by Stephen L Moshier.
1332 2001-08-26  Ulrich Drepper  <drepper@redhat.com>
1334         * sysdeps/ia64/dl-lookupcfg.h: Add forward declaration for struct
1335         link_map.
1337         * configure.in: Fix test for .rela.dyn section.
1339         * elf/dl-runtime.c: Update calls to _dl_lookup_*.
1341 2001-08-26  Jakub Jelinek  <jakub@redhat.com>
1343         * elf/dl-reloc.c (RESOLVE_MAP, RESOLVE): Use elf_machine_type_class
1344         instead of elf_machine_lookup_noexec_p and elf_machine_lookup_noplt_p.
1345         Pass type_class to _dl_lookup_*.
1346         * elf/dl-lookup.c (_dl_lookup_symbol): Take type_class parameter now.
1347         Pass around just type_class instead of noexec, noplt pair.
1348         (_dl_lookup_versioned_symbol): Likewise.
1349         (_dl_lookup_symbol_skip): Pass around just type_class instead of
1350         noexec, noplt pair.
1351         (_dl_lookup_versioned_symbol_skip): Likewise.
1352         (_dl_do_lookup, _dl_do_lookup_versioned): Likewise.
1353         * elf/do-lookup.h (do_lookup): Likewise.
1354         * include/link.h (struct link_map): Replace noexec and noplt fields
1355         in l_lookup_cache with type_class field.
1356         * sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_PLT,
1357         ELF_RTYPE_CLASS_COPY): Define.
1358         Adjust prototypes for _dl_lookup_symbol and
1359         _dl_lookup_versioned_symbol.
1360         * sysdeps/alpha/dl-machine.h (elf_machine_lookup_noplt_p,
1361         elf_machine_lookup_noexec_p): Remove.
1362         (elf_machine_type_class): Define.
1363         * sysdeps/arm/dl-machine.h: Likewise.
1364         * sysdeps/hppa/dl-machine.h: Likewise.
1365         * sysdeps/cris/dl-machine.h: Likewise.
1366         * sysdeps/i386/dl-machine.h: Likewise.
1367         * sysdeps/ia64/dl-machine.h: Likewise.
1368         * sysdeps/m68k/dl-machine.h: Likewise.
1369         * sysdeps/mips/mips64/dl-machine.h: Likewise.
1370         * sysdeps/mips/dl-machine.h: Likewise.
1371         * sysdeps/powerpc/dl-machine.h: Likewise.
1372         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1373         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1374         * sysdeps/sh/dl-machine.h: Likewise.
1375         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1376         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1378 2001-08-26  Ulrich Drepper  <drepper@redhat.com>
1380         * manual/message.texi (Advanced gettext functions): Change
1381         description of plural forms for Slovak.
1382         Reported by Marcel Telka <marcel@telka.sk>.
1384         * manuaL/time.texi (Low-Level Time String Parsing): Fix description of
1385         %z.  Reported by C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>.
1387 2001-08-26  Jakub Jelinek  <jakub@redhat.com>
1389         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_lazy_rel): Fix a
1390         typo.  Patch by Florian La Roche <laroche@redhat.com>.
1392 2001-08-26  Ulrich Drepper  <drepper@redhat.com>
1394         * include/link.h (struct link_map): Add l_lookup_cache element.
1395         * elf/dl-reloc.c (RESOLVE): Add symbol caching here.
1396         (RESOLVE_MAP): Likewise.
1397         (_dl_relocate_object): Remove cache initialization.
1398         * elf/dl-lookup.c: Rip out cache handling code.
1399         * sysdeps/generic/ldsodefs.h: Remove lookup_cache struct and variable
1400         declarations.
1402         * elf/dl-lookup.c (_dl_lookup_symbol): Reorder some conditions and
1403         remove some __builtin_expect.
1404         (_dl_lookup_versioned_symbol): Likewise.
1406         * config.h.in: Add HAVE_Z_COMBRELOC.
1407         * configure.in: Add test for -z combreloc.
1409         * sysdeps/i386/dl-machine.h (elf_machine_rel): Minor cleanups and
1410         optimizations.  Use HAVE_Z_COMBRELOC to avoid generaton of
1411         R_386_RELATIVE handling for ld.so startup.  Reduce RTLD_BOOTSTRAP
1412         case to almost no code.
1414 2001-08-25  Ulrich Drepper  <drepper@redhat.com>
1416         * po/tr.po: Update from translation team.
1418 2001-08-24  Andreas Jaeger  <aj@suse.de>
1420         * iconv/Makefile (extra-objs): Add iconvconfig-modules so that
1421         make clean works.
1423 2001-08-24  Ulrich Drepper  <drepper@redhat.com>
1425         * elf/rtld.c (print_statistics): Printf % after percent values.
1426         * elf/dl-misc.c (_dl_debug_vdprintf): Implement %%.
1428         * elf/dl-lookup.c (_dl_lookup_symbol): If we use the cache we
1429         don't have to compute the hash value and initialize current_value.
1430         Move reference_name variable to where it is needed.
1431         (_dl_lookup_versioned_symbol): Likewise.
1433 2001-08-24  Roland McGrath  <roland@frob.com>
1435         * string/tester.c (test_strerror): Don't use _sys_errlist/_sys_nerr.
1436         Just test that strerror returns non-null for a few errno codes.
1438 2001-08-23  Roland McGrath  <roland@frob.com>
1440         * hurd/Versions (libc: GLIBC_2.2.5): New set; add _hurd_raise_signal,
1441         _hurdsig_interrupt_timeout, _hurdsig_fault_preemptor.
1443         * sysdeps/posix/shm_unlink.c (shm_unlink): __unlink -> unlink.
1445         * mach/Versions (libc: GLIBC_2.2.5): New set; add __mach_msg_destroy,
1446         __mach_reply_port.
1448 2001-08-24  Ulrich Drepper  <drepper@redhat.com>
1450         * nss/test-netdb.c (test_hosts): Don't segfault if gethostname
1451         returns NULL.
1453         * elf/do-rel.h (elf_dynamic_do_rel): Fix problem with ld.so
1454         startup.  Explicitly remove lazy part for RTLD_BOOTSTRAP since gcc
1455         doesn't do it.
1456         * elf/rtld.c: Include <sys/param.h>.
1457         * elf/dl-reloc.c: Likewise.
1459 2001-08-24  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
1461         * sysdeps/unix/sysv/linux/mips/configure.in: Define AC_SUBST to
1462         empty to prevent junk from being generated.
1463         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1465 2001-08-24  Jakub Jelinek  <jakub@redhat.com>
1467         * elf/do-rel.h (elf_dynamic_do_rel): If l_addr is 0, skip relative
1468         records.  Rename endrel to relative, initialize it to r, and use it
1469         in elf_machine_rel_relative calls.  Point r after relative relocs.
1471 2001-08-24  Ulrich Drepper  <drepper@redhat.com>
1473         * sysdeps/i386/dl-machine.h (elf_machine_rel): Correct prediction
1474         of R_386_NONE.
1476 2001-08-24  Jakub Jelinek  <jakub@redhat.com>
1478         * elf/do-rel.h (elf_machine_rel_relative): Define for rela if
1479         necessary.  Undefine newly defined macros at the end.
1480         * sysdeps/hppa/dl-machine.h (elf_machine_rela_relative):
1481         Rename from elf_machine_rel_relative.
1482         * sysdeps/cris/dl-machine.h (elf_machine_rela_relative): Likewise.
1483         * sysdeps/m68k/dl-machine.h (elf_machine_rela_relative): Likewise.
1484         * sysdeps/powerpc/dl-machine.h (elf_machine_rela_relative): Likewise.
1485         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela_relative):
1486         Likewise.
1487         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela_relative):
1488         Likewise.
1489         * sysdeps/ia64/dl-machine.h (elf_machine_rela_relative): Likewise.
1490         Fix argument types.
1491         * sysdeps/alpha/dl-machine.h (elf_machine_rela_relative): Likewise.
1492         Fix argument types.
1493         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela_relative):
1494         Likewise.  Fix argument types.
1495         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela_relative):
1496         Likewise.  Fix argument types.
1497         * sysdeps/sh/dl-machine.h (elf_machine_rela_relative): Likewise.
1498         Fix argument types.
1499         * sysdeps/mips/dl-machine.h (elf_machine_rel_relative): Use
1500         ElfW(Rel) in argument.
1501         * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel_relative): New
1502         function.
1504 2001-08-24  Alexandre Oliva  <aoliva@redhat.com>
1506         * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix typo.
1508 2001-08-24  Andreas Jaeger  <aj@suse.de>
1510         * sysdeps/ieee754/ldbl-128/e_j1l.c: New file, contributed by
1511         Stephen L Moshier <moshier@mediaone.net>.
1513 2001-08-24  Ulrich Drepper  <drepper@redhat.com>
1515         * elf/do-rel.h (elf_dynamic_do_rel): RELATIVE relocations comes
1516         first if RELCOUNT is set.
1518         * elf/do-rel.h (elf_dynamic_do_rel): If not relocating lazily, don't
1519         call elf_machine_rel for the last DT_RELCOUNT relocations but instead
1520         elf_machine_rel_relative.
1521         * sysdeps/alpha/dl-machine.h: Define elf_machine_rel_relative.
1522         Minor optimizations.
1523         * sysdeps/arm/dl-machine.h: Likewise.
1524         * sysdeps/cris/dl-machine.h: Likewise.
1525         * sysdeps/hppa/dl-machine.h: Likewise.
1526         * sysdeps/i386/dl-machine.h: Likewise.
1527         * sysdeps/ia64/dl-machine.h: Likewise.
1528         * sysdeps/m68k/dl-machine.h: Likewise.
1529         * sysdeps/mips/dl-machine.h: Likewise.
1530         * sysdeps/powerpc/dl-machine.h: Likewise.
1531         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1532         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1533         * sysdeps/sh/dl-machine.h: Likewise.
1534         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1535         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1537 2001-08-23  Roland McGrath  <roland@frob.com>
1539         * rt/tst-aio4.c [! SIGRTMIN] (SIGRTMIN, SIGRTMAX): Define as -1.
1541         * sysdeps/mach/hurd/bits/libc-lock.h: New file, initially copied from
1542         sysdeps/mach version.  Implement counting ("recursive") mutexes
1543         on top of cthreads mutexes.
1544         * sysdeps/mach/hurd/bits/stdio-lock.h: File removed; generic now works.
1546         * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Define to
1547         _LIBC_LOCK_RECURSIVE_INITIALIZER if defined, else do an #error.
1548         (__libc_cleanup_region_start, __libc_cleanup_region_end,
1549         __libc_clean_end): Define these to call the cleanup function after
1550         normal exit when they're supposed to.
1552         * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start):
1553         Take new first arg DOIT, a boolean saying whether to really install
1554         any cleanup handler.
1555         (__libc_cleanup_region_end): Do nothing if start's DOIT arg was zero.
1556         (__libc_cleanup_end): Likewise.
1557         * sysdeps/generic/bits/libc-lock.h: Same changes.
1558         * stdio-common/vfscanf.c (LOCK_STREAM): Pass new arg.
1559         * stdio-common/vfprintf.c (buffered_vfprintf, vfprintf): Likewise.
1560         * sysdeps/mach/hurd/bits/stdio-lock.h (_IO_cleanup_region_start):
1561         Likewise.
1562         * misc/syslog.c (vsyslog, openlog, closelog): Likewise.
1563         * sysdeps/generic/bits/stdio-lock.h
1564         (_IO_cleanup_region_start, _IO_cleanup_region_start_noarg): Likewise.
1566 2001-08-23  Jakub Jelinek  <jakub@redhat.com>
1568         * elf/ldconfig.c (search_dir): Remove stale symlinks.
1570 2001-08-23  Jakub Jelinek  <jakub@redhat.com>
1572         * elf/dl-lookup.c (lookup_cache, lookup_cache_versioned): New.
1573         (_dl_lookup_symbol): Lookup relocations in cache and store successfull
1574         lookups in cache.
1575         (_dl_lookup_versioned_symbol): Likewise.
1576         * elf/dl-reloc.c (_dl_relocate_object): Initialize cache for
1577         relocation lookup.
1578         * elf/rtld.c (print_statistics): Output _dl_num_cache_relocations.
1579         * sysdeps/generic/ldsodefs.h (struct lookup_cache): New definition.
1580         (lookup_cache, lookup_cache_versioned): Add declarations.
1582 2001-08-23  Ulrich Drepper  <drepper@redhat.com>
1584         * stdlib/tst-random.c (main): Swap parameters in fail call.
1585         Patch by Pete Bevin <pete@petebevin.com>.
1587 2001-08-23  Jakub Jelinek  <jakub@redhat.com>
1589         * sysdeps/generic/inttypes.h: Use __gwchar_t instead of __wchar_t.
1591 2001-08-23  Ulrich Drepper  <drepper@redhat.com>
1593         * malloc/obstack.c: Indent preprocessor directives.
1594         Patch by Jim Meyering <meyering@ascend.com>.
1596         * po/ja.po: Update from translation team.
1598 2001-08-23  Roland McGrath  <roland@frob.com>
1600         * libio/tst-ungetwc1.c (main): Add a const to quiet a warning.
1602         * nss/test-netdb.c (test_hosts): Don't use MAXHOSTNAMELEN.
1603         Instead, use dynamic buffer to test gethostname's ENAMETOOLONG error.
1605 2001-08-22  Roland McGrath  <roland@frob.com>
1607         * sysdeps/generic/ldsodefs.h (_dl_load_lock): Declare it here with
1608         __libc_lock_define_recursive.
1609         * elf/dl-open.c: Don't declare it here any more.
1610         * elf/dl-close.c: Likewise.
1611         * elf/dl-lookup.c: Likewise.
1612         * elf/dl-iteratephdr.c: Likewise.
1613         * elf/dl-lookup.c (add_dependency): Use __libc_lock_lock_recursive and
1614         __libc_lock_unlock_recursive.
1615         * elf/dl-close.c (_dl_close): Likewise
1616         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise
1617         * elf/dl-open.c (_dl_open): Likewise
1619         * sysdeps/generic/bits/libc-lock.h
1620         (__libc_lock_define_recursive): New macro.
1621         * sysdeps/generic/bits/stdio-lock.h (_IO_lock_t): Use it.
1622         (_IO_lock_lock): Use __libc_lock_lock_recursive.
1623         (_IO_lock_unlock): Use __libc_lock_unlock_recursive.
1625         * conform/conformtest.pl (checknamespace): Sort the output list.
1627         * sysdeps/generic/bits/poll.h (POLLWRBAND): New alias for POLLOUT.
1628         (POLLRDNORM, POLLRDBAND, POLLWRNORM, POLLWRBAND): Make these
1629         definitions conditional on [__USE_XOPEN].
1631         * sysdeps/mach/hurd/bits/fcntl.h (O_ASYNC, O_FSYNC, O_SYNC): Define
1632         these unconditionally, not only use [__USE_BSD], so as to match
1633         the sysdeps/unix/sysv/linux files.
1635 2001-08-22  Ulrich Drepper  <drepper@redhat.com>
1637         * test-skeleton.c (add_temp_file): Add __attribute__ ((unused)) to
1638         avoid warnings.
1640         * dlfcn/tst-dladdr.c (do_test): Get address of ref1 using
1641         DL_LOOKUP_ADDRESS.
1643 2001-08-22  Roland McGrath  <roland@frob.com>
1645         * sysdeps/generic/bits/sigaction.h (struct sigaction): Fix up
1646         conditionalization of sa_handler/sa_sigaction member types to
1647         match the sysdeps/unix/sysv/linux file.
1649 2001-08-22  Ulrich Drepper  <drepper@redhat.com>
1651         * elf/dl-addr.c (_dl_addr): Handle broken binaries with zero
1652         symbol sizes a bit better.
1654         * sysdeps/ia64/strncpy.S: Complete rewrite.
1655         Contributed by Jakub Jelinek <jakub@redhat.com>.
1657         * string/stratcliff.c (main): Add strncpy test.
1659 2001-08-22  Roland McGrath  <roland@frob.com>
1661         * sysdeps/generic/dl-environ.c: Include <stdlib.h> and <unistd.h>,
1662         and don't declare unsetenv or _environ directly.
1663         (unsetenv): Return int, not void.  Use __environ instead of _environ.
1665 2001-08-01  Mark Kettenis  <kettenis@gnu.org>
1667         * sysdeps/unix/bsd/bsd4.4/Makefile: New file.
1668         * sysdeps/unix/bsd/bsd4.4/Versions: New file.
1669         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: New file.
1670         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Correct
1671         test for cmsg struct size.
1673 2001-04-23  Paul Eggert  <eggert@twinsun.com>
1675         * posix/getopt.h (getopt_long, getopt_long_only, _getopt_internal):
1676         Rename __argc to ___argc in prototypes to avoid compatibility
1677         problems with systems that reserve the identifier "__argc".
1678         Similarly for __argv.
1680 2001-08-21  Roland McGrath  <roland@frob.com>
1682         * stdio-common/tst-fseek.c: Include <time.h> for `time' declaration.
1684         * mach/Makefile (tests): Removed.
1685         * mach/hello.c: File removed.
1687 2001-08-22  Ulrich Drepper  <drepper@redhat.com>
1689         * po/sv.po: Update from translation team.
1691         * stdio-common/vfscanf.c: Fix handling of %l[].
1692         Reported by Mitsuru Chinen <mchinen@yamato.ibm.com>.
1694         * libio/Makefile (tests): Add tst-sscanf.
1695         * libio/tst-sscanf.c: New file.
1697         * elf/dl-addr.c (_dl_addr): Fix tests to determine dli_sname.
1698         * malloc/mtrace.c (tr_where): dli_sname always points to a
1699         non-empty string if != NULL.
1700         Reported by Tim Janik <timj@gtk.org>.
1702 2001-08-22  Jakub Jelinek  <jakub@redhat.com>
1704         * sunrpc/xdr_rec.c (xdrrec_create): Fix buf sizes before allocating
1705         buf.  Free resources on failure.
1706         * sunrpc/svc_unix.c (svcunix_create): Free resources on failure.
1707         (makefd_xprt): Likewise.
1708         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
1709         * sunrpc/svc_tcp.c (svctcp_create, makefd_xprt): Likewise.
1710         * sunrpc/auth_unix.c (authunix_create): Likewise.
1712 2001-08-21  Jakub Jelinek  <jakub@redhat.com>
1714         * string/strnlen.c: Remove.
1715         * sysdeps/generic/strnlen.c: New file.
1716         * sysdeps/i386/i486/bits/string.h (strnlen): Remove.
1718 2001-08-21  Roland McGrath  <roland@frob.com>
1720         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Define this
1721         as a macro, not an extern inline function.
1723         * hurd/Versions (GLIBC_2.2.5): New set, define __hurd_fail here.
1724         * Versions.def (libc): Add GLIBC_2.2.5 set.
1725         * hurd/hurd.h (_HURD_H_EXTERN_INLINE): New macro.
1726         (__hurd_fail): Use that instead of _EXTERN_INLINE in decl.
1728 2001-08-20  Roland McGrath  <roland@frob.com>
1730         * hurd/hurdlookup.c (__hurd_file_name_lookup): Fail with ENOENT for "".
1731         (__hurd_file_name_split, __hurd_directory_name_split): Likewise.
1733 2001-08-21  Ulrich Drepper  <drepper@redhat.com>
1735         * string/bits/string2.h: Remove strnlen optimization here.
1736         * sysdeps/i386/i486/bits/string.h: Add it here.
1738 2001-08-21  Wolfram Gloger  <wg@malloc.de>
1740         * malloc/malloc.c: Make access to ..._hook pointers thread-safe.
1742 2001-08-21  Ulrich Drepper  <drepper@redhat.com>
1744         * po/gl.po: Update from translation team.
1746 2001-08-20  Ulrich Drepper  <drepper@redhat.com>
1748         * misc/error.c (error_tail): Use fputws_unlocked instead of fputws.
1749         * misc/err.c (convert_and_print): Likewise.
1751         * malloc/obstack.c (print_and_abort): Use fprintf instead of two
1752         function calls.
1754 2001-08-20  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1756         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Revert the
1757         change of the gregset_t type.
1758         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1760 2001-08-20  kaz Kojima  <kkojima@rr.iij4u.or.jp>
1762         * sysdeps/unix/sysv/linux/sh/sysdep.S: Align errno.
1764 2001-08-20  Ulrich Drepper  <drepper@redhat.com>
1766         * posix/regex.c (truncate_wchar): Use wcrtomb not wctomb.
1768         * string/strnlen.c: Fix the implementation.  We cannot use memchr.
1770 2001-08-18  Mark Kettenis  <kettenis@gnu.org>
1772         * sysdeps/mach/hurd/i386/init-first.c (init): Initialize __environ
1773         before calling the cthreads initialization code.
1775 2001-08-20  Ulrich Drepper  <drepper@redhat.com>
1777         * argp/argp-help.c: Fix two problems introduced in last change.
1779         * include/dirent.h: Include <dirstream.h> first.
1781 2001-08-19  Ulrich Drepper  <drepper@redhat.com>
1783         * io/fts.c (fts_safe_changedir): Use __fxstat64 instead of __fstat.
1785         * sunrpc/svcauth_des.c (_svcauth_des): Avoid using bcopy.
1786         * sunrpc/xdr_rec.c: Likewise.
1787         * sunrpc/xdr_mem.c: Likewise.
1788         * sunrpc/svc_authux.c (_svcauth_unix): Likewise.
1789         * sunrpc/rpc_cmsg.c: Likewise.
1790         * sunrpc/getrpcport.c (getrpcport): Likewise.
1791         * sunrpc/clnt_simp.c (callrpc): Likewise.
1792         * sunrpc/clnt_gen.c (clnt_create): Likewise.
1793         * string/envz.c: Likewise.
1795         * po/ko.po: Update from translation team.
1797         * argp/argp-help.c: Handle wide oriented stderr stream.
1799 2001-08-18  Ulrich Drepper  <drepper@redhat.com>
1801         * sysdeps/generic/strtol.c: Little optimizations.  Add some
1802         __builtin_expect.
1804         * conform/conformtest.pl: <inttypes.h> test requires <stddef.h>.
1806         * wcsmbs/wchar.h (wcwdith): Change parameter type to wchar_t.
1807         * wcsmbs/wcwidth.c (wcwdith): Likewise.
1808         * wcsmbs/wcwidth.h (internal_wcwdith): Likewise.
1810         * conform/data/unistd.h-data: Remove _SC_MULTIPLE_PROCESS.
1812         * conform/data/ucontext.h-data: Fix typos in ucontext_t element tests.
1814         * time/time.h (struct timespec): Use __time_t for tv_sec element.
1816         * sysdeps/generic/inttypes.h: Define __wchar_t.  Use it instead of
1817         wchar_t for function declarations and defintions.
1819         * misc/sys/select.h: Define __need_time_t before including <time.h>.
1820         Define suseconds_t if it hasn't happened yet.
1822         * iconv/gconv.h: Define __need_wchar_t before including <stddef.h>.
1824         * conform/data/sys/uio.h-data: Allow UIO_MAXIOV to be defined.
1826         * sysdeps/generic/stdint.h: Don't get definition of wchar_t from
1827         <stddef.h>.
1829         * conform/data/stddef.h-data: Remove wint_t.
1831         * conform/conformtest.pl: Change namespace test to take #undef
1832         lines into account.
1834         * conform/data/netinet/in.h-data: Fix typo in allow-header line.
1836         * conform/data/sys/socket.h-data: Add sockatmark.
1838 2001-08-17  Ulrich Drepper  <drepper@redhat.com>
1840         * io/fts.c: Update from recent BSD source.
1842 2001-08-17  Roland McGrath  <roland@frob.com>
1844         * stdio-common/perror.c (perror) [! USE_IN_LIBIO]: Don't use _IO_fwide.
1845         * misc/error.c (error_tail, error, error_at_line) [! USE_IN_LIBIO]:
1846         Likewise.
1848 2001-08-17  Ulrich Drepper  <drepper@redhat.com>
1850         * locale/duplocale.c (__duplocale): Also initialize the special
1851         __ctype_* elements.
1853         * conform/data/netdb.h-data: Adjust gai_strerror return type.
1855 2001-08-17  Andreas Jaeger  <aj@suse.de>
1857         * misc/getpass.c: Include wchar.h for prototypes.
1858         * malloc/obstack.c: Likewise.
1860 2001-08-17  Ulrich Drepper  <drepper@redhat.com>
1862         * sunrpc/svc_simple.c (universal): Use __write instead of write.
1864         * wcsmbs/wcscoll.c: Also define __wcscoll.
1865         * include/wchar.h: Declare __wcscoll.
1867         * libio/fwprintf.c: Use __vfwprintf instead of vfwprintf.
1868         * libio/vwprintf.c: Likewise.
1869         * libio/wprintf.c: Likewise.
1871         * iconv/gconv_cache.c: Use __munmap instead of munmap.
1873 2001-08-16  Ulrich Drepper  <drepper@redhat.com>
1875         * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
1876         instead of mbrtowc.
1877         [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
1878         wcslen, and __wcscoll instead of wcscoll.
1880         * sysdeps/unix/sockatmark.c (sockatmark): Use __ioctl instead of ioctl.
1882         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue): Use
1883         __getuid instead of getuid.
1885         * stdio-common/perror.c (perror): Use __close instead of close.
1886         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
1887         * libio/freopen.c (freopen): Likewise.
1888         * libio/freopen64.c (freopen64): Likewise.
1890         * libio/tst-ungetwc2.c (main): Define str const.
1892         * include/wchar.h: Add prototypes for __fwprintf and __vfwprintf.
1893         * libio/fwprintf.c: Also define __fwprintf.
1894         * stdio-common/vfprintf.c [COMPILE_WPRINTF]: Also define __vfwprintf.
1895         * argp/argp-fmtstream.c: Handle wide oriented stderr stream.
1896         * assert/assert-perr.c: Likewise.
1897         * assert/assert.c: Likewise.
1898         * gmon/gmon.c: Likewise.
1899         * inet/rcmd.c: Likewise.
1900         * malloc/obstack.c: Likewise.
1901         * misc/err.c: Likewise.
1902         * misc/error.c: Likewise.
1903         * misc/getpass.c: Likewise.
1904         * posix/getopt.c: Likewise.
1905         * resolv/res_hconf.c: Likewise.
1906         * stdio-common/perror.c: Likewise.
1907         * stdio-common/psignal.c: Likewise.
1908         * stdlib/fmtmsg.c: Likewise.
1909         * sunrpc/auth_unix.c: Likewise.
1910         * sunrpc/clnt_perr.c: Likewise.
1911         * sunrpc/clnt_tcp.c: Likewise.
1912         * sunrpc/clnt_udp.c: Likewise.
1913         * sunrpc/clnt_unix.c: Likewise.
1914         * sunrpc/svc_simple.c: Likewise.
1915         * sunrpc/svc_tcp.c: Likewise.
1916         * sunrpc/svc_udp.c: Likewise.
1917         * sunrpc/svc_unix.c: Likewise.
1918         * sunrpc/xdr.c: Likewise.
1919         * sunrpc/xdr_array.c: Likewise.
1920         * sunrpc/xdr_rec.c: Likewise.
1921         * sunrpc/xdr_ref.c: Likewise.
1922         * sysdeps/generic/wordexp.c: Likewise.
1924         * po/it.po: Update from translation team.
1926         * misc/err.c: Handle wide oriented stderr stream.
1928 2001-08-14  Tom Rix  <trix@redhat.com>
1930         * iconv/gconv_cache.c (find_module): Add #ifndef STATIC_GCONV.
1931         * iconv/Makefile: Fix gconv_cache.c CFLAGS.
1933 2001-08-13  Tom Rix  <trix@redhat.com>
1935         * sysdeps/unix/sysv/aix/Makefile: Add rule to import kernel symbols.
1936         * sysdeps/unix/sysv/aix/bits/types.h: Fix type of __id_t, __useconds_t
1937         and __intptr_t.
1939 2001-08-15  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1941         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S (__getcontext):
1942         Store the access registers to the ucontext structure.
1943         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S (__getcontext):
1944         Likewise.
1946         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S (__setcontext):
1947         Load the access registers from the ucontext structure.
1948         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S (__setcontext):
1949         Likewise.
1951         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: Adjust the SC_xxx
1952         offsets to the new ucontext layout.
1953         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: Likewise.
1955         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix the layout
1956         of the ucontext structure.
1957         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1959 2001-08-15  Ulrich Drepper  <drepper@redhat.com>
1961         * misc/error.c (error): Handle wide oriented stderr stream correctly.
1962         (error_at_line): Likewise.
1964         * stdio-common/perror.c (perror): Implement according to standard.
1965         The stream orientation must not be changed if the stream was not
1966         oriented before the call.
1967         * stdio-common/Makefile (tests): Add tst-perror.
1968         * stdio-common/tst-perror.c: New file.
1971 See ChangeLog.12 for earlier changes.