1 2001-06-19 Andreas Jaeger <aj@suse.de>
3 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
6 2001-06-29 Andreas Jaeger <aj@suse.de>
8 * sysdeps/ieee754/ldbl-128/s_asinhl.c: New file.
9 Patch by Stephen L Moshier <moshier@mediaone.net>.
11 2001-06-28 Ulrich Drepper <drepper@redhat.com>
13 * manual/argp.texi: Tons of cleanups.
14 Patch by Clifford U. Smith <cuel@swbell.net>.
16 2001-06-28 Mark Kettenis <kettenis@gnu.org>
18 * manual/users.texi (Setting Groups): Correct initgroups
19 documentation. Add documentation for getgrouplist.
21 2001-06-28 H.J. Lu <hjl@gnu.org>
23 * locale/findlocale.c (locale_file_list): Renamed to ...
24 (_nl_locale_file_list): This. Make it extern.
25 (free_mem): Move to ...
26 * locale/setlocale.c (free_mem): Here.
28 2001-06-28 Mark Kettenis <kettenis@gnu.org>
30 * sysdeps/mach/hurd/read.c: Include <hurd/fd.h>.
31 (__libc_read): Don't call __pread. Use _hurd_fd_read directly
33 * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>.
34 (__libc_write): Don't call __pwrite. Use _hurd_fd_write directly
37 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back
38 -Wl,-soname option lost in 2001-06-16 change.
40 2001-06-27 Ulrich Drepper <drepper@redhat.com>
42 * posix/tst-regex.c: Pass REG_NEWLINE to regcomp. Add extra tests.
43 Restrict printing of string in debug mode to 100 characters to make
44 the output useful for long input texts.
46 * posix/Makefile: Add rules to build and run tst-regex.
48 2001-06-20 Isamu Hasegawa <isamu@yamato.ibm.com>
50 * posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers.
51 (re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
52 (wcs_re_match_2_internal): Check whether the wcs buffers need
53 seting up or not, and skip seting up routin if not needed.
55 2001-06-26 Isamu Hasegawa <isamu@yamato.ibm.com>
57 * posix/regex.c (count_mbs_length): Use binary search for optimization.
59 2001-06-27 Ulrich Drepper <drepper@redhat.com>
61 * posix/tst-regex.c: Fix several bugs. Add more tests.
63 2001-06-26 Mark Kettenis <kettenis@gnu.org>
65 * hurd/Makefile (user-interfaces): Add pfinet.
66 * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and
68 (siocgifconf): New function. Register it with HURD_HANDLE_IOCTL
69 as the handler for SIOCGIFCONF.
70 * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and
71 SIOCGIFFLAGS to be of IOC type ifreq_short. Modify SIOCSIFMETRIC
72 and SIOCGIFMETRIC to be of IOC type ifreq_int. Add new macro
73 definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and
75 From Marcus Brunkmann <marcus@gnu.org>.
77 2001-06-25 Ulrich Drepper <drepper@redhat.com>
79 * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
80 and _IOT_ifreq_int. Patch by Mark Kettenis <kettenis@wins.uva.nl>.
82 * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
83 _dl_catch_error calls.
85 2001-06-22 Jakub Jelinek <jakub@redhat.com>
87 * posix/regex.c (regex_compile, re_match_2_internal): Fix comment
90 2001-06-01 Wolfram Gloger <wg@malloc.de>
92 * malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
93 ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
94 when malloc_atfork is in use.
96 2001-06-22 Andreas Jaeger <aj@suse.de>
98 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
101 * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
103 Add unused attributes to avoid warnings.
105 * elf/reldep4mod4.c: Add prototype to avoid warning.
106 * elf/reldep4mod2.c: Likewise.
108 * sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for
111 2001-06-18 Roland McGrath <roland@frob.com>
113 * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int.
115 2001-06-20 Alexandre Oliva <aoliva@redhat.com>
117 * sysdeps/unix/sysv/settimeofday.c: Include time.h.
119 2001-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
121 * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
123 2001-05-09 Michael Keezer <mkeezer@redhat.com>
125 * Makeconfig: Added AIX-ld support for DSO.
126 * Makerules: Likewise.
127 * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared.
128 (defaultmod2.so): Likewise.
129 * debug/Makefile: Conditionalize use of elf/ld.so.
130 * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig.
132 * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c.
133 * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) &
134 (f/g)prrest(0/1) static only.
135 * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0.
136 * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but
138 * sysdeps/unix/sysv/aix/setitimer.c: New file.
139 * sysdeps/unix/sysv/aix/sleep.c: New file.
140 * sysdeps/unix/sysv/aix/usleep.c: New file.
141 * sysdeps/unix/sysv/aix/dl-addr.c: New file.
142 * sysdeps/unix/sysv/aix/dl-error.c: New file.
143 * sysdeps/unix/sysv/aix/dl-support.c: New file.
144 * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file.
146 2001-06-19 Ulrich Drepper <drepper@redhat.com>
148 * po/es.po: Update from translation team.
150 2001-06-19 Andreas Jaeger <aj@suse.de>
152 * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file.
154 * math/libm-test.inc (tanh_test): Test for 2^-56.
156 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result
157 equals argument when x < 2^-55.
158 Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
160 2001-06-17 Alan Modra <amodra@bigpond.net.au>
162 * sysdeps/hppa/dl-machine.h (elf_machine_rela): handle relocs
163 at unaligned address.
165 2001-06-18 Ulrich Drepper <drepper@redhat.com>
167 * posix/regex.c: Reorganize code to build code twice, once for single
168 byte, once for multi-byte charsets. Choose function set adequate for
170 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
172 * po/nl.po: Update from translation team.
174 2001-06-09 Bruno Haible <haible@clisp.cons.org>
176 * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
177 (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
178 * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.
180 2001-05-26 Bruno Haible <haible@clisp.cons.org>
182 * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap.
183 * manual/charset.texi: Write Shift_JIS, not Shift-JIS.
185 2001-06-17 Roland McGrath <roland@frob.com>
187 * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,
188 not LIO_READ + 1 (which is the value of LIO_WRITE!).
190 * Makerules (build-module-helper-objlist): New variable,
191 broken out of build-module. Insert --whole-archive/--no-whole-archive
192 immediately each *_pic.a file in the link object list.
193 (whole-archive): New variable, used by that.
194 (build-module-objlist): New variable using build-module-helper-objlist.
195 (build-module, build-module-helper): Use it.
196 (build-shlib-objlist): New variable using build-module-helper-objlist.
197 (build-shlib): Use that.
198 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
200 * posix/spawni.c: Moved to ...
201 * sysdeps/posix/spawni.c: ... here.
202 * sysdeps/generic/spawni.c: New file.
204 2001-06-16 Roland McGrath <roland@frob.com>
206 * hurd/Makefile (routines): Add lookup-retry.
207 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
208 * hurd/lookup-retry.c: ... into here, new file.
209 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
210 using of duplicate code here.
212 * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
214 2001-06-17 Ulrich Drepper <drepper@redhat.com>
216 * po/ja.po: Update from translation team.
218 2001-06-04 Bruno Haible <haible@clisp.cons.org>
220 * locale/programs/locfile.c (siblings_uncached, siblings, full_read,
221 compare_files): New functions.
222 (write_locale_data): Use xmalloc. Compare the file with the locale
223 data files for the same category in other locales, and reuse it if
226 2001-06-07 Mark Kettenis <kettenis@gnu.org>
228 * grp/initgroups.c (initgroups): Factor out re-usable code into...
229 (internal_getgrouplist): ... new function.
230 (getgrouplist): New function.
231 * grp/grp.h (getgrouplist): New prototype.
232 * grp/Versions [2.2.4]: Add getgrouplist.
234 2001-06-16 Ulrich Drepper <drepper@redhat.com>
236 * inet/netinet/ip6.h: Fix comments in ip6_hdr.
237 Patch by Pekka Savola <pekkas@netcore.fi>.
239 2001-06-15 Roland McGrath <roland@frob.com>
241 * rt/Makefile (aio-routines, clock-routines, timer-routines): New
242 variables, broken out of librt-routines.
243 (librt-routines): Set using those.
244 (extra-libs, extra-libc-others, tests): Set these unconditionally.
245 (distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
246 * sysdeps/generic/aio_fsync.c: New file.
247 * sysdeps/generic/aio_misc.c: New file.
248 * sysdeps/generic/aio_write.c: New file.
249 * sysdeps/generic/aio_write64.c: New file.
250 * sysdeps/generic/aio_read64.c: New file.
251 * sysdeps/generic/aio_read.c: New file.
252 * sysdeps/generic/aio_notify.c: New file.
253 * sysdeps/generic/lio_listio64.c: New file.
254 * sysdeps/generic/lio_listio.c: New file.
255 * sysdeps/generic/aio_cancel.c: New file.
256 * sysdeps/generic/aio_misc.h: New file.
257 * sysdeps/generic/aio_suspend.c: New file.
258 * rt/aio_cancel.c: Moved to ...
259 * sysdeps/pthread/aio_cancel.c: ... here.
260 * rt/aio_fsync.c: Moved to ...
261 * sysdeps/pthread/aio_fsync.c: ... here.
262 * rt/aio_misc.c: Moved to ...
263 * sysdeps/pthread/aio_misc.c: ... here.
264 * rt/aio_misc.h: Moved to ...
265 * sysdeps/pthread/aio_misc.h: ... here.
266 * rt/aio_notify.c: Moved to ...
267 * sysdeps/pthread/aio_notify.c: ... here.
268 * rt/aio_read.c: Moved to ...
269 * sysdeps/pthread/aio_read.c: ... here.
270 * rt/aio_read64.c: Moved to ...
271 * sysdeps/pthread/aio_read64.c: ... here.
272 * rt/aio_suspend.c: Moved to ...
273 * sysdeps/pthread/aio_suspend.c: ... here.
274 * rt/aio_write.c: Moved to ...
275 * sysdeps/pthread/aio_write.c: ... here.
276 * rt/aio_write64.c: Moved to ...
277 * sysdeps/pthread/aio_write64.c: ... here.
278 * rt/lio_listio.c: Moved to ...
279 * sysdeps/pthread/lio_listio.c: ... here.
280 * rt/lio_listio64.c: Moved to ...
281 * sysdeps/pthread/lio_listio64.c: ... here.
283 2001-06-14 Roland McGrath <roland@frob.com>
285 * configure.in: Let sysdeps Implies files in add-ons bring in
286 sysdeps directories from the main source and other add-ons too.
288 2001-06-15 Jakub Jelinek <jakub@redhat.com>
290 * math/test-misc.c (main): Add tests for nextafter and nexttoward
291 with +-Inf as second argument.
293 * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
295 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
296 * sysdeps/i386/fpu/s_nexttoward.c: New.
297 * sysdeps/i386/fpu/s_nexttowardf.c: New.
298 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
299 check for NaN, optimize x==+-0 handling.
300 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
301 * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
302 check for NaN, fix sign in x==+-0 case.
303 * sysdeps/ia64/fpu/s_nexttoward.c: New.
304 * sysdeps/ia64/fpu/s_nexttowardf.c: New.
306 2001-06-15 H.J. Lu <hjl@gnu.org>
308 * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
309 * rt/tst-aio3.c (do_test): Likewise.
310 * rt/tst-aio4.c (do_test): Likewise.
311 * rt/tst-aio5.c (do_test): Likewise.
312 * rt/tst-aio6.c (do_test): Likewise.
314 2001-06-15 Andreas Schwab <schwab@suse.de>
316 * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
317 * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
319 2001-06-15 Andreas Jaeger <aj@suse.de>
321 * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning.
323 2001-06-14 Andreas Schwab <schwab@suse.de>
325 * elf/ldconfig.c (search_dir): Fix check for regular file.
327 * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
328 * sysdeps/m68k/fpu/e_log2l.c: Fix typo.
330 2001-06-14 Roland McGrath <roland@frob.com>
332 * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
333 (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
335 2001-06-13 Roland McGrath <roland@frob.com>
337 * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
339 * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
340 so the label is not considered unused.
342 * sysdeps/mach/hurd/pwrite64.c: New file.
343 * sysdeps/mach/hurd/pread64.c: New file.
345 * sysdeps/mach/hurd/pread.c
346 (__libc_pread): Define this name, with __pread as an alias.
347 * sysdeps/mach/hurd/pwrite.c
348 (__libc_pwrite): Define this name, with __pwrite as an alias.
350 Implement POSIX "shared memory objects" as regular
351 files residing in the /var/run/shm/ directory.
352 This works on any system that supports _POSIX_MAPPED_FILES,
353 to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
354 * sysdeps/posix/shm_open.c: New file.
355 * sysdeps/posix/shm_unlink.c: New file.
356 * sysdeps/mach/hurd/bits/posix_opt.h
357 (_POSIX_SHARED_MEMORY_OBJECTS): Define it.
359 * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
360 Use raise instead of __aio_sigqueue.
362 * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
363 * sysdeps/mach/hurd/pwrite.c: Likewise.
365 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
366 [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
367 as default version set.
369 2001-06-13 Ulrich Drepper <drepper@redhat.com>
371 * libio/iolibio.h (_IO_freopen): Correct last parameter to
373 (_IO_freopen64): Likewise.
374 Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].
376 * elf/elf.h: Add a few more EM_* constants.
378 2001-06-12 Bruno Haible <haible@clisp.cons.org>
380 * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.
382 2001-06-09 Ben Collins <bcollins@debian.org>
384 * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
385 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
386 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
387 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
388 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
389 * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
392 2001-06-13 Ulrich Drepper <drepper@redhat.com>
394 * time/sys/time.h: Don't use enum __itimer_which ever for
395 __itimer_which_t for C++.
396 Reported by Martin Buchholz <martin@xemacs.org>.
398 * po/fr.po: Update from translation team.
400 2001-06-12 H.J. Lu <hjl@gnu.org>
402 * configure.in: Fix typos in missing program names.
403 * configure: Regenerated.
405 2001-06-12 Andreas Jaeger <aj@suse.de>
407 * iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
409 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
411 2001-06-11 Andreas Jaeger <aj@suse.de>
413 * sysdeps/ieee754/ldbl-128/e_coshl.c: New file. Contributed by
414 Stephen L Moshier <moshier@mediaone.net>.
416 * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
418 * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
419 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
421 2001-06-11 Michael Deutschmann <michael@talamasca.ocis.net>
423 * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
424 Use my_signo instead of MY_SIGNO and initialize it so that the
425 used signal is always available.
427 2001-06-11 Andreas Jaeger <aj@suse.de>,
428 Michael Deutschmann <michael@talamasca.ocis.net>
430 * io/test-lfs.c (do_prepare): Clean up error messages.
431 (test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
434 2001-06-11 Andreas Jaeger <aj@suse.de>
436 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
437 IMAXBEL): Make always visible since they're needed by POSIX.
438 Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
440 2001-06-10 Ben Collins <bcollins@debian.org>
442 * sysdeps/arm/elf/start.S: Use #function, not @function, for
445 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
448 2001-06-07 H.J. Lu <hjl@gnu.org>
450 * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
452 2001-06-10 Roland McGrath <roland@frob.com>
454 * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
455 * elf/reldep4mod4.c: Likewise.
457 2001-06-10 Mark Kettenis <kettenis@gnu.org>
459 * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
461 2001-06-08 Andreas Schwab <schwab@suse.de>
463 * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
464 Don't dereference at end of string.
466 2001-06-06 Roland McGrath <roland@frob.com>
468 * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
469 From Robert Bihlmeyer <robbe@orcus.priv.at>.
471 2001-06-06 Ulrich Drepper <drepper@redhat.com>
473 * po/ko.po: Update from translation team.
475 2001-06-06 Andreas Jaeger <aj@suse.de>
477 * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
479 Reported by Robert Bernecky <bernecky@acm.org>.
481 2001-06-06 Jakub Jelinek <jakub@redhat.com>
483 * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
484 * sysdeps/ia64/elf/start.S: Likewise.
485 * sysdeps/sh/elf/start.S: Likewise.
486 * sysdeps/s390/s390-32/elf/start.S: Likewise.
487 * sysdeps/s390/s390-64/elf/start.S: Likewise.
489 2001-06-05 Matthew Wilcox <willy@ldl.fc.hp.com>
491 * sysdeps/hppa/bsd-_setjmp.S: New.
492 * sysdeps/hppa/bsd-setjmp.S: New.
494 * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
495 gcc warnings about multi-line strings.
497 * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
498 * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
500 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
501 setrlimit directly instead of using wrappers.
503 2001-05-01 Richard Hirst <rhirst@linuxcare.com>
505 * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
506 * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
508 2001-06-05 Philipp Thomas <pthomas@suse.de>
510 * nis/nis_call.c (__nisbind_connect): Don't mark for translation
511 what can't be translated.
513 2001-06-06 Ulrich Drepper <drepper@redhat.com>
515 * timezone/zic.c: Update from tzcode2001c.
516 * timezone/private.h: Likewise.
517 * timezone/africa: Update from tzdata2001c.
518 * timezone/asia: Likewise.
519 * timezone/europe: Likewise.
520 * timezone/northamerica: Likewise.
521 * timezone/southamerica: Likewise.
522 * timezone/zone.tab: Likewise.
524 2001-06-04 Bruno Haible <haible@clisp.cons.org>
526 * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
527 * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
529 (__gconv_transform_internal_ucs2): Likewise.
530 (__gconv_transform_internal_ucs2reverse): Likewise.
531 * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
532 * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
533 * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
534 * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
535 * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
536 * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
537 * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
538 * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
539 * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
540 * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
541 * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
542 * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
543 * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
544 * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
545 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
546 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
547 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
548 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
549 * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
550 * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
551 * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
552 * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
553 * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
554 * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
555 * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
556 * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
557 * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
558 * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
559 * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
560 * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
561 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
562 * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
563 TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
564 TAG_language_zh, CURRENT_TAG_MASK): New enum values.
565 (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
566 is already selected but set2 or tag are set.
567 (conversion): New enum type.
568 (cvlist_t): New type.
569 (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
570 (conversion_lists): New array.
571 (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag. If "ja",
572 prefer conversion to Japanese character sets. If "zh", prefer
573 conversion to GB2312. If "ko", prefer conversion to KSC5601. Small
575 (INIT_PARAMS): Add tag.
576 (UPDATE_PARAMS): Add tag.
578 2001-06-04 Bruno Haible <haible@clisp.cons.org>
580 * locale/programs/locfile.c (write_locale_data): Before creat(),
581 unlink the file, to avoid crashing the processes that mmap it. Change
582 a double slash to a single slash. Free fname in case of error return.
584 2001-06-02 Jakub Jelinek <jakub@redhat.com>
586 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
587 changes, do the special handling for denormal numbers, not for
588 normalized numbers (patch by <trevin@xmission.com>).
590 * math/test-misc.c (main): Test frexpl with denormal arguments.
592 2001-06-04 Jakub Jelinek <jakub@redhat.com>
594 * math/libm-test.inc (llround_test): Add two new llround tests.
595 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
596 overflow when rounding away from zero.
598 2001-06-04 Jakub Jelinek <jakub@redhat.com>
600 * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
601 * math/math_private.h (__ieee754_log2, __ieee754_log2f,
602 __ieee754_log2l): New prototypes.
603 * sysdeps/generic/w_log2.c: New file.
604 * sysdeps/generic/w_log2f.c: New file.
605 * sysdeps/generic/w_log2l.c: New file.
606 * sysdeps/generic/s_log2l.c: Move...
607 * sysdeps/generic/e_log2l.c: ...to here. Rename to __ieee754_log2l.
608 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
610 * sysdeps/i386/fpu/s_log2.S: Move...
611 * sysdeps/i386/fpu/e_log2.S: ...to here. Rename to __ieee754_log2.
612 * sysdeps/i386/fpu/s_log2f.S: Move...
613 * sysdeps/i386/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f.
614 * sysdeps/i386/fpu/s_log2l.S: Move...
615 * sysdeps/i386/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l.
616 * sysdeps/m68k/fpu/s_log2.c: Move...
617 * sysdeps/m68k/fpu/e_log2.c: ...to here. Rename to __ieee754_log2.
618 * sysdeps/m68k/fpu/s_log2f.c: Move...
619 * sysdeps/m68k/fpu/e_log2f.c: ...to here. Rename to __ieee754_log2f.
620 * sysdeps/m68k/fpu/s_log2l.c: Move...
621 * sysdeps/m68k/fpu/e_log2l.c: ...to here. Rename to __ieee754_log2l.
622 * sysdeps/ieee754/dbl-64/s_log2.c: Move...
623 * sysdeps/ieee754/dbl-64/e_log2.c: ...to here. Rename to
625 * sysdeps/ieee754/flt-32/s_log2f.c: Move...
626 * sysdeps/ieee754/flt-32/e_log2f.c: ...to here. Rename to
629 2001-06-04 Jakub Jelinek <jakub@redhat.com>
631 * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
632 even arguments which result in denormalized exp2 are accepted.
633 (__exp2): Arguments equal to u_threshold already result into
635 * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
636 * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
637 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
638 low, with corrected lowmark use greaterequal, not greater.
639 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
641 2001-06-04 Jakub Jelinek <jakub@redhat.com>
643 * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
644 * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
645 * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
646 * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
647 * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
648 * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
649 * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
650 * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
652 2001-06-04 Jakub Jelinek <jakub@redhat.com>
654 * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
655 gave non-finite result instead of using constant in generic
657 * sysdeps/generic/w_coshf.c (__coshf): Likewise.
658 * sysdeps/generic/w_cosh.c (__cosh): Likewise.
659 * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
660 (__exp10): Test if finite argument gave non-finite result.
661 * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
663 * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
666 2001-06-04 Jakub Jelinek <jakub@redhat.com>
668 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
669 overflow threshold constant (log(LDBL_MAX)+M_LN2l).
671 2001-05-29 Bruno Haible <haible@clisp.cons.org>
673 * locale/programs/ld-ctype.c (idx_table): New struct type.
674 (idx_table_init, idx_table_get, idx_table_add): New functions.
675 (MAX_CHARNAMES_IDX): Remove macro.
676 (locale_ctype_t): Change type of charnames_idx field.
677 (ctype_startup): Change initialization of charnames_idx field.
678 (find_idx): Use idx_table_get and idx_table_add for speed.
680 * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
681 computation of characters in a range.
683 2001-05-29 Bruno Haible <haible@clisp.cons.org>
685 * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
687 (__ucs_to_gb18030_tab1): Likewise.
688 (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
689 (BODY for TO_LOOP): Likewise.
690 * iconvdata/tst-table-charmap.sh: Update for charmaps containing
692 * iconvdata/tst-table-from.c (bmp_only): New variable.
693 (utf8_decode): If bmp_only, don't return characters outside Unicode
695 (main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print
696 a conversion line if utf8_decode returns NULL.
697 * iconvdata/tst-table-to.c (main): When testing encodings other than
698 UTF-8 and GB18030, loop upto U+30000 instead of U+10000. Use UTF-8
699 instead of UCS-2 as input.
700 * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
703 2001-05-29 Bruno Haible <haible@clisp.cons.org>
705 * iconvdata/cns11643l1.c: Update to Unicode 3.1.
706 (__cns11643l1_to_ucs4_tab): Regenerated.
707 (__cns11643l1_from_ucs4_tab12): Regenerated.
708 * iconvdata/cns11643.c: Update to Unicode 3.1.
709 (__cns11643l14_to_ucs4_tab): Remove array.
710 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
711 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
712 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
713 (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
714 (__cns11643_from_ucs4p2_tab): New array.
715 * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
716 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
717 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
718 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
719 (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
720 (__cns11643_from_ucs4_tab): Remove declaration.
721 (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
723 (ucs4_to_cns11643): Update for new arrays. Treat U+3400..U+4DFF and
725 * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
727 (__cns11643_from_ucs4p0_tab): New declaration.
728 (ucs4_to_cns11643l2): Update for new arrays.
729 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
731 (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
732 * iconvdata/EUC-TW.irreversible: New file.
733 * iconvdata/tst-table.sh: Use it.
734 * iconvdata/Makefile (distribute): Add CP1255.irreversible,
735 CP1258.irreversible, EUC-TW.irreversible.
737 2001-05-29 Bruno Haible <haible@clisp.cons.org>
739 * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
740 mathematical symbols.
742 2001-06-05 Andreas Jaeger <aj@suse.de>
744 * manual/stdio.texi (Portable Positioning): Fix description of
747 2001-06-06 Ulrich Drepper <drepper@redhat.com>
749 * sysdeps/generic/wordexp.c: Undo last patch. Use strndupa instead.
751 * po/sk.po: Update from translation team.
753 2001-06-05 Andreas Jaeger <aj@suse.de>
755 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
756 tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
759 2001-06-05 Ulrich Drepper <drepper@redhat.com>
761 * sysdeps/generic/wordexp.c: Add missing free.
762 Patch by yeti@physics.muni.cz.
764 2001-06-02 Tom Browder <tbrowder@home.com>
766 * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
767 within bounds when lag > 0.
769 2001-06-05 Ulrich Drepper <drepper@redhat.com>
771 * po/tr.po: New file.
773 2001-06-05 Andreas Jaeger <aj@suse.de>
775 * manual/libm-err-tab.pl (parse_ulps): Fix typo.
777 2001-06-04 H.J. Lu <hjl@gnu.org>
779 * sysdeps/alpha/elf/start.S: Add .type for the entry point.
780 * sysdeps/arm/elf/start.S: Likewise.
781 * sysdeps/hppa/elf/start.S: Likewise.
782 * sysdeps/i386/elf/start.S: Likewise.
783 * sysdeps/m68k/elf/start.S: Likewise.
784 * sysdeps/mips/elf/start.S: Likewise.
785 * sysdeps/ia64/elf/start.S: Likewise.
786 * sysdeps/sh/elf/start.S: Likewise.
787 * sysdeps/s390/s390-32/elf/start.S: Likewise.
788 * sysdeps/s390/s390-64/elf/start.S: Likewise.
789 * sysdeps/cris/elf/start.S: Likewise.
791 2001-06-04 Bruce Mitchener <bruce@cubik.org>
793 * manual/resource.texi: Correct setpriority/nice documentation.
795 * sysdeps/unix/nice.c: Correct nice() implementation.
797 2001-06-04 Andreas Jaeger <aj@suse.de>
799 * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
800 Stephen L Moshier <moshier@mediaone.net>.
802 2001-06-03 Roland McGrath <roland@frob.com>
804 * Makefile (postclean): Remove obsolete sysd-Makefile.
806 2001-06-01 Roland McGrath <roland@frob.com>
808 * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
809 and use compat_symbol/versioned_symbol instead of plain
810 symbol_version/default_symbol_version.
811 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
812 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
813 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
814 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
815 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
816 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
817 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
818 * sysdeps/arm/fpu/fegetenv.c: Likewise.
819 * sysdeps/arm/fpu/fesetenv.c: Likewise.
820 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
821 * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
822 * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
823 * sysdeps/i386/fpu/fegetenv.c: Likewise.
824 * sysdeps/i386/fpu/fesetenv.c: Likewise.
825 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
826 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
827 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
828 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
829 * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
830 * sysdeps/m68k/fpu/fegetenv.c: Likewise.
831 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
832 * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
833 * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
834 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
835 * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
836 * sysdeps/powerpc/fclrexcpt.c: Likewise.
837 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
838 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
839 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
840 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
841 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
842 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
844 * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
845 * iconvdata/iso-2022-cn-ext.c: Likewise.
847 2001-06-01 Andreas Jaeger <aj@suse.de>
849 * Versions.def: Add version 2.2.4.
851 2001-06-01 Ulrich Drepper <drepper@redhat.com>
853 * socket/Makefile (routines): Add sockatmark.
854 * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
855 * socket/sys/socket.h: Add prototype for sockatmark.
856 * sysdeps/generic/sockatmark.c: New file.
857 * sysdeps/unix/sockatmark.c: New file.
859 2001-06-01 Andreas Jaeger <aj@suse.de>
861 * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
863 (cfsetospeed): Likewise.
864 Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
866 2001-05-31 Joseph S. Myers <jsm28@cam.ac.uk>
868 * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
870 2001-05-30 Martin Schwidefsky <schwidefsky@de.ibm.com>
872 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
873 needs to have the same aligment as the kernel structure.
875 2001-05-29 Jakub Jelinek <jakub@redhat.com>
877 * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
878 u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
879 * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
880 u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
881 against multiple definition.
883 2001-05-30 Ulrich Drepper <drepper@redhat.com>
885 * po/da.po: Update from translation team.
887 2001-05-29 Andreas Jaeger <aj@suse.de>
889 * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
890 Stephen L Moshier <moshier@mediaone.net>.
892 * math/libm-test.inc (sinh_test): Add new test case.
894 * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
896 Patch by Stephen L Moshier <moshier@mediaone.net>.
898 2001-05-23 Andreas Jaeger <aj@suse.de>
900 * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
901 * iconvdata/testdata/WINDOWS-1255..UTF8: this.
903 2001-05-27 Andreas Jaeger <aj@suse.de>
905 * manual/stdio.texi (String Streams): Fix fmemopen description.
906 Reported by Michal Kochanowicz <michal@michal.waw.pl>.
908 2001-05-26 H.J. Lu <hjl@gnu.org>
910 * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
911 to s_sigsuspend. Add s_mmap2.
913 * sysdeps/mips/atomicity.h: New file.
915 * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
917 * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
920 2001-05-25 Bruce Mitchener <bruce@cubik.org>
922 * manual/ctype.texi: Minor fix.
923 * manual/install.texi: Likewise.
924 * manual/startup.texi: Likewise.
925 * manual/examples/dir.c: Use perror() rather than puts().
927 2001-05-25 David Mosberger <davidm@hpl.hp.com>
929 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
930 #endif directive inside a comment to avoid compiler warnings.
932 2001-05-25 Philipp Thomas <pthomas@suse.de>
934 * nis/nis_print.c (nis_nstype2str): Don't mark names of
935 naming services for translation, only UNKNOWN needs it.
936 Add comment to prevent it for the future.
938 2001-05-25 Joseph S. Myers <jsm28@cam.ac.uk>
940 * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
941 3.1 and non-GCC C99 compilers.
943 2001-05-22 David Mosberger <davidm@hpl.hp.com>
945 * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
947 * sysdeps/ia64/memcpy.S: Likewise.
949 * sysdeps/ia64/bcopy.S: New file.
951 * sysdeps/ia64/bzero.S: New file (derived from memset.S).
953 2001-05-26 Ulrich Drepper <drepper@redhat.com>
955 * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
957 2001-05-24 Ulrich Drepper <drepper@redhat.com>
959 * iconvdata/Makefile: Add rules for CP10007.
960 * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
961 * iconvdata/cp10007.c: New file.
962 * iconvdata/tst-tables.sh: Add CP10007.
964 2001-05-23 kaz Kojima <kkojima@rr.iij4u.or.jp>
966 * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
967 (_dl_runtime_profile): Likewise..
969 2001-05-23 Thorsten Kukuk <kukuk@suse.de>
971 * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
972 * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
974 2001-05-19 H.J. Lu <hjl@gnu.org>
976 * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
977 errstring of the failed DSO to _dl_signal_error ().
979 2001-05-23 Ulrich Drepper <drepper@redhat.com>
981 * iconvdata/gconv-modules: Add more aliases to enable use in
984 2001-05-23 Andreas Jaeger <aj@suse.de>
986 * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
987 Remove, it's not used anywhere anymore.
988 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
989 (CFLAGS-initfini.s): Likewise.
990 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
991 (CFLAGS-initfini.s): Likewise.
992 * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
994 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
997 2001-05-21 Bruno Haible <haible@clisp.cons.org>
999 * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
1000 use 0 instead, and rely on the converter to do the flush.
1001 * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
1003 (utf8_test_2, utf8_test_3): New function.
1004 (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
1006 2001-05-22 Jakub Jelinek <jakub@redhat.com>
1008 * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
1010 * elf/Makefile (distribute): Add reldep4mod[1234].c.
1011 (tests): Add reldep4.
1012 (modules-names): Add reldep4mod[1234].
1013 (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
1014 * elf/reldep4.c: New file.
1015 * elf/reldep4mod1.c: Likewise.
1016 * elf/reldep4mod2.c: Likewise.
1017 * elf/reldep4mod3.c: Likewise.
1018 * elf/reldep4mod4.c: Likewise.
1020 2001-05-18 Jakub Jelinek <jakub@redhat.com>
1022 * elf/dl-lookup.c (PROTECTED): Remove defines.
1023 (add_dependency): Mark it with internal_function.
1024 (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
1025 (_dl_lookup_symbol, _dl_lookup_symbol_skip,
1026 _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
1027 it if we don't want do_lookup* inlined.
1029 2001-05-18 Jakub Jelinek <jakub@redhat.com>
1031 * include/link.h (struct r_scope_elem): Remove r_duplist and
1033 * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
1034 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
1036 (_dl_lookup_versioned_symbol_skip): Likewise.
1037 * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
1038 (_dl_map_object_deps): Don't compute duplicate list.
1040 * elf/dl-symbol.c: Removed.
1041 * elf/Makefile (routines): Remove dl-symbol.
1043 2001-05-22 Ulrich Drepper <drepper@redhat.com>
1045 * po/el.po: Update from translation team.
1046 * po/sv.po: Likewise.
1048 2001-05-20 Bruno Haible <haible@clisp.cons.org>
1050 * iconvdata/cp1255.c: Completely rewritten.
1051 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
1052 * iconvdata/testdata/WINDOWS-1255: New file.
1053 * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
1054 * iconvdata/TESTS: Add WINDOWS-1255 test.
1055 * iconvdata/CP1255.irreversible: New file.
1057 2001-05-20 Bruno Haible <haible@clisp.cons.org>
1059 * iconvdata/cp1258.c: Completely rewritten.
1060 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
1061 * iconvdata/testdata/WINDOWS-1258: New file.
1062 * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
1063 * iconvdata/TESTS: Add WINDOWS-1258 test.
1064 * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
1065 the main call, and flush it afterwards.
1066 (utf8_decode): Return a string, possibly containing several Unicode
1068 (main): Update all utf8_decode calls.
1069 * iconvdata/CP1258.irreversible: New file.
1071 2001-05-20 Bruno Haible <haible@clisp.cons.org>
1073 * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
1074 * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2. In the
1075 first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
1076 EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
1077 the next step. In the second case, clear the state without calling
1079 * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
1080 data->__outbuf, and outend instead of data->__outbufend.
1081 * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
1082 * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
1083 * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
1084 * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
1085 * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
1086 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
1087 * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
1088 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
1089 * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
1091 2001-05-21 Jakub Jelinek <jakub@redhat.com>
1093 * elf/rtld.c (dl_main): Compute l_map_end for the main program.
1094 * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
1095 If match == _dl_loaded, caller can still come from the main program.
1096 (_dl_vsym): Likewise.
1097 * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
1098 * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
1099 * elf/restest2.c: New test.
1100 * elf/Makefile (tests): Add restest2.
1101 (restest2, LDFLAGS-restest2): Add rules.
1103 2001-05-22 Ulrich Drepper <drepper@redhat.com>
1105 * intl/Makefile: Add a few more dependencies to avoid races in the
1108 2001-05-22 Andreas Jaeger <aj@suse.de>
1110 * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
1111 Stephen L Moshier <moshier@mediaone.net>.
1113 2001-05-22 Martin Schwidefsky <schwidefsky@de.ibm.com>
1115 * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
1116 return addresses instead of the stack pointers.
1117 * sysdeps/s390/s390-64/backtrace.c: Likewise.
1119 2001-05-21 Jakub Jelinek <jakub@redhat.com>
1121 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
1122 bits/sigcontext.h instead of bits/sigstack.h.
1123 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
1124 multiple-inclusion guards.
1126 2001-05-21 Andreas Jaeger <aj@suse.de>
1128 * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
1129 Patch by Philipp Thomas <pthomas@suse.de>.
1131 2001-05-17 Bruce Mitchener <bruce@cubik.org>
1133 * manual/arpg.texi: Spelling, misc fixes.
1134 * manual/arith.texi: Likewise.
1135 * manual/crypt.texi: Likewise.
1136 * manual/debug.texi: Likewise.
1137 * manual/getopt.texi: Likewise.
1138 * manual/intro.texi: Likewise.
1139 * manual/memory.texi: Likewise.
1140 * manual/nss.texi: Likewise.
1141 * manual/pattern.texi: Likewise.
1142 * manual/process.texi: Likewise.
1143 * manual/resource.texi: Likewise.
1144 * manual/search.texi: Likewise.
1145 * manual/setjmp.texi: Likewise.
1146 * manual/signal.texi: Likewise.
1147 * manual/socket.texi: Likewise.
1148 * manual/stdio.texi: Likewise.
1149 * manual/string.texi: Likewise.
1150 * manual/sysinfo.texi: Likewise.
1151 * manual/terminal.texi: Likewise.
1152 * manual/llio.texi: Document madvise().
1154 2001-05-20 Roland McGrath <roland@frob.com>
1156 * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
1157 found within $(add-ons) directories too.
1158 [linuxthreads add-on]: Move variable settings for linuxthreads
1159 to new file linuxthreads/Makeconfig.
1161 2001-05-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1163 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
1164 Define for linux >= 2.4.5 on powerpc.
1165 (__ASSUME_MMAP2_SYSCALL): Likewise.
1167 2001-05-19 Roland McGrath <roland@frob.com>
1169 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
1170 result port when failing with ELOOP. Do the ELOOP check when
1171 following an absolute symlink target as well as relative.
1172 Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
1174 2001-05-18 Andreas Jaeger <aj@suse.de>
1176 * po/fr.po: Free software is "logiciel libre".
1177 Patch by Martin Michlmayr <tbm@cyrius.com>.
1179 * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
1180 Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
1182 2001-05-17 David Mosberger <davidm@hpl.hp.com>
1184 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
1186 2001-05-17 Ulrich Drepper <drepper@redhat.com>
1188 * elf/dl-profile.c (_dl_mcount): Check whether state is
1189 GMON_PROF_ON before doing anything.
1191 2001-05-17 H.J. Lu <hjl@gnu.org>
1193 * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
1195 2001-05-17 Ulrich Drepper <drepper@redhat.com>
1197 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
1198 CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
1199 Reported by Mark Burton <markb@ordern.com>.
1201 2001-05-17 Jakub Jelinek <jakub@redhat.com>
1203 * elf/ldconfig.c (add_dir): Only warn about stat failure if
1205 (search_dir): Likewise.
1207 2001-05-17 Ulrich Drepper <drepper@redhat.com>
1209 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
1210 parameter of xaddl. Patch by H . J . Lu <hjl@lucon.org>.
1212 2001-05-14 Bruno Haible <haible@clisp.cons.org>
1214 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
1215 without previous announcement, reject it regularly, don't abort.
1217 2001-05-16 Ulrich Drepper <drepper@redhat.com>
1219 * math/tgmath.h: Fix handling of int parameters to binary and
1220 ternary functions. Reported by mitr@volny.cz.
1222 * math/test-tgmath.c: Add tests for calls with integer parameters.
1224 2001-05-15 Jakub Jelinek <jakub@redhat.com>
1226 * sunrpc/rpc_thread.c (rpc_default): Remove.
1227 (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
1229 (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
1230 __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
1231 * sunrpc/auth_none.c (authnone_private): Fix a typo.
1233 2001-05-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
1235 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
1237 2001-05-16 Bruce Mitchener <bruce@cubik.org>
1239 * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
1241 2001-05-15 Andreas Jaeger <aj@suse.de>
1243 * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
1244 Stephen L Moshier <moshier@mediaone.net>.
1246 * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
1248 * math/libm-test.inc: Add comment with ToDo.
1250 * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
1251 accurate algorithm. Patch by Stephen L Moshier <moshier@mediaone.net>.
1253 * sysdeps/i386/fpu/e_expl.S: Removed.
1255 2001-05-14 Roland McGrath <roland@frob.com>
1257 * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
1258 static pattern rule also that also covers
1259 $(objpx)g$(static-start-installed-name).
1260 [$(start-installed-name) != $(static-start-installed-name)]
1261 (extra-objs, omit-deps, install-lib): Add
1262 $(static-start-installed-name) and g$(static-start-installed-name).
1263 * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
1264 just setting static-start-installed-name is now sufficient.
1265 (extra-objs): Add static-start.o here.
1266 (CFLAGS-initfini.s): Remove obsolete variable.
1267 * sysdeps/mach/hurd/i386/Makeconfig: New file.
1268 Define static-start-installed-name here.
1270 * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
1271 * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
1273 * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
1274 associated hair. Instead, just use $(wildcard ...) in the include.
1276 * configure.in (critic_missing, aux_missing): Collect in these vars
1277 the names of the missing programs, and include them in the error msgs.
1278 * configure: Regenerated.
1280 2001-05-14 Andreas Jaeger <aj@suse.de>
1282 * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
1284 * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
1286 2001-05-14 Stephen L Moshier <moshier@mediaone.net>
1288 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
1290 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1292 * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
1293 as well if swapping strings.
1294 Make sure stop is not past end of second string.
1295 * posix/bug-regex4.c: New test.
1296 * posix/Makefile (tests): Add bug-regex4.
1298 2001-05-10 Andreas Jaeger <aj@suse.de>
1300 * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
1303 2001-05-12 Andreas Jaeger <aj@suse.de>
1305 * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
1306 internal prototypes.
1307 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1308 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1309 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1310 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1311 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1312 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1313 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1315 * math/math_private.h: Add prototypes for internal functions of
1316 the IBM Accurate Mathematical Library.
1318 * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
1320 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1322 * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
1323 internal prototypes.
1324 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1325 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1326 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1327 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1328 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1329 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1330 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1331 * sysdeps/generic/e_rem_pio2l.c: Likewise.
1332 (__ieee754_rem_pio2l): Fix prototype.
1334 * math/math_private.h (__copysign): Add internal prototype.
1336 2001-05-11 Andreas Jaeger <aj@suse.de>
1338 * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
1339 * sysdeps/unix/sysv/linux/mips/configure.in: ...here. New file.
1341 2001-05-11 Andreas Jaeger <aj@suse.de>
1343 * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
1346 * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
1347 format directive. Patch by Steven J. Hill <sjhill@cotw.com>.
1349 2001-05-11 Roland McGrath <roland@frob.com>
1351 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
1352 $(build-module) here, since we don't need the full magilla.
1353 Just use $(build-module-helper) and append our special options.
1355 2001-05-09 Andreas Schwab <schwab@suse.de>
1357 * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
1360 2001-05-07 H.J. Lu <hjl@gnu.org>
1362 * elf/ldconfig.c (dir_entry): Add ino and dev.
1363 (add_single_dir): Compare ino and dev to check if 2 directory
1364 paths are the same or not. Free entry->path for duplicates.
1365 (add_dir): Initialize ino and dev for entry.
1366 (search_dir): Handle symlink to directory.
1368 2001-05-07 Andreas Jaeger <aj@suse.de>
1370 * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
1372 * math/libm-test.inc (exp_test): Add some more tests.
1373 (pow_test): Run double only test also for long double.
1375 * math/test-ldouble.c (TEST_LDOUBLE): Define.
1376 * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
1378 * sysdeps/generic/bits/confname.h: Remove extra comma at end of
1380 Closes PR libc/2240.
1382 * scripts/config.guess: Imported from gnu.org.
1383 * scripts/config.sub: Likewise.
1385 2001-05-05 Jakub Jelinek <jakub@redhat.com>
1387 * include/features.h (__USE_EXTERN_INLINES): Don't define if
1388 __NO_INLINE__ is defined.
1389 * ctype/ctype.h (tolower, toupper): Change the guard condition to
1390 __USE_EXTERN_INLINES check only.
1391 * stdlib/stdlib.h (strtod, ...): Likewise.
1392 * wcsmbs/wchar.h (mbrlen): Likewise.
1393 * string/string.h: Only include bits/string.h and bits/string2.h
1394 if __NO_INLINE__ is not defined.
1396 2001-05-07 Andreas Jaeger <aj@suse.de>
1398 * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
1401 2001-05-04 H.J. Lu <hjl@gnu.org>
1403 * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
1406 2001-05-06 Andreas Jaeger <aj@suse.de>
1408 * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
1409 * sysdeps/i386/fpu/e_fmodl.S: Removed.
1410 * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
1411 * sysdeps/i386/fpu/e_atan2l.S: Removed.
1412 * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
1413 * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
1414 * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
1415 * sysdeps/i386/fpu/e_acosl.S: Removed.
1416 * sysdeps/i386/fpu/s_atanl.S: Removed.
1417 * sysdeps/i386/fpu/e_sqrtl.S: Removed.
1419 2001-05-05 Mark Kettenis <kettenis@gnu.org>
1421 * sysdeps/mach/hurd/bits/environments.h: Add comment from
1422 sysdeps/generic/bits/environments.h. Define _POSIX_V6_* values.
1424 2001-04-30 Jakub Jelinek <jakub@redhat.com>
1426 * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
1427 that _CS_LFS_CFLAGS can fall through to the empty returned string
1428 case. Add FALLTHROUGH comment.
1430 2001-04-29 Ralf Baechle <ralf@gnu.org>
1432 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
1433 definitions match the kernel definitions.
1434 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1435 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
1437 2001-04-29 Ben Collins <bcollins@debian.org>
1439 * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
1441 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
1442 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1443 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1444 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
1445 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
1446 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1447 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1448 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1449 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1450 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1451 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1452 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1453 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
1454 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1455 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
1456 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1457 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1458 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1459 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1460 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
1461 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
1462 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
1463 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1465 2001-04-29 Andreas Schwab <schwab@suse.de>
1467 * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
1470 2001-04-29 Andreas Jaeger <aj@suse.de>
1472 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1473 Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
1475 * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
1477 (AF_WANPIPE): Likewise.
1480 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
1481 for Linux generic version.
1482 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
1483 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1484 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1485 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
1487 * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
1489 2001-04-27 Ulrich Drepper <drepper@redhat.com>
1491 * nis/nss-nis.h: Correct test for invalid error number.
1492 * nis/nss-nisplus.h: Likewise.
1494 * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
1496 2001-04-26 Ulrich Drepper <drepper@redhat.com>
1498 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
1500 * string/strcoll.c: Fix two memory allocation problems.
1501 * string/Makefile (tests): Add bug-strcoll1.
1502 * string/bug-strcoll1.c: New file.
1504 * malloc/mcheck.c (mcheck): Call malloc once before setting the
1505 hooks to allow the internal check hooks to be set up if necessary.
1507 * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
1508 and rename to __yperr2nss_tab. Change YPERR_COUNT into variable
1510 * nis/nss-nis.c: New file.
1511 * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
1512 and rename to __niserr2nss_tab. Change NISERR_COUNT into variable
1514 * nis/nss-nisplus.c: New file.
1515 * nis/Makefile (libnss_compat-routines): Add nss-nis.
1516 (libnss_nis-routines): Likewise.
1517 (libnss_nisplus-routines): Add nss-nisplus.
1519 * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
1520 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1521 * nis/nss_nisplus/nisplus-grp.c: Likewise.
1522 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1523 * nis/nss_nisplus/nisplus-network.c: Likewise.
1524 * nis/nss_nisplus/nisplus-proto.c: Likewise.
1525 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1526 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1527 * nis/nss_nisplus/nisplus-service.c: Likewise.
1528 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1529 * nis/nss_nis/nis-alias.c: Likewise.
1530 * nis/nss_nis/nis-ethers.c: Likewise.
1531 * nis/nss_nis/nis-grp.c: Likewise.
1532 * nis/nss_nis/nis-network.c: Likewise.
1533 * nis/nss_nis/nis-proto.c: Likewise.
1534 * nis/nss_nis/nis-pwd.c: Likewise.
1535 * nis/nss_nis/nis-spwd.c: Likewise.
1536 * nis/nss_compat/compat-grp.c: Likewise.
1537 * nis/nss_compat/compat-initgroups.c: Likewise.
1538 * nis/nss_compat/compat-pwd.c: Likewise.
1539 * nis/nss_compat/compat-spwd.c: Likewise.
1541 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
1542 optimizations. Patch by Jakub Jelinek <jakub@redhat.com>.
1544 2001-04-26 Andreas Jaeger <aj@suse.de>
1546 * po/zh_TW.po: Update.
1547 Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
1549 2001-04-25 Ulrich Drepper <drepper@redhat.com>
1551 * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
1552 compiler command line.
1553 * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
1554 command line for malloc.c.
1556 2001-04-25 Jakub Jelinek <jakub@redhat.com>
1558 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
1559 * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
1560 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
1561 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
1562 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here. Adjust
1563 struct msghdr for __WORDSIZE == 32.
1564 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
1565 * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust
1566 for __WORDSIZE == 32.
1567 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
1568 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
1570 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
1571 Rename from longjmp, make longjmp weak alias to it.
1573 2001-04-24 David S. Miller <davem@redhat.com>
1575 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
1577 2001-04-25 Matthew Wilcox <willy@ldl.fc.hp.com>
1579 * sysdeps/hppa/stackinfo.h: New file.
1580 * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
1581 * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
1582 * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
1583 * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
1584 of PA kernel features.
1586 2001-04-25 Ulrich Drepper <drepper@redhat.com>
1588 * locale/programs/localedef.c (main): Always set a file name for
1590 * locale/programs/locfile.c (locfile_read): filename is allowed to
1593 2001-04-12 Paul Bame <paul_bame@hp.com>
1595 * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
1598 2001-04-24 Ulrich Drepper <drepper@redhat.com>
1600 * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
1601 _XBS5_LPBIG_OFFBIG): Define to -1.
1604 * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
1605 * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
1606 * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1607 * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1609 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
1610 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
1612 2001-03-21 Alan Modra <alan@one.net.au>
1614 * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
1615 value from application so that constructors in non-PIC libs work.
1617 2000-12-13 Jes Sorensen <jes@linuxcare.com>
1619 * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
1620 function pointer, hence load the jump address and gp from the
1621 function pointer before jumping.
1623 2001-04-24 Andreas Jaeger <aj@suse.de>
1625 * sysdeps/generic/send.c (__send): Return ssize_t.
1626 * sysdeps/mach/hurd/send.c (__send): Likewise.
1627 * sysdeps/mach/hurd/recv.c (recv): Likewise.
1628 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
1629 * sysdeps/generic/sendto.c (sendto): Likewise.
1630 * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
1631 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
1632 * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
1633 * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
1635 * socket/sys/socket.h: send* and recv* return ssize_t.
1637 * include/sys/socket.h: send returns ssize_t.
1639 * sysdeps/i386/fpu_control.h: Fix comments.
1641 2001-04-24 Ulrich Drepper <drepper@redhat.com>
1643 * sysdeps/ia64/Dist: Add hp-timing.c.
1644 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
1645 * posix/Makefile (distribute): Add tst-getconf.sh.
1646 * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
1648 2001-04-23 Ulrich Drepper <drepper@redhat.com>
1650 * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
1651 * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
1652 * sysdeps/ia64/hp-timing.c: New file.
1653 * sysdeps/ia64/hp-timing.h: New file.
1654 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
1655 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1657 * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
1658 using #ifdef whether the clock is available.
1659 * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
1661 * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
1662 it into data section.
1664 * sysdeps/unix/i386/i586/clock_getres.c: Removed.
1665 * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
1666 * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
1667 * sysdeps/unix/i386/i586/clock_settime.c: Removed.
1668 * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
1669 * sysdeps/generic/cpuclock-init.h: Removed.
1670 * sysdeps/unix/i386/i686/Implies: Removed.
1671 * sysdeps/unix/i386/i686/tempname.c: Removed.
1672 * sysdeps/i386/i686/Versions: New file.
1673 * sysdeps/unix/i386/i586/Versions: Removed.
1675 * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
1676 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1677 * sysdeps/unix/clock_gettime.c: Likewise.
1678 * sysdeps/unix/clock_nanosleep.c: Likewise.
1679 * sysdeps/unix/clock_settime.c: Likewise.
1680 * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
1681 RANDOM_BITS use CPU clock.
1683 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
1684 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
1685 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
1686 * sysdeps/sparc/Versions: New file.
1688 * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
1689 hp-timing.h definitions.
1690 * sysdeps/generic/dl-sysdep.c: Likewise.
1692 * include/libc-internal.h: Include hp-timing.h. Use hp_timing_t in
1693 __get_clockfreq prototype.
1695 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1696 Use hp_timing_t type.
1697 * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
1699 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
1701 * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
1702 whether named file is a regular file or a block device.
1703 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
1705 2001-04-23 Andreas Jaeger <aj@suse.de>
1707 * nscd/nscd.h: Add noreturn attribute for start_threads.
1709 2001-04-22 Ulrich Drepper <drepper@redhat.com>
1711 * posix/getconf.c: Fix names of XBS5 LFS test variables.
1712 Add missing configuration variables from XPG6.
1713 * posix/tst-getconf.c: New file.
1714 * posix/Makefile (generated): Add tst-getconf.out.
1715 (tests): Add ($objpfx)tst-getconf.out.
1716 Add rule to run tst-getconf.sh.
1717 * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
1719 * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
1721 * sysdeps/posix/pathconf.c: Likewise.
1722 * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
1723 and _SC_SYMLOOP_MAX.
1725 2001-04-22 Philip Blundell <philb@gnu.org>
1727 * sysdeps/arm/fpu/feenablxcpt.c: New file.
1728 * sysdeps/arm/fpu/fedisablxcpt.c: New file.
1729 * sysdeps/arm/fpu/fegetexcpt.c: New file.
1731 2001-04-22 Philip Blundell <philb@gnu.org>
1733 * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
1734 Renamed from struct user_fp.
1735 (struct user_regs): New.
1736 (struct user): Use struct user_regs rather than struct pt_regs to
1737 avoid dependency on asm/ptrace.h. Use struct user_fpregs in place
1738 of struct user_fp and struct user_fp_struct.
1739 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
1742 2001-04-22 Philip Blundell <philb@gnu.org>
1744 * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
1745 sys/procfs.h, and tell the user to include that file instead.
1746 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
1747 surrounded with #if 0.
1748 (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
1750 (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
1751 elf_fpregset_t respectively.
1753 2001-04-22 Philip Blundell <philb@gnu.org>
1755 * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
1756 address that faulted.
1758 2001-04-21 Ulrich Drepper <drepper@redhat.com>
1760 * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
1762 * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
1763 * posix/confstr.c: Handle _CS_POSIX_V6_* values.
1764 * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
1765 * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
1767 * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
1768 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1769 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1770 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
1772 2001-04-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1774 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
1777 2001-04-21 Ulrich Drepper <drepper@redhat.com>
1779 * posix/getopt.h: Treat __cplusplus like __STDC__.
1781 2001-04-20 John S. Marvin <jsm@fc.hp.com>
1783 * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
1786 2001-04-20 Richard Hirst <rhirst@linuxcare.com>
1788 * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
1789 and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
1791 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
1792 entry so the ptrace.c wrapper is used.
1794 2001-04-20 Alan Modra <amodra@one.net.au>
1796 * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
1797 (DL_FUNCTION_ADDRESS): Define.
1798 (DL_DT_INIT_ADDRESS): Define.
1799 (DL_DT_FINI_ADDRESS): Define.
1800 * sysdeps/hppa/Versions: Add _dl_function_address.
1801 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
1802 * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
1803 _dl_function_address.
1805 2001-04-21 Andreas Jaeger <aj@suse.de>
1807 * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
1808 * resolv/gai_misc.c (handle_requests): Likewise.
1809 * malloc/obstack.c (print_and_abort): Likewise.
1810 * malloc/mcheck.c (mabort): Likewise.
1812 * sysdeps/unix/i386/i586/clock_settime.c: Include
1813 "libc-internal.h" for __get_clockfreq declaration.
1815 2001-04-21 Ulrich Drepper <drepper@redhat.com>
1817 * elf/dl-support.c: Include cpuclock-init.h. Use CPUCLOCK_VARDEF and
1818 CPUCLOCK_INIT if defined.
1819 * sysdeps/generic/dl-sysdep.c: Likewise.
1820 * sysdeps/generic/cpuclock-init.h: New file.
1821 * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
1822 * sysdeps/unix/i386/i586/Versions: New file.
1823 * sysdeps/unix/i386/i586/clock_settime.c: New file.
1824 * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
1825 separately by calling __pthread_clock_gettime if this function is
1826 available. Subtract offset from tsc value before computing time value.
1828 2001-04-20 Ulrich Drepper <drepper@redhat.com>
1830 * iconv/iconv_prog.c (print_known_names): If printing goes not to
1831 a tty print in a more machine-friendly way.
1833 * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
1834 Contributed by Stephen L Moshier <moshier@mediaone.net>.
1836 2001-04-20 Andreas Jaeger <aj@suse.de>
1838 * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
1840 2001-04-20 Andreas Schwab <schwab@suse.de>
1842 * sysdeps/m68k/fpu/libm-test-ulps: Update.
1844 2001-04-19 Alan Modra <amodra@one.net.au>
1846 * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
1847 * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
1848 (CFLAGS-.os): Remove.
1850 * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
1852 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
1853 gregset): Correct for new kernel definitions.
1855 2001-04-19 Alan Modra <alan@linuxcare.com.au>
1857 * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
1858 generate unwind info by hand.
1860 2001-04-19 Ulrich Drepper <drepper@redhat.com>
1862 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
1864 * configure.in: Correct regular expression for msgfmt.
1865 Patch by Bruno Haible <haible@ilog.fr>.
1867 2001-04-19 Andreas Jaeger <aj@suse.de>
1869 * po/el.po: Add comment explaining what's broken.
1871 * po/Makefile (BROKEN_LINGUAS): New.
1872 (ALL_LINGUAS): Don't add broken languages.
1874 2001-04-19 Roland McGrath <roland@frob.com>
1876 * sysdeps/mach/hurd/mlock.c: New file.
1877 * sysdeps/mach/hurd/munlock.c: New file.
1878 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
1880 * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
1881 * sysdeps/generic/mlock.c: New file.
1882 * sysdeps/generic/munlock.c: New file.
1883 * sysdeps/generic/mlockall.c: New file.
1884 * sysdeps/generic/munlockall.c: New file.
1885 * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
1886 * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
1887 mlockall, munlockall): Change caller field to - from EXTRA.
1888 Don't use __ names; not used (and not declared in include/sys/mman.h).
1890 * hurd/privports.c (__get_privileged_ports): Renamed with __.
1891 Use __ names for calls we make.
1892 (get_privileged_ports): Add alias.
1893 * hurd/hurd.h: Declare it with the __ name.
1894 * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
1895 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
1896 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
1898 * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
1899 nothing if it's zero.
1901 2001-04-19 Matthew Wilcox <willy@ldl.fc.hp.com>
1903 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
1904 Change to return a signed result for compatibility with other
1905 architectures, and correctness.
1907 2001-04-19 Ulrich Drepper <drepper@redhat.com>
1909 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
1910 HPPA always had them. Patch by Matthew Wilcox <matthew@wil.cx>.
1912 2001-04-19 Andreas Jaeger <aj@suse.de>
1914 * configure.in: Require gettext 0.10.36 or newer.
1916 * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
1918 * po/zh_TW.po: Remove extraneous backslashes.
1920 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
1923 2001-04-18 Jakub Jelinek <jakub@redhat.com>
1925 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
1926 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
1927 * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
1928 * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
1929 Copy first word of uc_sigmask into __uc_sigmask.
1930 * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
1931 Save uc_link around trap. Copy __uc_sigmask into first word of
1932 uc_sigmask, clear the rest. Make sure setcontext to the created
1933 context doesn't do this though.
1934 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
1935 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
1936 uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
1937 64bit version, make uc_sigmask __sigset_t in the 32bit version.
1939 2001-04-19 Andreas Jaeger <aj@suse.de>
1941 * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
1943 * rt/Makefile (otherlibs): Added for static NSS.
1945 * glibcbug.in (BUGGLIBC): Send to new alias.
1947 2001-04-02 Andreas Schwab <schwab@suse.de>
1949 * Makerules (build-module): Make sure exit codes get checked
1950 properly and remove unnecessary slashes.
1952 2001-04-17 Ulrich Drepper <drepper@redhat.com>
1954 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1955 Handle kernels which report only three digits after the decimal point.
1956 Reported by Van Okamura <van.okamura@oracle.com>.
1958 * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
1960 2001-04-17 David S. Miller <davem@redhat.com>
1962 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
1963 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1965 2001-04-17 Jakub Jelinek <jakub@redhat.com>
1967 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
1968 desired exceptions are raised for exceptional values.
1969 * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
1970 cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
1971 clog_test, log_test, log1p_test, tan_test): Increase precision of
1972 expected values to satisfy ldbl-128.
1973 * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
1974 * sysdeps/arm/libm-test-ulps: Likewise.
1975 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1976 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1977 * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
1978 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
1979 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1980 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1981 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1982 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
1983 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1985 2001-04-17 Andreas Jaeger <aj@suse.de>
1987 * configure.in: Move test for critical programs up.
1989 2001-04-16 Stephen L Moshier <moshier@mediaone.net>
1991 * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
1993 (pSx, qSx): Replace by shorter approximation.
1994 Use f suffix on float constants.
1996 2001-04-16 Ulrich Drepper <drepper@redhat.com>
1998 * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
1999 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2001 * string/string.h: Replace const in attribute list with __const__.
2003 2001-04-16 Roland McGrath <roland@frob.com>
2005 * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
2006 instead of the constant NGROUPS_MAX. That way, the limit can be
2007 raised in the kernel configuration without having to recompile libc.
2009 * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
2010 define NGROUPS_MAX; we don't use it here.
2012 2001-04-16 Andreas Jaeger <aj@suse.de>
2014 * math/libm-test.inc (atan2_test): Add more testcases.
2016 * iconv/gconv_db.c: Include gconv_charset.h for
2017 __gconv_lookup_alias prototype.
2019 2001-04-13 Ulrich Drepper <drepper@redhat.com>
2021 * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
2022 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2024 2001-04-13 Jes Sorensen <jes@linuxcare.com>
2026 * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
2028 2001-04-13 Jes Sorensen <jes@linuxcare.com>
2030 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
2031 explicitly pad struct siginfo instead of relying on compiler padding.
2033 2001-04-12 Ulrich Drepper <drepper@redhat.com>
2035 * sysdeps/ia64/Dist: Add elf/entry.h.
2037 * iconvdata/Makefile (distribute): Add TESTS2.
2039 2001-04-13 Jakub Jelinek <jakub@redhat.com>
2041 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
2042 Calculate load address differently.
2044 2001-04-12 Bruno Haible <haible@clisp.cons.org>
2046 * iconvdata/TESTS2: New file.
2047 * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
2048 * iconvdata/testdata/alfabeta..UTF-8: New file.
2049 * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
2050 * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
2051 * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
2052 * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
2054 2001-04-11 Bruno Haible <haible@clisp.cons.org>
2056 * iconvdata/utf-32.c: New file.
2057 * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
2058 * iconvdata/Makefile (modules): Add UTF-32.
2059 (distribute): Add utf-32.c.
2061 2001-04-11 Bruno Haible <haible@clisp.cons.org>
2063 * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
2064 changing it in the state. After incrementing 'inptr', store it back.
2065 * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
2068 2001-04-11 Bruno Haible <haible@clisp.cons.org>
2070 * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
2073 2001-04-11 David Mosberger <davidm@hpl.hp.com>
2075 * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
2076 * sysdeps/ia64/htons.S: Likewise.
2078 * sysdeps/ia64/memset.S: Add unwind directives.
2079 * sysdeps/ia64/strncpy.S: Likewise.
2080 * sysdeps/ia64/strcat.S: Likewise.
2082 * sysdeps/ia64/memccpy.S: Add unwind directives. Drop superfluous
2084 * sysdeps/ia64/strchr.S: Likewise.
2085 * sysdeps/ia64/memmove.S: Likewise.
2086 * sysdeps/ia64/memcpy.S: Likewise.
2087 * sysdeps/ia64/memcmp.S: Likewise.
2088 * sysdeps/ia64/memchr.S: Likewise.
2089 * sysdeps/ia64/strcmp.S: Likewise.
2090 * sysdeps/ia64/strlen.S: Likewise.
2091 * sysdeps/ia64/strcpy.S: Likewise.
2092 * sysdeps/ia64/strncmp.S: Likewise.
2094 2001-04-11 Jakub Jelinek <jakub@redhat.com>
2096 * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
2097 fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
2098 fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
2099 fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
2101 2001-04-11 Andreas Jaeger <aj@suse.de>
2103 * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
2105 2001-04-11 Andreas Schwab <schwab@suse.de>
2107 * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
2109 2001-04-11 Ulrich Drepper <drepper@redhat.com>
2111 * sysdeps/arm/stackinfo.h: New file.
2113 2001-04-08 Thorsten Kukuk <kukuk@suse.de>
2115 * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
2116 rpcgen to generate thread safe code.
2118 2001-04-10 Andreas Jaeger <aj@suse.de>
2120 * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
2122 2001-04-10 Ulrich Drepper <drepper@redhat.com>
2124 * elf/dl-minimal.c (__assert_fail): Change error string. It's
2125 most of the time no bug in ld.so.
2126 (__assert_perror_fail): Likewise.
2128 2001-04-11 Hans-Peter Nilsson <hp@axis.com>
2130 * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
2131 from struct to unsigned int.
2133 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2135 * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
2136 AT_IGNOREPPC): New defines.
2137 * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
2138 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
2139 Define for newer powerpc kernels.
2140 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
2141 DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
2143 2000-4-10 kaz Kojima <kkojima@rr.iij4u.or.jp>
2145 * sysdeps/sh/stackinfo.h: New file.
2147 2001-04-10 Ulrich Drepper <drepper@redhat.com>
2149 * locale/tst-C-locale.c (run_test): Add tests for locale objects.
2150 * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
2151 __ctype_tolower, and __ctype_toupper elements.
2153 * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
2154 Reported by Konstantin Osipov <rabid@spylog.ru>.
2156 * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
2159 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2161 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
2162 * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
2163 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
2164 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
2166 2001-04-10 Ulrich Drepper <drepper@redhat.com>
2168 * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
2169 message. Based on a patch by HJ Lu.
2171 2001-04-10 Andreas Schwab <schwab@suse.de>
2173 * math/libm-test.inc (csinh_test): Don't require the invalid
2174 exception for csinh (x + iNaN), but make it optional.
2176 2001-04-09 David Mosberger <davidm@hpl.hp.com>
2178 * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
2180 * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
2181 * sysdeps/ia64/elf/entry.h: New file.
2182 * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
2184 * elf/rtld.c: Don't declare ENTRY_POINT. Use ENTRY_POINT instead
2186 * sysdeps/generic/dl-sysdep.c: Likewise.
2187 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2188 * sysdeps/ia64/elf/start.S: Save base address of register backing
2189 store in __libc_ia64_register_backing_store_base.
2191 2001-04-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
2193 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
2194 value of getcontext.
2195 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2196 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
2197 value of setcontext.
2198 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2199 * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
2200 call by changing the saved context.
2202 2001-04-10 Ulrich Drepper <drepper@redhat.com>
2204 * sysdeps/alpha/stackinfo.h: New file.
2205 * sysdeps/ia64/stackinfo.h: New file.
2207 2001-04-10 Andreas Schwab <schwab@suse.de>
2209 * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
2211 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
2213 2001-04-09 Ulrich Drepper <drepper@redhat.com>
2215 * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
2216 * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
2218 * libio/Makefile (distribute): Add fd_to_filename.h.
2220 2001-04-05 David S. Miller <davem@redhat.com>
2222 Add hp-timing support for sparcv9/sparc64 targets.
2223 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
2224 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
2225 * sysdeps/sparc/sparc64/hp-timing.c: New file
2226 * sysdeps/sparc/sparc64/hp-timing.h: New file
2227 * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
2228 * sysdeps/sparc/sparc64/Makefile: Likewise.
2230 2001-04-09 Jakub Jelinek <jakub@redhat.com>
2232 * sysdeps/generic/fd_to_filename.h: New file.
2233 * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
2234 * libio/freopen.c (freopen): If FILENAME is NULL, try to get
2235 filename from the open file descriptor.
2236 * libio/freopen64.c (freopen64): Likewise.
2238 2001-04-09 Bruno Haible <haible@clisp.cons.org>
2240 * misc/error.c (error): fflush stdout also if
2241 error_print_progname != NULL.
2242 (error_at_line): Likewise.
2244 2001-04-07 Bruno Haible <haible@clisp.cons.org>
2246 * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
2247 (struct binding): Add codeset_cntr field.
2248 (_nl_load_domain): Add domainbinding argument.
2249 (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
2250 (_nl_find_msg): New declaration, moved here from loadinfo.h.
2251 * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
2252 (_nl_make_l10nflist): Remove domainbinding argument.
2253 (_nl_find_msg): Move declaration to gettextP.h.
2254 * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
2255 to 0. Increment it when ->codeset is changed.
2256 * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
2257 (_nl_find_msg): Add domainbinding argument. Reinitialize the converter
2258 if domainbinding->codeset_cntr has been incremented.
2259 * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
2260 _nl_make_l10nflist(). Pass it to _nl_load_domain() instead.
2261 * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
2262 * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
2263 from _nl_load_domain. Append //TRANSLIT also when using libiconv.
2264 (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
2265 (_nl_load_domain): Add domainbinding argument. Call
2266 _nl_init_domain_conv.
2267 (_nl_unload_domain): Call _nl_free_domain_conv.
2268 * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
2269 (test-srcs): Add tst-codeset.
2270 (tests): Depend on tst-codeset.out.
2271 (tst-codeset.out): New rule.
2272 (CFLAGS-tst-codeset.c): New variable.
2273 * intl/tst-codeset.sh: New file.
2274 * intl/tstcodeset.po: New file.
2275 * intl/tst-codeset.c: New file.
2276 * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
2279 2001-04-07 Roland McGrath <roland@frob.com>
2281 * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
2283 2001-03-31 Roland McGrath <roland@frob.com>
2285 * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
2286 copying send rights into child. When we hit our name for our proc
2287 port, just copy NEWPROC directly instead of repeating proc_task2proc
2288 to install the child's port.
2290 2001-04-08 Roland McGrath <roland@frob.com>
2292 * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
2293 in second column, to provide default values for third column.
2294 * shlib-versions: Add comments about using DEFAULT in second column.
2295 (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
2296 (cris-.*-linux.*): Likewise.
2298 2001-04-09 Ulrich Drepper <drepper@redhat.com>
2300 * Makefile (distribute): Add scripts/documented.sh.
2301 * scripts/documented.sh: New file.
2303 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2305 * sysdeps/unix/sysv/linux/cris/Dist: New file.
2306 * sysdeps/unix/sysv/linux/cris/Makefile: New file.
2307 * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
2308 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
2309 * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
2310 * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
2311 * sysdeps/unix/sysv/linux/cris/brk.c: New file.
2312 * sysdeps/unix/sysv/linux/cris/chown.c: New file.
2313 * sysdeps/unix/sysv/linux/cris/clone.S: New file.
2314 * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
2315 * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
2316 * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
2317 * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
2318 * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
2319 * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
2320 * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
2321 * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
2322 * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
2323 * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
2324 * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
2325 * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
2326 * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
2327 * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
2328 * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
2329 * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
2330 * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
2331 * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
2332 * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
2333 * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
2334 * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
2335 * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
2336 * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
2337 * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
2338 * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
2339 * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
2340 * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
2341 * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
2342 * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
2343 * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
2344 * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
2345 * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
2346 * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
2347 * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
2348 * sysdeps/unix/sysv/linux/cris/socket.S: New file.
2349 * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
2350 * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
2351 * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
2352 * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
2353 * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
2354 * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
2356 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2358 * sysdeps/cris/Dist: New file.
2359 * sysdeps/cris/Implies: New file.
2360 * sysdeps/cris/Makefile: New file.
2361 * sysdeps/cris/__longjmp.S: New file.
2362 * sysdeps/cris/_mcount.S: New file.
2363 * sysdeps/cris/bits/endian.h: New file.
2364 * sysdeps/cris/bits/setjmp.h: New file.
2365 * sysdeps/cris/bits/string.h: New file.
2366 * sysdeps/cris/dl-machine.h: New file.
2367 * sysdeps/cris/elf/start.S: New file.
2368 * sysdeps/cris/machine-gmon.h: New file.
2369 * sysdeps/cris/memcopy.h: New file.
2370 * sysdeps/cris/memusage.h: New file.
2371 * sysdeps/cris/setjmp.S: New file.
2372 * sysdeps/cris/sysdep.h: New file.
2373 * sysdeps/cris/wordcopy.c: New file.
2375 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2377 * elf/elf.h: Add new relocations for CRIS.
2379 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2381 * shlib-versions: Add cases for Linux on CRIS.
2383 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2385 * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
2386 ';' for comments and '@' for line separator.
2388 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2390 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
2391 typo; s/==/=/ for assignment.
2393 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2395 * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
2397 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2399 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
2400 empty input before checking full output.
2402 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2404 * iconv/gconv.c (__gconv): Don't derefer parameter cd before
2407 2001-04-08 Ulrich Drepper <drepper@redhat.com>
2409 * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
2411 2001-04-07 Stephen L Moshier <moshier@mediaone.net>
2413 * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
2416 2001-04-07 Ulrich Drepper <drepper@redhat.com>
2418 * stdlib/tst-setcontext.c (main): Add a test for setcontext.
2420 * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
2421 * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
2422 * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
2423 * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
2424 * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
2425 * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
2427 2001-04-07 Andreas Jaeger <aj@suse.de>
2429 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
2430 instead of separate sin and cos.
2431 (__ieee754_j1l): Likewise.
2433 2001-04-06 Ulrich Drepper <drepper@redhat.com>
2435 * sysdeps/ia64/abort-instr.h: New file. Code by David Mosberger.
2437 * sysdeps/ia64/atomicity.h: New file. Copied from libstdc++.
2439 * sysdeps/i386/i486/atomicity.h: Clean up the asms.
2441 * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
2443 * sysdeps/generic/e_scalbf.c: Likewise.
2444 * sysdeps/generic/e_scalbl.c: Likewise.
2445 Patch by Mark Hatle <fray@mvista.com>.
2447 2001-04-05 David S. Miller <davem@redhat.com>
2449 * sysdeps/sparc/abort-instr.h: New file.
2451 2001-04-05 Matt Wilson <msw@redhat.com>
2453 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
2454 added code to parse new 2.4 format.
2455 (GET_NPROCS_CONF_PARSER): Likewise.
2457 2001-04-05 David S. Miller <davem@redhat.com>
2459 * scripts/config.sub: Recognize sparcv9b like sparcv9.
2460 * configure.in: Add sparcv9b.
2461 * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
2462 * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
2463 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
2465 2001-04-06 David Mosberger <davidm@hpl.hp.com>
2467 * stdlib/tst-setcontext.c: Move st2[] to global scope.
2468 (f2): Verify that stack pointer is inside st2[].
2470 * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
2471 * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
2473 2001-04-06 Ulrich Drepper <drepper@redhat.com>
2475 * timezone/antarctica: Update from tzdata2001b.
2476 * timezone/asia: Likewise.
2477 * timezone/australasia: Likewise.
2478 * timezone/europe: Likewise.
2479 * timezone/northamerica: Likewise.
2481 * iconv/iconv_open.c: Move strip and upstr definitions...
2482 * iconv/gconv_charset.h: ...here. New file.
2483 * iconv/gconv_db.c (once): Move to file level.
2484 (do_lookup_alias): Split out from __gconv_find_transform.
2485 (__gconv_find_transform): Call do_lookup_alias.
2486 (__gconv_loopup_alias): New function.
2487 * locale/langinfo.h: Define _NL_*_CODESET values for all categories
2489 * locale/categories.def: Add entries for new _NL_*_CODESET values.
2490 * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
2491 * locale/C-address.c: Initialize _NL_*_CODESET element.
2492 * locale/C-collate.c: Likewise.
2493 * locale/C-identification.c: Likewise.
2494 * locale/C-measurement.c: Likewise.
2495 * locale/C-messages.c: Likewise.
2496 * locale/C-monetary.c: Likewise.
2497 * locale/C-name.c: Likewise.
2498 * locale/C-numeric.c: Likewise.
2499 * locale/C-paper.c: Likewise.
2500 * locale/C-telephone.c: Likewise.
2501 * locale/C-time.c: Likewise.
2502 * locale/localeinfo.h: Declare _nl_C_codeset.
2503 * locale/C_name.c: Define _nl_C_codeset.
2504 * locale/findlocale.c: Before accepting locale check that the used
2505 charset does not conflict with what the locale name said.
2506 * locale/programs/ld-address.c: Emit codeset information.
2507 * locale/programs/ld-collate.c: Likewise.
2508 * locale/programs/ld-identification.c: Likewise.
2509 * locale/programs/ld-measurement.c: Likewise.
2510 * locale/programs/ld-messages.c: Likewise.
2511 * locale/programs/ld-monetary.c: Likewise.
2512 * locale/programs/ld-name.c: Likewise.
2513 * locale/programs/ld-numeric.c: Likewise.
2514 * locale/programs/ld-paper.c: Likewise.
2515 * locale/programs/ld-telephone.c: Likewise.
2516 * locale/programs/ld-time.c: Likewise.
2518 * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
2519 if the locale data couldn't be found.
2521 * string/Makefile: Define tst-strxfrm-ENV.
2523 * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
2525 2001-04-06 Andreas Jaeger <aj@suse.de>
2527 * include/sys/profil.h: New file.
2529 * dlfcn/modatexit.c: Add prototypes to silence GCC.
2530 * dlfcn/modcxaatexit.c: Likewise.
2531 * elf/globalmod1.c: Likewise.
2533 2001-04-05 David S. Miller <davem@redhat.com>
2535 * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
2536 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
2537 capability flags table and HWCAP_IMPORTANT, increase
2538 _DL_HWCAP_COUNT to 6.
2539 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2541 2001-04-04 David Mosberger <davidm@hpl.hp.com>
2543 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
2544 initialization of stack_end (bug reported by Zheng Gengbin
2545 <gzheng@students.uiuc.edu>).
2547 2001-04-05 Ulrich Drepper <drepper@redhat.com>
2549 * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
2551 2001-04-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2553 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
2555 2001-04-05 Ulrich Drepper <drepper@redhat.com>
2557 * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
2558 * sysdeps/i386/fpu/e_asinl.S: Removed. Too inaccurate.
2560 * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
2562 2001-04-04 Ulrich Drepper <drepper@redhat.com>
2564 * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
2565 define simple replacements here. Patch by Michael Keezer.
2567 * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
2568 * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
2569 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2571 * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
2574 2001-04-01 Andreas Jaeger <aj@suse.de>
2576 * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
2579 * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
2581 2001-04-04 Ulrich Drepper <drepper@redhat.com>
2583 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
2584 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
2586 2001-04-04 Martin Schwidefsky <schwidefsky@de.ibm.com>
2588 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
2589 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
2590 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
2591 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
2592 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
2593 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
2594 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
2595 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
2596 * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
2598 2001-04-04 Andreas Jaeger <aj@suse.de>
2600 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
2603 2001-04-04 Ulrich Drepper <drepper@redhat.com>
2605 * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
2606 * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
2607 * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
2608 (unsigned_dec): Likewise.
2609 Patch by atai@jezebel.dreamhost.com.
2611 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
2612 pointer to int as last parameter of yp_match.
2613 Patch by kanazawa@flab.fujitsu.co.jp.
2615 2001-04-03 Ulrich Drepper <drepper@redhat.com>
2617 * resolv/netdb.h (gai_strerror): Make return value const.
2618 * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
2619 * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
2620 Add strings for new error values.
2622 2001-03-29 Michael Keezer <mkeezer@redhat.com>
2624 * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
2625 * login/tst-utmp.c: Handle case where ut_tv is not available but
2627 * sysdeps/unix/sysv/aix/utmpx.h: New file.
2628 * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
2629 _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
2630 * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
2631 * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
2632 to access RTCU timer reg.
2633 * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
2634 added dl-libc, dl-open,dl-sym, dl-close to misc.
2635 * sysdeps/unix/sysv/aix/start.c: New file. Start code.
2636 * sysdeps/unix/sysv/aix/dlldr.h: New file. AIX __loadx defines.
2637 * sysdeps/unix/sysv/aix/dl-close.c: New file. AIX dl-close.
2638 * sysdeps/unix/sysv/aix/dl-open.c: New file. AIX dl-open.
2639 * sysdeps/unix/sysv/aix/dl-sym.c: New file. AIX dl-sym.
2640 * sysdeps/unix/sysv/aix/dl-libc.c: New file. libc_dl-xxx support.
2641 * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
2643 * sysdeps/generic/strtoull.c: Likewise.
2644 * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
2645 * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
2646 sysdeps/generic/memset.c.
2647 * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
2649 2001-04-03 Ulrich Drepper <drepper@redhat.com>
2651 * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
2652 * locale/programs/charmap.c: Define null_pointer if
2653 NEED_NULL_POINTER is defined.
2655 * misc/dirname.c (dirname): Handle multiple slashes correctly.
2657 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
2659 * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
2661 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
2663 * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
2664 * sysdeps/s390/s390-64/bcopy.S: Likewise.
2665 * sysdeps/s390/s390-32/mempcy.S: Likewise.
2666 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2668 2001-04-02 Bruno Haible <haible@clisp.cons.org>
2670 * manual/message.texi (Advanced gettext functions): More specific
2671 syntax in the plural formula examples.
2673 2001-04-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2675 * sysdeps/powerpc/atomicity.h: Silence warnings.
2676 * sysdeps/powerpc/dl-machine.h: Likewise.
2677 * sysdeps/powerpc/register-dump.h: Likewise.
2678 * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
2680 2001-04-02 Andreas Jaeger <aj@suse.de>
2682 * misc/tst-dirname.c (main): Add more tests, derived from a bug
2683 report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2685 2001-04-01 Andreas Jaeger <aj@suse.de>
2687 * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
2689 * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
2691 2001-04-01 H.J. Lu <hjl@gnu.org>
2693 * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
2695 * stdlib/isomac.c (macrofile): Likewise.
2697 2001-03-30 Thorsten Kukuk <kukuk@suse.de>
2699 * inet/rcmd.c: Allow AF_UNSPEC as parameter.
2700 * nis/ypclnt.c (yp_all): Print error message only at last try,
2701 check for protocoll error only if we don't have a network error.
2703 2001-04-02 Andreas Schwab <schwab@suse.de>
2705 * resolv/res_data.c (res_isourserver): Fix cast.
2707 2001-04-02 Andreas Jaeger <aj@suse.de>
2709 * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
2712 * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
2714 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
2716 * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
2718 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
2720 * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
2721 warning about unused variable.
2723 * string/string.h (strndupa): Add cast for C++ conformance.
2724 (strdupa): Likewise.
2725 Fixes PR libc/2173, reported by tbrowder@home.com.
2727 2001-03-30 Roland McGrath <roland@frob.com>
2729 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
2730 options after $(build-module), which is no longer a single command.
2731 (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
2732 (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
2733 variables using it. Reported by Mark Kettenis <kettenis@gnu.org>.
2735 2001-03-11 Roland McGrath <roland@frob.com>
2737 * elf/rtld.c (dl_main): Add cast to quiet warning.
2738 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2739 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
2740 (__gconv_read_conf): Likewise.
2741 * iconv/gconv_db.c (gen_steps): Likewise.
2742 (__gconv_find_transform): Likewise.
2743 * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
2744 (fopen_uncompressed): Use const in second argument's type.
2746 2001-03-11 Roland McGrath <roland@frob.com>
2748 * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
2750 * mach/mach_error.h: Fix ancient #endif syntax.
2751 * hurd/hurdmalloc.c: Likewise.
2753 * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
2754 compare_and_swap): Add volatile qualifier to first arg, to bring
2755 these prototypes in line with all the other implementations.
2756 Add a #warning to remind the builder that these are not atomic.
2758 2001-03-04 Roland McGrath <roland@frob.com>
2760 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
2761 member of TEMP_F so its type is _IO_FILE * as expected.
2763 * hurd/fopenport.c (seekio): Conditionalize type of POS argument
2764 on [USE_IN_LIBIO]. Check the value for overflow, since for libio
2765 it might exceed off_t's range.
2767 2001-02-25 Roland McGrath <roland@frob.com>
2769 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
2770 * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
2772 * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
2773 macro instead of an inline function,
2774 (MSG_EXAMINE): Likewise.
2776 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
2778 * hurd/get-host.c: Include <string.h> for decls of built-ins.
2779 * hurd/hurdchdir.c: Likewise.
2780 * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
2781 * sysdeps/mach/hurd/opendir.c: Likewise.
2783 * mach/mach_init.c: Include <unistd.h> for _exit decl.
2785 * mach/errsystems.awk: Give output file a trailing newline.
2787 * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
2788 the script will use our compiler for the cpp stage.
2790 With --enable-all-warnings we get a whole bunch of warnings,
2791 and these are just a few fixes; there are more needed to silence it.
2792 * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
2793 decls before extern inline defns to quiet gcc warning.
2794 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
2795 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
2797 2001-03-31 Andreas Jaeger <aj@suse.de>
2799 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
2800 (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
2801 (ARPHRD_CISCO): New.
2802 Changes from Linux 2.4.3.
2804 2001-03-30 Isamu Hasegawa <isamu@yamato.ibm.com>
2806 * posix/regex.c: Avoid an access violation if malloc fails.
2808 2001-03-30 Andreas Jaeger <aj@suse.de>
2810 * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
2812 2001-03-29 Ulrich Drepper <drepper@redhat.com>
2814 * posix/regex.c: Remove unnecessary ifs.
2816 * math/bits/mathcalls.h: Remove infnan declaration.
2818 2001-03-29 H.J. Lu <hjl@gnu.org>
2820 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
2821 and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
2822 * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
2824 2001-03-29 Isamu Hasegawa <isamu@yamato.ibm.com>
2826 * posix/regex.c: Fix typo and add a sentinel.
2828 2001-03-29 Ulrich Drepper <drepper@redhat.com>
2830 * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
2831 O_NOFOLLOW. Suggested by Christoph Roland.
2833 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
2835 * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
2836 * sysdeps/s390/s390-32/bits/string.h: Remove.
2837 * sysdeps/s390/s390-64/bits/string.h: Remove.
2838 * sysdeps/s390/s390-32/strcmp.S: New file.
2839 * sysdeps/s390/s390-64/strcmp.S: New file.
2841 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
2843 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
2844 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2846 2001-03-27 Ulrich Drepper <drepper@redhat.com>
2848 * version.h (VERSION): Bump to 2.2.3.
2850 * stdlib/isomac.c (fmt): Don't define _LIBC.
2851 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
2852 LOW_HALF only if _LIBC is defined.
2854 * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
2856 * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
2858 * posix/tst-fnmatch.input: Add test cases for matching empty strings.
2860 * sysdeps/ieee754/dbl-64/endian.h: Removed. Move definitions...
2861 * include/endian.h: ...to here.
2863 2001-03-27 kaz Kojima <kkojima@rr.iij4u.or.jp>
2865 * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
2866 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
2868 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
2870 * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
2872 2001-03-26 Ulrich Drepper <drepper@redhat.com>
2874 * sysdeps/ia64/fpu/Dist: Add new files to distribute.
2875 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
2876 * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
2878 * gmon/Makefile (headers): Add sys/profil.h.
2880 2001-03-18 Andreas Jaeger <aj@suse.de>
2882 * manual/install.texi (Tools for Compilation): Advise to use GCC
2884 (Supported Configurations): Mention s390x.
2886 2001-03-26 Ben Collins <bcollins@debian.org>
2888 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
2889 defines to match other architectures.
2891 2001-03-26 Ulrich Drepper <drepper@redhat.com>
2893 * libio/Makefile (tests): Add tst-ext.
2894 * libio/tst-ext.c: New file.
2896 * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
2898 2001-03-25 Ulrich Drepper <drepper@redhat.com>
2900 Add changes which were in this form in the original patch by
2901 Eric Norum <eric.norum@usask.ca>.
2902 * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
2904 * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
2905 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
2906 __rpc_thread_svc_max_pollfd.
2907 Define svc_fdset, get_rpc_createerr, svc_pollfd, and
2909 * sunrpc/rpc_thread.c: Handle first thread special, it uses the
2911 Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
2912 __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
2913 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_svc_fdset,
2914 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
2915 __rpc_thread_svc_max_pollfd.
2916 * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
2918 * sunrpc/clnt_perr.c: Likewise.
2919 * sunrpc/clnt_simp.c: Likewise.
2920 * sunrpc/clnt_tcp.c: Likewise.
2921 * sunrpc/clnt_udp.c: Likewise.
2922 * sunrpc/clnt_unix.c: Likewise.
2923 * sunrpc/pm_getport.c: Likewise.
2925 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
2926 syscall checks for negative n so don't test here as well.
2928 2001-03-23 Jes Sorensen <jes@linuxcare.com>
2930 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
2931 * sysdeps/ia64/sysdep.h: ...here.
2933 * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
2934 * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
2936 * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
2937 declare instead of LEAF(). Suggestion from David Mosberger.
2939 2001-03-21 David Mosberger <davidm@hpl.hp.com>
2941 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
2943 (PSEUDO): Drop .psr and .lsb directives.
2945 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto. Add unwind
2947 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
2949 * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
2951 * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
2952 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
2953 * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
2954 longer needed). Add unwind directives.
2956 * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
2957 ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
2959 2001-03-21 Paul Eggert <eggert@twinsun.com>
2961 * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
2962 (RE_SYNTAX_POSIX_EGREP): Use it.
2963 * posix/regex.c (regex_compile): Implement it.
2965 2001-03-21 Paul Eggert <eggert@twinsun.com>
2967 * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
2968 Rewrite to avoid duplicate code.
2970 2001-03-21 H.J. Lu <hjl@gnu.org>
2972 * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
2973 for cross-compiling.
2974 ($(objpfx)tst-pathopt.out): Undo the last change.
2976 2001-03-24 Mark Kettenis <kettenis@gnu.org>
2978 * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
2979 sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
2981 * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
2982 (_dl_argv): Declare.
2983 (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
2985 2001-03-22 Andreas Jaeger <aj@suse.de>
2987 * iconvdata/Makefile (generated): Add iconv-test.xxx.
2989 * posix/Makefile (generated): Add bug-regex2.mtrace and
2992 2001-03-21 Ulrich Drepper <drepper@redhat.com>
2994 * csu/version.c (__gnu_get_libc_release): Add prototype.
2995 (__gnu_get_libc_version): Likewise.
2996 * include/gnu/libc-version.h: Remove prototypes for not exported
2999 2001-03-21 Jes Sorensen <jes@linuxcare.com>
3001 * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
3002 for internationalized printfs to work.
3004 2001-03-09 Bruno Haible <haible@clisp.cons.org>
3006 * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
3007 avoid compiler warning.
3008 (_nl_find_msg): Add casts to avoid compiler warnings.
3010 2001-03-21 Ulrich Drepper <drepper@redhat.com>
3012 * gmon/Makefile (routines): Add sprofil.
3013 (tests): Add tst-sprofil.
3014 (noprof): Add sprofil.
3015 * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
3017 2001-03-20 David Mosberger <davidm@hpl.hp.com>
3019 * sysdeps/generic/sprofil.c: New file.
3020 * sysdeps/posix/sprofil.c: New file.
3021 * gmon/tst-sprofil.c: New file.
3022 * gmon/sys/profil.h: New file.
3024 2001-03-20 Andreas Schwab <schwab@suse.de>
3026 * include/unistd.h: Adjust prototype of __gethostname.
3028 2001-03-20 Jakub Jelinek <jakub@redhat.com>
3030 * sysdeps/sparc/stackinfo.h: New file.
3032 2001-03-21 Andreas Jaeger <aj@suse.de>
3034 * elf/global.c (main): Use proper prototype.
3036 2001-03-20 Ulrich Drepper <drepper@redhat.com>
3038 * sunrpc/Makefile (routines): Add rpc_thread.
3039 (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
3040 * sunrpc/rpc_thread.c: New file.
3041 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
3042 * sunrpc/auth_none.c: Don't use global variables. Access state in
3043 thread-local storage.
3044 * sunrpc/clnt_perr.c: Likewise.
3045 * sunrpc/clnt_raw.c: Likewise.
3046 * sunrpc/clnt_simp.c: Likewise.
3047 * sunrpc/key_call.c: Likewise.
3048 * sunrpc/rpc_common.c: Likewise.
3049 * sunrpc/svc.c: Likewise.
3050 * sunrpc/svc_raw.c: Likewise.
3051 * sunrpc/svc_simple.c: Likewise.
3052 * sunrpc/svcauth_des.c: Likewise.
3053 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3054 _HURD_THREADVAR_RPC_VARS.
3055 * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
3056 * include/rpc/rpc.h: Define data structures for internal thread-local
3058 Based on patches by Eric Norum <eric.norum@usask.ca>.
3060 * elf/dl-load.c: Various little optimizations.
3062 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
3063 LINUX_LINK_MAX only if the statfs function is not implemented for
3066 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
3067 LINUX_LINK_MAX only if the fstatfs function is not implemented for
3070 2001-03-19 Ulrich Drepper <drepper@redhat.com>
3072 * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
3074 * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
3075 (_dl_dst_substitute): Likewise.
3077 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3079 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
3081 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3083 * intl/gettextP.h (struct expression): Add operators lnot, less_than,
3084 greater_than, less_or_equal, greater_or_equal. Replace args2/args3
3085 union by a 'nargs' counter and an 'args[]' array.
3086 * intl/plural.y: Don't include stdarg.h.
3087 (new_exp): Take an array of arguments instead of varargs.
3088 (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
3089 ('?' ':'): Make right-associative.
3090 (EQUOP2): New token, replaces '=' and '!'.
3091 (CMPOP2): New token.
3092 (ADDOP2): New token, replaces '+' and '-'.
3093 (MULOP2): New token, replaces '*', '/' and '%'.
3095 (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
3096 (start): Call YYABORT here.
3097 (FREE_EXPRESSION): Update.
3098 (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
3099 Update for new token symbols.
3100 * intl/loadmsgcat.c (plvar, plone, germanic_plural,
3101 init_germanic_plural): Update.
3102 * intl/dcigettext.c (_nl_find_msg): Optimize for space.
3103 (plural_eval): Recognize comparison and '!' operators. Optimize for
3106 2001-03-10 Bruno Haible <haible@clisp.cons.org>
3108 * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
3111 2001-01-05 Bruno Haible <haible@clisp.cons.org>
3113 * intl/loadmsgcat.c: Include headers needed for alloca().
3115 (_nl_load_domain): Add fallback code for platforms lacking alloca.
3116 * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
3118 (read_alias_file): Simplify fallback code for platforms lacking
3121 2001-01-07 Bruno Haible <haible@clisp.cons.org>
3123 * intl/gettextP.h (__gettextdebug): Remove declaration.
3124 (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
3126 (gettext_free_exp__, gettextparse__): New non-libc declarations.
3127 * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
3128 not __gettextparse, __gettext_free_exp.
3129 * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
3131 2001-02-24 Bruno Haible <haible@clisp.cons.org>
3133 * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
3135 2001-01-05 Bruno Haible <haible@clisp.cons.org>
3137 * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
3138 lacking strtoul, like SunOS4.
3140 2001-01-05 Bruno Haible <haible@clisp.cons.org>
3142 * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
3144 2001-01-05 Bruno Haible <haible@clisp.cons.org>
3146 * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
3148 * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
3149 * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
3150 * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
3153 2001-01-07 Bruno Haible <haible@clisp.cons.org>
3155 * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
3156 bindtextdomain__, bind_textdomain_codeset__): New declarations, from
3158 * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
3159 * intl/dcgettext.c: Likewise.
3160 * intl/dcigettext.c: Likewise.
3161 * intl/dcngettext.c: Likewise.
3162 * intl/dngettext.c: Likewise.
3163 * intl/finddomain.c: Likewise.
3164 * intl/ngettext.c: Likewise.
3165 * intl/textdomain.c: Likewise.
3166 * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
3168 * intl/gettext.c: Likewise. Don't include locale.h.
3170 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3172 * intl/gettextP.h (ZERO): New macro.
3173 (struct binding): Always use ZERO.
3174 * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
3175 lack it, like SunOS4.
3176 (set_binding_values): Use offsetof, not sizeof.
3177 * intl/dcigettext.c (offsetof): Provide fallback for platforms that
3178 lack it, like SunOS4.
3179 (ZERO): Remove macro.
3180 (struct transmem_list): Use ZERO.
3181 (DCIGETTEXT): Use offsetof, not sizeof.
3183 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3185 * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
3187 * intl/bindtextdom.c: Don't include gettext.h.
3188 * intl/dcgettext.c: Likewise.
3189 * intl/dcigettext.c: Likewise.
3190 * intl/dcngettext.c: Likewise.
3191 * intl/dngettext.c: Likewise.
3192 * intl/finddomain.c: Likewise.
3193 * intl/localealias.c: Likewise.
3194 * intl/ngettext.c: Likewise.
3195 * intl/plural.y: Likewise.
3196 * intl/textdomain.c: Likewise.
3198 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3200 * intl/gettext.h: Don't include <stdio.h>.
3202 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3204 * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
3205 * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
3207 2001-03-19 Ulrich Drepper <drepper@redhat.com>
3209 * sysdeps/unix/i386/i686/tempname.c: New file.
3211 * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
3212 defined use this macro to get some bits of randomness instead of
3213 the usual gettimeofday or time calls.
3215 2001-03-16 Paul Eggert <eggert@twinsun.com>
3217 * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
3218 not defined, and if UINT64_MAX is not defined.
3220 2001-03-19 Ulrich Drepper <drepper@redhat.com>
3222 * elf/cache.c: Mark and have translated a few more messages.
3224 2001-03-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
3226 * elf/cache.c: Add case for FLAG_S390_LIB64.
3227 * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
3228 * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
3229 * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
3231 2001-03-19 Ulrich Drepper <drepper@redhat.com>
3233 * string/Makefile (tests): Add tst-strxfrm.
3234 * string/tst-strxfrm.c: New file. Based on a test case by Paul Eggert.
3235 * string/Depend: New file.
3237 2001-03-19 Paul Eggert <eggert@twinsun.com>
3239 * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
3240 when given the empty string in nontrivial locales.
3242 2001-03-17 H.J. Lu <hjl@gnu.org>
3244 * manual/Makefile (install): Use $(INSTALL_DATA) instead of
3245 cp to install `dir'.
3247 2001-03-19 Andreas Schwab <schwab@suse.de>
3249 * Makerules (build-shlib): Make sure exit codes get checked
3252 2001-03-18 Ulrich Drepper <drepper@redhat.com>
3254 * Makerules (build-shlib): Remove unnecessary slashes introduced in
3257 * configure.in: Test for -Bgroup option of linker.
3258 * config.make.in: Define have-Bgroup.
3260 * conform/data/unistd.h-data: Require gethostname.
3261 * posix/unistd.h: Make gethostname prototype available for
3264 * crypt/Makefile: When generating DSO link with libc_nonshared.a.
3265 * debug/Makefile: Likewise.
3266 * dlfcn/Makefile: Likewise.
3267 * hesiod/Makefile: Likewise.
3268 * iconvdata/extra-module.mk: Likewise.
3269 * locale/Makefile: Likewise.
3270 * login/Makefile: Likewise.
3271 * math/Makefile: Likewise.
3272 * nis/Makefile: Likewise.
3273 * nss/Makefile: Likewise.
3274 * resolv/Makefile: Likewise.
3275 * rt/Makefile: Likewise.
3277 2001-03-17 Ulrich Drepper <drepper@redhat.com>
3279 * inet/Makefile (tests): Remove left-over comment.
3281 * posix/unistd.h (gethostname): Change type of second parameter
3282 back to size_t as per upcoming XPG6.
3283 * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
3284 parameter back to size_t as per upcoming XPG6.
3285 * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
3286 * sysdeps/unix/sysv/gethostname.c: Likewise.
3287 * sysdeps/mach/hurd/gethostname.c: Likewise.
3288 * sysdeps/generic/gethostname.c: Likewise.
3290 2001-03-16 Ulrich Drepper <drepper@redhat.com>
3292 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3295 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
3298 2001-02-06 Jakub Jelinek <jakub@redhat.com>
3300 * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
3301 looking for name matches.
3303 2001-02-26 Jakub Jelinek <jakub@redhat.com>
3305 * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
3306 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
3307 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
3308 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3309 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
3310 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
3311 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
3312 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
3313 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
3314 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
3315 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
3316 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
3318 2001-03-16 Ulrich Drepper <drepper@redhat.com>
3320 * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
3321 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3323 * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
3325 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3327 2001-03-16 David Mosberger <davidm@hpl.hp.com>
3329 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
3330 Drop hack that was needed for 2.1.1 kernel headers.
3332 * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
3334 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
3335 overlay with kernel's "struct sigcontext".
3337 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
3338 sys/rse.h for "misc" subdir.
3339 (sysdep_routines): Add __start_context for "stdlib" subdir.
3341 * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
3342 kernel file of the same name).
3344 * stdlib/Makefile (tests): Add tst-setcontext.
3345 * stdlib/tst-setcontext.c: New file (based on a sample program by
3348 * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
3349 * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
3350 * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
3351 * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
3352 * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
3354 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
3355 instead of shift & and.
3357 2001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
3359 * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
3360 * sysdeps/s390/bits/huge_val.h: ...here.
3361 * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
3362 * sysdeps/s390/s390-64/ffs.c: Move to...
3363 * sysdeps/s390/ffs.c: ...here.
3364 * sysdeps/s390/s390-32/ffs.c: Remove.
3366 2001-03-16 Jakub Jelinek <jakub@redhat.com>
3368 * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
3369 update osversion from more recent library.
3371 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3373 * sysdeps/unix/sysv/linux/s390/Dist: Move to...
3374 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
3375 * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
3376 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
3377 * sysdeps/unix/sysv/linux/s390/Versions: Move to...
3378 * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
3379 * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
3380 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
3381 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
3382 * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
3383 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
3384 * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
3385 * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
3386 * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
3387 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
3388 * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
3389 * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
3390 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
3391 * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
3392 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
3393 * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
3394 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
3395 * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
3396 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
3397 * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
3398 * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
3399 * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
3400 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
3401 * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
3402 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
3403 * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
3404 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
3405 * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
3406 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
3407 * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
3408 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
3409 * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
3410 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
3411 * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
3412 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
3413 * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
3414 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
3415 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
3416 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
3417 * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
3418 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
3419 * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
3420 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
3421 * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
3422 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
3423 * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
3424 * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
3425 * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
3426 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
3427 * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
3428 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
3429 * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
3430 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
3431 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
3432 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
3433 * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
3434 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
3435 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
3436 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
3437 * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
3438 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
3439 * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
3440 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
3441 * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
3442 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
3443 * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
3444 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
3445 * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
3446 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
3447 * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
3448 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
3449 * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
3450 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
3451 * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
3452 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
3453 * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
3454 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
3455 * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
3456 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
3457 * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
3458 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
3459 * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
3460 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
3461 * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
3462 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
3463 * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
3464 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
3465 * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
3466 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
3467 * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
3468 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
3469 * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
3470 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
3471 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
3472 * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
3473 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
3474 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
3475 * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
3476 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
3477 * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
3478 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
3479 * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
3480 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
3481 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3482 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
3483 * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
3484 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
3485 * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
3486 * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
3488 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3490 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
3491 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
3492 * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
3493 * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
3494 * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
3495 * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
3496 * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
3497 * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
3498 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
3499 * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
3500 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
3501 * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
3502 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
3503 * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
3504 * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
3505 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
3506 * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
3507 * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
3508 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
3509 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
3510 * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
3511 * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
3512 * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
3513 * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
3514 * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
3515 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
3516 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
3517 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
3518 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
3519 * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
3520 * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
3521 * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
3522 * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
3523 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
3524 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
3525 * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
3526 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
3527 * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
3528 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
3529 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
3530 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
3531 * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
3532 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
3533 * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
3534 * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
3535 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
3536 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
3537 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
3538 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
3539 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
3540 * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
3541 * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
3542 * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
3544 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3546 * sysdeps/s390/Dist: Move to...
3547 * sysdeps/s390/390-32/Dist: ...here.
3548 * sysdeps/s390/Implies: Move to...
3549 * sysdeps/s390/s390-32/Implies: ...here.
3550 * sysdeps/s390/Makefile: Move to...
3551 * sysdeps/s390/s390-32/Makefile: ...here.
3552 * sysdeps/s390/Versions: Move to...
3553 * sysdeps/s390-32/s390/Versions: ...here.
3554 * sysdeps/s390/add_n.S: Move to...
3555 * sysdeps/s390/s390-32/add_n.S: ...here.
3556 * sysdeps/s390/addmul_1.S: Move to...
3557 * sysdeps/s390/s390-32/addmul_1.S: ...here.
3558 * sysdeps/s390/atomicity.h: Move to...
3559 * sysdeps/s390/s390-32/atomicity.h: ...here.
3560 * sysdeps/s390/backtrace.c: Move to...
3561 * sysdeps/s390/s390-32/backtrace.c: ...here.
3562 * sysdeps/s390/bcopy.S: Move to...
3563 * sysdeps/s390/s390-32/bcopy.S: ...here.
3564 * sysdeps/s390/bits/byteswap.h: Move to...
3565 * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
3566 * sysdeps/s390/bits/huge_val.h: Move to...
3567 * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
3568 * sysdeps/s390/bsd-_setjmp.S: Move to...
3569 * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
3570 * sysdeps/s390/bsd-setjmp.S: Move to...
3571 * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
3572 * sysdeps/s390/bzero.S: Move to...
3573 * sysdeps/s390/s390-32/bzero.S: ...here.
3574 * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
3575 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
3576 * sysdeps/s390/elf/bsd-setjmp.S: Move to...
3577 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
3578 * sysdeps/s390/elf/start.S: Move to...
3579 * sysdeps/s390/s390-32/elf/start.S: ...here.
3580 * sysdeps/s390/ffs.c: Move to...
3581 * sysdeps/s390/s390-32/ffs.c: ...here.
3582 * sysdeps/s390/memchr.S: Move to...
3583 * sysdeps/s390/s390-32/memchr.S: ...here.
3584 * sysdeps/s390/memcpy.S: Move to...
3585 * sysdeps/s390/s390-32/memcpy.S: ...here.
3586 * sysdeps/s390/memset.S: Move to...
3587 * sysdeps/s390/s390-32/memset.S: ...here.
3588 * sysdeps/s390/mul_1.S: Move to...
3589 * sysdeps/s390/s390-32/mul_1.S: ...here.
3590 * sysdeps/s390/s390-mcount.S: Move to...
3591 * sysdeps/s390/s390-32/s390-mcount.S: ...here.
3592 * sysdeps/s390/strcpy.S: Move to...
3593 * sysdeps/s390/s390-32/strcpy.S: ...here.
3594 * sysdeps/s390/strncpy.S: Move to...
3595 * sysdeps/s390/s390-32/strncpy.S: ...here.
3596 * sysdeps/s390/sub_n.S: Move to...
3597 * sysdeps/s390/s390-32/sub_n.S: ...here.
3599 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3601 * sysdeps/s390/s390-64/Dist: New file.
3602 * sysdeps/s390/s390-64/Implies: New file.
3603 * sysdeps/s390/s390-64/Makefile: New file.
3604 * sysdeps/s390/s390-64/__longjmp.c: New file.
3605 * sysdeps/s390/s390-64/add_n.S: New file.
3606 * sysdeps/s390/s390-64/atomicity.h: New file.
3607 * sysdeps/s390/s390-64/backtrace.c: New file.
3608 * sysdeps/s390/s390-64/bcopy.S: New file.
3609 * sysdeps/s390/s390-64/bits/byteswap.h: New file.
3610 * sysdeps/s390/s390-64/bits/huge_val.h: New file.
3611 * sysdeps/s390/s390-64/bits/setjmp.h: New file.
3612 * sysdeps/s390/s390-64/bits/string.h: New file.
3613 * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
3614 * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
3615 * sysdeps/s390/s390-64/bzero.S: New file.
3616 * sysdeps/s390/s390-64/dl-machine.h: New file.
3617 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
3618 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
3619 * sysdeps/s390/s390-64/elf/setjmp.S: New file.
3620 * sysdeps/s390/s390-64/elf/start.S: New file.
3621 * sysdeps/s390/s390-64/ffs.c: New file.
3622 * sysdeps/s390/s390-64/initfini.c: New file.
3623 * sysdeps/s390/s390-64/memchr.S: New file.
3624 * sysdeps/s390/s390-64/memcpy.S: New file.
3625 * sysdeps/s390/s390-64/memset.S: New file.
3626 * sysdeps/s390/s390-64/s390x-mcount.S: New file.
3627 * sysdeps/s390/s390-64/setjmp.S: New file.
3628 * sysdeps/s390/s390-64/strcpy.S: New file.
3629 * sysdeps/s390/s390-64/strncpy.S: New file.
3630 * sysdeps/s390/s390-64/sub_n.S: New file.
3631 * sysdeps/s390/s390-64/sysdep.h: New file.
3633 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3635 * scripts/config.guess: Add support for Linux on 64 bit S/390.
3636 * scripts/config.sub: Likewise.
3638 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3640 * configure.in: Add support for 64 bit S/390.
3642 * elf/elf.h: Add new relocations for 64 bit S/390.
3644 * shlib-versions: Add rules for Linux on 64 bit S/390.
3646 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3648 * sysdeps/s390/__longjmp.c: Move to...
3649 * sysdeps/s390/s390-32/__longjmp.c: ...here. Add code
3650 to load the floating point registers that should be saved
3651 according to the ABI.
3653 * sysdeps/s390/bits/setjmp.h: Move to...
3654 * sysdeps/s390/s390-32/bits/setjmp.h: ...here. Avoid
3655 the use of long long in the __jmp_buf type definition.
3657 * sysdeps/s390/bits/string.h: Move to...
3658 * sysdeps/s390/s390-32/bits/string.h: ...here. Add several missing
3659 #ifndef _FORCE_INLINES.
3661 * sysdeps/s390/dl-machine.h: Move to...
3662 * sysdeps/s390/s390-32/dl-machine.h: ...here. Add a check for the
3663 executables EI_CLASS in elf_machine_matches_host.
3665 * sysdeps/s390/elf/setjmp.S: Move to...
3666 * sysdeps/s390/s390-32/elf/setjmp.S: ...here. Replace
3667 branches to globally defined symbol __sigsetjmp by branches to
3668 a local label (this avoids the generation of a R_390_PC16DBL
3669 relocation in -fpic code).
3671 * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
3672 calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
3674 * sysdeps/s390/initfini.c: Move to...
3675 * sysdeps/s390/s390-32/initfini.c: ...here. Replace ALIGN with
3678 * sysdeps/s390/setjmp.S: Move to...
3679 * sysdeps/s390/s390-32/setjmp.S: ...here. Add code to store the
3680 floating point registers that should be saved according to the ABI.
3682 * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
3684 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3685 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
3686 sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
3688 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3690 * configure.in: Change machine=s390 to machine=s390/s390-32.
3692 * elf/elf.h: Correct comment for R_390_PLT16DBL.
3694 2001-03-12 Jakub Jelinek <jakub@redhat.com>
3696 * csu/Makefile (abi-tag.h): Define OS and version separately, allow
3697 version to be overriden from config.h.
3698 * csu/abi-note.S: Use OS and version separately, include config.h.
3699 * elf/dl-load.c (_dl_osversion): New.
3700 (_dl_map_object_from_fd): Kill some warnings.
3701 (open_verify): Check .note.ABI-tag of the library if present.
3702 * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
3703 * elf/cache.c (struct cache_entry): Add osversion.
3704 (print_entry): Print osversion.
3705 (print_cache): Pass osversion to it.
3706 (compare): Sort according to osversion.
3707 (save_cache): Set osversion.
3708 (add_to_cache): Add osversion argument.
3709 * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
3710 process_elf_file): Add osversion argument.
3711 * elf/readlib.c (process_file): Likewise.
3712 * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
3713 * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
3714 process_elf32_file, process_elf64_file): Likewise.
3715 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
3716 process_elf32_file, process_elf64_file): Likewise.
3717 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
3718 process_elf32_file, process_elf64_file): Likewise.
3719 * elf/ldconfig.c (manual_link): Pass it.
3720 (search_dir): Issue diagnostic if two libs with the same soname in
3721 the same directory have different .note.ABI-tag. Record osversion in
3722 dlib_entry and use it from there.
3723 (struct lib_entry): Remove.
3724 (struct dlib_entry): Add osversion.
3725 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
3727 * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
3728 field with osversion.
3729 * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
3730 * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
3731 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
3732 version in _dl_osversion.
3733 * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
3734 * Makerules (build-shlib-helper, build-module-helper): New.
3735 (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
3737 * config.h.in (__ABI_TAG_VERSION): Add.
3738 * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
3739 * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
3740 Handle LD_ASSUME_KERNEL.
3741 * sysdeps/unix/sysv/linux/dl-librecon.h: New.
3743 2001-03-15 Ulrich Drepper <drepper@redhat.com>
3745 * timezone/antarctica: Update from tzdata2001a.
3746 * timezone/asia: Likewise.
3747 * timezone/australasia: Likewise.
3748 * timezone/backward: Likewise.
3749 * timezone/etcetera: Likewise.
3750 * timezone/europe: Likewise.
3751 * timezone/leapseconds: Likewise.
3752 * timezone/northamerica: Likewise.
3753 * timezone/southamerica: Likewise.
3754 * timezone/systemv: Likewise.
3755 * timezone/yearistype: Likewise.
3756 * timezone/zone.tab: Likewise.
3757 * timezone/tzdump.c: Update from tzcode2001a.
3759 2001-03-15 H.J. Lu <hjl@gnu.org>
3761 * intl/Makefile: Fix a typo.
3763 2001-03-14 David Mosberger <davidm@hpl.hp.com>
3765 * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
3766 writing arc structures.
3768 2001-03-15 H.J. Lu <hjl@gnu.org>
3770 * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
3773 2001-03-13 Andreas Schwab <schwab@suse.de>
3775 * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
3777 2001-03-15 Ulrich Drepper <drepper@redhat.com>
3779 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
3780 for control message fitting into message data.
3781 Patch by James Antill <james@and.org>.
3783 * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
3786 * posix/fnmatch_loop.c: Optimize handling of ?() and @().
3787 * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
3789 * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
3790 * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
3791 avoid running binaries with libc versions without FNM_EXTMATCH support.
3793 * include/wchar.h: Add prototype for __wcscat.
3794 * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
3796 * posix/fnmatch.h (FNM_EXTMATCH): Define.
3797 * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
3798 (posixly_correct): Move global variable here.
3799 (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
3800 (fnmatch): Pretty printing.
3801 * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
3802 * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
3803 * posix/tst-fnmatch.input: Add tests for extended matching.
3805 * posix/testfnm.c: Add test for patterns with multiple ** before /.
3806 * posix/fnmatch_loop.c: Fix problem with the test above.
3808 2001-03-14 Ulrich Drepper <drepper@redhat.com>
3810 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
3813 * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
3815 2001-03-12 Andreas Jaeger <aj@suse.de>
3817 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3818 Use EM_X86_64 instead of EM_X8664.
3820 2001-03-12 Ulrich Drepper <drepper@redhat.com>
3822 * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
3824 * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
3827 * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
3830 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
3834 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
3836 (__ieee754_acos): Likewise.
3838 2001-03-12 Andreas Jaeger <aj@suse.de>
3840 * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
3841 Fix typo. Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
3843 * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
3846 2001-03-11 Roland McGrath <roland@frob.com>
3848 * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
3850 2001-03-11 Ulrich Drepper <drepper@redhat.com>
3852 * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
3855 * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
3858 Last-bit accurate math library implementation by IBM Haifa.
3859 Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
3860 <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
3861 Anna Reitman <reitman@il.ibm.com>.
3862 * math/Makefile (dbl-only-routines): New variable.
3863 (libm-routines): Add $(dbl-only-routines).
3864 * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
3865 * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
3867 * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
3869 * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
3871 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
3873 * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
3875 * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
3876 remainder implementation.
3877 * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
3879 * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
3881 * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
3882 * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
3883 * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
3885 * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
3886 * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
3888 * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
3890 * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
3892 * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
3893 * sysdeps/ieee754/dbl-64/MathLib.h: New file.
3894 * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
3895 * sysdeps/ieee754/dbl-64/atnat.h: New file.
3896 * sysdeps/ieee754/dbl-64/atnat2.h: New file.
3897 * sysdeps/ieee754/dbl-64/branred.c: New file.
3898 * sysdeps/ieee754/dbl-64/branred.h: New file.
3899 * sysdeps/ieee754/dbl-64/dla.h: New file.
3900 * sysdeps/ieee754/dbl-64/doasin.c: New file.
3901 * sysdeps/ieee754/dbl-64/doasin.h: New file.
3902 * sysdeps/ieee754/dbl-64/dosincos.c: New file.
3903 * sysdeps/ieee754/dbl-64/dosincos.h: New file.
3904 * sysdeps/ieee754/dbl-64/endian.h: New file.
3905 * sysdeps/ieee754/dbl-64/halfulp.c: New file.
3906 * sysdeps/ieee754/dbl-64/mpa.c: New file.
3907 * sysdeps/ieee754/dbl-64/mpa.h: New file.
3908 * sysdeps/ieee754/dbl-64/mpa2.h: New file.
3909 * sysdeps/ieee754/dbl-64/mpatan.c: New file.
3910 * sysdeps/ieee754/dbl-64/mpatan.h: New file.
3911 * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
3912 * sysdeps/ieee754/dbl-64/mpexp.c: New file.
3913 * sysdeps/ieee754/dbl-64/mpexp.h: New file.
3914 * sysdeps/ieee754/dbl-64/mplog.c: New file.
3915 * sysdeps/ieee754/dbl-64/mplog.h: New file.
3916 * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
3917 * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
3918 * sysdeps/ieee754/dbl-64/mptan.c: New file.
3919 * sysdeps/ieee754/dbl-64/mydefs.h: New file.
3920 * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
3921 * sysdeps/ieee754/dbl-64/root.tbl: New file.
3922 * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
3923 * sysdeps/ieee754/dbl-64/sincos32.c: New file.
3924 * sysdeps/ieee754/dbl-64/sincos32.h: New file.
3925 * sysdeps/ieee754/dbl-64/slowexp.c: New file.
3926 * sysdeps/ieee754/dbl-64/slowpow.c: New file.
3927 * sysdeps/ieee754/dbl-64/uasncs.h: New file.
3928 * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
3929 * sysdeps/ieee754/dbl-64/uexp.h: New file.
3930 * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
3931 * sysdeps/ieee754/dbl-64/ulog.h: New file.
3932 * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
3933 * sysdeps/ieee754/dbl-64/upow.h: New file.
3934 * sysdeps/ieee754/dbl-64/upow.tbl: New file.
3935 * sysdeps/ieee754/dbl-64/urem.h: New file.
3936 * sysdeps/ieee754/dbl-64/uroot.h: New file.
3937 * sysdeps/ieee754/dbl-64/usncs.h: New file.
3938 * sysdeps/ieee754/dbl-64/utan.h: New file.
3939 * sysdeps/ieee754/dbl-64/utan.tbl: New file.
3940 * sysdeps/i386/fpu/branred.c: New file.
3941 * sysdeps/i386/fpu/doasin.c: New file.
3942 * sysdeps/i386/fpu/dosincos.c: New file.
3943 * sysdeps/i386/fpu/halfulp.c: New file.
3944 * sysdeps/i386/fpu/mpa.c: New file.
3945 * sysdeps/i386/fpu/mpatan.c: New file.
3946 * sysdeps/i386/fpu/mpatan2.c: New file.
3947 * sysdeps/i386/fpu/mpexp.c: New file.
3948 * sysdeps/i386/fpu/mplog.c: New file.
3949 * sysdeps/i386/fpu/mpsqrt.c: New file.
3950 * sysdeps/i386/fpu/mptan.c: New file.
3951 * sysdeps/i386/fpu/sincos32.c: New file.
3952 * sysdeps/i386/fpu/slowexp.c: New file.
3953 * sysdeps/i386/fpu/slowpow.c: New file.
3954 * sysdeps/ia64/fpu/branred.c: New file.
3955 * sysdeps/ia64/fpu/doasin.c: New file.
3956 * sysdeps/ia64/fpu/dosincos.c: New file.
3957 * sysdeps/ia64/fpu/halfulp.c: New file.
3958 * sysdeps/ia64/fpu/mpa.c: New file.
3959 * sysdeps/ia64/fpu/mpatan.c: New file.
3960 * sysdeps/ia64/fpu/mpatan2.c: New file.
3961 * sysdeps/ia64/fpu/mpexp.c: New file.
3962 * sysdeps/ia64/fpu/mplog.c: New file.
3963 * sysdeps/ia64/fpu/mpsqrt.c: New file.
3964 * sysdeps/ia64/fpu/mptan.c: New file.
3965 * sysdeps/ia64/fpu/sincos32.c: New file.
3966 * sysdeps/ia64/fpu/slowexp.c: New file.
3967 * sysdeps/ia64/fpu/slowpow.c: New file.
3968 * sysdeps/m68k/fpu/branred.c: New file.
3969 * sysdeps/m68k/fpu/doasin.c: New file.
3970 * sysdeps/m68k/fpu/dosincos.c: New file.
3971 * sysdeps/m68k/fpu/halfulp.c: New file.
3972 * sysdeps/m68k/fpu/mpa.c: New file.
3973 * sysdeps/m68k/fpu/mpatan.c: New file.
3974 * sysdeps/m68k/fpu/mpatan2.c: New file.
3975 * sysdeps/m68k/fpu/mpexp.c: New file.
3976 * sysdeps/m68k/fpu/mplog.c: New file.
3977 * sysdeps/m68k/fpu/mpsqrt.c: New file.
3978 * sysdeps/m68k/fpu/mptan.c: New file.
3979 * sysdeps/m68k/fpu/sincos32.c: New file.
3980 * sysdeps/m68k/fpu/slowexp.c: New file.
3981 * sysdeps/m68k/fpu/slowpow.c: New file.
3983 * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
3986 2001-03-11 Andreas Jaeger <aj@suse.de>
3988 * elf/elf.h (EM_*): Synch with official list.
3990 2001-03-07 David Mosberger <davidm@hpl.hp.com>
3992 * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
3994 2001-03-07 Jes Sorensen <jes@linuxcare.com>
3996 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
3997 variables addr & len.
3999 2001-02-22 Jes Sorensen <jes@linuxcare.com>
4001 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
4002 punctuation in asm constraint.
4004 2001-03-07 Mark Kettenis <kettenis@gnu.org>
4006 * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
4007 <time.h> to get definition of `struct timespec'.
4009 2001-03-08 Jakub Jelinek <jakub@redhat.com>
4011 * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
4012 LD_WARN=1, not if LD_WARN is unset.
4014 2001-03-07 Andreas Schwab <schwab@suse.de>
4016 * elf/ldconfig.h: Moved to ...
4017 * sysdeps/generic/ldconfig.h: ... here.
4018 * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
4019 * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
4020 * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
4021 * elf/readlib.c (interpreters, known_libs): Use
4022 SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
4023 instead of hard coding old names.
4025 2001-03-09 Ulrich Drepper <drepper@redhat.com>
4027 * catgets/Makefile (generated): Add test-gencat.h.
4028 (sample.SJIS.cat): Also generate header.
4029 * catgets/sample.SJIS: Add new set and message, both with symbolic
4031 * catgets/test-gencat.sh: Also compare generated header with what
4034 2001-03-07 Jakub Jelinek <jakub@redhat.com>
4036 * catgets/gencat.c (read_input_file): Preserve properly symbolic
4039 2001-03-06 Andreas Jaeger <aj@suse.de>
4041 * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
4043 (elf_machine_pltrel_p): Likewise.
4044 * sysdeps/powerpc/dl-machine.h: Likewise.
4045 * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
4047 2001-03-09 Ulrich Drepper <drepper@redhat.com>
4049 * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
4052 2001-03-05 Philip Blundell <philb@gnu.org>
4054 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
4055 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
4056 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
4057 (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
4060 2001-03-09 Ulrich Drepper <drepper@redhat.com>
4062 * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
4064 * dlfcn/tstcxaatexit.c (main): Likewise.
4066 2001-03-10 Andreas Jaeger <aj@suse.de>
4068 * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
4070 2001-03-09 Andreas Jaeger <aj@suse.de>
4072 * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
4073 both new and old EM_S390 values.
4074 (EM_S390_OLD): New constant.
4076 * elf/elf.h (EM_S390): Use official value.
4078 2001-03-09 Ulrich Drepper <drepper@redhat.com>
4080 * conform/data/sys/socket.h-data: Allow SO* symbols.
4082 2001-03-07 Andreas Schwab <schwab@suse.de>
4084 * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
4085 routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
4087 2001-03-07 Andreas Jaeger <aj@suse.de>
4089 * resolv/Makefile (routines): Only build gai_sigqueue when threads
4092 2001-03-07 Jakub Jelinek <jakub@redhat.com>
4094 * elf/ldconfig.c (_dl_sysdep_message): Remove.
4095 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
4097 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
4099 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
4100 _dl_error_printf instead of _dl_sysdep_error.
4101 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4102 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
4103 Use _dl_printf instead of _dl_sysdep_message.
4104 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
4107 2001-03-06 Ben Collins <bcollins@debian.org>
4109 * manual/arith.texi (Integers): Fix documentation of fast and
4110 least integer typedefs.
4112 2001-03-06 Jakub Jelinek <jakub@redhat.com>
4114 * resolv/Depend: New file.
4115 * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
4116 when libpthread is built.
4118 2001-03-06 Andreas Jaeger <aj@suse.de>
4120 * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
4122 * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
4123 Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
4125 2001-03-05 Ulrich Drepper <drepper@redhat.com>
4127 * stdlib/Versions: Remove __new_exitfn again. Not needed.
4129 2001-03-05 Andreas Jaeger <aj@suse.de>
4131 * stdlib/msort.c (qsort): Don't use alloca in a function call.
4133 2001-03-05 Ulrich Drepper <drepper@redhat.com>
4135 * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
4136 __S_TYPEISSHM): Rewrite to enforce correct use the macros. They still
4138 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4139 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
4140 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4141 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
4142 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4143 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4144 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4146 2001-03-04 Andreas Jaeger <aj@suse.de>
4148 * stdlib/longlong.h: Don't use multi-line strings.
4149 * iconvdata/tst-loading.c: Likewise.
4151 * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
4154 2001-03-04 Ulrich Drepper <drepper@redhat.com>
4156 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
4158 * rt/lio_listio.c: Add a few asserts.
4160 * elf/global.c: New file.
4161 * elf/globalmod1.c: New file.
4162 * elf/Makefile: Add rules to build and run global.
4164 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
4165 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4166 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4167 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4168 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4170 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
4171 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4173 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
4175 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
4176 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4178 * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
4180 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
4182 2001-03-04 Andreas Jaeger <aj@suse.de>
4184 * resolv/tst-aton.c: Add testcase for IP with four periods.
4186 * resolv/inet_addr.c: Don't recognize an IP with four periods.
4187 Patch by Andre' Breiler <A.Breiler@gmx.net>.
4189 2001-02-27 Philip Blundell <pb@futuretv.com>
4191 * elf/elf.h: Add new ARM definitions from latest (B-01)
4192 specification. Correct naming of EF_ARM_ALIGN8 et al.
4194 2001-03-04 Ulrich Drepper <drepper@redhat.com>
4196 * stdio-common/tst-printf.sh: Remove bashisms.
4197 Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
4199 2001-03-03 Ulrich Drepper <drepper@redhat.com>
4201 * Versions.def: Add libanl definition.
4202 * shlib-versions: Add entry for libanl.
4203 * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
4204 (routines): Add gai_sigqueue.
4205 (extra-libs): Add libanl.
4206 (libanl-routines): New variable.
4207 Add rules to build libanl and ga_test.
4208 * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
4209 [libanl]: New library.
4210 * resolv/netdb.h: Add definitions for libanl.
4211 * resolv/getaddrinfo_a.c: New file.
4212 * resolv/gai_cancel.c: New file.
4213 * resolv/gai_error.c: New file.
4214 * resolv/gai_misc.c: New file.
4215 * resolv/gai_misc.h: New file.
4216 * resolv/gai_notify.c: New file.
4217 * resolv/gai_suspend.c: New file.
4218 * resolv/ga_test.c: New file.
4219 * sysdeps/generic/gai_sigqueue.c: New file.
4220 * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
4221 * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
4222 and provide only that definition.
4223 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
4224 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
4225 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4226 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4227 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4228 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4230 * rt/aio_misc.c: Fix typos in comments.
4231 * rt/lio_listio.c: Pretty printing. Little optimization in request
4234 * elf/rtld.c: Remove commented out code.
4236 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
4237 Update for real 2.4 kernels.
4239 2001-03-01 Ulrich Drepper <drepper@redhat.com>
4241 * elf/dl-load.c: Pretty printing.
4243 * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
4246 2001-02-28 Ulrich Drepper <drepper@redhat.com>
4248 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
4249 relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
4251 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
4253 * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
4256 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
4258 2001-02-27 Ulrich Drepper <drepper@redhat.com>
4260 * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
4263 * elf/Versions [ld]: Don't export _dl_debug_message anymore. Export
4265 * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
4266 _dl_debug_message. Define _dl_debug_vdprintf, _dl_debug_printf,
4267 _dl_debug_printf_c, and _dl_printf.
4268 * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
4269 _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
4270 _dl_sysdep_fatal. Declare _dl_debug_printf, _dl_debug_printf_c,
4271 _dl_printf, _dl_error_printf, and _dl_fatal_printf.
4272 * elf/dl-close.c: Replace use of old output functions with the new
4274 * elf/dl-deps.c: Likewise.
4275 * elf/dl-error.c: Likewise.
4276 * elf/dl-fini.c: Likewise.
4277 * elf/dl-init.c: Likewise.
4278 * elf/dl-load.c: Likewise.
4279 * elf/dl-lookup.c: Likewise.
4280 * elf/dl-minimal.c: Likewise.
4281 * elf/dl-open.c: Likewise.
4282 * elf/dl-profile.c: Likewise.
4283 * elf/dl-reloc.c: Likewise.
4284 * elf/dl-version.c: Likewise.
4285 * elf/do-lookup.h: Likewise.
4286 * elf/rtld.c: Likewise.
4287 * sysdeps/generic/dl-cache.c: Likewise.
4288 * sysdeps/generic/dl-sysdep.c: Likewise.
4289 * sysdeps/generic/libc-start.c: Likewise.
4290 * sysdeps/i386/dl-machine.h: Likewise.
4291 * sysdeps/arm/dl-machine.h: Likewise.
4292 * sysdeps/hppa/dl-machine.h: Likewise.
4293 * sysdeps/m68k/dl-machine.h: Likewise.
4294 * sysdeps/powerpc/dl-machine.h: Likewise.
4295 * sysdeps/s390/dl-machine.h: Likewise.
4296 * sysdeps/sh/dl-machine.h: Likewise.
4297 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4298 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
4299 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4301 * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
4303 * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
4304 supported by assembler.
4306 * sysdeps/generic/ldsodefs.h: Remove commented-out variable
4309 * elf/rtld.c: Little optimizations in handling _dl_lazy.
4311 * elf/cache.c (save_cache): Portability changes.
4312 * elf/dl-profile.c (_dl_start_profile): Likewise.
4314 * elf/sln.c: Cleanups. Remove arbitrary limits.
4316 * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
4317 * elf/dl-deps.c: Likewise.
4318 * elf/dl-fini.c: Likewise.
4319 * elf/dl-init.c: Likewise.
4320 * elf/dl-load.c: Likewise.
4321 * elf/dl-lookup.c: Likewise.
4322 * elf/dl-open.c: Likewise.
4323 * elf/dl-reloc.c: Likewise.
4324 * elf/dl-support.c: Likewise.
4325 * elf/dl-version.c: Likewise.
4326 * elf/do-lookup.h: Likewise.
4327 * elf/rtld.c: Likewise.
4328 * sysdeps/generic/dl-cache.c: Likewise.
4329 * sysdeps/generic/ldsodefs.h: Likewise.
4330 * sysdeps/generic/libc-start.c: Likewise.
4331 * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
4332 Export _dl_debug_mask.
4333 * Versions.def: Define GLIBC_2.2.3 for ld.
4335 2001-02-26 Greg McGary <greg@mcgary.org>
4337 * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
4339 2001-02-26 Paul Eggert <eggert@twinsun.com>
4341 Modify mkstemp.c and tempname.c so that they can be used by
4342 GNU applications on non-glibc platforms.
4344 * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
4346 * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
4347 Include <stddef.h>, <stdint.h>, <string.h> only if
4348 STDC_HEADERS || _LIBC.
4349 Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
4350 Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
4351 Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
4352 (__set_errno): Define this macro if <errno.h> doesn't.
4353 (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
4354 Define these macros if <stdio.h> doesn't.
4355 (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
4356 Define these macros if <sys/stat.h> doesn't.
4357 Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
4358 (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
4359 lxstat64, __xstat64): Define if not _LIBC.
4360 (struct_stat64): New macro.
4361 (direxists, __gen_tempname): Use it, to avoid a
4362 portability problem with Solaris 8.
4363 (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
4364 (__gen_tempname): Invoke gettimeofday only if
4365 HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
4366 Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
4367 octal values like 0600.
4369 2001-02-26 Ulrich Drepper <drepper@redhat.com>
4371 * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
4372 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4374 * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
4375 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4377 * posix/wordexp-test.c (testit): Remove warnings.
4379 * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
4380 (tests): Add tstatexit and tstcxaatexit.
4381 (module-names): Add modatexit and modcxaatexit.
4382 Add rules to build and run tstatexit and tstcxaatexit.
4383 * dlfcn/modatexit.c: New file.
4384 * dlfcn/modcxaatexit.c: New file.
4385 * dlfcn/tstatexit.c: New file.
4386 * dlfcn/tstcxaatexit.c: New file.
4388 * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
4389 .hidden is available.
4390 * io/stat.c: If .hidden is available use it to avoid exporting
4392 * io/fstat.c: Likewise.
4393 * io/lstat.c: Likewise.
4394 * io/stat64.c: Likewise.
4395 * io/fstat64.c: Likewise.
4396 * io/lstat64.c: Likewise.
4397 * sysdeps/generic/mknod.c: Likewise.
4399 * malloc/mtrace.c: Use __cxa_atexit and not atexit.
4400 * sysdeps/generic/bb_init_func.c: Likewise.
4401 * sysdeps/generic/libc-start.c: Likewise.
4403 * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
4404 (atexit): Implement using __cxa_atexit.
4405 Use .hidden if availble to avoid exporting atexit.
4406 * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
4407 * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
4408 * stdlib/Makefile (routines): Add old_atexit.
4409 (static-only-routines): Add atexit.
4410 Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
4411 * stdlib/old_atexit.c: New file.
4413 * intl/Makefile: Remove bogus endif.
4415 2001-02-26 Andreas Jaeger <aj@suse.de>
4417 * iconvdata/Makefile (tests): Fix typo in last patch.
4419 * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
4421 Reported by Achim Gottinger <achim@gentoo.org>.
4423 2001-02-25 Andreas Jaeger <aj@suse.de>
4425 * intl/Makefile (plural.c): Reorder rules so that they work if
4426 BISON doesn't exist.
4428 2001-02-25 Ulrich Drepper <drepper@redhat.com>
4430 * intl/locale.alias: Don't use nb_NO but define aliases for it.
4432 2001-02-23 Ulrich Drepper <drepper@redhat.com>
4434 * sysdeps/i386/strtok.S: Continue to return NULL after the first
4437 2001-02-23 Andreas Jaeger <aj@suse.de>
4439 * string/tester.c (test_strtok_r): Add testcase.
4440 (test_strtok_r): Always initialize cp for proper checking.
4442 * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
4443 returning NULL correctly.
4444 Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
4445 * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
4447 2001-02-23 Ulrich Drepper <drepper@redhat.com>
4449 * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
4450 including <stddef.h>.
4451 * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
4452 * include/libc-symbols.h (weak_alias): Don't use .weak if
4453 HAVE_ASM_GLOBAL_DOT_NAME is defined.
4454 Patches by Michael Keezer <mkeezer@redhat.com>.
4456 * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
4457 Patch by Michael Keezer <mkeezer@redhat.com>.
4459 * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
4460 * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
4461 (sysdep_routines): Remove restf.S and savef.S.
4462 * sysdeps/unix/sysv/aix/restf.S: Removed.
4463 * sysdeps/unix/sysv/aix/savef.S: Removed.
4464 * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label. Also define
4465 alternative names used on some platforms.
4466 * sysdeps/powerpc/fprsave.S: Likewise.
4467 * sysdeps/powerpc/gprrest0.S: Likewise.
4468 * sysdeps/powerpc/gprrest1.S: Likewise.
4469 * sysdeps/powerpc/gprsave0.S: Likewise.
4470 * sysdeps/powerpc/gprsave1.S: Likewise.
4471 Patch by Michael Keezer <mkeezer@redhat.com>.
4473 2001-02-22 Ulrich Drepper <drepper@redhat.com>
4475 * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
4477 2001-02-22 Andreas Jaeger <aj@suse.de>
4479 * string/tst-strtok.c (main): Fix error messages.
4481 2001-02-22 Andreas Jaeger <aj@suse.de>
4483 * math/Makefile: Remove omit-long-double-fcts.
4485 2001-02-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4487 * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
4488 avoid problems on MIPS I.
4489 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
4491 * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
4494 2001-02-21 Ulrich Drepper <drepper@redhat.com>
4496 * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
4498 * sysdeps/generic/ftime.c: Include <time.h>.
4500 * configure.in: Don't check for libgd if user passed --without-gd.
4501 Patch by Achim Gottinger <achim@gentoo.org>.
4503 * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
4504 first time this happened.
4505 * string/Makefile (tests): Add tst-strtok.
4507 2001-02-21 Andreas Jaeger <aj@suse.de>
4509 * string/tst-strtok.c: New testcase, reported by
4510 Andrew Church <achurch@achurch.org>.
4512 2001-02-20 Ulrich Drepper <drepper@redhat.com>
4514 * libio/iofwide.c: Remove fwide alias.
4516 2001-02-20 Andreas Jaeger <aj@suse.de>
4518 * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
4520 Reported by Achim Gottinger <achim@gentoo.org>.
4522 2001-02-19 Ulrich Drepper <drepper@redhat.com>
4524 * iconv/tst-iconv1.c (main): Remove debugging code.
4526 * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
4527 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4529 * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
4531 * sysdeps/generic/e_scalbf.c: Likewise.
4532 * sysdeps/generic/e_scalbl.c: Likewise.
4534 * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
4535 libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
4537 (routines): Replace libm_error with libc_libm_error.
4538 * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
4539 * sysdeps/ia64/fpu/libc_libm_error.c: New file.
4541 2001-02-18 Mark Kettenis <kettenis@gnu.org>
4543 * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
4544 (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
4546 2001-02-17 H.J. Lu <hjl@gnu.org>
4548 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
4549 scratch registers across the system call.
4551 2001-02-19 Andreas Jaeger <aj@suse.de>
4553 * malloc/Makefile (tests): Run mtrace only when perl is available.
4554 Reported by Achim Gottinger <achim@gentoo.org>.
4556 2001-02-19 Ulrich Drepper <drepper@redhat.com>
4558 * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
4559 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4561 * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
4562 * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
4563 * math/libm-test.inc (j1_test): Mark constants as long double.
4564 (jn_test): Likewise.
4565 (y1_test): Likewise.
4566 (yn_test): Likewise.
4568 * libio/iogetline.c: Move return until after last statement.
4570 * localedata/show-ucs-data.c: Don't show < > for better readability.
4572 * sysdeps/ia64/fpu/Dist: New file.
4573 * sysdeps/ia64/fpu/Makefile: New file.
4574 * sysdeps/ia64/fpu/Versions: New file.
4575 * sysdeps/ia64/fpu/e_acos.S: New file.
4576 * sysdeps/ia64/fpu/e_acosf.S: New file.
4577 * sysdeps/ia64/fpu/e_acosl.S: New file.
4578 * sysdeps/ia64/fpu/e_asin.S: New file.
4579 * sysdeps/ia64/fpu/e_asinf.S: New file.
4580 * sysdeps/ia64/fpu/e_asinl.S: New file.
4581 * sysdeps/ia64/fpu/e_atan2.S: New file.
4582 * sysdeps/ia64/fpu/e_atan2f.S: New file.
4583 * sysdeps/ia64/fpu/e_atan2l.c: New file.
4584 * sysdeps/ia64/fpu/e_cosh.S: New file.
4585 * sysdeps/ia64/fpu/e_coshf.S: New file.
4586 * sysdeps/ia64/fpu/e_coshl.S: New file.
4587 * sysdeps/ia64/fpu/e_exp.S: New file.
4588 * sysdeps/ia64/fpu/e_expf.S: New file.
4589 * sysdeps/ia64/fpu/e_expl.c: New file.
4590 * sysdeps/ia64/fpu/e_fmod.S: New file.
4591 * sysdeps/ia64/fpu/e_fmodf.S: New file.
4592 * sysdeps/ia64/fpu/e_fmodl.S: New file.
4593 * sysdeps/ia64/fpu/e_hypot.S: New file.
4594 * sysdeps/ia64/fpu/e_hypotf.S: New file.
4595 * sysdeps/ia64/fpu/e_hypotl.S: New file.
4596 * sysdeps/ia64/fpu/e_log.S: New file.
4597 * sysdeps/ia64/fpu/e_log10.c: New file.
4598 * sysdeps/ia64/fpu/e_log10f.c: New file.
4599 * sysdeps/ia64/fpu/e_log10l.c: New file.
4600 * sysdeps/ia64/fpu/e_logf.S: New file.
4601 * sysdeps/ia64/fpu/e_logl.c: New file.
4602 * sysdeps/ia64/fpu/e_pow.S: New file.
4603 * sysdeps/ia64/fpu/e_powf.S: New file.
4604 * sysdeps/ia64/fpu/e_powl.S: New file.
4605 * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
4606 * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
4607 * sysdeps/ia64/fpu/e_remainder.S: New file.
4608 * sysdeps/ia64/fpu/e_remainderf.S: New file.
4609 * sysdeps/ia64/fpu/e_remainderl.S: New file.
4610 * sysdeps/ia64/fpu/e_scalb.S: New file.
4611 * sysdeps/ia64/fpu/e_scalbf.S: New file.
4612 * sysdeps/ia64/fpu/e_scalbl.S: New file.
4613 * sysdeps/ia64/fpu/e_sinh.S: New file.
4614 * sysdeps/ia64/fpu/e_sinhf.S: New file.
4615 * sysdeps/ia64/fpu/e_sinhl.S: New file.
4616 * sysdeps/ia64/fpu/e_sqrt.S: New file.
4617 * sysdeps/ia64/fpu/e_sqrtf.S: New file.
4618 * sysdeps/ia64/fpu/e_sqrtl.S: New file.
4619 * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
4620 * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
4621 * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
4622 * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
4623 * sysdeps/ia64/fpu/libm_error.c: New file.
4624 * sysdeps/ia64/fpu/libm_frexp4.S: New file.
4625 * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
4626 * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
4627 * sysdeps/ia64/fpu/libm_reduce.S: New file.
4628 * sysdeps/ia64/fpu/libm_support.h: New file.
4629 * sysdeps/ia64/fpu/libm_tan.S: New file.
4630 * sysdeps/ia64/fpu/s_atan.S: New file.
4631 * sysdeps/ia64/fpu/s_atanf.S: New file.
4632 * sysdeps/ia64/fpu/s_atanl.S: New file.
4633 * sysdeps/ia64/fpu/s_cbrt.S: New file.
4634 * sysdeps/ia64/fpu/s_cbrtf.S: New file.
4635 * sysdeps/ia64/fpu/s_cbrtl.S: New file.
4636 * sysdeps/ia64/fpu/s_ceil.S: New file.
4637 * sysdeps/ia64/fpu/s_ceilf.S: New file.
4638 * sysdeps/ia64/fpu/s_ceill.S: New file.
4639 * sysdeps/ia64/fpu/s_cos.S: New file.
4640 * sysdeps/ia64/fpu/s_cosf.S: New file.
4641 * sysdeps/ia64/fpu/s_cosl.S: New file.
4642 * sysdeps/ia64/fpu/s_expm1.S: New file.
4643 * sysdeps/ia64/fpu/s_expm1f.S: New file.
4644 * sysdeps/ia64/fpu/s_expm1l.S: New file.
4645 * sysdeps/ia64/fpu/s_floor.S: New file.
4646 * sysdeps/ia64/fpu/s_floorf.S: New file.
4647 * sysdeps/ia64/fpu/s_floorl.S: New file.
4648 * sysdeps/ia64/fpu/s_frexp.c: New file.
4649 * sysdeps/ia64/fpu/s_frexpf.c: New file.
4650 * sysdeps/ia64/fpu/s_frexpl.c: New file.
4651 * sysdeps/ia64/fpu/s_ilogb.S: New file.
4652 * sysdeps/ia64/fpu/s_ilogbf.S: New file.
4653 * sysdeps/ia64/fpu/s_ilogbl.S: New file.
4654 * sysdeps/ia64/fpu/s_ldexp.S: New file.
4655 * sysdeps/ia64/fpu/s_ldexpf.S: New file.
4656 * sysdeps/ia64/fpu/s_ldexpl.S: New file.
4657 * sysdeps/ia64/fpu/s_log1p.S: New file.
4658 * sysdeps/ia64/fpu/s_log1pf.S: New file.
4659 * sysdeps/ia64/fpu/s_log1pl.S: New file.
4660 * sysdeps/ia64/fpu/s_logb.S: New file.
4661 * sysdeps/ia64/fpu/s_logbf.S: New file.
4662 * sysdeps/ia64/fpu/s_logbl.S: New file.
4663 * sysdeps/ia64/fpu/s_matherrf.c: New file.
4664 * sysdeps/ia64/fpu/s_matherrl.c: New file.
4665 * sysdeps/ia64/fpu/s_modf.S: New file.
4666 * sysdeps/ia64/fpu/s_modff.S: New file.
4667 * sysdeps/ia64/fpu/s_modfl.S: New file.
4668 * sysdeps/ia64/fpu/s_nearbyint.S: New file.
4669 * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
4670 * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
4671 * sysdeps/ia64/fpu/s_rint.S: New file.
4672 * sysdeps/ia64/fpu/s_rintf.S: New file.
4673 * sysdeps/ia64/fpu/s_rintl.S: New file.
4674 * sysdeps/ia64/fpu/s_round.S: New file.
4675 * sysdeps/ia64/fpu/s_roundf.S: New file.
4676 * sysdeps/ia64/fpu/s_roundl.S: New file.
4677 * sysdeps/ia64/fpu/s_scalbn.S: New file.
4678 * sysdeps/ia64/fpu/s_scalbnf.S: New file.
4679 * sysdeps/ia64/fpu/s_scalbnl.S: New file.
4680 * sysdeps/ia64/fpu/s_significand.S: New file.
4681 * sysdeps/ia64/fpu/s_significandf.S: New file.
4682 * sysdeps/ia64/fpu/s_significandl.S: New file.
4683 * sysdeps/ia64/fpu/s_sin.c: New file.
4684 * sysdeps/ia64/fpu/s_sincos.c: New file.
4685 * sysdeps/ia64/fpu/s_sincosf.c: New file.
4686 * sysdeps/ia64/fpu/s_sincosl.c: New file.
4687 * sysdeps/ia64/fpu/s_sinf.c: New file.
4688 * sysdeps/ia64/fpu/s_sinl.c: New file.
4689 * sysdeps/ia64/fpu/s_tan.S: New file.
4690 * sysdeps/ia64/fpu/s_tanf.S: New file.
4691 * sysdeps/ia64/fpu/s_tanl.S: New file.
4692 * sysdeps/ia64/fpu/s_trunc.S: New file.
4693 * sysdeps/ia64/fpu/s_truncf.S: New file.
4694 * sysdeps/ia64/fpu/s_truncl.S: New file.
4695 * sysdeps/ia64/fpu/w_acos.c: New file.
4696 * sysdeps/ia64/fpu/w_acosf.c: New file.
4697 * sysdeps/ia64/fpu/w_acosl.c: New file.
4698 * sysdeps/ia64/fpu/w_asin.c: New file.
4699 * sysdeps/ia64/fpu/w_asinf.c: New file.
4700 * sysdeps/ia64/fpu/w_asinl.c: New file.
4701 * sysdeps/ia64/fpu/w_atan2.c: New file.
4702 * sysdeps/ia64/fpu/w_atan2f.c: New file.
4703 * sysdeps/ia64/fpu/w_atan2l.c: New file.
4704 * sysdeps/ia64/fpu/w_cosh.c: New file.
4705 * sysdeps/ia64/fpu/w_coshf.c: New file.
4706 * sysdeps/ia64/fpu/w_coshl.c: New file.
4707 * sysdeps/ia64/fpu/w_exp.c: New file.
4708 * sysdeps/ia64/fpu/w_expf.c: New file.
4709 * sysdeps/ia64/fpu/w_fmod.c: New file.
4710 * sysdeps/ia64/fpu/w_fmodf.c: New file.
4711 * sysdeps/ia64/fpu/w_fmodl.c: New file.
4712 * sysdeps/ia64/fpu/w_hypot.c: New file.
4713 * sysdeps/ia64/fpu/w_hypotf.c: New file.
4714 * sysdeps/ia64/fpu/w_hypotl.c: New file.
4715 * sysdeps/ia64/fpu/w_log.c: New file.
4716 * sysdeps/ia64/fpu/w_log10.c: New file.
4717 * sysdeps/ia64/fpu/w_log10f.c: New file.
4718 * sysdeps/ia64/fpu/w_log10l.c: New file.
4719 * sysdeps/ia64/fpu/w_logf.c: New file.
4720 * sysdeps/ia64/fpu/w_logl.c: New file.
4721 * sysdeps/ia64/fpu/w_pow.c: New file.
4722 * sysdeps/ia64/fpu/w_powf.c: New file.
4723 * sysdeps/ia64/fpu/w_powl.c: New file.
4724 * sysdeps/ia64/fpu/w_remainder.c: New file.
4725 * sysdeps/ia64/fpu/w_remainderf.c: New file.
4726 * sysdeps/ia64/fpu/w_remainderl.c: New file.
4727 * sysdeps/ia64/fpu/w_scalb.c: New file.
4728 * sysdeps/ia64/fpu/w_scalbf.c: New file.
4729 * sysdeps/ia64/fpu/w_scalbl.c: New file.
4730 * sysdeps/ia64/fpu/w_sqrt.c: New file.
4731 * sysdeps/ia64/fpu/w_sqrtf.c: New file.
4732 * sysdeps/ia64/fpu/w_sqrtl.c: New file.
4733 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
4735 * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
4736 Change FP_ILOGBNAN for new implementation.
4737 * Verions.def: Add 2.2.3 versions.
4739 2001-02-18 Ulrich Drepper <drepper@redhat.com>
4741 * math/libm-test.inc (scalb_test): Require invalid exception being
4742 raised for invalid parameters.
4743 * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
4744 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4745 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4747 2001-02-18 Mark Kettenis <kettenis@gnu.org>
4749 * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
4751 (__get_avphys_pages): Likewise.
4753 2001-02-18 Ulrich Drepper <drepper@redhat.com>
4755 * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
4756 * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
4757 * sysdeps/i386/fpu/e_powf.S: Likewise.
4758 * sysdeps/i386/fpu/e_powl.S: Likewise.
4760 * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
4762 2001-02-17 Ulrich Drepper <drepper@redhat.com>
4764 * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
4766 * sysdeps/generic/s_exp2l.c: Renamed to...
4767 * sysdeps/generic/e_exp2l.c: ...this. New file.
4768 * sysdeps/i386/fpu/s_exp2.S: Renamed to...
4769 * sysdeps/i386/fpu/e_exp2.S: ...this. New file.
4770 * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
4771 * sysdeps/i386/fpu/e_exp2f.S: ...this. New file.
4772 * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
4773 * sysdeps/i386/fpu/e_exp2l.S: ...this. New file.
4774 * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
4775 * sysdeps/ieee754/flt-32/e_exp2f.c: ...this. New file.
4776 * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
4777 * sysdeps/ieee754/dbl-64/e_exp2.c: ...this. New file.
4778 * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
4779 * sysdeps/m68k/fpu/e_exp2.c: ...this. New file.
4780 * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
4781 * sysdeps/m68k/fpu/e_exp2f.c: ...this. New file.
4782 * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
4783 * sysdeps/m68k/fpu/e_exp2l.c: ...this. New file.
4785 2001-02-17 Andreas Jaeger <aj@suse.de>
4787 * configure.in: Allow gcc 3.
4789 2001-02-16 Ulrich Drepper <drepper@redhat.com>
4791 * math/w_acos.c: Move to ...
4792 * sysdeps/generic/w_acos.c: ...here. New file.
4793 * math/w_acosf.c: Move to ...
4794 * sysdeps/generic/w_acosf.c: ...here. New file.
4795 * math/w_acosh.c: Move to ...
4796 * sysdeps/generic/w_acosh.c: ...here. New file.
4797 * math/w_acoshf.c: Move to ...
4798 * sysdeps/generic/w_acoshf.c: ...here. New file.
4799 * math/w_acoshl.c: Move to ...
4800 * sysdeps/generic/w_acoshl.c: ...here. New file.
4801 * math/w_acosl.c: Move to ...
4802 * sysdeps/generic/w_acosl.c: ...here. New file.
4803 * math/w_asin.c: Move to ...
4804 * sysdeps/generic/w_asin.c: ...here. New file.
4805 * math/w_asinf.c: Move to ...
4806 * sysdeps/generic/w_asinf.c: ...here. New file.
4807 * math/w_asinl.c: Move to ...
4808 * sysdeps/generic/w_asinl.c: ...here. New file.
4809 * math/w_atan2.c: Move to ...
4810 * sysdeps/generic/w_atan2.c: ...here. New file.
4811 * math/w_atan2f.c: Move to ...
4812 * sysdeps/generic/w_atan2f.c: ...here. New file.
4813 * math/w_atan2l.c: Move to ...
4814 * sysdeps/generic/w_atan2l.c: ...here. New file.
4815 * math/w_atanh.c: Move to ...
4816 * sysdeps/generic/w_atanh.c: ...here. New file.
4817 * math/w_atanhf.c: Move to ...
4818 * sysdeps/generic/w_atanhf.c: ...here. New file.
4819 * math/w_atanhl.c: Move to ...
4820 * sysdeps/generic/w_atanhl.c: ...here. New file.
4821 * math/w_cosh.c: Move to ...
4822 * sysdeps/generic/w_cosh.c: ...here. New file.
4823 * math/w_coshf.c: Move to ...
4824 * sysdeps/generic/w_coshf.c: ...here. New file.
4825 * math/w_coshl.c: Move to ...
4826 * sysdeps/generic/w_coshl.c: ...here. New file.
4827 * math/w_drem.c: Move to ...
4828 * sysdeps/generic/w_drem.c: ...here. New file.
4829 * math/w_dremf.c: Move to ...
4830 * sysdeps/generic/w_dremf.c: ...here. New file.
4831 * math/w_dreml.c: Move to ...
4832 * sysdeps/generic/w_dreml.c: ...here. New file.
4833 * math/w_exp10.c: Move to ...
4834 * sysdeps/generic/w_exp10.c: ...here. New file.
4835 * math/w_exp10f.c: Move to ...
4836 * sysdeps/generic/w_exp10f.c: ...here. New file.
4837 * math/w_exp10l.c: Move to ...
4838 * sysdeps/generic/w_exp10l.c: ...here. New file.
4839 * math/w_exp2.c: Move to ...
4840 * sysdeps/generic/w_exp2.c: ...here. New file.
4841 * math/w_exp2f.c: Move to ...
4842 * sysdeps/generic/w_exp2f.c: ...here. New file.
4843 * math/w_exp2l.c: Move to ...
4844 * sysdeps/generic/w_exp2l.c: ...here. New file.
4845 * math/w_fmod.c: Move to ...
4846 * sysdeps/generic/w_fmod.c: ...here. New file.
4847 * math/w_fmodf.c: Move to ...
4848 * sysdeps/generic/w_fmodf.c: ...here. New file.
4849 * math/w_fmodl.c: Move to ...
4850 * sysdeps/generic/w_fmodl.c: ...here. New file.
4851 * math/w_hypot.c: Move to ...
4852 * sysdeps/generic/w_hypot.c: ...here. New file.
4853 * math/w_hypotf.c: Move to ...
4854 * sysdeps/generic/w_hypotf.c: ...here. New file.
4855 * math/w_hypotl.c: Move to ...
4856 * sysdeps/generic/w_hypotl.c: ...here. New file.
4857 * math/w_j0.c: Move to ...
4858 * sysdeps/generic/w_j0.c: ...here. New file.
4859 * math/w_j0f.c: Move to ...
4860 * sysdeps/generic/w_j0f.c: ...here. New file.
4861 * math/w_j0l.c: Move to ...
4862 * sysdeps/generic/w_j0l.c: ...here. New file.
4863 * math/w_j1.c: Move to ...
4864 * sysdeps/generic/w_j1.c: ...here. New file.
4865 * math/w_j1f.c: Move to ...
4866 * sysdeps/generic/w_j1f.c: ...here. New file.
4867 * math/w_j1l.c: Move to ...
4868 * sysdeps/generic/w_j1l.c: ...here. New file.
4869 * math/w_jn.c: Move to ...
4870 * sysdeps/generic/w_jn.c: ...here. New file.
4871 * math/w_jnf.c: Move to ...
4872 * sysdeps/generic/w_jnf.c: ...here. New file.
4873 * math/w_jnl.c: Move to ...
4874 * sysdeps/generic/w_jnl.c: ...here. New file.
4875 * math/w_lgamma.c: Move to ...
4876 * sysdeps/generic/w_lgamma.c: ...here. New file.
4877 * math/w_lgammaf.c: Move to ...
4878 * sysdeps/generic/w_lgammaf.c: ...here. New file.
4879 * math/w_lgammaf_r.c: Move to ...
4880 * sysdeps/generic/w_lgammaf_r.c: ...here. New file.
4881 * math/w_lgammal.c: Move to ...
4882 * sysdeps/generic/w_lgammal.c: ...here. New file.
4883 * math/w_lgammal_r.c: Move to ...
4884 * sysdeps/generic/w_lgammal_r.c: ...here. New file.
4885 * math/w_lgamma_r.c: Move to ...
4886 * sysdeps/generic/w_lgamma_r.c: ...here. New file.
4887 * math/w_log10.c: Move to ...
4888 * sysdeps/generic/w_log10.c: ...here. New file.
4889 * math/w_log10f.c: Move to ...
4890 * sysdeps/generic/w_log10f.c: ...here. New file.
4891 * math/w_log10l.c: Move to ...
4892 * sysdeps/generic/w_log10l.c: ...here. New file.
4893 * math/w_log.c: Move to ...
4894 * sysdeps/generic/w_log.c: ...here. New file.
4895 * math/w_logf.c: Move to ...
4896 * sysdeps/generic/w_logf.c: ...here. New file.
4897 * math/w_logl.c: Move to ...
4898 * sysdeps/generic/w_logl.c: ...here. New file.
4899 * math/w_pow.c: Move to ...
4900 * sysdeps/generic/w_pow.c: ...here. New file.
4901 * math/w_powf.c: Move to ...
4902 * sysdeps/generic/w_powf.c: ...here. New file.
4903 * math/w_powl.c: Move to ...
4904 * sysdeps/generic/w_powl.c: ...here. New file.
4905 * math/w_remainder.c: Move to ...
4906 * sysdeps/generic/w_remainder.c: ...here. New file.
4907 * math/w_remainderf.c: Move to ...
4908 * sysdeps/generic/w_remainderf.c: ...here. New file.
4909 * math/w_remainderl.c: Move to ...
4910 * sysdeps/generic/w_remainderl.c: ...here. New file.
4911 * math/w_scalb.c: Move to ...
4912 * sysdeps/generic/w_scalb.c: ...here. New file.
4913 * math/w_scalbf.c: Move to ...
4914 * sysdeps/generic/w_scalbf.c: ...here. New file.
4915 * math/w_scalbl.c: Move to ...
4916 * sysdeps/generic/w_scalbl.c: ...here. New file.
4917 * math/w_sinh.c: Move to ...
4918 * sysdeps/generic/w_sinh.c: ...here. New file.
4919 * math/w_sinhf.c: Move to ...
4920 * sysdeps/generic/w_sinhf.c: ...here. New file.
4921 * math/w_sinhl.c: Move to ...
4922 * sysdeps/generic/w_sinhl.c: ...here. New file.
4923 * math/w_sqrtl.c: Move to ...
4924 * sysdeps/generic/w_sqrtl.c: ...here. New file.
4925 * math/w_tgamma.c: Move to ...
4926 * sysdeps/generic/w_tgamma.c: ...here. New file.
4927 * math/w_tgammaf.c: Move to ...
4928 * sysdeps/generic/w_tgammaf.c: ...here. New file.
4929 * math/w_tgammal.c: Move to ...
4930 * sysdeps/generic/w_tgammal.c: ...here. New file.
4932 * locale/programs/ld-address.c (address_finish): Add 'S' to allow
4933 formats for postal_fmt.
4935 2001-02-16 Jakub Jelinek <jakub@redhat.com>
4937 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
4938 __ftruncate64 alias.
4939 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
4942 2001-02-15 David Mosberger <davidm@hpl.hp.com>
4944 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
4945 do "loadrs". Writing to bspstore already takes care of
4946 invalidating the "clean" partition.
4948 2001-02-16 Andreas Schwab <schwab@suse.de>
4950 * sysdeps/m68k/fpu/s_nextafterl.c: New file.
4951 * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
4953 2001-02-15 Jakub Jelinek <jakub@redhat.com>
4955 * posix/regex.c (init_syntax_once): Add prototype.
4956 (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
4957 (re_search_2): Avoid warning.
4958 (count_mbs_length): Add prototype.
4959 * posix/tst-regex3.c: New file.
4960 * posix/Makefile (tests): Add bug-regex3.
4962 2001-02-15 Ulrich Drepper <drepper@redhat.com>
4964 * stdio-common/Makefile (tests): Add tst-gets.
4965 * stdio-common/tst-gets.c: New file.
4966 * stdio-common/tst-gets.input: New file.
4968 * elf/elf.h (DT_CHECKSUM): Define.
4970 * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
4972 * sysdeps/generic/strtoull.c: Likewise.
4974 2001-02-14 Wolfram Gloger <wg@malloc.de>
4976 * malloc/malloc.c (new_heap): When allocating large chunk aligned
4977 to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
4980 2001-02-14 Ulrich Drepper <drepper@redhat.com>
4982 * math/libm-test.inc (j0_test): Check whether sincos is available.
4983 (j1_test): Likewise.
4984 (jn_test): Likewise.
4985 (y0_test): Likewise.
4986 (y1_test): Likewise.
4987 (yn_test): Likewise.
4989 * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
4990 fake filesystem routines to handle this.
4992 * time/sys/time.h: Make settimeofday and adjtime available if
4995 * time/sys/time.h: Make timer* macros available for BSD.
4997 * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
4998 Patch by Yong Li <rigel863@yahoo.com>.
5000 * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
5003 * posix/Makefile (tests): Add tst-gnuglob.
5004 * posix/tst-gnuglob.c: New file.
5006 2001-02-13 H.J. Lu <hjl@gnu.org>
5008 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
5010 2001-02-13 Ulrich Drepper <drepper@redhat.com>
5012 * locale/programs/ld-paper.c (paper_output): Pretty printing.
5014 * iconvdata/Makefile (modules): Add GBBIG5.
5015 (distribute): Add gbbig5.c.
5016 * iconvdata/gconv-modules: Add entries for GBBIG5 module.
5018 * iconvdata/gbbig5.c: New file.
5019 Contributed by Yong Li <rigel863@yahoo.com>.
5021 2001-02-13 Philip Blundell <pb@futuretv.com>
5023 * manual/crypt.texi: Remove outdated references to crypt add-on.
5025 * manual/creature.texi: Improve wording slightly.
5027 2001-02-13 Ulrich Drepper <drepper@redhat.com>
5029 * io/ftw.c: Always use readdir64.
5030 * io/ftw64.c: Likewise.
5031 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5032 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5033 * sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir
5034 callback to dirent. Still allow compiling outside glibc.
5035 * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
5036 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5038 * malloc/mtrace.c: Use fopen64.
5039 * posix/spawni.c: Use __open64.
5040 * sysdeps/unix/opendir.c: Likewise.
5041 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
5043 * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
5045 * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
5046 * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
5047 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5048 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
5050 * resolv/res_data.c: Add cast to avoid warning.
5052 * include/unistd.h: Declare __ftruncate64.
5054 * sysdeps/generic/utmp_file.c: Use LFS functions and types.
5056 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
5059 2001-02-13 Andreas Jaeger <aj@suse.de>
5061 * login/getutent_r.c: Include <stdlib.h> for NULL.
5062 * login/getutid_r.c: Likewise.
5064 2001-02-12 Ulrich Drepper <drepper@redhat.com>
5066 * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
5067 * sysdeps/dbl-64/e_j1.c: Likewise.
5068 * sysdeps/dbl-64/e_jn.c: Likewise.
5069 * sysdeps/flt-32/e_j0f.c: Likewise.
5070 * sysdeps/flt-32/e_j1f.c: Likewise.
5071 * sysdeps/ldbl-96/e_j0l.c: Likewise.
5073 2000-12-02 H.J. Lu <hjl@gnu.org>
5075 * resolv/res_libc.c (res_init): Don't make it default.
5077 2001-02-12 Ulrich Drepper <drepper@redhat.com>
5079 * manual/debug.texi: Improved the wording.
5080 Patch by Philip Blundell <pb@futuretv.com>.
5082 2001-02-12 Andreas Jaeger <aj@suse.de>
5084 * posix/Makefile (tests): Don't run bug-regex2 when
5087 * libio/Makefile (tests): Don't run test-freopen when
5090 * manual/stdio.texi (Streams and I18N): Fix typos.
5092 2001-02-12 Ulrich Drepper <drepper@redhat.com>
5094 * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
5096 * math/libm-test.inc (j0_test): Make expected results long double
5098 (y0_test): Likewise.
5100 * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
5101 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5103 2001-02-11 Jakub Jelinek <jakub@redhat.com>
5105 * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
5106 which was exported from libc.
5107 * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
5109 2001-02-12 Andreas Jaeger <aj@suse.de>
5111 * manual/arith.texi (Parsing of Integers): Fix some wordings.
5113 2001-02-11 Ulrich Drepper <drepper@redhat.com>
5115 * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
5116 and get_avphys_page to long int.
5117 * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
5118 * include/sys/sysinfo.h: Likewise.
5119 * sysdeps/generic/sys/sysinfo.h: Likewise.
5120 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
5122 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
5123 cannot return as many values as the user asked for.
5125 2001-02-11 Andreas Jaeger <aj@suse.de>
5127 * manual/resource.texi (Memory Resources): Fix typo.
5129 * libio/Makefile ($(objpfx)test-freopen.out): Pass
5132 * libio/test-freopen.sh: Use run_program_prefix.
5134 2001-02-10 Andreas Jaeger <aj@suse.de>
5136 * stdlib/Makefile (tests): Don't run tst-fmtmsg when
5138 ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
5140 * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
5143 * elf/Makefile (tests): Only run tst-pathopt with shared libs.
5145 * posix/Makefile: Fix typo, it's build-static-nss.
5147 * iconv/Makefile (extra-objs): New.
5149 2001-02-10 Mark Kettenis <kettenis@gnu.org>
5151 * sysdeps/unix/stime.c: Include <time.h>.
5153 * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
5155 2001-02-10 Andreas Jaeger <aj@suse.de>
5157 * manual/string.texi (Search Functions): Fix typo.
5159 2001-02-10 Mark Kettenis <kettenis@gnu.org>
5161 * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
5162 (timeval_to_clock_t): Add clk_tck argument and use that instead of
5164 (__times): Use __getclktck to get the number of clock ticks per
5165 second and use its return value instead of CLK_TCK.
5167 2001-02-10 Mark Kettenis <kettenis@gnu.org>
5169 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
5171 2001-02-10 Mark Kettenis <kettenis@gnu.org>
5173 * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
5175 2001-02-10 Andreas Jaeger <aj@suse.de>
5177 * wctype/wcfuncs.c (func): Add prototype declarations to avoid
5180 2001-02-09 Ulrich Drepper <drepper@redhat.com>
5182 * posix/Makefile: Add rules to build and run bug-regex2.
5183 * posix/bug-regex2.c: New file.
5185 2001-02-10 Jakub Jelinek <jakub@redhat.com>
5187 * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
5188 (regex_compile): Likewise.
5189 (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
5190 (re_match_2_internal): Use just is_binary instead of two variables.
5191 Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
5193 2001-02-09 Ulrich Drepper <drepper@redhat.com>
5195 * version.h (VERSION): Bump to 2.2.2.
5197 * iconv/Makefile (distribute): Add iconv_charmap.c and
5199 * elf/Makefile (distribute): Add firstobj.c.
5200 * Makefile (distribute): Add include/pthread.h.
5202 * configure.in: Require makeinfo version 4.
5204 * libio/tst_wscanf.c (main): Add cast to avoid warning.
5205 * libio/tst_swscanf.c (main): Likewise..
5207 2001-02-09 Jakub Jelinek <jakub@redhat.com>
5209 * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
5210 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
5212 * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
5213 if not RTLD_BOOTSTRAP.
5214 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5215 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5217 2001-02-09 Ulrich Drepper <drepper@redhat.com>
5219 * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use
5220 lr_ungetc to push back last read character.
5221 * locale/programs/linereader.h (lr_ungetc): Don't push back is
5223 (lr_ignore_rest): Don't warn about garbage if it is really the end
5226 * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
5229 2001-02-08 Ulrich Drepper <drepper@redhat.com>
5231 * Makerules (build-shlib): Work around different order of
5232 processing of -B option in different gcc versions.
5234 * posix/regex.c: Fix alignment problem.
5235 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5237 * sysdeps/alpha/strrchr.S: Little optimization.
5238 Patch by Richard Henderson <rth@redhat.com>.
5240 * sysdeps/alpha/alphaev67/strrchr.S: New file.
5241 Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
5243 2001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
5245 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
5246 in the assembler end directive.
5248 2001-02-08 Andreas Jaeger <aj@suse.de>
5250 * manual/stdio.texi (Closing Streams): Fix typos.
5252 2001-02-07 Ulrich Drepper <drepper@redhat.com>
5254 * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
5255 Patch by Richard Henderson <rth@redhat.com>.
5256 Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
5258 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
5259 pointer in FILE structure before calling _IO_init.
5260 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
5261 strfmon_l if necessary.
5262 Reported by Jury Gerold <gjury@grips.com>.
5264 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
5265 Patch by Pekka.Pietikainen@cern.ch.
5267 * posix/regex.c: Correct several problems with 64-bit architectures
5268 introduced in the MBS changes.
5269 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5271 2001-02-07 Jakub Jelinek <jakub@redhat.com>
5273 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
5275 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
5277 2001-02-07 Andreas Jaeger <aj@suse.de>
5279 * manual/install.texi (Tools for Compilation): Fix typo.
5280 Reported by Pavel Machek <pavel@bug.ucw.cz>.
5282 2001-02-07 Ulrich Drepper <drepper@redhat.com>
5284 * stdlib/strtod.c: Never stop prematurely reading digits before the
5285 decimal point is found. Compute exponent limit for negative exponents
5286 correctly. For numbers ending in all zeros eat the zeros even before
5287 the decimal point if the exponent is negative [PR libc/2072].
5288 * stdlib/Makefile (tests): Add bug-strtod.
5289 * stdlib/bug-strtod.c: New file.
5291 2001-02-07 Andreas Jaeger <aj@suse.de>
5293 * posix/bug-regex1.c: Include <wchar.h> for fwide.
5295 2001-02-06 Ulrich Drepper <drepper@redhat.com>
5297 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
5299 (compile_range): Handle index being passed, not pointer.
5300 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5302 * posix/regex.c: Fix a cast in the code for bracket handling which
5303 caused 8-bit uncleanliness.
5304 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
5306 * posix/Makefile (tests): Add bug-regex1.
5307 * posix/bug-regex1.c: New file.
5308 Contributed by Jim Meyering <jim@meyering.net>.
5310 * posix/regex.c: Many cleanups for incorrect format strings.
5312 2001-02-06 Andreas Jaeger <aj@suse.de>
5314 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
5316 2001-02-06 Ulrich Drepper <drepper@redhat.com>
5318 * locale/programs/locale.c (write_locales): Use scandir to read
5319 directory so that the entries are sorted.
5321 2001-02-06 Andreas Jaeger <aj@suse.de>
5323 * include/pthread.h: New file.
5325 * wctype/wctype.h: Move internal interfaces from here to...
5326 * include/wctype.h: ...here.
5328 * wcsmbs/wchar.h: Move __wcslen from here to...
5329 * include/wchar.h: ...here.
5331 * posix/sys/wait.h: Move __wait from here to...
5332 * include/sys/wait.h: ...here.
5334 * string/string.h: Move __ffs and __strerror_r from here to...
5335 * include/string.h: ...here.
5337 * stdlib/stdlib.h: Move __on_exit from here to...
5338 * include/stdlib.h: ...here.
5340 * libio/stdio.h: Move __vsnprintf from here to...
5341 * include/stdio.h: ...here.
5343 2001-02-06 Andreas Schwab <schwab@suse.de>
5345 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
5348 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
5351 2001-02-06 Ulrich Drepper <drepper@redhat.com>
5353 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
5355 2001-02-06 Andreas Jaeger <aj@suse.de>
5357 * elf/firstobj.c: Add prototype.
5359 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
5360 (truncate_wchar): Likewise.
5362 2001-02-06 Ulrich Drepper <drepper@redhat.com>
5364 * locale/programs/locale.c: Implement --verbose option for -a
5365 which prints detailed information about the locales.
5367 2001-02-05 Ulrich Drepper <drepper@redhat.com>
5369 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
5370 variable to uint32_t.
5371 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
5373 2001-02-04 Bruno Haible <haible@clisp.cons.org>
5375 * locale/C-translit.h.in: Add transliterations for CJK units of
5378 2001-02-05 Ulrich Drepper <drepper@redhat.com>
5380 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
5381 string. Include <inttypes.h> instead of <stdint.h>.
5383 * localedata/Makefile (tests): Add bug-iconv-trans.
5384 Define bug-iconv-trans-ENV.
5385 * localedata/bug-iconv-trans.c: New file.
5387 2001-02-04 Bruno Haible <haible@clisp.cons.org>
5389 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
5390 pointer, to avoid accumulating output from incomplete (unsuccessful)
5391 transliteration attempts.
5393 2001-02-05 Ulrich Drepper <drepper@redhat.com>
5395 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
5396 string. Include <inttypes.h> instead of <stdint.h>.
5398 * configure.in: Add check for bison.
5399 * config.make.in: Define BISON variable.
5400 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
5401 Rename YFLAGS to BISONFLAGS.
5403 2001-02-05 Andreas Jaeger <aj@suse.de>
5405 * io/test-lfs.c (do_test): Test lseek64 return value, call
5407 (test_ftello): New function to test ftello64 and fseeko64.
5409 * signal/signal.h: Move __sigaction from here to...
5410 * include/signal.h: ...here.
5412 * io/fcntl.h: Move __fcntl and __open to...
5413 * include/fcntl.h: ...here.
5415 2001-02-04 Philip Blundell <philb@gnu.org>
5417 * configure.in: Distinguish ARM from Thumb.
5419 2001-02-04 Philip Blundell <philb@gnu.org>
5421 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
5422 PC24 relocs with negative value.
5424 2001-02-04 Ulrich Drepper <drepper@redhat.com>
5426 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
5427 files in locale/programs. Add CFLAGS definition to allow compiling
5429 * iconv/dummy-repertoire.c: New file.
5430 * iconv/iconv_charmap.c: New file.
5431 * iconv/iconv_prog.h: New file.
5432 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
5433 (main): If parameter for -f and -t contain slashes try first to resolve
5434 the strings as filenames of charmap files. Use them for conversion
5436 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
5437 iconv getting charmap names as parameters.
5438 * locale/programs/linereader.c (lr_token): Take extra parameters
5439 verbose and pass it to get_string.
5440 (get_string): Take extra parameters verbose.
5441 * locale/programs/charmap.c (parse_charmap): Take extra parameters
5442 verbose and be_quiet. Change all callers of lr_token and
5444 * locale/programs/charmap.h: Likewise.
5445 * locale/programs/ld-address.c: Likewise.
5446 * locale/programs/ld-collate.c: Likewise.
5447 * locale/programs/ld-ctype.c: Likewise.
5448 * locale/programs/ld-identification.c: Likewise.
5449 * locale/programs/ld-measurement.c: Likewise.
5450 * locale/programs/ld-messages.c: Likewise.
5451 * locale/programs/ld-monetary.c: Likewise.
5452 * locale/programs/ld-name.c: Likewise.
5453 * locale/programs/ld-numeric.c: Likewise.
5454 * locale/programs/ld-paper.c: Likewise.
5455 * locale/programs/ld-telephone.c: Likewise.
5456 * locale/programs/ld-time.c: Likewise.
5457 * locale/programs/linereader.c: Likewise.
5458 * locale/programs/linereader.h: Likewise.
5459 * locale/programs/localedef.c: Likewise.
5460 * locale/programs/locfile.c: Likewise.
5461 * locale/programs/locfile.h: Likewise.
5462 * locale/programs/repertoire.c: Likewise.
5464 2001-02-03 Ulrich Drepper <drepper@redhat.com>
5466 * iconv/iconv_prog.c (main): If output file name is "-" write to
5468 (main): If -f or -t argument is missing use charset of the current
5471 2001-02-03 Andreas Jaeger <aj@suse.de>
5473 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
5474 boundary for SSE/SSE-2 alignment.
5476 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
5479 2001-02-03 Ulrich Drepper <drepper@redhat.com>
5481 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
5482 Remove comma at end of enum.
5484 * elf/dl-init.c: Add a few __builtin_expect.
5486 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
5488 2001-02-02 Ulrich Drepper <drepper@redhat.com>
5490 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
5491 errno is ECONNREFUSED.
5493 * posix/Makefile: Define MBS_SUPPORT for regex.c.
5494 * posix/regex.c: Implement multibyte character handling.
5495 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
5497 * string/tst-svc.input: Add two more test cases.
5498 * string/tst-svc.expect: Modify to reflect new test cases.
5500 2001-02-01 Jakub Jelinek <jakub@redhat.com>
5502 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
5503 tp->name tests with tp->name[0] tests.
5505 2001-01-29 Ben Collins <bcollins@debian.org>
5507 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
5508 Fix check for name == NULL.
5510 2001-02-01 Ulrich Drepper <drepper@redhat.com>
5512 * elf/Makefile: Add rules to build and run initfirst test.
5513 * elf/initfirst.c: New file.
5514 * elf/firstobj.c: New file.
5516 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
5517 * configure.in: Test for -z initfirst linker option.
5518 * config.make.in: Add have-z-initfirst.
5519 * elf/dl-init.c (_dl_init): Split out actual initialization code in
5520 new function call_init. If _dl_initfirst is non-NULL initialize first.
5521 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
5522 remember object in _dl_initfirst.
5523 * elf/soinit.c: Remove special support for calling
5524 __pthread_initialize_minimal.
5526 * conform/conformtest.pl: Add missing $prepend in type test.
5528 2001-01-31 Ulrich Drepper <drepper@redhat.com>
5530 * elf/elf.h (SHT_CHECKSUM): New definition.
5532 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
5533 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5534 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
5536 2001-01-31 Mark Kettenis <kettenis@gnu.org>
5538 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
5539 to get definition of `struct timeval'.
5541 2001-01-31 Ulrich Drepper <drepper@redhat.com>
5543 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
5544 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
5546 2001-01-30 Ulrich Drepper <drepper@redhat.com>
5548 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
5551 * nis/nis_findserv.c: Include <time.h>.
5553 2001-01-30 Yong Li <yong.li@asu.edu>
5555 * iconv/iconv_prog.c (main): Correct error handling method name.
5557 2001-01-29 Ben Collins <bcollins@debian.org>
5559 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
5560 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
5561 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
5562 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
5564 2001-01-30 Ulrich Drepper <drepper@redhat.com>
5566 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
5567 Patch by Marko Myllynen <myllynen@lut.fi>.
5569 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
5570 (int instead of char).
5571 (__strpbrk_c3): Likewise.
5572 Reported by GOTO Masanori <gotom@debian.or.jp>.
5574 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
5575 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
5576 * include/sys/socket.h: Add SA_LEN here for internal use.
5577 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
5579 2001-01-29 Ulrich Drepper <drepper@redhat.com>
5581 * malloc/Makefile: Don't build memusagestat if cross-compiling.
5583 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
5585 * math/libm-test.inc (rint_test): Add a few more tests for round
5588 2001-01-28 Ulrich Drepper <drepper@redhat.com>
5590 * conform/data/pthread.h-data: Correct return type of pthread_exit.
5592 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
5594 * conform/data/stdlib.h-data: Add _Exit.
5596 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
5597 if not already happened.
5598 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
5599 Don't include <limits.h> and <bits/sockaddr.h>.
5601 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
5603 * conform/data/spawn.h-data: Allow all of <sched.h>.
5605 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
5608 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
5609 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
5611 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
5613 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
5614 * libio/stdio.h: Define va_list correctly.
5616 * conform/data/pthread.h-data: Make priority protocol related
5617 functions optional. Fix typos.
5619 * posix/sched.h: Define sched_priority as __sched_priority.
5620 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
5621 to __sched_priority.
5622 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5624 2001-01-27 Ulrich Drepper <drepper@redhat.com>
5626 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
5629 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
5630 * sysdeps/unix/time.c: Likewise.
5632 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
5633 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
5634 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
5635 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
5636 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
5637 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
5638 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
5639 * time/time.h: Likewise.
5641 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
5642 * conform/data/complex.h-data: New file.
5643 * conform/data/tgmath.h-data: New file.
5645 * conform/data/wchar.h-data: Add missing functions.
5647 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
5649 * conform/data/termios.h-data: Add missing const in tcsetattr()
5652 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
5653 Don't define pid_t here.
5655 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
5657 * conform/data/sys/time.h-data: Allow sys/select.h.
5658 * conform/data/sys/un.h-data: Fix typo.
5659 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
5660 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
5662 * sysdeps/unix/clock_nanosleep.c: Likewise.
5663 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
5664 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
5665 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
5666 * sysdeps/unix/clock_settime.c: Likewise.
5668 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
5669 * login/getutent.c: Likewise.
5670 * login/getutid.c: Likewise.
5671 * login/getutline.c: Likewise.
5673 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
5675 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
5676 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
5677 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
5678 f_fsid field after change in struct statvfs.
5679 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
5680 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
5681 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
5683 * conform/data/sys/stat.h-data: Remove isfdtype. Use
5686 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
5687 recvfrom, send, and socketpair prototypes. Add allow lines.
5688 * socket/sys/socket.h: Include <sys/uio.h>.
5689 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
5690 Fix type of second parameter of listen.
5691 Don't declare isfdtype unless __USE_MISC.
5692 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
5693 * sysdeps/mach/hurd/listen.c: Likewise.
5694 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
5695 ss_family and __ss_family.
5696 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
5697 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5698 (struct msghdr): Change type of msg_iovlen to int and type of
5699 msg_controllen to socklen_t.
5700 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
5701 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
5702 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
5703 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
5704 (rresvport_af): Likewise.
5706 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
5707 * conform/conformtest.pl: Implement handling of symbol.
5709 * signal/signal.h: Fix handling of __need_* symbols.
5710 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
5711 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
5712 * include/sys/select.h: Use fd_set not __fd_set.
5713 * sysdeps/generic/bits/select.h: Likewise.
5714 * sysdeps/i386/bits/select.h: Likewise.
5715 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
5716 __FDELT, __FDMASK, and __fd_set here.
5717 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
5718 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
5719 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5720 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5721 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
5722 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5723 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5724 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5725 * time/sys/time.h: Define struct timeval before including <time.h>
5728 * conform/data/sys/time.h-data: fd_set is a typedef.
5729 * conform/data/sys/select.h-data: New file.
5730 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
5731 * conform/conformtest.pl (@headers): Add sys/select.h.
5732 (type, optional-type): Unless testing a typedef instantiate object.
5733 Implement optional-function.
5735 * math/test-misc.c: Include <float.h>.
5737 2001-01-27 Andreas Jaeger <aj@suse.de>
5739 * misc/efgcvt_r.c: Include <float.h>.
5741 2001-01-26 Ulrich Drepper <drepper@redhat.com>
5743 * conform/data/stdlib.h-data: Account for XPG6 changes.
5744 * stdlib/stdlib.h (__random): Change return value type to long.
5745 (posix_memalign): Cleanup parameter names.
5746 (setenv, unsetenv): Make available for __USE_XOPEN2K.
5747 Change return type of unsetenv to int.
5748 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
5749 * include/stdlib.h: Change return type of unsetenv to int.
5750 Change return type of random to long int.
5751 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
5752 Return -1 and set errno if parameter is invalid.
5753 * stdlib/random.c (__random): Change return value type to long.
5755 * conform/data/stdio.h-data: Account for changes in XPG6.
5757 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
5760 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
5761 * conform/data/signal.h-data: Fix sigev_notify_function entry.
5762 Fix typo (SIGVALRM -> SIGVTALRM).
5763 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
5765 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
5766 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5767 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5768 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5769 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5771 * conform/conformtest.pl: Implement optional-element. Define
5772 $mustprepend{"sched.h"}.
5773 * conform/data/sched.h-data: Make sporadic scheduler definitions
5776 * pwd/pwd.h: Don't define getpwent_r for XPG.
5778 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
5779 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
5780 * sysdeps/mach/hurd/poll.c: Likewise.
5781 * sysdeps/unix/bsd/poll.c: Likewise.
5782 * sysdeps/unix/sysv/linux/poll.c: Likewise.
5783 * sysdeps/unix/sysv/aix/poll.c: Likewise.
5784 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
5785 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
5786 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
5787 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
5788 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
5789 * conform/data/poll.h-data: Fix typo in poll prototype.
5791 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
5793 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
5795 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
5797 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
5799 * conform/conformtest.pl: Implement optional-type.
5801 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
5802 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
5803 defining uint32_t here. Define IPPORT_RESERVED.
5804 (struct hostent): Type of h_length element is int.
5805 (getnameinfo): Type of flags parameter is unsigned int.
5806 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
5807 * conform/data/netdb.h-data: Add many missing definitions.
5809 * conform/conformtest.pl: Implement optional-macro.
5810 * conform/data/math.h-data: Update for XPG6.
5812 * math/math.h (HUGE): Define as FLT_MAX value but don't use
5813 FLT_MAX. Don't include <float.h>.
5814 (MAXFLOAT): Likewise.
5816 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
5818 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
5820 * conform/data/limits.h-data: Mark constants as optional wherever
5823 * posix/bits/posix2_lim.h: Set correct values for
5824 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
5827 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
5830 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
5832 * conform/data/netinet/in.h-data: Add reserved prefixes.
5834 * conform/data/arpa/inet.h-data: Fix a few typos.
5836 2001-01-26 Andreas Jaeger <aj@suse.de>
5838 * sysdeps/generic/strtol.c: Include <locale.h>
5839 * stdlib/strtod.c: Likewise
5840 * stdlib/strfmon.c: Likewise.
5841 * string/strcoll.c: Likewise.
5842 * string/strxfrm.c: Likewise.
5843 * wctype/wcfuncs_l.c: Likewise.
5844 * wctype/wctype_l.c: Likewise.
5845 * wctype/wctrans_l.c: Likewise.
5847 * include/bits/locale.h: New file.
5849 2001-01-26 Ulrich Drepper <drepper@redhat.com>
5851 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
5854 * locale/Makefile (headers): Add bits/locale.h.
5855 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
5856 and use __LC_ constants instead of LC_.
5857 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
5858 using __LC_ constants.
5859 * locale/bits/locale.h: New file.
5860 * locale/loadlocale.c: Include <locale.h>.
5861 * locale/nl_langinfo.h: Likewise.
5863 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
5865 * io/sys/stat.h: Define S_IFSOCK for XPG6.
5867 * conform/data/fcntl.h-data: posix_madvise is not expected here.
5869 * conform/conformtest.pl: Fix handling of macro-str.
5871 * conform/data/inttypes.h-data: Add missing definition and all of
5874 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
5876 2001-01-25 Ulrich Drepper <drepper@redhat.com>
5878 * conform/conformtest.pl (@headers): Add stdint.h.
5879 * conform/data/stdint.h-data: New file.
5881 * conform/conformtest.pl: Recognize options --headers and
5882 --dialect. Add dialect-specific CFLAGS.
5884 * conform/conformtest.pl: Implement handling of recursive
5887 * conform/data/locale.h-data: Add new struct lconv members.
5889 * posix/wordexp.h: Correct definition of wordexp_t.
5890 * posix/wordexp.c: Moved to ...
5891 * sysdeps/generic/wordexp.c: ...here. New file.
5892 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
5893 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
5894 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
5895 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
5897 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
5898 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
5900 * math/tgmath.h: Pretty printing.
5902 * math/Makefile (tests): Add test-tgmath.
5903 (CFLAGS-test-tgmath.c): New variable.
5904 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
5906 * conform/conformtest.pl: Handle allow-header in secondary headers
5909 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
5912 * conform/data/netinet/in.h-data: Use correct comment character.
5913 * conform/data/sys/stat.h-data: Likewise.
5915 2001-01-25 Jakub Jelinek <jakub@redhat.com>
5917 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
5918 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
5919 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
5920 __builtin_classify_type, add ##f suffixes where appropriate.
5921 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
5922 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
5923 __builtin_classify_type.
5924 (fma): Fix spelling of first argument.
5926 2001-01-25 Ulrich Drepper <drepper@redhat.com>
5928 * conform/data/unistd.h-data: Mark functions removed in XPG6
5931 * posix/unistd.h: Don't make functions removed in XPG6 available if
5934 * conform/conformtest.pl: Implement optional-constant.
5935 * conform/data/unistd.h-data: Use optional-constant wherever
5938 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
5939 constants and add _SC_STREAMS.
5940 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
5942 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
5943 make old name weak alias.
5944 * sysdeps/generic/statvfs64.c: Likewise.
5945 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
5946 make old name weak alias.
5947 * sysdeps/generic/fstatvfs64.c: Likewise.
5948 * include/sys/statvfs.h: New file.
5950 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
5951 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
5953 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
5954 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
5955 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
5956 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
5958 * conform/conformtest.pl: Run Unix tests for XPG6.
5959 Implement handling of known namespace violations.
5960 Improve printing of results.
5962 * posix/unistd.h (usleep): Correct return type.
5963 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
5964 * sysdeps/unix/bsd/usleep.c: Correct return type.
5965 * sysdeps/mach/usleep.c: Correct return type.
5966 * sysdeps/generic/usleep.c: Correct return type.
5968 * posix/unistd.h (sync): Correct return type.
5969 * sysdeps/generic/sync.c: Likewise.
5970 * sysdeps/mach/hurd/sync.c: Likewise.
5972 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
5974 * posix/unistd.h: Make seteuid and setegid available for XPG6.
5976 * wcsmbs/wchar.h: Get FILE definition for XPG5.
5978 * conform/data/ctype.h-data: Use correct comment form.
5979 * conform/data/errno.h-data: Likewise.
5980 * conform/data/math.h-data: Likewise.
5981 * conform/data/mqueue.h-data: Likewise.
5982 * conform/data/netdb.h-data: Likewise.
5983 * conform/data/pthread.h-data: Likewise.
5985 2001-01-24 Ulrich Drepper <drepper@redhat.com>
5987 * conform/data/wordexp.h-data: Fix typo.
5989 * conform/conformtest.pl: Handle allow-header correctly.
5991 * conform/data/time.h-data: Use correct comment form.
5993 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
5995 * configure.in: Comment out binutils version test.
5997 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
5999 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
6001 * stdlib/tst-strtod.c (locale_test): New function.
6002 (main): Call locale_test.
6003 * stdlib/Makefile (tst-strtod-ENV): New variable.
6005 2001-01-24 Mark Kettenis <kettenis@gnu.org>
6007 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
6008 declaration of value such that we actually return the value of the
6009 environment variable.
6011 2001-01-24 Andreas Jaeger <aj@suse.de>
6013 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
6015 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6017 * include/sys/sysctl.h: New file.
6019 2001-01-23 Andreas Jaeger <aj@suse.de>
6021 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
6024 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
6025 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
6026 closes PR libc/2039.
6028 * manual/install.texi (Tools for Compilation): Change required
6031 2001-01-22 Andreas Jaeger <aj@suse.de>
6033 * configure.in: Add test for new enough binutils version, move
6034 compiler/binutils test up.
6036 * Versions.def: Add version GLIBC_2.2.2.
6038 2001-01-21 Ulrich Drepper <drepper@redhat.com>
6040 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
6042 * iconvdata/testdata/IBM932: New file.
6043 * iconvdata/testdata/IBM932..UTF8: New file.
6044 * iconvdata/testdata/IBM943: New file.
6045 * iconvdata/testdata/IBM943..UTF8: New file.
6046 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
6048 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6050 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
6052 2001-01-21 Ulrich Drepper <drepper@redhat.com>
6054 * malloc/malloc.c: Remove a few unnecessary initializers of global
6057 2000-12-09 H.J. Lu <hjl@gnu.org>
6059 * nss/Makefile (routines): Add digits_dots.
6060 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
6061 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
6063 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
6065 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
6066 (TYPE_VAR_P): Likewise.
6067 (FLAGS_VAR): Likewise.
6068 (AF_VAR_P): Likewise.
6069 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6070 instead of including digits_dots.c.
6071 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
6072 (TYPE_VAR_P): Likewise.
6073 (FLAGS_VAR): Likewise.
6074 (AF_VAR_P): Likewise.
6075 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6076 instead of including digits_dots.c.
6078 2001-01-21 Ulrich Drepper <drepper@redhat.com>
6080 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
6082 2001-01-21 Andreas Jaeger <aj@suse.de>
6084 * elf/constload2.c: Add prototype for init.
6086 2001-01-21 Ulrich Drepper <drepper@redhat.com>
6088 * stdlib/stdlib.h (drand48_data): Make available only for
6089 __USE_MISC. Rename elements to protect namespace. Change type
6090 and position of a and init element.
6091 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
6092 differently. Adjust for drand48_data change. Don't compute a here,
6093 it comes from drand48_data.
6094 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
6095 differently. Adjust for drand48_data change. Compute a here.
6096 * stdlib/srand48_r.c: Likewise.
6097 * stdlib/drand48.c: Adjust for drand48_data change.
6098 * stdlib/lrand48.c: Likewise.
6099 * stdlib/mrand48.c: Likewise.
6100 * stdlib/seek48.c: Likewise.
6101 * stdlib/drand48_r.c: Likewise.
6102 * stdlib/lrand48_r.c: Likewise.
6103 * stdlib/mrand48_r.c: Likewise.
6104 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
6106 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
6107 * stdlib/jrand48_r.c: Likewise.
6109 * po/sv.po: Update from translation team.
6111 2001-01-21 Andreas Jaeger <aj@suse.de>
6113 * stdio-common/vfprintf.c (vfprintf): Add casts.
6115 2001-01-20 Ulrich Drepper <drepper@redhat.com>
6117 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
6119 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
6121 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
6122 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
6123 * iconvdata/ibm932.c: New file.
6124 * iconvdata/ibm932.h: New file.
6125 * iconvdata/ibm943.c: New file.
6126 * iconvdata/ibm943.h: New file.
6127 Patches by Masahide Washizawa <washi@jp.ibm.com>.
6129 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
6130 preventing optimization from being done. Set the correct type bit
6131 in seen. Don't define and use _dl_base_addr unless
6132 NEED_DL_BASE_ADDR is defined.
6134 * io/ftw.c (ftw_dir): Add slash after directory name if there
6135 wasn't any. Reported by loris <loris@iol.it>.
6136 * io/Makefile (tests): Add bug-ftw2.
6137 * io/bug-ftw2.c: New file.
6139 2001-01-19 Ulrich Drepper <drepper@redhat.com>
6141 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
6142 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
6143 * stdlib/tst-rand48.c: New file.
6144 * stdlib/Makefile (tests): Add tst-rand48.
6146 * locale/newlocale.c (__newlocale): Fix test for setting all
6149 2001-01-19 Mark Kettenis <kettenis@gnu.org>
6151 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
6152 but change looking up the initial directory port in a similar way
6153 as done by _hurd_change_directory_port_from_name.
6154 * hurd/fchroot.c (fchroot): Likewise.
6156 2001-01-18 Ulrich Drepper <drepper@redhat.com>
6158 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
6159 defined don't look whether the AT_*ID values were set.
6160 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
6161 (_dl_show_auxv): Rewrite to avoid switch statement.
6162 * sysdeps/unix/sysv/linux/kernel-features.h: Define
6163 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
6164 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
6165 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
6167 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
6168 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6169 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6171 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
6173 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
6174 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
6176 * dlfcn/eval.c (__strtol_internal): Define here.
6177 (eval): Use __strtol_internal instead of strtol.
6179 * elf/elf.h: Add a few more EF_MIPS_* constants.
6181 2001-01-17 Ulrich Drepper <drepper@redhat.com>
6183 * manual/Makefile (chapters): Add debug.
6184 * manual/debug.texi: New file.
6185 * manual/examples/execinfo.c: New file.
6186 Patch by suckfish@ihug.co.nz.
6188 2001-01-17 Andreas Schwab <schwab@suse.de>
6190 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
6193 2001-01-17 Andreas Jaeger <aj@suse.de>
6195 * nscd/connections.c (nscd_run): Use proper format specifier.
6197 2001-01-16 Ulrich Drepper <drepper@redhat.com>
6199 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
6200 x86_platforms data into new file after prepending _dl_. Change
6202 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
6203 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
6204 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
6207 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
6209 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
6210 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
6211 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
6212 (_setjmp): Likewise.
6213 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
6214 * sysdeps/i386/bsd-setjmp.S: Real implementation.
6215 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
6216 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
6219 2001-01-16 Andreas Jaeger <aj@suse.de>
6221 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
6222 misapplied last patch.
6224 2001-01-15 Ulrich Drepper <drepper@redhat.com>
6226 * stdlib/random.c (__initstate): Clean up a cast.
6227 (__setstate): Likewise.
6229 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
6230 syscall handling. The generic Linux version should work.
6232 2001-01-15 Andreas Jaeger <aj@suse.de>
6234 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
6236 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
6238 2001-01-14 Jakub Jelinek <jakub@redhat.com>
6240 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
6241 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
6243 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
6244 If number is 0, list all.
6245 (services_keys): Likewise. Lookup aliases as well.
6246 (databases): New table.
6247 (build_doc): Prepare argp doc text with list of supported databases.
6248 (main): Change to table driven processing.
6250 2001-01-14 Thorsten Kukuk <kukuk@suse.de>
6252 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
6255 2001-01-03 Jakub Jelinek <jakub@redhat.com>
6257 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
6258 encode value which does not fit in the 32bit type.
6260 2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
6262 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
6263 Change type of CTX to (struct sigcontext *).
6264 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
6265 (GET_FRAME): Likewise.
6266 (GET_STACK): Likewise.
6267 (SIGCONTEXT): Likewise. Add 2nd arg _code.
6268 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
6270 2001-01-13 Ulrich Drepper <drepper@redhat.com>
6272 * manual/texinfo.tex: Update from upstream version.
6274 2001-01-13 Jakub Jelinek <jakub@redhat.com>
6276 * inet/ether_ntoh.c (lookup_function): Change arguments to match
6277 _nss_*_getntohost_r prototype.
6278 (ether_ntohost): Pass errno pointer to NSS function.
6280 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6282 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
6283 (MAP_LOCKED): New definition.
6284 (MAP_NORESERVE): New definition.
6286 2001-01-12 Ulrich Drepper <drepper@redhat.com>
6288 * assert/assert.h: Use static_cast instead of C-style cast for C++.
6289 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
6291 2001-01-12 Ben Collins <bcollins@debian.org>
6293 * sysdeps/generic/segfault.c (install_handler): Use access, not
6296 2001-01-12 Andreas Jaeger <aj@suse.de>
6298 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
6299 * posix/wordexp.c (do_parse_glob): Likewise.
6300 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
6301 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
6302 * elf/dl-open.c (_dl_open): Likewise.
6303 * elf/dl-close.c (_dl_close): Likewise.
6304 * elf/dl-load.c (_dl_map_object): Likewise.
6305 * iconv/iconv_prog.c (process_fd): Likewise.
6306 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
6308 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
6309 of a zero-length array.
6311 2001-01-11 Jakub Jelinek <jakub@redhat.com>
6313 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
6314 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
6315 * stdlib/cxa_on_exit.c: Remove.
6316 * stdlib/Makefile: Revert last patch.
6317 * stdlib/Versions: Likewise.
6318 * include/stdlib.h: Likewise.
6319 * stdlib/exit.h: Revert last patch.
6320 (struct exit_function): Add second argument to cxa fn.
6321 * stdlib/exit.c: Revert last patch.
6322 (exit): Add hidden second argument.
6324 2001-01-11 H.J. Lu <hjl@gnu.org>
6326 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
6327 * elf/dl-open.c (_dl_open): Here.
6328 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
6330 (_dl_static_init): Initialize the variables every time when possible.
6331 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
6334 2001-01-11 Ulrich Drepper <drepper@redhat.com>
6336 * stdlib/Makefile (routines): Add cxa_on_exit.
6337 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
6338 * stdlib/cxa_on_exit.c: New file.
6339 * include/stdlib.h: Add prototype for __cxa_on_exit.
6340 * stdlib/exit.c: Handle ef_cxa2.
6341 * stdlib/exit.h (enum): Add ef_cxa2.
6342 (struct exit_function): Add cxa2.
6344 * Versions.def [ld]: Add GLIBC_2.2.1.
6346 2001-01-10 H.J. Lu <hjl@gnu.org>
6348 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
6349 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
6351 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
6352 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
6353 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
6354 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
6355 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
6357 2001-01-11 Ulrich Drepper <drepper@redhat.com>
6359 * libio/stdio.h: Remove definition of off_t.
6361 2001-01-11 Andreas Jaeger <aj@suse.de>
6363 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
6366 2001-01-10 Ulrich Drepper <drepper@redhat.com>
6368 * sunrpc/Makefile (distribute): Add errqueue.h.
6370 2001-01-10 H.J. Lu <hjl@gnu.org>
6372 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
6373 r9, r10 and r11 for language specific registers.
6375 2001-01-10 Jakub Jelinek <jakub@redhat.com>
6377 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
6379 (clntudp_call): Handle MSG_ERRQUEUE.
6380 * sysdeps/generic/errqueue.h: New file.
6381 * sysdeps/unix/sysv/linux/errqueue.h: New file.
6383 2001-01-10 H.J. Lu <hjl@gnu.org>
6385 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
6387 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
6389 * CONFORMANCE: Update.
6391 2001-01-09 Ulrich Drepper <drepper@redhat.com>
6393 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
6394 Minimal cleanups. Add assert to ensure memory handling is correct.
6396 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
6397 Reported by Ben Collins <bcollins@debian.org>.
6399 * time/strftime.c (my_strftime): Mark previous GNU extensions
6400 which are now in C99 as such.
6402 2001-01-08 Ulrich Drepper <drepper@redhat.com>
6404 * elf/rtld.c (process_envvars): Place output files for profiling
6405 in SUID binaries in /var/profile.
6407 * elf/dl-load.c (_dl_map_object): Don't look in cache for
6408 preloading in SUID binaries.
6410 * elf/dl-profile.c (_dl_start_profile): Open the output file with
6411 O_NOFOLLOW if possible.
6413 * include/stdlib.h: Add __posix_openpt declaration.
6414 * stdlib/stdlib.h: Add posix_openpt declaration.
6415 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
6416 * sysdeps/generic/getpt.c: Define posix_openpt.
6417 * sysdeps/unix/bsd/getpt.c: Likewise.
6418 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
6420 * time/Makefile (tests): Add tst-mktime.
6421 * time/tst-mktime.c: New file.
6423 * posix/tst-dir.c (main): One more mkdir() test.
6425 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
6426 Remove getpagesize syscall. We assume that the pagesize is always
6427 determined from the auxiliary vector.
6429 * intl/dcigettext.c: Fix a few warnings.
6430 Patch by Bruno Haible <haible@ilog.fr>.
6432 2001-01-08 Andreas Jaeger <aj@suse.de>
6434 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
6435 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
6437 2001-01-08 Ulrich Drepper <drepper@redhat.com>
6439 * sysdeps/generic/segfault.c (install_handler): Check output file
6442 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
6443 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
6445 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
6447 * malloc/memusage.c (me): Use access() to determine whether we
6448 should write the output file or not.
6450 * libio/bits/stdio.h (printf): Define macro to map printf call to
6451 fprintf which gcc can optimize.
6452 * stdio-common/printf.c: Undefine printf.
6454 2001-01-07 Ulrich Drepper <drepper@redhat.com>
6456 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
6457 patch. We must use unsigned int for l member of union.
6459 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
6460 _dl_aux_init for shared libraries.
6462 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
6463 * sysdeps/gnu/glob64.c: ...here. New file.
6465 2001-01-07 Ben Collins <bcollins@debian.org>
6467 * manual/examples/longopt.c: Make the "struct option" a little
6468 more like it should be, adding usage of required_argument,
6469 noargument and such, and also setting the options string right.
6471 * manual/sysinfo.texi (Load Average): New section, documents
6474 2001-01-06 Ulrich Drepper <drepper@redhat.com>
6476 * version.h (VERSION): Bump to 2.2.1.
6478 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
6479 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
6480 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
6481 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
6482 * Makefile (distribute): Add include/libc-internal.h.
6483 * libio/Makefile (distribute): Avoid overwriting.
6485 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
6486 buffer and table handling.
6488 2001-01-05 H.J. Lu <hjl@gnu.org>
6490 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
6491 vector checking to ...
6492 (_dl_aux_init): Here. New function. Defined only if
6493 HAVE_AUX_VECTOR is defined.
6495 * sysdeps/generic/libc-start.c (__libc_start_main): Call
6496 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
6498 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
6501 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
6502 (HAVE_AUX_VECTOR): Defined.
6503 (_dl_aux_init): Declared.
6505 2001-01-05 Ben Collins <bcollins@debian.org>
6507 * manual/string.texi (Finding Tokens in a String): Document XPG
6508 basename() and dirname(), as well as GNU basename().
6510 2001-01-05 Jakub Jelinek <jakub@redhat.com>
6512 * Makeconfig (preprocess-version): Replace -traditional with
6513 -x assembler-with-cpp.
6515 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
6517 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
6518 for GCC 2.97 or later.
6520 2001-01-05 Ben Collins <bcollins@debian.org>
6522 * manual/stdio.texi (getline): Clarify the return value in the
6523 case of EOF being reached before a newline.
6525 2001-01-04 Jakub Jelinek <jakub@redhat.com>
6527 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
6529 (pmap_set, pmap_unset): Check __get_myaddress return value.
6531 2001-01-05 Mark Kettenis <kettenis@gnu.org>
6533 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
6534 (struct ether_addr): Declare ether_addr_octet member as
6535 `u_int8_t'. Add __attribute__ ((__packed__)).
6537 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6539 * sysdeps/mach/hurd/readdir64.c: New file.
6540 * sysdeps/mach/hurd/readdir64_r.c: New file.
6542 2001-01-07 Mark Kettenis <kettenis@gnu.org>
6544 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
6545 `struct statfs' and `struct statvfs' being identical.
6546 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
6548 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6550 * sysdeps/mach/hurd/fstatfs64.c: New file.
6551 * sysdeps/mach/hurd/fstatvfs64.c: New file.
6552 * sysdeps/mach/hurd/statfs64.c: New file.
6553 * sysdeps/mach/hurd/statvfs64.c: New file.
6554 * sysdeps/mach/hurd/statfsconv.c: New file.
6555 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
6557 2001-01-06 Ulrich Drepper <drepper@redhat.com>
6559 * iconv/skeleton.c: Reset outbuf for next round of the loop.
6560 Reported by Owen Taylor <otaylor@redhat.com>.
6561 * iconv/Makefile (tests): Add tst-iconv3.
6562 * iconv/tst-iconv3.c: New file.
6564 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
6565 * iconvdata/ibm933.c: Likewise.
6566 * iconvdata/ibm935.c: Likewise.
6567 * iconvdata/ibm937.c: Likewise.
6568 * iconvdata/ibm939.c: Likewise.
6569 * iconvdata/ibm930.h: Adjust single byte table for optimization.
6570 * iconvdata/ibm933.h: Likewise.
6571 * iconvdata/ibm935.h: Likewise.
6572 * iconvdata/ibm939.h: Likewise.
6574 * iconvdata/testdata/IBM930: Add misssing SI.
6575 * iconvdata/testdata/IBM933: Likewise.
6576 * iconvdata/testdata/IBM935: Likewise.
6577 * iconvdata/testdata/IBM937: Likewise.
6578 * iconvdata/testdata/IBM939: Likewise.
6580 2001-01-06 Andreas Jaeger <aj@suse.de>
6582 * configure.in: Check for old add-ons that shouldn't be used with
6583 current glibc anymore.
6585 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6587 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
6588 instead of -1 on failure. Don't forget to copy file name into
6589 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
6592 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6594 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
6595 copy st_atime member.
6597 2001-01-05 Ulrich Drepper <drepper@redhat.com>
6599 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
6600 for searches from the root directory.
6601 Reported by loris <loris@iol.it> [PR libc/1991].
6602 * io/Makefile (tests): Add bug-ftw1.
6603 * io/bug-ftw1.c: New file.
6605 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
6606 if it is not available. Instead use it only if it is available.
6607 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
6609 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
6610 overflowing output buffer.
6611 (internal_ucs4_loop_unaligned): Likewise.
6612 (ucs4_internal_loop): Likewise.
6613 (ucs4_internal_loop_unaligned): Likewise.
6614 (internal_ucs4le_loop): Likewise.
6615 (internal_ucs4le_loop_unaligned): Likewise.
6616 (ucs4le_internal_loop): Likewise.
6617 (ucs4le_internal_loop_unaligned): Likewise.
6618 Reported by Owen Taylor <otaylor@redhat.com>.
6619 * iconv/Makefile (tests): Add tst-iconv2.
6620 * iconv/tst-iconv2.c: New file.
6622 2001-01-04 H.J. Lu <hjl@gnu.org>
6624 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
6625 (_dl_clktck): Declared.
6626 (non_dynamic_init): Take 3 arguments.
6627 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
6629 2001-01-01 Bruno Haible <haible@clisp.cons.org>
6631 Finish implementation of plural form handling.
6632 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
6633 'domainname'. Remove 'plindex' field. Add 'domain' and
6634 'translation_length' fields.
6635 (transcmp): Don't compare 'plindex' fields.
6636 (plural_lookup): New function.
6637 (DCIGETTEXT): Change cache handing in the plural case. Don't call
6638 plural_eval before the translation and its catalog file have been
6639 found. Remove plindex from cache key. Add 'translation_length' and
6640 'domain' to cache result.
6641 (_nl_find_msg): Remove index argument, return length of translation
6642 to the caller instead. Weaken comparison of string lengths, to account
6643 for plural entries. Call iconv() on the entire result string, not
6644 only on the portion needed so far.
6645 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
6647 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
6649 2001-01-04 Ulrich Drepper <drepper@redhat.com>
6651 * intl/plural.y (yylex): Minimal improvement in number scanner.
6653 2000-07-31 Bruno Haible <haible@clisp.cons.org>
6655 * intl/plural.y: Include config.h. Needed to define 'inline' away for
6656 C compilers that don't support it.
6657 (yylex): Don't use gcc specific case range syntax.
6658 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
6661 2000-10-12 Bruno Haible <haible@clisp.cons.org>
6663 * intl/finddomain.c: Remove unneeded includes.
6665 2000-10-12 Bruno Haible <haible@clisp.cons.org>
6667 * intl/localealias.c (memcpy): Return first argument, just like the
6668 real memcpy function does.
6669 * intl/bindtextdom.c (memcpy): Likewise.
6670 * intl/finddomain.c (memcpy): Likewise.
6671 * intl/l10nflist.c (memcpy): Likewise.
6672 * intl/textdomain.c (memcpy): Likewise.
6673 From Paul Eggert <eggert@twinsun.com>.
6675 2001-01-03 Jakub Jelinek <jakub@redhat.com>
6677 * resolv/resolv.h (struct __res_state): Add nsinit field.
6678 * resolv/res_send.c (res_nsend): Use it instead of nscount.
6679 * resolv/res_init.c (__res_vinit): Initialize it.
6680 (res_nclose): Clear it instead of nscount.
6682 2001-01-04 Ulrich Drepper <drepper@redhat.com>
6684 * malloc/mtrace.pl: Fix matching of addresses.
6685 Patch by Aharon Robbins <arnold@skeeve.com>.
6687 * Versions.def (ld): Add GLIBC_2.2.
6689 * catgets/gencat.c: Copyright 2001.
6690 * csu/version.c: Likewise.
6691 * debug/catchsegv.sh: Likewise.
6692 * debug/xtrace.sh: Likewise.
6693 * elf/ldconfig.c: Likewise.
6694 * elf/sprof.c: Likewise.
6695 * iconv/iconv_prog.c: Likewise.
6696 * locale/locale.c: Likewise.
6697 * locale/localedef.c: Likewise.
6698 * malloc/memusage.sh: Likewise.
6699 * malloc/mtrace.pl: Likewise.
6700 * nscd/nscd.c: Likewise.
6701 * posix/getconf.c: Likewise.
6703 2001-01-04 Mark Kettenis <kettenis@gnu.org>
6705 * include/stdio.h: Only provide __getwc_unlocked prototype if
6706 USE_IN_LIBIO is defined.
6708 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6710 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
6713 2001-01-03 Andreas Schwab <schwab@suse.de>
6715 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
6716 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
6718 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
6719 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
6721 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
6722 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
6725 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
6727 * sysdeps/generic/strtol_l.c: Likewise.
6728 * sysdeps/generic/strtoul_l.c: Likewise.
6729 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
6731 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
6732 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
6733 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
6734 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
6736 2001-01-04 Andreas Jaeger <aj@suse.de>
6738 * nss/nsswitch.c: Include files for missing prototypes, remove
6739 buggy declaration of prototypes.
6741 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6743 * resolv/Versions: Fix bracing.
6744 * sysdeps/powerpc/soft-fp/Versions: Likewise.
6745 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
6747 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6749 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
6751 2001-01-02 Ulrich Drepper <drepper@redhat.com>
6753 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
6754 Suggested by Minko Markov <mmarkov@home.com>.
6756 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6758 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
6759 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
6761 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
6763 2001-01-02 Ben Collins <bcollins@debian.org>
6765 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
6766 if TZ is not set and TZDEFAULT is not present.
6768 2001-01-01 Ben Collins <bcollins@debian.org>
6770 * string/strings.h: Make sure we declare our functions even if
6771 string.h is already included, based on whether or not __USE_BSD is
6774 2001-01-02 Ulrich Drepper <drepper@redhat.com>
6776 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
6777 other dlopen() and dlsym().
6778 Based on a patch by Ben Collins <bcollins@debian.org>.
6780 2001-01-02 Andreas Jaeger <aj@suse.de>
6782 * dlfcn/errmsg1.c (main): Call dlerror initially.
6783 Reported by Ben Collins <bcollins@debian.org>.
6785 2001-01-02 Ulrich Drepper <drepper@redhat.com>
6787 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
6788 value is ignored if the selected locale is the C locale.
6789 * intl/tst-gettext.c: Set locale for above change.
6790 * intl/tst-translit.c: Likewise.
6792 2001-01-02 Andreas Jaeger <aj@suse.de>
6794 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
6795 (_IO_switch_to_wget_mode): Likewise.
6796 (_IO_sputbackwc): Likewise.
6797 (_IO_sungetwc): Use wint_t for result.
6799 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
6801 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
6804 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
6805 to (int) to avoid warnings.
6806 * stdio-common/printf_fp.c (putc): Likewise.
6807 * stdio-common/printf_size.c (putc): Likewise.
6809 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
6812 2001-01-01 Andreas Jaeger <aj@suse.de>
6814 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
6816 2000-12-31 Andreas Jaeger <aj@suse.de>
6818 * include/libc-internal.h: Add prototype for __libc_freeres.
6820 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
6821 for prototypes, remove redundant prototypes.
6822 * gmon/gmon.c: Likewise.
6823 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
6824 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
6825 * malloc/mtrace.c: Likewise.
6827 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
6829 * elf/soinit.c: Likewise.
6830 * sysdeps/generic/prof-freq.c: Likewise.
6831 * sysdeps/mach/hurd/profil.c: Likewise.
6832 * debug/noophooks.c: Likewise.
6833 * debug/pcprofile.c: Likewise.
6834 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
6835 * sysdeps/generic/get_clockfreq.c: Likewise.
6836 * malloc/set-freeres.c: Likewise.
6838 * locale/localeinfo.h: Add internal prototypes.
6840 * elf/rtld.c (dl_main): Fix prototype.
6842 * iconvdata/tst-table-to.c (main): Use return instead of exit to
6845 * nis/rpcsvc/yp_prot.h: Remove __P.
6846 * nis/rpcsvc/ypupd.h: Likewise.
6847 * nis/rpcsvc/yp.h: Likewise.
6849 * sunrpc/rpc_main.c: Add noreturn attributes.
6850 * sunrpc/rpc_scan.h: Likewise.
6852 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
6854 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
6856 * sunrpc/proto.h: Add noreturn attributes to error and crash.
6858 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
6860 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
6862 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
6864 * include/rpc/rpc_msg.h: Add prototypes for some functions.
6865 * include/rpc/auth.h: Likewise.
6866 * include/rpc/auth_des.h: Likewise.
6867 * include/rpc/clnt.h: Likewise.
6868 * include/rpc/rpc.h: Likewise.
6869 * include/rpc/svc.h: Likewise.
6870 * include/rpc/svc_auth.h: Likewise.
6872 * include/rpc/des_crypt.h: New file.
6874 * malloc/memusagestat.c (main): Use return instead of exit to
6876 * io/pwd.c (main): Likewise.
6877 * iconvdata/tst-table-from.c (main): Likewise.
6878 * ctype/test_ctype.c (main): Likewise.
6879 * setjmp/tst-setjmp.c (main): Likewise.
6880 * signal/tst-signal.c (main): Likewise.
6881 * stdlib/tst-strtol.c (main): Likewise.
6882 * stdlib/tst-strtod.c (main): Likewise.
6883 * stdlib/tst-strtoll.c (main): Likewise.
6884 * stdlib/tst-xpg-basename.c (main): Likewise.
6885 * dirent/tst-seekdir.c (main): Likewise.
6886 * grp/testgrp.c (main): Likewise.
6887 * inet/test_ifindex.c (main): Likewise.
6888 * io/test-utime.c (main): Likewise.
6889 * posix/test-vfork.c (main): Likewise.
6890 * posix/testfnm.c (main): Likewise.
6891 * stdio-common/temptest.c (main): Likewise.
6892 * stdio-common/test_rdwr.c (main): Likewise.
6893 * stdio-common/tst-fileno.c (main): Likewise.
6894 * stdio-common/tst-sscanf.c (main): Likewise.
6895 * stdio-common/tstscanf.c (main): Likewise.
6896 * string/bug-strncat1.c (main): Likewise.
6897 * string/bug-strpbrk1.c (main): Likewise.
6898 * string/bug-strspn1.c (main): Likewise.
6899 * string/test-ffs.c (main): Likewise.
6900 * string/tst-inlcall.c (main): Likewise.
6901 * string/tst-svc.c (main): Likewise.
6902 * timezone/test-tz.c (main): Likewise.
6903 * wctype/test_wcfuncs.c (main): Likewise.
6904 * wctype/test_wctype.c (main): Likewise.
6906 * stdlib/tst-random.c: Add attribute noreturn to fail.
6908 2000-12-28 Wolfram Gloger <wg@malloc.de>
6910 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
6911 destination overlap. Assume dest is always below source if
6914 2000-12-30 Ulrich Drepper <drepper@redhat.com>
6916 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
6917 object was not yet initialized.
6919 2000-12-28 H.J. Lu <hjl@gnu.org>
6921 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
6922 is always consistent even if its dependency is failed.
6924 * elf/dl-open.c (_dl_open): Increment the open count before
6925 calling _dl_close () in case of failure.
6927 * elf/neededtest4.c: New file.
6928 * elf/neededobj5.c: New file.
6929 * elf/neededobj6.c: New file.
6931 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
6932 (tests): Add neededtest4.
6933 (modules-names): Add neededobj5 and neededobj6.
6934 ($(objpfx)neededobj6.so): New target.
6935 ($(objpfx)neededtest4): New target.
6936 ($(objpfx)neededtest4.out): New target.
6938 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
6940 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
6941 * stdlib/monetary.h: Add strfmon format attributes.
6943 2000-12-28 Roland McGrath <roland@frob.com>
6945 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
6946 __mempcpy does it for us.
6948 2000-12-28 Andreas Jaeger <aj@suse.de>
6950 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
6952 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
6955 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
6958 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
6961 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
6962 __chown_is_lchown and __real_chown.
6964 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
6967 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
6968 up GCC's warning about "deprecated use of label at end of compound
6970 * sunrpc/rpc_cout.c (emit_inline): Likewise.
6972 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
6974 Remove struct bb and __bb_head since those are declared by
6977 2000-12-22 Ben Collins <bcollins@debian.org>
6979 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
6981 * manual/argp.texi: Document argp_domain as part of struct argp.
6983 2000-12-28 Andreas Jaeger <aj@suse.de>
6985 * catgets/Makefile (generated): Add sample.SJIS.cat.
6987 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
6989 * elf/dl-minimal.c: Add prototypes.
6991 * include/locale.h: Add internal prototypes.
6992 * include/sys/gmon.h: Likewise.
6994 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
6996 2000-12-27 Ben Collins <bcollins@debian.org>
6998 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
6999 when reallocating the error strings.
7000 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
7002 2000-12-27 Ulrich Drepper <drepper@redhat.com>
7004 * dlfcn/Makefile (tests): Add errmsg1.
7005 (modules-names): Add errmsg1mod.
7006 Add rules to run errmsg1.
7007 * dlfcn/errmsg1.c: New file.
7008 * dlfcn/errmsg1mod.c: New file.
7010 * dlfcn/dlerror.c (dlerror): Always create output string which
7011 includes object file name.
7013 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
7014 if we would go through it only once.
7015 Patch by Rick Gorton <rick.gorton@api-networks.com>.
7017 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
7018 Patch by Richard Henderson <rth@redhat.com>.
7020 2000-12-27 Jakub Jelinek <jakub@redhat.com>
7022 * malloc/malloc.c (memmove): Add prototypes.
7023 (MALLOC_MEMMOVE): Define.
7024 (chunk_realloc): Use it instead of MALLOC_COPY if source and
7025 destination might overlap.
7027 2000-12-27 Andreas Jaeger <aj@suse.de>
7029 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
7031 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7032 * locale/programs/locale.c (show_locale_vars): Likewise.
7033 (show_info): Likewise.
7034 * locale/programs/ld-collate.c (collate_output): Likewise.
7035 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
7036 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7037 * stdlib/rpmatch.c (rpmatch): Likewise.
7039 * setjmp/tst-setjmp.c: Make local functions static.
7040 * setjmp/jmpbug.c: Likewise.
7041 * signal/tst-signal.c: Likewise.
7042 * stdio-common/tfformat.c: Likewise.
7043 * string/tst-svc.c: Likewise.
7044 * time/clocktest.c: Likewise.
7045 * time/tst-getdate.c: Likewise.
7046 * dirent/list.c: Likewise.
7047 * dirent/opendir-tst1.c: Likewise.
7048 * posix/runtests.c: Likewise.
7049 * posix/tst-getaddrinfo.c: Likewise.
7050 * posix/tst-chmod.c: Likewise.
7051 * posix/wordexp-test.c: Likewise.
7052 * misc/tst-efgcvt.c: Likewise.
7053 * timezone/tst-timezone.c: Likewise.
7054 * rt/tst-clock.c: Likewise.
7055 * rt/tst-shm.c: Likewise.
7056 * rt/tst-aio2.c: Likewise.
7057 * rt/tst-aio3.c: Likewise.
7058 * rt/tst-aio4.c: Likewise.
7059 * rt/tst-aio5.c: Likewise.
7061 * dlfcn/failtest.c: Add prototype for foo.
7063 * dlfcn/glrefmain.c: Add prototype for do_test.
7065 * dlfcn/tst-dladdr.c: Add prototype for do_test.
7067 * string/test-ffs.c (main): Add prototype for nested function.
7069 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
7071 * nss/XXX-lookup.c: Add prototype to shut up GCC.
7073 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
7074 setetherent prototype.
7075 Add internal interfaces.
7077 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
7078 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
7080 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
7082 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
7084 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
7085 prototypes, remove struct etherent since it's declared in ether.h.
7086 Fix ntohost declaration.
7088 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
7090 * include/getopt.h: Add internal interfaces.
7091 * include/termios.h: Likewise.
7092 * include/resolv.h: Likewise.
7093 * include/netdb.h: Likewise.
7094 * include/grp.h: Likewise.
7095 * include/pwd.h: Likewise.
7096 * include/shadow.h: Likewise.
7097 * include/rpc/netdb.h: Likewise.
7098 * include/setjmp.h: Likewise.
7100 * include/stdio.h: Add prototypes for compatibility functions.
7101 * include/grp.h: Likewise.
7102 * include/pwd.h: Likewise.
7103 * include/shadow.h: Likewise.
7105 * include/fenv.h: Define internal interfaces.
7107 2000-12-27 Ulrich Drepper <drepper@redhat.com>
7109 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
7110 argument case separately.
7111 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
7113 2000-12-27 Andreas Jaeger <aj@suse.de>
7115 * include/sys/wait.h: Add some prototypes.
7116 * Rules (dummy.c): Create also prototype to shut up GCC.
7118 2000-12-27 Andreas Jaeger <aj@suse.de>
7120 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
7121 it's not needed at the moment.
7122 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
7123 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
7125 2000-12-26 Andreas Jaeger <aj@suse.de>
7127 * libio/getc_u.c: Include stdio.h via system path to get internal
7129 * libio/getwc_u.c: Likewise.
7131 * stdlib/strfmon.c: Fix prototype of __printf_fp.
7133 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
7134 __printf_fp prototypes to ...
7135 * include/printf.h: ...here.
7137 * include/stdio.h: Add some internal prototypes to shut up GCC.
7138 * include/stdlib.h: Likewise.
7140 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
7143 * include/signal.h: Add prototypes for internal sigpause
7146 2000-12-26 Ulrich Drepper <drepper@redhat.com>
7148 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
7149 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
7151 * string/Makefile (tests): Add tst-bswap.
7152 * string/tst-bswap.c: New file.
7154 2000-12-11 Bruno Haible <haible@clisp.cons.org>
7156 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
7158 2000-12-26 Ulrich Drepper <drepper@redhat.com>
7160 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
7161 Patch by Ed Connell <Ed.Connell@sas.com>.
7163 2000-12-24 Ulrich Drepper <drepper@redhat.com>
7165 * locale/iso-639.def: Correct one entry. Add two missing entries.
7167 * locale/iso-4217.def: Change entry for Eritrea.
7168 Reported by Daniel Yacob <yacob@geez.org>.
7170 2000-12-23 Ben Collins <bcollins@debian.org>
7172 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
7175 * manual/stdio.texi (Dynamic Output): Document the return value of
7176 asprintf. Also make the asprintf/snprintf examples a little
7177 better (check for some error returns).
7179 2000-12-22 Andreas Jaeger <aj@suse.de>
7181 * include/stdio.h: Add __ftrylockfile prototype.
7183 2000-12-21 H.J. Lu <hjl@gnu.org>
7185 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
7186 Make sign_exponent element signed.
7188 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
7191 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
7193 2000-12-21 Andreas Jaeger <aj@suse.de>
7195 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
7196 * inet/ether_hton.c: Likewise
7197 * inet/ether_ntoh.c: Likewise.
7199 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
7200 declaration to match prototype.
7202 * include/netinet/ether.h (struct etherent): Declare here so that
7203 all implementations use the same struct.
7205 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
7207 (struct ether): Removed.
7208 Use struct etherent instead of ether everywhere.
7210 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
7212 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
7214 * sunrpc/publickey.c: Include auth_des.h for prototypes.
7216 2000-12-20 Ulrich Drepper <drepper@redhat.com>
7218 * math/test-misc.c: Add more tests for nextafter functions.
7220 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
7221 normal correctly. Correct test for sign.
7222 Based on a patch by HJ Lu.
7224 2000-12-19 Ulrich Drepper <drepper@redhat.com>
7226 * Makeconfig (preprocess-version): Add -traditional to gcc call.
7229 2000-12-19 Andreas Jaeger <aj@suse.de>
7231 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
7233 * nis/nis_intern.h: Add prototype for __do_niscall3.
7235 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
7238 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
7240 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7242 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
7244 2000-12-18 Ulrich Drepper <drepper@redhat.com>
7246 * math/test-misc.c: Add more tests for nextafter.
7247 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
7248 * sysdeps/ieee754/ldbl-96/math_ldbl.h
7249 (ieee_long_double_shape_type): Make sign_exponent element signed.
7251 * manual/message.texi: Add Estonian to plural overview list.
7252 Correct rule for Slavic languages.
7253 Patch by Stanislav Brabec <utx@penguin.cz>.
7255 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
7257 2000-12-18 Andreas Jaeger <aj@suse.de>
7259 * test-skeleton.c: Use temp_name_list instead of name_list to
7260 avoid collision with name_list from inet/netgroup.h.
7262 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
7264 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
7265 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
7266 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7267 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
7269 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
7270 declaration to match prototype.
7271 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
7272 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
7273 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
7275 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
7276 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
7277 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
7278 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
7279 (_nss_nis_getservbyport_r): Likewise.
7280 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
7281 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
7282 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
7283 (_nss_nis_setnetent): Likewise
7284 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7285 (_nss_nis_endnetgrent): Likewise.
7286 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
7288 (_nss_nisplus_setnetgrent): Likewise.
7289 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
7290 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
7291 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
7292 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
7294 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
7296 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
7298 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
7300 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
7301 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
7302 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
7303 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7304 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
7305 (_nss_dns_getnetbyaddr_r): Likewise.
7307 2000-12-17 Andreas Jaeger <aj@suse.de>
7309 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
7312 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
7313 unused attribute to shut up gcc warnings.
7315 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
7316 * sysdeps/generic/k_tanl.c: Likewise.
7317 * sysdeps/generic/k_cosl.c: Likewise.
7318 * sysdeps/generic/e_j0l.c: Likewise.
7319 * sysdeps/generic/e_j1l.c: Likewise.
7320 * sysdeps/generic/e_jnl.c: Likewise.
7321 * sysdeps/generic/e_lgammal_r.c: Likewise.
7323 * elf/vismain.c: Move prototypes for functions in vismod*.c to
7325 * elf/vismod.h: New file.
7326 * elf/Makefile (distribute): Add vismod.h.
7327 * elf/vismod1.c: Include vismod.h.
7328 * elf/vismod2.c: Likewise.
7329 * elf/vismod3.c: Likewise.
7331 * elf/constload3.c: Add prototype declarations to shut up gcc.
7332 * elf/failobj.c: Likewise.
7333 * elf/nodelmod3.c: Likewise.
7334 * elf/filtmod1.c: Likewise.
7335 * elf/filtmod2.c: Likewise.
7336 * elf/reldepmod1.c: Likewise.
7337 * elf/reldepmod2.c: Likewise.
7338 * elf/reldepmod3.c: Likewise.
7339 * elf/reldepmod4.c: Likewise.
7340 * elf/unload2dep.c: Likewise.
7341 * elf/unload2mod.c: Likewise.
7342 * elf/ltglobmod1.c: Likewise.
7343 * elf/pathoptobj.c: Likewise.
7344 * elf/neededobj1.c: Likewise.
7345 * elf/neededobj2.c: Likewise.
7346 * elf/neededobj3.c: Likewise.
7347 * elf/neededobj4.c: Likewise.
7348 * elf/nextmod1.c: Likewise.
7349 * elf/nextmod2.c: Likewise.
7351 * locale/programs/ld-collate.c (collate_finish): Don't use labels
7352 at end of compound statement.
7353 * locale/programs/locale.c (show_info): Likewise.
7354 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7356 2000-12-16 Jakub Jelinek <jakub@redhat.com>
7358 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
7359 with a pointer not returned by obstack_ functions.
7361 2000-12-16 Ulrich Drepper <drepper@redhat.com>
7363 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
7365 (struct stat64): Likewise.
7366 Reported by Michael Keezer <mkeezer@redhat.com>.
7368 * timezone/asia: Update from tzdata2000h.
7369 * timezone/australasia: Likewise.
7370 * timezone/backward: Likewise.
7371 * timezone/europe: Likewise.
7372 * timezone/northamerica: Likewise.
7373 * timezone/southamerica: Likewise.
7374 * timezone/zone.tab: Likewise.
7376 2000-12-14 Jakub Jelinek <jakub@redhat.com>
7378 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
7379 and dir.stream is NULL, only free dir.content.
7380 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
7381 * io/ftwtest-sh: Test with --early-exit.
7383 2000-12-13 Jakub Jelinek <jakub@redhat.com>
7385 * misc/efgcvt.c (FCVT_MAXDIG): Define.
7386 (FCVT_BUFPTR): New variable.
7387 (fcvt): If fcvt_r returns -1 on the static short buffer,
7388 try to malloc a sufficiently large one and retry.
7389 (free_mem): New function.
7390 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
7391 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
7393 2000-12-15 Ulrich Drepper <drepper@redhat.com>
7395 * misc/dirname.c (dirname): Fix search for second to last slash.
7397 2000-12-13 Andreas Jaeger <aj@suse.de>
7399 * misc/tst-dirname.c (main): Fix typo in test to really use
7400 the examples from Unix98.
7401 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
7403 2000-12-09 H.J. Lu <hjl@gnu.org>
7405 * sysdeps/ia64/fpu/s_fabs.S: New file.
7406 * sysdeps/ia64/fpu/s_fabsf.S: New file.
7407 * sysdeps/ia64/fpu/s_fabsl.S: New file.
7409 2000-12-15 Andreas Jaeger <aj@suse.de>
7411 * stdio-common/scanf9.c (main): Reformat and change to avoid
7414 * stdio-common/tstdiomisc.c: Make local functions static.
7415 * stdio-common/tst-printf.c: Likewise.
7417 * elf/constload2.c: Add prototype declarations to shut up gcc.
7418 * elf/dep1.c: Likewise.
7419 * elf/dep2.c: Likewise.
7420 * elf/dep3.c: Likewise.
7421 * elf/dep4.c: Likewise.
7422 * elf/ltglobmod2.c: Likewise.
7424 * libio/fmemopen.c: Make local functions static.
7426 * elf/Makefile (distribute): Added testobj.h.
7428 * elf/testobj.h: New file.
7430 * elf/testobj1.c: Include testobj.h and move prototype
7431 declarations to testobj.h.
7432 * elf/testobj2.c: Likewise.
7433 * elf/testobj3.c: Likewise.
7434 * elf/testobj4.c: Likewise.
7435 * elf/testobj5.c: Likewise.
7436 * elf/testobj6.c: Likewise.
7437 * elf/testobj1_1.c: Likewise.
7438 * elf/preloadtest.c: Likewise.
7440 2000-12-15 Ben Collins <bcollins@debian.org>
7442 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
7443 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
7445 2000-12-14 H.J. Lu <hjl@gnu.org>
7447 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
7448 field in a float is 8 bits, not 11 bits.
7450 2000-12-13 Jakub Jelinek <jakub@redhat.com>
7452 * math/test-misc.c (main): Adjust m for IEEE quad long double.
7454 2000-12-13 Andreas Jaeger <aj@suse.de>
7456 * manual/message.texi (Using gettextized software): Fix typo.
7458 * manual/charset.texi (Converting a Character): Fix mbstouwcs
7460 Patch by Martin Buchholz <martin@xemacs.org>.
7462 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
7463 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
7465 2000-12-11 Andreas Jaeger <aj@suse.de>
7467 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
7468 kernel_sigset_t and use it.
7469 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
7471 2000-12-10 Richard Henderson <rth@redhat.com>
7473 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
7474 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
7475 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
7477 2000-12-10 Jakub Jelinek <jakub@redhat.com>
7479 * sysdeps/alpha/htonl.S: Fix a typo.
7481 2000-12-10 Jakub Jelinek <jakub@redhat.com>
7483 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
7485 2000-12-10 Andreas Jaeger <aj@suse.de>
7487 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
7488 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
7489 Drepper <drepper@redhat.com>.
7491 2000-12-09 Andreas Jaeger <aj@suse.de>
7493 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
7495 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
7497 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
7499 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
7502 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
7505 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
7506 * nscd/connections.c (handle_request): Likewise.
7507 * nscd/pwdcache.c (addpwbyname): Likewise.
7508 * nscd/grpcache.c (addgrbyname): Likewise.
7510 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
7512 2000-12-09 Ulrich Drepper <drepper@redhat.com>
7514 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
7516 * Makeconfig (default_cflags): Make -O2 the default for stable
7519 2000-12-08 H.J. Lu <hjl@gnu.org>
7521 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
7522 * sysdeps/ia64/fpu/s_isinf.S: This.
7523 Add a .pred.rel.mutex note to avoid false report.
7525 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
7526 * sysdeps/ia64/fpu/s_isnan.S: This.
7528 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
7529 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
7530 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
7531 * sysdeps/ia64/fpu/s_isinff.S: New file.
7532 * sysdeps/ia64/fpu/s_isinfl.S: New file.
7533 * sysdeps/ia64/fpu/s_isnanf.S: New file.
7534 * sysdeps/ia64/fpu/s_isnanl.S: New file.
7535 * sysdeps/ia64/fpu/s_finite.S: New file.
7536 * sysdeps/ia64/fpu/s_finitef.S: New file.
7537 * sysdeps/ia64/fpu/s_finitel.S: New file.
7538 * sysdeps/ia64/fpu/s_signbit.S: New file.
7539 * sysdeps/ia64/fpu/s_signbitf.S: New file.
7540 * sysdeps/ia64/fpu/s_signbitl.S: New file.
7541 * sysdeps/ia64/fpu/s_copysign.S: New file.
7542 * sysdeps/ia64/fpu/s_copysignf.S: New file.
7543 * sysdeps/ia64/fpu/s_copysignl.S: New file.
7545 2000-12-08 Ulrich Drepper <drepper@redhat.com>
7547 * math/libm-test.inc (main): Fix typos in messages.
7549 * string/stratcliff.c: Add test for rawmemchr.
7551 2000-12-08 Jakub Jelinek <jakub@redhat.com>
7553 * elf/dl-open.c (_dl_open): If objname points right after errstring,
7554 allocate it together with errstring using alloca.
7555 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
7556 to "", because it might point to local stack.
7558 2000-12-05 H.J. Lu <hjl@gnu.org>
7560 * nss/Makefile (routines): Add getnssent and getnssent_r.
7561 * nss/nsswitch.h (__nss_setent): New internal NSS function.
7562 (__nss_endent): Likewise.
7563 (__nss_getent_r): Likewise.
7564 (__nss_getent): Likewise.
7565 * nss/getnssent_r.c: New file.
7566 * nss/getnssent.c: New file.
7567 * nss/getXXent.c (H_ERRNO_VAR): Updated.
7568 (GETFUNC_NAME): Updated to call __nss_getent ().
7569 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
7570 (STAYOPEN_TMPVAR): Updated.
7571 (STAYOPEN_VAR): Updated.
7572 (SETFUNC_NAME): Updated to call __nss_setent ().
7573 (ENDFUNC_NAME): Updated to call __nss_endent ().
7574 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
7576 2000-12-08 Andreas Jaeger <aj@suse.de>
7578 * nscd/dbg_log.h (dbg_log): Correct attribute.
7580 2000-12-08 Jakub Jelinek <jakub@redhat.com>
7582 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
7583 cp + len. Compute where from dirname.
7584 Reported by <jreiser@BitWagon.com>.
7586 2000-12-08 Richard Henderson <rth@twiddle.net>
7588 * sysdeps/alpha/_mcount.S: Fix typo.
7589 * sysdeps/alpha/strncpy.S: Likewise.
7591 * sysdeps/alpha/alphaev6/Implies: New file.
7592 * sysdeps/alpha/alphaev67/Implies: New file.
7593 * sysdeps/alpha/alphaev67/ffs.S: New file.
7594 * sysdeps/alpha/alphaev67/ffsll.S: New file.
7595 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
7596 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
7597 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
7598 * sysdeps/alpha/rawmemchr.S: New file.
7599 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
7600 * sysdeps/alpha/strcpy.S: Likewise.
7603 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
7605 From rick.gorton@alpha-processor.com:
7606 * sysdeps/alpha/alphaev6/memchr.S: New file.
7607 * sysdeps/alpha/alphaev6/memcpy.S: New file.
7608 * sysdeps/alpha/alphaev6/memset.S: New file.
7609 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
7610 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
7611 * sysdeps/alpha/alphaev67/strcat.S: New file.
7612 * sysdeps/alpha/alphaev67/strchr.S: New file.
7613 * sysdeps/alpha/alphaev67/strlen.S: New file.
7614 * sysdeps/alpha/alphaev67/strncat.S: New file.
7615 * sysdeps/alpha/htonl.S: Use a shorter sequence.
7617 2000-12-08 Jakub Jelinek <jakub@redhat.com>
7619 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
7620 Reported by <pspencer@fields.utoronto.ca>.
7622 2000-12-07 Jes Sorensen <jes@linuxcare.com>
7624 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
7625 Pointed out by Hans Boehm.
7627 2000-12-07 H.J. Lu <hjl@gnu.org>
7629 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
7631 2000-12-07 Andreas Jaeger <aj@suse.de>
7633 * misc/error.c: Add format attributes for __error and __error_at_line.
7635 * nscd/dbg_log.h: Add format attribute.
7637 2000-12-08 Ulrich Drepper <drepper@redhat.com>
7639 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
7640 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
7642 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
7644 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
7646 2000-12-06 Ulrich Drepper <drepper@redhat.com>
7648 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7649 (sysdep_routines): Add uitrunc.
7650 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
7651 Patches by Michael Keezer <mkeezer@redhat.com>.
7653 2000-12-06 Roland McGrath <roland@frob.com>
7655 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
7656 argument data, since it will be used to copy out too (for INOUT).
7657 Reported by Marcus Brinkmann <marcus@gnu.org>.
7659 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
7660 (__ioctl): Use uintptr_t instead of unsigned long int.
7662 2000-12-06 Jim Wilson <wilson@redhat.com>
7664 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
7666 2000-12-06 Ulrich Drepper <drepper@redhat.com>
7668 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
7669 x.5 rounding correctly.
7671 2000-12-06 Mark Kettenis <kettenis@gnu.org>
7673 * stdio-common/perror.c (perror): Conditionalize code dealing with
7674 wide-oriented streams on USE_IN_LIBIO.
7676 2000-12-06 Mark Kettenis <kettenis@gnu.org>
7678 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
7679 as internal_function.
7681 2000-12-05 Ulrich Drepper <drepper@redhat.com>
7683 * sysdeps/alpha/elf/start.S (__data_start): Define.
7685 2000-12-05 H.J. Lu <hjl@gnu.org>
7687 * nss/getXXent_r.c (setup): Change the return type to int.
7689 2000-12-05 Ulrich Drepper <drepper@redhat.com>
7691 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7692 (sysdep_routines): Add restf and savef.
7693 * sysdeps/unix/sysv/aix/restf.c: New file.
7694 * sysdeps/unix/sysv/aix/savef.c: New file.
7695 Patches by Michael Keezer <mkeezer@redhat.com>.
7697 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
7698 if O_DIRECTORY is not defined.
7699 Patch by Michael Keezer <mkeezer@redhat.com>.
7701 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
7702 Patch by Michael Keezer <mkeezer@redhat.com>.
7704 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
7705 than 4 bytes in escape sequence.
7706 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7708 2000-12-05 Andreas Jaeger <aj@suse.de>
7710 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
7713 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
7715 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
7717 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
7718 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7720 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
7722 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
7723 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
7725 * sysdeps/generic/dl-cache.c: Remove declaration of
7726 _dl_sysdep_read_whole_file.
7728 * elf/dl-load.c (_dl_map_object): Remove declaration of
7729 _dl_load_cache_lookup.
7731 * sysdeps/generic/ldsodefs.h: Add declarations of
7732 _dl_load_cache_lookup, _dl_unload_cache,
7733 _dl_sysdep_read_whole_file, _dl_sysdep_start and
7734 _dl_sysdep_start_cleanup.
7736 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
7739 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
7740 * sysdeps/generic/dl-environ.c: Likewise.
7742 * stdio-common/printf_fp.c: Include <gmp.h> instead of
7744 * math/atest-exp.c: Likewise.
7745 * math/atest-exp2.c: Likewise.
7746 * math/atest-sincos.c: Likewise.
7747 * stdio-common/_itoa.c: Likewise.
7748 * stdio-common/_itowa.c: Likewise.
7750 * include/gmp.h: New file with internal prototypes.
7752 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
7754 * include/setjmp.h: ...here.
7756 * locale/Makefile (routines): Remove codeset_name since it's not
7759 * locale/codeset_name.c: Removed.
7761 2000-12-05 Ulrich Drepper <drepper@redhat.com>
7763 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
7765 2000-12-05 Andreas Jaeger <aj@suse.de>
7767 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
7769 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
7771 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
7774 2000-12-05 Andreas Jaeger <aj@suse.de>
7776 * nss/test-netdb.c: Mark local functions as static to avoid
7778 (main): Use return to silence warning.
7780 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
7782 * stdio-common/test-popen.c: Mark local functions as static to
7784 (main): Use return to silence warning.
7786 * stdlib/testsort.c (compare): Mark as static to avoid warning.
7788 * assert/test-assert.c: Mark local functions as static to avoid
7790 * assert/test-assert-perr.c: Likewise.
7792 * math/libm-test.inc (main): Use return to silence warnings.
7794 2000-12-04 Ulrich Drepper <drepper@redhat.com>
7796 * math/fenv.h: Fix typo in comment.
7798 * math/test-misc.c (main): Add a few more over and underflow tests
7801 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
7802 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7803 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7804 * math/w_scalb.c: Don't use matherr except in SVID mode.
7805 * math/w_scalbf.c: Likewise.
7806 * math/w_scalbl.c: Likewise.
7807 * math/test-misc.c: Add test for NaN and scalbl.
7808 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7810 2000-12-04 Ulrich Drepper <drepper@redhat.com>
7812 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
7813 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
7814 * include/libc-symbols.h (strong_alias): Define special version
7815 for HAVE_ASM_GLOBAL_DOT_NAME.
7816 (weak_alias): Likewise.
7817 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
7818 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
7819 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
7820 getutxline, pututxline, and utmpxname.
7821 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
7822 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
7823 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
7824 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
7825 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
7826 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
7827 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
7828 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
7829 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
7830 Patches by Michael Keezer <mkeezer@redhat.com>.
7832 2000-12-04 H.J. Lu <hjl@gnu.org>
7834 * configure.in: Change --with-oldest-abi=ABI to
7835 --enable-oldest-abi=ABI.
7837 2000-12-02 Bruno Haible <haible@clisp.cons.org>
7839 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
7840 fwprintf instead of fprintf.
7842 2000-12-04 Ulrich Drepper <drepper@redhat.com>
7844 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
7845 DECIMAL_DIG definitions.
7846 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
7847 * sysdeps/generic/bits/mathdef.h: Likewise
7848 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
7849 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
7850 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
7851 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
7852 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
7853 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
7855 2000-12-03 Ulrich Drepper <drepper@redhat.com>
7857 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
7859 * math/atest-exp.c: Mark local functions as static to avoid warnings.
7860 * math/atest-exp2.c: Likewise.
7861 * math/atest-sincos.c: Likewise.
7863 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
7864 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7866 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
7867 the handling of denormalized numbers.
7869 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
7871 * sysdeps/i386/fpu/fpclassifyl.c: New file.
7873 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
7874 pseudo denormal representation of LDBL_MIN.
7876 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
7877 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
7879 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
7880 * iconvdata/jis0208.c: Likewise.
7881 * iconvdata/jis0212.c: Likewise.
7882 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7884 * math/test-misc.c (main): More tests for frexp and some for
7885 fpclassify and isnormal.
7887 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
7889 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7891 * math/test-misc.c (main): Add tests for frexp.
7892 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7893 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
7895 2000-12-02 H.J. Lu <hjl@gnu.org>
7897 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
7900 2000-12-02 Ulrich Drepper <drepper@redhat.com>
7902 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
7903 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7904 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7906 * sysdeps/generic/glob.c: Adjust types of several variables to
7909 2000-12-01 Ulrich Drepper <drepper@redhat.com>
7911 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
7913 2000-11-30 Roland McGrath <roland@frob.com>
7915 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
7916 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
7917 allow multiple instances using the same function name in one file.
7919 2000-12-01 Ulrich Drepper <drepper@redhat.com>
7921 * configure.in: Correct test for pserver CVS access.
7923 2000-11-28 H.J. Lu <hjl@gnu.org>
7925 * libio/libio.h: Remove extra "#if ... #endif".
7927 2000-11-29 H.J. Lu <hjl@gnu.org>
7929 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
7931 2000-12-01 H.J. Lu <hjl@gnu.org>
7933 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
7934 * nss/getXXent_r.c: Likewise.
7935 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7937 2000-11-30 H.J. Lu <hjl@gnu.org>
7939 * scripts/abi-versions.awk (oldest_abi): New variable.
7940 Handle the oldest ABI supported.
7942 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
7943 for scripts/abi-versions.awk.
7945 * configure.in: Add --with-oldest-abi=ABI.
7946 * configure: Rebuild.
7948 * config.make.in (oldest-abi): New.
7950 * config.h.in (GLIBC_OLDEST_ABI): New.
7952 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
7954 2000-11-30 Jakub Jelinek <jakub@redhat.com>
7956 * locale/setlocale.c (setname): Free for all categories, not just
7958 (setlocale): Store a copy of string passed by user, not the string
7961 2000-11-30 Roland McGrath <roland@frob.com>
7963 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
7964 rather than _hurd_fd_subinit, so it happens after it's safe to use
7965 libc facilities like malloc.
7967 2000-11-28 Andreas Jaeger <aj@suse.de>
7969 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
7970 declaration, adjust declaration of __syscall_getdents to match
7973 2000-11-29 H.J. Lu <hjl@gnu.org>
7975 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
7977 2000-11-29 Andreas Jaeger <aj@suse.de>
7979 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
7981 2000-11-28 Ulrich Drepper <drepper@redhat.com>
7983 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
7984 * dlfcn/defaultmod2.c: Likewise.
7985 * dlfcn/dlopen.c: Likewise.
7986 * dlfcn/dlopenold.c: Likewise.
7987 * dlfcn/failtestmod.c: Likewise.
7988 * dlfcn/glreflib1.c: Likewise.
7989 * dlfcn/glreflib2.c: Likewise.
7990 * dlfcn/eval.c: Likewise. Add attributes.
7992 * ctype/ctype-extn.c: Define isblank and not __isblank.
7994 * time/strftime.c: Add const where necessary to avoid warnings.
7995 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
7997 2000-11-22 Paul Eggert <eggert@twinsun.com>
7999 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
8000 size of (size_t) -1; it's not portable.
8002 2000-11-28 Ulrich Drepper <drepper@redhat.com>
8004 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
8006 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8008 2000-11-14 Jes Sorensen <jes@linuxcare.com>
8010 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
8012 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
8013 _mcount is required by profiled binaries.
8015 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
8016 * sysdeps/ia64/machine-gmon.h: ...here.
8018 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
8020 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
8021 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
8023 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
8025 * iconvdata/ibm922.c: New file.
8026 * iconvdata/ibm922.h: New file.
8027 * iconvdata/ibm1124.c: New file.
8028 * iconvdata/ibm1124.h: New file.
8029 * iconvdata/ibm1129.c: New file.
8030 * iconvdata/ibm1129.h: New file.
8031 * iconvdata/testdata/IBM922: New file.
8032 * iconvdata/testdata/IBM922..UTF8: New file.
8033 * iconvdata/testdata/IBM1124: New file.
8034 * iconvdata/testdata/IBM1124..UTF8: New file.
8035 * iconvdata/testdata/IBM1129: New file.
8036 * iconvdata/testdata/IBM1129..UTF8: New file.
8038 2000-11-28 Ulrich Drepper <drepper@redhat.com>
8040 * catgets/gencat.c (normalize_line): Take extra parameter with escape
8041 character. Change callers.
8042 (open_conversion): Determine mapping of 0x5c as wchar_t value.
8043 * catgets/Makefile: Add rules to build and run test-gencat.
8044 * catgets/sample.SJIS: New file.
8045 * catgets/test-gencat.c: New file.
8046 * catgets/test-gencat.sh: New file.
8047 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8049 2000-11-28 Andreas Jaeger <aj@suse.de>
8051 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
8054 2000-11-28 Ulrich Drepper <drepper@redhat.com>
8056 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
8058 2000-11-28 Andreas Jaeger <aj@suse.de>
8060 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
8062 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
8065 2000-11-27 Ulrich Drepper <drepper@redhat.com>
8067 * misc/getusershell.c: Make strings in okshells array const.
8068 * misc/regexp.c: Add const to cast to avoid warnings.
8069 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
8070 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
8072 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
8074 * misc/error.c: Add prototypes for __error and __error_at_line.
8075 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
8076 statement to avoid warning.
8077 * test-skeleton.c: Mark timeout_handler with noreturn.
8078 * iconv/skeleton.c (get16u): Add const to cast.
8080 * iconvdata/gb18030.c: Likewise.
8081 * iconvdata/iso-2022-cn-ext.c: Likewise.
8082 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
8083 * iconvdata/big5.c: Likewise.
8084 * iconvdata/big5hkscs.c: Likewise.
8085 * iconvdata/iso_6937.c: Likewise.
8086 * iconvdata/iso_6937-2.c: Likewise.
8087 * iconvdata/t.61.c: Likewise.
8088 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
8089 * iconvdata/unicode.c: Likewise.
8090 * iconvdata/utf-16.c: Likewise.
8091 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
8092 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
8093 with little code shuffling.
8095 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
8096 the problems introduced when the user selects -O3.
8098 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
8099 * misc/sys/cdefs.h: Define __flexarr.
8100 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
8102 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
8103 * iconv/skeleton.c: Likewise.
8104 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
8105 * iconv/loop.c (get16): Add const to cast.
8108 2000-11-27 Andreas Jaeger <aj@suse.de>
8110 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
8112 * login/programs/utmpdump.c (print_entry): Likewise.
8114 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
8116 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
8117 in a single asm as they may be used to access other stored
8119 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8121 2000-11-27 Andreas Jaeger <aj@suse.de>
8123 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
8124 * rt/tst-aio64.c: Likewise.
8126 2000-11-27 Ulrich Drepper <drepper@redhat.com>
8128 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
8130 (libc.cat): Likewise.
8131 * catgets/gencat.c: Implement handling of message catalogs encoded
8132 with stateful character sets.
8133 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8135 2000-11-26 Ulrich Drepper <drepper@redhat.com>
8137 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
8139 * inet/getnameinfo.c: Adjust casts to avoid warnings.
8140 * inet/rcmd.c: Likewise.
8141 * inet/ruserpass.c: Likewise.
8142 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
8143 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8144 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
8145 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
8146 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
8147 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
8148 * include/aliases.h: Add prototypes for internal __getalias* functions.
8149 * include/netdb.h: Add prototypes for __old_gethostent_r,
8150 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
8151 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
8152 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
8153 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
8154 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
8155 __old_getrpcbynumber_r, __old_getrpcent_r.
8157 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
8158 __getrpcent_r prototypes.
8160 2000-11-25 Ulrich Drepper <drepper@redhat.com>
8162 * string/strcoll.c: Add casts to avoid warnings.
8163 * string/strnlen.c: Likewise.
8164 * string/strxfrm.c: Likewise.
8165 * sysdeps/generic/_strerror.c: Likewise.
8166 * sysdeps/generic/memrchr.c: Likewise.
8167 * sysdeps/generic/strcasestr.c: Likewise.
8168 * sysdeps/generic/strstr.c: Likewise.
8170 * locale/weight.h (findidx): Add const to cast to avoid warning.
8172 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
8173 * elf/loadtest.c: Likewise.
8174 * elf/multiload.c: Likewise.
8175 * elf/next.c: Likewise.
8176 * elf/nodelete.c: Likewise.
8177 * elf/noload.c: Likewise.
8178 * elf/order.c: Likewise.
8179 * elf/origtest.c: Likewise.
8180 * elf/preloadtest.c: Likewise.
8181 * elf/restest1.c: Likewise.
8183 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
8184 parameter of asm must be in %ecx.
8186 * string/tester.c: Mark test functions as static to avoid warnings.
8188 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
8189 preserve value over different gconv-modules files.
8191 2000-11-24 Ulrich Drepper <drepper@redhat.com>
8193 * locale/findlocale.c: Add casts to avoid warnings.
8194 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
8195 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
8197 * misc/tsearch.c (const_node): New type.
8198 (trecurse): Correct casts to avoid warnings.
8199 (__twalk): Likewise.
8200 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
8203 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
8205 * test-skeleton.c: Mark local functions as static to avoid warnings.
8207 2000-11-23 H.J. Lu <hjl@gnu.org>
8209 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
8210 support the background job.
8213 2000-11-24 Ulrich Drepper <drepper@redhat.com>
8215 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
8216 has same names but lower cost.
8218 2000-11-23 Jakub Jelinek <jakub@redhat.com>
8220 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
8221 which never occur during bootstrap.
8222 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8224 2000-11-23 Andreas Jaeger <aj@suse.de>
8226 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
8228 * nss/Versions: Remove _nss_files_getipnodebyname_r.
8230 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
8232 2000-11-18 Martin Buchholz <martin@xemacs.org>
8234 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
8237 2000-11-21 Alan Modra <alan@linuxcare.com.au>
8239 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
8241 * csu/abi-note.S: Correct comment for operating system number.
8243 2000-11-22 Ulrich Drepper <drepper@redhat.com>
8245 * Versions.def: Add GLIBC_2.2.1 for glibc.
8247 2000-11-22 Andreas Schwab <schwab@suse.de>
8249 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
8250 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
8252 2000-11-22 Ulrich Drepper <drepper@redhat.com>
8254 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
8255 absolute time for pthread_cond_timedwait call.
8256 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
8258 * rt/Makefile (tests): Add tst-aio6.
8259 * rt/tst-aio6.c: New file.
8261 2000-11-23 Andreas Jaeger <aj@suse.de>
8263 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
8265 2000-11-22 Andreas Jaeger <aj@suse.de>
8267 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
8269 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
8271 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
8273 2000-11-21 Andreas Schwab <schwab@suse.de>
8275 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
8276 * sysdeps/arm/setjmp.S: Likewise.
8277 * sysdeps/arm/fpu/setjmp.S: Likewise.
8278 * sysdeps/i386/setjmp.S: Likewise.
8279 * sysdeps/i386/elf/setjmp.S: Likewise.
8280 * sysdeps/s390/setjmp.S: Likewise.
8281 * sysdeps/s390/elf/setjmp.S: Likewise.
8282 * sysdeps/sh/sh3/setjmp.S: Likewise.
8283 * sysdeps/sh/sh4/setjmp.S: Likewise.
8284 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8285 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8286 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
8287 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
8289 2000-11-21 Andreas Jaeger <aj@suse.de>
8291 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
8292 NORETURN, fix parameter list.
8294 * string/bug-strncat1.c (main): Fix typo.
8295 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
8297 2000-11-20 Ulrich Drepper <drepper@redhat.com>
8299 * configure.in: Add --enable-all-warnings.
8300 * config.make.in (all-warnings): New variable.
8301 * Makeconfig (+gccwarn): Define with many more warnings if
8302 all-warnings is yes.
8304 2000-11-20 Jakub Jelinek <jakub@redhat.com>
8306 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
8307 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
8308 * malloc/tst-valloc.c (main): Cast valloc return value to long.
8309 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
8310 * math/test-fpucw.c (main): Use %lx in format string, cast
8311 control words to long.
8312 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
8313 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
8314 large that it is unsigned warning.
8316 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
8317 it to long on sparc64.
8319 2000-11-20 Andreas Jaeger <aj@suse.de>
8321 * nscd/nscd.h (termination_handler): Add noreturn attribute.
8322 (receiv_print_stats): Likewise.
8324 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
8326 2000-11-20 Ulrich Drepper <drepper@redhat.com>
8328 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
8330 * csu/gmon-start.c: Always have prototype for __gmon_start.
8331 * csu/version.c: Add prototypes for __libc_print_version and
8333 * iconv/gconv.c: Include gconv_int.h and gconv.h.
8334 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
8336 * iconv/gconv_builtin.h: Add ASCII module definitions.
8337 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
8338 (add_module): Add cast to avoid warning. Rework construction of
8339 strings for new module.
8340 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
8341 (derivation_compare): Likewise.
8342 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
8343 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
8344 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
8345 (struct gconv_alias): Remove const from fromname and toname.
8346 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
8348 (internal_ucs4_loop): Use correct const-ness.
8349 (ucs4_internal_loop): Likewise.
8350 (internal_ucs4le_loop): Likewise.
8351 (ucs4le_internal_loop_single): Likewise.
8352 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
8353 to_idx, to_tbl, winbuf, winbufend const. Change casts in
8354 assignments appropriately.
8355 (struct known_trans): Remove const from fname.
8356 (trans_compare): Make s1 and s2 const.
8357 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
8359 * iconv/skeleton.c: Remove cast in calls of loop functions.
8360 * iconvdata/gconv-modules: Remove US-ASCII definitions.
8361 * iconvdata/iso646.c: Remove US_ASCII support.
8362 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
8363 * include/unistd.h: Add __libc_check_standard_fds prototype.
8364 * string/bits/string2.h (__mempcpy_args): Add const to casts.
8365 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
8367 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
8368 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
8369 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
8371 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
8372 __libc_init_first and _dl_start.
8373 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
8374 (DCIGETTEXT): Make domaindata variable const.
8375 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
8378 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
8380 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
8382 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
8383 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
8386 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
8387 value defined in /usr/include/asm-mips/fcntl.h.
8389 2000-11-18 Ulrich Drepper <drepper@redhat.com>
8391 * stdio-common/Makefile (tests): Add test-vfprintf.
8392 (test-vfprintf-ENV): New variable.
8393 * stdio-common/test-vfprintf.c: New file.
8395 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
8397 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
8398 (tst-mbrtowc-ENV): New variable.
8399 (tst-wcrtomb-ENV): New variable.
8400 * wcsmbs/tst-mbrtowc.c: New file.
8401 * wcsmbs/tst-wcrtomb.c: New file.
8403 2000-11-16 Andreas Jaeger <aj@suse.de>
8405 * manual/install.texi (Tools for Compilation): Update
8406 documentation for GCC 2.95.2.
8408 2000-11-18 Ulrich Drepper <drepper@redhat.com>
8410 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
8411 if IPv4 and IPv6 requests timed out.
8413 2000-11-18 Akim Demaille <akim@epita.fr>
8415 * malloc/obstack.h: Formatting changes.
8416 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
8417 prevents type checking.
8418 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
8419 cast the value to (void *): assigning a `foo *' to a `void *'
8421 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
8423 2000-11-17 Ulrich Drepper <drepper@redhat.com>
8425 * scripts/config.guess: Update from upstream maintainer.
8426 * scripts/config.sub: Likewise.
8428 2000-11-16 Ulrich Drepper <drepper@redhat.com>
8430 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
8431 * libio/freopen64.c (freopen64): Likewise.
8432 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8434 * libio/Makefile: Add rules to build and run test-freopen.
8435 * libio/test-freopen.c: New file.
8436 * libio/test-freopen.sh: New file.
8438 2000-11-15 H.J. Lu <hjl@gnu.org>
8440 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
8441 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
8442 (DL_DT_FINI_ADDRESS): Likewise.
8444 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
8445 return type to ElfW(Addr).
8446 (_dl_function_address): New prototype.
8447 (DL_FUNCTION_ADDRESS): Defined.
8448 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
8449 (DL_DT_FINI_ADDRESS): Likewise.
8451 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
8453 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
8454 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
8456 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
8457 (_dl_function_address): This.
8459 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
8460 function pointer for DT_FINI.
8461 * elf/dl-close.c (_dl_close): Likewise.
8463 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
8464 function pointer for DT_INIT.
8466 2000-11-16 Jakub Jelinek <jakub@redhat.com>
8468 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
8469 end of wexpbuf buffer.
8471 2000-11-16 Andreas Jaeger <aj@suse.de>
8473 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
8474 definition of F_GETLK, F_SETLK, F_SETLKW.
8476 2000-11-16 Andreas Jaeger <aj@suse.de>
8478 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
8481 2000-11-15 Jakub Jelinek <jakub@redhat.com>
8483 * dlfcn/default.c (main): Add test for dladdr of main returning
8484 argv[0] in dli_fname field.
8486 2000-11-15 Jakub Jelinek <jakub@redhat.com>
8488 * Makeconfig (run-program-prefix): Move test-static test into the
8491 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
8492 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
8493 schedule instructions.
8494 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
8495 schedule instructions, fix a bug in copying auxiliary data.
8497 2000-11-15 Ulrich Drepper <drepper@redhat.com>
8499 * manual/startup.texi (Program Arguments): Fix type of main's envp
8501 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
8503 * iconvdata/gconv-modules: Add CP950 alias.
8505 2000-11-13 Jakub Jelinek <jakub@redhat.com>
8507 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
8508 syscall-list.h goal.
8509 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
8511 2000-11-15 Ulrich Drepper <drepper@redhat.com>
8513 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
8515 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
8518 * intl/tst-gettext2.c: Set C locale if setting other locale
8519 failed. Use gettext() not _().
8521 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
8522 successfully loaded a new locale.
8524 2000-11-13 Andreas Jaeger <aj@suse.de>
8526 * configure.in: Require gcc 2.95 or newer.
8528 2000-11-15 Ulrich Drepper <drepper@redhat.com>
8530 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
8531 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
8533 2000-11-11 Jim Meyering <meyering@lucent.com>
8535 * string/strndup.c (strndup): Cast return value to `char *'.
8537 2000-11-15 Jim Meyering <meyering@ascend.com>
8539 * sysdeps/generic/memchr.c: Remove some useless parentheses.
8540 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
8541 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
8542 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
8543 Also #undef __memchr.
8544 Use `weak_alias' only if it's defined.
8546 2000-11-10 H.J. Lu <hjl@gnu.org>
8548 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
8550 2000-11-15 Andreas Jaeger <aj@suse.de>
8552 * elf/chroot_canon.c: Include <stdint.h>.
8554 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
8555 (print_entry): Likewise.
8556 (add_to_cache): Likewise.
8558 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
8560 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
8561 (path_hwcap): Likewise.
8562 (search_dir): Likewise.
8564 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
8566 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
8568 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
8569 (_dl_platform_string): New.
8570 (_DL_HWCAP_PLATFORM): New.
8571 (_dl_string_platform): New.
8572 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
8574 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8575 (_dl_string_platform): New.
8576 (_DL_HWCAP_PLATFORM): New.
8577 (_dl_platform_string): New.
8579 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
8581 (_DL_HWCAP_COUNT): New.
8582 (_dl_string_platform): New.
8583 (_DL_HWCAP_PLATFORM): New.
8584 (_dl_platform_string): New.
8586 2000-11-14 Ulrich Drepper <drepper@redhat.com>
8588 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
8590 2000-11-14 Andreas Jaeger <aj@suse.de>
8592 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
8594 2000-11-13 Roland McGrath <roland@frob.com>
8596 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
8598 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
8600 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
8601 underrun and make sure the result is null terminated even if there
8602 is no trailing newline.
8604 2000-11-13 Jakub Jelinek <jakub@redhat.com>
8606 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8608 2000-11-10 H.J. Lu <hjl@gnu.org>
8610 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
8612 2000-11-10 Andreas Jaeger <aj@suse.de>
8614 * elf/ldconfig.c (create_links): Fix alloca calculation.
8615 Patch by Ben Collins <bcollins@debian.org>.
8617 2000-11-09 Ulrich Drepper <drepper@redhat.com>
8619 * inet/getnameinfo.c (getnameinfo): Use correct destination
8620 parameter for if_indextoname.
8621 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
8623 2000-11-09 H.J. Lu <hjl@gnu.org>
8625 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
8626 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
8627 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
8630 * time/Versions (GLIBC_2.1): Move getitimer to...
8631 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
8633 2000-11-03 Bruno Haible <haible@clisp.cons.org>
8635 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
8636 "make install", to work around a binary incompatibility between
8637 glibc 2.1 and glibc 2.2 gconv modules.
8639 2000-11-09 Ulrich Drepper <drepper@redhat.com>
8641 * intl/locale.alias: Add thai.
8642 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
8644 2000-11-07 Akim Demaille <akim@epita.fr>
8646 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
8647 argument `data' for consistency with the prototypes.
8649 (obstack_copy, obstack_copy0): Rename the second argument as
8650 `address' for consistency. Qualify it `const'.
8651 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
8652 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
8653 `const' their input argument (`data' or `address').
8654 Adjust the corresponding macros to include `const' in casts.
8656 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8658 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
8661 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8663 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
8666 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8668 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
8669 ai_protocol by internal table if service was not given.
8671 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8673 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
8674 numerical port was specified with protocol without socktype.
8676 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8678 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
8680 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8682 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
8684 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8686 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
8687 sin6_scope_id field.
8689 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8691 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
8693 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8695 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
8697 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8699 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
8700 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
8702 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
8704 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
8705 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
8707 2000-11-09 H.J. Lu <hjl@gnu.org>
8709 * io/Versions (GLIBC_2.1.1): Remove lockf64.
8712 See ChangeLog.11 for earlier changes.