1 2001-07-01 Mark Kettenis <kettenis@gnu.org>
3 * sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in
4 the Hurd pfinet server, using equivalent code from the Linux
5 version in sysdeps/unix/sysv/linux/if_index.c. In detail:
6 Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and
7 <hurd/pfinet.h>. Don't include <sys/mman.h> and <hurd/fsys.h>
9 (if_nametoindex): New implementation using SIOCGIFINDEX.
10 (if_freenameindex): Straight copy of the Linux version.
11 (if_nameindex): New implementation based on pfinet_siocgifconf and
13 (if_indextoname): New implementation using SIOCGIFNAME.
14 (map_interfaces): Function removed.
15 From Marcus Brinkmann <marcus@gnu.org>.
17 2001-06-30 Jakub Jelinek <jakub@redhat.com>
19 * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
20 gaps below main executable.
22 2001-06-19 Andreas Jaeger <aj@suse.de>
24 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
27 2001-06-29 Andreas Jaeger <aj@suse.de>
29 * sysdeps/ieee754/ldbl-128/s_asinhl.c: New file.
30 Patch by Stephen L Moshier <moshier@mediaone.net>.
32 2001-06-28 Ulrich Drepper <drepper@redhat.com>
34 * manual/argp.texi: Tons of cleanups.
35 Patch by Clifford U. Smith <cuel@swbell.net>.
37 2001-06-28 Mark Kettenis <kettenis@gnu.org>
39 * manual/users.texi (Setting Groups): Correct initgroups
40 documentation. Add documentation for getgrouplist.
42 2001-06-28 H.J. Lu <hjl@gnu.org>
44 * locale/findlocale.c (locale_file_list): Renamed to ...
45 (_nl_locale_file_list): This. Make it extern.
46 (free_mem): Move to ...
47 * locale/setlocale.c (free_mem): Here.
49 2001-06-28 Mark Kettenis <kettenis@gnu.org>
51 * sysdeps/mach/hurd/read.c: Include <hurd/fd.h>.
52 (__libc_read): Don't call __pread. Use _hurd_fd_read directly
54 * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>.
55 (__libc_write): Don't call __pwrite. Use _hurd_fd_write directly
58 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back
59 -Wl,-soname option lost in 2001-06-16 change.
61 2001-06-27 Ulrich Drepper <drepper@redhat.com>
63 * posix/tst-regex.c: Pass REG_NEWLINE to regcomp. Add extra tests.
64 Restrict printing of string in debug mode to 100 characters to make
65 the output useful for long input texts.
67 * posix/Makefile: Add rules to build and run tst-regex.
69 2001-06-20 Isamu Hasegawa <isamu@yamato.ibm.com>
71 * posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers.
72 (re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
73 (wcs_re_match_2_internal): Check whether the wcs buffers need
74 seting up or not, and skip seting up routin if not needed.
76 2001-06-26 Isamu Hasegawa <isamu@yamato.ibm.com>
78 * posix/regex.c (count_mbs_length): Use binary search for optimization.
80 2001-06-27 Ulrich Drepper <drepper@redhat.com>
82 * posix/tst-regex.c: Fix several bugs. Add more tests.
84 2001-06-26 Mark Kettenis <kettenis@gnu.org>
86 * hurd/Makefile (user-interfaces): Add pfinet.
87 * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and
89 (siocgifconf): New function. Register it with HURD_HANDLE_IOCTL
90 as the handler for SIOCGIFCONF.
91 * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and
92 SIOCGIFFLAGS to be of IOC type ifreq_short. Modify SIOCSIFMETRIC
93 and SIOCGIFMETRIC to be of IOC type ifreq_int. Add new macro
94 definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and
96 From Marcus Brunkmann <marcus@gnu.org>.
98 2001-06-25 Ulrich Drepper <drepper@redhat.com>
100 * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
101 and _IOT_ifreq_int. Patch by Mark Kettenis <kettenis@wins.uva.nl>.
103 * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
104 _dl_catch_error calls.
106 2001-06-22 Jakub Jelinek <jakub@redhat.com>
108 * posix/regex.c (regex_compile, re_match_2_internal): Fix comment
111 2001-06-01 Wolfram Gloger <wg@malloc.de>
113 * malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
114 ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
115 when malloc_atfork is in use.
117 2001-06-22 Andreas Jaeger <aj@suse.de>
119 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
122 * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
124 Add unused attributes to avoid warnings.
126 * elf/reldep4mod4.c: Add prototype to avoid warning.
127 * elf/reldep4mod2.c: Likewise.
129 * sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for
132 2001-06-18 Roland McGrath <roland@frob.com>
134 * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int.
136 2001-06-20 Alexandre Oliva <aoliva@redhat.com>
138 * sysdeps/unix/sysv/settimeofday.c: Include time.h.
140 2001-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
142 * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
144 2001-05-09 Michael Keezer <mkeezer@redhat.com>
146 * Makeconfig: Added AIX-ld support for DSO.
147 * Makerules: Likewise.
148 * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared.
149 (defaultmod2.so): Likewise.
150 * debug/Makefile: Conditionalize use of elf/ld.so.
151 * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig.
153 * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c.
154 * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) &
155 (f/g)prrest(0/1) static only.
156 * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0.
157 * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but
159 * sysdeps/unix/sysv/aix/setitimer.c: New file.
160 * sysdeps/unix/sysv/aix/sleep.c: New file.
161 * sysdeps/unix/sysv/aix/usleep.c: New file.
162 * sysdeps/unix/sysv/aix/dl-addr.c: New file.
163 * sysdeps/unix/sysv/aix/dl-error.c: New file.
164 * sysdeps/unix/sysv/aix/dl-support.c: New file.
165 * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file.
167 2001-06-19 Ulrich Drepper <drepper@redhat.com>
169 * po/es.po: Update from translation team.
171 2001-06-19 Andreas Jaeger <aj@suse.de>
173 * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file.
175 * math/libm-test.inc (tanh_test): Test for 2^-56.
177 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result
178 equals argument when x < 2^-55.
179 Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
181 2001-06-17 Alan Modra <amodra@bigpond.net.au>
183 * sysdeps/hppa/dl-machine.h (elf_machine_rela): handle relocs
184 at unaligned address.
186 2001-06-18 Ulrich Drepper <drepper@redhat.com>
188 * posix/regex.c: Reorganize code to build code twice, once for single
189 byte, once for multi-byte charsets. Choose function set adequate for
191 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
193 * po/nl.po: Update from translation team.
195 2001-06-09 Bruno Haible <haible@clisp.cons.org>
197 * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
198 (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
199 * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.
201 2001-05-26 Bruno Haible <haible@clisp.cons.org>
203 * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap.
204 * manual/charset.texi: Write Shift_JIS, not Shift-JIS.
206 2001-06-17 Roland McGrath <roland@frob.com>
208 * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,
209 not LIO_READ + 1 (which is the value of LIO_WRITE!).
211 * Makerules (build-module-helper-objlist): New variable,
212 broken out of build-module. Insert --whole-archive/--no-whole-archive
213 immediately each *_pic.a file in the link object list.
214 (whole-archive): New variable, used by that.
215 (build-module-objlist): New variable using build-module-helper-objlist.
216 (build-module, build-module-helper): Use it.
217 (build-shlib-objlist): New variable using build-module-helper-objlist.
218 (build-shlib): Use that.
219 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
221 * posix/spawni.c: Moved to ...
222 * sysdeps/posix/spawni.c: ... here.
223 * sysdeps/generic/spawni.c: New file.
225 2001-06-16 Roland McGrath <roland@frob.com>
227 * hurd/Makefile (routines): Add lookup-retry.
228 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
229 * hurd/lookup-retry.c: ... into here, new file.
230 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
231 using of duplicate code here.
233 * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
235 2001-06-17 Ulrich Drepper <drepper@redhat.com>
237 * po/ja.po: Update from translation team.
239 2001-06-04 Bruno Haible <haible@clisp.cons.org>
241 * locale/programs/locfile.c (siblings_uncached, siblings, full_read,
242 compare_files): New functions.
243 (write_locale_data): Use xmalloc. Compare the file with the locale
244 data files for the same category in other locales, and reuse it if
247 2001-06-07 Mark Kettenis <kettenis@gnu.org>
249 * grp/initgroups.c (initgroups): Factor out re-usable code into...
250 (internal_getgrouplist): ... new function.
251 (getgrouplist): New function.
252 * grp/grp.h (getgrouplist): New prototype.
253 * grp/Versions [2.2.4]: Add getgrouplist.
255 2001-06-16 Ulrich Drepper <drepper@redhat.com>
257 * inet/netinet/ip6.h: Fix comments in ip6_hdr.
258 Patch by Pekka Savola <pekkas@netcore.fi>.
260 2001-06-15 Roland McGrath <roland@frob.com>
262 * rt/Makefile (aio-routines, clock-routines, timer-routines): New
263 variables, broken out of librt-routines.
264 (librt-routines): Set using those.
265 (extra-libs, extra-libc-others, tests): Set these unconditionally.
266 (distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
267 * sysdeps/generic/aio_fsync.c: New file.
268 * sysdeps/generic/aio_misc.c: New file.
269 * sysdeps/generic/aio_write.c: New file.
270 * sysdeps/generic/aio_write64.c: New file.
271 * sysdeps/generic/aio_read64.c: New file.
272 * sysdeps/generic/aio_read.c: New file.
273 * sysdeps/generic/aio_notify.c: New file.
274 * sysdeps/generic/lio_listio64.c: New file.
275 * sysdeps/generic/lio_listio.c: New file.
276 * sysdeps/generic/aio_cancel.c: New file.
277 * sysdeps/generic/aio_misc.h: New file.
278 * sysdeps/generic/aio_suspend.c: New file.
279 * rt/aio_cancel.c: Moved to ...
280 * sysdeps/pthread/aio_cancel.c: ... here.
281 * rt/aio_fsync.c: Moved to ...
282 * sysdeps/pthread/aio_fsync.c: ... here.
283 * rt/aio_misc.c: Moved to ...
284 * sysdeps/pthread/aio_misc.c: ... here.
285 * rt/aio_misc.h: Moved to ...
286 * sysdeps/pthread/aio_misc.h: ... here.
287 * rt/aio_notify.c: Moved to ...
288 * sysdeps/pthread/aio_notify.c: ... here.
289 * rt/aio_read.c: Moved to ...
290 * sysdeps/pthread/aio_read.c: ... here.
291 * rt/aio_read64.c: Moved to ...
292 * sysdeps/pthread/aio_read64.c: ... here.
293 * rt/aio_suspend.c: Moved to ...
294 * sysdeps/pthread/aio_suspend.c: ... here.
295 * rt/aio_write.c: Moved to ...
296 * sysdeps/pthread/aio_write.c: ... here.
297 * rt/aio_write64.c: Moved to ...
298 * sysdeps/pthread/aio_write64.c: ... here.
299 * rt/lio_listio.c: Moved to ...
300 * sysdeps/pthread/lio_listio.c: ... here.
301 * rt/lio_listio64.c: Moved to ...
302 * sysdeps/pthread/lio_listio64.c: ... here.
304 2001-06-14 Roland McGrath <roland@frob.com>
306 * configure.in: Let sysdeps Implies files in add-ons bring in
307 sysdeps directories from the main source and other add-ons too.
309 2001-06-15 Jakub Jelinek <jakub@redhat.com>
311 * math/test-misc.c (main): Add tests for nextafter and nexttoward
312 with +-Inf as second argument.
314 * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
316 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
317 * sysdeps/i386/fpu/s_nexttoward.c: New.
318 * sysdeps/i386/fpu/s_nexttowardf.c: New.
319 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
320 check for NaN, optimize x==+-0 handling.
321 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
322 * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
323 check for NaN, fix sign in x==+-0 case.
324 * sysdeps/ia64/fpu/s_nexttoward.c: New.
325 * sysdeps/ia64/fpu/s_nexttowardf.c: New.
327 2001-06-15 H.J. Lu <hjl@gnu.org>
329 * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
330 * rt/tst-aio3.c (do_test): Likewise.
331 * rt/tst-aio4.c (do_test): Likewise.
332 * rt/tst-aio5.c (do_test): Likewise.
333 * rt/tst-aio6.c (do_test): Likewise.
335 2001-06-15 Andreas Schwab <schwab@suse.de>
337 * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
338 * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
340 2001-06-15 Andreas Jaeger <aj@suse.de>
342 * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning.
344 2001-06-14 Andreas Schwab <schwab@suse.de>
346 * elf/ldconfig.c (search_dir): Fix check for regular file.
348 * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
349 * sysdeps/m68k/fpu/e_log2l.c: Fix typo.
351 2001-06-14 Roland McGrath <roland@frob.com>
353 * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
354 (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
356 2001-06-13 Roland McGrath <roland@frob.com>
358 * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
360 * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
361 so the label is not considered unused.
363 * sysdeps/mach/hurd/pwrite64.c: New file.
364 * sysdeps/mach/hurd/pread64.c: New file.
366 * sysdeps/mach/hurd/pread.c
367 (__libc_pread): Define this name, with __pread as an alias.
368 * sysdeps/mach/hurd/pwrite.c
369 (__libc_pwrite): Define this name, with __pwrite as an alias.
371 Implement POSIX "shared memory objects" as regular
372 files residing in the /var/run/shm/ directory.
373 This works on any system that supports _POSIX_MAPPED_FILES,
374 to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
375 * sysdeps/posix/shm_open.c: New file.
376 * sysdeps/posix/shm_unlink.c: New file.
377 * sysdeps/mach/hurd/bits/posix_opt.h
378 (_POSIX_SHARED_MEMORY_OBJECTS): Define it.
380 * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
381 Use raise instead of __aio_sigqueue.
383 * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
384 * sysdeps/mach/hurd/pwrite.c: Likewise.
386 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
387 [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
388 as default version set.
390 2001-06-13 Ulrich Drepper <drepper@redhat.com>
392 * libio/iolibio.h (_IO_freopen): Correct last parameter to
394 (_IO_freopen64): Likewise.
395 Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].
397 * elf/elf.h: Add a few more EM_* constants.
399 2001-06-12 Bruno Haible <haible@clisp.cons.org>
401 * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.
403 2001-06-09 Ben Collins <bcollins@debian.org>
405 * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
406 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
407 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
408 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
409 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
410 * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
413 2001-06-13 Ulrich Drepper <drepper@redhat.com>
415 * time/sys/time.h: Don't use enum __itimer_which ever for
416 __itimer_which_t for C++.
417 Reported by Martin Buchholz <martin@xemacs.org>.
419 * po/fr.po: Update from translation team.
421 2001-06-12 H.J. Lu <hjl@gnu.org>
423 * configure.in: Fix typos in missing program names.
424 * configure: Regenerated.
426 2001-06-12 Andreas Jaeger <aj@suse.de>
428 * iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
430 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
432 2001-06-11 Andreas Jaeger <aj@suse.de>
434 * sysdeps/ieee754/ldbl-128/e_coshl.c: New file. Contributed by
435 Stephen L Moshier <moshier@mediaone.net>.
437 * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
439 * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
440 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
442 2001-06-11 Michael Deutschmann <michael@talamasca.ocis.net>
444 * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
445 Use my_signo instead of MY_SIGNO and initialize it so that the
446 used signal is always available.
448 2001-06-11 Andreas Jaeger <aj@suse.de>,
449 Michael Deutschmann <michael@talamasca.ocis.net>
451 * io/test-lfs.c (do_prepare): Clean up error messages.
452 (test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
455 2001-06-11 Andreas Jaeger <aj@suse.de>
457 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
458 IMAXBEL): Make always visible since they're needed by POSIX.
459 Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
461 2001-06-10 Ben Collins <bcollins@debian.org>
463 * sysdeps/arm/elf/start.S: Use #function, not @function, for
466 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
469 2001-06-07 H.J. Lu <hjl@gnu.org>
471 * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
473 2001-06-10 Roland McGrath <roland@frob.com>
475 * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
476 * elf/reldep4mod4.c: Likewise.
478 2001-06-10 Mark Kettenis <kettenis@gnu.org>
480 * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
482 2001-06-08 Andreas Schwab <schwab@suse.de>
484 * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
485 Don't dereference at end of string.
487 2001-06-06 Roland McGrath <roland@frob.com>
489 * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
490 From Robert Bihlmeyer <robbe@orcus.priv.at>.
492 2001-06-06 Ulrich Drepper <drepper@redhat.com>
494 * po/ko.po: Update from translation team.
496 2001-06-06 Andreas Jaeger <aj@suse.de>
498 * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
500 Reported by Robert Bernecky <bernecky@acm.org>.
502 2001-06-06 Jakub Jelinek <jakub@redhat.com>
504 * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
505 * sysdeps/ia64/elf/start.S: Likewise.
506 * sysdeps/sh/elf/start.S: Likewise.
507 * sysdeps/s390/s390-32/elf/start.S: Likewise.
508 * sysdeps/s390/s390-64/elf/start.S: Likewise.
510 2001-06-05 Matthew Wilcox <willy@ldl.fc.hp.com>
512 * sysdeps/hppa/bsd-_setjmp.S: New.
513 * sysdeps/hppa/bsd-setjmp.S: New.
515 * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
516 gcc warnings about multi-line strings.
518 * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
519 * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
521 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
522 setrlimit directly instead of using wrappers.
524 2001-05-01 Richard Hirst <rhirst@linuxcare.com>
526 * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
527 * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
529 2001-06-05 Philipp Thomas <pthomas@suse.de>
531 * nis/nis_call.c (__nisbind_connect): Don't mark for translation
532 what can't be translated.
534 2001-06-06 Ulrich Drepper <drepper@redhat.com>
536 * timezone/zic.c: Update from tzcode2001c.
537 * timezone/private.h: Likewise.
538 * timezone/africa: Update from tzdata2001c.
539 * timezone/asia: Likewise.
540 * timezone/europe: Likewise.
541 * timezone/northamerica: Likewise.
542 * timezone/southamerica: Likewise.
543 * timezone/zone.tab: Likewise.
545 2001-06-04 Bruno Haible <haible@clisp.cons.org>
547 * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
548 * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
550 (__gconv_transform_internal_ucs2): Likewise.
551 (__gconv_transform_internal_ucs2reverse): Likewise.
552 * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
553 * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
554 * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
555 * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
556 * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
557 * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
558 * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
559 * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
560 * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
561 * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
562 * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
563 * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
564 * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
565 * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
566 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
567 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
568 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
569 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
570 * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
571 * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
572 * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
573 * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
574 * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
575 * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
576 * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
577 * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
578 * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
579 * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
580 * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
581 * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
582 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
583 * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
584 TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
585 TAG_language_zh, CURRENT_TAG_MASK): New enum values.
586 (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
587 is already selected but set2 or tag are set.
588 (conversion): New enum type.
589 (cvlist_t): New type.
590 (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
591 (conversion_lists): New array.
592 (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag. If "ja",
593 prefer conversion to Japanese character sets. If "zh", prefer
594 conversion to GB2312. If "ko", prefer conversion to KSC5601. Small
596 (INIT_PARAMS): Add tag.
597 (UPDATE_PARAMS): Add tag.
599 2001-06-04 Bruno Haible <haible@clisp.cons.org>
601 * locale/programs/locfile.c (write_locale_data): Before creat(),
602 unlink the file, to avoid crashing the processes that mmap it. Change
603 a double slash to a single slash. Free fname in case of error return.
605 2001-06-02 Jakub Jelinek <jakub@redhat.com>
607 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
608 changes, do the special handling for denormal numbers, not for
609 normalized numbers (patch by <trevin@xmission.com>).
611 * math/test-misc.c (main): Test frexpl with denormal arguments.
613 2001-06-04 Jakub Jelinek <jakub@redhat.com>
615 * math/libm-test.inc (llround_test): Add two new llround tests.
616 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
617 overflow when rounding away from zero.
619 2001-06-04 Jakub Jelinek <jakub@redhat.com>
621 * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
622 * math/math_private.h (__ieee754_log2, __ieee754_log2f,
623 __ieee754_log2l): New prototypes.
624 * sysdeps/generic/w_log2.c: New file.
625 * sysdeps/generic/w_log2f.c: New file.
626 * sysdeps/generic/w_log2l.c: New file.
627 * sysdeps/generic/s_log2l.c: Move...
628 * sysdeps/generic/e_log2l.c: ...to here. Rename to __ieee754_log2l.
629 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
631 * sysdeps/i386/fpu/s_log2.S: Move...
632 * sysdeps/i386/fpu/e_log2.S: ...to here. Rename to __ieee754_log2.
633 * sysdeps/i386/fpu/s_log2f.S: Move...
634 * sysdeps/i386/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f.
635 * sysdeps/i386/fpu/s_log2l.S: Move...
636 * sysdeps/i386/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l.
637 * sysdeps/m68k/fpu/s_log2.c: Move...
638 * sysdeps/m68k/fpu/e_log2.c: ...to here. Rename to __ieee754_log2.
639 * sysdeps/m68k/fpu/s_log2f.c: Move...
640 * sysdeps/m68k/fpu/e_log2f.c: ...to here. Rename to __ieee754_log2f.
641 * sysdeps/m68k/fpu/s_log2l.c: Move...
642 * sysdeps/m68k/fpu/e_log2l.c: ...to here. Rename to __ieee754_log2l.
643 * sysdeps/ieee754/dbl-64/s_log2.c: Move...
644 * sysdeps/ieee754/dbl-64/e_log2.c: ...to here. Rename to
646 * sysdeps/ieee754/flt-32/s_log2f.c: Move...
647 * sysdeps/ieee754/flt-32/e_log2f.c: ...to here. Rename to
650 2001-06-04 Jakub Jelinek <jakub@redhat.com>
652 * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
653 even arguments which result in denormalized exp2 are accepted.
654 (__exp2): Arguments equal to u_threshold already result into
656 * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
657 * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
658 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
659 low, with corrected lowmark use greaterequal, not greater.
660 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
662 2001-06-04 Jakub Jelinek <jakub@redhat.com>
664 * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
665 * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
666 * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
667 * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
668 * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
669 * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
670 * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
671 * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
673 2001-06-04 Jakub Jelinek <jakub@redhat.com>
675 * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
676 gave non-finite result instead of using constant in generic
678 * sysdeps/generic/w_coshf.c (__coshf): Likewise.
679 * sysdeps/generic/w_cosh.c (__cosh): Likewise.
680 * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
681 (__exp10): Test if finite argument gave non-finite result.
682 * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
684 * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
687 2001-06-04 Jakub Jelinek <jakub@redhat.com>
689 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
690 overflow threshold constant (log(LDBL_MAX)+M_LN2l).
692 2001-05-29 Bruno Haible <haible@clisp.cons.org>
694 * locale/programs/ld-ctype.c (idx_table): New struct type.
695 (idx_table_init, idx_table_get, idx_table_add): New functions.
696 (MAX_CHARNAMES_IDX): Remove macro.
697 (locale_ctype_t): Change type of charnames_idx field.
698 (ctype_startup): Change initialization of charnames_idx field.
699 (find_idx): Use idx_table_get and idx_table_add for speed.
701 * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
702 computation of characters in a range.
704 2001-05-29 Bruno Haible <haible@clisp.cons.org>
706 * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
708 (__ucs_to_gb18030_tab1): Likewise.
709 (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
710 (BODY for TO_LOOP): Likewise.
711 * iconvdata/tst-table-charmap.sh: Update for charmaps containing
713 * iconvdata/tst-table-from.c (bmp_only): New variable.
714 (utf8_decode): If bmp_only, don't return characters outside Unicode
716 (main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print
717 a conversion line if utf8_decode returns NULL.
718 * iconvdata/tst-table-to.c (main): When testing encodings other than
719 UTF-8 and GB18030, loop upto U+30000 instead of U+10000. Use UTF-8
720 instead of UCS-2 as input.
721 * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
724 2001-05-29 Bruno Haible <haible@clisp.cons.org>
726 * iconvdata/cns11643l1.c: Update to Unicode 3.1.
727 (__cns11643l1_to_ucs4_tab): Regenerated.
728 (__cns11643l1_from_ucs4_tab12): Regenerated.
729 * iconvdata/cns11643.c: Update to Unicode 3.1.
730 (__cns11643l14_to_ucs4_tab): Remove array.
731 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
732 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
733 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
734 (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
735 (__cns11643_from_ucs4p2_tab): New array.
736 * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
737 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
738 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
739 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
740 (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
741 (__cns11643_from_ucs4_tab): Remove declaration.
742 (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
744 (ucs4_to_cns11643): Update for new arrays. Treat U+3400..U+4DFF and
746 * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
748 (__cns11643_from_ucs4p0_tab): New declaration.
749 (ucs4_to_cns11643l2): Update for new arrays.
750 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
752 (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
753 * iconvdata/EUC-TW.irreversible: New file.
754 * iconvdata/tst-table.sh: Use it.
755 * iconvdata/Makefile (distribute): Add CP1255.irreversible,
756 CP1258.irreversible, EUC-TW.irreversible.
758 2001-05-29 Bruno Haible <haible@clisp.cons.org>
760 * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
761 mathematical symbols.
763 2001-06-05 Andreas Jaeger <aj@suse.de>
765 * manual/stdio.texi (Portable Positioning): Fix description of
768 2001-06-06 Ulrich Drepper <drepper@redhat.com>
770 * sysdeps/generic/wordexp.c: Undo last patch. Use strndupa instead.
772 * po/sk.po: Update from translation team.
774 2001-06-05 Andreas Jaeger <aj@suse.de>
776 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
777 tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
780 2001-06-05 Ulrich Drepper <drepper@redhat.com>
782 * sysdeps/generic/wordexp.c: Add missing free.
783 Patch by yeti@physics.muni.cz.
785 2001-06-02 Tom Browder <tbrowder@home.com>
787 * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
788 within bounds when lag > 0.
790 2001-06-05 Ulrich Drepper <drepper@redhat.com>
792 * po/tr.po: New file.
794 2001-06-05 Andreas Jaeger <aj@suse.de>
796 * manual/libm-err-tab.pl (parse_ulps): Fix typo.
798 2001-06-04 H.J. Lu <hjl@gnu.org>
800 * sysdeps/alpha/elf/start.S: Add .type for the entry point.
801 * sysdeps/arm/elf/start.S: Likewise.
802 * sysdeps/hppa/elf/start.S: Likewise.
803 * sysdeps/i386/elf/start.S: Likewise.
804 * sysdeps/m68k/elf/start.S: Likewise.
805 * sysdeps/mips/elf/start.S: Likewise.
806 * sysdeps/ia64/elf/start.S: Likewise.
807 * sysdeps/sh/elf/start.S: Likewise.
808 * sysdeps/s390/s390-32/elf/start.S: Likewise.
809 * sysdeps/s390/s390-64/elf/start.S: Likewise.
810 * sysdeps/cris/elf/start.S: Likewise.
812 2001-06-04 Bruce Mitchener <bruce@cubik.org>
814 * manual/resource.texi: Correct setpriority/nice documentation.
816 * sysdeps/unix/nice.c: Correct nice() implementation.
818 2001-06-04 Andreas Jaeger <aj@suse.de>
820 * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
821 Stephen L Moshier <moshier@mediaone.net>.
823 2001-06-03 Roland McGrath <roland@frob.com>
825 * Makefile (postclean): Remove obsolete sysd-Makefile.
827 2001-06-01 Roland McGrath <roland@frob.com>
829 * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
830 and use compat_symbol/versioned_symbol instead of plain
831 symbol_version/default_symbol_version.
832 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
833 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
834 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
835 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
836 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
837 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
838 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
839 * sysdeps/arm/fpu/fegetenv.c: Likewise.
840 * sysdeps/arm/fpu/fesetenv.c: Likewise.
841 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
842 * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
843 * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
844 * sysdeps/i386/fpu/fegetenv.c: Likewise.
845 * sysdeps/i386/fpu/fesetenv.c: Likewise.
846 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
847 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
848 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
849 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
850 * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
851 * sysdeps/m68k/fpu/fegetenv.c: Likewise.
852 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
853 * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
854 * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
855 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
856 * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
857 * sysdeps/powerpc/fclrexcpt.c: Likewise.
858 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
859 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
860 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
861 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
862 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
863 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
865 * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
866 * iconvdata/iso-2022-cn-ext.c: Likewise.
868 2001-06-01 Andreas Jaeger <aj@suse.de>
870 * Versions.def: Add version 2.2.4.
872 2001-06-01 Ulrich Drepper <drepper@redhat.com>
874 * socket/Makefile (routines): Add sockatmark.
875 * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
876 * socket/sys/socket.h: Add prototype for sockatmark.
877 * sysdeps/generic/sockatmark.c: New file.
878 * sysdeps/unix/sockatmark.c: New file.
880 2001-06-01 Andreas Jaeger <aj@suse.de>
882 * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
884 (cfsetospeed): Likewise.
885 Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
887 2001-05-31 Joseph S. Myers <jsm28@cam.ac.uk>
889 * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
891 2001-05-30 Martin Schwidefsky <schwidefsky@de.ibm.com>
893 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
894 needs to have the same aligment as the kernel structure.
896 2001-05-29 Jakub Jelinek <jakub@redhat.com>
898 * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
899 u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
900 * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
901 u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
902 against multiple definition.
904 2001-05-30 Ulrich Drepper <drepper@redhat.com>
906 * po/da.po: Update from translation team.
908 2001-05-29 Andreas Jaeger <aj@suse.de>
910 * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
911 Stephen L Moshier <moshier@mediaone.net>.
913 * math/libm-test.inc (sinh_test): Add new test case.
915 * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
917 Patch by Stephen L Moshier <moshier@mediaone.net>.
919 2001-05-23 Andreas Jaeger <aj@suse.de>
921 * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
922 * iconvdata/testdata/WINDOWS-1255..UTF8: this.
924 2001-05-27 Andreas Jaeger <aj@suse.de>
926 * manual/stdio.texi (String Streams): Fix fmemopen description.
927 Reported by Michal Kochanowicz <michal@michal.waw.pl>.
929 2001-05-26 H.J. Lu <hjl@gnu.org>
931 * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
932 to s_sigsuspend. Add s_mmap2.
934 * sysdeps/mips/atomicity.h: New file.
936 * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
938 * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
941 2001-05-25 Bruce Mitchener <bruce@cubik.org>
943 * manual/ctype.texi: Minor fix.
944 * manual/install.texi: Likewise.
945 * manual/startup.texi: Likewise.
946 * manual/examples/dir.c: Use perror() rather than puts().
948 2001-05-25 David Mosberger <davidm@hpl.hp.com>
950 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
951 #endif directive inside a comment to avoid compiler warnings.
953 2001-05-25 Philipp Thomas <pthomas@suse.de>
955 * nis/nis_print.c (nis_nstype2str): Don't mark names of
956 naming services for translation, only UNKNOWN needs it.
957 Add comment to prevent it for the future.
959 2001-05-25 Joseph S. Myers <jsm28@cam.ac.uk>
961 * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
962 3.1 and non-GCC C99 compilers.
964 2001-05-22 David Mosberger <davidm@hpl.hp.com>
966 * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
968 * sysdeps/ia64/memcpy.S: Likewise.
970 * sysdeps/ia64/bcopy.S: New file.
972 * sysdeps/ia64/bzero.S: New file (derived from memset.S).
974 2001-05-26 Ulrich Drepper <drepper@redhat.com>
976 * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
978 2001-05-24 Ulrich Drepper <drepper@redhat.com>
980 * iconvdata/Makefile: Add rules for CP10007.
981 * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
982 * iconvdata/cp10007.c: New file.
983 * iconvdata/tst-tables.sh: Add CP10007.
985 2001-05-23 kaz Kojima <kkojima@rr.iij4u.or.jp>
987 * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
988 (_dl_runtime_profile): Likewise..
990 2001-05-23 Thorsten Kukuk <kukuk@suse.de>
992 * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
993 * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
995 2001-05-19 H.J. Lu <hjl@gnu.org>
997 * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
998 errstring of the failed DSO to _dl_signal_error ().
1000 2001-05-23 Ulrich Drepper <drepper@redhat.com>
1002 * iconvdata/gconv-modules: Add more aliases to enable use in
1005 2001-05-23 Andreas Jaeger <aj@suse.de>
1007 * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
1008 Remove, it's not used anywhere anymore.
1009 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
1010 (CFLAGS-initfini.s): Likewise.
1011 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1012 (CFLAGS-initfini.s): Likewise.
1013 * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
1015 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
1018 2001-05-21 Bruno Haible <haible@clisp.cons.org>
1020 * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
1021 use 0 instead, and rely on the converter to do the flush.
1022 * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
1024 (utf8_test_2, utf8_test_3): New function.
1025 (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
1027 2001-05-22 Jakub Jelinek <jakub@redhat.com>
1029 * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
1031 * elf/Makefile (distribute): Add reldep4mod[1234].c.
1032 (tests): Add reldep4.
1033 (modules-names): Add reldep4mod[1234].
1034 (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
1035 * elf/reldep4.c: New file.
1036 * elf/reldep4mod1.c: Likewise.
1037 * elf/reldep4mod2.c: Likewise.
1038 * elf/reldep4mod3.c: Likewise.
1039 * elf/reldep4mod4.c: Likewise.
1041 2001-05-18 Jakub Jelinek <jakub@redhat.com>
1043 * elf/dl-lookup.c (PROTECTED): Remove defines.
1044 (add_dependency): Mark it with internal_function.
1045 (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
1046 (_dl_lookup_symbol, _dl_lookup_symbol_skip,
1047 _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
1048 it if we don't want do_lookup* inlined.
1050 2001-05-18 Jakub Jelinek <jakub@redhat.com>
1052 * include/link.h (struct r_scope_elem): Remove r_duplist and
1054 * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
1055 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
1057 (_dl_lookup_versioned_symbol_skip): Likewise.
1058 * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
1059 (_dl_map_object_deps): Don't compute duplicate list.
1061 * elf/dl-symbol.c: Removed.
1062 * elf/Makefile (routines): Remove dl-symbol.
1064 2001-05-22 Ulrich Drepper <drepper@redhat.com>
1066 * po/el.po: Update from translation team.
1067 * po/sv.po: Likewise.
1069 2001-05-20 Bruno Haible <haible@clisp.cons.org>
1071 * iconvdata/cp1255.c: Completely rewritten.
1072 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
1073 * iconvdata/testdata/WINDOWS-1255: New file.
1074 * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
1075 * iconvdata/TESTS: Add WINDOWS-1255 test.
1076 * iconvdata/CP1255.irreversible: New file.
1078 2001-05-20 Bruno Haible <haible@clisp.cons.org>
1080 * iconvdata/cp1258.c: Completely rewritten.
1081 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
1082 * iconvdata/testdata/WINDOWS-1258: New file.
1083 * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
1084 * iconvdata/TESTS: Add WINDOWS-1258 test.
1085 * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
1086 the main call, and flush it afterwards.
1087 (utf8_decode): Return a string, possibly containing several Unicode
1089 (main): Update all utf8_decode calls.
1090 * iconvdata/CP1258.irreversible: New file.
1092 2001-05-20 Bruno Haible <haible@clisp.cons.org>
1094 * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
1095 * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2. In the
1096 first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
1097 EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
1098 the next step. In the second case, clear the state without calling
1100 * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
1101 data->__outbuf, and outend instead of data->__outbufend.
1102 * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
1103 * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
1104 * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
1105 * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
1106 * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
1107 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
1108 * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
1109 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
1110 * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
1112 2001-05-21 Jakub Jelinek <jakub@redhat.com>
1114 * elf/rtld.c (dl_main): Compute l_map_end for the main program.
1115 * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
1116 If match == _dl_loaded, caller can still come from the main program.
1117 (_dl_vsym): Likewise.
1118 * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
1119 * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
1120 * elf/restest2.c: New test.
1121 * elf/Makefile (tests): Add restest2.
1122 (restest2, LDFLAGS-restest2): Add rules.
1124 2001-05-22 Ulrich Drepper <drepper@redhat.com>
1126 * intl/Makefile: Add a few more dependencies to avoid races in the
1129 2001-05-22 Andreas Jaeger <aj@suse.de>
1131 * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
1132 Stephen L Moshier <moshier@mediaone.net>.
1134 2001-05-22 Martin Schwidefsky <schwidefsky@de.ibm.com>
1136 * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
1137 return addresses instead of the stack pointers.
1138 * sysdeps/s390/s390-64/backtrace.c: Likewise.
1140 2001-05-21 Jakub Jelinek <jakub@redhat.com>
1142 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
1143 bits/sigcontext.h instead of bits/sigstack.h.
1144 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
1145 multiple-inclusion guards.
1147 2001-05-21 Andreas Jaeger <aj@suse.de>
1149 * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
1150 Patch by Philipp Thomas <pthomas@suse.de>.
1152 2001-05-17 Bruce Mitchener <bruce@cubik.org>
1154 * manual/arpg.texi: Spelling, misc fixes.
1155 * manual/arith.texi: Likewise.
1156 * manual/crypt.texi: Likewise.
1157 * manual/debug.texi: Likewise.
1158 * manual/getopt.texi: Likewise.
1159 * manual/intro.texi: Likewise.
1160 * manual/memory.texi: Likewise.
1161 * manual/nss.texi: Likewise.
1162 * manual/pattern.texi: Likewise.
1163 * manual/process.texi: Likewise.
1164 * manual/resource.texi: Likewise.
1165 * manual/search.texi: Likewise.
1166 * manual/setjmp.texi: Likewise.
1167 * manual/signal.texi: Likewise.
1168 * manual/socket.texi: Likewise.
1169 * manual/stdio.texi: Likewise.
1170 * manual/string.texi: Likewise.
1171 * manual/sysinfo.texi: Likewise.
1172 * manual/terminal.texi: Likewise.
1173 * manual/llio.texi: Document madvise().
1175 2001-05-20 Roland McGrath <roland@frob.com>
1177 * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
1178 found within $(add-ons) directories too.
1179 [linuxthreads add-on]: Move variable settings for linuxthreads
1180 to new file linuxthreads/Makeconfig.
1182 2001-05-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1184 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
1185 Define for linux >= 2.4.5 on powerpc.
1186 (__ASSUME_MMAP2_SYSCALL): Likewise.
1188 2001-05-19 Roland McGrath <roland@frob.com>
1190 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
1191 result port when failing with ELOOP. Do the ELOOP check when
1192 following an absolute symlink target as well as relative.
1193 Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
1195 2001-05-18 Andreas Jaeger <aj@suse.de>
1197 * po/fr.po: Free software is "logiciel libre".
1198 Patch by Martin Michlmayr <tbm@cyrius.com>.
1200 * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
1201 Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
1203 2001-05-17 David Mosberger <davidm@hpl.hp.com>
1205 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
1207 2001-05-17 Ulrich Drepper <drepper@redhat.com>
1209 * elf/dl-profile.c (_dl_mcount): Check whether state is
1210 GMON_PROF_ON before doing anything.
1212 2001-05-17 H.J. Lu <hjl@gnu.org>
1214 * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
1216 2001-05-17 Ulrich Drepper <drepper@redhat.com>
1218 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
1219 CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
1220 Reported by Mark Burton <markb@ordern.com>.
1222 2001-05-17 Jakub Jelinek <jakub@redhat.com>
1224 * elf/ldconfig.c (add_dir): Only warn about stat failure if
1226 (search_dir): Likewise.
1228 2001-05-17 Ulrich Drepper <drepper@redhat.com>
1230 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
1231 parameter of xaddl. Patch by H . J . Lu <hjl@lucon.org>.
1233 2001-05-14 Bruno Haible <haible@clisp.cons.org>
1235 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
1236 without previous announcement, reject it regularly, don't abort.
1238 2001-05-16 Ulrich Drepper <drepper@redhat.com>
1240 * math/tgmath.h: Fix handling of int parameters to binary and
1241 ternary functions. Reported by mitr@volny.cz.
1243 * math/test-tgmath.c: Add tests for calls with integer parameters.
1245 2001-05-15 Jakub Jelinek <jakub@redhat.com>
1247 * sunrpc/rpc_thread.c (rpc_default): Remove.
1248 (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
1250 (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
1251 __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
1252 * sunrpc/auth_none.c (authnone_private): Fix a typo.
1254 2001-05-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
1256 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
1258 2001-05-16 Bruce Mitchener <bruce@cubik.org>
1260 * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
1262 2001-05-15 Andreas Jaeger <aj@suse.de>
1264 * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
1265 Stephen L Moshier <moshier@mediaone.net>.
1267 * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
1269 * math/libm-test.inc: Add comment with ToDo.
1271 * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
1272 accurate algorithm. Patch by Stephen L Moshier <moshier@mediaone.net>.
1274 * sysdeps/i386/fpu/e_expl.S: Removed.
1276 2001-05-14 Roland McGrath <roland@frob.com>
1278 * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
1279 static pattern rule also that also covers
1280 $(objpx)g$(static-start-installed-name).
1281 [$(start-installed-name) != $(static-start-installed-name)]
1282 (extra-objs, omit-deps, install-lib): Add
1283 $(static-start-installed-name) and g$(static-start-installed-name).
1284 * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
1285 just setting static-start-installed-name is now sufficient.
1286 (extra-objs): Add static-start.o here.
1287 (CFLAGS-initfini.s): Remove obsolete variable.
1288 * sysdeps/mach/hurd/i386/Makeconfig: New file.
1289 Define static-start-installed-name here.
1291 * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
1292 * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
1294 * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
1295 associated hair. Instead, just use $(wildcard ...) in the include.
1297 * configure.in (critic_missing, aux_missing): Collect in these vars
1298 the names of the missing programs, and include them in the error msgs.
1299 * configure: Regenerated.
1301 2001-05-14 Andreas Jaeger <aj@suse.de>
1303 * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
1305 * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
1307 2001-05-14 Stephen L Moshier <moshier@mediaone.net>
1309 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
1311 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1313 * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
1314 as well if swapping strings.
1315 Make sure stop is not past end of second string.
1316 * posix/bug-regex4.c: New test.
1317 * posix/Makefile (tests): Add bug-regex4.
1319 2001-05-10 Andreas Jaeger <aj@suse.de>
1321 * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
1324 2001-05-12 Andreas Jaeger <aj@suse.de>
1326 * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
1327 internal prototypes.
1328 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1329 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1330 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1331 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1332 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1333 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1334 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1336 * math/math_private.h: Add prototypes for internal functions of
1337 the IBM Accurate Mathematical Library.
1339 * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
1341 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1343 * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
1344 internal prototypes.
1345 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1346 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1347 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1348 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1349 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1350 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1351 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1352 * sysdeps/generic/e_rem_pio2l.c: Likewise.
1353 (__ieee754_rem_pio2l): Fix prototype.
1355 * math/math_private.h (__copysign): Add internal prototype.
1357 2001-05-11 Andreas Jaeger <aj@suse.de>
1359 * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
1360 * sysdeps/unix/sysv/linux/mips/configure.in: ...here. New file.
1362 2001-05-11 Andreas Jaeger <aj@suse.de>
1364 * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
1367 * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
1368 format directive. Patch by Steven J. Hill <sjhill@cotw.com>.
1370 2001-05-11 Roland McGrath <roland@frob.com>
1372 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
1373 $(build-module) here, since we don't need the full magilla.
1374 Just use $(build-module-helper) and append our special options.
1376 2001-05-09 Andreas Schwab <schwab@suse.de>
1378 * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
1381 2001-05-07 H.J. Lu <hjl@gnu.org>
1383 * elf/ldconfig.c (dir_entry): Add ino and dev.
1384 (add_single_dir): Compare ino and dev to check if 2 directory
1385 paths are the same or not. Free entry->path for duplicates.
1386 (add_dir): Initialize ino and dev for entry.
1387 (search_dir): Handle symlink to directory.
1389 2001-05-07 Andreas Jaeger <aj@suse.de>
1391 * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
1393 * math/libm-test.inc (exp_test): Add some more tests.
1394 (pow_test): Run double only test also for long double.
1396 * math/test-ldouble.c (TEST_LDOUBLE): Define.
1397 * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
1399 * sysdeps/generic/bits/confname.h: Remove extra comma at end of
1401 Closes PR libc/2240.
1403 * scripts/config.guess: Imported from gnu.org.
1404 * scripts/config.sub: Likewise.
1406 2001-05-05 Jakub Jelinek <jakub@redhat.com>
1408 * include/features.h (__USE_EXTERN_INLINES): Don't define if
1409 __NO_INLINE__ is defined.
1410 * ctype/ctype.h (tolower, toupper): Change the guard condition to
1411 __USE_EXTERN_INLINES check only.
1412 * stdlib/stdlib.h (strtod, ...): Likewise.
1413 * wcsmbs/wchar.h (mbrlen): Likewise.
1414 * string/string.h: Only include bits/string.h and bits/string2.h
1415 if __NO_INLINE__ is not defined.
1417 2001-05-07 Andreas Jaeger <aj@suse.de>
1419 * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
1422 2001-05-04 H.J. Lu <hjl@gnu.org>
1424 * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
1427 2001-05-06 Andreas Jaeger <aj@suse.de>
1429 * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
1430 * sysdeps/i386/fpu/e_fmodl.S: Removed.
1431 * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
1432 * sysdeps/i386/fpu/e_atan2l.S: Removed.
1433 * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
1434 * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
1435 * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
1436 * sysdeps/i386/fpu/e_acosl.S: Removed.
1437 * sysdeps/i386/fpu/s_atanl.S: Removed.
1438 * sysdeps/i386/fpu/e_sqrtl.S: Removed.
1440 2001-05-05 Mark Kettenis <kettenis@gnu.org>
1442 * sysdeps/mach/hurd/bits/environments.h: Add comment from
1443 sysdeps/generic/bits/environments.h. Define _POSIX_V6_* values.
1445 2001-04-30 Jakub Jelinek <jakub@redhat.com>
1447 * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
1448 that _CS_LFS_CFLAGS can fall through to the empty returned string
1449 case. Add FALLTHROUGH comment.
1451 2001-04-29 Ralf Baechle <ralf@gnu.org>
1453 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
1454 definitions match the kernel definitions.
1455 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1456 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
1458 2001-04-29 Ben Collins <bcollins@debian.org>
1460 * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
1462 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
1463 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1464 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1465 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
1466 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
1467 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1468 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1469 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1470 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1471 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1472 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1473 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1474 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
1475 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1476 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
1477 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1478 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1479 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1480 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1481 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
1482 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
1483 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
1484 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1486 2001-04-29 Andreas Schwab <schwab@suse.de>
1488 * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
1491 2001-04-29 Andreas Jaeger <aj@suse.de>
1493 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1494 Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
1496 * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
1498 (AF_WANPIPE): Likewise.
1501 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
1502 for Linux generic version.
1503 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
1504 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1505 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1506 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
1508 * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
1510 2001-04-27 Ulrich Drepper <drepper@redhat.com>
1512 * nis/nss-nis.h: Correct test for invalid error number.
1513 * nis/nss-nisplus.h: Likewise.
1515 * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
1517 2001-04-26 Ulrich Drepper <drepper@redhat.com>
1519 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
1521 * string/strcoll.c: Fix two memory allocation problems.
1522 * string/Makefile (tests): Add bug-strcoll1.
1523 * string/bug-strcoll1.c: New file.
1525 * malloc/mcheck.c (mcheck): Call malloc once before setting the
1526 hooks to allow the internal check hooks to be set up if necessary.
1528 * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
1529 and rename to __yperr2nss_tab. Change YPERR_COUNT into variable
1531 * nis/nss-nis.c: New file.
1532 * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
1533 and rename to __niserr2nss_tab. Change NISERR_COUNT into variable
1535 * nis/nss-nisplus.c: New file.
1536 * nis/Makefile (libnss_compat-routines): Add nss-nis.
1537 (libnss_nis-routines): Likewise.
1538 (libnss_nisplus-routines): Add nss-nisplus.
1540 * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
1541 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1542 * nis/nss_nisplus/nisplus-grp.c: Likewise.
1543 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1544 * nis/nss_nisplus/nisplus-network.c: Likewise.
1545 * nis/nss_nisplus/nisplus-proto.c: Likewise.
1546 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1547 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1548 * nis/nss_nisplus/nisplus-service.c: Likewise.
1549 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1550 * nis/nss_nis/nis-alias.c: Likewise.
1551 * nis/nss_nis/nis-ethers.c: Likewise.
1552 * nis/nss_nis/nis-grp.c: Likewise.
1553 * nis/nss_nis/nis-network.c: Likewise.
1554 * nis/nss_nis/nis-proto.c: Likewise.
1555 * nis/nss_nis/nis-pwd.c: Likewise.
1556 * nis/nss_nis/nis-spwd.c: Likewise.
1557 * nis/nss_compat/compat-grp.c: Likewise.
1558 * nis/nss_compat/compat-initgroups.c: Likewise.
1559 * nis/nss_compat/compat-pwd.c: Likewise.
1560 * nis/nss_compat/compat-spwd.c: Likewise.
1562 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
1563 optimizations. Patch by Jakub Jelinek <jakub@redhat.com>.
1565 2001-04-26 Andreas Jaeger <aj@suse.de>
1567 * po/zh_TW.po: Update.
1568 Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
1570 2001-04-25 Ulrich Drepper <drepper@redhat.com>
1572 * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
1573 compiler command line.
1574 * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
1575 command line for malloc.c.
1577 2001-04-25 Jakub Jelinek <jakub@redhat.com>
1579 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
1580 * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
1581 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
1582 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
1583 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here. Adjust
1584 struct msghdr for __WORDSIZE == 32.
1585 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
1586 * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust
1587 for __WORDSIZE == 32.
1588 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
1589 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
1591 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
1592 Rename from longjmp, make longjmp weak alias to it.
1594 2001-04-24 David S. Miller <davem@redhat.com>
1596 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
1598 2001-04-25 Matthew Wilcox <willy@ldl.fc.hp.com>
1600 * sysdeps/hppa/stackinfo.h: New file.
1601 * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
1602 * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
1603 * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
1604 * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
1605 of PA kernel features.
1607 2001-04-25 Ulrich Drepper <drepper@redhat.com>
1609 * locale/programs/localedef.c (main): Always set a file name for
1611 * locale/programs/locfile.c (locfile_read): filename is allowed to
1614 2001-04-12 Paul Bame <paul_bame@hp.com>
1616 * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
1619 2001-04-24 Ulrich Drepper <drepper@redhat.com>
1621 * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
1622 _XBS5_LPBIG_OFFBIG): Define to -1.
1625 * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
1626 * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
1627 * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1628 * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1630 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
1631 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
1633 2001-03-21 Alan Modra <alan@one.net.au>
1635 * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
1636 value from application so that constructors in non-PIC libs work.
1638 2000-12-13 Jes Sorensen <jes@linuxcare.com>
1640 * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
1641 function pointer, hence load the jump address and gp from the
1642 function pointer before jumping.
1644 2001-04-24 Andreas Jaeger <aj@suse.de>
1646 * sysdeps/generic/send.c (__send): Return ssize_t.
1647 * sysdeps/mach/hurd/send.c (__send): Likewise.
1648 * sysdeps/mach/hurd/recv.c (recv): Likewise.
1649 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
1650 * sysdeps/generic/sendto.c (sendto): Likewise.
1651 * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
1652 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
1653 * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
1654 * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
1656 * socket/sys/socket.h: send* and recv* return ssize_t.
1658 * include/sys/socket.h: send returns ssize_t.
1660 * sysdeps/i386/fpu_control.h: Fix comments.
1662 2001-04-24 Ulrich Drepper <drepper@redhat.com>
1664 * sysdeps/ia64/Dist: Add hp-timing.c.
1665 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
1666 * posix/Makefile (distribute): Add tst-getconf.sh.
1667 * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
1669 2001-04-23 Ulrich Drepper <drepper@redhat.com>
1671 * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
1672 * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
1673 * sysdeps/ia64/hp-timing.c: New file.
1674 * sysdeps/ia64/hp-timing.h: New file.
1675 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
1676 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1678 * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
1679 using #ifdef whether the clock is available.
1680 * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
1682 * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
1683 it into data section.
1685 * sysdeps/unix/i386/i586/clock_getres.c: Removed.
1686 * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
1687 * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
1688 * sysdeps/unix/i386/i586/clock_settime.c: Removed.
1689 * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
1690 * sysdeps/generic/cpuclock-init.h: Removed.
1691 * sysdeps/unix/i386/i686/Implies: Removed.
1692 * sysdeps/unix/i386/i686/tempname.c: Removed.
1693 * sysdeps/i386/i686/Versions: New file.
1694 * sysdeps/unix/i386/i586/Versions: Removed.
1696 * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
1697 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1698 * sysdeps/unix/clock_gettime.c: Likewise.
1699 * sysdeps/unix/clock_nanosleep.c: Likewise.
1700 * sysdeps/unix/clock_settime.c: Likewise.
1701 * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
1702 RANDOM_BITS use CPU clock.
1704 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
1705 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
1706 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
1707 * sysdeps/sparc/Versions: New file.
1709 * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
1710 hp-timing.h definitions.
1711 * sysdeps/generic/dl-sysdep.c: Likewise.
1713 * include/libc-internal.h: Include hp-timing.h. Use hp_timing_t in
1714 __get_clockfreq prototype.
1716 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1717 Use hp_timing_t type.
1718 * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
1720 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
1722 * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
1723 whether named file is a regular file or a block device.
1724 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
1726 2001-04-23 Andreas Jaeger <aj@suse.de>
1728 * nscd/nscd.h: Add noreturn attribute for start_threads.
1730 2001-04-22 Ulrich Drepper <drepper@redhat.com>
1732 * posix/getconf.c: Fix names of XBS5 LFS test variables.
1733 Add missing configuration variables from XPG6.
1734 * posix/tst-getconf.c: New file.
1735 * posix/Makefile (generated): Add tst-getconf.out.
1736 (tests): Add ($objpfx)tst-getconf.out.
1737 Add rule to run tst-getconf.sh.
1738 * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
1740 * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
1742 * sysdeps/posix/pathconf.c: Likewise.
1743 * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
1744 and _SC_SYMLOOP_MAX.
1746 2001-04-22 Philip Blundell <philb@gnu.org>
1748 * sysdeps/arm/fpu/feenablxcpt.c: New file.
1749 * sysdeps/arm/fpu/fedisablxcpt.c: New file.
1750 * sysdeps/arm/fpu/fegetexcpt.c: New file.
1752 2001-04-22 Philip Blundell <philb@gnu.org>
1754 * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
1755 Renamed from struct user_fp.
1756 (struct user_regs): New.
1757 (struct user): Use struct user_regs rather than struct pt_regs to
1758 avoid dependency on asm/ptrace.h. Use struct user_fpregs in place
1759 of struct user_fp and struct user_fp_struct.
1760 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
1763 2001-04-22 Philip Blundell <philb@gnu.org>
1765 * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
1766 sys/procfs.h, and tell the user to include that file instead.
1767 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
1768 surrounded with #if 0.
1769 (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
1771 (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
1772 elf_fpregset_t respectively.
1774 2001-04-22 Philip Blundell <philb@gnu.org>
1776 * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
1777 address that faulted.
1779 2001-04-21 Ulrich Drepper <drepper@redhat.com>
1781 * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
1783 * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
1784 * posix/confstr.c: Handle _CS_POSIX_V6_* values.
1785 * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
1786 * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
1788 * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
1789 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1790 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1791 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
1793 2001-04-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1795 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
1798 2001-04-21 Ulrich Drepper <drepper@redhat.com>
1800 * posix/getopt.h: Treat __cplusplus like __STDC__.
1802 2001-04-20 John S. Marvin <jsm@fc.hp.com>
1804 * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
1807 2001-04-20 Richard Hirst <rhirst@linuxcare.com>
1809 * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
1810 and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
1812 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
1813 entry so the ptrace.c wrapper is used.
1815 2001-04-20 Alan Modra <amodra@one.net.au>
1817 * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
1818 (DL_FUNCTION_ADDRESS): Define.
1819 (DL_DT_INIT_ADDRESS): Define.
1820 (DL_DT_FINI_ADDRESS): Define.
1821 * sysdeps/hppa/Versions: Add _dl_function_address.
1822 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
1823 * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
1824 _dl_function_address.
1826 2001-04-21 Andreas Jaeger <aj@suse.de>
1828 * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
1829 * resolv/gai_misc.c (handle_requests): Likewise.
1830 * malloc/obstack.c (print_and_abort): Likewise.
1831 * malloc/mcheck.c (mabort): Likewise.
1833 * sysdeps/unix/i386/i586/clock_settime.c: Include
1834 "libc-internal.h" for __get_clockfreq declaration.
1836 2001-04-21 Ulrich Drepper <drepper@redhat.com>
1838 * elf/dl-support.c: Include cpuclock-init.h. Use CPUCLOCK_VARDEF and
1839 CPUCLOCK_INIT if defined.
1840 * sysdeps/generic/dl-sysdep.c: Likewise.
1841 * sysdeps/generic/cpuclock-init.h: New file.
1842 * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
1843 * sysdeps/unix/i386/i586/Versions: New file.
1844 * sysdeps/unix/i386/i586/clock_settime.c: New file.
1845 * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
1846 separately by calling __pthread_clock_gettime if this function is
1847 available. Subtract offset from tsc value before computing time value.
1849 2001-04-20 Ulrich Drepper <drepper@redhat.com>
1851 * iconv/iconv_prog.c (print_known_names): If printing goes not to
1852 a tty print in a more machine-friendly way.
1854 * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
1855 Contributed by Stephen L Moshier <moshier@mediaone.net>.
1857 2001-04-20 Andreas Jaeger <aj@suse.de>
1859 * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
1861 2001-04-20 Andreas Schwab <schwab@suse.de>
1863 * sysdeps/m68k/fpu/libm-test-ulps: Update.
1865 2001-04-19 Alan Modra <amodra@one.net.au>
1867 * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
1868 * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
1869 (CFLAGS-.os): Remove.
1871 * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
1873 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
1874 gregset): Correct for new kernel definitions.
1876 2001-04-19 Alan Modra <alan@linuxcare.com.au>
1878 * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
1879 generate unwind info by hand.
1881 2001-04-19 Ulrich Drepper <drepper@redhat.com>
1883 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
1885 * configure.in: Correct regular expression for msgfmt.
1886 Patch by Bruno Haible <haible@ilog.fr>.
1888 2001-04-19 Andreas Jaeger <aj@suse.de>
1890 * po/el.po: Add comment explaining what's broken.
1892 * po/Makefile (BROKEN_LINGUAS): New.
1893 (ALL_LINGUAS): Don't add broken languages.
1895 2001-04-19 Roland McGrath <roland@frob.com>
1897 * sysdeps/mach/hurd/mlock.c: New file.
1898 * sysdeps/mach/hurd/munlock.c: New file.
1899 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
1901 * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
1902 * sysdeps/generic/mlock.c: New file.
1903 * sysdeps/generic/munlock.c: New file.
1904 * sysdeps/generic/mlockall.c: New file.
1905 * sysdeps/generic/munlockall.c: New file.
1906 * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
1907 * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
1908 mlockall, munlockall): Change caller field to - from EXTRA.
1909 Don't use __ names; not used (and not declared in include/sys/mman.h).
1911 * hurd/privports.c (__get_privileged_ports): Renamed with __.
1912 Use __ names for calls we make.
1913 (get_privileged_ports): Add alias.
1914 * hurd/hurd.h: Declare it with the __ name.
1915 * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
1916 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
1917 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
1919 * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
1920 nothing if it's zero.
1922 2001-04-19 Matthew Wilcox <willy@ldl.fc.hp.com>
1924 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
1925 Change to return a signed result for compatibility with other
1926 architectures, and correctness.
1928 2001-04-19 Ulrich Drepper <drepper@redhat.com>
1930 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
1931 HPPA always had them. Patch by Matthew Wilcox <matthew@wil.cx>.
1933 2001-04-19 Andreas Jaeger <aj@suse.de>
1935 * configure.in: Require gettext 0.10.36 or newer.
1937 * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
1939 * po/zh_TW.po: Remove extraneous backslashes.
1941 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
1944 2001-04-18 Jakub Jelinek <jakub@redhat.com>
1946 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
1947 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
1948 * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
1949 * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
1950 Copy first word of uc_sigmask into __uc_sigmask.
1951 * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
1952 Save uc_link around trap. Copy __uc_sigmask into first word of
1953 uc_sigmask, clear the rest. Make sure setcontext to the created
1954 context doesn't do this though.
1955 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
1956 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
1957 uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
1958 64bit version, make uc_sigmask __sigset_t in the 32bit version.
1960 2001-04-19 Andreas Jaeger <aj@suse.de>
1962 * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
1964 * rt/Makefile (otherlibs): Added for static NSS.
1966 * glibcbug.in (BUGGLIBC): Send to new alias.
1968 2001-04-02 Andreas Schwab <schwab@suse.de>
1970 * Makerules (build-module): Make sure exit codes get checked
1971 properly and remove unnecessary slashes.
1973 2001-04-17 Ulrich Drepper <drepper@redhat.com>
1975 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1976 Handle kernels which report only three digits after the decimal point.
1977 Reported by Van Okamura <van.okamura@oracle.com>.
1979 * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
1981 2001-04-17 David S. Miller <davem@redhat.com>
1983 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
1984 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1986 2001-04-17 Jakub Jelinek <jakub@redhat.com>
1988 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
1989 desired exceptions are raised for exceptional values.
1990 * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
1991 cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
1992 clog_test, log_test, log1p_test, tan_test): Increase precision of
1993 expected values to satisfy ldbl-128.
1994 * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
1995 * sysdeps/arm/libm-test-ulps: Likewise.
1996 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1997 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1998 * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
1999 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2000 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2001 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2002 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2003 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2004 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2006 2001-04-17 Andreas Jaeger <aj@suse.de>
2008 * configure.in: Move test for critical programs up.
2010 2001-04-16 Stephen L Moshier <moshier@mediaone.net>
2012 * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
2014 (pSx, qSx): Replace by shorter approximation.
2015 Use f suffix on float constants.
2017 2001-04-16 Ulrich Drepper <drepper@redhat.com>
2019 * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
2020 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2022 * string/string.h: Replace const in attribute list with __const__.
2024 2001-04-16 Roland McGrath <roland@frob.com>
2026 * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
2027 instead of the constant NGROUPS_MAX. That way, the limit can be
2028 raised in the kernel configuration without having to recompile libc.
2030 * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
2031 define NGROUPS_MAX; we don't use it here.
2033 2001-04-16 Andreas Jaeger <aj@suse.de>
2035 * math/libm-test.inc (atan2_test): Add more testcases.
2037 * iconv/gconv_db.c: Include gconv_charset.h for
2038 __gconv_lookup_alias prototype.
2040 2001-04-13 Ulrich Drepper <drepper@redhat.com>
2042 * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
2043 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2045 2001-04-13 Jes Sorensen <jes@linuxcare.com>
2047 * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
2049 2001-04-13 Jes Sorensen <jes@linuxcare.com>
2051 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
2052 explicitly pad struct siginfo instead of relying on compiler padding.
2054 2001-04-12 Ulrich Drepper <drepper@redhat.com>
2056 * sysdeps/ia64/Dist: Add elf/entry.h.
2058 * iconvdata/Makefile (distribute): Add TESTS2.
2060 2001-04-13 Jakub Jelinek <jakub@redhat.com>
2062 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
2063 Calculate load address differently.
2065 2001-04-12 Bruno Haible <haible@clisp.cons.org>
2067 * iconvdata/TESTS2: New file.
2068 * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
2069 * iconvdata/testdata/alfabeta..UTF-8: New file.
2070 * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
2071 * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
2072 * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
2073 * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
2075 2001-04-11 Bruno Haible <haible@clisp.cons.org>
2077 * iconvdata/utf-32.c: New file.
2078 * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
2079 * iconvdata/Makefile (modules): Add UTF-32.
2080 (distribute): Add utf-32.c.
2082 2001-04-11 Bruno Haible <haible@clisp.cons.org>
2084 * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
2085 changing it in the state. After incrementing 'inptr', store it back.
2086 * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
2089 2001-04-11 Bruno Haible <haible@clisp.cons.org>
2091 * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
2094 2001-04-11 David Mosberger <davidm@hpl.hp.com>
2096 * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
2097 * sysdeps/ia64/htons.S: Likewise.
2099 * sysdeps/ia64/memset.S: Add unwind directives.
2100 * sysdeps/ia64/strncpy.S: Likewise.
2101 * sysdeps/ia64/strcat.S: Likewise.
2103 * sysdeps/ia64/memccpy.S: Add unwind directives. Drop superfluous
2105 * sysdeps/ia64/strchr.S: Likewise.
2106 * sysdeps/ia64/memmove.S: Likewise.
2107 * sysdeps/ia64/memcpy.S: Likewise.
2108 * sysdeps/ia64/memcmp.S: Likewise.
2109 * sysdeps/ia64/memchr.S: Likewise.
2110 * sysdeps/ia64/strcmp.S: Likewise.
2111 * sysdeps/ia64/strlen.S: Likewise.
2112 * sysdeps/ia64/strcpy.S: Likewise.
2113 * sysdeps/ia64/strncmp.S: Likewise.
2115 2001-04-11 Jakub Jelinek <jakub@redhat.com>
2117 * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
2118 fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
2119 fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
2120 fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
2122 2001-04-11 Andreas Jaeger <aj@suse.de>
2124 * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
2126 2001-04-11 Andreas Schwab <schwab@suse.de>
2128 * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
2130 2001-04-11 Ulrich Drepper <drepper@redhat.com>
2132 * sysdeps/arm/stackinfo.h: New file.
2134 2001-04-08 Thorsten Kukuk <kukuk@suse.de>
2136 * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
2137 rpcgen to generate thread safe code.
2139 2001-04-10 Andreas Jaeger <aj@suse.de>
2141 * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
2143 2001-04-10 Ulrich Drepper <drepper@redhat.com>
2145 * elf/dl-minimal.c (__assert_fail): Change error string. It's
2146 most of the time no bug in ld.so.
2147 (__assert_perror_fail): Likewise.
2149 2001-04-11 Hans-Peter Nilsson <hp@axis.com>
2151 * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
2152 from struct to unsigned int.
2154 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2156 * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
2157 AT_IGNOREPPC): New defines.
2158 * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
2159 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
2160 Define for newer powerpc kernels.
2161 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
2162 DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
2164 2000-4-10 kaz Kojima <kkojima@rr.iij4u.or.jp>
2166 * sysdeps/sh/stackinfo.h: New file.
2168 2001-04-10 Ulrich Drepper <drepper@redhat.com>
2170 * locale/tst-C-locale.c (run_test): Add tests for locale objects.
2171 * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
2172 __ctype_tolower, and __ctype_toupper elements.
2174 * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
2175 Reported by Konstantin Osipov <rabid@spylog.ru>.
2177 * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
2180 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2182 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
2183 * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
2184 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
2185 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
2187 2001-04-10 Ulrich Drepper <drepper@redhat.com>
2189 * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
2190 message. Based on a patch by HJ Lu.
2192 2001-04-10 Andreas Schwab <schwab@suse.de>
2194 * math/libm-test.inc (csinh_test): Don't require the invalid
2195 exception for csinh (x + iNaN), but make it optional.
2197 2001-04-09 David Mosberger <davidm@hpl.hp.com>
2199 * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
2201 * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
2202 * sysdeps/ia64/elf/entry.h: New file.
2203 * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
2205 * elf/rtld.c: Don't declare ENTRY_POINT. Use ENTRY_POINT instead
2207 * sysdeps/generic/dl-sysdep.c: Likewise.
2208 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2209 * sysdeps/ia64/elf/start.S: Save base address of register backing
2210 store in __libc_ia64_register_backing_store_base.
2212 2001-04-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
2214 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
2215 value of getcontext.
2216 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2217 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
2218 value of setcontext.
2219 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2220 * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
2221 call by changing the saved context.
2223 2001-04-10 Ulrich Drepper <drepper@redhat.com>
2225 * sysdeps/alpha/stackinfo.h: New file.
2226 * sysdeps/ia64/stackinfo.h: New file.
2228 2001-04-10 Andreas Schwab <schwab@suse.de>
2230 * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
2232 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
2234 2001-04-09 Ulrich Drepper <drepper@redhat.com>
2236 * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
2237 * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
2239 * libio/Makefile (distribute): Add fd_to_filename.h.
2241 2001-04-05 David S. Miller <davem@redhat.com>
2243 Add hp-timing support for sparcv9/sparc64 targets.
2244 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
2245 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
2246 * sysdeps/sparc/sparc64/hp-timing.c: New file
2247 * sysdeps/sparc/sparc64/hp-timing.h: New file
2248 * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
2249 * sysdeps/sparc/sparc64/Makefile: Likewise.
2251 2001-04-09 Jakub Jelinek <jakub@redhat.com>
2253 * sysdeps/generic/fd_to_filename.h: New file.
2254 * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
2255 * libio/freopen.c (freopen): If FILENAME is NULL, try to get
2256 filename from the open file descriptor.
2257 * libio/freopen64.c (freopen64): Likewise.
2259 2001-04-09 Bruno Haible <haible@clisp.cons.org>
2261 * misc/error.c (error): fflush stdout also if
2262 error_print_progname != NULL.
2263 (error_at_line): Likewise.
2265 2001-04-07 Bruno Haible <haible@clisp.cons.org>
2267 * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
2268 (struct binding): Add codeset_cntr field.
2269 (_nl_load_domain): Add domainbinding argument.
2270 (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
2271 (_nl_find_msg): New declaration, moved here from loadinfo.h.
2272 * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
2273 (_nl_make_l10nflist): Remove domainbinding argument.
2274 (_nl_find_msg): Move declaration to gettextP.h.
2275 * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
2276 to 0. Increment it when ->codeset is changed.
2277 * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
2278 (_nl_find_msg): Add domainbinding argument. Reinitialize the converter
2279 if domainbinding->codeset_cntr has been incremented.
2280 * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
2281 _nl_make_l10nflist(). Pass it to _nl_load_domain() instead.
2282 * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
2283 * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
2284 from _nl_load_domain. Append //TRANSLIT also when using libiconv.
2285 (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
2286 (_nl_load_domain): Add domainbinding argument. Call
2287 _nl_init_domain_conv.
2288 (_nl_unload_domain): Call _nl_free_domain_conv.
2289 * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
2290 (test-srcs): Add tst-codeset.
2291 (tests): Depend on tst-codeset.out.
2292 (tst-codeset.out): New rule.
2293 (CFLAGS-tst-codeset.c): New variable.
2294 * intl/tst-codeset.sh: New file.
2295 * intl/tstcodeset.po: New file.
2296 * intl/tst-codeset.c: New file.
2297 * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
2300 2001-04-07 Roland McGrath <roland@frob.com>
2302 * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
2304 2001-03-31 Roland McGrath <roland@frob.com>
2306 * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
2307 copying send rights into child. When we hit our name for our proc
2308 port, just copy NEWPROC directly instead of repeating proc_task2proc
2309 to install the child's port.
2311 2001-04-08 Roland McGrath <roland@frob.com>
2313 * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
2314 in second column, to provide default values for third column.
2315 * shlib-versions: Add comments about using DEFAULT in second column.
2316 (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
2317 (cris-.*-linux.*): Likewise.
2319 2001-04-09 Ulrich Drepper <drepper@redhat.com>
2321 * Makefile (distribute): Add scripts/documented.sh.
2322 * scripts/documented.sh: New file.
2324 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2326 * sysdeps/unix/sysv/linux/cris/Dist: New file.
2327 * sysdeps/unix/sysv/linux/cris/Makefile: New file.
2328 * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
2329 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
2330 * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
2331 * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
2332 * sysdeps/unix/sysv/linux/cris/brk.c: New file.
2333 * sysdeps/unix/sysv/linux/cris/chown.c: New file.
2334 * sysdeps/unix/sysv/linux/cris/clone.S: New file.
2335 * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
2336 * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
2337 * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
2338 * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
2339 * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
2340 * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
2341 * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
2342 * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
2343 * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
2344 * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
2345 * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
2346 * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
2347 * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
2348 * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
2349 * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
2350 * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
2351 * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
2352 * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
2353 * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
2354 * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
2355 * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
2356 * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
2357 * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
2358 * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
2359 * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
2360 * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
2361 * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
2362 * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
2363 * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
2364 * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
2365 * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
2366 * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
2367 * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
2368 * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
2369 * sysdeps/unix/sysv/linux/cris/socket.S: New file.
2370 * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
2371 * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
2372 * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
2373 * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
2374 * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
2375 * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
2377 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2379 * sysdeps/cris/Dist: New file.
2380 * sysdeps/cris/Implies: New file.
2381 * sysdeps/cris/Makefile: New file.
2382 * sysdeps/cris/__longjmp.S: New file.
2383 * sysdeps/cris/_mcount.S: New file.
2384 * sysdeps/cris/bits/endian.h: New file.
2385 * sysdeps/cris/bits/setjmp.h: New file.
2386 * sysdeps/cris/bits/string.h: New file.
2387 * sysdeps/cris/dl-machine.h: New file.
2388 * sysdeps/cris/elf/start.S: New file.
2389 * sysdeps/cris/machine-gmon.h: New file.
2390 * sysdeps/cris/memcopy.h: New file.
2391 * sysdeps/cris/memusage.h: New file.
2392 * sysdeps/cris/setjmp.S: New file.
2393 * sysdeps/cris/sysdep.h: New file.
2394 * sysdeps/cris/wordcopy.c: New file.
2396 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2398 * elf/elf.h: Add new relocations for CRIS.
2400 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2402 * shlib-versions: Add cases for Linux on CRIS.
2404 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2406 * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
2407 ';' for comments and '@' for line separator.
2409 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2411 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
2412 typo; s/==/=/ for assignment.
2414 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2416 * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
2418 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2420 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
2421 empty input before checking full output.
2423 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2425 * iconv/gconv.c (__gconv): Don't derefer parameter cd before
2428 2001-04-08 Ulrich Drepper <drepper@redhat.com>
2430 * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
2432 2001-04-07 Stephen L Moshier <moshier@mediaone.net>
2434 * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
2437 2001-04-07 Ulrich Drepper <drepper@redhat.com>
2439 * stdlib/tst-setcontext.c (main): Add a test for setcontext.
2441 * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
2442 * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
2443 * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
2444 * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
2445 * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
2446 * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
2448 2001-04-07 Andreas Jaeger <aj@suse.de>
2450 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
2451 instead of separate sin and cos.
2452 (__ieee754_j1l): Likewise.
2454 2001-04-06 Ulrich Drepper <drepper@redhat.com>
2456 * sysdeps/ia64/abort-instr.h: New file. Code by David Mosberger.
2458 * sysdeps/ia64/atomicity.h: New file. Copied from libstdc++.
2460 * sysdeps/i386/i486/atomicity.h: Clean up the asms.
2462 * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
2464 * sysdeps/generic/e_scalbf.c: Likewise.
2465 * sysdeps/generic/e_scalbl.c: Likewise.
2466 Patch by Mark Hatle <fray@mvista.com>.
2468 2001-04-05 David S. Miller <davem@redhat.com>
2470 * sysdeps/sparc/abort-instr.h: New file.
2472 2001-04-05 Matt Wilson <msw@redhat.com>
2474 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
2475 added code to parse new 2.4 format.
2476 (GET_NPROCS_CONF_PARSER): Likewise.
2478 2001-04-05 David S. Miller <davem@redhat.com>
2480 * scripts/config.sub: Recognize sparcv9b like sparcv9.
2481 * configure.in: Add sparcv9b.
2482 * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
2483 * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
2484 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
2486 2001-04-06 David Mosberger <davidm@hpl.hp.com>
2488 * stdlib/tst-setcontext.c: Move st2[] to global scope.
2489 (f2): Verify that stack pointer is inside st2[].
2491 * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
2492 * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
2494 2001-04-06 Ulrich Drepper <drepper@redhat.com>
2496 * timezone/antarctica: Update from tzdata2001b.
2497 * timezone/asia: Likewise.
2498 * timezone/australasia: Likewise.
2499 * timezone/europe: Likewise.
2500 * timezone/northamerica: Likewise.
2502 * iconv/iconv_open.c: Move strip and upstr definitions...
2503 * iconv/gconv_charset.h: ...here. New file.
2504 * iconv/gconv_db.c (once): Move to file level.
2505 (do_lookup_alias): Split out from __gconv_find_transform.
2506 (__gconv_find_transform): Call do_lookup_alias.
2507 (__gconv_loopup_alias): New function.
2508 * locale/langinfo.h: Define _NL_*_CODESET values for all categories
2510 * locale/categories.def: Add entries for new _NL_*_CODESET values.
2511 * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
2512 * locale/C-address.c: Initialize _NL_*_CODESET element.
2513 * locale/C-collate.c: Likewise.
2514 * locale/C-identification.c: Likewise.
2515 * locale/C-measurement.c: Likewise.
2516 * locale/C-messages.c: Likewise.
2517 * locale/C-monetary.c: Likewise.
2518 * locale/C-name.c: Likewise.
2519 * locale/C-numeric.c: Likewise.
2520 * locale/C-paper.c: Likewise.
2521 * locale/C-telephone.c: Likewise.
2522 * locale/C-time.c: Likewise.
2523 * locale/localeinfo.h: Declare _nl_C_codeset.
2524 * locale/C_name.c: Define _nl_C_codeset.
2525 * locale/findlocale.c: Before accepting locale check that the used
2526 charset does not conflict with what the locale name said.
2527 * locale/programs/ld-address.c: Emit codeset information.
2528 * locale/programs/ld-collate.c: Likewise.
2529 * locale/programs/ld-identification.c: Likewise.
2530 * locale/programs/ld-measurement.c: Likewise.
2531 * locale/programs/ld-messages.c: Likewise.
2532 * locale/programs/ld-monetary.c: Likewise.
2533 * locale/programs/ld-name.c: Likewise.
2534 * locale/programs/ld-numeric.c: Likewise.
2535 * locale/programs/ld-paper.c: Likewise.
2536 * locale/programs/ld-telephone.c: Likewise.
2537 * locale/programs/ld-time.c: Likewise.
2539 * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
2540 if the locale data couldn't be found.
2542 * string/Makefile: Define tst-strxfrm-ENV.
2544 * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
2546 2001-04-06 Andreas Jaeger <aj@suse.de>
2548 * include/sys/profil.h: New file.
2550 * dlfcn/modatexit.c: Add prototypes to silence GCC.
2551 * dlfcn/modcxaatexit.c: Likewise.
2552 * elf/globalmod1.c: Likewise.
2554 2001-04-05 David S. Miller <davem@redhat.com>
2556 * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
2557 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
2558 capability flags table and HWCAP_IMPORTANT, increase
2559 _DL_HWCAP_COUNT to 6.
2560 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2562 2001-04-04 David Mosberger <davidm@hpl.hp.com>
2564 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
2565 initialization of stack_end (bug reported by Zheng Gengbin
2566 <gzheng@students.uiuc.edu>).
2568 2001-04-05 Ulrich Drepper <drepper@redhat.com>
2570 * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
2572 2001-04-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2574 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
2576 2001-04-05 Ulrich Drepper <drepper@redhat.com>
2578 * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
2579 * sysdeps/i386/fpu/e_asinl.S: Removed. Too inaccurate.
2581 * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
2583 2001-04-04 Ulrich Drepper <drepper@redhat.com>
2585 * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
2586 define simple replacements here. Patch by Michael Keezer.
2588 * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
2589 * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
2590 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2592 * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
2595 2001-04-01 Andreas Jaeger <aj@suse.de>
2597 * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
2600 * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
2602 2001-04-04 Ulrich Drepper <drepper@redhat.com>
2604 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
2605 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
2607 2001-04-04 Martin Schwidefsky <schwidefsky@de.ibm.com>
2609 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
2610 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
2611 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
2612 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
2613 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
2614 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
2615 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
2616 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
2617 * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
2619 2001-04-04 Andreas Jaeger <aj@suse.de>
2621 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
2624 2001-04-04 Ulrich Drepper <drepper@redhat.com>
2626 * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
2627 * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
2628 * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
2629 (unsigned_dec): Likewise.
2630 Patch by atai@jezebel.dreamhost.com.
2632 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
2633 pointer to int as last parameter of yp_match.
2634 Patch by kanazawa@flab.fujitsu.co.jp.
2636 2001-04-03 Ulrich Drepper <drepper@redhat.com>
2638 * resolv/netdb.h (gai_strerror): Make return value const.
2639 * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
2640 * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
2641 Add strings for new error values.
2643 2001-03-29 Michael Keezer <mkeezer@redhat.com>
2645 * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
2646 * login/tst-utmp.c: Handle case where ut_tv is not available but
2648 * sysdeps/unix/sysv/aix/utmpx.h: New file.
2649 * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
2650 _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
2651 * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
2652 * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
2653 to access RTCU timer reg.
2654 * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
2655 added dl-libc, dl-open,dl-sym, dl-close to misc.
2656 * sysdeps/unix/sysv/aix/start.c: New file. Start code.
2657 * sysdeps/unix/sysv/aix/dlldr.h: New file. AIX __loadx defines.
2658 * sysdeps/unix/sysv/aix/dl-close.c: New file. AIX dl-close.
2659 * sysdeps/unix/sysv/aix/dl-open.c: New file. AIX dl-open.
2660 * sysdeps/unix/sysv/aix/dl-sym.c: New file. AIX dl-sym.
2661 * sysdeps/unix/sysv/aix/dl-libc.c: New file. libc_dl-xxx support.
2662 * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
2664 * sysdeps/generic/strtoull.c: Likewise.
2665 * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
2666 * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
2667 sysdeps/generic/memset.c.
2668 * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
2670 2001-04-03 Ulrich Drepper <drepper@redhat.com>
2672 * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
2673 * locale/programs/charmap.c: Define null_pointer if
2674 NEED_NULL_POINTER is defined.
2676 * misc/dirname.c (dirname): Handle multiple slashes correctly.
2678 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
2680 * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
2682 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
2684 * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
2685 * sysdeps/s390/s390-64/bcopy.S: Likewise.
2686 * sysdeps/s390/s390-32/mempcy.S: Likewise.
2687 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2689 2001-04-02 Bruno Haible <haible@clisp.cons.org>
2691 * manual/message.texi (Advanced gettext functions): More specific
2692 syntax in the plural formula examples.
2694 2001-04-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2696 * sysdeps/powerpc/atomicity.h: Silence warnings.
2697 * sysdeps/powerpc/dl-machine.h: Likewise.
2698 * sysdeps/powerpc/register-dump.h: Likewise.
2699 * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
2701 2001-04-02 Andreas Jaeger <aj@suse.de>
2703 * misc/tst-dirname.c (main): Add more tests, derived from a bug
2704 report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2706 2001-04-01 Andreas Jaeger <aj@suse.de>
2708 * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
2710 * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
2712 2001-04-01 H.J. Lu <hjl@gnu.org>
2714 * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
2716 * stdlib/isomac.c (macrofile): Likewise.
2718 2001-03-30 Thorsten Kukuk <kukuk@suse.de>
2720 * inet/rcmd.c: Allow AF_UNSPEC as parameter.
2721 * nis/ypclnt.c (yp_all): Print error message only at last try,
2722 check for protocoll error only if we don't have a network error.
2724 2001-04-02 Andreas Schwab <schwab@suse.de>
2726 * resolv/res_data.c (res_isourserver): Fix cast.
2728 2001-04-02 Andreas Jaeger <aj@suse.de>
2730 * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
2733 * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
2735 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
2737 * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
2739 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
2741 * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
2742 warning about unused variable.
2744 * string/string.h (strndupa): Add cast for C++ conformance.
2745 (strdupa): Likewise.
2746 Fixes PR libc/2173, reported by tbrowder@home.com.
2748 2001-03-30 Roland McGrath <roland@frob.com>
2750 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
2751 options after $(build-module), which is no longer a single command.
2752 (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
2753 (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
2754 variables using it. Reported by Mark Kettenis <kettenis@gnu.org>.
2756 2001-03-11 Roland McGrath <roland@frob.com>
2758 * elf/rtld.c (dl_main): Add cast to quiet warning.
2759 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2760 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
2761 (__gconv_read_conf): Likewise.
2762 * iconv/gconv_db.c (gen_steps): Likewise.
2763 (__gconv_find_transform): Likewise.
2764 * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
2765 (fopen_uncompressed): Use const in second argument's type.
2767 2001-03-11 Roland McGrath <roland@frob.com>
2769 * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
2771 * mach/mach_error.h: Fix ancient #endif syntax.
2772 * hurd/hurdmalloc.c: Likewise.
2774 * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
2775 compare_and_swap): Add volatile qualifier to first arg, to bring
2776 these prototypes in line with all the other implementations.
2777 Add a #warning to remind the builder that these are not atomic.
2779 2001-03-04 Roland McGrath <roland@frob.com>
2781 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
2782 member of TEMP_F so its type is _IO_FILE * as expected.
2784 * hurd/fopenport.c (seekio): Conditionalize type of POS argument
2785 on [USE_IN_LIBIO]. Check the value for overflow, since for libio
2786 it might exceed off_t's range.
2788 2001-02-25 Roland McGrath <roland@frob.com>
2790 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
2791 * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
2793 * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
2794 macro instead of an inline function,
2795 (MSG_EXAMINE): Likewise.
2797 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
2799 * hurd/get-host.c: Include <string.h> for decls of built-ins.
2800 * hurd/hurdchdir.c: Likewise.
2801 * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
2802 * sysdeps/mach/hurd/opendir.c: Likewise.
2804 * mach/mach_init.c: Include <unistd.h> for _exit decl.
2806 * mach/errsystems.awk: Give output file a trailing newline.
2808 * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
2809 the script will use our compiler for the cpp stage.
2811 With --enable-all-warnings we get a whole bunch of warnings,
2812 and these are just a few fixes; there are more needed to silence it.
2813 * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
2814 decls before extern inline defns to quiet gcc warning.
2815 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
2816 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
2818 2001-03-31 Andreas Jaeger <aj@suse.de>
2820 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
2821 (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
2822 (ARPHRD_CISCO): New.
2823 Changes from Linux 2.4.3.
2825 2001-03-30 Isamu Hasegawa <isamu@yamato.ibm.com>
2827 * posix/regex.c: Avoid an access violation if malloc fails.
2829 2001-03-30 Andreas Jaeger <aj@suse.de>
2831 * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
2833 2001-03-29 Ulrich Drepper <drepper@redhat.com>
2835 * posix/regex.c: Remove unnecessary ifs.
2837 * math/bits/mathcalls.h: Remove infnan declaration.
2839 2001-03-29 H.J. Lu <hjl@gnu.org>
2841 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
2842 and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
2843 * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
2845 2001-03-29 Isamu Hasegawa <isamu@yamato.ibm.com>
2847 * posix/regex.c: Fix typo and add a sentinel.
2849 2001-03-29 Ulrich Drepper <drepper@redhat.com>
2851 * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
2852 O_NOFOLLOW. Suggested by Christoph Roland.
2854 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
2856 * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
2857 * sysdeps/s390/s390-32/bits/string.h: Remove.
2858 * sysdeps/s390/s390-64/bits/string.h: Remove.
2859 * sysdeps/s390/s390-32/strcmp.S: New file.
2860 * sysdeps/s390/s390-64/strcmp.S: New file.
2862 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
2864 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
2865 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2867 2001-03-27 Ulrich Drepper <drepper@redhat.com>
2869 * version.h (VERSION): Bump to 2.2.3.
2871 * stdlib/isomac.c (fmt): Don't define _LIBC.
2872 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
2873 LOW_HALF only if _LIBC is defined.
2875 * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
2877 * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
2879 * posix/tst-fnmatch.input: Add test cases for matching empty strings.
2881 * sysdeps/ieee754/dbl-64/endian.h: Removed. Move definitions...
2882 * include/endian.h: ...to here.
2884 2001-03-27 kaz Kojima <kkojima@rr.iij4u.or.jp>
2886 * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
2887 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
2889 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
2891 * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
2893 2001-03-26 Ulrich Drepper <drepper@redhat.com>
2895 * sysdeps/ia64/fpu/Dist: Add new files to distribute.
2896 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
2897 * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
2899 * gmon/Makefile (headers): Add sys/profil.h.
2901 2001-03-18 Andreas Jaeger <aj@suse.de>
2903 * manual/install.texi (Tools for Compilation): Advise to use GCC
2905 (Supported Configurations): Mention s390x.
2907 2001-03-26 Ben Collins <bcollins@debian.org>
2909 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
2910 defines to match other architectures.
2912 2001-03-26 Ulrich Drepper <drepper@redhat.com>
2914 * libio/Makefile (tests): Add tst-ext.
2915 * libio/tst-ext.c: New file.
2917 * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
2919 2001-03-25 Ulrich Drepper <drepper@redhat.com>
2921 Add changes which were in this form in the original patch by
2922 Eric Norum <eric.norum@usask.ca>.
2923 * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
2925 * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
2926 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
2927 __rpc_thread_svc_max_pollfd.
2928 Define svc_fdset, get_rpc_createerr, svc_pollfd, and
2930 * sunrpc/rpc_thread.c: Handle first thread special, it uses the
2932 Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
2933 __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
2934 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_svc_fdset,
2935 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
2936 __rpc_thread_svc_max_pollfd.
2937 * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
2939 * sunrpc/clnt_perr.c: Likewise.
2940 * sunrpc/clnt_simp.c: Likewise.
2941 * sunrpc/clnt_tcp.c: Likewise.
2942 * sunrpc/clnt_udp.c: Likewise.
2943 * sunrpc/clnt_unix.c: Likewise.
2944 * sunrpc/pm_getport.c: Likewise.
2946 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
2947 syscall checks for negative n so don't test here as well.
2949 2001-03-23 Jes Sorensen <jes@linuxcare.com>
2951 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
2952 * sysdeps/ia64/sysdep.h: ...here.
2954 * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
2955 * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
2957 * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
2958 declare instead of LEAF(). Suggestion from David Mosberger.
2960 2001-03-21 David Mosberger <davidm@hpl.hp.com>
2962 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
2964 (PSEUDO): Drop .psr and .lsb directives.
2966 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto. Add unwind
2968 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
2970 * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
2972 * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
2973 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
2974 * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
2975 longer needed). Add unwind directives.
2977 * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
2978 ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
2980 2001-03-21 Paul Eggert <eggert@twinsun.com>
2982 * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
2983 (RE_SYNTAX_POSIX_EGREP): Use it.
2984 * posix/regex.c (regex_compile): Implement it.
2986 2001-03-21 Paul Eggert <eggert@twinsun.com>
2988 * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
2989 Rewrite to avoid duplicate code.
2991 2001-03-21 H.J. Lu <hjl@gnu.org>
2993 * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
2994 for cross-compiling.
2995 ($(objpfx)tst-pathopt.out): Undo the last change.
2997 2001-03-24 Mark Kettenis <kettenis@gnu.org>
2999 * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
3000 sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
3002 * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
3003 (_dl_argv): Declare.
3004 (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
3006 2001-03-22 Andreas Jaeger <aj@suse.de>
3008 * iconvdata/Makefile (generated): Add iconv-test.xxx.
3010 * posix/Makefile (generated): Add bug-regex2.mtrace and
3013 2001-03-21 Ulrich Drepper <drepper@redhat.com>
3015 * csu/version.c (__gnu_get_libc_release): Add prototype.
3016 (__gnu_get_libc_version): Likewise.
3017 * include/gnu/libc-version.h: Remove prototypes for not exported
3020 2001-03-21 Jes Sorensen <jes@linuxcare.com>
3022 * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
3023 for internationalized printfs to work.
3025 2001-03-09 Bruno Haible <haible@clisp.cons.org>
3027 * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
3028 avoid compiler warning.
3029 (_nl_find_msg): Add casts to avoid compiler warnings.
3031 2001-03-21 Ulrich Drepper <drepper@redhat.com>
3033 * gmon/Makefile (routines): Add sprofil.
3034 (tests): Add tst-sprofil.
3035 (noprof): Add sprofil.
3036 * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
3038 2001-03-20 David Mosberger <davidm@hpl.hp.com>
3040 * sysdeps/generic/sprofil.c: New file.
3041 * sysdeps/posix/sprofil.c: New file.
3042 * gmon/tst-sprofil.c: New file.
3043 * gmon/sys/profil.h: New file.
3045 2001-03-20 Andreas Schwab <schwab@suse.de>
3047 * include/unistd.h: Adjust prototype of __gethostname.
3049 2001-03-20 Jakub Jelinek <jakub@redhat.com>
3051 * sysdeps/sparc/stackinfo.h: New file.
3053 2001-03-21 Andreas Jaeger <aj@suse.de>
3055 * elf/global.c (main): Use proper prototype.
3057 2001-03-20 Ulrich Drepper <drepper@redhat.com>
3059 * sunrpc/Makefile (routines): Add rpc_thread.
3060 (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
3061 * sunrpc/rpc_thread.c: New file.
3062 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
3063 * sunrpc/auth_none.c: Don't use global variables. Access state in
3064 thread-local storage.
3065 * sunrpc/clnt_perr.c: Likewise.
3066 * sunrpc/clnt_raw.c: Likewise.
3067 * sunrpc/clnt_simp.c: Likewise.
3068 * sunrpc/key_call.c: Likewise.
3069 * sunrpc/rpc_common.c: Likewise.
3070 * sunrpc/svc.c: Likewise.
3071 * sunrpc/svc_raw.c: Likewise.
3072 * sunrpc/svc_simple.c: Likewise.
3073 * sunrpc/svcauth_des.c: Likewise.
3074 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3075 _HURD_THREADVAR_RPC_VARS.
3076 * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
3077 * include/rpc/rpc.h: Define data structures for internal thread-local
3079 Based on patches by Eric Norum <eric.norum@usask.ca>.
3081 * elf/dl-load.c: Various little optimizations.
3083 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
3084 LINUX_LINK_MAX only if the statfs function is not implemented for
3087 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
3088 LINUX_LINK_MAX only if the fstatfs function is not implemented for
3091 2001-03-19 Ulrich Drepper <drepper@redhat.com>
3093 * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
3095 * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
3096 (_dl_dst_substitute): Likewise.
3098 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3100 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
3102 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3104 * intl/gettextP.h (struct expression): Add operators lnot, less_than,
3105 greater_than, less_or_equal, greater_or_equal. Replace args2/args3
3106 union by a 'nargs' counter and an 'args[]' array.
3107 * intl/plural.y: Don't include stdarg.h.
3108 (new_exp): Take an array of arguments instead of varargs.
3109 (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
3110 ('?' ':'): Make right-associative.
3111 (EQUOP2): New token, replaces '=' and '!'.
3112 (CMPOP2): New token.
3113 (ADDOP2): New token, replaces '+' and '-'.
3114 (MULOP2): New token, replaces '*', '/' and '%'.
3116 (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
3117 (start): Call YYABORT here.
3118 (FREE_EXPRESSION): Update.
3119 (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
3120 Update for new token symbols.
3121 * intl/loadmsgcat.c (plvar, plone, germanic_plural,
3122 init_germanic_plural): Update.
3123 * intl/dcigettext.c (_nl_find_msg): Optimize for space.
3124 (plural_eval): Recognize comparison and '!' operators. Optimize for
3127 2001-03-10 Bruno Haible <haible@clisp.cons.org>
3129 * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
3132 2001-01-05 Bruno Haible <haible@clisp.cons.org>
3134 * intl/loadmsgcat.c: Include headers needed for alloca().
3136 (_nl_load_domain): Add fallback code for platforms lacking alloca.
3137 * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
3139 (read_alias_file): Simplify fallback code for platforms lacking
3142 2001-01-07 Bruno Haible <haible@clisp.cons.org>
3144 * intl/gettextP.h (__gettextdebug): Remove declaration.
3145 (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
3147 (gettext_free_exp__, gettextparse__): New non-libc declarations.
3148 * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
3149 not __gettextparse, __gettext_free_exp.
3150 * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
3152 2001-02-24 Bruno Haible <haible@clisp.cons.org>
3154 * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
3156 2001-01-05 Bruno Haible <haible@clisp.cons.org>
3158 * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
3159 lacking strtoul, like SunOS4.
3161 2001-01-05 Bruno Haible <haible@clisp.cons.org>
3163 * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
3165 2001-01-05 Bruno Haible <haible@clisp.cons.org>
3167 * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
3169 * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
3170 * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
3171 * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
3174 2001-01-07 Bruno Haible <haible@clisp.cons.org>
3176 * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
3177 bindtextdomain__, bind_textdomain_codeset__): New declarations, from
3179 * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
3180 * intl/dcgettext.c: Likewise.
3181 * intl/dcigettext.c: Likewise.
3182 * intl/dcngettext.c: Likewise.
3183 * intl/dngettext.c: Likewise.
3184 * intl/finddomain.c: Likewise.
3185 * intl/ngettext.c: Likewise.
3186 * intl/textdomain.c: Likewise.
3187 * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
3189 * intl/gettext.c: Likewise. Don't include locale.h.
3191 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3193 * intl/gettextP.h (ZERO): New macro.
3194 (struct binding): Always use ZERO.
3195 * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
3196 lack it, like SunOS4.
3197 (set_binding_values): Use offsetof, not sizeof.
3198 * intl/dcigettext.c (offsetof): Provide fallback for platforms that
3199 lack it, like SunOS4.
3200 (ZERO): Remove macro.
3201 (struct transmem_list): Use ZERO.
3202 (DCIGETTEXT): Use offsetof, not sizeof.
3204 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3206 * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
3208 * intl/bindtextdom.c: Don't include gettext.h.
3209 * intl/dcgettext.c: Likewise.
3210 * intl/dcigettext.c: Likewise.
3211 * intl/dcngettext.c: Likewise.
3212 * intl/dngettext.c: Likewise.
3213 * intl/finddomain.c: Likewise.
3214 * intl/localealias.c: Likewise.
3215 * intl/ngettext.c: Likewise.
3216 * intl/plural.y: Likewise.
3217 * intl/textdomain.c: Likewise.
3219 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3221 * intl/gettext.h: Don't include <stdio.h>.
3223 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3225 * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
3226 * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
3228 2001-03-19 Ulrich Drepper <drepper@redhat.com>
3230 * sysdeps/unix/i386/i686/tempname.c: New file.
3232 * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
3233 defined use this macro to get some bits of randomness instead of
3234 the usual gettimeofday or time calls.
3236 2001-03-16 Paul Eggert <eggert@twinsun.com>
3238 * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
3239 not defined, and if UINT64_MAX is not defined.
3241 2001-03-19 Ulrich Drepper <drepper@redhat.com>
3243 * elf/cache.c: Mark and have translated a few more messages.
3245 2001-03-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
3247 * elf/cache.c: Add case for FLAG_S390_LIB64.
3248 * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
3249 * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
3250 * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
3252 2001-03-19 Ulrich Drepper <drepper@redhat.com>
3254 * string/Makefile (tests): Add tst-strxfrm.
3255 * string/tst-strxfrm.c: New file. Based on a test case by Paul Eggert.
3256 * string/Depend: New file.
3258 2001-03-19 Paul Eggert <eggert@twinsun.com>
3260 * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
3261 when given the empty string in nontrivial locales.
3263 2001-03-17 H.J. Lu <hjl@gnu.org>
3265 * manual/Makefile (install): Use $(INSTALL_DATA) instead of
3266 cp to install `dir'.
3268 2001-03-19 Andreas Schwab <schwab@suse.de>
3270 * Makerules (build-shlib): Make sure exit codes get checked
3273 2001-03-18 Ulrich Drepper <drepper@redhat.com>
3275 * Makerules (build-shlib): Remove unnecessary slashes introduced in
3278 * configure.in: Test for -Bgroup option of linker.
3279 * config.make.in: Define have-Bgroup.
3281 * conform/data/unistd.h-data: Require gethostname.
3282 * posix/unistd.h: Make gethostname prototype available for
3285 * crypt/Makefile: When generating DSO link with libc_nonshared.a.
3286 * debug/Makefile: Likewise.
3287 * dlfcn/Makefile: Likewise.
3288 * hesiod/Makefile: Likewise.
3289 * iconvdata/extra-module.mk: Likewise.
3290 * locale/Makefile: Likewise.
3291 * login/Makefile: Likewise.
3292 * math/Makefile: Likewise.
3293 * nis/Makefile: Likewise.
3294 * nss/Makefile: Likewise.
3295 * resolv/Makefile: Likewise.
3296 * rt/Makefile: Likewise.
3298 2001-03-17 Ulrich Drepper <drepper@redhat.com>
3300 * inet/Makefile (tests): Remove left-over comment.
3302 * posix/unistd.h (gethostname): Change type of second parameter
3303 back to size_t as per upcoming XPG6.
3304 * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
3305 parameter back to size_t as per upcoming XPG6.
3306 * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
3307 * sysdeps/unix/sysv/gethostname.c: Likewise.
3308 * sysdeps/mach/hurd/gethostname.c: Likewise.
3309 * sysdeps/generic/gethostname.c: Likewise.
3311 2001-03-16 Ulrich Drepper <drepper@redhat.com>
3313 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3316 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
3319 2001-02-06 Jakub Jelinek <jakub@redhat.com>
3321 * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
3322 looking for name matches.
3324 2001-02-26 Jakub Jelinek <jakub@redhat.com>
3326 * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
3327 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
3328 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
3329 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3330 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
3331 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
3332 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
3333 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
3334 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
3335 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
3336 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
3337 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
3339 2001-03-16 Ulrich Drepper <drepper@redhat.com>
3341 * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
3342 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3344 * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
3346 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3348 2001-03-16 David Mosberger <davidm@hpl.hp.com>
3350 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
3351 Drop hack that was needed for 2.1.1 kernel headers.
3353 * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
3355 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
3356 overlay with kernel's "struct sigcontext".
3358 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
3359 sys/rse.h for "misc" subdir.
3360 (sysdep_routines): Add __start_context for "stdlib" subdir.
3362 * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
3363 kernel file of the same name).
3365 * stdlib/Makefile (tests): Add tst-setcontext.
3366 * stdlib/tst-setcontext.c: New file (based on a sample program by
3369 * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
3370 * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
3371 * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
3372 * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
3373 * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
3375 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
3376 instead of shift & and.
3378 2001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
3380 * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
3381 * sysdeps/s390/bits/huge_val.h: ...here.
3382 * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
3383 * sysdeps/s390/s390-64/ffs.c: Move to...
3384 * sysdeps/s390/ffs.c: ...here.
3385 * sysdeps/s390/s390-32/ffs.c: Remove.
3387 2001-03-16 Jakub Jelinek <jakub@redhat.com>
3389 * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
3390 update osversion from more recent library.
3392 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3394 * sysdeps/unix/sysv/linux/s390/Dist: Move to...
3395 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
3396 * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
3397 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
3398 * sysdeps/unix/sysv/linux/s390/Versions: Move to...
3399 * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
3400 * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
3401 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
3402 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
3403 * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
3404 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
3405 * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
3406 * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
3407 * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
3408 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
3409 * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
3410 * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
3411 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
3412 * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
3413 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
3414 * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
3415 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
3416 * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
3417 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
3418 * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
3419 * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
3420 * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
3421 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
3422 * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
3423 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
3424 * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
3425 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
3426 * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
3427 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
3428 * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
3429 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
3430 * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
3431 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
3432 * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
3433 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
3434 * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
3435 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
3436 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
3437 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
3438 * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
3439 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
3440 * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
3441 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
3442 * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
3443 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
3444 * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
3445 * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
3446 * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
3447 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
3448 * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
3449 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
3450 * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
3451 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
3452 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
3453 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
3454 * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
3455 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
3456 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
3457 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
3458 * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
3459 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
3460 * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
3461 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
3462 * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
3463 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
3464 * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
3465 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
3466 * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
3467 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
3468 * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
3469 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
3470 * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
3471 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
3472 * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
3473 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
3474 * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
3475 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
3476 * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
3477 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
3478 * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
3479 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
3480 * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
3481 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
3482 * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
3483 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
3484 * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
3485 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
3486 * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
3487 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
3488 * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
3489 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
3490 * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
3491 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
3492 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
3493 * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
3494 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
3495 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
3496 * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
3497 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
3498 * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
3499 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
3500 * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
3501 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
3502 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3503 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
3504 * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
3505 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
3506 * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
3507 * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
3509 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3511 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
3512 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
3513 * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
3514 * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
3515 * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
3516 * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
3517 * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
3518 * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
3519 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
3520 * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
3521 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
3522 * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
3523 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
3524 * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
3525 * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
3526 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
3527 * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
3528 * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
3529 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
3530 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
3531 * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
3532 * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
3533 * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
3534 * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
3535 * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
3536 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
3537 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
3538 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
3539 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
3540 * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
3541 * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
3542 * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
3543 * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
3544 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
3545 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
3546 * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
3547 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
3548 * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
3549 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
3550 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
3551 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
3552 * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
3553 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
3554 * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
3555 * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
3556 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
3557 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
3558 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
3559 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
3560 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
3561 * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
3562 * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
3563 * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
3565 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3567 * sysdeps/s390/Dist: Move to...
3568 * sysdeps/s390/390-32/Dist: ...here.
3569 * sysdeps/s390/Implies: Move to...
3570 * sysdeps/s390/s390-32/Implies: ...here.
3571 * sysdeps/s390/Makefile: Move to...
3572 * sysdeps/s390/s390-32/Makefile: ...here.
3573 * sysdeps/s390/Versions: Move to...
3574 * sysdeps/s390-32/s390/Versions: ...here.
3575 * sysdeps/s390/add_n.S: Move to...
3576 * sysdeps/s390/s390-32/add_n.S: ...here.
3577 * sysdeps/s390/addmul_1.S: Move to...
3578 * sysdeps/s390/s390-32/addmul_1.S: ...here.
3579 * sysdeps/s390/atomicity.h: Move to...
3580 * sysdeps/s390/s390-32/atomicity.h: ...here.
3581 * sysdeps/s390/backtrace.c: Move to...
3582 * sysdeps/s390/s390-32/backtrace.c: ...here.
3583 * sysdeps/s390/bcopy.S: Move to...
3584 * sysdeps/s390/s390-32/bcopy.S: ...here.
3585 * sysdeps/s390/bits/byteswap.h: Move to...
3586 * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
3587 * sysdeps/s390/bits/huge_val.h: Move to...
3588 * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
3589 * sysdeps/s390/bsd-_setjmp.S: Move to...
3590 * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
3591 * sysdeps/s390/bsd-setjmp.S: Move to...
3592 * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
3593 * sysdeps/s390/bzero.S: Move to...
3594 * sysdeps/s390/s390-32/bzero.S: ...here.
3595 * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
3596 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
3597 * sysdeps/s390/elf/bsd-setjmp.S: Move to...
3598 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
3599 * sysdeps/s390/elf/start.S: Move to...
3600 * sysdeps/s390/s390-32/elf/start.S: ...here.
3601 * sysdeps/s390/ffs.c: Move to...
3602 * sysdeps/s390/s390-32/ffs.c: ...here.
3603 * sysdeps/s390/memchr.S: Move to...
3604 * sysdeps/s390/s390-32/memchr.S: ...here.
3605 * sysdeps/s390/memcpy.S: Move to...
3606 * sysdeps/s390/s390-32/memcpy.S: ...here.
3607 * sysdeps/s390/memset.S: Move to...
3608 * sysdeps/s390/s390-32/memset.S: ...here.
3609 * sysdeps/s390/mul_1.S: Move to...
3610 * sysdeps/s390/s390-32/mul_1.S: ...here.
3611 * sysdeps/s390/s390-mcount.S: Move to...
3612 * sysdeps/s390/s390-32/s390-mcount.S: ...here.
3613 * sysdeps/s390/strcpy.S: Move to...
3614 * sysdeps/s390/s390-32/strcpy.S: ...here.
3615 * sysdeps/s390/strncpy.S: Move to...
3616 * sysdeps/s390/s390-32/strncpy.S: ...here.
3617 * sysdeps/s390/sub_n.S: Move to...
3618 * sysdeps/s390/s390-32/sub_n.S: ...here.
3620 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3622 * sysdeps/s390/s390-64/Dist: New file.
3623 * sysdeps/s390/s390-64/Implies: New file.
3624 * sysdeps/s390/s390-64/Makefile: New file.
3625 * sysdeps/s390/s390-64/__longjmp.c: New file.
3626 * sysdeps/s390/s390-64/add_n.S: New file.
3627 * sysdeps/s390/s390-64/atomicity.h: New file.
3628 * sysdeps/s390/s390-64/backtrace.c: New file.
3629 * sysdeps/s390/s390-64/bcopy.S: New file.
3630 * sysdeps/s390/s390-64/bits/byteswap.h: New file.
3631 * sysdeps/s390/s390-64/bits/huge_val.h: New file.
3632 * sysdeps/s390/s390-64/bits/setjmp.h: New file.
3633 * sysdeps/s390/s390-64/bits/string.h: New file.
3634 * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
3635 * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
3636 * sysdeps/s390/s390-64/bzero.S: New file.
3637 * sysdeps/s390/s390-64/dl-machine.h: New file.
3638 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
3639 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
3640 * sysdeps/s390/s390-64/elf/setjmp.S: New file.
3641 * sysdeps/s390/s390-64/elf/start.S: New file.
3642 * sysdeps/s390/s390-64/ffs.c: New file.
3643 * sysdeps/s390/s390-64/initfini.c: New file.
3644 * sysdeps/s390/s390-64/memchr.S: New file.
3645 * sysdeps/s390/s390-64/memcpy.S: New file.
3646 * sysdeps/s390/s390-64/memset.S: New file.
3647 * sysdeps/s390/s390-64/s390x-mcount.S: New file.
3648 * sysdeps/s390/s390-64/setjmp.S: New file.
3649 * sysdeps/s390/s390-64/strcpy.S: New file.
3650 * sysdeps/s390/s390-64/strncpy.S: New file.
3651 * sysdeps/s390/s390-64/sub_n.S: New file.
3652 * sysdeps/s390/s390-64/sysdep.h: New file.
3654 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3656 * scripts/config.guess: Add support for Linux on 64 bit S/390.
3657 * scripts/config.sub: Likewise.
3659 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3661 * configure.in: Add support for 64 bit S/390.
3663 * elf/elf.h: Add new relocations for 64 bit S/390.
3665 * shlib-versions: Add rules for Linux on 64 bit S/390.
3667 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3669 * sysdeps/s390/__longjmp.c: Move to...
3670 * sysdeps/s390/s390-32/__longjmp.c: ...here. Add code
3671 to load the floating point registers that should be saved
3672 according to the ABI.
3674 * sysdeps/s390/bits/setjmp.h: Move to...
3675 * sysdeps/s390/s390-32/bits/setjmp.h: ...here. Avoid
3676 the use of long long in the __jmp_buf type definition.
3678 * sysdeps/s390/bits/string.h: Move to...
3679 * sysdeps/s390/s390-32/bits/string.h: ...here. Add several missing
3680 #ifndef _FORCE_INLINES.
3682 * sysdeps/s390/dl-machine.h: Move to...
3683 * sysdeps/s390/s390-32/dl-machine.h: ...here. Add a check for the
3684 executables EI_CLASS in elf_machine_matches_host.
3686 * sysdeps/s390/elf/setjmp.S: Move to...
3687 * sysdeps/s390/s390-32/elf/setjmp.S: ...here. Replace
3688 branches to globally defined symbol __sigsetjmp by branches to
3689 a local label (this avoids the generation of a R_390_PC16DBL
3690 relocation in -fpic code).
3692 * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
3693 calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
3695 * sysdeps/s390/initfini.c: Move to...
3696 * sysdeps/s390/s390-32/initfini.c: ...here. Replace ALIGN with
3699 * sysdeps/s390/setjmp.S: Move to...
3700 * sysdeps/s390/s390-32/setjmp.S: ...here. Add code to store the
3701 floating point registers that should be saved according to the ABI.
3703 * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
3705 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3706 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
3707 sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
3709 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3711 * configure.in: Change machine=s390 to machine=s390/s390-32.
3713 * elf/elf.h: Correct comment for R_390_PLT16DBL.
3715 2001-03-12 Jakub Jelinek <jakub@redhat.com>
3717 * csu/Makefile (abi-tag.h): Define OS and version separately, allow
3718 version to be overriden from config.h.
3719 * csu/abi-note.S: Use OS and version separately, include config.h.
3720 * elf/dl-load.c (_dl_osversion): New.
3721 (_dl_map_object_from_fd): Kill some warnings.
3722 (open_verify): Check .note.ABI-tag of the library if present.
3723 * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
3724 * elf/cache.c (struct cache_entry): Add osversion.
3725 (print_entry): Print osversion.
3726 (print_cache): Pass osversion to it.
3727 (compare): Sort according to osversion.
3728 (save_cache): Set osversion.
3729 (add_to_cache): Add osversion argument.
3730 * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
3731 process_elf_file): Add osversion argument.
3732 * elf/readlib.c (process_file): Likewise.
3733 * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
3734 * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
3735 process_elf32_file, process_elf64_file): Likewise.
3736 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
3737 process_elf32_file, process_elf64_file): Likewise.
3738 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
3739 process_elf32_file, process_elf64_file): Likewise.
3740 * elf/ldconfig.c (manual_link): Pass it.
3741 (search_dir): Issue diagnostic if two libs with the same soname in
3742 the same directory have different .note.ABI-tag. Record osversion in
3743 dlib_entry and use it from there.
3744 (struct lib_entry): Remove.
3745 (struct dlib_entry): Add osversion.
3746 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
3748 * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
3749 field with osversion.
3750 * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
3751 * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
3752 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
3753 version in _dl_osversion.
3754 * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
3755 * Makerules (build-shlib-helper, build-module-helper): New.
3756 (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
3758 * config.h.in (__ABI_TAG_VERSION): Add.
3759 * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
3760 * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
3761 Handle LD_ASSUME_KERNEL.
3762 * sysdeps/unix/sysv/linux/dl-librecon.h: New.
3764 2001-03-15 Ulrich Drepper <drepper@redhat.com>
3766 * timezone/antarctica: Update from tzdata2001a.
3767 * timezone/asia: Likewise.
3768 * timezone/australasia: Likewise.
3769 * timezone/backward: Likewise.
3770 * timezone/etcetera: Likewise.
3771 * timezone/europe: Likewise.
3772 * timezone/leapseconds: Likewise.
3773 * timezone/northamerica: Likewise.
3774 * timezone/southamerica: Likewise.
3775 * timezone/systemv: Likewise.
3776 * timezone/yearistype: Likewise.
3777 * timezone/zone.tab: Likewise.
3778 * timezone/tzdump.c: Update from tzcode2001a.
3780 2001-03-15 H.J. Lu <hjl@gnu.org>
3782 * intl/Makefile: Fix a typo.
3784 2001-03-14 David Mosberger <davidm@hpl.hp.com>
3786 * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
3787 writing arc structures.
3789 2001-03-15 H.J. Lu <hjl@gnu.org>
3791 * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
3794 2001-03-13 Andreas Schwab <schwab@suse.de>
3796 * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
3798 2001-03-15 Ulrich Drepper <drepper@redhat.com>
3800 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
3801 for control message fitting into message data.
3802 Patch by James Antill <james@and.org>.
3804 * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
3807 * posix/fnmatch_loop.c: Optimize handling of ?() and @().
3808 * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
3810 * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
3811 * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
3812 avoid running binaries with libc versions without FNM_EXTMATCH support.
3814 * include/wchar.h: Add prototype for __wcscat.
3815 * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
3817 * posix/fnmatch.h (FNM_EXTMATCH): Define.
3818 * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
3819 (posixly_correct): Move global variable here.
3820 (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
3821 (fnmatch): Pretty printing.
3822 * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
3823 * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
3824 * posix/tst-fnmatch.input: Add tests for extended matching.
3826 * posix/testfnm.c: Add test for patterns with multiple ** before /.
3827 * posix/fnmatch_loop.c: Fix problem with the test above.
3829 2001-03-14 Ulrich Drepper <drepper@redhat.com>
3831 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
3834 * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
3836 2001-03-12 Andreas Jaeger <aj@suse.de>
3838 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3839 Use EM_X86_64 instead of EM_X8664.
3841 2001-03-12 Ulrich Drepper <drepper@redhat.com>
3843 * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
3845 * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
3848 * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
3851 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
3855 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
3857 (__ieee754_acos): Likewise.
3859 2001-03-12 Andreas Jaeger <aj@suse.de>
3861 * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
3862 Fix typo. Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
3864 * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
3867 2001-03-11 Roland McGrath <roland@frob.com>
3869 * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
3871 2001-03-11 Ulrich Drepper <drepper@redhat.com>
3873 * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
3876 * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
3879 Last-bit accurate math library implementation by IBM Haifa.
3880 Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
3881 <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
3882 Anna Reitman <reitman@il.ibm.com>.
3883 * math/Makefile (dbl-only-routines): New variable.
3884 (libm-routines): Add $(dbl-only-routines).
3885 * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
3886 * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
3888 * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
3890 * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
3892 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
3894 * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
3896 * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
3897 remainder implementation.
3898 * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
3900 * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
3902 * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
3903 * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
3904 * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
3906 * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
3907 * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
3909 * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
3911 * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
3913 * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
3914 * sysdeps/ieee754/dbl-64/MathLib.h: New file.
3915 * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
3916 * sysdeps/ieee754/dbl-64/atnat.h: New file.
3917 * sysdeps/ieee754/dbl-64/atnat2.h: New file.
3918 * sysdeps/ieee754/dbl-64/branred.c: New file.
3919 * sysdeps/ieee754/dbl-64/branred.h: New file.
3920 * sysdeps/ieee754/dbl-64/dla.h: New file.
3921 * sysdeps/ieee754/dbl-64/doasin.c: New file.
3922 * sysdeps/ieee754/dbl-64/doasin.h: New file.
3923 * sysdeps/ieee754/dbl-64/dosincos.c: New file.
3924 * sysdeps/ieee754/dbl-64/dosincos.h: New file.
3925 * sysdeps/ieee754/dbl-64/endian.h: New file.
3926 * sysdeps/ieee754/dbl-64/halfulp.c: New file.
3927 * sysdeps/ieee754/dbl-64/mpa.c: New file.
3928 * sysdeps/ieee754/dbl-64/mpa.h: New file.
3929 * sysdeps/ieee754/dbl-64/mpa2.h: New file.
3930 * sysdeps/ieee754/dbl-64/mpatan.c: New file.
3931 * sysdeps/ieee754/dbl-64/mpatan.h: New file.
3932 * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
3933 * sysdeps/ieee754/dbl-64/mpexp.c: New file.
3934 * sysdeps/ieee754/dbl-64/mpexp.h: New file.
3935 * sysdeps/ieee754/dbl-64/mplog.c: New file.
3936 * sysdeps/ieee754/dbl-64/mplog.h: New file.
3937 * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
3938 * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
3939 * sysdeps/ieee754/dbl-64/mptan.c: New file.
3940 * sysdeps/ieee754/dbl-64/mydefs.h: New file.
3941 * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
3942 * sysdeps/ieee754/dbl-64/root.tbl: New file.
3943 * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
3944 * sysdeps/ieee754/dbl-64/sincos32.c: New file.
3945 * sysdeps/ieee754/dbl-64/sincos32.h: New file.
3946 * sysdeps/ieee754/dbl-64/slowexp.c: New file.
3947 * sysdeps/ieee754/dbl-64/slowpow.c: New file.
3948 * sysdeps/ieee754/dbl-64/uasncs.h: New file.
3949 * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
3950 * sysdeps/ieee754/dbl-64/uexp.h: New file.
3951 * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
3952 * sysdeps/ieee754/dbl-64/ulog.h: New file.
3953 * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
3954 * sysdeps/ieee754/dbl-64/upow.h: New file.
3955 * sysdeps/ieee754/dbl-64/upow.tbl: New file.
3956 * sysdeps/ieee754/dbl-64/urem.h: New file.
3957 * sysdeps/ieee754/dbl-64/uroot.h: New file.
3958 * sysdeps/ieee754/dbl-64/usncs.h: New file.
3959 * sysdeps/ieee754/dbl-64/utan.h: New file.
3960 * sysdeps/ieee754/dbl-64/utan.tbl: New file.
3961 * sysdeps/i386/fpu/branred.c: New file.
3962 * sysdeps/i386/fpu/doasin.c: New file.
3963 * sysdeps/i386/fpu/dosincos.c: New file.
3964 * sysdeps/i386/fpu/halfulp.c: New file.
3965 * sysdeps/i386/fpu/mpa.c: New file.
3966 * sysdeps/i386/fpu/mpatan.c: New file.
3967 * sysdeps/i386/fpu/mpatan2.c: New file.
3968 * sysdeps/i386/fpu/mpexp.c: New file.
3969 * sysdeps/i386/fpu/mplog.c: New file.
3970 * sysdeps/i386/fpu/mpsqrt.c: New file.
3971 * sysdeps/i386/fpu/mptan.c: New file.
3972 * sysdeps/i386/fpu/sincos32.c: New file.
3973 * sysdeps/i386/fpu/slowexp.c: New file.
3974 * sysdeps/i386/fpu/slowpow.c: New file.
3975 * sysdeps/ia64/fpu/branred.c: New file.
3976 * sysdeps/ia64/fpu/doasin.c: New file.
3977 * sysdeps/ia64/fpu/dosincos.c: New file.
3978 * sysdeps/ia64/fpu/halfulp.c: New file.
3979 * sysdeps/ia64/fpu/mpa.c: New file.
3980 * sysdeps/ia64/fpu/mpatan.c: New file.
3981 * sysdeps/ia64/fpu/mpatan2.c: New file.
3982 * sysdeps/ia64/fpu/mpexp.c: New file.
3983 * sysdeps/ia64/fpu/mplog.c: New file.
3984 * sysdeps/ia64/fpu/mpsqrt.c: New file.
3985 * sysdeps/ia64/fpu/mptan.c: New file.
3986 * sysdeps/ia64/fpu/sincos32.c: New file.
3987 * sysdeps/ia64/fpu/slowexp.c: New file.
3988 * sysdeps/ia64/fpu/slowpow.c: New file.
3989 * sysdeps/m68k/fpu/branred.c: New file.
3990 * sysdeps/m68k/fpu/doasin.c: New file.
3991 * sysdeps/m68k/fpu/dosincos.c: New file.
3992 * sysdeps/m68k/fpu/halfulp.c: New file.
3993 * sysdeps/m68k/fpu/mpa.c: New file.
3994 * sysdeps/m68k/fpu/mpatan.c: New file.
3995 * sysdeps/m68k/fpu/mpatan2.c: New file.
3996 * sysdeps/m68k/fpu/mpexp.c: New file.
3997 * sysdeps/m68k/fpu/mplog.c: New file.
3998 * sysdeps/m68k/fpu/mpsqrt.c: New file.
3999 * sysdeps/m68k/fpu/mptan.c: New file.
4000 * sysdeps/m68k/fpu/sincos32.c: New file.
4001 * sysdeps/m68k/fpu/slowexp.c: New file.
4002 * sysdeps/m68k/fpu/slowpow.c: New file.
4004 * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
4007 2001-03-11 Andreas Jaeger <aj@suse.de>
4009 * elf/elf.h (EM_*): Synch with official list.
4011 2001-03-07 David Mosberger <davidm@hpl.hp.com>
4013 * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
4015 2001-03-07 Jes Sorensen <jes@linuxcare.com>
4017 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
4018 variables addr & len.
4020 2001-02-22 Jes Sorensen <jes@linuxcare.com>
4022 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
4023 punctuation in asm constraint.
4025 2001-03-07 Mark Kettenis <kettenis@gnu.org>
4027 * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
4028 <time.h> to get definition of `struct timespec'.
4030 2001-03-08 Jakub Jelinek <jakub@redhat.com>
4032 * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
4033 LD_WARN=1, not if LD_WARN is unset.
4035 2001-03-07 Andreas Schwab <schwab@suse.de>
4037 * elf/ldconfig.h: Moved to ...
4038 * sysdeps/generic/ldconfig.h: ... here.
4039 * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
4040 * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
4041 * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
4042 * elf/readlib.c (interpreters, known_libs): Use
4043 SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
4044 instead of hard coding old names.
4046 2001-03-09 Ulrich Drepper <drepper@redhat.com>
4048 * catgets/Makefile (generated): Add test-gencat.h.
4049 (sample.SJIS.cat): Also generate header.
4050 * catgets/sample.SJIS: Add new set and message, both with symbolic
4052 * catgets/test-gencat.sh: Also compare generated header with what
4055 2001-03-07 Jakub Jelinek <jakub@redhat.com>
4057 * catgets/gencat.c (read_input_file): Preserve properly symbolic
4060 2001-03-06 Andreas Jaeger <aj@suse.de>
4062 * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
4064 (elf_machine_pltrel_p): Likewise.
4065 * sysdeps/powerpc/dl-machine.h: Likewise.
4066 * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
4068 2001-03-09 Ulrich Drepper <drepper@redhat.com>
4070 * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
4073 2001-03-05 Philip Blundell <philb@gnu.org>
4075 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
4076 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
4077 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
4078 (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
4081 2001-03-09 Ulrich Drepper <drepper@redhat.com>
4083 * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
4085 * dlfcn/tstcxaatexit.c (main): Likewise.
4087 2001-03-10 Andreas Jaeger <aj@suse.de>
4089 * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
4091 2001-03-09 Andreas Jaeger <aj@suse.de>
4093 * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
4094 both new and old EM_S390 values.
4095 (EM_S390_OLD): New constant.
4097 * elf/elf.h (EM_S390): Use official value.
4099 2001-03-09 Ulrich Drepper <drepper@redhat.com>
4101 * conform/data/sys/socket.h-data: Allow SO* symbols.
4103 2001-03-07 Andreas Schwab <schwab@suse.de>
4105 * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
4106 routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
4108 2001-03-07 Andreas Jaeger <aj@suse.de>
4110 * resolv/Makefile (routines): Only build gai_sigqueue when threads
4113 2001-03-07 Jakub Jelinek <jakub@redhat.com>
4115 * elf/ldconfig.c (_dl_sysdep_message): Remove.
4116 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
4118 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
4120 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
4121 _dl_error_printf instead of _dl_sysdep_error.
4122 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4123 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
4124 Use _dl_printf instead of _dl_sysdep_message.
4125 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
4128 2001-03-06 Ben Collins <bcollins@debian.org>
4130 * manual/arith.texi (Integers): Fix documentation of fast and
4131 least integer typedefs.
4133 2001-03-06 Jakub Jelinek <jakub@redhat.com>
4135 * resolv/Depend: New file.
4136 * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
4137 when libpthread is built.
4139 2001-03-06 Andreas Jaeger <aj@suse.de>
4141 * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
4143 * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
4144 Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
4146 2001-03-05 Ulrich Drepper <drepper@redhat.com>
4148 * stdlib/Versions: Remove __new_exitfn again. Not needed.
4150 2001-03-05 Andreas Jaeger <aj@suse.de>
4152 * stdlib/msort.c (qsort): Don't use alloca in a function call.
4154 2001-03-05 Ulrich Drepper <drepper@redhat.com>
4156 * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
4157 __S_TYPEISSHM): Rewrite to enforce correct use the macros. They still
4159 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4160 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
4161 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4162 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
4163 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4164 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4165 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4167 2001-03-04 Andreas Jaeger <aj@suse.de>
4169 * stdlib/longlong.h: Don't use multi-line strings.
4170 * iconvdata/tst-loading.c: Likewise.
4172 * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
4175 2001-03-04 Ulrich Drepper <drepper@redhat.com>
4177 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
4179 * rt/lio_listio.c: Add a few asserts.
4181 * elf/global.c: New file.
4182 * elf/globalmod1.c: New file.
4183 * elf/Makefile: Add rules to build and run global.
4185 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
4186 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4187 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4188 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4189 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4191 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
4192 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4194 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
4196 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
4197 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4199 * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
4201 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
4203 2001-03-04 Andreas Jaeger <aj@suse.de>
4205 * resolv/tst-aton.c: Add testcase for IP with four periods.
4207 * resolv/inet_addr.c: Don't recognize an IP with four periods.
4208 Patch by Andre' Breiler <A.Breiler@gmx.net>.
4210 2001-02-27 Philip Blundell <pb@futuretv.com>
4212 * elf/elf.h: Add new ARM definitions from latest (B-01)
4213 specification. Correct naming of EF_ARM_ALIGN8 et al.
4215 2001-03-04 Ulrich Drepper <drepper@redhat.com>
4217 * stdio-common/tst-printf.sh: Remove bashisms.
4218 Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
4220 2001-03-03 Ulrich Drepper <drepper@redhat.com>
4222 * Versions.def: Add libanl definition.
4223 * shlib-versions: Add entry for libanl.
4224 * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
4225 (routines): Add gai_sigqueue.
4226 (extra-libs): Add libanl.
4227 (libanl-routines): New variable.
4228 Add rules to build libanl and ga_test.
4229 * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
4230 [libanl]: New library.
4231 * resolv/netdb.h: Add definitions for libanl.
4232 * resolv/getaddrinfo_a.c: New file.
4233 * resolv/gai_cancel.c: New file.
4234 * resolv/gai_error.c: New file.
4235 * resolv/gai_misc.c: New file.
4236 * resolv/gai_misc.h: New file.
4237 * resolv/gai_notify.c: New file.
4238 * resolv/gai_suspend.c: New file.
4239 * resolv/ga_test.c: New file.
4240 * sysdeps/generic/gai_sigqueue.c: New file.
4241 * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
4242 * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
4243 and provide only that definition.
4244 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
4245 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
4246 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4247 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4248 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4249 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4251 * rt/aio_misc.c: Fix typos in comments.
4252 * rt/lio_listio.c: Pretty printing. Little optimization in request
4255 * elf/rtld.c: Remove commented out code.
4257 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
4258 Update for real 2.4 kernels.
4260 2001-03-01 Ulrich Drepper <drepper@redhat.com>
4262 * elf/dl-load.c: Pretty printing.
4264 * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
4267 2001-02-28 Ulrich Drepper <drepper@redhat.com>
4269 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
4270 relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
4272 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
4274 * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
4277 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
4279 2001-02-27 Ulrich Drepper <drepper@redhat.com>
4281 * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
4284 * elf/Versions [ld]: Don't export _dl_debug_message anymore. Export
4286 * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
4287 _dl_debug_message. Define _dl_debug_vdprintf, _dl_debug_printf,
4288 _dl_debug_printf_c, and _dl_printf.
4289 * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
4290 _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
4291 _dl_sysdep_fatal. Declare _dl_debug_printf, _dl_debug_printf_c,
4292 _dl_printf, _dl_error_printf, and _dl_fatal_printf.
4293 * elf/dl-close.c: Replace use of old output functions with the new
4295 * elf/dl-deps.c: Likewise.
4296 * elf/dl-error.c: Likewise.
4297 * elf/dl-fini.c: Likewise.
4298 * elf/dl-init.c: Likewise.
4299 * elf/dl-load.c: Likewise.
4300 * elf/dl-lookup.c: Likewise.
4301 * elf/dl-minimal.c: Likewise.
4302 * elf/dl-open.c: Likewise.
4303 * elf/dl-profile.c: Likewise.
4304 * elf/dl-reloc.c: Likewise.
4305 * elf/dl-version.c: Likewise.
4306 * elf/do-lookup.h: Likewise.
4307 * elf/rtld.c: Likewise.
4308 * sysdeps/generic/dl-cache.c: Likewise.
4309 * sysdeps/generic/dl-sysdep.c: Likewise.
4310 * sysdeps/generic/libc-start.c: Likewise.
4311 * sysdeps/i386/dl-machine.h: Likewise.
4312 * sysdeps/arm/dl-machine.h: Likewise.
4313 * sysdeps/hppa/dl-machine.h: Likewise.
4314 * sysdeps/m68k/dl-machine.h: Likewise.
4315 * sysdeps/powerpc/dl-machine.h: Likewise.
4316 * sysdeps/s390/dl-machine.h: Likewise.
4317 * sysdeps/sh/dl-machine.h: Likewise.
4318 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4319 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
4320 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4322 * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
4324 * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
4325 supported by assembler.
4327 * sysdeps/generic/ldsodefs.h: Remove commented-out variable
4330 * elf/rtld.c: Little optimizations in handling _dl_lazy.
4332 * elf/cache.c (save_cache): Portability changes.
4333 * elf/dl-profile.c (_dl_start_profile): Likewise.
4335 * elf/sln.c: Cleanups. Remove arbitrary limits.
4337 * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
4338 * elf/dl-deps.c: Likewise.
4339 * elf/dl-fini.c: Likewise.
4340 * elf/dl-init.c: Likewise.
4341 * elf/dl-load.c: Likewise.
4342 * elf/dl-lookup.c: Likewise.
4343 * elf/dl-open.c: Likewise.
4344 * elf/dl-reloc.c: Likewise.
4345 * elf/dl-support.c: Likewise.
4346 * elf/dl-version.c: Likewise.
4347 * elf/do-lookup.h: Likewise.
4348 * elf/rtld.c: Likewise.
4349 * sysdeps/generic/dl-cache.c: Likewise.
4350 * sysdeps/generic/ldsodefs.h: Likewise.
4351 * sysdeps/generic/libc-start.c: Likewise.
4352 * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
4353 Export _dl_debug_mask.
4354 * Versions.def: Define GLIBC_2.2.3 for ld.
4356 2001-02-26 Greg McGary <greg@mcgary.org>
4358 * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
4360 2001-02-26 Paul Eggert <eggert@twinsun.com>
4362 Modify mkstemp.c and tempname.c so that they can be used by
4363 GNU applications on non-glibc platforms.
4365 * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
4367 * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
4368 Include <stddef.h>, <stdint.h>, <string.h> only if
4369 STDC_HEADERS || _LIBC.
4370 Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
4371 Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
4372 Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
4373 (__set_errno): Define this macro if <errno.h> doesn't.
4374 (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
4375 Define these macros if <stdio.h> doesn't.
4376 (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
4377 Define these macros if <sys/stat.h> doesn't.
4378 Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
4379 (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
4380 lxstat64, __xstat64): Define if not _LIBC.
4381 (struct_stat64): New macro.
4382 (direxists, __gen_tempname): Use it, to avoid a
4383 portability problem with Solaris 8.
4384 (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
4385 (__gen_tempname): Invoke gettimeofday only if
4386 HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
4387 Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
4388 octal values like 0600.
4390 2001-02-26 Ulrich Drepper <drepper@redhat.com>
4392 * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
4393 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4395 * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
4396 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4398 * posix/wordexp-test.c (testit): Remove warnings.
4400 * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
4401 (tests): Add tstatexit and tstcxaatexit.
4402 (module-names): Add modatexit and modcxaatexit.
4403 Add rules to build and run tstatexit and tstcxaatexit.
4404 * dlfcn/modatexit.c: New file.
4405 * dlfcn/modcxaatexit.c: New file.
4406 * dlfcn/tstatexit.c: New file.
4407 * dlfcn/tstcxaatexit.c: New file.
4409 * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
4410 .hidden is available.
4411 * io/stat.c: If .hidden is available use it to avoid exporting
4413 * io/fstat.c: Likewise.
4414 * io/lstat.c: Likewise.
4415 * io/stat64.c: Likewise.
4416 * io/fstat64.c: Likewise.
4417 * io/lstat64.c: Likewise.
4418 * sysdeps/generic/mknod.c: Likewise.
4420 * malloc/mtrace.c: Use __cxa_atexit and not atexit.
4421 * sysdeps/generic/bb_init_func.c: Likewise.
4422 * sysdeps/generic/libc-start.c: Likewise.
4424 * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
4425 (atexit): Implement using __cxa_atexit.
4426 Use .hidden if availble to avoid exporting atexit.
4427 * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
4428 * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
4429 * stdlib/Makefile (routines): Add old_atexit.
4430 (static-only-routines): Add atexit.
4431 Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
4432 * stdlib/old_atexit.c: New file.
4434 * intl/Makefile: Remove bogus endif.
4436 2001-02-26 Andreas Jaeger <aj@suse.de>
4438 * iconvdata/Makefile (tests): Fix typo in last patch.
4440 * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
4442 Reported by Achim Gottinger <achim@gentoo.org>.
4444 2001-02-25 Andreas Jaeger <aj@suse.de>
4446 * intl/Makefile (plural.c): Reorder rules so that they work if
4447 BISON doesn't exist.
4449 2001-02-25 Ulrich Drepper <drepper@redhat.com>
4451 * intl/locale.alias: Don't use nb_NO but define aliases for it.
4453 2001-02-23 Ulrich Drepper <drepper@redhat.com>
4455 * sysdeps/i386/strtok.S: Continue to return NULL after the first
4458 2001-02-23 Andreas Jaeger <aj@suse.de>
4460 * string/tester.c (test_strtok_r): Add testcase.
4461 (test_strtok_r): Always initialize cp for proper checking.
4463 * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
4464 returning NULL correctly.
4465 Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
4466 * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
4468 2001-02-23 Ulrich Drepper <drepper@redhat.com>
4470 * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
4471 including <stddef.h>.
4472 * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
4473 * include/libc-symbols.h (weak_alias): Don't use .weak if
4474 HAVE_ASM_GLOBAL_DOT_NAME is defined.
4475 Patches by Michael Keezer <mkeezer@redhat.com>.
4477 * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
4478 Patch by Michael Keezer <mkeezer@redhat.com>.
4480 * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
4481 * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
4482 (sysdep_routines): Remove restf.S and savef.S.
4483 * sysdeps/unix/sysv/aix/restf.S: Removed.
4484 * sysdeps/unix/sysv/aix/savef.S: Removed.
4485 * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label. Also define
4486 alternative names used on some platforms.
4487 * sysdeps/powerpc/fprsave.S: Likewise.
4488 * sysdeps/powerpc/gprrest0.S: Likewise.
4489 * sysdeps/powerpc/gprrest1.S: Likewise.
4490 * sysdeps/powerpc/gprsave0.S: Likewise.
4491 * sysdeps/powerpc/gprsave1.S: Likewise.
4492 Patch by Michael Keezer <mkeezer@redhat.com>.
4494 2001-02-22 Ulrich Drepper <drepper@redhat.com>
4496 * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
4498 2001-02-22 Andreas Jaeger <aj@suse.de>
4500 * string/tst-strtok.c (main): Fix error messages.
4502 2001-02-22 Andreas Jaeger <aj@suse.de>
4504 * math/Makefile: Remove omit-long-double-fcts.
4506 2001-02-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4508 * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
4509 avoid problems on MIPS I.
4510 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
4512 * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
4515 2001-02-21 Ulrich Drepper <drepper@redhat.com>
4517 * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
4519 * sysdeps/generic/ftime.c: Include <time.h>.
4521 * configure.in: Don't check for libgd if user passed --without-gd.
4522 Patch by Achim Gottinger <achim@gentoo.org>.
4524 * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
4525 first time this happened.
4526 * string/Makefile (tests): Add tst-strtok.
4528 2001-02-21 Andreas Jaeger <aj@suse.de>
4530 * string/tst-strtok.c: New testcase, reported by
4531 Andrew Church <achurch@achurch.org>.
4533 2001-02-20 Ulrich Drepper <drepper@redhat.com>
4535 * libio/iofwide.c: Remove fwide alias.
4537 2001-02-20 Andreas Jaeger <aj@suse.de>
4539 * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
4541 Reported by Achim Gottinger <achim@gentoo.org>.
4543 2001-02-19 Ulrich Drepper <drepper@redhat.com>
4545 * iconv/tst-iconv1.c (main): Remove debugging code.
4547 * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
4548 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4550 * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
4552 * sysdeps/generic/e_scalbf.c: Likewise.
4553 * sysdeps/generic/e_scalbl.c: Likewise.
4555 * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
4556 libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
4558 (routines): Replace libm_error with libc_libm_error.
4559 * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
4560 * sysdeps/ia64/fpu/libc_libm_error.c: New file.
4562 2001-02-18 Mark Kettenis <kettenis@gnu.org>
4564 * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
4565 (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
4567 2001-02-17 H.J. Lu <hjl@gnu.org>
4569 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
4570 scratch registers across the system call.
4572 2001-02-19 Andreas Jaeger <aj@suse.de>
4574 * malloc/Makefile (tests): Run mtrace only when perl is available.
4575 Reported by Achim Gottinger <achim@gentoo.org>.
4577 2001-02-19 Ulrich Drepper <drepper@redhat.com>
4579 * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
4580 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4582 * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
4583 * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
4584 * math/libm-test.inc (j1_test): Mark constants as long double.
4585 (jn_test): Likewise.
4586 (y1_test): Likewise.
4587 (yn_test): Likewise.
4589 * libio/iogetline.c: Move return until after last statement.
4591 * localedata/show-ucs-data.c: Don't show < > for better readability.
4593 * sysdeps/ia64/fpu/Dist: New file.
4594 * sysdeps/ia64/fpu/Makefile: New file.
4595 * sysdeps/ia64/fpu/Versions: New file.
4596 * sysdeps/ia64/fpu/e_acos.S: New file.
4597 * sysdeps/ia64/fpu/e_acosf.S: New file.
4598 * sysdeps/ia64/fpu/e_acosl.S: New file.
4599 * sysdeps/ia64/fpu/e_asin.S: New file.
4600 * sysdeps/ia64/fpu/e_asinf.S: New file.
4601 * sysdeps/ia64/fpu/e_asinl.S: New file.
4602 * sysdeps/ia64/fpu/e_atan2.S: New file.
4603 * sysdeps/ia64/fpu/e_atan2f.S: New file.
4604 * sysdeps/ia64/fpu/e_atan2l.c: New file.
4605 * sysdeps/ia64/fpu/e_cosh.S: New file.
4606 * sysdeps/ia64/fpu/e_coshf.S: New file.
4607 * sysdeps/ia64/fpu/e_coshl.S: New file.
4608 * sysdeps/ia64/fpu/e_exp.S: New file.
4609 * sysdeps/ia64/fpu/e_expf.S: New file.
4610 * sysdeps/ia64/fpu/e_expl.c: New file.
4611 * sysdeps/ia64/fpu/e_fmod.S: New file.
4612 * sysdeps/ia64/fpu/e_fmodf.S: New file.
4613 * sysdeps/ia64/fpu/e_fmodl.S: New file.
4614 * sysdeps/ia64/fpu/e_hypot.S: New file.
4615 * sysdeps/ia64/fpu/e_hypotf.S: New file.
4616 * sysdeps/ia64/fpu/e_hypotl.S: New file.
4617 * sysdeps/ia64/fpu/e_log.S: New file.
4618 * sysdeps/ia64/fpu/e_log10.c: New file.
4619 * sysdeps/ia64/fpu/e_log10f.c: New file.
4620 * sysdeps/ia64/fpu/e_log10l.c: New file.
4621 * sysdeps/ia64/fpu/e_logf.S: New file.
4622 * sysdeps/ia64/fpu/e_logl.c: New file.
4623 * sysdeps/ia64/fpu/e_pow.S: New file.
4624 * sysdeps/ia64/fpu/e_powf.S: New file.
4625 * sysdeps/ia64/fpu/e_powl.S: New file.
4626 * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
4627 * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
4628 * sysdeps/ia64/fpu/e_remainder.S: New file.
4629 * sysdeps/ia64/fpu/e_remainderf.S: New file.
4630 * sysdeps/ia64/fpu/e_remainderl.S: New file.
4631 * sysdeps/ia64/fpu/e_scalb.S: New file.
4632 * sysdeps/ia64/fpu/e_scalbf.S: New file.
4633 * sysdeps/ia64/fpu/e_scalbl.S: New file.
4634 * sysdeps/ia64/fpu/e_sinh.S: New file.
4635 * sysdeps/ia64/fpu/e_sinhf.S: New file.
4636 * sysdeps/ia64/fpu/e_sinhl.S: New file.
4637 * sysdeps/ia64/fpu/e_sqrt.S: New file.
4638 * sysdeps/ia64/fpu/e_sqrtf.S: New file.
4639 * sysdeps/ia64/fpu/e_sqrtl.S: New file.
4640 * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
4641 * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
4642 * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
4643 * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
4644 * sysdeps/ia64/fpu/libm_error.c: New file.
4645 * sysdeps/ia64/fpu/libm_frexp4.S: New file.
4646 * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
4647 * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
4648 * sysdeps/ia64/fpu/libm_reduce.S: New file.
4649 * sysdeps/ia64/fpu/libm_support.h: New file.
4650 * sysdeps/ia64/fpu/libm_tan.S: New file.
4651 * sysdeps/ia64/fpu/s_atan.S: New file.
4652 * sysdeps/ia64/fpu/s_atanf.S: New file.
4653 * sysdeps/ia64/fpu/s_atanl.S: New file.
4654 * sysdeps/ia64/fpu/s_cbrt.S: New file.
4655 * sysdeps/ia64/fpu/s_cbrtf.S: New file.
4656 * sysdeps/ia64/fpu/s_cbrtl.S: New file.
4657 * sysdeps/ia64/fpu/s_ceil.S: New file.
4658 * sysdeps/ia64/fpu/s_ceilf.S: New file.
4659 * sysdeps/ia64/fpu/s_ceill.S: New file.
4660 * sysdeps/ia64/fpu/s_cos.S: New file.
4661 * sysdeps/ia64/fpu/s_cosf.S: New file.
4662 * sysdeps/ia64/fpu/s_cosl.S: New file.
4663 * sysdeps/ia64/fpu/s_expm1.S: New file.
4664 * sysdeps/ia64/fpu/s_expm1f.S: New file.
4665 * sysdeps/ia64/fpu/s_expm1l.S: New file.
4666 * sysdeps/ia64/fpu/s_floor.S: New file.
4667 * sysdeps/ia64/fpu/s_floorf.S: New file.
4668 * sysdeps/ia64/fpu/s_floorl.S: New file.
4669 * sysdeps/ia64/fpu/s_frexp.c: New file.
4670 * sysdeps/ia64/fpu/s_frexpf.c: New file.
4671 * sysdeps/ia64/fpu/s_frexpl.c: New file.
4672 * sysdeps/ia64/fpu/s_ilogb.S: New file.
4673 * sysdeps/ia64/fpu/s_ilogbf.S: New file.
4674 * sysdeps/ia64/fpu/s_ilogbl.S: New file.
4675 * sysdeps/ia64/fpu/s_ldexp.S: New file.
4676 * sysdeps/ia64/fpu/s_ldexpf.S: New file.
4677 * sysdeps/ia64/fpu/s_ldexpl.S: New file.
4678 * sysdeps/ia64/fpu/s_log1p.S: New file.
4679 * sysdeps/ia64/fpu/s_log1pf.S: New file.
4680 * sysdeps/ia64/fpu/s_log1pl.S: New file.
4681 * sysdeps/ia64/fpu/s_logb.S: New file.
4682 * sysdeps/ia64/fpu/s_logbf.S: New file.
4683 * sysdeps/ia64/fpu/s_logbl.S: New file.
4684 * sysdeps/ia64/fpu/s_matherrf.c: New file.
4685 * sysdeps/ia64/fpu/s_matherrl.c: New file.
4686 * sysdeps/ia64/fpu/s_modf.S: New file.
4687 * sysdeps/ia64/fpu/s_modff.S: New file.
4688 * sysdeps/ia64/fpu/s_modfl.S: New file.
4689 * sysdeps/ia64/fpu/s_nearbyint.S: New file.
4690 * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
4691 * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
4692 * sysdeps/ia64/fpu/s_rint.S: New file.
4693 * sysdeps/ia64/fpu/s_rintf.S: New file.
4694 * sysdeps/ia64/fpu/s_rintl.S: New file.
4695 * sysdeps/ia64/fpu/s_round.S: New file.
4696 * sysdeps/ia64/fpu/s_roundf.S: New file.
4697 * sysdeps/ia64/fpu/s_roundl.S: New file.
4698 * sysdeps/ia64/fpu/s_scalbn.S: New file.
4699 * sysdeps/ia64/fpu/s_scalbnf.S: New file.
4700 * sysdeps/ia64/fpu/s_scalbnl.S: New file.
4701 * sysdeps/ia64/fpu/s_significand.S: New file.
4702 * sysdeps/ia64/fpu/s_significandf.S: New file.
4703 * sysdeps/ia64/fpu/s_significandl.S: New file.
4704 * sysdeps/ia64/fpu/s_sin.c: New file.
4705 * sysdeps/ia64/fpu/s_sincos.c: New file.
4706 * sysdeps/ia64/fpu/s_sincosf.c: New file.
4707 * sysdeps/ia64/fpu/s_sincosl.c: New file.
4708 * sysdeps/ia64/fpu/s_sinf.c: New file.
4709 * sysdeps/ia64/fpu/s_sinl.c: New file.
4710 * sysdeps/ia64/fpu/s_tan.S: New file.
4711 * sysdeps/ia64/fpu/s_tanf.S: New file.
4712 * sysdeps/ia64/fpu/s_tanl.S: New file.
4713 * sysdeps/ia64/fpu/s_trunc.S: New file.
4714 * sysdeps/ia64/fpu/s_truncf.S: New file.
4715 * sysdeps/ia64/fpu/s_truncl.S: New file.
4716 * sysdeps/ia64/fpu/w_acos.c: New file.
4717 * sysdeps/ia64/fpu/w_acosf.c: New file.
4718 * sysdeps/ia64/fpu/w_acosl.c: New file.
4719 * sysdeps/ia64/fpu/w_asin.c: New file.
4720 * sysdeps/ia64/fpu/w_asinf.c: New file.
4721 * sysdeps/ia64/fpu/w_asinl.c: New file.
4722 * sysdeps/ia64/fpu/w_atan2.c: New file.
4723 * sysdeps/ia64/fpu/w_atan2f.c: New file.
4724 * sysdeps/ia64/fpu/w_atan2l.c: New file.
4725 * sysdeps/ia64/fpu/w_cosh.c: New file.
4726 * sysdeps/ia64/fpu/w_coshf.c: New file.
4727 * sysdeps/ia64/fpu/w_coshl.c: New file.
4728 * sysdeps/ia64/fpu/w_exp.c: New file.
4729 * sysdeps/ia64/fpu/w_expf.c: New file.
4730 * sysdeps/ia64/fpu/w_fmod.c: New file.
4731 * sysdeps/ia64/fpu/w_fmodf.c: New file.
4732 * sysdeps/ia64/fpu/w_fmodl.c: New file.
4733 * sysdeps/ia64/fpu/w_hypot.c: New file.
4734 * sysdeps/ia64/fpu/w_hypotf.c: New file.
4735 * sysdeps/ia64/fpu/w_hypotl.c: New file.
4736 * sysdeps/ia64/fpu/w_log.c: New file.
4737 * sysdeps/ia64/fpu/w_log10.c: New file.
4738 * sysdeps/ia64/fpu/w_log10f.c: New file.
4739 * sysdeps/ia64/fpu/w_log10l.c: New file.
4740 * sysdeps/ia64/fpu/w_logf.c: New file.
4741 * sysdeps/ia64/fpu/w_logl.c: New file.
4742 * sysdeps/ia64/fpu/w_pow.c: New file.
4743 * sysdeps/ia64/fpu/w_powf.c: New file.
4744 * sysdeps/ia64/fpu/w_powl.c: New file.
4745 * sysdeps/ia64/fpu/w_remainder.c: New file.
4746 * sysdeps/ia64/fpu/w_remainderf.c: New file.
4747 * sysdeps/ia64/fpu/w_remainderl.c: New file.
4748 * sysdeps/ia64/fpu/w_scalb.c: New file.
4749 * sysdeps/ia64/fpu/w_scalbf.c: New file.
4750 * sysdeps/ia64/fpu/w_scalbl.c: New file.
4751 * sysdeps/ia64/fpu/w_sqrt.c: New file.
4752 * sysdeps/ia64/fpu/w_sqrtf.c: New file.
4753 * sysdeps/ia64/fpu/w_sqrtl.c: New file.
4754 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
4756 * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
4757 Change FP_ILOGBNAN for new implementation.
4758 * Verions.def: Add 2.2.3 versions.
4760 2001-02-18 Ulrich Drepper <drepper@redhat.com>
4762 * math/libm-test.inc (scalb_test): Require invalid exception being
4763 raised for invalid parameters.
4764 * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
4765 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4766 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4768 2001-02-18 Mark Kettenis <kettenis@gnu.org>
4770 * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
4772 (__get_avphys_pages): Likewise.
4774 2001-02-18 Ulrich Drepper <drepper@redhat.com>
4776 * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
4777 * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
4778 * sysdeps/i386/fpu/e_powf.S: Likewise.
4779 * sysdeps/i386/fpu/e_powl.S: Likewise.
4781 * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
4783 2001-02-17 Ulrich Drepper <drepper@redhat.com>
4785 * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
4787 * sysdeps/generic/s_exp2l.c: Renamed to...
4788 * sysdeps/generic/e_exp2l.c: ...this. New file.
4789 * sysdeps/i386/fpu/s_exp2.S: Renamed to...
4790 * sysdeps/i386/fpu/e_exp2.S: ...this. New file.
4791 * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
4792 * sysdeps/i386/fpu/e_exp2f.S: ...this. New file.
4793 * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
4794 * sysdeps/i386/fpu/e_exp2l.S: ...this. New file.
4795 * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
4796 * sysdeps/ieee754/flt-32/e_exp2f.c: ...this. New file.
4797 * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
4798 * sysdeps/ieee754/dbl-64/e_exp2.c: ...this. New file.
4799 * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
4800 * sysdeps/m68k/fpu/e_exp2.c: ...this. New file.
4801 * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
4802 * sysdeps/m68k/fpu/e_exp2f.c: ...this. New file.
4803 * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
4804 * sysdeps/m68k/fpu/e_exp2l.c: ...this. New file.
4806 2001-02-17 Andreas Jaeger <aj@suse.de>
4808 * configure.in: Allow gcc 3.
4810 2001-02-16 Ulrich Drepper <drepper@redhat.com>
4812 * math/w_acos.c: Move to ...
4813 * sysdeps/generic/w_acos.c: ...here. New file.
4814 * math/w_acosf.c: Move to ...
4815 * sysdeps/generic/w_acosf.c: ...here. New file.
4816 * math/w_acosh.c: Move to ...
4817 * sysdeps/generic/w_acosh.c: ...here. New file.
4818 * math/w_acoshf.c: Move to ...
4819 * sysdeps/generic/w_acoshf.c: ...here. New file.
4820 * math/w_acoshl.c: Move to ...
4821 * sysdeps/generic/w_acoshl.c: ...here. New file.
4822 * math/w_acosl.c: Move to ...
4823 * sysdeps/generic/w_acosl.c: ...here. New file.
4824 * math/w_asin.c: Move to ...
4825 * sysdeps/generic/w_asin.c: ...here. New file.
4826 * math/w_asinf.c: Move to ...
4827 * sysdeps/generic/w_asinf.c: ...here. New file.
4828 * math/w_asinl.c: Move to ...
4829 * sysdeps/generic/w_asinl.c: ...here. New file.
4830 * math/w_atan2.c: Move to ...
4831 * sysdeps/generic/w_atan2.c: ...here. New file.
4832 * math/w_atan2f.c: Move to ...
4833 * sysdeps/generic/w_atan2f.c: ...here. New file.
4834 * math/w_atan2l.c: Move to ...
4835 * sysdeps/generic/w_atan2l.c: ...here. New file.
4836 * math/w_atanh.c: Move to ...
4837 * sysdeps/generic/w_atanh.c: ...here. New file.
4838 * math/w_atanhf.c: Move to ...
4839 * sysdeps/generic/w_atanhf.c: ...here. New file.
4840 * math/w_atanhl.c: Move to ...
4841 * sysdeps/generic/w_atanhl.c: ...here. New file.
4842 * math/w_cosh.c: Move to ...
4843 * sysdeps/generic/w_cosh.c: ...here. New file.
4844 * math/w_coshf.c: Move to ...
4845 * sysdeps/generic/w_coshf.c: ...here. New file.
4846 * math/w_coshl.c: Move to ...
4847 * sysdeps/generic/w_coshl.c: ...here. New file.
4848 * math/w_drem.c: Move to ...
4849 * sysdeps/generic/w_drem.c: ...here. New file.
4850 * math/w_dremf.c: Move to ...
4851 * sysdeps/generic/w_dremf.c: ...here. New file.
4852 * math/w_dreml.c: Move to ...
4853 * sysdeps/generic/w_dreml.c: ...here. New file.
4854 * math/w_exp10.c: Move to ...
4855 * sysdeps/generic/w_exp10.c: ...here. New file.
4856 * math/w_exp10f.c: Move to ...
4857 * sysdeps/generic/w_exp10f.c: ...here. New file.
4858 * math/w_exp10l.c: Move to ...
4859 * sysdeps/generic/w_exp10l.c: ...here. New file.
4860 * math/w_exp2.c: Move to ...
4861 * sysdeps/generic/w_exp2.c: ...here. New file.
4862 * math/w_exp2f.c: Move to ...
4863 * sysdeps/generic/w_exp2f.c: ...here. New file.
4864 * math/w_exp2l.c: Move to ...
4865 * sysdeps/generic/w_exp2l.c: ...here. New file.
4866 * math/w_fmod.c: Move to ...
4867 * sysdeps/generic/w_fmod.c: ...here. New file.
4868 * math/w_fmodf.c: Move to ...
4869 * sysdeps/generic/w_fmodf.c: ...here. New file.
4870 * math/w_fmodl.c: Move to ...
4871 * sysdeps/generic/w_fmodl.c: ...here. New file.
4872 * math/w_hypot.c: Move to ...
4873 * sysdeps/generic/w_hypot.c: ...here. New file.
4874 * math/w_hypotf.c: Move to ...
4875 * sysdeps/generic/w_hypotf.c: ...here. New file.
4876 * math/w_hypotl.c: Move to ...
4877 * sysdeps/generic/w_hypotl.c: ...here. New file.
4878 * math/w_j0.c: Move to ...
4879 * sysdeps/generic/w_j0.c: ...here. New file.
4880 * math/w_j0f.c: Move to ...
4881 * sysdeps/generic/w_j0f.c: ...here. New file.
4882 * math/w_j0l.c: Move to ...
4883 * sysdeps/generic/w_j0l.c: ...here. New file.
4884 * math/w_j1.c: Move to ...
4885 * sysdeps/generic/w_j1.c: ...here. New file.
4886 * math/w_j1f.c: Move to ...
4887 * sysdeps/generic/w_j1f.c: ...here. New file.
4888 * math/w_j1l.c: Move to ...
4889 * sysdeps/generic/w_j1l.c: ...here. New file.
4890 * math/w_jn.c: Move to ...
4891 * sysdeps/generic/w_jn.c: ...here. New file.
4892 * math/w_jnf.c: Move to ...
4893 * sysdeps/generic/w_jnf.c: ...here. New file.
4894 * math/w_jnl.c: Move to ...
4895 * sysdeps/generic/w_jnl.c: ...here. New file.
4896 * math/w_lgamma.c: Move to ...
4897 * sysdeps/generic/w_lgamma.c: ...here. New file.
4898 * math/w_lgammaf.c: Move to ...
4899 * sysdeps/generic/w_lgammaf.c: ...here. New file.
4900 * math/w_lgammaf_r.c: Move to ...
4901 * sysdeps/generic/w_lgammaf_r.c: ...here. New file.
4902 * math/w_lgammal.c: Move to ...
4903 * sysdeps/generic/w_lgammal.c: ...here. New file.
4904 * math/w_lgammal_r.c: Move to ...
4905 * sysdeps/generic/w_lgammal_r.c: ...here. New file.
4906 * math/w_lgamma_r.c: Move to ...
4907 * sysdeps/generic/w_lgamma_r.c: ...here. New file.
4908 * math/w_log10.c: Move to ...
4909 * sysdeps/generic/w_log10.c: ...here. New file.
4910 * math/w_log10f.c: Move to ...
4911 * sysdeps/generic/w_log10f.c: ...here. New file.
4912 * math/w_log10l.c: Move to ...
4913 * sysdeps/generic/w_log10l.c: ...here. New file.
4914 * math/w_log.c: Move to ...
4915 * sysdeps/generic/w_log.c: ...here. New file.
4916 * math/w_logf.c: Move to ...
4917 * sysdeps/generic/w_logf.c: ...here. New file.
4918 * math/w_logl.c: Move to ...
4919 * sysdeps/generic/w_logl.c: ...here. New file.
4920 * math/w_pow.c: Move to ...
4921 * sysdeps/generic/w_pow.c: ...here. New file.
4922 * math/w_powf.c: Move to ...
4923 * sysdeps/generic/w_powf.c: ...here. New file.
4924 * math/w_powl.c: Move to ...
4925 * sysdeps/generic/w_powl.c: ...here. New file.
4926 * math/w_remainder.c: Move to ...
4927 * sysdeps/generic/w_remainder.c: ...here. New file.
4928 * math/w_remainderf.c: Move to ...
4929 * sysdeps/generic/w_remainderf.c: ...here. New file.
4930 * math/w_remainderl.c: Move to ...
4931 * sysdeps/generic/w_remainderl.c: ...here. New file.
4932 * math/w_scalb.c: Move to ...
4933 * sysdeps/generic/w_scalb.c: ...here. New file.
4934 * math/w_scalbf.c: Move to ...
4935 * sysdeps/generic/w_scalbf.c: ...here. New file.
4936 * math/w_scalbl.c: Move to ...
4937 * sysdeps/generic/w_scalbl.c: ...here. New file.
4938 * math/w_sinh.c: Move to ...
4939 * sysdeps/generic/w_sinh.c: ...here. New file.
4940 * math/w_sinhf.c: Move to ...
4941 * sysdeps/generic/w_sinhf.c: ...here. New file.
4942 * math/w_sinhl.c: Move to ...
4943 * sysdeps/generic/w_sinhl.c: ...here. New file.
4944 * math/w_sqrtl.c: Move to ...
4945 * sysdeps/generic/w_sqrtl.c: ...here. New file.
4946 * math/w_tgamma.c: Move to ...
4947 * sysdeps/generic/w_tgamma.c: ...here. New file.
4948 * math/w_tgammaf.c: Move to ...
4949 * sysdeps/generic/w_tgammaf.c: ...here. New file.
4950 * math/w_tgammal.c: Move to ...
4951 * sysdeps/generic/w_tgammal.c: ...here. New file.
4953 * locale/programs/ld-address.c (address_finish): Add 'S' to allow
4954 formats for postal_fmt.
4956 2001-02-16 Jakub Jelinek <jakub@redhat.com>
4958 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
4959 __ftruncate64 alias.
4960 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
4963 2001-02-15 David Mosberger <davidm@hpl.hp.com>
4965 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
4966 do "loadrs". Writing to bspstore already takes care of
4967 invalidating the "clean" partition.
4969 2001-02-16 Andreas Schwab <schwab@suse.de>
4971 * sysdeps/m68k/fpu/s_nextafterl.c: New file.
4972 * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
4974 2001-02-15 Jakub Jelinek <jakub@redhat.com>
4976 * posix/regex.c (init_syntax_once): Add prototype.
4977 (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
4978 (re_search_2): Avoid warning.
4979 (count_mbs_length): Add prototype.
4980 * posix/tst-regex3.c: New file.
4981 * posix/Makefile (tests): Add bug-regex3.
4983 2001-02-15 Ulrich Drepper <drepper@redhat.com>
4985 * stdio-common/Makefile (tests): Add tst-gets.
4986 * stdio-common/tst-gets.c: New file.
4987 * stdio-common/tst-gets.input: New file.
4989 * elf/elf.h (DT_CHECKSUM): Define.
4991 * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
4993 * sysdeps/generic/strtoull.c: Likewise.
4995 2001-02-14 Wolfram Gloger <wg@malloc.de>
4997 * malloc/malloc.c (new_heap): When allocating large chunk aligned
4998 to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
5001 2001-02-14 Ulrich Drepper <drepper@redhat.com>
5003 * math/libm-test.inc (j0_test): Check whether sincos is available.
5004 (j1_test): Likewise.
5005 (jn_test): Likewise.
5006 (y0_test): Likewise.
5007 (y1_test): Likewise.
5008 (yn_test): Likewise.
5010 * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
5011 fake filesystem routines to handle this.
5013 * time/sys/time.h: Make settimeofday and adjtime available if
5016 * time/sys/time.h: Make timer* macros available for BSD.
5018 * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
5019 Patch by Yong Li <rigel863@yahoo.com>.
5021 * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
5024 * posix/Makefile (tests): Add tst-gnuglob.
5025 * posix/tst-gnuglob.c: New file.
5027 2001-02-13 H.J. Lu <hjl@gnu.org>
5029 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
5031 2001-02-13 Ulrich Drepper <drepper@redhat.com>
5033 * locale/programs/ld-paper.c (paper_output): Pretty printing.
5035 * iconvdata/Makefile (modules): Add GBBIG5.
5036 (distribute): Add gbbig5.c.
5037 * iconvdata/gconv-modules: Add entries for GBBIG5 module.
5039 * iconvdata/gbbig5.c: New file.
5040 Contributed by Yong Li <rigel863@yahoo.com>.
5042 2001-02-13 Philip Blundell <pb@futuretv.com>
5044 * manual/crypt.texi: Remove outdated references to crypt add-on.
5046 * manual/creature.texi: Improve wording slightly.
5048 2001-02-13 Ulrich Drepper <drepper@redhat.com>
5050 * io/ftw.c: Always use readdir64.
5051 * io/ftw64.c: Likewise.
5052 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5053 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5054 * sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir
5055 callback to dirent. Still allow compiling outside glibc.
5056 * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
5057 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5059 * malloc/mtrace.c: Use fopen64.
5060 * posix/spawni.c: Use __open64.
5061 * sysdeps/unix/opendir.c: Likewise.
5062 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
5064 * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
5066 * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
5067 * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
5068 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5069 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
5071 * resolv/res_data.c: Add cast to avoid warning.
5073 * include/unistd.h: Declare __ftruncate64.
5075 * sysdeps/generic/utmp_file.c: Use LFS functions and types.
5077 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
5080 2001-02-13 Andreas Jaeger <aj@suse.de>
5082 * login/getutent_r.c: Include <stdlib.h> for NULL.
5083 * login/getutid_r.c: Likewise.
5085 2001-02-12 Ulrich Drepper <drepper@redhat.com>
5087 * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
5088 * sysdeps/dbl-64/e_j1.c: Likewise.
5089 * sysdeps/dbl-64/e_jn.c: Likewise.
5090 * sysdeps/flt-32/e_j0f.c: Likewise.
5091 * sysdeps/flt-32/e_j1f.c: Likewise.
5092 * sysdeps/ldbl-96/e_j0l.c: Likewise.
5094 2000-12-02 H.J. Lu <hjl@gnu.org>
5096 * resolv/res_libc.c (res_init): Don't make it default.
5098 2001-02-12 Ulrich Drepper <drepper@redhat.com>
5100 * manual/debug.texi: Improved the wording.
5101 Patch by Philip Blundell <pb@futuretv.com>.
5103 2001-02-12 Andreas Jaeger <aj@suse.de>
5105 * posix/Makefile (tests): Don't run bug-regex2 when
5108 * libio/Makefile (tests): Don't run test-freopen when
5111 * manual/stdio.texi (Streams and I18N): Fix typos.
5113 2001-02-12 Ulrich Drepper <drepper@redhat.com>
5115 * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
5117 * math/libm-test.inc (j0_test): Make expected results long double
5119 (y0_test): Likewise.
5121 * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
5122 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5124 2001-02-11 Jakub Jelinek <jakub@redhat.com>
5126 * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
5127 which was exported from libc.
5128 * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
5130 2001-02-12 Andreas Jaeger <aj@suse.de>
5132 * manual/arith.texi (Parsing of Integers): Fix some wordings.
5134 2001-02-11 Ulrich Drepper <drepper@redhat.com>
5136 * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
5137 and get_avphys_page to long int.
5138 * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
5139 * include/sys/sysinfo.h: Likewise.
5140 * sysdeps/generic/sys/sysinfo.h: Likewise.
5141 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
5143 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
5144 cannot return as many values as the user asked for.
5146 2001-02-11 Andreas Jaeger <aj@suse.de>
5148 * manual/resource.texi (Memory Resources): Fix typo.
5150 * libio/Makefile ($(objpfx)test-freopen.out): Pass
5153 * libio/test-freopen.sh: Use run_program_prefix.
5155 2001-02-10 Andreas Jaeger <aj@suse.de>
5157 * stdlib/Makefile (tests): Don't run tst-fmtmsg when
5159 ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
5161 * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
5164 * elf/Makefile (tests): Only run tst-pathopt with shared libs.
5166 * posix/Makefile: Fix typo, it's build-static-nss.
5168 * iconv/Makefile (extra-objs): New.
5170 2001-02-10 Mark Kettenis <kettenis@gnu.org>
5172 * sysdeps/unix/stime.c: Include <time.h>.
5174 * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
5176 2001-02-10 Andreas Jaeger <aj@suse.de>
5178 * manual/string.texi (Search Functions): Fix typo.
5180 2001-02-10 Mark Kettenis <kettenis@gnu.org>
5182 * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
5183 (timeval_to_clock_t): Add clk_tck argument and use that instead of
5185 (__times): Use __getclktck to get the number of clock ticks per
5186 second and use its return value instead of CLK_TCK.
5188 2001-02-10 Mark Kettenis <kettenis@gnu.org>
5190 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
5192 2001-02-10 Mark Kettenis <kettenis@gnu.org>
5194 * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
5196 2001-02-10 Andreas Jaeger <aj@suse.de>
5198 * wctype/wcfuncs.c (func): Add prototype declarations to avoid
5201 2001-02-09 Ulrich Drepper <drepper@redhat.com>
5203 * posix/Makefile: Add rules to build and run bug-regex2.
5204 * posix/bug-regex2.c: New file.
5206 2001-02-10 Jakub Jelinek <jakub@redhat.com>
5208 * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
5209 (regex_compile): Likewise.
5210 (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
5211 (re_match_2_internal): Use just is_binary instead of two variables.
5212 Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
5214 2001-02-09 Ulrich Drepper <drepper@redhat.com>
5216 * version.h (VERSION): Bump to 2.2.2.
5218 * iconv/Makefile (distribute): Add iconv_charmap.c and
5220 * elf/Makefile (distribute): Add firstobj.c.
5221 * Makefile (distribute): Add include/pthread.h.
5223 * configure.in: Require makeinfo version 4.
5225 * libio/tst_wscanf.c (main): Add cast to avoid warning.
5226 * libio/tst_swscanf.c (main): Likewise..
5228 2001-02-09 Jakub Jelinek <jakub@redhat.com>
5230 * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
5231 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
5233 * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
5234 if not RTLD_BOOTSTRAP.
5235 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5236 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5238 2001-02-09 Ulrich Drepper <drepper@redhat.com>
5240 * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use
5241 lr_ungetc to push back last read character.
5242 * locale/programs/linereader.h (lr_ungetc): Don't push back is
5244 (lr_ignore_rest): Don't warn about garbage if it is really the end
5247 * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
5250 2001-02-08 Ulrich Drepper <drepper@redhat.com>
5252 * Makerules (build-shlib): Work around different order of
5253 processing of -B option in different gcc versions.
5255 * posix/regex.c: Fix alignment problem.
5256 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5258 * sysdeps/alpha/strrchr.S: Little optimization.
5259 Patch by Richard Henderson <rth@redhat.com>.
5261 * sysdeps/alpha/alphaev67/strrchr.S: New file.
5262 Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
5264 2001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
5266 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
5267 in the assembler end directive.
5269 2001-02-08 Andreas Jaeger <aj@suse.de>
5271 * manual/stdio.texi (Closing Streams): Fix typos.
5273 2001-02-07 Ulrich Drepper <drepper@redhat.com>
5275 * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
5276 Patch by Richard Henderson <rth@redhat.com>.
5277 Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
5279 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
5280 pointer in FILE structure before calling _IO_init.
5281 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
5282 strfmon_l if necessary.
5283 Reported by Jury Gerold <gjury@grips.com>.
5285 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
5286 Patch by Pekka.Pietikainen@cern.ch.
5288 * posix/regex.c: Correct several problems with 64-bit architectures
5289 introduced in the MBS changes.
5290 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5292 2001-02-07 Jakub Jelinek <jakub@redhat.com>
5294 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
5296 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
5298 2001-02-07 Andreas Jaeger <aj@suse.de>
5300 * manual/install.texi (Tools for Compilation): Fix typo.
5301 Reported by Pavel Machek <pavel@bug.ucw.cz>.
5303 2001-02-07 Ulrich Drepper <drepper@redhat.com>
5305 * stdlib/strtod.c: Never stop prematurely reading digits before the
5306 decimal point is found. Compute exponent limit for negative exponents
5307 correctly. For numbers ending in all zeros eat the zeros even before
5308 the decimal point if the exponent is negative [PR libc/2072].
5309 * stdlib/Makefile (tests): Add bug-strtod.
5310 * stdlib/bug-strtod.c: New file.
5312 2001-02-07 Andreas Jaeger <aj@suse.de>
5314 * posix/bug-regex1.c: Include <wchar.h> for fwide.
5316 2001-02-06 Ulrich Drepper <drepper@redhat.com>
5318 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
5320 (compile_range): Handle index being passed, not pointer.
5321 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5323 * posix/regex.c: Fix a cast in the code for bracket handling which
5324 caused 8-bit uncleanliness.
5325 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
5327 * posix/Makefile (tests): Add bug-regex1.
5328 * posix/bug-regex1.c: New file.
5329 Contributed by Jim Meyering <jim@meyering.net>.
5331 * posix/regex.c: Many cleanups for incorrect format strings.
5333 2001-02-06 Andreas Jaeger <aj@suse.de>
5335 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
5337 2001-02-06 Ulrich Drepper <drepper@redhat.com>
5339 * locale/programs/locale.c (write_locales): Use scandir to read
5340 directory so that the entries are sorted.
5342 2001-02-06 Andreas Jaeger <aj@suse.de>
5344 * include/pthread.h: New file.
5346 * wctype/wctype.h: Move internal interfaces from here to...
5347 * include/wctype.h: ...here.
5349 * wcsmbs/wchar.h: Move __wcslen from here to...
5350 * include/wchar.h: ...here.
5352 * posix/sys/wait.h: Move __wait from here to...
5353 * include/sys/wait.h: ...here.
5355 * string/string.h: Move __ffs and __strerror_r from here to...
5356 * include/string.h: ...here.
5358 * stdlib/stdlib.h: Move __on_exit from here to...
5359 * include/stdlib.h: ...here.
5361 * libio/stdio.h: Move __vsnprintf from here to...
5362 * include/stdio.h: ...here.
5364 2001-02-06 Andreas Schwab <schwab@suse.de>
5366 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
5369 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
5372 2001-02-06 Ulrich Drepper <drepper@redhat.com>
5374 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
5376 2001-02-06 Andreas Jaeger <aj@suse.de>
5378 * elf/firstobj.c: Add prototype.
5380 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
5381 (truncate_wchar): Likewise.
5383 2001-02-06 Ulrich Drepper <drepper@redhat.com>
5385 * locale/programs/locale.c: Implement --verbose option for -a
5386 which prints detailed information about the locales.
5388 2001-02-05 Ulrich Drepper <drepper@redhat.com>
5390 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
5391 variable to uint32_t.
5392 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
5394 2001-02-04 Bruno Haible <haible@clisp.cons.org>
5396 * locale/C-translit.h.in: Add transliterations for CJK units of
5399 2001-02-05 Ulrich Drepper <drepper@redhat.com>
5401 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
5402 string. Include <inttypes.h> instead of <stdint.h>.
5404 * localedata/Makefile (tests): Add bug-iconv-trans.
5405 Define bug-iconv-trans-ENV.
5406 * localedata/bug-iconv-trans.c: New file.
5408 2001-02-04 Bruno Haible <haible@clisp.cons.org>
5410 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
5411 pointer, to avoid accumulating output from incomplete (unsuccessful)
5412 transliteration attempts.
5414 2001-02-05 Ulrich Drepper <drepper@redhat.com>
5416 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
5417 string. Include <inttypes.h> instead of <stdint.h>.
5419 * configure.in: Add check for bison.
5420 * config.make.in: Define BISON variable.
5421 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
5422 Rename YFLAGS to BISONFLAGS.
5424 2001-02-05 Andreas Jaeger <aj@suse.de>
5426 * io/test-lfs.c (do_test): Test lseek64 return value, call
5428 (test_ftello): New function to test ftello64 and fseeko64.
5430 * signal/signal.h: Move __sigaction from here to...
5431 * include/signal.h: ...here.
5433 * io/fcntl.h: Move __fcntl and __open to...
5434 * include/fcntl.h: ...here.
5436 2001-02-04 Philip Blundell <philb@gnu.org>
5438 * configure.in: Distinguish ARM from Thumb.
5440 2001-02-04 Philip Blundell <philb@gnu.org>
5442 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
5443 PC24 relocs with negative value.
5445 2001-02-04 Ulrich Drepper <drepper@redhat.com>
5447 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
5448 files in locale/programs. Add CFLAGS definition to allow compiling
5450 * iconv/dummy-repertoire.c: New file.
5451 * iconv/iconv_charmap.c: New file.
5452 * iconv/iconv_prog.h: New file.
5453 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
5454 (main): If parameter for -f and -t contain slashes try first to resolve
5455 the strings as filenames of charmap files. Use them for conversion
5457 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
5458 iconv getting charmap names as parameters.
5459 * locale/programs/linereader.c (lr_token): Take extra parameters
5460 verbose and pass it to get_string.
5461 (get_string): Take extra parameters verbose.
5462 * locale/programs/charmap.c (parse_charmap): Take extra parameters
5463 verbose and be_quiet. Change all callers of lr_token and
5465 * locale/programs/charmap.h: Likewise.
5466 * locale/programs/ld-address.c: Likewise.
5467 * locale/programs/ld-collate.c: Likewise.
5468 * locale/programs/ld-ctype.c: Likewise.
5469 * locale/programs/ld-identification.c: Likewise.
5470 * locale/programs/ld-measurement.c: Likewise.
5471 * locale/programs/ld-messages.c: Likewise.
5472 * locale/programs/ld-monetary.c: Likewise.
5473 * locale/programs/ld-name.c: Likewise.
5474 * locale/programs/ld-numeric.c: Likewise.
5475 * locale/programs/ld-paper.c: Likewise.
5476 * locale/programs/ld-telephone.c: Likewise.
5477 * locale/programs/ld-time.c: Likewise.
5478 * locale/programs/linereader.c: Likewise.
5479 * locale/programs/linereader.h: Likewise.
5480 * locale/programs/localedef.c: Likewise.
5481 * locale/programs/locfile.c: Likewise.
5482 * locale/programs/locfile.h: Likewise.
5483 * locale/programs/repertoire.c: Likewise.
5485 2001-02-03 Ulrich Drepper <drepper@redhat.com>
5487 * iconv/iconv_prog.c (main): If output file name is "-" write to
5489 (main): If -f or -t argument is missing use charset of the current
5492 2001-02-03 Andreas Jaeger <aj@suse.de>
5494 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
5495 boundary for SSE/SSE-2 alignment.
5497 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
5500 2001-02-03 Ulrich Drepper <drepper@redhat.com>
5502 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
5503 Remove comma at end of enum.
5505 * elf/dl-init.c: Add a few __builtin_expect.
5507 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
5509 2001-02-02 Ulrich Drepper <drepper@redhat.com>
5511 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
5512 errno is ECONNREFUSED.
5514 * posix/Makefile: Define MBS_SUPPORT for regex.c.
5515 * posix/regex.c: Implement multibyte character handling.
5516 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
5518 * string/tst-svc.input: Add two more test cases.
5519 * string/tst-svc.expect: Modify to reflect new test cases.
5521 2001-02-01 Jakub Jelinek <jakub@redhat.com>
5523 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
5524 tp->name tests with tp->name[0] tests.
5526 2001-01-29 Ben Collins <bcollins@debian.org>
5528 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
5529 Fix check for name == NULL.
5531 2001-02-01 Ulrich Drepper <drepper@redhat.com>
5533 * elf/Makefile: Add rules to build and run initfirst test.
5534 * elf/initfirst.c: New file.
5535 * elf/firstobj.c: New file.
5537 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
5538 * configure.in: Test for -z initfirst linker option.
5539 * config.make.in: Add have-z-initfirst.
5540 * elf/dl-init.c (_dl_init): Split out actual initialization code in
5541 new function call_init. If _dl_initfirst is non-NULL initialize first.
5542 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
5543 remember object in _dl_initfirst.
5544 * elf/soinit.c: Remove special support for calling
5545 __pthread_initialize_minimal.
5547 * conform/conformtest.pl: Add missing $prepend in type test.
5549 2001-01-31 Ulrich Drepper <drepper@redhat.com>
5551 * elf/elf.h (SHT_CHECKSUM): New definition.
5553 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
5554 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5555 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
5557 2001-01-31 Mark Kettenis <kettenis@gnu.org>
5559 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
5560 to get definition of `struct timeval'.
5562 2001-01-31 Ulrich Drepper <drepper@redhat.com>
5564 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
5565 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
5567 2001-01-30 Ulrich Drepper <drepper@redhat.com>
5569 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
5572 * nis/nis_findserv.c: Include <time.h>.
5574 2001-01-30 Yong Li <yong.li@asu.edu>
5576 * iconv/iconv_prog.c (main): Correct error handling method name.
5578 2001-01-29 Ben Collins <bcollins@debian.org>
5580 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
5581 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
5582 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
5583 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
5585 2001-01-30 Ulrich Drepper <drepper@redhat.com>
5587 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
5588 Patch by Marko Myllynen <myllynen@lut.fi>.
5590 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
5591 (int instead of char).
5592 (__strpbrk_c3): Likewise.
5593 Reported by GOTO Masanori <gotom@debian.or.jp>.
5595 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
5596 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
5597 * include/sys/socket.h: Add SA_LEN here for internal use.
5598 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
5600 2001-01-29 Ulrich Drepper <drepper@redhat.com>
5602 * malloc/Makefile: Don't build memusagestat if cross-compiling.
5604 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
5606 * math/libm-test.inc (rint_test): Add a few more tests for round
5609 2001-01-28 Ulrich Drepper <drepper@redhat.com>
5611 * conform/data/pthread.h-data: Correct return type of pthread_exit.
5613 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
5615 * conform/data/stdlib.h-data: Add _Exit.
5617 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
5618 if not already happened.
5619 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
5620 Don't include <limits.h> and <bits/sockaddr.h>.
5622 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
5624 * conform/data/spawn.h-data: Allow all of <sched.h>.
5626 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
5629 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
5630 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
5632 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
5634 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
5635 * libio/stdio.h: Define va_list correctly.
5637 * conform/data/pthread.h-data: Make priority protocol related
5638 functions optional. Fix typos.
5640 * posix/sched.h: Define sched_priority as __sched_priority.
5641 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
5642 to __sched_priority.
5643 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5645 2001-01-27 Ulrich Drepper <drepper@redhat.com>
5647 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
5650 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
5651 * sysdeps/unix/time.c: Likewise.
5653 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
5654 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
5655 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
5656 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
5657 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
5658 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
5659 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
5660 * time/time.h: Likewise.
5662 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
5663 * conform/data/complex.h-data: New file.
5664 * conform/data/tgmath.h-data: New file.
5666 * conform/data/wchar.h-data: Add missing functions.
5668 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
5670 * conform/data/termios.h-data: Add missing const in tcsetattr()
5673 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
5674 Don't define pid_t here.
5676 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
5678 * conform/data/sys/time.h-data: Allow sys/select.h.
5679 * conform/data/sys/un.h-data: Fix typo.
5680 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
5681 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
5683 * sysdeps/unix/clock_nanosleep.c: Likewise.
5684 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
5685 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
5686 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
5687 * sysdeps/unix/clock_settime.c: Likewise.
5689 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
5690 * login/getutent.c: Likewise.
5691 * login/getutid.c: Likewise.
5692 * login/getutline.c: Likewise.
5694 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
5696 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
5697 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
5698 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
5699 f_fsid field after change in struct statvfs.
5700 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
5701 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
5702 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
5704 * conform/data/sys/stat.h-data: Remove isfdtype. Use
5707 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
5708 recvfrom, send, and socketpair prototypes. Add allow lines.
5709 * socket/sys/socket.h: Include <sys/uio.h>.
5710 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
5711 Fix type of second parameter of listen.
5712 Don't declare isfdtype unless __USE_MISC.
5713 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
5714 * sysdeps/mach/hurd/listen.c: Likewise.
5715 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
5716 ss_family and __ss_family.
5717 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
5718 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5719 (struct msghdr): Change type of msg_iovlen to int and type of
5720 msg_controllen to socklen_t.
5721 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
5722 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
5723 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
5724 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
5725 (rresvport_af): Likewise.
5727 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
5728 * conform/conformtest.pl: Implement handling of symbol.
5730 * signal/signal.h: Fix handling of __need_* symbols.
5731 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
5732 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
5733 * include/sys/select.h: Use fd_set not __fd_set.
5734 * sysdeps/generic/bits/select.h: Likewise.
5735 * sysdeps/i386/bits/select.h: Likewise.
5736 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
5737 __FDELT, __FDMASK, and __fd_set here.
5738 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
5739 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
5740 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5741 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5742 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
5743 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5744 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5745 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5746 * time/sys/time.h: Define struct timeval before including <time.h>
5749 * conform/data/sys/time.h-data: fd_set is a typedef.
5750 * conform/data/sys/select.h-data: New file.
5751 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
5752 * conform/conformtest.pl (@headers): Add sys/select.h.
5753 (type, optional-type): Unless testing a typedef instantiate object.
5754 Implement optional-function.
5756 * math/test-misc.c: Include <float.h>.
5758 2001-01-27 Andreas Jaeger <aj@suse.de>
5760 * misc/efgcvt_r.c: Include <float.h>.
5762 2001-01-26 Ulrich Drepper <drepper@redhat.com>
5764 * conform/data/stdlib.h-data: Account for XPG6 changes.
5765 * stdlib/stdlib.h (__random): Change return value type to long.
5766 (posix_memalign): Cleanup parameter names.
5767 (setenv, unsetenv): Make available for __USE_XOPEN2K.
5768 Change return type of unsetenv to int.
5769 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
5770 * include/stdlib.h: Change return type of unsetenv to int.
5771 Change return type of random to long int.
5772 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
5773 Return -1 and set errno if parameter is invalid.
5774 * stdlib/random.c (__random): Change return value type to long.
5776 * conform/data/stdio.h-data: Account for changes in XPG6.
5778 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
5781 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
5782 * conform/data/signal.h-data: Fix sigev_notify_function entry.
5783 Fix typo (SIGVALRM -> SIGVTALRM).
5784 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
5786 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
5787 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5788 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5789 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5790 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5792 * conform/conformtest.pl: Implement optional-element. Define
5793 $mustprepend{"sched.h"}.
5794 * conform/data/sched.h-data: Make sporadic scheduler definitions
5797 * pwd/pwd.h: Don't define getpwent_r for XPG.
5799 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
5800 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
5801 * sysdeps/mach/hurd/poll.c: Likewise.
5802 * sysdeps/unix/bsd/poll.c: Likewise.
5803 * sysdeps/unix/sysv/linux/poll.c: Likewise.
5804 * sysdeps/unix/sysv/aix/poll.c: Likewise.
5805 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
5806 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
5807 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
5808 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
5809 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
5810 * conform/data/poll.h-data: Fix typo in poll prototype.
5812 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
5814 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
5816 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
5818 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
5820 * conform/conformtest.pl: Implement optional-type.
5822 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
5823 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
5824 defining uint32_t here. Define IPPORT_RESERVED.
5825 (struct hostent): Type of h_length element is int.
5826 (getnameinfo): Type of flags parameter is unsigned int.
5827 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
5828 * conform/data/netdb.h-data: Add many missing definitions.
5830 * conform/conformtest.pl: Implement optional-macro.
5831 * conform/data/math.h-data: Update for XPG6.
5833 * math/math.h (HUGE): Define as FLT_MAX value but don't use
5834 FLT_MAX. Don't include <float.h>.
5835 (MAXFLOAT): Likewise.
5837 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
5839 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
5841 * conform/data/limits.h-data: Mark constants as optional wherever
5844 * posix/bits/posix2_lim.h: Set correct values for
5845 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
5848 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
5851 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
5853 * conform/data/netinet/in.h-data: Add reserved prefixes.
5855 * conform/data/arpa/inet.h-data: Fix a few typos.
5857 2001-01-26 Andreas Jaeger <aj@suse.de>
5859 * sysdeps/generic/strtol.c: Include <locale.h>
5860 * stdlib/strtod.c: Likewise
5861 * stdlib/strfmon.c: Likewise.
5862 * string/strcoll.c: Likewise.
5863 * string/strxfrm.c: Likewise.
5864 * wctype/wcfuncs_l.c: Likewise.
5865 * wctype/wctype_l.c: Likewise.
5866 * wctype/wctrans_l.c: Likewise.
5868 * include/bits/locale.h: New file.
5870 2001-01-26 Ulrich Drepper <drepper@redhat.com>
5872 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
5875 * locale/Makefile (headers): Add bits/locale.h.
5876 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
5877 and use __LC_ constants instead of LC_.
5878 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
5879 using __LC_ constants.
5880 * locale/bits/locale.h: New file.
5881 * locale/loadlocale.c: Include <locale.h>.
5882 * locale/nl_langinfo.h: Likewise.
5884 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
5886 * io/sys/stat.h: Define S_IFSOCK for XPG6.
5888 * conform/data/fcntl.h-data: posix_madvise is not expected here.
5890 * conform/conformtest.pl: Fix handling of macro-str.
5892 * conform/data/inttypes.h-data: Add missing definition and all of
5895 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
5897 2001-01-25 Ulrich Drepper <drepper@redhat.com>
5899 * conform/conformtest.pl (@headers): Add stdint.h.
5900 * conform/data/stdint.h-data: New file.
5902 * conform/conformtest.pl: Recognize options --headers and
5903 --dialect. Add dialect-specific CFLAGS.
5905 * conform/conformtest.pl: Implement handling of recursive
5908 * conform/data/locale.h-data: Add new struct lconv members.
5910 * posix/wordexp.h: Correct definition of wordexp_t.
5911 * posix/wordexp.c: Moved to ...
5912 * sysdeps/generic/wordexp.c: ...here. New file.
5913 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
5914 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
5915 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
5916 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
5918 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
5919 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
5921 * math/tgmath.h: Pretty printing.
5923 * math/Makefile (tests): Add test-tgmath.
5924 (CFLAGS-test-tgmath.c): New variable.
5925 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
5927 * conform/conformtest.pl: Handle allow-header in secondary headers
5930 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
5933 * conform/data/netinet/in.h-data: Use correct comment character.
5934 * conform/data/sys/stat.h-data: Likewise.
5936 2001-01-25 Jakub Jelinek <jakub@redhat.com>
5938 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
5939 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
5940 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
5941 __builtin_classify_type, add ##f suffixes where appropriate.
5942 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
5943 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
5944 __builtin_classify_type.
5945 (fma): Fix spelling of first argument.
5947 2001-01-25 Ulrich Drepper <drepper@redhat.com>
5949 * conform/data/unistd.h-data: Mark functions removed in XPG6
5952 * posix/unistd.h: Don't make functions removed in XPG6 available if
5955 * conform/conformtest.pl: Implement optional-constant.
5956 * conform/data/unistd.h-data: Use optional-constant wherever
5959 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
5960 constants and add _SC_STREAMS.
5961 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
5963 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
5964 make old name weak alias.
5965 * sysdeps/generic/statvfs64.c: Likewise.
5966 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
5967 make old name weak alias.
5968 * sysdeps/generic/fstatvfs64.c: Likewise.
5969 * include/sys/statvfs.h: New file.
5971 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
5972 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
5974 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
5975 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
5976 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
5977 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
5979 * conform/conformtest.pl: Run Unix tests for XPG6.
5980 Implement handling of known namespace violations.
5981 Improve printing of results.
5983 * posix/unistd.h (usleep): Correct return type.
5984 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
5985 * sysdeps/unix/bsd/usleep.c: Correct return type.
5986 * sysdeps/mach/usleep.c: Correct return type.
5987 * sysdeps/generic/usleep.c: Correct return type.
5989 * posix/unistd.h (sync): Correct return type.
5990 * sysdeps/generic/sync.c: Likewise.
5991 * sysdeps/mach/hurd/sync.c: Likewise.
5993 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
5995 * posix/unistd.h: Make seteuid and setegid available for XPG6.
5997 * wcsmbs/wchar.h: Get FILE definition for XPG5.
5999 * conform/data/ctype.h-data: Use correct comment form.
6000 * conform/data/errno.h-data: Likewise.
6001 * conform/data/math.h-data: Likewise.
6002 * conform/data/mqueue.h-data: Likewise.
6003 * conform/data/netdb.h-data: Likewise.
6004 * conform/data/pthread.h-data: Likewise.
6006 2001-01-24 Ulrich Drepper <drepper@redhat.com>
6008 * conform/data/wordexp.h-data: Fix typo.
6010 * conform/conformtest.pl: Handle allow-header correctly.
6012 * conform/data/time.h-data: Use correct comment form.
6014 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
6016 * configure.in: Comment out binutils version test.
6018 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
6020 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
6022 * stdlib/tst-strtod.c (locale_test): New function.
6023 (main): Call locale_test.
6024 * stdlib/Makefile (tst-strtod-ENV): New variable.
6026 2001-01-24 Mark Kettenis <kettenis@gnu.org>
6028 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
6029 declaration of value such that we actually return the value of the
6030 environment variable.
6032 2001-01-24 Andreas Jaeger <aj@suse.de>
6034 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
6036 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6038 * include/sys/sysctl.h: New file.
6040 2001-01-23 Andreas Jaeger <aj@suse.de>
6042 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
6045 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
6046 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
6047 closes PR libc/2039.
6049 * manual/install.texi (Tools for Compilation): Change required
6052 2001-01-22 Andreas Jaeger <aj@suse.de>
6054 * configure.in: Add test for new enough binutils version, move
6055 compiler/binutils test up.
6057 * Versions.def: Add version GLIBC_2.2.2.
6059 2001-01-21 Ulrich Drepper <drepper@redhat.com>
6061 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
6063 * iconvdata/testdata/IBM932: New file.
6064 * iconvdata/testdata/IBM932..UTF8: New file.
6065 * iconvdata/testdata/IBM943: New file.
6066 * iconvdata/testdata/IBM943..UTF8: New file.
6067 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
6069 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6071 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
6073 2001-01-21 Ulrich Drepper <drepper@redhat.com>
6075 * malloc/malloc.c: Remove a few unnecessary initializers of global
6078 2000-12-09 H.J. Lu <hjl@gnu.org>
6080 * nss/Makefile (routines): Add digits_dots.
6081 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
6082 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
6084 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
6086 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
6087 (TYPE_VAR_P): Likewise.
6088 (FLAGS_VAR): Likewise.
6089 (AF_VAR_P): Likewise.
6090 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6091 instead of including digits_dots.c.
6092 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
6093 (TYPE_VAR_P): Likewise.
6094 (FLAGS_VAR): Likewise.
6095 (AF_VAR_P): Likewise.
6096 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6097 instead of including digits_dots.c.
6099 2001-01-21 Ulrich Drepper <drepper@redhat.com>
6101 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
6103 2001-01-21 Andreas Jaeger <aj@suse.de>
6105 * elf/constload2.c: Add prototype for init.
6107 2001-01-21 Ulrich Drepper <drepper@redhat.com>
6109 * stdlib/stdlib.h (drand48_data): Make available only for
6110 __USE_MISC. Rename elements to protect namespace. Change type
6111 and position of a and init element.
6112 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
6113 differently. Adjust for drand48_data change. Don't compute a here,
6114 it comes from drand48_data.
6115 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
6116 differently. Adjust for drand48_data change. Compute a here.
6117 * stdlib/srand48_r.c: Likewise.
6118 * stdlib/drand48.c: Adjust for drand48_data change.
6119 * stdlib/lrand48.c: Likewise.
6120 * stdlib/mrand48.c: Likewise.
6121 * stdlib/seek48.c: Likewise.
6122 * stdlib/drand48_r.c: Likewise.
6123 * stdlib/lrand48_r.c: Likewise.
6124 * stdlib/mrand48_r.c: Likewise.
6125 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
6127 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
6128 * stdlib/jrand48_r.c: Likewise.
6130 * po/sv.po: Update from translation team.
6132 2001-01-21 Andreas Jaeger <aj@suse.de>
6134 * stdio-common/vfprintf.c (vfprintf): Add casts.
6136 2001-01-20 Ulrich Drepper <drepper@redhat.com>
6138 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
6140 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
6142 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
6143 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
6144 * iconvdata/ibm932.c: New file.
6145 * iconvdata/ibm932.h: New file.
6146 * iconvdata/ibm943.c: New file.
6147 * iconvdata/ibm943.h: New file.
6148 Patches by Masahide Washizawa <washi@jp.ibm.com>.
6150 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
6151 preventing optimization from being done. Set the correct type bit
6152 in seen. Don't define and use _dl_base_addr unless
6153 NEED_DL_BASE_ADDR is defined.
6155 * io/ftw.c (ftw_dir): Add slash after directory name if there
6156 wasn't any. Reported by loris <loris@iol.it>.
6157 * io/Makefile (tests): Add bug-ftw2.
6158 * io/bug-ftw2.c: New file.
6160 2001-01-19 Ulrich Drepper <drepper@redhat.com>
6162 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
6163 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
6164 * stdlib/tst-rand48.c: New file.
6165 * stdlib/Makefile (tests): Add tst-rand48.
6167 * locale/newlocale.c (__newlocale): Fix test for setting all
6170 2001-01-19 Mark Kettenis <kettenis@gnu.org>
6172 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
6173 but change looking up the initial directory port in a similar way
6174 as done by _hurd_change_directory_port_from_name.
6175 * hurd/fchroot.c (fchroot): Likewise.
6177 2001-01-18 Ulrich Drepper <drepper@redhat.com>
6179 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
6180 defined don't look whether the AT_*ID values were set.
6181 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
6182 (_dl_show_auxv): Rewrite to avoid switch statement.
6183 * sysdeps/unix/sysv/linux/kernel-features.h: Define
6184 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
6185 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
6186 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
6188 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
6189 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6190 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6192 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
6194 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
6195 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
6197 * dlfcn/eval.c (__strtol_internal): Define here.
6198 (eval): Use __strtol_internal instead of strtol.
6200 * elf/elf.h: Add a few more EF_MIPS_* constants.
6202 2001-01-17 Ulrich Drepper <drepper@redhat.com>
6204 * manual/Makefile (chapters): Add debug.
6205 * manual/debug.texi: New file.
6206 * manual/examples/execinfo.c: New file.
6207 Patch by suckfish@ihug.co.nz.
6209 2001-01-17 Andreas Schwab <schwab@suse.de>
6211 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
6214 2001-01-17 Andreas Jaeger <aj@suse.de>
6216 * nscd/connections.c (nscd_run): Use proper format specifier.
6218 2001-01-16 Ulrich Drepper <drepper@redhat.com>
6220 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
6221 x86_platforms data into new file after prepending _dl_. Change
6223 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
6224 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
6225 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
6228 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
6230 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
6231 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
6232 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
6233 (_setjmp): Likewise.
6234 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
6235 * sysdeps/i386/bsd-setjmp.S: Real implementation.
6236 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
6237 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
6240 2001-01-16 Andreas Jaeger <aj@suse.de>
6242 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
6243 misapplied last patch.
6245 2001-01-15 Ulrich Drepper <drepper@redhat.com>
6247 * stdlib/random.c (__initstate): Clean up a cast.
6248 (__setstate): Likewise.
6250 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
6251 syscall handling. The generic Linux version should work.
6253 2001-01-15 Andreas Jaeger <aj@suse.de>
6255 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
6257 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
6259 2001-01-14 Jakub Jelinek <jakub@redhat.com>
6261 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
6262 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
6264 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
6265 If number is 0, list all.
6266 (services_keys): Likewise. Lookup aliases as well.
6267 (databases): New table.
6268 (build_doc): Prepare argp doc text with list of supported databases.
6269 (main): Change to table driven processing.
6271 2001-01-14 Thorsten Kukuk <kukuk@suse.de>
6273 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
6276 2001-01-03 Jakub Jelinek <jakub@redhat.com>
6278 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
6279 encode value which does not fit in the 32bit type.
6281 2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
6283 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
6284 Change type of CTX to (struct sigcontext *).
6285 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
6286 (GET_FRAME): Likewise.
6287 (GET_STACK): Likewise.
6288 (SIGCONTEXT): Likewise. Add 2nd arg _code.
6289 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
6291 2001-01-13 Ulrich Drepper <drepper@redhat.com>
6293 * manual/texinfo.tex: Update from upstream version.
6295 2001-01-13 Jakub Jelinek <jakub@redhat.com>
6297 * inet/ether_ntoh.c (lookup_function): Change arguments to match
6298 _nss_*_getntohost_r prototype.
6299 (ether_ntohost): Pass errno pointer to NSS function.
6301 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6303 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
6304 (MAP_LOCKED): New definition.
6305 (MAP_NORESERVE): New definition.
6307 2001-01-12 Ulrich Drepper <drepper@redhat.com>
6309 * assert/assert.h: Use static_cast instead of C-style cast for C++.
6310 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
6312 2001-01-12 Ben Collins <bcollins@debian.org>
6314 * sysdeps/generic/segfault.c (install_handler): Use access, not
6317 2001-01-12 Andreas Jaeger <aj@suse.de>
6319 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
6320 * posix/wordexp.c (do_parse_glob): Likewise.
6321 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
6322 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
6323 * elf/dl-open.c (_dl_open): Likewise.
6324 * elf/dl-close.c (_dl_close): Likewise.
6325 * elf/dl-load.c (_dl_map_object): Likewise.
6326 * iconv/iconv_prog.c (process_fd): Likewise.
6327 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
6329 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
6330 of a zero-length array.
6332 2001-01-11 Jakub Jelinek <jakub@redhat.com>
6334 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
6335 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
6336 * stdlib/cxa_on_exit.c: Remove.
6337 * stdlib/Makefile: Revert last patch.
6338 * stdlib/Versions: Likewise.
6339 * include/stdlib.h: Likewise.
6340 * stdlib/exit.h: Revert last patch.
6341 (struct exit_function): Add second argument to cxa fn.
6342 * stdlib/exit.c: Revert last patch.
6343 (exit): Add hidden second argument.
6345 2001-01-11 H.J. Lu <hjl@gnu.org>
6347 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
6348 * elf/dl-open.c (_dl_open): Here.
6349 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
6351 (_dl_static_init): Initialize the variables every time when possible.
6352 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
6355 2001-01-11 Ulrich Drepper <drepper@redhat.com>
6357 * stdlib/Makefile (routines): Add cxa_on_exit.
6358 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
6359 * stdlib/cxa_on_exit.c: New file.
6360 * include/stdlib.h: Add prototype for __cxa_on_exit.
6361 * stdlib/exit.c: Handle ef_cxa2.
6362 * stdlib/exit.h (enum): Add ef_cxa2.
6363 (struct exit_function): Add cxa2.
6365 * Versions.def [ld]: Add GLIBC_2.2.1.
6367 2001-01-10 H.J. Lu <hjl@gnu.org>
6369 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
6370 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
6372 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
6373 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
6374 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
6375 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
6376 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
6378 2001-01-11 Ulrich Drepper <drepper@redhat.com>
6380 * libio/stdio.h: Remove definition of off_t.
6382 2001-01-11 Andreas Jaeger <aj@suse.de>
6384 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
6387 2001-01-10 Ulrich Drepper <drepper@redhat.com>
6389 * sunrpc/Makefile (distribute): Add errqueue.h.
6391 2001-01-10 H.J. Lu <hjl@gnu.org>
6393 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
6394 r9, r10 and r11 for language specific registers.
6396 2001-01-10 Jakub Jelinek <jakub@redhat.com>
6398 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
6400 (clntudp_call): Handle MSG_ERRQUEUE.
6401 * sysdeps/generic/errqueue.h: New file.
6402 * sysdeps/unix/sysv/linux/errqueue.h: New file.
6404 2001-01-10 H.J. Lu <hjl@gnu.org>
6406 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
6408 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
6410 * CONFORMANCE: Update.
6412 2001-01-09 Ulrich Drepper <drepper@redhat.com>
6414 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
6415 Minimal cleanups. Add assert to ensure memory handling is correct.
6417 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
6418 Reported by Ben Collins <bcollins@debian.org>.
6420 * time/strftime.c (my_strftime): Mark previous GNU extensions
6421 which are now in C99 as such.
6423 2001-01-08 Ulrich Drepper <drepper@redhat.com>
6425 * elf/rtld.c (process_envvars): Place output files for profiling
6426 in SUID binaries in /var/profile.
6428 * elf/dl-load.c (_dl_map_object): Don't look in cache for
6429 preloading in SUID binaries.
6431 * elf/dl-profile.c (_dl_start_profile): Open the output file with
6432 O_NOFOLLOW if possible.
6434 * include/stdlib.h: Add __posix_openpt declaration.
6435 * stdlib/stdlib.h: Add posix_openpt declaration.
6436 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
6437 * sysdeps/generic/getpt.c: Define posix_openpt.
6438 * sysdeps/unix/bsd/getpt.c: Likewise.
6439 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
6441 * time/Makefile (tests): Add tst-mktime.
6442 * time/tst-mktime.c: New file.
6444 * posix/tst-dir.c (main): One more mkdir() test.
6446 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
6447 Remove getpagesize syscall. We assume that the pagesize is always
6448 determined from the auxiliary vector.
6450 * intl/dcigettext.c: Fix a few warnings.
6451 Patch by Bruno Haible <haible@ilog.fr>.
6453 2001-01-08 Andreas Jaeger <aj@suse.de>
6455 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
6456 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
6458 2001-01-08 Ulrich Drepper <drepper@redhat.com>
6460 * sysdeps/generic/segfault.c (install_handler): Check output file
6463 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
6464 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
6466 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
6468 * malloc/memusage.c (me): Use access() to determine whether we
6469 should write the output file or not.
6471 * libio/bits/stdio.h (printf): Define macro to map printf call to
6472 fprintf which gcc can optimize.
6473 * stdio-common/printf.c: Undefine printf.
6475 2001-01-07 Ulrich Drepper <drepper@redhat.com>
6477 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
6478 patch. We must use unsigned int for l member of union.
6480 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
6481 _dl_aux_init for shared libraries.
6483 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
6484 * sysdeps/gnu/glob64.c: ...here. New file.
6486 2001-01-07 Ben Collins <bcollins@debian.org>
6488 * manual/examples/longopt.c: Make the "struct option" a little
6489 more like it should be, adding usage of required_argument,
6490 noargument and such, and also setting the options string right.
6492 * manual/sysinfo.texi (Load Average): New section, documents
6495 2001-01-06 Ulrich Drepper <drepper@redhat.com>
6497 * version.h (VERSION): Bump to 2.2.1.
6499 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
6500 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
6501 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
6502 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
6503 * Makefile (distribute): Add include/libc-internal.h.
6504 * libio/Makefile (distribute): Avoid overwriting.
6506 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
6507 buffer and table handling.
6509 2001-01-05 H.J. Lu <hjl@gnu.org>
6511 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
6512 vector checking to ...
6513 (_dl_aux_init): Here. New function. Defined only if
6514 HAVE_AUX_VECTOR is defined.
6516 * sysdeps/generic/libc-start.c (__libc_start_main): Call
6517 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
6519 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
6522 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
6523 (HAVE_AUX_VECTOR): Defined.
6524 (_dl_aux_init): Declared.
6526 2001-01-05 Ben Collins <bcollins@debian.org>
6528 * manual/string.texi (Finding Tokens in a String): Document XPG
6529 basename() and dirname(), as well as GNU basename().
6531 2001-01-05 Jakub Jelinek <jakub@redhat.com>
6533 * Makeconfig (preprocess-version): Replace -traditional with
6534 -x assembler-with-cpp.
6536 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
6538 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
6539 for GCC 2.97 or later.
6541 2001-01-05 Ben Collins <bcollins@debian.org>
6543 * manual/stdio.texi (getline): Clarify the return value in the
6544 case of EOF being reached before a newline.
6546 2001-01-04 Jakub Jelinek <jakub@redhat.com>
6548 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
6550 (pmap_set, pmap_unset): Check __get_myaddress return value.
6552 2001-01-05 Mark Kettenis <kettenis@gnu.org>
6554 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
6555 (struct ether_addr): Declare ether_addr_octet member as
6556 `u_int8_t'. Add __attribute__ ((__packed__)).
6558 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6560 * sysdeps/mach/hurd/readdir64.c: New file.
6561 * sysdeps/mach/hurd/readdir64_r.c: New file.
6563 2001-01-07 Mark Kettenis <kettenis@gnu.org>
6565 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
6566 `struct statfs' and `struct statvfs' being identical.
6567 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
6569 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6571 * sysdeps/mach/hurd/fstatfs64.c: New file.
6572 * sysdeps/mach/hurd/fstatvfs64.c: New file.
6573 * sysdeps/mach/hurd/statfs64.c: New file.
6574 * sysdeps/mach/hurd/statvfs64.c: New file.
6575 * sysdeps/mach/hurd/statfsconv.c: New file.
6576 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
6578 2001-01-06 Ulrich Drepper <drepper@redhat.com>
6580 * iconv/skeleton.c: Reset outbuf for next round of the loop.
6581 Reported by Owen Taylor <otaylor@redhat.com>.
6582 * iconv/Makefile (tests): Add tst-iconv3.
6583 * iconv/tst-iconv3.c: New file.
6585 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
6586 * iconvdata/ibm933.c: Likewise.
6587 * iconvdata/ibm935.c: Likewise.
6588 * iconvdata/ibm937.c: Likewise.
6589 * iconvdata/ibm939.c: Likewise.
6590 * iconvdata/ibm930.h: Adjust single byte table for optimization.
6591 * iconvdata/ibm933.h: Likewise.
6592 * iconvdata/ibm935.h: Likewise.
6593 * iconvdata/ibm939.h: Likewise.
6595 * iconvdata/testdata/IBM930: Add misssing SI.
6596 * iconvdata/testdata/IBM933: Likewise.
6597 * iconvdata/testdata/IBM935: Likewise.
6598 * iconvdata/testdata/IBM937: Likewise.
6599 * iconvdata/testdata/IBM939: Likewise.
6601 2001-01-06 Andreas Jaeger <aj@suse.de>
6603 * configure.in: Check for old add-ons that shouldn't be used with
6604 current glibc anymore.
6606 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6608 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
6609 instead of -1 on failure. Don't forget to copy file name into
6610 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
6613 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6615 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
6616 copy st_atime member.
6618 2001-01-05 Ulrich Drepper <drepper@redhat.com>
6620 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
6621 for searches from the root directory.
6622 Reported by loris <loris@iol.it> [PR libc/1991].
6623 * io/Makefile (tests): Add bug-ftw1.
6624 * io/bug-ftw1.c: New file.
6626 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
6627 if it is not available. Instead use it only if it is available.
6628 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
6630 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
6631 overflowing output buffer.
6632 (internal_ucs4_loop_unaligned): Likewise.
6633 (ucs4_internal_loop): Likewise.
6634 (ucs4_internal_loop_unaligned): Likewise.
6635 (internal_ucs4le_loop): Likewise.
6636 (internal_ucs4le_loop_unaligned): Likewise.
6637 (ucs4le_internal_loop): Likewise.
6638 (ucs4le_internal_loop_unaligned): Likewise.
6639 Reported by Owen Taylor <otaylor@redhat.com>.
6640 * iconv/Makefile (tests): Add tst-iconv2.
6641 * iconv/tst-iconv2.c: New file.
6643 2001-01-04 H.J. Lu <hjl@gnu.org>
6645 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
6646 (_dl_clktck): Declared.
6647 (non_dynamic_init): Take 3 arguments.
6648 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
6650 2001-01-01 Bruno Haible <haible@clisp.cons.org>
6652 Finish implementation of plural form handling.
6653 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
6654 'domainname'. Remove 'plindex' field. Add 'domain' and
6655 'translation_length' fields.
6656 (transcmp): Don't compare 'plindex' fields.
6657 (plural_lookup): New function.
6658 (DCIGETTEXT): Change cache handing in the plural case. Don't call
6659 plural_eval before the translation and its catalog file have been
6660 found. Remove plindex from cache key. Add 'translation_length' and
6661 'domain' to cache result.
6662 (_nl_find_msg): Remove index argument, return length of translation
6663 to the caller instead. Weaken comparison of string lengths, to account
6664 for plural entries. Call iconv() on the entire result string, not
6665 only on the portion needed so far.
6666 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
6668 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
6670 2001-01-04 Ulrich Drepper <drepper@redhat.com>
6672 * intl/plural.y (yylex): Minimal improvement in number scanner.
6674 2000-07-31 Bruno Haible <haible@clisp.cons.org>
6676 * intl/plural.y: Include config.h. Needed to define 'inline' away for
6677 C compilers that don't support it.
6678 (yylex): Don't use gcc specific case range syntax.
6679 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
6682 2000-10-12 Bruno Haible <haible@clisp.cons.org>
6684 * intl/finddomain.c: Remove unneeded includes.
6686 2000-10-12 Bruno Haible <haible@clisp.cons.org>
6688 * intl/localealias.c (memcpy): Return first argument, just like the
6689 real memcpy function does.
6690 * intl/bindtextdom.c (memcpy): Likewise.
6691 * intl/finddomain.c (memcpy): Likewise.
6692 * intl/l10nflist.c (memcpy): Likewise.
6693 * intl/textdomain.c (memcpy): Likewise.
6694 From Paul Eggert <eggert@twinsun.com>.
6696 2001-01-03 Jakub Jelinek <jakub@redhat.com>
6698 * resolv/resolv.h (struct __res_state): Add nsinit field.
6699 * resolv/res_send.c (res_nsend): Use it instead of nscount.
6700 * resolv/res_init.c (__res_vinit): Initialize it.
6701 (res_nclose): Clear it instead of nscount.
6703 2001-01-04 Ulrich Drepper <drepper@redhat.com>
6705 * malloc/mtrace.pl: Fix matching of addresses.
6706 Patch by Aharon Robbins <arnold@skeeve.com>.
6708 * Versions.def (ld): Add GLIBC_2.2.
6710 * catgets/gencat.c: Copyright 2001.
6711 * csu/version.c: Likewise.
6712 * debug/catchsegv.sh: Likewise.
6713 * debug/xtrace.sh: Likewise.
6714 * elf/ldconfig.c: Likewise.
6715 * elf/sprof.c: Likewise.
6716 * iconv/iconv_prog.c: Likewise.
6717 * locale/locale.c: Likewise.
6718 * locale/localedef.c: Likewise.
6719 * malloc/memusage.sh: Likewise.
6720 * malloc/mtrace.pl: Likewise.
6721 * nscd/nscd.c: Likewise.
6722 * posix/getconf.c: Likewise.
6724 2001-01-04 Mark Kettenis <kettenis@gnu.org>
6726 * include/stdio.h: Only provide __getwc_unlocked prototype if
6727 USE_IN_LIBIO is defined.
6729 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6731 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
6734 2001-01-03 Andreas Schwab <schwab@suse.de>
6736 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
6737 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
6739 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
6740 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
6742 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
6743 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
6746 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
6748 * sysdeps/generic/strtol_l.c: Likewise.
6749 * sysdeps/generic/strtoul_l.c: Likewise.
6750 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
6752 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
6753 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
6754 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
6755 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
6757 2001-01-04 Andreas Jaeger <aj@suse.de>
6759 * nss/nsswitch.c: Include files for missing prototypes, remove
6760 buggy declaration of prototypes.
6762 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6764 * resolv/Versions: Fix bracing.
6765 * sysdeps/powerpc/soft-fp/Versions: Likewise.
6766 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
6768 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6770 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
6772 2001-01-02 Ulrich Drepper <drepper@redhat.com>
6774 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
6775 Suggested by Minko Markov <mmarkov@home.com>.
6777 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6779 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
6780 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
6782 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
6784 2001-01-02 Ben Collins <bcollins@debian.org>
6786 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
6787 if TZ is not set and TZDEFAULT is not present.
6789 2001-01-01 Ben Collins <bcollins@debian.org>
6791 * string/strings.h: Make sure we declare our functions even if
6792 string.h is already included, based on whether or not __USE_BSD is
6795 2001-01-02 Ulrich Drepper <drepper@redhat.com>
6797 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
6798 other dlopen() and dlsym().
6799 Based on a patch by Ben Collins <bcollins@debian.org>.
6801 2001-01-02 Andreas Jaeger <aj@suse.de>
6803 * dlfcn/errmsg1.c (main): Call dlerror initially.
6804 Reported by Ben Collins <bcollins@debian.org>.
6806 2001-01-02 Ulrich Drepper <drepper@redhat.com>
6808 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
6809 value is ignored if the selected locale is the C locale.
6810 * intl/tst-gettext.c: Set locale for above change.
6811 * intl/tst-translit.c: Likewise.
6813 2001-01-02 Andreas Jaeger <aj@suse.de>
6815 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
6816 (_IO_switch_to_wget_mode): Likewise.
6817 (_IO_sputbackwc): Likewise.
6818 (_IO_sungetwc): Use wint_t for result.
6820 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
6822 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
6825 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
6826 to (int) to avoid warnings.
6827 * stdio-common/printf_fp.c (putc): Likewise.
6828 * stdio-common/printf_size.c (putc): Likewise.
6830 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
6833 2001-01-01 Andreas Jaeger <aj@suse.de>
6835 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
6837 2000-12-31 Andreas Jaeger <aj@suse.de>
6839 * include/libc-internal.h: Add prototype for __libc_freeres.
6841 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
6842 for prototypes, remove redundant prototypes.
6843 * gmon/gmon.c: Likewise.
6844 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
6845 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
6846 * malloc/mtrace.c: Likewise.
6848 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
6850 * elf/soinit.c: Likewise.
6851 * sysdeps/generic/prof-freq.c: Likewise.
6852 * sysdeps/mach/hurd/profil.c: Likewise.
6853 * debug/noophooks.c: Likewise.
6854 * debug/pcprofile.c: Likewise.
6855 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
6856 * sysdeps/generic/get_clockfreq.c: Likewise.
6857 * malloc/set-freeres.c: Likewise.
6859 * locale/localeinfo.h: Add internal prototypes.
6861 * elf/rtld.c (dl_main): Fix prototype.
6863 * iconvdata/tst-table-to.c (main): Use return instead of exit to
6866 * nis/rpcsvc/yp_prot.h: Remove __P.
6867 * nis/rpcsvc/ypupd.h: Likewise.
6868 * nis/rpcsvc/yp.h: Likewise.
6870 * sunrpc/rpc_main.c: Add noreturn attributes.
6871 * sunrpc/rpc_scan.h: Likewise.
6873 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
6875 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
6877 * sunrpc/proto.h: Add noreturn attributes to error and crash.
6879 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
6881 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
6883 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
6885 * include/rpc/rpc_msg.h: Add prototypes for some functions.
6886 * include/rpc/auth.h: Likewise.
6887 * include/rpc/auth_des.h: Likewise.
6888 * include/rpc/clnt.h: Likewise.
6889 * include/rpc/rpc.h: Likewise.
6890 * include/rpc/svc.h: Likewise.
6891 * include/rpc/svc_auth.h: Likewise.
6893 * include/rpc/des_crypt.h: New file.
6895 * malloc/memusagestat.c (main): Use return instead of exit to
6897 * io/pwd.c (main): Likewise.
6898 * iconvdata/tst-table-from.c (main): Likewise.
6899 * ctype/test_ctype.c (main): Likewise.
6900 * setjmp/tst-setjmp.c (main): Likewise.
6901 * signal/tst-signal.c (main): Likewise.
6902 * stdlib/tst-strtol.c (main): Likewise.
6903 * stdlib/tst-strtod.c (main): Likewise.
6904 * stdlib/tst-strtoll.c (main): Likewise.
6905 * stdlib/tst-xpg-basename.c (main): Likewise.
6906 * dirent/tst-seekdir.c (main): Likewise.
6907 * grp/testgrp.c (main): Likewise.
6908 * inet/test_ifindex.c (main): Likewise.
6909 * io/test-utime.c (main): Likewise.
6910 * posix/test-vfork.c (main): Likewise.
6911 * posix/testfnm.c (main): Likewise.
6912 * stdio-common/temptest.c (main): Likewise.
6913 * stdio-common/test_rdwr.c (main): Likewise.
6914 * stdio-common/tst-fileno.c (main): Likewise.
6915 * stdio-common/tst-sscanf.c (main): Likewise.
6916 * stdio-common/tstscanf.c (main): Likewise.
6917 * string/bug-strncat1.c (main): Likewise.
6918 * string/bug-strpbrk1.c (main): Likewise.
6919 * string/bug-strspn1.c (main): Likewise.
6920 * string/test-ffs.c (main): Likewise.
6921 * string/tst-inlcall.c (main): Likewise.
6922 * string/tst-svc.c (main): Likewise.
6923 * timezone/test-tz.c (main): Likewise.
6924 * wctype/test_wcfuncs.c (main): Likewise.
6925 * wctype/test_wctype.c (main): Likewise.
6927 * stdlib/tst-random.c: Add attribute noreturn to fail.
6929 2000-12-28 Wolfram Gloger <wg@malloc.de>
6931 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
6932 destination overlap. Assume dest is always below source if
6935 2000-12-30 Ulrich Drepper <drepper@redhat.com>
6937 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
6938 object was not yet initialized.
6940 2000-12-28 H.J. Lu <hjl@gnu.org>
6942 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
6943 is always consistent even if its dependency is failed.
6945 * elf/dl-open.c (_dl_open): Increment the open count before
6946 calling _dl_close () in case of failure.
6948 * elf/neededtest4.c: New file.
6949 * elf/neededobj5.c: New file.
6950 * elf/neededobj6.c: New file.
6952 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
6953 (tests): Add neededtest4.
6954 (modules-names): Add neededobj5 and neededobj6.
6955 ($(objpfx)neededobj6.so): New target.
6956 ($(objpfx)neededtest4): New target.
6957 ($(objpfx)neededtest4.out): New target.
6959 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
6961 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
6962 * stdlib/monetary.h: Add strfmon format attributes.
6964 2000-12-28 Roland McGrath <roland@frob.com>
6966 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
6967 __mempcpy does it for us.
6969 2000-12-28 Andreas Jaeger <aj@suse.de>
6971 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
6973 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
6976 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
6979 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
6982 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
6983 __chown_is_lchown and __real_chown.
6985 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
6988 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
6989 up GCC's warning about "deprecated use of label at end of compound
6991 * sunrpc/rpc_cout.c (emit_inline): Likewise.
6993 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
6995 Remove struct bb and __bb_head since those are declared by
6998 2000-12-22 Ben Collins <bcollins@debian.org>
7000 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
7002 * manual/argp.texi: Document argp_domain as part of struct argp.
7004 2000-12-28 Andreas Jaeger <aj@suse.de>
7006 * catgets/Makefile (generated): Add sample.SJIS.cat.
7008 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
7010 * elf/dl-minimal.c: Add prototypes.
7012 * include/locale.h: Add internal prototypes.
7013 * include/sys/gmon.h: Likewise.
7015 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
7017 2000-12-27 Ben Collins <bcollins@debian.org>
7019 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
7020 when reallocating the error strings.
7021 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
7023 2000-12-27 Ulrich Drepper <drepper@redhat.com>
7025 * dlfcn/Makefile (tests): Add errmsg1.
7026 (modules-names): Add errmsg1mod.
7027 Add rules to run errmsg1.
7028 * dlfcn/errmsg1.c: New file.
7029 * dlfcn/errmsg1mod.c: New file.
7031 * dlfcn/dlerror.c (dlerror): Always create output string which
7032 includes object file name.
7034 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
7035 if we would go through it only once.
7036 Patch by Rick Gorton <rick.gorton@api-networks.com>.
7038 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
7039 Patch by Richard Henderson <rth@redhat.com>.
7041 2000-12-27 Jakub Jelinek <jakub@redhat.com>
7043 * malloc/malloc.c (memmove): Add prototypes.
7044 (MALLOC_MEMMOVE): Define.
7045 (chunk_realloc): Use it instead of MALLOC_COPY if source and
7046 destination might overlap.
7048 2000-12-27 Andreas Jaeger <aj@suse.de>
7050 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
7052 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7053 * locale/programs/locale.c (show_locale_vars): Likewise.
7054 (show_info): Likewise.
7055 * locale/programs/ld-collate.c (collate_output): Likewise.
7056 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
7057 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7058 * stdlib/rpmatch.c (rpmatch): Likewise.
7060 * setjmp/tst-setjmp.c: Make local functions static.
7061 * setjmp/jmpbug.c: Likewise.
7062 * signal/tst-signal.c: Likewise.
7063 * stdio-common/tfformat.c: Likewise.
7064 * string/tst-svc.c: Likewise.
7065 * time/clocktest.c: Likewise.
7066 * time/tst-getdate.c: Likewise.
7067 * dirent/list.c: Likewise.
7068 * dirent/opendir-tst1.c: Likewise.
7069 * posix/runtests.c: Likewise.
7070 * posix/tst-getaddrinfo.c: Likewise.
7071 * posix/tst-chmod.c: Likewise.
7072 * posix/wordexp-test.c: Likewise.
7073 * misc/tst-efgcvt.c: Likewise.
7074 * timezone/tst-timezone.c: Likewise.
7075 * rt/tst-clock.c: Likewise.
7076 * rt/tst-shm.c: Likewise.
7077 * rt/tst-aio2.c: Likewise.
7078 * rt/tst-aio3.c: Likewise.
7079 * rt/tst-aio4.c: Likewise.
7080 * rt/tst-aio5.c: Likewise.
7082 * dlfcn/failtest.c: Add prototype for foo.
7084 * dlfcn/glrefmain.c: Add prototype for do_test.
7086 * dlfcn/tst-dladdr.c: Add prototype for do_test.
7088 * string/test-ffs.c (main): Add prototype for nested function.
7090 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
7092 * nss/XXX-lookup.c: Add prototype to shut up GCC.
7094 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
7095 setetherent prototype.
7096 Add internal interfaces.
7098 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
7099 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
7101 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
7103 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
7105 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
7106 prototypes, remove struct etherent since it's declared in ether.h.
7107 Fix ntohost declaration.
7109 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
7111 * include/getopt.h: Add internal interfaces.
7112 * include/termios.h: Likewise.
7113 * include/resolv.h: Likewise.
7114 * include/netdb.h: Likewise.
7115 * include/grp.h: Likewise.
7116 * include/pwd.h: Likewise.
7117 * include/shadow.h: Likewise.
7118 * include/rpc/netdb.h: Likewise.
7119 * include/setjmp.h: Likewise.
7121 * include/stdio.h: Add prototypes for compatibility functions.
7122 * include/grp.h: Likewise.
7123 * include/pwd.h: Likewise.
7124 * include/shadow.h: Likewise.
7126 * include/fenv.h: Define internal interfaces.
7128 2000-12-27 Ulrich Drepper <drepper@redhat.com>
7130 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
7131 argument case separately.
7132 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
7134 2000-12-27 Andreas Jaeger <aj@suse.de>
7136 * include/sys/wait.h: Add some prototypes.
7137 * Rules (dummy.c): Create also prototype to shut up GCC.
7139 2000-12-27 Andreas Jaeger <aj@suse.de>
7141 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
7142 it's not needed at the moment.
7143 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
7144 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
7146 2000-12-26 Andreas Jaeger <aj@suse.de>
7148 * libio/getc_u.c: Include stdio.h via system path to get internal
7150 * libio/getwc_u.c: Likewise.
7152 * stdlib/strfmon.c: Fix prototype of __printf_fp.
7154 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
7155 __printf_fp prototypes to ...
7156 * include/printf.h: ...here.
7158 * include/stdio.h: Add some internal prototypes to shut up GCC.
7159 * include/stdlib.h: Likewise.
7161 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
7164 * include/signal.h: Add prototypes for internal sigpause
7167 2000-12-26 Ulrich Drepper <drepper@redhat.com>
7169 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
7170 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
7172 * string/Makefile (tests): Add tst-bswap.
7173 * string/tst-bswap.c: New file.
7175 2000-12-11 Bruno Haible <haible@clisp.cons.org>
7177 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
7179 2000-12-26 Ulrich Drepper <drepper@redhat.com>
7181 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
7182 Patch by Ed Connell <Ed.Connell@sas.com>.
7184 2000-12-24 Ulrich Drepper <drepper@redhat.com>
7186 * locale/iso-639.def: Correct one entry. Add two missing entries.
7188 * locale/iso-4217.def: Change entry for Eritrea.
7189 Reported by Daniel Yacob <yacob@geez.org>.
7191 2000-12-23 Ben Collins <bcollins@debian.org>
7193 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
7196 * manual/stdio.texi (Dynamic Output): Document the return value of
7197 asprintf. Also make the asprintf/snprintf examples a little
7198 better (check for some error returns).
7200 2000-12-22 Andreas Jaeger <aj@suse.de>
7202 * include/stdio.h: Add __ftrylockfile prototype.
7204 2000-12-21 H.J. Lu <hjl@gnu.org>
7206 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
7207 Make sign_exponent element signed.
7209 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
7212 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
7214 2000-12-21 Andreas Jaeger <aj@suse.de>
7216 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
7217 * inet/ether_hton.c: Likewise
7218 * inet/ether_ntoh.c: Likewise.
7220 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
7221 declaration to match prototype.
7223 * include/netinet/ether.h (struct etherent): Declare here so that
7224 all implementations use the same struct.
7226 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
7228 (struct ether): Removed.
7229 Use struct etherent instead of ether everywhere.
7231 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
7233 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
7235 * sunrpc/publickey.c: Include auth_des.h for prototypes.
7237 2000-12-20 Ulrich Drepper <drepper@redhat.com>
7239 * math/test-misc.c: Add more tests for nextafter functions.
7241 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
7242 normal correctly. Correct test for sign.
7243 Based on a patch by HJ Lu.
7245 2000-12-19 Ulrich Drepper <drepper@redhat.com>
7247 * Makeconfig (preprocess-version): Add -traditional to gcc call.
7250 2000-12-19 Andreas Jaeger <aj@suse.de>
7252 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
7254 * nis/nis_intern.h: Add prototype for __do_niscall3.
7256 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
7259 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
7261 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7263 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
7265 2000-12-18 Ulrich Drepper <drepper@redhat.com>
7267 * math/test-misc.c: Add more tests for nextafter.
7268 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
7269 * sysdeps/ieee754/ldbl-96/math_ldbl.h
7270 (ieee_long_double_shape_type): Make sign_exponent element signed.
7272 * manual/message.texi: Add Estonian to plural overview list.
7273 Correct rule for Slavic languages.
7274 Patch by Stanislav Brabec <utx@penguin.cz>.
7276 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
7278 2000-12-18 Andreas Jaeger <aj@suse.de>
7280 * test-skeleton.c: Use temp_name_list instead of name_list to
7281 avoid collision with name_list from inet/netgroup.h.
7283 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
7285 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
7286 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
7287 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7288 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
7290 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
7291 declaration to match prototype.
7292 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
7293 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
7294 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
7296 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
7297 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
7298 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
7299 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
7300 (_nss_nis_getservbyport_r): Likewise.
7301 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
7302 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
7303 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
7304 (_nss_nis_setnetent): Likewise
7305 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7306 (_nss_nis_endnetgrent): Likewise.
7307 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
7309 (_nss_nisplus_setnetgrent): Likewise.
7310 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
7311 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
7312 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
7313 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
7315 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
7317 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
7319 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
7321 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
7322 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
7323 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
7324 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7325 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
7326 (_nss_dns_getnetbyaddr_r): Likewise.
7328 2000-12-17 Andreas Jaeger <aj@suse.de>
7330 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
7333 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
7334 unused attribute to shut up gcc warnings.
7336 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
7337 * sysdeps/generic/k_tanl.c: Likewise.
7338 * sysdeps/generic/k_cosl.c: Likewise.
7339 * sysdeps/generic/e_j0l.c: Likewise.
7340 * sysdeps/generic/e_j1l.c: Likewise.
7341 * sysdeps/generic/e_jnl.c: Likewise.
7342 * sysdeps/generic/e_lgammal_r.c: Likewise.
7344 * elf/vismain.c: Move prototypes for functions in vismod*.c to
7346 * elf/vismod.h: New file.
7347 * elf/Makefile (distribute): Add vismod.h.
7348 * elf/vismod1.c: Include vismod.h.
7349 * elf/vismod2.c: Likewise.
7350 * elf/vismod3.c: Likewise.
7352 * elf/constload3.c: Add prototype declarations to shut up gcc.
7353 * elf/failobj.c: Likewise.
7354 * elf/nodelmod3.c: Likewise.
7355 * elf/filtmod1.c: Likewise.
7356 * elf/filtmod2.c: Likewise.
7357 * elf/reldepmod1.c: Likewise.
7358 * elf/reldepmod2.c: Likewise.
7359 * elf/reldepmod3.c: Likewise.
7360 * elf/reldepmod4.c: Likewise.
7361 * elf/unload2dep.c: Likewise.
7362 * elf/unload2mod.c: Likewise.
7363 * elf/ltglobmod1.c: Likewise.
7364 * elf/pathoptobj.c: Likewise.
7365 * elf/neededobj1.c: Likewise.
7366 * elf/neededobj2.c: Likewise.
7367 * elf/neededobj3.c: Likewise.
7368 * elf/neededobj4.c: Likewise.
7369 * elf/nextmod1.c: Likewise.
7370 * elf/nextmod2.c: Likewise.
7372 * locale/programs/ld-collate.c (collate_finish): Don't use labels
7373 at end of compound statement.
7374 * locale/programs/locale.c (show_info): Likewise.
7375 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7377 2000-12-16 Jakub Jelinek <jakub@redhat.com>
7379 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
7380 with a pointer not returned by obstack_ functions.
7382 2000-12-16 Ulrich Drepper <drepper@redhat.com>
7384 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
7386 (struct stat64): Likewise.
7387 Reported by Michael Keezer <mkeezer@redhat.com>.
7389 * timezone/asia: Update from tzdata2000h.
7390 * timezone/australasia: Likewise.
7391 * timezone/backward: Likewise.
7392 * timezone/europe: Likewise.
7393 * timezone/northamerica: Likewise.
7394 * timezone/southamerica: Likewise.
7395 * timezone/zone.tab: Likewise.
7397 2000-12-14 Jakub Jelinek <jakub@redhat.com>
7399 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
7400 and dir.stream is NULL, only free dir.content.
7401 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
7402 * io/ftwtest-sh: Test with --early-exit.
7404 2000-12-13 Jakub Jelinek <jakub@redhat.com>
7406 * misc/efgcvt.c (FCVT_MAXDIG): Define.
7407 (FCVT_BUFPTR): New variable.
7408 (fcvt): If fcvt_r returns -1 on the static short buffer,
7409 try to malloc a sufficiently large one and retry.
7410 (free_mem): New function.
7411 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
7412 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
7414 2000-12-15 Ulrich Drepper <drepper@redhat.com>
7416 * misc/dirname.c (dirname): Fix search for second to last slash.
7418 2000-12-13 Andreas Jaeger <aj@suse.de>
7420 * misc/tst-dirname.c (main): Fix typo in test to really use
7421 the examples from Unix98.
7422 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
7424 2000-12-09 H.J. Lu <hjl@gnu.org>
7426 * sysdeps/ia64/fpu/s_fabs.S: New file.
7427 * sysdeps/ia64/fpu/s_fabsf.S: New file.
7428 * sysdeps/ia64/fpu/s_fabsl.S: New file.
7430 2000-12-15 Andreas Jaeger <aj@suse.de>
7432 * stdio-common/scanf9.c (main): Reformat and change to avoid
7435 * stdio-common/tstdiomisc.c: Make local functions static.
7436 * stdio-common/tst-printf.c: Likewise.
7438 * elf/constload2.c: Add prototype declarations to shut up gcc.
7439 * elf/dep1.c: Likewise.
7440 * elf/dep2.c: Likewise.
7441 * elf/dep3.c: Likewise.
7442 * elf/dep4.c: Likewise.
7443 * elf/ltglobmod2.c: Likewise.
7445 * libio/fmemopen.c: Make local functions static.
7447 * elf/Makefile (distribute): Added testobj.h.
7449 * elf/testobj.h: New file.
7451 * elf/testobj1.c: Include testobj.h and move prototype
7452 declarations to testobj.h.
7453 * elf/testobj2.c: Likewise.
7454 * elf/testobj3.c: Likewise.
7455 * elf/testobj4.c: Likewise.
7456 * elf/testobj5.c: Likewise.
7457 * elf/testobj6.c: Likewise.
7458 * elf/testobj1_1.c: Likewise.
7459 * elf/preloadtest.c: Likewise.
7461 2000-12-15 Ben Collins <bcollins@debian.org>
7463 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
7464 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
7466 2000-12-14 H.J. Lu <hjl@gnu.org>
7468 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
7469 field in a float is 8 bits, not 11 bits.
7471 2000-12-13 Jakub Jelinek <jakub@redhat.com>
7473 * math/test-misc.c (main): Adjust m for IEEE quad long double.
7475 2000-12-13 Andreas Jaeger <aj@suse.de>
7477 * manual/message.texi (Using gettextized software): Fix typo.
7479 * manual/charset.texi (Converting a Character): Fix mbstouwcs
7481 Patch by Martin Buchholz <martin@xemacs.org>.
7483 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
7484 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
7486 2000-12-11 Andreas Jaeger <aj@suse.de>
7488 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
7489 kernel_sigset_t and use it.
7490 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
7492 2000-12-10 Richard Henderson <rth@redhat.com>
7494 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
7495 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
7496 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
7498 2000-12-10 Jakub Jelinek <jakub@redhat.com>
7500 * sysdeps/alpha/htonl.S: Fix a typo.
7502 2000-12-10 Jakub Jelinek <jakub@redhat.com>
7504 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
7506 2000-12-10 Andreas Jaeger <aj@suse.de>
7508 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
7509 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
7510 Drepper <drepper@redhat.com>.
7512 2000-12-09 Andreas Jaeger <aj@suse.de>
7514 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
7516 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
7518 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
7520 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
7523 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
7526 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
7527 * nscd/connections.c (handle_request): Likewise.
7528 * nscd/pwdcache.c (addpwbyname): Likewise.
7529 * nscd/grpcache.c (addgrbyname): Likewise.
7531 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
7533 2000-12-09 Ulrich Drepper <drepper@redhat.com>
7535 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
7537 * Makeconfig (default_cflags): Make -O2 the default for stable
7540 2000-12-08 H.J. Lu <hjl@gnu.org>
7542 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
7543 * sysdeps/ia64/fpu/s_isinf.S: This.
7544 Add a .pred.rel.mutex note to avoid false report.
7546 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
7547 * sysdeps/ia64/fpu/s_isnan.S: This.
7549 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
7550 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
7551 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
7552 * sysdeps/ia64/fpu/s_isinff.S: New file.
7553 * sysdeps/ia64/fpu/s_isinfl.S: New file.
7554 * sysdeps/ia64/fpu/s_isnanf.S: New file.
7555 * sysdeps/ia64/fpu/s_isnanl.S: New file.
7556 * sysdeps/ia64/fpu/s_finite.S: New file.
7557 * sysdeps/ia64/fpu/s_finitef.S: New file.
7558 * sysdeps/ia64/fpu/s_finitel.S: New file.
7559 * sysdeps/ia64/fpu/s_signbit.S: New file.
7560 * sysdeps/ia64/fpu/s_signbitf.S: New file.
7561 * sysdeps/ia64/fpu/s_signbitl.S: New file.
7562 * sysdeps/ia64/fpu/s_copysign.S: New file.
7563 * sysdeps/ia64/fpu/s_copysignf.S: New file.
7564 * sysdeps/ia64/fpu/s_copysignl.S: New file.
7566 2000-12-08 Ulrich Drepper <drepper@redhat.com>
7568 * math/libm-test.inc (main): Fix typos in messages.
7570 * string/stratcliff.c: Add test for rawmemchr.
7572 2000-12-08 Jakub Jelinek <jakub@redhat.com>
7574 * elf/dl-open.c (_dl_open): If objname points right after errstring,
7575 allocate it together with errstring using alloca.
7576 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
7577 to "", because it might point to local stack.
7579 2000-12-05 H.J. Lu <hjl@gnu.org>
7581 * nss/Makefile (routines): Add getnssent and getnssent_r.
7582 * nss/nsswitch.h (__nss_setent): New internal NSS function.
7583 (__nss_endent): Likewise.
7584 (__nss_getent_r): Likewise.
7585 (__nss_getent): Likewise.
7586 * nss/getnssent_r.c: New file.
7587 * nss/getnssent.c: New file.
7588 * nss/getXXent.c (H_ERRNO_VAR): Updated.
7589 (GETFUNC_NAME): Updated to call __nss_getent ().
7590 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
7591 (STAYOPEN_TMPVAR): Updated.
7592 (STAYOPEN_VAR): Updated.
7593 (SETFUNC_NAME): Updated to call __nss_setent ().
7594 (ENDFUNC_NAME): Updated to call __nss_endent ().
7595 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
7597 2000-12-08 Andreas Jaeger <aj@suse.de>
7599 * nscd/dbg_log.h (dbg_log): Correct attribute.
7601 2000-12-08 Jakub Jelinek <jakub@redhat.com>
7603 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
7604 cp + len. Compute where from dirname.
7605 Reported by <jreiser@BitWagon.com>.
7607 2000-12-08 Richard Henderson <rth@twiddle.net>
7609 * sysdeps/alpha/_mcount.S: Fix typo.
7610 * sysdeps/alpha/strncpy.S: Likewise.
7612 * sysdeps/alpha/alphaev6/Implies: New file.
7613 * sysdeps/alpha/alphaev67/Implies: New file.
7614 * sysdeps/alpha/alphaev67/ffs.S: New file.
7615 * sysdeps/alpha/alphaev67/ffsll.S: New file.
7616 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
7617 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
7618 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
7619 * sysdeps/alpha/rawmemchr.S: New file.
7620 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
7621 * sysdeps/alpha/strcpy.S: Likewise.
7624 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
7626 From rick.gorton@alpha-processor.com:
7627 * sysdeps/alpha/alphaev6/memchr.S: New file.
7628 * sysdeps/alpha/alphaev6/memcpy.S: New file.
7629 * sysdeps/alpha/alphaev6/memset.S: New file.
7630 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
7631 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
7632 * sysdeps/alpha/alphaev67/strcat.S: New file.
7633 * sysdeps/alpha/alphaev67/strchr.S: New file.
7634 * sysdeps/alpha/alphaev67/strlen.S: New file.
7635 * sysdeps/alpha/alphaev67/strncat.S: New file.
7636 * sysdeps/alpha/htonl.S: Use a shorter sequence.
7638 2000-12-08 Jakub Jelinek <jakub@redhat.com>
7640 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
7641 Reported by <pspencer@fields.utoronto.ca>.
7643 2000-12-07 Jes Sorensen <jes@linuxcare.com>
7645 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
7646 Pointed out by Hans Boehm.
7648 2000-12-07 H.J. Lu <hjl@gnu.org>
7650 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
7652 2000-12-07 Andreas Jaeger <aj@suse.de>
7654 * misc/error.c: Add format attributes for __error and __error_at_line.
7656 * nscd/dbg_log.h: Add format attribute.
7658 2000-12-08 Ulrich Drepper <drepper@redhat.com>
7660 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
7661 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
7663 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
7665 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
7667 2000-12-06 Ulrich Drepper <drepper@redhat.com>
7669 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7670 (sysdep_routines): Add uitrunc.
7671 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
7672 Patches by Michael Keezer <mkeezer@redhat.com>.
7674 2000-12-06 Roland McGrath <roland@frob.com>
7676 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
7677 argument data, since it will be used to copy out too (for INOUT).
7678 Reported by Marcus Brinkmann <marcus@gnu.org>.
7680 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
7681 (__ioctl): Use uintptr_t instead of unsigned long int.
7683 2000-12-06 Jim Wilson <wilson@redhat.com>
7685 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
7687 2000-12-06 Ulrich Drepper <drepper@redhat.com>
7689 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
7690 x.5 rounding correctly.
7692 2000-12-06 Mark Kettenis <kettenis@gnu.org>
7694 * stdio-common/perror.c (perror): Conditionalize code dealing with
7695 wide-oriented streams on USE_IN_LIBIO.
7697 2000-12-06 Mark Kettenis <kettenis@gnu.org>
7699 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
7700 as internal_function.
7702 2000-12-05 Ulrich Drepper <drepper@redhat.com>
7704 * sysdeps/alpha/elf/start.S (__data_start): Define.
7706 2000-12-05 H.J. Lu <hjl@gnu.org>
7708 * nss/getXXent_r.c (setup): Change the return type to int.
7710 2000-12-05 Ulrich Drepper <drepper@redhat.com>
7712 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7713 (sysdep_routines): Add restf and savef.
7714 * sysdeps/unix/sysv/aix/restf.c: New file.
7715 * sysdeps/unix/sysv/aix/savef.c: New file.
7716 Patches by Michael Keezer <mkeezer@redhat.com>.
7718 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
7719 if O_DIRECTORY is not defined.
7720 Patch by Michael Keezer <mkeezer@redhat.com>.
7722 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
7723 Patch by Michael Keezer <mkeezer@redhat.com>.
7725 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
7726 than 4 bytes in escape sequence.
7727 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7729 2000-12-05 Andreas Jaeger <aj@suse.de>
7731 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
7734 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
7736 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
7738 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
7739 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7741 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
7743 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
7744 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
7746 * sysdeps/generic/dl-cache.c: Remove declaration of
7747 _dl_sysdep_read_whole_file.
7749 * elf/dl-load.c (_dl_map_object): Remove declaration of
7750 _dl_load_cache_lookup.
7752 * sysdeps/generic/ldsodefs.h: Add declarations of
7753 _dl_load_cache_lookup, _dl_unload_cache,
7754 _dl_sysdep_read_whole_file, _dl_sysdep_start and
7755 _dl_sysdep_start_cleanup.
7757 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
7760 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
7761 * sysdeps/generic/dl-environ.c: Likewise.
7763 * stdio-common/printf_fp.c: Include <gmp.h> instead of
7765 * math/atest-exp.c: Likewise.
7766 * math/atest-exp2.c: Likewise.
7767 * math/atest-sincos.c: Likewise.
7768 * stdio-common/_itoa.c: Likewise.
7769 * stdio-common/_itowa.c: Likewise.
7771 * include/gmp.h: New file with internal prototypes.
7773 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
7775 * include/setjmp.h: ...here.
7777 * locale/Makefile (routines): Remove codeset_name since it's not
7780 * locale/codeset_name.c: Removed.
7782 2000-12-05 Ulrich Drepper <drepper@redhat.com>
7784 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
7786 2000-12-05 Andreas Jaeger <aj@suse.de>
7788 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
7790 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
7792 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
7795 2000-12-05 Andreas Jaeger <aj@suse.de>
7797 * nss/test-netdb.c: Mark local functions as static to avoid
7799 (main): Use return to silence warning.
7801 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
7803 * stdio-common/test-popen.c: Mark local functions as static to
7805 (main): Use return to silence warning.
7807 * stdlib/testsort.c (compare): Mark as static to avoid warning.
7809 * assert/test-assert.c: Mark local functions as static to avoid
7811 * assert/test-assert-perr.c: Likewise.
7813 * math/libm-test.inc (main): Use return to silence warnings.
7815 2000-12-04 Ulrich Drepper <drepper@redhat.com>
7817 * math/fenv.h: Fix typo in comment.
7819 * math/test-misc.c (main): Add a few more over and underflow tests
7822 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
7823 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7824 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7825 * math/w_scalb.c: Don't use matherr except in SVID mode.
7826 * math/w_scalbf.c: Likewise.
7827 * math/w_scalbl.c: Likewise.
7828 * math/test-misc.c: Add test for NaN and scalbl.
7829 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7831 2000-12-04 Ulrich Drepper <drepper@redhat.com>
7833 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
7834 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
7835 * include/libc-symbols.h (strong_alias): Define special version
7836 for HAVE_ASM_GLOBAL_DOT_NAME.
7837 (weak_alias): Likewise.
7838 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
7839 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
7840 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
7841 getutxline, pututxline, and utmpxname.
7842 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
7843 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
7844 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
7845 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
7846 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
7847 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
7848 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
7849 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
7850 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
7851 Patches by Michael Keezer <mkeezer@redhat.com>.
7853 2000-12-04 H.J. Lu <hjl@gnu.org>
7855 * configure.in: Change --with-oldest-abi=ABI to
7856 --enable-oldest-abi=ABI.
7858 2000-12-02 Bruno Haible <haible@clisp.cons.org>
7860 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
7861 fwprintf instead of fprintf.
7863 2000-12-04 Ulrich Drepper <drepper@redhat.com>
7865 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
7866 DECIMAL_DIG definitions.
7867 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
7868 * sysdeps/generic/bits/mathdef.h: Likewise
7869 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
7870 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
7871 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
7872 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
7873 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
7874 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
7876 2000-12-03 Ulrich Drepper <drepper@redhat.com>
7878 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
7880 * math/atest-exp.c: Mark local functions as static to avoid warnings.
7881 * math/atest-exp2.c: Likewise.
7882 * math/atest-sincos.c: Likewise.
7884 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
7885 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7887 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
7888 the handling of denormalized numbers.
7890 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
7892 * sysdeps/i386/fpu/fpclassifyl.c: New file.
7894 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
7895 pseudo denormal representation of LDBL_MIN.
7897 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
7898 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
7900 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
7901 * iconvdata/jis0208.c: Likewise.
7902 * iconvdata/jis0212.c: Likewise.
7903 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7905 * math/test-misc.c (main): More tests for frexp and some for
7906 fpclassify and isnormal.
7908 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
7910 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7912 * math/test-misc.c (main): Add tests for frexp.
7913 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7914 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
7916 2000-12-02 H.J. Lu <hjl@gnu.org>
7918 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
7921 2000-12-02 Ulrich Drepper <drepper@redhat.com>
7923 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
7924 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7925 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7927 * sysdeps/generic/glob.c: Adjust types of several variables to
7930 2000-12-01 Ulrich Drepper <drepper@redhat.com>
7932 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
7934 2000-11-30 Roland McGrath <roland@frob.com>
7936 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
7937 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
7938 allow multiple instances using the same function name in one file.
7940 2000-12-01 Ulrich Drepper <drepper@redhat.com>
7942 * configure.in: Correct test for pserver CVS access.
7944 2000-11-28 H.J. Lu <hjl@gnu.org>
7946 * libio/libio.h: Remove extra "#if ... #endif".
7948 2000-11-29 H.J. Lu <hjl@gnu.org>
7950 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
7952 2000-12-01 H.J. Lu <hjl@gnu.org>
7954 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
7955 * nss/getXXent_r.c: Likewise.
7956 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7958 2000-11-30 H.J. Lu <hjl@gnu.org>
7960 * scripts/abi-versions.awk (oldest_abi): New variable.
7961 Handle the oldest ABI supported.
7963 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
7964 for scripts/abi-versions.awk.
7966 * configure.in: Add --with-oldest-abi=ABI.
7967 * configure: Rebuild.
7969 * config.make.in (oldest-abi): New.
7971 * config.h.in (GLIBC_OLDEST_ABI): New.
7973 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
7975 2000-11-30 Jakub Jelinek <jakub@redhat.com>
7977 * locale/setlocale.c (setname): Free for all categories, not just
7979 (setlocale): Store a copy of string passed by user, not the string
7982 2000-11-30 Roland McGrath <roland@frob.com>
7984 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
7985 rather than _hurd_fd_subinit, so it happens after it's safe to use
7986 libc facilities like malloc.
7988 2000-11-28 Andreas Jaeger <aj@suse.de>
7990 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
7991 declaration, adjust declaration of __syscall_getdents to match
7994 2000-11-29 H.J. Lu <hjl@gnu.org>
7996 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
7998 2000-11-29 Andreas Jaeger <aj@suse.de>
8000 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
8002 2000-11-28 Ulrich Drepper <drepper@redhat.com>
8004 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
8005 * dlfcn/defaultmod2.c: Likewise.
8006 * dlfcn/dlopen.c: Likewise.
8007 * dlfcn/dlopenold.c: Likewise.
8008 * dlfcn/failtestmod.c: Likewise.
8009 * dlfcn/glreflib1.c: Likewise.
8010 * dlfcn/glreflib2.c: Likewise.
8011 * dlfcn/eval.c: Likewise. Add attributes.
8013 * ctype/ctype-extn.c: Define isblank and not __isblank.
8015 * time/strftime.c: Add const where necessary to avoid warnings.
8016 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
8018 2000-11-22 Paul Eggert <eggert@twinsun.com>
8020 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
8021 size of (size_t) -1; it's not portable.
8023 2000-11-28 Ulrich Drepper <drepper@redhat.com>
8025 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
8027 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8029 2000-11-14 Jes Sorensen <jes@linuxcare.com>
8031 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
8033 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
8034 _mcount is required by profiled binaries.
8036 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
8037 * sysdeps/ia64/machine-gmon.h: ...here.
8039 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
8041 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
8042 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
8044 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
8046 * iconvdata/ibm922.c: New file.
8047 * iconvdata/ibm922.h: New file.
8048 * iconvdata/ibm1124.c: New file.
8049 * iconvdata/ibm1124.h: New file.
8050 * iconvdata/ibm1129.c: New file.
8051 * iconvdata/ibm1129.h: New file.
8052 * iconvdata/testdata/IBM922: New file.
8053 * iconvdata/testdata/IBM922..UTF8: New file.
8054 * iconvdata/testdata/IBM1124: New file.
8055 * iconvdata/testdata/IBM1124..UTF8: New file.
8056 * iconvdata/testdata/IBM1129: New file.
8057 * iconvdata/testdata/IBM1129..UTF8: New file.
8059 2000-11-28 Ulrich Drepper <drepper@redhat.com>
8061 * catgets/gencat.c (normalize_line): Take extra parameter with escape
8062 character. Change callers.
8063 (open_conversion): Determine mapping of 0x5c as wchar_t value.
8064 * catgets/Makefile: Add rules to build and run test-gencat.
8065 * catgets/sample.SJIS: New file.
8066 * catgets/test-gencat.c: New file.
8067 * catgets/test-gencat.sh: New file.
8068 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8070 2000-11-28 Andreas Jaeger <aj@suse.de>
8072 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
8075 2000-11-28 Ulrich Drepper <drepper@redhat.com>
8077 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
8079 2000-11-28 Andreas Jaeger <aj@suse.de>
8081 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
8083 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
8086 2000-11-27 Ulrich Drepper <drepper@redhat.com>
8088 * misc/getusershell.c: Make strings in okshells array const.
8089 * misc/regexp.c: Add const to cast to avoid warnings.
8090 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
8091 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
8093 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
8095 * misc/error.c: Add prototypes for __error and __error_at_line.
8096 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
8097 statement to avoid warning.
8098 * test-skeleton.c: Mark timeout_handler with noreturn.
8099 * iconv/skeleton.c (get16u): Add const to cast.
8101 * iconvdata/gb18030.c: Likewise.
8102 * iconvdata/iso-2022-cn-ext.c: Likewise.
8103 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
8104 * iconvdata/big5.c: Likewise.
8105 * iconvdata/big5hkscs.c: Likewise.
8106 * iconvdata/iso_6937.c: Likewise.
8107 * iconvdata/iso_6937-2.c: Likewise.
8108 * iconvdata/t.61.c: Likewise.
8109 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
8110 * iconvdata/unicode.c: Likewise.
8111 * iconvdata/utf-16.c: Likewise.
8112 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
8113 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
8114 with little code shuffling.
8116 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
8117 the problems introduced when the user selects -O3.
8119 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
8120 * misc/sys/cdefs.h: Define __flexarr.
8121 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
8123 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
8124 * iconv/skeleton.c: Likewise.
8125 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
8126 * iconv/loop.c (get16): Add const to cast.
8129 2000-11-27 Andreas Jaeger <aj@suse.de>
8131 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
8133 * login/programs/utmpdump.c (print_entry): Likewise.
8135 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
8137 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
8138 in a single asm as they may be used to access other stored
8140 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8142 2000-11-27 Andreas Jaeger <aj@suse.de>
8144 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
8145 * rt/tst-aio64.c: Likewise.
8147 2000-11-27 Ulrich Drepper <drepper@redhat.com>
8149 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
8151 (libc.cat): Likewise.
8152 * catgets/gencat.c: Implement handling of message catalogs encoded
8153 with stateful character sets.
8154 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8156 2000-11-26 Ulrich Drepper <drepper@redhat.com>
8158 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
8160 * inet/getnameinfo.c: Adjust casts to avoid warnings.
8161 * inet/rcmd.c: Likewise.
8162 * inet/ruserpass.c: Likewise.
8163 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
8164 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8165 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
8166 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
8167 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
8168 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
8169 * include/aliases.h: Add prototypes for internal __getalias* functions.
8170 * include/netdb.h: Add prototypes for __old_gethostent_r,
8171 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
8172 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
8173 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
8174 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
8175 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
8176 __old_getrpcbynumber_r, __old_getrpcent_r.
8178 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
8179 __getrpcent_r prototypes.
8181 2000-11-25 Ulrich Drepper <drepper@redhat.com>
8183 * string/strcoll.c: Add casts to avoid warnings.
8184 * string/strnlen.c: Likewise.
8185 * string/strxfrm.c: Likewise.
8186 * sysdeps/generic/_strerror.c: Likewise.
8187 * sysdeps/generic/memrchr.c: Likewise.
8188 * sysdeps/generic/strcasestr.c: Likewise.
8189 * sysdeps/generic/strstr.c: Likewise.
8191 * locale/weight.h (findidx): Add const to cast to avoid warning.
8193 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
8194 * elf/loadtest.c: Likewise.
8195 * elf/multiload.c: Likewise.
8196 * elf/next.c: Likewise.
8197 * elf/nodelete.c: Likewise.
8198 * elf/noload.c: Likewise.
8199 * elf/order.c: Likewise.
8200 * elf/origtest.c: Likewise.
8201 * elf/preloadtest.c: Likewise.
8202 * elf/restest1.c: Likewise.
8204 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
8205 parameter of asm must be in %ecx.
8207 * string/tester.c: Mark test functions as static to avoid warnings.
8209 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
8210 preserve value over different gconv-modules files.
8212 2000-11-24 Ulrich Drepper <drepper@redhat.com>
8214 * locale/findlocale.c: Add casts to avoid warnings.
8215 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
8216 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
8218 * misc/tsearch.c (const_node): New type.
8219 (trecurse): Correct casts to avoid warnings.
8220 (__twalk): Likewise.
8221 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
8224 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
8226 * test-skeleton.c: Mark local functions as static to avoid warnings.
8228 2000-11-23 H.J. Lu <hjl@gnu.org>
8230 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
8231 support the background job.
8234 2000-11-24 Ulrich Drepper <drepper@redhat.com>
8236 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
8237 has same names but lower cost.
8239 2000-11-23 Jakub Jelinek <jakub@redhat.com>
8241 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
8242 which never occur during bootstrap.
8243 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8245 2000-11-23 Andreas Jaeger <aj@suse.de>
8247 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
8249 * nss/Versions: Remove _nss_files_getipnodebyname_r.
8251 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
8253 2000-11-18 Martin Buchholz <martin@xemacs.org>
8255 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
8258 2000-11-21 Alan Modra <alan@linuxcare.com.au>
8260 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
8262 * csu/abi-note.S: Correct comment for operating system number.
8264 2000-11-22 Ulrich Drepper <drepper@redhat.com>
8266 * Versions.def: Add GLIBC_2.2.1 for glibc.
8268 2000-11-22 Andreas Schwab <schwab@suse.de>
8270 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
8271 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
8273 2000-11-22 Ulrich Drepper <drepper@redhat.com>
8275 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
8276 absolute time for pthread_cond_timedwait call.
8277 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
8279 * rt/Makefile (tests): Add tst-aio6.
8280 * rt/tst-aio6.c: New file.
8282 2000-11-23 Andreas Jaeger <aj@suse.de>
8284 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
8286 2000-11-22 Andreas Jaeger <aj@suse.de>
8288 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
8290 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
8292 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
8294 2000-11-21 Andreas Schwab <schwab@suse.de>
8296 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
8297 * sysdeps/arm/setjmp.S: Likewise.
8298 * sysdeps/arm/fpu/setjmp.S: Likewise.
8299 * sysdeps/i386/setjmp.S: Likewise.
8300 * sysdeps/i386/elf/setjmp.S: Likewise.
8301 * sysdeps/s390/setjmp.S: Likewise.
8302 * sysdeps/s390/elf/setjmp.S: Likewise.
8303 * sysdeps/sh/sh3/setjmp.S: Likewise.
8304 * sysdeps/sh/sh4/setjmp.S: Likewise.
8305 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8306 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8307 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
8308 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
8310 2000-11-21 Andreas Jaeger <aj@suse.de>
8312 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
8313 NORETURN, fix parameter list.
8315 * string/bug-strncat1.c (main): Fix typo.
8316 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
8318 2000-11-20 Ulrich Drepper <drepper@redhat.com>
8320 * configure.in: Add --enable-all-warnings.
8321 * config.make.in (all-warnings): New variable.
8322 * Makeconfig (+gccwarn): Define with many more warnings if
8323 all-warnings is yes.
8325 2000-11-20 Jakub Jelinek <jakub@redhat.com>
8327 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
8328 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
8329 * malloc/tst-valloc.c (main): Cast valloc return value to long.
8330 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
8331 * math/test-fpucw.c (main): Use %lx in format string, cast
8332 control words to long.
8333 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
8334 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
8335 large that it is unsigned warning.
8337 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
8338 it to long on sparc64.
8340 2000-11-20 Andreas Jaeger <aj@suse.de>
8342 * nscd/nscd.h (termination_handler): Add noreturn attribute.
8343 (receiv_print_stats): Likewise.
8345 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
8347 2000-11-20 Ulrich Drepper <drepper@redhat.com>
8349 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
8351 * csu/gmon-start.c: Always have prototype for __gmon_start.
8352 * csu/version.c: Add prototypes for __libc_print_version and
8354 * iconv/gconv.c: Include gconv_int.h and gconv.h.
8355 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
8357 * iconv/gconv_builtin.h: Add ASCII module definitions.
8358 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
8359 (add_module): Add cast to avoid warning. Rework construction of
8360 strings for new module.
8361 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
8362 (derivation_compare): Likewise.
8363 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
8364 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
8365 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
8366 (struct gconv_alias): Remove const from fromname and toname.
8367 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
8369 (internal_ucs4_loop): Use correct const-ness.
8370 (ucs4_internal_loop): Likewise.
8371 (internal_ucs4le_loop): Likewise.
8372 (ucs4le_internal_loop_single): Likewise.
8373 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
8374 to_idx, to_tbl, winbuf, winbufend const. Change casts in
8375 assignments appropriately.
8376 (struct known_trans): Remove const from fname.
8377 (trans_compare): Make s1 and s2 const.
8378 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
8380 * iconv/skeleton.c: Remove cast in calls of loop functions.
8381 * iconvdata/gconv-modules: Remove US-ASCII definitions.
8382 * iconvdata/iso646.c: Remove US_ASCII support.
8383 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
8384 * include/unistd.h: Add __libc_check_standard_fds prototype.
8385 * string/bits/string2.h (__mempcpy_args): Add const to casts.
8386 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
8388 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
8389 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
8390 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
8392 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
8393 __libc_init_first and _dl_start.
8394 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
8395 (DCIGETTEXT): Make domaindata variable const.
8396 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
8399 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
8401 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
8403 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
8404 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
8407 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
8408 value defined in /usr/include/asm-mips/fcntl.h.
8410 2000-11-18 Ulrich Drepper <drepper@redhat.com>
8412 * stdio-common/Makefile (tests): Add test-vfprintf.
8413 (test-vfprintf-ENV): New variable.
8414 * stdio-common/test-vfprintf.c: New file.
8416 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
8418 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
8419 (tst-mbrtowc-ENV): New variable.
8420 (tst-wcrtomb-ENV): New variable.
8421 * wcsmbs/tst-mbrtowc.c: New file.
8422 * wcsmbs/tst-wcrtomb.c: New file.
8424 2000-11-16 Andreas Jaeger <aj@suse.de>
8426 * manual/install.texi (Tools for Compilation): Update
8427 documentation for GCC 2.95.2.
8429 2000-11-18 Ulrich Drepper <drepper@redhat.com>
8431 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
8432 if IPv4 and IPv6 requests timed out.
8434 2000-11-18 Akim Demaille <akim@epita.fr>
8436 * malloc/obstack.h: Formatting changes.
8437 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
8438 prevents type checking.
8439 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
8440 cast the value to (void *): assigning a `foo *' to a `void *'
8442 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
8444 2000-11-17 Ulrich Drepper <drepper@redhat.com>
8446 * scripts/config.guess: Update from upstream maintainer.
8447 * scripts/config.sub: Likewise.
8449 2000-11-16 Ulrich Drepper <drepper@redhat.com>
8451 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
8452 * libio/freopen64.c (freopen64): Likewise.
8453 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8455 * libio/Makefile: Add rules to build and run test-freopen.
8456 * libio/test-freopen.c: New file.
8457 * libio/test-freopen.sh: New file.
8459 2000-11-15 H.J. Lu <hjl@gnu.org>
8461 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
8462 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
8463 (DL_DT_FINI_ADDRESS): Likewise.
8465 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
8466 return type to ElfW(Addr).
8467 (_dl_function_address): New prototype.
8468 (DL_FUNCTION_ADDRESS): Defined.
8469 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
8470 (DL_DT_FINI_ADDRESS): Likewise.
8472 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
8474 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
8475 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
8477 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
8478 (_dl_function_address): This.
8480 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
8481 function pointer for DT_FINI.
8482 * elf/dl-close.c (_dl_close): Likewise.
8484 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
8485 function pointer for DT_INIT.
8487 2000-11-16 Jakub Jelinek <jakub@redhat.com>
8489 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
8490 end of wexpbuf buffer.
8492 2000-11-16 Andreas Jaeger <aj@suse.de>
8494 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
8495 definition of F_GETLK, F_SETLK, F_SETLKW.
8497 2000-11-16 Andreas Jaeger <aj@suse.de>
8499 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
8502 2000-11-15 Jakub Jelinek <jakub@redhat.com>
8504 * dlfcn/default.c (main): Add test for dladdr of main returning
8505 argv[0] in dli_fname field.
8507 2000-11-15 Jakub Jelinek <jakub@redhat.com>
8509 * Makeconfig (run-program-prefix): Move test-static test into the
8512 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
8513 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
8514 schedule instructions.
8515 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
8516 schedule instructions, fix a bug in copying auxiliary data.
8518 2000-11-15 Ulrich Drepper <drepper@redhat.com>
8520 * manual/startup.texi (Program Arguments): Fix type of main's envp
8522 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
8524 * iconvdata/gconv-modules: Add CP950 alias.
8526 2000-11-13 Jakub Jelinek <jakub@redhat.com>
8528 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
8529 syscall-list.h goal.
8530 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
8532 2000-11-15 Ulrich Drepper <drepper@redhat.com>
8534 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
8536 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
8539 * intl/tst-gettext2.c: Set C locale if setting other locale
8540 failed. Use gettext() not _().
8542 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
8543 successfully loaded a new locale.
8545 2000-11-13 Andreas Jaeger <aj@suse.de>
8547 * configure.in: Require gcc 2.95 or newer.
8549 2000-11-15 Ulrich Drepper <drepper@redhat.com>
8551 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
8552 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
8554 2000-11-11 Jim Meyering <meyering@lucent.com>
8556 * string/strndup.c (strndup): Cast return value to `char *'.
8558 2000-11-15 Jim Meyering <meyering@ascend.com>
8560 * sysdeps/generic/memchr.c: Remove some useless parentheses.
8561 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
8562 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
8563 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
8564 Also #undef __memchr.
8565 Use `weak_alias' only if it's defined.
8567 2000-11-10 H.J. Lu <hjl@gnu.org>
8569 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
8571 2000-11-15 Andreas Jaeger <aj@suse.de>
8573 * elf/chroot_canon.c: Include <stdint.h>.
8575 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
8576 (print_entry): Likewise.
8577 (add_to_cache): Likewise.
8579 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
8581 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
8582 (path_hwcap): Likewise.
8583 (search_dir): Likewise.
8585 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
8587 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
8589 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
8590 (_dl_platform_string): New.
8591 (_DL_HWCAP_PLATFORM): New.
8592 (_dl_string_platform): New.
8593 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
8595 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8596 (_dl_string_platform): New.
8597 (_DL_HWCAP_PLATFORM): New.
8598 (_dl_platform_string): New.
8600 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
8602 (_DL_HWCAP_COUNT): New.
8603 (_dl_string_platform): New.
8604 (_DL_HWCAP_PLATFORM): New.
8605 (_dl_platform_string): New.
8607 2000-11-14 Ulrich Drepper <drepper@redhat.com>
8609 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
8611 2000-11-14 Andreas Jaeger <aj@suse.de>
8613 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
8615 2000-11-13 Roland McGrath <roland@frob.com>
8617 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
8619 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
8621 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
8622 underrun and make sure the result is null terminated even if there
8623 is no trailing newline.
8625 2000-11-13 Jakub Jelinek <jakub@redhat.com>
8627 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8629 2000-11-10 H.J. Lu <hjl@gnu.org>
8631 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
8633 2000-11-10 Andreas Jaeger <aj@suse.de>
8635 * elf/ldconfig.c (create_links): Fix alloca calculation.
8636 Patch by Ben Collins <bcollins@debian.org>.
8638 2000-11-09 Ulrich Drepper <drepper@redhat.com>
8640 * inet/getnameinfo.c (getnameinfo): Use correct destination
8641 parameter for if_indextoname.
8642 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
8644 2000-11-09 H.J. Lu <hjl@gnu.org>
8646 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
8647 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
8648 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
8651 * time/Versions (GLIBC_2.1): Move getitimer to...
8652 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
8654 2000-11-03 Bruno Haible <haible@clisp.cons.org>
8656 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
8657 "make install", to work around a binary incompatibility between
8658 glibc 2.1 and glibc 2.2 gconv modules.
8660 2000-11-09 Ulrich Drepper <drepper@redhat.com>
8662 * intl/locale.alias: Add thai.
8663 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
8665 2000-11-07 Akim Demaille <akim@epita.fr>
8667 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
8668 argument `data' for consistency with the prototypes.
8670 (obstack_copy, obstack_copy0): Rename the second argument as
8671 `address' for consistency. Qualify it `const'.
8672 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
8673 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
8674 `const' their input argument (`data' or `address').
8675 Adjust the corresponding macros to include `const' in casts.
8677 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8679 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
8682 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8684 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
8687 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8689 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
8690 ai_protocol by internal table if service was not given.
8692 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8694 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
8695 numerical port was specified with protocol without socktype.
8697 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8699 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
8701 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8703 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
8705 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8707 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
8708 sin6_scope_id field.
8710 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8712 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
8714 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8716 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
8718 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8720 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
8721 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
8723 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
8725 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
8726 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
8728 2000-11-09 H.J. Lu <hjl@gnu.org>
8730 * io/Versions (GLIBC_2.1.1): Remove lockf64.
8733 See ChangeLog.11 for earlier changes.