]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Update.
[thirdparty/glibc.git] / ChangeLog
1 2001-08-09 Ulrich Drepper <drepper@redhat.com>
2
3 * libio/wfileops.c (_IO_wfile_seekoff): Don't even try to handle
4 seeking with backup buffer present.
5 Correct determining of internal buffer position.
6 Reset also wide buffers if we reset the internal buffers.
7 * libio/iofwide.c (_IO_fwide): Always determine file offset for wide
8 streams.
9 * libio/ioseekoff.c: Catch one unimplemented case.
10 * libio/ftello.c: Don't abort if the wide stream has backup buffer.
11 * libio/ftello64.c: Likewise.
12 * libio/iofgetpos.c: Likewise.
13 * libio/iofgetpos64.c: Likewise.
14 * libio/ftell.c: Likewise.
15 * libio/Makefile (tests): Add tst-ungetwc2.
16 * libio/tst-ungetwc2.c: New file.
17
18 2001-08-08 Ulrich Drepper <drepper@redhat.com>
19
20 * locale/elem-hash.h (elem_hash): Correct stupid mistake and
21 create real hash values now.
22 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
23
24 * libio/iofgetpos.c (_IO_new_fgetpos): Correct a few problems in
25 the handling of wide streams.
26
27 * libio/ioungetwc.c (ungetwc): Orient stream first.
28 * libio/Makefile (tests): Add tst-ungetwc1.
29 * libio/tst-ungetwc1.c: New file.
30
31 * libio/wfileops.c (_IO_wfile_underflow): Remove incorrect test
32 for possible conversion using __codecvt_do_in.
33 * libio/Makefile (tests): Add tst-fgetws.
34 * libio/tst-fgetws.c: New file.
35
36 * libio/iofgetws.c: Use _IO_ferror_unlocked macros instead of
37 coding the test here.
38
39 * catgets/open_catalog.c: Rewrite code to assume that the function
40 is called at catopen time and not delayed in catgets.
41 * catgets/catgets.c (catopen): Call __open_catalog and fail if that
42 function failed.
43 (catgets): Remove code for delayed opening of catalog.
44 * catgets/catgetsinfo.h: Remove now unnecessary information from
45 struct catalog_info. Change __open_catalog prototype.
46 * catgets/gencat.c: Adjust __open_catalog call.
47 * catgets/test-gencat.c: Stop program if catopen failed.
48
49 * locale/C-monetary.c (_nl_C_LC_MONETARY): Provide correct value
50 for CRNCYSTR.
51
52 * locale/programs/ld-messages.c (messages_finish): Provide POSIX
53 locale compliant default values for fields without definition.
54 * locale/programs/ld-time.c (time_finish): Likewise.
55 * locale/programs/ld-monetary.c (monetary_finish): Likewise.
56
57 2001-08-08 Andreas Jaeger <aj@suse.de>
58
59 * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Fix test for
60 infinity.
61
62 2001-08-07 Ulrich Drepper <drepper@redhat.com>
63
64 * sysdeps/ia64/memusage.h (GETTIME): Define using hp-timing.h
65 functionality.
66
67 * sysdeps/ia64/hp-timing.h (HP_TIMING_NOW): Fix comment.
68
69 2001-08-07 Jakub Jelinek <jakub@redhat.com>
70
71 * malloc/memusage.c (initialized): New variable.
72 (init): If not yet initialized, call me().
73 (me): Do all dlsym calls here.
74 (malloc, realloc, calloc, free): If not yet initialized,
75 call me(). If in the middle of initializing, return NULL or
76 do nothing.
77
78 2001-08-07 Jakub Jelinek <jakub@redhat.com>
79
80 * sysdeps/unix/seekdir.c (seekdir): Set dirp->filepos.
81
82 * dirent/tst-seekdir.c (main): Check whether telldir right after
83 seekdir returns 2nd argument given to seekdir.
84
85 2001-08-07 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
86
87 * dlfcn/Makefile (tststatic-ENV): Add $(common-objpfx) to
88 LD_LIBRARY_PATH.
89
90 2001-08-07 Andreas Jaeger <aj@suse.de>
91 Andreas Schwab <schwab@suse.de>
92 Bruno Haible <haible@clisp.cons.org>
93
94 * locale/programs/3level.h (EMPTY): New macro.
95 (*_get, *_add, *_iterate, *_finalize): Use it instead of ~(uint32_t) 0.
96
97 2001-08-08 GOTO Masanori <gotom@debian.or.jp>
98
99 * locale/iso-3166.def: Updates from latest official list.
100
101 2001-08-07 Andreas Jaeger <aj@suse.de>
102
103 * stdlib/tst-strtod.c: Disable HUGE_VAL tests for older GCCs.
104
105 * iconv/gconv_charset.h (upstr): Add unused attribute to avoid warning.
106
107 * libio/iopopen.c (_IO_new_proc_open): Fix typos, it's _IO_MTSAFE_IO.
108 (_IO_new_proc_close): Likewise.
109 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
110 (_IO_old_proc_close): Likewise.
111
112 2001-08-06 Ulrich Drepper <drepper@redhat.com>
113
114 * manual/locale.texi: Add documentation for rpmatch.
115 Patch by Jochen Hein <jochen@jochen.org>.
116
117 2001-08-06 Jakub Jelinek <jakub@redhat.com>
118
119 * stdlib/strtod.c (STRTOF): Skip whole infinity, not just inf.
120 * stdio-common/vfscanf.c (__vfscanf): +- can be followed by i in +-Inf.
121
122 * stdlib/tst-strtod.c (tests): Add Inf tests.
123 * stdio-common/tstscanf.c (main): Add tests for +- before Inf.
124
125 2001-08-06 Ulrich Drepper <drepper@redhat.com>
126
127 * locale/weightwc.h (findidx): Change type of i to int32_t.
128
129 * wcsmbs/wcsmbs-tst1.c (main): Avoid warning. Pretty printing.
130
131 2001-08-05 Roland McGrath <roland@frob.com>
132
133 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h (struct dirent): Rename member
134 d_fileno to d_ino.
135 (struct dirent64): Likewise.
136 (d_fileno): Define as macro.
137
138 2001-08-04 Roland McGrath <roland@frob.com>
139
140 * sysdeps/mach/hurd/getrusage.c: Use TASK_EVENTS_INFO if implemented
141 by the microkernel (which it's not).
142
143 2001-08-04 Ulrich Drepper <drepper@redhat.com>
144
145 * libio/fileops.c (_IO_new_file_underflow): Don't call
146 _IO_flush_all_linebuffered. This isn't required in any standard.
147 Instead flush only stdout.
148 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
149
150 2001-08-04 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
151
152 * dlfcn/Makefile: Add rules for new testcase tststatic.
153 * dlfcn/tststatic.c: New file.
154 * dlfcn/modstatic.c: New file.
155
156 2001-08-04 Ulrich Drepper <drepper@redhat.com>
157
158 * manual/summary.awk: Fix value used for FF.
159
160 * elf/rtld.c: Correct use of __builtin_expect.
161
162 * elf/dl-close.c: Remove commented-out code.
163
164 * libio/genops.c (_IO_unbuffer_write): Force streams in narrow
165 orientation so that conversion modules aren't used anymore.
166 * malloc/set-freeres.c: Call _IO_cleanup before running subfreeres
167 functions to avoid using wide streams afterwards.
168
169 * iconvdata/Makefile: Add rules to build GEORGIAN-PS and
170 GEORGIAN-ACADEMY.
171 * iconvdata/georgian-ps.c: New file.
172 * iconvdata/georgian-academy.c: New file.
173 * iconvdata/gconv-modules: Add entries for GEORGIAN-PS and
174 GEORGIAN-ACADEMY.
175 * iconvdata/tst-tables.sh: Add GEORGIAN-PS and GEORGIAN-ACADEMY.
176
177 2001-08-03 Ulrich Drepper <drepper@redhat.com>
178
179 * locale/programs/ld-collate (insert_value): If symbol in order
180 definition does not exist create it as a sequence without
181 associated multibyte and wide representation.
182
183 2001-07-30 Roland McGrath <roland@frob.com>
184
185 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start): Diddle
186 syntax so both function and pointer-to-function arguments work right.
187
188 2001-08-03 Tom Rix <trix@redhat.com>
189
190 * config.h.in: Add HAVE_XCOFF for AIX.
191 * configure.in: Add --with-xcoff option.
192 * include/libc-symbols.h: Disable the .stabs macros.
193
194 2001-08-03 Ulrich Drepper <drepper@redhat.com>
195
196 * iconvdata/8bit-gap.c: Correctly use __builtin_expect.
197 * iconvdata/ansi_x3.110.c: Likewise.
198 * iconvdata/big5.c: Likewise.
199 * iconvdata/euc-cn.c: Likewise.
200 * iconvdata/euc-jp.c: Likewise.
201 * iconvdata/euc-kr.c: Likewise.
202 * iconvdata/gb18030.c: Likewise.
203 * iconvdata/gbbig5.c: Likewise.
204 * iconvdata/gbgbk.c: Likewise.
205 * iconvdata/gbk.c: Likewise.
206 * iconvdata/ibm930.c: Likewise.
207 * iconvdata/ibm932.c: Likewise.
208 * iconvdata/ibm933.c: Likewise.
209 * iconvdata/ibm935.c: Likewise.
210 * iconvdata/ibm939.c: Likewise.
211 * iconvdata/ibm943.c: Likewise.
212 * iconvdata/iso-2022-cn.c: Likewise.
213 * iconvdata/iso-2022-kr.c: Likewise.
214 * iconvdata/iso646.c: Likewise.
215 * iconvdata/iso8859-1.c: Likewise.
216 * iconvdata/iso_6937-2.c: Likewise.
217 * iconvdata/iso_6937.c: Likewise.
218 * iconvdata/johab.c: Likewise.
219 * iconvdata/sjis.c: Likewise.
220 * iconvdata/t.61.c: Likewise.
221 * iconvdata/uhc.c: Likewise.
222 * iconvdata/unicode.c: Likewise.
223 * iconvdata/utf-16.c: Likewise.
224 * iconv/gconv_simple.c: Likewise. Convert assert() in real error
225 handling.
226
227 * iconvdata/Makefile: Add rules to build KOI8-T module.
228 * iconvdata/koi8-t.c: New file.
229 * iconvdata/gconv-modules: Add entries for KOI8-T.
230 * iconvdata/tst-tables.sh: Add KOI8-T.
231
232 * locale/iso-639.def: Correct Javanese 2 letter code. Add Tonga.
233 Add Tigrinya.
234
235 2001-08-02 Ulrich Drepper <drepper@redhat.com>
236
237 * locale/programs/ld-collate.c (collate_read): Handle collating-element
238 and reorder_after following copy statement correctly.
239
240 2001-08-02 Andreas Jaeger <aj@suse.de>
241
242 * libio/bits/stdio.h (printf): Remove printf optimization since
243 GCC 3.0 can optimize printf.
244
245 2001-08-02 Ulrich Weigand <uweigand@de.ibm.com>
246
247 * sysdeps/s390/s390-32/memcpy.S: Fixed incorrect use of
248 mvcle introduced by 2001-07-12 change.
249 * sysdeps/s390/s390-64/memcpy.S: Likewise.
250
251 2001-07-31 Ulrich Drepper <drepper@redhat.com>
252
253 * sysdeps/unix/sysv/linux/i386/getcontext.S: Don't touch the %gs
254 register so that contexts can be used in different threads.
255 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
256 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
257
258 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Correct
259 test for cmsg struct size.
260 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Likewise.
261
262 * sysdeps/unix/sysv/linux/i386/makecontext.S: Remove unnecessary
263 initializations.
264
265 * libio/iopopen.c: Add lock for proc_file_chain access.
266 * libio/oldiopopen.c: Add lock for old_proc_file_chain access.
267 Reported by Padraig Brady <Padraig@linux.ie>.
268
269 2001-07-31 Andreas Jaeger <aj@suse.de>
270
271 * sysdeps/unix/sysv/linux/sparc/bits/poll.h (NPOLLFILE): Removed.
272 * sysdeps/unix/sysv/linux/mips/bits/poll.h (NPOLLFILE): Removed.
273 * sysdeps/unix/sysv/linux/m68k/bits/poll.h (NPOLLFILE): Removed.
274 * sysdeps/unix/sysv/linux/bits/poll.h (NPOLLFILE): Removed.
275 * sysdeps/generic/bits/poll.h (NPOLLFILE): Removed.
276
277 * libio/genops.c (flush_cleanup): Guard list_all_lock to allow
278 compilation without threads.
279
280 2001-07-30 Ulrich Drepper <drepper@redhat.com>
281
282 * po/fr.po: Update from translation team.
283
284 2001-07-30 Andreas Jaeger <aj@suse.de>
285
286 * sysdeps/ieee754/ldbl-128/e_atanhl.c: New file, contributed by
287 Stephen L Moshier.
288
289 * posix/regex.c: Declare wcs functions only if compiling with
290 MBS_SUPPORT.
291 Don't use #elif for traditional C.
292
293 2001-07-29 Mark Kettenis <kettenis@gnu.org>
294
295 * sysdeps/mach/hurd/recvmsg.c: New file.
296 * sysdeps/mach/hurd/sendmsg.c: New file.
297
298 2001-07-27 Ulrich Drepper <drepper@redhat.com>
299
300 * version.h (VERSION): Bump to 2.2.4.
301
302 * sysdeps/mips/Dist: Remove non-existing files.
303 * sysdeps/mips/mips64/Dist: Likewise.
304 * sysdeps/mips/mipsel/Dist: Removed.
305 * iconv/Makefile (distribute): Add strtab.c and iconvconfig.h.
306 * sysdeps/generic/Dist: Add bits/link.h.
307 * sysdeps/unix/sysv/linux/m68k/Dist: Add sys/procfs.h.
308 * sysdeps/unix/sysv/aix/Dist: Add dl-support.c, dl-addr.c, and
309 dl-error.c.
310 * sysdeps/ia64/Dist: Add bits/link.h.
311
312 * libio/vasprintf.c (_IO_vasprintf): Don't copy uninitialized byte
313 from stream buffer to result buffer.
314 Reported by Michael Meeks <michael@ximian.com>.
315
316 * libio/Makefile: Add rules to check output of tst-fopenloc and
317 for memory leaks.
318 * libio/tst-fopenloc.c: New file.
319
320 * iconv/gconv_cache.c (__gconv_compare_alias_cache): New function.
321 * iconv/gconv_int.h: Add prototype for __gconv_compare_alias_cache.
322 * iconv/gconv_charset.h: Replace __gconv_lookup_alias prototype with
323 __gconv_compare_alias prototype.
324 * iconv/gconv_db.c (__gconv_lookup_alias): Removed.
325 (__gconv_compare_alias): New function.
326 * locale/findlocale.c (_nl_find_locale): Use __gconv_compare_alias
327 instead of calling __gconv_lookup_alias twice and compare here.
328
329 2001-07-26 Mark Kettenis <kettenis@gnu.org>
330
331 * hurd/hurdsig.c (_hurd_internal_post_signal): Fix handling of
332 SA_RESETHAND and SA_NODEFER.
333
334 2001-07-27 Ulrich Drepper <drepper@redhat.com>
335
336 * libio/fileops.c (_IO_new_file_fopen): Correctly locate ccs=
337 substring. Don't handle ccs= if no descriptor was allocated.
338 Normalize codeset name before calling __wcsmbs_named_conv.
339 Initialize transliteration elements. Free step data structure.
340 * libio/iofclose.c (_IO_new_fclose): Correct freeing of the step data.
341 * libio/iofwide.c (__libio_translit): Renamed from libio_translit
342 and made public. Various little cleanup changes.
343 * wcsmbs/wcsmbsload.h (struct gconv_fcts): Add towc_nsteps and
344 tomb_nsteps member.
345 * wcsmbs/wcsmbsload.c: Add some casts to avoid warnings.
346 (__wcsmbs_gconv_fcts): Initialize towc_nsteps and tomb_nsteps member.
347 (getfct): Take additional parameter with pointer to variable where the
348 number of steps is stored in. Disable code which allows to use more
349 than one step for now. Adjust all callers.
350 (free_mem): New function. Frees data associated with currently
351 selected converters.
352
353 * malloc/mtrace.pl: Extract addresses from DSOs.
354
355 2001-07-26 Ulrich Drepper <drepper@redhat.com>
356
357 * malloc/mcheck.c (checkhdr): Disable mcheck before reporting an
358 error. Don't run any tests if mcheck is disabled.
359
360 * elf/dl-support.c (_dl_important_hwcaps): Avoid using malloc
361 early in the program.
362
363 2001-07-27 Andreas Jaeger <aj@suse.de>
364
365 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h (SC_GPRS): Fix
366 value following change from 2001-05-30.
367
368 * sysdeps/s390/s390-64/bits/setjmp.h (_JMPBUF_UNWINDS): Follow
369 rename change from 2001-07-12 for __jmp_buf.
370 Patches by Ulrich Weigand <Ulrich.Weigand@de.ibm.com>.
371
372 2001-07-26 Roland McGrath <roland@frob.com>
373
374 * sysdeps/generic/bits/termios.h (EXTA, EXTB): Make these conditional
375 on __USE_MISC rather than __USE_BSD.
376 (B57600, B115200, B230400, B460800, B500000, B576000, B921600,
377 B1000000, B1152000, B1500000, B2000000, B2500000, B3000000,
378 B3500000, B4000000): New macros.
379 * sysdeps/generic/tcsetattr.c (bad_speed): Accept those values.
380 * termios/cfsetspeed.c (speeds): Likewise.
381
382 2001-07-26 kaz Kojima <kkojima@rr.iij4u.or.jp>
383
384 * sysdeps/sh/dl-machine.h (elf_machine_load_address): Don't use
385 multi-line strings.
386 (FUN_ADDR, FGR_SAVE, ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
387 (elf_machine_rela): Handle unaligned relocation.
388
389 2001-06-07 David Mosberger <davidm@hpl.hp.com>
390
391 * sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Update call to
392 __ia64_make_fptr() for new interface.
393 (_dl_function_address): Remove.
394
395 * sysdeps/ia64/dl-machine.h (IA64_BOOT_FPTR_TABLE_LEN): Rename
396 from IA64_BOOT_FPTR_SIZE and reduce its value from 256 to 200.
397 (struct ia64_fdesc): Rename from struct ia64_fptr and drop "next"
398 pointer. Rename member "func" to "ip".
399 (struct ia64_fdesc_table): New type.
400 (__ia64_make_fptr): Change prototype.
401 (__ia64_init_bootstrap_fdesc_table): New function.
402 (ELF_MACHINE_BEFORE_RTLD_RELOC): New macro.
403 (__boot_ldso_fptr): Removed.
404 (__fptr_next): Removed.
405 (__fptr_root): Removed.
406 (__fptr_count): Removed.
407 (TRAMPOLINE_TEMPLATE): Fix typo in comment. Don't use multi-line
408 strings to avoid warning from gcc3.
409 (RTLD_START): Don't use multi-line strings.
410 (ELF_MACHINE_START_ADDRESS): Use DL_STATIC_FUNCTION_ADDRESS.
411 (elf_machine_fixup_plt): Update the code entry point in the
412 function descriptor through a "volatile" pointer to ensure proper
413 write ordering.
414 (elf_machine_rela): Simplify handling of FPTR relocs: always call
415 __ia64_make_fptr().
416
417 * sysdeps/ia64/dl-lookupcfg.h (DL_AUTO_FUNCTION_ADDRESS): New macro.
418 (DL_STATIC_FUNCTION_ADDRESS): Likewise.
419 (DL_DT_INIT_ADDRESS): Use DL_AUTO_FUNCTION_ADDRESS.
420 (DL_DT_FINI_ADDRESS): Likewise.
421
422 * sysdeps/ia64/dl-fptr.c: Rewrite for better scalability and to
423 avoid deadlocks.
424
425 * include/link.h: Add member machine specific "l_mach" member to
426 link_map.
427
428 * sysdeps/generic/bits/link.h: New file.
429 * sysdeps/ia64/bits/link.h: Likewise.
430
431 * elf/rtld.c (_dl_start): Fix typo in comment.
432 (_dl_start_final): Copy new "l_mach" member from temporary to
433 final bootstrap map.
434
435 2001-07-25 Ulrich Drepper <drepper@redhat.com>
436
437 * csu/gmon-start.c: Use ENTRY_POINT_DECL if defined instead of a
438 declaration using ENTRY_POINT.
439 * sysdeps/ia64/elf/entry.h (ENTRY_POINT_DECL): New definition.
440
441 2001-07-25 H.J. Lu <hjl@gnu.org>
442
443 * csu/gmon-start.c: Include <entry.h>
444 (_start): Replaced with ENTRY_POINT.
445
446 2001-07-25 Mark Kettenis <kettenis@gnu.org>
447
448 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: New file.
449
450 2001-07-25 Ulrich Drepper <drepper@redhat.com>
451
452 * iconv/iconvconfig.c (main): Don't write an output file if we
453 have seen an error.
454 (write_output): Don't overwrite old cache file until we know we
455 have a new one.
456
457 * iconv/Makefile (install-sbin): Add iconvconfig.
458
459 2001-07-25 Jakub Jelinek <jakub@redhat.com>
460
461 * elf/Makefile (routines): Add dl-iteratephdr and
462 dl-iteratephdr-static.
463 (elide-routines.os): Add dl-iteratephdr-static.
464 * elf/dl-iteratephdr.c: New file.
465 * elf/link.h (struct dl_phdr_info): New definition.
466 (dl_iterate_phdr): New prototype.
467 * elf/Versions (dl_iterate_phdr): Add at GLIBC_2.2.4.
468 * include/link.h (struct dl_phdr_info): New definition.
469 (dl_iterate_phdr, __dl_iterate_phdr): New prototypes.
470 * sysdeps/generic/dl-iteratephdr-static.c: New file.
471 * sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: New file.
472
473 2001-07-24 Igor Khavkine <i_khavki@alcor.concordia.ca>
474
475 * hurd/hurdsig.c (_hurdsig_init): Fix incorrect initialization
476 of pending signals.
477
478 2001-06-22 Jakub Jelinek <jakub@redhat.com>
479
480 * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
481 gaps below main executable.
482
483 2001-07-22 Bruno Haible <haible@clisp.cons.org>
484
485 * intl/libintl.h (ngettext, dngettext, dcngettext): Use both msgid1
486 and msgid2 for printf format argument checking.
487
488 2001-07-24 Ulrich Drepper <drepper@redhat.com>
489
490 * iconv/gconv_cache.c (find_module): Don't allocate room for the
491 filename. Use alloca, we don't need it beyond this function.
492 (__gconv_release_cache): New function.
493 * iconv/gconv_db.c (__gconv_close_transform): Call
494 __gconv_release_cache after the steps are handled.
495 * iconv/gconv_dl.c (__gconv_find_shlib): Allocate file name in the
496 record as well.
497 * iconv/gconv_int.h: Add prototype for __gconv_release_cache.
498
499 * iconv/gconv_cache.c (__gconv_lookup_cache): Catch one more
500 boundary case and reject it.
501
502 2001-07-24 Andreas Jaeger <aj@suse.de>
503
504 * manual/examples/longopt.c (main): Fix which options take arguments.
505
506 2001-07-24 Ulrich Drepper <drepper@redhat.com>
507
508 * iconvdata/Makefile: Add dependencies for tst-loading test.
509
510 2001-07-24 Andreas Jaeger <aj@suse.de>
511
512 * iconv/iconvconfig.c (name_insert): Make static to avoid warning.
513
514 2001-07-23 Ulrich Drepper <drepper@redhat.com>
515
516 * locale/programs/locale.c (write_locales): Disable implicit
517 locking for the stream. Use feof_unlocked instead of feof.
518
519 * sysdeps/unix/sysv/linux/i386/makecontext.S: Initialize %fs, %gs,
520 and floating-point status as well.
521
522 * libio/iofclose.c (_IO_new_fclose): Unlink descriptor first to
523 avoid deadlock.
524 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
525 * libio/genops.c (_IO_un_link): Get stream lock since it's not
526 always done in the caller.
527 (_IO_link_in): Likewise.
528
529 * libio/genops.c (_IO_list_all_stamp): New variable.
530 (_IO_un_link): Bump _IO_list_all_stamp after removing from list.
531 (_IO_link): Likewise for insertion.
532 (flush_cleanup): New function.
533 (_IO_flush_all): Get list_all_lock and all individual locks for the
534 streams. Detect and handle changes to the _IO_list_all list.
535 (_IO_flush_all_linebuffered): Likewise.
536 * sysdeps/generic/bits/stdio-lock.h: Define
537 _IO_cleanup_region_start_noarg.
538 * sysdeps/mach/hurd/bits/stdio-lock.c: Likewise.
539
540 * stdio-common/printf.h: Fix typo in comment.
541
542 * iconv/gconv_cache.c (__gconv_lookup_cache): Handle encoding from
543 and to INTERNAL.
544 * iconv/iconvconfig.c: Create a special record for the INTERNAL
545 encoding name in the output file.
546
547 2001-07-23 Jakub Jelinek <jakub@redhat.com>
548
549 * sunrpc/svc_tcp.c (svctcp_rendezvous_abort): New function.
550 (svctcp_rendezvous_op): Use it.
551 * sunrpc/svc_unix.c (svcunix_rendezvous_abort): New function.
552 (svcunix_rendezvous_op): Use it.
553
554 2001-07-23 Andreas Schwab <schwab@suse.de>
555
556 * math/Makefile (CPPFLAGS-test-ifloat.c, CPPFLAGS-test-idouble.c,
557 CPPFLAGS-test-ildoubl.c): Renamed from CFLAGS-*.
558 (math-CPPFLAGS): Set this instead of CPPFLAGS.
559
560 2001-07-23 Ulrich Drepper <drepper@redhat.com>
561
562 * elf/elf.h: Add more definitions from Sun's latest version.
563
564 2001-07-23 Stephen L Moshier <moshier@mediaone.net>
565
566 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Return proper
567 sign for 0 input and set divide by zero exception for -1 input.
568 Return argument if NaN or infinity.
569
570 2001-07-23 Andreas Jaeger <aj@suse.de>
571
572 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add some deltas.
573
574 2001-07-23 Ulrich Drepper <drepper@redhat.com>
575
576 * iconv/gconv_cache.c (__gconv_lookup_cache): Select correct
577 module for conversion direction.
578
579 2001-07-23 Stephen L Moshier <moshier@mediaone.net>
580
581 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Return proper
582 sign for 0 input. Return NaN with no exception for NaN input.
583
584 2001-07-23 Ulrich Drepper <drepper@redhat.com>
585
586 * iconv/gconv_builtin.h: ISO-106464/UTF-8/ transformation must
587 really be an alias.
588
589 2001-07-23 Andreas Jaeger <aj@suse.de>
590
591 * iconv/iconvconfig.c: Include <sys/cdefs.h> and use
592 __attribute_malloc__ for older GCC versions.
593 * iconv/strtab.c: Likewise.
594 Add prototypes to avoid warnings.
595
596 2001-07-22 Roland McGrath <roland@frob.com>
597
598 * hurd/hurdsig.c (_hurd_internal_post_signal): Support SA_RESETHAND
599 and SA_NODEFER options. Spurred to action by Igor Khavkine.
600
601 * sysdeps/generic/bits/sigaction.h [__USE_UNIX98 || __USE_MISC]
602 (SA_NODEFER, SA_RESETHAND): New macros, same bit values as FreeBSD.
603 [__USE_MISC] (SA_INTERRUPT): New macro, value 0.
604 [__USE_MISC] (SA_NOMASK, SA_ONESHOT, SA_STACK): New macros, aliases
605 as in other sysdeps versions of this file.
606
607 * sysdeps/generic/bits/sigaction.h (struct sigaction): Use a union
608 and provide sa_handler and sa_sigaction member names as macros, as
609 done in other sysdeps versions of this file.
610 Suggested by Igor Khavkine <i_khavki@alcor.concordia.ca>.
611
612 2001-07-23 Ulrich Drepper <drepper@redhat.com>
613
614 * posix/regex.c: Revamp memory allocation for WCHAR functions to
615 not use too much stack.
616
617 2001-07-22 Ulrich Drepper <drepper@redhat.com>
618
619 * iconv/iconvconfig.c (write_output): Update comment explaining
620 output format.
621
622 * elf/dl-load.c (_dl_dst_count): In SUID binaries expand $ORIGIN
623 if it is alone.
624 (_dl_dst_substitute): Likewise.
625
626 * iconv/iconvconfig.c: Remove --verbose option. Comment out
627 mcheck_verbose call.
628
629 * iconv/strtab.c (morememory): Fix little memory handling problem.
630
631 2001-07-22 Andreas Schwab <schwab@suse.de>
632
633 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Don't
634 mark asm input operand as clobbered.
635 * sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise.
636
637 2001-07-22 Ulrich Drepper <drepper@redhat.com>
638
639 * iconv/gconv_builtin.c (struct builtin_map): Remove init and end
640 elements.
641 (BUILTIN_TRANSFORMATION): Remove Init and End parameters.
642 (__gconv_get_builtin_trans): Initialize __init_fct and __end_fct to
643 NULL.
644 * iconv/gconv_builtin.h: Remove NULL parameters for Init and End in
645 all BUILTIN_TRANSFORMATION calls.
646 * iconv/gconv_conf.c (BUILTIN_TRANSFORMATION): Remove Init and End
647 parameters.
648 * iconv/gconv_simple.c: Likewise.
649 * iconv/gconv_db.c (gen_steps): Internal converters don't have
650 initializers, move the code accordingly.
651
652 * iconv/gconv_conf.c (__gconv_read_conf): Don't read configuration
653 file if STATIC_GCONV is defined.
654
655 * iconv/gconv_conf.c (__gconv_path_envvar): New global variable.
656 (__gconv_get_path): Use it instead of call getenv.
657 (__gconv_read_conf): First see whether cache can be used. If yes,
658 don't do any work here.
659 * iconv/gconv_db.c (__gconv_release_step): Renamed from release_step
660 and exported. Change callers.
661 (__gconv_find_transform): First call __gconv_lookup_cache and only
662 continue if it signals no cache available. Remove some unnecessary
663 tests.
664 * iconv/gconv_int.h: Declare __gconv_path_envvar, __gconv_lookup_cache,
665 __gconv_release_step, and __gconv_loaded_cache.
666 * iconv/gconv_cache.c: New file.
667 * iconv/iconvconfig.c: New file.
668 * iconv/iconvconfig.h: New file.
669 * iconv/strtab.c: New file.
670 * iconv/Makefile: Add rules to build new files and programs.
671
672 2001-07-20 Roland McGrath <roland@frob.com>
673
674 * sysdeps/generic/device-nrs.h (DEV_TTY_P): Change argument type
675 from `dev_t' (st_rdev value) `const struct stat *'.
676 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Likewise.
677 * libio/filedoalloc.c (_IO_file_doallocate): Change caller.
678 * sysdeps/mach/hurd/device-nrs.h: New file.
679
680 * libio/stdio_ext.h: Moved to ...
681 * stdio-common/stdio_ext.h: ... here.
682 * libio/Makefile (headers): Move stdio_ext.h from here ...
683 * stdio-common/Makefile (headers): ... to here.
684 * include/stdio_ext.h: New file.
685 * stdio/Makefile (routines): Add the stdio_ext.h functions here.
686 * stdio/Versions (GLIBC_2.2.4): Export the stdio_ext.h functions.
687 * stdio/__flbf.c: New file.
688 * stdio/__fbufsize.c: New file.
689 * stdio/__fpending.c: New file.
690 * stdio/__fpurge.c: New file.
691 * stdio/__freadable.c: New file.
692 * stdio/__freading.c: New file.
693 * stdio/__fsetlocking.c: New file.
694 * stdio/__fwritable.c: New file.
695 * stdio/__fwriting.c: New file.
696
697 2001-07-20 Ulrich Drepper <drepper@redhat.com>
698 Andreas Jaeger <aj@suse.de>
699
700 * elf/ldconfig.c (search_dir): Avoid use of uninitialized memory.
701 Add a few __builtin_expect to mark unlikely error cases.
702
703 2001-07-20 Andreas Jaeger <aj@suse.de>
704
705 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Synch with kernel.
706 Patch by Daniel Jacobowitz <dan@debian.org>.
707
708 2001-07-19 Ulrich Drepper <drepper@redhat.com>
709
710 * intl/localealias.c: Remove unnecessary prototype.
711
712 * Makefile: Add html goal.
713 * manual/Makefile: Likewise.
714
715 2001-07-18 Ulrich Drepper <drepper@redhat.com>
716
717 * libio/filedoalloc.c (_IO_file_doallocate): A few more minor
718 cleanups and improvements.
719
720 2001-07-18 Andreas Schwab <schwab@suse.de>
721
722 * posix/regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
723 underscore character.
724
725 2001-07-18 Jakub Jelinek <jakub@redhat.com>
726
727 * malloc/malloc (new_heap): Don't call munmap for zero length.
728
729 2001-07-18 Ulrich Drepper <drepper@redhat.com>
730
731 * libio/filedoalloc.c (_IO_file_doallocate): Use DEV_TTY_P if
732 available to determine whether descriptor is for tty before
733 calling isatty.
734
735 * sysdeps/unix/sysv/linux/device-nrs.h: Define DEV_TTY_P.
736 * sysdeps/generic/device-nrs.h: Likewise.
737
738 2001-07-18 Andreas Jaeger <aj@suse.de>
739
740 * time/Makefile (tst-getdate-ENV): Add TZDIR to environment.
741
742 * time/Depend: New, add dependency on timezone.
743
744 * time/tst-getdate.c: Add testcase for bug report by Hendrik
745 Uhlmann <HUhlmann@stn-atlas.de>.
746 * time/datemsk: Likewise.
747
748 2001-07-17 Ulrich Drepper <drepper@redhat.com>
749
750 * elf/ldconfig.c (parse_conf): Disable implicit locking for the
751 stream. Remove some unnecessary initializers.
752
753 2001-07-17 Andreas Jaeger <aj@suse.de>
754
755 * elf/ldconfig.c: Add new variable hwcap_mask to honour LD_HWCAP_MASK.
756 (is_hwcap_platform): Use it.
757 (set_hwcap): New function to set hwcap_mask.
758 (main): Call set_hwcap.
759
760 2001-07-17 Jakub Jelinek <jakub@redhat.com>
761
762 * time/getdate.c (__getdate_r): Initialize tm_isdst, tm_gmtoff and
763 tm_zone before calling strptime.
764
765 2001-07-17 Andreas Schwab <schwab@suse.de>
766
767 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Fix last change.
768
769 2001-07-17 Ulrich Drepper <drepper@redhat.com>
770
771 * inet/rcmd.c (iruserfopen): Disable implicit locking for the stream.
772 * inet/ruserpass.c (ruserpass): Likewise.
773 * nss/nsswitch.c (nss_parse_file): Likewise.
774 * resolv/res_hconf.c (_res_hconf_init): Likewise.
775 * resolv/res_init.c (__res_vinit): Likewise.
776 * gmon/bb_exit_func.c (__bb_exit_func): Likewise.
777 * misc/getpass.c (getpass): Likewise.
778 * misc/getusershell.c (initshells): Likewise.
779 * misc/getttyent.c (setttyent): Likewise.
780 * misc/mntent_r.c (__setmntent): Likewise.
781 * time/getdate.c (__getdate_r): Likewise.
782 * time/tzfile.c (__tzfile_read): Likewise.
783 * iconv/gconv_conf.c (read_conf_file): Likewise.
784 * intl/localealias.c (read_alias_file): Disable implicit locking
785 for the stream. Use _unlocked functions for glibc.
786 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Disable
787 implicit locking for the stream.
788 (__get_nprocs_conf): Likewise.
789 (phys_pages_info): Likewise.
790
791 2001-07-16 Ulrich Drepper <drepper@redhat.com>
792
793 * nscd/connections.c: Print messages caused by user application
794 only if debug_level > 0. Add little performance improvements.
795 Use TEMP_FAILURE_RETRY around write calls.
796 * nscd/grpcache.c: Likewise.
797 * nscd/hstcache.c: Likewise.
798 * nscd/pwdcache.c: Likewise.
799
800 2001-07-13 H.J. Lu <hjl@gnu.org>
801
802 * sysdeps/mips/dl-machine.h (MAP_BASE_ADDR): Removed.
803 (elf_machine_got_rel): Defined only if RTLD_BOOTSTRAP is not defined.
804 (RESOLVE_GOTSYM): Rewrite to use RESOLVE.
805
806 * sysdeps/mips/rtld-ldscript.in: Removed.
807 * sysdeps/mips/rtld-parms: Likewise.
808 * sysdeps/mips/mips64/rtld-parms: Likewise.
809 * sysdeps/mips/mipsel/rtld-parms: Likewise.
810
811 2001-07-16 Ulrich Drepper <drepper@redhat.com>
812
813 * catgets/test-gencat.sh: Use <<"EOF" instead of <<EOF to prevent
814 substitution in here document.
815
816 2001-07-16 Andreas Schwab <schwab@suse.de>
817
818 * sysdeps/posix/spawni.c: Fix typo when iterating over signal numbers.
819
820 2001-07-16 Andreas Schwab <schwab@suse.de>
821
822 * math/libm-test.inc (check_float_internal): Fix sign bit test of
823 infinities.
824
825 2001-07-16 Jakub Jelinek <jakub@redhat.com>
826
827 * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Make it PIC friendly.
828
829 2001-07-15 Ulrich Drepper <drepper@redhat.com>
830
831 * malloc/obstack.c: Define __attribute__ for non-gcc compilers.
832 Patch by Jim Meyering <jim@meyering.net>.
833
834 2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
835
836 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Reorder
837 fields in the sigaction struct to match the definition in the kernel.
838
839 2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
840
841 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Correct the
842 test for ENOSYS.
843
844 2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
845
846 * sysdeps/s390/s390-32/bits/setjmp.h: Add leading underscores
847 to the entries in the __jmp_buf structure.
848 * sysdeps/s390/s390-64/bits/setjmp.h: Likewise.
849
850 2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
851
852 * sysdeps/s390/s390-32/bcopy.S: Use mvcle for big blocks
853 (> 64K) and a mvc loop for small blocks.
854 * sysdeps/s390/s390-32/memcpy.S: Likewise.
855 * sysdeps/s390/s390-64/bcopy.S: Likewise.
856 * sysdeps/s390/s390-64/memcpy.S: Likewise.
857
858 2001-07-15 Andreas Schwab <schwab@suse.de>
859
860 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: New file.
861 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: New file.
862
863 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Check _dl_pagesize
864 first. Default to 4096, not EXEC_PAGESIZE.
865
866 * iconv/loop.c (put16) [!_STRING_ARCH_unaligned && BIG_ENDIAN]:
867 Fix index.
868
869 2001-07-09 Andreas Jaeger <aj@suse.de>
870
871 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Name entry for xmm2.
872
873 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add HWCAP_I386_XMM,
874 HWCAP_I386_XMM2 to enum.
875
876 2001-07-13 Andreas Jaeger <aj@suse.de>
877
878 * libio/fileops.c: Include unistd.h for lseek64 prototype. Closes
879 PR libc/2372.
880
881 2001-07-12 Ulrich Drepper <drepper@redhat.com>
882
883 * Makeconfig: Add some more changes to handle AIX linker better.
884
885 2001-07-12 H.J. Lu <hjl@gnu.org>
886
887 * sysdeps/generic/segfault.c: Include <errno.h>.
888
889 2001-07-01 Andreas Jaeger <aj@suse.de>
890
891 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk): Remove duplicate
892 sbrk. Closes PR libc/2312.
893
894 2001-07-01 Andreas Jaeger <aj@suse.de>
895
896 * sysdeps/generic/segfault.c (install_handler): Handle case that
897 the output file does not exists. Closes PR libc/2345.
898
899 2001-07-11 Ulrich Drepper <drepper@redhat.com>
900
901 * intl/locale.alias: Use he language code for hebrew, not il
902 [PR libc/2382].
903
904 2001-07-11 Jakub Jelinek <jakub@redhat.com>
905
906 * iconv/gconv_int.h: Fix comment typo.
907
908 2001-07-11 Igor Khavkine <i_khavki@alcor.concordia.ca>
909
910 * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code.
911
912 2001-07-07 Roland McGrath <roland@frob.com>
913
914 * hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0.
915
916 2001-07-10 Stephen L Moshier <moshier@mediaone.net>
917
918 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Fix
919 backwards conditional in test for x == 1.0.
920
921 2001-07-10 Andreas Jaeger <aj@suse.de>
922
923 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add ulps for tanh
924 (-0.7).
925
926 2001-07-09 Andreas Jaeger <aj@suse.de>
927
928 * sysdeps/unix/sysv/linux/configure.in: Revert patch from
929 2001-07-05 for sysconfdir handling.
930 * config.make.in (sysconfdir): Likewise.
931 * configure.in: Likewise.
932
933 * configure.in: Always assign libc_cv_sysconfdir.
934
935 2001-07-08 Ulrich Drepper <drepper@redhat.com>
936
937 * Makerules [AIX] (build-shlib-helper): Precede linker options
938 with -Wl.
939
940 * Makeconfig (config-LDFLAGS): Add ld.so only for ELF.
941
942 * sysdeps/unix/make_errlist.c: Adjust sys_errlist declaration to
943 what we define in <stdio.h>.
944
945 * iconv/iconv_prog.c (main): Don't unconditionally define
946 variables only use if _POSIX_MAPPED_FILES is defined.
947
948 * sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type.
949 * sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise.
950
951 * sysdeps/unix/sysv/aix/recv.c: New file.
952
953 * sysdeps/unix/sysv/aix/recvfrom.c: Fix various types.
954
955 2001-07-07 Ulrich Drepper <drepper@redhat.com>
956
957 * sysdeps/generic/recv.c: Fix return type.
958
959 * sysdeps/unix/sysv/aix/dl-libc.c (__libc_dlclose): Fix typo.
960
961 * sysdeps/unix/sysv/aix/gettimeofday.c (__gettimeofday): Add
962 declarations for asm functions.
963
964 * include/libc-symbols.h: Provide more dummy definitions for the
965 case if GNU ld isn't used.
966
967 * libio/freopen.c: Include <stdlib.h> for free declaration.
968 * libio/freopen64.c: Likewise.
969
970 * sysdeps/alpha/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
971
972 2001-07-06 Jakub Jelinek <jakub@redhat.com>
973
974 * sysdeps/unix/sysv/linux/i386/sigaction.c (RESTORE2): Put asm
975 explicitly into .text section.
976
977 2001-04-16 Jes Sorensen <jes@linuxcare.com>
978
979 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
980 Add 16 longwords reserved for future use to match changes in the
981 kernel.
982
983 2001-07-03 Jes Sorensen <jes@trained-monkey.org>
984
985 * sysdeps/ia64/strncpy.S: Call strnlen() when determining the
986 string length rather than strlen(). Solves the performance problem
987 of doing strlen on a 5MB string when strncpy was called with a
988 length argument of 5 bytes.
989
990 2001-07-02 Jakub Jelinek <jakub@redhat.com>
991
992 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
993 R_SPARC_UA16 and R_SPARC_UA32.
994 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
995
996 2001-07-01 Stephen L Moshier <moshier@mediaone.net>
997
998 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl):
999 acosh(x) = ln(2x) if x > 2^30.
1000 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
1001 acosh(x) = ln(2x) if x > 2^54.
1002
1003 2001-07-07 Mark Kettenis <kettenis@gnu.org>
1004
1005 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal):
1006 Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and
1007 KERN_WRITE_PROTECTION_FAILURE.
1008
1009 2001-07-07 Ulrich Drepper <drepper@redhat.com>
1010
1011 * posix/regex.c: Limit string length printed in debug messages to
1012 100 chars.
1013
1014 * configure.in: Don't warn about versioning if not on ELF system.
1015
1016 2001-07-07 Andreas Jaeger <aj@suse.de>
1017
1018 * sysdeps/*: Put files from GNU MP Library under LGPL v2.1.
1019
1020 2001-07-06 Ulrich Drepper <drepper@redhat.com>
1021
1022 * po/gl.po: Update from translation team.
1023
1024 2001-07-06 Andreas Jaeger <aj@suse.de>
1025
1026 * sysdeps/unix/sysv/linux/configure.in: Fix handling of
1027 sysconfdir.
1028
1029 * manual/libc-texinfo.sh: Add note for the FDL.
1030
1031 * manual/argp.texi (Argp Example 4): Fix texinfo warning.
1032
1033 * manual/libc.texinfo: Regenerated.
1034
1035 * manual/fdl.texi: Fix node.
1036
1037 * config.make.in (sysconfdir): Replace correctly.
1038 Closes PR libc/2369, reported by Peter Simons <simons@cryp.to>.
1039
1040 * sysdeps/unix/sysv/linux/alpha/configure.in: Removed, it's no
1041 longer needed.
1042
1043 * sysdeps/unix/sysv/linux/configure.in (libc_cv_linuxVER): Add
1044 case for alpha.
1045 Rework handling of missing linuxthreads add-on.
1046
1047 * configure.in: Remove unused sysconfdir substitution.
1048
1049 * manual/Makefile (texis): Add fdl.texi.
1050 * manual/fdl.texi: New.
1051 * manual/socket.texi (Host Names): Improve grammar, fix overflow hbox.
1052 * manual/libc.texinfo: Add fdl, update titlepage.
1053 Patches by Brian Youmans <3diff@gnu.org>.
1054
1055 * sysdeps/unix/make_errlist.c (main): Print LGPL v2.1 for
1056 generated file.
1057
1058 2001-07-06 Paul Eggert <eggert@twinsun.com>
1059
1060 * manual/argp.texi: Remove ignored LGPL copyright notice; it's
1061 not appropriate for documentation anyway.
1062 * manual/libc-texinfo.sh: "Library General Public License" ->
1063 "Lesser General Public License".
1064 * COPYING: Fix Y2k bug in sample copyright notices.
1065 * manual/lesser.texi: Renamed from manual/lgpl.texinfo,
1066 as fsf.org uses the name "lesser.texi".
1067 * manual/Makefile (texis): Follow rename.
1068
1069 2001-07-06 Andreas Jaeger <aj@suse.de>
1070
1071 * All files under GPL/LGPL version 2: Place under LGPL version
1072 2.1.
1073
1074 2001-07-05 Andreas Jaeger <aj@suse.de>
1075
1076 Synch with Linux 2.4.6:
1077 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
1078 New.
1079 (AF_BLUETOOTH): New.
1080
1081 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
1082 (PF_BLUETOOTH): New.
1083 (AF_BLUETOOTH): New.
1084
1085 * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
1086 (PF_BLUETOOTH): New.
1087
1088 * sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
1089 (PF_BLUETOOTH): New.
1090
1091 * sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
1092 (AF_BLUETOOTH): New.
1093
1094 * sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
1095 (AF_BLUETOOTH): New.
1096
1097 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.
1098
1099 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.
1100
1101 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.
1102
1103 * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
1104
1105 2001-07-04 Roland McGrath <roland@frob.com>
1106
1107 * hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended
1108 wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port
1109 rather than doing a mach_port_insert_right call first.
1110
1111 2001-06-26 Roland McGrath <roland@frob.com>
1112
1113 * hurd/hurdioctl.c: Include <string.h> for memcpy decl.
1114
1115 2001-07-03 Andreas Jaeger <aj@suse.de>
1116
1117 * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Remove check for
1118 crypt add-on.
1119
1120 2001-07-01 Mark Kettenis <kettenis@gnu.org>
1121
1122 * sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in
1123 the Hurd pfinet server, using equivalent code from the Linux
1124 version in sysdeps/unix/sysv/linux/if_index.c. In detail:
1125 Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and
1126 <hurd/pfinet.h>. Don't include <sys/mman.h> and <hurd/fsys.h>
1127 anymore.
1128 (if_nametoindex): New implementation using SIOCGIFINDEX.
1129 (if_freenameindex): Straight copy of the Linux version.
1130 (if_nameindex): New implementation based on pfinet_siocgifconf and
1131 SIOCGIFINDEX.
1132 (if_indextoname): New implementation using SIOCGIFNAME.
1133 (map_interfaces): Function removed.
1134 From Marcus Brinkmann <marcus@gnu.org>.
1135
1136 2001-06-30 Jakub Jelinek <jakub@redhat.com>
1137
1138 * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
1139 gaps below main executable.
1140
1141 2001-06-19 Andreas Jaeger <aj@suse.de>
1142
1143 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
1144 Handle profiling.
1145
1146 2001-06-29 Andreas Jaeger <aj@suse.de>
1147
1148 * sysdeps/ieee754/ldbl-128/s_asinhl.c: New file.
1149 Patch by Stephen L Moshier <moshier@mediaone.net>.
1150
1151 2001-06-28 Ulrich Drepper <drepper@redhat.com>
1152
1153 * manual/argp.texi: Tons of cleanups.
1154 Patch by Clifford U. Smith <cuel@swbell.net>.
1155
1156 2001-06-28 Mark Kettenis <kettenis@gnu.org>
1157
1158 * manual/users.texi (Setting Groups): Correct initgroups
1159 documentation. Add documentation for getgrouplist.
1160
1161 2001-06-28 H.J. Lu <hjl@gnu.org>
1162
1163 * locale/findlocale.c (locale_file_list): Renamed to ...
1164 (_nl_locale_file_list): This. Make it extern.
1165 (free_mem): Move to ...
1166 * locale/setlocale.c (free_mem): Here.
1167
1168 2001-06-28 Mark Kettenis <kettenis@gnu.org>
1169
1170 * sysdeps/mach/hurd/read.c: Include <hurd/fd.h>.
1171 (__libc_read): Don't call __pread. Use _hurd_fd_read directly
1172 instead.
1173 * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>.
1174 (__libc_write): Don't call __pwrite. Use _hurd_fd_write directly
1175 instead.
1176
1177 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back
1178 -Wl,-soname option lost in 2001-06-16 change.
1179
1180 2001-06-27 Ulrich Drepper <drepper@redhat.com>
1181
1182 * posix/tst-regex.c: Pass REG_NEWLINE to regcomp. Add extra tests.
1183 Restrict printing of string in debug mode to 100 characters to make
1184 the output useful for long input texts.
1185
1186 * posix/Makefile: Add rules to build and run tst-regex.
1187
1188 2001-06-20 Isamu Hasegawa <isamu@yamato.ibm.com>
1189
1190 * posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers.
1191 (re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
1192 (wcs_re_match_2_internal): Check whether the wcs buffers need
1193 seting up or not, and skip seting up routin if not needed.
1194
1195 2001-06-26 Isamu Hasegawa <isamu@yamato.ibm.com>
1196
1197 * posix/regex.c (count_mbs_length): Use binary search for optimization.
1198
1199 2001-06-27 Ulrich Drepper <drepper@redhat.com>
1200
1201 * posix/tst-regex.c: Fix several bugs. Add more tests.
1202
1203 2001-06-26 Mark Kettenis <kettenis@gnu.org>
1204
1205 * hurd/Makefile (user-interfaces): Add pfinet.
1206 * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and
1207 <netinet/in.h>.
1208 (siocgifconf): New function. Register it with HURD_HANDLE_IOCTL
1209 as the handler for SIOCGIFCONF.
1210 * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and
1211 SIOCGIFFLAGS to be of IOC type ifreq_short. Modify SIOCSIFMETRIC
1212 and SIOCGIFMETRIC to be of IOC type ifreq_int. Add new macro
1213 definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and
1214 SIOCGIFNAME.
1215 From Marcus Brunkmann <marcus@gnu.org>.
1216
1217 2001-06-25 Ulrich Drepper <drepper@redhat.com>
1218
1219 * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
1220 and _IOT_ifreq_int. Patch by Mark Kettenis <kettenis@wins.uva.nl>.
1221
1222 * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
1223 _dl_catch_error calls.
1224
1225 2001-06-22 Jakub Jelinek <jakub@redhat.com>
1226
1227 * posix/regex.c (regex_compile, re_match_2_internal): Fix comment
1228 typos.
1229
1230 2001-06-01 Wolfram Gloger <wg@malloc.de>
1231
1232 * malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
1233 ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
1234 when malloc_atfork is in use.
1235
1236 2001-06-22 Andreas Jaeger <aj@suse.de>
1237
1238 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
1239 to avoid warnings.
1240
1241 * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
1242 variable.
1243 Add unused attributes to avoid warnings.
1244
1245 * elf/reldep4mod4.c: Add prototype to avoid warning.
1246 * elf/reldep4mod2.c: Likewise.
1247
1248 * sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for
1249 prototypes.
1250
1251 2001-06-18 Roland McGrath <roland@frob.com>
1252
1253 * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int.
1254
1255 2001-06-20 Alexandre Oliva <aoliva@redhat.com>
1256
1257 * sysdeps/unix/sysv/settimeofday.c: Include time.h.
1258
1259 2001-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
1260
1261 * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
1262
1263 2001-05-09 Michael Keezer <mkeezer@redhat.com>
1264
1265 * Makeconfig: Added AIX-ld support for DSO.
1266 * Makerules: Likewise.
1267 * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared.
1268 (defaultmod2.so): Likewise.
1269 * debug/Makefile: Conditionalize use of elf/ld.so.
1270 * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig.
1271
1272 * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c.
1273 * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) &
1274 (f/g)prrest(0/1) static only.
1275 * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0.
1276 * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but
1277 shared.
1278 * sysdeps/unix/sysv/aix/setitimer.c: New file.
1279 * sysdeps/unix/sysv/aix/sleep.c: New file.
1280 * sysdeps/unix/sysv/aix/usleep.c: New file.
1281 * sysdeps/unix/sysv/aix/dl-addr.c: New file.
1282 * sysdeps/unix/sysv/aix/dl-error.c: New file.
1283 * sysdeps/unix/sysv/aix/dl-support.c: New file.
1284 * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file.
1285
1286 2001-06-19 Ulrich Drepper <drepper@redhat.com>
1287
1288 * po/es.po: Update from translation team.
1289
1290 2001-06-19 Andreas Jaeger <aj@suse.de>
1291
1292 * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file.
1293
1294 * math/libm-test.inc (tanh_test): Test for 2^-56.
1295
1296 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result
1297 equals argument when x < 2^-55.
1298 Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1299
1300 2001-06-17 Alan Modra <amodra@bigpond.net.au>
1301
1302 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Handle relocs
1303 at unaligned address.
1304
1305 2001-06-18 Ulrich Drepper <drepper@redhat.com>
1306
1307 * posix/regex.c: Reorganize code to build code twice, once for single
1308 byte, once for multi-byte charsets. Choose function set adequate for
1309 locale at runtime.
1310 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
1311
1312 * po/nl.po: Update from translation team.
1313
1314 2001-06-09 Bruno Haible <haible@clisp.cons.org>
1315
1316 * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
1317 (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
1318 * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.
1319
1320 2001-05-26 Bruno Haible <haible@clisp.cons.org>
1321
1322 * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap.
1323 * manual/charset.texi: Write Shift_JIS, not Shift-JIS.
1324
1325 2001-06-17 Roland McGrath <roland@frob.com>
1326
1327 * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,
1328 not LIO_READ + 1 (which is the value of LIO_WRITE!).
1329
1330 * Makerules (build-module-helper-objlist): New variable,
1331 broken out of build-module. Insert --whole-archive/--no-whole-archive
1332 immediately each *_pic.a file in the link object list.
1333 (whole-archive): New variable, used by that.
1334 (build-module-objlist): New variable using build-module-helper-objlist.
1335 (build-module, build-module-helper): Use it.
1336 (build-shlib-objlist): New variable using build-module-helper-objlist.
1337 (build-shlib): Use that.
1338 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
1339
1340 * posix/spawni.c: Moved to ...
1341 * sysdeps/posix/spawni.c: ... here.
1342 * sysdeps/generic/spawni.c: New file.
1343
1344 2001-06-16 Roland McGrath <roland@frob.com>
1345
1346 * hurd/Makefile (routines): Add lookup-retry.
1347 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
1348 * hurd/lookup-retry.c: ... into here, new file.
1349 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
1350 using of duplicate code here.
1351
1352 * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
1353
1354 2001-06-17 Ulrich Drepper <drepper@redhat.com>
1355
1356 * po/ja.po: Update from translation team.
1357
1358 2001-06-04 Bruno Haible <haible@clisp.cons.org>
1359
1360 * locale/programs/locfile.c (siblings_uncached, siblings, full_read,
1361 compare_files): New functions.
1362 (write_locale_data): Use xmalloc. Compare the file with the locale
1363 data files for the same category in other locales, and reuse it if
1364 possible and safe.
1365
1366 2001-06-07 Mark Kettenis <kettenis@gnu.org>
1367
1368 * grp/initgroups.c (initgroups): Factor out re-usable code into...
1369 (internal_getgrouplist): ... new function.
1370 (getgrouplist): New function.
1371 * grp/grp.h (getgrouplist): New prototype.
1372 * grp/Versions [2.2.4]: Add getgrouplist.
1373
1374 2001-06-16 Ulrich Drepper <drepper@redhat.com>
1375
1376 * inet/netinet/ip6.h: Fix comments in ip6_hdr.
1377 Patch by Pekka Savola <pekkas@netcore.fi>.
1378
1379 2001-06-15 Roland McGrath <roland@frob.com>
1380
1381 * rt/Makefile (aio-routines, clock-routines, timer-routines): New
1382 variables, broken out of librt-routines.
1383 (librt-routines): Set using those.
1384 (extra-libs, extra-libc-others, tests): Set these unconditionally.
1385 (distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
1386 * sysdeps/generic/aio_fsync.c: New file.
1387 * sysdeps/generic/aio_misc.c: New file.
1388 * sysdeps/generic/aio_write.c: New file.
1389 * sysdeps/generic/aio_write64.c: New file.
1390 * sysdeps/generic/aio_read64.c: New file.
1391 * sysdeps/generic/aio_read.c: New file.
1392 * sysdeps/generic/aio_notify.c: New file.
1393 * sysdeps/generic/lio_listio64.c: New file.
1394 * sysdeps/generic/lio_listio.c: New file.
1395 * sysdeps/generic/aio_cancel.c: New file.
1396 * sysdeps/generic/aio_misc.h: New file.
1397 * sysdeps/generic/aio_suspend.c: New file.
1398 * rt/aio_cancel.c: Moved to ...
1399 * sysdeps/pthread/aio_cancel.c: ... here.
1400 * rt/aio_fsync.c: Moved to ...
1401 * sysdeps/pthread/aio_fsync.c: ... here.
1402 * rt/aio_misc.c: Moved to ...
1403 * sysdeps/pthread/aio_misc.c: ... here.
1404 * rt/aio_misc.h: Moved to ...
1405 * sysdeps/pthread/aio_misc.h: ... here.
1406 * rt/aio_notify.c: Moved to ...
1407 * sysdeps/pthread/aio_notify.c: ... here.
1408 * rt/aio_read.c: Moved to ...
1409 * sysdeps/pthread/aio_read.c: ... here.
1410 * rt/aio_read64.c: Moved to ...
1411 * sysdeps/pthread/aio_read64.c: ... here.
1412 * rt/aio_suspend.c: Moved to ...
1413 * sysdeps/pthread/aio_suspend.c: ... here.
1414 * rt/aio_write.c: Moved to ...
1415 * sysdeps/pthread/aio_write.c: ... here.
1416 * rt/aio_write64.c: Moved to ...
1417 * sysdeps/pthread/aio_write64.c: ... here.
1418 * rt/lio_listio.c: Moved to ...
1419 * sysdeps/pthread/lio_listio.c: ... here.
1420 * rt/lio_listio64.c: Moved to ...
1421 * sysdeps/pthread/lio_listio64.c: ... here.
1422
1423 2001-06-14 Roland McGrath <roland@frob.com>
1424
1425 * configure.in: Let sysdeps Implies files in add-ons bring in
1426 sysdeps directories from the main source and other add-ons too.
1427
1428 2001-06-15 Jakub Jelinek <jakub@redhat.com>
1429
1430 * math/test-misc.c (main): Add tests for nextafter and nexttoward
1431 with +-Inf as second argument.
1432
1433 * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
1434 NaN, not Inf.
1435 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
1436 * sysdeps/i386/fpu/s_nexttoward.c: New.
1437 * sysdeps/i386/fpu/s_nexttowardf.c: New.
1438 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
1439 check for NaN, optimize x==+-0 handling.
1440 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
1441 * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
1442 check for NaN, fix sign in x==+-0 case.
1443 * sysdeps/ia64/fpu/s_nexttoward.c: New.
1444 * sysdeps/ia64/fpu/s_nexttowardf.c: New.
1445
1446 2001-06-15 H.J. Lu <hjl@gnu.org>
1447
1448 * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
1449 * rt/tst-aio3.c (do_test): Likewise.
1450 * rt/tst-aio4.c (do_test): Likewise.
1451 * rt/tst-aio5.c (do_test): Likewise.
1452 * rt/tst-aio6.c (do_test): Likewise.
1453
1454 2001-06-15 Andreas Schwab <schwab@suse.de>
1455
1456 * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
1457 * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
1458
1459 2001-06-15 Andreas Jaeger <aj@suse.de>
1460
1461 * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning.
1462
1463 2001-06-14 Andreas Schwab <schwab@suse.de>
1464
1465 * elf/ldconfig.c (search_dir): Fix check for regular file.
1466
1467 * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
1468 * sysdeps/m68k/fpu/e_log2l.c: Fix typo.
1469
1470 2001-06-14 Roland McGrath <roland@frob.com>
1471
1472 * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
1473 (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
1474
1475 2001-06-13 Roland McGrath <roland@frob.com>
1476
1477 * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
1478
1479 * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
1480 so the label is not considered unused.
1481
1482 * sysdeps/mach/hurd/pwrite64.c: New file.
1483 * sysdeps/mach/hurd/pread64.c: New file.
1484
1485 * sysdeps/mach/hurd/pread.c
1486 (__libc_pread): Define this name, with __pread as an alias.
1487 * sysdeps/mach/hurd/pwrite.c
1488 (__libc_pwrite): Define this name, with __pwrite as an alias.
1489
1490 Implement POSIX "shared memory objects" as regular
1491 files residing in the /var/run/shm/ directory.
1492 This works on any system that supports _POSIX_MAPPED_FILES,
1493 to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
1494 * sysdeps/posix/shm_open.c: New file.
1495 * sysdeps/posix/shm_unlink.c: New file.
1496 * sysdeps/mach/hurd/bits/posix_opt.h
1497 (_POSIX_SHARED_MEMORY_OBJECTS): Define it.
1498
1499 * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
1500 Use raise instead of __aio_sigqueue.
1501
1502 * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
1503 * sysdeps/mach/hurd/pwrite.c: Likewise.
1504
1505 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
1506 [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
1507 as default version set.
1508
1509 2001-06-13 Ulrich Drepper <drepper@redhat.com>
1510
1511 * libio/iolibio.h (_IO_freopen): Correct last parameter to
1512 _IO_file_open.
1513 (_IO_freopen64): Likewise.
1514 Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].
1515
1516 * elf/elf.h: Add a few more EM_* constants.
1517
1518 2001-06-12 Bruno Haible <haible@clisp.cons.org>
1519
1520 * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.
1521
1522 2001-06-09 Ben Collins <bcollins@debian.org>
1523
1524 * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
1525 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1526 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1527 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1528 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1529 * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
1530 hardcoded B400000.
1531
1532 2001-06-13 Ulrich Drepper <drepper@redhat.com>
1533
1534 * time/sys/time.h: Don't use enum __itimer_which ever for
1535 __itimer_which_t for C++.
1536 Reported by Martin Buchholz <martin@xemacs.org>.
1537
1538 * po/fr.po: Update from translation team.
1539
1540 2001-06-12 H.J. Lu <hjl@gnu.org>
1541
1542 * configure.in: Fix typos in missing program names.
1543 * configure: Regenerated.
1544
1545 2001-06-12 Andreas Jaeger <aj@suse.de>
1546
1547 * iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
1548
1549 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
1550
1551 2001-06-11 Andreas Jaeger <aj@suse.de>
1552
1553 * sysdeps/ieee754/ldbl-128/e_coshl.c: New file. Contributed by
1554 Stephen L Moshier <moshier@mediaone.net>.
1555
1556 * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
1557
1558 * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
1559 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1560
1561 2001-06-11 Michael Deutschmann <michael@talamasca.ocis.net>
1562
1563 * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
1564 Use my_signo instead of MY_SIGNO and initialize it so that the
1565 used signal is always available.
1566
1567 2001-06-11 Andreas Jaeger <aj@suse.de>,
1568 Michael Deutschmann <michael@talamasca.ocis.net>
1569
1570 * io/test-lfs.c (do_prepare): Clean up error messages.
1571 (test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
1572 (do_test): Likewise.
1573
1574 2001-06-11 Andreas Jaeger <aj@suse.de>
1575
1576 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
1577 IMAXBEL): Make always visible since they're needed by POSIX.
1578 Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
1579
1580 2001-06-10 Ben Collins <bcollins@debian.org>
1581
1582 * sysdeps/arm/elf/start.S: Use #function, not @function, for
1583 .type of _start.
1584
1585 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
1586 INT_MAX.
1587
1588 2001-06-07 H.J. Lu <hjl@gnu.org>
1589
1590 * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
1591
1592 2001-06-10 Roland McGrath <roland@frob.com>
1593
1594 * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
1595 * elf/reldep4mod4.c: Likewise.
1596
1597 2001-06-10 Mark Kettenis <kettenis@gnu.org>
1598
1599 * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
1600
1601 2001-06-08 Andreas Schwab <schwab@suse.de>
1602
1603 * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
1604 Don't dereference at end of string.
1605
1606 2001-06-06 Roland McGrath <roland@frob.com>
1607
1608 * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
1609 From Robert Bihlmeyer <robbe@orcus.priv.at>.
1610
1611 2001-06-06 Ulrich Drepper <drepper@redhat.com>
1612
1613 * po/ko.po: Update from translation team.
1614
1615 2001-06-06 Andreas Jaeger <aj@suse.de>
1616
1617 * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
1618 offset+length-1.
1619 Reported by Robert Bernecky <bernecky@acm.org>.
1620
1621 2001-06-06 Jakub Jelinek <jakub@redhat.com>
1622
1623 * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
1624 * sysdeps/ia64/elf/start.S: Likewise.
1625 * sysdeps/sh/elf/start.S: Likewise.
1626 * sysdeps/s390/s390-32/elf/start.S: Likewise.
1627 * sysdeps/s390/s390-64/elf/start.S: Likewise.
1628
1629 2001-06-05 Matthew Wilcox <willy@ldl.fc.hp.com>
1630
1631 * sysdeps/hppa/bsd-_setjmp.S: New.
1632 * sysdeps/hppa/bsd-setjmp.S: New.
1633
1634 * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
1635 gcc warnings about multi-line strings.
1636
1637 * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
1638 * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
1639
1640 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
1641 setrlimit directly instead of using wrappers.
1642
1643 2001-05-01 Richard Hirst <rhirst@linuxcare.com>
1644
1645 * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
1646 * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
1647
1648 2001-06-05 Philipp Thomas <pthomas@suse.de>
1649
1650 * nis/nis_call.c (__nisbind_connect): Don't mark for translation
1651 what can't be translated.
1652
1653 2001-06-06 Ulrich Drepper <drepper@redhat.com>
1654
1655 * timezone/zic.c: Update from tzcode2001c.
1656 * timezone/private.h: Likewise.
1657 * timezone/africa: Update from tzdata2001c.
1658 * timezone/asia: Likewise.
1659 * timezone/europe: Likewise.
1660 * timezone/northamerica: Likewise.
1661 * timezone/southamerica: Likewise.
1662 * timezone/zone.tab: Likewise.
1663
1664 2001-06-04 Bruno Haible <haible@clisp.cons.org>
1665
1666 * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
1667 * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
1668 UNICODE_TAG_HANDLER.
1669 (__gconv_transform_internal_ucs2): Likewise.
1670 (__gconv_transform_internal_ucs2reverse): Likewise.
1671 * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
1672 * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
1673 * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
1674 * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
1675 * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
1676 * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
1677 * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
1678 * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
1679 * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
1680 * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
1681 * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
1682 * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
1683 * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
1684 * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
1685 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
1686 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
1687 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
1688 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
1689 * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
1690 * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
1691 * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
1692 * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
1693 * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
1694 * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
1695 * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
1696 * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
1697 * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
1698 * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
1699 * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
1700 * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
1701 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
1702 * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
1703 TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
1704 TAG_language_zh, CURRENT_TAG_MASK): New enum values.
1705 (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
1706 is already selected but set2 or tag are set.
1707 (conversion): New enum type.
1708 (cvlist_t): New type.
1709 (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
1710 (conversion_lists): New array.
1711 (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag. If "ja",
1712 prefer conversion to Japanese character sets. If "zh", prefer
1713 conversion to GB2312. If "ko", prefer conversion to KSC5601. Small
1714 optimizations.
1715 (INIT_PARAMS): Add tag.
1716 (UPDATE_PARAMS): Add tag.
1717
1718 2001-06-04 Bruno Haible <haible@clisp.cons.org>
1719
1720 * locale/programs/locfile.c (write_locale_data): Before creat(),
1721 unlink the file, to avoid crashing the processes that mmap it. Change
1722 a double slash to a single slash. Free fname in case of error return.
1723
1724 2001-06-02 Jakub Jelinek <jakub@redhat.com>
1725
1726 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
1727 changes, do the special handling for denormal numbers, not for
1728 normalized numbers (patch by <trevin@xmission.com>).
1729
1730 * math/test-misc.c (main): Test frexpl with denormal arguments.
1731
1732 2001-06-04 Jakub Jelinek <jakub@redhat.com>
1733
1734 * math/libm-test.inc (llround_test): Add two new llround tests.
1735 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
1736 overflow when rounding away from zero.
1737
1738 2001-06-04 Jakub Jelinek <jakub@redhat.com>
1739
1740 * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
1741 * math/math_private.h (__ieee754_log2, __ieee754_log2f,
1742 __ieee754_log2l): New prototypes.
1743 * sysdeps/generic/w_log2.c: New file.
1744 * sysdeps/generic/w_log2f.c: New file.
1745 * sysdeps/generic/w_log2l.c: New file.
1746 * sysdeps/generic/s_log2l.c: Move...
1747 * sysdeps/generic/e_log2l.c: ...to here. Rename to __ieee754_log2l.
1748 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
1749 and log2(x < 0).
1750 * sysdeps/i386/fpu/s_log2.S: Move...
1751 * sysdeps/i386/fpu/e_log2.S: ...to here. Rename to __ieee754_log2.
1752 * sysdeps/i386/fpu/s_log2f.S: Move...
1753 * sysdeps/i386/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f.
1754 * sysdeps/i386/fpu/s_log2l.S: Move...
1755 * sysdeps/i386/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l.
1756 * sysdeps/m68k/fpu/s_log2.c: Move...
1757 * sysdeps/m68k/fpu/e_log2.c: ...to here. Rename to __ieee754_log2.
1758 * sysdeps/m68k/fpu/s_log2f.c: Move...
1759 * sysdeps/m68k/fpu/e_log2f.c: ...to here. Rename to __ieee754_log2f.
1760 * sysdeps/m68k/fpu/s_log2l.c: Move...
1761 * sysdeps/m68k/fpu/e_log2l.c: ...to here. Rename to __ieee754_log2l.
1762 * sysdeps/ieee754/dbl-64/s_log2.c: Move...
1763 * sysdeps/ieee754/dbl-64/e_log2.c: ...to here. Rename to
1764 __ieee754_log2.
1765 * sysdeps/ieee754/flt-32/s_log2f.c: Move...
1766 * sysdeps/ieee754/flt-32/e_log2f.c: ...to here. Rename to
1767 __ieee754_log2f.
1768
1769 2001-06-04 Jakub Jelinek <jakub@redhat.com>
1770
1771 * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
1772 even arguments which result in denormalized exp2 are accepted.
1773 (__exp2): Arguments equal to u_threshold already result into
1774 underflow.
1775 * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
1776 * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
1777 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
1778 low, with corrected lowmark use greaterequal, not greater.
1779 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1780
1781 2001-06-04 Jakub Jelinek <jakub@redhat.com>
1782
1783 * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
1784 * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
1785 * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
1786 * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
1787 * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
1788 * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
1789 * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
1790 * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
1791
1792 2001-06-04 Jakub Jelinek <jakub@redhat.com>
1793
1794 * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
1795 gave non-finite result instead of using constant in generic
1796 version.
1797 * sysdeps/generic/w_coshf.c (__coshf): Likewise.
1798 * sysdeps/generic/w_cosh.c (__cosh): Likewise.
1799 * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
1800 (__exp10): Test if finite argument gave non-finite result.
1801 * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
1802 Likewise.
1803 * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
1804 Likewise.
1805
1806 2001-06-04 Jakub Jelinek <jakub@redhat.com>
1807
1808 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
1809 overflow threshold constant (log(LDBL_MAX)+M_LN2l).
1810
1811 2001-05-29 Bruno Haible <haible@clisp.cons.org>
1812
1813 * locale/programs/ld-ctype.c (idx_table): New struct type.
1814 (idx_table_init, idx_table_get, idx_table_add): New functions.
1815 (MAX_CHARNAMES_IDX): Remove macro.
1816 (locale_ctype_t): Change type of charnames_idx field.
1817 (ctype_startup): Change initialization of charnames_idx field.
1818 (find_idx): Use idx_table_get and idx_table_add for speed.
1819
1820 * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
1821 computation of characters in a range.
1822
1823 2001-05-29 Bruno Haible <haible@clisp.cons.org>
1824
1825 * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
1826 <U03F5>.
1827 (__ucs_to_gb18030_tab1): Likewise.
1828 (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
1829 (BODY for TO_LOOP): Likewise.
1830 * iconvdata/tst-table-charmap.sh: Update for charmaps containing
1831 <U00xxxxxx> syntax.
1832 * iconvdata/tst-table-from.c (bmp_only): New variable.
1833 (utf8_decode): If bmp_only, don't return characters outside Unicode
1834 plane 0.
1835 (main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print
1836 a conversion line if utf8_decode returns NULL.
1837 * iconvdata/tst-table-to.c (main): When testing encodings other than
1838 UTF-8 and GB18030, loop upto U+30000 instead of U+10000. Use UTF-8
1839 instead of UCS-2 as input.
1840 * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
1841 of the charmap.
1842
1843 2001-05-29 Bruno Haible <haible@clisp.cons.org>
1844
1845 * iconvdata/cns11643l1.c: Update to Unicode 3.1.
1846 (__cns11643l1_to_ucs4_tab): Regenerated.
1847 (__cns11643l1_from_ucs4_tab12): Regenerated.
1848 * iconvdata/cns11643.c: Update to Unicode 3.1.
1849 (__cns11643l14_to_ucs4_tab): Remove array.
1850 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
1851 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
1852 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
1853 (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
1854 (__cns11643_from_ucs4p2_tab): New array.
1855 * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
1856 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
1857 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
1858 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
1859 (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
1860 (__cns11643_from_ucs4_tab): Remove declaration.
1861 (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
1862 declarations.
1863 (ucs4_to_cns11643): Update for new arrays. Treat U+3400..U+4DFF and
1864 U+20000..U+2A6D6.
1865 * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
1866 declaration.
1867 (__cns11643_from_ucs4p0_tab): New declaration.
1868 (ucs4_to_cns11643l2): Update for new arrays.
1869 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
1870 3 to 7.
1871 (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
1872 * iconvdata/EUC-TW.irreversible: New file.
1873 * iconvdata/tst-table.sh: Use it.
1874 * iconvdata/Makefile (distribute): Add CP1255.irreversible,
1875 CP1258.irreversible, EUC-TW.irreversible.
1876
1877 2001-05-29 Bruno Haible <haible@clisp.cons.org>
1878
1879 * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
1880 mathematical symbols.
1881
1882 2001-06-05 Andreas Jaeger <aj@suse.de>
1883
1884 * manual/stdio.texi (Portable Positioning): Fix description of
1885 fpos_t and fpos64_t.
1886
1887 2001-06-06 Ulrich Drepper <drepper@redhat.com>
1888
1889 * sysdeps/generic/wordexp.c: Undo last patch. Use strndupa instead.
1890
1891 * po/sk.po: Update from translation team.
1892
1893 2001-06-05 Andreas Jaeger <aj@suse.de>
1894
1895 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
1896 tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
1897 Closes PR libc/2315.
1898
1899 2001-06-05 Ulrich Drepper <drepper@redhat.com>
1900
1901 * sysdeps/generic/wordexp.c: Add missing free.
1902 Patch by yeti@physics.muni.cz.
1903
1904 2001-06-02 Tom Browder <tbrowder@home.com>
1905
1906 * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
1907 within bounds when lag > 0.
1908
1909 2001-06-05 Ulrich Drepper <drepper@redhat.com>
1910
1911 * po/tr.po: New file.
1912
1913 2001-06-05 Andreas Jaeger <aj@suse.de>
1914
1915 * manual/libm-err-tab.pl (parse_ulps): Fix typo.
1916
1917 2001-06-04 H.J. Lu <hjl@gnu.org>
1918
1919 * sysdeps/alpha/elf/start.S: Add .type for the entry point.
1920 * sysdeps/arm/elf/start.S: Likewise.
1921 * sysdeps/hppa/elf/start.S: Likewise.
1922 * sysdeps/i386/elf/start.S: Likewise.
1923 * sysdeps/m68k/elf/start.S: Likewise.
1924 * sysdeps/mips/elf/start.S: Likewise.
1925 * sysdeps/ia64/elf/start.S: Likewise.
1926 * sysdeps/sh/elf/start.S: Likewise.
1927 * sysdeps/s390/s390-32/elf/start.S: Likewise.
1928 * sysdeps/s390/s390-64/elf/start.S: Likewise.
1929 * sysdeps/cris/elf/start.S: Likewise.
1930
1931 2001-06-04 Bruce Mitchener <bruce@cubik.org>
1932
1933 * manual/resource.texi: Correct setpriority/nice documentation.
1934
1935 * sysdeps/unix/nice.c: Correct nice() implementation.
1936
1937 2001-06-04 Andreas Jaeger <aj@suse.de>
1938
1939 * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
1940 Stephen L Moshier <moshier@mediaone.net>.
1941
1942 2001-06-03 Roland McGrath <roland@frob.com>
1943
1944 * Makefile (postclean): Remove obsolete sysd-Makefile.
1945
1946 2001-06-01 Roland McGrath <roland@frob.com>
1947
1948 * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
1949 and use compat_symbol/versioned_symbol instead of plain
1950 symbol_version/default_symbol_version.
1951 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
1952 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
1953 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
1954 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
1955 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
1956 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
1957 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
1958 * sysdeps/arm/fpu/fegetenv.c: Likewise.
1959 * sysdeps/arm/fpu/fesetenv.c: Likewise.
1960 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
1961 * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
1962 * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
1963 * sysdeps/i386/fpu/fegetenv.c: Likewise.
1964 * sysdeps/i386/fpu/fesetenv.c: Likewise.
1965 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
1966 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
1967 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1968 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
1969 * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
1970 * sysdeps/m68k/fpu/fegetenv.c: Likewise.
1971 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
1972 * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
1973 * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
1974 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
1975 * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
1976 * sysdeps/powerpc/fclrexcpt.c: Likewise.
1977 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
1978 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1979 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1980 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
1981 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
1982 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
1983
1984 * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
1985 * iconvdata/iso-2022-cn-ext.c: Likewise.
1986
1987 2001-06-01 Andreas Jaeger <aj@suse.de>
1988
1989 * Versions.def: Add version 2.2.4.
1990
1991 2001-06-01 Ulrich Drepper <drepper@redhat.com>
1992
1993 * socket/Makefile (routines): Add sockatmark.
1994 * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
1995 * socket/sys/socket.h: Add prototype for sockatmark.
1996 * sysdeps/generic/sockatmark.c: New file.
1997 * sysdeps/unix/sockatmark.c: New file.
1998
1999 2001-06-01 Andreas Jaeger <aj@suse.de>
2000
2001 * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
2002 B4000000.
2003 (cfsetospeed): Likewise.
2004 Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
2005
2006 2001-05-31 Joseph S. Myers <jsm28@cam.ac.uk>
2007
2008 * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
2009
2010 2001-05-30 Martin Schwidefsky <schwidefsky@de.ibm.com>
2011
2012 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
2013 needs to have the same aligment as the kernel structure.
2014
2015 2001-05-29 Jakub Jelinek <jakub@redhat.com>
2016
2017 * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
2018 u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
2019 * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
2020 u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
2021 against multiple definition.
2022
2023 2001-05-30 Ulrich Drepper <drepper@redhat.com>
2024
2025 * po/da.po: Update from translation team.
2026
2027 2001-05-29 Andreas Jaeger <aj@suse.de>
2028
2029 * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
2030 Stephen L Moshier <moshier@mediaone.net>.
2031
2032 * math/libm-test.inc (sinh_test): Add new test case.
2033
2034 * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
2035 x when x < 2^-32.
2036 Patch by Stephen L Moshier <moshier@mediaone.net>.
2037
2038 2001-05-23 Andreas Jaeger <aj@suse.de>
2039
2040 * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
2041 * iconvdata/testdata/WINDOWS-1255..UTF8: this.
2042
2043 2001-05-27 Andreas Jaeger <aj@suse.de>
2044
2045 * manual/stdio.texi (String Streams): Fix fmemopen description.
2046 Reported by Michal Kochanowicz <michal@michal.waw.pl>.
2047
2048 2001-05-26 H.J. Lu <hjl@gnu.org>
2049
2050 * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
2051 to s_sigsuspend. Add s_mmap2.
2052
2053 * sysdeps/mips/atomicity.h: New file.
2054
2055 * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
2056
2057 * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
2058 back __key.
2059
2060 2001-05-25 Bruce Mitchener <bruce@cubik.org>
2061
2062 * manual/ctype.texi: Minor fix.
2063 * manual/install.texi: Likewise.
2064 * manual/startup.texi: Likewise.
2065 * manual/examples/dir.c: Use perror() rather than puts().
2066
2067 2001-05-25 David Mosberger <davidm@hpl.hp.com>
2068
2069 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
2070 #endif directive inside a comment to avoid compiler warnings.
2071
2072 2001-05-25 Philipp Thomas <pthomas@suse.de>
2073
2074 * nis/nis_print.c (nis_nstype2str): Don't mark names of
2075 naming services for translation, only UNKNOWN needs it.
2076 Add comment to prevent it for the future.
2077
2078 2001-05-25 Joseph S. Myers <jsm28@cam.ac.uk>
2079
2080 * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
2081 3.1 and non-GCC C99 compilers.
2082
2083 2001-05-22 David Mosberger <davidm@hpl.hp.com>
2084
2085 * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
2086 performance.
2087 * sysdeps/ia64/memcpy.S: Likewise.
2088
2089 * sysdeps/ia64/bcopy.S: New file.
2090
2091 * sysdeps/ia64/bzero.S: New file (derived from memset.S).
2092
2093 2001-05-26 Ulrich Drepper <drepper@redhat.com>
2094
2095 * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
2096
2097 2001-05-24 Ulrich Drepper <drepper@redhat.com>
2098
2099 * iconvdata/Makefile: Add rules for CP10007.
2100 * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
2101 * iconvdata/cp10007.c: New file.
2102 * iconvdata/tst-tables.sh: Add CP10007.
2103
2104 2001-05-23 kaz Kojima <kkojima@rr.iij4u.or.jp>
2105
2106 * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
2107 (_dl_runtime_profile): Likewise..
2108
2109 2001-05-23 Thorsten Kukuk <kukuk@suse.de>
2110
2111 * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
2112 * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
2113
2114 2001-05-19 H.J. Lu <hjl@gnu.org>
2115
2116 * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
2117 errstring of the failed DSO to _dl_signal_error ().
2118
2119 2001-05-23 Ulrich Drepper <drepper@redhat.com>
2120
2121 * iconvdata/gconv-modules: Add more aliases to enable use in
2122 locale names.
2123
2124 2001-05-23 Andreas Jaeger <aj@suse.de>
2125
2126 * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
2127 Remove, it's not used anywhere anymore.
2128 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
2129 (CFLAGS-initfini.s): Likewise.
2130 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
2131 (CFLAGS-initfini.s): Likewise.
2132 * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
2133 Likewise.
2134 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
2135 Likewise.
2136
2137 2001-05-21 Bruno Haible <haible@clisp.cons.org>
2138
2139 * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
2140 use 0 instead, and rely on the converter to do the flush.
2141 * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
2142 utf8_test.
2143 (utf8_test_2, utf8_test_3): New function.
2144 (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
2145
2146 2001-05-22 Jakub Jelinek <jakub@redhat.com>
2147
2148 * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
2149
2150 * elf/Makefile (distribute): Add reldep4mod[1234].c.
2151 (tests): Add reldep4.
2152 (modules-names): Add reldep4mod[1234].
2153 (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
2154 * elf/reldep4.c: New file.
2155 * elf/reldep4mod1.c: Likewise.
2156 * elf/reldep4mod2.c: Likewise.
2157 * elf/reldep4mod3.c: Likewise.
2158 * elf/reldep4mod4.c: Likewise.
2159
2160 2001-05-18 Jakub Jelinek <jakub@redhat.com>
2161
2162 * elf/dl-lookup.c (PROTECTED): Remove defines.
2163 (add_dependency): Mark it with internal_function.
2164 (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
2165 (_dl_lookup_symbol, _dl_lookup_symbol_skip,
2166 _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
2167 it if we don't want do_lookup* inlined.
2168
2169 2001-05-18 Jakub Jelinek <jakub@redhat.com>
2170
2171 * include/link.h (struct r_scope_elem): Remove r_duplist and
2172 r_nduplist fields.
2173 * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
2174 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
2175 r_duplist.
2176 (_dl_lookup_versioned_symbol_skip): Likewise.
2177 * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
2178 (_dl_map_object_deps): Don't compute duplicate list.
2179
2180 * elf/dl-symbol.c: Removed.
2181 * elf/Makefile (routines): Remove dl-symbol.
2182
2183 2001-05-22 Ulrich Drepper <drepper@redhat.com>
2184
2185 * po/el.po: Update from translation team.
2186 * po/sv.po: Likewise.
2187
2188 2001-05-20 Bruno Haible <haible@clisp.cons.org>
2189
2190 * iconvdata/cp1255.c: Completely rewritten.
2191 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
2192 * iconvdata/testdata/WINDOWS-1255: New file.
2193 * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
2194 * iconvdata/TESTS: Add WINDOWS-1255 test.
2195 * iconvdata/CP1255.irreversible: New file.
2196
2197 2001-05-20 Bruno Haible <haible@clisp.cons.org>
2198
2199 * iconvdata/cp1258.c: Completely rewritten.
2200 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
2201 * iconvdata/testdata/WINDOWS-1258: New file.
2202 * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
2203 * iconvdata/TESTS: Add WINDOWS-1258 test.
2204 * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
2205 the main call, and flush it afterwards.
2206 (utf8_decode): Return a string, possibly containing several Unicode
2207 characters.
2208 (main): Update all utf8_decode calls.
2209 * iconvdata/CP1258.irreversible: New file.
2210
2211 2001-05-20 Bruno Haible <haible@clisp.cons.org>
2212
2213 * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
2214 * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2. In the
2215 first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
2216 EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
2217 the next step. In the second case, clear the state without calling
2218 EMIT_SHIFT_TO_INIT.
2219 * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
2220 data->__outbuf, and outend instead of data->__outbufend.
2221 * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
2222 * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
2223 * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
2224 * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
2225 * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
2226 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
2227 * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
2228 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
2229 * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
2230
2231 2001-05-21 Jakub Jelinek <jakub@redhat.com>
2232
2233 * elf/rtld.c (dl_main): Compute l_map_end for the main program.
2234 * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
2235 If match == _dl_loaded, caller can still come from the main program.
2236 (_dl_vsym): Likewise.
2237 * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
2238 * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
2239 * elf/restest2.c: New test.
2240 * elf/Makefile (tests): Add restest2.
2241 (restest2, LDFLAGS-restest2): Add rules.
2242
2243 2001-05-22 Ulrich Drepper <drepper@redhat.com>
2244
2245 * intl/Makefile: Add a few more dependencies to avoid races in the
2246 test shell scripts.
2247
2248 2001-05-22 Andreas Jaeger <aj@suse.de>
2249
2250 * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
2251 Stephen L Moshier <moshier@mediaone.net>.
2252
2253 2001-05-22 Martin Schwidefsky <schwidefsky@de.ibm.com>
2254
2255 * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
2256 return addresses instead of the stack pointers.
2257 * sysdeps/s390/s390-64/backtrace.c: Likewise.
2258
2259 2001-05-21 Jakub Jelinek <jakub@redhat.com>
2260
2261 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
2262 bits/sigcontext.h instead of bits/sigstack.h.
2263 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
2264 multiple-inclusion guards.
2265
2266 2001-05-21 Andreas Jaeger <aj@suse.de>
2267
2268 * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
2269 Patch by Philipp Thomas <pthomas@suse.de>.
2270
2271 2001-05-17 Bruce Mitchener <bruce@cubik.org>
2272
2273 * manual/arpg.texi: Spelling, misc fixes.
2274 * manual/arith.texi: Likewise.
2275 * manual/crypt.texi: Likewise.
2276 * manual/debug.texi: Likewise.
2277 * manual/getopt.texi: Likewise.
2278 * manual/intro.texi: Likewise.
2279 * manual/memory.texi: Likewise.
2280 * manual/nss.texi: Likewise.
2281 * manual/pattern.texi: Likewise.
2282 * manual/process.texi: Likewise.
2283 * manual/resource.texi: Likewise.
2284 * manual/search.texi: Likewise.
2285 * manual/setjmp.texi: Likewise.
2286 * manual/signal.texi: Likewise.
2287 * manual/socket.texi: Likewise.
2288 * manual/stdio.texi: Likewise.
2289 * manual/string.texi: Likewise.
2290 * manual/sysinfo.texi: Likewise.
2291 * manual/terminal.texi: Likewise.
2292 * manual/llio.texi: Document madvise().
2293
2294 2001-05-20 Roland McGrath <roland@frob.com>
2295
2296 * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
2297 found within $(add-ons) directories too.
2298 [linuxthreads add-on]: Move variable settings for linuxthreads
2299 to new file linuxthreads/Makeconfig.
2300
2301 2001-05-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2302
2303 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
2304 Define for linux >= 2.4.5 on powerpc.
2305 (__ASSUME_MMAP2_SYSCALL): Likewise.
2306
2307 2001-05-19 Roland McGrath <roland@frob.com>
2308
2309 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
2310 result port when failing with ELOOP. Do the ELOOP check when
2311 following an absolute symlink target as well as relative.
2312 Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
2313
2314 2001-05-18 Andreas Jaeger <aj@suse.de>
2315
2316 * po/fr.po: Free software is "logiciel libre".
2317 Patch by Martin Michlmayr <tbm@cyrius.com>.
2318
2319 * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
2320 Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
2321
2322 2001-05-17 David Mosberger <davidm@hpl.hp.com>
2323
2324 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
2325
2326 2001-05-17 Ulrich Drepper <drepper@redhat.com>
2327
2328 * elf/dl-profile.c (_dl_mcount): Check whether state is
2329 GMON_PROF_ON before doing anything.
2330
2331 2001-05-17 H.J. Lu <hjl@gnu.org>
2332
2333 * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
2334
2335 2001-05-17 Ulrich Drepper <drepper@redhat.com>
2336
2337 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
2338 CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
2339 Reported by Mark Burton <markb@ordern.com>.
2340
2341 2001-05-17 Jakub Jelinek <jakub@redhat.com>
2342
2343 * elf/ldconfig.c (add_dir): Only warn about stat failure if
2344 opt_verbose.
2345 (search_dir): Likewise.
2346
2347 2001-05-17 Ulrich Drepper <drepper@redhat.com>
2348
2349 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
2350 parameter of xaddl. Patch by H . J . Lu <hjl@lucon.org>.
2351
2352 2001-05-14 Bruno Haible <haible@clisp.cons.org>
2353
2354 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
2355 without previous announcement, reject it regularly, don't abort.
2356
2357 2001-05-16 Ulrich Drepper <drepper@redhat.com>
2358
2359 * math/tgmath.h: Fix handling of int parameters to binary and
2360 ternary functions. Reported by mitr@volny.cz.
2361
2362 * math/test-tgmath.c: Add tests for calls with integer parameters.
2363
2364 2001-05-15 Jakub Jelinek <jakub@redhat.com>
2365
2366 * sunrpc/rpc_thread.c (rpc_default): Remove.
2367 (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
2368 rpc_default.
2369 (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
2370 __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
2371 * sunrpc/auth_none.c (authnone_private): Fix a typo.
2372
2373 2001-05-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
2374
2375 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
2376
2377 2001-05-16 Bruce Mitchener <bruce@cubik.org>
2378
2379 * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
2380
2381 2001-05-15 Andreas Jaeger <aj@suse.de>
2382
2383 * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
2384 Stephen L Moshier <moshier@mediaone.net>.
2385
2386 * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
2387
2388 * math/libm-test.inc: Add comment with ToDo.
2389
2390 * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
2391 accurate algorithm. Patch by Stephen L Moshier <moshier@mediaone.net>.
2392
2393 * sysdeps/i386/fpu/e_expl.S: Removed.
2394
2395 2001-05-14 Roland McGrath <roland@frob.com>
2396
2397 * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
2398 static pattern rule also that also covers
2399 $(objpx)g$(static-start-installed-name).
2400 [$(start-installed-name) != $(static-start-installed-name)]
2401 (extra-objs, omit-deps, install-lib): Add
2402 $(static-start-installed-name) and g$(static-start-installed-name).
2403 * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
2404 just setting static-start-installed-name is now sufficient.
2405 (extra-objs): Add static-start.o here.
2406 (CFLAGS-initfini.s): Remove obsolete variable.
2407 * sysdeps/mach/hurd/i386/Makeconfig: New file.
2408 Define static-start-installed-name here.
2409
2410 * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
2411 * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
2412
2413 * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
2414 associated hair. Instead, just use $(wildcard ...) in the include.
2415
2416 * configure.in (critic_missing, aux_missing): Collect in these vars
2417 the names of the missing programs, and include them in the error msgs.
2418 * configure: Regenerated.
2419
2420 2001-05-14 Andreas Jaeger <aj@suse.de>
2421
2422 * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
2423
2424 * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
2425
2426 2001-05-14 Stephen L Moshier <moshier@mediaone.net>
2427
2428 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
2429
2430 2001-05-11 Jakub Jelinek <jakub@redhat.com>
2431
2432 * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
2433 as well if swapping strings.
2434 Make sure stop is not past end of second string.
2435 * posix/bug-regex4.c: New test.
2436 * posix/Makefile (tests): Add bug-regex4.
2437
2438 2001-05-10 Andreas Jaeger <aj@suse.de>
2439
2440 * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
2441 requirement.
2442
2443 2001-05-12 Andreas Jaeger <aj@suse.de>
2444
2445 * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
2446 internal prototypes.
2447 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2448 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2449 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2450 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2451 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2452 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2453 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2454
2455 * math/math_private.h: Add prototypes for internal functions of
2456 the IBM Accurate Mathematical Library.
2457
2458 * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
2459 prototypes.
2460 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2461
2462 * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
2463 internal prototypes.
2464 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2465 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2466 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2467 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2468 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2469 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2470 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2471 * sysdeps/generic/e_rem_pio2l.c: Likewise.
2472 (__ieee754_rem_pio2l): Fix prototype.
2473
2474 * math/math_private.h (__copysign): Add internal prototype.
2475
2476 2001-05-11 Andreas Jaeger <aj@suse.de>
2477
2478 * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
2479 * sysdeps/unix/sysv/linux/mips/configure.in: ...here. New file.
2480
2481 2001-05-11 Andreas Jaeger <aj@suse.de>
2482
2483 * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
2484 MIPS.
2485
2486 * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
2487 format directive. Patch by Steven J. Hill <sjhill@cotw.com>.
2488
2489 2001-05-11 Roland McGrath <roland@frob.com>
2490
2491 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
2492 $(build-module) here, since we don't need the full magilla.
2493 Just use $(build-module-helper) and append our special options.
2494
2495 2001-05-09 Andreas Schwab <schwab@suse.de>
2496
2497 * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
2498 reached EOF.
2499
2500 2001-05-07 H.J. Lu <hjl@gnu.org>
2501
2502 * elf/ldconfig.c (dir_entry): Add ino and dev.
2503 (add_single_dir): Compare ino and dev to check if 2 directory
2504 paths are the same or not. Free entry->path for duplicates.
2505 (add_dir): Initialize ino and dev for entry.
2506 (search_dir): Handle symlink to directory.
2507
2508 2001-05-07 Andreas Jaeger <aj@suse.de>
2509
2510 * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
2511
2512 * math/libm-test.inc (exp_test): Add some more tests.
2513 (pow_test): Run double only test also for long double.
2514
2515 * math/test-ldouble.c (TEST_LDOUBLE): Define.
2516 * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
2517
2518 * sysdeps/generic/bits/confname.h: Remove extra comma at end of
2519 enumeration.
2520 Closes PR libc/2240.
2521
2522 * scripts/config.guess: Imported from gnu.org.
2523 * scripts/config.sub: Likewise.
2524
2525 2001-05-05 Jakub Jelinek <jakub@redhat.com>
2526
2527 * include/features.h (__USE_EXTERN_INLINES): Don't define if
2528 __NO_INLINE__ is defined.
2529 * ctype/ctype.h (tolower, toupper): Change the guard condition to
2530 __USE_EXTERN_INLINES check only.
2531 * stdlib/stdlib.h (strtod, ...): Likewise.
2532 * wcsmbs/wchar.h (mbrlen): Likewise.
2533 * string/string.h: Only include bits/string.h and bits/string2.h
2534 if __NO_INLINE__ is not defined.
2535
2536 2001-05-07 Andreas Jaeger <aj@suse.de>
2537
2538 * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
2539 of @LIBDIR@.
2540
2541 2001-05-04 H.J. Lu <hjl@gnu.org>
2542
2543 * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
2544 not @LIBDIR@.
2545
2546 2001-05-06 Andreas Jaeger <aj@suse.de>
2547
2548 * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
2549 * sysdeps/i386/fpu/e_fmodl.S: Removed.
2550 * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
2551 * sysdeps/i386/fpu/e_atan2l.S: Removed.
2552 * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
2553 * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
2554 * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
2555 * sysdeps/i386/fpu/e_acosl.S: Removed.
2556 * sysdeps/i386/fpu/s_atanl.S: Removed.
2557 * sysdeps/i386/fpu/e_sqrtl.S: Removed.
2558
2559 2001-05-05 Mark Kettenis <kettenis@gnu.org>
2560
2561 * sysdeps/mach/hurd/bits/environments.h: Add comment from
2562 sysdeps/generic/bits/environments.h. Define _POSIX_V6_* values.
2563
2564 2001-04-30 Jakub Jelinek <jakub@redhat.com>
2565
2566 * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
2567 that _CS_LFS_CFLAGS can fall through to the empty returned string
2568 case. Add FALLTHROUGH comment.
2569
2570 2001-04-29 Ralf Baechle <ralf@gnu.org>
2571
2572 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
2573 definitions match the kernel definitions.
2574 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
2575 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
2576
2577 2001-04-29 Ben Collins <bcollins@debian.org>
2578
2579 * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
2580 warnings.
2581 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
2582 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2583 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2584 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
2585 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
2586 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2587 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2588 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2589 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2590 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2591 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2592 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2593 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
2594 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2595 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
2596 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2597 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2598 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2599 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2600 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
2601 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
2602 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
2603 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2604
2605 2001-04-29 Andreas Schwab <schwab@suse.de>
2606
2607 * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
2608 in last change.
2609
2610 2001-04-29 Andreas Jaeger <aj@suse.de>
2611
2612 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2613 Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
2614
2615 * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
2616 Linux 2.4.4.
2617 (AF_WANPIPE): Likewise.
2618 (MSG_MORE): New.
2619
2620 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
2621 for Linux generic version.
2622 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
2623 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2624 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2625 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
2626
2627 * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
2628
2629 2001-04-27 Ulrich Drepper <drepper@redhat.com>
2630
2631 * nis/nss-nis.h: Correct test for invalid error number.
2632 * nis/nss-nisplus.h: Likewise.
2633
2634 * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
2635
2636 2001-04-26 Ulrich Drepper <drepper@redhat.com>
2637
2638 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
2639
2640 * string/strcoll.c: Fix two memory allocation problems.
2641 * string/Makefile (tests): Add bug-strcoll1.
2642 * string/bug-strcoll1.c: New file.
2643
2644 * malloc/mcheck.c (mcheck): Call malloc once before setting the
2645 hooks to allow the internal check hooks to be set up if necessary.
2646
2647 * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
2648 and rename to __yperr2nss_tab. Change YPERR_COUNT into variable
2649 __yperr2nss_count.
2650 * nis/nss-nis.c: New file.
2651 * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
2652 and rename to __niserr2nss_tab. Change NISERR_COUNT into variable
2653 __niserr2nss_count.
2654 * nis/nss-nisplus.c: New file.
2655 * nis/Makefile (libnss_compat-routines): Add nss-nis.
2656 (libnss_nis-routines): Likewise.
2657 (libnss_nisplus-routines): Add nss-nisplus.
2658
2659 * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
2660 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
2661 * nis/nss_nisplus/nisplus-grp.c: Likewise.
2662 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
2663 * nis/nss_nisplus/nisplus-network.c: Likewise.
2664 * nis/nss_nisplus/nisplus-proto.c: Likewise.
2665 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
2666 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
2667 * nis/nss_nisplus/nisplus-service.c: Likewise.
2668 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
2669 * nis/nss_nis/nis-alias.c: Likewise.
2670 * nis/nss_nis/nis-ethers.c: Likewise.
2671 * nis/nss_nis/nis-grp.c: Likewise.
2672 * nis/nss_nis/nis-network.c: Likewise.
2673 * nis/nss_nis/nis-proto.c: Likewise.
2674 * nis/nss_nis/nis-pwd.c: Likewise.
2675 * nis/nss_nis/nis-spwd.c: Likewise.
2676 * nis/nss_compat/compat-grp.c: Likewise.
2677 * nis/nss_compat/compat-initgroups.c: Likewise.
2678 * nis/nss_compat/compat-pwd.c: Likewise.
2679 * nis/nss_compat/compat-spwd.c: Likewise.
2680
2681 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
2682 optimizations. Patch by Jakub Jelinek <jakub@redhat.com>.
2683
2684 2001-04-26 Andreas Jaeger <aj@suse.de>
2685
2686 * po/zh_TW.po: Update.
2687 Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
2688
2689 2001-04-25 Ulrich Drepper <drepper@redhat.com>
2690
2691 * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
2692 compiler command line.
2693 * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
2694 command line for malloc.c.
2695
2696 2001-04-25 Jakub Jelinek <jakub@redhat.com>
2697
2698 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
2699 * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
2700 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
2701 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
2702 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here. Adjust
2703 struct msghdr for __WORDSIZE == 32.
2704 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
2705 * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust
2706 for __WORDSIZE == 32.
2707 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
2708 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
2709 file.
2710 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
2711 Rename from longjmp, make longjmp weak alias to it.
2712
2713 2001-04-24 David S. Miller <davem@redhat.com>
2714
2715 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
2716
2717 2001-04-25 Matthew Wilcox <willy@ldl.fc.hp.com>
2718
2719 * sysdeps/hppa/stackinfo.h: New file.
2720 * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
2721 * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
2722 * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
2723 * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
2724 of PA kernel features.
2725
2726 2001-04-25 Ulrich Drepper <drepper@redhat.com>
2727
2728 * locale/programs/localedef.c (main): Always set a file name for
2729 the initial locale.
2730 * locale/programs/locfile.c (locfile_read): filename is allowed to
2731 be NULL.
2732
2733 2001-04-12 Paul Bame <paul_bame@hp.com>
2734
2735 * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
2736 enable flags.
2737
2738 2001-04-24 Ulrich Drepper <drepper@redhat.com>
2739
2740 * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
2741 _XBS5_LPBIG_OFFBIG): Define to -1.
2742 Fix typos.
2743
2744 * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
2745 * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
2746 * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2747 * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2748
2749 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
2750 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
2751
2752 2001-03-21 Alan Modra <alan@one.net.au>
2753
2754 * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
2755 value from application so that constructors in non-PIC libs work.
2756
2757 2000-12-13 Jes Sorensen <jes@linuxcare.com>
2758
2759 * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
2760 function pointer, hence load the jump address and gp from the
2761 function pointer before jumping.
2762
2763 2001-04-24 Andreas Jaeger <aj@suse.de>
2764
2765 * sysdeps/generic/send.c (__send): Return ssize_t.
2766 * sysdeps/mach/hurd/send.c (__send): Likewise.
2767 * sysdeps/mach/hurd/recv.c (recv): Likewise.
2768 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
2769 * sysdeps/generic/sendto.c (sendto): Likewise.
2770 * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
2771 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
2772 * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
2773 * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
2774
2775 * socket/sys/socket.h: send* and recv* return ssize_t.
2776
2777 * include/sys/socket.h: send returns ssize_t.
2778
2779 * sysdeps/i386/fpu_control.h: Fix comments.
2780
2781 2001-04-24 Ulrich Drepper <drepper@redhat.com>
2782
2783 * sysdeps/ia64/Dist: Add hp-timing.c.
2784 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
2785 * posix/Makefile (distribute): Add tst-getconf.sh.
2786 * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
2787
2788 2001-04-23 Ulrich Drepper <drepper@redhat.com>
2789
2790 * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
2791 * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
2792 * sysdeps/ia64/hp-timing.c: New file.
2793 * sysdeps/ia64/hp-timing.h: New file.
2794 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
2795 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
2796
2797 * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
2798 using #ifdef whether the clock is available.
2799 * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
2800
2801 * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
2802 it into data section.
2803
2804 * sysdeps/unix/i386/i586/clock_getres.c: Removed.
2805 * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
2806 * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
2807 * sysdeps/unix/i386/i586/clock_settime.c: Removed.
2808 * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
2809 * sysdeps/generic/cpuclock-init.h: Removed.
2810 * sysdeps/unix/i386/i686/Implies: Removed.
2811 * sysdeps/unix/i386/i686/tempname.c: Removed.
2812 * sysdeps/i386/i686/Versions: New file.
2813 * sysdeps/unix/i386/i586/Versions: Removed.
2814
2815 * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
2816 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
2817 * sysdeps/unix/clock_gettime.c: Likewise.
2818 * sysdeps/unix/clock_nanosleep.c: Likewise.
2819 * sysdeps/unix/clock_settime.c: Likewise.
2820 * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
2821 RANDOM_BITS use CPU clock.
2822
2823 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
2824 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
2825 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
2826 * sysdeps/sparc/Versions: New file.
2827
2828 * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
2829 hp-timing.h definitions.
2830 * sysdeps/generic/dl-sysdep.c: Likewise.
2831
2832 * include/libc-internal.h: Include hp-timing.h. Use hp_timing_t in
2833 __get_clockfreq prototype.
2834
2835 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2836 Use hp_timing_t type.
2837 * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
2838
2839 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
2840
2841 * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
2842 whether named file is a regular file or a block device.
2843 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2844
2845 2001-04-23 Andreas Jaeger <aj@suse.de>
2846
2847 * nscd/nscd.h: Add noreturn attribute for start_threads.
2848
2849 2001-04-22 Ulrich Drepper <drepper@redhat.com>
2850
2851 * posix/getconf.c: Fix names of XBS5 LFS test variables.
2852 Add missing configuration variables from XPG6.
2853 * posix/tst-getconf.c: New file.
2854 * posix/Makefile (generated): Add tst-getconf.out.
2855 (tests): Add ($objpfx)tst-getconf.out.
2856 Add rule to run tst-getconf.sh.
2857 * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
2858 from XPG6.
2859 * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
2860 _PC_SYMLINK_MAX.
2861 * sysdeps/posix/pathconf.c: Likewise.
2862 * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
2863 and _SC_SYMLOOP_MAX.
2864
2865 2001-04-22 Philip Blundell <philb@gnu.org>
2866
2867 * sysdeps/arm/fpu/feenablxcpt.c: New file.
2868 * sysdeps/arm/fpu/fedisablxcpt.c: New file.
2869 * sysdeps/arm/fpu/fegetexcpt.c: New file.
2870
2871 2001-04-22 Philip Blundell <philb@gnu.org>
2872
2873 * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
2874 Renamed from struct user_fp.
2875 (struct user_regs): New.
2876 (struct user): Use struct user_regs rather than struct pt_regs to
2877 avoid dependency on asm/ptrace.h. Use struct user_fpregs in place
2878 of struct user_fp and struct user_fp_struct.
2879 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
2880 not sys/elf.h.
2881
2882 2001-04-22 Philip Blundell <philb@gnu.org>
2883
2884 * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
2885 sys/procfs.h, and tell the user to include that file instead.
2886 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
2887 surrounded with #if 0.
2888 (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
2889 from sys/elf.h.
2890 (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
2891 elf_fpregset_t respectively.
2892
2893 2001-04-22 Philip Blundell <philb@gnu.org>
2894
2895 * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
2896 address that faulted.
2897
2898 2001-04-21 Ulrich Drepper <drepper@redhat.com>
2899
2900 * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
2901 values.
2902 * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
2903 * posix/confstr.c: Handle _CS_POSIX_V6_* values.
2904 * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
2905 * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
2906
2907 * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
2908 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2909 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2910 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2911
2912 2001-04-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2913
2914 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
2915 offset.
2916
2917 2001-04-21 Ulrich Drepper <drepper@redhat.com>
2918
2919 * posix/getopt.h: Treat __cplusplus like __STDC__.
2920
2921 2001-04-20 John S. Marvin <jsm@fc.hp.com>
2922
2923 * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
2924 entry point stub.
2925
2926 2001-04-20 Richard Hirst <rhirst@linuxcare.com>
2927
2928 * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
2929 and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
2930
2931 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
2932 entry so the ptrace.c wrapper is used.
2933
2934 2001-04-20 Alan Modra <amodra@one.net.au>
2935
2936 * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
2937 (DL_FUNCTION_ADDRESS): Define.
2938 (DL_DT_INIT_ADDRESS): Define.
2939 (DL_DT_FINI_ADDRESS): Define.
2940 * sysdeps/hppa/Versions: Add _dl_function_address.
2941 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
2942 * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
2943 _dl_function_address.
2944
2945 2001-04-21 Andreas Jaeger <aj@suse.de>
2946
2947 * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
2948 * resolv/gai_misc.c (handle_requests): Likewise.
2949 * malloc/obstack.c (print_and_abort): Likewise.
2950 * malloc/mcheck.c (mabort): Likewise.
2951
2952 * sysdeps/unix/i386/i586/clock_settime.c: Include
2953 "libc-internal.h" for __get_clockfreq declaration.
2954
2955 2001-04-21 Ulrich Drepper <drepper@redhat.com>
2956
2957 * elf/dl-support.c: Include cpuclock-init.h. Use CPUCLOCK_VARDEF and
2958 CPUCLOCK_INIT if defined.
2959 * sysdeps/generic/dl-sysdep.c: Likewise.
2960 * sysdeps/generic/cpuclock-init.h: New file.
2961 * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
2962 * sysdeps/unix/i386/i586/Versions: New file.
2963 * sysdeps/unix/i386/i586/clock_settime.c: New file.
2964 * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
2965 separately by calling __pthread_clock_gettime if this function is
2966 available. Subtract offset from tsc value before computing time value.
2967
2968 2001-04-20 Ulrich Drepper <drepper@redhat.com>
2969
2970 * iconv/iconv_prog.c (print_known_names): If printing goes not to
2971 a tty print in a more machine-friendly way.
2972
2973 * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
2974 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2975
2976 2001-04-20 Andreas Jaeger <aj@suse.de>
2977
2978 * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
2979
2980 2001-04-20 Andreas Schwab <schwab@suse.de>
2981
2982 * sysdeps/m68k/fpu/libm-test-ulps: Update.
2983
2984 2001-04-19 Alan Modra <amodra@one.net.au>
2985
2986 * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
2987 * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
2988 (CFLAGS-.os): Remove.
2989
2990 * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
2991
2992 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
2993 gregset): Correct for new kernel definitions.
2994
2995 2001-04-19 Alan Modra <alan@linuxcare.com.au>
2996
2997 * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
2998 generate unwind info by hand.
2999
3000 2001-04-19 Ulrich Drepper <drepper@redhat.com>
3001
3002 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
3003
3004 * configure.in: Correct regular expression for msgfmt.
3005 Patch by Bruno Haible <haible@ilog.fr>.
3006
3007 2001-04-19 Andreas Jaeger <aj@suse.de>
3008
3009 * po/el.po: Add comment explaining what's broken.
3010
3011 * po/Makefile (BROKEN_LINGUAS): New.
3012 (ALL_LINGUAS): Don't add broken languages.
3013
3014 2001-04-19 Roland McGrath <roland@frob.com>
3015
3016 * sysdeps/mach/hurd/mlock.c: New file.
3017 * sysdeps/mach/hurd/munlock.c: New file.
3018 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
3019
3020 * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
3021 * sysdeps/generic/mlock.c: New file.
3022 * sysdeps/generic/munlock.c: New file.
3023 * sysdeps/generic/mlockall.c: New file.
3024 * sysdeps/generic/munlockall.c: New file.
3025 * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
3026 * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
3027 mlockall, munlockall): Change caller field to - from EXTRA.
3028 Don't use __ names; not used (and not declared in include/sys/mman.h).
3029
3030 * hurd/privports.c (__get_privileged_ports): Renamed with __.
3031 Use __ names for calls we make.
3032 (get_privileged_ports): Add alias.
3033 * hurd/hurd.h: Declare it with the __ name.
3034 * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
3035 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
3036 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
3037
3038 * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
3039 nothing if it's zero.
3040
3041 2001-04-19 Matthew Wilcox <willy@ldl.fc.hp.com>
3042
3043 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
3044 Change to return a signed result for compatibility with other
3045 architectures, and correctness.
3046
3047 2001-04-19 Ulrich Drepper <drepper@redhat.com>
3048
3049 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
3050 HPPA always had them. Patch by Matthew Wilcox <matthew@wil.cx>.
3051
3052 2001-04-19 Andreas Jaeger <aj@suse.de>
3053
3054 * configure.in: Require gettext 0.10.36 or newer.
3055
3056 * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
3057
3058 * po/zh_TW.po: Remove extraneous backslashes.
3059
3060 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
3061 variables b and n.
3062
3063 2001-04-18 Jakub Jelinek <jakub@redhat.com>
3064
3065 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
3066 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
3067 * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
3068 * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
3069 Copy first word of uc_sigmask into __uc_sigmask.
3070 * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
3071 Save uc_link around trap. Copy __uc_sigmask into first word of
3072 uc_sigmask, clear the rest. Make sure setcontext to the created
3073 context doesn't do this though.
3074 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
3075 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
3076 uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
3077 64bit version, make uc_sigmask __sigset_t in the 32bit version.
3078
3079 2001-04-19 Andreas Jaeger <aj@suse.de>
3080
3081 * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
3082
3083 * rt/Makefile (otherlibs): Added for static NSS.
3084
3085 * glibcbug.in (BUGGLIBC): Send to new alias.
3086
3087 2001-04-02 Andreas Schwab <schwab@suse.de>
3088
3089 * Makerules (build-module): Make sure exit codes get checked
3090 properly and remove unnecessary slashes.
3091
3092 2001-04-17 Ulrich Drepper <drepper@redhat.com>
3093
3094 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3095 Handle kernels which report only three digits after the decimal point.
3096 Reported by Van Okamura <van.okamura@oracle.com>.
3097
3098 * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
3099
3100 2001-04-17 David S. Miller <davem@redhat.com>
3101
3102 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
3103 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3104
3105 2001-04-17 Jakub Jelinek <jakub@redhat.com>
3106
3107 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
3108 desired exceptions are raised for exceptional values.
3109 * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
3110 cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
3111 clog_test, log_test, log1p_test, tan_test): Increase precision of
3112 expected values to satisfy ldbl-128.
3113 * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
3114 * sysdeps/arm/libm-test-ulps: Likewise.
3115 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3116 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3117 * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
3118 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
3119 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3120 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3121 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3122 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3123 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3124
3125 2001-04-17 Andreas Jaeger <aj@suse.de>
3126
3127 * configure.in: Move test for critical programs up.
3128
3129 2001-04-16 Stephen L Moshier <moshier@mediaone.net>
3130
3131 * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
3132 Correct the values.
3133 (pSx, qSx): Replace by shorter approximation.
3134 Use f suffix on float constants.
3135
3136 2001-04-16 Ulrich Drepper <drepper@redhat.com>
3137
3138 * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
3139 Contributed by Stephen L Moshier <moshier@mediaone.net>.
3140
3141 * string/string.h: Replace const in attribute list with __const__.
3142
3143 2001-04-16 Roland McGrath <roland@frob.com>
3144
3145 * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
3146 instead of the constant NGROUPS_MAX. That way, the limit can be
3147 raised in the kernel configuration without having to recompile libc.
3148
3149 * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
3150 define NGROUPS_MAX; we don't use it here.
3151
3152 2001-04-16 Andreas Jaeger <aj@suse.de>
3153
3154 * math/libm-test.inc (atan2_test): Add more testcases.
3155
3156 * iconv/gconv_db.c: Include gconv_charset.h for
3157 __gconv_lookup_alias prototype.
3158
3159 2001-04-13 Ulrich Drepper <drepper@redhat.com>
3160
3161 * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
3162 Contributed by Stephen L Moshier <moshier@mediaone.net>.
3163
3164 2001-04-13 Jes Sorensen <jes@linuxcare.com>
3165
3166 * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
3167
3168 2001-04-13 Jes Sorensen <jes@linuxcare.com>
3169
3170 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
3171 explicitly pad struct siginfo instead of relying on compiler padding.
3172
3173 2001-04-12 Ulrich Drepper <drepper@redhat.com>
3174
3175 * sysdeps/ia64/Dist: Add elf/entry.h.
3176
3177 * iconvdata/Makefile (distribute): Add TESTS2.
3178
3179 2001-04-13 Jakub Jelinek <jakub@redhat.com>
3180
3181 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
3182 Calculate load address differently.
3183
3184 2001-04-12 Bruno Haible <haible@clisp.cons.org>
3185
3186 * iconvdata/TESTS2: New file.
3187 * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
3188 * iconvdata/testdata/alfabeta..UTF-8: New file.
3189 * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
3190 * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
3191 * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
3192 * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
3193
3194 2001-04-11 Bruno Haible <haible@clisp.cons.org>
3195
3196 * iconvdata/utf-32.c: New file.
3197 * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
3198 * iconvdata/Makefile (modules): Add UTF-32.
3199 (distribute): Add utf-32.c.
3200
3201 2001-04-11 Bruno Haible <haible@clisp.cons.org>
3202
3203 * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
3204 changing it in the state. After incrementing 'inptr', store it back.
3205 * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
3206 store it back.
3207
3208 2001-04-11 Bruno Haible <haible@clisp.cons.org>
3209
3210 * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
3211 MIN_NEEDED_FROM.
3212
3213 2001-04-11 David Mosberger <davidm@hpl.hp.com>
3214
3215 * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
3216 * sysdeps/ia64/htons.S: Likewise.
3217
3218 * sysdeps/ia64/memset.S: Add unwind directives.
3219 * sysdeps/ia64/strncpy.S: Likewise.
3220 * sysdeps/ia64/strcat.S: Likewise.
3221
3222 * sysdeps/ia64/memccpy.S: Add unwind directives. Drop superfluous
3223 restore of ar.pfs.
3224 * sysdeps/ia64/strchr.S: Likewise.
3225 * sysdeps/ia64/memmove.S: Likewise.
3226 * sysdeps/ia64/memcpy.S: Likewise.
3227 * sysdeps/ia64/memcmp.S: Likewise.
3228 * sysdeps/ia64/memchr.S: Likewise.
3229 * sysdeps/ia64/strcmp.S: Likewise.
3230 * sysdeps/ia64/strlen.S: Likewise.
3231 * sysdeps/ia64/strcpy.S: Likewise.
3232 * sysdeps/ia64/strncmp.S: Likewise.
3233
3234 2001-04-11 Jakub Jelinek <jakub@redhat.com>
3235
3236 * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
3237 fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
3238 fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
3239 fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
3240
3241 2001-04-11 Andreas Jaeger <aj@suse.de>
3242
3243 * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
3244
3245 2001-04-11 Andreas Schwab <schwab@suse.de>
3246
3247 * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
3248
3249 2001-04-11 Ulrich Drepper <drepper@redhat.com>
3250
3251 * sysdeps/arm/stackinfo.h: New file.
3252
3253 2001-04-08 Thorsten Kukuk <kukuk@suse.de>
3254
3255 * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
3256 rpcgen to generate thread safe code.
3257
3258 2001-04-10 Andreas Jaeger <aj@suse.de>
3259
3260 * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
3261
3262 2001-04-10 Ulrich Drepper <drepper@redhat.com>
3263
3264 * elf/dl-minimal.c (__assert_fail): Change error string. It's
3265 most of the time no bug in ld.so.
3266 (__assert_perror_fail): Likewise.
3267
3268 2001-04-11 Hans-Peter Nilsson <hp@axis.com>
3269
3270 * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
3271 from struct to unsigned int.
3272
3273 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3274
3275 * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
3276 AT_IGNOREPPC): New defines.
3277 * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
3278 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
3279 Define for newer powerpc kernels.
3280 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
3281 DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
3282
3283 2000-4-10 kaz Kojima <kkojima@rr.iij4u.or.jp>
3284
3285 * sysdeps/sh/stackinfo.h: New file.
3286
3287 2001-04-10 Ulrich Drepper <drepper@redhat.com>
3288
3289 * locale/tst-C-locale.c (run_test): Add tests for locale objects.
3290 * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
3291 __ctype_tolower, and __ctype_toupper elements.
3292
3293 * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
3294 Reported by Konstantin Osipov <rabid@spylog.ru>.
3295
3296 * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
3297 the lousy AMD FPU.
3298
3299 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3300
3301 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
3302 * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
3303 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
3304 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
3305
3306 2001-04-10 Ulrich Drepper <drepper@redhat.com>
3307
3308 * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
3309 message. Based on a patch by HJ Lu.
3310
3311 2001-04-10 Andreas Schwab <schwab@suse.de>
3312
3313 * math/libm-test.inc (csinh_test): Don't require the invalid
3314 exception for csinh (x + iNaN), but make it optional.
3315
3316 2001-04-09 David Mosberger <davidm@hpl.hp.com>
3317
3318 * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
3319
3320 * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
3321 * sysdeps/ia64/elf/entry.h: New file.
3322 * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
3323 __start.
3324 * elf/rtld.c: Don't declare ENTRY_POINT. Use ENTRY_POINT instead
3325 of &ENTRY_POINT.
3326 * sysdeps/generic/dl-sysdep.c: Likewise.
3327 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3328 * sysdeps/ia64/elf/start.S: Save base address of register backing
3329 store in __libc_ia64_register_backing_store_base.
3330
3331 2001-04-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
3332
3333 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
3334 value of getcontext.
3335 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3336 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
3337 value of setcontext.
3338 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3339 * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
3340 call by changing the saved context.
3341
3342 2001-04-10 Ulrich Drepper <drepper@redhat.com>
3343
3344 * sysdeps/alpha/stackinfo.h: New file.
3345 * sysdeps/ia64/stackinfo.h: New file.
3346
3347 2001-04-10 Andreas Schwab <schwab@suse.de>
3348
3349 * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
3350 values.
3351 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
3352
3353 2001-04-09 Ulrich Drepper <drepper@redhat.com>
3354
3355 * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
3356 * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
3357
3358 * libio/Makefile (distribute): Add fd_to_filename.h.
3359
3360 2001-04-05 David S. Miller <davem@redhat.com>
3361
3362 Add hp-timing support for sparcv9/sparc64 targets.
3363 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
3364 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
3365 * sysdeps/sparc/sparc64/hp-timing.c: New file
3366 * sysdeps/sparc/sparc64/hp-timing.h: New file
3367 * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
3368 * sysdeps/sparc/sparc64/Makefile: Likewise.
3369
3370 2001-04-09 Jakub Jelinek <jakub@redhat.com>
3371
3372 * sysdeps/generic/fd_to_filename.h: New file.
3373 * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
3374 * libio/freopen.c (freopen): If FILENAME is NULL, try to get
3375 filename from the open file descriptor.
3376 * libio/freopen64.c (freopen64): Likewise.
3377
3378 2001-04-09 Bruno Haible <haible@clisp.cons.org>
3379
3380 * misc/error.c (error): fflush stdout also if
3381 error_print_progname != NULL.
3382 (error_at_line): Likewise.
3383
3384 2001-04-07 Bruno Haible <haible@clisp.cons.org>
3385
3386 * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
3387 (struct binding): Add codeset_cntr field.
3388 (_nl_load_domain): Add domainbinding argument.
3389 (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
3390 (_nl_find_msg): New declaration, moved here from loadinfo.h.
3391 * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
3392 (_nl_make_l10nflist): Remove domainbinding argument.
3393 (_nl_find_msg): Move declaration to gettextP.h.
3394 * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
3395 to 0. Increment it when ->codeset is changed.
3396 * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
3397 (_nl_find_msg): Add domainbinding argument. Reinitialize the converter
3398 if domainbinding->codeset_cntr has been incremented.
3399 * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
3400 _nl_make_l10nflist(). Pass it to _nl_load_domain() instead.
3401 * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
3402 * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
3403 from _nl_load_domain. Append //TRANSLIT also when using libiconv.
3404 (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
3405 (_nl_load_domain): Add domainbinding argument. Call
3406 _nl_init_domain_conv.
3407 (_nl_unload_domain): Call _nl_free_domain_conv.
3408 * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
3409 (test-srcs): Add tst-codeset.
3410 (tests): Depend on tst-codeset.out.
3411 (tst-codeset.out): New rule.
3412 (CFLAGS-tst-codeset.c): New variable.
3413 * intl/tst-codeset.sh: New file.
3414 * intl/tstcodeset.po: New file.
3415 * intl/tst-codeset.c: New file.
3416 * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
3417 calls.
3418
3419 2001-04-07 Roland McGrath <roland@frob.com>
3420
3421 * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
3422
3423 2001-03-31 Roland McGrath <roland@frob.com>
3424
3425 * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
3426 copying send rights into child. When we hit our name for our proc
3427 port, just copy NEWPROC directly instead of repeating proc_task2proc
3428 to install the child's port.
3429
3430 2001-04-08 Roland McGrath <roland@frob.com>
3431
3432 * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
3433 in second column, to provide default values for third column.
3434 * shlib-versions: Add comments about using DEFAULT in second column.
3435 (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
3436 (cris-.*-linux.*): Likewise.
3437
3438 2001-04-09 Ulrich Drepper <drepper@redhat.com>
3439
3440 * Makefile (distribute): Add scripts/documented.sh.
3441 * scripts/documented.sh: New file.
3442
3443 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3444
3445 * sysdeps/unix/sysv/linux/cris/Dist: New file.
3446 * sysdeps/unix/sysv/linux/cris/Makefile: New file.
3447 * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
3448 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
3449 * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
3450 * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
3451 * sysdeps/unix/sysv/linux/cris/brk.c: New file.
3452 * sysdeps/unix/sysv/linux/cris/chown.c: New file.
3453 * sysdeps/unix/sysv/linux/cris/clone.S: New file.
3454 * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
3455 * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
3456 * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
3457 * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
3458 * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
3459 * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
3460 * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
3461 * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
3462 * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
3463 * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
3464 * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
3465 * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
3466 * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
3467 * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
3468 * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
3469 * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
3470 * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
3471 * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
3472 * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
3473 * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
3474 * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
3475 * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
3476 * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
3477 * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
3478 * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
3479 * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
3480 * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
3481 * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
3482 * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
3483 * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
3484 * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
3485 * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
3486 * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
3487 * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
3488 * sysdeps/unix/sysv/linux/cris/socket.S: New file.
3489 * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
3490 * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
3491 * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
3492 * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
3493 * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
3494 * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
3495
3496 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3497
3498 * sysdeps/cris/Dist: New file.
3499 * sysdeps/cris/Implies: New file.
3500 * sysdeps/cris/Makefile: New file.
3501 * sysdeps/cris/__longjmp.S: New file.
3502 * sysdeps/cris/_mcount.S: New file.
3503 * sysdeps/cris/bits/endian.h: New file.
3504 * sysdeps/cris/bits/setjmp.h: New file.
3505 * sysdeps/cris/bits/string.h: New file.
3506 * sysdeps/cris/dl-machine.h: New file.
3507 * sysdeps/cris/elf/start.S: New file.
3508 * sysdeps/cris/machine-gmon.h: New file.
3509 * sysdeps/cris/memcopy.h: New file.
3510 * sysdeps/cris/memusage.h: New file.
3511 * sysdeps/cris/setjmp.S: New file.
3512 * sysdeps/cris/sysdep.h: New file.
3513 * sysdeps/cris/wordcopy.c: New file.
3514
3515 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3516
3517 * elf/elf.h: Add new relocations for CRIS.
3518
3519 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3520
3521 * shlib-versions: Add cases for Linux on CRIS.
3522
3523 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3524
3525 * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
3526 ';' for comments and '@' for line separator.
3527
3528 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3529
3530 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
3531 typo; s/==/=/ for assignment.
3532
3533 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3534
3535 * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
3536
3537 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3538
3539 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
3540 empty input before checking full output.
3541
3542 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3543
3544 * iconv/gconv.c (__gconv): Don't derefer parameter cd before
3545 checking if == -1L.
3546
3547 2001-04-08 Ulrich Drepper <drepper@redhat.com>
3548
3549 * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
3550
3551 2001-04-07 Stephen L Moshier <moshier@mediaone.net>
3552
3553 * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
3554 return values.
3555
3556 2001-04-07 Ulrich Drepper <drepper@redhat.com>
3557
3558 * stdlib/tst-setcontext.c (main): Add a test for setcontext.
3559
3560 * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
3561 * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
3562 * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
3563 * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
3564 * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
3565 * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
3566
3567 2001-04-07 Andreas Jaeger <aj@suse.de>
3568
3569 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
3570 instead of separate sin and cos.
3571 (__ieee754_j1l): Likewise.
3572
3573 2001-04-06 Ulrich Drepper <drepper@redhat.com>
3574
3575 * sysdeps/ia64/abort-instr.h: New file. Code by David Mosberger.
3576
3577 * sysdeps/ia64/atomicity.h: New file. Copied from libstdc++.
3578
3579 * sysdeps/i386/i486/atomicity.h: Clean up the asms.
3580
3581 * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
3582 available.
3583 * sysdeps/generic/e_scalbf.c: Likewise.
3584 * sysdeps/generic/e_scalbl.c: Likewise.
3585 Patch by Mark Hatle <fray@mvista.com>.
3586
3587 2001-04-05 David S. Miller <davem@redhat.com>
3588
3589 * sysdeps/sparc/abort-instr.h: New file.
3590
3591 2001-04-05 Matt Wilson <msw@redhat.com>
3592
3593 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
3594 added code to parse new 2.4 format.
3595 (GET_NPROCS_CONF_PARSER): Likewise.
3596
3597 2001-04-05 David S. Miller <davem@redhat.com>
3598
3599 * scripts/config.sub: Recognize sparcv9b like sparcv9.
3600 * configure.in: Add sparcv9b.
3601 * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
3602 * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
3603 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
3604
3605 2001-04-06 David Mosberger <davidm@hpl.hp.com>
3606
3607 * stdlib/tst-setcontext.c: Move st2[] to global scope.
3608 (f2): Verify that stack pointer is inside st2[].
3609
3610 * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
3611 * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
3612
3613 2001-04-06 Ulrich Drepper <drepper@redhat.com>
3614
3615 * timezone/antarctica: Update from tzdata2001b.
3616 * timezone/asia: Likewise.
3617 * timezone/australasia: Likewise.
3618 * timezone/europe: Likewise.
3619 * timezone/northamerica: Likewise.
3620
3621 * iconv/iconv_open.c: Move strip and upstr definitions...
3622 * iconv/gconv_charset.h: ...here. New file.
3623 * iconv/gconv_db.c (once): Move to file level.
3624 (do_lookup_alias): Split out from __gconv_find_transform.
3625 (__gconv_find_transform): Call do_lookup_alias.
3626 (__gconv_loopup_alias): New function.
3627 * locale/langinfo.h: Define _NL_*_CODESET values for all categories
3628 but LC_CTYPE.
3629 * locale/categories.def: Add entries for new _NL_*_CODESET values.
3630 * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
3631 * locale/C-address.c: Initialize _NL_*_CODESET element.
3632 * locale/C-collate.c: Likewise.
3633 * locale/C-identification.c: Likewise.
3634 * locale/C-measurement.c: Likewise.
3635 * locale/C-messages.c: Likewise.
3636 * locale/C-monetary.c: Likewise.
3637 * locale/C-name.c: Likewise.
3638 * locale/C-numeric.c: Likewise.
3639 * locale/C-paper.c: Likewise.
3640 * locale/C-telephone.c: Likewise.
3641 * locale/C-time.c: Likewise.
3642 * locale/localeinfo.h: Declare _nl_C_codeset.
3643 * locale/C_name.c: Define _nl_C_codeset.
3644 * locale/findlocale.c: Before accepting locale check that the used
3645 charset does not conflict with what the locale name said.
3646 * locale/programs/ld-address.c: Emit codeset information.
3647 * locale/programs/ld-collate.c: Likewise.
3648 * locale/programs/ld-identification.c: Likewise.
3649 * locale/programs/ld-measurement.c: Likewise.
3650 * locale/programs/ld-messages.c: Likewise.
3651 * locale/programs/ld-monetary.c: Likewise.
3652 * locale/programs/ld-name.c: Likewise.
3653 * locale/programs/ld-numeric.c: Likewise.
3654 * locale/programs/ld-paper.c: Likewise.
3655 * locale/programs/ld-telephone.c: Likewise.
3656 * locale/programs/ld-time.c: Likewise.
3657
3658 * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
3659 if the locale data couldn't be found.
3660
3661 * string/Makefile: Define tst-strxfrm-ENV.
3662
3663 * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
3664
3665 2001-04-06 Andreas Jaeger <aj@suse.de>
3666
3667 * include/sys/profil.h: New file.
3668
3669 * dlfcn/modatexit.c: Add prototypes to silence GCC.
3670 * dlfcn/modcxaatexit.c: Likewise.
3671 * elf/globalmod1.c: Likewise.
3672
3673 2001-04-05 David S. Miller <davem@redhat.com>
3674
3675 * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
3676 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
3677 capability flags table and HWCAP_IMPORTANT, increase
3678 _DL_HWCAP_COUNT to 6.
3679 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3680
3681 2001-04-04 David Mosberger <davidm@hpl.hp.com>
3682
3683 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
3684 initialization of stack_end (bug reported by Zheng Gengbin
3685 <gzheng@students.uiuc.edu>).
3686
3687 2001-04-05 Ulrich Drepper <drepper@redhat.com>
3688
3689 * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
3690
3691 2001-04-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
3692
3693 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
3694
3695 2001-04-05 Ulrich Drepper <drepper@redhat.com>
3696
3697 * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
3698 * sysdeps/i386/fpu/e_asinl.S: Removed. Too inaccurate.
3699
3700 * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
3701
3702 2001-04-04 Ulrich Drepper <drepper@redhat.com>
3703
3704 * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
3705 define simple replacements here. Patch by Michael Keezer.
3706
3707 * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
3708 * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
3709 Contributed by Stephen L Moshier <moshier@mediaone.net>.
3710
3711 * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
3712 anymore.
3713
3714 2001-04-01 Andreas Jaeger <aj@suse.de>
3715
3716 * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
3717 alias.
3718
3719 * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
3720
3721 2001-04-04 Ulrich Drepper <drepper@redhat.com>
3722
3723 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
3724 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
3725
3726 2001-04-04 Martin Schwidefsky <schwidefsky@de.ibm.com>
3727
3728 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
3729 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
3730 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
3731 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
3732 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
3733 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
3734 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
3735 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
3736 * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
3737
3738 2001-04-04 Andreas Jaeger <aj@suse.de>
3739
3740 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
3741 place.
3742
3743 2001-04-04 Ulrich Drepper <drepper@redhat.com>
3744
3745 * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
3746 * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
3747 * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
3748 (unsigned_dec): Likewise.
3749 Patch by atai@jezebel.dreamhost.com.
3750
3751 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
3752 pointer to int as last parameter of yp_match.
3753 Patch by kanazawa@flab.fujitsu.co.jp.
3754
3755 2001-04-03 Ulrich Drepper <drepper@redhat.com>
3756
3757 * resolv/netdb.h (gai_strerror): Make return value const.
3758 * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
3759 * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
3760 Add strings for new error values.
3761
3762 2001-03-29 Michael Keezer <mkeezer@redhat.com>
3763
3764 * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
3765 * login/tst-utmp.c: Handle case where ut_tv is not available but
3766 ut_time is.
3767 * sysdeps/unix/sysv/aix/utmpx.h: New file.
3768 * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
3769 _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
3770 * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
3771 * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
3772 to access RTCU timer reg.
3773 * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
3774 added dl-libc, dl-open,dl-sym, dl-close to misc.
3775 * sysdeps/unix/sysv/aix/start.c: New file. Start code.
3776 * sysdeps/unix/sysv/aix/dlldr.h: New file. AIX __loadx defines.
3777 * sysdeps/unix/sysv/aix/dl-close.c: New file. AIX dl-close.
3778 * sysdeps/unix/sysv/aix/dl-open.c: New file. AIX dl-open.
3779 * sysdeps/unix/sysv/aix/dl-sym.c: New file. AIX dl-sym.
3780 * sysdeps/unix/sysv/aix/dl-libc.c: New file. libc_dl-xxx support.
3781 * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
3782 GLIBC_2_2).
3783 * sysdeps/generic/strtoull.c: Likewise.
3784 * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
3785 * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
3786 sysdeps/generic/memset.c.
3787 * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
3788
3789 2001-04-03 Ulrich Drepper <drepper@redhat.com>
3790
3791 * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
3792 * locale/programs/charmap.c: Define null_pointer if
3793 NEED_NULL_POINTER is defined.
3794
3795 * misc/dirname.c (dirname): Handle multiple slashes correctly.
3796
3797 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
3798
3799 * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
3800
3801 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
3802
3803 * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
3804 * sysdeps/s390/s390-64/bcopy.S: Likewise.
3805 * sysdeps/s390/s390-32/mempcy.S: Likewise.
3806 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3807
3808 2001-04-02 Bruno Haible <haible@clisp.cons.org>
3809
3810 * manual/message.texi (Advanced gettext functions): More specific
3811 syntax in the plural formula examples.
3812
3813 2001-04-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3814
3815 * sysdeps/powerpc/atomicity.h: Silence warnings.
3816 * sysdeps/powerpc/dl-machine.h: Likewise.
3817 * sysdeps/powerpc/register-dump.h: Likewise.
3818 * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
3819
3820 2001-04-02 Andreas Jaeger <aj@suse.de>
3821
3822 * misc/tst-dirname.c (main): Add more tests, derived from a bug
3823 report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
3824
3825 2001-04-01 Andreas Jaeger <aj@suse.de>
3826
3827 * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
3828 is installed there.
3829 * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
3830
3831 2001-04-01 H.J. Lu <hjl@gnu.org>
3832
3833 * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
3834 tmpnam (NULL).
3835 * stdlib/isomac.c (macrofile): Likewise.
3836
3837 2001-03-30 Thorsten Kukuk <kukuk@suse.de>
3838
3839 * inet/rcmd.c: Allow AF_UNSPEC as parameter.
3840 * nis/ypclnt.c (yp_all): Print error message only at last try,
3841 check for protocoll error only if we don't have a network error.
3842
3843 2001-04-02 Andreas Schwab <schwab@suse.de>
3844
3845 * resolv/res_data.c (res_isourserver): Fix cast.
3846
3847 2001-04-02 Andreas Jaeger <aj@suse.de>
3848
3849 * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
3850 __umount2.
3851
3852 * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
3853 strings.
3854 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
3855
3856 * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
3857 initializers.
3858 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
3859
3860 * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
3861 warning about unused variable.
3862
3863 * string/string.h (strndupa): Add cast for C++ conformance.
3864 (strdupa): Likewise.
3865 Fixes PR libc/2173, reported by tbrowder@home.com.
3866
3867 2001-03-30 Roland McGrath <roland@frob.com>
3868
3869 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
3870 options after $(build-module), which is no longer a single command.
3871 (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
3872 (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
3873 variables using it. Reported by Mark Kettenis <kettenis@gnu.org>.
3874
3875 2001-03-11 Roland McGrath <roland@frob.com>
3876
3877 * elf/rtld.c (dl_main): Add cast to quiet warning.
3878 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3879 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
3880 (__gconv_read_conf): Likewise.
3881 * iconv/gconv_db.c (gen_steps): Likewise.
3882 (__gconv_find_transform): Likewise.
3883 * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
3884 (fopen_uncompressed): Use const in second argument's type.
3885
3886 2001-03-11 Roland McGrath <roland@frob.com>
3887
3888 * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
3889
3890 * mach/mach_error.h: Fix ancient #endif syntax.
3891 * hurd/hurdmalloc.c: Likewise.
3892
3893 * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
3894 compare_and_swap): Add volatile qualifier to first arg, to bring
3895 these prototypes in line with all the other implementations.
3896 Add a #warning to remind the builder that these are not atomic.
3897
3898 2001-03-04 Roland McGrath <roland@frob.com>
3899
3900 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
3901 member of TEMP_F so its type is _IO_FILE * as expected.
3902
3903 * hurd/fopenport.c (seekio): Conditionalize type of POS argument
3904 on [USE_IN_LIBIO]. Check the value for overflow, since for libio
3905 it might exceed off_t's range.
3906
3907 2001-02-25 Roland McGrath <roland@frob.com>
3908
3909 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
3910 * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
3911
3912 * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
3913 macro instead of an inline function,
3914 (MSG_EXAMINE): Likewise.
3915
3916 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
3917
3918 * hurd/get-host.c: Include <string.h> for decls of built-ins.
3919 * hurd/hurdchdir.c: Likewise.
3920 * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
3921 * sysdeps/mach/hurd/opendir.c: Likewise.
3922
3923 * mach/mach_init.c: Include <unistd.h> for _exit decl.
3924
3925 * mach/errsystems.awk: Give output file a trailing newline.
3926
3927 * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
3928 the script will use our compiler for the cpp stage.
3929
3930 With --enable-all-warnings we get a whole bunch of warnings,
3931 and these are just a few fixes; there are more needed to silence it.
3932 * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
3933 decls before extern inline defns to quiet gcc warning.
3934 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
3935 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
3936
3937 2001-03-31 Andreas Jaeger <aj@suse.de>
3938
3939 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
3940 (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
3941 (ARPHRD_CISCO): New.
3942 Changes from Linux 2.4.3.
3943
3944 2001-03-30 Isamu Hasegawa <isamu@yamato.ibm.com>
3945
3946 * posix/regex.c: Avoid an access violation if malloc fails.
3947
3948 2001-03-30 Andreas Jaeger <aj@suse.de>
3949
3950 * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
3951
3952 2001-03-29 Ulrich Drepper <drepper@redhat.com>
3953
3954 * posix/regex.c: Remove unnecessary ifs.
3955
3956 * math/bits/mathcalls.h: Remove infnan declaration.
3957
3958 2001-03-29 H.J. Lu <hjl@gnu.org>
3959
3960 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
3961 and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
3962 * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
3963
3964 2001-03-29 Isamu Hasegawa <isamu@yamato.ibm.com>
3965
3966 * posix/regex.c: Fix typo and add a sentinel.
3967
3968 2001-03-29 Ulrich Drepper <drepper@redhat.com>
3969
3970 * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
3971 O_NOFOLLOW. Suggested by Christoph Roland.
3972
3973 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
3974
3975 * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
3976 * sysdeps/s390/s390-32/bits/string.h: Remove.
3977 * sysdeps/s390/s390-64/bits/string.h: Remove.
3978 * sysdeps/s390/s390-32/strcmp.S: New file.
3979 * sysdeps/s390/s390-64/strcmp.S: New file.
3980
3981 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
3982
3983 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
3984 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3985
3986 2001-03-27 Ulrich Drepper <drepper@redhat.com>
3987
3988 * version.h (VERSION): Bump to 2.2.3.
3989
3990 * stdlib/isomac.c (fmt): Don't define _LIBC.
3991 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
3992 LOW_HALF only if _LIBC is defined.
3993
3994 * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
3995
3996 * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
3997 and +().
3998 * posix/tst-fnmatch.input: Add test cases for matching empty strings.
3999
4000 * sysdeps/ieee754/dbl-64/endian.h: Removed. Move definitions...
4001 * include/endian.h: ...to here.
4002
4003 2001-03-27 kaz Kojima <kkojima@rr.iij4u.or.jp>
4004
4005 * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
4006 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
4007
4008 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
4009
4010 * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
4011
4012 2001-03-26 Ulrich Drepper <drepper@redhat.com>
4013
4014 * sysdeps/ia64/fpu/Dist: Add new files to distribute.
4015 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
4016 * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
4017
4018 * gmon/Makefile (headers): Add sys/profil.h.
4019
4020 2001-03-18 Andreas Jaeger <aj@suse.de>
4021
4022 * manual/install.texi (Tools for Compilation): Advise to use GCC
4023 2.95.3.
4024 (Supported Configurations): Mention s390x.
4025
4026 2001-03-26 Ben Collins <bcollins@debian.org>
4027
4028 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
4029 defines to match other architectures.
4030
4031 2001-03-26 Ulrich Drepper <drepper@redhat.com>
4032
4033 * libio/Makefile (tests): Add tst-ext.
4034 * libio/tst-ext.c: New file.
4035
4036 * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
4037
4038 2001-03-25 Ulrich Drepper <drepper@redhat.com>
4039
4040 Add changes which were in this form in the original patch by
4041 Eric Norum <eric.norum@usask.ca>.
4042 * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
4043 svc_max_pollfd.
4044 * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
4045 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
4046 __rpc_thread_svc_max_pollfd.
4047 Define svc_fdset, get_rpc_createerr, svc_pollfd, and
4048 svc_max_pollfd.
4049 * sunrpc/rpc_thread.c: Handle first thread special, it uses the
4050 global variables.
4051 Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
4052 __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
4053 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_svc_fdset,
4054 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
4055 __rpc_thread_svc_max_pollfd.
4056 * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
4057 get_rpc_createerr.
4058 * sunrpc/clnt_perr.c: Likewise.
4059 * sunrpc/clnt_simp.c: Likewise.
4060 * sunrpc/clnt_tcp.c: Likewise.
4061 * sunrpc/clnt_udp.c: Likewise.
4062 * sunrpc/clnt_unix.c: Likewise.
4063 * sunrpc/pm_getport.c: Likewise.
4064
4065 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
4066 syscall checks for negative n so don't test here as well.
4067
4068 2001-03-23 Jes Sorensen <jes@linuxcare.com>
4069
4070 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
4071 * sysdeps/ia64/sysdep.h: ...here.
4072
4073 * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
4074 * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
4075
4076 * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
4077 declare instead of LEAF(). Suggestion from David Mosberger.
4078
4079 2001-03-21 David Mosberger <davidm@hpl.hp.com>
4080
4081 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
4082 directives.
4083 (PSEUDO): Drop .psr and .lsb directives.
4084
4085 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto. Add unwind
4086 directives.
4087 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
4088
4089 * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
4090 directives etc.
4091 * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
4092 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
4093 * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
4094 longer needed). Add unwind directives.
4095
4096 * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
4097 ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
4098
4099 2001-03-21 Paul Eggert <eggert@twinsun.com>
4100
4101 * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
4102 (RE_SYNTAX_POSIX_EGREP): Use it.
4103 * posix/regex.c (regex_compile): Implement it.
4104
4105 2001-03-21 Paul Eggert <eggert@twinsun.com>
4106
4107 * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
4108 Rewrite to avoid duplicate code.
4109
4110 2001-03-21 H.J. Lu <hjl@gnu.org>
4111
4112 * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
4113 for cross-compiling.
4114 ($(objpfx)tst-pathopt.out): Undo the last change.
4115
4116 2001-03-24 Mark Kettenis <kettenis@gnu.org>
4117
4118 * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
4119 sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
4120
4121 * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
4122 (_dl_argv): Declare.
4123 (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
4124
4125 2001-03-22 Andreas Jaeger <aj@suse.de>
4126
4127 * iconvdata/Makefile (generated): Add iconv-test.xxx.
4128
4129 * posix/Makefile (generated): Add bug-regex2.mtrace and
4130 bug-regex2-mem.
4131
4132 2001-03-21 Ulrich Drepper <drepper@redhat.com>
4133
4134 * csu/version.c (__gnu_get_libc_release): Add prototype.
4135 (__gnu_get_libc_version): Likewise.
4136 * include/gnu/libc-version.h: Remove prototypes for not exported
4137 functions.
4138
4139 2001-03-21 Jes Sorensen <jes@linuxcare.com>
4140
4141 * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
4142 for internationalized printfs to work.
4143
4144 2001-03-09 Bruno Haible <haible@clisp.cons.org>
4145
4146 * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
4147 avoid compiler warning.
4148 (_nl_find_msg): Add casts to avoid compiler warnings.
4149
4150 2001-03-21 Ulrich Drepper <drepper@redhat.com>
4151
4152 * gmon/Makefile (routines): Add sprofil.
4153 (tests): Add tst-sprofil.
4154 (noprof): Add sprofil.
4155 * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
4156
4157 2001-03-20 David Mosberger <davidm@hpl.hp.com>
4158
4159 * sysdeps/generic/sprofil.c: New file.
4160 * sysdeps/posix/sprofil.c: New file.
4161 * gmon/tst-sprofil.c: New file.
4162 * gmon/sys/profil.h: New file.
4163
4164 2001-03-20 Andreas Schwab <schwab@suse.de>
4165
4166 * include/unistd.h: Adjust prototype of __gethostname.
4167
4168 2001-03-20 Jakub Jelinek <jakub@redhat.com>
4169
4170 * sysdeps/sparc/stackinfo.h: New file.
4171
4172 2001-03-21 Andreas Jaeger <aj@suse.de>
4173
4174 * elf/global.c (main): Use proper prototype.
4175
4176 2001-03-20 Ulrich Drepper <drepper@redhat.com>
4177
4178 * sunrpc/Makefile (routines): Add rpc_thread.
4179 (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
4180 * sunrpc/rpc_thread.c: New file.
4181 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
4182 * sunrpc/auth_none.c: Don't use global variables. Access state in
4183 thread-local storage.
4184 * sunrpc/clnt_perr.c: Likewise.
4185 * sunrpc/clnt_raw.c: Likewise.
4186 * sunrpc/clnt_simp.c: Likewise.
4187 * sunrpc/key_call.c: Likewise.
4188 * sunrpc/rpc_common.c: Likewise.
4189 * sunrpc/svc.c: Likewise.
4190 * sunrpc/svc_raw.c: Likewise.
4191 * sunrpc/svc_simple.c: Likewise.
4192 * sunrpc/svcauth_des.c: Likewise.
4193 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
4194 _HURD_THREADVAR_RPC_VARS.
4195 * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
4196 * include/rpc/rpc.h: Define data structures for internal thread-local
4197 "global" variables.
4198 Based on patches by Eric Norum <eric.norum@usask.ca>.
4199
4200 * elf/dl-load.c: Various little optimizations.
4201
4202 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
4203 LINUX_LINK_MAX only if the statfs function is not implemented for
4204 the filesystem.
4205
4206 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
4207 LINUX_LINK_MAX only if the fstatfs function is not implemented for
4208 the filesystem.
4209
4210 2001-03-19 Ulrich Drepper <drepper@redhat.com>
4211
4212 * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
4213
4214 * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
4215 (_dl_dst_substitute): Likewise.
4216
4217 2001-03-17 Bruno Haible <haible@clisp.cons.org>
4218
4219 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
4220
4221 2001-03-17 Bruno Haible <haible@clisp.cons.org>
4222
4223 * intl/gettextP.h (struct expression): Add operators lnot, less_than,
4224 greater_than, less_or_equal, greater_or_equal. Replace args2/args3
4225 union by a 'nargs' counter and an 'args[]' array.
4226 * intl/plural.y: Don't include stdarg.h.
4227 (new_exp): Take an array of arguments instead of varargs.
4228 (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
4229 ('?' ':'): Make right-associative.
4230 (EQUOP2): New token, replaces '=' and '!'.
4231 (CMPOP2): New token.
4232 (ADDOP2): New token, replaces '+' and '-'.
4233 (MULOP2): New token, replaces '*', '/' and '%'.
4234 ('!'): New token.
4235 (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
4236 (start): Call YYABORT here.
4237 (FREE_EXPRESSION): Update.
4238 (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
4239 Update for new token symbols.
4240 * intl/loadmsgcat.c (plvar, plone, germanic_plural,
4241 init_germanic_plural): Update.
4242 * intl/dcigettext.c (_nl_find_msg): Optimize for space.
4243 (plural_eval): Recognize comparison and '!' operators. Optimize for
4244 space.
4245
4246 2001-03-10 Bruno Haible <haible@clisp.cons.org>
4247
4248 * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
4249 NULL any more.
4250
4251 2001-01-05 Bruno Haible <haible@clisp.cons.org>
4252
4253 * intl/loadmsgcat.c: Include headers needed for alloca().
4254 (freea): New macro.
4255 (_nl_load_domain): Add fallback code for platforms lacking alloca.
4256 * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
4257 (freea): New macro.
4258 (read_alias_file): Simplify fallback code for platforms lacking
4259 alloca.
4260
4261 2001-01-07 Bruno Haible <haible@clisp.cons.org>
4262
4263 * intl/gettextP.h (__gettextdebug): Remove declaration.
4264 (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
4265 syntax.
4266 (gettext_free_exp__, gettextparse__): New non-libc declarations.
4267 * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
4268 not __gettextparse, __gettext_free_exp.
4269 * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
4270
4271 2001-02-24 Bruno Haible <haible@clisp.cons.org>
4272
4273 * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
4274
4275 2001-01-05 Bruno Haible <haible@clisp.cons.org>
4276
4277 * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
4278 lacking strtoul, like SunOS4.
4279
4280 2001-01-05 Bruno Haible <haible@clisp.cons.org>
4281
4282 * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
4283
4284 2001-01-05 Bruno Haible <haible@clisp.cons.org>
4285
4286 * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
4287 syntax.
4288 * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
4289 * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
4290 * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
4291 syntax.
4292
4293 2001-01-07 Bruno Haible <haible@clisp.cons.org>
4294
4295 * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
4296 bindtextdomain__, bind_textdomain_codeset__): New declarations, from
4297 old libgettext.h.
4298 * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
4299 * intl/dcgettext.c: Likewise.
4300 * intl/dcigettext.c: Likewise.
4301 * intl/dcngettext.c: Likewise.
4302 * intl/dngettext.c: Likewise.
4303 * intl/finddomain.c: Likewise.
4304 * intl/ngettext.c: Likewise.
4305 * intl/textdomain.c: Likewise.
4306 * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
4307 Include gettextP.h.
4308 * intl/gettext.c: Likewise. Don't include locale.h.
4309
4310 2001-03-17 Bruno Haible <haible@clisp.cons.org>
4311
4312 * intl/gettextP.h (ZERO): New macro.
4313 (struct binding): Always use ZERO.
4314 * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
4315 lack it, like SunOS4.
4316 (set_binding_values): Use offsetof, not sizeof.
4317 * intl/dcigettext.c (offsetof): Provide fallback for platforms that
4318 lack it, like SunOS4.
4319 (ZERO): Remove macro.
4320 (struct transmem_list): Use ZERO.
4321 (DCIGETTEXT): Use offsetof, not sizeof.
4322
4323 2001-03-17 Bruno Haible <haible@clisp.cons.org>
4324
4325 * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
4326 nls_uint32.
4327 * intl/bindtextdom.c: Don't include gettext.h.
4328 * intl/dcgettext.c: Likewise.
4329 * intl/dcigettext.c: Likewise.
4330 * intl/dcngettext.c: Likewise.
4331 * intl/dngettext.c: Likewise.
4332 * intl/finddomain.c: Likewise.
4333 * intl/localealias.c: Likewise.
4334 * intl/ngettext.c: Likewise.
4335 * intl/plural.y: Likewise.
4336 * intl/textdomain.c: Likewise.
4337
4338 2001-03-17 Bruno Haible <haible@clisp.cons.org>
4339
4340 * intl/gettext.h: Don't include <stdio.h>.
4341
4342 2001-03-17 Bruno Haible <haible@clisp.cons.org>
4343
4344 * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
4345 * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
4346
4347 2001-03-19 Ulrich Drepper <drepper@redhat.com>
4348
4349 * sysdeps/unix/i386/i686/tempname.c: New file.
4350
4351 * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
4352 defined use this macro to get some bits of randomness instead of
4353 the usual gettimeofday or time calls.
4354
4355 2001-03-16 Paul Eggert <eggert@twinsun.com>
4356
4357 * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
4358 not defined, and if UINT64_MAX is not defined.
4359
4360 2001-03-19 Ulrich Drepper <drepper@redhat.com>
4361
4362 * elf/cache.c: Mark and have translated a few more messages.
4363
4364 2001-03-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
4365
4366 * elf/cache.c: Add case for FLAG_S390_LIB64.
4367 * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
4368 * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
4369 * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
4370
4371 2001-03-19 Ulrich Drepper <drepper@redhat.com>
4372
4373 * string/Makefile (tests): Add tst-strxfrm.
4374 * string/tst-strxfrm.c: New file. Based on a test case by Paul Eggert.
4375 * string/Depend: New file.
4376
4377 2001-03-19 Paul Eggert <eggert@twinsun.com>
4378
4379 * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
4380 when given the empty string in nontrivial locales.
4381
4382 2001-03-17 H.J. Lu <hjl@gnu.org>
4383
4384 * manual/Makefile (install): Use $(INSTALL_DATA) instead of
4385 cp to install `dir'.
4386
4387 2001-03-19 Andreas Schwab <schwab@suse.de>
4388
4389 * Makerules (build-shlib): Make sure exit codes get checked
4390 properly.
4391
4392 2001-03-18 Ulrich Drepper <drepper@redhat.com>
4393
4394 * Makerules (build-shlib): Remove unnecessary slashes introduced in
4395 last change.
4396
4397 * configure.in: Test for -Bgroup option of linker.
4398 * config.make.in: Define have-Bgroup.
4399
4400 * conform/data/unistd.h-data: Require gethostname.
4401 * posix/unistd.h: Make gethostname prototype available for
4402 __USE_XOPEN2K.
4403
4404 * crypt/Makefile: When generating DSO link with libc_nonshared.a.
4405 * debug/Makefile: Likewise.
4406 * dlfcn/Makefile: Likewise.
4407 * hesiod/Makefile: Likewise.
4408 * iconvdata/extra-module.mk: Likewise.
4409 * locale/Makefile: Likewise.
4410 * login/Makefile: Likewise.
4411 * math/Makefile: Likewise.
4412 * nis/Makefile: Likewise.
4413 * nss/Makefile: Likewise.
4414 * resolv/Makefile: Likewise.
4415 * rt/Makefile: Likewise.
4416
4417 2001-03-17 Ulrich Drepper <drepper@redhat.com>
4418
4419 * inet/Makefile (tests): Remove left-over comment.
4420
4421 * posix/unistd.h (gethostname): Change type of second parameter
4422 back to size_t as per upcoming XPG6.
4423 * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
4424 parameter back to size_t as per upcoming XPG6.
4425 * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
4426 * sysdeps/unix/sysv/gethostname.c: Likewise.
4427 * sysdeps/mach/hurd/gethostname.c: Likewise.
4428 * sysdeps/generic/gethostname.c: Likewise.
4429
4430 2001-03-16 Ulrich Drepper <drepper@redhat.com>
4431
4432 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4433 Handle NaN here.
4434
4435 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
4436 Internationalize.
4437
4438 2001-02-06 Jakub Jelinek <jakub@redhat.com>
4439
4440 * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
4441 looking for name matches.
4442
4443 2001-02-26 Jakub Jelinek <jakub@redhat.com>
4444
4445 * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
4446 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
4447 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
4448 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4449 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
4450 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
4451 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
4452 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
4453 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
4454 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
4455 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
4456 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
4457
4458 2001-03-16 Ulrich Drepper <drepper@redhat.com>
4459
4460 * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
4461 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4462
4463 * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
4464 erfcl.
4465 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4466
4467 2001-03-16 David Mosberger <davidm@hpl.hp.com>
4468
4469 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
4470 Drop hack that was needed for 2.1.1 kernel headers.
4471
4472 * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
4473
4474 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
4475 overlay with kernel's "struct sigcontext".
4476
4477 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
4478 sys/rse.h for "misc" subdir.
4479 (sysdep_routines): Add __start_context for "stdlib" subdir.
4480
4481 * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
4482 kernel file of the same name).
4483
4484 * stdlib/Makefile (tests): Add tst-setcontext.
4485 * stdlib/tst-setcontext.c: New file (based on a sample program by
4486 Uli Drepper).
4487
4488 * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
4489 * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
4490 * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
4491 * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
4492 * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
4493
4494 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
4495 instead of shift & and.
4496
4497 2001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
4498
4499 * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
4500 * sysdeps/s390/bits/huge_val.h: ...here.
4501 * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
4502 * sysdeps/s390/s390-64/ffs.c: Move to...
4503 * sysdeps/s390/ffs.c: ...here.
4504 * sysdeps/s390/s390-32/ffs.c: Remove.
4505
4506 2001-03-16 Jakub Jelinek <jakub@redhat.com>
4507
4508 * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
4509 update osversion from more recent library.
4510
4511 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4512
4513 * sysdeps/unix/sysv/linux/s390/Dist: Move to...
4514 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
4515 * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
4516 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
4517 * sysdeps/unix/sysv/linux/s390/Versions: Move to...
4518 * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
4519 * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
4520 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
4521 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
4522 * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
4523 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
4524 * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
4525 * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
4526 * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
4527 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
4528 * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
4529 * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
4530 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
4531 * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
4532 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
4533 * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
4534 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
4535 * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
4536 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
4537 * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
4538 * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
4539 * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
4540 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
4541 * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
4542 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
4543 * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
4544 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
4545 * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
4546 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
4547 * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
4548 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
4549 * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
4550 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
4551 * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
4552 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
4553 * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
4554 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
4555 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
4556 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
4557 * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
4558 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
4559 * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
4560 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
4561 * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
4562 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
4563 * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
4564 * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
4565 * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
4566 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
4567 * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
4568 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
4569 * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
4570 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
4571 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
4572 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
4573 * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
4574 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
4575 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
4576 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
4577 * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
4578 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
4579 * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
4580 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
4581 * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
4582 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
4583 * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
4584 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
4585 * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
4586 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
4587 * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
4588 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
4589 * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
4590 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
4591 * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
4592 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
4593 * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
4594 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
4595 * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
4596 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
4597 * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
4598 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
4599 * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
4600 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
4601 * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
4602 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
4603 * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
4604 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
4605 * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
4606 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
4607 * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
4608 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
4609 * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
4610 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
4611 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
4612 * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
4613 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
4614 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
4615 * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
4616 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
4617 * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
4618 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
4619 * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
4620 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
4621 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
4622 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
4623 * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
4624 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
4625 * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
4626 * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
4627
4628 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4629
4630 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
4631 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
4632 * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
4633 * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
4634 * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
4635 * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
4636 * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
4637 * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
4638 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
4639 * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
4640 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
4641 * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
4642 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
4643 * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
4644 * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
4645 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
4646 * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
4647 * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
4648 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
4649 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
4650 * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
4651 * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
4652 * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
4653 * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
4654 * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
4655 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
4656 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
4657 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
4658 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
4659 * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
4660 * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
4661 * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
4662 * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
4663 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
4664 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
4665 * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
4666 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
4667 * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
4668 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
4669 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
4670 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
4671 * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
4672 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
4673 * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
4674 * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
4675 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
4676 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
4677 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
4678 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
4679 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
4680 * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
4681 * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
4682 * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
4683
4684 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4685
4686 * sysdeps/s390/Dist: Move to...
4687 * sysdeps/s390/390-32/Dist: ...here.
4688 * sysdeps/s390/Implies: Move to...
4689 * sysdeps/s390/s390-32/Implies: ...here.
4690 * sysdeps/s390/Makefile: Move to...
4691 * sysdeps/s390/s390-32/Makefile: ...here.
4692 * sysdeps/s390/Versions: Move to...
4693 * sysdeps/s390-32/s390/Versions: ...here.
4694 * sysdeps/s390/add_n.S: Move to...
4695 * sysdeps/s390/s390-32/add_n.S: ...here.
4696 * sysdeps/s390/addmul_1.S: Move to...
4697 * sysdeps/s390/s390-32/addmul_1.S: ...here.
4698 * sysdeps/s390/atomicity.h: Move to...
4699 * sysdeps/s390/s390-32/atomicity.h: ...here.
4700 * sysdeps/s390/backtrace.c: Move to...
4701 * sysdeps/s390/s390-32/backtrace.c: ...here.
4702 * sysdeps/s390/bcopy.S: Move to...
4703 * sysdeps/s390/s390-32/bcopy.S: ...here.
4704 * sysdeps/s390/bits/byteswap.h: Move to...
4705 * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
4706 * sysdeps/s390/bits/huge_val.h: Move to...
4707 * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
4708 * sysdeps/s390/bsd-_setjmp.S: Move to...
4709 * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
4710 * sysdeps/s390/bsd-setjmp.S: Move to...
4711 * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
4712 * sysdeps/s390/bzero.S: Move to...
4713 * sysdeps/s390/s390-32/bzero.S: ...here.
4714 * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
4715 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
4716 * sysdeps/s390/elf/bsd-setjmp.S: Move to...
4717 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
4718 * sysdeps/s390/elf/start.S: Move to...
4719 * sysdeps/s390/s390-32/elf/start.S: ...here.
4720 * sysdeps/s390/ffs.c: Move to...
4721 * sysdeps/s390/s390-32/ffs.c: ...here.
4722 * sysdeps/s390/memchr.S: Move to...
4723 * sysdeps/s390/s390-32/memchr.S: ...here.
4724 * sysdeps/s390/memcpy.S: Move to...
4725 * sysdeps/s390/s390-32/memcpy.S: ...here.
4726 * sysdeps/s390/memset.S: Move to...
4727 * sysdeps/s390/s390-32/memset.S: ...here.
4728 * sysdeps/s390/mul_1.S: Move to...
4729 * sysdeps/s390/s390-32/mul_1.S: ...here.
4730 * sysdeps/s390/s390-mcount.S: Move to...
4731 * sysdeps/s390/s390-32/s390-mcount.S: ...here.
4732 * sysdeps/s390/strcpy.S: Move to...
4733 * sysdeps/s390/s390-32/strcpy.S: ...here.
4734 * sysdeps/s390/strncpy.S: Move to...
4735 * sysdeps/s390/s390-32/strncpy.S: ...here.
4736 * sysdeps/s390/sub_n.S: Move to...
4737 * sysdeps/s390/s390-32/sub_n.S: ...here.
4738
4739 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4740
4741 * sysdeps/s390/s390-64/Dist: New file.
4742 * sysdeps/s390/s390-64/Implies: New file.
4743 * sysdeps/s390/s390-64/Makefile: New file.
4744 * sysdeps/s390/s390-64/__longjmp.c: New file.
4745 * sysdeps/s390/s390-64/add_n.S: New file.
4746 * sysdeps/s390/s390-64/atomicity.h: New file.
4747 * sysdeps/s390/s390-64/backtrace.c: New file.
4748 * sysdeps/s390/s390-64/bcopy.S: New file.
4749 * sysdeps/s390/s390-64/bits/byteswap.h: New file.
4750 * sysdeps/s390/s390-64/bits/huge_val.h: New file.
4751 * sysdeps/s390/s390-64/bits/setjmp.h: New file.
4752 * sysdeps/s390/s390-64/bits/string.h: New file.
4753 * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
4754 * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
4755 * sysdeps/s390/s390-64/bzero.S: New file.
4756 * sysdeps/s390/s390-64/dl-machine.h: New file.
4757 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
4758 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
4759 * sysdeps/s390/s390-64/elf/setjmp.S: New file.
4760 * sysdeps/s390/s390-64/elf/start.S: New file.
4761 * sysdeps/s390/s390-64/ffs.c: New file.
4762 * sysdeps/s390/s390-64/initfini.c: New file.
4763 * sysdeps/s390/s390-64/memchr.S: New file.
4764 * sysdeps/s390/s390-64/memcpy.S: New file.
4765 * sysdeps/s390/s390-64/memset.S: New file.
4766 * sysdeps/s390/s390-64/s390x-mcount.S: New file.
4767 * sysdeps/s390/s390-64/setjmp.S: New file.
4768 * sysdeps/s390/s390-64/strcpy.S: New file.
4769 * sysdeps/s390/s390-64/strncpy.S: New file.
4770 * sysdeps/s390/s390-64/sub_n.S: New file.
4771 * sysdeps/s390/s390-64/sysdep.h: New file.
4772
4773 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4774
4775 * scripts/config.guess: Add support for Linux on 64 bit S/390.
4776 * scripts/config.sub: Likewise.
4777
4778 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4779
4780 * configure.in: Add support for 64 bit S/390.
4781
4782 * elf/elf.h: Add new relocations for 64 bit S/390.
4783
4784 * shlib-versions: Add rules for Linux on 64 bit S/390.
4785
4786 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4787
4788 * sysdeps/s390/__longjmp.c: Move to...
4789 * sysdeps/s390/s390-32/__longjmp.c: ...here. Add code
4790 to load the floating point registers that should be saved
4791 according to the ABI.
4792
4793 * sysdeps/s390/bits/setjmp.h: Move to...
4794 * sysdeps/s390/s390-32/bits/setjmp.h: ...here. Avoid
4795 the use of long long in the __jmp_buf type definition.
4796
4797 * sysdeps/s390/bits/string.h: Move to...
4798 * sysdeps/s390/s390-32/bits/string.h: ...here. Add several missing
4799 #ifndef _FORCE_INLINES.
4800
4801 * sysdeps/s390/dl-machine.h: Move to...
4802 * sysdeps/s390/s390-32/dl-machine.h: ...here. Add a check for the
4803 executables EI_CLASS in elf_machine_matches_host.
4804
4805 * sysdeps/s390/elf/setjmp.S: Move to...
4806 * sysdeps/s390/s390-32/elf/setjmp.S: ...here. Replace
4807 branches to globally defined symbol __sigsetjmp by branches to
4808 a local label (this avoids the generation of a R_390_PC16DBL
4809 relocation in -fpic code).
4810
4811 * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
4812 calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
4813
4814 * sysdeps/s390/initfini.c: Move to...
4815 * sysdeps/s390/s390-32/initfini.c: ...here. Replace ALIGN with
4816 ".align 4,0x07".
4817
4818 * sysdeps/s390/setjmp.S: Move to...
4819 * sysdeps/s390/s390-32/setjmp.S: ...here. Add code to store the
4820 floating point registers that should be saved according to the ABI.
4821
4822 * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
4823
4824 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
4825 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
4826 sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
4827
4828 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4829
4830 * configure.in: Change machine=s390 to machine=s390/s390-32.
4831
4832 * elf/elf.h: Correct comment for R_390_PLT16DBL.
4833
4834 2001-03-12 Jakub Jelinek <jakub@redhat.com>
4835
4836 * csu/Makefile (abi-tag.h): Define OS and version separately, allow
4837 version to be overriden from config.h.
4838 * csu/abi-note.S: Use OS and version separately, include config.h.
4839 * elf/dl-load.c (_dl_osversion): New.
4840 (_dl_map_object_from_fd): Kill some warnings.
4841 (open_verify): Check .note.ABI-tag of the library if present.
4842 * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
4843 * elf/cache.c (struct cache_entry): Add osversion.
4844 (print_entry): Print osversion.
4845 (print_cache): Pass osversion to it.
4846 (compare): Sort according to osversion.
4847 (save_cache): Set osversion.
4848 (add_to_cache): Add osversion argument.
4849 * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
4850 process_elf_file): Add osversion argument.
4851 * elf/readlib.c (process_file): Likewise.
4852 * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
4853 * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
4854 process_elf32_file, process_elf64_file): Likewise.
4855 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
4856 process_elf32_file, process_elf64_file): Likewise.
4857 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
4858 process_elf32_file, process_elf64_file): Likewise.
4859 * elf/ldconfig.c (manual_link): Pass it.
4860 (search_dir): Issue diagnostic if two libs with the same soname in
4861 the same directory have different .note.ABI-tag. Record osversion in
4862 dlib_entry and use it from there.
4863 (struct lib_entry): Remove.
4864 (struct dlib_entry): Add osversion.
4865 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
4866 osversion.
4867 * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
4868 field with osversion.
4869 * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
4870 * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
4871 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
4872 version in _dl_osversion.
4873 * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
4874 * Makerules (build-shlib-helper, build-module-helper): New.
4875 (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
4876 early.
4877 * config.h.in (__ABI_TAG_VERSION): Add.
4878 * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
4879 * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
4880 Handle LD_ASSUME_KERNEL.
4881 * sysdeps/unix/sysv/linux/dl-librecon.h: New.
4882
4883 2001-03-15 Ulrich Drepper <drepper@redhat.com>
4884
4885 * timezone/antarctica: Update from tzdata2001a.
4886 * timezone/asia: Likewise.
4887 * timezone/australasia: Likewise.
4888 * timezone/backward: Likewise.
4889 * timezone/etcetera: Likewise.
4890 * timezone/europe: Likewise.
4891 * timezone/leapseconds: Likewise.
4892 * timezone/northamerica: Likewise.
4893 * timezone/southamerica: Likewise.
4894 * timezone/systemv: Likewise.
4895 * timezone/yearistype: Likewise.
4896 * timezone/zone.tab: Likewise.
4897 * timezone/tzdump.c: Update from tzcode2001a.
4898
4899 2001-03-15 H.J. Lu <hjl@gnu.org>
4900
4901 * intl/Makefile: Fix a typo.
4902
4903 2001-03-14 David Mosberger <davidm@hpl.hp.com>
4904
4905 * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
4906 writing arc structures.
4907
4908 2001-03-15 H.J. Lu <hjl@gnu.org>
4909
4910 * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
4911 cross-compiling.
4912
4913 2001-03-13 Andreas Schwab <schwab@suse.de>
4914
4915 * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
4916
4917 2001-03-15 Ulrich Drepper <drepper@redhat.com>
4918
4919 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
4920 for control message fitting into message data.
4921 Patch by James Antill <james@and.org>.
4922
4923 * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
4924 FNM_EXTMATCH.
4925
4926 * posix/fnmatch_loop.c: Optimize handling of ?() and @().
4927 * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
4928
4929 * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
4930 * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
4931 avoid running binaries with libc versions without FNM_EXTMATCH support.
4932
4933 * include/wchar.h: Add prototype for __wcscat.
4934 * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
4935
4936 * posix/fnmatch.h (FNM_EXTMATCH): Define.
4937 * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
4938 (posixly_correct): Move global variable here.
4939 (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
4940 (fnmatch): Pretty printing.
4941 * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
4942 * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
4943 * posix/tst-fnmatch.input: Add tests for extended matching.
4944
4945 * posix/testfnm.c: Add test for patterns with multiple ** before /.
4946 * posix/fnmatch_loop.c: Fix problem with the test above.
4947
4948 2001-03-14 Ulrich Drepper <drepper@redhat.com>
4949
4950 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
4951 reference to usqrt.
4952
4953 * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
4954
4955 2001-03-12 Andreas Jaeger <aj@suse.de>
4956
4957 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4958 Use EM_X86_64 instead of EM_X8664.
4959
4960 2001-03-12 Ulrich Drepper <drepper@redhat.com>
4961
4962 * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
4963
4964 * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
4965 conditions.
4966
4967 * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
4968 conditions.
4969
4970 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
4971 correctly.
4972 (__cos): Likewise.
4973
4974 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
4975 correctly.
4976 (__ieee754_acos): Likewise.
4977
4978 2001-03-12 Andreas Jaeger <aj@suse.de>
4979
4980 * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
4981 Fix typo. Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
4982
4983 * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
4984 redefinition.
4985
4986 2001-03-11 Roland McGrath <roland@frob.com>
4987
4988 * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
4989
4990 2001-03-11 Ulrich Drepper <drepper@redhat.com>
4991
4992 * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
4993 LITTLE_ENDI.
4994
4995 * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
4996 parameter list.
4997
4998 Last-bit accurate math library implementation by IBM Haifa.
4999 Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
5000 <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
5001 Anna Reitman <reitman@il.ibm.com>.
5002 * math/Makefile (dbl-only-routines): New variable.
5003 (libm-routines): Add $(dbl-only-routines).
5004 * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
5005 * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
5006 implementation.
5007 * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
5008 implementation.
5009 * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
5010 implementation.
5011 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
5012 __kernel_cos.
5013 * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
5014 implementation.
5015 * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
5016 remainder implementation.
5017 * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
5018 implementation.
5019 * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
5020 implementation.
5021 * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
5022 * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
5023 * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
5024 implementation.
5025 * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
5026 * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
5027 implementation.
5028 * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
5029 and __kernel_cos.
5030 * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
5031 implementation.
5032 * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
5033 * sysdeps/ieee754/dbl-64/MathLib.h: New file.
5034 * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
5035 * sysdeps/ieee754/dbl-64/atnat.h: New file.
5036 * sysdeps/ieee754/dbl-64/atnat2.h: New file.
5037 * sysdeps/ieee754/dbl-64/branred.c: New file.
5038 * sysdeps/ieee754/dbl-64/branred.h: New file.
5039 * sysdeps/ieee754/dbl-64/dla.h: New file.
5040 * sysdeps/ieee754/dbl-64/doasin.c: New file.
5041 * sysdeps/ieee754/dbl-64/doasin.h: New file.
5042 * sysdeps/ieee754/dbl-64/dosincos.c: New file.
5043 * sysdeps/ieee754/dbl-64/dosincos.h: New file.
5044 * sysdeps/ieee754/dbl-64/endian.h: New file.
5045 * sysdeps/ieee754/dbl-64/halfulp.c: New file.
5046 * sysdeps/ieee754/dbl-64/mpa.c: New file.
5047 * sysdeps/ieee754/dbl-64/mpa.h: New file.
5048 * sysdeps/ieee754/dbl-64/mpa2.h: New file.
5049 * sysdeps/ieee754/dbl-64/mpatan.c: New file.
5050 * sysdeps/ieee754/dbl-64/mpatan.h: New file.
5051 * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
5052 * sysdeps/ieee754/dbl-64/mpexp.c: New file.
5053 * sysdeps/ieee754/dbl-64/mpexp.h: New file.
5054 * sysdeps/ieee754/dbl-64/mplog.c: New file.
5055 * sysdeps/ieee754/dbl-64/mplog.h: New file.
5056 * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
5057 * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
5058 * sysdeps/ieee754/dbl-64/mptan.c: New file.
5059 * sysdeps/ieee754/dbl-64/mydefs.h: New file.
5060 * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
5061 * sysdeps/ieee754/dbl-64/root.tbl: New file.
5062 * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
5063 * sysdeps/ieee754/dbl-64/sincos32.c: New file.
5064 * sysdeps/ieee754/dbl-64/sincos32.h: New file.
5065 * sysdeps/ieee754/dbl-64/slowexp.c: New file.
5066 * sysdeps/ieee754/dbl-64/slowpow.c: New file.
5067 * sysdeps/ieee754/dbl-64/uasncs.h: New file.
5068 * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
5069 * sysdeps/ieee754/dbl-64/uexp.h: New file.
5070 * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
5071 * sysdeps/ieee754/dbl-64/ulog.h: New file.
5072 * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
5073 * sysdeps/ieee754/dbl-64/upow.h: New file.
5074 * sysdeps/ieee754/dbl-64/upow.tbl: New file.
5075 * sysdeps/ieee754/dbl-64/urem.h: New file.
5076 * sysdeps/ieee754/dbl-64/uroot.h: New file.
5077 * sysdeps/ieee754/dbl-64/usncs.h: New file.
5078 * sysdeps/ieee754/dbl-64/utan.h: New file.
5079 * sysdeps/ieee754/dbl-64/utan.tbl: New file.
5080 * sysdeps/i386/fpu/branred.c: New file.
5081 * sysdeps/i386/fpu/doasin.c: New file.
5082 * sysdeps/i386/fpu/dosincos.c: New file.
5083 * sysdeps/i386/fpu/halfulp.c: New file.
5084 * sysdeps/i386/fpu/mpa.c: New file.
5085 * sysdeps/i386/fpu/mpatan.c: New file.
5086 * sysdeps/i386/fpu/mpatan2.c: New file.
5087 * sysdeps/i386/fpu/mpexp.c: New file.
5088 * sysdeps/i386/fpu/mplog.c: New file.
5089 * sysdeps/i386/fpu/mpsqrt.c: New file.
5090 * sysdeps/i386/fpu/mptan.c: New file.
5091 * sysdeps/i386/fpu/sincos32.c: New file.
5092 * sysdeps/i386/fpu/slowexp.c: New file.
5093 * sysdeps/i386/fpu/slowpow.c: New file.
5094 * sysdeps/ia64/fpu/branred.c: New file.
5095 * sysdeps/ia64/fpu/doasin.c: New file.
5096 * sysdeps/ia64/fpu/dosincos.c: New file.
5097 * sysdeps/ia64/fpu/halfulp.c: New file.
5098 * sysdeps/ia64/fpu/mpa.c: New file.
5099 * sysdeps/ia64/fpu/mpatan.c: New file.
5100 * sysdeps/ia64/fpu/mpatan2.c: New file.
5101 * sysdeps/ia64/fpu/mpexp.c: New file.
5102 * sysdeps/ia64/fpu/mplog.c: New file.
5103 * sysdeps/ia64/fpu/mpsqrt.c: New file.
5104 * sysdeps/ia64/fpu/mptan.c: New file.
5105 * sysdeps/ia64/fpu/sincos32.c: New file.
5106 * sysdeps/ia64/fpu/slowexp.c: New file.
5107 * sysdeps/ia64/fpu/slowpow.c: New file.
5108 * sysdeps/m68k/fpu/branred.c: New file.
5109 * sysdeps/m68k/fpu/doasin.c: New file.
5110 * sysdeps/m68k/fpu/dosincos.c: New file.
5111 * sysdeps/m68k/fpu/halfulp.c: New file.
5112 * sysdeps/m68k/fpu/mpa.c: New file.
5113 * sysdeps/m68k/fpu/mpatan.c: New file.
5114 * sysdeps/m68k/fpu/mpatan2.c: New file.
5115 * sysdeps/m68k/fpu/mpexp.c: New file.
5116 * sysdeps/m68k/fpu/mplog.c: New file.
5117 * sysdeps/m68k/fpu/mpsqrt.c: New file.
5118 * sysdeps/m68k/fpu/mptan.c: New file.
5119 * sysdeps/m68k/fpu/sincos32.c: New file.
5120 * sysdeps/m68k/fpu/slowexp.c: New file.
5121 * sysdeps/m68k/fpu/slowpow.c: New file.
5122
5123 * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
5124 codepages.
5125
5126 2001-03-11 Andreas Jaeger <aj@suse.de>
5127
5128 * elf/elf.h (EM_*): Synch with official list.
5129
5130 2001-03-07 David Mosberger <davidm@hpl.hp.com>
5131
5132 * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
5133
5134 2001-03-07 Jes Sorensen <jes@linuxcare.com>
5135
5136 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
5137 variables addr & len.
5138
5139 2001-02-22 Jes Sorensen <jes@linuxcare.com>
5140
5141 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
5142 punctuation in asm constraint.
5143
5144 2001-03-07 Mark Kettenis <kettenis@gnu.org>
5145
5146 * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
5147 <time.h> to get definition of `struct timespec'.
5148
5149 2001-03-08 Jakub Jelinek <jakub@redhat.com>
5150
5151 * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
5152 LD_WARN=1, not if LD_WARN is unset.
5153
5154 2001-03-07 Andreas Schwab <schwab@suse.de>
5155
5156 * elf/ldconfig.h: Moved to ...
5157 * sysdeps/generic/ldconfig.h: ... here.
5158 * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
5159 * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
5160 * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
5161 * elf/readlib.c (interpreters, known_libs): Use
5162 SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
5163 instead of hard coding old names.
5164
5165 2001-03-09 Ulrich Drepper <drepper@redhat.com>
5166
5167 * catgets/Makefile (generated): Add test-gencat.h.
5168 (sample.SJIS.cat): Also generate header.
5169 * catgets/sample.SJIS: Add new set and message, both with symbolic
5170 names.
5171 * catgets/test-gencat.sh: Also compare generated header with what
5172 we expect.
5173
5174 2001-03-07 Jakub Jelinek <jakub@redhat.com>
5175
5176 * catgets/gencat.c (read_input_file): Preserve properly symbolic
5177 names.
5178
5179 2001-03-06 Andreas Jaeger <aj@suse.de>
5180
5181 * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
5182 needed.
5183 (elf_machine_pltrel_p): Likewise.
5184 * sysdeps/powerpc/dl-machine.h: Likewise.
5185 * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
5186
5187 2001-03-09 Ulrich Drepper <drepper@redhat.com>
5188
5189 * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
5190 dl-procinfo.h.
5191
5192 2001-03-05 Philip Blundell <philb@gnu.org>
5193
5194 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
5195 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
5196 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
5197 (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
5198 dl-procinfo.
5199
5200 2001-03-09 Ulrich Drepper <drepper@redhat.com>
5201
5202 * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
5203 is not available.
5204 * dlfcn/tstcxaatexit.c (main): Likewise.
5205
5206 2001-03-10 Andreas Jaeger <aj@suse.de>
5207
5208 * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
5209
5210 2001-03-09 Andreas Jaeger <aj@suse.de>
5211
5212 * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
5213 both new and old EM_S390 values.
5214 (EM_S390_OLD): New constant.
5215
5216 * elf/elf.h (EM_S390): Use official value.
5217
5218 2001-03-09 Ulrich Drepper <drepper@redhat.com>
5219
5220 * conform/data/sys/socket.h-data: Allow SO* symbols.
5221
5222 2001-03-07 Andreas Schwab <schwab@suse.de>
5223
5224 * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
5225 routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
5226
5227 2001-03-07 Andreas Jaeger <aj@suse.de>
5228
5229 * resolv/Makefile (routines): Only build gai_sigqueue when threads
5230 are available.
5231
5232 2001-03-07 Jakub Jelinek <jakub@redhat.com>
5233
5234 * elf/ldconfig.c (_dl_sysdep_message): Remove.
5235 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
5236 ldsodefs.h.
5237 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
5238
5239 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
5240 _dl_error_printf instead of _dl_sysdep_error.
5241 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5242 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
5243 Use _dl_printf instead of _dl_sysdep_message.
5244 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
5245 Likewise.
5246
5247 2001-03-06 Ben Collins <bcollins@debian.org>
5248
5249 * manual/arith.texi (Integers): Fix documentation of fast and
5250 least integer typedefs.
5251
5252 2001-03-06 Jakub Jelinek <jakub@redhat.com>
5253
5254 * resolv/Depend: New file.
5255 * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
5256 when libpthread is built.
5257
5258 2001-03-06 Andreas Jaeger <aj@suse.de>
5259
5260 * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
5261
5262 * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
5263 Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
5264
5265 2001-03-05 Ulrich Drepper <drepper@redhat.com>
5266
5267 * stdlib/Versions: Remove __new_exitfn again. Not needed.
5268
5269 2001-03-05 Andreas Jaeger <aj@suse.de>
5270
5271 * stdlib/msort.c (qsort): Don't use alloca in a function call.
5272
5273 2001-03-05 Ulrich Drepper <drepper@redhat.com>
5274
5275 * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
5276 __S_TYPEISSHM): Rewrite to enforce correct use the macros. They still
5277 always return zero.
5278 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5279 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
5280 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
5281 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
5282 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5283 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
5284 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
5285
5286 2001-03-04 Andreas Jaeger <aj@suse.de>
5287
5288 * stdlib/longlong.h: Don't use multi-line strings.
5289 * iconvdata/tst-loading.c: Likewise.
5290
5291 * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
5292 string.
5293
5294 2001-03-04 Ulrich Drepper <drepper@redhat.com>
5295
5296 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
5297
5298 * rt/lio_listio.c: Add a few asserts.
5299
5300 * elf/global.c: New file.
5301 * elf/globalmod1.c: New file.
5302 * elf/Makefile: Add rules to build and run global.
5303
5304 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
5305 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5306 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5307 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5308 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5309
5310 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
5311 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5312
5313 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
5314
5315 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
5316 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5317
5318 * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
5319
5320 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
5321
5322 2001-03-04 Andreas Jaeger <aj@suse.de>
5323
5324 * resolv/tst-aton.c: Add testcase for IP with four periods.
5325
5326 * resolv/inet_addr.c: Don't recognize an IP with four periods.
5327 Patch by Andre' Breiler <A.Breiler@gmx.net>.
5328
5329 2001-02-27 Philip Blundell <pb@futuretv.com>
5330
5331 * elf/elf.h: Add new ARM definitions from latest (B-01)
5332 specification. Correct naming of EF_ARM_ALIGN8 et al.
5333
5334 2001-03-04 Ulrich Drepper <drepper@redhat.com>
5335
5336 * stdio-common/tst-printf.sh: Remove bashisms.
5337 Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
5338
5339 2001-03-03 Ulrich Drepper <drepper@redhat.com>
5340
5341 * Versions.def: Add libanl definition.
5342 * shlib-versions: Add entry for libanl.
5343 * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
5344 (routines): Add gai_sigqueue.
5345 (extra-libs): Add libanl.
5346 (libanl-routines): New variable.
5347 Add rules to build libanl and ga_test.
5348 * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
5349 [libanl]: New library.
5350 * resolv/netdb.h: Add definitions for libanl.
5351 * resolv/getaddrinfo_a.c: New file.
5352 * resolv/gai_cancel.c: New file.
5353 * resolv/gai_error.c: New file.
5354 * resolv/gai_misc.c: New file.
5355 * resolv/gai_misc.h: New file.
5356 * resolv/gai_notify.c: New file.
5357 * resolv/gai_suspend.c: New file.
5358 * resolv/ga_test.c: New file.
5359 * sysdeps/generic/gai_sigqueue.c: New file.
5360 * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
5361 * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
5362 and provide only that definition.
5363 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
5364 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
5365 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5366 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5367 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5368 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5369
5370 * rt/aio_misc.c: Fix typos in comments.
5371 * rt/lio_listio.c: Pretty printing. Little optimization in request
5372 list handling.
5373
5374 * elf/rtld.c: Remove commented out code.
5375
5376 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
5377 Update for real 2.4 kernels.
5378
5379 2001-03-01 Ulrich Drepper <drepper@redhat.com>
5380
5381 * elf/dl-load.c: Pretty printing.
5382
5383 * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
5384 twice.
5385
5386 2001-02-28 Ulrich Drepper <drepper@redhat.com>
5387
5388 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
5389 relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
5390
5391 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
5392
5393 * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
5394 machines.
5395
5396 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
5397
5398 2001-02-27 Ulrich Drepper <drepper@redhat.com>
5399
5400 * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
5401 _dl_debug_mask.
5402
5403 * elf/Versions [ld]: Don't export _dl_debug_message anymore. Export
5404 _dl_debug_printf.
5405 * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
5406 _dl_debug_message. Define _dl_debug_vdprintf, _dl_debug_printf,
5407 _dl_debug_printf_c, and _dl_printf.
5408 * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
5409 _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
5410 _dl_sysdep_fatal. Declare _dl_debug_printf, _dl_debug_printf_c,
5411 _dl_printf, _dl_error_printf, and _dl_fatal_printf.
5412 * elf/dl-close.c: Replace use of old output functions with the new
5413 ones.
5414 * elf/dl-deps.c: Likewise.
5415 * elf/dl-error.c: Likewise.
5416 * elf/dl-fini.c: Likewise.
5417 * elf/dl-init.c: Likewise.
5418 * elf/dl-load.c: Likewise.
5419 * elf/dl-lookup.c: Likewise.
5420 * elf/dl-minimal.c: Likewise.
5421 * elf/dl-open.c: Likewise.
5422 * elf/dl-profile.c: Likewise.
5423 * elf/dl-reloc.c: Likewise.
5424 * elf/dl-version.c: Likewise.
5425 * elf/do-lookup.h: Likewise.
5426 * elf/rtld.c: Likewise.
5427 * sysdeps/generic/dl-cache.c: Likewise.
5428 * sysdeps/generic/dl-sysdep.c: Likewise.
5429 * sysdeps/generic/libc-start.c: Likewise.
5430 * sysdeps/i386/dl-machine.h: Likewise.
5431 * sysdeps/arm/dl-machine.h: Likewise.
5432 * sysdeps/hppa/dl-machine.h: Likewise.
5433 * sysdeps/m68k/dl-machine.h: Likewise.
5434 * sysdeps/powerpc/dl-machine.h: Likewise.
5435 * sysdeps/s390/dl-machine.h: Likewise.
5436 * sysdeps/sh/dl-machine.h: Likewise.
5437 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5438 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
5439 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5440
5441 * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
5442
5443 * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
5444 supported by assembler.
5445
5446 * sysdeps/generic/ldsodefs.h: Remove commented-out variable
5447 declaractions.
5448
5449 * elf/rtld.c: Little optimizations in handling _dl_lazy.
5450
5451 * elf/cache.c (save_cache): Portability changes.
5452 * elf/dl-profile.c (_dl_start_profile): Likewise.
5453
5454 * elf/sln.c: Cleanups. Remove arbitrary limits.
5455
5456 * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
5457 * elf/dl-deps.c: Likewise.
5458 * elf/dl-fini.c: Likewise.
5459 * elf/dl-init.c: Likewise.
5460 * elf/dl-load.c: Likewise.
5461 * elf/dl-lookup.c: Likewise.
5462 * elf/dl-open.c: Likewise.
5463 * elf/dl-reloc.c: Likewise.
5464 * elf/dl-support.c: Likewise.
5465 * elf/dl-version.c: Likewise.
5466 * elf/do-lookup.h: Likewise.
5467 * elf/rtld.c: Likewise.
5468 * sysdeps/generic/dl-cache.c: Likewise.
5469 * sysdeps/generic/ldsodefs.h: Likewise.
5470 * sysdeps/generic/libc-start.c: Likewise.
5471 * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
5472 Export _dl_debug_mask.
5473 * Versions.def: Define GLIBC_2.2.3 for ld.
5474
5475 2001-02-26 Greg McGary <greg@mcgary.org>
5476
5477 * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
5478
5479 2001-02-26 Paul Eggert <eggert@twinsun.com>
5480
5481 Modify mkstemp.c and tempname.c so that they can be used by
5482 GNU applications on non-glibc platforms.
5483
5484 * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
5485
5486 * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
5487 Include <stddef.h>, <stdint.h>, <string.h> only if
5488 STDC_HEADERS || _LIBC.
5489 Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
5490 Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
5491 Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
5492 (__set_errno): Define this macro if <errno.h> doesn't.
5493 (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
5494 Define these macros if <stdio.h> doesn't.
5495 (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
5496 Define these macros if <sys/stat.h> doesn't.
5497 Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
5498 (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
5499 lxstat64, __xstat64): Define if not _LIBC.
5500 (struct_stat64): New macro.
5501 (direxists, __gen_tempname): Use it, to avoid a
5502 portability problem with Solaris 8.
5503 (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
5504 (__gen_tempname): Invoke gettimeofday only if
5505 HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
5506 Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
5507 octal values like 0600.
5508
5509 2001-02-26 Ulrich Drepper <drepper@redhat.com>
5510
5511 * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
5512 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5513
5514 * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
5515 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5516
5517 * posix/wordexp-test.c (testit): Remove warnings.
5518
5519 * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
5520 (tests): Add tstatexit and tstcxaatexit.
5521 (module-names): Add modatexit and modcxaatexit.
5522 Add rules to build and run tstatexit and tstcxaatexit.
5523 * dlfcn/modatexit.c: New file.
5524 * dlfcn/modcxaatexit.c: New file.
5525 * dlfcn/tstatexit.c: New file.
5526 * dlfcn/tstcxaatexit.c: New file.
5527
5528 * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
5529 .hidden is available.
5530 * io/stat.c: If .hidden is available use it to avoid exporting
5531 functions.
5532 * io/fstat.c: Likewise.
5533 * io/lstat.c: Likewise.
5534 * io/stat64.c: Likewise.
5535 * io/fstat64.c: Likewise.
5536 * io/lstat64.c: Likewise.
5537 * sysdeps/generic/mknod.c: Likewise.
5538
5539 * malloc/mtrace.c: Use __cxa_atexit and not atexit.
5540 * sysdeps/generic/bb_init_func.c: Likewise.
5541 * sysdeps/generic/libc-start.c: Likewise.
5542
5543 * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
5544 (atexit): Implement using __cxa_atexit.
5545 Use .hidden if availble to avoid exporting atexit.
5546 * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
5547 * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
5548 * stdlib/Makefile (routines): Add old_atexit.
5549 (static-only-routines): Add atexit.
5550 Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
5551 * stdlib/old_atexit.c: New file.
5552
5553 * intl/Makefile: Remove bogus endif.
5554
5555 2001-02-26 Andreas Jaeger <aj@suse.de>
5556
5557 * iconvdata/Makefile (tests): Fix typo in last patch.
5558
5559 * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
5560 available.
5561 Reported by Achim Gottinger <achim@gentoo.org>.
5562
5563 2001-02-25 Andreas Jaeger <aj@suse.de>
5564
5565 * intl/Makefile (plural.c): Reorder rules so that they work if
5566 BISON doesn't exist.
5567
5568 2001-02-25 Ulrich Drepper <drepper@redhat.com>
5569
5570 * intl/locale.alias: Don't use nb_NO but define aliases for it.
5571
5572 2001-02-23 Ulrich Drepper <drepper@redhat.com>
5573
5574 * sysdeps/i386/strtok.S: Continue to return NULL after the first
5575 time this happened.
5576
5577 2001-02-23 Andreas Jaeger <aj@suse.de>
5578
5579 * string/tester.c (test_strtok_r): Add testcase.
5580 (test_strtok_r): Always initialize cp for proper checking.
5581
5582 * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
5583 returning NULL correctly.
5584 Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
5585 * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
5586
5587 2001-02-23 Ulrich Drepper <drepper@redhat.com>
5588
5589 * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
5590 including <stddef.h>.
5591 * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
5592 * include/libc-symbols.h (weak_alias): Don't use .weak if
5593 HAVE_ASM_GLOBAL_DOT_NAME is defined.
5594 Patches by Michael Keezer <mkeezer@redhat.com>.
5595
5596 * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
5597 Patch by Michael Keezer <mkeezer@redhat.com>.
5598
5599 * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
5600 * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
5601 (sysdep_routines): Remove restf.S and savef.S.
5602 * sysdeps/unix/sysv/aix/restf.S: Removed.
5603 * sysdeps/unix/sysv/aix/savef.S: Removed.
5604 * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label. Also define
5605 alternative names used on some platforms.
5606 * sysdeps/powerpc/fprsave.S: Likewise.
5607 * sysdeps/powerpc/gprrest0.S: Likewise.
5608 * sysdeps/powerpc/gprrest1.S: Likewise.
5609 * sysdeps/powerpc/gprsave0.S: Likewise.
5610 * sysdeps/powerpc/gprsave1.S: Likewise.
5611 Patch by Michael Keezer <mkeezer@redhat.com>.
5612
5613 2001-02-22 Ulrich Drepper <drepper@redhat.com>
5614
5615 * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
5616
5617 2001-02-22 Andreas Jaeger <aj@suse.de>
5618
5619 * string/tst-strtok.c (main): Fix error messages.
5620
5621 2001-02-22 Andreas Jaeger <aj@suse.de>
5622
5623 * math/Makefile: Remove omit-long-double-fcts.
5624
5625 2001-02-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5626
5627 * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
5628 avoid problems on MIPS I.
5629 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
5630
5631 * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
5632 noreorder".
5633
5634 2001-02-21 Ulrich Drepper <drepper@redhat.com>
5635
5636 * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
5637
5638 * sysdeps/generic/ftime.c: Include <time.h>.
5639
5640 * configure.in: Don't check for libgd if user passed --without-gd.
5641 Patch by Achim Gottinger <achim@gentoo.org>.
5642
5643 * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
5644 first time this happened.
5645 * string/Makefile (tests): Add tst-strtok.
5646
5647 2001-02-21 Andreas Jaeger <aj@suse.de>
5648
5649 * string/tst-strtok.c: New testcase, reported by
5650 Andrew Church <achurch@achurch.org>.
5651
5652 2001-02-20 Ulrich Drepper <drepper@redhat.com>
5653
5654 * libio/iofwide.c: Remove fwide alias.
5655
5656 2001-02-20 Andreas Jaeger <aj@suse.de>
5657
5658 * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
5659 is available.
5660 Reported by Achim Gottinger <achim@gentoo.org>.
5661
5662 2001-02-19 Ulrich Drepper <drepper@redhat.com>
5663
5664 * iconv/tst-iconv1.c (main): Remove debugging code.
5665
5666 * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
5667 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5668
5669 * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
5670 parameters.
5671 * sysdeps/generic/e_scalbf.c: Likewise.
5672 * sysdeps/generic/e_scalbl.c: Likewise.
5673
5674 * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
5675 libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
5676 in libc.
5677 (routines): Replace libm_error with libc_libm_error.
5678 * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
5679 * sysdeps/ia64/fpu/libc_libm_error.c: New file.
5680
5681 2001-02-18 Mark Kettenis <kettenis@gnu.org>
5682
5683 * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
5684 (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
5685
5686 2001-02-17 H.J. Lu <hjl@gnu.org>
5687
5688 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
5689 scratch registers across the system call.
5690
5691 2001-02-19 Andreas Jaeger <aj@suse.de>
5692
5693 * malloc/Makefile (tests): Run mtrace only when perl is available.
5694 Reported by Achim Gottinger <achim@gentoo.org>.
5695
5696 2001-02-19 Ulrich Drepper <drepper@redhat.com>
5697
5698 * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
5699 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5700
5701 * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
5702 * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
5703 * math/libm-test.inc (j1_test): Mark constants as long double.
5704 (jn_test): Likewise.
5705 (y1_test): Likewise.
5706 (yn_test): Likewise.
5707
5708 * libio/iogetline.c: Move return until after last statement.
5709
5710 * localedata/show-ucs-data.c: Don't show < > for better readability.
5711
5712 * sysdeps/ia64/fpu/Dist: New file.
5713 * sysdeps/ia64/fpu/Makefile: New file.
5714 * sysdeps/ia64/fpu/Versions: New file.
5715 * sysdeps/ia64/fpu/e_acos.S: New file.
5716 * sysdeps/ia64/fpu/e_acosf.S: New file.
5717 * sysdeps/ia64/fpu/e_acosl.S: New file.
5718 * sysdeps/ia64/fpu/e_asin.S: New file.
5719 * sysdeps/ia64/fpu/e_asinf.S: New file.
5720 * sysdeps/ia64/fpu/e_asinl.S: New file.
5721 * sysdeps/ia64/fpu/e_atan2.S: New file.
5722 * sysdeps/ia64/fpu/e_atan2f.S: New file.
5723 * sysdeps/ia64/fpu/e_atan2l.c: New file.
5724 * sysdeps/ia64/fpu/e_cosh.S: New file.
5725 * sysdeps/ia64/fpu/e_coshf.S: New file.
5726 * sysdeps/ia64/fpu/e_coshl.S: New file.
5727 * sysdeps/ia64/fpu/e_exp.S: New file.
5728 * sysdeps/ia64/fpu/e_expf.S: New file.
5729 * sysdeps/ia64/fpu/e_expl.c: New file.
5730 * sysdeps/ia64/fpu/e_fmod.S: New file.
5731 * sysdeps/ia64/fpu/e_fmodf.S: New file.
5732 * sysdeps/ia64/fpu/e_fmodl.S: New file.
5733 * sysdeps/ia64/fpu/e_hypot.S: New file.
5734 * sysdeps/ia64/fpu/e_hypotf.S: New file.
5735 * sysdeps/ia64/fpu/e_hypotl.S: New file.
5736 * sysdeps/ia64/fpu/e_log.S: New file.
5737 * sysdeps/ia64/fpu/e_log10.c: New file.
5738 * sysdeps/ia64/fpu/e_log10f.c: New file.
5739 * sysdeps/ia64/fpu/e_log10l.c: New file.
5740 * sysdeps/ia64/fpu/e_logf.S: New file.
5741 * sysdeps/ia64/fpu/e_logl.c: New file.
5742 * sysdeps/ia64/fpu/e_pow.S: New file.
5743 * sysdeps/ia64/fpu/e_powf.S: New file.
5744 * sysdeps/ia64/fpu/e_powl.S: New file.
5745 * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
5746 * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
5747 * sysdeps/ia64/fpu/e_remainder.S: New file.
5748 * sysdeps/ia64/fpu/e_remainderf.S: New file.
5749 * sysdeps/ia64/fpu/e_remainderl.S: New file.
5750 * sysdeps/ia64/fpu/e_scalb.S: New file.
5751 * sysdeps/ia64/fpu/e_scalbf.S: New file.
5752 * sysdeps/ia64/fpu/e_scalbl.S: New file.
5753 * sysdeps/ia64/fpu/e_sinh.S: New file.
5754 * sysdeps/ia64/fpu/e_sinhf.S: New file.
5755 * sysdeps/ia64/fpu/e_sinhl.S: New file.
5756 * sysdeps/ia64/fpu/e_sqrt.S: New file.
5757 * sysdeps/ia64/fpu/e_sqrtf.S: New file.
5758 * sysdeps/ia64/fpu/e_sqrtl.S: New file.
5759 * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
5760 * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
5761 * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
5762 * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
5763 * sysdeps/ia64/fpu/libm_error.c: New file.
5764 * sysdeps/ia64/fpu/libm_frexp4.S: New file.
5765 * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
5766 * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
5767 * sysdeps/ia64/fpu/libm_reduce.S: New file.
5768 * sysdeps/ia64/fpu/libm_support.h: New file.
5769 * sysdeps/ia64/fpu/libm_tan.S: New file.
5770 * sysdeps/ia64/fpu/s_atan.S: New file.
5771 * sysdeps/ia64/fpu/s_atanf.S: New file.
5772 * sysdeps/ia64/fpu/s_atanl.S: New file.
5773 * sysdeps/ia64/fpu/s_cbrt.S: New file.
5774 * sysdeps/ia64/fpu/s_cbrtf.S: New file.
5775 * sysdeps/ia64/fpu/s_cbrtl.S: New file.
5776 * sysdeps/ia64/fpu/s_ceil.S: New file.
5777 * sysdeps/ia64/fpu/s_ceilf.S: New file.
5778 * sysdeps/ia64/fpu/s_ceill.S: New file.
5779 * sysdeps/ia64/fpu/s_cos.S: New file.
5780 * sysdeps/ia64/fpu/s_cosf.S: New file.
5781 * sysdeps/ia64/fpu/s_cosl.S: New file.
5782 * sysdeps/ia64/fpu/s_expm1.S: New file.
5783 * sysdeps/ia64/fpu/s_expm1f.S: New file.
5784 * sysdeps/ia64/fpu/s_expm1l.S: New file.
5785 * sysdeps/ia64/fpu/s_floor.S: New file.
5786 * sysdeps/ia64/fpu/s_floorf.S: New file.
5787 * sysdeps/ia64/fpu/s_floorl.S: New file.
5788 * sysdeps/ia64/fpu/s_frexp.c: New file.
5789 * sysdeps/ia64/fpu/s_frexpf.c: New file.
5790 * sysdeps/ia64/fpu/s_frexpl.c: New file.
5791 * sysdeps/ia64/fpu/s_ilogb.S: New file.
5792 * sysdeps/ia64/fpu/s_ilogbf.S: New file.
5793 * sysdeps/ia64/fpu/s_ilogbl.S: New file.
5794 * sysdeps/ia64/fpu/s_ldexp.S: New file.
5795 * sysdeps/ia64/fpu/s_ldexpf.S: New file.
5796 * sysdeps/ia64/fpu/s_ldexpl.S: New file.
5797 * sysdeps/ia64/fpu/s_log1p.S: New file.
5798 * sysdeps/ia64/fpu/s_log1pf.S: New file.
5799 * sysdeps/ia64/fpu/s_log1pl.S: New file.
5800 * sysdeps/ia64/fpu/s_logb.S: New file.
5801 * sysdeps/ia64/fpu/s_logbf.S: New file.
5802 * sysdeps/ia64/fpu/s_logbl.S: New file.
5803 * sysdeps/ia64/fpu/s_matherrf.c: New file.
5804 * sysdeps/ia64/fpu/s_matherrl.c: New file.
5805 * sysdeps/ia64/fpu/s_modf.S: New file.
5806 * sysdeps/ia64/fpu/s_modff.S: New file.
5807 * sysdeps/ia64/fpu/s_modfl.S: New file.
5808 * sysdeps/ia64/fpu/s_nearbyint.S: New file.
5809 * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
5810 * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
5811 * sysdeps/ia64/fpu/s_rint.S: New file.
5812 * sysdeps/ia64/fpu/s_rintf.S: New file.
5813 * sysdeps/ia64/fpu/s_rintl.S: New file.
5814 * sysdeps/ia64/fpu/s_round.S: New file.
5815 * sysdeps/ia64/fpu/s_roundf.S: New file.
5816 * sysdeps/ia64/fpu/s_roundl.S: New file.
5817 * sysdeps/ia64/fpu/s_scalbn.S: New file.
5818 * sysdeps/ia64/fpu/s_scalbnf.S: New file.
5819 * sysdeps/ia64/fpu/s_scalbnl.S: New file.
5820 * sysdeps/ia64/fpu/s_significand.S: New file.
5821 * sysdeps/ia64/fpu/s_significandf.S: New file.
5822 * sysdeps/ia64/fpu/s_significandl.S: New file.
5823 * sysdeps/ia64/fpu/s_sin.c: New file.
5824 * sysdeps/ia64/fpu/s_sincos.c: New file.
5825 * sysdeps/ia64/fpu/s_sincosf.c: New file.
5826 * sysdeps/ia64/fpu/s_sincosl.c: New file.
5827 * sysdeps/ia64/fpu/s_sinf.c: New file.
5828 * sysdeps/ia64/fpu/s_sinl.c: New file.
5829 * sysdeps/ia64/fpu/s_tan.S: New file.
5830 * sysdeps/ia64/fpu/s_tanf.S: New file.
5831 * sysdeps/ia64/fpu/s_tanl.S: New file.
5832 * sysdeps/ia64/fpu/s_trunc.S: New file.
5833 * sysdeps/ia64/fpu/s_truncf.S: New file.
5834 * sysdeps/ia64/fpu/s_truncl.S: New file.
5835 * sysdeps/ia64/fpu/w_acos.c: New file.
5836 * sysdeps/ia64/fpu/w_acosf.c: New file.
5837 * sysdeps/ia64/fpu/w_acosl.c: New file.
5838 * sysdeps/ia64/fpu/w_asin.c: New file.
5839 * sysdeps/ia64/fpu/w_asinf.c: New file.
5840 * sysdeps/ia64/fpu/w_asinl.c: New file.
5841 * sysdeps/ia64/fpu/w_atan2.c: New file.
5842 * sysdeps/ia64/fpu/w_atan2f.c: New file.
5843 * sysdeps/ia64/fpu/w_atan2l.c: New file.
5844 * sysdeps/ia64/fpu/w_cosh.c: New file.
5845 * sysdeps/ia64/fpu/w_coshf.c: New file.
5846 * sysdeps/ia64/fpu/w_coshl.c: New file.
5847 * sysdeps/ia64/fpu/w_exp.c: New file.
5848 * sysdeps/ia64/fpu/w_expf.c: New file.
5849 * sysdeps/ia64/fpu/w_fmod.c: New file.
5850 * sysdeps/ia64/fpu/w_fmodf.c: New file.
5851 * sysdeps/ia64/fpu/w_fmodl.c: New file.
5852 * sysdeps/ia64/fpu/w_hypot.c: New file.
5853 * sysdeps/ia64/fpu/w_hypotf.c: New file.
5854 * sysdeps/ia64/fpu/w_hypotl.c: New file.
5855 * sysdeps/ia64/fpu/w_log.c: New file.
5856 * sysdeps/ia64/fpu/w_log10.c: New file.
5857 * sysdeps/ia64/fpu/w_log10f.c: New file.
5858 * sysdeps/ia64/fpu/w_log10l.c: New file.
5859 * sysdeps/ia64/fpu/w_logf.c: New file.
5860 * sysdeps/ia64/fpu/w_logl.c: New file.
5861 * sysdeps/ia64/fpu/w_pow.c: New file.
5862 * sysdeps/ia64/fpu/w_powf.c: New file.
5863 * sysdeps/ia64/fpu/w_powl.c: New file.
5864 * sysdeps/ia64/fpu/w_remainder.c: New file.
5865 * sysdeps/ia64/fpu/w_remainderf.c: New file.
5866 * sysdeps/ia64/fpu/w_remainderl.c: New file.
5867 * sysdeps/ia64/fpu/w_scalb.c: New file.
5868 * sysdeps/ia64/fpu/w_scalbf.c: New file.
5869 * sysdeps/ia64/fpu/w_scalbl.c: New file.
5870 * sysdeps/ia64/fpu/w_sqrt.c: New file.
5871 * sysdeps/ia64/fpu/w_sqrtf.c: New file.
5872 * sysdeps/ia64/fpu/w_sqrtl.c: New file.
5873 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
5874 implementation.
5875 * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
5876 Change FP_ILOGBNAN for new implementation.
5877 * Verions.def: Add 2.2.3 versions.
5878
5879 2001-02-18 Ulrich Drepper <drepper@redhat.com>
5880
5881 * math/libm-test.inc (scalb_test): Require invalid exception being
5882 raised for invalid parameters.
5883 * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
5884 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5885 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5886
5887 2001-02-18 Mark Kettenis <kettenis@gnu.org>
5888
5889 * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
5890 value to long int.
5891 (__get_avphys_pages): Likewise.
5892
5893 2001-02-18 Ulrich Drepper <drepper@redhat.com>
5894
5895 * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
5896 * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
5897 * sysdeps/i386/fpu/e_powf.S: Likewise.
5898 * sysdeps/i386/fpu/e_powl.S: Likewise.
5899
5900 * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
5901
5902 2001-02-17 Ulrich Drepper <drepper@redhat.com>
5903
5904 * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
5905
5906 * sysdeps/generic/s_exp2l.c: Renamed to...
5907 * sysdeps/generic/e_exp2l.c: ...this. New file.
5908 * sysdeps/i386/fpu/s_exp2.S: Renamed to...
5909 * sysdeps/i386/fpu/e_exp2.S: ...this. New file.
5910 * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
5911 * sysdeps/i386/fpu/e_exp2f.S: ...this. New file.
5912 * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
5913 * sysdeps/i386/fpu/e_exp2l.S: ...this. New file.
5914 * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
5915 * sysdeps/ieee754/flt-32/e_exp2f.c: ...this. New file.
5916 * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
5917 * sysdeps/ieee754/dbl-64/e_exp2.c: ...this. New file.
5918 * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
5919 * sysdeps/m68k/fpu/e_exp2.c: ...this. New file.
5920 * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
5921 * sysdeps/m68k/fpu/e_exp2f.c: ...this. New file.
5922 * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
5923 * sysdeps/m68k/fpu/e_exp2l.c: ...this. New file.
5924
5925 2001-02-17 Andreas Jaeger <aj@suse.de>
5926
5927 * configure.in: Allow gcc 3.
5928
5929 2001-02-16 Ulrich Drepper <drepper@redhat.com>
5930
5931 * math/w_acos.c: Move to ...
5932 * sysdeps/generic/w_acos.c: ...here. New file.
5933 * math/w_acosf.c: Move to ...
5934 * sysdeps/generic/w_acosf.c: ...here. New file.
5935 * math/w_acosh.c: Move to ...
5936 * sysdeps/generic/w_acosh.c: ...here. New file.
5937 * math/w_acoshf.c: Move to ...
5938 * sysdeps/generic/w_acoshf.c: ...here. New file.
5939 * math/w_acoshl.c: Move to ...
5940 * sysdeps/generic/w_acoshl.c: ...here. New file.
5941 * math/w_acosl.c: Move to ...
5942 * sysdeps/generic/w_acosl.c: ...here. New file.
5943 * math/w_asin.c: Move to ...
5944 * sysdeps/generic/w_asin.c: ...here. New file.
5945 * math/w_asinf.c: Move to ...
5946 * sysdeps/generic/w_asinf.c: ...here. New file.
5947 * math/w_asinl.c: Move to ...
5948 * sysdeps/generic/w_asinl.c: ...here. New file.
5949 * math/w_atan2.c: Move to ...
5950 * sysdeps/generic/w_atan2.c: ...here. New file.
5951 * math/w_atan2f.c: Move to ...
5952 * sysdeps/generic/w_atan2f.c: ...here. New file.
5953 * math/w_atan2l.c: Move to ...
5954 * sysdeps/generic/w_atan2l.c: ...here. New file.
5955 * math/w_atanh.c: Move to ...
5956 * sysdeps/generic/w_atanh.c: ...here. New file.
5957 * math/w_atanhf.c: Move to ...
5958 * sysdeps/generic/w_atanhf.c: ...here. New file.
5959 * math/w_atanhl.c: Move to ...
5960 * sysdeps/generic/w_atanhl.c: ...here. New file.
5961 * math/w_cosh.c: Move to ...
5962 * sysdeps/generic/w_cosh.c: ...here. New file.
5963 * math/w_coshf.c: Move to ...
5964 * sysdeps/generic/w_coshf.c: ...here. New file.
5965 * math/w_coshl.c: Move to ...
5966 * sysdeps/generic/w_coshl.c: ...here. New file.
5967 * math/w_drem.c: Move to ...
5968 * sysdeps/generic/w_drem.c: ...here. New file.
5969 * math/w_dremf.c: Move to ...
5970 * sysdeps/generic/w_dremf.c: ...here. New file.
5971 * math/w_dreml.c: Move to ...
5972 * sysdeps/generic/w_dreml.c: ...here. New file.
5973 * math/w_exp10.c: Move to ...
5974 * sysdeps/generic/w_exp10.c: ...here. New file.
5975 * math/w_exp10f.c: Move to ...
5976 * sysdeps/generic/w_exp10f.c: ...here. New file.
5977 * math/w_exp10l.c: Move to ...
5978 * sysdeps/generic/w_exp10l.c: ...here. New file.
5979 * math/w_exp2.c: Move to ...
5980 * sysdeps/generic/w_exp2.c: ...here. New file.
5981 * math/w_exp2f.c: Move to ...
5982 * sysdeps/generic/w_exp2f.c: ...here. New file.
5983 * math/w_exp2l.c: Move to ...
5984 * sysdeps/generic/w_exp2l.c: ...here. New file.
5985 * math/w_fmod.c: Move to ...
5986 * sysdeps/generic/w_fmod.c: ...here. New file.
5987 * math/w_fmodf.c: Move to ...
5988 * sysdeps/generic/w_fmodf.c: ...here. New file.
5989 * math/w_fmodl.c: Move to ...
5990 * sysdeps/generic/w_fmodl.c: ...here. New file.
5991 * math/w_hypot.c: Move to ...
5992 * sysdeps/generic/w_hypot.c: ...here. New file.
5993 * math/w_hypotf.c: Move to ...
5994 * sysdeps/generic/w_hypotf.c: ...here. New file.
5995 * math/w_hypotl.c: Move to ...
5996 * sysdeps/generic/w_hypotl.c: ...here. New file.
5997 * math/w_j0.c: Move to ...
5998 * sysdeps/generic/w_j0.c: ...here. New file.
5999 * math/w_j0f.c: Move to ...
6000 * sysdeps/generic/w_j0f.c: ...here. New file.
6001 * math/w_j0l.c: Move to ...
6002 * sysdeps/generic/w_j0l.c: ...here. New file.
6003 * math/w_j1.c: Move to ...
6004 * sysdeps/generic/w_j1.c: ...here. New file.
6005 * math/w_j1f.c: Move to ...
6006 * sysdeps/generic/w_j1f.c: ...here. New file.
6007 * math/w_j1l.c: Move to ...
6008 * sysdeps/generic/w_j1l.c: ...here. New file.
6009 * math/w_jn.c: Move to ...
6010 * sysdeps/generic/w_jn.c: ...here. New file.
6011 * math/w_jnf.c: Move to ...
6012 * sysdeps/generic/w_jnf.c: ...here. New file.
6013 * math/w_jnl.c: Move to ...
6014 * sysdeps/generic/w_jnl.c: ...here. New file.
6015 * math/w_lgamma.c: Move to ...
6016 * sysdeps/generic/w_lgamma.c: ...here. New file.
6017 * math/w_lgammaf.c: Move to ...
6018 * sysdeps/generic/w_lgammaf.c: ...here. New file.
6019 * math/w_lgammaf_r.c: Move to ...
6020 * sysdeps/generic/w_lgammaf_r.c: ...here. New file.
6021 * math/w_lgammal.c: Move to ...
6022 * sysdeps/generic/w_lgammal.c: ...here. New file.
6023 * math/w_lgammal_r.c: Move to ...
6024 * sysdeps/generic/w_lgammal_r.c: ...here. New file.
6025 * math/w_lgamma_r.c: Move to ...
6026 * sysdeps/generic/w_lgamma_r.c: ...here. New file.
6027 * math/w_log10.c: Move to ...
6028 * sysdeps/generic/w_log10.c: ...here. New file.
6029 * math/w_log10f.c: Move to ...
6030 * sysdeps/generic/w_log10f.c: ...here. New file.
6031 * math/w_log10l.c: Move to ...
6032 * sysdeps/generic/w_log10l.c: ...here. New file.
6033 * math/w_log.c: Move to ...
6034 * sysdeps/generic/w_log.c: ...here. New file.
6035 * math/w_logf.c: Move to ...
6036 * sysdeps/generic/w_logf.c: ...here. New file.
6037 * math/w_logl.c: Move to ...
6038 * sysdeps/generic/w_logl.c: ...here. New file.
6039 * math/w_pow.c: Move to ...
6040 * sysdeps/generic/w_pow.c: ...here. New file.
6041 * math/w_powf.c: Move to ...
6042 * sysdeps/generic/w_powf.c: ...here. New file.
6043 * math/w_powl.c: Move to ...
6044 * sysdeps/generic/w_powl.c: ...here. New file.
6045 * math/w_remainder.c: Move to ...
6046 * sysdeps/generic/w_remainder.c: ...here. New file.
6047 * math/w_remainderf.c: Move to ...
6048 * sysdeps/generic/w_remainderf.c: ...here. New file.
6049 * math/w_remainderl.c: Move to ...
6050 * sysdeps/generic/w_remainderl.c: ...here. New file.
6051 * math/w_scalb.c: Move to ...
6052 * sysdeps/generic/w_scalb.c: ...here. New file.
6053 * math/w_scalbf.c: Move to ...
6054 * sysdeps/generic/w_scalbf.c: ...here. New file.
6055 * math/w_scalbl.c: Move to ...
6056 * sysdeps/generic/w_scalbl.c: ...here. New file.
6057 * math/w_sinh.c: Move to ...
6058 * sysdeps/generic/w_sinh.c: ...here. New file.
6059 * math/w_sinhf.c: Move to ...
6060 * sysdeps/generic/w_sinhf.c: ...here. New file.
6061 * math/w_sinhl.c: Move to ...
6062 * sysdeps/generic/w_sinhl.c: ...here. New file.
6063 * math/w_sqrtl.c: Move to ...
6064 * sysdeps/generic/w_sqrtl.c: ...here. New file.
6065 * math/w_tgamma.c: Move to ...
6066 * sysdeps/generic/w_tgamma.c: ...here. New file.
6067 * math/w_tgammaf.c: Move to ...
6068 * sysdeps/generic/w_tgammaf.c: ...here. New file.
6069 * math/w_tgammal.c: Move to ...
6070 * sysdeps/generic/w_tgammal.c: ...here. New file.
6071
6072 * locale/programs/ld-address.c (address_finish): Add 'S' to allow
6073 formats for postal_fmt.
6074
6075 2001-02-16 Jakub Jelinek <jakub@redhat.com>
6076
6077 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
6078 __ftruncate64 alias.
6079 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
6080 Likewise.
6081
6082 2001-02-15 David Mosberger <davidm@hpl.hp.com>
6083
6084 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
6085 do "loadrs". Writing to bspstore already takes care of
6086 invalidating the "clean" partition.
6087
6088 2001-02-16 Andreas Schwab <schwab@suse.de>
6089
6090 * sysdeps/m68k/fpu/s_nextafterl.c: New file.
6091 * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
6092
6093 2001-02-15 Jakub Jelinek <jakub@redhat.com>
6094
6095 * posix/regex.c (init_syntax_once): Add prototype.
6096 (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
6097 (re_search_2): Avoid warning.
6098 (count_mbs_length): Add prototype.
6099 * posix/tst-regex3.c: New file.
6100 * posix/Makefile (tests): Add bug-regex3.
6101
6102 2001-02-15 Ulrich Drepper <drepper@redhat.com>
6103
6104 * stdio-common/Makefile (tests): Add tst-gets.
6105 * stdio-common/tst-gets.c: New file.
6106 * stdio-common/tst-gets.input: New file.
6107
6108 * elf/elf.h (DT_CHECKSUM): Define.
6109
6110 * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
6111 default symbol.
6112 * sysdeps/generic/strtoull.c: Likewise.
6113
6114 2001-02-14 Wolfram Gloger <wg@malloc.de>
6115
6116 * malloc/malloc.c (new_heap): When allocating large chunk aligned
6117 to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
6118 between the heaps.
6119
6120 2001-02-14 Ulrich Drepper <drepper@redhat.com>
6121
6122 * math/libm-test.inc (j0_test): Check whether sincos is available.
6123 (j1_test): Likewise.
6124 (jn_test): Likewise.
6125 (y0_test): Likewise.
6126 (y1_test): Likewise.
6127 (yn_test): Likewise.
6128
6129 * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
6130 fake filesystem routines to handle this.
6131
6132 * time/sys/time.h: Make settimeofday and adjtime available if
6133 _BSD_SOURCE.
6134
6135 * time/sys/time.h: Make timer* macros available for BSD.
6136
6137 * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
6138 Patch by Yong Li <rigel863@yahoo.com>.
6139
6140 * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
6141 name.
6142
6143 * posix/Makefile (tests): Add tst-gnuglob.
6144 * posix/tst-gnuglob.c: New file.
6145
6146 2001-02-13 H.J. Lu <hjl@gnu.org>
6147
6148 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
6149
6150 2001-02-13 Ulrich Drepper <drepper@redhat.com>
6151
6152 * locale/programs/ld-paper.c (paper_output): Pretty printing.
6153
6154 * iconvdata/Makefile (modules): Add GBBIG5.
6155 (distribute): Add gbbig5.c.
6156 * iconvdata/gconv-modules: Add entries for GBBIG5 module.
6157
6158 * iconvdata/gbbig5.c: New file.
6159 Contributed by Yong Li <rigel863@yahoo.com>.
6160
6161 2001-02-13 Philip Blundell <pb@futuretv.com>
6162
6163 * manual/crypt.texi: Remove outdated references to crypt add-on.
6164
6165 * manual/creature.texi: Improve wording slightly.
6166
6167 2001-02-13 Ulrich Drepper <drepper@redhat.com>
6168
6169 * io/ftw.c: Always use readdir64.
6170 * io/ftw64.c: Likewise.
6171 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6172 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6173 * sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir
6174 callback to dirent. Still allow compiling outside glibc.
6175 * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
6176 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6177
6178 * malloc/mtrace.c: Use fopen64.
6179 * posix/spawni.c: Use __open64.
6180 * sysdeps/unix/opendir.c: Likewise.
6181 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
6182
6183 * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
6184 name a weak alias.
6185 * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
6186 * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
6187 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
6188 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
6189
6190 * resolv/res_data.c: Add cast to avoid warning.
6191
6192 * include/unistd.h: Declare __ftruncate64.
6193
6194 * sysdeps/generic/utmp_file.c: Use LFS functions and types.
6195
6196 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
6197 instead of __lseek.
6198
6199 2001-02-13 Andreas Jaeger <aj@suse.de>
6200
6201 * login/getutent_r.c: Include <stdlib.h> for NULL.
6202 * login/getutid_r.c: Likewise.
6203
6204 2001-02-12 Ulrich Drepper <drepper@redhat.com>
6205
6206 * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
6207 * sysdeps/dbl-64/e_j1.c: Likewise.
6208 * sysdeps/dbl-64/e_jn.c: Likewise.
6209 * sysdeps/flt-32/e_j0f.c: Likewise.
6210 * sysdeps/flt-32/e_j1f.c: Likewise.
6211 * sysdeps/ldbl-96/e_j0l.c: Likewise.
6212
6213 2000-12-02 H.J. Lu <hjl@gnu.org>
6214
6215 * resolv/res_libc.c (res_init): Don't make it default.
6216
6217 2001-02-12 Ulrich Drepper <drepper@redhat.com>
6218
6219 * manual/debug.texi: Improved the wording.
6220 Patch by Philip Blundell <pb@futuretv.com>.
6221
6222 2001-02-12 Andreas Jaeger <aj@suse.de>
6223
6224 * posix/Makefile (tests): Don't run bug-regex2 when
6225 cross-compiling.
6226
6227 * libio/Makefile (tests): Don't run test-freopen when
6228 cross-compiling.
6229
6230 * manual/stdio.texi (Streams and I18N): Fix typos.
6231
6232 2001-02-12 Ulrich Drepper <drepper@redhat.com>
6233
6234 * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
6235
6236 * math/libm-test.inc (j0_test): Make expected results long double
6237 constants.
6238 (y0_test): Likewise.
6239
6240 * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
6241 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
6242
6243 2001-02-11 Jakub Jelinek <jakub@redhat.com>
6244
6245 * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
6246 which was exported from libc.
6247 * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
6248
6249 2001-02-12 Andreas Jaeger <aj@suse.de>
6250
6251 * manual/arith.texi (Parsing of Integers): Fix some wordings.
6252
6253 2001-02-11 Ulrich Drepper <drepper@redhat.com>
6254
6255 * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
6256 and get_avphys_page to long int.
6257 * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
6258 * include/sys/sysinfo.h: Likewise.
6259 * sysdeps/generic/sys/sysinfo.h: Likewise.
6260 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
6261
6262 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
6263 cannot return as many values as the user asked for.
6264
6265 2001-02-11 Andreas Jaeger <aj@suse.de>
6266
6267 * manual/resource.texi (Memory Resources): Fix typo.
6268
6269 * libio/Makefile ($(objpfx)test-freopen.out): Pass
6270 run-program-prefix.
6271
6272 * libio/test-freopen.sh: Use run_program_prefix.
6273
6274 2001-02-10 Andreas Jaeger <aj@suse.de>
6275
6276 * stdlib/Makefile (tests): Don't run tst-fmtmsg when
6277 cross-compiling.
6278 ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
6279
6280 * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
6281 only builds.
6282
6283 * elf/Makefile (tests): Only run tst-pathopt with shared libs.
6284
6285 * posix/Makefile: Fix typo, it's build-static-nss.
6286
6287 * iconv/Makefile (extra-objs): New.
6288
6289 2001-02-10 Mark Kettenis <kettenis@gnu.org>
6290
6291 * sysdeps/unix/stime.c: Include <time.h>.
6292
6293 * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
6294
6295 2001-02-10 Andreas Jaeger <aj@suse.de>
6296
6297 * manual/string.texi (Search Functions): Fix typo.
6298
6299 2001-02-10 Mark Kettenis <kettenis@gnu.org>
6300
6301 * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
6302 (timeval_to_clock_t): Add clk_tck argument and use that instead of
6303 CLK_TCK.
6304 (__times): Use __getclktck to get the number of clock ticks per
6305 second and use its return value instead of CLK_TCK.
6306
6307 2001-02-10 Mark Kettenis <kettenis@gnu.org>
6308
6309 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
6310
6311 2001-02-10 Mark Kettenis <kettenis@gnu.org>
6312
6313 * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
6314
6315 2001-02-10 Andreas Jaeger <aj@suse.de>
6316
6317 * wctype/wcfuncs.c (func): Add prototype declarations to avoid
6318 warning.
6319
6320 2001-02-09 Ulrich Drepper <drepper@redhat.com>
6321
6322 * posix/Makefile: Add rules to build and run bug-regex2.
6323 * posix/bug-regex2.c: New file.
6324
6325 2001-02-10 Jakub Jelinek <jakub@redhat.com>
6326
6327 * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
6328 (regex_compile): Likewise.
6329 (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
6330 (re_match_2_internal): Use just is_binary instead of two variables.
6331 Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
6332
6333 2001-02-09 Ulrich Drepper <drepper@redhat.com>
6334
6335 * version.h (VERSION): Bump to 2.2.2.
6336
6337 * iconv/Makefile (distribute): Add iconv_charmap.c and
6338 dummy-repertoire.c.
6339 * elf/Makefile (distribute): Add firstobj.c.
6340 * Makefile (distribute): Add include/pthread.h.
6341
6342 * configure.in: Require makeinfo version 4.
6343
6344 * libio/tst_wscanf.c (main): Add cast to avoid warning.
6345 * libio/tst_swscanf.c (main): Likewise..
6346
6347 2001-02-09 Jakub Jelinek <jakub@redhat.com>
6348
6349 * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
6350 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
6351 __NO_MATH_INLINES.
6352 * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
6353 if not RTLD_BOOTSTRAP.
6354 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6355 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6356
6357 2001-02-09 Ulrich Drepper <drepper@redhat.com>
6358
6359 * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use
6360 lr_ungetc to push back last read character.
6361 * locale/programs/linereader.h (lr_ungetc): Don't push back is
6362 character is EOF.
6363 (lr_ignore_rest): Don't warn about garbage if it is really the end
6364 of the file.
6365
6366 * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
6367 definition.
6368
6369 2001-02-08 Ulrich Drepper <drepper@redhat.com>
6370
6371 * Makerules (build-shlib): Work around different order of
6372 processing of -B option in different gcc versions.
6373
6374 * posix/regex.c: Fix alignment problem.
6375 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6376
6377 * sysdeps/alpha/strrchr.S: Little optimization.
6378 Patch by Richard Henderson <rth@redhat.com>.
6379
6380 * sysdeps/alpha/alphaev67/strrchr.S: New file.
6381 Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
6382
6383 2001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
6384
6385 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
6386 in the assembler end directive.
6387
6388 2001-02-08 Andreas Jaeger <aj@suse.de>
6389
6390 * manual/stdio.texi (Closing Streams): Fix typos.
6391
6392 2001-02-07 Ulrich Drepper <drepper@redhat.com>
6393
6394 * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
6395 Patch by Richard Henderson <rth@redhat.com>.
6396 Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
6397
6398 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
6399 pointer in FILE structure before calling _IO_init.
6400 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
6401 strfmon_l if necessary.
6402 Reported by Jury Gerold <gjury@grips.com>.
6403
6404 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
6405 Patch by Pekka.Pietikainen@cern.ch.
6406
6407 * posix/regex.c: Correct several problems with 64-bit architectures
6408 introduced in the MBS changes.
6409 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6410
6411 2001-02-07 Jakub Jelinek <jakub@redhat.com>
6412
6413 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
6414 not defined.
6415 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
6416
6417 2001-02-07 Andreas Jaeger <aj@suse.de>
6418
6419 * manual/install.texi (Tools for Compilation): Fix typo.
6420 Reported by Pavel Machek <pavel@bug.ucw.cz>.
6421
6422 2001-02-07 Ulrich Drepper <drepper@redhat.com>
6423
6424 * stdlib/strtod.c: Never stop prematurely reading digits before the
6425 decimal point is found. Compute exponent limit for negative exponents
6426 correctly. For numbers ending in all zeros eat the zeros even before
6427 the decimal point if the exponent is negative [PR libc/2072].
6428 * stdlib/Makefile (tests): Add bug-strtod.
6429 * stdlib/bug-strtod.c: New file.
6430
6431 2001-02-07 Andreas Jaeger <aj@suse.de>
6432
6433 * posix/bug-regex1.c: Include <wchar.h> for fwide.
6434
6435 2001-02-06 Ulrich Drepper <drepper@redhat.com>
6436
6437 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
6438 Store index.
6439 (compile_range): Handle index being passed, not pointer.
6440 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6441
6442 * posix/regex.c: Fix a cast in the code for bracket handling which
6443 caused 8-bit uncleanliness.
6444 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
6445
6446 * posix/Makefile (tests): Add bug-regex1.
6447 * posix/bug-regex1.c: New file.
6448 Contributed by Jim Meyering <jim@meyering.net>.
6449
6450 * posix/regex.c: Many cleanups for incorrect format strings.
6451
6452 2001-02-06 Andreas Jaeger <aj@suse.de>
6453
6454 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
6455
6456 2001-02-06 Ulrich Drepper <drepper@redhat.com>
6457
6458 * locale/programs/locale.c (write_locales): Use scandir to read
6459 directory so that the entries are sorted.
6460
6461 2001-02-06 Andreas Jaeger <aj@suse.de>
6462
6463 * include/pthread.h: New file.
6464
6465 * wctype/wctype.h: Move internal interfaces from here to...
6466 * include/wctype.h: ...here.
6467
6468 * wcsmbs/wchar.h: Move __wcslen from here to...
6469 * include/wchar.h: ...here.
6470
6471 * posix/sys/wait.h: Move __wait from here to...
6472 * include/sys/wait.h: ...here.
6473
6474 * string/string.h: Move __ffs and __strerror_r from here to...
6475 * include/string.h: ...here.
6476
6477 * stdlib/stdlib.h: Move __on_exit from here to...
6478 * include/stdlib.h: ...here.
6479
6480 * libio/stdio.h: Move __vsnprintf from here to...
6481 * include/stdio.h: ...here.
6482
6483 2001-02-06 Andreas Schwab <schwab@suse.de>
6484
6485 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
6486 headers.
6487
6488 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
6489 of $(inst_datadir).
6490
6491 2001-02-06 Ulrich Drepper <drepper@redhat.com>
6492
6493 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
6494
6495 2001-02-06 Andreas Jaeger <aj@suse.de>
6496
6497 * elf/firstobj.c: Add prototype.
6498
6499 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
6500 (truncate_wchar): Likewise.
6501
6502 2001-02-06 Ulrich Drepper <drepper@redhat.com>
6503
6504 * locale/programs/locale.c: Implement --verbose option for -a
6505 which prints detailed information about the locales.
6506
6507 2001-02-05 Ulrich Drepper <drepper@redhat.com>
6508
6509 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
6510 variable to uint32_t.
6511 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
6512
6513 2001-02-04 Bruno Haible <haible@clisp.cons.org>
6514
6515 * locale/C-translit.h.in: Add transliterations for CJK units of
6516 measurement.
6517
6518 2001-02-05 Ulrich Drepper <drepper@redhat.com>
6519
6520 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
6521 string. Include <inttypes.h> instead of <stdint.h>.
6522
6523 * localedata/Makefile (tests): Add bug-iconv-trans.
6524 Define bug-iconv-trans-ENV.
6525 * localedata/bug-iconv-trans.c: New file.
6526
6527 2001-02-04 Bruno Haible <haible@clisp.cons.org>
6528
6529 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
6530 pointer, to avoid accumulating output from incomplete (unsuccessful)
6531 transliteration attempts.
6532
6533 2001-02-05 Ulrich Drepper <drepper@redhat.com>
6534
6535 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
6536 string. Include <inttypes.h> instead of <stdint.h>.
6537
6538 * configure.in: Add check for bison.
6539 * config.make.in: Define BISON variable.
6540 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
6541 Rename YFLAGS to BISONFLAGS.
6542
6543 2001-02-05 Andreas Jaeger <aj@suse.de>
6544
6545 * io/test-lfs.c (do_test): Test lseek64 return value, call
6546 test_ftello.
6547 (test_ftello): New function to test ftello64 and fseeko64.
6548
6549 * signal/signal.h: Move __sigaction from here to...
6550 * include/signal.h: ...here.
6551
6552 * io/fcntl.h: Move __fcntl and __open to...
6553 * include/fcntl.h: ...here.
6554
6555 2001-02-04 Philip Blundell <philb@gnu.org>
6556
6557 * configure.in: Distinguish ARM from Thumb.
6558
6559 2001-02-04 Philip Blundell <philb@gnu.org>
6560
6561 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
6562 PC24 relocs with negative value.
6563
6564 2001-02-04 Ulrich Drepper <drepper@redhat.com>
6565
6566 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
6567 files in locale/programs. Add CFLAGS definition to allow compiling
6568 localedef files.
6569 * iconv/dummy-repertoire.c: New file.
6570 * iconv/iconv_charmap.c: New file.
6571 * iconv/iconv_prog.h: New file.
6572 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
6573 (main): If parameter for -f and -t contain slashes try first to resolve
6574 the strings as filenames of charmap files. Use them for conversion
6575 in this case.
6576 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
6577 iconv getting charmap names as parameters.
6578 * locale/programs/linereader.c (lr_token): Take extra parameters
6579 verbose and pass it to get_string.
6580 (get_string): Take extra parameters verbose.
6581 * locale/programs/charmap.c (parse_charmap): Take extra parameters
6582 verbose and be_quiet. Change all callers of lr_token and
6583 parse_charmap.
6584 * locale/programs/charmap.h: Likewise.
6585 * locale/programs/ld-address.c: Likewise.
6586 * locale/programs/ld-collate.c: Likewise.
6587 * locale/programs/ld-ctype.c: Likewise.
6588 * locale/programs/ld-identification.c: Likewise.
6589 * locale/programs/ld-measurement.c: Likewise.
6590 * locale/programs/ld-messages.c: Likewise.
6591 * locale/programs/ld-monetary.c: Likewise.
6592 * locale/programs/ld-name.c: Likewise.
6593 * locale/programs/ld-numeric.c: Likewise.
6594 * locale/programs/ld-paper.c: Likewise.
6595 * locale/programs/ld-telephone.c: Likewise.
6596 * locale/programs/ld-time.c: Likewise.
6597 * locale/programs/linereader.c: Likewise.
6598 * locale/programs/linereader.h: Likewise.
6599 * locale/programs/localedef.c: Likewise.
6600 * locale/programs/locfile.c: Likewise.
6601 * locale/programs/locfile.h: Likewise.
6602 * locale/programs/repertoire.c: Likewise.
6603
6604 2001-02-03 Ulrich Drepper <drepper@redhat.com>
6605
6606 * iconv/iconv_prog.c (main): If output file name is "-" write to
6607 stdout.
6608 (main): If -f or -t argument is missing use charset of the current
6609 locale.
6610
6611 2001-02-03 Andreas Jaeger <aj@suse.de>
6612
6613 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
6614 boundary for SSE/SSE-2 alignment.
6615
6616 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
6617 annexc.
6618
6619 2001-02-03 Ulrich Drepper <drepper@redhat.com>
6620
6621 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
6622 Remove comma at end of enum.
6623
6624 * elf/dl-init.c: Add a few __builtin_expect.
6625
6626 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
6627
6628 2001-02-02 Ulrich Drepper <drepper@redhat.com>
6629
6630 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
6631 errno is ECONNREFUSED.
6632
6633 * posix/Makefile: Define MBS_SUPPORT for regex.c.
6634 * posix/regex.c: Implement multibyte character handling.
6635 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
6636
6637 * string/tst-svc.input: Add two more test cases.
6638 * string/tst-svc.expect: Modify to reflect new test cases.
6639
6640 2001-02-01 Jakub Jelinek <jakub@redhat.com>
6641
6642 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
6643 tp->name tests with tp->name[0] tests.
6644
6645 2001-01-29 Ben Collins <bcollins@debian.org>
6646
6647 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
6648 Fix check for name == NULL.
6649
6650 2001-02-01 Ulrich Drepper <drepper@redhat.com>
6651
6652 * elf/Makefile: Add rules to build and run initfirst test.
6653 * elf/initfirst.c: New file.
6654 * elf/firstobj.c: New file.
6655
6656 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
6657 * configure.in: Test for -z initfirst linker option.
6658 * config.make.in: Add have-z-initfirst.
6659 * elf/dl-init.c (_dl_init): Split out actual initialization code in
6660 new function call_init. If _dl_initfirst is non-NULL initialize first.
6661 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
6662 remember object in _dl_initfirst.
6663 * elf/soinit.c: Remove special support for calling
6664 __pthread_initialize_minimal.
6665
6666 * conform/conformtest.pl: Add missing $prepend in type test.
6667
6668 2001-01-31 Ulrich Drepper <drepper@redhat.com>
6669
6670 * elf/elf.h (SHT_CHECKSUM): New definition.
6671
6672 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
6673 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6674 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
6675
6676 2001-01-31 Mark Kettenis <kettenis@gnu.org>
6677
6678 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
6679 to get definition of `struct timeval'.
6680
6681 2001-01-31 Ulrich Drepper <drepper@redhat.com>
6682
6683 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
6684 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
6685
6686 2001-01-30 Ulrich Drepper <drepper@redhat.com>
6687
6688 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
6689 seen, not flags.
6690
6691 * nis/nis_findserv.c: Include <time.h>.
6692
6693 2001-01-30 Yong Li <yong.li@asu.edu>
6694
6695 * iconv/iconv_prog.c (main): Correct error handling method name.
6696
6697 2001-01-29 Ben Collins <bcollins@debian.org>
6698
6699 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
6700 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
6701 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
6702 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
6703
6704 2001-01-30 Ulrich Drepper <drepper@redhat.com>
6705
6706 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
6707 Patch by Marko Myllynen <myllynen@lut.fi>.
6708
6709 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
6710 (int instead of char).
6711 (__strpbrk_c3): Likewise.
6712 Reported by GOTO Masanori <gotom@debian.or.jp>.
6713
6714 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
6715 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
6716 * include/sys/socket.h: Add SA_LEN here for internal use.
6717 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
6718
6719 2001-01-29 Ulrich Drepper <drepper@redhat.com>
6720
6721 * malloc/Makefile: Don't build memusagestat if cross-compiling.
6722
6723 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
6724
6725 * math/libm-test.inc (rint_test): Add a few more tests for round
6726 to even rounding.
6727
6728 2001-01-28 Ulrich Drepper <drepper@redhat.com>
6729
6730 * conform/data/pthread.h-data: Correct return type of pthread_exit.
6731
6732 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
6733
6734 * conform/data/stdlib.h-data: Add _Exit.
6735
6736 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
6737 if not already happened.
6738 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
6739 Don't include <limits.h> and <bits/sockaddr.h>.
6740
6741 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
6742
6743 * conform/data/spawn.h-data: Allow all of <sched.h>.
6744
6745 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
6746 unused variable.
6747
6748 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
6749 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
6750
6751 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
6752
6753 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
6754 * libio/stdio.h: Define va_list correctly.
6755
6756 * conform/data/pthread.h-data: Make priority protocol related
6757 functions optional. Fix typos.
6758
6759 * posix/sched.h: Define sched_priority as __sched_priority.
6760 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
6761 to __sched_priority.
6762 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6763
6764 2001-01-27 Ulrich Drepper <drepper@redhat.com>
6765
6766 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
6767 of <sys/time.h>.
6768
6769 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
6770 * sysdeps/unix/time.c: Likewise.
6771
6772 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
6773 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
6774 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
6775 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
6776 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6777 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
6778 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
6779 * time/time.h: Likewise.
6780
6781 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
6782 * conform/data/complex.h-data: New file.
6783 * conform/data/tgmath.h-data: New file.
6784
6785 * conform/data/wchar.h-data: Add missing functions.
6786
6787 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
6788
6789 * conform/data/termios.h-data: Add missing const in tcsetattr()
6790 prototype.
6791
6792 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
6793 Don't define pid_t here.
6794
6795 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
6796
6797 * conform/data/sys/time.h-data: Allow sys/select.h.
6798 * conform/data/sys/un.h-data: Fix typo.
6799 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
6800 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
6801 <sys/time.h>.
6802 * sysdeps/unix/clock_nanosleep.c: Likewise.
6803 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
6804 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
6805 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
6806 * sysdeps/unix/clock_settime.c: Likewise.
6807
6808 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
6809 * login/getutent.c: Likewise.
6810 * login/getutid.c: Likewise.
6811 * login/getutline.c: Likewise.
6812
6813 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
6814
6815 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
6816 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
6817 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
6818 f_fsid field after change in struct statvfs.
6819 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
6820 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
6821 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
6822
6823 * conform/data/sys/stat.h-data: Remove isfdtype. Use
6824 optional-macro.
6825
6826 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
6827 recvfrom, send, and socketpair prototypes. Add allow lines.
6828 * socket/sys/socket.h: Include <sys/uio.h>.
6829 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
6830 Fix type of second parameter of listen.
6831 Don't declare isfdtype unless __USE_MISC.
6832 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
6833 * sysdeps/mach/hurd/listen.c: Likewise.
6834 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
6835 ss_family and __ss_family.
6836 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
6837 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6838 (struct msghdr): Change type of msg_iovlen to int and type of
6839 msg_controllen to socklen_t.
6840 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
6841 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
6842 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
6843 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
6844 (rresvport_af): Likewise.
6845
6846 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
6847 * conform/conformtest.pl: Implement handling of symbol.
6848
6849 * signal/signal.h: Fix handling of __need_* symbols.
6850 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
6851 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
6852 * include/sys/select.h: Use fd_set not __fd_set.
6853 * sysdeps/generic/bits/select.h: Likewise.
6854 * sysdeps/i386/bits/select.h: Likewise.
6855 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
6856 __FDELT, __FDMASK, and __fd_set here.
6857 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
6858 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
6859 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6860 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6861 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
6862 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6863 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6864 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6865 * time/sys/time.h: Define struct timeval before including <time.h>
6866 and <sys/select.h>.
6867
6868 * conform/data/sys/time.h-data: fd_set is a typedef.
6869 * conform/data/sys/select.h-data: New file.
6870 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
6871 * conform/conformtest.pl (@headers): Add sys/select.h.
6872 (type, optional-type): Unless testing a typedef instantiate object.
6873 Implement optional-function.
6874
6875 * math/test-misc.c: Include <float.h>.
6876
6877 2001-01-27 Andreas Jaeger <aj@suse.de>
6878
6879 * misc/efgcvt_r.c: Include <float.h>.
6880
6881 2001-01-26 Ulrich Drepper <drepper@redhat.com>
6882
6883 * conform/data/stdlib.h-data: Account for XPG6 changes.
6884 * stdlib/stdlib.h (__random): Change return value type to long.
6885 (posix_memalign): Cleanup parameter names.
6886 (setenv, unsetenv): Make available for __USE_XOPEN2K.
6887 Change return type of unsetenv to int.
6888 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
6889 * include/stdlib.h: Change return type of unsetenv to int.
6890 Change return type of random to long int.
6891 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
6892 Return -1 and set errno if parameter is invalid.
6893 * stdlib/random.c (__random): Change return value type to long.
6894
6895 * conform/data/stdio.h-data: Account for changes in XPG6.
6896
6897 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
6898 prototype.
6899
6900 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
6901 * conform/data/signal.h-data: Fix sigev_notify_function entry.
6902 Fix typo (SIGVALRM -> SIGVTALRM).
6903 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
6904 with real type.
6905 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
6906 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
6907 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
6908 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6909 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
6910
6911 * conform/conformtest.pl: Implement optional-element. Define
6912 $mustprepend{"sched.h"}.
6913 * conform/data/sched.h-data: Make sporadic scheduler definitions
6914 optional.
6915
6916 * pwd/pwd.h: Don't define getpwent_r for XPG.
6917
6918 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
6919 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
6920 * sysdeps/mach/hurd/poll.c: Likewise.
6921 * sysdeps/unix/bsd/poll.c: Likewise.
6922 * sysdeps/unix/sysv/linux/poll.c: Likewise.
6923 * sysdeps/unix/sysv/aix/poll.c: Likewise.
6924 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
6925 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
6926 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
6927 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
6928 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
6929 * conform/data/poll.h-data: Fix typo in poll prototype.
6930
6931 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
6932 only if __USE_MISC.
6933 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
6934
6935 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
6936
6937 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
6938
6939 * conform/conformtest.pl: Implement optional-type.
6940
6941 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
6942 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
6943 defining uint32_t here. Define IPPORT_RESERVED.
6944 (struct hostent): Type of h_length element is int.
6945 (getnameinfo): Type of flags parameter is unsigned int.
6946 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
6947 * conform/data/netdb.h-data: Add many missing definitions.
6948
6949 * conform/conformtest.pl: Implement optional-macro.
6950 * conform/data/math.h-data: Update for XPG6.
6951
6952 * math/math.h (HUGE): Define as FLT_MAX value but don't use
6953 FLT_MAX. Don't include <float.h>.
6954 (MAXFLOAT): Likewise.
6955
6956 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
6957
6958 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
6959
6960 * conform/data/limits.h-data: Mark constants as optional wherever
6961 appropriate.
6962
6963 * posix/bits/posix2_lim.h: Set correct values for
6964 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
6965 EQUIV_CLASS_MAX.
6966
6967 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
6968 Required by POSIX.
6969
6970 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
6971
6972 * conform/data/netinet/in.h-data: Add reserved prefixes.
6973
6974 * conform/data/arpa/inet.h-data: Fix a few typos.
6975
6976 2001-01-26 Andreas Jaeger <aj@suse.de>
6977
6978 * sysdeps/generic/strtol.c: Include <locale.h>
6979 * stdlib/strtod.c: Likewise
6980 * stdlib/strfmon.c: Likewise.
6981 * string/strcoll.c: Likewise.
6982 * string/strxfrm.c: Likewise.
6983 * wctype/wcfuncs_l.c: Likewise.
6984 * wctype/wctype_l.c: Likewise.
6985 * wctype/wctrans_l.c: Likewise.
6986
6987 * include/bits/locale.h: New file.
6988
6989 2001-01-26 Ulrich Drepper <drepper@redhat.com>
6990
6991 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
6992 and NOSTR.
6993
6994 * locale/Makefile (headers): Add bits/locale.h.
6995 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
6996 and use __LC_ constants instead of LC_.
6997 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
6998 using __LC_ constants.
6999 * locale/bits/locale.h: New file.
7000 * locale/loadlocale.c: Include <locale.h>.
7001 * locale/nl_langinfo.h: Likewise.
7002
7003 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
7004
7005 * io/sys/stat.h: Define S_IFSOCK for XPG6.
7006
7007 * conform/data/fcntl.h-data: posix_madvise is not expected here.
7008
7009 * conform/conformtest.pl: Fix handling of macro-str.
7010
7011 * conform/data/inttypes.h-data: Add missing definition and all of
7012 stdint.h-data.
7013
7014 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
7015
7016 2001-01-25 Ulrich Drepper <drepper@redhat.com>
7017
7018 * conform/conformtest.pl (@headers): Add stdint.h.
7019 * conform/data/stdint.h-data: New file.
7020
7021 * conform/conformtest.pl: Recognize options --headers and
7022 --dialect. Add dialect-specific CFLAGS.
7023
7024 * conform/conformtest.pl: Implement handling of recursive
7025 allow-header.
7026
7027 * conform/data/locale.h-data: Add new struct lconv members.
7028
7029 * posix/wordexp.h: Correct definition of wordexp_t.
7030 * posix/wordexp.c: Moved to ...
7031 * sysdeps/generic/wordexp.c: ...here. New file.
7032 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
7033 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
7034 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
7035 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
7036 wordexp.
7037 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
7038 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
7039
7040 * math/tgmath.h: Pretty printing.
7041
7042 * math/Makefile (tests): Add test-tgmath.
7043 (CFLAGS-test-tgmath.c): New variable.
7044 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
7045
7046 * conform/conformtest.pl: Handle allow-header in secondary headers
7047 correctly.
7048
7049 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
7050 #ifdef.
7051
7052 * conform/data/netinet/in.h-data: Use correct comment character.
7053 * conform/data/sys/stat.h-data: Likewise.
7054
7055 2001-01-25 Jakub Jelinek <jakub@redhat.com>
7056
7057 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
7058 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
7059 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
7060 __builtin_classify_type, add ##f suffixes where appropriate.
7061 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
7062 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
7063 __builtin_classify_type.
7064 (fma): Fix spelling of first argument.
7065
7066 2001-01-25 Ulrich Drepper <drepper@redhat.com>
7067
7068 * conform/data/unistd.h-data: Mark functions removed in XPG6
7069 correctly.
7070
7071 * posix/unistd.h: Don't make functions removed in XPG6 available if
7072 __USE_XOPEN2K.
7073
7074 * conform/conformtest.pl: Implement optional-constant.
7075 * conform/data/unistd.h-data: Use optional-constant wherever
7076 appropriate.
7077
7078 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
7079 constants and add _SC_STREAMS.
7080 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7081
7082 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
7083 make old name weak alias.
7084 * sysdeps/generic/statvfs64.c: Likewise.
7085 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
7086 make old name weak alias.
7087 * sysdeps/generic/fstatvfs64.c: Likewise.
7088 * include/sys/statvfs.h: New file.
7089
7090 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
7091 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
7092 _PC_REC_XFER_ALIGN.
7093 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
7094 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
7095 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
7096 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
7097
7098 * conform/conformtest.pl: Run Unix tests for XPG6.
7099 Implement handling of known namespace violations.
7100 Improve printing of results.
7101
7102 * posix/unistd.h (usleep): Correct return type.
7103 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
7104 * sysdeps/unix/bsd/usleep.c: Correct return type.
7105 * sysdeps/mach/usleep.c: Correct return type.
7106 * sysdeps/generic/usleep.c: Correct return type.
7107
7108 * posix/unistd.h (sync): Correct return type.
7109 * sysdeps/generic/sync.c: Likewise.
7110 * sysdeps/mach/hurd/sync.c: Likewise.
7111
7112 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
7113
7114 * posix/unistd.h: Make seteuid and setegid available for XPG6.
7115
7116 * wcsmbs/wchar.h: Get FILE definition for XPG5.
7117
7118 * conform/data/ctype.h-data: Use correct comment form.
7119 * conform/data/errno.h-data: Likewise.
7120 * conform/data/math.h-data: Likewise.
7121 * conform/data/mqueue.h-data: Likewise.
7122 * conform/data/netdb.h-data: Likewise.
7123 * conform/data/pthread.h-data: Likewise.
7124
7125 2001-01-24 Ulrich Drepper <drepper@redhat.com>
7126
7127 * conform/data/wordexp.h-data: Fix typo.
7128
7129 * conform/conformtest.pl: Handle allow-header correctly.
7130
7131 * conform/data/time.h-data: Use correct comment form.
7132
7133 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
7134
7135 * configure.in: Comment out binutils version test.
7136
7137 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
7138 separators.
7139 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
7140
7141 * stdlib/tst-strtod.c (locale_test): New function.
7142 (main): Call locale_test.
7143 * stdlib/Makefile (tst-strtod-ENV): New variable.
7144
7145 2001-01-24 Mark Kettenis <kettenis@gnu.org>
7146
7147 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
7148 declaration of value such that we actually return the value of the
7149 environment variable.
7150
7151 2001-01-24 Andreas Jaeger <aj@suse.de>
7152
7153 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
7154 prototype.
7155 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7156
7157 * include/sys/sysctl.h: New file.
7158
7159 2001-01-23 Andreas Jaeger <aj@suse.de>
7160
7161 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
7162 isomac.
7163
7164 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
7165 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
7166 closes PR libc/2039.
7167
7168 * manual/install.texi (Tools for Compilation): Change required
7169 binutils version.
7170
7171 2001-01-22 Andreas Jaeger <aj@suse.de>
7172
7173 * configure.in: Add test for new enough binutils version, move
7174 compiler/binutils test up.
7175
7176 * Versions.def: Add version GLIBC_2.2.2.
7177
7178 2001-01-21 Ulrich Drepper <drepper@redhat.com>
7179
7180 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
7181 available.
7182 * iconvdata/testdata/IBM932: New file.
7183 * iconvdata/testdata/IBM932..UTF8: New file.
7184 * iconvdata/testdata/IBM943: New file.
7185 * iconvdata/testdata/IBM943..UTF8: New file.
7186 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
7187
7188 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7189
7190 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
7191
7192 2001-01-21 Ulrich Drepper <drepper@redhat.com>
7193
7194 * malloc/malloc.c: Remove a few unnecessary initializers of global
7195 variables.
7196
7197 2000-12-09 H.J. Lu <hjl@gnu.org>
7198
7199 * nss/Makefile (routines): Add digits_dots.
7200 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
7201 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
7202 into a function.
7203 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
7204 function.
7205 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
7206 (TYPE_VAR_P): Likewise.
7207 (FLAGS_VAR): Likewise.
7208 (AF_VAR_P): Likewise.
7209 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
7210 instead of including digits_dots.c.
7211 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
7212 (TYPE_VAR_P): Likewise.
7213 (FLAGS_VAR): Likewise.
7214 (AF_VAR_P): Likewise.
7215 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
7216 instead of including digits_dots.c.
7217
7218 2001-01-21 Ulrich Drepper <drepper@redhat.com>
7219
7220 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
7221
7222 2001-01-21 Andreas Jaeger <aj@suse.de>
7223
7224 * elf/constload2.c: Add prototype for init.
7225
7226 2001-01-21 Ulrich Drepper <drepper@redhat.com>
7227
7228 * stdlib/stdlib.h (drand48_data): Make available only for
7229 __USE_MISC. Rename elements to protect namespace. Change type
7230 and position of a and init element.
7231 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
7232 differently. Adjust for drand48_data change. Don't compute a here,
7233 it comes from drand48_data.
7234 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
7235 differently. Adjust for drand48_data change. Compute a here.
7236 * stdlib/srand48_r.c: Likewise.
7237 * stdlib/drand48.c: Adjust for drand48_data change.
7238 * stdlib/lrand48.c: Likewise.
7239 * stdlib/mrand48.c: Likewise.
7240 * stdlib/seek48.c: Likewise.
7241 * stdlib/drand48_r.c: Likewise.
7242 * stdlib/lrand48_r.c: Likewise.
7243 * stdlib/mrand48_r.c: Likewise.
7244 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
7245 differently.
7246 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
7247 * stdlib/jrand48_r.c: Likewise.
7248
7249 * po/sv.po: Update from translation team.
7250
7251 2001-01-21 Andreas Jaeger <aj@suse.de>
7252
7253 * stdio-common/vfprintf.c (vfprintf): Add casts.
7254
7255 2001-01-20 Ulrich Drepper <drepper@redhat.com>
7256
7257 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
7258 the ASCII test.
7259 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
7260
7261 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
7262 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
7263 * iconvdata/ibm932.c: New file.
7264 * iconvdata/ibm932.h: New file.
7265 * iconvdata/ibm943.c: New file.
7266 * iconvdata/ibm943.h: New file.
7267 Patches by Masahide Washizawa <washi@jp.ibm.com>.
7268
7269 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
7270 preventing optimization from being done. Set the correct type bit
7271 in seen. Don't define and use _dl_base_addr unless
7272 NEED_DL_BASE_ADDR is defined.
7273
7274 * io/ftw.c (ftw_dir): Add slash after directory name if there
7275 wasn't any. Reported by loris <loris@iol.it>.
7276 * io/Makefile (tests): Add bug-ftw2.
7277 * io/bug-ftw2.c: New file.
7278
7279 2001-01-19 Ulrich Drepper <drepper@redhat.com>
7280
7281 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
7282 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
7283 * stdlib/tst-rand48.c: New file.
7284 * stdlib/Makefile (tests): Add tst-rand48.
7285
7286 * locale/newlocale.c (__newlocale): Fix test for setting all
7287 categories.
7288
7289 2001-01-19 Mark Kettenis <kettenis@gnu.org>
7290
7291 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
7292 but change looking up the initial directory port in a similar way
7293 as done by _hurd_change_directory_port_from_name.
7294 * hurd/fchroot.c (fchroot): Likewise.
7295
7296 2001-01-18 Ulrich Drepper <drepper@redhat.com>
7297
7298 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
7299 defined don't look whether the AT_*ID values were set.
7300 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
7301 (_dl_show_auxv): Rewrite to avoid switch statement.
7302 * sysdeps/unix/sysv/linux/kernel-features.h: Define
7303 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
7304 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
7305 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
7306
7307 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
7308 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
7309 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
7310
7311 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
7312 strtoul.
7313 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
7314 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
7315 anything.
7316 * dlfcn/eval.c (__strtol_internal): Define here.
7317 (eval): Use __strtol_internal instead of strtol.
7318
7319 * elf/elf.h: Add a few more EF_MIPS_* constants.
7320
7321 2001-01-17 Ulrich Drepper <drepper@redhat.com>
7322
7323 * manual/Makefile (chapters): Add debug.
7324 * manual/debug.texi: New file.
7325 * manual/examples/execinfo.c: New file.
7326 Patch by suckfish@ihug.co.nz.
7327
7328 2001-01-17 Andreas Schwab <schwab@suse.de>
7329
7330 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
7331 invalid asm.
7332
7333 2001-01-17 Andreas Jaeger <aj@suse.de>
7334
7335 * nscd/connections.c (nscd_run): Use proper format specifier.
7336
7337 2001-01-16 Ulrich Drepper <drepper@redhat.com>
7338
7339 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
7340 x86_platforms data into new file after prepending _dl_. Change
7341 users.
7342 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
7343 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
7344 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
7345 dl-procinfo.c.
7346
7347 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
7348
7349 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
7350 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
7351 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
7352 (_setjmp): Likewise.
7353 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
7354 * sysdeps/i386/bsd-setjmp.S: Real implementation.
7355 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
7356 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
7357 version.
7358
7359 2001-01-16 Andreas Jaeger <aj@suse.de>
7360
7361 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
7362 misapplied last patch.
7363
7364 2001-01-15 Ulrich Drepper <drepper@redhat.com>
7365
7366 * stdlib/random.c (__initstate): Clean up a cast.
7367 (__setstate): Likewise.
7368
7369 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
7370 syscall handling. The generic Linux version should work.
7371
7372 2001-01-15 Andreas Jaeger <aj@suse.de>
7373
7374 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
7375
7376 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
7377
7378 2001-01-14 Jakub Jelinek <jakub@redhat.com>
7379
7380 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
7381 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
7382 New functions.
7383 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
7384 If number is 0, list all.
7385 (services_keys): Likewise. Lookup aliases as well.
7386 (databases): New table.
7387 (build_doc): Prepare argp doc text with list of supported databases.
7388 (main): Change to table driven processing.
7389
7390 2001-01-14 Thorsten Kukuk <kukuk@suse.de>
7391
7392 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
7393 functions.
7394
7395 2001-01-03 Jakub Jelinek <jakub@redhat.com>
7396
7397 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
7398 encode value which does not fit in the 32bit type.
7399
7400 2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
7401
7402 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
7403 Change type of CTX to (struct sigcontext *).
7404 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
7405 (GET_FRAME): Likewise.
7406 (GET_STACK): Likewise.
7407 (SIGCONTEXT): Likewise. Add 2nd arg _code.
7408 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
7409
7410 2001-01-13 Ulrich Drepper <drepper@redhat.com>
7411
7412 * manual/texinfo.tex: Update from upstream version.
7413
7414 2001-01-13 Jakub Jelinek <jakub@redhat.com>
7415
7416 * inet/ether_ntoh.c (lookup_function): Change arguments to match
7417 _nss_*_getntohost_r prototype.
7418 (ether_ntohost): Pass errno pointer to NSS function.
7419
7420 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7421
7422 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
7423 (MAP_LOCKED): New definition.
7424 (MAP_NORESERVE): New definition.
7425
7426 2001-01-12 Ulrich Drepper <drepper@redhat.com>
7427
7428 * assert/assert.h: Use static_cast instead of C-style cast for C++.
7429 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
7430
7431 2001-01-12 Ben Collins <bcollins@debian.org>
7432
7433 * sysdeps/generic/segfault.c (install_handler): Use access, not
7434 __access.
7435
7436 2001-01-12 Andreas Jaeger <aj@suse.de>
7437
7438 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
7439 * posix/wordexp.c (do_parse_glob): Likewise.
7440 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
7441 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
7442 * elf/dl-open.c (_dl_open): Likewise.
7443 * elf/dl-close.c (_dl_close): Likewise.
7444 * elf/dl-load.c (_dl_map_object): Likewise.
7445 * iconv/iconv_prog.c (process_fd): Likewise.
7446 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
7447
7448 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
7449 of a zero-length array.
7450
7451 2001-01-11 Jakub Jelinek <jakub@redhat.com>
7452
7453 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
7454 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
7455 * stdlib/cxa_on_exit.c: Remove.
7456 * stdlib/Makefile: Revert last patch.
7457 * stdlib/Versions: Likewise.
7458 * include/stdlib.h: Likewise.
7459 * stdlib/exit.h: Revert last patch.
7460 (struct exit_function): Add second argument to cxa fn.
7461 * stdlib/exit.c: Revert last patch.
7462 (exit): Add hidden second argument.
7463
7464 2001-01-11 H.J. Lu <hjl@gnu.org>
7465
7466 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
7467 * elf/dl-open.c (_dl_open): Here.
7468 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
7469 Make it static.
7470 (_dl_static_init): Initialize the variables every time when possible.
7471 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
7472 Undefine it first.
7473
7474 2001-01-11 Ulrich Drepper <drepper@redhat.com>
7475
7476 * stdlib/Makefile (routines): Add cxa_on_exit.
7477 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
7478 * stdlib/cxa_on_exit.c: New file.
7479 * include/stdlib.h: Add prototype for __cxa_on_exit.
7480 * stdlib/exit.c: Handle ef_cxa2.
7481 * stdlib/exit.h (enum): Add ef_cxa2.
7482 (struct exit_function): Add cxa2.
7483
7484 * Versions.def [ld]: Add GLIBC_2.2.1.
7485
7486 2001-01-10 H.J. Lu <hjl@gnu.org>
7487
7488 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
7489 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
7490 dl-static.
7491 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
7492 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
7493 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
7494 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
7495 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
7496
7497 2001-01-11 Ulrich Drepper <drepper@redhat.com>
7498
7499 * libio/stdio.h: Remove definition of off_t.
7500
7501 2001-01-11 Andreas Jaeger <aj@suse.de>
7502
7503 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
7504 <mkuhn@acm.org>.
7505
7506 2001-01-10 Ulrich Drepper <drepper@redhat.com>
7507
7508 * sunrpc/Makefile (distribute): Add errqueue.h.
7509
7510 2001-01-10 H.J. Lu <hjl@gnu.org>
7511
7512 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
7513 r9, r10 and r11 for language specific registers.
7514
7515 2001-01-10 Jakub Jelinek <jakub@redhat.com>
7516
7517 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
7518 UDP socket.
7519 (clntudp_call): Handle MSG_ERRQUEUE.
7520 * sysdeps/generic/errqueue.h: New file.
7521 * sysdeps/unix/sysv/linux/errqueue.h: New file.
7522
7523 2001-01-10 H.J. Lu <hjl@gnu.org>
7524
7525 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
7526
7527 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
7528
7529 * CONFORMANCE: Update.
7530
7531 2001-01-09 Ulrich Drepper <drepper@redhat.com>
7532
7533 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
7534 Minimal cleanups. Add assert to ensure memory handling is correct.
7535
7536 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
7537 Reported by Ben Collins <bcollins@debian.org>.
7538
7539 * time/strftime.c (my_strftime): Mark previous GNU extensions
7540 which are now in C99 as such.
7541
7542 2001-01-08 Ulrich Drepper <drepper@redhat.com>
7543
7544 * elf/rtld.c (process_envvars): Place output files for profiling
7545 in SUID binaries in /var/profile.
7546
7547 * elf/dl-load.c (_dl_map_object): Don't look in cache for
7548 preloading in SUID binaries.
7549
7550 * elf/dl-profile.c (_dl_start_profile): Open the output file with
7551 O_NOFOLLOW if possible.
7552
7553 * include/stdlib.h: Add __posix_openpt declaration.
7554 * stdlib/stdlib.h: Add posix_openpt declaration.
7555 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
7556 * sysdeps/generic/getpt.c: Define posix_openpt.
7557 * sysdeps/unix/bsd/getpt.c: Likewise.
7558 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
7559
7560 * time/Makefile (tests): Add tst-mktime.
7561 * time/tst-mktime.c: New file.
7562
7563 * posix/tst-dir.c (main): One more mkdir() test.
7564
7565 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
7566 Remove getpagesize syscall. We assume that the pagesize is always
7567 determined from the auxiliary vector.
7568
7569 * intl/dcigettext.c: Fix a few warnings.
7570 Patch by Bruno Haible <haible@ilog.fr>.
7571
7572 2001-01-08 Andreas Jaeger <aj@suse.de>
7573
7574 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
7575 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
7576
7577 2001-01-08 Ulrich Drepper <drepper@redhat.com>
7578
7579 * sysdeps/generic/segfault.c (install_handler): Check output file
7580 name with access().
7581
7582 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
7583 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
7584
7585 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
7586
7587 * malloc/memusage.c (me): Use access() to determine whether we
7588 should write the output file or not.
7589
7590 * libio/bits/stdio.h (printf): Define macro to map printf call to
7591 fprintf which gcc can optimize.
7592 * stdio-common/printf.c: Undefine printf.
7593
7594 2001-01-07 Ulrich Drepper <drepper@redhat.com>
7595
7596 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
7597 patch. We must use unsigned int for l member of union.
7598
7599 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
7600 _dl_aux_init for shared libraries.
7601
7602 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
7603 * sysdeps/gnu/glob64.c: ...here. New file.
7604
7605 2001-01-07 Ben Collins <bcollins@debian.org>
7606
7607 * manual/examples/longopt.c: Make the "struct option" a little
7608 more like it should be, adding usage of required_argument,
7609 noargument and such, and also setting the options string right.
7610
7611 * manual/sysinfo.texi (Load Average): New section, documents
7612 getloadavg().
7613
7614 2001-01-06 Ulrich Drepper <drepper@redhat.com>
7615
7616 * version.h (VERSION): Bump to 2.2.1.
7617
7618 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
7619 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
7620 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
7621 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
7622 * Makefile (distribute): Add include/libc-internal.h.
7623 * libio/Makefile (distribute): Avoid overwriting.
7624
7625 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
7626 buffer and table handling.
7627
7628 2001-01-05 H.J. Lu <hjl@gnu.org>
7629
7630 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
7631 vector checking to ...
7632 (_dl_aux_init): Here. New function. Defined only if
7633 HAVE_AUX_VECTOR is defined.
7634
7635 * sysdeps/generic/libc-start.c (__libc_start_main): Call
7636 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
7637
7638 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
7639 _dl_aux_init.
7640
7641 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
7642 (HAVE_AUX_VECTOR): Defined.
7643 (_dl_aux_init): Declared.
7644
7645 2001-01-05 Ben Collins <bcollins@debian.org>
7646
7647 * manual/string.texi (Finding Tokens in a String): Document XPG
7648 basename() and dirname(), as well as GNU basename().
7649
7650 2001-01-05 Jakub Jelinek <jakub@redhat.com>
7651
7652 * Makeconfig (preprocess-version): Replace -traditional with
7653 -x assembler-with-cpp.
7654
7655 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
7656
7657 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
7658 for GCC 2.97 or later.
7659
7660 2001-01-05 Ben Collins <bcollins@debian.org>
7661
7662 * manual/stdio.texi (getline): Clarify the return value in the
7663 case of EOF being reached before a newline.
7664
7665 2001-01-04 Jakub Jelinek <jakub@redhat.com>
7666
7667 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
7668 FALSE otherwise.
7669 (pmap_set, pmap_unset): Check __get_myaddress return value.
7670
7671 2001-01-05 Mark Kettenis <kettenis@gnu.org>
7672
7673 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
7674 (struct ether_addr): Declare ether_addr_octet member as
7675 `u_int8_t'. Add __attribute__ ((__packed__)).
7676
7677 2001-01-06 Mark Kettenis <kettenis@gnu.org>
7678
7679 * sysdeps/mach/hurd/readdir64.c: New file.
7680 * sysdeps/mach/hurd/readdir64_r.c: New file.
7681
7682 2001-01-07 Mark Kettenis <kettenis@gnu.org>
7683
7684 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
7685 `struct statfs' and `struct statvfs' being identical.
7686 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
7687
7688 2001-01-06 Mark Kettenis <kettenis@gnu.org>
7689
7690 * sysdeps/mach/hurd/fstatfs64.c: New file.
7691 * sysdeps/mach/hurd/fstatvfs64.c: New file.
7692 * sysdeps/mach/hurd/statfs64.c: New file.
7693 * sysdeps/mach/hurd/statvfs64.c: New file.
7694 * sysdeps/mach/hurd/statfsconv.c: New file.
7695 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
7696
7697 2001-01-06 Ulrich Drepper <drepper@redhat.com>
7698
7699 * iconv/skeleton.c: Reset outbuf for next round of the loop.
7700 Reported by Owen Taylor <otaylor@redhat.com>.
7701 * iconv/Makefile (tests): Add tst-iconv3.
7702 * iconv/tst-iconv3.c: New file.
7703
7704 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
7705 * iconvdata/ibm933.c: Likewise.
7706 * iconvdata/ibm935.c: Likewise.
7707 * iconvdata/ibm937.c: Likewise.
7708 * iconvdata/ibm939.c: Likewise.
7709 * iconvdata/ibm930.h: Adjust single byte table for optimization.
7710 * iconvdata/ibm933.h: Likewise.
7711 * iconvdata/ibm935.h: Likewise.
7712 * iconvdata/ibm939.h: Likewise.
7713
7714 * iconvdata/testdata/IBM930: Add misssing SI.
7715 * iconvdata/testdata/IBM933: Likewise.
7716 * iconvdata/testdata/IBM935: Likewise.
7717 * iconvdata/testdata/IBM937: Likewise.
7718 * iconvdata/testdata/IBM939: Likewise.
7719
7720 2001-01-06 Andreas Jaeger <aj@suse.de>
7721
7722 * configure.in: Check for old add-ons that shouldn't be used with
7723 current glibc anymore.
7724
7725 2001-01-06 Mark Kettenis <kettenis@gnu.org>
7726
7727 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
7728 instead of -1 on failure. Don't forget to copy file name into
7729 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
7730 of the directory.
7731
7732 2001-01-06 Mark Kettenis <kettenis@gnu.org>
7733
7734 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
7735 copy st_atime member.
7736
7737 2001-01-05 Ulrich Drepper <drepper@redhat.com>
7738
7739 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
7740 for searches from the root directory.
7741 Reported by loris <loris@iol.it> [PR libc/1991].
7742 * io/Makefile (tests): Add bug-ftw1.
7743 * io/bug-ftw1.c: New file.
7744
7745 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
7746 if it is not available. Instead use it only if it is available.
7747 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
7748
7749 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
7750 overflowing output buffer.
7751 (internal_ucs4_loop_unaligned): Likewise.
7752 (ucs4_internal_loop): Likewise.
7753 (ucs4_internal_loop_unaligned): Likewise.
7754 (internal_ucs4le_loop): Likewise.
7755 (internal_ucs4le_loop_unaligned): Likewise.
7756 (ucs4le_internal_loop): Likewise.
7757 (ucs4le_internal_loop_unaligned): Likewise.
7758 Reported by Owen Taylor <otaylor@redhat.com>.
7759 * iconv/Makefile (tests): Add tst-iconv2.
7760 * iconv/tst-iconv2.c: New file.
7761
7762 2001-01-04 H.J. Lu <hjl@gnu.org>
7763
7764 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
7765 (_dl_clktck): Declared.
7766 (non_dynamic_init): Take 3 arguments.
7767 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
7768
7769 2001-01-01 Bruno Haible <haible@clisp.cons.org>
7770
7771 Finish implementation of plural form handling.
7772 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
7773 'domainname'. Remove 'plindex' field. Add 'domain' and
7774 'translation_length' fields.
7775 (transcmp): Don't compare 'plindex' fields.
7776 (plural_lookup): New function.
7777 (DCIGETTEXT): Change cache handing in the plural case. Don't call
7778 plural_eval before the translation and its catalog file have been
7779 found. Remove plindex from cache key. Add 'translation_length' and
7780 'domain' to cache result.
7781 (_nl_find_msg): Remove index argument, return length of translation
7782 to the caller instead. Weaken comparison of string lengths, to account
7783 for plural entries. Call iconv() on the entire result string, not
7784 only on the portion needed so far.
7785 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
7786 argument.
7787 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
7788
7789 2001-01-04 Ulrich Drepper <drepper@redhat.com>
7790
7791 * intl/plural.y (yylex): Minimal improvement in number scanner.
7792
7793 2000-07-31 Bruno Haible <haible@clisp.cons.org>
7794
7795 * intl/plural.y: Include config.h. Needed to define 'inline' away for
7796 C compilers that don't support it.
7797 (yylex): Don't use gcc specific case range syntax.
7798 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
7799 compilers.
7800
7801 2000-10-12 Bruno Haible <haible@clisp.cons.org>
7802
7803 * intl/finddomain.c: Remove unneeded includes.
7804
7805 2000-10-12 Bruno Haible <haible@clisp.cons.org>
7806
7807 * intl/localealias.c (memcpy): Return first argument, just like the
7808 real memcpy function does.
7809 * intl/bindtextdom.c (memcpy): Likewise.
7810 * intl/finddomain.c (memcpy): Likewise.
7811 * intl/l10nflist.c (memcpy): Likewise.
7812 * intl/textdomain.c (memcpy): Likewise.
7813 From Paul Eggert <eggert@twinsun.com>.
7814
7815 2001-01-03 Jakub Jelinek <jakub@redhat.com>
7816
7817 * resolv/resolv.h (struct __res_state): Add nsinit field.
7818 * resolv/res_send.c (res_nsend): Use it instead of nscount.
7819 * resolv/res_init.c (__res_vinit): Initialize it.
7820 (res_nclose): Clear it instead of nscount.
7821
7822 2001-01-04 Ulrich Drepper <drepper@redhat.com>
7823
7824 * malloc/mtrace.pl: Fix matching of addresses.
7825 Patch by Aharon Robbins <arnold@skeeve.com>.
7826
7827 * Versions.def (ld): Add GLIBC_2.2.
7828
7829 * catgets/gencat.c: Copyright 2001.
7830 * csu/version.c: Likewise.
7831 * debug/catchsegv.sh: Likewise.
7832 * debug/xtrace.sh: Likewise.
7833 * elf/ldconfig.c: Likewise.
7834 * elf/sprof.c: Likewise.
7835 * iconv/iconv_prog.c: Likewise.
7836 * locale/locale.c: Likewise.
7837 * locale/localedef.c: Likewise.
7838 * malloc/memusage.sh: Likewise.
7839 * malloc/mtrace.pl: Likewise.
7840 * nscd/nscd.c: Likewise.
7841 * posix/getconf.c: Likewise.
7842
7843 2001-01-04 Mark Kettenis <kettenis@gnu.org>
7844
7845 * include/stdio.h: Only provide __getwc_unlocked prototype if
7846 USE_IN_LIBIO is defined.
7847
7848 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7849
7850 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
7851 handling.
7852
7853 2001-01-03 Andreas Schwab <schwab@suse.de>
7854
7855 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
7856 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
7857
7858 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
7859 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
7860 strtoull alias.
7861 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
7862 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
7863 wcstoull alias.
7864
7865 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
7866 directory.
7867 * sysdeps/generic/strtol_l.c: Likewise.
7868 * sysdeps/generic/strtoul_l.c: Likewise.
7869 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
7870
7871 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
7872 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
7873 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
7874 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
7875
7876 2001-01-04 Andreas Jaeger <aj@suse.de>
7877
7878 * nss/nsswitch.c: Include files for missing prototypes, remove
7879 buggy declaration of prototypes.
7880
7881 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7882
7883 * resolv/Versions: Fix bracing.
7884 * sysdeps/powerpc/soft-fp/Versions: Likewise.
7885 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
7886
7887 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7888
7889 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
7890
7891 2001-01-02 Ulrich Drepper <drepper@redhat.com>
7892
7893 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
7894 Suggested by Minko Markov <mmarkov@home.com>.
7895
7896 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7897
7898 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
7899 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
7900 the failing symbol.
7901 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
7902
7903 2001-01-02 Ben Collins <bcollins@debian.org>
7904
7905 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
7906 if TZ is not set and TZDEFAULT is not present.
7907
7908 2001-01-01 Ben Collins <bcollins@debian.org>
7909
7910 * string/strings.h: Make sure we declare our functions even if
7911 string.h is already included, based on whether or not __USE_BSD is
7912 defined.
7913
7914 2001-01-02 Ulrich Drepper <drepper@redhat.com>
7915
7916 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
7917 other dlopen() and dlsym().
7918 Based on a patch by Ben Collins <bcollins@debian.org>.
7919
7920 2001-01-02 Andreas Jaeger <aj@suse.de>
7921
7922 * dlfcn/errmsg1.c (main): Call dlerror initially.
7923 Reported by Ben Collins <bcollins@debian.org>.
7924
7925 2001-01-02 Ulrich Drepper <drepper@redhat.com>
7926
7927 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
7928 value is ignored if the selected locale is the C locale.
7929 * intl/tst-gettext.c: Set locale for above change.
7930 * intl/tst-translit.c: Likewise.
7931
7932 2001-01-02 Andreas Jaeger <aj@suse.de>
7933
7934 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
7935 (_IO_switch_to_wget_mode): Likewise.
7936 (_IO_sputbackwc): Likewise.
7937 (_IO_sungetwc): Use wint_t for result.
7938
7939 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
7940
7941 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
7942 signedness.
7943
7944 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
7945 to (int) to avoid warnings.
7946 * stdio-common/printf_fp.c (putc): Likewise.
7947 * stdio-common/printf_size.c (putc): Likewise.
7948
7949 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
7950 constant unsigned.
7951
7952 2001-01-01 Andreas Jaeger <aj@suse.de>
7953
7954 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
7955
7956 2000-12-31 Andreas Jaeger <aj@suse.de>
7957
7958 * include/libc-internal.h: Add prototype for __libc_freeres.
7959
7960 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
7961 for prototypes, remove redundant prototypes.
7962 * gmon/gmon.c: Likewise.
7963 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
7964 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
7965 * malloc/mtrace.c: Likewise.
7966
7967 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
7968 prototypes.
7969 * elf/soinit.c: Likewise.
7970 * sysdeps/generic/prof-freq.c: Likewise.
7971 * sysdeps/mach/hurd/profil.c: Likewise.
7972 * debug/noophooks.c: Likewise.
7973 * debug/pcprofile.c: Likewise.
7974 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
7975 * sysdeps/generic/get_clockfreq.c: Likewise.
7976 * malloc/set-freeres.c: Likewise.
7977
7978 * locale/localeinfo.h: Add internal prototypes.
7979
7980 * elf/rtld.c (dl_main): Fix prototype.
7981
7982 * iconvdata/tst-table-to.c (main): Use return instead of exit to
7983 avoid warning.
7984
7985 * nis/rpcsvc/yp_prot.h: Remove __P.
7986 * nis/rpcsvc/ypupd.h: Likewise.
7987 * nis/rpcsvc/yp.h: Likewise.
7988
7989 * sunrpc/rpc_main.c: Add noreturn attributes.
7990 * sunrpc/rpc_scan.h: Likewise.
7991
7992 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
7993
7994 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
7995
7996 * sunrpc/proto.h: Add noreturn attributes to error and crash.
7997
7998 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
7999
8000 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
8001
8002 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
8003
8004 * include/rpc/rpc_msg.h: Add prototypes for some functions.
8005 * include/rpc/auth.h: Likewise.
8006 * include/rpc/auth_des.h: Likewise.
8007 * include/rpc/clnt.h: Likewise.
8008 * include/rpc/rpc.h: Likewise.
8009 * include/rpc/svc.h: Likewise.
8010 * include/rpc/svc_auth.h: Likewise.
8011
8012 * include/rpc/des_crypt.h: New file.
8013
8014 * malloc/memusagestat.c (main): Use return instead of exit to
8015 avoid warning.
8016 * io/pwd.c (main): Likewise.
8017 * iconvdata/tst-table-from.c (main): Likewise.
8018 * ctype/test_ctype.c (main): Likewise.
8019 * setjmp/tst-setjmp.c (main): Likewise.
8020 * signal/tst-signal.c (main): Likewise.
8021 * stdlib/tst-strtol.c (main): Likewise.
8022 * stdlib/tst-strtod.c (main): Likewise.
8023 * stdlib/tst-strtoll.c (main): Likewise.
8024 * stdlib/tst-xpg-basename.c (main): Likewise.
8025 * dirent/tst-seekdir.c (main): Likewise.
8026 * grp/testgrp.c (main): Likewise.
8027 * inet/test_ifindex.c (main): Likewise.
8028 * io/test-utime.c (main): Likewise.
8029 * posix/test-vfork.c (main): Likewise.
8030 * posix/testfnm.c (main): Likewise.
8031 * stdio-common/temptest.c (main): Likewise.
8032 * stdio-common/test_rdwr.c (main): Likewise.
8033 * stdio-common/tst-fileno.c (main): Likewise.
8034 * stdio-common/tst-sscanf.c (main): Likewise.
8035 * stdio-common/tstscanf.c (main): Likewise.
8036 * string/bug-strncat1.c (main): Likewise.
8037 * string/bug-strpbrk1.c (main): Likewise.
8038 * string/bug-strspn1.c (main): Likewise.
8039 * string/test-ffs.c (main): Likewise.
8040 * string/tst-inlcall.c (main): Likewise.
8041 * string/tst-svc.c (main): Likewise.
8042 * timezone/test-tz.c (main): Likewise.
8043 * wctype/test_wcfuncs.c (main): Likewise.
8044 * wctype/test_wctype.c (main): Likewise.
8045
8046 * stdlib/tst-random.c: Add attribute noreturn to fail.
8047
8048 2000-12-28 Wolfram Gloger <wg@malloc.de>
8049
8050 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
8051 destination overlap. Assume dest is always below source if
8052 overlapping.
8053
8054 2000-12-30 Ulrich Drepper <drepper@redhat.com>
8055
8056 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
8057 object was not yet initialized.
8058
8059 2000-12-28 H.J. Lu <hjl@gnu.org>
8060
8061 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
8062 is always consistent even if its dependency is failed.
8063
8064 * elf/dl-open.c (_dl_open): Increment the open count before
8065 calling _dl_close () in case of failure.
8066
8067 * elf/neededtest4.c: New file.
8068 * elf/neededobj5.c: New file.
8069 * elf/neededobj6.c: New file.
8070
8071 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
8072 (tests): Add neededtest4.
8073 (modules-names): Add neededobj5 and neededobj6.
8074 ($(objpfx)neededobj6.so): New target.
8075 ($(objpfx)neededtest4): New target.
8076 ($(objpfx)neededtest4.out): New target.
8077
8078 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
8079
8080 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
8081 * stdlib/monetary.h: Add strfmon format attributes.
8082
8083 2000-12-28 Roland McGrath <roland@frob.com>
8084
8085 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
8086 __mempcpy does it for us.
8087
8088 2000-12-28 Andreas Jaeger <aj@suse.de>
8089
8090 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
8091
8092 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
8093 __new_setrlimit.
8094
8095 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
8096 __old_getrlimit64.
8097
8098 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
8099 __new_getrlimit.
8100
8101 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
8102 __chown_is_lchown and __real_chown.
8103
8104 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
8105 _dl_reloc_bad_type.
8106
8107 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
8108 up GCC's warning about "deprecated use of label at end of compound
8109 statement."
8110 * sunrpc/rpc_cout.c (emit_inline): Likewise.
8111
8112 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
8113 prototypes.
8114 Remove struct bb and __bb_head since those are declared by
8115 sys/gmon.h.
8116
8117 2000-12-22 Ben Collins <bcollins@debian.org>
8118
8119 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
8120
8121 * manual/argp.texi: Document argp_domain as part of struct argp.
8122
8123 2000-12-28 Andreas Jaeger <aj@suse.de>
8124
8125 * catgets/Makefile (generated): Add sample.SJIS.cat.
8126
8127 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
8128
8129 * elf/dl-minimal.c: Add prototypes.
8130
8131 * include/locale.h: Add internal prototypes.
8132 * include/sys/gmon.h: Likewise.
8133
8134 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
8135
8136 2000-12-27 Ben Collins <bcollins@debian.org>
8137
8138 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
8139 when reallocating the error strings.
8140 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
8141
8142 2000-12-27 Ulrich Drepper <drepper@redhat.com>
8143
8144 * dlfcn/Makefile (tests): Add errmsg1.
8145 (modules-names): Add errmsg1mod.
8146 Add rules to run errmsg1.
8147 * dlfcn/errmsg1.c: New file.
8148 * dlfcn/errmsg1mod.c: New file.
8149
8150 * dlfcn/dlerror.c (dlerror): Always create output string which
8151 includes object file name.
8152
8153 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
8154 if we would go through it only once.
8155 Patch by Rick Gorton <rick.gorton@api-networks.com>.
8156
8157 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
8158 Patch by Richard Henderson <rth@redhat.com>.
8159
8160 2000-12-27 Jakub Jelinek <jakub@redhat.com>
8161
8162 * malloc/malloc.c (memmove): Add prototypes.
8163 (MALLOC_MEMMOVE): Define.
8164 (chunk_realloc): Use it instead of MALLOC_COPY if source and
8165 destination might overlap.
8166
8167 2000-12-27 Andreas Jaeger <aj@suse.de>
8168
8169 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
8170 function.
8171 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8172 * locale/programs/locale.c (show_locale_vars): Likewise.
8173 (show_info): Likewise.
8174 * locale/programs/ld-collate.c (collate_output): Likewise.
8175 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
8176 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8177 * stdlib/rpmatch.c (rpmatch): Likewise.
8178
8179 * setjmp/tst-setjmp.c: Make local functions static.
8180 * setjmp/jmpbug.c: Likewise.
8181 * signal/tst-signal.c: Likewise.
8182 * stdio-common/tfformat.c: Likewise.
8183 * string/tst-svc.c: Likewise.
8184 * time/clocktest.c: Likewise.
8185 * time/tst-getdate.c: Likewise.
8186 * dirent/list.c: Likewise.
8187 * dirent/opendir-tst1.c: Likewise.
8188 * posix/runtests.c: Likewise.
8189 * posix/tst-getaddrinfo.c: Likewise.
8190 * posix/tst-chmod.c: Likewise.
8191 * posix/wordexp-test.c: Likewise.
8192 * misc/tst-efgcvt.c: Likewise.
8193 * timezone/tst-timezone.c: Likewise.
8194 * rt/tst-clock.c: Likewise.
8195 * rt/tst-shm.c: Likewise.
8196 * rt/tst-aio2.c: Likewise.
8197 * rt/tst-aio3.c: Likewise.
8198 * rt/tst-aio4.c: Likewise.
8199 * rt/tst-aio5.c: Likewise.
8200
8201 * dlfcn/failtest.c: Add prototype for foo.
8202
8203 * dlfcn/glrefmain.c: Add prototype for do_test.
8204
8205 * dlfcn/tst-dladdr.c: Add prototype for do_test.
8206
8207 * string/test-ffs.c (main): Add prototype for nested function.
8208
8209 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
8210
8211 * nss/XXX-lookup.c: Add prototype to shut up GCC.
8212
8213 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
8214 setetherent prototype.
8215 Add internal interfaces.
8216
8217 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
8218 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
8219
8220 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
8221
8222 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
8223
8224 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
8225 prototypes, remove struct etherent since it's declared in ether.h.
8226 Fix ntohost declaration.
8227
8228 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
8229
8230 * include/getopt.h: Add internal interfaces.
8231 * include/termios.h: Likewise.
8232 * include/resolv.h: Likewise.
8233 * include/netdb.h: Likewise.
8234 * include/grp.h: Likewise.
8235 * include/pwd.h: Likewise.
8236 * include/shadow.h: Likewise.
8237 * include/rpc/netdb.h: Likewise.
8238 * include/setjmp.h: Likewise.
8239
8240 * include/stdio.h: Add prototypes for compatibility functions.
8241 * include/grp.h: Likewise.
8242 * include/pwd.h: Likewise.
8243 * include/shadow.h: Likewise.
8244
8245 * include/fenv.h: Define internal interfaces.
8246
8247 2000-12-27 Ulrich Drepper <drepper@redhat.com>
8248
8249 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
8250 argument case separately.
8251 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
8252
8253 2000-12-27 Andreas Jaeger <aj@suse.de>
8254
8255 * include/sys/wait.h: Add some prototypes.
8256 * Rules (dummy.c): Create also prototype to shut up GCC.
8257
8258 2000-12-27 Andreas Jaeger <aj@suse.de>
8259
8260 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
8261 it's not needed at the moment.
8262 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
8263 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
8264
8265 2000-12-26 Andreas Jaeger <aj@suse.de>
8266
8267 * libio/getc_u.c: Include stdio.h via system path to get internal
8268 prototypes.
8269 * libio/getwc_u.c: Likewise.
8270
8271 * stdlib/strfmon.c: Fix prototype of __printf_fp.
8272
8273 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
8274 __printf_fp prototypes to ...
8275 * include/printf.h: ...here.
8276
8277 * include/stdio.h: Add some internal prototypes to shut up GCC.
8278 * include/stdlib.h: Likewise.
8279
8280 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
8281 declaration.
8282
8283 * include/signal.h: Add prototypes for internal sigpause
8284 interfaces.
8285
8286 2000-12-26 Ulrich Drepper <drepper@redhat.com>
8287
8288 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
8289 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
8290
8291 * string/Makefile (tests): Add tst-bswap.
8292 * string/tst-bswap.c: New file.
8293
8294 2000-12-11 Bruno Haible <haible@clisp.cons.org>
8295
8296 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
8297
8298 2000-12-26 Ulrich Drepper <drepper@redhat.com>
8299
8300 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
8301 Patch by Ed Connell <Ed.Connell@sas.com>.
8302
8303 2000-12-24 Ulrich Drepper <drepper@redhat.com>
8304
8305 * locale/iso-639.def: Correct one entry. Add two missing entries.
8306
8307 * locale/iso-4217.def: Change entry for Eritrea.
8308 Reported by Daniel Yacob <yacob@geez.org>.
8309
8310 2000-12-23 Ben Collins <bcollins@debian.org>
8311
8312 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
8313 description.
8314
8315 * manual/stdio.texi (Dynamic Output): Document the return value of
8316 asprintf. Also make the asprintf/snprintf examples a little
8317 better (check for some error returns).
8318
8319 2000-12-22 Andreas Jaeger <aj@suse.de>
8320
8321 * include/stdio.h: Add __ftrylockfile prototype.
8322
8323 2000-12-21 H.J. Lu <hjl@gnu.org>
8324
8325 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
8326 Make sign_exponent element signed.
8327
8328 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
8329 Fix a typo.
8330
8331 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
8332
8333 2000-12-21 Andreas Jaeger <aj@suse.de>
8334
8335 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
8336 * inet/ether_hton.c: Likewise
8337 * inet/ether_ntoh.c: Likewise.
8338
8339 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
8340 declaration to match prototype.
8341
8342 * include/netinet/ether.h (struct etherent): Declare here so that
8343 all implementations use the same struct.
8344
8345 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
8346 prototypes.
8347 (struct ether): Removed.
8348 Use struct etherent instead of ether everywhere.
8349
8350 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
8351
8352 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
8353
8354 * sunrpc/publickey.c: Include auth_des.h for prototypes.
8355
8356 2000-12-20 Ulrich Drepper <drepper@redhat.com>
8357
8358 * math/test-misc.c: Add more tests for nextafter functions.
8359
8360 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
8361 normal correctly. Correct test for sign.
8362 Based on a patch by HJ Lu.
8363
8364 2000-12-19 Ulrich Drepper <drepper@redhat.com>
8365
8366 * Makeconfig (preprocess-version): Add -traditional to gcc call.
8367 Cleanup sed calls.
8368
8369 2000-12-19 Andreas Jaeger <aj@suse.de>
8370
8371 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
8372
8373 * nis/nis_intern.h: Add prototype for __do_niscall3.
8374
8375 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
8376 match prototype.
8377
8378 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
8379
8380 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
8381
8382 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
8383
8384 2000-12-18 Ulrich Drepper <drepper@redhat.com>
8385
8386 * math/test-misc.c: Add more tests for nextafter.
8387 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
8388 * sysdeps/ieee754/ldbl-96/math_ldbl.h
8389 (ieee_long_double_shape_type): Make sign_exponent element signed.
8390
8391 * manual/message.texi: Add Estonian to plural overview list.
8392 Correct rule for Slavic languages.
8393 Patch by Stanislav Brabec <utx@penguin.cz>.
8394
8395 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
8396
8397 2000-12-18 Andreas Jaeger <aj@suse.de>
8398
8399 * test-skeleton.c: Use temp_name_list instead of name_list to
8400 avoid collision with name_list from inet/netgroup.h.
8401
8402 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
8403
8404 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
8405 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
8406 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
8407 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
8408
8409 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
8410 declaration to match prototype.
8411 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
8412 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
8413 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
8414 Likewise.
8415 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
8416 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
8417 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
8418 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
8419 (_nss_nis_getservbyport_r): Likewise.
8420 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
8421 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
8422 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
8423 (_nss_nis_setnetent): Likewise
8424 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8425 (_nss_nis_endnetgrent): Likewise.
8426 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
8427 Likewise.
8428 (_nss_nisplus_setnetgrent): Likewise.
8429 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
8430 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
8431 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
8432 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
8433 Likewise.
8434 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
8435 Likewise.
8436 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
8437 Likewise.
8438 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
8439 Likewise.
8440 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
8441 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
8442 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
8443 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
8444 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
8445 (_nss_dns_getnetbyaddr_r): Likewise.
8446
8447 2000-12-17 Andreas Jaeger <aj@suse.de>
8448
8449 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
8450 parameter.
8451
8452 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
8453 unused attribute to shut up gcc warnings.
8454
8455 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
8456 * sysdeps/generic/k_tanl.c: Likewise.
8457 * sysdeps/generic/k_cosl.c: Likewise.
8458 * sysdeps/generic/e_j0l.c: Likewise.
8459 * sysdeps/generic/e_j1l.c: Likewise.
8460 * sysdeps/generic/e_jnl.c: Likewise.
8461 * sysdeps/generic/e_lgammal_r.c: Likewise.
8462
8463 * elf/vismain.c: Move prototypes for functions in vismod*.c to
8464 vismod.h.
8465 * elf/vismod.h: New file.
8466 * elf/Makefile (distribute): Add vismod.h.
8467 * elf/vismod1.c: Include vismod.h.
8468 * elf/vismod2.c: Likewise.
8469 * elf/vismod3.c: Likewise.
8470
8471 * elf/constload3.c: Add prototype declarations to shut up gcc.
8472 * elf/failobj.c: Likewise.
8473 * elf/nodelmod3.c: Likewise.
8474 * elf/filtmod1.c: Likewise.
8475 * elf/filtmod2.c: Likewise.
8476 * elf/reldepmod1.c: Likewise.
8477 * elf/reldepmod2.c: Likewise.
8478 * elf/reldepmod3.c: Likewise.
8479 * elf/reldepmod4.c: Likewise.
8480 * elf/unload2dep.c: Likewise.
8481 * elf/unload2mod.c: Likewise.
8482 * elf/ltglobmod1.c: Likewise.
8483 * elf/pathoptobj.c: Likewise.
8484 * elf/neededobj1.c: Likewise.
8485 * elf/neededobj2.c: Likewise.
8486 * elf/neededobj3.c: Likewise.
8487 * elf/neededobj4.c: Likewise.
8488 * elf/nextmod1.c: Likewise.
8489 * elf/nextmod2.c: Likewise.
8490
8491 * locale/programs/ld-collate.c (collate_finish): Don't use labels
8492 at end of compound statement.
8493 * locale/programs/locale.c (show_info): Likewise.
8494 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
8495
8496 2000-12-16 Jakub Jelinek <jakub@redhat.com>
8497
8498 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
8499 with a pointer not returned by obstack_ functions.
8500
8501 2000-12-16 Ulrich Drepper <drepper@redhat.com>
8502
8503 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
8504 version.
8505 (struct stat64): Likewise.
8506 Reported by Michael Keezer <mkeezer@redhat.com>.
8507
8508 * timezone/asia: Update from tzdata2000h.
8509 * timezone/australasia: Likewise.
8510 * timezone/backward: Likewise.
8511 * timezone/europe: Likewise.
8512 * timezone/northamerica: Likewise.
8513 * timezone/southamerica: Likewise.
8514 * timezone/zone.tab: Likewise.
8515
8516 2000-12-14 Jakub Jelinek <jakub@redhat.com>
8517
8518 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
8519 and dir.stream is NULL, only free dir.content.
8520 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
8521 * io/ftwtest-sh: Test with --early-exit.
8522
8523 2000-12-13 Jakub Jelinek <jakub@redhat.com>
8524
8525 * misc/efgcvt.c (FCVT_MAXDIG): Define.
8526 (FCVT_BUFPTR): New variable.
8527 (fcvt): If fcvt_r returns -1 on the static short buffer,
8528 try to malloc a sufficiently large one and retry.
8529 (free_mem): New function.
8530 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
8531 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
8532
8533 2000-12-15 Ulrich Drepper <drepper@redhat.com>
8534
8535 * misc/dirname.c (dirname): Fix search for second to last slash.
8536
8537 2000-12-13 Andreas Jaeger <aj@suse.de>
8538
8539 * misc/tst-dirname.c (main): Fix typo in test to really use
8540 the examples from Unix98.
8541 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8542
8543 2000-12-09 H.J. Lu <hjl@gnu.org>
8544
8545 * sysdeps/ia64/fpu/s_fabs.S: New file.
8546 * sysdeps/ia64/fpu/s_fabsf.S: New file.
8547 * sysdeps/ia64/fpu/s_fabsl.S: New file.
8548
8549 2000-12-15 Andreas Jaeger <aj@suse.de>
8550
8551 * stdio-common/scanf9.c (main): Reformat and change to avoid
8552 warnings.
8553
8554 * stdio-common/tstdiomisc.c: Make local functions static.
8555 * stdio-common/tst-printf.c: Likewise.
8556
8557 * elf/constload2.c: Add prototype declarations to shut up gcc.
8558 * elf/dep1.c: Likewise.
8559 * elf/dep2.c: Likewise.
8560 * elf/dep3.c: Likewise.
8561 * elf/dep4.c: Likewise.
8562 * elf/ltglobmod2.c: Likewise.
8563
8564 * libio/fmemopen.c: Make local functions static.
8565
8566 * elf/Makefile (distribute): Added testobj.h.
8567
8568 * elf/testobj.h: New file.
8569
8570 * elf/testobj1.c: Include testobj.h and move prototype
8571 declarations to testobj.h.
8572 * elf/testobj2.c: Likewise.
8573 * elf/testobj3.c: Likewise.
8574 * elf/testobj4.c: Likewise.
8575 * elf/testobj5.c: Likewise.
8576 * elf/testobj6.c: Likewise.
8577 * elf/testobj1_1.c: Likewise.
8578 * elf/preloadtest.c: Likewise.
8579
8580 2000-12-15 Ben Collins <bcollins@debian.org>
8581
8582 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
8583 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
8584
8585 2000-12-14 H.J. Lu <hjl@gnu.org>
8586
8587 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
8588 field in a float is 8 bits, not 11 bits.
8589
8590 2000-12-13 Jakub Jelinek <jakub@redhat.com>
8591
8592 * math/test-misc.c (main): Adjust m for IEEE quad long double.
8593
8594 2000-12-13 Andreas Jaeger <aj@suse.de>
8595
8596 * manual/message.texi (Using gettextized software): Fix typo.
8597
8598 * manual/charset.texi (Converting a Character): Fix mbstouwcs
8599 program to compile.
8600 Patch by Martin Buchholz <martin@xemacs.org>.
8601
8602 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
8603 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8604
8605 2000-12-11 Andreas Jaeger <aj@suse.de>
8606
8607 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
8608 kernel_sigset_t and use it.
8609 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
8610
8611 2000-12-10 Richard Henderson <rth@redhat.com>
8612
8613 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
8614 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
8615 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
8616
8617 2000-12-10 Jakub Jelinek <jakub@redhat.com>
8618
8619 * sysdeps/alpha/htonl.S: Fix a typo.
8620
8621 2000-12-10 Jakub Jelinek <jakub@redhat.com>
8622
8623 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
8624
8625 2000-12-10 Andreas Jaeger <aj@suse.de>
8626
8627 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
8628 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
8629 Drepper <drepper@redhat.com>.
8630
8631 2000-12-09 Andreas Jaeger <aj@suse.de>
8632
8633 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
8634
8635 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
8636 generic version.
8637 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
8638
8639 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
8640 string.
8641
8642 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
8643 format string.
8644
8645 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
8646 * nscd/connections.c (handle_request): Likewise.
8647 * nscd/pwdcache.c (addpwbyname): Likewise.
8648 * nscd/grpcache.c (addgrbyname): Likewise.
8649
8650 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
8651
8652 2000-12-09 Ulrich Drepper <drepper@redhat.com>
8653
8654 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
8655
8656 * Makeconfig (default_cflags): Make -O2 the default for stable
8657 releases.
8658
8659 2000-12-08 H.J. Lu <hjl@gnu.org>
8660
8661 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
8662 * sysdeps/ia64/fpu/s_isinf.S: This.
8663 Add a .pred.rel.mutex note to avoid false report.
8664
8665 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
8666 * sysdeps/ia64/fpu/s_isnan.S: This.
8667
8668 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
8669 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
8670 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
8671 * sysdeps/ia64/fpu/s_isinff.S: New file.
8672 * sysdeps/ia64/fpu/s_isinfl.S: New file.
8673 * sysdeps/ia64/fpu/s_isnanf.S: New file.
8674 * sysdeps/ia64/fpu/s_isnanl.S: New file.
8675 * sysdeps/ia64/fpu/s_finite.S: New file.
8676 * sysdeps/ia64/fpu/s_finitef.S: New file.
8677 * sysdeps/ia64/fpu/s_finitel.S: New file.
8678 * sysdeps/ia64/fpu/s_signbit.S: New file.
8679 * sysdeps/ia64/fpu/s_signbitf.S: New file.
8680 * sysdeps/ia64/fpu/s_signbitl.S: New file.
8681 * sysdeps/ia64/fpu/s_copysign.S: New file.
8682 * sysdeps/ia64/fpu/s_copysignf.S: New file.
8683 * sysdeps/ia64/fpu/s_copysignl.S: New file.
8684
8685 2000-12-08 Ulrich Drepper <drepper@redhat.com>
8686
8687 * math/libm-test.inc (main): Fix typos in messages.
8688
8689 * string/stratcliff.c: Add test for rawmemchr.
8690
8691 2000-12-08 Jakub Jelinek <jakub@redhat.com>
8692
8693 * elf/dl-open.c (_dl_open): If objname points right after errstring,
8694 allocate it together with errstring using alloca.
8695 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
8696 to "", because it might point to local stack.
8697
8698 2000-12-05 H.J. Lu <hjl@gnu.org>
8699
8700 * nss/Makefile (routines): Add getnssent and getnssent_r.
8701 * nss/nsswitch.h (__nss_setent): New internal NSS function.
8702 (__nss_endent): Likewise.
8703 (__nss_getent_r): Likewise.
8704 (__nss_getent): Likewise.
8705 * nss/getnssent_r.c: New file.
8706 * nss/getnssent.c: New file.
8707 * nss/getXXent.c (H_ERRNO_VAR): Updated.
8708 (GETFUNC_NAME): Updated to call __nss_getent ().
8709 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
8710 (STAYOPEN_TMPVAR): Updated.
8711 (STAYOPEN_VAR): Updated.
8712 (SETFUNC_NAME): Updated to call __nss_setent ().
8713 (ENDFUNC_NAME): Updated to call __nss_endent ().
8714 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
8715
8716 2000-12-08 Andreas Jaeger <aj@suse.de>
8717
8718 * nscd/dbg_log.h (dbg_log): Correct attribute.
8719
8720 2000-12-08 Jakub Jelinek <jakub@redhat.com>
8721
8722 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
8723 cp + len. Compute where from dirname.
8724 Reported by <jreiser@BitWagon.com>.
8725
8726 2000-12-08 Richard Henderson <rth@twiddle.net>
8727
8728 * sysdeps/alpha/_mcount.S: Fix typo.
8729 * sysdeps/alpha/strncpy.S: Likewise.
8730
8731 * sysdeps/alpha/alphaev6/Implies: New file.
8732 * sysdeps/alpha/alphaev67/Implies: New file.
8733 * sysdeps/alpha/alphaev67/ffs.S: New file.
8734 * sysdeps/alpha/alphaev67/ffsll.S: New file.
8735 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
8736 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
8737 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
8738 * sysdeps/alpha/rawmemchr.S: New file.
8739 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
8740 * sysdeps/alpha/strcpy.S: Likewise.
8741
8742 From GMP 3.1.1:
8743 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
8744
8745 From rick.gorton@alpha-processor.com:
8746 * sysdeps/alpha/alphaev6/memchr.S: New file.
8747 * sysdeps/alpha/alphaev6/memcpy.S: New file.
8748 * sysdeps/alpha/alphaev6/memset.S: New file.
8749 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
8750 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
8751 * sysdeps/alpha/alphaev67/strcat.S: New file.
8752 * sysdeps/alpha/alphaev67/strchr.S: New file.
8753 * sysdeps/alpha/alphaev67/strlen.S: New file.
8754 * sysdeps/alpha/alphaev67/strncat.S: New file.
8755 * sysdeps/alpha/htonl.S: Use a shorter sequence.
8756
8757 2000-12-08 Jakub Jelinek <jakub@redhat.com>
8758
8759 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
8760 Reported by <pspencer@fields.utoronto.ca>.
8761
8762 2000-12-07 Jes Sorensen <jes@linuxcare.com>
8763
8764 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
8765 Pointed out by Hans Boehm.
8766
8767 2000-12-07 H.J. Lu <hjl@gnu.org>
8768
8769 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
8770
8771 2000-12-07 Andreas Jaeger <aj@suse.de>
8772
8773 * misc/error.c: Add format attributes for __error and __error_at_line.
8774
8775 * nscd/dbg_log.h: Add format attribute.
8776
8777 2000-12-08 Ulrich Drepper <drepper@redhat.com>
8778
8779 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
8780 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
8781
8782 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
8783
8784 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
8785
8786 2000-12-06 Ulrich Drepper <drepper@redhat.com>
8787
8788 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
8789 (sysdep_routines): Add uitrunc.
8790 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
8791 Patches by Michael Keezer <mkeezer@redhat.com>.
8792
8793 2000-12-06 Roland McGrath <roland@frob.com>
8794
8795 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
8796 argument data, since it will be used to copy out too (for INOUT).
8797 Reported by Marcus Brinkmann <marcus@gnu.org>.
8798
8799 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
8800 (__ioctl): Use uintptr_t instead of unsigned long int.
8801
8802 2000-12-06 Jim Wilson <wilson@redhat.com>
8803
8804 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
8805
8806 2000-12-06 Ulrich Drepper <drepper@redhat.com>
8807
8808 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
8809 x.5 rounding correctly.
8810
8811 2000-12-06 Mark Kettenis <kettenis@gnu.org>
8812
8813 * stdio-common/perror.c (perror): Conditionalize code dealing with
8814 wide-oriented streams on USE_IN_LIBIO.
8815
8816 2000-12-06 Mark Kettenis <kettenis@gnu.org>
8817
8818 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
8819 as internal_function.
8820
8821 2000-12-05 Ulrich Drepper <drepper@redhat.com>
8822
8823 * sysdeps/alpha/elf/start.S (__data_start): Define.
8824
8825 2000-12-05 H.J. Lu <hjl@gnu.org>
8826
8827 * nss/getXXent_r.c (setup): Change the return type to int.
8828
8829 2000-12-05 Ulrich Drepper <drepper@redhat.com>
8830
8831 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
8832 (sysdep_routines): Add restf and savef.
8833 * sysdeps/unix/sysv/aix/restf.c: New file.
8834 * sysdeps/unix/sysv/aix/savef.c: New file.
8835 Patches by Michael Keezer <mkeezer@redhat.com>.
8836
8837 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
8838 if O_DIRECTORY is not defined.
8839 Patch by Michael Keezer <mkeezer@redhat.com>.
8840
8841 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
8842 Patch by Michael Keezer <mkeezer@redhat.com>.
8843
8844 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
8845 than 4 bytes in escape sequence.
8846 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8847
8848 2000-12-05 Andreas Jaeger <aj@suse.de>
8849
8850 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
8851 set mips2.
8852
8853 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
8854
8855 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
8856
8857 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
8858 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8859
8860 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
8861 internal_function.
8862 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
8863 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
8864
8865 * sysdeps/generic/dl-cache.c: Remove declaration of
8866 _dl_sysdep_read_whole_file.
8867
8868 * elf/dl-load.c (_dl_map_object): Remove declaration of
8869 _dl_load_cache_lookup.
8870
8871 * sysdeps/generic/ldsodefs.h: Add declarations of
8872 _dl_load_cache_lookup, _dl_unload_cache,
8873 _dl_sysdep_read_whole_file, _dl_sysdep_start and
8874 _dl_sysdep_start_cleanup.
8875
8876 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
8877 now.
8878
8879 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
8880 * sysdeps/generic/dl-environ.c: Likewise.
8881
8882 * stdio-common/printf_fp.c: Include <gmp.h> instead of
8883 <stdlib/gmp.h>.
8884 * math/atest-exp.c: Likewise.
8885 * math/atest-exp2.c: Likewise.
8886 * math/atest-sincos.c: Likewise.
8887 * stdio-common/_itoa.c: Likewise.
8888 * stdio-common/_itowa.c: Likewise.
8889
8890 * include/gmp.h: New file with internal prototypes.
8891
8892 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
8893 here to...
8894 * include/setjmp.h: ...here.
8895
8896 * locale/Makefile (routines): Remove codeset_name since it's not
8897 needed anywhere.
8898
8899 * locale/codeset_name.c: Removed.
8900
8901 2000-12-05 Ulrich Drepper <drepper@redhat.com>
8902
8903 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
8904
8905 2000-12-05 Andreas Jaeger <aj@suse.de>
8906
8907 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
8908
8909 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
8910
8911 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
8912 available.
8913
8914 2000-12-05 Andreas Jaeger <aj@suse.de>
8915
8916 * nss/test-netdb.c: Mark local functions as static to avoid
8917 warnings.
8918 (main): Use return to silence warning.
8919
8920 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
8921
8922 * stdio-common/test-popen.c: Mark local functions as static to
8923 avoid warnings.
8924 (main): Use return to silence warning.
8925
8926 * stdlib/testsort.c (compare): Mark as static to avoid warning.
8927
8928 * assert/test-assert.c: Mark local functions as static to avoid
8929 warnings.
8930 * assert/test-assert-perr.c: Likewise.
8931
8932 * math/libm-test.inc (main): Use return to silence warnings.
8933
8934 2000-12-04 Ulrich Drepper <drepper@redhat.com>
8935
8936 * math/fenv.h: Fix typo in comment.
8937
8938 * math/test-misc.c (main): Add a few more over and underflow tests
8939 for scalb.
8940
8941 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
8942 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8943 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8944 * math/w_scalb.c: Don't use matherr except in SVID mode.
8945 * math/w_scalbf.c: Likewise.
8946 * math/w_scalbl.c: Likewise.
8947 * math/test-misc.c: Add test for NaN and scalbl.
8948 Reported by Fred J. Tydeman <tydeman@tybor.com>.
8949
8950 2000-12-04 Ulrich Drepper <drepper@redhat.com>
8951
8952 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
8953 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
8954 * include/libc-symbols.h (strong_alias): Define special version
8955 for HAVE_ASM_GLOBAL_DOT_NAME.
8956 (weak_alias): Likewise.
8957 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
8958 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
8959 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
8960 getutxline, pututxline, and utmpxname.
8961 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
8962 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
8963 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
8964 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
8965 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
8966 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
8967 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
8968 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
8969 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
8970 Patches by Michael Keezer <mkeezer@redhat.com>.
8971
8972 2000-12-04 H.J. Lu <hjl@gnu.org>
8973
8974 * configure.in: Change --with-oldest-abi=ABI to
8975 --enable-oldest-abi=ABI.
8976
8977 2000-12-02 Bruno Haible <haible@clisp.cons.org>
8978
8979 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
8980 fwprintf instead of fprintf.
8981
8982 2000-12-04 Ulrich Drepper <drepper@redhat.com>
8983
8984 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
8985 DECIMAL_DIG definitions.
8986 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
8987 * sysdeps/generic/bits/mathdef.h: Likewise
8988 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
8989 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
8990 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
8991 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
8992 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
8993 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
8994
8995 2000-12-03 Ulrich Drepper <drepper@redhat.com>
8996
8997 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
8998
8999 * math/atest-exp.c: Mark local functions as static to avoid warnings.
9000 * math/atest-exp2.c: Likewise.
9001 * math/atest-sincos.c: Likewise.
9002
9003 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
9004 Reported by Fred J. Tydeman <tydeman@tybor.com>.
9005
9006 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
9007 the handling of denormalized numbers.
9008
9009 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
9010 numbers on x86.
9011 * sysdeps/i386/fpu/fpclassifyl.c: New file.
9012
9013 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
9014 pseudo denormal representation of LDBL_MIN.
9015
9016 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
9017 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
9018
9019 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
9020 * iconvdata/jis0208.c: Likewise.
9021 * iconvdata/jis0212.c: Likewise.
9022 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9023
9024 * math/test-misc.c (main): More tests for frexp and some for
9025 fpclassify and isnormal.
9026
9027 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
9028 test for subnormal.
9029 Reported by Fred J. Tydeman <tydeman@tybor.com>.
9030
9031 * math/test-misc.c (main): Add tests for frexp.
9032 Reported by Fred J. Tydeman <tydeman@tybor.com>.
9033 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
9034
9035 2000-12-02 H.J. Lu <hjl@gnu.org>
9036
9037 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
9038 '\0' to wcschr.
9039
9040 2000-12-02 Ulrich Drepper <drepper@redhat.com>
9041
9042 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
9043 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9044 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9045
9046 * sysdeps/generic/glob.c: Adjust types of several variables to
9047 avoid warnings.
9048
9049 2000-12-01 Ulrich Drepper <drepper@redhat.com>
9050
9051 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
9052
9053 2000-11-30 Roland McGrath <roland@frob.com>
9054
9055 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
9056 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
9057 allow multiple instances using the same function name in one file.
9058
9059 2000-12-01 Ulrich Drepper <drepper@redhat.com>
9060
9061 * configure.in: Correct test for pserver CVS access.
9062
9063 2000-11-28 H.J. Lu <hjl@gnu.org>
9064
9065 * libio/libio.h: Remove extra "#if ... #endif".
9066
9067 2000-11-29 H.J. Lu <hjl@gnu.org>
9068
9069 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
9070
9071 2000-12-01 H.J. Lu <hjl@gnu.org>
9072
9073 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
9074 * nss/getXXent_r.c: Likewise.
9075 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9076
9077 2000-11-30 H.J. Lu <hjl@gnu.org>
9078
9079 * scripts/abi-versions.awk (oldest_abi): New variable.
9080 Handle the oldest ABI supported.
9081
9082 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
9083 for scripts/abi-versions.awk.
9084
9085 * configure.in: Add --with-oldest-abi=ABI.
9086 * configure: Rebuild.
9087
9088 * config.make.in (oldest-abi): New.
9089
9090 * config.h.in (GLIBC_OLDEST_ABI): New.
9091
9092 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
9093
9094 2000-11-30 Jakub Jelinek <jakub@redhat.com>
9095
9096 * locale/setlocale.c (setname): Free for all categories, not just
9097 LC_ALL.
9098 (setlocale): Store a copy of string passed by user, not the string
9099 itself.
9100
9101 2000-11-30 Roland McGrath <roland@frob.com>
9102
9103 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
9104 rather than _hurd_fd_subinit, so it happens after it's safe to use
9105 libc facilities like malloc.
9106
9107 2000-11-28 Andreas Jaeger <aj@suse.de>
9108
9109 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
9110 declaration, adjust declaration of __syscall_getdents to match
9111 kernel.
9112
9113 2000-11-29 H.J. Lu <hjl@gnu.org>
9114
9115 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
9116
9117 2000-11-29 Andreas Jaeger <aj@suse.de>
9118
9119 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
9120
9121 2000-11-28 Ulrich Drepper <drepper@redhat.com>
9122
9123 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
9124 * dlfcn/defaultmod2.c: Likewise.
9125 * dlfcn/dlopen.c: Likewise.
9126 * dlfcn/dlopenold.c: Likewise.
9127 * dlfcn/failtestmod.c: Likewise.
9128 * dlfcn/glreflib1.c: Likewise.
9129 * dlfcn/glreflib2.c: Likewise.
9130 * dlfcn/eval.c: Likewise. Add attributes.
9131
9132 * ctype/ctype-extn.c: Define isblank and not __isblank.
9133
9134 * time/strftime.c: Add const where necessary to avoid warnings.
9135 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
9136
9137 2000-11-22 Paul Eggert <eggert@twinsun.com>
9138
9139 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
9140 size of (size_t) -1; it's not portable.
9141
9142 2000-11-28 Ulrich Drepper <drepper@redhat.com>
9143
9144 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
9145 crappy i486 FPU.
9146 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
9147
9148 2000-11-14 Jes Sorensen <jes@linuxcare.com>
9149
9150 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
9151
9152 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
9153 _mcount is required by profiled binaries.
9154
9155 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
9156 * sysdeps/ia64/machine-gmon.h: ...here.
9157
9158 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
9159
9160 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
9161 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
9162 and ibm1129.h.
9163 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
9164 IBM1129.
9165 * iconvdata/ibm922.c: New file.
9166 * iconvdata/ibm922.h: New file.
9167 * iconvdata/ibm1124.c: New file.
9168 * iconvdata/ibm1124.h: New file.
9169 * iconvdata/ibm1129.c: New file.
9170 * iconvdata/ibm1129.h: New file.
9171 * iconvdata/testdata/IBM922: New file.
9172 * iconvdata/testdata/IBM922..UTF8: New file.
9173 * iconvdata/testdata/IBM1124: New file.
9174 * iconvdata/testdata/IBM1124..UTF8: New file.
9175 * iconvdata/testdata/IBM1129: New file.
9176 * iconvdata/testdata/IBM1129..UTF8: New file.
9177
9178 2000-11-28 Ulrich Drepper <drepper@redhat.com>
9179
9180 * catgets/gencat.c (normalize_line): Take extra parameter with escape
9181 character. Change callers.
9182 (open_conversion): Determine mapping of 0x5c as wchar_t value.
9183 * catgets/Makefile: Add rules to build and run test-gencat.
9184 * catgets/sample.SJIS: New file.
9185 * catgets/test-gencat.c: New file.
9186 * catgets/test-gencat.sh: New file.
9187 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9188
9189 2000-11-28 Andreas Jaeger <aj@suse.de>
9190
9191 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
9192 Linux version.
9193
9194 2000-11-28 Ulrich Drepper <drepper@redhat.com>
9195
9196 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
9197
9198 2000-11-28 Andreas Jaeger <aj@suse.de>
9199
9200 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
9201 __flexarr.
9202 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
9203 Likewise.
9204
9205 2000-11-27 Ulrich Drepper <drepper@redhat.com>
9206
9207 * misc/getusershell.c: Make strings in okshells array const.
9208 * misc/regexp.c: Add const to cast to avoid warnings.
9209 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
9210 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
9211 __setresuid.
9212 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
9213 setresgid.
9214 * misc/error.c: Add prototypes for __error and __error_at_line.
9215 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
9216 statement to avoid warning.
9217 * test-skeleton.c: Mark timeout_handler with noreturn.
9218 * iconv/skeleton.c (get16u): Add const to cast.
9219 (get32u): Likewise.
9220 * iconvdata/gb18030.c: Likewise.
9221 * iconvdata/iso-2022-cn-ext.c: Likewise.
9222 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
9223 * iconvdata/big5.c: Likewise.
9224 * iconvdata/big5hkscs.c: Likewise.
9225 * iconvdata/iso_6937.c: Likewise.
9226 * iconvdata/iso_6937-2.c: Likewise.
9227 * iconvdata/t.61.c: Likewise.
9228 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
9229 * iconvdata/unicode.c: Likewise.
9230 * iconvdata/utf-16.c: Likewise.
9231 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
9232 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
9233 with little code shuffling.
9234
9235 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
9236 the problems introduced when the user selects -O3.
9237
9238 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
9239 * misc/sys/cdefs.h: Define __flexarr.
9240 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
9241
9242 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
9243 * iconv/skeleton.c: Likewise.
9244 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
9245 * iconv/loop.c (get16): Add const to cast.
9246 (get32): Likewise.
9247
9248 2000-11-27 Andreas Jaeger <aj@suse.de>
9249
9250 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
9251 to avoid warning.
9252 * login/programs/utmpdump.c (print_entry): Likewise.
9253
9254 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
9255
9256 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
9257 in a single asm as they may be used to access other stored
9258 registers.
9259 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
9260
9261 2000-11-27 Andreas Jaeger <aj@suse.de>
9262
9263 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
9264 * rt/tst-aio64.c: Likewise.
9265
9266 2000-11-27 Ulrich Drepper <drepper@redhat.com>
9267
9268 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
9269 for gencat run.
9270 (libc.cat): Likewise.
9271 * catgets/gencat.c: Implement handling of message catalogs encoded
9272 with stateful character sets.
9273 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9274
9275 2000-11-26 Ulrich Drepper <drepper@redhat.com>
9276
9277 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
9278
9279 * inet/getnameinfo.c: Adjust casts to avoid warnings.
9280 * inet/rcmd.c: Likewise.
9281 * inet/ruserpass.c: Likewise.
9282 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
9283 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9284 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
9285 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
9286 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
9287 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
9288 * include/aliases.h: Add prototypes for internal __getalias* functions.
9289 * include/netdb.h: Add prototypes for __old_gethostent_r,
9290 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
9291 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
9292 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
9293 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
9294 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
9295 __old_getrpcbynumber_r, __old_getrpcent_r.
9296
9297 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
9298 __getrpcent_r prototypes.
9299
9300 2000-11-25 Ulrich Drepper <drepper@redhat.com>
9301
9302 * string/strcoll.c: Add casts to avoid warnings.
9303 * string/strnlen.c: Likewise.
9304 * string/strxfrm.c: Likewise.
9305 * sysdeps/generic/_strerror.c: Likewise.
9306 * sysdeps/generic/memrchr.c: Likewise.
9307 * sysdeps/generic/strcasestr.c: Likewise.
9308 * sysdeps/generic/strstr.c: Likewise.
9309
9310 * locale/weight.h (findidx): Add const to cast to avoid warning.
9311
9312 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
9313 * elf/loadtest.c: Likewise.
9314 * elf/multiload.c: Likewise.
9315 * elf/next.c: Likewise.
9316 * elf/nodelete.c: Likewise.
9317 * elf/noload.c: Likewise.
9318 * elf/order.c: Likewise.
9319 * elf/origtest.c: Likewise.
9320 * elf/preloadtest.c: Likewise.
9321 * elf/restest1.c: Likewise.
9322
9323 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
9324 parameter of asm must be in %ecx.
9325
9326 * string/tester.c: Mark test functions as static to avoid warnings.
9327
9328 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
9329 preserve value over different gconv-modules files.
9330
9331 2000-11-24 Ulrich Drepper <drepper@redhat.com>
9332
9333 * locale/findlocale.c: Add casts to avoid warnings.
9334 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
9335 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
9336 to avoid warnings.
9337 * misc/tsearch.c (const_node): New type.
9338 (trecurse): Correct casts to avoid warnings.
9339 (__twalk): Likewise.
9340 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
9341 LONG_BIT.
9342
9343 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
9344
9345 * test-skeleton.c: Mark local functions as static to avoid warnings.
9346
9347 2000-11-23 H.J. Lu <hjl@gnu.org>
9348
9349 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
9350 support the background job.
9351 Fix a typo.
9352
9353 2000-11-24 Ulrich Drepper <drepper@redhat.com>
9354
9355 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
9356 has same names but lower cost.
9357
9358 2000-11-23 Jakub Jelinek <jakub@redhat.com>
9359
9360 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
9361 which never occur during bootstrap.
9362 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9363
9364 2000-11-23 Andreas Jaeger <aj@suse.de>
9365
9366 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
9367
9368 * nss/Versions: Remove _nss_files_getipnodebyname_r.
9369
9370 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
9371
9372 2000-11-18 Martin Buchholz <martin@xemacs.org>
9373
9374 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
9375 (called++) return;'
9376
9377 2000-11-21 Alan Modra <alan@linuxcare.com.au>
9378
9379 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
9380
9381 * csu/abi-note.S: Correct comment for operating system number.
9382
9383 2000-11-22 Ulrich Drepper <drepper@redhat.com>
9384
9385 * Versions.def: Add GLIBC_2.2.1 for glibc.
9386
9387 2000-11-22 Andreas Schwab <schwab@suse.de>
9388
9389 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
9390 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
9391
9392 2000-11-22 Ulrich Drepper <drepper@redhat.com>
9393
9394 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
9395 absolute time for pthread_cond_timedwait call.
9396 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
9397
9398 * rt/Makefile (tests): Add tst-aio6.
9399 * rt/tst-aio6.c: New file.
9400
9401 2000-11-23 Andreas Jaeger <aj@suse.de>
9402
9403 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
9404
9405 2000-11-22 Andreas Jaeger <aj@suse.de>
9406
9407 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
9408
9409 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
9410
9411 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
9412
9413 2000-11-21 Andreas Schwab <schwab@suse.de>
9414
9415 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
9416 * sysdeps/arm/setjmp.S: Likewise.
9417 * sysdeps/arm/fpu/setjmp.S: Likewise.
9418 * sysdeps/i386/setjmp.S: Likewise.
9419 * sysdeps/i386/elf/setjmp.S: Likewise.
9420 * sysdeps/s390/setjmp.S: Likewise.
9421 * sysdeps/s390/elf/setjmp.S: Likewise.
9422 * sysdeps/sh/sh3/setjmp.S: Likewise.
9423 * sysdeps/sh/sh4/setjmp.S: Likewise.
9424 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
9425 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9426 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
9427 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
9428
9429 2000-11-21 Andreas Jaeger <aj@suse.de>
9430
9431 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
9432 NORETURN, fix parameter list.
9433
9434 * string/bug-strncat1.c (main): Fix typo.
9435 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
9436
9437 2000-11-20 Ulrich Drepper <drepper@redhat.com>
9438
9439 * configure.in: Add --enable-all-warnings.
9440 * config.make.in (all-warnings): New variable.
9441 * Makeconfig (+gccwarn): Define with many more warnings if
9442 all-warnings is yes.
9443
9444 2000-11-20 Jakub Jelinek <jakub@redhat.com>
9445
9446 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
9447 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
9448 * malloc/tst-valloc.c (main): Cast valloc return value to long.
9449 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
9450 * math/test-fpucw.c (main): Use %lx in format string, cast
9451 control words to long.
9452 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
9453 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
9454 large that it is unsigned warning.
9455
9456 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
9457 it to long on sparc64.
9458
9459 2000-11-20 Andreas Jaeger <aj@suse.de>
9460
9461 * nscd/nscd.h (termination_handler): Add noreturn attribute.
9462 (receiv_print_stats): Likewise.
9463
9464 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
9465
9466 2000-11-20 Ulrich Drepper <drepper@redhat.com>
9467
9468 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
9469
9470 * csu/gmon-start.c: Always have prototype for __gmon_start.
9471 * csu/version.c: Add prototypes for __libc_print_version and
9472 __libc_main.
9473 * iconv/gconv.c: Include gconv_int.h and gconv.h.
9474 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
9475 and __to_name.
9476 * iconv/gconv_builtin.h: Add ASCII module definitions.
9477 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
9478 (add_module): Add cast to avoid warning. Rework construction of
9479 strings for new module.
9480 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
9481 (derivation_compare): Likewise.
9482 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
9483 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
9484 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
9485 (struct gconv_alias): Remove const from fromname and toname.
9486 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
9487 for loop functions.
9488 (internal_ucs4_loop): Use correct const-ness.
9489 (ucs4_internal_loop): Likewise.
9490 (internal_ucs4le_loop): Likewise.
9491 (ucs4le_internal_loop_single): Likewise.
9492 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
9493 to_idx, to_tbl, winbuf, winbufend const. Change casts in
9494 assignments appropriately.
9495 (struct known_trans): Remove const from fname.
9496 (trans_compare): Make s1 and s2 const.
9497 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
9498 avoid warning.
9499 * iconv/skeleton.c: Remove cast in calls of loop functions.
9500 * iconvdata/gconv-modules: Remove US-ASCII definitions.
9501 * iconvdata/iso646.c: Remove US_ASCII support.
9502 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
9503 * include/unistd.h: Add __libc_check_standard_fds prototype.
9504 * string/bits/string2.h (__mempcpy_args): Add const to casts.
9505 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
9506 _fini.
9507 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
9508 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
9509 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
9510 warning.
9511 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
9512 __libc_init_first and _dl_start.
9513 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
9514 (DCIGETTEXT): Make domaindata variable const.
9515 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
9516 to avoid warning.
9517
9518 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
9519
9520 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
9521
9522 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
9523 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
9524 __unused? members.
9525
9526 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
9527 value defined in /usr/include/asm-mips/fcntl.h.
9528
9529 2000-11-18 Ulrich Drepper <drepper@redhat.com>
9530
9531 * stdio-common/Makefile (tests): Add test-vfprintf.
9532 (test-vfprintf-ENV): New variable.
9533 * stdio-common/test-vfprintf.c: New file.
9534
9535 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
9536
9537 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
9538 (tst-mbrtowc-ENV): New variable.
9539 (tst-wcrtomb-ENV): New variable.
9540 * wcsmbs/tst-mbrtowc.c: New file.
9541 * wcsmbs/tst-wcrtomb.c: New file.
9542
9543 2000-11-16 Andreas Jaeger <aj@suse.de>
9544
9545 * manual/install.texi (Tools for Compilation): Update
9546 documentation for GCC 2.95.2.
9547
9548 2000-11-18 Ulrich Drepper <drepper@redhat.com>
9549
9550 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
9551 if IPv4 and IPv6 requests timed out.
9552
9553 2000-11-18 Akim Demaille <akim@epita.fr>
9554
9555 * malloc/obstack.h: Formatting changes.
9556 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
9557 prevents type checking.
9558 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
9559 cast the value to (void *): assigning a `foo *' to a `void *'
9560 variable is valid.
9561 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
9562
9563 2000-11-17 Ulrich Drepper <drepper@redhat.com>
9564
9565 * scripts/config.guess: Update from upstream maintainer.
9566 * scripts/config.sub: Likewise.
9567
9568 2000-11-16 Ulrich Drepper <drepper@redhat.com>
9569
9570 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
9571 * libio/freopen64.c (freopen64): Likewise.
9572 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9573
9574 * libio/Makefile: Add rules to build and run test-freopen.
9575 * libio/test-freopen.c: New file.
9576 * libio/test-freopen.sh: New file.
9577
9578 2000-11-15 H.J. Lu <hjl@gnu.org>
9579
9580 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
9581 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
9582 (DL_DT_FINI_ADDRESS): Likewise.
9583
9584 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
9585 return type to ElfW(Addr).
9586 (_dl_function_address): New prototype.
9587 (DL_FUNCTION_ADDRESS): Defined.
9588 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
9589 (DL_DT_FINI_ADDRESS): Likewise.
9590
9591 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
9592
9593 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
9594 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
9595
9596 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
9597 (_dl_function_address): This.
9598
9599 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
9600 function pointer for DT_FINI.
9601 * elf/dl-close.c (_dl_close): Likewise.
9602
9603 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
9604 function pointer for DT_INIT.
9605
9606 2000-11-16 Jakub Jelinek <jakub@redhat.com>
9607
9608 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
9609 end of wexpbuf buffer.
9610
9611 2000-11-16 Andreas Jaeger <aj@suse.de>
9612
9613 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
9614 definition of F_GETLK, F_SETLK, F_SETLKW.
9615
9616 2000-11-16 Andreas Jaeger <aj@suse.de>
9617
9618 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
9619 it's not defined.
9620
9621 2000-11-15 Jakub Jelinek <jakub@redhat.com>
9622
9623 * dlfcn/default.c (main): Add test for dladdr of main returning
9624 argv[0] in dli_fname field.
9625
9626 2000-11-15 Jakub Jelinek <jakub@redhat.com>
9627
9628 * Makeconfig (run-program-prefix): Move test-static test into the
9629 variable.
9630
9631 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
9632 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
9633 schedule instructions.
9634 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
9635 schedule instructions, fix a bug in copying auxiliary data.
9636
9637 2000-11-15 Ulrich Drepper <drepper@redhat.com>
9638
9639 * manual/startup.texi (Program Arguments): Fix type of main's envp
9640 parameter.
9641 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
9642
9643 * iconvdata/gconv-modules: Add CP950 alias.
9644
9645 2000-11-13 Jakub Jelinek <jakub@redhat.com>
9646
9647 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
9648 syscall-list.h goal.
9649 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
9650
9651 2000-11-15 Ulrich Drepper <drepper@redhat.com>
9652
9653 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
9654
9655 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
9656 output of program.
9657
9658 * intl/tst-gettext2.c: Set C locale if setting other locale
9659 failed. Use gettext() not _().
9660
9661 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
9662 successfully loaded a new locale.
9663
9664 2000-11-13 Andreas Jaeger <aj@suse.de>
9665
9666 * configure.in: Require gcc 2.95 or newer.
9667
9668 2000-11-15 Ulrich Drepper <drepper@redhat.com>
9669
9670 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
9671 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
9672
9673 2000-11-11 Jim Meyering <meyering@lucent.com>
9674
9675 * string/strndup.c (strndup): Cast return value to `char *'.
9676
9677 2000-11-15 Jim Meyering <meyering@ascend.com>
9678
9679 * sysdeps/generic/memchr.c: Remove some useless parentheses.
9680 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
9681 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
9682 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
9683 Also #undef __memchr.
9684 Use `weak_alias' only if it's defined.
9685
9686 2000-11-10 H.J. Lu <hjl@gnu.org>
9687
9688 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
9689
9690 2000-11-15 Andreas Jaeger <aj@suse.de>
9691
9692 * elf/chroot_canon.c: Include <stdint.h>.
9693
9694 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
9695 (print_entry): Likewise.
9696 (add_to_cache): Likewise.
9697
9698 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
9699
9700 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
9701 (path_hwcap): Likewise.
9702 (search_dir): Likewise.
9703
9704 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
9705
9706 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
9707
9708 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
9709 (_dl_platform_string): New.
9710 (_DL_HWCAP_PLATFORM): New.
9711 (_dl_string_platform): New.
9712 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
9713
9714 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
9715 (_dl_string_platform): New.
9716 (_DL_HWCAP_PLATFORM): New.
9717 (_dl_platform_string): New.
9718
9719 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
9720 recognition.
9721 (_DL_HWCAP_COUNT): New.
9722 (_dl_string_platform): New.
9723 (_DL_HWCAP_PLATFORM): New.
9724 (_dl_platform_string): New.
9725
9726 2000-11-14 Ulrich Drepper <drepper@redhat.com>
9727
9728 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
9729
9730 2000-11-14 Andreas Jaeger <aj@suse.de>
9731
9732 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
9733
9734 2000-11-13 Roland McGrath <roland@frob.com>
9735
9736 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
9737
9738 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
9739
9740 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
9741 underrun and make sure the result is null terminated even if there
9742 is no trailing newline.
9743
9744 2000-11-13 Jakub Jelinek <jakub@redhat.com>
9745
9746 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9747
9748 2000-11-10 H.J. Lu <hjl@gnu.org>
9749
9750 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
9751
9752 2000-11-10 Andreas Jaeger <aj@suse.de>
9753
9754 * elf/ldconfig.c (create_links): Fix alloca calculation.
9755 Patch by Ben Collins <bcollins@debian.org>.
9756
9757 2000-11-09 Ulrich Drepper <drepper@redhat.com>
9758
9759 * inet/getnameinfo.c (getnameinfo): Use correct destination
9760 parameter for if_indextoname.
9761 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
9762
9763 2000-11-09 H.J. Lu <hjl@gnu.org>
9764
9765 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
9766 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
9767 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
9768 xdr_keystatus.
9769
9770 * time/Versions (GLIBC_2.1): Move getitimer to...
9771 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
9772
9773 2000-11-03 Bruno Haible <haible@clisp.cons.org>
9774
9775 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
9776 "make install", to work around a binary incompatibility between
9777 glibc 2.1 and glibc 2.2 gconv modules.
9778
9779 2000-11-09 Ulrich Drepper <drepper@redhat.com>
9780
9781 * intl/locale.alias: Add thai.
9782 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
9783
9784 2000-11-07 Akim Demaille <akim@epita.fr>
9785
9786 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
9787 argument `data' for consistency with the prototypes.
9788 Qualify it `const'.
9789 (obstack_copy, obstack_copy0): Rename the second argument as
9790 `address' for consistency. Qualify it `const'.
9791 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
9792 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
9793 `const' their input argument (`data' or `address').
9794 Adjust the corresponding macros to include `const' in casts.
9795
9796 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9797
9798 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
9799 target family.
9800
9801 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9802
9803 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
9804 socket creation.
9805
9806 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9807
9808 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
9809 ai_protocol by internal table if service was not given.
9810
9811 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9812
9813 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
9814 numerical port was specified with protocol without socktype.
9815
9816 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9817
9818 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
9819
9820 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9821
9822 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
9823
9824 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9825
9826 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
9827 sin6_scope_id field.
9828
9829 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9830
9831 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
9832
9833 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9834
9835 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
9836
9837 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9838
9839 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
9840 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
9841
9842 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
9843
9844 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
9845 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
9846
9847 2000-11-09 H.J. Lu <hjl@gnu.org>
9848
9849 * io/Versions (GLIBC_2.1.1): Remove lockf64.
9850
9851
9852 See ChangeLog.11 for earlier changes.