1 2001-07-05 Andreas Jaeger <aj@suse.de>
3 Synch with Linux 2.4.6:
4 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
8 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
12 * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
15 * sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
18 * sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
21 * sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
24 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.
26 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.
28 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.
30 * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
32 2001-07-04 Roland McGrath <roland@frob.com>
34 * hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended
35 wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port
36 rather than doing a mach_port_insert_right call first.
38 2001-06-26 Roland McGrath <roland@frob.com>
40 * hurd/hurdioctl.c: Include <string.h> for memcpy decl.
42 2001-07-03 Andreas Jaeger <aj@suse.de>
44 * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Remove check for
47 2001-07-01 Mark Kettenis <kettenis@gnu.org>
49 * sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in
50 the Hurd pfinet server, using equivalent code from the Linux
51 version in sysdeps/unix/sysv/linux/if_index.c. In detail:
52 Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and
53 <hurd/pfinet.h>. Don't include <sys/mman.h> and <hurd/fsys.h>
55 (if_nametoindex): New implementation using SIOCGIFINDEX.
56 (if_freenameindex): Straight copy of the Linux version.
57 (if_nameindex): New implementation based on pfinet_siocgifconf and
59 (if_indextoname): New implementation using SIOCGIFNAME.
60 (map_interfaces): Function removed.
61 From Marcus Brinkmann <marcus@gnu.org>.
63 2001-06-30 Jakub Jelinek <jakub@redhat.com>
65 * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
66 gaps below main executable.
68 2001-06-19 Andreas Jaeger <aj@suse.de>
70 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
73 2001-06-29 Andreas Jaeger <aj@suse.de>
75 * sysdeps/ieee754/ldbl-128/s_asinhl.c: New file.
76 Patch by Stephen L Moshier <moshier@mediaone.net>.
78 2001-06-28 Ulrich Drepper <drepper@redhat.com>
80 * manual/argp.texi: Tons of cleanups.
81 Patch by Clifford U. Smith <cuel@swbell.net>.
83 2001-06-28 Mark Kettenis <kettenis@gnu.org>
85 * manual/users.texi (Setting Groups): Correct initgroups
86 documentation. Add documentation for getgrouplist.
88 2001-06-28 H.J. Lu <hjl@gnu.org>
90 * locale/findlocale.c (locale_file_list): Renamed to ...
91 (_nl_locale_file_list): This. Make it extern.
92 (free_mem): Move to ...
93 * locale/setlocale.c (free_mem): Here.
95 2001-06-28 Mark Kettenis <kettenis@gnu.org>
97 * sysdeps/mach/hurd/read.c: Include <hurd/fd.h>.
98 (__libc_read): Don't call __pread. Use _hurd_fd_read directly
100 * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>.
101 (__libc_write): Don't call __pwrite. Use _hurd_fd_write directly
104 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back
105 -Wl,-soname option lost in 2001-06-16 change.
107 2001-06-27 Ulrich Drepper <drepper@redhat.com>
109 * posix/tst-regex.c: Pass REG_NEWLINE to regcomp. Add extra tests.
110 Restrict printing of string in debug mode to 100 characters to make
111 the output useful for long input texts.
113 * posix/Makefile: Add rules to build and run tst-regex.
115 2001-06-20 Isamu Hasegawa <isamu@yamato.ibm.com>
117 * posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers.
118 (re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
119 (wcs_re_match_2_internal): Check whether the wcs buffers need
120 seting up or not, and skip seting up routin if not needed.
122 2001-06-26 Isamu Hasegawa <isamu@yamato.ibm.com>
124 * posix/regex.c (count_mbs_length): Use binary search for optimization.
126 2001-06-27 Ulrich Drepper <drepper@redhat.com>
128 * posix/tst-regex.c: Fix several bugs. Add more tests.
130 2001-06-26 Mark Kettenis <kettenis@gnu.org>
132 * hurd/Makefile (user-interfaces): Add pfinet.
133 * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and
135 (siocgifconf): New function. Register it with HURD_HANDLE_IOCTL
136 as the handler for SIOCGIFCONF.
137 * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and
138 SIOCGIFFLAGS to be of IOC type ifreq_short. Modify SIOCSIFMETRIC
139 and SIOCGIFMETRIC to be of IOC type ifreq_int. Add new macro
140 definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and
142 From Marcus Brunkmann <marcus@gnu.org>.
144 2001-06-25 Ulrich Drepper <drepper@redhat.com>
146 * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
147 and _IOT_ifreq_int. Patch by Mark Kettenis <kettenis@wins.uva.nl>.
149 * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
150 _dl_catch_error calls.
152 2001-06-22 Jakub Jelinek <jakub@redhat.com>
154 * posix/regex.c (regex_compile, re_match_2_internal): Fix comment
157 2001-06-01 Wolfram Gloger <wg@malloc.de>
159 * malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
160 ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
161 when malloc_atfork is in use.
163 2001-06-22 Andreas Jaeger <aj@suse.de>
165 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
168 * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
170 Add unused attributes to avoid warnings.
172 * elf/reldep4mod4.c: Add prototype to avoid warning.
173 * elf/reldep4mod2.c: Likewise.
175 * sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for
178 2001-06-18 Roland McGrath <roland@frob.com>
180 * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int.
182 2001-06-20 Alexandre Oliva <aoliva@redhat.com>
184 * sysdeps/unix/sysv/settimeofday.c: Include time.h.
186 2001-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
188 * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
190 2001-05-09 Michael Keezer <mkeezer@redhat.com>
192 * Makeconfig: Added AIX-ld support for DSO.
193 * Makerules: Likewise.
194 * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared.
195 (defaultmod2.so): Likewise.
196 * debug/Makefile: Conditionalize use of elf/ld.so.
197 * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig.
199 * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c.
200 * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) &
201 (f/g)prrest(0/1) static only.
202 * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0.
203 * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but
205 * sysdeps/unix/sysv/aix/setitimer.c: New file.
206 * sysdeps/unix/sysv/aix/sleep.c: New file.
207 * sysdeps/unix/sysv/aix/usleep.c: New file.
208 * sysdeps/unix/sysv/aix/dl-addr.c: New file.
209 * sysdeps/unix/sysv/aix/dl-error.c: New file.
210 * sysdeps/unix/sysv/aix/dl-support.c: New file.
211 * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file.
213 2001-06-19 Ulrich Drepper <drepper@redhat.com>
215 * po/es.po: Update from translation team.
217 2001-06-19 Andreas Jaeger <aj@suse.de>
219 * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file.
221 * math/libm-test.inc (tanh_test): Test for 2^-56.
223 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result
224 equals argument when x < 2^-55.
225 Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
227 2001-06-17 Alan Modra <amodra@bigpond.net.au>
229 * sysdeps/hppa/dl-machine.h (elf_machine_rela): handle relocs
230 at unaligned address.
232 2001-06-18 Ulrich Drepper <drepper@redhat.com>
234 * posix/regex.c: Reorganize code to build code twice, once for single
235 byte, once for multi-byte charsets. Choose function set adequate for
237 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
239 * po/nl.po: Update from translation team.
241 2001-06-09 Bruno Haible <haible@clisp.cons.org>
243 * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
244 (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
245 * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.
247 2001-05-26 Bruno Haible <haible@clisp.cons.org>
249 * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap.
250 * manual/charset.texi: Write Shift_JIS, not Shift-JIS.
252 2001-06-17 Roland McGrath <roland@frob.com>
254 * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,
255 not LIO_READ + 1 (which is the value of LIO_WRITE!).
257 * Makerules (build-module-helper-objlist): New variable,
258 broken out of build-module. Insert --whole-archive/--no-whole-archive
259 immediately each *_pic.a file in the link object list.
260 (whole-archive): New variable, used by that.
261 (build-module-objlist): New variable using build-module-helper-objlist.
262 (build-module, build-module-helper): Use it.
263 (build-shlib-objlist): New variable using build-module-helper-objlist.
264 (build-shlib): Use that.
265 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
267 * posix/spawni.c: Moved to ...
268 * sysdeps/posix/spawni.c: ... here.
269 * sysdeps/generic/spawni.c: New file.
271 2001-06-16 Roland McGrath <roland@frob.com>
273 * hurd/Makefile (routines): Add lookup-retry.
274 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
275 * hurd/lookup-retry.c: ... into here, new file.
276 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
277 using of duplicate code here.
279 * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
281 2001-06-17 Ulrich Drepper <drepper@redhat.com>
283 * po/ja.po: Update from translation team.
285 2001-06-04 Bruno Haible <haible@clisp.cons.org>
287 * locale/programs/locfile.c (siblings_uncached, siblings, full_read,
288 compare_files): New functions.
289 (write_locale_data): Use xmalloc. Compare the file with the locale
290 data files for the same category in other locales, and reuse it if
293 2001-06-07 Mark Kettenis <kettenis@gnu.org>
295 * grp/initgroups.c (initgroups): Factor out re-usable code into...
296 (internal_getgrouplist): ... new function.
297 (getgrouplist): New function.
298 * grp/grp.h (getgrouplist): New prototype.
299 * grp/Versions [2.2.4]: Add getgrouplist.
301 2001-06-16 Ulrich Drepper <drepper@redhat.com>
303 * inet/netinet/ip6.h: Fix comments in ip6_hdr.
304 Patch by Pekka Savola <pekkas@netcore.fi>.
306 2001-06-15 Roland McGrath <roland@frob.com>
308 * rt/Makefile (aio-routines, clock-routines, timer-routines): New
309 variables, broken out of librt-routines.
310 (librt-routines): Set using those.
311 (extra-libs, extra-libc-others, tests): Set these unconditionally.
312 (distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
313 * sysdeps/generic/aio_fsync.c: New file.
314 * sysdeps/generic/aio_misc.c: New file.
315 * sysdeps/generic/aio_write.c: New file.
316 * sysdeps/generic/aio_write64.c: New file.
317 * sysdeps/generic/aio_read64.c: New file.
318 * sysdeps/generic/aio_read.c: New file.
319 * sysdeps/generic/aio_notify.c: New file.
320 * sysdeps/generic/lio_listio64.c: New file.
321 * sysdeps/generic/lio_listio.c: New file.
322 * sysdeps/generic/aio_cancel.c: New file.
323 * sysdeps/generic/aio_misc.h: New file.
324 * sysdeps/generic/aio_suspend.c: New file.
325 * rt/aio_cancel.c: Moved to ...
326 * sysdeps/pthread/aio_cancel.c: ... here.
327 * rt/aio_fsync.c: Moved to ...
328 * sysdeps/pthread/aio_fsync.c: ... here.
329 * rt/aio_misc.c: Moved to ...
330 * sysdeps/pthread/aio_misc.c: ... here.
331 * rt/aio_misc.h: Moved to ...
332 * sysdeps/pthread/aio_misc.h: ... here.
333 * rt/aio_notify.c: Moved to ...
334 * sysdeps/pthread/aio_notify.c: ... here.
335 * rt/aio_read.c: Moved to ...
336 * sysdeps/pthread/aio_read.c: ... here.
337 * rt/aio_read64.c: Moved to ...
338 * sysdeps/pthread/aio_read64.c: ... here.
339 * rt/aio_suspend.c: Moved to ...
340 * sysdeps/pthread/aio_suspend.c: ... here.
341 * rt/aio_write.c: Moved to ...
342 * sysdeps/pthread/aio_write.c: ... here.
343 * rt/aio_write64.c: Moved to ...
344 * sysdeps/pthread/aio_write64.c: ... here.
345 * rt/lio_listio.c: Moved to ...
346 * sysdeps/pthread/lio_listio.c: ... here.
347 * rt/lio_listio64.c: Moved to ...
348 * sysdeps/pthread/lio_listio64.c: ... here.
350 2001-06-14 Roland McGrath <roland@frob.com>
352 * configure.in: Let sysdeps Implies files in add-ons bring in
353 sysdeps directories from the main source and other add-ons too.
355 2001-06-15 Jakub Jelinek <jakub@redhat.com>
357 * math/test-misc.c (main): Add tests for nextafter and nexttoward
358 with +-Inf as second argument.
360 * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
362 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
363 * sysdeps/i386/fpu/s_nexttoward.c: New.
364 * sysdeps/i386/fpu/s_nexttowardf.c: New.
365 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
366 check for NaN, optimize x==+-0 handling.
367 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
368 * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
369 check for NaN, fix sign in x==+-0 case.
370 * sysdeps/ia64/fpu/s_nexttoward.c: New.
371 * sysdeps/ia64/fpu/s_nexttowardf.c: New.
373 2001-06-15 H.J. Lu <hjl@gnu.org>
375 * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
376 * rt/tst-aio3.c (do_test): Likewise.
377 * rt/tst-aio4.c (do_test): Likewise.
378 * rt/tst-aio5.c (do_test): Likewise.
379 * rt/tst-aio6.c (do_test): Likewise.
381 2001-06-15 Andreas Schwab <schwab@suse.de>
383 * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
384 * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
386 2001-06-15 Andreas Jaeger <aj@suse.de>
388 * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning.
390 2001-06-14 Andreas Schwab <schwab@suse.de>
392 * elf/ldconfig.c (search_dir): Fix check for regular file.
394 * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
395 * sysdeps/m68k/fpu/e_log2l.c: Fix typo.
397 2001-06-14 Roland McGrath <roland@frob.com>
399 * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
400 (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
402 2001-06-13 Roland McGrath <roland@frob.com>
404 * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
406 * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
407 so the label is not considered unused.
409 * sysdeps/mach/hurd/pwrite64.c: New file.
410 * sysdeps/mach/hurd/pread64.c: New file.
412 * sysdeps/mach/hurd/pread.c
413 (__libc_pread): Define this name, with __pread as an alias.
414 * sysdeps/mach/hurd/pwrite.c
415 (__libc_pwrite): Define this name, with __pwrite as an alias.
417 Implement POSIX "shared memory objects" as regular
418 files residing in the /var/run/shm/ directory.
419 This works on any system that supports _POSIX_MAPPED_FILES,
420 to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
421 * sysdeps/posix/shm_open.c: New file.
422 * sysdeps/posix/shm_unlink.c: New file.
423 * sysdeps/mach/hurd/bits/posix_opt.h
424 (_POSIX_SHARED_MEMORY_OBJECTS): Define it.
426 * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
427 Use raise instead of __aio_sigqueue.
429 * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
430 * sysdeps/mach/hurd/pwrite.c: Likewise.
432 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
433 [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
434 as default version set.
436 2001-06-13 Ulrich Drepper <drepper@redhat.com>
438 * libio/iolibio.h (_IO_freopen): Correct last parameter to
440 (_IO_freopen64): Likewise.
441 Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].
443 * elf/elf.h: Add a few more EM_* constants.
445 2001-06-12 Bruno Haible <haible@clisp.cons.org>
447 * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.
449 2001-06-09 Ben Collins <bcollins@debian.org>
451 * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
452 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
453 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
454 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
455 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
456 * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
459 2001-06-13 Ulrich Drepper <drepper@redhat.com>
461 * time/sys/time.h: Don't use enum __itimer_which ever for
462 __itimer_which_t for C++.
463 Reported by Martin Buchholz <martin@xemacs.org>.
465 * po/fr.po: Update from translation team.
467 2001-06-12 H.J. Lu <hjl@gnu.org>
469 * configure.in: Fix typos in missing program names.
470 * configure: Regenerated.
472 2001-06-12 Andreas Jaeger <aj@suse.de>
474 * iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
476 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
478 2001-06-11 Andreas Jaeger <aj@suse.de>
480 * sysdeps/ieee754/ldbl-128/e_coshl.c: New file. Contributed by
481 Stephen L Moshier <moshier@mediaone.net>.
483 * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
485 * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
486 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
488 2001-06-11 Michael Deutschmann <michael@talamasca.ocis.net>
490 * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
491 Use my_signo instead of MY_SIGNO and initialize it so that the
492 used signal is always available.
494 2001-06-11 Andreas Jaeger <aj@suse.de>,
495 Michael Deutschmann <michael@talamasca.ocis.net>
497 * io/test-lfs.c (do_prepare): Clean up error messages.
498 (test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
501 2001-06-11 Andreas Jaeger <aj@suse.de>
503 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
504 IMAXBEL): Make always visible since they're needed by POSIX.
505 Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
507 2001-06-10 Ben Collins <bcollins@debian.org>
509 * sysdeps/arm/elf/start.S: Use #function, not @function, for
512 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
515 2001-06-07 H.J. Lu <hjl@gnu.org>
517 * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
519 2001-06-10 Roland McGrath <roland@frob.com>
521 * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
522 * elf/reldep4mod4.c: Likewise.
524 2001-06-10 Mark Kettenis <kettenis@gnu.org>
526 * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
528 2001-06-08 Andreas Schwab <schwab@suse.de>
530 * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
531 Don't dereference at end of string.
533 2001-06-06 Roland McGrath <roland@frob.com>
535 * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
536 From Robert Bihlmeyer <robbe@orcus.priv.at>.
538 2001-06-06 Ulrich Drepper <drepper@redhat.com>
540 * po/ko.po: Update from translation team.
542 2001-06-06 Andreas Jaeger <aj@suse.de>
544 * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
546 Reported by Robert Bernecky <bernecky@acm.org>.
548 2001-06-06 Jakub Jelinek <jakub@redhat.com>
550 * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
551 * sysdeps/ia64/elf/start.S: Likewise.
552 * sysdeps/sh/elf/start.S: Likewise.
553 * sysdeps/s390/s390-32/elf/start.S: Likewise.
554 * sysdeps/s390/s390-64/elf/start.S: Likewise.
556 2001-06-05 Matthew Wilcox <willy@ldl.fc.hp.com>
558 * sysdeps/hppa/bsd-_setjmp.S: New.
559 * sysdeps/hppa/bsd-setjmp.S: New.
561 * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
562 gcc warnings about multi-line strings.
564 * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
565 * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
567 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
568 setrlimit directly instead of using wrappers.
570 2001-05-01 Richard Hirst <rhirst@linuxcare.com>
572 * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
573 * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
575 2001-06-05 Philipp Thomas <pthomas@suse.de>
577 * nis/nis_call.c (__nisbind_connect): Don't mark for translation
578 what can't be translated.
580 2001-06-06 Ulrich Drepper <drepper@redhat.com>
582 * timezone/zic.c: Update from tzcode2001c.
583 * timezone/private.h: Likewise.
584 * timezone/africa: Update from tzdata2001c.
585 * timezone/asia: Likewise.
586 * timezone/europe: Likewise.
587 * timezone/northamerica: Likewise.
588 * timezone/southamerica: Likewise.
589 * timezone/zone.tab: Likewise.
591 2001-06-04 Bruno Haible <haible@clisp.cons.org>
593 * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
594 * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
596 (__gconv_transform_internal_ucs2): Likewise.
597 (__gconv_transform_internal_ucs2reverse): Likewise.
598 * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
599 * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
600 * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
601 * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
602 * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
603 * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
604 * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
605 * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
606 * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
607 * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
608 * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
609 * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
610 * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
611 * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
612 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
613 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
614 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
615 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
616 * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
617 * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
618 * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
619 * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
620 * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
621 * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
622 * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
623 * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
624 * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
625 * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
626 * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
627 * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
628 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
629 * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
630 TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
631 TAG_language_zh, CURRENT_TAG_MASK): New enum values.
632 (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
633 is already selected but set2 or tag are set.
634 (conversion): New enum type.
635 (cvlist_t): New type.
636 (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
637 (conversion_lists): New array.
638 (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag. If "ja",
639 prefer conversion to Japanese character sets. If "zh", prefer
640 conversion to GB2312. If "ko", prefer conversion to KSC5601. Small
642 (INIT_PARAMS): Add tag.
643 (UPDATE_PARAMS): Add tag.
645 2001-06-04 Bruno Haible <haible@clisp.cons.org>
647 * locale/programs/locfile.c (write_locale_data): Before creat(),
648 unlink the file, to avoid crashing the processes that mmap it. Change
649 a double slash to a single slash. Free fname in case of error return.
651 2001-06-02 Jakub Jelinek <jakub@redhat.com>
653 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
654 changes, do the special handling for denormal numbers, not for
655 normalized numbers (patch by <trevin@xmission.com>).
657 * math/test-misc.c (main): Test frexpl with denormal arguments.
659 2001-06-04 Jakub Jelinek <jakub@redhat.com>
661 * math/libm-test.inc (llround_test): Add two new llround tests.
662 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
663 overflow when rounding away from zero.
665 2001-06-04 Jakub Jelinek <jakub@redhat.com>
667 * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
668 * math/math_private.h (__ieee754_log2, __ieee754_log2f,
669 __ieee754_log2l): New prototypes.
670 * sysdeps/generic/w_log2.c: New file.
671 * sysdeps/generic/w_log2f.c: New file.
672 * sysdeps/generic/w_log2l.c: New file.
673 * sysdeps/generic/s_log2l.c: Move...
674 * sysdeps/generic/e_log2l.c: ...to here. Rename to __ieee754_log2l.
675 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
677 * sysdeps/i386/fpu/s_log2.S: Move...
678 * sysdeps/i386/fpu/e_log2.S: ...to here. Rename to __ieee754_log2.
679 * sysdeps/i386/fpu/s_log2f.S: Move...
680 * sysdeps/i386/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f.
681 * sysdeps/i386/fpu/s_log2l.S: Move...
682 * sysdeps/i386/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l.
683 * sysdeps/m68k/fpu/s_log2.c: Move...
684 * sysdeps/m68k/fpu/e_log2.c: ...to here. Rename to __ieee754_log2.
685 * sysdeps/m68k/fpu/s_log2f.c: Move...
686 * sysdeps/m68k/fpu/e_log2f.c: ...to here. Rename to __ieee754_log2f.
687 * sysdeps/m68k/fpu/s_log2l.c: Move...
688 * sysdeps/m68k/fpu/e_log2l.c: ...to here. Rename to __ieee754_log2l.
689 * sysdeps/ieee754/dbl-64/s_log2.c: Move...
690 * sysdeps/ieee754/dbl-64/e_log2.c: ...to here. Rename to
692 * sysdeps/ieee754/flt-32/s_log2f.c: Move...
693 * sysdeps/ieee754/flt-32/e_log2f.c: ...to here. Rename to
696 2001-06-04 Jakub Jelinek <jakub@redhat.com>
698 * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
699 even arguments which result in denormalized exp2 are accepted.
700 (__exp2): Arguments equal to u_threshold already result into
702 * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
703 * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
704 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
705 low, with corrected lowmark use greaterequal, not greater.
706 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
708 2001-06-04 Jakub Jelinek <jakub@redhat.com>
710 * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
711 * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
712 * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
713 * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
714 * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
715 * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
716 * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
717 * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
719 2001-06-04 Jakub Jelinek <jakub@redhat.com>
721 * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
722 gave non-finite result instead of using constant in generic
724 * sysdeps/generic/w_coshf.c (__coshf): Likewise.
725 * sysdeps/generic/w_cosh.c (__cosh): Likewise.
726 * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
727 (__exp10): Test if finite argument gave non-finite result.
728 * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
730 * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
733 2001-06-04 Jakub Jelinek <jakub@redhat.com>
735 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
736 overflow threshold constant (log(LDBL_MAX)+M_LN2l).
738 2001-05-29 Bruno Haible <haible@clisp.cons.org>
740 * locale/programs/ld-ctype.c (idx_table): New struct type.
741 (idx_table_init, idx_table_get, idx_table_add): New functions.
742 (MAX_CHARNAMES_IDX): Remove macro.
743 (locale_ctype_t): Change type of charnames_idx field.
744 (ctype_startup): Change initialization of charnames_idx field.
745 (find_idx): Use idx_table_get and idx_table_add for speed.
747 * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
748 computation of characters in a range.
750 2001-05-29 Bruno Haible <haible@clisp.cons.org>
752 * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
754 (__ucs_to_gb18030_tab1): Likewise.
755 (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
756 (BODY for TO_LOOP): Likewise.
757 * iconvdata/tst-table-charmap.sh: Update for charmaps containing
759 * iconvdata/tst-table-from.c (bmp_only): New variable.
760 (utf8_decode): If bmp_only, don't return characters outside Unicode
762 (main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print
763 a conversion line if utf8_decode returns NULL.
764 * iconvdata/tst-table-to.c (main): When testing encodings other than
765 UTF-8 and GB18030, loop upto U+30000 instead of U+10000. Use UTF-8
766 instead of UCS-2 as input.
767 * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
770 2001-05-29 Bruno Haible <haible@clisp.cons.org>
772 * iconvdata/cns11643l1.c: Update to Unicode 3.1.
773 (__cns11643l1_to_ucs4_tab): Regenerated.
774 (__cns11643l1_from_ucs4_tab12): Regenerated.
775 * iconvdata/cns11643.c: Update to Unicode 3.1.
776 (__cns11643l14_to_ucs4_tab): Remove array.
777 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
778 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
779 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
780 (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
781 (__cns11643_from_ucs4p2_tab): New array.
782 * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
783 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
784 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
785 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
786 (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
787 (__cns11643_from_ucs4_tab): Remove declaration.
788 (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
790 (ucs4_to_cns11643): Update for new arrays. Treat U+3400..U+4DFF and
792 * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
794 (__cns11643_from_ucs4p0_tab): New declaration.
795 (ucs4_to_cns11643l2): Update for new arrays.
796 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
798 (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
799 * iconvdata/EUC-TW.irreversible: New file.
800 * iconvdata/tst-table.sh: Use it.
801 * iconvdata/Makefile (distribute): Add CP1255.irreversible,
802 CP1258.irreversible, EUC-TW.irreversible.
804 2001-05-29 Bruno Haible <haible@clisp.cons.org>
806 * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
807 mathematical symbols.
809 2001-06-05 Andreas Jaeger <aj@suse.de>
811 * manual/stdio.texi (Portable Positioning): Fix description of
814 2001-06-06 Ulrich Drepper <drepper@redhat.com>
816 * sysdeps/generic/wordexp.c: Undo last patch. Use strndupa instead.
818 * po/sk.po: Update from translation team.
820 2001-06-05 Andreas Jaeger <aj@suse.de>
822 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
823 tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
826 2001-06-05 Ulrich Drepper <drepper@redhat.com>
828 * sysdeps/generic/wordexp.c: Add missing free.
829 Patch by yeti@physics.muni.cz.
831 2001-06-02 Tom Browder <tbrowder@home.com>
833 * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
834 within bounds when lag > 0.
836 2001-06-05 Ulrich Drepper <drepper@redhat.com>
838 * po/tr.po: New file.
840 2001-06-05 Andreas Jaeger <aj@suse.de>
842 * manual/libm-err-tab.pl (parse_ulps): Fix typo.
844 2001-06-04 H.J. Lu <hjl@gnu.org>
846 * sysdeps/alpha/elf/start.S: Add .type for the entry point.
847 * sysdeps/arm/elf/start.S: Likewise.
848 * sysdeps/hppa/elf/start.S: Likewise.
849 * sysdeps/i386/elf/start.S: Likewise.
850 * sysdeps/m68k/elf/start.S: Likewise.
851 * sysdeps/mips/elf/start.S: Likewise.
852 * sysdeps/ia64/elf/start.S: Likewise.
853 * sysdeps/sh/elf/start.S: Likewise.
854 * sysdeps/s390/s390-32/elf/start.S: Likewise.
855 * sysdeps/s390/s390-64/elf/start.S: Likewise.
856 * sysdeps/cris/elf/start.S: Likewise.
858 2001-06-04 Bruce Mitchener <bruce@cubik.org>
860 * manual/resource.texi: Correct setpriority/nice documentation.
862 * sysdeps/unix/nice.c: Correct nice() implementation.
864 2001-06-04 Andreas Jaeger <aj@suse.de>
866 * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
867 Stephen L Moshier <moshier@mediaone.net>.
869 2001-06-03 Roland McGrath <roland@frob.com>
871 * Makefile (postclean): Remove obsolete sysd-Makefile.
873 2001-06-01 Roland McGrath <roland@frob.com>
875 * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
876 and use compat_symbol/versioned_symbol instead of plain
877 symbol_version/default_symbol_version.
878 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
879 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
880 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
881 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
882 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
883 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
884 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
885 * sysdeps/arm/fpu/fegetenv.c: Likewise.
886 * sysdeps/arm/fpu/fesetenv.c: Likewise.
887 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
888 * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
889 * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
890 * sysdeps/i386/fpu/fegetenv.c: Likewise.
891 * sysdeps/i386/fpu/fesetenv.c: Likewise.
892 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
893 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
894 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
895 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
896 * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
897 * sysdeps/m68k/fpu/fegetenv.c: Likewise.
898 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
899 * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
900 * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
901 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
902 * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
903 * sysdeps/powerpc/fclrexcpt.c: Likewise.
904 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
905 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
906 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
907 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
908 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
909 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
911 * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
912 * iconvdata/iso-2022-cn-ext.c: Likewise.
914 2001-06-01 Andreas Jaeger <aj@suse.de>
916 * Versions.def: Add version 2.2.4.
918 2001-06-01 Ulrich Drepper <drepper@redhat.com>
920 * socket/Makefile (routines): Add sockatmark.
921 * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
922 * socket/sys/socket.h: Add prototype for sockatmark.
923 * sysdeps/generic/sockatmark.c: New file.
924 * sysdeps/unix/sockatmark.c: New file.
926 2001-06-01 Andreas Jaeger <aj@suse.de>
928 * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
930 (cfsetospeed): Likewise.
931 Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
933 2001-05-31 Joseph S. Myers <jsm28@cam.ac.uk>
935 * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
937 2001-05-30 Martin Schwidefsky <schwidefsky@de.ibm.com>
939 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
940 needs to have the same aligment as the kernel structure.
942 2001-05-29 Jakub Jelinek <jakub@redhat.com>
944 * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
945 u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
946 * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
947 u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
948 against multiple definition.
950 2001-05-30 Ulrich Drepper <drepper@redhat.com>
952 * po/da.po: Update from translation team.
954 2001-05-29 Andreas Jaeger <aj@suse.de>
956 * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
957 Stephen L Moshier <moshier@mediaone.net>.
959 * math/libm-test.inc (sinh_test): Add new test case.
961 * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
963 Patch by Stephen L Moshier <moshier@mediaone.net>.
965 2001-05-23 Andreas Jaeger <aj@suse.de>
967 * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
968 * iconvdata/testdata/WINDOWS-1255..UTF8: this.
970 2001-05-27 Andreas Jaeger <aj@suse.de>
972 * manual/stdio.texi (String Streams): Fix fmemopen description.
973 Reported by Michal Kochanowicz <michal@michal.waw.pl>.
975 2001-05-26 H.J. Lu <hjl@gnu.org>
977 * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
978 to s_sigsuspend. Add s_mmap2.
980 * sysdeps/mips/atomicity.h: New file.
982 * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
984 * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
987 2001-05-25 Bruce Mitchener <bruce@cubik.org>
989 * manual/ctype.texi: Minor fix.
990 * manual/install.texi: Likewise.
991 * manual/startup.texi: Likewise.
992 * manual/examples/dir.c: Use perror() rather than puts().
994 2001-05-25 David Mosberger <davidm@hpl.hp.com>
996 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
997 #endif directive inside a comment to avoid compiler warnings.
999 2001-05-25 Philipp Thomas <pthomas@suse.de>
1001 * nis/nis_print.c (nis_nstype2str): Don't mark names of
1002 naming services for translation, only UNKNOWN needs it.
1003 Add comment to prevent it for the future.
1005 2001-05-25 Joseph S. Myers <jsm28@cam.ac.uk>
1007 * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
1008 3.1 and non-GCC C99 compilers.
1010 2001-05-22 David Mosberger <davidm@hpl.hp.com>
1012 * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
1014 * sysdeps/ia64/memcpy.S: Likewise.
1016 * sysdeps/ia64/bcopy.S: New file.
1018 * sysdeps/ia64/bzero.S: New file (derived from memset.S).
1020 2001-05-26 Ulrich Drepper <drepper@redhat.com>
1022 * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
1024 2001-05-24 Ulrich Drepper <drepper@redhat.com>
1026 * iconvdata/Makefile: Add rules for CP10007.
1027 * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
1028 * iconvdata/cp10007.c: New file.
1029 * iconvdata/tst-tables.sh: Add CP10007.
1031 2001-05-23 kaz Kojima <kkojima@rr.iij4u.or.jp>
1033 * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
1034 (_dl_runtime_profile): Likewise..
1036 2001-05-23 Thorsten Kukuk <kukuk@suse.de>
1038 * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
1039 * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
1041 2001-05-19 H.J. Lu <hjl@gnu.org>
1043 * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
1044 errstring of the failed DSO to _dl_signal_error ().
1046 2001-05-23 Ulrich Drepper <drepper@redhat.com>
1048 * iconvdata/gconv-modules: Add more aliases to enable use in
1051 2001-05-23 Andreas Jaeger <aj@suse.de>
1053 * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
1054 Remove, it's not used anywhere anymore.
1055 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
1056 (CFLAGS-initfini.s): Likewise.
1057 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1058 (CFLAGS-initfini.s): Likewise.
1059 * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
1061 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
1064 2001-05-21 Bruno Haible <haible@clisp.cons.org>
1066 * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
1067 use 0 instead, and rely on the converter to do the flush.
1068 * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
1070 (utf8_test_2, utf8_test_3): New function.
1071 (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
1073 2001-05-22 Jakub Jelinek <jakub@redhat.com>
1075 * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
1077 * elf/Makefile (distribute): Add reldep4mod[1234].c.
1078 (tests): Add reldep4.
1079 (modules-names): Add reldep4mod[1234].
1080 (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
1081 * elf/reldep4.c: New file.
1082 * elf/reldep4mod1.c: Likewise.
1083 * elf/reldep4mod2.c: Likewise.
1084 * elf/reldep4mod3.c: Likewise.
1085 * elf/reldep4mod4.c: Likewise.
1087 2001-05-18 Jakub Jelinek <jakub@redhat.com>
1089 * elf/dl-lookup.c (PROTECTED): Remove defines.
1090 (add_dependency): Mark it with internal_function.
1091 (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
1092 (_dl_lookup_symbol, _dl_lookup_symbol_skip,
1093 _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
1094 it if we don't want do_lookup* inlined.
1096 2001-05-18 Jakub Jelinek <jakub@redhat.com>
1098 * include/link.h (struct r_scope_elem): Remove r_duplist and
1100 * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
1101 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
1103 (_dl_lookup_versioned_symbol_skip): Likewise.
1104 * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
1105 (_dl_map_object_deps): Don't compute duplicate list.
1107 * elf/dl-symbol.c: Removed.
1108 * elf/Makefile (routines): Remove dl-symbol.
1110 2001-05-22 Ulrich Drepper <drepper@redhat.com>
1112 * po/el.po: Update from translation team.
1113 * po/sv.po: Likewise.
1115 2001-05-20 Bruno Haible <haible@clisp.cons.org>
1117 * iconvdata/cp1255.c: Completely rewritten.
1118 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
1119 * iconvdata/testdata/WINDOWS-1255: New file.
1120 * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
1121 * iconvdata/TESTS: Add WINDOWS-1255 test.
1122 * iconvdata/CP1255.irreversible: New file.
1124 2001-05-20 Bruno Haible <haible@clisp.cons.org>
1126 * iconvdata/cp1258.c: Completely rewritten.
1127 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
1128 * iconvdata/testdata/WINDOWS-1258: New file.
1129 * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
1130 * iconvdata/TESTS: Add WINDOWS-1258 test.
1131 * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
1132 the main call, and flush it afterwards.
1133 (utf8_decode): Return a string, possibly containing several Unicode
1135 (main): Update all utf8_decode calls.
1136 * iconvdata/CP1258.irreversible: New file.
1138 2001-05-20 Bruno Haible <haible@clisp.cons.org>
1140 * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
1141 * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2. In the
1142 first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
1143 EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
1144 the next step. In the second case, clear the state without calling
1146 * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
1147 data->__outbuf, and outend instead of data->__outbufend.
1148 * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
1149 * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
1150 * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
1151 * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
1152 * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
1153 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
1154 * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
1155 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
1156 * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
1158 2001-05-21 Jakub Jelinek <jakub@redhat.com>
1160 * elf/rtld.c (dl_main): Compute l_map_end for the main program.
1161 * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
1162 If match == _dl_loaded, caller can still come from the main program.
1163 (_dl_vsym): Likewise.
1164 * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
1165 * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
1166 * elf/restest2.c: New test.
1167 * elf/Makefile (tests): Add restest2.
1168 (restest2, LDFLAGS-restest2): Add rules.
1170 2001-05-22 Ulrich Drepper <drepper@redhat.com>
1172 * intl/Makefile: Add a few more dependencies to avoid races in the
1175 2001-05-22 Andreas Jaeger <aj@suse.de>
1177 * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
1178 Stephen L Moshier <moshier@mediaone.net>.
1180 2001-05-22 Martin Schwidefsky <schwidefsky@de.ibm.com>
1182 * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
1183 return addresses instead of the stack pointers.
1184 * sysdeps/s390/s390-64/backtrace.c: Likewise.
1186 2001-05-21 Jakub Jelinek <jakub@redhat.com>
1188 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
1189 bits/sigcontext.h instead of bits/sigstack.h.
1190 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
1191 multiple-inclusion guards.
1193 2001-05-21 Andreas Jaeger <aj@suse.de>
1195 * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
1196 Patch by Philipp Thomas <pthomas@suse.de>.
1198 2001-05-17 Bruce Mitchener <bruce@cubik.org>
1200 * manual/arpg.texi: Spelling, misc fixes.
1201 * manual/arith.texi: Likewise.
1202 * manual/crypt.texi: Likewise.
1203 * manual/debug.texi: Likewise.
1204 * manual/getopt.texi: Likewise.
1205 * manual/intro.texi: Likewise.
1206 * manual/memory.texi: Likewise.
1207 * manual/nss.texi: Likewise.
1208 * manual/pattern.texi: Likewise.
1209 * manual/process.texi: Likewise.
1210 * manual/resource.texi: Likewise.
1211 * manual/search.texi: Likewise.
1212 * manual/setjmp.texi: Likewise.
1213 * manual/signal.texi: Likewise.
1214 * manual/socket.texi: Likewise.
1215 * manual/stdio.texi: Likewise.
1216 * manual/string.texi: Likewise.
1217 * manual/sysinfo.texi: Likewise.
1218 * manual/terminal.texi: Likewise.
1219 * manual/llio.texi: Document madvise().
1221 2001-05-20 Roland McGrath <roland@frob.com>
1223 * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
1224 found within $(add-ons) directories too.
1225 [linuxthreads add-on]: Move variable settings for linuxthreads
1226 to new file linuxthreads/Makeconfig.
1228 2001-05-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1230 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
1231 Define for linux >= 2.4.5 on powerpc.
1232 (__ASSUME_MMAP2_SYSCALL): Likewise.
1234 2001-05-19 Roland McGrath <roland@frob.com>
1236 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
1237 result port when failing with ELOOP. Do the ELOOP check when
1238 following an absolute symlink target as well as relative.
1239 Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
1241 2001-05-18 Andreas Jaeger <aj@suse.de>
1243 * po/fr.po: Free software is "logiciel libre".
1244 Patch by Martin Michlmayr <tbm@cyrius.com>.
1246 * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
1247 Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
1249 2001-05-17 David Mosberger <davidm@hpl.hp.com>
1251 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
1253 2001-05-17 Ulrich Drepper <drepper@redhat.com>
1255 * elf/dl-profile.c (_dl_mcount): Check whether state is
1256 GMON_PROF_ON before doing anything.
1258 2001-05-17 H.J. Lu <hjl@gnu.org>
1260 * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
1262 2001-05-17 Ulrich Drepper <drepper@redhat.com>
1264 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
1265 CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
1266 Reported by Mark Burton <markb@ordern.com>.
1268 2001-05-17 Jakub Jelinek <jakub@redhat.com>
1270 * elf/ldconfig.c (add_dir): Only warn about stat failure if
1272 (search_dir): Likewise.
1274 2001-05-17 Ulrich Drepper <drepper@redhat.com>
1276 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
1277 parameter of xaddl. Patch by H . J . Lu <hjl@lucon.org>.
1279 2001-05-14 Bruno Haible <haible@clisp.cons.org>
1281 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
1282 without previous announcement, reject it regularly, don't abort.
1284 2001-05-16 Ulrich Drepper <drepper@redhat.com>
1286 * math/tgmath.h: Fix handling of int parameters to binary and
1287 ternary functions. Reported by mitr@volny.cz.
1289 * math/test-tgmath.c: Add tests for calls with integer parameters.
1291 2001-05-15 Jakub Jelinek <jakub@redhat.com>
1293 * sunrpc/rpc_thread.c (rpc_default): Remove.
1294 (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
1296 (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
1297 __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
1298 * sunrpc/auth_none.c (authnone_private): Fix a typo.
1300 2001-05-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
1302 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
1304 2001-05-16 Bruce Mitchener <bruce@cubik.org>
1306 * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
1308 2001-05-15 Andreas Jaeger <aj@suse.de>
1310 * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
1311 Stephen L Moshier <moshier@mediaone.net>.
1313 * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
1315 * math/libm-test.inc: Add comment with ToDo.
1317 * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
1318 accurate algorithm. Patch by Stephen L Moshier <moshier@mediaone.net>.
1320 * sysdeps/i386/fpu/e_expl.S: Removed.
1322 2001-05-14 Roland McGrath <roland@frob.com>
1324 * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
1325 static pattern rule also that also covers
1326 $(objpx)g$(static-start-installed-name).
1327 [$(start-installed-name) != $(static-start-installed-name)]
1328 (extra-objs, omit-deps, install-lib): Add
1329 $(static-start-installed-name) and g$(static-start-installed-name).
1330 * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
1331 just setting static-start-installed-name is now sufficient.
1332 (extra-objs): Add static-start.o here.
1333 (CFLAGS-initfini.s): Remove obsolete variable.
1334 * sysdeps/mach/hurd/i386/Makeconfig: New file.
1335 Define static-start-installed-name here.
1337 * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
1338 * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
1340 * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
1341 associated hair. Instead, just use $(wildcard ...) in the include.
1343 * configure.in (critic_missing, aux_missing): Collect in these vars
1344 the names of the missing programs, and include them in the error msgs.
1345 * configure: Regenerated.
1347 2001-05-14 Andreas Jaeger <aj@suse.de>
1349 * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
1351 * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
1353 2001-05-14 Stephen L Moshier <moshier@mediaone.net>
1355 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
1357 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1359 * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
1360 as well if swapping strings.
1361 Make sure stop is not past end of second string.
1362 * posix/bug-regex4.c: New test.
1363 * posix/Makefile (tests): Add bug-regex4.
1365 2001-05-10 Andreas Jaeger <aj@suse.de>
1367 * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
1370 2001-05-12 Andreas Jaeger <aj@suse.de>
1372 * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
1373 internal prototypes.
1374 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1375 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1376 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1377 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1378 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1379 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1380 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1382 * math/math_private.h: Add prototypes for internal functions of
1383 the IBM Accurate Mathematical Library.
1385 * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
1387 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1389 * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
1390 internal prototypes.
1391 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1392 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1393 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1394 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1395 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1396 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1397 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1398 * sysdeps/generic/e_rem_pio2l.c: Likewise.
1399 (__ieee754_rem_pio2l): Fix prototype.
1401 * math/math_private.h (__copysign): Add internal prototype.
1403 2001-05-11 Andreas Jaeger <aj@suse.de>
1405 * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
1406 * sysdeps/unix/sysv/linux/mips/configure.in: ...here. New file.
1408 2001-05-11 Andreas Jaeger <aj@suse.de>
1410 * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
1413 * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
1414 format directive. Patch by Steven J. Hill <sjhill@cotw.com>.
1416 2001-05-11 Roland McGrath <roland@frob.com>
1418 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
1419 $(build-module) here, since we don't need the full magilla.
1420 Just use $(build-module-helper) and append our special options.
1422 2001-05-09 Andreas Schwab <schwab@suse.de>
1424 * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
1427 2001-05-07 H.J. Lu <hjl@gnu.org>
1429 * elf/ldconfig.c (dir_entry): Add ino and dev.
1430 (add_single_dir): Compare ino and dev to check if 2 directory
1431 paths are the same or not. Free entry->path for duplicates.
1432 (add_dir): Initialize ino and dev for entry.
1433 (search_dir): Handle symlink to directory.
1435 2001-05-07 Andreas Jaeger <aj@suse.de>
1437 * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
1439 * math/libm-test.inc (exp_test): Add some more tests.
1440 (pow_test): Run double only test also for long double.
1442 * math/test-ldouble.c (TEST_LDOUBLE): Define.
1443 * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
1445 * sysdeps/generic/bits/confname.h: Remove extra comma at end of
1447 Closes PR libc/2240.
1449 * scripts/config.guess: Imported from gnu.org.
1450 * scripts/config.sub: Likewise.
1452 2001-05-05 Jakub Jelinek <jakub@redhat.com>
1454 * include/features.h (__USE_EXTERN_INLINES): Don't define if
1455 __NO_INLINE__ is defined.
1456 * ctype/ctype.h (tolower, toupper): Change the guard condition to
1457 __USE_EXTERN_INLINES check only.
1458 * stdlib/stdlib.h (strtod, ...): Likewise.
1459 * wcsmbs/wchar.h (mbrlen): Likewise.
1460 * string/string.h: Only include bits/string.h and bits/string2.h
1461 if __NO_INLINE__ is not defined.
1463 2001-05-07 Andreas Jaeger <aj@suse.de>
1465 * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
1468 2001-05-04 H.J. Lu <hjl@gnu.org>
1470 * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
1473 2001-05-06 Andreas Jaeger <aj@suse.de>
1475 * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
1476 * sysdeps/i386/fpu/e_fmodl.S: Removed.
1477 * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
1478 * sysdeps/i386/fpu/e_atan2l.S: Removed.
1479 * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
1480 * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
1481 * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
1482 * sysdeps/i386/fpu/e_acosl.S: Removed.
1483 * sysdeps/i386/fpu/s_atanl.S: Removed.
1484 * sysdeps/i386/fpu/e_sqrtl.S: Removed.
1486 2001-05-05 Mark Kettenis <kettenis@gnu.org>
1488 * sysdeps/mach/hurd/bits/environments.h: Add comment from
1489 sysdeps/generic/bits/environments.h. Define _POSIX_V6_* values.
1491 2001-04-30 Jakub Jelinek <jakub@redhat.com>
1493 * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
1494 that _CS_LFS_CFLAGS can fall through to the empty returned string
1495 case. Add FALLTHROUGH comment.
1497 2001-04-29 Ralf Baechle <ralf@gnu.org>
1499 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
1500 definitions match the kernel definitions.
1501 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1502 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
1504 2001-04-29 Ben Collins <bcollins@debian.org>
1506 * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
1508 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
1509 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1510 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1511 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
1512 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
1513 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1514 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1515 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1516 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1517 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1518 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1519 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1520 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
1521 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1522 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
1523 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1524 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1525 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1526 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1527 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
1528 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
1529 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
1530 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1532 2001-04-29 Andreas Schwab <schwab@suse.de>
1534 * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
1537 2001-04-29 Andreas Jaeger <aj@suse.de>
1539 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1540 Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
1542 * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
1544 (AF_WANPIPE): Likewise.
1547 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
1548 for Linux generic version.
1549 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
1550 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1551 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1552 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
1554 * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
1556 2001-04-27 Ulrich Drepper <drepper@redhat.com>
1558 * nis/nss-nis.h: Correct test for invalid error number.
1559 * nis/nss-nisplus.h: Likewise.
1561 * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
1563 2001-04-26 Ulrich Drepper <drepper@redhat.com>
1565 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
1567 * string/strcoll.c: Fix two memory allocation problems.
1568 * string/Makefile (tests): Add bug-strcoll1.
1569 * string/bug-strcoll1.c: New file.
1571 * malloc/mcheck.c (mcheck): Call malloc once before setting the
1572 hooks to allow the internal check hooks to be set up if necessary.
1574 * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
1575 and rename to __yperr2nss_tab. Change YPERR_COUNT into variable
1577 * nis/nss-nis.c: New file.
1578 * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
1579 and rename to __niserr2nss_tab. Change NISERR_COUNT into variable
1581 * nis/nss-nisplus.c: New file.
1582 * nis/Makefile (libnss_compat-routines): Add nss-nis.
1583 (libnss_nis-routines): Likewise.
1584 (libnss_nisplus-routines): Add nss-nisplus.
1586 * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
1587 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1588 * nis/nss_nisplus/nisplus-grp.c: Likewise.
1589 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1590 * nis/nss_nisplus/nisplus-network.c: Likewise.
1591 * nis/nss_nisplus/nisplus-proto.c: Likewise.
1592 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1593 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1594 * nis/nss_nisplus/nisplus-service.c: Likewise.
1595 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1596 * nis/nss_nis/nis-alias.c: Likewise.
1597 * nis/nss_nis/nis-ethers.c: Likewise.
1598 * nis/nss_nis/nis-grp.c: Likewise.
1599 * nis/nss_nis/nis-network.c: Likewise.
1600 * nis/nss_nis/nis-proto.c: Likewise.
1601 * nis/nss_nis/nis-pwd.c: Likewise.
1602 * nis/nss_nis/nis-spwd.c: Likewise.
1603 * nis/nss_compat/compat-grp.c: Likewise.
1604 * nis/nss_compat/compat-initgroups.c: Likewise.
1605 * nis/nss_compat/compat-pwd.c: Likewise.
1606 * nis/nss_compat/compat-spwd.c: Likewise.
1608 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
1609 optimizations. Patch by Jakub Jelinek <jakub@redhat.com>.
1611 2001-04-26 Andreas Jaeger <aj@suse.de>
1613 * po/zh_TW.po: Update.
1614 Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
1616 2001-04-25 Ulrich Drepper <drepper@redhat.com>
1618 * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
1619 compiler command line.
1620 * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
1621 command line for malloc.c.
1623 2001-04-25 Jakub Jelinek <jakub@redhat.com>
1625 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
1626 * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
1627 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
1628 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
1629 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here. Adjust
1630 struct msghdr for __WORDSIZE == 32.
1631 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
1632 * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust
1633 for __WORDSIZE == 32.
1634 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
1635 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
1637 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
1638 Rename from longjmp, make longjmp weak alias to it.
1640 2001-04-24 David S. Miller <davem@redhat.com>
1642 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
1644 2001-04-25 Matthew Wilcox <willy@ldl.fc.hp.com>
1646 * sysdeps/hppa/stackinfo.h: New file.
1647 * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
1648 * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
1649 * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
1650 * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
1651 of PA kernel features.
1653 2001-04-25 Ulrich Drepper <drepper@redhat.com>
1655 * locale/programs/localedef.c (main): Always set a file name for
1657 * locale/programs/locfile.c (locfile_read): filename is allowed to
1660 2001-04-12 Paul Bame <paul_bame@hp.com>
1662 * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
1665 2001-04-24 Ulrich Drepper <drepper@redhat.com>
1667 * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
1668 _XBS5_LPBIG_OFFBIG): Define to -1.
1671 * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
1672 * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
1673 * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1674 * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1676 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
1677 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
1679 2001-03-21 Alan Modra <alan@one.net.au>
1681 * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
1682 value from application so that constructors in non-PIC libs work.
1684 2000-12-13 Jes Sorensen <jes@linuxcare.com>
1686 * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
1687 function pointer, hence load the jump address and gp from the
1688 function pointer before jumping.
1690 2001-04-24 Andreas Jaeger <aj@suse.de>
1692 * sysdeps/generic/send.c (__send): Return ssize_t.
1693 * sysdeps/mach/hurd/send.c (__send): Likewise.
1694 * sysdeps/mach/hurd/recv.c (recv): Likewise.
1695 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
1696 * sysdeps/generic/sendto.c (sendto): Likewise.
1697 * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
1698 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
1699 * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
1700 * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
1702 * socket/sys/socket.h: send* and recv* return ssize_t.
1704 * include/sys/socket.h: send returns ssize_t.
1706 * sysdeps/i386/fpu_control.h: Fix comments.
1708 2001-04-24 Ulrich Drepper <drepper@redhat.com>
1710 * sysdeps/ia64/Dist: Add hp-timing.c.
1711 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
1712 * posix/Makefile (distribute): Add tst-getconf.sh.
1713 * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
1715 2001-04-23 Ulrich Drepper <drepper@redhat.com>
1717 * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
1718 * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
1719 * sysdeps/ia64/hp-timing.c: New file.
1720 * sysdeps/ia64/hp-timing.h: New file.
1721 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
1722 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1724 * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
1725 using #ifdef whether the clock is available.
1726 * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
1728 * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
1729 it into data section.
1731 * sysdeps/unix/i386/i586/clock_getres.c: Removed.
1732 * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
1733 * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
1734 * sysdeps/unix/i386/i586/clock_settime.c: Removed.
1735 * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
1736 * sysdeps/generic/cpuclock-init.h: Removed.
1737 * sysdeps/unix/i386/i686/Implies: Removed.
1738 * sysdeps/unix/i386/i686/tempname.c: Removed.
1739 * sysdeps/i386/i686/Versions: New file.
1740 * sysdeps/unix/i386/i586/Versions: Removed.
1742 * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
1743 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1744 * sysdeps/unix/clock_gettime.c: Likewise.
1745 * sysdeps/unix/clock_nanosleep.c: Likewise.
1746 * sysdeps/unix/clock_settime.c: Likewise.
1747 * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
1748 RANDOM_BITS use CPU clock.
1750 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
1751 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
1752 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
1753 * sysdeps/sparc/Versions: New file.
1755 * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
1756 hp-timing.h definitions.
1757 * sysdeps/generic/dl-sysdep.c: Likewise.
1759 * include/libc-internal.h: Include hp-timing.h. Use hp_timing_t in
1760 __get_clockfreq prototype.
1762 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1763 Use hp_timing_t type.
1764 * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
1766 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
1768 * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
1769 whether named file is a regular file or a block device.
1770 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
1772 2001-04-23 Andreas Jaeger <aj@suse.de>
1774 * nscd/nscd.h: Add noreturn attribute for start_threads.
1776 2001-04-22 Ulrich Drepper <drepper@redhat.com>
1778 * posix/getconf.c: Fix names of XBS5 LFS test variables.
1779 Add missing configuration variables from XPG6.
1780 * posix/tst-getconf.c: New file.
1781 * posix/Makefile (generated): Add tst-getconf.out.
1782 (tests): Add ($objpfx)tst-getconf.out.
1783 Add rule to run tst-getconf.sh.
1784 * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
1786 * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
1788 * sysdeps/posix/pathconf.c: Likewise.
1789 * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
1790 and _SC_SYMLOOP_MAX.
1792 2001-04-22 Philip Blundell <philb@gnu.org>
1794 * sysdeps/arm/fpu/feenablxcpt.c: New file.
1795 * sysdeps/arm/fpu/fedisablxcpt.c: New file.
1796 * sysdeps/arm/fpu/fegetexcpt.c: New file.
1798 2001-04-22 Philip Blundell <philb@gnu.org>
1800 * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
1801 Renamed from struct user_fp.
1802 (struct user_regs): New.
1803 (struct user): Use struct user_regs rather than struct pt_regs to
1804 avoid dependency on asm/ptrace.h. Use struct user_fpregs in place
1805 of struct user_fp and struct user_fp_struct.
1806 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
1809 2001-04-22 Philip Blundell <philb@gnu.org>
1811 * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
1812 sys/procfs.h, and tell the user to include that file instead.
1813 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
1814 surrounded with #if 0.
1815 (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
1817 (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
1818 elf_fpregset_t respectively.
1820 2001-04-22 Philip Blundell <philb@gnu.org>
1822 * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
1823 address that faulted.
1825 2001-04-21 Ulrich Drepper <drepper@redhat.com>
1827 * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
1829 * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
1830 * posix/confstr.c: Handle _CS_POSIX_V6_* values.
1831 * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
1832 * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
1834 * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
1835 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1836 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1837 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
1839 2001-04-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1841 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
1844 2001-04-21 Ulrich Drepper <drepper@redhat.com>
1846 * posix/getopt.h: Treat __cplusplus like __STDC__.
1848 2001-04-20 John S. Marvin <jsm@fc.hp.com>
1850 * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
1853 2001-04-20 Richard Hirst <rhirst@linuxcare.com>
1855 * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
1856 and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
1858 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
1859 entry so the ptrace.c wrapper is used.
1861 2001-04-20 Alan Modra <amodra@one.net.au>
1863 * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
1864 (DL_FUNCTION_ADDRESS): Define.
1865 (DL_DT_INIT_ADDRESS): Define.
1866 (DL_DT_FINI_ADDRESS): Define.
1867 * sysdeps/hppa/Versions: Add _dl_function_address.
1868 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
1869 * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
1870 _dl_function_address.
1872 2001-04-21 Andreas Jaeger <aj@suse.de>
1874 * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
1875 * resolv/gai_misc.c (handle_requests): Likewise.
1876 * malloc/obstack.c (print_and_abort): Likewise.
1877 * malloc/mcheck.c (mabort): Likewise.
1879 * sysdeps/unix/i386/i586/clock_settime.c: Include
1880 "libc-internal.h" for __get_clockfreq declaration.
1882 2001-04-21 Ulrich Drepper <drepper@redhat.com>
1884 * elf/dl-support.c: Include cpuclock-init.h. Use CPUCLOCK_VARDEF and
1885 CPUCLOCK_INIT if defined.
1886 * sysdeps/generic/dl-sysdep.c: Likewise.
1887 * sysdeps/generic/cpuclock-init.h: New file.
1888 * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
1889 * sysdeps/unix/i386/i586/Versions: New file.
1890 * sysdeps/unix/i386/i586/clock_settime.c: New file.
1891 * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
1892 separately by calling __pthread_clock_gettime if this function is
1893 available. Subtract offset from tsc value before computing time value.
1895 2001-04-20 Ulrich Drepper <drepper@redhat.com>
1897 * iconv/iconv_prog.c (print_known_names): If printing goes not to
1898 a tty print in a more machine-friendly way.
1900 * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
1901 Contributed by Stephen L Moshier <moshier@mediaone.net>.
1903 2001-04-20 Andreas Jaeger <aj@suse.de>
1905 * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
1907 2001-04-20 Andreas Schwab <schwab@suse.de>
1909 * sysdeps/m68k/fpu/libm-test-ulps: Update.
1911 2001-04-19 Alan Modra <amodra@one.net.au>
1913 * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
1914 * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
1915 (CFLAGS-.os): Remove.
1917 * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
1919 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
1920 gregset): Correct for new kernel definitions.
1922 2001-04-19 Alan Modra <alan@linuxcare.com.au>
1924 * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
1925 generate unwind info by hand.
1927 2001-04-19 Ulrich Drepper <drepper@redhat.com>
1929 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
1931 * configure.in: Correct regular expression for msgfmt.
1932 Patch by Bruno Haible <haible@ilog.fr>.
1934 2001-04-19 Andreas Jaeger <aj@suse.de>
1936 * po/el.po: Add comment explaining what's broken.
1938 * po/Makefile (BROKEN_LINGUAS): New.
1939 (ALL_LINGUAS): Don't add broken languages.
1941 2001-04-19 Roland McGrath <roland@frob.com>
1943 * sysdeps/mach/hurd/mlock.c: New file.
1944 * sysdeps/mach/hurd/munlock.c: New file.
1945 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
1947 * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
1948 * sysdeps/generic/mlock.c: New file.
1949 * sysdeps/generic/munlock.c: New file.
1950 * sysdeps/generic/mlockall.c: New file.
1951 * sysdeps/generic/munlockall.c: New file.
1952 * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
1953 * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
1954 mlockall, munlockall): Change caller field to - from EXTRA.
1955 Don't use __ names; not used (and not declared in include/sys/mman.h).
1957 * hurd/privports.c (__get_privileged_ports): Renamed with __.
1958 Use __ names for calls we make.
1959 (get_privileged_ports): Add alias.
1960 * hurd/hurd.h: Declare it with the __ name.
1961 * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
1962 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
1963 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
1965 * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
1966 nothing if it's zero.
1968 2001-04-19 Matthew Wilcox <willy@ldl.fc.hp.com>
1970 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
1971 Change to return a signed result for compatibility with other
1972 architectures, and correctness.
1974 2001-04-19 Ulrich Drepper <drepper@redhat.com>
1976 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
1977 HPPA always had them. Patch by Matthew Wilcox <matthew@wil.cx>.
1979 2001-04-19 Andreas Jaeger <aj@suse.de>
1981 * configure.in: Require gettext 0.10.36 or newer.
1983 * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
1985 * po/zh_TW.po: Remove extraneous backslashes.
1987 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
1990 2001-04-18 Jakub Jelinek <jakub@redhat.com>
1992 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
1993 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
1994 * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
1995 * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
1996 Copy first word of uc_sigmask into __uc_sigmask.
1997 * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
1998 Save uc_link around trap. Copy __uc_sigmask into first word of
1999 uc_sigmask, clear the rest. Make sure setcontext to the created
2000 context doesn't do this though.
2001 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
2002 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
2003 uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
2004 64bit version, make uc_sigmask __sigset_t in the 32bit version.
2006 2001-04-19 Andreas Jaeger <aj@suse.de>
2008 * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
2010 * rt/Makefile (otherlibs): Added for static NSS.
2012 * glibcbug.in (BUGGLIBC): Send to new alias.
2014 2001-04-02 Andreas Schwab <schwab@suse.de>
2016 * Makerules (build-module): Make sure exit codes get checked
2017 properly and remove unnecessary slashes.
2019 2001-04-17 Ulrich Drepper <drepper@redhat.com>
2021 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2022 Handle kernels which report only three digits after the decimal point.
2023 Reported by Van Okamura <van.okamura@oracle.com>.
2025 * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
2027 2001-04-17 David S. Miller <davem@redhat.com>
2029 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
2030 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2032 2001-04-17 Jakub Jelinek <jakub@redhat.com>
2034 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
2035 desired exceptions are raised for exceptional values.
2036 * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
2037 cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
2038 clog_test, log_test, log1p_test, tan_test): Increase precision of
2039 expected values to satisfy ldbl-128.
2040 * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
2041 * sysdeps/arm/libm-test-ulps: Likewise.
2042 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2043 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2044 * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
2045 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2046 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2047 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2048 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2049 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2050 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2052 2001-04-17 Andreas Jaeger <aj@suse.de>
2054 * configure.in: Move test for critical programs up.
2056 2001-04-16 Stephen L Moshier <moshier@mediaone.net>
2058 * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
2060 (pSx, qSx): Replace by shorter approximation.
2061 Use f suffix on float constants.
2063 2001-04-16 Ulrich Drepper <drepper@redhat.com>
2065 * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
2066 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2068 * string/string.h: Replace const in attribute list with __const__.
2070 2001-04-16 Roland McGrath <roland@frob.com>
2072 * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
2073 instead of the constant NGROUPS_MAX. That way, the limit can be
2074 raised in the kernel configuration without having to recompile libc.
2076 * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
2077 define NGROUPS_MAX; we don't use it here.
2079 2001-04-16 Andreas Jaeger <aj@suse.de>
2081 * math/libm-test.inc (atan2_test): Add more testcases.
2083 * iconv/gconv_db.c: Include gconv_charset.h for
2084 __gconv_lookup_alias prototype.
2086 2001-04-13 Ulrich Drepper <drepper@redhat.com>
2088 * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
2089 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2091 2001-04-13 Jes Sorensen <jes@linuxcare.com>
2093 * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
2095 2001-04-13 Jes Sorensen <jes@linuxcare.com>
2097 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
2098 explicitly pad struct siginfo instead of relying on compiler padding.
2100 2001-04-12 Ulrich Drepper <drepper@redhat.com>
2102 * sysdeps/ia64/Dist: Add elf/entry.h.
2104 * iconvdata/Makefile (distribute): Add TESTS2.
2106 2001-04-13 Jakub Jelinek <jakub@redhat.com>
2108 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
2109 Calculate load address differently.
2111 2001-04-12 Bruno Haible <haible@clisp.cons.org>
2113 * iconvdata/TESTS2: New file.
2114 * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
2115 * iconvdata/testdata/alfabeta..UTF-8: New file.
2116 * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
2117 * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
2118 * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
2119 * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
2121 2001-04-11 Bruno Haible <haible@clisp.cons.org>
2123 * iconvdata/utf-32.c: New file.
2124 * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
2125 * iconvdata/Makefile (modules): Add UTF-32.
2126 (distribute): Add utf-32.c.
2128 2001-04-11 Bruno Haible <haible@clisp.cons.org>
2130 * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
2131 changing it in the state. After incrementing 'inptr', store it back.
2132 * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
2135 2001-04-11 Bruno Haible <haible@clisp.cons.org>
2137 * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
2140 2001-04-11 David Mosberger <davidm@hpl.hp.com>
2142 * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
2143 * sysdeps/ia64/htons.S: Likewise.
2145 * sysdeps/ia64/memset.S: Add unwind directives.
2146 * sysdeps/ia64/strncpy.S: Likewise.
2147 * sysdeps/ia64/strcat.S: Likewise.
2149 * sysdeps/ia64/memccpy.S: Add unwind directives. Drop superfluous
2151 * sysdeps/ia64/strchr.S: Likewise.
2152 * sysdeps/ia64/memmove.S: Likewise.
2153 * sysdeps/ia64/memcpy.S: Likewise.
2154 * sysdeps/ia64/memcmp.S: Likewise.
2155 * sysdeps/ia64/memchr.S: Likewise.
2156 * sysdeps/ia64/strcmp.S: Likewise.
2157 * sysdeps/ia64/strlen.S: Likewise.
2158 * sysdeps/ia64/strcpy.S: Likewise.
2159 * sysdeps/ia64/strncmp.S: Likewise.
2161 2001-04-11 Jakub Jelinek <jakub@redhat.com>
2163 * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
2164 fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
2165 fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
2166 fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
2168 2001-04-11 Andreas Jaeger <aj@suse.de>
2170 * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
2172 2001-04-11 Andreas Schwab <schwab@suse.de>
2174 * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
2176 2001-04-11 Ulrich Drepper <drepper@redhat.com>
2178 * sysdeps/arm/stackinfo.h: New file.
2180 2001-04-08 Thorsten Kukuk <kukuk@suse.de>
2182 * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
2183 rpcgen to generate thread safe code.
2185 2001-04-10 Andreas Jaeger <aj@suse.de>
2187 * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
2189 2001-04-10 Ulrich Drepper <drepper@redhat.com>
2191 * elf/dl-minimal.c (__assert_fail): Change error string. It's
2192 most of the time no bug in ld.so.
2193 (__assert_perror_fail): Likewise.
2195 2001-04-11 Hans-Peter Nilsson <hp@axis.com>
2197 * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
2198 from struct to unsigned int.
2200 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2202 * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
2203 AT_IGNOREPPC): New defines.
2204 * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
2205 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
2206 Define for newer powerpc kernels.
2207 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
2208 DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
2210 2000-4-10 kaz Kojima <kkojima@rr.iij4u.or.jp>
2212 * sysdeps/sh/stackinfo.h: New file.
2214 2001-04-10 Ulrich Drepper <drepper@redhat.com>
2216 * locale/tst-C-locale.c (run_test): Add tests for locale objects.
2217 * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
2218 __ctype_tolower, and __ctype_toupper elements.
2220 * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
2221 Reported by Konstantin Osipov <rabid@spylog.ru>.
2223 * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
2226 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2228 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
2229 * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
2230 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
2231 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
2233 2001-04-10 Ulrich Drepper <drepper@redhat.com>
2235 * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
2236 message. Based on a patch by HJ Lu.
2238 2001-04-10 Andreas Schwab <schwab@suse.de>
2240 * math/libm-test.inc (csinh_test): Don't require the invalid
2241 exception for csinh (x + iNaN), but make it optional.
2243 2001-04-09 David Mosberger <davidm@hpl.hp.com>
2245 * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
2247 * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
2248 * sysdeps/ia64/elf/entry.h: New file.
2249 * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
2251 * elf/rtld.c: Don't declare ENTRY_POINT. Use ENTRY_POINT instead
2253 * sysdeps/generic/dl-sysdep.c: Likewise.
2254 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2255 * sysdeps/ia64/elf/start.S: Save base address of register backing
2256 store in __libc_ia64_register_backing_store_base.
2258 2001-04-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
2260 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
2261 value of getcontext.
2262 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2263 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
2264 value of setcontext.
2265 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2266 * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
2267 call by changing the saved context.
2269 2001-04-10 Ulrich Drepper <drepper@redhat.com>
2271 * sysdeps/alpha/stackinfo.h: New file.
2272 * sysdeps/ia64/stackinfo.h: New file.
2274 2001-04-10 Andreas Schwab <schwab@suse.de>
2276 * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
2278 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
2280 2001-04-09 Ulrich Drepper <drepper@redhat.com>
2282 * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
2283 * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
2285 * libio/Makefile (distribute): Add fd_to_filename.h.
2287 2001-04-05 David S. Miller <davem@redhat.com>
2289 Add hp-timing support for sparcv9/sparc64 targets.
2290 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
2291 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
2292 * sysdeps/sparc/sparc64/hp-timing.c: New file
2293 * sysdeps/sparc/sparc64/hp-timing.h: New file
2294 * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
2295 * sysdeps/sparc/sparc64/Makefile: Likewise.
2297 2001-04-09 Jakub Jelinek <jakub@redhat.com>
2299 * sysdeps/generic/fd_to_filename.h: New file.
2300 * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
2301 * libio/freopen.c (freopen): If FILENAME is NULL, try to get
2302 filename from the open file descriptor.
2303 * libio/freopen64.c (freopen64): Likewise.
2305 2001-04-09 Bruno Haible <haible@clisp.cons.org>
2307 * misc/error.c (error): fflush stdout also if
2308 error_print_progname != NULL.
2309 (error_at_line): Likewise.
2311 2001-04-07 Bruno Haible <haible@clisp.cons.org>
2313 * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
2314 (struct binding): Add codeset_cntr field.
2315 (_nl_load_domain): Add domainbinding argument.
2316 (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
2317 (_nl_find_msg): New declaration, moved here from loadinfo.h.
2318 * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
2319 (_nl_make_l10nflist): Remove domainbinding argument.
2320 (_nl_find_msg): Move declaration to gettextP.h.
2321 * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
2322 to 0. Increment it when ->codeset is changed.
2323 * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
2324 (_nl_find_msg): Add domainbinding argument. Reinitialize the converter
2325 if domainbinding->codeset_cntr has been incremented.
2326 * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
2327 _nl_make_l10nflist(). Pass it to _nl_load_domain() instead.
2328 * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
2329 * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
2330 from _nl_load_domain. Append //TRANSLIT also when using libiconv.
2331 (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
2332 (_nl_load_domain): Add domainbinding argument. Call
2333 _nl_init_domain_conv.
2334 (_nl_unload_domain): Call _nl_free_domain_conv.
2335 * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
2336 (test-srcs): Add tst-codeset.
2337 (tests): Depend on tst-codeset.out.
2338 (tst-codeset.out): New rule.
2339 (CFLAGS-tst-codeset.c): New variable.
2340 * intl/tst-codeset.sh: New file.
2341 * intl/tstcodeset.po: New file.
2342 * intl/tst-codeset.c: New file.
2343 * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
2346 2001-04-07 Roland McGrath <roland@frob.com>
2348 * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
2350 2001-03-31 Roland McGrath <roland@frob.com>
2352 * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
2353 copying send rights into child. When we hit our name for our proc
2354 port, just copy NEWPROC directly instead of repeating proc_task2proc
2355 to install the child's port.
2357 2001-04-08 Roland McGrath <roland@frob.com>
2359 * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
2360 in second column, to provide default values for third column.
2361 * shlib-versions: Add comments about using DEFAULT in second column.
2362 (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
2363 (cris-.*-linux.*): Likewise.
2365 2001-04-09 Ulrich Drepper <drepper@redhat.com>
2367 * Makefile (distribute): Add scripts/documented.sh.
2368 * scripts/documented.sh: New file.
2370 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2372 * sysdeps/unix/sysv/linux/cris/Dist: New file.
2373 * sysdeps/unix/sysv/linux/cris/Makefile: New file.
2374 * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
2375 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
2376 * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
2377 * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
2378 * sysdeps/unix/sysv/linux/cris/brk.c: New file.
2379 * sysdeps/unix/sysv/linux/cris/chown.c: New file.
2380 * sysdeps/unix/sysv/linux/cris/clone.S: New file.
2381 * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
2382 * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
2383 * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
2384 * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
2385 * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
2386 * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
2387 * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
2388 * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
2389 * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
2390 * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
2391 * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
2392 * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
2393 * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
2394 * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
2395 * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
2396 * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
2397 * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
2398 * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
2399 * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
2400 * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
2401 * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
2402 * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
2403 * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
2404 * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
2405 * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
2406 * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
2407 * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
2408 * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
2409 * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
2410 * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
2411 * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
2412 * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
2413 * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
2414 * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
2415 * sysdeps/unix/sysv/linux/cris/socket.S: New file.
2416 * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
2417 * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
2418 * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
2419 * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
2420 * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
2421 * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
2423 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2425 * sysdeps/cris/Dist: New file.
2426 * sysdeps/cris/Implies: New file.
2427 * sysdeps/cris/Makefile: New file.
2428 * sysdeps/cris/__longjmp.S: New file.
2429 * sysdeps/cris/_mcount.S: New file.
2430 * sysdeps/cris/bits/endian.h: New file.
2431 * sysdeps/cris/bits/setjmp.h: New file.
2432 * sysdeps/cris/bits/string.h: New file.
2433 * sysdeps/cris/dl-machine.h: New file.
2434 * sysdeps/cris/elf/start.S: New file.
2435 * sysdeps/cris/machine-gmon.h: New file.
2436 * sysdeps/cris/memcopy.h: New file.
2437 * sysdeps/cris/memusage.h: New file.
2438 * sysdeps/cris/setjmp.S: New file.
2439 * sysdeps/cris/sysdep.h: New file.
2440 * sysdeps/cris/wordcopy.c: New file.
2442 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2444 * elf/elf.h: Add new relocations for CRIS.
2446 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2448 * shlib-versions: Add cases for Linux on CRIS.
2450 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2452 * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
2453 ';' for comments and '@' for line separator.
2455 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2457 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
2458 typo; s/==/=/ for assignment.
2460 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2462 * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
2464 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2466 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
2467 empty input before checking full output.
2469 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2471 * iconv/gconv.c (__gconv): Don't derefer parameter cd before
2474 2001-04-08 Ulrich Drepper <drepper@redhat.com>
2476 * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
2478 2001-04-07 Stephen L Moshier <moshier@mediaone.net>
2480 * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
2483 2001-04-07 Ulrich Drepper <drepper@redhat.com>
2485 * stdlib/tst-setcontext.c (main): Add a test for setcontext.
2487 * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
2488 * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
2489 * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
2490 * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
2491 * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
2492 * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
2494 2001-04-07 Andreas Jaeger <aj@suse.de>
2496 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
2497 instead of separate sin and cos.
2498 (__ieee754_j1l): Likewise.
2500 2001-04-06 Ulrich Drepper <drepper@redhat.com>
2502 * sysdeps/ia64/abort-instr.h: New file. Code by David Mosberger.
2504 * sysdeps/ia64/atomicity.h: New file. Copied from libstdc++.
2506 * sysdeps/i386/i486/atomicity.h: Clean up the asms.
2508 * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
2510 * sysdeps/generic/e_scalbf.c: Likewise.
2511 * sysdeps/generic/e_scalbl.c: Likewise.
2512 Patch by Mark Hatle <fray@mvista.com>.
2514 2001-04-05 David S. Miller <davem@redhat.com>
2516 * sysdeps/sparc/abort-instr.h: New file.
2518 2001-04-05 Matt Wilson <msw@redhat.com>
2520 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
2521 added code to parse new 2.4 format.
2522 (GET_NPROCS_CONF_PARSER): Likewise.
2524 2001-04-05 David S. Miller <davem@redhat.com>
2526 * scripts/config.sub: Recognize sparcv9b like sparcv9.
2527 * configure.in: Add sparcv9b.
2528 * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
2529 * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
2530 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
2532 2001-04-06 David Mosberger <davidm@hpl.hp.com>
2534 * stdlib/tst-setcontext.c: Move st2[] to global scope.
2535 (f2): Verify that stack pointer is inside st2[].
2537 * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
2538 * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
2540 2001-04-06 Ulrich Drepper <drepper@redhat.com>
2542 * timezone/antarctica: Update from tzdata2001b.
2543 * timezone/asia: Likewise.
2544 * timezone/australasia: Likewise.
2545 * timezone/europe: Likewise.
2546 * timezone/northamerica: Likewise.
2548 * iconv/iconv_open.c: Move strip and upstr definitions...
2549 * iconv/gconv_charset.h: ...here. New file.
2550 * iconv/gconv_db.c (once): Move to file level.
2551 (do_lookup_alias): Split out from __gconv_find_transform.
2552 (__gconv_find_transform): Call do_lookup_alias.
2553 (__gconv_loopup_alias): New function.
2554 * locale/langinfo.h: Define _NL_*_CODESET values for all categories
2556 * locale/categories.def: Add entries for new _NL_*_CODESET values.
2557 * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
2558 * locale/C-address.c: Initialize _NL_*_CODESET element.
2559 * locale/C-collate.c: Likewise.
2560 * locale/C-identification.c: Likewise.
2561 * locale/C-measurement.c: Likewise.
2562 * locale/C-messages.c: Likewise.
2563 * locale/C-monetary.c: Likewise.
2564 * locale/C-name.c: Likewise.
2565 * locale/C-numeric.c: Likewise.
2566 * locale/C-paper.c: Likewise.
2567 * locale/C-telephone.c: Likewise.
2568 * locale/C-time.c: Likewise.
2569 * locale/localeinfo.h: Declare _nl_C_codeset.
2570 * locale/C_name.c: Define _nl_C_codeset.
2571 * locale/findlocale.c: Before accepting locale check that the used
2572 charset does not conflict with what the locale name said.
2573 * locale/programs/ld-address.c: Emit codeset information.
2574 * locale/programs/ld-collate.c: Likewise.
2575 * locale/programs/ld-identification.c: Likewise.
2576 * locale/programs/ld-measurement.c: Likewise.
2577 * locale/programs/ld-messages.c: Likewise.
2578 * locale/programs/ld-monetary.c: Likewise.
2579 * locale/programs/ld-name.c: Likewise.
2580 * locale/programs/ld-numeric.c: Likewise.
2581 * locale/programs/ld-paper.c: Likewise.
2582 * locale/programs/ld-telephone.c: Likewise.
2583 * locale/programs/ld-time.c: Likewise.
2585 * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
2586 if the locale data couldn't be found.
2588 * string/Makefile: Define tst-strxfrm-ENV.
2590 * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
2592 2001-04-06 Andreas Jaeger <aj@suse.de>
2594 * include/sys/profil.h: New file.
2596 * dlfcn/modatexit.c: Add prototypes to silence GCC.
2597 * dlfcn/modcxaatexit.c: Likewise.
2598 * elf/globalmod1.c: Likewise.
2600 2001-04-05 David S. Miller <davem@redhat.com>
2602 * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
2603 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
2604 capability flags table and HWCAP_IMPORTANT, increase
2605 _DL_HWCAP_COUNT to 6.
2606 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2608 2001-04-04 David Mosberger <davidm@hpl.hp.com>
2610 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
2611 initialization of stack_end (bug reported by Zheng Gengbin
2612 <gzheng@students.uiuc.edu>).
2614 2001-04-05 Ulrich Drepper <drepper@redhat.com>
2616 * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
2618 2001-04-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2620 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
2622 2001-04-05 Ulrich Drepper <drepper@redhat.com>
2624 * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
2625 * sysdeps/i386/fpu/e_asinl.S: Removed. Too inaccurate.
2627 * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
2629 2001-04-04 Ulrich Drepper <drepper@redhat.com>
2631 * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
2632 define simple replacements here. Patch by Michael Keezer.
2634 * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
2635 * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
2636 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2638 * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
2641 2001-04-01 Andreas Jaeger <aj@suse.de>
2643 * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
2646 * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
2648 2001-04-04 Ulrich Drepper <drepper@redhat.com>
2650 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
2651 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
2653 2001-04-04 Martin Schwidefsky <schwidefsky@de.ibm.com>
2655 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
2656 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
2657 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
2658 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
2659 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
2660 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
2661 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
2662 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
2663 * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
2665 2001-04-04 Andreas Jaeger <aj@suse.de>
2667 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
2670 2001-04-04 Ulrich Drepper <drepper@redhat.com>
2672 * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
2673 * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
2674 * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
2675 (unsigned_dec): Likewise.
2676 Patch by atai@jezebel.dreamhost.com.
2678 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
2679 pointer to int as last parameter of yp_match.
2680 Patch by kanazawa@flab.fujitsu.co.jp.
2682 2001-04-03 Ulrich Drepper <drepper@redhat.com>
2684 * resolv/netdb.h (gai_strerror): Make return value const.
2685 * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
2686 * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
2687 Add strings for new error values.
2689 2001-03-29 Michael Keezer <mkeezer@redhat.com>
2691 * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
2692 * login/tst-utmp.c: Handle case where ut_tv is not available but
2694 * sysdeps/unix/sysv/aix/utmpx.h: New file.
2695 * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
2696 _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
2697 * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
2698 * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
2699 to access RTCU timer reg.
2700 * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
2701 added dl-libc, dl-open,dl-sym, dl-close to misc.
2702 * sysdeps/unix/sysv/aix/start.c: New file. Start code.
2703 * sysdeps/unix/sysv/aix/dlldr.h: New file. AIX __loadx defines.
2704 * sysdeps/unix/sysv/aix/dl-close.c: New file. AIX dl-close.
2705 * sysdeps/unix/sysv/aix/dl-open.c: New file. AIX dl-open.
2706 * sysdeps/unix/sysv/aix/dl-sym.c: New file. AIX dl-sym.
2707 * sysdeps/unix/sysv/aix/dl-libc.c: New file. libc_dl-xxx support.
2708 * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
2710 * sysdeps/generic/strtoull.c: Likewise.
2711 * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
2712 * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
2713 sysdeps/generic/memset.c.
2714 * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
2716 2001-04-03 Ulrich Drepper <drepper@redhat.com>
2718 * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
2719 * locale/programs/charmap.c: Define null_pointer if
2720 NEED_NULL_POINTER is defined.
2722 * misc/dirname.c (dirname): Handle multiple slashes correctly.
2724 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
2726 * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
2728 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
2730 * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
2731 * sysdeps/s390/s390-64/bcopy.S: Likewise.
2732 * sysdeps/s390/s390-32/mempcy.S: Likewise.
2733 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2735 2001-04-02 Bruno Haible <haible@clisp.cons.org>
2737 * manual/message.texi (Advanced gettext functions): More specific
2738 syntax in the plural formula examples.
2740 2001-04-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2742 * sysdeps/powerpc/atomicity.h: Silence warnings.
2743 * sysdeps/powerpc/dl-machine.h: Likewise.
2744 * sysdeps/powerpc/register-dump.h: Likewise.
2745 * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
2747 2001-04-02 Andreas Jaeger <aj@suse.de>
2749 * misc/tst-dirname.c (main): Add more tests, derived from a bug
2750 report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2752 2001-04-01 Andreas Jaeger <aj@suse.de>
2754 * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
2756 * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
2758 2001-04-01 H.J. Lu <hjl@gnu.org>
2760 * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
2762 * stdlib/isomac.c (macrofile): Likewise.
2764 2001-03-30 Thorsten Kukuk <kukuk@suse.de>
2766 * inet/rcmd.c: Allow AF_UNSPEC as parameter.
2767 * nis/ypclnt.c (yp_all): Print error message only at last try,
2768 check for protocoll error only if we don't have a network error.
2770 2001-04-02 Andreas Schwab <schwab@suse.de>
2772 * resolv/res_data.c (res_isourserver): Fix cast.
2774 2001-04-02 Andreas Jaeger <aj@suse.de>
2776 * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
2779 * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
2781 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
2783 * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
2785 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
2787 * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
2788 warning about unused variable.
2790 * string/string.h (strndupa): Add cast for C++ conformance.
2791 (strdupa): Likewise.
2792 Fixes PR libc/2173, reported by tbrowder@home.com.
2794 2001-03-30 Roland McGrath <roland@frob.com>
2796 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
2797 options after $(build-module), which is no longer a single command.
2798 (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
2799 (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
2800 variables using it. Reported by Mark Kettenis <kettenis@gnu.org>.
2802 2001-03-11 Roland McGrath <roland@frob.com>
2804 * elf/rtld.c (dl_main): Add cast to quiet warning.
2805 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2806 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
2807 (__gconv_read_conf): Likewise.
2808 * iconv/gconv_db.c (gen_steps): Likewise.
2809 (__gconv_find_transform): Likewise.
2810 * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
2811 (fopen_uncompressed): Use const in second argument's type.
2813 2001-03-11 Roland McGrath <roland@frob.com>
2815 * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
2817 * mach/mach_error.h: Fix ancient #endif syntax.
2818 * hurd/hurdmalloc.c: Likewise.
2820 * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
2821 compare_and_swap): Add volatile qualifier to first arg, to bring
2822 these prototypes in line with all the other implementations.
2823 Add a #warning to remind the builder that these are not atomic.
2825 2001-03-04 Roland McGrath <roland@frob.com>
2827 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
2828 member of TEMP_F so its type is _IO_FILE * as expected.
2830 * hurd/fopenport.c (seekio): Conditionalize type of POS argument
2831 on [USE_IN_LIBIO]. Check the value for overflow, since for libio
2832 it might exceed off_t's range.
2834 2001-02-25 Roland McGrath <roland@frob.com>
2836 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
2837 * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
2839 * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
2840 macro instead of an inline function,
2841 (MSG_EXAMINE): Likewise.
2843 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
2845 * hurd/get-host.c: Include <string.h> for decls of built-ins.
2846 * hurd/hurdchdir.c: Likewise.
2847 * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
2848 * sysdeps/mach/hurd/opendir.c: Likewise.
2850 * mach/mach_init.c: Include <unistd.h> for _exit decl.
2852 * mach/errsystems.awk: Give output file a trailing newline.
2854 * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
2855 the script will use our compiler for the cpp stage.
2857 With --enable-all-warnings we get a whole bunch of warnings,
2858 and these are just a few fixes; there are more needed to silence it.
2859 * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
2860 decls before extern inline defns to quiet gcc warning.
2861 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
2862 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
2864 2001-03-31 Andreas Jaeger <aj@suse.de>
2866 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
2867 (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
2868 (ARPHRD_CISCO): New.
2869 Changes from Linux 2.4.3.
2871 2001-03-30 Isamu Hasegawa <isamu@yamato.ibm.com>
2873 * posix/regex.c: Avoid an access violation if malloc fails.
2875 2001-03-30 Andreas Jaeger <aj@suse.de>
2877 * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
2879 2001-03-29 Ulrich Drepper <drepper@redhat.com>
2881 * posix/regex.c: Remove unnecessary ifs.
2883 * math/bits/mathcalls.h: Remove infnan declaration.
2885 2001-03-29 H.J. Lu <hjl@gnu.org>
2887 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
2888 and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
2889 * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
2891 2001-03-29 Isamu Hasegawa <isamu@yamato.ibm.com>
2893 * posix/regex.c: Fix typo and add a sentinel.
2895 2001-03-29 Ulrich Drepper <drepper@redhat.com>
2897 * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
2898 O_NOFOLLOW. Suggested by Christoph Roland.
2900 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
2902 * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
2903 * sysdeps/s390/s390-32/bits/string.h: Remove.
2904 * sysdeps/s390/s390-64/bits/string.h: Remove.
2905 * sysdeps/s390/s390-32/strcmp.S: New file.
2906 * sysdeps/s390/s390-64/strcmp.S: New file.
2908 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
2910 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
2911 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2913 2001-03-27 Ulrich Drepper <drepper@redhat.com>
2915 * version.h (VERSION): Bump to 2.2.3.
2917 * stdlib/isomac.c (fmt): Don't define _LIBC.
2918 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
2919 LOW_HALF only if _LIBC is defined.
2921 * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
2923 * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
2925 * posix/tst-fnmatch.input: Add test cases for matching empty strings.
2927 * sysdeps/ieee754/dbl-64/endian.h: Removed. Move definitions...
2928 * include/endian.h: ...to here.
2930 2001-03-27 kaz Kojima <kkojima@rr.iij4u.or.jp>
2932 * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
2933 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
2935 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
2937 * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
2939 2001-03-26 Ulrich Drepper <drepper@redhat.com>
2941 * sysdeps/ia64/fpu/Dist: Add new files to distribute.
2942 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
2943 * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
2945 * gmon/Makefile (headers): Add sys/profil.h.
2947 2001-03-18 Andreas Jaeger <aj@suse.de>
2949 * manual/install.texi (Tools for Compilation): Advise to use GCC
2951 (Supported Configurations): Mention s390x.
2953 2001-03-26 Ben Collins <bcollins@debian.org>
2955 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
2956 defines to match other architectures.
2958 2001-03-26 Ulrich Drepper <drepper@redhat.com>
2960 * libio/Makefile (tests): Add tst-ext.
2961 * libio/tst-ext.c: New file.
2963 * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
2965 2001-03-25 Ulrich Drepper <drepper@redhat.com>
2967 Add changes which were in this form in the original patch by
2968 Eric Norum <eric.norum@usask.ca>.
2969 * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
2971 * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
2972 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
2973 __rpc_thread_svc_max_pollfd.
2974 Define svc_fdset, get_rpc_createerr, svc_pollfd, and
2976 * sunrpc/rpc_thread.c: Handle first thread special, it uses the
2978 Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
2979 __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
2980 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_svc_fdset,
2981 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
2982 __rpc_thread_svc_max_pollfd.
2983 * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
2985 * sunrpc/clnt_perr.c: Likewise.
2986 * sunrpc/clnt_simp.c: Likewise.
2987 * sunrpc/clnt_tcp.c: Likewise.
2988 * sunrpc/clnt_udp.c: Likewise.
2989 * sunrpc/clnt_unix.c: Likewise.
2990 * sunrpc/pm_getport.c: Likewise.
2992 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
2993 syscall checks for negative n so don't test here as well.
2995 2001-03-23 Jes Sorensen <jes@linuxcare.com>
2997 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
2998 * sysdeps/ia64/sysdep.h: ...here.
3000 * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
3001 * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
3003 * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
3004 declare instead of LEAF(). Suggestion from David Mosberger.
3006 2001-03-21 David Mosberger <davidm@hpl.hp.com>
3008 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
3010 (PSEUDO): Drop .psr and .lsb directives.
3012 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto. Add unwind
3014 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
3016 * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
3018 * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
3019 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
3020 * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
3021 longer needed). Add unwind directives.
3023 * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
3024 ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
3026 2001-03-21 Paul Eggert <eggert@twinsun.com>
3028 * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
3029 (RE_SYNTAX_POSIX_EGREP): Use it.
3030 * posix/regex.c (regex_compile): Implement it.
3032 2001-03-21 Paul Eggert <eggert@twinsun.com>
3034 * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
3035 Rewrite to avoid duplicate code.
3037 2001-03-21 H.J. Lu <hjl@gnu.org>
3039 * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
3040 for cross-compiling.
3041 ($(objpfx)tst-pathopt.out): Undo the last change.
3043 2001-03-24 Mark Kettenis <kettenis@gnu.org>
3045 * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
3046 sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
3048 * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
3049 (_dl_argv): Declare.
3050 (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
3052 2001-03-22 Andreas Jaeger <aj@suse.de>
3054 * iconvdata/Makefile (generated): Add iconv-test.xxx.
3056 * posix/Makefile (generated): Add bug-regex2.mtrace and
3059 2001-03-21 Ulrich Drepper <drepper@redhat.com>
3061 * csu/version.c (__gnu_get_libc_release): Add prototype.
3062 (__gnu_get_libc_version): Likewise.
3063 * include/gnu/libc-version.h: Remove prototypes for not exported
3066 2001-03-21 Jes Sorensen <jes@linuxcare.com>
3068 * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
3069 for internationalized printfs to work.
3071 2001-03-09 Bruno Haible <haible@clisp.cons.org>
3073 * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
3074 avoid compiler warning.
3075 (_nl_find_msg): Add casts to avoid compiler warnings.
3077 2001-03-21 Ulrich Drepper <drepper@redhat.com>
3079 * gmon/Makefile (routines): Add sprofil.
3080 (tests): Add tst-sprofil.
3081 (noprof): Add sprofil.
3082 * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
3084 2001-03-20 David Mosberger <davidm@hpl.hp.com>
3086 * sysdeps/generic/sprofil.c: New file.
3087 * sysdeps/posix/sprofil.c: New file.
3088 * gmon/tst-sprofil.c: New file.
3089 * gmon/sys/profil.h: New file.
3091 2001-03-20 Andreas Schwab <schwab@suse.de>
3093 * include/unistd.h: Adjust prototype of __gethostname.
3095 2001-03-20 Jakub Jelinek <jakub@redhat.com>
3097 * sysdeps/sparc/stackinfo.h: New file.
3099 2001-03-21 Andreas Jaeger <aj@suse.de>
3101 * elf/global.c (main): Use proper prototype.
3103 2001-03-20 Ulrich Drepper <drepper@redhat.com>
3105 * sunrpc/Makefile (routines): Add rpc_thread.
3106 (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
3107 * sunrpc/rpc_thread.c: New file.
3108 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
3109 * sunrpc/auth_none.c: Don't use global variables. Access state in
3110 thread-local storage.
3111 * sunrpc/clnt_perr.c: Likewise.
3112 * sunrpc/clnt_raw.c: Likewise.
3113 * sunrpc/clnt_simp.c: Likewise.
3114 * sunrpc/key_call.c: Likewise.
3115 * sunrpc/rpc_common.c: Likewise.
3116 * sunrpc/svc.c: Likewise.
3117 * sunrpc/svc_raw.c: Likewise.
3118 * sunrpc/svc_simple.c: Likewise.
3119 * sunrpc/svcauth_des.c: Likewise.
3120 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3121 _HURD_THREADVAR_RPC_VARS.
3122 * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
3123 * include/rpc/rpc.h: Define data structures for internal thread-local
3125 Based on patches by Eric Norum <eric.norum@usask.ca>.
3127 * elf/dl-load.c: Various little optimizations.
3129 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
3130 LINUX_LINK_MAX only if the statfs function is not implemented for
3133 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
3134 LINUX_LINK_MAX only if the fstatfs function is not implemented for
3137 2001-03-19 Ulrich Drepper <drepper@redhat.com>
3139 * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
3141 * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
3142 (_dl_dst_substitute): Likewise.
3144 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3146 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
3148 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3150 * intl/gettextP.h (struct expression): Add operators lnot, less_than,
3151 greater_than, less_or_equal, greater_or_equal. Replace args2/args3
3152 union by a 'nargs' counter and an 'args[]' array.
3153 * intl/plural.y: Don't include stdarg.h.
3154 (new_exp): Take an array of arguments instead of varargs.
3155 (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
3156 ('?' ':'): Make right-associative.
3157 (EQUOP2): New token, replaces '=' and '!'.
3158 (CMPOP2): New token.
3159 (ADDOP2): New token, replaces '+' and '-'.
3160 (MULOP2): New token, replaces '*', '/' and '%'.
3162 (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
3163 (start): Call YYABORT here.
3164 (FREE_EXPRESSION): Update.
3165 (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
3166 Update for new token symbols.
3167 * intl/loadmsgcat.c (plvar, plone, germanic_plural,
3168 init_germanic_plural): Update.
3169 * intl/dcigettext.c (_nl_find_msg): Optimize for space.
3170 (plural_eval): Recognize comparison and '!' operators. Optimize for
3173 2001-03-10 Bruno Haible <haible@clisp.cons.org>
3175 * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
3178 2001-01-05 Bruno Haible <haible@clisp.cons.org>
3180 * intl/loadmsgcat.c: Include headers needed for alloca().
3182 (_nl_load_domain): Add fallback code for platforms lacking alloca.
3183 * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
3185 (read_alias_file): Simplify fallback code for platforms lacking
3188 2001-01-07 Bruno Haible <haible@clisp.cons.org>
3190 * intl/gettextP.h (__gettextdebug): Remove declaration.
3191 (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
3193 (gettext_free_exp__, gettextparse__): New non-libc declarations.
3194 * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
3195 not __gettextparse, __gettext_free_exp.
3196 * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
3198 2001-02-24 Bruno Haible <haible@clisp.cons.org>
3200 * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
3202 2001-01-05 Bruno Haible <haible@clisp.cons.org>
3204 * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
3205 lacking strtoul, like SunOS4.
3207 2001-01-05 Bruno Haible <haible@clisp.cons.org>
3209 * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
3211 2001-01-05 Bruno Haible <haible@clisp.cons.org>
3213 * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
3215 * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
3216 * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
3217 * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
3220 2001-01-07 Bruno Haible <haible@clisp.cons.org>
3222 * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
3223 bindtextdomain__, bind_textdomain_codeset__): New declarations, from
3225 * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
3226 * intl/dcgettext.c: Likewise.
3227 * intl/dcigettext.c: Likewise.
3228 * intl/dcngettext.c: Likewise.
3229 * intl/dngettext.c: Likewise.
3230 * intl/finddomain.c: Likewise.
3231 * intl/ngettext.c: Likewise.
3232 * intl/textdomain.c: Likewise.
3233 * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
3235 * intl/gettext.c: Likewise. Don't include locale.h.
3237 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3239 * intl/gettextP.h (ZERO): New macro.
3240 (struct binding): Always use ZERO.
3241 * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
3242 lack it, like SunOS4.
3243 (set_binding_values): Use offsetof, not sizeof.
3244 * intl/dcigettext.c (offsetof): Provide fallback for platforms that
3245 lack it, like SunOS4.
3246 (ZERO): Remove macro.
3247 (struct transmem_list): Use ZERO.
3248 (DCIGETTEXT): Use offsetof, not sizeof.
3250 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3252 * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
3254 * intl/bindtextdom.c: Don't include gettext.h.
3255 * intl/dcgettext.c: Likewise.
3256 * intl/dcigettext.c: Likewise.
3257 * intl/dcngettext.c: Likewise.
3258 * intl/dngettext.c: Likewise.
3259 * intl/finddomain.c: Likewise.
3260 * intl/localealias.c: Likewise.
3261 * intl/ngettext.c: Likewise.
3262 * intl/plural.y: Likewise.
3263 * intl/textdomain.c: Likewise.
3265 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3267 * intl/gettext.h: Don't include <stdio.h>.
3269 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3271 * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
3272 * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
3274 2001-03-19 Ulrich Drepper <drepper@redhat.com>
3276 * sysdeps/unix/i386/i686/tempname.c: New file.
3278 * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
3279 defined use this macro to get some bits of randomness instead of
3280 the usual gettimeofday or time calls.
3282 2001-03-16 Paul Eggert <eggert@twinsun.com>
3284 * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
3285 not defined, and if UINT64_MAX is not defined.
3287 2001-03-19 Ulrich Drepper <drepper@redhat.com>
3289 * elf/cache.c: Mark and have translated a few more messages.
3291 2001-03-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
3293 * elf/cache.c: Add case for FLAG_S390_LIB64.
3294 * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
3295 * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
3296 * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
3298 2001-03-19 Ulrich Drepper <drepper@redhat.com>
3300 * string/Makefile (tests): Add tst-strxfrm.
3301 * string/tst-strxfrm.c: New file. Based on a test case by Paul Eggert.
3302 * string/Depend: New file.
3304 2001-03-19 Paul Eggert <eggert@twinsun.com>
3306 * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
3307 when given the empty string in nontrivial locales.
3309 2001-03-17 H.J. Lu <hjl@gnu.org>
3311 * manual/Makefile (install): Use $(INSTALL_DATA) instead of
3312 cp to install `dir'.
3314 2001-03-19 Andreas Schwab <schwab@suse.de>
3316 * Makerules (build-shlib): Make sure exit codes get checked
3319 2001-03-18 Ulrich Drepper <drepper@redhat.com>
3321 * Makerules (build-shlib): Remove unnecessary slashes introduced in
3324 * configure.in: Test for -Bgroup option of linker.
3325 * config.make.in: Define have-Bgroup.
3327 * conform/data/unistd.h-data: Require gethostname.
3328 * posix/unistd.h: Make gethostname prototype available for
3331 * crypt/Makefile: When generating DSO link with libc_nonshared.a.
3332 * debug/Makefile: Likewise.
3333 * dlfcn/Makefile: Likewise.
3334 * hesiod/Makefile: Likewise.
3335 * iconvdata/extra-module.mk: Likewise.
3336 * locale/Makefile: Likewise.
3337 * login/Makefile: Likewise.
3338 * math/Makefile: Likewise.
3339 * nis/Makefile: Likewise.
3340 * nss/Makefile: Likewise.
3341 * resolv/Makefile: Likewise.
3342 * rt/Makefile: Likewise.
3344 2001-03-17 Ulrich Drepper <drepper@redhat.com>
3346 * inet/Makefile (tests): Remove left-over comment.
3348 * posix/unistd.h (gethostname): Change type of second parameter
3349 back to size_t as per upcoming XPG6.
3350 * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
3351 parameter back to size_t as per upcoming XPG6.
3352 * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
3353 * sysdeps/unix/sysv/gethostname.c: Likewise.
3354 * sysdeps/mach/hurd/gethostname.c: Likewise.
3355 * sysdeps/generic/gethostname.c: Likewise.
3357 2001-03-16 Ulrich Drepper <drepper@redhat.com>
3359 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3362 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
3365 2001-02-06 Jakub Jelinek <jakub@redhat.com>
3367 * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
3368 looking for name matches.
3370 2001-02-26 Jakub Jelinek <jakub@redhat.com>
3372 * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
3373 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
3374 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
3375 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3376 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
3377 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
3378 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
3379 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
3380 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
3381 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
3382 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
3383 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
3385 2001-03-16 Ulrich Drepper <drepper@redhat.com>
3387 * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
3388 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3390 * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
3392 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3394 2001-03-16 David Mosberger <davidm@hpl.hp.com>
3396 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
3397 Drop hack that was needed for 2.1.1 kernel headers.
3399 * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
3401 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
3402 overlay with kernel's "struct sigcontext".
3404 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
3405 sys/rse.h for "misc" subdir.
3406 (sysdep_routines): Add __start_context for "stdlib" subdir.
3408 * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
3409 kernel file of the same name).
3411 * stdlib/Makefile (tests): Add tst-setcontext.
3412 * stdlib/tst-setcontext.c: New file (based on a sample program by
3415 * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
3416 * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
3417 * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
3418 * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
3419 * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
3421 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
3422 instead of shift & and.
3424 2001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
3426 * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
3427 * sysdeps/s390/bits/huge_val.h: ...here.
3428 * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
3429 * sysdeps/s390/s390-64/ffs.c: Move to...
3430 * sysdeps/s390/ffs.c: ...here.
3431 * sysdeps/s390/s390-32/ffs.c: Remove.
3433 2001-03-16 Jakub Jelinek <jakub@redhat.com>
3435 * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
3436 update osversion from more recent library.
3438 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3440 * sysdeps/unix/sysv/linux/s390/Dist: Move to...
3441 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
3442 * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
3443 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
3444 * sysdeps/unix/sysv/linux/s390/Versions: Move to...
3445 * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
3446 * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
3447 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
3448 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
3449 * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
3450 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
3451 * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
3452 * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
3453 * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
3454 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
3455 * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
3456 * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
3457 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
3458 * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
3459 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
3460 * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
3461 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
3462 * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
3463 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
3464 * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
3465 * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
3466 * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
3467 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
3468 * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
3469 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
3470 * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
3471 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
3472 * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
3473 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
3474 * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
3475 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
3476 * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
3477 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
3478 * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
3479 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
3480 * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
3481 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
3482 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
3483 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
3484 * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
3485 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
3486 * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
3487 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
3488 * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
3489 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
3490 * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
3491 * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
3492 * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
3493 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
3494 * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
3495 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
3496 * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
3497 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
3498 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
3499 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
3500 * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
3501 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
3502 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
3503 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
3504 * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
3505 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
3506 * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
3507 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
3508 * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
3509 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
3510 * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
3511 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
3512 * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
3513 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
3514 * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
3515 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
3516 * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
3517 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
3518 * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
3519 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
3520 * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
3521 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
3522 * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
3523 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
3524 * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
3525 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
3526 * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
3527 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
3528 * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
3529 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
3530 * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
3531 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
3532 * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
3533 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
3534 * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
3535 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
3536 * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
3537 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
3538 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
3539 * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
3540 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
3541 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
3542 * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
3543 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
3544 * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
3545 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
3546 * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
3547 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
3548 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3549 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
3550 * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
3551 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
3552 * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
3553 * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
3555 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3557 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
3558 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
3559 * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
3560 * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
3561 * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
3562 * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
3563 * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
3564 * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
3565 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
3566 * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
3567 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
3568 * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
3569 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
3570 * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
3571 * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
3572 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
3573 * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
3574 * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
3575 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
3576 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
3577 * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
3578 * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
3579 * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
3580 * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
3581 * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
3582 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
3583 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
3584 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
3585 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
3586 * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
3587 * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
3588 * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
3589 * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
3590 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
3591 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
3592 * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
3593 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
3594 * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
3595 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
3596 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
3597 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
3598 * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
3599 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
3600 * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
3601 * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
3602 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
3603 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
3604 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
3605 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
3606 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
3607 * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
3608 * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
3609 * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
3611 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3613 * sysdeps/s390/Dist: Move to...
3614 * sysdeps/s390/390-32/Dist: ...here.
3615 * sysdeps/s390/Implies: Move to...
3616 * sysdeps/s390/s390-32/Implies: ...here.
3617 * sysdeps/s390/Makefile: Move to...
3618 * sysdeps/s390/s390-32/Makefile: ...here.
3619 * sysdeps/s390/Versions: Move to...
3620 * sysdeps/s390-32/s390/Versions: ...here.
3621 * sysdeps/s390/add_n.S: Move to...
3622 * sysdeps/s390/s390-32/add_n.S: ...here.
3623 * sysdeps/s390/addmul_1.S: Move to...
3624 * sysdeps/s390/s390-32/addmul_1.S: ...here.
3625 * sysdeps/s390/atomicity.h: Move to...
3626 * sysdeps/s390/s390-32/atomicity.h: ...here.
3627 * sysdeps/s390/backtrace.c: Move to...
3628 * sysdeps/s390/s390-32/backtrace.c: ...here.
3629 * sysdeps/s390/bcopy.S: Move to...
3630 * sysdeps/s390/s390-32/bcopy.S: ...here.
3631 * sysdeps/s390/bits/byteswap.h: Move to...
3632 * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
3633 * sysdeps/s390/bits/huge_val.h: Move to...
3634 * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
3635 * sysdeps/s390/bsd-_setjmp.S: Move to...
3636 * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
3637 * sysdeps/s390/bsd-setjmp.S: Move to...
3638 * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
3639 * sysdeps/s390/bzero.S: Move to...
3640 * sysdeps/s390/s390-32/bzero.S: ...here.
3641 * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
3642 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
3643 * sysdeps/s390/elf/bsd-setjmp.S: Move to...
3644 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
3645 * sysdeps/s390/elf/start.S: Move to...
3646 * sysdeps/s390/s390-32/elf/start.S: ...here.
3647 * sysdeps/s390/ffs.c: Move to...
3648 * sysdeps/s390/s390-32/ffs.c: ...here.
3649 * sysdeps/s390/memchr.S: Move to...
3650 * sysdeps/s390/s390-32/memchr.S: ...here.
3651 * sysdeps/s390/memcpy.S: Move to...
3652 * sysdeps/s390/s390-32/memcpy.S: ...here.
3653 * sysdeps/s390/memset.S: Move to...
3654 * sysdeps/s390/s390-32/memset.S: ...here.
3655 * sysdeps/s390/mul_1.S: Move to...
3656 * sysdeps/s390/s390-32/mul_1.S: ...here.
3657 * sysdeps/s390/s390-mcount.S: Move to...
3658 * sysdeps/s390/s390-32/s390-mcount.S: ...here.
3659 * sysdeps/s390/strcpy.S: Move to...
3660 * sysdeps/s390/s390-32/strcpy.S: ...here.
3661 * sysdeps/s390/strncpy.S: Move to...
3662 * sysdeps/s390/s390-32/strncpy.S: ...here.
3663 * sysdeps/s390/sub_n.S: Move to...
3664 * sysdeps/s390/s390-32/sub_n.S: ...here.
3666 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3668 * sysdeps/s390/s390-64/Dist: New file.
3669 * sysdeps/s390/s390-64/Implies: New file.
3670 * sysdeps/s390/s390-64/Makefile: New file.
3671 * sysdeps/s390/s390-64/__longjmp.c: New file.
3672 * sysdeps/s390/s390-64/add_n.S: New file.
3673 * sysdeps/s390/s390-64/atomicity.h: New file.
3674 * sysdeps/s390/s390-64/backtrace.c: New file.
3675 * sysdeps/s390/s390-64/bcopy.S: New file.
3676 * sysdeps/s390/s390-64/bits/byteswap.h: New file.
3677 * sysdeps/s390/s390-64/bits/huge_val.h: New file.
3678 * sysdeps/s390/s390-64/bits/setjmp.h: New file.
3679 * sysdeps/s390/s390-64/bits/string.h: New file.
3680 * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
3681 * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
3682 * sysdeps/s390/s390-64/bzero.S: New file.
3683 * sysdeps/s390/s390-64/dl-machine.h: New file.
3684 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
3685 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
3686 * sysdeps/s390/s390-64/elf/setjmp.S: New file.
3687 * sysdeps/s390/s390-64/elf/start.S: New file.
3688 * sysdeps/s390/s390-64/ffs.c: New file.
3689 * sysdeps/s390/s390-64/initfini.c: New file.
3690 * sysdeps/s390/s390-64/memchr.S: New file.
3691 * sysdeps/s390/s390-64/memcpy.S: New file.
3692 * sysdeps/s390/s390-64/memset.S: New file.
3693 * sysdeps/s390/s390-64/s390x-mcount.S: New file.
3694 * sysdeps/s390/s390-64/setjmp.S: New file.
3695 * sysdeps/s390/s390-64/strcpy.S: New file.
3696 * sysdeps/s390/s390-64/strncpy.S: New file.
3697 * sysdeps/s390/s390-64/sub_n.S: New file.
3698 * sysdeps/s390/s390-64/sysdep.h: New file.
3700 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3702 * scripts/config.guess: Add support for Linux on 64 bit S/390.
3703 * scripts/config.sub: Likewise.
3705 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3707 * configure.in: Add support for 64 bit S/390.
3709 * elf/elf.h: Add new relocations for 64 bit S/390.
3711 * shlib-versions: Add rules for Linux on 64 bit S/390.
3713 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3715 * sysdeps/s390/__longjmp.c: Move to...
3716 * sysdeps/s390/s390-32/__longjmp.c: ...here. Add code
3717 to load the floating point registers that should be saved
3718 according to the ABI.
3720 * sysdeps/s390/bits/setjmp.h: Move to...
3721 * sysdeps/s390/s390-32/bits/setjmp.h: ...here. Avoid
3722 the use of long long in the __jmp_buf type definition.
3724 * sysdeps/s390/bits/string.h: Move to...
3725 * sysdeps/s390/s390-32/bits/string.h: ...here. Add several missing
3726 #ifndef _FORCE_INLINES.
3728 * sysdeps/s390/dl-machine.h: Move to...
3729 * sysdeps/s390/s390-32/dl-machine.h: ...here. Add a check for the
3730 executables EI_CLASS in elf_machine_matches_host.
3732 * sysdeps/s390/elf/setjmp.S: Move to...
3733 * sysdeps/s390/s390-32/elf/setjmp.S: ...here. Replace
3734 branches to globally defined symbol __sigsetjmp by branches to
3735 a local label (this avoids the generation of a R_390_PC16DBL
3736 relocation in -fpic code).
3738 * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
3739 calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
3741 * sysdeps/s390/initfini.c: Move to...
3742 * sysdeps/s390/s390-32/initfini.c: ...here. Replace ALIGN with
3745 * sysdeps/s390/setjmp.S: Move to...
3746 * sysdeps/s390/s390-32/setjmp.S: ...here. Add code to store the
3747 floating point registers that should be saved according to the ABI.
3749 * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
3751 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3752 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
3753 sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
3755 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3757 * configure.in: Change machine=s390 to machine=s390/s390-32.
3759 * elf/elf.h: Correct comment for R_390_PLT16DBL.
3761 2001-03-12 Jakub Jelinek <jakub@redhat.com>
3763 * csu/Makefile (abi-tag.h): Define OS and version separately, allow
3764 version to be overriden from config.h.
3765 * csu/abi-note.S: Use OS and version separately, include config.h.
3766 * elf/dl-load.c (_dl_osversion): New.
3767 (_dl_map_object_from_fd): Kill some warnings.
3768 (open_verify): Check .note.ABI-tag of the library if present.
3769 * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
3770 * elf/cache.c (struct cache_entry): Add osversion.
3771 (print_entry): Print osversion.
3772 (print_cache): Pass osversion to it.
3773 (compare): Sort according to osversion.
3774 (save_cache): Set osversion.
3775 (add_to_cache): Add osversion argument.
3776 * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
3777 process_elf_file): Add osversion argument.
3778 * elf/readlib.c (process_file): Likewise.
3779 * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
3780 * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
3781 process_elf32_file, process_elf64_file): Likewise.
3782 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
3783 process_elf32_file, process_elf64_file): Likewise.
3784 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
3785 process_elf32_file, process_elf64_file): Likewise.
3786 * elf/ldconfig.c (manual_link): Pass it.
3787 (search_dir): Issue diagnostic if two libs with the same soname in
3788 the same directory have different .note.ABI-tag. Record osversion in
3789 dlib_entry and use it from there.
3790 (struct lib_entry): Remove.
3791 (struct dlib_entry): Add osversion.
3792 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
3794 * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
3795 field with osversion.
3796 * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
3797 * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
3798 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
3799 version in _dl_osversion.
3800 * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
3801 * Makerules (build-shlib-helper, build-module-helper): New.
3802 (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
3804 * config.h.in (__ABI_TAG_VERSION): Add.
3805 * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
3806 * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
3807 Handle LD_ASSUME_KERNEL.
3808 * sysdeps/unix/sysv/linux/dl-librecon.h: New.
3810 2001-03-15 Ulrich Drepper <drepper@redhat.com>
3812 * timezone/antarctica: Update from tzdata2001a.
3813 * timezone/asia: Likewise.
3814 * timezone/australasia: Likewise.
3815 * timezone/backward: Likewise.
3816 * timezone/etcetera: Likewise.
3817 * timezone/europe: Likewise.
3818 * timezone/leapseconds: Likewise.
3819 * timezone/northamerica: Likewise.
3820 * timezone/southamerica: Likewise.
3821 * timezone/systemv: Likewise.
3822 * timezone/yearistype: Likewise.
3823 * timezone/zone.tab: Likewise.
3824 * timezone/tzdump.c: Update from tzcode2001a.
3826 2001-03-15 H.J. Lu <hjl@gnu.org>
3828 * intl/Makefile: Fix a typo.
3830 2001-03-14 David Mosberger <davidm@hpl.hp.com>
3832 * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
3833 writing arc structures.
3835 2001-03-15 H.J. Lu <hjl@gnu.org>
3837 * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
3840 2001-03-13 Andreas Schwab <schwab@suse.de>
3842 * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
3844 2001-03-15 Ulrich Drepper <drepper@redhat.com>
3846 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
3847 for control message fitting into message data.
3848 Patch by James Antill <james@and.org>.
3850 * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
3853 * posix/fnmatch_loop.c: Optimize handling of ?() and @().
3854 * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
3856 * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
3857 * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
3858 avoid running binaries with libc versions without FNM_EXTMATCH support.
3860 * include/wchar.h: Add prototype for __wcscat.
3861 * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
3863 * posix/fnmatch.h (FNM_EXTMATCH): Define.
3864 * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
3865 (posixly_correct): Move global variable here.
3866 (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
3867 (fnmatch): Pretty printing.
3868 * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
3869 * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
3870 * posix/tst-fnmatch.input: Add tests for extended matching.
3872 * posix/testfnm.c: Add test for patterns with multiple ** before /.
3873 * posix/fnmatch_loop.c: Fix problem with the test above.
3875 2001-03-14 Ulrich Drepper <drepper@redhat.com>
3877 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
3880 * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
3882 2001-03-12 Andreas Jaeger <aj@suse.de>
3884 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3885 Use EM_X86_64 instead of EM_X8664.
3887 2001-03-12 Ulrich Drepper <drepper@redhat.com>
3889 * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
3891 * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
3894 * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
3897 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
3901 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
3903 (__ieee754_acos): Likewise.
3905 2001-03-12 Andreas Jaeger <aj@suse.de>
3907 * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
3908 Fix typo. Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
3910 * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
3913 2001-03-11 Roland McGrath <roland@frob.com>
3915 * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
3917 2001-03-11 Ulrich Drepper <drepper@redhat.com>
3919 * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
3922 * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
3925 Last-bit accurate math library implementation by IBM Haifa.
3926 Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
3927 <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
3928 Anna Reitman <reitman@il.ibm.com>.
3929 * math/Makefile (dbl-only-routines): New variable.
3930 (libm-routines): Add $(dbl-only-routines).
3931 * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
3932 * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
3934 * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
3936 * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
3938 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
3940 * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
3942 * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
3943 remainder implementation.
3944 * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
3946 * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
3948 * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
3949 * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
3950 * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
3952 * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
3953 * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
3955 * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
3957 * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
3959 * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
3960 * sysdeps/ieee754/dbl-64/MathLib.h: New file.
3961 * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
3962 * sysdeps/ieee754/dbl-64/atnat.h: New file.
3963 * sysdeps/ieee754/dbl-64/atnat2.h: New file.
3964 * sysdeps/ieee754/dbl-64/branred.c: New file.
3965 * sysdeps/ieee754/dbl-64/branred.h: New file.
3966 * sysdeps/ieee754/dbl-64/dla.h: New file.
3967 * sysdeps/ieee754/dbl-64/doasin.c: New file.
3968 * sysdeps/ieee754/dbl-64/doasin.h: New file.
3969 * sysdeps/ieee754/dbl-64/dosincos.c: New file.
3970 * sysdeps/ieee754/dbl-64/dosincos.h: New file.
3971 * sysdeps/ieee754/dbl-64/endian.h: New file.
3972 * sysdeps/ieee754/dbl-64/halfulp.c: New file.
3973 * sysdeps/ieee754/dbl-64/mpa.c: New file.
3974 * sysdeps/ieee754/dbl-64/mpa.h: New file.
3975 * sysdeps/ieee754/dbl-64/mpa2.h: New file.
3976 * sysdeps/ieee754/dbl-64/mpatan.c: New file.
3977 * sysdeps/ieee754/dbl-64/mpatan.h: New file.
3978 * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
3979 * sysdeps/ieee754/dbl-64/mpexp.c: New file.
3980 * sysdeps/ieee754/dbl-64/mpexp.h: New file.
3981 * sysdeps/ieee754/dbl-64/mplog.c: New file.
3982 * sysdeps/ieee754/dbl-64/mplog.h: New file.
3983 * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
3984 * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
3985 * sysdeps/ieee754/dbl-64/mptan.c: New file.
3986 * sysdeps/ieee754/dbl-64/mydefs.h: New file.
3987 * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
3988 * sysdeps/ieee754/dbl-64/root.tbl: New file.
3989 * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
3990 * sysdeps/ieee754/dbl-64/sincos32.c: New file.
3991 * sysdeps/ieee754/dbl-64/sincos32.h: New file.
3992 * sysdeps/ieee754/dbl-64/slowexp.c: New file.
3993 * sysdeps/ieee754/dbl-64/slowpow.c: New file.
3994 * sysdeps/ieee754/dbl-64/uasncs.h: New file.
3995 * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
3996 * sysdeps/ieee754/dbl-64/uexp.h: New file.
3997 * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
3998 * sysdeps/ieee754/dbl-64/ulog.h: New file.
3999 * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
4000 * sysdeps/ieee754/dbl-64/upow.h: New file.
4001 * sysdeps/ieee754/dbl-64/upow.tbl: New file.
4002 * sysdeps/ieee754/dbl-64/urem.h: New file.
4003 * sysdeps/ieee754/dbl-64/uroot.h: New file.
4004 * sysdeps/ieee754/dbl-64/usncs.h: New file.
4005 * sysdeps/ieee754/dbl-64/utan.h: New file.
4006 * sysdeps/ieee754/dbl-64/utan.tbl: New file.
4007 * sysdeps/i386/fpu/branred.c: New file.
4008 * sysdeps/i386/fpu/doasin.c: New file.
4009 * sysdeps/i386/fpu/dosincos.c: New file.
4010 * sysdeps/i386/fpu/halfulp.c: New file.
4011 * sysdeps/i386/fpu/mpa.c: New file.
4012 * sysdeps/i386/fpu/mpatan.c: New file.
4013 * sysdeps/i386/fpu/mpatan2.c: New file.
4014 * sysdeps/i386/fpu/mpexp.c: New file.
4015 * sysdeps/i386/fpu/mplog.c: New file.
4016 * sysdeps/i386/fpu/mpsqrt.c: New file.
4017 * sysdeps/i386/fpu/mptan.c: New file.
4018 * sysdeps/i386/fpu/sincos32.c: New file.
4019 * sysdeps/i386/fpu/slowexp.c: New file.
4020 * sysdeps/i386/fpu/slowpow.c: New file.
4021 * sysdeps/ia64/fpu/branred.c: New file.
4022 * sysdeps/ia64/fpu/doasin.c: New file.
4023 * sysdeps/ia64/fpu/dosincos.c: New file.
4024 * sysdeps/ia64/fpu/halfulp.c: New file.
4025 * sysdeps/ia64/fpu/mpa.c: New file.
4026 * sysdeps/ia64/fpu/mpatan.c: New file.
4027 * sysdeps/ia64/fpu/mpatan2.c: New file.
4028 * sysdeps/ia64/fpu/mpexp.c: New file.
4029 * sysdeps/ia64/fpu/mplog.c: New file.
4030 * sysdeps/ia64/fpu/mpsqrt.c: New file.
4031 * sysdeps/ia64/fpu/mptan.c: New file.
4032 * sysdeps/ia64/fpu/sincos32.c: New file.
4033 * sysdeps/ia64/fpu/slowexp.c: New file.
4034 * sysdeps/ia64/fpu/slowpow.c: New file.
4035 * sysdeps/m68k/fpu/branred.c: New file.
4036 * sysdeps/m68k/fpu/doasin.c: New file.
4037 * sysdeps/m68k/fpu/dosincos.c: New file.
4038 * sysdeps/m68k/fpu/halfulp.c: New file.
4039 * sysdeps/m68k/fpu/mpa.c: New file.
4040 * sysdeps/m68k/fpu/mpatan.c: New file.
4041 * sysdeps/m68k/fpu/mpatan2.c: New file.
4042 * sysdeps/m68k/fpu/mpexp.c: New file.
4043 * sysdeps/m68k/fpu/mplog.c: New file.
4044 * sysdeps/m68k/fpu/mpsqrt.c: New file.
4045 * sysdeps/m68k/fpu/mptan.c: New file.
4046 * sysdeps/m68k/fpu/sincos32.c: New file.
4047 * sysdeps/m68k/fpu/slowexp.c: New file.
4048 * sysdeps/m68k/fpu/slowpow.c: New file.
4050 * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
4053 2001-03-11 Andreas Jaeger <aj@suse.de>
4055 * elf/elf.h (EM_*): Synch with official list.
4057 2001-03-07 David Mosberger <davidm@hpl.hp.com>
4059 * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
4061 2001-03-07 Jes Sorensen <jes@linuxcare.com>
4063 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
4064 variables addr & len.
4066 2001-02-22 Jes Sorensen <jes@linuxcare.com>
4068 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
4069 punctuation in asm constraint.
4071 2001-03-07 Mark Kettenis <kettenis@gnu.org>
4073 * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
4074 <time.h> to get definition of `struct timespec'.
4076 2001-03-08 Jakub Jelinek <jakub@redhat.com>
4078 * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
4079 LD_WARN=1, not if LD_WARN is unset.
4081 2001-03-07 Andreas Schwab <schwab@suse.de>
4083 * elf/ldconfig.h: Moved to ...
4084 * sysdeps/generic/ldconfig.h: ... here.
4085 * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
4086 * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
4087 * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
4088 * elf/readlib.c (interpreters, known_libs): Use
4089 SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
4090 instead of hard coding old names.
4092 2001-03-09 Ulrich Drepper <drepper@redhat.com>
4094 * catgets/Makefile (generated): Add test-gencat.h.
4095 (sample.SJIS.cat): Also generate header.
4096 * catgets/sample.SJIS: Add new set and message, both with symbolic
4098 * catgets/test-gencat.sh: Also compare generated header with what
4101 2001-03-07 Jakub Jelinek <jakub@redhat.com>
4103 * catgets/gencat.c (read_input_file): Preserve properly symbolic
4106 2001-03-06 Andreas Jaeger <aj@suse.de>
4108 * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
4110 (elf_machine_pltrel_p): Likewise.
4111 * sysdeps/powerpc/dl-machine.h: Likewise.
4112 * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
4114 2001-03-09 Ulrich Drepper <drepper@redhat.com>
4116 * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
4119 2001-03-05 Philip Blundell <philb@gnu.org>
4121 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
4122 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
4123 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
4124 (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
4127 2001-03-09 Ulrich Drepper <drepper@redhat.com>
4129 * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
4131 * dlfcn/tstcxaatexit.c (main): Likewise.
4133 2001-03-10 Andreas Jaeger <aj@suse.de>
4135 * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
4137 2001-03-09 Andreas Jaeger <aj@suse.de>
4139 * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
4140 both new and old EM_S390 values.
4141 (EM_S390_OLD): New constant.
4143 * elf/elf.h (EM_S390): Use official value.
4145 2001-03-09 Ulrich Drepper <drepper@redhat.com>
4147 * conform/data/sys/socket.h-data: Allow SO* symbols.
4149 2001-03-07 Andreas Schwab <schwab@suse.de>
4151 * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
4152 routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
4154 2001-03-07 Andreas Jaeger <aj@suse.de>
4156 * resolv/Makefile (routines): Only build gai_sigqueue when threads
4159 2001-03-07 Jakub Jelinek <jakub@redhat.com>
4161 * elf/ldconfig.c (_dl_sysdep_message): Remove.
4162 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
4164 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
4166 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
4167 _dl_error_printf instead of _dl_sysdep_error.
4168 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4169 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
4170 Use _dl_printf instead of _dl_sysdep_message.
4171 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
4174 2001-03-06 Ben Collins <bcollins@debian.org>
4176 * manual/arith.texi (Integers): Fix documentation of fast and
4177 least integer typedefs.
4179 2001-03-06 Jakub Jelinek <jakub@redhat.com>
4181 * resolv/Depend: New file.
4182 * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
4183 when libpthread is built.
4185 2001-03-06 Andreas Jaeger <aj@suse.de>
4187 * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
4189 * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
4190 Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
4192 2001-03-05 Ulrich Drepper <drepper@redhat.com>
4194 * stdlib/Versions: Remove __new_exitfn again. Not needed.
4196 2001-03-05 Andreas Jaeger <aj@suse.de>
4198 * stdlib/msort.c (qsort): Don't use alloca in a function call.
4200 2001-03-05 Ulrich Drepper <drepper@redhat.com>
4202 * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
4203 __S_TYPEISSHM): Rewrite to enforce correct use the macros. They still
4205 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4206 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
4207 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4208 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
4209 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4210 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4211 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4213 2001-03-04 Andreas Jaeger <aj@suse.de>
4215 * stdlib/longlong.h: Don't use multi-line strings.
4216 * iconvdata/tst-loading.c: Likewise.
4218 * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
4221 2001-03-04 Ulrich Drepper <drepper@redhat.com>
4223 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
4225 * rt/lio_listio.c: Add a few asserts.
4227 * elf/global.c: New file.
4228 * elf/globalmod1.c: New file.
4229 * elf/Makefile: Add rules to build and run global.
4231 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
4232 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4233 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4234 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4235 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4237 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
4238 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4240 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
4242 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
4243 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4245 * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
4247 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
4249 2001-03-04 Andreas Jaeger <aj@suse.de>
4251 * resolv/tst-aton.c: Add testcase for IP with four periods.
4253 * resolv/inet_addr.c: Don't recognize an IP with four periods.
4254 Patch by Andre' Breiler <A.Breiler@gmx.net>.
4256 2001-02-27 Philip Blundell <pb@futuretv.com>
4258 * elf/elf.h: Add new ARM definitions from latest (B-01)
4259 specification. Correct naming of EF_ARM_ALIGN8 et al.
4261 2001-03-04 Ulrich Drepper <drepper@redhat.com>
4263 * stdio-common/tst-printf.sh: Remove bashisms.
4264 Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
4266 2001-03-03 Ulrich Drepper <drepper@redhat.com>
4268 * Versions.def: Add libanl definition.
4269 * shlib-versions: Add entry for libanl.
4270 * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
4271 (routines): Add gai_sigqueue.
4272 (extra-libs): Add libanl.
4273 (libanl-routines): New variable.
4274 Add rules to build libanl and ga_test.
4275 * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
4276 [libanl]: New library.
4277 * resolv/netdb.h: Add definitions for libanl.
4278 * resolv/getaddrinfo_a.c: New file.
4279 * resolv/gai_cancel.c: New file.
4280 * resolv/gai_error.c: New file.
4281 * resolv/gai_misc.c: New file.
4282 * resolv/gai_misc.h: New file.
4283 * resolv/gai_notify.c: New file.
4284 * resolv/gai_suspend.c: New file.
4285 * resolv/ga_test.c: New file.
4286 * sysdeps/generic/gai_sigqueue.c: New file.
4287 * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
4288 * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
4289 and provide only that definition.
4290 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
4291 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
4292 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4293 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4294 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4295 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4297 * rt/aio_misc.c: Fix typos in comments.
4298 * rt/lio_listio.c: Pretty printing. Little optimization in request
4301 * elf/rtld.c: Remove commented out code.
4303 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
4304 Update for real 2.4 kernels.
4306 2001-03-01 Ulrich Drepper <drepper@redhat.com>
4308 * elf/dl-load.c: Pretty printing.
4310 * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
4313 2001-02-28 Ulrich Drepper <drepper@redhat.com>
4315 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
4316 relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
4318 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
4320 * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
4323 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
4325 2001-02-27 Ulrich Drepper <drepper@redhat.com>
4327 * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
4330 * elf/Versions [ld]: Don't export _dl_debug_message anymore. Export
4332 * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
4333 _dl_debug_message. Define _dl_debug_vdprintf, _dl_debug_printf,
4334 _dl_debug_printf_c, and _dl_printf.
4335 * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
4336 _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
4337 _dl_sysdep_fatal. Declare _dl_debug_printf, _dl_debug_printf_c,
4338 _dl_printf, _dl_error_printf, and _dl_fatal_printf.
4339 * elf/dl-close.c: Replace use of old output functions with the new
4341 * elf/dl-deps.c: Likewise.
4342 * elf/dl-error.c: Likewise.
4343 * elf/dl-fini.c: Likewise.
4344 * elf/dl-init.c: Likewise.
4345 * elf/dl-load.c: Likewise.
4346 * elf/dl-lookup.c: Likewise.
4347 * elf/dl-minimal.c: Likewise.
4348 * elf/dl-open.c: Likewise.
4349 * elf/dl-profile.c: Likewise.
4350 * elf/dl-reloc.c: Likewise.
4351 * elf/dl-version.c: Likewise.
4352 * elf/do-lookup.h: Likewise.
4353 * elf/rtld.c: Likewise.
4354 * sysdeps/generic/dl-cache.c: Likewise.
4355 * sysdeps/generic/dl-sysdep.c: Likewise.
4356 * sysdeps/generic/libc-start.c: Likewise.
4357 * sysdeps/i386/dl-machine.h: Likewise.
4358 * sysdeps/arm/dl-machine.h: Likewise.
4359 * sysdeps/hppa/dl-machine.h: Likewise.
4360 * sysdeps/m68k/dl-machine.h: Likewise.
4361 * sysdeps/powerpc/dl-machine.h: Likewise.
4362 * sysdeps/s390/dl-machine.h: Likewise.
4363 * sysdeps/sh/dl-machine.h: Likewise.
4364 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4365 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
4366 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4368 * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
4370 * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
4371 supported by assembler.
4373 * sysdeps/generic/ldsodefs.h: Remove commented-out variable
4376 * elf/rtld.c: Little optimizations in handling _dl_lazy.
4378 * elf/cache.c (save_cache): Portability changes.
4379 * elf/dl-profile.c (_dl_start_profile): Likewise.
4381 * elf/sln.c: Cleanups. Remove arbitrary limits.
4383 * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
4384 * elf/dl-deps.c: Likewise.
4385 * elf/dl-fini.c: Likewise.
4386 * elf/dl-init.c: Likewise.
4387 * elf/dl-load.c: Likewise.
4388 * elf/dl-lookup.c: Likewise.
4389 * elf/dl-open.c: Likewise.
4390 * elf/dl-reloc.c: Likewise.
4391 * elf/dl-support.c: Likewise.
4392 * elf/dl-version.c: Likewise.
4393 * elf/do-lookup.h: Likewise.
4394 * elf/rtld.c: Likewise.
4395 * sysdeps/generic/dl-cache.c: Likewise.
4396 * sysdeps/generic/ldsodefs.h: Likewise.
4397 * sysdeps/generic/libc-start.c: Likewise.
4398 * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
4399 Export _dl_debug_mask.
4400 * Versions.def: Define GLIBC_2.2.3 for ld.
4402 2001-02-26 Greg McGary <greg@mcgary.org>
4404 * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
4406 2001-02-26 Paul Eggert <eggert@twinsun.com>
4408 Modify mkstemp.c and tempname.c so that they can be used by
4409 GNU applications on non-glibc platforms.
4411 * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
4413 * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
4414 Include <stddef.h>, <stdint.h>, <string.h> only if
4415 STDC_HEADERS || _LIBC.
4416 Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
4417 Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
4418 Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
4419 (__set_errno): Define this macro if <errno.h> doesn't.
4420 (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
4421 Define these macros if <stdio.h> doesn't.
4422 (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
4423 Define these macros if <sys/stat.h> doesn't.
4424 Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
4425 (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
4426 lxstat64, __xstat64): Define if not _LIBC.
4427 (struct_stat64): New macro.
4428 (direxists, __gen_tempname): Use it, to avoid a
4429 portability problem with Solaris 8.
4430 (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
4431 (__gen_tempname): Invoke gettimeofday only if
4432 HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
4433 Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
4434 octal values like 0600.
4436 2001-02-26 Ulrich Drepper <drepper@redhat.com>
4438 * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
4439 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4441 * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
4442 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4444 * posix/wordexp-test.c (testit): Remove warnings.
4446 * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
4447 (tests): Add tstatexit and tstcxaatexit.
4448 (module-names): Add modatexit and modcxaatexit.
4449 Add rules to build and run tstatexit and tstcxaatexit.
4450 * dlfcn/modatexit.c: New file.
4451 * dlfcn/modcxaatexit.c: New file.
4452 * dlfcn/tstatexit.c: New file.
4453 * dlfcn/tstcxaatexit.c: New file.
4455 * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
4456 .hidden is available.
4457 * io/stat.c: If .hidden is available use it to avoid exporting
4459 * io/fstat.c: Likewise.
4460 * io/lstat.c: Likewise.
4461 * io/stat64.c: Likewise.
4462 * io/fstat64.c: Likewise.
4463 * io/lstat64.c: Likewise.
4464 * sysdeps/generic/mknod.c: Likewise.
4466 * malloc/mtrace.c: Use __cxa_atexit and not atexit.
4467 * sysdeps/generic/bb_init_func.c: Likewise.
4468 * sysdeps/generic/libc-start.c: Likewise.
4470 * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
4471 (atexit): Implement using __cxa_atexit.
4472 Use .hidden if availble to avoid exporting atexit.
4473 * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
4474 * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
4475 * stdlib/Makefile (routines): Add old_atexit.
4476 (static-only-routines): Add atexit.
4477 Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
4478 * stdlib/old_atexit.c: New file.
4480 * intl/Makefile: Remove bogus endif.
4482 2001-02-26 Andreas Jaeger <aj@suse.de>
4484 * iconvdata/Makefile (tests): Fix typo in last patch.
4486 * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
4488 Reported by Achim Gottinger <achim@gentoo.org>.
4490 2001-02-25 Andreas Jaeger <aj@suse.de>
4492 * intl/Makefile (plural.c): Reorder rules so that they work if
4493 BISON doesn't exist.
4495 2001-02-25 Ulrich Drepper <drepper@redhat.com>
4497 * intl/locale.alias: Don't use nb_NO but define aliases for it.
4499 2001-02-23 Ulrich Drepper <drepper@redhat.com>
4501 * sysdeps/i386/strtok.S: Continue to return NULL after the first
4504 2001-02-23 Andreas Jaeger <aj@suse.de>
4506 * string/tester.c (test_strtok_r): Add testcase.
4507 (test_strtok_r): Always initialize cp for proper checking.
4509 * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
4510 returning NULL correctly.
4511 Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
4512 * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
4514 2001-02-23 Ulrich Drepper <drepper@redhat.com>
4516 * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
4517 including <stddef.h>.
4518 * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
4519 * include/libc-symbols.h (weak_alias): Don't use .weak if
4520 HAVE_ASM_GLOBAL_DOT_NAME is defined.
4521 Patches by Michael Keezer <mkeezer@redhat.com>.
4523 * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
4524 Patch by Michael Keezer <mkeezer@redhat.com>.
4526 * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
4527 * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
4528 (sysdep_routines): Remove restf.S and savef.S.
4529 * sysdeps/unix/sysv/aix/restf.S: Removed.
4530 * sysdeps/unix/sysv/aix/savef.S: Removed.
4531 * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label. Also define
4532 alternative names used on some platforms.
4533 * sysdeps/powerpc/fprsave.S: Likewise.
4534 * sysdeps/powerpc/gprrest0.S: Likewise.
4535 * sysdeps/powerpc/gprrest1.S: Likewise.
4536 * sysdeps/powerpc/gprsave0.S: Likewise.
4537 * sysdeps/powerpc/gprsave1.S: Likewise.
4538 Patch by Michael Keezer <mkeezer@redhat.com>.
4540 2001-02-22 Ulrich Drepper <drepper@redhat.com>
4542 * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
4544 2001-02-22 Andreas Jaeger <aj@suse.de>
4546 * string/tst-strtok.c (main): Fix error messages.
4548 2001-02-22 Andreas Jaeger <aj@suse.de>
4550 * math/Makefile: Remove omit-long-double-fcts.
4552 2001-02-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4554 * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
4555 avoid problems on MIPS I.
4556 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
4558 * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
4561 2001-02-21 Ulrich Drepper <drepper@redhat.com>
4563 * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
4565 * sysdeps/generic/ftime.c: Include <time.h>.
4567 * configure.in: Don't check for libgd if user passed --without-gd.
4568 Patch by Achim Gottinger <achim@gentoo.org>.
4570 * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
4571 first time this happened.
4572 * string/Makefile (tests): Add tst-strtok.
4574 2001-02-21 Andreas Jaeger <aj@suse.de>
4576 * string/tst-strtok.c: New testcase, reported by
4577 Andrew Church <achurch@achurch.org>.
4579 2001-02-20 Ulrich Drepper <drepper@redhat.com>
4581 * libio/iofwide.c: Remove fwide alias.
4583 2001-02-20 Andreas Jaeger <aj@suse.de>
4585 * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
4587 Reported by Achim Gottinger <achim@gentoo.org>.
4589 2001-02-19 Ulrich Drepper <drepper@redhat.com>
4591 * iconv/tst-iconv1.c (main): Remove debugging code.
4593 * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
4594 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4596 * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
4598 * sysdeps/generic/e_scalbf.c: Likewise.
4599 * sysdeps/generic/e_scalbl.c: Likewise.
4601 * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
4602 libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
4604 (routines): Replace libm_error with libc_libm_error.
4605 * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
4606 * sysdeps/ia64/fpu/libc_libm_error.c: New file.
4608 2001-02-18 Mark Kettenis <kettenis@gnu.org>
4610 * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
4611 (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
4613 2001-02-17 H.J. Lu <hjl@gnu.org>
4615 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
4616 scratch registers across the system call.
4618 2001-02-19 Andreas Jaeger <aj@suse.de>
4620 * malloc/Makefile (tests): Run mtrace only when perl is available.
4621 Reported by Achim Gottinger <achim@gentoo.org>.
4623 2001-02-19 Ulrich Drepper <drepper@redhat.com>
4625 * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
4626 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4628 * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
4629 * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
4630 * math/libm-test.inc (j1_test): Mark constants as long double.
4631 (jn_test): Likewise.
4632 (y1_test): Likewise.
4633 (yn_test): Likewise.
4635 * libio/iogetline.c: Move return until after last statement.
4637 * localedata/show-ucs-data.c: Don't show < > for better readability.
4639 * sysdeps/ia64/fpu/Dist: New file.
4640 * sysdeps/ia64/fpu/Makefile: New file.
4641 * sysdeps/ia64/fpu/Versions: New file.
4642 * sysdeps/ia64/fpu/e_acos.S: New file.
4643 * sysdeps/ia64/fpu/e_acosf.S: New file.
4644 * sysdeps/ia64/fpu/e_acosl.S: New file.
4645 * sysdeps/ia64/fpu/e_asin.S: New file.
4646 * sysdeps/ia64/fpu/e_asinf.S: New file.
4647 * sysdeps/ia64/fpu/e_asinl.S: New file.
4648 * sysdeps/ia64/fpu/e_atan2.S: New file.
4649 * sysdeps/ia64/fpu/e_atan2f.S: New file.
4650 * sysdeps/ia64/fpu/e_atan2l.c: New file.
4651 * sysdeps/ia64/fpu/e_cosh.S: New file.
4652 * sysdeps/ia64/fpu/e_coshf.S: New file.
4653 * sysdeps/ia64/fpu/e_coshl.S: New file.
4654 * sysdeps/ia64/fpu/e_exp.S: New file.
4655 * sysdeps/ia64/fpu/e_expf.S: New file.
4656 * sysdeps/ia64/fpu/e_expl.c: New file.
4657 * sysdeps/ia64/fpu/e_fmod.S: New file.
4658 * sysdeps/ia64/fpu/e_fmodf.S: New file.
4659 * sysdeps/ia64/fpu/e_fmodl.S: New file.
4660 * sysdeps/ia64/fpu/e_hypot.S: New file.
4661 * sysdeps/ia64/fpu/e_hypotf.S: New file.
4662 * sysdeps/ia64/fpu/e_hypotl.S: New file.
4663 * sysdeps/ia64/fpu/e_log.S: New file.
4664 * sysdeps/ia64/fpu/e_log10.c: New file.
4665 * sysdeps/ia64/fpu/e_log10f.c: New file.
4666 * sysdeps/ia64/fpu/e_log10l.c: New file.
4667 * sysdeps/ia64/fpu/e_logf.S: New file.
4668 * sysdeps/ia64/fpu/e_logl.c: New file.
4669 * sysdeps/ia64/fpu/e_pow.S: New file.
4670 * sysdeps/ia64/fpu/e_powf.S: New file.
4671 * sysdeps/ia64/fpu/e_powl.S: New file.
4672 * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
4673 * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
4674 * sysdeps/ia64/fpu/e_remainder.S: New file.
4675 * sysdeps/ia64/fpu/e_remainderf.S: New file.
4676 * sysdeps/ia64/fpu/e_remainderl.S: New file.
4677 * sysdeps/ia64/fpu/e_scalb.S: New file.
4678 * sysdeps/ia64/fpu/e_scalbf.S: New file.
4679 * sysdeps/ia64/fpu/e_scalbl.S: New file.
4680 * sysdeps/ia64/fpu/e_sinh.S: New file.
4681 * sysdeps/ia64/fpu/e_sinhf.S: New file.
4682 * sysdeps/ia64/fpu/e_sinhl.S: New file.
4683 * sysdeps/ia64/fpu/e_sqrt.S: New file.
4684 * sysdeps/ia64/fpu/e_sqrtf.S: New file.
4685 * sysdeps/ia64/fpu/e_sqrtl.S: New file.
4686 * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
4687 * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
4688 * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
4689 * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
4690 * sysdeps/ia64/fpu/libm_error.c: New file.
4691 * sysdeps/ia64/fpu/libm_frexp4.S: New file.
4692 * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
4693 * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
4694 * sysdeps/ia64/fpu/libm_reduce.S: New file.
4695 * sysdeps/ia64/fpu/libm_support.h: New file.
4696 * sysdeps/ia64/fpu/libm_tan.S: New file.
4697 * sysdeps/ia64/fpu/s_atan.S: New file.
4698 * sysdeps/ia64/fpu/s_atanf.S: New file.
4699 * sysdeps/ia64/fpu/s_atanl.S: New file.
4700 * sysdeps/ia64/fpu/s_cbrt.S: New file.
4701 * sysdeps/ia64/fpu/s_cbrtf.S: New file.
4702 * sysdeps/ia64/fpu/s_cbrtl.S: New file.
4703 * sysdeps/ia64/fpu/s_ceil.S: New file.
4704 * sysdeps/ia64/fpu/s_ceilf.S: New file.
4705 * sysdeps/ia64/fpu/s_ceill.S: New file.
4706 * sysdeps/ia64/fpu/s_cos.S: New file.
4707 * sysdeps/ia64/fpu/s_cosf.S: New file.
4708 * sysdeps/ia64/fpu/s_cosl.S: New file.
4709 * sysdeps/ia64/fpu/s_expm1.S: New file.
4710 * sysdeps/ia64/fpu/s_expm1f.S: New file.
4711 * sysdeps/ia64/fpu/s_expm1l.S: New file.
4712 * sysdeps/ia64/fpu/s_floor.S: New file.
4713 * sysdeps/ia64/fpu/s_floorf.S: New file.
4714 * sysdeps/ia64/fpu/s_floorl.S: New file.
4715 * sysdeps/ia64/fpu/s_frexp.c: New file.
4716 * sysdeps/ia64/fpu/s_frexpf.c: New file.
4717 * sysdeps/ia64/fpu/s_frexpl.c: New file.
4718 * sysdeps/ia64/fpu/s_ilogb.S: New file.
4719 * sysdeps/ia64/fpu/s_ilogbf.S: New file.
4720 * sysdeps/ia64/fpu/s_ilogbl.S: New file.
4721 * sysdeps/ia64/fpu/s_ldexp.S: New file.
4722 * sysdeps/ia64/fpu/s_ldexpf.S: New file.
4723 * sysdeps/ia64/fpu/s_ldexpl.S: New file.
4724 * sysdeps/ia64/fpu/s_log1p.S: New file.
4725 * sysdeps/ia64/fpu/s_log1pf.S: New file.
4726 * sysdeps/ia64/fpu/s_log1pl.S: New file.
4727 * sysdeps/ia64/fpu/s_logb.S: New file.
4728 * sysdeps/ia64/fpu/s_logbf.S: New file.
4729 * sysdeps/ia64/fpu/s_logbl.S: New file.
4730 * sysdeps/ia64/fpu/s_matherrf.c: New file.
4731 * sysdeps/ia64/fpu/s_matherrl.c: New file.
4732 * sysdeps/ia64/fpu/s_modf.S: New file.
4733 * sysdeps/ia64/fpu/s_modff.S: New file.
4734 * sysdeps/ia64/fpu/s_modfl.S: New file.
4735 * sysdeps/ia64/fpu/s_nearbyint.S: New file.
4736 * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
4737 * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
4738 * sysdeps/ia64/fpu/s_rint.S: New file.
4739 * sysdeps/ia64/fpu/s_rintf.S: New file.
4740 * sysdeps/ia64/fpu/s_rintl.S: New file.
4741 * sysdeps/ia64/fpu/s_round.S: New file.
4742 * sysdeps/ia64/fpu/s_roundf.S: New file.
4743 * sysdeps/ia64/fpu/s_roundl.S: New file.
4744 * sysdeps/ia64/fpu/s_scalbn.S: New file.
4745 * sysdeps/ia64/fpu/s_scalbnf.S: New file.
4746 * sysdeps/ia64/fpu/s_scalbnl.S: New file.
4747 * sysdeps/ia64/fpu/s_significand.S: New file.
4748 * sysdeps/ia64/fpu/s_significandf.S: New file.
4749 * sysdeps/ia64/fpu/s_significandl.S: New file.
4750 * sysdeps/ia64/fpu/s_sin.c: New file.
4751 * sysdeps/ia64/fpu/s_sincos.c: New file.
4752 * sysdeps/ia64/fpu/s_sincosf.c: New file.
4753 * sysdeps/ia64/fpu/s_sincosl.c: New file.
4754 * sysdeps/ia64/fpu/s_sinf.c: New file.
4755 * sysdeps/ia64/fpu/s_sinl.c: New file.
4756 * sysdeps/ia64/fpu/s_tan.S: New file.
4757 * sysdeps/ia64/fpu/s_tanf.S: New file.
4758 * sysdeps/ia64/fpu/s_tanl.S: New file.
4759 * sysdeps/ia64/fpu/s_trunc.S: New file.
4760 * sysdeps/ia64/fpu/s_truncf.S: New file.
4761 * sysdeps/ia64/fpu/s_truncl.S: New file.
4762 * sysdeps/ia64/fpu/w_acos.c: New file.
4763 * sysdeps/ia64/fpu/w_acosf.c: New file.
4764 * sysdeps/ia64/fpu/w_acosl.c: New file.
4765 * sysdeps/ia64/fpu/w_asin.c: New file.
4766 * sysdeps/ia64/fpu/w_asinf.c: New file.
4767 * sysdeps/ia64/fpu/w_asinl.c: New file.
4768 * sysdeps/ia64/fpu/w_atan2.c: New file.
4769 * sysdeps/ia64/fpu/w_atan2f.c: New file.
4770 * sysdeps/ia64/fpu/w_atan2l.c: New file.
4771 * sysdeps/ia64/fpu/w_cosh.c: New file.
4772 * sysdeps/ia64/fpu/w_coshf.c: New file.
4773 * sysdeps/ia64/fpu/w_coshl.c: New file.
4774 * sysdeps/ia64/fpu/w_exp.c: New file.
4775 * sysdeps/ia64/fpu/w_expf.c: New file.
4776 * sysdeps/ia64/fpu/w_fmod.c: New file.
4777 * sysdeps/ia64/fpu/w_fmodf.c: New file.
4778 * sysdeps/ia64/fpu/w_fmodl.c: New file.
4779 * sysdeps/ia64/fpu/w_hypot.c: New file.
4780 * sysdeps/ia64/fpu/w_hypotf.c: New file.
4781 * sysdeps/ia64/fpu/w_hypotl.c: New file.
4782 * sysdeps/ia64/fpu/w_log.c: New file.
4783 * sysdeps/ia64/fpu/w_log10.c: New file.
4784 * sysdeps/ia64/fpu/w_log10f.c: New file.
4785 * sysdeps/ia64/fpu/w_log10l.c: New file.
4786 * sysdeps/ia64/fpu/w_logf.c: New file.
4787 * sysdeps/ia64/fpu/w_logl.c: New file.
4788 * sysdeps/ia64/fpu/w_pow.c: New file.
4789 * sysdeps/ia64/fpu/w_powf.c: New file.
4790 * sysdeps/ia64/fpu/w_powl.c: New file.
4791 * sysdeps/ia64/fpu/w_remainder.c: New file.
4792 * sysdeps/ia64/fpu/w_remainderf.c: New file.
4793 * sysdeps/ia64/fpu/w_remainderl.c: New file.
4794 * sysdeps/ia64/fpu/w_scalb.c: New file.
4795 * sysdeps/ia64/fpu/w_scalbf.c: New file.
4796 * sysdeps/ia64/fpu/w_scalbl.c: New file.
4797 * sysdeps/ia64/fpu/w_sqrt.c: New file.
4798 * sysdeps/ia64/fpu/w_sqrtf.c: New file.
4799 * sysdeps/ia64/fpu/w_sqrtl.c: New file.
4800 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
4802 * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
4803 Change FP_ILOGBNAN for new implementation.
4804 * Verions.def: Add 2.2.3 versions.
4806 2001-02-18 Ulrich Drepper <drepper@redhat.com>
4808 * math/libm-test.inc (scalb_test): Require invalid exception being
4809 raised for invalid parameters.
4810 * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
4811 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4812 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4814 2001-02-18 Mark Kettenis <kettenis@gnu.org>
4816 * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
4818 (__get_avphys_pages): Likewise.
4820 2001-02-18 Ulrich Drepper <drepper@redhat.com>
4822 * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
4823 * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
4824 * sysdeps/i386/fpu/e_powf.S: Likewise.
4825 * sysdeps/i386/fpu/e_powl.S: Likewise.
4827 * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
4829 2001-02-17 Ulrich Drepper <drepper@redhat.com>
4831 * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
4833 * sysdeps/generic/s_exp2l.c: Renamed to...
4834 * sysdeps/generic/e_exp2l.c: ...this. New file.
4835 * sysdeps/i386/fpu/s_exp2.S: Renamed to...
4836 * sysdeps/i386/fpu/e_exp2.S: ...this. New file.
4837 * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
4838 * sysdeps/i386/fpu/e_exp2f.S: ...this. New file.
4839 * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
4840 * sysdeps/i386/fpu/e_exp2l.S: ...this. New file.
4841 * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
4842 * sysdeps/ieee754/flt-32/e_exp2f.c: ...this. New file.
4843 * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
4844 * sysdeps/ieee754/dbl-64/e_exp2.c: ...this. New file.
4845 * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
4846 * sysdeps/m68k/fpu/e_exp2.c: ...this. New file.
4847 * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
4848 * sysdeps/m68k/fpu/e_exp2f.c: ...this. New file.
4849 * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
4850 * sysdeps/m68k/fpu/e_exp2l.c: ...this. New file.
4852 2001-02-17 Andreas Jaeger <aj@suse.de>
4854 * configure.in: Allow gcc 3.
4856 2001-02-16 Ulrich Drepper <drepper@redhat.com>
4858 * math/w_acos.c: Move to ...
4859 * sysdeps/generic/w_acos.c: ...here. New file.
4860 * math/w_acosf.c: Move to ...
4861 * sysdeps/generic/w_acosf.c: ...here. New file.
4862 * math/w_acosh.c: Move to ...
4863 * sysdeps/generic/w_acosh.c: ...here. New file.
4864 * math/w_acoshf.c: Move to ...
4865 * sysdeps/generic/w_acoshf.c: ...here. New file.
4866 * math/w_acoshl.c: Move to ...
4867 * sysdeps/generic/w_acoshl.c: ...here. New file.
4868 * math/w_acosl.c: Move to ...
4869 * sysdeps/generic/w_acosl.c: ...here. New file.
4870 * math/w_asin.c: Move to ...
4871 * sysdeps/generic/w_asin.c: ...here. New file.
4872 * math/w_asinf.c: Move to ...
4873 * sysdeps/generic/w_asinf.c: ...here. New file.
4874 * math/w_asinl.c: Move to ...
4875 * sysdeps/generic/w_asinl.c: ...here. New file.
4876 * math/w_atan2.c: Move to ...
4877 * sysdeps/generic/w_atan2.c: ...here. New file.
4878 * math/w_atan2f.c: Move to ...
4879 * sysdeps/generic/w_atan2f.c: ...here. New file.
4880 * math/w_atan2l.c: Move to ...
4881 * sysdeps/generic/w_atan2l.c: ...here. New file.
4882 * math/w_atanh.c: Move to ...
4883 * sysdeps/generic/w_atanh.c: ...here. New file.
4884 * math/w_atanhf.c: Move to ...
4885 * sysdeps/generic/w_atanhf.c: ...here. New file.
4886 * math/w_atanhl.c: Move to ...
4887 * sysdeps/generic/w_atanhl.c: ...here. New file.
4888 * math/w_cosh.c: Move to ...
4889 * sysdeps/generic/w_cosh.c: ...here. New file.
4890 * math/w_coshf.c: Move to ...
4891 * sysdeps/generic/w_coshf.c: ...here. New file.
4892 * math/w_coshl.c: Move to ...
4893 * sysdeps/generic/w_coshl.c: ...here. New file.
4894 * math/w_drem.c: Move to ...
4895 * sysdeps/generic/w_drem.c: ...here. New file.
4896 * math/w_dremf.c: Move to ...
4897 * sysdeps/generic/w_dremf.c: ...here. New file.
4898 * math/w_dreml.c: Move to ...
4899 * sysdeps/generic/w_dreml.c: ...here. New file.
4900 * math/w_exp10.c: Move to ...
4901 * sysdeps/generic/w_exp10.c: ...here. New file.
4902 * math/w_exp10f.c: Move to ...
4903 * sysdeps/generic/w_exp10f.c: ...here. New file.
4904 * math/w_exp10l.c: Move to ...
4905 * sysdeps/generic/w_exp10l.c: ...here. New file.
4906 * math/w_exp2.c: Move to ...
4907 * sysdeps/generic/w_exp2.c: ...here. New file.
4908 * math/w_exp2f.c: Move to ...
4909 * sysdeps/generic/w_exp2f.c: ...here. New file.
4910 * math/w_exp2l.c: Move to ...
4911 * sysdeps/generic/w_exp2l.c: ...here. New file.
4912 * math/w_fmod.c: Move to ...
4913 * sysdeps/generic/w_fmod.c: ...here. New file.
4914 * math/w_fmodf.c: Move to ...
4915 * sysdeps/generic/w_fmodf.c: ...here. New file.
4916 * math/w_fmodl.c: Move to ...
4917 * sysdeps/generic/w_fmodl.c: ...here. New file.
4918 * math/w_hypot.c: Move to ...
4919 * sysdeps/generic/w_hypot.c: ...here. New file.
4920 * math/w_hypotf.c: Move to ...
4921 * sysdeps/generic/w_hypotf.c: ...here. New file.
4922 * math/w_hypotl.c: Move to ...
4923 * sysdeps/generic/w_hypotl.c: ...here. New file.
4924 * math/w_j0.c: Move to ...
4925 * sysdeps/generic/w_j0.c: ...here. New file.
4926 * math/w_j0f.c: Move to ...
4927 * sysdeps/generic/w_j0f.c: ...here. New file.
4928 * math/w_j0l.c: Move to ...
4929 * sysdeps/generic/w_j0l.c: ...here. New file.
4930 * math/w_j1.c: Move to ...
4931 * sysdeps/generic/w_j1.c: ...here. New file.
4932 * math/w_j1f.c: Move to ...
4933 * sysdeps/generic/w_j1f.c: ...here. New file.
4934 * math/w_j1l.c: Move to ...
4935 * sysdeps/generic/w_j1l.c: ...here. New file.
4936 * math/w_jn.c: Move to ...
4937 * sysdeps/generic/w_jn.c: ...here. New file.
4938 * math/w_jnf.c: Move to ...
4939 * sysdeps/generic/w_jnf.c: ...here. New file.
4940 * math/w_jnl.c: Move to ...
4941 * sysdeps/generic/w_jnl.c: ...here. New file.
4942 * math/w_lgamma.c: Move to ...
4943 * sysdeps/generic/w_lgamma.c: ...here. New file.
4944 * math/w_lgammaf.c: Move to ...
4945 * sysdeps/generic/w_lgammaf.c: ...here. New file.
4946 * math/w_lgammaf_r.c: Move to ...
4947 * sysdeps/generic/w_lgammaf_r.c: ...here. New file.
4948 * math/w_lgammal.c: Move to ...
4949 * sysdeps/generic/w_lgammal.c: ...here. New file.
4950 * math/w_lgammal_r.c: Move to ...
4951 * sysdeps/generic/w_lgammal_r.c: ...here. New file.
4952 * math/w_lgamma_r.c: Move to ...
4953 * sysdeps/generic/w_lgamma_r.c: ...here. New file.
4954 * math/w_log10.c: Move to ...
4955 * sysdeps/generic/w_log10.c: ...here. New file.
4956 * math/w_log10f.c: Move to ...
4957 * sysdeps/generic/w_log10f.c: ...here. New file.
4958 * math/w_log10l.c: Move to ...
4959 * sysdeps/generic/w_log10l.c: ...here. New file.
4960 * math/w_log.c: Move to ...
4961 * sysdeps/generic/w_log.c: ...here. New file.
4962 * math/w_logf.c: Move to ...
4963 * sysdeps/generic/w_logf.c: ...here. New file.
4964 * math/w_logl.c: Move to ...
4965 * sysdeps/generic/w_logl.c: ...here. New file.
4966 * math/w_pow.c: Move to ...
4967 * sysdeps/generic/w_pow.c: ...here. New file.
4968 * math/w_powf.c: Move to ...
4969 * sysdeps/generic/w_powf.c: ...here. New file.
4970 * math/w_powl.c: Move to ...
4971 * sysdeps/generic/w_powl.c: ...here. New file.
4972 * math/w_remainder.c: Move to ...
4973 * sysdeps/generic/w_remainder.c: ...here. New file.
4974 * math/w_remainderf.c: Move to ...
4975 * sysdeps/generic/w_remainderf.c: ...here. New file.
4976 * math/w_remainderl.c: Move to ...
4977 * sysdeps/generic/w_remainderl.c: ...here. New file.
4978 * math/w_scalb.c: Move to ...
4979 * sysdeps/generic/w_scalb.c: ...here. New file.
4980 * math/w_scalbf.c: Move to ...
4981 * sysdeps/generic/w_scalbf.c: ...here. New file.
4982 * math/w_scalbl.c: Move to ...
4983 * sysdeps/generic/w_scalbl.c: ...here. New file.
4984 * math/w_sinh.c: Move to ...
4985 * sysdeps/generic/w_sinh.c: ...here. New file.
4986 * math/w_sinhf.c: Move to ...
4987 * sysdeps/generic/w_sinhf.c: ...here. New file.
4988 * math/w_sinhl.c: Move to ...
4989 * sysdeps/generic/w_sinhl.c: ...here. New file.
4990 * math/w_sqrtl.c: Move to ...
4991 * sysdeps/generic/w_sqrtl.c: ...here. New file.
4992 * math/w_tgamma.c: Move to ...
4993 * sysdeps/generic/w_tgamma.c: ...here. New file.
4994 * math/w_tgammaf.c: Move to ...
4995 * sysdeps/generic/w_tgammaf.c: ...here. New file.
4996 * math/w_tgammal.c: Move to ...
4997 * sysdeps/generic/w_tgammal.c: ...here. New file.
4999 * locale/programs/ld-address.c (address_finish): Add 'S' to allow
5000 formats for postal_fmt.
5002 2001-02-16 Jakub Jelinek <jakub@redhat.com>
5004 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
5005 __ftruncate64 alias.
5006 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
5009 2001-02-15 David Mosberger <davidm@hpl.hp.com>
5011 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
5012 do "loadrs". Writing to bspstore already takes care of
5013 invalidating the "clean" partition.
5015 2001-02-16 Andreas Schwab <schwab@suse.de>
5017 * sysdeps/m68k/fpu/s_nextafterl.c: New file.
5018 * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
5020 2001-02-15 Jakub Jelinek <jakub@redhat.com>
5022 * posix/regex.c (init_syntax_once): Add prototype.
5023 (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
5024 (re_search_2): Avoid warning.
5025 (count_mbs_length): Add prototype.
5026 * posix/tst-regex3.c: New file.
5027 * posix/Makefile (tests): Add bug-regex3.
5029 2001-02-15 Ulrich Drepper <drepper@redhat.com>
5031 * stdio-common/Makefile (tests): Add tst-gets.
5032 * stdio-common/tst-gets.c: New file.
5033 * stdio-common/tst-gets.input: New file.
5035 * elf/elf.h (DT_CHECKSUM): Define.
5037 * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
5039 * sysdeps/generic/strtoull.c: Likewise.
5041 2001-02-14 Wolfram Gloger <wg@malloc.de>
5043 * malloc/malloc.c (new_heap): When allocating large chunk aligned
5044 to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
5047 2001-02-14 Ulrich Drepper <drepper@redhat.com>
5049 * math/libm-test.inc (j0_test): Check whether sincos is available.
5050 (j1_test): Likewise.
5051 (jn_test): Likewise.
5052 (y0_test): Likewise.
5053 (y1_test): Likewise.
5054 (yn_test): Likewise.
5056 * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
5057 fake filesystem routines to handle this.
5059 * time/sys/time.h: Make settimeofday and adjtime available if
5062 * time/sys/time.h: Make timer* macros available for BSD.
5064 * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
5065 Patch by Yong Li <rigel863@yahoo.com>.
5067 * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
5070 * posix/Makefile (tests): Add tst-gnuglob.
5071 * posix/tst-gnuglob.c: New file.
5073 2001-02-13 H.J. Lu <hjl@gnu.org>
5075 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
5077 2001-02-13 Ulrich Drepper <drepper@redhat.com>
5079 * locale/programs/ld-paper.c (paper_output): Pretty printing.
5081 * iconvdata/Makefile (modules): Add GBBIG5.
5082 (distribute): Add gbbig5.c.
5083 * iconvdata/gconv-modules: Add entries for GBBIG5 module.
5085 * iconvdata/gbbig5.c: New file.
5086 Contributed by Yong Li <rigel863@yahoo.com>.
5088 2001-02-13 Philip Blundell <pb@futuretv.com>
5090 * manual/crypt.texi: Remove outdated references to crypt add-on.
5092 * manual/creature.texi: Improve wording slightly.
5094 2001-02-13 Ulrich Drepper <drepper@redhat.com>
5096 * io/ftw.c: Always use readdir64.
5097 * io/ftw64.c: Likewise.
5098 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5099 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5100 * sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir
5101 callback to dirent. Still allow compiling outside glibc.
5102 * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
5103 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5105 * malloc/mtrace.c: Use fopen64.
5106 * posix/spawni.c: Use __open64.
5107 * sysdeps/unix/opendir.c: Likewise.
5108 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
5110 * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
5112 * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
5113 * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
5114 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5115 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
5117 * resolv/res_data.c: Add cast to avoid warning.
5119 * include/unistd.h: Declare __ftruncate64.
5121 * sysdeps/generic/utmp_file.c: Use LFS functions and types.
5123 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
5126 2001-02-13 Andreas Jaeger <aj@suse.de>
5128 * login/getutent_r.c: Include <stdlib.h> for NULL.
5129 * login/getutid_r.c: Likewise.
5131 2001-02-12 Ulrich Drepper <drepper@redhat.com>
5133 * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
5134 * sysdeps/dbl-64/e_j1.c: Likewise.
5135 * sysdeps/dbl-64/e_jn.c: Likewise.
5136 * sysdeps/flt-32/e_j0f.c: Likewise.
5137 * sysdeps/flt-32/e_j1f.c: Likewise.
5138 * sysdeps/ldbl-96/e_j0l.c: Likewise.
5140 2000-12-02 H.J. Lu <hjl@gnu.org>
5142 * resolv/res_libc.c (res_init): Don't make it default.
5144 2001-02-12 Ulrich Drepper <drepper@redhat.com>
5146 * manual/debug.texi: Improved the wording.
5147 Patch by Philip Blundell <pb@futuretv.com>.
5149 2001-02-12 Andreas Jaeger <aj@suse.de>
5151 * posix/Makefile (tests): Don't run bug-regex2 when
5154 * libio/Makefile (tests): Don't run test-freopen when
5157 * manual/stdio.texi (Streams and I18N): Fix typos.
5159 2001-02-12 Ulrich Drepper <drepper@redhat.com>
5161 * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
5163 * math/libm-test.inc (j0_test): Make expected results long double
5165 (y0_test): Likewise.
5167 * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
5168 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5170 2001-02-11 Jakub Jelinek <jakub@redhat.com>
5172 * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
5173 which was exported from libc.
5174 * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
5176 2001-02-12 Andreas Jaeger <aj@suse.de>
5178 * manual/arith.texi (Parsing of Integers): Fix some wordings.
5180 2001-02-11 Ulrich Drepper <drepper@redhat.com>
5182 * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
5183 and get_avphys_page to long int.
5184 * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
5185 * include/sys/sysinfo.h: Likewise.
5186 * sysdeps/generic/sys/sysinfo.h: Likewise.
5187 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
5189 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
5190 cannot return as many values as the user asked for.
5192 2001-02-11 Andreas Jaeger <aj@suse.de>
5194 * manual/resource.texi (Memory Resources): Fix typo.
5196 * libio/Makefile ($(objpfx)test-freopen.out): Pass
5199 * libio/test-freopen.sh: Use run_program_prefix.
5201 2001-02-10 Andreas Jaeger <aj@suse.de>
5203 * stdlib/Makefile (tests): Don't run tst-fmtmsg when
5205 ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
5207 * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
5210 * elf/Makefile (tests): Only run tst-pathopt with shared libs.
5212 * posix/Makefile: Fix typo, it's build-static-nss.
5214 * iconv/Makefile (extra-objs): New.
5216 2001-02-10 Mark Kettenis <kettenis@gnu.org>
5218 * sysdeps/unix/stime.c: Include <time.h>.
5220 * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
5222 2001-02-10 Andreas Jaeger <aj@suse.de>
5224 * manual/string.texi (Search Functions): Fix typo.
5226 2001-02-10 Mark Kettenis <kettenis@gnu.org>
5228 * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
5229 (timeval_to_clock_t): Add clk_tck argument and use that instead of
5231 (__times): Use __getclktck to get the number of clock ticks per
5232 second and use its return value instead of CLK_TCK.
5234 2001-02-10 Mark Kettenis <kettenis@gnu.org>
5236 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
5238 2001-02-10 Mark Kettenis <kettenis@gnu.org>
5240 * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
5242 2001-02-10 Andreas Jaeger <aj@suse.de>
5244 * wctype/wcfuncs.c (func): Add prototype declarations to avoid
5247 2001-02-09 Ulrich Drepper <drepper@redhat.com>
5249 * posix/Makefile: Add rules to build and run bug-regex2.
5250 * posix/bug-regex2.c: New file.
5252 2001-02-10 Jakub Jelinek <jakub@redhat.com>
5254 * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
5255 (regex_compile): Likewise.
5256 (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
5257 (re_match_2_internal): Use just is_binary instead of two variables.
5258 Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
5260 2001-02-09 Ulrich Drepper <drepper@redhat.com>
5262 * version.h (VERSION): Bump to 2.2.2.
5264 * iconv/Makefile (distribute): Add iconv_charmap.c and
5266 * elf/Makefile (distribute): Add firstobj.c.
5267 * Makefile (distribute): Add include/pthread.h.
5269 * configure.in: Require makeinfo version 4.
5271 * libio/tst_wscanf.c (main): Add cast to avoid warning.
5272 * libio/tst_swscanf.c (main): Likewise..
5274 2001-02-09 Jakub Jelinek <jakub@redhat.com>
5276 * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
5277 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
5279 * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
5280 if not RTLD_BOOTSTRAP.
5281 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5282 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5284 2001-02-09 Ulrich Drepper <drepper@redhat.com>
5286 * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use
5287 lr_ungetc to push back last read character.
5288 * locale/programs/linereader.h (lr_ungetc): Don't push back is
5290 (lr_ignore_rest): Don't warn about garbage if it is really the end
5293 * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
5296 2001-02-08 Ulrich Drepper <drepper@redhat.com>
5298 * Makerules (build-shlib): Work around different order of
5299 processing of -B option in different gcc versions.
5301 * posix/regex.c: Fix alignment problem.
5302 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5304 * sysdeps/alpha/strrchr.S: Little optimization.
5305 Patch by Richard Henderson <rth@redhat.com>.
5307 * sysdeps/alpha/alphaev67/strrchr.S: New file.
5308 Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
5310 2001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
5312 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
5313 in the assembler end directive.
5315 2001-02-08 Andreas Jaeger <aj@suse.de>
5317 * manual/stdio.texi (Closing Streams): Fix typos.
5319 2001-02-07 Ulrich Drepper <drepper@redhat.com>
5321 * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
5322 Patch by Richard Henderson <rth@redhat.com>.
5323 Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
5325 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
5326 pointer in FILE structure before calling _IO_init.
5327 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
5328 strfmon_l if necessary.
5329 Reported by Jury Gerold <gjury@grips.com>.
5331 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
5332 Patch by Pekka.Pietikainen@cern.ch.
5334 * posix/regex.c: Correct several problems with 64-bit architectures
5335 introduced in the MBS changes.
5336 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5338 2001-02-07 Jakub Jelinek <jakub@redhat.com>
5340 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
5342 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
5344 2001-02-07 Andreas Jaeger <aj@suse.de>
5346 * manual/install.texi (Tools for Compilation): Fix typo.
5347 Reported by Pavel Machek <pavel@bug.ucw.cz>.
5349 2001-02-07 Ulrich Drepper <drepper@redhat.com>
5351 * stdlib/strtod.c: Never stop prematurely reading digits before the
5352 decimal point is found. Compute exponent limit for negative exponents
5353 correctly. For numbers ending in all zeros eat the zeros even before
5354 the decimal point if the exponent is negative [PR libc/2072].
5355 * stdlib/Makefile (tests): Add bug-strtod.
5356 * stdlib/bug-strtod.c: New file.
5358 2001-02-07 Andreas Jaeger <aj@suse.de>
5360 * posix/bug-regex1.c: Include <wchar.h> for fwide.
5362 2001-02-06 Ulrich Drepper <drepper@redhat.com>
5364 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
5366 (compile_range): Handle index being passed, not pointer.
5367 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5369 * posix/regex.c: Fix a cast in the code for bracket handling which
5370 caused 8-bit uncleanliness.
5371 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
5373 * posix/Makefile (tests): Add bug-regex1.
5374 * posix/bug-regex1.c: New file.
5375 Contributed by Jim Meyering <jim@meyering.net>.
5377 * posix/regex.c: Many cleanups for incorrect format strings.
5379 2001-02-06 Andreas Jaeger <aj@suse.de>
5381 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
5383 2001-02-06 Ulrich Drepper <drepper@redhat.com>
5385 * locale/programs/locale.c (write_locales): Use scandir to read
5386 directory so that the entries are sorted.
5388 2001-02-06 Andreas Jaeger <aj@suse.de>
5390 * include/pthread.h: New file.
5392 * wctype/wctype.h: Move internal interfaces from here to...
5393 * include/wctype.h: ...here.
5395 * wcsmbs/wchar.h: Move __wcslen from here to...
5396 * include/wchar.h: ...here.
5398 * posix/sys/wait.h: Move __wait from here to...
5399 * include/sys/wait.h: ...here.
5401 * string/string.h: Move __ffs and __strerror_r from here to...
5402 * include/string.h: ...here.
5404 * stdlib/stdlib.h: Move __on_exit from here to...
5405 * include/stdlib.h: ...here.
5407 * libio/stdio.h: Move __vsnprintf from here to...
5408 * include/stdio.h: ...here.
5410 2001-02-06 Andreas Schwab <schwab@suse.de>
5412 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
5415 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
5418 2001-02-06 Ulrich Drepper <drepper@redhat.com>
5420 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
5422 2001-02-06 Andreas Jaeger <aj@suse.de>
5424 * elf/firstobj.c: Add prototype.
5426 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
5427 (truncate_wchar): Likewise.
5429 2001-02-06 Ulrich Drepper <drepper@redhat.com>
5431 * locale/programs/locale.c: Implement --verbose option for -a
5432 which prints detailed information about the locales.
5434 2001-02-05 Ulrich Drepper <drepper@redhat.com>
5436 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
5437 variable to uint32_t.
5438 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
5440 2001-02-04 Bruno Haible <haible@clisp.cons.org>
5442 * locale/C-translit.h.in: Add transliterations for CJK units of
5445 2001-02-05 Ulrich Drepper <drepper@redhat.com>
5447 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
5448 string. Include <inttypes.h> instead of <stdint.h>.
5450 * localedata/Makefile (tests): Add bug-iconv-trans.
5451 Define bug-iconv-trans-ENV.
5452 * localedata/bug-iconv-trans.c: New file.
5454 2001-02-04 Bruno Haible <haible@clisp.cons.org>
5456 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
5457 pointer, to avoid accumulating output from incomplete (unsuccessful)
5458 transliteration attempts.
5460 2001-02-05 Ulrich Drepper <drepper@redhat.com>
5462 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
5463 string. Include <inttypes.h> instead of <stdint.h>.
5465 * configure.in: Add check for bison.
5466 * config.make.in: Define BISON variable.
5467 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
5468 Rename YFLAGS to BISONFLAGS.
5470 2001-02-05 Andreas Jaeger <aj@suse.de>
5472 * io/test-lfs.c (do_test): Test lseek64 return value, call
5474 (test_ftello): New function to test ftello64 and fseeko64.
5476 * signal/signal.h: Move __sigaction from here to...
5477 * include/signal.h: ...here.
5479 * io/fcntl.h: Move __fcntl and __open to...
5480 * include/fcntl.h: ...here.
5482 2001-02-04 Philip Blundell <philb@gnu.org>
5484 * configure.in: Distinguish ARM from Thumb.
5486 2001-02-04 Philip Blundell <philb@gnu.org>
5488 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
5489 PC24 relocs with negative value.
5491 2001-02-04 Ulrich Drepper <drepper@redhat.com>
5493 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
5494 files in locale/programs. Add CFLAGS definition to allow compiling
5496 * iconv/dummy-repertoire.c: New file.
5497 * iconv/iconv_charmap.c: New file.
5498 * iconv/iconv_prog.h: New file.
5499 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
5500 (main): If parameter for -f and -t contain slashes try first to resolve
5501 the strings as filenames of charmap files. Use them for conversion
5503 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
5504 iconv getting charmap names as parameters.
5505 * locale/programs/linereader.c (lr_token): Take extra parameters
5506 verbose and pass it to get_string.
5507 (get_string): Take extra parameters verbose.
5508 * locale/programs/charmap.c (parse_charmap): Take extra parameters
5509 verbose and be_quiet. Change all callers of lr_token and
5511 * locale/programs/charmap.h: Likewise.
5512 * locale/programs/ld-address.c: Likewise.
5513 * locale/programs/ld-collate.c: Likewise.
5514 * locale/programs/ld-ctype.c: Likewise.
5515 * locale/programs/ld-identification.c: Likewise.
5516 * locale/programs/ld-measurement.c: Likewise.
5517 * locale/programs/ld-messages.c: Likewise.
5518 * locale/programs/ld-monetary.c: Likewise.
5519 * locale/programs/ld-name.c: Likewise.
5520 * locale/programs/ld-numeric.c: Likewise.
5521 * locale/programs/ld-paper.c: Likewise.
5522 * locale/programs/ld-telephone.c: Likewise.
5523 * locale/programs/ld-time.c: Likewise.
5524 * locale/programs/linereader.c: Likewise.
5525 * locale/programs/linereader.h: Likewise.
5526 * locale/programs/localedef.c: Likewise.
5527 * locale/programs/locfile.c: Likewise.
5528 * locale/programs/locfile.h: Likewise.
5529 * locale/programs/repertoire.c: Likewise.
5531 2001-02-03 Ulrich Drepper <drepper@redhat.com>
5533 * iconv/iconv_prog.c (main): If output file name is "-" write to
5535 (main): If -f or -t argument is missing use charset of the current
5538 2001-02-03 Andreas Jaeger <aj@suse.de>
5540 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
5541 boundary for SSE/SSE-2 alignment.
5543 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
5546 2001-02-03 Ulrich Drepper <drepper@redhat.com>
5548 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
5549 Remove comma at end of enum.
5551 * elf/dl-init.c: Add a few __builtin_expect.
5553 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
5555 2001-02-02 Ulrich Drepper <drepper@redhat.com>
5557 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
5558 errno is ECONNREFUSED.
5560 * posix/Makefile: Define MBS_SUPPORT for regex.c.
5561 * posix/regex.c: Implement multibyte character handling.
5562 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
5564 * string/tst-svc.input: Add two more test cases.
5565 * string/tst-svc.expect: Modify to reflect new test cases.
5567 2001-02-01 Jakub Jelinek <jakub@redhat.com>
5569 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
5570 tp->name tests with tp->name[0] tests.
5572 2001-01-29 Ben Collins <bcollins@debian.org>
5574 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
5575 Fix check for name == NULL.
5577 2001-02-01 Ulrich Drepper <drepper@redhat.com>
5579 * elf/Makefile: Add rules to build and run initfirst test.
5580 * elf/initfirst.c: New file.
5581 * elf/firstobj.c: New file.
5583 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
5584 * configure.in: Test for -z initfirst linker option.
5585 * config.make.in: Add have-z-initfirst.
5586 * elf/dl-init.c (_dl_init): Split out actual initialization code in
5587 new function call_init. If _dl_initfirst is non-NULL initialize first.
5588 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
5589 remember object in _dl_initfirst.
5590 * elf/soinit.c: Remove special support for calling
5591 __pthread_initialize_minimal.
5593 * conform/conformtest.pl: Add missing $prepend in type test.
5595 2001-01-31 Ulrich Drepper <drepper@redhat.com>
5597 * elf/elf.h (SHT_CHECKSUM): New definition.
5599 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
5600 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5601 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
5603 2001-01-31 Mark Kettenis <kettenis@gnu.org>
5605 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
5606 to get definition of `struct timeval'.
5608 2001-01-31 Ulrich Drepper <drepper@redhat.com>
5610 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
5611 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
5613 2001-01-30 Ulrich Drepper <drepper@redhat.com>
5615 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
5618 * nis/nis_findserv.c: Include <time.h>.
5620 2001-01-30 Yong Li <yong.li@asu.edu>
5622 * iconv/iconv_prog.c (main): Correct error handling method name.
5624 2001-01-29 Ben Collins <bcollins@debian.org>
5626 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
5627 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
5628 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
5629 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
5631 2001-01-30 Ulrich Drepper <drepper@redhat.com>
5633 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
5634 Patch by Marko Myllynen <myllynen@lut.fi>.
5636 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
5637 (int instead of char).
5638 (__strpbrk_c3): Likewise.
5639 Reported by GOTO Masanori <gotom@debian.or.jp>.
5641 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
5642 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
5643 * include/sys/socket.h: Add SA_LEN here for internal use.
5644 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
5646 2001-01-29 Ulrich Drepper <drepper@redhat.com>
5648 * malloc/Makefile: Don't build memusagestat if cross-compiling.
5650 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
5652 * math/libm-test.inc (rint_test): Add a few more tests for round
5655 2001-01-28 Ulrich Drepper <drepper@redhat.com>
5657 * conform/data/pthread.h-data: Correct return type of pthread_exit.
5659 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
5661 * conform/data/stdlib.h-data: Add _Exit.
5663 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
5664 if not already happened.
5665 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
5666 Don't include <limits.h> and <bits/sockaddr.h>.
5668 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
5670 * conform/data/spawn.h-data: Allow all of <sched.h>.
5672 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
5675 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
5676 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
5678 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
5680 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
5681 * libio/stdio.h: Define va_list correctly.
5683 * conform/data/pthread.h-data: Make priority protocol related
5684 functions optional. Fix typos.
5686 * posix/sched.h: Define sched_priority as __sched_priority.
5687 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
5688 to __sched_priority.
5689 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5691 2001-01-27 Ulrich Drepper <drepper@redhat.com>
5693 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
5696 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
5697 * sysdeps/unix/time.c: Likewise.
5699 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
5700 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
5701 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
5702 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
5703 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
5704 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
5705 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
5706 * time/time.h: Likewise.
5708 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
5709 * conform/data/complex.h-data: New file.
5710 * conform/data/tgmath.h-data: New file.
5712 * conform/data/wchar.h-data: Add missing functions.
5714 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
5716 * conform/data/termios.h-data: Add missing const in tcsetattr()
5719 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
5720 Don't define pid_t here.
5722 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
5724 * conform/data/sys/time.h-data: Allow sys/select.h.
5725 * conform/data/sys/un.h-data: Fix typo.
5726 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
5727 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
5729 * sysdeps/unix/clock_nanosleep.c: Likewise.
5730 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
5731 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
5732 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
5733 * sysdeps/unix/clock_settime.c: Likewise.
5735 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
5736 * login/getutent.c: Likewise.
5737 * login/getutid.c: Likewise.
5738 * login/getutline.c: Likewise.
5740 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
5742 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
5743 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
5744 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
5745 f_fsid field after change in struct statvfs.
5746 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
5747 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
5748 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
5750 * conform/data/sys/stat.h-data: Remove isfdtype. Use
5753 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
5754 recvfrom, send, and socketpair prototypes. Add allow lines.
5755 * socket/sys/socket.h: Include <sys/uio.h>.
5756 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
5757 Fix type of second parameter of listen.
5758 Don't declare isfdtype unless __USE_MISC.
5759 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
5760 * sysdeps/mach/hurd/listen.c: Likewise.
5761 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
5762 ss_family and __ss_family.
5763 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
5764 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5765 (struct msghdr): Change type of msg_iovlen to int and type of
5766 msg_controllen to socklen_t.
5767 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
5768 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
5769 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
5770 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
5771 (rresvport_af): Likewise.
5773 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
5774 * conform/conformtest.pl: Implement handling of symbol.
5776 * signal/signal.h: Fix handling of __need_* symbols.
5777 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
5778 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
5779 * include/sys/select.h: Use fd_set not __fd_set.
5780 * sysdeps/generic/bits/select.h: Likewise.
5781 * sysdeps/i386/bits/select.h: Likewise.
5782 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
5783 __FDELT, __FDMASK, and __fd_set here.
5784 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
5785 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
5786 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5787 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5788 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
5789 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5790 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5791 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5792 * time/sys/time.h: Define struct timeval before including <time.h>
5795 * conform/data/sys/time.h-data: fd_set is a typedef.
5796 * conform/data/sys/select.h-data: New file.
5797 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
5798 * conform/conformtest.pl (@headers): Add sys/select.h.
5799 (type, optional-type): Unless testing a typedef instantiate object.
5800 Implement optional-function.
5802 * math/test-misc.c: Include <float.h>.
5804 2001-01-27 Andreas Jaeger <aj@suse.de>
5806 * misc/efgcvt_r.c: Include <float.h>.
5808 2001-01-26 Ulrich Drepper <drepper@redhat.com>
5810 * conform/data/stdlib.h-data: Account for XPG6 changes.
5811 * stdlib/stdlib.h (__random): Change return value type to long.
5812 (posix_memalign): Cleanup parameter names.
5813 (setenv, unsetenv): Make available for __USE_XOPEN2K.
5814 Change return type of unsetenv to int.
5815 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
5816 * include/stdlib.h: Change return type of unsetenv to int.
5817 Change return type of random to long int.
5818 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
5819 Return -1 and set errno if parameter is invalid.
5820 * stdlib/random.c (__random): Change return value type to long.
5822 * conform/data/stdio.h-data: Account for changes in XPG6.
5824 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
5827 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
5828 * conform/data/signal.h-data: Fix sigev_notify_function entry.
5829 Fix typo (SIGVALRM -> SIGVTALRM).
5830 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
5832 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
5833 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5834 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5835 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5836 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5838 * conform/conformtest.pl: Implement optional-element. Define
5839 $mustprepend{"sched.h"}.
5840 * conform/data/sched.h-data: Make sporadic scheduler definitions
5843 * pwd/pwd.h: Don't define getpwent_r for XPG.
5845 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
5846 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
5847 * sysdeps/mach/hurd/poll.c: Likewise.
5848 * sysdeps/unix/bsd/poll.c: Likewise.
5849 * sysdeps/unix/sysv/linux/poll.c: Likewise.
5850 * sysdeps/unix/sysv/aix/poll.c: Likewise.
5851 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
5852 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
5853 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
5854 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
5855 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
5856 * conform/data/poll.h-data: Fix typo in poll prototype.
5858 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
5860 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
5862 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
5864 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
5866 * conform/conformtest.pl: Implement optional-type.
5868 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
5869 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
5870 defining uint32_t here. Define IPPORT_RESERVED.
5871 (struct hostent): Type of h_length element is int.
5872 (getnameinfo): Type of flags parameter is unsigned int.
5873 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
5874 * conform/data/netdb.h-data: Add many missing definitions.
5876 * conform/conformtest.pl: Implement optional-macro.
5877 * conform/data/math.h-data: Update for XPG6.
5879 * math/math.h (HUGE): Define as FLT_MAX value but don't use
5880 FLT_MAX. Don't include <float.h>.
5881 (MAXFLOAT): Likewise.
5883 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
5885 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
5887 * conform/data/limits.h-data: Mark constants as optional wherever
5890 * posix/bits/posix2_lim.h: Set correct values for
5891 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
5894 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
5897 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
5899 * conform/data/netinet/in.h-data: Add reserved prefixes.
5901 * conform/data/arpa/inet.h-data: Fix a few typos.
5903 2001-01-26 Andreas Jaeger <aj@suse.de>
5905 * sysdeps/generic/strtol.c: Include <locale.h>
5906 * stdlib/strtod.c: Likewise
5907 * stdlib/strfmon.c: Likewise.
5908 * string/strcoll.c: Likewise.
5909 * string/strxfrm.c: Likewise.
5910 * wctype/wcfuncs_l.c: Likewise.
5911 * wctype/wctype_l.c: Likewise.
5912 * wctype/wctrans_l.c: Likewise.
5914 * include/bits/locale.h: New file.
5916 2001-01-26 Ulrich Drepper <drepper@redhat.com>
5918 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
5921 * locale/Makefile (headers): Add bits/locale.h.
5922 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
5923 and use __LC_ constants instead of LC_.
5924 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
5925 using __LC_ constants.
5926 * locale/bits/locale.h: New file.
5927 * locale/loadlocale.c: Include <locale.h>.
5928 * locale/nl_langinfo.h: Likewise.
5930 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
5932 * io/sys/stat.h: Define S_IFSOCK for XPG6.
5934 * conform/data/fcntl.h-data: posix_madvise is not expected here.
5936 * conform/conformtest.pl: Fix handling of macro-str.
5938 * conform/data/inttypes.h-data: Add missing definition and all of
5941 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
5943 2001-01-25 Ulrich Drepper <drepper@redhat.com>
5945 * conform/conformtest.pl (@headers): Add stdint.h.
5946 * conform/data/stdint.h-data: New file.
5948 * conform/conformtest.pl: Recognize options --headers and
5949 --dialect. Add dialect-specific CFLAGS.
5951 * conform/conformtest.pl: Implement handling of recursive
5954 * conform/data/locale.h-data: Add new struct lconv members.
5956 * posix/wordexp.h: Correct definition of wordexp_t.
5957 * posix/wordexp.c: Moved to ...
5958 * sysdeps/generic/wordexp.c: ...here. New file.
5959 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
5960 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
5961 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
5962 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
5964 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
5965 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
5967 * math/tgmath.h: Pretty printing.
5969 * math/Makefile (tests): Add test-tgmath.
5970 (CFLAGS-test-tgmath.c): New variable.
5971 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
5973 * conform/conformtest.pl: Handle allow-header in secondary headers
5976 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
5979 * conform/data/netinet/in.h-data: Use correct comment character.
5980 * conform/data/sys/stat.h-data: Likewise.
5982 2001-01-25 Jakub Jelinek <jakub@redhat.com>
5984 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
5985 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
5986 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
5987 __builtin_classify_type, add ##f suffixes where appropriate.
5988 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
5989 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
5990 __builtin_classify_type.
5991 (fma): Fix spelling of first argument.
5993 2001-01-25 Ulrich Drepper <drepper@redhat.com>
5995 * conform/data/unistd.h-data: Mark functions removed in XPG6
5998 * posix/unistd.h: Don't make functions removed in XPG6 available if
6001 * conform/conformtest.pl: Implement optional-constant.
6002 * conform/data/unistd.h-data: Use optional-constant wherever
6005 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
6006 constants and add _SC_STREAMS.
6007 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6009 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
6010 make old name weak alias.
6011 * sysdeps/generic/statvfs64.c: Likewise.
6012 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
6013 make old name weak alias.
6014 * sysdeps/generic/fstatvfs64.c: Likewise.
6015 * include/sys/statvfs.h: New file.
6017 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
6018 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
6020 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
6021 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
6022 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
6023 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
6025 * conform/conformtest.pl: Run Unix tests for XPG6.
6026 Implement handling of known namespace violations.
6027 Improve printing of results.
6029 * posix/unistd.h (usleep): Correct return type.
6030 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
6031 * sysdeps/unix/bsd/usleep.c: Correct return type.
6032 * sysdeps/mach/usleep.c: Correct return type.
6033 * sysdeps/generic/usleep.c: Correct return type.
6035 * posix/unistd.h (sync): Correct return type.
6036 * sysdeps/generic/sync.c: Likewise.
6037 * sysdeps/mach/hurd/sync.c: Likewise.
6039 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
6041 * posix/unistd.h: Make seteuid and setegid available for XPG6.
6043 * wcsmbs/wchar.h: Get FILE definition for XPG5.
6045 * conform/data/ctype.h-data: Use correct comment form.
6046 * conform/data/errno.h-data: Likewise.
6047 * conform/data/math.h-data: Likewise.
6048 * conform/data/mqueue.h-data: Likewise.
6049 * conform/data/netdb.h-data: Likewise.
6050 * conform/data/pthread.h-data: Likewise.
6052 2001-01-24 Ulrich Drepper <drepper@redhat.com>
6054 * conform/data/wordexp.h-data: Fix typo.
6056 * conform/conformtest.pl: Handle allow-header correctly.
6058 * conform/data/time.h-data: Use correct comment form.
6060 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
6062 * configure.in: Comment out binutils version test.
6064 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
6066 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
6068 * stdlib/tst-strtod.c (locale_test): New function.
6069 (main): Call locale_test.
6070 * stdlib/Makefile (tst-strtod-ENV): New variable.
6072 2001-01-24 Mark Kettenis <kettenis@gnu.org>
6074 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
6075 declaration of value such that we actually return the value of the
6076 environment variable.
6078 2001-01-24 Andreas Jaeger <aj@suse.de>
6080 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
6082 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6084 * include/sys/sysctl.h: New file.
6086 2001-01-23 Andreas Jaeger <aj@suse.de>
6088 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
6091 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
6092 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
6093 closes PR libc/2039.
6095 * manual/install.texi (Tools for Compilation): Change required
6098 2001-01-22 Andreas Jaeger <aj@suse.de>
6100 * configure.in: Add test for new enough binutils version, move
6101 compiler/binutils test up.
6103 * Versions.def: Add version GLIBC_2.2.2.
6105 2001-01-21 Ulrich Drepper <drepper@redhat.com>
6107 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
6109 * iconvdata/testdata/IBM932: New file.
6110 * iconvdata/testdata/IBM932..UTF8: New file.
6111 * iconvdata/testdata/IBM943: New file.
6112 * iconvdata/testdata/IBM943..UTF8: New file.
6113 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
6115 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6117 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
6119 2001-01-21 Ulrich Drepper <drepper@redhat.com>
6121 * malloc/malloc.c: Remove a few unnecessary initializers of global
6124 2000-12-09 H.J. Lu <hjl@gnu.org>
6126 * nss/Makefile (routines): Add digits_dots.
6127 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
6128 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
6130 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
6132 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
6133 (TYPE_VAR_P): Likewise.
6134 (FLAGS_VAR): Likewise.
6135 (AF_VAR_P): Likewise.
6136 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6137 instead of including digits_dots.c.
6138 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
6139 (TYPE_VAR_P): Likewise.
6140 (FLAGS_VAR): Likewise.
6141 (AF_VAR_P): Likewise.
6142 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6143 instead of including digits_dots.c.
6145 2001-01-21 Ulrich Drepper <drepper@redhat.com>
6147 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
6149 2001-01-21 Andreas Jaeger <aj@suse.de>
6151 * elf/constload2.c: Add prototype for init.
6153 2001-01-21 Ulrich Drepper <drepper@redhat.com>
6155 * stdlib/stdlib.h (drand48_data): Make available only for
6156 __USE_MISC. Rename elements to protect namespace. Change type
6157 and position of a and init element.
6158 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
6159 differently. Adjust for drand48_data change. Don't compute a here,
6160 it comes from drand48_data.
6161 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
6162 differently. Adjust for drand48_data change. Compute a here.
6163 * stdlib/srand48_r.c: Likewise.
6164 * stdlib/drand48.c: Adjust for drand48_data change.
6165 * stdlib/lrand48.c: Likewise.
6166 * stdlib/mrand48.c: Likewise.
6167 * stdlib/seek48.c: Likewise.
6168 * stdlib/drand48_r.c: Likewise.
6169 * stdlib/lrand48_r.c: Likewise.
6170 * stdlib/mrand48_r.c: Likewise.
6171 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
6173 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
6174 * stdlib/jrand48_r.c: Likewise.
6176 * po/sv.po: Update from translation team.
6178 2001-01-21 Andreas Jaeger <aj@suse.de>
6180 * stdio-common/vfprintf.c (vfprintf): Add casts.
6182 2001-01-20 Ulrich Drepper <drepper@redhat.com>
6184 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
6186 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
6188 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
6189 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
6190 * iconvdata/ibm932.c: New file.
6191 * iconvdata/ibm932.h: New file.
6192 * iconvdata/ibm943.c: New file.
6193 * iconvdata/ibm943.h: New file.
6194 Patches by Masahide Washizawa <washi@jp.ibm.com>.
6196 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
6197 preventing optimization from being done. Set the correct type bit
6198 in seen. Don't define and use _dl_base_addr unless
6199 NEED_DL_BASE_ADDR is defined.
6201 * io/ftw.c (ftw_dir): Add slash after directory name if there
6202 wasn't any. Reported by loris <loris@iol.it>.
6203 * io/Makefile (tests): Add bug-ftw2.
6204 * io/bug-ftw2.c: New file.
6206 2001-01-19 Ulrich Drepper <drepper@redhat.com>
6208 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
6209 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
6210 * stdlib/tst-rand48.c: New file.
6211 * stdlib/Makefile (tests): Add tst-rand48.
6213 * locale/newlocale.c (__newlocale): Fix test for setting all
6216 2001-01-19 Mark Kettenis <kettenis@gnu.org>
6218 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
6219 but change looking up the initial directory port in a similar way
6220 as done by _hurd_change_directory_port_from_name.
6221 * hurd/fchroot.c (fchroot): Likewise.
6223 2001-01-18 Ulrich Drepper <drepper@redhat.com>
6225 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
6226 defined don't look whether the AT_*ID values were set.
6227 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
6228 (_dl_show_auxv): Rewrite to avoid switch statement.
6229 * sysdeps/unix/sysv/linux/kernel-features.h: Define
6230 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
6231 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
6232 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
6234 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
6235 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6236 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6238 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
6240 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
6241 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
6243 * dlfcn/eval.c (__strtol_internal): Define here.
6244 (eval): Use __strtol_internal instead of strtol.
6246 * elf/elf.h: Add a few more EF_MIPS_* constants.
6248 2001-01-17 Ulrich Drepper <drepper@redhat.com>
6250 * manual/Makefile (chapters): Add debug.
6251 * manual/debug.texi: New file.
6252 * manual/examples/execinfo.c: New file.
6253 Patch by suckfish@ihug.co.nz.
6255 2001-01-17 Andreas Schwab <schwab@suse.de>
6257 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
6260 2001-01-17 Andreas Jaeger <aj@suse.de>
6262 * nscd/connections.c (nscd_run): Use proper format specifier.
6264 2001-01-16 Ulrich Drepper <drepper@redhat.com>
6266 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
6267 x86_platforms data into new file after prepending _dl_. Change
6269 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
6270 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
6271 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
6274 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
6276 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
6277 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
6278 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
6279 (_setjmp): Likewise.
6280 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
6281 * sysdeps/i386/bsd-setjmp.S: Real implementation.
6282 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
6283 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
6286 2001-01-16 Andreas Jaeger <aj@suse.de>
6288 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
6289 misapplied last patch.
6291 2001-01-15 Ulrich Drepper <drepper@redhat.com>
6293 * stdlib/random.c (__initstate): Clean up a cast.
6294 (__setstate): Likewise.
6296 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
6297 syscall handling. The generic Linux version should work.
6299 2001-01-15 Andreas Jaeger <aj@suse.de>
6301 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
6303 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
6305 2001-01-14 Jakub Jelinek <jakub@redhat.com>
6307 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
6308 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
6310 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
6311 If number is 0, list all.
6312 (services_keys): Likewise. Lookup aliases as well.
6313 (databases): New table.
6314 (build_doc): Prepare argp doc text with list of supported databases.
6315 (main): Change to table driven processing.
6317 2001-01-14 Thorsten Kukuk <kukuk@suse.de>
6319 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
6322 2001-01-03 Jakub Jelinek <jakub@redhat.com>
6324 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
6325 encode value which does not fit in the 32bit type.
6327 2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
6329 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
6330 Change type of CTX to (struct sigcontext *).
6331 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
6332 (GET_FRAME): Likewise.
6333 (GET_STACK): Likewise.
6334 (SIGCONTEXT): Likewise. Add 2nd arg _code.
6335 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
6337 2001-01-13 Ulrich Drepper <drepper@redhat.com>
6339 * manual/texinfo.tex: Update from upstream version.
6341 2001-01-13 Jakub Jelinek <jakub@redhat.com>
6343 * inet/ether_ntoh.c (lookup_function): Change arguments to match
6344 _nss_*_getntohost_r prototype.
6345 (ether_ntohost): Pass errno pointer to NSS function.
6347 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6349 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
6350 (MAP_LOCKED): New definition.
6351 (MAP_NORESERVE): New definition.
6353 2001-01-12 Ulrich Drepper <drepper@redhat.com>
6355 * assert/assert.h: Use static_cast instead of C-style cast for C++.
6356 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
6358 2001-01-12 Ben Collins <bcollins@debian.org>
6360 * sysdeps/generic/segfault.c (install_handler): Use access, not
6363 2001-01-12 Andreas Jaeger <aj@suse.de>
6365 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
6366 * posix/wordexp.c (do_parse_glob): Likewise.
6367 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
6368 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
6369 * elf/dl-open.c (_dl_open): Likewise.
6370 * elf/dl-close.c (_dl_close): Likewise.
6371 * elf/dl-load.c (_dl_map_object): Likewise.
6372 * iconv/iconv_prog.c (process_fd): Likewise.
6373 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
6375 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
6376 of a zero-length array.
6378 2001-01-11 Jakub Jelinek <jakub@redhat.com>
6380 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
6381 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
6382 * stdlib/cxa_on_exit.c: Remove.
6383 * stdlib/Makefile: Revert last patch.
6384 * stdlib/Versions: Likewise.
6385 * include/stdlib.h: Likewise.
6386 * stdlib/exit.h: Revert last patch.
6387 (struct exit_function): Add second argument to cxa fn.
6388 * stdlib/exit.c: Revert last patch.
6389 (exit): Add hidden second argument.
6391 2001-01-11 H.J. Lu <hjl@gnu.org>
6393 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
6394 * elf/dl-open.c (_dl_open): Here.
6395 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
6397 (_dl_static_init): Initialize the variables every time when possible.
6398 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
6401 2001-01-11 Ulrich Drepper <drepper@redhat.com>
6403 * stdlib/Makefile (routines): Add cxa_on_exit.
6404 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
6405 * stdlib/cxa_on_exit.c: New file.
6406 * include/stdlib.h: Add prototype for __cxa_on_exit.
6407 * stdlib/exit.c: Handle ef_cxa2.
6408 * stdlib/exit.h (enum): Add ef_cxa2.
6409 (struct exit_function): Add cxa2.
6411 * Versions.def [ld]: Add GLIBC_2.2.1.
6413 2001-01-10 H.J. Lu <hjl@gnu.org>
6415 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
6416 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
6418 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
6419 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
6420 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
6421 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
6422 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
6424 2001-01-11 Ulrich Drepper <drepper@redhat.com>
6426 * libio/stdio.h: Remove definition of off_t.
6428 2001-01-11 Andreas Jaeger <aj@suse.de>
6430 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
6433 2001-01-10 Ulrich Drepper <drepper@redhat.com>
6435 * sunrpc/Makefile (distribute): Add errqueue.h.
6437 2001-01-10 H.J. Lu <hjl@gnu.org>
6439 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
6440 r9, r10 and r11 for language specific registers.
6442 2001-01-10 Jakub Jelinek <jakub@redhat.com>
6444 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
6446 (clntudp_call): Handle MSG_ERRQUEUE.
6447 * sysdeps/generic/errqueue.h: New file.
6448 * sysdeps/unix/sysv/linux/errqueue.h: New file.
6450 2001-01-10 H.J. Lu <hjl@gnu.org>
6452 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
6454 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
6456 * CONFORMANCE: Update.
6458 2001-01-09 Ulrich Drepper <drepper@redhat.com>
6460 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
6461 Minimal cleanups. Add assert to ensure memory handling is correct.
6463 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
6464 Reported by Ben Collins <bcollins@debian.org>.
6466 * time/strftime.c (my_strftime): Mark previous GNU extensions
6467 which are now in C99 as such.
6469 2001-01-08 Ulrich Drepper <drepper@redhat.com>
6471 * elf/rtld.c (process_envvars): Place output files for profiling
6472 in SUID binaries in /var/profile.
6474 * elf/dl-load.c (_dl_map_object): Don't look in cache for
6475 preloading in SUID binaries.
6477 * elf/dl-profile.c (_dl_start_profile): Open the output file with
6478 O_NOFOLLOW if possible.
6480 * include/stdlib.h: Add __posix_openpt declaration.
6481 * stdlib/stdlib.h: Add posix_openpt declaration.
6482 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
6483 * sysdeps/generic/getpt.c: Define posix_openpt.
6484 * sysdeps/unix/bsd/getpt.c: Likewise.
6485 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
6487 * time/Makefile (tests): Add tst-mktime.
6488 * time/tst-mktime.c: New file.
6490 * posix/tst-dir.c (main): One more mkdir() test.
6492 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
6493 Remove getpagesize syscall. We assume that the pagesize is always
6494 determined from the auxiliary vector.
6496 * intl/dcigettext.c: Fix a few warnings.
6497 Patch by Bruno Haible <haible@ilog.fr>.
6499 2001-01-08 Andreas Jaeger <aj@suse.de>
6501 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
6502 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
6504 2001-01-08 Ulrich Drepper <drepper@redhat.com>
6506 * sysdeps/generic/segfault.c (install_handler): Check output file
6509 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
6510 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
6512 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
6514 * malloc/memusage.c (me): Use access() to determine whether we
6515 should write the output file or not.
6517 * libio/bits/stdio.h (printf): Define macro to map printf call to
6518 fprintf which gcc can optimize.
6519 * stdio-common/printf.c: Undefine printf.
6521 2001-01-07 Ulrich Drepper <drepper@redhat.com>
6523 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
6524 patch. We must use unsigned int for l member of union.
6526 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
6527 _dl_aux_init for shared libraries.
6529 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
6530 * sysdeps/gnu/glob64.c: ...here. New file.
6532 2001-01-07 Ben Collins <bcollins@debian.org>
6534 * manual/examples/longopt.c: Make the "struct option" a little
6535 more like it should be, adding usage of required_argument,
6536 noargument and such, and also setting the options string right.
6538 * manual/sysinfo.texi (Load Average): New section, documents
6541 2001-01-06 Ulrich Drepper <drepper@redhat.com>
6543 * version.h (VERSION): Bump to 2.2.1.
6545 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
6546 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
6547 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
6548 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
6549 * Makefile (distribute): Add include/libc-internal.h.
6550 * libio/Makefile (distribute): Avoid overwriting.
6552 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
6553 buffer and table handling.
6555 2001-01-05 H.J. Lu <hjl@gnu.org>
6557 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
6558 vector checking to ...
6559 (_dl_aux_init): Here. New function. Defined only if
6560 HAVE_AUX_VECTOR is defined.
6562 * sysdeps/generic/libc-start.c (__libc_start_main): Call
6563 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
6565 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
6568 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
6569 (HAVE_AUX_VECTOR): Defined.
6570 (_dl_aux_init): Declared.
6572 2001-01-05 Ben Collins <bcollins@debian.org>
6574 * manual/string.texi (Finding Tokens in a String): Document XPG
6575 basename() and dirname(), as well as GNU basename().
6577 2001-01-05 Jakub Jelinek <jakub@redhat.com>
6579 * Makeconfig (preprocess-version): Replace -traditional with
6580 -x assembler-with-cpp.
6582 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
6584 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
6585 for GCC 2.97 or later.
6587 2001-01-05 Ben Collins <bcollins@debian.org>
6589 * manual/stdio.texi (getline): Clarify the return value in the
6590 case of EOF being reached before a newline.
6592 2001-01-04 Jakub Jelinek <jakub@redhat.com>
6594 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
6596 (pmap_set, pmap_unset): Check __get_myaddress return value.
6598 2001-01-05 Mark Kettenis <kettenis@gnu.org>
6600 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
6601 (struct ether_addr): Declare ether_addr_octet member as
6602 `u_int8_t'. Add __attribute__ ((__packed__)).
6604 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6606 * sysdeps/mach/hurd/readdir64.c: New file.
6607 * sysdeps/mach/hurd/readdir64_r.c: New file.
6609 2001-01-07 Mark Kettenis <kettenis@gnu.org>
6611 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
6612 `struct statfs' and `struct statvfs' being identical.
6613 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
6615 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6617 * sysdeps/mach/hurd/fstatfs64.c: New file.
6618 * sysdeps/mach/hurd/fstatvfs64.c: New file.
6619 * sysdeps/mach/hurd/statfs64.c: New file.
6620 * sysdeps/mach/hurd/statvfs64.c: New file.
6621 * sysdeps/mach/hurd/statfsconv.c: New file.
6622 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
6624 2001-01-06 Ulrich Drepper <drepper@redhat.com>
6626 * iconv/skeleton.c: Reset outbuf for next round of the loop.
6627 Reported by Owen Taylor <otaylor@redhat.com>.
6628 * iconv/Makefile (tests): Add tst-iconv3.
6629 * iconv/tst-iconv3.c: New file.
6631 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
6632 * iconvdata/ibm933.c: Likewise.
6633 * iconvdata/ibm935.c: Likewise.
6634 * iconvdata/ibm937.c: Likewise.
6635 * iconvdata/ibm939.c: Likewise.
6636 * iconvdata/ibm930.h: Adjust single byte table for optimization.
6637 * iconvdata/ibm933.h: Likewise.
6638 * iconvdata/ibm935.h: Likewise.
6639 * iconvdata/ibm939.h: Likewise.
6641 * iconvdata/testdata/IBM930: Add misssing SI.
6642 * iconvdata/testdata/IBM933: Likewise.
6643 * iconvdata/testdata/IBM935: Likewise.
6644 * iconvdata/testdata/IBM937: Likewise.
6645 * iconvdata/testdata/IBM939: Likewise.
6647 2001-01-06 Andreas Jaeger <aj@suse.de>
6649 * configure.in: Check for old add-ons that shouldn't be used with
6650 current glibc anymore.
6652 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6654 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
6655 instead of -1 on failure. Don't forget to copy file name into
6656 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
6659 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6661 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
6662 copy st_atime member.
6664 2001-01-05 Ulrich Drepper <drepper@redhat.com>
6666 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
6667 for searches from the root directory.
6668 Reported by loris <loris@iol.it> [PR libc/1991].
6669 * io/Makefile (tests): Add bug-ftw1.
6670 * io/bug-ftw1.c: New file.
6672 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
6673 if it is not available. Instead use it only if it is available.
6674 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
6676 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
6677 overflowing output buffer.
6678 (internal_ucs4_loop_unaligned): Likewise.
6679 (ucs4_internal_loop): Likewise.
6680 (ucs4_internal_loop_unaligned): Likewise.
6681 (internal_ucs4le_loop): Likewise.
6682 (internal_ucs4le_loop_unaligned): Likewise.
6683 (ucs4le_internal_loop): Likewise.
6684 (ucs4le_internal_loop_unaligned): Likewise.
6685 Reported by Owen Taylor <otaylor@redhat.com>.
6686 * iconv/Makefile (tests): Add tst-iconv2.
6687 * iconv/tst-iconv2.c: New file.
6689 2001-01-04 H.J. Lu <hjl@gnu.org>
6691 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
6692 (_dl_clktck): Declared.
6693 (non_dynamic_init): Take 3 arguments.
6694 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
6696 2001-01-01 Bruno Haible <haible@clisp.cons.org>
6698 Finish implementation of plural form handling.
6699 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
6700 'domainname'. Remove 'plindex' field. Add 'domain' and
6701 'translation_length' fields.
6702 (transcmp): Don't compare 'plindex' fields.
6703 (plural_lookup): New function.
6704 (DCIGETTEXT): Change cache handing in the plural case. Don't call
6705 plural_eval before the translation and its catalog file have been
6706 found. Remove plindex from cache key. Add 'translation_length' and
6707 'domain' to cache result.
6708 (_nl_find_msg): Remove index argument, return length of translation
6709 to the caller instead. Weaken comparison of string lengths, to account
6710 for plural entries. Call iconv() on the entire result string, not
6711 only on the portion needed so far.
6712 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
6714 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
6716 2001-01-04 Ulrich Drepper <drepper@redhat.com>
6718 * intl/plural.y (yylex): Minimal improvement in number scanner.
6720 2000-07-31 Bruno Haible <haible@clisp.cons.org>
6722 * intl/plural.y: Include config.h. Needed to define 'inline' away for
6723 C compilers that don't support it.
6724 (yylex): Don't use gcc specific case range syntax.
6725 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
6728 2000-10-12 Bruno Haible <haible@clisp.cons.org>
6730 * intl/finddomain.c: Remove unneeded includes.
6732 2000-10-12 Bruno Haible <haible@clisp.cons.org>
6734 * intl/localealias.c (memcpy): Return first argument, just like the
6735 real memcpy function does.
6736 * intl/bindtextdom.c (memcpy): Likewise.
6737 * intl/finddomain.c (memcpy): Likewise.
6738 * intl/l10nflist.c (memcpy): Likewise.
6739 * intl/textdomain.c (memcpy): Likewise.
6740 From Paul Eggert <eggert@twinsun.com>.
6742 2001-01-03 Jakub Jelinek <jakub@redhat.com>
6744 * resolv/resolv.h (struct __res_state): Add nsinit field.
6745 * resolv/res_send.c (res_nsend): Use it instead of nscount.
6746 * resolv/res_init.c (__res_vinit): Initialize it.
6747 (res_nclose): Clear it instead of nscount.
6749 2001-01-04 Ulrich Drepper <drepper@redhat.com>
6751 * malloc/mtrace.pl: Fix matching of addresses.
6752 Patch by Aharon Robbins <arnold@skeeve.com>.
6754 * Versions.def (ld): Add GLIBC_2.2.
6756 * catgets/gencat.c: Copyright 2001.
6757 * csu/version.c: Likewise.
6758 * debug/catchsegv.sh: Likewise.
6759 * debug/xtrace.sh: Likewise.
6760 * elf/ldconfig.c: Likewise.
6761 * elf/sprof.c: Likewise.
6762 * iconv/iconv_prog.c: Likewise.
6763 * locale/locale.c: Likewise.
6764 * locale/localedef.c: Likewise.
6765 * malloc/memusage.sh: Likewise.
6766 * malloc/mtrace.pl: Likewise.
6767 * nscd/nscd.c: Likewise.
6768 * posix/getconf.c: Likewise.
6770 2001-01-04 Mark Kettenis <kettenis@gnu.org>
6772 * include/stdio.h: Only provide __getwc_unlocked prototype if
6773 USE_IN_LIBIO is defined.
6775 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6777 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
6780 2001-01-03 Andreas Schwab <schwab@suse.de>
6782 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
6783 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
6785 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
6786 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
6788 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
6789 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
6792 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
6794 * sysdeps/generic/strtol_l.c: Likewise.
6795 * sysdeps/generic/strtoul_l.c: Likewise.
6796 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
6798 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
6799 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
6800 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
6801 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
6803 2001-01-04 Andreas Jaeger <aj@suse.de>
6805 * nss/nsswitch.c: Include files for missing prototypes, remove
6806 buggy declaration of prototypes.
6808 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6810 * resolv/Versions: Fix bracing.
6811 * sysdeps/powerpc/soft-fp/Versions: Likewise.
6812 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
6814 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6816 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
6818 2001-01-02 Ulrich Drepper <drepper@redhat.com>
6820 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
6821 Suggested by Minko Markov <mmarkov@home.com>.
6823 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6825 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
6826 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
6828 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
6830 2001-01-02 Ben Collins <bcollins@debian.org>
6832 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
6833 if TZ is not set and TZDEFAULT is not present.
6835 2001-01-01 Ben Collins <bcollins@debian.org>
6837 * string/strings.h: Make sure we declare our functions even if
6838 string.h is already included, based on whether or not __USE_BSD is
6841 2001-01-02 Ulrich Drepper <drepper@redhat.com>
6843 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
6844 other dlopen() and dlsym().
6845 Based on a patch by Ben Collins <bcollins@debian.org>.
6847 2001-01-02 Andreas Jaeger <aj@suse.de>
6849 * dlfcn/errmsg1.c (main): Call dlerror initially.
6850 Reported by Ben Collins <bcollins@debian.org>.
6852 2001-01-02 Ulrich Drepper <drepper@redhat.com>
6854 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
6855 value is ignored if the selected locale is the C locale.
6856 * intl/tst-gettext.c: Set locale for above change.
6857 * intl/tst-translit.c: Likewise.
6859 2001-01-02 Andreas Jaeger <aj@suse.de>
6861 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
6862 (_IO_switch_to_wget_mode): Likewise.
6863 (_IO_sputbackwc): Likewise.
6864 (_IO_sungetwc): Use wint_t for result.
6866 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
6868 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
6871 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
6872 to (int) to avoid warnings.
6873 * stdio-common/printf_fp.c (putc): Likewise.
6874 * stdio-common/printf_size.c (putc): Likewise.
6876 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
6879 2001-01-01 Andreas Jaeger <aj@suse.de>
6881 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
6883 2000-12-31 Andreas Jaeger <aj@suse.de>
6885 * include/libc-internal.h: Add prototype for __libc_freeres.
6887 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
6888 for prototypes, remove redundant prototypes.
6889 * gmon/gmon.c: Likewise.
6890 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
6891 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
6892 * malloc/mtrace.c: Likewise.
6894 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
6896 * elf/soinit.c: Likewise.
6897 * sysdeps/generic/prof-freq.c: Likewise.
6898 * sysdeps/mach/hurd/profil.c: Likewise.
6899 * debug/noophooks.c: Likewise.
6900 * debug/pcprofile.c: Likewise.
6901 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
6902 * sysdeps/generic/get_clockfreq.c: Likewise.
6903 * malloc/set-freeres.c: Likewise.
6905 * locale/localeinfo.h: Add internal prototypes.
6907 * elf/rtld.c (dl_main): Fix prototype.
6909 * iconvdata/tst-table-to.c (main): Use return instead of exit to
6912 * nis/rpcsvc/yp_prot.h: Remove __P.
6913 * nis/rpcsvc/ypupd.h: Likewise.
6914 * nis/rpcsvc/yp.h: Likewise.
6916 * sunrpc/rpc_main.c: Add noreturn attributes.
6917 * sunrpc/rpc_scan.h: Likewise.
6919 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
6921 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
6923 * sunrpc/proto.h: Add noreturn attributes to error and crash.
6925 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
6927 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
6929 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
6931 * include/rpc/rpc_msg.h: Add prototypes for some functions.
6932 * include/rpc/auth.h: Likewise.
6933 * include/rpc/auth_des.h: Likewise.
6934 * include/rpc/clnt.h: Likewise.
6935 * include/rpc/rpc.h: Likewise.
6936 * include/rpc/svc.h: Likewise.
6937 * include/rpc/svc_auth.h: Likewise.
6939 * include/rpc/des_crypt.h: New file.
6941 * malloc/memusagestat.c (main): Use return instead of exit to
6943 * io/pwd.c (main): Likewise.
6944 * iconvdata/tst-table-from.c (main): Likewise.
6945 * ctype/test_ctype.c (main): Likewise.
6946 * setjmp/tst-setjmp.c (main): Likewise.
6947 * signal/tst-signal.c (main): Likewise.
6948 * stdlib/tst-strtol.c (main): Likewise.
6949 * stdlib/tst-strtod.c (main): Likewise.
6950 * stdlib/tst-strtoll.c (main): Likewise.
6951 * stdlib/tst-xpg-basename.c (main): Likewise.
6952 * dirent/tst-seekdir.c (main): Likewise.
6953 * grp/testgrp.c (main): Likewise.
6954 * inet/test_ifindex.c (main): Likewise.
6955 * io/test-utime.c (main): Likewise.
6956 * posix/test-vfork.c (main): Likewise.
6957 * posix/testfnm.c (main): Likewise.
6958 * stdio-common/temptest.c (main): Likewise.
6959 * stdio-common/test_rdwr.c (main): Likewise.
6960 * stdio-common/tst-fileno.c (main): Likewise.
6961 * stdio-common/tst-sscanf.c (main): Likewise.
6962 * stdio-common/tstscanf.c (main): Likewise.
6963 * string/bug-strncat1.c (main): Likewise.
6964 * string/bug-strpbrk1.c (main): Likewise.
6965 * string/bug-strspn1.c (main): Likewise.
6966 * string/test-ffs.c (main): Likewise.
6967 * string/tst-inlcall.c (main): Likewise.
6968 * string/tst-svc.c (main): Likewise.
6969 * timezone/test-tz.c (main): Likewise.
6970 * wctype/test_wcfuncs.c (main): Likewise.
6971 * wctype/test_wctype.c (main): Likewise.
6973 * stdlib/tst-random.c: Add attribute noreturn to fail.
6975 2000-12-28 Wolfram Gloger <wg@malloc.de>
6977 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
6978 destination overlap. Assume dest is always below source if
6981 2000-12-30 Ulrich Drepper <drepper@redhat.com>
6983 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
6984 object was not yet initialized.
6986 2000-12-28 H.J. Lu <hjl@gnu.org>
6988 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
6989 is always consistent even if its dependency is failed.
6991 * elf/dl-open.c (_dl_open): Increment the open count before
6992 calling _dl_close () in case of failure.
6994 * elf/neededtest4.c: New file.
6995 * elf/neededobj5.c: New file.
6996 * elf/neededobj6.c: New file.
6998 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
6999 (tests): Add neededtest4.
7000 (modules-names): Add neededobj5 and neededobj6.
7001 ($(objpfx)neededobj6.so): New target.
7002 ($(objpfx)neededtest4): New target.
7003 ($(objpfx)neededtest4.out): New target.
7005 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
7007 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
7008 * stdlib/monetary.h: Add strfmon format attributes.
7010 2000-12-28 Roland McGrath <roland@frob.com>
7012 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
7013 __mempcpy does it for us.
7015 2000-12-28 Andreas Jaeger <aj@suse.de>
7017 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
7019 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
7022 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
7025 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
7028 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
7029 __chown_is_lchown and __real_chown.
7031 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
7034 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
7035 up GCC's warning about "deprecated use of label at end of compound
7037 * sunrpc/rpc_cout.c (emit_inline): Likewise.
7039 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
7041 Remove struct bb and __bb_head since those are declared by
7044 2000-12-22 Ben Collins <bcollins@debian.org>
7046 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
7048 * manual/argp.texi: Document argp_domain as part of struct argp.
7050 2000-12-28 Andreas Jaeger <aj@suse.de>
7052 * catgets/Makefile (generated): Add sample.SJIS.cat.
7054 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
7056 * elf/dl-minimal.c: Add prototypes.
7058 * include/locale.h: Add internal prototypes.
7059 * include/sys/gmon.h: Likewise.
7061 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
7063 2000-12-27 Ben Collins <bcollins@debian.org>
7065 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
7066 when reallocating the error strings.
7067 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
7069 2000-12-27 Ulrich Drepper <drepper@redhat.com>
7071 * dlfcn/Makefile (tests): Add errmsg1.
7072 (modules-names): Add errmsg1mod.
7073 Add rules to run errmsg1.
7074 * dlfcn/errmsg1.c: New file.
7075 * dlfcn/errmsg1mod.c: New file.
7077 * dlfcn/dlerror.c (dlerror): Always create output string which
7078 includes object file name.
7080 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
7081 if we would go through it only once.
7082 Patch by Rick Gorton <rick.gorton@api-networks.com>.
7084 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
7085 Patch by Richard Henderson <rth@redhat.com>.
7087 2000-12-27 Jakub Jelinek <jakub@redhat.com>
7089 * malloc/malloc.c (memmove): Add prototypes.
7090 (MALLOC_MEMMOVE): Define.
7091 (chunk_realloc): Use it instead of MALLOC_COPY if source and
7092 destination might overlap.
7094 2000-12-27 Andreas Jaeger <aj@suse.de>
7096 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
7098 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7099 * locale/programs/locale.c (show_locale_vars): Likewise.
7100 (show_info): Likewise.
7101 * locale/programs/ld-collate.c (collate_output): Likewise.
7102 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
7103 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7104 * stdlib/rpmatch.c (rpmatch): Likewise.
7106 * setjmp/tst-setjmp.c: Make local functions static.
7107 * setjmp/jmpbug.c: Likewise.
7108 * signal/tst-signal.c: Likewise.
7109 * stdio-common/tfformat.c: Likewise.
7110 * string/tst-svc.c: Likewise.
7111 * time/clocktest.c: Likewise.
7112 * time/tst-getdate.c: Likewise.
7113 * dirent/list.c: Likewise.
7114 * dirent/opendir-tst1.c: Likewise.
7115 * posix/runtests.c: Likewise.
7116 * posix/tst-getaddrinfo.c: Likewise.
7117 * posix/tst-chmod.c: Likewise.
7118 * posix/wordexp-test.c: Likewise.
7119 * misc/tst-efgcvt.c: Likewise.
7120 * timezone/tst-timezone.c: Likewise.
7121 * rt/tst-clock.c: Likewise.
7122 * rt/tst-shm.c: Likewise.
7123 * rt/tst-aio2.c: Likewise.
7124 * rt/tst-aio3.c: Likewise.
7125 * rt/tst-aio4.c: Likewise.
7126 * rt/tst-aio5.c: Likewise.
7128 * dlfcn/failtest.c: Add prototype for foo.
7130 * dlfcn/glrefmain.c: Add prototype for do_test.
7132 * dlfcn/tst-dladdr.c: Add prototype for do_test.
7134 * string/test-ffs.c (main): Add prototype for nested function.
7136 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
7138 * nss/XXX-lookup.c: Add prototype to shut up GCC.
7140 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
7141 setetherent prototype.
7142 Add internal interfaces.
7144 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
7145 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
7147 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
7149 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
7151 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
7152 prototypes, remove struct etherent since it's declared in ether.h.
7153 Fix ntohost declaration.
7155 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
7157 * include/getopt.h: Add internal interfaces.
7158 * include/termios.h: Likewise.
7159 * include/resolv.h: Likewise.
7160 * include/netdb.h: Likewise.
7161 * include/grp.h: Likewise.
7162 * include/pwd.h: Likewise.
7163 * include/shadow.h: Likewise.
7164 * include/rpc/netdb.h: Likewise.
7165 * include/setjmp.h: Likewise.
7167 * include/stdio.h: Add prototypes for compatibility functions.
7168 * include/grp.h: Likewise.
7169 * include/pwd.h: Likewise.
7170 * include/shadow.h: Likewise.
7172 * include/fenv.h: Define internal interfaces.
7174 2000-12-27 Ulrich Drepper <drepper@redhat.com>
7176 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
7177 argument case separately.
7178 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
7180 2000-12-27 Andreas Jaeger <aj@suse.de>
7182 * include/sys/wait.h: Add some prototypes.
7183 * Rules (dummy.c): Create also prototype to shut up GCC.
7185 2000-12-27 Andreas Jaeger <aj@suse.de>
7187 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
7188 it's not needed at the moment.
7189 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
7190 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
7192 2000-12-26 Andreas Jaeger <aj@suse.de>
7194 * libio/getc_u.c: Include stdio.h via system path to get internal
7196 * libio/getwc_u.c: Likewise.
7198 * stdlib/strfmon.c: Fix prototype of __printf_fp.
7200 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
7201 __printf_fp prototypes to ...
7202 * include/printf.h: ...here.
7204 * include/stdio.h: Add some internal prototypes to shut up GCC.
7205 * include/stdlib.h: Likewise.
7207 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
7210 * include/signal.h: Add prototypes for internal sigpause
7213 2000-12-26 Ulrich Drepper <drepper@redhat.com>
7215 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
7216 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
7218 * string/Makefile (tests): Add tst-bswap.
7219 * string/tst-bswap.c: New file.
7221 2000-12-11 Bruno Haible <haible@clisp.cons.org>
7223 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
7225 2000-12-26 Ulrich Drepper <drepper@redhat.com>
7227 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
7228 Patch by Ed Connell <Ed.Connell@sas.com>.
7230 2000-12-24 Ulrich Drepper <drepper@redhat.com>
7232 * locale/iso-639.def: Correct one entry. Add two missing entries.
7234 * locale/iso-4217.def: Change entry for Eritrea.
7235 Reported by Daniel Yacob <yacob@geez.org>.
7237 2000-12-23 Ben Collins <bcollins@debian.org>
7239 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
7242 * manual/stdio.texi (Dynamic Output): Document the return value of
7243 asprintf. Also make the asprintf/snprintf examples a little
7244 better (check for some error returns).
7246 2000-12-22 Andreas Jaeger <aj@suse.de>
7248 * include/stdio.h: Add __ftrylockfile prototype.
7250 2000-12-21 H.J. Lu <hjl@gnu.org>
7252 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
7253 Make sign_exponent element signed.
7255 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
7258 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
7260 2000-12-21 Andreas Jaeger <aj@suse.de>
7262 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
7263 * inet/ether_hton.c: Likewise
7264 * inet/ether_ntoh.c: Likewise.
7266 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
7267 declaration to match prototype.
7269 * include/netinet/ether.h (struct etherent): Declare here so that
7270 all implementations use the same struct.
7272 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
7274 (struct ether): Removed.
7275 Use struct etherent instead of ether everywhere.
7277 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
7279 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
7281 * sunrpc/publickey.c: Include auth_des.h for prototypes.
7283 2000-12-20 Ulrich Drepper <drepper@redhat.com>
7285 * math/test-misc.c: Add more tests for nextafter functions.
7287 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
7288 normal correctly. Correct test for sign.
7289 Based on a patch by HJ Lu.
7291 2000-12-19 Ulrich Drepper <drepper@redhat.com>
7293 * Makeconfig (preprocess-version): Add -traditional to gcc call.
7296 2000-12-19 Andreas Jaeger <aj@suse.de>
7298 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
7300 * nis/nis_intern.h: Add prototype for __do_niscall3.
7302 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
7305 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
7307 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7309 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
7311 2000-12-18 Ulrich Drepper <drepper@redhat.com>
7313 * math/test-misc.c: Add more tests for nextafter.
7314 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
7315 * sysdeps/ieee754/ldbl-96/math_ldbl.h
7316 (ieee_long_double_shape_type): Make sign_exponent element signed.
7318 * manual/message.texi: Add Estonian to plural overview list.
7319 Correct rule for Slavic languages.
7320 Patch by Stanislav Brabec <utx@penguin.cz>.
7322 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
7324 2000-12-18 Andreas Jaeger <aj@suse.de>
7326 * test-skeleton.c: Use temp_name_list instead of name_list to
7327 avoid collision with name_list from inet/netgroup.h.
7329 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
7331 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
7332 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
7333 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7334 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
7336 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
7337 declaration to match prototype.
7338 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
7339 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
7340 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
7342 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
7343 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
7344 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
7345 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
7346 (_nss_nis_getservbyport_r): Likewise.
7347 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
7348 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
7349 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
7350 (_nss_nis_setnetent): Likewise
7351 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7352 (_nss_nis_endnetgrent): Likewise.
7353 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
7355 (_nss_nisplus_setnetgrent): Likewise.
7356 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
7357 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
7358 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
7359 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
7361 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
7363 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
7365 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
7367 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
7368 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
7369 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
7370 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7371 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
7372 (_nss_dns_getnetbyaddr_r): Likewise.
7374 2000-12-17 Andreas Jaeger <aj@suse.de>
7376 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
7379 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
7380 unused attribute to shut up gcc warnings.
7382 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
7383 * sysdeps/generic/k_tanl.c: Likewise.
7384 * sysdeps/generic/k_cosl.c: Likewise.
7385 * sysdeps/generic/e_j0l.c: Likewise.
7386 * sysdeps/generic/e_j1l.c: Likewise.
7387 * sysdeps/generic/e_jnl.c: Likewise.
7388 * sysdeps/generic/e_lgammal_r.c: Likewise.
7390 * elf/vismain.c: Move prototypes for functions in vismod*.c to
7392 * elf/vismod.h: New file.
7393 * elf/Makefile (distribute): Add vismod.h.
7394 * elf/vismod1.c: Include vismod.h.
7395 * elf/vismod2.c: Likewise.
7396 * elf/vismod3.c: Likewise.
7398 * elf/constload3.c: Add prototype declarations to shut up gcc.
7399 * elf/failobj.c: Likewise.
7400 * elf/nodelmod3.c: Likewise.
7401 * elf/filtmod1.c: Likewise.
7402 * elf/filtmod2.c: Likewise.
7403 * elf/reldepmod1.c: Likewise.
7404 * elf/reldepmod2.c: Likewise.
7405 * elf/reldepmod3.c: Likewise.
7406 * elf/reldepmod4.c: Likewise.
7407 * elf/unload2dep.c: Likewise.
7408 * elf/unload2mod.c: Likewise.
7409 * elf/ltglobmod1.c: Likewise.
7410 * elf/pathoptobj.c: Likewise.
7411 * elf/neededobj1.c: Likewise.
7412 * elf/neededobj2.c: Likewise.
7413 * elf/neededobj3.c: Likewise.
7414 * elf/neededobj4.c: Likewise.
7415 * elf/nextmod1.c: Likewise.
7416 * elf/nextmod2.c: Likewise.
7418 * locale/programs/ld-collate.c (collate_finish): Don't use labels
7419 at end of compound statement.
7420 * locale/programs/locale.c (show_info): Likewise.
7421 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7423 2000-12-16 Jakub Jelinek <jakub@redhat.com>
7425 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
7426 with a pointer not returned by obstack_ functions.
7428 2000-12-16 Ulrich Drepper <drepper@redhat.com>
7430 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
7432 (struct stat64): Likewise.
7433 Reported by Michael Keezer <mkeezer@redhat.com>.
7435 * timezone/asia: Update from tzdata2000h.
7436 * timezone/australasia: Likewise.
7437 * timezone/backward: Likewise.
7438 * timezone/europe: Likewise.
7439 * timezone/northamerica: Likewise.
7440 * timezone/southamerica: Likewise.
7441 * timezone/zone.tab: Likewise.
7443 2000-12-14 Jakub Jelinek <jakub@redhat.com>
7445 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
7446 and dir.stream is NULL, only free dir.content.
7447 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
7448 * io/ftwtest-sh: Test with --early-exit.
7450 2000-12-13 Jakub Jelinek <jakub@redhat.com>
7452 * misc/efgcvt.c (FCVT_MAXDIG): Define.
7453 (FCVT_BUFPTR): New variable.
7454 (fcvt): If fcvt_r returns -1 on the static short buffer,
7455 try to malloc a sufficiently large one and retry.
7456 (free_mem): New function.
7457 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
7458 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
7460 2000-12-15 Ulrich Drepper <drepper@redhat.com>
7462 * misc/dirname.c (dirname): Fix search for second to last slash.
7464 2000-12-13 Andreas Jaeger <aj@suse.de>
7466 * misc/tst-dirname.c (main): Fix typo in test to really use
7467 the examples from Unix98.
7468 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
7470 2000-12-09 H.J. Lu <hjl@gnu.org>
7472 * sysdeps/ia64/fpu/s_fabs.S: New file.
7473 * sysdeps/ia64/fpu/s_fabsf.S: New file.
7474 * sysdeps/ia64/fpu/s_fabsl.S: New file.
7476 2000-12-15 Andreas Jaeger <aj@suse.de>
7478 * stdio-common/scanf9.c (main): Reformat and change to avoid
7481 * stdio-common/tstdiomisc.c: Make local functions static.
7482 * stdio-common/tst-printf.c: Likewise.
7484 * elf/constload2.c: Add prototype declarations to shut up gcc.
7485 * elf/dep1.c: Likewise.
7486 * elf/dep2.c: Likewise.
7487 * elf/dep3.c: Likewise.
7488 * elf/dep4.c: Likewise.
7489 * elf/ltglobmod2.c: Likewise.
7491 * libio/fmemopen.c: Make local functions static.
7493 * elf/Makefile (distribute): Added testobj.h.
7495 * elf/testobj.h: New file.
7497 * elf/testobj1.c: Include testobj.h and move prototype
7498 declarations to testobj.h.
7499 * elf/testobj2.c: Likewise.
7500 * elf/testobj3.c: Likewise.
7501 * elf/testobj4.c: Likewise.
7502 * elf/testobj5.c: Likewise.
7503 * elf/testobj6.c: Likewise.
7504 * elf/testobj1_1.c: Likewise.
7505 * elf/preloadtest.c: Likewise.
7507 2000-12-15 Ben Collins <bcollins@debian.org>
7509 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
7510 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
7512 2000-12-14 H.J. Lu <hjl@gnu.org>
7514 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
7515 field in a float is 8 bits, not 11 bits.
7517 2000-12-13 Jakub Jelinek <jakub@redhat.com>
7519 * math/test-misc.c (main): Adjust m for IEEE quad long double.
7521 2000-12-13 Andreas Jaeger <aj@suse.de>
7523 * manual/message.texi (Using gettextized software): Fix typo.
7525 * manual/charset.texi (Converting a Character): Fix mbstouwcs
7527 Patch by Martin Buchholz <martin@xemacs.org>.
7529 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
7530 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
7532 2000-12-11 Andreas Jaeger <aj@suse.de>
7534 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
7535 kernel_sigset_t and use it.
7536 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
7538 2000-12-10 Richard Henderson <rth@redhat.com>
7540 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
7541 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
7542 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
7544 2000-12-10 Jakub Jelinek <jakub@redhat.com>
7546 * sysdeps/alpha/htonl.S: Fix a typo.
7548 2000-12-10 Jakub Jelinek <jakub@redhat.com>
7550 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
7552 2000-12-10 Andreas Jaeger <aj@suse.de>
7554 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
7555 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
7556 Drepper <drepper@redhat.com>.
7558 2000-12-09 Andreas Jaeger <aj@suse.de>
7560 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
7562 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
7564 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
7566 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
7569 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
7572 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
7573 * nscd/connections.c (handle_request): Likewise.
7574 * nscd/pwdcache.c (addpwbyname): Likewise.
7575 * nscd/grpcache.c (addgrbyname): Likewise.
7577 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
7579 2000-12-09 Ulrich Drepper <drepper@redhat.com>
7581 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
7583 * Makeconfig (default_cflags): Make -O2 the default for stable
7586 2000-12-08 H.J. Lu <hjl@gnu.org>
7588 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
7589 * sysdeps/ia64/fpu/s_isinf.S: This.
7590 Add a .pred.rel.mutex note to avoid false report.
7592 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
7593 * sysdeps/ia64/fpu/s_isnan.S: This.
7595 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
7596 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
7597 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
7598 * sysdeps/ia64/fpu/s_isinff.S: New file.
7599 * sysdeps/ia64/fpu/s_isinfl.S: New file.
7600 * sysdeps/ia64/fpu/s_isnanf.S: New file.
7601 * sysdeps/ia64/fpu/s_isnanl.S: New file.
7602 * sysdeps/ia64/fpu/s_finite.S: New file.
7603 * sysdeps/ia64/fpu/s_finitef.S: New file.
7604 * sysdeps/ia64/fpu/s_finitel.S: New file.
7605 * sysdeps/ia64/fpu/s_signbit.S: New file.
7606 * sysdeps/ia64/fpu/s_signbitf.S: New file.
7607 * sysdeps/ia64/fpu/s_signbitl.S: New file.
7608 * sysdeps/ia64/fpu/s_copysign.S: New file.
7609 * sysdeps/ia64/fpu/s_copysignf.S: New file.
7610 * sysdeps/ia64/fpu/s_copysignl.S: New file.
7612 2000-12-08 Ulrich Drepper <drepper@redhat.com>
7614 * math/libm-test.inc (main): Fix typos in messages.
7616 * string/stratcliff.c: Add test for rawmemchr.
7618 2000-12-08 Jakub Jelinek <jakub@redhat.com>
7620 * elf/dl-open.c (_dl_open): If objname points right after errstring,
7621 allocate it together with errstring using alloca.
7622 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
7623 to "", because it might point to local stack.
7625 2000-12-05 H.J. Lu <hjl@gnu.org>
7627 * nss/Makefile (routines): Add getnssent and getnssent_r.
7628 * nss/nsswitch.h (__nss_setent): New internal NSS function.
7629 (__nss_endent): Likewise.
7630 (__nss_getent_r): Likewise.
7631 (__nss_getent): Likewise.
7632 * nss/getnssent_r.c: New file.
7633 * nss/getnssent.c: New file.
7634 * nss/getXXent.c (H_ERRNO_VAR): Updated.
7635 (GETFUNC_NAME): Updated to call __nss_getent ().
7636 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
7637 (STAYOPEN_TMPVAR): Updated.
7638 (STAYOPEN_VAR): Updated.
7639 (SETFUNC_NAME): Updated to call __nss_setent ().
7640 (ENDFUNC_NAME): Updated to call __nss_endent ().
7641 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
7643 2000-12-08 Andreas Jaeger <aj@suse.de>
7645 * nscd/dbg_log.h (dbg_log): Correct attribute.
7647 2000-12-08 Jakub Jelinek <jakub@redhat.com>
7649 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
7650 cp + len. Compute where from dirname.
7651 Reported by <jreiser@BitWagon.com>.
7653 2000-12-08 Richard Henderson <rth@twiddle.net>
7655 * sysdeps/alpha/_mcount.S: Fix typo.
7656 * sysdeps/alpha/strncpy.S: Likewise.
7658 * sysdeps/alpha/alphaev6/Implies: New file.
7659 * sysdeps/alpha/alphaev67/Implies: New file.
7660 * sysdeps/alpha/alphaev67/ffs.S: New file.
7661 * sysdeps/alpha/alphaev67/ffsll.S: New file.
7662 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
7663 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
7664 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
7665 * sysdeps/alpha/rawmemchr.S: New file.
7666 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
7667 * sysdeps/alpha/strcpy.S: Likewise.
7670 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
7672 From rick.gorton@alpha-processor.com:
7673 * sysdeps/alpha/alphaev6/memchr.S: New file.
7674 * sysdeps/alpha/alphaev6/memcpy.S: New file.
7675 * sysdeps/alpha/alphaev6/memset.S: New file.
7676 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
7677 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
7678 * sysdeps/alpha/alphaev67/strcat.S: New file.
7679 * sysdeps/alpha/alphaev67/strchr.S: New file.
7680 * sysdeps/alpha/alphaev67/strlen.S: New file.
7681 * sysdeps/alpha/alphaev67/strncat.S: New file.
7682 * sysdeps/alpha/htonl.S: Use a shorter sequence.
7684 2000-12-08 Jakub Jelinek <jakub@redhat.com>
7686 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
7687 Reported by <pspencer@fields.utoronto.ca>.
7689 2000-12-07 Jes Sorensen <jes@linuxcare.com>
7691 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
7692 Pointed out by Hans Boehm.
7694 2000-12-07 H.J. Lu <hjl@gnu.org>
7696 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
7698 2000-12-07 Andreas Jaeger <aj@suse.de>
7700 * misc/error.c: Add format attributes for __error and __error_at_line.
7702 * nscd/dbg_log.h: Add format attribute.
7704 2000-12-08 Ulrich Drepper <drepper@redhat.com>
7706 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
7707 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
7709 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
7711 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
7713 2000-12-06 Ulrich Drepper <drepper@redhat.com>
7715 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7716 (sysdep_routines): Add uitrunc.
7717 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
7718 Patches by Michael Keezer <mkeezer@redhat.com>.
7720 2000-12-06 Roland McGrath <roland@frob.com>
7722 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
7723 argument data, since it will be used to copy out too (for INOUT).
7724 Reported by Marcus Brinkmann <marcus@gnu.org>.
7726 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
7727 (__ioctl): Use uintptr_t instead of unsigned long int.
7729 2000-12-06 Jim Wilson <wilson@redhat.com>
7731 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
7733 2000-12-06 Ulrich Drepper <drepper@redhat.com>
7735 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
7736 x.5 rounding correctly.
7738 2000-12-06 Mark Kettenis <kettenis@gnu.org>
7740 * stdio-common/perror.c (perror): Conditionalize code dealing with
7741 wide-oriented streams on USE_IN_LIBIO.
7743 2000-12-06 Mark Kettenis <kettenis@gnu.org>
7745 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
7746 as internal_function.
7748 2000-12-05 Ulrich Drepper <drepper@redhat.com>
7750 * sysdeps/alpha/elf/start.S (__data_start): Define.
7752 2000-12-05 H.J. Lu <hjl@gnu.org>
7754 * nss/getXXent_r.c (setup): Change the return type to int.
7756 2000-12-05 Ulrich Drepper <drepper@redhat.com>
7758 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7759 (sysdep_routines): Add restf and savef.
7760 * sysdeps/unix/sysv/aix/restf.c: New file.
7761 * sysdeps/unix/sysv/aix/savef.c: New file.
7762 Patches by Michael Keezer <mkeezer@redhat.com>.
7764 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
7765 if O_DIRECTORY is not defined.
7766 Patch by Michael Keezer <mkeezer@redhat.com>.
7768 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
7769 Patch by Michael Keezer <mkeezer@redhat.com>.
7771 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
7772 than 4 bytes in escape sequence.
7773 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7775 2000-12-05 Andreas Jaeger <aj@suse.de>
7777 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
7780 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
7782 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
7784 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
7785 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7787 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
7789 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
7790 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
7792 * sysdeps/generic/dl-cache.c: Remove declaration of
7793 _dl_sysdep_read_whole_file.
7795 * elf/dl-load.c (_dl_map_object): Remove declaration of
7796 _dl_load_cache_lookup.
7798 * sysdeps/generic/ldsodefs.h: Add declarations of
7799 _dl_load_cache_lookup, _dl_unload_cache,
7800 _dl_sysdep_read_whole_file, _dl_sysdep_start and
7801 _dl_sysdep_start_cleanup.
7803 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
7806 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
7807 * sysdeps/generic/dl-environ.c: Likewise.
7809 * stdio-common/printf_fp.c: Include <gmp.h> instead of
7811 * math/atest-exp.c: Likewise.
7812 * math/atest-exp2.c: Likewise.
7813 * math/atest-sincos.c: Likewise.
7814 * stdio-common/_itoa.c: Likewise.
7815 * stdio-common/_itowa.c: Likewise.
7817 * include/gmp.h: New file with internal prototypes.
7819 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
7821 * include/setjmp.h: ...here.
7823 * locale/Makefile (routines): Remove codeset_name since it's not
7826 * locale/codeset_name.c: Removed.
7828 2000-12-05 Ulrich Drepper <drepper@redhat.com>
7830 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
7832 2000-12-05 Andreas Jaeger <aj@suse.de>
7834 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
7836 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
7838 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
7841 2000-12-05 Andreas Jaeger <aj@suse.de>
7843 * nss/test-netdb.c: Mark local functions as static to avoid
7845 (main): Use return to silence warning.
7847 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
7849 * stdio-common/test-popen.c: Mark local functions as static to
7851 (main): Use return to silence warning.
7853 * stdlib/testsort.c (compare): Mark as static to avoid warning.
7855 * assert/test-assert.c: Mark local functions as static to avoid
7857 * assert/test-assert-perr.c: Likewise.
7859 * math/libm-test.inc (main): Use return to silence warnings.
7861 2000-12-04 Ulrich Drepper <drepper@redhat.com>
7863 * math/fenv.h: Fix typo in comment.
7865 * math/test-misc.c (main): Add a few more over and underflow tests
7868 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
7869 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7870 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7871 * math/w_scalb.c: Don't use matherr except in SVID mode.
7872 * math/w_scalbf.c: Likewise.
7873 * math/w_scalbl.c: Likewise.
7874 * math/test-misc.c: Add test for NaN and scalbl.
7875 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7877 2000-12-04 Ulrich Drepper <drepper@redhat.com>
7879 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
7880 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
7881 * include/libc-symbols.h (strong_alias): Define special version
7882 for HAVE_ASM_GLOBAL_DOT_NAME.
7883 (weak_alias): Likewise.
7884 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
7885 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
7886 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
7887 getutxline, pututxline, and utmpxname.
7888 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
7889 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
7890 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
7891 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
7892 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
7893 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
7894 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
7895 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
7896 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
7897 Patches by Michael Keezer <mkeezer@redhat.com>.
7899 2000-12-04 H.J. Lu <hjl@gnu.org>
7901 * configure.in: Change --with-oldest-abi=ABI to
7902 --enable-oldest-abi=ABI.
7904 2000-12-02 Bruno Haible <haible@clisp.cons.org>
7906 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
7907 fwprintf instead of fprintf.
7909 2000-12-04 Ulrich Drepper <drepper@redhat.com>
7911 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
7912 DECIMAL_DIG definitions.
7913 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
7914 * sysdeps/generic/bits/mathdef.h: Likewise
7915 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
7916 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
7917 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
7918 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
7919 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
7920 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
7922 2000-12-03 Ulrich Drepper <drepper@redhat.com>
7924 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
7926 * math/atest-exp.c: Mark local functions as static to avoid warnings.
7927 * math/atest-exp2.c: Likewise.
7928 * math/atest-sincos.c: Likewise.
7930 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
7931 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7933 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
7934 the handling of denormalized numbers.
7936 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
7938 * sysdeps/i386/fpu/fpclassifyl.c: New file.
7940 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
7941 pseudo denormal representation of LDBL_MIN.
7943 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
7944 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
7946 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
7947 * iconvdata/jis0208.c: Likewise.
7948 * iconvdata/jis0212.c: Likewise.
7949 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7951 * math/test-misc.c (main): More tests for frexp and some for
7952 fpclassify and isnormal.
7954 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
7956 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7958 * math/test-misc.c (main): Add tests for frexp.
7959 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7960 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
7962 2000-12-02 H.J. Lu <hjl@gnu.org>
7964 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
7967 2000-12-02 Ulrich Drepper <drepper@redhat.com>
7969 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
7970 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7971 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7973 * sysdeps/generic/glob.c: Adjust types of several variables to
7976 2000-12-01 Ulrich Drepper <drepper@redhat.com>
7978 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
7980 2000-11-30 Roland McGrath <roland@frob.com>
7982 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
7983 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
7984 allow multiple instances using the same function name in one file.
7986 2000-12-01 Ulrich Drepper <drepper@redhat.com>
7988 * configure.in: Correct test for pserver CVS access.
7990 2000-11-28 H.J. Lu <hjl@gnu.org>
7992 * libio/libio.h: Remove extra "#if ... #endif".
7994 2000-11-29 H.J. Lu <hjl@gnu.org>
7996 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
7998 2000-12-01 H.J. Lu <hjl@gnu.org>
8000 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
8001 * nss/getXXent_r.c: Likewise.
8002 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8004 2000-11-30 H.J. Lu <hjl@gnu.org>
8006 * scripts/abi-versions.awk (oldest_abi): New variable.
8007 Handle the oldest ABI supported.
8009 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
8010 for scripts/abi-versions.awk.
8012 * configure.in: Add --with-oldest-abi=ABI.
8013 * configure: Rebuild.
8015 * config.make.in (oldest-abi): New.
8017 * config.h.in (GLIBC_OLDEST_ABI): New.
8019 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
8021 2000-11-30 Jakub Jelinek <jakub@redhat.com>
8023 * locale/setlocale.c (setname): Free for all categories, not just
8025 (setlocale): Store a copy of string passed by user, not the string
8028 2000-11-30 Roland McGrath <roland@frob.com>
8030 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
8031 rather than _hurd_fd_subinit, so it happens after it's safe to use
8032 libc facilities like malloc.
8034 2000-11-28 Andreas Jaeger <aj@suse.de>
8036 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
8037 declaration, adjust declaration of __syscall_getdents to match
8040 2000-11-29 H.J. Lu <hjl@gnu.org>
8042 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
8044 2000-11-29 Andreas Jaeger <aj@suse.de>
8046 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
8048 2000-11-28 Ulrich Drepper <drepper@redhat.com>
8050 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
8051 * dlfcn/defaultmod2.c: Likewise.
8052 * dlfcn/dlopen.c: Likewise.
8053 * dlfcn/dlopenold.c: Likewise.
8054 * dlfcn/failtestmod.c: Likewise.
8055 * dlfcn/glreflib1.c: Likewise.
8056 * dlfcn/glreflib2.c: Likewise.
8057 * dlfcn/eval.c: Likewise. Add attributes.
8059 * ctype/ctype-extn.c: Define isblank and not __isblank.
8061 * time/strftime.c: Add const where necessary to avoid warnings.
8062 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
8064 2000-11-22 Paul Eggert <eggert@twinsun.com>
8066 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
8067 size of (size_t) -1; it's not portable.
8069 2000-11-28 Ulrich Drepper <drepper@redhat.com>
8071 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
8073 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8075 2000-11-14 Jes Sorensen <jes@linuxcare.com>
8077 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
8079 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
8080 _mcount is required by profiled binaries.
8082 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
8083 * sysdeps/ia64/machine-gmon.h: ...here.
8085 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
8087 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
8088 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
8090 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
8092 * iconvdata/ibm922.c: New file.
8093 * iconvdata/ibm922.h: New file.
8094 * iconvdata/ibm1124.c: New file.
8095 * iconvdata/ibm1124.h: New file.
8096 * iconvdata/ibm1129.c: New file.
8097 * iconvdata/ibm1129.h: New file.
8098 * iconvdata/testdata/IBM922: New file.
8099 * iconvdata/testdata/IBM922..UTF8: New file.
8100 * iconvdata/testdata/IBM1124: New file.
8101 * iconvdata/testdata/IBM1124..UTF8: New file.
8102 * iconvdata/testdata/IBM1129: New file.
8103 * iconvdata/testdata/IBM1129..UTF8: New file.
8105 2000-11-28 Ulrich Drepper <drepper@redhat.com>
8107 * catgets/gencat.c (normalize_line): Take extra parameter with escape
8108 character. Change callers.
8109 (open_conversion): Determine mapping of 0x5c as wchar_t value.
8110 * catgets/Makefile: Add rules to build and run test-gencat.
8111 * catgets/sample.SJIS: New file.
8112 * catgets/test-gencat.c: New file.
8113 * catgets/test-gencat.sh: New file.
8114 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8116 2000-11-28 Andreas Jaeger <aj@suse.de>
8118 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
8121 2000-11-28 Ulrich Drepper <drepper@redhat.com>
8123 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
8125 2000-11-28 Andreas Jaeger <aj@suse.de>
8127 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
8129 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
8132 2000-11-27 Ulrich Drepper <drepper@redhat.com>
8134 * misc/getusershell.c: Make strings in okshells array const.
8135 * misc/regexp.c: Add const to cast to avoid warnings.
8136 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
8137 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
8139 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
8141 * misc/error.c: Add prototypes for __error and __error_at_line.
8142 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
8143 statement to avoid warning.
8144 * test-skeleton.c: Mark timeout_handler with noreturn.
8145 * iconv/skeleton.c (get16u): Add const to cast.
8147 * iconvdata/gb18030.c: Likewise.
8148 * iconvdata/iso-2022-cn-ext.c: Likewise.
8149 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
8150 * iconvdata/big5.c: Likewise.
8151 * iconvdata/big5hkscs.c: Likewise.
8152 * iconvdata/iso_6937.c: Likewise.
8153 * iconvdata/iso_6937-2.c: Likewise.
8154 * iconvdata/t.61.c: Likewise.
8155 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
8156 * iconvdata/unicode.c: Likewise.
8157 * iconvdata/utf-16.c: Likewise.
8158 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
8159 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
8160 with little code shuffling.
8162 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
8163 the problems introduced when the user selects -O3.
8165 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
8166 * misc/sys/cdefs.h: Define __flexarr.
8167 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
8169 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
8170 * iconv/skeleton.c: Likewise.
8171 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
8172 * iconv/loop.c (get16): Add const to cast.
8175 2000-11-27 Andreas Jaeger <aj@suse.de>
8177 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
8179 * login/programs/utmpdump.c (print_entry): Likewise.
8181 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
8183 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
8184 in a single asm as they may be used to access other stored
8186 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8188 2000-11-27 Andreas Jaeger <aj@suse.de>
8190 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
8191 * rt/tst-aio64.c: Likewise.
8193 2000-11-27 Ulrich Drepper <drepper@redhat.com>
8195 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
8197 (libc.cat): Likewise.
8198 * catgets/gencat.c: Implement handling of message catalogs encoded
8199 with stateful character sets.
8200 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8202 2000-11-26 Ulrich Drepper <drepper@redhat.com>
8204 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
8206 * inet/getnameinfo.c: Adjust casts to avoid warnings.
8207 * inet/rcmd.c: Likewise.
8208 * inet/ruserpass.c: Likewise.
8209 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
8210 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8211 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
8212 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
8213 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
8214 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
8215 * include/aliases.h: Add prototypes for internal __getalias* functions.
8216 * include/netdb.h: Add prototypes for __old_gethostent_r,
8217 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
8218 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
8219 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
8220 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
8221 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
8222 __old_getrpcbynumber_r, __old_getrpcent_r.
8224 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
8225 __getrpcent_r prototypes.
8227 2000-11-25 Ulrich Drepper <drepper@redhat.com>
8229 * string/strcoll.c: Add casts to avoid warnings.
8230 * string/strnlen.c: Likewise.
8231 * string/strxfrm.c: Likewise.
8232 * sysdeps/generic/_strerror.c: Likewise.
8233 * sysdeps/generic/memrchr.c: Likewise.
8234 * sysdeps/generic/strcasestr.c: Likewise.
8235 * sysdeps/generic/strstr.c: Likewise.
8237 * locale/weight.h (findidx): Add const to cast to avoid warning.
8239 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
8240 * elf/loadtest.c: Likewise.
8241 * elf/multiload.c: Likewise.
8242 * elf/next.c: Likewise.
8243 * elf/nodelete.c: Likewise.
8244 * elf/noload.c: Likewise.
8245 * elf/order.c: Likewise.
8246 * elf/origtest.c: Likewise.
8247 * elf/preloadtest.c: Likewise.
8248 * elf/restest1.c: Likewise.
8250 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
8251 parameter of asm must be in %ecx.
8253 * string/tester.c: Mark test functions as static to avoid warnings.
8255 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
8256 preserve value over different gconv-modules files.
8258 2000-11-24 Ulrich Drepper <drepper@redhat.com>
8260 * locale/findlocale.c: Add casts to avoid warnings.
8261 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
8262 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
8264 * misc/tsearch.c (const_node): New type.
8265 (trecurse): Correct casts to avoid warnings.
8266 (__twalk): Likewise.
8267 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
8270 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
8272 * test-skeleton.c: Mark local functions as static to avoid warnings.
8274 2000-11-23 H.J. Lu <hjl@gnu.org>
8276 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
8277 support the background job.
8280 2000-11-24 Ulrich Drepper <drepper@redhat.com>
8282 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
8283 has same names but lower cost.
8285 2000-11-23 Jakub Jelinek <jakub@redhat.com>
8287 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
8288 which never occur during bootstrap.
8289 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8291 2000-11-23 Andreas Jaeger <aj@suse.de>
8293 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
8295 * nss/Versions: Remove _nss_files_getipnodebyname_r.
8297 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
8299 2000-11-18 Martin Buchholz <martin@xemacs.org>
8301 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
8304 2000-11-21 Alan Modra <alan@linuxcare.com.au>
8306 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
8308 * csu/abi-note.S: Correct comment for operating system number.
8310 2000-11-22 Ulrich Drepper <drepper@redhat.com>
8312 * Versions.def: Add GLIBC_2.2.1 for glibc.
8314 2000-11-22 Andreas Schwab <schwab@suse.de>
8316 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
8317 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
8319 2000-11-22 Ulrich Drepper <drepper@redhat.com>
8321 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
8322 absolute time for pthread_cond_timedwait call.
8323 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
8325 * rt/Makefile (tests): Add tst-aio6.
8326 * rt/tst-aio6.c: New file.
8328 2000-11-23 Andreas Jaeger <aj@suse.de>
8330 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
8332 2000-11-22 Andreas Jaeger <aj@suse.de>
8334 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
8336 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
8338 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
8340 2000-11-21 Andreas Schwab <schwab@suse.de>
8342 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
8343 * sysdeps/arm/setjmp.S: Likewise.
8344 * sysdeps/arm/fpu/setjmp.S: Likewise.
8345 * sysdeps/i386/setjmp.S: Likewise.
8346 * sysdeps/i386/elf/setjmp.S: Likewise.
8347 * sysdeps/s390/setjmp.S: Likewise.
8348 * sysdeps/s390/elf/setjmp.S: Likewise.
8349 * sysdeps/sh/sh3/setjmp.S: Likewise.
8350 * sysdeps/sh/sh4/setjmp.S: Likewise.
8351 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8352 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8353 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
8354 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
8356 2000-11-21 Andreas Jaeger <aj@suse.de>
8358 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
8359 NORETURN, fix parameter list.
8361 * string/bug-strncat1.c (main): Fix typo.
8362 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
8364 2000-11-20 Ulrich Drepper <drepper@redhat.com>
8366 * configure.in: Add --enable-all-warnings.
8367 * config.make.in (all-warnings): New variable.
8368 * Makeconfig (+gccwarn): Define with many more warnings if
8369 all-warnings is yes.
8371 2000-11-20 Jakub Jelinek <jakub@redhat.com>
8373 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
8374 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
8375 * malloc/tst-valloc.c (main): Cast valloc return value to long.
8376 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
8377 * math/test-fpucw.c (main): Use %lx in format string, cast
8378 control words to long.
8379 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
8380 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
8381 large that it is unsigned warning.
8383 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
8384 it to long on sparc64.
8386 2000-11-20 Andreas Jaeger <aj@suse.de>
8388 * nscd/nscd.h (termination_handler): Add noreturn attribute.
8389 (receiv_print_stats): Likewise.
8391 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
8393 2000-11-20 Ulrich Drepper <drepper@redhat.com>
8395 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
8397 * csu/gmon-start.c: Always have prototype for __gmon_start.
8398 * csu/version.c: Add prototypes for __libc_print_version and
8400 * iconv/gconv.c: Include gconv_int.h and gconv.h.
8401 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
8403 * iconv/gconv_builtin.h: Add ASCII module definitions.
8404 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
8405 (add_module): Add cast to avoid warning. Rework construction of
8406 strings for new module.
8407 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
8408 (derivation_compare): Likewise.
8409 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
8410 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
8411 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
8412 (struct gconv_alias): Remove const from fromname and toname.
8413 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
8415 (internal_ucs4_loop): Use correct const-ness.
8416 (ucs4_internal_loop): Likewise.
8417 (internal_ucs4le_loop): Likewise.
8418 (ucs4le_internal_loop_single): Likewise.
8419 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
8420 to_idx, to_tbl, winbuf, winbufend const. Change casts in
8421 assignments appropriately.
8422 (struct known_trans): Remove const from fname.
8423 (trans_compare): Make s1 and s2 const.
8424 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
8426 * iconv/skeleton.c: Remove cast in calls of loop functions.
8427 * iconvdata/gconv-modules: Remove US-ASCII definitions.
8428 * iconvdata/iso646.c: Remove US_ASCII support.
8429 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
8430 * include/unistd.h: Add __libc_check_standard_fds prototype.
8431 * string/bits/string2.h (__mempcpy_args): Add const to casts.
8432 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
8434 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
8435 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
8436 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
8438 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
8439 __libc_init_first and _dl_start.
8440 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
8441 (DCIGETTEXT): Make domaindata variable const.
8442 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
8445 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
8447 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
8449 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
8450 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
8453 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
8454 value defined in /usr/include/asm-mips/fcntl.h.
8456 2000-11-18 Ulrich Drepper <drepper@redhat.com>
8458 * stdio-common/Makefile (tests): Add test-vfprintf.
8459 (test-vfprintf-ENV): New variable.
8460 * stdio-common/test-vfprintf.c: New file.
8462 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
8464 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
8465 (tst-mbrtowc-ENV): New variable.
8466 (tst-wcrtomb-ENV): New variable.
8467 * wcsmbs/tst-mbrtowc.c: New file.
8468 * wcsmbs/tst-wcrtomb.c: New file.
8470 2000-11-16 Andreas Jaeger <aj@suse.de>
8472 * manual/install.texi (Tools for Compilation): Update
8473 documentation for GCC 2.95.2.
8475 2000-11-18 Ulrich Drepper <drepper@redhat.com>
8477 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
8478 if IPv4 and IPv6 requests timed out.
8480 2000-11-18 Akim Demaille <akim@epita.fr>
8482 * malloc/obstack.h: Formatting changes.
8483 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
8484 prevents type checking.
8485 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
8486 cast the value to (void *): assigning a `foo *' to a `void *'
8488 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
8490 2000-11-17 Ulrich Drepper <drepper@redhat.com>
8492 * scripts/config.guess: Update from upstream maintainer.
8493 * scripts/config.sub: Likewise.
8495 2000-11-16 Ulrich Drepper <drepper@redhat.com>
8497 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
8498 * libio/freopen64.c (freopen64): Likewise.
8499 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8501 * libio/Makefile: Add rules to build and run test-freopen.
8502 * libio/test-freopen.c: New file.
8503 * libio/test-freopen.sh: New file.
8505 2000-11-15 H.J. Lu <hjl@gnu.org>
8507 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
8508 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
8509 (DL_DT_FINI_ADDRESS): Likewise.
8511 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
8512 return type to ElfW(Addr).
8513 (_dl_function_address): New prototype.
8514 (DL_FUNCTION_ADDRESS): Defined.
8515 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
8516 (DL_DT_FINI_ADDRESS): Likewise.
8518 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
8520 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
8521 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
8523 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
8524 (_dl_function_address): This.
8526 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
8527 function pointer for DT_FINI.
8528 * elf/dl-close.c (_dl_close): Likewise.
8530 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
8531 function pointer for DT_INIT.
8533 2000-11-16 Jakub Jelinek <jakub@redhat.com>
8535 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
8536 end of wexpbuf buffer.
8538 2000-11-16 Andreas Jaeger <aj@suse.de>
8540 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
8541 definition of F_GETLK, F_SETLK, F_SETLKW.
8543 2000-11-16 Andreas Jaeger <aj@suse.de>
8545 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
8548 2000-11-15 Jakub Jelinek <jakub@redhat.com>
8550 * dlfcn/default.c (main): Add test for dladdr of main returning
8551 argv[0] in dli_fname field.
8553 2000-11-15 Jakub Jelinek <jakub@redhat.com>
8555 * Makeconfig (run-program-prefix): Move test-static test into the
8558 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
8559 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
8560 schedule instructions.
8561 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
8562 schedule instructions, fix a bug in copying auxiliary data.
8564 2000-11-15 Ulrich Drepper <drepper@redhat.com>
8566 * manual/startup.texi (Program Arguments): Fix type of main's envp
8568 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
8570 * iconvdata/gconv-modules: Add CP950 alias.
8572 2000-11-13 Jakub Jelinek <jakub@redhat.com>
8574 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
8575 syscall-list.h goal.
8576 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
8578 2000-11-15 Ulrich Drepper <drepper@redhat.com>
8580 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
8582 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
8585 * intl/tst-gettext2.c: Set C locale if setting other locale
8586 failed. Use gettext() not _().
8588 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
8589 successfully loaded a new locale.
8591 2000-11-13 Andreas Jaeger <aj@suse.de>
8593 * configure.in: Require gcc 2.95 or newer.
8595 2000-11-15 Ulrich Drepper <drepper@redhat.com>
8597 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
8598 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
8600 2000-11-11 Jim Meyering <meyering@lucent.com>
8602 * string/strndup.c (strndup): Cast return value to `char *'.
8604 2000-11-15 Jim Meyering <meyering@ascend.com>
8606 * sysdeps/generic/memchr.c: Remove some useless parentheses.
8607 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
8608 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
8609 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
8610 Also #undef __memchr.
8611 Use `weak_alias' only if it's defined.
8613 2000-11-10 H.J. Lu <hjl@gnu.org>
8615 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
8617 2000-11-15 Andreas Jaeger <aj@suse.de>
8619 * elf/chroot_canon.c: Include <stdint.h>.
8621 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
8622 (print_entry): Likewise.
8623 (add_to_cache): Likewise.
8625 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
8627 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
8628 (path_hwcap): Likewise.
8629 (search_dir): Likewise.
8631 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
8633 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
8635 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
8636 (_dl_platform_string): New.
8637 (_DL_HWCAP_PLATFORM): New.
8638 (_dl_string_platform): New.
8639 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
8641 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8642 (_dl_string_platform): New.
8643 (_DL_HWCAP_PLATFORM): New.
8644 (_dl_platform_string): New.
8646 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
8648 (_DL_HWCAP_COUNT): New.
8649 (_dl_string_platform): New.
8650 (_DL_HWCAP_PLATFORM): New.
8651 (_dl_platform_string): New.
8653 2000-11-14 Ulrich Drepper <drepper@redhat.com>
8655 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
8657 2000-11-14 Andreas Jaeger <aj@suse.de>
8659 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
8661 2000-11-13 Roland McGrath <roland@frob.com>
8663 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
8665 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
8667 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
8668 underrun and make sure the result is null terminated even if there
8669 is no trailing newline.
8671 2000-11-13 Jakub Jelinek <jakub@redhat.com>
8673 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8675 2000-11-10 H.J. Lu <hjl@gnu.org>
8677 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
8679 2000-11-10 Andreas Jaeger <aj@suse.de>
8681 * elf/ldconfig.c (create_links): Fix alloca calculation.
8682 Patch by Ben Collins <bcollins@debian.org>.
8684 2000-11-09 Ulrich Drepper <drepper@redhat.com>
8686 * inet/getnameinfo.c (getnameinfo): Use correct destination
8687 parameter for if_indextoname.
8688 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
8690 2000-11-09 H.J. Lu <hjl@gnu.org>
8692 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
8693 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
8694 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
8697 * time/Versions (GLIBC_2.1): Move getitimer to...
8698 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
8700 2000-11-03 Bruno Haible <haible@clisp.cons.org>
8702 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
8703 "make install", to work around a binary incompatibility between
8704 glibc 2.1 and glibc 2.2 gconv modules.
8706 2000-11-09 Ulrich Drepper <drepper@redhat.com>
8708 * intl/locale.alias: Add thai.
8709 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
8711 2000-11-07 Akim Demaille <akim@epita.fr>
8713 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
8714 argument `data' for consistency with the prototypes.
8716 (obstack_copy, obstack_copy0): Rename the second argument as
8717 `address' for consistency. Qualify it `const'.
8718 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
8719 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
8720 `const' their input argument (`data' or `address').
8721 Adjust the corresponding macros to include `const' in casts.
8723 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8725 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
8728 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8730 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
8733 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8735 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
8736 ai_protocol by internal table if service was not given.
8738 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8740 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
8741 numerical port was specified with protocol without socktype.
8743 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8745 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
8747 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8749 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
8751 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8753 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
8754 sin6_scope_id field.
8756 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8758 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
8760 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8762 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
8764 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8766 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
8767 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
8769 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
8771 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
8772 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
8774 2000-11-09 H.J. Lu <hjl@gnu.org>
8776 * io/Versions (GLIBC_2.1.1): Remove lockf64.
8779 See ChangeLog.11 for earlier changes.