Update.
[glibc.git] / ChangeLog
bloba1af0d9340367fed44a93cf14a93dfa2735330d9
1 2001-05-30  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
4         needs to have the same aligment as the kernel structure.
6 2001-05-29  Jakub Jelinek  <jakub@redhat.com>
8         * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
9         u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
10         * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
11         u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
12         against multiple definition.
14 2001-05-30  Ulrich Drepper  <drepper@redhat.com>
16         * po/da.po: Update from translation team.
18 2001-05-29  Andreas Jaeger  <aj@suse.de>
20         * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
21         Stephen L Moshier <moshier@mediaone.net>.
23         * math/libm-test.inc (sinh_test): Add new test case.
25         * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
26         x when x < 2^-32.
27         Patch by Stephen L Moshier <moshier@mediaone.net>.
29 2001-05-23  Andreas Jaeger  <aj@suse.de>
31         * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
32         * iconvdata/testdata/WINDOWS-1255..UTF8: this.
34 2001-05-27  Andreas Jaeger  <aj@suse.de>
36         * manual/stdio.texi (String Streams): Fix fmemopen description.
37         Reported by Michal Kochanowicz <michal@michal.waw.pl>.
39 2001-05-26  H.J. Lu <hjl@gnu.org>
41         * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
42         to s_sigsuspend. Add s_mmap2.
44         * sysdeps/mips/atomicity.h: New file.
46         * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
48         * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
49         back __key.
51 2001-05-25  Bruce Mitchener  <bruce@cubik.org>
53         * manual/ctype.texi: Minor fix.
54         * manual/install.texi: Likewise.
55         * manual/startup.texi: Likewise.
56         * manual/examples/dir.c: Use perror() rather than puts().
58 2001-05-25  David Mosberger  <davidm@hpl.hp.com>
60         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
61         #endif directive inside a comment to avoid compiler warnings.
63 2001-05-25  Philipp Thomas  <pthomas@suse.de>
65         * nis/nis_print.c (nis_nstype2str): Don't mark names of
66         naming services for translation, only UNKNOWN needs it.
67         Add comment to prevent it for the future.
69 2001-05-25  Joseph S. Myers  <jsm28@cam.ac.uk>
71         * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
72         3.1 and non-GCC C99 compilers.
74 2001-05-22  David Mosberger  <davidm@hpl.hp.com>
76         * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
77         performance.
78         * sysdeps/ia64/memcpy.S: Likewise.
80         * sysdeps/ia64/bcopy.S: New file.
82         * sysdeps/ia64/bzero.S: New file (derived from memset.S).
84 2001-05-26  Ulrich Drepper  <drepper@redhat.com>
86         * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
88 2001-05-24  Ulrich Drepper  <drepper@redhat.com>
90         * iconvdata/Makefile: Add rules for CP10007.
91         * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
92         * iconvdata/cp10007.c: New file.
93         * iconvdata/tst-tables.sh: Add CP10007.
95 2001-05-23  kaz Kojima  <kkojima@rr.iij4u.or.jp>
97         * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
98         (_dl_runtime_profile): Likewise..
100 2001-05-23  Thorsten Kukuk  <kukuk@suse.de>
102         * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
103         * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
105 2001-05-19  H.J. Lu  <hjl@gnu.org>
107         * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
108         errstring of the failed DSO to _dl_signal_error ().
110 2001-05-23  Ulrich Drepper  <drepper@redhat.com>
112         * iconvdata/gconv-modules: Add more aliases to enable use in
113         locale names.
115 2001-05-23  Andreas Jaeger  <aj@suse.de>
117         * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
118         Remove, it's not used anywhere anymore.
119         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
120         (CFLAGS-initfini.s): Likewise.
121         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
122         (CFLAGS-initfini.s): Likewise.
123         * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
124         Likewise.
125         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
126         Likewise.
128 2001-05-21  Bruno Haible  <haible@clisp.cons.org>
130         * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
131         use 0 instead, and rely on the converter to do the flush.
132         * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
133         utf8_test.
134         (utf8_test_2, utf8_test_3): New function.
135         (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
137 2001-05-22  Jakub Jelinek  <jakub@redhat.com>
139         * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
141         * elf/Makefile (distribute): Add reldep4mod[1234].c.
142         (tests): Add reldep4.
143         (modules-names): Add reldep4mod[1234].
144         (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
145         * elf/reldep4.c: New file.
146         * elf/reldep4mod1.c: Likewise.
147         * elf/reldep4mod2.c: Likewise.
148         * elf/reldep4mod3.c: Likewise.
149         * elf/reldep4mod4.c: Likewise.
151 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
153         * elf/dl-lookup.c (PROTECTED): Remove defines.
154         (add_dependency): Mark it with internal_function.
155         (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
156         (_dl_lookup_symbol, _dl_lookup_symbol_skip,
157         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
158         it if we don't want do_lookup* inlined.
160 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
162         * include/link.h (struct r_scope_elem): Remove r_duplist and
163         r_nduplist fields.
164         * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
165         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
166         r_duplist.
167         (_dl_lookup_versioned_symbol_skip): Likewise.
168         * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
169         (_dl_map_object_deps): Don't compute duplicate list.
171         * elf/dl-symbol.c: Removed.
172         * elf/Makefile (routines): Remove dl-symbol.
174 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
176         * po/el.po: Update from translation team.
177         * po/sv.po: Likewise.
179 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
181         * iconvdata/cp1255.c: Completely rewritten.
182         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
183         * iconvdata/testdata/WINDOWS-1255: New file.
184         * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
185         * iconvdata/TESTS: Add WINDOWS-1255 test.
186         * iconvdata/CP1255.irreversible: New file.
188 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
190         * iconvdata/cp1258.c: Completely rewritten.
191         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
192         * iconvdata/testdata/WINDOWS-1258: New file.
193         * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
194         * iconvdata/TESTS: Add WINDOWS-1258 test.
195         * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
196         the main call, and flush it afterwards.
197         (utf8_decode): Return a string, possibly containing several Unicode
198         characters.
199         (main): Update all utf8_decode calls.
200         * iconvdata/CP1258.irreversible: New file.
202 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
204         * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
205         * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2. In the
206         first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
207         EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
208         the next step. In the second case, clear the state without calling
209         EMIT_SHIFT_TO_INIT.
210         * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
211         data->__outbuf, and outend instead of data->__outbufend.
212         * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
213         * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
214         * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
215         * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
216         * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
217         * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
218         * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
219         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
220         * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
222 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
224         * elf/rtld.c (dl_main): Compute l_map_end for the main program.
225         * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
226         If match == _dl_loaded, caller can still come from the main program.
227         (_dl_vsym): Likewise.
228         * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
229         * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
230         * elf/restest2.c: New test.
231         * elf/Makefile (tests): Add restest2.
232         (restest2, LDFLAGS-restest2): Add rules.
234 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
236         * intl/Makefile: Add a few more dependencies to avoid races in the
237         test shell scripts.
239 2001-05-22  Andreas Jaeger  <aj@suse.de>
241         * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
242         Stephen L Moshier <moshier@mediaone.net>.
244 2001-05-22  Martin Schwidefsky  <schwidefsky@de.ibm.com>
246         * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
247         return addresses instead of the stack pointers.
248         * sysdeps/s390/s390-64/backtrace.c: Likewise.
250 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
252         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
253         bits/sigcontext.h instead of bits/sigstack.h.
254         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
255         multiple-inclusion guards.
257 2001-05-21  Andreas Jaeger  <aj@suse.de>
259         * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
260         Patch by Philipp Thomas <pthomas@suse.de>.
262 2001-05-17  Bruce Mitchener  <bruce@cubik.org>
264         * manual/arpg.texi: Spelling, misc fixes.
265         * manual/arith.texi: Likewise.
266         * manual/crypt.texi: Likewise.
267         * manual/debug.texi: Likewise.
268         * manual/getopt.texi: Likewise.
269         * manual/intro.texi: Likewise.
270         * manual/memory.texi: Likewise.
271         * manual/nss.texi: Likewise.
272         * manual/pattern.texi: Likewise.
273         * manual/process.texi: Likewise.
274         * manual/resource.texi: Likewise.
275         * manual/search.texi: Likewise.
276         * manual/setjmp.texi: Likewise.
277         * manual/signal.texi: Likewise.
278         * manual/socket.texi: Likewise.
279         * manual/stdio.texi: Likewise.
280         * manual/string.texi: Likewise.
281         * manual/sysinfo.texi: Likewise.
282         * manual/terminal.texi: Likewise.
283         * manual/llio.texi: Document madvise().
285 2001-05-20  Roland McGrath  <roland@frob.com>
287         * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
288         found within $(add-ons) directories too.
289         [linuxthreads add-on]: Move variable settings for linuxthreads
290         to new file linuxthreads/Makeconfig.
292 2001-05-20  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
294         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
295         Define for linux >= 2.4.5 on powerpc.
296         (__ASSUME_MMAP2_SYSCALL): Likewise.
298 2001-05-19  Roland McGrath  <roland@frob.com>
300         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
301         result port when failing with ELOOP.  Do the ELOOP check when
302         following an absolute symlink target as well as relative.
303         Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
305 2001-05-18  Andreas Jaeger  <aj@suse.de>
307         * po/fr.po: Free software is "logiciel libre".
308         Patch by Martin Michlmayr <tbm@cyrius.com>.
310         * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
311         Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
313 2001-05-17  David Mosberger  <davidm@hpl.hp.com>
315         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
317 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
319         * elf/dl-profile.c (_dl_mcount): Check whether state is
320         GMON_PROF_ON before doing anything.
322 2001-05-17  H.J. Lu  <hjl@gnu.org>
324         * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
326 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
328         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
329         CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
330         Reported by Mark Burton <markb@ordern.com>.
332 2001-05-17  Jakub Jelinek  <jakub@redhat.com>
334         * elf/ldconfig.c (add_dir): Only warn about stat failure if
335         opt_verbose.
336         (search_dir): Likewise.
338 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
340         * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
341         parameter of xaddl.  Patch by H . J . Lu <hjl@lucon.org>.
343 2001-05-14  Bruno Haible  <haible@clisp.cons.org>
345         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
346         without previous announcement, reject it regularly, don't abort.
348 2001-05-16  Ulrich Drepper  <drepper@redhat.com>
350         * math/tgmath.h: Fix handling of int parameters to binary and
351         ternary functions.  Reported by mitr@volny.cz.
353         * math/test-tgmath.c: Add tests for calls with integer parameters.
355 2001-05-15  Jakub Jelinek  <jakub@redhat.com>
357         * sunrpc/rpc_thread.c (rpc_default): Remove.
358         (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
359         rpc_default.
360         (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
361         __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
362         * sunrpc/auth_none.c (authnone_private): Fix a typo.
364 2001-05-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
366         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
368 2001-05-16  Bruce Mitchener  <bruce@cubik.org>
370         * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
372 2001-05-15  Andreas Jaeger  <aj@suse.de>
374         * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
375         Stephen L Moshier <moshier@mediaone.net>.
377         * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
379         * math/libm-test.inc: Add comment with ToDo.
381         * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
382         accurate algorithm.  Patch by Stephen L Moshier <moshier@mediaone.net>.
384         * sysdeps/i386/fpu/e_expl.S: Removed.
386 2001-05-14  Roland McGrath  <roland@frob.com>
388         * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
389         static pattern rule also that also covers
390         $(objpx)g$(static-start-installed-name).
391         [$(start-installed-name) != $(static-start-installed-name)]
392         (extra-objs, omit-deps, install-lib): Add
393         $(static-start-installed-name) and g$(static-start-installed-name).
394         * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
395         just setting static-start-installed-name is now sufficient.
396         (extra-objs): Add static-start.o here.
397         (CFLAGS-initfini.s): Remove obsolete variable.
398         * sysdeps/mach/hurd/i386/Makeconfig: New file.
399         Define static-start-installed-name here.
401         * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
402         * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
404         * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
405         associated hair.  Instead, just use $(wildcard ...) in the include.
407         * configure.in (critic_missing, aux_missing): Collect in these vars
408         the names of the missing programs, and include them in the error msgs.
409         * configure: Regenerated.
411 2001-05-14  Andreas Jaeger  <aj@suse.de>
413         * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
415         * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
417 2001-05-14  Stephen L Moshier <moshier@mediaone.net>
419         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
421 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
423         * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
424         as well if swapping strings.
425         Make sure stop is not past end of second string.
426         * posix/bug-regex4.c: New test.
427         * posix/Makefile (tests): Add bug-regex4.
429 2001-05-10  Andreas Jaeger  <aj@suse.de>
431         * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
432         requirement.
434 2001-05-12  Andreas Jaeger  <aj@suse.de>
436         * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
437         internal prototypes.
438         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
439         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
440         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
441         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
442         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
443         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
444         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
446         * math/math_private.h: Add prototypes for internal functions of
447         the IBM Accurate Mathematical Library.
449         * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
450         prototypes.
451         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
453         * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
454         internal prototypes.
455         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
456         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
457         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
458         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
459         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
460         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
461         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
462         * sysdeps/generic/e_rem_pio2l.c: Likewise.
463         (__ieee754_rem_pio2l): Fix prototype.
465         * math/math_private.h (__copysign): Add internal prototype.
467 2001-05-11  Andreas Jaeger  <aj@suse.de>
469         * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
470         * sysdeps/unix/sysv/linux/mips/configure.in: ...here.  New file.
472 2001-05-11  Andreas Jaeger  <aj@suse.de>
474         * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
475         MIPS.
477         * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
478         format directive.  Patch by Steven J. Hill <sjhill@cotw.com>.
480 2001-05-11  Roland McGrath  <roland@frob.com>
482         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
483         $(build-module) here, since we don't need the full magilla.
484         Just use $(build-module-helper) and append our special options.
486 2001-05-09  Andreas Schwab  <schwab@suse.de>
488         * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
489         reached EOF.
491 2001-05-07  H.J. Lu  <hjl@gnu.org>
493         * elf/ldconfig.c (dir_entry): Add ino and dev.
494         (add_single_dir): Compare ino and dev to check if 2 directory
495         paths are the same or not. Free entry->path for duplicates.
496         (add_dir): Initialize ino and dev for entry.
497         (search_dir): Handle symlink to directory.
499 2001-05-07  Andreas Jaeger  <aj@suse.de>
501         * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
503         * math/libm-test.inc (exp_test): Add some more tests.
504         (pow_test): Run double only test also for long double.
506         * math/test-ldouble.c (TEST_LDOUBLE): Define.
507         * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
509         * sysdeps/generic/bits/confname.h: Remove extra comma at end of
510         enumeration.
511         Closes PR libc/2240.
513         * scripts/config.guess: Imported from gnu.org.
514         * scripts/config.sub: Likewise.
516 2001-05-05  Jakub Jelinek  <jakub@redhat.com>
518         * include/features.h (__USE_EXTERN_INLINES): Don't define if
519         __NO_INLINE__ is defined.
520         * ctype/ctype.h (tolower, toupper): Change the guard condition to
521         __USE_EXTERN_INLINES check only.
522         * stdlib/stdlib.h (strtod, ...): Likewise.
523         * wcsmbs/wchar.h (mbrlen): Likewise.
524         * string/string.h: Only include bits/string.h and bits/string2.h
525         if __NO_INLINE__ is not defined.
527 2001-05-07  Andreas Jaeger  <aj@suse.de>
529         * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
530         of @LIBDIR@.
532 2001-05-04  H.J. Lu  <hjl@gnu.org>
534         * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
535         not @LIBDIR@.
537 2001-05-06  Andreas Jaeger  <aj@suse.de>
539         * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
540         * sysdeps/i386/fpu/e_fmodl.S: Removed.
541         * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
542         * sysdeps/i386/fpu/e_atan2l.S: Removed.
543         * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
544         * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
545         * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
546         * sysdeps/i386/fpu/e_acosl.S: Removed.
547         * sysdeps/i386/fpu/s_atanl.S: Removed.
548         * sysdeps/i386/fpu/e_sqrtl.S: Removed.
550 2001-05-05  Mark Kettenis  <kettenis@gnu.org>
552         * sysdeps/mach/hurd/bits/environments.h: Add comment from
553         sysdeps/generic/bits/environments.h.  Define _POSIX_V6_* values.
555 2001-04-30  Jakub Jelinek  <jakub@redhat.com>
557         * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
558         that _CS_LFS_CFLAGS can fall through to the empty returned string
559         case.  Add FALLTHROUGH comment.
561 2001-04-29  Ralf Baechle  <ralf@gnu.org>
563         * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
564         definitions match the kernel definitions.
565         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
566         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
568 2001-04-29  Ben Collins  <bcollins@debian.org>
570         * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
571         warnings.
572         * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
573         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
574         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
575         * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
576         * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
577         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
578         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
579         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
580         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
581         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
582         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
583         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
584         * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
585         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
586         * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
587         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
588         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
589         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
590         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
591         * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
592         * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
593         * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
594         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
596 2001-04-29  Andreas Schwab  <schwab@suse.de>
598         * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
599         in last change.
601 2001-04-29  Andreas Jaeger  <aj@suse.de>
603         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
604         Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
606         * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
607         Linux 2.4.4.
608         (AF_WANPIPE): Likewise.
609         (MSG_MORE): New.
611         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
612         for Linux generic version.
613         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
614         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
615         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
616         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
618         * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
620 2001-04-27  Ulrich Drepper  <drepper@redhat.com>
622         * nis/nss-nis.h: Correct test for invalid error number.
623         * nis/nss-nisplus.h: Likewise.
625         * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
627 2001-04-26  Ulrich Drepper  <drepper@redhat.com>
629         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
631         * string/strcoll.c: Fix two memory allocation problems.
632         * string/Makefile (tests): Add bug-strcoll1.
633         * string/bug-strcoll1.c: New file.
635         * malloc/mcheck.c (mcheck): Call malloc once before setting the
636         hooks to allow the internal check hooks to be set up if necessary.
638         * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
639         and rename to __yperr2nss_tab.  Change YPERR_COUNT into variable
640         __yperr2nss_count.
641         * nis/nss-nis.c: New file.
642         * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
643         and rename to __niserr2nss_tab.  Change NISERR_COUNT into variable
644         __niserr2nss_count.
645         * nis/nss-nisplus.c: New file.
646         * nis/Makefile (libnss_compat-routines): Add nss-nis.
647         (libnss_nis-routines): Likewise.
648         (libnss_nisplus-routines): Add nss-nisplus.
650         * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
651         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
652         * nis/nss_nisplus/nisplus-grp.c: Likewise.
653         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
654         * nis/nss_nisplus/nisplus-network.c: Likewise.
655         * nis/nss_nisplus/nisplus-proto.c: Likewise.
656         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
657         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
658         * nis/nss_nisplus/nisplus-service.c: Likewise.
659         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
660         * nis/nss_nis/nis-alias.c: Likewise.
661         * nis/nss_nis/nis-ethers.c: Likewise.
662         * nis/nss_nis/nis-grp.c: Likewise.
663         * nis/nss_nis/nis-network.c: Likewise.
664         * nis/nss_nis/nis-proto.c: Likewise.
665         * nis/nss_nis/nis-pwd.c: Likewise.
666         * nis/nss_nis/nis-spwd.c: Likewise.
667         * nis/nss_compat/compat-grp.c: Likewise.
668         * nis/nss_compat/compat-initgroups.c: Likewise.
669         * nis/nss_compat/compat-pwd.c: Likewise.
670         * nis/nss_compat/compat-spwd.c: Likewise.
672         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
673         optimizations.  Patch by Jakub Jelinek <jakub@redhat.com>.
675 2001-04-26  Andreas Jaeger  <aj@suse.de>
677         * po/zh_TW.po: Update.
678         Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
680 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
682         * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
683         compiler command line.
684         * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
685         command line for malloc.c.
687 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
689         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
690         * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
691         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
692         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
693         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here.  Adjust
694         struct msghdr for __WORDSIZE == 32.
695         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
696         * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust
697         for __WORDSIZE == 32.
698         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
699         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
700         file.
701         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
702         Rename from longjmp, make longjmp weak alias to it.
704 2001-04-24  David S. Miller  <davem@redhat.com>
706         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
708 2001-04-25  Matthew Wilcox  <willy@ldl.fc.hp.com>
710         * sysdeps/hppa/stackinfo.h: New file.
711         * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
712         * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
713         * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
714         * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
715         of PA kernel features.
717 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
719         * locale/programs/localedef.c (main): Always set a file name for
720         the initial locale.
721         * locale/programs/locfile.c (locfile_read): filename is allowed to
722         be NULL.
724 2001-04-12  Paul Bame  <paul_bame@hp.com>
726         * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
727         enable flags.
729 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
731         * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
732         _XBS5_LPBIG_OFFBIG): Define to -1.
733         Fix typos.
735         * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
736         * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
737         * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
738         * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
740         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
741         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
743 2001-03-21  Alan Modra  <alan@one.net.au>
745         * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
746         value from application so that constructors in non-PIC libs work.
748 2000-12-13  Jes Sorensen  <jes@linuxcare.com>
750         * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
751         function pointer, hence load the jump address and gp from the
752         function pointer before jumping.
754 2001-04-24  Andreas Jaeger  <aj@suse.de>
756         * sysdeps/generic/send.c (__send): Return ssize_t.
757         * sysdeps/mach/hurd/send.c (__send): Likewise.
758         * sysdeps/mach/hurd/recv.c (recv): Likewise.
759         * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
760         * sysdeps/generic/sendto.c (sendto): Likewise.
761         * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
762         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
763         * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
764         * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
766         * socket/sys/socket.h: send* and recv* return ssize_t.
768         * include/sys/socket.h: send returns ssize_t.
770         * sysdeps/i386/fpu_control.h: Fix comments.
772 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
774         * sysdeps/ia64/Dist: Add hp-timing.c.
775         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
776         * posix/Makefile (distribute): Add tst-getconf.sh.
777         * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
779 2001-04-23  Ulrich Drepper  <drepper@redhat.com>
781         * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
782         * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
783         * sysdeps/ia64/hp-timing.c: New file.
784         * sysdeps/ia64/hp-timing.h: New file.
785         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
786         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
788         * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
789         using #ifdef whether the clock is available.
790         * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
792         * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
793         it into data section.
795         * sysdeps/unix/i386/i586/clock_getres.c: Removed.
796         * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
797         * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
798         * sysdeps/unix/i386/i586/clock_settime.c: Removed.
799         * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
800         * sysdeps/generic/cpuclock-init.h: Removed.
801         * sysdeps/unix/i386/i686/Implies: Removed.
802         * sysdeps/unix/i386/i686/tempname.c: Removed.
803         * sysdeps/i386/i686/Versions: New file.
804         * sysdeps/unix/i386/i586/Versions: Removed.
806         * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
807         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
808         * sysdeps/unix/clock_gettime.c: Likewise.
809         * sysdeps/unix/clock_nanosleep.c: Likewise.
810         * sysdeps/unix/clock_settime.c: Likewise.
811         * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
812         RANDOM_BITS use CPU clock.
814         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
815         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
816         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
817         * sysdeps/sparc/Versions: New file.
819         * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
820         hp-timing.h definitions.
821         * sysdeps/generic/dl-sysdep.c: Likewise.
823         * include/libc-internal.h: Include hp-timing.h.  Use hp_timing_t in
824         __get_clockfreq prototype.
826         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
827         Use hp_timing_t type.
828         * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
830         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
832         * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
833         whether named file is a regular file or a block device.
834         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
836 2001-04-23  Andreas Jaeger  <aj@suse.de>
838         * nscd/nscd.h: Add noreturn attribute for start_threads.
840 2001-04-22  Ulrich Drepper  <drepper@redhat.com>
842         * posix/getconf.c: Fix names of XBS5 LFS test variables.
843         Add missing configuration variables from XPG6.
844         * posix/tst-getconf.c: New file.
845         * posix/Makefile (generated): Add tst-getconf.out.
846         (tests): Add ($objpfx)tst-getconf.out.
847         Add rule to run tst-getconf.sh.
848         * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
849         from XPG6.
850         * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
851         _PC_SYMLINK_MAX.
852         * sysdeps/posix/pathconf.c: Likewise.
853         * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
854         and _SC_SYMLOOP_MAX.
856 2001-04-22  Philip Blundell  <philb@gnu.org>
858         * sysdeps/arm/fpu/feenablxcpt.c: New file.
859         * sysdeps/arm/fpu/fedisablxcpt.c: New file.
860         * sysdeps/arm/fpu/fegetexcpt.c: New file.
862 2001-04-22  Philip Blundell  <philb@gnu.org>
864         * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
865         Renamed from struct user_fp.
866         (struct user_regs): New.
867         (struct user): Use struct user_regs rather than struct pt_regs to
868         avoid dependency on asm/ptrace.h.  Use struct user_fpregs in place
869         of struct user_fp and struct user_fp_struct.
870         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
871         not sys/elf.h.
873 2001-04-22  Philip Blundell  <philb@gnu.org>
875         * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
876         sys/procfs.h, and tell the user to include that file instead.
877         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
878         surrounded with #if 0.
879         (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
880         from sys/elf.h.
881         (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
882         elf_fpregset_t respectively.
884 2001-04-22  Philip Blundell  <philb@gnu.org>
886         * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
887         address that faulted.
889 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
891         * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
892         values.
893         * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
894         * posix/confstr.c: Handle _CS_POSIX_V6_* values.
895         * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
896         * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
898         * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
899         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
900         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
901         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
903 2001-04-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
905         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
906         offset.
908 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
910         * posix/getopt.h: Treat __cplusplus like __STDC__.
912 2001-04-20  John S. Marvin  <jsm@fc.hp.com>
914         * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
915         entry point stub.
917 2001-04-20  Richard Hirst  <rhirst@linuxcare.com>
919         * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
920         and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
922         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
923         entry so the ptrace.c wrapper is used.
925 2001-04-20  Alan Modra  <amodra@one.net.au>
927         * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
928         (DL_FUNCTION_ADDRESS): Define.
929         (DL_DT_INIT_ADDRESS): Define.
930         (DL_DT_FINI_ADDRESS): Define.
931         * sysdeps/hppa/Versions: Add _dl_function_address.
932         * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
933         * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
934         _dl_function_address.
936 2001-04-21  Andreas Jaeger  <aj@suse.de>
938         * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
939         * resolv/gai_misc.c (handle_requests): Likewise.
940         * malloc/obstack.c (print_and_abort): Likewise.
941         * malloc/mcheck.c (mabort): Likewise.
943         * sysdeps/unix/i386/i586/clock_settime.c: Include
944         "libc-internal.h" for __get_clockfreq declaration.
946 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
948         * elf/dl-support.c: Include cpuclock-init.h.  Use CPUCLOCK_VARDEF and
949         CPUCLOCK_INIT if defined.
950         * sysdeps/generic/dl-sysdep.c: Likewise.
951         * sysdeps/generic/cpuclock-init.h: New file.
952         * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
953         * sysdeps/unix/i386/i586/Versions: New file.
954         * sysdeps/unix/i386/i586/clock_settime.c: New file.
955         * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
956         separately by calling __pthread_clock_gettime if this function is
957         available.  Subtract offset from tsc value before computing time value.
959 2001-04-20  Ulrich Drepper  <drepper@redhat.com>
961         * iconv/iconv_prog.c (print_known_names): If printing goes not to
962         a tty print in a more machine-friendly way.
964         * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
965         Contributed by Stephen L Moshier <moshier@mediaone.net>.
967 2001-04-20  Andreas Jaeger  <aj@suse.de>
969         * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
971 2001-04-20  Andreas Schwab  <schwab@suse.de>
973         * sysdeps/m68k/fpu/libm-test-ulps: Update.
975 2001-04-19  Alan Modra  <amodra@one.net.au>
977         * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
978         * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
979         (CFLAGS-.os): Remove.
981         * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
983         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
984         gregset): Correct for new kernel definitions.
986 2001-04-19  Alan Modra  <alan@linuxcare.com.au>
988         * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
989         generate unwind info by hand.
991 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
993         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
995         * configure.in: Correct regular expression for msgfmt.
996         Patch by Bruno Haible <haible@ilog.fr>.
998 2001-04-19  Andreas Jaeger  <aj@suse.de>
1000         * po/el.po: Add comment explaining what's broken.
1002         * po/Makefile (BROKEN_LINGUAS): New.
1003         (ALL_LINGUAS): Don't add broken languages.
1005 2001-04-19  Roland McGrath  <roland@frob.com>
1007         * sysdeps/mach/hurd/mlock.c: New file.
1008         * sysdeps/mach/hurd/munlock.c: New file.
1009         * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
1011         * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
1012         * sysdeps/generic/mlock.c: New file.
1013         * sysdeps/generic/munlock.c: New file.
1014         * sysdeps/generic/mlockall.c: New file.
1015         * sysdeps/generic/munlockall.c: New file.
1016         * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
1017         * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
1018         mlockall, munlockall): Change caller field to - from EXTRA.
1019         Don't use __ names; not used (and not declared in include/sys/mman.h).
1021         * hurd/privports.c (__get_privileged_ports): Renamed with __.
1022         Use __ names for calls we make.
1023         (get_privileged_ports): Add alias.
1024         * hurd/hurd.h: Declare it with the __ name.
1025         * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
1026         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
1027         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
1029         * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
1030         nothing if it's zero.
1032 2001-04-19  Matthew Wilcox  <willy@ldl.fc.hp.com>
1034         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
1035         Change to return a signed result for compatibility with other
1036         architectures, and correctness.
1038 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
1040         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
1041         HPPA always had them.  Patch by Matthew Wilcox <matthew@wil.cx>.
1043 2001-04-19  Andreas Jaeger  <aj@suse.de>
1045         * configure.in: Require gettext 0.10.36 or newer.
1047         * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
1049         * po/zh_TW.po: Remove extraneous backslashes.
1051         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
1052         variables b and n.
1054 2001-04-18  Jakub Jelinek  <jakub@redhat.com>
1056         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
1057         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
1058         * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
1059         * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
1060         Copy first word of uc_sigmask into __uc_sigmask.
1061         * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
1062         Save uc_link around trap. Copy __uc_sigmask into first word of
1063         uc_sigmask, clear the rest. Make sure setcontext to the created
1064         context doesn't do this though.
1065         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
1066         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
1067         uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
1068         64bit version, make uc_sigmask __sigset_t in the 32bit version.
1070 2001-04-19  Andreas Jaeger  <aj@suse.de>
1072         * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
1074         * rt/Makefile (otherlibs): Added for static NSS.
1076         * glibcbug.in (BUGGLIBC): Send to new alias.
1078 2001-04-02  Andreas Schwab  <schwab@suse.de>
1080         * Makerules (build-module): Make sure exit codes get checked
1081         properly and remove unnecessary slashes.
1083 2001-04-17  Ulrich Drepper  <drepper@redhat.com>
1085         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1086         Handle kernels which report only three digits after the decimal point.
1087         Reported by Van Okamura <van.okamura@oracle.com>.
1089         * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
1091 2001-04-17  David S. Miller  <davem@redhat.com>
1093         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
1094         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1096 2001-04-17  Jakub Jelinek  <jakub@redhat.com>
1098         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
1099         desired exceptions are raised for exceptional values.
1100         * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
1101         cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
1102         clog_test, log_test, log1p_test, tan_test): Increase precision of
1103         expected values to satisfy ldbl-128.
1104         * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
1105         * sysdeps/arm/libm-test-ulps: Likewise.
1106         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1107         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1108         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
1109         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
1110         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1111         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1112         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1113         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
1114         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1116 2001-04-17  Andreas Jaeger  <aj@suse.de>
1118         * configure.in: Move test for critical programs up.
1120 2001-04-16  Stephen L Moshier  <moshier@mediaone.net>
1122         * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
1123         Correct the values. (pSx, qSx): Replace by shorter approximation.
1124         Use f suffix on float constants.
1126 2001-04-16  Ulrich Drepper  <drepper@redhat.com>
1128         * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
1129         Contributed by Stephen L Moshier <moshier@mediaone.net>.
1131         * string/string.h: Replace const in attribute list with __const__.
1133 2001-04-16  Roland McGrath  <roland@frob.com>
1135         * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
1136         instead of the constant NGROUPS_MAX.  That way, the limit can be
1137         raised in the kernel configuration without having to recompile libc.
1139         * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
1140         define NGROUPS_MAX; we don't use it here.
1142 2001-04-16  Andreas Jaeger  <aj@suse.de>
1144         * math/libm-test.inc (atan2_test): Add more testcases.
1146         * iconv/gconv_db.c: Include gconv_charset.h for
1147         __gconv_lookup_alias prototype.
1149 2001-04-13  Ulrich Drepper  <drepper@redhat.com>
1151         * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
1152         Contributed by Stephen L Moshier <moshier@mediaone.net>.
1154 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
1156         * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
1158 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
1160         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
1161         explicitly pad struct siginfo instead of relying on compiler padding.
1163 2001-04-12  Ulrich Drepper  <drepper@redhat.com>
1165         * sysdeps/ia64/Dist: Add elf/entry.h.
1167         * iconvdata/Makefile (distribute): Add TESTS2.
1169 2001-04-13  Jakub Jelinek  <jakub@redhat.com>
1171         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
1172         Calculate load address differently.
1174 2001-04-12  Bruno Haible  <haible@clisp.cons.org>
1176         * iconvdata/TESTS2: New file.
1177         * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
1178         * iconvdata/testdata/alfabeta..UTF-8: New file.
1179         * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
1180         * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
1181         * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
1182         * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
1184 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
1186         * iconvdata/utf-32.c: New file.
1187         * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
1188         * iconvdata/Makefile (modules): Add UTF-32.
1189         (distribute): Add utf-32.c.
1191 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
1193         * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
1194         changing it in the state. After incrementing 'inptr', store it back.
1195         * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
1196         store it back.
1198 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
1200         * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
1201         MIN_NEEDED_FROM.
1203 2001-04-11  David Mosberger  <davidm@hpl.hp.com>
1205         * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
1206         * sysdeps/ia64/htons.S: Likewise.
1208         * sysdeps/ia64/memset.S: Add unwind directives.
1209         * sysdeps/ia64/strncpy.S: Likewise.
1210         * sysdeps/ia64/strcat.S: Likewise.
1212         * sysdeps/ia64/memccpy.S: Add unwind directives.  Drop superfluous
1213         restore of ar.pfs.
1214         * sysdeps/ia64/strchr.S: Likewise.
1215         * sysdeps/ia64/memmove.S: Likewise.
1216         * sysdeps/ia64/memcpy.S: Likewise.
1217         * sysdeps/ia64/memcmp.S: Likewise.
1218         * sysdeps/ia64/memchr.S: Likewise.
1219         * sysdeps/ia64/strcmp.S: Likewise.
1220         * sysdeps/ia64/strlen.S: Likewise.
1221         * sysdeps/ia64/strcpy.S: Likewise.
1222         * sysdeps/ia64/strncmp.S: Likewise.
1224 2001-04-11  Jakub Jelinek  <jakub@redhat.com>
1226         * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
1227         fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
1228         fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
1229         fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
1231 2001-04-11  Andreas Jaeger  <aj@suse.de>
1233         * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
1235 2001-04-11  Andreas Schwab  <schwab@suse.de>
1237         * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
1239 2001-04-11  Ulrich Drepper  <drepper@redhat.com>
1241         * sysdeps/arm/stackinfo.h: New file.
1243 2001-04-08  Thorsten Kukuk  <kukuk@suse.de>
1245         * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
1246         rpcgen to generate thread safe code.
1248 2001-04-10  Andreas Jaeger  <aj@suse.de>
1250         * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
1252 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
1254         * elf/dl-minimal.c (__assert_fail): Change error string.  It's
1255         most of the time no bug in ld.so.
1256         (__assert_perror_fail): Likewise.
1258 2001-04-11  Hans-Peter Nilsson  <hp@axis.com>
1260         * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
1261         from struct to unsigned int.
1263 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1265         * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
1266         AT_IGNOREPPC): New defines.
1267         * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
1268         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
1269         Define for newer powerpc kernels.
1270         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
1271         DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
1273 2000-4-10  kaz Kojima  <kkojima@rr.iij4u.or.jp>
1275         * sysdeps/sh/stackinfo.h: New file.
1277 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
1279         * locale/tst-C-locale.c (run_test): Add tests for locale objects.
1280         * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
1281         __ctype_tolower, and __ctype_toupper elements.
1283         * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
1284         Reported by Konstantin Osipov <rabid@spylog.ru>.
1286         * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
1287         the lousy AMD FPU.
1289 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1291         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
1292         * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
1293         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
1294         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
1296 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
1298         * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
1299         message.  Based on a patch by HJ Lu.
1301 2001-04-10  Andreas Schwab  <schwab@suse.de>
1303         * math/libm-test.inc (csinh_test): Don't require the invalid
1304         exception for csinh (x + iNaN), but make it optional.
1306 2001-04-09  David Mosberger  <davidm@hpl.hp.com>
1308         * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
1310         * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
1311         * sysdeps/ia64/elf/entry.h: New file.
1312         * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
1313         __start.
1314         * elf/rtld.c: Don't declare ENTRY_POINT.  Use ENTRY_POINT instead
1315         of &ENTRY_POINT.
1316         * sysdeps/generic/dl-sysdep.c: Likewise.
1317         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1318         * sysdeps/ia64/elf/start.S: Save base address of register backing
1319         store in __libc_ia64_register_backing_store_base.
1321 2001-04-10  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1323         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
1324         value of getcontext.
1325         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1326         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
1327         value of setcontext.
1328         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1329         * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
1330         call by changing the saved context.
1332 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
1334         * sysdeps/alpha/stackinfo.h: New file.
1335         * sysdeps/ia64/stackinfo.h: New file.
1337 2001-04-10  Andreas Schwab  <schwab@suse.de>
1339         * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
1340         values.
1341         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
1343 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
1345         * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
1346         * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
1348         * libio/Makefile (distribute): Add fd_to_filename.h.
1350 2001-04-05  David S. Miller  <davem@redhat.com>
1352         Add hp-timing support for sparcv9/sparc64 targets.
1353         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
1354         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
1355         * sysdeps/sparc/sparc64/hp-timing.c: New file
1356         * sysdeps/sparc/sparc64/hp-timing.h: New file
1357         * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
1358         * sysdeps/sparc/sparc64/Makefile: Likewise.
1360 2001-04-09  Jakub Jelinek  <jakub@redhat.com>
1362         * sysdeps/generic/fd_to_filename.h: New file.
1363         * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
1364         * libio/freopen.c (freopen): If FILENAME is NULL, try to get
1365         filename from the open file descriptor.
1366         * libio/freopen64.c (freopen64): Likewise.
1368 2001-04-09  Bruno Haible  <haible@clisp.cons.org>
1370         * misc/error.c (error): fflush stdout also if
1371         error_print_progname != NULL.
1372         (error_at_line): Likewise.
1374 2001-04-07  Bruno Haible  <haible@clisp.cons.org>
1376         * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
1377         (struct binding): Add codeset_cntr field.
1378         (_nl_load_domain): Add domainbinding argument.
1379         (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
1380         (_nl_find_msg): New declaration, moved here from loadinfo.h.
1381         * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
1382         (_nl_make_l10nflist): Remove domainbinding argument.
1383         (_nl_find_msg): Move declaration to gettextP.h.
1384         * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
1385         to 0.  Increment it when ->codeset is changed.
1386         * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
1387         (_nl_find_msg): Add domainbinding argument.  Reinitialize the converter
1388         if domainbinding->codeset_cntr has been incremented.
1389         * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
1390         _nl_make_l10nflist().  Pass it to _nl_load_domain() instead.
1391         * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
1392         * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
1393          from _nl_load_domain.  Append //TRANSLIT also when using libiconv.
1394         (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
1395         (_nl_load_domain): Add domainbinding argument.  Call
1396         _nl_init_domain_conv.
1397         (_nl_unload_domain): Call _nl_free_domain_conv.
1398         * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
1399         (test-srcs): Add tst-codeset.
1400         (tests): Depend on tst-codeset.out.
1401         (tst-codeset.out): New rule.
1402         (CFLAGS-tst-codeset.c): New variable.
1403         * intl/tst-codeset.sh: New file.
1404         * intl/tstcodeset.po: New file.
1405         * intl/tst-codeset.c: New file.
1406         * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
1407         calls.
1409 2001-04-07  Roland McGrath  <roland@frob.com>
1411         * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
1413 2001-03-31  Roland McGrath  <roland@frob.com>
1415         * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
1416         copying send rights into child.  When we hit our name for our proc
1417         port, just copy NEWPROC directly instead of repeating proc_task2proc
1418         to install the child's port.
1420 2001-04-08  Roland McGrath  <roland@frob.com>
1422         * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
1423         in second column, to provide default values for third column.
1424         * shlib-versions: Add comments about using DEFAULT in second column.
1425         (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
1426         (cris-.*-linux.*): Likewise.
1428 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
1430         * Makefile (distribute): Add scripts/documented.sh.
1431         * scripts/documented.sh: New file.
1433 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1435         * sysdeps/unix/sysv/linux/cris/Dist: New file.
1436         * sysdeps/unix/sysv/linux/cris/Makefile: New file.
1437         * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
1438         * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
1439         * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
1440         * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
1441         * sysdeps/unix/sysv/linux/cris/brk.c: New file.
1442         * sysdeps/unix/sysv/linux/cris/chown.c: New file.
1443         * sysdeps/unix/sysv/linux/cris/clone.S: New file.
1444         * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
1445         * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
1446         * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
1447         * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
1448         * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
1449         * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
1450         * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
1451         * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
1452         * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
1453         * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
1454         * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
1455         * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
1456         * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
1457         * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
1458         * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
1459         * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
1460         * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
1461         * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
1462         * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
1463         * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
1464         * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
1465         * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
1466         * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
1467         * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
1468         * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
1469         * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
1470         * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
1471         * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
1472         * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
1473         * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
1474         * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
1475         * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
1476         * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
1477         * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
1478         * sysdeps/unix/sysv/linux/cris/socket.S: New file.
1479         * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
1480         * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
1481         * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
1482         * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
1483         * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
1484         * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
1486 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1488         * sysdeps/cris/Dist: New file.
1489         * sysdeps/cris/Implies: New file.
1490         * sysdeps/cris/Makefile: New file.
1491         * sysdeps/cris/__longjmp.S: New file.
1492         * sysdeps/cris/_mcount.S: New file.
1493         * sysdeps/cris/bits/endian.h: New file.
1494         * sysdeps/cris/bits/setjmp.h: New file.
1495         * sysdeps/cris/bits/string.h: New file.
1496         * sysdeps/cris/dl-machine.h: New file.
1497         * sysdeps/cris/elf/start.S: New file.
1498         * sysdeps/cris/machine-gmon.h: New file.
1499         * sysdeps/cris/memcopy.h: New file.
1500         * sysdeps/cris/memusage.h: New file.
1501         * sysdeps/cris/setjmp.S: New file.
1502         * sysdeps/cris/sysdep.h: New file.
1503         * sysdeps/cris/wordcopy.c: New file.
1505 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1507         * elf/elf.h: Add new relocations for CRIS.
1509 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1511         * shlib-versions: Add cases for Linux on CRIS.
1513 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1515         * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
1516         ';' for comments and '@' for line separator.
1518 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1520         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
1521         typo; s/==/=/ for assignment.
1523 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1525         * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
1527 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1529         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
1530         empty input before checking full output.
1532 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1534         * iconv/gconv.c (__gconv): Don't derefer parameter cd before
1535         checking if == -1L.
1537 2001-04-08  Ulrich Drepper  <drepper@redhat.com>
1539         * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
1541 2001-04-07  Stephen L Moshier  <moshier@mediaone.net>
1543         * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
1544         return values.
1546 2001-04-07  Ulrich Drepper  <drepper@redhat.com>
1548         * stdlib/tst-setcontext.c (main): Add a test for setcontext.
1550         * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
1551         * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
1552         * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
1553         * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
1554         * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
1555         * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
1557 2001-04-07  Andreas Jaeger  <aj@suse.de>
1559         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
1560         instead of separate sin and cos.
1561         (__ieee754_j1l): Likewise.
1563 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
1565         * sysdeps/ia64/abort-instr.h: New file.  Code by David Mosberger.
1567         * sysdeps/ia64/atomicity.h: New file.  Copied from libstdc++.
1569         * sysdeps/i386/i486/atomicity.h: Clean up the asms.
1571         * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
1572         available.
1573         * sysdeps/generic/e_scalbf.c: Likewise.
1574         * sysdeps/generic/e_scalbl.c: Likewise.
1575         Patch by Mark Hatle <fray@mvista.com>.
1577 2001-04-05  David S. Miller  <davem@redhat.com>
1579         * sysdeps/sparc/abort-instr.h: New file.
1581 2001-04-05  Matt Wilson  <msw@redhat.com>
1583         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
1584         added code to parse new 2.4 format.
1585         (GET_NPROCS_CONF_PARSER): Likewise.
1587 2001-04-05  David S. Miller  <davem@redhat.com>
1589         * scripts/config.sub: Recognize sparcv9b like sparcv9.
1590         * configure.in: Add sparcv9b.
1591         * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
1592         * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
1593         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
1595 2001-04-06  David Mosberger  <davidm@hpl.hp.com>
1597         * stdlib/tst-setcontext.c: Move st2[] to global scope.
1598         (f2): Verify that stack pointer is inside st2[].
1600         * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
1601         * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
1603 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
1605         * timezone/antarctica: Update from tzdata2001b.
1606         * timezone/asia: Likewise.
1607         * timezone/australasia: Likewise.
1608         * timezone/europe: Likewise.
1609         * timezone/northamerica: Likewise.
1611         * iconv/iconv_open.c: Move strip and upstr definitions...
1612         * iconv/gconv_charset.h: ...here.  New file.
1613         * iconv/gconv_db.c (once): Move to file level.
1614         (do_lookup_alias): Split out from __gconv_find_transform.
1615         (__gconv_find_transform): Call do_lookup_alias.
1616         (__gconv_loopup_alias): New function.
1617         * locale/langinfo.h: Define _NL_*_CODESET values for all categories
1618         but LC_CTYPE.
1619         * locale/categories.def: Add entries for new _NL_*_CODESET values.
1620         * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
1621         * locale/C-address.c: Initialize _NL_*_CODESET element.
1622         * locale/C-collate.c: Likewise.
1623         * locale/C-identification.c: Likewise.
1624         * locale/C-measurement.c: Likewise.
1625         * locale/C-messages.c: Likewise.
1626         * locale/C-monetary.c: Likewise.
1627         * locale/C-name.c: Likewise.
1628         * locale/C-numeric.c: Likewise.
1629         * locale/C-paper.c: Likewise.
1630         * locale/C-telephone.c: Likewise.
1631         * locale/C-time.c: Likewise.
1632         * locale/localeinfo.h: Declare _nl_C_codeset.
1633         * locale/C_name.c: Define _nl_C_codeset.
1634         * locale/findlocale.c: Before accepting locale check that the used
1635         charset does not conflict with what the locale name said.
1636         * locale/programs/ld-address.c: Emit codeset information.
1637         * locale/programs/ld-collate.c: Likewise.
1638         * locale/programs/ld-identification.c: Likewise.
1639         * locale/programs/ld-measurement.c: Likewise.
1640         * locale/programs/ld-messages.c: Likewise.
1641         * locale/programs/ld-monetary.c: Likewise.
1642         * locale/programs/ld-name.c: Likewise.
1643         * locale/programs/ld-numeric.c: Likewise.
1644         * locale/programs/ld-paper.c: Likewise.
1645         * locale/programs/ld-telephone.c: Likewise.
1646         * locale/programs/ld-time.c: Likewise.
1648         * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
1649         if the locale data couldn't be found.
1651         * string/Makefile: Define tst-strxfrm-ENV.
1653         * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
1655 2001-04-06  Andreas Jaeger  <aj@suse.de>
1657         * include/sys/profil.h: New file.
1659         * dlfcn/modatexit.c: Add prototypes to silence GCC.
1660         * dlfcn/modcxaatexit.c: Likewise.
1661         * elf/globalmod1.c: Likewise.
1663 2001-04-05  David S. Miller  <davem@redhat.com>
1665         * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
1666         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
1667         capability flags table and HWCAP_IMPORTANT, increase
1668         _DL_HWCAP_COUNT to 6.
1669         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
1671 2001-04-04  David Mosberger  <davidm@hpl.hp.com>
1673         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
1674         initialization of stack_end (bug reported by Zheng Gengbin
1675         <gzheng@students.uiuc.edu>).
1677 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
1679         * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
1681 2001-04-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1683         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
1685 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
1687         * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
1688         * sysdeps/i386/fpu/e_asinl.S: Removed.  Too inaccurate.
1690         * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
1692 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
1694         * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
1695         define simple replacements here.  Patch by Michael Keezer.
1697         * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
1698         * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
1699         Contributed by Stephen L Moshier <moshier@mediaone.net>.
1701         * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
1702         anymore.
1704 2001-04-01  Andreas Jaeger  <aj@suse.de>
1706         * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
1707         alias.
1709         * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
1711 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
1713         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
1714         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
1716 2001-04-04  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1718         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
1719         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
1720         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
1721         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
1722         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
1723         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
1724         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
1725         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
1726         * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
1728 2001-04-04  Andreas Jaeger  <aj@suse.de>
1730         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
1731         place.
1733 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
1735         * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
1736         * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
1737         * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
1738         (unsigned_dec): Likewise.
1739         Patch by atai@jezebel.dreamhost.com.
1741         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
1742         pointer to int as last parameter of yp_match.
1743         Patch by kanazawa@flab.fujitsu.co.jp.
1745 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
1747         * resolv/netdb.h (gai_strerror): Make return value const.
1748         * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
1749         * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
1750         Add strings for new error values.
1752 2001-03-29  Michael Keezer  <mkeezer@redhat.com>
1754         * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
1755         * login/tst-utmp.c: Handle case where ut_tv is not available but
1756         ut_time is.
1757         * sysdeps/unix/sysv/aix/utmpx.h: New file.
1758         * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
1759         _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
1760         * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
1761         * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
1762         to access RTCU timer reg.
1763         * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
1764         added dl-libc, dl-open,dl-sym, dl-close to misc.
1765         * sysdeps/unix/sysv/aix/start.c: New file.  Start code.
1766         * sysdeps/unix/sysv/aix/dlldr.h: New file.  AIX __loadx defines.
1767         * sysdeps/unix/sysv/aix/dl-close.c: New file.  AIX dl-close.
1768         * sysdeps/unix/sysv/aix/dl-open.c: New file.  AIX dl-open.
1769         * sysdeps/unix/sysv/aix/dl-sym.c: New file.  AIX dl-sym.
1770         * sysdeps/unix/sysv/aix/dl-libc.c: New file.  libc_dl-xxx support.
1771         * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
1772         GLIBC_2_2).
1773         * sysdeps/generic/strtoull.c: Likewise.
1774         * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
1775         * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
1776         sysdeps/generic/memset.c.
1777         * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
1779 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
1781         * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
1782         * locale/programs/charmap.c: Define null_pointer if
1783         NEED_NULL_POINTER is defined.
1785         * misc/dirname.c (dirname): Handle multiple slashes correctly.
1787 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1789         * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
1791 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1793         * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
1794         * sysdeps/s390/s390-64/bcopy.S: Likewise.
1795         * sysdeps/s390/s390-32/mempcy.S: Likewise.
1796         * sysdeps/s390/s390-64/memcpy.S: Likewise.
1798 2001-04-02  Bruno Haible  <haible@clisp.cons.org>
1800         * manual/message.texi (Advanced gettext functions): More specific
1801         syntax in the plural formula examples.
1803 2001-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1805         * sysdeps/powerpc/atomicity.h: Silence warnings.
1806         * sysdeps/powerpc/dl-machine.h: Likewise.
1807         * sysdeps/powerpc/register-dump.h: Likewise.
1808         * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
1810 2001-04-02  Andreas Jaeger  <aj@suse.de>
1812         * misc/tst-dirname.c (main): Add more tests, derived from a bug
1813         report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
1815 2001-04-01  Andreas Jaeger  <aj@suse.de>
1817         * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
1818         is installed there.
1819         * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
1821 2001-04-01  H.J. Lu  <hjl@gnu.org>
1823         * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
1824         tmpnam (NULL).
1825         * stdlib/isomac.c (macrofile): Likewise.
1827 2001-03-30  Thorsten Kukuk  <kukuk@suse.de>
1829         * inet/rcmd.c: Allow AF_UNSPEC as parameter.
1830         * nis/ypclnt.c (yp_all): Print error message only at last try,
1831         check for protocoll error only if we don't have a network error.
1833 2001-04-02  Andreas Schwab  <schwab@suse.de>
1835         * resolv/res_data.c (res_isourserver): Fix cast.
1837 2001-04-02  Andreas Jaeger  <aj@suse.de>
1839         * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
1840         __umount2.
1842         * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
1843         strings.
1844         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
1846         * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
1847         initializers.
1848         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
1850         * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
1851         warning about unused variable.
1853         * string/string.h (strndupa): Add cast for C++ conformance.
1854         (strdupa): Likewise.
1855         Fixes PR libc/2173, reported by tbrowder@home.com.
1857 2001-03-30  Roland McGrath  <roland@frob.com>
1859         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
1860         options after $(build-module), which is no longer a single command.
1861         (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
1862         (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
1863         variables using it.  Reported by Mark Kettenis <kettenis@gnu.org>.
1865 2001-03-11  Roland McGrath  <roland@frob.com>
1867         * elf/rtld.c (dl_main): Add cast to quiet warning.
1868         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1869         * iconv/gconv_conf.c (__gconv_get_path): Likewise.
1870         (__gconv_read_conf): Likewise.
1871         * iconv/gconv_db.c (gen_steps): Likewise.
1872         (__gconv_find_transform): Likewise.
1873         * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
1874         (fopen_uncompressed): Use const in second argument's type.
1876 2001-03-11  Roland McGrath  <roland@frob.com>
1878         * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
1880         * mach/mach_error.h: Fix ancient #endif syntax.
1881         * hurd/hurdmalloc.c: Likewise.
1883         * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
1884         compare_and_swap): Add volatile qualifier to first arg, to bring
1885         these prototypes in line with all the other implementations.
1886         Add a #warning to remind the builder that these are not atomic.
1888 2001-03-04  Roland McGrath  <roland@frob.com>
1890         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
1891         member of TEMP_F so its type is _IO_FILE * as expected.
1893         * hurd/fopenport.c (seekio): Conditionalize type of POS argument
1894         on [USE_IN_LIBIO].  Check the value for overflow, since for libio
1895         it might exceed off_t's range.
1897 2001-02-25  Roland McGrath  <roland@frob.com>
1899         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
1900         * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
1902         * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
1903         macro instead of an inline function,
1904         (MSG_EXAMINE): Likewise.
1906         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
1908         * hurd/get-host.c: Include <string.h> for decls of built-ins.
1909         * hurd/hurdchdir.c: Likewise.
1910         * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
1911         * sysdeps/mach/hurd/opendir.c: Likewise.
1913         * mach/mach_init.c: Include <unistd.h> for _exit decl.
1915         * mach/errsystems.awk: Give output file a trailing newline.
1917         * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
1918         the script will use our compiler for the cpp stage.
1920         With --enable-all-warnings we get a whole bunch of warnings,
1921         and these are just a few fixes; there are more needed to silence it.
1922         * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
1923         decls before extern inline defns to quiet gcc warning.
1924         * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
1925         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
1927 2001-03-31  Andreas Jaeger  <aj@suse.de>
1929         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
1930         (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
1931         (ARPHRD_CISCO): New.
1932         Changes from Linux 2.4.3.
1934 2001-03-30  Isamu Hasegawa  <isamu@yamato.ibm.com>
1936         * posix/regex.c: Avoid an access violation if malloc failes.
1938 2001-03-30  Andreas Jaeger  <aj@suse.de>
1940         * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
1942 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
1944         * posix/regex.c: Remove unnecessary ifs.
1946         * math/bits/mathcalls.h: Remove infnan declaration.
1948 2001-03-29  H.J. Lu  <hjl@gnu.org>
1950         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
1951         and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
1952         * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
1953         .
1954 2001-03-29  Isamu Hasegawa  <isamu@yamato.ibm.com>
1956         * posix/regex.c: Fix typo and add a sentinel.
1958 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
1960         * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
1961         O_NOFOLLOW.  Suggested by Christoph Roland.
1963 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1965         * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
1966         * sysdeps/s390/s390-32/bits/string.h: Remove.
1967         * sysdeps/s390/s390-64/bits/string.h: Remove.
1968         * sysdeps/s390/s390-32/strcmp.S: New file.
1969         * sysdeps/s390/s390-64/strcmp.S: New file.
1971 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1973         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
1974         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1976 2001-03-27  Ulrich Drepper  <drepper@redhat.com>
1978         * version.h (VERSION): Bump to 2.2.3.
1980         * stdlib/isomac.c (fmt): Don't define _LIBC.
1981         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
1982         LOW_HALF only if _LIBC is defined.
1984         * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
1986         * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
1987         and +().
1988         * posix/tst-fnmatch.input: Add test cases for matching empty strings.
1990         * sysdeps/ieee754/dbl-64/endian.h: Removed.  Move definitions...
1991         * include/endian.h: ...to here.
1993 2001-03-27  kaz Kojima  <kkojima@rr.iij4u.or.jp>
1995         * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
1996         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
1998 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2000         * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
2002 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
2004         * sysdeps/ia64/fpu/Dist: Add new files to distribute.
2005         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
2006         * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
2008         * gmon/Makefile (headers): Add sys/profil.h.
2010 2001-03-18  Andreas Jaeger  <aj@suse.de>
2012         * manual/install.texi (Tools for Compilation): Advise to use GCC
2013         2.95.3.
2014         (Supported Configurations): Mention s390x.
2016 2001-03-26  Ben Collins  <bcollins@debian.org>
2018         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
2019         defines to match other architectures.
2021 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
2023         * libio/Makefile (tests): Add tst-ext.
2024         * libio/tst-ext.c: New file.
2026         * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
2028 2001-03-25  Ulrich Drepper  <drepper@redhat.com>
2030         Add changes which were in this form in the original patch by
2031         Eric Norum <eric.norum@usask.ca>.
2032         * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
2033         svc_max_pollfd.
2034         * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
2035         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
2036         __rpc_thread_svc_max_pollfd.
2037         Define svc_fdset, get_rpc_createerr, svc_pollfd, and
2038         svc_max_pollfd.
2039         * sunrpc/rpc_thread.c: Handle first thread special, it uses the
2040         global variables.
2041         Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
2042         __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
2043         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export  __rpc_thread_svc_fdset,
2044         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
2045         __rpc_thread_svc_max_pollfd.
2046         * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
2047         get_rpc_createerr.
2048         * sunrpc/clnt_perr.c: Likewise.
2049         * sunrpc/clnt_simp.c: Likewise.
2050         * sunrpc/clnt_tcp.c: Likewise.
2051         * sunrpc/clnt_udp.c: Likewise.
2052         * sunrpc/clnt_unix.c: Likewise.
2053         * sunrpc/pm_getport.c: Likewise.
2055         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
2056         syscall checks for negative n so don't test here as well.
2058 2001-03-23  Jes Sorensen  <jes@linuxcare.com>
2060         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
2061         * sysdeps/ia64/sysdep.h: ...here.
2063         * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
2064         * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
2066         * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
2067         declare instead of LEAF().  Suggestion from David Mosberger.
2069 2001-03-21  David Mosberger  <davidm@hpl.hp.com>
2071         * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
2072         directives.
2073         (PSEUDO): Drop .psr and .lsb directives.
2075         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto.  Add unwind
2076         directives.
2077         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
2079         * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
2080         directives etc.
2081         * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
2082         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
2083         * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
2084         longer needed).  Add unwind directives.
2086         * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
2087         ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
2089 2001-03-21  Paul Eggert  <eggert@twinsun.com>
2091         * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
2092         (RE_SYNTAX_POSIX_EGREP): Use it.
2093         * posix/regex.c (regex_compile): Implement it.
2095 2001-03-21  Paul Eggert  <eggert@twinsun.com>
2097         * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
2098         Rewrite to avoid duplicate code.
2100 2001-03-21  H.J. Lu  <hjl@gnu.org>
2102         * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
2103         for cross-compiling.
2104         ($(objpfx)tst-pathopt.out): Undo the last change.
2106 2001-03-24  Mark Kettenis  <kettenis@gnu.org>
2108         * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
2109         sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
2111         * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
2112         (_dl_argv): Declare.
2113         (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
2115 2001-03-22  Andreas Jaeger  <aj@suse.de>
2117         * iconvdata/Makefile (generated): Add iconv-test.xxx.
2119         * posix/Makefile (generated): Add bug-regex2.mtrace and
2120         bug-regex2-mem.
2122 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
2124         * csu/version.c (__gnu_get_libc_release): Add prototype.
2125         (__gnu_get_libc_version): Likewise.
2126         * include/gnu/libc-version.h: Remove prototypes for not exported
2127         functions.
2129 2001-03-21  Jes Sorensen  <jes@linuxcare.com>
2131         * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
2132         for internationalized printfs to work.
2134 2001-03-09  Bruno Haible  <haible@clisp.cons.org>
2136         * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
2137         avoid compiler warning.
2138         (_nl_find_msg): Add casts to avoid compiler warnings.
2140 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
2142         * gmon/Makefile (routines): Add sprofil.
2143         (tests): Add tst-sprofil.
2144         (noprof): Add sprofil.
2145         * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
2147 2001-03-20  David Mosberger  <davidm@hpl.hp.com>
2149         * sysdeps/generic/sprofil.c: New file.
2150         * sysdeps/posix/sprofil.c: New file.
2151         * gmon/tst-sprofil.c: New file.
2152         * gmon/sys/profil.h: New file.
2154 2001-03-20  Andreas Schwab  <schwab@suse.de>
2156         * include/unistd.h: Adjust prototype of __gethostname.
2158 2001-03-20  Jakub Jelinek  <jakub@redhat.com>
2160         * sysdeps/sparc/stackinfo.h: New file.
2162 2001-03-21  Andreas Jaeger  <aj@suse.de>
2164         * elf/global.c (main): Use proper prototype.
2166 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
2168         * sunrpc/Makefile (routines): Add rpc_thread.
2169         (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
2170         * sunrpc/rpc_thread.c: New file.
2171         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
2172         * sunrpc/auth_none.c: Don't use global variables.  Access state in
2173         thread-local storage.
2174         * sunrpc/clnt_perr.c: Likewise.
2175         * sunrpc/clnt_raw.c: Likewise.
2176         * sunrpc/clnt_simp.c: Likewise.
2177         * sunrpc/key_call.c: Likewise.
2178         * sunrpc/rpc_common.c: Likewise.
2179         * sunrpc/svc.c: Likewise.
2180         * sunrpc/svc_raw.c: Likewise.
2181         * sunrpc/svc_simple.c: Likewise.
2182         * sunrpc/svcauth_des.c: Likewise.
2183         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
2184         _HURD_THREADVAR_RPC_VARS.
2185         * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
2186         * include/rpc/rpc.h: Define data structures for internal thread-local
2187         "global" variables.
2188         Based on patches by Eric Norum <eric.norum@usask.ca>.
2190         * elf/dl-load.c: Various little optimizations.
2192         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
2193         LINUX_LINK_MAX only if the statfs function is not implemented for
2194         the filesystem.
2196         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
2197         LINUX_LINK_MAX only if the fstatfs function is not implemented for
2198         the filesystem.
2200 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
2202         * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
2204         * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
2205         (_dl_dst_substitute): Likewise.
2207 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
2209         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
2211 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
2213         * intl/gettextP.h (struct expression): Add operators lnot, less_than,
2214         greater_than, less_or_equal, greater_or_equal. Replace args2/args3
2215         union by a 'nargs' counter and an 'args[]' array.
2216         * intl/plural.y: Don't include stdarg.h.
2217         (new_exp): Take an array of arguments instead of varargs.
2218         (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
2219         ('?' ':'): Make right-associative.
2220         (EQUOP2): New token, replaces '=' and '!'.
2221         (CMPOP2): New token.
2222         (ADDOP2): New token, replaces '+' and '-'.
2223         (MULOP2): New token, replaces '*', '/' and '%'.
2224         ('!'): New token.
2225         (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
2226         (start): Call YYABORT here.
2227         (FREE_EXPRESSION): Update.
2228         (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
2229         Update for new token symbols.
2230         * intl/loadmsgcat.c (plvar, plone, germanic_plural,
2231         init_germanic_plural): Update.
2232         * intl/dcigettext.c (_nl_find_msg): Optimize for space.
2233         (plural_eval): Recognize comparison and '!' operators. Optimize for
2234         space.
2236 2001-03-10  Bruno Haible  <haible@clisp.cons.org>
2238         * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
2239         NULL any more.
2241 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
2243         * intl/loadmsgcat.c: Include headers needed for alloca().
2244         (freea): New macro.
2245         (_nl_load_domain): Add fallback code for platforms lacking alloca.
2246         * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
2247         (freea): New macro.
2248         (read_alias_file): Simplify fallback code for platforms lacking
2249         alloca.
2251 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
2253         * intl/gettextP.h (__gettextdebug): Remove declaration.
2254         (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
2255         syntax.
2256         (gettext_free_exp__, gettextparse__): New non-libc declarations.
2257         * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
2258         not __gettextparse, __gettext_free_exp.
2259         * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
2261 2001-02-24  Bruno Haible  <haible@clisp.cons.org>
2263         * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
2265 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
2267         * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
2268         lacking strtoul, like SunOS4.
2270 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
2272         * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
2274 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
2276         * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
2277         syntax.
2278         * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
2279         * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
2280         * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
2281         syntax.
2283 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
2285         * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
2286         bindtextdomain__, bind_textdomain_codeset__): New declarations, from
2287         old libgettext.h.
2288         * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
2289         * intl/dcgettext.c: Likewise.
2290         * intl/dcigettext.c: Likewise.
2291         * intl/dcngettext.c: Likewise.
2292         * intl/dngettext.c: Likewise.
2293         * intl/finddomain.c: Likewise.
2294         * intl/ngettext.c: Likewise.
2295         * intl/textdomain.c: Likewise.
2296         * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
2297         Include gettextP.h.
2298         * intl/gettext.c: Likewise.  Don't include locale.h.
2300 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
2302         * intl/gettextP.h (ZERO): New macro.
2303         (struct binding): Always use ZERO.
2304         * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
2305         lack it, like SunOS4.
2306         (set_binding_values): Use offsetof, not sizeof.
2307         * intl/dcigettext.c (offsetof): Provide fallback for platforms that
2308         lack it, like SunOS4.
2309         (ZERO): Remove macro.
2310         (struct transmem_list): Use ZERO.
2311         (DCIGETTEXT): Use offsetof, not sizeof.
2313 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
2315         * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
2316         nls_uint32.
2317         * intl/bindtextdom.c: Don't include gettext.h.
2318         * intl/dcgettext.c: Likewise.
2319         * intl/dcigettext.c: Likewise.
2320         * intl/dcngettext.c: Likewise.
2321         * intl/dngettext.c: Likewise.
2322         * intl/finddomain.c: Likewise.
2323         * intl/localealias.c: Likewise.
2324         * intl/ngettext.c: Likewise.
2325         * intl/plural.y: Likewise.
2326         * intl/textdomain.c: Likewise.
2328 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
2330         * intl/gettext.h: Don't include <stdio.h>.
2332 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
2334         * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
2335         * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
2337 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
2339         * sysdeps/unix/i386/i686/tempname.c: New file.
2341         * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
2342         defined use this macro to get some bits of randomness instead of
2343         the usual gettimeofday or time calls.
2345 2001-03-16  Paul Eggert  <eggert@twinsun.com>
2347         * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
2348         not defined, and if UINT64_MAX is not defined.
2350 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
2352         * elf/cache.c: Mark and have translated a few more messages.
2354 2001-03-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2356         * elf/cache.c: Add case for FLAG_S390_LIB64.
2357         * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
2358         * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
2359         * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
2361 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
2363         * string/Makefile (tests): Add tst-strxfrm.
2364         * string/tst-strxfrm.c: New file.  Based on a test case by Paul Eggert.
2365         * string/Depend: New file.
2367 2001-03-19  Paul Eggert  <eggert@twinsun.com>
2369         * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
2370         when given the empty string in nontrivial locales.
2372 2001-03-17  H.J. Lu  <hjl@gnu.org>
2374         * manual/Makefile (install): Use $(INSTALL_DATA) instead of
2375         cp to install `dir'.
2377 2001-03-19  Andreas Schwab  <schwab@suse.de>
2379         * Makerules (build-shlib): Make sure exit codes get checked
2380         properly.
2382 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
2384         * Makerules (build-shlib): Remove unnecessary slashes introduced in
2385         last change.
2387         * configure.in: Test for -Bgroup option of linker.
2388         * config.make.in: Define have-Bgroup.
2390         * conform/data/unistd.h-data: Require gethostname.
2391         * posix/unistd.h: Make gethostname prototype available for
2392         __USE_XOPEN2K.
2394         * crypt/Makefile: When generating DSO link with libc_nonshared.a.
2395         * debug/Makefile: Likewise.
2396         * dlfcn/Makefile: Likewise.
2397         * hesiod/Makefile: Likewise.
2398         * iconvdata/extra-module.mk: Likewise.
2399         * locale/Makefile: Likewise.
2400         * login/Makefile: Likewise.
2401         * math/Makefile: Likewise.
2402         * nis/Makefile: Likewise.
2403         * nss/Makefile: Likewise.
2404         * resolv/Makefile: Likewise.
2405         * rt/Makefile: Likewise.
2407 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
2409         * inet/Makefile (tests): Remove left-over comment.
2411         * posix/unistd.h (gethostname): Change type of second parameter
2412         back to size_t as per upcoming XPG6.
2413         * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
2414         parameter back to size_t as per upcoming XPG6.
2415         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
2416         * sysdeps/unix/sysv/gethostname.c: Likewise.
2417         * sysdeps/mach/hurd/gethostname.c: Likewise.
2418         * sysdeps/generic/gethostname.c: Likewise.
2420 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
2422         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
2423         Handle NaN here.
2425         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
2426         Internationalize.
2428 2001-02-06  Jakub Jelinek  <jakub@redhat.com>
2430         * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
2431         looking for name matches.
2433 2001-02-26  Jakub Jelinek  <jakub@redhat.com>
2435         * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
2436         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
2437         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
2438         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2439         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
2440         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
2441         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
2442         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
2443         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
2444         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
2445         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
2446         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2448 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
2450         * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
2451         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2453         * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
2454         erfcl.
2455         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2457 2001-03-16  David Mosberger  <davidm@hpl.hp.com>
2459         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
2460         Drop hack that was needed for 2.1.1 kernel headers.
2462         * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
2464         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
2465         overlay with kernel's "struct sigcontext".
2467         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
2468         sys/rse.h for "misc" subdir.
2469         (sysdep_routines): Add __start_context for "stdlib" subdir.
2471         * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
2472         kernel file of the same name).
2474         * stdlib/Makefile (tests): Add tst-setcontext.
2475         * stdlib/tst-setcontext.c: New file (based on a sample program by
2476         Uli Drepper).
2478         * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
2479         * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
2480         * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
2481         * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
2482         * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
2484         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
2485         instead of shift & and.
2487 2001-03-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2489         * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
2490         * sysdeps/s390/bits/huge_val.h: ...here.
2491         * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
2492         * sysdeps/s390/s390-64/ffs.c: Move to...
2493         * sysdeps/s390/ffs.c: ...here.
2494         * sysdeps/s390/s390-32/ffs.c: Remove.
2496 2001-03-16  Jakub Jelinek  <jakub@redhat.com>
2498         * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
2499         update osversion from more recent library.
2501 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2503         * sysdeps/unix/sysv/linux/s390/Dist: Move to...
2504         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
2505         * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
2506         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
2507         * sysdeps/unix/sysv/linux/s390/Versions: Move to...
2508         * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
2509         * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
2510         * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
2511         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
2512         * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
2513         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
2514         * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
2515         * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
2516         * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
2517         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
2518         * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
2519         * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
2520         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
2521         * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
2522         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
2523         * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
2524         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
2525         * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
2526         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
2527         * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
2528         * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
2529         * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
2530         * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
2531         * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
2532         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
2533         * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
2534         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
2535         * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
2536         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
2537         * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
2538         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
2539         * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
2540         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
2541         * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
2542         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
2543         * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
2544         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
2545         * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
2546         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
2547         * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
2548         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
2549         * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
2550         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
2551         * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
2552         * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
2553         * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
2554         * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
2555         * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
2556         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
2557         * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
2558         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
2559         * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
2560         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
2561         * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
2562         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
2563         * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
2564         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
2565         * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
2566         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
2567         * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
2568         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
2569         * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
2570         * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
2571         * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
2572         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
2573         * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
2574         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
2575         * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
2576         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
2577         * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
2578         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
2579         * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
2580         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
2581         * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
2582         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
2583         * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
2584         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
2585         * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
2586         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
2587         * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
2588         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
2589         * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
2590         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
2591         * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
2592         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
2593         * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
2594         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
2595         * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
2596         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
2597         * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
2598         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
2599         * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
2600         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
2601         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
2602         * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
2603         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
2604         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
2605         * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
2606         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
2607         * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
2608         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
2609         * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
2610         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
2611         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
2612         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
2613         * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
2614         * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
2615         * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
2616         * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
2618 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2620         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
2621         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
2622         * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
2623         * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
2624         * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
2625         * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
2626         * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
2627         * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
2628         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
2629         * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
2630         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
2631         * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
2632         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
2633         * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
2634         * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
2635         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
2636         * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
2637         * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
2638         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
2639         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
2640         * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
2641         * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
2642         * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
2643         * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
2644         * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
2645         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
2646         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
2647         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
2648         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
2649         * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
2650         * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
2651         * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
2652         * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
2653         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
2654         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
2655         * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
2656         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
2657         * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
2658         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
2659         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
2660         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
2661         * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
2662         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
2663         * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
2664         * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
2665         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
2666         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
2667         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
2668         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
2669         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
2670         * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
2671         * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
2672         * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
2674 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2676         * sysdeps/s390/Dist: Move to...
2677         * sysdeps/s390/390-32/Dist: ...here.
2678         * sysdeps/s390/Implies: Move to...
2679         * sysdeps/s390/s390-32/Implies: ...here.
2680         * sysdeps/s390/Makefile: Move to...
2681         * sysdeps/s390/s390-32/Makefile: ...here.
2682         * sysdeps/s390/Versions: Move to...
2683         * sysdeps/s390-32/s390/Versions: ...here.
2684         * sysdeps/s390/add_n.S: Move to...
2685         * sysdeps/s390/s390-32/add_n.S: ...here.
2686         * sysdeps/s390/addmul_1.S: Move to...
2687         * sysdeps/s390/s390-32/addmul_1.S: ...here.
2688         * sysdeps/s390/atomicity.h: Move to...
2689         * sysdeps/s390/s390-32/atomicity.h: ...here.
2690         * sysdeps/s390/backtrace.c: Move to...
2691         * sysdeps/s390/s390-32/backtrace.c: ...here.
2692         * sysdeps/s390/bcopy.S: Move to...
2693         * sysdeps/s390/s390-32/bcopy.S: ...here.
2694         * sysdeps/s390/bits/byteswap.h: Move to...
2695         * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
2696         * sysdeps/s390/bits/huge_val.h: Move to...
2697         * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
2698         * sysdeps/s390/bsd-_setjmp.S: Move to...
2699         * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
2700         * sysdeps/s390/bsd-setjmp.S: Move to...
2701         * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
2702         * sysdeps/s390/bzero.S: Move to...
2703         * sysdeps/s390/s390-32/bzero.S: ...here.
2704         * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
2705         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
2706         * sysdeps/s390/elf/bsd-setjmp.S: Move to...
2707         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
2708         * sysdeps/s390/elf/start.S: Move to...
2709         * sysdeps/s390/s390-32/elf/start.S: ...here.
2710         * sysdeps/s390/ffs.c: Move to...
2711         * sysdeps/s390/s390-32/ffs.c: ...here.
2712         * sysdeps/s390/memchr.S: Move to...
2713         * sysdeps/s390/s390-32/memchr.S: ...here.
2714         * sysdeps/s390/memcpy.S: Move to...
2715         * sysdeps/s390/s390-32/memcpy.S: ...here.
2716         * sysdeps/s390/memset.S: Move to...
2717         * sysdeps/s390/s390-32/memset.S: ...here.
2718         * sysdeps/s390/mul_1.S: Move to...
2719         * sysdeps/s390/s390-32/mul_1.S: ...here.
2720         * sysdeps/s390/s390-mcount.S: Move to...
2721         * sysdeps/s390/s390-32/s390-mcount.S: ...here.
2722         * sysdeps/s390/strcpy.S: Move to...
2723         * sysdeps/s390/s390-32/strcpy.S: ...here.
2724         * sysdeps/s390/strncpy.S: Move to...
2725         * sysdeps/s390/s390-32/strncpy.S: ...here.
2726         * sysdeps/s390/sub_n.S: Move to...
2727         * sysdeps/s390/s390-32/sub_n.S: ...here.
2729 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2731         * sysdeps/s390/s390-64/Dist: New file.
2732         * sysdeps/s390/s390-64/Implies: New file.
2733         * sysdeps/s390/s390-64/Makefile: New file.
2734         * sysdeps/s390/s390-64/__longjmp.c: New file.
2735         * sysdeps/s390/s390-64/add_n.S: New file.
2736         * sysdeps/s390/s390-64/atomicity.h: New file.
2737         * sysdeps/s390/s390-64/backtrace.c: New file.
2738         * sysdeps/s390/s390-64/bcopy.S: New file.
2739         * sysdeps/s390/s390-64/bits/byteswap.h: New file.
2740         * sysdeps/s390/s390-64/bits/huge_val.h: New file.
2741         * sysdeps/s390/s390-64/bits/setjmp.h: New file.
2742         * sysdeps/s390/s390-64/bits/string.h: New file.
2743         * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
2744         * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
2745         * sysdeps/s390/s390-64/bzero.S: New file.
2746         * sysdeps/s390/s390-64/dl-machine.h: New file.
2747         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
2748         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
2749         * sysdeps/s390/s390-64/elf/setjmp.S: New file.
2750         * sysdeps/s390/s390-64/elf/start.S: New file.
2751         * sysdeps/s390/s390-64/ffs.c: New file.
2752         * sysdeps/s390/s390-64/initfini.c: New file.
2753         * sysdeps/s390/s390-64/memchr.S: New file.
2754         * sysdeps/s390/s390-64/memcpy.S: New file.
2755         * sysdeps/s390/s390-64/memset.S: New file.
2756         * sysdeps/s390/s390-64/s390x-mcount.S: New file.
2757         * sysdeps/s390/s390-64/setjmp.S: New file.
2758         * sysdeps/s390/s390-64/strcpy.S: New file.
2759         * sysdeps/s390/s390-64/strncpy.S: New file.
2760         * sysdeps/s390/s390-64/sub_n.S: New file.
2761         * sysdeps/s390/s390-64/sysdep.h: New file.
2763 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2765         * scripts/config.guess: Add support for Linux on 64 bit S/390.
2766         * scripts/config.sub: Likewise.
2768 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2770         * configure.in: Add support for 64 bit S/390.
2772         * elf/elf.h: Add new relocations for 64 bit S/390.
2774         * shlib-versions: Add rules for Linux on 64 bit S/390.
2776 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2778         * sysdeps/s390/__longjmp.c: Move to...
2779         * sysdeps/s390/s390-32/__longjmp.c: ...here.  Add code
2780         to load the floating point registers that should be saved
2781         according to the ABI.
2783         * sysdeps/s390/bits/setjmp.h: Move to...
2784         * sysdeps/s390/s390-32/bits/setjmp.h: ...here.  Avoid
2785         the use of long long in the __jmp_buf type definition.
2787         * sysdeps/s390/bits/string.h: Move to...
2788         * sysdeps/s390/s390-32/bits/string.h: ...here.  Add several missing
2789         #ifndef _FORCE_INLINES.
2791         * sysdeps/s390/dl-machine.h: Move to...
2792         * sysdeps/s390/s390-32/dl-machine.h: ...here.  Add a check for the
2793         executables EI_CLASS in elf_machine_matches_host.
2795         * sysdeps/s390/elf/setjmp.S: Move to...
2796         * sysdeps/s390/s390-32/elf/setjmp.S: ...here.  Replace
2797         branches to globally defined symbol __sigsetjmp by branches to
2798         a local label (this avoids the generation of a R_390_PC16DBL
2799         relocation in -fpic code).
2801         * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
2802         calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
2804         * sysdeps/s390/initfini.c: Move to...
2805         * sysdeps/s390/s390-32/initfini.c: ...here.  Replace ALIGN with
2806         ".align 4,0x07".
2808         * sysdeps/s390/setjmp.S: Move to...
2809         * sysdeps/s390/s390-32/setjmp.S: ...here.  Add code to store the
2810         floating point registers that should be saved according to the ABI.
2812         * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
2814         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
2815         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
2816         sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
2818 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2820         * configure.in: Change machine=s390 to machine=s390/s390-32.
2822         * elf/elf.h: Correct comment for R_390_PLT16DBL.
2824 2001-03-12  Jakub Jelinek  <jakub@redhat.com>
2826         * csu/Makefile (abi-tag.h): Define OS and version separately, allow
2827         version to be overriden from config.h.
2828         * csu/abi-note.S: Use OS and version separately, include config.h.
2829         * elf/dl-load.c (_dl_osversion): New.
2830         (_dl_map_object_from_fd): Kill some warnings.
2831         (open_verify): Check .note.ABI-tag of the library if present.
2832         * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
2833         * elf/cache.c (struct cache_entry): Add osversion.
2834         (print_entry): Print osversion.
2835         (print_cache): Pass osversion to it.
2836         (compare): Sort according to osversion.
2837         (save_cache): Set osversion.
2838         (add_to_cache): Add osversion argument.
2839         * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
2840         process_elf_file): Add osversion argument.
2841         * elf/readlib.c (process_file): Likewise.
2842         * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
2843         * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
2844         process_elf32_file, process_elf64_file): Likewise.
2845         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
2846         process_elf32_file, process_elf64_file): Likewise.
2847         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
2848         process_elf32_file, process_elf64_file): Likewise.
2849         * elf/ldconfig.c (manual_link): Pass it.
2850         (search_dir): Issue diagnostic if two libs with the same soname in
2851         the same directory have different .note.ABI-tag.  Record osversion in
2852         dlib_entry and use it from there.
2853         (struct lib_entry): Remove.
2854         (struct dlib_entry): Add osversion.
2855         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
2856         osversion.
2857         * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
2858         field with osversion.
2859         * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
2860         * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
2861         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
2862         version in _dl_osversion.
2863         * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
2864         * Makerules (build-shlib-helper, build-module-helper): New.
2865         (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
2866         early.
2867         * config.h.in (__ABI_TAG_VERSION): Add.
2868         * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
2869         * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
2870         Handle LD_ASSUME_KERNEL.
2871         * sysdeps/unix/sysv/linux/dl-librecon.h: New.
2873 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
2875         * timezone/antarctica: Update from tzdata2001a.
2876         * timezone/asia: Likewise.
2877         * timezone/australasia: Likewise.
2878         * timezone/backward: Likewise.
2879         * timezone/etcetera: Likewise.
2880         * timezone/europe: Likewise.
2881         * timezone/leapseconds: Likewise.
2882         * timezone/northamerica: Likewise.
2883         * timezone/southamerica: Likewise.
2884         * timezone/systemv: Likewise.
2885         * timezone/yearistype: Likewise.
2886         * timezone/zone.tab: Likewise.
2887         * timezone/tzdump.c: Update from tzcode2001a.
2889 2001-03-15  H.J. Lu  <hjl@gnu.org>
2891         * intl/Makefile: Fix a typo.
2893 2001-03-14  David Mosberger  <davidm@hpl.hp.com>
2895         * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
2896         writing arc structures.
2898 2001-03-15  H.J. Lu  <hjl@gnu.org>
2900         * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
2901         cross-compiling.
2903 2001-03-13  Andreas Schwab  <schwab@suse.de>
2905         * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
2907 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
2909         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
2910         for control message fitting into message data.
2911         Patch by James Antill <james@and.org>.
2913         * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
2914         FNM_EXTMATCH.
2916         * posix/fnmatch_loop.c: Optimize handling of ?() and @().
2917         * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
2919         * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
2920         * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
2921         avoid running binaries with libc versions without FNM_EXTMATCH support.
2923         * include/wchar.h: Add prototype for __wcscat.
2924         * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
2926         * posix/fnmatch.h (FNM_EXTMATCH): Define.
2927         * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
2928         (posixly_correct): Move global variable here.
2929         (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
2930         (fnmatch): Pretty printing.
2931         * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
2932         * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
2933         * posix/tst-fnmatch.input: Add tests for extended matching.
2935         * posix/testfnm.c: Add test for patterns with multiple ** before /.
2936         * posix/fnmatch_loop.c: Fix problem with the test above.
2938 2001-03-14  Ulrich Drepper  <drepper@redhat.com>
2940         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
2941         reference to usqrt.
2943         * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
2945 2001-03-12  Andreas Jaeger  <aj@suse.de>
2947         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2948         Use EM_X86_64 instead of EM_X8664.
2950 2001-03-12  Ulrich Drepper  <drepper@redhat.com>
2952         * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
2954         * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
2955         conditions.
2957         * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
2958         conditions.
2960         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
2961         correctly.
2962         (__cos): Likewise.
2964         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
2965         correctly.
2966         (__ieee754_acos): Likewise.
2968 2001-03-12  Andreas Jaeger  <aj@suse.de>
2970         * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
2971         Fix typo.  Patch by Martin Schwidefsky  <schwidefsky@de.ibm.com>.
2973         * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
2974         redefinition.
2976 2001-03-11  Roland McGrath  <roland@frob.com>
2978         * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
2980 2001-03-11  Ulrich Drepper  <drepper@redhat.com>
2982         * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
2983         LITTLE_ENDI.
2985         * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
2986         parameter list.
2988         Last-bit accurate math library implementation by IBM Haifa.
2989         Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
2990         <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
2991         Anna Reitman <reitman@il.ibm.com>.
2992         * math/Makefile (dbl-only-routines): New variable.
2993         (libm-routines): Add $(dbl-only-routines).
2994         * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
2995         * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
2996         implementation.
2997         * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
2998         implementation.
2999         * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
3000         implementation.
3001         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
3002         __kernel_cos.
3003         * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
3004         implementation.
3005         * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
3006         remainder implementation.
3007         * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
3008         implementation.
3009         * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
3010         implementation.
3011         * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
3012         * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
3013         * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
3014         implementation.
3015         * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
3016         * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
3017         implementation.
3018         * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
3019         and __kernel_cos.
3020         * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
3021         implementation.
3022         * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
3023         * sysdeps/ieee754/dbl-64/MathLib.h: New file.
3024         * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
3025         * sysdeps/ieee754/dbl-64/atnat.h: New file.
3026         * sysdeps/ieee754/dbl-64/atnat2.h: New file.
3027         * sysdeps/ieee754/dbl-64/branred.c: New file.
3028         * sysdeps/ieee754/dbl-64/branred.h: New file.
3029         * sysdeps/ieee754/dbl-64/dla.h: New file.
3030         * sysdeps/ieee754/dbl-64/doasin.c: New file.
3031         * sysdeps/ieee754/dbl-64/doasin.h: New file.
3032         * sysdeps/ieee754/dbl-64/dosincos.c: New file.
3033         * sysdeps/ieee754/dbl-64/dosincos.h: New file.
3034         * sysdeps/ieee754/dbl-64/endian.h: New file.
3035         * sysdeps/ieee754/dbl-64/halfulp.c: New file.
3036         * sysdeps/ieee754/dbl-64/mpa.c: New file.
3037         * sysdeps/ieee754/dbl-64/mpa.h: New file.
3038         * sysdeps/ieee754/dbl-64/mpa2.h: New file.
3039         * sysdeps/ieee754/dbl-64/mpatan.c: New file.
3040         * sysdeps/ieee754/dbl-64/mpatan.h: New file.
3041         * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
3042         * sysdeps/ieee754/dbl-64/mpexp.c: New file.
3043         * sysdeps/ieee754/dbl-64/mpexp.h: New file.
3044         * sysdeps/ieee754/dbl-64/mplog.c: New file.
3045         * sysdeps/ieee754/dbl-64/mplog.h: New file.
3046         * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
3047         * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
3048         * sysdeps/ieee754/dbl-64/mptan.c: New file.
3049         * sysdeps/ieee754/dbl-64/mydefs.h: New file.
3050         * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
3051         * sysdeps/ieee754/dbl-64/root.tbl: New file.
3052         * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
3053         * sysdeps/ieee754/dbl-64/sincos32.c: New file.
3054         * sysdeps/ieee754/dbl-64/sincos32.h: New file.
3055         * sysdeps/ieee754/dbl-64/slowexp.c: New file.
3056         * sysdeps/ieee754/dbl-64/slowpow.c: New file.
3057         * sysdeps/ieee754/dbl-64/uasncs.h: New file.
3058         * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
3059         * sysdeps/ieee754/dbl-64/uexp.h: New file.
3060         * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
3061         * sysdeps/ieee754/dbl-64/ulog.h: New file.
3062         * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
3063         * sysdeps/ieee754/dbl-64/upow.h: New file.
3064         * sysdeps/ieee754/dbl-64/upow.tbl: New file.
3065         * sysdeps/ieee754/dbl-64/urem.h: New file.
3066         * sysdeps/ieee754/dbl-64/uroot.h: New file.
3067         * sysdeps/ieee754/dbl-64/usncs.h: New file.
3068         * sysdeps/ieee754/dbl-64/utan.h: New file.
3069         * sysdeps/ieee754/dbl-64/utan.tbl: New file.
3070         * sysdeps/i386/fpu/branred.c: New file.
3071         * sysdeps/i386/fpu/doasin.c: New file.
3072         * sysdeps/i386/fpu/dosincos.c: New file.
3073         * sysdeps/i386/fpu/halfulp.c: New file.
3074         * sysdeps/i386/fpu/mpa.c: New file.
3075         * sysdeps/i386/fpu/mpatan.c: New file.
3076         * sysdeps/i386/fpu/mpatan2.c: New file.
3077         * sysdeps/i386/fpu/mpexp.c: New file.
3078         * sysdeps/i386/fpu/mplog.c: New file.
3079         * sysdeps/i386/fpu/mpsqrt.c: New file.
3080         * sysdeps/i386/fpu/mptan.c: New file.
3081         * sysdeps/i386/fpu/sincos32.c: New file.
3082         * sysdeps/i386/fpu/slowexp.c: New file.
3083         * sysdeps/i386/fpu/slowpow.c: New file.
3084         * sysdeps/ia64/fpu/branred.c: New file.
3085         * sysdeps/ia64/fpu/doasin.c: New file.
3086         * sysdeps/ia64/fpu/dosincos.c: New file.
3087         * sysdeps/ia64/fpu/halfulp.c: New file.
3088         * sysdeps/ia64/fpu/mpa.c: New file.
3089         * sysdeps/ia64/fpu/mpatan.c: New file.
3090         * sysdeps/ia64/fpu/mpatan2.c: New file.
3091         * sysdeps/ia64/fpu/mpexp.c: New file.
3092         * sysdeps/ia64/fpu/mplog.c: New file.
3093         * sysdeps/ia64/fpu/mpsqrt.c: New file.
3094         * sysdeps/ia64/fpu/mptan.c: New file.
3095         * sysdeps/ia64/fpu/sincos32.c: New file.
3096         * sysdeps/ia64/fpu/slowexp.c: New file.
3097         * sysdeps/ia64/fpu/slowpow.c: New file.
3098         * sysdeps/m68k/fpu/branred.c: New file.
3099         * sysdeps/m68k/fpu/doasin.c: New file.
3100         * sysdeps/m68k/fpu/dosincos.c: New file.
3101         * sysdeps/m68k/fpu/halfulp.c: New file.
3102         * sysdeps/m68k/fpu/mpa.c: New file.
3103         * sysdeps/m68k/fpu/mpatan.c: New file.
3104         * sysdeps/m68k/fpu/mpatan2.c: New file.
3105         * sysdeps/m68k/fpu/mpexp.c: New file.
3106         * sysdeps/m68k/fpu/mplog.c: New file.
3107         * sysdeps/m68k/fpu/mpsqrt.c: New file.
3108         * sysdeps/m68k/fpu/mptan.c: New file.
3109         * sysdeps/m68k/fpu/sincos32.c: New file.
3110         * sysdeps/m68k/fpu/slowexp.c: New file.
3111         * sysdeps/m68k/fpu/slowpow.c: New file.
3113         * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
3114         codepages.
3116 2001-03-11  Andreas Jaeger  <aj@suse.de>
3118         * elf/elf.h (EM_*): Synch with official list.
3120 2001-03-07  David Mosberger  <davidm@hpl.hp.com>
3122         * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
3124 2001-03-07  Jes Sorensen  <jes@linuxcare.com>
3126         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
3127         variables addr & len.
3129 2001-02-22  Jes Sorensen  <jes@linuxcare.com>
3131         * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
3132         punctuation in asm constraint.
3134 2001-03-07  Mark Kettenis  <kettenis@gnu.org>
3136         * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
3137         <time.h> to get definition of `struct timespec'.
3139 2001-03-08  Jakub Jelinek  <jakub@redhat.com>
3141         * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
3142         LD_WARN=1, not if LD_WARN is unset.
3144 2001-03-07  Andreas Schwab  <schwab@suse.de>
3146         * elf/ldconfig.h: Moved to ...
3147         * sysdeps/generic/ldconfig.h: ... here.
3148         * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
3149         * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
3150         * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
3151         * elf/readlib.c (interpreters, known_libs): Use
3152         SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
3153         instead of hard coding old names.
3155 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
3157         * catgets/Makefile (generated): Add test-gencat.h.
3158         (sample.SJIS.cat): Also generate header.
3159         * catgets/sample.SJIS: Add new set and message, both with symbolic
3160         names.
3161         * catgets/test-gencat.sh: Also compare generated header with what
3162         we expect.
3164 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
3166         * catgets/gencat.c (read_input_file): Preserve properly symbolic
3167         names.
3169 2001-03-06  Andreas Jaeger  <aj@suse.de>
3171         * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
3172         needed.
3173         (elf_machine_pltrel_p): Likewise.
3174         * sysdeps/powerpc/dl-machine.h: Likewise.
3175         * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
3177 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
3179         * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
3180         dl-procinfo.h.
3182 2001-03-05  Philip Blundell  <philb@gnu.org>
3184         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
3185         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
3186         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
3187         (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
3188         dl-procinfo.
3190 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
3192         * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
3193         is not available.
3194         * dlfcn/tstcxaatexit.c (main): Likewise.
3196 2001-03-10  Andreas Jaeger  <aj@suse.de>
3198         * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
3200 2001-03-09  Andreas Jaeger  <aj@suse.de>
3202         * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
3203         both new and old EM_S390 values.
3204         (EM_S390_OLD): New constant.
3206         * elf/elf.h (EM_S390): Use official value.
3208 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
3210         * conform/data/sys/socket.h-data: Allow SO* symbols.
3212 2001-03-07  Andreas Schwab  <schwab@suse.de>
3214         * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
3215         routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
3217 2001-03-07  Andreas Jaeger  <aj@suse.de>
3219         * resolv/Makefile (routines): Only build gai_sigqueue when threads
3220         are available.
3222 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
3224         * elf/ldconfig.c (_dl_sysdep_message): Remove.
3225         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
3226         ldsodefs.h.
3227         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3229         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
3230         _dl_error_printf instead of _dl_sysdep_error.
3231         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3232         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
3233         Use _dl_printf instead of _dl_sysdep_message.
3234         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
3235         Likewise.
3237 2001-03-06  Ben Collins  <bcollins@debian.org>
3239         * manual/arith.texi (Integers): Fix documentation of fast and
3240         least integer typedefs.
3242 2001-03-06  Jakub Jelinek  <jakub@redhat.com>
3244         * resolv/Depend: New file.
3245         * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
3246         when libpthread is built.
3248 2001-03-06  Andreas Jaeger  <aj@suse.de>
3250         * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
3252         * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
3253         Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
3255 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
3257         * stdlib/Versions: Remove __new_exitfn again.  Not needed.
3259 2001-03-05  Andreas Jaeger  <aj@suse.de>
3261         * stdlib/msort.c (qsort): Don't use alloca in a function call.
3263 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
3265         * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
3266         __S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
3267         always return zero.
3268         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
3269         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
3270         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3271         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
3272         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
3273         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3274         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3276 2001-03-04  Andreas Jaeger  <aj@suse.de>
3278         * stdlib/longlong.h: Don't use multi-line strings.
3279         * iconvdata/tst-loading.c: Likewise.
3281         * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
3282         string.
3284 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
3286         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
3288         * rt/lio_listio.c: Add a few asserts.
3290         * elf/global.c: New file.
3291         * elf/globalmod1.c: New file.
3292         * elf/Makefile: Add rules to build and run global.
3294         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
3295         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
3296         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3297         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3298         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
3300         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
3301         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3303         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
3305         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
3306         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
3308         * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
3310         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
3312 2001-03-04  Andreas Jaeger  <aj@suse.de>
3314         * resolv/tst-aton.c: Add testcase for IP with four periods.
3316         * resolv/inet_addr.c: Don't recognize an IP with four periods.
3317         Patch by Andre' Breiler <A.Breiler@gmx.net>.
3319 2001-02-27  Philip Blundell  <pb@futuretv.com>
3321         * elf/elf.h: Add new ARM definitions from latest (B-01)
3322         specification.  Correct naming of EF_ARM_ALIGN8 et al.
3324 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
3326         * stdio-common/tst-printf.sh: Remove bashisms.
3327         Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
3329 2001-03-03  Ulrich Drepper  <drepper@redhat.com>
3331         * Versions.def: Add libanl definition.
3332         * shlib-versions: Add entry for libanl.
3333         * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
3334         (routines): Add gai_sigqueue.
3335         (extra-libs): Add libanl.
3336         (libanl-routines): New variable.
3337         Add rules to build libanl and ga_test.
3338         * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
3339         [libanl]: New library.
3340         * resolv/netdb.h: Add definitions for libanl.
3341         * resolv/getaddrinfo_a.c: New file.
3342         * resolv/gai_cancel.c: New file.
3343         * resolv/gai_error.c: New file.
3344         * resolv/gai_misc.c: New file.
3345         * resolv/gai_misc.h: New file.
3346         * resolv/gai_notify.c: New file.
3347         * resolv/gai_suspend.c: New file.
3348         * resolv/ga_test.c: New file.
3349         * sysdeps/generic/gai_sigqueue.c: New file.
3350         * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
3351         * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
3352         and provide only that definition.
3353         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
3354         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
3355         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
3356         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3357         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3358         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
3360         * rt/aio_misc.c: Fix typos in comments.
3361         * rt/lio_listio.c: Pretty printing.  Little optimization in request
3362         list handling.
3364         * elf/rtld.c: Remove commented out code.
3366         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
3367         Update for real 2.4 kernels.
3369 2001-03-01  Ulrich Drepper  <drepper@redhat.com>
3371         * elf/dl-load.c: Pretty printing.
3373         * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
3374         twice.
3376 2001-02-28  Ulrich Drepper  <drepper@redhat.com>
3378         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
3379         relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
3381         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
3383         * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
3384         machines.
3386         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
3388 2001-02-27  Ulrich Drepper  <drepper@redhat.com>
3390         * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
3391         _dl_debug_mask.
3393         * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
3394         _dl_debug_printf.
3395         * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
3396         _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
3397         _dl_debug_printf_c, and _dl_printf.
3398         * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
3399         _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
3400         _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
3401         _dl_printf, _dl_error_printf, and _dl_fatal_printf.
3402         * elf/dl-close.c: Replace use of old output functions with the new
3403         ones.
3404         * elf/dl-deps.c: Likewise.
3405         * elf/dl-error.c: Likewise.
3406         * elf/dl-fini.c: Likewise.
3407         * elf/dl-init.c: Likewise.
3408         * elf/dl-load.c: Likewise.
3409         * elf/dl-lookup.c: Likewise.
3410         * elf/dl-minimal.c: Likewise.
3411         * elf/dl-open.c: Likewise.
3412         * elf/dl-profile.c: Likewise.
3413         * elf/dl-reloc.c: Likewise.
3414         * elf/dl-version.c: Likewise.
3415         * elf/do-lookup.h: Likewise.
3416         * elf/rtld.c: Likewise.
3417         * sysdeps/generic/dl-cache.c: Likewise.
3418         * sysdeps/generic/dl-sysdep.c: Likewise.
3419         * sysdeps/generic/libc-start.c: Likewise.
3420         * sysdeps/i386/dl-machine.h: Likewise.
3421         * sysdeps/arm/dl-machine.h: Likewise.
3422         * sysdeps/hppa/dl-machine.h: Likewise.
3423         * sysdeps/m68k/dl-machine.h: Likewise.
3424         * sysdeps/powerpc/dl-machine.h: Likewise.
3425         * sysdeps/s390/dl-machine.h: Likewise.
3426         * sysdeps/sh/dl-machine.h: Likewise.
3427         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3428         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
3429         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3431         * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
3433         * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
3434         supported by assembler.
3436         * sysdeps/generic/ldsodefs.h: Remove commented-out variable
3437         declaractions.
3439         * elf/rtld.c: Little optimizations in handling _dl_lazy.
3441         * elf/cache.c (save_cache): Portability changes.
3442         * elf/dl-profile.c (_dl_start_profile): Likewise.
3444         * elf/sln.c: Cleanups.  Remove arbitrary limits.
3446         * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
3447         * elf/dl-deps.c: Likewise.
3448         * elf/dl-fini.c: Likewise.
3449         * elf/dl-init.c: Likewise.
3450         * elf/dl-load.c: Likewise.
3451         * elf/dl-lookup.c: Likewise.
3452         * elf/dl-open.c: Likewise.
3453         * elf/dl-reloc.c: Likewise.
3454         * elf/dl-support.c: Likewise.
3455         * elf/dl-version.c: Likewise.
3456         * elf/do-lookup.h: Likewise.
3457         * elf/rtld.c: Likewise.
3458         * sysdeps/generic/dl-cache.c: Likewise.
3459         * sysdeps/generic/ldsodefs.h: Likewise.
3460         * sysdeps/generic/libc-start.c: Likewise.
3461         * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
3462         Export _dl_debug_mask.
3463         * Versions.def: Define GLIBC_2.2.3 for ld.
3465 2001-02-26  Greg McGary  <greg@mcgary.org>
3467         * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
3469 2001-02-26  Paul Eggert  <eggert@twinsun.com>
3471         Modify mkstemp.c and tempname.c so that they can be used by
3472         GNU applications on non-glibc platforms.
3474         * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
3476         * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
3477         Include <stddef.h>, <stdint.h>, <string.h> only if
3478         STDC_HEADERS || _LIBC.
3479         Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
3480         Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
3481         Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
3482         (__set_errno): Define this macro if <errno.h> doesn't.
3483         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
3484         Define these macros if <stdio.h> doesn't.
3485         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
3486         Define these macros if <sys/stat.h> doesn't.
3487         Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
3488         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
3489         lxstat64, __xstat64): Define if not _LIBC.
3490         (struct_stat64): New macro.
3491         (direxists, __gen_tempname): Use it, to avoid a
3492         portability problem with Solaris 8.
3493         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
3494         (__gen_tempname): Invoke gettimeofday only if
3495         HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
3496         Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
3497         octal values like 0600.
3499 2001-02-26  Ulrich Drepper  <drepper@redhat.com>
3501         * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
3502         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3504         * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
3505         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3507         * posix/wordexp-test.c (testit): Remove warnings.
3509         * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
3510         (tests): Add tstatexit and tstcxaatexit.
3511         (module-names): Add modatexit and modcxaatexit.
3512         Add rules to build and run tstatexit and tstcxaatexit.
3513         * dlfcn/modatexit.c: New file.
3514         * dlfcn/modcxaatexit.c: New file.
3515         * dlfcn/tstatexit.c: New file.
3516         * dlfcn/tstcxaatexit.c: New file.
3518         * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
3519         .hidden is available.
3520         * io/stat.c: If .hidden is available use it to avoid exporting
3521         functions.
3522         * io/fstat.c: Likewise.
3523         * io/lstat.c: Likewise.
3524         * io/stat64.c: Likewise.
3525         * io/fstat64.c: Likewise.
3526         * io/lstat64.c: Likewise.
3527         * sysdeps/generic/mknod.c: Likewise.
3529         * malloc/mtrace.c: Use __cxa_atexit and not atexit.
3530         * sysdeps/generic/bb_init_func.c: Likewise.
3531         * sysdeps/generic/libc-start.c: Likewise.
3533         * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
3534         (atexit): Implement using __cxa_atexit.
3535         Use .hidden if availble to avoid exporting atexit.
3536         * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
3537         * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
3538         * stdlib/Makefile (routines): Add old_atexit.
3539         (static-only-routines): Add atexit.
3540         Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
3541         * stdlib/old_atexit.c: New file.
3543         * intl/Makefile: Remove bogus endif.
3545 2001-02-26  Andreas Jaeger  <aj@suse.de>
3547         * iconvdata/Makefile (tests): Fix typo in last patch.
3549         * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
3550         available.
3551         Reported by Achim Gottinger <achim@gentoo.org>.
3553 2001-02-25  Andreas Jaeger  <aj@suse.de>
3555         * intl/Makefile (plural.c): Reorder rules so that they work if
3556         BISON doesn't exist.
3558 2001-02-25  Ulrich Drepper  <drepper@redhat.com>
3560         * intl/locale.alias: Don't use nb_NO but define aliases for it.
3562 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
3564         * sysdeps/i386/strtok.S: Continue to return NULL after the first
3565         time this happened.
3567 2001-02-23  Andreas Jaeger  <aj@suse.de>
3569         * string/tester.c (test_strtok_r): Add testcase.
3570         (test_strtok_r): Always initialize cp for proper checking.
3572         * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
3573         returning NULL correctly.
3574         Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
3575         * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
3577 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
3579         * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
3580         including <stddef.h>.
3581         * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
3582         * include/libc-symbols.h (weak_alias): Don't use .weak if
3583         HAVE_ASM_GLOBAL_DOT_NAME is defined.
3584         Patches by Michael Keezer <mkeezer@redhat.com>.
3586         * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
3587         Patch by Michael Keezer <mkeezer@redhat.com>.
3589         * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
3590         * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
3591         (sysdep_routines): Remove restf.S and savef.S.
3592         * sysdeps/unix/sysv/aix/restf.S. Removed.
3593         * sysdeps/unix/sysv/aix/savef.S. Removed.
3594         * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
3595         alternative names used on some platforms.
3596         * sysdeps/powerpc/fprsave.S: Likewise.
3597         * sysdeps/powerpc/gprrest0.S: Likewise.
3598         * sysdeps/powerpc/gprrest1.S: Likewise.
3599         * sysdeps/powerpc/gprsave0.S: Likewise.
3600         * sysdeps/powerpc/gprsave1.S: Likewise.
3601         Patch by Michael Keezer <mkeezer@redhat.com>.
3603 2001-02-22  Ulrich Drepper  <drepper@redhat.com>
3605         * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
3607 2001-02-22  Andreas Jaeger  <aj@suse.de>
3609         * string/tst-strtok.c (main): Fix error messages.
3611 2001-02-22  Andreas Jaeger  <aj@suse.de>
3613         * math/Makefile: Remove omit-long-double-fcts.
3615 2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
3617         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
3618         avoid problems on MIPS I.
3619         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
3621         * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
3622         noreorder".
3624 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
3626         * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
3628         * sysdeps/generic/ftime.c: Include <time.h>.
3630         * configure.in: Don't check for libgd if user passed --without-gd.
3631         Patch by Achim Gottinger <achim@gentoo.org>.
3633         * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
3634         first time this happened.
3635         * string/Makefile (tests): Add tst-strtok.
3637 2001-02-21  Andreas Jaeger  <aj@suse.de>
3639         * string/tst-strtok.c: New testcase, reported by
3640         Andrew Church <achurch@achurch.org>.
3642 2001-02-20  Ulrich Drepper  <drepper@redhat.com>
3644         * libio/iofwide.c: Remove fwide alias.
3646 2001-02-20  Andreas Jaeger  <aj@suse.de>
3648         * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
3649         is available.
3650         Reported by Achim Gottinger <achim@gentoo.org>.
3652 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
3654         * iconv/tst-iconv1.c (main): Remove debugging code.
3656         * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
3657         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3659         * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
3660         parameters.
3661         * sysdeps/generic/e_scalbf.c: Likewise.
3662         * sysdeps/generic/e_scalbl.c: Likewise.
3664         * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
3665         libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
3666         in libc.
3667         (routines): Replace libm_error with libc_libm_error.
3668         * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
3669         * sysdeps/ia64/fpu/libc_libm_error.c: New file.
3671 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
3673         * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
3674         (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
3676 2001-02-17  H.J. Lu  <hjl@gnu.org>
3678         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
3679         scratch registers across the system call.
3681 2001-02-19  Andreas Jaeger  <aj@suse.de>
3683         * malloc/Makefile (tests): Run mtrace only when perl is available.
3684         Reported by Achim Gottinger <achim@gentoo.org>.
3686 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
3688         * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
3689         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3691         * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
3692         * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
3693         * math/libm-test.inc (j1_test): Mark constants as long double.
3694         (jn_test): Likewise.
3695         (y1_test): Likewise.
3696         (yn_test): Likewise.
3698         * libio/iogetline.c: Move return until after last statement.
3700         * localedata/show-ucs-data.c: Don't show < > for better readability.
3702         * sysdeps/ia64/fpu/Dist: New file.
3703         * sysdeps/ia64/fpu/Makefile: New file.
3704         * sysdeps/ia64/fpu/Versions: New file.
3705         * sysdeps/ia64/fpu/e_acos.S: New file.
3706         * sysdeps/ia64/fpu/e_acosf.S: New file.
3707         * sysdeps/ia64/fpu/e_acosl.S: New file.
3708         * sysdeps/ia64/fpu/e_asin.S: New file.
3709         * sysdeps/ia64/fpu/e_asinf.S: New file.
3710         * sysdeps/ia64/fpu/e_asinl.S: New file.
3711         * sysdeps/ia64/fpu/e_atan2.S: New file.
3712         * sysdeps/ia64/fpu/e_atan2f.S: New file.
3713         * sysdeps/ia64/fpu/e_atan2l.c: New file.
3714         * sysdeps/ia64/fpu/e_cosh.S: New file.
3715         * sysdeps/ia64/fpu/e_coshf.S: New file.
3716         * sysdeps/ia64/fpu/e_coshl.S: New file.
3717         * sysdeps/ia64/fpu/e_exp.S: New file.
3718         * sysdeps/ia64/fpu/e_expf.S: New file.
3719         * sysdeps/ia64/fpu/e_expl.c: New file.
3720         * sysdeps/ia64/fpu/e_fmod.S: New file.
3721         * sysdeps/ia64/fpu/e_fmodf.S: New file.
3722         * sysdeps/ia64/fpu/e_fmodl.S: New file.
3723         * sysdeps/ia64/fpu/e_hypot.S: New file.
3724         * sysdeps/ia64/fpu/e_hypotf.S: New file.
3725         * sysdeps/ia64/fpu/e_hypotl.S: New file.
3726         * sysdeps/ia64/fpu/e_log.S: New file.
3727         * sysdeps/ia64/fpu/e_log10.c: New file.
3728         * sysdeps/ia64/fpu/e_log10f.c: New file.
3729         * sysdeps/ia64/fpu/e_log10l.c: New file.
3730         * sysdeps/ia64/fpu/e_logf.S: New file.
3731         * sysdeps/ia64/fpu/e_logl.c: New file.
3732         * sysdeps/ia64/fpu/e_pow.S: New file.
3733         * sysdeps/ia64/fpu/e_powf.S: New file.
3734         * sysdeps/ia64/fpu/e_powl.S: New file.
3735         * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
3736         * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
3737         * sysdeps/ia64/fpu/e_remainder.S: New file.
3738         * sysdeps/ia64/fpu/e_remainderf.S: New file.
3739         * sysdeps/ia64/fpu/e_remainderl.S: New file.
3740         * sysdeps/ia64/fpu/e_scalb.S: New file.
3741         * sysdeps/ia64/fpu/e_scalbf.S: New file.
3742         * sysdeps/ia64/fpu/e_scalbl.S: New file.
3743         * sysdeps/ia64/fpu/e_sinh.S: New file.
3744         * sysdeps/ia64/fpu/e_sinhf.S: New file.
3745         * sysdeps/ia64/fpu/e_sinhl.S: New file.
3746         * sysdeps/ia64/fpu/e_sqrt.S: New file.
3747         * sysdeps/ia64/fpu/e_sqrtf.S: New file.
3748         * sysdeps/ia64/fpu/e_sqrtl.S: New file.
3749         * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
3750         * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
3751         * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
3752         * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
3753         * sysdeps/ia64/fpu/libm_error.c: New file.
3754         * sysdeps/ia64/fpu/libm_frexp4.S: New file.
3755         * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
3756         * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
3757         * sysdeps/ia64/fpu/libm_reduce.S: New file.
3758         * sysdeps/ia64/fpu/libm_support.h: New file.
3759         * sysdeps/ia64/fpu/libm_tan.S: New file.
3760         * sysdeps/ia64/fpu/s_atan.S: New file.
3761         * sysdeps/ia64/fpu/s_atanf.S: New file.
3762         * sysdeps/ia64/fpu/s_atanl.S: New file.
3763         * sysdeps/ia64/fpu/s_cbrt.S: New file.
3764         * sysdeps/ia64/fpu/s_cbrtf.S: New file.
3765         * sysdeps/ia64/fpu/s_cbrtl.S: New file.
3766         * sysdeps/ia64/fpu/s_ceil.S: New file.
3767         * sysdeps/ia64/fpu/s_ceilf.S: New file.
3768         * sysdeps/ia64/fpu/s_ceill.S: New file.
3769         * sysdeps/ia64/fpu/s_cos.S: New file.
3770         * sysdeps/ia64/fpu/s_cosf.S: New file.
3771         * sysdeps/ia64/fpu/s_cosl.S: New file.
3772         * sysdeps/ia64/fpu/s_expm1.S: New file.
3773         * sysdeps/ia64/fpu/s_expm1f.S: New file.
3774         * sysdeps/ia64/fpu/s_expm1l.S: New file.
3775         * sysdeps/ia64/fpu/s_floor.S: New file.
3776         * sysdeps/ia64/fpu/s_floorf.S: New file.
3777         * sysdeps/ia64/fpu/s_floorl.S: New file.
3778         * sysdeps/ia64/fpu/s_frexp.c: New file.
3779         * sysdeps/ia64/fpu/s_frexpf.c: New file.
3780         * sysdeps/ia64/fpu/s_frexpl.c: New file.
3781         * sysdeps/ia64/fpu/s_ilogb.S: New file.
3782         * sysdeps/ia64/fpu/s_ilogbf.S: New file.
3783         * sysdeps/ia64/fpu/s_ilogbl.S: New file.
3784         * sysdeps/ia64/fpu/s_ldexp.S: New file.
3785         * sysdeps/ia64/fpu/s_ldexpf.S: New file.
3786         * sysdeps/ia64/fpu/s_ldexpl.S: New file.
3787         * sysdeps/ia64/fpu/s_log1p.S: New file.
3788         * sysdeps/ia64/fpu/s_log1pf.S: New file.
3789         * sysdeps/ia64/fpu/s_log1pl.S: New file.
3790         * sysdeps/ia64/fpu/s_logb.S: New file.
3791         * sysdeps/ia64/fpu/s_logbf.S: New file.
3792         * sysdeps/ia64/fpu/s_logbl.S: New file.
3793         * sysdeps/ia64/fpu/s_matherrf.c: New file.
3794         * sysdeps/ia64/fpu/s_matherrl.c: New file.
3795         * sysdeps/ia64/fpu/s_modf.S: New file.
3796         * sysdeps/ia64/fpu/s_modff.S: New file.
3797         * sysdeps/ia64/fpu/s_modfl.S: New file.
3798         * sysdeps/ia64/fpu/s_nearbyint.S: New file.
3799         * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
3800         * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
3801         * sysdeps/ia64/fpu/s_rint.S: New file.
3802         * sysdeps/ia64/fpu/s_rintf.S: New file.
3803         * sysdeps/ia64/fpu/s_rintl.S: New file.
3804         * sysdeps/ia64/fpu/s_round.S: New file.
3805         * sysdeps/ia64/fpu/s_roundf.S: New file.
3806         * sysdeps/ia64/fpu/s_roundl.S: New file.
3807         * sysdeps/ia64/fpu/s_scalbn.S: New file.
3808         * sysdeps/ia64/fpu/s_scalbnf.S: New file.
3809         * sysdeps/ia64/fpu/s_scalbnl.S: New file.
3810         * sysdeps/ia64/fpu/s_significand.S: New file.
3811         * sysdeps/ia64/fpu/s_significandf.S: New file.
3812         * sysdeps/ia64/fpu/s_significandl.S: New file.
3813         * sysdeps/ia64/fpu/s_sin.c: New file.
3814         * sysdeps/ia64/fpu/s_sincos.c: New file.
3815         * sysdeps/ia64/fpu/s_sincosf.c: New file.
3816         * sysdeps/ia64/fpu/s_sincosl.c: New file.
3817         * sysdeps/ia64/fpu/s_sinf.c: New file.
3818         * sysdeps/ia64/fpu/s_sinl.c: New file.
3819         * sysdeps/ia64/fpu/s_tan.S: New file.
3820         * sysdeps/ia64/fpu/s_tanf.S: New file.
3821         * sysdeps/ia64/fpu/s_tanl.S: New file.
3822         * sysdeps/ia64/fpu/s_trunc.S: New file.
3823         * sysdeps/ia64/fpu/s_truncf.S: New file.
3824         * sysdeps/ia64/fpu/s_truncl.S: New file.
3825         * sysdeps/ia64/fpu/w_acos.c: New file.
3826         * sysdeps/ia64/fpu/w_acosf.c: New file.
3827         * sysdeps/ia64/fpu/w_acosl.c: New file.
3828         * sysdeps/ia64/fpu/w_asin.c: New file.
3829         * sysdeps/ia64/fpu/w_asinf.c: New file.
3830         * sysdeps/ia64/fpu/w_asinl.c: New file.
3831         * sysdeps/ia64/fpu/w_atan2.c: New file.
3832         * sysdeps/ia64/fpu/w_atan2f.c: New file.
3833         * sysdeps/ia64/fpu/w_atan2l.c: New file.
3834         * sysdeps/ia64/fpu/w_cosh.c: New file.
3835         * sysdeps/ia64/fpu/w_coshf.c: New file.
3836         * sysdeps/ia64/fpu/w_coshl.c: New file.
3837         * sysdeps/ia64/fpu/w_exp.c: New file.
3838         * sysdeps/ia64/fpu/w_expf.c: New file.
3839         * sysdeps/ia64/fpu/w_fmod.c: New file.
3840         * sysdeps/ia64/fpu/w_fmodf.c: New file.
3841         * sysdeps/ia64/fpu/w_fmodl.c: New file.
3842         * sysdeps/ia64/fpu/w_hypot.c: New file.
3843         * sysdeps/ia64/fpu/w_hypotf.c: New file.
3844         * sysdeps/ia64/fpu/w_hypotl.c: New file.
3845         * sysdeps/ia64/fpu/w_log.c: New file.
3846         * sysdeps/ia64/fpu/w_log10.c: New file.
3847         * sysdeps/ia64/fpu/w_log10f.c: New file.
3848         * sysdeps/ia64/fpu/w_log10l.c: New file.
3849         * sysdeps/ia64/fpu/w_logf.c: New file.
3850         * sysdeps/ia64/fpu/w_logl.c: New file.
3851         * sysdeps/ia64/fpu/w_pow.c: New file.
3852         * sysdeps/ia64/fpu/w_powf.c: New file.
3853         * sysdeps/ia64/fpu/w_powl.c: New file.
3854         * sysdeps/ia64/fpu/w_remainder.c: New file.
3855         * sysdeps/ia64/fpu/w_remainderf.c: New file.
3856         * sysdeps/ia64/fpu/w_remainderl.c: New file.
3857         * sysdeps/ia64/fpu/w_scalb.c: New file.
3858         * sysdeps/ia64/fpu/w_scalbf.c: New file.
3859         * sysdeps/ia64/fpu/w_scalbl.c: New file.
3860         * sysdeps/ia64/fpu/w_sqrt.c: New file.
3861         * sysdeps/ia64/fpu/w_sqrtf.c: New file.
3862         * sysdeps/ia64/fpu/w_sqrtl.c: New file.
3863         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
3864         implementation.
3865         * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
3866         Change FP_ILOGBNAN for new implementation.
3867         * Verions.def: Add 2.2.3 versions.
3869 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
3871         * math/libm-test.inc (scalb_test): Require invalid exception being
3872         raised for invalid parameters.
3873         * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
3874         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3875         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3877 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
3879         * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
3880         value to long int.
3881         (__get_avphys_pages): Likewise.
3883 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
3885         * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
3886         * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
3887         * sysdeps/i386/fpu/e_powf.S: Likewise.
3888         * sysdeps/i386/fpu/e_powl.S: Likewise.
3890         * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
3892 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
3894         * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
3896         * sysdeps/generic/s_exp2l.c: Renamed to...
3897         * sysdeps/generic/e_exp2l.c: ...this.   New file.
3898         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
3899         * sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
3900         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
3901         * sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
3902         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
3903         * sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
3904         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
3905         * sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
3906         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
3907         * sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
3908         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
3909         * sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
3910         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
3911         * sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
3912         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
3913         * sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
3915 2001-02-17  Andreas Jaeger  <aj@suse.de>
3917         * configure.in: Allow gcc 3.
3919 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
3921         * math/w_acos.c: Move to ...
3922         * sysdeps/generic/w_acos.c: ...here.  New file.
3923         * math/w_acosf.c: Move to ...
3924         * sysdeps/generic/w_acosf.c: ...here.  New file.
3925         * math/w_acosh.c: Move to ...
3926         * sysdeps/generic/w_acosh.c: ...here.  New file.
3927         * math/w_acoshf.c: Move to ...
3928         * sysdeps/generic/w_acoshf.c: ...here.  New file.
3929         * math/w_acoshl.c: Move to ...
3930         * sysdeps/generic/w_acoshl.c: ...here.  New file.
3931         * math/w_acosl.c: Move to ...
3932         * sysdeps/generic/w_acosl.c: ...here.  New file.
3933         * math/w_asin.c: Move to ...
3934         * sysdeps/generic/w_asin.c: ...here.  New file.
3935         * math/w_asinf.c: Move to ...
3936         * sysdeps/generic/w_asinf.c: ...here.  New file.
3937         * math/w_asinl.c: Move to ...
3938         * sysdeps/generic/w_asinl.c: ...here.  New file.
3939         * math/w_atan2.c: Move to ...
3940         * sysdeps/generic/w_atan2.c: ...here.  New file.
3941         * math/w_atan2f.c: Move to ...
3942         * sysdeps/generic/w_atan2f.c: ...here.  New file.
3943         * math/w_atan2l.c: Move to ...
3944         * sysdeps/generic/w_atan2l.c: ...here.  New file.
3945         * math/w_atanh.c: Move to ...
3946         * sysdeps/generic/w_atanh.c: ...here.  New file.
3947         * math/w_atanhf.c: Move to ...
3948         * sysdeps/generic/w_atanhf.c: ...here.  New file.
3949         * math/w_atanhl.c: Move to ...
3950         * sysdeps/generic/w_atanhl.c: ...here.  New file.
3951         * math/w_cosh.c: Move to ...
3952         * sysdeps/generic/w_cosh.c: ...here.  New file.
3953         * math/w_coshf.c: Move to ...
3954         * sysdeps/generic/w_coshf.c: ...here.  New file.
3955         * math/w_coshl.c: Move to ...
3956         * sysdeps/generic/w_coshl.c: ...here.  New file.
3957         * math/w_drem.c: Move to ...
3958         * sysdeps/generic/w_drem.c: ...here.  New file.
3959         * math/w_dremf.c: Move to ...
3960         * sysdeps/generic/w_dremf.c: ...here.  New file.
3961         * math/w_dreml.c: Move to ...
3962         * sysdeps/generic/w_dreml.c: ...here.  New file.
3963         * math/w_exp10.c: Move to ...
3964         * sysdeps/generic/w_exp10.c: ...here.  New file.
3965         * math/w_exp10f.c: Move to ...
3966         * sysdeps/generic/w_exp10f.c: ...here.  New file.
3967         * math/w_exp10l.c: Move to ...
3968         * sysdeps/generic/w_exp10l.c: ...here.  New file.
3969         * math/w_exp2.c: Move to ...
3970         * sysdeps/generic/w_exp2.c: ...here.  New file.
3971         * math/w_exp2f.c: Move to ...
3972         * sysdeps/generic/w_exp2f.c: ...here.  New file.
3973         * math/w_exp2l.c: Move to ...
3974         * sysdeps/generic/w_exp2l.c: ...here.  New file.
3975         * math/w_fmod.c: Move to ...
3976         * sysdeps/generic/w_fmod.c: ...here.  New file.
3977         * math/w_fmodf.c: Move to ...
3978         * sysdeps/generic/w_fmodf.c: ...here.  New file.
3979         * math/w_fmodl.c: Move to ...
3980         * sysdeps/generic/w_fmodl.c: ...here.  New file.
3981         * math/w_hypot.c: Move to ...
3982         * sysdeps/generic/w_hypot.c: ...here.  New file.
3983         * math/w_hypotf.c: Move to ...
3984         * sysdeps/generic/w_hypotf.c: ...here.  New file.
3985         * math/w_hypotl.c: Move to ...
3986         * sysdeps/generic/w_hypotl.c: ...here.  New file.
3987         * math/w_j0.c: Move to ...
3988         * sysdeps/generic/w_j0.c: ...here.  New file.
3989         * math/w_j0f.c: Move to ...
3990         * sysdeps/generic/w_j0f.c: ...here.  New file.
3991         * math/w_j0l.c: Move to ...
3992         * sysdeps/generic/w_j0l.c: ...here.  New file.
3993         * math/w_j1.c: Move to ...
3994         * sysdeps/generic/w_j1.c: ...here.  New file.
3995         * math/w_j1f.c: Move to ...
3996         * sysdeps/generic/w_j1f.c: ...here.  New file.
3997         * math/w_j1l.c: Move to ...
3998         * sysdeps/generic/w_j1l.c: ...here.  New file.
3999         * math/w_jn.c: Move to ...
4000         * sysdeps/generic/w_jn.c: ...here.  New file.
4001         * math/w_jnf.c: Move to ...
4002         * sysdeps/generic/w_jnf.c: ...here.  New file.
4003         * math/w_jnl.c: Move to ...
4004         * sysdeps/generic/w_jnl.c: ...here.  New file.
4005         * math/w_lgamma.c: Move to ...
4006         * sysdeps/generic/w_lgamma.c: ...here.  New file.
4007         * math/w_lgammaf.c: Move to ...
4008         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
4009         * math/w_lgammaf_r.c: Move to ...
4010         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
4011         * math/w_lgammal.c: Move to ...
4012         * sysdeps/generic/w_lgammal.c: ...here.  New file.
4013         * math/w_lgammal_r.c: Move to ...
4014         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
4015         * math/w_lgamma_r.c: Move to ...
4016         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
4017         * math/w_log10.c: Move to ...
4018         * sysdeps/generic/w_log10.c: ...here.  New file.
4019         * math/w_log10f.c: Move to ...
4020         * sysdeps/generic/w_log10f.c: ...here.  New file.
4021         * math/w_log10l.c: Move to ...
4022         * sysdeps/generic/w_log10l.c: ...here.  New file.
4023         * math/w_log.c: Move to ...
4024         * sysdeps/generic/w_log.c: ...here.  New file.
4025         * math/w_logf.c: Move to ...
4026         * sysdeps/generic/w_logf.c: ...here.  New file.
4027         * math/w_logl.c: Move to ...
4028         * sysdeps/generic/w_logl.c: ...here.  New file.
4029         * math/w_pow.c: Move to ...
4030         * sysdeps/generic/w_pow.c: ...here.  New file.
4031         * math/w_powf.c: Move to ...
4032         * sysdeps/generic/w_powf.c: ...here.  New file.
4033         * math/w_powl.c: Move to ...
4034         * sysdeps/generic/w_powl.c: ...here.  New file.
4035         * math/w_remainder.c: Move to ...
4036         * sysdeps/generic/w_remainder.c: ...here.  New file.
4037         * math/w_remainderf.c: Move to ...
4038         * sysdeps/generic/w_remainderf.c: ...here.  New file.
4039         * math/w_remainderl.c: Move to ...
4040         * sysdeps/generic/w_remainderl.c: ...here.  New file.
4041         * math/w_scalb.c: Move to ...
4042         * sysdeps/generic/w_scalb.c: ...here.  New file.
4043         * math/w_scalbf.c: Move to ...
4044         * sysdeps/generic/w_scalbf.c: ...here.  New file.
4045         * math/w_scalbl.c: Move to ...
4046         * sysdeps/generic/w_scalbl.c: ...here.  New file.
4047         * math/w_sinh.c: Move to ...
4048         * sysdeps/generic/w_sinh.c: ...here.  New file.
4049         * math/w_sinhf.c: Move to ...
4050         * sysdeps/generic/w_sinhf.c: ...here.  New file.
4051         * math/w_sinhl.c: Move to ...
4052         * sysdeps/generic/w_sinhl.c: ...here.  New file.
4053         * math/w_sqrtl.c: Move to ...
4054         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
4055         * math/w_tgamma.c: Move to ...
4056         * sysdeps/generic/w_tgamma.c: ...here.  New file.
4057         * math/w_tgammaf.c: Move to ...
4058         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
4059         * math/w_tgammal.c: Move to ...
4060         * sysdeps/generic/w_tgammal.c: ...here.  New file.
4062         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
4063         formats for postal_fmt.
4065 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
4067         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
4068         __ftruncate64 alias.
4069         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
4070         Likewise.
4072 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
4074         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
4075         do "loadrs".  Writing to bspstore already takes care of
4076         invalidating the "clean" partition.
4078 2001-02-16  Andreas Schwab  <schwab@suse.de>
4080         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
4081         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
4083 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
4085         * posix/regex.c (init_syntax_once): Add prototype.
4086         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
4087         (re_search_2): Avoid warning.
4088         (count_mbs_length): Add prototype.
4089         * posix/tst-regex3.c: New file.
4090         * posix/Makefile (tests): Add bug-regex3.
4092 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
4094         * stdio-common/Makefile (tests): Add tst-gets.
4095         * stdio-common/tst-gets.c: New file.
4096         * stdio-common/tst-gets.input: New file.
4098         * elf/elf.h (DT_CHECKSUM): Define.
4100         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
4101         default symbol.
4102         * sysdeps/generic/strtoull.c: Likewise.
4104 2001-02-14  Wolfram Gloger  <wg@malloc.de>
4106         * malloc/malloc.c (new_heap): When allocating large chunk aligned
4107         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
4108         between the heaps.
4110 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
4112         * math/libm-test.inc (j0_test): Check whether sincos is available.
4113         (j1_test): Likewise.
4114         (jn_test): Likewise.
4115         (y0_test): Likewise.
4116         (y1_test): Likewise.
4117         (yn_test): Likewise.
4119         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
4120         fake filesystem routines to handle this.
4122         * time/sys/time.h: Make settimeofday and adjtime available if
4123         _BSD_SOURCE.
4125         * time/sys/time.h: Make timer* macros available for BSD.
4127         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
4128         Patch by Yong Li <rigel863@yahoo.com>.
4130         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
4131         name.
4133         * posix/Makefile (tests): Add tst-gnuglob.
4134         * posix/tst-gnuglob.c: New file.
4136 2001-02-13  H.J. Lu  <hjl@gnu.org>
4138         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
4140 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
4142         * locale/programs/ld-paper.c (paper_output): Pretty printing.
4144         * iconvdata/Makefile (modules): Add GBBIG5.
4145         (distribute): Add gbbig5.c.
4146         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
4148         * iconvdata/gbbig5.c: New file.
4149         Contributed by Yong Li <rigel863@yahoo.com>.
4151 2001-02-13  Philip Blundell  <pb@futuretv.com>
4153         * manual/crypt.texi: Remove outdated references to crypt add-on.
4155         * manual/creature.texi: Improve wording slightly.
4157 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
4159         * io/ftw.c: Always use readdir64.
4160         * io/ftw64.c: Likewise.
4161         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4162         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4163         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
4164         callback to dirent.  Still allow compiling outside glibc.
4165         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
4166         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4168         * malloc/mtrace.c: Use fopen64.
4169         * posix/spawni.c: Use __open64.
4170         * sysdeps/unix/opendir.c: Likewise.
4171         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
4173         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
4174         name a weak alias.
4175         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
4176         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
4177         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
4178         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
4180         * resolv/res_data.c: Add cast to avoid warning.
4182         * include/unistd.h: Declare __ftruncate64.
4184         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
4186         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
4187         instead of __lseek.
4189 2001-02-13  Andreas Jaeger  <aj@suse.de>
4191         * login/getutent_r.c: Include <stdlib.h> for NULL.
4192         * login/getutid_r.c: Likewise.
4194 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
4196         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
4197         * sysdeps/dbl-64/e_j1.c: Likewise.
4198         * sysdeps/dbl-64/e_jn.c: Likewise.
4199         * sysdeps/flt-32/e_j0f.c: Likewise.
4200         * sysdeps/flt-32/e_j1f.c: Likewise.
4201         * sysdeps/ldbl-96/e_j0l.c: Likewise.
4203 2000-12-02  H.J. Lu  <hjl@gnu.org>
4205         * resolv/res_libc.c (res_init): Don't make it default.
4207 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
4209         * manual/debug.texi: Improved the wording.
4210         Patch by Philip Blundell <pb@futuretv.com>.
4212 2001-02-12  Andreas Jaeger  <aj@suse.de>
4214         * posix/Makefile (tests): Don't run bug-regex2 when
4215         cross-compiling.
4217         * libio/Makefile (tests): Don't run test-freopen when
4218         cross-compiling.
4220         * manual/stdio.texi (Streams and I18N): Fix typos.
4222 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
4224         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
4226         * math/libm-test.inc (j0_test): Make expected results long double
4227         constants.
4228         (y0_test): Likewise.
4230         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
4231         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4233 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
4235         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
4236         which was exported from libc.
4237         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
4239 2001-02-12  Andreas Jaeger  <aj@suse.de>
4241         * manual/arith.texi (Parsing of Integers): Fix some wordings.
4243 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
4245         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
4246         and get_avphys_page to long int.
4247         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
4248         * include/sys/sysinfo.h: Likewise.
4249         * sysdeps/generic/sys/sysinfo.h: Likewise.
4250         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
4252         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
4253         cannot return as many values as the user asked for.
4255 2001-02-11  Andreas Jaeger  <aj@suse.de>
4257         * manual/resource.texi (Memory Resources): Fix typo.
4259         * libio/Makefile ($(objpfx)test-freopen.out): Pass
4260         run-program-prefix.
4262         * libio/test-freopen.sh: Use run_program_prefix.
4264 2001-02-10  Andreas Jaeger  <aj@suse.de>
4266         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
4267         cross-compiling.
4268         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
4270         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
4271         only builds.
4273         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
4275         * posix/Makefile: Fix typo, it's build-static-nss.
4277         * iconv/Makefile (extra-objs): New.
4279 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
4281         * sysdeps/unix/stime.c: Include <time.h>.
4283         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
4285 2001-02-10  Andreas Jaeger  <aj@suse.de>
4287         * manual/string.texi (Search Functions): Fix typo.
4289 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
4291         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
4292         (timeval_to_clock_t): Add clk_tck argument and use that instead of
4293         CLK_TCK.
4294         (__times): Use __getclktck to get the number of clock ticks per
4295         second and use its return value instead of CLK_TCK.
4297 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
4299         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
4301 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
4303         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
4305 2001-02-10  Andreas Jaeger  <aj@suse.de>
4307         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
4308         warning.
4310 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
4312         * posix/Makefile: Add rules to build and run bug-regex2.
4313         * posix/bug-regex2.c: New file.
4315 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
4317         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
4318         (regex_compile): Likewise.
4319         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
4320         (re_match_2_internal): Use just is_binary instead of two variables.
4321         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
4323 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
4325         * version.h (VERSION): Bump to 2.2.2.
4327         * iconv/Makefile (distribute): Add iconv_charmap.c and
4328         dummy-repertoire.c.
4329         * elf/Makefile (distribute): Add firstobj.c.
4330         * Makefile (distribute): Add include/pthread.h.
4332         * configure.in: Require makeinfo version 4.
4334         * libio/tst_wscanf.c (main): Add cast to avoid warning.
4335         * libio/tst_swscanf.c (main): Likewise..
4337 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
4339         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
4340         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
4341         __NO_MATH_INLINES.
4342         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
4343         if not RTLD_BOOTSTRAP.
4344         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4345         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4347 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
4349         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
4350         lr_ungetc to push back last read character.
4351         * locale/programs/linereader.h (lr_ungetc): Don't push back is
4352         character is EOF.
4353         (lr_ignore_rest): Don't warn about garbage if it is really the end
4354         of the file.
4356         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
4357         definition.
4359 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
4361         * Makerules (build-shlib): Work around different order of
4362         processing of -B option in different gcc versions.
4364         * posix/regex.c: Fix alignment problem.
4365         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4367         * sysdeps/alpha/strrchr.S: Little optimization.
4368         Patch by Richard Henderson <rth@redhat.com>.
4370         * sysdeps/alpha/alphaev67/strrchr.S: New file.
4371         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
4373 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
4375         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
4376         in the assembler end directive.
4378 2001-02-08  Andreas Jaeger  <aj@suse.de>
4380         * manual/stdio.texi (Closing Streams): Fix typos.
4382 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
4384         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
4385         Patch by Richard Henderson <rth@redhat.com>.
4386         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
4388         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
4389         pointer in FILE structure before calling _IO_init.
4390         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
4391         strfmon_l if necessary.
4392         Reported by Jury Gerold <gjury@grips.com>.
4394         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
4395         Patch by Pekka.Pietikainen@cern.ch.
4397         * posix/regex.c: Correct several problems with 64-bit architectures
4398         introduced in the MBS changes.
4399         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4401 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
4403         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
4404         not defined.
4405         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
4407 2001-02-07  Andreas Jaeger  <aj@suse.de>
4409         * manual/install.texi (Tools for Compilation): Fix typo.
4410         Reported by Pavel Machek <pavel@bug.ucw.cz>.
4412 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
4414         * stdlib/strtod.c: Never stop prematurely reading digits before the
4415         decimal point is found.  Compute exponent limit for negative exponents
4416         correctly.  For numbers ending in all zeros eat the zeros even before
4417         the decimal point if the exponent is negative [PR libc/2072].
4418         * stdlib/Makefile (tests): Add bug-strtod.
4419         * stdlib/bug-strtod.c: New file.
4421 2001-02-07  Andreas Jaeger  <aj@suse.de>
4423         * posix/bug-regex1.c: Include <wchar.h> for fwide.
4425 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
4427         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
4428         Store index.
4429         (compile_range): Handle index being passed, not pointer.
4430         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4432         * posix/regex.c: Fix a cast in the code for bracket handling which
4433         caused 8-bit uncleanliness.
4434         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
4436         * posix/Makefile (tests): Add bug-regex1.
4437         * posix/bug-regex1.c: New file.
4438         Contributed by Jim Meyering <jim@meyering.net>.
4440         * posix/regex.c: Many cleanups for incorrect format strings.
4442 2001-02-06  Andreas Jaeger  <aj@suse.de>
4444         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
4446 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
4448         * locale/programs/locale.c (write_locales): Use scandir to read
4449         directory so that the entries are sorted.
4451 2001-02-06  Andreas Jaeger  <aj@suse.de>
4453         * include/pthread.h: New file.
4455         * wctype/wctype.h: Move internal interfaces from here to...
4456         * include/wctype.h: ...here.
4458         * wcsmbs/wchar.h: Move __wcslen from here to...
4459         * include/wchar.h: ...here.
4461         * posix/sys/wait.h: Move __wait from here to...
4462         * include/sys/wait.h: ...here.
4464         * string/string.h: Move __ffs and __strerror_r from here to...
4465         * include/string.h: ...here.
4467         * stdlib/stdlib.h: Move __on_exit from here to...
4468         * include/stdlib.h: ...here.
4470         * libio/stdio.h: Move __vsnprintf from here to...
4471         * include/stdio.h: ...here.
4473 2001-02-06  Andreas Schwab  <schwab@suse.de>
4475         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
4476         headers.
4478         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
4479         of $(inst_datadir).
4481 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
4483         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
4485 2001-02-06  Andreas Jaeger  <aj@suse.de>
4487         * elf/firstobj.c: Add prototype.
4489         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
4490         (truncate_wchar): Likewise.
4492 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
4494         * locale/programs/locale.c: Implement --verbose option for -a
4495         which prints detailed information about the locales.
4497 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
4499         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
4500         variable to uint32_t.
4501         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
4503 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
4505         * locale/C-translit.h.in: Add transliterations for CJK units of
4506         measurement.
4508 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
4510         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
4511         string.  Include <inttypes.h> instead of <stdint.h>.
4513         * localedata/Makefile (tests): Add bug-iconv-trans.
4514         Define bug-iconv-trans-ENV.
4515         * localedata/bug-iconv-trans.c: New file.
4517 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
4519         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
4520         pointer, to avoid accumulating output from incomplete (unsuccessful)
4521         transliteration attempts.
4523 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
4525         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
4526         string.  Include <inttypes.h> instead of <stdint.h>.
4528         * configure.in: Add check for bison.
4529         * config.make.in: Define BISON variable.
4530         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
4531         Rename YFLAGS to BISONFLAGS.
4533 2001-02-05  Andreas Jaeger  <aj@suse.de>
4535         * io/test-lfs.c (do_test): Test lseek64 return value, call
4536         test_ftello.
4537         (test_ftello): New function to test ftello64 and fseeko64.
4539         * signal/signal.h: Move __sigaction from here to...
4540         * include/signal.h: ...here.
4542         * io/fcntl.h: Move __fcntl and __open to...
4543         * include/fcntl.h: ...here.
4545 2001-02-04  Philip Blundell  <philb@gnu.org>
4547         * configure.in: Distinguish ARM from Thumb.
4549 2001-02-04  Philip Blundell  <philb@gnu.org>
4551         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
4552         PC24 relocs with negative value.
4554 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
4556         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
4557         files in locale/programs.  Add CFLAGS definition to allow compiling
4558         localedef files.
4559         * iconv/dummy-repertoire.c: New file.
4560         * iconv/iconv_charmap.c: New file.
4561         * iconv/iconv_prog.h: New file.
4562         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
4563         (main): If parameter for -f and -t contain slashes try first to resolve
4564         the strings as filenames of charmap files.  Use them for conversion
4565         in this case.
4566         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
4567         iconv getting charmap names as parameters.
4568         * locale/programs/linereader.c (lr_token): Take extra parameters
4569         verbose and pass it to get_string.
4570         (get_string): Take extra parameters verbose.
4571         * locale/programs/charmap.c (parse_charmap): Take extra parameters
4572         verbose and be_quiet.  Change all callers of lr_token and
4573         parse_charmap.
4574         * locale/programs/charmap.h: Likewise.
4575         * locale/programs/ld-address.c: Likewise.
4576         * locale/programs/ld-collate.c: Likewise.
4577         * locale/programs/ld-ctype.c: Likewise.
4578         * locale/programs/ld-identification.c: Likewise.
4579         * locale/programs/ld-measurement.c: Likewise.
4580         * locale/programs/ld-messages.c: Likewise.
4581         * locale/programs/ld-monetary.c: Likewise.
4582         * locale/programs/ld-name.c: Likewise.
4583         * locale/programs/ld-numeric.c: Likewise.
4584         * locale/programs/ld-paper.c: Likewise.
4585         * locale/programs/ld-telephone.c: Likewise.
4586         * locale/programs/ld-time.c: Likewise.
4587         * locale/programs/linereader.c: Likewise.
4588         * locale/programs/linereader.h: Likewise.
4589         * locale/programs/localedef.c: Likewise.
4590         * locale/programs/locfile.c: Likewise.
4591         * locale/programs/locfile.h: Likewise.
4592         * locale/programs/repertoire.c: Likewise.
4594 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
4596         * iconv/iconv_prog.c (main): If output file name is "-" write to
4597         stdout.
4598         (main): If -f or -t argument is missing use charset of the current
4599         locale.
4601 2001-02-03  Andreas Jaeger  <aj@suse.de>
4603         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
4604         boundary for SSE/SSE-2 alignment.
4606         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
4607         annexc.
4609 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
4611         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
4612         Remove comma at end of enum.
4614         * elf/dl-init.c: Add a few __builtin_expect.
4616         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
4618 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
4620         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
4621         errno is ECONNREFUSED.
4623         * posix/Makefile: Define MBS_SUPPORT for regex.c.
4624         * posix/regex.c: Implement multibyte character handling.
4625         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
4627         * string/tst-svc.input: Add two more test cases.
4628         * string/tst-svc.expect: Modify to reflect new test cases.
4630 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
4632         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
4633         tp->name tests with tp->name[0] tests.
4635 2001-01-29  Ben Collins  <bcollins@debian.org>
4637         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
4638         Fix check for name == NULL.
4640 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
4642         * elf/Makefile: Add rules to build and run initfirst test.
4643         * elf/initfirst.c: New file.
4644         * elf/firstobj.c: New file.
4646         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
4647         * configure.in: Test for -z initfirst linker option.
4648         * config.make.in: Add have-z-initfirst.
4649         * elf/dl-init.c (_dl_init): Split out actual initialization code in
4650         new function call_init.  If _dl_initfirst is non-NULL initialize first.
4651         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
4652         remember object in _dl_initfirst.
4653         * elf/soinit.c: Remove special support for calling
4654         __pthread_initialize_minimal.
4656         * conform/conformtest.pl: Add missing $prepend in type test.
4658 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
4660         * elf/elf.h (SHT_CHECKSUM): New definition.
4662         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
4663         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4664         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
4666 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
4668         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
4669         to get definition of `struct timeval'.
4671 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
4673         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
4674         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
4676 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
4678         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
4679         seen, not flags.
4681         * nis/nis_findserv.c: Include <time.h>.
4683 2001-01-30  Yong Li  <yong.li@asu.edu>
4685         * iconv/iconv_prog.c (main): Correct error handling method name.
4687 2001-01-29  Ben Collins  <bcollins@debian.org>
4689         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
4690         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
4691         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
4692         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
4694 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
4696         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
4697         Patch by Marko Myllynen <myllynen@lut.fi>.
4699         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
4700         (int instead of char).
4701         (__strpbrk_c3): Likewise.
4702         Reported by GOTO Masanori <gotom@debian.or.jp>.
4704         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
4705         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
4706         * include/sys/socket.h: Add SA_LEN here for internal use.
4707         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
4709 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
4711         * malloc/Makefile: Don't build memusagestat if cross-compiling.
4713         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
4715         * math/libm-test.inc (rint_test): Add a few more tests for round
4716         to even rounding.
4718 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
4720         * conform/data/pthread.h-data: Correct return type of pthread_exit.
4722         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
4724         * conform/data/stdlib.h-data: Add _Exit.
4726         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
4727         if not already happened.
4728         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
4729         Don't include <limits.h> and <bits/sockaddr.h>.
4731         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
4733         * conform/data/spawn.h-data: Allow all of <sched.h>.
4735         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
4736         unused variable.
4738         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
4739         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
4741         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
4743         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
4744         * libio/stdio.h: Define va_list correctly.
4746         * conform/data/pthread.h-data: Make priority protocol related
4747         functions optional.  Fix typos.
4749         * posix/sched.h: Define sched_priority as __sched_priority.
4750         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
4751         to __sched_priority.
4752         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4754 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
4756         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
4757         of <sys/time.h>.
4759         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
4760         * sysdeps/unix/time.c: Likewise.
4762         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
4763         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
4764         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
4765         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
4766         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
4767         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
4768         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
4769         * time/time.h: Likewise.
4771         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
4772         * conform/data/complex.h-data: New file.
4773         * conform/data/tgmath.h-data: New file.
4775         * conform/data/wchar.h-data: Add missing functions.
4777         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
4779         * conform/data/termios.h-data: Add missing const in tcsetattr()
4780         prototype.
4782         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
4783         Don't define pid_t here.
4785         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
4787         * conform/data/sys/time.h-data: Allow sys/select.h.
4788         * conform/data/sys/un.h-data: Fix typo.
4789         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
4790         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
4791         <sys/time.h>.
4792         * sysdeps/unix/clock_nanosleep.c: Likewise.
4793         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
4794         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
4795         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
4796         * sysdeps/unix/clock_settime.c: Likewise.
4798         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
4799         * login/getutent.c: Likewise.
4800         * login/getutid.c: Likewise.
4801         * login/getutline.c: Likewise.
4803         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
4805         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
4806         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
4807         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
4808         f_fsid field after change in struct statvfs.
4809         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
4810         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
4811         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
4813         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
4814         optional-macro.
4816         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
4817         recvfrom, send, and socketpair prototypes.  Add allow lines.
4818         * socket/sys/socket.h: Include <sys/uio.h>.
4819         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
4820         Fix type of second parameter of listen.
4821         Don't declare isfdtype unless __USE_MISC.
4822         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
4823         * sysdeps/mach/hurd/listen.c: Likewise.
4824         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
4825         ss_family and __ss_family.
4826         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
4827         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4828         (struct msghdr): Change type of msg_iovlen to int and type of
4829         msg_controllen to socklen_t.
4830         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
4831         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
4832         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
4833         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
4834         (rresvport_af): Likewise.
4836         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
4837         * conform/conformtest.pl: Implement handling of symbol.
4839         * signal/signal.h: Fix handling of __need_* symbols.
4840         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
4841         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
4842         * include/sys/select.h: Use fd_set not __fd_set.
4843         * sysdeps/generic/bits/select.h: Likewise.
4844         * sysdeps/i386/bits/select.h: Likewise.
4845         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
4846         __FDELT, __FDMASK, and __fd_set here.
4847         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
4848         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
4849         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
4850         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
4851         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
4852         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4853         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
4854         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
4855         * time/sys/time.h: Define struct timeval before including <time.h>
4856         and <sys/select.h>.
4858         * conform/data/sys/time.h-data: fd_set is a typedef.
4859         * conform/data/sys/select.h-data: New file.
4860         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
4861         * conform/conformtest.pl (@headers): Add sys/select.h.
4862         (type, optional-type): Unless testing a typedef instantiate object.
4863         Implement optional-function.
4865         * math/test-misc.c: Include <float.h>.
4867 2001-01-27  Andreas Jaeger  <aj@suse.de>
4869         * misc/efgcvt_r.c: Include <float.h>.
4871 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
4873         * conform/data/stdlib.h-data: Account for XPG6 changes.
4874         * stdlib/stdlib.h (__random): Change return value type to long.
4875         (posix_memalign): Cleanup parameter names.
4876         (setenv, unsetenv): Make available for __USE_XOPEN2K.
4877         Change return type of unsetenv to int.
4878         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
4879         * include/stdlib.h: Change return type of unsetenv to int.
4880         Change return type of random to long int.
4881         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
4882         Return -1 and set errno if parameter is invalid.
4883         * stdlib/random.c (__random): Change return value type to long.
4885         * conform/data/stdio.h-data: Account for changes in XPG6.
4887         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
4888         prototype.
4890         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
4891         * conform/data/signal.h-data: Fix sigev_notify_function entry.
4892         Fix typo (SIGVALRM -> SIGVTALRM).
4893         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
4894         with real type.
4895         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
4896         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4897         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4898         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4899         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4901         * conform/conformtest.pl: Implement optional-element.  Define
4902         $mustprepend{"sched.h"}.
4903         * conform/data/sched.h-data: Make sporadic scheduler definitions
4904         optional.
4906         * pwd/pwd.h: Don't define getpwent_r for XPG.
4908         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
4909         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
4910         * sysdeps/mach/hurd/poll.c: Likewise.
4911         * sysdeps/unix/bsd/poll.c: Likewise.
4912         * sysdeps/unix/sysv/linux/poll.c: Likewise.
4913         * sysdeps/unix/sysv/aix/poll.c: Likewise.
4914         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
4915         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
4916         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
4917         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
4918         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
4919         * conform/data/poll.h-data: Fix typo in poll prototype.
4921         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
4922         only if __USE_MISC.
4923         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
4925         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
4927         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
4929         * conform/conformtest.pl: Implement optional-type.
4931         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
4932         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
4933         defining uint32_t here.  Define IPPORT_RESERVED.
4934         (struct hostent): Type of h_length element is int.
4935         (getnameinfo): Type of flags parameter is unsigned int.
4936         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
4937         * conform/data/netdb.h-data: Add many missing definitions.
4939         * conform/conformtest.pl: Implement optional-macro.
4940         * conform/data/math.h-data: Update for XPG6.
4942         * math/math.h (HUGE): Define as FLT_MAX value but don't use
4943         FLT_MAX.  Don't include <float.h>.
4944         (MAXFLOAT): Likewise.
4946         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
4948         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
4950         * conform/data/limits.h-data: Mark constants as optional wherever
4951         appropriate.
4953         * posix/bits/posix2_lim.h: Set correct values for
4954         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
4955         EQUIV_CLASS_MAX.
4957         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
4958         Required by POSIX.
4960         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
4962         * conform/data/netinet/in.h-data: Add reserved prefixes.
4964         * conform/data/arpa/inet.h-data: Fix a few typos.
4966 2001-01-26  Andreas Jaeger  <aj@suse.de>
4968         * sysdeps/generic/strtol.c: Include <locale.h>
4969         * stdlib/strtod.c: Likewise
4970         * stdlib/strfmon.c: Likewise.
4971         * string/strcoll.c: Likewise.
4972         * string/strxfrm.c: Likewise.
4973         * wctype/wcfuncs_l.c: Likewise.
4974         * wctype/wctype_l.c: Likewise.
4975         * wctype/wctrans_l.c: Likewise.
4977         * include/bits/locale.h: New file.
4979 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
4981         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
4982         and NOSTR.
4984         * locale/Makefile (headers): Add bits/locale.h.
4985         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
4986         and use __LC_ constants instead of LC_.
4987         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
4988         using __LC_ constants.
4989         * locale/bits/locale.h: New file.
4990         * locale/loadlocale.c: Include <locale.h>.
4991         * locale/nl_langinfo.h: Likewise.
4993         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
4995         * io/sys/stat.h: Define S_IFSOCK for XPG6.
4997         * conform/data/fcntl.h-data: posix_madvise is not expected here.
4999         * conform/conformtest.pl: Fix handling of macro-str.
5001         * conform/data/inttypes.h-data: Add missing definition and all of
5002         stdint.h-data.
5004         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
5006 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
5008         * conform/conformtest.pl (@headers): Add stdint.h.
5009         * conform/data/stdint.h-data: New file.
5011         * conform/conformtest.pl: Recognize options --headers and
5012         --dialect.  Add dialect-specific CFLAGS.
5014         * conform/conformtest.pl: Implement handling of recursive
5015         allow-header.
5017         * conform/data/locale.h-data: Add new struct lconv members.
5019         * posix/wordexp.h: Correct definition of wordexp_t.
5020         * posix/wordexp.c: Moved to ...
5021         * sysdeps/generic/wordexp.c: ...here.  New file.
5022         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
5023         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
5024         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
5025         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
5026         wordexp.
5027         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
5028         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
5030         * math/tgmath.h: Pretty printing.
5032         * math/Makefile (tests): Add test-tgmath.
5033         (CFLAGS-test-tgmath.c): New variable.
5034         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
5036         * conform/conformtest.pl: Handle allow-header in secondary headers
5037         correctly.
5039         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
5040         #ifdef.
5042         * conform/data/netinet/in.h-data: Use correct comment character.
5043         * conform/data/sys/stat.h-data: Likewise.
5045 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
5047         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
5048         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
5049         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
5050         __builtin_classify_type, add ##f suffixes where appropriate.
5051         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
5052         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
5053         __builtin_classify_type.
5054         (fma): Fix spelling of first argument.
5056 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
5058         * conform/data/unistd.h-data: Mark functions removed in XPG6
5059         correctly.
5061         * posix/unistd.h: Don't make functions removed in XPG6 available if
5062         __USE_XOPEN2K.
5064         * conform/conformtest.pl: Implement optional-constant.
5065         * conform/data/unistd.h-data: Use optional-constant wherever
5066         appropriate.
5068         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
5069         constants and add _SC_STREAMS.
5070         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
5072         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
5073         make old name weak alias.
5074         * sysdeps/generic/statvfs64.c: Likewise.
5075         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
5076         make old name weak alias.
5077         * sysdeps/generic/fstatvfs64.c: Likewise.
5078         * include/sys/statvfs.h: New file.
5080         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
5081         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
5082         _PC_REC_XFER_ALIGN.
5083         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
5084         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
5085         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
5086         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
5088         * conform/conformtest.pl: Run Unix tests for XPG6.
5089         Implement handling of known namespace violations.
5090         Improve printing of results.
5092         * posix/unistd.h (usleep): Correct return type.
5093         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
5094         * sysdeps/unix/bsd/usleep.c: Correct return type.
5095         * sysdeps/mach/usleep.c: Correct return type.
5096         * sysdeps/generic/usleep.c: Correct return type.
5098         * posix/unistd.h (sync): Correct return type.
5099         * sysdeps/generic/sync.c: Likewise.
5100         * sysdeps/mach/hurd/sync.c: Likewise.
5102         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
5104         * posix/unistd.h: Make seteuid and setegid available for XPG6.
5106         * wcsmbs/wchar.h: Get FILE definition for XPG5.
5108         * conform/data/ctype.h-data: Use correct comment form.
5109         * conform/data/errno.h-data: Likewise.
5110         * conform/data/math.h-data: Likewise.
5111         * conform/data/mqueue.h-data: Likewise.
5112         * conform/data/netdb.h-data: Likewise.
5113         * conform/data/pthread.h-data: Likewise.
5115 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
5117         * conform/data/wordexp.h-data: Fix typo.
5119         * conform/conformtest.pl: Handle allow-header correctly.
5121         * conform/data/time.h-data: Use correct comment form.
5123         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
5125         * configure.in: Comment out binutils version test.
5127         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
5128         separators.
5129         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
5131         * stdlib/tst-strtod.c (locale_test): New function.
5132         (main): Call locale_test.
5133         * stdlib/Makefile (tst-strtod-ENV): New variable.
5135 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
5137         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
5138         declaration of value such that we actually return the value of the
5139         environment variable.
5141 2001-01-24  Andreas Jaeger  <aj@suse.de>
5143         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
5144         prototype.
5145         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5147         * include/sys/sysctl.h: New file.
5149 2001-01-23  Andreas Jaeger  <aj@suse.de>
5151         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
5152         isomac.
5154         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
5155         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
5156         closes PR libc/2039.
5158         * manual/install.texi (Tools for Compilation): Change required
5159         binutils version.
5161 2001-01-22  Andreas Jaeger  <aj@suse.de>
5163         * configure.in: Add test for new enough binutils version, move
5164         compiler/binutils test up.
5166         * Versions.def: Add version GLIBC_2.2.2.
5168 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
5170         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
5171         available.
5172         * iconvdata/testdata/IBM932: New file.
5173         * iconvdata/testdata/IBM932..UTF8: New file.
5174         * iconvdata/testdata/IBM943: New file.
5175         * iconvdata/testdata/IBM943..UTF8: New file.
5176         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
5178 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5180         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
5182 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
5184         * malloc/malloc.c: Remove a few unnecessary initializers of global
5185         variables.
5187 2000-12-09  H.J. Lu  <hjl@gnu.org>
5189         * nss/Makefile (routines): Add digits_dots.
5190         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
5191         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
5192         into a function.
5193         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
5194         function.
5195         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
5196         (TYPE_VAR_P): Likewise.
5197         (FLAGS_VAR): Likewise.
5198         (AF_VAR_P): Likewise.
5199         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
5200         instead of including digits_dots.c.
5201         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
5202         (TYPE_VAR_P): Likewise.
5203         (FLAGS_VAR): Likewise.
5204         (AF_VAR_P): Likewise.
5205         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
5206         instead of including digits_dots.c.
5208 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
5210         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
5212 2001-01-21  Andreas Jaeger  <aj@suse.de>
5214         * elf/constload2.c: Add prototype for init.
5216 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
5218         * stdlib/stdlib.h (drand48_data): Make available only for
5219         __USE_MISC.  Rename elements to protect namespace.  Change type
5220         and position of a and init element.
5221         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
5222         differently.  Adjust for drand48_data change.  Don't compute a here,
5223         it comes from drand48_data.
5224         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
5225         differently.  Adjust for drand48_data change.  Compute a here.
5226         * stdlib/srand48_r.c: Likewise.
5227         * stdlib/drand48.c: Adjust for drand48_data change.
5228         * stdlib/lrand48.c: Likewise.
5229         * stdlib/mrand48.c: Likewise.
5230         * stdlib/seek48.c: Likewise.
5231         * stdlib/drand48_r.c: Likewise.
5232         * stdlib/lrand48_r.c: Likewise.
5233         * stdlib/mrand48_r.c: Likewise.
5234         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
5235         differently.
5236         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
5237         * stdlib/jrand48_r.c: Likewise.
5239         * po/sv.po: Update from translation team.
5241 2001-01-21  Andreas Jaeger  <aj@suse.de>
5243         * stdio-common/vfprintf.c (vfprintf): Add casts.
5245 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
5247         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
5248         the ASCII test.
5249         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
5251         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
5252         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
5253         * iconvdata/ibm932.c: New file.
5254         * iconvdata/ibm932.h: New file.
5255         * iconvdata/ibm943.c: New file.
5256         * iconvdata/ibm943.h: New file.
5257         Patches by Masahide Washizawa <washi@jp.ibm.com>.
5259         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
5260         preventing optimization from being done.  Set the correct type bit
5261         in seen.  Don't define and use _dl_base_addr unless
5262         NEED_DL_BASE_ADDR is defined.
5264         * io/ftw.c (ftw_dir): Add slash after directory name if there
5265         wasn't any.  Reported by loris <loris@iol.it>.
5266         * io/Makefile (tests): Add bug-ftw2.
5267         * io/bug-ftw2.c: New file.
5269 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
5271         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
5272         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
5273         * stdlib/tst-rand48.c: New file.
5274         * stdlib/Makefile (tests): Add tst-rand48.
5276         * locale/newlocale.c (__newlocale): Fix test for setting all
5277         categories.
5279 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
5281         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
5282         but change looking up the initial directory port in a similar way
5283         as done by _hurd_change_directory_port_from_name.
5284         * hurd/fchroot.c (fchroot): Likewise.
5286 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
5288         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
5289         defined don't look whether the AT_*ID values were set.
5290         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
5291         (_dl_show_auxv): Rewrite to avoid switch statement.
5292         * sysdeps/unix/sysv/linux/kernel-features.h: Define
5293         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
5294         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
5295         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
5297         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
5298         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
5299         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
5301         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
5302         strtoul.
5303         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
5304         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
5305         anything.
5306         * dlfcn/eval.c (__strtol_internal): Define here.
5307         (eval): Use __strtol_internal instead of strtol.
5309         * elf/elf.h: Add a few more EF_MIPS_* constants.
5311 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
5313         * manual/Makefile (chapters): Add debug.
5314         * manual/debug.texi: New file.
5315         * manual/examples/execinfo.c: New file.
5316         Patch by suckfish@ihug.co.nz.
5318 2001-01-17  Andreas Schwab  <schwab@suse.de>
5320         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
5321         invalid asm.
5323 2001-01-17  Andreas Jaeger  <aj@suse.de>
5325         * nscd/connections.c (nscd_run): Use proper format specifier.
5327 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
5329         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
5330         x86_platforms data into new file after prepending _dl_.  Change
5331         users.
5332         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
5333         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
5334         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
5335         dl-procinfo.c.
5337         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
5339         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
5340         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
5341         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
5342         (_setjmp): Likewise.
5343         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
5344         * sysdeps/i386/bsd-setjmp.S: Real implementation.
5345         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
5346         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
5347         version.
5349 2001-01-16  Andreas Jaeger  <aj@suse.de>
5351         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
5352         misapplied last patch.
5354 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
5356         * stdlib/random.c (__initstate): Clean up a cast.
5357         (__setstate): Likewise.
5359         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
5360         syscall handling.  The generic Linux version should work.
5362 2001-01-15  Andreas Jaeger  <aj@suse.de>
5364         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
5366         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
5368 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
5370         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
5371         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
5372         New functions.
5373         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
5374         If number is 0, list all.
5375         (services_keys): Likewise.  Lookup aliases as well.
5376         (databases): New table.
5377         (build_doc): Prepare argp doc text with list of supported databases.
5378         (main): Change to table driven processing.
5380 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
5382         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
5383         functions.
5385 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
5387         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
5388         encode value which does not fit in the 32bit type.
5390 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
5392         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
5393         Change type of CTX to (struct sigcontext *).
5394         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
5395         (GET_FRAME): Likewise.
5396         (GET_STACK): Likewise.
5397         (SIGCONTEXT): Likewise. Add 2nd arg _code.
5398         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
5400 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
5402         * manual/texinfo.tex: Update from upstream version.
5404 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
5406         * inet/ether_ntoh.c (lookup_function): Change arguments to match
5407         _nss_*_getntohost_r prototype.
5408         (ether_ntohost): Pass errno pointer to NSS function.
5410 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5412         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
5413         (MAP_LOCKED): New definition.
5414         (MAP_NORESERVE): New definition.
5416 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
5418         * assert/assert.h: Use static_cast instead of C-style cast for C++.
5419         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
5421 2001-01-12  Ben Collins  <bcollins@debian.org>
5423         * sysdeps/generic/segfault.c (install_handler): Use access, not
5424         __access.
5426 2001-01-12  Andreas Jaeger  <aj@suse.de>
5428         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
5429         * posix/wordexp.c (do_parse_glob): Likewise.
5430         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
5431         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
5432         * elf/dl-open.c (_dl_open): Likewise.
5433         * elf/dl-close.c (_dl_close): Likewise.
5434         * elf/dl-load.c (_dl_map_object): Likewise.
5435         * iconv/iconv_prog.c (process_fd): Likewise.
5436         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
5438         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
5439         of a zero-length array.
5441 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
5443         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
5444         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
5445         * stdlib/cxa_on_exit.c: Remove.
5446         * stdlib/Makefile: Revert last patch.
5447         * stdlib/Versions: Likewise.
5448         * include/stdlib.h: Likewise.
5449         * stdlib/exit.h: Revert last patch.
5450         (struct exit_function): Add second argument to cxa fn.
5451         * stdlib/exit.c: Revert last patch.
5452         (exit): Add hidden second argument.
5454 2001-01-11  H.J. Lu  <hjl@gnu.org>
5456         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
5457         * elf/dl-open.c (_dl_open): Here.
5458         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
5459         Make it static.
5460         (_dl_static_init): Initialize the variables every time when possible.
5461         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
5462         Undefine it first.
5464 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
5466         * stdlib/Makefile (routines): Add cxa_on_exit.
5467         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
5468         * stdlib/cxa_on_exit.c: New file.
5469         * include/stdlib.h: Add prototype for __cxa_on_exit.
5470         * stdlib/exit.c: Handle ef_cxa2.
5471         * stdlib/exit.h (enum): Add ef_cxa2.
5472         (struct exit_function): Add cxa2.
5474         * Versions.def [ld]: Add GLIBC_2.2.1.
5476 2001-01-10  H.J. Lu  <hjl@gnu.org>
5478         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
5479         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
5480         dl-static.
5481         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
5482         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
5483         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
5484         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
5485         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
5487 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
5489         * libio/stdio.h: Remove definition of off_t.
5491 2001-01-11  Andreas Jaeger  <aj@suse.de>
5493         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
5494         <mkuhn@acm.org>.
5496 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
5498         * sunrpc/Makefile (distribute): Add errqueue.h.
5500 2001-01-10  H.J. Lu  <hjl@gnu.org>
5502         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
5503         r9, r10 and r11 for language specific registers.
5505 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
5507         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
5508         UDP socket.
5509         (clntudp_call): Handle MSG_ERRQUEUE.
5510         * sysdeps/generic/errqueue.h: New file.
5511         * sysdeps/unix/sysv/linux/errqueue.h: New file.
5513 2001-01-10  H.J. Lu  <hjl@gnu.org>
5515         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
5517 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
5519         * CONFORMANCE: Update.
5521 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
5523         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
5524         Minimal cleanups.  Add assert to ensure memory handling is correct.
5526         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
5527         Reported by Ben Collins <bcollins@debian.org>.
5529         * time/strftime.c (my_strftime): Mark previous GNU extensions
5530         which are now in C99 as such.
5532 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
5534         * elf/rtld.c (process_envvars): Place output files for profiling
5535         in SUID binaries in /var/profile.
5537         * elf/dl-load.c (_dl_map_object): Don't look in cache for
5538         preloading in SUID binaries.
5540         * elf/dl-profile.c (_dl_start_profile): Open the output file with
5541         O_NOFOLLOW if possible.
5543         * include/stdlib.h: Add __posix_openpt declaration.
5544         * stdlib/stdlib.h: Add posix_openpt declaration.
5545         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
5546         * sysdeps/generic/getpt.c: Define posix_openpt.
5547         * sysdeps/unix/bsd/getpt.c: Likewise.
5548         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
5550         * time/Makefile (tests): Add tst-mktime.
5551         * time/tst-mktime.c: New file.
5553         * posix/tst-dir.c (main): One more mkdir() test.
5555         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
5556         Remove getpagesize syscall.  We assume that the pagesize is always
5557         determined from the auxiliary vector.
5559         * intl/dcigettext.c: Fix a few warnings.
5560         Patch by Bruno Haible <haible@ilog.fr>.
5562 2001-01-08  Andreas Jaeger  <aj@suse.de>
5564         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
5565         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
5567 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
5569         * sysdeps/generic/segfault.c (install_handler): Check output file
5570         name with access().
5572         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
5573         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
5575         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
5577         * malloc/memusage.c (me): Use access() to determine whether we
5578         should write the output file or not.
5580         * libio/bits/stdio.h (printf): Define macro to map printf call to
5581         fprintf which gcc can optimize.
5582         * stdio-common/printf.c: Undefine printf.
5584 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
5586         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
5587         patch.  We must use unsigned int for l member of union.
5589         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
5590         _dl_aux_init for shared libraries.
5592         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
5593         * sysdeps/gnu/glob64.c: ...here.  New file.
5595 2001-01-07  Ben Collins  <bcollins@debian.org>
5597         * manual/examples/longopt.c: Make the "struct option" a little
5598         more like it should be, adding usage of required_argument,
5599         noargument and such, and also setting the options string right.
5601         * manual/sysinfo.texi (Load Average): New section, documents
5602         getloadavg().
5604 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
5606         * version.h (VERSION): Bump to 2.2.1.
5608         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
5609         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
5610         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
5611         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
5612         * Makefile (distribute): Add include/libc-internal.h.
5613         * libio/Makefile (distribute): Avoid overwriting.
5615         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
5616         buffer and table handling.
5618 2001-01-05  H.J. Lu  <hjl@gnu.org>
5620         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
5621         vector checking to ...
5622         (_dl_aux_init): Here. New function. Defined only if
5623         HAVE_AUX_VECTOR is defined.
5625         * sysdeps/generic/libc-start.c (__libc_start_main): Call
5626         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
5628         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
5629         _dl_aux_init.
5631         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
5632         (HAVE_AUX_VECTOR): Defined.
5633         (_dl_aux_init): Declared.
5635 2001-01-05  Ben Collins  <bcollins@debian.org>
5637         * manual/string.texi (Finding Tokens in a String): Document XPG
5638         basename() and dirname(), as well as GNU basename().
5640 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
5642         * Makeconfig (preprocess-version): Replace -traditional with
5643         -x assembler-with-cpp.
5645 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
5647         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
5648         for GCC 2.97 or later.
5650 2001-01-05  Ben Collins  <bcollins@debian.org>
5652         * manual/stdio.texi (getline): Clarify the return value in the
5653         case of EOF being reached before a newline.
5655 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
5657         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
5658         FALSE otherwise.
5659         (pmap_set, pmap_unset): Check __get_myaddress return value.
5661 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
5663         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
5664         (struct ether_addr): Declare ether_addr_octet member as
5665         `u_int8_t'.  Add __attribute__ ((__packed__)).
5667 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
5669         * sysdeps/mach/hurd/readdir64.c: New file.
5670         * sysdeps/mach/hurd/readdir64_r.c: New file.
5672 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
5674         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
5675         `struct statfs' and `struct statvfs' being identical.
5676         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
5678 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
5680         * sysdeps/mach/hurd/fstatfs64.c: New file.
5681         * sysdeps/mach/hurd/fstatvfs64.c: New file.
5682         * sysdeps/mach/hurd/statfs64.c: New file.
5683         * sysdeps/mach/hurd/statvfs64.c: New file.
5684         * sysdeps/mach/hurd/statfsconv.c: New file.
5685         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
5687 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
5689         * iconv/skeleton.c: Reset outbuf for next round of the loop.
5690         Reported by Owen Taylor <otaylor@redhat.com>.
5691         * iconv/Makefile (tests): Add tst-iconv3.
5692         * iconv/tst-iconv3.c: New file.
5694         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
5695         * iconvdata/ibm933.c: Likewise.
5696         * iconvdata/ibm935.c: Likewise.
5697         * iconvdata/ibm937.c: Likewise.
5698         * iconvdata/ibm939.c: Likewise.
5699         * iconvdata/ibm930.h: Adjust single byte table for optimization.
5700         * iconvdata/ibm933.h: Likewise.
5701         * iconvdata/ibm935.h: Likewise.
5702         * iconvdata/ibm939.h: Likewise.
5704         * iconvdata/testdata/IBM930: Add misssing SI.
5705         * iconvdata/testdata/IBM933: Likewise.
5706         * iconvdata/testdata/IBM935: Likewise.
5707         * iconvdata/testdata/IBM937: Likewise.
5708         * iconvdata/testdata/IBM939: Likewise.
5710 2001-01-06  Andreas Jaeger  <aj@suse.de>
5712         * configure.in: Check for old add-ons that shouldn't be used with
5713         current glibc anymore.
5715 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
5717         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
5718         instead of -1 on failure.  Don't forget to copy file name into
5719         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
5720         of the directory.
5722 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
5724         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
5725         copy st_atime member.
5727 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
5729         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
5730         for searches from the root directory.
5731         Reported by loris <loris@iol.it> [PR libc/1991].
5732         * io/Makefile (tests): Add bug-ftw1.
5733         * io/bug-ftw1.c: New file.
5735         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
5736         if it is not available.  Instead use it only if it is available.
5737         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
5739         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
5740         overflowing output buffer.
5741         (internal_ucs4_loop_unaligned): Likewise.
5742         (ucs4_internal_loop): Likewise.
5743         (ucs4_internal_loop_unaligned): Likewise.
5744         (internal_ucs4le_loop): Likewise.
5745         (internal_ucs4le_loop_unaligned): Likewise.
5746         (ucs4le_internal_loop): Likewise.
5747         (ucs4le_internal_loop_unaligned): Likewise.
5748         Reported by Owen Taylor <otaylor@redhat.com>.
5749         * iconv/Makefile (tests): Add tst-iconv2.
5750         * iconv/tst-iconv2.c: New file.
5752 2001-01-04  H.J. Lu  <hjl@gnu.org>
5754         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
5755         (_dl_clktck): Declared.
5756         (non_dynamic_init): Take 3 arguments.
5757         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
5759 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
5761         Finish implementation of plural form handling.
5762         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
5763         'domainname'.  Remove 'plindex' field. Add 'domain' and
5764         'translation_length' fields.
5765         (transcmp): Don't compare 'plindex' fields.
5766         (plural_lookup): New function.
5767         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
5768         plural_eval before the translation and its catalog file have been
5769         found. Remove plindex from cache key.  Add 'translation_length' and
5770         'domain' to cache result.
5771         (_nl_find_msg): Remove index argument, return length of translation
5772         to the caller instead.  Weaken comparison of string lengths, to account
5773         for plural entries.  Call iconv() on the entire result string, not
5774         only on the portion needed so far.
5775         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
5776         argument.
5777         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
5779 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
5781         * intl/plural.y (yylex): Minimal improvement in number scanner.
5783 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
5785         * intl/plural.y: Include config.h. Needed to define 'inline' away for
5786         C compilers that don't support it.
5787         (yylex): Don't use gcc specific case range syntax.
5788         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
5789         compilers.
5791 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
5793         * intl/finddomain.c: Remove unneeded includes.
5795 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
5797         * intl/localealias.c (memcpy): Return first argument, just like the
5798         real memcpy function does.
5799         * intl/bindtextdom.c (memcpy): Likewise.
5800         * intl/finddomain.c (memcpy): Likewise.
5801         * intl/l10nflist.c (memcpy): Likewise.
5802         * intl/textdomain.c (memcpy): Likewise.
5803         From Paul Eggert <eggert@twinsun.com>.
5805 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
5807         * resolv/resolv.h (struct __res_state): Add nsinit field.
5808         * resolv/res_send.c (res_nsend): Use it instead of nscount.
5809         * resolv/res_init.c (__res_vinit): Initialize it.
5810         (res_nclose): Clear it instead of nscount.
5812 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
5814         * malloc/mtrace.pl: Fix matching of addresses.
5815         Patch by Aharon Robbins <arnold@skeeve.com>.
5817         * Versions.def (ld): Add GLIBC_2.2.
5819         * catgets/gencat.c: Copyright 2001.
5820         * csu/version.c: Likewise.
5821         * debug/catchsegv.sh: Likewise.
5822         * debug/xtrace.sh: Likewise.
5823         * elf/ldconfig.c: Likewise.
5824         * elf/sprof.c: Likewise.
5825         * iconv/iconv_prog.c: Likewise.
5826         * locale/locale.c: Likewise.
5827         * locale/localedef.c: Likewise.
5828         * malloc/memusage.sh: Likewise.
5829         * malloc/mtrace.pl: Likewise.
5830         * nscd/nscd.c: Likewise.
5831         * posix/getconf.c: Likewise.
5833 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
5835         * include/stdio.h: Only provide __getwc_unlocked prototype if
5836         USE_IN_LIBIO is defined.
5838 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5840         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
5841         handling.
5843 2001-01-03  Andreas Schwab  <schwab@suse.de>
5845         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
5846         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
5848         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
5849         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
5850         strtoull alias.
5851         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
5852         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
5853         wcstoull alias.
5855         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
5856         directory.
5857         * sysdeps/generic/strtol_l.c: Likewise.
5858         * sysdeps/generic/strtoul_l.c: Likewise.
5859         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
5861         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
5862         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
5863         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
5864         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
5866 2001-01-04  Andreas Jaeger  <aj@suse.de>
5868         * nss/nsswitch.c: Include files for missing prototypes, remove
5869         buggy declaration of prototypes.
5871 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5873         * resolv/Versions: Fix bracing.
5874         * sysdeps/powerpc/soft-fp/Versions: Likewise.
5875         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
5877 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5879         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
5881 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
5883         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
5884         Suggested by Minko Markov <mmarkov@home.com>.
5886 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5888         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
5889         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
5890         the failing symbol.
5891         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
5893 2001-01-02  Ben Collins  <bcollins@debian.org>
5895         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
5896         if TZ is not set and TZDEFAULT is not present.
5898 2001-01-01  Ben Collins  <bcollins@debian.org>
5900         * string/strings.h: Make sure we declare our functions even if
5901         string.h is already included, based on whether or not __USE_BSD is
5902         defined.
5904 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
5906         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
5907         other dlopen() and dlsym().
5908         Based on a patch by Ben Collins <bcollins@debian.org>.
5910 2001-01-02  Andreas Jaeger  <aj@suse.de>
5912         * dlfcn/errmsg1.c (main): Call dlerror initially.
5913         Reported by Ben Collins <bcollins@debian.org>.
5915 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
5917         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
5918         value is ignored if the selected locale is the C locale.
5919         * intl/tst-gettext.c: Set locale for above change.
5920         * intl/tst-translit.c: Likewise.
5922 2001-01-02  Andreas Jaeger  <aj@suse.de>
5924         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
5925         (_IO_switch_to_wget_mode): Likewise.
5926         (_IO_sputbackwc): Likewise.
5927         (_IO_sungetwc): Use wint_t for result.
5929         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
5931         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
5932         signedness.
5934         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
5935         to (int) to avoid warnings.
5936         * stdio-common/printf_fp.c (putc): Likewise.
5937         * stdio-common/printf_size.c (putc): Likewise.
5939         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
5940         constant unsigned.
5942 2001-01-01  Andreas Jaeger  <aj@suse.de>
5944         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
5946 2000-12-31  Andreas Jaeger  <aj@suse.de>
5948         * include/libc-internal.h: Add prototype for __libc_freeres.
5950         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
5951         for prototypes, remove redundant prototypes.
5952         * gmon/gmon.c: Likewise.
5953         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
5954         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
5955         * malloc/mtrace.c: Likewise.
5957         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
5958         prototypes.
5959         * elf/soinit.c: Likewise.
5960         * sysdeps/generic/prof-freq.c: Likewise.
5961         * sysdeps/mach/hurd/profil.c: Likewise.
5962         * debug/noophooks.c: Likewise.
5963         * debug/pcprofile.c: Likewise.
5964         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
5965         * sysdeps/generic/get_clockfreq.c: Likewise.
5966         * malloc/set-freeres.c: Likewise.
5968         * locale/localeinfo.h: Add internal prototypes.
5970         * elf/rtld.c (dl_main): Fix prototype.
5972         * iconvdata/tst-table-to.c (main): Use return instead of exit to
5973         avoid warning.
5975         * nis/rpcsvc/yp_prot.h: Remove __P.
5976         * nis/rpcsvc/ypupd.h: Likewise.
5977         * nis/rpcsvc/yp.h: Likewise.
5979         * sunrpc/rpc_main.c: Add noreturn attributes.
5980         * sunrpc/rpc_scan.h: Likewise.
5982         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
5984         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
5986         * sunrpc/proto.h: Add noreturn attributes to error and crash.
5988         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
5990         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
5992         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
5994         * include/rpc/rpc_msg.h: Add prototypes for some functions.
5995         * include/rpc/auth.h: Likewise.
5996         * include/rpc/auth_des.h: Likewise.
5997         * include/rpc/clnt.h: Likewise.
5998         * include/rpc/rpc.h: Likewise.
5999         * include/rpc/svc.h: Likewise.
6000         * include/rpc/svc_auth.h: Likewise.
6002         * include/rpc/des_crypt.h: New file.
6004         * malloc/memusagestat.c (main): Use return instead of exit to
6005         avoid warning.
6006         * io/pwd.c (main): Likewise.
6007         * iconvdata/tst-table-from.c (main): Likewise.
6008         * ctype/test_ctype.c (main): Likewise.
6009         * setjmp/tst-setjmp.c (main): Likewise.
6010         * signal/tst-signal.c (main): Likewise.
6011         * stdlib/tst-strtol.c (main): Likewise.
6012         * stdlib/tst-strtod.c (main): Likewise.
6013         * stdlib/tst-strtoll.c (main): Likewise.
6014         * stdlib/tst-xpg-basename.c (main): Likewise.
6015         * dirent/tst-seekdir.c (main): Likewise.
6016         * grp/testgrp.c (main): Likewise.
6017         * inet/test_ifindex.c (main): Likewise.
6018         * io/test-utime.c (main): Likewise.
6019         * posix/test-vfork.c (main): Likewise.
6020         * posix/testfnm.c (main): Likewise.
6021         * stdio-common/temptest.c (main): Likewise.
6022         * stdio-common/test_rdwr.c (main): Likewise.
6023         * stdio-common/tst-fileno.c (main): Likewise.
6024         * stdio-common/tst-sscanf.c (main): Likewise.
6025         * stdio-common/tstscanf.c (main): Likewise.
6026         * string/bug-strncat1.c (main): Likewise.
6027         * string/bug-strpbrk1.c (main): Likewise.
6028         * string/bug-strspn1.c (main): Likewise.
6029         * string/test-ffs.c (main): Likewise.
6030         * string/tst-inlcall.c (main): Likewise.
6031         * string/tst-svc.c (main): Likewise.
6032         * timezone/test-tz.c (main): Likewise.
6033         * wctype/test_wcfuncs.c (main): Likewise.
6034         * wctype/test_wctype.c (main): Likewise.
6036         * stdlib/tst-random.c: Add attribute noreturn to fail.
6038 2000-12-28  Wolfram Gloger  <wg@malloc.de>
6040         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
6041         destination overlap.  Assume dest is always below source if
6042         overlapping.
6044 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
6046         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
6047         object was not yet initialized.
6049 2000-12-28  H.J. Lu  <hjl@gnu.org>
6051         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
6052         is always consistent even if its dependency is failed.
6054         * elf/dl-open.c (_dl_open): Increment the open count before
6055         calling _dl_close () in case of failure.
6057         * elf/neededtest4.c: New file.
6058         * elf/neededobj5.c: New file.
6059         * elf/neededobj6.c: New file.
6061         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
6062         (tests): Add neededtest4.
6063         (modules-names): Add neededobj5 and neededobj6.
6064         ($(objpfx)neededobj6.so): New target.
6065         ($(objpfx)neededtest4): New target.
6066         ($(objpfx)neededtest4.out): New target.
6068 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
6070         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
6071         * stdlib/monetary.h: Add strfmon format attributes.
6073 2000-12-28  Roland McGrath  <roland@frob.com>
6075         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
6076         __mempcpy does it for us.
6078 2000-12-28  Andreas Jaeger  <aj@suse.de>
6080         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
6082         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
6083         __new_setrlimit.
6085         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
6086         __old_getrlimit64.
6088         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
6089         __new_getrlimit.
6091         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
6092         __chown_is_lchown and __real_chown.
6094         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
6095         _dl_reloc_bad_type.
6097         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
6098         up GCC's warning about "deprecated use of label at end of compound
6099         statement."
6100         * sunrpc/rpc_cout.c (emit_inline): Likewise.
6102         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
6103         prototypes.
6104         Remove struct bb and __bb_head since those are declared by
6105         sys/gmon.h.
6107 2000-12-22  Ben Collins  <bcollins@debian.org>
6109         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
6111         * manual/argp.texi: Document argp_domain as part of struct argp.
6113 2000-12-28  Andreas Jaeger  <aj@suse.de>
6115         * catgets/Makefile (generated): Add sample.SJIS.cat.
6117         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
6119         * elf/dl-minimal.c: Add prototypes.
6121         * include/locale.h: Add internal prototypes.
6122         * include/sys/gmon.h: Likewise.
6124         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
6126 2000-12-27  Ben Collins  <bcollins@debian.org>
6128         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
6129         when reallocating the error strings.
6130         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
6132 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
6134         * dlfcn/Makefile (tests): Add errmsg1.
6135         (modules-names): Add errmsg1mod.
6136         Add rules to run errmsg1.
6137         * dlfcn/errmsg1.c: New file.
6138         * dlfcn/errmsg1mod.c: New file.
6140         * dlfcn/dlerror.c (dlerror): Always create output string which
6141         includes object file name.
6143         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
6144         if we would go through it only once.
6145         Patch by Rick Gorton <rick.gorton@api-networks.com>.
6147         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
6148         Patch by Richard Henderson <rth@redhat.com>.
6150 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
6152         * malloc/malloc.c (memmove): Add prototypes.
6153         (MALLOC_MEMMOVE): Define.
6154         (chunk_realloc): Use it instead of MALLOC_COPY if source and
6155         destination might overlap.
6157 2000-12-27  Andreas Jaeger  <aj@suse.de>
6159         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
6160         function.
6161         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6162         * locale/programs/locale.c (show_locale_vars): Likewise.
6163         (show_info): Likewise.
6164         * locale/programs/ld-collate.c (collate_output): Likewise.
6165         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
6166         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6167         * stdlib/rpmatch.c (rpmatch): Likewise.
6169         * setjmp/tst-setjmp.c: Make local functions static.
6170         * setjmp/jmpbug.c: Likewise.
6171         * signal/tst-signal.c: Likewise.
6172         * stdio-common/tfformat.c: Likewise.
6173         * string/tst-svc.c: Likewise.
6174         * time/clocktest.c: Likewise.
6175         * time/tst-getdate.c: Likewise.
6176         * dirent/list.c: Likewise.
6177         * dirent/opendir-tst1.c: Likewise.
6178         * posix/runtests.c: Likewise.
6179         * posix/tst-getaddrinfo.c: Likewise.
6180         * posix/tst-chmod.c: Likewise.
6181         * posix/wordexp-test.c: Likewise.
6182         * misc/tst-efgcvt.c: Likewise.
6183         * timezone/tst-timezone.c: Likewise.
6184         * rt/tst-clock.c: Likewise.
6185         * rt/tst-shm.c: Likewise.
6186         * rt/tst-aio2.c: Likewise.
6187         * rt/tst-aio3.c: Likewise.
6188         * rt/tst-aio4.c: Likewise.
6189         * rt/tst-aio5.c: Likewise.
6191         * dlfcn/failtest.c: Add prototype for foo.
6193         * dlfcn/glrefmain.c: Add prototype for do_test.
6195         * dlfcn/tst-dladdr.c: Add prototype for do_test.
6197         * string/test-ffs.c (main): Add prototype for nested function.
6199         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
6201         * nss/XXX-lookup.c: Add prototype to shut up GCC.
6203         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
6204         setetherent prototype.
6205         Add internal interfaces.
6207         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
6208         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
6210         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
6212         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
6214         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
6215         prototypes, remove struct etherent since it's declared in ether.h.
6216         Fix ntohost declaration.
6218         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
6220         * include/getopt.h: Add internal interfaces.
6221         * include/termios.h: Likewise.
6222         * include/resolv.h: Likewise.
6223         * include/netdb.h: Likewise.
6224         * include/grp.h: Likewise.
6225         * include/pwd.h: Likewise.
6226         * include/shadow.h: Likewise.
6227         * include/rpc/netdb.h: Likewise.
6228         * include/setjmp.h: Likewise.
6230         * include/stdio.h: Add prototypes for compatibility functions.
6231         * include/grp.h: Likewise.
6232         * include/pwd.h: Likewise.
6233         * include/shadow.h: Likewise.
6235         * include/fenv.h: Define internal interfaces.
6237 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
6239         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
6240         argument case separately.
6241         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
6243 2000-12-27  Andreas Jaeger  <aj@suse.de>
6245         * include/sys/wait.h: Add some prototypes.
6246         * Rules (dummy.c): Create also prototype to shut up GCC.
6248 2000-12-27  Andreas Jaeger  <aj@suse.de>
6250         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
6251         it's not needed at the moment.
6252         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
6253         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
6255 2000-12-26  Andreas Jaeger  <aj@suse.de>
6257         * libio/getc_u.c: Include stdio.h via system path to get internal
6258         prototypes.
6259         * libio/getwc_u.c: Likewise.
6261         * stdlib/strfmon.c: Fix prototype of __printf_fp.
6263         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
6264         __printf_fp prototypes to ...
6265         * include/printf.h: ...here.
6267         * include/stdio.h: Add some internal prototypes to shut up GCC.
6268         * include/stdlib.h: Likewise.
6270         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
6271         declaration.
6273         * include/signal.h: Add prototypes for internal sigpause
6274         interfaces.
6276 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
6278         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
6279         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
6281         * string/Makefile (tests): Add tst-bswap.
6282         * string/tst-bswap.c: New file.
6284 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
6286         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
6288 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
6290         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
6291         Patch by Ed Connell <Ed.Connell@sas.com>.
6293 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
6295         * locale/iso-639.def: Correct one entry.  Add two missing entries.
6297         * locale/iso-4217.def: Change entry for Eritrea.
6298         Reported by Daniel Yacob <yacob@geez.org>.
6300 2000-12-23  Ben Collins  <bcollins@debian.org>
6302         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
6303         description.
6305         * manual/stdio.texi (Dynamic Output): Document the return value of
6306         asprintf.  Also make the asprintf/snprintf examples a little
6307         better (check for some error returns).
6309 2000-12-22  Andreas Jaeger  <aj@suse.de>
6311         * include/stdio.h: Add __ftrylockfile prototype.
6313 2000-12-21  H.J. Lu  <hjl@gnu.org>
6315         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
6316         Make sign_exponent element signed.
6318         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
6319         Fix a typo.
6321         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
6323 2000-12-21  Andreas Jaeger  <aj@suse.de>
6325         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
6326         * inet/ether_hton.c: Likewise
6327         * inet/ether_ntoh.c: Likewise.
6329         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
6330         declaration to match prototype.
6332         * include/netinet/ether.h (struct etherent): Declare here so that
6333         all implementations use the same struct.
6335         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
6336         prototypes.
6337         (struct ether): Removed.
6338         Use struct etherent instead of ether everywhere.
6340         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
6342         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
6344         * sunrpc/publickey.c: Include auth_des.h for prototypes.
6346 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
6348         * math/test-misc.c: Add more tests for nextafter functions.
6350         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
6351         normal correctly.  Correct test for sign.
6352         Based on a patch by HJ Lu.
6354 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
6356         * Makeconfig (preprocess-version): Add -traditional to gcc call.
6357         Cleanup sed calls.
6359 2000-12-19  Andreas Jaeger  <aj@suse.de>
6361         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
6363         * nis/nis_intern.h: Add prototype for __do_niscall3.
6365         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
6366         match prototype.
6368         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
6370         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
6372         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
6374 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
6376         * math/test-misc.c: Add more tests for nextafter.
6377         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
6378         * sysdeps/ieee754/ldbl-96/math_ldbl.h
6379         (ieee_long_double_shape_type): Make sign_exponent element signed.
6381         * manual/message.texi: Add Estonian to plural overview list.
6382         Correct rule for Slavic languages.
6383         Patch by Stanislav Brabec <utx@penguin.cz>.
6385         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
6387 2000-12-18  Andreas Jaeger  <aj@suse.de>
6389         * test-skeleton.c: Use temp_name_list instead of name_list to
6390         avoid collision with name_list from inet/netgroup.h.
6392         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
6394         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
6395         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
6396         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
6397         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
6399         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
6400         declaration to match prototype.
6401         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
6402         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
6403         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
6404         Likewise.
6405         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
6406         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
6407         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
6408         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
6409         (_nss_nis_getservbyport_r): Likewise.
6410         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
6411         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
6412         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
6413         (_nss_nis_setnetent): Likewise
6414         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
6415         (_nss_nis_endnetgrent): Likewise.
6416         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
6417         Likewise.
6418         (_nss_nisplus_setnetgrent): Likewise.
6419         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
6420         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
6421         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
6422         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
6423         Likewise.
6424         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
6425         Likewise.
6426         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
6427         Likewise.
6428         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
6429         Likewise.
6430         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
6431         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
6432         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
6433         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
6434         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
6435         (_nss_dns_getnetbyaddr_r): Likewise.
6437 2000-12-17  Andreas Jaeger  <aj@suse.de>
6439         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
6440         parameter.
6442         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
6443         unused attribute to shut up gcc warnings.
6445         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
6446         * sysdeps/generic/k_tanl.c: Likewise.
6447         * sysdeps/generic/k_cosl.c: Likewise.
6448         * sysdeps/generic/e_j0l.c: Likewise.
6449         * sysdeps/generic/e_j1l.c: Likewise.
6450         * sysdeps/generic/e_jnl.c: Likewise.
6451         * sysdeps/generic/e_lgammal_r.c: Likewise.
6453         * elf/vismain.c: Move prototypes for functions in vismod*.c to
6454         vismod.h.
6455         * elf/vismod.h: New file.
6456         * elf/Makefile (distribute): Add vismod.h.
6457         * elf/vismod1.c: Include vismod.h.
6458         * elf/vismod2.c: Likewise.
6459         * elf/vismod3.c: Likewise.
6461         * elf/constload3.c: Add prototype declarations to shut up gcc.
6462         * elf/failobj.c: Likewise.
6463         * elf/nodelmod3.c: Likewise.
6464         * elf/filtmod1.c: Likewise.
6465         * elf/filtmod2.c: Likewise.
6466         * elf/reldepmod1.c: Likewise.
6467         * elf/reldepmod2.c: Likewise.
6468         * elf/reldepmod3.c: Likewise.
6469         * elf/reldepmod4.c: Likewise.
6470         * elf/unload2dep.c: Likewise.
6471         * elf/unload2mod.c: Likewise.
6472         * elf/ltglobmod1.c: Likewise.
6473         * elf/pathoptobj.c: Likewise.
6474         * elf/neededobj1.c: Likewise.
6475         * elf/neededobj2.c: Likewise.
6476         * elf/neededobj3.c: Likewise.
6477         * elf/neededobj4.c: Likewise.
6478         * elf/nextmod1.c: Likewise.
6479         * elf/nextmod2.c: Likewise.
6481         * locale/programs/ld-collate.c (collate_finish): Don't use labels
6482         at end of compound statement.
6483         * locale/programs/locale.c (show_info): Likewise.
6484         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
6486 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
6488         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
6489         with a pointer not returned by obstack_ functions.
6491 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
6493         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
6494         version.
6495         (struct stat64): Likewise.
6496         Reported by Michael Keezer <mkeezer@redhat.com>.
6498         * timezone/asia: Update from tzdata2000h.
6499         * timezone/australasia: Likewise.
6500         * timezone/backward: Likewise.
6501         * timezone/europe: Likewise.
6502         * timezone/northamerica: Likewise.
6503         * timezone/southamerica: Likewise.
6504         * timezone/zone.tab: Likewise.
6506 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
6508         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
6509         and dir.stream is NULL, only free dir.content.
6510         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
6511         * io/ftwtest-sh: Test with --early-exit.
6513 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
6515         * misc/efgcvt.c (FCVT_MAXDIG): Define.
6516         (FCVT_BUFPTR): New variable.
6517         (fcvt): If fcvt_r returns -1 on the static short buffer,
6518         try to malloc a sufficiently large one and retry.
6519         (free_mem): New function.
6520         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
6521         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
6523 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
6525         * misc/dirname.c (dirname): Fix search for second to last slash.
6527 2000-12-13  Andreas Jaeger  <aj@suse.de>
6529         * misc/tst-dirname.c (main): Fix typo in test to really use
6530         the examples from Unix98.
6531         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
6533 2000-12-09  H.J. Lu  <hjl@gnu.org>
6535         * sysdeps/ia64/fpu/s_fabs.S: New file.
6536         * sysdeps/ia64/fpu/s_fabsf.S: New file.
6537         * sysdeps/ia64/fpu/s_fabsl.S: New file.
6539 2000-12-15  Andreas Jaeger  <aj@suse.de>
6541         * stdio-common/scanf9.c (main): Reformat and change to avoid
6542         warnings.
6544         * stdio-common/tstdiomisc.c: Make local functions static.
6545         * stdio-common/tst-printf.c: Likewise.
6547         * elf/constload2.c: Add prototype declarations to shut up gcc.
6548         * elf/dep1.c: Likewise.
6549         * elf/dep2.c: Likewise.
6550         * elf/dep3.c: Likewise.
6551         * elf/dep4.c: Likewise.
6552         * elf/ltglobmod2.c: Likewise.
6554         * libio/fmemopen.c: Make local functions static.
6556         * elf/Makefile (distribute): Added testobj.h.
6558         * elf/testobj.h: New file.
6560         * elf/testobj1.c: Include testobj.h and move prototype
6561         declarations to testobj.h.
6562         * elf/testobj2.c: Likewise.
6563         * elf/testobj3.c: Likewise.
6564         * elf/testobj4.c: Likewise.
6565         * elf/testobj5.c: Likewise.
6566         * elf/testobj6.c: Likewise.
6567         * elf/testobj1_1.c: Likewise.
6568         * elf/preloadtest.c: Likewise.
6570 2000-12-15  Ben Collins  <bcollins@debian.org>
6572         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
6573         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
6575 2000-12-14  H.J. Lu  <hjl@gnu.org>
6577         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
6578         field in a float is 8 bits, not 11 bits.
6580 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
6582         * math/test-misc.c (main): Adjust m for IEEE quad long double.
6584 2000-12-13  Andreas Jaeger  <aj@suse.de>
6586         * manual/message.texi (Using gettextized software): Fix typo.
6588         * manual/charset.texi (Converting a Character): Fix mbstouwcs
6589         program to compile.
6590         Patch by Martin Buchholz <martin@xemacs.org>.
6592         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
6593         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
6595 2000-12-11  Andreas Jaeger  <aj@suse.de>
6597         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
6598         kernel_sigset_t and use it.
6599         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
6601 2000-12-10  Richard Henderson  <rth@redhat.com>
6603         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
6604         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
6605         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
6607 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
6609         * sysdeps/alpha/htonl.S: Fix a typo.
6611 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
6613         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
6615 2000-12-10  Andreas Jaeger  <aj@suse.de>
6617         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
6618         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
6619         Drepper <drepper@redhat.com>.
6621 2000-12-09  Andreas Jaeger  <aj@suse.de>
6623         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
6625         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
6626         generic version.
6627         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
6629         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
6630         string.
6632         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
6633         format string.
6635         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
6636         * nscd/connections.c (handle_request): Likewise.
6637         * nscd/pwdcache.c (addpwbyname): Likewise.
6638         * nscd/grpcache.c (addgrbyname): Likewise.
6640         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
6642 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
6644         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
6646         * Makeconfig (default_cflags): Make -O2 the default for stable
6647         releases.
6649 2000-12-08  H.J. Lu  <hjl@gnu.org>
6651         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
6652         * sysdeps/ia64/fpu/s_isinf.S: This.
6653         Add a .pred.rel.mutex note to avoid false report.
6655         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
6656         * sysdeps/ia64/fpu/s_isnan.S: This.
6658         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
6659         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
6660         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
6661         * sysdeps/ia64/fpu/s_isinff.S: New file.
6662         * sysdeps/ia64/fpu/s_isinfl.S: New file.
6663         * sysdeps/ia64/fpu/s_isnanf.S: New file.
6664         * sysdeps/ia64/fpu/s_isnanl.S: New file.
6665         * sysdeps/ia64/fpu/s_finite.S: New file.
6666         * sysdeps/ia64/fpu/s_finitef.S: New file.
6667         * sysdeps/ia64/fpu/s_finitel.S: New file.
6668         * sysdeps/ia64/fpu/s_signbit.S: New file.
6669         * sysdeps/ia64/fpu/s_signbitf.S: New file.
6670         * sysdeps/ia64/fpu/s_signbitl.S: New file.
6671         * sysdeps/ia64/fpu/s_copysign.S: New file.
6672         * sysdeps/ia64/fpu/s_copysignf.S: New file.
6673         * sysdeps/ia64/fpu/s_copysignl.S: New file.
6675 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
6677         * math/libm-test.inc (main): Fix typos in messages.
6679         * string/stratcliff.c: Add test for rawmemchr.
6681 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
6683         * elf/dl-open.c (_dl_open): If objname points right after errstring,
6684         allocate it together with errstring using alloca.
6685         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
6686         to "", because it might point to local stack.
6688 2000-12-05  H.J. Lu  <hjl@gnu.org>
6690         * nss/Makefile (routines): Add getnssent and getnssent_r.
6691         * nss/nsswitch.h (__nss_setent): New internal NSS function.
6692         (__nss_endent): Likewise.
6693         (__nss_getent_r): Likewise.
6694         (__nss_getent): Likewise.
6695         * nss/getnssent_r.c: New file.
6696         * nss/getnssent.c: New file.
6697         * nss/getXXent.c (H_ERRNO_VAR): Updated.
6698         (GETFUNC_NAME): Updated to call __nss_getent ().
6699         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
6700         (STAYOPEN_TMPVAR): Updated.
6701         (STAYOPEN_VAR): Updated.
6702         (SETFUNC_NAME): Updated to call __nss_setent ().
6703         (ENDFUNC_NAME): Updated to call __nss_endent ().
6704         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
6706 2000-12-08  Andreas Jaeger  <aj@suse.de>
6708         * nscd/dbg_log.h (dbg_log): Correct attribute.
6710 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
6712         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
6713         cp + len.  Compute where from dirname.
6714         Reported by <jreiser@BitWagon.com>.
6716 2000-12-08  Richard Henderson  <rth@twiddle.net>
6718         * sysdeps/alpha/_mcount.S: Fix typo.
6719         * sysdeps/alpha/strncpy.S: Likewise.
6721         * sysdeps/alpha/alphaev6/Implies: New file.
6722         * sysdeps/alpha/alphaev67/Implies: New file.
6723         * sysdeps/alpha/alphaev67/ffs.S: New file.
6724         * sysdeps/alpha/alphaev67/ffsll.S: New file.
6725         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
6726         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
6727         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
6728         * sysdeps/alpha/rawmemchr.S: New file.
6729         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
6730         * sysdeps/alpha/strcpy.S: Likewise.
6732         From GMP 3.1.1:
6733         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
6735         From rick.gorton@alpha-processor.com:
6736         * sysdeps/alpha/alphaev6/memchr.S: New file.
6737         * sysdeps/alpha/alphaev6/memcpy.S: New file.
6738         * sysdeps/alpha/alphaev6/memset.S: New file.
6739         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
6740         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
6741         * sysdeps/alpha/alphaev67/strcat.S: New file.
6742         * sysdeps/alpha/alphaev67/strchr.S: New file.
6743         * sysdeps/alpha/alphaev67/strlen.S: New file.
6744         * sysdeps/alpha/alphaev67/strncat.S: New file.
6745         * sysdeps/alpha/htonl.S: Use a shorter sequence.
6747 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
6749         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
6750         Reported by <pspencer@fields.utoronto.ca>.
6752 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
6754         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
6755         Pointed out by Hans Boehm.
6757 2000-12-07  H.J. Lu  <hjl@gnu.org>
6759         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
6761 2000-12-07  Andreas Jaeger  <aj@suse.de>
6763         * misc/error.c: Add format attributes for __error and __error_at_line.
6765         * nscd/dbg_log.h: Add format attribute.
6767 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
6769         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
6770         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
6772 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
6774         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
6776 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
6778         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
6779         (sysdep_routines): Add uitrunc.
6780         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
6781         Patches by Michael Keezer <mkeezer@redhat.com>.
6783 2000-12-06  Roland McGrath  <roland@frob.com>
6785         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
6786         argument data, since it will be used to copy out too (for INOUT).
6787         Reported by Marcus Brinkmann <marcus@gnu.org>.
6789         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
6790         (__ioctl): Use uintptr_t instead of unsigned long int.
6792 2000-12-06  Jim Wilson  <wilson@redhat.com>
6794         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
6796 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
6798         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
6799         x.5 rounding correctly.
6801 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
6803         * stdio-common/perror.c (perror): Conditionalize code dealing with
6804         wide-oriented streams on USE_IN_LIBIO.
6806 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
6808         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
6809         as internal_function.
6811 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
6813         * sysdeps/alpha/elf/start.S (__data_start): Define.
6815 2000-12-05  H.J. Lu  <hjl@gnu.org>
6817         * nss/getXXent_r.c (setup): Change the return type to int.
6819 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
6821         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
6822         (sysdep_routines): Add restf and savef.
6823         * sysdeps/unix/sysv/aix/restf.c: New file.
6824         * sysdeps/unix/sysv/aix/savef.c: New file.
6825         Patches by Michael Keezer <mkeezer@redhat.com>.
6827         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
6828         if O_DIRECTORY is not defined.
6829         Patch by Michael Keezer <mkeezer@redhat.com>.
6831         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
6832         Patch by Michael Keezer <mkeezer@redhat.com>.
6834         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
6835         than 4 bytes in escape sequence.
6836         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6838 2000-12-05  Andreas Jaeger  <aj@suse.de>
6840         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
6841         set mips2.
6843         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
6845         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
6847         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
6848         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
6850         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
6851         internal_function.
6852         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
6853         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
6855         * sysdeps/generic/dl-cache.c: Remove declaration of
6856         _dl_sysdep_read_whole_file.
6858         * elf/dl-load.c (_dl_map_object): Remove declaration of
6859         _dl_load_cache_lookup.
6861         * sysdeps/generic/ldsodefs.h: Add declarations of
6862         _dl_load_cache_lookup, _dl_unload_cache,
6863         _dl_sysdep_read_whole_file, _dl_sysdep_start and
6864         _dl_sysdep_start_cleanup.
6866         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
6867         now.
6869         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
6870         * sysdeps/generic/dl-environ.c: Likewise.
6872         * stdio-common/printf_fp.c: Include <gmp.h> instead of
6873         <stdlib/gmp.h>.
6874         * math/atest-exp.c: Likewise.
6875         * math/atest-exp2.c: Likewise.
6876         * math/atest-sincos.c: Likewise.
6877         * stdio-common/_itoa.c: Likewise.
6878         * stdio-common/_itowa.c: Likewise.
6880         * include/gmp.h: New file with internal prototypes.
6882         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
6883         here to...
6884         * include/setjmp.h: ...here.
6886         * locale/Makefile (routines): Remove codeset_name since it's not
6887         needed anywhere.
6889         * locale/codeset_name.c: Removed.
6891 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
6893         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
6895 2000-12-05  Andreas Jaeger  <aj@suse.de>
6897         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
6899 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
6901         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
6902         available.
6904 2000-12-05  Andreas Jaeger  <aj@suse.de>
6906         * nss/test-netdb.c: Mark local functions as static to avoid
6907         warnings.
6908         (main): Use return to silence warning.
6910         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
6912         * stdio-common/test-popen.c: Mark local functions as static to
6913         avoid warnings.
6914         (main): Use return to silence warning.
6916         * stdlib/testsort.c (compare): Mark as static to avoid warning.
6918         * assert/test-assert.c: Mark local functions as static to avoid
6919         warnings.
6920         * assert/test-assert-perr.c: Likewise.
6922         * math/libm-test.inc (main): Use return to silence warnings.
6924 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
6926         * math/fenv.h: Fix typo in comment.
6928         * math/test-misc.c (main): Add a few more over and underflow tests
6929         for scalb.
6931         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
6932         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6933         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6934         * math/w_scalb.c: Don't use matherr except in SVID mode.
6935         * math/w_scalbf.c: Likewise.
6936         * math/w_scalbl.c: Likewise.
6937         * math/test-misc.c: Add test for NaN and scalbl.
6938         Reported by Fred J. Tydeman <tydeman@tybor.com>.
6940 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
6942         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
6943         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
6944         * include/libc-symbols.h (strong_alias): Define special version
6945         for HAVE_ASM_GLOBAL_DOT_NAME.
6946         (weak_alias): Likewise.
6947         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
6948         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
6949         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
6950         getutxline, pututxline, and utmpxname.
6951         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
6952         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
6953         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
6954         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
6955         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
6956         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
6957         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
6958         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
6959         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
6960         Patches by Michael Keezer <mkeezer@redhat.com>.
6962 2000-12-04  H.J. Lu  <hjl@gnu.org>
6964         * configure.in: Change --with-oldest-abi=ABI to
6965         --enable-oldest-abi=ABI.
6967 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
6969         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
6970         fwprintf instead of fprintf.
6972 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
6974         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
6975         DECIMAL_DIG definitions.
6976         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
6977         * sysdeps/generic/bits/mathdef.h: Likewise
6978         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
6979         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
6980         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
6981         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
6982         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
6983         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
6985 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
6987         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
6989         * math/atest-exp.c: Mark local functions as static to avoid warnings.
6990         * math/atest-exp2.c: Likewise.
6991         * math/atest-sincos.c: Likewise.
6993         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
6994         Reported by Fred J. Tydeman <tydeman@tybor.com>.
6996         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
6997         the handling of denormalized numbers.
6999         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
7000         numbers on x86.
7001         * sysdeps/i386/fpu/fpclassifyl.c: New file.
7003         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
7004         pseudo denormal representation of LDBL_MIN.
7006         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
7007         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
7009         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
7010         * iconvdata/jis0208.c: Likewise.
7011         * iconvdata/jis0212.c: Likewise.
7012         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7014         * math/test-misc.c (main): More tests for frexp and some for
7015         fpclassify and isnormal.
7017         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
7018         test for subnormal.
7019         Reported by Fred J. Tydeman <tydeman@tybor.com>.
7021         * math/test-misc.c (main): Add tests for frexp.
7022         Reported by Fred J. Tydeman <tydeman@tybor.com>.
7023         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
7025 2000-12-02  H.J. Lu  <hjl@gnu.org>
7027         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
7028         '\0' to wcschr.
7030 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
7032         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
7033         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7034         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7036         * sysdeps/generic/glob.c: Adjust types of several variables to
7037         avoid warnings.
7039 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
7041         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
7043 2000-11-30  Roland McGrath  <roland@frob.com>
7045         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
7046         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
7047         allow multiple instances using the same function name in one file.
7049 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
7051         * configure.in: Correct test for pserver CVS access.
7053 2000-11-28  H.J. Lu  <hjl@gnu.org>
7055         * libio/libio.h: Remove extra "#if ... #endif".
7057 2000-11-29  H.J. Lu  <hjl@gnu.org>
7059         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
7061 2000-12-01  H.J. Lu  <hjl@gnu.org>
7063         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
7064         * nss/getXXent_r.c: Likewise.
7065         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7067 2000-11-30  H.J. Lu  <hjl@gnu.org>
7069         * scripts/abi-versions.awk (oldest_abi): New variable.
7070         Handle the oldest ABI supported.
7072         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
7073         for scripts/abi-versions.awk.
7075         * configure.in: Add --with-oldest-abi=ABI.
7076         * configure: Rebuild.
7078         * config.make.in (oldest-abi): New.
7080         * config.h.in (GLIBC_OLDEST_ABI): New.
7082         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
7084 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
7086         * locale/setlocale.c (setname): Free for all categories, not just
7087         LC_ALL.
7088         (setlocale): Store a copy of string passed by user, not the string
7089         itself.
7091 2000-11-30  Roland McGrath  <roland@frob.com>
7093         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
7094         rather than _hurd_fd_subinit, so it happens after it's safe to use
7095         libc facilities like malloc.
7097 2000-11-28  Andreas Jaeger  <aj@suse.de>
7099         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
7100         declaration, adjust declaration of __syscall_getdents to match
7101         kernel.
7103 2000-11-29  H.J. Lu  <hjl@gnu.org>
7105         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
7107 2000-11-29  Andreas Jaeger  <aj@suse.de>
7109         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
7111 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
7113         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
7114         * dlfcn/defaultmod2.c: Likewise.
7115         * dlfcn/dlopen.c: Likewise.
7116         * dlfcn/dlopenold.c: Likewise.
7117         * dlfcn/failtestmod.c: Likewise.
7118         * dlfcn/glreflib1.c: Likewise.
7119         * dlfcn/glreflib2.c: Likewise.
7120         * dlfcn/eval.c: Likewise.  Add attributes.
7122         * ctype/ctype-extn.c: Define isblank and not __isblank.
7124         * time/strftime.c: Add const where necessary to avoid warnings.
7125         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
7127 2000-11-22  Paul Eggert  <eggert@twinsun.com>
7129         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
7130         size of (size_t) -1; it's not portable.
7132 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
7134         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
7135         crappy i486 FPU.
7136         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
7138 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
7140         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
7142         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
7143         _mcount is required by profiled binaries.
7145         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
7146         * sysdeps/ia64/machine-gmon.h: ...here.
7148 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
7150         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
7151         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
7152         and ibm1129.h.
7153         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
7154         IBM1129.
7155         * iconvdata/ibm922.c: New file.
7156         * iconvdata/ibm922.h: New file.
7157         * iconvdata/ibm1124.c: New file.
7158         * iconvdata/ibm1124.h: New file.
7159         * iconvdata/ibm1129.c: New file.
7160         * iconvdata/ibm1129.h: New file.
7161         * iconvdata/testdata/IBM922: New file.
7162         * iconvdata/testdata/IBM922..UTF8: New file.
7163         * iconvdata/testdata/IBM1124: New file.
7164         * iconvdata/testdata/IBM1124..UTF8: New file.
7165         * iconvdata/testdata/IBM1129: New file.
7166         * iconvdata/testdata/IBM1129..UTF8: New file.
7168 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
7170         * catgets/gencat.c (normalize_line): Take extra parameter with escape
7171         character.  Change callers.
7172         (open_conversion): Determine mapping of 0x5c as wchar_t value.
7173         * catgets/Makefile: Add rules to build and run test-gencat.
7174         * catgets/sample.SJIS: New file.
7175         * catgets/test-gencat.c: New file.
7176         * catgets/test-gencat.sh: New file.
7177         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7179 2000-11-28  Andreas Jaeger  <aj@suse.de>
7181         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
7182         Linux version.
7184 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
7186         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
7188 2000-11-28  Andreas Jaeger  <aj@suse.de>
7190         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
7191         __flexarr.
7192         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
7193         Likewise.
7195 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
7197         * misc/getusershell.c: Make strings in okshells array const.
7198         * misc/regexp.c: Add const to cast to avoid warnings.
7199         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
7200         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
7201         __setresuid.
7202         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
7203         setresgid.
7204         * misc/error.c: Add prototypes for __error and __error_at_line.
7205         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
7206         statement to avoid warning.
7207         * test-skeleton.c: Mark timeout_handler with noreturn.
7208         * iconv/skeleton.c (get16u): Add const to cast.
7209         (get32u): Likewise.
7210         * iconvdata/gb18030.c: Likewise.
7211         * iconvdata/iso-2022-cn-ext.c: Likewise.
7212         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
7213         * iconvdata/big5.c: Likewise.
7214         * iconvdata/big5hkscs.c: Likewise.
7215         * iconvdata/iso_6937.c: Likewise.
7216         * iconvdata/iso_6937-2.c: Likewise.
7217         * iconvdata/t.61.c: Likewise.
7218         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
7219         * iconvdata/unicode.c: Likewise.
7220         * iconvdata/utf-16.c: Likewise.
7221         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
7222         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
7223         with little code shuffling.
7225         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
7226         the problems introduced when the user selects -O3.
7228         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
7229         * misc/sys/cdefs.h: Define __flexarr.
7230         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
7232         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
7233         * iconv/skeleton.c: Likewise.
7234         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
7235         * iconv/loop.c (get16): Add const to cast.
7236         (get32): Likewise.
7238 2000-11-27  Andreas Jaeger  <aj@suse.de>
7240         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
7241         to avoid warning.
7242         * login/programs/utmpdump.c (print_entry): Likewise.
7244 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
7246         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
7247         in a single asm as they may be used to access other stored
7248         registers.
7249         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
7251 2000-11-27  Andreas Jaeger  <aj@suse.de>
7253         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
7254         * rt/tst-aio64.c: Likewise.
7256 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
7258         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
7259         for gencat run.
7260         (libc.cat): Likewise.
7261         * catgets/gencat.c: Implement handling of message catalogs encoded
7262         with stateful character sets.
7263         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7265 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
7267         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
7269         * inet/getnameinfo.c: Adjust casts to avoid warnings.
7270         * inet/rcmd.c: Likewise.
7271         * inet/ruserpass.c: Likewise.
7272         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
7273         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7274         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
7275         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
7276         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
7277         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
7278         * include/aliases.h: Add prototypes for internal __getalias* functions.
7279         * include/netdb.h: Add prototypes for __old_gethostent_r,
7280         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
7281         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
7282         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
7283         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
7284         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
7285         __old_getrpcbynumber_r, __old_getrpcent_r.
7287         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
7288         __getrpcent_r prototypes.
7290 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
7292         * string/strcoll.c: Add casts to avoid warnings.
7293         * string/strnlen.c: Likewise.
7294         * string/strxfrm.c: Likewise.
7295         * sysdeps/generic/_strerror.c: Likewise.
7296         * sysdeps/generic/memrchr.c: Likewise.
7297         * sysdeps/generic/strcasestr.c: Likewise.
7298         * sysdeps/generic/strstr.c: Likewise.
7300         * locale/weight.h (findidx): Add const to cast to avoid warning.
7302         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
7303         * elf/loadtest.c: Likewise.
7304         * elf/multiload.c: Likewise.
7305         * elf/next.c: Likewise.
7306         * elf/nodelete.c: Likewise.
7307         * elf/noload.c: Likewise.
7308         * elf/order.c: Likewise.
7309         * elf/origtest.c: Likewise.
7310         * elf/preloadtest.c: Likewise.
7311         * elf/restest1.c: Likewise.
7313         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
7314         parameter of asm must be in %ecx.
7316         * string/tester.c: Mark test functions as static to avoid warnings.
7318         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
7319         preserve value over different gconv-modules files.
7321 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
7323         * locale/findlocale.c: Add casts to avoid warnings.
7324         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
7325         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
7326         to avoid warnings.
7327         * misc/tsearch.c (const_node): New type.
7328         (trecurse): Correct casts to avoid warnings.
7329         (__twalk): Likewise.
7330         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
7331         LONG_BIT.
7333         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
7335         * test-skeleton.c: Mark local functions as static to avoid warnings.
7337 2000-11-23  H.J. Lu  <hjl@gnu.org>
7339         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
7340         support the background job.
7341         Fix a typo.
7343 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
7345         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
7346         has same names but lower cost.
7348 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
7350         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
7351         which never occur during bootstrap.
7352         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7354 2000-11-23  Andreas Jaeger  <aj@suse.de>
7356         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
7358         * nss/Versions: Remove _nss_files_getipnodebyname_r.
7360         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
7362 2000-11-18  Martin Buchholz  <martin@xemacs.org>
7364         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
7365         (called++) return;'
7367 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
7369         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
7371         * csu/abi-note.S: Correct comment for operating system number.
7373 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
7375         * Versions.def: Add GLIBC_2.2.1 for glibc.
7377 2000-11-22  Andreas Schwab  <schwab@suse.de>
7379         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
7380         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
7382 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
7384         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
7385         absolute time for pthread_cond_timedwait call.
7386         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
7388         * rt/Makefile (tests): Add tst-aio6.
7389         * rt/tst-aio6.c: New file.
7391 2000-11-23  Andreas Jaeger  <aj@suse.de>
7393         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
7395 2000-11-22  Andreas Jaeger  <aj@suse.de>
7397         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
7399 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
7401         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
7403 2000-11-21  Andreas Schwab  <schwab@suse.de>
7405         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
7406         * sysdeps/arm/setjmp.S: Likewise.
7407         * sysdeps/arm/fpu/setjmp.S: Likewise.
7408         * sysdeps/i386/setjmp.S: Likewise.
7409         * sysdeps/i386/elf/setjmp.S: Likewise.
7410         * sysdeps/s390/setjmp.S: Likewise.
7411         * sysdeps/s390/elf/setjmp.S: Likewise.
7412         * sysdeps/sh/sh3/setjmp.S: Likewise.
7413         * sysdeps/sh/sh4/setjmp.S: Likewise.
7414         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
7415         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7416         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
7417         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
7419 2000-11-21  Andreas Jaeger  <aj@suse.de>
7421         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
7422         NORETURN, fix parameter list.
7424         * string/bug-strncat1.c (main): Fix typo.
7425         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
7427 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
7429         * configure.in: Add --enable-all-warnings.
7430         * config.make.in (all-warnings): New variable.
7431         * Makeconfig (+gccwarn): Define with many more warnings if
7432         all-warnings is yes.
7434 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
7436         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
7437         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
7438         * malloc/tst-valloc.c (main): Cast valloc return value to long.
7439         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
7440         * math/test-fpucw.c (main): Use %lx in format string, cast
7441         control words to long.
7442         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
7443         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
7444         large that it is unsigned warning.
7446         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
7447         it to long on sparc64.
7449 2000-11-20  Andreas Jaeger  <aj@suse.de>
7451         * nscd/nscd.h (termination_handler): Add noreturn attribute.
7452         (receiv_print_stats): Likewise.
7454         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
7456 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
7458         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
7460         * csu/gmon-start.c: Always have prototype for __gmon_start.
7461         * csu/version.c: Add prototypes for __libc_print_version and
7462         __libc_main.
7463         * iconv/gconv.c: Include gconv_int.h and gconv.h.
7464         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
7465         and __to_name.
7466         * iconv/gconv_builtin.h: Add ASCII module definitions.
7467         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
7468         (add_module): Add cast to avoid warning.  Rework construction of
7469         strings for new module.
7470         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
7471         (derivation_compare): Likewise.
7472         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
7473         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
7474         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
7475         (struct gconv_alias): Remove const from fromname and toname.
7476         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
7477         for loop functions.
7478         (internal_ucs4_loop): Use correct const-ness.
7479         (ucs4_internal_loop): Likewise.
7480         (internal_ucs4le_loop): Likewise.
7481         (ucs4le_internal_loop_single): Likewise.
7482         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
7483         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
7484         assignments appropriately.
7485         (struct known_trans): Remove const from fname.
7486         (trans_compare): Make s1 and s2 const.
7487         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
7488         avoid warning.
7489         * iconv/skeleton.c: Remove cast in calls of loop functions.
7490         * iconvdata/gconv-modules: Remove US-ASCII definitions.
7491         * iconvdata/iso646.c: Remove US_ASCII support.
7492         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
7493         * include/unistd.h: Add __libc_check_standard_fds prototype.
7494         * string/bits/string2.h (__mempcpy_args): Add const to casts.
7495         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
7496         _fini.
7497         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
7498         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
7499         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
7500         warning.
7501         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
7502         __libc_init_first and _dl_start.
7503         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
7504         (DCIGETTEXT): Make domaindata variable const.
7505         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
7506         to avoid warning.
7508 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
7510         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
7512         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
7513         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
7514         __unused? members.
7516         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
7517         value defined in /usr/include/asm-mips/fcntl.h.
7519 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
7521         * stdio-common/Makefile (tests): Add test-vfprintf.
7522         (test-vfprintf-ENV): New variable.
7523         * stdio-common/test-vfprintf.c: New file.
7525         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
7527         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
7528         (tst-mbrtowc-ENV): New variable.
7529         (tst-wcrtomb-ENV): New variable.
7530         * wcsmbs/tst-mbrtowc.c: New file.
7531         * wcsmbs/tst-wcrtomb.c: New file.
7533 2000-11-16  Andreas Jaeger  <aj@suse.de>
7535         * manual/install.texi (Tools for Compilation): Update
7536         documentation for GCC 2.95.2.
7538 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
7540         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
7541         if IPv4 and IPv6 requests timed out.
7543 2000-11-18  Akim Demaille  <akim@epita.fr>
7545         * malloc/obstack.h: Formatting changes.
7546         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
7547         prevents type checking.
7548         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
7549         cast the value to (void *): assigning a `foo *' to a `void *'
7550         variable is valid.
7551         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
7553 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
7555         * scripts/config.guess: Update from upstream maintainer.
7556         * scripts/config.sub: Likewise.
7558 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
7560         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
7561         * libio/freopen64.c (freopen64): Likewise.
7562         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7564         * libio/Makefile: Add rules to build and run test-freopen.
7565         * libio/test-freopen.c: New file.
7566         * libio/test-freopen.sh: New file.
7568 2000-11-15  H.J. Lu  <hjl@gnu.org>
7570         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
7571         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
7572         (DL_DT_FINI_ADDRESS): Likewise.
7574         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
7575         return type to ElfW(Addr).
7576         (_dl_function_address): New prototype.
7577         (DL_FUNCTION_ADDRESS): Defined.
7578         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
7579         (DL_DT_FINI_ADDRESS): Likewise.
7581         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
7583         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
7584         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
7586         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
7587         (_dl_function_address): This.
7589         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
7590         function pointer for DT_FINI.
7591         * elf/dl-close.c (_dl_close): Likewise.
7593         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
7594         function pointer for DT_INIT.
7596 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
7598         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
7599         end of wexpbuf buffer.
7601 2000-11-16  Andreas Jaeger  <aj@suse.de>
7603         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
7604         definition of F_GETLK, F_SETLK, F_SETLKW.
7606 2000-11-16  Andreas Jaeger  <aj@suse.de>
7608         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
7609         it's not defined.
7611 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
7613         * dlfcn/default.c (main): Add test for dladdr of main returning
7614         argv[0] in dli_fname field.
7616 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
7618         * Makeconfig (run-program-prefix): Move test-static test into the
7619         variable.
7621         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
7622         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
7623         schedule instructions.
7624         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
7625         schedule instructions, fix a bug in copying auxiliary data.
7627 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
7629         * manual/startup.texi (Program Arguments): Fix type of main's envp
7630         parameter.
7631         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
7633         * iconvdata/gconv-modules: Add CP950 alias.
7635 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
7637         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
7638         syscall-list.h goal.
7639         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
7641 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
7643         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
7645         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
7646         output of program.
7648         * intl/tst-gettext2.c: Set C locale if setting other locale
7649         failed.  Use gettext() not _().
7651         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
7652         successfully loaded a new locale.
7654 2000-11-13  Andreas Jaeger  <aj@suse.de>
7656         * configure.in: Require gcc 2.95 or newer.
7658 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
7660         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
7661         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
7663 2000-11-11  Jim Meyering  <meyering@lucent.com>
7665         * string/strndup.c (strndup): Cast return value to `char *'.
7667 2000-11-15  Jim Meyering  <meyering@ascend.com>
7669         * sysdeps/generic/memchr.c: Remove some useless parentheses.
7670         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
7671         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
7672         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
7673         Also #undef __memchr.
7674         Use `weak_alias' only if it's defined.
7676 2000-11-10  H.J. Lu  <hjl@gnu.org>
7678         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
7680 2000-11-15  Andreas Jaeger  <aj@suse.de>
7682         * elf/chroot_canon.c: Include <stdint.h>.
7684         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
7685         (print_entry): Likewise.
7686         (add_to_cache): Likewise.
7688         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
7690         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
7691         (path_hwcap): Likewise.
7692         (search_dir): Likewise.
7694         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
7696         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
7698         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
7699         (_dl_platform_string): New.
7700         (_DL_HWCAP_PLATFORM): New.
7701         (_dl_string_platform): New.
7702         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
7704         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
7705         (_dl_string_platform): New.
7706         (_DL_HWCAP_PLATFORM): New.
7707         (_dl_platform_string): New.
7709         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
7710         recognition.
7711         (_DL_HWCAP_COUNT): New.
7712         (_dl_string_platform): New.
7713         (_DL_HWCAP_PLATFORM): New.
7714         (_dl_platform_string): New.
7716 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
7718         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
7720 2000-11-14  Andreas Jaeger  <aj@suse.de>
7722         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
7724 2000-11-13  Roland McGrath  <roland@frob.com>
7726         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
7728 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
7730         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
7731         underrun and make sure the result is null terminated even if there
7732         is no trailing newline.
7734 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
7736         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7738 2000-11-10  H.J. Lu  <hjl@gnu.org>
7740         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
7742 2000-11-10  Andreas Jaeger  <aj@suse.de>
7744         * elf/ldconfig.c (create_links): Fix alloca calculation.
7745         Patch by Ben Collins <bcollins@debian.org>.
7747 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
7749         * inet/getnameinfo.c (getnameinfo): Use correct destination
7750         parameter for if_indextoname.
7751         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
7753 2000-11-09  H.J. Lu  <hjl@gnu.org>
7755         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
7756         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
7757         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
7758         xdr_keystatus.
7760         * time/Versions (GLIBC_2.1): Move getitimer to...
7761         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
7763 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
7765         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
7766         "make install", to work around a binary incompatibility between
7767         glibc 2.1 and glibc 2.2 gconv modules.
7769 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
7771         * intl/locale.alias: Add thai.
7772         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
7774 2000-11-07  Akim Demaille  <akim@epita.fr>
7776         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
7777         argument `data' for consistency with the prototypes.
7778         Qualify it `const'.
7779         (obstack_copy, obstack_copy0): Rename the second argument as
7780         `address' for consistency.  Qualify it `const'.
7781         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
7782         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
7783         `const' their input argument (`data' or `address').
7784         Adjust the corresponding macros to include `const' in casts.
7786 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7788         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
7789         target family.
7791 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7793         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
7794         socket creation.
7796 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7798         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
7799         ai_protocol by internal table if service was not given.
7801 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7803         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
7804         numerical port was specified with protocol without socktype.
7806 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7808         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
7810 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7812         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
7814 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7816         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
7817         sin6_scope_id field.
7819 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7821         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
7823 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7825         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
7827 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7829         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
7830         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
7832 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
7834         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
7835         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
7837 2000-11-09  H.J. Lu  <hjl@gnu.org>
7839         * io/Versions (GLIBC_2.1.1): Remove lockf64.
7842 See ChangeLog.11 for earlier changes.