1 2001-08-09 Jakub Jelinek <jakub@redhat.com>
3 * catgets/catgets.c (catclose): Be liberal about catalog_desc in
6 2001-08-09 Ulrich Drepper <drepper@redhat.com>
8 * time/strptime.c (strptime_internal): Add handling of year +
10 * time/tst-strptime.c: Add test case for %U and %W handling.
12 * stdio-common/vfscanf.c: Fix reading of wide chars and strings if
15 * libio/vswprintf.c (_IO_vswprintf): Fix return value handling
16 which is different from snprintf.
17 * libio/tst_swprintf.c: Add tests for too small output buffer.
19 * stdio-common/vfscanf.c: Fix handling of %[] for COMPILE_WSCANF.
20 * libio/Makefile (tests): Add tst-swscanf.
21 * libio/tst-swscanf.c: New file.
23 2001-08-09 Jakub Jelinek <jakub@redhat.com>
25 * posix/globtest.sh: Robustify tilde tests.
27 2001-08-09 Andreas Jaeger <aj@suse.de>
29 * locale/programs/ld-ctype.c (DEFAULT): Fix expression.
31 (wctype_table_finalize): Use it.
33 (wctype_table_get): Likewise.
35 * configure.in: Add check for GCC 3.x.
37 2001-08-09 Ulrich Drepper <drepper@redhat.com>
39 * libio/wfileops.c (_IO_wfile_seekoff): Don't even try to handle
40 seeking with backup buffer present.
41 Correct determining of internal buffer position.
42 Reset also wide buffers if we reset the internal buffers.
43 * libio/iofwide.c (_IO_fwide): Always determine file offset for wide
45 * libio/ioseekoff.c: Catch one unimplemented case.
46 * libio/ftello.c: Don't abort if the wide stream has backup buffer.
47 * libio/ftello64.c: Likewise.
48 * libio/iofgetpos.c: Likewise.
49 * libio/iofgetpos64.c: Likewise.
50 * libio/ftell.c: Likewise.
51 * libio/Makefile (tests): Add tst-ungetwc2.
52 * libio/tst-ungetwc2.c: New file.
54 2001-08-08 Ulrich Drepper <drepper@redhat.com>
56 * locale/elem-hash.h (elem_hash): Correct stupid mistake and
57 create real hash values now.
58 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
60 * libio/iofgetpos.c (_IO_new_fgetpos): Correct a few problems in
61 the handling of wide streams.
63 * libio/ioungetwc.c (ungetwc): Orient stream first.
64 * libio/Makefile (tests): Add tst-ungetwc1.
65 * libio/tst-ungetwc1.c: New file.
67 * libio/wfileops.c (_IO_wfile_underflow): Remove incorrect test
68 for possible conversion using __codecvt_do_in.
69 * libio/Makefile (tests): Add tst-fgetws.
70 * libio/tst-fgetws.c: New file.
72 * libio/iofgetws.c: Use _IO_ferror_unlocked macros instead of
75 * catgets/open_catalog.c: Rewrite code to assume that the function
76 is called at catopen time and not delayed in catgets.
77 * catgets/catgets.c (catopen): Call __open_catalog and fail if that
79 (catgets): Remove code for delayed opening of catalog.
80 * catgets/catgetsinfo.h: Remove now unnecessary information from
81 struct catalog_info. Change __open_catalog prototype.
82 * catgets/gencat.c: Adjust __open_catalog call.
83 * catgets/test-gencat.c: Stop program if catopen failed.
85 * locale/C-monetary.c (_nl_C_LC_MONETARY): Provide correct value
88 * locale/programs/ld-messages.c (messages_finish): Provide POSIX
89 locale compliant default values for fields without definition.
90 * locale/programs/ld-time.c (time_finish): Likewise.
91 * locale/programs/ld-monetary.c (monetary_finish): Likewise.
93 2001-08-08 Andreas Jaeger <aj@suse.de>
95 * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Fix test for
98 2001-08-07 Ulrich Drepper <drepper@redhat.com>
100 * sysdeps/ia64/memusage.h (GETTIME): Define using hp-timing.h
103 * sysdeps/ia64/hp-timing.h (HP_TIMING_NOW): Fix comment.
105 2001-08-07 Jakub Jelinek <jakub@redhat.com>
107 * malloc/memusage.c (initialized): New variable.
108 (init): If not yet initialized, call me().
109 (me): Do all dlsym calls here.
110 (malloc, realloc, calloc, free): If not yet initialized,
111 call me(). If in the middle of initializing, return NULL or
114 2001-08-07 Jakub Jelinek <jakub@redhat.com>
116 * sysdeps/unix/seekdir.c (seekdir): Set dirp->filepos.
118 * dirent/tst-seekdir.c (main): Check whether telldir right after
119 seekdir returns 2nd argument given to seekdir.
121 2001-08-07 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
123 * dlfcn/Makefile (tststatic-ENV): Add $(common-objpfx) to
126 2001-08-07 Andreas Jaeger <aj@suse.de>
127 Andreas Schwab <schwab@suse.de>
128 Bruno Haible <haible@clisp.cons.org>
130 * locale/programs/3level.h (EMPTY): New macro.
131 (*_get, *_add, *_iterate, *_finalize): Use it instead of ~(uint32_t) 0.
133 2001-08-08 GOTO Masanori <gotom@debian.or.jp>
135 * locale/iso-3166.def: Updates from latest official list.
137 2001-08-07 Andreas Jaeger <aj@suse.de>
139 * stdlib/tst-strtod.c: Disable HUGE_VAL tests for older GCCs.
141 * iconv/gconv_charset.h (upstr): Add unused attribute to avoid warning.
143 * libio/iopopen.c (_IO_new_proc_open): Fix typos, it's _IO_MTSAFE_IO.
144 (_IO_new_proc_close): Likewise.
145 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
146 (_IO_old_proc_close): Likewise.
148 2001-08-06 Ulrich Drepper <drepper@redhat.com>
150 * manual/locale.texi: Add documentation for rpmatch.
151 Patch by Jochen Hein <jochen@jochen.org>.
153 2001-08-06 Jakub Jelinek <jakub@redhat.com>
155 * stdlib/strtod.c (STRTOF): Skip whole infinity, not just inf.
156 * stdio-common/vfscanf.c (__vfscanf): +- can be followed by i in +-Inf.
158 * stdlib/tst-strtod.c (tests): Add Inf tests.
159 * stdio-common/tstscanf.c (main): Add tests for +- before Inf.
161 2001-08-06 Ulrich Drepper <drepper@redhat.com>
163 * locale/weightwc.h (findidx): Change type of i to int32_t.
165 * wcsmbs/wcsmbs-tst1.c (main): Avoid warning. Pretty printing.
167 2001-08-05 Roland McGrath <roland@frob.com>
169 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h (struct dirent): Rename member
171 (struct dirent64): Likewise.
172 (d_fileno): Define as macro.
174 2001-08-04 Roland McGrath <roland@frob.com>
176 * sysdeps/mach/hurd/getrusage.c: Use TASK_EVENTS_INFO if implemented
177 by the microkernel (which it's not).
179 2001-08-04 Ulrich Drepper <drepper@redhat.com>
181 * libio/fileops.c (_IO_new_file_underflow): Don't call
182 _IO_flush_all_linebuffered. This isn't required in any standard.
183 Instead flush only stdout.
184 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
186 2001-08-04 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
188 * dlfcn/Makefile: Add rules for new testcase tststatic.
189 * dlfcn/tststatic.c: New file.
190 * dlfcn/modstatic.c: New file.
192 2001-08-04 Ulrich Drepper <drepper@redhat.com>
194 * manual/summary.awk: Fix value used for FF.
196 * elf/rtld.c: Correct use of __builtin_expect.
198 * elf/dl-close.c: Remove commented-out code.
200 * libio/genops.c (_IO_unbuffer_write): Force streams in narrow
201 orientation so that conversion modules aren't used anymore.
202 * malloc/set-freeres.c: Call _IO_cleanup before running subfreeres
203 functions to avoid using wide streams afterwards.
205 * iconvdata/Makefile: Add rules to build GEORGIAN-PS and
207 * iconvdata/georgian-ps.c: New file.
208 * iconvdata/georgian-academy.c: New file.
209 * iconvdata/gconv-modules: Add entries for GEORGIAN-PS and
211 * iconvdata/tst-tables.sh: Add GEORGIAN-PS and GEORGIAN-ACADEMY.
213 2001-08-03 Ulrich Drepper <drepper@redhat.com>
215 * locale/programs/ld-collate (insert_value): If symbol in order
216 definition does not exist create it as a sequence without
217 associated multibyte and wide representation.
219 2001-07-30 Roland McGrath <roland@frob.com>
221 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start): Diddle
222 syntax so both function and pointer-to-function arguments work right.
224 2001-08-03 Tom Rix <trix@redhat.com>
226 * config.h.in: Add HAVE_XCOFF for AIX.
227 * configure.in: Add --with-xcoff option.
228 * include/libc-symbols.h: Disable the .stabs macros.
230 2001-08-03 Ulrich Drepper <drepper@redhat.com>
232 * iconvdata/8bit-gap.c: Correctly use __builtin_expect.
233 * iconvdata/ansi_x3.110.c: Likewise.
234 * iconvdata/big5.c: Likewise.
235 * iconvdata/euc-cn.c: Likewise.
236 * iconvdata/euc-jp.c: Likewise.
237 * iconvdata/euc-kr.c: Likewise.
238 * iconvdata/gb18030.c: Likewise.
239 * iconvdata/gbbig5.c: Likewise.
240 * iconvdata/gbgbk.c: Likewise.
241 * iconvdata/gbk.c: Likewise.
242 * iconvdata/ibm930.c: Likewise.
243 * iconvdata/ibm932.c: Likewise.
244 * iconvdata/ibm933.c: Likewise.
245 * iconvdata/ibm935.c: Likewise.
246 * iconvdata/ibm939.c: Likewise.
247 * iconvdata/ibm943.c: Likewise.
248 * iconvdata/iso-2022-cn.c: Likewise.
249 * iconvdata/iso-2022-kr.c: Likewise.
250 * iconvdata/iso646.c: Likewise.
251 * iconvdata/iso8859-1.c: Likewise.
252 * iconvdata/iso_6937-2.c: Likewise.
253 * iconvdata/iso_6937.c: Likewise.
254 * iconvdata/johab.c: Likewise.
255 * iconvdata/sjis.c: Likewise.
256 * iconvdata/t.61.c: Likewise.
257 * iconvdata/uhc.c: Likewise.
258 * iconvdata/unicode.c: Likewise.
259 * iconvdata/utf-16.c: Likewise.
260 * iconv/gconv_simple.c: Likewise. Convert assert() in real error
263 * iconvdata/Makefile: Add rules to build KOI8-T module.
264 * iconvdata/koi8-t.c: New file.
265 * iconvdata/gconv-modules: Add entries for KOI8-T.
266 * iconvdata/tst-tables.sh: Add KOI8-T.
268 * locale/iso-639.def: Correct Javanese 2 letter code. Add Tonga.
271 2001-08-02 Ulrich Drepper <drepper@redhat.com>
273 * locale/programs/ld-collate.c (collate_read): Handle collating-element
274 and reorder_after following copy statement correctly.
276 2001-08-02 Andreas Jaeger <aj@suse.de>
278 * libio/bits/stdio.h (printf): Remove printf optimization since
279 GCC 3.0 can optimize printf.
281 2001-08-02 Ulrich Weigand <uweigand@de.ibm.com>
283 * sysdeps/s390/s390-32/memcpy.S: Fixed incorrect use of
284 mvcle introduced by 2001-07-12 change.
285 * sysdeps/s390/s390-64/memcpy.S: Likewise.
287 2001-07-31 Ulrich Drepper <drepper@redhat.com>
289 * sysdeps/unix/sysv/linux/i386/getcontext.S: Don't touch the %gs
290 register so that contexts can be used in different threads.
291 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
292 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
294 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Correct
295 test for cmsg struct size.
296 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Likewise.
298 * sysdeps/unix/sysv/linux/i386/makecontext.S: Remove unnecessary
301 * libio/iopopen.c: Add lock for proc_file_chain access.
302 * libio/oldiopopen.c: Add lock for old_proc_file_chain access.
303 Reported by Padraig Brady <Padraig@linux.ie>.
305 2001-07-31 Andreas Jaeger <aj@suse.de>
307 * sysdeps/unix/sysv/linux/sparc/bits/poll.h (NPOLLFILE): Removed.
308 * sysdeps/unix/sysv/linux/mips/bits/poll.h (NPOLLFILE): Removed.
309 * sysdeps/unix/sysv/linux/m68k/bits/poll.h (NPOLLFILE): Removed.
310 * sysdeps/unix/sysv/linux/bits/poll.h (NPOLLFILE): Removed.
311 * sysdeps/generic/bits/poll.h (NPOLLFILE): Removed.
313 * libio/genops.c (flush_cleanup): Guard list_all_lock to allow
314 compilation without threads.
316 2001-07-30 Ulrich Drepper <drepper@redhat.com>
318 * po/fr.po: Update from translation team.
320 2001-07-30 Andreas Jaeger <aj@suse.de>
322 * sysdeps/ieee754/ldbl-128/e_atanhl.c: New file, contributed by
325 * posix/regex.c: Declare wcs functions only if compiling with
327 Don't use #elif for traditional C.
329 2001-07-29 Mark Kettenis <kettenis@gnu.org>
331 * sysdeps/mach/hurd/recvmsg.c: New file.
332 * sysdeps/mach/hurd/sendmsg.c: New file.
334 2001-07-27 Ulrich Drepper <drepper@redhat.com>
336 * version.h (VERSION): Bump to 2.2.4.
338 * sysdeps/mips/Dist: Remove non-existing files.
339 * sysdeps/mips/mips64/Dist: Likewise.
340 * sysdeps/mips/mipsel/Dist: Removed.
341 * iconv/Makefile (distribute): Add strtab.c and iconvconfig.h.
342 * sysdeps/generic/Dist: Add bits/link.h.
343 * sysdeps/unix/sysv/linux/m68k/Dist: Add sys/procfs.h.
344 * sysdeps/unix/sysv/aix/Dist: Add dl-support.c, dl-addr.c, and
346 * sysdeps/ia64/Dist: Add bits/link.h.
348 * libio/vasprintf.c (_IO_vasprintf): Don't copy uninitialized byte
349 from stream buffer to result buffer.
350 Reported by Michael Meeks <michael@ximian.com>.
352 * libio/Makefile: Add rules to check output of tst-fopenloc and
354 * libio/tst-fopenloc.c: New file.
356 * iconv/gconv_cache.c (__gconv_compare_alias_cache): New function.
357 * iconv/gconv_int.h: Add prototype for __gconv_compare_alias_cache.
358 * iconv/gconv_charset.h: Replace __gconv_lookup_alias prototype with
359 __gconv_compare_alias prototype.
360 * iconv/gconv_db.c (__gconv_lookup_alias): Removed.
361 (__gconv_compare_alias): New function.
362 * locale/findlocale.c (_nl_find_locale): Use __gconv_compare_alias
363 instead of calling __gconv_lookup_alias twice and compare here.
365 2001-07-26 Mark Kettenis <kettenis@gnu.org>
367 * hurd/hurdsig.c (_hurd_internal_post_signal): Fix handling of
368 SA_RESETHAND and SA_NODEFER.
370 2001-07-27 Ulrich Drepper <drepper@redhat.com>
372 * libio/fileops.c (_IO_new_file_fopen): Correctly locate ccs=
373 substring. Don't handle ccs= if no descriptor was allocated.
374 Normalize codeset name before calling __wcsmbs_named_conv.
375 Initialize transliteration elements. Free step data structure.
376 * libio/iofclose.c (_IO_new_fclose): Correct freeing of the step data.
377 * libio/iofwide.c (__libio_translit): Renamed from libio_translit
378 and made public. Various little cleanup changes.
379 * wcsmbs/wcsmbsload.h (struct gconv_fcts): Add towc_nsteps and
381 * wcsmbs/wcsmbsload.c: Add some casts to avoid warnings.
382 (__wcsmbs_gconv_fcts): Initialize towc_nsteps and tomb_nsteps member.
383 (getfct): Take additional parameter with pointer to variable where the
384 number of steps is stored in. Disable code which allows to use more
385 than one step for now. Adjust all callers.
386 (free_mem): New function. Frees data associated with currently
389 * malloc/mtrace.pl: Extract addresses from DSOs.
391 2001-07-26 Ulrich Drepper <drepper@redhat.com>
393 * malloc/mcheck.c (checkhdr): Disable mcheck before reporting an
394 error. Don't run any tests if mcheck is disabled.
396 * elf/dl-support.c (_dl_important_hwcaps): Avoid using malloc
397 early in the program.
399 2001-07-27 Andreas Jaeger <aj@suse.de>
401 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h (SC_GPRS): Fix
402 value following change from 2001-05-30.
404 * sysdeps/s390/s390-64/bits/setjmp.h (_JMPBUF_UNWINDS): Follow
405 rename change from 2001-07-12 for __jmp_buf.
406 Patches by Ulrich Weigand <Ulrich.Weigand@de.ibm.com>.
408 2001-07-26 Roland McGrath <roland@frob.com>
410 * sysdeps/generic/bits/termios.h (EXTA, EXTB): Make these conditional
411 on __USE_MISC rather than __USE_BSD.
412 (B57600, B115200, B230400, B460800, B500000, B576000, B921600,
413 B1000000, B1152000, B1500000, B2000000, B2500000, B3000000,
414 B3500000, B4000000): New macros.
415 * sysdeps/generic/tcsetattr.c (bad_speed): Accept those values.
416 * termios/cfsetspeed.c (speeds): Likewise.
418 2001-07-26 kaz Kojima <kkojima@rr.iij4u.or.jp>
420 * sysdeps/sh/dl-machine.h (elf_machine_load_address): Don't use
422 (FUN_ADDR, FGR_SAVE, ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
423 (elf_machine_rela): Handle unaligned relocation.
425 2001-06-07 David Mosberger <davidm@hpl.hp.com>
427 * sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Update call to
428 __ia64_make_fptr() for new interface.
429 (_dl_function_address): Remove.
431 * sysdeps/ia64/dl-machine.h (IA64_BOOT_FPTR_TABLE_LEN): Rename
432 from IA64_BOOT_FPTR_SIZE and reduce its value from 256 to 200.
433 (struct ia64_fdesc): Rename from struct ia64_fptr and drop "next"
434 pointer. Rename member "func" to "ip".
435 (struct ia64_fdesc_table): New type.
436 (__ia64_make_fptr): Change prototype.
437 (__ia64_init_bootstrap_fdesc_table): New function.
438 (ELF_MACHINE_BEFORE_RTLD_RELOC): New macro.
439 (__boot_ldso_fptr): Removed.
440 (__fptr_next): Removed.
441 (__fptr_root): Removed.
442 (__fptr_count): Removed.
443 (TRAMPOLINE_TEMPLATE): Fix typo in comment. Don't use multi-line
444 strings to avoid warning from gcc3.
445 (RTLD_START): Don't use multi-line strings.
446 (ELF_MACHINE_START_ADDRESS): Use DL_STATIC_FUNCTION_ADDRESS.
447 (elf_machine_fixup_plt): Update the code entry point in the
448 function descriptor through a "volatile" pointer to ensure proper
450 (elf_machine_rela): Simplify handling of FPTR relocs: always call
453 * sysdeps/ia64/dl-lookupcfg.h (DL_AUTO_FUNCTION_ADDRESS): New macro.
454 (DL_STATIC_FUNCTION_ADDRESS): Likewise.
455 (DL_DT_INIT_ADDRESS): Use DL_AUTO_FUNCTION_ADDRESS.
456 (DL_DT_FINI_ADDRESS): Likewise.
458 * sysdeps/ia64/dl-fptr.c: Rewrite for better scalability and to
461 * include/link.h: Add member machine specific "l_mach" member to
464 * sysdeps/generic/bits/link.h: New file.
465 * sysdeps/ia64/bits/link.h: Likewise.
467 * elf/rtld.c (_dl_start): Fix typo in comment.
468 (_dl_start_final): Copy new "l_mach" member from temporary to
471 2001-07-25 Ulrich Drepper <drepper@redhat.com>
473 * csu/gmon-start.c: Use ENTRY_POINT_DECL if defined instead of a
474 declaration using ENTRY_POINT.
475 * sysdeps/ia64/elf/entry.h (ENTRY_POINT_DECL): New definition.
477 2001-07-25 H.J. Lu <hjl@gnu.org>
479 * csu/gmon-start.c: Include <entry.h>
480 (_start): Replaced with ENTRY_POINT.
482 2001-07-25 Mark Kettenis <kettenis@gnu.org>
484 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: New file.
486 2001-07-25 Ulrich Drepper <drepper@redhat.com>
488 * iconv/iconvconfig.c (main): Don't write an output file if we
490 (write_output): Don't overwrite old cache file until we know we
493 * iconv/Makefile (install-sbin): Add iconvconfig.
495 2001-07-25 Jakub Jelinek <jakub@redhat.com>
497 * elf/Makefile (routines): Add dl-iteratephdr and
498 dl-iteratephdr-static.
499 (elide-routines.os): Add dl-iteratephdr-static.
500 * elf/dl-iteratephdr.c: New file.
501 * elf/link.h (struct dl_phdr_info): New definition.
502 (dl_iterate_phdr): New prototype.
503 * elf/Versions (dl_iterate_phdr): Add at GLIBC_2.2.4.
504 * include/link.h (struct dl_phdr_info): New definition.
505 (dl_iterate_phdr, __dl_iterate_phdr): New prototypes.
506 * sysdeps/generic/dl-iteratephdr-static.c: New file.
507 * sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: New file.
509 2001-07-24 Igor Khavkine <i_khavki@alcor.concordia.ca>
511 * hurd/hurdsig.c (_hurdsig_init): Fix incorrect initialization
514 2001-06-22 Jakub Jelinek <jakub@redhat.com>
516 * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
517 gaps below main executable.
519 2001-07-22 Bruno Haible <haible@clisp.cons.org>
521 * intl/libintl.h (ngettext, dngettext, dcngettext): Use both msgid1
522 and msgid2 for printf format argument checking.
524 2001-07-24 Ulrich Drepper <drepper@redhat.com>
526 * iconv/gconv_cache.c (find_module): Don't allocate room for the
527 filename. Use alloca, we don't need it beyond this function.
528 (__gconv_release_cache): New function.
529 * iconv/gconv_db.c (__gconv_close_transform): Call
530 __gconv_release_cache after the steps are handled.
531 * iconv/gconv_dl.c (__gconv_find_shlib): Allocate file name in the
533 * iconv/gconv_int.h: Add prototype for __gconv_release_cache.
535 * iconv/gconv_cache.c (__gconv_lookup_cache): Catch one more
536 boundary case and reject it.
538 2001-07-24 Andreas Jaeger <aj@suse.de>
540 * manual/examples/longopt.c (main): Fix which options take arguments.
542 2001-07-24 Ulrich Drepper <drepper@redhat.com>
544 * iconvdata/Makefile: Add dependencies for tst-loading test.
546 2001-07-24 Andreas Jaeger <aj@suse.de>
548 * iconv/iconvconfig.c (name_insert): Make static to avoid warning.
550 2001-07-23 Ulrich Drepper <drepper@redhat.com>
552 * locale/programs/locale.c (write_locales): Disable implicit
553 locking for the stream. Use feof_unlocked instead of feof.
555 * sysdeps/unix/sysv/linux/i386/makecontext.S: Initialize %fs, %gs,
556 and floating-point status as well.
558 * libio/iofclose.c (_IO_new_fclose): Unlink descriptor first to
560 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
561 * libio/genops.c (_IO_un_link): Get stream lock since it's not
562 always done in the caller.
563 (_IO_link_in): Likewise.
565 * libio/genops.c (_IO_list_all_stamp): New variable.
566 (_IO_un_link): Bump _IO_list_all_stamp after removing from list.
567 (_IO_link): Likewise for insertion.
568 (flush_cleanup): New function.
569 (_IO_flush_all): Get list_all_lock and all individual locks for the
570 streams. Detect and handle changes to the _IO_list_all list.
571 (_IO_flush_all_linebuffered): Likewise.
572 * sysdeps/generic/bits/stdio-lock.h: Define
573 _IO_cleanup_region_start_noarg.
574 * sysdeps/mach/hurd/bits/stdio-lock.c: Likewise.
576 * stdio-common/printf.h: Fix typo in comment.
578 * iconv/gconv_cache.c (__gconv_lookup_cache): Handle encoding from
580 * iconv/iconvconfig.c: Create a special record for the INTERNAL
581 encoding name in the output file.
583 2001-07-23 Jakub Jelinek <jakub@redhat.com>
585 * sunrpc/svc_tcp.c (svctcp_rendezvous_abort): New function.
586 (svctcp_rendezvous_op): Use it.
587 * sunrpc/svc_unix.c (svcunix_rendezvous_abort): New function.
588 (svcunix_rendezvous_op): Use it.
590 2001-07-23 Andreas Schwab <schwab@suse.de>
592 * math/Makefile (CPPFLAGS-test-ifloat.c, CPPFLAGS-test-idouble.c,
593 CPPFLAGS-test-ildoubl.c): Renamed from CFLAGS-*.
594 (math-CPPFLAGS): Set this instead of CPPFLAGS.
596 2001-07-23 Ulrich Drepper <drepper@redhat.com>
598 * elf/elf.h: Add more definitions from Sun's latest version.
600 2001-07-23 Stephen L Moshier <moshier@mediaone.net>
602 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Return proper
603 sign for 0 input and set divide by zero exception for -1 input.
604 Return argument if NaN or infinity.
606 2001-07-23 Andreas Jaeger <aj@suse.de>
608 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add some deltas.
610 2001-07-23 Ulrich Drepper <drepper@redhat.com>
612 * iconv/gconv_cache.c (__gconv_lookup_cache): Select correct
613 module for conversion direction.
615 2001-07-23 Stephen L Moshier <moshier@mediaone.net>
617 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Return proper
618 sign for 0 input. Return NaN with no exception for NaN input.
620 2001-07-23 Ulrich Drepper <drepper@redhat.com>
622 * iconv/gconv_builtin.h: ISO-106464/UTF-8/ transformation must
625 2001-07-23 Andreas Jaeger <aj@suse.de>
627 * iconv/iconvconfig.c: Include <sys/cdefs.h> and use
628 __attribute_malloc__ for older GCC versions.
629 * iconv/strtab.c: Likewise.
630 Add prototypes to avoid warnings.
632 2001-07-22 Roland McGrath <roland@frob.com>
634 * hurd/hurdsig.c (_hurd_internal_post_signal): Support SA_RESETHAND
635 and SA_NODEFER options. Spurred to action by Igor Khavkine.
637 * sysdeps/generic/bits/sigaction.h [__USE_UNIX98 || __USE_MISC]
638 (SA_NODEFER, SA_RESETHAND): New macros, same bit values as FreeBSD.
639 [__USE_MISC] (SA_INTERRUPT): New macro, value 0.
640 [__USE_MISC] (SA_NOMASK, SA_ONESHOT, SA_STACK): New macros, aliases
641 as in other sysdeps versions of this file.
643 * sysdeps/generic/bits/sigaction.h (struct sigaction): Use a union
644 and provide sa_handler and sa_sigaction member names as macros, as
645 done in other sysdeps versions of this file.
646 Suggested by Igor Khavkine <i_khavki@alcor.concordia.ca>.
648 2001-07-23 Ulrich Drepper <drepper@redhat.com>
650 * posix/regex.c: Revamp memory allocation for WCHAR functions to
651 not use too much stack.
653 2001-07-22 Ulrich Drepper <drepper@redhat.com>
655 * iconv/iconvconfig.c (write_output): Update comment explaining
658 * elf/dl-load.c (_dl_dst_count): In SUID binaries expand $ORIGIN
660 (_dl_dst_substitute): Likewise.
662 * iconv/iconvconfig.c: Remove --verbose option. Comment out
665 * iconv/strtab.c (morememory): Fix little memory handling problem.
667 2001-07-22 Andreas Schwab <schwab@suse.de>
669 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Don't
670 mark asm input operand as clobbered.
671 * sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise.
673 2001-07-22 Ulrich Drepper <drepper@redhat.com>
675 * iconv/gconv_builtin.c (struct builtin_map): Remove init and end
677 (BUILTIN_TRANSFORMATION): Remove Init and End parameters.
678 (__gconv_get_builtin_trans): Initialize __init_fct and __end_fct to
680 * iconv/gconv_builtin.h: Remove NULL parameters for Init and End in
681 all BUILTIN_TRANSFORMATION calls.
682 * iconv/gconv_conf.c (BUILTIN_TRANSFORMATION): Remove Init and End
684 * iconv/gconv_simple.c: Likewise.
685 * iconv/gconv_db.c (gen_steps): Internal converters don't have
686 initializers, move the code accordingly.
688 * iconv/gconv_conf.c (__gconv_read_conf): Don't read configuration
689 file if STATIC_GCONV is defined.
691 * iconv/gconv_conf.c (__gconv_path_envvar): New global variable.
692 (__gconv_get_path): Use it instead of call getenv.
693 (__gconv_read_conf): First see whether cache can be used. If yes,
694 don't do any work here.
695 * iconv/gconv_db.c (__gconv_release_step): Renamed from release_step
696 and exported. Change callers.
697 (__gconv_find_transform): First call __gconv_lookup_cache and only
698 continue if it signals no cache available. Remove some unnecessary
700 * iconv/gconv_int.h: Declare __gconv_path_envvar, __gconv_lookup_cache,
701 __gconv_release_step, and __gconv_loaded_cache.
702 * iconv/gconv_cache.c: New file.
703 * iconv/iconvconfig.c: New file.
704 * iconv/iconvconfig.h: New file.
705 * iconv/strtab.c: New file.
706 * iconv/Makefile: Add rules to build new files and programs.
708 2001-07-20 Roland McGrath <roland@frob.com>
710 * sysdeps/generic/device-nrs.h (DEV_TTY_P): Change argument type
711 from `dev_t' (st_rdev value) `const struct stat *'.
712 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Likewise.
713 * libio/filedoalloc.c (_IO_file_doallocate): Change caller.
714 * sysdeps/mach/hurd/device-nrs.h: New file.
716 * libio/stdio_ext.h: Moved to ...
717 * stdio-common/stdio_ext.h: ... here.
718 * libio/Makefile (headers): Move stdio_ext.h from here ...
719 * stdio-common/Makefile (headers): ... to here.
720 * include/stdio_ext.h: New file.
721 * stdio/Makefile (routines): Add the stdio_ext.h functions here.
722 * stdio/Versions (GLIBC_2.2.4): Export the stdio_ext.h functions.
723 * stdio/__flbf.c: New file.
724 * stdio/__fbufsize.c: New file.
725 * stdio/__fpending.c: New file.
726 * stdio/__fpurge.c: New file.
727 * stdio/__freadable.c: New file.
728 * stdio/__freading.c: New file.
729 * stdio/__fsetlocking.c: New file.
730 * stdio/__fwritable.c: New file.
731 * stdio/__fwriting.c: New file.
733 2001-07-20 Ulrich Drepper <drepper@redhat.com>
734 Andreas Jaeger <aj@suse.de>
736 * elf/ldconfig.c (search_dir): Avoid use of uninitialized memory.
737 Add a few __builtin_expect to mark unlikely error cases.
739 2001-07-20 Andreas Jaeger <aj@suse.de>
741 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Synch with kernel.
742 Patch by Daniel Jacobowitz <dan@debian.org>.
744 2001-07-19 Ulrich Drepper <drepper@redhat.com>
746 * intl/localealias.c: Remove unnecessary prototype.
748 * Makefile: Add html goal.
749 * manual/Makefile: Likewise.
751 2001-07-18 Ulrich Drepper <drepper@redhat.com>
753 * libio/filedoalloc.c (_IO_file_doallocate): A few more minor
754 cleanups and improvements.
756 2001-07-18 Andreas Schwab <schwab@suse.de>
758 * posix/regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
759 underscore character.
761 2001-07-18 Jakub Jelinek <jakub@redhat.com>
763 * malloc/malloc (new_heap): Don't call munmap for zero length.
765 2001-07-18 Ulrich Drepper <drepper@redhat.com>
767 * libio/filedoalloc.c (_IO_file_doallocate): Use DEV_TTY_P if
768 available to determine whether descriptor is for tty before
771 * sysdeps/unix/sysv/linux/device-nrs.h: Define DEV_TTY_P.
772 * sysdeps/generic/device-nrs.h: Likewise.
774 2001-07-18 Andreas Jaeger <aj@suse.de>
776 * time/Makefile (tst-getdate-ENV): Add TZDIR to environment.
778 * time/Depend: New, add dependency on timezone.
780 * time/tst-getdate.c: Add testcase for bug report by Hendrik
781 Uhlmann <HUhlmann@stn-atlas.de>.
782 * time/datemsk: Likewise.
784 2001-07-17 Ulrich Drepper <drepper@redhat.com>
786 * elf/ldconfig.c (parse_conf): Disable implicit locking for the
787 stream. Remove some unnecessary initializers.
789 2001-07-17 Andreas Jaeger <aj@suse.de>
791 * elf/ldconfig.c: Add new variable hwcap_mask to honour LD_HWCAP_MASK.
792 (is_hwcap_platform): Use it.
793 (set_hwcap): New function to set hwcap_mask.
794 (main): Call set_hwcap.
796 2001-07-17 Jakub Jelinek <jakub@redhat.com>
798 * time/getdate.c (__getdate_r): Initialize tm_isdst, tm_gmtoff and
799 tm_zone before calling strptime.
801 2001-07-17 Andreas Schwab <schwab@suse.de>
803 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Fix last change.
805 2001-07-17 Ulrich Drepper <drepper@redhat.com>
807 * inet/rcmd.c (iruserfopen): Disable implicit locking for the stream.
808 * inet/ruserpass.c (ruserpass): Likewise.
809 * nss/nsswitch.c (nss_parse_file): Likewise.
810 * resolv/res_hconf.c (_res_hconf_init): Likewise.
811 * resolv/res_init.c (__res_vinit): Likewise.
812 * gmon/bb_exit_func.c (__bb_exit_func): Likewise.
813 * misc/getpass.c (getpass): Likewise.
814 * misc/getusershell.c (initshells): Likewise.
815 * misc/getttyent.c (setttyent): Likewise.
816 * misc/mntent_r.c (__setmntent): Likewise.
817 * time/getdate.c (__getdate_r): Likewise.
818 * time/tzfile.c (__tzfile_read): Likewise.
819 * iconv/gconv_conf.c (read_conf_file): Likewise.
820 * intl/localealias.c (read_alias_file): Disable implicit locking
821 for the stream. Use _unlocked functions for glibc.
822 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Disable
823 implicit locking for the stream.
824 (__get_nprocs_conf): Likewise.
825 (phys_pages_info): Likewise.
827 2001-07-16 Ulrich Drepper <drepper@redhat.com>
829 * nscd/connections.c: Print messages caused by user application
830 only if debug_level > 0. Add little performance improvements.
831 Use TEMP_FAILURE_RETRY around write calls.
832 * nscd/grpcache.c: Likewise.
833 * nscd/hstcache.c: Likewise.
834 * nscd/pwdcache.c: Likewise.
836 2001-07-13 H.J. Lu <hjl@gnu.org>
838 * sysdeps/mips/dl-machine.h (MAP_BASE_ADDR): Removed.
839 (elf_machine_got_rel): Defined only if RTLD_BOOTSTRAP is not defined.
840 (RESOLVE_GOTSYM): Rewrite to use RESOLVE.
842 * sysdeps/mips/rtld-ldscript.in: Removed.
843 * sysdeps/mips/rtld-parms: Likewise.
844 * sysdeps/mips/mips64/rtld-parms: Likewise.
845 * sysdeps/mips/mipsel/rtld-parms: Likewise.
847 2001-07-16 Ulrich Drepper <drepper@redhat.com>
849 * catgets/test-gencat.sh: Use <<"EOF" instead of <<EOF to prevent
850 substitution in here document.
852 2001-07-16 Andreas Schwab <schwab@suse.de>
854 * sysdeps/posix/spawni.c: Fix typo when iterating over signal numbers.
856 2001-07-16 Andreas Schwab <schwab@suse.de>
858 * math/libm-test.inc (check_float_internal): Fix sign bit test of
861 2001-07-16 Jakub Jelinek <jakub@redhat.com>
863 * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Make it PIC friendly.
865 2001-07-15 Ulrich Drepper <drepper@redhat.com>
867 * malloc/obstack.c: Define __attribute__ for non-gcc compilers.
868 Patch by Jim Meyering <jim@meyering.net>.
870 2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
872 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Reorder
873 fields in the sigaction struct to match the definition in the kernel.
875 2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
877 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Correct the
880 2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
882 * sysdeps/s390/s390-32/bits/setjmp.h: Add leading underscores
883 to the entries in the __jmp_buf structure.
884 * sysdeps/s390/s390-64/bits/setjmp.h: Likewise.
886 2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
888 * sysdeps/s390/s390-32/bcopy.S: Use mvcle for big blocks
889 (> 64K) and a mvc loop for small blocks.
890 * sysdeps/s390/s390-32/memcpy.S: Likewise.
891 * sysdeps/s390/s390-64/bcopy.S: Likewise.
892 * sysdeps/s390/s390-64/memcpy.S: Likewise.
894 2001-07-15 Andreas Schwab <schwab@suse.de>
896 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: New file.
897 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: New file.
899 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Check _dl_pagesize
900 first. Default to 4096, not EXEC_PAGESIZE.
902 * iconv/loop.c (put16) [!_STRING_ARCH_unaligned && BIG_ENDIAN]:
905 2001-07-09 Andreas Jaeger <aj@suse.de>
907 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Name entry for xmm2.
909 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add HWCAP_I386_XMM,
910 HWCAP_I386_XMM2 to enum.
912 2001-07-13 Andreas Jaeger <aj@suse.de>
914 * libio/fileops.c: Include unistd.h for lseek64 prototype. Closes
917 2001-07-12 Ulrich Drepper <drepper@redhat.com>
919 * Makeconfig: Add some more changes to handle AIX linker better.
921 2001-07-12 H.J. Lu <hjl@gnu.org>
923 * sysdeps/generic/segfault.c: Include <errno.h>.
925 2001-07-01 Andreas Jaeger <aj@suse.de>
927 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk): Remove duplicate
928 sbrk. Closes PR libc/2312.
930 2001-07-01 Andreas Jaeger <aj@suse.de>
932 * sysdeps/generic/segfault.c (install_handler): Handle case that
933 the output file does not exists. Closes PR libc/2345.
935 2001-07-11 Ulrich Drepper <drepper@redhat.com>
937 * intl/locale.alias: Use he language code for hebrew, not il
940 2001-07-11 Jakub Jelinek <jakub@redhat.com>
942 * iconv/gconv_int.h: Fix comment typo.
944 2001-07-11 Igor Khavkine <i_khavki@alcor.concordia.ca>
946 * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code.
948 2001-07-07 Roland McGrath <roland@frob.com>
950 * hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0.
952 2001-07-10 Stephen L Moshier <moshier@mediaone.net>
954 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Fix
955 backwards conditional in test for x == 1.0.
957 2001-07-10 Andreas Jaeger <aj@suse.de>
959 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add ulps for tanh
962 2001-07-09 Andreas Jaeger <aj@suse.de>
964 * sysdeps/unix/sysv/linux/configure.in: Revert patch from
965 2001-07-05 for sysconfdir handling.
966 * config.make.in (sysconfdir): Likewise.
967 * configure.in: Likewise.
969 * configure.in: Always assign libc_cv_sysconfdir.
971 2001-07-08 Ulrich Drepper <drepper@redhat.com>
973 * Makerules [AIX] (build-shlib-helper): Precede linker options
976 * Makeconfig (config-LDFLAGS): Add ld.so only for ELF.
978 * sysdeps/unix/make_errlist.c: Adjust sys_errlist declaration to
979 what we define in <stdio.h>.
981 * iconv/iconv_prog.c (main): Don't unconditionally define
982 variables only use if _POSIX_MAPPED_FILES is defined.
984 * sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type.
985 * sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise.
987 * sysdeps/unix/sysv/aix/recv.c: New file.
989 * sysdeps/unix/sysv/aix/recvfrom.c: Fix various types.
991 2001-07-07 Ulrich Drepper <drepper@redhat.com>
993 * sysdeps/generic/recv.c: Fix return type.
995 * sysdeps/unix/sysv/aix/dl-libc.c (__libc_dlclose): Fix typo.
997 * sysdeps/unix/sysv/aix/gettimeofday.c (__gettimeofday): Add
998 declarations for asm functions.
1000 * include/libc-symbols.h: Provide more dummy definitions for the
1001 case if GNU ld isn't used.
1003 * libio/freopen.c: Include <stdlib.h> for free declaration.
1004 * libio/freopen64.c: Likewise.
1006 * sysdeps/alpha/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
1008 2001-07-06 Jakub Jelinek <jakub@redhat.com>
1010 * sysdeps/unix/sysv/linux/i386/sigaction.c (RESTORE2): Put asm
1011 explicitly into .text section.
1013 2001-04-16 Jes Sorensen <jes@linuxcare.com>
1015 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
1016 Add 16 longwords reserved for future use to match changes in the
1019 2001-07-03 Jes Sorensen <jes@trained-monkey.org>
1021 * sysdeps/ia64/strncpy.S: Call strnlen() when determining the
1022 string length rather than strlen(). Solves the performance problem
1023 of doing strlen on a 5MB string when strncpy was called with a
1024 length argument of 5 bytes.
1026 2001-07-02 Jakub Jelinek <jakub@redhat.com>
1028 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1029 R_SPARC_UA16 and R_SPARC_UA32.
1030 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1032 2001-07-01 Stephen L Moshier <moshier@mediaone.net>
1034 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl):
1035 acosh(x) = ln(2x) if x > 2^30.
1036 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
1037 acosh(x) = ln(2x) if x > 2^54.
1039 2001-07-07 Mark Kettenis <kettenis@gnu.org>
1041 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal):
1042 Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and
1043 KERN_WRITE_PROTECTION_FAILURE.
1045 2001-07-07 Ulrich Drepper <drepper@redhat.com>
1047 * posix/regex.c: Limit string length printed in debug messages to
1050 * configure.in: Don't warn about versioning if not on ELF system.
1052 2001-07-07 Andreas Jaeger <aj@suse.de>
1054 * sysdeps/*: Put files from GNU MP Library under LGPL v2.1.
1056 2001-07-06 Ulrich Drepper <drepper@redhat.com>
1058 * po/gl.po: Update from translation team.
1060 2001-07-06 Andreas Jaeger <aj@suse.de>
1062 * sysdeps/unix/sysv/linux/configure.in: Fix handling of
1065 * manual/libc-texinfo.sh: Add note for the FDL.
1067 * manual/argp.texi (Argp Example 4): Fix texinfo warning.
1069 * manual/libc.texinfo: Regenerated.
1071 * manual/fdl.texi: Fix node.
1073 * config.make.in (sysconfdir): Replace correctly.
1074 Closes PR libc/2369, reported by Peter Simons <simons@cryp.to>.
1076 * sysdeps/unix/sysv/linux/alpha/configure.in: Removed, it's no
1079 * sysdeps/unix/sysv/linux/configure.in (libc_cv_linuxVER): Add
1081 Rework handling of missing linuxthreads add-on.
1083 * configure.in: Remove unused sysconfdir substitution.
1085 * manual/Makefile (texis): Add fdl.texi.
1086 * manual/fdl.texi: New.
1087 * manual/socket.texi (Host Names): Improve grammar, fix overflow hbox.
1088 * manual/libc.texinfo: Add fdl, update titlepage.
1089 Patches by Brian Youmans <3diff@gnu.org>.
1091 * sysdeps/unix/make_errlist.c (main): Print LGPL v2.1 for
1094 2001-07-06 Paul Eggert <eggert@twinsun.com>
1096 * manual/argp.texi: Remove ignored LGPL copyright notice; it's
1097 not appropriate for documentation anyway.
1098 * manual/libc-texinfo.sh: "Library General Public License" ->
1099 "Lesser General Public License".
1100 * COPYING: Fix Y2k bug in sample copyright notices.
1101 * manual/lesser.texi: Renamed from manual/lgpl.texinfo,
1102 as fsf.org uses the name "lesser.texi".
1103 * manual/Makefile (texis): Follow rename.
1105 2001-07-06 Andreas Jaeger <aj@suse.de>
1107 * All files under GPL/LGPL version 2: Place under LGPL version
1110 2001-07-05 Andreas Jaeger <aj@suse.de>
1112 Synch with Linux 2.4.6:
1113 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
1115 (AF_BLUETOOTH): New.
1117 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
1118 (PF_BLUETOOTH): New.
1119 (AF_BLUETOOTH): New.
1121 * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
1122 (PF_BLUETOOTH): New.
1124 * sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
1125 (PF_BLUETOOTH): New.
1127 * sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
1128 (AF_BLUETOOTH): New.
1130 * sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
1131 (AF_BLUETOOTH): New.
1133 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.
1135 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.
1137 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.
1139 * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
1141 2001-07-04 Roland McGrath <roland@frob.com>
1143 * hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended
1144 wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port
1145 rather than doing a mach_port_insert_right call first.
1147 2001-06-26 Roland McGrath <roland@frob.com>
1149 * hurd/hurdioctl.c: Include <string.h> for memcpy decl.
1151 2001-07-03 Andreas Jaeger <aj@suse.de>
1153 * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Remove check for
1156 2001-07-01 Mark Kettenis <kettenis@gnu.org>
1158 * sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in
1159 the Hurd pfinet server, using equivalent code from the Linux
1160 version in sysdeps/unix/sysv/linux/if_index.c. In detail:
1161 Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and
1162 <hurd/pfinet.h>. Don't include <sys/mman.h> and <hurd/fsys.h>
1164 (if_nametoindex): New implementation using SIOCGIFINDEX.
1165 (if_freenameindex): Straight copy of the Linux version.
1166 (if_nameindex): New implementation based on pfinet_siocgifconf and
1168 (if_indextoname): New implementation using SIOCGIFNAME.
1169 (map_interfaces): Function removed.
1170 From Marcus Brinkmann <marcus@gnu.org>.
1172 2001-06-30 Jakub Jelinek <jakub@redhat.com>
1174 * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
1175 gaps below main executable.
1177 2001-06-19 Andreas Jaeger <aj@suse.de>
1179 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
1182 2001-06-29 Andreas Jaeger <aj@suse.de>
1184 * sysdeps/ieee754/ldbl-128/s_asinhl.c: New file.
1185 Patch by Stephen L Moshier <moshier@mediaone.net>.
1187 2001-06-28 Ulrich Drepper <drepper@redhat.com>
1189 * manual/argp.texi: Tons of cleanups.
1190 Patch by Clifford U. Smith <cuel@swbell.net>.
1192 2001-06-28 Mark Kettenis <kettenis@gnu.org>
1194 * manual/users.texi (Setting Groups): Correct initgroups
1195 documentation. Add documentation for getgrouplist.
1197 2001-06-28 H.J. Lu <hjl@gnu.org>
1199 * locale/findlocale.c (locale_file_list): Renamed to ...
1200 (_nl_locale_file_list): This. Make it extern.
1201 (free_mem): Move to ...
1202 * locale/setlocale.c (free_mem): Here.
1204 2001-06-28 Mark Kettenis <kettenis@gnu.org>
1206 * sysdeps/mach/hurd/read.c: Include <hurd/fd.h>.
1207 (__libc_read): Don't call __pread. Use _hurd_fd_read directly
1209 * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>.
1210 (__libc_write): Don't call __pwrite. Use _hurd_fd_write directly
1213 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back
1214 -Wl,-soname option lost in 2001-06-16 change.
1216 2001-06-27 Ulrich Drepper <drepper@redhat.com>
1218 * posix/tst-regex.c: Pass REG_NEWLINE to regcomp. Add extra tests.
1219 Restrict printing of string in debug mode to 100 characters to make
1220 the output useful for long input texts.
1222 * posix/Makefile: Add rules to build and run tst-regex.
1224 2001-06-20 Isamu Hasegawa <isamu@yamato.ibm.com>
1226 * posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers.
1227 (re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
1228 (wcs_re_match_2_internal): Check whether the wcs buffers need
1229 seting up or not, and skip seting up routin if not needed.
1231 2001-06-26 Isamu Hasegawa <isamu@yamato.ibm.com>
1233 * posix/regex.c (count_mbs_length): Use binary search for optimization.
1235 2001-06-27 Ulrich Drepper <drepper@redhat.com>
1237 * posix/tst-regex.c: Fix several bugs. Add more tests.
1239 2001-06-26 Mark Kettenis <kettenis@gnu.org>
1241 * hurd/Makefile (user-interfaces): Add pfinet.
1242 * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and
1244 (siocgifconf): New function. Register it with HURD_HANDLE_IOCTL
1245 as the handler for SIOCGIFCONF.
1246 * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and
1247 SIOCGIFFLAGS to be of IOC type ifreq_short. Modify SIOCSIFMETRIC
1248 and SIOCGIFMETRIC to be of IOC type ifreq_int. Add new macro
1249 definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and
1251 From Marcus Brunkmann <marcus@gnu.org>.
1253 2001-06-25 Ulrich Drepper <drepper@redhat.com>
1255 * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
1256 and _IOT_ifreq_int. Patch by Mark Kettenis <kettenis@wins.uva.nl>.
1258 * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
1259 _dl_catch_error calls.
1261 2001-06-22 Jakub Jelinek <jakub@redhat.com>
1263 * posix/regex.c (regex_compile, re_match_2_internal): Fix comment
1266 2001-06-01 Wolfram Gloger <wg@malloc.de>
1268 * malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
1269 ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
1270 when malloc_atfork is in use.
1272 2001-06-22 Andreas Jaeger <aj@suse.de>
1274 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
1277 * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
1279 Add unused attributes to avoid warnings.
1281 * elf/reldep4mod4.c: Add prototype to avoid warning.
1282 * elf/reldep4mod2.c: Likewise.
1284 * sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for
1287 2001-06-18 Roland McGrath <roland@frob.com>
1289 * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int.
1291 2001-06-20 Alexandre Oliva <aoliva@redhat.com>
1293 * sysdeps/unix/sysv/settimeofday.c: Include time.h.
1295 2001-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
1297 * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
1299 2001-05-09 Michael Keezer <mkeezer@redhat.com>
1301 * Makeconfig: Added AIX-ld support for DSO.
1302 * Makerules: Likewise.
1303 * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared.
1304 (defaultmod2.so): Likewise.
1305 * debug/Makefile: Conditionalize use of elf/ld.so.
1306 * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig.
1308 * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c.
1309 * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) &
1310 (f/g)prrest(0/1) static only.
1311 * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0.
1312 * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but
1314 * sysdeps/unix/sysv/aix/setitimer.c: New file.
1315 * sysdeps/unix/sysv/aix/sleep.c: New file.
1316 * sysdeps/unix/sysv/aix/usleep.c: New file.
1317 * sysdeps/unix/sysv/aix/dl-addr.c: New file.
1318 * sysdeps/unix/sysv/aix/dl-error.c: New file.
1319 * sysdeps/unix/sysv/aix/dl-support.c: New file.
1320 * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file.
1322 2001-06-19 Ulrich Drepper <drepper@redhat.com>
1324 * po/es.po: Update from translation team.
1326 2001-06-19 Andreas Jaeger <aj@suse.de>
1328 * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file.
1330 * math/libm-test.inc (tanh_test): Test for 2^-56.
1332 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result
1333 equals argument when x < 2^-55.
1334 Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1336 2001-06-17 Alan Modra <amodra@bigpond.net.au>
1338 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Handle relocs
1339 at unaligned address.
1341 2001-06-18 Ulrich Drepper <drepper@redhat.com>
1343 * posix/regex.c: Reorganize code to build code twice, once for single
1344 byte, once for multi-byte charsets. Choose function set adequate for
1346 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
1348 * po/nl.po: Update from translation team.
1350 2001-06-09 Bruno Haible <haible@clisp.cons.org>
1352 * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
1353 (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
1354 * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.
1356 2001-05-26 Bruno Haible <haible@clisp.cons.org>
1358 * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap.
1359 * manual/charset.texi: Write Shift_JIS, not Shift-JIS.
1361 2001-06-17 Roland McGrath <roland@frob.com>
1363 * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,
1364 not LIO_READ + 1 (which is the value of LIO_WRITE!).
1366 * Makerules (build-module-helper-objlist): New variable,
1367 broken out of build-module. Insert --whole-archive/--no-whole-archive
1368 immediately each *_pic.a file in the link object list.
1369 (whole-archive): New variable, used by that.
1370 (build-module-objlist): New variable using build-module-helper-objlist.
1371 (build-module, build-module-helper): Use it.
1372 (build-shlib-objlist): New variable using build-module-helper-objlist.
1373 (build-shlib): Use that.
1374 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
1376 * posix/spawni.c: Moved to ...
1377 * sysdeps/posix/spawni.c: ... here.
1378 * sysdeps/generic/spawni.c: New file.
1380 2001-06-16 Roland McGrath <roland@frob.com>
1382 * hurd/Makefile (routines): Add lookup-retry.
1383 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
1384 * hurd/lookup-retry.c: ... into here, new file.
1385 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
1386 using of duplicate code here.
1388 * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
1390 2001-06-17 Ulrich Drepper <drepper@redhat.com>
1392 * po/ja.po: Update from translation team.
1394 2001-06-04 Bruno Haible <haible@clisp.cons.org>
1396 * locale/programs/locfile.c (siblings_uncached, siblings, full_read,
1397 compare_files): New functions.
1398 (write_locale_data): Use xmalloc. Compare the file with the locale
1399 data files for the same category in other locales, and reuse it if
1402 2001-06-07 Mark Kettenis <kettenis@gnu.org>
1404 * grp/initgroups.c (initgroups): Factor out re-usable code into...
1405 (internal_getgrouplist): ... new function.
1406 (getgrouplist): New function.
1407 * grp/grp.h (getgrouplist): New prototype.
1408 * grp/Versions [2.2.4]: Add getgrouplist.
1410 2001-06-16 Ulrich Drepper <drepper@redhat.com>
1412 * inet/netinet/ip6.h: Fix comments in ip6_hdr.
1413 Patch by Pekka Savola <pekkas@netcore.fi>.
1415 2001-06-15 Roland McGrath <roland@frob.com>
1417 * rt/Makefile (aio-routines, clock-routines, timer-routines): New
1418 variables, broken out of librt-routines.
1419 (librt-routines): Set using those.
1420 (extra-libs, extra-libc-others, tests): Set these unconditionally.
1421 (distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
1422 * sysdeps/generic/aio_fsync.c: New file.
1423 * sysdeps/generic/aio_misc.c: New file.
1424 * sysdeps/generic/aio_write.c: New file.
1425 * sysdeps/generic/aio_write64.c: New file.
1426 * sysdeps/generic/aio_read64.c: New file.
1427 * sysdeps/generic/aio_read.c: New file.
1428 * sysdeps/generic/aio_notify.c: New file.
1429 * sysdeps/generic/lio_listio64.c: New file.
1430 * sysdeps/generic/lio_listio.c: New file.
1431 * sysdeps/generic/aio_cancel.c: New file.
1432 * sysdeps/generic/aio_misc.h: New file.
1433 * sysdeps/generic/aio_suspend.c: New file.
1434 * rt/aio_cancel.c: Moved to ...
1435 * sysdeps/pthread/aio_cancel.c: ... here.
1436 * rt/aio_fsync.c: Moved to ...
1437 * sysdeps/pthread/aio_fsync.c: ... here.
1438 * rt/aio_misc.c: Moved to ...
1439 * sysdeps/pthread/aio_misc.c: ... here.
1440 * rt/aio_misc.h: Moved to ...
1441 * sysdeps/pthread/aio_misc.h: ... here.
1442 * rt/aio_notify.c: Moved to ...
1443 * sysdeps/pthread/aio_notify.c: ... here.
1444 * rt/aio_read.c: Moved to ...
1445 * sysdeps/pthread/aio_read.c: ... here.
1446 * rt/aio_read64.c: Moved to ...
1447 * sysdeps/pthread/aio_read64.c: ... here.
1448 * rt/aio_suspend.c: Moved to ...
1449 * sysdeps/pthread/aio_suspend.c: ... here.
1450 * rt/aio_write.c: Moved to ...
1451 * sysdeps/pthread/aio_write.c: ... here.
1452 * rt/aio_write64.c: Moved to ...
1453 * sysdeps/pthread/aio_write64.c: ... here.
1454 * rt/lio_listio.c: Moved to ...
1455 * sysdeps/pthread/lio_listio.c: ... here.
1456 * rt/lio_listio64.c: Moved to ...
1457 * sysdeps/pthread/lio_listio64.c: ... here.
1459 2001-06-14 Roland McGrath <roland@frob.com>
1461 * configure.in: Let sysdeps Implies files in add-ons bring in
1462 sysdeps directories from the main source and other add-ons too.
1464 2001-06-15 Jakub Jelinek <jakub@redhat.com>
1466 * math/test-misc.c (main): Add tests for nextafter and nexttoward
1467 with +-Inf as second argument.
1469 * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
1471 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
1472 * sysdeps/i386/fpu/s_nexttoward.c: New.
1473 * sysdeps/i386/fpu/s_nexttowardf.c: New.
1474 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
1475 check for NaN, optimize x==+-0 handling.
1476 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
1477 * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
1478 check for NaN, fix sign in x==+-0 case.
1479 * sysdeps/ia64/fpu/s_nexttoward.c: New.
1480 * sysdeps/ia64/fpu/s_nexttowardf.c: New.
1482 2001-06-15 H.J. Lu <hjl@gnu.org>
1484 * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
1485 * rt/tst-aio3.c (do_test): Likewise.
1486 * rt/tst-aio4.c (do_test): Likewise.
1487 * rt/tst-aio5.c (do_test): Likewise.
1488 * rt/tst-aio6.c (do_test): Likewise.
1490 2001-06-15 Andreas Schwab <schwab@suse.de>
1492 * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
1493 * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
1495 2001-06-15 Andreas Jaeger <aj@suse.de>
1497 * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning.
1499 2001-06-14 Andreas Schwab <schwab@suse.de>
1501 * elf/ldconfig.c (search_dir): Fix check for regular file.
1503 * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
1504 * sysdeps/m68k/fpu/e_log2l.c: Fix typo.
1506 2001-06-14 Roland McGrath <roland@frob.com>
1508 * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
1509 (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
1511 2001-06-13 Roland McGrath <roland@frob.com>
1513 * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
1515 * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
1516 so the label is not considered unused.
1518 * sysdeps/mach/hurd/pwrite64.c: New file.
1519 * sysdeps/mach/hurd/pread64.c: New file.
1521 * sysdeps/mach/hurd/pread.c
1522 (__libc_pread): Define this name, with __pread as an alias.
1523 * sysdeps/mach/hurd/pwrite.c
1524 (__libc_pwrite): Define this name, with __pwrite as an alias.
1526 Implement POSIX "shared memory objects" as regular
1527 files residing in the /var/run/shm/ directory.
1528 This works on any system that supports _POSIX_MAPPED_FILES,
1529 to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
1530 * sysdeps/posix/shm_open.c: New file.
1531 * sysdeps/posix/shm_unlink.c: New file.
1532 * sysdeps/mach/hurd/bits/posix_opt.h
1533 (_POSIX_SHARED_MEMORY_OBJECTS): Define it.
1535 * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
1536 Use raise instead of __aio_sigqueue.
1538 * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
1539 * sysdeps/mach/hurd/pwrite.c: Likewise.
1541 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
1542 [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
1543 as default version set.
1545 2001-06-13 Ulrich Drepper <drepper@redhat.com>
1547 * libio/iolibio.h (_IO_freopen): Correct last parameter to
1549 (_IO_freopen64): Likewise.
1550 Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].
1552 * elf/elf.h: Add a few more EM_* constants.
1554 2001-06-12 Bruno Haible <haible@clisp.cons.org>
1556 * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.
1558 2001-06-09 Ben Collins <bcollins@debian.org>
1560 * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
1561 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1562 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1563 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1564 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1565 * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
1568 2001-06-13 Ulrich Drepper <drepper@redhat.com>
1570 * time/sys/time.h: Don't use enum __itimer_which ever for
1571 __itimer_which_t for C++.
1572 Reported by Martin Buchholz <martin@xemacs.org>.
1574 * po/fr.po: Update from translation team.
1576 2001-06-12 H.J. Lu <hjl@gnu.org>
1578 * configure.in: Fix typos in missing program names.
1579 * configure: Regenerated.
1581 2001-06-12 Andreas Jaeger <aj@suse.de>
1583 * iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
1585 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
1587 2001-06-11 Andreas Jaeger <aj@suse.de>
1589 * sysdeps/ieee754/ldbl-128/e_coshl.c: New file. Contributed by
1590 Stephen L Moshier <moshier@mediaone.net>.
1592 * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
1594 * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
1595 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1597 2001-06-11 Michael Deutschmann <michael@talamasca.ocis.net>
1599 * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
1600 Use my_signo instead of MY_SIGNO and initialize it so that the
1601 used signal is always available.
1603 2001-06-11 Andreas Jaeger <aj@suse.de>,
1604 Michael Deutschmann <michael@talamasca.ocis.net>
1606 * io/test-lfs.c (do_prepare): Clean up error messages.
1607 (test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
1608 (do_test): Likewise.
1610 2001-06-11 Andreas Jaeger <aj@suse.de>
1612 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
1613 IMAXBEL): Make always visible since they're needed by POSIX.
1614 Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
1616 2001-06-10 Ben Collins <bcollins@debian.org>
1618 * sysdeps/arm/elf/start.S: Use #function, not @function, for
1621 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
1624 2001-06-07 H.J. Lu <hjl@gnu.org>
1626 * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
1628 2001-06-10 Roland McGrath <roland@frob.com>
1630 * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
1631 * elf/reldep4mod4.c: Likewise.
1633 2001-06-10 Mark Kettenis <kettenis@gnu.org>
1635 * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
1637 2001-06-08 Andreas Schwab <schwab@suse.de>
1639 * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
1640 Don't dereference at end of string.
1642 2001-06-06 Roland McGrath <roland@frob.com>
1644 * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
1645 From Robert Bihlmeyer <robbe@orcus.priv.at>.
1647 2001-06-06 Ulrich Drepper <drepper@redhat.com>
1649 * po/ko.po: Update from translation team.
1651 2001-06-06 Andreas Jaeger <aj@suse.de>
1653 * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
1655 Reported by Robert Bernecky <bernecky@acm.org>.
1657 2001-06-06 Jakub Jelinek <jakub@redhat.com>
1659 * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
1660 * sysdeps/ia64/elf/start.S: Likewise.
1661 * sysdeps/sh/elf/start.S: Likewise.
1662 * sysdeps/s390/s390-32/elf/start.S: Likewise.
1663 * sysdeps/s390/s390-64/elf/start.S: Likewise.
1665 2001-06-05 Matthew Wilcox <willy@ldl.fc.hp.com>
1667 * sysdeps/hppa/bsd-_setjmp.S: New.
1668 * sysdeps/hppa/bsd-setjmp.S: New.
1670 * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
1671 gcc warnings about multi-line strings.
1673 * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
1674 * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
1676 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
1677 setrlimit directly instead of using wrappers.
1679 2001-05-01 Richard Hirst <rhirst@linuxcare.com>
1681 * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
1682 * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
1684 2001-06-05 Philipp Thomas <pthomas@suse.de>
1686 * nis/nis_call.c (__nisbind_connect): Don't mark for translation
1687 what can't be translated.
1689 2001-06-06 Ulrich Drepper <drepper@redhat.com>
1691 * timezone/zic.c: Update from tzcode2001c.
1692 * timezone/private.h: Likewise.
1693 * timezone/africa: Update from tzdata2001c.
1694 * timezone/asia: Likewise.
1695 * timezone/europe: Likewise.
1696 * timezone/northamerica: Likewise.
1697 * timezone/southamerica: Likewise.
1698 * timezone/zone.tab: Likewise.
1700 2001-06-04 Bruno Haible <haible@clisp.cons.org>
1702 * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
1703 * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
1704 UNICODE_TAG_HANDLER.
1705 (__gconv_transform_internal_ucs2): Likewise.
1706 (__gconv_transform_internal_ucs2reverse): Likewise.
1707 * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
1708 * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
1709 * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
1710 * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
1711 * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
1712 * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
1713 * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
1714 * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
1715 * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
1716 * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
1717 * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
1718 * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
1719 * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
1720 * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
1721 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
1722 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
1723 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
1724 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
1725 * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
1726 * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
1727 * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
1728 * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
1729 * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
1730 * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
1731 * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
1732 * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
1733 * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
1734 * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
1735 * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
1736 * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
1737 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
1738 * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
1739 TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
1740 TAG_language_zh, CURRENT_TAG_MASK): New enum values.
1741 (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
1742 is already selected but set2 or tag are set.
1743 (conversion): New enum type.
1744 (cvlist_t): New type.
1745 (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
1746 (conversion_lists): New array.
1747 (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag. If "ja",
1748 prefer conversion to Japanese character sets. If "zh", prefer
1749 conversion to GB2312. If "ko", prefer conversion to KSC5601. Small
1751 (INIT_PARAMS): Add tag.
1752 (UPDATE_PARAMS): Add tag.
1754 2001-06-04 Bruno Haible <haible@clisp.cons.org>
1756 * locale/programs/locfile.c (write_locale_data): Before creat(),
1757 unlink the file, to avoid crashing the processes that mmap it. Change
1758 a double slash to a single slash. Free fname in case of error return.
1760 2001-06-02 Jakub Jelinek <jakub@redhat.com>
1762 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
1763 changes, do the special handling for denormal numbers, not for
1764 normalized numbers (patch by <trevin@xmission.com>).
1766 * math/test-misc.c (main): Test frexpl with denormal arguments.
1768 2001-06-04 Jakub Jelinek <jakub@redhat.com>
1770 * math/libm-test.inc (llround_test): Add two new llround tests.
1771 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
1772 overflow when rounding away from zero.
1774 2001-06-04 Jakub Jelinek <jakub@redhat.com>
1776 * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
1777 * math/math_private.h (__ieee754_log2, __ieee754_log2f,
1778 __ieee754_log2l): New prototypes.
1779 * sysdeps/generic/w_log2.c: New file.
1780 * sysdeps/generic/w_log2f.c: New file.
1781 * sysdeps/generic/w_log2l.c: New file.
1782 * sysdeps/generic/s_log2l.c: Move...
1783 * sysdeps/generic/e_log2l.c: ...to here. Rename to __ieee754_log2l.
1784 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
1786 * sysdeps/i386/fpu/s_log2.S: Move...
1787 * sysdeps/i386/fpu/e_log2.S: ...to here. Rename to __ieee754_log2.
1788 * sysdeps/i386/fpu/s_log2f.S: Move...
1789 * sysdeps/i386/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f.
1790 * sysdeps/i386/fpu/s_log2l.S: Move...
1791 * sysdeps/i386/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l.
1792 * sysdeps/m68k/fpu/s_log2.c: Move...
1793 * sysdeps/m68k/fpu/e_log2.c: ...to here. Rename to __ieee754_log2.
1794 * sysdeps/m68k/fpu/s_log2f.c: Move...
1795 * sysdeps/m68k/fpu/e_log2f.c: ...to here. Rename to __ieee754_log2f.
1796 * sysdeps/m68k/fpu/s_log2l.c: Move...
1797 * sysdeps/m68k/fpu/e_log2l.c: ...to here. Rename to __ieee754_log2l.
1798 * sysdeps/ieee754/dbl-64/s_log2.c: Move...
1799 * sysdeps/ieee754/dbl-64/e_log2.c: ...to here. Rename to
1801 * sysdeps/ieee754/flt-32/s_log2f.c: Move...
1802 * sysdeps/ieee754/flt-32/e_log2f.c: ...to here. Rename to
1805 2001-06-04 Jakub Jelinek <jakub@redhat.com>
1807 * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
1808 even arguments which result in denormalized exp2 are accepted.
1809 (__exp2): Arguments equal to u_threshold already result into
1811 * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
1812 * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
1813 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
1814 low, with corrected lowmark use greaterequal, not greater.
1815 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1817 2001-06-04 Jakub Jelinek <jakub@redhat.com>
1819 * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
1820 * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
1821 * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
1822 * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
1823 * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
1824 * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
1825 * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
1826 * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
1828 2001-06-04 Jakub Jelinek <jakub@redhat.com>
1830 * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
1831 gave non-finite result instead of using constant in generic
1833 * sysdeps/generic/w_coshf.c (__coshf): Likewise.
1834 * sysdeps/generic/w_cosh.c (__cosh): Likewise.
1835 * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
1836 (__exp10): Test if finite argument gave non-finite result.
1837 * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
1839 * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
1842 2001-06-04 Jakub Jelinek <jakub@redhat.com>
1844 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
1845 overflow threshold constant (log(LDBL_MAX)+M_LN2l).
1847 2001-05-29 Bruno Haible <haible@clisp.cons.org>
1849 * locale/programs/ld-ctype.c (idx_table): New struct type.
1850 (idx_table_init, idx_table_get, idx_table_add): New functions.
1851 (MAX_CHARNAMES_IDX): Remove macro.
1852 (locale_ctype_t): Change type of charnames_idx field.
1853 (ctype_startup): Change initialization of charnames_idx field.
1854 (find_idx): Use idx_table_get and idx_table_add for speed.
1856 * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
1857 computation of characters in a range.
1859 2001-05-29 Bruno Haible <haible@clisp.cons.org>
1861 * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
1863 (__ucs_to_gb18030_tab1): Likewise.
1864 (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
1865 (BODY for TO_LOOP): Likewise.
1866 * iconvdata/tst-table-charmap.sh: Update for charmaps containing
1868 * iconvdata/tst-table-from.c (bmp_only): New variable.
1869 (utf8_decode): If bmp_only, don't return characters outside Unicode
1871 (main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print
1872 a conversion line if utf8_decode returns NULL.
1873 * iconvdata/tst-table-to.c (main): When testing encodings other than
1874 UTF-8 and GB18030, loop upto U+30000 instead of U+10000. Use UTF-8
1875 instead of UCS-2 as input.
1876 * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
1879 2001-05-29 Bruno Haible <haible@clisp.cons.org>
1881 * iconvdata/cns11643l1.c: Update to Unicode 3.1.
1882 (__cns11643l1_to_ucs4_tab): Regenerated.
1883 (__cns11643l1_from_ucs4_tab12): Regenerated.
1884 * iconvdata/cns11643.c: Update to Unicode 3.1.
1885 (__cns11643l14_to_ucs4_tab): Remove array.
1886 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
1887 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
1888 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
1889 (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
1890 (__cns11643_from_ucs4p2_tab): New array.
1891 * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
1892 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
1893 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
1894 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
1895 (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
1896 (__cns11643_from_ucs4_tab): Remove declaration.
1897 (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
1899 (ucs4_to_cns11643): Update for new arrays. Treat U+3400..U+4DFF and
1901 * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
1903 (__cns11643_from_ucs4p0_tab): New declaration.
1904 (ucs4_to_cns11643l2): Update for new arrays.
1905 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
1907 (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
1908 * iconvdata/EUC-TW.irreversible: New file.
1909 * iconvdata/tst-table.sh: Use it.
1910 * iconvdata/Makefile (distribute): Add CP1255.irreversible,
1911 CP1258.irreversible, EUC-TW.irreversible.
1913 2001-05-29 Bruno Haible <haible@clisp.cons.org>
1915 * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
1916 mathematical symbols.
1918 2001-06-05 Andreas Jaeger <aj@suse.de>
1920 * manual/stdio.texi (Portable Positioning): Fix description of
1921 fpos_t and fpos64_t.
1923 2001-06-06 Ulrich Drepper <drepper@redhat.com>
1925 * sysdeps/generic/wordexp.c: Undo last patch. Use strndupa instead.
1927 * po/sk.po: Update from translation team.
1929 2001-06-05 Andreas Jaeger <aj@suse.de>
1931 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
1932 tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
1933 Closes PR libc/2315.
1935 2001-06-05 Ulrich Drepper <drepper@redhat.com>
1937 * sysdeps/generic/wordexp.c: Add missing free.
1938 Patch by yeti@physics.muni.cz.
1940 2001-06-02 Tom Browder <tbrowder@home.com>
1942 * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
1943 within bounds when lag > 0.
1945 2001-06-05 Ulrich Drepper <drepper@redhat.com>
1947 * po/tr.po: New file.
1949 2001-06-05 Andreas Jaeger <aj@suse.de>
1951 * manual/libm-err-tab.pl (parse_ulps): Fix typo.
1953 2001-06-04 H.J. Lu <hjl@gnu.org>
1955 * sysdeps/alpha/elf/start.S: Add .type for the entry point.
1956 * sysdeps/arm/elf/start.S: Likewise.
1957 * sysdeps/hppa/elf/start.S: Likewise.
1958 * sysdeps/i386/elf/start.S: Likewise.
1959 * sysdeps/m68k/elf/start.S: Likewise.
1960 * sysdeps/mips/elf/start.S: Likewise.
1961 * sysdeps/ia64/elf/start.S: Likewise.
1962 * sysdeps/sh/elf/start.S: Likewise.
1963 * sysdeps/s390/s390-32/elf/start.S: Likewise.
1964 * sysdeps/s390/s390-64/elf/start.S: Likewise.
1965 * sysdeps/cris/elf/start.S: Likewise.
1967 2001-06-04 Bruce Mitchener <bruce@cubik.org>
1969 * manual/resource.texi: Correct setpriority/nice documentation.
1971 * sysdeps/unix/nice.c: Correct nice() implementation.
1973 2001-06-04 Andreas Jaeger <aj@suse.de>
1975 * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
1976 Stephen L Moshier <moshier@mediaone.net>.
1978 2001-06-03 Roland McGrath <roland@frob.com>
1980 * Makefile (postclean): Remove obsolete sysd-Makefile.
1982 2001-06-01 Roland McGrath <roland@frob.com>
1984 * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
1985 and use compat_symbol/versioned_symbol instead of plain
1986 symbol_version/default_symbol_version.
1987 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
1988 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
1989 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
1990 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
1991 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
1992 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
1993 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
1994 * sysdeps/arm/fpu/fegetenv.c: Likewise.
1995 * sysdeps/arm/fpu/fesetenv.c: Likewise.
1996 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
1997 * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
1998 * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
1999 * sysdeps/i386/fpu/fegetenv.c: Likewise.
2000 * sysdeps/i386/fpu/fesetenv.c: Likewise.
2001 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
2002 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
2003 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2004 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
2005 * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
2006 * sysdeps/m68k/fpu/fegetenv.c: Likewise.
2007 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
2008 * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
2009 * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
2010 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
2011 * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
2012 * sysdeps/powerpc/fclrexcpt.c: Likewise.
2013 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
2014 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2015 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2016 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
2017 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
2018 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
2020 * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
2021 * iconvdata/iso-2022-cn-ext.c: Likewise.
2023 2001-06-01 Andreas Jaeger <aj@suse.de>
2025 * Versions.def: Add version 2.2.4.
2027 2001-06-01 Ulrich Drepper <drepper@redhat.com>
2029 * socket/Makefile (routines): Add sockatmark.
2030 * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
2031 * socket/sys/socket.h: Add prototype for sockatmark.
2032 * sysdeps/generic/sockatmark.c: New file.
2033 * sysdeps/unix/sockatmark.c: New file.
2035 2001-06-01 Andreas Jaeger <aj@suse.de>
2037 * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
2039 (cfsetospeed): Likewise.
2040 Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
2042 2001-05-31 Joseph S. Myers <jsm28@cam.ac.uk>
2044 * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
2046 2001-05-30 Martin Schwidefsky <schwidefsky@de.ibm.com>
2048 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
2049 needs to have the same aligment as the kernel structure.
2051 2001-05-29 Jakub Jelinek <jakub@redhat.com>
2053 * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
2054 u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
2055 * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
2056 u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
2057 against multiple definition.
2059 2001-05-30 Ulrich Drepper <drepper@redhat.com>
2061 * po/da.po: Update from translation team.
2063 2001-05-29 Andreas Jaeger <aj@suse.de>
2065 * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
2066 Stephen L Moshier <moshier@mediaone.net>.
2068 * math/libm-test.inc (sinh_test): Add new test case.
2070 * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
2072 Patch by Stephen L Moshier <moshier@mediaone.net>.
2074 2001-05-23 Andreas Jaeger <aj@suse.de>
2076 * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
2077 * iconvdata/testdata/WINDOWS-1255..UTF8: this.
2079 2001-05-27 Andreas Jaeger <aj@suse.de>
2081 * manual/stdio.texi (String Streams): Fix fmemopen description.
2082 Reported by Michal Kochanowicz <michal@michal.waw.pl>.
2084 2001-05-26 H.J. Lu <hjl@gnu.org>
2086 * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
2087 to s_sigsuspend. Add s_mmap2.
2089 * sysdeps/mips/atomicity.h: New file.
2091 * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
2093 * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
2096 2001-05-25 Bruce Mitchener <bruce@cubik.org>
2098 * manual/ctype.texi: Minor fix.
2099 * manual/install.texi: Likewise.
2100 * manual/startup.texi: Likewise.
2101 * manual/examples/dir.c: Use perror() rather than puts().
2103 2001-05-25 David Mosberger <davidm@hpl.hp.com>
2105 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
2106 #endif directive inside a comment to avoid compiler warnings.
2108 2001-05-25 Philipp Thomas <pthomas@suse.de>
2110 * nis/nis_print.c (nis_nstype2str): Don't mark names of
2111 naming services for translation, only UNKNOWN needs it.
2112 Add comment to prevent it for the future.
2114 2001-05-25 Joseph S. Myers <jsm28@cam.ac.uk>
2116 * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
2117 3.1 and non-GCC C99 compilers.
2119 2001-05-22 David Mosberger <davidm@hpl.hp.com>
2121 * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
2123 * sysdeps/ia64/memcpy.S: Likewise.
2125 * sysdeps/ia64/bcopy.S: New file.
2127 * sysdeps/ia64/bzero.S: New file (derived from memset.S).
2129 2001-05-26 Ulrich Drepper <drepper@redhat.com>
2131 * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
2133 2001-05-24 Ulrich Drepper <drepper@redhat.com>
2135 * iconvdata/Makefile: Add rules for CP10007.
2136 * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
2137 * iconvdata/cp10007.c: New file.
2138 * iconvdata/tst-tables.sh: Add CP10007.
2140 2001-05-23 kaz Kojima <kkojima@rr.iij4u.or.jp>
2142 * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
2143 (_dl_runtime_profile): Likewise..
2145 2001-05-23 Thorsten Kukuk <kukuk@suse.de>
2147 * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
2148 * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
2150 2001-05-19 H.J. Lu <hjl@gnu.org>
2152 * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
2153 errstring of the failed DSO to _dl_signal_error ().
2155 2001-05-23 Ulrich Drepper <drepper@redhat.com>
2157 * iconvdata/gconv-modules: Add more aliases to enable use in
2160 2001-05-23 Andreas Jaeger <aj@suse.de>
2162 * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
2163 Remove, it's not used anywhere anymore.
2164 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
2165 (CFLAGS-initfini.s): Likewise.
2166 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
2167 (CFLAGS-initfini.s): Likewise.
2168 * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
2170 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
2173 2001-05-21 Bruno Haible <haible@clisp.cons.org>
2175 * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
2176 use 0 instead, and rely on the converter to do the flush.
2177 * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
2179 (utf8_test_2, utf8_test_3): New function.
2180 (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
2182 2001-05-22 Jakub Jelinek <jakub@redhat.com>
2184 * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
2186 * elf/Makefile (distribute): Add reldep4mod[1234].c.
2187 (tests): Add reldep4.
2188 (modules-names): Add reldep4mod[1234].
2189 (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
2190 * elf/reldep4.c: New file.
2191 * elf/reldep4mod1.c: Likewise.
2192 * elf/reldep4mod2.c: Likewise.
2193 * elf/reldep4mod3.c: Likewise.
2194 * elf/reldep4mod4.c: Likewise.
2196 2001-05-18 Jakub Jelinek <jakub@redhat.com>
2198 * elf/dl-lookup.c (PROTECTED): Remove defines.
2199 (add_dependency): Mark it with internal_function.
2200 (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
2201 (_dl_lookup_symbol, _dl_lookup_symbol_skip,
2202 _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
2203 it if we don't want do_lookup* inlined.
2205 2001-05-18 Jakub Jelinek <jakub@redhat.com>
2207 * include/link.h (struct r_scope_elem): Remove r_duplist and
2209 * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
2210 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
2212 (_dl_lookup_versioned_symbol_skip): Likewise.
2213 * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
2214 (_dl_map_object_deps): Don't compute duplicate list.
2216 * elf/dl-symbol.c: Removed.
2217 * elf/Makefile (routines): Remove dl-symbol.
2219 2001-05-22 Ulrich Drepper <drepper@redhat.com>
2221 * po/el.po: Update from translation team.
2222 * po/sv.po: Likewise.
2224 2001-05-20 Bruno Haible <haible@clisp.cons.org>
2226 * iconvdata/cp1255.c: Completely rewritten.
2227 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
2228 * iconvdata/testdata/WINDOWS-1255: New file.
2229 * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
2230 * iconvdata/TESTS: Add WINDOWS-1255 test.
2231 * iconvdata/CP1255.irreversible: New file.
2233 2001-05-20 Bruno Haible <haible@clisp.cons.org>
2235 * iconvdata/cp1258.c: Completely rewritten.
2236 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
2237 * iconvdata/testdata/WINDOWS-1258: New file.
2238 * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
2239 * iconvdata/TESTS: Add WINDOWS-1258 test.
2240 * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
2241 the main call, and flush it afterwards.
2242 (utf8_decode): Return a string, possibly containing several Unicode
2244 (main): Update all utf8_decode calls.
2245 * iconvdata/CP1258.irreversible: New file.
2247 2001-05-20 Bruno Haible <haible@clisp.cons.org>
2249 * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
2250 * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2. In the
2251 first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
2252 EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
2253 the next step. In the second case, clear the state without calling
2255 * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
2256 data->__outbuf, and outend instead of data->__outbufend.
2257 * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
2258 * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
2259 * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
2260 * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
2261 * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
2262 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
2263 * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
2264 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
2265 * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
2267 2001-05-21 Jakub Jelinek <jakub@redhat.com>
2269 * elf/rtld.c (dl_main): Compute l_map_end for the main program.
2270 * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
2271 If match == _dl_loaded, caller can still come from the main program.
2272 (_dl_vsym): Likewise.
2273 * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
2274 * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
2275 * elf/restest2.c: New test.
2276 * elf/Makefile (tests): Add restest2.
2277 (restest2, LDFLAGS-restest2): Add rules.
2279 2001-05-22 Ulrich Drepper <drepper@redhat.com>
2281 * intl/Makefile: Add a few more dependencies to avoid races in the
2284 2001-05-22 Andreas Jaeger <aj@suse.de>
2286 * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
2287 Stephen L Moshier <moshier@mediaone.net>.
2289 2001-05-22 Martin Schwidefsky <schwidefsky@de.ibm.com>
2291 * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
2292 return addresses instead of the stack pointers.
2293 * sysdeps/s390/s390-64/backtrace.c: Likewise.
2295 2001-05-21 Jakub Jelinek <jakub@redhat.com>
2297 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
2298 bits/sigcontext.h instead of bits/sigstack.h.
2299 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
2300 multiple-inclusion guards.
2302 2001-05-21 Andreas Jaeger <aj@suse.de>
2304 * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
2305 Patch by Philipp Thomas <pthomas@suse.de>.
2307 2001-05-17 Bruce Mitchener <bruce@cubik.org>
2309 * manual/arpg.texi: Spelling, misc fixes.
2310 * manual/arith.texi: Likewise.
2311 * manual/crypt.texi: Likewise.
2312 * manual/debug.texi: Likewise.
2313 * manual/getopt.texi: Likewise.
2314 * manual/intro.texi: Likewise.
2315 * manual/memory.texi: Likewise.
2316 * manual/nss.texi: Likewise.
2317 * manual/pattern.texi: Likewise.
2318 * manual/process.texi: Likewise.
2319 * manual/resource.texi: Likewise.
2320 * manual/search.texi: Likewise.
2321 * manual/setjmp.texi: Likewise.
2322 * manual/signal.texi: Likewise.
2323 * manual/socket.texi: Likewise.
2324 * manual/stdio.texi: Likewise.
2325 * manual/string.texi: Likewise.
2326 * manual/sysinfo.texi: Likewise.
2327 * manual/terminal.texi: Likewise.
2328 * manual/llio.texi: Document madvise().
2330 2001-05-20 Roland McGrath <roland@frob.com>
2332 * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
2333 found within $(add-ons) directories too.
2334 [linuxthreads add-on]: Move variable settings for linuxthreads
2335 to new file linuxthreads/Makeconfig.
2337 2001-05-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2339 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
2340 Define for linux >= 2.4.5 on powerpc.
2341 (__ASSUME_MMAP2_SYSCALL): Likewise.
2343 2001-05-19 Roland McGrath <roland@frob.com>
2345 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
2346 result port when failing with ELOOP. Do the ELOOP check when
2347 following an absolute symlink target as well as relative.
2348 Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
2350 2001-05-18 Andreas Jaeger <aj@suse.de>
2352 * po/fr.po: Free software is "logiciel libre".
2353 Patch by Martin Michlmayr <tbm@cyrius.com>.
2355 * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
2356 Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
2358 2001-05-17 David Mosberger <davidm@hpl.hp.com>
2360 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
2362 2001-05-17 Ulrich Drepper <drepper@redhat.com>
2364 * elf/dl-profile.c (_dl_mcount): Check whether state is
2365 GMON_PROF_ON before doing anything.
2367 2001-05-17 H.J. Lu <hjl@gnu.org>
2369 * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
2371 2001-05-17 Ulrich Drepper <drepper@redhat.com>
2373 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
2374 CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
2375 Reported by Mark Burton <markb@ordern.com>.
2377 2001-05-17 Jakub Jelinek <jakub@redhat.com>
2379 * elf/ldconfig.c (add_dir): Only warn about stat failure if
2381 (search_dir): Likewise.
2383 2001-05-17 Ulrich Drepper <drepper@redhat.com>
2385 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
2386 parameter of xaddl. Patch by H . J . Lu <hjl@lucon.org>.
2388 2001-05-14 Bruno Haible <haible@clisp.cons.org>
2390 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
2391 without previous announcement, reject it regularly, don't abort.
2393 2001-05-16 Ulrich Drepper <drepper@redhat.com>
2395 * math/tgmath.h: Fix handling of int parameters to binary and
2396 ternary functions. Reported by mitr@volny.cz.
2398 * math/test-tgmath.c: Add tests for calls with integer parameters.
2400 2001-05-15 Jakub Jelinek <jakub@redhat.com>
2402 * sunrpc/rpc_thread.c (rpc_default): Remove.
2403 (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
2405 (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
2406 __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
2407 * sunrpc/auth_none.c (authnone_private): Fix a typo.
2409 2001-05-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
2411 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
2413 2001-05-16 Bruce Mitchener <bruce@cubik.org>
2415 * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
2417 2001-05-15 Andreas Jaeger <aj@suse.de>
2419 * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
2420 Stephen L Moshier <moshier@mediaone.net>.
2422 * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
2424 * math/libm-test.inc: Add comment with ToDo.
2426 * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
2427 accurate algorithm. Patch by Stephen L Moshier <moshier@mediaone.net>.
2429 * sysdeps/i386/fpu/e_expl.S: Removed.
2431 2001-05-14 Roland McGrath <roland@frob.com>
2433 * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
2434 static pattern rule also that also covers
2435 $(objpx)g$(static-start-installed-name).
2436 [$(start-installed-name) != $(static-start-installed-name)]
2437 (extra-objs, omit-deps, install-lib): Add
2438 $(static-start-installed-name) and g$(static-start-installed-name).
2439 * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
2440 just setting static-start-installed-name is now sufficient.
2441 (extra-objs): Add static-start.o here.
2442 (CFLAGS-initfini.s): Remove obsolete variable.
2443 * sysdeps/mach/hurd/i386/Makeconfig: New file.
2444 Define static-start-installed-name here.
2446 * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
2447 * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
2449 * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
2450 associated hair. Instead, just use $(wildcard ...) in the include.
2452 * configure.in (critic_missing, aux_missing): Collect in these vars
2453 the names of the missing programs, and include them in the error msgs.
2454 * configure: Regenerated.
2456 2001-05-14 Andreas Jaeger <aj@suse.de>
2458 * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
2460 * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
2462 2001-05-14 Stephen L Moshier <moshier@mediaone.net>
2464 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
2466 2001-05-11 Jakub Jelinek <jakub@redhat.com>
2468 * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
2469 as well if swapping strings.
2470 Make sure stop is not past end of second string.
2471 * posix/bug-regex4.c: New test.
2472 * posix/Makefile (tests): Add bug-regex4.
2474 2001-05-10 Andreas Jaeger <aj@suse.de>
2476 * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
2479 2001-05-12 Andreas Jaeger <aj@suse.de>
2481 * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
2482 internal prototypes.
2483 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2484 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2485 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2486 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2487 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2488 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2489 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2491 * math/math_private.h: Add prototypes for internal functions of
2492 the IBM Accurate Mathematical Library.
2494 * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
2496 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2498 * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
2499 internal prototypes.
2500 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2501 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2502 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2503 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2504 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2505 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2506 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2507 * sysdeps/generic/e_rem_pio2l.c: Likewise.
2508 (__ieee754_rem_pio2l): Fix prototype.
2510 * math/math_private.h (__copysign): Add internal prototype.
2512 2001-05-11 Andreas Jaeger <aj@suse.de>
2514 * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
2515 * sysdeps/unix/sysv/linux/mips/configure.in: ...here. New file.
2517 2001-05-11 Andreas Jaeger <aj@suse.de>
2519 * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
2522 * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
2523 format directive. Patch by Steven J. Hill <sjhill@cotw.com>.
2525 2001-05-11 Roland McGrath <roland@frob.com>
2527 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
2528 $(build-module) here, since we don't need the full magilla.
2529 Just use $(build-module-helper) and append our special options.
2531 2001-05-09 Andreas Schwab <schwab@suse.de>
2533 * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
2536 2001-05-07 H.J. Lu <hjl@gnu.org>
2538 * elf/ldconfig.c (dir_entry): Add ino and dev.
2539 (add_single_dir): Compare ino and dev to check if 2 directory
2540 paths are the same or not. Free entry->path for duplicates.
2541 (add_dir): Initialize ino and dev for entry.
2542 (search_dir): Handle symlink to directory.
2544 2001-05-07 Andreas Jaeger <aj@suse.de>
2546 * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
2548 * math/libm-test.inc (exp_test): Add some more tests.
2549 (pow_test): Run double only test also for long double.
2551 * math/test-ldouble.c (TEST_LDOUBLE): Define.
2552 * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
2554 * sysdeps/generic/bits/confname.h: Remove extra comma at end of
2556 Closes PR libc/2240.
2558 * scripts/config.guess: Imported from gnu.org.
2559 * scripts/config.sub: Likewise.
2561 2001-05-05 Jakub Jelinek <jakub@redhat.com>
2563 * include/features.h (__USE_EXTERN_INLINES): Don't define if
2564 __NO_INLINE__ is defined.
2565 * ctype/ctype.h (tolower, toupper): Change the guard condition to
2566 __USE_EXTERN_INLINES check only.
2567 * stdlib/stdlib.h (strtod, ...): Likewise.
2568 * wcsmbs/wchar.h (mbrlen): Likewise.
2569 * string/string.h: Only include bits/string.h and bits/string2.h
2570 if __NO_INLINE__ is not defined.
2572 2001-05-07 Andreas Jaeger <aj@suse.de>
2574 * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
2577 2001-05-04 H.J. Lu <hjl@gnu.org>
2579 * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
2582 2001-05-06 Andreas Jaeger <aj@suse.de>
2584 * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
2585 * sysdeps/i386/fpu/e_fmodl.S: Removed.
2586 * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
2587 * sysdeps/i386/fpu/e_atan2l.S: Removed.
2588 * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
2589 * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
2590 * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
2591 * sysdeps/i386/fpu/e_acosl.S: Removed.
2592 * sysdeps/i386/fpu/s_atanl.S: Removed.
2593 * sysdeps/i386/fpu/e_sqrtl.S: Removed.
2595 2001-05-05 Mark Kettenis <kettenis@gnu.org>
2597 * sysdeps/mach/hurd/bits/environments.h: Add comment from
2598 sysdeps/generic/bits/environments.h. Define _POSIX_V6_* values.
2600 2001-04-30 Jakub Jelinek <jakub@redhat.com>
2602 * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
2603 that _CS_LFS_CFLAGS can fall through to the empty returned string
2604 case. Add FALLTHROUGH comment.
2606 2001-04-29 Ralf Baechle <ralf@gnu.org>
2608 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
2609 definitions match the kernel definitions.
2610 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
2611 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
2613 2001-04-29 Ben Collins <bcollins@debian.org>
2615 * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
2617 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
2618 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2619 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2620 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
2621 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
2622 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2623 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2624 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2625 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2626 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2627 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2628 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2629 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
2630 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2631 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
2632 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2633 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2634 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2635 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2636 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
2637 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
2638 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
2639 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2641 2001-04-29 Andreas Schwab <schwab@suse.de>
2643 * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
2646 2001-04-29 Andreas Jaeger <aj@suse.de>
2648 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2649 Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
2651 * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
2653 (AF_WANPIPE): Likewise.
2656 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
2657 for Linux generic version.
2658 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
2659 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2660 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2661 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
2663 * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
2665 2001-04-27 Ulrich Drepper <drepper@redhat.com>
2667 * nis/nss-nis.h: Correct test for invalid error number.
2668 * nis/nss-nisplus.h: Likewise.
2670 * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
2672 2001-04-26 Ulrich Drepper <drepper@redhat.com>
2674 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
2676 * string/strcoll.c: Fix two memory allocation problems.
2677 * string/Makefile (tests): Add bug-strcoll1.
2678 * string/bug-strcoll1.c: New file.
2680 * malloc/mcheck.c (mcheck): Call malloc once before setting the
2681 hooks to allow the internal check hooks to be set up if necessary.
2683 * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
2684 and rename to __yperr2nss_tab. Change YPERR_COUNT into variable
2686 * nis/nss-nis.c: New file.
2687 * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
2688 and rename to __niserr2nss_tab. Change NISERR_COUNT into variable
2690 * nis/nss-nisplus.c: New file.
2691 * nis/Makefile (libnss_compat-routines): Add nss-nis.
2692 (libnss_nis-routines): Likewise.
2693 (libnss_nisplus-routines): Add nss-nisplus.
2695 * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
2696 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
2697 * nis/nss_nisplus/nisplus-grp.c: Likewise.
2698 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
2699 * nis/nss_nisplus/nisplus-network.c: Likewise.
2700 * nis/nss_nisplus/nisplus-proto.c: Likewise.
2701 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
2702 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
2703 * nis/nss_nisplus/nisplus-service.c: Likewise.
2704 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
2705 * nis/nss_nis/nis-alias.c: Likewise.
2706 * nis/nss_nis/nis-ethers.c: Likewise.
2707 * nis/nss_nis/nis-grp.c: Likewise.
2708 * nis/nss_nis/nis-network.c: Likewise.
2709 * nis/nss_nis/nis-proto.c: Likewise.
2710 * nis/nss_nis/nis-pwd.c: Likewise.
2711 * nis/nss_nis/nis-spwd.c: Likewise.
2712 * nis/nss_compat/compat-grp.c: Likewise.
2713 * nis/nss_compat/compat-initgroups.c: Likewise.
2714 * nis/nss_compat/compat-pwd.c: Likewise.
2715 * nis/nss_compat/compat-spwd.c: Likewise.
2717 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
2718 optimizations. Patch by Jakub Jelinek <jakub@redhat.com>.
2720 2001-04-26 Andreas Jaeger <aj@suse.de>
2722 * po/zh_TW.po: Update.
2723 Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
2725 2001-04-25 Ulrich Drepper <drepper@redhat.com>
2727 * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
2728 compiler command line.
2729 * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
2730 command line for malloc.c.
2732 2001-04-25 Jakub Jelinek <jakub@redhat.com>
2734 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
2735 * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
2736 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
2737 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
2738 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here. Adjust
2739 struct msghdr for __WORDSIZE == 32.
2740 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
2741 * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust
2742 for __WORDSIZE == 32.
2743 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
2744 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
2746 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
2747 Rename from longjmp, make longjmp weak alias to it.
2749 2001-04-24 David S. Miller <davem@redhat.com>
2751 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
2753 2001-04-25 Matthew Wilcox <willy@ldl.fc.hp.com>
2755 * sysdeps/hppa/stackinfo.h: New file.
2756 * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
2757 * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
2758 * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
2759 * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
2760 of PA kernel features.
2762 2001-04-25 Ulrich Drepper <drepper@redhat.com>
2764 * locale/programs/localedef.c (main): Always set a file name for
2766 * locale/programs/locfile.c (locfile_read): filename is allowed to
2769 2001-04-12 Paul Bame <paul_bame@hp.com>
2771 * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
2774 2001-04-24 Ulrich Drepper <drepper@redhat.com>
2776 * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
2777 _XBS5_LPBIG_OFFBIG): Define to -1.
2780 * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
2781 * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
2782 * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2783 * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2785 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
2786 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
2788 2001-03-21 Alan Modra <alan@one.net.au>
2790 * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
2791 value from application so that constructors in non-PIC libs work.
2793 2000-12-13 Jes Sorensen <jes@linuxcare.com>
2795 * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
2796 function pointer, hence load the jump address and gp from the
2797 function pointer before jumping.
2799 2001-04-24 Andreas Jaeger <aj@suse.de>
2801 * sysdeps/generic/send.c (__send): Return ssize_t.
2802 * sysdeps/mach/hurd/send.c (__send): Likewise.
2803 * sysdeps/mach/hurd/recv.c (recv): Likewise.
2804 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
2805 * sysdeps/generic/sendto.c (sendto): Likewise.
2806 * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
2807 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
2808 * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
2809 * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
2811 * socket/sys/socket.h: send* and recv* return ssize_t.
2813 * include/sys/socket.h: send returns ssize_t.
2815 * sysdeps/i386/fpu_control.h: Fix comments.
2817 2001-04-24 Ulrich Drepper <drepper@redhat.com>
2819 * sysdeps/ia64/Dist: Add hp-timing.c.
2820 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
2821 * posix/Makefile (distribute): Add tst-getconf.sh.
2822 * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
2824 2001-04-23 Ulrich Drepper <drepper@redhat.com>
2826 * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
2827 * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
2828 * sysdeps/ia64/hp-timing.c: New file.
2829 * sysdeps/ia64/hp-timing.h: New file.
2830 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
2831 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
2833 * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
2834 using #ifdef whether the clock is available.
2835 * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
2837 * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
2838 it into data section.
2840 * sysdeps/unix/i386/i586/clock_getres.c: Removed.
2841 * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
2842 * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
2843 * sysdeps/unix/i386/i586/clock_settime.c: Removed.
2844 * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
2845 * sysdeps/generic/cpuclock-init.h: Removed.
2846 * sysdeps/unix/i386/i686/Implies: Removed.
2847 * sysdeps/unix/i386/i686/tempname.c: Removed.
2848 * sysdeps/i386/i686/Versions: New file.
2849 * sysdeps/unix/i386/i586/Versions: Removed.
2851 * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
2852 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
2853 * sysdeps/unix/clock_gettime.c: Likewise.
2854 * sysdeps/unix/clock_nanosleep.c: Likewise.
2855 * sysdeps/unix/clock_settime.c: Likewise.
2856 * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
2857 RANDOM_BITS use CPU clock.
2859 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
2860 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
2861 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
2862 * sysdeps/sparc/Versions: New file.
2864 * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
2865 hp-timing.h definitions.
2866 * sysdeps/generic/dl-sysdep.c: Likewise.
2868 * include/libc-internal.h: Include hp-timing.h. Use hp_timing_t in
2869 __get_clockfreq prototype.
2871 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2872 Use hp_timing_t type.
2873 * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
2875 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
2877 * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
2878 whether named file is a regular file or a block device.
2879 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2881 2001-04-23 Andreas Jaeger <aj@suse.de>
2883 * nscd/nscd.h: Add noreturn attribute for start_threads.
2885 2001-04-22 Ulrich Drepper <drepper@redhat.com>
2887 * posix/getconf.c: Fix names of XBS5 LFS test variables.
2888 Add missing configuration variables from XPG6.
2889 * posix/tst-getconf.c: New file.
2890 * posix/Makefile (generated): Add tst-getconf.out.
2891 (tests): Add ($objpfx)tst-getconf.out.
2892 Add rule to run tst-getconf.sh.
2893 * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
2895 * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
2897 * sysdeps/posix/pathconf.c: Likewise.
2898 * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
2899 and _SC_SYMLOOP_MAX.
2901 2001-04-22 Philip Blundell <philb@gnu.org>
2903 * sysdeps/arm/fpu/feenablxcpt.c: New file.
2904 * sysdeps/arm/fpu/fedisablxcpt.c: New file.
2905 * sysdeps/arm/fpu/fegetexcpt.c: New file.
2907 2001-04-22 Philip Blundell <philb@gnu.org>
2909 * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
2910 Renamed from struct user_fp.
2911 (struct user_regs): New.
2912 (struct user): Use struct user_regs rather than struct pt_regs to
2913 avoid dependency on asm/ptrace.h. Use struct user_fpregs in place
2914 of struct user_fp and struct user_fp_struct.
2915 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
2918 2001-04-22 Philip Blundell <philb@gnu.org>
2920 * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
2921 sys/procfs.h, and tell the user to include that file instead.
2922 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
2923 surrounded with #if 0.
2924 (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
2926 (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
2927 elf_fpregset_t respectively.
2929 2001-04-22 Philip Blundell <philb@gnu.org>
2931 * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
2932 address that faulted.
2934 2001-04-21 Ulrich Drepper <drepper@redhat.com>
2936 * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
2938 * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
2939 * posix/confstr.c: Handle _CS_POSIX_V6_* values.
2940 * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
2941 * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
2943 * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
2944 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2945 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2946 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2948 2001-04-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2950 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
2953 2001-04-21 Ulrich Drepper <drepper@redhat.com>
2955 * posix/getopt.h: Treat __cplusplus like __STDC__.
2957 2001-04-20 John S. Marvin <jsm@fc.hp.com>
2959 * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
2962 2001-04-20 Richard Hirst <rhirst@linuxcare.com>
2964 * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
2965 and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
2967 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
2968 entry so the ptrace.c wrapper is used.
2970 2001-04-20 Alan Modra <amodra@one.net.au>
2972 * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
2973 (DL_FUNCTION_ADDRESS): Define.
2974 (DL_DT_INIT_ADDRESS): Define.
2975 (DL_DT_FINI_ADDRESS): Define.
2976 * sysdeps/hppa/Versions: Add _dl_function_address.
2977 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
2978 * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
2979 _dl_function_address.
2981 2001-04-21 Andreas Jaeger <aj@suse.de>
2983 * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
2984 * resolv/gai_misc.c (handle_requests): Likewise.
2985 * malloc/obstack.c (print_and_abort): Likewise.
2986 * malloc/mcheck.c (mabort): Likewise.
2988 * sysdeps/unix/i386/i586/clock_settime.c: Include
2989 "libc-internal.h" for __get_clockfreq declaration.
2991 2001-04-21 Ulrich Drepper <drepper@redhat.com>
2993 * elf/dl-support.c: Include cpuclock-init.h. Use CPUCLOCK_VARDEF and
2994 CPUCLOCK_INIT if defined.
2995 * sysdeps/generic/dl-sysdep.c: Likewise.
2996 * sysdeps/generic/cpuclock-init.h: New file.
2997 * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
2998 * sysdeps/unix/i386/i586/Versions: New file.
2999 * sysdeps/unix/i386/i586/clock_settime.c: New file.
3000 * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
3001 separately by calling __pthread_clock_gettime if this function is
3002 available. Subtract offset from tsc value before computing time value.
3004 2001-04-20 Ulrich Drepper <drepper@redhat.com>
3006 * iconv/iconv_prog.c (print_known_names): If printing goes not to
3007 a tty print in a more machine-friendly way.
3009 * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
3010 Contributed by Stephen L Moshier <moshier@mediaone.net>.
3012 2001-04-20 Andreas Jaeger <aj@suse.de>
3014 * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
3016 2001-04-20 Andreas Schwab <schwab@suse.de>
3018 * sysdeps/m68k/fpu/libm-test-ulps: Update.
3020 2001-04-19 Alan Modra <amodra@one.net.au>
3022 * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
3023 * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
3024 (CFLAGS-.os): Remove.
3026 * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
3028 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
3029 gregset): Correct for new kernel definitions.
3031 2001-04-19 Alan Modra <alan@linuxcare.com.au>
3033 * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
3034 generate unwind info by hand.
3036 2001-04-19 Ulrich Drepper <drepper@redhat.com>
3038 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
3040 * configure.in: Correct regular expression for msgfmt.
3041 Patch by Bruno Haible <haible@ilog.fr>.
3043 2001-04-19 Andreas Jaeger <aj@suse.de>
3045 * po/el.po: Add comment explaining what's broken.
3047 * po/Makefile (BROKEN_LINGUAS): New.
3048 (ALL_LINGUAS): Don't add broken languages.
3050 2001-04-19 Roland McGrath <roland@frob.com>
3052 * sysdeps/mach/hurd/mlock.c: New file.
3053 * sysdeps/mach/hurd/munlock.c: New file.
3054 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
3056 * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
3057 * sysdeps/generic/mlock.c: New file.
3058 * sysdeps/generic/munlock.c: New file.
3059 * sysdeps/generic/mlockall.c: New file.
3060 * sysdeps/generic/munlockall.c: New file.
3061 * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
3062 * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
3063 mlockall, munlockall): Change caller field to - from EXTRA.
3064 Don't use __ names; not used (and not declared in include/sys/mman.h).
3066 * hurd/privports.c (__get_privileged_ports): Renamed with __.
3067 Use __ names for calls we make.
3068 (get_privileged_ports): Add alias.
3069 * hurd/hurd.h: Declare it with the __ name.
3070 * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
3071 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
3072 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
3074 * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
3075 nothing if it's zero.
3077 2001-04-19 Matthew Wilcox <willy@ldl.fc.hp.com>
3079 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
3080 Change to return a signed result for compatibility with other
3081 architectures, and correctness.
3083 2001-04-19 Ulrich Drepper <drepper@redhat.com>
3085 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
3086 HPPA always had them. Patch by Matthew Wilcox <matthew@wil.cx>.
3088 2001-04-19 Andreas Jaeger <aj@suse.de>
3090 * configure.in: Require gettext 0.10.36 or newer.
3092 * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
3094 * po/zh_TW.po: Remove extraneous backslashes.
3096 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
3099 2001-04-18 Jakub Jelinek <jakub@redhat.com>
3101 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
3102 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
3103 * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
3104 * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
3105 Copy first word of uc_sigmask into __uc_sigmask.
3106 * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
3107 Save uc_link around trap. Copy __uc_sigmask into first word of
3108 uc_sigmask, clear the rest. Make sure setcontext to the created
3109 context doesn't do this though.
3110 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
3111 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
3112 uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
3113 64bit version, make uc_sigmask __sigset_t in the 32bit version.
3115 2001-04-19 Andreas Jaeger <aj@suse.de>
3117 * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
3119 * rt/Makefile (otherlibs): Added for static NSS.
3121 * glibcbug.in (BUGGLIBC): Send to new alias.
3123 2001-04-02 Andreas Schwab <schwab@suse.de>
3125 * Makerules (build-module): Make sure exit codes get checked
3126 properly and remove unnecessary slashes.
3128 2001-04-17 Ulrich Drepper <drepper@redhat.com>
3130 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3131 Handle kernels which report only three digits after the decimal point.
3132 Reported by Van Okamura <van.okamura@oracle.com>.
3134 * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
3136 2001-04-17 David S. Miller <davem@redhat.com>
3138 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
3139 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3141 2001-04-17 Jakub Jelinek <jakub@redhat.com>
3143 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
3144 desired exceptions are raised for exceptional values.
3145 * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
3146 cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
3147 clog_test, log_test, log1p_test, tan_test): Increase precision of
3148 expected values to satisfy ldbl-128.
3149 * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
3150 * sysdeps/arm/libm-test-ulps: Likewise.
3151 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3152 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3153 * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
3154 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
3155 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3156 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3157 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3158 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3159 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3161 2001-04-17 Andreas Jaeger <aj@suse.de>
3163 * configure.in: Move test for critical programs up.
3165 2001-04-16 Stephen L Moshier <moshier@mediaone.net>
3167 * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
3169 (pSx, qSx): Replace by shorter approximation.
3170 Use f suffix on float constants.
3172 2001-04-16 Ulrich Drepper <drepper@redhat.com>
3174 * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
3175 Contributed by Stephen L Moshier <moshier@mediaone.net>.
3177 * string/string.h: Replace const in attribute list with __const__.
3179 2001-04-16 Roland McGrath <roland@frob.com>
3181 * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
3182 instead of the constant NGROUPS_MAX. That way, the limit can be
3183 raised in the kernel configuration without having to recompile libc.
3185 * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
3186 define NGROUPS_MAX; we don't use it here.
3188 2001-04-16 Andreas Jaeger <aj@suse.de>
3190 * math/libm-test.inc (atan2_test): Add more testcases.
3192 * iconv/gconv_db.c: Include gconv_charset.h for
3193 __gconv_lookup_alias prototype.
3195 2001-04-13 Ulrich Drepper <drepper@redhat.com>
3197 * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
3198 Contributed by Stephen L Moshier <moshier@mediaone.net>.
3200 2001-04-13 Jes Sorensen <jes@linuxcare.com>
3202 * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
3204 2001-04-13 Jes Sorensen <jes@linuxcare.com>
3206 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
3207 explicitly pad struct siginfo instead of relying on compiler padding.
3209 2001-04-12 Ulrich Drepper <drepper@redhat.com>
3211 * sysdeps/ia64/Dist: Add elf/entry.h.
3213 * iconvdata/Makefile (distribute): Add TESTS2.
3215 2001-04-13 Jakub Jelinek <jakub@redhat.com>
3217 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
3218 Calculate load address differently.
3220 2001-04-12 Bruno Haible <haible@clisp.cons.org>
3222 * iconvdata/TESTS2: New file.
3223 * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
3224 * iconvdata/testdata/alfabeta..UTF-8: New file.
3225 * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
3226 * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
3227 * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
3228 * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
3230 2001-04-11 Bruno Haible <haible@clisp.cons.org>
3232 * iconvdata/utf-32.c: New file.
3233 * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
3234 * iconvdata/Makefile (modules): Add UTF-32.
3235 (distribute): Add utf-32.c.
3237 2001-04-11 Bruno Haible <haible@clisp.cons.org>
3239 * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
3240 changing it in the state. After incrementing 'inptr', store it back.
3241 * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
3244 2001-04-11 Bruno Haible <haible@clisp.cons.org>
3246 * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
3249 2001-04-11 David Mosberger <davidm@hpl.hp.com>
3251 * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
3252 * sysdeps/ia64/htons.S: Likewise.
3254 * sysdeps/ia64/memset.S: Add unwind directives.
3255 * sysdeps/ia64/strncpy.S: Likewise.
3256 * sysdeps/ia64/strcat.S: Likewise.
3258 * sysdeps/ia64/memccpy.S: Add unwind directives. Drop superfluous
3260 * sysdeps/ia64/strchr.S: Likewise.
3261 * sysdeps/ia64/memmove.S: Likewise.
3262 * sysdeps/ia64/memcpy.S: Likewise.
3263 * sysdeps/ia64/memcmp.S: Likewise.
3264 * sysdeps/ia64/memchr.S: Likewise.
3265 * sysdeps/ia64/strcmp.S: Likewise.
3266 * sysdeps/ia64/strlen.S: Likewise.
3267 * sysdeps/ia64/strcpy.S: Likewise.
3268 * sysdeps/ia64/strncmp.S: Likewise.
3270 2001-04-11 Jakub Jelinek <jakub@redhat.com>
3272 * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
3273 fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
3274 fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
3275 fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
3277 2001-04-11 Andreas Jaeger <aj@suse.de>
3279 * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
3281 2001-04-11 Andreas Schwab <schwab@suse.de>
3283 * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
3285 2001-04-11 Ulrich Drepper <drepper@redhat.com>
3287 * sysdeps/arm/stackinfo.h: New file.
3289 2001-04-08 Thorsten Kukuk <kukuk@suse.de>
3291 * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
3292 rpcgen to generate thread safe code.
3294 2001-04-10 Andreas Jaeger <aj@suse.de>
3296 * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
3298 2001-04-10 Ulrich Drepper <drepper@redhat.com>
3300 * elf/dl-minimal.c (__assert_fail): Change error string. It's
3301 most of the time no bug in ld.so.
3302 (__assert_perror_fail): Likewise.
3304 2001-04-11 Hans-Peter Nilsson <hp@axis.com>
3306 * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
3307 from struct to unsigned int.
3309 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3311 * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
3312 AT_IGNOREPPC): New defines.
3313 * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
3314 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
3315 Define for newer powerpc kernels.
3316 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
3317 DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
3319 2000-4-10 kaz Kojima <kkojima@rr.iij4u.or.jp>
3321 * sysdeps/sh/stackinfo.h: New file.
3323 2001-04-10 Ulrich Drepper <drepper@redhat.com>
3325 * locale/tst-C-locale.c (run_test): Add tests for locale objects.
3326 * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
3327 __ctype_tolower, and __ctype_toupper elements.
3329 * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
3330 Reported by Konstantin Osipov <rabid@spylog.ru>.
3332 * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
3335 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3337 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
3338 * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
3339 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
3340 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
3342 2001-04-10 Ulrich Drepper <drepper@redhat.com>
3344 * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
3345 message. Based on a patch by HJ Lu.
3347 2001-04-10 Andreas Schwab <schwab@suse.de>
3349 * math/libm-test.inc (csinh_test): Don't require the invalid
3350 exception for csinh (x + iNaN), but make it optional.
3352 2001-04-09 David Mosberger <davidm@hpl.hp.com>
3354 * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
3356 * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
3357 * sysdeps/ia64/elf/entry.h: New file.
3358 * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
3360 * elf/rtld.c: Don't declare ENTRY_POINT. Use ENTRY_POINT instead
3362 * sysdeps/generic/dl-sysdep.c: Likewise.
3363 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3364 * sysdeps/ia64/elf/start.S: Save base address of register backing
3365 store in __libc_ia64_register_backing_store_base.
3367 2001-04-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
3369 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
3370 value of getcontext.
3371 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3372 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
3373 value of setcontext.
3374 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3375 * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
3376 call by changing the saved context.
3378 2001-04-10 Ulrich Drepper <drepper@redhat.com>
3380 * sysdeps/alpha/stackinfo.h: New file.
3381 * sysdeps/ia64/stackinfo.h: New file.
3383 2001-04-10 Andreas Schwab <schwab@suse.de>
3385 * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
3387 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
3389 2001-04-09 Ulrich Drepper <drepper@redhat.com>
3391 * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
3392 * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
3394 * libio/Makefile (distribute): Add fd_to_filename.h.
3396 2001-04-05 David S. Miller <davem@redhat.com>
3398 Add hp-timing support for sparcv9/sparc64 targets.
3399 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
3400 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
3401 * sysdeps/sparc/sparc64/hp-timing.c: New file
3402 * sysdeps/sparc/sparc64/hp-timing.h: New file
3403 * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
3404 * sysdeps/sparc/sparc64/Makefile: Likewise.
3406 2001-04-09 Jakub Jelinek <jakub@redhat.com>
3408 * sysdeps/generic/fd_to_filename.h: New file.
3409 * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
3410 * libio/freopen.c (freopen): If FILENAME is NULL, try to get
3411 filename from the open file descriptor.
3412 * libio/freopen64.c (freopen64): Likewise.
3414 2001-04-09 Bruno Haible <haible@clisp.cons.org>
3416 * misc/error.c (error): fflush stdout also if
3417 error_print_progname != NULL.
3418 (error_at_line): Likewise.
3420 2001-04-07 Bruno Haible <haible@clisp.cons.org>
3422 * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
3423 (struct binding): Add codeset_cntr field.
3424 (_nl_load_domain): Add domainbinding argument.
3425 (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
3426 (_nl_find_msg): New declaration, moved here from loadinfo.h.
3427 * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
3428 (_nl_make_l10nflist): Remove domainbinding argument.
3429 (_nl_find_msg): Move declaration to gettextP.h.
3430 * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
3431 to 0. Increment it when ->codeset is changed.
3432 * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
3433 (_nl_find_msg): Add domainbinding argument. Reinitialize the converter
3434 if domainbinding->codeset_cntr has been incremented.
3435 * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
3436 _nl_make_l10nflist(). Pass it to _nl_load_domain() instead.
3437 * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
3438 * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
3439 from _nl_load_domain. Append //TRANSLIT also when using libiconv.
3440 (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
3441 (_nl_load_domain): Add domainbinding argument. Call
3442 _nl_init_domain_conv.
3443 (_nl_unload_domain): Call _nl_free_domain_conv.
3444 * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
3445 (test-srcs): Add tst-codeset.
3446 (tests): Depend on tst-codeset.out.
3447 (tst-codeset.out): New rule.
3448 (CFLAGS-tst-codeset.c): New variable.
3449 * intl/tst-codeset.sh: New file.
3450 * intl/tstcodeset.po: New file.
3451 * intl/tst-codeset.c: New file.
3452 * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
3455 2001-04-07 Roland McGrath <roland@frob.com>
3457 * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
3459 2001-03-31 Roland McGrath <roland@frob.com>
3461 * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
3462 copying send rights into child. When we hit our name for our proc
3463 port, just copy NEWPROC directly instead of repeating proc_task2proc
3464 to install the child's port.
3466 2001-04-08 Roland McGrath <roland@frob.com>
3468 * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
3469 in second column, to provide default values for third column.
3470 * shlib-versions: Add comments about using DEFAULT in second column.
3471 (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
3472 (cris-.*-linux.*): Likewise.
3474 2001-04-09 Ulrich Drepper <drepper@redhat.com>
3476 * Makefile (distribute): Add scripts/documented.sh.
3477 * scripts/documented.sh: New file.
3479 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3481 * sysdeps/unix/sysv/linux/cris/Dist: New file.
3482 * sysdeps/unix/sysv/linux/cris/Makefile: New file.
3483 * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
3484 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
3485 * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
3486 * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
3487 * sysdeps/unix/sysv/linux/cris/brk.c: New file.
3488 * sysdeps/unix/sysv/linux/cris/chown.c: New file.
3489 * sysdeps/unix/sysv/linux/cris/clone.S: New file.
3490 * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
3491 * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
3492 * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
3493 * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
3494 * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
3495 * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
3496 * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
3497 * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
3498 * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
3499 * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
3500 * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
3501 * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
3502 * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
3503 * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
3504 * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
3505 * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
3506 * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
3507 * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
3508 * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
3509 * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
3510 * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
3511 * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
3512 * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
3513 * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
3514 * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
3515 * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
3516 * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
3517 * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
3518 * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
3519 * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
3520 * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
3521 * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
3522 * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
3523 * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
3524 * sysdeps/unix/sysv/linux/cris/socket.S: New file.
3525 * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
3526 * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
3527 * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
3528 * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
3529 * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
3530 * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
3532 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3534 * sysdeps/cris/Dist: New file.
3535 * sysdeps/cris/Implies: New file.
3536 * sysdeps/cris/Makefile: New file.
3537 * sysdeps/cris/__longjmp.S: New file.
3538 * sysdeps/cris/_mcount.S: New file.
3539 * sysdeps/cris/bits/endian.h: New file.
3540 * sysdeps/cris/bits/setjmp.h: New file.
3541 * sysdeps/cris/bits/string.h: New file.
3542 * sysdeps/cris/dl-machine.h: New file.
3543 * sysdeps/cris/elf/start.S: New file.
3544 * sysdeps/cris/machine-gmon.h: New file.
3545 * sysdeps/cris/memcopy.h: New file.
3546 * sysdeps/cris/memusage.h: New file.
3547 * sysdeps/cris/setjmp.S: New file.
3548 * sysdeps/cris/sysdep.h: New file.
3549 * sysdeps/cris/wordcopy.c: New file.
3551 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3553 * elf/elf.h: Add new relocations for CRIS.
3555 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3557 * shlib-versions: Add cases for Linux on CRIS.
3559 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3561 * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
3562 ';' for comments and '@' for line separator.
3564 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3566 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
3567 typo; s/==/=/ for assignment.
3569 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3571 * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
3573 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3575 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
3576 empty input before checking full output.
3578 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3580 * iconv/gconv.c (__gconv): Don't derefer parameter cd before
3583 2001-04-08 Ulrich Drepper <drepper@redhat.com>
3585 * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
3587 2001-04-07 Stephen L Moshier <moshier@mediaone.net>
3589 * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
3592 2001-04-07 Ulrich Drepper <drepper@redhat.com>
3594 * stdlib/tst-setcontext.c (main): Add a test for setcontext.
3596 * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
3597 * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
3598 * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
3599 * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
3600 * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
3601 * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
3603 2001-04-07 Andreas Jaeger <aj@suse.de>
3605 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
3606 instead of separate sin and cos.
3607 (__ieee754_j1l): Likewise.
3609 2001-04-06 Ulrich Drepper <drepper@redhat.com>
3611 * sysdeps/ia64/abort-instr.h: New file. Code by David Mosberger.
3613 * sysdeps/ia64/atomicity.h: New file. Copied from libstdc++.
3615 * sysdeps/i386/i486/atomicity.h: Clean up the asms.
3617 * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
3619 * sysdeps/generic/e_scalbf.c: Likewise.
3620 * sysdeps/generic/e_scalbl.c: Likewise.
3621 Patch by Mark Hatle <fray@mvista.com>.
3623 2001-04-05 David S. Miller <davem@redhat.com>
3625 * sysdeps/sparc/abort-instr.h: New file.
3627 2001-04-05 Matt Wilson <msw@redhat.com>
3629 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
3630 added code to parse new 2.4 format.
3631 (GET_NPROCS_CONF_PARSER): Likewise.
3633 2001-04-05 David S. Miller <davem@redhat.com>
3635 * scripts/config.sub: Recognize sparcv9b like sparcv9.
3636 * configure.in: Add sparcv9b.
3637 * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
3638 * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
3639 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
3641 2001-04-06 David Mosberger <davidm@hpl.hp.com>
3643 * stdlib/tst-setcontext.c: Move st2[] to global scope.
3644 (f2): Verify that stack pointer is inside st2[].
3646 * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
3647 * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
3649 2001-04-06 Ulrich Drepper <drepper@redhat.com>
3651 * timezone/antarctica: Update from tzdata2001b.
3652 * timezone/asia: Likewise.
3653 * timezone/australasia: Likewise.
3654 * timezone/europe: Likewise.
3655 * timezone/northamerica: Likewise.
3657 * iconv/iconv_open.c: Move strip and upstr definitions...
3658 * iconv/gconv_charset.h: ...here. New file.
3659 * iconv/gconv_db.c (once): Move to file level.
3660 (do_lookup_alias): Split out from __gconv_find_transform.
3661 (__gconv_find_transform): Call do_lookup_alias.
3662 (__gconv_loopup_alias): New function.
3663 * locale/langinfo.h: Define _NL_*_CODESET values for all categories
3665 * locale/categories.def: Add entries for new _NL_*_CODESET values.
3666 * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
3667 * locale/C-address.c: Initialize _NL_*_CODESET element.
3668 * locale/C-collate.c: Likewise.
3669 * locale/C-identification.c: Likewise.
3670 * locale/C-measurement.c: Likewise.
3671 * locale/C-messages.c: Likewise.
3672 * locale/C-monetary.c: Likewise.
3673 * locale/C-name.c: Likewise.
3674 * locale/C-numeric.c: Likewise.
3675 * locale/C-paper.c: Likewise.
3676 * locale/C-telephone.c: Likewise.
3677 * locale/C-time.c: Likewise.
3678 * locale/localeinfo.h: Declare _nl_C_codeset.
3679 * locale/C_name.c: Define _nl_C_codeset.
3680 * locale/findlocale.c: Before accepting locale check that the used
3681 charset does not conflict with what the locale name said.
3682 * locale/programs/ld-address.c: Emit codeset information.
3683 * locale/programs/ld-collate.c: Likewise.
3684 * locale/programs/ld-identification.c: Likewise.
3685 * locale/programs/ld-measurement.c: Likewise.
3686 * locale/programs/ld-messages.c: Likewise.
3687 * locale/programs/ld-monetary.c: Likewise.
3688 * locale/programs/ld-name.c: Likewise.
3689 * locale/programs/ld-numeric.c: Likewise.
3690 * locale/programs/ld-paper.c: Likewise.
3691 * locale/programs/ld-telephone.c: Likewise.
3692 * locale/programs/ld-time.c: Likewise.
3694 * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
3695 if the locale data couldn't be found.
3697 * string/Makefile: Define tst-strxfrm-ENV.
3699 * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
3701 2001-04-06 Andreas Jaeger <aj@suse.de>
3703 * include/sys/profil.h: New file.
3705 * dlfcn/modatexit.c: Add prototypes to silence GCC.
3706 * dlfcn/modcxaatexit.c: Likewise.
3707 * elf/globalmod1.c: Likewise.
3709 2001-04-05 David S. Miller <davem@redhat.com>
3711 * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
3712 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
3713 capability flags table and HWCAP_IMPORTANT, increase
3714 _DL_HWCAP_COUNT to 6.
3715 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3717 2001-04-04 David Mosberger <davidm@hpl.hp.com>
3719 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
3720 initialization of stack_end (bug reported by Zheng Gengbin
3721 <gzheng@students.uiuc.edu>).
3723 2001-04-05 Ulrich Drepper <drepper@redhat.com>
3725 * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
3727 2001-04-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
3729 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
3731 2001-04-05 Ulrich Drepper <drepper@redhat.com>
3733 * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
3734 * sysdeps/i386/fpu/e_asinl.S: Removed. Too inaccurate.
3736 * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
3738 2001-04-04 Ulrich Drepper <drepper@redhat.com>
3740 * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
3741 define simple replacements here. Patch by Michael Keezer.
3743 * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
3744 * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
3745 Contributed by Stephen L Moshier <moshier@mediaone.net>.
3747 * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
3750 2001-04-01 Andreas Jaeger <aj@suse.de>
3752 * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
3755 * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
3757 2001-04-04 Ulrich Drepper <drepper@redhat.com>
3759 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
3760 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
3762 2001-04-04 Martin Schwidefsky <schwidefsky@de.ibm.com>
3764 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
3765 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
3766 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
3767 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
3768 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
3769 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
3770 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
3771 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
3772 * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
3774 2001-04-04 Andreas Jaeger <aj@suse.de>
3776 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
3779 2001-04-04 Ulrich Drepper <drepper@redhat.com>
3781 * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
3782 * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
3783 * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
3784 (unsigned_dec): Likewise.
3785 Patch by atai@jezebel.dreamhost.com.
3787 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
3788 pointer to int as last parameter of yp_match.
3789 Patch by kanazawa@flab.fujitsu.co.jp.
3791 2001-04-03 Ulrich Drepper <drepper@redhat.com>
3793 * resolv/netdb.h (gai_strerror): Make return value const.
3794 * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
3795 * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
3796 Add strings for new error values.
3798 2001-03-29 Michael Keezer <mkeezer@redhat.com>
3800 * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
3801 * login/tst-utmp.c: Handle case where ut_tv is not available but
3803 * sysdeps/unix/sysv/aix/utmpx.h: New file.
3804 * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
3805 _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
3806 * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
3807 * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
3808 to access RTCU timer reg.
3809 * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
3810 added dl-libc, dl-open,dl-sym, dl-close to misc.
3811 * sysdeps/unix/sysv/aix/start.c: New file. Start code.
3812 * sysdeps/unix/sysv/aix/dlldr.h: New file. AIX __loadx defines.
3813 * sysdeps/unix/sysv/aix/dl-close.c: New file. AIX dl-close.
3814 * sysdeps/unix/sysv/aix/dl-open.c: New file. AIX dl-open.
3815 * sysdeps/unix/sysv/aix/dl-sym.c: New file. AIX dl-sym.
3816 * sysdeps/unix/sysv/aix/dl-libc.c: New file. libc_dl-xxx support.
3817 * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
3819 * sysdeps/generic/strtoull.c: Likewise.
3820 * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
3821 * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
3822 sysdeps/generic/memset.c.
3823 * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
3825 2001-04-03 Ulrich Drepper <drepper@redhat.com>
3827 * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
3828 * locale/programs/charmap.c: Define null_pointer if
3829 NEED_NULL_POINTER is defined.
3831 * misc/dirname.c (dirname): Handle multiple slashes correctly.
3833 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
3835 * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
3837 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
3839 * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
3840 * sysdeps/s390/s390-64/bcopy.S: Likewise.
3841 * sysdeps/s390/s390-32/mempcy.S: Likewise.
3842 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3844 2001-04-02 Bruno Haible <haible@clisp.cons.org>
3846 * manual/message.texi (Advanced gettext functions): More specific
3847 syntax in the plural formula examples.
3849 2001-04-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3851 * sysdeps/powerpc/atomicity.h: Silence warnings.
3852 * sysdeps/powerpc/dl-machine.h: Likewise.
3853 * sysdeps/powerpc/register-dump.h: Likewise.
3854 * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
3856 2001-04-02 Andreas Jaeger <aj@suse.de>
3858 * misc/tst-dirname.c (main): Add more tests, derived from a bug
3859 report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
3861 2001-04-01 Andreas Jaeger <aj@suse.de>
3863 * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
3865 * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
3867 2001-04-01 H.J. Lu <hjl@gnu.org>
3869 * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
3871 * stdlib/isomac.c (macrofile): Likewise.
3873 2001-03-30 Thorsten Kukuk <kukuk@suse.de>
3875 * inet/rcmd.c: Allow AF_UNSPEC as parameter.
3876 * nis/ypclnt.c (yp_all): Print error message only at last try,
3877 check for protocoll error only if we don't have a network error.
3879 2001-04-02 Andreas Schwab <schwab@suse.de>
3881 * resolv/res_data.c (res_isourserver): Fix cast.
3883 2001-04-02 Andreas Jaeger <aj@suse.de>
3885 * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
3888 * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
3890 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
3892 * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
3894 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
3896 * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
3897 warning about unused variable.
3899 * string/string.h (strndupa): Add cast for C++ conformance.
3900 (strdupa): Likewise.
3901 Fixes PR libc/2173, reported by tbrowder@home.com.
3903 2001-03-30 Roland McGrath <roland@frob.com>
3905 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
3906 options after $(build-module), which is no longer a single command.
3907 (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
3908 (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
3909 variables using it. Reported by Mark Kettenis <kettenis@gnu.org>.
3911 2001-03-11 Roland McGrath <roland@frob.com>
3913 * elf/rtld.c (dl_main): Add cast to quiet warning.
3914 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3915 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
3916 (__gconv_read_conf): Likewise.
3917 * iconv/gconv_db.c (gen_steps): Likewise.
3918 (__gconv_find_transform): Likewise.
3919 * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
3920 (fopen_uncompressed): Use const in second argument's type.
3922 2001-03-11 Roland McGrath <roland@frob.com>
3924 * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
3926 * mach/mach_error.h: Fix ancient #endif syntax.
3927 * hurd/hurdmalloc.c: Likewise.
3929 * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
3930 compare_and_swap): Add volatile qualifier to first arg, to bring
3931 these prototypes in line with all the other implementations.
3932 Add a #warning to remind the builder that these are not atomic.
3934 2001-03-04 Roland McGrath <roland@frob.com>
3936 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
3937 member of TEMP_F so its type is _IO_FILE * as expected.
3939 * hurd/fopenport.c (seekio): Conditionalize type of POS argument
3940 on [USE_IN_LIBIO]. Check the value for overflow, since for libio
3941 it might exceed off_t's range.
3943 2001-02-25 Roland McGrath <roland@frob.com>
3945 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
3946 * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
3948 * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
3949 macro instead of an inline function,
3950 (MSG_EXAMINE): Likewise.
3952 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
3954 * hurd/get-host.c: Include <string.h> for decls of built-ins.
3955 * hurd/hurdchdir.c: Likewise.
3956 * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
3957 * sysdeps/mach/hurd/opendir.c: Likewise.
3959 * mach/mach_init.c: Include <unistd.h> for _exit decl.
3961 * mach/errsystems.awk: Give output file a trailing newline.
3963 * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
3964 the script will use our compiler for the cpp stage.
3966 With --enable-all-warnings we get a whole bunch of warnings,
3967 and these are just a few fixes; there are more needed to silence it.
3968 * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
3969 decls before extern inline defns to quiet gcc warning.
3970 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
3971 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
3973 2001-03-31 Andreas Jaeger <aj@suse.de>
3975 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
3976 (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
3977 (ARPHRD_CISCO): New.
3978 Changes from Linux 2.4.3.
3980 2001-03-30 Isamu Hasegawa <isamu@yamato.ibm.com>
3982 * posix/regex.c: Avoid an access violation if malloc fails.
3984 2001-03-30 Andreas Jaeger <aj@suse.de>
3986 * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
3988 2001-03-29 Ulrich Drepper <drepper@redhat.com>
3990 * posix/regex.c: Remove unnecessary ifs.
3992 * math/bits/mathcalls.h: Remove infnan declaration.
3994 2001-03-29 H.J. Lu <hjl@gnu.org>
3996 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
3997 and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
3998 * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
4000 2001-03-29 Isamu Hasegawa <isamu@yamato.ibm.com>
4002 * posix/regex.c: Fix typo and add a sentinel.
4004 2001-03-29 Ulrich Drepper <drepper@redhat.com>
4006 * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
4007 O_NOFOLLOW. Suggested by Christoph Roland.
4009 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
4011 * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
4012 * sysdeps/s390/s390-32/bits/string.h: Remove.
4013 * sysdeps/s390/s390-64/bits/string.h: Remove.
4014 * sysdeps/s390/s390-32/strcmp.S: New file.
4015 * sysdeps/s390/s390-64/strcmp.S: New file.
4017 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
4019 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
4020 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4022 2001-03-27 Ulrich Drepper <drepper@redhat.com>
4024 * version.h (VERSION): Bump to 2.2.3.
4026 * stdlib/isomac.c (fmt): Don't define _LIBC.
4027 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
4028 LOW_HALF only if _LIBC is defined.
4030 * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
4032 * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
4034 * posix/tst-fnmatch.input: Add test cases for matching empty strings.
4036 * sysdeps/ieee754/dbl-64/endian.h: Removed. Move definitions...
4037 * include/endian.h: ...to here.
4039 2001-03-27 kaz Kojima <kkojima@rr.iij4u.or.jp>
4041 * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
4042 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
4044 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
4046 * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
4048 2001-03-26 Ulrich Drepper <drepper@redhat.com>
4050 * sysdeps/ia64/fpu/Dist: Add new files to distribute.
4051 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
4052 * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
4054 * gmon/Makefile (headers): Add sys/profil.h.
4056 2001-03-18 Andreas Jaeger <aj@suse.de>
4058 * manual/install.texi (Tools for Compilation): Advise to use GCC
4060 (Supported Configurations): Mention s390x.
4062 2001-03-26 Ben Collins <bcollins@debian.org>
4064 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
4065 defines to match other architectures.
4067 2001-03-26 Ulrich Drepper <drepper@redhat.com>
4069 * libio/Makefile (tests): Add tst-ext.
4070 * libio/tst-ext.c: New file.
4072 * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
4074 2001-03-25 Ulrich Drepper <drepper@redhat.com>
4076 Add changes which were in this form in the original patch by
4077 Eric Norum <eric.norum@usask.ca>.
4078 * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
4080 * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
4081 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
4082 __rpc_thread_svc_max_pollfd.
4083 Define svc_fdset, get_rpc_createerr, svc_pollfd, and
4085 * sunrpc/rpc_thread.c: Handle first thread special, it uses the
4087 Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
4088 __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
4089 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_svc_fdset,
4090 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
4091 __rpc_thread_svc_max_pollfd.
4092 * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
4094 * sunrpc/clnt_perr.c: Likewise.
4095 * sunrpc/clnt_simp.c: Likewise.
4096 * sunrpc/clnt_tcp.c: Likewise.
4097 * sunrpc/clnt_udp.c: Likewise.
4098 * sunrpc/clnt_unix.c: Likewise.
4099 * sunrpc/pm_getport.c: Likewise.
4101 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
4102 syscall checks for negative n so don't test here as well.
4104 2001-03-23 Jes Sorensen <jes@linuxcare.com>
4106 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
4107 * sysdeps/ia64/sysdep.h: ...here.
4109 * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
4110 * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
4112 * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
4113 declare instead of LEAF(). Suggestion from David Mosberger.
4115 2001-03-21 David Mosberger <davidm@hpl.hp.com>
4117 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
4119 (PSEUDO): Drop .psr and .lsb directives.
4121 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto. Add unwind
4123 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
4125 * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
4127 * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
4128 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
4129 * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
4130 longer needed). Add unwind directives.
4132 * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
4133 ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
4135 2001-03-21 Paul Eggert <eggert@twinsun.com>
4137 * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
4138 (RE_SYNTAX_POSIX_EGREP): Use it.
4139 * posix/regex.c (regex_compile): Implement it.
4141 2001-03-21 Paul Eggert <eggert@twinsun.com>
4143 * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
4144 Rewrite to avoid duplicate code.
4146 2001-03-21 H.J. Lu <hjl@gnu.org>
4148 * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
4149 for cross-compiling.
4150 ($(objpfx)tst-pathopt.out): Undo the last change.
4152 2001-03-24 Mark Kettenis <kettenis@gnu.org>
4154 * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
4155 sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
4157 * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
4158 (_dl_argv): Declare.
4159 (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
4161 2001-03-22 Andreas Jaeger <aj@suse.de>
4163 * iconvdata/Makefile (generated): Add iconv-test.xxx.
4165 * posix/Makefile (generated): Add bug-regex2.mtrace and
4168 2001-03-21 Ulrich Drepper <drepper@redhat.com>
4170 * csu/version.c (__gnu_get_libc_release): Add prototype.
4171 (__gnu_get_libc_version): Likewise.
4172 * include/gnu/libc-version.h: Remove prototypes for not exported
4175 2001-03-21 Jes Sorensen <jes@linuxcare.com>
4177 * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
4178 for internationalized printfs to work.
4180 2001-03-09 Bruno Haible <haible@clisp.cons.org>
4182 * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
4183 avoid compiler warning.
4184 (_nl_find_msg): Add casts to avoid compiler warnings.
4186 2001-03-21 Ulrich Drepper <drepper@redhat.com>
4188 * gmon/Makefile (routines): Add sprofil.
4189 (tests): Add tst-sprofil.
4190 (noprof): Add sprofil.
4191 * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
4193 2001-03-20 David Mosberger <davidm@hpl.hp.com>
4195 * sysdeps/generic/sprofil.c: New file.
4196 * sysdeps/posix/sprofil.c: New file.
4197 * gmon/tst-sprofil.c: New file.
4198 * gmon/sys/profil.h: New file.
4200 2001-03-20 Andreas Schwab <schwab@suse.de>
4202 * include/unistd.h: Adjust prototype of __gethostname.
4204 2001-03-20 Jakub Jelinek <jakub@redhat.com>
4206 * sysdeps/sparc/stackinfo.h: New file.
4208 2001-03-21 Andreas Jaeger <aj@suse.de>
4210 * elf/global.c (main): Use proper prototype.
4212 2001-03-20 Ulrich Drepper <drepper@redhat.com>
4214 * sunrpc/Makefile (routines): Add rpc_thread.
4215 (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
4216 * sunrpc/rpc_thread.c: New file.
4217 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
4218 * sunrpc/auth_none.c: Don't use global variables. Access state in
4219 thread-local storage.
4220 * sunrpc/clnt_perr.c: Likewise.
4221 * sunrpc/clnt_raw.c: Likewise.
4222 * sunrpc/clnt_simp.c: Likewise.
4223 * sunrpc/key_call.c: Likewise.
4224 * sunrpc/rpc_common.c: Likewise.
4225 * sunrpc/svc.c: Likewise.
4226 * sunrpc/svc_raw.c: Likewise.
4227 * sunrpc/svc_simple.c: Likewise.
4228 * sunrpc/svcauth_des.c: Likewise.
4229 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
4230 _HURD_THREADVAR_RPC_VARS.
4231 * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
4232 * include/rpc/rpc.h: Define data structures for internal thread-local
4234 Based on patches by Eric Norum <eric.norum@usask.ca>.
4236 * elf/dl-load.c: Various little optimizations.
4238 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
4239 LINUX_LINK_MAX only if the statfs function is not implemented for
4242 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
4243 LINUX_LINK_MAX only if the fstatfs function is not implemented for
4246 2001-03-19 Ulrich Drepper <drepper@redhat.com>
4248 * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
4250 * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
4251 (_dl_dst_substitute): Likewise.
4253 2001-03-17 Bruno Haible <haible@clisp.cons.org>
4255 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
4257 2001-03-17 Bruno Haible <haible@clisp.cons.org>
4259 * intl/gettextP.h (struct expression): Add operators lnot, less_than,
4260 greater_than, less_or_equal, greater_or_equal. Replace args2/args3
4261 union by a 'nargs' counter and an 'args[]' array.
4262 * intl/plural.y: Don't include stdarg.h.
4263 (new_exp): Take an array of arguments instead of varargs.
4264 (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
4265 ('?' ':'): Make right-associative.
4266 (EQUOP2): New token, replaces '=' and '!'.
4267 (CMPOP2): New token.
4268 (ADDOP2): New token, replaces '+' and '-'.
4269 (MULOP2): New token, replaces '*', '/' and '%'.
4271 (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
4272 (start): Call YYABORT here.
4273 (FREE_EXPRESSION): Update.
4274 (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
4275 Update for new token symbols.
4276 * intl/loadmsgcat.c (plvar, plone, germanic_plural,
4277 init_germanic_plural): Update.
4278 * intl/dcigettext.c (_nl_find_msg): Optimize for space.
4279 (plural_eval): Recognize comparison and '!' operators. Optimize for
4282 2001-03-10 Bruno Haible <haible@clisp.cons.org>
4284 * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
4287 2001-01-05 Bruno Haible <haible@clisp.cons.org>
4289 * intl/loadmsgcat.c: Include headers needed for alloca().
4291 (_nl_load_domain): Add fallback code for platforms lacking alloca.
4292 * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
4294 (read_alias_file): Simplify fallback code for platforms lacking
4297 2001-01-07 Bruno Haible <haible@clisp.cons.org>
4299 * intl/gettextP.h (__gettextdebug): Remove declaration.
4300 (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
4302 (gettext_free_exp__, gettextparse__): New non-libc declarations.
4303 * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
4304 not __gettextparse, __gettext_free_exp.
4305 * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
4307 2001-02-24 Bruno Haible <haible@clisp.cons.org>
4309 * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
4311 2001-01-05 Bruno Haible <haible@clisp.cons.org>
4313 * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
4314 lacking strtoul, like SunOS4.
4316 2001-01-05 Bruno Haible <haible@clisp.cons.org>
4318 * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
4320 2001-01-05 Bruno Haible <haible@clisp.cons.org>
4322 * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
4324 * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
4325 * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
4326 * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
4329 2001-01-07 Bruno Haible <haible@clisp.cons.org>
4331 * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
4332 bindtextdomain__, bind_textdomain_codeset__): New declarations, from
4334 * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
4335 * intl/dcgettext.c: Likewise.
4336 * intl/dcigettext.c: Likewise.
4337 * intl/dcngettext.c: Likewise.
4338 * intl/dngettext.c: Likewise.
4339 * intl/finddomain.c: Likewise.
4340 * intl/ngettext.c: Likewise.
4341 * intl/textdomain.c: Likewise.
4342 * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
4344 * intl/gettext.c: Likewise. Don't include locale.h.
4346 2001-03-17 Bruno Haible <haible@clisp.cons.org>
4348 * intl/gettextP.h (ZERO): New macro.
4349 (struct binding): Always use ZERO.
4350 * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
4351 lack it, like SunOS4.
4352 (set_binding_values): Use offsetof, not sizeof.
4353 * intl/dcigettext.c (offsetof): Provide fallback for platforms that
4354 lack it, like SunOS4.
4355 (ZERO): Remove macro.
4356 (struct transmem_list): Use ZERO.
4357 (DCIGETTEXT): Use offsetof, not sizeof.
4359 2001-03-17 Bruno Haible <haible@clisp.cons.org>
4361 * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
4363 * intl/bindtextdom.c: Don't include gettext.h.
4364 * intl/dcgettext.c: Likewise.
4365 * intl/dcigettext.c: Likewise.
4366 * intl/dcngettext.c: Likewise.
4367 * intl/dngettext.c: Likewise.
4368 * intl/finddomain.c: Likewise.
4369 * intl/localealias.c: Likewise.
4370 * intl/ngettext.c: Likewise.
4371 * intl/plural.y: Likewise.
4372 * intl/textdomain.c: Likewise.
4374 2001-03-17 Bruno Haible <haible@clisp.cons.org>
4376 * intl/gettext.h: Don't include <stdio.h>.
4378 2001-03-17 Bruno Haible <haible@clisp.cons.org>
4380 * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
4381 * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
4383 2001-03-19 Ulrich Drepper <drepper@redhat.com>
4385 * sysdeps/unix/i386/i686/tempname.c: New file.
4387 * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
4388 defined use this macro to get some bits of randomness instead of
4389 the usual gettimeofday or time calls.
4391 2001-03-16 Paul Eggert <eggert@twinsun.com>
4393 * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
4394 not defined, and if UINT64_MAX is not defined.
4396 2001-03-19 Ulrich Drepper <drepper@redhat.com>
4398 * elf/cache.c: Mark and have translated a few more messages.
4400 2001-03-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
4402 * elf/cache.c: Add case for FLAG_S390_LIB64.
4403 * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
4404 * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
4405 * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
4407 2001-03-19 Ulrich Drepper <drepper@redhat.com>
4409 * string/Makefile (tests): Add tst-strxfrm.
4410 * string/tst-strxfrm.c: New file. Based on a test case by Paul Eggert.
4411 * string/Depend: New file.
4413 2001-03-19 Paul Eggert <eggert@twinsun.com>
4415 * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
4416 when given the empty string in nontrivial locales.
4418 2001-03-17 H.J. Lu <hjl@gnu.org>
4420 * manual/Makefile (install): Use $(INSTALL_DATA) instead of
4421 cp to install `dir'.
4423 2001-03-19 Andreas Schwab <schwab@suse.de>
4425 * Makerules (build-shlib): Make sure exit codes get checked
4428 2001-03-18 Ulrich Drepper <drepper@redhat.com>
4430 * Makerules (build-shlib): Remove unnecessary slashes introduced in
4433 * configure.in: Test for -Bgroup option of linker.
4434 * config.make.in: Define have-Bgroup.
4436 * conform/data/unistd.h-data: Require gethostname.
4437 * posix/unistd.h: Make gethostname prototype available for
4440 * crypt/Makefile: When generating DSO link with libc_nonshared.a.
4441 * debug/Makefile: Likewise.
4442 * dlfcn/Makefile: Likewise.
4443 * hesiod/Makefile: Likewise.
4444 * iconvdata/extra-module.mk: Likewise.
4445 * locale/Makefile: Likewise.
4446 * login/Makefile: Likewise.
4447 * math/Makefile: Likewise.
4448 * nis/Makefile: Likewise.
4449 * nss/Makefile: Likewise.
4450 * resolv/Makefile: Likewise.
4451 * rt/Makefile: Likewise.
4453 2001-03-17 Ulrich Drepper <drepper@redhat.com>
4455 * inet/Makefile (tests): Remove left-over comment.
4457 * posix/unistd.h (gethostname): Change type of second parameter
4458 back to size_t as per upcoming XPG6.
4459 * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
4460 parameter back to size_t as per upcoming XPG6.
4461 * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
4462 * sysdeps/unix/sysv/gethostname.c: Likewise.
4463 * sysdeps/mach/hurd/gethostname.c: Likewise.
4464 * sysdeps/generic/gethostname.c: Likewise.
4466 2001-03-16 Ulrich Drepper <drepper@redhat.com>
4468 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4471 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
4474 2001-02-06 Jakub Jelinek <jakub@redhat.com>
4476 * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
4477 looking for name matches.
4479 2001-02-26 Jakub Jelinek <jakub@redhat.com>
4481 * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
4482 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
4483 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
4484 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4485 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
4486 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
4487 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
4488 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
4489 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
4490 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
4491 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
4492 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
4494 2001-03-16 Ulrich Drepper <drepper@redhat.com>
4496 * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
4497 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4499 * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
4501 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4503 2001-03-16 David Mosberger <davidm@hpl.hp.com>
4505 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
4506 Drop hack that was needed for 2.1.1 kernel headers.
4508 * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
4510 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
4511 overlay with kernel's "struct sigcontext".
4513 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
4514 sys/rse.h for "misc" subdir.
4515 (sysdep_routines): Add __start_context for "stdlib" subdir.
4517 * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
4518 kernel file of the same name).
4520 * stdlib/Makefile (tests): Add tst-setcontext.
4521 * stdlib/tst-setcontext.c: New file (based on a sample program by
4524 * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
4525 * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
4526 * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
4527 * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
4528 * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
4530 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
4531 instead of shift & and.
4533 2001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
4535 * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
4536 * sysdeps/s390/bits/huge_val.h: ...here.
4537 * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
4538 * sysdeps/s390/s390-64/ffs.c: Move to...
4539 * sysdeps/s390/ffs.c: ...here.
4540 * sysdeps/s390/s390-32/ffs.c: Remove.
4542 2001-03-16 Jakub Jelinek <jakub@redhat.com>
4544 * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
4545 update osversion from more recent library.
4547 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4549 * sysdeps/unix/sysv/linux/s390/Dist: Move to...
4550 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
4551 * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
4552 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
4553 * sysdeps/unix/sysv/linux/s390/Versions: Move to...
4554 * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
4555 * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
4556 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
4557 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
4558 * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
4559 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
4560 * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
4561 * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
4562 * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
4563 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
4564 * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
4565 * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
4566 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
4567 * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
4568 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
4569 * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
4570 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
4571 * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
4572 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
4573 * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
4574 * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
4575 * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
4576 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
4577 * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
4578 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
4579 * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
4580 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
4581 * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
4582 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
4583 * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
4584 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
4585 * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
4586 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
4587 * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
4588 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
4589 * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
4590 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
4591 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
4592 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
4593 * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
4594 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
4595 * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
4596 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
4597 * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
4598 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
4599 * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
4600 * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
4601 * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
4602 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
4603 * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
4604 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
4605 * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
4606 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
4607 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
4608 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
4609 * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
4610 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
4611 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
4612 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
4613 * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
4614 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
4615 * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
4616 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
4617 * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
4618 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
4619 * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
4620 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
4621 * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
4622 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
4623 * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
4624 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
4625 * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
4626 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
4627 * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
4628 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
4629 * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
4630 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
4631 * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
4632 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
4633 * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
4634 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
4635 * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
4636 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
4637 * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
4638 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
4639 * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
4640 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
4641 * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
4642 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
4643 * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
4644 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
4645 * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
4646 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
4647 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
4648 * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
4649 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
4650 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
4651 * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
4652 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
4653 * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
4654 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
4655 * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
4656 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
4657 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
4658 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
4659 * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
4660 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
4661 * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
4662 * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
4664 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4666 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
4667 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
4668 * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
4669 * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
4670 * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
4671 * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
4672 * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
4673 * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
4674 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
4675 * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
4676 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
4677 * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
4678 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
4679 * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
4680 * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
4681 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
4682 * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
4683 * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
4684 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
4685 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
4686 * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
4687 * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
4688 * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
4689 * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
4690 * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
4691 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
4692 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
4693 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
4694 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
4695 * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
4696 * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
4697 * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
4698 * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
4699 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
4700 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
4701 * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
4702 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
4703 * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
4704 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
4705 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
4706 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
4707 * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
4708 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
4709 * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
4710 * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
4711 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
4712 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
4713 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
4714 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
4715 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
4716 * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
4717 * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
4718 * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
4720 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4722 * sysdeps/s390/Dist: Move to...
4723 * sysdeps/s390/390-32/Dist: ...here.
4724 * sysdeps/s390/Implies: Move to...
4725 * sysdeps/s390/s390-32/Implies: ...here.
4726 * sysdeps/s390/Makefile: Move to...
4727 * sysdeps/s390/s390-32/Makefile: ...here.
4728 * sysdeps/s390/Versions: Move to...
4729 * sysdeps/s390-32/s390/Versions: ...here.
4730 * sysdeps/s390/add_n.S: Move to...
4731 * sysdeps/s390/s390-32/add_n.S: ...here.
4732 * sysdeps/s390/addmul_1.S: Move to...
4733 * sysdeps/s390/s390-32/addmul_1.S: ...here.
4734 * sysdeps/s390/atomicity.h: Move to...
4735 * sysdeps/s390/s390-32/atomicity.h: ...here.
4736 * sysdeps/s390/backtrace.c: Move to...
4737 * sysdeps/s390/s390-32/backtrace.c: ...here.
4738 * sysdeps/s390/bcopy.S: Move to...
4739 * sysdeps/s390/s390-32/bcopy.S: ...here.
4740 * sysdeps/s390/bits/byteswap.h: Move to...
4741 * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
4742 * sysdeps/s390/bits/huge_val.h: Move to...
4743 * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
4744 * sysdeps/s390/bsd-_setjmp.S: Move to...
4745 * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
4746 * sysdeps/s390/bsd-setjmp.S: Move to...
4747 * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
4748 * sysdeps/s390/bzero.S: Move to...
4749 * sysdeps/s390/s390-32/bzero.S: ...here.
4750 * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
4751 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
4752 * sysdeps/s390/elf/bsd-setjmp.S: Move to...
4753 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
4754 * sysdeps/s390/elf/start.S: Move to...
4755 * sysdeps/s390/s390-32/elf/start.S: ...here.
4756 * sysdeps/s390/ffs.c: Move to...
4757 * sysdeps/s390/s390-32/ffs.c: ...here.
4758 * sysdeps/s390/memchr.S: Move to...
4759 * sysdeps/s390/s390-32/memchr.S: ...here.
4760 * sysdeps/s390/memcpy.S: Move to...
4761 * sysdeps/s390/s390-32/memcpy.S: ...here.
4762 * sysdeps/s390/memset.S: Move to...
4763 * sysdeps/s390/s390-32/memset.S: ...here.
4764 * sysdeps/s390/mul_1.S: Move to...
4765 * sysdeps/s390/s390-32/mul_1.S: ...here.
4766 * sysdeps/s390/s390-mcount.S: Move to...
4767 * sysdeps/s390/s390-32/s390-mcount.S: ...here.
4768 * sysdeps/s390/strcpy.S: Move to...
4769 * sysdeps/s390/s390-32/strcpy.S: ...here.
4770 * sysdeps/s390/strncpy.S: Move to...
4771 * sysdeps/s390/s390-32/strncpy.S: ...here.
4772 * sysdeps/s390/sub_n.S: Move to...
4773 * sysdeps/s390/s390-32/sub_n.S: ...here.
4775 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4777 * sysdeps/s390/s390-64/Dist: New file.
4778 * sysdeps/s390/s390-64/Implies: New file.
4779 * sysdeps/s390/s390-64/Makefile: New file.
4780 * sysdeps/s390/s390-64/__longjmp.c: New file.
4781 * sysdeps/s390/s390-64/add_n.S: New file.
4782 * sysdeps/s390/s390-64/atomicity.h: New file.
4783 * sysdeps/s390/s390-64/backtrace.c: New file.
4784 * sysdeps/s390/s390-64/bcopy.S: New file.
4785 * sysdeps/s390/s390-64/bits/byteswap.h: New file.
4786 * sysdeps/s390/s390-64/bits/huge_val.h: New file.
4787 * sysdeps/s390/s390-64/bits/setjmp.h: New file.
4788 * sysdeps/s390/s390-64/bits/string.h: New file.
4789 * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
4790 * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
4791 * sysdeps/s390/s390-64/bzero.S: New file.
4792 * sysdeps/s390/s390-64/dl-machine.h: New file.
4793 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
4794 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
4795 * sysdeps/s390/s390-64/elf/setjmp.S: New file.
4796 * sysdeps/s390/s390-64/elf/start.S: New file.
4797 * sysdeps/s390/s390-64/ffs.c: New file.
4798 * sysdeps/s390/s390-64/initfini.c: New file.
4799 * sysdeps/s390/s390-64/memchr.S: New file.
4800 * sysdeps/s390/s390-64/memcpy.S: New file.
4801 * sysdeps/s390/s390-64/memset.S: New file.
4802 * sysdeps/s390/s390-64/s390x-mcount.S: New file.
4803 * sysdeps/s390/s390-64/setjmp.S: New file.
4804 * sysdeps/s390/s390-64/strcpy.S: New file.
4805 * sysdeps/s390/s390-64/strncpy.S: New file.
4806 * sysdeps/s390/s390-64/sub_n.S: New file.
4807 * sysdeps/s390/s390-64/sysdep.h: New file.
4809 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4811 * scripts/config.guess: Add support for Linux on 64 bit S/390.
4812 * scripts/config.sub: Likewise.
4814 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4816 * configure.in: Add support for 64 bit S/390.
4818 * elf/elf.h: Add new relocations for 64 bit S/390.
4820 * shlib-versions: Add rules for Linux on 64 bit S/390.
4822 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4824 * sysdeps/s390/__longjmp.c: Move to...
4825 * sysdeps/s390/s390-32/__longjmp.c: ...here. Add code
4826 to load the floating point registers that should be saved
4827 according to the ABI.
4829 * sysdeps/s390/bits/setjmp.h: Move to...
4830 * sysdeps/s390/s390-32/bits/setjmp.h: ...here. Avoid
4831 the use of long long in the __jmp_buf type definition.
4833 * sysdeps/s390/bits/string.h: Move to...
4834 * sysdeps/s390/s390-32/bits/string.h: ...here. Add several missing
4835 #ifndef _FORCE_INLINES.
4837 * sysdeps/s390/dl-machine.h: Move to...
4838 * sysdeps/s390/s390-32/dl-machine.h: ...here. Add a check for the
4839 executables EI_CLASS in elf_machine_matches_host.
4841 * sysdeps/s390/elf/setjmp.S: Move to...
4842 * sysdeps/s390/s390-32/elf/setjmp.S: ...here. Replace
4843 branches to globally defined symbol __sigsetjmp by branches to
4844 a local label (this avoids the generation of a R_390_PC16DBL
4845 relocation in -fpic code).
4847 * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
4848 calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
4850 * sysdeps/s390/initfini.c: Move to...
4851 * sysdeps/s390/s390-32/initfini.c: ...here. Replace ALIGN with
4854 * sysdeps/s390/setjmp.S: Move to...
4855 * sysdeps/s390/s390-32/setjmp.S: ...here. Add code to store the
4856 floating point registers that should be saved according to the ABI.
4858 * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
4860 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
4861 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
4862 sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
4864 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4866 * configure.in: Change machine=s390 to machine=s390/s390-32.
4868 * elf/elf.h: Correct comment for R_390_PLT16DBL.
4870 2001-03-12 Jakub Jelinek <jakub@redhat.com>
4872 * csu/Makefile (abi-tag.h): Define OS and version separately, allow
4873 version to be overriden from config.h.
4874 * csu/abi-note.S: Use OS and version separately, include config.h.
4875 * elf/dl-load.c (_dl_osversion): New.
4876 (_dl_map_object_from_fd): Kill some warnings.
4877 (open_verify): Check .note.ABI-tag of the library if present.
4878 * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
4879 * elf/cache.c (struct cache_entry): Add osversion.
4880 (print_entry): Print osversion.
4881 (print_cache): Pass osversion to it.
4882 (compare): Sort according to osversion.
4883 (save_cache): Set osversion.
4884 (add_to_cache): Add osversion argument.
4885 * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
4886 process_elf_file): Add osversion argument.
4887 * elf/readlib.c (process_file): Likewise.
4888 * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
4889 * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
4890 process_elf32_file, process_elf64_file): Likewise.
4891 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
4892 process_elf32_file, process_elf64_file): Likewise.
4893 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
4894 process_elf32_file, process_elf64_file): Likewise.
4895 * elf/ldconfig.c (manual_link): Pass it.
4896 (search_dir): Issue diagnostic if two libs with the same soname in
4897 the same directory have different .note.ABI-tag. Record osversion in
4898 dlib_entry and use it from there.
4899 (struct lib_entry): Remove.
4900 (struct dlib_entry): Add osversion.
4901 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
4903 * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
4904 field with osversion.
4905 * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
4906 * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
4907 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
4908 version in _dl_osversion.
4909 * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
4910 * Makerules (build-shlib-helper, build-module-helper): New.
4911 (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
4913 * config.h.in (__ABI_TAG_VERSION): Add.
4914 * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
4915 * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
4916 Handle LD_ASSUME_KERNEL.
4917 * sysdeps/unix/sysv/linux/dl-librecon.h: New.
4919 2001-03-15 Ulrich Drepper <drepper@redhat.com>
4921 * timezone/antarctica: Update from tzdata2001a.
4922 * timezone/asia: Likewise.
4923 * timezone/australasia: Likewise.
4924 * timezone/backward: Likewise.
4925 * timezone/etcetera: Likewise.
4926 * timezone/europe: Likewise.
4927 * timezone/leapseconds: Likewise.
4928 * timezone/northamerica: Likewise.
4929 * timezone/southamerica: Likewise.
4930 * timezone/systemv: Likewise.
4931 * timezone/yearistype: Likewise.
4932 * timezone/zone.tab: Likewise.
4933 * timezone/tzdump.c: Update from tzcode2001a.
4935 2001-03-15 H.J. Lu <hjl@gnu.org>
4937 * intl/Makefile: Fix a typo.
4939 2001-03-14 David Mosberger <davidm@hpl.hp.com>
4941 * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
4942 writing arc structures.
4944 2001-03-15 H.J. Lu <hjl@gnu.org>
4946 * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
4949 2001-03-13 Andreas Schwab <schwab@suse.de>
4951 * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
4953 2001-03-15 Ulrich Drepper <drepper@redhat.com>
4955 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
4956 for control message fitting into message data.
4957 Patch by James Antill <james@and.org>.
4959 * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
4962 * posix/fnmatch_loop.c: Optimize handling of ?() and @().
4963 * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
4965 * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
4966 * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
4967 avoid running binaries with libc versions without FNM_EXTMATCH support.
4969 * include/wchar.h: Add prototype for __wcscat.
4970 * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
4972 * posix/fnmatch.h (FNM_EXTMATCH): Define.
4973 * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
4974 (posixly_correct): Move global variable here.
4975 (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
4976 (fnmatch): Pretty printing.
4977 * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
4978 * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
4979 * posix/tst-fnmatch.input: Add tests for extended matching.
4981 * posix/testfnm.c: Add test for patterns with multiple ** before /.
4982 * posix/fnmatch_loop.c: Fix problem with the test above.
4984 2001-03-14 Ulrich Drepper <drepper@redhat.com>
4986 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
4989 * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
4991 2001-03-12 Andreas Jaeger <aj@suse.de>
4993 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4994 Use EM_X86_64 instead of EM_X8664.
4996 2001-03-12 Ulrich Drepper <drepper@redhat.com>
4998 * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
5000 * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
5003 * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
5006 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
5010 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
5012 (__ieee754_acos): Likewise.
5014 2001-03-12 Andreas Jaeger <aj@suse.de>
5016 * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
5017 Fix typo. Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
5019 * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
5022 2001-03-11 Roland McGrath <roland@frob.com>
5024 * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
5026 2001-03-11 Ulrich Drepper <drepper@redhat.com>
5028 * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
5031 * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
5034 Last-bit accurate math library implementation by IBM Haifa.
5035 Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
5036 <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
5037 Anna Reitman <reitman@il.ibm.com>.
5038 * math/Makefile (dbl-only-routines): New variable.
5039 (libm-routines): Add $(dbl-only-routines).
5040 * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
5041 * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
5043 * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
5045 * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
5047 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
5049 * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
5051 * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
5052 remainder implementation.
5053 * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
5055 * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
5057 * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
5058 * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
5059 * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
5061 * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
5062 * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
5064 * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
5066 * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
5068 * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
5069 * sysdeps/ieee754/dbl-64/MathLib.h: New file.
5070 * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
5071 * sysdeps/ieee754/dbl-64/atnat.h: New file.
5072 * sysdeps/ieee754/dbl-64/atnat2.h: New file.
5073 * sysdeps/ieee754/dbl-64/branred.c: New file.
5074 * sysdeps/ieee754/dbl-64/branred.h: New file.
5075 * sysdeps/ieee754/dbl-64/dla.h: New file.
5076 * sysdeps/ieee754/dbl-64/doasin.c: New file.
5077 * sysdeps/ieee754/dbl-64/doasin.h: New file.
5078 * sysdeps/ieee754/dbl-64/dosincos.c: New file.
5079 * sysdeps/ieee754/dbl-64/dosincos.h: New file.
5080 * sysdeps/ieee754/dbl-64/endian.h: New file.
5081 * sysdeps/ieee754/dbl-64/halfulp.c: New file.
5082 * sysdeps/ieee754/dbl-64/mpa.c: New file.
5083 * sysdeps/ieee754/dbl-64/mpa.h: New file.
5084 * sysdeps/ieee754/dbl-64/mpa2.h: New file.
5085 * sysdeps/ieee754/dbl-64/mpatan.c: New file.
5086 * sysdeps/ieee754/dbl-64/mpatan.h: New file.
5087 * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
5088 * sysdeps/ieee754/dbl-64/mpexp.c: New file.
5089 * sysdeps/ieee754/dbl-64/mpexp.h: New file.
5090 * sysdeps/ieee754/dbl-64/mplog.c: New file.
5091 * sysdeps/ieee754/dbl-64/mplog.h: New file.
5092 * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
5093 * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
5094 * sysdeps/ieee754/dbl-64/mptan.c: New file.
5095 * sysdeps/ieee754/dbl-64/mydefs.h: New file.
5096 * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
5097 * sysdeps/ieee754/dbl-64/root.tbl: New file.
5098 * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
5099 * sysdeps/ieee754/dbl-64/sincos32.c: New file.
5100 * sysdeps/ieee754/dbl-64/sincos32.h: New file.
5101 * sysdeps/ieee754/dbl-64/slowexp.c: New file.
5102 * sysdeps/ieee754/dbl-64/slowpow.c: New file.
5103 * sysdeps/ieee754/dbl-64/uasncs.h: New file.
5104 * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
5105 * sysdeps/ieee754/dbl-64/uexp.h: New file.
5106 * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
5107 * sysdeps/ieee754/dbl-64/ulog.h: New file.
5108 * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
5109 * sysdeps/ieee754/dbl-64/upow.h: New file.
5110 * sysdeps/ieee754/dbl-64/upow.tbl: New file.
5111 * sysdeps/ieee754/dbl-64/urem.h: New file.
5112 * sysdeps/ieee754/dbl-64/uroot.h: New file.
5113 * sysdeps/ieee754/dbl-64/usncs.h: New file.
5114 * sysdeps/ieee754/dbl-64/utan.h: New file.
5115 * sysdeps/ieee754/dbl-64/utan.tbl: New file.
5116 * sysdeps/i386/fpu/branred.c: New file.
5117 * sysdeps/i386/fpu/doasin.c: New file.
5118 * sysdeps/i386/fpu/dosincos.c: New file.
5119 * sysdeps/i386/fpu/halfulp.c: New file.
5120 * sysdeps/i386/fpu/mpa.c: New file.
5121 * sysdeps/i386/fpu/mpatan.c: New file.
5122 * sysdeps/i386/fpu/mpatan2.c: New file.
5123 * sysdeps/i386/fpu/mpexp.c: New file.
5124 * sysdeps/i386/fpu/mplog.c: New file.
5125 * sysdeps/i386/fpu/mpsqrt.c: New file.
5126 * sysdeps/i386/fpu/mptan.c: New file.
5127 * sysdeps/i386/fpu/sincos32.c: New file.
5128 * sysdeps/i386/fpu/slowexp.c: New file.
5129 * sysdeps/i386/fpu/slowpow.c: New file.
5130 * sysdeps/ia64/fpu/branred.c: New file.
5131 * sysdeps/ia64/fpu/doasin.c: New file.
5132 * sysdeps/ia64/fpu/dosincos.c: New file.
5133 * sysdeps/ia64/fpu/halfulp.c: New file.
5134 * sysdeps/ia64/fpu/mpa.c: New file.
5135 * sysdeps/ia64/fpu/mpatan.c: New file.
5136 * sysdeps/ia64/fpu/mpatan2.c: New file.
5137 * sysdeps/ia64/fpu/mpexp.c: New file.
5138 * sysdeps/ia64/fpu/mplog.c: New file.
5139 * sysdeps/ia64/fpu/mpsqrt.c: New file.
5140 * sysdeps/ia64/fpu/mptan.c: New file.
5141 * sysdeps/ia64/fpu/sincos32.c: New file.
5142 * sysdeps/ia64/fpu/slowexp.c: New file.
5143 * sysdeps/ia64/fpu/slowpow.c: New file.
5144 * sysdeps/m68k/fpu/branred.c: New file.
5145 * sysdeps/m68k/fpu/doasin.c: New file.
5146 * sysdeps/m68k/fpu/dosincos.c: New file.
5147 * sysdeps/m68k/fpu/halfulp.c: New file.
5148 * sysdeps/m68k/fpu/mpa.c: New file.
5149 * sysdeps/m68k/fpu/mpatan.c: New file.
5150 * sysdeps/m68k/fpu/mpatan2.c: New file.
5151 * sysdeps/m68k/fpu/mpexp.c: New file.
5152 * sysdeps/m68k/fpu/mplog.c: New file.
5153 * sysdeps/m68k/fpu/mpsqrt.c: New file.
5154 * sysdeps/m68k/fpu/mptan.c: New file.
5155 * sysdeps/m68k/fpu/sincos32.c: New file.
5156 * sysdeps/m68k/fpu/slowexp.c: New file.
5157 * sysdeps/m68k/fpu/slowpow.c: New file.
5159 * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
5162 2001-03-11 Andreas Jaeger <aj@suse.de>
5164 * elf/elf.h (EM_*): Synch with official list.
5166 2001-03-07 David Mosberger <davidm@hpl.hp.com>
5168 * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
5170 2001-03-07 Jes Sorensen <jes@linuxcare.com>
5172 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
5173 variables addr & len.
5175 2001-02-22 Jes Sorensen <jes@linuxcare.com>
5177 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
5178 punctuation in asm constraint.
5180 2001-03-07 Mark Kettenis <kettenis@gnu.org>
5182 * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
5183 <time.h> to get definition of `struct timespec'.
5185 2001-03-08 Jakub Jelinek <jakub@redhat.com>
5187 * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
5188 LD_WARN=1, not if LD_WARN is unset.
5190 2001-03-07 Andreas Schwab <schwab@suse.de>
5192 * elf/ldconfig.h: Moved to ...
5193 * sysdeps/generic/ldconfig.h: ... here.
5194 * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
5195 * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
5196 * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
5197 * elf/readlib.c (interpreters, known_libs): Use
5198 SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
5199 instead of hard coding old names.
5201 2001-03-09 Ulrich Drepper <drepper@redhat.com>
5203 * catgets/Makefile (generated): Add test-gencat.h.
5204 (sample.SJIS.cat): Also generate header.
5205 * catgets/sample.SJIS: Add new set and message, both with symbolic
5207 * catgets/test-gencat.sh: Also compare generated header with what
5210 2001-03-07 Jakub Jelinek <jakub@redhat.com>
5212 * catgets/gencat.c (read_input_file): Preserve properly symbolic
5215 2001-03-06 Andreas Jaeger <aj@suse.de>
5217 * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
5219 (elf_machine_pltrel_p): Likewise.
5220 * sysdeps/powerpc/dl-machine.h: Likewise.
5221 * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
5223 2001-03-09 Ulrich Drepper <drepper@redhat.com>
5225 * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
5228 2001-03-05 Philip Blundell <philb@gnu.org>
5230 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
5231 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
5232 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
5233 (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
5236 2001-03-09 Ulrich Drepper <drepper@redhat.com>
5238 * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
5240 * dlfcn/tstcxaatexit.c (main): Likewise.
5242 2001-03-10 Andreas Jaeger <aj@suse.de>
5244 * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
5246 2001-03-09 Andreas Jaeger <aj@suse.de>
5248 * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
5249 both new and old EM_S390 values.
5250 (EM_S390_OLD): New constant.
5252 * elf/elf.h (EM_S390): Use official value.
5254 2001-03-09 Ulrich Drepper <drepper@redhat.com>
5256 * conform/data/sys/socket.h-data: Allow SO* symbols.
5258 2001-03-07 Andreas Schwab <schwab@suse.de>
5260 * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
5261 routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
5263 2001-03-07 Andreas Jaeger <aj@suse.de>
5265 * resolv/Makefile (routines): Only build gai_sigqueue when threads
5268 2001-03-07 Jakub Jelinek <jakub@redhat.com>
5270 * elf/ldconfig.c (_dl_sysdep_message): Remove.
5271 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
5273 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
5275 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
5276 _dl_error_printf instead of _dl_sysdep_error.
5277 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5278 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
5279 Use _dl_printf instead of _dl_sysdep_message.
5280 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
5283 2001-03-06 Ben Collins <bcollins@debian.org>
5285 * manual/arith.texi (Integers): Fix documentation of fast and
5286 least integer typedefs.
5288 2001-03-06 Jakub Jelinek <jakub@redhat.com>
5290 * resolv/Depend: New file.
5291 * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
5292 when libpthread is built.
5294 2001-03-06 Andreas Jaeger <aj@suse.de>
5296 * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
5298 * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
5299 Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
5301 2001-03-05 Ulrich Drepper <drepper@redhat.com>
5303 * stdlib/Versions: Remove __new_exitfn again. Not needed.
5305 2001-03-05 Andreas Jaeger <aj@suse.de>
5307 * stdlib/msort.c (qsort): Don't use alloca in a function call.
5309 2001-03-05 Ulrich Drepper <drepper@redhat.com>
5311 * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
5312 __S_TYPEISSHM): Rewrite to enforce correct use the macros. They still
5314 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5315 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
5316 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
5317 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
5318 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5319 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
5320 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
5322 2001-03-04 Andreas Jaeger <aj@suse.de>
5324 * stdlib/longlong.h: Don't use multi-line strings.
5325 * iconvdata/tst-loading.c: Likewise.
5327 * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
5330 2001-03-04 Ulrich Drepper <drepper@redhat.com>
5332 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
5334 * rt/lio_listio.c: Add a few asserts.
5336 * elf/global.c: New file.
5337 * elf/globalmod1.c: New file.
5338 * elf/Makefile: Add rules to build and run global.
5340 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
5341 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5342 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5343 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5344 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5346 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
5347 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5349 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
5351 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
5352 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5354 * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
5356 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
5358 2001-03-04 Andreas Jaeger <aj@suse.de>
5360 * resolv/tst-aton.c: Add testcase for IP with four periods.
5362 * resolv/inet_addr.c: Don't recognize an IP with four periods.
5363 Patch by Andre' Breiler <A.Breiler@gmx.net>.
5365 2001-02-27 Philip Blundell <pb@futuretv.com>
5367 * elf/elf.h: Add new ARM definitions from latest (B-01)
5368 specification. Correct naming of EF_ARM_ALIGN8 et al.
5370 2001-03-04 Ulrich Drepper <drepper@redhat.com>
5372 * stdio-common/tst-printf.sh: Remove bashisms.
5373 Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
5375 2001-03-03 Ulrich Drepper <drepper@redhat.com>
5377 * Versions.def: Add libanl definition.
5378 * shlib-versions: Add entry for libanl.
5379 * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
5380 (routines): Add gai_sigqueue.
5381 (extra-libs): Add libanl.
5382 (libanl-routines): New variable.
5383 Add rules to build libanl and ga_test.
5384 * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
5385 [libanl]: New library.
5386 * resolv/netdb.h: Add definitions for libanl.
5387 * resolv/getaddrinfo_a.c: New file.
5388 * resolv/gai_cancel.c: New file.
5389 * resolv/gai_error.c: New file.
5390 * resolv/gai_misc.c: New file.
5391 * resolv/gai_misc.h: New file.
5392 * resolv/gai_notify.c: New file.
5393 * resolv/gai_suspend.c: New file.
5394 * resolv/ga_test.c: New file.
5395 * sysdeps/generic/gai_sigqueue.c: New file.
5396 * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
5397 * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
5398 and provide only that definition.
5399 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
5400 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
5401 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5402 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5403 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5404 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5406 * rt/aio_misc.c: Fix typos in comments.
5407 * rt/lio_listio.c: Pretty printing. Little optimization in request
5410 * elf/rtld.c: Remove commented out code.
5412 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
5413 Update for real 2.4 kernels.
5415 2001-03-01 Ulrich Drepper <drepper@redhat.com>
5417 * elf/dl-load.c: Pretty printing.
5419 * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
5422 2001-02-28 Ulrich Drepper <drepper@redhat.com>
5424 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
5425 relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
5427 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
5429 * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
5432 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
5434 2001-02-27 Ulrich Drepper <drepper@redhat.com>
5436 * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
5439 * elf/Versions [ld]: Don't export _dl_debug_message anymore. Export
5441 * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
5442 _dl_debug_message. Define _dl_debug_vdprintf, _dl_debug_printf,
5443 _dl_debug_printf_c, and _dl_printf.
5444 * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
5445 _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
5446 _dl_sysdep_fatal. Declare _dl_debug_printf, _dl_debug_printf_c,
5447 _dl_printf, _dl_error_printf, and _dl_fatal_printf.
5448 * elf/dl-close.c: Replace use of old output functions with the new
5450 * elf/dl-deps.c: Likewise.
5451 * elf/dl-error.c: Likewise.
5452 * elf/dl-fini.c: Likewise.
5453 * elf/dl-init.c: Likewise.
5454 * elf/dl-load.c: Likewise.
5455 * elf/dl-lookup.c: Likewise.
5456 * elf/dl-minimal.c: Likewise.
5457 * elf/dl-open.c: Likewise.
5458 * elf/dl-profile.c: Likewise.
5459 * elf/dl-reloc.c: Likewise.
5460 * elf/dl-version.c: Likewise.
5461 * elf/do-lookup.h: Likewise.
5462 * elf/rtld.c: Likewise.
5463 * sysdeps/generic/dl-cache.c: Likewise.
5464 * sysdeps/generic/dl-sysdep.c: Likewise.
5465 * sysdeps/generic/libc-start.c: Likewise.
5466 * sysdeps/i386/dl-machine.h: Likewise.
5467 * sysdeps/arm/dl-machine.h: Likewise.
5468 * sysdeps/hppa/dl-machine.h: Likewise.
5469 * sysdeps/m68k/dl-machine.h: Likewise.
5470 * sysdeps/powerpc/dl-machine.h: Likewise.
5471 * sysdeps/s390/dl-machine.h: Likewise.
5472 * sysdeps/sh/dl-machine.h: Likewise.
5473 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5474 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
5475 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5477 * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
5479 * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
5480 supported by assembler.
5482 * sysdeps/generic/ldsodefs.h: Remove commented-out variable
5485 * elf/rtld.c: Little optimizations in handling _dl_lazy.
5487 * elf/cache.c (save_cache): Portability changes.
5488 * elf/dl-profile.c (_dl_start_profile): Likewise.
5490 * elf/sln.c: Cleanups. Remove arbitrary limits.
5492 * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
5493 * elf/dl-deps.c: Likewise.
5494 * elf/dl-fini.c: Likewise.
5495 * elf/dl-init.c: Likewise.
5496 * elf/dl-load.c: Likewise.
5497 * elf/dl-lookup.c: Likewise.
5498 * elf/dl-open.c: Likewise.
5499 * elf/dl-reloc.c: Likewise.
5500 * elf/dl-support.c: Likewise.
5501 * elf/dl-version.c: Likewise.
5502 * elf/do-lookup.h: Likewise.
5503 * elf/rtld.c: Likewise.
5504 * sysdeps/generic/dl-cache.c: Likewise.
5505 * sysdeps/generic/ldsodefs.h: Likewise.
5506 * sysdeps/generic/libc-start.c: Likewise.
5507 * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
5508 Export _dl_debug_mask.
5509 * Versions.def: Define GLIBC_2.2.3 for ld.
5511 2001-02-26 Greg McGary <greg@mcgary.org>
5513 * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
5515 2001-02-26 Paul Eggert <eggert@twinsun.com>
5517 Modify mkstemp.c and tempname.c so that they can be used by
5518 GNU applications on non-glibc platforms.
5520 * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
5522 * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
5523 Include <stddef.h>, <stdint.h>, <string.h> only if
5524 STDC_HEADERS || _LIBC.
5525 Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
5526 Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
5527 Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
5528 (__set_errno): Define this macro if <errno.h> doesn't.
5529 (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
5530 Define these macros if <stdio.h> doesn't.
5531 (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
5532 Define these macros if <sys/stat.h> doesn't.
5533 Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
5534 (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
5535 lxstat64, __xstat64): Define if not _LIBC.
5536 (struct_stat64): New macro.
5537 (direxists, __gen_tempname): Use it, to avoid a
5538 portability problem with Solaris 8.
5539 (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
5540 (__gen_tempname): Invoke gettimeofday only if
5541 HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
5542 Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
5543 octal values like 0600.
5545 2001-02-26 Ulrich Drepper <drepper@redhat.com>
5547 * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
5548 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5550 * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
5551 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5553 * posix/wordexp-test.c (testit): Remove warnings.
5555 * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
5556 (tests): Add tstatexit and tstcxaatexit.
5557 (module-names): Add modatexit and modcxaatexit.
5558 Add rules to build and run tstatexit and tstcxaatexit.
5559 * dlfcn/modatexit.c: New file.
5560 * dlfcn/modcxaatexit.c: New file.
5561 * dlfcn/tstatexit.c: New file.
5562 * dlfcn/tstcxaatexit.c: New file.
5564 * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
5565 .hidden is available.
5566 * io/stat.c: If .hidden is available use it to avoid exporting
5568 * io/fstat.c: Likewise.
5569 * io/lstat.c: Likewise.
5570 * io/stat64.c: Likewise.
5571 * io/fstat64.c: Likewise.
5572 * io/lstat64.c: Likewise.
5573 * sysdeps/generic/mknod.c: Likewise.
5575 * malloc/mtrace.c: Use __cxa_atexit and not atexit.
5576 * sysdeps/generic/bb_init_func.c: Likewise.
5577 * sysdeps/generic/libc-start.c: Likewise.
5579 * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
5580 (atexit): Implement using __cxa_atexit.
5581 Use .hidden if availble to avoid exporting atexit.
5582 * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
5583 * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
5584 * stdlib/Makefile (routines): Add old_atexit.
5585 (static-only-routines): Add atexit.
5586 Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
5587 * stdlib/old_atexit.c: New file.
5589 * intl/Makefile: Remove bogus endif.
5591 2001-02-26 Andreas Jaeger <aj@suse.de>
5593 * iconvdata/Makefile (tests): Fix typo in last patch.
5595 * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
5597 Reported by Achim Gottinger <achim@gentoo.org>.
5599 2001-02-25 Andreas Jaeger <aj@suse.de>
5601 * intl/Makefile (plural.c): Reorder rules so that they work if
5602 BISON doesn't exist.
5604 2001-02-25 Ulrich Drepper <drepper@redhat.com>
5606 * intl/locale.alias: Don't use nb_NO but define aliases for it.
5608 2001-02-23 Ulrich Drepper <drepper@redhat.com>
5610 * sysdeps/i386/strtok.S: Continue to return NULL after the first
5613 2001-02-23 Andreas Jaeger <aj@suse.de>
5615 * string/tester.c (test_strtok_r): Add testcase.
5616 (test_strtok_r): Always initialize cp for proper checking.
5618 * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
5619 returning NULL correctly.
5620 Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
5621 * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
5623 2001-02-23 Ulrich Drepper <drepper@redhat.com>
5625 * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
5626 including <stddef.h>.
5627 * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
5628 * include/libc-symbols.h (weak_alias): Don't use .weak if
5629 HAVE_ASM_GLOBAL_DOT_NAME is defined.
5630 Patches by Michael Keezer <mkeezer@redhat.com>.
5632 * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
5633 Patch by Michael Keezer <mkeezer@redhat.com>.
5635 * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
5636 * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
5637 (sysdep_routines): Remove restf.S and savef.S.
5638 * sysdeps/unix/sysv/aix/restf.S: Removed.
5639 * sysdeps/unix/sysv/aix/savef.S: Removed.
5640 * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label. Also define
5641 alternative names used on some platforms.
5642 * sysdeps/powerpc/fprsave.S: Likewise.
5643 * sysdeps/powerpc/gprrest0.S: Likewise.
5644 * sysdeps/powerpc/gprrest1.S: Likewise.
5645 * sysdeps/powerpc/gprsave0.S: Likewise.
5646 * sysdeps/powerpc/gprsave1.S: Likewise.
5647 Patch by Michael Keezer <mkeezer@redhat.com>.
5649 2001-02-22 Ulrich Drepper <drepper@redhat.com>
5651 * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
5653 2001-02-22 Andreas Jaeger <aj@suse.de>
5655 * string/tst-strtok.c (main): Fix error messages.
5657 2001-02-22 Andreas Jaeger <aj@suse.de>
5659 * math/Makefile: Remove omit-long-double-fcts.
5661 2001-02-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5663 * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
5664 avoid problems on MIPS I.
5665 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
5667 * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
5670 2001-02-21 Ulrich Drepper <drepper@redhat.com>
5672 * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
5674 * sysdeps/generic/ftime.c: Include <time.h>.
5676 * configure.in: Don't check for libgd if user passed --without-gd.
5677 Patch by Achim Gottinger <achim@gentoo.org>.
5679 * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
5680 first time this happened.
5681 * string/Makefile (tests): Add tst-strtok.
5683 2001-02-21 Andreas Jaeger <aj@suse.de>
5685 * string/tst-strtok.c: New testcase, reported by
5686 Andrew Church <achurch@achurch.org>.
5688 2001-02-20 Ulrich Drepper <drepper@redhat.com>
5690 * libio/iofwide.c: Remove fwide alias.
5692 2001-02-20 Andreas Jaeger <aj@suse.de>
5694 * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
5696 Reported by Achim Gottinger <achim@gentoo.org>.
5698 2001-02-19 Ulrich Drepper <drepper@redhat.com>
5700 * iconv/tst-iconv1.c (main): Remove debugging code.
5702 * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
5703 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5705 * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
5707 * sysdeps/generic/e_scalbf.c: Likewise.
5708 * sysdeps/generic/e_scalbl.c: Likewise.
5710 * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
5711 libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
5713 (routines): Replace libm_error with libc_libm_error.
5714 * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
5715 * sysdeps/ia64/fpu/libc_libm_error.c: New file.
5717 2001-02-18 Mark Kettenis <kettenis@gnu.org>
5719 * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
5720 (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
5722 2001-02-17 H.J. Lu <hjl@gnu.org>
5724 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
5725 scratch registers across the system call.
5727 2001-02-19 Andreas Jaeger <aj@suse.de>
5729 * malloc/Makefile (tests): Run mtrace only when perl is available.
5730 Reported by Achim Gottinger <achim@gentoo.org>.
5732 2001-02-19 Ulrich Drepper <drepper@redhat.com>
5734 * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
5735 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5737 * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
5738 * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
5739 * math/libm-test.inc (j1_test): Mark constants as long double.
5740 (jn_test): Likewise.
5741 (y1_test): Likewise.
5742 (yn_test): Likewise.
5744 * libio/iogetline.c: Move return until after last statement.
5746 * localedata/show-ucs-data.c: Don't show < > for better readability.
5748 * sysdeps/ia64/fpu/Dist: New file.
5749 * sysdeps/ia64/fpu/Makefile: New file.
5750 * sysdeps/ia64/fpu/Versions: New file.
5751 * sysdeps/ia64/fpu/e_acos.S: New file.
5752 * sysdeps/ia64/fpu/e_acosf.S: New file.
5753 * sysdeps/ia64/fpu/e_acosl.S: New file.
5754 * sysdeps/ia64/fpu/e_asin.S: New file.
5755 * sysdeps/ia64/fpu/e_asinf.S: New file.
5756 * sysdeps/ia64/fpu/e_asinl.S: New file.
5757 * sysdeps/ia64/fpu/e_atan2.S: New file.
5758 * sysdeps/ia64/fpu/e_atan2f.S: New file.
5759 * sysdeps/ia64/fpu/e_atan2l.c: New file.
5760 * sysdeps/ia64/fpu/e_cosh.S: New file.
5761 * sysdeps/ia64/fpu/e_coshf.S: New file.
5762 * sysdeps/ia64/fpu/e_coshl.S: New file.
5763 * sysdeps/ia64/fpu/e_exp.S: New file.
5764 * sysdeps/ia64/fpu/e_expf.S: New file.
5765 * sysdeps/ia64/fpu/e_expl.c: New file.
5766 * sysdeps/ia64/fpu/e_fmod.S: New file.
5767 * sysdeps/ia64/fpu/e_fmodf.S: New file.
5768 * sysdeps/ia64/fpu/e_fmodl.S: New file.
5769 * sysdeps/ia64/fpu/e_hypot.S: New file.
5770 * sysdeps/ia64/fpu/e_hypotf.S: New file.
5771 * sysdeps/ia64/fpu/e_hypotl.S: New file.
5772 * sysdeps/ia64/fpu/e_log.S: New file.
5773 * sysdeps/ia64/fpu/e_log10.c: New file.
5774 * sysdeps/ia64/fpu/e_log10f.c: New file.
5775 * sysdeps/ia64/fpu/e_log10l.c: New file.
5776 * sysdeps/ia64/fpu/e_logf.S: New file.
5777 * sysdeps/ia64/fpu/e_logl.c: New file.
5778 * sysdeps/ia64/fpu/e_pow.S: New file.
5779 * sysdeps/ia64/fpu/e_powf.S: New file.
5780 * sysdeps/ia64/fpu/e_powl.S: New file.
5781 * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
5782 * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
5783 * sysdeps/ia64/fpu/e_remainder.S: New file.
5784 * sysdeps/ia64/fpu/e_remainderf.S: New file.
5785 * sysdeps/ia64/fpu/e_remainderl.S: New file.
5786 * sysdeps/ia64/fpu/e_scalb.S: New file.
5787 * sysdeps/ia64/fpu/e_scalbf.S: New file.
5788 * sysdeps/ia64/fpu/e_scalbl.S: New file.
5789 * sysdeps/ia64/fpu/e_sinh.S: New file.
5790 * sysdeps/ia64/fpu/e_sinhf.S: New file.
5791 * sysdeps/ia64/fpu/e_sinhl.S: New file.
5792 * sysdeps/ia64/fpu/e_sqrt.S: New file.
5793 * sysdeps/ia64/fpu/e_sqrtf.S: New file.
5794 * sysdeps/ia64/fpu/e_sqrtl.S: New file.
5795 * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
5796 * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
5797 * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
5798 * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
5799 * sysdeps/ia64/fpu/libm_error.c: New file.
5800 * sysdeps/ia64/fpu/libm_frexp4.S: New file.
5801 * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
5802 * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
5803 * sysdeps/ia64/fpu/libm_reduce.S: New file.
5804 * sysdeps/ia64/fpu/libm_support.h: New file.
5805 * sysdeps/ia64/fpu/libm_tan.S: New file.
5806 * sysdeps/ia64/fpu/s_atan.S: New file.
5807 * sysdeps/ia64/fpu/s_atanf.S: New file.
5808 * sysdeps/ia64/fpu/s_atanl.S: New file.
5809 * sysdeps/ia64/fpu/s_cbrt.S: New file.
5810 * sysdeps/ia64/fpu/s_cbrtf.S: New file.
5811 * sysdeps/ia64/fpu/s_cbrtl.S: New file.
5812 * sysdeps/ia64/fpu/s_ceil.S: New file.
5813 * sysdeps/ia64/fpu/s_ceilf.S: New file.
5814 * sysdeps/ia64/fpu/s_ceill.S: New file.
5815 * sysdeps/ia64/fpu/s_cos.S: New file.
5816 * sysdeps/ia64/fpu/s_cosf.S: New file.
5817 * sysdeps/ia64/fpu/s_cosl.S: New file.
5818 * sysdeps/ia64/fpu/s_expm1.S: New file.
5819 * sysdeps/ia64/fpu/s_expm1f.S: New file.
5820 * sysdeps/ia64/fpu/s_expm1l.S: New file.
5821 * sysdeps/ia64/fpu/s_floor.S: New file.
5822 * sysdeps/ia64/fpu/s_floorf.S: New file.
5823 * sysdeps/ia64/fpu/s_floorl.S: New file.
5824 * sysdeps/ia64/fpu/s_frexp.c: New file.
5825 * sysdeps/ia64/fpu/s_frexpf.c: New file.
5826 * sysdeps/ia64/fpu/s_frexpl.c: New file.
5827 * sysdeps/ia64/fpu/s_ilogb.S: New file.
5828 * sysdeps/ia64/fpu/s_ilogbf.S: New file.
5829 * sysdeps/ia64/fpu/s_ilogbl.S: New file.
5830 * sysdeps/ia64/fpu/s_ldexp.S: New file.
5831 * sysdeps/ia64/fpu/s_ldexpf.S: New file.
5832 * sysdeps/ia64/fpu/s_ldexpl.S: New file.
5833 * sysdeps/ia64/fpu/s_log1p.S: New file.
5834 * sysdeps/ia64/fpu/s_log1pf.S: New file.
5835 * sysdeps/ia64/fpu/s_log1pl.S: New file.
5836 * sysdeps/ia64/fpu/s_logb.S: New file.
5837 * sysdeps/ia64/fpu/s_logbf.S: New file.
5838 * sysdeps/ia64/fpu/s_logbl.S: New file.
5839 * sysdeps/ia64/fpu/s_matherrf.c: New file.
5840 * sysdeps/ia64/fpu/s_matherrl.c: New file.
5841 * sysdeps/ia64/fpu/s_modf.S: New file.
5842 * sysdeps/ia64/fpu/s_modff.S: New file.
5843 * sysdeps/ia64/fpu/s_modfl.S: New file.
5844 * sysdeps/ia64/fpu/s_nearbyint.S: New file.
5845 * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
5846 * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
5847 * sysdeps/ia64/fpu/s_rint.S: New file.
5848 * sysdeps/ia64/fpu/s_rintf.S: New file.
5849 * sysdeps/ia64/fpu/s_rintl.S: New file.
5850 * sysdeps/ia64/fpu/s_round.S: New file.
5851 * sysdeps/ia64/fpu/s_roundf.S: New file.
5852 * sysdeps/ia64/fpu/s_roundl.S: New file.
5853 * sysdeps/ia64/fpu/s_scalbn.S: New file.
5854 * sysdeps/ia64/fpu/s_scalbnf.S: New file.
5855 * sysdeps/ia64/fpu/s_scalbnl.S: New file.
5856 * sysdeps/ia64/fpu/s_significand.S: New file.
5857 * sysdeps/ia64/fpu/s_significandf.S: New file.
5858 * sysdeps/ia64/fpu/s_significandl.S: New file.
5859 * sysdeps/ia64/fpu/s_sin.c: New file.
5860 * sysdeps/ia64/fpu/s_sincos.c: New file.
5861 * sysdeps/ia64/fpu/s_sincosf.c: New file.
5862 * sysdeps/ia64/fpu/s_sincosl.c: New file.
5863 * sysdeps/ia64/fpu/s_sinf.c: New file.
5864 * sysdeps/ia64/fpu/s_sinl.c: New file.
5865 * sysdeps/ia64/fpu/s_tan.S: New file.
5866 * sysdeps/ia64/fpu/s_tanf.S: New file.
5867 * sysdeps/ia64/fpu/s_tanl.S: New file.
5868 * sysdeps/ia64/fpu/s_trunc.S: New file.
5869 * sysdeps/ia64/fpu/s_truncf.S: New file.
5870 * sysdeps/ia64/fpu/s_truncl.S: New file.
5871 * sysdeps/ia64/fpu/w_acos.c: New file.
5872 * sysdeps/ia64/fpu/w_acosf.c: New file.
5873 * sysdeps/ia64/fpu/w_acosl.c: New file.
5874 * sysdeps/ia64/fpu/w_asin.c: New file.
5875 * sysdeps/ia64/fpu/w_asinf.c: New file.
5876 * sysdeps/ia64/fpu/w_asinl.c: New file.
5877 * sysdeps/ia64/fpu/w_atan2.c: New file.
5878 * sysdeps/ia64/fpu/w_atan2f.c: New file.
5879 * sysdeps/ia64/fpu/w_atan2l.c: New file.
5880 * sysdeps/ia64/fpu/w_cosh.c: New file.
5881 * sysdeps/ia64/fpu/w_coshf.c: New file.
5882 * sysdeps/ia64/fpu/w_coshl.c: New file.
5883 * sysdeps/ia64/fpu/w_exp.c: New file.
5884 * sysdeps/ia64/fpu/w_expf.c: New file.
5885 * sysdeps/ia64/fpu/w_fmod.c: New file.
5886 * sysdeps/ia64/fpu/w_fmodf.c: New file.
5887 * sysdeps/ia64/fpu/w_fmodl.c: New file.
5888 * sysdeps/ia64/fpu/w_hypot.c: New file.
5889 * sysdeps/ia64/fpu/w_hypotf.c: New file.
5890 * sysdeps/ia64/fpu/w_hypotl.c: New file.
5891 * sysdeps/ia64/fpu/w_log.c: New file.
5892 * sysdeps/ia64/fpu/w_log10.c: New file.
5893 * sysdeps/ia64/fpu/w_log10f.c: New file.
5894 * sysdeps/ia64/fpu/w_log10l.c: New file.
5895 * sysdeps/ia64/fpu/w_logf.c: New file.
5896 * sysdeps/ia64/fpu/w_logl.c: New file.
5897 * sysdeps/ia64/fpu/w_pow.c: New file.
5898 * sysdeps/ia64/fpu/w_powf.c: New file.
5899 * sysdeps/ia64/fpu/w_powl.c: New file.
5900 * sysdeps/ia64/fpu/w_remainder.c: New file.
5901 * sysdeps/ia64/fpu/w_remainderf.c: New file.
5902 * sysdeps/ia64/fpu/w_remainderl.c: New file.
5903 * sysdeps/ia64/fpu/w_scalb.c: New file.
5904 * sysdeps/ia64/fpu/w_scalbf.c: New file.
5905 * sysdeps/ia64/fpu/w_scalbl.c: New file.
5906 * sysdeps/ia64/fpu/w_sqrt.c: New file.
5907 * sysdeps/ia64/fpu/w_sqrtf.c: New file.
5908 * sysdeps/ia64/fpu/w_sqrtl.c: New file.
5909 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
5911 * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
5912 Change FP_ILOGBNAN for new implementation.
5913 * Verions.def: Add 2.2.3 versions.
5915 2001-02-18 Ulrich Drepper <drepper@redhat.com>
5917 * math/libm-test.inc (scalb_test): Require invalid exception being
5918 raised for invalid parameters.
5919 * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
5920 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5921 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5923 2001-02-18 Mark Kettenis <kettenis@gnu.org>
5925 * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
5927 (__get_avphys_pages): Likewise.
5929 2001-02-18 Ulrich Drepper <drepper@redhat.com>
5931 * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
5932 * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
5933 * sysdeps/i386/fpu/e_powf.S: Likewise.
5934 * sysdeps/i386/fpu/e_powl.S: Likewise.
5936 * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
5938 2001-02-17 Ulrich Drepper <drepper@redhat.com>
5940 * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
5942 * sysdeps/generic/s_exp2l.c: Renamed to...
5943 * sysdeps/generic/e_exp2l.c: ...this. New file.
5944 * sysdeps/i386/fpu/s_exp2.S: Renamed to...
5945 * sysdeps/i386/fpu/e_exp2.S: ...this. New file.
5946 * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
5947 * sysdeps/i386/fpu/e_exp2f.S: ...this. New file.
5948 * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
5949 * sysdeps/i386/fpu/e_exp2l.S: ...this. New file.
5950 * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
5951 * sysdeps/ieee754/flt-32/e_exp2f.c: ...this. New file.
5952 * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
5953 * sysdeps/ieee754/dbl-64/e_exp2.c: ...this. New file.
5954 * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
5955 * sysdeps/m68k/fpu/e_exp2.c: ...this. New file.
5956 * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
5957 * sysdeps/m68k/fpu/e_exp2f.c: ...this. New file.
5958 * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
5959 * sysdeps/m68k/fpu/e_exp2l.c: ...this. New file.
5961 2001-02-17 Andreas Jaeger <aj@suse.de>
5963 * configure.in: Allow gcc 3.
5965 2001-02-16 Ulrich Drepper <drepper@redhat.com>
5967 * math/w_acos.c: Move to ...
5968 * sysdeps/generic/w_acos.c: ...here. New file.
5969 * math/w_acosf.c: Move to ...
5970 * sysdeps/generic/w_acosf.c: ...here. New file.
5971 * math/w_acosh.c: Move to ...
5972 * sysdeps/generic/w_acosh.c: ...here. New file.
5973 * math/w_acoshf.c: Move to ...
5974 * sysdeps/generic/w_acoshf.c: ...here. New file.
5975 * math/w_acoshl.c: Move to ...
5976 * sysdeps/generic/w_acoshl.c: ...here. New file.
5977 * math/w_acosl.c: Move to ...
5978 * sysdeps/generic/w_acosl.c: ...here. New file.
5979 * math/w_asin.c: Move to ...
5980 * sysdeps/generic/w_asin.c: ...here. New file.
5981 * math/w_asinf.c: Move to ...
5982 * sysdeps/generic/w_asinf.c: ...here. New file.
5983 * math/w_asinl.c: Move to ...
5984 * sysdeps/generic/w_asinl.c: ...here. New file.
5985 * math/w_atan2.c: Move to ...
5986 * sysdeps/generic/w_atan2.c: ...here. New file.
5987 * math/w_atan2f.c: Move to ...
5988 * sysdeps/generic/w_atan2f.c: ...here. New file.
5989 * math/w_atan2l.c: Move to ...
5990 * sysdeps/generic/w_atan2l.c: ...here. New file.
5991 * math/w_atanh.c: Move to ...
5992 * sysdeps/generic/w_atanh.c: ...here. New file.
5993 * math/w_atanhf.c: Move to ...
5994 * sysdeps/generic/w_atanhf.c: ...here. New file.
5995 * math/w_atanhl.c: Move to ...
5996 * sysdeps/generic/w_atanhl.c: ...here. New file.
5997 * math/w_cosh.c: Move to ...
5998 * sysdeps/generic/w_cosh.c: ...here. New file.
5999 * math/w_coshf.c: Move to ...
6000 * sysdeps/generic/w_coshf.c: ...here. New file.
6001 * math/w_coshl.c: Move to ...
6002 * sysdeps/generic/w_coshl.c: ...here. New file.
6003 * math/w_drem.c: Move to ...
6004 * sysdeps/generic/w_drem.c: ...here. New file.
6005 * math/w_dremf.c: Move to ...
6006 * sysdeps/generic/w_dremf.c: ...here. New file.
6007 * math/w_dreml.c: Move to ...
6008 * sysdeps/generic/w_dreml.c: ...here. New file.
6009 * math/w_exp10.c: Move to ...
6010 * sysdeps/generic/w_exp10.c: ...here. New file.
6011 * math/w_exp10f.c: Move to ...
6012 * sysdeps/generic/w_exp10f.c: ...here. New file.
6013 * math/w_exp10l.c: Move to ...
6014 * sysdeps/generic/w_exp10l.c: ...here. New file.
6015 * math/w_exp2.c: Move to ...
6016 * sysdeps/generic/w_exp2.c: ...here. New file.
6017 * math/w_exp2f.c: Move to ...
6018 * sysdeps/generic/w_exp2f.c: ...here. New file.
6019 * math/w_exp2l.c: Move to ...
6020 * sysdeps/generic/w_exp2l.c: ...here. New file.
6021 * math/w_fmod.c: Move to ...
6022 * sysdeps/generic/w_fmod.c: ...here. New file.
6023 * math/w_fmodf.c: Move to ...
6024 * sysdeps/generic/w_fmodf.c: ...here. New file.
6025 * math/w_fmodl.c: Move to ...
6026 * sysdeps/generic/w_fmodl.c: ...here. New file.
6027 * math/w_hypot.c: Move to ...
6028 * sysdeps/generic/w_hypot.c: ...here. New file.
6029 * math/w_hypotf.c: Move to ...
6030 * sysdeps/generic/w_hypotf.c: ...here. New file.
6031 * math/w_hypotl.c: Move to ...
6032 * sysdeps/generic/w_hypotl.c: ...here. New file.
6033 * math/w_j0.c: Move to ...
6034 * sysdeps/generic/w_j0.c: ...here. New file.
6035 * math/w_j0f.c: Move to ...
6036 * sysdeps/generic/w_j0f.c: ...here. New file.
6037 * math/w_j0l.c: Move to ...
6038 * sysdeps/generic/w_j0l.c: ...here. New file.
6039 * math/w_j1.c: Move to ...
6040 * sysdeps/generic/w_j1.c: ...here. New file.
6041 * math/w_j1f.c: Move to ...
6042 * sysdeps/generic/w_j1f.c: ...here. New file.
6043 * math/w_j1l.c: Move to ...
6044 * sysdeps/generic/w_j1l.c: ...here. New file.
6045 * math/w_jn.c: Move to ...
6046 * sysdeps/generic/w_jn.c: ...here. New file.
6047 * math/w_jnf.c: Move to ...
6048 * sysdeps/generic/w_jnf.c: ...here. New file.
6049 * math/w_jnl.c: Move to ...
6050 * sysdeps/generic/w_jnl.c: ...here. New file.
6051 * math/w_lgamma.c: Move to ...
6052 * sysdeps/generic/w_lgamma.c: ...here. New file.
6053 * math/w_lgammaf.c: Move to ...
6054 * sysdeps/generic/w_lgammaf.c: ...here. New file.
6055 * math/w_lgammaf_r.c: Move to ...
6056 * sysdeps/generic/w_lgammaf_r.c: ...here. New file.
6057 * math/w_lgammal.c: Move to ...
6058 * sysdeps/generic/w_lgammal.c: ...here. New file.
6059 * math/w_lgammal_r.c: Move to ...
6060 * sysdeps/generic/w_lgammal_r.c: ...here. New file.
6061 * math/w_lgamma_r.c: Move to ...
6062 * sysdeps/generic/w_lgamma_r.c: ...here. New file.
6063 * math/w_log10.c: Move to ...
6064 * sysdeps/generic/w_log10.c: ...here. New file.
6065 * math/w_log10f.c: Move to ...
6066 * sysdeps/generic/w_log10f.c: ...here. New file.
6067 * math/w_log10l.c: Move to ...
6068 * sysdeps/generic/w_log10l.c: ...here. New file.
6069 * math/w_log.c: Move to ...
6070 * sysdeps/generic/w_log.c: ...here. New file.
6071 * math/w_logf.c: Move to ...
6072 * sysdeps/generic/w_logf.c: ...here. New file.
6073 * math/w_logl.c: Move to ...
6074 * sysdeps/generic/w_logl.c: ...here. New file.
6075 * math/w_pow.c: Move to ...
6076 * sysdeps/generic/w_pow.c: ...here. New file.
6077 * math/w_powf.c: Move to ...
6078 * sysdeps/generic/w_powf.c: ...here. New file.
6079 * math/w_powl.c: Move to ...
6080 * sysdeps/generic/w_powl.c: ...here. New file.
6081 * math/w_remainder.c: Move to ...
6082 * sysdeps/generic/w_remainder.c: ...here. New file.
6083 * math/w_remainderf.c: Move to ...
6084 * sysdeps/generic/w_remainderf.c: ...here. New file.
6085 * math/w_remainderl.c: Move to ...
6086 * sysdeps/generic/w_remainderl.c: ...here. New file.
6087 * math/w_scalb.c: Move to ...
6088 * sysdeps/generic/w_scalb.c: ...here. New file.
6089 * math/w_scalbf.c: Move to ...
6090 * sysdeps/generic/w_scalbf.c: ...here. New file.
6091 * math/w_scalbl.c: Move to ...
6092 * sysdeps/generic/w_scalbl.c: ...here. New file.
6093 * math/w_sinh.c: Move to ...
6094 * sysdeps/generic/w_sinh.c: ...here. New file.
6095 * math/w_sinhf.c: Move to ...
6096 * sysdeps/generic/w_sinhf.c: ...here. New file.
6097 * math/w_sinhl.c: Move to ...
6098 * sysdeps/generic/w_sinhl.c: ...here. New file.
6099 * math/w_sqrtl.c: Move to ...
6100 * sysdeps/generic/w_sqrtl.c: ...here. New file.
6101 * math/w_tgamma.c: Move to ...
6102 * sysdeps/generic/w_tgamma.c: ...here. New file.
6103 * math/w_tgammaf.c: Move to ...
6104 * sysdeps/generic/w_tgammaf.c: ...here. New file.
6105 * math/w_tgammal.c: Move to ...
6106 * sysdeps/generic/w_tgammal.c: ...here. New file.
6108 * locale/programs/ld-address.c (address_finish): Add 'S' to allow
6109 formats for postal_fmt.
6111 2001-02-16 Jakub Jelinek <jakub@redhat.com>
6113 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
6114 __ftruncate64 alias.
6115 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
6118 2001-02-15 David Mosberger <davidm@hpl.hp.com>
6120 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
6121 do "loadrs". Writing to bspstore already takes care of
6122 invalidating the "clean" partition.
6124 2001-02-16 Andreas Schwab <schwab@suse.de>
6126 * sysdeps/m68k/fpu/s_nextafterl.c: New file.
6127 * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
6129 2001-02-15 Jakub Jelinek <jakub@redhat.com>
6131 * posix/regex.c (init_syntax_once): Add prototype.
6132 (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
6133 (re_search_2): Avoid warning.
6134 (count_mbs_length): Add prototype.
6135 * posix/tst-regex3.c: New file.
6136 * posix/Makefile (tests): Add bug-regex3.
6138 2001-02-15 Ulrich Drepper <drepper@redhat.com>
6140 * stdio-common/Makefile (tests): Add tst-gets.
6141 * stdio-common/tst-gets.c: New file.
6142 * stdio-common/tst-gets.input: New file.
6144 * elf/elf.h (DT_CHECKSUM): Define.
6146 * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
6148 * sysdeps/generic/strtoull.c: Likewise.
6150 2001-02-14 Wolfram Gloger <wg@malloc.de>
6152 * malloc/malloc.c (new_heap): When allocating large chunk aligned
6153 to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
6156 2001-02-14 Ulrich Drepper <drepper@redhat.com>
6158 * math/libm-test.inc (j0_test): Check whether sincos is available.
6159 (j1_test): Likewise.
6160 (jn_test): Likewise.
6161 (y0_test): Likewise.
6162 (y1_test): Likewise.
6163 (yn_test): Likewise.
6165 * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
6166 fake filesystem routines to handle this.
6168 * time/sys/time.h: Make settimeofday and adjtime available if
6171 * time/sys/time.h: Make timer* macros available for BSD.
6173 * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
6174 Patch by Yong Li <rigel863@yahoo.com>.
6176 * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
6179 * posix/Makefile (tests): Add tst-gnuglob.
6180 * posix/tst-gnuglob.c: New file.
6182 2001-02-13 H.J. Lu <hjl@gnu.org>
6184 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
6186 2001-02-13 Ulrich Drepper <drepper@redhat.com>
6188 * locale/programs/ld-paper.c (paper_output): Pretty printing.
6190 * iconvdata/Makefile (modules): Add GBBIG5.
6191 (distribute): Add gbbig5.c.
6192 * iconvdata/gconv-modules: Add entries for GBBIG5 module.
6194 * iconvdata/gbbig5.c: New file.
6195 Contributed by Yong Li <rigel863@yahoo.com>.
6197 2001-02-13 Philip Blundell <pb@futuretv.com>
6199 * manual/crypt.texi: Remove outdated references to crypt add-on.
6201 * manual/creature.texi: Improve wording slightly.
6203 2001-02-13 Ulrich Drepper <drepper@redhat.com>
6205 * io/ftw.c: Always use readdir64.
6206 * io/ftw64.c: Likewise.
6207 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6208 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6209 * sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir
6210 callback to dirent. Still allow compiling outside glibc.
6211 * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
6212 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6214 * malloc/mtrace.c: Use fopen64.
6215 * posix/spawni.c: Use __open64.
6216 * sysdeps/unix/opendir.c: Likewise.
6217 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
6219 * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
6221 * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
6222 * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
6223 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
6224 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
6226 * resolv/res_data.c: Add cast to avoid warning.
6228 * include/unistd.h: Declare __ftruncate64.
6230 * sysdeps/generic/utmp_file.c: Use LFS functions and types.
6232 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
6235 2001-02-13 Andreas Jaeger <aj@suse.de>
6237 * login/getutent_r.c: Include <stdlib.h> for NULL.
6238 * login/getutid_r.c: Likewise.
6240 2001-02-12 Ulrich Drepper <drepper@redhat.com>
6242 * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
6243 * sysdeps/dbl-64/e_j1.c: Likewise.
6244 * sysdeps/dbl-64/e_jn.c: Likewise.
6245 * sysdeps/flt-32/e_j0f.c: Likewise.
6246 * sysdeps/flt-32/e_j1f.c: Likewise.
6247 * sysdeps/ldbl-96/e_j0l.c: Likewise.
6249 2000-12-02 H.J. Lu <hjl@gnu.org>
6251 * resolv/res_libc.c (res_init): Don't make it default.
6253 2001-02-12 Ulrich Drepper <drepper@redhat.com>
6255 * manual/debug.texi: Improved the wording.
6256 Patch by Philip Blundell <pb@futuretv.com>.
6258 2001-02-12 Andreas Jaeger <aj@suse.de>
6260 * posix/Makefile (tests): Don't run bug-regex2 when
6263 * libio/Makefile (tests): Don't run test-freopen when
6266 * manual/stdio.texi (Streams and I18N): Fix typos.
6268 2001-02-12 Ulrich Drepper <drepper@redhat.com>
6270 * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
6272 * math/libm-test.inc (j0_test): Make expected results long double
6274 (y0_test): Likewise.
6276 * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
6277 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
6279 2001-02-11 Jakub Jelinek <jakub@redhat.com>
6281 * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
6282 which was exported from libc.
6283 * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
6285 2001-02-12 Andreas Jaeger <aj@suse.de>
6287 * manual/arith.texi (Parsing of Integers): Fix some wordings.
6289 2001-02-11 Ulrich Drepper <drepper@redhat.com>
6291 * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
6292 and get_avphys_page to long int.
6293 * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
6294 * include/sys/sysinfo.h: Likewise.
6295 * sysdeps/generic/sys/sysinfo.h: Likewise.
6296 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
6298 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
6299 cannot return as many values as the user asked for.
6301 2001-02-11 Andreas Jaeger <aj@suse.de>
6303 * manual/resource.texi (Memory Resources): Fix typo.
6305 * libio/Makefile ($(objpfx)test-freopen.out): Pass
6308 * libio/test-freopen.sh: Use run_program_prefix.
6310 2001-02-10 Andreas Jaeger <aj@suse.de>
6312 * stdlib/Makefile (tests): Don't run tst-fmtmsg when
6314 ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
6316 * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
6319 * elf/Makefile (tests): Only run tst-pathopt with shared libs.
6321 * posix/Makefile: Fix typo, it's build-static-nss.
6323 * iconv/Makefile (extra-objs): New.
6325 2001-02-10 Mark Kettenis <kettenis@gnu.org>
6327 * sysdeps/unix/stime.c: Include <time.h>.
6329 * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
6331 2001-02-10 Andreas Jaeger <aj@suse.de>
6333 * manual/string.texi (Search Functions): Fix typo.
6335 2001-02-10 Mark Kettenis <kettenis@gnu.org>
6337 * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
6338 (timeval_to_clock_t): Add clk_tck argument and use that instead of
6340 (__times): Use __getclktck to get the number of clock ticks per
6341 second and use its return value instead of CLK_TCK.
6343 2001-02-10 Mark Kettenis <kettenis@gnu.org>
6345 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
6347 2001-02-10 Mark Kettenis <kettenis@gnu.org>
6349 * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
6351 2001-02-10 Andreas Jaeger <aj@suse.de>
6353 * wctype/wcfuncs.c (func): Add prototype declarations to avoid
6356 2001-02-09 Ulrich Drepper <drepper@redhat.com>
6358 * posix/Makefile: Add rules to build and run bug-regex2.
6359 * posix/bug-regex2.c: New file.
6361 2001-02-10 Jakub Jelinek <jakub@redhat.com>
6363 * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
6364 (regex_compile): Likewise.
6365 (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
6366 (re_match_2_internal): Use just is_binary instead of two variables.
6367 Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
6369 2001-02-09 Ulrich Drepper <drepper@redhat.com>
6371 * version.h (VERSION): Bump to 2.2.2.
6373 * iconv/Makefile (distribute): Add iconv_charmap.c and
6375 * elf/Makefile (distribute): Add firstobj.c.
6376 * Makefile (distribute): Add include/pthread.h.
6378 * configure.in: Require makeinfo version 4.
6380 * libio/tst_wscanf.c (main): Add cast to avoid warning.
6381 * libio/tst_swscanf.c (main): Likewise..
6383 2001-02-09 Jakub Jelinek <jakub@redhat.com>
6385 * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
6386 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
6388 * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
6389 if not RTLD_BOOTSTRAP.
6390 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6391 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6393 2001-02-09 Ulrich Drepper <drepper@redhat.com>
6395 * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use
6396 lr_ungetc to push back last read character.
6397 * locale/programs/linereader.h (lr_ungetc): Don't push back is
6399 (lr_ignore_rest): Don't warn about garbage if it is really the end
6402 * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
6405 2001-02-08 Ulrich Drepper <drepper@redhat.com>
6407 * Makerules (build-shlib): Work around different order of
6408 processing of -B option in different gcc versions.
6410 * posix/regex.c: Fix alignment problem.
6411 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6413 * sysdeps/alpha/strrchr.S: Little optimization.
6414 Patch by Richard Henderson <rth@redhat.com>.
6416 * sysdeps/alpha/alphaev67/strrchr.S: New file.
6417 Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
6419 2001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
6421 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
6422 in the assembler end directive.
6424 2001-02-08 Andreas Jaeger <aj@suse.de>
6426 * manual/stdio.texi (Closing Streams): Fix typos.
6428 2001-02-07 Ulrich Drepper <drepper@redhat.com>
6430 * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
6431 Patch by Richard Henderson <rth@redhat.com>.
6432 Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
6434 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
6435 pointer in FILE structure before calling _IO_init.
6436 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
6437 strfmon_l if necessary.
6438 Reported by Jury Gerold <gjury@grips.com>.
6440 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
6441 Patch by Pekka.Pietikainen@cern.ch.
6443 * posix/regex.c: Correct several problems with 64-bit architectures
6444 introduced in the MBS changes.
6445 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6447 2001-02-07 Jakub Jelinek <jakub@redhat.com>
6449 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
6451 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
6453 2001-02-07 Andreas Jaeger <aj@suse.de>
6455 * manual/install.texi (Tools for Compilation): Fix typo.
6456 Reported by Pavel Machek <pavel@bug.ucw.cz>.
6458 2001-02-07 Ulrich Drepper <drepper@redhat.com>
6460 * stdlib/strtod.c: Never stop prematurely reading digits before the
6461 decimal point is found. Compute exponent limit for negative exponents
6462 correctly. For numbers ending in all zeros eat the zeros even before
6463 the decimal point if the exponent is negative [PR libc/2072].
6464 * stdlib/Makefile (tests): Add bug-strtod.
6465 * stdlib/bug-strtod.c: New file.
6467 2001-02-07 Andreas Jaeger <aj@suse.de>
6469 * posix/bug-regex1.c: Include <wchar.h> for fwide.
6471 2001-02-06 Ulrich Drepper <drepper@redhat.com>
6473 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
6475 (compile_range): Handle index being passed, not pointer.
6476 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6478 * posix/regex.c: Fix a cast in the code for bracket handling which
6479 caused 8-bit uncleanliness.
6480 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
6482 * posix/Makefile (tests): Add bug-regex1.
6483 * posix/bug-regex1.c: New file.
6484 Contributed by Jim Meyering <jim@meyering.net>.
6486 * posix/regex.c: Many cleanups for incorrect format strings.
6488 2001-02-06 Andreas Jaeger <aj@suse.de>
6490 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
6492 2001-02-06 Ulrich Drepper <drepper@redhat.com>
6494 * locale/programs/locale.c (write_locales): Use scandir to read
6495 directory so that the entries are sorted.
6497 2001-02-06 Andreas Jaeger <aj@suse.de>
6499 * include/pthread.h: New file.
6501 * wctype/wctype.h: Move internal interfaces from here to...
6502 * include/wctype.h: ...here.
6504 * wcsmbs/wchar.h: Move __wcslen from here to...
6505 * include/wchar.h: ...here.
6507 * posix/sys/wait.h: Move __wait from here to...
6508 * include/sys/wait.h: ...here.
6510 * string/string.h: Move __ffs and __strerror_r from here to...
6511 * include/string.h: ...here.
6513 * stdlib/stdlib.h: Move __on_exit from here to...
6514 * include/stdlib.h: ...here.
6516 * libio/stdio.h: Move __vsnprintf from here to...
6517 * include/stdio.h: ...here.
6519 2001-02-06 Andreas Schwab <schwab@suse.de>
6521 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
6524 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
6527 2001-02-06 Ulrich Drepper <drepper@redhat.com>
6529 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
6531 2001-02-06 Andreas Jaeger <aj@suse.de>
6533 * elf/firstobj.c: Add prototype.
6535 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
6536 (truncate_wchar): Likewise.
6538 2001-02-06 Ulrich Drepper <drepper@redhat.com>
6540 * locale/programs/locale.c: Implement --verbose option for -a
6541 which prints detailed information about the locales.
6543 2001-02-05 Ulrich Drepper <drepper@redhat.com>
6545 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
6546 variable to uint32_t.
6547 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
6549 2001-02-04 Bruno Haible <haible@clisp.cons.org>
6551 * locale/C-translit.h.in: Add transliterations for CJK units of
6554 2001-02-05 Ulrich Drepper <drepper@redhat.com>
6556 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
6557 string. Include <inttypes.h> instead of <stdint.h>.
6559 * localedata/Makefile (tests): Add bug-iconv-trans.
6560 Define bug-iconv-trans-ENV.
6561 * localedata/bug-iconv-trans.c: New file.
6563 2001-02-04 Bruno Haible <haible@clisp.cons.org>
6565 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
6566 pointer, to avoid accumulating output from incomplete (unsuccessful)
6567 transliteration attempts.
6569 2001-02-05 Ulrich Drepper <drepper@redhat.com>
6571 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
6572 string. Include <inttypes.h> instead of <stdint.h>.
6574 * configure.in: Add check for bison.
6575 * config.make.in: Define BISON variable.
6576 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
6577 Rename YFLAGS to BISONFLAGS.
6579 2001-02-05 Andreas Jaeger <aj@suse.de>
6581 * io/test-lfs.c (do_test): Test lseek64 return value, call
6583 (test_ftello): New function to test ftello64 and fseeko64.
6585 * signal/signal.h: Move __sigaction from here to...
6586 * include/signal.h: ...here.
6588 * io/fcntl.h: Move __fcntl and __open to...
6589 * include/fcntl.h: ...here.
6591 2001-02-04 Philip Blundell <philb@gnu.org>
6593 * configure.in: Distinguish ARM from Thumb.
6595 2001-02-04 Philip Blundell <philb@gnu.org>
6597 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
6598 PC24 relocs with negative value.
6600 2001-02-04 Ulrich Drepper <drepper@redhat.com>
6602 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
6603 files in locale/programs. Add CFLAGS definition to allow compiling
6605 * iconv/dummy-repertoire.c: New file.
6606 * iconv/iconv_charmap.c: New file.
6607 * iconv/iconv_prog.h: New file.
6608 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
6609 (main): If parameter for -f and -t contain slashes try first to resolve
6610 the strings as filenames of charmap files. Use them for conversion
6612 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
6613 iconv getting charmap names as parameters.
6614 * locale/programs/linereader.c (lr_token): Take extra parameters
6615 verbose and pass it to get_string.
6616 (get_string): Take extra parameters verbose.
6617 * locale/programs/charmap.c (parse_charmap): Take extra parameters
6618 verbose and be_quiet. Change all callers of lr_token and
6620 * locale/programs/charmap.h: Likewise.
6621 * locale/programs/ld-address.c: Likewise.
6622 * locale/programs/ld-collate.c: Likewise.
6623 * locale/programs/ld-ctype.c: Likewise.
6624 * locale/programs/ld-identification.c: Likewise.
6625 * locale/programs/ld-measurement.c: Likewise.
6626 * locale/programs/ld-messages.c: Likewise.
6627 * locale/programs/ld-monetary.c: Likewise.
6628 * locale/programs/ld-name.c: Likewise.
6629 * locale/programs/ld-numeric.c: Likewise.
6630 * locale/programs/ld-paper.c: Likewise.
6631 * locale/programs/ld-telephone.c: Likewise.
6632 * locale/programs/ld-time.c: Likewise.
6633 * locale/programs/linereader.c: Likewise.
6634 * locale/programs/linereader.h: Likewise.
6635 * locale/programs/localedef.c: Likewise.
6636 * locale/programs/locfile.c: Likewise.
6637 * locale/programs/locfile.h: Likewise.
6638 * locale/programs/repertoire.c: Likewise.
6640 2001-02-03 Ulrich Drepper <drepper@redhat.com>
6642 * iconv/iconv_prog.c (main): If output file name is "-" write to
6644 (main): If -f or -t argument is missing use charset of the current
6647 2001-02-03 Andreas Jaeger <aj@suse.de>
6649 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
6650 boundary for SSE/SSE-2 alignment.
6652 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
6655 2001-02-03 Ulrich Drepper <drepper@redhat.com>
6657 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
6658 Remove comma at end of enum.
6660 * elf/dl-init.c: Add a few __builtin_expect.
6662 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
6664 2001-02-02 Ulrich Drepper <drepper@redhat.com>
6666 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
6667 errno is ECONNREFUSED.
6669 * posix/Makefile: Define MBS_SUPPORT for regex.c.
6670 * posix/regex.c: Implement multibyte character handling.
6671 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
6673 * string/tst-svc.input: Add two more test cases.
6674 * string/tst-svc.expect: Modify to reflect new test cases.
6676 2001-02-01 Jakub Jelinek <jakub@redhat.com>
6678 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
6679 tp->name tests with tp->name[0] tests.
6681 2001-01-29 Ben Collins <bcollins@debian.org>
6683 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
6684 Fix check for name == NULL.
6686 2001-02-01 Ulrich Drepper <drepper@redhat.com>
6688 * elf/Makefile: Add rules to build and run initfirst test.
6689 * elf/initfirst.c: New file.
6690 * elf/firstobj.c: New file.
6692 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
6693 * configure.in: Test for -z initfirst linker option.
6694 * config.make.in: Add have-z-initfirst.
6695 * elf/dl-init.c (_dl_init): Split out actual initialization code in
6696 new function call_init. If _dl_initfirst is non-NULL initialize first.
6697 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
6698 remember object in _dl_initfirst.
6699 * elf/soinit.c: Remove special support for calling
6700 __pthread_initialize_minimal.
6702 * conform/conformtest.pl: Add missing $prepend in type test.
6704 2001-01-31 Ulrich Drepper <drepper@redhat.com>
6706 * elf/elf.h (SHT_CHECKSUM): New definition.
6708 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
6709 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6710 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
6712 2001-01-31 Mark Kettenis <kettenis@gnu.org>
6714 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
6715 to get definition of `struct timeval'.
6717 2001-01-31 Ulrich Drepper <drepper@redhat.com>
6719 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
6720 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
6722 2001-01-30 Ulrich Drepper <drepper@redhat.com>
6724 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
6727 * nis/nis_findserv.c: Include <time.h>.
6729 2001-01-30 Yong Li <yong.li@asu.edu>
6731 * iconv/iconv_prog.c (main): Correct error handling method name.
6733 2001-01-29 Ben Collins <bcollins@debian.org>
6735 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
6736 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
6737 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
6738 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
6740 2001-01-30 Ulrich Drepper <drepper@redhat.com>
6742 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
6743 Patch by Marko Myllynen <myllynen@lut.fi>.
6745 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
6746 (int instead of char).
6747 (__strpbrk_c3): Likewise.
6748 Reported by GOTO Masanori <gotom@debian.or.jp>.
6750 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
6751 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
6752 * include/sys/socket.h: Add SA_LEN here for internal use.
6753 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
6755 2001-01-29 Ulrich Drepper <drepper@redhat.com>
6757 * malloc/Makefile: Don't build memusagestat if cross-compiling.
6759 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
6761 * math/libm-test.inc (rint_test): Add a few more tests for round
6764 2001-01-28 Ulrich Drepper <drepper@redhat.com>
6766 * conform/data/pthread.h-data: Correct return type of pthread_exit.
6768 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
6770 * conform/data/stdlib.h-data: Add _Exit.
6772 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
6773 if not already happened.
6774 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
6775 Don't include <limits.h> and <bits/sockaddr.h>.
6777 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
6779 * conform/data/spawn.h-data: Allow all of <sched.h>.
6781 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
6784 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
6785 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
6787 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
6789 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
6790 * libio/stdio.h: Define va_list correctly.
6792 * conform/data/pthread.h-data: Make priority protocol related
6793 functions optional. Fix typos.
6795 * posix/sched.h: Define sched_priority as __sched_priority.
6796 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
6797 to __sched_priority.
6798 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6800 2001-01-27 Ulrich Drepper <drepper@redhat.com>
6802 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
6805 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
6806 * sysdeps/unix/time.c: Likewise.
6808 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
6809 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
6810 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
6811 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
6812 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6813 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
6814 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
6815 * time/time.h: Likewise.
6817 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
6818 * conform/data/complex.h-data: New file.
6819 * conform/data/tgmath.h-data: New file.
6821 * conform/data/wchar.h-data: Add missing functions.
6823 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
6825 * conform/data/termios.h-data: Add missing const in tcsetattr()
6828 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
6829 Don't define pid_t here.
6831 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
6833 * conform/data/sys/time.h-data: Allow sys/select.h.
6834 * conform/data/sys/un.h-data: Fix typo.
6835 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
6836 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
6838 * sysdeps/unix/clock_nanosleep.c: Likewise.
6839 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
6840 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
6841 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
6842 * sysdeps/unix/clock_settime.c: Likewise.
6844 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
6845 * login/getutent.c: Likewise.
6846 * login/getutid.c: Likewise.
6847 * login/getutline.c: Likewise.
6849 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
6851 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
6852 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
6853 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
6854 f_fsid field after change in struct statvfs.
6855 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
6856 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
6857 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
6859 * conform/data/sys/stat.h-data: Remove isfdtype. Use
6862 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
6863 recvfrom, send, and socketpair prototypes. Add allow lines.
6864 * socket/sys/socket.h: Include <sys/uio.h>.
6865 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
6866 Fix type of second parameter of listen.
6867 Don't declare isfdtype unless __USE_MISC.
6868 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
6869 * sysdeps/mach/hurd/listen.c: Likewise.
6870 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
6871 ss_family and __ss_family.
6872 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
6873 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6874 (struct msghdr): Change type of msg_iovlen to int and type of
6875 msg_controllen to socklen_t.
6876 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
6877 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
6878 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
6879 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
6880 (rresvport_af): Likewise.
6882 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
6883 * conform/conformtest.pl: Implement handling of symbol.
6885 * signal/signal.h: Fix handling of __need_* symbols.
6886 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
6887 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
6888 * include/sys/select.h: Use fd_set not __fd_set.
6889 * sysdeps/generic/bits/select.h: Likewise.
6890 * sysdeps/i386/bits/select.h: Likewise.
6891 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
6892 __FDELT, __FDMASK, and __fd_set here.
6893 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
6894 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
6895 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6896 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6897 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
6898 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6899 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6900 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6901 * time/sys/time.h: Define struct timeval before including <time.h>
6904 * conform/data/sys/time.h-data: fd_set is a typedef.
6905 * conform/data/sys/select.h-data: New file.
6906 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
6907 * conform/conformtest.pl (@headers): Add sys/select.h.
6908 (type, optional-type): Unless testing a typedef instantiate object.
6909 Implement optional-function.
6911 * math/test-misc.c: Include <float.h>.
6913 2001-01-27 Andreas Jaeger <aj@suse.de>
6915 * misc/efgcvt_r.c: Include <float.h>.
6917 2001-01-26 Ulrich Drepper <drepper@redhat.com>
6919 * conform/data/stdlib.h-data: Account for XPG6 changes.
6920 * stdlib/stdlib.h (__random): Change return value type to long.
6921 (posix_memalign): Cleanup parameter names.
6922 (setenv, unsetenv): Make available for __USE_XOPEN2K.
6923 Change return type of unsetenv to int.
6924 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
6925 * include/stdlib.h: Change return type of unsetenv to int.
6926 Change return type of random to long int.
6927 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
6928 Return -1 and set errno if parameter is invalid.
6929 * stdlib/random.c (__random): Change return value type to long.
6931 * conform/data/stdio.h-data: Account for changes in XPG6.
6933 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
6936 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
6937 * conform/data/signal.h-data: Fix sigev_notify_function entry.
6938 Fix typo (SIGVALRM -> SIGVTALRM).
6939 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
6941 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
6942 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
6943 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
6944 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6945 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
6947 * conform/conformtest.pl: Implement optional-element. Define
6948 $mustprepend{"sched.h"}.
6949 * conform/data/sched.h-data: Make sporadic scheduler definitions
6952 * pwd/pwd.h: Don't define getpwent_r for XPG.
6954 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
6955 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
6956 * sysdeps/mach/hurd/poll.c: Likewise.
6957 * sysdeps/unix/bsd/poll.c: Likewise.
6958 * sysdeps/unix/sysv/linux/poll.c: Likewise.
6959 * sysdeps/unix/sysv/aix/poll.c: Likewise.
6960 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
6961 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
6962 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
6963 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
6964 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
6965 * conform/data/poll.h-data: Fix typo in poll prototype.
6967 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
6969 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
6971 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
6973 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
6975 * conform/conformtest.pl: Implement optional-type.
6977 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
6978 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
6979 defining uint32_t here. Define IPPORT_RESERVED.
6980 (struct hostent): Type of h_length element is int.
6981 (getnameinfo): Type of flags parameter is unsigned int.
6982 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
6983 * conform/data/netdb.h-data: Add many missing definitions.
6985 * conform/conformtest.pl: Implement optional-macro.
6986 * conform/data/math.h-data: Update for XPG6.
6988 * math/math.h (HUGE): Define as FLT_MAX value but don't use
6989 FLT_MAX. Don't include <float.h>.
6990 (MAXFLOAT): Likewise.
6992 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
6994 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
6996 * conform/data/limits.h-data: Mark constants as optional wherever
6999 * posix/bits/posix2_lim.h: Set correct values for
7000 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
7003 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
7006 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
7008 * conform/data/netinet/in.h-data: Add reserved prefixes.
7010 * conform/data/arpa/inet.h-data: Fix a few typos.
7012 2001-01-26 Andreas Jaeger <aj@suse.de>
7014 * sysdeps/generic/strtol.c: Include <locale.h>
7015 * stdlib/strtod.c: Likewise
7016 * stdlib/strfmon.c: Likewise.
7017 * string/strcoll.c: Likewise.
7018 * string/strxfrm.c: Likewise.
7019 * wctype/wcfuncs_l.c: Likewise.
7020 * wctype/wctype_l.c: Likewise.
7021 * wctype/wctrans_l.c: Likewise.
7023 * include/bits/locale.h: New file.
7025 2001-01-26 Ulrich Drepper <drepper@redhat.com>
7027 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
7030 * locale/Makefile (headers): Add bits/locale.h.
7031 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
7032 and use __LC_ constants instead of LC_.
7033 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
7034 using __LC_ constants.
7035 * locale/bits/locale.h: New file.
7036 * locale/loadlocale.c: Include <locale.h>.
7037 * locale/nl_langinfo.h: Likewise.
7039 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
7041 * io/sys/stat.h: Define S_IFSOCK for XPG6.
7043 * conform/data/fcntl.h-data: posix_madvise is not expected here.
7045 * conform/conformtest.pl: Fix handling of macro-str.
7047 * conform/data/inttypes.h-data: Add missing definition and all of
7050 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
7052 2001-01-25 Ulrich Drepper <drepper@redhat.com>
7054 * conform/conformtest.pl (@headers): Add stdint.h.
7055 * conform/data/stdint.h-data: New file.
7057 * conform/conformtest.pl: Recognize options --headers and
7058 --dialect. Add dialect-specific CFLAGS.
7060 * conform/conformtest.pl: Implement handling of recursive
7063 * conform/data/locale.h-data: Add new struct lconv members.
7065 * posix/wordexp.h: Correct definition of wordexp_t.
7066 * posix/wordexp.c: Moved to ...
7067 * sysdeps/generic/wordexp.c: ...here. New file.
7068 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
7069 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
7070 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
7071 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
7073 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
7074 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
7076 * math/tgmath.h: Pretty printing.
7078 * math/Makefile (tests): Add test-tgmath.
7079 (CFLAGS-test-tgmath.c): New variable.
7080 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
7082 * conform/conformtest.pl: Handle allow-header in secondary headers
7085 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
7088 * conform/data/netinet/in.h-data: Use correct comment character.
7089 * conform/data/sys/stat.h-data: Likewise.
7091 2001-01-25 Jakub Jelinek <jakub@redhat.com>
7093 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
7094 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
7095 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
7096 __builtin_classify_type, add ##f suffixes where appropriate.
7097 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
7098 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
7099 __builtin_classify_type.
7100 (fma): Fix spelling of first argument.
7102 2001-01-25 Ulrich Drepper <drepper@redhat.com>
7104 * conform/data/unistd.h-data: Mark functions removed in XPG6
7107 * posix/unistd.h: Don't make functions removed in XPG6 available if
7110 * conform/conformtest.pl: Implement optional-constant.
7111 * conform/data/unistd.h-data: Use optional-constant wherever
7114 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
7115 constants and add _SC_STREAMS.
7116 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7118 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
7119 make old name weak alias.
7120 * sysdeps/generic/statvfs64.c: Likewise.
7121 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
7122 make old name weak alias.
7123 * sysdeps/generic/fstatvfs64.c: Likewise.
7124 * include/sys/statvfs.h: New file.
7126 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
7127 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
7129 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
7130 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
7131 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
7132 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
7134 * conform/conformtest.pl: Run Unix tests for XPG6.
7135 Implement handling of known namespace violations.
7136 Improve printing of results.
7138 * posix/unistd.h (usleep): Correct return type.
7139 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
7140 * sysdeps/unix/bsd/usleep.c: Correct return type.
7141 * sysdeps/mach/usleep.c: Correct return type.
7142 * sysdeps/generic/usleep.c: Correct return type.
7144 * posix/unistd.h (sync): Correct return type.
7145 * sysdeps/generic/sync.c: Likewise.
7146 * sysdeps/mach/hurd/sync.c: Likewise.
7148 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
7150 * posix/unistd.h: Make seteuid and setegid available for XPG6.
7152 * wcsmbs/wchar.h: Get FILE definition for XPG5.
7154 * conform/data/ctype.h-data: Use correct comment form.
7155 * conform/data/errno.h-data: Likewise.
7156 * conform/data/math.h-data: Likewise.
7157 * conform/data/mqueue.h-data: Likewise.
7158 * conform/data/netdb.h-data: Likewise.
7159 * conform/data/pthread.h-data: Likewise.
7161 2001-01-24 Ulrich Drepper <drepper@redhat.com>
7163 * conform/data/wordexp.h-data: Fix typo.
7165 * conform/conformtest.pl: Handle allow-header correctly.
7167 * conform/data/time.h-data: Use correct comment form.
7169 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
7171 * configure.in: Comment out binutils version test.
7173 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
7175 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
7177 * stdlib/tst-strtod.c (locale_test): New function.
7178 (main): Call locale_test.
7179 * stdlib/Makefile (tst-strtod-ENV): New variable.
7181 2001-01-24 Mark Kettenis <kettenis@gnu.org>
7183 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
7184 declaration of value such that we actually return the value of the
7185 environment variable.
7187 2001-01-24 Andreas Jaeger <aj@suse.de>
7189 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
7191 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7193 * include/sys/sysctl.h: New file.
7195 2001-01-23 Andreas Jaeger <aj@suse.de>
7197 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
7200 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
7201 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
7202 closes PR libc/2039.
7204 * manual/install.texi (Tools for Compilation): Change required
7207 2001-01-22 Andreas Jaeger <aj@suse.de>
7209 * configure.in: Add test for new enough binutils version, move
7210 compiler/binutils test up.
7212 * Versions.def: Add version GLIBC_2.2.2.
7214 2001-01-21 Ulrich Drepper <drepper@redhat.com>
7216 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
7218 * iconvdata/testdata/IBM932: New file.
7219 * iconvdata/testdata/IBM932..UTF8: New file.
7220 * iconvdata/testdata/IBM943: New file.
7221 * iconvdata/testdata/IBM943..UTF8: New file.
7222 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
7224 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7226 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
7228 2001-01-21 Ulrich Drepper <drepper@redhat.com>
7230 * malloc/malloc.c: Remove a few unnecessary initializers of global
7233 2000-12-09 H.J. Lu <hjl@gnu.org>
7235 * nss/Makefile (routines): Add digits_dots.
7236 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
7237 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
7239 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
7241 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
7242 (TYPE_VAR_P): Likewise.
7243 (FLAGS_VAR): Likewise.
7244 (AF_VAR_P): Likewise.
7245 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
7246 instead of including digits_dots.c.
7247 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
7248 (TYPE_VAR_P): Likewise.
7249 (FLAGS_VAR): Likewise.
7250 (AF_VAR_P): Likewise.
7251 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
7252 instead of including digits_dots.c.
7254 2001-01-21 Ulrich Drepper <drepper@redhat.com>
7256 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
7258 2001-01-21 Andreas Jaeger <aj@suse.de>
7260 * elf/constload2.c: Add prototype for init.
7262 2001-01-21 Ulrich Drepper <drepper@redhat.com>
7264 * stdlib/stdlib.h (drand48_data): Make available only for
7265 __USE_MISC. Rename elements to protect namespace. Change type
7266 and position of a and init element.
7267 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
7268 differently. Adjust for drand48_data change. Don't compute a here,
7269 it comes from drand48_data.
7270 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
7271 differently. Adjust for drand48_data change. Compute a here.
7272 * stdlib/srand48_r.c: Likewise.
7273 * stdlib/drand48.c: Adjust for drand48_data change.
7274 * stdlib/lrand48.c: Likewise.
7275 * stdlib/mrand48.c: Likewise.
7276 * stdlib/seek48.c: Likewise.
7277 * stdlib/drand48_r.c: Likewise.
7278 * stdlib/lrand48_r.c: Likewise.
7279 * stdlib/mrand48_r.c: Likewise.
7280 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
7282 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
7283 * stdlib/jrand48_r.c: Likewise.
7285 * po/sv.po: Update from translation team.
7287 2001-01-21 Andreas Jaeger <aj@suse.de>
7289 * stdio-common/vfprintf.c (vfprintf): Add casts.
7291 2001-01-20 Ulrich Drepper <drepper@redhat.com>
7293 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
7295 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
7297 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
7298 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
7299 * iconvdata/ibm932.c: New file.
7300 * iconvdata/ibm932.h: New file.
7301 * iconvdata/ibm943.c: New file.
7302 * iconvdata/ibm943.h: New file.
7303 Patches by Masahide Washizawa <washi@jp.ibm.com>.
7305 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
7306 preventing optimization from being done. Set the correct type bit
7307 in seen. Don't define and use _dl_base_addr unless
7308 NEED_DL_BASE_ADDR is defined.
7310 * io/ftw.c (ftw_dir): Add slash after directory name if there
7311 wasn't any. Reported by loris <loris@iol.it>.
7312 * io/Makefile (tests): Add bug-ftw2.
7313 * io/bug-ftw2.c: New file.
7315 2001-01-19 Ulrich Drepper <drepper@redhat.com>
7317 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
7318 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
7319 * stdlib/tst-rand48.c: New file.
7320 * stdlib/Makefile (tests): Add tst-rand48.
7322 * locale/newlocale.c (__newlocale): Fix test for setting all
7325 2001-01-19 Mark Kettenis <kettenis@gnu.org>
7327 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
7328 but change looking up the initial directory port in a similar way
7329 as done by _hurd_change_directory_port_from_name.
7330 * hurd/fchroot.c (fchroot): Likewise.
7332 2001-01-18 Ulrich Drepper <drepper@redhat.com>
7334 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
7335 defined don't look whether the AT_*ID values were set.
7336 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
7337 (_dl_show_auxv): Rewrite to avoid switch statement.
7338 * sysdeps/unix/sysv/linux/kernel-features.h: Define
7339 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
7340 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
7341 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
7343 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
7344 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
7345 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
7347 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
7349 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
7350 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
7352 * dlfcn/eval.c (__strtol_internal): Define here.
7353 (eval): Use __strtol_internal instead of strtol.
7355 * elf/elf.h: Add a few more EF_MIPS_* constants.
7357 2001-01-17 Ulrich Drepper <drepper@redhat.com>
7359 * manual/Makefile (chapters): Add debug.
7360 * manual/debug.texi: New file.
7361 * manual/examples/execinfo.c: New file.
7362 Patch by suckfish@ihug.co.nz.
7364 2001-01-17 Andreas Schwab <schwab@suse.de>
7366 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
7369 2001-01-17 Andreas Jaeger <aj@suse.de>
7371 * nscd/connections.c (nscd_run): Use proper format specifier.
7373 2001-01-16 Ulrich Drepper <drepper@redhat.com>
7375 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
7376 x86_platforms data into new file after prepending _dl_. Change
7378 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
7379 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
7380 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
7383 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
7385 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
7386 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
7387 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
7388 (_setjmp): Likewise.
7389 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
7390 * sysdeps/i386/bsd-setjmp.S: Real implementation.
7391 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
7392 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
7395 2001-01-16 Andreas Jaeger <aj@suse.de>
7397 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
7398 misapplied last patch.
7400 2001-01-15 Ulrich Drepper <drepper@redhat.com>
7402 * stdlib/random.c (__initstate): Clean up a cast.
7403 (__setstate): Likewise.
7405 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
7406 syscall handling. The generic Linux version should work.
7408 2001-01-15 Andreas Jaeger <aj@suse.de>
7410 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
7412 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
7414 2001-01-14 Jakub Jelinek <jakub@redhat.com>
7416 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
7417 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
7419 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
7420 If number is 0, list all.
7421 (services_keys): Likewise. Lookup aliases as well.
7422 (databases): New table.
7423 (build_doc): Prepare argp doc text with list of supported databases.
7424 (main): Change to table driven processing.
7426 2001-01-14 Thorsten Kukuk <kukuk@suse.de>
7428 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
7431 2001-01-03 Jakub Jelinek <jakub@redhat.com>
7433 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
7434 encode value which does not fit in the 32bit type.
7436 2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
7438 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
7439 Change type of CTX to (struct sigcontext *).
7440 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
7441 (GET_FRAME): Likewise.
7442 (GET_STACK): Likewise.
7443 (SIGCONTEXT): Likewise. Add 2nd arg _code.
7444 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
7446 2001-01-13 Ulrich Drepper <drepper@redhat.com>
7448 * manual/texinfo.tex: Update from upstream version.
7450 2001-01-13 Jakub Jelinek <jakub@redhat.com>
7452 * inet/ether_ntoh.c (lookup_function): Change arguments to match
7453 _nss_*_getntohost_r prototype.
7454 (ether_ntohost): Pass errno pointer to NSS function.
7456 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7458 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
7459 (MAP_LOCKED): New definition.
7460 (MAP_NORESERVE): New definition.
7462 2001-01-12 Ulrich Drepper <drepper@redhat.com>
7464 * assert/assert.h: Use static_cast instead of C-style cast for C++.
7465 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
7467 2001-01-12 Ben Collins <bcollins@debian.org>
7469 * sysdeps/generic/segfault.c (install_handler): Use access, not
7472 2001-01-12 Andreas Jaeger <aj@suse.de>
7474 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
7475 * posix/wordexp.c (do_parse_glob): Likewise.
7476 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
7477 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
7478 * elf/dl-open.c (_dl_open): Likewise.
7479 * elf/dl-close.c (_dl_close): Likewise.
7480 * elf/dl-load.c (_dl_map_object): Likewise.
7481 * iconv/iconv_prog.c (process_fd): Likewise.
7482 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
7484 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
7485 of a zero-length array.
7487 2001-01-11 Jakub Jelinek <jakub@redhat.com>
7489 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
7490 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
7491 * stdlib/cxa_on_exit.c: Remove.
7492 * stdlib/Makefile: Revert last patch.
7493 * stdlib/Versions: Likewise.
7494 * include/stdlib.h: Likewise.
7495 * stdlib/exit.h: Revert last patch.
7496 (struct exit_function): Add second argument to cxa fn.
7497 * stdlib/exit.c: Revert last patch.
7498 (exit): Add hidden second argument.
7500 2001-01-11 H.J. Lu <hjl@gnu.org>
7502 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
7503 * elf/dl-open.c (_dl_open): Here.
7504 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
7506 (_dl_static_init): Initialize the variables every time when possible.
7507 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
7510 2001-01-11 Ulrich Drepper <drepper@redhat.com>
7512 * stdlib/Makefile (routines): Add cxa_on_exit.
7513 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
7514 * stdlib/cxa_on_exit.c: New file.
7515 * include/stdlib.h: Add prototype for __cxa_on_exit.
7516 * stdlib/exit.c: Handle ef_cxa2.
7517 * stdlib/exit.h (enum): Add ef_cxa2.
7518 (struct exit_function): Add cxa2.
7520 * Versions.def [ld]: Add GLIBC_2.2.1.
7522 2001-01-10 H.J. Lu <hjl@gnu.org>
7524 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
7525 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
7527 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
7528 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
7529 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
7530 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
7531 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
7533 2001-01-11 Ulrich Drepper <drepper@redhat.com>
7535 * libio/stdio.h: Remove definition of off_t.
7537 2001-01-11 Andreas Jaeger <aj@suse.de>
7539 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
7542 2001-01-10 Ulrich Drepper <drepper@redhat.com>
7544 * sunrpc/Makefile (distribute): Add errqueue.h.
7546 2001-01-10 H.J. Lu <hjl@gnu.org>
7548 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
7549 r9, r10 and r11 for language specific registers.
7551 2001-01-10 Jakub Jelinek <jakub@redhat.com>
7553 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
7555 (clntudp_call): Handle MSG_ERRQUEUE.
7556 * sysdeps/generic/errqueue.h: New file.
7557 * sysdeps/unix/sysv/linux/errqueue.h: New file.
7559 2001-01-10 H.J. Lu <hjl@gnu.org>
7561 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
7563 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
7565 * CONFORMANCE: Update.
7567 2001-01-09 Ulrich Drepper <drepper@redhat.com>
7569 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
7570 Minimal cleanups. Add assert to ensure memory handling is correct.
7572 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
7573 Reported by Ben Collins <bcollins@debian.org>.
7575 * time/strftime.c (my_strftime): Mark previous GNU extensions
7576 which are now in C99 as such.
7578 2001-01-08 Ulrich Drepper <drepper@redhat.com>
7580 * elf/rtld.c (process_envvars): Place output files for profiling
7581 in SUID binaries in /var/profile.
7583 * elf/dl-load.c (_dl_map_object): Don't look in cache for
7584 preloading in SUID binaries.
7586 * elf/dl-profile.c (_dl_start_profile): Open the output file with
7587 O_NOFOLLOW if possible.
7589 * include/stdlib.h: Add __posix_openpt declaration.
7590 * stdlib/stdlib.h: Add posix_openpt declaration.
7591 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
7592 * sysdeps/generic/getpt.c: Define posix_openpt.
7593 * sysdeps/unix/bsd/getpt.c: Likewise.
7594 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
7596 * time/Makefile (tests): Add tst-mktime.
7597 * time/tst-mktime.c: New file.
7599 * posix/tst-dir.c (main): One more mkdir() test.
7601 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
7602 Remove getpagesize syscall. We assume that the pagesize is always
7603 determined from the auxiliary vector.
7605 * intl/dcigettext.c: Fix a few warnings.
7606 Patch by Bruno Haible <haible@ilog.fr>.
7608 2001-01-08 Andreas Jaeger <aj@suse.de>
7610 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
7611 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
7613 2001-01-08 Ulrich Drepper <drepper@redhat.com>
7615 * sysdeps/generic/segfault.c (install_handler): Check output file
7618 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
7619 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
7621 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
7623 * malloc/memusage.c (me): Use access() to determine whether we
7624 should write the output file or not.
7626 * libio/bits/stdio.h (printf): Define macro to map printf call to
7627 fprintf which gcc can optimize.
7628 * stdio-common/printf.c: Undefine printf.
7630 2001-01-07 Ulrich Drepper <drepper@redhat.com>
7632 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
7633 patch. We must use unsigned int for l member of union.
7635 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
7636 _dl_aux_init for shared libraries.
7638 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
7639 * sysdeps/gnu/glob64.c: ...here. New file.
7641 2001-01-07 Ben Collins <bcollins@debian.org>
7643 * manual/examples/longopt.c: Make the "struct option" a little
7644 more like it should be, adding usage of required_argument,
7645 noargument and such, and also setting the options string right.
7647 * manual/sysinfo.texi (Load Average): New section, documents
7650 2001-01-06 Ulrich Drepper <drepper@redhat.com>
7652 * version.h (VERSION): Bump to 2.2.1.
7654 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
7655 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
7656 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
7657 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
7658 * Makefile (distribute): Add include/libc-internal.h.
7659 * libio/Makefile (distribute): Avoid overwriting.
7661 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
7662 buffer and table handling.
7664 2001-01-05 H.J. Lu <hjl@gnu.org>
7666 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
7667 vector checking to ...
7668 (_dl_aux_init): Here. New function. Defined only if
7669 HAVE_AUX_VECTOR is defined.
7671 * sysdeps/generic/libc-start.c (__libc_start_main): Call
7672 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
7674 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
7677 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
7678 (HAVE_AUX_VECTOR): Defined.
7679 (_dl_aux_init): Declared.
7681 2001-01-05 Ben Collins <bcollins@debian.org>
7683 * manual/string.texi (Finding Tokens in a String): Document XPG
7684 basename() and dirname(), as well as GNU basename().
7686 2001-01-05 Jakub Jelinek <jakub@redhat.com>
7688 * Makeconfig (preprocess-version): Replace -traditional with
7689 -x assembler-with-cpp.
7691 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
7693 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
7694 for GCC 2.97 or later.
7696 2001-01-05 Ben Collins <bcollins@debian.org>
7698 * manual/stdio.texi (getline): Clarify the return value in the
7699 case of EOF being reached before a newline.
7701 2001-01-04 Jakub Jelinek <jakub@redhat.com>
7703 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
7705 (pmap_set, pmap_unset): Check __get_myaddress return value.
7707 2001-01-05 Mark Kettenis <kettenis@gnu.org>
7709 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
7710 (struct ether_addr): Declare ether_addr_octet member as
7711 `u_int8_t'. Add __attribute__ ((__packed__)).
7713 2001-01-06 Mark Kettenis <kettenis@gnu.org>
7715 * sysdeps/mach/hurd/readdir64.c: New file.
7716 * sysdeps/mach/hurd/readdir64_r.c: New file.
7718 2001-01-07 Mark Kettenis <kettenis@gnu.org>
7720 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
7721 `struct statfs' and `struct statvfs' being identical.
7722 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
7724 2001-01-06 Mark Kettenis <kettenis@gnu.org>
7726 * sysdeps/mach/hurd/fstatfs64.c: New file.
7727 * sysdeps/mach/hurd/fstatvfs64.c: New file.
7728 * sysdeps/mach/hurd/statfs64.c: New file.
7729 * sysdeps/mach/hurd/statvfs64.c: New file.
7730 * sysdeps/mach/hurd/statfsconv.c: New file.
7731 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
7733 2001-01-06 Ulrich Drepper <drepper@redhat.com>
7735 * iconv/skeleton.c: Reset outbuf for next round of the loop.
7736 Reported by Owen Taylor <otaylor@redhat.com>.
7737 * iconv/Makefile (tests): Add tst-iconv3.
7738 * iconv/tst-iconv3.c: New file.
7740 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
7741 * iconvdata/ibm933.c: Likewise.
7742 * iconvdata/ibm935.c: Likewise.
7743 * iconvdata/ibm937.c: Likewise.
7744 * iconvdata/ibm939.c: Likewise.
7745 * iconvdata/ibm930.h: Adjust single byte table for optimization.
7746 * iconvdata/ibm933.h: Likewise.
7747 * iconvdata/ibm935.h: Likewise.
7748 * iconvdata/ibm939.h: Likewise.
7750 * iconvdata/testdata/IBM930: Add misssing SI.
7751 * iconvdata/testdata/IBM933: Likewise.
7752 * iconvdata/testdata/IBM935: Likewise.
7753 * iconvdata/testdata/IBM937: Likewise.
7754 * iconvdata/testdata/IBM939: Likewise.
7756 2001-01-06 Andreas Jaeger <aj@suse.de>
7758 * configure.in: Check for old add-ons that shouldn't be used with
7759 current glibc anymore.
7761 2001-01-06 Mark Kettenis <kettenis@gnu.org>
7763 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
7764 instead of -1 on failure. Don't forget to copy file name into
7765 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
7768 2001-01-06 Mark Kettenis <kettenis@gnu.org>
7770 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
7771 copy st_atime member.
7773 2001-01-05 Ulrich Drepper <drepper@redhat.com>
7775 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
7776 for searches from the root directory.
7777 Reported by loris <loris@iol.it> [PR libc/1991].
7778 * io/Makefile (tests): Add bug-ftw1.
7779 * io/bug-ftw1.c: New file.
7781 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
7782 if it is not available. Instead use it only if it is available.
7783 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
7785 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
7786 overflowing output buffer.
7787 (internal_ucs4_loop_unaligned): Likewise.
7788 (ucs4_internal_loop): Likewise.
7789 (ucs4_internal_loop_unaligned): Likewise.
7790 (internal_ucs4le_loop): Likewise.
7791 (internal_ucs4le_loop_unaligned): Likewise.
7792 (ucs4le_internal_loop): Likewise.
7793 (ucs4le_internal_loop_unaligned): Likewise.
7794 Reported by Owen Taylor <otaylor@redhat.com>.
7795 * iconv/Makefile (tests): Add tst-iconv2.
7796 * iconv/tst-iconv2.c: New file.
7798 2001-01-04 H.J. Lu <hjl@gnu.org>
7800 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
7801 (_dl_clktck): Declared.
7802 (non_dynamic_init): Take 3 arguments.
7803 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
7805 2001-01-01 Bruno Haible <haible@clisp.cons.org>
7807 Finish implementation of plural form handling.
7808 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
7809 'domainname'. Remove 'plindex' field. Add 'domain' and
7810 'translation_length' fields.
7811 (transcmp): Don't compare 'plindex' fields.
7812 (plural_lookup): New function.
7813 (DCIGETTEXT): Change cache handing in the plural case. Don't call
7814 plural_eval before the translation and its catalog file have been
7815 found. Remove plindex from cache key. Add 'translation_length' and
7816 'domain' to cache result.
7817 (_nl_find_msg): Remove index argument, return length of translation
7818 to the caller instead. Weaken comparison of string lengths, to account
7819 for plural entries. Call iconv() on the entire result string, not
7820 only on the portion needed so far.
7821 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
7823 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
7825 2001-01-04 Ulrich Drepper <drepper@redhat.com>
7827 * intl/plural.y (yylex): Minimal improvement in number scanner.
7829 2000-07-31 Bruno Haible <haible@clisp.cons.org>
7831 * intl/plural.y: Include config.h. Needed to define 'inline' away for
7832 C compilers that don't support it.
7833 (yylex): Don't use gcc specific case range syntax.
7834 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
7837 2000-10-12 Bruno Haible <haible@clisp.cons.org>
7839 * intl/finddomain.c: Remove unneeded includes.
7841 2000-10-12 Bruno Haible <haible@clisp.cons.org>
7843 * intl/localealias.c (memcpy): Return first argument, just like the
7844 real memcpy function does.
7845 * intl/bindtextdom.c (memcpy): Likewise.
7846 * intl/finddomain.c (memcpy): Likewise.
7847 * intl/l10nflist.c (memcpy): Likewise.
7848 * intl/textdomain.c (memcpy): Likewise.
7849 From Paul Eggert <eggert@twinsun.com>.
7851 2001-01-03 Jakub Jelinek <jakub@redhat.com>
7853 * resolv/resolv.h (struct __res_state): Add nsinit field.
7854 * resolv/res_send.c (res_nsend): Use it instead of nscount.
7855 * resolv/res_init.c (__res_vinit): Initialize it.
7856 (res_nclose): Clear it instead of nscount.
7858 2001-01-04 Ulrich Drepper <drepper@redhat.com>
7860 * malloc/mtrace.pl: Fix matching of addresses.
7861 Patch by Aharon Robbins <arnold@skeeve.com>.
7863 * Versions.def (ld): Add GLIBC_2.2.
7865 * catgets/gencat.c: Copyright 2001.
7866 * csu/version.c: Likewise.
7867 * debug/catchsegv.sh: Likewise.
7868 * debug/xtrace.sh: Likewise.
7869 * elf/ldconfig.c: Likewise.
7870 * elf/sprof.c: Likewise.
7871 * iconv/iconv_prog.c: Likewise.
7872 * locale/locale.c: Likewise.
7873 * locale/localedef.c: Likewise.
7874 * malloc/memusage.sh: Likewise.
7875 * malloc/mtrace.pl: Likewise.
7876 * nscd/nscd.c: Likewise.
7877 * posix/getconf.c: Likewise.
7879 2001-01-04 Mark Kettenis <kettenis@gnu.org>
7881 * include/stdio.h: Only provide __getwc_unlocked prototype if
7882 USE_IN_LIBIO is defined.
7884 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7886 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
7889 2001-01-03 Andreas Schwab <schwab@suse.de>
7891 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
7892 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
7894 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
7895 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
7897 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
7898 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
7901 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
7903 * sysdeps/generic/strtol_l.c: Likewise.
7904 * sysdeps/generic/strtoul_l.c: Likewise.
7905 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
7907 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
7908 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
7909 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
7910 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
7912 2001-01-04 Andreas Jaeger <aj@suse.de>
7914 * nss/nsswitch.c: Include files for missing prototypes, remove
7915 buggy declaration of prototypes.
7917 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7919 * resolv/Versions: Fix bracing.
7920 * sysdeps/powerpc/soft-fp/Versions: Likewise.
7921 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
7923 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7925 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
7927 2001-01-02 Ulrich Drepper <drepper@redhat.com>
7929 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
7930 Suggested by Minko Markov <mmarkov@home.com>.
7932 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7934 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
7935 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
7937 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
7939 2001-01-02 Ben Collins <bcollins@debian.org>
7941 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
7942 if TZ is not set and TZDEFAULT is not present.
7944 2001-01-01 Ben Collins <bcollins@debian.org>
7946 * string/strings.h: Make sure we declare our functions even if
7947 string.h is already included, based on whether or not __USE_BSD is
7950 2001-01-02 Ulrich Drepper <drepper@redhat.com>
7952 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
7953 other dlopen() and dlsym().
7954 Based on a patch by Ben Collins <bcollins@debian.org>.
7956 2001-01-02 Andreas Jaeger <aj@suse.de>
7958 * dlfcn/errmsg1.c (main): Call dlerror initially.
7959 Reported by Ben Collins <bcollins@debian.org>.
7961 2001-01-02 Ulrich Drepper <drepper@redhat.com>
7963 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
7964 value is ignored if the selected locale is the C locale.
7965 * intl/tst-gettext.c: Set locale for above change.
7966 * intl/tst-translit.c: Likewise.
7968 2001-01-02 Andreas Jaeger <aj@suse.de>
7970 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
7971 (_IO_switch_to_wget_mode): Likewise.
7972 (_IO_sputbackwc): Likewise.
7973 (_IO_sungetwc): Use wint_t for result.
7975 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
7977 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
7980 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
7981 to (int) to avoid warnings.
7982 * stdio-common/printf_fp.c (putc): Likewise.
7983 * stdio-common/printf_size.c (putc): Likewise.
7985 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
7988 2001-01-01 Andreas Jaeger <aj@suse.de>
7990 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
7992 2000-12-31 Andreas Jaeger <aj@suse.de>
7994 * include/libc-internal.h: Add prototype for __libc_freeres.
7996 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
7997 for prototypes, remove redundant prototypes.
7998 * gmon/gmon.c: Likewise.
7999 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
8000 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
8001 * malloc/mtrace.c: Likewise.
8003 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
8005 * elf/soinit.c: Likewise.
8006 * sysdeps/generic/prof-freq.c: Likewise.
8007 * sysdeps/mach/hurd/profil.c: Likewise.
8008 * debug/noophooks.c: Likewise.
8009 * debug/pcprofile.c: Likewise.
8010 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
8011 * sysdeps/generic/get_clockfreq.c: Likewise.
8012 * malloc/set-freeres.c: Likewise.
8014 * locale/localeinfo.h: Add internal prototypes.
8016 * elf/rtld.c (dl_main): Fix prototype.
8018 * iconvdata/tst-table-to.c (main): Use return instead of exit to
8021 * nis/rpcsvc/yp_prot.h: Remove __P.
8022 * nis/rpcsvc/ypupd.h: Likewise.
8023 * nis/rpcsvc/yp.h: Likewise.
8025 * sunrpc/rpc_main.c: Add noreturn attributes.
8026 * sunrpc/rpc_scan.h: Likewise.
8028 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
8030 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
8032 * sunrpc/proto.h: Add noreturn attributes to error and crash.
8034 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
8036 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
8038 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
8040 * include/rpc/rpc_msg.h: Add prototypes for some functions.
8041 * include/rpc/auth.h: Likewise.
8042 * include/rpc/auth_des.h: Likewise.
8043 * include/rpc/clnt.h: Likewise.
8044 * include/rpc/rpc.h: Likewise.
8045 * include/rpc/svc.h: Likewise.
8046 * include/rpc/svc_auth.h: Likewise.
8048 * include/rpc/des_crypt.h: New file.
8050 * malloc/memusagestat.c (main): Use return instead of exit to
8052 * io/pwd.c (main): Likewise.
8053 * iconvdata/tst-table-from.c (main): Likewise.
8054 * ctype/test_ctype.c (main): Likewise.
8055 * setjmp/tst-setjmp.c (main): Likewise.
8056 * signal/tst-signal.c (main): Likewise.
8057 * stdlib/tst-strtol.c (main): Likewise.
8058 * stdlib/tst-strtod.c (main): Likewise.
8059 * stdlib/tst-strtoll.c (main): Likewise.
8060 * stdlib/tst-xpg-basename.c (main): Likewise.
8061 * dirent/tst-seekdir.c (main): Likewise.
8062 * grp/testgrp.c (main): Likewise.
8063 * inet/test_ifindex.c (main): Likewise.
8064 * io/test-utime.c (main): Likewise.
8065 * posix/test-vfork.c (main): Likewise.
8066 * posix/testfnm.c (main): Likewise.
8067 * stdio-common/temptest.c (main): Likewise.
8068 * stdio-common/test_rdwr.c (main): Likewise.
8069 * stdio-common/tst-fileno.c (main): Likewise.
8070 * stdio-common/tst-sscanf.c (main): Likewise.
8071 * stdio-common/tstscanf.c (main): Likewise.
8072 * string/bug-strncat1.c (main): Likewise.
8073 * string/bug-strpbrk1.c (main): Likewise.
8074 * string/bug-strspn1.c (main): Likewise.
8075 * string/test-ffs.c (main): Likewise.
8076 * string/tst-inlcall.c (main): Likewise.
8077 * string/tst-svc.c (main): Likewise.
8078 * timezone/test-tz.c (main): Likewise.
8079 * wctype/test_wcfuncs.c (main): Likewise.
8080 * wctype/test_wctype.c (main): Likewise.
8082 * stdlib/tst-random.c: Add attribute noreturn to fail.
8084 2000-12-28 Wolfram Gloger <wg@malloc.de>
8086 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
8087 destination overlap. Assume dest is always below source if
8090 2000-12-30 Ulrich Drepper <drepper@redhat.com>
8092 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
8093 object was not yet initialized.
8095 2000-12-28 H.J. Lu <hjl@gnu.org>
8097 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
8098 is always consistent even if its dependency is failed.
8100 * elf/dl-open.c (_dl_open): Increment the open count before
8101 calling _dl_close () in case of failure.
8103 * elf/neededtest4.c: New file.
8104 * elf/neededobj5.c: New file.
8105 * elf/neededobj6.c: New file.
8107 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
8108 (tests): Add neededtest4.
8109 (modules-names): Add neededobj5 and neededobj6.
8110 ($(objpfx)neededobj6.so): New target.
8111 ($(objpfx)neededtest4): New target.
8112 ($(objpfx)neededtest4.out): New target.
8114 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
8116 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
8117 * stdlib/monetary.h: Add strfmon format attributes.
8119 2000-12-28 Roland McGrath <roland@frob.com>
8121 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
8122 __mempcpy does it for us.
8124 2000-12-28 Andreas Jaeger <aj@suse.de>
8126 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
8128 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
8131 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
8134 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
8137 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
8138 __chown_is_lchown and __real_chown.
8140 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
8143 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
8144 up GCC's warning about "deprecated use of label at end of compound
8146 * sunrpc/rpc_cout.c (emit_inline): Likewise.
8148 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
8150 Remove struct bb and __bb_head since those are declared by
8153 2000-12-22 Ben Collins <bcollins@debian.org>
8155 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
8157 * manual/argp.texi: Document argp_domain as part of struct argp.
8159 2000-12-28 Andreas Jaeger <aj@suse.de>
8161 * catgets/Makefile (generated): Add sample.SJIS.cat.
8163 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
8165 * elf/dl-minimal.c: Add prototypes.
8167 * include/locale.h: Add internal prototypes.
8168 * include/sys/gmon.h: Likewise.
8170 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
8172 2000-12-27 Ben Collins <bcollins@debian.org>
8174 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
8175 when reallocating the error strings.
8176 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
8178 2000-12-27 Ulrich Drepper <drepper@redhat.com>
8180 * dlfcn/Makefile (tests): Add errmsg1.
8181 (modules-names): Add errmsg1mod.
8182 Add rules to run errmsg1.
8183 * dlfcn/errmsg1.c: New file.
8184 * dlfcn/errmsg1mod.c: New file.
8186 * dlfcn/dlerror.c (dlerror): Always create output string which
8187 includes object file name.
8189 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
8190 if we would go through it only once.
8191 Patch by Rick Gorton <rick.gorton@api-networks.com>.
8193 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
8194 Patch by Richard Henderson <rth@redhat.com>.
8196 2000-12-27 Jakub Jelinek <jakub@redhat.com>
8198 * malloc/malloc.c (memmove): Add prototypes.
8199 (MALLOC_MEMMOVE): Define.
8200 (chunk_realloc): Use it instead of MALLOC_COPY if source and
8201 destination might overlap.
8203 2000-12-27 Andreas Jaeger <aj@suse.de>
8205 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
8207 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8208 * locale/programs/locale.c (show_locale_vars): Likewise.
8209 (show_info): Likewise.
8210 * locale/programs/ld-collate.c (collate_output): Likewise.
8211 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
8212 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8213 * stdlib/rpmatch.c (rpmatch): Likewise.
8215 * setjmp/tst-setjmp.c: Make local functions static.
8216 * setjmp/jmpbug.c: Likewise.
8217 * signal/tst-signal.c: Likewise.
8218 * stdio-common/tfformat.c: Likewise.
8219 * string/tst-svc.c: Likewise.
8220 * time/clocktest.c: Likewise.
8221 * time/tst-getdate.c: Likewise.
8222 * dirent/list.c: Likewise.
8223 * dirent/opendir-tst1.c: Likewise.
8224 * posix/runtests.c: Likewise.
8225 * posix/tst-getaddrinfo.c: Likewise.
8226 * posix/tst-chmod.c: Likewise.
8227 * posix/wordexp-test.c: Likewise.
8228 * misc/tst-efgcvt.c: Likewise.
8229 * timezone/tst-timezone.c: Likewise.
8230 * rt/tst-clock.c: Likewise.
8231 * rt/tst-shm.c: Likewise.
8232 * rt/tst-aio2.c: Likewise.
8233 * rt/tst-aio3.c: Likewise.
8234 * rt/tst-aio4.c: Likewise.
8235 * rt/tst-aio5.c: Likewise.
8237 * dlfcn/failtest.c: Add prototype for foo.
8239 * dlfcn/glrefmain.c: Add prototype for do_test.
8241 * dlfcn/tst-dladdr.c: Add prototype for do_test.
8243 * string/test-ffs.c (main): Add prototype for nested function.
8245 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
8247 * nss/XXX-lookup.c: Add prototype to shut up GCC.
8249 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
8250 setetherent prototype.
8251 Add internal interfaces.
8253 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
8254 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
8256 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
8258 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
8260 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
8261 prototypes, remove struct etherent since it's declared in ether.h.
8262 Fix ntohost declaration.
8264 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
8266 * include/getopt.h: Add internal interfaces.
8267 * include/termios.h: Likewise.
8268 * include/resolv.h: Likewise.
8269 * include/netdb.h: Likewise.
8270 * include/grp.h: Likewise.
8271 * include/pwd.h: Likewise.
8272 * include/shadow.h: Likewise.
8273 * include/rpc/netdb.h: Likewise.
8274 * include/setjmp.h: Likewise.
8276 * include/stdio.h: Add prototypes for compatibility functions.
8277 * include/grp.h: Likewise.
8278 * include/pwd.h: Likewise.
8279 * include/shadow.h: Likewise.
8281 * include/fenv.h: Define internal interfaces.
8283 2000-12-27 Ulrich Drepper <drepper@redhat.com>
8285 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
8286 argument case separately.
8287 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
8289 2000-12-27 Andreas Jaeger <aj@suse.de>
8291 * include/sys/wait.h: Add some prototypes.
8292 * Rules (dummy.c): Create also prototype to shut up GCC.
8294 2000-12-27 Andreas Jaeger <aj@suse.de>
8296 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
8297 it's not needed at the moment.
8298 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
8299 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
8301 2000-12-26 Andreas Jaeger <aj@suse.de>
8303 * libio/getc_u.c: Include stdio.h via system path to get internal
8305 * libio/getwc_u.c: Likewise.
8307 * stdlib/strfmon.c: Fix prototype of __printf_fp.
8309 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
8310 __printf_fp prototypes to ...
8311 * include/printf.h: ...here.
8313 * include/stdio.h: Add some internal prototypes to shut up GCC.
8314 * include/stdlib.h: Likewise.
8316 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
8319 * include/signal.h: Add prototypes for internal sigpause
8322 2000-12-26 Ulrich Drepper <drepper@redhat.com>
8324 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
8325 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
8327 * string/Makefile (tests): Add tst-bswap.
8328 * string/tst-bswap.c: New file.
8330 2000-12-11 Bruno Haible <haible@clisp.cons.org>
8332 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
8334 2000-12-26 Ulrich Drepper <drepper@redhat.com>
8336 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
8337 Patch by Ed Connell <Ed.Connell@sas.com>.
8339 2000-12-24 Ulrich Drepper <drepper@redhat.com>
8341 * locale/iso-639.def: Correct one entry. Add two missing entries.
8343 * locale/iso-4217.def: Change entry for Eritrea.
8344 Reported by Daniel Yacob <yacob@geez.org>.
8346 2000-12-23 Ben Collins <bcollins@debian.org>
8348 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
8351 * manual/stdio.texi (Dynamic Output): Document the return value of
8352 asprintf. Also make the asprintf/snprintf examples a little
8353 better (check for some error returns).
8355 2000-12-22 Andreas Jaeger <aj@suse.de>
8357 * include/stdio.h: Add __ftrylockfile prototype.
8359 2000-12-21 H.J. Lu <hjl@gnu.org>
8361 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
8362 Make sign_exponent element signed.
8364 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
8367 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
8369 2000-12-21 Andreas Jaeger <aj@suse.de>
8371 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
8372 * inet/ether_hton.c: Likewise
8373 * inet/ether_ntoh.c: Likewise.
8375 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
8376 declaration to match prototype.
8378 * include/netinet/ether.h (struct etherent): Declare here so that
8379 all implementations use the same struct.
8381 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
8383 (struct ether): Removed.
8384 Use struct etherent instead of ether everywhere.
8386 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
8388 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
8390 * sunrpc/publickey.c: Include auth_des.h for prototypes.
8392 2000-12-20 Ulrich Drepper <drepper@redhat.com>
8394 * math/test-misc.c: Add more tests for nextafter functions.
8396 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
8397 normal correctly. Correct test for sign.
8398 Based on a patch by HJ Lu.
8400 2000-12-19 Ulrich Drepper <drepper@redhat.com>
8402 * Makeconfig (preprocess-version): Add -traditional to gcc call.
8405 2000-12-19 Andreas Jaeger <aj@suse.de>
8407 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
8409 * nis/nis_intern.h: Add prototype for __do_niscall3.
8411 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
8414 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
8416 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
8418 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
8420 2000-12-18 Ulrich Drepper <drepper@redhat.com>
8422 * math/test-misc.c: Add more tests for nextafter.
8423 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
8424 * sysdeps/ieee754/ldbl-96/math_ldbl.h
8425 (ieee_long_double_shape_type): Make sign_exponent element signed.
8427 * manual/message.texi: Add Estonian to plural overview list.
8428 Correct rule for Slavic languages.
8429 Patch by Stanislav Brabec <utx@penguin.cz>.
8431 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
8433 2000-12-18 Andreas Jaeger <aj@suse.de>
8435 * test-skeleton.c: Use temp_name_list instead of name_list to
8436 avoid collision with name_list from inet/netgroup.h.
8438 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
8440 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
8441 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
8442 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
8443 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
8445 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
8446 declaration to match prototype.
8447 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
8448 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
8449 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
8451 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
8452 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
8453 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
8454 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
8455 (_nss_nis_getservbyport_r): Likewise.
8456 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
8457 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
8458 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
8459 (_nss_nis_setnetent): Likewise
8460 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8461 (_nss_nis_endnetgrent): Likewise.
8462 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
8464 (_nss_nisplus_setnetgrent): Likewise.
8465 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
8466 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
8467 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
8468 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
8470 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
8472 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
8474 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
8476 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
8477 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
8478 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
8479 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
8480 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
8481 (_nss_dns_getnetbyaddr_r): Likewise.
8483 2000-12-17 Andreas Jaeger <aj@suse.de>
8485 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
8488 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
8489 unused attribute to shut up gcc warnings.
8491 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
8492 * sysdeps/generic/k_tanl.c: Likewise.
8493 * sysdeps/generic/k_cosl.c: Likewise.
8494 * sysdeps/generic/e_j0l.c: Likewise.
8495 * sysdeps/generic/e_j1l.c: Likewise.
8496 * sysdeps/generic/e_jnl.c: Likewise.
8497 * sysdeps/generic/e_lgammal_r.c: Likewise.
8499 * elf/vismain.c: Move prototypes for functions in vismod*.c to
8501 * elf/vismod.h: New file.
8502 * elf/Makefile (distribute): Add vismod.h.
8503 * elf/vismod1.c: Include vismod.h.
8504 * elf/vismod2.c: Likewise.
8505 * elf/vismod3.c: Likewise.
8507 * elf/constload3.c: Add prototype declarations to shut up gcc.
8508 * elf/failobj.c: Likewise.
8509 * elf/nodelmod3.c: Likewise.
8510 * elf/filtmod1.c: Likewise.
8511 * elf/filtmod2.c: Likewise.
8512 * elf/reldepmod1.c: Likewise.
8513 * elf/reldepmod2.c: Likewise.
8514 * elf/reldepmod3.c: Likewise.
8515 * elf/reldepmod4.c: Likewise.
8516 * elf/unload2dep.c: Likewise.
8517 * elf/unload2mod.c: Likewise.
8518 * elf/ltglobmod1.c: Likewise.
8519 * elf/pathoptobj.c: Likewise.
8520 * elf/neededobj1.c: Likewise.
8521 * elf/neededobj2.c: Likewise.
8522 * elf/neededobj3.c: Likewise.
8523 * elf/neededobj4.c: Likewise.
8524 * elf/nextmod1.c: Likewise.
8525 * elf/nextmod2.c: Likewise.
8527 * locale/programs/ld-collate.c (collate_finish): Don't use labels
8528 at end of compound statement.
8529 * locale/programs/locale.c (show_info): Likewise.
8530 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
8532 2000-12-16 Jakub Jelinek <jakub@redhat.com>
8534 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
8535 with a pointer not returned by obstack_ functions.
8537 2000-12-16 Ulrich Drepper <drepper@redhat.com>
8539 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
8541 (struct stat64): Likewise.
8542 Reported by Michael Keezer <mkeezer@redhat.com>.
8544 * timezone/asia: Update from tzdata2000h.
8545 * timezone/australasia: Likewise.
8546 * timezone/backward: Likewise.
8547 * timezone/europe: Likewise.
8548 * timezone/northamerica: Likewise.
8549 * timezone/southamerica: Likewise.
8550 * timezone/zone.tab: Likewise.
8552 2000-12-14 Jakub Jelinek <jakub@redhat.com>
8554 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
8555 and dir.stream is NULL, only free dir.content.
8556 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
8557 * io/ftwtest-sh: Test with --early-exit.
8559 2000-12-13 Jakub Jelinek <jakub@redhat.com>
8561 * misc/efgcvt.c (FCVT_MAXDIG): Define.
8562 (FCVT_BUFPTR): New variable.
8563 (fcvt): If fcvt_r returns -1 on the static short buffer,
8564 try to malloc a sufficiently large one and retry.
8565 (free_mem): New function.
8566 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
8567 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
8569 2000-12-15 Ulrich Drepper <drepper@redhat.com>
8571 * misc/dirname.c (dirname): Fix search for second to last slash.
8573 2000-12-13 Andreas Jaeger <aj@suse.de>
8575 * misc/tst-dirname.c (main): Fix typo in test to really use
8576 the examples from Unix98.
8577 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8579 2000-12-09 H.J. Lu <hjl@gnu.org>
8581 * sysdeps/ia64/fpu/s_fabs.S: New file.
8582 * sysdeps/ia64/fpu/s_fabsf.S: New file.
8583 * sysdeps/ia64/fpu/s_fabsl.S: New file.
8585 2000-12-15 Andreas Jaeger <aj@suse.de>
8587 * stdio-common/scanf9.c (main): Reformat and change to avoid
8590 * stdio-common/tstdiomisc.c: Make local functions static.
8591 * stdio-common/tst-printf.c: Likewise.
8593 * elf/constload2.c: Add prototype declarations to shut up gcc.
8594 * elf/dep1.c: Likewise.
8595 * elf/dep2.c: Likewise.
8596 * elf/dep3.c: Likewise.
8597 * elf/dep4.c: Likewise.
8598 * elf/ltglobmod2.c: Likewise.
8600 * libio/fmemopen.c: Make local functions static.
8602 * elf/Makefile (distribute): Added testobj.h.
8604 * elf/testobj.h: New file.
8606 * elf/testobj1.c: Include testobj.h and move prototype
8607 declarations to testobj.h.
8608 * elf/testobj2.c: Likewise.
8609 * elf/testobj3.c: Likewise.
8610 * elf/testobj4.c: Likewise.
8611 * elf/testobj5.c: Likewise.
8612 * elf/testobj6.c: Likewise.
8613 * elf/testobj1_1.c: Likewise.
8614 * elf/preloadtest.c: Likewise.
8616 2000-12-15 Ben Collins <bcollins@debian.org>
8618 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
8619 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
8621 2000-12-14 H.J. Lu <hjl@gnu.org>
8623 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
8624 field in a float is 8 bits, not 11 bits.
8626 2000-12-13 Jakub Jelinek <jakub@redhat.com>
8628 * math/test-misc.c (main): Adjust m for IEEE quad long double.
8630 2000-12-13 Andreas Jaeger <aj@suse.de>
8632 * manual/message.texi (Using gettextized software): Fix typo.
8634 * manual/charset.texi (Converting a Character): Fix mbstouwcs
8636 Patch by Martin Buchholz <martin@xemacs.org>.
8638 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
8639 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8641 2000-12-11 Andreas Jaeger <aj@suse.de>
8643 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
8644 kernel_sigset_t and use it.
8645 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
8647 2000-12-10 Richard Henderson <rth@redhat.com>
8649 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
8650 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
8651 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
8653 2000-12-10 Jakub Jelinek <jakub@redhat.com>
8655 * sysdeps/alpha/htonl.S: Fix a typo.
8657 2000-12-10 Jakub Jelinek <jakub@redhat.com>
8659 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
8661 2000-12-10 Andreas Jaeger <aj@suse.de>
8663 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
8664 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
8665 Drepper <drepper@redhat.com>.
8667 2000-12-09 Andreas Jaeger <aj@suse.de>
8669 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
8671 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
8673 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
8675 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
8678 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
8681 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
8682 * nscd/connections.c (handle_request): Likewise.
8683 * nscd/pwdcache.c (addpwbyname): Likewise.
8684 * nscd/grpcache.c (addgrbyname): Likewise.
8686 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
8688 2000-12-09 Ulrich Drepper <drepper@redhat.com>
8690 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
8692 * Makeconfig (default_cflags): Make -O2 the default for stable
8695 2000-12-08 H.J. Lu <hjl@gnu.org>
8697 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
8698 * sysdeps/ia64/fpu/s_isinf.S: This.
8699 Add a .pred.rel.mutex note to avoid false report.
8701 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
8702 * sysdeps/ia64/fpu/s_isnan.S: This.
8704 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
8705 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
8706 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
8707 * sysdeps/ia64/fpu/s_isinff.S: New file.
8708 * sysdeps/ia64/fpu/s_isinfl.S: New file.
8709 * sysdeps/ia64/fpu/s_isnanf.S: New file.
8710 * sysdeps/ia64/fpu/s_isnanl.S: New file.
8711 * sysdeps/ia64/fpu/s_finite.S: New file.
8712 * sysdeps/ia64/fpu/s_finitef.S: New file.
8713 * sysdeps/ia64/fpu/s_finitel.S: New file.
8714 * sysdeps/ia64/fpu/s_signbit.S: New file.
8715 * sysdeps/ia64/fpu/s_signbitf.S: New file.
8716 * sysdeps/ia64/fpu/s_signbitl.S: New file.
8717 * sysdeps/ia64/fpu/s_copysign.S: New file.
8718 * sysdeps/ia64/fpu/s_copysignf.S: New file.
8719 * sysdeps/ia64/fpu/s_copysignl.S: New file.
8721 2000-12-08 Ulrich Drepper <drepper@redhat.com>
8723 * math/libm-test.inc (main): Fix typos in messages.
8725 * string/stratcliff.c: Add test for rawmemchr.
8727 2000-12-08 Jakub Jelinek <jakub@redhat.com>
8729 * elf/dl-open.c (_dl_open): If objname points right after errstring,
8730 allocate it together with errstring using alloca.
8731 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
8732 to "", because it might point to local stack.
8734 2000-12-05 H.J. Lu <hjl@gnu.org>
8736 * nss/Makefile (routines): Add getnssent and getnssent_r.
8737 * nss/nsswitch.h (__nss_setent): New internal NSS function.
8738 (__nss_endent): Likewise.
8739 (__nss_getent_r): Likewise.
8740 (__nss_getent): Likewise.
8741 * nss/getnssent_r.c: New file.
8742 * nss/getnssent.c: New file.
8743 * nss/getXXent.c (H_ERRNO_VAR): Updated.
8744 (GETFUNC_NAME): Updated to call __nss_getent ().
8745 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
8746 (STAYOPEN_TMPVAR): Updated.
8747 (STAYOPEN_VAR): Updated.
8748 (SETFUNC_NAME): Updated to call __nss_setent ().
8749 (ENDFUNC_NAME): Updated to call __nss_endent ().
8750 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
8752 2000-12-08 Andreas Jaeger <aj@suse.de>
8754 * nscd/dbg_log.h (dbg_log): Correct attribute.
8756 2000-12-08 Jakub Jelinek <jakub@redhat.com>
8758 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
8759 cp + len. Compute where from dirname.
8760 Reported by <jreiser@BitWagon.com>.
8762 2000-12-08 Richard Henderson <rth@twiddle.net>
8764 * sysdeps/alpha/_mcount.S: Fix typo.
8765 * sysdeps/alpha/strncpy.S: Likewise.
8767 * sysdeps/alpha/alphaev6/Implies: New file.
8768 * sysdeps/alpha/alphaev67/Implies: New file.
8769 * sysdeps/alpha/alphaev67/ffs.S: New file.
8770 * sysdeps/alpha/alphaev67/ffsll.S: New file.
8771 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
8772 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
8773 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
8774 * sysdeps/alpha/rawmemchr.S: New file.
8775 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
8776 * sysdeps/alpha/strcpy.S: Likewise.
8779 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
8781 From rick.gorton@alpha-processor.com:
8782 * sysdeps/alpha/alphaev6/memchr.S: New file.
8783 * sysdeps/alpha/alphaev6/memcpy.S: New file.
8784 * sysdeps/alpha/alphaev6/memset.S: New file.
8785 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
8786 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
8787 * sysdeps/alpha/alphaev67/strcat.S: New file.
8788 * sysdeps/alpha/alphaev67/strchr.S: New file.
8789 * sysdeps/alpha/alphaev67/strlen.S: New file.
8790 * sysdeps/alpha/alphaev67/strncat.S: New file.
8791 * sysdeps/alpha/htonl.S: Use a shorter sequence.
8793 2000-12-08 Jakub Jelinek <jakub@redhat.com>
8795 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
8796 Reported by <pspencer@fields.utoronto.ca>.
8798 2000-12-07 Jes Sorensen <jes@linuxcare.com>
8800 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
8801 Pointed out by Hans Boehm.
8803 2000-12-07 H.J. Lu <hjl@gnu.org>
8805 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
8807 2000-12-07 Andreas Jaeger <aj@suse.de>
8809 * misc/error.c: Add format attributes for __error and __error_at_line.
8811 * nscd/dbg_log.h: Add format attribute.
8813 2000-12-08 Ulrich Drepper <drepper@redhat.com>
8815 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
8816 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
8818 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
8820 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
8822 2000-12-06 Ulrich Drepper <drepper@redhat.com>
8824 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
8825 (sysdep_routines): Add uitrunc.
8826 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
8827 Patches by Michael Keezer <mkeezer@redhat.com>.
8829 2000-12-06 Roland McGrath <roland@frob.com>
8831 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
8832 argument data, since it will be used to copy out too (for INOUT).
8833 Reported by Marcus Brinkmann <marcus@gnu.org>.
8835 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
8836 (__ioctl): Use uintptr_t instead of unsigned long int.
8838 2000-12-06 Jim Wilson <wilson@redhat.com>
8840 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
8842 2000-12-06 Ulrich Drepper <drepper@redhat.com>
8844 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
8845 x.5 rounding correctly.
8847 2000-12-06 Mark Kettenis <kettenis@gnu.org>
8849 * stdio-common/perror.c (perror): Conditionalize code dealing with
8850 wide-oriented streams on USE_IN_LIBIO.
8852 2000-12-06 Mark Kettenis <kettenis@gnu.org>
8854 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
8855 as internal_function.
8857 2000-12-05 Ulrich Drepper <drepper@redhat.com>
8859 * sysdeps/alpha/elf/start.S (__data_start): Define.
8861 2000-12-05 H.J. Lu <hjl@gnu.org>
8863 * nss/getXXent_r.c (setup): Change the return type to int.
8865 2000-12-05 Ulrich Drepper <drepper@redhat.com>
8867 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
8868 (sysdep_routines): Add restf and savef.
8869 * sysdeps/unix/sysv/aix/restf.c: New file.
8870 * sysdeps/unix/sysv/aix/savef.c: New file.
8871 Patches by Michael Keezer <mkeezer@redhat.com>.
8873 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
8874 if O_DIRECTORY is not defined.
8875 Patch by Michael Keezer <mkeezer@redhat.com>.
8877 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
8878 Patch by Michael Keezer <mkeezer@redhat.com>.
8880 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
8881 than 4 bytes in escape sequence.
8882 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8884 2000-12-05 Andreas Jaeger <aj@suse.de>
8886 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
8889 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
8891 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
8893 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
8894 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8896 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
8898 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
8899 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
8901 * sysdeps/generic/dl-cache.c: Remove declaration of
8902 _dl_sysdep_read_whole_file.
8904 * elf/dl-load.c (_dl_map_object): Remove declaration of
8905 _dl_load_cache_lookup.
8907 * sysdeps/generic/ldsodefs.h: Add declarations of
8908 _dl_load_cache_lookup, _dl_unload_cache,
8909 _dl_sysdep_read_whole_file, _dl_sysdep_start and
8910 _dl_sysdep_start_cleanup.
8912 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
8915 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
8916 * sysdeps/generic/dl-environ.c: Likewise.
8918 * stdio-common/printf_fp.c: Include <gmp.h> instead of
8920 * math/atest-exp.c: Likewise.
8921 * math/atest-exp2.c: Likewise.
8922 * math/atest-sincos.c: Likewise.
8923 * stdio-common/_itoa.c: Likewise.
8924 * stdio-common/_itowa.c: Likewise.
8926 * include/gmp.h: New file with internal prototypes.
8928 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
8930 * include/setjmp.h: ...here.
8932 * locale/Makefile (routines): Remove codeset_name since it's not
8935 * locale/codeset_name.c: Removed.
8937 2000-12-05 Ulrich Drepper <drepper@redhat.com>
8939 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
8941 2000-12-05 Andreas Jaeger <aj@suse.de>
8943 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
8945 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
8947 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
8950 2000-12-05 Andreas Jaeger <aj@suse.de>
8952 * nss/test-netdb.c: Mark local functions as static to avoid
8954 (main): Use return to silence warning.
8956 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
8958 * stdio-common/test-popen.c: Mark local functions as static to
8960 (main): Use return to silence warning.
8962 * stdlib/testsort.c (compare): Mark as static to avoid warning.
8964 * assert/test-assert.c: Mark local functions as static to avoid
8966 * assert/test-assert-perr.c: Likewise.
8968 * math/libm-test.inc (main): Use return to silence warnings.
8970 2000-12-04 Ulrich Drepper <drepper@redhat.com>
8972 * math/fenv.h: Fix typo in comment.
8974 * math/test-misc.c (main): Add a few more over and underflow tests
8977 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
8978 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8979 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8980 * math/w_scalb.c: Don't use matherr except in SVID mode.
8981 * math/w_scalbf.c: Likewise.
8982 * math/w_scalbl.c: Likewise.
8983 * math/test-misc.c: Add test for NaN and scalbl.
8984 Reported by Fred J. Tydeman <tydeman@tybor.com>.
8986 2000-12-04 Ulrich Drepper <drepper@redhat.com>
8988 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
8989 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
8990 * include/libc-symbols.h (strong_alias): Define special version
8991 for HAVE_ASM_GLOBAL_DOT_NAME.
8992 (weak_alias): Likewise.
8993 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
8994 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
8995 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
8996 getutxline, pututxline, and utmpxname.
8997 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
8998 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
8999 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
9000 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
9001 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
9002 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
9003 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
9004 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
9005 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
9006 Patches by Michael Keezer <mkeezer@redhat.com>.
9008 2000-12-04 H.J. Lu <hjl@gnu.org>
9010 * configure.in: Change --with-oldest-abi=ABI to
9011 --enable-oldest-abi=ABI.
9013 2000-12-02 Bruno Haible <haible@clisp.cons.org>
9015 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
9016 fwprintf instead of fprintf.
9018 2000-12-04 Ulrich Drepper <drepper@redhat.com>
9020 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
9021 DECIMAL_DIG definitions.
9022 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
9023 * sysdeps/generic/bits/mathdef.h: Likewise
9024 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
9025 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
9026 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
9027 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
9028 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
9029 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
9031 2000-12-03 Ulrich Drepper <drepper@redhat.com>
9033 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
9035 * math/atest-exp.c: Mark local functions as static to avoid warnings.
9036 * math/atest-exp2.c: Likewise.
9037 * math/atest-sincos.c: Likewise.
9039 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
9040 Reported by Fred J. Tydeman <tydeman@tybor.com>.
9042 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
9043 the handling of denormalized numbers.
9045 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
9047 * sysdeps/i386/fpu/fpclassifyl.c: New file.
9049 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
9050 pseudo denormal representation of LDBL_MIN.
9052 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
9053 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
9055 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
9056 * iconvdata/jis0208.c: Likewise.
9057 * iconvdata/jis0212.c: Likewise.
9058 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9060 * math/test-misc.c (main): More tests for frexp and some for
9061 fpclassify and isnormal.
9063 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
9065 Reported by Fred J. Tydeman <tydeman@tybor.com>.
9067 * math/test-misc.c (main): Add tests for frexp.
9068 Reported by Fred J. Tydeman <tydeman@tybor.com>.
9069 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
9071 2000-12-02 H.J. Lu <hjl@gnu.org>
9073 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
9076 2000-12-02 Ulrich Drepper <drepper@redhat.com>
9078 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
9079 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9080 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9082 * sysdeps/generic/glob.c: Adjust types of several variables to
9085 2000-12-01 Ulrich Drepper <drepper@redhat.com>
9087 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
9089 2000-11-30 Roland McGrath <roland@frob.com>
9091 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
9092 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
9093 allow multiple instances using the same function name in one file.
9095 2000-12-01 Ulrich Drepper <drepper@redhat.com>
9097 * configure.in: Correct test for pserver CVS access.
9099 2000-11-28 H.J. Lu <hjl@gnu.org>
9101 * libio/libio.h: Remove extra "#if ... #endif".
9103 2000-11-29 H.J. Lu <hjl@gnu.org>
9105 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
9107 2000-12-01 H.J. Lu <hjl@gnu.org>
9109 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
9110 * nss/getXXent_r.c: Likewise.
9111 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9113 2000-11-30 H.J. Lu <hjl@gnu.org>
9115 * scripts/abi-versions.awk (oldest_abi): New variable.
9116 Handle the oldest ABI supported.
9118 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
9119 for scripts/abi-versions.awk.
9121 * configure.in: Add --with-oldest-abi=ABI.
9122 * configure: Rebuild.
9124 * config.make.in (oldest-abi): New.
9126 * config.h.in (GLIBC_OLDEST_ABI): New.
9128 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
9130 2000-11-30 Jakub Jelinek <jakub@redhat.com>
9132 * locale/setlocale.c (setname): Free for all categories, not just
9134 (setlocale): Store a copy of string passed by user, not the string
9137 2000-11-30 Roland McGrath <roland@frob.com>
9139 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
9140 rather than _hurd_fd_subinit, so it happens after it's safe to use
9141 libc facilities like malloc.
9143 2000-11-28 Andreas Jaeger <aj@suse.de>
9145 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
9146 declaration, adjust declaration of __syscall_getdents to match
9149 2000-11-29 H.J. Lu <hjl@gnu.org>
9151 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
9153 2000-11-29 Andreas Jaeger <aj@suse.de>
9155 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
9157 2000-11-28 Ulrich Drepper <drepper@redhat.com>
9159 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
9160 * dlfcn/defaultmod2.c: Likewise.
9161 * dlfcn/dlopen.c: Likewise.
9162 * dlfcn/dlopenold.c: Likewise.
9163 * dlfcn/failtestmod.c: Likewise.
9164 * dlfcn/glreflib1.c: Likewise.
9165 * dlfcn/glreflib2.c: Likewise.
9166 * dlfcn/eval.c: Likewise. Add attributes.
9168 * ctype/ctype-extn.c: Define isblank and not __isblank.
9170 * time/strftime.c: Add const where necessary to avoid warnings.
9171 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
9173 2000-11-22 Paul Eggert <eggert@twinsun.com>
9175 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
9176 size of (size_t) -1; it's not portable.
9178 2000-11-28 Ulrich Drepper <drepper@redhat.com>
9180 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
9182 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
9184 2000-11-14 Jes Sorensen <jes@linuxcare.com>
9186 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
9188 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
9189 _mcount is required by profiled binaries.
9191 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
9192 * sysdeps/ia64/machine-gmon.h: ...here.
9194 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
9196 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
9197 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
9199 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
9201 * iconvdata/ibm922.c: New file.
9202 * iconvdata/ibm922.h: New file.
9203 * iconvdata/ibm1124.c: New file.
9204 * iconvdata/ibm1124.h: New file.
9205 * iconvdata/ibm1129.c: New file.
9206 * iconvdata/ibm1129.h: New file.
9207 * iconvdata/testdata/IBM922: New file.
9208 * iconvdata/testdata/IBM922..UTF8: New file.
9209 * iconvdata/testdata/IBM1124: New file.
9210 * iconvdata/testdata/IBM1124..UTF8: New file.
9211 * iconvdata/testdata/IBM1129: New file.
9212 * iconvdata/testdata/IBM1129..UTF8: New file.
9214 2000-11-28 Ulrich Drepper <drepper@redhat.com>
9216 * catgets/gencat.c (normalize_line): Take extra parameter with escape
9217 character. Change callers.
9218 (open_conversion): Determine mapping of 0x5c as wchar_t value.
9219 * catgets/Makefile: Add rules to build and run test-gencat.
9220 * catgets/sample.SJIS: New file.
9221 * catgets/test-gencat.c: New file.
9222 * catgets/test-gencat.sh: New file.
9223 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9225 2000-11-28 Andreas Jaeger <aj@suse.de>
9227 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
9230 2000-11-28 Ulrich Drepper <drepper@redhat.com>
9232 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
9234 2000-11-28 Andreas Jaeger <aj@suse.de>
9236 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
9238 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
9241 2000-11-27 Ulrich Drepper <drepper@redhat.com>
9243 * misc/getusershell.c: Make strings in okshells array const.
9244 * misc/regexp.c: Add const to cast to avoid warnings.
9245 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
9246 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
9248 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
9250 * misc/error.c: Add prototypes for __error and __error_at_line.
9251 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
9252 statement to avoid warning.
9253 * test-skeleton.c: Mark timeout_handler with noreturn.
9254 * iconv/skeleton.c (get16u): Add const to cast.
9256 * iconvdata/gb18030.c: Likewise.
9257 * iconvdata/iso-2022-cn-ext.c: Likewise.
9258 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
9259 * iconvdata/big5.c: Likewise.
9260 * iconvdata/big5hkscs.c: Likewise.
9261 * iconvdata/iso_6937.c: Likewise.
9262 * iconvdata/iso_6937-2.c: Likewise.
9263 * iconvdata/t.61.c: Likewise.
9264 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
9265 * iconvdata/unicode.c: Likewise.
9266 * iconvdata/utf-16.c: Likewise.
9267 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
9268 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
9269 with little code shuffling.
9271 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
9272 the problems introduced when the user selects -O3.
9274 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
9275 * misc/sys/cdefs.h: Define __flexarr.
9276 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
9278 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
9279 * iconv/skeleton.c: Likewise.
9280 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
9281 * iconv/loop.c (get16): Add const to cast.
9284 2000-11-27 Andreas Jaeger <aj@suse.de>
9286 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
9288 * login/programs/utmpdump.c (print_entry): Likewise.
9290 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
9292 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
9293 in a single asm as they may be used to access other stored
9295 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
9297 2000-11-27 Andreas Jaeger <aj@suse.de>
9299 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
9300 * rt/tst-aio64.c: Likewise.
9302 2000-11-27 Ulrich Drepper <drepper@redhat.com>
9304 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
9306 (libc.cat): Likewise.
9307 * catgets/gencat.c: Implement handling of message catalogs encoded
9308 with stateful character sets.
9309 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9311 2000-11-26 Ulrich Drepper <drepper@redhat.com>
9313 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
9315 * inet/getnameinfo.c: Adjust casts to avoid warnings.
9316 * inet/rcmd.c: Likewise.
9317 * inet/ruserpass.c: Likewise.
9318 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
9319 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9320 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
9321 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
9322 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
9323 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
9324 * include/aliases.h: Add prototypes for internal __getalias* functions.
9325 * include/netdb.h: Add prototypes for __old_gethostent_r,
9326 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
9327 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
9328 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
9329 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
9330 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
9331 __old_getrpcbynumber_r, __old_getrpcent_r.
9333 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
9334 __getrpcent_r prototypes.
9336 2000-11-25 Ulrich Drepper <drepper@redhat.com>
9338 * string/strcoll.c: Add casts to avoid warnings.
9339 * string/strnlen.c: Likewise.
9340 * string/strxfrm.c: Likewise.
9341 * sysdeps/generic/_strerror.c: Likewise.
9342 * sysdeps/generic/memrchr.c: Likewise.
9343 * sysdeps/generic/strcasestr.c: Likewise.
9344 * sysdeps/generic/strstr.c: Likewise.
9346 * locale/weight.h (findidx): Add const to cast to avoid warning.
9348 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
9349 * elf/loadtest.c: Likewise.
9350 * elf/multiload.c: Likewise.
9351 * elf/next.c: Likewise.
9352 * elf/nodelete.c: Likewise.
9353 * elf/noload.c: Likewise.
9354 * elf/order.c: Likewise.
9355 * elf/origtest.c: Likewise.
9356 * elf/preloadtest.c: Likewise.
9357 * elf/restest1.c: Likewise.
9359 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
9360 parameter of asm must be in %ecx.
9362 * string/tester.c: Mark test functions as static to avoid warnings.
9364 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
9365 preserve value over different gconv-modules files.
9367 2000-11-24 Ulrich Drepper <drepper@redhat.com>
9369 * locale/findlocale.c: Add casts to avoid warnings.
9370 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
9371 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
9373 * misc/tsearch.c (const_node): New type.
9374 (trecurse): Correct casts to avoid warnings.
9375 (__twalk): Likewise.
9376 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
9379 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
9381 * test-skeleton.c: Mark local functions as static to avoid warnings.
9383 2000-11-23 H.J. Lu <hjl@gnu.org>
9385 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
9386 support the background job.
9389 2000-11-24 Ulrich Drepper <drepper@redhat.com>
9391 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
9392 has same names but lower cost.
9394 2000-11-23 Jakub Jelinek <jakub@redhat.com>
9396 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
9397 which never occur during bootstrap.
9398 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9400 2000-11-23 Andreas Jaeger <aj@suse.de>
9402 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
9404 * nss/Versions: Remove _nss_files_getipnodebyname_r.
9406 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
9408 2000-11-18 Martin Buchholz <martin@xemacs.org>
9410 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
9413 2000-11-21 Alan Modra <alan@linuxcare.com.au>
9415 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
9417 * csu/abi-note.S: Correct comment for operating system number.
9419 2000-11-22 Ulrich Drepper <drepper@redhat.com>
9421 * Versions.def: Add GLIBC_2.2.1 for glibc.
9423 2000-11-22 Andreas Schwab <schwab@suse.de>
9425 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
9426 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
9428 2000-11-22 Ulrich Drepper <drepper@redhat.com>
9430 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
9431 absolute time for pthread_cond_timedwait call.
9432 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
9434 * rt/Makefile (tests): Add tst-aio6.
9435 * rt/tst-aio6.c: New file.
9437 2000-11-23 Andreas Jaeger <aj@suse.de>
9439 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
9441 2000-11-22 Andreas Jaeger <aj@suse.de>
9443 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
9445 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
9447 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
9449 2000-11-21 Andreas Schwab <schwab@suse.de>
9451 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
9452 * sysdeps/arm/setjmp.S: Likewise.
9453 * sysdeps/arm/fpu/setjmp.S: Likewise.
9454 * sysdeps/i386/setjmp.S: Likewise.
9455 * sysdeps/i386/elf/setjmp.S: Likewise.
9456 * sysdeps/s390/setjmp.S: Likewise.
9457 * sysdeps/s390/elf/setjmp.S: Likewise.
9458 * sysdeps/sh/sh3/setjmp.S: Likewise.
9459 * sysdeps/sh/sh4/setjmp.S: Likewise.
9460 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
9461 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9462 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
9463 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
9465 2000-11-21 Andreas Jaeger <aj@suse.de>
9467 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
9468 NORETURN, fix parameter list.
9470 * string/bug-strncat1.c (main): Fix typo.
9471 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
9473 2000-11-20 Ulrich Drepper <drepper@redhat.com>
9475 * configure.in: Add --enable-all-warnings.
9476 * config.make.in (all-warnings): New variable.
9477 * Makeconfig (+gccwarn): Define with many more warnings if
9478 all-warnings is yes.
9480 2000-11-20 Jakub Jelinek <jakub@redhat.com>
9482 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
9483 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
9484 * malloc/tst-valloc.c (main): Cast valloc return value to long.
9485 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
9486 * math/test-fpucw.c (main): Use %lx in format string, cast
9487 control words to long.
9488 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
9489 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
9490 large that it is unsigned warning.
9492 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
9493 it to long on sparc64.
9495 2000-11-20 Andreas Jaeger <aj@suse.de>
9497 * nscd/nscd.h (termination_handler): Add noreturn attribute.
9498 (receiv_print_stats): Likewise.
9500 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
9502 2000-11-20 Ulrich Drepper <drepper@redhat.com>
9504 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
9506 * csu/gmon-start.c: Always have prototype for __gmon_start.
9507 * csu/version.c: Add prototypes for __libc_print_version and
9509 * iconv/gconv.c: Include gconv_int.h and gconv.h.
9510 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
9512 * iconv/gconv_builtin.h: Add ASCII module definitions.
9513 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
9514 (add_module): Add cast to avoid warning. Rework construction of
9515 strings for new module.
9516 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
9517 (derivation_compare): Likewise.
9518 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
9519 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
9520 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
9521 (struct gconv_alias): Remove const from fromname and toname.
9522 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
9524 (internal_ucs4_loop): Use correct const-ness.
9525 (ucs4_internal_loop): Likewise.
9526 (internal_ucs4le_loop): Likewise.
9527 (ucs4le_internal_loop_single): Likewise.
9528 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
9529 to_idx, to_tbl, winbuf, winbufend const. Change casts in
9530 assignments appropriately.
9531 (struct known_trans): Remove const from fname.
9532 (trans_compare): Make s1 and s2 const.
9533 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
9535 * iconv/skeleton.c: Remove cast in calls of loop functions.
9536 * iconvdata/gconv-modules: Remove US-ASCII definitions.
9537 * iconvdata/iso646.c: Remove US_ASCII support.
9538 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
9539 * include/unistd.h: Add __libc_check_standard_fds prototype.
9540 * string/bits/string2.h (__mempcpy_args): Add const to casts.
9541 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
9543 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
9544 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
9545 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
9547 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
9548 __libc_init_first and _dl_start.
9549 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
9550 (DCIGETTEXT): Make domaindata variable const.
9551 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
9554 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
9556 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
9558 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
9559 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
9562 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
9563 value defined in /usr/include/asm-mips/fcntl.h.
9565 2000-11-18 Ulrich Drepper <drepper@redhat.com>
9567 * stdio-common/Makefile (tests): Add test-vfprintf.
9568 (test-vfprintf-ENV): New variable.
9569 * stdio-common/test-vfprintf.c: New file.
9571 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
9573 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
9574 (tst-mbrtowc-ENV): New variable.
9575 (tst-wcrtomb-ENV): New variable.
9576 * wcsmbs/tst-mbrtowc.c: New file.
9577 * wcsmbs/tst-wcrtomb.c: New file.
9579 2000-11-16 Andreas Jaeger <aj@suse.de>
9581 * manual/install.texi (Tools for Compilation): Update
9582 documentation for GCC 2.95.2.
9584 2000-11-18 Ulrich Drepper <drepper@redhat.com>
9586 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
9587 if IPv4 and IPv6 requests timed out.
9589 2000-11-18 Akim Demaille <akim@epita.fr>
9591 * malloc/obstack.h: Formatting changes.
9592 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
9593 prevents type checking.
9594 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
9595 cast the value to (void *): assigning a `foo *' to a `void *'
9597 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
9599 2000-11-17 Ulrich Drepper <drepper@redhat.com>
9601 * scripts/config.guess: Update from upstream maintainer.
9602 * scripts/config.sub: Likewise.
9604 2000-11-16 Ulrich Drepper <drepper@redhat.com>
9606 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
9607 * libio/freopen64.c (freopen64): Likewise.
9608 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9610 * libio/Makefile: Add rules to build and run test-freopen.
9611 * libio/test-freopen.c: New file.
9612 * libio/test-freopen.sh: New file.
9614 2000-11-15 H.J. Lu <hjl@gnu.org>
9616 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
9617 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
9618 (DL_DT_FINI_ADDRESS): Likewise.
9620 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
9621 return type to ElfW(Addr).
9622 (_dl_function_address): New prototype.
9623 (DL_FUNCTION_ADDRESS): Defined.
9624 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
9625 (DL_DT_FINI_ADDRESS): Likewise.
9627 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
9629 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
9630 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
9632 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
9633 (_dl_function_address): This.
9635 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
9636 function pointer for DT_FINI.
9637 * elf/dl-close.c (_dl_close): Likewise.
9639 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
9640 function pointer for DT_INIT.
9642 2000-11-16 Jakub Jelinek <jakub@redhat.com>
9644 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
9645 end of wexpbuf buffer.
9647 2000-11-16 Andreas Jaeger <aj@suse.de>
9649 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
9650 definition of F_GETLK, F_SETLK, F_SETLKW.
9652 2000-11-16 Andreas Jaeger <aj@suse.de>
9654 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
9657 2000-11-15 Jakub Jelinek <jakub@redhat.com>
9659 * dlfcn/default.c (main): Add test for dladdr of main returning
9660 argv[0] in dli_fname field.
9662 2000-11-15 Jakub Jelinek <jakub@redhat.com>
9664 * Makeconfig (run-program-prefix): Move test-static test into the
9667 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
9668 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
9669 schedule instructions.
9670 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
9671 schedule instructions, fix a bug in copying auxiliary data.
9673 2000-11-15 Ulrich Drepper <drepper@redhat.com>
9675 * manual/startup.texi (Program Arguments): Fix type of main's envp
9677 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
9679 * iconvdata/gconv-modules: Add CP950 alias.
9681 2000-11-13 Jakub Jelinek <jakub@redhat.com>
9683 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
9684 syscall-list.h goal.
9685 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
9687 2000-11-15 Ulrich Drepper <drepper@redhat.com>
9689 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
9691 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
9694 * intl/tst-gettext2.c: Set C locale if setting other locale
9695 failed. Use gettext() not _().
9697 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
9698 successfully loaded a new locale.
9700 2000-11-13 Andreas Jaeger <aj@suse.de>
9702 * configure.in: Require gcc 2.95 or newer.
9704 2000-11-15 Ulrich Drepper <drepper@redhat.com>
9706 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
9707 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
9709 2000-11-11 Jim Meyering <meyering@lucent.com>
9711 * string/strndup.c (strndup): Cast return value to `char *'.
9713 2000-11-15 Jim Meyering <meyering@ascend.com>
9715 * sysdeps/generic/memchr.c: Remove some useless parentheses.
9716 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
9717 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
9718 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
9719 Also #undef __memchr.
9720 Use `weak_alias' only if it's defined.
9722 2000-11-10 H.J. Lu <hjl@gnu.org>
9724 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
9726 2000-11-15 Andreas Jaeger <aj@suse.de>
9728 * elf/chroot_canon.c: Include <stdint.h>.
9730 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
9731 (print_entry): Likewise.
9732 (add_to_cache): Likewise.
9734 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
9736 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
9737 (path_hwcap): Likewise.
9738 (search_dir): Likewise.
9740 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
9742 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
9744 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
9745 (_dl_platform_string): New.
9746 (_DL_HWCAP_PLATFORM): New.
9747 (_dl_string_platform): New.
9748 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
9750 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
9751 (_dl_string_platform): New.
9752 (_DL_HWCAP_PLATFORM): New.
9753 (_dl_platform_string): New.
9755 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
9757 (_DL_HWCAP_COUNT): New.
9758 (_dl_string_platform): New.
9759 (_DL_HWCAP_PLATFORM): New.
9760 (_dl_platform_string): New.
9762 2000-11-14 Ulrich Drepper <drepper@redhat.com>
9764 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
9766 2000-11-14 Andreas Jaeger <aj@suse.de>
9768 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
9770 2000-11-13 Roland McGrath <roland@frob.com>
9772 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
9774 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
9776 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
9777 underrun and make sure the result is null terminated even if there
9778 is no trailing newline.
9780 2000-11-13 Jakub Jelinek <jakub@redhat.com>
9782 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9784 2000-11-10 H.J. Lu <hjl@gnu.org>
9786 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
9788 2000-11-10 Andreas Jaeger <aj@suse.de>
9790 * elf/ldconfig.c (create_links): Fix alloca calculation.
9791 Patch by Ben Collins <bcollins@debian.org>.
9793 2000-11-09 Ulrich Drepper <drepper@redhat.com>
9795 * inet/getnameinfo.c (getnameinfo): Use correct destination
9796 parameter for if_indextoname.
9797 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
9799 2000-11-09 H.J. Lu <hjl@gnu.org>
9801 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
9802 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
9803 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
9806 * time/Versions (GLIBC_2.1): Move getitimer to...
9807 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
9809 2000-11-03 Bruno Haible <haible@clisp.cons.org>
9811 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
9812 "make install", to work around a binary incompatibility between
9813 glibc 2.1 and glibc 2.2 gconv modules.
9815 2000-11-09 Ulrich Drepper <drepper@redhat.com>
9817 * intl/locale.alias: Add thai.
9818 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
9820 2000-11-07 Akim Demaille <akim@epita.fr>
9822 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
9823 argument `data' for consistency with the prototypes.
9825 (obstack_copy, obstack_copy0): Rename the second argument as
9826 `address' for consistency. Qualify it `const'.
9827 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
9828 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
9829 `const' their input argument (`data' or `address').
9830 Adjust the corresponding macros to include `const' in casts.
9832 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9834 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
9837 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9839 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
9842 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9844 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
9845 ai_protocol by internal table if service was not given.
9847 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9849 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
9850 numerical port was specified with protocol without socktype.
9852 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9854 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
9856 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9858 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
9860 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9862 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
9863 sin6_scope_id field.
9865 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9867 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
9869 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9871 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
9873 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9875 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
9876 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
9878 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
9880 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
9881 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
9883 2000-11-09 H.J. Lu <hjl@gnu.org>
9885 * io/Versions (GLIBC_2.1.1): Remove lockf64.
9888 See ChangeLog.11 for earlier changes.