12001-08-15  Ulrich Drepper  <drepper@redhat.com>
2
3	* libio/iofwide.c (_IO_fwide): Don't reset file position to
4	beginning of file, really get current position.
5
62001-08-15  Andreas Schwab  <schwab@suse.de>
7
8	* sysdeps/m68k/m68020/atomicity.h (atomic_add): Don't allow
9	address register for operand 0.
10
112001-08-14  Ulrich Drepper  <drepper@redhat.com>
12
13	* stdio-common/perror.c (perror): Use _IO_fwide instead of fwide.
14
15	* libio/libio.h (_IO_fwide): Handle zero as second parameter more
16	efficiently in macro.
17
182001-08-14  Jakub Jelinek  <jakub@redhat.com>
19
20	* resolv/nss_dns/dns-host.c (RESOLVSORT): Define.
21	(addrsort): New function.
22	* resolv/gethnamaddr.c (RESOLVSORT): Define.
23
242001-08-14  Jakub Jelinek  <jakub@redhat.com>
25
26	* string/strsignal.c (free_mem): Remove.
27
282001-08-14  Andreas Jaeger  <aj@suse.de>
29
30	* inet/inet_ntoa.c (free_mem): Remove, it's not used anymore.
31	Closes PR libc/2477, reported by Dylan Alex Simon
32	<dylan@dylex.caltech.edu>.
33
342001-08-14  Ulrich Drepper  <drepper@redhat.com>
35
36	* locale/Makefile (aux): Add xlocale.
37	* locale/xlocale.c: New file.
38	* include/locale.c (_nl_C_locobj): Declare.
39	* iconv/gconv_charset.h: Use __tolower_l, __isdigit_l, __isspace_l
40	with _nl_C_locobj instead of tolower, isdigit, isspace.
41	* iconv/gconv_conf.c: Likewise.
42	* iconv/gconv_int.h: Likewise.
43	* iconv/gconv_open.c: Likewise.
44
45	* locale/newlocale.c: Minor cleanups.
46
472001-08-14  Andreas Jaeger  <aj@suse.de>
48
49	* sysdeps/ieee754/ldbl-128/w_expl.c: New file, copy from
50	ldbl-96/w_expl.c with tweaked constants.  Patch by Stephen L
51	Moshier.
52
532001-08-13  Ulrich Drepper  <drepper@redhat.com>
54
55	* malloc/memusage.c (me): Allow creating the output file.
56
57	* sysdeps/unix/sysv/linux/Makefile: Remove -fkeep-inline-functions
58	flag for init-first.
59
60	* po/fr.po: Update from translation team.
61
622001-08-13  Andreas Jaeger  <aj@suse.de>
63
64	* sysdeps/mips/machine-gmon.h (MCOUNT): Don't use delay slot for
65	jal since it's a macro.
66	Patch by Simon Gee <simong@oz.agile.tv>.
67
682001-08-12  Ulrich Drepper  <drepper@redhat.com>
69
70	* iconvdata/Makefile: Add rules to build ISO-IR-209 and MAC-SAMI.
71	* iconvdata/iso-ir-209.c: New file.
72	* iconvdata/mac-sami.c: New file.
73	* iconvdata/gconv-modules: Add entries for ISO-IR-209 and MAC-SAMI.
74	* iconvdata/tst-tables.sh: Likewise.
75
76	* posix/getopt.c: Remove store_args_and_env which is not needed since
77	USE_NONOPTION_FLAGS is undefined anyhow.  Use __libc_argc and
78	__libc_argv variables.
79
802001-08-12  Roland McGrath  <roland@frob.com>
81
82	* sysdeps/mach/hurd/clock.c: New file.
83	* sysdeps/mach/hurd/times.c: New file.
84	* sysdeps/mach/hurd/getclktck.c (__getclktck): Always return 1000000.
85	* sysdeps/mach/hurd/init-posix.c: New file.
86
87	* hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
88
892001-08-11  Roland McGrath  <roland@frob.com>
90
91	* sysdeps/mach/hurd/bits/time.h
92	(CLOCK_PROCESS_CPUTIME_ID, CLOCK_THREAD_CPUTIME_ID): New macros.
93	* sysdeps/mach/hurd/i386/bits/time.h: File removed.
94
95	* posix/getopt.c (nonoption_flags_max_len, nonoption_flags_len):
96	Make these defns conditional on [USE_NONOPTION_FLAGS].
97
982001-08-11  Ulrich Drepper  <drepper@redhat.com>
99
100	* config.h.in: Add #undef line for USE_NONOPTION_FLAGS.
101	* posix/getopt_init.c: Produce code only if USE_NONOPTION_FLAGS is
102	defined.
103	* posix/getopt.c: Use __getopt_nonoption_flags only if
104	USE_NONOPTION_FLAGS is defined.
105	* sysdeps/mach/hurd/i386/init-first.c: Use __getopt_clean_environment
106	only if USE_NONOPTION_FLAGS is defined.
107	* sysdeps/mach/hurd/mips/init-first.c: Likewise.
108	* sysdeps/unix/sysv/linux/init-first.c: Likewise.
109	* sysdeps/arm/init-first.c: Likewise.
110	* sysdeps/generic/init-first.c: Likewise.
111	* sysdeps/i386/init-first.c: Likewise.
112	* sysdeps/sh/init-first.c: Likewise.
113
1142001-08-11  Andreas Jaeger  <aj@suse.de>
115
116	* sysdeps/ieee754/ldbl-128/e_j0l.c: New file.
117	Contributed by Stephen L Moshier <moshier@mediaone.net>.
118
1192001-08-11  Ulrich Drepper  <drepper@redhat.com>
120
121	* assert/assert.c (set_progname): Removed.
122	(__assert_fail): Use __progname instead of __assert_program_name.
123	* assert/assert-perr.c (__assert_perror_fail): Likewise.
124
125	* malloc/malloc.c (ptmalloc_init): Don't call getenv five times.
126	Instead use new function next_env_entry which iterates over the
127	environment once.
128
129	* sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Only set
130	_dl_profile_map for the right object.
131
132	* elf/dl-reloc.c (_dl_relocate_object): Allocate l_reloc_result
133	only if consider_profiling is != 0, not if _dl_profile != NULL.
134
135	* sysdeps/generic/dl-environ.c (_dl_next_ld_env_entry): Optimize a bit.
136	Now returns pointer to first character after "LD_".
137	* elf/rtld.c (process_envvars): Adjust for change above.
138	* sysdeps/unix/sysv/linux/dl-librecon.h (EXTRA_LD_ENVVARS): Likewise.
139	* sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
140	Likewise.
141
1422001-08-10  Wolfram Gloger  <wg@malloc.de>
143
144	* malloc/malloc.c (grow_heap): Use mmap() rather than mprotect()
145	to allocate new memory, for better performance with Linux-2.4.x.
146
1472001-08-10  Ulrich Drepper  <drepper@redhat.com>
148
149	* posix/getopt_init.c (__getopt_clean_environment): Avoid making
150	the strncmp calls most of the time by testing for '_' as the first
151	character of the name.
152
153	* elf/dl-open.c (add_to_global): Remove stale comment.
154
155	* elf/dl-load.c (fillin_rpath): In SUID binaries, don't mark
156	non-system-dirs in LD_LIBRARY_PATH as nonexisting, simply drop them.
157
158	* libio/iovdprintf.c (_IO_vdprintf): Set _IO_USER_LOCK flag for
159	temporary stream.  Don't define lock.
160	* libio/obprintf.c (_IO_obstack_vprintf): Likewise.
161	* libio/strops.c (_IO_str_init_static): Likewise.
162	* libio/vasprintf.c (_IO_vasprintf): Likewise.
163	* libio/wstrops.c (_IO_wstr_init_static): Likewise.
164	* libio/iovsprintf.c: Likewise.
165	* libio/iovsnprintf.c: Likewise.
166	* libio/iovswprintf.c: Likewise.
167	* libio/iovsscanf.c: Likewise.
168	* libio/iovswscanf.c: Likewise.
169	* stdio-common/vfprintf.c [USE_IN_LIBIO] (buffered_vfprintf): Likewise.
170	* libio/genops.c (_IO_no_init): Don't call _IO_lock_init if _lock
171	is NULL.
172	(_IO_default_finish): Likewise.
173	* libio/wgenops.c (_IO_wdefault_finish): Likewise.
174
1752001-08-10  Andreas Jaeger  <aj@suse.de>
176
177	* stdio-common/stdio_ext.h: Fix typo.
178
1792001-08-09  Ulrich Drepper  <drepper@redhat.com>
180
181	* posix/fnmatch_loop.c: Fix computation of alignment.
182
1832001-08-09  Isamu Hasegawa  <isamu@yamato.ibm.com>
184
185	* posix/regex.c (wcs_regex_compile): Use appropriate string
186	to compare with collating element.
187	Fix the padding for the alignment.
188
1892001-08-09  Isamu Hasegawa  <isamu@yamato.ibm.com>
190
191	* locale/programs/ld-collate.c (collate_output): Exclude
192	characters from elem_table.
193	Reduce if clause to write collating elements correctly.
194	* posix/Makefile (tests): Add bug-regex5.
195	* posix/bug-regex5.c: New file.
196
1972001-08-09  Ulrich Drepper  <drepper@redhat.com>
198
199	* locale/lc-time.c (_nl_parse_alt_digit): New function.
200	* locale/localeinfo.h: Add prototype for it.
201	* time/strptime.c (get_alt_number): Use _nl_parse_alt_digit to get
202	the value.  Correct computation of hour for %OI.  If no %EC given
203	but %Ey use numeric formular.
204
205	* dlfcn/Makefile (tststatic-ENV): Also add $(common-objpfx)elf for
206	ld.so.
207
208	* time/tst-strptime.c: Add tests in different locales.
209	* time/Makefile (tst-strptime-ENV): Define.
210
2112001-08-09  Jakub Jelinek  <jakub@redhat.com>
212
213	* catgets/catgets.c (catclose): Be liberal about catalog_desc in
214	catclose too.
215
2162001-08-09  Ulrich Drepper  <drepper@redhat.com>
217
218	* time/strptime.c (strptime_internal): Add handling of year +
219	%U/%W week + week day.
220	* time/tst-strptime.c: Add test case for %U and %W handling.
221
222	* stdio-common/vfscanf.c: Fix reading of wide chars and strings if
223	not COMPILE_WSCANF.
224
225	* libio/vswprintf.c (_IO_vswprintf): Fix return value handling
226	which is different from snprintf.
227	* libio/tst_swprintf.c: Add tests for too small output buffer.
228
229	* stdio-common/vfscanf.c: Fix handling of %[] for COMPILE_WSCANF.
230	* libio/Makefile (tests): Add tst-swscanf.
231	* libio/tst-swscanf.c: New file.
232
2332001-08-09  Jakub Jelinek  <jakub@redhat.com>
234
235	* posix/globtest.sh: Robustify tilde tests.
236
2372001-08-09  Andreas Jaeger  <aj@suse.de>
238
239	* locale/programs/ld-ctype.c (DEFAULT): Fix expression.
240	(EMPTY): New.
241	(wctype_table_finalize): Use it.
242	(find_idx): Likewise.
243	(wctype_table_get): Likewise.
244
245	* configure.in: Add check for GCC 3.x.
246
2472001-08-09  Ulrich Drepper  <drepper@redhat.com>
248
249	* libio/wfileops.c (_IO_wfile_seekoff): Don't even try to handle
250	seeking with backup buffer present.
251	Correct determining of internal buffer position.
252	Reset also wide buffers if we reset the internal buffers.
253	* libio/iofwide.c (_IO_fwide): Always determine file offset for wide
254	streams.
255	* libio/ioseekoff.c: Catch one unimplemented case.
256	* libio/ftello.c: Don't abort if the wide stream has backup buffer.
257	* libio/ftello64.c: Likewise.
258	* libio/iofgetpos.c: Likewise.
259	* libio/iofgetpos64.c: Likewise.
260	* libio/ftell.c: Likewise.
261	* libio/Makefile (tests): Add tst-ungetwc2.
262	* libio/tst-ungetwc2.c: New file.
263
2642001-08-08  Ulrich Drepper  <drepper@redhat.com>
265
266	* locale/elem-hash.h (elem_hash): Correct stupid mistake and
267	create real hash values now.
268	Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
269
270	* libio/iofgetpos.c (_IO_new_fgetpos): Correct a few problems in
271	the handling of wide streams.
272
273	* libio/ioungetwc.c (ungetwc): Orient stream first.
274	* libio/Makefile (tests): Add tst-ungetwc1.
275	* libio/tst-ungetwc1.c: New file.
276
277	* libio/wfileops.c (_IO_wfile_underflow): Remove incorrect test
278	for possible conversion using __codecvt_do_in.
279	* libio/Makefile (tests): Add tst-fgetws.
280	* libio/tst-fgetws.c: New file.
281
282	* libio/iofgetws.c: Use _IO_ferror_unlocked macros instead of
283	coding the test here.
284
285	* catgets/open_catalog.c: Rewrite code to assume that the function
286	is called at catopen time and not delayed in catgets.
287	* catgets/catgets.c (catopen): Call __open_catalog and fail if that
288	function failed.
289	(catgets): Remove code for delayed opening of catalog.
290	* catgets/catgetsinfo.h: Remove now unnecessary information from
291	struct catalog_info.  Change __open_catalog prototype.
292	* catgets/gencat.c: Adjust __open_catalog call.
293	* catgets/test-gencat.c: Stop program if catopen failed.
294
295	* locale/C-monetary.c (_nl_C_LC_MONETARY): Provide correct value
296	for CRNCYSTR.
297
298	* locale/programs/ld-messages.c (messages_finish): Provide POSIX
299	locale compliant default values for fields without definition.
300	* locale/programs/ld-time.c (time_finish): Likewise.
301	* locale/programs/ld-monetary.c (monetary_finish): Likewise.
302
3032001-08-08  Andreas Jaeger  <aj@suse.de>
304
305	* sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Fix test for
306	infinity.
307
3082001-08-07  Ulrich Drepper  <drepper@redhat.com>
309
310	* sysdeps/ia64/memusage.h (GETTIME): Define using hp-timing.h
311	functionality.
312
313	* sysdeps/ia64/hp-timing.h (HP_TIMING_NOW): Fix comment.
314
3152001-08-07  Jakub Jelinek  <jakub@redhat.com>
316
317	* malloc/memusage.c (initialized): New variable.
318	(init): If not yet initialized, call me().
319	(me): Do all dlsym calls here.
320	(malloc, realloc, calloc, free): If not yet initialized,
321	call me().  If in the middle of initializing, return NULL or
322	do nothing.
323
3242001-08-07  Jakub Jelinek  <jakub@redhat.com>
325
326	* sysdeps/unix/seekdir.c (seekdir): Set dirp->filepos.
327
328	* dirent/tst-seekdir.c (main): Check whether telldir right after
329	seekdir returns 2nd argument given to seekdir.
330
3312001-08-07  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
332
333	* dlfcn/Makefile (tststatic-ENV): Add $(common-objpfx) to
334	LD_LIBRARY_PATH.
335
3362001-08-07  Andreas Jaeger  <aj@suse.de>
337	    Andreas Schwab  <schwab@suse.de>
338	    Bruno Haible  <haible@clisp.cons.org>
339
340	* locale/programs/3level.h (EMPTY): New macro.
341	(*_get, *_add, *_iterate, *_finalize): Use it instead of ~(uint32_t) 0.
342
3432001-08-08  GOTO Masanori  <gotom@debian.or.jp>
344
345	* locale/iso-3166.def: Updates from latest official list.
346
3472001-08-07  Andreas Jaeger  <aj@suse.de>
348
349	* stdlib/tst-strtod.c: Disable HUGE_VAL tests for older GCCs.
350
351	* iconv/gconv_charset.h (upstr): Add unused attribute to avoid warning.
352
353	* libio/iopopen.c (_IO_new_proc_open): Fix typos, it's _IO_MTSAFE_IO.
354	(_IO_new_proc_close): Likewise.
355	* libio/oldiopopen.c (_IO_old_proc_open): Likewise.
356	(_IO_old_proc_close): Likewise.
357
3582001-08-06  Ulrich Drepper  <drepper@redhat.com>
359
360	* manual/locale.texi: Add documentation for rpmatch.
361	Patch by Jochen Hein <jochen@jochen.org>.
362
3632001-08-06  Jakub Jelinek  <jakub@redhat.com>
364
365	* stdlib/strtod.c (STRTOF): Skip whole infinity, not just inf.
366	* stdio-common/vfscanf.c (__vfscanf): +- can be followed by i in +-Inf.
367
368	* stdlib/tst-strtod.c (tests): Add Inf tests.
369	* stdio-common/tstscanf.c (main): Add tests for +- before Inf.
370
3712001-08-06  Ulrich Drepper  <drepper@redhat.com>
372
373	* locale/weightwc.h (findidx): Change type of i to int32_t.
374
375	* wcsmbs/wcsmbs-tst1.c (main): Avoid warning.  Pretty printing.
376
3772001-08-05  Roland McGrath  <roland@frob.com>
378
379	* sysdeps/unix/bsd/bsd4.4/bits/dirent.h (struct dirent): Rename member
380	d_fileno to d_ino.
381	(struct dirent64): Likewise.
382	(d_fileno): Define as macro.
383
3842001-08-04  Roland McGrath  <roland@frob.com>
385
386	* sysdeps/mach/hurd/getrusage.c: Use TASK_EVENTS_INFO if implemented
387	by the microkernel (which it's not).
388
3892001-08-04  Ulrich Drepper  <drepper@redhat.com>
390
391	* libio/fileops.c (_IO_new_file_underflow): Don't call
392	_IO_flush_all_linebuffered.  This isn't required in any standard.
393	Instead flush only stdout.
394	* libio/wfileops.c (_IO_wfile_underflow): Likewise.
395
3962001-08-04  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
397
398	* dlfcn/Makefile: Add rules for new testcase tststatic.
399	* dlfcn/tststatic.c: New file.
400	* dlfcn/modstatic.c: New file.
401
4022001-08-04  Ulrich Drepper  <drepper@redhat.com>
403
404	* manual/summary.awk: Fix value used for FF.
405
406	* elf/rtld.c: Correct use of __builtin_expect.
407
408	* elf/dl-close.c: Remove commented-out code.
409
410	* libio/genops.c (_IO_unbuffer_write): Force streams in narrow
411	orientation so that conversion modules aren't used anymore.
412	* malloc/set-freeres.c: Call _IO_cleanup before running subfreeres
413	functions to avoid using wide streams afterwards.
414
415	* iconvdata/Makefile: Add rules to build GEORGIAN-PS and
416	GEORGIAN-ACADEMY.
417	* iconvdata/georgian-ps.c: New file.
418	* iconvdata/georgian-academy.c: New file.
419	* iconvdata/gconv-modules: Add entries for GEORGIAN-PS and
420	GEORGIAN-ACADEMY.
421	* iconvdata/tst-tables.sh: Add GEORGIAN-PS and GEORGIAN-ACADEMY.
422
4232001-08-03  Ulrich Drepper  <drepper@redhat.com>
424
425	* locale/programs/ld-collate (insert_value): If symbol in order
426	definition does not exist create it as a sequence without
427	associated multibyte and wide representation.
428
4292001-07-30  Roland McGrath  <roland@frob.com>
430
431	* sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start): Diddle
432	syntax so both function and pointer-to-function arguments work right.
433
4342001-08-03  Tom Rix  <trix@redhat.com>
435
436	* config.h.in: Add HAVE_XCOFF for AIX.
437	* configure.in: Add --with-xcoff option.
438	* include/libc-symbols.h: Disable the .stabs macros.
439
4402001-08-03  Ulrich Drepper  <drepper@redhat.com>
441
442	* iconvdata/8bit-gap.c: Correctly use __builtin_expect.
443	* iconvdata/ansi_x3.110.c: Likewise.
444	* iconvdata/big5.c: Likewise.
445	* iconvdata/euc-cn.c: Likewise.
446	* iconvdata/euc-jp.c: Likewise.
447	* iconvdata/euc-kr.c: Likewise.
448	* iconvdata/gb18030.c: Likewise.
449	* iconvdata/gbbig5.c: Likewise.
450	* iconvdata/gbgbk.c: Likewise.
451	* iconvdata/gbk.c: Likewise.
452	* iconvdata/ibm930.c: Likewise.
453	* iconvdata/ibm932.c: Likewise.
454	* iconvdata/ibm933.c: Likewise.
455	* iconvdata/ibm935.c: Likewise.
456	* iconvdata/ibm939.c: Likewise.
457	* iconvdata/ibm943.c: Likewise.
458	* iconvdata/iso-2022-cn.c: Likewise.
459	* iconvdata/iso-2022-kr.c: Likewise.
460	* iconvdata/iso646.c: Likewise.
461	* iconvdata/iso8859-1.c: Likewise.
462	* iconvdata/iso_6937-2.c: Likewise.
463	* iconvdata/iso_6937.c: Likewise.
464	* iconvdata/johab.c: Likewise.
465	* iconvdata/sjis.c: Likewise.
466	* iconvdata/t.61.c: Likewise.
467	* iconvdata/uhc.c: Likewise.
468	* iconvdata/unicode.c: Likewise.
469	* iconvdata/utf-16.c: Likewise.
470	* iconv/gconv_simple.c: Likewise.   Convert assert() in real error
471	handling.
472
473	* iconvdata/Makefile: Add rules to build KOI8-T module.
474	* iconvdata/koi8-t.c: New file.
475	* iconvdata/gconv-modules: Add entries for KOI8-T.
476	* iconvdata/tst-tables.sh: Add KOI8-T.
477
478	* locale/iso-639.def: Correct Javanese 2 letter code.  Add Tonga.
479	Add Tigrinya.
480
4812001-08-02  Ulrich Drepper  <drepper@redhat.com>
482
483	* locale/programs/ld-collate.c (collate_read): Handle collating-element
484	and reorder_after following copy statement correctly.
485
4862001-08-02  Andreas Jaeger  <aj@suse.de>
487
488	* libio/bits/stdio.h (printf): Remove printf optimization since
489	GCC 3.0 can optimize printf.
490
4912001-08-02  Ulrich Weigand  <uweigand@de.ibm.com>
492
493	* sysdeps/s390/s390-32/memcpy.S: Fixed incorrect use of
494	mvcle introduced by 2001-07-12 change.
495	* sysdeps/s390/s390-64/memcpy.S: Likewise.
496
4972001-07-31  Ulrich Drepper  <drepper@redhat.com>
498
499	* sysdeps/unix/sysv/linux/i386/getcontext.S: Don't touch the %gs
500	register so that contexts can be used in different threads.
501	* sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
502	* sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
503
504	* sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Correct
505	test for cmsg struct size.
506	* sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Likewise.
507
508	* sysdeps/unix/sysv/linux/i386/makecontext.S: Remove unnecessary
509	initializations.
510
511	* libio/iopopen.c: Add lock for proc_file_chain access.
512	* libio/oldiopopen.c: Add lock for old_proc_file_chain access.
513	Reported by Padraig Brady <Padraig@linux.ie>.
514
5152001-07-31  Andreas Jaeger  <aj@suse.de>
516
517	* sysdeps/unix/sysv/linux/sparc/bits/poll.h (NPOLLFILE): Removed.
518	* sysdeps/unix/sysv/linux/mips/bits/poll.h (NPOLLFILE): Removed.
519	* sysdeps/unix/sysv/linux/m68k/bits/poll.h (NPOLLFILE): Removed.
520	* sysdeps/unix/sysv/linux/bits/poll.h (NPOLLFILE): Removed.
521	* sysdeps/generic/bits/poll.h (NPOLLFILE): Removed.
522
523	* libio/genops.c (flush_cleanup): Guard list_all_lock to allow
524	compilation without threads.
525
5262001-07-30  Ulrich Drepper  <drepper@redhat.com>
527
528	* po/fr.po: Update from translation team.
529
5302001-07-30  Andreas Jaeger  <aj@suse.de>
531
532	* sysdeps/ieee754/ldbl-128/e_atanhl.c: New file, contributed by
533	Stephen L Moshier.
534
535	* posix/regex.c: Declare wcs functions only if compiling with
536	MBS_SUPPORT.
537	Don't use #elif for traditional C.
538
5392001-07-29  Mark Kettenis  <kettenis@gnu.org>
540
541	* sysdeps/mach/hurd/recvmsg.c: New file.
542	* sysdeps/mach/hurd/sendmsg.c: New file.
543
5442001-07-27  Ulrich Drepper  <drepper@redhat.com>
545
546	* version.h (VERSION): Bump to 2.2.4.
547
548	* sysdeps/mips/Dist: Remove non-existing files.
549	* sysdeps/mips/mips64/Dist: Likewise.
550	* sysdeps/mips/mipsel/Dist: Removed.
551	* iconv/Makefile (distribute): Add strtab.c and iconvconfig.h.
552	* sysdeps/generic/Dist: Add bits/link.h.
553	* sysdeps/unix/sysv/linux/m68k/Dist: Add sys/procfs.h.
554	* sysdeps/unix/sysv/aix/Dist: Add dl-support.c, dl-addr.c, and
555	dl-error.c.
556	* sysdeps/ia64/Dist: Add bits/link.h.
557
558	* libio/vasprintf.c (_IO_vasprintf): Don't copy uninitialized byte
559	from stream buffer to result buffer.
560	Reported by Michael Meeks <michael@ximian.com>.
561
562	* libio/Makefile: Add rules to check output of tst-fopenloc and
563	for memory leaks.
564	* libio/tst-fopenloc.c: New file.
565
566	* iconv/gconv_cache.c (__gconv_compare_alias_cache): New function.
567	* iconv/gconv_int.h: Add prototype for __gconv_compare_alias_cache.
568	* iconv/gconv_charset.h: Replace __gconv_lookup_alias prototype with
569	__gconv_compare_alias prototype.
570	* iconv/gconv_db.c (__gconv_lookup_alias): Removed.
571	(__gconv_compare_alias): New function.
572	* locale/findlocale.c (_nl_find_locale): Use __gconv_compare_alias
573	instead of calling __gconv_lookup_alias twice and compare here.
574
5752001-07-26  Mark Kettenis  <kettenis@gnu.org>
576
577	* hurd/hurdsig.c (_hurd_internal_post_signal): Fix handling of
578	SA_RESETHAND and SA_NODEFER.
579
5802001-07-27  Ulrich Drepper  <drepper@redhat.com>
581
582	* libio/fileops.c (_IO_new_file_fopen): Correctly locate ccs=
583	substring.  Don't handle ccs= if no descriptor was allocated.
584	Normalize codeset name before calling __wcsmbs_named_conv.
585	Initialize transliteration elements.  Free step data structure.
586	* libio/iofclose.c (_IO_new_fclose): Correct freeing of the step data.
587	* libio/iofwide.c (__libio_translit): Renamed from libio_translit
588	and made public.  Various little cleanup changes.
589	* wcsmbs/wcsmbsload.h (struct gconv_fcts): Add towc_nsteps and
590	tomb_nsteps member.
591	* wcsmbs/wcsmbsload.c: Add some casts to avoid warnings.
592	(__wcsmbs_gconv_fcts): Initialize towc_nsteps and tomb_nsteps member.
593	(getfct): Take additional parameter with pointer to variable where the
594	number of steps is stored in.  Disable code which allows to use more
595	than one step for now.  Adjust all callers.
596	(free_mem): New function.  Frees data associated with currently
597	selected converters.
598
599	* malloc/mtrace.pl: Extract addresses from DSOs.
600
6012001-07-26  Ulrich Drepper  <drepper@redhat.com>
602
603	* malloc/mcheck.c (checkhdr): Disable mcheck before reporting an
604	error.  Don't run any tests if mcheck is disabled.
605
606	* elf/dl-support.c (_dl_important_hwcaps): Avoid using malloc
607	early in the program.
608
6092001-07-27  Andreas Jaeger  <aj@suse.de>
610
611	* sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h (SC_GPRS): Fix
612	value following change from 2001-05-30.
613
614	* sysdeps/s390/s390-64/bits/setjmp.h (_JMPBUF_UNWINDS): Follow
615	rename change from 2001-07-12 for __jmp_buf.
616	Patches by Ulrich Weigand <Ulrich.Weigand@de.ibm.com>.
617
6182001-07-26  Roland McGrath  <roland@frob.com>
619
620	* sysdeps/generic/bits/termios.h (EXTA, EXTB): Make these conditional
621	on __USE_MISC rather than __USE_BSD.
622	(B57600, B115200, B230400, B460800, B500000, B576000, B921600,
623	B1000000, B1152000, B1500000, B2000000, B2500000, B3000000,
624	B3500000, B4000000): New macros.
625	* sysdeps/generic/tcsetattr.c (bad_speed): Accept those values.
626	* termios/cfsetspeed.c (speeds): Likewise.
627
6282001-07-26  kaz Kojima  <kkojima@rr.iij4u.or.jp>
629
630	* sysdeps/sh/dl-machine.h (elf_machine_load_address): Don't use
631	multi-line strings.
632	(FUN_ADDR, FGR_SAVE, ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
633	(elf_machine_rela): Handle unaligned relocation.
634
6352001-06-07  David Mosberger  <davidm@hpl.hp.com>
636
637	* sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Update call to
638	__ia64_make_fptr() for new interface.
639	(_dl_function_address): Remove.
640
641	* sysdeps/ia64/dl-machine.h (IA64_BOOT_FPTR_TABLE_LEN): Rename
642	from IA64_BOOT_FPTR_SIZE and reduce its value from 256 to 200.
643	(struct ia64_fdesc): Rename from struct ia64_fptr and drop "next"
644	pointer.  Rename member "func" to "ip".
645	(struct ia64_fdesc_table): New type.
646	(__ia64_make_fptr): Change prototype.
647	(__ia64_init_bootstrap_fdesc_table): New function.
648	(ELF_MACHINE_BEFORE_RTLD_RELOC): New macro.
649	(__boot_ldso_fptr): Removed.
650	(__fptr_next): Removed.
651	(__fptr_root): Removed.
652	(__fptr_count): Removed.
653	(TRAMPOLINE_TEMPLATE): Fix typo in comment.  Don't use multi-line
654	strings to avoid warning from gcc3.
655	(RTLD_START): Don't use multi-line strings.
656	(ELF_MACHINE_START_ADDRESS): Use DL_STATIC_FUNCTION_ADDRESS.
657	(elf_machine_fixup_plt): Update the code entry point in the
658	function descriptor through a "volatile" pointer to ensure proper
659	write ordering.
660	(elf_machine_rela): Simplify handling of FPTR relocs: always call
661	__ia64_make_fptr().
662
663	* sysdeps/ia64/dl-lookupcfg.h (DL_AUTO_FUNCTION_ADDRESS): New macro.
664	(DL_STATIC_FUNCTION_ADDRESS): Likewise.
665	(DL_DT_INIT_ADDRESS): Use DL_AUTO_FUNCTION_ADDRESS.
666	(DL_DT_FINI_ADDRESS): Likewise.
667
668	* sysdeps/ia64/dl-fptr.c: Rewrite for better scalability and to
669	avoid deadlocks.
670
671	* include/link.h: Add member machine specific "l_mach" member to
672	link_map.
673
674	* sysdeps/generic/bits/link.h: New file.
675	* sysdeps/ia64/bits/link.h: Likewise.
676
677	* elf/rtld.c (_dl_start): Fix typo in comment.
678	(_dl_start_final): Copy new "l_mach" member from temporary to
679	final bootstrap map.
680
6812001-07-25  Ulrich Drepper  <drepper@redhat.com>
682
683	* csu/gmon-start.c: Use ENTRY_POINT_DECL if defined instead of a
684	declaration using ENTRY_POINT.
685	* sysdeps/ia64/elf/entry.h (ENTRY_POINT_DECL): New definition.
686
6872001-07-25  H.J. Lu  <hjl@gnu.org>
688
689	* csu/gmon-start.c: Include <entry.h>
690	(_start): Replaced with ENTRY_POINT.
691
6922001-07-25  Mark Kettenis  <kettenis@gnu.org>
693
694	* sysdeps/unix/bsd/bsd4.4/bits/socket.h: New file.
695
6962001-07-25  Ulrich Drepper  <drepper@redhat.com>
697
698	* iconv/iconvconfig.c (main): Don't write an output file if we
699	have seen an error.
700	(write_output): Don't overwrite old cache file until we know we
701	have a new one.
702
703	* iconv/Makefile (install-sbin): Add iconvconfig.
704
7052001-07-25  Jakub Jelinek  <jakub@redhat.com>
706
707	* elf/Makefile (routines): Add dl-iteratephdr and
708	dl-iteratephdr-static.
709	(elide-routines.os): Add dl-iteratephdr-static.
710	* elf/dl-iteratephdr.c: New file.
711	* elf/link.h (struct dl_phdr_info): New definition.
712	(dl_iterate_phdr): New prototype.
713	* elf/Versions (dl_iterate_phdr): Add at GLIBC_2.2.4.
714	* include/link.h (struct dl_phdr_info): New definition.
715	(dl_iterate_phdr, __dl_iterate_phdr): New prototypes.
716	* sysdeps/generic/dl-iteratephdr-static.c: New file.
717	* sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: New file.
718
7192001-07-24  Igor Khavkine  <i_khavki@alcor.concordia.ca>
720
721	* hurd/hurdsig.c (_hurdsig_init): Fix incorrect initialization
722	of pending signals.
723
7242001-06-22  Jakub Jelinek  <jakub@redhat.com>
725
726	* sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
727	gaps below main executable.
728
7292001-07-22  Bruno Haible  <haible@clisp.cons.org>
730
731	* intl/libintl.h (ngettext, dngettext, dcngettext): Use both msgid1
732	and msgid2 for printf format argument checking.
733
7342001-07-24  Ulrich Drepper  <drepper@redhat.com>
735
736	* iconv/gconv_cache.c (find_module): Don't allocate room for the
737	filename.  Use alloca, we don't need it beyond this function.
738	(__gconv_release_cache): New function.
739	* iconv/gconv_db.c (__gconv_close_transform): Call
740	__gconv_release_cache after the steps are handled.
741	* iconv/gconv_dl.c (__gconv_find_shlib): Allocate file name in the
742	record as well.
743	* iconv/gconv_int.h: Add prototype for __gconv_release_cache.
744
745	* iconv/gconv_cache.c (__gconv_lookup_cache): Catch one more
746	boundary case and reject it.
747
7482001-07-24  Andreas Jaeger  <aj@suse.de>
749
750	* manual/examples/longopt.c (main): Fix which options take arguments.
751
7522001-07-24  Ulrich Drepper  <drepper@redhat.com>
753
754	* iconvdata/Makefile: Add dependencies for tst-loading test.
755
7562001-07-24  Andreas Jaeger  <aj@suse.de>
757
758	* iconv/iconvconfig.c (name_insert): Make static to avoid warning.
759
7602001-07-23  Ulrich Drepper  <drepper@redhat.com>
761
762	* locale/programs/locale.c (write_locales): Disable implicit
763	locking for the stream.  Use feof_unlocked instead of feof.
764
765	* sysdeps/unix/sysv/linux/i386/makecontext.S: Initialize %fs, %gs,
766	and floating-point status as well.
767
768	* libio/iofclose.c (_IO_new_fclose): Unlink descriptor first to
769	avoid deadlock.
770	* libio/oldiofclose.c (_IO_old_fclose): Likewise.
771	* libio/genops.c (_IO_un_link): Get stream lock since it's not
772	always done in the caller.
773	(_IO_link_in): Likewise.
774
775	* libio/genops.c (_IO_list_all_stamp): New variable.
776	(_IO_un_link): Bump _IO_list_all_stamp after removing from list.
777	(_IO_link): Likewise for insertion.
778	(flush_cleanup): New function.
779	(_IO_flush_all): Get list_all_lock and all individual locks for the
780	streams.  Detect and handle changes to the _IO_list_all list.
781	(_IO_flush_all_linebuffered): Likewise.
782	* sysdeps/generic/bits/stdio-lock.h: Define
783	_IO_cleanup_region_start_noarg.
784	* sysdeps/mach/hurd/bits/stdio-lock.c: Likewise.
785
786	* stdio-common/printf.h: Fix typo in comment.
787
788	* iconv/gconv_cache.c (__gconv_lookup_cache): Handle encoding from
789	and to INTERNAL.
790	* iconv/iconvconfig.c: Create a special record for the INTERNAL
791	encoding name in the output file.
792
7932001-07-23  Jakub Jelinek  <jakub@redhat.com>
794
795	* sunrpc/svc_tcp.c (svctcp_rendezvous_abort): New function.
796	(svctcp_rendezvous_op): Use it.
797	* sunrpc/svc_unix.c (svcunix_rendezvous_abort): New function.
798	(svcunix_rendezvous_op): Use it.
799
8002001-07-23  Andreas Schwab  <schwab@suse.de>
801
802	* math/Makefile (CPPFLAGS-test-ifloat.c, CPPFLAGS-test-idouble.c,
803	CPPFLAGS-test-ildoubl.c): Renamed from CFLAGS-*.
804	(math-CPPFLAGS): Set this instead of CPPFLAGS.
805
8062001-07-23  Ulrich Drepper  <drepper@redhat.com>
807
808	* elf/elf.h: Add more definitions from Sun's latest version.
809
8102001-07-23  Stephen L Moshier  <moshier@mediaone.net>
811
812	* sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Return proper
813	sign for 0 input and set divide by zero exception for -1 input.
814	Return argument if NaN or infinity.
815
8162001-07-23  Andreas Jaeger  <aj@suse.de>
817
818	* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add some deltas.
819
8202001-07-23  Ulrich Drepper  <drepper@redhat.com>
821
822	* iconv/gconv_cache.c (__gconv_lookup_cache): Select correct
823	module for conversion direction.
824
8252001-07-23  Stephen L Moshier  <moshier@mediaone.net>
826
827	* sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Return proper
828	sign for 0 input.  Return NaN with no exception for NaN input.
829
8302001-07-23  Ulrich Drepper  <drepper@redhat.com>
831
832	* iconv/gconv_builtin.h: ISO-106464/UTF-8/ transformation must
833	really be an alias.
834
8352001-07-23  Andreas Jaeger  <aj@suse.de>
836
837	* iconv/iconvconfig.c: Include <sys/cdefs.h> and use
838	__attribute_malloc__ for older GCC versions.
839	* iconv/strtab.c: Likewise.
840	Add prototypes to avoid warnings.
841
8422001-07-22  Roland McGrath  <roland@frob.com>
843
844	* hurd/hurdsig.c (_hurd_internal_post_signal): Support SA_RESETHAND
845	and SA_NODEFER options.	 Spurred to action by Igor Khavkine.
846
847	* sysdeps/generic/bits/sigaction.h [__USE_UNIX98 || __USE_MISC]
848	(SA_NODEFER, SA_RESETHAND): New macros, same bit values as FreeBSD.
849	[__USE_MISC] (SA_INTERRUPT): New macro, value 0.
850	[__USE_MISC] (SA_NOMASK, SA_ONESHOT, SA_STACK): New macros, aliases
851	as in other sysdeps versions of this file.
852
853	* sysdeps/generic/bits/sigaction.h (struct sigaction): Use a union
854	and provide sa_handler and sa_sigaction member names as macros, as
855	done in other sysdeps versions of this file.
856	Suggested by Igor Khavkine <i_khavki@alcor.concordia.ca>.
857
8582001-07-23  Ulrich Drepper  <drepper@redhat.com>
859
860	* posix/regex.c: Revamp memory allocation for WCHAR functions to
861	not use too much stack.
862
8632001-07-22  Ulrich Drepper  <drepper@redhat.com>
864
865	* iconv/iconvconfig.c (write_output): Update comment explaining
866	output format.
867
868	* elf/dl-load.c (_dl_dst_count): In SUID binaries expand $ORIGIN
869	if it is alone.
870	(_dl_dst_substitute): Likewise.
871
872	* iconv/iconvconfig.c: Remove --verbose option.  Comment out
873	mcheck_verbose call.
874
875	* iconv/strtab.c (morememory): Fix little memory handling problem.
876
8772001-07-22  Andreas Schwab  <schwab@suse.de>
878
879	* sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Don't
880	mark asm input operand as clobbered.
881	* sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise.
882
8832001-07-22  Ulrich Drepper  <drepper@redhat.com>
884
885	* iconv/gconv_builtin.c (struct builtin_map): Remove init and end
886	elements.
887	(BUILTIN_TRANSFORMATION): Remove Init and End parameters.
888	(__gconv_get_builtin_trans): Initialize __init_fct and __end_fct to
889	NULL.
890	* iconv/gconv_builtin.h: Remove NULL parameters for Init and End in
891	all BUILTIN_TRANSFORMATION calls.
892	* iconv/gconv_conf.c (BUILTIN_TRANSFORMATION): Remove Init and End
893	parameters.
894	* iconv/gconv_simple.c: Likewise.
895	* iconv/gconv_db.c (gen_steps): Internal converters don't have
896	initializers, move the code accordingly.
897
898	* iconv/gconv_conf.c (__gconv_read_conf): Don't read configuration
899	file if STATIC_GCONV is defined.
900
901	* iconv/gconv_conf.c (__gconv_path_envvar): New global variable.
902	(__gconv_get_path): Use it instead of call getenv.
903	(__gconv_read_conf): First see whether cache can be used.  If yes,
904	don't do any work here.
905	* iconv/gconv_db.c (__gconv_release_step): Renamed from release_step
906	and exported.  Change callers.
907	(__gconv_find_transform): First call __gconv_lookup_cache and only
908	continue if it signals no cache available.  Remove some unnecessary
909	tests.
910	* iconv/gconv_int.h: Declare __gconv_path_envvar, __gconv_lookup_cache,
911	__gconv_release_step, and __gconv_loaded_cache.
912	* iconv/gconv_cache.c: New file.
913	* iconv/iconvconfig.c: New file.
914	* iconv/iconvconfig.h: New file.
915	* iconv/strtab.c: New file.
916	* iconv/Makefile: Add rules to build new files and programs.
917
9182001-07-20  Roland McGrath  <roland@frob.com>
919
920	* sysdeps/generic/device-nrs.h (DEV_TTY_P): Change argument type
921	from `dev_t' (st_rdev value) `const struct stat *'.
922	* sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Likewise.
923	* libio/filedoalloc.c (_IO_file_doallocate): Change caller.
924	* sysdeps/mach/hurd/device-nrs.h: New file.
925
926	* libio/stdio_ext.h: Moved to ...
927	* stdio-common/stdio_ext.h: ... here.
928	* libio/Makefile (headers): Move stdio_ext.h from here ...
929	* stdio-common/Makefile (headers): ... to here.
930	* include/stdio_ext.h: New file.
931	* stdio/Makefile (routines): Add the stdio_ext.h functions here.
932	* stdio/Versions (GLIBC_2.2.4): Export the stdio_ext.h functions.
933	* stdio/__flbf.c: New file.
934	* stdio/__fbufsize.c: New file.
935	* stdio/__fpending.c: New file.
936	* stdio/__fpurge.c: New file.
937	* stdio/__freadable.c: New file.
938	* stdio/__freading.c: New file.
939	* stdio/__fsetlocking.c: New file.
940	* stdio/__fwritable.c: New file.
941	* stdio/__fwriting.c: New file.
942
9432001-07-20  Ulrich Drepper  <drepper@redhat.com>
944	    Andreas Jaeger  <aj@suse.de>
945
946	* elf/ldconfig.c (search_dir): Avoid use of uninitialized memory.
947	Add a few __builtin_expect to mark unlikely error cases.
948
9492001-07-20  Andreas Jaeger  <aj@suse.de>
950
951	* sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Synch with kernel.
952	Patch by Daniel Jacobowitz <dan@debian.org>.
953
9542001-07-19  Ulrich Drepper  <drepper@redhat.com>
955
956	* intl/localealias.c: Remove unnecessary prototype.
957
958	* Makefile: Add html goal.
959	* manual/Makefile: Likewise.
960
9612001-07-18  Ulrich Drepper  <drepper@redhat.com>
962
963	* libio/filedoalloc.c (_IO_file_doallocate): A few more minor
964	cleanups and improvements.
965
9662001-07-18  Andreas Schwab  <schwab@suse.de>
967
968	* posix/regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
969	underscore character.
970
9712001-07-18  Jakub Jelinek  <jakub@redhat.com>
972
973	* malloc/malloc (new_heap): Don't call munmap for zero length.
974
9752001-07-18  Ulrich Drepper  <drepper@redhat.com>
976
977	* libio/filedoalloc.c (_IO_file_doallocate): Use DEV_TTY_P if
978	available to determine whether descriptor is for tty before
979	calling isatty.
980
981	* sysdeps/unix/sysv/linux/device-nrs.h: Define DEV_TTY_P.
982	* sysdeps/generic/device-nrs.h: Likewise.
983
9842001-07-18  Andreas Jaeger  <aj@suse.de>
985
986	* time/Makefile (tst-getdate-ENV): Add TZDIR to environment.
987
988	* time/Depend: New, add dependency on timezone.
989
990	* time/tst-getdate.c: Add testcase for bug report by Hendrik
991	Uhlmann <HUhlmann@stn-atlas.de>.
992	* time/datemsk: Likewise.
993
9942001-07-17  Ulrich Drepper  <drepper@redhat.com>
995
996	* elf/ldconfig.c (parse_conf): Disable implicit locking for the
997	stream.  Remove some unnecessary initializers.
998
9992001-07-17  Andreas Jaeger  <aj@suse.de>
1000
1001	* elf/ldconfig.c: Add new variable hwcap_mask to honour LD_HWCAP_MASK.
1002	(is_hwcap_platform): Use it.
1003	(set_hwcap): New function to set hwcap_mask.
1004	(main): Call set_hwcap.
1005
10062001-07-17  Jakub Jelinek  <jakub@redhat.com>
1007
1008	* time/getdate.c (__getdate_r): Initialize tm_isdst, tm_gmtoff and
1009	tm_zone before calling strptime.
1010
10112001-07-17  Andreas Schwab  <schwab@suse.de>
1012
1013	* sysdeps/unix/sysv/linux/m68k/getpagesize.c: Fix last change.
1014
10152001-07-17  Ulrich Drepper  <drepper@redhat.com>
1016
1017	* inet/rcmd.c (iruserfopen): Disable implicit locking for the stream.
1018	* inet/ruserpass.c (ruserpass): Likewise.
1019	* nss/nsswitch.c (nss_parse_file): Likewise.
1020	* resolv/res_hconf.c (_res_hconf_init): Likewise.
1021	* resolv/res_init.c (__res_vinit): Likewise.
1022	* gmon/bb_exit_func.c (__bb_exit_func): Likewise.
1023	* misc/getpass.c (getpass): Likewise.
1024	* misc/getusershell.c (initshells): Likewise.
1025	* misc/getttyent.c (setttyent): Likewise.
1026	* misc/mntent_r.c (__setmntent): Likewise.
1027	* time/getdate.c (__getdate_r): Likewise.
1028	* time/tzfile.c (__tzfile_read): Likewise.
1029	* iconv/gconv_conf.c (read_conf_file): Likewise.
1030	* intl/localealias.c (read_alias_file): Disable implicit locking
1031	for the stream.  Use _unlocked functions for glibc.
1032	* sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Disable
1033	implicit locking for the stream.
1034	(__get_nprocs_conf): Likewise.
1035	(phys_pages_info): Likewise.
1036
10372001-07-16  Ulrich Drepper  <drepper@redhat.com>
1038
1039	* nscd/connections.c: Print messages caused by user application
1040	only if debug_level > 0.  Add little performance improvements.
1041	Use TEMP_FAILURE_RETRY around write calls.
1042	* nscd/grpcache.c: Likewise.
1043	* nscd/hstcache.c: Likewise.
1044	* nscd/pwdcache.c: Likewise.
1045
10462001-07-13  H.J. Lu  <hjl@gnu.org>
1047
1048	* sysdeps/mips/dl-machine.h (MAP_BASE_ADDR): Removed.
1049	(elf_machine_got_rel): Defined only if RTLD_BOOTSTRAP is not defined.
1050	(RESOLVE_GOTSYM): Rewrite to use RESOLVE.
1051
1052	* sysdeps/mips/rtld-ldscript.in: Removed.
1053	* sysdeps/mips/rtld-parms: Likewise.
1054	* sysdeps/mips/mips64/rtld-parms: Likewise.
1055	* sysdeps/mips/mipsel/rtld-parms: Likewise.
1056
10572001-07-16  Ulrich Drepper  <drepper@redhat.com>
1058
1059	* catgets/test-gencat.sh: Use <<"EOF" instead of <<EOF to prevent
1060	substitution in here document.
1061
10622001-07-16  Andreas Schwab  <schwab@suse.de>
1063
1064	* sysdeps/posix/spawni.c: Fix typo when iterating over signal numbers.
1065
10662001-07-16  Andreas Schwab  <schwab@suse.de>
1067
1068	* math/libm-test.inc (check_float_internal): Fix sign bit test of
1069	infinities.
1070
10712001-07-16  Jakub Jelinek  <jakub@redhat.com>
1072
1073	* sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Make it PIC friendly.
1074
10752001-07-15  Ulrich Drepper  <drepper@redhat.com>
1076
1077	* malloc/obstack.c: Define __attribute__ for non-gcc compilers.
1078	Patch by Jim Meyering <jim@meyering.net>.
1079
10802001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1081
1082	* sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Reorder
1083	fields in the sigaction struct to match the definition in the kernel.
1084
10852001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1086
1087	* sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Correct the
1088	test for ENOSYS.
1089
10902001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1091
1092	* sysdeps/s390/s390-32/bits/setjmp.h: Add leading underscores
1093	to the entries in the __jmp_buf structure.
1094	* sysdeps/s390/s390-64/bits/setjmp.h: Likewise.
1095
10962001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1097
1098	* sysdeps/s390/s390-32/bcopy.S: Use mvcle for big blocks
1099	(> 64K) and a mvc loop for small blocks.
1100	* sysdeps/s390/s390-32/memcpy.S: Likewise.
1101	* sysdeps/s390/s390-64/bcopy.S: Likewise.
1102	* sysdeps/s390/s390-64/memcpy.S: Likewise.
1103
11042001-07-15  Andreas Schwab  <schwab@suse.de>
1105
1106	* sysdeps/unix/sysv/linux/m68k/sys/procfs.h: New file.
1107	* sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: New file.
1108
1109	* sysdeps/unix/sysv/linux/m68k/getpagesize.c: Check _dl_pagesize
1110	first.  Default to 4096, not EXEC_PAGESIZE.
1111
1112	* iconv/loop.c (put16) [!_STRING_ARCH_unaligned && BIG_ENDIAN]:
1113	Fix index.
1114
11152001-07-09  Andreas Jaeger  <aj@suse.de>
1116
1117	* sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Name entry for xmm2.
1118
1119	* sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add HWCAP_I386_XMM,
1120	HWCAP_I386_XMM2 to enum.
1121
11222001-07-13  Andreas Jaeger  <aj@suse.de>
1123
1124	* libio/fileops.c: Include unistd.h for lseek64 prototype.  Closes
1125	PR libc/2372.
1126
11272001-07-12  Ulrich Drepper  <drepper@redhat.com>
1128
1129	* Makeconfig: Add some more changes to handle AIX linker better.
1130
11312001-07-12  H.J. Lu  <hjl@gnu.org>
1132
1133	* sysdeps/generic/segfault.c: Include <errno.h>.
1134
11352001-07-01  Andreas Jaeger  <aj@suse.de>
1136
1137	* sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk): Remove duplicate
1138	sbrk.  Closes PR libc/2312.
1139
11402001-07-01  Andreas Jaeger  <aj@suse.de>
1141
1142	* sysdeps/generic/segfault.c (install_handler): Handle case that
1143	the output file does not exists.  Closes PR libc/2345.
1144
11452001-07-11  Ulrich Drepper  <drepper@redhat.com>
1146
1147	* intl/locale.alias: Use he language code for hebrew, not il
1148	[PR libc/2382].
1149
11502001-07-11  Jakub Jelinek  <jakub@redhat.com>
1151
1152	* iconv/gconv_int.h: Fix comment typo.
1153
11542001-07-11  Igor Khavkine  <i_khavki@alcor.concordia.ca>
1155
1156	* hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code.
1157
11582001-07-07  Roland McGrath  <roland@frob.com>
1159
1160	* hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0.
1161
11622001-07-10  Stephen L Moshier  <moshier@mediaone.net>
1163
1164	* sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl):  Fix
1165	backwards conditional in test for x == 1.0.
1166
11672001-07-10  Andreas Jaeger  <aj@suse.de>
1168
1169	* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add ulps for tanh
1170	(-0.7).
1171
11722001-07-09  Andreas Jaeger  <aj@suse.de>
1173
1174	* sysdeps/unix/sysv/linux/configure.in: Revert patch from
1175	2001-07-05 for sysconfdir handling.
1176	* config.make.in (sysconfdir): Likewise.
1177	* configure.in: Likewise.
1178
1179	* configure.in: Always assign libc_cv_sysconfdir.
1180
11812001-07-08  Ulrich Drepper  <drepper@redhat.com>
1182
1183	* Makerules [AIX] (build-shlib-helper): Precede linker options
1184	with -Wl.
1185
1186	* Makeconfig (config-LDFLAGS): Add ld.so only for ELF.
1187
1188	* sysdeps/unix/make_errlist.c: Adjust sys_errlist declaration to
1189	what we define in <stdio.h>.
1190
1191	* iconv/iconv_prog.c (main): Don't unconditionally define
1192	variables only use if _POSIX_MAPPED_FILES is defined.
1193
1194	* sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type.
1195	* sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise.
1196
1197	* sysdeps/unix/sysv/aix/recv.c: New file.
1198
1199	* sysdeps/unix/sysv/aix/recvfrom.c: Fix various types.
1200
12012001-07-07  Ulrich Drepper  <drepper@redhat.com>
1202
1203	* sysdeps/generic/recv.c: Fix return type.
1204
1205	* sysdeps/unix/sysv/aix/dl-libc.c (__libc_dlclose): Fix typo.
1206
1207	* sysdeps/unix/sysv/aix/gettimeofday.c (__gettimeofday): Add
1208	declarations for asm functions.
1209
1210	* include/libc-symbols.h: Provide more dummy definitions for the
1211	case if GNU ld isn't used.
1212
1213	* libio/freopen.c: Include <stdlib.h> for free declaration.
1214	* libio/freopen64.c: Likewise.
1215
1216	* sysdeps/alpha/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
1217
12182001-07-06  Jakub Jelinek  <jakub@redhat.com>
1219
1220	* sysdeps/unix/sysv/linux/i386/sigaction.c (RESTORE2): Put asm
1221	explicitly into .text section.
1222
12232001-04-16  Jes Sorensen  <jes@linuxcare.com>
1224
1225	* sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
1226	Add 16 longwords reserved for future use to match changes in the
1227	kernel.
1228
12292001-07-03  Jes Sorensen  <jes@trained-monkey.org>
1230
1231	* sysdeps/ia64/strncpy.S: Call strnlen() when determining the
1232	string length rather than strlen(). Solves the performance problem
1233	of doing strlen on a 5MB string when strncpy was called with a
1234	length argument of 5 bytes.
1235
12362001-07-02  Jakub Jelinek  <jakub@redhat.com>
1237
1238	* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1239	R_SPARC_UA16 and R_SPARC_UA32.
1240	* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1241
12422001-07-01  Stephen L Moshier  <moshier@mediaone.net>
1243
1244	* sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl):
1245	acosh(x) = ln(2x) if x > 2^30.
1246	* sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
1247	acosh(x) = ln(2x) if x > 2^54.
1248
12492001-07-07  Mark Kettenis  <kettenis@gnu.org>
1250
1251	* sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal):
1252	Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and
1253	KERN_WRITE_PROTECTION_FAILURE.
1254
12552001-07-07  Ulrich Drepper  <drepper@redhat.com>
1256
1257	* posix/regex.c: Limit string length printed in debug messages to
1258	100 chars.
1259
1260	* configure.in: Don't warn about versioning if not on ELF system.
1261
12622001-07-07  Andreas Jaeger  <aj@suse.de>
1263
1264	* sysdeps/*: Put files from GNU MP Library under LGPL v2.1.
1265
12662001-07-06  Ulrich Drepper  <drepper@redhat.com>
1267
1268	* po/gl.po: Update from translation team.
1269
12702001-07-06  Andreas Jaeger  <aj@suse.de>
1271
1272	* sysdeps/unix/sysv/linux/configure.in: Fix handling of
1273	sysconfdir.
1274
1275	* manual/libc-texinfo.sh: Add note for the FDL.
1276
1277	* manual/argp.texi (Argp Example 4): Fix texinfo warning.
1278
1279	* manual/libc.texinfo: Regenerated.
1280
1281	* manual/fdl.texi: Fix node.
1282
1283	* config.make.in (sysconfdir): Replace correctly.
1284	Closes PR libc/2369, reported by Peter Simons <simons@cryp.to>.
1285
1286	* sysdeps/unix/sysv/linux/alpha/configure.in: Removed, it's no
1287	longer needed.
1288
1289	* sysdeps/unix/sysv/linux/configure.in (libc_cv_linuxVER): Add
1290	case for alpha.
1291	Rework handling of missing linuxthreads add-on.
1292
1293	* configure.in: Remove unused sysconfdir substitution.
1294
1295	* manual/Makefile (texis): Add fdl.texi.
1296	* manual/fdl.texi: New.
1297	* manual/socket.texi (Host Names): Improve grammar, fix overflow hbox.
1298	* manual/libc.texinfo: Add fdl, update titlepage.
1299	Patches by Brian Youmans <3diff@gnu.org>.
1300
1301	* sysdeps/unix/make_errlist.c (main): Print LGPL v2.1 for
1302	generated file.
1303
13042001-07-06  Paul Eggert  <eggert@twinsun.com>
1305
1306	* manual/argp.texi: Remove ignored LGPL copyright notice; it's
1307	not appropriate for documentation anyway.
1308	* manual/libc-texinfo.sh: "Library General Public License" ->
1309	"Lesser General Public License".
1310	* COPYING: Fix Y2k bug in sample copyright notices.
1311	* manual/lesser.texi: Renamed from manual/lgpl.texinfo,
1312	as fsf.org uses the name "lesser.texi".
1313	* manual/Makefile (texis): Follow rename.
1314
13152001-07-06  Andreas Jaeger  <aj@suse.de>
1316
1317	* All files under GPL/LGPL version 2: Place under LGPL version
1318	2.1.
1319
13202001-07-05  Andreas Jaeger  <aj@suse.de>
1321
1322	Synch with Linux 2.4.6:
1323	* sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
1324	New.
1325	(AF_BLUETOOTH): New.
1326
1327	* sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
1328	(PF_BLUETOOTH): New.
1329	(AF_BLUETOOTH): New.
1330
1331	* sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
1332	(PF_BLUETOOTH): New.
1333
1334	* sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
1335	(PF_BLUETOOTH): New.
1336
1337	* sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
1338	(AF_BLUETOOTH): New.
1339
1340	* sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
1341	(AF_BLUETOOTH): New.
1342
1343	* sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.
1344
1345	* sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.
1346
1347	* sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.
1348
1349	* sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
1350
13512001-07-04  Roland McGrath  <roland@frob.com>
1352
1353	* hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended
1354	wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port
1355	rather than doing a mach_port_insert_right call first.
1356
13572001-06-26  Roland McGrath  <roland@frob.com>
1358
1359	* hurd/hurdioctl.c: Include <string.h> for memcpy decl.
1360
13612001-07-03  Andreas Jaeger  <aj@suse.de>
1362
1363	* sysdeps/unix/sysv/sysv4/solaris2/configure.in: Remove check for
1364	crypt add-on.
1365
13662001-07-01  Mark Kettenis  <kettenis@gnu.org>
1367
1368	* sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in
1369	the Hurd pfinet server, using equivalent code from the Linux
1370	version in sysdeps/unix/sysv/linux/if_index.c. In detail:
1371	Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and
1372	<hurd/pfinet.h>.  Don't include <sys/mman.h> and <hurd/fsys.h>
1373	anymore.
1374	(if_nametoindex): New implementation using SIOCGIFINDEX.
1375	(if_freenameindex): Straight copy of the Linux version.
1376	(if_nameindex): New implementation based on pfinet_siocgifconf and
1377	SIOCGIFINDEX.
1378	(if_indextoname): New implementation using SIOCGIFNAME.
1379	(map_interfaces): Function removed.
1380	From Marcus Brinkmann <marcus@gnu.org>.
1381
13822001-06-30  Jakub Jelinek  <jakub@redhat.com>
1383
1384	* sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
1385	gaps below main executable.
1386
13872001-06-19  Andreas Jaeger  <aj@suse.de>
1388
1389	* sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
1390	Handle profiling.
1391
13922001-06-29  Andreas Jaeger  <aj@suse.de>
1393
1394	* sysdeps/ieee754/ldbl-128/s_asinhl.c: New file.
1395	Patch by Stephen L Moshier <moshier@mediaone.net>.
1396
13972001-06-28  Ulrich Drepper  <drepper@redhat.com>
1398
1399	* manual/argp.texi: Tons of cleanups.
1400	Patch by Clifford U. Smith <cuel@swbell.net>.
1401
14022001-06-28  Mark Kettenis  <kettenis@gnu.org>
1403
1404	* manual/users.texi (Setting Groups): Correct initgroups
1405	documentation.  Add documentation for getgrouplist.
1406
14072001-06-28  H.J. Lu  <hjl@gnu.org>
1408
1409	* locale/findlocale.c (locale_file_list): Renamed to ...
1410	(_nl_locale_file_list): This.  Make it extern.
1411	(free_mem): Move to ...
1412	* locale/setlocale.c (free_mem): Here.
1413
14142001-06-28  Mark Kettenis  <kettenis@gnu.org>
1415
1416	* sysdeps/mach/hurd/read.c: Include <hurd/fd.h>.
1417	(__libc_read): Don't call __pread.  Use _hurd_fd_read directly
1418	instead.
1419	* sysdeps/mach/hurd/write.c: Include <hurd/fd.h>.
1420	(__libc_write): Don't call __pwrite.  Use _hurd_fd_write directly
1421	instead.
1422
1423	* sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back
1424	-Wl,-soname option lost in 2001-06-16 change.
1425
14262001-06-27  Ulrich Drepper  <drepper@redhat.com>
1427
1428	* posix/tst-regex.c: Pass REG_NEWLINE to regcomp.  Add extra tests.
1429	Restrict printing of string in debug mode to 100 characters to make
1430	the output useful for long input texts.
1431
1432	* posix/Makefile: Add rules to build and run tst-regex.
1433
14342001-06-20  Isamu Hasegawa  <isamu@yamato.ibm.com>
1435
1436	* posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers.
1437	(re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
1438	(wcs_re_match_2_internal): Check whether the wcs buffers need
1439	seting up or not, and skip seting up routin if not needed.
1440
14412001-06-26  Isamu Hasegawa  <isamu@yamato.ibm.com>
1442
1443	* posix/regex.c (count_mbs_length): Use binary search for optimization.
1444
14452001-06-27  Ulrich Drepper  <drepper@redhat.com>
1446
1447	* posix/tst-regex.c: Fix several bugs.  Add more tests.
1448
14492001-06-26  Mark Kettenis  <kettenis@gnu.org>
1450
1451	* hurd/Makefile (user-interfaces): Add pfinet.
1452	* hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and
1453	<netinet/in.h>.
1454	(siocgifconf): New function.  Register it with HURD_HANDLE_IOCTL
1455	as the handler for SIOCGIFCONF.
1456	* sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and
1457	SIOCGIFFLAGS to be of IOC type ifreq_short.  Modify SIOCSIFMETRIC
1458	and SIOCGIFMETRIC to be of IOC type ifreq_int.  Add new macro
1459	definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and
1460	SIOCGIFNAME.
1461	From Marcus Brunkmann <marcus@gnu.org>.
1462
14632001-06-25  Ulrich Drepper  <drepper@redhat.com>
1464
1465	* sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
1466	and _IOT_ifreq_int.  Patch by Mark Kettenis <kettenis@wins.uva.nl>.
1467
1468	* elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
1469	_dl_catch_error calls.
1470
14712001-06-22  Jakub Jelinek  <jakub@redhat.com>
1472
1473	* posix/regex.c (regex_compile, re_match_2_internal): Fix comment
1474	typos.
1475
14762001-06-01  Wolfram Gloger  <wg@malloc.de>
1477
1478	* malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
1479	ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
1480	when malloc_atfork is in use.
1481
14822001-06-22  Andreas Jaeger  <aj@suse.de>
1483
1484	* sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
1485	to avoid warnings.
1486
1487	* sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
1488	variable.
1489	Add unused attributes to avoid warnings.
1490
1491	* elf/reldep4mod4.c: Add prototype to avoid warning.
1492	* elf/reldep4mod2.c: Likewise.
1493
1494	* sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for
1495	prototypes.
1496
14972001-06-18  Roland McGrath  <roland@frob.com>
1498
1499	* hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int.
1500
15012001-06-20  Alexandre Oliva  <aoliva@redhat.com>
1502
1503	* sysdeps/unix/sysv/settimeofday.c: Include time.h.
1504
15052001-06-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1506
1507	* sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
1508
15092001-05-09  Michael Keezer  <mkeezer@redhat.com>
1510
1511	* Makeconfig: Added AIX-ld support for DSO.
1512	* Makerules: Likewise.
1513	* dlfcn/Makefile (defaultmod1.so): Added libc_nonshared.
1514	(defaultmod2.so): Likewise.
1515	* debug/Makefile: Conditionalize use of elf/ld.so.
1516	* iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig.
1517
1518	* sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c.
1519	* sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) &
1520	(f/g)prrest(0/1) static only.
1521	* sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0.
1522	* sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but
1523	shared.
1524	* sysdeps/unix/sysv/aix/setitimer.c: New file.
1525	* sysdeps/unix/sysv/aix/sleep.c: New file.
1526	* sysdeps/unix/sysv/aix/usleep.c: New file.
1527	* sysdeps/unix/sysv/aix/dl-addr.c: New file.
1528	* sysdeps/unix/sysv/aix/dl-error.c: New file.
1529	* sysdeps/unix/sysv/aix/dl-support.c: New file.
1530	* sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file.
1531
15322001-06-19  Ulrich Drepper  <drepper@redhat.com>
1533
1534	* po/es.po: Update from translation team.
1535
15362001-06-19  Andreas Jaeger  <aj@suse.de>
1537
1538	* sysdeps/ieee754/ldbl-128/s_tanhl.c: New file.
1539
1540	* math/libm-test.inc (tanh_test): Test for 2^-56.
1541
1542	* sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result
1543	equals argument when x < 2^-55.
1544	Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1545
15462001-06-17  Alan Modra  <amodra@bigpond.net.au>
1547
1548	* sysdeps/hppa/dl-machine.h (elf_machine_rela): Handle relocs
1549	at unaligned address.
1550
15512001-06-18  Ulrich Drepper  <drepper@redhat.com>
1552
1553	* posix/regex.c: Reorganize code to build code twice, once for single
1554	byte, once for multi-byte charsets.  Choose function set adequate for
1555	locale at runtime.
1556	Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
1557
1558	* po/nl.po: Update from translation team.
1559
15602001-06-09  Bruno Haible  <haible@clisp.cons.org>
1561
1562	* iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
1563	(ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
1564	* iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.
1565
15662001-05-26  Bruno Haible  <haible@clisp.cons.org>
1567
1568	* iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap.
1569	* manual/charset.texi: Write Shift_JIS, not Shift-JIS.
1570
15712001-06-17  Roland McGrath  <roland@frob.com>
1572
1573	* sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,
1574	not LIO_READ + 1 (which is the value of LIO_WRITE!).
1575
1576	* Makerules (build-module-helper-objlist): New variable,
1577	broken out of build-module.  Insert --whole-archive/--no-whole-archive
1578	immediately each *_pic.a file in the link object list.
1579	(whole-archive): New variable, used by that.
1580	(build-module-objlist): New variable using build-module-helper-objlist.
1581	(build-module, build-module-helper): Use it.
1582	(build-shlib-objlist): New variable using build-module-helper-objlist.
1583	(build-shlib): Use that.
1584	* sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
1585
1586	* posix/spawni.c: Moved to ...
1587	* sysdeps/posix/spawni.c: ... here.
1588	* sysdeps/generic/spawni.c: New file.
1589
15902001-06-16  Roland McGrath  <roland@frob.com>
1591
1592	* hurd/Makefile (routines): Add lookup-retry.
1593	* hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
1594	* hurd/lookup-retry.c: ... into here, new file.
1595	* sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
1596	using of duplicate code here.
1597
1598	* hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
1599
16002001-06-17  Ulrich Drepper  <drepper@redhat.com>
1601
1602	* po/ja.po: Update from translation team.
1603
16042001-06-04  Bruno Haible  <haible@clisp.cons.org>
1605
1606	* locale/programs/locfile.c (siblings_uncached, siblings, full_read,
1607	compare_files): New functions.
1608	(write_locale_data): Use xmalloc.  Compare the file with the locale
1609	data files for the same category in other locales, and reuse it if
1610	possible and safe.
1611
16122001-06-07  Mark Kettenis  <kettenis@gnu.org>
1613
1614	* grp/initgroups.c (initgroups): Factor out re-usable code into...
1615	(internal_getgrouplist): ... new function.
1616	(getgrouplist): New function.
1617	* grp/grp.h (getgrouplist): New prototype.
1618	* grp/Versions [2.2.4]: Add getgrouplist.
1619
16202001-06-16  Ulrich Drepper  <drepper@redhat.com>
1621
1622	* inet/netinet/ip6.h: Fix comments in ip6_hdr.
1623	Patch by Pekka Savola <pekkas@netcore.fi>.
1624
16252001-06-15  Roland McGrath  <roland@frob.com>
1626
1627	* rt/Makefile (aio-routines, clock-routines, timer-routines): New
1628	variables, broken out of librt-routines.
1629	(librt-routines): Set using those.
1630	(extra-libs, extra-libc-others, tests): Set these unconditionally.
1631	(distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
1632	* sysdeps/generic/aio_fsync.c: New file.
1633	* sysdeps/generic/aio_misc.c: New file.
1634	* sysdeps/generic/aio_write.c: New file.
1635	* sysdeps/generic/aio_write64.c: New file.
1636	* sysdeps/generic/aio_read64.c: New file.
1637	* sysdeps/generic/aio_read.c: New file.
1638	* sysdeps/generic/aio_notify.c: New file.
1639	* sysdeps/generic/lio_listio64.c: New file.
1640	* sysdeps/generic/lio_listio.c: New file.
1641	* sysdeps/generic/aio_cancel.c: New file.
1642	* sysdeps/generic/aio_misc.h: New file.
1643	* sysdeps/generic/aio_suspend.c: New file.
1644	* rt/aio_cancel.c: Moved to ...
1645	* sysdeps/pthread/aio_cancel.c: ... here.
1646	* rt/aio_fsync.c: Moved to ...
1647	* sysdeps/pthread/aio_fsync.c: ... here.
1648	* rt/aio_misc.c: Moved to ...
1649	* sysdeps/pthread/aio_misc.c: ... here.
1650	* rt/aio_misc.h: Moved to ...
1651	* sysdeps/pthread/aio_misc.h: ... here.
1652	* rt/aio_notify.c: Moved to ...
1653	* sysdeps/pthread/aio_notify.c: ... here.
1654	* rt/aio_read.c: Moved to ...
1655	* sysdeps/pthread/aio_read.c: ... here.
1656	* rt/aio_read64.c: Moved to ...
1657	* sysdeps/pthread/aio_read64.c: ... here.
1658	* rt/aio_suspend.c: Moved to ...
1659	* sysdeps/pthread/aio_suspend.c: ... here.
1660	* rt/aio_write.c: Moved to ...
1661	* sysdeps/pthread/aio_write.c: ... here.
1662	* rt/aio_write64.c: Moved to ...
1663	* sysdeps/pthread/aio_write64.c: ... here.
1664	* rt/lio_listio.c: Moved to ...
1665	* sysdeps/pthread/lio_listio.c: ... here.
1666	* rt/lio_listio64.c: Moved to ...
1667	* sysdeps/pthread/lio_listio64.c: ... here.
1668
16692001-06-14  Roland McGrath  <roland@frob.com>
1670
1671	* configure.in: Let sysdeps Implies files in add-ons bring in
1672	sysdeps directories from the main source and other add-ons too.
1673
16742001-06-15  Jakub Jelinek  <jakub@redhat.com>
1675
1676	* math/test-misc.c (main): Add tests for nextafter and nexttoward
1677	with +-Inf as second argument.
1678
1679	* sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
1680	NaN, not Inf.
1681	* sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
1682	* sysdeps/i386/fpu/s_nexttoward.c: New.
1683	* sysdeps/i386/fpu/s_nexttowardf.c: New.
1684	* sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
1685	check for NaN, optimize x==+-0 handling.
1686	* sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
1687	* sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
1688	check for NaN, fix sign in x==+-0 case.
1689	* sysdeps/ia64/fpu/s_nexttoward.c: New.
1690	* sysdeps/ia64/fpu/s_nexttowardf.c: New.
1691
16922001-06-15  H.J. Lu  <hjl@gnu.org>
1693
1694	* rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
1695	* rt/tst-aio3.c (do_test): Likewise.
1696	* rt/tst-aio4.c (do_test): Likewise.
1697	* rt/tst-aio5.c (do_test): Likewise.
1698	* rt/tst-aio6.c (do_test): Likewise.
1699
17002001-06-15  Andreas Schwab  <schwab@suse.de>
1701
1702	* sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
1703	* sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
1704
17052001-06-15  Andreas Jaeger  <aj@suse.de>
1706
1707	* gmon/tst-sprofil.c (fac): Make static to avoid compiler warning.
1708
17092001-06-14  Andreas Schwab  <schwab@suse.de>
1710
1711	* elf/ldconfig.c (search_dir): Fix check for regular file.
1712
1713	* sysdeps/m68k/fpu/e_log2f.c: Fix typo.
1714	* sysdeps/m68k/fpu/e_log2l.c: Fix typo.
1715
17162001-06-14  Roland McGrath  <roland@frob.com>
1717
1718	* sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
1719	(O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
1720
17212001-06-13  Roland McGrath  <roland@frob.com>
1722
1723	* rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
1724
1725	* sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
1726	so the label is not considered unused.
1727
1728	* sysdeps/mach/hurd/pwrite64.c: New file.
1729	* sysdeps/mach/hurd/pread64.c: New file.
1730
1731	* sysdeps/mach/hurd/pread.c
1732	(__libc_pread): Define this name, with __pread as an alias.
1733	* sysdeps/mach/hurd/pwrite.c
1734	(__libc_pwrite): Define this name, with __pwrite as an alias.
1735
1736	Implement POSIX "shared memory objects" as regular
1737	files residing in the /var/run/shm/ directory.
1738	This works on any system that supports _POSIX_MAPPED_FILES,
1739	to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
1740	* sysdeps/posix/shm_open.c: New file.
1741	* sysdeps/posix/shm_unlink.c: New file.
1742	* sysdeps/mach/hurd/bits/posix_opt.h
1743	(_POSIX_SHARED_MEMORY_OBJECTS): Define it.
1744
1745	* rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
1746	Use raise instead of __aio_sigqueue.
1747
1748	* sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
1749	* sysdeps/mach/hurd/pwrite.c: Likewise.
1750
1751	* shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
1752	[USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
1753	as default version set.
1754
17552001-06-13  Ulrich Drepper  <drepper@redhat.com>
1756
1757	* libio/iolibio.h (_IO_freopen): Correct last parameter to
1758	_IO_file_open.
1759	(_IO_freopen64): Likewise.
1760	Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].
1761
1762	* elf/elf.h: Add a few more EM_* constants.
1763
17642001-06-12  Bruno Haible  <haible@clisp.cons.org>
1765
1766	* intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.
1767
17682001-06-09  Ben Collins  <bcollins@debian.org>
1769
1770	* sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
1771	* sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1772	* sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1773	* sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1774	* sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1775	* sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
1776	hardcoded B400000.
1777
17782001-06-13  Ulrich Drepper  <drepper@redhat.com>
1779
1780	* time/sys/time.h: Don't use enum __itimer_which ever for
1781	__itimer_which_t for C++.
1782	Reported by Martin Buchholz <martin@xemacs.org>.
1783
1784	* po/fr.po: Update from translation team.
1785
17862001-06-12  H.J. Lu  <hjl@gnu.org>
1787
1788	* configure.in: Fix typos in missing program names.
1789	* configure: Regenerated.
1790
17912001-06-12  Andreas Jaeger  <aj@suse.de>
1792
1793	* iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
1794
1795	* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
1796
17972001-06-11  Andreas Jaeger  <aj@suse.de>
1798
1799	* sysdeps/ieee754/ldbl-128/e_coshl.c: New file.  Contributed by
1800	Stephen L Moshier <moshier@mediaone.net>.
1801
1802	* aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
1803
1804	* sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
1805	* sysdeps/s390/fpu/libm-test-ulps: Likewise.
1806
18072001-06-11  Michael Deutschmann  <michael@talamasca.ocis.net>
1808
1809	* rt/tst-aio4.c (do_test): Test whether rt signals are supported.
1810	Use my_signo instead of MY_SIGNO and initialize it so that the
1811	used signal is always available.
1812
18132001-06-11  Andreas Jaeger  <aj@suse.de>,
1814	    Michael Deutschmann  <michael@talamasca.ocis.net>
1815
1816	* io/test-lfs.c (do_prepare): Clean up error messages.
1817	(test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
1818	(do_test): Likewise.
1819
18202001-06-11  Andreas Jaeger  <aj@suse.de>
1821
1822	* sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
1823	IMAXBEL): Make always visible since they're needed by POSIX.
1824	Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
1825
18262001-06-10  Ben Collins  <bcollins@debian.org>
1827
1828	* sysdeps/arm/elf/start.S: Use #function, not @function, for
1829	.type of _start.
1830
1831	* sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
1832	INT_MAX.
1833
18342001-06-07  H.J. Lu  <hjl@gnu.org>
1835
1836	* sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
1837
18382001-06-10  Roland McGrath  <roland@frob.com>
1839
1840	* elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
1841	* elf/reldep4mod4.c: Likewise.
1842
18432001-06-10  Mark Kettenis  <kettenis@gnu.org>
1844
1845	* hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
1846
18472001-06-08  Andreas Schwab  <schwab@suse.de>
1848
1849	* posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
1850	Don't dereference at end of string.
1851
18522001-06-06  Roland McGrath  <roland@frob.com>
1853
1854	* sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
1855	From Robert Bihlmeyer <robbe@orcus.priv.at>.
1856
18572001-06-06  Ulrich Drepper  <drepper@redhat.com>
1858
1859	* po/ko.po: Update from translation team.
1860
18612001-06-06  Andreas Jaeger  <aj@suse.de>
1862
1863	* manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
1864	offset+length-1.
1865	Reported by Robert Bernecky <bernecky@acm.org>.
1866
18672001-06-06  Jakub Jelinek  <jakub@redhat.com>
1868
1869	* sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
1870	* sysdeps/ia64/elf/start.S: Likewise.
1871	* sysdeps/sh/elf/start.S: Likewise.
1872	* sysdeps/s390/s390-32/elf/start.S: Likewise.
1873	* sysdeps/s390/s390-64/elf/start.S: Likewise.
1874
18752001-06-05  Matthew Wilcox  <willy@ldl.fc.hp.com>
1876
1877	* sysdeps/hppa/bsd-_setjmp.S: New.
1878	* sysdeps/hppa/bsd-setjmp.S: New.
1879
1880	* sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
1881	gcc warnings about multi-line strings.
1882
1883	* sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
1884	* sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
1885
1886	* sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
1887	setrlimit directly instead of using wrappers.
1888
18892001-05-01  Richard Hirst  <rhirst@linuxcare.com>
1890
1891	* sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
1892	* sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
1893
18942001-06-05  Philipp Thomas  <pthomas@suse.de>
1895
1896	* nis/nis_call.c (__nisbind_connect): Don't mark for translation
1897	what can't be translated.
1898
18992001-06-06  Ulrich Drepper  <drepper@redhat.com>
1900
1901	* timezone/zic.c: Update from tzcode2001c.
1902	* timezone/private.h: Likewise.
1903	* timezone/africa: Update from tzdata2001c.
1904	* timezone/asia: Likewise.
1905	* timezone/europe: Likewise.
1906	* timezone/northamerica: Likewise.
1907	* timezone/southamerica: Likewise.
1908	* timezone/zone.tab: Likewise.
1909
19102001-06-04  Bruno Haible  <haible@clisp.cons.org>
1911
1912	* iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
1913	* iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
1914	UNICODE_TAG_HANDLER.
1915	(__gconv_transform_internal_ucs2): Likewise.
1916	(__gconv_transform_internal_ucs2reverse): Likewise.
1917	* iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
1918	* iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
1919	* iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
1920	* iconvdata/big5.c (BODY for TO_LOOP): Likewise.
1921	* iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
1922	* iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
1923	* iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
1924	* iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
1925	* iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
1926	* iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
1927	* iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
1928	* iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
1929	* iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
1930	* iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
1931	* iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
1932	* iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
1933	* iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
1934	* iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
1935	* iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
1936	* iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
1937	* iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
1938	* iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
1939	* iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
1940	* iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
1941	* iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
1942	* iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
1943	* iconvdata/johab.c (BODY for TO_LOOP): Likewise.
1944	* iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
1945	* iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
1946	* iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
1947	* iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
1948	* iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
1949	TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
1950	TAG_language_zh, CURRENT_TAG_MASK): New enum values.
1951	(EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
1952	is already selected but set2 or tag are set.
1953	(conversion): New enum type.
1954	(cvlist_t): New type.
1955	(CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
1956	(conversion_lists): New array.
1957	(BODY for TO_LOOP): Keep track of Unicode 3.1 language tag.  If "ja",
1958	prefer conversion to Japanese character sets.  If "zh", prefer
1959	conversion to GB2312.  If "ko", prefer conversion to KSC5601.  Small
1960	optimizations.
1961	(INIT_PARAMS): Add tag.
1962	(UPDATE_PARAMS): Add tag.
1963
19642001-06-04  Bruno Haible  <haible@clisp.cons.org>
1965
1966	* locale/programs/locfile.c (write_locale_data): Before creat(),
1967	unlink the file, to avoid crashing the processes that mmap it.  Change
1968	a double slash to a single slash.  Free fname in case of error return.
1969
19702001-06-02  Jakub Jelinek  <jakub@redhat.com>
1971
1972	* sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
1973	changes, do the special handling for denormal numbers, not for
1974	normalized numbers (patch by <trevin@xmission.com>).
1975
1976	* math/test-misc.c (main): Test frexpl with denormal arguments.
1977
19782001-06-04  Jakub Jelinek  <jakub@redhat.com>
1979
1980	* math/libm-test.inc (llround_test): Add two new llround tests.
1981	* sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
1982	overflow when rounding away from zero.
1983
19842001-06-04  Jakub Jelinek  <jakub@redhat.com>
1985
1986	* math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
1987	* math/math_private.h (__ieee754_log2, __ieee754_log2f,
1988	__ieee754_log2l): New prototypes.
1989	* sysdeps/generic/w_log2.c: New file.
1990	* sysdeps/generic/w_log2f.c: New file.
1991	* sysdeps/generic/w_log2l.c: New file.
1992	* sysdeps/generic/s_log2l.c: Move...
1993	* sysdeps/generic/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
1994	* sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
1995	and log2(x < 0).
1996	* sysdeps/i386/fpu/s_log2.S: Move...
1997	* sysdeps/i386/fpu/e_log2.S: ...to here.  Rename to __ieee754_log2.
1998	* sysdeps/i386/fpu/s_log2f.S: Move...
1999	* sysdeps/i386/fpu/e_log2f.S: ...to here.  Rename to __ieee754_log2f.
2000	* sysdeps/i386/fpu/s_log2l.S: Move...
2001	* sysdeps/i386/fpu/e_log2l.S: ...to here.  Rename to __ieee754_log2l.
2002	* sysdeps/m68k/fpu/s_log2.c: Move...
2003	* sysdeps/m68k/fpu/e_log2.c: ...to here.  Rename to __ieee754_log2.
2004	* sysdeps/m68k/fpu/s_log2f.c: Move...
2005	* sysdeps/m68k/fpu/e_log2f.c: ...to here.  Rename to __ieee754_log2f.
2006	* sysdeps/m68k/fpu/s_log2l.c: Move...
2007	* sysdeps/m68k/fpu/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
2008	* sysdeps/ieee754/dbl-64/s_log2.c: Move...
2009	* sysdeps/ieee754/dbl-64/e_log2.c: ...to here.  Rename to
2010	__ieee754_log2.
2011	* sysdeps/ieee754/flt-32/s_log2f.c: Move...
2012	* sysdeps/ieee754/flt-32/e_log2f.c: ...to here.  Rename to
2013	__ieee754_log2f.
2014
20152001-06-04  Jakub Jelinek  <jakub@redhat.com>
2016
2017	* sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
2018	even arguments which result in denormalized exp2 are accepted.
2019	(__exp2): Arguments equal to u_threshold already result into
2020	underflow.
2021	* sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
2022	* sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
2023	* sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
2024	low, with corrected lowmark use greaterequal, not greater.
2025	* sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2026
20272001-06-04  Jakub Jelinek  <jakub@redhat.com>
2028
2029	* math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
2030	* sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
2031	* sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
2032	* sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
2033	* sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
2034	* sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
2035	* sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
2036	* sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
2037
20382001-06-04  Jakub Jelinek  <jakub@redhat.com>
2039
2040	* sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
2041	gave non-finite result instead of using constant in generic
2042	version.
2043	* sysdeps/generic/w_coshf.c (__coshf): Likewise.
2044	* sysdeps/generic/w_cosh.c (__cosh): Likewise.
2045	* sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
2046	(__exp10): Test if finite argument gave non-finite result.
2047	* sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
2048	Likewise.
2049	* sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
2050	Likewise.
2051
20522001-06-04  Jakub Jelinek  <jakub@redhat.com>
2053
2054	* sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
2055	overflow threshold constant (log(LDBL_MAX)+M_LN2l).
2056
20572001-05-29  Bruno Haible  <haible@clisp.cons.org>
2058
2059	* locale/programs/ld-ctype.c (idx_table): New struct type.
2060	(idx_table_init, idx_table_get, idx_table_add): New functions.
2061	(MAX_CHARNAMES_IDX): Remove macro.
2062	(locale_ctype_t): Change type of charnames_idx field.
2063	(ctype_startup): Change initialization of charnames_idx field.
2064	(find_idx): Use idx_table_get and idx_table_add for speed.
2065
2066	* locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
2067	computation of characters in a range.
2068
20692001-05-29  Bruno Haible  <haible@clisp.cons.org>
2070
2071	* iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
2072	<U03F5>.
2073	(__ucs_to_gb18030_tab1): Likewise.
2074	(BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
2075	(BODY for TO_LOOP): Likewise.
2076	* iconvdata/tst-table-charmap.sh: Update for charmaps containing
2077	<U00xxxxxx> syntax.
2078	* iconvdata/tst-table-from.c (bmp_only): New variable.
2079	(utf8_decode): If bmp_only, don't return characters outside Unicode
2080	plane 0.
2081	(main): When testing UTF-8 or GB18030, set bmp_only to 1.  Don't print
2082	a conversion line if utf8_decode returns NULL.
2083	* iconvdata/tst-table-to.c (main): When testing encodings other than
2084	UTF-8 and GB18030, loop upto U+30000 instead of U+10000.  Use UTF-8
2085	instead of UCS-2 as input.
2086	* iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
2087	of the charmap.
2088
20892001-05-29  Bruno Haible  <haible@clisp.cons.org>
2090
2091	* iconvdata/cns11643l1.c: Update to Unicode 3.1.
2092	(__cns11643l1_to_ucs4_tab): Regenerated.
2093	(__cns11643l1_from_ucs4_tab12): Regenerated.
2094	* iconvdata/cns11643.c: Update to Unicode 3.1.
2095	(__cns11643l14_to_ucs4_tab): Remove array.
2096	(__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
2097	__cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
2098	__cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
2099	(__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
2100	(__cns11643_from_ucs4p2_tab): New array.
2101	* iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
2102	(__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
2103	__cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
2104	__cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
2105	(cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
2106	(__cns11643_from_ucs4_tab): Remove declaration.
2107	(__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
2108	declarations.
2109	(ucs4_to_cns11643): Update for new arrays.  Treat U+3400..U+4DFF and
2110	U+20000..U+2A6D6.
2111	* iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
2112	declaration.
2113	(__cns11643_from_ucs4p0_tab): New declaration.
2114	(ucs4_to_cns11643l2): Update for new arrays.
2115	* iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
2116	3 to 7.
2117	(BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
2118	* iconvdata/EUC-TW.irreversible: New file.
2119	* iconvdata/tst-table.sh: Use it.
2120	* iconvdata/Makefile (distribute): Add CP1255.irreversible,
2121	CP1258.irreversible, EUC-TW.irreversible.
2122
21232001-05-29  Bruno Haible  <haible@clisp.cons.org>
2124
2125	* locale/C-translit.h.in: Add transliterations for new Unicode 3.1
2126	mathematical symbols.
2127
21282001-06-05  Andreas Jaeger  <aj@suse.de>
2129
2130	* manual/stdio.texi (Portable Positioning): Fix description of
2131	fpos_t and fpos64_t.
2132
21332001-06-06  Ulrich Drepper  <drepper@redhat.com>
2134
2135	* sysdeps/generic/wordexp.c: Undo last patch.  Use strndupa instead.
2136
2137	* po/sk.po: Update from translation team.
2138
21392001-06-05  Andreas Jaeger  <aj@suse.de>
2140
2141	* sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
2142	tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
2143	Closes PR libc/2315.
2144
21452001-06-05  Ulrich Drepper  <drepper@redhat.com>
2146
2147	* sysdeps/generic/wordexp.c: Add missing free.
2148	Patch by yeti@physics.muni.cz.
2149
21502001-06-02  Tom Browder  <tbrowder@home.com>
2151
2152	* misc/tst-tsearch.c (mangle_tree): Ensure array indices are
2153	within bounds when lag > 0.
2154
21552001-06-05  Ulrich Drepper  <drepper@redhat.com>
2156
2157	* po/tr.po: New file.
2158
21592001-06-05  Andreas Jaeger  <aj@suse.de>
2160
2161	* manual/libm-err-tab.pl (parse_ulps): Fix typo.
2162
21632001-06-04  H.J. Lu  <hjl@gnu.org>
2164
2165	* sysdeps/alpha/elf/start.S: Add .type for the entry point.
2166	* sysdeps/arm/elf/start.S: Likewise.
2167	* sysdeps/hppa/elf/start.S: Likewise.
2168	* sysdeps/i386/elf/start.S: Likewise.
2169	* sysdeps/m68k/elf/start.S: Likewise.
2170	* sysdeps/mips/elf/start.S: Likewise.
2171	* sysdeps/ia64/elf/start.S: Likewise.
2172	* sysdeps/sh/elf/start.S: Likewise.
2173	* sysdeps/s390/s390-32/elf/start.S: Likewise.
2174	* sysdeps/s390/s390-64/elf/start.S: Likewise.
2175	* sysdeps/cris/elf/start.S: Likewise.
2176
21772001-06-04  Bruce Mitchener  <bruce@cubik.org>
2178
2179	* manual/resource.texi: Correct setpriority/nice documentation.
2180
2181	* sysdeps/unix/nice.c: Correct nice() implementation.
2182
21832001-06-04  Andreas Jaeger  <aj@suse.de>
2184
2185	* sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
2186	Stephen L Moshier <moshier@mediaone.net>.
2187
21882001-06-03  Roland McGrath  <roland@frob.com>
2189
2190	* Makefile (postclean): Remove obsolete sysd-Makefile.
2191
21922001-06-01  Roland McGrath  <roland@frob.com>
2193
2194	* sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
2195	and use compat_symbol/versioned_symbol instead of plain
2196	symbol_version/default_symbol_version.
2197	* sysdeps/alpha/fpu/fegetenv.c: Likewise.
2198	* sysdeps/alpha/fpu/fesetenv.c: Likewise.
2199	* sysdeps/alpha/fpu/feupdateenv.c: Likewise.
2200	* sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
2201	* sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
2202	* sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
2203	* sysdeps/arm/fpu/fclrexcpt.c: Likewise.
2204	* sysdeps/arm/fpu/fegetenv.c: Likewise.
2205	* sysdeps/arm/fpu/fesetenv.c: Likewise.
2206	* sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
2207	* sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
2208	* sysdeps/i386/fpu/fclrexcpt.c: Likewise.
2209	* sysdeps/i386/fpu/fegetenv.c: Likewise.
2210	* sysdeps/i386/fpu/fesetenv.c: Likewise.
2211	* sysdeps/i386/fpu/feupdateenv.c: Likewise.
2212	* sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
2213	* sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2214	* sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
2215	* sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
2216	* sysdeps/m68k/fpu/fegetenv.c: Likewise.
2217	* sysdeps/m68k/fpu/fesetenv.c: Likewise.
2218	* sysdeps/m68k/fpu/feupdateenv.c: Likewise.
2219	* sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
2220	* sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
2221	* sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
2222	* sysdeps/powerpc/fclrexcpt.c: Likewise.
2223	* sysdeps/powerpc/fpu/fegetenv.c: Likewise.
2224	* sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2225	* sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2226	* sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
2227	* sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
2228	* sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
2229
2230	* iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
2231	* iconvdata/iso-2022-cn-ext.c: Likewise.
2232
22332001-06-01  Andreas Jaeger  <aj@suse.de>
2234
2235	* Versions.def: Add version 2.2.4.
2236
22372001-06-01  Ulrich Drepper  <drepper@redhat.com>
2238
2239	* socket/Makefile (routines): Add sockatmark.
2240	* socket/Versions [GLIBC_2.2.4]: Add sockatmark.
2241	* socket/sys/socket.h: Add prototype for sockatmark.
2242	* sysdeps/generic/sockatmark.c: New file.
2243	* sysdeps/unix/sockatmark.c: New file.
2244
22452001-06-01  Andreas Jaeger  <aj@suse.de>
2246
2247	* sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
2248	B4000000.
2249	(cfsetospeed): Likewise.
2250	Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
2251
22522001-05-31  Joseph S. Myers  <jsm28@cam.ac.uk>
2253
2254	* misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
2255
22562001-05-30  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2257
2258	* sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
2259	needs to have the same aligment as the kernel structure.
2260
22612001-05-29  Jakub Jelinek  <jakub@redhat.com>
2262
2263	* sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
2264	u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
2265	* posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
2266	u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
2267	against multiple definition.
2268
22692001-05-30  Ulrich Drepper  <drepper@redhat.com>
2270
2271	* po/da.po: Update from translation team.
2272
22732001-05-29  Andreas Jaeger  <aj@suse.de>
2274
2275	* sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
2276	Stephen L Moshier <moshier@mediaone.net>.
2277
2278	* math/libm-test.inc (sinh_test): Add new test case.
2279
2280	* sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
2281	x when x < 2^-32.
2282	Patch by Stephen L Moshier <moshier@mediaone.net>.
2283
22842001-05-23  Andreas Jaeger  <aj@suse.de>
2285
2286	* iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
2287	* iconvdata/testdata/WINDOWS-1255..UTF8: this.
2288
22892001-05-27  Andreas Jaeger  <aj@suse.de>
2290
2291	* manual/stdio.texi (String Streams): Fix fmemopen description.
2292	Reported by Michal Kochanowicz <michal@michal.waw.pl>.
2293
22942001-05-26  H.J. Lu <hjl@gnu.org>
2295
2296	* sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
2297	to s_sigsuspend.  Add s_mmap2.
2298
2299	* sysdeps/mips/atomicity.h: New file.
2300
2301	* sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
2302
2303	* sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
2304	back __key.
2305
23062001-05-25  Bruce Mitchener  <bruce@cubik.org>
2307
2308	* manual/ctype.texi: Minor fix.
2309	* manual/install.texi: Likewise.
2310	* manual/startup.texi: Likewise.
2311	* manual/examples/dir.c: Use perror() rather than puts().
2312
23132001-05-25  David Mosberger  <davidm@hpl.hp.com>
2314
2315	* sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
2316	#endif directive inside a comment to avoid compiler warnings.
2317
23182001-05-25  Philipp Thomas  <pthomas@suse.de>
2319
2320	* nis/nis_print.c (nis_nstype2str): Don't mark names of
2321	naming services for translation, only UNKNOWN needs it.
2322	Add comment to prevent it for the future.
2323
23242001-05-25  Joseph S. Myers  <jsm28@cam.ac.uk>
2325
2326	* misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
2327	3.1 and non-GCC C99 compilers.
2328
23292001-05-22  David Mosberger  <davidm@hpl.hp.com>
2330
2331	* sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
2332	performance.
2333	* sysdeps/ia64/memcpy.S: Likewise.
2334
2335	* sysdeps/ia64/bcopy.S: New file.
2336
2337	* sysdeps/ia64/bzero.S: New file (derived from memset.S).
2338
23392001-05-26  Ulrich Drepper  <drepper@redhat.com>
2340
2341	* sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
2342
23432001-05-24  Ulrich Drepper  <drepper@redhat.com>
2344
2345	* iconvdata/Makefile: Add rules for CP10007.
2346	* iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
2347	* iconvdata/cp10007.c: New file.
2348	* iconvdata/tst-tables.sh: Add CP10007.
2349
23502001-05-23  kaz Kojima  <kkojima@rr.iij4u.or.jp>
2351
2352	* sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
2353	(_dl_runtime_profile): Likewise..
2354
23552001-05-23  Thorsten Kukuk  <kukuk@suse.de>
2356
2357	* sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
2358	* posix/tst-getaddrinfo.c: Remove AF_UNIX test.
2359
23602001-05-19  H.J. Lu  <hjl@gnu.org>
2361
2362	* elf/dl-deps.c (_dl_map_object_deps): Pass objname and
2363	errstring of the failed DSO to _dl_signal_error ().
2364
23652001-05-23  Ulrich Drepper  <drepper@redhat.com>
2366
2367	* iconvdata/gconv-modules: Add more aliases to enable use in
2368	locale names.
2369
23702001-05-23  Andreas Jaeger  <aj@suse.de>
2371
2372	* sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
2373	Remove, it's not used anywhere anymore.
2374	* sysdeps/unix/sysv/linux/s390/s390-64/Makefile
2375	(CFLAGS-initfini.s): Likewise.
2376	* sysdeps/unix/sysv/linux/s390/s390-32/Makefile
2377	(CFLAGS-initfini.s): Likewise.
2378	* sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
2379	Likewise.
2380	* sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
2381	Likewise.
2382
23832001-05-21  Bruno Haible  <haible@clisp.cons.org>
2384
2385	* wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
2386	use 0 instead, and rely on the converter to do the flush.
2387	* wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
2388	utf8_test.
2389	(utf8_test_2, utf8_test_3): New function.
2390	(utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
2391
23922001-05-22  Jakub Jelinek  <jakub@redhat.com>
2393
2394	* elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
2395
2396	* elf/Makefile (distribute): Add reldep4mod[1234].c.
2397	(tests): Add reldep4.
2398	(modules-names): Add reldep4mod[1234].
2399	(reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
2400	* elf/reldep4.c: New file.
2401	* elf/reldep4mod1.c: Likewise.
2402	* elf/reldep4mod2.c: Likewise.
2403	* elf/reldep4mod3.c: Likewise.
2404	* elf/reldep4mod4.c: Likewise.
2405
24062001-05-18  Jakub Jelinek  <jakub@redhat.com>
2407
2408	* elf/dl-lookup.c (PROTECTED): Remove defines.
2409	(add_dependency): Mark it with internal_function.
2410	(_dl_do_lookup, _dl_do_lookup_versioned): New functions.
2411	(_dl_lookup_symbol, _dl_lookup_symbol_skip,
2412	_dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
2413	it if we don't want do_lookup* inlined.
2414
24152001-05-18  Jakub Jelinek  <jakub@redhat.com>
2416
2417	* include/link.h (struct r_scope_elem): Remove r_duplist and
2418	r_nduplist fields.
2419	* elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
2420	* elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
2421	r_duplist.
2422	(_dl_lookup_versioned_symbol_skip): Likewise.
2423	* elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
2424	(_dl_map_object_deps): Don't compute duplicate list.
2425
2426	* elf/dl-symbol.c: Removed.
2427	* elf/Makefile (routines): Remove dl-symbol.
2428
24292001-05-22  Ulrich Drepper  <drepper@redhat.com>
2430
2431	* po/el.po: Update from translation team.
2432	* po/sv.po: Likewise.
2433
24342001-05-20  Bruno Haible  <haible@clisp.cons.org>
2435
2436	* iconvdata/cp1255.c: Completely rewritten.
2437	* iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
2438	* iconvdata/testdata/WINDOWS-1255: New file.
2439	* iconvdata/testdata/WINDOWS-1255..UTF8: New file.
2440	* iconvdata/TESTS: Add WINDOWS-1255 test.
2441	* iconvdata/CP1255.irreversible: New file.
2442
24432001-05-20  Bruno Haible  <haible@clisp.cons.org>
2444
2445	* iconvdata/cp1258.c: Completely rewritten.
2446	* iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
2447	* iconvdata/testdata/WINDOWS-1258: New file.
2448	* iconvdata/testdata/WINDOWS-1258..UTF8: New file.
2449	* iconvdata/TESTS: Add WINDOWS-1258 test.
2450	* iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
2451	the main call, and flush it afterwards.
2452	(utf8_decode): Return a string, possibly containing several Unicode
2453	characters.
2454	(main): Update all utf8_decode calls.
2455	* iconvdata/CP1258.irreversible: New file.
2456
24572001-05-20  Bruno Haible  <haible@clisp.cons.org>
2458
2459	* iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
2460	* iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2.  In the
2461	first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
2462	EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
2463	the next step.  In the second case, clear the state without calling
2464	EMIT_SHIFT_TO_INIT.
2465	* iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
2466	data->__outbuf, and outend instead of data->__outbufend.
2467	* iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
2468	* iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
2469	* iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
2470	* iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
2471	* iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
2472	* iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
2473	* iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
2474	* iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
2475	* iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
2476
24772001-05-21  Jakub Jelinek  <jakub@redhat.com>
2478
2479	* elf/rtld.c (dl_main): Compute l_map_end for the main program.
2480	* elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
2481	If match == _dl_loaded, caller can still come from the main program.
2482	(_dl_vsym): Likewise.
2483	* elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
2484	* elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
2485	* elf/restest2.c: New test.
2486	* elf/Makefile (tests): Add restest2.
2487	(restest2, LDFLAGS-restest2): Add rules.
2488
24892001-05-22  Ulrich Drepper  <drepper@redhat.com>
2490
2491	* intl/Makefile: Add a few more dependencies to avoid races in the
2492	test shell scripts.
2493
24942001-05-22  Andreas Jaeger  <aj@suse.de>
2495
2496	* sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
2497	Stephen L Moshier <moshier@mediaone.net>.
2498
24992001-05-22  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2500
2501	* sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
2502	return addresses instead of the stack pointers.
2503	* sysdeps/s390/s390-64/backtrace.c: Likewise.
2504
25052001-05-21  Jakub Jelinek  <jakub@redhat.com>
2506
2507	* sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
2508	bits/sigcontext.h instead of bits/sigstack.h.
2509	* sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
2510	multiple-inclusion guards.
2511
25122001-05-21  Andreas Jaeger  <aj@suse.de>
2513
2514	* locale/programs/ld-collate.c (handle_ellipsis): Fix message.
2515	Patch by Philipp Thomas <pthomas@suse.de>.
2516
25172001-05-17  Bruce Mitchener  <bruce@cubik.org>
2518
2519	* manual/arpg.texi: Spelling, misc fixes.
2520	* manual/arith.texi: Likewise.
2521	* manual/crypt.texi: Likewise.
2522	* manual/debug.texi: Likewise.
2523	* manual/getopt.texi: Likewise.
2524	* manual/intro.texi: Likewise.
2525	* manual/memory.texi: Likewise.
2526	* manual/nss.texi: Likewise.
2527	* manual/pattern.texi: Likewise.
2528	* manual/process.texi: Likewise.
2529	* manual/resource.texi: Likewise.
2530	* manual/search.texi: Likewise.
2531	* manual/setjmp.texi: Likewise.
2532	* manual/signal.texi: Likewise.
2533	* manual/socket.texi: Likewise.
2534	* manual/stdio.texi: Likewise.
2535	* manual/string.texi: Likewise.
2536	* manual/sysinfo.texi: Likewise.
2537	* manual/terminal.texi: Likewise.
2538	* manual/llio.texi: Document madvise().
2539
25402001-05-20  Roland McGrath  <roland@frob.com>
2541
2542	* Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
2543	found within $(add-ons) directories too.
2544	[linuxthreads add-on]: Move variable settings for linuxthreads
2545	to new file linuxthreads/Makeconfig.
2546
25472001-05-20  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2548
2549	* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
2550	Define for linux >= 2.4.5 on powerpc.
2551	(__ASSUME_MMAP2_SYSCALL): Likewise.
2552
25532001-05-19  Roland McGrath  <roland@frob.com>
2554
2555	* hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
2556	result port when failing with ELOOP.  Do the ELOOP check when
2557	following an absolute symlink target as well as relative.
2558	Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
2559
25602001-05-18  Andreas Jaeger  <aj@suse.de>
2561
2562	* po/fr.po: Free software is "logiciel libre".
2563	Patch by Martin Michlmayr <tbm@cyrius.com>.
2564
2565	* sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
2566	Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
2567
25682001-05-17  David Mosberger  <davidm@hpl.hp.com>
2569
2570	* sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
2571
25722001-05-17  Ulrich Drepper  <drepper@redhat.com>
2573
2574	* elf/dl-profile.c (_dl_mcount): Check whether state is
2575	GMON_PROF_ON before doing anything.
2576
25772001-05-17  H.J. Lu  <hjl@gnu.org>
2578
2579	* elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
2580
25812001-05-17  Ulrich Drepper  <drepper@redhat.com>
2582
2583	* sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
2584	CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
2585	Reported by Mark Burton <markb@ordern.com>.
2586
25872001-05-17  Jakub Jelinek  <jakub@redhat.com>
2588
2589	* elf/ldconfig.c (add_dir): Only warn about stat failure if
2590	opt_verbose.
2591	(search_dir): Likewise.
2592
25932001-05-17  Ulrich Drepper  <drepper@redhat.com>
2594
2595	* sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
2596	parameter of xaddl.  Patch by H . J . Lu <hjl@lucon.org>.
2597
25982001-05-14  Bruno Haible  <haible@clisp.cons.org>
2599
2600	* iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
2601	without previous announcement, reject it regularly, don't abort.
2602
26032001-05-16  Ulrich Drepper  <drepper@redhat.com>
2604
2605	* math/tgmath.h: Fix handling of int parameters to binary and
2606	ternary functions.  Reported by mitr@volny.cz.
2607
2608	* math/test-tgmath.c: Add tests for calls with integer parameters.
2609
26102001-05-15  Jakub Jelinek  <jakub@redhat.com>
2611
2612	* sunrpc/rpc_thread.c (rpc_default): Remove.
2613	(__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
2614	rpc_default.
2615	(rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
2616	__rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
2617	* sunrpc/auth_none.c (authnone_private): Fix a typo.
2618
26192001-05-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2620
2621	* sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
2622
26232001-05-16  Bruce Mitchener  <bruce@cubik.org>
2624
2625	* manual/llio.texi: Many grammar and typo fixes to the section on AIO.
2626
26272001-05-15  Andreas Jaeger  <aj@suse.de>
2628
2629	* sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
2630	Stephen L Moshier <moshier@mediaone.net>.
2631
2632	* sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
2633
2634	* math/libm-test.inc: Add comment with ToDo.
2635
2636	* sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
2637	accurate algorithm.  Patch by Stephen L Moshier <moshier@mediaone.net>.
2638
2639	* sysdeps/i386/fpu/e_expl.S: Removed.
2640
26412001-05-14  Roland McGrath  <roland@frob.com>
2642
2643	* csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
2644	static pattern rule also that also covers
2645	$(objpx)g$(static-start-installed-name).
2646	[$(start-installed-name) != $(static-start-installed-name)]
2647	(extra-objs, omit-deps, install-lib): Add
2648	$(static-start-installed-name) and g$(static-start-installed-name).
2649	* sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
2650	just setting static-start-installed-name is now sufficient.
2651	(extra-objs): Add static-start.o here.
2652	(CFLAGS-initfini.s): Remove obsolete variable.
2653	* sysdeps/mach/hurd/i386/Makeconfig: New file.
2654	Define static-start-installed-name here.
2655
2656	* Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
2657	* Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
2658
2659	* Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
2660	associated hair.  Instead, just use $(wildcard ...) in the include.
2661
2662	* configure.in (critic_missing, aux_missing): Collect in these vars
2663	the names of the missing programs, and include them in the error msgs.
2664	* configure: Regenerated.
2665
26662001-05-14  Andreas Jaeger  <aj@suse.de>
2667
2668	* sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
2669
2670	* math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
2671
26722001-05-14  Stephen L Moshier <moshier@mediaone.net>
2673
2674	* sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
2675
26762001-05-11  Jakub Jelinek  <jakub@redhat.com>
2677
2678	* posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
2679	as well if swapping strings.
2680	Make sure stop is not past end of second string.
2681	* posix/bug-regex4.c: New test.
2682	* posix/Makefile (tests): Add bug-regex4.
2683
26842001-05-10  Andreas Jaeger  <aj@suse.de>
2685
2686	* manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
2687	requirement.
2688
26892001-05-12  Andreas Jaeger  <aj@suse.de>
2690
2691	* sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
2692	internal prototypes.
2693	* sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2694	* sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2695	* sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2696	* sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2697	* sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2698	* sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2699	* sysdeps/ieee754/dbl-64/branred.c: Likewise.
2700
2701	* math/math_private.h: Add prototypes for internal functions of
2702	the IBM Accurate Mathematical Library.
2703
2704	* sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
2705	prototypes.
2706	* sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2707
2708	* sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
2709	internal prototypes.
2710	* sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2711	* sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2712	* sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2713	* sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2714	* sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2715	* sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2716	* sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2717	* sysdeps/generic/e_rem_pio2l.c: Likewise.
2718	(__ieee754_rem_pio2l): Fix prototype.
2719
2720	* math/math_private.h (__copysign): Add internal prototype.
2721
27222001-05-11  Andreas Jaeger  <aj@suse.de>
2723
2724	* sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
2725	* sysdeps/unix/sysv/linux/mips/configure.in: ...here.  New file.
2726
27272001-05-11  Andreas Jaeger  <aj@suse.de>
2728
2729	* sysdeps/unix/sysv/linux/configure.in: Check binutils version on
2730	MIPS.
2731
2732	* sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
2733	format directive.  Patch by Steven J. Hill <sjhill@cotw.com>.
2734
27352001-05-11  Roland McGrath  <roland@frob.com>
2736
2737	* sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
2738	$(build-module) here, since we don't need the full magilla.
2739	Just use $(build-module-helper) and append our special options.
2740
27412001-05-09  Andreas Schwab  <schwab@suse.de>
2742
2743	* sysdeps/unix/readdir.c: Make sure we don't modify errno when we
2744	reached EOF.
2745
27462001-05-07  H.J. Lu  <hjl@gnu.org>
2747
2748	* elf/ldconfig.c (dir_entry): Add ino and dev.
2749	(add_single_dir): Compare ino and dev to check if 2 directory
2750	paths are the same or not.  Free entry->path for duplicates.
2751	(add_dir): Initialize ino and dev for entry.
2752	(search_dir): Handle symlink to directory.
2753
27542001-05-07  Andreas Jaeger  <aj@suse.de>
2755
2756	* sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
2757
2758	* math/libm-test.inc (exp_test): Add some more tests.
2759	(pow_test): Run double only test also for long double.
2760
2761	* math/test-ldouble.c (TEST_LDOUBLE): Define.
2762	* math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
2763
2764	* sysdeps/generic/bits/confname.h: Remove extra comma at end of
2765	enumeration.
2766	Closes PR libc/2240.
2767
2768	* scripts/config.guess: Imported from gnu.org.
2769	* scripts/config.sub: Likewise.
2770
27712001-05-05  Jakub Jelinek  <jakub@redhat.com>
2772
2773	* include/features.h (__USE_EXTERN_INLINES): Don't define if
2774	__NO_INLINE__ is defined.
2775	* ctype/ctype.h (tolower, toupper): Change the guard condition to
2776	__USE_EXTERN_INLINES check only.
2777	* stdlib/stdlib.h (strtod, ...): Likewise.
2778	* wcsmbs/wchar.h (mbrlen): Likewise.
2779	* string/string.h: Only include bits/string.h and bits/string2.h
2780	if __NO_INLINE__ is not defined.
2781
27822001-05-07  Andreas Jaeger  <aj@suse.de>
2783
2784	* debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
2785	of @LIBDIR@.
2786
27872001-05-04  H.J. Lu  <hjl@gnu.org>
2788
2789	* malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
2790	not @LIBDIR@.
2791
27922001-05-06  Andreas Jaeger  <aj@suse.de>
2793
2794	* sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
2795	* sysdeps/i386/fpu/e_fmodl.S: Removed.
2796	* sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
2797	* sysdeps/i386/fpu/e_atan2l.S: Removed.
2798	* sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
2799	* sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
2800	* sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
2801	* sysdeps/i386/fpu/e_acosl.S: Removed.
2802	* sysdeps/i386/fpu/s_atanl.S: Removed.
2803	* sysdeps/i386/fpu/e_sqrtl.S: Removed.
2804
28052001-05-05  Mark Kettenis  <kettenis@gnu.org>
2806
2807	* sysdeps/mach/hurd/bits/environments.h: Add comment from
2808	sysdeps/generic/bits/environments.h.  Define _POSIX_V6_* values.
2809
28102001-04-30  Jakub Jelinek  <jakub@redhat.com>
2811
2812	* posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
2813	that _CS_LFS_CFLAGS can fall through to the empty returned string
2814	case.  Add FALLTHROUGH comment.
2815
28162001-04-29  Ralf Baechle  <ralf@gnu.org>
2817
2818	* sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
2819	definitions match the kernel definitions.
2820	* sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
2821	* sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
2822
28232001-04-29  Ben Collins  <bcollins@debian.org>
2824
2825	* sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
2826	warnings.
2827	* sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
2828	* sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2829	* sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2830	* sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
2831	* sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
2832	* sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2833	* sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2834	* sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2835	* sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2836	* sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2837	* sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2838	* sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2839	* sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
2840	* sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2841	* sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
2842	* sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2843	* sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2844	* sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2845	* sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2846	* sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
2847	* sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
2848	* sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
2849	* sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2850
28512001-04-29  Andreas Schwab  <schwab@suse.de>
2852
2853	* sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
2854	in last change.
2855
28562001-04-29  Andreas Jaeger  <aj@suse.de>
2857
2858	* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2859	Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
2860
2861	* sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
2862	Linux 2.4.4.
2863	(AF_WANPIPE): Likewise.
2864	(MSG_MORE): New.
2865
2866	* sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
2867	for Linux generic version.
2868	* sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
2869	* sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2870	* sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2871	* sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
2872
2873	* sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
2874
28752001-04-27  Ulrich Drepper  <drepper@redhat.com>
2876
2877	* nis/nss-nis.h: Correct test for invalid error number.
2878	* nis/nss-nisplus.h: Likewise.
2879
2880	* nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
2881
28822001-04-26  Ulrich Drepper  <drepper@redhat.com>
2883
2884	* sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
2885
2886	* string/strcoll.c: Fix two memory allocation problems.
2887	* string/Makefile (tests): Add bug-strcoll1.
2888	* string/bug-strcoll1.c: New file.
2889
2890	* malloc/mcheck.c (mcheck): Call malloc once before setting the
2891	hooks to allow the internal check hooks to be set up if necessary.
2892
2893	* nis/nss-nis.h: Move yperr2nss_tab definition into separate file
2894	and rename to __yperr2nss_tab.  Change YPERR_COUNT into variable
2895	__yperr2nss_count.
2896	* nis/nss-nis.c: New file.
2897	* nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
2898	and rename to __niserr2nss_tab.  Change NISERR_COUNT into variable
2899	__niserr2nss_count.
2900	* nis/nss-nisplus.c: New file.
2901	* nis/Makefile (libnss_compat-routines): Add nss-nis.
2902	(libnss_nis-routines): Likewise.
2903	(libnss_nisplus-routines): Add nss-nisplus.
2904
2905	* nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
2906	* nis/nss_nisplus/nisplus-ethers.c: Likewise.
2907	* nis/nss_nisplus/nisplus-grp.c: Likewise.
2908	* nis/nss_nisplus/nisplus-hosts.c: Likewise.
2909	* nis/nss_nisplus/nisplus-network.c: Likewise.
2910	* nis/nss_nisplus/nisplus-proto.c: Likewise.
2911	* nis/nss_nisplus/nisplus-pwd.c: Likewise.
2912	* nis/nss_nisplus/nisplus-rpc.c: Likewise.
2913	* nis/nss_nisplus/nisplus-service.c: Likewise.
2914	* nis/nss_nisplus/nisplus-spwd.c: Likewise.
2915	* nis/nss_nis/nis-alias.c: Likewise.
2916	* nis/nss_nis/nis-ethers.c: Likewise.
2917	* nis/nss_nis/nis-grp.c: Likewise.
2918	* nis/nss_nis/nis-network.c: Likewise.
2919	* nis/nss_nis/nis-proto.c: Likewise.
2920	* nis/nss_nis/nis-pwd.c: Likewise.
2921	* nis/nss_nis/nis-spwd.c: Likewise.
2922	* nis/nss_compat/compat-grp.c: Likewise.
2923	* nis/nss_compat/compat-initgroups.c: Likewise.
2924	* nis/nss_compat/compat-pwd.c: Likewise.
2925	* nis/nss_compat/compat-spwd.c: Likewise.
2926
2927	* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
2928	optimizations.  Patch by Jakub Jelinek <jakub@redhat.com>.
2929
29302001-04-26  Andreas Jaeger  <aj@suse.de>
2931
2932	* po/zh_TW.po: Update.
2933	Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
2934
29352001-04-25  Ulrich Drepper  <drepper@redhat.com>
2936
2937	* malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
2938	compiler command line.
2939	* sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
2940	command line for malloc.c.
2941
29422001-04-25  Jakub Jelinek  <jakub@redhat.com>
2943
2944	* sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
2945	* sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
2946	* sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
2947	* sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
2948	* sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here.  Adjust
2949	struct msghdr for __WORDSIZE == 32.
2950	* sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
2951	* sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here.  Adjust
2952	for __WORDSIZE == 32.
2953	* sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
2954	* sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
2955	file.
2956	* sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
2957	Rename from longjmp, make longjmp weak alias to it.
2958
29592001-04-24  David S. Miller  <davem@redhat.com>
2960
2961	* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
2962
29632001-04-25  Matthew Wilcox  <willy@ldl.fc.hp.com>
2964
2965	* sysdeps/hppa/stackinfo.h: New file.
2966	* sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
2967	* sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
2968	* sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
2969	* sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
2970	of PA kernel features.
2971
29722001-04-25  Ulrich Drepper  <drepper@redhat.com>
2973
2974	* locale/programs/localedef.c (main): Always set a file name for
2975	the initial locale.
2976	* locale/programs/locfile.c (locfile_read): filename is allowed to
2977	be NULL.
2978
29792001-04-12  Paul Bame  <paul_bame@hp.com>
2980
2981	* sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
2982	enable flags.
2983
29842001-04-24  Ulrich Drepper  <drepper@redhat.com>
2985
2986	* sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
2987	_XBS5_LPBIG_OFFBIG): Define to -1.
2988	Fix typos.
2989
2990	* sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
2991	* posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
2992	* posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2993	* posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2994
2995	* sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
2996	* sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
2997
29982001-03-21  Alan Modra  <alan@one.net.au>
2999
3000	* sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
3001	value from application so that constructors in non-PIC libs work.
3002
30032000-12-13  Jes Sorensen  <jes@linuxcare.com>
3004
3005	* sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
3006	function pointer, hence load the jump address and gp from the
3007	function pointer before jumping.
3008
30092001-04-24  Andreas Jaeger  <aj@suse.de>
3010
3011	* sysdeps/generic/send.c (__send): Return ssize_t.
3012	* sysdeps/mach/hurd/send.c (__send): Likewise.
3013	* sysdeps/mach/hurd/recv.c (recv): Likewise.
3014	* sysdeps/mach/hurd/sendto.c (sendto): Likewise.
3015	* sysdeps/generic/sendto.c (sendto): Likewise.
3016	* sysdeps/generic/recvmsg.c (recvmsg): Likewise.
3017	* sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
3018	* sysdeps/generic/recvfrom.c (recvfrom): Likewise.
3019	* sysdeps/generic/sendmsg.c (sendmsg): Likewise.
3020
3021	* socket/sys/socket.h: send* and recv* return ssize_t.
3022
3023	* include/sys/socket.h: send returns ssize_t.
3024
3025	* sysdeps/i386/fpu_control.h: Fix comments.
3026
30272001-04-24  Ulrich Drepper  <drepper@redhat.com>
3028
3029	* sysdeps/ia64/Dist: Add hp-timing.c.
3030	* sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
3031	* posix/Makefile (distribute): Add tst-getconf.sh.
3032	* po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
3033
30342001-04-23  Ulrich Drepper  <drepper@redhat.com>
3035
3036	* sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
3037	* sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
3038	* sysdeps/ia64/hp-timing.c: New file.
3039	* sysdeps/ia64/hp-timing.h: New file.
3040	* sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
3041	CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
3042
3043	* sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
3044	using #ifdef whether the clock is available.
3045	* sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
3046
3047	* sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
3048	it into data section.
3049
3050	* sysdeps/unix/i386/i586/clock_getres.c: Removed.
3051	* sysdeps/unix/i386/i586/clock_gettime.c: Removed.
3052	* sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
3053	* sysdeps/unix/i386/i586/clock_settime.c: Removed.
3054	* sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
3055	* sysdeps/generic/cpuclock-init.h: Removed.
3056	* sysdeps/unix/i386/i686/Implies: Removed.
3057	* sysdeps/unix/i386/i686/tempname.c: Removed.
3058	* sysdeps/i386/i686/Versions: New file.
3059	* sysdeps/unix/i386/i586/Versions: Removed.
3060
3061	* sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
3062	CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
3063	* sysdeps/unix/clock_gettime.c: Likewise.
3064	* sysdeps/unix/clock_nanosleep.c: Likewise.
3065	* sysdeps/unix/clock_settime.c: Likewise.
3066	* sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
3067	RANDOM_BITS use CPU clock.
3068
3069	* sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
3070	* sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
3071	* sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
3072	* sysdeps/sparc/Versions: New file.
3073
3074	* elf/dl-support.c: Don't use cpuclock-init.h definitions, use
3075	hp-timing.h definitions.
3076	* sysdeps/generic/dl-sysdep.c: Likewise.
3077
3078	* include/libc-internal.h: Include hp-timing.h.  Use hp_timing_t in
3079	__get_clockfreq prototype.
3080
3081	* sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3082	Use hp_timing_t type.
3083	* sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
3084
3085	* sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
3086
3087	* sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
3088	whether named file is a regular file or a block device.
3089	* sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
3090
30912001-04-23  Andreas Jaeger  <aj@suse.de>
3092
3093	* nscd/nscd.h: Add noreturn attribute for start_threads.
3094
30952001-04-22  Ulrich Drepper  <drepper@redhat.com>
3096
3097	* posix/getconf.c: Fix names of XBS5 LFS test variables.
3098	Add missing configuration variables from XPG6.
3099	* posix/tst-getconf.c: New file.
3100	* posix/Makefile (generated): Add tst-getconf.out.
3101	(tests): Add ($objpfx)tst-getconf.out.
3102	Add rule to run tst-getconf.sh.
3103	* sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
3104	from XPG6.
3105	* sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
3106	_PC_SYMLINK_MAX.
3107	* sysdeps/posix/pathconf.c: Likewise.
3108	* sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
3109	and _SC_SYMLOOP_MAX.
3110
31112001-04-22  Philip Blundell  <philb@gnu.org>
3112
3113	* sysdeps/arm/fpu/feenablxcpt.c: New file.
3114	* sysdeps/arm/fpu/fedisablxcpt.c: New file.
3115	* sysdeps/arm/fpu/fegetexcpt.c: New file.
3116
31172001-04-22  Philip Blundell  <philb@gnu.org>
3118
3119	* sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
3120	Renamed from struct user_fp.
3121	(struct user_regs): New.
3122	(struct user): Use struct user_regs rather than struct pt_regs to
3123	avoid dependency on asm/ptrace.h.  Use struct user_fpregs in place
3124	of struct user_fp and struct user_fp_struct.
3125	* sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
3126	not sys/elf.h.
3127
31282001-04-22  Philip Blundell  <philb@gnu.org>
3129
3130	* sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
3131	sys/procfs.h, and tell the user to include that file instead.
3132	* sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
3133	surrounded with #if 0.
3134	(elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
3135	from sys/elf.h.
3136	(prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
3137	elf_fpregset_t respectively.
3138
31392001-04-22  Philip Blundell  <philb@gnu.org>
3140
3141	* sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
3142	address that faulted.
3143
31442001-04-21  Ulrich Drepper  <drepper@redhat.com>
3145
3146	* sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
3147	values.
3148	* sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
3149	* posix/confstr.c: Handle _CS_POSIX_V6_* values.
3150	* posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
3151	* sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
3152
3153	* sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
3154	* sysdeps/s390/fpu/libm-test-ulps: Likewise.
3155	* sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3156	* sysdeps/mips/fpu/libm-test-ulps: Likewise.
3157
31582001-04-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3159
3160	* sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
3161	offset.
3162
31632001-04-21  Ulrich Drepper  <drepper@redhat.com>
3164
3165	* posix/getopt.h: Treat __cplusplus like __STDC__.
3166
31672001-04-20  John S. Marvin  <jsm@fc.hp.com>
3168
3169	* sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
3170	entry point stub.
3171
31722001-04-20  Richard Hirst  <rhirst@linuxcare.com>
3173
3174	* elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
3175	and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
3176
3177	* sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
3178	entry so the ptrace.c wrapper is used.
3179
31802001-04-20  Alan Modra  <amodra@one.net.au>
3181
3182	* sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
3183	(DL_FUNCTION_ADDRESS): Define.
3184	(DL_DT_INIT_ADDRESS): Define.
3185	(DL_DT_FINI_ADDRESS): Define.
3186	* sysdeps/hppa/Versions: Add _dl_function_address.
3187	* sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
3188	* sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
3189	_dl_function_address.
3190
31912001-04-21  Andreas Jaeger  <aj@suse.de>
3192
3193	* rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
3194	* resolv/gai_misc.c (handle_requests): Likewise.
3195	* malloc/obstack.c (print_and_abort): Likewise.
3196	* malloc/mcheck.c (mabort): Likewise.
3197
3198	* sysdeps/unix/i386/i586/clock_settime.c: Include
3199	"libc-internal.h" for __get_clockfreq declaration.
3200
32012001-04-21  Ulrich Drepper  <drepper@redhat.com>
3202
3203	* elf/dl-support.c: Include cpuclock-init.h.  Use CPUCLOCK_VARDEF and
3204	CPUCLOCK_INIT if defined.
3205	* sysdeps/generic/dl-sysdep.c: Likewise.
3206	* sysdeps/generic/cpuclock-init.h: New file.
3207	* sysdeps/unix/i386/i586/cpuclock-init.h: New file.
3208	* sysdeps/unix/i386/i586/Versions: New file.
3209	* sysdeps/unix/i386/i586/clock_settime.c: New file.
3210	* sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
3211	separately by calling __pthread_clock_gettime if this function is
3212	available.  Subtract offset from tsc value before computing time value.
3213
32142001-04-20  Ulrich Drepper  <drepper@redhat.com>
3215
3216	* iconv/iconv_prog.c (print_known_names): If printing goes not to
3217	a tty print in a more machine-friendly way.
3218
3219	* sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
3220	Contributed by Stephen L Moshier <moshier@mediaone.net>.
3221
32222001-04-20  Andreas Jaeger  <aj@suse.de>
3223
3224	* intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
3225
32262001-04-20  Andreas Schwab  <schwab@suse.de>
3227
3228	* sysdeps/m68k/fpu/libm-test-ulps: Update.
3229
32302001-04-19  Alan Modra  <amodra@one.net.au>
3231
3232	* Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
3233	* sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
3234	(CFLAGS-.os): Remove.
3235
3236	* sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
3237
3238	* sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
3239	gregset): Correct for new kernel definitions.
3240
32412001-04-19  Alan Modra  <alan@linuxcare.com.au>
3242
3243	* sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
3244	generate unwind info by hand.
3245
32462001-04-19  Ulrich Drepper  <drepper@redhat.com>
3247
3248	* sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
3249
3250	* configure.in: Correct regular expression for msgfmt.
3251	Patch by Bruno Haible <haible@ilog.fr>.
3252
32532001-04-19  Andreas Jaeger  <aj@suse.de>
3254
3255	* po/el.po: Add comment explaining what's broken.
3256
3257	* po/Makefile (BROKEN_LINGUAS): New.
3258	(ALL_LINGUAS): Don't add broken languages.
3259
32602001-04-19  Roland McGrath  <roland@frob.com>
3261
3262	* sysdeps/mach/hurd/mlock.c: New file.
3263	* sysdeps/mach/hurd/munlock.c: New file.
3264	* sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
3265
3266	* misc/Makefile (routines): Add mlock munlock mlockall munlockall.
3267	* sysdeps/generic/mlock.c: New file.
3268	* sysdeps/generic/munlock.c: New file.
3269	* sysdeps/generic/mlockall.c: New file.
3270	* sysdeps/generic/munlockall.c: New file.
3271	* sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
3272	* sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
3273	mlockall, munlockall): Change caller field to - from EXTRA.
3274	Don't use __ names; not used (and not declared in include/sys/mman.h).
3275
3276	* hurd/privports.c (__get_privileged_ports): Renamed with __.
3277	Use __ names for calls we make.
3278	(get_privileged_ports): Add alias.
3279	* hurd/hurd.h: Declare it with the __ name.
3280	* sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
3281	* sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
3282	* sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
3283
3284	* hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
3285	nothing if it's zero.
3286
32872001-04-19  Matthew Wilcox  <willy@ldl.fc.hp.com>
3288
3289	* sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
3290	Change to return a signed result for compatibility with other
3291	architectures, and correctness.
3292
32932001-04-19  Ulrich Drepper  <drepper@redhat.com>
3294
3295	* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
3296	HPPA always had them.  Patch by Matthew Wilcox <matthew@wil.cx>.
3297
32982001-04-19  Andreas Jaeger  <aj@suse.de>
3299
3300	* configure.in: Require gettext 0.10.36 or newer.
3301
3302	* manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
3303
3304	* po/zh_TW.po: Remove extraneous backslashes.
3305
3306	* sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
3307	variables b and n.
3308
33092001-04-18  Jakub Jelinek  <jakub@redhat.com>
3310
3311	* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
3312	* sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
3313	* sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
3314	* sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
3315	Copy first word of uc_sigmask into __uc_sigmask.
3316	* sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
3317	Save uc_link around trap.  Copy __uc_sigmask into first word of
3318	uc_sigmask, clear the rest.  Make sure setcontext to the created
3319	context doesn't do this though.
3320	* sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
3321	* sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
3322	uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
3323	64bit version, make uc_sigmask __sigset_t in the 32bit version.
3324
33252001-04-19  Andreas Jaeger  <aj@suse.de>
3326
3327	* sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
3328
3329	* rt/Makefile (otherlibs): Added for static NSS.
3330
3331	* glibcbug.in (BUGGLIBC): Send to new alias.
3332
33332001-04-02  Andreas Schwab  <schwab@suse.de>
3334
3335	* Makerules (build-module): Make sure exit codes get checked
3336	properly and remove unnecessary slashes.
3337
33382001-04-17  Ulrich Drepper  <drepper@redhat.com>
3339
3340	* sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3341	Handle kernels which report only three digits after the decimal point.
3342	Reported by Van Okamura <van.okamura@oracle.com>.
3343
3344	* sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
3345
33462001-04-17  David S. Miller  <davem@redhat.com>
3347
3348	* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
3349	* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3350
33512001-04-17  Jakub Jelinek  <jakub@redhat.com>
3352
3353	* sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
3354	desired exceptions are raised for exceptional values.
3355	* math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
3356	cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
3357	clog_test, log_test, log1p_test, tan_test): Increase precision of
3358	expected values to satisfy ldbl-128.
3359	* sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
3360	* sysdeps/arm/libm-test-ulps: Likewise.
3361	* sysdeps/i386/fpu/libm-test-ulps: Likewise.
3362	* sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3363	* sysdeps/m68k/fpu/libm-test-ulps: Likewise.
3364	* sysdeps/mips/fpu/libm-test-ulps: Likewise.
3365	* sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3366	* sysdeps/s390/fpu/libm-test-ulps: Likewise.
3367	* sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3368	* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3369	* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3370
33712001-04-17  Andreas Jaeger  <aj@suse.de>
3372
3373	* configure.in: Move test for critical programs up.
3374
33752001-04-16  Stephen L Moshier  <moshier@mediaone.net>
3376
3377	* sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
3378	Correct the values.
3379	(pSx, qSx): Replace by shorter approximation.
3380	Use f suffix on float constants.
3381
33822001-04-16  Ulrich Drepper  <drepper@redhat.com>
3383
3384	* sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
3385	Contributed by Stephen L Moshier <moshier@mediaone.net>.
3386
3387	* string/string.h: Replace const in attribute list with __const__.
3388
33892001-04-16  Roland McGrath  <roland@frob.com>
3390
3391	* grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
3392	instead of the constant NGROUPS_MAX.  That way, the limit can be
3393	raised in the kernel configuration without having to recompile libc.
3394
3395	* sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
3396	define NGROUPS_MAX; we don't use it here.
3397
33982001-04-16  Andreas Jaeger  <aj@suse.de>
3399
3400	* math/libm-test.inc (atan2_test): Add more testcases.
3401
3402	* iconv/gconv_db.c: Include gconv_charset.h for
3403	__gconv_lookup_alias prototype.
3404
34052001-04-13  Ulrich Drepper  <drepper@redhat.com>
3406
3407	* sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
3408	Contributed by Stephen L Moshier <moshier@mediaone.net>.
3409
34102001-04-13  Jes Sorensen  <jes@linuxcare.com>
3411
3412	* intl/tst-codeset.c: Include string.h to get prototype for strcmp().
3413
34142001-04-13  Jes Sorensen  <jes@linuxcare.com>
3415
3416	* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
3417	explicitly pad struct siginfo instead of relying on compiler padding.
3418
34192001-04-12  Ulrich Drepper  <drepper@redhat.com>
3420
3421	* sysdeps/ia64/Dist: Add elf/entry.h.
3422
3423	* iconvdata/Makefile (distribute): Add TESTS2.
3424
34252001-04-13  Jakub Jelinek  <jakub@redhat.com>
3426
3427	* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
3428	Calculate load address differently.
3429
34302001-04-12  Bruno Haible  <haible@clisp.cons.org>
3431
3432	* iconvdata/TESTS2: New file.
3433	* iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
3434	* iconvdata/testdata/alfabeta..UTF-8: New file.
3435	* iconvdata/testdata/alfabeta..UTF-16.BE: New file.
3436	* iconvdata/testdata/alfabeta..UTF-16.LE: New file.
3437	* iconvdata/testdata/alfabeta..UTF-32.BE: New file.
3438	* iconvdata/testdata/alfabeta..UTF-32.LE: New file.
3439
34402001-04-11  Bruno Haible  <haible@clisp.cons.org>
3441
3442	* iconvdata/utf-32.c: New file.
3443	* iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
3444	* iconvdata/Makefile (modules): Add UTF-32.
3445	(distribute): Add utf-32.c.
3446
34472001-04-11  Bruno Haible  <haible@clisp.cons.org>
3448
3449	* iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
3450	changing it in the state.  After incrementing 'inptr', store it back.
3451	* iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
3452	store it back.
3453
34542001-04-11  Bruno Haible  <haible@clisp.cons.org>
3455
3456	* iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
3457	MIN_NEEDED_FROM.
3458
34592001-04-11  David Mosberger  <davidm@hpl.hp.com>
3460
3461	* sysdeps/ia64/htonl.S: Drop superfluous "alloc".
3462	* sysdeps/ia64/htons.S: Likewise.
3463
3464	* sysdeps/ia64/memset.S: Add unwind directives.
3465	* sysdeps/ia64/strncpy.S: Likewise.
3466	* sysdeps/ia64/strcat.S: Likewise.
3467
3468	* sysdeps/ia64/memccpy.S: Add unwind directives.  Drop superfluous
3469	restore of ar.pfs.
3470	* sysdeps/ia64/strchr.S: Likewise.
3471	* sysdeps/ia64/memmove.S: Likewise.
3472	* sysdeps/ia64/memcpy.S: Likewise.
3473	* sysdeps/ia64/memcmp.S: Likewise.
3474	* sysdeps/ia64/memchr.S: Likewise.
3475	* sysdeps/ia64/strcmp.S: Likewise.
3476	* sysdeps/ia64/strlen.S: Likewise.
3477	* sysdeps/ia64/strcpy.S: Likewise.
3478	* sysdeps/ia64/strncmp.S: Likewise.
3479
34802001-04-11  Jakub Jelinek  <jakub@redhat.com>
3481
3482	* wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
3483	fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
3484	fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
3485	fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
3486
34872001-04-11  Andreas Jaeger  <aj@suse.de>
3488
3489	* sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
3490
34912001-04-11  Andreas Schwab  <schwab@suse.de>
3492
3493	* sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
3494
34952001-04-11  Ulrich Drepper  <drepper@redhat.com>
3496
3497	* sysdeps/arm/stackinfo.h: New file.
3498
34992001-04-08  Thorsten Kukuk  <kukuk@suse.de>
3500
3501	* sunrpc/rpc_main.c: If we compile RPC thread safe, allow
3502	rpcgen to generate thread safe code.
3503
35042001-04-10  Andreas Jaeger  <aj@suse.de>
3505
3506	* math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
3507
35082001-04-10  Ulrich Drepper  <drepper@redhat.com>
3509
3510	* elf/dl-minimal.c (__assert_fail): Change error string.  It's
3511	most of the time no bug in ld.so.
3512	(__assert_perror_fail): Likewise.
3513
35142001-04-11  Hans-Peter Nilsson  <hp@axis.com>
3515
3516	* sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
3517	from struct to unsigned int.
3518
35192001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3520
3521	* elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
3522	AT_IGNOREPPC): New defines.
3523	* sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
3524	* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
3525	Define for newer powerpc kernels.
3526	* sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
3527	DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
3528
35292000-4-10  kaz Kojima  <kkojima@rr.iij4u.or.jp>
3530
3531	* sysdeps/sh/stackinfo.h: New file.
3532
35332001-04-10  Ulrich Drepper  <drepper@redhat.com>
3534
3535	* locale/tst-C-locale.c (run_test): Add tests for locale objects.
3536	* locale/newlocale.c (__newlocale): Correct setting __ctype_b,
3537	__ctype_tolower, and __ctype_toupper elements.
3538
3539	* ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
3540	Reported by Konstantin Osipov <rabid@spylog.ru>.
3541
3542	* sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
3543	the lousy AMD FPU.
3544
35452001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3546
3547	* sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
3548	* sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
3549	* sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
3550	* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
3551
35522001-04-10  Ulrich Drepper  <drepper@redhat.com>
3553
3554	* elf/dl-deps.c (_dl_map_object_deps): Provide complete error
3555	message.  Based on a patch by HJ Lu.
3556
35572001-04-10  Andreas Schwab  <schwab@suse.de>
3558
3559	* math/libm-test.inc (csinh_test): Don't require the invalid
3560	exception for csinh (x + iNaN), but make it optional.
3561
35622001-04-09  David Mosberger  <davidm@hpl.hp.com>
3563
3564	* sysdeps/ia64/elf/start.S (_start): Add unwind directives.
3565
3566	* sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
3567	* sysdeps/ia64/elf/entry.h: New file.
3568	* sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
3569	__start.
3570	* elf/rtld.c: Don't declare ENTRY_POINT.  Use ENTRY_POINT instead
3571	of &ENTRY_POINT.
3572	* sysdeps/generic/dl-sysdep.c: Likewise.
3573	* sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3574	* sysdeps/ia64/elf/start.S: Save base address of register backing
3575	store in __libc_ia64_register_backing_store_base.
3576
35772001-04-10  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3578
3579	* sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
3580	value of getcontext.
3581	* sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3582	* sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
3583	value of setcontext.
3584	* sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3585	* sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
3586	call by changing the saved context.
3587
35882001-04-10  Ulrich Drepper  <drepper@redhat.com>
3589
3590	* sysdeps/alpha/stackinfo.h: New file.
3591	* sysdeps/ia64/stackinfo.h: New file.
3592
35932001-04-10  Andreas Schwab  <schwab@suse.de>
3594
3595	* sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
3596	values.
3597	* sysdeps/m68k/fpu/e_scalb.c: Likewise.
3598
35992001-04-09  Ulrich Drepper  <drepper@redhat.com>
3600
3601	* sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
3602	* sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
3603
3604	* libio/Makefile (distribute): Add fd_to_filename.h.
3605
36062001-04-05  David S. Miller  <davem@redhat.com>
3607
3608	Add hp-timing support for sparcv9/sparc64 targets.
3609	* sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
3610	* sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
3611	* sysdeps/sparc/sparc64/hp-timing.c: New file
3612	* sysdeps/sparc/sparc64/hp-timing.h: New file
3613	* sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
3614	* sysdeps/sparc/sparc64/Makefile: Likewise.
3615
36162001-04-09  Jakub Jelinek  <jakub@redhat.com>
3617
3618	* sysdeps/generic/fd_to_filename.h: New file.
3619	* sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
3620	* libio/freopen.c (freopen): If FILENAME is NULL, try to get
3621	filename from the open file descriptor.
3622	* libio/freopen64.c (freopen64): Likewise.
3623
36242001-04-09  Bruno Haible  <haible@clisp.cons.org>
3625
3626	* misc/error.c (error): fflush stdout also if
3627	error_print_progname != NULL.
3628	(error_at_line): Likewise.
3629
36302001-04-07  Bruno Haible  <haible@clisp.cons.org>
3631
3632	* intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
3633	(struct binding): Add codeset_cntr field.
3634	(_nl_load_domain): Add domainbinding argument.
3635	(_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
3636	(_nl_find_msg): New declaration, moved here from loadinfo.h.
3637	* intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
3638	(_nl_make_l10nflist): Remove domainbinding argument.
3639	(_nl_find_msg): Move declaration to gettextP.h.
3640	* intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
3641	to 0.  Increment it when ->codeset is changed.
3642	* intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
3643	(_nl_find_msg): Add domainbinding argument.  Reinitialize the converter
3644	if domainbinding->codeset_cntr has been incremented.
3645	* intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
3646	_nl_make_l10nflist().  Pass it to _nl_load_domain() instead.
3647	* intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
3648	* intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
3649	 from _nl_load_domain.  Append //TRANSLIT also when using libiconv.
3650	(_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
3651	(_nl_load_domain): Add domainbinding argument.  Call
3652	_nl_init_domain_conv.
3653	(_nl_unload_domain): Call _nl_free_domain_conv.
3654	* intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
3655	(test-srcs): Add tst-codeset.
3656	(tests): Depend on tst-codeset.out.
3657	(tst-codeset.out): New rule.
3658	(CFLAGS-tst-codeset.c): New variable.
3659	* intl/tst-codeset.sh: New file.
3660	* intl/tstcodeset.po: New file.
3661	* intl/tst-codeset.c: New file.
3662	* locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
3663	calls.
3664
36652001-04-07  Roland McGrath  <roland@frob.com>
3666
3667	* mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
3668
36692001-03-31  Roland McGrath  <roland@frob.com>
3670
3671	* sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
3672	copying send rights into child.  When we hit our name for our proc
3673	port, just copy NEWPROC directly instead of repeating proc_task2proc
3674	to install the child's port.
3675
36762001-04-08  Roland McGrath  <roland@frob.com>
3677
3678	* Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
3679	in second column, to provide default values for third column.
3680	* shlib-versions: Add comments about using DEFAULT in second column.
3681	(s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
3682	(cris-.*-linux.*): Likewise.
3683
36842001-04-09  Ulrich Drepper  <drepper@redhat.com>
3685
3686	* Makefile (distribute): Add scripts/documented.sh.
3687	* scripts/documented.sh: New file.
3688
36892001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3690
3691	* sysdeps/unix/sysv/linux/cris/Dist: New file.
3692	* sysdeps/unix/sysv/linux/cris/Makefile: New file.
3693	* sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
3694	* sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
3695	* sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
3696	* sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
3697	* sysdeps/unix/sysv/linux/cris/brk.c: New file.
3698	* sysdeps/unix/sysv/linux/cris/chown.c: New file.
3699	* sysdeps/unix/sysv/linux/cris/clone.S: New file.
3700	* sysdeps/unix/sysv/linux/cris/fchown.c: New file.
3701	* sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
3702	* sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
3703	* sysdeps/unix/sysv/linux/cris/getegid.c: New file.
3704	* sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
3705	* sysdeps/unix/sysv/linux/cris/getgid.c: New file.
3706	* sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
3707	* sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
3708	* sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
3709	* sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
3710	* sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
3711	* sysdeps/unix/sysv/linux/cris/getuid.c: New file.
3712	* sysdeps/unix/sysv/linux/cris/lchown.c: New file.
3713	* sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
3714	* sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
3715	* sysdeps/unix/sysv/linux/cris/mmap.S: New file.
3716	* sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
3717	* sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
3718	* sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
3719	* sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
3720	* sysdeps/unix/sysv/linux/cris/semctl.c: New file.
3721	* sysdeps/unix/sysv/linux/cris/setegid.c: New file.
3722	* sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
3723	* sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
3724	* sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
3725	* sysdeps/unix/sysv/linux/cris/setgid.c: New file.
3726	* sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
3727	* sysdeps/unix/sysv/linux/cris/setregid.c: New file.
3728	* sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
3729	* sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
3730	* sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
3731	* sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
3732	* sysdeps/unix/sysv/linux/cris/setuid.c: New file.
3733	* sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
3734	* sysdeps/unix/sysv/linux/cris/socket.S: New file.
3735	* sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
3736	* sysdeps/unix/sysv/linux/cris/syscall.S: New file.
3737	* sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
3738	* sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
3739	* sysdeps/unix/sysv/linux/cris/vfork.S: New file.
3740	* sysdeps/unix/sysv/linux/cris/xstat.c: New file.
3741
37422001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3743
3744	* sysdeps/cris/Dist: New file.
3745	* sysdeps/cris/Implies: New file.
3746	* sysdeps/cris/Makefile: New file.
3747	* sysdeps/cris/__longjmp.S: New file.
3748	* sysdeps/cris/_mcount.S: New file.
3749	* sysdeps/cris/bits/endian.h: New file.
3750	* sysdeps/cris/bits/setjmp.h: New file.
3751	* sysdeps/cris/bits/string.h: New file.
3752	* sysdeps/cris/dl-machine.h: New file.
3753	* sysdeps/cris/elf/start.S: New file.
3754	* sysdeps/cris/machine-gmon.h: New file.
3755	* sysdeps/cris/memcopy.h: New file.
3756	* sysdeps/cris/memusage.h: New file.
3757	* sysdeps/cris/setjmp.S: New file.
3758	* sysdeps/cris/sysdep.h: New file.
3759	* sysdeps/cris/wordcopy.c: New file.
3760
37612001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3762
3763	* elf/elf.h: Add new relocations for CRIS.
3764
37652001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3766
3767	* shlib-versions: Add cases for Linux on CRIS.
3768
37692001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3770
3771	* configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
3772	';' for comments and '@' for line separator.
3773
37742001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3775
3776	* sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
3777	typo; s/==/=/ for assignment.
3778
37792001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3780
3781	* malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
3782
37832001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3784
3785	* iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
3786	empty input before checking full output.
3787
37882001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3789
3790	* iconv/gconv.c (__gconv): Don't derefer parameter cd before
3791	checking if == -1L.
3792
37932001-04-08  Ulrich Drepper  <drepper@redhat.com>
3794
3795	* inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
3796
37972001-04-07  Stephen L Moshier  <moshier@mediaone.net>
3798
3799	* sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
3800	return values.
3801
38022001-04-07  Ulrich Drepper  <drepper@redhat.com>
3803
3804	* stdlib/tst-setcontext.c (main): Add a test for setcontext.
3805
3806	* sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
3807	* sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
3808	* sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
3809	* sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
3810	* sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
3811	* sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
3812
38132001-04-07  Andreas Jaeger  <aj@suse.de>
3814
3815	* sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
3816	instead of separate sin and cos.
3817	(__ieee754_j1l): Likewise.
3818
38192001-04-06  Ulrich Drepper  <drepper@redhat.com>
3820
3821	* sysdeps/ia64/abort-instr.h: New file.  Code by David Mosberger.
3822
3823	* sysdeps/ia64/atomicity.h: New file.  Copied from libstdc++.
3824
3825	* sysdeps/i386/i486/atomicity.h: Clean up the asms.
3826
3827	* sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
3828	available.
3829	* sysdeps/generic/e_scalbf.c: Likewise.
3830	* sysdeps/generic/e_scalbl.c: Likewise.
3831	Patch by Mark Hatle <fray@mvista.com>.
3832
38332001-04-05  David S. Miller  <davem@redhat.com>
3834
3835	* sysdeps/sparc/abort-instr.h: New file.
3836
38372001-04-05  Matt Wilson  <msw@redhat.com>
3838
3839	* sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
3840	added code to parse new 2.4 format.
3841	(GET_NPROCS_CONF_PARSER): Likewise.
3842
38432001-04-05  David S. Miller  <davem@redhat.com>
3844
3845	* scripts/config.sub: Recognize sparcv9b like sparcv9.
3846	* configure.in: Add sparcv9b.
3847	* sysdeps/sparc/sparc32/sparcv9b/Implies: New file
3848	* sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
3849	* sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
3850
38512001-04-06  David Mosberger  <davidm@hpl.hp.com>
3852
3853	* stdlib/tst-setcontext.c: Move st2[] to global scope.
3854	(f2): Verify that stack pointer is inside st2[].
3855
3856	* sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
3857	* sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
3858
38592001-04-06  Ulrich Drepper  <drepper@redhat.com>
3860
3861	* timezone/antarctica: Update from tzdata2001b.
3862	* timezone/asia: Likewise.
3863	* timezone/australasia: Likewise.
3864	* timezone/europe: Likewise.
3865	* timezone/northamerica: Likewise.
3866
3867	* iconv/iconv_open.c: Move strip and upstr definitions...
3868	* iconv/gconv_charset.h: ...here.  New file.
3869	* iconv/gconv_db.c (once): Move to file level.
3870	(do_lookup_alias): Split out from __gconv_find_transform.
3871	(__gconv_find_transform): Call do_lookup_alias.
3872	(__gconv_loopup_alias): New function.
3873	* locale/langinfo.h: Define _NL_*_CODESET values for all categories
3874	but LC_CTYPE.
3875	* locale/categories.def: Add entries for new _NL_*_CODESET values.
3876	* locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
3877	* locale/C-address.c: Initialize _NL_*_CODESET element.
3878	* locale/C-collate.c: Likewise.
3879	* locale/C-identification.c: Likewise.
3880	* locale/C-measurement.c: Likewise.
3881	* locale/C-messages.c: Likewise.
3882	* locale/C-monetary.c: Likewise.
3883	* locale/C-name.c: Likewise.
3884	* locale/C-numeric.c: Likewise.
3885	* locale/C-paper.c: Likewise.
3886	* locale/C-telephone.c: Likewise.
3887	* locale/C-time.c: Likewise.
3888	* locale/localeinfo.h: Declare _nl_C_codeset.
3889	* locale/C_name.c: Define _nl_C_codeset.
3890	* locale/findlocale.c: Before accepting locale check that the used
3891	charset does not conflict with what the locale name said.
3892	* locale/programs/ld-address.c: Emit codeset information.
3893	* locale/programs/ld-collate.c: Likewise.
3894	* locale/programs/ld-identification.c: Likewise.
3895	* locale/programs/ld-measurement.c: Likewise.
3896	* locale/programs/ld-messages.c: Likewise.
3897	* locale/programs/ld-monetary.c: Likewise.
3898	* locale/programs/ld-name.c: Likewise.
3899	* locale/programs/ld-numeric.c: Likewise.
3900	* locale/programs/ld-paper.c: Likewise.
3901	* locale/programs/ld-telephone.c: Likewise.
3902	* locale/programs/ld-time.c: Likewise.
3903
3904	* localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
3905	if the locale data couldn't be found.
3906
3907	* string/Makefile: Define tst-strxfrm-ENV.
3908
3909	* ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
3910
39112001-04-06  Andreas Jaeger  <aj@suse.de>
3912
3913	* include/sys/profil.h: New file.
3914
3915	* dlfcn/modatexit.c: Add prototypes to silence GCC.
3916	* dlfcn/modcxaatexit.c: Likewise.
3917	* elf/globalmod1.c: Likewise.
3918
39192001-04-05  David S. Miller  <davem@redhat.com>
3920
3921	* elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
3922	* sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
3923	capability flags table and HWCAP_IMPORTANT, increase
3924	_DL_HWCAP_COUNT to 6.
3925	* sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3926
39272001-04-04  David Mosberger  <davidm@hpl.hp.com>
3928
3929	* sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
3930	initialization of stack_end (bug reported by Zheng Gengbin
3931	<gzheng@students.uiuc.edu>).
3932
39332001-04-05  Ulrich Drepper  <drepper@redhat.com>
3934
3935	* sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
3936
39372001-04-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3938
3939	* sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
3940
39412001-04-05  Ulrich Drepper  <drepper@redhat.com>
3942
3943	* sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
3944	* sysdeps/i386/fpu/e_asinl.S: Removed.  Too inaccurate.
3945
3946	* login/tst-utmp.c: Make file usable again in tst-utmpx.c.
3947
39482001-04-04  Ulrich Drepper  <drepper@redhat.com>
3949
3950	* sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
3951	define simple replacements here.  Patch by Michael Keezer.
3952
3953	* sysdeps/ieee754/ldbl-128/e_logl.c: New file.
3954	* sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
3955	Contributed by Stephen L Moshier <moshier@mediaone.net>.
3956
3957	* posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
3958	anymore.
3959
39602001-04-01  Andreas Jaeger  <aj@suse.de>
3961
3962	* sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
3963	alias.
3964
3965	* sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
3966
39672001-04-04  Ulrich Drepper  <drepper@redhat.com>
3968
3969	* sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
3970	* sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
3971
39722001-04-04  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3973
3974	* sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
3975	* sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
3976	* sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
3977	* sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
3978	* sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
3979	* sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
3980	* sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
3981	* sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
3982	* sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
3983
39842001-04-04  Andreas Jaeger  <aj@suse.de>
3985
3986	* sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
3987	place.
3988
39892001-04-04  Ulrich Drepper  <drepper@redhat.com>
3990
3991	* sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
3992	* sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
3993	* sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
3994	(unsigned_dec): Likewise.
3995	Patch by atai@jezebel.dreamhost.com.
3996
3997	* nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
3998	pointer to int as last parameter of yp_match.
3999	Patch by kanazawa@flab.fujitsu.co.jp.
4000
40012001-04-03  Ulrich Drepper  <drepper@redhat.com>
4002
4003	* resolv/netdb.h (gai_strerror): Make return value const.
4004	* sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
4005	* sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
4006	Add strings for new error values.
4007
40082001-03-29  Michael Keezer  <mkeezer@redhat.com>
4009
4010	* posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
4011	* login/tst-utmp.c: Handle case where ut_tv is not available but
4012	ut_time is.
4013	* sysdeps/unix/sysv/aix/utmpx.h: New file.
4014	* sysdeps/unix/sysv/aix/bits/utmpx.h: Added
4015	_HAVE_UT_TYPE/PID/ID/TV/HOST defines.
4016	* sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
4017	* sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
4018	to access RTCU timer reg.
4019	* sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
4020	added dl-libc, dl-open,dl-sym, dl-close to misc.
4021	* sysdeps/unix/sysv/aix/start.c: New file.  Start code.
4022	* sysdeps/unix/sysv/aix/dlldr.h: New file.  AIX __loadx defines.
4023	* sysdeps/unix/sysv/aix/dl-close.c: New file.  AIX dl-close.
4024	* sysdeps/unix/sysv/aix/dl-open.c: New file.  AIX dl-open.
4025	* sysdeps/unix/sysv/aix/dl-sym.c: New file.  AIX dl-sym.
4026	* sysdeps/unix/sysv/aix/dl-libc.c: New file.  libc_dl-xxx support.
4027	* sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
4028	GLIBC_2_2).
4029	* sysdeps/generic/strtoull.c: Likewise.
4030	* sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
4031	* sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
4032	sysdeps/generic/memset.c.
4033	* sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
4034
40352001-04-03  Ulrich Drepper  <drepper@redhat.com>
4036
4037	* iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
4038	* locale/programs/charmap.c: Define null_pointer if
4039	NEED_NULL_POINTER is defined.
4040
4041	* misc/dirname.c (dirname): Handle multiple slashes correctly.
4042
40432001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4044
4045	* sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
4046
40472001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4048
4049	* sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
4050	* sysdeps/s390/s390-64/bcopy.S: Likewise.
4051	* sysdeps/s390/s390-32/mempcy.S: Likewise.
4052	* sysdeps/s390/s390-64/memcpy.S: Likewise.
4053
40542001-04-02  Bruno Haible  <haible@clisp.cons.org>
4055
4056	* manual/message.texi (Advanced gettext functions): More specific
4057	syntax in the plural formula examples.
4058
40592001-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4060
4061	* sysdeps/powerpc/atomicity.h: Silence warnings.
4062	* sysdeps/powerpc/dl-machine.h: Likewise.
4063	* sysdeps/powerpc/register-dump.h: Likewise.
4064	* sysdeps/powerpc/fpu/s_lrint.c: Likewise.
4065
40662001-04-02  Andreas Jaeger  <aj@suse.de>
4067
4068	* misc/tst-dirname.c (main): Add more tests, derived from a bug
4069	report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
4070
40712001-04-01  Andreas Jaeger  <aj@suse.de>
4072
4073	* debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
4074	is installed there.
4075	* malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
4076
40772001-04-01  H.J. Lu  <hjl@gnu.org>
4078
4079	* posix/annexc.c (macrofile): Renamed from TMPFILE and set to
4080	tmpnam (NULL).
4081	* stdlib/isomac.c (macrofile): Likewise.
4082
40832001-03-30  Thorsten Kukuk  <kukuk@suse.de>
4084
4085	* inet/rcmd.c: Allow AF_UNSPEC as parameter.
4086	* nis/ypclnt.c (yp_all): Print error message only at last try,
4087	check for protocoll error only if we don't have a network error.
4088
40892001-04-02  Andreas Schwab  <schwab@suse.de>
4090
4091	* resolv/res_data.c (res_isourserver): Fix cast.
4092
40932001-04-02  Andreas Jaeger  <aj@suse.de>
4094
4095	* sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
4096	__umount2.
4097
4098	* sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
4099	strings.
4100	(ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
4101
4102	* sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
4103	initializers.
4104	* sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
4105
4106	* elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
4107	warning about unused variable.
4108
4109	* string/string.h (strndupa): Add cast for C++ conformance.
4110	(strdupa): Likewise.
4111	Fixes PR libc/2173, reported by tbrowder@home.com.
4112
41132001-03-30  Roland McGrath  <roland@frob.com>
4114
4115	* sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
4116	options after $(build-module), which is no longer a single command.
4117	(LDFLAGS-link-rpcuserlibs): New variable to hold those options.
4118	(LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
4119	variables using it.  Reported by Mark Kettenis <kettenis@gnu.org>.
4120
41212001-03-11  Roland McGrath  <roland@frob.com>
4122
4123	* elf/rtld.c (dl_main): Add cast to quiet warning.
4124	* elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4125	* iconv/gconv_conf.c (__gconv_get_path): Likewise.
4126	(__gconv_read_conf): Likewise.
4127	* iconv/gconv_db.c (gen_steps): Likewise.
4128	(__gconv_find_transform): Likewise.
4129	* locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
4130	(fopen_uncompressed): Use const in second argument's type.
4131
41322001-03-11  Roland McGrath  <roland@frob.com>
4133
4134	* sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
4135
4136	* mach/mach_error.h: Fix ancient #endif syntax.
4137	* hurd/hurdmalloc.c: Likewise.
4138
4139	* sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
4140	compare_and_swap): Add volatile qualifier to first arg, to bring
4141	these prototypes in line with all the other implementations.
4142	Add a #warning to remind the builder that these are not atomic.
4143
41442001-03-04  Roland McGrath  <roland@frob.com>
4145
4146	* hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
4147	member of TEMP_F so its type is _IO_FILE * as expected.
4148
4149	* hurd/fopenport.c (seekio): Conditionalize type of POS argument
4150	on [USE_IN_LIBIO].  Check the value for overflow, since for libio
4151	it might exceed off_t's range.
4152
41532001-02-25  Roland McGrath  <roland@frob.com>
4154
4155	* sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
4156	* sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
4157
4158	* sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
4159	macro instead of an inline function,
4160	(MSG_EXAMINE): Likewise.
4161
4162	* hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
4163
4164	* hurd/get-host.c: Include <string.h> for decls of built-ins.
4165	* hurd/hurdchdir.c: Likewise.
4166	* sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
4167	* sysdeps/mach/hurd/opendir.c: Likewise.
4168
4169	* mach/mach_init.c: Include <unistd.h> for _exit decl.
4170
4171	* mach/errsystems.awk: Give output file a trailing newline.
4172
4173	* mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
4174	the script will use our compiler for the cpp stage.
4175
4176	With --enable-all-warnings we get a whole bunch of warnings,
4177	and these are just a few fixes; there are more needed to silence it.
4178	* mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
4179	decls before extern inline defns to quiet gcc warning.
4180	* hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
4181	* sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
4182
41832001-03-31  Andreas Jaeger  <aj@suse.de>
4184
4185	* sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
4186	(ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
4187	(ARPHRD_CISCO): New.
4188	Changes from Linux 2.4.3.
4189
41902001-03-30  Isamu Hasegawa  <isamu@yamato.ibm.com>
4191
4192	* posix/regex.c: Avoid an access violation if malloc fails.
4193
41942001-03-30  Andreas Jaeger  <aj@suse.de>
4195
4196	* sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
4197
41982001-03-29  Ulrich Drepper  <drepper@redhat.com>
4199
4200	* posix/regex.c: Remove unnecessary ifs.
4201
4202	* math/bits/mathcalls.h: Remove infnan declaration.
4203
42042001-03-29  H.J. Lu  <hjl@gnu.org>
4205
4206	* include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
4207	and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
4208	* stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
4209
42102001-03-29  Isamu Hasegawa  <isamu@yamato.ibm.com>
4211
4212	* posix/regex.c: Fix typo and add a sentinel.
4213
42142001-03-29  Ulrich Drepper  <drepper@redhat.com>
4215
4216	* sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
4217	O_NOFOLLOW.  Suggested by Christoph Roland.
4218
42192001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4220
4221	* sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
4222	* sysdeps/s390/s390-32/bits/string.h: Remove.
4223	* sysdeps/s390/s390-64/bits/string.h: Remove.
4224	* sysdeps/s390/s390-32/strcmp.S: New file.
4225	* sysdeps/s390/s390-64/strcmp.S: New file.
4226
42272001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4228
4229	* sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
4230	* sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4231
42322001-03-27  Ulrich Drepper  <drepper@redhat.com>
4233
4234	* version.h (VERSION): Bump to 2.2.3.
4235
4236	* stdlib/isomac.c (fmt): Don't define _LIBC.
4237	* include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
4238	LOW_HALF only if _LIBC is defined.
4239
4240	* sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
4241
4242	* posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
4243	and +().
4244	* posix/tst-fnmatch.input: Add test cases for matching empty strings.
4245
4246	* sysdeps/ieee754/dbl-64/endian.h: Removed.  Move definitions...
4247	* include/endian.h: ...to here.
4248
42492001-03-27  kaz Kojima  <kkojima@rr.iij4u.or.jp>
4250
4251	* sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
4252	* sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
4253
42542001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4255
4256	* sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
4257
42582001-03-26  Ulrich Drepper  <drepper@redhat.com>
4259
4260	* sysdeps/ia64/fpu/Dist: Add new files to distribute.
4261	* sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
4262	* sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
4263
4264	* gmon/Makefile (headers): Add sys/profil.h.
4265
42662001-03-18  Andreas Jaeger  <aj@suse.de>
4267
4268	* manual/install.texi (Tools for Compilation): Advise to use GCC
4269	2.95.3.
4270	(Supported Configurations): Mention s390x.
4271
42722001-03-26  Ben Collins  <bcollins@debian.org>
4273
4274	* sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
4275	defines to match other architectures.
4276
42772001-03-26  Ulrich Drepper  <drepper@redhat.com>
4278
4279	* libio/Makefile (tests): Add tst-ext.
4280	* libio/tst-ext.c: New file.
4281
4282	* libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
4283
42842001-03-25  Ulrich Drepper  <drepper@redhat.com>
4285
4286	Add changes which were in this form in the original patch by
4287	Eric Norum <eric.norum@usask.ca>.
4288	* include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
4289	svc_max_pollfd.
4290	* sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
4291	__rpc_thread_createerr, __rpc_thread_svc_pollfd, and
4292	__rpc_thread_svc_max_pollfd.
4293	Define svc_fdset, get_rpc_createerr, svc_pollfd, and
4294	svc_max_pollfd.
4295	* sunrpc/rpc_thread.c: Handle first thread special, it uses the
4296	global variables.
4297	Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
4298	__rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
4299	* sunrpc/Versions [libc] (GLIBC_2.2.3): Export  __rpc_thread_svc_fdset,
4300	__rpc_thread_createerr, __rpc_thread_svc_pollfd, and
4301	__rpc_thread_svc_max_pollfd.
4302	* sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
4303	get_rpc_createerr.
4304	* sunrpc/clnt_perr.c: Likewise.
4305	* sunrpc/clnt_simp.c: Likewise.
4306	* sunrpc/clnt_tcp.c: Likewise.
4307	* sunrpc/clnt_udp.c: Likewise.
4308	* sunrpc/clnt_unix.c: Likewise.
4309	* sunrpc/pm_getport.c: Likewise.
4310
4311	* sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
4312	syscall checks for negative n so don't test here as well.
4313
43142001-03-23  Jes Sorensen  <jes@linuxcare.com>
4315
4316	* sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
4317	* sysdeps/ia64/sysdep.h: ...here.
4318
4319	* sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
4320	* sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
4321
4322	* sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
4323	declare instead of LEAF().  Suggestion from David Mosberger.
4324
43252001-03-21  David Mosberger  <davidm@hpl.hp.com>
4326
4327	* sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
4328	directives.
4329	(PSEUDO): Drop .psr and .lsb directives.
4330
4331	* sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto.  Add unwind
4332	directives.
4333	* sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
4334
4335	* sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
4336	directives etc.
4337	* sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
4338	* sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
4339	* sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
4340	longer needed).  Add unwind directives.
4341
4342	* sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
4343	ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
4344
43452001-03-21  Paul Eggert  <eggert@twinsun.com>
4346
4347	* posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
4348	(RE_SYNTAX_POSIX_EGREP): Use it.
4349	* posix/regex.c (regex_compile): Implement it.
4350
43512001-03-21  Paul Eggert  <eggert@twinsun.com>
4352
4353	* posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
4354	Rewrite to avoid duplicate code.
4355
43562001-03-21  H.J. Lu  <hjl@gnu.org>
4357
4358	* elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
4359	for cross-compiling.
4360	($(objpfx)tst-pathopt.out): Undo the last change.
4361
43622001-03-24  Mark Kettenis  <kettenis@gnu.org>
4363
4364	* sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
4365	sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
4366
4367	* sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
4368	(_dl_argv): Declare.
4369	(init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
4370
43712001-03-22  Andreas Jaeger  <aj@suse.de>
4372
4373	* iconvdata/Makefile (generated): Add iconv-test.xxx.
4374
4375	* posix/Makefile (generated): Add bug-regex2.mtrace and
4376	bug-regex2-mem.
4377
43782001-03-21  Ulrich Drepper  <drepper@redhat.com>
4379
4380	* csu/version.c (__gnu_get_libc_release): Add prototype.
4381	(__gnu_get_libc_version): Likewise.
4382	* include/gnu/libc-version.h: Remove prototypes for not exported
4383	functions.
4384
43852001-03-21  Jes Sorensen  <jes@linuxcare.com>
4386
4387	* sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
4388	for internationalized printfs to work.
4389
43902001-03-09  Bruno Haible  <haible@clisp.cons.org>
4391
4392	* intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
4393	avoid compiler warning.
4394	(_nl_find_msg): Add casts to avoid compiler warnings.
4395
43962001-03-21  Ulrich Drepper  <drepper@redhat.com>
4397
4398	* gmon/Makefile (routines): Add sprofil.
4399	(tests): Add tst-sprofil.
4400	(noprof): Add sprofil.
4401	* gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
4402
44032001-03-20  David Mosberger  <davidm@hpl.hp.com>
4404
4405	* sysdeps/generic/sprofil.c: New file.
4406	* sysdeps/posix/sprofil.c: New file.
4407	* gmon/tst-sprofil.c: New file.
4408	* gmon/sys/profil.h: New file.
4409
44102001-03-20  Andreas Schwab  <schwab@suse.de>
4411
4412	* include/unistd.h: Adjust prototype of __gethostname.
4413
44142001-03-20  Jakub Jelinek  <jakub@redhat.com>
4415
4416	* sysdeps/sparc/stackinfo.h: New file.
4417
44182001-03-21  Andreas Jaeger  <aj@suse.de>
4419
4420	* elf/global.c (main): Use proper prototype.
4421
44222001-03-20  Ulrich Drepper  <drepper@redhat.com>
4423
4424	* sunrpc/Makefile (routines): Add rpc_thread.
4425	(CPPFLAGS): Add -D_RPC_THREAD_SAFE.
4426	* sunrpc/rpc_thread.c: New file.
4427	* sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
4428	* sunrpc/auth_none.c: Don't use global variables.  Access state in
4429	thread-local storage.
4430	* sunrpc/clnt_perr.c: Likewise.
4431	* sunrpc/clnt_raw.c: Likewise.
4432	* sunrpc/clnt_simp.c: Likewise.
4433	* sunrpc/key_call.c: Likewise.
4434	* sunrpc/rpc_common.c: Likewise.
4435	* sunrpc/svc.c: Likewise.
4436	* sunrpc/svc_raw.c: Likewise.
4437	* sunrpc/svc_simple.c: Likewise.
4438	* sunrpc/svcauth_des.c: Likewise.
4439	* hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
4440	_HURD_THREADVAR_RPC_VARS.
4441	* sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
4442	* include/rpc/rpc.h: Define data structures for internal thread-local
4443	"global" variables.
4444	Based on patches by Eric Norum <eric.norum@usask.ca>.
4445
4446	* elf/dl-load.c: Various little optimizations.
4447
4448	* sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
4449	LINUX_LINK_MAX only if the statfs function is not implemented for
4450	the filesystem.
4451
4452	* sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
4453	LINUX_LINK_MAX only if the fstatfs function is not implemented for
4454	the filesystem.
4455
44562001-03-19  Ulrich Drepper  <drepper@redhat.com>
4457
4458	* elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
4459
4460	* elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
4461	(_dl_dst_substitute): Likewise.
4462
44632001-03-17  Bruno Haible  <haible@clisp.cons.org>
4464
4465	* intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
4466
44672001-03-17  Bruno Haible  <haible@clisp.cons.org>
4468
4469	* intl/gettextP.h (struct expression): Add operators lnot, less_than,
4470	greater_than, less_or_equal, greater_or_equal.  Replace args2/args3
4471	union by a 'nargs' counter and an 'args[]' array.
4472	* intl/plural.y: Don't include stdarg.h.
4473	(new_exp): Take an array of arguments instead of varargs.
4474	(new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
4475	('?' ':'): Make right-associative.
4476	(EQUOP2): New token, replaces '=' and '!'.
4477	(CMPOP2): New token.
4478	(ADDOP2): New token, replaces '+' and '-'.
4479	(MULOP2): New token, replaces '*', '/' and '%'.
4480	('!'): New token.
4481	(exp): Add rules for CMPOP2 and '!'.  Don't call YYABORT.
4482	(start): Call YYABORT here.
4483	(FREE_EXPRESSION): Update.
4484	(yylex): Don't skip "\\n".  Recognize comparison and '!' operators.
4485	Update for new token symbols.
4486	* intl/loadmsgcat.c (plvar, plone, germanic_plural,
4487	init_germanic_plural): Update.
4488	* intl/dcigettext.c (_nl_find_msg): Optimize for space.
4489	(plural_eval): Recognize comparison and '!' operators.  Optimize for
4490	space.
4491
44922001-03-10  Bruno Haible  <haible@clisp.cons.org>
4493
4494	* intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
4495	NULL any more.
4496
44972001-01-05  Bruno Haible  <haible@clisp.cons.org>
4498
4499	* intl/loadmsgcat.c: Include headers needed for alloca().
4500	(freea): New macro.
4501	(_nl_load_domain): Add fallback code for platforms lacking alloca.
4502	* intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
4503	(freea): New macro.
4504	(read_alias_file): Simplify fallback code for platforms lacking
4505	alloca.
4506
45072001-01-07  Bruno Haible  <haible@clisp.cons.org>
4508
4509	* intl/gettextP.h (__gettextdebug): Remove declaration.
4510	(__gettext_free_exp, __gettextparse): Convert prototype to K&R C
4511	syntax.
4512	(gettext_free_exp__, gettextparse__): New non-libc declarations.
4513	* intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
4514	not __gettextparse, __gettext_free_exp.
4515	* intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
4516
45172001-02-24  Bruno Haible  <haible@clisp.cons.org>
4518
4519	* intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
4520
45212001-01-05  Bruno Haible  <haible@clisp.cons.org>
4522
4523	* intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
4524	lacking strtoul, like SunOS4.
4525
45262001-01-05  Bruno Haible  <haible@clisp.cons.org>
4527
4528	* intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
4529
45302001-01-05  Bruno Haible  <haible@clisp.cons.org>
4531
4532	* intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
4533	syntax.
4534	* intl/dcigettext.c (transcmp): Convert to K&R C syntax.
4535	* intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
4536	* intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
4537	syntax.
4538
45392001-01-07  Bruno Haible  <haible@clisp.cons.org>
4540
4541	* intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
4542	bindtextdomain__, bind_textdomain_codeset__): New declarations, from
4543	old libgettext.h.
4544	* intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
4545	* intl/dcgettext.c: Likewise.
4546	* intl/dcigettext.c: Likewise.
4547	* intl/dcngettext.c: Likewise.
4548	* intl/dngettext.c: Likewise.
4549	* intl/finddomain.c: Likewise.
4550	* intl/ngettext.c: Likewise.
4551	* intl/textdomain.c: Likewise.
4552	* intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
4553	Include gettextP.h.
4554	* intl/gettext.c: Likewise.  Don't include locale.h.
4555
45562001-03-17  Bruno Haible  <haible@clisp.cons.org>
4557
4558	* intl/gettextP.h (ZERO): New macro.
4559	(struct binding): Always use ZERO.
4560	* intl/bindtextdom.c (offsetof): Provide fallback for platforms that
4561	lack it, like SunOS4.
4562	(set_binding_values): Use offsetof, not sizeof.
4563	* intl/dcigettext.c (offsetof): Provide fallback for platforms that
4564	lack it, like SunOS4.
4565	(ZERO): Remove macro.
4566	(struct transmem_list): Use ZERO.
4567	(DCIGETTEXT): Use offsetof, not sizeof.
4568
45692001-03-17  Bruno Haible  <haible@clisp.cons.org>
4570
4571	* intl/gettextP.h: Include <stddef.h>.  Include gettext.h, for
4572	nls_uint32.
4573	* intl/bindtextdom.c: Don't include gettext.h.
4574	* intl/dcgettext.c: Likewise.
4575	* intl/dcigettext.c: Likewise.
4576	* intl/dcngettext.c: Likewise.
4577	* intl/dngettext.c: Likewise.
4578	* intl/finddomain.c: Likewise.
4579	* intl/localealias.c: Likewise.
4580	* intl/ngettext.c: Likewise.
4581	* intl/plural.y: Likewise.
4582	* intl/textdomain.c: Likewise.
4583
45842001-03-17  Bruno Haible  <haible@clisp.cons.org>
4585
4586	* intl/gettext.h: Don't include <stdio.h>.
4587
45882001-03-17  Bruno Haible  <haible@clisp.cons.org>
4589
4590	* intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
4591	* intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
4592
45932001-03-19  Ulrich Drepper  <drepper@redhat.com>
4594
4595	* sysdeps/unix/i386/i686/tempname.c: New file.
4596
4597	* sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
4598	defined use this macro to get some bits of randomness instead of
4599	the usual gettimeofday or time calls.
4600
46012001-03-16  Paul Eggert  <eggert@twinsun.com>
4602
4603	* sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
4604	not defined, and if UINT64_MAX is not defined.
4605
46062001-03-19  Ulrich Drepper  <drepper@redhat.com>
4607
4608	* elf/cache.c: Mark and have translated a few more messages.
4609
46102001-03-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4611
4612	* elf/cache.c: Add case for FLAG_S390_LIB64.
4613	* sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
4614	* sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
4615	* sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
4616
46172001-03-19  Ulrich Drepper  <drepper@redhat.com>
4618
4619	* string/Makefile (tests): Add tst-strxfrm.
4620	* string/tst-strxfrm.c: New file.  Based on a test case by Paul Eggert.
4621	* string/Depend: New file.
4622
46232001-03-19  Paul Eggert  <eggert@twinsun.com>
4624
4625	* string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
4626	when given the empty string in nontrivial locales.
4627
46282001-03-17  H.J. Lu  <hjl@gnu.org>
4629
4630	* manual/Makefile (install): Use $(INSTALL_DATA) instead of
4631	cp to install `dir'.
4632
46332001-03-19  Andreas Schwab  <schwab@suse.de>
4634
4635	* Makerules (build-shlib): Make sure exit codes get checked
4636	properly.
4637
46382001-03-18  Ulrich Drepper  <drepper@redhat.com>
4639
4640	* Makerules (build-shlib): Remove unnecessary slashes introduced in
4641	last change.
4642
4643	* configure.in: Test for -Bgroup option of linker.
4644	* config.make.in: Define have-Bgroup.
4645
4646	* conform/data/unistd.h-data: Require gethostname.
4647	* posix/unistd.h: Make gethostname prototype available for
4648	__USE_XOPEN2K.
4649
4650	* crypt/Makefile: When generating DSO link with libc_nonshared.a.
4651	* debug/Makefile: Likewise.
4652	* dlfcn/Makefile: Likewise.
4653	* hesiod/Makefile: Likewise.
4654	* iconvdata/extra-module.mk: Likewise.
4655	* locale/Makefile: Likewise.
4656	* login/Makefile: Likewise.
4657	* math/Makefile: Likewise.
4658	* nis/Makefile: Likewise.
4659	* nss/Makefile: Likewise.
4660	* resolv/Makefile: Likewise.
4661	* rt/Makefile: Likewise.
4662
46632001-03-17  Ulrich Drepper  <drepper@redhat.com>
4664
4665	* inet/Makefile (tests): Remove left-over comment.
4666
4667	* posix/unistd.h (gethostname): Change type of second parameter
4668	back to size_t as per upcoming XPG6.
4669	* sysdeps/unix/sysv/aix/gethostname.c: Change type of second
4670	parameter back to size_t as per upcoming XPG6.
4671	* sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
4672	* sysdeps/unix/sysv/gethostname.c: Likewise.
4673	* sysdeps/mach/hurd/gethostname.c: Likewise.
4674	* sysdeps/generic/gethostname.c: Likewise.
4675
46762001-03-16  Ulrich Drepper  <drepper@redhat.com>
4677
4678	* sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4679	Handle NaN here.
4680
4681	* sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
4682	Internationalize.
4683
46842001-02-06  Jakub Jelinek  <jakub@redhat.com>
4685
4686	* elf/dl-load.c (_dl_map_object): Don't test l_opencount when
4687	looking for name matches.
4688
46892001-02-26  Jakub Jelinek  <jakub@redhat.com>
4690
4691	* sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
4692	* sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
4693	* sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
4694	* sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4695	* sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
4696	* sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
4697	* sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
4698	* sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
4699	* sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
4700	* sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
4701	* sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
4702	* sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
4703
47042001-03-16  Ulrich Drepper  <drepper@redhat.com>
4705
4706	* sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
4707	Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4708
4709	* sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
4710	erfcl.
4711	* sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4712
47132001-03-16  David Mosberger  <davidm@hpl.hp.com>
4714
4715	* sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
4716	Drop hack that was needed for 2.1.1 kernel headers.
4717
4718	* sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
4719
4720	* sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
4721	overlay with kernel's "struct sigcontext".
4722
4723	* sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
4724	sys/rse.h for "misc" subdir.
4725	(sysdep_routines): Add __start_context for "stdlib" subdir.
4726
4727	* sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
4728	kernel file of the same name).
4729
4730	* stdlib/Makefile (tests): Add tst-setcontext.
4731	* stdlib/tst-setcontext.c: New file (based on a sample program by
4732	Uli Drepper).
4733
4734	* sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
4735	* sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
4736	* sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
4737	* sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
4738	* sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
4739
4740	* sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
4741	instead of shift & and.
4742
47432001-03-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4744
4745	* sysdeps/s390/s390-64/bits/huge_val.h: Move to...
4746	* sysdeps/s390/bits/huge_val.h: ...here.
4747	* sysdeps/s390/s390-32/bit/huge_val.h: Remove.
4748	* sysdeps/s390/s390-64/ffs.c: Move to...
4749	* sysdeps/s390/ffs.c: ...here.
4750	* sysdeps/s390/s390-32/ffs.c: Remove.
4751
47522001-03-16  Jakub Jelinek  <jakub@redhat.com>
4753
4754	* elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
4755	update osversion from more recent library.
4756
47572001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4758
4759	* sysdeps/unix/sysv/linux/s390/Dist: Move to...
4760	* sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
4761	* sysdeps/unix/sysv/linux/s390/Makefile: Move to...
4762	* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
4763	* sysdeps/unix/sysv/linux/s390/Versions: Move to...
4764	* sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
4765	* sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
4766	* sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
4767	* sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
4768	* sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
4769	* sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
4770	* sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
4771	* sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
4772	* sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
4773	* sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
4774	* sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
4775	* sysdeps/unix/sysv/linux/s390/chown.c: Move to...
4776	* sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
4777	* sysdeps/unix/sysv/linux/s390/clone.S: Move to...
4778	* sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
4779	* sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
4780	* sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
4781	* sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
4782	* sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
4783	* sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
4784	* sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
4785	* sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
4786	* sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
4787	* sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
4788	* sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
4789	* sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
4790	* sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
4791	* sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
4792	* sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
4793	* sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
4794	* sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
4795	* sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
4796	* sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
4797	* sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
4798	* sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
4799	* sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
4800	* sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
4801	* sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
4802	* sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
4803	* sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
4804	* sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
4805	* sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
4806	* sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
4807	* sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
4808	* sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
4809	* sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
4810	* sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
4811	* sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
4812	* sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
4813	* sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
4814	* sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
4815	* sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
4816	* sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
4817	* sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
4818	* sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
4819	* sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
4820	* sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
4821	* sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
4822	* sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
4823	* sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
4824	* sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
4825	* sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
4826	* sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
4827	* sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
4828	* sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
4829	* sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
4830	* sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
4831	* sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
4832	* sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
4833	* sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
4834	* sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
4835	* sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
4836	* sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
4837	* sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
4838	* sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
4839	* sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
4840	* sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
4841	* sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
4842	* sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
4843	* sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
4844	* sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
4845	* sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
4846	* sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
4847	* sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
4848	* sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
4849	* sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
4850	* sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
4851	* sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
4852	* sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
4853	* sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
4854	* sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
4855	* sysdeps/unix/sysv/linux/s390/socket.S: Move to...
4856	* sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
4857	* sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
4858	* sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
4859	* sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
4860	* sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
4861	* sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
4862	* sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
4863	* sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
4864	* sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
4865	* sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
4866	* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
4867	* sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
4868	* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
4869	* sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
4870	* sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
4871	* sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
4872	* sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
4873
48742001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4875
4876	* sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
4877	* sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
4878	* sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
4879	* sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
4880	* sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
4881	* sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
4882	* sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
4883	* sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
4884	* sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
4885	* sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
4886	* sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
4887	* sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
4888	* sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
4889	* sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
4890	* sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
4891	* sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
4892	* sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
4893	* sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
4894	* sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
4895	* sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
4896	* sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
4897	* sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
4898	* sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
4899	* sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
4900	* sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
4901	* sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
4902	* sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
4903	* sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
4904	* sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
4905	* sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
4906	* sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
4907	* sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
4908	* sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
4909	* sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
4910	* sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
4911	* sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
4912	* sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
4913	* sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
4914	* sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
4915	* sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
4916	* sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
4917	* sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
4918	* sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
4919	* sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
4920	* sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
4921	* sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
4922	* sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
4923	* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
4924	* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
4925	* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
4926	* sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
4927	* sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
4928	* sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
4929
49302001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4931
4932	* sysdeps/s390/Dist: Move to...
4933	* sysdeps/s390/390-32/Dist: ...here.
4934	* sysdeps/s390/Implies: Move to...
4935	* sysdeps/s390/s390-32/Implies: ...here.
4936	* sysdeps/s390/Makefile: Move to...
4937	* sysdeps/s390/s390-32/Makefile: ...here.
4938	* sysdeps/s390/Versions: Move to...
4939	* sysdeps/s390-32/s390/Versions: ...here.
4940	* sysdeps/s390/add_n.S: Move to...
4941	* sysdeps/s390/s390-32/add_n.S: ...here.
4942	* sysdeps/s390/addmul_1.S: Move to...
4943	* sysdeps/s390/s390-32/addmul_1.S: ...here.
4944	* sysdeps/s390/atomicity.h: Move to...
4945	* sysdeps/s390/s390-32/atomicity.h: ...here.
4946	* sysdeps/s390/backtrace.c: Move to...
4947	* sysdeps/s390/s390-32/backtrace.c: ...here.
4948	* sysdeps/s390/bcopy.S: Move to...
4949	* sysdeps/s390/s390-32/bcopy.S: ...here.
4950	* sysdeps/s390/bits/byteswap.h: Move to...
4951	* sysdeps/s390/s390-32/bits/byteswap.h: ...here.
4952	* sysdeps/s390/bits/huge_val.h: Move to...
4953	* sysdeps/s390/s390-32/bits/huge_val.h: ...here.
4954	* sysdeps/s390/bsd-_setjmp.S: Move to...
4955	* sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
4956	* sysdeps/s390/bsd-setjmp.S: Move to...
4957	* sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
4958	* sysdeps/s390/bzero.S: Move to...
4959	* sysdeps/s390/s390-32/bzero.S: ...here.
4960	* sysdeps/s390/elf/bsd-_setjmp.S: Move to...
4961	* sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
4962	* sysdeps/s390/elf/bsd-setjmp.S: Move to...
4963	* sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
4964	* sysdeps/s390/elf/start.S: Move to...
4965	* sysdeps/s390/s390-32/elf/start.S: ...here.
4966	* sysdeps/s390/ffs.c: Move to...
4967	* sysdeps/s390/s390-32/ffs.c: ...here.
4968	* sysdeps/s390/memchr.S: Move to...
4969	* sysdeps/s390/s390-32/memchr.S: ...here.
4970	* sysdeps/s390/memcpy.S: Move to...
4971	* sysdeps/s390/s390-32/memcpy.S: ...here.
4972	* sysdeps/s390/memset.S: Move to...
4973	* sysdeps/s390/s390-32/memset.S: ...here.
4974	* sysdeps/s390/mul_1.S: Move to...
4975	* sysdeps/s390/s390-32/mul_1.S: ...here.
4976	* sysdeps/s390/s390-mcount.S: Move to...
4977	* sysdeps/s390/s390-32/s390-mcount.S: ...here.
4978	* sysdeps/s390/strcpy.S: Move to...
4979	* sysdeps/s390/s390-32/strcpy.S: ...here.
4980	* sysdeps/s390/strncpy.S: Move to...
4981	* sysdeps/s390/s390-32/strncpy.S: ...here.
4982	* sysdeps/s390/sub_n.S: Move to...
4983	* sysdeps/s390/s390-32/sub_n.S: ...here.
4984
49852001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4986
4987	* sysdeps/s390/s390-64/Dist: New file.
4988	* sysdeps/s390/s390-64/Implies: New file.
4989	* sysdeps/s390/s390-64/Makefile: New file.
4990	* sysdeps/s390/s390-64/__longjmp.c: New file.
4991	* sysdeps/s390/s390-64/add_n.S: New file.
4992	* sysdeps/s390/s390-64/atomicity.h: New file.
4993	* sysdeps/s390/s390-64/backtrace.c: New file.
4994	* sysdeps/s390/s390-64/bcopy.S: New file.
4995	* sysdeps/s390/s390-64/bits/byteswap.h: New file.
4996	* sysdeps/s390/s390-64/bits/huge_val.h: New file.
4997	* sysdeps/s390/s390-64/bits/setjmp.h: New file.
4998	* sysdeps/s390/s390-64/bits/string.h: New file.
4999	* sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
5000	* sysdeps/s390/s390-64/bsd-setjmp.S: New file.
5001	* sysdeps/s390/s390-64/bzero.S: New file.
5002	* sysdeps/s390/s390-64/dl-machine.h: New file.
5003	* sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
5004	* sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
5005	* sysdeps/s390/s390-64/elf/setjmp.S: New file.
5006	* sysdeps/s390/s390-64/elf/start.S: New file.
5007	* sysdeps/s390/s390-64/ffs.c: New file.
5008	* sysdeps/s390/s390-64/initfini.c: New file.
5009	* sysdeps/s390/s390-64/memchr.S: New file.
5010	* sysdeps/s390/s390-64/memcpy.S: New file.
5011	* sysdeps/s390/s390-64/memset.S: New file.
5012	* sysdeps/s390/s390-64/s390x-mcount.S: New file.
5013	* sysdeps/s390/s390-64/setjmp.S: New file.
5014	* sysdeps/s390/s390-64/strcpy.S: New file.
5015	* sysdeps/s390/s390-64/strncpy.S: New file.
5016	* sysdeps/s390/s390-64/sub_n.S: New file.
5017	* sysdeps/s390/s390-64/sysdep.h: New file.
5018
50192001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
5020
5021	* scripts/config.guess: Add support for Linux on 64 bit S/390.
5022	* scripts/config.sub: Likewise.
5023
50242001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
5025
5026	* configure.in: Add support for 64 bit S/390.
5027
5028	* elf/elf.h: Add new relocations for 64 bit S/390.
5029
5030	* shlib-versions: Add rules for Linux on 64 bit S/390.
5031
50322001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
5033
5034	* sysdeps/s390/__longjmp.c: Move to...
5035	* sysdeps/s390/s390-32/__longjmp.c: ...here.  Add code
5036	to load the floating point registers that should be saved
5037	according to the ABI.
5038
5039	* sysdeps/s390/bits/setjmp.h: Move to...
5040	* sysdeps/s390/s390-32/bits/setjmp.h: ...here.  Avoid
5041	the use of long long in the __jmp_buf type definition.
5042
5043	* sysdeps/s390/bits/string.h: Move to...
5044	* sysdeps/s390/s390-32/bits/string.h: ...here.  Add several missing
5045	#ifndef _FORCE_INLINES.
5046
5047	* sysdeps/s390/dl-machine.h: Move to...
5048	* sysdeps/s390/s390-32/dl-machine.h: ...here.  Add a check for the
5049	executables EI_CLASS in elf_machine_matches_host.
5050
5051	* sysdeps/s390/elf/setjmp.S: Move to...
5052	* sysdeps/s390/s390-32/elf/setjmp.S: ...here.  Replace
5053	branches to globally defined symbol __sigsetjmp by branches to
5054	a local label (this avoids the generation of a R_390_PC16DBL
5055	relocation in -fpic code).
5056
5057	* sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
5058	calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
5059
5060	* sysdeps/s390/initfini.c: Move to...
5061	* sysdeps/s390/s390-32/initfini.c: ...here.  Replace ALIGN with
5062	".align 4,0x07".
5063
5064	* sysdeps/s390/setjmp.S: Move to...
5065	* sysdeps/s390/s390-32/setjmp.S: ...here.  Add code to store the
5066	floating point registers that should be saved according to the ABI.
5067
5068	* sysdeps/s390/sys/ucontext.h: Remove since it is unused.
5069
5070	* sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
5071	* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.  Include
5072	sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
5073
50742001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
5075
5076	* configure.in: Change machine=s390 to machine=s390/s390-32.
5077
5078	* elf/elf.h: Correct comment for R_390_PLT16DBL.
5079
50802001-03-12  Jakub Jelinek  <jakub@redhat.com>
5081
5082	* csu/Makefile (abi-tag.h): Define OS and version separately, allow
5083	version to be overriden from config.h.
5084	* csu/abi-note.S: Use OS and version separately, include config.h.
5085	* elf/dl-load.c (_dl_osversion): New.
5086	(_dl_map_object_from_fd): Kill some warnings.
5087	(open_verify): Check .note.ABI-tag of the library if present.
5088	* elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
5089	* elf/cache.c (struct cache_entry): Add osversion.
5090	(print_entry): Print osversion.
5091	(print_cache): Pass osversion to it.
5092	(compare): Sort according to osversion.
5093	(save_cache): Set osversion.
5094	(add_to_cache): Add osversion argument.
5095	* sysdeps/generic/ldconfig.h (add_to_cache, process_file,
5096	process_elf_file): Add osversion argument.
5097	* elf/readlib.c (process_file): Likewise.
5098	* sysdeps/generic/readelflib.c (process_elf_file): Likewise.
5099	* sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
5100	process_elf32_file, process_elf64_file): Likewise.
5101	* sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
5102	process_elf32_file, process_elf64_file): Likewise.
5103	* sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
5104	process_elf32_file, process_elf64_file): Likewise.
5105	* elf/ldconfig.c (manual_link): Pass it.
5106	(search_dir): Issue diagnostic if two libs with the same soname in
5107	the same directory have different .note.ABI-tag.  Record osversion in
5108	dlib_entry and use it from there.
5109	(struct lib_entry): Remove.
5110	(struct dlib_entry): Add osversion.
5111	* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
5112	osversion.
5113	* sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
5114	field with osversion.
5115	* sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
5116	* sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
5117	* sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
5118	version in _dl_osversion.
5119	* sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
5120	* Makerules (build-shlib-helper, build-module-helper): New.
5121	(build-shlib, build-module-helper): Make sure .note.ABI-tag comes
5122	early.
5123	* config.h.in (__ABI_TAG_VERSION): Add.
5124	* elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
5125	* sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
5126	Handle LD_ASSUME_KERNEL.
5127	* sysdeps/unix/sysv/linux/dl-librecon.h: New.
5128
51292001-03-15  Ulrich Drepper  <drepper@redhat.com>
5130
5131	* timezone/antarctica: Update from tzdata2001a.
5132	* timezone/asia: Likewise.
5133	* timezone/australasia: Likewise.
5134	* timezone/backward: Likewise.
5135	* timezone/etcetera: Likewise.
5136	* timezone/europe: Likewise.
5137	* timezone/leapseconds: Likewise.
5138	* timezone/northamerica: Likewise.
5139	* timezone/southamerica: Likewise.
5140	* timezone/systemv: Likewise.
5141	* timezone/yearistype: Likewise.
5142	* timezone/zone.tab: Likewise.
5143	* timezone/tzdump.c: Update from tzcode2001a.
5144
51452001-03-15  H.J. Lu  <hjl@gnu.org>
5146
5147	* intl/Makefile: Fix a typo.
5148
51492001-03-14  David Mosberger  <davidm@hpl.hp.com>
5150
5151	* gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
5152	writing arc structures.
5153
51542001-03-15  H.J. Lu  <hjl@gnu.org>
5155
5156	* elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
5157	cross-compiling.
5158
51592001-03-13  Andreas Schwab  <schwab@suse.de>
5160
5161	* posix/PTESTS2C.sed: Replace literal CRs by `\r'.
5162
51632001-03-15  Ulrich Drepper  <drepper@redhat.com>
5164
5165	* sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
5166	for control message fitting into message data.
5167	Patch by James Antill <james@and.org>.
5168
5169	* posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
5170	FNM_EXTMATCH.
5171
5172	* posix/fnmatch_loop.c: Optimize handling of ?() and @().
5173	* posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
5174
5175	* posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
5176	* posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
5177	avoid running binaries with libc versions without FNM_EXTMATCH support.
5178
5179	* include/wchar.h: Add prototype for __wcscat.
5180	* wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
5181
5182	* posix/fnmatch.h (FNM_EXTMATCH): Define.
5183	* posix/fnmatch.c (NO_LEADING_PERIOD): Define.
5184	(posixly_correct): Move global variable here.
5185	(INT, EXT, END): Name new functions defined in fnmatch_loop.c.
5186	(fnmatch): Pretty printing.
5187	* posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
5188	* posix/tst-fnmatch.c: Recognize EXTMATCH flag.
5189	* posix/tst-fnmatch.input: Add tests for extended matching.
5190
5191	* posix/testfnm.c: Add test for patterns with multiple ** before /.
5192	* posix/fnmatch_loop.c: Fix problem with the test above.
5193
51942001-03-14  Ulrich Drepper  <drepper@redhat.com>
5195
5196	* sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
5197	reference to usqrt.
5198
5199	* resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
5200
52012001-03-12  Andreas Jaeger  <aj@suse.de>
5202
5203	* sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5204	Use EM_X86_64 instead of EM_X8664.
5205
52062001-03-12  Ulrich Drepper  <drepper@redhat.com>
5207
5208	* sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
5209
5210	* sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
5211	conditions.
5212
5213	* sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
5214	conditions.
5215
5216	* sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
5217	correctly.
5218	(__cos): Likewise.
5219
5220	* sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
5221	correctly.
5222	(__ieee754_acos): Likewise.
5223
52242001-03-12  Andreas Jaeger  <aj@suse.de>
5225
5226	* sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
5227	Fix typo.  Patch by Martin Schwidefsky	<schwidefsky@de.ibm.com>.
5228
5229	* sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
5230	redefinition.
5231
52322001-03-11  Roland McGrath  <roland@frob.com>
5233
5234	* sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
5235
52362001-03-11  Ulrich Drepper  <drepper@redhat.com>
5237
5238	* sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
5239	LITTLE_ENDI.
5240
5241	* sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
5242	parameter list.
5243
5244	Last-bit accurate math library implementation by IBM Haifa.
5245	Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
5246	<olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
5247	Anna Reitman <reitman@il.ibm.com>.
5248	* math/Makefile (dbl-only-routines): New variable.
5249	(libm-routines): Add $(dbl-only-routines).
5250	* sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
5251	* sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
5252	implementation.
5253	* sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
5254	implementation.
5255	* sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
5256	implementation.
5257	* sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
5258	__kernel_cos.
5259	* sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
5260	implementation.
5261	* sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
5262	remainder implementation.
5263	* sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
5264	implementation.
5265	* sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
5266	implementation.
5267	* sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
5268	* sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
5269	* sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
5270	implementation.
5271	* sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
5272	* sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
5273	implementation.
5274	* sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
5275	and __kernel_cos.
5276	* sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
5277	implementation.
5278	* sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
5279	* sysdeps/ieee754/dbl-64/MathLib.h: New file.
5280	* sysdeps/ieee754/dbl-64/asincos.tbl: New file.
5281	* sysdeps/ieee754/dbl-64/atnat.h: New file.
5282	* sysdeps/ieee754/dbl-64/atnat2.h: New file.
5283	* sysdeps/ieee754/dbl-64/branred.c: New file.
5284	* sysdeps/ieee754/dbl-64/branred.h: New file.
5285	* sysdeps/ieee754/dbl-64/dla.h: New file.
5286	* sysdeps/ieee754/dbl-64/doasin.c: New file.
5287	* sysdeps/ieee754/dbl-64/doasin.h: New file.
5288	* sysdeps/ieee754/dbl-64/dosincos.c: New file.
5289	* sysdeps/ieee754/dbl-64/dosincos.h: New file.
5290	* sysdeps/ieee754/dbl-64/endian.h: New file.
5291	* sysdeps/ieee754/dbl-64/halfulp.c: New file.
5292	* sysdeps/ieee754/dbl-64/mpa.c: New file.
5293	* sysdeps/ieee754/dbl-64/mpa.h: New file.
5294	* sysdeps/ieee754/dbl-64/mpa2.h: New file.
5295	* sysdeps/ieee754/dbl-64/mpatan.c: New file.
5296	* sysdeps/ieee754/dbl-64/mpatan.h: New file.
5297	* sysdeps/ieee754/dbl-64/mpatan2.c: New file.
5298	* sysdeps/ieee754/dbl-64/mpexp.c: New file.
5299	* sysdeps/ieee754/dbl-64/mpexp.h: New file.
5300	* sysdeps/ieee754/dbl-64/mplog.c: New file.
5301	* sysdeps/ieee754/dbl-64/mplog.h: New file.
5302	* sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
5303	* sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
5304	* sysdeps/ieee754/dbl-64/mptan.c: New file.
5305	* sysdeps/ieee754/dbl-64/mydefs.h: New file.
5306	* sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
5307	* sysdeps/ieee754/dbl-64/root.tbl: New file.
5308	* sysdeps/ieee754/dbl-64/sincos.tbl: New file.
5309	* sysdeps/ieee754/dbl-64/sincos32.c: New file.
5310	* sysdeps/ieee754/dbl-64/sincos32.h: New file.
5311	* sysdeps/ieee754/dbl-64/slowexp.c: New file.
5312	* sysdeps/ieee754/dbl-64/slowpow.c: New file.
5313	* sysdeps/ieee754/dbl-64/uasncs.h: New file.
5314	* sysdeps/ieee754/dbl-64/uatan.tbl: New file.
5315	* sysdeps/ieee754/dbl-64/uexp.h: New file.
5316	* sysdeps/ieee754/dbl-64/uexp.tbl: New file.
5317	* sysdeps/ieee754/dbl-64/ulog.h: New file.
5318	* sysdeps/ieee754/dbl-64/ulog.tbl: New file.
5319	* sysdeps/ieee754/dbl-64/upow.h: New file.
5320	* sysdeps/ieee754/dbl-64/upow.tbl: New file.
5321	* sysdeps/ieee754/dbl-64/urem.h: New file.
5322	* sysdeps/ieee754/dbl-64/uroot.h: New file.
5323	* sysdeps/ieee754/dbl-64/usncs.h: New file.
5324	* sysdeps/ieee754/dbl-64/utan.h: New file.
5325	* sysdeps/ieee754/dbl-64/utan.tbl: New file.
5326	* sysdeps/i386/fpu/branred.c: New file.
5327	* sysdeps/i386/fpu/doasin.c: New file.
5328	* sysdeps/i386/fpu/dosincos.c: New file.
5329	* sysdeps/i386/fpu/halfulp.c: New file.
5330	* sysdeps/i386/fpu/mpa.c: New file.
5331	* sysdeps/i386/fpu/mpatan.c: New file.
5332	* sysdeps/i386/fpu/mpatan2.c: New file.
5333	* sysdeps/i386/fpu/mpexp.c: New file.
5334	* sysdeps/i386/fpu/mplog.c: New file.
5335	* sysdeps/i386/fpu/mpsqrt.c: New file.
5336	* sysdeps/i386/fpu/mptan.c: New file.
5337	* sysdeps/i386/fpu/sincos32.c: New file.
5338	* sysdeps/i386/fpu/slowexp.c: New file.
5339	* sysdeps/i386/fpu/slowpow.c: New file.
5340	* sysdeps/ia64/fpu/branred.c: New file.
5341	* sysdeps/ia64/fpu/doasin.c: New file.
5342	* sysdeps/ia64/fpu/dosincos.c: New file.
5343	* sysdeps/ia64/fpu/halfulp.c: New file.
5344	* sysdeps/ia64/fpu/mpa.c: New file.
5345	* sysdeps/ia64/fpu/mpatan.c: New file.
5346	* sysdeps/ia64/fpu/mpatan2.c: New file.
5347	* sysdeps/ia64/fpu/mpexp.c: New file.
5348	* sysdeps/ia64/fpu/mplog.c: New file.
5349	* sysdeps/ia64/fpu/mpsqrt.c: New file.
5350	* sysdeps/ia64/fpu/mptan.c: New file.
5351	* sysdeps/ia64/fpu/sincos32.c: New file.
5352	* sysdeps/ia64/fpu/slowexp.c: New file.
5353	* sysdeps/ia64/fpu/slowpow.c: New file.
5354	* sysdeps/m68k/fpu/branred.c: New file.
5355	* sysdeps/m68k/fpu/doasin.c: New file.
5356	* sysdeps/m68k/fpu/dosincos.c: New file.
5357	* sysdeps/m68k/fpu/halfulp.c: New file.
5358	* sysdeps/m68k/fpu/mpa.c: New file.
5359	* sysdeps/m68k/fpu/mpatan.c: New file.
5360	* sysdeps/m68k/fpu/mpatan2.c: New file.
5361	* sysdeps/m68k/fpu/mpexp.c: New file.
5362	* sysdeps/m68k/fpu/mplog.c: New file.
5363	* sysdeps/m68k/fpu/mpsqrt.c: New file.
5364	* sysdeps/m68k/fpu/mptan.c: New file.
5365	* sysdeps/m68k/fpu/sincos32.c: New file.
5366	* sysdeps/m68k/fpu/slowexp.c: New file.
5367	* sysdeps/m68k/fpu/slowpow.c: New file.
5368
5369	* iconvdata/gconv-modules: Add a number of alias, mostly for IBM
5370	codepages.
5371
53722001-03-11  Andreas Jaeger  <aj@suse.de>
5373
5374	* elf/elf.h (EM_*): Synch with official list.
5375
53762001-03-07  David Mosberger  <davidm@hpl.hp.com>
5377
5378	* sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
5379
53802001-03-07  Jes Sorensen  <jes@linuxcare.com>
5381
5382	* sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
5383	variables addr & len.
5384
53852001-02-22  Jes Sorensen  <jes@linuxcare.com>
5386
5387	* sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
5388	punctuation in asm constraint.
5389
53902001-03-07  Mark Kettenis  <kettenis@gnu.org>
5391
5392	* resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
5393	<time.h> to get definition of `struct timespec'.
5394
53952001-03-08  Jakub Jelinek  <jakub@redhat.com>
5396
5397	* elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
5398	LD_WARN=1, not if LD_WARN is unset.
5399
54002001-03-07  Andreas Schwab  <schwab@suse.de>
5401
5402	* elf/ldconfig.h: Moved to ...
5403	* sysdeps/generic/ldconfig.h: ... here.
5404	* sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
5405	* sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
5406	* sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
5407	* elf/readlib.c (interpreters, known_libs): Use
5408	SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
5409	instead of hard coding old names.
5410
54112001-03-09  Ulrich Drepper  <drepper@redhat.com>
5412
5413	* catgets/Makefile (generated): Add test-gencat.h.
5414	(sample.SJIS.cat): Also generate header.
5415	* catgets/sample.SJIS: Add new set and message, both with symbolic
5416	names.
5417	* catgets/test-gencat.sh: Also compare generated header with what
5418	we expect.
5419
54202001-03-07  Jakub Jelinek  <jakub@redhat.com>
5421
5422	* catgets/gencat.c (read_input_file): Preserve properly symbolic
5423	names.
5424
54252001-03-06  Andreas Jaeger  <aj@suse.de>
5426
5427	* sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
5428	needed.
5429	(elf_machine_pltrel_p): Likewise.
5430	* sysdeps/powerpc/dl-machine.h: Likewise.
5431	* sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
5432
54332001-03-09  Ulrich Drepper  <drepper@redhat.com>
5434
5435	* sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
5436	dl-procinfo.h.
5437
54382001-03-05  Philip Blundell  <philb@gnu.org>
5439
5440	* sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
5441	* sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
5442	* sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
5443	(sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
5444	dl-procinfo.
5445
54462001-03-09  Ulrich Drepper  <drepper@redhat.com>
5447
5448	* dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
5449	is not available.
5450	* dlfcn/tstcxaatexit.c (main): Likewise.
5451
54522001-03-10  Andreas Jaeger  <aj@suse.de>
5453
5454	* sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
5455
54562001-03-09  Andreas Jaeger  <aj@suse.de>
5457
5458	* sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
5459	both new and old EM_S390 values.
5460	(EM_S390_OLD): New constant.
5461
5462	* elf/elf.h (EM_S390): Use official value.
5463
54642001-03-09  Ulrich Drepper  <drepper@redhat.com>
5465
5466	* conform/data/sys/socket.h-data: Allow SO* symbols.
5467
54682001-03-07  Andreas Schwab  <schwab@suse.de>
5469
5470	* sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
5471	routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
5472
54732001-03-07  Andreas Jaeger  <aj@suse.de>
5474
5475	* resolv/Makefile (routines): Only build gai_sigqueue when threads
5476	are available.
5477
54782001-03-07  Jakub Jelinek  <jakub@redhat.com>
5479
5480	* elf/ldconfig.c (_dl_sysdep_message): Remove.
5481	* sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
5482	ldsodefs.h.
5483	* sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
5484
5485	* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
5486	_dl_error_printf instead of _dl_sysdep_error.
5487	* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5488	* sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
5489	Use _dl_printf instead of _dl_sysdep_message.
5490	* sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
5491	Likewise.
5492
54932001-03-06  Ben Collins  <bcollins@debian.org>
5494
5495	* manual/arith.texi (Integers): Fix documentation of fast and
5496	least integer typedefs.
5497
54982001-03-06  Jakub Jelinek  <jakub@redhat.com>
5499
5500	* resolv/Depend: New file.
5501	* resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
5502	when libpthread is built.
5503
55042001-03-06  Andreas Jaeger  <aj@suse.de>
5505
5506	* sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
5507
5508	* sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
5509	Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
5510
55112001-03-05  Ulrich Drepper  <drepper@redhat.com>
5512
5513	* stdlib/Versions: Remove __new_exitfn again.  Not needed.
5514
55152001-03-05  Andreas Jaeger  <aj@suse.de>
5516
5517	* stdlib/msort.c (qsort): Don't use alloca in a function call.
5518
55192001-03-05  Ulrich Drepper  <drepper@redhat.com>
5520
5521	* sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
5522	__S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
5523	always return zero.
5524	* sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5525	* sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
5526	* sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
5527	* sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
5528	* sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5529	* sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
5530	* sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
5531
55322001-03-04  Andreas Jaeger  <aj@suse.de>
5533
5534	* stdlib/longlong.h: Don't use multi-line strings.
5535	* iconvdata/tst-loading.c: Likewise.
5536
5537	* csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
5538	string.
5539
55402001-03-04  Ulrich Drepper  <drepper@redhat.com>
5541
5542	* sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
5543
5544	* rt/lio_listio.c: Add a few asserts.
5545
5546	* elf/global.c: New file.
5547	* elf/globalmod1.c: New file.
5548	* elf/Makefile: Add rules to build and run global.
5549
5550	* sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
5551	* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5552	* sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5553	* sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5554	* sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5555
5556	* sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
5557	Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5558
5559	* sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
5560
5561	* sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
5562	* sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5563
5564	* sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
5565
5566	* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
5567
55682001-03-04  Andreas Jaeger  <aj@suse.de>
5569
5570	* resolv/tst-aton.c: Add testcase for IP with four periods.
5571
5572	* resolv/inet_addr.c: Don't recognize an IP with four periods.
5573	Patch by Andre' Breiler <A.Breiler@gmx.net>.
5574
55752001-02-27  Philip Blundell  <pb@futuretv.com>
5576
5577	* elf/elf.h: Add new ARM definitions from latest (B-01)
5578	specification.  Correct naming of EF_ARM_ALIGN8 et al.
5579
55802001-03-04  Ulrich Drepper  <drepper@redhat.com>
5581
5582	* stdio-common/tst-printf.sh: Remove bashisms.
5583	Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
5584
55852001-03-03  Ulrich Drepper  <drepper@redhat.com>
5586
5587	* Versions.def: Add libanl definition.
5588	* shlib-versions: Add entry for libanl.
5589	* resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
5590	(routines): Add gai_sigqueue.
5591	(extra-libs): Add libanl.
5592	(libanl-routines): New variable.
5593	Add rules to build libanl and ga_test.
5594	* resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
5595	[libanl]: New library.
5596	* resolv/netdb.h: Add definitions for libanl.
5597	* resolv/getaddrinfo_a.c: New file.
5598	* resolv/gai_cancel.c: New file.
5599	* resolv/gai_error.c: New file.
5600	* resolv/gai_misc.c: New file.
5601	* resolv/gai_misc.h: New file.
5602	* resolv/gai_notify.c: New file.
5603	* resolv/gai_suspend.c: New file.
5604	* resolv/ga_test.c: New file.
5605	* sysdeps/generic/gai_sigqueue.c: New file.
5606	* sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
5607	* sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
5608	and provide only that definition.
5609	* sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
5610	* sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
5611	* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5612	* sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5613	* sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5614	* sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5615
5616	* rt/aio_misc.c: Fix typos in comments.
5617	* rt/lio_listio.c: Pretty printing.  Little optimization in request
5618	list handling.
5619
5620	* elf/rtld.c: Remove commented out code.
5621
5622	* sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
5623	Update for real 2.4 kernels.
5624
56252001-03-01  Ulrich Drepper  <drepper@redhat.com>
5626
5627	* elf/dl-load.c: Pretty printing.
5628
5629	* elf/dl-object.c (_dl_new_object): Don't add the loader's scope
5630	twice.
5631
56322001-02-28  Ulrich Drepper  <drepper@redhat.com>
5633
5634	* sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
5635	relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
5636
5637	* sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
5638
5639	* elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
5640	machines.
5641
5642	* sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
5643
56442001-02-27  Ulrich Drepper  <drepper@redhat.com>
5645
5646	* sysdeps/powerpc/elf/libc-start.c: Use new output functions and
5647	_dl_debug_mask.
5648
5649	* elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
5650	_dl_debug_printf.
5651	* elf/dl-misc.c: Remove definition of _dl_sysdep_output and
5652	_dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
5653	_dl_debug_printf_c, and _dl_printf.
5654	* sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
5655	_dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
5656	_dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
5657	_dl_printf, _dl_error_printf, and _dl_fatal_printf.
5658	* elf/dl-close.c: Replace use of old output functions with the new
5659	ones.
5660	* elf/dl-deps.c: Likewise.
5661	* elf/dl-error.c: Likewise.
5662	* elf/dl-fini.c: Likewise.
5663	* elf/dl-init.c: Likewise.
5664	* elf/dl-load.c: Likewise.
5665	* elf/dl-lookup.c: Likewise.
5666	* elf/dl-minimal.c: Likewise.
5667	* elf/dl-open.c: Likewise.
5668	* elf/dl-profile.c: Likewise.
5669	* elf/dl-reloc.c: Likewise.
5670	* elf/dl-version.c: Likewise.
5671	* elf/do-lookup.h: Likewise.
5672	* elf/rtld.c: Likewise.
5673	* sysdeps/generic/dl-cache.c: Likewise.
5674	* sysdeps/generic/dl-sysdep.c: Likewise.
5675	* sysdeps/generic/libc-start.c: Likewise.
5676	* sysdeps/i386/dl-machine.h: Likewise.
5677	* sysdeps/arm/dl-machine.h: Likewise.
5678	* sysdeps/hppa/dl-machine.h: Likewise.
5679	* sysdeps/m68k/dl-machine.h: Likewise.
5680	* sysdeps/powerpc/dl-machine.h: Likewise.
5681	* sysdeps/s390/dl-machine.h: Likewise.
5682	* sysdeps/sh/dl-machine.h: Likewise.
5683	* sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5684	* sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
5685	* sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5686
5687	* sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
5688
5689	* dlfcn/Makefile: Don't run tstatexit test unless .hidden is
5690	supported by assembler.
5691
5692	* sysdeps/generic/ldsodefs.h: Remove commented-out variable
5693	declaractions.
5694
5695	* elf/rtld.c: Little optimizations in handling _dl_lazy.
5696
5697	* elf/cache.c (save_cache): Portability changes.
5698	* elf/dl-profile.c (_dl_start_profile): Likewise.
5699
5700	* elf/sln.c: Cleanups.  Remove arbitrary limits.
5701
5702	* elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
5703	* elf/dl-deps.c: Likewise.
5704	* elf/dl-fini.c: Likewise.
5705	* elf/dl-init.c: Likewise.
5706	* elf/dl-load.c: Likewise.
5707	* elf/dl-lookup.c: Likewise.
5708	* elf/dl-open.c: Likewise.
5709	* elf/dl-reloc.c: Likewise.
5710	* elf/dl-support.c: Likewise.
5711	* elf/dl-version.c: Likewise.
5712	* elf/do-lookup.h: Likewise.
5713	* elf/rtld.c: Likewise.
5714	* sysdeps/generic/dl-cache.c: Likewise.
5715	* sysdeps/generic/ldsodefs.h: Likewise.
5716	* sysdeps/generic/libc-start.c: Likewise.
5717	* elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
5718	Export _dl_debug_mask.
5719	* Versions.def: Define GLIBC_2.2.3 for ld.
5720
57212001-02-26  Greg McGary  <greg@mcgary.org>
5722
5723	* sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
5724
57252001-02-26  Paul Eggert  <eggert@twinsun.com>
5726
5727	Modify mkstemp.c and tempname.c so that they can be used by
5728	GNU applications on non-glibc platforms.
5729
5730	* misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
5731
5732	* sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
5733	Include <stddef.h>, <stdint.h>, <string.h> only if
5734	STDC_HEADERS || _LIBC.
5735	Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
5736	Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
5737	Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
5738	(__set_errno): Define this macro if <errno.h> doesn't.
5739	(P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
5740	Define these macros if <stdio.h> doesn't.
5741	(S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
5742	Define these macros if <sys/stat.h> doesn't.
5743	Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
5744	(stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
5745	lxstat64, __xstat64): Define if not _LIBC.
5746	(struct_stat64): New macro.
5747	(direxists, __gen_tempname): Use it, to avoid a
5748	portability problem with Solaris 8.
5749	(__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
5750	(__gen_tempname): Invoke gettimeofday only if
5751	HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
5752	Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
5753	octal values like 0600.
5754
57552001-02-26  Ulrich Drepper  <drepper@redhat.com>
5756
5757	* sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
5758	Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5759
5760	* sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
5761	* sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5762
5763	* posix/wordexp-test.c (testit): Remove warnings.
5764
5765	* dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
5766	(tests): Add tstatexit and tstcxaatexit.
5767	(module-names): Add modatexit and modcxaatexit.
5768	Add rules to build and run tstatexit and tstcxaatexit.
5769	* dlfcn/modatexit.c: New file.
5770	* dlfcn/modcxaatexit.c: New file.
5771	* dlfcn/tstatexit.c: New file.
5772	* dlfcn/tstcxaatexit.c: New file.
5773
5774	* io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
5775	.hidden is available.
5776	* io/stat.c: If .hidden is available use it to avoid exporting
5777	functions.
5778	* io/fstat.c: Likewise.
5779	* io/lstat.c: Likewise.
5780	* io/stat64.c: Likewise.
5781	* io/fstat64.c: Likewise.
5782	* io/lstat64.c: Likewise.
5783	* sysdeps/generic/mknod.c: Likewise.
5784
5785	* malloc/mtrace.c: Use __cxa_atexit and not atexit.
5786	* sysdeps/generic/bb_init_func.c: Likewise.
5787	* sysdeps/generic/libc-start.c: Likewise.
5788
5789	* stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
5790	(atexit): Implement using __cxa_atexit.
5791	Use .hidden if availble to avoid exporting atexit.
5792	* stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
5793	* stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
5794	* stdlib/Makefile (routines): Add old_atexit.
5795	(static-only-routines): Add atexit.
5796	Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
5797	* stdlib/old_atexit.c: New file.
5798
5799	* intl/Makefile: Remove bogus endif.
5800
58012001-02-26  Andreas Jaeger  <aj@suse.de>
5802
5803	* iconvdata/Makefile (tests): Fix typo in last patch.
5804
5805	* intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
5806	available.
5807	Reported by Achim Gottinger <achim@gentoo.org>.
5808
58092001-02-25  Andreas Jaeger  <aj@suse.de>
5810
5811	* intl/Makefile (plural.c): Reorder rules so that they work if
5812	BISON doesn't exist.
5813
58142001-02-25  Ulrich Drepper  <drepper@redhat.com>
5815
5816	* intl/locale.alias: Don't use nb_NO but define aliases for it.
5817
58182001-02-23  Ulrich Drepper  <drepper@redhat.com>
5819
5820	* sysdeps/i386/strtok.S: Continue to return NULL after the first
5821	time this happened.
5822
58232001-02-23  Andreas Jaeger  <aj@suse.de>
5824
5825	* string/tester.c (test_strtok_r): Add testcase.
5826	(test_strtok_r): Always initialize cp for proper checking.
5827
5828	* sysdeps/generic/strtok.c (strtok): Handle case of first strtok
5829	returning NULL correctly.
5830	Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
5831	* sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
5832
58332001-02-23  Ulrich Drepper  <drepper@redhat.com>
5834
5835	* sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
5836	including <stddef.h>.
5837	* sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
5838	* include/libc-symbols.h (weak_alias): Don't use .weak if
5839	HAVE_ASM_GLOBAL_DOT_NAME is defined.
5840	Patches by Michael Keezer <mkeezer@redhat.com>.
5841
5842	* sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
5843	Patch by Michael Keezer <mkeezer@redhat.com>.
5844
5845	* sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
5846	* sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
5847	(sysdep_routines): Remove restf.S and savef.S.
5848	* sysdeps/unix/sysv/aix/restf.S: Removed.
5849	* sysdeps/unix/sysv/aix/savef.S: Removed.
5850	* sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
5851	alternative names used on some platforms.
5852	* sysdeps/powerpc/fprsave.S: Likewise.
5853	* sysdeps/powerpc/gprrest0.S: Likewise.
5854	* sysdeps/powerpc/gprrest1.S: Likewise.
5855	* sysdeps/powerpc/gprsave0.S: Likewise.
5856	* sysdeps/powerpc/gprsave1.S: Likewise.
5857	Patch by Michael Keezer <mkeezer@redhat.com>.
5858
58592001-02-22  Ulrich Drepper  <drepper@redhat.com>
5860
5861	* sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
5862
58632001-02-22  Andreas Jaeger  <aj@suse.de>
5864
5865	* string/tst-strtok.c (main): Fix error messages.
5866
58672001-02-22  Andreas Jaeger  <aj@suse.de>
5868
5869	* math/Makefile: Remove omit-long-double-fcts.
5870
58712001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
5872
5873	* sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
5874	avoid problems on MIPS I.
5875	* sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
5876
5877	* sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
5878	noreorder".
5879
58802001-02-21  Ulrich Drepper  <drepper@redhat.com>
5881
5882	* posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
5883
5884	* sysdeps/generic/ftime.c: Include <time.h>.
5885
5886	* configure.in: Don't check for libgd if user passed --without-gd.
5887	Patch by Achim Gottinger <achim@gentoo.org>.
5888
5889	* sysdeps/i386/i686/strtok.S: Continue to return NULL after the
5890	first time this happened.
5891	* string/Makefile (tests): Add tst-strtok.
5892
58932001-02-21  Andreas Jaeger  <aj@suse.de>
5894
5895	* string/tst-strtok.c: New testcase, reported by
5896	Andrew Church <achurch@achurch.org>.
5897
58982001-02-20  Ulrich Drepper  <drepper@redhat.com>
5899
5900	* libio/iofwide.c: Remove fwide alias.
5901
59022001-02-20  Andreas Jaeger  <aj@suse.de>
5903
5904	* iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
5905	is available.
5906	Reported by Achim Gottinger <achim@gentoo.org>.
5907
59082001-02-19  Ulrich Drepper  <drepper@redhat.com>
5909
5910	* iconv/tst-iconv1.c (main): Remove debugging code.
5911
5912	* sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
5913	* sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5914
5915	* sysdeps/generic/e_scalb.c: Set invalid exception for invalid
5916	parameters.
5917	* sysdeps/generic/e_scalbf.c: Likewise.
5918	* sysdeps/generic/e_scalbl.c: Likewise.
5919
5920	* sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
5921	libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
5922	in libc.
5923	(routines): Replace libm_error with libc_libm_error.
5924	* sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
5925	* sysdeps/ia64/fpu/libc_libm_error.c: New file.
5926
59272001-02-18  Mark Kettenis  <kettenis@gnu.org>
5928
5929	* malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
5930	(mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
5931
59322001-02-17  H.J. Lu  <hjl@gnu.org>
5933
5934	* sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
5935	scratch registers across the system call.
5936
59372001-02-19  Andreas Jaeger  <aj@suse.de>
5938
5939	* malloc/Makefile (tests): Run mtrace only when perl is available.
5940	Reported by Achim Gottinger <achim@gentoo.org>.
5941
59422001-02-19  Ulrich Drepper  <drepper@redhat.com>
5943
5944	* sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
5945	Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5946
5947	* sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
5948	* sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
5949	* math/libm-test.inc (j1_test): Mark constants as long double.
5950	(jn_test): Likewise.
5951	(y1_test): Likewise.
5952	(yn_test): Likewise.
5953
5954	* libio/iogetline.c: Move return until after last statement.
5955
5956	* localedata/show-ucs-data.c: Don't show < > for better readability.
5957
5958	* sysdeps/ia64/fpu/Dist: New file.
5959	* sysdeps/ia64/fpu/Makefile: New file.
5960	* sysdeps/ia64/fpu/Versions: New file.
5961	* sysdeps/ia64/fpu/e_acos.S: New file.
5962	* sysdeps/ia64/fpu/e_acosf.S: New file.
5963	* sysdeps/ia64/fpu/e_acosl.S: New file.
5964	* sysdeps/ia64/fpu/e_asin.S: New file.
5965	* sysdeps/ia64/fpu/e_asinf.S: New file.
5966	* sysdeps/ia64/fpu/e_asinl.S: New file.
5967	* sysdeps/ia64/fpu/e_atan2.S: New file.
5968	* sysdeps/ia64/fpu/e_atan2f.S: New file.
5969	* sysdeps/ia64/fpu/e_atan2l.c: New file.
5970	* sysdeps/ia64/fpu/e_cosh.S: New file.
5971	* sysdeps/ia64/fpu/e_coshf.S: New file.
5972	* sysdeps/ia64/fpu/e_coshl.S: New file.
5973	* sysdeps/ia64/fpu/e_exp.S: New file.
5974	* sysdeps/ia64/fpu/e_expf.S: New file.
5975	* sysdeps/ia64/fpu/e_expl.c: New file.
5976	* sysdeps/ia64/fpu/e_fmod.S: New file.
5977	* sysdeps/ia64/fpu/e_fmodf.S: New file.
5978	* sysdeps/ia64/fpu/e_fmodl.S: New file.
5979	* sysdeps/ia64/fpu/e_hypot.S: New file.
5980	* sysdeps/ia64/fpu/e_hypotf.S: New file.
5981	* sysdeps/ia64/fpu/e_hypotl.S: New file.
5982	* sysdeps/ia64/fpu/e_log.S: New file.
5983	* sysdeps/ia64/fpu/e_log10.c: New file.
5984	* sysdeps/ia64/fpu/e_log10f.c: New file.
5985	* sysdeps/ia64/fpu/e_log10l.c: New file.
5986	* sysdeps/ia64/fpu/e_logf.S: New file.
5987	* sysdeps/ia64/fpu/e_logl.c: New file.
5988	* sysdeps/ia64/fpu/e_pow.S: New file.
5989	* sysdeps/ia64/fpu/e_powf.S: New file.
5990	* sysdeps/ia64/fpu/e_powl.S: New file.
5991	* sysdeps/ia64/fpu/e_rem_pio2.c: New file.
5992	* sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
5993	* sysdeps/ia64/fpu/e_remainder.S: New file.
5994	* sysdeps/ia64/fpu/e_remainderf.S: New file.
5995	* sysdeps/ia64/fpu/e_remainderl.S: New file.
5996	* sysdeps/ia64/fpu/e_scalb.S: New file.
5997	* sysdeps/ia64/fpu/e_scalbf.S: New file.
5998	* sysdeps/ia64/fpu/e_scalbl.S: New file.
5999	* sysdeps/ia64/fpu/e_sinh.S: New file.
6000	* sysdeps/ia64/fpu/e_sinhf.S: New file.
6001	* sysdeps/ia64/fpu/e_sinhl.S: New file.
6002	* sysdeps/ia64/fpu/e_sqrt.S: New file.
6003	* sysdeps/ia64/fpu/e_sqrtf.S: New file.
6004	* sysdeps/ia64/fpu/e_sqrtl.S: New file.
6005	* sysdeps/ia64/fpu/k_rem_pio2.c: New file.
6006	* sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
6007	* sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
6008	* sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
6009	* sysdeps/ia64/fpu/libm_error.c: New file.
6010	* sysdeps/ia64/fpu/libm_frexp4.S: New file.
6011	* sysdeps/ia64/fpu/libm_frexp4f.S: New file.
6012	* sysdeps/ia64/fpu/libm_frexp4l.S: New file.
6013	* sysdeps/ia64/fpu/libm_reduce.S: New file.
6014	* sysdeps/ia64/fpu/libm_support.h: New file.
6015	* sysdeps/ia64/fpu/libm_tan.S: New file.
6016	* sysdeps/ia64/fpu/s_atan.S: New file.
6017	* sysdeps/ia64/fpu/s_atanf.S: New file.
6018	* sysdeps/ia64/fpu/s_atanl.S: New file.
6019	* sysdeps/ia64/fpu/s_cbrt.S: New file.
6020	* sysdeps/ia64/fpu/s_cbrtf.S: New file.
6021	* sysdeps/ia64/fpu/s_cbrtl.S: New file.
6022	* sysdeps/ia64/fpu/s_ceil.S: New file.
6023	* sysdeps/ia64/fpu/s_ceilf.S: New file.
6024	* sysdeps/ia64/fpu/s_ceill.S: New file.
6025	* sysdeps/ia64/fpu/s_cos.S: New file.
6026	* sysdeps/ia64/fpu/s_cosf.S: New file.
6027	* sysdeps/ia64/fpu/s_cosl.S: New file.
6028	* sysdeps/ia64/fpu/s_expm1.S: New file.
6029	* sysdeps/ia64/fpu/s_expm1f.S: New file.
6030	* sysdeps/ia64/fpu/s_expm1l.S: New file.
6031	* sysdeps/ia64/fpu/s_floor.S: New file.
6032	* sysdeps/ia64/fpu/s_floorf.S: New file.
6033	* sysdeps/ia64/fpu/s_floorl.S: New file.
6034	* sysdeps/ia64/fpu/s_frexp.c: New file.
6035	* sysdeps/ia64/fpu/s_frexpf.c: New file.
6036	* sysdeps/ia64/fpu/s_frexpl.c: New file.
6037	* sysdeps/ia64/fpu/s_ilogb.S: New file.
6038	* sysdeps/ia64/fpu/s_ilogbf.S: New file.
6039	* sysdeps/ia64/fpu/s_ilogbl.S: New file.
6040	* sysdeps/ia64/fpu/s_ldexp.S: New file.
6041	* sysdeps/ia64/fpu/s_ldexpf.S: New file.
6042	* sysdeps/ia64/fpu/s_ldexpl.S: New file.
6043	* sysdeps/ia64/fpu/s_log1p.S: New file.
6044	* sysdeps/ia64/fpu/s_log1pf.S: New file.
6045	* sysdeps/ia64/fpu/s_log1pl.S: New file.
6046	* sysdeps/ia64/fpu/s_logb.S: New file.
6047	* sysdeps/ia64/fpu/s_logbf.S: New file.
6048	* sysdeps/ia64/fpu/s_logbl.S: New file.
6049	* sysdeps/ia64/fpu/s_matherrf.c: New file.
6050	* sysdeps/ia64/fpu/s_matherrl.c: New file.
6051	* sysdeps/ia64/fpu/s_modf.S: New file.
6052	* sysdeps/ia64/fpu/s_modff.S: New file.
6053	* sysdeps/ia64/fpu/s_modfl.S: New file.
6054	* sysdeps/ia64/fpu/s_nearbyint.S: New file.
6055	* sysdeps/ia64/fpu/s_nearbyintf.S: New file.
6056	* sysdeps/ia64/fpu/s_nearbyintl.S: New file.
6057	* sysdeps/ia64/fpu/s_rint.S: New file.
6058	* sysdeps/ia64/fpu/s_rintf.S: New file.
6059	* sysdeps/ia64/fpu/s_rintl.S: New file.
6060	* sysdeps/ia64/fpu/s_round.S: New file.
6061	* sysdeps/ia64/fpu/s_roundf.S: New file.
6062	* sysdeps/ia64/fpu/s_roundl.S: New file.
6063	* sysdeps/ia64/fpu/s_scalbn.S: New file.
6064	* sysdeps/ia64/fpu/s_scalbnf.S: New file.
6065	* sysdeps/ia64/fpu/s_scalbnl.S: New file.
6066	* sysdeps/ia64/fpu/s_significand.S: New file.
6067	* sysdeps/ia64/fpu/s_significandf.S: New file.
6068	* sysdeps/ia64/fpu/s_significandl.S: New file.
6069	* sysdeps/ia64/fpu/s_sin.c: New file.
6070	* sysdeps/ia64/fpu/s_sincos.c: New file.
6071	* sysdeps/ia64/fpu/s_sincosf.c: New file.
6072	* sysdeps/ia64/fpu/s_sincosl.c: New file.
6073	* sysdeps/ia64/fpu/s_sinf.c: New file.
6074	* sysdeps/ia64/fpu/s_sinl.c: New file.
6075	* sysdeps/ia64/fpu/s_tan.S: New file.
6076	* sysdeps/ia64/fpu/s_tanf.S: New file.
6077	* sysdeps/ia64/fpu/s_tanl.S: New file.
6078	* sysdeps/ia64/fpu/s_trunc.S: New file.
6079	* sysdeps/ia64/fpu/s_truncf.S: New file.
6080	* sysdeps/ia64/fpu/s_truncl.S: New file.
6081	* sysdeps/ia64/fpu/w_acos.c: New file.
6082	* sysdeps/ia64/fpu/w_acosf.c: New file.
6083	* sysdeps/ia64/fpu/w_acosl.c: New file.
6084	* sysdeps/ia64/fpu/w_asin.c: New file.
6085	* sysdeps/ia64/fpu/w_asinf.c: New file.
6086	* sysdeps/ia64/fpu/w_asinl.c: New file.
6087	* sysdeps/ia64/fpu/w_atan2.c: New file.
6088	* sysdeps/ia64/fpu/w_atan2f.c: New file.
6089	* sysdeps/ia64/fpu/w_atan2l.c: New file.
6090	* sysdeps/ia64/fpu/w_cosh.c: New file.
6091	* sysdeps/ia64/fpu/w_coshf.c: New file.
6092	* sysdeps/ia64/fpu/w_coshl.c: New file.
6093	* sysdeps/ia64/fpu/w_exp.c: New file.
6094	* sysdeps/ia64/fpu/w_expf.c: New file.
6095	* sysdeps/ia64/fpu/w_fmod.c: New file.
6096	* sysdeps/ia64/fpu/w_fmodf.c: New file.
6097	* sysdeps/ia64/fpu/w_fmodl.c: New file.
6098	* sysdeps/ia64/fpu/w_hypot.c: New file.
6099	* sysdeps/ia64/fpu/w_hypotf.c: New file.
6100	* sysdeps/ia64/fpu/w_hypotl.c: New file.
6101	* sysdeps/ia64/fpu/w_log.c: New file.
6102	* sysdeps/ia64/fpu/w_log10.c: New file.
6103	* sysdeps/ia64/fpu/w_log10f.c: New file.
6104	* sysdeps/ia64/fpu/w_log10l.c: New file.
6105	* sysdeps/ia64/fpu/w_logf.c: New file.
6106	* sysdeps/ia64/fpu/w_logl.c: New file.
6107	* sysdeps/ia64/fpu/w_pow.c: New file.
6108	* sysdeps/ia64/fpu/w_powf.c: New file.
6109	* sysdeps/ia64/fpu/w_powl.c: New file.
6110	* sysdeps/ia64/fpu/w_remainder.c: New file.
6111	* sysdeps/ia64/fpu/w_remainderf.c: New file.
6112	* sysdeps/ia64/fpu/w_remainderl.c: New file.
6113	* sysdeps/ia64/fpu/w_scalb.c: New file.
6114	* sysdeps/ia64/fpu/w_scalbf.c: New file.
6115	* sysdeps/ia64/fpu/w_scalbl.c: New file.
6116	* sysdeps/ia64/fpu/w_sqrt.c: New file.
6117	* sysdeps/ia64/fpu/w_sqrtf.c: New file.
6118	* sysdeps/ia64/fpu/w_sqrtl.c: New file.
6119	* sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
6120	implementation.
6121	* sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
6122	Change FP_ILOGBNAN for new implementation.
6123	* Verions.def: Add 2.2.3 versions.
6124
61252001-02-18  Ulrich Drepper  <drepper@redhat.com>
6126
6127	* math/libm-test.inc (scalb_test): Require invalid exception being
6128	raised for invalid parameters.
6129	* sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
6130	* sysdeps/i386/fpu/e_scalbf.S: Likewise.
6131	* sysdeps/i386/fpu/e_scalbl.S: Likewise.
6132
61332001-02-18  Mark Kettenis  <kettenis@gnu.org>
6134
6135	* sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
6136	value to long int.
6137	(__get_avphys_pages): Likewise.
6138
61392001-02-18  Ulrich Drepper  <drepper@redhat.com>
6140
6141	* math/libm-test.inc (pow_test): Correct expected results for x == +-1.
6142	* sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
6143	* sysdeps/i386/fpu/e_powf.S: Likewise.
6144	* sysdeps/i386/fpu/e_powl.S: Likewise.
6145
6146	* sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
6147
61482001-02-17  Ulrich Drepper  <drepper@redhat.com>
6149
6150	* math/Makefile (libm-calls): It's e_exp2 not s_exp2.
6151
6152	* sysdeps/generic/s_exp2l.c: Renamed to...
6153	* sysdeps/generic/e_exp2l.c: ...this.   New file.
6154	* sysdeps/i386/fpu/s_exp2.S: Renamed to...
6155	* sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
6156	* sysdeps/i386/fpu/s_exp2f.S: Renamed to...
6157	* sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
6158	* sysdeps/i386/fpu/s_exp2l.S: Renamed to...
6159	* sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
6160	* sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
6161	* sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
6162	* sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
6163	* sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
6164	* sysdeps/m68k/fpu/s_exp2.c: Renamed to...
6165	* sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
6166	* sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
6167	* sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
6168	* sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
6169	* sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
6170
61712001-02-17  Andreas Jaeger  <aj@suse.de>
6172
6173	* configure.in: Allow gcc 3.
6174
61752001-02-16  Ulrich Drepper  <drepper@redhat.com>
6176
6177	* math/w_acos.c: Move to ...
6178	* sysdeps/generic/w_acos.c: ...here.  New file.
6179	* math/w_acosf.c: Move to ...
6180	* sysdeps/generic/w_acosf.c: ...here.  New file.
6181	* math/w_acosh.c: Move to ...
6182	* sysdeps/generic/w_acosh.c: ...here.  New file.
6183	* math/w_acoshf.c: Move to ...
6184	* sysdeps/generic/w_acoshf.c: ...here.  New file.
6185	* math/w_acoshl.c: Move to ...
6186	* sysdeps/generic/w_acoshl.c: ...here.  New file.
6187	* math/w_acosl.c: Move to ...
6188	* sysdeps/generic/w_acosl.c: ...here.  New file.
6189	* math/w_asin.c: Move to ...
6190	* sysdeps/generic/w_asin.c: ...here.  New file.
6191	* math/w_asinf.c: Move to ...
6192	* sysdeps/generic/w_asinf.c: ...here.  New file.
6193	* math/w_asinl.c: Move to ...
6194	* sysdeps/generic/w_asinl.c: ...here.  New file.
6195	* math/w_atan2.c: Move to ...
6196	* sysdeps/generic/w_atan2.c: ...here.  New file.
6197	* math/w_atan2f.c: Move to ...
6198	* sysdeps/generic/w_atan2f.c: ...here.  New file.
6199	* math/w_atan2l.c: Move to ...
6200	* sysdeps/generic/w_atan2l.c: ...here.  New file.
6201	* math/w_atanh.c: Move to ...
6202	* sysdeps/generic/w_atanh.c: ...here.  New file.
6203	* math/w_atanhf.c: Move to ...
6204	* sysdeps/generic/w_atanhf.c: ...here.  New file.
6205	* math/w_atanhl.c: Move to ...
6206	* sysdeps/generic/w_atanhl.c: ...here.  New file.
6207	* math/w_cosh.c: Move to ...
6208	* sysdeps/generic/w_cosh.c: ...here.  New file.
6209	* math/w_coshf.c: Move to ...
6210	* sysdeps/generic/w_coshf.c: ...here.  New file.
6211	* math/w_coshl.c: Move to ...
6212	* sysdeps/generic/w_coshl.c: ...here.  New file.
6213	* math/w_drem.c: Move to ...
6214	* sysdeps/generic/w_drem.c: ...here.  New file.
6215	* math/w_dremf.c: Move to ...
6216	* sysdeps/generic/w_dremf.c: ...here.  New file.
6217	* math/w_dreml.c: Move to ...
6218	* sysdeps/generic/w_dreml.c: ...here.  New file.
6219	* math/w_exp10.c: Move to ...
6220	* sysdeps/generic/w_exp10.c: ...here.  New file.
6221	* math/w_exp10f.c: Move to ...
6222	* sysdeps/generic/w_exp10f.c: ...here.  New file.
6223	* math/w_exp10l.c: Move to ...
6224	* sysdeps/generic/w_exp10l.c: ...here.  New file.
6225	* math/w_exp2.c: Move to ...
6226	* sysdeps/generic/w_exp2.c: ...here.  New file.
6227	* math/w_exp2f.c: Move to ...
6228	* sysdeps/generic/w_exp2f.c: ...here.  New file.
6229	* math/w_exp2l.c: Move to ...
6230	* sysdeps/generic/w_exp2l.c: ...here.  New file.
6231	* math/w_fmod.c: Move to ...
6232	* sysdeps/generic/w_fmod.c: ...here.  New file.
6233	* math/w_fmodf.c: Move to ...
6234	* sysdeps/generic/w_fmodf.c: ...here.  New file.
6235	* math/w_fmodl.c: Move to ...
6236	* sysdeps/generic/w_fmodl.c: ...here.  New file.
6237	* math/w_hypot.c: Move to ...
6238	* sysdeps/generic/w_hypot.c: ...here.  New file.
6239	* math/w_hypotf.c: Move to ...
6240	* sysdeps/generic/w_hypotf.c: ...here.  New file.
6241	* math/w_hypotl.c: Move to ...
6242	* sysdeps/generic/w_hypotl.c: ...here.  New file.
6243	* math/w_j0.c: Move to ...
6244	* sysdeps/generic/w_j0.c: ...here.  New file.
6245	* math/w_j0f.c: Move to ...
6246	* sysdeps/generic/w_j0f.c: ...here.  New file.
6247	* math/w_j0l.c: Move to ...
6248	* sysdeps/generic/w_j0l.c: ...here.  New file.
6249	* math/w_j1.c: Move to ...
6250	* sysdeps/generic/w_j1.c: ...here.  New file.
6251	* math/w_j1f.c: Move to ...
6252	* sysdeps/generic/w_j1f.c: ...here.  New file.
6253	* math/w_j1l.c: Move to ...
6254	* sysdeps/generic/w_j1l.c: ...here.  New file.
6255	* math/w_jn.c: Move to ...
6256	* sysdeps/generic/w_jn.c: ...here.  New file.
6257	* math/w_jnf.c: Move to ...
6258	* sysdeps/generic/w_jnf.c: ...here.  New file.
6259	* math/w_jnl.c: Move to ...
6260	* sysdeps/generic/w_jnl.c: ...here.  New file.
6261	* math/w_lgamma.c: Move to ...
6262	* sysdeps/generic/w_lgamma.c: ...here.  New file.
6263	* math/w_lgammaf.c: Move to ...
6264	* sysdeps/generic/w_lgammaf.c: ...here.  New file.
6265	* math/w_lgammaf_r.c: Move to ...
6266	* sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
6267	* math/w_lgammal.c: Move to ...
6268	* sysdeps/generic/w_lgammal.c: ...here.  New file.
6269	* math/w_lgammal_r.c: Move to ...
6270	* sysdeps/generic/w_lgammal_r.c: ...here.  New file.
6271	* math/w_lgamma_r.c: Move to ...
6272	* sysdeps/generic/w_lgamma_r.c: ...here.  New file.
6273	* math/w_log10.c: Move to ...
6274	* sysdeps/generic/w_log10.c: ...here.  New file.
6275	* math/w_log10f.c: Move to ...
6276	* sysdeps/generic/w_log10f.c: ...here.  New file.
6277	* math/w_log10l.c: Move to ...
6278	* sysdeps/generic/w_log10l.c: ...here.  New file.
6279	* math/w_log.c: Move to ...
6280	* sysdeps/generic/w_log.c: ...here.  New file.
6281	* math/w_logf.c: Move to ...
6282	* sysdeps/generic/w_logf.c: ...here.  New file.
6283	* math/w_logl.c: Move to ...
6284	* sysdeps/generic/w_logl.c: ...here.  New file.
6285	* math/w_pow.c: Move to ...
6286	* sysdeps/generic/w_pow.c: ...here.  New file.
6287	* math/w_powf.c: Move to ...
6288	* sysdeps/generic/w_powf.c: ...here.  New file.
6289	* math/w_powl.c: Move to ...
6290	* sysdeps/generic/w_powl.c: ...here.  New file.
6291	* math/w_remainder.c: Move to ...
6292	* sysdeps/generic/w_remainder.c: ...here.  New file.
6293	* math/w_remainderf.c: Move to ...
6294	* sysdeps/generic/w_remainderf.c: ...here.  New file.
6295	* math/w_remainderl.c: Move to ...
6296	* sysdeps/generic/w_remainderl.c: ...here.  New file.
6297	* math/w_scalb.c: Move to ...
6298	* sysdeps/generic/w_scalb.c: ...here.  New file.
6299	* math/w_scalbf.c: Move to ...
6300	* sysdeps/generic/w_scalbf.c: ...here.  New file.
6301	* math/w_scalbl.c: Move to ...
6302	* sysdeps/generic/w_scalbl.c: ...here.  New file.
6303	* math/w_sinh.c: Move to ...
6304	* sysdeps/generic/w_sinh.c: ...here.  New file.
6305	* math/w_sinhf.c: Move to ...
6306	* sysdeps/generic/w_sinhf.c: ...here.  New file.
6307	* math/w_sinhl.c: Move to ...
6308	* sysdeps/generic/w_sinhl.c: ...here.  New file.
6309	* math/w_sqrtl.c: Move to ...
6310	* sysdeps/generic/w_sqrtl.c: ...here.  New file.
6311	* math/w_tgamma.c: Move to ...
6312	* sysdeps/generic/w_tgamma.c: ...here.  New file.
6313	* math/w_tgammaf.c: Move to ...
6314	* sysdeps/generic/w_tgammaf.c: ...here.  New file.
6315	* math/w_tgammal.c: Move to ...
6316	* sysdeps/generic/w_tgammal.c: ...here.  New file.
6317
6318	* locale/programs/ld-address.c (address_finish): Add 'S' to allow
6319	formats for postal_fmt.
6320
63212001-02-16  Jakub Jelinek  <jakub@redhat.com>
6322
6323	* sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
6324	__ftruncate64 alias.
6325	* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
6326	Likewise.
6327
63282001-02-15  David Mosberger  <davidm@hpl.hp.com>
6329
6330	* sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
6331	do "loadrs".  Writing to bspstore already takes care of
6332	invalidating the "clean" partition.
6333
63342001-02-16  Andreas Schwab  <schwab@suse.de>
6335
6336	* sysdeps/m68k/fpu/s_nextafterl.c: New file.
6337	* sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
6338
63392001-02-15  Jakub Jelinek  <jakub@redhat.com>
6340
6341	* posix/regex.c (init_syntax_once): Add prototype.
6342	(TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
6343	(re_search_2): Avoid warning.
6344	(count_mbs_length): Add prototype.
6345	* posix/tst-regex3.c: New file.
6346	* posix/Makefile (tests): Add bug-regex3.
6347
63482001-02-15  Ulrich Drepper  <drepper@redhat.com>
6349
6350	* stdio-common/Makefile (tests): Add tst-gets.
6351	* stdio-common/tst-gets.c: New file.
6352	* stdio-common/tst-gets.input: New file.
6353
6354	* elf/elf.h (DT_CHECKSUM): Define.
6355
6356	* sysdeps/generic/strtoll.c: Don't export __strto*_internal as
6357	default symbol.
6358	* sysdeps/generic/strtoull.c: Likewise.
6359
63602001-02-14  Wolfram Gloger  <wg@malloc.de>
6361
6362	* malloc/malloc.c (new_heap): When allocating large chunk aligned
6363	to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
6364	between the heaps.
6365
63662001-02-14  Ulrich Drepper  <drepper@redhat.com>
6367
6368	* math/libm-test.inc (j0_test): Check whether sincos is available.
6369	(j1_test): Likewise.
6370	(jn_test): Likewise.
6371	(y0_test): Likewise.
6372	(y1_test): Likewise.
6373	(yn_test): Likewise.
6374
6375	* posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
6376	fake filesystem routines to handle this.
6377
6378	* time/sys/time.h: Make settimeofday and adjtime available if
6379	_BSD_SOURCE.
6380
6381	* time/sys/time.h: Make timer* macros available for BSD.
6382
6383	* iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
6384	Patch by Yong Li <rigel863@yahoo.com>.
6385
6386	* sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
6387	name.
6388
6389	* posix/Makefile (tests): Add tst-gnuglob.
6390	* posix/tst-gnuglob.c: New file.
6391
63922001-02-13  H.J. Lu  <hjl@gnu.org>
6393
6394	* sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
6395
63962001-02-13  Ulrich Drepper  <drepper@redhat.com>
6397
6398	* locale/programs/ld-paper.c (paper_output): Pretty printing.
6399
6400	* iconvdata/Makefile (modules): Add GBBIG5.
6401	(distribute): Add gbbig5.c.
6402	* iconvdata/gconv-modules: Add entries for GBBIG5 module.
6403
6404	* iconvdata/gbbig5.c: New file.
6405	Contributed by Yong Li <rigel863@yahoo.com>.
6406
64072001-02-13  Philip Blundell  <pb@futuretv.com>
6408
6409	* manual/crypt.texi: Remove outdated references to crypt add-on.
6410
6411	* manual/creature.texi: Improve wording slightly.
6412
64132001-02-13  Ulrich Drepper  <drepper@redhat.com>
6414
6415	* io/ftw.c: Always use readdir64.
6416	* io/ftw64.c: Likewise.
6417	* sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6418	* sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6419	* sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
6420	callback to dirent.  Still allow compiling outside glibc.
6421	* sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
6422	* sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6423
6424	* malloc/mtrace.c: Use fopen64.
6425	* posix/spawni.c: Use __open64.
6426	* sysdeps/unix/opendir.c: Likewise.
6427	* sysdeps/unix/sysv/linux/gethostid.c: Likewise.
6428
6429	* sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
6430	name a weak alias.
6431	* sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
6432	* sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
6433	* sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
6434	* sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
6435
6436	* resolv/res_data.c: Add cast to avoid warning.
6437
6438	* include/unistd.h: Declare __ftruncate64.
6439
6440	* sysdeps/generic/utmp_file.c: Use LFS functions and types.
6441
6442	* sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
6443	instead of __lseek.
6444
64452001-02-13  Andreas Jaeger  <aj@suse.de>
6446
6447	* login/getutent_r.c: Include <stdlib.h> for NULL.
6448	* login/getutid_r.c: Likewise.
6449
64502001-02-12  Ulrich Drepper  <drepper@redhat.com>
6451
6452	* sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
6453	* sysdeps/dbl-64/e_j1.c: Likewise.
6454	* sysdeps/dbl-64/e_jn.c: Likewise.
6455	* sysdeps/flt-32/e_j0f.c: Likewise.
6456	* sysdeps/flt-32/e_j1f.c: Likewise.
6457	* sysdeps/ldbl-96/e_j0l.c: Likewise.
6458
64592000-12-02  H.J. Lu  <hjl@gnu.org>
6460
6461	* resolv/res_libc.c (res_init): Don't make it default.
6462
64632001-02-12  Ulrich Drepper  <drepper@redhat.com>
6464
6465	* manual/debug.texi: Improved the wording.
6466	Patch by Philip Blundell <pb@futuretv.com>.
6467
64682001-02-12  Andreas Jaeger  <aj@suse.de>
6469
6470	* posix/Makefile (tests): Don't run bug-regex2 when
6471	cross-compiling.
6472
6473	* libio/Makefile (tests): Don't run test-freopen when
6474	cross-compiling.
6475
6476	* manual/stdio.texi (Streams and I18N): Fix typos.
6477
64782001-02-12  Ulrich Drepper  <drepper@redhat.com>
6479
6480	* sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
6481
6482	* math/libm-test.inc (j0_test): Make expected results long double
6483	constants.
6484	(y0_test): Likewise.
6485
6486	* sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
6487	Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
6488
64892001-02-11  Jakub Jelinek  <jakub@redhat.com>
6490
6491	* sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
6492	which was exported from libc.
6493	* sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
6494
64952001-02-12  Andreas Jaeger  <aj@suse.de>
6496
6497	* manual/arith.texi (Parsing of Integers): Fix some wordings.
6498
64992001-02-11  Ulrich Drepper  <drepper@redhat.com>
6500
6501	* sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
6502	and get_avphys_page to long int.
6503	* sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
6504	* include/sys/sysinfo.h: Likewise.
6505	* sysdeps/generic/sys/sysinfo.h: Likewise.
6506	* sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
6507
6508	* sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
6509	cannot return as many values as the user asked for.
6510
65112001-02-11  Andreas Jaeger  <aj@suse.de>
6512
6513	* manual/resource.texi (Memory Resources): Fix typo.
6514
6515	* libio/Makefile ($(objpfx)test-freopen.out): Pass
6516	run-program-prefix.
6517
6518	* libio/test-freopen.sh: Use run_program_prefix.
6519
65202001-02-10  Andreas Jaeger  <aj@suse.de>
6521
6522	* stdlib/Makefile (tests): Don't run tst-fmtmsg when
6523	cross-compiling.
6524	($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
6525
6526	* stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
6527	only builds.
6528
6529	* elf/Makefile (tests): Only run tst-pathopt with shared libs.
6530
6531	* posix/Makefile: Fix typo, it's build-static-nss.
6532
6533	* iconv/Makefile (extra-objs): New.
6534
65352001-02-10  Mark Kettenis  <kettenis@gnu.org>
6536
6537	* sysdeps/unix/stime.c: Include <time.h>.
6538
6539	* sysdeps/mach/hurd/setitimer.c: Include <time.h>.
6540
65412001-02-10  Andreas Jaeger  <aj@suse.de>
6542
6543	* manual/string.texi (Search Functions): Fix typo.
6544
65452001-02-10  Mark Kettenis  <kettenis@gnu.org>
6546
6547	* sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
6548	(timeval_to_clock_t): Add clk_tck argument and use that instead of
6549	CLK_TCK.
6550	(__times): Use __getclktck to get the number of clock ticks per
6551	second and use its return value instead	of CLK_TCK.
6552
65532001-02-10  Mark Kettenis  <kettenis@gnu.org>
6554
6555	* sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
6556
65572001-02-10  Mark Kettenis  <kettenis@gnu.org>
6558
6559	* sysdeps/mach/gettimeofday.c: Include <stddef.h>.
6560
65612001-02-10  Andreas Jaeger  <aj@suse.de>
6562
6563	* wctype/wcfuncs.c (func): Add prototype declarations to avoid
6564	warning.
6565
65662001-02-09  Ulrich Drepper  <drepper@redhat.com>
6567
6568	* posix/Makefile: Add rules to build and run bug-regex2.
6569	* posix/bug-regex2.c: New file.
6570
65712001-02-10  Jakub Jelinek  <jakub@redhat.com>
6572
6573	* posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
6574	(regex_compile): Likewise.
6575	(FREE_VARIABLES): Don't free is_binary1 and is_binary2.
6576	(re_match_2_internal): Use just is_binary instead of two variables.
6577	Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
6578
65792001-02-09  Ulrich Drepper  <drepper@redhat.com>
6580
6581	* version.h (VERSION): Bump to 2.2.2.
6582
6583	* iconv/Makefile (distribute): Add iconv_charmap.c and
6584	dummy-repertoire.c.
6585	* elf/Makefile (distribute): Add firstobj.c.
6586	* Makefile (distribute): Add include/pthread.h.
6587
6588	* configure.in: Require makeinfo version 4.
6589
6590	* libio/tst_wscanf.c (main): Add cast to avoid warning.
6591	* libio/tst_swscanf.c (main): Likewise..
6592
65932001-02-09  Jakub Jelinek  <jakub@redhat.com>
6594
6595	* sysdeps/generic/setenv.c (unsetenv): Remove const from len.
6596	* sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
6597	__NO_MATH_INLINES.
6598	* sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
6599	if not RTLD_BOOTSTRAP.
6600	* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6601	* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6602
66032001-02-09  Ulrich Drepper  <drepper@redhat.com>
6604
6605	* locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
6606	lr_ungetc to push back last read character.
6607	* locale/programs/linereader.h (lr_ungetc): Don't push back is
6608	character is EOF.
6609	(lr_ignore_rest): Don't warn about garbage if it is really the end
6610	of the file.
6611
6612	* manual/Makefile: Use ifnottext and not ifinfo to protect Top node
6613	definition.
6614
66152001-02-08  Ulrich Drepper  <drepper@redhat.com>
6616
6617	* Makerules (build-shlib): Work around different order of
6618	processing of -B option in different gcc versions.
6619
6620	* posix/regex.c: Fix alignment problem.
6621	Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6622
6623	* sysdeps/alpha/strrchr.S: Little optimization.
6624	Patch by Richard Henderson <rth@redhat.com>.
6625
6626	* sysdeps/alpha/alphaev67/strrchr.S: New file.
6627	Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
6628
66292001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
6630
6631	* sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
6632	in the assembler end directive.
6633
66342001-02-08  Andreas Jaeger  <aj@suse.de>
6635
6636	* manual/stdio.texi (Closing Streams): Fix typos.
6637
66382001-02-07  Ulrich Drepper  <drepper@redhat.com>
6639
6640	* sysdeps/alpha/alphaev67/strncat.S: Align last write address.
6641	Patch by Richard Henderson <rth@redhat.com>.
6642	Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
6643
6644	* stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
6645	pointer in FILE structure before calling _IO_init.
6646	* stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
6647	strfmon_l if necessary.
6648	Reported by Jury Gerold <gjury@grips.com>.
6649
6650	* sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
6651	Patch by Pekka.Pietikainen@cern.ch.
6652
6653	* posix/regex.c: Correct several problems with 64-bit architectures
6654	introduced in the MBS changes.
6655	Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6656
66572001-02-07  Jakub Jelinek  <jakub@redhat.com>
6658
6659	* math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
6660	not defined.
6661	* sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
6662
66632001-02-07  Andreas Jaeger  <aj@suse.de>
6664
6665	* manual/install.texi (Tools for Compilation): Fix typo.
6666	Reported by Pavel Machek <pavel@bug.ucw.cz>.
6667
66682001-02-07  Ulrich Drepper  <drepper@redhat.com>
6669
6670	* stdlib/strtod.c: Never stop prematurely reading digits before the
6671	decimal point is found.  Compute exponent limit for negative exponents
6672	correctly.  For numbers ending in all zeros eat the zeros even before
6673	the decimal point if the exponent is negative [PR libc/2072].
6674	* stdlib/Makefile (tests): Add bug-strtod.
6675	* stdlib/bug-strtod.c: New file.
6676
66772001-02-07  Andreas Jaeger  <aj@suse.de>
6678
6679	* posix/bug-regex1.c: Include <wchar.h> for fwide.
6680
66812001-02-06  Ulrich Drepper  <drepper@redhat.com>
6682
6683	* posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
6684	Store index.
6685	(compile_range): Handle index being passed, not pointer.
6686	Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6687
6688	* posix/regex.c: Fix a cast in the code for bracket handling which
6689	caused 8-bit uncleanliness.
6690	Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
6691
6692	* posix/Makefile (tests): Add bug-regex1.
6693	* posix/bug-regex1.c: New file.
6694	Contributed by Jim Meyering <jim@meyering.net>.
6695
6696	* posix/regex.c: Many cleanups for incorrect format strings.
6697
66982001-02-06  Andreas Jaeger  <aj@suse.de>
6699
6700	* time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
6701
67022001-02-06  Ulrich Drepper  <drepper@redhat.com>
6703
6704	* locale/programs/locale.c (write_locales): Use scandir to read
6705	directory so that the entries are sorted.
6706
67072001-02-06  Andreas Jaeger  <aj@suse.de>
6708
6709	* include/pthread.h: New file.
6710
6711	* wctype/wctype.h: Move internal interfaces from here to...
6712	* include/wctype.h: ...here.
6713
6714	* wcsmbs/wchar.h: Move __wcslen from here to...
6715	* include/wchar.h: ...here.
6716
6717	* posix/sys/wait.h: Move __wait from here to...
6718	* include/sys/wait.h: ...here.
6719
6720	* string/string.h: Move __ffs and __strerror_r from here to...
6721	* include/string.h: ...here.
6722
6723	* stdlib/stdlib.h: Move __on_exit from here to...
6724	* include/stdlib.h: ...here.
6725
6726	* libio/stdio.h: Move __vsnprintf from here to...
6727	* include/stdio.h: ...here.
6728
67292001-02-06  Andreas Schwab  <schwab@suse.de>
6730
6731	* sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
6732	headers.
6733
6734	* timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
6735	of $(inst_datadir).
6736
67372001-02-06  Ulrich Drepper  <drepper@redhat.com>
6738
6739	* iconvdata/Makefile: Add dependency for bug-iconv2.out.
6740
67412001-02-06  Andreas Jaeger  <aj@suse.de>
6742
6743	* elf/firstobj.c: Add prototype.
6744
6745	* posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
6746	(truncate_wchar): Likewise.
6747
67482001-02-06  Ulrich Drepper  <drepper@redhat.com>
6749
6750	* locale/programs/locale.c: Implement --verbose option for -a
6751	which prints detailed information about the locales.
6752
67532001-02-05  Ulrich Drepper  <drepper@redhat.com>
6754
6755	* sunrpc/xdr_rec.c (set_input_fragment): Change type of header
6756	variable to uint32_t.
6757	Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
6758
67592001-02-04  Bruno Haible  <haible@clisp.cons.org>
6760
6761	* locale/C-translit.h.in: Add transliterations for CJK units of
6762	measurement.
6763
67642001-02-05  Ulrich Drepper  <drepper@redhat.com>
6765
6766	* elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
6767	string.  Include <inttypes.h> instead of <stdint.h>.
6768
6769	* localedata/Makefile (tests): Add bug-iconv-trans.
6770	Define bug-iconv-trans-ENV.
6771	* localedata/bug-iconv-trans.c: New file.
6772
67732001-02-04  Bruno Haible  <haible@clisp.cons.org>
6774
6775	* iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
6776	pointer, to avoid accumulating output from incomplete (unsuccessful)
6777	transliteration attempts.
6778
67792001-02-05  Ulrich Drepper  <drepper@redhat.com>
6780
6781	* elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
6782	string.  Include <inttypes.h> instead of <stdint.h>.
6783
6784	* configure.in: Add check for bison.
6785	* config.make.in: Define BISON variable.
6786	* intl/Makefile: Use BISON instead of YACC when generating plural.c.
6787	Rename YFLAGS to BISONFLAGS.
6788
67892001-02-05  Andreas Jaeger  <aj@suse.de>
6790
6791	* io/test-lfs.c (do_test): Test lseek64 return value, call
6792	test_ftello.
6793	(test_ftello): New function to test ftello64 and fseeko64.
6794
6795	* signal/signal.h: Move __sigaction from here to...
6796	* include/signal.h: ...here.
6797
6798	* io/fcntl.h: Move __fcntl and __open to...
6799	* include/fcntl.h: ...here.
6800
68012001-02-04  Philip Blundell  <philb@gnu.org>
6802
6803	* configure.in: Distinguish ARM from Thumb.
6804
68052001-02-04  Philip Blundell  <philb@gnu.org>
6806
6807	* sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
6808	PC24 relocs with negative value.
6809
68102001-02-04  Ulrich Drepper  <drepper@redhat.com>
6811
6812	* iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
6813	files in locale/programs.  Add CFLAGS definition to allow compiling
6814	localedef files.
6815	* iconv/dummy-repertoire.c: New file.
6816	* iconv/iconv_charmap.c: New file.
6817	* iconv/iconv_prog.h: New file.
6818	* iconv/iconv_prog.c: Make verbose and omit_invalid global.
6819	(main): If parameter for -f and -t contain slashes try first to resolve
6820	the strings as filenames of charmap files.  Use them for conversion
6821	in this case.
6822	* iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
6823	iconv getting charmap names as parameters.
6824	* locale/programs/linereader.c (lr_token): Take extra parameters
6825	verbose and pass it to get_string.
6826	(get_string): Take extra parameters verbose.
6827	* locale/programs/charmap.c (parse_charmap): Take extra parameters
6828	verbose and be_quiet.  Change all callers of lr_token and
6829	parse_charmap.
6830	* locale/programs/charmap.h: Likewise.
6831	* locale/programs/ld-address.c: Likewise.
6832	* locale/programs/ld-collate.c: Likewise.
6833	* locale/programs/ld-ctype.c: Likewise.
6834	* locale/programs/ld-identification.c: Likewise.
6835	* locale/programs/ld-measurement.c: Likewise.
6836	* locale/programs/ld-messages.c: Likewise.
6837	* locale/programs/ld-monetary.c: Likewise.
6838	* locale/programs/ld-name.c: Likewise.
6839	* locale/programs/ld-numeric.c: Likewise.
6840	* locale/programs/ld-paper.c: Likewise.
6841	* locale/programs/ld-telephone.c: Likewise.
6842	* locale/programs/ld-time.c: Likewise.
6843	* locale/programs/linereader.c: Likewise.
6844	* locale/programs/linereader.h: Likewise.
6845	* locale/programs/localedef.c: Likewise.
6846	* locale/programs/locfile.c: Likewise.
6847	* locale/programs/locfile.h: Likewise.
6848	* locale/programs/repertoire.c: Likewise.
6849
68502001-02-03  Ulrich Drepper  <drepper@redhat.com>
6851
6852	* iconv/iconv_prog.c (main): If output file name is "-" write to
6853	stdout.
6854	(main): If -f or -t argument is missing use charset of the current
6855	locale.
6856
68572001-02-03  Andreas Jaeger  <aj@suse.de>
6858
6859	* sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
6860	boundary for SSE/SSE-2 alignment.
6861
6862	* posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
6863	annexc.
6864
68652001-02-03  Ulrich Drepper  <drepper@redhat.com>
6866
6867	* sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
6868	Remove comma at end of enum.
6869
6870	* elf/dl-init.c: Add a few __builtin_expect.
6871
6872	* hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
6873
68742001-02-02  Ulrich Drepper  <drepper@redhat.com>
6875
6876	* hesiod/hesiod.c (hesiod_resolve): Also search HS records if
6877	errno is ECONNREFUSED.
6878
6879	* posix/Makefile: Define MBS_SUPPORT for regex.c.
6880	* posix/regex.c: Implement multibyte character handling.
6881	Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
6882
6883	* string/tst-svc.input: Add two more test cases.
6884	* string/tst-svc.expect: Modify to reflect new test cases.
6885
68862001-02-01  Jakub Jelinek  <jakub@redhat.com>
6887
6888	* sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
6889	tp->name tests with tp->name[0] tests.
6890
68912001-01-29  Ben Collins  <bcollins@debian.org>
6892
6893	* nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
6894	Fix check for name == NULL.
6895
68962001-02-01  Ulrich Drepper  <drepper@redhat.com>
6897
6898	* elf/Makefile: Add rules to build and run initfirst test.
6899	* elf/initfirst.c: New file.
6900	* elf/firstobj.c: New file.
6901
6902	* Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
6903	* configure.in: Test for -z initfirst linker option.
6904	* config.make.in: Add have-z-initfirst.
6905	* elf/dl-init.c (_dl_init): Split out actual initialization code in
6906	new function call_init.  If _dl_initfirst is non-NULL initialize first.
6907	* elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
6908	remember object in _dl_initfirst.
6909	* elf/soinit.c: Remove special support for calling
6910	__pthread_initialize_minimal.
6911
6912	* conform/conformtest.pl: Add missing $prepend in type test.
6913
69142001-01-31  Ulrich Drepper  <drepper@redhat.com>
6915
6916	* elf/elf.h (SHT_CHECKSUM): New definition.
6917
6918	* posix/fnmatch_loop.c: Remove incorrect reverse condition in
6919	[. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6920	* posix/tst-fnmatch.input: Add tests for [. .] in locales.
6921
69222001-01-31  Mark Kettenis  <kettenis@gnu.org>
6923
6924	* misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
6925	to get definition of `struct timeval'.
6926
69272001-01-31  Ulrich Drepper  <drepper@redhat.com>
6928
6929	* posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
6930	* posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
6931
69322001-01-30  Ulrich Drepper  <drepper@redhat.com>
6933
6934	* iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
6935	seen, not flags.
6936
6937	* nis/nis_findserv.c: Include <time.h>.
6938
69392001-01-30  Yong Li  <yong.li@asu.edu>
6940
6941	* iconv/iconv_prog.c (main): Correct error handling method name.
6942
69432001-01-29  Ben Collins  <bcollins@debian.org>
6944
6945	* sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
6946	* sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
6947	* sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
6948	* sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
6949
69502001-01-30  Ulrich Drepper  <drepper@redhat.com>
6951
6952	* locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
6953	Patch by Marko Myllynen <myllynen@lut.fi>.
6954
6955	* string/bits/string2.h (__strpbrk_c2): Correct parameter types
6956	(int instead of char).
6957	(__strpbrk_c3): Likewise.
6958	Reported by GOTO Masanori <gotom@debian.or.jp>.
6959
6960	* sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
6961	* sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
6962	* include/sys/socket.h: Add SA_LEN here for internal use.
6963	Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
6964
69652001-01-29  Ulrich Drepper  <drepper@redhat.com>
6966
6967	* malloc/Makefile: Don't build memusagestat if cross-compiling.
6968
6969	* sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
6970
6971	* math/libm-test.inc (rint_test): Add a few more tests for round
6972	to even rounding.
6973
69742001-01-28  Ulrich Drepper  <drepper@redhat.com>
6975
6976	* conform/data/pthread.h-data: Correct return type of pthread_exit.
6977
6978	* conform/conformtest.pl: Add -fno-builtin to CFLAGS.
6979
6980	* conform/data/stdlib.h-data: Add _Exit.
6981
6982	* inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
6983	if not already happened.
6984	* inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
6985	Don't include <limits.h> and <bits/sockaddr.h>.
6986
6987	* conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
6988
6989	* conform/data/spawn.h-data: Allow all of <sched.h>.
6990
6991	* sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
6992	unused variable.
6993
6994	* sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
6995	* sunrpc/xdr_sizeof.c (x_inline): Likewise.
6996
6997	* sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
6998
6999	* conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
7000	* libio/stdio.h: Define va_list correctly.
7001
7002	* conform/data/pthread.h-data: Make priority protocol related
7003	functions optional.  Fix typos.
7004
7005	* posix/sched.h: Define sched_priority as __sched_priority.
7006	* sysdeps/generic/bits/sched.h (struct sched_param): Rename element
7007	to __sched_priority.
7008	* sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7009
70102001-01-27  Ulrich Drepper  <drepper@redhat.com>
7011
7012	* sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
7013	of <sys/time.h>.
7014
7015	* sysdeps/unix/stime.c: Include <stddef.h> for NULL.
7016	* sysdeps/unix/time.c: Likewise.
7017
7018	* conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
7019	* sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
7020	* sysdeps/mach/hurd/i386/bits/time.h: Likewise.
7021	* sysdeps/unix/sysv/linux/bits/time.h: Likewise.
7022	* sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
7023	* sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
7024	* sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
7025	* time/time.h: Likewise.
7026
7027	* conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
7028	* conform/data/complex.h-data: New file.
7029	* conform/data/tgmath.h-data: New file.
7030
7031	* conform/data/wchar.h-data: Add missing functions.
7032
7033	* sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
7034
7035	* conform/data/termios.h-data: Add missing const in tcsetattr()
7036	prototype.
7037
7038	* posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
7039	Don't define pid_t here.
7040
7041	* conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
7042
7043	* conform/data/sys/time.h-data: Allow sys/select.h.
7044	* conform/data/sys/un.h-data: Fix typo.
7045	* time/sys/time.h: Don't include all of <time.h>, just struct timeval.
7046	* sysdeps/posix/clock_getres.c: Include <time.h> instead of
7047	<sys/time.h>.
7048	* sysdeps/unix/clock_nanosleep.c: Likewise.
7049	* sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
7050	* sysdeps/unix/i386/i586/clock_getres.c: Likewise.
7051	* sysdeps/unix/clock_gettime.c: Also include <time.h>.
7052	* sysdeps/unix/clock_settime.c: Likewise.
7053
7054	* sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
7055	* login/getutent.c: Likewise.
7056	* login/getutid.c: Likewise.
7057	* login/getutline.c: Likewise.
7058
7059	* socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
7060
7061	* sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
7062	to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
7063	* sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
7064	f_fsid field after change in struct statvfs.
7065	* sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
7066	* sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
7067	* sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
7068
7069	* conform/data/sys/stat.h-data: Remove isfdtype.  Use
7070	optional-macro.
7071
7072	* conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
7073	recvfrom, send, and socketpair prototypes.  Add allow lines.
7074	* socket/sys/socket.h: Include <sys/uio.h>.
7075	Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
7076	Fix type of second parameter of listen.
7077	Don't declare isfdtype unless __USE_MISC.
7078	* sysdeps/generic/listen.c: Fix type of second parameter of listen.
7079	* sysdeps/mach/hurd/listen.c: Likewise.
7080	* sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
7081	ss_family and __ss_family.
7082	* sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
7083	* sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7084	(struct msghdr): Change type of msg_iovlen to int and type of
7085	msg_controllen to socklen_t.
7086	* sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
7087	* sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
7088	* sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
7089	* inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
7090	(rresvport_af): Likewise.
7091
7092	* conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
7093	* conform/conformtest.pl: Implement handling of symbol.
7094
7095	* signal/signal.h: Fix handling of __need_* symbols.
7096	* misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
7097	fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
7098	* include/sys/select.h: Use fd_set not __fd_set.
7099	* sysdeps/generic/bits/select.h: Likewise.
7100	* sysdeps/i386/bits/select.h: Likewise.
7101	* sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
7102	__FDELT, __FDMASK, and __fd_set here.
7103	* sysdeps/unix/sysv/aix/bits/types.h: Likewise.
7104	* sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
7105	* sysdeps/unix/sysv/linux/bits/types.h: Likewise.
7106	* sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
7107	* sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
7108	* sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
7109	* sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
7110	* sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
7111	* time/sys/time.h: Define struct timeval before including <time.h>
7112	and <sys/select.h>.
7113
7114	* conform/data/sys/time.h-data: fd_set is a typedef.
7115	* conform/data/sys/select.h-data: New file.
7116	* conform/data/sys/mman.h-data: Make typed mem stuff optional.
7117	* conform/conformtest.pl (@headers): Add sys/select.h.
7118	(type, optional-type): Unless testing a typedef instantiate object.
7119	Implement optional-function.
7120
7121	* math/test-misc.c: Include <float.h>.
7122
71232001-01-27  Andreas Jaeger  <aj@suse.de>
7124
7125	* misc/efgcvt_r.c: Include <float.h>.
7126
71272001-01-26  Ulrich Drepper  <drepper@redhat.com>
7128
7129	* conform/data/stdlib.h-data: Account for XPG6 changes.
7130	* stdlib/stdlib.h (__random): Change return value type to long.
7131	(posix_memalign): Cleanup parameter names.
7132	(setenv, unsetenv): Make available for __USE_XOPEN2K.
7133	Change return type of unsetenv to int.
7134	(qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
7135	* include/stdlib.h: Change return type of unsetenv to int.
7136	Change return type of random to long int.
7137	* sysdeps/generic/setenv.c (unsetenv): Change return type to int.
7138	Return -1 and set errno if parameter is invalid.
7139	* stdlib/random.c (__random): Change return value type to long.
7140
7141	* conform/data/stdio.h-data: Account for changes in XPG6.
7142
7143	* conform/data/spawn.h-data: Correct posix_spawnattr_setflags
7144	prototype.
7145
7146	* conform/conformtest.pl: Define $mustprepend{"signal.h"}.
7147	* conform/data/signal.h-data: Fix sigev_notify_function entry.
7148	Fix typo (SIGVALRM -> SIGVTALRM).
7149	* sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
7150	with real type.
7151	* sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
7152	* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
7153	* sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
7154	* sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7155	* sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
7156
7157	* conform/conformtest.pl: Implement optional-element.  Define
7158	$mustprepend{"sched.h"}.
7159	* conform/data/sched.h-data: Make sporadic scheduler definitions
7160	optional.
7161
7162	* pwd/pwd.h: Don't define getpwent_r for XPG.
7163
7164	* io/sys/poll.h: Define nfds_t and use it in poll prototype.
7165	* sysdeps/generic/poll.c: Use nfds_t type in function definition.
7166	* sysdeps/mach/hurd/poll.c: Likewise.
7167	* sysdeps/unix/bsd/poll.c: Likewise.
7168	* sysdeps/unix/sysv/linux/poll.c: Likewise.
7169	* sysdeps/unix/sysv/aix/poll.c: Likewise.
7170	* sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
7171	* sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
7172	* sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
7173	* sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
7174	* sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
7175	* conform/data/poll.h-data: Fix typo in poll prototype.
7176
7177	* sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
7178	only if __USE_MISC.
7179	* conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
7180
7181	* sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
7182
7183	* inet/netinet/in.h: Make IPPROTO_ constants also macros.
7184
7185	* conform/conformtest.pl: Implement optional-type.
7186
7187	* resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
7188	<rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
7189	defining uint32_t here.  Define IPPORT_RESERVED.
7190	(struct hostent): Type of h_length element is int.
7191	(getnameinfo): Type of flags parameter is unsigned int.
7192	* inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
7193	* conform/data/netdb.h-data: Add many missing definitions.
7194
7195	* conform/conformtest.pl: Implement optional-macro.
7196	* conform/data/math.h-data: Update for XPG6.
7197
7198	* math/math.h (HUGE): Define as FLT_MAX value but don't use
7199	FLT_MAX.  Don't include <float.h>.
7200	(MAXFLOAT): Likewise.
7201
7202	* math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
7203
7204	* include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
7205
7206	* conform/data/limits.h-data: Mark constants as optional wherever
7207	appropriate.
7208
7209	* posix/bits/posix2_lim.h: Set correct values for
7210	_POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
7211	EQUIV_CLASS_MAX.
7212
7213	* posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
7214	Required by POSIX.
7215
7216	* intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
7217
7218	* conform/data/netinet/in.h-data: Add reserved prefixes.
7219
7220	* conform/data/arpa/inet.h-data: Fix a few typos.
7221
72222001-01-26  Andreas Jaeger  <aj@suse.de>
7223
7224	* sysdeps/generic/strtol.c: Include <locale.h>
7225	* stdlib/strtod.c: Likewise
7226	* stdlib/strfmon.c: Likewise.
7227	* string/strcoll.c: Likewise.
7228	* string/strxfrm.c: Likewise.
7229	* wctype/wcfuncs_l.c: Likewise.
7230	* wctype/wctype_l.c: Likewise.
7231	* wctype/wctrans_l.c: Likewise.
7232
7233	* include/bits/locale.h: New file.
7234
72352001-01-26  Ulrich Drepper  <drepper@redhat.com>
7236
7237	* locale/langinfo.h: Correct logic in #ifs when defining YESSTR
7238	and NOSTR.
7239
7240	* locale/Makefile (headers): Add bits/locale.h.
7241	* locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
7242	and use __LC_ constants instead of LC_.
7243	* locale/locale.h: Include <bits/locale.h> and define LC_ constants
7244	using __LC_ constants.
7245	* locale/bits/locale.h: New file.
7246	* locale/loadlocale.c: Include <locale.h>.
7247	* locale/nl_langinfo.h: Likewise.
7248
7249	* posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
7250
7251	* io/sys/stat.h: Define S_IFSOCK for XPG6.
7252
7253	* conform/data/fcntl.h-data: posix_madvise is not expected here.
7254
7255	* conform/conformtest.pl: Fix handling of macro-str.
7256
7257	* conform/data/inttypes.h-data: Add missing definition and all of
7258	stdint.h-data.
7259
7260	* sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
7261
72622001-01-25  Ulrich Drepper  <drepper@redhat.com>
7263
7264	* conform/conformtest.pl (@headers): Add stdint.h.
7265	* conform/data/stdint.h-data: New file.
7266
7267	* conform/conformtest.pl: Recognize options --headers and
7268	--dialect.  Add dialect-specific CFLAGS.
7269
7270	* conform/conformtest.pl: Implement handling of recursive
7271	allow-header.
7272
7273	* conform/data/locale.h-data: Add new struct lconv members.
7274
7275	* posix/wordexp.h: Correct definition of wordexp_t.
7276	* posix/wordexp.c: Moved to ...
7277	* sysdeps/generic/wordexp.c: ...here.  New file.
7278	* sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
7279	* sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
7280	* sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
7281	* sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
7282	wordexp.
7283	* sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
7284	* sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
7285
7286	* math/tgmath.h: Pretty printing.
7287
7288	* math/Makefile (tests): Add test-tgmath.
7289	(CFLAGS-test-tgmath.c): New variable.
7290	* math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
7291
7292	* conform/conformtest.pl: Handle allow-header in secondary headers
7293	correctly.
7294
7295	* conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
7296	#ifdef.
7297
7298	* conform/data/netinet/in.h-data: Use correct comment character.
7299	* conform/data/sys/stat.h-data: Likewise.
7300
73012001-01-25  Jakub Jelinek  <jakub@redhat.com>
7302
7303	* math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
7304	__TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
7305	__TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
7306	__builtin_classify_type, add ##f suffixes where appropriate.
7307	(__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
7308	(__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
7309	__builtin_classify_type.
7310	(fma): Fix spelling of first argument.
7311
73122001-01-25  Ulrich Drepper  <drepper@redhat.com>
7313
7314	* conform/data/unistd.h-data: Mark functions removed in XPG6
7315	correctly.
7316
7317	* posix/unistd.h: Don't make functions removed in XPG6 available if
7318	__USE_XOPEN2K.
7319
7320	* conform/conformtest.pl: Implement optional-constant.
7321	* conform/data/unistd.h-data: Use optional-constant wherever
7322	appropriate.
7323
7324	* sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
7325	constants and add _SC_STREAMS.
7326	* sysdeps/posix/sysconf.c (__sysconf): Likewise.
7327
7328	* sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
7329	make old name weak alias.
7330	* sysdeps/generic/statvfs64.c: Likewise.
7331	* sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
7332	make old name weak alias.
7333	* sysdeps/generic/fstatvfs64.c: Likewise.
7334	* include/sys/statvfs.h: New file.
7335
7336	* sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
7337	_PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
7338	_PC_REC_XFER_ALIGN.
7339	* sysdeps/posix/pathconf.c (__pathconf): Implement handling of
7340	_PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
7341	_PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
7342	* sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
7343
7344	* conform/conformtest.pl: Run Unix tests for XPG6.
7345	Implement handling of known namespace violations.
7346	Improve printing of results.
7347
7348	* posix/unistd.h (usleep): Correct return type.
7349	* sysdeps/unix/sysv/linux/usleep.c: Correct return type.
7350	* sysdeps/unix/bsd/usleep.c: Correct return type.
7351	* sysdeps/mach/usleep.c: Correct return type.
7352	* sysdeps/generic/usleep.c: Correct return type.
7353
7354	* posix/unistd.h (sync): Correct return type.
7355	* sysdeps/generic/sync.c: Likewise.
7356	* sysdeps/mach/hurd/sync.c: Likewise.
7357
7358	* sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
7359
7360	* posix/unistd.h: Make seteuid and setegid available for XPG6.
7361
7362	* wcsmbs/wchar.h: Get FILE definition for XPG5.
7363
7364	* conform/data/ctype.h-data: Use correct comment form.
7365	* conform/data/errno.h-data: Likewise.
7366	* conform/data/math.h-data: Likewise.
7367	* conform/data/mqueue.h-data: Likewise.
7368	* conform/data/netdb.h-data: Likewise.
7369	* conform/data/pthread.h-data: Likewise.
7370
73712001-01-24  Ulrich Drepper  <drepper@redhat.com>
7372
7373	* conform/data/wordexp.h-data: Fix typo.
7374
7375	* conform/conformtest.pl: Handle allow-header correctly.
7376
7377	* conform/data/time.h-data: Use correct comment form.
7378
7379	* conform/conformtest.pl (checknamespace): Ignore #undef lines.
7380
7381	* configure.in: Comment out binutils version test.
7382
7383	* stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
7384	separators.
7385	Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
7386
7387	* stdlib/tst-strtod.c (locale_test): New function.
7388	(main): Call locale_test.
7389	* stdlib/Makefile (tst-strtod-ENV): New variable.
7390
73912001-01-24  Mark Kettenis  <kettenis@gnu.org>
7392
7393	* hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
7394	declaration of value such that we actually return the value of the
7395	environment variable.
7396
73972001-01-24  Andreas Jaeger  <aj@suse.de>
7398
7399	* sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
7400	prototype.
7401	* sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7402
7403	* include/sys/sysctl.h: New file.
7404
74052001-01-23  Andreas Jaeger  <aj@suse.de>
7406
7407	* stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
7408	isomac.
7409
7410	* elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
7411	arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
7412	closes PR libc/2039.
7413
7414	* manual/install.texi (Tools for Compilation): Change required
7415	binutils version.
7416
74172001-01-22  Andreas Jaeger  <aj@suse.de>
7418
7419	* configure.in: Add test for new enough binutils version, move
7420	compiler/binutils test up.
7421
7422	* Versions.def: Add version GLIBC_2.2.2.
7423
74242001-01-21  Ulrich Drepper  <drepper@redhat.com>
7425
7426	* iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
7427	available.
7428	* iconvdata/testdata/IBM932: New file.
7429	* iconvdata/testdata/IBM932..UTF8: New file.
7430	* iconvdata/testdata/IBM943: New file.
7431	* iconvdata/testdata/IBM943..UTF8: New file.
7432	Contributed by Masahide Washizawa <washi@jp.ibm.com>.
7433
74342001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7435
7436	* sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
7437
74382001-01-21  Ulrich Drepper  <drepper@redhat.com>
7439
7440	* malloc/malloc.c: Remove a few unnecessary initializers of global
7441	variables.
7442
74432000-12-09  H.J. Lu  <hjl@gnu.org>
7444
7445	* nss/Makefile (routines): Add digits_dots.
7446	* nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
7447	* nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
7448	into a function.
7449	* nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
7450	function.
7451	* nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
7452	(TYPE_VAR_P): Likewise.
7453	(FLAGS_VAR): Likewise.
7454	(AF_VAR_P): Likewise.
7455	(INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
7456	instead of including digits_dots.c.
7457	* nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
7458	(TYPE_VAR_P): Likewise.
7459	(FLAGS_VAR): Likewise.
7460	(AF_VAR_P): Likewise.
7461	(INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
7462	instead of including digits_dots.c.
7463
74642001-01-21  Ulrich Drepper  <drepper@redhat.com>
7465
7466	* sysdeps/posix/getaddrinfo.c: Reduce .data size.
7467
74682001-01-21  Andreas Jaeger  <aj@suse.de>
7469
7470	* elf/constload2.c: Add prototype for init.
7471
74722001-01-21  Ulrich Drepper  <drepper@redhat.com>
7473
7474	* stdlib/stdlib.h (drand48_data): Make available only for
7475	__USE_MISC.  Rename elements to protect namespace.  Change type
7476	and position of a and init element.
7477	* stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
7478	differently.  Adjust for drand48_data change.  Don't compute a here,
7479	it comes from drand48_data.
7480	* stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
7481	differently.  Adjust for drand48_data change.  Compute a here.
7482	* stdlib/srand48_r.c: Likewise.
7483	* stdlib/drand48.c: Adjust for drand48_data change.
7484	* stdlib/lrand48.c: Likewise.
7485	* stdlib/mrand48.c: Likewise.
7486	* stdlib/seek48.c: Likewise.
7487	* stdlib/drand48_r.c: Likewise.
7488	* stdlib/lrand48_r.c: Likewise.
7489	* stdlib/mrand48_r.c: Likewise.
7490	* stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
7491	differently.
7492	* stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
7493	* stdlib/jrand48_r.c: Likewise.
7494
7495	* po/sv.po: Update from translation team.
7496
74972001-01-21  Andreas Jaeger  <aj@suse.de>
7498
7499	* stdio-common/vfprintf.c (vfprintf): Add casts.
7500
75012001-01-20  Ulrich Drepper  <drepper@redhat.com>
7502
7503	* iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
7504	the ASCII test.
7505	* iconvdata/TESTS: Add entries for IBM932 and IBM943.
7506
7507	* iconvdata/Makefile (modules): Add IBM932 and IBM943.
7508	* iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
7509	* iconvdata/ibm932.c: New file.
7510	* iconvdata/ibm932.h: New file.
7511	* iconvdata/ibm943.c: New file.
7512	* iconvdata/ibm943.h: New file.
7513	Patches by Masahide Washizawa <washi@jp.ibm.com>.
7514
7515	* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
7516	preventing optimization from being done.  Set the correct type bit
7517	in seen.  Don't define and use _dl_base_addr unless
7518	NEED_DL_BASE_ADDR is defined.
7519
7520	* io/ftw.c (ftw_dir): Add slash after directory name if there
7521	wasn't any.  Reported by loris <loris@iol.it>.
7522	* io/Makefile (tests): Add bug-ftw2.
7523	* io/bug-ftw2.c: New file.
7524
75252001-01-19  Ulrich Drepper  <drepper@redhat.com>
7526
7527	* stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
7528	results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
7529	* stdlib/tst-rand48.c: New file.
7530	* stdlib/Makefile (tests): Add tst-rand48.
7531
7532	* locale/newlocale.c (__newlocale): Fix test for setting all
7533	categories.
7534
75352001-01-19  Mark Kettenis  <kettenis@gnu.org>
7536
7537	* sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
7538	but change looking up the initial directory port in a similar way
7539	as done by _hurd_change_directory_port_from_name.
7540	* hurd/fchroot.c (fchroot): Likewise.
7541
75422001-01-18  Ulrich Drepper  <drepper@redhat.com>
7543
7544	* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
7545	defined don't look whether the AT_*ID values were set.
7546	If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
7547	(_dl_show_auxv): Rewrite to avoid switch statement.
7548	* sysdeps/unix/sysv/linux/kernel-features.h: Define
7549	__ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
7550	* sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
7551	Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
7552
7553	* sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
7554	* sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
7555	* sysdeps/unix/sysv/linux/xstat64.c: Likewise.
7556
7557	* elf/rtld.c (process_envvars): Call __strtoul_internal instead of
7558	strtoul.
7559	* elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
7560	(__sigjmp_save): Set __mask_was_saved to zero since we don't save
7561	anything.
7562	* dlfcn/eval.c (__strtol_internal): Define here.
7563	(eval): Use __strtol_internal instead of strtol.
7564
7565	* elf/elf.h: Add a few more EF_MIPS_* constants.
7566
75672001-01-17  Ulrich Drepper  <drepper@redhat.com>
7568
7569	* manual/Makefile (chapters): Add debug.
7570	* manual/debug.texi: New file.
7571	* manual/examples/execinfo.c: New file.
7572	Patch by suckfish@ihug.co.nz.
7573
75742001-01-17  Andreas Schwab  <schwab@suse.de>
7575
7576	* sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
7577	invalid asm.
7578
75792001-01-17  Andreas Jaeger  <aj@suse.de>
7580
7581	* nscd/connections.c (nscd_run): Use proper format specifier.
7582
75832001-01-16  Ulrich Drepper  <drepper@redhat.com>
7584
7585	* sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
7586	x86_platforms data into new file after prepending _dl_.  Change
7587	users.
7588	* sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
7589	* sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
7590	* sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
7591	dl-procinfo.c.
7592
7593	* setjmp/setjmp.h: Cleanup definition of setjmp macro.
7594
7595	* sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
7596	* sysdeps/i386/elf/bsd-_setjmp.S: Removed.
7597	* sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
7598	(_setjmp): Likewise.
7599	* sysdeps/i386/bsd-_setjmp.S: Real implementation.
7600	* sysdeps/i386/bsd-setjmp.S: Real implementation.
7601	* sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
7602	* sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
7603	version.
7604
76052001-01-16  Andreas Jaeger  <aj@suse.de>
7606
7607	* sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
7608	misapplied last patch.
7609
76102001-01-15  Ulrich Drepper  <drepper@redhat.com>
7611
7612	* stdlib/random.c (__initstate): Clean up a cast.
7613	(__setstate): Likewise.
7614
7615	* sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
7616	syscall handling.  The generic Linux version should work.
7617
76182001-01-15  Andreas Jaeger  <aj@suse.de>
7619
7620	* sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
7621
7622	* stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
7623
76242001-01-14  Jakub Jelinek  <jakub@redhat.com>
7625
7626	* nss/getent.c (print_aliases, aliases_keys, ethers_keys,
7627	netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
7628	New functions.
7629	(group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
7630	If number is 0, list all.
7631	(services_keys): Likewise.  Lookup aliases as well.
7632	(databases): New table.
7633	(build_doc): Prepare argp doc text with list of supported databases.
7634	(main): Change to table driven processing.
7635
76362001-01-14  Thorsten Kukuk <kukuk@suse.de>
7637
7638	* sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
7639	functions.
7640
76412001-01-03  Jakub Jelinek  <jakub@redhat.com>
7642
7643	* sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
7644	encode value which does not fit in the 32bit type.
7645
76462001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
7647
7648	* sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
7649	Change type of CTX to (struct sigcontext *).
7650	* sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
7651	(GET_FRAME): Likewise.
7652	(GET_STACK): Likewise.
7653	(SIGCONTEXT): Likewise.  Add 2nd arg _code.
7654	(SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
7655
76562001-01-13  Ulrich Drepper  <drepper@redhat.com>
7657
7658	* manual/texinfo.tex: Update from upstream version.
7659
76602001-01-13  Jakub Jelinek  <jakub@redhat.com>
7661
7662	* inet/ether_ntoh.c (lookup_function): Change arguments to match
7663	_nss_*_getntohost_r prototype.
7664	(ether_ntohost): Pass errno pointer to NSS function.
7665
76662001-01-12  Franz Sirl	<Franz.Sirl-kernel@lauterbach.com>
7667
7668	* sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
7669	(MAP_LOCKED): New definition.
7670	(MAP_NORESERVE): New definition.
7671
76722001-01-12  Ulrich Drepper  <drepper@redhat.com>
7673
7674	* assert/assert.h: Use static_cast instead of C-style cast for C++.
7675	Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
7676
76772001-01-12  Ben Collins	 <bcollins@debian.org>
7678
7679	* sysdeps/generic/segfault.c (install_handler): Use access, not
7680	__access.
7681
76822001-01-12  Andreas Jaeger  <aj@suse.de>
7683
7684	* posix/fnmatch_loop.c (FCT): Remove signed warnings.
7685	* posix/wordexp.c (do_parse_glob): Likewise.
7686	* sysdeps/posix/sigblock.c (__sigblock): Likewise.
7687	* sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
7688	* elf/dl-open.c (_dl_open): Likewise.
7689	* elf/dl-close.c (_dl_close): Likewise.
7690	* elf/dl-load.c (_dl_map_object): Likewise.
7691	* iconv/iconv_prog.c (process_fd): Likewise.
7692	* stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
7693
7694	* locale/localeinfo.h (struct locale_data): Use __flexarr instead
7695	of a zero-length array.
7696
76972001-01-11  Jakub Jelinek  <jakub@redhat.com>
7698
7699	* stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
7700	* stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
7701	* stdlib/cxa_on_exit.c: Remove.
7702	* stdlib/Makefile: Revert last patch.
7703	* stdlib/Versions: Likewise.
7704	* include/stdlib.h: Likewise.
7705	* stdlib/exit.h: Revert last patch.
7706	(struct exit_function): Add second argument to cxa fn.
7707	* stdlib/exit.c: Revert last patch.
7708	(exit): Add hidden second argument.
7709
77102001-01-11  H.J. Lu  <hjl@gnu.org>
7711
7712	* elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
7713	* elf/dl-open.c (_dl_open): Here.
7714	* sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
7715	Make it static.
7716	(_dl_static_init): Initialize the variables every time when possible.
7717	* sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
7718	Undefine it first.
7719
77202001-01-11  Ulrich Drepper  <drepper@redhat.com>
7721
7722	* stdlib/Makefile (routines): Add cxa_on_exit.
7723	* stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
7724	* stdlib/cxa_on_exit.c: New file.
7725	* include/stdlib.h: Add prototype for __cxa_on_exit.
7726	* stdlib/exit.c: Handle ef_cxa2.
7727	* stdlib/exit.h (enum): Add ef_cxa2.
7728	(struct exit_function): Add cxa2.
7729
7730	* Versions.def [ld]: Add GLIBC_2.2.1.
7731
77322001-01-10  H.J. Lu  <hjl@gnu.org>
7733
7734	* elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
7735	* sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
7736	dl-static.
7737	* sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
7738	* sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
7739	* sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
7740	* sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
7741	* sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
7742
77432001-01-11  Ulrich Drepper  <drepper@redhat.com>
7744
7745	* libio/stdio.h: Remove definition of off_t.
7746
77472001-01-11  Andreas Jaeger  <aj@suse.de>
7748
7749	* wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
7750	<mkuhn@acm.org>.
7751
77522001-01-10  Ulrich Drepper  <drepper@redhat.com>
7753
7754	* sunrpc/Makefile (distribute): Add errqueue.h.
7755
77562001-01-10  H.J. Lu  <hjl@gnu.org>
7757
7758	* sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
7759	r9, r10 and r11 for language specific registers.
7760
77612001-01-10  Jakub Jelinek  <jakub@redhat.com>
7762
7763	* sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
7764	UDP socket.
7765	(clntudp_call): Handle MSG_ERRQUEUE.
7766	* sysdeps/generic/errqueue.h: New file.
7767	* sysdeps/unix/sysv/linux/errqueue.h: New file.
7768
77692001-01-10  H.J. Lu  <hjl@gnu.org>
7770
7771	* sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
7772
77732001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
7774
7775	* CONFORMANCE: Update.
7776
77772001-01-09  Ulrich Drepper  <drepper@redhat.com>
7778
7779	* sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
7780	Minimal cleanups.  Add assert to ensure memory handling is correct.
7781
7782	* manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
7783	Reported by Ben Collins <bcollins@debian.org>.
7784
7785	* time/strftime.c (my_strftime): Mark previous GNU extensions
7786	which are now in C99 as such.
7787
77882001-01-08  Ulrich Drepper  <drepper@redhat.com>
7789
7790	* elf/rtld.c (process_envvars): Place output files for profiling
7791	in SUID binaries in /var/profile.
7792
7793	* elf/dl-load.c (_dl_map_object): Don't look in cache for
7794	preloading in SUID binaries.
7795
7796	* elf/dl-profile.c (_dl_start_profile): Open the output file with
7797	O_NOFOLLOW if possible.
7798
7799	* include/stdlib.h: Add __posix_openpt declaration.
7800	* stdlib/stdlib.h: Add posix_openpt declaration.
7801	* login/Versions: Add posix_openpt for GLIBC_2.2.1.
7802	* sysdeps/generic/getpt.c: Define posix_openpt.
7803	* sysdeps/unix/bsd/getpt.c: Likewise.
7804	* sysdeps/unix/sysv/linux/getpt.c: Likewise.
7805
7806	* time/Makefile (tests): Add tst-mktime.
7807	* time/tst-mktime.c: New file.
7808
7809	* posix/tst-dir.c (main): One more mkdir() test.
7810
7811	* sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
7812	Remove getpagesize syscall.  We assume that the pagesize is always
7813	determined from the auxiliary vector.
7814
7815	* intl/dcigettext.c: Fix a few warnings.
7816	Patch by Bruno Haible <haible@ilog.fr>.
7817
78182001-01-08  Andreas Jaeger  <aj@suse.de>
7819
7820	* io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
7821	Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
7822
78232001-01-08  Ulrich Drepper  <drepper@redhat.com>
7824
7825	* sysdeps/generic/segfault.c (install_handler): Check output file
7826	name with access().
7827
7828	* resolv/res_query.c: Use simply getenv() for HOSTALIASES.
7829	* sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
7830
7831	* sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
7832
7833	* malloc/memusage.c (me): Use access() to determine whether we
7834	should write the output file or not.
7835
7836	* libio/bits/stdio.h (printf): Define macro to map printf call to
7837	fprintf which gcc can optimize.
7838	* stdio-common/printf.c: Undefine printf.
7839
78402001-01-07  Ulrich Drepper  <drepper@redhat.com>
7841
7842	* sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
7843	patch.	We must use unsigned int for l member of union.
7844
7845	* sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
7846	_dl_aux_init for shared libraries.
7847
7848	* sysdeps/unix/sysv/linux/glob64.c: Moved to ...
7849	* sysdeps/gnu/glob64.c: ...here.  New file.
7850
78512001-01-07  Ben Collins	 <bcollins@debian.org>
7852
7853	* manual/examples/longopt.c: Make the "struct option" a little
7854	more like it should be, adding usage of required_argument,
7855	noargument and such, and also setting the options string right.
7856
7857	* manual/sysinfo.texi (Load Average): New section, documents
7858	getloadavg().
7859
78602001-01-06  Ulrich Drepper  <drepper@redhat.com>
7861
7862	* version.h (VERSION): Bump to 2.2.1.
7863
7864	* sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
7865	* sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
7866	* sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
7867	* dlfcn/Makefile (distribute): Add errmsg1mod.c.
7868	* Makefile (distribute): Add include/libc-internal.h.
7869	* libio/Makefile (distribute): Avoid overwriting.
7870
7871	* iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
7872	buffer and table handling.
7873
78742001-01-05  H.J. Lu  <hjl@gnu.org>
7875
7876	* elf/dl-support.c (non_dynamic_init): Move the auxiliary
7877	vector checking to ...
7878	(_dl_aux_init): Here.  New function.  Defined only if
7879	HAVE_AUX_VECTOR is defined.
7880
7881	* sysdeps/generic/libc-start.c (__libc_start_main): Call
7882	_dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
7883
7884	* sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
7885	_dl_aux_init.
7886
7887	* sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
7888	(HAVE_AUX_VECTOR): Defined.
7889	(_dl_aux_init): Declared.
7890
78912001-01-05  Ben Collins	 <bcollins@debian.org>
7892
7893	* manual/string.texi (Finding Tokens in a String): Document XPG
7894	basename() and dirname(), as well as GNU basename().
7895
78962001-01-05  Jakub Jelinek  <jakub@redhat.com>
7897
7898	* Makeconfig (preprocess-version): Replace -traditional with
7899	-x assembler-with-cpp.
7900
79012001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
7902
7903	* math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
7904	for GCC 2.97 or later.
7905
79062001-01-05  Ben Collins	 <bcollins@debian.org>
7907
7908	* manual/stdio.texi (getline): Clarify the return value in the
7909	case of EOF being reached before a newline.
7910
79112001-01-04  Jakub Jelinek  <jakub@redhat.com>
7912
7913	* sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
7914	FALSE otherwise.
7915	(pmap_set, pmap_unset): Check __get_myaddress return value.
7916
79172001-01-05  Mark Kettenis  <kettenis@gnu.org>
7918
7919	* sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
7920	(struct ether_addr): Declare ether_addr_octet member as
7921	`u_int8_t'.  Add __attribute__ ((__packed__)).
7922
79232001-01-06  Mark Kettenis  <kettenis@gnu.org>
7924
7925	* sysdeps/mach/hurd/readdir64.c: New file.
7926	* sysdeps/mach/hurd/readdir64_r.c: New file.
7927
79282001-01-07  Mark Kettenis  <kettenis@gnu.org>
7929
7930	* sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
7931	`struct statfs' and `struct statvfs' being identical.
7932	* sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
7933
79342001-01-06  Mark Kettenis  <kettenis@gnu.org>
7935
7936	* sysdeps/mach/hurd/fstatfs64.c: New file.
7937	* sysdeps/mach/hurd/fstatvfs64.c: New file.
7938	* sysdeps/mach/hurd/statfs64.c: New file.
7939	* sysdeps/mach/hurd/statvfs64.c: New file.
7940	* sysdeps/mach/hurd/statfsconv.c: New file.
7941	* sysdeps/mach/hurd/Dist: Add statfsconv.c.
7942
79432001-01-06  Ulrich Drepper  <drepper@redhat.com>
7944
7945	* iconv/skeleton.c: Reset outbuf for next round of the loop.
7946	Reported by Owen Taylor <otaylor@redhat.com>.
7947	* iconv/Makefile (tests): Add tst-iconv3.
7948	* iconv/tst-iconv3.c: New file.
7949
7950	* iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
7951	* iconvdata/ibm933.c: Likewise.
7952	* iconvdata/ibm935.c: Likewise.
7953	* iconvdata/ibm937.c: Likewise.
7954	* iconvdata/ibm939.c: Likewise.
7955	* iconvdata/ibm930.h: Adjust single byte table for optimization.
7956	* iconvdata/ibm933.h: Likewise.
7957	* iconvdata/ibm935.h: Likewise.
7958	* iconvdata/ibm939.h: Likewise.
7959
7960	* iconvdata/testdata/IBM930: Add misssing SI.
7961	* iconvdata/testdata/IBM933: Likewise.
7962	* iconvdata/testdata/IBM935: Likewise.
7963	* iconvdata/testdata/IBM937: Likewise.
7964	* iconvdata/testdata/IBM939: Likewise.
7965
79662001-01-06  Andreas Jaeger  <aj@suse.de>
7967
7968	* configure.in: Check for old add-ons that shouldn't be used with
7969	current glibc anymore.
7970
79712001-01-06  Mark Kettenis  <kettenis@gnu.org>
7972
7973	* sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
7974	instead of -1 on failure.  Don't forget to copy file name into
7975	*ENTRY if successful.  Set *RESULT to NULL upon reaching the end
7976	of the directory.
7977
79782001-01-06  Mark Kettenis  <kettenis@gnu.org>
7979
7980	* sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
7981	copy st_atime member.
7982
79832001-01-05  Ulrich Drepper  <drepper@redhat.com>
7984
7985	* io/ftw.c (ftw_dir): Don't add a second slash at the beginning
7986	for searches from the root directory.
7987	Reported by loris <loris@iol.it> [PR libc/1991].
7988	* io/Makefile (tests): Add bug-ftw1.
7989	* io/bug-ftw1.c: New file.
7990
7991	* elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
7992	if it is not available.	 Instead use it only if it is available.
7993	* sysdeps/unix/sysv/linux/ldsodefs.h: New file.
7994
7995	* iconv/gconv_simple.c (internal_ics4_loop): Correct test for
7996	overflowing output buffer.
7997	(internal_ucs4_loop_unaligned): Likewise.
7998	(ucs4_internal_loop): Likewise.
7999	(ucs4_internal_loop_unaligned): Likewise.
8000	(internal_ucs4le_loop): Likewise.
8001	(internal_ucs4le_loop_unaligned): Likewise.
8002	(ucs4le_internal_loop): Likewise.
8003	(ucs4le_internal_loop_unaligned): Likewise.
8004	Reported by Owen Taylor <otaylor@redhat.com>.
8005	* iconv/Makefile (tests): Add tst-iconv2.
8006	* iconv/tst-iconv2.c: New file.
8007
80082001-01-04  H.J. Lu  <hjl@gnu.org>
8009
8010	* elf/dl-support.c (DL_FIND_AUXV): New.	 Defined if not defined.
8011	(_dl_clktck): Declared.
8012	(non_dynamic_init): Take 3 arguments.
8013	Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
8014
80152001-01-01  Bruno Haible  <haible@clisp.cons.org>
8016
8017	Finish implementation of plural form handling.
8018	* intl/dcigettext.c (known_translation_t): Rename 'domain' field to
8019	'domainname'.  Remove 'plindex' field.  Add 'domain' and
8020	'translation_length' fields.
8021	(transcmp): Don't compare 'plindex' fields.
8022	(plural_lookup): New function.
8023	(DCIGETTEXT): Change cache handing in the plural case.	Don't call
8024	plural_eval before the translation and its catalog file have been
8025	found.  Remove plindex from cache key.  Add 'translation_length' and
8026	'domain' to cache result.
8027	(_nl_find_msg): Remove index argument, return length of translation
8028	to the caller instead.	Weaken comparison of string lengths, to account
8029	for plural entries.  Call iconv() on the entire result string, not
8030	only on the portion needed so far.
8031	* intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
8032	argument.
8033	* intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
8034
80352001-01-04  Ulrich Drepper  <drepper@redhat.com>
8036
8037	* intl/plural.y (yylex): Minimal improvement in number scanner.
8038
80392000-07-31  Bruno Haible  <haible@clisp.cons.org>
8040
8041	* intl/plural.y: Include config.h.  Needed to define 'inline' away for
8042	C compilers that don't support it.
8043	(yylex): Don't use gcc specific case range syntax.
8044	* intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
8045	compilers.
8046
80472000-10-12  Bruno Haible  <haible@clisp.cons.org>
8048
8049	* intl/finddomain.c: Remove unneeded includes.
8050
80512000-10-12  Bruno Haible  <haible@clisp.cons.org>
8052
8053	* intl/localealias.c (memcpy): Return first argument, just like the
8054	real memcpy function does.
8055	* intl/bindtextdom.c (memcpy): Likewise.
8056	* intl/finddomain.c (memcpy): Likewise.
8057	* intl/l10nflist.c (memcpy): Likewise.
8058	* intl/textdomain.c (memcpy): Likewise.
8059	From Paul Eggert <eggert@twinsun.com>.
8060
80612001-01-03  Jakub Jelinek  <jakub@redhat.com>
8062
8063	* resolv/resolv.h (struct __res_state): Add nsinit field.
8064	* resolv/res_send.c (res_nsend): Use it instead of nscount.
8065	* resolv/res_init.c (__res_vinit): Initialize it.
8066	(res_nclose): Clear it instead of nscount.
8067
80682001-01-04  Ulrich Drepper  <drepper@redhat.com>
8069
8070	* malloc/mtrace.pl: Fix matching of addresses.
8071	Patch by Aharon Robbins <arnold@skeeve.com>.
8072
8073	* Versions.def (ld): Add GLIBC_2.2.
8074
8075	* catgets/gencat.c: Copyright 2001.
8076	* csu/version.c: Likewise.
8077	* debug/catchsegv.sh: Likewise.
8078	* debug/xtrace.sh: Likewise.
8079	* elf/ldconfig.c: Likewise.
8080	* elf/sprof.c: Likewise.
8081	* iconv/iconv_prog.c: Likewise.
8082	* locale/locale.c: Likewise.
8083	* locale/localedef.c: Likewise.
8084	* malloc/memusage.sh: Likewise.
8085	* malloc/mtrace.pl: Likewise.
8086	* nscd/nscd.c: Likewise.
8087	* posix/getconf.c: Likewise.
8088
80892001-01-04  Mark Kettenis  <kettenis@gnu.org>
8090
8091	* include/stdio.h: Only provide __getwc_unlocked prototype if
8092	USE_IN_LIBIO is defined.
8093
80942001-01-04  Kaz Kojima	<kkojima@rr.iij4u.or.jp>
8095
8096	* sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
8097	handling.
8098
80992001-01-03  Andreas Schwab  <schwab@suse.de>
8100
8101	* sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
8102	* sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
8103
8104	* sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
8105	* sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
8106	strtoull alias.
8107	* sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
8108	* sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
8109	wcstoull alias.
8110
8111	* sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
8112	directory.
8113	* sysdeps/generic/strtol_l.c: Likewise.
8114	* sysdeps/generic/strtoul_l.c: Likewise.
8115	* sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
8116
8117	* sysdeps/wordsize-64/strtol_l.c: Fix alias.
8118	* sysdeps/wordsize-64/strtoul_l.c: Likewise.
8119	* sysdeps/wordsize-64/wcstol_l.c: Fix alias.
8120	* sysdeps/wordsize-64/wcstoul_l.c: Likewise.
8121
81222001-01-04  Andreas Jaeger  <aj@suse.de>
8123
8124	* nss/nsswitch.c: Include files for missing prototypes, remove
8125	buggy declaration of prototypes.
8126
81272001-01-03  Franz Sirl	<Franz.Sirl-kernel@lauterbach.com>
8128
8129	* resolv/Versions: Fix bracing.
8130	* sysdeps/powerpc/soft-fp/Versions: Likewise.
8131	* sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
8132
81332001-01-02  Franz Sirl	<Franz.Sirl-kernel@lauterbach.com>
8134
8135	* sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
8136
81372001-01-02  Ulrich Drepper  <drepper@redhat.com>
8138
8139	* manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
8140	Suggested by Minko Markov <mmarkov@home.com>.
8141
81422001-01-02  Franz Sirl	<Franz.Sirl-kernel@lauterbach.com>
8143
8144	* sysdeps/powerpc/elf/start.S (__data_start): Make it global.
8145	* sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
8146	the failing symbol.
8147	(__process_machine_rela): Pass symbol to dl_reloc_overflow().
8148
81492001-01-02  Ben Collins	 <bcollins@debian.org>
8150
8151	* time/tzset.c (tzset_internal): Make sure we fall back to UTC
8152	if TZ is not set and TZDEFAULT is not present.
8153
81542001-01-01  Ben Collins	 <bcollins@debian.org>
8155
8156	* string/strings.h: Make sure we declare our functions even if
8157	string.h is already included, based on whether or not __USE_BSD is
8158	defined.
8159
81602001-01-02  Ulrich Drepper  <drepper@redhat.com>
8161
8162	* dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
8163	other dlopen() and dlsym().
8164	Based on a patch by Ben Collins <bcollins@debian.org>.
8165
81662001-01-02  Andreas Jaeger  <aj@suse.de>
8167
8168	* dlfcn/errmsg1.c (main): Call dlerror initially.
8169	Reported by Ben Collins <bcollins@debian.org>.
8170
81712001-01-02  Ulrich Drepper  <drepper@redhat.com>
8172
8173	* intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
8174	value is ignored if the selected locale is the C locale.
8175	* intl/tst-gettext.c: Set locale for above change.
8176	* intl/tst-translit.c: Likewise.
8177
81782001-01-02  Andreas Jaeger  <aj@suse.de>
8179
8180	* libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
8181	(_IO_switch_to_wget_mode): Likewise.
8182	(_IO_sputbackwc): Likewise.
8183	(_IO_sungetwc): Use wint_t for result.
8184
8185	* stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
8186
8187	* sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
8188	signedness.
8189
8190	* sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
8191	to (int) to avoid warnings.
8192	* stdio-common/printf_fp.c (putc): Likewise.
8193	* stdio-common/printf_size.c (putc): Likewise.
8194
8195	* sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
8196	constant unsigned.
8197
81982001-01-01  Andreas Jaeger  <aj@suse.de>
8199
8200	* inet/rcmd.c (rcmd_af): Use socklen_t for len.
8201
82022000-12-31  Andreas Jaeger  <aj@suse.de>
8203
8204	* include/libc-internal.h: Add prototype for __libc_freeres.
8205
8206	* sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
8207	for prototypes, remove redundant prototypes.
8208	* gmon/gmon.c: Likewise.
8209	* sysdeps/unix/i386/i586/clock_getres.c: Likewise.
8210	* sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
8211	* malloc/mtrace.c: Likewise.
8212
8213	* sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
8214	prototypes.
8215	* elf/soinit.c: Likewise.
8216	* sysdeps/generic/prof-freq.c: Likewise.
8217	* sysdeps/mach/hurd/profil.c: Likewise.
8218	* debug/noophooks.c: Likewise.
8219	* debug/pcprofile.c: Likewise.
8220	* sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
8221	* sysdeps/generic/get_clockfreq.c: Likewise.
8222	* malloc/set-freeres.c: Likewise.
8223
8224	* locale/localeinfo.h: Add internal prototypes.
8225
8226	* elf/rtld.c (dl_main): Fix prototype.
8227
8228	* iconvdata/tst-table-to.c (main): Use return instead of exit to
8229	avoid warning.
8230
8231	* nis/rpcsvc/yp_prot.h: Remove __P.
8232	* nis/rpcsvc/ypupd.h: Likewise.
8233	* nis/rpcsvc/yp.h: Likewise.
8234
8235	* sunrpc/rpc_main.c: Add noreturn attributes.
8236	* sunrpc/rpc_scan.h: Likewise.
8237
8238	* sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
8239
8240	* sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
8241
8242	* sunrpc/proto.h: Add noreturn attributes to error and crash.
8243
8244	* posix/bsd-getpgrp.c: Add prototype to avoid warning.
8245
8246	* sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
8247
8248	* sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
8249
8250	* include/rpc/rpc_msg.h: Add prototypes for some functions.
8251	* include/rpc/auth.h: Likewise.
8252	* include/rpc/auth_des.h: Likewise.
8253	* include/rpc/clnt.h: Likewise.
8254	* include/rpc/rpc.h: Likewise.
8255	* include/rpc/svc.h: Likewise.
8256	* include/rpc/svc_auth.h: Likewise.
8257
8258	* include/rpc/des_crypt.h: New file.
8259
8260	* malloc/memusagestat.c (main): Use return instead of exit to
8261	avoid warning.
8262	* io/pwd.c (main): Likewise.
8263	* iconvdata/tst-table-from.c (main): Likewise.
8264	* ctype/test_ctype.c (main): Likewise.
8265	* setjmp/tst-setjmp.c (main): Likewise.
8266	* signal/tst-signal.c (main): Likewise.
8267	* stdlib/tst-strtol.c (main): Likewise.
8268	* stdlib/tst-strtod.c (main): Likewise.
8269	* stdlib/tst-strtoll.c (main): Likewise.
8270	* stdlib/tst-xpg-basename.c (main): Likewise.
8271	* dirent/tst-seekdir.c (main): Likewise.
8272	* grp/testgrp.c (main): Likewise.
8273	* inet/test_ifindex.c (main): Likewise.
8274	* io/test-utime.c (main): Likewise.
8275	* posix/test-vfork.c (main): Likewise.
8276	* posix/testfnm.c (main): Likewise.
8277	* stdio-common/temptest.c (main): Likewise.
8278	* stdio-common/test_rdwr.c (main): Likewise.
8279	* stdio-common/tst-fileno.c (main): Likewise.
8280	* stdio-common/tst-sscanf.c (main): Likewise.
8281	* stdio-common/tstscanf.c (main): Likewise.
8282	* string/bug-strncat1.c (main): Likewise.
8283	* string/bug-strpbrk1.c (main): Likewise.
8284	* string/bug-strspn1.c (main): Likewise.
8285	* string/test-ffs.c (main): Likewise.
8286	* string/tst-inlcall.c (main): Likewise.
8287	* string/tst-svc.c (main): Likewise.
8288	* timezone/test-tz.c (main): Likewise.
8289	* wctype/test_wcfuncs.c (main): Likewise.
8290	* wctype/test_wctype.c (main): Likewise.
8291
8292	* stdlib/tst-random.c: Add attribute noreturn to fail.
8293
82942000-12-28  Wolfram Gloger  <wg@malloc.de>
8295
8296	* malloc/malloc.c (MALLOC_COPY): Handle case if source and
8297	destination overlap.  Assume dest is always below source if
8298	overlapping.
8299
83002000-12-30  Ulrich Drepper  <drepper@redhat.com>
8301
8302	* elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
8303	object was not yet initialized.
8304
83052000-12-28  H.J. Lu  <hjl@gnu.org>
8306
8307	* elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
8308	is always consistent even if its dependency is failed.
8309
8310	* elf/dl-open.c (_dl_open): Increment the open count before
8311	calling _dl_close () in case of failure.
8312
8313	* elf/neededtest4.c: New file.
8314	* elf/neededobj5.c: New file.
8315	* elf/neededobj6.c: New file.
8316
8317	* elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
8318	(tests): Add neededtest4.
8319	(modules-names): Add neededobj5 and neededobj6.
8320	($(objpfx)neededobj6.so): New target.
8321	($(objpfx)neededtest4): New target.
8322	($(objpfx)neededtest4.out): New target.
8323
83242000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
8325
8326	* misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
8327	* stdlib/monetary.h: Add strfmon format attributes.
8328
83292000-12-28  Roland McGrath  <roland@frob.com>
8330
8331	* sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
8332	__mempcpy does it for us.
8333
83342000-12-28  Andreas Jaeger  <aj@suse.de>
8335
8336	* sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
8337
8338	* sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
8339	__new_setrlimit.
8340
8341	* sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
8342	__old_getrlimit64.
8343
8344	* sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
8345	__new_getrlimit.
8346
8347	* sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
8348	__chown_is_lchown and __real_chown.
8349
8350	* sysdeps/generic/ldsodefs.h: Add noreturn attribute to
8351	_dl_reloc_bad_type.
8352
8353	* sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
8354	up GCC's warning about "deprecated use of label at end of compound
8355	statement."
8356	* sunrpc/rpc_cout.c (emit_inline): Likewise.
8357
8358	* gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
8359	prototypes.
8360	Remove struct bb and __bb_head since those are declared by
8361	sys/gmon.h.
8362
83632000-12-22  Ben Collins	 <bcollins@debian.org>
8364
8365	* manual/charset.texi: Fix typo in description of WCHAR_MAX.
8366
8367	* manual/argp.texi: Document argp_domain as part of struct argp.
8368
83692000-12-28  Andreas Jaeger  <aj@suse.de>
8370
8371	* catgets/Makefile (generated): Add sample.SJIS.cat.
8372
8373	* sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
8374
8375	* elf/dl-minimal.c: Add prototypes.
8376
8377	* include/locale.h: Add internal prototypes.
8378	* include/sys/gmon.h: Likewise.
8379
8380	* dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
8381
83822000-12-27  Ben Collins	 <bcollins@debian.org>
8383
8384	* elf/dl-open.c (_dl_open): Correctly set the new objname pointer
8385	when reallocating the error strings.
8386	Reported by Kalle Olavi Niemitalo <kon@iki.fi>
8387
83882000-12-27  Ulrich Drepper  <drepper@redhat.com>
8389
8390	* dlfcn/Makefile (tests): Add errmsg1.
8391	(modules-names): Add errmsg1mod.
8392	Add rules to run errmsg1.
8393	* dlfcn/errmsg1.c: New file.
8394	* dlfcn/errmsg1mod.c: New file.
8395
8396	* dlfcn/dlerror.c (dlerror): Always create output string which
8397	includes object file name.
8398
8399	* sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
8400	if we would go through it only once.
8401	Patch by Rick Gorton <rick.gorton@api-networks.com>.
8402
8403	* sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
8404	Patch by Richard Henderson <rth@redhat.com>.
8405
84062000-12-27  Jakub Jelinek  <jakub@redhat.com>
8407
8408	* malloc/malloc.c (memmove): Add prototypes.
8409	(MALLOC_MEMMOVE): Define.
8410	(chunk_realloc): Use it instead of MALLOC_COPY if source and
8411	destination might overlap.
8412
84132000-12-27  Andreas Jaeger  <aj@suse.de>
8414
8415	* stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
8416	function.
8417	* elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8418	* locale/programs/locale.c (show_locale_vars): Likewise.
8419	(show_info): Likewise.
8420	* locale/programs/ld-collate.c (collate_output): Likewise.
8421	* locale/programs/ld-ctype.c (set_class_defaults): Likewise.
8422	* elf/dl-deps.c (_dl_map_object_deps): Likewise.
8423	* stdlib/rpmatch.c (rpmatch): Likewise.
8424
8425	* setjmp/tst-setjmp.c: Make local functions static.
8426	* setjmp/jmpbug.c: Likewise.
8427	* signal/tst-signal.c: Likewise.
8428	* stdio-common/tfformat.c: Likewise.
8429	* string/tst-svc.c: Likewise.
8430	* time/clocktest.c: Likewise.
8431	* time/tst-getdate.c: Likewise.
8432	* dirent/list.c: Likewise.
8433	* dirent/opendir-tst1.c: Likewise.
8434	* posix/runtests.c: Likewise.
8435	* posix/tst-getaddrinfo.c: Likewise.
8436	* posix/tst-chmod.c: Likewise.
8437	* posix/wordexp-test.c: Likewise.
8438	* misc/tst-efgcvt.c: Likewise.
8439	* timezone/tst-timezone.c: Likewise.
8440	* rt/tst-clock.c: Likewise.
8441	* rt/tst-shm.c: Likewise.
8442	* rt/tst-aio2.c: Likewise.
8443	* rt/tst-aio3.c: Likewise.
8444	* rt/tst-aio4.c: Likewise.
8445	* rt/tst-aio5.c: Likewise.
8446
8447	* dlfcn/failtest.c: Add prototype for foo.
8448
8449	* dlfcn/glrefmain.c: Add prototype for do_test.
8450
8451	* dlfcn/tst-dladdr.c: Add prototype for do_test.
8452
8453	* string/test-ffs.c (main): Add prototype for nested function.
8454
8455	* sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
8456
8457	* nss/XXX-lookup.c: Add prototype to shut up GCC.
8458
8459	* include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
8460	setetherent prototype.
8461	Add internal interfaces.
8462
8463	* nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
8464	* nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
8465
8466	* resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
8467
8468	* nis/nis_intern.h: Add prototype for __pmap_getnisport.
8469
8470	* nss/nss_files/files-ethers.c: Include netinet/ether.h to get
8471	prototypes, remove struct etherent since it's declared in ether.h.
8472	Fix ntohost declaration.
8473
8474	* elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
8475
8476	* include/getopt.h: Add internal interfaces.
8477	* include/termios.h: Likewise.
8478	* include/resolv.h: Likewise.
8479	* include/netdb.h: Likewise.
8480	* include/grp.h: Likewise.
8481	* include/pwd.h: Likewise.
8482	* include/shadow.h: Likewise.
8483	* include/rpc/netdb.h: Likewise.
8484	* include/setjmp.h: Likewise.
8485
8486	* include/stdio.h: Add prototypes for compatibility functions.
8487	* include/grp.h: Likewise.
8488	* include/pwd.h: Likewise.
8489	* include/shadow.h: Likewise.
8490
8491	* include/fenv.h: Define internal interfaces.
8492
84932000-12-27  Ulrich Drepper  <drepper@redhat.com>
8494
8495	* sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
8496	argument case separately.
8497	* sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
8498
84992000-12-27  Andreas Jaeger  <aj@suse.de>
8500
8501	* include/sys/wait.h: Add some prototypes.
8502	* Rules (dummy.c): Create also prototype to shut up GCC.
8503
85042000-12-27  Andreas Jaeger  <aj@suse.de>
8505
8506	* sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
8507	it's not needed at the moment.
8508	* sysdeps/generic/if_index.c (__protocol_available): Likewise.
8509	* sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
8510
85112000-12-26  Andreas Jaeger  <aj@suse.de>
8512
8513	* libio/getc_u.c: Include stdio.h via system path to get internal
8514	prototypes.
8515	* libio/getwc_u.c: Likewise.
8516
8517	* stdlib/strfmon.c: Fix prototype of __printf_fp.
8518
8519	* stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
8520	__printf_fp prototypes to ...
8521	* include/printf.h: ...here.
8522
8523	* include/stdio.h: Add some internal prototypes to shut up GCC.
8524	* include/stdlib.h: Likewise.
8525
8526	* sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
8527	declaration.
8528
8529	* include/signal.h: Add prototypes for internal sigpause
8530	interfaces.
8531
85322000-12-26  Ulrich Drepper  <drepper@redhat.com>
8533
8534	* sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
8535	64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
8536
8537	* string/Makefile (tests): Add tst-bswap.
8538	* string/tst-bswap.c: New file.
8539
85402000-12-11  Bruno Haible  <haible@clisp.cons.org>
8541
8542	* Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
8543
85442000-12-26  Ulrich Drepper  <drepper@redhat.com>
8545
8546	* sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
8547	Patch by Ed Connell <Ed.Connell@sas.com>.
8548
85492000-12-24  Ulrich Drepper  <drepper@redhat.com>
8550
8551	* locale/iso-639.def: Correct one entry.  Add two missing entries.
8552
8553	* locale/iso-4217.def: Change entry for Eritrea.
8554	Reported by Daniel Yacob <yacob@geez.org>.
8555
85562000-12-23  Ben Collins	 <bcollins@debian.org>
8557
8558	* manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
8559	description.
8560
8561	* manual/stdio.texi (Dynamic Output): Document the return value of
8562	asprintf.  Also make the asprintf/snprintf examples a little
8563	better (check for some error returns).
8564
85652000-12-22  Andreas Jaeger  <aj@suse.de>
8566
8567	* include/stdio.h: Add __ftrylockfile prototype.
8568
85692000-12-21  H.J. Lu  <hjl@gnu.org>
8570
8571	* sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
8572	Make sign_exponent element signed.
8573
8574	* sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
8575	Fix a typo.
8576
8577	* sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
8578
85792000-12-21  Andreas Jaeger  <aj@suse.de>
8580
8581	* nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
8582	* inet/ether_hton.c: Likewise
8583	* inet/ether_ntoh.c: Likewise.
8584
8585	* nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
8586	declaration to match prototype.
8587
8588	* include/netinet/ether.h (struct etherent): Declare here so that
8589	all implementations use the same struct.
8590
8591	* nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
8592	prototypes.
8593	(struct ether): Removed.
8594	Use struct etherent instead of ether everywhere.
8595
8596	* include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
8597
8598	* include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
8599
8600	* sunrpc/publickey.c: Include auth_des.h for prototypes.
8601
86022000-12-20  Ulrich Drepper  <drepper@redhat.com>
8603
8604	* math/test-misc.c: Add more tests for nextafter functions.
8605
8606	* sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
8607	normal correctly.  Correct test for sign.
8608	Based on a patch by HJ Lu.
8609
86102000-12-19  Ulrich Drepper  <drepper@redhat.com>
8611
8612	* Makeconfig (preprocess-version): Add -traditional to gcc call.
8613	Cleanup sed calls.
8614
86152000-12-19  Andreas Jaeger  <aj@suse.de>
8616
8617	* include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
8618
8619	* nis/nis_intern.h: Add prototype for __do_niscall3.
8620
8621	* nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
8622	match prototype.
8623
8624	* include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
8625
8626	* include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
8627
8628	* include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
8629
86302000-12-18  Ulrich Drepper  <drepper@redhat.com>
8631
8632	* math/test-misc.c: Add more tests for nextafter.
8633	* sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
8634	* sysdeps/ieee754/ldbl-96/math_ldbl.h
8635	(ieee_long_double_shape_type): Make sign_exponent element signed.
8636
8637	* manual/message.texi: Add Estonian to plural overview list.
8638	Correct rule for Slavic languages.
8639	Patch by Stanislav Brabec <utx@penguin.cz>.
8640
8641	* nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
8642
86432000-12-18  Andreas Jaeger  <aj@suse.de>
8644
8645	* test-skeleton.c: Use temp_name_list instead of name_list to
8646	avoid collision with name_list from inet/netgroup.h.
8647
8648	* nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
8649
8650	* include/grp.h (DECLARE_NSS_PROTOTYPES): New.
8651	* include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
8652	* include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
8653	* include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
8654
8655	* hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
8656	declaration to match prototype.
8657	* hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
8658	* hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
8659	* hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
8660	Likewise.
8661	* nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
8662	* nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
8663	* nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
8664	* nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
8665	(_nss_nis_getservbyport_r): Likewise.
8666	* nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
8667	* nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
8668	* nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
8669	(_nss_nis_setnetent): Likewise
8670	* nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8671	(_nss_nis_endnetgrent): Likewise.
8672	* nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
8673	Likewise.
8674	(_nss_nisplus_setnetgrent): Likewise.
8675	* nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
8676	* nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
8677	* nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
8678	* nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
8679	Likewise.
8680	* nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
8681	Likewise.
8682	* nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
8683	Likewise.
8684	* nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
8685	Likewise.
8686	* nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
8687	* nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
8688	* nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
8689	* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
8690	* resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
8691	(_nss_dns_getnetbyaddr_r): Likewise.
8692
86932000-12-17  Andreas Jaeger  <aj@suse.de>
8694
8695	* sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
8696	parameter.
8697
8698	* sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
8699	unused attribute to shut up gcc warnings.
8700
8701	* sysdeps/generic/k_sinl.c: Include math_private for prototypes.
8702	* sysdeps/generic/k_tanl.c: Likewise.
8703	* sysdeps/generic/k_cosl.c: Likewise.
8704	* sysdeps/generic/e_j0l.c: Likewise.
8705	* sysdeps/generic/e_j1l.c: Likewise.
8706	* sysdeps/generic/e_jnl.c: Likewise.
8707	* sysdeps/generic/e_lgammal_r.c: Likewise.
8708
8709	* elf/vismain.c: Move prototypes for functions in vismod*.c to
8710	vismod.h.
8711	* elf/vismod.h: New file.
8712	* elf/Makefile (distribute): Add vismod.h.
8713	* elf/vismod1.c: Include vismod.h.
8714	* elf/vismod2.c: Likewise.
8715	* elf/vismod3.c: Likewise.
8716
8717	* elf/constload3.c: Add prototype declarations to shut up gcc.
8718	* elf/failobj.c: Likewise.
8719	* elf/nodelmod3.c: Likewise.
8720	* elf/filtmod1.c: Likewise.
8721	* elf/filtmod2.c: Likewise.
8722	* elf/reldepmod1.c: Likewise.
8723	* elf/reldepmod2.c: Likewise.
8724	* elf/reldepmod3.c: Likewise.
8725	* elf/reldepmod4.c: Likewise.
8726	* elf/unload2dep.c: Likewise.
8727	* elf/unload2mod.c: Likewise.
8728	* elf/ltglobmod1.c: Likewise.
8729	* elf/pathoptobj.c: Likewise.
8730	* elf/neededobj1.c: Likewise.
8731	* elf/neededobj2.c: Likewise.
8732	* elf/neededobj3.c: Likewise.
8733	* elf/neededobj4.c: Likewise.
8734	* elf/nextmod1.c: Likewise.
8735	* elf/nextmod2.c: Likewise.
8736
8737	* locale/programs/ld-collate.c (collate_finish): Don't use labels
8738	at end of compound statement.
8739	* locale/programs/locale.c (show_info): Likewise.
8740	* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
8741
87422000-12-16  Jakub Jelinek  <jakub@redhat.com>
8743
8744	* catgets/gencat.c (read_input_file): Avoid calling obstack_free
8745	with a pointer not returned by obstack_ functions.
8746
87472000-12-16  Ulrich Drepper  <drepper@redhat.com>
8748
8749	* sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
8750	version.
8751	(struct stat64): Likewise.
8752	Reported by Michael Keezer <mkeezer@redhat.com>.
8753
8754	* timezone/asia: Update from tzdata2000h.
8755	* timezone/australasia: Likewise.
8756	* timezone/backward: Likewise.
8757	* timezone/europe: Likewise.
8758	* timezone/northamerica: Likewise.
8759	* timezone/southamerica: Likewise.
8760	* timezone/zone.tab: Likewise.
8761
87622000-12-14  Jakub Jelinek  <jakub@redhat.com>
8763
8764	* io/ftw.c (ftw_dir): If process_entry returned non-zero result
8765	and dir.stream is NULL, only free dir.content.
8766	* io/ftwtest.c (cb, main): Add --early-exit option to test it.
8767	* io/ftwtest-sh: Test with --early-exit.
8768
87692000-12-13  Jakub Jelinek  <jakub@redhat.com>
8770
8771	* misc/efgcvt.c (FCVT_MAXDIG): Define.
8772	(FCVT_BUFPTR): New variable.
8773	(fcvt): If fcvt_r returns -1 on the static short buffer,
8774	try to malloc a sufficiently large one and retry.
8775	(free_mem): New function.
8776	* misc/qefgcvt.c (FCVT_MAXDIG): Define.
8777	* misc/tst-efgcvt.c (fcvt_tests): Add new test.
8778
87792000-12-15  Ulrich Drepper  <drepper@redhat.com>
8780
8781	* misc/dirname.c (dirname): Fix search for second to last slash.
8782
87832000-12-13  Andreas Jaeger  <aj@suse.de>
8784
8785	* misc/tst-dirname.c (main): Fix typo in test to really use
8786	the examples from Unix98.
8787	Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8788
87892000-12-09  H.J. Lu  <hjl@gnu.org>
8790
8791	* sysdeps/ia64/fpu/s_fabs.S: New file.
8792	* sysdeps/ia64/fpu/s_fabsf.S: New file.
8793	* sysdeps/ia64/fpu/s_fabsl.S: New file.
8794
87952000-12-15  Andreas Jaeger  <aj@suse.de>
8796
8797	* stdio-common/scanf9.c (main): Reformat and change to avoid
8798	warnings.
8799
8800	* stdio-common/tstdiomisc.c: Make local functions static.
8801	* stdio-common/tst-printf.c: Likewise.
8802
8803	* elf/constload2.c: Add prototype declarations to shut up gcc.
8804	* elf/dep1.c: Likewise.
8805	* elf/dep2.c: Likewise.
8806	* elf/dep3.c: Likewise.
8807	* elf/dep4.c: Likewise.
8808	* elf/ltglobmod2.c: Likewise.
8809
8810	* libio/fmemopen.c: Make local functions static.
8811
8812	* elf/Makefile (distribute): Added testobj.h.
8813
8814	* elf/testobj.h: New file.
8815
8816	* elf/testobj1.c: Include testobj.h and move prototype
8817	declarations to testobj.h.
8818	* elf/testobj2.c: Likewise.
8819	* elf/testobj3.c: Likewise.
8820	* elf/testobj4.c: Likewise.
8821	* elf/testobj5.c: Likewise.
8822	* elf/testobj6.c: Likewise.
8823	* elf/testobj1_1.c: Likewise.
8824	* elf/preloadtest.c: Likewise.
8825
88262000-12-15  Ben Collins	 <bcollins@debian.org>
8827
8828	* misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
8829	Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
8830
88312000-12-14  H.J. Lu  <hjl@gnu.org>
8832
8833	* sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
8834	field in a float is 8 bits, not 11 bits.
8835
88362000-12-13  Jakub Jelinek  <jakub@redhat.com>
8837
8838	* math/test-misc.c (main): Adjust m for IEEE quad long double.
8839
88402000-12-13  Andreas Jaeger  <aj@suse.de>
8841
8842	* manual/message.texi (Using gettextized software): Fix typo.
8843
8844	* manual/charset.texi (Converting a Character): Fix mbstouwcs
8845	program to compile.
8846	Patch by Martin Buchholz <martin@xemacs.org>.
8847
8848	* sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
8849	Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8850
88512000-12-11  Andreas Jaeger  <aj@suse.de>
8852
8853	* sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare