Update.
[platform/upstream/glibc.git] / ChangeLog
1 2001-08-03  Ulrich Drepper  <drepper@redhat.com>
2
3         * iconvdata/8bit-gap.c: Correctly use __builtin_expect.
4         * iconvdata/ansi_x3.110.c: Likewise.
5         * iconvdata/big5.c: Likewise.
6         * iconvdata/euc-cn.c: Likewise.
7         * iconvdata/euc-jp.c: Likewise.
8         * iconvdata/euc-kr.c: Likewise.
9         * iconvdata/gb18030.c: Likewise.
10         * iconvdata/gbbig5.c: Likewise.
11         * iconvdata/gbgbk.c: Likewise.
12         * iconvdata/gbk.c: Likewise.
13         * iconvdata/ibm930.c: Likewise.
14         * iconvdata/ibm932.c: Likewise.
15         * iconvdata/ibm933.c: Likewise.
16         * iconvdata/ibm935.c: Likewise.
17         * iconvdata/ibm939.c: Likewise.
18         * iconvdata/ibm943.c: Likewise.
19         * iconvdata/iso-2022-cn.c: Likewise.
20         * iconvdata/iso-2022-kr.c: Likewise.
21         * iconvdata/iso646.c: Likewise.
22         * iconvdata/iso8859-1.c: Likewise.
23         * iconvdata/iso_6937-2.c: Likewise.
24         * iconvdata/iso_6937.c: Likewise.
25         * iconvdata/johab.c: Likewise.
26         * iconvdata/sjis.c: Likewise.
27         * iconvdata/t.61.c: Likewise.
28         * iconvdata/uhc.c: Likewise.
29         * iconvdata/unicode.c: Likewise.
30         * iconvdata/utf-16.c: Likewise.
31         * iconv/gconv_simple.c: Likewise.   Convert assert() in real error
32         handling.
33
34         * iconvdata/Makefile: Add rules to build KOI8-T module.
35         * iconvdata/koi8-t.c: New file.
36         * iconvdata/gconv-modules: Add entries for KOI8-T.
37         * iconvdata/tst-tables.sh: Add KOI8-T.
38
39         * locale/iso-639.def: Correct Javanese 2 letter code.  Add Tonga.
40         Add Tigrinya.
41
42 2001-08-02  Ulrich Drepper  <drepper@redhat.com>
43
44         * locale/programs/ld-collate.c (collate_read): Handle collating-element
45         and reorder_after following copy statement correctly.
46
47 2001-08-02  Andreas Jaeger  <aj@suse.de>
48
49         * libio/bits/stdio.h (printf): Remove printf optimization since
50         GCC 3.0 can optimize printf.
51
52 2001-08-02  Ulrich Weigand  <uweigand@de.ibm.com>
53
54         * sysdeps/s390/s390-32/memcpy.S: Fixed incorrect use of
55         mvcle introduced by 2001-07-12 change.
56         * sysdeps/s390/s390-64/memcpy.S: Likewise.
57
58 2001-07-31  Ulrich Drepper  <drepper@redhat.com>
59
60         * sysdeps/unix/sysv/linux/i386/getcontext.S: Don't touch the %gs
61         register so that contexts can be used in different threads.
62         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
63         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
64
65         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Correct
66         test for cmsg struct size.
67         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Likewise.
68
69         * sysdeps/unix/sysv/linux/i386/makecontext.S: Remove unnecessary
70         initializations.
71
72         * libio/iopopen.c: Add lock for proc_file_chain access.
73         * libio/oldiopopen.c: Add lock for old_proc_file_chain access.
74         Reported by Padraig Brady <Padraig@linux.ie>.
75
76 2001-07-31  Andreas Jaeger  <aj@suse.de>
77
78         * sysdeps/unix/sysv/linux/sparc/bits/poll.h (NPOLLFILE): Removed.
79         * sysdeps/unix/sysv/linux/mips/bits/poll.h (NPOLLFILE): Removed.
80         * sysdeps/unix/sysv/linux/m68k/bits/poll.h (NPOLLFILE): Removed.
81         * sysdeps/unix/sysv/linux/bits/poll.h (NPOLLFILE): Removed.
82         * sysdeps/generic/bits/poll.h (NPOLLFILE): Removed.
83
84         * libio/genops.c (flush_cleanup): Guard list_all_lock to allow
85         compilation without threads.
86
87 2001-07-30  Ulrich Drepper  <drepper@redhat.com>
88
89         * po/fr.po: Update from translation team.
90
91 2001-07-30  Andreas Jaeger  <aj@suse.de>
92
93         * sysdeps/ieee754/ldbl-128/e_atanhl.c: New file, contributed by
94         Stephen L Moshier.
95
96         * posix/regex.c: Declare wcs functions only if compiling with
97         MBS_SUPPORT.
98         Don't use #elif for traditional C.
99
100 2001-07-29  Mark Kettenis  <kettenis@gnu.org>
101
102         * sysdeps/mach/hurd/recvmsg.c: New file.
103         * sysdeps/mach/hurd/sendmsg.c: New file.
104
105 2001-07-27  Ulrich Drepper  <drepper@redhat.com>
106
107         * version.h (VERSION): Bump to 2.2.4.
108
109         * sysdeps/mips/Dist: Remove non-existing files.
110         * sysdeps/mips/mips64/Dist: Likewise.
111         * sysdeps/mips/mipsel/Dist: Removed.
112         * iconv/Makefile (distribute): Add strtab.c and iconvconfig.h.
113         * sysdeps/generic/Dist: Add bits/link.h.
114         * sysdeps/unix/sysv/linux/m68k/Dist: Add sys/procfs.h.
115         * sysdeps/unix/sysv/aix/Dist: Add dl-support.c, dl-addr.c, and
116         dl-error.c.
117         * sysdeps/ia64/Dist: Add bits/link.h.
118
119         * libio/vasprintf.c (_IO_vasprintf): Don't copy uninitialized byte
120         from stream buffer to result buffer.
121         Reported by Michael Meeks <michael@ximian.com>.
122
123         * libio/Makefile: Add rules to check output of tst-fopenloc and
124         for memory leaks.
125         * libio/tst-fopenloc.c: New file.
126
127         * iconv/gconv_cache.c (__gconv_compare_alias_cache): New function.
128         * iconv/gconv_int.h: Add prototype for __gconv_compare_alias_cache.
129         * iconv/gconv_charset.h: Replace __gconv_lookup_alias prototype with
130         __gconv_compare_alias prototype.
131         * iconv/gconv_db.c (__gconv_lookup_alias): Removed.
132         (__gconv_compare_alias): New function.
133         * locale/findlocale.c (_nl_find_locale): Use __gconv_compare_alias
134         instead of calling __gconv_lookup_alias twice and compare here.
135
136 2001-07-26  Mark Kettenis  <kettenis@gnu.org>
137
138         * hurd/hurdsig.c (_hurd_internal_post_signal): Fix handling of
139         SA_RESETHAND and SA_NODEFER.
140
141 2001-07-27  Ulrich Drepper  <drepper@redhat.com>
142
143         * libio/fileops.c (_IO_new_file_fopen): Correctly locate ccs=
144         substring.  Don't handle ccs= if no descriptor was allocated.
145         Normalize codeset name before calling __wcsmbs_named_conv.
146         Initialize transliteration elements.  Free step data structure.
147         * libio/iofclose.c (_IO_new_fclose): Correct freeing of the step data.
148         * libio/iofwide.c (__libio_translit): Renamed from libio_translit
149         and made public.  Various little cleanup changes.
150         * wcsmbs/wcsmbsload.h (struct gconv_fcts): Add towc_nsteps and
151         tomb_nsteps member.
152         * wcsmbs/wcsmbsload.c: Add some casts to avoid warnings.
153         (__wcsmbs_gconv_fcts): Initialize towc_nsteps and tomb_nsteps member.
154         (getfct): Take additional parameter with pointer to variable where the
155         number of steps is stored in.  Disable code which allows to use more
156         than one step for now.  Adjust all callers.
157         (free_mem): New function.  Frees data associated with currently
158         selected converters.
159
160         * malloc/mtrace.pl: Extract addresses from DSOs.
161
162 2001-07-26  Ulrich Drepper  <drepper@redhat.com>
163
164         * malloc/mcheck.c (checkhdr): Disable mcheck before reporting an
165         error.  Don't run any tests if mcheck is disabled.
166
167         * elf/dl-support.c (_dl_important_hwcaps): Avoid using malloc
168         early in the program.
169
170 2001-07-27  Andreas Jaeger  <aj@suse.de>
171
172         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h (SC_GPRS): Fix
173         value following change from 2001-05-30.
174
175         * sysdeps/s390/s390-64/bits/setjmp.h (_JMPBUF_UNWINDS): Follow
176         rename change from 2001-07-12 for __jmp_buf.
177         Patches by Ulrich Weigand <Ulrich.Weigand@de.ibm.com>.
178
179 2001-07-26  Roland McGrath  <roland@frob.com>
180
181         * sysdeps/generic/bits/termios.h (EXTA, EXTB): Make these conditional
182         on __USE_MISC rather than __USE_BSD.
183         (B57600, B115200, B230400, B460800, B500000, B576000, B921600,
184         B1000000, B1152000, B1500000, B2000000, B2500000, B3000000,
185         B3500000, B4000000): New macros.
186         * sysdeps/generic/tcsetattr.c (bad_speed): Accept those values.
187         * termios/cfsetspeed.c (speeds): Likewise.
188
189 2001-07-26  kaz Kojima  <kkojima@rr.iij4u.or.jp>
190
191         * sysdeps/sh/dl-machine.h (elf_machine_load_address): Don't use
192         multi-line strings.
193         (FUN_ADDR, FGR_SAVE, ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
194         (elf_machine_rela): Handle unaligned relocation.
195
196 2001-06-07  David Mosberger  <davidm@hpl.hp.com>
197
198         * sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Update call to
199         __ia64_make_fptr() for new interface.
200         (_dl_function_address): Remove.
201
202         * sysdeps/ia64/dl-machine.h (IA64_BOOT_FPTR_TABLE_LEN): Rename
203         from IA64_BOOT_FPTR_SIZE and reduce its value from 256 to 200.
204         (struct ia64_fdesc): Rename from struct ia64_fptr and drop "next"
205         pointer.  Rename member "func" to "ip".
206         (struct ia64_fdesc_table): New type.
207         (__ia64_make_fptr): Change prototype.
208         (__ia64_init_bootstrap_fdesc_table): New function.
209         (ELF_MACHINE_BEFORE_RTLD_RELOC): New macro.
210         (__boot_ldso_fptr): Removed.
211         (__fptr_next): Removed.
212         (__fptr_root): Removed.
213         (__fptr_count): Removed.
214         (TRAMPOLINE_TEMPLATE): Fix typo in comment.  Don't use multi-line
215         strings to avoid warning from gcc3.
216         (RTLD_START): Don't use multi-line strings.
217         (ELF_MACHINE_START_ADDRESS): Use DL_STATIC_FUNCTION_ADDRESS.
218         (elf_machine_fixup_plt): Update the code entry point in the
219         function descriptor through a "volatile" pointer to ensure proper
220         write ordering.
221         (elf_machine_rela): Simplify handling of FPTR relocs: always call
222         __ia64_make_fptr().
223
224         * sysdeps/ia64/dl-lookupcfg.h (DL_AUTO_FUNCTION_ADDRESS): New macro.
225         (DL_STATIC_FUNCTION_ADDRESS): Likewise.
226         (DL_DT_INIT_ADDRESS): Use DL_AUTO_FUNCTION_ADDRESS.
227         (DL_DT_FINI_ADDRESS): Likewise.
228
229         * sysdeps/ia64/dl-fptr.c: Rewrite for better scalability and to
230         avoid deadlocks.
231
232         * include/link.h: Add member machine specific "l_mach" member to
233         link_map.
234
235         * sysdeps/generic/bits/link.h: New file.
236         * sysdeps/ia64/bits/link.h: Likewise.
237
238         * elf/rtld.c (_dl_start): Fix typo in comment.
239         (_dl_start_final): Copy new "l_mach" member from temporary to
240         final bootstrap map.
241
242 2001-07-25  Ulrich Drepper  <drepper@redhat.com>
243
244         * csu/gmon-start.c: Use ENTRY_POINT_DECL if defined instead of a
245         declaration using ENTRY_POINT.
246         * sysdeps/ia64/elf/entry.h (ENTRY_POINT_DECL): New definition.
247
248 2001-07-25  H.J. Lu  <hjl@gnu.org>
249
250         * csu/gmon-start.c: Include <entry.h>
251         (_start): Replaced with ENTRY_POINT.
252
253 2001-07-25  Mark Kettenis  <kettenis@gnu.org>
254
255         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: New file.
256
257 2001-07-25  Ulrich Drepper  <drepper@redhat.com>
258
259         * iconv/iconvconfig.c (main): Don't write an output file if we
260         have seen an error.
261         (write_output): Don't overwrite old cache file until we know we
262         have a new one.
263
264         * iconv/Makefile (install-sbin): Add iconvconfig.
265
266 2001-07-25  Jakub Jelinek  <jakub@redhat.com>
267
268         * elf/Makefile (routines): Add dl-iteratephdr and
269         dl-iteratephdr-static.
270         (elide-routines.os): Add dl-iteratephdr-static.
271         * elf/dl-iteratephdr.c: New file.
272         * elf/link.h (struct dl_phdr_info): New definition.
273         (dl_iterate_phdr): New prototype.
274         * elf/Versions (dl_iterate_phdr): Add at GLIBC_2.2.4.
275         * include/link.h (struct dl_phdr_info): New definition.
276         (dl_iterate_phdr, __dl_iterate_phdr): New prototypes.
277         * sysdeps/generic/dl-iteratephdr-static.c: New file.
278         * sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: New file.
279
280 2001-07-24  Igor Khavkine  <i_khavki@alcor.concordia.ca>
281
282         * hurd/hurdsig.c (_hurdsig_init): Fix incorrect initialization
283         of pending signals.
284
285 2001-06-22  Jakub Jelinek  <jakub@redhat.com>
286
287         * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
288         gaps below main executable.
289
290 2001-07-22  Bruno Haible  <haible@clisp.cons.org>
291
292         * intl/libintl.h (ngettext, dngettext, dcngettext): Use both msgid1
293         and msgid2 for printf format argument checking.
294
295 2001-07-24  Ulrich Drepper  <drepper@redhat.com>
296
297         * iconv/gconv_cache.c (find_module): Don't allocate room for the
298         filename.  Use alloca, we don't need it beyond this function.
299         (__gconv_release_cache): New function.
300         * iconv/gconv_db.c (__gconv_close_transform): Call
301         __gconv_release_cache after the steps are handled.
302         * iconv/gconv_dl.c (__gconv_find_shlib): Allocate file name in the
303         record as well.
304         * iconv/gconv_int.h: Add prototype for __gconv_release_cache.
305
306         * iconv/gconv_cache.c (__gconv_lookup_cache): Catch one more
307         boundary case and reject it.
308
309 2001-07-24  Andreas Jaeger  <aj@suse.de>
310
311         * manual/examples/longopt.c (main): Fix which options take arguments.
312
313 2001-07-24  Ulrich Drepper  <drepper@redhat.com>
314
315         * iconvdata/Makefile: Add dependencies for tst-loading test.
316
317 2001-07-24  Andreas Jaeger  <aj@suse.de>
318
319         * iconv/iconvconfig.c (name_insert): Make static to avoid warning.
320
321 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
322
323         * locale/programs/locale.c (write_locales): Disable implicit
324         locking for the stream.  Use feof_unlocked instead of feof.
325
326         * sysdeps/unix/sysv/linux/i386/makecontext.S: Initialize %fs, %gs,
327         and floating-point status as well.
328
329         * libio/iofclose.c (_IO_new_fclose): Unlink descriptor first to
330         avoid deadlock.
331         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
332         * libio/genops.c (_IO_un_link): Get stream lock since it's not
333         always done in the caller.
334         (_IO_link_in): Likewise.
335
336         * libio/genops.c (_IO_list_all_stamp): New variable.
337         (_IO_un_link): Bump _IO_list_all_stamp after removing from list.
338         (_IO_link): Likewise for insertion.
339         (flush_cleanup): New function.
340         (_IO_flush_all): Get list_all_lock and all individual locks for the
341         streams.  Detect and handle changes to the _IO_list_all list.
342         (_IO_flush_all_linebuffered): Likewise.
343         * sysdeps/generic/bits/stdio-lock.h: Define
344         _IO_cleanup_region_start_noarg.
345         * sysdeps/mach/hurd/bits/stdio-lock.c: Likewise.
346
347         * stdio-common/printf.h: Fix typo in comment.
348
349         * iconv/gconv_cache.c (__gconv_lookup_cache): Handle encoding from
350         and to INTERNAL.
351         * iconv/iconvconfig.c: Create a special record for the INTERNAL
352         encoding name in the output file.
353
354 2001-07-23  Jakub Jelinek  <jakub@redhat.com>
355
356         * sunrpc/svc_tcp.c (svctcp_rendezvous_abort): New function.
357         (svctcp_rendezvous_op): Use it.
358         * sunrpc/svc_unix.c (svcunix_rendezvous_abort): New function.
359         (svcunix_rendezvous_op): Use it.
360
361 2001-07-23  Andreas Schwab  <schwab@suse.de>
362
363         * math/Makefile (CPPFLAGS-test-ifloat.c, CPPFLAGS-test-idouble.c,
364         CPPFLAGS-test-ildoubl.c): Renamed from CFLAGS-*.
365         (math-CPPFLAGS): Set this instead of CPPFLAGS.
366
367 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
368
369         * elf/elf.h: Add more definitions from Sun's latest version.
370
371 2001-07-23  Stephen L Moshier  <moshier@mediaone.net>
372
373         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Return proper
374         sign for 0 input and set divide by zero exception for -1 input.
375         Return argument if NaN or infinity.
376
377 2001-07-23  Andreas Jaeger  <aj@suse.de>
378
379         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add some deltas.
380
381 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
382
383         * iconv/gconv_cache.c (__gconv_lookup_cache): Select correct
384         module for conversion direction.
385
386 2001-07-23  Stephen L Moshier  <moshier@mediaone.net>
387
388         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Return proper
389         sign for 0 input.  Return NaN with no exception for NaN input.
390
391 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
392
393         * iconv/gconv_builtin.h: ISO-106464/UTF-8/ transformation must
394         really be an alias.
395
396 2001-07-23  Andreas Jaeger  <aj@suse.de>
397
398         * iconv/iconvconfig.c: Include <sys/cdefs.h> and use
399         __attribute_malloc__ for older GCC versions.
400         * iconv/strtab.c: Likewise.
401         Add prototypes to avoid warnings.
402
403 2001-07-22  Roland McGrath  <roland@frob.com>
404
405         * hurd/hurdsig.c (_hurd_internal_post_signal): Support SA_RESETHAND
406         and SA_NODEFER options.  Spurred to action by Igor Khavkine.
407
408         * sysdeps/generic/bits/sigaction.h [__USE_UNIX98 || __USE_MISC]
409         (SA_NODEFER, SA_RESETHAND): New macros, same bit values as FreeBSD.
410         [__USE_MISC] (SA_INTERRUPT): New macro, value 0.
411         [__USE_MISC] (SA_NOMASK, SA_ONESHOT, SA_STACK): New macros, aliases
412         as in other sysdeps versions of this file.
413
414         * sysdeps/generic/bits/sigaction.h (struct sigaction): Use a union
415         and provide sa_handler and sa_sigaction member names as macros, as
416         done in other sysdeps versions of this file.
417         Suggested by Igor Khavkine <i_khavki@alcor.concordia.ca>.
418
419 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
420
421         * posix/regex.c: Revamp memory allocation for WCHAR functions to
422         not use too much stack.
423
424 2001-07-22  Ulrich Drepper  <drepper@redhat.com>
425
426         * iconv/iconvconfig.c (write_output): Update comment explaining
427         output format.
428
429         * elf/dl-load.c (_dl_dst_count): In SUID binaries expand $ORIGIN
430         if it is alone.
431         (_dl_dst_substitute): Likewise.
432
433         * iconv/iconvconfig.c: Remove --verbose option.  Comment out
434         mcheck_verbose call.
435
436         * iconv/strtab.c (morememory): Fix little memory handling problem.
437
438 2001-07-22  Andreas Schwab  <schwab@suse.de>
439
440         * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Don't
441         mark asm input operand as clobbered.
442         * sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise.
443
444 2001-07-22  Ulrich Drepper  <drepper@redhat.com>
445
446         * iconv/gconv_builtin.c (struct builtin_map): Remove init and end
447         elements.
448         (BUILTIN_TRANSFORMATION): Remove Init and End parameters.
449         (__gconv_get_builtin_trans): Initialize __init_fct and __end_fct to
450         NULL.
451         * iconv/gconv_builtin.h: Remove NULL parameters for Init and End in
452         all BUILTIN_TRANSFORMATION calls.
453         * iconv/gconv_conf.c (BUILTIN_TRANSFORMATION): Remove Init and End
454         parameters.
455         * iconv/gconv_simple.c: Likewise.
456         * iconv/gconv_db.c (gen_steps): Internal converters don't have
457         initializers, move the code accordingly.
458
459         * iconv/gconv_conf.c (__gconv_read_conf): Don't read configuration
460         file if STATIC_GCONV is defined.
461
462         * iconv/gconv_conf.c (__gconv_path_envvar): New global variable.
463         (__gconv_get_path): Use it instead of call getenv.
464         (__gconv_read_conf): First see whether cache can be used.  If yes,
465         don't do any work here.
466         * iconv/gconv_db.c (__gconv_release_step): Renamed from release_step
467         and exported.  Change callers.
468         (__gconv_find_transform): First call __gconv_lookup_cache and only
469         continue if it signals no cache available.  Remove some unnecessary
470         tests.
471         * iconv/gconv_int.h: Declare __gconv_path_envvar, __gconv_lookup_cache,
472         __gconv_release_step, and __gconv_loaded_cache.
473         * iconv/gconv_cache.c: New file.
474         * iconv/iconvconfig.c: New file.
475         * iconv/iconvconfig.h: New file.
476         * iconv/strtab.c: New file.
477         * iconv/Makefile: Add rules to build new files and programs.
478
479 2001-07-20  Roland McGrath  <roland@frob.com>
480
481         * sysdeps/generic/device-nrs.h (DEV_TTY_P): Change argument type
482         from `dev_t' (st_rdev value) `const struct stat *'.
483         * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Likewise.
484         * libio/filedoalloc.c (_IO_file_doallocate): Change caller.
485         * sysdeps/mach/hurd/device-nrs.h: New file.
486
487         * libio/stdio_ext.h: Moved to ...
488         * stdio-common/stdio_ext.h: ... here.
489         * libio/Makefile (headers): Move stdio_ext.h from here ...
490         * stdio-common/Makefile (headers): ... to here.
491         * include/stdio_ext.h: New file.
492         * stdio/Makefile (routines): Add the stdio_ext.h functions here.
493         * stdio/Versions (GLIBC_2.2.4): Export the stdio_ext.h functions.
494         * stdio/__flbf.c: New file.
495         * stdio/__fbufsize.c: New file.
496         * stdio/__fpending.c: New file.
497         * stdio/__fpurge.c: New file.
498         * stdio/__freadable.c: New file.
499         * stdio/__freading.c: New file.
500         * stdio/__fsetlocking.c: New file.
501         * stdio/__fwritable.c: New file.
502         * stdio/__fwriting.c: New file.
503
504 2001-07-20  Ulrich Drepper  <drepper@redhat.com>
505             Andreas Jaeger  <aj@suse.de>
506
507         * elf/ldconfig.c (search_dir): Avoid use of uninitialized memory.
508         Add a few __builtin_expect to mark unlikely error cases.
509
510 2001-07-20  Andreas Jaeger  <aj@suse.de>
511
512         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Synch with kernel.
513         Patch by Daniel Jacobowitz <dan@debian.org>.
514
515 2001-07-19  Ulrich Drepper  <drepper@redhat.com>
516
517         * intl/localealias.c: Remove unnecessary prototype.
518
519         * Makefile: Add html goal.
520         * manual/Makefile: Likewise.
521
522 2001-07-18  Ulrich Drepper  <drepper@redhat.com>
523
524         * libio/filedoalloc.c (_IO_file_doallocate): A few more minor
525         cleanups and improvements.
526
527 2001-07-18  Andreas Schwab  <schwab@suse.de>
528
529         * posix/regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
530         underscore character.
531
532 2001-07-18  Jakub Jelinek  <jakub@redhat.com>
533
534         * malloc/malloc (new_heap): Don't call munmap for zero length.
535
536 2001-07-18  Ulrich Drepper  <drepper@redhat.com>
537
538         * libio/filedoalloc.c (_IO_file_doallocate): Use DEV_TTY_P if
539         available to determine whether descriptor is for tty before
540         calling isatty.
541
542         * sysdeps/unix/sysv/linux/device-nrs.h: Define DEV_TTY_P.
543         * sysdeps/generic/device-nrs.h: Likewise.
544
545 2001-07-18  Andreas Jaeger  <aj@suse.de>
546
547         * time/Makefile (tst-getdate-ENV): Add TZDIR to environment.
548
549         * time/Depend: New, add dependency on timezone.
550
551         * time/tst-getdate.c: Add testcase for bug report by Hendrik
552         Uhlmann <HUhlmann@stn-atlas.de>.
553         * time/datemsk: Likewise.
554
555 2001-07-17  Ulrich Drepper  <drepper@redhat.com>
556
557         * elf/ldconfig.c (parse_conf): Disable implicit locking for the
558         stream.  Remove some unnecessary initializers.
559
560 2001-07-17  Andreas Jaeger  <aj@suse.de>
561
562         * elf/ldconfig.c: Add new variable hwcap_mask to honour LD_HWCAP_MASK.
563         (is_hwcap_platform): Use it.
564         (set_hwcap): New function to set hwcap_mask.
565         (main): Call set_hwcap.
566
567 2001-07-17  Jakub Jelinek  <jakub@redhat.com>
568
569         * time/getdate.c (__getdate_r): Initialize tm_isdst, tm_gmtoff and
570         tm_zone before calling strptime.
571
572 2001-07-17  Andreas Schwab  <schwab@suse.de>
573
574         * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Fix last change.
575
576 2001-07-17  Ulrich Drepper  <drepper@redhat.com>
577
578         * inet/rcmd.c (iruserfopen): Disable implicit locking for the stream.
579         * inet/ruserpass.c (ruserpass): Likewise.
580         * nss/nsswitch.c (nss_parse_file): Likewise.
581         * resolv/res_hconf.c (_res_hconf_init): Likewise.
582         * resolv/res_init.c (__res_vinit): Likewise.
583         * gmon/bb_exit_func.c (__bb_exit_func): Likewise.
584         * misc/getpass.c (getpass): Likewise.
585         * misc/getusershell.c (initshells): Likewise.
586         * misc/getttyent.c (setttyent): Likewise.
587         * misc/mntent_r.c (__setmntent): Likewise.
588         * time/getdate.c (__getdate_r): Likewise.
589         * time/tzfile.c (__tzfile_read): Likewise.
590         * iconv/gconv_conf.c (read_conf_file): Likewise.
591         * intl/localealias.c (read_alias_file): Disable implicit locking
592         for the stream.  Use _unlocked functions for glibc.
593         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Disable
594         implicit locking for the stream.
595         (__get_nprocs_conf): Likewise.
596         (phys_pages_info): Likewise.
597
598 2001-07-16  Ulrich Drepper  <drepper@redhat.com>
599
600         * nscd/connections.c: Print messages caused by user application
601         only if debug_level > 0.  Add little performance improvements.
602         Use TEMP_FAILURE_RETRY around write calls.
603         * nscd/grpcache.c: Likewise.
604         * nscd/hstcache.c: Likewise.
605         * nscd/pwdcache.c: Likewise.
606
607 2001-07-13  H.J. Lu  <hjl@gnu.org>
608
609         * sysdeps/mips/dl-machine.h (MAP_BASE_ADDR): Removed.
610         (elf_machine_got_rel): Defined only if RTLD_BOOTSTRAP is not defined.
611         (RESOLVE_GOTSYM): Rewrite to use RESOLVE.
612
613         * sysdeps/mips/rtld-ldscript.in: Removed.
614         * sysdeps/mips/rtld-parms: Likewise.
615         * sysdeps/mips/mips64/rtld-parms: Likewise.
616         * sysdeps/mips/mipsel/rtld-parms: Likewise.
617
618 2001-07-16  Ulrich Drepper  <drepper@redhat.com>
619
620         * catgets/test-gencat.sh: Use <<"EOF" instead of <<EOF to prevent
621         substitution in here document.
622
623 2001-07-16  Andreas Schwab  <schwab@suse.de>
624
625         * sysdeps/posix/spawni.c: Fix typo when iterating over signal numbers.
626
627 2001-07-16  Andreas Schwab  <schwab@suse.de>
628
629         * math/libm-test.inc (check_float_internal): Fix sign bit test of
630         infinities.
631
632 2001-07-16  Jakub Jelinek  <jakub@redhat.com>
633
634         * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Make it PIC friendly.
635
636 2001-07-15  Ulrich Drepper  <drepper@redhat.com>
637
638         * malloc/obstack.c: Define __attribute__ for non-gcc compilers.
639         Patch by Jim Meyering <jim@meyering.net>.
640
641 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
642
643         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Reorder
644         fields in the sigaction struct to match the definition in the kernel.
645
646 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
647
648         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Correct the
649         test for ENOSYS.
650
651 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
652
653         * sysdeps/s390/s390-32/bits/setjmp.h: Add leading underscores
654         to the entries in the __jmp_buf structure.
655         * sysdeps/s390/s390-64/bits/setjmp.h: Likewise.
656
657 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
658
659         * sysdeps/s390/s390-32/bcopy.S: Use mvcle for big blocks
660         (> 64K) and a mvc loop for small blocks.
661         * sysdeps/s390/s390-32/memcpy.S: Likewise.
662         * sysdeps/s390/s390-64/bcopy.S: Likewise.
663         * sysdeps/s390/s390-64/memcpy.S: Likewise.
664
665 2001-07-15  Andreas Schwab  <schwab@suse.de>
666
667         * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: New file.
668         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: New file.
669
670         * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Check _dl_pagesize
671         first.  Default to 4096, not EXEC_PAGESIZE.
672
673         * iconv/loop.c (put16) [!_STRING_ARCH_unaligned && BIG_ENDIAN]:
674         Fix index.
675
676 2001-07-09  Andreas Jaeger  <aj@suse.de>
677
678         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Name entry for xmm2.
679
680         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add HWCAP_I386_XMM,
681         HWCAP_I386_XMM2 to enum.
682
683 2001-07-13  Andreas Jaeger  <aj@suse.de>
684
685         * libio/fileops.c: Include unistd.h for lseek64 prototype.  Closes
686         PR libc/2372.
687
688 2001-07-12  Ulrich Drepper  <drepper@redhat.com>
689
690         * Makeconfig: Add some more changes to handle AIX linker better.
691
692 2001-07-12  H.J. Lu  <hjl@gnu.org>
693
694         * sysdeps/generic/segfault.c: Include <errno.h>.
695
696 2001-07-01  Andreas Jaeger  <aj@suse.de>
697
698         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk): Remove duplicate
699         sbrk.  Closes PR libc/2312.
700
701 2001-07-01  Andreas Jaeger  <aj@suse.de>
702
703         * sysdeps/generic/segfault.c (install_handler): Handle case that
704         the output file does not exists.  Closes PR libc/2345.
705
706 2001-07-11  Ulrich Drepper  <drepper@redhat.com>
707
708         * intl/locale.alias: Use he language code for hebrew, not il
709         [PR libc/2382].
710
711 2001-07-11  Jakub Jelinek  <jakub@redhat.com>
712
713         * iconv/gconv_int.h: Fix comment typo.
714
715 2001-07-11  Igor Khavkine  <i_khavki@alcor.concordia.ca>
716
717         * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code.
718
719 2001-07-07  Roland McGrath  <roland@frob.com>
720
721         * hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0.
722
723 2001-07-10  Stephen L Moshier  <moshier@mediaone.net>
724
725         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl):  Fix
726         backwards conditional in test for x == 1.0.
727
728 2001-07-10  Andreas Jaeger  <aj@suse.de>
729
730         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add ulps for tanh
731         (-0.7).
732
733 2001-07-09  Andreas Jaeger  <aj@suse.de>
734
735         * sysdeps/unix/sysv/linux/configure.in: Revert patch from
736         2001-07-05 for sysconfdir handling.
737         * config.make.in (sysconfdir): Likewise.
738         * configure.in: Likewise.
739
740         * configure.in: Always assign libc_cv_sysconfdir.
741
742 2001-07-08  Ulrich Drepper  <drepper@redhat.com>
743
744         * Makerules [AIX] (build-shlib-helper): Precede linker options
745         with -Wl.
746
747         * Makeconfig (config-LDFLAGS): Add ld.so only for ELF.
748
749         * sysdeps/unix/make_errlist.c: Adjust sys_errlist declaration to
750         what we define in <stdio.h>.
751
752         * iconv/iconv_prog.c (main): Don't unconditionally define
753         variables only use if _POSIX_MAPPED_FILES is defined.
754
755         * sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type.
756         * sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise.
757
758         * sysdeps/unix/sysv/aix/recv.c: New file.
759
760         * sysdeps/unix/sysv/aix/recvfrom.c: Fix various types.
761
762 2001-07-07  Ulrich Drepper  <drepper@redhat.com>
763
764         * sysdeps/generic/recv.c: Fix return type.
765
766         * sysdeps/unix/sysv/aix/dl-libc.c (__libc_dlclose): Fix typo.
767
768         * sysdeps/unix/sysv/aix/gettimeofday.c (__gettimeofday): Add
769         declarations for asm functions.
770
771         * include/libc-symbols.h: Provide more dummy definitions for the
772         case if GNU ld isn't used.
773
774         * libio/freopen.c: Include <stdlib.h> for free declaration.
775         * libio/freopen64.c: Likewise.
776
777         * sysdeps/alpha/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
778
779 2001-07-06  Jakub Jelinek  <jakub@redhat.com>
780
781         * sysdeps/unix/sysv/linux/i386/sigaction.c (RESTORE2): Put asm
782         explicitly into .text section.
783
784 2001-04-16  Jes Sorensen  <jes@linuxcare.com>
785
786         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
787         Add 16 longwords reserved for future use to match changes in the
788         kernel.
789
790 2001-07-03  Jes Sorensen  <jes@trained-monkey.org>
791
792         * sysdeps/ia64/strncpy.S: Call strnlen() when determining the
793         string length rather than strlen(). Solves the performance problem
794         of doing strlen on a 5MB string when strncpy was called with a
795         length argument of 5 bytes.
796
797 2001-07-02  Jakub Jelinek  <jakub@redhat.com>
798
799         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
800         R_SPARC_UA16 and R_SPARC_UA32.
801         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
802
803 2001-07-01  Stephen L Moshier  <moshier@mediaone.net>
804
805         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl):
806         acosh(x) = ln(2x) if x > 2^30.
807         * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
808         acosh(x) = ln(2x) if x > 2^54.
809
810 2001-07-07  Mark Kettenis  <kettenis@gnu.org>
811
812         * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal):
813         Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and
814         KERN_WRITE_PROTECTION_FAILURE.
815
816 2001-07-07  Ulrich Drepper  <drepper@redhat.com>
817
818         * posix/regex.c: Limit string length printed in debug messages to
819         100 chars.
820
821         * configure.in: Don't warn about versioning if not on ELF system.
822
823 2001-07-07  Andreas Jaeger  <aj@suse.de>
824
825         * sysdeps/*: Put files from GNU MP Library under LGPL v2.1.
826
827 2001-07-06  Ulrich Drepper  <drepper@redhat.com>
828
829         * po/gl.po: Update from translation team.
830
831 2001-07-06  Andreas Jaeger  <aj@suse.de>
832
833         * sysdeps/unix/sysv/linux/configure.in: Fix handling of
834         sysconfdir.
835
836         * manual/libc-texinfo.sh: Add note for the FDL.
837
838         * manual/argp.texi (Argp Example 4): Fix texinfo warning.
839
840         * manual/libc.texinfo: Regenerated.
841
842         * manual/fdl.texi: Fix node.
843
844         * config.make.in (sysconfdir): Replace correctly.
845         Closes PR libc/2369, reported by Peter Simons <simons@cryp.to>.
846
847         * sysdeps/unix/sysv/linux/alpha/configure.in: Removed, it's no
848         longer needed.
849
850         * sysdeps/unix/sysv/linux/configure.in (libc_cv_linuxVER): Add
851         case for alpha.
852         Rework handling of missing linuxthreads add-on.
853
854         * configure.in: Remove unused sysconfdir substitution.
855
856         * manual/Makefile (texis): Add fdl.texi.
857         * manual/fdl.texi: New.
858         * manual/socket.texi (Host Names): Improve grammar, fix overflow hbox.
859         * manual/libc.texinfo: Add fdl, update titlepage.
860         Patches by Brian Youmans <3diff@gnu.org>.
861
862         * sysdeps/unix/make_errlist.c (main): Print LGPL v2.1 for
863         generated file.
864
865 2001-07-06  Paul Eggert  <eggert@twinsun.com>
866
867         * manual/argp.texi: Remove ignored LGPL copyright notice; it's
868         not appropriate for documentation anyway.
869         * manual/libc-texinfo.sh: "Library General Public License" ->
870         "Lesser General Public License".
871         * COPYING: Fix Y2k bug in sample copyright notices.
872         * manual/lesser.texi: Renamed from manual/lgpl.texinfo,
873         as fsf.org uses the name "lesser.texi".
874         * manual/Makefile (texis): Follow rename.
875
876 2001-07-06  Andreas Jaeger  <aj@suse.de>
877
878         * All files under GPL/LGPL version 2: Place under LGPL version
879         2.1.
880
881 2001-07-05  Andreas Jaeger  <aj@suse.de>
882
883         Synch with Linux 2.4.6:
884         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
885         New.
886         (AF_BLUETOOTH): New.
887
888         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
889         (PF_BLUETOOTH): New.
890         (AF_BLUETOOTH): New.
891
892         * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
893         (PF_BLUETOOTH): New.
894
895         * sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
896         (PF_BLUETOOTH): New.
897
898         * sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
899         (AF_BLUETOOTH): New.
900
901         * sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
902         (AF_BLUETOOTH): New.
903
904         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.
905
906         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.
907
908         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.
909
910         * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
911
912 2001-07-04  Roland McGrath  <roland@frob.com>
913
914         * hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended
915         wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port
916         rather than doing a mach_port_insert_right call first.
917
918 2001-06-26  Roland McGrath  <roland@frob.com>
919
920         * hurd/hurdioctl.c: Include <string.h> for memcpy decl.
921
922 2001-07-03  Andreas Jaeger  <aj@suse.de>
923
924         * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Remove check for
925         crypt add-on.
926
927 2001-07-01  Mark Kettenis  <kettenis@gnu.org>
928
929         * sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in
930         the Hurd pfinet server, using equivalent code from the Linux
931         version in sysdeps/unix/sysv/linux/if_index.c. In detail:
932         Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and
933         <hurd/pfinet.h>.  Don't include <sys/mman.h> and <hurd/fsys.h>
934         anymore.
935         (if_nametoindex): New implementation using SIOCGIFINDEX.
936         (if_freenameindex): Straight copy of the Linux version.
937         (if_nameindex): New implementation based on pfinet_siocgifconf and
938         SIOCGIFINDEX.
939         (if_indextoname): New implementation using SIOCGIFNAME.
940         (map_interfaces): Function removed.
941         From Marcus Brinkmann <marcus@gnu.org>.
942
943 2001-06-30  Jakub Jelinek  <jakub@redhat.com>
944
945         * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
946         gaps below main executable.
947
948 2001-06-19  Andreas Jaeger  <aj@suse.de>
949
950         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
951         Handle profiling.
952
953 2001-06-29  Andreas Jaeger  <aj@suse.de>
954
955         * sysdeps/ieee754/ldbl-128/s_asinhl.c: New file.
956         Patch by Stephen L Moshier <moshier@mediaone.net>.
957
958 2001-06-28  Ulrich Drepper  <drepper@redhat.com>
959
960         * manual/argp.texi: Tons of cleanups.
961         Patch by Clifford U. Smith <cuel@swbell.net>.
962
963 2001-06-28  Mark Kettenis  <kettenis@gnu.org>
964
965         * manual/users.texi (Setting Groups): Correct initgroups
966         documentation.  Add documentation for getgrouplist.
967
968 2001-06-28  H.J. Lu  <hjl@gnu.org>
969
970         * locale/findlocale.c (locale_file_list): Renamed to ...
971         (_nl_locale_file_list): This.  Make it extern.
972         (free_mem): Move to ...
973         * locale/setlocale.c (free_mem): Here.
974
975 2001-06-28  Mark Kettenis  <kettenis@gnu.org>
976
977         * sysdeps/mach/hurd/read.c: Include <hurd/fd.h>.
978         (__libc_read): Don't call __pread.  Use _hurd_fd_read directly
979         instead.
980         * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>.
981         (__libc_write): Don't call __pwrite.  Use _hurd_fd_write directly
982         instead.
983
984         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back
985         -Wl,-soname option lost in 2001-06-16 change.
986
987 2001-06-27  Ulrich Drepper  <drepper@redhat.com>
988
989         * posix/tst-regex.c: Pass REG_NEWLINE to regcomp.  Add extra tests.
990         Restrict printing of string in debug mode to 100 characters to make
991         the output useful for long input texts.
992
993         * posix/Makefile: Add rules to build and run tst-regex.
994
995 2001-06-20  Isamu Hasegawa  <isamu@yamato.ibm.com>
996
997         * posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers.
998         (re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
999         (wcs_re_match_2_internal): Check whether the wcs buffers need
1000         seting up or not, and skip seting up routin if not needed.
1001
1002 2001-06-26  Isamu Hasegawa  <isamu@yamato.ibm.com>
1003
1004         * posix/regex.c (count_mbs_length): Use binary search for optimization.
1005
1006 2001-06-27  Ulrich Drepper  <drepper@redhat.com>
1007
1008         * posix/tst-regex.c: Fix several bugs.  Add more tests.
1009
1010 2001-06-26  Mark Kettenis  <kettenis@gnu.org>
1011
1012         * hurd/Makefile (user-interfaces): Add pfinet.
1013         * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and
1014         <netinet/in.h>.
1015         (siocgifconf): New function.  Register it with HURD_HANDLE_IOCTL
1016         as the handler for SIOCGIFCONF.
1017         * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and
1018         SIOCGIFFLAGS to be of IOC type ifreq_short.  Modify SIOCSIFMETRIC
1019         and SIOCGIFMETRIC to be of IOC type ifreq_int.  Add new macro
1020         definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and
1021         SIOCGIFNAME.
1022         From Marcus Brunkmann <marcus@gnu.org>.
1023
1024 2001-06-25  Ulrich Drepper  <drepper@redhat.com>
1025
1026         * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
1027         and _IOT_ifreq_int.  Patch by Mark Kettenis <kettenis@wins.uva.nl>.
1028
1029         * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
1030         _dl_catch_error calls.
1031
1032 2001-06-22  Jakub Jelinek  <jakub@redhat.com>
1033
1034         * posix/regex.c (regex_compile, re_match_2_internal): Fix comment
1035         typos.
1036
1037 2001-06-01  Wolfram Gloger  <wg@malloc.de>
1038
1039         * malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
1040         ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
1041         when malloc_atfork is in use.
1042
1043 2001-06-22  Andreas Jaeger  <aj@suse.de>
1044
1045         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
1046         to avoid warnings.
1047
1048         * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
1049         variable.
1050         Add unused attributes to avoid warnings.
1051
1052         * elf/reldep4mod4.c: Add prototype to avoid warning.
1053         * elf/reldep4mod2.c: Likewise.
1054
1055         * sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for
1056         prototypes.
1057
1058 2001-06-18  Roland McGrath  <roland@frob.com>
1059
1060         * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int.
1061
1062 2001-06-20  Alexandre Oliva  <aoliva@redhat.com>
1063
1064         * sysdeps/unix/sysv/settimeofday.c: Include time.h.
1065
1066 2001-06-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1067
1068         * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
1069
1070 2001-05-09  Michael Keezer  <mkeezer@redhat.com>
1071
1072         * Makeconfig: Added AIX-ld support for DSO.
1073         * Makerules: Likewise.
1074         * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared.
1075         (defaultmod2.so): Likewise.
1076         * debug/Makefile: Conditionalize use of elf/ld.so.
1077         * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig.
1078
1079         * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c.
1080         * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) &
1081         (f/g)prrest(0/1) static only.
1082         * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0.
1083         * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but
1084         shared.
1085         * sysdeps/unix/sysv/aix/setitimer.c: New file.
1086         * sysdeps/unix/sysv/aix/sleep.c: New file.
1087         * sysdeps/unix/sysv/aix/usleep.c: New file.
1088         * sysdeps/unix/sysv/aix/dl-addr.c: New file.
1089         * sysdeps/unix/sysv/aix/dl-error.c: New file.
1090         * sysdeps/unix/sysv/aix/dl-support.c: New file.
1091         * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file.
1092
1093 2001-06-19  Ulrich Drepper  <drepper@redhat.com>
1094
1095         * po/es.po: Update from translation team.
1096
1097 2001-06-19  Andreas Jaeger  <aj@suse.de>
1098
1099         * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file.
1100
1101         * math/libm-test.inc (tanh_test): Test for 2^-56.
1102
1103         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result
1104         equals argument when x < 2^-55.
1105         Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1106
1107 2001-06-17  Alan Modra  <amodra@bigpond.net.au>
1108
1109         * sysdeps/hppa/dl-machine.h (elf_machine_rela): Handle relocs
1110         at unaligned address.
1111
1112 2001-06-18  Ulrich Drepper  <drepper@redhat.com>
1113
1114         * posix/regex.c: Reorganize code to build code twice, once for single
1115         byte, once for multi-byte charsets.  Choose function set adequate for
1116         locale at runtime.
1117         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
1118
1119         * po/nl.po: Update from translation team.
1120
1121 2001-06-09  Bruno Haible  <haible@clisp.cons.org>
1122
1123         * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
1124         (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
1125         * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.
1126
1127 2001-05-26  Bruno Haible  <haible@clisp.cons.org>
1128
1129         * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap.
1130         * manual/charset.texi: Write Shift_JIS, not Shift-JIS.
1131
1132 2001-06-17  Roland McGrath  <roland@frob.com>
1133
1134         * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,
1135         not LIO_READ + 1 (which is the value of LIO_WRITE!).
1136
1137         * Makerules (build-module-helper-objlist): New variable,
1138         broken out of build-module.  Insert --whole-archive/--no-whole-archive
1139         immediately each *_pic.a file in the link object list.
1140         (whole-archive): New variable, used by that.
1141         (build-module-objlist): New variable using build-module-helper-objlist.
1142         (build-module, build-module-helper): Use it.
1143         (build-shlib-objlist): New variable using build-module-helper-objlist.
1144         (build-shlib): Use that.
1145         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
1146
1147         * posix/spawni.c: Moved to ...
1148         * sysdeps/posix/spawni.c: ... here.
1149         * sysdeps/generic/spawni.c: New file.
1150
1151 2001-06-16  Roland McGrath  <roland@frob.com>
1152
1153         * hurd/Makefile (routines): Add lookup-retry.
1154         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
1155         * hurd/lookup-retry.c: ... into here, new file.
1156         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
1157         using of duplicate code here.
1158
1159         * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
1160
1161 2001-06-17  Ulrich Drepper  <drepper@redhat.com>
1162
1163         * po/ja.po: Update from translation team.
1164
1165 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
1166
1167         * locale/programs/locfile.c (siblings_uncached, siblings, full_read,
1168         compare_files): New functions.
1169         (write_locale_data): Use xmalloc.  Compare the file with the locale
1170         data files for the same category in other locales, and reuse it if
1171         possible and safe.
1172
1173 2001-06-07  Mark Kettenis  <kettenis@gnu.org>
1174
1175         * grp/initgroups.c (initgroups): Factor out re-usable code into...
1176         (internal_getgrouplist): ... new function.
1177         (getgrouplist): New function.
1178         * grp/grp.h (getgrouplist): New prototype.
1179         * grp/Versions [2.2.4]: Add getgrouplist.
1180
1181 2001-06-16  Ulrich Drepper  <drepper@redhat.com>
1182
1183         * inet/netinet/ip6.h: Fix comments in ip6_hdr.
1184         Patch by Pekka Savola <pekkas@netcore.fi>.
1185
1186 2001-06-15  Roland McGrath  <roland@frob.com>
1187
1188         * rt/Makefile (aio-routines, clock-routines, timer-routines): New
1189         variables, broken out of librt-routines.
1190         (librt-routines): Set using those.
1191         (extra-libs, extra-libc-others, tests): Set these unconditionally.
1192         (distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
1193         * sysdeps/generic/aio_fsync.c: New file.
1194         * sysdeps/generic/aio_misc.c: New file.
1195         * sysdeps/generic/aio_write.c: New file.
1196         * sysdeps/generic/aio_write64.c: New file.
1197         * sysdeps/generic/aio_read64.c: New file.
1198         * sysdeps/generic/aio_read.c: New file.
1199         * sysdeps/generic/aio_notify.c: New file.
1200         * sysdeps/generic/lio_listio64.c: New file.
1201         * sysdeps/generic/lio_listio.c: New file.
1202         * sysdeps/generic/aio_cancel.c: New file.
1203         * sysdeps/generic/aio_misc.h: New file.
1204         * sysdeps/generic/aio_suspend.c: New file.
1205         * rt/aio_cancel.c: Moved to ...
1206         * sysdeps/pthread/aio_cancel.c: ... here.
1207         * rt/aio_fsync.c: Moved to ...
1208         * sysdeps/pthread/aio_fsync.c: ... here.
1209         * rt/aio_misc.c: Moved to ...
1210         * sysdeps/pthread/aio_misc.c: ... here.
1211         * rt/aio_misc.h: Moved to ...
1212         * sysdeps/pthread/aio_misc.h: ... here.
1213         * rt/aio_notify.c: Moved to ...
1214         * sysdeps/pthread/aio_notify.c: ... here.
1215         * rt/aio_read.c: Moved to ...
1216         * sysdeps/pthread/aio_read.c: ... here.
1217         * rt/aio_read64.c: Moved to ...
1218         * sysdeps/pthread/aio_read64.c: ... here.
1219         * rt/aio_suspend.c: Moved to ...
1220         * sysdeps/pthread/aio_suspend.c: ... here.
1221         * rt/aio_write.c: Moved to ...
1222         * sysdeps/pthread/aio_write.c: ... here.
1223         * rt/aio_write64.c: Moved to ...
1224         * sysdeps/pthread/aio_write64.c: ... here.
1225         * rt/lio_listio.c: Moved to ...
1226         * sysdeps/pthread/lio_listio.c: ... here.
1227         * rt/lio_listio64.c: Moved to ...
1228         * sysdeps/pthread/lio_listio64.c: ... here.
1229
1230 2001-06-14  Roland McGrath  <roland@frob.com>
1231
1232         * configure.in: Let sysdeps Implies files in add-ons bring in
1233         sysdeps directories from the main source and other add-ons too.
1234
1235 2001-06-15  Jakub Jelinek  <jakub@redhat.com>
1236
1237         * math/test-misc.c (main): Add tests for nextafter and nexttoward
1238         with +-Inf as second argument.
1239
1240         * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
1241         NaN, not Inf.
1242         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
1243         * sysdeps/i386/fpu/s_nexttoward.c: New.
1244         * sysdeps/i386/fpu/s_nexttowardf.c: New.
1245         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
1246         check for NaN, optimize x==+-0 handling.
1247         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
1248         * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
1249         check for NaN, fix sign in x==+-0 case.
1250         * sysdeps/ia64/fpu/s_nexttoward.c: New.
1251         * sysdeps/ia64/fpu/s_nexttowardf.c: New.
1252
1253 2001-06-15  H.J. Lu  <hjl@gnu.org>
1254
1255         * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
1256         * rt/tst-aio3.c (do_test): Likewise.
1257         * rt/tst-aio4.c (do_test): Likewise.
1258         * rt/tst-aio5.c (do_test): Likewise.
1259         * rt/tst-aio6.c (do_test): Likewise.
1260
1261 2001-06-15  Andreas Schwab  <schwab@suse.de>
1262
1263         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
1264         * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
1265
1266 2001-06-15  Andreas Jaeger  <aj@suse.de>
1267
1268         * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning.
1269
1270 2001-06-14  Andreas Schwab  <schwab@suse.de>
1271
1272         * elf/ldconfig.c (search_dir): Fix check for regular file.
1273
1274         * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
1275         * sysdeps/m68k/fpu/e_log2l.c: Fix typo.
1276
1277 2001-06-14  Roland McGrath  <roland@frob.com>
1278
1279         * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
1280         (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
1281
1282 2001-06-13  Roland McGrath  <roland@frob.com>
1283
1284         * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
1285
1286         * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
1287         so the label is not considered unused.
1288
1289         * sysdeps/mach/hurd/pwrite64.c: New file.
1290         * sysdeps/mach/hurd/pread64.c: New file.
1291
1292         * sysdeps/mach/hurd/pread.c
1293         (__libc_pread): Define this name, with __pread as an alias.
1294         * sysdeps/mach/hurd/pwrite.c
1295         (__libc_pwrite): Define this name, with __pwrite as an alias.
1296
1297         Implement POSIX "shared memory objects" as regular
1298         files residing in the /var/run/shm/ directory.
1299         This works on any system that supports _POSIX_MAPPED_FILES,
1300         to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
1301         * sysdeps/posix/shm_open.c: New file.
1302         * sysdeps/posix/shm_unlink.c: New file.
1303         * sysdeps/mach/hurd/bits/posix_opt.h
1304         (_POSIX_SHARED_MEMORY_OBJECTS): Define it.
1305
1306         * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
1307         Use raise instead of __aio_sigqueue.
1308
1309         * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
1310         * sysdeps/mach/hurd/pwrite.c: Likewise.
1311
1312         * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
1313         [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
1314         as default version set.
1315
1316 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
1317
1318         * libio/iolibio.h (_IO_freopen): Correct last parameter to
1319         _IO_file_open.
1320         (_IO_freopen64): Likewise.
1321         Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].
1322
1323         * elf/elf.h: Add a few more EM_* constants.
1324
1325 2001-06-12  Bruno Haible  <haible@clisp.cons.org>
1326
1327         * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.
1328
1329 2001-06-09  Ben Collins  <bcollins@debian.org>
1330
1331         * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
1332         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1333         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1334         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1335         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1336         * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
1337         hardcoded B400000.
1338
1339 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
1340
1341         * time/sys/time.h: Don't use enum __itimer_which ever for
1342         __itimer_which_t for C++.
1343         Reported by Martin Buchholz <martin@xemacs.org>.
1344
1345         * po/fr.po: Update from translation team.
1346
1347 2001-06-12  H.J. Lu  <hjl@gnu.org>
1348
1349         * configure.in: Fix typos in missing program names.
1350         * configure: Regenerated.
1351
1352 2001-06-12  Andreas Jaeger  <aj@suse.de>
1353
1354         * iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
1355
1356         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
1357
1358 2001-06-11  Andreas Jaeger  <aj@suse.de>
1359
1360         * sysdeps/ieee754/ldbl-128/e_coshl.c: New file.  Contributed by
1361         Stephen L Moshier <moshier@mediaone.net>.
1362
1363         * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
1364
1365         * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
1366         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1367
1368 2001-06-11  Michael Deutschmann  <michael@talamasca.ocis.net>
1369
1370         * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
1371         Use my_signo instead of MY_SIGNO and initialize it so that the
1372         used signal is always available.
1373
1374 2001-06-11  Andreas Jaeger  <aj@suse.de>,
1375             Michael Deutschmann  <michael@talamasca.ocis.net>
1376
1377         * io/test-lfs.c (do_prepare): Clean up error messages.
1378         (test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
1379         (do_test): Likewise.
1380
1381 2001-06-11  Andreas Jaeger  <aj@suse.de>
1382
1383         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
1384         IMAXBEL): Make always visible since they're needed by POSIX.
1385         Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
1386
1387 2001-06-10  Ben Collins  <bcollins@debian.org>
1388
1389         * sysdeps/arm/elf/start.S: Use #function, not @function, for
1390         .type of _start.
1391
1392         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
1393         INT_MAX.
1394
1395 2001-06-07  H.J. Lu  <hjl@gnu.org>
1396
1397         * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
1398
1399 2001-06-10  Roland McGrath  <roland@frob.com>
1400
1401         * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
1402         * elf/reldep4mod4.c: Likewise.
1403
1404 2001-06-10  Mark Kettenis  <kettenis@gnu.org>
1405
1406         * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
1407
1408 2001-06-08  Andreas Schwab  <schwab@suse.de>
1409
1410         * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
1411         Don't dereference at end of string.
1412
1413 2001-06-06  Roland McGrath  <roland@frob.com>
1414
1415         * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
1416         From Robert Bihlmeyer <robbe@orcus.priv.at>.
1417
1418 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
1419
1420         * po/ko.po: Update from translation team.
1421
1422 2001-06-06  Andreas Jaeger  <aj@suse.de>
1423
1424         * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
1425         offset+length-1.
1426         Reported by Robert Bernecky <bernecky@acm.org>.
1427
1428 2001-06-06  Jakub Jelinek  <jakub@redhat.com>
1429
1430         * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
1431         * sysdeps/ia64/elf/start.S: Likewise.
1432         * sysdeps/sh/elf/start.S: Likewise.
1433         * sysdeps/s390/s390-32/elf/start.S: Likewise.
1434         * sysdeps/s390/s390-64/elf/start.S: Likewise.
1435
1436 2001-06-05  Matthew Wilcox  <willy@ldl.fc.hp.com>
1437
1438         * sysdeps/hppa/bsd-_setjmp.S: New.
1439         * sysdeps/hppa/bsd-setjmp.S: New.
1440
1441         * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
1442         gcc warnings about multi-line strings.
1443
1444         * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
1445         * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
1446
1447         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
1448         setrlimit directly instead of using wrappers.
1449
1450 2001-05-01  Richard Hirst  <rhirst@linuxcare.com>
1451
1452         * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
1453         * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
1454
1455 2001-06-05  Philipp Thomas  <pthomas@suse.de>
1456
1457         * nis/nis_call.c (__nisbind_connect): Don't mark for translation
1458         what can't be translated.
1459
1460 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
1461
1462         * timezone/zic.c: Update from tzcode2001c.
1463         * timezone/private.h: Likewise.
1464         * timezone/africa: Update from tzdata2001c.
1465         * timezone/asia: Likewise.
1466         * timezone/europe: Likewise.
1467         * timezone/northamerica: Likewise.
1468         * timezone/southamerica: Likewise.
1469         * timezone/zone.tab: Likewise.
1470
1471 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
1472
1473         * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
1474         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
1475         UNICODE_TAG_HANDLER.
1476         (__gconv_transform_internal_ucs2): Likewise.
1477         (__gconv_transform_internal_ucs2reverse): Likewise.
1478         * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
1479         * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
1480         * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
1481         * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
1482         * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
1483         * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
1484         * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
1485         * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
1486         * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
1487         * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
1488         * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
1489         * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
1490         * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
1491         * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
1492         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
1493         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
1494         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
1495         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
1496         * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
1497         * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
1498         * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
1499         * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
1500         * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
1501         * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
1502         * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
1503         * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
1504         * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
1505         * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
1506         * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
1507         * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
1508         * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
1509         * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
1510         TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
1511         TAG_language_zh, CURRENT_TAG_MASK): New enum values.
1512         (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
1513         is already selected but set2 or tag are set.
1514         (conversion): New enum type.
1515         (cvlist_t): New type.
1516         (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
1517         (conversion_lists): New array.
1518         (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag.  If "ja",
1519         prefer conversion to Japanese character sets.  If "zh", prefer
1520         conversion to GB2312.  If "ko", prefer conversion to KSC5601.  Small
1521         optimizations.
1522         (INIT_PARAMS): Add tag.
1523         (UPDATE_PARAMS): Add tag.
1524
1525 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
1526
1527         * locale/programs/locfile.c (write_locale_data): Before creat(),
1528         unlink the file, to avoid crashing the processes that mmap it.  Change
1529         a double slash to a single slash.  Free fname in case of error return.
1530
1531 2001-06-02  Jakub Jelinek  <jakub@redhat.com>
1532
1533         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
1534         changes, do the special handling for denormal numbers, not for
1535         normalized numbers (patch by <trevin@xmission.com>).
1536
1537         * math/test-misc.c (main): Test frexpl with denormal arguments.
1538
1539 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1540
1541         * math/libm-test.inc (llround_test): Add two new llround tests.
1542         * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
1543         overflow when rounding away from zero.
1544
1545 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1546
1547         * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
1548         * math/math_private.h (__ieee754_log2, __ieee754_log2f,
1549         __ieee754_log2l): New prototypes.
1550         * sysdeps/generic/w_log2.c: New file.
1551         * sysdeps/generic/w_log2f.c: New file.
1552         * sysdeps/generic/w_log2l.c: New file.
1553         * sysdeps/generic/s_log2l.c: Move...
1554         * sysdeps/generic/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
1555         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
1556         and log2(x < 0).
1557         * sysdeps/i386/fpu/s_log2.S: Move...
1558         * sysdeps/i386/fpu/e_log2.S: ...to here.  Rename to __ieee754_log2.
1559         * sysdeps/i386/fpu/s_log2f.S: Move...
1560         * sysdeps/i386/fpu/e_log2f.S: ...to here.  Rename to __ieee754_log2f.
1561         * sysdeps/i386/fpu/s_log2l.S: Move...
1562         * sysdeps/i386/fpu/e_log2l.S: ...to here.  Rename to __ieee754_log2l.
1563         * sysdeps/m68k/fpu/s_log2.c: Move...
1564         * sysdeps/m68k/fpu/e_log2.c: ...to here.  Rename to __ieee754_log2.
1565         * sysdeps/m68k/fpu/s_log2f.c: Move...
1566         * sysdeps/m68k/fpu/e_log2f.c: ...to here.  Rename to __ieee754_log2f.
1567         * sysdeps/m68k/fpu/s_log2l.c: Move...
1568         * sysdeps/m68k/fpu/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
1569         * sysdeps/ieee754/dbl-64/s_log2.c: Move...
1570         * sysdeps/ieee754/dbl-64/e_log2.c: ...to here.  Rename to
1571         __ieee754_log2.
1572         * sysdeps/ieee754/flt-32/s_log2f.c: Move...
1573         * sysdeps/ieee754/flt-32/e_log2f.c: ...to here.  Rename to
1574         __ieee754_log2f.
1575
1576 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1577
1578         * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
1579         even arguments which result in denormalized exp2 are accepted.
1580         (__exp2): Arguments equal to u_threshold already result into
1581         underflow.
1582         * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
1583         * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
1584         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
1585         low, with corrected lowmark use greaterequal, not greater.
1586         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1587
1588 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1589
1590         * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
1591         * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
1592         * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
1593         * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
1594         * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
1595         * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
1596         * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
1597         * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
1598
1599 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1600
1601         * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
1602         gave non-finite result instead of using constant in generic
1603         version.
1604         * sysdeps/generic/w_coshf.c (__coshf): Likewise.
1605         * sysdeps/generic/w_cosh.c (__cosh): Likewise.
1606         * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
1607         (__exp10): Test if finite argument gave non-finite result.
1608         * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
1609         Likewise.
1610         * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
1611         Likewise.
1612
1613 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1614
1615         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
1616         overflow threshold constant (log(LDBL_MAX)+M_LN2l).
1617
1618 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1619
1620         * locale/programs/ld-ctype.c (idx_table): New struct type.
1621         (idx_table_init, idx_table_get, idx_table_add): New functions.
1622         (MAX_CHARNAMES_IDX): Remove macro.
1623         (locale_ctype_t): Change type of charnames_idx field.
1624         (ctype_startup): Change initialization of charnames_idx field.
1625         (find_idx): Use idx_table_get and idx_table_add for speed.
1626
1627         * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
1628         computation of characters in a range.
1629
1630 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1631
1632         * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
1633         <U03F5>.
1634         (__ucs_to_gb18030_tab1): Likewise.
1635         (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
1636         (BODY for TO_LOOP): Likewise.
1637         * iconvdata/tst-table-charmap.sh: Update for charmaps containing
1638         <U00xxxxxx> syntax.
1639         * iconvdata/tst-table-from.c (bmp_only): New variable.
1640         (utf8_decode): If bmp_only, don't return characters outside Unicode
1641         plane 0.
1642         (main): When testing UTF-8 or GB18030, set bmp_only to 1.  Don't print
1643         a conversion line if utf8_decode returns NULL.
1644         * iconvdata/tst-table-to.c (main): When testing encodings other than
1645         UTF-8 and GB18030, loop upto U+30000 instead of U+10000.  Use UTF-8
1646         instead of UCS-2 as input.
1647         * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
1648         of the charmap.
1649
1650 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1651
1652         * iconvdata/cns11643l1.c: Update to Unicode 3.1.
1653         (__cns11643l1_to_ucs4_tab): Regenerated.
1654         (__cns11643l1_from_ucs4_tab12): Regenerated.
1655         * iconvdata/cns11643.c: Update to Unicode 3.1.
1656         (__cns11643l14_to_ucs4_tab): Remove array.
1657         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
1658         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
1659         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
1660         (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
1661         (__cns11643_from_ucs4p2_tab): New array.
1662         * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
1663         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
1664         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
1665         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
1666         (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
1667         (__cns11643_from_ucs4_tab): Remove declaration.
1668         (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
1669         declarations.
1670         (ucs4_to_cns11643): Update for new arrays.  Treat U+3400..U+4DFF and
1671         U+20000..U+2A6D6.
1672         * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
1673         declaration.
1674         (__cns11643_from_ucs4p0_tab): New declaration.
1675         (ucs4_to_cns11643l2): Update for new arrays.
1676         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
1677         3 to 7.
1678         (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
1679         * iconvdata/EUC-TW.irreversible: New file.
1680         * iconvdata/tst-table.sh: Use it.
1681         * iconvdata/Makefile (distribute): Add CP1255.irreversible,
1682         CP1258.irreversible, EUC-TW.irreversible.
1683
1684 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1685
1686         * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
1687         mathematical symbols.
1688
1689 2001-06-05  Andreas Jaeger  <aj@suse.de>
1690
1691         * manual/stdio.texi (Portable Positioning): Fix description of
1692         fpos_t and fpos64_t.
1693
1694 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
1695
1696         * sysdeps/generic/wordexp.c: Undo last patch.  Use strndupa instead.
1697
1698         * po/sk.po: Update from translation team.
1699
1700 2001-06-05  Andreas Jaeger  <aj@suse.de>
1701
1702         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
1703         tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
1704         Closes PR libc/2315.
1705
1706 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
1707
1708         * sysdeps/generic/wordexp.c: Add missing free.
1709         Patch by yeti@physics.muni.cz.
1710
1711 2001-06-02  Tom Browder  <tbrowder@home.com>
1712
1713         * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
1714         within bounds when lag > 0.
1715
1716 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
1717
1718         * po/tr.po: New file.
1719
1720 2001-06-05  Andreas Jaeger  <aj@suse.de>
1721
1722         * manual/libm-err-tab.pl (parse_ulps): Fix typo.
1723
1724 2001-06-04  H.J. Lu  <hjl@gnu.org>
1725
1726         * sysdeps/alpha/elf/start.S: Add .type for the entry point.
1727         * sysdeps/arm/elf/start.S: Likewise.
1728         * sysdeps/hppa/elf/start.S: Likewise.
1729         * sysdeps/i386/elf/start.S: Likewise.
1730         * sysdeps/m68k/elf/start.S: Likewise.
1731         * sysdeps/mips/elf/start.S: Likewise.
1732         * sysdeps/ia64/elf/start.S: Likewise.
1733         * sysdeps/sh/elf/start.S: Likewise.
1734         * sysdeps/s390/s390-32/elf/start.S: Likewise.
1735         * sysdeps/s390/s390-64/elf/start.S: Likewise.
1736         * sysdeps/cris/elf/start.S: Likewise.
1737
1738 2001-06-04  Bruce Mitchener  <bruce@cubik.org>
1739
1740         * manual/resource.texi: Correct setpriority/nice documentation.
1741
1742         * sysdeps/unix/nice.c: Correct nice() implementation.
1743
1744 2001-06-04  Andreas Jaeger  <aj@suse.de>
1745
1746         * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
1747         Stephen L Moshier <moshier@mediaone.net>.
1748
1749 2001-06-03  Roland McGrath  <roland@frob.com>
1750
1751         * Makefile (postclean): Remove obsolete sysd-Makefile.
1752
1753 2001-06-01  Roland McGrath  <roland@frob.com>
1754
1755         * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
1756         and use compat_symbol/versioned_symbol instead of plain
1757         symbol_version/default_symbol_version.
1758         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
1759         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
1760         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
1761         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
1762         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
1763         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
1764         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
1765         * sysdeps/arm/fpu/fegetenv.c: Likewise.
1766         * sysdeps/arm/fpu/fesetenv.c: Likewise.
1767         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
1768         * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
1769         * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
1770         * sysdeps/i386/fpu/fegetenv.c: Likewise.
1771         * sysdeps/i386/fpu/fesetenv.c: Likewise.
1772         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
1773         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
1774         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1775         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
1776         * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
1777         * sysdeps/m68k/fpu/fegetenv.c: Likewise.
1778         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
1779         * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
1780         * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
1781         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
1782         * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
1783         * sysdeps/powerpc/fclrexcpt.c: Likewise.
1784         * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
1785         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1786         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1787         * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
1788         * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
1789         * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
1790
1791         * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
1792         * iconvdata/iso-2022-cn-ext.c: Likewise.
1793
1794 2001-06-01  Andreas Jaeger  <aj@suse.de>
1795
1796         * Versions.def: Add version 2.2.4.
1797
1798 2001-06-01  Ulrich Drepper  <drepper@redhat.com>
1799
1800         * socket/Makefile (routines): Add sockatmark.
1801         * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
1802         * socket/sys/socket.h: Add prototype for sockatmark.
1803         * sysdeps/generic/sockatmark.c: New file.
1804         * sysdeps/unix/sockatmark.c: New file.
1805
1806 2001-06-01  Andreas Jaeger  <aj@suse.de>
1807
1808         * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
1809         B4000000.
1810         (cfsetospeed): Likewise.
1811         Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
1812
1813 2001-05-31  Joseph S. Myers  <jsm28@cam.ac.uk>
1814
1815         * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
1816
1817 2001-05-30  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1818
1819         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
1820         needs to have the same aligment as the kernel structure.
1821
1822 2001-05-29  Jakub Jelinek  <jakub@redhat.com>
1823
1824         * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
1825         u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
1826         * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
1827         u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
1828         against multiple definition.
1829
1830 2001-05-30  Ulrich Drepper  <drepper@redhat.com>
1831
1832         * po/da.po: Update from translation team.
1833
1834 2001-05-29  Andreas Jaeger  <aj@suse.de>
1835
1836         * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
1837         Stephen L Moshier <moshier@mediaone.net>.
1838
1839         * math/libm-test.inc (sinh_test): Add new test case.
1840
1841         * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
1842         x when x < 2^-32.
1843         Patch by Stephen L Moshier <moshier@mediaone.net>.
1844
1845 2001-05-23  Andreas Jaeger  <aj@suse.de>
1846
1847         * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
1848         * iconvdata/testdata/WINDOWS-1255..UTF8: this.
1849
1850 2001-05-27  Andreas Jaeger  <aj@suse.de>
1851
1852         * manual/stdio.texi (String Streams): Fix fmemopen description.
1853         Reported by Michal Kochanowicz <michal@michal.waw.pl>.
1854
1855 2001-05-26  H.J. Lu <hjl@gnu.org>
1856
1857         * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
1858         to s_sigsuspend.  Add s_mmap2.
1859
1860         * sysdeps/mips/atomicity.h: New file.
1861
1862         * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
1863
1864         * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
1865         back __key.
1866
1867 2001-05-25  Bruce Mitchener  <bruce@cubik.org>
1868
1869         * manual/ctype.texi: Minor fix.
1870         * manual/install.texi: Likewise.
1871         * manual/startup.texi: Likewise.
1872         * manual/examples/dir.c: Use perror() rather than puts().
1873
1874 2001-05-25  David Mosberger  <davidm@hpl.hp.com>
1875
1876         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
1877         #endif directive inside a comment to avoid compiler warnings.
1878
1879 2001-05-25  Philipp Thomas  <pthomas@suse.de>
1880
1881         * nis/nis_print.c (nis_nstype2str): Don't mark names of
1882         naming services for translation, only UNKNOWN needs it.
1883         Add comment to prevent it for the future.
1884
1885 2001-05-25  Joseph S. Myers  <jsm28@cam.ac.uk>
1886
1887         * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
1888         3.1 and non-GCC C99 compilers.
1889
1890 2001-05-22  David Mosberger  <davidm@hpl.hp.com>
1891
1892         * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
1893         performance.
1894         * sysdeps/ia64/memcpy.S: Likewise.
1895
1896         * sysdeps/ia64/bcopy.S: New file.
1897
1898         * sysdeps/ia64/bzero.S: New file (derived from memset.S).
1899
1900 2001-05-26  Ulrich Drepper  <drepper@redhat.com>
1901
1902         * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
1903
1904 2001-05-24  Ulrich Drepper  <drepper@redhat.com>
1905
1906         * iconvdata/Makefile: Add rules for CP10007.
1907         * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
1908         * iconvdata/cp10007.c: New file.
1909         * iconvdata/tst-tables.sh: Add CP10007.
1910
1911 2001-05-23  kaz Kojima  <kkojima@rr.iij4u.or.jp>
1912
1913         * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
1914         (_dl_runtime_profile): Likewise..
1915
1916 2001-05-23  Thorsten Kukuk  <kukuk@suse.de>
1917
1918         * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
1919         * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
1920
1921 2001-05-19  H.J. Lu  <hjl@gnu.org>
1922
1923         * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
1924         errstring of the failed DSO to _dl_signal_error ().
1925
1926 2001-05-23  Ulrich Drepper  <drepper@redhat.com>
1927
1928         * iconvdata/gconv-modules: Add more aliases to enable use in
1929         locale names.
1930
1931 2001-05-23  Andreas Jaeger  <aj@suse.de>
1932
1933         * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
1934         Remove, it's not used anywhere anymore.
1935         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
1936         (CFLAGS-initfini.s): Likewise.
1937         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1938         (CFLAGS-initfini.s): Likewise.
1939         * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
1940         Likewise.
1941         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
1942         Likewise.
1943
1944 2001-05-21  Bruno Haible  <haible@clisp.cons.org>
1945
1946         * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
1947         use 0 instead, and rely on the converter to do the flush.
1948         * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
1949         utf8_test.
1950         (utf8_test_2, utf8_test_3): New function.
1951         (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
1952
1953 2001-05-22  Jakub Jelinek  <jakub@redhat.com>
1954
1955         * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
1956
1957         * elf/Makefile (distribute): Add reldep4mod[1234].c.
1958         (tests): Add reldep4.
1959         (modules-names): Add reldep4mod[1234].
1960         (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
1961         * elf/reldep4.c: New file.
1962         * elf/reldep4mod1.c: Likewise.
1963         * elf/reldep4mod2.c: Likewise.
1964         * elf/reldep4mod3.c: Likewise.
1965         * elf/reldep4mod4.c: Likewise.
1966
1967 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
1968
1969         * elf/dl-lookup.c (PROTECTED): Remove defines.
1970         (add_dependency): Mark it with internal_function.
1971         (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
1972         (_dl_lookup_symbol, _dl_lookup_symbol_skip,
1973         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
1974         it if we don't want do_lookup* inlined.
1975
1976 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
1977
1978         * include/link.h (struct r_scope_elem): Remove r_duplist and
1979         r_nduplist fields.
1980         * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
1981         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
1982         r_duplist.
1983         (_dl_lookup_versioned_symbol_skip): Likewise.
1984         * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
1985         (_dl_map_object_deps): Don't compute duplicate list.
1986
1987         * elf/dl-symbol.c: Removed.
1988         * elf/Makefile (routines): Remove dl-symbol.
1989
1990 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
1991
1992         * po/el.po: Update from translation team.
1993         * po/sv.po: Likewise.
1994
1995 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1996
1997         * iconvdata/cp1255.c: Completely rewritten.
1998         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
1999         * iconvdata/testdata/WINDOWS-1255: New file.
2000         * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
2001         * iconvdata/TESTS: Add WINDOWS-1255 test.
2002         * iconvdata/CP1255.irreversible: New file.
2003
2004 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
2005
2006         * iconvdata/cp1258.c: Completely rewritten.
2007         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
2008         * iconvdata/testdata/WINDOWS-1258: New file.
2009         * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
2010         * iconvdata/TESTS: Add WINDOWS-1258 test.
2011         * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
2012         the main call, and flush it afterwards.
2013         (utf8_decode): Return a string, possibly containing several Unicode
2014         characters.
2015         (main): Update all utf8_decode calls.
2016         * iconvdata/CP1258.irreversible: New file.
2017
2018 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
2019
2020         * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
2021         * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2.  In the
2022         first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
2023         EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
2024         the next step.  In the second case, clear the state without calling
2025         EMIT_SHIFT_TO_INIT.
2026         * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
2027         data->__outbuf, and outend instead of data->__outbufend.
2028         * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
2029         * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
2030         * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
2031         * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
2032         * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
2033         * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
2034         * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
2035         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
2036         * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
2037
2038 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
2039
2040         * elf/rtld.c (dl_main): Compute l_map_end for the main program.
2041         * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
2042         If match == _dl_loaded, caller can still come from the main program.
2043         (_dl_vsym): Likewise.
2044         * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
2045         * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
2046         * elf/restest2.c: New test.
2047         * elf/Makefile (tests): Add restest2.
2048         (restest2, LDFLAGS-restest2): Add rules.
2049
2050 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
2051
2052         * intl/Makefile: Add a few more dependencies to avoid races in the
2053         test shell scripts.
2054
2055 2001-05-22  Andreas Jaeger  <aj@suse.de>
2056
2057         * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
2058         Stephen L Moshier <moshier@mediaone.net>.
2059
2060 2001-05-22  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2061
2062         * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
2063         return addresses instead of the stack pointers.
2064         * sysdeps/s390/s390-64/backtrace.c: Likewise.
2065
2066 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
2067
2068         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
2069         bits/sigcontext.h instead of bits/sigstack.h.
2070         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
2071         multiple-inclusion guards.
2072
2073 2001-05-21  Andreas Jaeger  <aj@suse.de>
2074
2075         * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
2076         Patch by Philipp Thomas <pthomas@suse.de>.
2077
2078 2001-05-17  Bruce Mitchener  <bruce@cubik.org>
2079
2080         * manual/arpg.texi: Spelling, misc fixes.
2081         * manual/arith.texi: Likewise.
2082         * manual/crypt.texi: Likewise.
2083         * manual/debug.texi: Likewise.
2084         * manual/getopt.texi: Likewise.
2085         * manual/intro.texi: Likewise.
2086         * manual/memory.texi: Likewise.
2087         * manual/nss.texi: Likewise.
2088         * manual/pattern.texi: Likewise.
2089         * manual/process.texi: Likewise.
2090         * manual/resource.texi: Likewise.
2091         * manual/search.texi: Likewise.
2092         * manual/setjmp.texi: Likewise.
2093         * manual/signal.texi: Likewise.
2094         * manual/socket.texi: Likewise.
2095         * manual/stdio.texi: Likewise.
2096         * manual/string.texi: Likewise.
2097         * manual/sysinfo.texi: Likewise.
2098         * manual/terminal.texi: Likewise.
2099         * manual/llio.texi: Document madvise().
2100
2101 2001-05-20  Roland McGrath  <roland@frob.com>
2102
2103         * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
2104         found within $(add-ons) directories too.
2105         [linuxthreads add-on]: Move variable settings for linuxthreads
2106         to new file linuxthreads/Makeconfig.
2107
2108 2001-05-20  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2109
2110         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
2111         Define for linux >= 2.4.5 on powerpc.
2112         (__ASSUME_MMAP2_SYSCALL): Likewise.
2113
2114 2001-05-19  Roland McGrath  <roland@frob.com>
2115
2116         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
2117         result port when failing with ELOOP.  Do the ELOOP check when
2118         following an absolute symlink target as well as relative.
2119         Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
2120
2121 2001-05-18  Andreas Jaeger  <aj@suse.de>
2122
2123         * po/fr.po: Free software is "logiciel libre".
2124         Patch by Martin Michlmayr <tbm@cyrius.com>.
2125
2126         * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
2127         Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
2128
2129 2001-05-17  David Mosberger  <davidm@hpl.hp.com>
2130
2131         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
2132
2133 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
2134
2135         * elf/dl-profile.c (_dl_mcount): Check whether state is
2136         GMON_PROF_ON before doing anything.
2137
2138 2001-05-17  H.J. Lu  <hjl@gnu.org>
2139
2140         * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
2141
2142 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
2143
2144         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
2145         CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
2146         Reported by Mark Burton <markb@ordern.com>.
2147
2148 2001-05-17  Jakub Jelinek  <jakub@redhat.com>
2149
2150         * elf/ldconfig.c (add_dir): Only warn about stat failure if
2151         opt_verbose.
2152         (search_dir): Likewise.
2153
2154 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
2155
2156         * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
2157         parameter of xaddl.  Patch by H . J . Lu <hjl@lucon.org>.
2158
2159 2001-05-14  Bruno Haible  <haible@clisp.cons.org>
2160
2161         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
2162         without previous announcement, reject it regularly, don't abort.
2163
2164 2001-05-16  Ulrich Drepper  <drepper@redhat.com>
2165
2166         * math/tgmath.h: Fix handling of int parameters to binary and
2167         ternary functions.  Reported by mitr@volny.cz.
2168
2169         * math/test-tgmath.c: Add tests for calls with integer parameters.
2170
2171 2001-05-15  Jakub Jelinek  <jakub@redhat.com>
2172
2173         * sunrpc/rpc_thread.c (rpc_default): Remove.
2174         (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
2175         rpc_default.
2176         (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
2177         __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
2178         * sunrpc/auth_none.c (authnone_private): Fix a typo.
2179
2180 2001-05-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2181
2182         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
2183
2184 2001-05-16  Bruce Mitchener  <bruce@cubik.org>
2185
2186         * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
2187
2188 2001-05-15  Andreas Jaeger  <aj@suse.de>
2189
2190         * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
2191         Stephen L Moshier <moshier@mediaone.net>.
2192
2193         * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
2194
2195         * math/libm-test.inc: Add comment with ToDo.
2196
2197         * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
2198         accurate algorithm.  Patch by Stephen L Moshier <moshier@mediaone.net>.
2199
2200         * sysdeps/i386/fpu/e_expl.S: Removed.
2201
2202 2001-05-14  Roland McGrath  <roland@frob.com>
2203
2204         * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
2205         static pattern rule also that also covers
2206         $(objpx)g$(static-start-installed-name).
2207         [$(start-installed-name) != $(static-start-installed-name)]
2208         (extra-objs, omit-deps, install-lib): Add
2209         $(static-start-installed-name) and g$(static-start-installed-name).
2210         * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
2211         just setting static-start-installed-name is now sufficient.
2212         (extra-objs): Add static-start.o here.
2213         (CFLAGS-initfini.s): Remove obsolete variable.
2214         * sysdeps/mach/hurd/i386/Makeconfig: New file.
2215         Define static-start-installed-name here.
2216
2217         * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
2218         * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
2219
2220         * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
2221         associated hair.  Instead, just use $(wildcard ...) in the include.
2222
2223         * configure.in (critic_missing, aux_missing): Collect in these vars
2224         the names of the missing programs, and include them in the error msgs.
2225         * configure: Regenerated.
2226
2227 2001-05-14  Andreas Jaeger  <aj@suse.de>
2228
2229         * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
2230
2231         * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
2232
2233 2001-05-14  Stephen L Moshier <moshier@mediaone.net>
2234
2235         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
2236
2237 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
2238
2239         * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
2240         as well if swapping strings.
2241         Make sure stop is not past end of second string.
2242         * posix/bug-regex4.c: New test.
2243         * posix/Makefile (tests): Add bug-regex4.
2244
2245 2001-05-10  Andreas Jaeger  <aj@suse.de>
2246
2247         * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
2248         requirement.
2249
2250 2001-05-12  Andreas Jaeger  <aj@suse.de>
2251
2252         * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
2253         internal prototypes.
2254         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2255         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2256         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2257         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2258         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2259         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2260         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2261
2262         * math/math_private.h: Add prototypes for internal functions of
2263         the IBM Accurate Mathematical Library.
2264
2265         * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
2266         prototypes.
2267         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2268
2269         * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
2270         internal prototypes.
2271         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2272         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2273         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2274         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2275         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2276         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2277         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2278         * sysdeps/generic/e_rem_pio2l.c: Likewise.
2279         (__ieee754_rem_pio2l): Fix prototype.
2280
2281         * math/math_private.h (__copysign): Add internal prototype.
2282
2283 2001-05-11  Andreas Jaeger  <aj@suse.de>
2284
2285         * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
2286         * sysdeps/unix/sysv/linux/mips/configure.in: ...here.  New file.
2287
2288 2001-05-11  Andreas Jaeger  <aj@suse.de>
2289
2290         * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
2291         MIPS.
2292
2293         * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
2294         format directive.  Patch by Steven J. Hill <sjhill@cotw.com>.
2295
2296 2001-05-11  Roland McGrath  <roland@frob.com>
2297
2298         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
2299         $(build-module) here, since we don't need the full magilla.
2300         Just use $(build-module-helper) and append our special options.
2301
2302 2001-05-09  Andreas Schwab  <schwab@suse.de>
2303
2304         * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
2305         reached EOF.
2306
2307 2001-05-07  H.J. Lu  <hjl@gnu.org>
2308
2309         * elf/ldconfig.c (dir_entry): Add ino and dev.
2310         (add_single_dir): Compare ino and dev to check if 2 directory
2311         paths are the same or not.  Free entry->path for duplicates.
2312         (add_dir): Initialize ino and dev for entry.
2313         (search_dir): Handle symlink to directory.
2314
2315 2001-05-07  Andreas Jaeger  <aj@suse.de>
2316
2317         * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
2318
2319         * math/libm-test.inc (exp_test): Add some more tests.
2320         (pow_test): Run double only test also for long double.
2321
2322         * math/test-ldouble.c (TEST_LDOUBLE): Define.
2323         * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
2324
2325         * sysdeps/generic/bits/confname.h: Remove extra comma at end of
2326         enumeration.
2327         Closes PR libc/2240.
2328
2329         * scripts/config.guess: Imported from gnu.org.
2330         * scripts/config.sub: Likewise.
2331
2332 2001-05-05  Jakub Jelinek  <jakub@redhat.com>
2333
2334         * include/features.h (__USE_EXTERN_INLINES): Don't define if
2335         __NO_INLINE__ is defined.
2336         * ctype/ctype.h (tolower, toupper): Change the guard condition to
2337         __USE_EXTERN_INLINES check only.
2338         * stdlib/stdlib.h (strtod, ...): Likewise.
2339         * wcsmbs/wchar.h (mbrlen): Likewise.
2340         * string/string.h: Only include bits/string.h and bits/string2.h
2341         if __NO_INLINE__ is not defined.
2342
2343 2001-05-07  Andreas Jaeger  <aj@suse.de>
2344
2345         * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
2346         of @LIBDIR@.
2347
2348 2001-05-04  H.J. Lu  <hjl@gnu.org>
2349
2350         * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
2351         not @LIBDIR@.
2352
2353 2001-05-06  Andreas Jaeger  <aj@suse.de>
2354
2355         * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
2356         * sysdeps/i386/fpu/e_fmodl.S: Removed.
2357         * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
2358         * sysdeps/i386/fpu/e_atan2l.S: Removed.
2359         * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
2360         * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
2361         * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
2362         * sysdeps/i386/fpu/e_acosl.S: Removed.
2363         * sysdeps/i386/fpu/s_atanl.S: Removed.
2364         * sysdeps/i386/fpu/e_sqrtl.S: Removed.
2365
2366 2001-05-05  Mark Kettenis  <kettenis@gnu.org>
2367
2368         * sysdeps/mach/hurd/bits/environments.h: Add comment from
2369         sysdeps/generic/bits/environments.h.  Define _POSIX_V6_* values.
2370
2371 2001-04-30  Jakub Jelinek  <jakub@redhat.com>
2372
2373         * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
2374         that _CS_LFS_CFLAGS can fall through to the empty returned string
2375         case.  Add FALLTHROUGH comment.
2376
2377 2001-04-29  Ralf Baechle  <ralf@gnu.org>
2378
2379         * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
2380         definitions match the kernel definitions.
2381         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
2382         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
2383
2384 2001-04-29  Ben Collins  <bcollins@debian.org>
2385
2386         * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
2387         warnings.
2388         * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
2389         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2390         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2391         * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
2392         * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
2393         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2394         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2395         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2396         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2397         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2398         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2399         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2400         * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
2401         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2402         * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
2403         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2404         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2405         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2406         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2407         * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
2408         * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
2409         * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
2410         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2411
2412 2001-04-29  Andreas Schwab  <schwab@suse.de>
2413
2414         * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
2415         in last change.
2416
2417 2001-04-29  Andreas Jaeger  <aj@suse.de>
2418
2419         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2420         Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
2421
2422         * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
2423         Linux 2.4.4.
2424         (AF_WANPIPE): Likewise.
2425         (MSG_MORE): New.
2426
2427         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
2428         for Linux generic version.
2429         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
2430         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2431         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2432         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
2433
2434         * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
2435
2436 2001-04-27  Ulrich Drepper  <drepper@redhat.com>
2437
2438         * nis/nss-nis.h: Correct test for invalid error number.
2439         * nis/nss-nisplus.h: Likewise.
2440
2441         * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
2442
2443 2001-04-26  Ulrich Drepper  <drepper@redhat.com>
2444
2445         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
2446
2447         * string/strcoll.c: Fix two memory allocation problems.
2448         * string/Makefile (tests): Add bug-strcoll1.
2449         * string/bug-strcoll1.c: New file.
2450
2451         * malloc/mcheck.c (mcheck): Call malloc once before setting the
2452         hooks to allow the internal check hooks to be set up if necessary.
2453
2454         * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
2455         and rename to __yperr2nss_tab.  Change YPERR_COUNT into variable
2456         __yperr2nss_count.
2457         * nis/nss-nis.c: New file.
2458         * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
2459         and rename to __niserr2nss_tab.  Change NISERR_COUNT into variable
2460         __niserr2nss_count.
2461         * nis/nss-nisplus.c: New file.
2462         * nis/Makefile (libnss_compat-routines): Add nss-nis.
2463         (libnss_nis-routines): Likewise.
2464         (libnss_nisplus-routines): Add nss-nisplus.
2465
2466         * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
2467         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
2468         * nis/nss_nisplus/nisplus-grp.c: Likewise.
2469         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
2470         * nis/nss_nisplus/nisplus-network.c: Likewise.
2471         * nis/nss_nisplus/nisplus-proto.c: Likewise.
2472         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
2473         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
2474         * nis/nss_nisplus/nisplus-service.c: Likewise.
2475         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
2476         * nis/nss_nis/nis-alias.c: Likewise.
2477         * nis/nss_nis/nis-ethers.c: Likewise.
2478         * nis/nss_nis/nis-grp.c: Likewise.
2479         * nis/nss_nis/nis-network.c: Likewise.
2480         * nis/nss_nis/nis-proto.c: Likewise.
2481         * nis/nss_nis/nis-pwd.c: Likewise.
2482         * nis/nss_nis/nis-spwd.c: Likewise.
2483         * nis/nss_compat/compat-grp.c: Likewise.
2484         * nis/nss_compat/compat-initgroups.c: Likewise.
2485         * nis/nss_compat/compat-pwd.c: Likewise.
2486         * nis/nss_compat/compat-spwd.c: Likewise.
2487
2488         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
2489         optimizations.  Patch by Jakub Jelinek <jakub@redhat.com>.
2490
2491 2001-04-26  Andreas Jaeger  <aj@suse.de>
2492
2493         * po/zh_TW.po: Update.
2494         Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
2495
2496 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
2497
2498         * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
2499         compiler command line.
2500         * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
2501         command line for malloc.c.
2502
2503 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
2504
2505         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
2506         * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
2507         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
2508         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
2509         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here.  Adjust
2510         struct msghdr for __WORDSIZE == 32.
2511         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
2512         * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here.  Adjust
2513         for __WORDSIZE == 32.
2514         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
2515         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
2516         file.
2517         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
2518         Rename from longjmp, make longjmp weak alias to it.
2519
2520 2001-04-24  David S. Miller  <davem@redhat.com>
2521
2522         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
2523
2524 2001-04-25  Matthew Wilcox  <willy@ldl.fc.hp.com>
2525
2526         * sysdeps/hppa/stackinfo.h: New file.
2527         * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
2528         * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
2529         * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
2530         * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
2531         of PA kernel features.
2532
2533 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
2534
2535         * locale/programs/localedef.c (main): Always set a file name for
2536         the initial locale.
2537         * locale/programs/locfile.c (locfile_read): filename is allowed to
2538         be NULL.
2539
2540 2001-04-12  Paul Bame  <paul_bame@hp.com>
2541
2542         * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
2543         enable flags.
2544
2545 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
2546
2547         * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
2548         _XBS5_LPBIG_OFFBIG): Define to -1.
2549         Fix typos.
2550
2551         * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
2552         * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
2553         * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2554         * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2555
2556         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
2557         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
2558
2559 2001-03-21  Alan Modra  <alan@one.net.au>
2560
2561         * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
2562         value from application so that constructors in non-PIC libs work.
2563
2564 2000-12-13  Jes Sorensen  <jes@linuxcare.com>
2565
2566         * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
2567         function pointer, hence load the jump address and gp from the
2568         function pointer before jumping.
2569
2570 2001-04-24  Andreas Jaeger  <aj@suse.de>
2571
2572         * sysdeps/generic/send.c (__send): Return ssize_t.
2573         * sysdeps/mach/hurd/send.c (__send): Likewise.
2574         * sysdeps/mach/hurd/recv.c (recv): Likewise.
2575         * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
2576         * sysdeps/generic/sendto.c (sendto): Likewise.
2577         * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
2578         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
2579         * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
2580         * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
2581
2582         * socket/sys/socket.h: send* and recv* return ssize_t.
2583
2584         * include/sys/socket.h: send returns ssize_t.
2585
2586         * sysdeps/i386/fpu_control.h: Fix comments.
2587
2588 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
2589
2590         * sysdeps/ia64/Dist: Add hp-timing.c.
2591         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
2592         * posix/Makefile (distribute): Add tst-getconf.sh.
2593         * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
2594
2595 2001-04-23  Ulrich Drepper  <drepper@redhat.com>
2596
2597         * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
2598         * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
2599         * sysdeps/ia64/hp-timing.c: New file.
2600         * sysdeps/ia64/hp-timing.h: New file.
2601         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
2602         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
2603
2604         * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
2605         using #ifdef whether the clock is available.
2606         * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
2607
2608         * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
2609         it into data section.
2610
2611         * sysdeps/unix/i386/i586/clock_getres.c: Removed.
2612         * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
2613         * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
2614         * sysdeps/unix/i386/i586/clock_settime.c: Removed.
2615         * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
2616         * sysdeps/generic/cpuclock-init.h: Removed.
2617         * sysdeps/unix/i386/i686/Implies: Removed.
2618         * sysdeps/unix/i386/i686/tempname.c: Removed.
2619         * sysdeps/i386/i686/Versions: New file.
2620         * sysdeps/unix/i386/i586/Versions: Removed.
2621
2622         * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
2623         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
2624         * sysdeps/unix/clock_gettime.c: Likewise.
2625         * sysdeps/unix/clock_nanosleep.c: Likewise.
2626         * sysdeps/unix/clock_settime.c: Likewise.
2627         * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
2628         RANDOM_BITS use CPU clock.
2629
2630         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
2631         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
2632         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
2633         * sysdeps/sparc/Versions: New file.
2634
2635         * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
2636         hp-timing.h definitions.
2637         * sysdeps/generic/dl-sysdep.c: Likewise.
2638
2639         * include/libc-internal.h: Include hp-timing.h.  Use hp_timing_t in
2640         __get_clockfreq prototype.
2641
2642         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2643         Use hp_timing_t type.
2644         * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
2645
2646         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
2647
2648         * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
2649         whether named file is a regular file or a block device.
2650         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2651
2652 2001-04-23  Andreas Jaeger  <aj@suse.de>
2653
2654         * nscd/nscd.h: Add noreturn attribute for start_threads.
2655
2656 2001-04-22  Ulrich Drepper  <drepper@redhat.com>
2657
2658         * posix/getconf.c: Fix names of XBS5 LFS test variables.
2659         Add missing configuration variables from XPG6.
2660         * posix/tst-getconf.c: New file.
2661         * posix/Makefile (generated): Add tst-getconf.out.
2662         (tests): Add ($objpfx)tst-getconf.out.
2663         Add rule to run tst-getconf.sh.
2664         * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
2665         from XPG6.
2666         * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
2667         _PC_SYMLINK_MAX.
2668         * sysdeps/posix/pathconf.c: Likewise.
2669         * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
2670         and _SC_SYMLOOP_MAX.
2671
2672 2001-04-22  Philip Blundell  <philb@gnu.org>
2673
2674         * sysdeps/arm/fpu/feenablxcpt.c: New file.
2675         * sysdeps/arm/fpu/fedisablxcpt.c: New file.
2676         * sysdeps/arm/fpu/fegetexcpt.c: New file.
2677
2678 2001-04-22  Philip Blundell  <philb@gnu.org>
2679
2680         * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
2681         Renamed from struct user_fp.
2682         (struct user_regs): New.
2683         (struct user): Use struct user_regs rather than struct pt_regs to
2684         avoid dependency on asm/ptrace.h.  Use struct user_fpregs in place
2685         of struct user_fp and struct user_fp_struct.
2686         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
2687         not sys/elf.h.
2688
2689 2001-04-22  Philip Blundell  <philb@gnu.org>
2690
2691         * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
2692         sys/procfs.h, and tell the user to include that file instead.
2693         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
2694         surrounded with #if 0.
2695         (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
2696         from sys/elf.h.
2697         (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
2698         elf_fpregset_t respectively.
2699
2700 2001-04-22  Philip Blundell  <philb@gnu.org>
2701
2702         * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
2703         address that faulted.
2704
2705 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
2706
2707         * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
2708         values.
2709         * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
2710         * posix/confstr.c: Handle _CS_POSIX_V6_* values.
2711         * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
2712         * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
2713
2714         * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
2715         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2716         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2717         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2718
2719 2001-04-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2720
2721         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
2722         offset.
2723
2724 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
2725
2726         * posix/getopt.h: Treat __cplusplus like __STDC__.
2727
2728 2001-04-20  John S. Marvin  <jsm@fc.hp.com>
2729
2730         * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
2731         entry point stub.
2732
2733 2001-04-20  Richard Hirst  <rhirst@linuxcare.com>
2734
2735         * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
2736         and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
2737
2738         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
2739         entry so the ptrace.c wrapper is used.
2740
2741 2001-04-20  Alan Modra  <amodra@one.net.au>
2742
2743         * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
2744         (DL_FUNCTION_ADDRESS): Define.
2745         (DL_DT_INIT_ADDRESS): Define.
2746         (DL_DT_FINI_ADDRESS): Define.
2747         * sysdeps/hppa/Versions: Add _dl_function_address.
2748         * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
2749         * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
2750         _dl_function_address.
2751
2752 2001-04-21  Andreas Jaeger  <aj@suse.de>
2753
2754         * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
2755         * resolv/gai_misc.c (handle_requests): Likewise.
2756         * malloc/obstack.c (print_and_abort): Likewise.
2757         * malloc/mcheck.c (mabort): Likewise.
2758
2759         * sysdeps/unix/i386/i586/clock_settime.c: Include
2760         "libc-internal.h" for __get_clockfreq declaration.
2761
2762 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
2763
2764         * elf/dl-support.c: Include cpuclock-init.h.  Use CPUCLOCK_VARDEF and
2765         CPUCLOCK_INIT if defined.
2766         * sysdeps/generic/dl-sysdep.c: Likewise.
2767         * sysdeps/generic/cpuclock-init.h: New file.
2768         * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
2769         * sysdeps/unix/i386/i586/Versions: New file.
2770         * sysdeps/unix/i386/i586/clock_settime.c: New file.
2771         * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
2772         separately by calling __pthread_clock_gettime if this function is
2773         available.  Subtract offset from tsc value before computing time value.
2774
2775 2001-04-20  Ulrich Drepper  <drepper@redhat.com>
2776
2777         * iconv/iconv_prog.c (print_known_names): If printing goes not to
2778         a tty print in a more machine-friendly way.
2779
2780         * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
2781         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2782
2783 2001-04-20  Andreas Jaeger  <aj@suse.de>
2784
2785         * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
2786
2787 2001-04-20  Andreas Schwab  <schwab@suse.de>
2788
2789         * sysdeps/m68k/fpu/libm-test-ulps: Update.
2790
2791 2001-04-19  Alan Modra  <amodra@one.net.au>
2792
2793         * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
2794         * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
2795         (CFLAGS-.os): Remove.
2796
2797         * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
2798
2799         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
2800         gregset): Correct for new kernel definitions.
2801
2802 2001-04-19  Alan Modra  <alan@linuxcare.com.au>
2803
2804         * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
2805         generate unwind info by hand.
2806
2807 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
2808
2809         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
2810
2811         * configure.in: Correct regular expression for msgfmt.
2812         Patch by Bruno Haible <haible@ilog.fr>.
2813
2814 2001-04-19  Andreas Jaeger  <aj@suse.de>
2815
2816         * po/el.po: Add comment explaining what's broken.
2817
2818         * po/Makefile (BROKEN_LINGUAS): New.
2819         (ALL_LINGUAS): Don't add broken languages.
2820
2821 2001-04-19  Roland McGrath  <roland@frob.com>
2822
2823         * sysdeps/mach/hurd/mlock.c: New file.
2824         * sysdeps/mach/hurd/munlock.c: New file.
2825         * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
2826
2827         * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
2828         * sysdeps/generic/mlock.c: New file.
2829         * sysdeps/generic/munlock.c: New file.
2830         * sysdeps/generic/mlockall.c: New file.
2831         * sysdeps/generic/munlockall.c: New file.
2832         * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
2833         * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
2834         mlockall, munlockall): Change caller field to - from EXTRA.
2835         Don't use __ names; not used (and not declared in include/sys/mman.h).
2836
2837         * hurd/privports.c (__get_privileged_ports): Renamed with __.
2838         Use __ names for calls we make.
2839         (get_privileged_ports): Add alias.
2840         * hurd/hurd.h: Declare it with the __ name.
2841         * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
2842         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
2843         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
2844
2845         * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
2846         nothing if it's zero.
2847
2848 2001-04-19  Matthew Wilcox  <willy@ldl.fc.hp.com>
2849
2850         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
2851         Change to return a signed result for compatibility with other
2852         architectures, and correctness.
2853
2854 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
2855
2856         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
2857         HPPA always had them.  Patch by Matthew Wilcox <matthew@wil.cx>.
2858
2859 2001-04-19  Andreas Jaeger  <aj@suse.de>
2860
2861         * configure.in: Require gettext 0.10.36 or newer.
2862
2863         * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
2864
2865         * po/zh_TW.po: Remove extraneous backslashes.
2866
2867         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
2868         variables b and n.
2869
2870 2001-04-18  Jakub Jelinek  <jakub@redhat.com>
2871
2872         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
2873         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
2874         * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
2875         * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
2876         Copy first word of uc_sigmask into __uc_sigmask.
2877         * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
2878         Save uc_link around trap.  Copy __uc_sigmask into first word of
2879         uc_sigmask, clear the rest.  Make sure setcontext to the created
2880         context doesn't do this though.
2881         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
2882         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
2883         uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
2884         64bit version, make uc_sigmask __sigset_t in the 32bit version.
2885
2886 2001-04-19  Andreas Jaeger  <aj@suse.de>
2887
2888         * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
2889
2890         * rt/Makefile (otherlibs): Added for static NSS.
2891
2892         * glibcbug.in (BUGGLIBC): Send to new alias.
2893
2894 2001-04-02  Andreas Schwab  <schwab@suse.de>
2895
2896         * Makerules (build-module): Make sure exit codes get checked
2897         properly and remove unnecessary slashes.
2898
2899 2001-04-17  Ulrich Drepper  <drepper@redhat.com>
2900
2901         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2902         Handle kernels which report only three digits after the decimal point.
2903         Reported by Van Okamura <van.okamura@oracle.com>.
2904
2905         * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
2906
2907 2001-04-17  David S. Miller  <davem@redhat.com>
2908
2909         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
2910         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2911
2912 2001-04-17  Jakub Jelinek  <jakub@redhat.com>
2913
2914         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
2915         desired exceptions are raised for exceptional values.
2916         * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
2917         cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
2918         clog_test, log_test, log1p_test, tan_test): Increase precision of
2919         expected values to satisfy ldbl-128.
2920         * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
2921         * sysdeps/arm/libm-test-ulps: Likewise.
2922         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2923         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2924         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
2925         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2926         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2927         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2928         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2929         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2930         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2931
2932 2001-04-17  Andreas Jaeger  <aj@suse.de>
2933
2934         * configure.in: Move test for critical programs up.
2935
2936 2001-04-16  Stephen L Moshier  <moshier@mediaone.net>
2937
2938         * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
2939         Correct the values.
2940         (pSx, qSx): Replace by shorter approximation.
2941         Use f suffix on float constants.
2942
2943 2001-04-16  Ulrich Drepper  <drepper@redhat.com>
2944
2945         * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
2946         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2947
2948         * string/string.h: Replace const in attribute list with __const__.
2949
2950 2001-04-16  Roland McGrath  <roland@frob.com>
2951
2952         * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
2953         instead of the constant NGROUPS_MAX.  That way, the limit can be
2954         raised in the kernel configuration without having to recompile libc.
2955
2956         * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
2957         define NGROUPS_MAX; we don't use it here.
2958
2959 2001-04-16  Andreas Jaeger  <aj@suse.de>
2960
2961         * math/libm-test.inc (atan2_test): Add more testcases.
2962
2963         * iconv/gconv_db.c: Include gconv_charset.h for
2964         __gconv_lookup_alias prototype.
2965
2966 2001-04-13  Ulrich Drepper  <drepper@redhat.com>
2967
2968         * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
2969         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2970
2971 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
2972
2973         * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
2974
2975 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
2976
2977         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
2978         explicitly pad struct siginfo instead of relying on compiler padding.
2979
2980 2001-04-12  Ulrich Drepper  <drepper@redhat.com>
2981
2982         * sysdeps/ia64/Dist: Add elf/entry.h.
2983
2984         * iconvdata/Makefile (distribute): Add TESTS2.
2985
2986 2001-04-13  Jakub Jelinek  <jakub@redhat.com>
2987
2988         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
2989         Calculate load address differently.
2990
2991 2001-04-12  Bruno Haible  <haible@clisp.cons.org>
2992
2993         * iconvdata/TESTS2: New file.
2994         * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
2995         * iconvdata/testdata/alfabeta..UTF-8: New file.
2996         * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
2997         * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
2998         * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
2999         * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
3000
3001 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
3002
3003         * iconvdata/utf-32.c: New file.
3004         * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
3005         * iconvdata/Makefile (modules): Add UTF-32.
3006         (distribute): Add utf-32.c.
3007
3008 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
3009
3010         * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
3011         changing it in the state.  After incrementing 'inptr', store it back.
3012         * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
3013         store it back.
3014
3015 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
3016
3017         * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
3018         MIN_NEEDED_FROM.
3019
3020 2001-04-11  David Mosberger  <davidm@hpl.hp.com>
3021
3022         * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
3023         * sysdeps/ia64/htons.S: Likewise.
3024
3025         * sysdeps/ia64/memset.S: Add unwind directives.
3026         * sysdeps/ia64/strncpy.S: Likewise.
3027         * sysdeps/ia64/strcat.S: Likewise.
3028
3029         * sysdeps/ia64/memccpy.S: Add unwind directives.  Drop superfluous
3030         restore of ar.pfs.
3031         * sysdeps/ia64/strchr.S: Likewise.
3032         * sysdeps/ia64/memmove.S: Likewise.
3033         * sysdeps/ia64/memcpy.S: Likewise.
3034         * sysdeps/ia64/memcmp.S: Likewise.
3035         * sysdeps/ia64/memchr.S: Likewise.
3036         * sysdeps/ia64/strcmp.S: Likewise.
3037         * sysdeps/ia64/strlen.S: Likewise.
3038         * sysdeps/ia64/strcpy.S: Likewise.
3039         * sysdeps/ia64/strncmp.S: Likewise.
3040
3041 2001-04-11  Jakub Jelinek  <jakub@redhat.com>
3042
3043         * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
3044         fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
3045         fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
3046         fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
3047
3048 2001-04-11  Andreas Jaeger  <aj@suse.de>
3049
3050         * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
3051
3052 2001-04-11  Andreas Schwab  <schwab@suse.de>
3053
3054         * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
3055
3056 2001-04-11  Ulrich Drepper  <drepper@redhat.com>
3057
3058         * sysdeps/arm/stackinfo.h: New file.
3059
3060 2001-04-08  Thorsten Kukuk  <kukuk@suse.de>
3061
3062         * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
3063         rpcgen to generate thread safe code.
3064
3065 2001-04-10  Andreas Jaeger  <aj@suse.de>
3066
3067         * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
3068
3069 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
3070
3071         * elf/dl-minimal.c (__assert_fail): Change error string.  It's
3072         most of the time no bug in ld.so.
3073         (__assert_perror_fail): Likewise.
3074
3075 2001-04-11  Hans-Peter Nilsson  <hp@axis.com>
3076
3077         * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
3078         from struct to unsigned int.
3079
3080 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3081
3082         * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
3083         AT_IGNOREPPC): New defines.
3084         * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
3085         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
3086         Define for newer powerpc kernels.
3087         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
3088         DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
3089
3090 2000-4-10  kaz Kojima  <kkojima@rr.iij4u.or.jp>
3091
3092         * sysdeps/sh/stackinfo.h: New file.
3093
3094 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
3095
3096         * locale/tst-C-locale.c (run_test): Add tests for locale objects.
3097         * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
3098         __ctype_tolower, and __ctype_toupper elements.
3099
3100         * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
3101         Reported by Konstantin Osipov <rabid@spylog.ru>.
3102
3103         * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
3104         the lousy AMD FPU.
3105
3106 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3107
3108         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
3109         * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
3110         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
3111         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
3112
3113 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
3114
3115         * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
3116         message.  Based on a patch by HJ Lu.
3117
3118 2001-04-10  Andreas Schwab  <schwab@suse.de>
3119
3120         * math/libm-test.inc (csinh_test): Don't require the invalid
3121         exception for csinh (x + iNaN), but make it optional.
3122
3123 2001-04-09  David Mosberger  <davidm@hpl.hp.com>
3124
3125         * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
3126
3127         * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
3128         * sysdeps/ia64/elf/entry.h: New file.
3129         * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
3130         __start.
3131         * elf/rtld.c: Don't declare ENTRY_POINT.  Use ENTRY_POINT instead
3132         of &ENTRY_POINT.
3133         * sysdeps/generic/dl-sysdep.c: Likewise.
3134         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3135         * sysdeps/ia64/elf/start.S: Save base address of register backing
3136         store in __libc_ia64_register_backing_store_base.
3137
3138 2001-04-10  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3139
3140         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
3141         value of getcontext.
3142         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3143         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
3144         value of setcontext.
3145         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3146         * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
3147         call by changing the saved context.
3148
3149 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
3150
3151         * sysdeps/alpha/stackinfo.h: New file.
3152         * sysdeps/ia64/stackinfo.h: New file.
3153
3154 2001-04-10  Andreas Schwab  <schwab@suse.de>
3155
3156         * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
3157         values.
3158         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
3159
3160 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
3161
3162         * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
3163         * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
3164
3165         * libio/Makefile (distribute): Add fd_to_filename.h.
3166
3167 2001-04-05  David S. Miller  <davem@redhat.com>
3168
3169         Add hp-timing support for sparcv9/sparc64 targets.
3170         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
3171         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
3172         * sysdeps/sparc/sparc64/hp-timing.c: New file
3173         * sysdeps/sparc/sparc64/hp-timing.h: New file
3174         * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
3175         * sysdeps/sparc/sparc64/Makefile: Likewise.
3176
3177 2001-04-09  Jakub Jelinek  <jakub@redhat.com>
3178
3179         * sysdeps/generic/fd_to_filename.h: New file.
3180         * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
3181         * libio/freopen.c (freopen): If FILENAME is NULL, try to get
3182         filename from the open file descriptor.
3183         * libio/freopen64.c (freopen64): Likewise.
3184
3185 2001-04-09  Bruno Haible  <haible@clisp.cons.org>
3186
3187         * misc/error.c (error): fflush stdout also if
3188         error_print_progname != NULL.
3189         (error_at_line): Likewise.
3190
3191 2001-04-07  Bruno Haible  <haible@clisp.cons.org>
3192
3193         * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
3194         (struct binding): Add codeset_cntr field.
3195         (_nl_load_domain): Add domainbinding argument.
3196         (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
3197         (_nl_find_msg): New declaration, moved here from loadinfo.h.
3198         * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
3199         (_nl_make_l10nflist): Remove domainbinding argument.
3200         (_nl_find_msg): Move declaration to gettextP.h.
3201         * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
3202         to 0.  Increment it when ->codeset is changed.
3203         * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
3204         (_nl_find_msg): Add domainbinding argument.  Reinitialize the converter
3205         if domainbinding->codeset_cntr has been incremented.
3206         * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
3207         _nl_make_l10nflist().  Pass it to _nl_load_domain() instead.
3208         * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
3209         * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
3210          from _nl_load_domain.  Append //TRANSLIT also when using libiconv.
3211         (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
3212         (_nl_load_domain): Add domainbinding argument.  Call
3213         _nl_init_domain_conv.
3214         (_nl_unload_domain): Call _nl_free_domain_conv.
3215         * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
3216         (test-srcs): Add tst-codeset.
3217         (tests): Depend on tst-codeset.out.
3218         (tst-codeset.out): New rule.
3219         (CFLAGS-tst-codeset.c): New variable.
3220         * intl/tst-codeset.sh: New file.
3221         * intl/tstcodeset.po: New file.
3222         * intl/tst-codeset.c: New file.
3223         * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
3224         calls.
3225
3226 2001-04-07  Roland McGrath  <roland@frob.com>
3227
3228         * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
3229
3230 2001-03-31  Roland McGrath  <roland@frob.com>
3231
3232         * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
3233         copying send rights into child.  When we hit our name for our proc
3234         port, just copy NEWPROC directly instead of repeating proc_task2proc
3235         to install the child's port.
3236
3237 2001-04-08  Roland McGrath  <roland@frob.com>
3238
3239         * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
3240         in second column, to provide default values for third column.
3241         * shlib-versions: Add comments about using DEFAULT in second column.
3242         (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
3243         (cris-.*-linux.*): Likewise.
3244
3245 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
3246
3247         * Makefile (distribute): Add scripts/documented.sh.
3248         * scripts/documented.sh: New file.
3249
3250 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3251
3252         * sysdeps/unix/sysv/linux/cris/Dist: New file.
3253         * sysdeps/unix/sysv/linux/cris/Makefile: New file.
3254         * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
3255         * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
3256         * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
3257         * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
3258         * sysdeps/unix/sysv/linux/cris/brk.c: New file.
3259         * sysdeps/unix/sysv/linux/cris/chown.c: New file.
3260         * sysdeps/unix/sysv/linux/cris/clone.S: New file.
3261         * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
3262         * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
3263         * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
3264         * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
3265         * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
3266         * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
3267         * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
3268         * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
3269         * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
3270         * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
3271         * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
3272         * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
3273         * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
3274         * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
3275         * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
3276         * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
3277         * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
3278         * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
3279         * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
3280         * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
3281         * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
3282         * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
3283         * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
3284         * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
3285         * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
3286         * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
3287         * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
3288         * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
3289         * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
3290         * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
3291         * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
3292         * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
3293         * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
3294         * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
3295         * sysdeps/unix/sysv/linux/cris/socket.S: New file.
3296         * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
3297         * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
3298         * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
3299         * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
3300         * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
3301         * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
3302
3303 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3304
3305         * sysdeps/cris/Dist: New file.
3306         * sysdeps/cris/Implies: New file.
3307         * sysdeps/cris/Makefile: New file.
3308         * sysdeps/cris/__longjmp.S: New file.
3309         * sysdeps/cris/_mcount.S: New file.
3310         * sysdeps/cris/bits/endian.h: New file.
3311         * sysdeps/cris/bits/setjmp.h: New file.
3312         * sysdeps/cris/bits/string.h: New file.
3313         * sysdeps/cris/dl-machine.h: New file.
3314         * sysdeps/cris/elf/start.S: New file.
3315         * sysdeps/cris/machine-gmon.h: New file.
3316         * sysdeps/cris/memcopy.h: New file.
3317         * sysdeps/cris/memusage.h: New file.
3318         * sysdeps/cris/setjmp.S: New file.
3319         * sysdeps/cris/sysdep.h: New file.
3320         * sysdeps/cris/wordcopy.c: New file.
3321
3322 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3323
3324         * elf/elf.h: Add new relocations for CRIS.
3325
3326 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3327
3328         * shlib-versions: Add cases for Linux on CRIS.
3329
3330 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3331
3332         * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
3333         ';' for comments and '@' for line separator.
3334
3335 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3336
3337         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
3338         typo; s/==/=/ for assignment.
3339
3340 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3341
3342         * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
3343
3344 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3345
3346         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
3347         empty input before checking full output.
3348
3349 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3350
3351         * iconv/gconv.c (__gconv): Don't derefer parameter cd before
3352         checking if == -1L.
3353
3354 2001-04-08  Ulrich Drepper  <drepper@redhat.com>
3355
3356         * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
3357
3358 2001-04-07  Stephen L Moshier  <moshier@mediaone.net>
3359
3360         * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
3361         return values.
3362
3363 2001-04-07  Ulrich Drepper  <drepper@redhat.com>
3364
3365         * stdlib/tst-setcontext.c (main): Add a test for setcontext.
3366
3367         * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
3368         * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
3369         * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
3370         * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
3371         * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
3372         * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
3373
3374 2001-04-07  Andreas Jaeger  <aj@suse.de>
3375
3376         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
3377         instead of separate sin and cos.
3378         (__ieee754_j1l): Likewise.
3379
3380 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
3381
3382         * sysdeps/ia64/abort-instr.h: New file.  Code by David Mosberger.
3383
3384         * sysdeps/ia64/atomicity.h: New file.  Copied from libstdc++.
3385
3386         * sysdeps/i386/i486/atomicity.h: Clean up the asms.
3387
3388         * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
3389         available.
3390         * sysdeps/generic/e_scalbf.c: Likewise.
3391         * sysdeps/generic/e_scalbl.c: Likewise.
3392         Patch by Mark Hatle <fray@mvista.com>.
3393
3394 2001-04-05  David S. Miller  <davem@redhat.com>
3395
3396         * sysdeps/sparc/abort-instr.h: New file.
3397
3398 2001-04-05  Matt Wilson  <msw@redhat.com>
3399
3400         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
3401         added code to parse new 2.4 format.
3402         (GET_NPROCS_CONF_PARSER): Likewise.
3403
3404 2001-04-05  David S. Miller  <davem@redhat.com>
3405
3406         * scripts/config.sub: Recognize sparcv9b like sparcv9.
3407         * configure.in: Add sparcv9b.
3408         * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
3409         * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
3410         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
3411
3412 2001-04-06  David Mosberger  <davidm@hpl.hp.com>
3413
3414         * stdlib/tst-setcontext.c: Move st2[] to global scope.
3415         (f2): Verify that stack pointer is inside st2[].
3416
3417         * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
3418         * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
3419
3420 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
3421
3422         * timezone/antarctica: Update from tzdata2001b.
3423         * timezone/asia: Likewise.
3424         * timezone/australasia: Likewise.
3425         * timezone/europe: Likewise.
3426         * timezone/northamerica: Likewise.
3427
3428         * iconv/iconv_open.c: Move strip and upstr definitions...
3429         * iconv/gconv_charset.h: ...here.  New file.
3430         * iconv/gconv_db.c (once): Move to file level.
3431         (do_lookup_alias): Split out from __gconv_find_transform.
3432         (__gconv_find_transform): Call do_lookup_alias.
3433         (__gconv_loopup_alias): New function.
3434         * locale/langinfo.h: Define _NL_*_CODESET values for all categories
3435         but LC_CTYPE.
3436         * locale/categories.def: Add entries for new _NL_*_CODESET values.
3437         * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
3438         * locale/C-address.c: Initialize _NL_*_CODESET element.
3439         * locale/C-collate.c: Likewise.
3440         * locale/C-identification.c: Likewise.
3441         * locale/C-measurement.c: Likewise.
3442         * locale/C-messages.c: Likewise.
3443         * locale/C-monetary.c: Likewise.
3444         * locale/C-name.c: Likewise.
3445         * locale/C-numeric.c: Likewise.
3446         * locale/C-paper.c: Likewise.
3447         * locale/C-telephone.c: Likewise.
3448         * locale/C-time.c: Likewise.
3449         * locale/localeinfo.h: Declare _nl_C_codeset.
3450         * locale/C_name.c: Define _nl_C_codeset.
3451         * locale/findlocale.c: Before accepting locale check that the used
3452         charset does not conflict with what the locale name said.
3453         * locale/programs/ld-address.c: Emit codeset information.
3454         * locale/programs/ld-collate.c: Likewise.
3455         * locale/programs/ld-identification.c: Likewise.
3456         * locale/programs/ld-measurement.c: Likewise.
3457         * locale/programs/ld-messages.c: Likewise.
3458         * locale/programs/ld-monetary.c: Likewise.
3459         * locale/programs/ld-name.c: Likewise.
3460         * locale/programs/ld-numeric.c: Likewise.
3461         * locale/programs/ld-paper.c: Likewise.
3462         * locale/programs/ld-telephone.c: Likewise.
3463         * locale/programs/ld-time.c: Likewise.
3464
3465         * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
3466         if the locale data couldn't be found.
3467
3468         * string/Makefile: Define tst-strxfrm-ENV.
3469
3470         * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
3471
3472 2001-04-06  Andreas Jaeger  <aj@suse.de>
3473
3474         * include/sys/profil.h: New file.
3475
3476         * dlfcn/modatexit.c: Add prototypes to silence GCC.
3477         * dlfcn/modcxaatexit.c: Likewise.
3478         * elf/globalmod1.c: Likewise.
3479
3480 2001-04-05  David S. Miller  <davem@redhat.com>
3481
3482         * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
3483         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
3484         capability flags table and HWCAP_IMPORTANT, increase
3485         _DL_HWCAP_COUNT to 6.
3486         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3487
3488 2001-04-04  David Mosberger  <davidm@hpl.hp.com>
3489
3490         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
3491         initialization of stack_end (bug reported by Zheng Gengbin
3492         <gzheng@students.uiuc.edu>).
3493
3494 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
3495
3496         * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
3497
3498 2001-04-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3499
3500         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
3501
3502 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
3503
3504         * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
3505         * sysdeps/i386/fpu/e_asinl.S: Removed.  Too inaccurate.
3506
3507         * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
3508
3509 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
3510
3511         * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
3512         define simple replacements here.  Patch by Michael Keezer.
3513
3514         * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
3515         * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
3516         Contributed by Stephen L Moshier <moshier@mediaone.net>.
3517
3518         * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
3519         anymore.
3520
3521 2001-04-01  Andreas Jaeger  <aj@suse.de>
3522
3523         * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
3524         alias.
3525
3526         * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
3527
3528 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
3529
3530         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
3531         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
3532
3533 2001-04-04  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3534
3535         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
3536         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
3537         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
3538         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
3539         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
3540         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
3541         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
3542         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
3543         * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
3544
3545 2001-04-04  Andreas Jaeger  <aj@suse.de>
3546
3547         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
3548         place.
3549
3550 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
3551
3552         * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
3553         * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
3554         * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
3555         (unsigned_dec): Likewise.
3556         Patch by atai@jezebel.dreamhost.com.
3557
3558         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
3559         pointer to int as last parameter of yp_match.
3560         Patch by kanazawa@flab.fujitsu.co.jp.
3561
3562 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
3563
3564         * resolv/netdb.h (gai_strerror): Make return value const.
3565         * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
3566         * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
3567         Add strings for new error values.
3568
3569 2001-03-29  Michael Keezer  <mkeezer@redhat.com>
3570
3571         * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
3572         * login/tst-utmp.c: Handle case where ut_tv is not available but
3573         ut_time is.
3574         * sysdeps/unix/sysv/aix/utmpx.h: New file.
3575         * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
3576         _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
3577         * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
3578         * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
3579         to access RTCU timer reg.
3580         * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
3581         added dl-libc, dl-open,dl-sym, dl-close to misc.
3582         * sysdeps/unix/sysv/aix/start.c: New file.  Start code.
3583         * sysdeps/unix/sysv/aix/dlldr.h: New file.  AIX __loadx defines.
3584         * sysdeps/unix/sysv/aix/dl-close.c: New file.  AIX dl-close.
3585         * sysdeps/unix/sysv/aix/dl-open.c: New file.  AIX dl-open.
3586         * sysdeps/unix/sysv/aix/dl-sym.c: New file.  AIX dl-sym.
3587         * sysdeps/unix/sysv/aix/dl-libc.c: New file.  libc_dl-xxx support.
3588         * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
3589         GLIBC_2_2).
3590         * sysdeps/generic/strtoull.c: Likewise.
3591         * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
3592         * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
3593         sysdeps/generic/memset.c.
3594         * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
3595
3596 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
3597
3598         * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
3599         * locale/programs/charmap.c: Define null_pointer if
3600         NEED_NULL_POINTER is defined.
3601
3602         * misc/dirname.c (dirname): Handle multiple slashes correctly.
3603
3604 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3605
3606         * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
3607
3608 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3609
3610         * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
3611         * sysdeps/s390/s390-64/bcopy.S: Likewise.
3612         * sysdeps/s390/s390-32/mempcy.S: Likewise.
3613         * sysdeps/s390/s390-64/memcpy.S: Likewise.
3614
3615 2001-04-02  Bruno Haible  <haible@clisp.cons.org>
3616
3617         * manual/message.texi (Advanced gettext functions): More specific
3618         syntax in the plural formula examples.
3619
3620 2001-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3621
3622         * sysdeps/powerpc/atomicity.h: Silence warnings.
3623         * sysdeps/powerpc/dl-machine.h: Likewise.
3624         * sysdeps/powerpc/register-dump.h: Likewise.
3625         * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
3626
3627 2001-04-02  Andreas Jaeger  <aj@suse.de>
3628
3629         * misc/tst-dirname.c (main): Add more tests, derived from a bug
3630         report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
3631
3632 2001-04-01  Andreas Jaeger  <aj@suse.de>
3633
3634         * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
3635         is installed there.
3636         * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
3637
3638 2001-04-01  H.J. Lu  <hjl@gnu.org>
3639
3640         * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
3641         tmpnam (NULL).
3642         * stdlib/isomac.c (macrofile): Likewise.
3643
3644 2001-03-30  Thorsten Kukuk  <kukuk@suse.de>
3645
3646         * inet/rcmd.c: Allow AF_UNSPEC as parameter.
3647         * nis/ypclnt.c (yp_all): Print error message only at last try,
3648         check for protocoll error only if we don't have a network error.
3649
3650 2001-04-02  Andreas Schwab  <schwab@suse.de>
3651
3652         * resolv/res_data.c (res_isourserver): Fix cast.
3653
3654 2001-04-02  Andreas Jaeger  <aj@suse.de>
3655
3656         * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
3657         __umount2.
3658
3659         * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
3660         strings.
3661         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
3662
3663         * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
3664         initializers.
3665         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
3666
3667         * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
3668         warning about unused variable.
3669
3670         * string/string.h (strndupa): Add cast for C++ conformance.
3671         (strdupa): Likewise.
3672         Fixes PR libc/2173, reported by tbrowder@home.com.
3673
3674 2001-03-30  Roland McGrath  <roland@frob.com>
3675
3676         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
3677         options after $(build-module), which is no longer a single command.
3678         (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
3679         (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
3680         variables using it.  Reported by Mark Kettenis <kettenis@gnu.org>.
3681
3682 2001-03-11  Roland McGrath  <roland@frob.com>
3683
3684         * elf/rtld.c (dl_main): Add cast to quiet warning.
3685         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3686         * iconv/gconv_conf.c (__gconv_get_path): Likewise.
3687         (__gconv_read_conf): Likewise.
3688         * iconv/gconv_db.c (gen_steps): Likewise.
3689         (__gconv_find_transform): Likewise.
3690         * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
3691         (fopen_uncompressed): Use const in second argument's type.
3692
3693 2001-03-11  Roland McGrath  <roland@frob.com>
3694
3695         * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
3696
3697         * mach/mach_error.h: Fix ancient #endif syntax.
3698         * hurd/hurdmalloc.c: Likewise.
3699
3700         * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
3701         compare_and_swap): Add volatile qualifier to first arg, to bring
3702         these prototypes in line with all the other implementations.
3703         Add a #warning to remind the builder that these are not atomic.
3704
3705 2001-03-04  Roland McGrath  <roland@frob.com>
3706
3707         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
3708         member of TEMP_F so its type is _IO_FILE * as expected.
3709
3710         * hurd/fopenport.c (seekio): Conditionalize type of POS argument
3711         on [USE_IN_LIBIO].  Check the value for overflow, since for libio
3712         it might exceed off_t's range.
3713
3714 2001-02-25  Roland McGrath  <roland@frob.com>
3715
3716         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
3717         * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
3718
3719         * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
3720         macro instead of an inline function,
3721         (MSG_EXAMINE): Likewise.
3722
3723         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
3724
3725         * hurd/get-host.c: Include <string.h> for decls of built-ins.
3726         * hurd/hurdchdir.c: Likewise.
3727         * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
3728         * sysdeps/mach/hurd/opendir.c: Likewise.
3729
3730         * mach/mach_init.c: Include <unistd.h> for _exit decl.
3731
3732         * mach/errsystems.awk: Give output file a trailing newline.
3733
3734         * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
3735         the script will use our compiler for the cpp stage.
3736
3737         With --enable-all-warnings we get a whole bunch of warnings,
3738         and these are just a few fixes; there are more needed to silence it.
3739         * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
3740         decls before extern inline defns to quiet gcc warning.
3741         * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
3742         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
3743
3744 2001-03-31  Andreas Jaeger  <aj@suse.de>
3745
3746         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
3747         (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
3748         (ARPHRD_CISCO): New.
3749         Changes from Linux 2.4.3.
3750
3751 2001-03-30  Isamu Hasegawa  <isamu@yamato.ibm.com>
3752
3753         * posix/regex.c: Avoid an access violation if malloc fails.
3754
3755 2001-03-30  Andreas Jaeger  <aj@suse.de>
3756
3757         * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
3758
3759 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
3760
3761         * posix/regex.c: Remove unnecessary ifs.
3762
3763         * math/bits/mathcalls.h: Remove infnan declaration.
3764
3765 2001-03-29  H.J. Lu  <hjl@gnu.org>
3766
3767         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
3768         and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
3769         * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
3770
3771 2001-03-29  Isamu Hasegawa  <isamu@yamato.ibm.com>
3772
3773         * posix/regex.c: Fix typo and add a sentinel.
3774
3775 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
3776
3777         * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
3778         O_NOFOLLOW.  Suggested by Christoph Roland.
3779
3780 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3781
3782         * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
3783         * sysdeps/s390/s390-32/bits/string.h: Remove.
3784         * sysdeps/s390/s390-64/bits/string.h: Remove.
3785         * sysdeps/s390/s390-32/strcmp.S: New file.
3786         * sysdeps/s390/s390-64/strcmp.S: New file.
3787
3788 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3789
3790         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
3791         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3792
3793 2001-03-27  Ulrich Drepper  <drepper@redhat.com>
3794
3795         * version.h (VERSION): Bump to 2.2.3.
3796
3797         * stdlib/isomac.c (fmt): Don't define _LIBC.
3798         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
3799         LOW_HALF only if _LIBC is defined.
3800
3801         * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
3802
3803         * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
3804         and +().
3805         * posix/tst-fnmatch.input: Add test cases for matching empty strings.
3806
3807         * sysdeps/ieee754/dbl-64/endian.h: Removed.  Move definitions...
3808         * include/endian.h: ...to here.
3809
3810 2001-03-27  kaz Kojima  <kkojima@rr.iij4u.or.jp>
3811
3812         * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
3813         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
3814
3815 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3816
3817         * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
3818
3819 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
3820
3821         * sysdeps/ia64/fpu/Dist: Add new files to distribute.
3822         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
3823         * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
3824
3825         * gmon/Makefile (headers): Add sys/profil.h.
3826
3827 2001-03-18  Andreas Jaeger  <aj@suse.de>
3828
3829         * manual/install.texi (Tools for Compilation): Advise to use GCC
3830         2.95.3.
3831         (Supported Configurations): Mention s390x.
3832
3833 2001-03-26  Ben Collins  <bcollins@debian.org>
3834
3835         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
3836         defines to match other architectures.
3837
3838 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
3839
3840         * libio/Makefile (tests): Add tst-ext.
3841         * libio/tst-ext.c: New file.
3842
3843         * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
3844
3845 2001-03-25  Ulrich Drepper  <drepper@redhat.com>
3846
3847         Add changes which were in this form in the original patch by
3848         Eric Norum <eric.norum@usask.ca>.
3849         * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
3850         svc_max_pollfd.
3851         * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
3852         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
3853         __rpc_thread_svc_max_pollfd.
3854         Define svc_fdset, get_rpc_createerr, svc_pollfd, and
3855         svc_max_pollfd.
3856         * sunrpc/rpc_thread.c: Handle first thread special, it uses the
3857         global variables.
3858         Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
3859         __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
3860         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export  __rpc_thread_svc_fdset,
3861         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
3862         __rpc_thread_svc_max_pollfd.
3863         * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
3864         get_rpc_createerr.
3865         * sunrpc/clnt_perr.c: Likewise.
3866         * sunrpc/clnt_simp.c: Likewise.
3867         * sunrpc/clnt_tcp.c: Likewise.
3868         * sunrpc/clnt_udp.c: Likewise.
3869         * sunrpc/clnt_unix.c: Likewise.
3870         * sunrpc/pm_getport.c: Likewise.
3871
3872         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
3873         syscall checks for negative n so don't test here as well.
3874
3875 2001-03-23  Jes Sorensen  <jes@linuxcare.com>
3876
3877         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
3878         * sysdeps/ia64/sysdep.h: ...here.
3879
3880         * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
3881         * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
3882
3883         * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
3884         declare instead of LEAF().  Suggestion from David Mosberger.
3885
3886 2001-03-21  David Mosberger  <davidm@hpl.hp.com>
3887
3888         * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
3889         directives.
3890         (PSEUDO): Drop .psr and .lsb directives.
3891
3892         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto.  Add unwind
3893         directives.
3894         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
3895
3896         * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
3897         directives etc.
3898         * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
3899         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
3900         * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
3901         longer needed).  Add unwind directives.
3902
3903         * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
3904         ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
3905
3906 2001-03-21  Paul Eggert  <eggert@twinsun.com>
3907
3908         * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
3909         (RE_SYNTAX_POSIX_EGREP): Use it.
3910         * posix/regex.c (regex_compile): Implement it.
3911
3912 2001-03-21  Paul Eggert  <eggert@twinsun.com>
3913
3914         * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
3915         Rewrite to avoid duplicate code.
3916
3917 2001-03-21  H.J. Lu  <hjl@gnu.org>
3918
3919         * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
3920         for cross-compiling.
3921         ($(objpfx)tst-pathopt.out): Undo the last change.
3922
3923 2001-03-24  Mark Kettenis  <kettenis@gnu.org>
3924
3925         * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
3926         sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
3927
3928         * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
3929         (_dl_argv): Declare.
3930         (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
3931
3932 2001-03-22  Andreas Jaeger  <aj@suse.de>
3933
3934         * iconvdata/Makefile (generated): Add iconv-test.xxx.
3935
3936         * posix/Makefile (generated): Add bug-regex2.mtrace and
3937         bug-regex2-mem.
3938
3939 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
3940
3941         * csu/version.c (__gnu_get_libc_release): Add prototype.
3942         (__gnu_get_libc_version): Likewise.
3943         * include/gnu/libc-version.h: Remove prototypes for not exported
3944         functions.
3945
3946 2001-03-21  Jes Sorensen  <jes@linuxcare.com>
3947
3948         * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
3949         for internationalized printfs to work.
3950
3951 2001-03-09  Bruno Haible  <haible@clisp.cons.org>
3952
3953         * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
3954         avoid compiler warning.
3955         (_nl_find_msg): Add casts to avoid compiler warnings.
3956
3957 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
3958
3959         * gmon/Makefile (routines): Add sprofil.
3960         (tests): Add tst-sprofil.
3961         (noprof): Add sprofil.
3962         * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
3963
3964 2001-03-20  David Mosberger  <davidm@hpl.hp.com>
3965
3966         * sysdeps/generic/sprofil.c: New file.
3967         * sysdeps/posix/sprofil.c: New file.
3968         * gmon/tst-sprofil.c: New file.
3969         * gmon/sys/profil.h: New file.
3970
3971 2001-03-20  Andreas Schwab  <schwab@suse.de>
3972
3973         * include/unistd.h: Adjust prototype of __gethostname.
3974
3975 2001-03-20  Jakub Jelinek  <jakub@redhat.com>
3976
3977         * sysdeps/sparc/stackinfo.h: New file.
3978
3979 2001-03-21  Andreas Jaeger  <aj@suse.de>
3980
3981         * elf/global.c (main): Use proper prototype.
3982
3983 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
3984
3985         * sunrpc/Makefile (routines): Add rpc_thread.
3986         (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
3987         * sunrpc/rpc_thread.c: New file.
3988         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
3989         * sunrpc/auth_none.c: Don't use global variables.  Access state in
3990         thread-local storage.
3991         * sunrpc/clnt_perr.c: Likewise.
3992         * sunrpc/clnt_raw.c: Likewise.
3993         * sunrpc/clnt_simp.c: Likewise.
3994         * sunrpc/key_call.c: Likewise.
3995         * sunrpc/rpc_common.c: Likewise.
3996         * sunrpc/svc.c: Likewise.
3997         * sunrpc/svc_raw.c: Likewise.
3998         * sunrpc/svc_simple.c: Likewise.
3999         * sunrpc/svcauth_des.c: Likewise.
4000         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
4001         _HURD_THREADVAR_RPC_VARS.
4002         * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
4003         * include/rpc/rpc.h: Define data structures for internal thread-local
4004         "global" variables.
4005         Based on patches by Eric Norum <eric.norum@usask.ca>.
4006
4007         * elf/dl-load.c: Various little optimizations.
4008
4009         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
4010         LINUX_LINK_MAX only if the statfs function is not implemented for
4011         the filesystem.
4012
4013         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
4014         LINUX_LINK_MAX only if the fstatfs function is not implemented for
4015         the filesystem.
4016
4017 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
4018
4019         * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
4020
4021         * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
4022         (_dl_dst_substitute): Likewise.
4023
4024 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
4025
4026         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
4027
4028 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
4029
4030         * intl/gettextP.h (struct expression): Add operators lnot, less_than,
4031         greater_than, less_or_equal, greater_or_equal.  Replace args2/args3
4032         union by a 'nargs' counter and an 'args[]' array.
4033         * intl/plural.y: Don't include stdarg.h.
4034         (new_exp): Take an array of arguments instead of varargs.
4035         (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
4036         ('?' ':'): Make right-associative.
4037         (EQUOP2): New token, replaces '=' and '!'.
4038         (CMPOP2): New token.
4039         (ADDOP2): New token, replaces '+' and '-'.
4040         (MULOP2): New token, replaces '*', '/' and '%'.
4041         ('!'): New token.
4042         (exp): Add rules for CMPOP2 and '!'.  Don't call YYABORT.
4043         (start): Call YYABORT here.
4044         (FREE_EXPRESSION): Update.
4045         (yylex): Don't skip "\\n".  Recognize comparison and '!' operators.
4046         Update for new token symbols.
4047         * intl/loadmsgcat.c (plvar, plone, germanic_plural,
4048         init_germanic_plural): Update.
4049         * intl/dcigettext.c (_nl_find_msg): Optimize for space.
4050         (plural_eval): Recognize comparison and '!' operators.  Optimize for
4051         space.
4052
4053 2001-03-10  Bruno Haible  <haible@clisp.cons.org>
4054
4055         * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
4056         NULL any more.
4057
4058 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
4059
4060         * intl/loadmsgcat.c: Include headers needed for alloca().
4061         (freea): New macro.
4062         (_nl_load_domain): Add fallback code for platforms lacking alloca.
4063         * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
4064         (freea): New macro.
4065         (read_alias_file): Simplify fallback code for platforms lacking
4066         alloca.
4067
4068 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
4069
4070         * intl/gettextP.h (__gettextdebug): Remove declaration.
4071         (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
4072         syntax.
4073         (gettext_free_exp__, gettextparse__): New non-libc declarations.
4074         * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
4075         not __gettextparse, __gettext_free_exp.
4076         * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
4077
4078 2001-02-24  Bruno Haible  <haible@clisp.cons.org>
4079
4080         * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
4081
4082 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
4083
4084         * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
4085         lacking strtoul, like SunOS4.
4086
4087 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
4088
4089         * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
4090
4091 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
4092
4093         * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
4094         syntax.
4095         * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
4096         * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
4097         * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
4098         syntax.
4099
4100 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
4101
4102         * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
4103         bindtextdomain__, bind_textdomain_codeset__): New declarations, from
4104         old libgettext.h.
4105         * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
4106         * intl/dcgettext.c: Likewise.
4107         * intl/dcigettext.c: Likewise.
4108         * intl/dcngettext.c: Likewise.
4109         * intl/dngettext.c: Likewise.
4110         * intl/finddomain.c: Likewise.
4111         * intl/ngettext.c: Likewise.
4112         * intl/textdomain.c: Likewise.
4113         * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
4114         Include gettextP.h.
4115         * intl/gettext.c: Likewise.  Don't include locale.h.
4116
4117 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
4118
4119         * intl/gettextP.h (ZERO): New macro.
4120         (struct binding): Always use ZERO.
4121         * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
4122         lack it, like SunOS4.
4123         (set_binding_values): Use offsetof, not sizeof.
4124         * intl/dcigettext.c (offsetof): Provide fallback for platforms that
4125         lack it, like SunOS4.
4126         (ZERO): Remove macro.
4127         (struct transmem_list): Use ZERO.
4128         (DCIGETTEXT): Use offsetof, not sizeof.
4129
4130 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
4131
4132         * intl/gettextP.h: Include <stddef.h>.  Include gettext.h, for
4133         nls_uint32.
4134         * intl/bindtextdom.c: Don't include gettext.h.
4135         * intl/dcgettext.c: Likewise.
4136         * intl/dcigettext.c: Likewise.
4137         * intl/dcngettext.c: Likewise.
4138         * intl/dngettext.c: Likewise.
4139         * intl/finddomain.c: Likewise.
4140         * intl/localealias.c: Likewise.
4141         * intl/ngettext.c: Likewise.
4142         * intl/plural.y: Likewise.
4143         * intl/textdomain.c: Likewise.
4144
4145 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
4146
4147         * intl/gettext.h: Don't include <stdio.h>.
4148
4149 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
4150
4151         * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
4152         * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
4153
4154 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
4155
4156         * sysdeps/unix/i386/i686/tempname.c: New file.
4157
4158         * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
4159         defined use this macro to get some bits of randomness instead of
4160         the usual gettimeofday or time calls.
4161
4162 2001-03-16  Paul Eggert  <eggert@twinsun.com>
4163
4164         * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
4165         not defined, and if UINT64_MAX is not defined.
4166
4167 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
4168
4169         * elf/cache.c: Mark and have translated a few more messages.
4170
4171 2001-03-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4172
4173         * elf/cache.c: Add case for FLAG_S390_LIB64.
4174         * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
4175         * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
4176         * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
4177
4178 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
4179
4180         * string/Makefile (tests): Add tst-strxfrm.
4181         * string/tst-strxfrm.c: New file.  Based on a test case by Paul Eggert.
4182         * string/Depend: New file.
4183
4184 2001-03-19  Paul Eggert  <eggert@twinsun.com>
4185
4186         * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
4187         when given the empty string in nontrivial locales.
4188
4189 2001-03-17  H.J. Lu  <hjl@gnu.org>
4190
4191         * manual/Makefile (install): Use $(INSTALL_DATA) instead of
4192         cp to install `dir'.
4193
4194 2001-03-19  Andreas Schwab  <schwab@suse.de>
4195
4196         * Makerules (build-shlib): Make sure exit codes get checked
4197         properly.
4198
4199 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
4200
4201         * Makerules (build-shlib): Remove unnecessary slashes introduced in
4202         last change.
4203
4204         * configure.in: Test for -Bgroup option of linker.
4205         * config.make.in: Define have-Bgroup.
4206
4207         * conform/data/unistd.h-data: Require gethostname.
4208         * posix/unistd.h: Make gethostname prototype available for
4209         __USE_XOPEN2K.
4210
4211         * crypt/Makefile: When generating DSO link with libc_nonshared.a.
4212         * debug/Makefile: Likewise.
4213         * dlfcn/Makefile: Likewise.
4214         * hesiod/Makefile: Likewise.
4215         * iconvdata/extra-module.mk: Likewise.
4216         * locale/Makefile: Likewise.
4217         * login/Makefile: Likewise.
4218         * math/Makefile: Likewise.
4219         * nis/Makefile: Likewise.
4220         * nss/Makefile: Likewise.
4221         * resolv/Makefile: Likewise.
4222         * rt/Makefile: Likewise.
4223
4224 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
4225
4226         * inet/Makefile (tests): Remove left-over comment.
4227
4228         * posix/unistd.h (gethostname): Change type of second parameter
4229         back to size_t as per upcoming XPG6.
4230         * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
4231         parameter back to size_t as per upcoming XPG6.
4232         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
4233         * sysdeps/unix/sysv/gethostname.c: Likewise.
4234         * sysdeps/mach/hurd/gethostname.c: Likewise.
4235         * sysdeps/generic/gethostname.c: Likewise.
4236
4237 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
4238
4239         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4240         Handle NaN here.
4241
4242         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
4243         Internationalize.
4244
4245 2001-02-06  Jakub Jelinek  <jakub@redhat.com>
4246
4247         * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
4248         looking for name matches.
4249
4250 2001-02-26  Jakub Jelinek  <jakub@redhat.com>
4251
4252         * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
4253         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
4254         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
4255         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4256         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
4257         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
4258         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
4259         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
4260         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
4261         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
4262         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
4263         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
4264
4265 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
4266
4267         * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
4268         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4269
4270         * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
4271         erfcl.
4272         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4273
4274 2001-03-16  David Mosberger  <davidm@hpl.hp.com>
4275
4276         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
4277         Drop hack that was needed for 2.1.1 kernel headers.
4278
4279         * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
4280
4281         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
4282         overlay with kernel's "struct sigcontext".
4283
4284         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
4285         sys/rse.h for "misc" subdir.
4286         (sysdep_routines): Add __start_context for "stdlib" subdir.
4287
4288         * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
4289         kernel file of the same name).
4290
4291         * stdlib/Makefile (tests): Add tst-setcontext.
4292         * stdlib/tst-setcontext.c: New file (based on a sample program by
4293         Uli Drepper).
4294
4295         * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
4296         * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
4297         * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
4298         * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
4299         * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
4300
4301         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
4302         instead of shift & and.
4303
4304 2001-03-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4305
4306         * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
4307         * sysdeps/s390/bits/huge_val.h: ...here.
4308         * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
4309         * sysdeps/s390/s390-64/ffs.c: Move to...
4310         * sysdeps/s390/ffs.c: ...here.
4311         * sysdeps/s390/s390-32/ffs.c: Remove.
4312
4313 2001-03-16  Jakub Jelinek  <jakub@redhat.com>
4314
4315         * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
4316         update osversion from more recent library.
4317
4318 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4319
4320         * sysdeps/unix/sysv/linux/s390/Dist: Move to...
4321         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
4322         * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
4323         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
4324         * sysdeps/unix/sysv/linux/s390/Versions: Move to...
4325         * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
4326         * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
4327         * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
4328         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
4329         * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
4330         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
4331         * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
4332         * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
4333         * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
4334         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
4335         * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
4336         * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
4337         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
4338         * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
4339         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
4340         * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
4341         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
4342         * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
4343         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
4344         * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
4345         * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
4346         * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
4347         * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
4348         * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
4349         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
4350         * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
4351         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
4352         * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
4353         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
4354         * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
4355         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
4356         * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
4357         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
4358         * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
4359         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
4360         * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
4361         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
4362         * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
4363         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
4364         * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
4365         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
4366         * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
4367         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
4368         * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
4369         * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
4370         * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
4371         * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
4372         * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
4373         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
4374         * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
4375         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
4376         * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
4377         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
4378         * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
4379         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
4380         * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
4381         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
4382         * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
4383         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
4384         * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
4385         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
4386         * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
4387         * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
4388         * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
4389         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
4390         * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
4391         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
4392         * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
4393         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
4394         * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
4395         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
4396         * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
4397         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
4398         * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
4399         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
4400         * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
4401         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
4402         * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
4403         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
4404         * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
4405         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
4406         * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
4407         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
4408         * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
4409         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
4410         * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
4411         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
4412         * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
4413         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
4414         * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
4415         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
4416         * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
4417         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
4418         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
4419         * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
4420         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
4421         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
4422         * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
4423         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
4424         * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
4425         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
4426         * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
4427         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
4428         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
4429         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
4430         * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
4431         * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
4432         * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
4433         * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
4434
4435 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4436
4437         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
4438         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
4439         * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
4440         * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
4441         * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
4442         * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
4443         * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
4444         * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
4445         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
4446         * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
4447         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
4448         * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
4449         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
4450         * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
4451         * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
4452         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
4453         * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
4454         * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
4455         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
4456         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
4457         * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
4458         * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
4459         * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
4460         * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
4461         * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
4462         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
4463         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
4464         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
4465         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
4466         * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
4467         * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
4468         * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
4469         * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
4470         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
4471         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
4472         * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
4473         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
4474         * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
4475         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
4476         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
4477         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
4478         * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
4479         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
4480         * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
4481         * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
4482         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
4483         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
4484         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
4485         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
4486         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
4487         * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
4488         * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
4489         * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
4490
4491 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4492
4493         * sysdeps/s390/Dist: Move to...
4494         * sysdeps/s390/390-32/Dist: ...here.
4495         * sysdeps/s390/Implies: Move to...
4496         * sysdeps/s390/s390-32/Implies: ...here.
4497         * sysdeps/s390/Makefile: Move to...
4498         * sysdeps/s390/s390-32/Makefile: ...here.
4499         * sysdeps/s390/Versions: Move to...
4500         * sysdeps/s390-32/s390/Versions: ...here.
4501         * sysdeps/s390/add_n.S: Move to...
4502         * sysdeps/s390/s390-32/add_n.S: ...here.
4503         * sysdeps/s390/addmul_1.S: Move to...
4504         * sysdeps/s390/s390-32/addmul_1.S: ...here.
4505         * sysdeps/s390/atomicity.h: Move to...
4506         * sysdeps/s390/s390-32/atomicity.h: ...here.
4507         * sysdeps/s390/backtrace.c: Move to...
4508         * sysdeps/s390/s390-32/backtrace.c: ...here.
4509         * sysdeps/s390/bcopy.S: Move to...
4510         * sysdeps/s390/s390-32/bcopy.S: ...here.
4511         * sysdeps/s390/bits/byteswap.h: Move to...
4512         * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
4513         * sysdeps/s390/bits/huge_val.h: Move to...
4514         * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
4515         * sysdeps/s390/bsd-_setjmp.S: Move to...
4516         * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
4517         * sysdeps/s390/bsd-setjmp.S: Move to...
4518         * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
4519         * sysdeps/s390/bzero.S: Move to...
4520         * sysdeps/s390/s390-32/bzero.S: ...here.
4521         * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
4522         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
4523         * sysdeps/s390/elf/bsd-setjmp.S: Move to...
4524         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
4525         * sysdeps/s390/elf/start.S: Move to...
4526         * sysdeps/s390/s390-32/elf/start.S: ...here.
4527         * sysdeps/s390/ffs.c: Move to...
4528         * sysdeps/s390/s390-32/ffs.c: ...here.
4529         * sysdeps/s390/memchr.S: Move to...
4530         * sysdeps/s390/s390-32/memchr.S: ...here.
4531         * sysdeps/s390/memcpy.S: Move to...
4532         * sysdeps/s390/s390-32/memcpy.S: ...here.
4533         * sysdeps/s390/memset.S: Move to...
4534         * sysdeps/s390/s390-32/memset.S: ...here.
4535         * sysdeps/s390/mul_1.S: Move to...
4536         * sysdeps/s390/s390-32/mul_1.S: ...here.
4537         * sysdeps/s390/s390-mcount.S: Move to...
4538         * sysdeps/s390/s390-32/s390-mcount.S: ...here.
4539         * sysdeps/s390/strcpy.S: Move to...
4540         * sysdeps/s390/s390-32/strcpy.S: ...here.
4541         * sysdeps/s390/strncpy.S: Move to...
4542         * sysdeps/s390/s390-32/strncpy.S: ...here.
4543         * sysdeps/s390/sub_n.S: Move to...
4544         * sysdeps/s390/s390-32/sub_n.S: ...here.
4545
4546 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4547
4548         * sysdeps/s390/s390-64/Dist: New file.
4549         * sysdeps/s390/s390-64/Implies: New file.
4550         * sysdeps/s390/s390-64/Makefile: New file.
4551         * sysdeps/s390/s390-64/__longjmp.c: New file.
4552         * sysdeps/s390/s390-64/add_n.S: New file.
4553         * sysdeps/s390/s390-64/atomicity.h: New file.
4554         * sysdeps/s390/s390-64/backtrace.c: New file.
4555         * sysdeps/s390/s390-64/bcopy.S: New file.
4556         * sysdeps/s390/s390-64/bits/byteswap.h: New file.
4557         * sysdeps/s390/s390-64/bits/huge_val.h: New file.
4558         * sysdeps/s390/s390-64/bits/setjmp.h: New file.
4559         * sysdeps/s390/s390-64/bits/string.h: New file.
4560         * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
4561         * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
4562         * sysdeps/s390/s390-64/bzero.S: New file.
4563         * sysdeps/s390/s390-64/dl-machine.h: New file.
4564         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
4565         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
4566         * sysdeps/s390/s390-64/elf/setjmp.S: New file.
4567         * sysdeps/s390/s390-64/elf/start.S: New file.
4568         * sysdeps/s390/s390-64/ffs.c: New file.
4569         * sysdeps/s390/s390-64/initfini.c: New file.
4570         * sysdeps/s390/s390-64/memchr.S: New file.
4571         * sysdeps/s390/s390-64/memcpy.S: New file.
4572         * sysdeps/s390/s390-64/memset.S: New file.
4573         * sysdeps/s390/s390-64/s390x-mcount.S: New file.
4574         * sysdeps/s390/s390-64/setjmp.S: New file.
4575         * sysdeps/s390/s390-64/strcpy.S: New file.
4576         * sysdeps/s390/s390-64/strncpy.S: New file.
4577         * sysdeps/s390/s390-64/sub_n.S: New file.
4578         * sysdeps/s390/s390-64/sysdep.h: New file.
4579
4580 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4581
4582         * scripts/config.guess: Add support for Linux on 64 bit S/390.
4583         * scripts/config.sub: Likewise.
4584
4585 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4586
4587         * configure.in: Add support for 64 bit S/390.
4588
4589         * elf/elf.h: Add new relocations for 64 bit S/390.
4590
4591         * shlib-versions: Add rules for Linux on 64 bit S/390.
4592
4593 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4594
4595         * sysdeps/s390/__longjmp.c: Move to...
4596         * sysdeps/s390/s390-32/__longjmp.c: ...here.  Add code
4597         to load the floating point registers that should be saved
4598         according to the ABI.
4599
4600         * sysdeps/s390/bits/setjmp.h: Move to...
4601         * sysdeps/s390/s390-32/bits/setjmp.h: ...here.  Avoid
4602         the use of long long in the __jmp_buf type definition.
4603
4604         * sysdeps/s390/bits/string.h: Move to...
4605         * sysdeps/s390/s390-32/bits/string.h: ...here.  Add several missing
4606         #ifndef _FORCE_INLINES.
4607
4608         * sysdeps/s390/dl-machine.h: Move to...
4609         * sysdeps/s390/s390-32/dl-machine.h: ...here.  Add a check for the
4610         executables EI_CLASS in elf_machine_matches_host.
4611
4612         * sysdeps/s390/elf/setjmp.S: Move to...
4613         * sysdeps/s390/s390-32/elf/setjmp.S: ...here.  Replace
4614         branches to globally defined symbol __sigsetjmp by branches to
4615         a local label (this avoids the generation of a R_390_PC16DBL
4616         relocation in -fpic code).
4617
4618         * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
4619         calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
4620
4621         * sysdeps/s390/initfini.c: Move to...
4622         * sysdeps/s390/s390-32/initfini.c: ...here.  Replace ALIGN with
4623         ".align 4,0x07".
4624
4625         * sysdeps/s390/setjmp.S: Move to...
4626         * sysdeps/s390/s390-32/setjmp.S: ...here.  Add code to store the
4627         floating point registers that should be saved according to the ABI.
4628
4629         * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
4630
4631         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
4632         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.  Include
4633         sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
4634
4635 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4636
4637         * configure.in: Change machine=s390 to machine=s390/s390-32.
4638
4639         * elf/elf.h: Correct comment for R_390_PLT16DBL.
4640
4641 2001-03-12  Jakub Jelinek  <jakub@redhat.com>
4642
4643         * csu/Makefile (abi-tag.h): Define OS and version separately, allow
4644         version to be overriden from config.h.
4645         * csu/abi-note.S: Use OS and version separately, include config.h.
4646         * elf/dl-load.c (_dl_osversion): New.
4647         (_dl_map_object_from_fd): Kill some warnings.
4648         (open_verify): Check .note.ABI-tag of the library if present.
4649         * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
4650         * elf/cache.c (struct cache_entry): Add osversion.
4651         (print_entry): Print osversion.
4652         (print_cache): Pass osversion to it.
4653         (compare): Sort according to osversion.
4654         (save_cache): Set osversion.
4655         (add_to_cache): Add osversion argument.
4656         * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
4657         process_elf_file): Add osversion argument.
4658         * elf/readlib.c (process_file): Likewise.
4659         * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
4660         * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
4661         process_elf32_file, process_elf64_file): Likewise.
4662         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
4663         process_elf32_file, process_elf64_file): Likewise.
4664         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
4665         process_elf32_file, process_elf64_file): Likewise.
4666         * elf/ldconfig.c (manual_link): Pass it.
4667         (search_dir): Issue diagnostic if two libs with the same soname in
4668         the same directory have different .note.ABI-tag.  Record osversion in
4669         dlib_entry and use it from there.
4670         (struct lib_entry): Remove.
4671         (struct dlib_entry): Add osversion.
4672         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
4673         osversion.
4674         * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
4675         field with osversion.
4676         * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
4677         * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
4678         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
4679         version in _dl_osversion.
4680         * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
4681         * Makerules (build-shlib-helper, build-module-helper): New.
4682         (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
4683         early.
4684         * config.h.in (__ABI_TAG_VERSION): Add.
4685         * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
4686         * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
4687         Handle LD_ASSUME_KERNEL.
4688         * sysdeps/unix/sysv/linux/dl-librecon.h: New.
4689
4690 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
4691
4692         * timezone/antarctica: Update from tzdata2001a.
4693         * timezone/asia: Likewise.
4694         * timezone/australasia: Likewise.
4695         * timezone/backward: Likewise.
4696         * timezone/etcetera: Likewise.
4697         * timezone/europe: Likewise.
4698         * timezone/leapseconds: Likewise.
4699         * timezone/northamerica: Likewise.
4700         * timezone/southamerica: Likewise.
4701         * timezone/systemv: Likewise.
4702         * timezone/yearistype: Likewise.
4703         * timezone/zone.tab: Likewise.
4704         * timezone/tzdump.c: Update from tzcode2001a.
4705
4706 2001-03-15  H.J. Lu  <hjl@gnu.org>
4707
4708         * intl/Makefile: Fix a typo.
4709
4710 2001-03-14  David Mosberger  <davidm@hpl.hp.com>
4711
4712         * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
4713         writing arc structures.
4714
4715 2001-03-15  H.J. Lu  <hjl@gnu.org>
4716
4717         * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
4718         cross-compiling.
4719
4720 2001-03-13  Andreas Schwab  <schwab@suse.de>
4721
4722         * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
4723
4724 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
4725
4726         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
4727         for control message fitting into message data.
4728         Patch by James Antill <james@and.org>.
4729
4730         * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
4731         FNM_EXTMATCH.
4732
4733         * posix/fnmatch_loop.c: Optimize handling of ?() and @().
4734         * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
4735
4736         * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
4737         * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
4738         avoid running binaries with libc versions without FNM_EXTMATCH support.
4739
4740         * include/wchar.h: Add prototype for __wcscat.
4741         * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
4742
4743         * posix/fnmatch.h (FNM_EXTMATCH): Define.
4744         * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
4745         (posixly_correct): Move global variable here.
4746         (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
4747         (fnmatch): Pretty printing.
4748         * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
4749         * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
4750         * posix/tst-fnmatch.input: Add tests for extended matching.
4751
4752         * posix/testfnm.c: Add test for patterns with multiple ** before /.
4753         * posix/fnmatch_loop.c: Fix problem with the test above.
4754
4755 2001-03-14  Ulrich Drepper  <drepper@redhat.com>
4756
4757         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
4758         reference to usqrt.
4759
4760         * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
4761
4762 2001-03-12  Andreas Jaeger  <aj@suse.de>
4763
4764         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4765         Use EM_X86_64 instead of EM_X8664.
4766
4767 2001-03-12  Ulrich Drepper  <drepper@redhat.com>
4768
4769         * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
4770
4771         * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
4772         conditions.
4773
4774         * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
4775         conditions.
4776
4777         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
4778         correctly.
4779         (__cos): Likewise.
4780
4781         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
4782         correctly.
4783         (__ieee754_acos): Likewise.
4784
4785 2001-03-12  Andreas Jaeger  <aj@suse.de>
4786
4787         * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
4788         Fix typo.  Patch by Martin Schwidefsky  <schwidefsky@de.ibm.com>.
4789
4790         * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
4791         redefinition.
4792
4793 2001-03-11  Roland McGrath  <roland@frob.com>
4794
4795         * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
4796
4797 2001-03-11  Ulrich Drepper  <drepper@redhat.com>
4798
4799         * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
4800         LITTLE_ENDI.
4801
4802         * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
4803         parameter list.
4804
4805         Last-bit accurate math library implementation by IBM Haifa.
4806         Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
4807         <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
4808         Anna Reitman <reitman@il.ibm.com>.
4809         * math/Makefile (dbl-only-routines): New variable.
4810         (libm-routines): Add $(dbl-only-routines).
4811         * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
4812         * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
4813         implementation.
4814         * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
4815         implementation.
4816         * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
4817         implementation.
4818         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
4819         __kernel_cos.
4820         * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
4821         implementation.
4822         * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
4823         remainder implementation.
4824         * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
4825         implementation.
4826         * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
4827         implementation.
4828         * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
4829         * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
4830         * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
4831         implementation.
4832         * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
4833         * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
4834         implementation.
4835         * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
4836         and __kernel_cos.
4837         * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
4838         implementation.
4839         * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
4840         * sysdeps/ieee754/dbl-64/MathLib.h: New file.
4841         * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
4842         * sysdeps/ieee754/dbl-64/atnat.h: New file.
4843         * sysdeps/ieee754/dbl-64/atnat2.h: New file.
4844         * sysdeps/ieee754/dbl-64/branred.c: New file.
4845         * sysdeps/ieee754/dbl-64/branred.h: New file.
4846         * sysdeps/ieee754/dbl-64/dla.h: New file.
4847         * sysdeps/ieee754/dbl-64/doasin.c: New file.
4848         * sysdeps/ieee754/dbl-64/doasin.h: New file.
4849         * sysdeps/ieee754/dbl-64/dosincos.c: New file.
4850         * sysdeps/ieee754/dbl-64/dosincos.h: New file.
4851         * sysdeps/ieee754/dbl-64/endian.h: New file.
4852         * sysdeps/ieee754/dbl-64/halfulp.c: New file.
4853         * sysdeps/ieee754/dbl-64/mpa.c: New file.
4854         * sysdeps/ieee754/dbl-64/mpa.h: New file.
4855         * sysdeps/ieee754/dbl-64/mpa2.h: New file.
4856         * sysdeps/ieee754/dbl-64/mpatan.c: New file.
4857         * sysdeps/ieee754/dbl-64/mpatan.h: New file.
4858         * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
4859         * sysdeps/ieee754/dbl-64/mpexp.c: New file.
4860         * sysdeps/ieee754/dbl-64/mpexp.h: New file.
4861         * sysdeps/ieee754/dbl-64/mplog.c: New file.
4862         * sysdeps/ieee754/dbl-64/mplog.h: New file.
4863         * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
4864         * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
4865         * sysdeps/ieee754/dbl-64/mptan.c: New file.
4866         * sysdeps/ieee754/dbl-64/mydefs.h: New file.
4867         * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
4868         * sysdeps/ieee754/dbl-64/root.tbl: New file.
4869         * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
4870         * sysdeps/ieee754/dbl-64/sincos32.c: New file.
4871         * sysdeps/ieee754/dbl-64/sincos32.h: New file.
4872         * sysdeps/ieee754/dbl-64/slowexp.c: New file.
4873         * sysdeps/ieee754/dbl-64/slowpow.c: New file.
4874         * sysdeps/ieee754/dbl-64/uasncs.h: New file.
4875         * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
4876         * sysdeps/ieee754/dbl-64/uexp.h: New file.
4877         * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
4878         * sysdeps/ieee754/dbl-64/ulog.h: New file.
4879         * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
4880         * sysdeps/ieee754/dbl-64/upow.h: New file.
4881         * sysdeps/ieee754/dbl-64/upow.tbl: New file.
4882         * sysdeps/ieee754/dbl-64/urem.h: New file.
4883         * sysdeps/ieee754/dbl-64/uroot.h: New file.
4884         * sysdeps/ieee754/dbl-64/usncs.h: New file.
4885         * sysdeps/ieee754/dbl-64/utan.h: New file.
4886         * sysdeps/ieee754/dbl-64/utan.tbl: New file.
4887         * sysdeps/i386/fpu/branred.c: New file.
4888         * sysdeps/i386/fpu/doasin.c: New file.
4889         * sysdeps/i386/fpu/dosincos.c: New file.
4890         * sysdeps/i386/fpu/halfulp.c: New file.
4891         * sysdeps/i386/fpu/mpa.c: New file.
4892         * sysdeps/i386/fpu/mpatan.c: New file.
4893         * sysdeps/i386/fpu/mpatan2.c: New file.
4894         * sysdeps/i386/fpu/mpexp.c: New file.
4895         * sysdeps/i386/fpu/mplog.c: New file.
4896         * sysdeps/i386/fpu/mpsqrt.c: New file.
4897         * sysdeps/i386/fpu/mptan.c: New file.
4898         * sysdeps/i386/fpu/sincos32.c: New file.
4899         * sysdeps/i386/fpu/slowexp.c: New file.
4900         * sysdeps/i386/fpu/slowpow.c: New file.
4901         * sysdeps/ia64/fpu/branred.c: New file.
4902         * sysdeps/ia64/fpu/doasin.c: New file.
4903         * sysdeps/ia64/fpu/dosincos.c: New file.
4904         * sysdeps/ia64/fpu/halfulp.c: New file.
4905         * sysdeps/ia64/fpu/mpa.c: New file.
4906         * sysdeps/ia64/fpu/mpatan.c: New file.
4907         * sysdeps/ia64/fpu/mpatan2.c: New file.
4908         * sysdeps/ia64/fpu/mpexp.c: New file.
4909         * sysdeps/ia64/fpu/mplog.c: New file.
4910         * sysdeps/ia64/fpu/mpsqrt.c: New file.
4911         * sysdeps/ia64/fpu/mptan.c: New file.
4912         * sysdeps/ia64/fpu/sincos32.c: New file.
4913         * sysdeps/ia64/fpu/slowexp.c: New file.
4914         * sysdeps/ia64/fpu/slowpow.c: New file.
4915         * sysdeps/m68k/fpu/branred.c: New file.
4916         * sysdeps/m68k/fpu/doasin.c: New file.
4917         * sysdeps/m68k/fpu/dosincos.c: New file.
4918         * sysdeps/m68k/fpu/halfulp.c: New file.
4919         * sysdeps/m68k/fpu/mpa.c: New file.
4920         * sysdeps/m68k/fpu/mpatan.c: New file.
4921         * sysdeps/m68k/fpu/mpatan2.c: New file.
4922         * sysdeps/m68k/fpu/mpexp.c: New file.
4923         * sysdeps/m68k/fpu/mplog.c: New file.
4924         * sysdeps/m68k/fpu/mpsqrt.c: New file.
4925         * sysdeps/m68k/fpu/mptan.c: New file.
4926         * sysdeps/m68k/fpu/sincos32.c: New file.
4927         * sysdeps/m68k/fpu/slowexp.c: New file.
4928         * sysdeps/m68k/fpu/slowpow.c: New file.
4929
4930         * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
4931         codepages.
4932
4933 2001-03-11  Andreas Jaeger  <aj@suse.de>
4934
4935         * elf/elf.h (EM_*): Synch with official list.
4936
4937 2001-03-07  David Mosberger  <davidm@hpl.hp.com>
4938
4939         * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
4940
4941 2001-03-07  Jes Sorensen  <jes@linuxcare.com>
4942
4943         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
4944         variables addr & len.
4945
4946 2001-02-22  Jes Sorensen  <jes@linuxcare.com>
4947
4948         * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
4949         punctuation in asm constraint.
4950
4951 2001-03-07  Mark Kettenis  <kettenis@gnu.org>
4952
4953         * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
4954         <time.h> to get definition of `struct timespec'.
4955
4956 2001-03-08  Jakub Jelinek  <jakub@redhat.com>
4957
4958         * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
4959         LD_WARN=1, not if LD_WARN is unset.
4960
4961 2001-03-07  Andreas Schwab  <schwab@suse.de>
4962
4963         * elf/ldconfig.h: Moved to ...
4964         * sysdeps/generic/ldconfig.h: ... here.
4965         * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
4966         * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
4967         * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
4968         * elf/readlib.c (interpreters, known_libs): Use
4969         SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
4970         instead of hard coding old names.
4971
4972 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4973
4974         * catgets/Makefile (generated): Add test-gencat.h.
4975         (sample.SJIS.cat): Also generate header.
4976         * catgets/sample.SJIS: Add new set and message, both with symbolic
4977         names.
4978         * catgets/test-gencat.sh: Also compare generated header with what
4979         we expect.
4980
4981 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
4982
4983         * catgets/gencat.c (read_input_file): Preserve properly symbolic
4984         names.
4985
4986 2001-03-06  Andreas Jaeger  <aj@suse.de>
4987
4988         * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
4989         needed.
4990         (elf_machine_pltrel_p): Likewise.
4991         * sysdeps/powerpc/dl-machine.h: Likewise.
4992         * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
4993
4994 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4995
4996         * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
4997         dl-procinfo.h.
4998
4999 2001-03-05  Philip Blundell  <philb@gnu.org>
5000
5001         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
5002         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
5003         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
5004         (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
5005         dl-procinfo.
5006
5007 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
5008
5009         * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
5010         is not available.
5011         * dlfcn/tstcxaatexit.c (main): Likewise.
5012
5013 2001-03-10  Andreas Jaeger  <aj@suse.de>
5014
5015         * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
5016
5017 2001-03-09  Andreas Jaeger  <aj@suse.de>
5018
5019         * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
5020         both new and old EM_S390 values.
5021         (EM_S390_OLD): New constant.
5022
5023         * elf/elf.h (EM_S390): Use official value.
5024
5025 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
5026
5027         * conform/data/sys/socket.h-data: Allow SO* symbols.
5028
5029 2001-03-07  Andreas Schwab  <schwab@suse.de>
5030
5031         * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
5032         routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
5033
5034 2001-03-07  Andreas Jaeger  <aj@suse.de>
5035
5036         * resolv/Makefile (routines): Only build gai_sigqueue when threads
5037         are available.
5038
5039 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
5040
5041         * elf/ldconfig.c (_dl_sysdep_message): Remove.
5042         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
5043         ldsodefs.h.
5044         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
5045
5046         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
5047         _dl_error_printf instead of _dl_sysdep_error.
5048         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5049         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
5050         Use _dl_printf instead of _dl_sysdep_message.
5051         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
5052         Likewise.
5053
5054 2001-03-06  Ben Collins  <bcollins@debian.org>
5055
5056         * manual/arith.texi (Integers): Fix documentation of fast and
5057         least integer typedefs.
5058
5059 2001-03-06  Jakub Jelinek  <jakub@redhat.com>
5060
5061         * resolv/Depend: New file.
5062         * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
5063         when libpthread is built.
5064
5065 2001-03-06  Andreas Jaeger  <aj@suse.de>
5066
5067         * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
5068
5069         * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
5070         Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
5071
5072 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
5073
5074         * stdlib/Versions: Remove __new_exitfn again.  Not needed.
5075
5076 2001-03-05  Andreas Jaeger  <aj@suse.de>
5077
5078         * stdlib/msort.c (qsort): Don't use alloca in a function call.
5079
5080 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
5081
5082         * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
5083         __S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
5084         always return zero.
5085         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5086         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
5087         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
5088         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
5089         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5090         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
5091         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
5092
5093 2001-03-04  Andreas Jaeger  <aj@suse.de>
5094
5095         * stdlib/longlong.h: Don't use multi-line strings.
5096         * iconvdata/tst-loading.c: Likewise.
5097
5098         * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
5099         string.
5100
5101 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
5102
5103         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
5104
5105         * rt/lio_listio.c: Add a few asserts.
5106
5107         * elf/global.c: New file.
5108         * elf/globalmod1.c: New file.
5109         * elf/Makefile: Add rules to build and run global.
5110
5111         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
5112         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5113         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5114         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5115         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5116
5117         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
5118         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5119
5120         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
5121
5122         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
5123         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5124
5125         * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
5126
5127         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
5128
5129 2001-03-04  Andreas Jaeger  <aj@suse.de>
5130
5131         * resolv/tst-aton.c: Add testcase for IP with four periods.
5132
5133         * resolv/inet_addr.c: Don't recognize an IP with four periods.
5134         Patch by Andre' Breiler <A.Breiler@gmx.net>.
5135
5136 2001-02-27  Philip Blundell  <pb@futuretv.com>
5137
5138         * elf/elf.h: Add new ARM definitions from latest (B-01)
5139         specification.  Correct naming of EF_ARM_ALIGN8 et al.
5140
5141 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
5142
5143         * stdio-common/tst-printf.sh: Remove bashisms.
5144         Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
5145
5146 2001-03-03  Ulrich Drepper  <drepper@redhat.com>
5147
5148         * Versions.def: Add libanl definition.
5149         * shlib-versions: Add entry for libanl.
5150         * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
5151         (routines): Add gai_sigqueue.
5152         (extra-libs): Add libanl.
5153         (libanl-routines): New variable.
5154         Add rules to build libanl and ga_test.
5155         * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
5156         [libanl]: New library.
5157         * resolv/netdb.h: Add definitions for libanl.
5158         * resolv/getaddrinfo_a.c: New file.
5159         * resolv/gai_cancel.c: New file.
5160         * resolv/gai_error.c: New file.
5161         * resolv/gai_misc.c: New file.
5162         * resolv/gai_misc.h: New file.
5163         * resolv/gai_notify.c: New file.
5164         * resolv/gai_suspend.c: New file.
5165         * resolv/ga_test.c: New file.
5166         * sysdeps/generic/gai_sigqueue.c: New file.
5167         * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
5168         * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
5169         and provide only that definition.
5170         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
5171         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
5172         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5173         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5174         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5175         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5176
5177         * rt/aio_misc.c: Fix typos in comments.
5178         * rt/lio_listio.c: Pretty printing.  Little optimization in request
5179         list handling.
5180
5181         * elf/rtld.c: Remove commented out code.
5182
5183         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
5184         Update for real 2.4 kernels.
5185
5186 2001-03-01  Ulrich Drepper  <drepper@redhat.com>
5187
5188         * elf/dl-load.c: Pretty printing.
5189
5190         * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
5191         twice.
5192
5193 2001-02-28  Ulrich Drepper  <drepper@redhat.com>
5194
5195         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
5196         relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
5197
5198         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
5199
5200         * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
5201         machines.
5202
5203         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
5204
5205 2001-02-27  Ulrich Drepper  <drepper@redhat.com>
5206
5207         * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
5208         _dl_debug_mask.
5209
5210         * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
5211         _dl_debug_printf.
5212         * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
5213         _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
5214         _dl_debug_printf_c, and _dl_printf.
5215         * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
5216         _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
5217         _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
5218         _dl_printf, _dl_error_printf, and _dl_fatal_printf.
5219         * elf/dl-close.c: Replace use of old output functions with the new
5220         ones.
5221         * elf/dl-deps.c: Likewise.
5222         * elf/dl-error.c: Likewise.
5223         * elf/dl-fini.c: Likewise.
5224         * elf/dl-init.c: Likewise.
5225         * elf/dl-load.c: Likewise.
5226         * elf/dl-lookup.c: Likewise.
5227         * elf/dl-minimal.c: Likewise.
5228         * elf/dl-open.c: Likewise.
5229         * elf/dl-profile.c: Likewise.
5230         * elf/dl-reloc.c: Likewise.
5231         * elf/dl-version.c: Likewise.
5232         * elf/do-lookup.h: Likewise.
5233         * elf/rtld.c: Likewise.
5234         * sysdeps/generic/dl-cache.c: Likewise.
5235         * sysdeps/generic/dl-sysdep.c: Likewise.
5236         * sysdeps/generic/libc-start.c: Likewise.
5237         * sysdeps/i386/dl-machine.h: Likewise.
5238         * sysdeps/arm/dl-machine.h: Likewise.
5239         * sysdeps/hppa/dl-machine.h: Likewise.
5240         * sysdeps/m68k/dl-machine.h: Likewise.
5241         * sysdeps/powerpc/dl-machine.h: Likewise.
5242         * sysdeps/s390/dl-machine.h: Likewise.
5243         * sysdeps/sh/dl-machine.h: Likewise.
5244         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5245         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
5246         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5247
5248         * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
5249
5250         * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
5251         supported by assembler.
5252
5253         * sysdeps/generic/ldsodefs.h: Remove commented-out variable
5254         declaractions.
5255
5256         * elf/rtld.c: Little optimizations in handling _dl_lazy.
5257
5258         * elf/cache.c (save_cache): Portability changes.
5259         * elf/dl-profile.c (_dl_start_profile): Likewise.
5260
5261         * elf/sln.c: Cleanups.  Remove arbitrary limits.
5262
5263         * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
5264         * elf/dl-deps.c: Likewise.
5265         * elf/dl-fini.c: Likewise.
5266         * elf/dl-init.c: Likewise.
5267         * elf/dl-load.c: Likewise.
5268         * elf/dl-lookup.c: Likewise.
5269         * elf/dl-open.c: Likewise.
5270         * elf/dl-reloc.c: Likewise.
5271         * elf/dl-support.c: Likewise.
5272         * elf/dl-version.c: Likewise.
5273         * elf/do-lookup.h: Likewise.
5274         * elf/rtld.c: Likewise.
5275         * sysdeps/generic/dl-cache.c: Likewise.
5276         * sysdeps/generic/ldsodefs.h: Likewise.
5277         * sysdeps/generic/libc-start.c: Likewise.
5278         * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
5279         Export _dl_debug_mask.
5280         * Versions.def: Define GLIBC_2.2.3 for ld.
5281
5282 2001-02-26  Greg McGary  <greg@mcgary.org>
5283
5284         * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
5285
5286 2001-02-26  Paul Eggert  <eggert@twinsun.com>
5287
5288         Modify mkstemp.c and tempname.c so that they can be used by
5289         GNU applications on non-glibc platforms.
5290
5291         * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
5292
5293         * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
5294         Include <stddef.h>, <stdint.h>, <string.h> only if
5295         STDC_HEADERS || _LIBC.
5296         Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
5297         Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
5298         Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
5299         (__set_errno): Define this macro if <errno.h> doesn't.
5300         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
5301         Define these macros if <stdio.h> doesn't.
5302         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
5303         Define these macros if <sys/stat.h> doesn't.
5304         Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
5305         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
5306         lxstat64, __xstat64): Define if not _LIBC.
5307         (struct_stat64): New macro.
5308         (direxists, __gen_tempname): Use it, to avoid a
5309         portability problem with Solaris 8.
5310         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
5311         (__gen_tempname): Invoke gettimeofday only if
5312         HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
5313         Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
5314         octal values like 0600.
5315
5316 2001-02-26  Ulrich Drepper  <drepper@redhat.com>
5317
5318         * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
5319         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5320
5321         * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
5322         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5323
5324         * posix/wordexp-test.c (testit): Remove warnings.
5325
5326         * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
5327         (tests): Add tstatexit and tstcxaatexit.
5328         (module-names): Add modatexit and modcxaatexit.
5329         Add rules to build and run tstatexit and tstcxaatexit.
5330         * dlfcn/modatexit.c: New file.
5331         * dlfcn/modcxaatexit.c: New file.
5332         * dlfcn/tstatexit.c: New file.
5333         * dlfcn/tstcxaatexit.c: New file.
5334
5335         * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
5336         .hidden is available.
5337         * io/stat.c: If .hidden is available use it to avoid exporting
5338         functions.
5339         * io/fstat.c: Likewise.
5340         * io/lstat.c: Likewise.
5341         * io/stat64.c: Likewise.
5342         * io/fstat64.c: Likewise.
5343         * io/lstat64.c: Likewise.
5344         * sysdeps/generic/mknod.c: Likewise.
5345
5346         * malloc/mtrace.c: Use __cxa_atexit and not atexit.
5347         * sysdeps/generic/bb_init_func.c: Likewise.
5348         * sysdeps/generic/libc-start.c: Likewise.
5349
5350         * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
5351         (atexit): Implement using __cxa_atexit.
5352         Use .hidden if availble to avoid exporting atexit.
5353         * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
5354         * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
5355         * stdlib/Makefile (routines): Add old_atexit.
5356         (static-only-routines): Add atexit.
5357         Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
5358         * stdlib/old_atexit.c: New file.
5359
5360         * intl/Makefile: Remove bogus endif.
5361
5362 2001-02-26  Andreas Jaeger  <aj@suse.de>
5363
5364         * iconvdata/Makefile (tests): Fix typo in last patch.
5365
5366         * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
5367         available.
5368         Reported by Achim Gottinger <achim@gentoo.org>.
5369
5370 2001-02-25  Andreas Jaeger  <aj@suse.de>
5371
5372         * intl/Makefile (plural.c): Reorder rules so that they work if
5373         BISON doesn't exist.
5374
5375 2001-02-25  Ulrich Drepper  <drepper@redhat.com>
5376
5377         * intl/locale.alias: Don't use nb_NO but define aliases for it.
5378
5379 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
5380
5381         * sysdeps/i386/strtok.S: Continue to return NULL after the first
5382         time this happened.
5383
5384 2001-02-23  Andreas Jaeger  <aj@suse.de>
5385
5386         * string/tester.c (test_strtok_r): Add testcase.
5387         (test_strtok_r): Always initialize cp for proper checking.
5388
5389         * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
5390         returning NULL correctly.
5391         Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
5392         * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
5393
5394 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
5395
5396         * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
5397         including <stddef.h>.
5398         * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
5399         * include/libc-symbols.h (weak_alias): Don't use .weak if
5400         HAVE_ASM_GLOBAL_DOT_NAME is defined.
5401         Patches by Michael Keezer <mkeezer@redhat.com>.
5402
5403         * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
5404         Patch by Michael Keezer <mkeezer@redhat.com>.
5405
5406         * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
5407         * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
5408         (sysdep_routines): Remove restf.S and savef.S.
5409         * sysdeps/unix/sysv/aix/restf.S: Removed.
5410         * sysdeps/unix/sysv/aix/savef.S: Removed.
5411         * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
5412         alternative names used on some platforms.
5413         * sysdeps/powerpc/fprsave.S: Likewise.
5414         * sysdeps/powerpc/gprrest0.S: Likewise.
5415         * sysdeps/powerpc/gprrest1.S: Likewise.
5416         * sysdeps/powerpc/gprsave0.S: Likewise.
5417         * sysdeps/powerpc/gprsave1.S: Likewise.
5418         Patch by Michael Keezer <mkeezer@redhat.com>.
5419
5420 2001-02-22  Ulrich Drepper  <drepper@redhat.com>
5421
5422         * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
5423
5424 2001-02-22  Andreas Jaeger  <aj@suse.de>
5425
5426         * string/tst-strtok.c (main): Fix error messages.
5427
5428 2001-02-22  Andreas Jaeger  <aj@suse.de>
5429
5430         * math/Makefile: Remove omit-long-double-fcts.
5431
5432 2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
5433
5434         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
5435         avoid problems on MIPS I.
5436         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
5437
5438         * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
5439         noreorder".
5440
5441 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
5442
5443         * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
5444
5445         * sysdeps/generic/ftime.c: Include <time.h>.
5446
5447         * configure.in: Don't check for libgd if user passed --without-gd.
5448         Patch by Achim Gottinger <achim@gentoo.org>.
5449
5450         * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
5451         first time this happened.
5452         * string/Makefile (tests): Add tst-strtok.
5453
5454 2001-02-21  Andreas Jaeger  <aj@suse.de>
5455
5456         * string/tst-strtok.c: New testcase, reported by
5457         Andrew Church <achurch@achurch.org>.
5458
5459 2001-02-20  Ulrich Drepper  <drepper@redhat.com>
5460
5461         * libio/iofwide.c: Remove fwide alias.
5462
5463 2001-02-20  Andreas Jaeger  <aj@suse.de>
5464
5465         * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
5466         is available.
5467         Reported by Achim Gottinger <achim@gentoo.org>.
5468
5469 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
5470
5471         * iconv/tst-iconv1.c (main): Remove debugging code.
5472
5473         * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
5474         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5475
5476         * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
5477         parameters.
5478         * sysdeps/generic/e_scalbf.c: Likewise.
5479         * sysdeps/generic/e_scalbl.c: Likewise.
5480
5481         * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
5482         libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
5483         in libc.
5484         (routines): Replace libm_error with libc_libm_error.
5485         * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
5486         * sysdeps/ia64/fpu/libc_libm_error.c: New file.
5487
5488 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
5489
5490         * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
5491         (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
5492
5493 2001-02-17  H.J. Lu  <hjl@gnu.org>
5494
5495         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
5496         scratch registers across the system call.
5497
5498 2001-02-19  Andreas Jaeger  <aj@suse.de>
5499
5500         * malloc/Makefile (tests): Run mtrace only when perl is available.
5501         Reported by Achim Gottinger <achim@gentoo.org>.
5502
5503 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
5504
5505         * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
5506         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5507
5508         * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
5509         * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
5510         * math/libm-test.inc (j1_test): Mark constants as long double.
5511         (jn_test): Likewise.
5512         (y1_test): Likewise.
5513         (yn_test): Likewise.
5514
5515         * libio/iogetline.c: Move return until after last statement.
5516
5517         * localedata/show-ucs-data.c: Don't show < > for better readability.
5518
5519         * sysdeps/ia64/fpu/Dist: New file.
5520         * sysdeps/ia64/fpu/Makefile: New file.
5521         * sysdeps/ia64/fpu/Versions: New file.
5522         * sysdeps/ia64/fpu/e_acos.S: New file.
5523         * sysdeps/ia64/fpu/e_acosf.S: New file.
5524         * sysdeps/ia64/fpu/e_acosl.S: New file.
5525         * sysdeps/ia64/fpu/e_asin.S: New file.
5526         * sysdeps/ia64/fpu/e_asinf.S: New file.
5527         * sysdeps/ia64/fpu/e_asinl.S: New file.
5528         * sysdeps/ia64/fpu/e_atan2.S: New file.
5529         * sysdeps/ia64/fpu/e_atan2f.S: New file.
5530         * sysdeps/ia64/fpu/e_atan2l.c: New file.
5531         * sysdeps/ia64/fpu/e_cosh.S: New file.
5532         * sysdeps/ia64/fpu/e_coshf.S: New file.
5533         * sysdeps/ia64/fpu/e_coshl.S: New file.
5534         * sysdeps/ia64/fpu/e_exp.S: New file.
5535         * sysdeps/ia64/fpu/e_expf.S: New file.
5536         * sysdeps/ia64/fpu/e_expl.c: New file.
5537         * sysdeps/ia64/fpu/e_fmod.S: New file.
5538         * sysdeps/ia64/fpu/e_fmodf.S: New file.
5539         * sysdeps/ia64/fpu/e_fmodl.S: New file.
5540         * sysdeps/ia64/fpu/e_hypot.S: New file.
5541         * sysdeps/ia64/fpu/e_hypotf.S: New file.
5542         * sysdeps/ia64/fpu/e_hypotl.S: New file.
5543         * sysdeps/ia64/fpu/e_log.S: New file.
5544         * sysdeps/ia64/fpu/e_log10.c: New file.
5545         * sysdeps/ia64/fpu/e_log10f.c: New file.
5546         * sysdeps/ia64/fpu/e_log10l.c: New file.
5547         * sysdeps/ia64/fpu/e_logf.S: New file.
5548         * sysdeps/ia64/fpu/e_logl.c: New file.
5549         * sysdeps/ia64/fpu/e_pow.S: New file.
5550         * sysdeps/ia64/fpu/e_powf.S: New file.
5551         * sysdeps/ia64/fpu/e_powl.S: New file.
5552         * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
5553         * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
5554         * sysdeps/ia64/fpu/e_remainder.S: New file.
5555         * sysdeps/ia64/fpu/e_remainderf.S: New file.
5556         * sysdeps/ia64/fpu/e_remainderl.S: New file.
5557         * sysdeps/ia64/fpu/e_scalb.S: New file.
5558         * sysdeps/ia64/fpu/e_scalbf.S: New file.
5559         * sysdeps/ia64/fpu/e_scalbl.S: New file.
5560         * sysdeps/ia64/fpu/e_sinh.S: New file.
5561         * sysdeps/ia64/fpu/e_sinhf.S: New file.
5562         * sysdeps/ia64/fpu/e_sinhl.S: New file.
5563         * sysdeps/ia64/fpu/e_sqrt.S: New file.
5564         * sysdeps/ia64/fpu/e_sqrtf.S: New file.
5565         * sysdeps/ia64/fpu/e_sqrtl.S: New file.
5566         * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
5567         * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
5568         * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
5569         * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
5570         * sysdeps/ia64/fpu/libm_error.c: New file.
5571         * sysdeps/ia64/fpu/libm_frexp4.S: New file.
5572         * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
5573         * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
5574         * sysdeps/ia64/fpu/libm_reduce.S: New file.
5575         * sysdeps/ia64/fpu/libm_support.h: New file.
5576         * sysdeps/ia64/fpu/libm_tan.S: New file.
5577         * sysdeps/ia64/fpu/s_atan.S: New file.
5578         * sysdeps/ia64/fpu/s_atanf.S: New file.
5579         * sysdeps/ia64/fpu/s_atanl.S: New file.
5580         * sysdeps/ia64/fpu/s_cbrt.S: New file.
5581         * sysdeps/ia64/fpu/s_cbrtf.S: New file.
5582         * sysdeps/ia64/fpu/s_cbrtl.S: New file.
5583         * sysdeps/ia64/fpu/s_ceil.S: New file.
5584         * sysdeps/ia64/fpu/s_ceilf.S: New file.
5585         * sysdeps/ia64/fpu/s_ceill.S: New file.
5586         * sysdeps/ia64/fpu/s_cos.S: New file.
5587         * sysdeps/ia64/fpu/s_cosf.S: New file.
5588         * sysdeps/ia64/fpu/s_cosl.S: New file.
5589         * sysdeps/ia64/fpu/s_expm1.S: New file.
5590         * sysdeps/ia64/fpu/s_expm1f.S: New file.
5591         * sysdeps/ia64/fpu/s_expm1l.S: New file.
5592         * sysdeps/ia64/fpu/s_floor.S: New file.
5593         * sysdeps/ia64/fpu/s_floorf.S: New file.
5594         * sysdeps/ia64/fpu/s_floorl.S: New file.
5595         * sysdeps/ia64/fpu/s_frexp.c: New file.
5596         * sysdeps/ia64/fpu/s_frexpf.c: New file.
5597         * sysdeps/ia64/fpu/s_frexpl.c: New file.
5598         * sysdeps/ia64/fpu/s_ilogb.S: New file.
5599         * sysdeps/ia64/fpu/s_ilogbf.S: New file.
5600         * sysdeps/ia64/fpu/s_ilogbl.S: New file.
5601         * sysdeps/ia64/fpu/s_ldexp.S: New file.
5602         * sysdeps/ia64/fpu/s_ldexpf.S: New file.
5603         * sysdeps/ia64/fpu/s_ldexpl.S: New file.
5604         * sysdeps/ia64/fpu/s_log1p.S: New file.
5605         * sysdeps/ia64/fpu/s_log1pf.S: New file.
5606         * sysdeps/ia64/fpu/s_log1pl.S: New file.
5607         * sysdeps/ia64/fpu/s_logb.S: New file.
5608         * sysdeps/ia64/fpu/s_logbf.S: New file.
5609         * sysdeps/ia64/fpu/s_logbl.S: New file.
5610         * sysdeps/ia64/fpu/s_matherrf.c: New file.
5611         * sysdeps/ia64/fpu/s_matherrl.c: New file.
5612         * sysdeps/ia64/fpu/s_modf.S: New file.
5613         * sysdeps/ia64/fpu/s_modff.S: New file.
5614         * sysdeps/ia64/fpu/s_modfl.S: New file.
5615         * sysdeps/ia64/fpu/s_nearbyint.S: New file.
5616         * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
5617         * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
5618         * sysdeps/ia64/fpu/s_rint.S: New file.
5619         * sysdeps/ia64/fpu/s_rintf.S: New file.
5620         * sysdeps/ia64/fpu/s_rintl.S: New file.
5621         * sysdeps/ia64/fpu/s_round.S: New file.
5622         * sysdeps/ia64/fpu/s_roundf.S: New file.
5623         * sysdeps/ia64/fpu/s_roundl.S: New file.
5624         * sysdeps/ia64/fpu/s_scalbn.S: New file.
5625         * sysdeps/ia64/fpu/s_scalbnf.S: New file.
5626         * sysdeps/ia64/fpu/s_scalbnl.S: New file.
5627         * sysdeps/ia64/fpu/s_significand.S: New file.
5628         * sysdeps/ia64/fpu/s_significandf.S: New file.
5629         * sysdeps/ia64/fpu/s_significandl.S: New file.
5630         * sysdeps/ia64/fpu/s_sin.c: New file.
5631         * sysdeps/ia64/fpu/s_sincos.c: New file.
5632         * sysdeps/ia64/fpu/s_sincosf.c: New file.
5633         * sysdeps/ia64/fpu/s_sincosl.c: New file.
5634         * sysdeps/ia64/fpu/s_sinf.c: New file.
5635         * sysdeps/ia64/fpu/s_sinl.c: New file.
5636         * sysdeps/ia64/fpu/s_tan.S: New file.
5637         * sysdeps/ia64/fpu/s_tanf.S: New file.
5638         * sysdeps/ia64/fpu/s_tanl.S: New file.
5639         * sysdeps/ia64/fpu/s_trunc.S: New file.
5640         * sysdeps/ia64/fpu/s_truncf.S: New file.
5641         * sysdeps/ia64/fpu/s_truncl.S: New file.
5642         * sysdeps/ia64/fpu/w_acos.c: New file.
5643         * sysdeps/ia64/fpu/w_acosf.c: New file.
5644         * sysdeps/ia64/fpu/w_acosl.c: New file.
5645         * sysdeps/ia64/fpu/w_asin.c: New file.
5646         * sysdeps/ia64/fpu/w_asinf.c: New file.
5647         * sysdeps/ia64/fpu/w_asinl.c: New file.
5648         * sysdeps/ia64/fpu/w_atan2.c: New file.
5649         * sysdeps/ia64/fpu/w_atan2f.c: New file.
5650         * sysdeps/ia64/fpu/w_atan2l.c: New file.
5651         * sysdeps/ia64/fpu/w_cosh.c: New file.
5652         * sysdeps/ia64/fpu/w_coshf.c: New file.
5653         * sysdeps/ia64/fpu/w_coshl.c: New file.
5654         * sysdeps/ia64/fpu/w_exp.c: New file.
5655         * sysdeps/ia64/fpu/w_expf.c: New file.
5656         * sysdeps/ia64/fpu/w_fmod.c: New file.
5657         * sysdeps/ia64/fpu/w_fmodf.c: New file.
5658         * sysdeps/ia64/fpu/w_fmodl.c: New file.
5659         * sysdeps/ia64/fpu/w_hypot.c: New file.
5660         * sysdeps/ia64/fpu/w_hypotf.c: New file.
5661         * sysdeps/ia64/fpu/w_hypotl.c: New file.
5662         * sysdeps/ia64/fpu/w_log.c: New file.
5663         * sysdeps/ia64/fpu/w_log10.c: New file.
5664         * sysdeps/ia64/fpu/w_log10f.c: New file.
5665         * sysdeps/ia64/fpu/w_log10l.c: New file.
5666         * sysdeps/ia64/fpu/w_logf.c: New file.
5667         * sysdeps/ia64/fpu/w_logl.c: New file.
5668         * sysdeps/ia64/fpu/w_pow.c: New file.
5669         * sysdeps/ia64/fpu/w_powf.c: New file.
5670         * sysdeps/ia64/fpu/w_powl.c: New file.
5671         * sysdeps/ia64/fpu/w_remainder.c: New file.
5672         * sysdeps/ia64/fpu/w_remainderf.c: New file.
5673         * sysdeps/ia64/fpu/w_remainderl.c: New file.
5674         * sysdeps/ia64/fpu/w_scalb.c: New file.
5675         * sysdeps/ia64/fpu/w_scalbf.c: New file.
5676         * sysdeps/ia64/fpu/w_scalbl.c: New file.
5677         * sysdeps/ia64/fpu/w_sqrt.c: New file.
5678         * sysdeps/ia64/fpu/w_sqrtf.c: New file.
5679         * sysdeps/ia64/fpu/w_sqrtl.c: New file.
5680         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
5681         implementation.
5682         * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
5683         Change FP_ILOGBNAN for new implementation.
5684         * Verions.def: Add 2.2.3 versions.
5685
5686 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
5687
5688         * math/libm-test.inc (scalb_test): Require invalid exception being
5689         raised for invalid parameters.
5690         * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
5691         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5692         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5693
5694 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
5695
5696         * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
5697         value to long int.
5698         (__get_avphys_pages): Likewise.
5699
5700 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
5701
5702         * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
5703         * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
5704         * sysdeps/i386/fpu/e_powf.S: Likewise.
5705         * sysdeps/i386/fpu/e_powl.S: Likewise.
5706
5707         * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
5708
5709 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
5710
5711         * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
5712
5713         * sysdeps/generic/s_exp2l.c: Renamed to...
5714         * sysdeps/generic/e_exp2l.c: ...this.   New file.
5715         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
5716         * sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
5717         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
5718         * sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
5719         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
5720         * sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
5721         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
5722         * sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
5723         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
5724         * sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
5725         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
5726         * sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
5727         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
5728         * sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
5729         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
5730         * sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
5731
5732 2001-02-17  Andreas Jaeger  <aj@suse.de>
5733
5734         * configure.in: Allow gcc 3.
5735
5736 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
5737
5738         * math/w_acos.c: Move to ...
5739         * sysdeps/generic/w_acos.c: ...here.  New file.
5740         * math/w_acosf.c: Move to ...
5741         * sysdeps/generic/w_acosf.c: ...here.  New file.
5742         * math/w_acosh.c: Move to ...
5743         * sysdeps/generic/w_acosh.c: ...here.  New file.
5744         * math/w_acoshf.c: Move to ...
5745         * sysdeps/generic/w_acoshf.c: ...here.  New file.
5746         * math/w_acoshl.c: Move to ...
5747         * sysdeps/generic/w_acoshl.c: ...here.  New file.
5748         * math/w_acosl.c: Move to ...
5749         * sysdeps/generic/w_acosl.c: ...here.  New file.
5750         * math/w_asin.c: Move to ...
5751         * sysdeps/generic/w_asin.c: ...here.  New file.
5752         * math/w_asinf.c: Move to ...
5753         * sysdeps/generic/w_asinf.c: ...here.  New file.
5754         * math/w_asinl.c: Move to ...
5755         * sysdeps/generic/w_asinl.c: ...here.  New file.
5756         * math/w_atan2.c: Move to ...
5757         * sysdeps/generic/w_atan2.c: ...here.  New file.
5758         * math/w_atan2f.c: Move to ...
5759         * sysdeps/generic/w_atan2f.c: ...here.  New file.
5760         * math/w_atan2l.c: Move to ...
5761         * sysdeps/generic/w_atan2l.c: ...here.  New file.
5762         * math/w_atanh.c: Move to ...
5763         * sysdeps/generic/w_atanh.c: ...here.  New file.
5764         * math/w_atanhf.c: Move to ...
5765         * sysdeps/generic/w_atanhf.c: ...here.  New file.
5766         * math/w_atanhl.c: Move to ...
5767         * sysdeps/generic/w_atanhl.c: ...here.  New file.
5768         * math/w_cosh.c: Move to ...
5769         * sysdeps/generic/w_cosh.c: ...here.  New file.
5770         * math/w_coshf.c: Move to ...
5771         * sysdeps/generic/w_coshf.c: ...here.  New file.
5772         * math/w_coshl.c: Move to ...
5773         * sysdeps/generic/w_coshl.c: ...here.  New file.
5774         * math/w_drem.c: Move to ...
5775         * sysdeps/generic/w_drem.c: ...here.  New file.
5776         * math/w_dremf.c: Move to ...
5777         * sysdeps/generic/w_dremf.c: ...here.  New file.
5778         * math/w_dreml.c: Move to ...
5779         * sysdeps/generic/w_dreml.c: ...here.  New file.
5780         * math/w_exp10.c: Move to ...
5781         * sysdeps/generic/w_exp10.c: ...here.  New file.
5782         * math/w_exp10f.c: Move to ...
5783         * sysdeps/generic/w_exp10f.c: ...here.  New file.
5784         * math/w_exp10l.c: Move to ...
5785         * sysdeps/generic/w_exp10l.c: ...here.  New file.
5786         * math/w_exp2.c: Move to ...
5787         * sysdeps/generic/w_exp2.c: ...here.  New file.
5788         * math/w_exp2f.c: Move to ...
5789         * sysdeps/generic/w_exp2f.c: ...here.  New file.
5790         * math/w_exp2l.c: Move to ...
5791         * sysdeps/generic/w_exp2l.c: ...here.  New file.
5792         * math/w_fmod.c: Move to ...
5793         * sysdeps/generic/w_fmod.c: ...here.  New file.
5794         * math/w_fmodf.c: Move to ...
5795         * sysdeps/generic/w_fmodf.c: ...here.  New file.
5796         * math/w_fmodl.c: Move to ...
5797         * sysdeps/generic/w_fmodl.c: ...here.  New file.
5798         * math/w_hypot.c: Move to ...
5799         * sysdeps/generic/w_hypot.c: ...here.  New file.
5800         * math/w_hypotf.c: Move to ...
5801         * sysdeps/generic/w_hypotf.c: ...here.  New file.
5802         * math/w_hypotl.c: Move to ...
5803         * sysdeps/generic/w_hypotl.c: ...here.  New file.
5804         * math/w_j0.c: Move to ...
5805         * sysdeps/generic/w_j0.c: ...here.  New file.
5806         * math/w_j0f.c: Move to ...
5807         * sysdeps/generic/w_j0f.c: ...here.  New file.
5808         * math/w_j0l.c: Move to ...
5809         * sysdeps/generic/w_j0l.c: ...here.  New file.
5810         * math/w_j1.c: Move to ...
5811         * sysdeps/generic/w_j1.c: ...here.  New file.
5812         * math/w_j1f.c: Move to ...
5813         * sysdeps/generic/w_j1f.c: ...here.  New file.
5814         * math/w_j1l.c: Move to ...
5815         * sysdeps/generic/w_j1l.c: ...here.  New file.
5816         * math/w_jn.c: Move to ...
5817         * sysdeps/generic/w_jn.c: ...here.  New file.
5818         * math/w_jnf.c: Move to ...
5819         * sysdeps/generic/w_jnf.c: ...here.  New file.
5820         * math/w_jnl.c: Move to ...
5821         * sysdeps/generic/w_jnl.c: ...here.  New file.
5822         * math/w_lgamma.c: Move to ...
5823         * sysdeps/generic/w_lgamma.c: ...here.  New file.
5824         * math/w_lgammaf.c: Move to ...
5825         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
5826         * math/w_lgammaf_r.c: Move to ...
5827         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
5828         * math/w_lgammal.c: Move to ...
5829         * sysdeps/generic/w_lgammal.c: ...here.  New file.
5830         * math/w_lgammal_r.c: Move to ...
5831         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
5832         * math/w_lgamma_r.c: Move to ...
5833         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
5834         * math/w_log10.c: Move to ...
5835         * sysdeps/generic/w_log10.c: ...here.  New file.
5836         * math/w_log10f.c: Move to ...
5837         * sysdeps/generic/w_log10f.c: ...here.  New file.
5838         * math/w_log10l.c: Move to ...
5839         * sysdeps/generic/w_log10l.c: ...here.  New file.
5840         * math/w_log.c: Move to ...
5841         * sysdeps/generic/w_log.c: ...here.  New file.
5842         * math/w_logf.c: Move to ...
5843         * sysdeps/generic/w_logf.c: ...here.  New file.
5844         * math/w_logl.c: Move to ...
5845         * sysdeps/generic/w_logl.c: ...here.  New file.
5846         * math/w_pow.c: Move to ...
5847         * sysdeps/generic/w_pow.c: ...here.  New file.
5848         * math/w_powf.c: Move to ...
5849         * sysdeps/generic/w_powf.c: ...here.  New file.
5850         * math/w_powl.c: Move to ...
5851         * sysdeps/generic/w_powl.c: ...here.  New file.
5852         * math/w_remainder.c: Move to ...
5853         * sysdeps/generic/w_remainder.c: ...here.  New file.
5854         * math/w_remainderf.c: Move to ...
5855         * sysdeps/generic/w_remainderf.c: ...here.  New file.
5856         * math/w_remainderl.c: Move to ...
5857         * sysdeps/generic/w_remainderl.c: ...here.  New file.
5858         * math/w_scalb.c: Move to ...
5859         * sysdeps/generic/w_scalb.c: ...here.  New file.
5860         * math/w_scalbf.c: Move to ...
5861         * sysdeps/generic/w_scalbf.c: ...here.  New file.
5862         * math/w_scalbl.c: Move to ...
5863         * sysdeps/generic/w_scalbl.c: ...here.  New file.
5864         * math/w_sinh.c: Move to ...
5865         * sysdeps/generic/w_sinh.c: ...here.  New file.
5866         * math/w_sinhf.c: Move to ...
5867         * sysdeps/generic/w_sinhf.c: ...here.  New file.
5868         * math/w_sinhl.c: Move to ...
5869         * sysdeps/generic/w_sinhl.c: ...here.  New file.
5870         * math/w_sqrtl.c: Move to ...
5871         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
5872         * math/w_tgamma.c: Move to ...
5873         * sysdeps/generic/w_tgamma.c: ...here.  New file.
5874         * math/w_tgammaf.c: Move to ...
5875         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
5876         * math/w_tgammal.c: Move to ...
5877         * sysdeps/generic/w_tgammal.c: ...here.  New file.
5878
5879         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
5880         formats for postal_fmt.
5881
5882 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
5883
5884         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
5885         __ftruncate64 alias.
5886         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
5887         Likewise.
5888
5889 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
5890
5891         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
5892         do "loadrs".  Writing to bspstore already takes care of
5893         invalidating the "clean" partition.
5894
5895 2001-02-16  Andreas Schwab  <schwab@suse.de>
5896
5897         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
5898         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
5899
5900 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
5901
5902         * posix/regex.c (init_syntax_once): Add prototype.
5903         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
5904         (re_search_2): Avoid warning.
5905         (count_mbs_length): Add prototype.
5906         * posix/tst-regex3.c: New file.
5907         * posix/Makefile (tests): Add bug-regex3.
5908
5909 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
5910
5911         * stdio-common/Makefile (tests): Add tst-gets.
5912         * stdio-common/tst-gets.c: New file.
5913         * stdio-common/tst-gets.input: New file.
5914
5915         * elf/elf.h (DT_CHECKSUM): Define.
5916
5917         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
5918         default symbol.
5919         * sysdeps/generic/strtoull.c: Likewise.
5920
5921 2001-02-14  Wolfram Gloger  <wg@malloc.de>
5922
5923         * malloc/malloc.c (new_heap): When allocating large chunk aligned
5924         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
5925         between the heaps.
5926
5927 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
5928
5929         * math/libm-test.inc (j0_test): Check whether sincos is available.
5930         (j1_test): Likewise.
5931         (jn_test): Likewise.
5932         (y0_test): Likewise.
5933         (y1_test): Likewise.
5934         (yn_test): Likewise.
5935
5936         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
5937         fake filesystem routines to handle this.
5938
5939         * time/sys/time.h: Make settimeofday and adjtime available if
5940         _BSD_SOURCE.
5941
5942         * time/sys/time.h: Make timer* macros available for BSD.
5943
5944         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
5945         Patch by Yong Li <rigel863@yahoo.com>.
5946
5947         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
5948         name.
5949
5950         * posix/Makefile (tests): Add tst-gnuglob.
5951         * posix/tst-gnuglob.c: New file.
5952
5953 2001-02-13  H.J. Lu  <hjl@gnu.org>
5954
5955         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
5956
5957 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
5958
5959         * locale/programs/ld-paper.c (paper_output): Pretty printing.
5960
5961         * iconvdata/Makefile (modules): Add GBBIG5.
5962         (distribute): Add gbbig5.c.
5963         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
5964
5965         * iconvdata/gbbig5.c: New file.
5966         Contributed by Yong Li <rigel863@yahoo.com>.
5967
5968 2001-02-13  Philip Blundell  <pb@futuretv.com>
5969
5970         * manual/crypt.texi: Remove outdated references to crypt add-on.
5971
5972         * manual/creature.texi: Improve wording slightly.
5973
5974 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
5975
5976         * io/ftw.c: Always use readdir64.
5977         * io/ftw64.c: Likewise.
5978         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5979         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5980         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
5981         callback to dirent.  Still allow compiling outside glibc.
5982         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
5983         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5984
5985         * malloc/mtrace.c: Use fopen64.
5986         * posix/spawni.c: Use __open64.
5987         * sysdeps/unix/opendir.c: Likewise.
5988         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
5989
5990         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
5991         name a weak alias.
5992         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
5993         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
5994         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5995         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
5996
5997         * resolv/res_data.c: Add cast to avoid warning.
5998
5999         * include/unistd.h: Declare __ftruncate64.
6000
6001         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
6002
6003         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
6004         instead of __lseek.
6005
6006 2001-02-13  Andreas Jaeger  <aj@suse.de>
6007
6008         * login/getutent_r.c: Include <stdlib.h> for NULL.
6009         * login/getutid_r.c: Likewise.
6010
6011 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
6012
6013         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
6014         * sysdeps/dbl-64/e_j1.c: Likewise.
6015         * sysdeps/dbl-64/e_jn.c: Likewise.
6016         * sysdeps/flt-32/e_j0f.c: Likewise.
6017         * sysdeps/flt-32/e_j1f.c: Likewise.
6018         * sysdeps/ldbl-96/e_j0l.c: Likewise.
6019
6020 2000-12-02  H.J. Lu  <hjl@gnu.org>
6021
6022         * resolv/res_libc.c (res_init): Don't make it default.
6023
6024 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
6025
6026         * manual/debug.texi: Improved the wording.
6027         Patch by Philip Blundell <pb@futuretv.com>.
6028
6029 2001-02-12  Andreas Jaeger  <aj@suse.de>
6030
6031         * posix/Makefile (tests): Don't run bug-regex2 when
6032         cross-compiling.
6033
6034         * libio/Makefile (tests): Don't run test-freopen when
6035         cross-compiling.
6036
6037         * manual/stdio.texi (Streams and I18N): Fix typos.
6038
6039 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
6040
6041         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
6042
6043         * math/libm-test.inc (j0_test): Make expected results long double
6044         constants.
6045         (y0_test): Likewise.
6046
6047         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
6048         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
6049
6050 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
6051
6052         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
6053         which was exported from libc.
6054         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
6055
6056 2001-02-12  Andreas Jaeger  <aj@suse.de>
6057
6058         * manual/arith.texi (Parsing of Integers): Fix some wordings.
6059
6060 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
6061
6062         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
6063         and get_avphys_page to long int.
6064         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
6065         * include/sys/sysinfo.h: Likewise.
6066         * sysdeps/generic/sys/sysinfo.h: Likewise.
6067         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
6068
6069         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
6070         cannot return as many values as the user asked for.
6071
6072 2001-02-11  Andreas Jaeger  <aj@suse.de>
6073
6074         * manual/resource.texi (Memory Resources): Fix typo.
6075
6076         * libio/Makefile ($(objpfx)test-freopen.out): Pass
6077         run-program-prefix.
6078
6079         * libio/test-freopen.sh: Use run_program_prefix.
6080
6081 2001-02-10  Andreas Jaeger  <aj@suse.de>
6082
6083         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
6084         cross-compiling.
6085         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
6086
6087         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
6088         only builds.
6089
6090         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
6091
6092         * posix/Makefile: Fix typo, it's build-static-nss.
6093
6094         * iconv/Makefile (extra-objs): New.
6095
6096 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
6097
6098         * sysdeps/unix/stime.c: Include <time.h>.
6099
6100         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
6101
6102 2001-02-10  Andreas Jaeger  <aj@suse.de>
6103
6104         * manual/string.texi (Search Functions): Fix typo.
6105
6106 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
6107
6108         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
6109         (timeval_to_clock_t): Add clk_tck argument and use that instead of
6110         CLK_TCK.
6111         (__times): Use __getclktck to get the number of clock ticks per
6112         second and use its return value instead of CLK_TCK.
6113
6114 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
6115
6116         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
6117
6118 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
6119
6120         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
6121
6122 2001-02-10  Andreas Jaeger  <aj@suse.de>
6123
6124         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
6125         warning.
6126
6127 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
6128
6129         * posix/Makefile: Add rules to build and run bug-regex2.
6130         * posix/bug-regex2.c: New file.
6131
6132 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
6133
6134         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
6135         (regex_compile): Likewise.
6136         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
6137         (re_match_2_internal): Use just is_binary instead of two variables.
6138         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
6139
6140 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
6141
6142         * version.h (VERSION): Bump to 2.2.2.
6143
6144         * iconv/Makefile (distribute): Add iconv_charmap.c and
6145         dummy-repertoire.c.
6146         * elf/Makefile (distribute): Add firstobj.c.
6147         * Makefile (distribute): Add include/pthread.h.
6148
6149         * configure.in: Require makeinfo version 4.
6150
6151         * libio/tst_wscanf.c (main): Add cast to avoid warning.
6152         * libio/tst_swscanf.c (main): Likewise..
6153
6154 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
6155
6156         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
6157         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
6158         __NO_MATH_INLINES.
6159         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
6160         if not RTLD_BOOTSTRAP.
6161         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6162         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6163
6164 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
6165
6166         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
6167         lr_ungetc to push back last read character.
6168         * locale/programs/linereader.h (lr_ungetc): Don't push back is
6169         character is EOF.
6170         (lr_ignore_rest): Don't warn about garbage if it is really the end
6171         of the file.
6172
6173         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
6174         definition.
6175
6176 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
6177
6178         * Makerules (build-shlib): Work around different order of
6179         processing of -B option in different gcc versions.
6180
6181         * posix/regex.c: Fix alignment problem.
6182         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6183
6184         * sysdeps/alpha/strrchr.S: Little optimization.
6185         Patch by Richard Henderson <rth@redhat.com>.
6186
6187         * sysdeps/alpha/alphaev67/strrchr.S: New file.
6188         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
6189
6190 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
6191
6192         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
6193         in the assembler end directive.
6194
6195 2001-02-08  Andreas Jaeger  <aj@suse.de>
6196
6197         * manual/stdio.texi (Closing Streams): Fix typos.
6198
6199 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
6200
6201         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
6202         Patch by Richard Henderson <rth@redhat.com>.
6203         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
6204
6205         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
6206         pointer in FILE structure before calling _IO_init.
6207         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
6208         strfmon_l if necessary.
6209         Reported by Jury Gerold <gjury@grips.com>.
6210
6211         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
6212         Patch by Pekka.Pietikainen@cern.ch.
6213
6214         * posix/regex.c: Correct several problems with 64-bit architectures
6215         introduced in the MBS changes.
6216         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6217
6218 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
6219
6220         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
6221         not defined.
6222         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
6223
6224 2001-02-07  Andreas Jaeger  <aj@suse.de>
6225
6226         * manual/install.texi (Tools for Compilation): Fix typo.
6227         Reported by Pavel Machek <pavel@bug.ucw.cz>.
6228
6229 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
6230
6231         * stdlib/strtod.c: Never stop prematurely reading digits before the
6232         decimal point is found.  Compute exponent limit for negative exponents
6233         correctly.  For numbers ending in all zeros eat the zeros even before
6234         the decimal point if the exponent is negative [PR libc/2072].
6235         * stdlib/Makefile (tests): Add bug-strtod.
6236         * stdlib/bug-strtod.c: New file.
6237
6238 2001-02-07  Andreas Jaeger  <aj@suse.de>
6239
6240         * posix/bug-regex1.c: Include <wchar.h> for fwide.
6241
6242 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
6243
6244         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
6245         Store index.
6246         (compile_range): Handle index being passed, not pointer.
6247         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6248
6249         * posix/regex.c: Fix a cast in the code for bracket handling which
6250         caused 8-bit uncleanliness.
6251         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
6252
6253         * posix/Makefile (tests): Add bug-regex1.
6254         * posix/bug-regex1.c: New file.
6255         Contributed by Jim Meyering <jim@meyering.net>.
6256
6257         * posix/regex.c: Many cleanups for incorrect format strings.
6258
6259 2001-02-06  Andreas Jaeger  <aj@suse.de>
6260
6261         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
6262
6263 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
6264
6265         * locale/programs/locale.c (write_locales): Use scandir to read
6266         directory so that the entries are sorted.
6267
6268 2001-02-06  Andreas Jaeger  <aj@suse.de>
6269
6270         * include/pthread.h: New file.
6271
6272         * wctype/wctype.h: Move internal interfaces from here to...
6273         * include/wctype.h: ...here.
6274
6275         * wcsmbs/wchar.h: Move __wcslen from here to...
6276         * include/wchar.h: ...here.
6277
6278         * posix/sys/wait.h: Move __wait from here to...
6279         * include/sys/wait.h: ...here.
6280
6281         * string/string.h: Move __ffs and __strerror_r from here to...
6282         * include/string.h: ...here.
6283
6284         * stdlib/stdlib.h: Move __on_exit from here to...
6285         * include/stdlib.h: ...here.
6286
6287         * libio/stdio.h: Move __vsnprintf from here to...
6288         * include/stdio.h: ...here.
6289
6290 2001-02-06  Andreas Schwab  <schwab@suse.de>
6291
6292         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
6293         headers.
6294
6295         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
6296         of $(inst_datadir).
6297
6298 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
6299
6300         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
6301
6302 2001-02-06  Andreas Jaeger  <aj@suse.de>
6303
6304         * elf/firstobj.c: Add prototype.
6305
6306         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
6307         (truncate_wchar): Likewise.
6308
6309 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
6310
6311         * locale/programs/locale.c: Implement --verbose option for -a
6312         which prints detailed information about the locales.
6313
6314 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
6315
6316         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
6317         variable to uint32_t.
6318         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
6319
6320 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
6321
6322         * locale/C-translit.h.in: Add transliterations for CJK units of
6323         measurement.
6324
6325 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
6326
6327         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
6328         string.  Include <inttypes.h> instead of <stdint.h>.
6329
6330         * localedata/Makefile (tests): Add bug-iconv-trans.
6331         Define bug-iconv-trans-ENV.
6332         * localedata/bug-iconv-trans.c: New file.
6333
6334 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
6335
6336         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
6337         pointer, to avoid accumulating output from incomplete (unsuccessful)
6338         transliteration attempts.
6339
6340 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
6341
6342         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
6343         string.  Include <inttypes.h> instead of <stdint.h>.
6344
6345         * configure.in: Add check for bison.
6346         * config.make.in: Define BISON variable.
6347         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
6348         Rename YFLAGS to BISONFLAGS.
6349
6350 2001-02-05  Andreas Jaeger  <aj@suse.de>
6351
6352         * io/test-lfs.c (do_test): Test lseek64 return value, call
6353         test_ftello.
6354         (test_ftello): New function to test ftello64 and fseeko64.
6355
6356         * signal/signal.h: Move __sigaction from here to...
6357         * include/signal.h: ...here.
6358
6359         * io/fcntl.h: Move __fcntl and __open to...
6360         * include/fcntl.h: ...here.
6361
6362 2001-02-04  Philip Blundell  <philb@gnu.org>
6363
6364         * configure.in: Distinguish ARM from Thumb.
6365
6366 2001-02-04  Philip Blundell  <philb@gnu.org>
6367
6368         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
6369         PC24 relocs with negative value.
6370
6371 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
6372
6373         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
6374         files in locale/programs.  Add CFLAGS definition to allow compiling
6375         localedef files.
6376         * iconv/dummy-repertoire.c: New file.
6377         * iconv/iconv_charmap.c: New file.
6378         * iconv/iconv_prog.h: New file.
6379         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
6380         (main): If parameter for -f and -t contain slashes try first to resolve
6381         the strings as filenames of charmap files.  Use them for conversion
6382         in this case.
6383         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
6384         iconv getting charmap names as parameters.
6385         * locale/programs/linereader.c (lr_token): Take extra parameters
6386         verbose and pass it to get_string.
6387         (get_string): Take extra parameters verbose.
6388         * locale/programs/charmap.c (parse_charmap): Take extra parameters
6389         verbose and be_quiet.  Change all callers of lr_token and
6390         parse_charmap.
6391         * locale/programs/charmap.h: Likewise.
6392         * locale/programs/ld-address.c: Likewise.
6393         * locale/programs/ld-collate.c: Likewise.
6394         * locale/programs/ld-ctype.c: Likewise.
6395         * locale/programs/ld-identification.c: Likewise.
6396         * locale/programs/ld-measurement.c: Likewise.
6397         * locale/programs/ld-messages.c: Likewise.
6398         * locale/programs/ld-monetary.c: Likewise.
6399         * locale/programs/ld-name.c: Likewise.
6400         * locale/programs/ld-numeric.c: Likewise.
6401         * locale/programs/ld-paper.c: Likewise.
6402         * locale/programs/ld-telephone.c: Likewise.
6403         * locale/programs/ld-time.c: Likewise.
6404         * locale/programs/linereader.c: Likewise.
6405         * locale/programs/linereader.h: Likewise.
6406         * locale/programs/localedef.c: Likewise.
6407         * locale/programs/locfile.c: Likewise.
6408         * locale/programs/locfile.h: Likewise.
6409         * locale/programs/repertoire.c: Likewise.
6410
6411 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
6412
6413         * iconv/iconv_prog.c (main): If output file name is "-" write to
6414         stdout.
6415         (main): If -f or -t argument is missing use charset of the current
6416         locale.
6417
6418 2001-02-03  Andreas Jaeger  <aj@suse.de>
6419
6420         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
6421         boundary for SSE/SSE-2 alignment.
6422
6423         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
6424         annexc.
6425
6426 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
6427
6428         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
6429         Remove comma at end of enum.
6430
6431         * elf/dl-init.c: Add a few __builtin_expect.
6432
6433         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
6434
6435 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
6436
6437         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
6438         errno is ECONNREFUSED.
6439
6440         * posix/Makefile: Define MBS_SUPPORT for regex.c.
6441         * posix/regex.c: Implement multibyte character handling.
6442         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
6443
6444         * string/tst-svc.input: Add two more test cases.
6445         * string/tst-svc.expect: Modify to reflect new test cases.
6446
6447 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
6448
6449         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
6450         tp->name tests with tp->name[0] tests.
6451
6452 2001-01-29  Ben Collins  <bcollins@debian.org>
6453
6454         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
6455         Fix check for name == NULL.
6456
6457 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
6458
6459         * elf/Makefile: Add rules to build and run initfirst test.
6460         * elf/initfirst.c: New file.
6461         * elf/firstobj.c: New file.
6462
6463         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
6464         * configure.in: Test for -z initfirst linker option.
6465         * config.make.in: Add have-z-initfirst.
6466         * elf/dl-init.c (_dl_init): Split out actual initialization code in
6467         new function call_init.  If _dl_initfirst is non-NULL initialize first.
6468         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
6469         remember object in _dl_initfirst.
6470         * elf/soinit.c: Remove special support for calling
6471         __pthread_initialize_minimal.
6472
6473         * conform/conformtest.pl: Add missing $prepend in type test.
6474
6475 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
6476
6477         * elf/elf.h (SHT_CHECKSUM): New definition.
6478
6479         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
6480         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6481         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
6482
6483 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
6484
6485         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
6486         to get definition of `struct timeval'.
6487
6488 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
6489
6490         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
6491         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
6492
6493 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
6494
6495         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
6496         seen, not flags.
6497
6498         * nis/nis_findserv.c: Include <time.h>.
6499
6500 2001-01-30  Yong Li  <yong.li@asu.edu>
6501
6502         * iconv/iconv_prog.c (main): Correct error handling method name.
6503
6504 2001-01-29  Ben Collins  <bcollins@debian.org>
6505
6506         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
6507         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
6508         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
6509         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
6510
6511 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
6512
6513         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
6514         Patch by Marko Myllynen <myllynen@lut.fi>.
6515
6516         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
6517         (int instead of char).
6518         (__strpbrk_c3): Likewise.
6519         Reported by GOTO Masanori <gotom@debian.or.jp>.
6520
6521         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
6522         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
6523         * include/sys/socket.h: Add SA_LEN here for internal use.
6524         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
6525
6526 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
6527
6528         * malloc/Makefile: Don't build memusagestat if cross-compiling.
6529
6530         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
6531
6532         * math/libm-test.inc (rint_test): Add a few more tests for round
6533         to even rounding.
6534
6535 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
6536
6537         * conform/data/pthread.h-data: Correct return type of pthread_exit.
6538
6539         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
6540
6541         * conform/data/stdlib.h-data: Add _Exit.
6542
6543         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
6544         if not already happened.
6545         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
6546         Don't include <limits.h> and <bits/sockaddr.h>.
6547
6548         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
6549
6550         * conform/data/spawn.h-data: Allow all of <sched.h>.
6551
6552         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
6553         unused variable.
6554
6555         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
6556         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
6557
6558         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
6559
6560         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
6561         * libio/stdio.h: Define va_list correctly.
6562
6563         * conform/data/pthread.h-data: Make priority protocol related
6564         functions optional.  Fix typos.
6565
6566         * posix/sched.h: Define sched_priority as __sched_priority.
6567         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
6568         to __sched_priority.
6569         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6570
6571 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
6572
6573         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
6574         of <sys/time.h>.
6575
6576         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
6577         * sysdeps/unix/time.c: Likewise.
6578
6579         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
6580         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
6581         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
6582         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
6583         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6584         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
6585         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
6586         * time/time.h: Likewise.
6587
6588         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
6589         * conform/data/complex.h-data: New file.
6590         * conform/data/tgmath.h-data: New file.
6591
6592         * conform/data/wchar.h-data: Add missing functions.
6593
6594         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
6595
6596         * conform/data/termios.h-data: Add missing const in tcsetattr()
6597         prototype.
6598
6599         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
6600         Don't define pid_t here.
6601
6602         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
6603
6604         * conform/data/sys/time.h-data: Allow sys/select.h.
6605         * conform/data/sys/un.h-data: Fix typo.
6606         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
6607         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
6608         <sys/time.h>.
6609         * sysdeps/unix/clock_nanosleep.c: Likewise.
6610         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
6611         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
6612         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
6613         * sysdeps/unix/clock_settime.c: Likewise.
6614
6615         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
6616         * login/getutent.c: Likewise.
6617         * login/getutid.c: Likewise.
6618         * login/getutline.c: Likewise.
6619
6620         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
6621
6622         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
6623         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
6624         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
6625         f_fsid field after change in struct statvfs.
6626         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
6627         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
6628         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
6629
6630         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
6631         optional-macro.
6632
6633         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
6634         recvfrom, send, and socketpair prototypes.  Add allow lines.
6635         * socket/sys/socket.h: Include <sys/uio.h>.
6636         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
6637         Fix type of second parameter of listen.
6638         Don't declare isfdtype unless __USE_MISC.
6639         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
6640         * sysdeps/mach/hurd/listen.c: Likewise.
6641         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
6642         ss_family and __ss_family.
6643         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
6644         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6645         (struct msghdr): Change type of msg_iovlen to int and type of
6646         msg_controllen to socklen_t.
6647         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
6648         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
6649         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
6650         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
6651         (rresvport_af): Likewise.
6652
6653         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
6654         * conform/conformtest.pl: Implement handling of symbol.
6655
6656         * signal/signal.h: Fix handling of __need_* symbols.
6657         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
6658         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
6659         * include/sys/select.h: Use fd_set not __fd_set.
6660         * sysdeps/generic/bits/select.h: Likewise.
6661         * sysdeps/i386/bits/select.h: Likewise.
6662         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
6663         __FDELT, __FDMASK, and __fd_set here.
6664         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
6665         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
6666         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6667         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6668         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
6669         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6670         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6671         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6672         * time/sys/time.h: Define struct timeval before including <time.h>
6673         and <sys/select.h>.
6674
6675         * conform/data/sys/time.h-data: fd_set is a typedef.
6676         * conform/data/sys/select.h-data: New file.
6677         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
6678         * conform/conformtest.pl (@headers): Add sys/select.h.
6679         (type, optional-type): Unless testing a typedef instantiate object.
6680         Implement optional-function.
6681
6682         * math/test-misc.c: Include <float.h>.
6683
6684 2001-01-27  Andreas Jaeger  <aj@suse.de>
6685
6686         * misc/efgcvt_r.c: Include <float.h>.
6687
6688 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
6689
6690         * conform/data/stdlib.h-data: Account for XPG6 changes.
6691         * stdlib/stdlib.h (__random): Change return value type to long.
6692         (posix_memalign): Cleanup parameter names.
6693         (setenv, unsetenv): Make available for __USE_XOPEN2K.
6694         Change return type of unsetenv to int.
6695         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
6696         * include/stdlib.h: Change return type of unsetenv to int.
6697         Change return type of random to long int.
6698         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
6699         Return -1 and set errno if parameter is invalid.
6700         * stdlib/random.c (__random): Change return value type to long.
6701
6702         * conform/data/stdio.h-data: Account for changes in XPG6.
6703
6704         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
6705         prototype.
6706
6707         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
6708         * conform/data/signal.h-data: Fix sigev_notify_function entry.
6709         Fix typo (SIGVALRM -> SIGVTALRM).
6710         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
6711         with real type.
6712         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
6713         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
6714         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
6715         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6716         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
6717
6718         * conform/conformtest.pl: Implement optional-element.  Define
6719         $mustprepend{"sched.h"}.
6720         * conform/data/sched.h-data: Make sporadic scheduler definitions
6721         optional.
6722
6723         * pwd/pwd.h: Don't define getpwent_r for XPG.
6724
6725         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
6726         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
6727         * sysdeps/mach/hurd/poll.c: Likewise.
6728         * sysdeps/unix/bsd/poll.c: Likewise.
6729         * sysdeps/unix/sysv/linux/poll.c: Likewise.
6730         * sysdeps/unix/sysv/aix/poll.c: Likewise.
6731         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
6732         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
6733         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
6734         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
6735         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
6736         * conform/data/poll.h-data: Fix typo in poll prototype.
6737
6738         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
6739         only if __USE_MISC.
6740         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
6741
6742         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
6743
6744         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
6745
6746         * conform/conformtest.pl: Implement optional-type.
6747
6748         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
6749         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
6750         defining uint32_t here.  Define IPPORT_RESERVED.
6751         (struct hostent): Type of h_length element is int.
6752         (getnameinfo): Type of flags parameter is unsigned int.
6753         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
6754         * conform/data/netdb.h-data: Add many missing definitions.
6755
6756         * conform/conformtest.pl: Implement optional-macro.
6757         * conform/data/math.h-data: Update for XPG6.
6758
6759         * math/math.h (HUGE): Define as FLT_MAX value but don't use
6760         FLT_MAX.  Don't include <float.h>.
6761         (MAXFLOAT): Likewise.
6762
6763         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
6764
6765         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
6766
6767         * conform/data/limits.h-data: Mark constants as optional wherever
6768         appropriate.
6769
6770         * posix/bits/posix2_lim.h: Set correct values for
6771         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
6772         EQUIV_CLASS_MAX.
6773
6774         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
6775         Required by POSIX.
6776
6777         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
6778
6779         * conform/data/netinet/in.h-data: Add reserved prefixes.
6780
6781         * conform/data/arpa/inet.h-data: Fix a few typos.
6782
6783 2001-01-26  Andreas Jaeger  <aj@suse.de>
6784
6785         * sysdeps/generic/strtol.c: Include <locale.h>
6786         * stdlib/strtod.c: Likewise
6787         * stdlib/strfmon.c: Likewise.
6788         * string/strcoll.c: Likewise.
6789         * string/strxfrm.c: Likewise.
6790         * wctype/wcfuncs_l.c: Likewise.
6791         * wctype/wctype_l.c: Likewise.
6792         * wctype/wctrans_l.c: Likewise.
6793
6794         * include/bits/locale.h: New file.
6795
6796 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
6797
6798         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
6799         and NOSTR.
6800
6801         * locale/Makefile (headers): Add bits/locale.h.
6802         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
6803         and use __LC_ constants instead of LC_.
6804         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
6805         using __LC_ constants.
6806         * locale/bits/locale.h: New file.
6807         * locale/loadlocale.c: Include <locale.h>.
6808         * locale/nl_langinfo.h: Likewise.
6809
6810         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
6811
6812         * io/sys/stat.h: Define S_IFSOCK for XPG6.
6813
6814         * conform/data/fcntl.h-data: posix_madvise is not expected here.
6815
6816         * conform/conformtest.pl: Fix handling of macro-str.
6817
6818         * conform/data/inttypes.h-data: Add missing definition and all of
6819         stdint.h-data.
6820
6821         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
6822
6823 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
6824
6825         * conform/conformtest.pl (@headers): Add stdint.h.
6826         * conform/data/stdint.h-data: New file.
6827
6828         * conform/conformtest.pl: Recognize options --headers and
6829         --dialect.  Add dialect-specific CFLAGS.
6830
6831         * conform/conformtest.pl: Implement handling of recursive
6832         allow-header.
6833
6834         * conform/data/locale.h-data: Add new struct lconv members.
6835
6836         * posix/wordexp.h: Correct definition of wordexp_t.
6837         * posix/wordexp.c: Moved to ...
6838         * sysdeps/generic/wordexp.c: ...here.  New file.
6839         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
6840         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
6841         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
6842         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
6843         wordexp.
6844         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
6845         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
6846
6847         * math/tgmath.h: Pretty printing.
6848
6849         * math/Makefile (tests): Add test-tgmath.
6850         (CFLAGS-test-tgmath.c): New variable.
6851         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
6852
6853         * conform/conformtest.pl: Handle allow-header in secondary headers
6854         correctly.
6855
6856         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
6857         #ifdef.
6858
6859         * conform/data/netinet/in.h-data: Use correct comment character.
6860         * conform/data/sys/stat.h-data: Likewise.
6861
6862 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
6863
6864         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
6865         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
6866         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
6867         __builtin_classify_type, add ##f suffixes where appropriate.
6868         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
6869         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
6870         __builtin_classify_type.
6871         (fma): Fix spelling of first argument.
6872
6873 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
6874
6875         * conform/data/unistd.h-data: Mark functions removed in XPG6
6876         correctly.
6877
6878         * posix/unistd.h: Don't make functions removed in XPG6 available if
6879         __USE_XOPEN2K.
6880
6881         * conform/conformtest.pl: Implement optional-constant.
6882         * conform/data/unistd.h-data: Use optional-constant wherever
6883         appropriate.
6884
6885         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
6886         constants and add _SC_STREAMS.
6887         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6888
6889         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
6890         make old name weak alias.
6891         * sysdeps/generic/statvfs64.c: Likewise.
6892         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
6893         make old name weak alias.
6894         * sysdeps/generic/fstatvfs64.c: Likewise.
6895         * include/sys/statvfs.h: New file.
6896
6897         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
6898         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
6899         _PC_REC_XFER_ALIGN.
6900         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
6901         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
6902         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
6903         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
6904
6905         * conform/conformtest.pl: Run Unix tests for XPG6.
6906         Implement handling of known namespace violations.
6907         Improve printing of results.
6908
6909         * posix/unistd.h (usleep): Correct return type.
6910         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
6911         * sysdeps/unix/bsd/usleep.c: Correct return type.
6912         * sysdeps/mach/usleep.c: Correct return type.
6913         * sysdeps/generic/usleep.c: Correct return type.
6914
6915         * posix/unistd.h (sync): Correct return type.
6916         * sysdeps/generic/sync.c: Likewise.
6917         * sysdeps/mach/hurd/sync.c: Likewise.
6918
6919         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
6920
6921         * posix/unistd.h: Make seteuid and setegid available for XPG6.
6922
6923         * wcsmbs/wchar.h: Get FILE definition for XPG5.
6924
6925         * conform/data/ctype.h-data: Use correct comment form.
6926         * conform/data/errno.h-data: Likewise.
6927         * conform/data/math.h-data: Likewise.
6928         * conform/data/mqueue.h-data: Likewise.
6929         * conform/data/netdb.h-data: Likewise.
6930         * conform/data/pthread.h-data: Likewise.
6931
6932 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
6933
6934         * conform/data/wordexp.h-data: Fix typo.
6935
6936         * conform/conformtest.pl: Handle allow-header correctly.
6937
6938         * conform/data/time.h-data: Use correct comment form.
6939
6940         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
6941
6942         * configure.in: Comment out binutils version test.
6943
6944         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
6945         separators.
6946         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
6947
6948         * stdlib/tst-strtod.c (locale_test): New function.
6949         (main): Call locale_test.
6950         * stdlib/Makefile (tst-strtod-ENV): New variable.
6951
6952 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
6953
6954         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
6955         declaration of value such that we actually return the value of the
6956         environment variable.
6957
6958 2001-01-24  Andreas Jaeger  <aj@suse.de>
6959
6960         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
6961         prototype.
6962         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6963
6964         * include/sys/sysctl.h: New file.
6965
6966 2001-01-23  Andreas Jaeger  <aj@suse.de>
6967
6968         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
6969         isomac.
6970
6971         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
6972         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
6973         closes PR libc/2039.
6974
6975         * manual/install.texi (Tools for Compilation): Change required
6976         binutils version.
6977
6978 2001-01-22  Andreas Jaeger  <aj@suse.de>
6979
6980         * configure.in: Add test for new enough binutils version, move
6981         compiler/binutils test up.
6982
6983         * Versions.def: Add version GLIBC_2.2.2.
6984
6985 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6986
6987         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
6988         available.
6989         * iconvdata/testdata/IBM932: New file.
6990         * iconvdata/testdata/IBM932..UTF8: New file.
6991         * iconvdata/testdata/IBM943: New file.
6992         * iconvdata/testdata/IBM943..UTF8: New file.
6993         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
6994
6995 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6996
6997         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
6998
6999 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
7000
7001         * malloc/malloc.c: Remove a few unnecessary initializers of global
7002         variables.
7003
7004 2000-12-09  H.J. Lu  <hjl@gnu.org>
7005
7006         * nss/Makefile (routines): Add digits_dots.
7007         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
7008         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
7009         into a function.
7010         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
7011         function.
7012         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
7013         (TYPE_VAR_P): Likewise.
7014         (FLAGS_VAR): Likewise.
7015         (AF_VAR_P): Likewise.
7016         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
7017         instead of including digits_dots.c.
7018         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
7019         (TYPE_VAR_P): Likewise.
7020         (FLAGS_VAR): Likewise.
7021         (AF_VAR_P): Likewise.
7022         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
7023         instead of including digits_dots.c.
7024
7025 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
7026
7027         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
7028
7029 2001-01-21  Andreas Jaeger  <aj@suse.de>
7030
7031         * elf/constload2.c: Add prototype for init.
7032
7033 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
7034
7035         * stdlib/stdlib.h (drand48_data): Make available only for
7036         __USE_MISC.  Rename elements to protect namespace.  Change type
7037         and position of a and init element.
7038         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
7039         differently.  Adjust for drand48_data change.  Don't compute a here,
7040         it comes from drand48_data.
7041         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
7042         differently.  Adjust for drand48_data change.  Compute a here.
7043         * stdlib/srand48_r.c: Likewise.
7044         * stdlib/drand48.c: Adjust for drand48_data change.
7045         * stdlib/lrand48.c: Likewise.
7046         * stdlib/mrand48.c: Likewise.
7047         * stdlib/seek48.c: Likewise.
7048         * stdlib/drand48_r.c: Likewise.
7049         * stdlib/lrand48_r.c: Likewise.
7050         * stdlib/mrand48_r.c: Likewise.
7051         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
7052         differently.
7053         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
7054         * stdlib/jrand48_r.c: Likewise.
7055
7056         * po/sv.po: Update from translation team.
7057
7058 2001-01-21  Andreas Jaeger  <aj@suse.de>
7059
7060         * stdio-common/vfprintf.c (vfprintf): Add casts.
7061
7062 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
7063
7064         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
7065         the ASCII test.
7066         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
7067
7068         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
7069         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
7070         * iconvdata/ibm932.c: New file.
7071         * iconvdata/ibm932.h: New file.
7072         * iconvdata/ibm943.c: New file.
7073         * iconvdata/ibm943.h: New file.
7074         Patches by Masahide Washizawa <washi@jp.ibm.com>.
7075
7076         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
7077         preventing optimization from being done.  Set the correct type bit
7078         in seen.  Don't define and use _dl_base_addr unless
7079         NEED_DL_BASE_ADDR is defined.
7080
7081         * io/ftw.c (ftw_dir): Add slash after directory name if there
7082         wasn't any.  Reported by loris <loris@iol.it>.
7083         * io/Makefile (tests): Add bug-ftw2.
7084         * io/bug-ftw2.c: New file.
7085
7086 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
7087
7088         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
7089         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
7090         * stdlib/tst-rand48.c: New file.
7091         * stdlib/Makefile (tests): Add tst-rand48.
7092
7093         * locale/newlocale.c (__newlocale): Fix test for setting all
7094         categories.
7095
7096 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
7097
7098         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
7099         but change looking up the initial directory port in a similar way
7100         as done by _hurd_change_directory_port_from_name.
7101         * hurd/fchroot.c (fchroot): Likewise.
7102
7103 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
7104
7105         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
7106         defined don't look whether the AT_*ID values were set.
7107         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
7108         (_dl_show_auxv): Rewrite to avoid switch statement.
7109         * sysdeps/unix/sysv/linux/kernel-features.h: Define
7110         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
7111         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
7112         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
7113
7114         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
7115         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
7116         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
7117
7118         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
7119         strtoul.
7120         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
7121         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
7122         anything.
7123         * dlfcn/eval.c (__strtol_internal): Define here.
7124         (eval): Use __strtol_internal instead of strtol.
7125
7126         * elf/elf.h: Add a few more EF_MIPS_* constants.
7127
7128 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
7129
7130         * manual/Makefile (chapters): Add debug.
7131         * manual/debug.texi: New file.
7132         * manual/examples/execinfo.c: New file.
7133         Patch by suckfish@ihug.co.nz.
7134
7135 2001-01-17  Andreas Schwab  <schwab@suse.de>
7136
7137         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
7138         invalid asm.
7139
7140 2001-01-17  Andreas Jaeger  <aj@suse.de>
7141
7142         * nscd/connections.c (nscd_run): Use proper format specifier.
7143
7144 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
7145
7146         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
7147         x86_platforms data into new file after prepending _dl_.  Change
7148         users.
7149         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
7150         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
7151         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
7152         dl-procinfo.c.
7153
7154         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
7155
7156         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
7157         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
7158         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
7159         (_setjmp): Likewise.
7160         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
7161         * sysdeps/i386/bsd-setjmp.S: Real implementation.
7162         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
7163         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
7164         version.
7165
7166 2001-01-16  Andreas Jaeger  <aj@suse.de>
7167
7168         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
7169         misapplied last patch.
7170
7171 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
7172
7173         * stdlib/random.c (__initstate): Clean up a cast.
7174         (__setstate): Likewise.
7175
7176         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
7177         syscall handling.  The generic Linux version should work.
7178
7179 2001-01-15  Andreas Jaeger  <aj@suse.de>
7180
7181         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
7182
7183         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
7184
7185 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
7186
7187         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
7188         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
7189         New functions.
7190         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
7191         If number is 0, list all.
7192         (services_keys): Likewise.  Lookup aliases as well.
7193         (databases): New table.
7194         (build_doc): Prepare argp doc text with list of supported databases.
7195         (main): Change to table driven processing.
7196
7197 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
7198
7199         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
7200         functions.
7201
7202 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
7203
7204         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
7205         encode value which does not fit in the 32bit type.
7206
7207 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
7208
7209         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
7210         Change type of CTX to (struct sigcontext *).
7211         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
7212         (GET_FRAME): Likewise.
7213         (GET_STACK): Likewise.
7214         (SIGCONTEXT): Likewise.  Add 2nd arg _code.
7215         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
7216
7217 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
7218
7219         * manual/texinfo.tex: Update from upstream version.
7220
7221 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
7222
7223         * inet/ether_ntoh.c (lookup_function): Change arguments to match
7224         _nss_*_getntohost_r prototype.
7225         (ether_ntohost): Pass errno pointer to NSS function.
7226
7227 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7228
7229         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
7230         (MAP_LOCKED): New definition.
7231         (MAP_NORESERVE): New definition.
7232
7233 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
7234
7235         * assert/assert.h: Use static_cast instead of C-style cast for C++.
7236         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
7237
7238 2001-01-12  Ben Collins  <bcollins@debian.org>
7239
7240         * sysdeps/generic/segfault.c (install_handler): Use access, not
7241         __access.
7242
7243 2001-01-12  Andreas Jaeger  <aj@suse.de>
7244
7245         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
7246         * posix/wordexp.c (do_parse_glob): Likewise.
7247         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
7248         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
7249         * elf/dl-open.c (_dl_open): Likewise.
7250         * elf/dl-close.c (_dl_close): Likewise.
7251         * elf/dl-load.c (_dl_map_object): Likewise.
7252         * iconv/iconv_prog.c (process_fd): Likewise.
7253         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
7254
7255         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
7256         of a zero-length array.
7257
7258 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
7259
7260         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
7261         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
7262         * stdlib/cxa_on_exit.c: Remove.
7263         * stdlib/Makefile: Revert last patch.
7264         * stdlib/Versions: Likewise.
7265         * include/stdlib.h: Likewise.
7266         * stdlib/exit.h: Revert last patch.
7267         (struct exit_function): Add second argument to cxa fn.
7268         * stdlib/exit.c: Revert last patch.
7269         (exit): Add hidden second argument.
7270
7271 2001-01-11  H.J. Lu  <hjl@gnu.org>
7272
7273         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
7274         * elf/dl-open.c (_dl_open): Here.
7275         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
7276         Make it static.
7277         (_dl_static_init): Initialize the variables every time when possible.
7278         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
7279         Undefine it first.
7280
7281 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
7282
7283         * stdlib/Makefile (routines): Add cxa_on_exit.
7284         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
7285         * stdlib/cxa_on_exit.c: New file.
7286         * include/stdlib.h: Add prototype for __cxa_on_exit.
7287         * stdlib/exit.c: Handle ef_cxa2.
7288         * stdlib/exit.h (enum): Add ef_cxa2.
7289         (struct exit_function): Add cxa2.
7290
7291         * Versions.def [ld]: Add GLIBC_2.2.1.
7292
7293 2001-01-10  H.J. Lu  <hjl@gnu.org>
7294
7295         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
7296         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
7297         dl-static.
7298         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
7299         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
7300         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
7301         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
7302         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
7303
7304 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
7305
7306         * libio/stdio.h: Remove definition of off_t.
7307
7308 2001-01-11  Andreas Jaeger  <aj@suse.de>
7309
7310         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
7311         <mkuhn@acm.org>.
7312
7313 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
7314
7315         * sunrpc/Makefile (distribute): Add errqueue.h.
7316
7317 2001-01-10  H.J. Lu  <hjl@gnu.org>
7318
7319         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
7320         r9, r10 and r11 for language specific registers.
7321
7322 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
7323
7324         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
7325         UDP socket.
7326         (clntudp_call): Handle MSG_ERRQUEUE.
7327         * sysdeps/generic/errqueue.h: New file.
7328         * sysdeps/unix/sysv/linux/errqueue.h: New file.
7329
7330 2001-01-10  H.J. Lu  <hjl@gnu.org>
7331
7332         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
7333
7334 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
7335
7336         * CONFORMANCE: Update.
7337
7338 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
7339
7340         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
7341         Minimal cleanups.  Add assert to ensure memory handling is correct.
7342
7343         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
7344         Reported by Ben Collins <bcollins@debian.org>.
7345
7346         * time/strftime.c (my_strftime): Mark previous GNU extensions
7347         which are now in C99 as such.
7348
7349 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
7350
7351         * elf/rtld.c (process_envvars): Place output files for profiling
7352         in SUID binaries in /var/profile.
7353
7354         * elf/dl-load.c (_dl_map_object): Don't look in cache for
7355         preloading in SUID binaries.
7356
7357         * elf/dl-profile.c (_dl_start_profile): Open the output file with
7358         O_NOFOLLOW if possible.
7359
7360         * include/stdlib.h: Add __posix_openpt declaration.
7361         * stdlib/stdlib.h: Add posix_openpt declaration.
7362         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
7363         * sysdeps/generic/getpt.c: Define posix_openpt.
7364         * sysdeps/unix/bsd/getpt.c: Likewise.
7365         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
7366
7367         * time/Makefile (tests): Add tst-mktime.
7368         * time/tst-mktime.c: New file.
7369
7370         * posix/tst-dir.c (main): One more mkdir() test.
7371
7372         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
7373         Remove getpagesize syscall.  We assume that the pagesize is always
7374         determined from the auxiliary vector.
7375
7376         * intl/dcigettext.c: Fix a few warnings.
7377         Patch by Bruno Haible <haible@ilog.fr>.
7378
7379 2001-01-08  Andreas Jaeger  <aj@suse.de>
7380
7381         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
7382         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
7383
7384 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
7385
7386         * sysdeps/generic/segfault.c (install_handler): Check output file
7387         name with access().
7388
7389         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
7390         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
7391
7392         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
7393
7394         * malloc/memusage.c (me): Use access() to determine whether we
7395         should write the output file or not.
7396
7397         * libio/bits/stdio.h (printf): Define macro to map printf call to
7398         fprintf which gcc can optimize.
7399         * stdio-common/printf.c: Undefine printf.
7400
7401 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
7402
7403         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
7404         patch.  We must use unsigned int for l member of union.
7405
7406         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
7407         _dl_aux_init for shared libraries.
7408
7409         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
7410         * sysdeps/gnu/glob64.c: ...here.  New file.
7411
7412 2001-01-07  Ben Collins  <bcollins@debian.org>
7413
7414         * manual/examples/longopt.c: Make the "struct option" a little
7415         more like it should be, adding usage of required_argument,
7416         noargument and such, and also setting the options string right.
7417
7418         * manual/sysinfo.texi (Load Average): New section, documents
7419         getloadavg().
7420
7421 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
7422
7423         * version.h (VERSION): Bump to 2.2.1.
7424
7425         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
7426         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
7427         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
7428         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
7429         * Makefile (distribute): Add include/libc-internal.h.
7430         * libio/Makefile (distribute): Avoid overwriting.
7431
7432         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
7433         buffer and table handling.
7434
7435 2001-01-05  H.J. Lu  <hjl@gnu.org>
7436
7437         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
7438         vector checking to ...
7439         (_dl_aux_init): Here.  New function.  Defined only if
7440         HAVE_AUX_VECTOR is defined.
7441
7442         * sysdeps/generic/libc-start.c (__libc_start_main): Call
7443         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
7444
7445         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
7446         _dl_aux_init.
7447
7448         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
7449         (HAVE_AUX_VECTOR): Defined.
7450         (_dl_aux_init): Declared.
7451
7452 2001-01-05  Ben Collins  <bcollins@debian.org>
7453
7454         * manual/string.texi (Finding Tokens in a String): Document XPG
7455         basename() and dirname(), as well as GNU basename().
7456
7457 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
7458
7459         * Makeconfig (preprocess-version): Replace -traditional with
7460         -x assembler-with-cpp.
7461
7462 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
7463
7464         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
7465         for GCC 2.97 or later.
7466
7467 2001-01-05  Ben Collins  <bcollins@debian.org>
7468
7469         * manual/stdio.texi (getline): Clarify the return value in the
7470         case of EOF being reached before a newline.
7471
7472 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
7473
7474         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
7475         FALSE otherwise.
7476         (pmap_set, pmap_unset): Check __get_myaddress return value.
7477
7478 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
7479
7480         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
7481         (struct ether_addr): Declare ether_addr_octet member as
7482         `u_int8_t'.  Add __attribute__ ((__packed__)).
7483
7484 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7485
7486         * sysdeps/mach/hurd/readdir64.c: New file.
7487         * sysdeps/mach/hurd/readdir64_r.c: New file.
7488
7489 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
7490
7491         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
7492         `struct statfs' and `struct statvfs' being identical.
7493         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
7494
7495 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7496
7497         * sysdeps/mach/hurd/fstatfs64.c: New file.
7498         * sysdeps/mach/hurd/fstatvfs64.c: New file.
7499         * sysdeps/mach/hurd/statfs64.c: New file.
7500         * sysdeps/mach/hurd/statvfs64.c: New file.
7501         * sysdeps/mach/hurd/statfsconv.c: New file.
7502         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
7503
7504 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
7505
7506         * iconv/skeleton.c: Reset outbuf for next round of the loop.
7507         Reported by Owen Taylor <otaylor@redhat.com>.
7508         * iconv/Makefile (tests): Add tst-iconv3.
7509         * iconv/tst-iconv3.c: New file.
7510
7511         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
7512         * iconvdata/ibm933.c: Likewise.
7513         * iconvdata/ibm935.c: Likewise.
7514         * iconvdata/ibm937.c: Likewise.
7515         * iconvdata/ibm939.c: Likewise.
7516         * iconvdata/ibm930.h: Adjust single byte table for optimization.
7517         * iconvdata/ibm933.h: Likewise.
7518         * iconvdata/ibm935.h: Likewise.
7519         * iconvdata/ibm939.h: Likewise.
7520
7521         * iconvdata/testdata/IBM930: Add misssing SI.
7522         * iconvdata/testdata/IBM933: Likewise.
7523         * iconvdata/testdata/IBM935: Likewise.
7524         * iconvdata/testdata/IBM937: Likewise.
7525         * iconvdata/testdata/IBM939: Likewise.
7526
7527 2001-01-06  Andreas Jaeger  <aj@suse.de>
7528
7529         * configure.in: Check for old add-ons that shouldn't be used with
7530         current glibc anymore.
7531
7532 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7533
7534         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
7535         instead of -1 on failure.  Don't forget to copy file name into
7536         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
7537         of the directory.
7538
7539 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7540
7541         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
7542         copy st_atime member.
7543
7544 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
7545
7546         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
7547         for searches from the root directory.
7548         Reported by loris <loris@iol.it> [PR libc/1991].
7549         * io/Makefile (tests): Add bug-ftw1.
7550         * io/bug-ftw1.c: New file.
7551
7552         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
7553         if it is not available.  Instead use it only if it is available.
7554         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
7555
7556         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
7557         overflowing output buffer.
7558         (internal_ucs4_loop_unaligned): Likewise.
7559         (ucs4_internal_loop): Likewise.
7560         (ucs4_internal_loop_unaligned): Likewise.
7561         (internal_ucs4le_loop): Likewise.
7562         (internal_ucs4le_loop_unaligned): Likewise.
7563         (ucs4le_internal_loop): Likewise.
7564         (ucs4le_internal_loop_unaligned): Likewise.
7565         Reported by Owen Taylor <otaylor@redhat.com>.
7566         * iconv/Makefile (tests): Add tst-iconv2.
7567         * iconv/tst-iconv2.c: New file.
7568
7569 2001-01-04  H.J. Lu  <hjl@gnu.org>
7570
7571         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
7572         (_dl_clktck): Declared.
7573         (non_dynamic_init): Take 3 arguments.
7574         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
7575
7576 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
7577
7578         Finish implementation of plural form handling.
7579         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
7580         'domainname'.  Remove 'plindex' field.  Add 'domain' and
7581         'translation_length' fields.
7582         (transcmp): Don't compare 'plindex' fields.
7583         (plural_lookup): New function.
7584         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
7585         plural_eval before the translation and its catalog file have been
7586         found.  Remove plindex from cache key.  Add 'translation_length' and
7587         'domain' to cache result.
7588         (_nl_find_msg): Remove index argument, return length of translation
7589         to the caller instead.  Weaken comparison of string lengths, to account
7590         for plural entries.  Call iconv() on the entire result string, not
7591         only on the portion needed so far.
7592         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
7593         argument.
7594         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
7595
7596 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
7597
7598         * intl/plural.y (yylex): Minimal improvement in number scanner.
7599
7600 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
7601
7602         * intl/plural.y: Include config.h.  Needed to define 'inline' away for
7603         C compilers that don't support it.
7604         (yylex): Don't use gcc specific case range syntax.
7605         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
7606         compilers.
7607
7608 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
7609
7610         * intl/finddomain.c: Remove unneeded includes.
7611
7612 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
7613
7614         * intl/localealias.c (memcpy): Return first argument, just like the
7615         real memcpy function does.
7616         * intl/bindtextdom.c (memcpy): Likewise.
7617         * intl/finddomain.c (memcpy): Likewise.
7618         * intl/l10nflist.c (memcpy): Likewise.
7619         * intl/textdomain.c (memcpy): Likewise.
7620         From Paul Eggert <eggert@twinsun.com>.
7621
7622 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
7623
7624         * resolv/resolv.h (struct __res_state): Add nsinit field.
7625         * resolv/res_send.c (res_nsend): Use it instead of nscount.
7626         * resolv/res_init.c (__res_vinit): Initialize it.
7627         (res_nclose): Clear it instead of nscount.
7628
7629 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
7630
7631         * malloc/mtrace.pl: Fix matching of addresses.
7632         Patch by Aharon Robbins <arnold@skeeve.com>.
7633
7634         * Versions.def (ld): Add GLIBC_2.2.
7635
7636         * catgets/gencat.c: Copyright 2001.
7637         * csu/version.c: Likewise.
7638         * debug/catchsegv.sh: Likewise.
7639         * debug/xtrace.sh: Likewise.
7640         * elf/ldconfig.c: Likewise.
7641         * elf/sprof.c: Likewise.
7642         * iconv/iconv_prog.c: Likewise.
7643         * locale/locale.c: Likewise.
7644         * locale/localedef.c: Likewise.
7645         * malloc/memusage.sh: Likewise.
7646         * malloc/mtrace.pl: Likewise.
7647         * nscd/nscd.c: Likewise.
7648         * posix/getconf.c: Likewise.
7649
7650 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
7651
7652         * include/stdio.h: Only provide __getwc_unlocked prototype if
7653         USE_IN_LIBIO is defined.
7654
7655 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7656
7657         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
7658         handling.
7659
7660 2001-01-03  Andreas Schwab  <schwab@suse.de>
7661
7662         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
7663         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
7664
7665         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
7666         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
7667         strtoull alias.
7668         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
7669         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
7670         wcstoull alias.
7671
7672         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
7673         directory.
7674         * sysdeps/generic/strtol_l.c: Likewise.
7675         * sysdeps/generic/strtoul_l.c: Likewise.
7676         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
7677
7678         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
7679         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
7680         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
7681         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
7682
7683 2001-01-04  Andreas Jaeger  <aj@suse.de>
7684
7685         * nss/nsswitch.c: Include files for missing prototypes, remove
7686         buggy declaration of prototypes.
7687
7688 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7689
7690         * resolv/Versions: Fix bracing.
7691         * sysdeps/powerpc/soft-fp/Versions: Likewise.
7692         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
7693
7694 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7695
7696         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
7697
7698 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
7699
7700         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
7701         Suggested by Minko Markov <mmarkov@home.com>.
7702
7703 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7704
7705         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
7706         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
7707         the failing symbol.
7708         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
7709
7710 2001-01-02  Ben Collins  <bcollins@debian.org>
7711
7712         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
7713         if TZ is not set and TZDEFAULT is not present.
7714
7715 2001-01-01  Ben Collins  <bcollins@debian.org>
7716
7717         * string/strings.h: Make sure we declare our functions even if
7718         string.h is already included, based on whether or not __USE_BSD is
7719         defined.
7720
7721 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
7722
7723         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
7724         other dlopen() and dlsym().
7725         Based on a patch by Ben Collins <bcollins@debian.org>.
7726
7727 2001-01-02  Andreas Jaeger  <aj@suse.de>
7728
7729         * dlfcn/errmsg1.c (main): Call dlerror initially.
7730         Reported by Ben Collins <bcollins@debian.org>.
7731
7732 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
7733
7734         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
7735         value is ignored if the selected locale is the C locale.
7736         * intl/tst-gettext.c: Set locale for above change.
7737         * intl/tst-translit.c: Likewise.
7738
7739 2001-01-02  Andreas Jaeger  <aj@suse.de>
7740
7741         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
7742         (_IO_switch_to_wget_mode): Likewise.
7743         (_IO_sputbackwc): Likewise.
7744         (_IO_sungetwc): Use wint_t for result.
7745
7746         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
7747
7748         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
7749         signedness.
7750
7751         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
7752         to (int) to avoid warnings.
7753         * stdio-common/printf_fp.c (putc): Likewise.
7754         * stdio-common/printf_size.c (putc): Likewise.
7755
7756         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
7757         constant unsigned.
7758
7759 2001-01-01  Andreas Jaeger  <aj@suse.de>
7760
7761         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
7762
7763 2000-12-31  Andreas Jaeger  <aj@suse.de>
7764
7765         * include/libc-internal.h: Add prototype for __libc_freeres.
7766
7767         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
7768         for prototypes, remove redundant prototypes.
7769         * gmon/gmon.c: Likewise.
7770         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
7771         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
7772         * malloc/mtrace.c: Likewise.
7773
7774         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
7775         prototypes.
7776         * elf/soinit.c: Likewise.
7777         * sysdeps/generic/prof-freq.c: Likewise.
7778         * sysdeps/mach/hurd/profil.c: Likewise.
7779         * debug/noophooks.c: Likewise.
7780         * debug/pcprofile.c: Likewise.
7781         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
7782         * sysdeps/generic/get_clockfreq.c: Likewise.
7783         * malloc/set-freeres.c: Likewise.
7784
7785         * locale/localeinfo.h: Add internal prototypes.
7786
7787         * elf/rtld.c (dl_main): Fix prototype.
7788
7789         * iconvdata/tst-table-to.c (main): Use return instead of exit to
7790         avoid warning.
7791
7792         * nis/rpcsvc/yp_prot.h: Remove __P.
7793         * nis/rpcsvc/ypupd.h: Likewise.
7794         * nis/rpcsvc/yp.h: Likewise.
7795
7796         * sunrpc/rpc_main.c: Add noreturn attributes.
7797         * sunrpc/rpc_scan.h: Likewise.
7798
7799         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
7800
7801         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
7802
7803         * sunrpc/proto.h: Add noreturn attributes to error and crash.
7804
7805         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
7806
7807         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
7808
7809         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
7810
7811         * include/rpc/rpc_msg.h: Add prototypes for some functions.
7812         * include/rpc/auth.h: Likewise.
7813         * include/rpc/auth_des.h: Likewise.
7814         * include/rpc/clnt.h: Likewise.
7815         * include/rpc/rpc.h: Likewise.
7816         * include/rpc/svc.h: Likewise.
7817         * include/rpc/svc_auth.h: Likewise.
7818
7819         * include/rpc/des_crypt.h: New file.
7820
7821         * malloc/memusagestat.c (main): Use return instead of exit to
7822         avoid warning.
7823         * io/pwd.c (main): Likewise.
7824         * iconvdata/tst-table-from.c (main): Likewise.
7825         * ctype/test_ctype.c (main): Likewise.
7826         * setjmp/tst-setjmp.c (main): Likewise.
7827         * signal/tst-signal.c (main): Likewise.
7828         * stdlib/tst-strtol.c (main): Likewise.
7829         * stdlib/tst-strtod.c (main): Likewise.
7830         * stdlib/tst-strtoll.c (main): Likewise.
7831         * stdlib/tst-xpg-basename.c (main): Likewise.
7832         * dirent/tst-seekdir.c (main): Likewise.
7833         * grp/testgrp.c (main): Likewise.
7834         * inet/test_ifindex.c (main): Likewise.
7835         * io/test-utime.c (main): Likewise.
7836         * posix/test-vfork.c (main): Likewise.
7837         * posix/testfnm.c (main): Likewise.
7838         * stdio-common/temptest.c (main): Likewise.
7839         * stdio-common/test_rdwr.c (main): Likewise.
7840         * stdio-common/tst-fileno.c (main): Likewise.
7841         * stdio-common/tst-sscanf.c (main): Likewise.
7842         * stdio-common/tstscanf.c (main): Likewise.
7843         * string/bug-strncat1.c (main): Likewise.
7844         * string/bug-strpbrk1.c (main): Likewise.
7845         * string/bug-strspn1.c (main): Likewise.
7846         * string/test-ffs.c (main): Likewise.
7847         * string/tst-inlcall.c (main): Likewise.
7848         * string/tst-svc.c (main): Likewise.
7849         * timezone/test-tz.c (main): Likewise.
7850         * wctype/test_wcfuncs.c (main): Likewise.
7851         * wctype/test_wctype.c (main): Likewise.
7852
7853         * stdlib/tst-random.c: Add attribute noreturn to fail.
7854
7855 2000-12-28  Wolfram Gloger  <wg@malloc.de>
7856
7857         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
7858         destination overlap.  Assume dest is always below source if
7859         overlapping.
7860
7861 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
7862
7863         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
7864         object was not yet initialized.
7865
7866 2000-12-28  H.J. Lu  <hjl@gnu.org>
7867
7868         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
7869         is always consistent even if its dependency is failed.
7870
7871         * elf/dl-open.c (_dl_open): Increment the open count before
7872         calling _dl_close () in case of failure.
7873
7874         * elf/neededtest4.c: New file.
7875         * elf/neededobj5.c: New file.
7876         * elf/neededobj6.c: New file.
7877
7878         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
7879         (tests): Add neededtest4.
7880         (modules-names): Add neededobj5 and neededobj6.
7881         ($(objpfx)neededobj6.so): New target.
7882         ($(objpfx)neededtest4): New target.
7883         ($(objpfx)neededtest4.out): New target.
7884
7885 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
7886
7887         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
7888         * stdlib/monetary.h: Add strfmon format attributes.
7889
7890 2000-12-28  Roland McGrath  <roland@frob.com>
7891
7892         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
7893         __mempcpy does it for us.
7894
7895 2000-12-28  Andreas Jaeger  <aj@suse.de>
7896
7897         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
7898
7899         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
7900         __new_setrlimit.
7901
7902         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
7903         __old_getrlimit64.
7904
7905         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
7906         __new_getrlimit.
7907
7908         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
7909         __chown_is_lchown and __real_chown.
7910
7911         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
7912         _dl_reloc_bad_type.
7913
7914         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
7915         up GCC's warning about "deprecated use of label at end of compound
7916         statement."
7917         * sunrpc/rpc_cout.c (emit_inline): Likewise.
7918
7919         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
7920         prototypes.
7921         Remove struct bb and __bb_head since those are declared by
7922         sys/gmon.h.
7923
7924 2000-12-22  Ben Collins  <bcollins@debian.org>
7925
7926         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
7927
7928         * manual/argp.texi: Document argp_domain as part of struct argp.
7929
7930 2000-12-28  Andreas Jaeger  <aj@suse.de>
7931
7932         * catgets/Makefile (generated): Add sample.SJIS.cat.
7933
7934         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
7935
7936         * elf/dl-minimal.c: Add prototypes.
7937
7938         * include/locale.h: Add internal prototypes.
7939         * include/sys/gmon.h: Likewise.
7940
7941         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
7942
7943 2000-12-27  Ben Collins  <bcollins@debian.org>
7944
7945         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
7946         when reallocating the error strings.
7947         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
7948
7949 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
7950
7951         * dlfcn/Makefile (tests): Add errmsg1.
7952         (modules-names): Add errmsg1mod.
7953         Add rules to run errmsg1.
7954         * dlfcn/errmsg1.c: New file.
7955         * dlfcn/errmsg1mod.c: New file.
7956
7957         * dlfcn/dlerror.c (dlerror): Always create output string which
7958         includes object file name.
7959
7960         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
7961         if we would go through it only once.
7962         Patch by Rick Gorton <rick.gorton@api-networks.com>.
7963
7964         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
7965         Patch by Richard Henderson <rth@redhat.com>.
7966
7967 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
7968
7969         * malloc/malloc.c (memmove): Add prototypes.
7970         (MALLOC_MEMMOVE): Define.
7971         (chunk_realloc): Use it instead of MALLOC_COPY if source and
7972         destination might overlap.
7973
7974 2000-12-27  Andreas Jaeger  <aj@suse.de>
7975
7976         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
7977         function.
7978         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7979         * locale/programs/locale.c (show_locale_vars): Likewise.
7980         (show_info): Likewise.
7981         * locale/programs/ld-collate.c (collate_output): Likewise.
7982         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
7983         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7984         * stdlib/rpmatch.c (rpmatch): Likewise.
7985
7986         * setjmp/tst-setjmp.c: Make local functions static.
7987         * setjmp/jmpbug.c: Likewise.
7988         * signal/tst-signal.c: Likewise.
7989         * stdio-common/tfformat.c: Likewise.
7990         * string/tst-svc.c: Likewise.
7991         * time/clocktest.c: Likewise.
7992         * time/tst-getdate.c: Likewise.
7993         * dirent/list.c: Likewise.
7994         * dirent/opendir-tst1.c: Likewise.
7995         * posix/runtests.c: Likewise.
7996         * posix/tst-getaddrinfo.c: Likewise.
7997         * posix/tst-chmod.c: Likewise.
7998         * posix/wordexp-test.c: Likewise.
7999         * misc/tst-efgcvt.c: Likewise.
8000         * timezone/tst-timezone.c: Likewise.
8001         * rt/tst-clock.c: Likewise.
8002         * rt/tst-shm.c: Likewise.
8003         * rt/tst-aio2.c: Likewise.
8004         * rt/tst-aio3.c: Likewise.
8005         * rt/tst-aio4.c: Likewise.
8006         * rt/tst-aio5.c: Likewise.
8007
8008         * dlfcn/failtest.c: Add prototype for foo.
8009
8010         * dlfcn/glrefmain.c: Add prototype for do_test.
8011
8012         * dlfcn/tst-dladdr.c: Add prototype for do_test.
8013
8014         * string/test-ffs.c (main): Add prototype for nested function.
8015
8016         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
8017
8018         * nss/XXX-lookup.c: Add prototype to shut up GCC.
8019
8020         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
8021         setetherent prototype.
8022         Add internal interfaces.
8023
8024         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
8025         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
8026
8027         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
8028
8029         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
8030
8031         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
8032         prototypes, remove struct etherent since it's declared in ether.h.
8033         Fix ntohost declaration.
8034
8035         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
8036
8037         * include/getopt.h: Add internal interfaces.
8038         * include/termios.h: Likewise.
8039         * include/resolv.h: Likewise.
8040         * include/netdb.h: Likewise.
8041         * include/grp.h: Likewise.
8042         * include/pwd.h: Likewise.
8043         * include/shadow.h: Likewise.
8044         * include/rpc/netdb.h: Likewise.
8045         * include/setjmp.h: Likewise.
8046
8047         * include/stdio.h: Add prototypes for compatibility functions.
8048         * include/grp.h: Likewise.
8049         * include/pwd.h: Likewise.
8050         * include/shadow.h: Likewise.
8051
8052         * include/fenv.h: Define internal interfaces.
8053
8054 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
8055
8056         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
8057         argument case separately.
8058         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
8059
8060 2000-12-27  Andreas Jaeger  <aj@suse.de>
8061
8062         * include/sys/wait.h: Add some prototypes.
8063         * Rules (dummy.c): Create also prototype to shut up GCC.
8064
8065 2000-12-27  Andreas Jaeger  <aj@suse.de>
8066
8067         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
8068         it's not needed at the moment.
8069         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
8070         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
8071
8072 2000-12-26  Andreas Jaeger  <aj@suse.de>
8073
8074         * libio/getc_u.c: Include stdio.h via system path to get internal
8075         prototypes.
8076         * libio/getwc_u.c: Likewise.
8077
8078         * stdlib/strfmon.c: Fix prototype of __printf_fp.
8079
8080         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
8081         __printf_fp prototypes to ...
8082         * include/printf.h: ...here.
8083
8084         * include/stdio.h: Add some internal prototypes to shut up GCC.
8085         * include/stdlib.h: Likewise.
8086
8087         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
8088         declaration.
8089
8090         * include/signal.h: Add prototypes for internal sigpause
8091         interfaces.
8092
8093 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
8094
8095         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
8096         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
8097
8098         * string/Makefile (tests): Add tst-bswap.
8099         * string/tst-bswap.c: New file.
8100
8101 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
8102
8103         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
8104
8105 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
8106
8107         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
8108         Patch by Ed Connell <Ed.Connell@sas.com>.
8109
8110 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
8111
8112         * locale/iso-639.def: Correct one entry.  Add two missing entries.
8113
8114         * locale/iso-4217.def: Change entry for Eritrea.
8115         Reported by Daniel Yacob <yacob@geez.org>.
8116
8117 2000-12-23  Ben Collins  <bcollins@debian.org>
8118
8119         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
8120         description.
8121
8122         * manual/stdio.texi (Dynamic Output): Document the return value of
8123         asprintf.  Also make the asprintf/snprintf examples a little
8124         better (check for some error returns).
8125
8126 2000-12-22  Andreas Jaeger  <aj@suse.de>
8127
8128         * include/stdio.h: Add __ftrylockfile prototype.
8129
8130 2000-12-21  H.J. Lu  <hjl@gnu.org>
8131
8132         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
8133         Make sign_exponent element signed.
8134
8135         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
8136         Fix a typo.
8137
8138         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
8139
8140 2000-12-21  Andreas Jaeger  <aj@suse.de>
8141
8142         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
8143         * inet/ether_hton.c: Likewise
8144         * inet/ether_ntoh.c: Likewise.
8145
8146         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
8147         declaration to match prototype.
8148
8149         * include/netinet/ether.h (struct etherent): Declare here so that
8150         all implementations use the same struct.
8151
8152         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
8153         prototypes.
8154         (struct ether): Removed.
8155         Use struct etherent instead of ether everywhere.
8156
8157         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
8158
8159         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
8160
8161         * sunrpc/publickey.c: Include auth_des.h for prototypes.
8162
8163 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
8164
8165         * math/test-misc.c: Add more tests for nextafter functions.
8166
8167         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
8168         normal correctly.  Correct test for sign.
8169         Based on a patch by HJ Lu.
8170
8171 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
8172
8173         * Makeconfig (preprocess-version): Add -traditional to gcc call.
8174         Cleanup sed calls.
8175
8176 2000-12-19  Andreas Jaeger  <aj@suse.de>
8177
8178         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
8179
8180         * nis/nis_intern.h: Add prototype for __do_niscall3.
8181
8182         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
8183         match prototype.
8184
8185         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
8186
8187         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
8188
8189         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
8190
8191 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
8192
8193         * math/test-misc.c: Add more tests for nextafter.
8194         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
8195         * sysdeps/ieee754/ldbl-96/math_ldbl.h
8196         (ieee_long_double_shape_type): Make sign_exponent element signed.
8197
8198         * manual/message.texi: Add Estonian to plural overview list.
8199         Correct rule for Slavic languages.
8200         Patch by Stanislav Brabec <utx@penguin.cz>.
8201
8202         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
8203
8204 2000-12-18  Andreas Jaeger  <aj@suse.de>
8205
8206         * test-skeleton.c: Use temp_name_list instead of name_list to
8207         avoid collision with name_list from inet/netgroup.h.
8208
8209         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
8210
8211         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
8212         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
8213         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
8214         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
8215
8216         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
8217         declaration to match prototype.
8218         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
8219         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
8220         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
8221         Likewise.
8222         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
8223         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
8224         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
8225         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
8226         (_nss_nis_getservbyport_r): Likewise.
8227         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
8228         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
8229         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
8230         (_nss_nis_setnetent): Likewise
8231         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8232         (_nss_nis_endnetgrent): Likewise.
8233         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
8234         Likewise.
8235         (_nss_nisplus_setnetgrent): Likewise.
8236         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
8237         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
8238         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
8239         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
8240         Likewise.
8241         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
8242         Likewise.
8243         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
8244         Likewise.
8245         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
8246         Likewise.
8247         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
8248         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
8249         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
8250         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
8251         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
8252         (_nss_dns_getnetbyaddr_r): Likewise.
8253
8254 2000-12-17  Andreas Jaeger  <aj@suse.de>
8255
8256         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
8257         parameter.
8258
8259         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
8260         unused attribute to shut up gcc warnings.
8261
8262         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
8263         * sysdeps/generic/k_tanl.c: Likewise.
8264         * sysdeps/generic/k_cosl.c: Likewise.
8265         * sysdeps/generic/e_j0l.c: Likewise.
8266         * sysdeps/generic/e_j1l.c: Likewise.
8267         * sysdeps/generic/e_jnl.c: Likewise.
8268         * sysdeps/generic/e_lgammal_r.c: Likewise.
8269
8270         * elf/vismain.c: Move prototypes for functions in vismod*.c to
8271         vismod.h.
8272         * elf/vismod.h: New file.
8273         * elf/Makefile (distribute): Add vismod.h.
8274         * elf/vismod1.c: Include vismod.h.
8275         * elf/vismod2.c: Likewise.
8276         * elf/vismod3.c: Likewise.
8277
8278         * elf/constload3.c: Add prototype declarations to shut up gcc.
8279         * elf/failobj.c: Likewise.
8280         * elf/nodelmod3.c: Likewise.
8281         * elf/filtmod1.c: Likewise.
8282         * elf/filtmod2.c: Likewise.
8283         * elf/reldepmod1.c: Likewise.
8284         * elf/reldepmod2.c: Likewise.
8285         * elf/reldepmod3.c: Likewise.
8286         * elf/reldepmod4.c: Likewise.
8287         * elf/unload2dep.c: Likewise.
8288         * elf/unload2mod.c: Likewise.
8289         * elf/ltglobmod1.c: Likewise.
8290         * elf/pathoptobj.c: Likewise.
8291         * elf/neededobj1.c: Likewise.
8292         * elf/neededobj2.c: Likewise.
8293         * elf/neededobj3.c: Likewise.
8294         * elf/neededobj4.c: Likewise.
8295         * elf/nextmod1.c: Likewise.
8296         * elf/nextmod2.c: Likewise.
8297
8298         * locale/programs/ld-collate.c (collate_finish): Don't use labels
8299         at end of compound statement.
8300         * locale/programs/locale.c (show_info): Likewise.
8301         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
8302
8303 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
8304
8305         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
8306         with a pointer not returned by obstack_ functions.
8307
8308 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
8309
8310         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
8311         version.
8312         (struct stat64): Likewise.
8313         Reported by Michael Keezer <mkeezer@redhat.com>.
8314
8315         * timezone/asia: Update from tzdata2000h.
8316         * timezone/australasia: Likewise.
8317         * timezone/backward: Likewise.
8318         * timezone/europe: Likewise.
8319         * timezone/northamerica: Likewise.
8320         * timezone/southamerica: Likewise.
8321         * timezone/zone.tab: Likewise.
8322
8323 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
8324
8325         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
8326         and dir.stream is NULL, only free dir.content.
8327         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
8328         * io/ftwtest-sh: Test with --early-exit.
8329
8330 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
8331
8332         * misc/efgcvt.c (FCVT_MAXDIG): Define.
8333         (FCVT_BUFPTR): New variable.
8334         (fcvt): If fcvt_r returns -1 on the static short buffer,
8335         try to malloc a sufficiently large one and retry.
8336         (free_mem): New function.
8337         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
8338         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
8339
8340 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
8341
8342         * misc/dirname.c (dirname): Fix search for second to last slash.
8343
8344 2000-12-13  Andreas Jaeger  <aj@suse.de>
8345
8346         * misc/tst-dirname.c (main): Fix typo in test to really use
8347         the examples from Unix98.
8348         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8349
8350 2000-12-09  H.J. Lu  <hjl@gnu.org>
8351
8352         * sysdeps/ia64/fpu/s_fabs.S: New file.
8353         * sysdeps/ia64/fpu/s_fabsf.S: New file.
8354         * sysdeps/ia64/fpu/s_fabsl.S: New file.
8355
8356 2000-12-15  Andreas Jaeger  <aj@suse.de>
8357
8358         * stdio-common/scanf9.c (main): Reformat and change to avoid
8359         warnings.
8360
8361         * stdio-common/tstdiomisc.c: Make local functions static.
8362         * stdio-common/tst-printf.c: Likewise.
8363
8364         * elf/constload2.c: Add prototype declarations to shut up gcc.
8365         * elf/dep1.c: Likewise.
8366         * elf/dep2.c: Likewise.
8367         * elf/dep3.c: Likewise.
8368         * elf/dep4.c: Likewise.
8369         * elf/ltglobmod2.c: Likewise.
8370
8371         * libio/fmemopen.c: Make local functions static.
8372
8373         * elf/Makefile (distribute): Added testobj.h.
8374
8375         * elf/testobj.h: New file.
8376
8377         * elf/testobj1.c: Include testobj.h and move prototype
8378         declarations to testobj.h.
8379         * elf/testobj2.c: Likewise.
8380         * elf/testobj3.c: Likewise.
8381         * elf/testobj4.c: Likewise.
8382         * elf/testobj5.c: Likewise.
8383         * elf/testobj6.c: Likewise.
8384         * elf/testobj1_1.c: Likewise.
8385         * elf/preloadtest.c: Likewise.
8386
8387 2000-12-15  Ben Collins  <bcollins@debian.org>
8388
8389         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
8390         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
8391
8392 2000-12-14  H.J. Lu  <hjl@gnu.org>
8393
8394         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
8395         field in a float is 8 bits, not 11 bits.
8396
8397 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
8398
8399         * math/test-misc.c (main): Adjust m for IEEE quad long double.
8400
8401 2000-12-13  Andreas Jaeger  <aj@suse.de>
8402
8403         * manual/message.texi (Using gettextized software): Fix typo.
8404
8405         * manual/charset.texi (Converting a Character): Fix mbstouwcs
8406         program to compile.
8407         Patch by Martin Buchholz <martin@xemacs.org>.
8408
8409         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
8410         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8411
8412 2000-12-11  Andreas Jaeger  <aj@suse.de>
8413
8414         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
8415         kernel_sigset_t and use it.
8416         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
8417
8418 2000-12-10  Richard Henderson  <rth@redhat.com>
8419
8420         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
8421         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
8422         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
8423
8424 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
8425
8426         * sysdeps/alpha/htonl.S: Fix a typo.
8427
8428 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
8429
8430         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
8431
8432 2000-12-10  Andreas Jaeger  <aj@suse.de>
8433
8434         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
8435         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
8436         Drepper <drepper@redhat.com>.
8437
8438 2000-12-09  Andreas Jaeger  <aj@suse.de>
8439
8440         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
8441
8442         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
8443         generic version.
8444         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
8445
8446         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
8447         string.
8448
8449         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
8450         format string.
8451
8452         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
8453         * nscd/connections.c (handle_request): Likewise.
8454         * nscd/pwdcache.c (addpwbyname): Likewise.
8455         * nscd/grpcache.c (addgrbyname): Likewise.
8456
8457         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
8458
8459 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
8460
8461         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
8462
8463         * Makeconfig (default_cflags): Make -O2 the default for stable
8464         releases.
8465
8466 2000-12-08  H.J. Lu  <hjl@gnu.org>
8467
8468         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
8469         * sysdeps/ia64/fpu/s_isinf.S: This.
8470         Add a .pred.rel.mutex note to avoid false report.
8471
8472         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
8473         * sysdeps/ia64/fpu/s_isnan.S: This.
8474
8475         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
8476         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
8477         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
8478         * sysdeps/ia64/fpu/s_isinff.S: New file.
8479         * sysdeps/ia64/fpu/s_isinfl.S: New file.
8480         * sysdeps/ia64/fpu/s_isnanf.S: New file.
8481         * sysdeps/ia64/fpu/s_isnanl.S: New file.
8482         * sysdeps/ia64/fpu/s_finite.S: New file.
8483         * sysdeps/ia64/fpu/s_finitef.S: New file.
8484         * sysdeps/ia64/fpu/s_finitel.S: New file.
8485         * sysdeps/ia64/fpu/s_signbit.S: New file.
8486         * sysdeps/ia64/fpu/s_signbitf.S: New file.
8487         * sysdeps/ia64/fpu/s_signbitl.S: New file.
8488         * sysdeps/ia64/fpu/s_copysign.S: New file.
8489         * sysdeps/ia64/fpu/s_copysignf.S: New file.
8490         * sysdeps/ia64/fpu/s_copysignl.S: New file.
8491
8492 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
8493
8494         * math/libm-test.inc (main): Fix typos in messages.
8495
8496         * string/stratcliff.c: Add test for rawmemchr.
8497
8498 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
8499
8500         * elf/dl-open.c (_dl_open): If objname points right after errstring,
8501         allocate it together with errstring using alloca.
8502         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
8503         to "", because it might point to local stack.
8504
8505 2000-12-05  H.J. Lu  <hjl@gnu.org>
8506
8507         * nss/Makefile (routines): Add getnssent and getnssent_r.
8508         * nss/nsswitch.h (__nss_setent): New internal NSS function.
8509         (__nss_endent): Likewise.
8510         (__nss_getent_r): Likewise.
8511         (__nss_getent): Likewise.
8512         * nss/getnssent_r.c: New file.
8513         * nss/getnssent.c: New file.
8514         * nss/getXXent.c (H_ERRNO_VAR): Updated.
8515         (GETFUNC_NAME): Updated to call __nss_getent ().
8516         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
8517         (STAYOPEN_TMPVAR): Updated.
8518         (STAYOPEN_VAR): Updated.
8519         (SETFUNC_NAME): Updated to call __nss_setent ().
8520         (ENDFUNC_NAME): Updated to call __nss_endent ().
8521         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
8522
8523 2000-12-08  Andreas Jaeger  <aj@suse.de>
8524
8525         * nscd/dbg_log.h (dbg_log): Correct attribute.
8526
8527 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
8528
8529         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
8530         cp + len.  Compute where from dirname.
8531         Reported by <jreiser@BitWagon.com>.
8532
8533 2000-12-08  Richard Henderson  <rth@twiddle.net>
8534
8535         * sysdeps/alpha/_mcount.S: Fix typo.
8536         * sysdeps/alpha/strncpy.S: Likewise.
8537
8538         * sysdeps/alpha/alphaev6/Implies: New file.
8539         * sysdeps/alpha/alphaev67/Implies: New file.
8540         * sysdeps/alpha/alphaev67/ffs.S: New file.
8541         * sysdeps/alpha/alphaev67/ffsll.S: New file.
8542         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
8543         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
8544         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
8545         * sysdeps/alpha/rawmemchr.S: New file.
8546         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
8547         * sysdeps/alpha/strcpy.S: Likewise.
8548
8549         From GMP 3.1.1:
8550         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
8551
8552         From rick.gorton@alpha-processor.com:
8553         * sysdeps/alpha/alphaev6/memchr.S: New file.
8554         * sysdeps/alpha/alphaev6/memcpy.S: New file.
8555         * sysdeps/alpha/alphaev6/memset.S: New file.
8556         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
8557         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
8558         * sysdeps/alpha/alphaev67/strcat.S: New file.
8559         * sysdeps/alpha/alphaev67/strchr.S: New file.
8560         * sysdeps/alpha/alphaev67/strlen.S: New file.
8561         * sysdeps/alpha/alphaev67/strncat.S: New file.
8562         * sysdeps/alpha/htonl.S: Use a shorter sequence.
8563
8564 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
8565
8566         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
8567         Reported by <pspencer@fields.utoronto.ca>.
8568
8569 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
8570
8571         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
8572         Pointed out by Hans Boehm.
8573
8574 2000-12-07  H.J. Lu  <hjl@gnu.org>
8575
8576         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
8577
8578 2000-12-07  Andreas Jaeger  <aj@suse.de>
8579
8580         * misc/error.c: Add format attributes for __error and __error_at_line.
8581
8582         * nscd/dbg_log.h: Add format attribute.
8583
8584 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
8585
8586         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
8587         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
8588
8589 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
8590
8591         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
8592
8593 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
8594
8595         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
8596         (sysdep_routines): Add uitrunc.
8597         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
8598         Patches by Michael Keezer <mkeezer@redhat.com>.
8599
8600 2000-12-06  Roland McGrath  <roland@frob.com>
8601
8602         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
8603         argument data, since it will be used to copy out too (for INOUT).
8604         Reported by Marcus Brinkmann <marcus@gnu.org>.
8605
8606         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
8607         (__ioctl): Use uintptr_t instead of unsigned long int.
8608
8609 2000-12-06  Jim Wilson  <wilson@redhat.com>
8610
8611         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
8612
8613 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
8614
8615         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
8616         x.5 rounding correctly.
8617
8618 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
8619
8620         * stdio-common/perror.c (perror): Conditionalize code dealing with
8621         wide-oriented streams on USE_IN_LIBIO.
8622
8623 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
8624
8625         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
8626         as internal_function.
8627
8628 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
8629
8630         * sysdeps/alpha/elf/start.S (__data_start): Define.
8631
8632 2000-12-05  H.J. Lu  <hjl@gnu.org>
8633
8634         * nss/getXXent_r.c (setup): Change the return type to int.
8635
8636 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
8637
8638         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
8639         (sysdep_routines): Add restf and savef.
8640         * sysdeps/unix/sysv/aix/restf.c: New file.
8641         * sysdeps/unix/sysv/aix/savef.c: New file.
8642         Patches by Michael Keezer <mkeezer@redhat.com>.
8643
8644         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
8645         if O_DIRECTORY is not defined.
8646         Patch by Michael Keezer <mkeezer@redhat.com>.
8647
8648         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
8649         Patch by Michael Keezer <mkeezer@redhat.com>.
8650
8651         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
8652         than 4 bytes in escape sequence.
8653         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8654
8655 2000-12-05  Andreas Jaeger  <aj@suse.de>
8656
8657         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
8658         set mips2.
8659
8660         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
8661
8662         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
8663
8664         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
8665         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8666
8667         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
8668         internal_function.
8669         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
8670         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
8671
8672         * sysdeps/generic/dl-cache.c: Remove declaration of
8673         _dl_sysdep_read_whole_file.
8674
8675         * elf/dl-load.c (_dl_map_object): Remove declaration of
8676         _dl_load_cache_lookup.
8677
8678         * sysdeps/generic/ldsodefs.h: Add declarations of
8679         _dl_load_cache_lookup, _dl_unload_cache,
8680         _dl_sysdep_read_whole_file, _dl_sysdep_start and
8681         _dl_sysdep_start_cleanup.
8682
8683         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
8684         now.
8685
8686         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
8687         * sysdeps/generic/dl-environ.c: Likewise.
8688
8689         * stdio-common/printf_fp.c: Include <gmp.h> instead of
8690         <stdlib/gmp.h>.
8691         * math/atest-exp.c: Likewise.
8692         * math/atest-exp2.c: Likewise.
8693         * math/atest-sincos.c: Likewise.
8694         * stdio-common/_itoa.c: Likewise.
8695         * stdio-common/_itowa.c: Likewise.
8696
8697         * include/gmp.h: New file with internal prototypes.
8698
8699         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
8700         here to...
8701         * include/setjmp.h: ...here.
8702
8703         * locale/Makefile (routines): Remove codeset_name since it's not
8704         needed anywhere.
8705
8706         * locale/codeset_name.c: Removed.
8707
8708 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
8709
8710         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
8711
8712 2000-12-05  Andreas Jaeger  <aj@suse.de>
8713
8714         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
8715
8716 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
8717
8718         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
8719         available.
8720
8721 2000-12-05  Andreas Jaeger  <aj@suse.de>
8722
8723         * nss/test-netdb.c: Mark local functions as static to avoid
8724         warnings.
8725         (main): Use return to silence warning.
8726
8727         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
8728
8729         * stdio-common/test-popen.c: Mark local functions as static to
8730         avoid warnings.
8731         (main): Use return to silence warning.
8732
8733         * stdlib/testsort.c (compare): Mark as static to avoid warning.
8734
8735         * assert/test-assert.c: Mark local functions as static to avoid
8736         warnings.
8737         * assert/test-assert-perr.c: Likewise.
8738
8739         * math/libm-test.inc (main): Use return to silence warnings.
8740
8741 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
8742
8743         * math/fenv.h: Fix typo in comment.
8744
8745         * math/test-misc.c (main): Add a few more over and underflow tests
8746         for scalb.
8747
8748         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
8749         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8750         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8751         * math/w_scalb.c: Don't use matherr except in SVID mode.
8752         * math/w_scalbf.c: Likewise.
8753         * math/w_scalbl.c: Likewise.
8754         * math/test-misc.c: Add test for NaN and scalbl.
8755         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8756
8757 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
8758
8759         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
8760         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
8761         * include/libc-symbols.h (strong_alias): Define special version
8762         for HAVE_ASM_GLOBAL_DOT_NAME.
8763         (weak_alias): Likewise.
8764         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
8765         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
8766         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
8767         getutxline, pututxline, and utmpxname.
8768         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
8769         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
8770         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
8771         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
8772         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
8773         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
8774         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
8775         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
8776         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
8777         Patches by Michael Keezer <mkeezer@redhat.com>.
8778
8779 2000-12-04  H.J. Lu  <hjl@gnu.org>
8780
8781         * configure.in: Change --with-oldest-abi=ABI to
8782         --enable-oldest-abi=ABI.
8783
8784 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
8785
8786         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
8787         fwprintf instead of fprintf.
8788
8789 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
8790
8791         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
8792         DECIMAL_DIG definitions.
8793         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
8794         * sysdeps/generic/bits/mathdef.h: Likewise
8795         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
8796         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
8797         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
8798         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
8799         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
8800         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
8801
8802 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
8803
8804         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
8805
8806         * math/atest-exp.c: Mark local functions as static to avoid warnings.
8807         * math/atest-exp2.c: Likewise.
8808         * math/atest-sincos.c: Likewise.
8809
8810         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
8811         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8812
8813         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
8814         the handling of denormalized numbers.
8815
8816         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
8817         numbers on x86.
8818         * sysdeps/i386/fpu/fpclassifyl.c: New file.
8819
8820         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
8821         pseudo denormal representation of LDBL_MIN.
8822
8823         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
8824         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
8825
8826         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
8827         * iconvdata/jis0208.c: Likewise.
8828         * iconvdata/jis0212.c: Likewise.
8829         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8830
8831         * math/test-misc.c (main): More tests for frexp and some for
8832         fpclassify and isnormal.
8833
8834         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
8835         test for subnormal.
8836         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8837
8838         * math/test-misc.c (main): Add tests for frexp.
8839         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8840         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
8841
8842 2000-12-02  H.J. Lu  <hjl@gnu.org>
8843
8844         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
8845         '\0' to wcschr.
8846
8847 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
8848
8849         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
8850         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8851         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8852
8853         * sysdeps/generic/glob.c: Adjust types of several variables to
8854         avoid warnings.
8855
8856 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
8857
8858         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
8859
8860 2000-11-30  Roland McGrath  <roland@frob.com>
8861
8862         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
8863         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
8864         allow multiple instances using the same function name in one file.
8865
8866 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
8867
8868         * configure.in: Correct test for pserver CVS access.
8869
8870 2000-11-28  H.J. Lu  <hjl@gnu.org>
8871
8872         * libio/libio.h: Remove extra "#if ... #endif".
8873
8874 2000-11-29  H.J. Lu  <hjl@gnu.org>
8875
8876         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
8877
8878 2000-12-01  H.J. Lu  <hjl@gnu.org>
8879
8880         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
8881         * nss/getXXent_r.c: Likewise.
8882         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8883
8884 2000-11-30  H.J. Lu  <hjl@gnu.org>
8885
8886         * scripts/abi-versions.awk (oldest_abi): New variable.
8887         Handle the oldest ABI supported.
8888
8889         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
8890         for scripts/abi-versions.awk.
8891
8892         * configure.in: Add --with-oldest-abi=ABI.
8893         * configure: Rebuild.
8894
8895         * config.make.in (oldest-abi): New.
8896
8897         * config.h.in (GLIBC_OLDEST_ABI): New.
8898
8899         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
8900
8901 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
8902
8903         * locale/setlocale.c (setname): Free for all categories, not just
8904         LC_ALL.
8905         (setlocale): Store a copy of string passed by user, not the string
8906         itself.
8907
8908 2000-11-30  Roland McGrath  <roland@frob.com>
8909
8910         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
8911         rather than _hurd_fd_subinit, so it happens after it's safe to use
8912         libc facilities like malloc.
8913
8914 2000-11-28  Andreas Jaeger  <aj@suse.de>
8915
8916         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
8917         declaration, adjust declaration of __syscall_getdents to match
8918         kernel.
8919
8920 2000-11-29  H.J. Lu  <hjl@gnu.org>
8921
8922         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
8923
8924 2000-11-29  Andreas Jaeger  <aj@suse.de>
8925
8926         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
8927
8928 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8929
8930         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
8931         * dlfcn/defaultmod2.c: Likewise.
8932         * dlfcn/dlopen.c: Likewise.
8933         * dlfcn/dlopenold.c: Likewise.
8934         * dlfcn/failtestmod.c: Likewise.
8935         * dlfcn/glreflib1.c: Likewise.
8936         * dlfcn/glreflib2.c: Likewise.
8937         * dlfcn/eval.c: Likewise.  Add attributes.
8938
8939         * ctype/ctype-extn.c: Define isblank and not __isblank.
8940
8941         * time/strftime.c: Add const where necessary to avoid warnings.
8942         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
8943
8944 2000-11-22  Paul Eggert  <eggert@twinsun.com>
8945
8946         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
8947         size of (size_t) -1; it's not portable.
8948
8949 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8950
8951         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
8952         crappy i486 FPU.
8953         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8954
8955 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
8956
8957         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
8958
8959         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
8960         _mcount is required by profiled binaries.
8961
8962         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
8963         * sysdeps/ia64/machine-gmon.h: ...here.
8964
8965 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
8966
8967         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
8968         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
8969         and ibm1129.h.
8970         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
8971         IBM1129.
8972         * iconvdata/ibm922.c: New file.
8973         * iconvdata/ibm922.h: New file.
8974         * iconvdata/ibm1124.c: New file.
8975         * iconvdata/ibm1124.h: New file.
8976         * iconvdata/ibm1129.c: New file.
8977         * iconvdata/ibm1129.h: New file.
8978         * iconvdata/testdata/IBM922: New file.
8979         * iconvdata/testdata/IBM922..UTF8: New file.
8980         * iconvdata/testdata/IBM1124: New file.
8981         * iconvdata/testdata/IBM1124..UTF8: New file.
8982         * iconvdata/testdata/IBM1129: New file.
8983         * iconvdata/testdata/IBM1129..UTF8: New file.
8984
8985 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8986
8987         * catgets/gencat.c (normalize_line): Take extra parameter with escape
8988         character.  Change callers.
8989         (open_conversion): Determine mapping of 0x5c as wchar_t value.
8990         * catgets/Makefile: Add rules to build and run test-gencat.
8991         * catgets/sample.SJIS: New file.
8992         * catgets/test-gencat.c: New file.
8993         * catgets/test-gencat.sh: New file.
8994         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8995
8996 2000-11-28  Andreas Jaeger  <aj@suse.de>
8997
8998         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
8999         Linux version.
9000
9001 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
9002
9003         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
9004
9005 2000-11-28  Andreas Jaeger  <aj@suse.de>
9006
9007         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
9008         __flexarr.
9009         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
9010         Likewise.
9011
9012 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
9013
9014         * misc/getusershell.c: Make strings in okshells array const.
9015         * misc/regexp.c: Add const to cast to avoid warnings.
9016         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
9017         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
9018         __setresuid.
9019         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
9020         setresgid.
9021         * misc/error.c: Add prototypes for __error and __error_at_line.
9022         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
9023         statement to avoid warning.
9024         * test-skeleton.c: Mark timeout_handler with noreturn.
9025         * iconv/skeleton.c (get16u): Add const to cast.
9026         (get32u): Likewise.
9027         * iconvdata/gb18030.c: Likewise.
9028         * iconvdata/iso-2022-cn-ext.c: Likewise.
9029         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
9030         * iconvdata/big5.c: Likewise.
9031         * iconvdata/big5hkscs.c: Likewise.
9032         * iconvdata/iso_6937.c: Likewise.
9033         * iconvdata/iso_6937-2.c: Likewise.
9034         * iconvdata/t.61.c: Likewise.
9035         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
9036         * iconvdata/unicode.c: Likewise.
9037         * iconvdata/utf-16.c: Likewise.
9038         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
9039         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
9040         with little code shuffling.
9041
9042         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
9043         the problems introduced when the user selects -O3.
9044
9045         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
9046         * misc/sys/cdefs.h: Define __flexarr.
9047         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
9048
9049         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
9050         * iconv/skeleton.c: Likewise.
9051         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
9052         * iconv/loop.c (get16): Add const to cast.
9053         (get32): Likewise.
9054
9055 2000-11-27  Andreas Jaeger  <aj@suse.de>
9056
9057         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
9058         to avoid warning.
9059         * login/programs/utmpdump.c (print_entry): Likewise.
9060
9061 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
9062
9063         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
9064         in a single asm as they may be used to access other stored
9065         registers.
9066         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
9067
9068 2000-11-27  Andreas Jaeger  <aj@suse.de>
9069
9070         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
9071         * rt/tst-aio64.c: Likewise.
9072
9073 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
9074
9075         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
9076         for gencat run.
9077         (libc.cat): Likewise.
9078         * catgets/gencat.c: Implement handling of message catalogs encoded
9079         with stateful character sets.
9080         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9081
9082 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
9083
9084         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
9085
9086         * inet/getnameinfo.c: Adjust casts to avoid warnings.
9087         * inet/rcmd.c: Likewise.
9088         * inet/ruserpass.c: Likewise.
9089         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
9090         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9091         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
9092         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
9093         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
9094         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
9095         * include/aliases.h: Add prototypes for internal __getalias* functions.
9096         * include/netdb.h: Add prototypes for __old_gethostent_r,
9097         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
9098         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
9099         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
9100         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
9101         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
9102         __old_getrpcbynumber_r, __old_getrpcent_r.
9103
9104         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
9105         __getrpcent_r prototypes.
9106
9107 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
9108
9109         * string/strcoll.c: Add casts to avoid warnings.
9110         * string/strnlen.c: Likewise.
9111         * string/strxfrm.c: Likewise.
9112         * sysdeps/generic/_strerror.c: Likewise.
9113         * sysdeps/generic/memrchr.c: Likewise.
9114         * sysdeps/generic/strcasestr.c: Likewise.
9115         * sysdeps/generic/strstr.c: Likewise.
9116
9117         * locale/weight.h (findidx): Add const to cast to avoid warning.
9118
9119         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
9120         * elf/loadtest.c: Likewise.
9121         * elf/multiload.c: Likewise.
9122         * elf/next.c: Likewise.
9123         * elf/nodelete.c: Likewise.
9124         * elf/noload.c: Likewise.
9125         * elf/order.c: Likewise.
9126         * elf/origtest.c: Likewise.
9127         * elf/preloadtest.c: Likewise.
9128         * elf/restest1.c: Likewise.
9129
9130         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
9131         parameter of asm must be in %ecx.
9132
9133         * string/tester.c: Mark test functions as static to avoid warnings.
9134
9135         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
9136         preserve value over different gconv-modules files.
9137
9138 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
9139
9140         * locale/findlocale.c: Add casts to avoid warnings.
9141         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
9142         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
9143         to avoid warnings.
9144         * misc/tsearch.c (const_node): New type.
9145         (trecurse): Correct casts to avoid warnings.
9146         (__twalk): Likewise.
9147         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
9148         LONG_BIT.
9149
9150         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
9151
9152         * test-skeleton.c: Mark local functions as static to avoid warnings.
9153
9154 2000-11-23  H.J. Lu  <hjl@gnu.org>
9155
9156         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
9157         support the background job.
9158         Fix a typo.
9159
9160 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
9161
9162         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
9163         has same names but lower cost.
9164
9165 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
9166
9167         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
9168         which never occur during bootstrap.
9169         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9170
9171 2000-11-23  Andreas Jaeger  <aj@suse.de>
9172
9173         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
9174
9175         * nss/Versions: Remove _nss_files_getipnodebyname_r.
9176
9177         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
9178
9179 2000-11-18  Martin Buchholz  <martin@xemacs.org>
9180
9181         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
9182         (called++) return;'
9183
9184 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
9185
9186         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
9187
9188         * csu/abi-note.S: Correct comment for operating system number.
9189
9190 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
9191
9192         * Versions.def: Add GLIBC_2.2.1 for glibc.
9193
9194 2000-11-22  Andreas Schwab  <schwab@suse.de>
9195
9196         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
9197         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
9198
9199 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
9200
9201         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
9202         absolute time for pthread_cond_timedwait call.
9203         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
9204
9205         * rt/Makefile (tests): Add tst-aio6.
9206         * rt/tst-aio6.c: New file.
9207
9208 2000-11-23  Andreas Jaeger  <aj@suse.de>
9209
9210         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
9211
9212 2000-11-22  Andreas Jaeger  <aj@suse.de>
9213
9214         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
9215
9216 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
9217
9218         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
9219
9220 2000-11-21  Andreas Schwab  <schwab@suse.de>
9221
9222         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
9223         * sysdeps/arm/setjmp.S: Likewise.
9224         * sysdeps/arm/fpu/setjmp.S: Likewise.
9225         * sysdeps/i386/setjmp.S: Likewise.
9226         * sysdeps/i386/elf/setjmp.S: Likewise.
9227         * sysdeps/s390/setjmp.S: Likewise.
9228         * sysdeps/s390/elf/setjmp.S: Likewise.
9229         * sysdeps/sh/sh3/setjmp.S: Likewise.
9230         * sysdeps/sh/sh4/setjmp.S: Likewise.
9231         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
9232         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9233         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
9234         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
9235
9236 2000-11-21  Andreas Jaeger  <aj@suse.de>
9237
9238         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
9239         NORETURN, fix parameter list.
9240
9241         * string/bug-strncat1.c (main): Fix typo.
9242         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
9243
9244 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
9245
9246         * configure.in: Add --enable-all-warnings.
9247         * config.make.in (all-warnings): New variable.
9248         * Makeconfig (+gccwarn): Define with many more warnings if
9249         all-warnings is yes.
9250
9251 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
9252
9253         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
9254         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
9255         * malloc/tst-valloc.c (main): Cast valloc return value to long.
9256         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
9257         * math/test-fpucw.c (main): Use %lx in format string, cast
9258         control words to long.
9259         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
9260         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
9261         large that it is unsigned warning.
9262
9263         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
9264         it to long on sparc64.
9265
9266 2000-11-20  Andreas Jaeger  <aj@suse.de>
9267
9268         * nscd/nscd.h (termination_handler): Add noreturn attribute.
9269         (receiv_print_stats): Likewise.
9270
9271         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
9272
9273 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
9274
9275         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
9276
9277         * csu/gmon-start.c: Always have prototype for __gmon_start.
9278         * csu/version.c: Add prototypes for __libc_print_version and
9279         __libc_main.
9280         * iconv/gconv.c: Include gconv_int.h and gconv.h.
9281         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
9282         and __to_name.
9283         * iconv/gconv_builtin.h: Add ASCII module definitions.
9284         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
9285         (add_module): Add cast to avoid warning.  Rework construction of
9286         strings for new module.
9287         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
9288         (derivation_compare): Likewise.
9289         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
9290         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
9291         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
9292         (struct gconv_alias): Remove const from fromname and toname.
9293         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
9294         for loop functions.
9295         (internal_ucs4_loop): Use correct const-ness.
9296         (ucs4_internal_loop): Likewise.
9297         (internal_ucs4le_loop): Likewise.
9298         (ucs4le_internal_loop_single): Likewise.
9299         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
9300         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
9301         assignments appropriately.
9302         (struct known_trans): Remove const from fname.
9303         (trans_compare): Make s1 and s2 const.
9304         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
9305         avoid warning.
9306         * iconv/skeleton.c: Remove cast in calls of loop functions.
9307         * iconvdata/gconv-modules: Remove US-ASCII definitions.
9308         * iconvdata/iso646.c: Remove US_ASCII support.
9309         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
9310         * include/unistd.h: Add __libc_check_standard_fds prototype.
9311         * string/bits/string2.h (__mempcpy_args): Add const to casts.
9312         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
9313         _fini.
9314         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
9315         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
9316         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
9317         warning.
9318         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
9319         __libc_init_first and _dl_start.
9320         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
9321         (DCIGETTEXT): Make domaindata variable const.
9322         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
9323         to avoid warning.
9324
9325 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
9326
9327         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
9328
9329         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
9330         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
9331         __unused? members.
9332
9333         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
9334         value defined in /usr/include/asm-mips/fcntl.h.
9335
9336 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
9337
9338         * stdio-common/Makefile (tests): Add test-vfprintf.
9339         (test-vfprintf-ENV): New variable.
9340         * stdio-common/test-vfprintf.c: New file.
9341
9342         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
9343
9344         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
9345         (tst-mbrtowc-ENV): New variable.
9346         (tst-wcrtomb-ENV): New variable.
9347         * wcsmbs/tst-mbrtowc.c: New file.
9348         * wcsmbs/tst-wcrtomb.c: New file.
9349
9350 2000-11-16  Andreas Jaeger  <aj@suse.de>
9351
9352         * manual/install.texi (Tools for Compilation): Update
9353         documentation for GCC 2.95.2.
9354
9355 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
9356
9357         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
9358         if IPv4 and IPv6 requests timed out.
9359
9360 2000-11-18  Akim Demaille  <akim@epita.fr>
9361
9362         * malloc/obstack.h: Formatting changes.
9363         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
9364         prevents type checking.
9365         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
9366         cast the value to (void *): assigning a `foo *' to a `void *'
9367         variable is valid.
9368         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
9369
9370 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
9371
9372         * scripts/config.guess: Update from upstream maintainer.
9373         * scripts/config.sub: Likewise.
9374
9375 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
9376
9377         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
9378         * libio/freopen64.c (freopen64): Likewise.
9379         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9380
9381         * libio/Makefile: Add rules to build and run test-freopen.
9382         * libio/test-freopen.c: New file.
9383         * libio/test-freopen.sh: New file.
9384
9385 2000-11-15  H.J. Lu  <hjl@gnu.org>
9386
9387         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
9388         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
9389         (DL_DT_FINI_ADDRESS): Likewise.
9390
9391         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
9392         return type to ElfW(Addr).
9393         (_dl_function_address): New prototype.
9394         (DL_FUNCTION_ADDRESS): Defined.
9395         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
9396         (DL_DT_FINI_ADDRESS): Likewise.
9397
9398         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
9399
9400         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
9401         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
9402
9403         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
9404         (_dl_function_address): This.
9405
9406         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
9407         function pointer for DT_FINI.
9408         * elf/dl-close.c (_dl_close): Likewise.
9409
9410         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
9411         function pointer for DT_INIT.
9412
9413 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
9414
9415         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
9416         end of wexpbuf buffer.
9417
9418 2000-11-16  Andreas Jaeger  <aj@suse.de>
9419
9420         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
9421         definition of F_GETLK, F_SETLK, F_SETLKW.
9422
9423 2000-11-16  Andreas Jaeger  <aj@suse.de>
9424
9425         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
9426         it's not defined.
9427
9428 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
9429
9430         * dlfcn/default.c (main): Add test for dladdr of main returning
9431         argv[0] in dli_fname field.
9432
9433 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
9434
9435         * Makeconfig (run-program-prefix): Move test-static test into the
9436         variable.
9437
9438         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
9439         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
9440         schedule instructions.
9441         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
9442         schedule instructions, fix a bug in copying auxiliary data.
9443
9444 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
9445
9446         * manual/startup.texi (Program Arguments): Fix type of main's envp
9447         parameter.
9448         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
9449
9450         * iconvdata/gconv-modules: Add CP950 alias.
9451
9452 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
9453
9454         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
9455         syscall-list.h goal.
9456         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
9457
9458 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
9459
9460         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
9461
9462         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
9463         output of program.
9464
9465         * intl/tst-gettext2.c: Set C locale if setting other locale
9466         failed.  Use gettext() not _().
9467
9468         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
9469         successfully loaded a new locale.
9470
9471 2000-11-13  Andreas Jaeger  <aj@suse.de>
9472
9473         * configure.in: Require gcc 2.95 or newer.
9474
9475 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
9476
9477         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
9478         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
9479
9480 2000-11-11  Jim Meyering  <meyering@lucent.com>
9481
9482         * string/strndup.c (strndup): Cast return value to `char *'.
9483
9484 2000-11-15  Jim Meyering  <meyering@ascend.com>
9485
9486         * sysdeps/generic/memchr.c: Remove some useless parentheses.
9487         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
9488         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
9489         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
9490         Also #undef __memchr.
9491         Use `weak_alias' only if it's defined.
9492
9493 2000-11-10  H.J. Lu  <hjl@gnu.org>
9494
9495         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
9496
9497 2000-11-15  Andreas Jaeger  <aj@suse.de>
9498
9499         * elf/chroot_canon.c: Include <stdint.h>.
9500
9501         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
9502         (print_entry): Likewise.
9503         (add_to_cache): Likewise.
9504
9505         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
9506
9507         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
9508         (path_hwcap): Likewise.
9509         (search_dir): Likewise.
9510
9511         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
9512
9513         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
9514
9515         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
9516         (_dl_platform_string): New.
9517         (_DL_HWCAP_PLATFORM): New.
9518         (_dl_string_platform): New.
9519         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
9520
9521         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
9522         (_dl_string_platform): New.
9523         (_DL_HWCAP_PLATFORM): New.
9524         (_dl_platform_string): New.
9525
9526         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
9527         recognition.
9528         (_DL_HWCAP_COUNT): New.
9529         (_dl_string_platform): New.
9530         (_DL_HWCAP_PLATFORM): New.
9531         (_dl_platform_string): New.
9532
9533 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
9534
9535         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
9536
9537 2000-11-14  Andreas Jaeger  <aj@suse.de>
9538
9539         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
9540
9541 2000-11-13  Roland McGrath  <roland@frob.com>
9542
9543         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
9544
9545 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
9546
9547         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
9548         underrun and make sure the result is null terminated even if there
9549         is no trailing newline.
9550
9551 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
9552
9553         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9554
9555 2000-11-10  H.J. Lu  <hjl@gnu.org>
9556
9557         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
9558
9559 2000-11-10  Andreas Jaeger  <aj@suse.de>
9560
9561         * elf/ldconfig.c (create_links): Fix alloca calculation.
9562         Patch by Ben Collins <bcollins@debian.org>.
9563
9564 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
9565
9566         * inet/getnameinfo.c (getnameinfo): Use correct destination
9567         parameter for if_indextoname.
9568         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
9569
9570 2000-11-09  H.J. Lu  <hjl@gnu.org>
9571
9572         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
9573         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
9574         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
9575         xdr_keystatus.
9576
9577         * time/Versions (GLIBC_2.1): Move getitimer to...
9578         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
9579
9580 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
9581
9582         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
9583         "make install", to work around a binary incompatibility between
9584         glibc 2.1 and glibc 2.2 gconv modules.
9585
9586 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
9587
9588         * intl/locale.alias: Add thai.
9589         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
9590
9591 2000-11-07  Akim Demaille  <akim@epita.fr>
9592
9593         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
9594         argument `data' for consistency with the prototypes.
9595         Qualify it `const'.
9596         (obstack_copy, obstack_copy0): Rename the second argument as
9597         `address' for consistency.  Qualify it `const'.
9598         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
9599         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
9600         `const' their input argument (`data' or `address').
9601         Adjust the corresponding macros to include `const' in casts.
9602
9603 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9604
9605         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
9606         target family.
9607
9608 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9609
9610         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
9611         socket creation.
9612
9613 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9614
9615         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
9616         ai_protocol by internal table if service was not given.
9617
9618 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9619
9620         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
9621         numerical port was specified with protocol without socktype.
9622
9623 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9624
9625         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
9626
9627 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9628
9629         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
9630
9631 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9632
9633         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
9634         sin6_scope_id field.
9635
9636 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9637
9638         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
9639
9640 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9641
9642         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
9643
9644 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9645
9646         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
9647         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
9648
9649 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
9650
9651         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
9652         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
9653
9654 2000-11-09  H.J. Lu  <hjl@gnu.org>
9655
9656         * io/Versions (GLIBC_2.1.1): Remove lockf64.
9657
9658
9659 See ChangeLog.11 for earlier changes.