1 2001-08-09 Andreas Jaeger <aj@suse.de>
3 * locale/programs/ld-ctype.c (DEFAULT): Fix expression.
5 (wctype_table_finalize): Use it.
7 (wctype_table_get): Likewise.
9 * configure.in: Add check for GCC 3.x.
11 2001-08-09 Ulrich Drepper <drepper@redhat.com>
13 * libio/wfileops.c (_IO_wfile_seekoff): Don't even try to handle
14 seeking with backup buffer present.
15 Correct determining of internal buffer position.
16 Reset also wide buffers if we reset the internal buffers.
17 * libio/iofwide.c (_IO_fwide): Always determine file offset for wide
19 * libio/ioseekoff.c: Catch one unimplemented case.
20 * libio/ftello.c: Don't abort if the wide stream has backup buffer.
21 * libio/ftello64.c: Likewise.
22 * libio/iofgetpos.c: Likewise.
23 * libio/iofgetpos64.c: Likewise.
24 * libio/ftell.c: Likewise.
25 * libio/Makefile (tests): Add tst-ungetwc2.
26 * libio/tst-ungetwc2.c: New file.
28 2001-08-08 Ulrich Drepper <drepper@redhat.com>
30 * locale/elem-hash.h (elem_hash): Correct stupid mistake and
31 create real hash values now.
32 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
34 * libio/iofgetpos.c (_IO_new_fgetpos): Correct a few problems in
35 the handling of wide streams.
37 * libio/ioungetwc.c (ungetwc): Orient stream first.
38 * libio/Makefile (tests): Add tst-ungetwc1.
39 * libio/tst-ungetwc1.c: New file.
41 * libio/wfileops.c (_IO_wfile_underflow): Remove incorrect test
42 for possible conversion using __codecvt_do_in.
43 * libio/Makefile (tests): Add tst-fgetws.
44 * libio/tst-fgetws.c: New file.
46 * libio/iofgetws.c: Use _IO_ferror_unlocked macros instead of
49 * catgets/open_catalog.c: Rewrite code to assume that the function
50 is called at catopen time and not delayed in catgets.
51 * catgets/catgets.c (catopen): Call __open_catalog and fail if that
53 (catgets): Remove code for delayed opening of catalog.
54 * catgets/catgetsinfo.h: Remove now unnecessary information from
55 struct catalog_info. Change __open_catalog prototype.
56 * catgets/gencat.c: Adjust __open_catalog call.
57 * catgets/test-gencat.c: Stop program if catopen failed.
59 * locale/C-monetary.c (_nl_C_LC_MONETARY): Provide correct value
62 * locale/programs/ld-messages.c (messages_finish): Provide POSIX
63 locale compliant default values for fields without definition.
64 * locale/programs/ld-time.c (time_finish): Likewise.
65 * locale/programs/ld-monetary.c (monetary_finish): Likewise.
67 2001-08-08 Andreas Jaeger <aj@suse.de>
69 * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Fix test for
72 2001-08-07 Ulrich Drepper <drepper@redhat.com>
74 * sysdeps/ia64/memusage.h (GETTIME): Define using hp-timing.h
77 * sysdeps/ia64/hp-timing.h (HP_TIMING_NOW): Fix comment.
79 2001-08-07 Jakub Jelinek <jakub@redhat.com>
81 * malloc/memusage.c (initialized): New variable.
82 (init): If not yet initialized, call me().
83 (me): Do all dlsym calls here.
84 (malloc, realloc, calloc, free): If not yet initialized,
85 call me(). If in the middle of initializing, return NULL or
88 2001-08-07 Jakub Jelinek <jakub@redhat.com>
90 * sysdeps/unix/seekdir.c (seekdir): Set dirp->filepos.
92 * dirent/tst-seekdir.c (main): Check whether telldir right after
93 seekdir returns 2nd argument given to seekdir.
95 2001-08-07 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
97 * dlfcn/Makefile (tststatic-ENV): Add $(common-objpfx) to
100 2001-08-07 Andreas Jaeger <aj@suse.de>
101 Andreas Schwab <schwab@suse.de>
102 Bruno Haible <haible@clisp.cons.org>
104 * locale/programs/3level.h (EMPTY): New macro.
105 (*_get, *_add, *_iterate, *_finalize): Use it instead of ~(uint32_t) 0.
107 2001-08-08 GOTO Masanori <gotom@debian.or.jp>
109 * locale/iso-3166.def: Updates from latest official list.
111 2001-08-07 Andreas Jaeger <aj@suse.de>
113 * stdlib/tst-strtod.c: Disable HUGE_VAL tests for older GCCs.
115 * iconv/gconv_charset.h (upstr): Add unused attribute to avoid warning.
117 * libio/iopopen.c (_IO_new_proc_open): Fix typos, it's _IO_MTSAFE_IO.
118 (_IO_new_proc_close): Likewise.
119 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
120 (_IO_old_proc_close): Likewise.
122 2001-08-06 Ulrich Drepper <drepper@redhat.com>
124 * manual/locale.texi: Add documentation for rpmatch.
125 Patch by Jochen Hein <jochen@jochen.org>.
127 2001-08-06 Jakub Jelinek <jakub@redhat.com>
129 * stdlib/strtod.c (STRTOF): Skip whole infinity, not just inf.
130 * stdio-common/vfscanf.c (__vfscanf): +- can be followed by i in +-Inf.
132 * stdlib/tst-strtod.c (tests): Add Inf tests.
133 * stdio-common/tstscanf.c (main): Add tests for +- before Inf.
135 2001-08-06 Ulrich Drepper <drepper@redhat.com>
137 * locale/weightwc.h (findidx): Change type of i to int32_t.
139 * wcsmbs/wcsmbs-tst1.c (main): Avoid warning. Pretty printing.
141 2001-08-05 Roland McGrath <roland@frob.com>
143 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h (struct dirent): Rename member
145 (struct dirent64): Likewise.
146 (d_fileno): Define as macro.
148 2001-08-04 Roland McGrath <roland@frob.com>
150 * sysdeps/mach/hurd/getrusage.c: Use TASK_EVENTS_INFO if implemented
151 by the microkernel (which it's not).
153 2001-08-04 Ulrich Drepper <drepper@redhat.com>
155 * libio/fileops.c (_IO_new_file_underflow): Don't call
156 _IO_flush_all_linebuffered. This isn't required in any standard.
157 Instead flush only stdout.
158 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
160 2001-08-04 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
162 * dlfcn/Makefile: Add rules for new testcase tststatic.
163 * dlfcn/tststatic.c: New file.
164 * dlfcn/modstatic.c: New file.
166 2001-08-04 Ulrich Drepper <drepper@redhat.com>
168 * manual/summary.awk: Fix value used for FF.
170 * elf/rtld.c: Correct use of __builtin_expect.
172 * elf/dl-close.c: Remove commented-out code.
174 * libio/genops.c (_IO_unbuffer_write): Force streams in narrow
175 orientation so that conversion modules aren't used anymore.
176 * malloc/set-freeres.c: Call _IO_cleanup before running subfreeres
177 functions to avoid using wide streams afterwards.
179 * iconvdata/Makefile: Add rules to build GEORGIAN-PS and
181 * iconvdata/georgian-ps.c: New file.
182 * iconvdata/georgian-academy.c: New file.
183 * iconvdata/gconv-modules: Add entries for GEORGIAN-PS and
185 * iconvdata/tst-tables.sh: Add GEORGIAN-PS and GEORGIAN-ACADEMY.
187 2001-08-03 Ulrich Drepper <drepper@redhat.com>
189 * locale/programs/ld-collate (insert_value): If symbol in order
190 definition does not exist create it as a sequence without
191 associated multibyte and wide representation.
193 2001-07-30 Roland McGrath <roland@frob.com>
195 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start): Diddle
196 syntax so both function and pointer-to-function arguments work right.
198 2001-08-03 Tom Rix <trix@redhat.com>
200 * config.h.in: Add HAVE_XCOFF for AIX.
201 * configure.in: Add --with-xcoff option.
202 * include/libc-symbols.h: Disable the .stabs macros.
204 2001-08-03 Ulrich Drepper <drepper@redhat.com>
206 * iconvdata/8bit-gap.c: Correctly use __builtin_expect.
207 * iconvdata/ansi_x3.110.c: Likewise.
208 * iconvdata/big5.c: Likewise.
209 * iconvdata/euc-cn.c: Likewise.
210 * iconvdata/euc-jp.c: Likewise.
211 * iconvdata/euc-kr.c: Likewise.
212 * iconvdata/gb18030.c: Likewise.
213 * iconvdata/gbbig5.c: Likewise.
214 * iconvdata/gbgbk.c: Likewise.
215 * iconvdata/gbk.c: Likewise.
216 * iconvdata/ibm930.c: Likewise.
217 * iconvdata/ibm932.c: Likewise.
218 * iconvdata/ibm933.c: Likewise.
219 * iconvdata/ibm935.c: Likewise.
220 * iconvdata/ibm939.c: Likewise.
221 * iconvdata/ibm943.c: Likewise.
222 * iconvdata/iso-2022-cn.c: Likewise.
223 * iconvdata/iso-2022-kr.c: Likewise.
224 * iconvdata/iso646.c: Likewise.
225 * iconvdata/iso8859-1.c: Likewise.
226 * iconvdata/iso_6937-2.c: Likewise.
227 * iconvdata/iso_6937.c: Likewise.
228 * iconvdata/johab.c: Likewise.
229 * iconvdata/sjis.c: Likewise.
230 * iconvdata/t.61.c: Likewise.
231 * iconvdata/uhc.c: Likewise.
232 * iconvdata/unicode.c: Likewise.
233 * iconvdata/utf-16.c: Likewise.
234 * iconv/gconv_simple.c: Likewise. Convert assert() in real error
237 * iconvdata/Makefile: Add rules to build KOI8-T module.
238 * iconvdata/koi8-t.c: New file.
239 * iconvdata/gconv-modules: Add entries for KOI8-T.
240 * iconvdata/tst-tables.sh: Add KOI8-T.
242 * locale/iso-639.def: Correct Javanese 2 letter code. Add Tonga.
245 2001-08-02 Ulrich Drepper <drepper@redhat.com>
247 * locale/programs/ld-collate.c (collate_read): Handle collating-element
248 and reorder_after following copy statement correctly.
250 2001-08-02 Andreas Jaeger <aj@suse.de>
252 * libio/bits/stdio.h (printf): Remove printf optimization since
253 GCC 3.0 can optimize printf.
255 2001-08-02 Ulrich Weigand <uweigand@de.ibm.com>
257 * sysdeps/s390/s390-32/memcpy.S: Fixed incorrect use of
258 mvcle introduced by 2001-07-12 change.
259 * sysdeps/s390/s390-64/memcpy.S: Likewise.
261 2001-07-31 Ulrich Drepper <drepper@redhat.com>
263 * sysdeps/unix/sysv/linux/i386/getcontext.S: Don't touch the %gs
264 register so that contexts can be used in different threads.
265 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
266 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
268 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Correct
269 test for cmsg struct size.
270 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Likewise.
272 * sysdeps/unix/sysv/linux/i386/makecontext.S: Remove unnecessary
275 * libio/iopopen.c: Add lock for proc_file_chain access.
276 * libio/oldiopopen.c: Add lock for old_proc_file_chain access.
277 Reported by Padraig Brady <Padraig@linux.ie>.
279 2001-07-31 Andreas Jaeger <aj@suse.de>
281 * sysdeps/unix/sysv/linux/sparc/bits/poll.h (NPOLLFILE): Removed.
282 * sysdeps/unix/sysv/linux/mips/bits/poll.h (NPOLLFILE): Removed.
283 * sysdeps/unix/sysv/linux/m68k/bits/poll.h (NPOLLFILE): Removed.
284 * sysdeps/unix/sysv/linux/bits/poll.h (NPOLLFILE): Removed.
285 * sysdeps/generic/bits/poll.h (NPOLLFILE): Removed.
287 * libio/genops.c (flush_cleanup): Guard list_all_lock to allow
288 compilation without threads.
290 2001-07-30 Ulrich Drepper <drepper@redhat.com>
292 * po/fr.po: Update from translation team.
294 2001-07-30 Andreas Jaeger <aj@suse.de>
296 * sysdeps/ieee754/ldbl-128/e_atanhl.c: New file, contributed by
299 * posix/regex.c: Declare wcs functions only if compiling with
301 Don't use #elif for traditional C.
303 2001-07-29 Mark Kettenis <kettenis@gnu.org>
305 * sysdeps/mach/hurd/recvmsg.c: New file.
306 * sysdeps/mach/hurd/sendmsg.c: New file.
308 2001-07-27 Ulrich Drepper <drepper@redhat.com>
310 * version.h (VERSION): Bump to 2.2.4.
312 * sysdeps/mips/Dist: Remove non-existing files.
313 * sysdeps/mips/mips64/Dist: Likewise.
314 * sysdeps/mips/mipsel/Dist: Removed.
315 * iconv/Makefile (distribute): Add strtab.c and iconvconfig.h.
316 * sysdeps/generic/Dist: Add bits/link.h.
317 * sysdeps/unix/sysv/linux/m68k/Dist: Add sys/procfs.h.
318 * sysdeps/unix/sysv/aix/Dist: Add dl-support.c, dl-addr.c, and
320 * sysdeps/ia64/Dist: Add bits/link.h.
322 * libio/vasprintf.c (_IO_vasprintf): Don't copy uninitialized byte
323 from stream buffer to result buffer.
324 Reported by Michael Meeks <michael@ximian.com>.
326 * libio/Makefile: Add rules to check output of tst-fopenloc and
328 * libio/tst-fopenloc.c: New file.
330 * iconv/gconv_cache.c (__gconv_compare_alias_cache): New function.
331 * iconv/gconv_int.h: Add prototype for __gconv_compare_alias_cache.
332 * iconv/gconv_charset.h: Replace __gconv_lookup_alias prototype with
333 __gconv_compare_alias prototype.
334 * iconv/gconv_db.c (__gconv_lookup_alias): Removed.
335 (__gconv_compare_alias): New function.
336 * locale/findlocale.c (_nl_find_locale): Use __gconv_compare_alias
337 instead of calling __gconv_lookup_alias twice and compare here.
339 2001-07-26 Mark Kettenis <kettenis@gnu.org>
341 * hurd/hurdsig.c (_hurd_internal_post_signal): Fix handling of
342 SA_RESETHAND and SA_NODEFER.
344 2001-07-27 Ulrich Drepper <drepper@redhat.com>
346 * libio/fileops.c (_IO_new_file_fopen): Correctly locate ccs=
347 substring. Don't handle ccs= if no descriptor was allocated.
348 Normalize codeset name before calling __wcsmbs_named_conv.
349 Initialize transliteration elements. Free step data structure.
350 * libio/iofclose.c (_IO_new_fclose): Correct freeing of the step data.
351 * libio/iofwide.c (__libio_translit): Renamed from libio_translit
352 and made public. Various little cleanup changes.
353 * wcsmbs/wcsmbsload.h (struct gconv_fcts): Add towc_nsteps and
355 * wcsmbs/wcsmbsload.c: Add some casts to avoid warnings.
356 (__wcsmbs_gconv_fcts): Initialize towc_nsteps and tomb_nsteps member.
357 (getfct): Take additional parameter with pointer to variable where the
358 number of steps is stored in. Disable code which allows to use more
359 than one step for now. Adjust all callers.
360 (free_mem): New function. Frees data associated with currently
363 * malloc/mtrace.pl: Extract addresses from DSOs.
365 2001-07-26 Ulrich Drepper <drepper@redhat.com>
367 * malloc/mcheck.c (checkhdr): Disable mcheck before reporting an
368 error. Don't run any tests if mcheck is disabled.
370 * elf/dl-support.c (_dl_important_hwcaps): Avoid using malloc
371 early in the program.
373 2001-07-27 Andreas Jaeger <aj@suse.de>
375 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h (SC_GPRS): Fix
376 value following change from 2001-05-30.
378 * sysdeps/s390/s390-64/bits/setjmp.h (_JMPBUF_UNWINDS): Follow
379 rename change from 2001-07-12 for __jmp_buf.
380 Patches by Ulrich Weigand <Ulrich.Weigand@de.ibm.com>.
382 2001-07-26 Roland McGrath <roland@frob.com>
384 * sysdeps/generic/bits/termios.h (EXTA, EXTB): Make these conditional
385 on __USE_MISC rather than __USE_BSD.
386 (B57600, B115200, B230400, B460800, B500000, B576000, B921600,
387 B1000000, B1152000, B1500000, B2000000, B2500000, B3000000,
388 B3500000, B4000000): New macros.
389 * sysdeps/generic/tcsetattr.c (bad_speed): Accept those values.
390 * termios/cfsetspeed.c (speeds): Likewise.
392 2001-07-26 kaz Kojima <kkojima@rr.iij4u.or.jp>
394 * sysdeps/sh/dl-machine.h (elf_machine_load_address): Don't use
396 (FUN_ADDR, FGR_SAVE, ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
397 (elf_machine_rela): Handle unaligned relocation.
399 2001-06-07 David Mosberger <davidm@hpl.hp.com>
401 * sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Update call to
402 __ia64_make_fptr() for new interface.
403 (_dl_function_address): Remove.
405 * sysdeps/ia64/dl-machine.h (IA64_BOOT_FPTR_TABLE_LEN): Rename
406 from IA64_BOOT_FPTR_SIZE and reduce its value from 256 to 200.
407 (struct ia64_fdesc): Rename from struct ia64_fptr and drop "next"
408 pointer. Rename member "func" to "ip".
409 (struct ia64_fdesc_table): New type.
410 (__ia64_make_fptr): Change prototype.
411 (__ia64_init_bootstrap_fdesc_table): New function.
412 (ELF_MACHINE_BEFORE_RTLD_RELOC): New macro.
413 (__boot_ldso_fptr): Removed.
414 (__fptr_next): Removed.
415 (__fptr_root): Removed.
416 (__fptr_count): Removed.
417 (TRAMPOLINE_TEMPLATE): Fix typo in comment. Don't use multi-line
418 strings to avoid warning from gcc3.
419 (RTLD_START): Don't use multi-line strings.
420 (ELF_MACHINE_START_ADDRESS): Use DL_STATIC_FUNCTION_ADDRESS.
421 (elf_machine_fixup_plt): Update the code entry point in the
422 function descriptor through a "volatile" pointer to ensure proper
424 (elf_machine_rela): Simplify handling of FPTR relocs: always call
427 * sysdeps/ia64/dl-lookupcfg.h (DL_AUTO_FUNCTION_ADDRESS): New macro.
428 (DL_STATIC_FUNCTION_ADDRESS): Likewise.
429 (DL_DT_INIT_ADDRESS): Use DL_AUTO_FUNCTION_ADDRESS.
430 (DL_DT_FINI_ADDRESS): Likewise.
432 * sysdeps/ia64/dl-fptr.c: Rewrite for better scalability and to
435 * include/link.h: Add member machine specific "l_mach" member to
438 * sysdeps/generic/bits/link.h: New file.
439 * sysdeps/ia64/bits/link.h: Likewise.
441 * elf/rtld.c (_dl_start): Fix typo in comment.
442 (_dl_start_final): Copy new "l_mach" member from temporary to
445 2001-07-25 Ulrich Drepper <drepper@redhat.com>
447 * csu/gmon-start.c: Use ENTRY_POINT_DECL if defined instead of a
448 declaration using ENTRY_POINT.
449 * sysdeps/ia64/elf/entry.h (ENTRY_POINT_DECL): New definition.
451 2001-07-25 H.J. Lu <hjl@gnu.org>
453 * csu/gmon-start.c: Include <entry.h>
454 (_start): Replaced with ENTRY_POINT.
456 2001-07-25 Mark Kettenis <kettenis@gnu.org>
458 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: New file.
460 2001-07-25 Ulrich Drepper <drepper@redhat.com>
462 * iconv/iconvconfig.c (main): Don't write an output file if we
464 (write_output): Don't overwrite old cache file until we know we
467 * iconv/Makefile (install-sbin): Add iconvconfig.
469 2001-07-25 Jakub Jelinek <jakub@redhat.com>
471 * elf/Makefile (routines): Add dl-iteratephdr and
472 dl-iteratephdr-static.
473 (elide-routines.os): Add dl-iteratephdr-static.
474 * elf/dl-iteratephdr.c: New file.
475 * elf/link.h (struct dl_phdr_info): New definition.
476 (dl_iterate_phdr): New prototype.
477 * elf/Versions (dl_iterate_phdr): Add at GLIBC_2.2.4.
478 * include/link.h (struct dl_phdr_info): New definition.
479 (dl_iterate_phdr, __dl_iterate_phdr): New prototypes.
480 * sysdeps/generic/dl-iteratephdr-static.c: New file.
481 * sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: New file.
483 2001-07-24 Igor Khavkine <i_khavki@alcor.concordia.ca>
485 * hurd/hurdsig.c (_hurdsig_init): Fix incorrect initialization
488 2001-06-22 Jakub Jelinek <jakub@redhat.com>
490 * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
491 gaps below main executable.
493 2001-07-22 Bruno Haible <haible@clisp.cons.org>
495 * intl/libintl.h (ngettext, dngettext, dcngettext): Use both msgid1
496 and msgid2 for printf format argument checking.
498 2001-07-24 Ulrich Drepper <drepper@redhat.com>
500 * iconv/gconv_cache.c (find_module): Don't allocate room for the
501 filename. Use alloca, we don't need it beyond this function.
502 (__gconv_release_cache): New function.
503 * iconv/gconv_db.c (__gconv_close_transform): Call
504 __gconv_release_cache after the steps are handled.
505 * iconv/gconv_dl.c (__gconv_find_shlib): Allocate file name in the
507 * iconv/gconv_int.h: Add prototype for __gconv_release_cache.
509 * iconv/gconv_cache.c (__gconv_lookup_cache): Catch one more
510 boundary case and reject it.
512 2001-07-24 Andreas Jaeger <aj@suse.de>
514 * manual/examples/longopt.c (main): Fix which options take arguments.
516 2001-07-24 Ulrich Drepper <drepper@redhat.com>
518 * iconvdata/Makefile: Add dependencies for tst-loading test.
520 2001-07-24 Andreas Jaeger <aj@suse.de>
522 * iconv/iconvconfig.c (name_insert): Make static to avoid warning.
524 2001-07-23 Ulrich Drepper <drepper@redhat.com>
526 * locale/programs/locale.c (write_locales): Disable implicit
527 locking for the stream. Use feof_unlocked instead of feof.
529 * sysdeps/unix/sysv/linux/i386/makecontext.S: Initialize %fs, %gs,
530 and floating-point status as well.
532 * libio/iofclose.c (_IO_new_fclose): Unlink descriptor first to
534 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
535 * libio/genops.c (_IO_un_link): Get stream lock since it's not
536 always done in the caller.
537 (_IO_link_in): Likewise.
539 * libio/genops.c (_IO_list_all_stamp): New variable.
540 (_IO_un_link): Bump _IO_list_all_stamp after removing from list.
541 (_IO_link): Likewise for insertion.
542 (flush_cleanup): New function.
543 (_IO_flush_all): Get list_all_lock and all individual locks for the
544 streams. Detect and handle changes to the _IO_list_all list.
545 (_IO_flush_all_linebuffered): Likewise.
546 * sysdeps/generic/bits/stdio-lock.h: Define
547 _IO_cleanup_region_start_noarg.
548 * sysdeps/mach/hurd/bits/stdio-lock.c: Likewise.
550 * stdio-common/printf.h: Fix typo in comment.
552 * iconv/gconv_cache.c (__gconv_lookup_cache): Handle encoding from
554 * iconv/iconvconfig.c: Create a special record for the INTERNAL
555 encoding name in the output file.
557 2001-07-23 Jakub Jelinek <jakub@redhat.com>
559 * sunrpc/svc_tcp.c (svctcp_rendezvous_abort): New function.
560 (svctcp_rendezvous_op): Use it.
561 * sunrpc/svc_unix.c (svcunix_rendezvous_abort): New function.
562 (svcunix_rendezvous_op): Use it.
564 2001-07-23 Andreas Schwab <schwab@suse.de>
566 * math/Makefile (CPPFLAGS-test-ifloat.c, CPPFLAGS-test-idouble.c,
567 CPPFLAGS-test-ildoubl.c): Renamed from CFLAGS-*.
568 (math-CPPFLAGS): Set this instead of CPPFLAGS.
570 2001-07-23 Ulrich Drepper <drepper@redhat.com>
572 * elf/elf.h: Add more definitions from Sun's latest version.
574 2001-07-23 Stephen L Moshier <moshier@mediaone.net>
576 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Return proper
577 sign for 0 input and set divide by zero exception for -1 input.
578 Return argument if NaN or infinity.
580 2001-07-23 Andreas Jaeger <aj@suse.de>
582 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add some deltas.
584 2001-07-23 Ulrich Drepper <drepper@redhat.com>
586 * iconv/gconv_cache.c (__gconv_lookup_cache): Select correct
587 module for conversion direction.
589 2001-07-23 Stephen L Moshier <moshier@mediaone.net>
591 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Return proper
592 sign for 0 input. Return NaN with no exception for NaN input.
594 2001-07-23 Ulrich Drepper <drepper@redhat.com>
596 * iconv/gconv_builtin.h: ISO-106464/UTF-8/ transformation must
599 2001-07-23 Andreas Jaeger <aj@suse.de>
601 * iconv/iconvconfig.c: Include <sys/cdefs.h> and use
602 __attribute_malloc__ for older GCC versions.
603 * iconv/strtab.c: Likewise.
604 Add prototypes to avoid warnings.
606 2001-07-22 Roland McGrath <roland@frob.com>
608 * hurd/hurdsig.c (_hurd_internal_post_signal): Support SA_RESETHAND
609 and SA_NODEFER options. Spurred to action by Igor Khavkine.
611 * sysdeps/generic/bits/sigaction.h [__USE_UNIX98 || __USE_MISC]
612 (SA_NODEFER, SA_RESETHAND): New macros, same bit values as FreeBSD.
613 [__USE_MISC] (SA_INTERRUPT): New macro, value 0.
614 [__USE_MISC] (SA_NOMASK, SA_ONESHOT, SA_STACK): New macros, aliases
615 as in other sysdeps versions of this file.
617 * sysdeps/generic/bits/sigaction.h (struct sigaction): Use a union
618 and provide sa_handler and sa_sigaction member names as macros, as
619 done in other sysdeps versions of this file.
620 Suggested by Igor Khavkine <i_khavki@alcor.concordia.ca>.
622 2001-07-23 Ulrich Drepper <drepper@redhat.com>
624 * posix/regex.c: Revamp memory allocation for WCHAR functions to
625 not use too much stack.
627 2001-07-22 Ulrich Drepper <drepper@redhat.com>
629 * iconv/iconvconfig.c (write_output): Update comment explaining
632 * elf/dl-load.c (_dl_dst_count): In SUID binaries expand $ORIGIN
634 (_dl_dst_substitute): Likewise.
636 * iconv/iconvconfig.c: Remove --verbose option. Comment out
639 * iconv/strtab.c (morememory): Fix little memory handling problem.
641 2001-07-22 Andreas Schwab <schwab@suse.de>
643 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Don't
644 mark asm input operand as clobbered.
645 * sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise.
647 2001-07-22 Ulrich Drepper <drepper@redhat.com>
649 * iconv/gconv_builtin.c (struct builtin_map): Remove init and end
651 (BUILTIN_TRANSFORMATION): Remove Init and End parameters.
652 (__gconv_get_builtin_trans): Initialize __init_fct and __end_fct to
654 * iconv/gconv_builtin.h: Remove NULL parameters for Init and End in
655 all BUILTIN_TRANSFORMATION calls.
656 * iconv/gconv_conf.c (BUILTIN_TRANSFORMATION): Remove Init and End
658 * iconv/gconv_simple.c: Likewise.
659 * iconv/gconv_db.c (gen_steps): Internal converters don't have
660 initializers, move the code accordingly.
662 * iconv/gconv_conf.c (__gconv_read_conf): Don't read configuration
663 file if STATIC_GCONV is defined.
665 * iconv/gconv_conf.c (__gconv_path_envvar): New global variable.
666 (__gconv_get_path): Use it instead of call getenv.
667 (__gconv_read_conf): First see whether cache can be used. If yes,
668 don't do any work here.
669 * iconv/gconv_db.c (__gconv_release_step): Renamed from release_step
670 and exported. Change callers.
671 (__gconv_find_transform): First call __gconv_lookup_cache and only
672 continue if it signals no cache available. Remove some unnecessary
674 * iconv/gconv_int.h: Declare __gconv_path_envvar, __gconv_lookup_cache,
675 __gconv_release_step, and __gconv_loaded_cache.
676 * iconv/gconv_cache.c: New file.
677 * iconv/iconvconfig.c: New file.
678 * iconv/iconvconfig.h: New file.
679 * iconv/strtab.c: New file.
680 * iconv/Makefile: Add rules to build new files and programs.
682 2001-07-20 Roland McGrath <roland@frob.com>
684 * sysdeps/generic/device-nrs.h (DEV_TTY_P): Change argument type
685 from `dev_t' (st_rdev value) `const struct stat *'.
686 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Likewise.
687 * libio/filedoalloc.c (_IO_file_doallocate): Change caller.
688 * sysdeps/mach/hurd/device-nrs.h: New file.
690 * libio/stdio_ext.h: Moved to ...
691 * stdio-common/stdio_ext.h: ... here.
692 * libio/Makefile (headers): Move stdio_ext.h from here ...
693 * stdio-common/Makefile (headers): ... to here.
694 * include/stdio_ext.h: New file.
695 * stdio/Makefile (routines): Add the stdio_ext.h functions here.
696 * stdio/Versions (GLIBC_2.2.4): Export the stdio_ext.h functions.
697 * stdio/__flbf.c: New file.
698 * stdio/__fbufsize.c: New file.
699 * stdio/__fpending.c: New file.
700 * stdio/__fpurge.c: New file.
701 * stdio/__freadable.c: New file.
702 * stdio/__freading.c: New file.
703 * stdio/__fsetlocking.c: New file.
704 * stdio/__fwritable.c: New file.
705 * stdio/__fwriting.c: New file.
707 2001-07-20 Ulrich Drepper <drepper@redhat.com>
708 Andreas Jaeger <aj@suse.de>
710 * elf/ldconfig.c (search_dir): Avoid use of uninitialized memory.
711 Add a few __builtin_expect to mark unlikely error cases.
713 2001-07-20 Andreas Jaeger <aj@suse.de>
715 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Synch with kernel.
716 Patch by Daniel Jacobowitz <dan@debian.org>.
718 2001-07-19 Ulrich Drepper <drepper@redhat.com>
720 * intl/localealias.c: Remove unnecessary prototype.
722 * Makefile: Add html goal.
723 * manual/Makefile: Likewise.
725 2001-07-18 Ulrich Drepper <drepper@redhat.com>
727 * libio/filedoalloc.c (_IO_file_doallocate): A few more minor
728 cleanups and improvements.
730 2001-07-18 Andreas Schwab <schwab@suse.de>
732 * posix/regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
733 underscore character.
735 2001-07-18 Jakub Jelinek <jakub@redhat.com>
737 * malloc/malloc (new_heap): Don't call munmap for zero length.
739 2001-07-18 Ulrich Drepper <drepper@redhat.com>
741 * libio/filedoalloc.c (_IO_file_doallocate): Use DEV_TTY_P if
742 available to determine whether descriptor is for tty before
745 * sysdeps/unix/sysv/linux/device-nrs.h: Define DEV_TTY_P.
746 * sysdeps/generic/device-nrs.h: Likewise.
748 2001-07-18 Andreas Jaeger <aj@suse.de>
750 * time/Makefile (tst-getdate-ENV): Add TZDIR to environment.
752 * time/Depend: New, add dependency on timezone.
754 * time/tst-getdate.c: Add testcase for bug report by Hendrik
755 Uhlmann <HUhlmann@stn-atlas.de>.
756 * time/datemsk: Likewise.
758 2001-07-17 Ulrich Drepper <drepper@redhat.com>
760 * elf/ldconfig.c (parse_conf): Disable implicit locking for the
761 stream. Remove some unnecessary initializers.
763 2001-07-17 Andreas Jaeger <aj@suse.de>
765 * elf/ldconfig.c: Add new variable hwcap_mask to honour LD_HWCAP_MASK.
766 (is_hwcap_platform): Use it.
767 (set_hwcap): New function to set hwcap_mask.
768 (main): Call set_hwcap.
770 2001-07-17 Jakub Jelinek <jakub@redhat.com>
772 * time/getdate.c (__getdate_r): Initialize tm_isdst, tm_gmtoff and
773 tm_zone before calling strptime.
775 2001-07-17 Andreas Schwab <schwab@suse.de>
777 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Fix last change.
779 2001-07-17 Ulrich Drepper <drepper@redhat.com>
781 * inet/rcmd.c (iruserfopen): Disable implicit locking for the stream.
782 * inet/ruserpass.c (ruserpass): Likewise.
783 * nss/nsswitch.c (nss_parse_file): Likewise.
784 * resolv/res_hconf.c (_res_hconf_init): Likewise.
785 * resolv/res_init.c (__res_vinit): Likewise.
786 * gmon/bb_exit_func.c (__bb_exit_func): Likewise.
787 * misc/getpass.c (getpass): Likewise.
788 * misc/getusershell.c (initshells): Likewise.
789 * misc/getttyent.c (setttyent): Likewise.
790 * misc/mntent_r.c (__setmntent): Likewise.
791 * time/getdate.c (__getdate_r): Likewise.
792 * time/tzfile.c (__tzfile_read): Likewise.
793 * iconv/gconv_conf.c (read_conf_file): Likewise.
794 * intl/localealias.c (read_alias_file): Disable implicit locking
795 for the stream. Use _unlocked functions for glibc.
796 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Disable
797 implicit locking for the stream.
798 (__get_nprocs_conf): Likewise.
799 (phys_pages_info): Likewise.
801 2001-07-16 Ulrich Drepper <drepper@redhat.com>
803 * nscd/connections.c: Print messages caused by user application
804 only if debug_level > 0. Add little performance improvements.
805 Use TEMP_FAILURE_RETRY around write calls.
806 * nscd/grpcache.c: Likewise.
807 * nscd/hstcache.c: Likewise.
808 * nscd/pwdcache.c: Likewise.
810 2001-07-13 H.J. Lu <hjl@gnu.org>
812 * sysdeps/mips/dl-machine.h (MAP_BASE_ADDR): Removed.
813 (elf_machine_got_rel): Defined only if RTLD_BOOTSTRAP is not defined.
814 (RESOLVE_GOTSYM): Rewrite to use RESOLVE.
816 * sysdeps/mips/rtld-ldscript.in: Removed.
817 * sysdeps/mips/rtld-parms: Likewise.
818 * sysdeps/mips/mips64/rtld-parms: Likewise.
819 * sysdeps/mips/mipsel/rtld-parms: Likewise.
821 2001-07-16 Ulrich Drepper <drepper@redhat.com>
823 * catgets/test-gencat.sh: Use <<"EOF" instead of <<EOF to prevent
824 substitution in here document.
826 2001-07-16 Andreas Schwab <schwab@suse.de>
828 * sysdeps/posix/spawni.c: Fix typo when iterating over signal numbers.
830 2001-07-16 Andreas Schwab <schwab@suse.de>
832 * math/libm-test.inc (check_float_internal): Fix sign bit test of
835 2001-07-16 Jakub Jelinek <jakub@redhat.com>
837 * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Make it PIC friendly.
839 2001-07-15 Ulrich Drepper <drepper@redhat.com>
841 * malloc/obstack.c: Define __attribute__ for non-gcc compilers.
842 Patch by Jim Meyering <jim@meyering.net>.
844 2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
846 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Reorder
847 fields in the sigaction struct to match the definition in the kernel.
849 2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
851 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Correct the
854 2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
856 * sysdeps/s390/s390-32/bits/setjmp.h: Add leading underscores
857 to the entries in the __jmp_buf structure.
858 * sysdeps/s390/s390-64/bits/setjmp.h: Likewise.
860 2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
862 * sysdeps/s390/s390-32/bcopy.S: Use mvcle for big blocks
863 (> 64K) and a mvc loop for small blocks.
864 * sysdeps/s390/s390-32/memcpy.S: Likewise.
865 * sysdeps/s390/s390-64/bcopy.S: Likewise.
866 * sysdeps/s390/s390-64/memcpy.S: Likewise.
868 2001-07-15 Andreas Schwab <schwab@suse.de>
870 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: New file.
871 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: New file.
873 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Check _dl_pagesize
874 first. Default to 4096, not EXEC_PAGESIZE.
876 * iconv/loop.c (put16) [!_STRING_ARCH_unaligned && BIG_ENDIAN]:
879 2001-07-09 Andreas Jaeger <aj@suse.de>
881 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Name entry for xmm2.
883 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add HWCAP_I386_XMM,
884 HWCAP_I386_XMM2 to enum.
886 2001-07-13 Andreas Jaeger <aj@suse.de>
888 * libio/fileops.c: Include unistd.h for lseek64 prototype. Closes
891 2001-07-12 Ulrich Drepper <drepper@redhat.com>
893 * Makeconfig: Add some more changes to handle AIX linker better.
895 2001-07-12 H.J. Lu <hjl@gnu.org>
897 * sysdeps/generic/segfault.c: Include <errno.h>.
899 2001-07-01 Andreas Jaeger <aj@suse.de>
901 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk): Remove duplicate
902 sbrk. Closes PR libc/2312.
904 2001-07-01 Andreas Jaeger <aj@suse.de>
906 * sysdeps/generic/segfault.c (install_handler): Handle case that
907 the output file does not exists. Closes PR libc/2345.
909 2001-07-11 Ulrich Drepper <drepper@redhat.com>
911 * intl/locale.alias: Use he language code for hebrew, not il
914 2001-07-11 Jakub Jelinek <jakub@redhat.com>
916 * iconv/gconv_int.h: Fix comment typo.
918 2001-07-11 Igor Khavkine <i_khavki@alcor.concordia.ca>
920 * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code.
922 2001-07-07 Roland McGrath <roland@frob.com>
924 * hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0.
926 2001-07-10 Stephen L Moshier <moshier@mediaone.net>
928 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Fix
929 backwards conditional in test for x == 1.0.
931 2001-07-10 Andreas Jaeger <aj@suse.de>
933 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add ulps for tanh
936 2001-07-09 Andreas Jaeger <aj@suse.de>
938 * sysdeps/unix/sysv/linux/configure.in: Revert patch from
939 2001-07-05 for sysconfdir handling.
940 * config.make.in (sysconfdir): Likewise.
941 * configure.in: Likewise.
943 * configure.in: Always assign libc_cv_sysconfdir.
945 2001-07-08 Ulrich Drepper <drepper@redhat.com>
947 * Makerules [AIX] (build-shlib-helper): Precede linker options
950 * Makeconfig (config-LDFLAGS): Add ld.so only for ELF.
952 * sysdeps/unix/make_errlist.c: Adjust sys_errlist declaration to
953 what we define in <stdio.h>.
955 * iconv/iconv_prog.c (main): Don't unconditionally define
956 variables only use if _POSIX_MAPPED_FILES is defined.
958 * sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type.
959 * sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise.
961 * sysdeps/unix/sysv/aix/recv.c: New file.
963 * sysdeps/unix/sysv/aix/recvfrom.c: Fix various types.
965 2001-07-07 Ulrich Drepper <drepper@redhat.com>
967 * sysdeps/generic/recv.c: Fix return type.
969 * sysdeps/unix/sysv/aix/dl-libc.c (__libc_dlclose): Fix typo.
971 * sysdeps/unix/sysv/aix/gettimeofday.c (__gettimeofday): Add
972 declarations for asm functions.
974 * include/libc-symbols.h: Provide more dummy definitions for the
975 case if GNU ld isn't used.
977 * libio/freopen.c: Include <stdlib.h> for free declaration.
978 * libio/freopen64.c: Likewise.
980 * sysdeps/alpha/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
982 2001-07-06 Jakub Jelinek <jakub@redhat.com>
984 * sysdeps/unix/sysv/linux/i386/sigaction.c (RESTORE2): Put asm
985 explicitly into .text section.
987 2001-04-16 Jes Sorensen <jes@linuxcare.com>
989 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
990 Add 16 longwords reserved for future use to match changes in the
993 2001-07-03 Jes Sorensen <jes@trained-monkey.org>
995 * sysdeps/ia64/strncpy.S: Call strnlen() when determining the
996 string length rather than strlen(). Solves the performance problem
997 of doing strlen on a 5MB string when strncpy was called with a
998 length argument of 5 bytes.
1000 2001-07-02 Jakub Jelinek <jakub@redhat.com>
1002 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1003 R_SPARC_UA16 and R_SPARC_UA32.
1004 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1006 2001-07-01 Stephen L Moshier <moshier@mediaone.net>
1008 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl):
1009 acosh(x) = ln(2x) if x > 2^30.
1010 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
1011 acosh(x) = ln(2x) if x > 2^54.
1013 2001-07-07 Mark Kettenis <kettenis@gnu.org>
1015 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal):
1016 Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and
1017 KERN_WRITE_PROTECTION_FAILURE.
1019 2001-07-07 Ulrich Drepper <drepper@redhat.com>
1021 * posix/regex.c: Limit string length printed in debug messages to
1024 * configure.in: Don't warn about versioning if not on ELF system.
1026 2001-07-07 Andreas Jaeger <aj@suse.de>
1028 * sysdeps/*: Put files from GNU MP Library under LGPL v2.1.
1030 2001-07-06 Ulrich Drepper <drepper@redhat.com>
1032 * po/gl.po: Update from translation team.
1034 2001-07-06 Andreas Jaeger <aj@suse.de>
1036 * sysdeps/unix/sysv/linux/configure.in: Fix handling of
1039 * manual/libc-texinfo.sh: Add note for the FDL.
1041 * manual/argp.texi (Argp Example 4): Fix texinfo warning.
1043 * manual/libc.texinfo: Regenerated.
1045 * manual/fdl.texi: Fix node.
1047 * config.make.in (sysconfdir): Replace correctly.
1048 Closes PR libc/2369, reported by Peter Simons <simons@cryp.to>.
1050 * sysdeps/unix/sysv/linux/alpha/configure.in: Removed, it's no
1053 * sysdeps/unix/sysv/linux/configure.in (libc_cv_linuxVER): Add
1055 Rework handling of missing linuxthreads add-on.
1057 * configure.in: Remove unused sysconfdir substitution.
1059 * manual/Makefile (texis): Add fdl.texi.
1060 * manual/fdl.texi: New.
1061 * manual/socket.texi (Host Names): Improve grammar, fix overflow hbox.
1062 * manual/libc.texinfo: Add fdl, update titlepage.
1063 Patches by Brian Youmans <3diff@gnu.org>.
1065 * sysdeps/unix/make_errlist.c (main): Print LGPL v2.1 for
1068 2001-07-06 Paul Eggert <eggert@twinsun.com>
1070 * manual/argp.texi: Remove ignored LGPL copyright notice; it's
1071 not appropriate for documentation anyway.
1072 * manual/libc-texinfo.sh: "Library General Public License" ->
1073 "Lesser General Public License".
1074 * COPYING: Fix Y2k bug in sample copyright notices.
1075 * manual/lesser.texi: Renamed from manual/lgpl.texinfo,
1076 as fsf.org uses the name "lesser.texi".
1077 * manual/Makefile (texis): Follow rename.
1079 2001-07-06 Andreas Jaeger <aj@suse.de>
1081 * All files under GPL/LGPL version 2: Place under LGPL version
1084 2001-07-05 Andreas Jaeger <aj@suse.de>
1086 Synch with Linux 2.4.6:
1087 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
1089 (AF_BLUETOOTH): New.
1091 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
1092 (PF_BLUETOOTH): New.
1093 (AF_BLUETOOTH): New.
1095 * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
1096 (PF_BLUETOOTH): New.
1098 * sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
1099 (PF_BLUETOOTH): New.
1101 * sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
1102 (AF_BLUETOOTH): New.
1104 * sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
1105 (AF_BLUETOOTH): New.
1107 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.
1109 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.
1111 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.
1113 * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
1115 2001-07-04 Roland McGrath <roland@frob.com>
1117 * hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended
1118 wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port
1119 rather than doing a mach_port_insert_right call first.
1121 2001-06-26 Roland McGrath <roland@frob.com>
1123 * hurd/hurdioctl.c: Include <string.h> for memcpy decl.
1125 2001-07-03 Andreas Jaeger <aj@suse.de>
1127 * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Remove check for
1130 2001-07-01 Mark Kettenis <kettenis@gnu.org>
1132 * sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in
1133 the Hurd pfinet server, using equivalent code from the Linux
1134 version in sysdeps/unix/sysv/linux/if_index.c. In detail:
1135 Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and
1136 <hurd/pfinet.h>. Don't include <sys/mman.h> and <hurd/fsys.h>
1138 (if_nametoindex): New implementation using SIOCGIFINDEX.
1139 (if_freenameindex): Straight copy of the Linux version.
1140 (if_nameindex): New implementation based on pfinet_siocgifconf and
1142 (if_indextoname): New implementation using SIOCGIFNAME.
1143 (map_interfaces): Function removed.
1144 From Marcus Brinkmann <marcus@gnu.org>.
1146 2001-06-30 Jakub Jelinek <jakub@redhat.com>
1148 * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
1149 gaps below main executable.
1151 2001-06-19 Andreas Jaeger <aj@suse.de>
1153 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
1156 2001-06-29 Andreas Jaeger <aj@suse.de>
1158 * sysdeps/ieee754/ldbl-128/s_asinhl.c: New file.
1159 Patch by Stephen L Moshier <moshier@mediaone.net>.
1161 2001-06-28 Ulrich Drepper <drepper@redhat.com>
1163 * manual/argp.texi: Tons of cleanups.
1164 Patch by Clifford U. Smith <cuel@swbell.net>.
1166 2001-06-28 Mark Kettenis <kettenis@gnu.org>
1168 * manual/users.texi (Setting Groups): Correct initgroups
1169 documentation. Add documentation for getgrouplist.
1171 2001-06-28 H.J. Lu <hjl@gnu.org>
1173 * locale/findlocale.c (locale_file_list): Renamed to ...
1174 (_nl_locale_file_list): This. Make it extern.
1175 (free_mem): Move to ...
1176 * locale/setlocale.c (free_mem): Here.
1178 2001-06-28 Mark Kettenis <kettenis@gnu.org>
1180 * sysdeps/mach/hurd/read.c: Include <hurd/fd.h>.
1181 (__libc_read): Don't call __pread. Use _hurd_fd_read directly
1183 * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>.
1184 (__libc_write): Don't call __pwrite. Use _hurd_fd_write directly
1187 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back
1188 -Wl,-soname option lost in 2001-06-16 change.
1190 2001-06-27 Ulrich Drepper <drepper@redhat.com>
1192 * posix/tst-regex.c: Pass REG_NEWLINE to regcomp. Add extra tests.
1193 Restrict printing of string in debug mode to 100 characters to make
1194 the output useful for long input texts.
1196 * posix/Makefile: Add rules to build and run tst-regex.
1198 2001-06-20 Isamu Hasegawa <isamu@yamato.ibm.com>
1200 * posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers.
1201 (re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
1202 (wcs_re_match_2_internal): Check whether the wcs buffers need
1203 seting up or not, and skip seting up routin if not needed.
1205 2001-06-26 Isamu Hasegawa <isamu@yamato.ibm.com>
1207 * posix/regex.c (count_mbs_length): Use binary search for optimization.
1209 2001-06-27 Ulrich Drepper <drepper@redhat.com>
1211 * posix/tst-regex.c: Fix several bugs. Add more tests.
1213 2001-06-26 Mark Kettenis <kettenis@gnu.org>
1215 * hurd/Makefile (user-interfaces): Add pfinet.
1216 * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and
1218 (siocgifconf): New function. Register it with HURD_HANDLE_IOCTL
1219 as the handler for SIOCGIFCONF.
1220 * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and
1221 SIOCGIFFLAGS to be of IOC type ifreq_short. Modify SIOCSIFMETRIC
1222 and SIOCGIFMETRIC to be of IOC type ifreq_int. Add new macro
1223 definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and
1225 From Marcus Brunkmann <marcus@gnu.org>.
1227 2001-06-25 Ulrich Drepper <drepper@redhat.com>
1229 * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
1230 and _IOT_ifreq_int. Patch by Mark Kettenis <kettenis@wins.uva.nl>.
1232 * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
1233 _dl_catch_error calls.
1235 2001-06-22 Jakub Jelinek <jakub@redhat.com>
1237 * posix/regex.c (regex_compile, re_match_2_internal): Fix comment
1240 2001-06-01 Wolfram Gloger <wg@malloc.de>
1242 * malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
1243 ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
1244 when malloc_atfork is in use.
1246 2001-06-22 Andreas Jaeger <aj@suse.de>
1248 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
1251 * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
1253 Add unused attributes to avoid warnings.
1255 * elf/reldep4mod4.c: Add prototype to avoid warning.
1256 * elf/reldep4mod2.c: Likewise.
1258 * sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for
1261 2001-06-18 Roland McGrath <roland@frob.com>
1263 * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int.
1265 2001-06-20 Alexandre Oliva <aoliva@redhat.com>
1267 * sysdeps/unix/sysv/settimeofday.c: Include time.h.
1269 2001-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
1271 * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
1273 2001-05-09 Michael Keezer <mkeezer@redhat.com>
1275 * Makeconfig: Added AIX-ld support for DSO.
1276 * Makerules: Likewise.
1277 * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared.
1278 (defaultmod2.so): Likewise.
1279 * debug/Makefile: Conditionalize use of elf/ld.so.
1280 * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig.
1282 * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c.
1283 * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) &
1284 (f/g)prrest(0/1) static only.
1285 * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0.
1286 * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but
1288 * sysdeps/unix/sysv/aix/setitimer.c: New file.
1289 * sysdeps/unix/sysv/aix/sleep.c: New file.
1290 * sysdeps/unix/sysv/aix/usleep.c: New file.
1291 * sysdeps/unix/sysv/aix/dl-addr.c: New file.
1292 * sysdeps/unix/sysv/aix/dl-error.c: New file.
1293 * sysdeps/unix/sysv/aix/dl-support.c: New file.
1294 * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file.
1296 2001-06-19 Ulrich Drepper <drepper@redhat.com>
1298 * po/es.po: Update from translation team.
1300 2001-06-19 Andreas Jaeger <aj@suse.de>
1302 * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file.
1304 * math/libm-test.inc (tanh_test): Test for 2^-56.
1306 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result
1307 equals argument when x < 2^-55.
1308 Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1310 2001-06-17 Alan Modra <amodra@bigpond.net.au>
1312 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Handle relocs
1313 at unaligned address.
1315 2001-06-18 Ulrich Drepper <drepper@redhat.com>
1317 * posix/regex.c: Reorganize code to build code twice, once for single
1318 byte, once for multi-byte charsets. Choose function set adequate for
1320 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
1322 * po/nl.po: Update from translation team.
1324 2001-06-09 Bruno Haible <haible@clisp.cons.org>
1326 * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
1327 (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
1328 * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.
1330 2001-05-26 Bruno Haible <haible@clisp.cons.org>
1332 * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap.
1333 * manual/charset.texi: Write Shift_JIS, not Shift-JIS.
1335 2001-06-17 Roland McGrath <roland@frob.com>
1337 * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,
1338 not LIO_READ + 1 (which is the value of LIO_WRITE!).
1340 * Makerules (build-module-helper-objlist): New variable,
1341 broken out of build-module. Insert --whole-archive/--no-whole-archive
1342 immediately each *_pic.a file in the link object list.
1343 (whole-archive): New variable, used by that.
1344 (build-module-objlist): New variable using build-module-helper-objlist.
1345 (build-module, build-module-helper): Use it.
1346 (build-shlib-objlist): New variable using build-module-helper-objlist.
1347 (build-shlib): Use that.
1348 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
1350 * posix/spawni.c: Moved to ...
1351 * sysdeps/posix/spawni.c: ... here.
1352 * sysdeps/generic/spawni.c: New file.
1354 2001-06-16 Roland McGrath <roland@frob.com>
1356 * hurd/Makefile (routines): Add lookup-retry.
1357 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
1358 * hurd/lookup-retry.c: ... into here, new file.
1359 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
1360 using of duplicate code here.
1362 * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
1364 2001-06-17 Ulrich Drepper <drepper@redhat.com>
1366 * po/ja.po: Update from translation team.
1368 2001-06-04 Bruno Haible <haible@clisp.cons.org>
1370 * locale/programs/locfile.c (siblings_uncached, siblings, full_read,
1371 compare_files): New functions.
1372 (write_locale_data): Use xmalloc. Compare the file with the locale
1373 data files for the same category in other locales, and reuse it if
1376 2001-06-07 Mark Kettenis <kettenis@gnu.org>
1378 * grp/initgroups.c (initgroups): Factor out re-usable code into...
1379 (internal_getgrouplist): ... new function.
1380 (getgrouplist): New function.
1381 * grp/grp.h (getgrouplist): New prototype.
1382 * grp/Versions [2.2.4]: Add getgrouplist.
1384 2001-06-16 Ulrich Drepper <drepper@redhat.com>
1386 * inet/netinet/ip6.h: Fix comments in ip6_hdr.
1387 Patch by Pekka Savola <pekkas@netcore.fi>.
1389 2001-06-15 Roland McGrath <roland@frob.com>
1391 * rt/Makefile (aio-routines, clock-routines, timer-routines): New
1392 variables, broken out of librt-routines.
1393 (librt-routines): Set using those.
1394 (extra-libs, extra-libc-others, tests): Set these unconditionally.
1395 (distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
1396 * sysdeps/generic/aio_fsync.c: New file.
1397 * sysdeps/generic/aio_misc.c: New file.
1398 * sysdeps/generic/aio_write.c: New file.
1399 * sysdeps/generic/aio_write64.c: New file.
1400 * sysdeps/generic/aio_read64.c: New file.
1401 * sysdeps/generic/aio_read.c: New file.
1402 * sysdeps/generic/aio_notify.c: New file.
1403 * sysdeps/generic/lio_listio64.c: New file.
1404 * sysdeps/generic/lio_listio.c: New file.
1405 * sysdeps/generic/aio_cancel.c: New file.
1406 * sysdeps/generic/aio_misc.h: New file.
1407 * sysdeps/generic/aio_suspend.c: New file.
1408 * rt/aio_cancel.c: Moved to ...
1409 * sysdeps/pthread/aio_cancel.c: ... here.
1410 * rt/aio_fsync.c: Moved to ...
1411 * sysdeps/pthread/aio_fsync.c: ... here.
1412 * rt/aio_misc.c: Moved to ...
1413 * sysdeps/pthread/aio_misc.c: ... here.
1414 * rt/aio_misc.h: Moved to ...
1415 * sysdeps/pthread/aio_misc.h: ... here.
1416 * rt/aio_notify.c: Moved to ...
1417 * sysdeps/pthread/aio_notify.c: ... here.
1418 * rt/aio_read.c: Moved to ...
1419 * sysdeps/pthread/aio_read.c: ... here.
1420 * rt/aio_read64.c: Moved to ...
1421 * sysdeps/pthread/aio_read64.c: ... here.
1422 * rt/aio_suspend.c: Moved to ...
1423 * sysdeps/pthread/aio_suspend.c: ... here.
1424 * rt/aio_write.c: Moved to ...
1425 * sysdeps/pthread/aio_write.c: ... here.
1426 * rt/aio_write64.c: Moved to ...
1427 * sysdeps/pthread/aio_write64.c: ... here.
1428 * rt/lio_listio.c: Moved to ...
1429 * sysdeps/pthread/lio_listio.c: ... here.
1430 * rt/lio_listio64.c: Moved to ...
1431 * sysdeps/pthread/lio_listio64.c: ... here.
1433 2001-06-14 Roland McGrath <roland@frob.com>
1435 * configure.in: Let sysdeps Implies files in add-ons bring in
1436 sysdeps directories from the main source and other add-ons too.
1438 2001-06-15 Jakub Jelinek <jakub@redhat.com>
1440 * math/test-misc.c (main): Add tests for nextafter and nexttoward
1441 with +-Inf as second argument.
1443 * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
1445 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
1446 * sysdeps/i386/fpu/s_nexttoward.c: New.
1447 * sysdeps/i386/fpu/s_nexttowardf.c: New.
1448 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
1449 check for NaN, optimize x==+-0 handling.
1450 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
1451 * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
1452 check for NaN, fix sign in x==+-0 case.
1453 * sysdeps/ia64/fpu/s_nexttoward.c: New.
1454 * sysdeps/ia64/fpu/s_nexttowardf.c: New.
1456 2001-06-15 H.J. Lu <hjl@gnu.org>
1458 * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
1459 * rt/tst-aio3.c (do_test): Likewise.
1460 * rt/tst-aio4.c (do_test): Likewise.
1461 * rt/tst-aio5.c (do_test): Likewise.
1462 * rt/tst-aio6.c (do_test): Likewise.
1464 2001-06-15 Andreas Schwab <schwab@suse.de>
1466 * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
1467 * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
1469 2001-06-15 Andreas Jaeger <aj@suse.de>
1471 * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning.
1473 2001-06-14 Andreas Schwab <schwab@suse.de>
1475 * elf/ldconfig.c (search_dir): Fix check for regular file.
1477 * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
1478 * sysdeps/m68k/fpu/e_log2l.c: Fix typo.
1480 2001-06-14 Roland McGrath <roland@frob.com>
1482 * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
1483 (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
1485 2001-06-13 Roland McGrath <roland@frob.com>
1487 * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
1489 * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
1490 so the label is not considered unused.
1492 * sysdeps/mach/hurd/pwrite64.c: New file.
1493 * sysdeps/mach/hurd/pread64.c: New file.
1495 * sysdeps/mach/hurd/pread.c
1496 (__libc_pread): Define this name, with __pread as an alias.
1497 * sysdeps/mach/hurd/pwrite.c
1498 (__libc_pwrite): Define this name, with __pwrite as an alias.
1500 Implement POSIX "shared memory objects" as regular
1501 files residing in the /var/run/shm/ directory.
1502 This works on any system that supports _POSIX_MAPPED_FILES,
1503 to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
1504 * sysdeps/posix/shm_open.c: New file.
1505 * sysdeps/posix/shm_unlink.c: New file.
1506 * sysdeps/mach/hurd/bits/posix_opt.h
1507 (_POSIX_SHARED_MEMORY_OBJECTS): Define it.
1509 * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
1510 Use raise instead of __aio_sigqueue.
1512 * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
1513 * sysdeps/mach/hurd/pwrite.c: Likewise.
1515 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
1516 [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
1517 as default version set.
1519 2001-06-13 Ulrich Drepper <drepper@redhat.com>
1521 * libio/iolibio.h (_IO_freopen): Correct last parameter to
1523 (_IO_freopen64): Likewise.
1524 Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].
1526 * elf/elf.h: Add a few more EM_* constants.
1528 2001-06-12 Bruno Haible <haible@clisp.cons.org>
1530 * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.
1532 2001-06-09 Ben Collins <bcollins@debian.org>
1534 * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
1535 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1536 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1537 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1538 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1539 * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
1542 2001-06-13 Ulrich Drepper <drepper@redhat.com>
1544 * time/sys/time.h: Don't use enum __itimer_which ever for
1545 __itimer_which_t for C++.
1546 Reported by Martin Buchholz <martin@xemacs.org>.
1548 * po/fr.po: Update from translation team.
1550 2001-06-12 H.J. Lu <hjl@gnu.org>
1552 * configure.in: Fix typos in missing program names.
1553 * configure: Regenerated.
1555 2001-06-12 Andreas Jaeger <aj@suse.de>
1557 * iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
1559 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
1561 2001-06-11 Andreas Jaeger <aj@suse.de>
1563 * sysdeps/ieee754/ldbl-128/e_coshl.c: New file. Contributed by
1564 Stephen L Moshier <moshier@mediaone.net>.
1566 * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
1568 * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
1569 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1571 2001-06-11 Michael Deutschmann <michael@talamasca.ocis.net>
1573 * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
1574 Use my_signo instead of MY_SIGNO and initialize it so that the
1575 used signal is always available.
1577 2001-06-11 Andreas Jaeger <aj@suse.de>,
1578 Michael Deutschmann <michael@talamasca.ocis.net>
1580 * io/test-lfs.c (do_prepare): Clean up error messages.
1581 (test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
1582 (do_test): Likewise.
1584 2001-06-11 Andreas Jaeger <aj@suse.de>
1586 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
1587 IMAXBEL): Make always visible since they're needed by POSIX.
1588 Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
1590 2001-06-10 Ben Collins <bcollins@debian.org>
1592 * sysdeps/arm/elf/start.S: Use #function, not @function, for
1595 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
1598 2001-06-07 H.J. Lu <hjl@gnu.org>
1600 * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
1602 2001-06-10 Roland McGrath <roland@frob.com>
1604 * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
1605 * elf/reldep4mod4.c: Likewise.
1607 2001-06-10 Mark Kettenis <kettenis@gnu.org>
1609 * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
1611 2001-06-08 Andreas Schwab <schwab@suse.de>
1613 * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
1614 Don't dereference at end of string.
1616 2001-06-06 Roland McGrath <roland@frob.com>
1618 * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
1619 From Robert Bihlmeyer <robbe@orcus.priv.at>.
1621 2001-06-06 Ulrich Drepper <drepper@redhat.com>
1623 * po/ko.po: Update from translation team.
1625 2001-06-06 Andreas Jaeger <aj@suse.de>
1627 * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
1629 Reported by Robert Bernecky <bernecky@acm.org>.
1631 2001-06-06 Jakub Jelinek <jakub@redhat.com>
1633 * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
1634 * sysdeps/ia64/elf/start.S: Likewise.
1635 * sysdeps/sh/elf/start.S: Likewise.
1636 * sysdeps/s390/s390-32/elf/start.S: Likewise.
1637 * sysdeps/s390/s390-64/elf/start.S: Likewise.
1639 2001-06-05 Matthew Wilcox <willy@ldl.fc.hp.com>
1641 * sysdeps/hppa/bsd-_setjmp.S: New.
1642 * sysdeps/hppa/bsd-setjmp.S: New.
1644 * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
1645 gcc warnings about multi-line strings.
1647 * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
1648 * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
1650 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
1651 setrlimit directly instead of using wrappers.
1653 2001-05-01 Richard Hirst <rhirst@linuxcare.com>
1655 * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
1656 * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
1658 2001-06-05 Philipp Thomas <pthomas@suse.de>
1660 * nis/nis_call.c (__nisbind_connect): Don't mark for translation
1661 what can't be translated.
1663 2001-06-06 Ulrich Drepper <drepper@redhat.com>
1665 * timezone/zic.c: Update from tzcode2001c.
1666 * timezone/private.h: Likewise.
1667 * timezone/africa: Update from tzdata2001c.
1668 * timezone/asia: Likewise.
1669 * timezone/europe: Likewise.
1670 * timezone/northamerica: Likewise.
1671 * timezone/southamerica: Likewise.
1672 * timezone/zone.tab: Likewise.
1674 2001-06-04 Bruno Haible <haible@clisp.cons.org>
1676 * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
1677 * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
1678 UNICODE_TAG_HANDLER.
1679 (__gconv_transform_internal_ucs2): Likewise.
1680 (__gconv_transform_internal_ucs2reverse): Likewise.
1681 * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
1682 * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
1683 * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
1684 * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
1685 * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
1686 * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
1687 * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
1688 * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
1689 * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
1690 * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
1691 * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
1692 * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
1693 * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
1694 * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
1695 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
1696 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
1697 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
1698 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
1699 * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
1700 * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
1701 * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
1702 * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
1703 * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
1704 * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
1705 * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
1706 * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
1707 * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
1708 * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
1709 * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
1710 * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
1711 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
1712 * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
1713 TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
1714 TAG_language_zh, CURRENT_TAG_MASK): New enum values.
1715 (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
1716 is already selected but set2 or tag are set.
1717 (conversion): New enum type.
1718 (cvlist_t): New type.
1719 (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
1720 (conversion_lists): New array.
1721 (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag. If "ja",
1722 prefer conversion to Japanese character sets. If "zh", prefer
1723 conversion to GB2312. If "ko", prefer conversion to KSC5601. Small
1725 (INIT_PARAMS): Add tag.
1726 (UPDATE_PARAMS): Add tag.
1728 2001-06-04 Bruno Haible <haible@clisp.cons.org>
1730 * locale/programs/locfile.c (write_locale_data): Before creat(),
1731 unlink the file, to avoid crashing the processes that mmap it. Change
1732 a double slash to a single slash. Free fname in case of error return.
1734 2001-06-02 Jakub Jelinek <jakub@redhat.com>
1736 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
1737 changes, do the special handling for denormal numbers, not for
1738 normalized numbers (patch by <trevin@xmission.com>).
1740 * math/test-misc.c (main): Test frexpl with denormal arguments.
1742 2001-06-04 Jakub Jelinek <jakub@redhat.com>
1744 * math/libm-test.inc (llround_test): Add two new llround tests.
1745 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
1746 overflow when rounding away from zero.
1748 2001-06-04 Jakub Jelinek <jakub@redhat.com>
1750 * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
1751 * math/math_private.h (__ieee754_log2, __ieee754_log2f,
1752 __ieee754_log2l): New prototypes.
1753 * sysdeps/generic/w_log2.c: New file.
1754 * sysdeps/generic/w_log2f.c: New file.
1755 * sysdeps/generic/w_log2l.c: New file.
1756 * sysdeps/generic/s_log2l.c: Move...
1757 * sysdeps/generic/e_log2l.c: ...to here. Rename to __ieee754_log2l.
1758 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
1760 * sysdeps/i386/fpu/s_log2.S: Move...
1761 * sysdeps/i386/fpu/e_log2.S: ...to here. Rename to __ieee754_log2.
1762 * sysdeps/i386/fpu/s_log2f.S: Move...
1763 * sysdeps/i386/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f.
1764 * sysdeps/i386/fpu/s_log2l.S: Move...
1765 * sysdeps/i386/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l.
1766 * sysdeps/m68k/fpu/s_log2.c: Move...
1767 * sysdeps/m68k/fpu/e_log2.c: ...to here. Rename to __ieee754_log2.
1768 * sysdeps/m68k/fpu/s_log2f.c: Move...
1769 * sysdeps/m68k/fpu/e_log2f.c: ...to here. Rename to __ieee754_log2f.
1770 * sysdeps/m68k/fpu/s_log2l.c: Move...
1771 * sysdeps/m68k/fpu/e_log2l.c: ...to here. Rename to __ieee754_log2l.
1772 * sysdeps/ieee754/dbl-64/s_log2.c: Move...
1773 * sysdeps/ieee754/dbl-64/e_log2.c: ...to here. Rename to
1775 * sysdeps/ieee754/flt-32/s_log2f.c: Move...
1776 * sysdeps/ieee754/flt-32/e_log2f.c: ...to here. Rename to
1779 2001-06-04 Jakub Jelinek <jakub@redhat.com>
1781 * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
1782 even arguments which result in denormalized exp2 are accepted.
1783 (__exp2): Arguments equal to u_threshold already result into
1785 * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
1786 * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
1787 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
1788 low, with corrected lowmark use greaterequal, not greater.
1789 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1791 2001-06-04 Jakub Jelinek <jakub@redhat.com>
1793 * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
1794 * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
1795 * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
1796 * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
1797 * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
1798 * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
1799 * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
1800 * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
1802 2001-06-04 Jakub Jelinek <jakub@redhat.com>
1804 * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
1805 gave non-finite result instead of using constant in generic
1807 * sysdeps/generic/w_coshf.c (__coshf): Likewise.
1808 * sysdeps/generic/w_cosh.c (__cosh): Likewise.
1809 * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
1810 (__exp10): Test if finite argument gave non-finite result.
1811 * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
1813 * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
1816 2001-06-04 Jakub Jelinek <jakub@redhat.com>
1818 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
1819 overflow threshold constant (log(LDBL_MAX)+M_LN2l).
1821 2001-05-29 Bruno Haible <haible@clisp.cons.org>
1823 * locale/programs/ld-ctype.c (idx_table): New struct type.
1824 (idx_table_init, idx_table_get, idx_table_add): New functions.
1825 (MAX_CHARNAMES_IDX): Remove macro.
1826 (locale_ctype_t): Change type of charnames_idx field.
1827 (ctype_startup): Change initialization of charnames_idx field.
1828 (find_idx): Use idx_table_get and idx_table_add for speed.
1830 * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
1831 computation of characters in a range.
1833 2001-05-29 Bruno Haible <haible@clisp.cons.org>
1835 * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
1837 (__ucs_to_gb18030_tab1): Likewise.
1838 (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
1839 (BODY for TO_LOOP): Likewise.
1840 * iconvdata/tst-table-charmap.sh: Update for charmaps containing
1842 * iconvdata/tst-table-from.c (bmp_only): New variable.
1843 (utf8_decode): If bmp_only, don't return characters outside Unicode
1845 (main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print
1846 a conversion line if utf8_decode returns NULL.
1847 * iconvdata/tst-table-to.c (main): When testing encodings other than
1848 UTF-8 and GB18030, loop upto U+30000 instead of U+10000. Use UTF-8
1849 instead of UCS-2 as input.
1850 * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
1853 2001-05-29 Bruno Haible <haible@clisp.cons.org>
1855 * iconvdata/cns11643l1.c: Update to Unicode 3.1.
1856 (__cns11643l1_to_ucs4_tab): Regenerated.
1857 (__cns11643l1_from_ucs4_tab12): Regenerated.
1858 * iconvdata/cns11643.c: Update to Unicode 3.1.
1859 (__cns11643l14_to_ucs4_tab): Remove array.
1860 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
1861 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
1862 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
1863 (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
1864 (__cns11643_from_ucs4p2_tab): New array.
1865 * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
1866 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
1867 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
1868 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
1869 (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
1870 (__cns11643_from_ucs4_tab): Remove declaration.
1871 (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
1873 (ucs4_to_cns11643): Update for new arrays. Treat U+3400..U+4DFF and
1875 * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
1877 (__cns11643_from_ucs4p0_tab): New declaration.
1878 (ucs4_to_cns11643l2): Update for new arrays.
1879 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
1881 (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
1882 * iconvdata/EUC-TW.irreversible: New file.
1883 * iconvdata/tst-table.sh: Use it.
1884 * iconvdata/Makefile (distribute): Add CP1255.irreversible,
1885 CP1258.irreversible, EUC-TW.irreversible.
1887 2001-05-29 Bruno Haible <haible@clisp.cons.org>
1889 * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
1890 mathematical symbols.
1892 2001-06-05 Andreas Jaeger <aj@suse.de>
1894 * manual/stdio.texi (Portable Positioning): Fix description of
1895 fpos_t and fpos64_t.
1897 2001-06-06 Ulrich Drepper <drepper@redhat.com>
1899 * sysdeps/generic/wordexp.c: Undo last patch. Use strndupa instead.
1901 * po/sk.po: Update from translation team.
1903 2001-06-05 Andreas Jaeger <aj@suse.de>
1905 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
1906 tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
1907 Closes PR libc/2315.
1909 2001-06-05 Ulrich Drepper <drepper@redhat.com>
1911 * sysdeps/generic/wordexp.c: Add missing free.
1912 Patch by yeti@physics.muni.cz.
1914 2001-06-02 Tom Browder <tbrowder@home.com>
1916 * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
1917 within bounds when lag > 0.
1919 2001-06-05 Ulrich Drepper <drepper@redhat.com>
1921 * po/tr.po: New file.
1923 2001-06-05 Andreas Jaeger <aj@suse.de>
1925 * manual/libm-err-tab.pl (parse_ulps): Fix typo.
1927 2001-06-04 H.J. Lu <hjl@gnu.org>
1929 * sysdeps/alpha/elf/start.S: Add .type for the entry point.
1930 * sysdeps/arm/elf/start.S: Likewise.
1931 * sysdeps/hppa/elf/start.S: Likewise.
1932 * sysdeps/i386/elf/start.S: Likewise.
1933 * sysdeps/m68k/elf/start.S: Likewise.
1934 * sysdeps/mips/elf/start.S: Likewise.
1935 * sysdeps/ia64/elf/start.S: Likewise.
1936 * sysdeps/sh/elf/start.S: Likewise.
1937 * sysdeps/s390/s390-32/elf/start.S: Likewise.
1938 * sysdeps/s390/s390-64/elf/start.S: Likewise.
1939 * sysdeps/cris/elf/start.S: Likewise.
1941 2001-06-04 Bruce Mitchener <bruce@cubik.org>
1943 * manual/resource.texi: Correct setpriority/nice documentation.
1945 * sysdeps/unix/nice.c: Correct nice() implementation.
1947 2001-06-04 Andreas Jaeger <aj@suse.de>
1949 * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
1950 Stephen L Moshier <moshier@mediaone.net>.
1952 2001-06-03 Roland McGrath <roland@frob.com>
1954 * Makefile (postclean): Remove obsolete sysd-Makefile.
1956 2001-06-01 Roland McGrath <roland@frob.com>
1958 * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
1959 and use compat_symbol/versioned_symbol instead of plain
1960 symbol_version/default_symbol_version.
1961 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
1962 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
1963 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
1964 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
1965 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
1966 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
1967 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
1968 * sysdeps/arm/fpu/fegetenv.c: Likewise.
1969 * sysdeps/arm/fpu/fesetenv.c: Likewise.
1970 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
1971 * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
1972 * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
1973 * sysdeps/i386/fpu/fegetenv.c: Likewise.
1974 * sysdeps/i386/fpu/fesetenv.c: Likewise.
1975 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
1976 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
1977 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1978 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
1979 * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
1980 * sysdeps/m68k/fpu/fegetenv.c: Likewise.
1981 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
1982 * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
1983 * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
1984 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
1985 * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
1986 * sysdeps/powerpc/fclrexcpt.c: Likewise.
1987 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
1988 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1989 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1990 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
1991 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
1992 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
1994 * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
1995 * iconvdata/iso-2022-cn-ext.c: Likewise.
1997 2001-06-01 Andreas Jaeger <aj@suse.de>
1999 * Versions.def: Add version 2.2.4.
2001 2001-06-01 Ulrich Drepper <drepper@redhat.com>
2003 * socket/Makefile (routines): Add sockatmark.
2004 * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
2005 * socket/sys/socket.h: Add prototype for sockatmark.
2006 * sysdeps/generic/sockatmark.c: New file.
2007 * sysdeps/unix/sockatmark.c: New file.
2009 2001-06-01 Andreas Jaeger <aj@suse.de>
2011 * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
2013 (cfsetospeed): Likewise.
2014 Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
2016 2001-05-31 Joseph S. Myers <jsm28@cam.ac.uk>
2018 * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
2020 2001-05-30 Martin Schwidefsky <schwidefsky@de.ibm.com>
2022 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
2023 needs to have the same aligment as the kernel structure.
2025 2001-05-29 Jakub Jelinek <jakub@redhat.com>
2027 * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
2028 u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
2029 * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
2030 u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
2031 against multiple definition.
2033 2001-05-30 Ulrich Drepper <drepper@redhat.com>
2035 * po/da.po: Update from translation team.
2037 2001-05-29 Andreas Jaeger <aj@suse.de>
2039 * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
2040 Stephen L Moshier <moshier@mediaone.net>.
2042 * math/libm-test.inc (sinh_test): Add new test case.
2044 * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
2046 Patch by Stephen L Moshier <moshier@mediaone.net>.
2048 2001-05-23 Andreas Jaeger <aj@suse.de>
2050 * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
2051 * iconvdata/testdata/WINDOWS-1255..UTF8: this.
2053 2001-05-27 Andreas Jaeger <aj@suse.de>
2055 * manual/stdio.texi (String Streams): Fix fmemopen description.
2056 Reported by Michal Kochanowicz <michal@michal.waw.pl>.
2058 2001-05-26 H.J. Lu <hjl@gnu.org>
2060 * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
2061 to s_sigsuspend. Add s_mmap2.
2063 * sysdeps/mips/atomicity.h: New file.
2065 * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
2067 * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
2070 2001-05-25 Bruce Mitchener <bruce@cubik.org>
2072 * manual/ctype.texi: Minor fix.
2073 * manual/install.texi: Likewise.
2074 * manual/startup.texi: Likewise.
2075 * manual/examples/dir.c: Use perror() rather than puts().
2077 2001-05-25 David Mosberger <davidm@hpl.hp.com>
2079 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
2080 #endif directive inside a comment to avoid compiler warnings.
2082 2001-05-25 Philipp Thomas <pthomas@suse.de>
2084 * nis/nis_print.c (nis_nstype2str): Don't mark names of
2085 naming services for translation, only UNKNOWN needs it.
2086 Add comment to prevent it for the future.
2088 2001-05-25 Joseph S. Myers <jsm28@cam.ac.uk>
2090 * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
2091 3.1 and non-GCC C99 compilers.
2093 2001-05-22 David Mosberger <davidm@hpl.hp.com>
2095 * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
2097 * sysdeps/ia64/memcpy.S: Likewise.
2099 * sysdeps/ia64/bcopy.S: New file.
2101 * sysdeps/ia64/bzero.S: New file (derived from memset.S).
2103 2001-05-26 Ulrich Drepper <drepper@redhat.com>
2105 * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
2107 2001-05-24 Ulrich Drepper <drepper@redhat.com>
2109 * iconvdata/Makefile: Add rules for CP10007.
2110 * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
2111 * iconvdata/cp10007.c: New file.
2112 * iconvdata/tst-tables.sh: Add CP10007.
2114 2001-05-23 kaz Kojima <kkojima@rr.iij4u.or.jp>
2116 * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
2117 (_dl_runtime_profile): Likewise..
2119 2001-05-23 Thorsten Kukuk <kukuk@suse.de>
2121 * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
2122 * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
2124 2001-05-19 H.J. Lu <hjl@gnu.org>
2126 * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
2127 errstring of the failed DSO to _dl_signal_error ().
2129 2001-05-23 Ulrich Drepper <drepper@redhat.com>
2131 * iconvdata/gconv-modules: Add more aliases to enable use in
2134 2001-05-23 Andreas Jaeger <aj@suse.de>
2136 * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
2137 Remove, it's not used anywhere anymore.
2138 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
2139 (CFLAGS-initfini.s): Likewise.
2140 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
2141 (CFLAGS-initfini.s): Likewise.
2142 * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
2144 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
2147 2001-05-21 Bruno Haible <haible@clisp.cons.org>
2149 * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
2150 use 0 instead, and rely on the converter to do the flush.
2151 * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
2153 (utf8_test_2, utf8_test_3): New function.
2154 (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
2156 2001-05-22 Jakub Jelinek <jakub@redhat.com>
2158 * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
2160 * elf/Makefile (distribute): Add reldep4mod[1234].c.
2161 (tests): Add reldep4.
2162 (modules-names): Add reldep4mod[1234].
2163 (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
2164 * elf/reldep4.c: New file.
2165 * elf/reldep4mod1.c: Likewise.
2166 * elf/reldep4mod2.c: Likewise.
2167 * elf/reldep4mod3.c: Likewise.
2168 * elf/reldep4mod4.c: Likewise.
2170 2001-05-18 Jakub Jelinek <jakub@redhat.com>
2172 * elf/dl-lookup.c (PROTECTED): Remove defines.
2173 (add_dependency): Mark it with internal_function.
2174 (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
2175 (_dl_lookup_symbol, _dl_lookup_symbol_skip,
2176 _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
2177 it if we don't want do_lookup* inlined.
2179 2001-05-18 Jakub Jelinek <jakub@redhat.com>
2181 * include/link.h (struct r_scope_elem): Remove r_duplist and
2183 * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
2184 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
2186 (_dl_lookup_versioned_symbol_skip): Likewise.
2187 * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
2188 (_dl_map_object_deps): Don't compute duplicate list.
2190 * elf/dl-symbol.c: Removed.
2191 * elf/Makefile (routines): Remove dl-symbol.
2193 2001-05-22 Ulrich Drepper <drepper@redhat.com>
2195 * po/el.po: Update from translation team.
2196 * po/sv.po: Likewise.
2198 2001-05-20 Bruno Haible <haible@clisp.cons.org>
2200 * iconvdata/cp1255.c: Completely rewritten.
2201 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
2202 * iconvdata/testdata/WINDOWS-1255: New file.
2203 * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
2204 * iconvdata/TESTS: Add WINDOWS-1255 test.
2205 * iconvdata/CP1255.irreversible: New file.
2207 2001-05-20 Bruno Haible <haible@clisp.cons.org>
2209 * iconvdata/cp1258.c: Completely rewritten.
2210 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
2211 * iconvdata/testdata/WINDOWS-1258: New file.
2212 * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
2213 * iconvdata/TESTS: Add WINDOWS-1258 test.
2214 * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
2215 the main call, and flush it afterwards.
2216 (utf8_decode): Return a string, possibly containing several Unicode
2218 (main): Update all utf8_decode calls.
2219 * iconvdata/CP1258.irreversible: New file.
2221 2001-05-20 Bruno Haible <haible@clisp.cons.org>
2223 * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
2224 * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2. In the
2225 first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
2226 EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
2227 the next step. In the second case, clear the state without calling
2229 * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
2230 data->__outbuf, and outend instead of data->__outbufend.
2231 * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
2232 * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
2233 * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
2234 * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
2235 * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
2236 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
2237 * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
2238 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
2239 * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
2241 2001-05-21 Jakub Jelinek <jakub@redhat.com>
2243 * elf/rtld.c (dl_main): Compute l_map_end for the main program.
2244 * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
2245 If match == _dl_loaded, caller can still come from the main program.
2246 (_dl_vsym): Likewise.
2247 * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
2248 * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
2249 * elf/restest2.c: New test.
2250 * elf/Makefile (tests): Add restest2.
2251 (restest2, LDFLAGS-restest2): Add rules.
2253 2001-05-22 Ulrich Drepper <drepper@redhat.com>
2255 * intl/Makefile: Add a few more dependencies to avoid races in the
2258 2001-05-22 Andreas Jaeger <aj@suse.de>
2260 * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
2261 Stephen L Moshier <moshier@mediaone.net>.
2263 2001-05-22 Martin Schwidefsky <schwidefsky@de.ibm.com>
2265 * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
2266 return addresses instead of the stack pointers.
2267 * sysdeps/s390/s390-64/backtrace.c: Likewise.
2269 2001-05-21 Jakub Jelinek <jakub@redhat.com>
2271 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
2272 bits/sigcontext.h instead of bits/sigstack.h.
2273 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
2274 multiple-inclusion guards.
2276 2001-05-21 Andreas Jaeger <aj@suse.de>
2278 * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
2279 Patch by Philipp Thomas <pthomas@suse.de>.
2281 2001-05-17 Bruce Mitchener <bruce@cubik.org>
2283 * manual/arpg.texi: Spelling, misc fixes.
2284 * manual/arith.texi: Likewise.
2285 * manual/crypt.texi: Likewise.
2286 * manual/debug.texi: Likewise.
2287 * manual/getopt.texi: Likewise.
2288 * manual/intro.texi: Likewise.
2289 * manual/memory.texi: Likewise.
2290 * manual/nss.texi: Likewise.
2291 * manual/pattern.texi: Likewise.
2292 * manual/process.texi: Likewise.
2293 * manual/resource.texi: Likewise.
2294 * manual/search.texi: Likewise.
2295 * manual/setjmp.texi: Likewise.
2296 * manual/signal.texi: Likewise.
2297 * manual/socket.texi: Likewise.
2298 * manual/stdio.texi: Likewise.
2299 * manual/string.texi: Likewise.
2300 * manual/sysinfo.texi: Likewise.
2301 * manual/terminal.texi: Likewise.
2302 * manual/llio.texi: Document madvise().
2304 2001-05-20 Roland McGrath <roland@frob.com>
2306 * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
2307 found within $(add-ons) directories too.
2308 [linuxthreads add-on]: Move variable settings for linuxthreads
2309 to new file linuxthreads/Makeconfig.
2311 2001-05-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2313 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
2314 Define for linux >= 2.4.5 on powerpc.
2315 (__ASSUME_MMAP2_SYSCALL): Likewise.
2317 2001-05-19 Roland McGrath <roland@frob.com>
2319 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
2320 result port when failing with ELOOP. Do the ELOOP check when
2321 following an absolute symlink target as well as relative.
2322 Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
2324 2001-05-18 Andreas Jaeger <aj@suse.de>
2326 * po/fr.po: Free software is "logiciel libre".
2327 Patch by Martin Michlmayr <tbm@cyrius.com>.
2329 * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
2330 Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
2332 2001-05-17 David Mosberger <davidm@hpl.hp.com>
2334 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
2336 2001-05-17 Ulrich Drepper <drepper@redhat.com>
2338 * elf/dl-profile.c (_dl_mcount): Check whether state is
2339 GMON_PROF_ON before doing anything.
2341 2001-05-17 H.J. Lu <hjl@gnu.org>
2343 * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
2345 2001-05-17 Ulrich Drepper <drepper@redhat.com>
2347 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
2348 CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
2349 Reported by Mark Burton <markb@ordern.com>.
2351 2001-05-17 Jakub Jelinek <jakub@redhat.com>
2353 * elf/ldconfig.c (add_dir): Only warn about stat failure if
2355 (search_dir): Likewise.
2357 2001-05-17 Ulrich Drepper <drepper@redhat.com>
2359 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
2360 parameter of xaddl. Patch by H . J . Lu <hjl@lucon.org>.
2362 2001-05-14 Bruno Haible <haible@clisp.cons.org>
2364 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
2365 without previous announcement, reject it regularly, don't abort.
2367 2001-05-16 Ulrich Drepper <drepper@redhat.com>
2369 * math/tgmath.h: Fix handling of int parameters to binary and
2370 ternary functions. Reported by mitr@volny.cz.
2372 * math/test-tgmath.c: Add tests for calls with integer parameters.
2374 2001-05-15 Jakub Jelinek <jakub@redhat.com>
2376 * sunrpc/rpc_thread.c (rpc_default): Remove.
2377 (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
2379 (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
2380 __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
2381 * sunrpc/auth_none.c (authnone_private): Fix a typo.
2383 2001-05-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
2385 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
2387 2001-05-16 Bruce Mitchener <bruce@cubik.org>
2389 * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
2391 2001-05-15 Andreas Jaeger <aj@suse.de>
2393 * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
2394 Stephen L Moshier <moshier@mediaone.net>.
2396 * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
2398 * math/libm-test.inc: Add comment with ToDo.
2400 * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
2401 accurate algorithm. Patch by Stephen L Moshier <moshier@mediaone.net>.
2403 * sysdeps/i386/fpu/e_expl.S: Removed.
2405 2001-05-14 Roland McGrath <roland@frob.com>
2407 * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
2408 static pattern rule also that also covers
2409 $(objpx)g$(static-start-installed-name).
2410 [$(start-installed-name) != $(static-start-installed-name)]
2411 (extra-objs, omit-deps, install-lib): Add
2412 $(static-start-installed-name) and g$(static-start-installed-name).
2413 * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
2414 just setting static-start-installed-name is now sufficient.
2415 (extra-objs): Add static-start.o here.
2416 (CFLAGS-initfini.s): Remove obsolete variable.
2417 * sysdeps/mach/hurd/i386/Makeconfig: New file.
2418 Define static-start-installed-name here.
2420 * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
2421 * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
2423 * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
2424 associated hair. Instead, just use $(wildcard ...) in the include.
2426 * configure.in (critic_missing, aux_missing): Collect in these vars
2427 the names of the missing programs, and include them in the error msgs.
2428 * configure: Regenerated.
2430 2001-05-14 Andreas Jaeger <aj@suse.de>
2432 * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
2434 * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
2436 2001-05-14 Stephen L Moshier <moshier@mediaone.net>
2438 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
2440 2001-05-11 Jakub Jelinek <jakub@redhat.com>
2442 * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
2443 as well if swapping strings.
2444 Make sure stop is not past end of second string.
2445 * posix/bug-regex4.c: New test.
2446 * posix/Makefile (tests): Add bug-regex4.
2448 2001-05-10 Andreas Jaeger <aj@suse.de>
2450 * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
2453 2001-05-12 Andreas Jaeger <aj@suse.de>
2455 * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
2456 internal prototypes.
2457 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2458 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2459 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2460 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2461 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2462 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2463 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2465 * math/math_private.h: Add prototypes for internal functions of
2466 the IBM Accurate Mathematical Library.
2468 * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
2470 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2472 * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
2473 internal prototypes.
2474 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2475 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2476 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2477 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2478 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2479 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2480 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2481 * sysdeps/generic/e_rem_pio2l.c: Likewise.
2482 (__ieee754_rem_pio2l): Fix prototype.
2484 * math/math_private.h (__copysign): Add internal prototype.
2486 2001-05-11 Andreas Jaeger <aj@suse.de>
2488 * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
2489 * sysdeps/unix/sysv/linux/mips/configure.in: ...here. New file.
2491 2001-05-11 Andreas Jaeger <aj@suse.de>
2493 * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
2496 * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
2497 format directive. Patch by Steven J. Hill <sjhill@cotw.com>.
2499 2001-05-11 Roland McGrath <roland@frob.com>
2501 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
2502 $(build-module) here, since we don't need the full magilla.
2503 Just use $(build-module-helper) and append our special options.
2505 2001-05-09 Andreas Schwab <schwab@suse.de>
2507 * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
2510 2001-05-07 H.J. Lu <hjl@gnu.org>
2512 * elf/ldconfig.c (dir_entry): Add ino and dev.
2513 (add_single_dir): Compare ino and dev to check if 2 directory
2514 paths are the same or not. Free entry->path for duplicates.
2515 (add_dir): Initialize ino and dev for entry.
2516 (search_dir): Handle symlink to directory.
2518 2001-05-07 Andreas Jaeger <aj@suse.de>
2520 * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
2522 * math/libm-test.inc (exp_test): Add some more tests.
2523 (pow_test): Run double only test also for long double.
2525 * math/test-ldouble.c (TEST_LDOUBLE): Define.
2526 * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
2528 * sysdeps/generic/bits/confname.h: Remove extra comma at end of
2530 Closes PR libc/2240.
2532 * scripts/config.guess: Imported from gnu.org.
2533 * scripts/config.sub: Likewise.
2535 2001-05-05 Jakub Jelinek <jakub@redhat.com>
2537 * include/features.h (__USE_EXTERN_INLINES): Don't define if
2538 __NO_INLINE__ is defined.
2539 * ctype/ctype.h (tolower, toupper): Change the guard condition to
2540 __USE_EXTERN_INLINES check only.
2541 * stdlib/stdlib.h (strtod, ...): Likewise.
2542 * wcsmbs/wchar.h (mbrlen): Likewise.
2543 * string/string.h: Only include bits/string.h and bits/string2.h
2544 if __NO_INLINE__ is not defined.
2546 2001-05-07 Andreas Jaeger <aj@suse.de>
2548 * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
2551 2001-05-04 H.J. Lu <hjl@gnu.org>
2553 * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
2556 2001-05-06 Andreas Jaeger <aj@suse.de>
2558 * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
2559 * sysdeps/i386/fpu/e_fmodl.S: Removed.
2560 * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
2561 * sysdeps/i386/fpu/e_atan2l.S: Removed.
2562 * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
2563 * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
2564 * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
2565 * sysdeps/i386/fpu/e_acosl.S: Removed.
2566 * sysdeps/i386/fpu/s_atanl.S: Removed.
2567 * sysdeps/i386/fpu/e_sqrtl.S: Removed.
2569 2001-05-05 Mark Kettenis <kettenis@gnu.org>
2571 * sysdeps/mach/hurd/bits/environments.h: Add comment from
2572 sysdeps/generic/bits/environments.h. Define _POSIX_V6_* values.
2574 2001-04-30 Jakub Jelinek <jakub@redhat.com>
2576 * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
2577 that _CS_LFS_CFLAGS can fall through to the empty returned string
2578 case. Add FALLTHROUGH comment.
2580 2001-04-29 Ralf Baechle <ralf@gnu.org>
2582 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
2583 definitions match the kernel definitions.
2584 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
2585 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
2587 2001-04-29 Ben Collins <bcollins@debian.org>
2589 * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
2591 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
2592 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2593 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2594 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
2595 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
2596 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2597 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2598 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2599 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2600 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2601 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2602 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2603 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
2604 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2605 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
2606 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2607 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2608 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2609 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2610 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
2611 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
2612 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
2613 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2615 2001-04-29 Andreas Schwab <schwab@suse.de>
2617 * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
2620 2001-04-29 Andreas Jaeger <aj@suse.de>
2622 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2623 Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
2625 * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
2627 (AF_WANPIPE): Likewise.
2630 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
2631 for Linux generic version.
2632 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
2633 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2634 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2635 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
2637 * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
2639 2001-04-27 Ulrich Drepper <drepper@redhat.com>
2641 * nis/nss-nis.h: Correct test for invalid error number.
2642 * nis/nss-nisplus.h: Likewise.
2644 * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
2646 2001-04-26 Ulrich Drepper <drepper@redhat.com>
2648 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
2650 * string/strcoll.c: Fix two memory allocation problems.
2651 * string/Makefile (tests): Add bug-strcoll1.
2652 * string/bug-strcoll1.c: New file.
2654 * malloc/mcheck.c (mcheck): Call malloc once before setting the
2655 hooks to allow the internal check hooks to be set up if necessary.
2657 * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
2658 and rename to __yperr2nss_tab. Change YPERR_COUNT into variable
2660 * nis/nss-nis.c: New file.
2661 * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
2662 and rename to __niserr2nss_tab. Change NISERR_COUNT into variable
2664 * nis/nss-nisplus.c: New file.
2665 * nis/Makefile (libnss_compat-routines): Add nss-nis.
2666 (libnss_nis-routines): Likewise.
2667 (libnss_nisplus-routines): Add nss-nisplus.
2669 * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
2670 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
2671 * nis/nss_nisplus/nisplus-grp.c: Likewise.
2672 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
2673 * nis/nss_nisplus/nisplus-network.c: Likewise.
2674 * nis/nss_nisplus/nisplus-proto.c: Likewise.
2675 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
2676 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
2677 * nis/nss_nisplus/nisplus-service.c: Likewise.
2678 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
2679 * nis/nss_nis/nis-alias.c: Likewise.
2680 * nis/nss_nis/nis-ethers.c: Likewise.
2681 * nis/nss_nis/nis-grp.c: Likewise.
2682 * nis/nss_nis/nis-network.c: Likewise.
2683 * nis/nss_nis/nis-proto.c: Likewise.
2684 * nis/nss_nis/nis-pwd.c: Likewise.
2685 * nis/nss_nis/nis-spwd.c: Likewise.
2686 * nis/nss_compat/compat-grp.c: Likewise.
2687 * nis/nss_compat/compat-initgroups.c: Likewise.
2688 * nis/nss_compat/compat-pwd.c: Likewise.
2689 * nis/nss_compat/compat-spwd.c: Likewise.
2691 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
2692 optimizations. Patch by Jakub Jelinek <jakub@redhat.com>.
2694 2001-04-26 Andreas Jaeger <aj@suse.de>
2696 * po/zh_TW.po: Update.
2697 Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
2699 2001-04-25 Ulrich Drepper <drepper@redhat.com>
2701 * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
2702 compiler command line.
2703 * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
2704 command line for malloc.c.
2706 2001-04-25 Jakub Jelinek <jakub@redhat.com>
2708 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
2709 * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
2710 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
2711 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
2712 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here. Adjust
2713 struct msghdr for __WORDSIZE == 32.
2714 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
2715 * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust
2716 for __WORDSIZE == 32.
2717 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
2718 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
2720 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
2721 Rename from longjmp, make longjmp weak alias to it.
2723 2001-04-24 David S. Miller <davem@redhat.com>
2725 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
2727 2001-04-25 Matthew Wilcox <willy@ldl.fc.hp.com>
2729 * sysdeps/hppa/stackinfo.h: New file.
2730 * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
2731 * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
2732 * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
2733 * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
2734 of PA kernel features.
2736 2001-04-25 Ulrich Drepper <drepper@redhat.com>
2738 * locale/programs/localedef.c (main): Always set a file name for
2740 * locale/programs/locfile.c (locfile_read): filename is allowed to
2743 2001-04-12 Paul Bame <paul_bame@hp.com>
2745 * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
2748 2001-04-24 Ulrich Drepper <drepper@redhat.com>
2750 * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
2751 _XBS5_LPBIG_OFFBIG): Define to -1.
2754 * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
2755 * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
2756 * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2757 * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2759 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
2760 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
2762 2001-03-21 Alan Modra <alan@one.net.au>
2764 * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
2765 value from application so that constructors in non-PIC libs work.
2767 2000-12-13 Jes Sorensen <jes@linuxcare.com>
2769 * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
2770 function pointer, hence load the jump address and gp from the
2771 function pointer before jumping.
2773 2001-04-24 Andreas Jaeger <aj@suse.de>
2775 * sysdeps/generic/send.c (__send): Return ssize_t.
2776 * sysdeps/mach/hurd/send.c (__send): Likewise.
2777 * sysdeps/mach/hurd/recv.c (recv): Likewise.
2778 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
2779 * sysdeps/generic/sendto.c (sendto): Likewise.
2780 * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
2781 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
2782 * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
2783 * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
2785 * socket/sys/socket.h: send* and recv* return ssize_t.
2787 * include/sys/socket.h: send returns ssize_t.
2789 * sysdeps/i386/fpu_control.h: Fix comments.
2791 2001-04-24 Ulrich Drepper <drepper@redhat.com>
2793 * sysdeps/ia64/Dist: Add hp-timing.c.
2794 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
2795 * posix/Makefile (distribute): Add tst-getconf.sh.
2796 * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
2798 2001-04-23 Ulrich Drepper <drepper@redhat.com>
2800 * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
2801 * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
2802 * sysdeps/ia64/hp-timing.c: New file.
2803 * sysdeps/ia64/hp-timing.h: New file.
2804 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
2805 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
2807 * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
2808 using #ifdef whether the clock is available.
2809 * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
2811 * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
2812 it into data section.
2814 * sysdeps/unix/i386/i586/clock_getres.c: Removed.
2815 * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
2816 * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
2817 * sysdeps/unix/i386/i586/clock_settime.c: Removed.
2818 * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
2819 * sysdeps/generic/cpuclock-init.h: Removed.
2820 * sysdeps/unix/i386/i686/Implies: Removed.
2821 * sysdeps/unix/i386/i686/tempname.c: Removed.
2822 * sysdeps/i386/i686/Versions: New file.
2823 * sysdeps/unix/i386/i586/Versions: Removed.
2825 * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
2826 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
2827 * sysdeps/unix/clock_gettime.c: Likewise.
2828 * sysdeps/unix/clock_nanosleep.c: Likewise.
2829 * sysdeps/unix/clock_settime.c: Likewise.
2830 * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
2831 RANDOM_BITS use CPU clock.
2833 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
2834 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
2835 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
2836 * sysdeps/sparc/Versions: New file.
2838 * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
2839 hp-timing.h definitions.
2840 * sysdeps/generic/dl-sysdep.c: Likewise.
2842 * include/libc-internal.h: Include hp-timing.h. Use hp_timing_t in
2843 __get_clockfreq prototype.
2845 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2846 Use hp_timing_t type.
2847 * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
2849 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
2851 * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
2852 whether named file is a regular file or a block device.
2853 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2855 2001-04-23 Andreas Jaeger <aj@suse.de>
2857 * nscd/nscd.h: Add noreturn attribute for start_threads.
2859 2001-04-22 Ulrich Drepper <drepper@redhat.com>
2861 * posix/getconf.c: Fix names of XBS5 LFS test variables.
2862 Add missing configuration variables from XPG6.
2863 * posix/tst-getconf.c: New file.
2864 * posix/Makefile (generated): Add tst-getconf.out.
2865 (tests): Add ($objpfx)tst-getconf.out.
2866 Add rule to run tst-getconf.sh.
2867 * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
2869 * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
2871 * sysdeps/posix/pathconf.c: Likewise.
2872 * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
2873 and _SC_SYMLOOP_MAX.
2875 2001-04-22 Philip Blundell <philb@gnu.org>
2877 * sysdeps/arm/fpu/feenablxcpt.c: New file.
2878 * sysdeps/arm/fpu/fedisablxcpt.c: New file.
2879 * sysdeps/arm/fpu/fegetexcpt.c: New file.
2881 2001-04-22 Philip Blundell <philb@gnu.org>
2883 * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
2884 Renamed from struct user_fp.
2885 (struct user_regs): New.
2886 (struct user): Use struct user_regs rather than struct pt_regs to
2887 avoid dependency on asm/ptrace.h. Use struct user_fpregs in place
2888 of struct user_fp and struct user_fp_struct.
2889 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
2892 2001-04-22 Philip Blundell <philb@gnu.org>
2894 * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
2895 sys/procfs.h, and tell the user to include that file instead.
2896 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
2897 surrounded with #if 0.
2898 (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
2900 (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
2901 elf_fpregset_t respectively.
2903 2001-04-22 Philip Blundell <philb@gnu.org>
2905 * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
2906 address that faulted.
2908 2001-04-21 Ulrich Drepper <drepper@redhat.com>
2910 * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
2912 * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
2913 * posix/confstr.c: Handle _CS_POSIX_V6_* values.
2914 * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
2915 * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
2917 * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
2918 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2919 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2920 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2922 2001-04-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2924 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
2927 2001-04-21 Ulrich Drepper <drepper@redhat.com>
2929 * posix/getopt.h: Treat __cplusplus like __STDC__.
2931 2001-04-20 John S. Marvin <jsm@fc.hp.com>
2933 * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
2936 2001-04-20 Richard Hirst <rhirst@linuxcare.com>
2938 * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
2939 and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
2941 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
2942 entry so the ptrace.c wrapper is used.
2944 2001-04-20 Alan Modra <amodra@one.net.au>
2946 * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
2947 (DL_FUNCTION_ADDRESS): Define.
2948 (DL_DT_INIT_ADDRESS): Define.
2949 (DL_DT_FINI_ADDRESS): Define.
2950 * sysdeps/hppa/Versions: Add _dl_function_address.
2951 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
2952 * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
2953 _dl_function_address.
2955 2001-04-21 Andreas Jaeger <aj@suse.de>
2957 * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
2958 * resolv/gai_misc.c (handle_requests): Likewise.
2959 * malloc/obstack.c (print_and_abort): Likewise.
2960 * malloc/mcheck.c (mabort): Likewise.
2962 * sysdeps/unix/i386/i586/clock_settime.c: Include
2963 "libc-internal.h" for __get_clockfreq declaration.
2965 2001-04-21 Ulrich Drepper <drepper@redhat.com>
2967 * elf/dl-support.c: Include cpuclock-init.h. Use CPUCLOCK_VARDEF and
2968 CPUCLOCK_INIT if defined.
2969 * sysdeps/generic/dl-sysdep.c: Likewise.
2970 * sysdeps/generic/cpuclock-init.h: New file.
2971 * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
2972 * sysdeps/unix/i386/i586/Versions: New file.
2973 * sysdeps/unix/i386/i586/clock_settime.c: New file.
2974 * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
2975 separately by calling __pthread_clock_gettime if this function is
2976 available. Subtract offset from tsc value before computing time value.
2978 2001-04-20 Ulrich Drepper <drepper@redhat.com>
2980 * iconv/iconv_prog.c (print_known_names): If printing goes not to
2981 a tty print in a more machine-friendly way.
2983 * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
2984 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2986 2001-04-20 Andreas Jaeger <aj@suse.de>
2988 * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
2990 2001-04-20 Andreas Schwab <schwab@suse.de>
2992 * sysdeps/m68k/fpu/libm-test-ulps: Update.
2994 2001-04-19 Alan Modra <amodra@one.net.au>
2996 * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
2997 * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
2998 (CFLAGS-.os): Remove.
3000 * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
3002 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
3003 gregset): Correct for new kernel definitions.
3005 2001-04-19 Alan Modra <alan@linuxcare.com.au>
3007 * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
3008 generate unwind info by hand.
3010 2001-04-19 Ulrich Drepper <drepper@redhat.com>
3012 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
3014 * configure.in: Correct regular expression for msgfmt.
3015 Patch by Bruno Haible <haible@ilog.fr>.
3017 2001-04-19 Andreas Jaeger <aj@suse.de>
3019 * po/el.po: Add comment explaining what's broken.
3021 * po/Makefile (BROKEN_LINGUAS): New.
3022 (ALL_LINGUAS): Don't add broken languages.
3024 2001-04-19 Roland McGrath <roland@frob.com>
3026 * sysdeps/mach/hurd/mlock.c: New file.
3027 * sysdeps/mach/hurd/munlock.c: New file.
3028 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
3030 * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
3031 * sysdeps/generic/mlock.c: New file.
3032 * sysdeps/generic/munlock.c: New file.
3033 * sysdeps/generic/mlockall.c: New file.
3034 * sysdeps/generic/munlockall.c: New file.
3035 * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
3036 * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
3037 mlockall, munlockall): Change caller field to - from EXTRA.
3038 Don't use __ names; not used (and not declared in include/sys/mman.h).
3040 * hurd/privports.c (__get_privileged_ports): Renamed with __.
3041 Use __ names for calls we make.
3042 (get_privileged_ports): Add alias.
3043 * hurd/hurd.h: Declare it with the __ name.
3044 * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
3045 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
3046 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
3048 * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
3049 nothing if it's zero.
3051 2001-04-19 Matthew Wilcox <willy@ldl.fc.hp.com>
3053 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
3054 Change to return a signed result for compatibility with other
3055 architectures, and correctness.
3057 2001-04-19 Ulrich Drepper <drepper@redhat.com>
3059 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
3060 HPPA always had them. Patch by Matthew Wilcox <matthew@wil.cx>.
3062 2001-04-19 Andreas Jaeger <aj@suse.de>
3064 * configure.in: Require gettext 0.10.36 or newer.
3066 * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
3068 * po/zh_TW.po: Remove extraneous backslashes.
3070 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
3073 2001-04-18 Jakub Jelinek <jakub@redhat.com>
3075 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
3076 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
3077 * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
3078 * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
3079 Copy first word of uc_sigmask into __uc_sigmask.
3080 * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
3081 Save uc_link around trap. Copy __uc_sigmask into first word of
3082 uc_sigmask, clear the rest. Make sure setcontext to the created
3083 context doesn't do this though.
3084 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
3085 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
3086 uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
3087 64bit version, make uc_sigmask __sigset_t in the 32bit version.
3089 2001-04-19 Andreas Jaeger <aj@suse.de>
3091 * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
3093 * rt/Makefile (otherlibs): Added for static NSS.
3095 * glibcbug.in (BUGGLIBC): Send to new alias.
3097 2001-04-02 Andreas Schwab <schwab@suse.de>
3099 * Makerules (build-module): Make sure exit codes get checked
3100 properly and remove unnecessary slashes.
3102 2001-04-17 Ulrich Drepper <drepper@redhat.com>
3104 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3105 Handle kernels which report only three digits after the decimal point.
3106 Reported by Van Okamura <van.okamura@oracle.com>.
3108 * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
3110 2001-04-17 David S. Miller <davem@redhat.com>
3112 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
3113 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3115 2001-04-17 Jakub Jelinek <jakub@redhat.com>
3117 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
3118 desired exceptions are raised for exceptional values.
3119 * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
3120 cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
3121 clog_test, log_test, log1p_test, tan_test): Increase precision of
3122 expected values to satisfy ldbl-128.
3123 * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
3124 * sysdeps/arm/libm-test-ulps: Likewise.
3125 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3126 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3127 * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
3128 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
3129 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3130 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3131 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3132 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3133 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3135 2001-04-17 Andreas Jaeger <aj@suse.de>
3137 * configure.in: Move test for critical programs up.
3139 2001-04-16 Stephen L Moshier <moshier@mediaone.net>
3141 * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
3143 (pSx, qSx): Replace by shorter approximation.
3144 Use f suffix on float constants.
3146 2001-04-16 Ulrich Drepper <drepper@redhat.com>
3148 * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
3149 Contributed by Stephen L Moshier <moshier@mediaone.net>.
3151 * string/string.h: Replace const in attribute list with __const__.
3153 2001-04-16 Roland McGrath <roland@frob.com>
3155 * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
3156 instead of the constant NGROUPS_MAX. That way, the limit can be
3157 raised in the kernel configuration without having to recompile libc.
3159 * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
3160 define NGROUPS_MAX; we don't use it here.
3162 2001-04-16 Andreas Jaeger <aj@suse.de>
3164 * math/libm-test.inc (atan2_test): Add more testcases.
3166 * iconv/gconv_db.c: Include gconv_charset.h for
3167 __gconv_lookup_alias prototype.
3169 2001-04-13 Ulrich Drepper <drepper@redhat.com>
3171 * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
3172 Contributed by Stephen L Moshier <moshier@mediaone.net>.
3174 2001-04-13 Jes Sorensen <jes@linuxcare.com>
3176 * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
3178 2001-04-13 Jes Sorensen <jes@linuxcare.com>
3180 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
3181 explicitly pad struct siginfo instead of relying on compiler padding.
3183 2001-04-12 Ulrich Drepper <drepper@redhat.com>
3185 * sysdeps/ia64/Dist: Add elf/entry.h.
3187 * iconvdata/Makefile (distribute): Add TESTS2.
3189 2001-04-13 Jakub Jelinek <jakub@redhat.com>
3191 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
3192 Calculate load address differently.
3194 2001-04-12 Bruno Haible <haible@clisp.cons.org>
3196 * iconvdata/TESTS2: New file.
3197 * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
3198 * iconvdata/testdata/alfabeta..UTF-8: New file.
3199 * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
3200 * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
3201 * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
3202 * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
3204 2001-04-11 Bruno Haible <haible@clisp.cons.org>
3206 * iconvdata/utf-32.c: New file.
3207 * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
3208 * iconvdata/Makefile (modules): Add UTF-32.
3209 (distribute): Add utf-32.c.
3211 2001-04-11 Bruno Haible <haible@clisp.cons.org>
3213 * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
3214 changing it in the state. After incrementing 'inptr', store it back.
3215 * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
3218 2001-04-11 Bruno Haible <haible@clisp.cons.org>
3220 * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
3223 2001-04-11 David Mosberger <davidm@hpl.hp.com>
3225 * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
3226 * sysdeps/ia64/htons.S: Likewise.
3228 * sysdeps/ia64/memset.S: Add unwind directives.
3229 * sysdeps/ia64/strncpy.S: Likewise.
3230 * sysdeps/ia64/strcat.S: Likewise.
3232 * sysdeps/ia64/memccpy.S: Add unwind directives. Drop superfluous
3234 * sysdeps/ia64/strchr.S: Likewise.
3235 * sysdeps/ia64/memmove.S: Likewise.
3236 * sysdeps/ia64/memcpy.S: Likewise.
3237 * sysdeps/ia64/memcmp.S: Likewise.
3238 * sysdeps/ia64/memchr.S: Likewise.
3239 * sysdeps/ia64/strcmp.S: Likewise.
3240 * sysdeps/ia64/strlen.S: Likewise.
3241 * sysdeps/ia64/strcpy.S: Likewise.
3242 * sysdeps/ia64/strncmp.S: Likewise.
3244 2001-04-11 Jakub Jelinek <jakub@redhat.com>
3246 * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
3247 fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
3248 fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
3249 fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
3251 2001-04-11 Andreas Jaeger <aj@suse.de>
3253 * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
3255 2001-04-11 Andreas Schwab <schwab@suse.de>
3257 * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
3259 2001-04-11 Ulrich Drepper <drepper@redhat.com>
3261 * sysdeps/arm/stackinfo.h: New file.
3263 2001-04-08 Thorsten Kukuk <kukuk@suse.de>
3265 * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
3266 rpcgen to generate thread safe code.
3268 2001-04-10 Andreas Jaeger <aj@suse.de>
3270 * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
3272 2001-04-10 Ulrich Drepper <drepper@redhat.com>
3274 * elf/dl-minimal.c (__assert_fail): Change error string. It's
3275 most of the time no bug in ld.so.
3276 (__assert_perror_fail): Likewise.
3278 2001-04-11 Hans-Peter Nilsson <hp@axis.com>
3280 * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
3281 from struct to unsigned int.
3283 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3285 * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
3286 AT_IGNOREPPC): New defines.
3287 * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
3288 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
3289 Define for newer powerpc kernels.
3290 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
3291 DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
3293 2000-4-10 kaz Kojima <kkojima@rr.iij4u.or.jp>
3295 * sysdeps/sh/stackinfo.h: New file.
3297 2001-04-10 Ulrich Drepper <drepper@redhat.com>
3299 * locale/tst-C-locale.c (run_test): Add tests for locale objects.
3300 * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
3301 __ctype_tolower, and __ctype_toupper elements.
3303 * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
3304 Reported by Konstantin Osipov <rabid@spylog.ru>.
3306 * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
3309 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3311 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
3312 * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
3313 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
3314 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
3316 2001-04-10 Ulrich Drepper <drepper@redhat.com>
3318 * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
3319 message. Based on a patch by HJ Lu.
3321 2001-04-10 Andreas Schwab <schwab@suse.de>
3323 * math/libm-test.inc (csinh_test): Don't require the invalid
3324 exception for csinh (x + iNaN), but make it optional.
3326 2001-04-09 David Mosberger <davidm@hpl.hp.com>
3328 * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
3330 * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
3331 * sysdeps/ia64/elf/entry.h: New file.
3332 * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
3334 * elf/rtld.c: Don't declare ENTRY_POINT. Use ENTRY_POINT instead
3336 * sysdeps/generic/dl-sysdep.c: Likewise.
3337 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3338 * sysdeps/ia64/elf/start.S: Save base address of register backing
3339 store in __libc_ia64_register_backing_store_base.
3341 2001-04-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
3343 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
3344 value of getcontext.
3345 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3346 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
3347 value of setcontext.
3348 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3349 * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
3350 call by changing the saved context.
3352 2001-04-10 Ulrich Drepper <drepper@redhat.com>
3354 * sysdeps/alpha/stackinfo.h: New file.
3355 * sysdeps/ia64/stackinfo.h: New file.
3357 2001-04-10 Andreas Schwab <schwab@suse.de>
3359 * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
3361 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
3363 2001-04-09 Ulrich Drepper <drepper@redhat.com>
3365 * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
3366 * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
3368 * libio/Makefile (distribute): Add fd_to_filename.h.
3370 2001-04-05 David S. Miller <davem@redhat.com>
3372 Add hp-timing support for sparcv9/sparc64 targets.
3373 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
3374 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
3375 * sysdeps/sparc/sparc64/hp-timing.c: New file
3376 * sysdeps/sparc/sparc64/hp-timing.h: New file
3377 * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
3378 * sysdeps/sparc/sparc64/Makefile: Likewise.
3380 2001-04-09 Jakub Jelinek <jakub@redhat.com>
3382 * sysdeps/generic/fd_to_filename.h: New file.
3383 * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
3384 * libio/freopen.c (freopen): If FILENAME is NULL, try to get
3385 filename from the open file descriptor.
3386 * libio/freopen64.c (freopen64): Likewise.
3388 2001-04-09 Bruno Haible <haible@clisp.cons.org>
3390 * misc/error.c (error): fflush stdout also if
3391 error_print_progname != NULL.
3392 (error_at_line): Likewise.
3394 2001-04-07 Bruno Haible <haible@clisp.cons.org>
3396 * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
3397 (struct binding): Add codeset_cntr field.
3398 (_nl_load_domain): Add domainbinding argument.
3399 (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
3400 (_nl_find_msg): New declaration, moved here from loadinfo.h.
3401 * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
3402 (_nl_make_l10nflist): Remove domainbinding argument.
3403 (_nl_find_msg): Move declaration to gettextP.h.
3404 * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
3405 to 0. Increment it when ->codeset is changed.
3406 * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
3407 (_nl_find_msg): Add domainbinding argument. Reinitialize the converter
3408 if domainbinding->codeset_cntr has been incremented.
3409 * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
3410 _nl_make_l10nflist(). Pass it to _nl_load_domain() instead.
3411 * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
3412 * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
3413 from _nl_load_domain. Append //TRANSLIT also when using libiconv.
3414 (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
3415 (_nl_load_domain): Add domainbinding argument. Call
3416 _nl_init_domain_conv.
3417 (_nl_unload_domain): Call _nl_free_domain_conv.
3418 * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
3419 (test-srcs): Add tst-codeset.
3420 (tests): Depend on tst-codeset.out.
3421 (tst-codeset.out): New rule.
3422 (CFLAGS-tst-codeset.c): New variable.
3423 * intl/tst-codeset.sh: New file.
3424 * intl/tstcodeset.po: New file.
3425 * intl/tst-codeset.c: New file.
3426 * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
3429 2001-04-07 Roland McGrath <roland@frob.com>
3431 * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
3433 2001-03-31 Roland McGrath <roland@frob.com>
3435 * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
3436 copying send rights into child. When we hit our name for our proc
3437 port, just copy NEWPROC directly instead of repeating proc_task2proc
3438 to install the child's port.
3440 2001-04-08 Roland McGrath <roland@frob.com>
3442 * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
3443 in second column, to provide default values for third column.
3444 * shlib-versions: Add comments about using DEFAULT in second column.
3445 (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
3446 (cris-.*-linux.*): Likewise.
3448 2001-04-09 Ulrich Drepper <drepper@redhat.com>
3450 * Makefile (distribute): Add scripts/documented.sh.
3451 * scripts/documented.sh: New file.
3453 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3455 * sysdeps/unix/sysv/linux/cris/Dist: New file.
3456 * sysdeps/unix/sysv/linux/cris/Makefile: New file.
3457 * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
3458 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
3459 * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
3460 * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
3461 * sysdeps/unix/sysv/linux/cris/brk.c: New file.
3462 * sysdeps/unix/sysv/linux/cris/chown.c: New file.
3463 * sysdeps/unix/sysv/linux/cris/clone.S: New file.
3464 * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
3465 * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
3466 * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
3467 * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
3468 * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
3469 * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
3470 * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
3471 * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
3472 * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
3473 * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
3474 * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
3475 * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
3476 * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
3477 * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
3478 * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
3479 * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
3480 * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
3481 * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
3482 * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
3483 * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
3484 * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
3485 * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
3486 * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
3487 * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
3488 * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
3489 * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
3490 * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
3491 * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
3492 * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
3493 * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
3494 * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
3495 * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
3496 * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
3497 * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
3498 * sysdeps/unix/sysv/linux/cris/socket.S: New file.
3499 * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
3500 * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
3501 * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
3502 * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
3503 * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
3504 * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
3506 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3508 * sysdeps/cris/Dist: New file.
3509 * sysdeps/cris/Implies: New file.
3510 * sysdeps/cris/Makefile: New file.
3511 * sysdeps/cris/__longjmp.S: New file.
3512 * sysdeps/cris/_mcount.S: New file.
3513 * sysdeps/cris/bits/endian.h: New file.
3514 * sysdeps/cris/bits/setjmp.h: New file.
3515 * sysdeps/cris/bits/string.h: New file.
3516 * sysdeps/cris/dl-machine.h: New file.
3517 * sysdeps/cris/elf/start.S: New file.
3518 * sysdeps/cris/machine-gmon.h: New file.
3519 * sysdeps/cris/memcopy.h: New file.
3520 * sysdeps/cris/memusage.h: New file.
3521 * sysdeps/cris/setjmp.S: New file.
3522 * sysdeps/cris/sysdep.h: New file.
3523 * sysdeps/cris/wordcopy.c: New file.
3525 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3527 * elf/elf.h: Add new relocations for CRIS.
3529 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3531 * shlib-versions: Add cases for Linux on CRIS.
3533 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3535 * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
3536 ';' for comments and '@' for line separator.
3538 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3540 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
3541 typo; s/==/=/ for assignment.
3543 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3545 * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
3547 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3549 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
3550 empty input before checking full output.
3552 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3554 * iconv/gconv.c (__gconv): Don't derefer parameter cd before
3557 2001-04-08 Ulrich Drepper <drepper@redhat.com>
3559 * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
3561 2001-04-07 Stephen L Moshier <moshier@mediaone.net>
3563 * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
3566 2001-04-07 Ulrich Drepper <drepper@redhat.com>
3568 * stdlib/tst-setcontext.c (main): Add a test for setcontext.
3570 * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
3571 * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
3572 * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
3573 * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
3574 * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
3575 * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
3577 2001-04-07 Andreas Jaeger <aj@suse.de>
3579 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
3580 instead of separate sin and cos.
3581 (__ieee754_j1l): Likewise.
3583 2001-04-06 Ulrich Drepper <drepper@redhat.com>
3585 * sysdeps/ia64/abort-instr.h: New file. Code by David Mosberger.
3587 * sysdeps/ia64/atomicity.h: New file. Copied from libstdc++.
3589 * sysdeps/i386/i486/atomicity.h: Clean up the asms.
3591 * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
3593 * sysdeps/generic/e_scalbf.c: Likewise.
3594 * sysdeps/generic/e_scalbl.c: Likewise.
3595 Patch by Mark Hatle <fray@mvista.com>.
3597 2001-04-05 David S. Miller <davem@redhat.com>
3599 * sysdeps/sparc/abort-instr.h: New file.
3601 2001-04-05 Matt Wilson <msw@redhat.com>
3603 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
3604 added code to parse new 2.4 format.
3605 (GET_NPROCS_CONF_PARSER): Likewise.
3607 2001-04-05 David S. Miller <davem@redhat.com>
3609 * scripts/config.sub: Recognize sparcv9b like sparcv9.
3610 * configure.in: Add sparcv9b.
3611 * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
3612 * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
3613 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
3615 2001-04-06 David Mosberger <davidm@hpl.hp.com>
3617 * stdlib/tst-setcontext.c: Move st2[] to global scope.
3618 (f2): Verify that stack pointer is inside st2[].
3620 * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
3621 * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
3623 2001-04-06 Ulrich Drepper <drepper@redhat.com>
3625 * timezone/antarctica: Update from tzdata2001b.
3626 * timezone/asia: Likewise.
3627 * timezone/australasia: Likewise.
3628 * timezone/europe: Likewise.
3629 * timezone/northamerica: Likewise.
3631 * iconv/iconv_open.c: Move strip and upstr definitions...
3632 * iconv/gconv_charset.h: ...here. New file.
3633 * iconv/gconv_db.c (once): Move to file level.
3634 (do_lookup_alias): Split out from __gconv_find_transform.
3635 (__gconv_find_transform): Call do_lookup_alias.
3636 (__gconv_loopup_alias): New function.
3637 * locale/langinfo.h: Define _NL_*_CODESET values for all categories
3639 * locale/categories.def: Add entries for new _NL_*_CODESET values.
3640 * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
3641 * locale/C-address.c: Initialize _NL_*_CODESET element.
3642 * locale/C-collate.c: Likewise.
3643 * locale/C-identification.c: Likewise.
3644 * locale/C-measurement.c: Likewise.
3645 * locale/C-messages.c: Likewise.
3646 * locale/C-monetary.c: Likewise.
3647 * locale/C-name.c: Likewise.
3648 * locale/C-numeric.c: Likewise.
3649 * locale/C-paper.c: Likewise.
3650 * locale/C-telephone.c: Likewise.
3651 * locale/C-time.c: Likewise.
3652 * locale/localeinfo.h: Declare _nl_C_codeset.
3653 * locale/C_name.c: Define _nl_C_codeset.
3654 * locale/findlocale.c: Before accepting locale check that the used
3655 charset does not conflict with what the locale name said.
3656 * locale/programs/ld-address.c: Emit codeset information.
3657 * locale/programs/ld-collate.c: Likewise.
3658 * locale/programs/ld-identification.c: Likewise.
3659 * locale/programs/ld-measurement.c: Likewise.
3660 * locale/programs/ld-messages.c: Likewise.
3661 * locale/programs/ld-monetary.c: Likewise.
3662 * locale/programs/ld-name.c: Likewise.
3663 * locale/programs/ld-numeric.c: Likewise.
3664 * locale/programs/ld-paper.c: Likewise.
3665 * locale/programs/ld-telephone.c: Likewise.
3666 * locale/programs/ld-time.c: Likewise.
3668 * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
3669 if the locale data couldn't be found.
3671 * string/Makefile: Define tst-strxfrm-ENV.
3673 * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
3675 2001-04-06 Andreas Jaeger <aj@suse.de>
3677 * include/sys/profil.h: New file.
3679 * dlfcn/modatexit.c: Add prototypes to silence GCC.
3680 * dlfcn/modcxaatexit.c: Likewise.
3681 * elf/globalmod1.c: Likewise.
3683 2001-04-05 David S. Miller <davem@redhat.com>
3685 * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
3686 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
3687 capability flags table and HWCAP_IMPORTANT, increase
3688 _DL_HWCAP_COUNT to 6.
3689 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3691 2001-04-04 David Mosberger <davidm@hpl.hp.com>
3693 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
3694 initialization of stack_end (bug reported by Zheng Gengbin
3695 <gzheng@students.uiuc.edu>).
3697 2001-04-05 Ulrich Drepper <drepper@redhat.com>
3699 * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
3701 2001-04-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
3703 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
3705 2001-04-05 Ulrich Drepper <drepper@redhat.com>
3707 * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
3708 * sysdeps/i386/fpu/e_asinl.S: Removed. Too inaccurate.
3710 * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
3712 2001-04-04 Ulrich Drepper <drepper@redhat.com>
3714 * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
3715 define simple replacements here. Patch by Michael Keezer.
3717 * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
3718 * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
3719 Contributed by Stephen L Moshier <moshier@mediaone.net>.
3721 * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
3724 2001-04-01 Andreas Jaeger <aj@suse.de>
3726 * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
3729 * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
3731 2001-04-04 Ulrich Drepper <drepper@redhat.com>
3733 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
3734 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
3736 2001-04-04 Martin Schwidefsky <schwidefsky@de.ibm.com>
3738 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
3739 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
3740 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
3741 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
3742 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
3743 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
3744 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
3745 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
3746 * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
3748 2001-04-04 Andreas Jaeger <aj@suse.de>
3750 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
3753 2001-04-04 Ulrich Drepper <drepper@redhat.com>
3755 * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
3756 * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
3757 * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
3758 (unsigned_dec): Likewise.
3759 Patch by atai@jezebel.dreamhost.com.
3761 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
3762 pointer to int as last parameter of yp_match.
3763 Patch by kanazawa@flab.fujitsu.co.jp.
3765 2001-04-03 Ulrich Drepper <drepper@redhat.com>
3767 * resolv/netdb.h (gai_strerror): Make return value const.
3768 * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
3769 * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
3770 Add strings for new error values.
3772 2001-03-29 Michael Keezer <mkeezer@redhat.com>
3774 * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
3775 * login/tst-utmp.c: Handle case where ut_tv is not available but
3777 * sysdeps/unix/sysv/aix/utmpx.h: New file.
3778 * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
3779 _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
3780 * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
3781 * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
3782 to access RTCU timer reg.
3783 * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
3784 added dl-libc, dl-open,dl-sym, dl-close to misc.
3785 * sysdeps/unix/sysv/aix/start.c: New file. Start code.
3786 * sysdeps/unix/sysv/aix/dlldr.h: New file. AIX __loadx defines.
3787 * sysdeps/unix/sysv/aix/dl-close.c: New file. AIX dl-close.
3788 * sysdeps/unix/sysv/aix/dl-open.c: New file. AIX dl-open.
3789 * sysdeps/unix/sysv/aix/dl-sym.c: New file. AIX dl-sym.
3790 * sysdeps/unix/sysv/aix/dl-libc.c: New file. libc_dl-xxx support.
3791 * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
3793 * sysdeps/generic/strtoull.c: Likewise.
3794 * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
3795 * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
3796 sysdeps/generic/memset.c.
3797 * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
3799 2001-04-03 Ulrich Drepper <drepper@redhat.com>
3801 * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
3802 * locale/programs/charmap.c: Define null_pointer if
3803 NEED_NULL_POINTER is defined.
3805 * misc/dirname.c (dirname): Handle multiple slashes correctly.
3807 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
3809 * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
3811 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
3813 * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
3814 * sysdeps/s390/s390-64/bcopy.S: Likewise.
3815 * sysdeps/s390/s390-32/mempcy.S: Likewise.
3816 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3818 2001-04-02 Bruno Haible <haible@clisp.cons.org>
3820 * manual/message.texi (Advanced gettext functions): More specific
3821 syntax in the plural formula examples.
3823 2001-04-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3825 * sysdeps/powerpc/atomicity.h: Silence warnings.
3826 * sysdeps/powerpc/dl-machine.h: Likewise.
3827 * sysdeps/powerpc/register-dump.h: Likewise.
3828 * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
3830 2001-04-02 Andreas Jaeger <aj@suse.de>
3832 * misc/tst-dirname.c (main): Add more tests, derived from a bug
3833 report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
3835 2001-04-01 Andreas Jaeger <aj@suse.de>
3837 * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
3839 * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
3841 2001-04-01 H.J. Lu <hjl@gnu.org>
3843 * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
3845 * stdlib/isomac.c (macrofile): Likewise.
3847 2001-03-30 Thorsten Kukuk <kukuk@suse.de>
3849 * inet/rcmd.c: Allow AF_UNSPEC as parameter.
3850 * nis/ypclnt.c (yp_all): Print error message only at last try,
3851 check for protocoll error only if we don't have a network error.
3853 2001-04-02 Andreas Schwab <schwab@suse.de>
3855 * resolv/res_data.c (res_isourserver): Fix cast.
3857 2001-04-02 Andreas Jaeger <aj@suse.de>
3859 * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
3862 * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
3864 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
3866 * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
3868 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
3870 * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
3871 warning about unused variable.
3873 * string/string.h (strndupa): Add cast for C++ conformance.
3874 (strdupa): Likewise.
3875 Fixes PR libc/2173, reported by tbrowder@home.com.
3877 2001-03-30 Roland McGrath <roland@frob.com>
3879 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
3880 options after $(build-module), which is no longer a single command.
3881 (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
3882 (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
3883 variables using it. Reported by Mark Kettenis <kettenis@gnu.org>.
3885 2001-03-11 Roland McGrath <roland@frob.com>
3887 * elf/rtld.c (dl_main): Add cast to quiet warning.
3888 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3889 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
3890 (__gconv_read_conf): Likewise.
3891 * iconv/gconv_db.c (gen_steps): Likewise.
3892 (__gconv_find_transform): Likewise.
3893 * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
3894 (fopen_uncompressed): Use const in second argument's type.
3896 2001-03-11 Roland McGrath <roland@frob.com>
3898 * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
3900 * mach/mach_error.h: Fix ancient #endif syntax.
3901 * hurd/hurdmalloc.c: Likewise.
3903 * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
3904 compare_and_swap): Add volatile qualifier to first arg, to bring
3905 these prototypes in line with all the other implementations.
3906 Add a #warning to remind the builder that these are not atomic.
3908 2001-03-04 Roland McGrath <roland@frob.com>
3910 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
3911 member of TEMP_F so its type is _IO_FILE * as expected.
3913 * hurd/fopenport.c (seekio): Conditionalize type of POS argument
3914 on [USE_IN_LIBIO]. Check the value for overflow, since for libio
3915 it might exceed off_t's range.
3917 2001-02-25 Roland McGrath <roland@frob.com>
3919 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
3920 * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
3922 * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
3923 macro instead of an inline function,
3924 (MSG_EXAMINE): Likewise.
3926 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
3928 * hurd/get-host.c: Include <string.h> for decls of built-ins.
3929 * hurd/hurdchdir.c: Likewise.
3930 * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
3931 * sysdeps/mach/hurd/opendir.c: Likewise.
3933 * mach/mach_init.c: Include <unistd.h> for _exit decl.
3935 * mach/errsystems.awk: Give output file a trailing newline.
3937 * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
3938 the script will use our compiler for the cpp stage.
3940 With --enable-all-warnings we get a whole bunch of warnings,
3941 and these are just a few fixes; there are more needed to silence it.
3942 * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
3943 decls before extern inline defns to quiet gcc warning.
3944 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
3945 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
3947 2001-03-31 Andreas Jaeger <aj@suse.de>
3949 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
3950 (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
3951 (ARPHRD_CISCO): New.
3952 Changes from Linux 2.4.3.
3954 2001-03-30 Isamu Hasegawa <isamu@yamato.ibm.com>
3956 * posix/regex.c: Avoid an access violation if malloc fails.
3958 2001-03-30 Andreas Jaeger <aj@suse.de>
3960 * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
3962 2001-03-29 Ulrich Drepper <drepper@redhat.com>
3964 * posix/regex.c: Remove unnecessary ifs.
3966 * math/bits/mathcalls.h: Remove infnan declaration.
3968 2001-03-29 H.J. Lu <hjl@gnu.org>
3970 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
3971 and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
3972 * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
3974 2001-03-29 Isamu Hasegawa <isamu@yamato.ibm.com>
3976 * posix/regex.c: Fix typo and add a sentinel.
3978 2001-03-29 Ulrich Drepper <drepper@redhat.com>
3980 * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
3981 O_NOFOLLOW. Suggested by Christoph Roland.
3983 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
3985 * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
3986 * sysdeps/s390/s390-32/bits/string.h: Remove.
3987 * sysdeps/s390/s390-64/bits/string.h: Remove.
3988 * sysdeps/s390/s390-32/strcmp.S: New file.
3989 * sysdeps/s390/s390-64/strcmp.S: New file.
3991 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
3993 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
3994 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3996 2001-03-27 Ulrich Drepper <drepper@redhat.com>
3998 * version.h (VERSION): Bump to 2.2.3.
4000 * stdlib/isomac.c (fmt): Don't define _LIBC.
4001 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
4002 LOW_HALF only if _LIBC is defined.
4004 * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
4006 * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
4008 * posix/tst-fnmatch.input: Add test cases for matching empty strings.
4010 * sysdeps/ieee754/dbl-64/endian.h: Removed. Move definitions...
4011 * include/endian.h: ...to here.
4013 2001-03-27 kaz Kojima <kkojima@rr.iij4u.or.jp>
4015 * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
4016 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
4018 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
4020 * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
4022 2001-03-26 Ulrich Drepper <drepper@redhat.com>
4024 * sysdeps/ia64/fpu/Dist: Add new files to distribute.
4025 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
4026 * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
4028 * gmon/Makefile (headers): Add sys/profil.h.
4030 2001-03-18 Andreas Jaeger <aj@suse.de>
4032 * manual/install.texi (Tools for Compilation): Advise to use GCC
4034 (Supported Configurations): Mention s390x.
4036 2001-03-26 Ben Collins <bcollins@debian.org>
4038 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
4039 defines to match other architectures.
4041 2001-03-26 Ulrich Drepper <drepper@redhat.com>
4043 * libio/Makefile (tests): Add tst-ext.
4044 * libio/tst-ext.c: New file.
4046 * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
4048 2001-03-25 Ulrich Drepper <drepper@redhat.com>
4050 Add changes which were in this form in the original patch by
4051 Eric Norum <eric.norum@usask.ca>.
4052 * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
4054 * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
4055 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
4056 __rpc_thread_svc_max_pollfd.
4057 Define svc_fdset, get_rpc_createerr, svc_pollfd, and
4059 * sunrpc/rpc_thread.c: Handle first thread special, it uses the
4061 Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
4062 __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
4063 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_svc_fdset,
4064 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
4065 __rpc_thread_svc_max_pollfd.
4066 * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
4068 * sunrpc/clnt_perr.c: Likewise.
4069 * sunrpc/clnt_simp.c: Likewise.
4070 * sunrpc/clnt_tcp.c: Likewise.
4071 * sunrpc/clnt_udp.c: Likewise.
4072 * sunrpc/clnt_unix.c: Likewise.
4073 * sunrpc/pm_getport.c: Likewise.
4075 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
4076 syscall checks for negative n so don't test here as well.
4078 2001-03-23 Jes Sorensen <jes@linuxcare.com>
4080 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
4081 * sysdeps/ia64/sysdep.h: ...here.
4083 * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
4084 * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
4086 * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
4087 declare instead of LEAF(). Suggestion from David Mosberger.
4089 2001-03-21 David Mosberger <davidm@hpl.hp.com>
4091 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
4093 (PSEUDO): Drop .psr and .lsb directives.
4095 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto. Add unwind
4097 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
4099 * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
4101 * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
4102 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
4103 * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
4104 longer needed). Add unwind directives.
4106 * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
4107 ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
4109 2001-03-21 Paul Eggert <eggert@twinsun.com>
4111 * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
4112 (RE_SYNTAX_POSIX_EGREP): Use it.
4113 * posix/regex.c (regex_compile): Implement it.
4115 2001-03-21 Paul Eggert <eggert@twinsun.com>
4117 * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
4118 Rewrite to avoid duplicate code.
4120 2001-03-21 H.J. Lu <hjl@gnu.org>
4122 * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
4123 for cross-compiling.
4124 ($(objpfx)tst-pathopt.out): Undo the last change.
4126 2001-03-24 Mark Kettenis <kettenis@gnu.org>
4128 * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
4129 sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
4131 * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
4132 (_dl_argv): Declare.
4133 (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
4135 2001-03-22 Andreas Jaeger <aj@suse.de>
4137 * iconvdata/Makefile (generated): Add iconv-test.xxx.
4139 * posix/Makefile (generated): Add bug-regex2.mtrace and
4142 2001-03-21 Ulrich Drepper <drepper@redhat.com>
4144 * csu/version.c (__gnu_get_libc_release): Add prototype.
4145 (__gnu_get_libc_version): Likewise.
4146 * include/gnu/libc-version.h: Remove prototypes for not exported
4149 2001-03-21 Jes Sorensen <jes@linuxcare.com>
4151 * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
4152 for internationalized printfs to work.
4154 2001-03-09 Bruno Haible <haible@clisp.cons.org>
4156 * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
4157 avoid compiler warning.
4158 (_nl_find_msg): Add casts to avoid compiler warnings.
4160 2001-03-21 Ulrich Drepper <drepper@redhat.com>
4162 * gmon/Makefile (routines): Add sprofil.
4163 (tests): Add tst-sprofil.
4164 (noprof): Add sprofil.
4165 * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
4167 2001-03-20 David Mosberger <davidm@hpl.hp.com>
4169 * sysdeps/generic/sprofil.c: New file.
4170 * sysdeps/posix/sprofil.c: New file.
4171 * gmon/tst-sprofil.c: New file.
4172 * gmon/sys/profil.h: New file.
4174 2001-03-20 Andreas Schwab <schwab@suse.de>
4176 * include/unistd.h: Adjust prototype of __gethostname.
4178 2001-03-20 Jakub Jelinek <jakub@redhat.com>
4180 * sysdeps/sparc/stackinfo.h: New file.
4182 2001-03-21 Andreas Jaeger <aj@suse.de>
4184 * elf/global.c (main): Use proper prototype.
4186 2001-03-20 Ulrich Drepper <drepper@redhat.com>
4188 * sunrpc/Makefile (routines): Add rpc_thread.
4189 (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
4190 * sunrpc/rpc_thread.c: New file.
4191 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
4192 * sunrpc/auth_none.c: Don't use global variables. Access state in
4193 thread-local storage.
4194 * sunrpc/clnt_perr.c: Likewise.
4195 * sunrpc/clnt_raw.c: Likewise.
4196 * sunrpc/clnt_simp.c: Likewise.
4197 * sunrpc/key_call.c: Likewise.
4198 * sunrpc/rpc_common.c: Likewise.
4199 * sunrpc/svc.c: Likewise.
4200 * sunrpc/svc_raw.c: Likewise.
4201 * sunrpc/svc_simple.c: Likewise.
4202 * sunrpc/svcauth_des.c: Likewise.
4203 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
4204 _HURD_THREADVAR_RPC_VARS.
4205 * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
4206 * include/rpc/rpc.h: Define data structures for internal thread-local
4208 Based on patches by Eric Norum <eric.norum@usask.ca>.
4210 * elf/dl-load.c: Various little optimizations.
4212 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
4213 LINUX_LINK_MAX only if the statfs function is not implemented for
4216 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
4217 LINUX_LINK_MAX only if the fstatfs function is not implemented for
4220 2001-03-19 Ulrich Drepper <drepper@redhat.com>
4222 * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
4224 * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
4225 (_dl_dst_substitute): Likewise.
4227 2001-03-17 Bruno Haible <haible@clisp.cons.org>
4229 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
4231 2001-03-17 Bruno Haible <haible@clisp.cons.org>
4233 * intl/gettextP.h (struct expression): Add operators lnot, less_than,
4234 greater_than, less_or_equal, greater_or_equal. Replace args2/args3
4235 union by a 'nargs' counter and an 'args[]' array.
4236 * intl/plural.y: Don't include stdarg.h.
4237 (new_exp): Take an array of arguments instead of varargs.
4238 (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
4239 ('?' ':'): Make right-associative.
4240 (EQUOP2): New token, replaces '=' and '!'.
4241 (CMPOP2): New token.
4242 (ADDOP2): New token, replaces '+' and '-'.
4243 (MULOP2): New token, replaces '*', '/' and '%'.
4245 (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
4246 (start): Call YYABORT here.
4247 (FREE_EXPRESSION): Update.
4248 (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
4249 Update for new token symbols.
4250 * intl/loadmsgcat.c (plvar, plone, germanic_plural,
4251 init_germanic_plural): Update.
4252 * intl/dcigettext.c (_nl_find_msg): Optimize for space.
4253 (plural_eval): Recognize comparison and '!' operators. Optimize for
4256 2001-03-10 Bruno Haible <haible@clisp.cons.org>
4258 * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
4261 2001-01-05 Bruno Haible <haible@clisp.cons.org>
4263 * intl/loadmsgcat.c: Include headers needed for alloca().
4265 (_nl_load_domain): Add fallback code for platforms lacking alloca.
4266 * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
4268 (read_alias_file): Simplify fallback code for platforms lacking
4271 2001-01-07 Bruno Haible <haible@clisp.cons.org>
4273 * intl/gettextP.h (__gettextdebug): Remove declaration.
4274 (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
4276 (gettext_free_exp__, gettextparse__): New non-libc declarations.
4277 * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
4278 not __gettextparse, __gettext_free_exp.
4279 * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
4281 2001-02-24 Bruno Haible <haible@clisp.cons.org>
4283 * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
4285 2001-01-05 Bruno Haible <haible@clisp.cons.org>
4287 * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
4288 lacking strtoul, like SunOS4.
4290 2001-01-05 Bruno Haible <haible@clisp.cons.org>
4292 * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
4294 2001-01-05 Bruno Haible <haible@clisp.cons.org>
4296 * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
4298 * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
4299 * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
4300 * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
4303 2001-01-07 Bruno Haible <haible@clisp.cons.org>
4305 * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
4306 bindtextdomain__, bind_textdomain_codeset__): New declarations, from
4308 * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
4309 * intl/dcgettext.c: Likewise.
4310 * intl/dcigettext.c: Likewise.
4311 * intl/dcngettext.c: Likewise.
4312 * intl/dngettext.c: Likewise.
4313 * intl/finddomain.c: Likewise.
4314 * intl/ngettext.c: Likewise.
4315 * intl/textdomain.c: Likewise.
4316 * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
4318 * intl/gettext.c: Likewise. Don't include locale.h.
4320 2001-03-17 Bruno Haible <haible@clisp.cons.org>
4322 * intl/gettextP.h (ZERO): New macro.
4323 (struct binding): Always use ZERO.
4324 * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
4325 lack it, like SunOS4.
4326 (set_binding_values): Use offsetof, not sizeof.
4327 * intl/dcigettext.c (offsetof): Provide fallback for platforms that
4328 lack it, like SunOS4.
4329 (ZERO): Remove macro.
4330 (struct transmem_list): Use ZERO.
4331 (DCIGETTEXT): Use offsetof, not sizeof.
4333 2001-03-17 Bruno Haible <haible@clisp.cons.org>
4335 * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
4337 * intl/bindtextdom.c: Don't include gettext.h.
4338 * intl/dcgettext.c: Likewise.
4339 * intl/dcigettext.c: Likewise.
4340 * intl/dcngettext.c: Likewise.
4341 * intl/dngettext.c: Likewise.
4342 * intl/finddomain.c: Likewise.
4343 * intl/localealias.c: Likewise.
4344 * intl/ngettext.c: Likewise.
4345 * intl/plural.y: Likewise.
4346 * intl/textdomain.c: Likewise.
4348 2001-03-17 Bruno Haible <haible@clisp.cons.org>
4350 * intl/gettext.h: Don't include <stdio.h>.
4352 2001-03-17 Bruno Haible <haible@clisp.cons.org>
4354 * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
4355 * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
4357 2001-03-19 Ulrich Drepper <drepper@redhat.com>
4359 * sysdeps/unix/i386/i686/tempname.c: New file.
4361 * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
4362 defined use this macro to get some bits of randomness instead of
4363 the usual gettimeofday or time calls.
4365 2001-03-16 Paul Eggert <eggert@twinsun.com>
4367 * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
4368 not defined, and if UINT64_MAX is not defined.
4370 2001-03-19 Ulrich Drepper <drepper@redhat.com>
4372 * elf/cache.c: Mark and have translated a few more messages.
4374 2001-03-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
4376 * elf/cache.c: Add case for FLAG_S390_LIB64.
4377 * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
4378 * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
4379 * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
4381 2001-03-19 Ulrich Drepper <drepper@redhat.com>
4383 * string/Makefile (tests): Add tst-strxfrm.
4384 * string/tst-strxfrm.c: New file. Based on a test case by Paul Eggert.
4385 * string/Depend: New file.
4387 2001-03-19 Paul Eggert <eggert@twinsun.com>
4389 * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
4390 when given the empty string in nontrivial locales.
4392 2001-03-17 H.J. Lu <hjl@gnu.org>
4394 * manual/Makefile (install): Use $(INSTALL_DATA) instead of
4395 cp to install `dir'.
4397 2001-03-19 Andreas Schwab <schwab@suse.de>
4399 * Makerules (build-shlib): Make sure exit codes get checked
4402 2001-03-18 Ulrich Drepper <drepper@redhat.com>
4404 * Makerules (build-shlib): Remove unnecessary slashes introduced in
4407 * configure.in: Test for -Bgroup option of linker.
4408 * config.make.in: Define have-Bgroup.
4410 * conform/data/unistd.h-data: Require gethostname.
4411 * posix/unistd.h: Make gethostname prototype available for
4414 * crypt/Makefile: When generating DSO link with libc_nonshared.a.
4415 * debug/Makefile: Likewise.
4416 * dlfcn/Makefile: Likewise.
4417 * hesiod/Makefile: Likewise.
4418 * iconvdata/extra-module.mk: Likewise.
4419 * locale/Makefile: Likewise.
4420 * login/Makefile: Likewise.
4421 * math/Makefile: Likewise.
4422 * nis/Makefile: Likewise.
4423 * nss/Makefile: Likewise.
4424 * resolv/Makefile: Likewise.
4425 * rt/Makefile: Likewise.
4427 2001-03-17 Ulrich Drepper <drepper@redhat.com>
4429 * inet/Makefile (tests): Remove left-over comment.
4431 * posix/unistd.h (gethostname): Change type of second parameter
4432 back to size_t as per upcoming XPG6.
4433 * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
4434 parameter back to size_t as per upcoming XPG6.
4435 * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
4436 * sysdeps/unix/sysv/gethostname.c: Likewise.
4437 * sysdeps/mach/hurd/gethostname.c: Likewise.
4438 * sysdeps/generic/gethostname.c: Likewise.
4440 2001-03-16 Ulrich Drepper <drepper@redhat.com>
4442 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4445 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
4448 2001-02-06 Jakub Jelinek <jakub@redhat.com>
4450 * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
4451 looking for name matches.
4453 2001-02-26 Jakub Jelinek <jakub@redhat.com>
4455 * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
4456 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
4457 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
4458 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4459 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
4460 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
4461 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
4462 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
4463 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
4464 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
4465 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
4466 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
4468 2001-03-16 Ulrich Drepper <drepper@redhat.com>
4470 * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
4471 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4473 * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
4475 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4477 2001-03-16 David Mosberger <davidm@hpl.hp.com>
4479 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
4480 Drop hack that was needed for 2.1.1 kernel headers.
4482 * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
4484 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
4485 overlay with kernel's "struct sigcontext".
4487 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
4488 sys/rse.h for "misc" subdir.
4489 (sysdep_routines): Add __start_context for "stdlib" subdir.
4491 * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
4492 kernel file of the same name).
4494 * stdlib/Makefile (tests): Add tst-setcontext.
4495 * stdlib/tst-setcontext.c: New file (based on a sample program by
4498 * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
4499 * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
4500 * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
4501 * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
4502 * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
4504 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
4505 instead of shift & and.
4507 2001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
4509 * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
4510 * sysdeps/s390/bits/huge_val.h: ...here.
4511 * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
4512 * sysdeps/s390/s390-64/ffs.c: Move to...
4513 * sysdeps/s390/ffs.c: ...here.
4514 * sysdeps/s390/s390-32/ffs.c: Remove.
4516 2001-03-16 Jakub Jelinek <jakub@redhat.com>
4518 * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
4519 update osversion from more recent library.
4521 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4523 * sysdeps/unix/sysv/linux/s390/Dist: Move to...
4524 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
4525 * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
4526 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
4527 * sysdeps/unix/sysv/linux/s390/Versions: Move to...
4528 * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
4529 * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
4530 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
4531 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
4532 * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
4533 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
4534 * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
4535 * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
4536 * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
4537 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
4538 * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
4539 * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
4540 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
4541 * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
4542 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
4543 * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
4544 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
4545 * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
4546 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
4547 * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
4548 * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
4549 * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
4550 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
4551 * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
4552 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
4553 * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
4554 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
4555 * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
4556 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
4557 * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
4558 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
4559 * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
4560 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
4561 * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
4562 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
4563 * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
4564 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
4565 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
4566 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
4567 * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
4568 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
4569 * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
4570 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
4571 * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
4572 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
4573 * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
4574 * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
4575 * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
4576 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
4577 * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
4578 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
4579 * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
4580 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
4581 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
4582 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
4583 * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
4584 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
4585 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
4586 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
4587 * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
4588 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
4589 * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
4590 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
4591 * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
4592 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
4593 * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
4594 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
4595 * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
4596 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
4597 * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
4598 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
4599 * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
4600 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
4601 * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
4602 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
4603 * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
4604 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
4605 * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
4606 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
4607 * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
4608 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
4609 * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
4610 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
4611 * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
4612 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
4613 * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
4614 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
4615 * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
4616 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
4617 * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
4618 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
4619 * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
4620 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
4621 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
4622 * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
4623 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
4624 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
4625 * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
4626 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
4627 * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
4628 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
4629 * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
4630 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
4631 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
4632 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
4633 * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
4634 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
4635 * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
4636 * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
4638 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4640 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
4641 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
4642 * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
4643 * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
4644 * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
4645 * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
4646 * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
4647 * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
4648 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
4649 * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
4650 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
4651 * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
4652 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
4653 * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
4654 * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
4655 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
4656 * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
4657 * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
4658 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
4659 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
4660 * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
4661 * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
4662 * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
4663 * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
4664 * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
4665 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
4666 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
4667 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
4668 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
4669 * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
4670 * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
4671 * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
4672 * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
4673 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
4674 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
4675 * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
4676 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
4677 * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
4678 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
4679 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
4680 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
4681 * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
4682 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
4683 * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
4684 * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
4685 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
4686 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
4687 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
4688 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
4689 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
4690 * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
4691 * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
4692 * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
4694 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4696 * sysdeps/s390/Dist: Move to...
4697 * sysdeps/s390/390-32/Dist: ...here.
4698 * sysdeps/s390/Implies: Move to...
4699 * sysdeps/s390/s390-32/Implies: ...here.
4700 * sysdeps/s390/Makefile: Move to...
4701 * sysdeps/s390/s390-32/Makefile: ...here.
4702 * sysdeps/s390/Versions: Move to...
4703 * sysdeps/s390-32/s390/Versions: ...here.
4704 * sysdeps/s390/add_n.S: Move to...
4705 * sysdeps/s390/s390-32/add_n.S: ...here.
4706 * sysdeps/s390/addmul_1.S: Move to...
4707 * sysdeps/s390/s390-32/addmul_1.S: ...here.
4708 * sysdeps/s390/atomicity.h: Move to...
4709 * sysdeps/s390/s390-32/atomicity.h: ...here.
4710 * sysdeps/s390/backtrace.c: Move to...
4711 * sysdeps/s390/s390-32/backtrace.c: ...here.
4712 * sysdeps/s390/bcopy.S: Move to...
4713 * sysdeps/s390/s390-32/bcopy.S: ...here.
4714 * sysdeps/s390/bits/byteswap.h: Move to...
4715 * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
4716 * sysdeps/s390/bits/huge_val.h: Move to...
4717 * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
4718 * sysdeps/s390/bsd-_setjmp.S: Move to...
4719 * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
4720 * sysdeps/s390/bsd-setjmp.S: Move to...
4721 * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
4722 * sysdeps/s390/bzero.S: Move to...
4723 * sysdeps/s390/s390-32/bzero.S: ...here.
4724 * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
4725 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
4726 * sysdeps/s390/elf/bsd-setjmp.S: Move to...
4727 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
4728 * sysdeps/s390/elf/start.S: Move to...
4729 * sysdeps/s390/s390-32/elf/start.S: ...here.
4730 * sysdeps/s390/ffs.c: Move to...
4731 * sysdeps/s390/s390-32/ffs.c: ...here.
4732 * sysdeps/s390/memchr.S: Move to...
4733 * sysdeps/s390/s390-32/memchr.S: ...here.
4734 * sysdeps/s390/memcpy.S: Move to...
4735 * sysdeps/s390/s390-32/memcpy.S: ...here.
4736 * sysdeps/s390/memset.S: Move to...
4737 * sysdeps/s390/s390-32/memset.S: ...here.
4738 * sysdeps/s390/mul_1.S: Move to...
4739 * sysdeps/s390/s390-32/mul_1.S: ...here.
4740 * sysdeps/s390/s390-mcount.S: Move to...
4741 * sysdeps/s390/s390-32/s390-mcount.S: ...here.
4742 * sysdeps/s390/strcpy.S: Move to...
4743 * sysdeps/s390/s390-32/strcpy.S: ...here.
4744 * sysdeps/s390/strncpy.S: Move to...
4745 * sysdeps/s390/s390-32/strncpy.S: ...here.
4746 * sysdeps/s390/sub_n.S: Move to...
4747 * sysdeps/s390/s390-32/sub_n.S: ...here.
4749 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4751 * sysdeps/s390/s390-64/Dist: New file.
4752 * sysdeps/s390/s390-64/Implies: New file.
4753 * sysdeps/s390/s390-64/Makefile: New file.
4754 * sysdeps/s390/s390-64/__longjmp.c: New file.
4755 * sysdeps/s390/s390-64/add_n.S: New file.
4756 * sysdeps/s390/s390-64/atomicity.h: New file.
4757 * sysdeps/s390/s390-64/backtrace.c: New file.
4758 * sysdeps/s390/s390-64/bcopy.S: New file.
4759 * sysdeps/s390/s390-64/bits/byteswap.h: New file.
4760 * sysdeps/s390/s390-64/bits/huge_val.h: New file.
4761 * sysdeps/s390/s390-64/bits/setjmp.h: New file.
4762 * sysdeps/s390/s390-64/bits/string.h: New file.
4763 * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
4764 * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
4765 * sysdeps/s390/s390-64/bzero.S: New file.
4766 * sysdeps/s390/s390-64/dl-machine.h: New file.
4767 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
4768 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
4769 * sysdeps/s390/s390-64/elf/setjmp.S: New file.
4770 * sysdeps/s390/s390-64/elf/start.S: New file.
4771 * sysdeps/s390/s390-64/ffs.c: New file.
4772 * sysdeps/s390/s390-64/initfini.c: New file.
4773 * sysdeps/s390/s390-64/memchr.S: New file.
4774 * sysdeps/s390/s390-64/memcpy.S: New file.
4775 * sysdeps/s390/s390-64/memset.S: New file.
4776 * sysdeps/s390/s390-64/s390x-mcount.S: New file.
4777 * sysdeps/s390/s390-64/setjmp.S: New file.
4778 * sysdeps/s390/s390-64/strcpy.S: New file.
4779 * sysdeps/s390/s390-64/strncpy.S: New file.
4780 * sysdeps/s390/s390-64/sub_n.S: New file.
4781 * sysdeps/s390/s390-64/sysdep.h: New file.
4783 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4785 * scripts/config.guess: Add support for Linux on 64 bit S/390.
4786 * scripts/config.sub: Likewise.
4788 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4790 * configure.in: Add support for 64 bit S/390.
4792 * elf/elf.h: Add new relocations for 64 bit S/390.
4794 * shlib-versions: Add rules for Linux on 64 bit S/390.
4796 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4798 * sysdeps/s390/__longjmp.c: Move to...
4799 * sysdeps/s390/s390-32/__longjmp.c: ...here. Add code
4800 to load the floating point registers that should be saved
4801 according to the ABI.
4803 * sysdeps/s390/bits/setjmp.h: Move to...
4804 * sysdeps/s390/s390-32/bits/setjmp.h: ...here. Avoid
4805 the use of long long in the __jmp_buf type definition.
4807 * sysdeps/s390/bits/string.h: Move to...
4808 * sysdeps/s390/s390-32/bits/string.h: ...here. Add several missing
4809 #ifndef _FORCE_INLINES.
4811 * sysdeps/s390/dl-machine.h: Move to...
4812 * sysdeps/s390/s390-32/dl-machine.h: ...here. Add a check for the
4813 executables EI_CLASS in elf_machine_matches_host.
4815 * sysdeps/s390/elf/setjmp.S: Move to...
4816 * sysdeps/s390/s390-32/elf/setjmp.S: ...here. Replace
4817 branches to globally defined symbol __sigsetjmp by branches to
4818 a local label (this avoids the generation of a R_390_PC16DBL
4819 relocation in -fpic code).
4821 * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
4822 calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
4824 * sysdeps/s390/initfini.c: Move to...
4825 * sysdeps/s390/s390-32/initfini.c: ...here. Replace ALIGN with
4828 * sysdeps/s390/setjmp.S: Move to...
4829 * sysdeps/s390/s390-32/setjmp.S: ...here. Add code to store the
4830 floating point registers that should be saved according to the ABI.
4832 * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
4834 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
4835 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
4836 sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
4838 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4840 * configure.in: Change machine=s390 to machine=s390/s390-32.
4842 * elf/elf.h: Correct comment for R_390_PLT16DBL.
4844 2001-03-12 Jakub Jelinek <jakub@redhat.com>
4846 * csu/Makefile (abi-tag.h): Define OS and version separately, allow
4847 version to be overriden from config.h.
4848 * csu/abi-note.S: Use OS and version separately, include config.h.
4849 * elf/dl-load.c (_dl_osversion): New.
4850 (_dl_map_object_from_fd): Kill some warnings.
4851 (open_verify): Check .note.ABI-tag of the library if present.
4852 * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
4853 * elf/cache.c (struct cache_entry): Add osversion.
4854 (print_entry): Print osversion.
4855 (print_cache): Pass osversion to it.
4856 (compare): Sort according to osversion.
4857 (save_cache): Set osversion.
4858 (add_to_cache): Add osversion argument.
4859 * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
4860 process_elf_file): Add osversion argument.
4861 * elf/readlib.c (process_file): Likewise.
4862 * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
4863 * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
4864 process_elf32_file, process_elf64_file): Likewise.
4865 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
4866 process_elf32_file, process_elf64_file): Likewise.
4867 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
4868 process_elf32_file, process_elf64_file): Likewise.
4869 * elf/ldconfig.c (manual_link): Pass it.
4870 (search_dir): Issue diagnostic if two libs with the same soname in
4871 the same directory have different .note.ABI-tag. Record osversion in
4872 dlib_entry and use it from there.
4873 (struct lib_entry): Remove.
4874 (struct dlib_entry): Add osversion.
4875 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
4877 * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
4878 field with osversion.
4879 * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
4880 * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
4881 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
4882 version in _dl_osversion.
4883 * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
4884 * Makerules (build-shlib-helper, build-module-helper): New.
4885 (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
4887 * config.h.in (__ABI_TAG_VERSION): Add.
4888 * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
4889 * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
4890 Handle LD_ASSUME_KERNEL.
4891 * sysdeps/unix/sysv/linux/dl-librecon.h: New.
4893 2001-03-15 Ulrich Drepper <drepper@redhat.com>
4895 * timezone/antarctica: Update from tzdata2001a.
4896 * timezone/asia: Likewise.
4897 * timezone/australasia: Likewise.
4898 * timezone/backward: Likewise.
4899 * timezone/etcetera: Likewise.
4900 * timezone/europe: Likewise.
4901 * timezone/leapseconds: Likewise.
4902 * timezone/northamerica: Likewise.
4903 * timezone/southamerica: Likewise.
4904 * timezone/systemv: Likewise.
4905 * timezone/yearistype: Likewise.
4906 * timezone/zone.tab: Likewise.
4907 * timezone/tzdump.c: Update from tzcode2001a.
4909 2001-03-15 H.J. Lu <hjl@gnu.org>
4911 * intl/Makefile: Fix a typo.
4913 2001-03-14 David Mosberger <davidm@hpl.hp.com>
4915 * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
4916 writing arc structures.
4918 2001-03-15 H.J. Lu <hjl@gnu.org>
4920 * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
4923 2001-03-13 Andreas Schwab <schwab@suse.de>
4925 * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
4927 2001-03-15 Ulrich Drepper <drepper@redhat.com>
4929 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
4930 for control message fitting into message data.
4931 Patch by James Antill <james@and.org>.
4933 * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
4936 * posix/fnmatch_loop.c: Optimize handling of ?() and @().
4937 * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
4939 * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
4940 * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
4941 avoid running binaries with libc versions without FNM_EXTMATCH support.
4943 * include/wchar.h: Add prototype for __wcscat.
4944 * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
4946 * posix/fnmatch.h (FNM_EXTMATCH): Define.
4947 * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
4948 (posixly_correct): Move global variable here.
4949 (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
4950 (fnmatch): Pretty printing.
4951 * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
4952 * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
4953 * posix/tst-fnmatch.input: Add tests for extended matching.
4955 * posix/testfnm.c: Add test for patterns with multiple ** before /.
4956 * posix/fnmatch_loop.c: Fix problem with the test above.
4958 2001-03-14 Ulrich Drepper <drepper@redhat.com>
4960 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
4963 * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
4965 2001-03-12 Andreas Jaeger <aj@suse.de>
4967 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4968 Use EM_X86_64 instead of EM_X8664.
4970 2001-03-12 Ulrich Drepper <drepper@redhat.com>
4972 * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
4974 * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
4977 * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
4980 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
4984 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
4986 (__ieee754_acos): Likewise.
4988 2001-03-12 Andreas Jaeger <aj@suse.de>
4990 * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
4991 Fix typo. Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
4993 * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
4996 2001-03-11 Roland McGrath <roland@frob.com>
4998 * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
5000 2001-03-11 Ulrich Drepper <drepper@redhat.com>
5002 * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
5005 * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
5008 Last-bit accurate math library implementation by IBM Haifa.
5009 Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
5010 <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
5011 Anna Reitman <reitman@il.ibm.com>.
5012 * math/Makefile (dbl-only-routines): New variable.
5013 (libm-routines): Add $(dbl-only-routines).
5014 * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
5015 * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
5017 * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
5019 * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
5021 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
5023 * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
5025 * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
5026 remainder implementation.
5027 * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
5029 * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
5031 * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
5032 * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
5033 * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
5035 * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
5036 * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
5038 * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
5040 * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
5042 * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
5043 * sysdeps/ieee754/dbl-64/MathLib.h: New file.
5044 * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
5045 * sysdeps/ieee754/dbl-64/atnat.h: New file.
5046 * sysdeps/ieee754/dbl-64/atnat2.h: New file.
5047 * sysdeps/ieee754/dbl-64/branred.c: New file.
5048 * sysdeps/ieee754/dbl-64/branred.h: New file.
5049 * sysdeps/ieee754/dbl-64/dla.h: New file.
5050 * sysdeps/ieee754/dbl-64/doasin.c: New file.
5051 * sysdeps/ieee754/dbl-64/doasin.h: New file.
5052 * sysdeps/ieee754/dbl-64/dosincos.c: New file.
5053 * sysdeps/ieee754/dbl-64/dosincos.h: New file.
5054 * sysdeps/ieee754/dbl-64/endian.h: New file.
5055 * sysdeps/ieee754/dbl-64/halfulp.c: New file.
5056 * sysdeps/ieee754/dbl-64/mpa.c: New file.
5057 * sysdeps/ieee754/dbl-64/mpa.h: New file.
5058 * sysdeps/ieee754/dbl-64/mpa2.h: New file.
5059 * sysdeps/ieee754/dbl-64/mpatan.c: New file.
5060 * sysdeps/ieee754/dbl-64/mpatan.h: New file.
5061 * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
5062 * sysdeps/ieee754/dbl-64/mpexp.c: New file.
5063 * sysdeps/ieee754/dbl-64/mpexp.h: New file.
5064 * sysdeps/ieee754/dbl-64/mplog.c: New file.
5065 * sysdeps/ieee754/dbl-64/mplog.h: New file.
5066 * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
5067 * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
5068 * sysdeps/ieee754/dbl-64/mptan.c: New file.
5069 * sysdeps/ieee754/dbl-64/mydefs.h: New file.
5070 * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
5071 * sysdeps/ieee754/dbl-64/root.tbl: New file.
5072 * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
5073 * sysdeps/ieee754/dbl-64/sincos32.c: New file.
5074 * sysdeps/ieee754/dbl-64/sincos32.h: New file.
5075 * sysdeps/ieee754/dbl-64/slowexp.c: New file.
5076 * sysdeps/ieee754/dbl-64/slowpow.c: New file.
5077 * sysdeps/ieee754/dbl-64/uasncs.h: New file.
5078 * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
5079 * sysdeps/ieee754/dbl-64/uexp.h: New file.
5080 * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
5081 * sysdeps/ieee754/dbl-64/ulog.h: New file.
5082 * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
5083 * sysdeps/ieee754/dbl-64/upow.h: New file.
5084 * sysdeps/ieee754/dbl-64/upow.tbl: New file.
5085 * sysdeps/ieee754/dbl-64/urem.h: New file.
5086 * sysdeps/ieee754/dbl-64/uroot.h: New file.
5087 * sysdeps/ieee754/dbl-64/usncs.h: New file.
5088 * sysdeps/ieee754/dbl-64/utan.h: New file.
5089 * sysdeps/ieee754/dbl-64/utan.tbl: New file.
5090 * sysdeps/i386/fpu/branred.c: New file.
5091 * sysdeps/i386/fpu/doasin.c: New file.
5092 * sysdeps/i386/fpu/dosincos.c: New file.
5093 * sysdeps/i386/fpu/halfulp.c: New file.
5094 * sysdeps/i386/fpu/mpa.c: New file.
5095 * sysdeps/i386/fpu/mpatan.c: New file.
5096 * sysdeps/i386/fpu/mpatan2.c: New file.
5097 * sysdeps/i386/fpu/mpexp.c: New file.
5098 * sysdeps/i386/fpu/mplog.c: New file.
5099 * sysdeps/i386/fpu/mpsqrt.c: New file.
5100 * sysdeps/i386/fpu/mptan.c: New file.
5101 * sysdeps/i386/fpu/sincos32.c: New file.
5102 * sysdeps/i386/fpu/slowexp.c: New file.
5103 * sysdeps/i386/fpu/slowpow.c: New file.
5104 * sysdeps/ia64/fpu/branred.c: New file.
5105 * sysdeps/ia64/fpu/doasin.c: New file.
5106 * sysdeps/ia64/fpu/dosincos.c: New file.
5107 * sysdeps/ia64/fpu/halfulp.c: New file.
5108 * sysdeps/ia64/fpu/mpa.c: New file.
5109 * sysdeps/ia64/fpu/mpatan.c: New file.
5110 * sysdeps/ia64/fpu/mpatan2.c: New file.
5111 * sysdeps/ia64/fpu/mpexp.c: New file.
5112 * sysdeps/ia64/fpu/mplog.c: New file.
5113 * sysdeps/ia64/fpu/mpsqrt.c: New file.
5114 * sysdeps/ia64/fpu/mptan.c: New file.
5115 * sysdeps/ia64/fpu/sincos32.c: New file.
5116 * sysdeps/ia64/fpu/slowexp.c: New file.
5117 * sysdeps/ia64/fpu/slowpow.c: New file.
5118 * sysdeps/m68k/fpu/branred.c: New file.
5119 * sysdeps/m68k/fpu/doasin.c: New file.
5120 * sysdeps/m68k/fpu/dosincos.c: New file.
5121 * sysdeps/m68k/fpu/halfulp.c: New file.
5122 * sysdeps/m68k/fpu/mpa.c: New file.
5123 * sysdeps/m68k/fpu/mpatan.c: New file.
5124 * sysdeps/m68k/fpu/mpatan2.c: New file.
5125 * sysdeps/m68k/fpu/mpexp.c: New file.
5126 * sysdeps/m68k/fpu/mplog.c: New file.
5127 * sysdeps/m68k/fpu/mpsqrt.c: New file.
5128 * sysdeps/m68k/fpu/mptan.c: New file.
5129 * sysdeps/m68k/fpu/sincos32.c: New file.
5130 * sysdeps/m68k/fpu/slowexp.c: New file.
5131 * sysdeps/m68k/fpu/slowpow.c: New file.
5133 * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
5136 2001-03-11 Andreas Jaeger <aj@suse.de>
5138 * elf/elf.h (EM_*): Synch with official list.
5140 2001-03-07 David Mosberger <davidm@hpl.hp.com>
5142 * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
5144 2001-03-07 Jes Sorensen <jes@linuxcare.com>
5146 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
5147 variables addr & len.
5149 2001-02-22 Jes Sorensen <jes@linuxcare.com>
5151 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
5152 punctuation in asm constraint.
5154 2001-03-07 Mark Kettenis <kettenis@gnu.org>
5156 * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
5157 <time.h> to get definition of `struct timespec'.
5159 2001-03-08 Jakub Jelinek <jakub@redhat.com>
5161 * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
5162 LD_WARN=1, not if LD_WARN is unset.
5164 2001-03-07 Andreas Schwab <schwab@suse.de>
5166 * elf/ldconfig.h: Moved to ...
5167 * sysdeps/generic/ldconfig.h: ... here.
5168 * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
5169 * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
5170 * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
5171 * elf/readlib.c (interpreters, known_libs): Use
5172 SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
5173 instead of hard coding old names.
5175 2001-03-09 Ulrich Drepper <drepper@redhat.com>
5177 * catgets/Makefile (generated): Add test-gencat.h.
5178 (sample.SJIS.cat): Also generate header.
5179 * catgets/sample.SJIS: Add new set and message, both with symbolic
5181 * catgets/test-gencat.sh: Also compare generated header with what
5184 2001-03-07 Jakub Jelinek <jakub@redhat.com>
5186 * catgets/gencat.c (read_input_file): Preserve properly symbolic
5189 2001-03-06 Andreas Jaeger <aj@suse.de>
5191 * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
5193 (elf_machine_pltrel_p): Likewise.
5194 * sysdeps/powerpc/dl-machine.h: Likewise.
5195 * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
5197 2001-03-09 Ulrich Drepper <drepper@redhat.com>
5199 * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
5202 2001-03-05 Philip Blundell <philb@gnu.org>
5204 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
5205 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
5206 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
5207 (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
5210 2001-03-09 Ulrich Drepper <drepper@redhat.com>
5212 * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
5214 * dlfcn/tstcxaatexit.c (main): Likewise.
5216 2001-03-10 Andreas Jaeger <aj@suse.de>
5218 * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
5220 2001-03-09 Andreas Jaeger <aj@suse.de>
5222 * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
5223 both new and old EM_S390 values.
5224 (EM_S390_OLD): New constant.
5226 * elf/elf.h (EM_S390): Use official value.
5228 2001-03-09 Ulrich Drepper <drepper@redhat.com>
5230 * conform/data/sys/socket.h-data: Allow SO* symbols.
5232 2001-03-07 Andreas Schwab <schwab@suse.de>
5234 * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
5235 routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
5237 2001-03-07 Andreas Jaeger <aj@suse.de>
5239 * resolv/Makefile (routines): Only build gai_sigqueue when threads
5242 2001-03-07 Jakub Jelinek <jakub@redhat.com>
5244 * elf/ldconfig.c (_dl_sysdep_message): Remove.
5245 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
5247 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
5249 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
5250 _dl_error_printf instead of _dl_sysdep_error.
5251 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5252 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
5253 Use _dl_printf instead of _dl_sysdep_message.
5254 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
5257 2001-03-06 Ben Collins <bcollins@debian.org>
5259 * manual/arith.texi (Integers): Fix documentation of fast and
5260 least integer typedefs.
5262 2001-03-06 Jakub Jelinek <jakub@redhat.com>
5264 * resolv/Depend: New file.
5265 * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
5266 when libpthread is built.
5268 2001-03-06 Andreas Jaeger <aj@suse.de>
5270 * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
5272 * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
5273 Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
5275 2001-03-05 Ulrich Drepper <drepper@redhat.com>
5277 * stdlib/Versions: Remove __new_exitfn again. Not needed.
5279 2001-03-05 Andreas Jaeger <aj@suse.de>
5281 * stdlib/msort.c (qsort): Don't use alloca in a function call.
5283 2001-03-05 Ulrich Drepper <drepper@redhat.com>
5285 * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
5286 __S_TYPEISSHM): Rewrite to enforce correct use the macros. They still
5288 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5289 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
5290 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
5291 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
5292 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5293 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
5294 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
5296 2001-03-04 Andreas Jaeger <aj@suse.de>
5298 * stdlib/longlong.h: Don't use multi-line strings.
5299 * iconvdata/tst-loading.c: Likewise.
5301 * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
5304 2001-03-04 Ulrich Drepper <drepper@redhat.com>
5306 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
5308 * rt/lio_listio.c: Add a few asserts.
5310 * elf/global.c: New file.
5311 * elf/globalmod1.c: New file.
5312 * elf/Makefile: Add rules to build and run global.
5314 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
5315 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5316 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5317 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5318 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5320 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
5321 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5323 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
5325 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
5326 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5328 * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
5330 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
5332 2001-03-04 Andreas Jaeger <aj@suse.de>
5334 * resolv/tst-aton.c: Add testcase for IP with four periods.
5336 * resolv/inet_addr.c: Don't recognize an IP with four periods.
5337 Patch by Andre' Breiler <A.Breiler@gmx.net>.
5339 2001-02-27 Philip Blundell <pb@futuretv.com>
5341 * elf/elf.h: Add new ARM definitions from latest (B-01)
5342 specification. Correct naming of EF_ARM_ALIGN8 et al.
5344 2001-03-04 Ulrich Drepper <drepper@redhat.com>
5346 * stdio-common/tst-printf.sh: Remove bashisms.
5347 Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
5349 2001-03-03 Ulrich Drepper <drepper@redhat.com>
5351 * Versions.def: Add libanl definition.
5352 * shlib-versions: Add entry for libanl.
5353 * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
5354 (routines): Add gai_sigqueue.
5355 (extra-libs): Add libanl.
5356 (libanl-routines): New variable.
5357 Add rules to build libanl and ga_test.
5358 * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
5359 [libanl]: New library.
5360 * resolv/netdb.h: Add definitions for libanl.
5361 * resolv/getaddrinfo_a.c: New file.
5362 * resolv/gai_cancel.c: New file.
5363 * resolv/gai_error.c: New file.
5364 * resolv/gai_misc.c: New file.
5365 * resolv/gai_misc.h: New file.
5366 * resolv/gai_notify.c: New file.
5367 * resolv/gai_suspend.c: New file.
5368 * resolv/ga_test.c: New file.
5369 * sysdeps/generic/gai_sigqueue.c: New file.
5370 * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
5371 * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
5372 and provide only that definition.
5373 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
5374 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
5375 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5376 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5377 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5378 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5380 * rt/aio_misc.c: Fix typos in comments.
5381 * rt/lio_listio.c: Pretty printing. Little optimization in request
5384 * elf/rtld.c: Remove commented out code.
5386 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
5387 Update for real 2.4 kernels.
5389 2001-03-01 Ulrich Drepper <drepper@redhat.com>
5391 * elf/dl-load.c: Pretty printing.
5393 * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
5396 2001-02-28 Ulrich Drepper <drepper@redhat.com>
5398 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
5399 relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
5401 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
5403 * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
5406 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
5408 2001-02-27 Ulrich Drepper <drepper@redhat.com>
5410 * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
5413 * elf/Versions [ld]: Don't export _dl_debug_message anymore. Export
5415 * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
5416 _dl_debug_message. Define _dl_debug_vdprintf, _dl_debug_printf,
5417 _dl_debug_printf_c, and _dl_printf.
5418 * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
5419 _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
5420 _dl_sysdep_fatal. Declare _dl_debug_printf, _dl_debug_printf_c,
5421 _dl_printf, _dl_error_printf, and _dl_fatal_printf.
5422 * elf/dl-close.c: Replace use of old output functions with the new
5424 * elf/dl-deps.c: Likewise.
5425 * elf/dl-error.c: Likewise.
5426 * elf/dl-fini.c: Likewise.
5427 * elf/dl-init.c: Likewise.
5428 * elf/dl-load.c: Likewise.
5429 * elf/dl-lookup.c: Likewise.
5430 * elf/dl-minimal.c: Likewise.
5431 * elf/dl-open.c: Likewise.
5432 * elf/dl-profile.c: Likewise.
5433 * elf/dl-reloc.c: Likewise.
5434 * elf/dl-version.c: Likewise.
5435 * elf/do-lookup.h: Likewise.
5436 * elf/rtld.c: Likewise.
5437 * sysdeps/generic/dl-cache.c: Likewise.
5438 * sysdeps/generic/dl-sysdep.c: Likewise.
5439 * sysdeps/generic/libc-start.c: Likewise.
5440 * sysdeps/i386/dl-machine.h: Likewise.
5441 * sysdeps/arm/dl-machine.h: Likewise.
5442 * sysdeps/hppa/dl-machine.h: Likewise.
5443 * sysdeps/m68k/dl-machine.h: Likewise.
5444 * sysdeps/powerpc/dl-machine.h: Likewise.
5445 * sysdeps/s390/dl-machine.h: Likewise.
5446 * sysdeps/sh/dl-machine.h: Likewise.
5447 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5448 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
5449 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5451 * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
5453 * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
5454 supported by assembler.
5456 * sysdeps/generic/ldsodefs.h: Remove commented-out variable
5459 * elf/rtld.c: Little optimizations in handling _dl_lazy.
5461 * elf/cache.c (save_cache): Portability changes.
5462 * elf/dl-profile.c (_dl_start_profile): Likewise.
5464 * elf/sln.c: Cleanups. Remove arbitrary limits.
5466 * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
5467 * elf/dl-deps.c: Likewise.
5468 * elf/dl-fini.c: Likewise.
5469 * elf/dl-init.c: Likewise.
5470 * elf/dl-load.c: Likewise.
5471 * elf/dl-lookup.c: Likewise.
5472 * elf/dl-open.c: Likewise.
5473 * elf/dl-reloc.c: Likewise.
5474 * elf/dl-support.c: Likewise.
5475 * elf/dl-version.c: Likewise.
5476 * elf/do-lookup.h: Likewise.
5477 * elf/rtld.c: Likewise.
5478 * sysdeps/generic/dl-cache.c: Likewise.
5479 * sysdeps/generic/ldsodefs.h: Likewise.
5480 * sysdeps/generic/libc-start.c: Likewise.
5481 * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
5482 Export _dl_debug_mask.
5483 * Versions.def: Define GLIBC_2.2.3 for ld.
5485 2001-02-26 Greg McGary <greg@mcgary.org>
5487 * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
5489 2001-02-26 Paul Eggert <eggert@twinsun.com>
5491 Modify mkstemp.c and tempname.c so that they can be used by
5492 GNU applications on non-glibc platforms.
5494 * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
5496 * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
5497 Include <stddef.h>, <stdint.h>, <string.h> only if
5498 STDC_HEADERS || _LIBC.
5499 Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
5500 Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
5501 Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
5502 (__set_errno): Define this macro if <errno.h> doesn't.
5503 (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
5504 Define these macros if <stdio.h> doesn't.
5505 (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
5506 Define these macros if <sys/stat.h> doesn't.
5507 Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
5508 (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
5509 lxstat64, __xstat64): Define if not _LIBC.
5510 (struct_stat64): New macro.
5511 (direxists, __gen_tempname): Use it, to avoid a
5512 portability problem with Solaris 8.
5513 (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
5514 (__gen_tempname): Invoke gettimeofday only if
5515 HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
5516 Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
5517 octal values like 0600.
5519 2001-02-26 Ulrich Drepper <drepper@redhat.com>
5521 * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
5522 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5524 * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
5525 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5527 * posix/wordexp-test.c (testit): Remove warnings.
5529 * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
5530 (tests): Add tstatexit and tstcxaatexit.
5531 (module-names): Add modatexit and modcxaatexit.
5532 Add rules to build and run tstatexit and tstcxaatexit.
5533 * dlfcn/modatexit.c: New file.
5534 * dlfcn/modcxaatexit.c: New file.
5535 * dlfcn/tstatexit.c: New file.
5536 * dlfcn/tstcxaatexit.c: New file.
5538 * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
5539 .hidden is available.
5540 * io/stat.c: If .hidden is available use it to avoid exporting
5542 * io/fstat.c: Likewise.
5543 * io/lstat.c: Likewise.
5544 * io/stat64.c: Likewise.
5545 * io/fstat64.c: Likewise.
5546 * io/lstat64.c: Likewise.
5547 * sysdeps/generic/mknod.c: Likewise.
5549 * malloc/mtrace.c: Use __cxa_atexit and not atexit.
5550 * sysdeps/generic/bb_init_func.c: Likewise.
5551 * sysdeps/generic/libc-start.c: Likewise.
5553 * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
5554 (atexit): Implement using __cxa_atexit.
5555 Use .hidden if availble to avoid exporting atexit.
5556 * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
5557 * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
5558 * stdlib/Makefile (routines): Add old_atexit.
5559 (static-only-routines): Add atexit.
5560 Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
5561 * stdlib/old_atexit.c: New file.
5563 * intl/Makefile: Remove bogus endif.
5565 2001-02-26 Andreas Jaeger <aj@suse.de>
5567 * iconvdata/Makefile (tests): Fix typo in last patch.
5569 * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
5571 Reported by Achim Gottinger <achim@gentoo.org>.
5573 2001-02-25 Andreas Jaeger <aj@suse.de>
5575 * intl/Makefile (plural.c): Reorder rules so that they work if
5576 BISON doesn't exist.
5578 2001-02-25 Ulrich Drepper <drepper@redhat.com>
5580 * intl/locale.alias: Don't use nb_NO but define aliases for it.
5582 2001-02-23 Ulrich Drepper <drepper@redhat.com>
5584 * sysdeps/i386/strtok.S: Continue to return NULL after the first
5587 2001-02-23 Andreas Jaeger <aj@suse.de>
5589 * string/tester.c (test_strtok_r): Add testcase.
5590 (test_strtok_r): Always initialize cp for proper checking.
5592 * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
5593 returning NULL correctly.
5594 Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
5595 * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
5597 2001-02-23 Ulrich Drepper <drepper@redhat.com>
5599 * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
5600 including <stddef.h>.
5601 * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
5602 * include/libc-symbols.h (weak_alias): Don't use .weak if
5603 HAVE_ASM_GLOBAL_DOT_NAME is defined.
5604 Patches by Michael Keezer <mkeezer@redhat.com>.
5606 * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
5607 Patch by Michael Keezer <mkeezer@redhat.com>.
5609 * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
5610 * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
5611 (sysdep_routines): Remove restf.S and savef.S.
5612 * sysdeps/unix/sysv/aix/restf.S: Removed.
5613 * sysdeps/unix/sysv/aix/savef.S: Removed.
5614 * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label. Also define
5615 alternative names used on some platforms.
5616 * sysdeps/powerpc/fprsave.S: Likewise.
5617 * sysdeps/powerpc/gprrest0.S: Likewise.
5618 * sysdeps/powerpc/gprrest1.S: Likewise.
5619 * sysdeps/powerpc/gprsave0.S: Likewise.
5620 * sysdeps/powerpc/gprsave1.S: Likewise.
5621 Patch by Michael Keezer <mkeezer@redhat.com>.
5623 2001-02-22 Ulrich Drepper <drepper@redhat.com>
5625 * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
5627 2001-02-22 Andreas Jaeger <aj@suse.de>
5629 * string/tst-strtok.c (main): Fix error messages.
5631 2001-02-22 Andreas Jaeger <aj@suse.de>
5633 * math/Makefile: Remove omit-long-double-fcts.
5635 2001-02-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5637 * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
5638 avoid problems on MIPS I.
5639 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
5641 * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
5644 2001-02-21 Ulrich Drepper <drepper@redhat.com>
5646 * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
5648 * sysdeps/generic/ftime.c: Include <time.h>.
5650 * configure.in: Don't check for libgd if user passed --without-gd.
5651 Patch by Achim Gottinger <achim@gentoo.org>.
5653 * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
5654 first time this happened.
5655 * string/Makefile (tests): Add tst-strtok.
5657 2001-02-21 Andreas Jaeger <aj@suse.de>
5659 * string/tst-strtok.c: New testcase, reported by
5660 Andrew Church <achurch@achurch.org>.
5662 2001-02-20 Ulrich Drepper <drepper@redhat.com>
5664 * libio/iofwide.c: Remove fwide alias.
5666 2001-02-20 Andreas Jaeger <aj@suse.de>
5668 * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
5670 Reported by Achim Gottinger <achim@gentoo.org>.
5672 2001-02-19 Ulrich Drepper <drepper@redhat.com>
5674 * iconv/tst-iconv1.c (main): Remove debugging code.
5676 * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
5677 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5679 * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
5681 * sysdeps/generic/e_scalbf.c: Likewise.
5682 * sysdeps/generic/e_scalbl.c: Likewise.
5684 * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
5685 libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
5687 (routines): Replace libm_error with libc_libm_error.
5688 * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
5689 * sysdeps/ia64/fpu/libc_libm_error.c: New file.
5691 2001-02-18 Mark Kettenis <kettenis@gnu.org>
5693 * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
5694 (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
5696 2001-02-17 H.J. Lu <hjl@gnu.org>
5698 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
5699 scratch registers across the system call.
5701 2001-02-19 Andreas Jaeger <aj@suse.de>
5703 * malloc/Makefile (tests): Run mtrace only when perl is available.
5704 Reported by Achim Gottinger <achim@gentoo.org>.
5706 2001-02-19 Ulrich Drepper <drepper@redhat.com>
5708 * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
5709 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5711 * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
5712 * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
5713 * math/libm-test.inc (j1_test): Mark constants as long double.
5714 (jn_test): Likewise.
5715 (y1_test): Likewise.
5716 (yn_test): Likewise.
5718 * libio/iogetline.c: Move return until after last statement.
5720 * localedata/show-ucs-data.c: Don't show < > for better readability.
5722 * sysdeps/ia64/fpu/Dist: New file.
5723 * sysdeps/ia64/fpu/Makefile: New file.
5724 * sysdeps/ia64/fpu/Versions: New file.
5725 * sysdeps/ia64/fpu/e_acos.S: New file.
5726 * sysdeps/ia64/fpu/e_acosf.S: New file.
5727 * sysdeps/ia64/fpu/e_acosl.S: New file.
5728 * sysdeps/ia64/fpu/e_asin.S: New file.
5729 * sysdeps/ia64/fpu/e_asinf.S: New file.
5730 * sysdeps/ia64/fpu/e_asinl.S: New file.
5731 * sysdeps/ia64/fpu/e_atan2.S: New file.
5732 * sysdeps/ia64/fpu/e_atan2f.S: New file.
5733 * sysdeps/ia64/fpu/e_atan2l.c: New file.
5734 * sysdeps/ia64/fpu/e_cosh.S: New file.
5735 * sysdeps/ia64/fpu/e_coshf.S: New file.
5736 * sysdeps/ia64/fpu/e_coshl.S: New file.
5737 * sysdeps/ia64/fpu/e_exp.S: New file.
5738 * sysdeps/ia64/fpu/e_expf.S: New file.
5739 * sysdeps/ia64/fpu/e_expl.c: New file.
5740 * sysdeps/ia64/fpu/e_fmod.S: New file.
5741 * sysdeps/ia64/fpu/e_fmodf.S: New file.
5742 * sysdeps/ia64/fpu/e_fmodl.S: New file.
5743 * sysdeps/ia64/fpu/e_hypot.S: New file.
5744 * sysdeps/ia64/fpu/e_hypotf.S: New file.
5745 * sysdeps/ia64/fpu/e_hypotl.S: New file.
5746 * sysdeps/ia64/fpu/e_log.S: New file.
5747 * sysdeps/ia64/fpu/e_log10.c: New file.
5748 * sysdeps/ia64/fpu/e_log10f.c: New file.
5749 * sysdeps/ia64/fpu/e_log10l.c: New file.
5750 * sysdeps/ia64/fpu/e_logf.S: New file.
5751 * sysdeps/ia64/fpu/e_logl.c: New file.
5752 * sysdeps/ia64/fpu/e_pow.S: New file.
5753 * sysdeps/ia64/fpu/e_powf.S: New file.
5754 * sysdeps/ia64/fpu/e_powl.S: New file.
5755 * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
5756 * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
5757 * sysdeps/ia64/fpu/e_remainder.S: New file.
5758 * sysdeps/ia64/fpu/e_remainderf.S: New file.
5759 * sysdeps/ia64/fpu/e_remainderl.S: New file.
5760 * sysdeps/ia64/fpu/e_scalb.S: New file.
5761 * sysdeps/ia64/fpu/e_scalbf.S: New file.
5762 * sysdeps/ia64/fpu/e_scalbl.S: New file.
5763 * sysdeps/ia64/fpu/e_sinh.S: New file.
5764 * sysdeps/ia64/fpu/e_sinhf.S: New file.
5765 * sysdeps/ia64/fpu/e_sinhl.S: New file.
5766 * sysdeps/ia64/fpu/e_sqrt.S: New file.
5767 * sysdeps/ia64/fpu/e_sqrtf.S: New file.
5768 * sysdeps/ia64/fpu/e_sqrtl.S: New file.
5769 * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
5770 * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
5771 * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
5772 * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
5773 * sysdeps/ia64/fpu/libm_error.c: New file.
5774 * sysdeps/ia64/fpu/libm_frexp4.S: New file.
5775 * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
5776 * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
5777 * sysdeps/ia64/fpu/libm_reduce.S: New file.
5778 * sysdeps/ia64/fpu/libm_support.h: New file.
5779 * sysdeps/ia64/fpu/libm_tan.S: New file.
5780 * sysdeps/ia64/fpu/s_atan.S: New file.
5781 * sysdeps/ia64/fpu/s_atanf.S: New file.
5782 * sysdeps/ia64/fpu/s_atanl.S: New file.
5783 * sysdeps/ia64/fpu/s_cbrt.S: New file.
5784 * sysdeps/ia64/fpu/s_cbrtf.S: New file.
5785 * sysdeps/ia64/fpu/s_cbrtl.S: New file.
5786 * sysdeps/ia64/fpu/s_ceil.S: New file.
5787 * sysdeps/ia64/fpu/s_ceilf.S: New file.
5788 * sysdeps/ia64/fpu/s_ceill.S: New file.
5789 * sysdeps/ia64/fpu/s_cos.S: New file.
5790 * sysdeps/ia64/fpu/s_cosf.S: New file.
5791 * sysdeps/ia64/fpu/s_cosl.S: New file.
5792 * sysdeps/ia64/fpu/s_expm1.S: New file.
5793 * sysdeps/ia64/fpu/s_expm1f.S: New file.
5794 * sysdeps/ia64/fpu/s_expm1l.S: New file.
5795 * sysdeps/ia64/fpu/s_floor.S: New file.
5796 * sysdeps/ia64/fpu/s_floorf.S: New file.
5797 * sysdeps/ia64/fpu/s_floorl.S: New file.
5798 * sysdeps/ia64/fpu/s_frexp.c: New file.
5799 * sysdeps/ia64/fpu/s_frexpf.c: New file.
5800 * sysdeps/ia64/fpu/s_frexpl.c: New file.
5801 * sysdeps/ia64/fpu/s_ilogb.S: New file.
5802 * sysdeps/ia64/fpu/s_ilogbf.S: New file.
5803 * sysdeps/ia64/fpu/s_ilogbl.S: New file.
5804 * sysdeps/ia64/fpu/s_ldexp.S: New file.
5805 * sysdeps/ia64/fpu/s_ldexpf.S: New file.
5806 * sysdeps/ia64/fpu/s_ldexpl.S: New file.
5807 * sysdeps/ia64/fpu/s_log1p.S: New file.
5808 * sysdeps/ia64/fpu/s_log1pf.S: New file.
5809 * sysdeps/ia64/fpu/s_log1pl.S: New file.
5810 * sysdeps/ia64/fpu/s_logb.S: New file.
5811 * sysdeps/ia64/fpu/s_logbf.S: New file.
5812 * sysdeps/ia64/fpu/s_logbl.S: New file.
5813 * sysdeps/ia64/fpu/s_matherrf.c: New file.
5814 * sysdeps/ia64/fpu/s_matherrl.c: New file.
5815 * sysdeps/ia64/fpu/s_modf.S: New file.
5816 * sysdeps/ia64/fpu/s_modff.S: New file.
5817 * sysdeps/ia64/fpu/s_modfl.S: New file.
5818 * sysdeps/ia64/fpu/s_nearbyint.S: New file.
5819 * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
5820 * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
5821 * sysdeps/ia64/fpu/s_rint.S: New file.
5822 * sysdeps/ia64/fpu/s_rintf.S: New file.
5823 * sysdeps/ia64/fpu/s_rintl.S: New file.
5824 * sysdeps/ia64/fpu/s_round.S: New file.
5825 * sysdeps/ia64/fpu/s_roundf.S: New file.
5826 * sysdeps/ia64/fpu/s_roundl.S: New file.
5827 * sysdeps/ia64/fpu/s_scalbn.S: New file.
5828 * sysdeps/ia64/fpu/s_scalbnf.S: New file.
5829 * sysdeps/ia64/fpu/s_scalbnl.S: New file.
5830 * sysdeps/ia64/fpu/s_significand.S: New file.
5831 * sysdeps/ia64/fpu/s_significandf.S: New file.
5832 * sysdeps/ia64/fpu/s_significandl.S: New file.
5833 * sysdeps/ia64/fpu/s_sin.c: New file.
5834 * sysdeps/ia64/fpu/s_sincos.c: New file.
5835 * sysdeps/ia64/fpu/s_sincosf.c: New file.
5836 * sysdeps/ia64/fpu/s_sincosl.c: New file.
5837 * sysdeps/ia64/fpu/s_sinf.c: New file.
5838 * sysdeps/ia64/fpu/s_sinl.c: New file.
5839 * sysdeps/ia64/fpu/s_tan.S: New file.
5840 * sysdeps/ia64/fpu/s_tanf.S: New file.
5841 * sysdeps/ia64/fpu/s_tanl.S: New file.
5842 * sysdeps/ia64/fpu/s_trunc.S: New file.
5843 * sysdeps/ia64/fpu/s_truncf.S: New file.
5844 * sysdeps/ia64/fpu/s_truncl.S: New file.
5845 * sysdeps/ia64/fpu/w_acos.c: New file.
5846 * sysdeps/ia64/fpu/w_acosf.c: New file.
5847 * sysdeps/ia64/fpu/w_acosl.c: New file.
5848 * sysdeps/ia64/fpu/w_asin.c: New file.
5849 * sysdeps/ia64/fpu/w_asinf.c: New file.
5850 * sysdeps/ia64/fpu/w_asinl.c: New file.
5851 * sysdeps/ia64/fpu/w_atan2.c: New file.
5852 * sysdeps/ia64/fpu/w_atan2f.c: New file.
5853 * sysdeps/ia64/fpu/w_atan2l.c: New file.
5854 * sysdeps/ia64/fpu/w_cosh.c: New file.
5855 * sysdeps/ia64/fpu/w_coshf.c: New file.
5856 * sysdeps/ia64/fpu/w_coshl.c: New file.
5857 * sysdeps/ia64/fpu/w_exp.c: New file.
5858 * sysdeps/ia64/fpu/w_expf.c: New file.
5859 * sysdeps/ia64/fpu/w_fmod.c: New file.
5860 * sysdeps/ia64/fpu/w_fmodf.c: New file.
5861 * sysdeps/ia64/fpu/w_fmodl.c: New file.
5862 * sysdeps/ia64/fpu/w_hypot.c: New file.
5863 * sysdeps/ia64/fpu/w_hypotf.c: New file.
5864 * sysdeps/ia64/fpu/w_hypotl.c: New file.
5865 * sysdeps/ia64/fpu/w_log.c: New file.
5866 * sysdeps/ia64/fpu/w_log10.c: New file.
5867 * sysdeps/ia64/fpu/w_log10f.c: New file.
5868 * sysdeps/ia64/fpu/w_log10l.c: New file.
5869 * sysdeps/ia64/fpu/w_logf.c: New file.
5870 * sysdeps/ia64/fpu/w_logl.c: New file.
5871 * sysdeps/ia64/fpu/w_pow.c: New file.
5872 * sysdeps/ia64/fpu/w_powf.c: New file.
5873 * sysdeps/ia64/fpu/w_powl.c: New file.
5874 * sysdeps/ia64/fpu/w_remainder.c: New file.
5875 * sysdeps/ia64/fpu/w_remainderf.c: New file.
5876 * sysdeps/ia64/fpu/w_remainderl.c: New file.
5877 * sysdeps/ia64/fpu/w_scalb.c: New file.
5878 * sysdeps/ia64/fpu/w_scalbf.c: New file.
5879 * sysdeps/ia64/fpu/w_scalbl.c: New file.
5880 * sysdeps/ia64/fpu/w_sqrt.c: New file.
5881 * sysdeps/ia64/fpu/w_sqrtf.c: New file.
5882 * sysdeps/ia64/fpu/w_sqrtl.c: New file.
5883 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
5885 * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
5886 Change FP_ILOGBNAN for new implementation.
5887 * Verions.def: Add 2.2.3 versions.
5889 2001-02-18 Ulrich Drepper <drepper@redhat.com>
5891 * math/libm-test.inc (scalb_test): Require invalid exception being
5892 raised for invalid parameters.
5893 * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
5894 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5895 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5897 2001-02-18 Mark Kettenis <kettenis@gnu.org>
5899 * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
5901 (__get_avphys_pages): Likewise.
5903 2001-02-18 Ulrich Drepper <drepper@redhat.com>
5905 * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
5906 * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
5907 * sysdeps/i386/fpu/e_powf.S: Likewise.
5908 * sysdeps/i386/fpu/e_powl.S: Likewise.
5910 * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
5912 2001-02-17 Ulrich Drepper <drepper@redhat.com>
5914 * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
5916 * sysdeps/generic/s_exp2l.c: Renamed to...
5917 * sysdeps/generic/e_exp2l.c: ...this. New file.
5918 * sysdeps/i386/fpu/s_exp2.S: Renamed to...
5919 * sysdeps/i386/fpu/e_exp2.S: ...this. New file.
5920 * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
5921 * sysdeps/i386/fpu/e_exp2f.S: ...this. New file.
5922 * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
5923 * sysdeps/i386/fpu/e_exp2l.S: ...this. New file.
5924 * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
5925 * sysdeps/ieee754/flt-32/e_exp2f.c: ...this. New file.
5926 * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
5927 * sysdeps/ieee754/dbl-64/e_exp2.c: ...this. New file.
5928 * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
5929 * sysdeps/m68k/fpu/e_exp2.c: ...this. New file.
5930 * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
5931 * sysdeps/m68k/fpu/e_exp2f.c: ...this. New file.
5932 * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
5933 * sysdeps/m68k/fpu/e_exp2l.c: ...this. New file.
5935 2001-02-17 Andreas Jaeger <aj@suse.de>
5937 * configure.in: Allow gcc 3.
5939 2001-02-16 Ulrich Drepper <drepper@redhat.com>
5941 * math/w_acos.c: Move to ...
5942 * sysdeps/generic/w_acos.c: ...here. New file.
5943 * math/w_acosf.c: Move to ...
5944 * sysdeps/generic/w_acosf.c: ...here. New file.
5945 * math/w_acosh.c: Move to ...
5946 * sysdeps/generic/w_acosh.c: ...here. New file.
5947 * math/w_acoshf.c: Move to ...
5948 * sysdeps/generic/w_acoshf.c: ...here. New file.
5949 * math/w_acoshl.c: Move to ...
5950 * sysdeps/generic/w_acoshl.c: ...here. New file.
5951 * math/w_acosl.c: Move to ...
5952 * sysdeps/generic/w_acosl.c: ...here. New file.
5953 * math/w_asin.c: Move to ...
5954 * sysdeps/generic/w_asin.c: ...here. New file.
5955 * math/w_asinf.c: Move to ...
5956 * sysdeps/generic/w_asinf.c: ...here. New file.
5957 * math/w_asinl.c: Move to ...
5958 * sysdeps/generic/w_asinl.c: ...here. New file.
5959 * math/w_atan2.c: Move to ...
5960 * sysdeps/generic/w_atan2.c: ...here. New file.
5961 * math/w_atan2f.c: Move to ...
5962 * sysdeps/generic/w_atan2f.c: ...here. New file.
5963 * math/w_atan2l.c: Move to ...
5964 * sysdeps/generic/w_atan2l.c: ...here. New file.
5965 * math/w_atanh.c: Move to ...
5966 * sysdeps/generic/w_atanh.c: ...here. New file.
5967 * math/w_atanhf.c: Move to ...
5968 * sysdeps/generic/w_atanhf.c: ...here. New file.
5969 * math/w_atanhl.c: Move to ...
5970 * sysdeps/generic/w_atanhl.c: ...here. New file.
5971 * math/w_cosh.c: Move to ...
5972 * sysdeps/generic/w_cosh.c: ...here. New file.
5973 * math/w_coshf.c: Move to ...
5974 * sysdeps/generic/w_coshf.c: ...here. New file.
5975 * math/w_coshl.c: Move to ...
5976 * sysdeps/generic/w_coshl.c: ...here. New file.
5977 * math/w_drem.c: Move to ...
5978 * sysdeps/generic/w_drem.c: ...here. New file.
5979 * math/w_dremf.c: Move to ...
5980 * sysdeps/generic/w_dremf.c: ...here. New file.
5981 * math/w_dreml.c: Move to ...
5982 * sysdeps/generic/w_dreml.c: ...here. New file.
5983 * math/w_exp10.c: Move to ...
5984 * sysdeps/generic/w_exp10.c: ...here. New file.
5985 * math/w_exp10f.c: Move to ...
5986 * sysdeps/generic/w_exp10f.c: ...here. New file.
5987 * math/w_exp10l.c: Move to ...
5988 * sysdeps/generic/w_exp10l.c: ...here. New file.
5989 * math/w_exp2.c: Move to ...
5990 * sysdeps/generic/w_exp2.c: ...here. New file.
5991 * math/w_exp2f.c: Move to ...
5992 * sysdeps/generic/w_exp2f.c: ...here. New file.
5993 * math/w_exp2l.c: Move to ...
5994 * sysdeps/generic/w_exp2l.c: ...here. New file.
5995 * math/w_fmod.c: Move to ...
5996 * sysdeps/generic/w_fmod.c: ...here. New file.
5997 * math/w_fmodf.c: Move to ...
5998 * sysdeps/generic/w_fmodf.c: ...here. New file.
5999 * math/w_fmodl.c: Move to ...
6000 * sysdeps/generic/w_fmodl.c: ...here. New file.
6001 * math/w_hypot.c: Move to ...
6002 * sysdeps/generic/w_hypot.c: ...here. New file.
6003 * math/w_hypotf.c: Move to ...
6004 * sysdeps/generic/w_hypotf.c: ...here. New file.
6005 * math/w_hypotl.c: Move to ...
6006 * sysdeps/generic/w_hypotl.c: ...here. New file.
6007 * math/w_j0.c: Move to ...
6008 * sysdeps/generic/w_j0.c: ...here. New file.
6009 * math/w_j0f.c: Move to ...
6010 * sysdeps/generic/w_j0f.c: ...here. New file.
6011 * math/w_j0l.c: Move to ...
6012 * sysdeps/generic/w_j0l.c: ...here. New file.
6013 * math/w_j1.c: Move to ...
6014 * sysdeps/generic/w_j1.c: ...here. New file.
6015 * math/w_j1f.c: Move to ...
6016 * sysdeps/generic/w_j1f.c: ...here. New file.
6017 * math/w_j1l.c: Move to ...
6018 * sysdeps/generic/w_j1l.c: ...here. New file.
6019 * math/w_jn.c: Move to ...
6020 * sysdeps/generic/w_jn.c: ...here. New file.
6021 * math/w_jnf.c: Move to ...
6022 * sysdeps/generic/w_jnf.c: ...here. New file.
6023 * math/w_jnl.c: Move to ...
6024 * sysdeps/generic/w_jnl.c: ...here. New file.
6025 * math/w_lgamma.c: Move to ...
6026 * sysdeps/generic/w_lgamma.c: ...here. New file.
6027 * math/w_lgammaf.c: Move to ...
6028 * sysdeps/generic/w_lgammaf.c: ...here. New file.
6029 * math/w_lgammaf_r.c: Move to ...
6030 * sysdeps/generic/w_lgammaf_r.c: ...here. New file.
6031 * math/w_lgammal.c: Move to ...
6032 * sysdeps/generic/w_lgammal.c: ...here. New file.
6033 * math/w_lgammal_r.c: Move to ...
6034 * sysdeps/generic/w_lgammal_r.c: ...here. New file.
6035 * math/w_lgamma_r.c: Move to ...
6036 * sysdeps/generic/w_lgamma_r.c: ...here. New file.
6037 * math/w_log10.c: Move to ...
6038 * sysdeps/generic/w_log10.c: ...here. New file.
6039 * math/w_log10f.c: Move to ...
6040 * sysdeps/generic/w_log10f.c: ...here. New file.
6041 * math/w_log10l.c: Move to ...
6042 * sysdeps/generic/w_log10l.c: ...here. New file.
6043 * math/w_log.c: Move to ...
6044 * sysdeps/generic/w_log.c: ...here. New file.
6045 * math/w_logf.c: Move to ...
6046 * sysdeps/generic/w_logf.c: ...here. New file.
6047 * math/w_logl.c: Move to ...
6048 * sysdeps/generic/w_logl.c: ...here. New file.
6049 * math/w_pow.c: Move to ...
6050 * sysdeps/generic/w_pow.c: ...here. New file.
6051 * math/w_powf.c: Move to ...
6052 * sysdeps/generic/w_powf.c: ...here. New file.
6053 * math/w_powl.c: Move to ...
6054 * sysdeps/generic/w_powl.c: ...here. New file.
6055 * math/w_remainder.c: Move to ...
6056 * sysdeps/generic/w_remainder.c: ...here. New file.
6057 * math/w_remainderf.c: Move to ...
6058 * sysdeps/generic/w_remainderf.c: ...here. New file.
6059 * math/w_remainderl.c: Move to ...
6060 * sysdeps/generic/w_remainderl.c: ...here. New file.
6061 * math/w_scalb.c: Move to ...
6062 * sysdeps/generic/w_scalb.c: ...here. New file.
6063 * math/w_scalbf.c: Move to ...
6064 * sysdeps/generic/w_scalbf.c: ...here. New file.
6065 * math/w_scalbl.c: Move to ...
6066 * sysdeps/generic/w_scalbl.c: ...here. New file.
6067 * math/w_sinh.c: Move to ...
6068 * sysdeps/generic/w_sinh.c: ...here. New file.
6069 * math/w_sinhf.c: Move to ...
6070 * sysdeps/generic/w_sinhf.c: ...here. New file.
6071 * math/w_sinhl.c: Move to ...
6072 * sysdeps/generic/w_sinhl.c: ...here. New file.
6073 * math/w_sqrtl.c: Move to ...
6074 * sysdeps/generic/w_sqrtl.c: ...here. New file.
6075 * math/w_tgamma.c: Move to ...
6076 * sysdeps/generic/w_tgamma.c: ...here. New file.
6077 * math/w_tgammaf.c: Move to ...
6078 * sysdeps/generic/w_tgammaf.c: ...here. New file.
6079 * math/w_tgammal.c: Move to ...
6080 * sysdeps/generic/w_tgammal.c: ...here. New file.
6082 * locale/programs/ld-address.c (address_finish): Add 'S' to allow
6083 formats for postal_fmt.
6085 2001-02-16 Jakub Jelinek <jakub@redhat.com>
6087 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
6088 __ftruncate64 alias.
6089 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
6092 2001-02-15 David Mosberger <davidm@hpl.hp.com>
6094 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
6095 do "loadrs". Writing to bspstore already takes care of
6096 invalidating the "clean" partition.
6098 2001-02-16 Andreas Schwab <schwab@suse.de>
6100 * sysdeps/m68k/fpu/s_nextafterl.c: New file.
6101 * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
6103 2001-02-15 Jakub Jelinek <jakub@redhat.com>
6105 * posix/regex.c (init_syntax_once): Add prototype.
6106 (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
6107 (re_search_2): Avoid warning.
6108 (count_mbs_length): Add prototype.
6109 * posix/tst-regex3.c: New file.
6110 * posix/Makefile (tests): Add bug-regex3.
6112 2001-02-15 Ulrich Drepper <drepper@redhat.com>
6114 * stdio-common/Makefile (tests): Add tst-gets.
6115 * stdio-common/tst-gets.c: New file.
6116 * stdio-common/tst-gets.input: New file.
6118 * elf/elf.h (DT_CHECKSUM): Define.
6120 * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
6122 * sysdeps/generic/strtoull.c: Likewise.
6124 2001-02-14 Wolfram Gloger <wg@malloc.de>
6126 * malloc/malloc.c (new_heap): When allocating large chunk aligned
6127 to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
6130 2001-02-14 Ulrich Drepper <drepper@redhat.com>
6132 * math/libm-test.inc (j0_test): Check whether sincos is available.
6133 (j1_test): Likewise.
6134 (jn_test): Likewise.
6135 (y0_test): Likewise.
6136 (y1_test): Likewise.
6137 (yn_test): Likewise.
6139 * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
6140 fake filesystem routines to handle this.
6142 * time/sys/time.h: Make settimeofday and adjtime available if
6145 * time/sys/time.h: Make timer* macros available for BSD.
6147 * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
6148 Patch by Yong Li <rigel863@yahoo.com>.
6150 * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
6153 * posix/Makefile (tests): Add tst-gnuglob.
6154 * posix/tst-gnuglob.c: New file.
6156 2001-02-13 H.J. Lu <hjl@gnu.org>
6158 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
6160 2001-02-13 Ulrich Drepper <drepper@redhat.com>
6162 * locale/programs/ld-paper.c (paper_output): Pretty printing.
6164 * iconvdata/Makefile (modules): Add GBBIG5.
6165 (distribute): Add gbbig5.c.
6166 * iconvdata/gconv-modules: Add entries for GBBIG5 module.
6168 * iconvdata/gbbig5.c: New file.
6169 Contributed by Yong Li <rigel863@yahoo.com>.
6171 2001-02-13 Philip Blundell <pb@futuretv.com>
6173 * manual/crypt.texi: Remove outdated references to crypt add-on.
6175 * manual/creature.texi: Improve wording slightly.
6177 2001-02-13 Ulrich Drepper <drepper@redhat.com>
6179 * io/ftw.c: Always use readdir64.
6180 * io/ftw64.c: Likewise.
6181 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6182 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6183 * sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir
6184 callback to dirent. Still allow compiling outside glibc.
6185 * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
6186 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6188 * malloc/mtrace.c: Use fopen64.
6189 * posix/spawni.c: Use __open64.
6190 * sysdeps/unix/opendir.c: Likewise.
6191 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
6193 * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
6195 * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
6196 * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
6197 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
6198 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
6200 * resolv/res_data.c: Add cast to avoid warning.
6202 * include/unistd.h: Declare __ftruncate64.
6204 * sysdeps/generic/utmp_file.c: Use LFS functions and types.
6206 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
6209 2001-02-13 Andreas Jaeger <aj@suse.de>
6211 * login/getutent_r.c: Include <stdlib.h> for NULL.
6212 * login/getutid_r.c: Likewise.
6214 2001-02-12 Ulrich Drepper <drepper@redhat.com>
6216 * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
6217 * sysdeps/dbl-64/e_j1.c: Likewise.
6218 * sysdeps/dbl-64/e_jn.c: Likewise.
6219 * sysdeps/flt-32/e_j0f.c: Likewise.
6220 * sysdeps/flt-32/e_j1f.c: Likewise.
6221 * sysdeps/ldbl-96/e_j0l.c: Likewise.
6223 2000-12-02 H.J. Lu <hjl@gnu.org>
6225 * resolv/res_libc.c (res_init): Don't make it default.
6227 2001-02-12 Ulrich Drepper <drepper@redhat.com>
6229 * manual/debug.texi: Improved the wording.
6230 Patch by Philip Blundell <pb@futuretv.com>.
6232 2001-02-12 Andreas Jaeger <aj@suse.de>
6234 * posix/Makefile (tests): Don't run bug-regex2 when
6237 * libio/Makefile (tests): Don't run test-freopen when
6240 * manual/stdio.texi (Streams and I18N): Fix typos.
6242 2001-02-12 Ulrich Drepper <drepper@redhat.com>
6244 * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
6246 * math/libm-test.inc (j0_test): Make expected results long double
6248 (y0_test): Likewise.
6250 * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
6251 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
6253 2001-02-11 Jakub Jelinek <jakub@redhat.com>
6255 * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
6256 which was exported from libc.
6257 * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
6259 2001-02-12 Andreas Jaeger <aj@suse.de>
6261 * manual/arith.texi (Parsing of Integers): Fix some wordings.
6263 2001-02-11 Ulrich Drepper <drepper@redhat.com>
6265 * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
6266 and get_avphys_page to long int.
6267 * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
6268 * include/sys/sysinfo.h: Likewise.
6269 * sysdeps/generic/sys/sysinfo.h: Likewise.
6270 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
6272 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
6273 cannot return as many values as the user asked for.
6275 2001-02-11 Andreas Jaeger <aj@suse.de>
6277 * manual/resource.texi (Memory Resources): Fix typo.
6279 * libio/Makefile ($(objpfx)test-freopen.out): Pass
6282 * libio/test-freopen.sh: Use run_program_prefix.
6284 2001-02-10 Andreas Jaeger <aj@suse.de>
6286 * stdlib/Makefile (tests): Don't run tst-fmtmsg when
6288 ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
6290 * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
6293 * elf/Makefile (tests): Only run tst-pathopt with shared libs.
6295 * posix/Makefile: Fix typo, it's build-static-nss.
6297 * iconv/Makefile (extra-objs): New.
6299 2001-02-10 Mark Kettenis <kettenis@gnu.org>
6301 * sysdeps/unix/stime.c: Include <time.h>.
6303 * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
6305 2001-02-10 Andreas Jaeger <aj@suse.de>
6307 * manual/string.texi (Search Functions): Fix typo.
6309 2001-02-10 Mark Kettenis <kettenis@gnu.org>
6311 * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
6312 (timeval_to_clock_t): Add clk_tck argument and use that instead of
6314 (__times): Use __getclktck to get the number of clock ticks per
6315 second and use its return value instead of CLK_TCK.
6317 2001-02-10 Mark Kettenis <kettenis@gnu.org>
6319 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
6321 2001-02-10 Mark Kettenis <kettenis@gnu.org>
6323 * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
6325 2001-02-10 Andreas Jaeger <aj@suse.de>
6327 * wctype/wcfuncs.c (func): Add prototype declarations to avoid
6330 2001-02-09 Ulrich Drepper <drepper@redhat.com>
6332 * posix/Makefile: Add rules to build and run bug-regex2.
6333 * posix/bug-regex2.c: New file.
6335 2001-02-10 Jakub Jelinek <jakub@redhat.com>
6337 * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
6338 (regex_compile): Likewise.
6339 (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
6340 (re_match_2_internal): Use just is_binary instead of two variables.
6341 Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
6343 2001-02-09 Ulrich Drepper <drepper@redhat.com>
6345 * version.h (VERSION): Bump to 2.2.2.
6347 * iconv/Makefile (distribute): Add iconv_charmap.c and
6349 * elf/Makefile (distribute): Add firstobj.c.
6350 * Makefile (distribute): Add include/pthread.h.
6352 * configure.in: Require makeinfo version 4.
6354 * libio/tst_wscanf.c (main): Add cast to avoid warning.
6355 * libio/tst_swscanf.c (main): Likewise..
6357 2001-02-09 Jakub Jelinek <jakub@redhat.com>
6359 * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
6360 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
6362 * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
6363 if not RTLD_BOOTSTRAP.
6364 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6365 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6367 2001-02-09 Ulrich Drepper <drepper@redhat.com>
6369 * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use
6370 lr_ungetc to push back last read character.
6371 * locale/programs/linereader.h (lr_ungetc): Don't push back is
6373 (lr_ignore_rest): Don't warn about garbage if it is really the end
6376 * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
6379 2001-02-08 Ulrich Drepper <drepper@redhat.com>
6381 * Makerules (build-shlib): Work around different order of
6382 processing of -B option in different gcc versions.
6384 * posix/regex.c: Fix alignment problem.
6385 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6387 * sysdeps/alpha/strrchr.S: Little optimization.
6388 Patch by Richard Henderson <rth@redhat.com>.
6390 * sysdeps/alpha/alphaev67/strrchr.S: New file.
6391 Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
6393 2001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
6395 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
6396 in the assembler end directive.
6398 2001-02-08 Andreas Jaeger <aj@suse.de>
6400 * manual/stdio.texi (Closing Streams): Fix typos.
6402 2001-02-07 Ulrich Drepper <drepper@redhat.com>
6404 * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
6405 Patch by Richard Henderson <rth@redhat.com>.
6406 Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
6408 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
6409 pointer in FILE structure before calling _IO_init.
6410 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
6411 strfmon_l if necessary.
6412 Reported by Jury Gerold <gjury@grips.com>.
6414 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
6415 Patch by Pekka.Pietikainen@cern.ch.
6417 * posix/regex.c: Correct several problems with 64-bit architectures
6418 introduced in the MBS changes.
6419 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6421 2001-02-07 Jakub Jelinek <jakub@redhat.com>
6423 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
6425 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
6427 2001-02-07 Andreas Jaeger <aj@suse.de>
6429 * manual/install.texi (Tools for Compilation): Fix typo.
6430 Reported by Pavel Machek <pavel@bug.ucw.cz>.
6432 2001-02-07 Ulrich Drepper <drepper@redhat.com>
6434 * stdlib/strtod.c: Never stop prematurely reading digits before the
6435 decimal point is found. Compute exponent limit for negative exponents
6436 correctly. For numbers ending in all zeros eat the zeros even before
6437 the decimal point if the exponent is negative [PR libc/2072].
6438 * stdlib/Makefile (tests): Add bug-strtod.
6439 * stdlib/bug-strtod.c: New file.
6441 2001-02-07 Andreas Jaeger <aj@suse.de>
6443 * posix/bug-regex1.c: Include <wchar.h> for fwide.
6445 2001-02-06 Ulrich Drepper <drepper@redhat.com>
6447 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
6449 (compile_range): Handle index being passed, not pointer.
6450 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6452 * posix/regex.c: Fix a cast in the code for bracket handling which
6453 caused 8-bit uncleanliness.
6454 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
6456 * posix/Makefile (tests): Add bug-regex1.
6457 * posix/bug-regex1.c: New file.
6458 Contributed by Jim Meyering <jim@meyering.net>.
6460 * posix/regex.c: Many cleanups for incorrect format strings.
6462 2001-02-06 Andreas Jaeger <aj@suse.de>
6464 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
6466 2001-02-06 Ulrich Drepper <drepper@redhat.com>
6468 * locale/programs/locale.c (write_locales): Use scandir to read
6469 directory so that the entries are sorted.
6471 2001-02-06 Andreas Jaeger <aj@suse.de>
6473 * include/pthread.h: New file.
6475 * wctype/wctype.h: Move internal interfaces from here to...
6476 * include/wctype.h: ...here.
6478 * wcsmbs/wchar.h: Move __wcslen from here to...
6479 * include/wchar.h: ...here.
6481 * posix/sys/wait.h: Move __wait from here to...
6482 * include/sys/wait.h: ...here.
6484 * string/string.h: Move __ffs and __strerror_r from here to...
6485 * include/string.h: ...here.
6487 * stdlib/stdlib.h: Move __on_exit from here to...
6488 * include/stdlib.h: ...here.
6490 * libio/stdio.h: Move __vsnprintf from here to...
6491 * include/stdio.h: ...here.
6493 2001-02-06 Andreas Schwab <schwab@suse.de>
6495 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
6498 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
6501 2001-02-06 Ulrich Drepper <drepper@redhat.com>
6503 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
6505 2001-02-06 Andreas Jaeger <aj@suse.de>
6507 * elf/firstobj.c: Add prototype.
6509 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
6510 (truncate_wchar): Likewise.
6512 2001-02-06 Ulrich Drepper <drepper@redhat.com>
6514 * locale/programs/locale.c: Implement --verbose option for -a
6515 which prints detailed information about the locales.
6517 2001-02-05 Ulrich Drepper <drepper@redhat.com>
6519 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
6520 variable to uint32_t.
6521 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
6523 2001-02-04 Bruno Haible <haible@clisp.cons.org>
6525 * locale/C-translit.h.in: Add transliterations for CJK units of
6528 2001-02-05 Ulrich Drepper <drepper@redhat.com>
6530 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
6531 string. Include <inttypes.h> instead of <stdint.h>.
6533 * localedata/Makefile (tests): Add bug-iconv-trans.
6534 Define bug-iconv-trans-ENV.
6535 * localedata/bug-iconv-trans.c: New file.
6537 2001-02-04 Bruno Haible <haible@clisp.cons.org>
6539 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
6540 pointer, to avoid accumulating output from incomplete (unsuccessful)
6541 transliteration attempts.
6543 2001-02-05 Ulrich Drepper <drepper@redhat.com>
6545 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
6546 string. Include <inttypes.h> instead of <stdint.h>.
6548 * configure.in: Add check for bison.
6549 * config.make.in: Define BISON variable.
6550 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
6551 Rename YFLAGS to BISONFLAGS.
6553 2001-02-05 Andreas Jaeger <aj@suse.de>
6555 * io/test-lfs.c (do_test): Test lseek64 return value, call
6557 (test_ftello): New function to test ftello64 and fseeko64.
6559 * signal/signal.h: Move __sigaction from here to...
6560 * include/signal.h: ...here.
6562 * io/fcntl.h: Move __fcntl and __open to...
6563 * include/fcntl.h: ...here.
6565 2001-02-04 Philip Blundell <philb@gnu.org>
6567 * configure.in: Distinguish ARM from Thumb.
6569 2001-02-04 Philip Blundell <philb@gnu.org>
6571 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
6572 PC24 relocs with negative value.
6574 2001-02-04 Ulrich Drepper <drepper@redhat.com>
6576 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
6577 files in locale/programs. Add CFLAGS definition to allow compiling
6579 * iconv/dummy-repertoire.c: New file.
6580 * iconv/iconv_charmap.c: New file.
6581 * iconv/iconv_prog.h: New file.
6582 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
6583 (main): If parameter for -f and -t contain slashes try first to resolve
6584 the strings as filenames of charmap files. Use them for conversion
6586 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
6587 iconv getting charmap names as parameters.
6588 * locale/programs/linereader.c (lr_token): Take extra parameters
6589 verbose and pass it to get_string.
6590 (get_string): Take extra parameters verbose.
6591 * locale/programs/charmap.c (parse_charmap): Take extra parameters
6592 verbose and be_quiet. Change all callers of lr_token and
6594 * locale/programs/charmap.h: Likewise.
6595 * locale/programs/ld-address.c: Likewise.
6596 * locale/programs/ld-collate.c: Likewise.
6597 * locale/programs/ld-ctype.c: Likewise.
6598 * locale/programs/ld-identification.c: Likewise.
6599 * locale/programs/ld-measurement.c: Likewise.
6600 * locale/programs/ld-messages.c: Likewise.
6601 * locale/programs/ld-monetary.c: Likewise.
6602 * locale/programs/ld-name.c: Likewise.
6603 * locale/programs/ld-numeric.c: Likewise.
6604 * locale/programs/ld-paper.c: Likewise.
6605 * locale/programs/ld-telephone.c: Likewise.
6606 * locale/programs/ld-time.c: Likewise.
6607 * locale/programs/linereader.c: Likewise.
6608 * locale/programs/linereader.h: Likewise.
6609 * locale/programs/localedef.c: Likewise.
6610 * locale/programs/locfile.c: Likewise.
6611 * locale/programs/locfile.h: Likewise.
6612 * locale/programs/repertoire.c: Likewise.
6614 2001-02-03 Ulrich Drepper <drepper@redhat.com>
6616 * iconv/iconv_prog.c (main): If output file name is "-" write to
6618 (main): If -f or -t argument is missing use charset of the current
6621 2001-02-03 Andreas Jaeger <aj@suse.de>
6623 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
6624 boundary for SSE/SSE-2 alignment.
6626 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
6629 2001-02-03 Ulrich Drepper <drepper@redhat.com>
6631 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
6632 Remove comma at end of enum.
6634 * elf/dl-init.c: Add a few __builtin_expect.
6636 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
6638 2001-02-02 Ulrich Drepper <drepper@redhat.com>
6640 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
6641 errno is ECONNREFUSED.
6643 * posix/Makefile: Define MBS_SUPPORT for regex.c.
6644 * posix/regex.c: Implement multibyte character handling.
6645 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
6647 * string/tst-svc.input: Add two more test cases.
6648 * string/tst-svc.expect: Modify to reflect new test cases.
6650 2001-02-01 Jakub Jelinek <jakub@redhat.com>
6652 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
6653 tp->name tests with tp->name[0] tests.
6655 2001-01-29 Ben Collins <bcollins@debian.org>
6657 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
6658 Fix check for name == NULL.
6660 2001-02-01 Ulrich Drepper <drepper@redhat.com>
6662 * elf/Makefile: Add rules to build and run initfirst test.
6663 * elf/initfirst.c: New file.
6664 * elf/firstobj.c: New file.
6666 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
6667 * configure.in: Test for -z initfirst linker option.
6668 * config.make.in: Add have-z-initfirst.
6669 * elf/dl-init.c (_dl_init): Split out actual initialization code in
6670 new function call_init. If _dl_initfirst is non-NULL initialize first.
6671 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
6672 remember object in _dl_initfirst.
6673 * elf/soinit.c: Remove special support for calling
6674 __pthread_initialize_minimal.
6676 * conform/conformtest.pl: Add missing $prepend in type test.
6678 2001-01-31 Ulrich Drepper <drepper@redhat.com>
6680 * elf/elf.h (SHT_CHECKSUM): New definition.
6682 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
6683 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6684 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
6686 2001-01-31 Mark Kettenis <kettenis@gnu.org>
6688 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
6689 to get definition of `struct timeval'.
6691 2001-01-31 Ulrich Drepper <drepper@redhat.com>
6693 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
6694 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
6696 2001-01-30 Ulrich Drepper <drepper@redhat.com>
6698 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
6701 * nis/nis_findserv.c: Include <time.h>.
6703 2001-01-30 Yong Li <yong.li@asu.edu>
6705 * iconv/iconv_prog.c (main): Correct error handling method name.
6707 2001-01-29 Ben Collins <bcollins@debian.org>
6709 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
6710 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
6711 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
6712 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
6714 2001-01-30 Ulrich Drepper <drepper@redhat.com>
6716 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
6717 Patch by Marko Myllynen <myllynen@lut.fi>.
6719 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
6720 (int instead of char).
6721 (__strpbrk_c3): Likewise.
6722 Reported by GOTO Masanori <gotom@debian.or.jp>.
6724 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
6725 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
6726 * include/sys/socket.h: Add SA_LEN here for internal use.
6727 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
6729 2001-01-29 Ulrich Drepper <drepper@redhat.com>
6731 * malloc/Makefile: Don't build memusagestat if cross-compiling.
6733 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
6735 * math/libm-test.inc (rint_test): Add a few more tests for round
6738 2001-01-28 Ulrich Drepper <drepper@redhat.com>
6740 * conform/data/pthread.h-data: Correct return type of pthread_exit.
6742 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
6744 * conform/data/stdlib.h-data: Add _Exit.
6746 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
6747 if not already happened.
6748 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
6749 Don't include <limits.h> and <bits/sockaddr.h>.
6751 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
6753 * conform/data/spawn.h-data: Allow all of <sched.h>.
6755 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
6758 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
6759 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
6761 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
6763 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
6764 * libio/stdio.h: Define va_list correctly.
6766 * conform/data/pthread.h-data: Make priority protocol related
6767 functions optional. Fix typos.
6769 * posix/sched.h: Define sched_priority as __sched_priority.
6770 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
6771 to __sched_priority.
6772 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6774 2001-01-27 Ulrich Drepper <drepper@redhat.com>
6776 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
6779 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
6780 * sysdeps/unix/time.c: Likewise.
6782 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
6783 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
6784 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
6785 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
6786 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6787 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
6788 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
6789 * time/time.h: Likewise.
6791 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
6792 * conform/data/complex.h-data: New file.
6793 * conform/data/tgmath.h-data: New file.
6795 * conform/data/wchar.h-data: Add missing functions.
6797 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
6799 * conform/data/termios.h-data: Add missing const in tcsetattr()
6802 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
6803 Don't define pid_t here.
6805 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
6807 * conform/data/sys/time.h-data: Allow sys/select.h.
6808 * conform/data/sys/un.h-data: Fix typo.
6809 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
6810 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
6812 * sysdeps/unix/clock_nanosleep.c: Likewise.
6813 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
6814 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
6815 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
6816 * sysdeps/unix/clock_settime.c: Likewise.
6818 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
6819 * login/getutent.c: Likewise.
6820 * login/getutid.c: Likewise.
6821 * login/getutline.c: Likewise.
6823 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
6825 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
6826 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
6827 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
6828 f_fsid field after change in struct statvfs.
6829 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
6830 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
6831 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
6833 * conform/data/sys/stat.h-data: Remove isfdtype. Use
6836 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
6837 recvfrom, send, and socketpair prototypes. Add allow lines.
6838 * socket/sys/socket.h: Include <sys/uio.h>.
6839 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
6840 Fix type of second parameter of listen.
6841 Don't declare isfdtype unless __USE_MISC.
6842 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
6843 * sysdeps/mach/hurd/listen.c: Likewise.
6844 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
6845 ss_family and __ss_family.
6846 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
6847 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6848 (struct msghdr): Change type of msg_iovlen to int and type of
6849 msg_controllen to socklen_t.
6850 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
6851 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
6852 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
6853 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
6854 (rresvport_af): Likewise.
6856 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
6857 * conform/conformtest.pl: Implement handling of symbol.
6859 * signal/signal.h: Fix handling of __need_* symbols.
6860 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
6861 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
6862 * include/sys/select.h: Use fd_set not __fd_set.
6863 * sysdeps/generic/bits/select.h: Likewise.
6864 * sysdeps/i386/bits/select.h: Likewise.
6865 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
6866 __FDELT, __FDMASK, and __fd_set here.
6867 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
6868 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
6869 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6870 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6871 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
6872 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6873 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6874 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6875 * time/sys/time.h: Define struct timeval before including <time.h>
6878 * conform/data/sys/time.h-data: fd_set is a typedef.
6879 * conform/data/sys/select.h-data: New file.
6880 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
6881 * conform/conformtest.pl (@headers): Add sys/select.h.
6882 (type, optional-type): Unless testing a typedef instantiate object.
6883 Implement optional-function.
6885 * math/test-misc.c: Include <float.h>.
6887 2001-01-27 Andreas Jaeger <aj@suse.de>
6889 * misc/efgcvt_r.c: Include <float.h>.
6891 2001-01-26 Ulrich Drepper <drepper@redhat.com>
6893 * conform/data/stdlib.h-data: Account for XPG6 changes.
6894 * stdlib/stdlib.h (__random): Change return value type to long.
6895 (posix_memalign): Cleanup parameter names.
6896 (setenv, unsetenv): Make available for __USE_XOPEN2K.
6897 Change return type of unsetenv to int.
6898 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
6899 * include/stdlib.h: Change return type of unsetenv to int.
6900 Change return type of random to long int.
6901 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
6902 Return -1 and set errno if parameter is invalid.
6903 * stdlib/random.c (__random): Change return value type to long.
6905 * conform/data/stdio.h-data: Account for changes in XPG6.
6907 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
6910 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
6911 * conform/data/signal.h-data: Fix sigev_notify_function entry.
6912 Fix typo (SIGVALRM -> SIGVTALRM).
6913 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
6915 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
6916 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
6917 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
6918 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6919 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
6921 * conform/conformtest.pl: Implement optional-element. Define
6922 $mustprepend{"sched.h"}.
6923 * conform/data/sched.h-data: Make sporadic scheduler definitions
6926 * pwd/pwd.h: Don't define getpwent_r for XPG.
6928 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
6929 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
6930 * sysdeps/mach/hurd/poll.c: Likewise.
6931 * sysdeps/unix/bsd/poll.c: Likewise.
6932 * sysdeps/unix/sysv/linux/poll.c: Likewise.
6933 * sysdeps/unix/sysv/aix/poll.c: Likewise.
6934 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
6935 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
6936 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
6937 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
6938 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
6939 * conform/data/poll.h-data: Fix typo in poll prototype.
6941 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
6943 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
6945 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
6947 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
6949 * conform/conformtest.pl: Implement optional-type.
6951 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
6952 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
6953 defining uint32_t here. Define IPPORT_RESERVED.
6954 (struct hostent): Type of h_length element is int.
6955 (getnameinfo): Type of flags parameter is unsigned int.
6956 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
6957 * conform/data/netdb.h-data: Add many missing definitions.
6959 * conform/conformtest.pl: Implement optional-macro.
6960 * conform/data/math.h-data: Update for XPG6.
6962 * math/math.h (HUGE): Define as FLT_MAX value but don't use
6963 FLT_MAX. Don't include <float.h>.
6964 (MAXFLOAT): Likewise.
6966 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
6968 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
6970 * conform/data/limits.h-data: Mark constants as optional wherever
6973 * posix/bits/posix2_lim.h: Set correct values for
6974 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
6977 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
6980 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
6982 * conform/data/netinet/in.h-data: Add reserved prefixes.
6984 * conform/data/arpa/inet.h-data: Fix a few typos.
6986 2001-01-26 Andreas Jaeger <aj@suse.de>
6988 * sysdeps/generic/strtol.c: Include <locale.h>
6989 * stdlib/strtod.c: Likewise
6990 * stdlib/strfmon.c: Likewise.
6991 * string/strcoll.c: Likewise.
6992 * string/strxfrm.c: Likewise.
6993 * wctype/wcfuncs_l.c: Likewise.
6994 * wctype/wctype_l.c: Likewise.
6995 * wctype/wctrans_l.c: Likewise.
6997 * include/bits/locale.h: New file.
6999 2001-01-26 Ulrich Drepper <drepper@redhat.com>
7001 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
7004 * locale/Makefile (headers): Add bits/locale.h.
7005 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
7006 and use __LC_ constants instead of LC_.
7007 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
7008 using __LC_ constants.
7009 * locale/bits/locale.h: New file.
7010 * locale/loadlocale.c: Include <locale.h>.
7011 * locale/nl_langinfo.h: Likewise.
7013 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
7015 * io/sys/stat.h: Define S_IFSOCK for XPG6.
7017 * conform/data/fcntl.h-data: posix_madvise is not expected here.
7019 * conform/conformtest.pl: Fix handling of macro-str.
7021 * conform/data/inttypes.h-data: Add missing definition and all of
7024 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
7026 2001-01-25 Ulrich Drepper <drepper@redhat.com>
7028 * conform/conformtest.pl (@headers): Add stdint.h.
7029 * conform/data/stdint.h-data: New file.
7031 * conform/conformtest.pl: Recognize options --headers and
7032 --dialect. Add dialect-specific CFLAGS.
7034 * conform/conformtest.pl: Implement handling of recursive
7037 * conform/data/locale.h-data: Add new struct lconv members.
7039 * posix/wordexp.h: Correct definition of wordexp_t.
7040 * posix/wordexp.c: Moved to ...
7041 * sysdeps/generic/wordexp.c: ...here. New file.
7042 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
7043 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
7044 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
7045 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
7047 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
7048 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
7050 * math/tgmath.h: Pretty printing.
7052 * math/Makefile (tests): Add test-tgmath.
7053 (CFLAGS-test-tgmath.c): New variable.
7054 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
7056 * conform/conformtest.pl: Handle allow-header in secondary headers
7059 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
7062 * conform/data/netinet/in.h-data: Use correct comment character.
7063 * conform/data/sys/stat.h-data: Likewise.
7065 2001-01-25 Jakub Jelinek <jakub@redhat.com>
7067 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
7068 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
7069 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
7070 __builtin_classify_type, add ##f suffixes where appropriate.
7071 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
7072 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
7073 __builtin_classify_type.
7074 (fma): Fix spelling of first argument.
7076 2001-01-25 Ulrich Drepper <drepper@redhat.com>
7078 * conform/data/unistd.h-data: Mark functions removed in XPG6
7081 * posix/unistd.h: Don't make functions removed in XPG6 available if
7084 * conform/conformtest.pl: Implement optional-constant.
7085 * conform/data/unistd.h-data: Use optional-constant wherever
7088 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
7089 constants and add _SC_STREAMS.
7090 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7092 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
7093 make old name weak alias.
7094 * sysdeps/generic/statvfs64.c: Likewise.
7095 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
7096 make old name weak alias.
7097 * sysdeps/generic/fstatvfs64.c: Likewise.
7098 * include/sys/statvfs.h: New file.
7100 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
7101 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
7103 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
7104 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
7105 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
7106 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
7108 * conform/conformtest.pl: Run Unix tests for XPG6.
7109 Implement handling of known namespace violations.
7110 Improve printing of results.
7112 * posix/unistd.h (usleep): Correct return type.
7113 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
7114 * sysdeps/unix/bsd/usleep.c: Correct return type.
7115 * sysdeps/mach/usleep.c: Correct return type.
7116 * sysdeps/generic/usleep.c: Correct return type.
7118 * posix/unistd.h (sync): Correct return type.
7119 * sysdeps/generic/sync.c: Likewise.
7120 * sysdeps/mach/hurd/sync.c: Likewise.
7122 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
7124 * posix/unistd.h: Make seteuid and setegid available for XPG6.
7126 * wcsmbs/wchar.h: Get FILE definition for XPG5.
7128 * conform/data/ctype.h-data: Use correct comment form.
7129 * conform/data/errno.h-data: Likewise.
7130 * conform/data/math.h-data: Likewise.
7131 * conform/data/mqueue.h-data: Likewise.
7132 * conform/data/netdb.h-data: Likewise.
7133 * conform/data/pthread.h-data: Likewise.
7135 2001-01-24 Ulrich Drepper <drepper@redhat.com>
7137 * conform/data/wordexp.h-data: Fix typo.
7139 * conform/conformtest.pl: Handle allow-header correctly.
7141 * conform/data/time.h-data: Use correct comment form.
7143 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
7145 * configure.in: Comment out binutils version test.
7147 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
7149 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
7151 * stdlib/tst-strtod.c (locale_test): New function.
7152 (main): Call locale_test.
7153 * stdlib/Makefile (tst-strtod-ENV): New variable.
7155 2001-01-24 Mark Kettenis <kettenis@gnu.org>
7157 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
7158 declaration of value such that we actually return the value of the
7159 environment variable.
7161 2001-01-24 Andreas Jaeger <aj@suse.de>
7163 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
7165 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7167 * include/sys/sysctl.h: New file.
7169 2001-01-23 Andreas Jaeger <aj@suse.de>
7171 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
7174 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
7175 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
7176 closes PR libc/2039.
7178 * manual/install.texi (Tools for Compilation): Change required
7181 2001-01-22 Andreas Jaeger <aj@suse.de>
7183 * configure.in: Add test for new enough binutils version, move
7184 compiler/binutils test up.
7186 * Versions.def: Add version GLIBC_2.2.2.
7188 2001-01-21 Ulrich Drepper <drepper@redhat.com>
7190 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
7192 * iconvdata/testdata/IBM932: New file.
7193 * iconvdata/testdata/IBM932..UTF8: New file.
7194 * iconvdata/testdata/IBM943: New file.
7195 * iconvdata/testdata/IBM943..UTF8: New file.
7196 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
7198 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7200 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
7202 2001-01-21 Ulrich Drepper <drepper@redhat.com>
7204 * malloc/malloc.c: Remove a few unnecessary initializers of global
7207 2000-12-09 H.J. Lu <hjl@gnu.org>
7209 * nss/Makefile (routines): Add digits_dots.
7210 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
7211 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
7213 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
7215 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
7216 (TYPE_VAR_P): Likewise.
7217 (FLAGS_VAR): Likewise.
7218 (AF_VAR_P): Likewise.
7219 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
7220 instead of including digits_dots.c.
7221 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
7222 (TYPE_VAR_P): Likewise.
7223 (FLAGS_VAR): Likewise.
7224 (AF_VAR_P): Likewise.
7225 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
7226 instead of including digits_dots.c.
7228 2001-01-21 Ulrich Drepper <drepper@redhat.com>
7230 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
7232 2001-01-21 Andreas Jaeger <aj@suse.de>
7234 * elf/constload2.c: Add prototype for init.
7236 2001-01-21 Ulrich Drepper <drepper@redhat.com>
7238 * stdlib/stdlib.h (drand48_data): Make available only for
7239 __USE_MISC. Rename elements to protect namespace. Change type
7240 and position of a and init element.
7241 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
7242 differently. Adjust for drand48_data change. Don't compute a here,
7243 it comes from drand48_data.
7244 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
7245 differently. Adjust for drand48_data change. Compute a here.
7246 * stdlib/srand48_r.c: Likewise.
7247 * stdlib/drand48.c: Adjust for drand48_data change.
7248 * stdlib/lrand48.c: Likewise.
7249 * stdlib/mrand48.c: Likewise.
7250 * stdlib/seek48.c: Likewise.
7251 * stdlib/drand48_r.c: Likewise.
7252 * stdlib/lrand48_r.c: Likewise.
7253 * stdlib/mrand48_r.c: Likewise.
7254 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
7256 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
7257 * stdlib/jrand48_r.c: Likewise.
7259 * po/sv.po: Update from translation team.
7261 2001-01-21 Andreas Jaeger <aj@suse.de>
7263 * stdio-common/vfprintf.c (vfprintf): Add casts.
7265 2001-01-20 Ulrich Drepper <drepper@redhat.com>
7267 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
7269 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
7271 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
7272 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
7273 * iconvdata/ibm932.c: New file.
7274 * iconvdata/ibm932.h: New file.
7275 * iconvdata/ibm943.c: New file.
7276 * iconvdata/ibm943.h: New file.
7277 Patches by Masahide Washizawa <washi@jp.ibm.com>.
7279 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
7280 preventing optimization from being done. Set the correct type bit
7281 in seen. Don't define and use _dl_base_addr unless
7282 NEED_DL_BASE_ADDR is defined.
7284 * io/ftw.c (ftw_dir): Add slash after directory name if there
7285 wasn't any. Reported by loris <loris@iol.it>.
7286 * io/Makefile (tests): Add bug-ftw2.
7287 * io/bug-ftw2.c: New file.
7289 2001-01-19 Ulrich Drepper <drepper@redhat.com>
7291 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
7292 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
7293 * stdlib/tst-rand48.c: New file.
7294 * stdlib/Makefile (tests): Add tst-rand48.
7296 * locale/newlocale.c (__newlocale): Fix test for setting all
7299 2001-01-19 Mark Kettenis <kettenis@gnu.org>
7301 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
7302 but change looking up the initial directory port in a similar way
7303 as done by _hurd_change_directory_port_from_name.
7304 * hurd/fchroot.c (fchroot): Likewise.
7306 2001-01-18 Ulrich Drepper <drepper@redhat.com>
7308 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
7309 defined don't look whether the AT_*ID values were set.
7310 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
7311 (_dl_show_auxv): Rewrite to avoid switch statement.
7312 * sysdeps/unix/sysv/linux/kernel-features.h: Define
7313 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
7314 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
7315 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
7317 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
7318 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
7319 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
7321 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
7323 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
7324 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
7326 * dlfcn/eval.c (__strtol_internal): Define here.
7327 (eval): Use __strtol_internal instead of strtol.
7329 * elf/elf.h: Add a few more EF_MIPS_* constants.
7331 2001-01-17 Ulrich Drepper <drepper@redhat.com>
7333 * manual/Makefile (chapters): Add debug.
7334 * manual/debug.texi: New file.
7335 * manual/examples/execinfo.c: New file.
7336 Patch by suckfish@ihug.co.nz.
7338 2001-01-17 Andreas Schwab <schwab@suse.de>
7340 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
7343 2001-01-17 Andreas Jaeger <aj@suse.de>
7345 * nscd/connections.c (nscd_run): Use proper format specifier.
7347 2001-01-16 Ulrich Drepper <drepper@redhat.com>
7349 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
7350 x86_platforms data into new file after prepending _dl_. Change
7352 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
7353 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
7354 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
7357 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
7359 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
7360 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
7361 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
7362 (_setjmp): Likewise.
7363 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
7364 * sysdeps/i386/bsd-setjmp.S: Real implementation.
7365 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
7366 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
7369 2001-01-16 Andreas Jaeger <aj@suse.de>
7371 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
7372 misapplied last patch.
7374 2001-01-15 Ulrich Drepper <drepper@redhat.com>
7376 * stdlib/random.c (__initstate): Clean up a cast.
7377 (__setstate): Likewise.
7379 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
7380 syscall handling. The generic Linux version should work.
7382 2001-01-15 Andreas Jaeger <aj@suse.de>
7384 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
7386 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
7388 2001-01-14 Jakub Jelinek <jakub@redhat.com>
7390 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
7391 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
7393 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
7394 If number is 0, list all.
7395 (services_keys): Likewise. Lookup aliases as well.
7396 (databases): New table.
7397 (build_doc): Prepare argp doc text with list of supported databases.
7398 (main): Change to table driven processing.
7400 2001-01-14 Thorsten Kukuk <kukuk@suse.de>
7402 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
7405 2001-01-03 Jakub Jelinek <jakub@redhat.com>
7407 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
7408 encode value which does not fit in the 32bit type.
7410 2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
7412 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
7413 Change type of CTX to (struct sigcontext *).
7414 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
7415 (GET_FRAME): Likewise.
7416 (GET_STACK): Likewise.
7417 (SIGCONTEXT): Likewise. Add 2nd arg _code.
7418 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
7420 2001-01-13 Ulrich Drepper <drepper@redhat.com>
7422 * manual/texinfo.tex: Update from upstream version.
7424 2001-01-13 Jakub Jelinek <jakub@redhat.com>
7426 * inet/ether_ntoh.c (lookup_function): Change arguments to match
7427 _nss_*_getntohost_r prototype.
7428 (ether_ntohost): Pass errno pointer to NSS function.
7430 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7432 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
7433 (MAP_LOCKED): New definition.
7434 (MAP_NORESERVE): New definition.
7436 2001-01-12 Ulrich Drepper <drepper@redhat.com>
7438 * assert/assert.h: Use static_cast instead of C-style cast for C++.
7439 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
7441 2001-01-12 Ben Collins <bcollins@debian.org>
7443 * sysdeps/generic/segfault.c (install_handler): Use access, not
7446 2001-01-12 Andreas Jaeger <aj@suse.de>
7448 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
7449 * posix/wordexp.c (do_parse_glob): Likewise.
7450 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
7451 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
7452 * elf/dl-open.c (_dl_open): Likewise.
7453 * elf/dl-close.c (_dl_close): Likewise.
7454 * elf/dl-load.c (_dl_map_object): Likewise.
7455 * iconv/iconv_prog.c (process_fd): Likewise.
7456 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
7458 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
7459 of a zero-length array.
7461 2001-01-11 Jakub Jelinek <jakub@redhat.com>
7463 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
7464 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
7465 * stdlib/cxa_on_exit.c: Remove.
7466 * stdlib/Makefile: Revert last patch.
7467 * stdlib/Versions: Likewise.
7468 * include/stdlib.h: Likewise.
7469 * stdlib/exit.h: Revert last patch.
7470 (struct exit_function): Add second argument to cxa fn.
7471 * stdlib/exit.c: Revert last patch.
7472 (exit): Add hidden second argument.
7474 2001-01-11 H.J. Lu <hjl@gnu.org>
7476 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
7477 * elf/dl-open.c (_dl_open): Here.
7478 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
7480 (_dl_static_init): Initialize the variables every time when possible.
7481 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
7484 2001-01-11 Ulrich Drepper <drepper@redhat.com>
7486 * stdlib/Makefile (routines): Add cxa_on_exit.
7487 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
7488 * stdlib/cxa_on_exit.c: New file.
7489 * include/stdlib.h: Add prototype for __cxa_on_exit.
7490 * stdlib/exit.c: Handle ef_cxa2.
7491 * stdlib/exit.h (enum): Add ef_cxa2.
7492 (struct exit_function): Add cxa2.
7494 * Versions.def [ld]: Add GLIBC_2.2.1.
7496 2001-01-10 H.J. Lu <hjl@gnu.org>
7498 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
7499 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
7501 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
7502 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
7503 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
7504 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
7505 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
7507 2001-01-11 Ulrich Drepper <drepper@redhat.com>
7509 * libio/stdio.h: Remove definition of off_t.
7511 2001-01-11 Andreas Jaeger <aj@suse.de>
7513 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
7516 2001-01-10 Ulrich Drepper <drepper@redhat.com>
7518 * sunrpc/Makefile (distribute): Add errqueue.h.
7520 2001-01-10 H.J. Lu <hjl@gnu.org>
7522 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
7523 r9, r10 and r11 for language specific registers.
7525 2001-01-10 Jakub Jelinek <jakub@redhat.com>
7527 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
7529 (clntudp_call): Handle MSG_ERRQUEUE.
7530 * sysdeps/generic/errqueue.h: New file.
7531 * sysdeps/unix/sysv/linux/errqueue.h: New file.
7533 2001-01-10 H.J. Lu <hjl@gnu.org>
7535 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
7537 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
7539 * CONFORMANCE: Update.
7541 2001-01-09 Ulrich Drepper <drepper@redhat.com>
7543 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
7544 Minimal cleanups. Add assert to ensure memory handling is correct.
7546 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
7547 Reported by Ben Collins <bcollins@debian.org>.
7549 * time/strftime.c (my_strftime): Mark previous GNU extensions
7550 which are now in C99 as such.
7552 2001-01-08 Ulrich Drepper <drepper@redhat.com>
7554 * elf/rtld.c (process_envvars): Place output files for profiling
7555 in SUID binaries in /var/profile.
7557 * elf/dl-load.c (_dl_map_object): Don't look in cache for
7558 preloading in SUID binaries.
7560 * elf/dl-profile.c (_dl_start_profile): Open the output file with
7561 O_NOFOLLOW if possible.
7563 * include/stdlib.h: Add __posix_openpt declaration.
7564 * stdlib/stdlib.h: Add posix_openpt declaration.
7565 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
7566 * sysdeps/generic/getpt.c: Define posix_openpt.
7567 * sysdeps/unix/bsd/getpt.c: Likewise.
7568 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
7570 * time/Makefile (tests): Add tst-mktime.
7571 * time/tst-mktime.c: New file.
7573 * posix/tst-dir.c (main): One more mkdir() test.
7575 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
7576 Remove getpagesize syscall. We assume that the pagesize is always
7577 determined from the auxiliary vector.
7579 * intl/dcigettext.c: Fix a few warnings.
7580 Patch by Bruno Haible <haible@ilog.fr>.
7582 2001-01-08 Andreas Jaeger <aj@suse.de>
7584 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
7585 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
7587 2001-01-08 Ulrich Drepper <drepper@redhat.com>
7589 * sysdeps/generic/segfault.c (install_handler): Check output file
7592 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
7593 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
7595 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
7597 * malloc/memusage.c (me): Use access() to determine whether we
7598 should write the output file or not.
7600 * libio/bits/stdio.h (printf): Define macro to map printf call to
7601 fprintf which gcc can optimize.
7602 * stdio-common/printf.c: Undefine printf.
7604 2001-01-07 Ulrich Drepper <drepper@redhat.com>
7606 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
7607 patch. We must use unsigned int for l member of union.
7609 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
7610 _dl_aux_init for shared libraries.
7612 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
7613 * sysdeps/gnu/glob64.c: ...here. New file.
7615 2001-01-07 Ben Collins <bcollins@debian.org>
7617 * manual/examples/longopt.c: Make the "struct option" a little
7618 more like it should be, adding usage of required_argument,
7619 noargument and such, and also setting the options string right.
7621 * manual/sysinfo.texi (Load Average): New section, documents
7624 2001-01-06 Ulrich Drepper <drepper@redhat.com>
7626 * version.h (VERSION): Bump to 2.2.1.
7628 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
7629 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
7630 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
7631 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
7632 * Makefile (distribute): Add include/libc-internal.h.
7633 * libio/Makefile (distribute): Avoid overwriting.
7635 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
7636 buffer and table handling.
7638 2001-01-05 H.J. Lu <hjl@gnu.org>
7640 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
7641 vector checking to ...
7642 (_dl_aux_init): Here. New function. Defined only if
7643 HAVE_AUX_VECTOR is defined.
7645 * sysdeps/generic/libc-start.c (__libc_start_main): Call
7646 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
7648 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
7651 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
7652 (HAVE_AUX_VECTOR): Defined.
7653 (_dl_aux_init): Declared.
7655 2001-01-05 Ben Collins <bcollins@debian.org>
7657 * manual/string.texi (Finding Tokens in a String): Document XPG
7658 basename() and dirname(), as well as GNU basename().
7660 2001-01-05 Jakub Jelinek <jakub@redhat.com>
7662 * Makeconfig (preprocess-version): Replace -traditional with
7663 -x assembler-with-cpp.
7665 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
7667 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
7668 for GCC 2.97 or later.
7670 2001-01-05 Ben Collins <bcollins@debian.org>
7672 * manual/stdio.texi (getline): Clarify the return value in the
7673 case of EOF being reached before a newline.
7675 2001-01-04 Jakub Jelinek <jakub@redhat.com>
7677 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
7679 (pmap_set, pmap_unset): Check __get_myaddress return value.
7681 2001-01-05 Mark Kettenis <kettenis@gnu.org>
7683 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
7684 (struct ether_addr): Declare ether_addr_octet member as
7685 `u_int8_t'. Add __attribute__ ((__packed__)).
7687 2001-01-06 Mark Kettenis <kettenis@gnu.org>
7689 * sysdeps/mach/hurd/readdir64.c: New file.
7690 * sysdeps/mach/hurd/readdir64_r.c: New file.
7692 2001-01-07 Mark Kettenis <kettenis@gnu.org>
7694 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
7695 `struct statfs' and `struct statvfs' being identical.
7696 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
7698 2001-01-06 Mark Kettenis <kettenis@gnu.org>
7700 * sysdeps/mach/hurd/fstatfs64.c: New file.
7701 * sysdeps/mach/hurd/fstatvfs64.c: New file.
7702 * sysdeps/mach/hurd/statfs64.c: New file.
7703 * sysdeps/mach/hurd/statvfs64.c: New file.
7704 * sysdeps/mach/hurd/statfsconv.c: New file.
7705 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
7707 2001-01-06 Ulrich Drepper <drepper@redhat.com>
7709 * iconv/skeleton.c: Reset outbuf for next round of the loop.
7710 Reported by Owen Taylor <otaylor@redhat.com>.
7711 * iconv/Makefile (tests): Add tst-iconv3.
7712 * iconv/tst-iconv3.c: New file.
7714 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
7715 * iconvdata/ibm933.c: Likewise.
7716 * iconvdata/ibm935.c: Likewise.
7717 * iconvdata/ibm937.c: Likewise.
7718 * iconvdata/ibm939.c: Likewise.
7719 * iconvdata/ibm930.h: Adjust single byte table for optimization.
7720 * iconvdata/ibm933.h: Likewise.
7721 * iconvdata/ibm935.h: Likewise.
7722 * iconvdata/ibm939.h: Likewise.
7724 * iconvdata/testdata/IBM930: Add misssing SI.
7725 * iconvdata/testdata/IBM933: Likewise.
7726 * iconvdata/testdata/IBM935: Likewise.
7727 * iconvdata/testdata/IBM937: Likewise.
7728 * iconvdata/testdata/IBM939: Likewise.
7730 2001-01-06 Andreas Jaeger <aj@suse.de>
7732 * configure.in: Check for old add-ons that shouldn't be used with
7733 current glibc anymore.
7735 2001-01-06 Mark Kettenis <kettenis@gnu.org>
7737 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
7738 instead of -1 on failure. Don't forget to copy file name into
7739 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
7742 2001-01-06 Mark Kettenis <kettenis@gnu.org>
7744 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
7745 copy st_atime member.
7747 2001-01-05 Ulrich Drepper <drepper@redhat.com>
7749 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
7750 for searches from the root directory.
7751 Reported by loris <loris@iol.it> [PR libc/1991].
7752 * io/Makefile (tests): Add bug-ftw1.
7753 * io/bug-ftw1.c: New file.
7755 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
7756 if it is not available. Instead use it only if it is available.
7757 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
7759 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
7760 overflowing output buffer.
7761 (internal_ucs4_loop_unaligned): Likewise.
7762 (ucs4_internal_loop): Likewise.
7763 (ucs4_internal_loop_unaligned): Likewise.
7764 (internal_ucs4le_loop): Likewise.
7765 (internal_ucs4le_loop_unaligned): Likewise.
7766 (ucs4le_internal_loop): Likewise.
7767 (ucs4le_internal_loop_unaligned): Likewise.
7768 Reported by Owen Taylor <otaylor@redhat.com>.
7769 * iconv/Makefile (tests): Add tst-iconv2.
7770 * iconv/tst-iconv2.c: New file.
7772 2001-01-04 H.J. Lu <hjl@gnu.org>
7774 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
7775 (_dl_clktck): Declared.
7776 (non_dynamic_init): Take 3 arguments.
7777 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
7779 2001-01-01 Bruno Haible <haible@clisp.cons.org>
7781 Finish implementation of plural form handling.
7782 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
7783 'domainname'. Remove 'plindex' field. Add 'domain' and
7784 'translation_length' fields.
7785 (transcmp): Don't compare 'plindex' fields.
7786 (plural_lookup): New function.
7787 (DCIGETTEXT): Change cache handing in the plural case. Don't call
7788 plural_eval before the translation and its catalog file have been
7789 found. Remove plindex from cache key. Add 'translation_length' and
7790 'domain' to cache result.
7791 (_nl_find_msg): Remove index argument, return length of translation
7792 to the caller instead. Weaken comparison of string lengths, to account
7793 for plural entries. Call iconv() on the entire result string, not
7794 only on the portion needed so far.
7795 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
7797 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
7799 2001-01-04 Ulrich Drepper <drepper@redhat.com>
7801 * intl/plural.y (yylex): Minimal improvement in number scanner.
7803 2000-07-31 Bruno Haible <haible@clisp.cons.org>
7805 * intl/plural.y: Include config.h. Needed to define 'inline' away for
7806 C compilers that don't support it.
7807 (yylex): Don't use gcc specific case range syntax.
7808 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
7811 2000-10-12 Bruno Haible <haible@clisp.cons.org>
7813 * intl/finddomain.c: Remove unneeded includes.
7815 2000-10-12 Bruno Haible <haible@clisp.cons.org>
7817 * intl/localealias.c (memcpy): Return first argument, just like the
7818 real memcpy function does.
7819 * intl/bindtextdom.c (memcpy): Likewise.
7820 * intl/finddomain.c (memcpy): Likewise.
7821 * intl/l10nflist.c (memcpy): Likewise.
7822 * intl/textdomain.c (memcpy): Likewise.
7823 From Paul Eggert <eggert@twinsun.com>.
7825 2001-01-03 Jakub Jelinek <jakub@redhat.com>
7827 * resolv/resolv.h (struct __res_state): Add nsinit field.
7828 * resolv/res_send.c (res_nsend): Use it instead of nscount.
7829 * resolv/res_init.c (__res_vinit): Initialize it.
7830 (res_nclose): Clear it instead of nscount.
7832 2001-01-04 Ulrich Drepper <drepper@redhat.com>
7834 * malloc/mtrace.pl: Fix matching of addresses.
7835 Patch by Aharon Robbins <arnold@skeeve.com>.
7837 * Versions.def (ld): Add GLIBC_2.2.
7839 * catgets/gencat.c: Copyright 2001.
7840 * csu/version.c: Likewise.
7841 * debug/catchsegv.sh: Likewise.
7842 * debug/xtrace.sh: Likewise.
7843 * elf/ldconfig.c: Likewise.
7844 * elf/sprof.c: Likewise.
7845 * iconv/iconv_prog.c: Likewise.
7846 * locale/locale.c: Likewise.
7847 * locale/localedef.c: Likewise.
7848 * malloc/memusage.sh: Likewise.
7849 * malloc/mtrace.pl: Likewise.
7850 * nscd/nscd.c: Likewise.
7851 * posix/getconf.c: Likewise.
7853 2001-01-04 Mark Kettenis <kettenis@gnu.org>
7855 * include/stdio.h: Only provide __getwc_unlocked prototype if
7856 USE_IN_LIBIO is defined.
7858 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7860 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
7863 2001-01-03 Andreas Schwab <schwab@suse.de>
7865 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
7866 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
7868 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
7869 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
7871 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
7872 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
7875 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
7877 * sysdeps/generic/strtol_l.c: Likewise.
7878 * sysdeps/generic/strtoul_l.c: Likewise.
7879 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
7881 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
7882 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
7883 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
7884 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
7886 2001-01-04 Andreas Jaeger <aj@suse.de>
7888 * nss/nsswitch.c: Include files for missing prototypes, remove
7889 buggy declaration of prototypes.
7891 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7893 * resolv/Versions: Fix bracing.
7894 * sysdeps/powerpc/soft-fp/Versions: Likewise.
7895 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
7897 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7899 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
7901 2001-01-02 Ulrich Drepper <drepper@redhat.com>
7903 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
7904 Suggested by Minko Markov <mmarkov@home.com>.
7906 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7908 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
7909 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
7911 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
7913 2001-01-02 Ben Collins <bcollins@debian.org>
7915 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
7916 if TZ is not set and TZDEFAULT is not present.
7918 2001-01-01 Ben Collins <bcollins@debian.org>
7920 * string/strings.h: Make sure we declare our functions even if
7921 string.h is already included, based on whether or not __USE_BSD is
7924 2001-01-02 Ulrich Drepper <drepper@redhat.com>
7926 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
7927 other dlopen() and dlsym().
7928 Based on a patch by Ben Collins <bcollins@debian.org>.
7930 2001-01-02 Andreas Jaeger <aj@suse.de>
7932 * dlfcn/errmsg1.c (main): Call dlerror initially.
7933 Reported by Ben Collins <bcollins@debian.org>.
7935 2001-01-02 Ulrich Drepper <drepper@redhat.com>
7937 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
7938 value is ignored if the selected locale is the C locale.
7939 * intl/tst-gettext.c: Set locale for above change.
7940 * intl/tst-translit.c: Likewise.
7942 2001-01-02 Andreas Jaeger <aj@suse.de>
7944 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
7945 (_IO_switch_to_wget_mode): Likewise.
7946 (_IO_sputbackwc): Likewise.
7947 (_IO_sungetwc): Use wint_t for result.
7949 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
7951 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
7954 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
7955 to (int) to avoid warnings.
7956 * stdio-common/printf_fp.c (putc): Likewise.
7957 * stdio-common/printf_size.c (putc): Likewise.
7959 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
7962 2001-01-01 Andreas Jaeger <aj@suse.de>
7964 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
7966 2000-12-31 Andreas Jaeger <aj@suse.de>
7968 * include/libc-internal.h: Add prototype for __libc_freeres.
7970 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
7971 for prototypes, remove redundant prototypes.
7972 * gmon/gmon.c: Likewise.
7973 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
7974 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
7975 * malloc/mtrace.c: Likewise.
7977 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
7979 * elf/soinit.c: Likewise.
7980 * sysdeps/generic/prof-freq.c: Likewise.
7981 * sysdeps/mach/hurd/profil.c: Likewise.
7982 * debug/noophooks.c: Likewise.
7983 * debug/pcprofile.c: Likewise.
7984 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
7985 * sysdeps/generic/get_clockfreq.c: Likewise.
7986 * malloc/set-freeres.c: Likewise.
7988 * locale/localeinfo.h: Add internal prototypes.
7990 * elf/rtld.c (dl_main): Fix prototype.
7992 * iconvdata/tst-table-to.c (main): Use return instead of exit to
7995 * nis/rpcsvc/yp_prot.h: Remove __P.
7996 * nis/rpcsvc/ypupd.h: Likewise.
7997 * nis/rpcsvc/yp.h: Likewise.
7999 * sunrpc/rpc_main.c: Add noreturn attributes.
8000 * sunrpc/rpc_scan.h: Likewise.
8002 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
8004 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
8006 * sunrpc/proto.h: Add noreturn attributes to error and crash.
8008 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
8010 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
8012 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
8014 * include/rpc/rpc_msg.h: Add prototypes for some functions.
8015 * include/rpc/auth.h: Likewise.
8016 * include/rpc/auth_des.h: Likewise.
8017 * include/rpc/clnt.h: Likewise.
8018 * include/rpc/rpc.h: Likewise.
8019 * include/rpc/svc.h: Likewise.
8020 * include/rpc/svc_auth.h: Likewise.
8022 * include/rpc/des_crypt.h: New file.
8024 * malloc/memusagestat.c (main): Use return instead of exit to
8026 * io/pwd.c (main): Likewise.
8027 * iconvdata/tst-table-from.c (main): Likewise.
8028 * ctype/test_ctype.c (main): Likewise.
8029 * setjmp/tst-setjmp.c (main): Likewise.
8030 * signal/tst-signal.c (main): Likewise.
8031 * stdlib/tst-strtol.c (main): Likewise.
8032 * stdlib/tst-strtod.c (main): Likewise.
8033 * stdlib/tst-strtoll.c (main): Likewise.
8034 * stdlib/tst-xpg-basename.c (main): Likewise.
8035 * dirent/tst-seekdir.c (main): Likewise.
8036 * grp/testgrp.c (main): Likewise.
8037 * inet/test_ifindex.c (main): Likewise.
8038 * io/test-utime.c (main): Likewise.
8039 * posix/test-vfork.c (main): Likewise.
8040 * posix/testfnm.c (main): Likewise.
8041 * stdio-common/temptest.c (main): Likewise.
8042 * stdio-common/test_rdwr.c (main): Likewise.
8043 * stdio-common/tst-fileno.c (main): Likewise.
8044 * stdio-common/tst-sscanf.c (main): Likewise.
8045 * stdio-common/tstscanf.c (main): Likewise.
8046 * string/bug-strncat1.c (main): Likewise.
8047 * string/bug-strpbrk1.c (main): Likewise.
8048 * string/bug-strspn1.c (main): Likewise.
8049 * string/test-ffs.c (main): Likewise.
8050 * string/tst-inlcall.c (main): Likewise.
8051 * string/tst-svc.c (main): Likewise.
8052 * timezone/test-tz.c (main): Likewise.
8053 * wctype/test_wcfuncs.c (main): Likewise.
8054 * wctype/test_wctype.c (main): Likewise.
8056 * stdlib/tst-random.c: Add attribute noreturn to fail.
8058 2000-12-28 Wolfram Gloger <wg@malloc.de>
8060 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
8061 destination overlap. Assume dest is always below source if
8064 2000-12-30 Ulrich Drepper <drepper@redhat.com>
8066 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
8067 object was not yet initialized.
8069 2000-12-28 H.J. Lu <hjl@gnu.org>
8071 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
8072 is always consistent even if its dependency is failed.
8074 * elf/dl-open.c (_dl_open): Increment the open count before
8075 calling _dl_close () in case of failure.
8077 * elf/neededtest4.c: New file.
8078 * elf/neededobj5.c: New file.
8079 * elf/neededobj6.c: New file.
8081 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
8082 (tests): Add neededtest4.
8083 (modules-names): Add neededobj5 and neededobj6.
8084 ($(objpfx)neededobj6.so): New target.
8085 ($(objpfx)neededtest4): New target.
8086 ($(objpfx)neededtest4.out): New target.
8088 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
8090 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
8091 * stdlib/monetary.h: Add strfmon format attributes.
8093 2000-12-28 Roland McGrath <roland@frob.com>
8095 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
8096 __mempcpy does it for us.
8098 2000-12-28 Andreas Jaeger <aj@suse.de>
8100 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
8102 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
8105 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
8108 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
8111 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
8112 __chown_is_lchown and __real_chown.
8114 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
8117 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
8118 up GCC's warning about "deprecated use of label at end of compound
8120 * sunrpc/rpc_cout.c (emit_inline): Likewise.
8122 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
8124 Remove struct bb and __bb_head since those are declared by
8127 2000-12-22 Ben Collins <bcollins@debian.org>
8129 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
8131 * manual/argp.texi: Document argp_domain as part of struct argp.
8133 2000-12-28 Andreas Jaeger <aj@suse.de>
8135 * catgets/Makefile (generated): Add sample.SJIS.cat.
8137 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
8139 * elf/dl-minimal.c: Add prototypes.
8141 * include/locale.h: Add internal prototypes.
8142 * include/sys/gmon.h: Likewise.
8144 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
8146 2000-12-27 Ben Collins <bcollins@debian.org>
8148 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
8149 when reallocating the error strings.
8150 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
8152 2000-12-27 Ulrich Drepper <drepper@redhat.com>
8154 * dlfcn/Makefile (tests): Add errmsg1.
8155 (modules-names): Add errmsg1mod.
8156 Add rules to run errmsg1.
8157 * dlfcn/errmsg1.c: New file.
8158 * dlfcn/errmsg1mod.c: New file.
8160 * dlfcn/dlerror.c (dlerror): Always create output string which
8161 includes object file name.
8163 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
8164 if we would go through it only once.
8165 Patch by Rick Gorton <rick.gorton@api-networks.com>.
8167 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
8168 Patch by Richard Henderson <rth@redhat.com>.
8170 2000-12-27 Jakub Jelinek <jakub@redhat.com>
8172 * malloc/malloc.c (memmove): Add prototypes.
8173 (MALLOC_MEMMOVE): Define.
8174 (chunk_realloc): Use it instead of MALLOC_COPY if source and
8175 destination might overlap.
8177 2000-12-27 Andreas Jaeger <aj@suse.de>
8179 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
8181 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8182 * locale/programs/locale.c (show_locale_vars): Likewise.
8183 (show_info): Likewise.
8184 * locale/programs/ld-collate.c (collate_output): Likewise.
8185 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
8186 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8187 * stdlib/rpmatch.c (rpmatch): Likewise.
8189 * setjmp/tst-setjmp.c: Make local functions static.
8190 * setjmp/jmpbug.c: Likewise.
8191 * signal/tst-signal.c: Likewise.
8192 * stdio-common/tfformat.c: Likewise.
8193 * string/tst-svc.c: Likewise.
8194 * time/clocktest.c: Likewise.
8195 * time/tst-getdate.c: Likewise.
8196 * dirent/list.c: Likewise.
8197 * dirent/opendir-tst1.c: Likewise.
8198 * posix/runtests.c: Likewise.
8199 * posix/tst-getaddrinfo.c: Likewise.
8200 * posix/tst-chmod.c: Likewise.
8201 * posix/wordexp-test.c: Likewise.
8202 * misc/tst-efgcvt.c: Likewise.
8203 * timezone/tst-timezone.c: Likewise.
8204 * rt/tst-clock.c: Likewise.
8205 * rt/tst-shm.c: Likewise.
8206 * rt/tst-aio2.c: Likewise.
8207 * rt/tst-aio3.c: Likewise.
8208 * rt/tst-aio4.c: Likewise.
8209 * rt/tst-aio5.c: Likewise.
8211 * dlfcn/failtest.c: Add prototype for foo.
8213 * dlfcn/glrefmain.c: Add prototype for do_test.
8215 * dlfcn/tst-dladdr.c: Add prototype for do_test.
8217 * string/test-ffs.c (main): Add prototype for nested function.
8219 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
8221 * nss/XXX-lookup.c: Add prototype to shut up GCC.
8223 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
8224 setetherent prototype.
8225 Add internal interfaces.
8227 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
8228 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
8230 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
8232 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
8234 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
8235 prototypes, remove struct etherent since it's declared in ether.h.
8236 Fix ntohost declaration.
8238 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
8240 * include/getopt.h: Add internal interfaces.
8241 * include/termios.h: Likewise.
8242 * include/resolv.h: Likewise.
8243 * include/netdb.h: Likewise.
8244 * include/grp.h: Likewise.
8245 * include/pwd.h: Likewise.
8246 * include/shadow.h: Likewise.
8247 * include/rpc/netdb.h: Likewise.
8248 * include/setjmp.h: Likewise.
8250 * include/stdio.h: Add prototypes for compatibility functions.
8251 * include/grp.h: Likewise.
8252 * include/pwd.h: Likewise.
8253 * include/shadow.h: Likewise.
8255 * include/fenv.h: Define internal interfaces.
8257 2000-12-27 Ulrich Drepper <drepper@redhat.com>
8259 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
8260 argument case separately.
8261 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
8263 2000-12-27 Andreas Jaeger <aj@suse.de>
8265 * include/sys/wait.h: Add some prototypes.
8266 * Rules (dummy.c): Create also prototype to shut up GCC.
8268 2000-12-27 Andreas Jaeger <aj@suse.de>
8270 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
8271 it's not needed at the moment.
8272 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
8273 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
8275 2000-12-26 Andreas Jaeger <aj@suse.de>
8277 * libio/getc_u.c: Include stdio.h via system path to get internal
8279 * libio/getwc_u.c: Likewise.
8281 * stdlib/strfmon.c: Fix prototype of __printf_fp.
8283 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
8284 __printf_fp prototypes to ...
8285 * include/printf.h: ...here.
8287 * include/stdio.h: Add some internal prototypes to shut up GCC.
8288 * include/stdlib.h: Likewise.
8290 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
8293 * include/signal.h: Add prototypes for internal sigpause
8296 2000-12-26 Ulrich Drepper <drepper@redhat.com>
8298 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
8299 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
8301 * string/Makefile (tests): Add tst-bswap.
8302 * string/tst-bswap.c: New file.
8304 2000-12-11 Bruno Haible <haible@clisp.cons.org>
8306 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
8308 2000-12-26 Ulrich Drepper <drepper@redhat.com>
8310 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
8311 Patch by Ed Connell <Ed.Connell@sas.com>.
8313 2000-12-24 Ulrich Drepper <drepper@redhat.com>
8315 * locale/iso-639.def: Correct one entry. Add two missing entries.
8317 * locale/iso-4217.def: Change entry for Eritrea.
8318 Reported by Daniel Yacob <yacob@geez.org>.
8320 2000-12-23 Ben Collins <bcollins@debian.org>
8322 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
8325 * manual/stdio.texi (Dynamic Output): Document the return value of
8326 asprintf. Also make the asprintf/snprintf examples a little
8327 better (check for some error returns).
8329 2000-12-22 Andreas Jaeger <aj@suse.de>
8331 * include/stdio.h: Add __ftrylockfile prototype.
8333 2000-12-21 H.J. Lu <hjl@gnu.org>
8335 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
8336 Make sign_exponent element signed.
8338 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
8341 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
8343 2000-12-21 Andreas Jaeger <aj@suse.de>
8345 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
8346 * inet/ether_hton.c: Likewise
8347 * inet/ether_ntoh.c: Likewise.
8349 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
8350 declaration to match prototype.
8352 * include/netinet/ether.h (struct etherent): Declare here so that
8353 all implementations use the same struct.
8355 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
8357 (struct ether): Removed.
8358 Use struct etherent instead of ether everywhere.
8360 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
8362 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
8364 * sunrpc/publickey.c: Include auth_des.h for prototypes.
8366 2000-12-20 Ulrich Drepper <drepper@redhat.com>
8368 * math/test-misc.c: Add more tests for nextafter functions.
8370 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
8371 normal correctly. Correct test for sign.
8372 Based on a patch by HJ Lu.
8374 2000-12-19 Ulrich Drepper <drepper@redhat.com>
8376 * Makeconfig (preprocess-version): Add -traditional to gcc call.
8379 2000-12-19 Andreas Jaeger <aj@suse.de>
8381 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
8383 * nis/nis_intern.h: Add prototype for __do_niscall3.
8385 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
8388 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
8390 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
8392 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
8394 2000-12-18 Ulrich Drepper <drepper@redhat.com>
8396 * math/test-misc.c: Add more tests for nextafter.
8397 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
8398 * sysdeps/ieee754/ldbl-96/math_ldbl.h
8399 (ieee_long_double_shape_type): Make sign_exponent element signed.
8401 * manual/message.texi: Add Estonian to plural overview list.
8402 Correct rule for Slavic languages.
8403 Patch by Stanislav Brabec <utx@penguin.cz>.
8405 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
8407 2000-12-18 Andreas Jaeger <aj@suse.de>
8409 * test-skeleton.c: Use temp_name_list instead of name_list to
8410 avoid collision with name_list from inet/netgroup.h.
8412 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
8414 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
8415 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
8416 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
8417 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
8419 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
8420 declaration to match prototype.
8421 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
8422 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
8423 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
8425 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
8426 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
8427 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
8428 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
8429 (_nss_nis_getservbyport_r): Likewise.
8430 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
8431 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
8432 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
8433 (_nss_nis_setnetent): Likewise
8434 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8435 (_nss_nis_endnetgrent): Likewise.
8436 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
8438 (_nss_nisplus_setnetgrent): Likewise.
8439 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
8440 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
8441 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
8442 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
8444 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
8446 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
8448 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
8450 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
8451 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
8452 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
8453 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
8454 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
8455 (_nss_dns_getnetbyaddr_r): Likewise.
8457 2000-12-17 Andreas Jaeger <aj@suse.de>
8459 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
8462 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
8463 unused attribute to shut up gcc warnings.
8465 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
8466 * sysdeps/generic/k_tanl.c: Likewise.
8467 * sysdeps/generic/k_cosl.c: Likewise.
8468 * sysdeps/generic/e_j0l.c: Likewise.
8469 * sysdeps/generic/e_j1l.c: Likewise.
8470 * sysdeps/generic/e_jnl.c: Likewise.
8471 * sysdeps/generic/e_lgammal_r.c: Likewise.
8473 * elf/vismain.c: Move prototypes for functions in vismod*.c to
8475 * elf/vismod.h: New file.
8476 * elf/Makefile (distribute): Add vismod.h.
8477 * elf/vismod1.c: Include vismod.h.
8478 * elf/vismod2.c: Likewise.
8479 * elf/vismod3.c: Likewise.
8481 * elf/constload3.c: Add prototype declarations to shut up gcc.
8482 * elf/failobj.c: Likewise.
8483 * elf/nodelmod3.c: Likewise.
8484 * elf/filtmod1.c: Likewise.
8485 * elf/filtmod2.c: Likewise.
8486 * elf/reldepmod1.c: Likewise.
8487 * elf/reldepmod2.c: Likewise.
8488 * elf/reldepmod3.c: Likewise.
8489 * elf/reldepmod4.c: Likewise.
8490 * elf/unload2dep.c: Likewise.
8491 * elf/unload2mod.c: Likewise.
8492 * elf/ltglobmod1.c: Likewise.
8493 * elf/pathoptobj.c: Likewise.
8494 * elf/neededobj1.c: Likewise.
8495 * elf/neededobj2.c: Likewise.
8496 * elf/neededobj3.c: Likewise.
8497 * elf/neededobj4.c: Likewise.
8498 * elf/nextmod1.c: Likewise.
8499 * elf/nextmod2.c: Likewise.
8501 * locale/programs/ld-collate.c (collate_finish): Don't use labels
8502 at end of compound statement.
8503 * locale/programs/locale.c (show_info): Likewise.
8504 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
8506 2000-12-16 Jakub Jelinek <jakub@redhat.com>
8508 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
8509 with a pointer not returned by obstack_ functions.
8511 2000-12-16 Ulrich Drepper <drepper@redhat.com>
8513 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
8515 (struct stat64): Likewise.
8516 Reported by Michael Keezer <mkeezer@redhat.com>.
8518 * timezone/asia: Update from tzdata2000h.
8519 * timezone/australasia: Likewise.
8520 * timezone/backward: Likewise.
8521 * timezone/europe: Likewise.
8522 * timezone/northamerica: Likewise.
8523 * timezone/southamerica: Likewise.
8524 * timezone/zone.tab: Likewise.
8526 2000-12-14 Jakub Jelinek <jakub@redhat.com>
8528 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
8529 and dir.stream is NULL, only free dir.content.
8530 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
8531 * io/ftwtest-sh: Test with --early-exit.
8533 2000-12-13 Jakub Jelinek <jakub@redhat.com>
8535 * misc/efgcvt.c (FCVT_MAXDIG): Define.
8536 (FCVT_BUFPTR): New variable.
8537 (fcvt): If fcvt_r returns -1 on the static short buffer,
8538 try to malloc a sufficiently large one and retry.
8539 (free_mem): New function.
8540 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
8541 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
8543 2000-12-15 Ulrich Drepper <drepper@redhat.com>
8545 * misc/dirname.c (dirname): Fix search for second to last slash.
8547 2000-12-13 Andreas Jaeger <aj@suse.de>
8549 * misc/tst-dirname.c (main): Fix typo in test to really use
8550 the examples from Unix98.
8551 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8553 2000-12-09 H.J. Lu <hjl@gnu.org>
8555 * sysdeps/ia64/fpu/s_fabs.S: New file.
8556 * sysdeps/ia64/fpu/s_fabsf.S: New file.
8557 * sysdeps/ia64/fpu/s_fabsl.S: New file.
8559 2000-12-15 Andreas Jaeger <aj@suse.de>
8561 * stdio-common/scanf9.c (main): Reformat and change to avoid
8564 * stdio-common/tstdiomisc.c: Make local functions static.
8565 * stdio-common/tst-printf.c: Likewise.
8567 * elf/constload2.c: Add prototype declarations to shut up gcc.
8568 * elf/dep1.c: Likewise.
8569 * elf/dep2.c: Likewise.
8570 * elf/dep3.c: Likewise.
8571 * elf/dep4.c: Likewise.
8572 * elf/ltglobmod2.c: Likewise.
8574 * libio/fmemopen.c: Make local functions static.
8576 * elf/Makefile (distribute): Added testobj.h.
8578 * elf/testobj.h: New file.
8580 * elf/testobj1.c: Include testobj.h and move prototype
8581 declarations to testobj.h.
8582 * elf/testobj2.c: Likewise.
8583 * elf/testobj3.c: Likewise.
8584 * elf/testobj4.c: Likewise.
8585 * elf/testobj5.c: Likewise.
8586 * elf/testobj6.c: Likewise.
8587 * elf/testobj1_1.c: Likewise.
8588 * elf/preloadtest.c: Likewise.
8590 2000-12-15 Ben Collins <bcollins@debian.org>
8592 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
8593 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
8595 2000-12-14 H.J. Lu <hjl@gnu.org>
8597 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
8598 field in a float is 8 bits, not 11 bits.
8600 2000-12-13 Jakub Jelinek <jakub@redhat.com>
8602 * math/test-misc.c (main): Adjust m for IEEE quad long double.
8604 2000-12-13 Andreas Jaeger <aj@suse.de>
8606 * manual/message.texi (Using gettextized software): Fix typo.
8608 * manual/charset.texi (Converting a Character): Fix mbstouwcs
8610 Patch by Martin Buchholz <martin@xemacs.org>.
8612 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
8613 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8615 2000-12-11 Andreas Jaeger <aj@suse.de>
8617 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
8618 kernel_sigset_t and use it.
8619 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
8621 2000-12-10 Richard Henderson <rth@redhat.com>
8623 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
8624 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
8625 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
8627 2000-12-10 Jakub Jelinek <jakub@redhat.com>
8629 * sysdeps/alpha/htonl.S: Fix a typo.
8631 2000-12-10 Jakub Jelinek <jakub@redhat.com>
8633 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
8635 2000-12-10 Andreas Jaeger <aj@suse.de>
8637 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
8638 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
8639 Drepper <drepper@redhat.com>.
8641 2000-12-09 Andreas Jaeger <aj@suse.de>
8643 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
8645 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
8647 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
8649 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
8652 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
8655 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
8656 * nscd/connections.c (handle_request): Likewise.
8657 * nscd/pwdcache.c (addpwbyname): Likewise.
8658 * nscd/grpcache.c (addgrbyname): Likewise.
8660 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
8662 2000-12-09 Ulrich Drepper <drepper@redhat.com>
8664 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
8666 * Makeconfig (default_cflags): Make -O2 the default for stable
8669 2000-12-08 H.J. Lu <hjl@gnu.org>
8671 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
8672 * sysdeps/ia64/fpu/s_isinf.S: This.
8673 Add a .pred.rel.mutex note to avoid false report.
8675 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
8676 * sysdeps/ia64/fpu/s_isnan.S: This.
8678 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
8679 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
8680 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
8681 * sysdeps/ia64/fpu/s_isinff.S: New file.
8682 * sysdeps/ia64/fpu/s_isinfl.S: New file.
8683 * sysdeps/ia64/fpu/s_isnanf.S: New file.
8684 * sysdeps/ia64/fpu/s_isnanl.S: New file.
8685 * sysdeps/ia64/fpu/s_finite.S: New file.
8686 * sysdeps/ia64/fpu/s_finitef.S: New file.
8687 * sysdeps/ia64/fpu/s_finitel.S: New file.
8688 * sysdeps/ia64/fpu/s_signbit.S: New file.
8689 * sysdeps/ia64/fpu/s_signbitf.S: New file.
8690 * sysdeps/ia64/fpu/s_signbitl.S: New file.
8691 * sysdeps/ia64/fpu/s_copysign.S: New file.
8692 * sysdeps/ia64/fpu/s_copysignf.S: New file.
8693 * sysdeps/ia64/fpu/s_copysignl.S: New file.
8695 2000-12-08 Ulrich Drepper <drepper@redhat.com>
8697 * math/libm-test.inc (main): Fix typos in messages.
8699 * string/stratcliff.c: Add test for rawmemchr.
8701 2000-12-08 Jakub Jelinek <jakub@redhat.com>
8703 * elf/dl-open.c (_dl_open): If objname points right after errstring,
8704 allocate it together with errstring using alloca.
8705 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
8706 to "", because it might point to local stack.
8708 2000-12-05 H.J. Lu <hjl@gnu.org>
8710 * nss/Makefile (routines): Add getnssent and getnssent_r.
8711 * nss/nsswitch.h (__nss_setent): New internal NSS function.
8712 (__nss_endent): Likewise.
8713 (__nss_getent_r): Likewise.
8714 (__nss_getent): Likewise.
8715 * nss/getnssent_r.c: New file.
8716 * nss/getnssent.c: New file.
8717 * nss/getXXent.c (H_ERRNO_VAR): Updated.
8718 (GETFUNC_NAME): Updated to call __nss_getent ().
8719 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
8720 (STAYOPEN_TMPVAR): Updated.
8721 (STAYOPEN_VAR): Updated.
8722 (SETFUNC_NAME): Updated to call __nss_setent ().
8723 (ENDFUNC_NAME): Updated to call __nss_endent ().
8724 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
8726 2000-12-08 Andreas Jaeger <aj@suse.de>
8728 * nscd/dbg_log.h (dbg_log): Correct attribute.
8730 2000-12-08 Jakub Jelinek <jakub@redhat.com>
8732 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
8733 cp + len. Compute where from dirname.
8734 Reported by <jreiser@BitWagon.com>.
8736 2000-12-08 Richard Henderson <rth@twiddle.net>
8738 * sysdeps/alpha/_mcount.S: Fix typo.
8739 * sysdeps/alpha/strncpy.S: Likewise.
8741 * sysdeps/alpha/alphaev6/Implies: New file.
8742 * sysdeps/alpha/alphaev67/Implies: New file.
8743 * sysdeps/alpha/alphaev67/ffs.S: New file.
8744 * sysdeps/alpha/alphaev67/ffsll.S: New file.
8745 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
8746 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
8747 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
8748 * sysdeps/alpha/rawmemchr.S: New file.
8749 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
8750 * sysdeps/alpha/strcpy.S: Likewise.
8753 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
8755 From rick.gorton@alpha-processor.com:
8756 * sysdeps/alpha/alphaev6/memchr.S: New file.
8757 * sysdeps/alpha/alphaev6/memcpy.S: New file.
8758 * sysdeps/alpha/alphaev6/memset.S: New file.
8759 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
8760 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
8761 * sysdeps/alpha/alphaev67/strcat.S: New file.
8762 * sysdeps/alpha/alphaev67/strchr.S: New file.
8763 * sysdeps/alpha/alphaev67/strlen.S: New file.
8764 * sysdeps/alpha/alphaev67/strncat.S: New file.
8765 * sysdeps/alpha/htonl.S: Use a shorter sequence.
8767 2000-12-08 Jakub Jelinek <jakub@redhat.com>
8769 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
8770 Reported by <pspencer@fields.utoronto.ca>.
8772 2000-12-07 Jes Sorensen <jes@linuxcare.com>
8774 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
8775 Pointed out by Hans Boehm.
8777 2000-12-07 H.J. Lu <hjl@gnu.org>
8779 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
8781 2000-12-07 Andreas Jaeger <aj@suse.de>
8783 * misc/error.c: Add format attributes for __error and __error_at_line.
8785 * nscd/dbg_log.h: Add format attribute.
8787 2000-12-08 Ulrich Drepper <drepper@redhat.com>
8789 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
8790 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
8792 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
8794 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
8796 2000-12-06 Ulrich Drepper <drepper@redhat.com>
8798 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
8799 (sysdep_routines): Add uitrunc.
8800 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
8801 Patches by Michael Keezer <mkeezer@redhat.com>.
8803 2000-12-06 Roland McGrath <roland@frob.com>
8805 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
8806 argument data, since it will be used to copy out too (for INOUT).
8807 Reported by Marcus Brinkmann <marcus@gnu.org>.
8809 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
8810 (__ioctl): Use uintptr_t instead of unsigned long int.
8812 2000-12-06 Jim Wilson <wilson@redhat.com>
8814 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
8816 2000-12-06 Ulrich Drepper <drepper@redhat.com>
8818 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
8819 x.5 rounding correctly.
8821 2000-12-06 Mark Kettenis <kettenis@gnu.org>
8823 * stdio-common/perror.c (perror): Conditionalize code dealing with
8824 wide-oriented streams on USE_IN_LIBIO.
8826 2000-12-06 Mark Kettenis <kettenis@gnu.org>
8828 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
8829 as internal_function.
8831 2000-12-05 Ulrich Drepper <drepper@redhat.com>
8833 * sysdeps/alpha/elf/start.S (__data_start): Define.
8835 2000-12-05 H.J. Lu <hjl@gnu.org>
8837 * nss/getXXent_r.c (setup): Change the return type to int.
8839 2000-12-05 Ulrich Drepper <drepper@redhat.com>
8841 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
8842 (sysdep_routines): Add restf and savef.
8843 * sysdeps/unix/sysv/aix/restf.c: New file.
8844 * sysdeps/unix/sysv/aix/savef.c: New file.
8845 Patches by Michael Keezer <mkeezer@redhat.com>.
8847 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
8848 if O_DIRECTORY is not defined.
8849 Patch by Michael Keezer <mkeezer@redhat.com>.
8851 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
8852 Patch by Michael Keezer <mkeezer@redhat.com>.
8854 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
8855 than 4 bytes in escape sequence.
8856 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8858 2000-12-05 Andreas Jaeger <aj@suse.de>
8860 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
8863 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
8865 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
8867 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
8868 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8870 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
8872 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
8873 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
8875 * sysdeps/generic/dl-cache.c: Remove declaration of
8876 _dl_sysdep_read_whole_file.
8878 * elf/dl-load.c (_dl_map_object): Remove declaration of
8879 _dl_load_cache_lookup.
8881 * sysdeps/generic/ldsodefs.h: Add declarations of
8882 _dl_load_cache_lookup, _dl_unload_cache,
8883 _dl_sysdep_read_whole_file, _dl_sysdep_start and
8884 _dl_sysdep_start_cleanup.
8886 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
8889 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
8890 * sysdeps/generic/dl-environ.c: Likewise.
8892 * stdio-common/printf_fp.c: Include <gmp.h> instead of
8894 * math/atest-exp.c: Likewise.
8895 * math/atest-exp2.c: Likewise.
8896 * math/atest-sincos.c: Likewise.
8897 * stdio-common/_itoa.c: Likewise.
8898 * stdio-common/_itowa.c: Likewise.
8900 * include/gmp.h: New file with internal prototypes.
8902 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
8904 * include/setjmp.h: ...here.
8906 * locale/Makefile (routines): Remove codeset_name since it's not
8909 * locale/codeset_name.c: Removed.
8911 2000-12-05 Ulrich Drepper <drepper@redhat.com>
8913 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
8915 2000-12-05 Andreas Jaeger <aj@suse.de>
8917 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
8919 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
8921 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
8924 2000-12-05 Andreas Jaeger <aj@suse.de>
8926 * nss/test-netdb.c: Mark local functions as static to avoid
8928 (main): Use return to silence warning.
8930 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
8932 * stdio-common/test-popen.c: Mark local functions as static to
8934 (main): Use return to silence warning.
8936 * stdlib/testsort.c (compare): Mark as static to avoid warning.
8938 * assert/test-assert.c: Mark local functions as static to avoid
8940 * assert/test-assert-perr.c: Likewise.
8942 * math/libm-test.inc (main): Use return to silence warnings.
8944 2000-12-04 Ulrich Drepper <drepper@redhat.com>
8946 * math/fenv.h: Fix typo in comment.
8948 * math/test-misc.c (main): Add a few more over and underflow tests
8951 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
8952 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8953 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8954 * math/w_scalb.c: Don't use matherr except in SVID mode.
8955 * math/w_scalbf.c: Likewise.
8956 * math/w_scalbl.c: Likewise.
8957 * math/test-misc.c: Add test for NaN and scalbl.
8958 Reported by Fred J. Tydeman <tydeman@tybor.com>.
8960 2000-12-04 Ulrich Drepper <drepper@redhat.com>
8962 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
8963 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
8964 * include/libc-symbols.h (strong_alias): Define special version
8965 for HAVE_ASM_GLOBAL_DOT_NAME.
8966 (weak_alias): Likewise.
8967 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
8968 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
8969 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
8970 getutxline, pututxline, and utmpxname.
8971 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
8972 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
8973 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
8974 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
8975 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
8976 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
8977 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
8978 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
8979 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
8980 Patches by Michael Keezer <mkeezer@redhat.com>.
8982 2000-12-04 H.J. Lu <hjl@gnu.org>
8984 * configure.in: Change --with-oldest-abi=ABI to
8985 --enable-oldest-abi=ABI.
8987 2000-12-02 Bruno Haible <haible@clisp.cons.org>
8989 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
8990 fwprintf instead of fprintf.
8992 2000-12-04 Ulrich Drepper <drepper@redhat.com>
8994 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
8995 DECIMAL_DIG definitions.
8996 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
8997 * sysdeps/generic/bits/mathdef.h: Likewise
8998 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
8999 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
9000 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
9001 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
9002 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
9003 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
9005 2000-12-03 Ulrich Drepper <drepper@redhat.com>
9007 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
9009 * math/atest-exp.c: Mark local functions as static to avoid warnings.
9010 * math/atest-exp2.c: Likewise.
9011 * math/atest-sincos.c: Likewise.
9013 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
9014 Reported by Fred J. Tydeman <tydeman@tybor.com>.
9016 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
9017 the handling of denormalized numbers.
9019 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
9021 * sysdeps/i386/fpu/fpclassifyl.c: New file.
9023 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
9024 pseudo denormal representation of LDBL_MIN.
9026 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
9027 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
9029 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
9030 * iconvdata/jis0208.c: Likewise.
9031 * iconvdata/jis0212.c: Likewise.
9032 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9034 * math/test-misc.c (main): More tests for frexp and some for
9035 fpclassify and isnormal.
9037 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
9039 Reported by Fred J. Tydeman <tydeman@tybor.com>.
9041 * math/test-misc.c (main): Add tests for frexp.
9042 Reported by Fred J. Tydeman <tydeman@tybor.com>.
9043 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
9045 2000-12-02 H.J. Lu <hjl@gnu.org>
9047 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
9050 2000-12-02 Ulrich Drepper <drepper@redhat.com>
9052 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
9053 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9054 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9056 * sysdeps/generic/glob.c: Adjust types of several variables to
9059 2000-12-01 Ulrich Drepper <drepper@redhat.com>
9061 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
9063 2000-11-30 Roland McGrath <roland@frob.com>
9065 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
9066 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
9067 allow multiple instances using the same function name in one file.
9069 2000-12-01 Ulrich Drepper <drepper@redhat.com>
9071 * configure.in: Correct test for pserver CVS access.
9073 2000-11-28 H.J. Lu <hjl@gnu.org>
9075 * libio/libio.h: Remove extra "#if ... #endif".
9077 2000-11-29 H.J. Lu <hjl@gnu.org>
9079 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
9081 2000-12-01 H.J. Lu <hjl@gnu.org>
9083 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
9084 * nss/getXXent_r.c: Likewise.
9085 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9087 2000-11-30 H.J. Lu <hjl@gnu.org>
9089 * scripts/abi-versions.awk (oldest_abi): New variable.
9090 Handle the oldest ABI supported.
9092 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
9093 for scripts/abi-versions.awk.
9095 * configure.in: Add --with-oldest-abi=ABI.
9096 * configure: Rebuild.
9098 * config.make.in (oldest-abi): New.
9100 * config.h.in (GLIBC_OLDEST_ABI): New.
9102 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
9104 2000-11-30 Jakub Jelinek <jakub@redhat.com>
9106 * locale/setlocale.c (setname): Free for all categories, not just
9108 (setlocale): Store a copy of string passed by user, not the string
9111 2000-11-30 Roland McGrath <roland@frob.com>
9113 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
9114 rather than _hurd_fd_subinit, so it happens after it's safe to use
9115 libc facilities like malloc.
9117 2000-11-28 Andreas Jaeger <aj@suse.de>
9119 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
9120 declaration, adjust declaration of __syscall_getdents to match
9123 2000-11-29 H.J. Lu <hjl@gnu.org>
9125 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
9127 2000-11-29 Andreas Jaeger <aj@suse.de>
9129 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
9131 2000-11-28 Ulrich Drepper <drepper@redhat.com>
9133 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
9134 * dlfcn/defaultmod2.c: Likewise.
9135 * dlfcn/dlopen.c: Likewise.
9136 * dlfcn/dlopenold.c: Likewise.
9137 * dlfcn/failtestmod.c: Likewise.
9138 * dlfcn/glreflib1.c: Likewise.
9139 * dlfcn/glreflib2.c: Likewise.
9140 * dlfcn/eval.c: Likewise. Add attributes.
9142 * ctype/ctype-extn.c: Define isblank and not __isblank.
9144 * time/strftime.c: Add const where necessary to avoid warnings.
9145 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
9147 2000-11-22 Paul Eggert <eggert@twinsun.com>
9149 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
9150 size of (size_t) -1; it's not portable.
9152 2000-11-28 Ulrich Drepper <drepper@redhat.com>
9154 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
9156 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
9158 2000-11-14 Jes Sorensen <jes@linuxcare.com>
9160 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
9162 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
9163 _mcount is required by profiled binaries.
9165 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
9166 * sysdeps/ia64/machine-gmon.h: ...here.
9168 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
9170 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
9171 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
9173 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
9175 * iconvdata/ibm922.c: New file.
9176 * iconvdata/ibm922.h: New file.
9177 * iconvdata/ibm1124.c: New file.
9178 * iconvdata/ibm1124.h: New file.
9179 * iconvdata/ibm1129.c: New file.
9180 * iconvdata/ibm1129.h: New file.
9181 * iconvdata/testdata/IBM922: New file.
9182 * iconvdata/testdata/IBM922..UTF8: New file.
9183 * iconvdata/testdata/IBM1124: New file.
9184 * iconvdata/testdata/IBM1124..UTF8: New file.
9185 * iconvdata/testdata/IBM1129: New file.
9186 * iconvdata/testdata/IBM1129..UTF8: New file.
9188 2000-11-28 Ulrich Drepper <drepper@redhat.com>
9190 * catgets/gencat.c (normalize_line): Take extra parameter with escape
9191 character. Change callers.
9192 (open_conversion): Determine mapping of 0x5c as wchar_t value.
9193 * catgets/Makefile: Add rules to build and run test-gencat.
9194 * catgets/sample.SJIS: New file.
9195 * catgets/test-gencat.c: New file.
9196 * catgets/test-gencat.sh: New file.
9197 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9199 2000-11-28 Andreas Jaeger <aj@suse.de>
9201 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
9204 2000-11-28 Ulrich Drepper <drepper@redhat.com>
9206 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
9208 2000-11-28 Andreas Jaeger <aj@suse.de>
9210 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
9212 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
9215 2000-11-27 Ulrich Drepper <drepper@redhat.com>
9217 * misc/getusershell.c: Make strings in okshells array const.
9218 * misc/regexp.c: Add const to cast to avoid warnings.
9219 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
9220 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
9222 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
9224 * misc/error.c: Add prototypes for __error and __error_at_line.
9225 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
9226 statement to avoid warning.
9227 * test-skeleton.c: Mark timeout_handler with noreturn.
9228 * iconv/skeleton.c (get16u): Add const to cast.
9230 * iconvdata/gb18030.c: Likewise.
9231 * iconvdata/iso-2022-cn-ext.c: Likewise.
9232 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
9233 * iconvdata/big5.c: Likewise.
9234 * iconvdata/big5hkscs.c: Likewise.
9235 * iconvdata/iso_6937.c: Likewise.
9236 * iconvdata/iso_6937-2.c: Likewise.
9237 * iconvdata/t.61.c: Likewise.
9238 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
9239 * iconvdata/unicode.c: Likewise.
9240 * iconvdata/utf-16.c: Likewise.
9241 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
9242 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
9243 with little code shuffling.
9245 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
9246 the problems introduced when the user selects -O3.
9248 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
9249 * misc/sys/cdefs.h: Define __flexarr.
9250 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
9252 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
9253 * iconv/skeleton.c: Likewise.
9254 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
9255 * iconv/loop.c (get16): Add const to cast.
9258 2000-11-27 Andreas Jaeger <aj@suse.de>
9260 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
9262 * login/programs/utmpdump.c (print_entry): Likewise.
9264 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
9266 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
9267 in a single asm as they may be used to access other stored
9269 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
9271 2000-11-27 Andreas Jaeger <aj@suse.de>
9273 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
9274 * rt/tst-aio64.c: Likewise.
9276 2000-11-27 Ulrich Drepper <drepper@redhat.com>
9278 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
9280 (libc.cat): Likewise.
9281 * catgets/gencat.c: Implement handling of message catalogs encoded
9282 with stateful character sets.
9283 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9285 2000-11-26 Ulrich Drepper <drepper@redhat.com>
9287 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
9289 * inet/getnameinfo.c: Adjust casts to avoid warnings.
9290 * inet/rcmd.c: Likewise.
9291 * inet/ruserpass.c: Likewise.
9292 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
9293 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9294 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
9295 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
9296 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
9297 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
9298 * include/aliases.h: Add prototypes for internal __getalias* functions.
9299 * include/netdb.h: Add prototypes for __old_gethostent_r,
9300 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
9301 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
9302 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
9303 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
9304 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
9305 __old_getrpcbynumber_r, __old_getrpcent_r.
9307 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
9308 __getrpcent_r prototypes.
9310 2000-11-25 Ulrich Drepper <drepper@redhat.com>
9312 * string/strcoll.c: Add casts to avoid warnings.
9313 * string/strnlen.c: Likewise.
9314 * string/strxfrm.c: Likewise.
9315 * sysdeps/generic/_strerror.c: Likewise.
9316 * sysdeps/generic/memrchr.c: Likewise.
9317 * sysdeps/generic/strcasestr.c: Likewise.
9318 * sysdeps/generic/strstr.c: Likewise.
9320 * locale/weight.h (findidx): Add const to cast to avoid warning.
9322 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
9323 * elf/loadtest.c: Likewise.
9324 * elf/multiload.c: Likewise.
9325 * elf/next.c: Likewise.
9326 * elf/nodelete.c: Likewise.
9327 * elf/noload.c: Likewise.
9328 * elf/order.c: Likewise.
9329 * elf/origtest.c: Likewise.
9330 * elf/preloadtest.c: Likewise.
9331 * elf/restest1.c: Likewise.
9333 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
9334 parameter of asm must be in %ecx.
9336 * string/tester.c: Mark test functions as static to avoid warnings.
9338 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
9339 preserve value over different gconv-modules files.
9341 2000-11-24 Ulrich Drepper <drepper@redhat.com>
9343 * locale/findlocale.c: Add casts to avoid warnings.
9344 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
9345 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
9347 * misc/tsearch.c (const_node): New type.
9348 (trecurse): Correct casts to avoid warnings.
9349 (__twalk): Likewise.
9350 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
9353 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
9355 * test-skeleton.c: Mark local functions as static to avoid warnings.
9357 2000-11-23 H.J. Lu <hjl@gnu.org>
9359 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
9360 support the background job.
9363 2000-11-24 Ulrich Drepper <drepper@redhat.com>
9365 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
9366 has same names but lower cost.
9368 2000-11-23 Jakub Jelinek <jakub@redhat.com>
9370 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
9371 which never occur during bootstrap.
9372 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9374 2000-11-23 Andreas Jaeger <aj@suse.de>
9376 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
9378 * nss/Versions: Remove _nss_files_getipnodebyname_r.
9380 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
9382 2000-11-18 Martin Buchholz <martin@xemacs.org>
9384 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
9387 2000-11-21 Alan Modra <alan@linuxcare.com.au>
9389 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
9391 * csu/abi-note.S: Correct comment for operating system number.
9393 2000-11-22 Ulrich Drepper <drepper@redhat.com>
9395 * Versions.def: Add GLIBC_2.2.1 for glibc.
9397 2000-11-22 Andreas Schwab <schwab@suse.de>
9399 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
9400 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
9402 2000-11-22 Ulrich Drepper <drepper@redhat.com>
9404 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
9405 absolute time for pthread_cond_timedwait call.
9406 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
9408 * rt/Makefile (tests): Add tst-aio6.
9409 * rt/tst-aio6.c: New file.
9411 2000-11-23 Andreas Jaeger <aj@suse.de>
9413 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
9415 2000-11-22 Andreas Jaeger <aj@suse.de>
9417 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
9419 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
9421 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
9423 2000-11-21 Andreas Schwab <schwab@suse.de>
9425 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
9426 * sysdeps/arm/setjmp.S: Likewise.
9427 * sysdeps/arm/fpu/setjmp.S: Likewise.
9428 * sysdeps/i386/setjmp.S: Likewise.
9429 * sysdeps/i386/elf/setjmp.S: Likewise.
9430 * sysdeps/s390/setjmp.S: Likewise.
9431 * sysdeps/s390/elf/setjmp.S: Likewise.
9432 * sysdeps/sh/sh3/setjmp.S: Likewise.
9433 * sysdeps/sh/sh4/setjmp.S: Likewise.
9434 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
9435 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9436 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
9437 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
9439 2000-11-21 Andreas Jaeger <aj@suse.de>
9441 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
9442 NORETURN, fix parameter list.
9444 * string/bug-strncat1.c (main): Fix typo.
9445 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
9447 2000-11-20 Ulrich Drepper <drepper@redhat.com>
9449 * configure.in: Add --enable-all-warnings.
9450 * config.make.in (all-warnings): New variable.
9451 * Makeconfig (+gccwarn): Define with many more warnings if
9452 all-warnings is yes.
9454 2000-11-20 Jakub Jelinek <jakub@redhat.com>
9456 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
9457 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
9458 * malloc/tst-valloc.c (main): Cast valloc return value to long.
9459 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
9460 * math/test-fpucw.c (main): Use %lx in format string, cast
9461 control words to long.
9462 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
9463 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
9464 large that it is unsigned warning.
9466 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
9467 it to long on sparc64.
9469 2000-11-20 Andreas Jaeger <aj@suse.de>
9471 * nscd/nscd.h (termination_handler): Add noreturn attribute.
9472 (receiv_print_stats): Likewise.
9474 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
9476 2000-11-20 Ulrich Drepper <drepper@redhat.com>
9478 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
9480 * csu/gmon-start.c: Always have prototype for __gmon_start.
9481 * csu/version.c: Add prototypes for __libc_print_version and
9483 * iconv/gconv.c: Include gconv_int.h and gconv.h.
9484 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
9486 * iconv/gconv_builtin.h: Add ASCII module definitions.
9487 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
9488 (add_module): Add cast to avoid warning. Rework construction of
9489 strings for new module.
9490 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
9491 (derivation_compare): Likewise.
9492 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
9493 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
9494 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
9495 (struct gconv_alias): Remove const from fromname and toname.
9496 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
9498 (internal_ucs4_loop): Use correct const-ness.
9499 (ucs4_internal_loop): Likewise.
9500 (internal_ucs4le_loop): Likewise.
9501 (ucs4le_internal_loop_single): Likewise.
9502 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
9503 to_idx, to_tbl, winbuf, winbufend const. Change casts in
9504 assignments appropriately.
9505 (struct known_trans): Remove const from fname.
9506 (trans_compare): Make s1 and s2 const.
9507 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
9509 * iconv/skeleton.c: Remove cast in calls of loop functions.
9510 * iconvdata/gconv-modules: Remove US-ASCII definitions.
9511 * iconvdata/iso646.c: Remove US_ASCII support.
9512 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
9513 * include/unistd.h: Add __libc_check_standard_fds prototype.
9514 * string/bits/string2.h (__mempcpy_args): Add const to casts.
9515 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
9517 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
9518 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
9519 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
9521 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
9522 __libc_init_first and _dl_start.
9523 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
9524 (DCIGETTEXT): Make domaindata variable const.
9525 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
9528 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
9530 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
9532 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
9533 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
9536 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
9537 value defined in /usr/include/asm-mips/fcntl.h.
9539 2000-11-18 Ulrich Drepper <drepper@redhat.com>
9541 * stdio-common/Makefile (tests): Add test-vfprintf.
9542 (test-vfprintf-ENV): New variable.
9543 * stdio-common/test-vfprintf.c: New file.
9545 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
9547 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
9548 (tst-mbrtowc-ENV): New variable.
9549 (tst-wcrtomb-ENV): New variable.
9550 * wcsmbs/tst-mbrtowc.c: New file.
9551 * wcsmbs/tst-wcrtomb.c: New file.
9553 2000-11-16 Andreas Jaeger <aj@suse.de>
9555 * manual/install.texi (Tools for Compilation): Update
9556 documentation for GCC 2.95.2.
9558 2000-11-18 Ulrich Drepper <drepper@redhat.com>
9560 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
9561 if IPv4 and IPv6 requests timed out.
9563 2000-11-18 Akim Demaille <akim@epita.fr>
9565 * malloc/obstack.h: Formatting changes.
9566 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
9567 prevents type checking.
9568 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
9569 cast the value to (void *): assigning a `foo *' to a `void *'
9571 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
9573 2000-11-17 Ulrich Drepper <drepper@redhat.com>
9575 * scripts/config.guess: Update from upstream maintainer.
9576 * scripts/config.sub: Likewise.
9578 2000-11-16 Ulrich Drepper <drepper@redhat.com>
9580 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
9581 * libio/freopen64.c (freopen64): Likewise.
9582 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9584 * libio/Makefile: Add rules to build and run test-freopen.
9585 * libio/test-freopen.c: New file.
9586 * libio/test-freopen.sh: New file.
9588 2000-11-15 H.J. Lu <hjl@gnu.org>
9590 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
9591 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
9592 (DL_DT_FINI_ADDRESS): Likewise.
9594 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
9595 return type to ElfW(Addr).
9596 (_dl_function_address): New prototype.
9597 (DL_FUNCTION_ADDRESS): Defined.
9598 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
9599 (DL_DT_FINI_ADDRESS): Likewise.
9601 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
9603 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
9604 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
9606 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
9607 (_dl_function_address): This.
9609 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
9610 function pointer for DT_FINI.
9611 * elf/dl-close.c (_dl_close): Likewise.
9613 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
9614 function pointer for DT_INIT.
9616 2000-11-16 Jakub Jelinek <jakub@redhat.com>
9618 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
9619 end of wexpbuf buffer.
9621 2000-11-16 Andreas Jaeger <aj@suse.de>
9623 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
9624 definition of F_GETLK, F_SETLK, F_SETLKW.
9626 2000-11-16 Andreas Jaeger <aj@suse.de>
9628 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
9631 2000-11-15 Jakub Jelinek <jakub@redhat.com>
9633 * dlfcn/default.c (main): Add test for dladdr of main returning
9634 argv[0] in dli_fname field.
9636 2000-11-15 Jakub Jelinek <jakub@redhat.com>
9638 * Makeconfig (run-program-prefix): Move test-static test into the
9641 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
9642 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
9643 schedule instructions.
9644 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
9645 schedule instructions, fix a bug in copying auxiliary data.
9647 2000-11-15 Ulrich Drepper <drepper@redhat.com>
9649 * manual/startup.texi (Program Arguments): Fix type of main's envp
9651 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
9653 * iconvdata/gconv-modules: Add CP950 alias.
9655 2000-11-13 Jakub Jelinek <jakub@redhat.com>
9657 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
9658 syscall-list.h goal.
9659 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
9661 2000-11-15 Ulrich Drepper <drepper@redhat.com>
9663 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
9665 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
9668 * intl/tst-gettext2.c: Set C locale if setting other locale
9669 failed. Use gettext() not _().
9671 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
9672 successfully loaded a new locale.
9674 2000-11-13 Andreas Jaeger <aj@suse.de>
9676 * configure.in: Require gcc 2.95 or newer.
9678 2000-11-15 Ulrich Drepper <drepper@redhat.com>
9680 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
9681 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
9683 2000-11-11 Jim Meyering <meyering@lucent.com>
9685 * string/strndup.c (strndup): Cast return value to `char *'.
9687 2000-11-15 Jim Meyering <meyering@ascend.com>
9689 * sysdeps/generic/memchr.c: Remove some useless parentheses.
9690 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
9691 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
9692 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
9693 Also #undef __memchr.
9694 Use `weak_alias' only if it's defined.
9696 2000-11-10 H.J. Lu <hjl@gnu.org>
9698 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
9700 2000-11-15 Andreas Jaeger <aj@suse.de>
9702 * elf/chroot_canon.c: Include <stdint.h>.
9704 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
9705 (print_entry): Likewise.
9706 (add_to_cache): Likewise.
9708 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
9710 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
9711 (path_hwcap): Likewise.
9712 (search_dir): Likewise.
9714 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
9716 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
9718 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
9719 (_dl_platform_string): New.
9720 (_DL_HWCAP_PLATFORM): New.
9721 (_dl_string_platform): New.
9722 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
9724 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
9725 (_dl_string_platform): New.
9726 (_DL_HWCAP_PLATFORM): New.
9727 (_dl_platform_string): New.
9729 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
9731 (_DL_HWCAP_COUNT): New.
9732 (_dl_string_platform): New.
9733 (_DL_HWCAP_PLATFORM): New.
9734 (_dl_platform_string): New.
9736 2000-11-14 Ulrich Drepper <drepper@redhat.com>
9738 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
9740 2000-11-14 Andreas Jaeger <aj@suse.de>
9742 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
9744 2000-11-13 Roland McGrath <roland@frob.com>
9746 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
9748 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
9750 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
9751 underrun and make sure the result is null terminated even if there
9752 is no trailing newline.
9754 2000-11-13 Jakub Jelinek <jakub@redhat.com>
9756 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9758 2000-11-10 H.J. Lu <hjl@gnu.org>
9760 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
9762 2000-11-10 Andreas Jaeger <aj@suse.de>
9764 * elf/ldconfig.c (create_links): Fix alloca calculation.
9765 Patch by Ben Collins <bcollins@debian.org>.
9767 2000-11-09 Ulrich Drepper <drepper@redhat.com>
9769 * inet/getnameinfo.c (getnameinfo): Use correct destination
9770 parameter for if_indextoname.
9771 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
9773 2000-11-09 H.J. Lu <hjl@gnu.org>
9775 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
9776 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
9777 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
9780 * time/Versions (GLIBC_2.1): Move getitimer to...
9781 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
9783 2000-11-03 Bruno Haible <haible@clisp.cons.org>
9785 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
9786 "make install", to work around a binary incompatibility between
9787 glibc 2.1 and glibc 2.2 gconv modules.
9789 2000-11-09 Ulrich Drepper <drepper@redhat.com>
9791 * intl/locale.alias: Add thai.
9792 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
9794 2000-11-07 Akim Demaille <akim@epita.fr>
9796 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
9797 argument `data' for consistency with the prototypes.
9799 (obstack_copy, obstack_copy0): Rename the second argument as
9800 `address' for consistency. Qualify it `const'.
9801 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
9802 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
9803 `const' their input argument (`data' or `address').
9804 Adjust the corresponding macros to include `const' in casts.
9806 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9808 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
9811 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9813 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
9816 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9818 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
9819 ai_protocol by internal table if service was not given.
9821 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9823 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
9824 numerical port was specified with protocol without socktype.
9826 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9828 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
9830 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9832 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
9834 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9836 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
9837 sin6_scope_id field.
9839 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9841 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
9843 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9845 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
9847 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9849 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
9850 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
9852 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
9854 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
9855 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
9857 2000-11-09 H.J. Lu <hjl@gnu.org>
9859 * io/Versions (GLIBC_2.1.1): Remove lockf64.
9862 See ChangeLog.11 for earlier changes.