1 2001-06-27 Ulrich Drepper <drepper@redhat.com>
3 * posix/tst-regex.c: Pass REG_NEWLINE to regcomp. Add extra tests.
4 Restrict printing of string in debug mode to 100 characters to make
5 the output useful for long input texts.
7 * posix/Makefile: Add rules to build and run tst-regex.
9 2001-06-20 Isamu Hasegawa <isamu@yamato.ibm.com>
11 * posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers.
12 (re_search_2): invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
13 (wcs_re_match_2_internal): Check whether the wcs buffers need
14 seting up or not, and skip seting up routin if not needed.
16 2001-06-26 Isamu Hasegawa <isamu@yamato.ibm.com>
18 * posix/regex.c (count_mbs_length): Use binary search for
21 2001-06-27 Ulrich Drepper <drepper@redhat.com>
23 * posix/tst-regex.c: Fix several bugs. Add more tests.
25 2001-06-26 Mark Kettenis <kettenis@gnu.org>
27 * hurd/Makefile (user-interfaces): Add pfinet.
28 * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and
30 (siocgifconf): New function. Register it with HURD_HANDLE_IOCTL
31 as the handler for SIOCGIFCONF.
32 * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and
33 SIOCGIFFLAGS to be of IOC type ifreq_short. Modify SIOCSIFMETRIC
34 and SIOCGIFMETRIC to be of IOC type ifreq_int. Add new macro
35 definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and
37 From Marcus Brunkmann <marcus@gnu.org>.
39 2001-06-25 Ulrich Drepper <drepper@redhat.com>
41 * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
42 and _IOT_ifreq_int. Patch by Mark Kettenis <kettenis@wins.uva.nl>.
44 * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
45 _dl_catch_error calls.
47 2001-06-22 Jakub Jelinek <jakub@redhat.com>
49 * posix/regex.c (regex_compile, re_match_2_internal): Fix comment
52 2001-06-01 Wolfram Gloger <wg@malloc.de>
54 * malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
55 ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
56 when malloc_atfork is in use.
58 2001-06-22 Andreas Jaeger <aj@suse.de>
60 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
63 * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
65 Add unused attributes to avoid warnings.
67 * elf/reldep4mod4.c: Add prototype to avoid warning.
68 * elf/reldep4mod2.c: Likewise.
70 * sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for
73 2001-06-18 Roland McGrath <roland@frob.com>
75 * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int.
77 2001-06-20 Alexandre Oliva <aoliva@redhat.com>
79 * sysdeps/unix/sysv/settimeofday.c: Include time.h.
81 2001-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
83 * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
85 2001-05-09 Michael Keezer <mkeezer@redhat.com>
87 * Makeconfig: Added AIX-ld support for DSO.
88 * Makerules: Likewise.
89 * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared.
90 (defaultmod2.so): Likewise.
91 * debug/Makefile: Conditionalize use of elf/ld.so.
92 * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig.
94 * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c.
95 * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) &
96 (f/g)prrest(0/1) static only.
97 * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0.
98 * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but
100 * sysdeps/unix/sysv/aix/setitimer.c: New file.
101 * sysdeps/unix/sysv/aix/sleep.c: New file.
102 * sysdeps/unix/sysv/aix/usleep.c: New file.
103 * sysdeps/unix/sysv/aix/dl-addr.c: New file.
104 * sysdeps/unix/sysv/aix/dl-error.c: New file.
105 * sysdeps/unix/sysv/aix/dl-support.c: New file.
106 * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file.
108 2001-06-19 Ulrich Drepper <drepper@redhat.com>
110 * po/es.po: Update from translation team.
112 2001-06-19 Andreas Jaeger <aj@suse.de>
114 * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file.
116 * math/libm-test.inc (tanh_test): Test for 2^-56.
118 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result
119 equals argument when x < 2^-55.
120 Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
122 2001-06-17 Alan Modra <amodra@bigpond.net.au>
124 * sysdeps/hppa/dl-machine.h (elf_machine_rela): handle relocs
125 at unaligned address.
127 2001-06-18 Ulrich Drepper <drepper@redhat.com>
129 * posix/regex.c: Reorganize code to build code twice, once for single
130 byte, once for multi-byte charsets. Choose function set adequate for
132 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
134 * po/nl.po: Update from translation team.
136 2001-06-09 Bruno Haible <haible@clisp.cons.org>
138 * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
139 (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
140 * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.
142 2001-05-26 Bruno Haible <haible@clisp.cons.org>
144 * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap.
145 * manual/charset.texi: Write Shift_JIS, not Shift-JIS.
147 2001-06-17 Roland McGrath <roland@frob.com>
149 * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,
150 not LIO_READ + 1 (which is the value of LIO_WRITE!).
152 * Makerules (build-module-helper-objlist): New variable,
153 broken out of build-module. Insert --whole-archive/--no-whole-archive
154 immediately each *_pic.a file in the link object list.
155 (whole-archive): New variable, used by that.
156 (build-module-objlist): New variable using build-module-helper-objlist.
157 (build-module, build-module-helper): Use it.
158 (build-shlib-objlist): New variable using build-module-helper-objlist.
159 (build-shlib): Use that.
160 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
162 * posix/spawni.c: Moved to ...
163 * sysdeps/posix/spawni.c: ... here.
164 * sysdeps/generic/spawni.c: New file.
166 2001-06-16 Roland McGrath <roland@frob.com>
168 * hurd/Makefile (routines): Add lookup-retry.
169 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
170 * hurd/lookup-retry.c: ... into here, new file.
171 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
172 using of duplicate code here.
174 * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
176 2001-06-17 Ulrich Drepper <drepper@redhat.com>
178 * po/ja.po: Update from translation team.
180 2001-06-04 Bruno Haible <haible@clisp.cons.org>
182 * locale/programs/locfile.c (siblings_uncached, siblings, full_read,
183 compare_files): New functions.
184 (write_locale_data): Use xmalloc. Compare the file with the locale
185 data files for the same category in other locales, and reuse it if
188 2001-06-07 Mark Kettenis <kettenis@gnu.org>
190 * grp/initgroups.c (initgroups): Factor out re-usable code into...
191 (internal_getgrouplist): ... new function.
192 (getgrouplist): New function.
193 * grp/grp.h (getgrouplist): New prototype.
194 * grp/Versions [2.2.4]: Add getgrouplist.
196 2001-06-16 Ulrich Drepper <drepper@redhat.com>
198 * inet/netinet/ip6.h: Fix comments in ip6_hdr.
199 Patch by Pekka Savola <pekkas@netcore.fi>.
201 2001-06-15 Roland McGrath <roland@frob.com>
203 * rt/Makefile (aio-routines, clock-routines, timer-routines): New
204 variables, broken out of librt-routines.
205 (librt-routines): Set using those.
206 (extra-libs, extra-libc-others, tests): Set these unconditionally.
207 (distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
208 * sysdeps/generic/aio_fsync.c: New file.
209 * sysdeps/generic/aio_misc.c: New file.
210 * sysdeps/generic/aio_write.c: New file.
211 * sysdeps/generic/aio_write64.c: New file.
212 * sysdeps/generic/aio_read64.c: New file.
213 * sysdeps/generic/aio_read.c: New file.
214 * sysdeps/generic/aio_notify.c: New file.
215 * sysdeps/generic/lio_listio64.c: New file.
216 * sysdeps/generic/lio_listio.c: New file.
217 * sysdeps/generic/aio_cancel.c: New file.
218 * sysdeps/generic/aio_misc.h: New file.
219 * sysdeps/generic/aio_suspend.c: New file.
220 * rt/aio_cancel.c: Moved to ...
221 * sysdeps/pthread/aio_cancel.c: ... here.
222 * rt/aio_fsync.c: Moved to ...
223 * sysdeps/pthread/aio_fsync.c: ... here.
224 * rt/aio_misc.c: Moved to ...
225 * sysdeps/pthread/aio_misc.c: ... here.
226 * rt/aio_misc.h: Moved to ...
227 * sysdeps/pthread/aio_misc.h: ... here.
228 * rt/aio_notify.c: Moved to ...
229 * sysdeps/pthread/aio_notify.c: ... here.
230 * rt/aio_read.c: Moved to ...
231 * sysdeps/pthread/aio_read.c: ... here.
232 * rt/aio_read64.c: Moved to ...
233 * sysdeps/pthread/aio_read64.c: ... here.
234 * rt/aio_suspend.c: Moved to ...
235 * sysdeps/pthread/aio_suspend.c: ... here.
236 * rt/aio_write.c: Moved to ...
237 * sysdeps/pthread/aio_write.c: ... here.
238 * rt/aio_write64.c: Moved to ...
239 * sysdeps/pthread/aio_write64.c: ... here.
240 * rt/lio_listio.c: Moved to ...
241 * sysdeps/pthread/lio_listio.c: ... here.
242 * rt/lio_listio64.c: Moved to ...
243 * sysdeps/pthread/lio_listio64.c: ... here.
245 2001-06-14 Roland McGrath <roland@frob.com>
247 * configure.in: Let sysdeps Implies files in add-ons bring in
248 sysdeps directories from the main source and other add-ons too.
250 2001-06-15 Jakub Jelinek <jakub@redhat.com>
252 * math/test-misc.c (main): Add tests for nextafter and nexttoward
253 with +-Inf as second argument.
255 * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
257 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
258 * sysdeps/i386/fpu/s_nexttoward.c: New.
259 * sysdeps/i386/fpu/s_nexttowardf.c: New.
260 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
261 check for NaN, optimize x==+-0 handling.
262 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
263 * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
264 check for NaN, fix sign in x==+-0 case.
265 * sysdeps/ia64/fpu/s_nexttoward.c: New.
266 * sysdeps/ia64/fpu/s_nexttowardf.c: New.
268 2001-06-15 H.J. Lu <hjl@gnu.org>
270 * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
271 * rt/tst-aio3.c (do_test): Likewise.
272 * rt/tst-aio4.c (do_test): Likewise.
273 * rt/tst-aio5.c (do_test): Likewise.
274 * rt/tst-aio6.c (do_test): Likewise.
276 2001-06-15 Andreas Schwab <schwab@suse.de>
278 * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
279 * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
281 2001-06-15 Andreas Jaeger <aj@suse.de>
283 * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning.
285 2001-06-14 Andreas Schwab <schwab@suse.de>
287 * elf/ldconfig.c (search_dir): Fix check for regular file.
289 * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
290 * sysdeps/m68k/fpu/e_log2l.c: Fix typo.
292 2001-06-14 Roland McGrath <roland@frob.com>
294 * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
295 (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
297 2001-06-13 Roland McGrath <roland@frob.com>
299 * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
301 * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
302 so the label is not considered unused.
304 * sysdeps/mach/hurd/pwrite64.c: New file.
305 * sysdeps/mach/hurd/pread64.c: New file.
307 * sysdeps/mach/hurd/pread.c
308 (__libc_pread): Define this name, with __pread as an alias.
309 * sysdeps/mach/hurd/pwrite.c
310 (__libc_pwrite): Define this name, with __pwrite as an alias.
312 Implement POSIX "shared memory objects" as regular
313 files residing in the /var/run/shm/ directory.
314 This works on any system that supports _POSIX_MAPPED_FILES,
315 to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
316 * sysdeps/posix/shm_open.c: New file.
317 * sysdeps/posix/shm_unlink.c: New file.
318 * sysdeps/mach/hurd/bits/posix_opt.h
319 (_POSIX_SHARED_MEMORY_OBJECTS): Define it.
321 * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
322 Use raise instead of __aio_sigqueue.
324 * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
325 * sysdeps/mach/hurd/pwrite.c: Likewise.
327 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
328 [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
329 as default version set.
331 2001-06-13 Ulrich Drepper <drepper@redhat.com>
333 * libio/iolibio.h (_IO_freopen): Correct last parameter to
335 (_IO_freopen64): Likewise.
336 Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].
338 * elf/elf.h: Add a few more EM_* constants.
340 2001-06-12 Bruno Haible <haible@clisp.cons.org>
342 * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.
344 2001-06-09 Ben Collins <bcollins@debian.org>
346 * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
347 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
348 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
349 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
350 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
351 * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
354 2001-06-13 Ulrich Drepper <drepper@redhat.com>
356 * time/sys/time.h: Don't use enum __itimer_which ever for
357 __itimer_which_t for C++.
358 Reported by Martin Buchholz <martin@xemacs.org>.
360 * po/fr.po: Update from translation team.
362 2001-06-12 H.J. Lu <hjl@gnu.org>
364 * configure.in: Fix typos in missing program names.
365 * configure: Regenerated.
367 2001-06-12 Andreas Jaeger <aj@suse.de>
369 * iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
371 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
373 2001-06-11 Andreas Jaeger <aj@suse.de>
375 * sysdeps/ieee754/ldbl-128/e_coshl.c: New file. Contributed by
376 Stephen L Moshier <moshier@mediaone.net>.
378 * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
380 * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
381 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
383 2001-06-11 Michael Deutschmann <michael@talamasca.ocis.net>
385 * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
386 Use my_signo instead of MY_SIGNO and initialize it so that the
387 used signal is always available.
389 2001-06-11 Andreas Jaeger <aj@suse.de>,
390 Michael Deutschmann <michael@talamasca.ocis.net>
392 * io/test-lfs.c (do_prepare): Clean up error messages.
393 (test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
396 2001-06-11 Andreas Jaeger <aj@suse.de>
398 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
399 IMAXBEL): Make always visible since they're needed by POSIX.
400 Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
402 2001-06-10 Ben Collins <bcollins@debian.org>
404 * sysdeps/arm/elf/start.S: Use #function, not @function, for
407 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
410 2001-06-07 H.J. Lu <hjl@gnu.org>
412 * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
414 2001-06-10 Roland McGrath <roland@frob.com>
416 * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
417 * elf/reldep4mod4.c: Likewise.
419 2001-06-10 Mark Kettenis <kettenis@gnu.org>
421 * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
423 2001-06-08 Andreas Schwab <schwab@suse.de>
425 * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
426 Don't dereference at end of string.
428 2001-06-06 Roland McGrath <roland@frob.com>
430 * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
431 From Robert Bihlmeyer <robbe@orcus.priv.at>.
433 2001-06-06 Ulrich Drepper <drepper@redhat.com>
435 * po/ko.po: Update from translation team.
437 2001-06-06 Andreas Jaeger <aj@suse.de>
439 * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
441 Reported by Robert Bernecky <bernecky@acm.org>.
443 2001-06-06 Jakub Jelinek <jakub@redhat.com>
445 * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
446 * sysdeps/ia64/elf/start.S: Likewise.
447 * sysdeps/sh/elf/start.S: Likewise.
448 * sysdeps/s390/s390-32/elf/start.S: Likewise.
449 * sysdeps/s390/s390-64/elf/start.S: Likewise.
451 2001-06-05 Matthew Wilcox <willy@ldl.fc.hp.com>
453 * sysdeps/hppa/bsd-_setjmp.S: New.
454 * sysdeps/hppa/bsd-setjmp.S: New.
456 * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
457 gcc warnings about multi-line strings.
459 * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
460 * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
462 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
463 setrlimit directly instead of using wrappers.
465 2001-05-01 Richard Hirst <rhirst@linuxcare.com>
467 * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
468 * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
470 2001-06-05 Philipp Thomas <pthomas@suse.de>
472 * nis/nis_call.c (__nisbind_connect): Don't mark for translation
473 what can't be translated.
475 2001-06-06 Ulrich Drepper <drepper@redhat.com>
477 * timezone/zic.c: Update from tzcode2001c.
478 * timezone/private.h: Likewise.
479 * timezone/africa: Update from tzdata2001c.
480 * timezone/asia: Likewise.
481 * timezone/europe: Likewise.
482 * timezone/northamerica: Likewise.
483 * timezone/southamerica: Likewise.
484 * timezone/zone.tab: Likewise.
486 2001-06-04 Bruno Haible <haible@clisp.cons.org>
488 * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
489 * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
491 (__gconv_transform_internal_ucs2): Likewise.
492 (__gconv_transform_internal_ucs2reverse): Likewise.
493 * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
494 * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
495 * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
496 * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
497 * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
498 * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
499 * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
500 * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
501 * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
502 * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
503 * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
504 * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
505 * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
506 * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
507 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
508 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
509 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
510 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
511 * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
512 * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
513 * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
514 * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
515 * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
516 * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
517 * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
518 * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
519 * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
520 * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
521 * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
522 * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
523 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
524 * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
525 TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
526 TAG_language_zh, CURRENT_TAG_MASK): New enum values.
527 (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
528 is already selected but set2 or tag are set.
529 (conversion): New enum type.
530 (cvlist_t): New type.
531 (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
532 (conversion_lists): New array.
533 (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag. I f "ja",
534 prefer conversion to Japanese character sets. If "zh", prefer
535 conversion to GB2312. I f "ko", prefer conversion to KSC5601. Small
537 (INIT_PARAMS): Add tag.
538 (UPDATE_PARAMS): Add tag.
540 2001-06-04 Bruno Haible <haible@clisp.cons.org>
542 * locale/programs/locfile.c (write_locale_data): Before creat(),
543 unlink the file, to avoid crashing the processes that mmap it. Change
544 a double slash to a single slash. Free fname in case of error return.
546 2001-06-02 Jakub Jelinek <jakub@redhat.com>
548 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
549 changes, do the special handling for denormal numbers, not for
550 normalized numbers (patch by <trevin@xmission.com>).
552 * math/test-misc.c (main): Test frexpl with denormal arguments.
554 2001-06-04 Jakub Jelinek <jakub@redhat.com>
556 * math/libm-test.inc (llround_test): Add two new llround tests.
557 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
558 overflow when rounding away from zero.
560 2001-06-04 Jakub Jelinek <jakub@redhat.com>
562 * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
563 * math/math_private.h (__ieee754_log2, __ieee754_log2f,
564 __ieee754_log2l): New prototypes.
565 * sysdeps/generic/w_log2.c: New file.
566 * sysdeps/generic/w_log2f.c: New file.
567 * sysdeps/generic/w_log2l.c: New file.
568 * sysdeps/generic/s_log2l.c: Move...
569 * sysdeps/generic/e_log2l.c: ...to here. Rename to __ieee754_log2l.
570 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
572 * sysdeps/i386/fpu/s_log2.S: Move...
573 * sysdeps/i386/fpu/e_log2.S: ...to here. Rename to __ieee754_log2.
574 * sysdeps/i386/fpu/s_log2f.S: Move...
575 * sysdeps/i386/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f.
576 * sysdeps/i386/fpu/s_log2l.S: Move...
577 * sysdeps/i386/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l.
578 * sysdeps/m68k/fpu/s_log2.c: Move...
579 * sysdeps/m68k/fpu/e_log2.c: ...to here. Rename to __ieee754_log2.
580 * sysdeps/m68k/fpu/s_log2f.c: Move...
581 * sysdeps/m68k/fpu/e_log2f.c: ...to here. Rename to __ieee754_log2f.
582 * sysdeps/m68k/fpu/s_log2l.c: Move...
583 * sysdeps/m68k/fpu/e_log2l.c: ...to here. Rename to __ieee754_log2l.
584 * sysdeps/ieee754/dbl-64/s_log2.c: Move...
585 * sysdeps/ieee754/dbl-64/e_log2.c: ...to here. Rename to
587 * sysdeps/ieee754/flt-32/s_log2f.c: Move...
588 * sysdeps/ieee754/flt-32/e_log2f.c: ...to here. Rename to
591 2001-06-04 Jakub Jelinek <jakub@redhat.com>
593 * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
594 even arguments which result in denormalized exp2 are accepted.
595 (__exp2): Arguments equal to u_threshold already result into
597 * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
598 * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
599 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
600 low, with corrected lowmark use greaterequal, not greater.
601 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
603 2001-06-04 Jakub Jelinek <jakub@redhat.com>
605 * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
606 * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
607 * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
608 * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
609 * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
610 * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
611 * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
612 * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
614 2001-06-04 Jakub Jelinek <jakub@redhat.com>
616 * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
617 gave non-finite result instead of using constant in generic
619 * sysdeps/generic/w_coshf.c (__coshf): Likewise.
620 * sysdeps/generic/w_cosh.c (__cosh): Likewise.
621 * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
622 (__exp10): Test if finite argument gave non-finite result.
623 * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
625 * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
628 2001-06-04 Jakub Jelinek <jakub@redhat.com>
630 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
631 overflow threshold constant (log(LDBL_MAX)+M_LN2l).
633 2001-05-29 Bruno Haible <haible@clisp.cons.org>
635 * locale/programs/ld-ctype.c (idx_table): New struct type.
636 (idx_table_init, idx_table_get, idx_table_add): New functions.
637 (MAX_CHARNAMES_IDX): Remove macro.
638 (locale_ctype_t): Change type of charnames_idx field.
639 (ctype_startup): Change initialization of charnames_idx field.
640 (find_idx): Use idx_table_get and idx_table_add for speed.
642 * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
643 computation of characters in a range.
645 2001-05-29 Bruno Haible <haible@clisp.cons.org>
647 * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
649 (__ucs_to_gb18030_tab1): Likewise.
650 (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
651 (BODY for TO_LOOP): Likewise.
652 * iconvdata/tst-table-charmap.sh: Update for charmaps containing
654 * iconvdata/tst-table-from.c (bmp_only): New variable.
655 (utf8_decode): If bmp_only, don't return characters outside Unicode
657 (main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print
658 a conversion line if utf8_decode returns NULL.
659 * iconvdata/tst-table-to.c (main): When testing encodings other than
660 UTF-8 and GB18030, loop upto U+30000 instead of U+10000. Use UTF-8
661 instead of UCS-2 as input.
662 * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
665 2001-05-29 Bruno Haible <haible@clisp.cons.org>
667 * iconvdata/cns11643l1.c: Update to Unicode 3.1.
668 (__cns11643l1_to_ucs4_tab): Regenerated.
669 (__cns11643l1_from_ucs4_tab12): Regenerated.
670 * iconvdata/cns11643.c: Update to Unicode 3.1.
671 (__cns11643l14_to_ucs4_tab): Remove array.
672 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
673 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
674 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
675 (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
676 (__cns11643_from_ucs4p2_tab): New array.
677 * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
678 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
679 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
680 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
681 (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
682 (__cns11643_from_ucs4_tab): Remove declaration.
683 (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
685 (ucs4_to_cns11643): Update for new arrays. Treat U+3400..U+4DFF and
687 * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
689 (__cns11643_from_ucs4p0_tab): New declaration.
690 (ucs4_to_cns11643l2): Update for new arrays.
691 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
693 (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
694 * iconvdata/EUC-TW.irreversible: New file.
695 * iconvdata/tst-table.sh: Use it.
696 * iconvdata/Makefile (distribute): Add CP1255.irreversible,
697 CP1258.irreversible, EUC-TW.irreversible.
699 2001-05-29 Bruno Haible <haible@clisp.cons.org>
701 * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
702 mathematical symbols.
704 2001-06-05 Andreas Jaeger <aj@suse.de>
706 * manual/stdio.texi (Portable Positioning): Fix description of
709 2001-06-06 Ulrich Drepper <drepper@redhat.com>
711 * sysdeps/generic/wordexp.c: Undo last patch. Use strndupa instead.
713 * po/sk.po: Update from translation team.
715 2001-06-05 Andreas Jaeger <aj@suse.de>
717 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
718 tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
721 2001-06-05 Ulrich Drepper <drepper@redhat.com>
723 * sysdeps/generic/wordexp.c: Add missing free.
724 Patch by yeti@physics.muni.cz.
726 2001-06-02 Tom Browder <tbrowder@home.com>
728 * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
729 within bounds when lag > 0.
731 2001-06-05 Ulrich Drepper <drepper@redhat.com>
733 * po/tr.po: New file.
735 2001-06-05 Andreas Jaeger <aj@suse.de>
737 * manual/libm-err-tab.pl (parse_ulps): Fix typo.
739 2001-06-04 H.J. Lu <hjl@gnu.org>
741 * sysdeps/alpha/elf/start.S: Add .type for the entry point.
742 * sysdeps/arm/elf/start.S: Likewise.
743 * sysdeps/hppa/elf/start.S: Likewise.
744 * sysdeps/i386/elf/start.S: Likewise.
745 * sysdeps/m68k/elf/start.S: Likewise.
746 * sysdeps/mips/elf/start.S: Likewise.
747 * sysdeps/ia64/elf/start.S: Likewise.
748 * sysdeps/sh/elf/start.S: Likewise.
749 * sysdeps/s390/s390-32/elf/start.S: Likewise.
750 * sysdeps/s390/s390-64/elf/start.S: Likewise.
751 * sysdeps/cris/elf/start.S: Likewise.
753 2001-06-04 Bruce Mitchener <bruce@cubik.org>
755 * manual/resource.texi: Correct setpriority/nice documentation.
757 * sysdeps/unix/nice.c: Correct nice() implementation.
759 2001-06-04 Andreas Jaeger <aj@suse.de>
761 * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
762 Stephen L Moshier <moshier@mediaone.net>.
764 2001-06-03 Roland McGrath <roland@frob.com>
766 * Makefile (postclean): Remove obsolete sysd-Makefile.
768 2001-06-01 Roland McGrath <roland@frob.com>
770 * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
771 and use compat_symbol/versioned_symbol instead of plain
772 symbol_version/default_symbol_version.
773 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
774 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
775 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
776 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
777 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
778 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
779 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
780 * sysdeps/arm/fpu/fegetenv.c: Likewise.
781 * sysdeps/arm/fpu/fesetenv.c: Likewise.
782 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
783 * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
784 * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
785 * sysdeps/i386/fpu/fegetenv.c: Likewise.
786 * sysdeps/i386/fpu/fesetenv.c: Likewise.
787 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
788 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
789 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
790 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
791 * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
792 * sysdeps/m68k/fpu/fegetenv.c: Likewise.
793 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
794 * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
795 * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
796 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
797 * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
798 * sysdeps/powerpc/fclrexcpt.c: Likewise.
799 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
800 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
801 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
802 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
803 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
804 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
806 * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
807 * iconvdata/iso-2022-cn-ext.c: Likewise.
809 2001-06-01 Andreas Jaeger <aj@suse.de>
811 * Versions.def: Add version 2.2.4.
813 2001-06-01 Ulrich Drepper <drepper@redhat.com>
815 * socket/Makefile (routines): Add sockatmark.
816 * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
817 * socket/sys/socket.h: Add prototype for sockatmark.
818 * sysdeps/generic/sockatmark.c: New file.
819 * sysdeps/unix/sockatmark.c: New file.
821 2001-06-01 Andreas Jaeger <aj@suse.de>
823 * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
825 (cfsetospeed): Likewise.
826 Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
828 2001-05-31 Joseph S. Myers <jsm28@cam.ac.uk>
830 * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
832 2001-05-30 Martin Schwidefsky <schwidefsky@de.ibm.com>
834 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
835 needs to have the same aligment as the kernel structure.
837 2001-05-29 Jakub Jelinek <jakub@redhat.com>
839 * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
840 u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
841 * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
842 u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
843 against multiple definition.
845 2001-05-30 Ulrich Drepper <drepper@redhat.com>
847 * po/da.po: Update from translation team.
849 2001-05-29 Andreas Jaeger <aj@suse.de>
851 * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
852 Stephen L Moshier <moshier@mediaone.net>.
854 * math/libm-test.inc (sinh_test): Add new test case.
856 * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
858 Patch by Stephen L Moshier <moshier@mediaone.net>.
860 2001-05-23 Andreas Jaeger <aj@suse.de>
862 * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
863 * iconvdata/testdata/WINDOWS-1255..UTF8: this.
865 2001-05-27 Andreas Jaeger <aj@suse.de>
867 * manual/stdio.texi (String Streams): Fix fmemopen description.
868 Reported by Michal Kochanowicz <michal@michal.waw.pl>.
870 2001-05-26 H.J. Lu <hjl@gnu.org>
872 * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
873 to s_sigsuspend. Add s_mmap2.
875 * sysdeps/mips/atomicity.h: New file.
877 * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
879 * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
882 2001-05-25 Bruce Mitchener <bruce@cubik.org>
884 * manual/ctype.texi: Minor fix.
885 * manual/install.texi: Likewise.
886 * manual/startup.texi: Likewise.
887 * manual/examples/dir.c: Use perror() rather than puts().
889 2001-05-25 David Mosberger <davidm@hpl.hp.com>
891 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
892 #endif directive inside a comment to avoid compiler warnings.
894 2001-05-25 Philipp Thomas <pthomas@suse.de>
896 * nis/nis_print.c (nis_nstype2str): Don't mark names of
897 naming services for translation, only UNKNOWN needs it.
898 Add comment to prevent it for the future.
900 2001-05-25 Joseph S. Myers <jsm28@cam.ac.uk>
902 * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
903 3.1 and non-GCC C99 compilers.
905 2001-05-22 David Mosberger <davidm@hpl.hp.com>
907 * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
909 * sysdeps/ia64/memcpy.S: Likewise.
911 * sysdeps/ia64/bcopy.S: New file.
913 * sysdeps/ia64/bzero.S: New file (derived from memset.S).
915 2001-05-26 Ulrich Drepper <drepper@redhat.com>
917 * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
919 2001-05-24 Ulrich Drepper <drepper@redhat.com>
921 * iconvdata/Makefile: Add rules for CP10007.
922 * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
923 * iconvdata/cp10007.c: New file.
924 * iconvdata/tst-tables.sh: Add CP10007.
926 2001-05-23 kaz Kojima <kkojima@rr.iij4u.or.jp>
928 * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
929 (_dl_runtime_profile): Likewise..
931 2001-05-23 Thorsten Kukuk <kukuk@suse.de>
933 * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
934 * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
936 2001-05-19 H.J. Lu <hjl@gnu.org>
938 * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
939 errstring of the failed DSO to _dl_signal_error ().
941 2001-05-23 Ulrich Drepper <drepper@redhat.com>
943 * iconvdata/gconv-modules: Add more aliases to enable use in
946 2001-05-23 Andreas Jaeger <aj@suse.de>
948 * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
949 Remove, it's not used anywhere anymore.
950 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
951 (CFLAGS-initfini.s): Likewise.
952 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
953 (CFLAGS-initfini.s): Likewise.
954 * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
956 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
959 2001-05-21 Bruno Haible <haible@clisp.cons.org>
961 * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
962 use 0 instead, and rely on the converter to do the flush.
963 * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
965 (utf8_test_2, utf8_test_3): New function.
966 (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
968 2001-05-22 Jakub Jelinek <jakub@redhat.com>
970 * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
972 * elf/Makefile (distribute): Add reldep4mod[1234].c.
973 (tests): Add reldep4.
974 (modules-names): Add reldep4mod[1234].
975 (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
976 * elf/reldep4.c: New file.
977 * elf/reldep4mod1.c: Likewise.
978 * elf/reldep4mod2.c: Likewise.
979 * elf/reldep4mod3.c: Likewise.
980 * elf/reldep4mod4.c: Likewise.
982 2001-05-18 Jakub Jelinek <jakub@redhat.com>
984 * elf/dl-lookup.c (PROTECTED): Remove defines.
985 (add_dependency): Mark it with internal_function.
986 (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
987 (_dl_lookup_symbol, _dl_lookup_symbol_skip,
988 _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
989 it if we don't want do_lookup* inlined.
991 2001-05-18 Jakub Jelinek <jakub@redhat.com>
993 * include/link.h (struct r_scope_elem): Remove r_duplist and
995 * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
996 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
998 (_dl_lookup_versioned_symbol_skip): Likewise.
999 * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
1000 (_dl_map_object_deps): Don't compute duplicate list.
1002 * elf/dl-symbol.c: Removed.
1003 * elf/Makefile (routines): Remove dl-symbol.
1005 2001-05-22 Ulrich Drepper <drepper@redhat.com>
1007 * po/el.po: Update from translation team.
1008 * po/sv.po: Likewise.
1010 2001-05-20 Bruno Haible <haible@clisp.cons.org>
1012 * iconvdata/cp1255.c: Completely rewritten.
1013 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
1014 * iconvdata/testdata/WINDOWS-1255: New file.
1015 * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
1016 * iconvdata/TESTS: Add WINDOWS-1255 test.
1017 * iconvdata/CP1255.irreversible: New file.
1019 2001-05-20 Bruno Haible <haible@clisp.cons.org>
1021 * iconvdata/cp1258.c: Completely rewritten.
1022 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
1023 * iconvdata/testdata/WINDOWS-1258: New file.
1024 * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
1025 * iconvdata/TESTS: Add WINDOWS-1258 test.
1026 * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
1027 the main call, and flush it afterwards.
1028 (utf8_decode): Return a string, possibly containing several Unicode
1030 (main): Update all utf8_decode calls.
1031 * iconvdata/CP1258.irreversible: New file.
1033 2001-05-20 Bruno Haible <haible@clisp.cons.org>
1035 * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
1036 * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2. In the
1037 first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
1038 EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
1039 the next step. In the second case, clear the state without calling
1041 * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
1042 data->__outbuf, and outend instead of data->__outbufend.
1043 * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
1044 * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
1045 * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
1046 * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
1047 * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
1048 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
1049 * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
1050 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
1051 * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
1053 2001-05-21 Jakub Jelinek <jakub@redhat.com>
1055 * elf/rtld.c (dl_main): Compute l_map_end for the main program.
1056 * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
1057 If match == _dl_loaded, caller can still come from the main program.
1058 (_dl_vsym): Likewise.
1059 * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
1060 * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
1061 * elf/restest2.c: New test.
1062 * elf/Makefile (tests): Add restest2.
1063 (restest2, LDFLAGS-restest2): Add rules.
1065 2001-05-22 Ulrich Drepper <drepper@redhat.com>
1067 * intl/Makefile: Add a few more dependencies to avoid races in the
1070 2001-05-22 Andreas Jaeger <aj@suse.de>
1072 * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
1073 Stephen L Moshier <moshier@mediaone.net>.
1075 2001-05-22 Martin Schwidefsky <schwidefsky@de.ibm.com>
1077 * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
1078 return addresses instead of the stack pointers.
1079 * sysdeps/s390/s390-64/backtrace.c: Likewise.
1081 2001-05-21 Jakub Jelinek <jakub@redhat.com>
1083 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
1084 bits/sigcontext.h instead of bits/sigstack.h.
1085 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
1086 multiple-inclusion guards.
1088 2001-05-21 Andreas Jaeger <aj@suse.de>
1090 * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
1091 Patch by Philipp Thomas <pthomas@suse.de>.
1093 2001-05-17 Bruce Mitchener <bruce@cubik.org>
1095 * manual/arpg.texi: Spelling, misc fixes.
1096 * manual/arith.texi: Likewise.
1097 * manual/crypt.texi: Likewise.
1098 * manual/debug.texi: Likewise.
1099 * manual/getopt.texi: Likewise.
1100 * manual/intro.texi: Likewise.
1101 * manual/memory.texi: Likewise.
1102 * manual/nss.texi: Likewise.
1103 * manual/pattern.texi: Likewise.
1104 * manual/process.texi: Likewise.
1105 * manual/resource.texi: Likewise.
1106 * manual/search.texi: Likewise.
1107 * manual/setjmp.texi: Likewise.
1108 * manual/signal.texi: Likewise.
1109 * manual/socket.texi: Likewise.
1110 * manual/stdio.texi: Likewise.
1111 * manual/string.texi: Likewise.
1112 * manual/sysinfo.texi: Likewise.
1113 * manual/terminal.texi: Likewise.
1114 * manual/llio.texi: Document madvise().
1116 2001-05-20 Roland McGrath <roland@frob.com>
1118 * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
1119 found within $(add-ons) directories too.
1120 [linuxthreads add-on]: Move variable settings for linuxthreads
1121 to new file linuxthreads/Makeconfig.
1123 2001-05-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1125 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
1126 Define for linux >= 2.4.5 on powerpc.
1127 (__ASSUME_MMAP2_SYSCALL): Likewise.
1129 2001-05-19 Roland McGrath <roland@frob.com>
1131 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
1132 result port when failing with ELOOP. Do the ELOOP check when
1133 following an absolute symlink target as well as relative.
1134 Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
1136 2001-05-18 Andreas Jaeger <aj@suse.de>
1138 * po/fr.po: Free software is "logiciel libre".
1139 Patch by Martin Michlmayr <tbm@cyrius.com>.
1141 * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
1142 Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
1144 2001-05-17 David Mosberger <davidm@hpl.hp.com>
1146 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
1148 2001-05-17 Ulrich Drepper <drepper@redhat.com>
1150 * elf/dl-profile.c (_dl_mcount): Check whether state is
1151 GMON_PROF_ON before doing anything.
1153 2001-05-17 H.J. Lu <hjl@gnu.org>
1155 * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
1157 2001-05-17 Ulrich Drepper <drepper@redhat.com>
1159 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
1160 CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
1161 Reported by Mark Burton <markb@ordern.com>.
1163 2001-05-17 Jakub Jelinek <jakub@redhat.com>
1165 * elf/ldconfig.c (add_dir): Only warn about stat failure if
1167 (search_dir): Likewise.
1169 2001-05-17 Ulrich Drepper <drepper@redhat.com>
1171 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
1172 parameter of xaddl. Patch by H . J . Lu <hjl@lucon.org>.
1174 2001-05-14 Bruno Haible <haible@clisp.cons.org>
1176 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
1177 without previous announcement, reject it regularly, don't abort.
1179 2001-05-16 Ulrich Drepper <drepper@redhat.com>
1181 * math/tgmath.h: Fix handling of int parameters to binary and
1182 ternary functions. Reported by mitr@volny.cz.
1184 * math/test-tgmath.c: Add tests for calls with integer parameters.
1186 2001-05-15 Jakub Jelinek <jakub@redhat.com>
1188 * sunrpc/rpc_thread.c (rpc_default): Remove.
1189 (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
1191 (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
1192 __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
1193 * sunrpc/auth_none.c (authnone_private): Fix a typo.
1195 2001-05-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
1197 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
1199 2001-05-16 Bruce Mitchener <bruce@cubik.org>
1201 * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
1203 2001-05-15 Andreas Jaeger <aj@suse.de>
1205 * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
1206 Stephen L Moshier <moshier@mediaone.net>.
1208 * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
1210 * math/libm-test.inc: Add comment with ToDo.
1212 * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
1213 accurate algorithm. Patch by Stephen L Moshier <moshier@mediaone.net>.
1215 * sysdeps/i386/fpu/e_expl.S: Removed.
1217 2001-05-14 Roland McGrath <roland@frob.com>
1219 * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
1220 static pattern rule also that also covers
1221 $(objpx)g$(static-start-installed-name).
1222 [$(start-installed-name) != $(static-start-installed-name)]
1223 (extra-objs, omit-deps, install-lib): Add
1224 $(static-start-installed-name) and g$(static-start-installed-name).
1225 * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
1226 just setting static-start-installed-name is now sufficient.
1227 (extra-objs): Add static-start.o here.
1228 (CFLAGS-initfini.s): Remove obsolete variable.
1229 * sysdeps/mach/hurd/i386/Makeconfig: New file.
1230 Define static-start-installed-name here.
1232 * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
1233 * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
1235 * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
1236 associated hair. Instead, just use $(wildcard ...) in the include.
1238 * configure.in (critic_missing, aux_missing): Collect in these vars
1239 the names of the missing programs, and include them in the error msgs.
1240 * configure: Regenerated.
1242 2001-05-14 Andreas Jaeger <aj@suse.de>
1244 * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
1246 * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
1248 2001-05-14 Stephen L Moshier <moshier@mediaone.net>
1250 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
1252 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1254 * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
1255 as well if swapping strings.
1256 Make sure stop is not past end of second string.
1257 * posix/bug-regex4.c: New test.
1258 * posix/Makefile (tests): Add bug-regex4.
1260 2001-05-10 Andreas Jaeger <aj@suse.de>
1262 * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
1265 2001-05-12 Andreas Jaeger <aj@suse.de>
1267 * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
1268 internal prototypes.
1269 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1270 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1271 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1272 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1273 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1274 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1275 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1277 * math/math_private.h: Add prototypes for internal functions of
1278 the IBM Accurate Mathematical Library.
1280 * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
1282 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1284 * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
1285 internal prototypes.
1286 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1287 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1288 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1289 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1290 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1291 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1292 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1293 * sysdeps/generic/e_rem_pio2l.c: Likewise.
1294 (__ieee754_rem_pio2l): Fix prototype.
1296 * math/math_private.h (__copysign): Add internal prototype.
1298 2001-05-11 Andreas Jaeger <aj@suse.de>
1300 * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
1301 * sysdeps/unix/sysv/linux/mips/configure.in: ...here. New file.
1303 2001-05-11 Andreas Jaeger <aj@suse.de>
1305 * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
1308 * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
1309 format directive. Patch by Steven J. Hill <sjhill@cotw.com>.
1311 2001-05-11 Roland McGrath <roland@frob.com>
1313 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
1314 $(build-module) here, since we don't need the full magilla.
1315 Just use $(build-module-helper) and append our special options.
1317 2001-05-09 Andreas Schwab <schwab@suse.de>
1319 * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
1322 2001-05-07 H.J. Lu <hjl@gnu.org>
1324 * elf/ldconfig.c (dir_entry): Add ino and dev.
1325 (add_single_dir): Compare ino and dev to check if 2 directory
1326 paths are the same or not. Free entry->path for duplicates.
1327 (add_dir): Initialize ino and dev for entry.
1328 (search_dir): Handle symlink to directory.
1330 2001-05-07 Andreas Jaeger <aj@suse.de>
1332 * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
1334 * math/libm-test.inc (exp_test): Add some more tests.
1335 (pow_test): Run double only test also for long double.
1337 * math/test-ldouble.c (TEST_LDOUBLE): Define.
1338 * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
1340 * sysdeps/generic/bits/confname.h: Remove extra comma at end of
1342 Closes PR libc/2240.
1344 * scripts/config.guess: Imported from gnu.org.
1345 * scripts/config.sub: Likewise.
1347 2001-05-05 Jakub Jelinek <jakub@redhat.com>
1349 * include/features.h (__USE_EXTERN_INLINES): Don't define if
1350 __NO_INLINE__ is defined.
1351 * ctype/ctype.h (tolower, toupper): Change the guard condition to
1352 __USE_EXTERN_INLINES check only.
1353 * stdlib/stdlib.h (strtod, ...): Likewise.
1354 * wcsmbs/wchar.h (mbrlen): Likewise.
1355 * string/string.h: Only include bits/string.h and bits/string2.h
1356 if __NO_INLINE__ is not defined.
1358 2001-05-07 Andreas Jaeger <aj@suse.de>
1360 * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
1363 2001-05-04 H.J. Lu <hjl@gnu.org>
1365 * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
1368 2001-05-06 Andreas Jaeger <aj@suse.de>
1370 * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
1371 * sysdeps/i386/fpu/e_fmodl.S: Removed.
1372 * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
1373 * sysdeps/i386/fpu/e_atan2l.S: Removed.
1374 * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
1375 * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
1376 * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
1377 * sysdeps/i386/fpu/e_acosl.S: Removed.
1378 * sysdeps/i386/fpu/s_atanl.S: Removed.
1379 * sysdeps/i386/fpu/e_sqrtl.S: Removed.
1381 2001-05-05 Mark Kettenis <kettenis@gnu.org>
1383 * sysdeps/mach/hurd/bits/environments.h: Add comment from
1384 sysdeps/generic/bits/environments.h. Define _POSIX_V6_* values.
1386 2001-04-30 Jakub Jelinek <jakub@redhat.com>
1388 * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
1389 that _CS_LFS_CFLAGS can fall through to the empty returned string
1390 case. Add FALLTHROUGH comment.
1392 2001-04-29 Ralf Baechle <ralf@gnu.org>
1394 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
1395 definitions match the kernel definitions.
1396 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1397 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
1399 2001-04-29 Ben Collins <bcollins@debian.org>
1401 * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
1403 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
1404 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1405 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1406 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
1407 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
1408 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1409 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1410 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1411 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1412 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1413 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1414 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1415 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
1416 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1417 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
1418 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1419 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1420 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1421 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1422 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
1423 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
1424 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
1425 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1427 2001-04-29 Andreas Schwab <schwab@suse.de>
1429 * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
1432 2001-04-29 Andreas Jaeger <aj@suse.de>
1434 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1435 Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
1437 * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
1439 (AF_WANPIPE): Likewise.
1442 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
1443 for Linux generic version.
1444 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
1445 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1446 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1447 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
1449 * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
1451 2001-04-27 Ulrich Drepper <drepper@redhat.com>
1453 * nis/nss-nis.h: Correct test for invalid error number.
1454 * nis/nss-nisplus.h: Likewise.
1456 * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
1458 2001-04-26 Ulrich Drepper <drepper@redhat.com>
1460 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
1462 * string/strcoll.c: Fix two memory allocation problems.
1463 * string/Makefile (tests): Add bug-strcoll1.
1464 * string/bug-strcoll1.c: New file.
1466 * malloc/mcheck.c (mcheck): Call malloc once before setting the
1467 hooks to allow the internal check hooks to be set up if necessary.
1469 * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
1470 and rename to __yperr2nss_tab. Change YPERR_COUNT into variable
1472 * nis/nss-nis.c: New file.
1473 * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
1474 and rename to __niserr2nss_tab. Change NISERR_COUNT into variable
1476 * nis/nss-nisplus.c: New file.
1477 * nis/Makefile (libnss_compat-routines): Add nss-nis.
1478 (libnss_nis-routines): Likewise.
1479 (libnss_nisplus-routines): Add nss-nisplus.
1481 * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
1482 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1483 * nis/nss_nisplus/nisplus-grp.c: Likewise.
1484 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1485 * nis/nss_nisplus/nisplus-network.c: Likewise.
1486 * nis/nss_nisplus/nisplus-proto.c: Likewise.
1487 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1488 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1489 * nis/nss_nisplus/nisplus-service.c: Likewise.
1490 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1491 * nis/nss_nis/nis-alias.c: Likewise.
1492 * nis/nss_nis/nis-ethers.c: Likewise.
1493 * nis/nss_nis/nis-grp.c: Likewise.
1494 * nis/nss_nis/nis-network.c: Likewise.
1495 * nis/nss_nis/nis-proto.c: Likewise.
1496 * nis/nss_nis/nis-pwd.c: Likewise.
1497 * nis/nss_nis/nis-spwd.c: Likewise.
1498 * nis/nss_compat/compat-grp.c: Likewise.
1499 * nis/nss_compat/compat-initgroups.c: Likewise.
1500 * nis/nss_compat/compat-pwd.c: Likewise.
1501 * nis/nss_compat/compat-spwd.c: Likewise.
1503 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
1504 optimizations. Patch by Jakub Jelinek <jakub@redhat.com>.
1506 2001-04-26 Andreas Jaeger <aj@suse.de>
1508 * po/zh_TW.po: Update.
1509 Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
1511 2001-04-25 Ulrich Drepper <drepper@redhat.com>
1513 * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
1514 compiler command line.
1515 * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
1516 command line for malloc.c.
1518 2001-04-25 Jakub Jelinek <jakub@redhat.com>
1520 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
1521 * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
1522 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
1523 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
1524 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here. Adjust
1525 struct msghdr for __WORDSIZE == 32.
1526 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
1527 * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust
1528 for __WORDSIZE == 32.
1529 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
1530 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
1532 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
1533 Rename from longjmp, make longjmp weak alias to it.
1535 2001-04-24 David S. Miller <davem@redhat.com>
1537 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
1539 2001-04-25 Matthew Wilcox <willy@ldl.fc.hp.com>
1541 * sysdeps/hppa/stackinfo.h: New file.
1542 * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
1543 * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
1544 * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
1545 * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
1546 of PA kernel features.
1548 2001-04-25 Ulrich Drepper <drepper@redhat.com>
1550 * locale/programs/localedef.c (main): Always set a file name for
1552 * locale/programs/locfile.c (locfile_read): filename is allowed to
1555 2001-04-12 Paul Bame <paul_bame@hp.com>
1557 * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
1560 2001-04-24 Ulrich Drepper <drepper@redhat.com>
1562 * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
1563 _XBS5_LPBIG_OFFBIG): Define to -1.
1566 * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
1567 * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
1568 * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1569 * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1571 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
1572 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
1574 2001-03-21 Alan Modra <alan@one.net.au>
1576 * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
1577 value from application so that constructors in non-PIC libs work.
1579 2000-12-13 Jes Sorensen <jes@linuxcare.com>
1581 * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
1582 function pointer, hence load the jump address and gp from the
1583 function pointer before jumping.
1585 2001-04-24 Andreas Jaeger <aj@suse.de>
1587 * sysdeps/generic/send.c (__send): Return ssize_t.
1588 * sysdeps/mach/hurd/send.c (__send): Likewise.
1589 * sysdeps/mach/hurd/recv.c (recv): Likewise.
1590 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
1591 * sysdeps/generic/sendto.c (sendto): Likewise.
1592 * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
1593 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
1594 * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
1595 * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
1597 * socket/sys/socket.h: send* and recv* return ssize_t.
1599 * include/sys/socket.h: send returns ssize_t.
1601 * sysdeps/i386/fpu_control.h: Fix comments.
1603 2001-04-24 Ulrich Drepper <drepper@redhat.com>
1605 * sysdeps/ia64/Dist: Add hp-timing.c.
1606 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
1607 * posix/Makefile (distribute): Add tst-getconf.sh.
1608 * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
1610 2001-04-23 Ulrich Drepper <drepper@redhat.com>
1612 * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
1613 * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
1614 * sysdeps/ia64/hp-timing.c: New file.
1615 * sysdeps/ia64/hp-timing.h: New file.
1616 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
1617 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1619 * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
1620 using #ifdef whether the clock is available.
1621 * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
1623 * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
1624 it into data section.
1626 * sysdeps/unix/i386/i586/clock_getres.c: Removed.
1627 * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
1628 * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
1629 * sysdeps/unix/i386/i586/clock_settime.c: Removed.
1630 * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
1631 * sysdeps/generic/cpuclock-init.h: Removed.
1632 * sysdeps/unix/i386/i686/Implies: Removed.
1633 * sysdeps/unix/i386/i686/tempname.c: Removed.
1634 * sysdeps/i386/i686/Versions: New file.
1635 * sysdeps/unix/i386/i586/Versions: Removed.
1637 * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
1638 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1639 * sysdeps/unix/clock_gettime.c: Likewise.
1640 * sysdeps/unix/clock_nanosleep.c: Likewise.
1641 * sysdeps/unix/clock_settime.c: Likewise.
1642 * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
1643 RANDOM_BITS use CPU clock.
1645 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
1646 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
1647 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
1648 * sysdeps/sparc/Versions: New file.
1650 * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
1651 hp-timing.h definitions.
1652 * sysdeps/generic/dl-sysdep.c: Likewise.
1654 * include/libc-internal.h: Include hp-timing.h. Use hp_timing_t in
1655 __get_clockfreq prototype.
1657 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1658 Use hp_timing_t type.
1659 * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
1661 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
1663 * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
1664 whether named file is a regular file or a block device.
1665 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
1667 2001-04-23 Andreas Jaeger <aj@suse.de>
1669 * nscd/nscd.h: Add noreturn attribute for start_threads.
1671 2001-04-22 Ulrich Drepper <drepper@redhat.com>
1673 * posix/getconf.c: Fix names of XBS5 LFS test variables.
1674 Add missing configuration variables from XPG6.
1675 * posix/tst-getconf.c: New file.
1676 * posix/Makefile (generated): Add tst-getconf.out.
1677 (tests): Add ($objpfx)tst-getconf.out.
1678 Add rule to run tst-getconf.sh.
1679 * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
1681 * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
1683 * sysdeps/posix/pathconf.c: Likewise.
1684 * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
1685 and _SC_SYMLOOP_MAX.
1687 2001-04-22 Philip Blundell <philb@gnu.org>
1689 * sysdeps/arm/fpu/feenablxcpt.c: New file.
1690 * sysdeps/arm/fpu/fedisablxcpt.c: New file.
1691 * sysdeps/arm/fpu/fegetexcpt.c: New file.
1693 2001-04-22 Philip Blundell <philb@gnu.org>
1695 * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
1696 Renamed from struct user_fp.
1697 (struct user_regs): New.
1698 (struct user): Use struct user_regs rather than struct pt_regs to
1699 avoid dependency on asm/ptrace.h. Use struct user_fpregs in place
1700 of struct user_fp and struct user_fp_struct.
1701 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
1704 2001-04-22 Philip Blundell <philb@gnu.org>
1706 * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
1707 sys/procfs.h, and tell the user to include that file instead.
1708 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
1709 surrounded with #if 0.
1710 (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
1712 (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
1713 elf_fpregset_t respectively.
1715 2001-04-22 Philip Blundell <philb@gnu.org>
1717 * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
1718 address that faulted.
1720 2001-04-21 Ulrich Drepper <drepper@redhat.com>
1722 * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
1724 * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
1725 * posix/confstr.c: Handle _CS_POSIX_V6_* values.
1726 * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
1727 * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
1729 * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
1730 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1731 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1732 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
1734 2001-04-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1736 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
1739 2001-04-21 Ulrich Drepper <drepper@redhat.com>
1741 * posix/getopt.h: Treat __cplusplus like __STDC__.
1743 2001-04-20 John S. Marvin <jsm@fc.hp.com>
1745 * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
1748 2001-04-20 Richard Hirst <rhirst@linuxcare.com>
1750 * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
1751 and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
1753 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
1754 entry so the ptrace.c wrapper is used.
1756 2001-04-20 Alan Modra <amodra@one.net.au>
1758 * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
1759 (DL_FUNCTION_ADDRESS): Define.
1760 (DL_DT_INIT_ADDRESS): Define.
1761 (DL_DT_FINI_ADDRESS): Define.
1762 * sysdeps/hppa/Versions: Add _dl_function_address.
1763 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
1764 * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
1765 _dl_function_address.
1767 2001-04-21 Andreas Jaeger <aj@suse.de>
1769 * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
1770 * resolv/gai_misc.c (handle_requests): Likewise.
1771 * malloc/obstack.c (print_and_abort): Likewise.
1772 * malloc/mcheck.c (mabort): Likewise.
1774 * sysdeps/unix/i386/i586/clock_settime.c: Include
1775 "libc-internal.h" for __get_clockfreq declaration.
1777 2001-04-21 Ulrich Drepper <drepper@redhat.com>
1779 * elf/dl-support.c: Include cpuclock-init.h. Use CPUCLOCK_VARDEF and
1780 CPUCLOCK_INIT if defined.
1781 * sysdeps/generic/dl-sysdep.c: Likewise.
1782 * sysdeps/generic/cpuclock-init.h: New file.
1783 * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
1784 * sysdeps/unix/i386/i586/Versions: New file.
1785 * sysdeps/unix/i386/i586/clock_settime.c: New file.
1786 * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
1787 separately by calling __pthread_clock_gettime if this function is
1788 available. Subtract offset from tsc value before computing time value.
1790 2001-04-20 Ulrich Drepper <drepper@redhat.com>
1792 * iconv/iconv_prog.c (print_known_names): If printing goes not to
1793 a tty print in a more machine-friendly way.
1795 * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
1796 Contributed by Stephen L Moshier <moshier@mediaone.net>.
1798 2001-04-20 Andreas Jaeger <aj@suse.de>
1800 * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
1802 2001-04-20 Andreas Schwab <schwab@suse.de>
1804 * sysdeps/m68k/fpu/libm-test-ulps: Update.
1806 2001-04-19 Alan Modra <amodra@one.net.au>
1808 * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
1809 * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
1810 (CFLAGS-.os): Remove.
1812 * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
1814 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
1815 gregset): Correct for new kernel definitions.
1817 2001-04-19 Alan Modra <alan@linuxcare.com.au>
1819 * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
1820 generate unwind info by hand.
1822 2001-04-19 Ulrich Drepper <drepper@redhat.com>
1824 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
1826 * configure.in: Correct regular expression for msgfmt.
1827 Patch by Bruno Haible <haible@ilog.fr>.
1829 2001-04-19 Andreas Jaeger <aj@suse.de>
1831 * po/el.po: Add comment explaining what's broken.
1833 * po/Makefile (BROKEN_LINGUAS): New.
1834 (ALL_LINGUAS): Don't add broken languages.
1836 2001-04-19 Roland McGrath <roland@frob.com>
1838 * sysdeps/mach/hurd/mlock.c: New file.
1839 * sysdeps/mach/hurd/munlock.c: New file.
1840 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
1842 * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
1843 * sysdeps/generic/mlock.c: New file.
1844 * sysdeps/generic/munlock.c: New file.
1845 * sysdeps/generic/mlockall.c: New file.
1846 * sysdeps/generic/munlockall.c: New file.
1847 * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
1848 * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
1849 mlockall, munlockall): Change caller field to - from EXTRA.
1850 Don't use __ names; not used (and not declared in include/sys/mman.h).
1852 * hurd/privports.c (__get_privileged_ports): Renamed with __.
1853 Use __ names for calls we make.
1854 (get_privileged_ports): Add alias.
1855 * hurd/hurd.h: Declare it with the __ name.
1856 * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
1857 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
1858 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
1860 * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
1861 nothing if it's zero.
1863 2001-04-19 Matthew Wilcox <willy@ldl.fc.hp.com>
1865 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
1866 Change to return a signed result for compatibility with other
1867 architectures, and correctness.
1869 2001-04-19 Ulrich Drepper <drepper@redhat.com>
1871 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
1872 HPPA always had them. Patch by Matthew Wilcox <matthew@wil.cx>.
1874 2001-04-19 Andreas Jaeger <aj@suse.de>
1876 * configure.in: Require gettext 0.10.36 or newer.
1878 * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
1880 * po/zh_TW.po: Remove extraneous backslashes.
1882 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
1885 2001-04-18 Jakub Jelinek <jakub@redhat.com>
1887 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
1888 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
1889 * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
1890 * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
1891 Copy first word of uc_sigmask into __uc_sigmask.
1892 * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
1893 Save uc_link around trap. Copy __uc_sigmask into first word of
1894 uc_sigmask, clear the rest. Make sure setcontext to the created
1895 context doesn't do this though.
1896 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
1897 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
1898 uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
1899 64bit version, make uc_sigmask __sigset_t in the 32bit version.
1901 2001-04-19 Andreas Jaeger <aj@suse.de>
1903 * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
1905 * rt/Makefile (otherlibs): Added for static NSS.
1907 * glibcbug.in (BUGGLIBC): Send to new alias.
1909 2001-04-02 Andreas Schwab <schwab@suse.de>
1911 * Makerules (build-module): Make sure exit codes get checked
1912 properly and remove unnecessary slashes.
1914 2001-04-17 Ulrich Drepper <drepper@redhat.com>
1916 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1917 Handle kernels which report only three digits after the decimal point.
1918 Reported by Van Okamura <van.okamura@oracle.com>.
1920 * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
1922 2001-04-17 David S. Miller <davem@redhat.com>
1924 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
1925 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1927 2001-04-17 Jakub Jelinek <jakub@redhat.com>
1929 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
1930 desired exceptions are raised for exceptional values.
1931 * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
1932 cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
1933 clog_test, log_test, log1p_test, tan_test): Increase precision of
1934 expected values to satisfy ldbl-128.
1935 * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
1936 * sysdeps/arm/libm-test-ulps: Likewise.
1937 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1938 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1939 * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
1940 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
1941 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1942 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1943 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1944 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
1945 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1947 2001-04-17 Andreas Jaeger <aj@suse.de>
1949 * configure.in: Move test for critical programs up.
1951 2001-04-16 Stephen L Moshier <moshier@mediaone.net>
1953 * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
1954 Correct the values. (pSx, qSx): Replace by shorter approximation.
1955 Use f suffix on float constants.
1957 2001-04-16 Ulrich Drepper <drepper@redhat.com>
1959 * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
1960 Contributed by Stephen L Moshier <moshier@mediaone.net>.
1962 * string/string.h: Replace const in attribute list with __const__.
1964 2001-04-16 Roland McGrath <roland@frob.com>
1966 * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
1967 instead of the constant NGROUPS_MAX. That way, the limit can be
1968 raised in the kernel configuration without having to recompile libc.
1970 * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
1971 define NGROUPS_MAX; we don't use it here.
1973 2001-04-16 Andreas Jaeger <aj@suse.de>
1975 * math/libm-test.inc (atan2_test): Add more testcases.
1977 * iconv/gconv_db.c: Include gconv_charset.h for
1978 __gconv_lookup_alias prototype.
1980 2001-04-13 Ulrich Drepper <drepper@redhat.com>
1982 * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
1983 Contributed by Stephen L Moshier <moshier@mediaone.net>.
1985 2001-04-13 Jes Sorensen <jes@linuxcare.com>
1987 * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
1989 2001-04-13 Jes Sorensen <jes@linuxcare.com>
1991 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
1992 explicitly pad struct siginfo instead of relying on compiler padding.
1994 2001-04-12 Ulrich Drepper <drepper@redhat.com>
1996 * sysdeps/ia64/Dist: Add elf/entry.h.
1998 * iconvdata/Makefile (distribute): Add TESTS2.
2000 2001-04-13 Jakub Jelinek <jakub@redhat.com>
2002 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
2003 Calculate load address differently.
2005 2001-04-12 Bruno Haible <haible@clisp.cons.org>
2007 * iconvdata/TESTS2: New file.
2008 * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
2009 * iconvdata/testdata/alfabeta..UTF-8: New file.
2010 * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
2011 * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
2012 * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
2013 * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
2015 2001-04-11 Bruno Haible <haible@clisp.cons.org>
2017 * iconvdata/utf-32.c: New file.
2018 * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
2019 * iconvdata/Makefile (modules): Add UTF-32.
2020 (distribute): Add utf-32.c.
2022 2001-04-11 Bruno Haible <haible@clisp.cons.org>
2024 * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
2025 changing it in the state. After incrementing 'inptr', store it back.
2026 * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
2029 2001-04-11 Bruno Haible <haible@clisp.cons.org>
2031 * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
2034 2001-04-11 David Mosberger <davidm@hpl.hp.com>
2036 * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
2037 * sysdeps/ia64/htons.S: Likewise.
2039 * sysdeps/ia64/memset.S: Add unwind directives.
2040 * sysdeps/ia64/strncpy.S: Likewise.
2041 * sysdeps/ia64/strcat.S: Likewise.
2043 * sysdeps/ia64/memccpy.S: Add unwind directives. Drop superfluous
2045 * sysdeps/ia64/strchr.S: Likewise.
2046 * sysdeps/ia64/memmove.S: Likewise.
2047 * sysdeps/ia64/memcpy.S: Likewise.
2048 * sysdeps/ia64/memcmp.S: Likewise.
2049 * sysdeps/ia64/memchr.S: Likewise.
2050 * sysdeps/ia64/strcmp.S: Likewise.
2051 * sysdeps/ia64/strlen.S: Likewise.
2052 * sysdeps/ia64/strcpy.S: Likewise.
2053 * sysdeps/ia64/strncmp.S: Likewise.
2055 2001-04-11 Jakub Jelinek <jakub@redhat.com>
2057 * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
2058 fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
2059 fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
2060 fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
2062 2001-04-11 Andreas Jaeger <aj@suse.de>
2064 * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
2066 2001-04-11 Andreas Schwab <schwab@suse.de>
2068 * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
2070 2001-04-11 Ulrich Drepper <drepper@redhat.com>
2072 * sysdeps/arm/stackinfo.h: New file.
2074 2001-04-08 Thorsten Kukuk <kukuk@suse.de>
2076 * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
2077 rpcgen to generate thread safe code.
2079 2001-04-10 Andreas Jaeger <aj@suse.de>
2081 * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
2083 2001-04-10 Ulrich Drepper <drepper@redhat.com>
2085 * elf/dl-minimal.c (__assert_fail): Change error string. It's
2086 most of the time no bug in ld.so.
2087 (__assert_perror_fail): Likewise.
2089 2001-04-11 Hans-Peter Nilsson <hp@axis.com>
2091 * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
2092 from struct to unsigned int.
2094 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2096 * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
2097 AT_IGNOREPPC): New defines.
2098 * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
2099 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
2100 Define for newer powerpc kernels.
2101 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
2102 DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
2104 2000-4-10 kaz Kojima <kkojima@rr.iij4u.or.jp>
2106 * sysdeps/sh/stackinfo.h: New file.
2108 2001-04-10 Ulrich Drepper <drepper@redhat.com>
2110 * locale/tst-C-locale.c (run_test): Add tests for locale objects.
2111 * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
2112 __ctype_tolower, and __ctype_toupper elements.
2114 * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
2115 Reported by Konstantin Osipov <rabid@spylog.ru>.
2117 * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
2120 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2122 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
2123 * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
2124 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
2125 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
2127 2001-04-10 Ulrich Drepper <drepper@redhat.com>
2129 * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
2130 message. Based on a patch by HJ Lu.
2132 2001-04-10 Andreas Schwab <schwab@suse.de>
2134 * math/libm-test.inc (csinh_test): Don't require the invalid
2135 exception for csinh (x + iNaN), but make it optional.
2137 2001-04-09 David Mosberger <davidm@hpl.hp.com>
2139 * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
2141 * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
2142 * sysdeps/ia64/elf/entry.h: New file.
2143 * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
2145 * elf/rtld.c: Don't declare ENTRY_POINT. Use ENTRY_POINT instead
2147 * sysdeps/generic/dl-sysdep.c: Likewise.
2148 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2149 * sysdeps/ia64/elf/start.S: Save base address of register backing
2150 store in __libc_ia64_register_backing_store_base.
2152 2001-04-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
2154 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
2155 value of getcontext.
2156 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2157 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
2158 value of setcontext.
2159 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2160 * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
2161 call by changing the saved context.
2163 2001-04-10 Ulrich Drepper <drepper@redhat.com>
2165 * sysdeps/alpha/stackinfo.h: New file.
2166 * sysdeps/ia64/stackinfo.h: New file.
2168 2001-04-10 Andreas Schwab <schwab@suse.de>
2170 * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
2172 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
2174 2001-04-09 Ulrich Drepper <drepper@redhat.com>
2176 * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
2177 * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
2179 * libio/Makefile (distribute): Add fd_to_filename.h.
2181 2001-04-05 David S. Miller <davem@redhat.com>
2183 Add hp-timing support for sparcv9/sparc64 targets.
2184 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
2185 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
2186 * sysdeps/sparc/sparc64/hp-timing.c: New file
2187 * sysdeps/sparc/sparc64/hp-timing.h: New file
2188 * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
2189 * sysdeps/sparc/sparc64/Makefile: Likewise.
2191 2001-04-09 Jakub Jelinek <jakub@redhat.com>
2193 * sysdeps/generic/fd_to_filename.h: New file.
2194 * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
2195 * libio/freopen.c (freopen): If FILENAME is NULL, try to get
2196 filename from the open file descriptor.
2197 * libio/freopen64.c (freopen64): Likewise.
2199 2001-04-09 Bruno Haible <haible@clisp.cons.org>
2201 * misc/error.c (error): fflush stdout also if
2202 error_print_progname != NULL.
2203 (error_at_line): Likewise.
2205 2001-04-07 Bruno Haible <haible@clisp.cons.org>
2207 * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
2208 (struct binding): Add codeset_cntr field.
2209 (_nl_load_domain): Add domainbinding argument.
2210 (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
2211 (_nl_find_msg): New declaration, moved here from loadinfo.h.
2212 * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
2213 (_nl_make_l10nflist): Remove domainbinding argument.
2214 (_nl_find_msg): Move declaration to gettextP.h.
2215 * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
2216 to 0. Increment it when ->codeset is changed.
2217 * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
2218 (_nl_find_msg): Add domainbinding argument. Reinitialize the converter
2219 if domainbinding->codeset_cntr has been incremented.
2220 * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
2221 _nl_make_l10nflist(). Pass it to _nl_load_domain() instead.
2222 * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
2223 * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
2224 from _nl_load_domain. Append //TRANSLIT also when using libiconv.
2225 (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
2226 (_nl_load_domain): Add domainbinding argument. Call
2227 _nl_init_domain_conv.
2228 (_nl_unload_domain): Call _nl_free_domain_conv.
2229 * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
2230 (test-srcs): Add tst-codeset.
2231 (tests): Depend on tst-codeset.out.
2232 (tst-codeset.out): New rule.
2233 (CFLAGS-tst-codeset.c): New variable.
2234 * intl/tst-codeset.sh: New file.
2235 * intl/tstcodeset.po: New file.
2236 * intl/tst-codeset.c: New file.
2237 * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
2240 2001-04-07 Roland McGrath <roland@frob.com>
2242 * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
2244 2001-03-31 Roland McGrath <roland@frob.com>
2246 * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
2247 copying send rights into child. When we hit our name for our proc
2248 port, just copy NEWPROC directly instead of repeating proc_task2proc
2249 to install the child's port.
2251 2001-04-08 Roland McGrath <roland@frob.com>
2253 * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
2254 in second column, to provide default values for third column.
2255 * shlib-versions: Add comments about using DEFAULT in second column.
2256 (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
2257 (cris-.*-linux.*): Likewise.
2259 2001-04-09 Ulrich Drepper <drepper@redhat.com>
2261 * Makefile (distribute): Add scripts/documented.sh.
2262 * scripts/documented.sh: New file.
2264 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2266 * sysdeps/unix/sysv/linux/cris/Dist: New file.
2267 * sysdeps/unix/sysv/linux/cris/Makefile: New file.
2268 * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
2269 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
2270 * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
2271 * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
2272 * sysdeps/unix/sysv/linux/cris/brk.c: New file.
2273 * sysdeps/unix/sysv/linux/cris/chown.c: New file.
2274 * sysdeps/unix/sysv/linux/cris/clone.S: New file.
2275 * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
2276 * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
2277 * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
2278 * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
2279 * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
2280 * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
2281 * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
2282 * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
2283 * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
2284 * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
2285 * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
2286 * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
2287 * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
2288 * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
2289 * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
2290 * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
2291 * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
2292 * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
2293 * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
2294 * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
2295 * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
2296 * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
2297 * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
2298 * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
2299 * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
2300 * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
2301 * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
2302 * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
2303 * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
2304 * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
2305 * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
2306 * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
2307 * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
2308 * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
2309 * sysdeps/unix/sysv/linux/cris/socket.S: New file.
2310 * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
2311 * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
2312 * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
2313 * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
2314 * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
2315 * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
2317 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2319 * sysdeps/cris/Dist: New file.
2320 * sysdeps/cris/Implies: New file.
2321 * sysdeps/cris/Makefile: New file.
2322 * sysdeps/cris/__longjmp.S: New file.
2323 * sysdeps/cris/_mcount.S: New file.
2324 * sysdeps/cris/bits/endian.h: New file.
2325 * sysdeps/cris/bits/setjmp.h: New file.
2326 * sysdeps/cris/bits/string.h: New file.
2327 * sysdeps/cris/dl-machine.h: New file.
2328 * sysdeps/cris/elf/start.S: New file.
2329 * sysdeps/cris/machine-gmon.h: New file.
2330 * sysdeps/cris/memcopy.h: New file.
2331 * sysdeps/cris/memusage.h: New file.
2332 * sysdeps/cris/setjmp.S: New file.
2333 * sysdeps/cris/sysdep.h: New file.
2334 * sysdeps/cris/wordcopy.c: New file.
2336 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2338 * elf/elf.h: Add new relocations for CRIS.
2340 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2342 * shlib-versions: Add cases for Linux on CRIS.
2344 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2346 * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
2347 ';' for comments and '@' for line separator.
2349 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2351 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
2352 typo; s/==/=/ for assignment.
2354 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2356 * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
2358 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2360 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
2361 empty input before checking full output.
2363 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2365 * iconv/gconv.c (__gconv): Don't derefer parameter cd before
2368 2001-04-08 Ulrich Drepper <drepper@redhat.com>
2370 * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
2372 2001-04-07 Stephen L Moshier <moshier@mediaone.net>
2374 * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
2377 2001-04-07 Ulrich Drepper <drepper@redhat.com>
2379 * stdlib/tst-setcontext.c (main): Add a test for setcontext.
2381 * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
2382 * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
2383 * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
2384 * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
2385 * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
2386 * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
2388 2001-04-07 Andreas Jaeger <aj@suse.de>
2390 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
2391 instead of separate sin and cos.
2392 (__ieee754_j1l): Likewise.
2394 2001-04-06 Ulrich Drepper <drepper@redhat.com>
2396 * sysdeps/ia64/abort-instr.h: New file. Code by David Mosberger.
2398 * sysdeps/ia64/atomicity.h: New file. Copied from libstdc++.
2400 * sysdeps/i386/i486/atomicity.h: Clean up the asms.
2402 * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
2404 * sysdeps/generic/e_scalbf.c: Likewise.
2405 * sysdeps/generic/e_scalbl.c: Likewise.
2406 Patch by Mark Hatle <fray@mvista.com>.
2408 2001-04-05 David S. Miller <davem@redhat.com>
2410 * sysdeps/sparc/abort-instr.h: New file.
2412 2001-04-05 Matt Wilson <msw@redhat.com>
2414 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
2415 added code to parse new 2.4 format.
2416 (GET_NPROCS_CONF_PARSER): Likewise.
2418 2001-04-05 David S. Miller <davem@redhat.com>
2420 * scripts/config.sub: Recognize sparcv9b like sparcv9.
2421 * configure.in: Add sparcv9b.
2422 * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
2423 * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
2424 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
2426 2001-04-06 David Mosberger <davidm@hpl.hp.com>
2428 * stdlib/tst-setcontext.c: Move st2[] to global scope.
2429 (f2): Verify that stack pointer is inside st2[].
2431 * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
2432 * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
2434 2001-04-06 Ulrich Drepper <drepper@redhat.com>
2436 * timezone/antarctica: Update from tzdata2001b.
2437 * timezone/asia: Likewise.
2438 * timezone/australasia: Likewise.
2439 * timezone/europe: Likewise.
2440 * timezone/northamerica: Likewise.
2442 * iconv/iconv_open.c: Move strip and upstr definitions...
2443 * iconv/gconv_charset.h: ...here. New file.
2444 * iconv/gconv_db.c (once): Move to file level.
2445 (do_lookup_alias): Split out from __gconv_find_transform.
2446 (__gconv_find_transform): Call do_lookup_alias.
2447 (__gconv_loopup_alias): New function.
2448 * locale/langinfo.h: Define _NL_*_CODESET values for all categories
2450 * locale/categories.def: Add entries for new _NL_*_CODESET values.
2451 * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
2452 * locale/C-address.c: Initialize _NL_*_CODESET element.
2453 * locale/C-collate.c: Likewise.
2454 * locale/C-identification.c: Likewise.
2455 * locale/C-measurement.c: Likewise.
2456 * locale/C-messages.c: Likewise.
2457 * locale/C-monetary.c: Likewise.
2458 * locale/C-name.c: Likewise.
2459 * locale/C-numeric.c: Likewise.
2460 * locale/C-paper.c: Likewise.
2461 * locale/C-telephone.c: Likewise.
2462 * locale/C-time.c: Likewise.
2463 * locale/localeinfo.h: Declare _nl_C_codeset.
2464 * locale/C_name.c: Define _nl_C_codeset.
2465 * locale/findlocale.c: Before accepting locale check that the used
2466 charset does not conflict with what the locale name said.
2467 * locale/programs/ld-address.c: Emit codeset information.
2468 * locale/programs/ld-collate.c: Likewise.
2469 * locale/programs/ld-identification.c: Likewise.
2470 * locale/programs/ld-measurement.c: Likewise.
2471 * locale/programs/ld-messages.c: Likewise.
2472 * locale/programs/ld-monetary.c: Likewise.
2473 * locale/programs/ld-name.c: Likewise.
2474 * locale/programs/ld-numeric.c: Likewise.
2475 * locale/programs/ld-paper.c: Likewise.
2476 * locale/programs/ld-telephone.c: Likewise.
2477 * locale/programs/ld-time.c: Likewise.
2479 * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
2480 if the locale data couldn't be found.
2482 * string/Makefile: Define tst-strxfrm-ENV.
2484 * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
2486 2001-04-06 Andreas Jaeger <aj@suse.de>
2488 * include/sys/profil.h: New file.
2490 * dlfcn/modatexit.c: Add prototypes to silence GCC.
2491 * dlfcn/modcxaatexit.c: Likewise.
2492 * elf/globalmod1.c: Likewise.
2494 2001-04-05 David S. Miller <davem@redhat.com>
2496 * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
2497 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
2498 capability flags table and HWCAP_IMPORTANT, increase
2499 _DL_HWCAP_COUNT to 6.
2500 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2502 2001-04-04 David Mosberger <davidm@hpl.hp.com>
2504 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
2505 initialization of stack_end (bug reported by Zheng Gengbin
2506 <gzheng@students.uiuc.edu>).
2508 2001-04-05 Ulrich Drepper <drepper@redhat.com>
2510 * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
2512 2001-04-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2514 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
2516 2001-04-05 Ulrich Drepper <drepper@redhat.com>
2518 * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
2519 * sysdeps/i386/fpu/e_asinl.S: Removed. Too inaccurate.
2521 * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
2523 2001-04-04 Ulrich Drepper <drepper@redhat.com>
2525 * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
2526 define simple replacements here. Patch by Michael Keezer.
2528 * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
2529 * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
2530 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2532 * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
2535 2001-04-01 Andreas Jaeger <aj@suse.de>
2537 * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
2540 * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
2542 2001-04-04 Ulrich Drepper <drepper@redhat.com>
2544 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
2545 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
2547 2001-04-04 Martin Schwidefsky <schwidefsky@de.ibm.com>
2549 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
2550 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
2551 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
2552 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
2553 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
2554 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
2555 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
2556 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
2557 * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
2559 2001-04-04 Andreas Jaeger <aj@suse.de>
2561 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
2564 2001-04-04 Ulrich Drepper <drepper@redhat.com>
2566 * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
2567 * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
2568 * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
2569 (unsigned_dec): Likewise.
2570 Patch by atai@jezebel.dreamhost.com.
2572 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
2573 pointer to int as last parameter of yp_match.
2574 Patch by kanazawa@flab.fujitsu.co.jp.
2576 2001-04-03 Ulrich Drepper <drepper@redhat.com>
2578 * resolv/netdb.h (gai_strerror): Make return value const.
2579 * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
2580 * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
2581 Add strings for new error values.
2583 2001-03-29 Michael Keezer <mkeezer@redhat.com>
2585 * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
2586 * login/tst-utmp.c: Handle case where ut_tv is not available but
2588 * sysdeps/unix/sysv/aix/utmpx.h: New file.
2589 * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
2590 _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
2591 * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
2592 * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
2593 to access RTCU timer reg.
2594 * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
2595 added dl-libc, dl-open,dl-sym, dl-close to misc.
2596 * sysdeps/unix/sysv/aix/start.c: New file. Start code.
2597 * sysdeps/unix/sysv/aix/dlldr.h: New file. AIX __loadx defines.
2598 * sysdeps/unix/sysv/aix/dl-close.c: New file. AIX dl-close.
2599 * sysdeps/unix/sysv/aix/dl-open.c: New file. AIX dl-open.
2600 * sysdeps/unix/sysv/aix/dl-sym.c: New file. AIX dl-sym.
2601 * sysdeps/unix/sysv/aix/dl-libc.c: New file. libc_dl-xxx support.
2602 * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
2604 * sysdeps/generic/strtoull.c: Likewise.
2605 * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
2606 * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
2607 sysdeps/generic/memset.c.
2608 * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
2610 2001-04-03 Ulrich Drepper <drepper@redhat.com>
2612 * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
2613 * locale/programs/charmap.c: Define null_pointer if
2614 NEED_NULL_POINTER is defined.
2616 * misc/dirname.c (dirname): Handle multiple slashes correctly.
2618 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
2620 * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
2622 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
2624 * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
2625 * sysdeps/s390/s390-64/bcopy.S: Likewise.
2626 * sysdeps/s390/s390-32/mempcy.S: Likewise.
2627 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2629 2001-04-02 Bruno Haible <haible@clisp.cons.org>
2631 * manual/message.texi (Advanced gettext functions): More specific
2632 syntax in the plural formula examples.
2634 2001-04-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2636 * sysdeps/powerpc/atomicity.h: Silence warnings.
2637 * sysdeps/powerpc/dl-machine.h: Likewise.
2638 * sysdeps/powerpc/register-dump.h: Likewise.
2639 * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
2641 2001-04-02 Andreas Jaeger <aj@suse.de>
2643 * misc/tst-dirname.c (main): Add more tests, derived from a bug
2644 report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2646 2001-04-01 Andreas Jaeger <aj@suse.de>
2648 * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
2650 * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
2652 2001-04-01 H.J. Lu <hjl@gnu.org>
2654 * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
2656 * stdlib/isomac.c (macrofile): Likewise.
2658 2001-03-30 Thorsten Kukuk <kukuk@suse.de>
2660 * inet/rcmd.c: Allow AF_UNSPEC as parameter.
2661 * nis/ypclnt.c (yp_all): Print error message only at last try,
2662 check for protocoll error only if we don't have a network error.
2664 2001-04-02 Andreas Schwab <schwab@suse.de>
2666 * resolv/res_data.c (res_isourserver): Fix cast.
2668 2001-04-02 Andreas Jaeger <aj@suse.de>
2670 * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
2673 * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
2675 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
2677 * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
2679 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
2681 * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
2682 warning about unused variable.
2684 * string/string.h (strndupa): Add cast for C++ conformance.
2685 (strdupa): Likewise.
2686 Fixes PR libc/2173, reported by tbrowder@home.com.
2688 2001-03-30 Roland McGrath <roland@frob.com>
2690 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
2691 options after $(build-module), which is no longer a single command.
2692 (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
2693 (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
2694 variables using it. Reported by Mark Kettenis <kettenis@gnu.org>.
2696 2001-03-11 Roland McGrath <roland@frob.com>
2698 * elf/rtld.c (dl_main): Add cast to quiet warning.
2699 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2700 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
2701 (__gconv_read_conf): Likewise.
2702 * iconv/gconv_db.c (gen_steps): Likewise.
2703 (__gconv_find_transform): Likewise.
2704 * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
2705 (fopen_uncompressed): Use const in second argument's type.
2707 2001-03-11 Roland McGrath <roland@frob.com>
2709 * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
2711 * mach/mach_error.h: Fix ancient #endif syntax.
2712 * hurd/hurdmalloc.c: Likewise.
2714 * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
2715 compare_and_swap): Add volatile qualifier to first arg, to bring
2716 these prototypes in line with all the other implementations.
2717 Add a #warning to remind the builder that these are not atomic.
2719 2001-03-04 Roland McGrath <roland@frob.com>
2721 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
2722 member of TEMP_F so its type is _IO_FILE * as expected.
2724 * hurd/fopenport.c (seekio): Conditionalize type of POS argument
2725 on [USE_IN_LIBIO]. Check the value for overflow, since for libio
2726 it might exceed off_t's range.
2728 2001-02-25 Roland McGrath <roland@frob.com>
2730 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
2731 * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
2733 * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
2734 macro instead of an inline function,
2735 (MSG_EXAMINE): Likewise.
2737 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
2739 * hurd/get-host.c: Include <string.h> for decls of built-ins.
2740 * hurd/hurdchdir.c: Likewise.
2741 * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
2742 * sysdeps/mach/hurd/opendir.c: Likewise.
2744 * mach/mach_init.c: Include <unistd.h> for _exit decl.
2746 * mach/errsystems.awk: Give output file a trailing newline.
2748 * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
2749 the script will use our compiler for the cpp stage.
2751 With --enable-all-warnings we get a whole bunch of warnings,
2752 and these are just a few fixes; there are more needed to silence it.
2753 * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
2754 decls before extern inline defns to quiet gcc warning.
2755 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
2756 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
2758 2001-03-31 Andreas Jaeger <aj@suse.de>
2760 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
2761 (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
2762 (ARPHRD_CISCO): New.
2763 Changes from Linux 2.4.3.
2765 2001-03-30 Isamu Hasegawa <isamu@yamato.ibm.com>
2767 * posix/regex.c: Avoid an access violation if malloc fails.
2769 2001-03-30 Andreas Jaeger <aj@suse.de>
2771 * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
2773 2001-03-29 Ulrich Drepper <drepper@redhat.com>
2775 * posix/regex.c: Remove unnecessary ifs.
2777 * math/bits/mathcalls.h: Remove infnan declaration.
2779 2001-03-29 H.J. Lu <hjl@gnu.org>
2781 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
2782 and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
2783 * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
2785 2001-03-29 Isamu Hasegawa <isamu@yamato.ibm.com>
2787 * posix/regex.c: Fix typo and add a sentinel.
2789 2001-03-29 Ulrich Drepper <drepper@redhat.com>
2791 * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
2792 O_NOFOLLOW. Suggested by Christoph Roland.
2794 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
2796 * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
2797 * sysdeps/s390/s390-32/bits/string.h: Remove.
2798 * sysdeps/s390/s390-64/bits/string.h: Remove.
2799 * sysdeps/s390/s390-32/strcmp.S: New file.
2800 * sysdeps/s390/s390-64/strcmp.S: New file.
2802 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
2804 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
2805 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2807 2001-03-27 Ulrich Drepper <drepper@redhat.com>
2809 * version.h (VERSION): Bump to 2.2.3.
2811 * stdlib/isomac.c (fmt): Don't define _LIBC.
2812 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
2813 LOW_HALF only if _LIBC is defined.
2815 * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
2817 * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
2819 * posix/tst-fnmatch.input: Add test cases for matching empty strings.
2821 * sysdeps/ieee754/dbl-64/endian.h: Removed. Move definitions...
2822 * include/endian.h: ...to here.
2824 2001-03-27 kaz Kojima <kkojima@rr.iij4u.or.jp>
2826 * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
2827 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
2829 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
2831 * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
2833 2001-03-26 Ulrich Drepper <drepper@redhat.com>
2835 * sysdeps/ia64/fpu/Dist: Add new files to distribute.
2836 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
2837 * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
2839 * gmon/Makefile (headers): Add sys/profil.h.
2841 2001-03-18 Andreas Jaeger <aj@suse.de>
2843 * manual/install.texi (Tools for Compilation): Advise to use GCC
2845 (Supported Configurations): Mention s390x.
2847 2001-03-26 Ben Collins <bcollins@debian.org>
2849 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
2850 defines to match other architectures.
2852 2001-03-26 Ulrich Drepper <drepper@redhat.com>
2854 * libio/Makefile (tests): Add tst-ext.
2855 * libio/tst-ext.c: New file.
2857 * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
2859 2001-03-25 Ulrich Drepper <drepper@redhat.com>
2861 Add changes which were in this form in the original patch by
2862 Eric Norum <eric.norum@usask.ca>.
2863 * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
2865 * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
2866 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
2867 __rpc_thread_svc_max_pollfd.
2868 Define svc_fdset, get_rpc_createerr, svc_pollfd, and
2870 * sunrpc/rpc_thread.c: Handle first thread special, it uses the
2872 Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
2873 __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
2874 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_svc_fdset,
2875 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
2876 __rpc_thread_svc_max_pollfd.
2877 * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
2879 * sunrpc/clnt_perr.c: Likewise.
2880 * sunrpc/clnt_simp.c: Likewise.
2881 * sunrpc/clnt_tcp.c: Likewise.
2882 * sunrpc/clnt_udp.c: Likewise.
2883 * sunrpc/clnt_unix.c: Likewise.
2884 * sunrpc/pm_getport.c: Likewise.
2886 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
2887 syscall checks for negative n so don't test here as well.
2889 2001-03-23 Jes Sorensen <jes@linuxcare.com>
2891 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
2892 * sysdeps/ia64/sysdep.h: ...here.
2894 * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
2895 * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
2897 * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
2898 declare instead of LEAF(). Suggestion from David Mosberger.
2900 2001-03-21 David Mosberger <davidm@hpl.hp.com>
2902 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
2904 (PSEUDO): Drop .psr and .lsb directives.
2906 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto. Add unwind
2908 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
2910 * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
2912 * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
2913 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
2914 * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
2915 longer needed). Add unwind directives.
2917 * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
2918 ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
2920 2001-03-21 Paul Eggert <eggert@twinsun.com>
2922 * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
2923 (RE_SYNTAX_POSIX_EGREP): Use it.
2924 * posix/regex.c (regex_compile): Implement it.
2926 2001-03-21 Paul Eggert <eggert@twinsun.com>
2928 * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
2929 Rewrite to avoid duplicate code.
2931 2001-03-21 H.J. Lu <hjl@gnu.org>
2933 * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
2934 for cross-compiling.
2935 ($(objpfx)tst-pathopt.out): Undo the last change.
2937 2001-03-24 Mark Kettenis <kettenis@gnu.org>
2939 * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
2940 sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
2942 * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
2943 (_dl_argv): Declare.
2944 (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
2946 2001-03-22 Andreas Jaeger <aj@suse.de>
2948 * iconvdata/Makefile (generated): Add iconv-test.xxx.
2950 * posix/Makefile (generated): Add bug-regex2.mtrace and
2953 2001-03-21 Ulrich Drepper <drepper@redhat.com>
2955 * csu/version.c (__gnu_get_libc_release): Add prototype.
2956 (__gnu_get_libc_version): Likewise.
2957 * include/gnu/libc-version.h: Remove prototypes for not exported
2960 2001-03-21 Jes Sorensen <jes@linuxcare.com>
2962 * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
2963 for internationalized printfs to work.
2965 2001-03-09 Bruno Haible <haible@clisp.cons.org>
2967 * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
2968 avoid compiler warning.
2969 (_nl_find_msg): Add casts to avoid compiler warnings.
2971 2001-03-21 Ulrich Drepper <drepper@redhat.com>
2973 * gmon/Makefile (routines): Add sprofil.
2974 (tests): Add tst-sprofil.
2975 (noprof): Add sprofil.
2976 * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
2978 2001-03-20 David Mosberger <davidm@hpl.hp.com>
2980 * sysdeps/generic/sprofil.c: New file.
2981 * sysdeps/posix/sprofil.c: New file.
2982 * gmon/tst-sprofil.c: New file.
2983 * gmon/sys/profil.h: New file.
2985 2001-03-20 Andreas Schwab <schwab@suse.de>
2987 * include/unistd.h: Adjust prototype of __gethostname.
2989 2001-03-20 Jakub Jelinek <jakub@redhat.com>
2991 * sysdeps/sparc/stackinfo.h: New file.
2993 2001-03-21 Andreas Jaeger <aj@suse.de>
2995 * elf/global.c (main): Use proper prototype.
2997 2001-03-20 Ulrich Drepper <drepper@redhat.com>
2999 * sunrpc/Makefile (routines): Add rpc_thread.
3000 (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
3001 * sunrpc/rpc_thread.c: New file.
3002 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
3003 * sunrpc/auth_none.c: Don't use global variables. Access state in
3004 thread-local storage.
3005 * sunrpc/clnt_perr.c: Likewise.
3006 * sunrpc/clnt_raw.c: Likewise.
3007 * sunrpc/clnt_simp.c: Likewise.
3008 * sunrpc/key_call.c: Likewise.
3009 * sunrpc/rpc_common.c: Likewise.
3010 * sunrpc/svc.c: Likewise.
3011 * sunrpc/svc_raw.c: Likewise.
3012 * sunrpc/svc_simple.c: Likewise.
3013 * sunrpc/svcauth_des.c: Likewise.
3014 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3015 _HURD_THREADVAR_RPC_VARS.
3016 * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
3017 * include/rpc/rpc.h: Define data structures for internal thread-local
3019 Based on patches by Eric Norum <eric.norum@usask.ca>.
3021 * elf/dl-load.c: Various little optimizations.
3023 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
3024 LINUX_LINK_MAX only if the statfs function is not implemented for
3027 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
3028 LINUX_LINK_MAX only if the fstatfs function is not implemented for
3031 2001-03-19 Ulrich Drepper <drepper@redhat.com>
3033 * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
3035 * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
3036 (_dl_dst_substitute): Likewise.
3038 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3040 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
3042 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3044 * intl/gettextP.h (struct expression): Add operators lnot, less_than,
3045 greater_than, less_or_equal, greater_or_equal. Replace args2/args3
3046 union by a 'nargs' counter and an 'args[]' array.
3047 * intl/plural.y: Don't include stdarg.h.
3048 (new_exp): Take an array of arguments instead of varargs.
3049 (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
3050 ('?' ':'): Make right-associative.
3051 (EQUOP2): New token, replaces '=' and '!'.
3052 (CMPOP2): New token.
3053 (ADDOP2): New token, replaces '+' and '-'.
3054 (MULOP2): New token, replaces '*', '/' and '%'.
3056 (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
3057 (start): Call YYABORT here.
3058 (FREE_EXPRESSION): Update.
3059 (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
3060 Update for new token symbols.
3061 * intl/loadmsgcat.c (plvar, plone, germanic_plural,
3062 init_germanic_plural): Update.
3063 * intl/dcigettext.c (_nl_find_msg): Optimize for space.
3064 (plural_eval): Recognize comparison and '!' operators. Optimize for
3067 2001-03-10 Bruno Haible <haible@clisp.cons.org>
3069 * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
3072 2001-01-05 Bruno Haible <haible@clisp.cons.org>
3074 * intl/loadmsgcat.c: Include headers needed for alloca().
3076 (_nl_load_domain): Add fallback code for platforms lacking alloca.
3077 * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
3079 (read_alias_file): Simplify fallback code for platforms lacking
3082 2001-01-07 Bruno Haible <haible@clisp.cons.org>
3084 * intl/gettextP.h (__gettextdebug): Remove declaration.
3085 (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
3087 (gettext_free_exp__, gettextparse__): New non-libc declarations.
3088 * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
3089 not __gettextparse, __gettext_free_exp.
3090 * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
3092 2001-02-24 Bruno Haible <haible@clisp.cons.org>
3094 * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
3096 2001-01-05 Bruno Haible <haible@clisp.cons.org>
3098 * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
3099 lacking strtoul, like SunOS4.
3101 2001-01-05 Bruno Haible <haible@clisp.cons.org>
3103 * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
3105 2001-01-05 Bruno Haible <haible@clisp.cons.org>
3107 * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
3109 * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
3110 * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
3111 * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
3114 2001-01-07 Bruno Haible <haible@clisp.cons.org>
3116 * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
3117 bindtextdomain__, bind_textdomain_codeset__): New declarations, from
3119 * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
3120 * intl/dcgettext.c: Likewise.
3121 * intl/dcigettext.c: Likewise.
3122 * intl/dcngettext.c: Likewise.
3123 * intl/dngettext.c: Likewise.
3124 * intl/finddomain.c: Likewise.
3125 * intl/ngettext.c: Likewise.
3126 * intl/textdomain.c: Likewise.
3127 * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
3129 * intl/gettext.c: Likewise. Don't include locale.h.
3131 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3133 * intl/gettextP.h (ZERO): New macro.
3134 (struct binding): Always use ZERO.
3135 * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
3136 lack it, like SunOS4.
3137 (set_binding_values): Use offsetof, not sizeof.
3138 * intl/dcigettext.c (offsetof): Provide fallback for platforms that
3139 lack it, like SunOS4.
3140 (ZERO): Remove macro.
3141 (struct transmem_list): Use ZERO.
3142 (DCIGETTEXT): Use offsetof, not sizeof.
3144 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3146 * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
3148 * intl/bindtextdom.c: Don't include gettext.h.
3149 * intl/dcgettext.c: Likewise.
3150 * intl/dcigettext.c: Likewise.
3151 * intl/dcngettext.c: Likewise.
3152 * intl/dngettext.c: Likewise.
3153 * intl/finddomain.c: Likewise.
3154 * intl/localealias.c: Likewise.
3155 * intl/ngettext.c: Likewise.
3156 * intl/plural.y: Likewise.
3157 * intl/textdomain.c: Likewise.
3159 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3161 * intl/gettext.h: Don't include <stdio.h>.
3163 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3165 * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
3166 * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
3168 2001-03-19 Ulrich Drepper <drepper@redhat.com>
3170 * sysdeps/unix/i386/i686/tempname.c: New file.
3172 * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
3173 defined use this macro to get some bits of randomness instead of
3174 the usual gettimeofday or time calls.
3176 2001-03-16 Paul Eggert <eggert@twinsun.com>
3178 * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
3179 not defined, and if UINT64_MAX is not defined.
3181 2001-03-19 Ulrich Drepper <drepper@redhat.com>
3183 * elf/cache.c: Mark and have translated a few more messages.
3185 2001-03-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
3187 * elf/cache.c: Add case for FLAG_S390_LIB64.
3188 * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
3189 * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
3190 * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
3192 2001-03-19 Ulrich Drepper <drepper@redhat.com>
3194 * string/Makefile (tests): Add tst-strxfrm.
3195 * string/tst-strxfrm.c: New file. Based on a test case by Paul Eggert.
3196 * string/Depend: New file.
3198 2001-03-19 Paul Eggert <eggert@twinsun.com>
3200 * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
3201 when given the empty string in nontrivial locales.
3203 2001-03-17 H.J. Lu <hjl@gnu.org>
3205 * manual/Makefile (install): Use $(INSTALL_DATA) instead of
3206 cp to install `dir'.
3208 2001-03-19 Andreas Schwab <schwab@suse.de>
3210 * Makerules (build-shlib): Make sure exit codes get checked
3213 2001-03-18 Ulrich Drepper <drepper@redhat.com>
3215 * Makerules (build-shlib): Remove unnecessary slashes introduced in
3218 * configure.in: Test for -Bgroup option of linker.
3219 * config.make.in: Define have-Bgroup.
3221 * conform/data/unistd.h-data: Require gethostname.
3222 * posix/unistd.h: Make gethostname prototype available for
3225 * crypt/Makefile: When generating DSO link with libc_nonshared.a.
3226 * debug/Makefile: Likewise.
3227 * dlfcn/Makefile: Likewise.
3228 * hesiod/Makefile: Likewise.
3229 * iconvdata/extra-module.mk: Likewise.
3230 * locale/Makefile: Likewise.
3231 * login/Makefile: Likewise.
3232 * math/Makefile: Likewise.
3233 * nis/Makefile: Likewise.
3234 * nss/Makefile: Likewise.
3235 * resolv/Makefile: Likewise.
3236 * rt/Makefile: Likewise.
3238 2001-03-17 Ulrich Drepper <drepper@redhat.com>
3240 * inet/Makefile (tests): Remove left-over comment.
3242 * posix/unistd.h (gethostname): Change type of second parameter
3243 back to size_t as per upcoming XPG6.
3244 * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
3245 parameter back to size_t as per upcoming XPG6.
3246 * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
3247 * sysdeps/unix/sysv/gethostname.c: Likewise.
3248 * sysdeps/mach/hurd/gethostname.c: Likewise.
3249 * sysdeps/generic/gethostname.c: Likewise.
3251 2001-03-16 Ulrich Drepper <drepper@redhat.com>
3253 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3256 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
3259 2001-02-06 Jakub Jelinek <jakub@redhat.com>
3261 * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
3262 looking for name matches.
3264 2001-02-26 Jakub Jelinek <jakub@redhat.com>
3266 * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
3267 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
3268 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
3269 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3270 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
3271 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
3272 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
3273 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
3274 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
3275 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
3276 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
3277 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
3279 2001-03-16 Ulrich Drepper <drepper@redhat.com>
3281 * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
3282 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3284 * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
3286 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3288 2001-03-16 David Mosberger <davidm@hpl.hp.com>
3290 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
3291 Drop hack that was needed for 2.1.1 kernel headers.
3293 * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
3295 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
3296 overlay with kernel's "struct sigcontext".
3298 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
3299 sys/rse.h for "misc" subdir.
3300 (sysdep_routines): Add __start_context for "stdlib" subdir.
3302 * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
3303 kernel file of the same name).
3305 * stdlib/Makefile (tests): Add tst-setcontext.
3306 * stdlib/tst-setcontext.c: New file (based on a sample program by
3309 * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
3310 * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
3311 * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
3312 * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
3313 * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
3315 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
3316 instead of shift & and.
3318 2001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
3320 * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
3321 * sysdeps/s390/bits/huge_val.h: ...here.
3322 * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
3323 * sysdeps/s390/s390-64/ffs.c: Move to...
3324 * sysdeps/s390/ffs.c: ...here.
3325 * sysdeps/s390/s390-32/ffs.c: Remove.
3327 2001-03-16 Jakub Jelinek <jakub@redhat.com>
3329 * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
3330 update osversion from more recent library.
3332 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3334 * sysdeps/unix/sysv/linux/s390/Dist: Move to...
3335 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
3336 * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
3337 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
3338 * sysdeps/unix/sysv/linux/s390/Versions: Move to...
3339 * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
3340 * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
3341 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
3342 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
3343 * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
3344 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
3345 * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
3346 * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
3347 * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
3348 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
3349 * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
3350 * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
3351 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
3352 * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
3353 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
3354 * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
3355 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
3356 * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
3357 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
3358 * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
3359 * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
3360 * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
3361 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
3362 * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
3363 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
3364 * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
3365 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
3366 * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
3367 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
3368 * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
3369 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
3370 * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
3371 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
3372 * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
3373 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
3374 * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
3375 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
3376 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
3377 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
3378 * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
3379 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
3380 * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
3381 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
3382 * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
3383 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
3384 * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
3385 * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
3386 * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
3387 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
3388 * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
3389 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
3390 * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
3391 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
3392 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
3393 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
3394 * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
3395 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
3396 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
3397 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
3398 * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
3399 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
3400 * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
3401 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
3402 * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
3403 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
3404 * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
3405 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
3406 * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
3407 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
3408 * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
3409 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
3410 * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
3411 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
3412 * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
3413 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
3414 * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
3415 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
3416 * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
3417 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
3418 * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
3419 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
3420 * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
3421 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
3422 * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
3423 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
3424 * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
3425 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
3426 * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
3427 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
3428 * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
3429 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
3430 * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
3431 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
3432 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
3433 * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
3434 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
3435 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
3436 * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
3437 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
3438 * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
3439 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
3440 * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
3441 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
3442 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3443 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
3444 * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
3445 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
3446 * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
3447 * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
3449 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3451 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
3452 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
3453 * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
3454 * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
3455 * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
3456 * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
3457 * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
3458 * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
3459 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
3460 * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
3461 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
3462 * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
3463 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
3464 * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
3465 * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
3466 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
3467 * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
3468 * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
3469 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
3470 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
3471 * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
3472 * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
3473 * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
3474 * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
3475 * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
3476 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
3477 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
3478 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
3479 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
3480 * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
3481 * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
3482 * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
3483 * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
3484 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
3485 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
3486 * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
3487 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
3488 * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
3489 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
3490 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
3491 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
3492 * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
3493 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
3494 * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
3495 * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
3496 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
3497 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
3498 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
3499 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
3500 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
3501 * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
3502 * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
3503 * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
3505 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3507 * sysdeps/s390/Dist: Move to...
3508 * sysdeps/s390/390-32/Dist: ...here.
3509 * sysdeps/s390/Implies: Move to...
3510 * sysdeps/s390/s390-32/Implies: ...here.
3511 * sysdeps/s390/Makefile: Move to...
3512 * sysdeps/s390/s390-32/Makefile: ...here.
3513 * sysdeps/s390/Versions: Move to...
3514 * sysdeps/s390-32/s390/Versions: ...here.
3515 * sysdeps/s390/add_n.S: Move to...
3516 * sysdeps/s390/s390-32/add_n.S: ...here.
3517 * sysdeps/s390/addmul_1.S: Move to...
3518 * sysdeps/s390/s390-32/addmul_1.S: ...here.
3519 * sysdeps/s390/atomicity.h: Move to...
3520 * sysdeps/s390/s390-32/atomicity.h: ...here.
3521 * sysdeps/s390/backtrace.c: Move to...
3522 * sysdeps/s390/s390-32/backtrace.c: ...here.
3523 * sysdeps/s390/bcopy.S: Move to...
3524 * sysdeps/s390/s390-32/bcopy.S: ...here.
3525 * sysdeps/s390/bits/byteswap.h: Move to...
3526 * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
3527 * sysdeps/s390/bits/huge_val.h: Move to...
3528 * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
3529 * sysdeps/s390/bsd-_setjmp.S: Move to...
3530 * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
3531 * sysdeps/s390/bsd-setjmp.S: Move to...
3532 * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
3533 * sysdeps/s390/bzero.S: Move to...
3534 * sysdeps/s390/s390-32/bzero.S: ...here.
3535 * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
3536 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
3537 * sysdeps/s390/elf/bsd-setjmp.S: Move to...
3538 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
3539 * sysdeps/s390/elf/start.S: Move to...
3540 * sysdeps/s390/s390-32/elf/start.S: ...here.
3541 * sysdeps/s390/ffs.c: Move to...
3542 * sysdeps/s390/s390-32/ffs.c: ...here.
3543 * sysdeps/s390/memchr.S: Move to...
3544 * sysdeps/s390/s390-32/memchr.S: ...here.
3545 * sysdeps/s390/memcpy.S: Move to...
3546 * sysdeps/s390/s390-32/memcpy.S: ...here.
3547 * sysdeps/s390/memset.S: Move to...
3548 * sysdeps/s390/s390-32/memset.S: ...here.
3549 * sysdeps/s390/mul_1.S: Move to...
3550 * sysdeps/s390/s390-32/mul_1.S: ...here.
3551 * sysdeps/s390/s390-mcount.S: Move to...
3552 * sysdeps/s390/s390-32/s390-mcount.S: ...here.
3553 * sysdeps/s390/strcpy.S: Move to...
3554 * sysdeps/s390/s390-32/strcpy.S: ...here.
3555 * sysdeps/s390/strncpy.S: Move to...
3556 * sysdeps/s390/s390-32/strncpy.S: ...here.
3557 * sysdeps/s390/sub_n.S: Move to...
3558 * sysdeps/s390/s390-32/sub_n.S: ...here.
3560 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3562 * sysdeps/s390/s390-64/Dist: New file.
3563 * sysdeps/s390/s390-64/Implies: New file.
3564 * sysdeps/s390/s390-64/Makefile: New file.
3565 * sysdeps/s390/s390-64/__longjmp.c: New file.
3566 * sysdeps/s390/s390-64/add_n.S: New file.
3567 * sysdeps/s390/s390-64/atomicity.h: New file.
3568 * sysdeps/s390/s390-64/backtrace.c: New file.
3569 * sysdeps/s390/s390-64/bcopy.S: New file.
3570 * sysdeps/s390/s390-64/bits/byteswap.h: New file.
3571 * sysdeps/s390/s390-64/bits/huge_val.h: New file.
3572 * sysdeps/s390/s390-64/bits/setjmp.h: New file.
3573 * sysdeps/s390/s390-64/bits/string.h: New file.
3574 * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
3575 * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
3576 * sysdeps/s390/s390-64/bzero.S: New file.
3577 * sysdeps/s390/s390-64/dl-machine.h: New file.
3578 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
3579 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
3580 * sysdeps/s390/s390-64/elf/setjmp.S: New file.
3581 * sysdeps/s390/s390-64/elf/start.S: New file.
3582 * sysdeps/s390/s390-64/ffs.c: New file.
3583 * sysdeps/s390/s390-64/initfini.c: New file.
3584 * sysdeps/s390/s390-64/memchr.S: New file.
3585 * sysdeps/s390/s390-64/memcpy.S: New file.
3586 * sysdeps/s390/s390-64/memset.S: New file.
3587 * sysdeps/s390/s390-64/s390x-mcount.S: New file.
3588 * sysdeps/s390/s390-64/setjmp.S: New file.
3589 * sysdeps/s390/s390-64/strcpy.S: New file.
3590 * sysdeps/s390/s390-64/strncpy.S: New file.
3591 * sysdeps/s390/s390-64/sub_n.S: New file.
3592 * sysdeps/s390/s390-64/sysdep.h: New file.
3594 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3596 * scripts/config.guess: Add support for Linux on 64 bit S/390.
3597 * scripts/config.sub: Likewise.
3599 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3601 * configure.in: Add support for 64 bit S/390.
3603 * elf/elf.h: Add new relocations for 64 bit S/390.
3605 * shlib-versions: Add rules for Linux on 64 bit S/390.
3607 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3609 * sysdeps/s390/__longjmp.c: Move to...
3610 * sysdeps/s390/s390-32/__longjmp.c: ...here. Add code
3611 to load the floating point registers that should be saved
3612 according to the ABI.
3614 * sysdeps/s390/bits/setjmp.h: Move to...
3615 * sysdeps/s390/s390-32/bits/setjmp.h: ...here. Avoid
3616 the use of long long in the __jmp_buf type definition.
3618 * sysdeps/s390/bits/string.h: Move to...
3619 * sysdeps/s390/s390-32/bits/string.h: ...here. Add several missing
3620 #ifndef _FORCE_INLINES.
3622 * sysdeps/s390/dl-machine.h: Move to...
3623 * sysdeps/s390/s390-32/dl-machine.h: ...here. Add a check for the
3624 executables EI_CLASS in elf_machine_matches_host.
3626 * sysdeps/s390/elf/setjmp.S: Move to...
3627 * sysdeps/s390/s390-32/elf/setjmp.S: ...here. Replace
3628 branches to globally defined symbol __sigsetjmp by branches to
3629 a local label (this avoids the generation of a R_390_PC16DBL
3630 relocation in -fpic code).
3632 * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
3633 calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
3635 * sysdeps/s390/initfini.c: Move to...
3636 * sysdeps/s390/s390-32/initfini.c: ...here. Replace ALIGN with
3639 * sysdeps/s390/setjmp.S: Move to...
3640 * sysdeps/s390/s390-32/setjmp.S: ...here. Add code to store the
3641 floating point registers that should be saved according to the ABI.
3643 * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
3645 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3646 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
3647 sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
3649 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3651 * configure.in: Change machine=s390 to machine=s390/s390-32.
3653 * elf/elf.h: Correct comment for R_390_PLT16DBL.
3655 2001-03-12 Jakub Jelinek <jakub@redhat.com>
3657 * csu/Makefile (abi-tag.h): Define OS and version separately, allow
3658 version to be overriden from config.h.
3659 * csu/abi-note.S: Use OS and version separately, include config.h.
3660 * elf/dl-load.c (_dl_osversion): New.
3661 (_dl_map_object_from_fd): Kill some warnings.
3662 (open_verify): Check .note.ABI-tag of the library if present.
3663 * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
3664 * elf/cache.c (struct cache_entry): Add osversion.
3665 (print_entry): Print osversion.
3666 (print_cache): Pass osversion to it.
3667 (compare): Sort according to osversion.
3668 (save_cache): Set osversion.
3669 (add_to_cache): Add osversion argument.
3670 * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
3671 process_elf_file): Add osversion argument.
3672 * elf/readlib.c (process_file): Likewise.
3673 * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
3674 * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
3675 process_elf32_file, process_elf64_file): Likewise.
3676 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
3677 process_elf32_file, process_elf64_file): Likewise.
3678 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
3679 process_elf32_file, process_elf64_file): Likewise.
3680 * elf/ldconfig.c (manual_link): Pass it.
3681 (search_dir): Issue diagnostic if two libs with the same soname in
3682 the same directory have different .note.ABI-tag. Record osversion in
3683 dlib_entry and use it from there.
3684 (struct lib_entry): Remove.
3685 (struct dlib_entry): Add osversion.
3686 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
3688 * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
3689 field with osversion.
3690 * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
3691 * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
3692 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
3693 version in _dl_osversion.
3694 * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
3695 * Makerules (build-shlib-helper, build-module-helper): New.
3696 (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
3698 * config.h.in (__ABI_TAG_VERSION): Add.
3699 * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
3700 * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
3701 Handle LD_ASSUME_KERNEL.
3702 * sysdeps/unix/sysv/linux/dl-librecon.h: New.
3704 2001-03-15 Ulrich Drepper <drepper@redhat.com>
3706 * timezone/antarctica: Update from tzdata2001a.
3707 * timezone/asia: Likewise.
3708 * timezone/australasia: Likewise.
3709 * timezone/backward: Likewise.
3710 * timezone/etcetera: Likewise.
3711 * timezone/europe: Likewise.
3712 * timezone/leapseconds: Likewise.
3713 * timezone/northamerica: Likewise.
3714 * timezone/southamerica: Likewise.
3715 * timezone/systemv: Likewise.
3716 * timezone/yearistype: Likewise.
3717 * timezone/zone.tab: Likewise.
3718 * timezone/tzdump.c: Update from tzcode2001a.
3720 2001-03-15 H.J. Lu <hjl@gnu.org>
3722 * intl/Makefile: Fix a typo.
3724 2001-03-14 David Mosberger <davidm@hpl.hp.com>
3726 * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
3727 writing arc structures.
3729 2001-03-15 H.J. Lu <hjl@gnu.org>
3731 * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
3734 2001-03-13 Andreas Schwab <schwab@suse.de>
3736 * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
3738 2001-03-15 Ulrich Drepper <drepper@redhat.com>
3740 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
3741 for control message fitting into message data.
3742 Patch by James Antill <james@and.org>.
3744 * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
3747 * posix/fnmatch_loop.c: Optimize handling of ?() and @().
3748 * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
3750 * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
3751 * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
3752 avoid running binaries with libc versions without FNM_EXTMATCH support.
3754 * include/wchar.h: Add prototype for __wcscat.
3755 * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
3757 * posix/fnmatch.h (FNM_EXTMATCH): Define.
3758 * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
3759 (posixly_correct): Move global variable here.
3760 (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
3761 (fnmatch): Pretty printing.
3762 * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
3763 * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
3764 * posix/tst-fnmatch.input: Add tests for extended matching.
3766 * posix/testfnm.c: Add test for patterns with multiple ** before /.
3767 * posix/fnmatch_loop.c: Fix problem with the test above.
3769 2001-03-14 Ulrich Drepper <drepper@redhat.com>
3771 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
3774 * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
3776 2001-03-12 Andreas Jaeger <aj@suse.de>
3778 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3779 Use EM_X86_64 instead of EM_X8664.
3781 2001-03-12 Ulrich Drepper <drepper@redhat.com>
3783 * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
3785 * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
3788 * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
3791 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
3795 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
3797 (__ieee754_acos): Likewise.
3799 2001-03-12 Andreas Jaeger <aj@suse.de>
3801 * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
3802 Fix typo. Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
3804 * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
3807 2001-03-11 Roland McGrath <roland@frob.com>
3809 * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
3811 2001-03-11 Ulrich Drepper <drepper@redhat.com>
3813 * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
3816 * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
3819 Last-bit accurate math library implementation by IBM Haifa.
3820 Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
3821 <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
3822 Anna Reitman <reitman@il.ibm.com>.
3823 * math/Makefile (dbl-only-routines): New variable.
3824 (libm-routines): Add $(dbl-only-routines).
3825 * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
3826 * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
3828 * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
3830 * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
3832 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
3834 * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
3836 * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
3837 remainder implementation.
3838 * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
3840 * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
3842 * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
3843 * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
3844 * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
3846 * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
3847 * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
3849 * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
3851 * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
3853 * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
3854 * sysdeps/ieee754/dbl-64/MathLib.h: New file.
3855 * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
3856 * sysdeps/ieee754/dbl-64/atnat.h: New file.
3857 * sysdeps/ieee754/dbl-64/atnat2.h: New file.
3858 * sysdeps/ieee754/dbl-64/branred.c: New file.
3859 * sysdeps/ieee754/dbl-64/branred.h: New file.
3860 * sysdeps/ieee754/dbl-64/dla.h: New file.
3861 * sysdeps/ieee754/dbl-64/doasin.c: New file.
3862 * sysdeps/ieee754/dbl-64/doasin.h: New file.
3863 * sysdeps/ieee754/dbl-64/dosincos.c: New file.
3864 * sysdeps/ieee754/dbl-64/dosincos.h: New file.
3865 * sysdeps/ieee754/dbl-64/endian.h: New file.
3866 * sysdeps/ieee754/dbl-64/halfulp.c: New file.
3867 * sysdeps/ieee754/dbl-64/mpa.c: New file.
3868 * sysdeps/ieee754/dbl-64/mpa.h: New file.
3869 * sysdeps/ieee754/dbl-64/mpa2.h: New file.
3870 * sysdeps/ieee754/dbl-64/mpatan.c: New file.
3871 * sysdeps/ieee754/dbl-64/mpatan.h: New file.
3872 * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
3873 * sysdeps/ieee754/dbl-64/mpexp.c: New file.
3874 * sysdeps/ieee754/dbl-64/mpexp.h: New file.
3875 * sysdeps/ieee754/dbl-64/mplog.c: New file.
3876 * sysdeps/ieee754/dbl-64/mplog.h: New file.
3877 * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
3878 * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
3879 * sysdeps/ieee754/dbl-64/mptan.c: New file.
3880 * sysdeps/ieee754/dbl-64/mydefs.h: New file.
3881 * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
3882 * sysdeps/ieee754/dbl-64/root.tbl: New file.
3883 * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
3884 * sysdeps/ieee754/dbl-64/sincos32.c: New file.
3885 * sysdeps/ieee754/dbl-64/sincos32.h: New file.
3886 * sysdeps/ieee754/dbl-64/slowexp.c: New file.
3887 * sysdeps/ieee754/dbl-64/slowpow.c: New file.
3888 * sysdeps/ieee754/dbl-64/uasncs.h: New file.
3889 * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
3890 * sysdeps/ieee754/dbl-64/uexp.h: New file.
3891 * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
3892 * sysdeps/ieee754/dbl-64/ulog.h: New file.
3893 * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
3894 * sysdeps/ieee754/dbl-64/upow.h: New file.
3895 * sysdeps/ieee754/dbl-64/upow.tbl: New file.
3896 * sysdeps/ieee754/dbl-64/urem.h: New file.
3897 * sysdeps/ieee754/dbl-64/uroot.h: New file.
3898 * sysdeps/ieee754/dbl-64/usncs.h: New file.
3899 * sysdeps/ieee754/dbl-64/utan.h: New file.
3900 * sysdeps/ieee754/dbl-64/utan.tbl: New file.
3901 * sysdeps/i386/fpu/branred.c: New file.
3902 * sysdeps/i386/fpu/doasin.c: New file.
3903 * sysdeps/i386/fpu/dosincos.c: New file.
3904 * sysdeps/i386/fpu/halfulp.c: New file.
3905 * sysdeps/i386/fpu/mpa.c: New file.
3906 * sysdeps/i386/fpu/mpatan.c: New file.
3907 * sysdeps/i386/fpu/mpatan2.c: New file.
3908 * sysdeps/i386/fpu/mpexp.c: New file.
3909 * sysdeps/i386/fpu/mplog.c: New file.
3910 * sysdeps/i386/fpu/mpsqrt.c: New file.
3911 * sysdeps/i386/fpu/mptan.c: New file.
3912 * sysdeps/i386/fpu/sincos32.c: New file.
3913 * sysdeps/i386/fpu/slowexp.c: New file.
3914 * sysdeps/i386/fpu/slowpow.c: New file.
3915 * sysdeps/ia64/fpu/branred.c: New file.
3916 * sysdeps/ia64/fpu/doasin.c: New file.
3917 * sysdeps/ia64/fpu/dosincos.c: New file.
3918 * sysdeps/ia64/fpu/halfulp.c: New file.
3919 * sysdeps/ia64/fpu/mpa.c: New file.
3920 * sysdeps/ia64/fpu/mpatan.c: New file.
3921 * sysdeps/ia64/fpu/mpatan2.c: New file.
3922 * sysdeps/ia64/fpu/mpexp.c: New file.
3923 * sysdeps/ia64/fpu/mplog.c: New file.
3924 * sysdeps/ia64/fpu/mpsqrt.c: New file.
3925 * sysdeps/ia64/fpu/mptan.c: New file.
3926 * sysdeps/ia64/fpu/sincos32.c: New file.
3927 * sysdeps/ia64/fpu/slowexp.c: New file.
3928 * sysdeps/ia64/fpu/slowpow.c: New file.
3929 * sysdeps/m68k/fpu/branred.c: New file.
3930 * sysdeps/m68k/fpu/doasin.c: New file.
3931 * sysdeps/m68k/fpu/dosincos.c: New file.
3932 * sysdeps/m68k/fpu/halfulp.c: New file.
3933 * sysdeps/m68k/fpu/mpa.c: New file.
3934 * sysdeps/m68k/fpu/mpatan.c: New file.
3935 * sysdeps/m68k/fpu/mpatan2.c: New file.
3936 * sysdeps/m68k/fpu/mpexp.c: New file.
3937 * sysdeps/m68k/fpu/mplog.c: New file.
3938 * sysdeps/m68k/fpu/mpsqrt.c: New file.
3939 * sysdeps/m68k/fpu/mptan.c: New file.
3940 * sysdeps/m68k/fpu/sincos32.c: New file.
3941 * sysdeps/m68k/fpu/slowexp.c: New file.
3942 * sysdeps/m68k/fpu/slowpow.c: New file.
3944 * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
3947 2001-03-11 Andreas Jaeger <aj@suse.de>
3949 * elf/elf.h (EM_*): Synch with official list.
3951 2001-03-07 David Mosberger <davidm@hpl.hp.com>
3953 * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
3955 2001-03-07 Jes Sorensen <jes@linuxcare.com>
3957 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
3958 variables addr & len.
3960 2001-02-22 Jes Sorensen <jes@linuxcare.com>
3962 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
3963 punctuation in asm constraint.
3965 2001-03-07 Mark Kettenis <kettenis@gnu.org>
3967 * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
3968 <time.h> to get definition of `struct timespec'.
3970 2001-03-08 Jakub Jelinek <jakub@redhat.com>
3972 * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
3973 LD_WARN=1, not if LD_WARN is unset.
3975 2001-03-07 Andreas Schwab <schwab@suse.de>
3977 * elf/ldconfig.h: Moved to ...
3978 * sysdeps/generic/ldconfig.h: ... here.
3979 * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
3980 * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
3981 * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
3982 * elf/readlib.c (interpreters, known_libs): Use
3983 SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
3984 instead of hard coding old names.
3986 2001-03-09 Ulrich Drepper <drepper@redhat.com>
3988 * catgets/Makefile (generated): Add test-gencat.h.
3989 (sample.SJIS.cat): Also generate header.
3990 * catgets/sample.SJIS: Add new set and message, both with symbolic
3992 * catgets/test-gencat.sh: Also compare generated header with what
3995 2001-03-07 Jakub Jelinek <jakub@redhat.com>
3997 * catgets/gencat.c (read_input_file): Preserve properly symbolic
4000 2001-03-06 Andreas Jaeger <aj@suse.de>
4002 * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
4004 (elf_machine_pltrel_p): Likewise.
4005 * sysdeps/powerpc/dl-machine.h: Likewise.
4006 * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
4008 2001-03-09 Ulrich Drepper <drepper@redhat.com>
4010 * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
4013 2001-03-05 Philip Blundell <philb@gnu.org>
4015 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
4016 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
4017 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
4018 (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
4021 2001-03-09 Ulrich Drepper <drepper@redhat.com>
4023 * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
4025 * dlfcn/tstcxaatexit.c (main): Likewise.
4027 2001-03-10 Andreas Jaeger <aj@suse.de>
4029 * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
4031 2001-03-09 Andreas Jaeger <aj@suse.de>
4033 * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
4034 both new and old EM_S390 values.
4035 (EM_S390_OLD): New constant.
4037 * elf/elf.h (EM_S390): Use official value.
4039 2001-03-09 Ulrich Drepper <drepper@redhat.com>
4041 * conform/data/sys/socket.h-data: Allow SO* symbols.
4043 2001-03-07 Andreas Schwab <schwab@suse.de>
4045 * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
4046 routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
4048 2001-03-07 Andreas Jaeger <aj@suse.de>
4050 * resolv/Makefile (routines): Only build gai_sigqueue when threads
4053 2001-03-07 Jakub Jelinek <jakub@redhat.com>
4055 * elf/ldconfig.c (_dl_sysdep_message): Remove.
4056 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
4058 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
4060 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
4061 _dl_error_printf instead of _dl_sysdep_error.
4062 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4063 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
4064 Use _dl_printf instead of _dl_sysdep_message.
4065 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
4068 2001-03-06 Ben Collins <bcollins@debian.org>
4070 * manual/arith.texi (Integers): Fix documentation of fast and
4071 least integer typedefs.
4073 2001-03-06 Jakub Jelinek <jakub@redhat.com>
4075 * resolv/Depend: New file.
4076 * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
4077 when libpthread is built.
4079 2001-03-06 Andreas Jaeger <aj@suse.de>
4081 * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
4083 * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
4084 Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
4086 2001-03-05 Ulrich Drepper <drepper@redhat.com>
4088 * stdlib/Versions: Remove __new_exitfn again. Not needed.
4090 2001-03-05 Andreas Jaeger <aj@suse.de>
4092 * stdlib/msort.c (qsort): Don't use alloca in a function call.
4094 2001-03-05 Ulrich Drepper <drepper@redhat.com>
4096 * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
4097 __S_TYPEISSHM): Rewrite to enforce correct use the macros. They still
4099 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4100 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
4101 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4102 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
4103 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4104 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4105 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4107 2001-03-04 Andreas Jaeger <aj@suse.de>
4109 * stdlib/longlong.h: Don't use multi-line strings.
4110 * iconvdata/tst-loading.c: Likewise.
4112 * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
4115 2001-03-04 Ulrich Drepper <drepper@redhat.com>
4117 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
4119 * rt/lio_listio.c: Add a few asserts.
4121 * elf/global.c: New file.
4122 * elf/globalmod1.c: New file.
4123 * elf/Makefile: Add rules to build and run global.
4125 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
4126 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4127 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4128 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4129 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4131 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
4132 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4134 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
4136 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
4137 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4139 * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
4141 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
4143 2001-03-04 Andreas Jaeger <aj@suse.de>
4145 * resolv/tst-aton.c: Add testcase for IP with four periods.
4147 * resolv/inet_addr.c: Don't recognize an IP with four periods.
4148 Patch by Andre' Breiler <A.Breiler@gmx.net>.
4150 2001-02-27 Philip Blundell <pb@futuretv.com>
4152 * elf/elf.h: Add new ARM definitions from latest (B-01)
4153 specification. Correct naming of EF_ARM_ALIGN8 et al.
4155 2001-03-04 Ulrich Drepper <drepper@redhat.com>
4157 * stdio-common/tst-printf.sh: Remove bashisms.
4158 Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
4160 2001-03-03 Ulrich Drepper <drepper@redhat.com>
4162 * Versions.def: Add libanl definition.
4163 * shlib-versions: Add entry for libanl.
4164 * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
4165 (routines): Add gai_sigqueue.
4166 (extra-libs): Add libanl.
4167 (libanl-routines): New variable.
4168 Add rules to build libanl and ga_test.
4169 * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
4170 [libanl]: New library.
4171 * resolv/netdb.h: Add definitions for libanl.
4172 * resolv/getaddrinfo_a.c: New file.
4173 * resolv/gai_cancel.c: New file.
4174 * resolv/gai_error.c: New file.
4175 * resolv/gai_misc.c: New file.
4176 * resolv/gai_misc.h: New file.
4177 * resolv/gai_notify.c: New file.
4178 * resolv/gai_suspend.c: New file.
4179 * resolv/ga_test.c: New file.
4180 * sysdeps/generic/gai_sigqueue.c: New file.
4181 * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
4182 * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
4183 and provide only that definition.
4184 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
4185 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
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 * rt/aio_misc.c: Fix typos in comments.
4192 * rt/lio_listio.c: Pretty printing. Little optimization in request
4195 * elf/rtld.c: Remove commented out code.
4197 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
4198 Update for real 2.4 kernels.
4200 2001-03-01 Ulrich Drepper <drepper@redhat.com>
4202 * elf/dl-load.c: Pretty printing.
4204 * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
4207 2001-02-28 Ulrich Drepper <drepper@redhat.com>
4209 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
4210 relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
4212 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
4214 * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
4217 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
4219 2001-02-27 Ulrich Drepper <drepper@redhat.com>
4221 * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
4224 * elf/Versions [ld]: Don't export _dl_debug_message anymore. Export
4226 * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
4227 _dl_debug_message. Define _dl_debug_vdprintf, _dl_debug_printf,
4228 _dl_debug_printf_c, and _dl_printf.
4229 * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
4230 _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
4231 _dl_sysdep_fatal. Declare _dl_debug_printf, _dl_debug_printf_c,
4232 _dl_printf, _dl_error_printf, and _dl_fatal_printf.
4233 * elf/dl-close.c: Replace use of old output functions with the new
4235 * elf/dl-deps.c: Likewise.
4236 * elf/dl-error.c: Likewise.
4237 * elf/dl-fini.c: Likewise.
4238 * elf/dl-init.c: Likewise.
4239 * elf/dl-load.c: Likewise.
4240 * elf/dl-lookup.c: Likewise.
4241 * elf/dl-minimal.c: Likewise.
4242 * elf/dl-open.c: Likewise.
4243 * elf/dl-profile.c: Likewise.
4244 * elf/dl-reloc.c: Likewise.
4245 * elf/dl-version.c: Likewise.
4246 * elf/do-lookup.h: Likewise.
4247 * elf/rtld.c: Likewise.
4248 * sysdeps/generic/dl-cache.c: Likewise.
4249 * sysdeps/generic/dl-sysdep.c: Likewise.
4250 * sysdeps/generic/libc-start.c: Likewise.
4251 * sysdeps/i386/dl-machine.h: Likewise.
4252 * sysdeps/arm/dl-machine.h: Likewise.
4253 * sysdeps/hppa/dl-machine.h: Likewise.
4254 * sysdeps/m68k/dl-machine.h: Likewise.
4255 * sysdeps/powerpc/dl-machine.h: Likewise.
4256 * sysdeps/s390/dl-machine.h: Likewise.
4257 * sysdeps/sh/dl-machine.h: Likewise.
4258 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4259 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
4260 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4262 * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
4264 * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
4265 supported by assembler.
4267 * sysdeps/generic/ldsodefs.h: Remove commented-out variable
4270 * elf/rtld.c: Little optimizations in handling _dl_lazy.
4272 * elf/cache.c (save_cache): Portability changes.
4273 * elf/dl-profile.c (_dl_start_profile): Likewise.
4275 * elf/sln.c: Cleanups. Remove arbitrary limits.
4277 * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
4278 * elf/dl-deps.c: Likewise.
4279 * elf/dl-fini.c: Likewise.
4280 * elf/dl-init.c: Likewise.
4281 * elf/dl-load.c: Likewise.
4282 * elf/dl-lookup.c: Likewise.
4283 * elf/dl-open.c: Likewise.
4284 * elf/dl-reloc.c: Likewise.
4285 * elf/dl-support.c: Likewise.
4286 * elf/dl-version.c: Likewise.
4287 * elf/do-lookup.h: Likewise.
4288 * elf/rtld.c: Likewise.
4289 * sysdeps/generic/dl-cache.c: Likewise.
4290 * sysdeps/generic/ldsodefs.h: Likewise.
4291 * sysdeps/generic/libc-start.c: Likewise.
4292 * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
4293 Export _dl_debug_mask.
4294 * Versions.def: Define GLIBC_2.2.3 for ld.
4296 2001-02-26 Greg McGary <greg@mcgary.org>
4298 * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
4300 2001-02-26 Paul Eggert <eggert@twinsun.com>
4302 Modify mkstemp.c and tempname.c so that they can be used by
4303 GNU applications on non-glibc platforms.
4305 * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
4307 * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
4308 Include <stddef.h>, <stdint.h>, <string.h> only if
4309 STDC_HEADERS || _LIBC.
4310 Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
4311 Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
4312 Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
4313 (__set_errno): Define this macro if <errno.h> doesn't.
4314 (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
4315 Define these macros if <stdio.h> doesn't.
4316 (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
4317 Define these macros if <sys/stat.h> doesn't.
4318 Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
4319 (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
4320 lxstat64, __xstat64): Define if not _LIBC.
4321 (struct_stat64): New macro.
4322 (direxists, __gen_tempname): Use it, to avoid a
4323 portability problem with Solaris 8.
4324 (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
4325 (__gen_tempname): Invoke gettimeofday only if
4326 HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
4327 Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
4328 octal values like 0600.
4330 2001-02-26 Ulrich Drepper <drepper@redhat.com>
4332 * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
4333 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4335 * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
4336 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4338 * posix/wordexp-test.c (testit): Remove warnings.
4340 * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
4341 (tests): Add tstatexit and tstcxaatexit.
4342 (module-names): Add modatexit and modcxaatexit.
4343 Add rules to build and run tstatexit and tstcxaatexit.
4344 * dlfcn/modatexit.c: New file.
4345 * dlfcn/modcxaatexit.c: New file.
4346 * dlfcn/tstatexit.c: New file.
4347 * dlfcn/tstcxaatexit.c: New file.
4349 * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
4350 .hidden is available.
4351 * io/stat.c: If .hidden is available use it to avoid exporting
4353 * io/fstat.c: Likewise.
4354 * io/lstat.c: Likewise.
4355 * io/stat64.c: Likewise.
4356 * io/fstat64.c: Likewise.
4357 * io/lstat64.c: Likewise.
4358 * sysdeps/generic/mknod.c: Likewise.
4360 * malloc/mtrace.c: Use __cxa_atexit and not atexit.
4361 * sysdeps/generic/bb_init_func.c: Likewise.
4362 * sysdeps/generic/libc-start.c: Likewise.
4364 * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
4365 (atexit): Implement using __cxa_atexit.
4366 Use .hidden if availble to avoid exporting atexit.
4367 * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
4368 * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
4369 * stdlib/Makefile (routines): Add old_atexit.
4370 (static-only-routines): Add atexit.
4371 Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
4372 * stdlib/old_atexit.c: New file.
4374 * intl/Makefile: Remove bogus endif.
4376 2001-02-26 Andreas Jaeger <aj@suse.de>
4378 * iconvdata/Makefile (tests): Fix typo in last patch.
4380 * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
4382 Reported by Achim Gottinger <achim@gentoo.org>.
4384 2001-02-25 Andreas Jaeger <aj@suse.de>
4386 * intl/Makefile (plural.c): Reorder rules so that they work if
4387 BISON doesn't exist.
4389 2001-02-25 Ulrich Drepper <drepper@redhat.com>
4391 * intl/locale.alias: Don't use nb_NO but define aliases for it.
4393 2001-02-23 Ulrich Drepper <drepper@redhat.com>
4395 * sysdeps/i386/strtok.S: Continue to return NULL after the first
4398 2001-02-23 Andreas Jaeger <aj@suse.de>
4400 * string/tester.c (test_strtok_r): Add testcase.
4401 (test_strtok_r): Always initialize cp for proper checking.
4403 * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
4404 returning NULL correctly.
4405 Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
4406 * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
4408 2001-02-23 Ulrich Drepper <drepper@redhat.com>
4410 * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
4411 including <stddef.h>.
4412 * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
4413 * include/libc-symbols.h (weak_alias): Don't use .weak if
4414 HAVE_ASM_GLOBAL_DOT_NAME is defined.
4415 Patches by Michael Keezer <mkeezer@redhat.com>.
4417 * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
4418 Patch by Michael Keezer <mkeezer@redhat.com>.
4420 * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
4421 * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
4422 (sysdep_routines): Remove restf.S and savef.S.
4423 * sysdeps/unix/sysv/aix/restf.S. Removed.
4424 * sysdeps/unix/sysv/aix/savef.S. Removed.
4425 * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label. Also define
4426 alternative names used on some platforms.
4427 * sysdeps/powerpc/fprsave.S: Likewise.
4428 * sysdeps/powerpc/gprrest0.S: Likewise.
4429 * sysdeps/powerpc/gprrest1.S: Likewise.
4430 * sysdeps/powerpc/gprsave0.S: Likewise.
4431 * sysdeps/powerpc/gprsave1.S: Likewise.
4432 Patch by Michael Keezer <mkeezer@redhat.com>.
4434 2001-02-22 Ulrich Drepper <drepper@redhat.com>
4436 * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
4438 2001-02-22 Andreas Jaeger <aj@suse.de>
4440 * string/tst-strtok.c (main): Fix error messages.
4442 2001-02-22 Andreas Jaeger <aj@suse.de>
4444 * math/Makefile: Remove omit-long-double-fcts.
4446 2001-02-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4448 * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
4449 avoid problems on MIPS I.
4450 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
4452 * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
4455 2001-02-21 Ulrich Drepper <drepper@redhat.com>
4457 * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
4459 * sysdeps/generic/ftime.c: Include <time.h>.
4461 * configure.in: Don't check for libgd if user passed --without-gd.
4462 Patch by Achim Gottinger <achim@gentoo.org>.
4464 * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
4465 first time this happened.
4466 * string/Makefile (tests): Add tst-strtok.
4468 2001-02-21 Andreas Jaeger <aj@suse.de>
4470 * string/tst-strtok.c: New testcase, reported by
4471 Andrew Church <achurch@achurch.org>.
4473 2001-02-20 Ulrich Drepper <drepper@redhat.com>
4475 * libio/iofwide.c: Remove fwide alias.
4477 2001-02-20 Andreas Jaeger <aj@suse.de>
4479 * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
4481 Reported by Achim Gottinger <achim@gentoo.org>.
4483 2001-02-19 Ulrich Drepper <drepper@redhat.com>
4485 * iconv/tst-iconv1.c (main): Remove debugging code.
4487 * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
4488 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4490 * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
4492 * sysdeps/generic/e_scalbf.c: Likewise.
4493 * sysdeps/generic/e_scalbl.c: Likewise.
4495 * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
4496 libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
4498 (routines): Replace libm_error with libc_libm_error.
4499 * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
4500 * sysdeps/ia64/fpu/libc_libm_error.c: New file.
4502 2001-02-18 Mark Kettenis <kettenis@gnu.org>
4504 * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
4505 (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
4507 2001-02-17 H.J. Lu <hjl@gnu.org>
4509 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
4510 scratch registers across the system call.
4512 2001-02-19 Andreas Jaeger <aj@suse.de>
4514 * malloc/Makefile (tests): Run mtrace only when perl is available.
4515 Reported by Achim Gottinger <achim@gentoo.org>.
4517 2001-02-19 Ulrich Drepper <drepper@redhat.com>
4519 * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
4520 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4522 * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
4523 * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
4524 * math/libm-test.inc (j1_test): Mark constants as long double.
4525 (jn_test): Likewise.
4526 (y1_test): Likewise.
4527 (yn_test): Likewise.
4529 * libio/iogetline.c: Move return until after last statement.
4531 * localedata/show-ucs-data.c: Don't show < > for better readability.
4533 * sysdeps/ia64/fpu/Dist: New file.
4534 * sysdeps/ia64/fpu/Makefile: New file.
4535 * sysdeps/ia64/fpu/Versions: New file.
4536 * sysdeps/ia64/fpu/e_acos.S: New file.
4537 * sysdeps/ia64/fpu/e_acosf.S: New file.
4538 * sysdeps/ia64/fpu/e_acosl.S: New file.
4539 * sysdeps/ia64/fpu/e_asin.S: New file.
4540 * sysdeps/ia64/fpu/e_asinf.S: New file.
4541 * sysdeps/ia64/fpu/e_asinl.S: New file.
4542 * sysdeps/ia64/fpu/e_atan2.S: New file.
4543 * sysdeps/ia64/fpu/e_atan2f.S: New file.
4544 * sysdeps/ia64/fpu/e_atan2l.c: New file.
4545 * sysdeps/ia64/fpu/e_cosh.S: New file.
4546 * sysdeps/ia64/fpu/e_coshf.S: New file.
4547 * sysdeps/ia64/fpu/e_coshl.S: New file.
4548 * sysdeps/ia64/fpu/e_exp.S: New file.
4549 * sysdeps/ia64/fpu/e_expf.S: New file.
4550 * sysdeps/ia64/fpu/e_expl.c: New file.
4551 * sysdeps/ia64/fpu/e_fmod.S: New file.
4552 * sysdeps/ia64/fpu/e_fmodf.S: New file.
4553 * sysdeps/ia64/fpu/e_fmodl.S: New file.
4554 * sysdeps/ia64/fpu/e_hypot.S: New file.
4555 * sysdeps/ia64/fpu/e_hypotf.S: New file.
4556 * sysdeps/ia64/fpu/e_hypotl.S: New file.
4557 * sysdeps/ia64/fpu/e_log.S: New file.
4558 * sysdeps/ia64/fpu/e_log10.c: New file.
4559 * sysdeps/ia64/fpu/e_log10f.c: New file.
4560 * sysdeps/ia64/fpu/e_log10l.c: New file.
4561 * sysdeps/ia64/fpu/e_logf.S: New file.
4562 * sysdeps/ia64/fpu/e_logl.c: New file.
4563 * sysdeps/ia64/fpu/e_pow.S: New file.
4564 * sysdeps/ia64/fpu/e_powf.S: New file.
4565 * sysdeps/ia64/fpu/e_powl.S: New file.
4566 * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
4567 * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
4568 * sysdeps/ia64/fpu/e_remainder.S: New file.
4569 * sysdeps/ia64/fpu/e_remainderf.S: New file.
4570 * sysdeps/ia64/fpu/e_remainderl.S: New file.
4571 * sysdeps/ia64/fpu/e_scalb.S: New file.
4572 * sysdeps/ia64/fpu/e_scalbf.S: New file.
4573 * sysdeps/ia64/fpu/e_scalbl.S: New file.
4574 * sysdeps/ia64/fpu/e_sinh.S: New file.
4575 * sysdeps/ia64/fpu/e_sinhf.S: New file.
4576 * sysdeps/ia64/fpu/e_sinhl.S: New file.
4577 * sysdeps/ia64/fpu/e_sqrt.S: New file.
4578 * sysdeps/ia64/fpu/e_sqrtf.S: New file.
4579 * sysdeps/ia64/fpu/e_sqrtl.S: New file.
4580 * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
4581 * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
4582 * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
4583 * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
4584 * sysdeps/ia64/fpu/libm_error.c: New file.
4585 * sysdeps/ia64/fpu/libm_frexp4.S: New file.
4586 * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
4587 * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
4588 * sysdeps/ia64/fpu/libm_reduce.S: New file.
4589 * sysdeps/ia64/fpu/libm_support.h: New file.
4590 * sysdeps/ia64/fpu/libm_tan.S: New file.
4591 * sysdeps/ia64/fpu/s_atan.S: New file.
4592 * sysdeps/ia64/fpu/s_atanf.S: New file.
4593 * sysdeps/ia64/fpu/s_atanl.S: New file.
4594 * sysdeps/ia64/fpu/s_cbrt.S: New file.
4595 * sysdeps/ia64/fpu/s_cbrtf.S: New file.
4596 * sysdeps/ia64/fpu/s_cbrtl.S: New file.
4597 * sysdeps/ia64/fpu/s_ceil.S: New file.
4598 * sysdeps/ia64/fpu/s_ceilf.S: New file.
4599 * sysdeps/ia64/fpu/s_ceill.S: New file.
4600 * sysdeps/ia64/fpu/s_cos.S: New file.
4601 * sysdeps/ia64/fpu/s_cosf.S: New file.
4602 * sysdeps/ia64/fpu/s_cosl.S: New file.
4603 * sysdeps/ia64/fpu/s_expm1.S: New file.
4604 * sysdeps/ia64/fpu/s_expm1f.S: New file.
4605 * sysdeps/ia64/fpu/s_expm1l.S: New file.
4606 * sysdeps/ia64/fpu/s_floor.S: New file.
4607 * sysdeps/ia64/fpu/s_floorf.S: New file.
4608 * sysdeps/ia64/fpu/s_floorl.S: New file.
4609 * sysdeps/ia64/fpu/s_frexp.c: New file.
4610 * sysdeps/ia64/fpu/s_frexpf.c: New file.
4611 * sysdeps/ia64/fpu/s_frexpl.c: New file.
4612 * sysdeps/ia64/fpu/s_ilogb.S: New file.
4613 * sysdeps/ia64/fpu/s_ilogbf.S: New file.
4614 * sysdeps/ia64/fpu/s_ilogbl.S: New file.
4615 * sysdeps/ia64/fpu/s_ldexp.S: New file.
4616 * sysdeps/ia64/fpu/s_ldexpf.S: New file.
4617 * sysdeps/ia64/fpu/s_ldexpl.S: New file.
4618 * sysdeps/ia64/fpu/s_log1p.S: New file.
4619 * sysdeps/ia64/fpu/s_log1pf.S: New file.
4620 * sysdeps/ia64/fpu/s_log1pl.S: New file.
4621 * sysdeps/ia64/fpu/s_logb.S: New file.
4622 * sysdeps/ia64/fpu/s_logbf.S: New file.
4623 * sysdeps/ia64/fpu/s_logbl.S: New file.
4624 * sysdeps/ia64/fpu/s_matherrf.c: New file.
4625 * sysdeps/ia64/fpu/s_matherrl.c: New file.
4626 * sysdeps/ia64/fpu/s_modf.S: New file.
4627 * sysdeps/ia64/fpu/s_modff.S: New file.
4628 * sysdeps/ia64/fpu/s_modfl.S: New file.
4629 * sysdeps/ia64/fpu/s_nearbyint.S: New file.
4630 * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
4631 * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
4632 * sysdeps/ia64/fpu/s_rint.S: New file.
4633 * sysdeps/ia64/fpu/s_rintf.S: New file.
4634 * sysdeps/ia64/fpu/s_rintl.S: New file.
4635 * sysdeps/ia64/fpu/s_round.S: New file.
4636 * sysdeps/ia64/fpu/s_roundf.S: New file.
4637 * sysdeps/ia64/fpu/s_roundl.S: New file.
4638 * sysdeps/ia64/fpu/s_scalbn.S: New file.
4639 * sysdeps/ia64/fpu/s_scalbnf.S: New file.
4640 * sysdeps/ia64/fpu/s_scalbnl.S: New file.
4641 * sysdeps/ia64/fpu/s_significand.S: New file.
4642 * sysdeps/ia64/fpu/s_significandf.S: New file.
4643 * sysdeps/ia64/fpu/s_significandl.S: New file.
4644 * sysdeps/ia64/fpu/s_sin.c: New file.
4645 * sysdeps/ia64/fpu/s_sincos.c: New file.
4646 * sysdeps/ia64/fpu/s_sincosf.c: New file.
4647 * sysdeps/ia64/fpu/s_sincosl.c: New file.
4648 * sysdeps/ia64/fpu/s_sinf.c: New file.
4649 * sysdeps/ia64/fpu/s_sinl.c: New file.
4650 * sysdeps/ia64/fpu/s_tan.S: New file.
4651 * sysdeps/ia64/fpu/s_tanf.S: New file.
4652 * sysdeps/ia64/fpu/s_tanl.S: New file.
4653 * sysdeps/ia64/fpu/s_trunc.S: New file.
4654 * sysdeps/ia64/fpu/s_truncf.S: New file.
4655 * sysdeps/ia64/fpu/s_truncl.S: New file.
4656 * sysdeps/ia64/fpu/w_acos.c: New file.
4657 * sysdeps/ia64/fpu/w_acosf.c: New file.
4658 * sysdeps/ia64/fpu/w_acosl.c: New file.
4659 * sysdeps/ia64/fpu/w_asin.c: New file.
4660 * sysdeps/ia64/fpu/w_asinf.c: New file.
4661 * sysdeps/ia64/fpu/w_asinl.c: New file.
4662 * sysdeps/ia64/fpu/w_atan2.c: New file.
4663 * sysdeps/ia64/fpu/w_atan2f.c: New file.
4664 * sysdeps/ia64/fpu/w_atan2l.c: New file.
4665 * sysdeps/ia64/fpu/w_cosh.c: New file.
4666 * sysdeps/ia64/fpu/w_coshf.c: New file.
4667 * sysdeps/ia64/fpu/w_coshl.c: New file.
4668 * sysdeps/ia64/fpu/w_exp.c: New file.
4669 * sysdeps/ia64/fpu/w_expf.c: New file.
4670 * sysdeps/ia64/fpu/w_fmod.c: New file.
4671 * sysdeps/ia64/fpu/w_fmodf.c: New file.
4672 * sysdeps/ia64/fpu/w_fmodl.c: New file.
4673 * sysdeps/ia64/fpu/w_hypot.c: New file.
4674 * sysdeps/ia64/fpu/w_hypotf.c: New file.
4675 * sysdeps/ia64/fpu/w_hypotl.c: New file.
4676 * sysdeps/ia64/fpu/w_log.c: New file.
4677 * sysdeps/ia64/fpu/w_log10.c: New file.
4678 * sysdeps/ia64/fpu/w_log10f.c: New file.
4679 * sysdeps/ia64/fpu/w_log10l.c: New file.
4680 * sysdeps/ia64/fpu/w_logf.c: New file.
4681 * sysdeps/ia64/fpu/w_logl.c: New file.
4682 * sysdeps/ia64/fpu/w_pow.c: New file.
4683 * sysdeps/ia64/fpu/w_powf.c: New file.
4684 * sysdeps/ia64/fpu/w_powl.c: New file.
4685 * sysdeps/ia64/fpu/w_remainder.c: New file.
4686 * sysdeps/ia64/fpu/w_remainderf.c: New file.
4687 * sysdeps/ia64/fpu/w_remainderl.c: New file.
4688 * sysdeps/ia64/fpu/w_scalb.c: New file.
4689 * sysdeps/ia64/fpu/w_scalbf.c: New file.
4690 * sysdeps/ia64/fpu/w_scalbl.c: New file.
4691 * sysdeps/ia64/fpu/w_sqrt.c: New file.
4692 * sysdeps/ia64/fpu/w_sqrtf.c: New file.
4693 * sysdeps/ia64/fpu/w_sqrtl.c: New file.
4694 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
4696 * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
4697 Change FP_ILOGBNAN for new implementation.
4698 * Verions.def: Add 2.2.3 versions.
4700 2001-02-18 Ulrich Drepper <drepper@redhat.com>
4702 * math/libm-test.inc (scalb_test): Require invalid exception being
4703 raised for invalid parameters.
4704 * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
4705 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4706 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4708 2001-02-18 Mark Kettenis <kettenis@gnu.org>
4710 * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
4712 (__get_avphys_pages): Likewise.
4714 2001-02-18 Ulrich Drepper <drepper@redhat.com>
4716 * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
4717 * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
4718 * sysdeps/i386/fpu/e_powf.S: Likewise.
4719 * sysdeps/i386/fpu/e_powl.S: Likewise.
4721 * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
4723 2001-02-17 Ulrich Drepper <drepper@redhat.com>
4725 * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
4727 * sysdeps/generic/s_exp2l.c: Renamed to...
4728 * sysdeps/generic/e_exp2l.c: ...this. New file.
4729 * sysdeps/i386/fpu/s_exp2.S: Renamed to...
4730 * sysdeps/i386/fpu/e_exp2.S: ...this. New file.
4731 * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
4732 * sysdeps/i386/fpu/e_exp2f.S: ...this. New file.
4733 * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
4734 * sysdeps/i386/fpu/e_exp2l.S: ...this. New file.
4735 * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
4736 * sysdeps/ieee754/flt-32/e_exp2f.c: ...this. New file.
4737 * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
4738 * sysdeps/ieee754/dbl-64/e_exp2.c: ...this. New file.
4739 * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
4740 * sysdeps/m68k/fpu/e_exp2.c: ...this. New file.
4741 * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
4742 * sysdeps/m68k/fpu/e_exp2f.c: ...this. New file.
4743 * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
4744 * sysdeps/m68k/fpu/e_exp2l.c: ...this. New file.
4746 2001-02-17 Andreas Jaeger <aj@suse.de>
4748 * configure.in: Allow gcc 3.
4750 2001-02-16 Ulrich Drepper <drepper@redhat.com>
4752 * math/w_acos.c: Move to ...
4753 * sysdeps/generic/w_acos.c: ...here. New file.
4754 * math/w_acosf.c: Move to ...
4755 * sysdeps/generic/w_acosf.c: ...here. New file.
4756 * math/w_acosh.c: Move to ...
4757 * sysdeps/generic/w_acosh.c: ...here. New file.
4758 * math/w_acoshf.c: Move to ...
4759 * sysdeps/generic/w_acoshf.c: ...here. New file.
4760 * math/w_acoshl.c: Move to ...
4761 * sysdeps/generic/w_acoshl.c: ...here. New file.
4762 * math/w_acosl.c: Move to ...
4763 * sysdeps/generic/w_acosl.c: ...here. New file.
4764 * math/w_asin.c: Move to ...
4765 * sysdeps/generic/w_asin.c: ...here. New file.
4766 * math/w_asinf.c: Move to ...
4767 * sysdeps/generic/w_asinf.c: ...here. New file.
4768 * math/w_asinl.c: Move to ...
4769 * sysdeps/generic/w_asinl.c: ...here. New file.
4770 * math/w_atan2.c: Move to ...
4771 * sysdeps/generic/w_atan2.c: ...here. New file.
4772 * math/w_atan2f.c: Move to ...
4773 * sysdeps/generic/w_atan2f.c: ...here. New file.
4774 * math/w_atan2l.c: Move to ...
4775 * sysdeps/generic/w_atan2l.c: ...here. New file.
4776 * math/w_atanh.c: Move to ...
4777 * sysdeps/generic/w_atanh.c: ...here. New file.
4778 * math/w_atanhf.c: Move to ...
4779 * sysdeps/generic/w_atanhf.c: ...here. New file.
4780 * math/w_atanhl.c: Move to ...
4781 * sysdeps/generic/w_atanhl.c: ...here. New file.
4782 * math/w_cosh.c: Move to ...
4783 * sysdeps/generic/w_cosh.c: ...here. New file.
4784 * math/w_coshf.c: Move to ...
4785 * sysdeps/generic/w_coshf.c: ...here. New file.
4786 * math/w_coshl.c: Move to ...
4787 * sysdeps/generic/w_coshl.c: ...here. New file.
4788 * math/w_drem.c: Move to ...
4789 * sysdeps/generic/w_drem.c: ...here. New file.
4790 * math/w_dremf.c: Move to ...
4791 * sysdeps/generic/w_dremf.c: ...here. New file.
4792 * math/w_dreml.c: Move to ...
4793 * sysdeps/generic/w_dreml.c: ...here. New file.
4794 * math/w_exp10.c: Move to ...
4795 * sysdeps/generic/w_exp10.c: ...here. New file.
4796 * math/w_exp10f.c: Move to ...
4797 * sysdeps/generic/w_exp10f.c: ...here. New file.
4798 * math/w_exp10l.c: Move to ...
4799 * sysdeps/generic/w_exp10l.c: ...here. New file.
4800 * math/w_exp2.c: Move to ...
4801 * sysdeps/generic/w_exp2.c: ...here. New file.
4802 * math/w_exp2f.c: Move to ...
4803 * sysdeps/generic/w_exp2f.c: ...here. New file.
4804 * math/w_exp2l.c: Move to ...
4805 * sysdeps/generic/w_exp2l.c: ...here. New file.
4806 * math/w_fmod.c: Move to ...
4807 * sysdeps/generic/w_fmod.c: ...here. New file.
4808 * math/w_fmodf.c: Move to ...
4809 * sysdeps/generic/w_fmodf.c: ...here. New file.
4810 * math/w_fmodl.c: Move to ...
4811 * sysdeps/generic/w_fmodl.c: ...here. New file.
4812 * math/w_hypot.c: Move to ...
4813 * sysdeps/generic/w_hypot.c: ...here. New file.
4814 * math/w_hypotf.c: Move to ...
4815 * sysdeps/generic/w_hypotf.c: ...here. New file.
4816 * math/w_hypotl.c: Move to ...
4817 * sysdeps/generic/w_hypotl.c: ...here. New file.
4818 * math/w_j0.c: Move to ...
4819 * sysdeps/generic/w_j0.c: ...here. New file.
4820 * math/w_j0f.c: Move to ...
4821 * sysdeps/generic/w_j0f.c: ...here. New file.
4822 * math/w_j0l.c: Move to ...
4823 * sysdeps/generic/w_j0l.c: ...here. New file.
4824 * math/w_j1.c: Move to ...
4825 * sysdeps/generic/w_j1.c: ...here. New file.
4826 * math/w_j1f.c: Move to ...
4827 * sysdeps/generic/w_j1f.c: ...here. New file.
4828 * math/w_j1l.c: Move to ...
4829 * sysdeps/generic/w_j1l.c: ...here. New file.
4830 * math/w_jn.c: Move to ...
4831 * sysdeps/generic/w_jn.c: ...here. New file.
4832 * math/w_jnf.c: Move to ...
4833 * sysdeps/generic/w_jnf.c: ...here. New file.
4834 * math/w_jnl.c: Move to ...
4835 * sysdeps/generic/w_jnl.c: ...here. New file.
4836 * math/w_lgamma.c: Move to ...
4837 * sysdeps/generic/w_lgamma.c: ...here. New file.
4838 * math/w_lgammaf.c: Move to ...
4839 * sysdeps/generic/w_lgammaf.c: ...here. New file.
4840 * math/w_lgammaf_r.c: Move to ...
4841 * sysdeps/generic/w_lgammaf_r.c: ...here. New file.
4842 * math/w_lgammal.c: Move to ...
4843 * sysdeps/generic/w_lgammal.c: ...here. New file.
4844 * math/w_lgammal_r.c: Move to ...
4845 * sysdeps/generic/w_lgammal_r.c: ...here. New file.
4846 * math/w_lgamma_r.c: Move to ...
4847 * sysdeps/generic/w_lgamma_r.c: ...here. New file.
4848 * math/w_log10.c: Move to ...
4849 * sysdeps/generic/w_log10.c: ...here. New file.
4850 * math/w_log10f.c: Move to ...
4851 * sysdeps/generic/w_log10f.c: ...here. New file.
4852 * math/w_log10l.c: Move to ...
4853 * sysdeps/generic/w_log10l.c: ...here. New file.
4854 * math/w_log.c: Move to ...
4855 * sysdeps/generic/w_log.c: ...here. New file.
4856 * math/w_logf.c: Move to ...
4857 * sysdeps/generic/w_logf.c: ...here. New file.
4858 * math/w_logl.c: Move to ...
4859 * sysdeps/generic/w_logl.c: ...here. New file.
4860 * math/w_pow.c: Move to ...
4861 * sysdeps/generic/w_pow.c: ...here. New file.
4862 * math/w_powf.c: Move to ...
4863 * sysdeps/generic/w_powf.c: ...here. New file.
4864 * math/w_powl.c: Move to ...
4865 * sysdeps/generic/w_powl.c: ...here. New file.
4866 * math/w_remainder.c: Move to ...
4867 * sysdeps/generic/w_remainder.c: ...here. New file.
4868 * math/w_remainderf.c: Move to ...
4869 * sysdeps/generic/w_remainderf.c: ...here. New file.
4870 * math/w_remainderl.c: Move to ...
4871 * sysdeps/generic/w_remainderl.c: ...here. New file.
4872 * math/w_scalb.c: Move to ...
4873 * sysdeps/generic/w_scalb.c: ...here. New file.
4874 * math/w_scalbf.c: Move to ...
4875 * sysdeps/generic/w_scalbf.c: ...here. New file.
4876 * math/w_scalbl.c: Move to ...
4877 * sysdeps/generic/w_scalbl.c: ...here. New file.
4878 * math/w_sinh.c: Move to ...
4879 * sysdeps/generic/w_sinh.c: ...here. New file.
4880 * math/w_sinhf.c: Move to ...
4881 * sysdeps/generic/w_sinhf.c: ...here. New file.
4882 * math/w_sinhl.c: Move to ...
4883 * sysdeps/generic/w_sinhl.c: ...here. New file.
4884 * math/w_sqrtl.c: Move to ...
4885 * sysdeps/generic/w_sqrtl.c: ...here. New file.
4886 * math/w_tgamma.c: Move to ...
4887 * sysdeps/generic/w_tgamma.c: ...here. New file.
4888 * math/w_tgammaf.c: Move to ...
4889 * sysdeps/generic/w_tgammaf.c: ...here. New file.
4890 * math/w_tgammal.c: Move to ...
4891 * sysdeps/generic/w_tgammal.c: ...here. New file.
4893 * locale/programs/ld-address.c (address_finish): Add 'S' to allow
4894 formats for postal_fmt.
4896 2001-02-16 Jakub Jelinek <jakub@redhat.com>
4898 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
4899 __ftruncate64 alias.
4900 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
4903 2001-02-15 David Mosberger <davidm@hpl.hp.com>
4905 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
4906 do "loadrs". Writing to bspstore already takes care of
4907 invalidating the "clean" partition.
4909 2001-02-16 Andreas Schwab <schwab@suse.de>
4911 * sysdeps/m68k/fpu/s_nextafterl.c: New file.
4912 * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
4914 2001-02-15 Jakub Jelinek <jakub@redhat.com>
4916 * posix/regex.c (init_syntax_once): Add prototype.
4917 (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
4918 (re_search_2): Avoid warning.
4919 (count_mbs_length): Add prototype.
4920 * posix/tst-regex3.c: New file.
4921 * posix/Makefile (tests): Add bug-regex3.
4923 2001-02-15 Ulrich Drepper <drepper@redhat.com>
4925 * stdio-common/Makefile (tests): Add tst-gets.
4926 * stdio-common/tst-gets.c: New file.
4927 * stdio-common/tst-gets.input: New file.
4929 * elf/elf.h (DT_CHECKSUM): Define.
4931 * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
4933 * sysdeps/generic/strtoull.c: Likewise.
4935 2001-02-14 Wolfram Gloger <wg@malloc.de>
4937 * malloc/malloc.c (new_heap): When allocating large chunk aligned
4938 to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
4941 2001-02-14 Ulrich Drepper <drepper@redhat.com>
4943 * math/libm-test.inc (j0_test): Check whether sincos is available.
4944 (j1_test): Likewise.
4945 (jn_test): Likewise.
4946 (y0_test): Likewise.
4947 (y1_test): Likewise.
4948 (yn_test): Likewise.
4950 * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
4951 fake filesystem routines to handle this.
4953 * time/sys/time.h: Make settimeofday and adjtime available if
4956 * time/sys/time.h: Make timer* macros available for BSD.
4958 * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
4959 Patch by Yong Li <rigel863@yahoo.com>.
4961 * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
4964 * posix/Makefile (tests): Add tst-gnuglob.
4965 * posix/tst-gnuglob.c: New file.
4967 2001-02-13 H.J. Lu <hjl@gnu.org>
4969 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
4971 2001-02-13 Ulrich Drepper <drepper@redhat.com>
4973 * locale/programs/ld-paper.c (paper_output): Pretty printing.
4975 * iconvdata/Makefile (modules): Add GBBIG5.
4976 (distribute): Add gbbig5.c.
4977 * iconvdata/gconv-modules: Add entries for GBBIG5 module.
4979 * iconvdata/gbbig5.c: New file.
4980 Contributed by Yong Li <rigel863@yahoo.com>.
4982 2001-02-13 Philip Blundell <pb@futuretv.com>
4984 * manual/crypt.texi: Remove outdated references to crypt add-on.
4986 * manual/creature.texi: Improve wording slightly.
4988 2001-02-13 Ulrich Drepper <drepper@redhat.com>
4990 * io/ftw.c: Always use readdir64.
4991 * io/ftw64.c: Likewise.
4992 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4993 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4994 * sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir
4995 callback to dirent. Still allow compiling outside glibc.
4996 * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
4997 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4999 * malloc/mtrace.c: Use fopen64.
5000 * posix/spawni.c: Use __open64.
5001 * sysdeps/unix/opendir.c: Likewise.
5002 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
5004 * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
5006 * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
5007 * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
5008 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5009 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
5011 * resolv/res_data.c: Add cast to avoid warning.
5013 * include/unistd.h: Declare __ftruncate64.
5015 * sysdeps/generic/utmp_file.c: Use LFS functions and types.
5017 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
5020 2001-02-13 Andreas Jaeger <aj@suse.de>
5022 * login/getutent_r.c: Include <stdlib.h> for NULL.
5023 * login/getutid_r.c: Likewise.
5025 2001-02-12 Ulrich Drepper <drepper@redhat.com>
5027 * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
5028 * sysdeps/dbl-64/e_j1.c: Likewise.
5029 * sysdeps/dbl-64/e_jn.c: Likewise.
5030 * sysdeps/flt-32/e_j0f.c: Likewise.
5031 * sysdeps/flt-32/e_j1f.c: Likewise.
5032 * sysdeps/ldbl-96/e_j0l.c: Likewise.
5034 2000-12-02 H.J. Lu <hjl@gnu.org>
5036 * resolv/res_libc.c (res_init): Don't make it default.
5038 2001-02-12 Ulrich Drepper <drepper@redhat.com>
5040 * manual/debug.texi: Improved the wording.
5041 Patch by Philip Blundell <pb@futuretv.com>.
5043 2001-02-12 Andreas Jaeger <aj@suse.de>
5045 * posix/Makefile (tests): Don't run bug-regex2 when
5048 * libio/Makefile (tests): Don't run test-freopen when
5051 * manual/stdio.texi (Streams and I18N): Fix typos.
5053 2001-02-12 Ulrich Drepper <drepper@redhat.com>
5055 * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
5057 * math/libm-test.inc (j0_test): Make expected results long double
5059 (y0_test): Likewise.
5061 * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
5062 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5064 2001-02-11 Jakub Jelinek <jakub@redhat.com>
5066 * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
5067 which was exported from libc.
5068 * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
5070 2001-02-12 Andreas Jaeger <aj@suse.de>
5072 * manual/arith.texi (Parsing of Integers): Fix some wordings.
5074 2001-02-11 Ulrich Drepper <drepper@redhat.com>
5076 * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
5077 and get_avphys_page to long int.
5078 * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
5079 * include/sys/sysinfo.h: Likewise.
5080 * sysdeps/generic/sys/sysinfo.h: Likewise.
5081 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
5083 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
5084 cannot return as many values as the user asked for.
5086 2001-02-11 Andreas Jaeger <aj@suse.de>
5088 * manual/resource.texi (Memory Resources): Fix typo.
5090 * libio/Makefile ($(objpfx)test-freopen.out): Pass
5093 * libio/test-freopen.sh: Use run_program_prefix.
5095 2001-02-10 Andreas Jaeger <aj@suse.de>
5097 * stdlib/Makefile (tests): Don't run tst-fmtmsg when
5099 ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
5101 * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
5104 * elf/Makefile (tests): Only run tst-pathopt with shared libs.
5106 * posix/Makefile: Fix typo, it's build-static-nss.
5108 * iconv/Makefile (extra-objs): New.
5110 2001-02-10 Mark Kettenis <kettenis@gnu.org>
5112 * sysdeps/unix/stime.c: Include <time.h>.
5114 * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
5116 2001-02-10 Andreas Jaeger <aj@suse.de>
5118 * manual/string.texi (Search Functions): Fix typo.
5120 2001-02-10 Mark Kettenis <kettenis@gnu.org>
5122 * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
5123 (timeval_to_clock_t): Add clk_tck argument and use that instead of
5125 (__times): Use __getclktck to get the number of clock ticks per
5126 second and use its return value instead of CLK_TCK.
5128 2001-02-10 Mark Kettenis <kettenis@gnu.org>
5130 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
5132 2001-02-10 Mark Kettenis <kettenis@gnu.org>
5134 * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
5136 2001-02-10 Andreas Jaeger <aj@suse.de>
5138 * wctype/wcfuncs.c (func): Add prototype declarations to avoid
5141 2001-02-09 Ulrich Drepper <drepper@redhat.com>
5143 * posix/Makefile: Add rules to build and run bug-regex2.
5144 * posix/bug-regex2.c: New file.
5146 2001-02-10 Jakub Jelinek <jakub@redhat.com>
5148 * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
5149 (regex_compile): Likewise.
5150 (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
5151 (re_match_2_internal): Use just is_binary instead of two variables.
5152 Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
5154 2001-02-09 Ulrich Drepper <drepper@redhat.com>
5156 * version.h (VERSION): Bump to 2.2.2.
5158 * iconv/Makefile (distribute): Add iconv_charmap.c and
5160 * elf/Makefile (distribute): Add firstobj.c.
5161 * Makefile (distribute): Add include/pthread.h.
5163 * configure.in: Require makeinfo version 4.
5165 * libio/tst_wscanf.c (main): Add cast to avoid warning.
5166 * libio/tst_swscanf.c (main): Likewise..
5168 2001-02-09 Jakub Jelinek <jakub@redhat.com>
5170 * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
5171 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
5173 * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
5174 if not RTLD_BOOTSTRAP.
5175 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5176 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5178 2001-02-09 Ulrich Drepper <drepper@redhat.com>
5180 * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use
5181 lr_ungetc to push back last read character.
5182 * locale/programs/linereader.h (lr_ungetc): Don't push back is
5184 (lr_ignore_rest): Don't warn about garbage if it is really the end
5187 * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
5190 2001-02-08 Ulrich Drepper <drepper@redhat.com>
5192 * Makerules (build-shlib): Work around different order of
5193 processing of -B option in different gcc versions.
5195 * posix/regex.c: Fix alignment problem.
5196 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5198 * sysdeps/alpha/strrchr.S: Little optimization.
5199 Patch by Richard Henderson <rth@redhat.com>.
5201 * sysdeps/alpha/alphaev67/strrchr.S: New file.
5202 Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
5204 2001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
5206 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
5207 in the assembler end directive.
5209 2001-02-08 Andreas Jaeger <aj@suse.de>
5211 * manual/stdio.texi (Closing Streams): Fix typos.
5213 2001-02-07 Ulrich Drepper <drepper@redhat.com>
5215 * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
5216 Patch by Richard Henderson <rth@redhat.com>.
5217 Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
5219 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
5220 pointer in FILE structure before calling _IO_init.
5221 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
5222 strfmon_l if necessary.
5223 Reported by Jury Gerold <gjury@grips.com>.
5225 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
5226 Patch by Pekka.Pietikainen@cern.ch.
5228 * posix/regex.c: Correct several problems with 64-bit architectures
5229 introduced in the MBS changes.
5230 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5232 2001-02-07 Jakub Jelinek <jakub@redhat.com>
5234 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
5236 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
5238 2001-02-07 Andreas Jaeger <aj@suse.de>
5240 * manual/install.texi (Tools for Compilation): Fix typo.
5241 Reported by Pavel Machek <pavel@bug.ucw.cz>.
5243 2001-02-07 Ulrich Drepper <drepper@redhat.com>
5245 * stdlib/strtod.c: Never stop prematurely reading digits before the
5246 decimal point is found. Compute exponent limit for negative exponents
5247 correctly. For numbers ending in all zeros eat the zeros even before
5248 the decimal point if the exponent is negative [PR libc/2072].
5249 * stdlib/Makefile (tests): Add bug-strtod.
5250 * stdlib/bug-strtod.c: New file.
5252 2001-02-07 Andreas Jaeger <aj@suse.de>
5254 * posix/bug-regex1.c: Include <wchar.h> for fwide.
5256 2001-02-06 Ulrich Drepper <drepper@redhat.com>
5258 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
5260 (compile_range): Handle index being passed, not pointer.
5261 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5263 * posix/regex.c: Fix a cast in the code for bracket handling which
5264 caused 8-bit uncleanliness.
5265 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
5267 * posix/Makefile (tests): Add bug-regex1.
5268 * posix/bug-regex1.c: New file.
5269 Contributed by Jim Meyering <jim@meyering.net>.
5271 * posix/regex.c: Many cleanups for incorrect format strings.
5273 2001-02-06 Andreas Jaeger <aj@suse.de>
5275 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
5277 2001-02-06 Ulrich Drepper <drepper@redhat.com>
5279 * locale/programs/locale.c (write_locales): Use scandir to read
5280 directory so that the entries are sorted.
5282 2001-02-06 Andreas Jaeger <aj@suse.de>
5284 * include/pthread.h: New file.
5286 * wctype/wctype.h: Move internal interfaces from here to...
5287 * include/wctype.h: ...here.
5289 * wcsmbs/wchar.h: Move __wcslen from here to...
5290 * include/wchar.h: ...here.
5292 * posix/sys/wait.h: Move __wait from here to...
5293 * include/sys/wait.h: ...here.
5295 * string/string.h: Move __ffs and __strerror_r from here to...
5296 * include/string.h: ...here.
5298 * stdlib/stdlib.h: Move __on_exit from here to...
5299 * include/stdlib.h: ...here.
5301 * libio/stdio.h: Move __vsnprintf from here to...
5302 * include/stdio.h: ...here.
5304 2001-02-06 Andreas Schwab <schwab@suse.de>
5306 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
5309 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
5312 2001-02-06 Ulrich Drepper <drepper@redhat.com>
5314 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
5316 2001-02-06 Andreas Jaeger <aj@suse.de>
5318 * elf/firstobj.c: Add prototype.
5320 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
5321 (truncate_wchar): Likewise.
5323 2001-02-06 Ulrich Drepper <drepper@redhat.com>
5325 * locale/programs/locale.c: Implement --verbose option for -a
5326 which prints detailed information about the locales.
5328 2001-02-05 Ulrich Drepper <drepper@redhat.com>
5330 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
5331 variable to uint32_t.
5332 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
5334 2001-02-04 Bruno Haible <haible@clisp.cons.org>
5336 * locale/C-translit.h.in: Add transliterations for CJK units of
5339 2001-02-05 Ulrich Drepper <drepper@redhat.com>
5341 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
5342 string. Include <inttypes.h> instead of <stdint.h>.
5344 * localedata/Makefile (tests): Add bug-iconv-trans.
5345 Define bug-iconv-trans-ENV.
5346 * localedata/bug-iconv-trans.c: New file.
5348 2001-02-04 Bruno Haible <haible@clisp.cons.org>
5350 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
5351 pointer, to avoid accumulating output from incomplete (unsuccessful)
5352 transliteration attempts.
5354 2001-02-05 Ulrich Drepper <drepper@redhat.com>
5356 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
5357 string. Include <inttypes.h> instead of <stdint.h>.
5359 * configure.in: Add check for bison.
5360 * config.make.in: Define BISON variable.
5361 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
5362 Rename YFLAGS to BISONFLAGS.
5364 2001-02-05 Andreas Jaeger <aj@suse.de>
5366 * io/test-lfs.c (do_test): Test lseek64 return value, call
5368 (test_ftello): New function to test ftello64 and fseeko64.
5370 * signal/signal.h: Move __sigaction from here to...
5371 * include/signal.h: ...here.
5373 * io/fcntl.h: Move __fcntl and __open to...
5374 * include/fcntl.h: ...here.
5376 2001-02-04 Philip Blundell <philb@gnu.org>
5378 * configure.in: Distinguish ARM from Thumb.
5380 2001-02-04 Philip Blundell <philb@gnu.org>
5382 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
5383 PC24 relocs with negative value.
5385 2001-02-04 Ulrich Drepper <drepper@redhat.com>
5387 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
5388 files in locale/programs. Add CFLAGS definition to allow compiling
5390 * iconv/dummy-repertoire.c: New file.
5391 * iconv/iconv_charmap.c: New file.
5392 * iconv/iconv_prog.h: New file.
5393 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
5394 (main): If parameter for -f and -t contain slashes try first to resolve
5395 the strings as filenames of charmap files. Use them for conversion
5397 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
5398 iconv getting charmap names as parameters.
5399 * locale/programs/linereader.c (lr_token): Take extra parameters
5400 verbose and pass it to get_string.
5401 (get_string): Take extra parameters verbose.
5402 * locale/programs/charmap.c (parse_charmap): Take extra parameters
5403 verbose and be_quiet. Change all callers of lr_token and
5405 * locale/programs/charmap.h: Likewise.
5406 * locale/programs/ld-address.c: Likewise.
5407 * locale/programs/ld-collate.c: Likewise.
5408 * locale/programs/ld-ctype.c: Likewise.
5409 * locale/programs/ld-identification.c: Likewise.
5410 * locale/programs/ld-measurement.c: Likewise.
5411 * locale/programs/ld-messages.c: Likewise.
5412 * locale/programs/ld-monetary.c: Likewise.
5413 * locale/programs/ld-name.c: Likewise.
5414 * locale/programs/ld-numeric.c: Likewise.
5415 * locale/programs/ld-paper.c: Likewise.
5416 * locale/programs/ld-telephone.c: Likewise.
5417 * locale/programs/ld-time.c: Likewise.
5418 * locale/programs/linereader.c: Likewise.
5419 * locale/programs/linereader.h: Likewise.
5420 * locale/programs/localedef.c: Likewise.
5421 * locale/programs/locfile.c: Likewise.
5422 * locale/programs/locfile.h: Likewise.
5423 * locale/programs/repertoire.c: Likewise.
5425 2001-02-03 Ulrich Drepper <drepper@redhat.com>
5427 * iconv/iconv_prog.c (main): If output file name is "-" write to
5429 (main): If -f or -t argument is missing use charset of the current
5432 2001-02-03 Andreas Jaeger <aj@suse.de>
5434 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
5435 boundary for SSE/SSE-2 alignment.
5437 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
5440 2001-02-03 Ulrich Drepper <drepper@redhat.com>
5442 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
5443 Remove comma at end of enum.
5445 * elf/dl-init.c: Add a few __builtin_expect.
5447 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
5449 2001-02-02 Ulrich Drepper <drepper@redhat.com>
5451 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
5452 errno is ECONNREFUSED.
5454 * posix/Makefile: Define MBS_SUPPORT for regex.c.
5455 * posix/regex.c: Implement multibyte character handling.
5456 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
5458 * string/tst-svc.input: Add two more test cases.
5459 * string/tst-svc.expect: Modify to reflect new test cases.
5461 2001-02-01 Jakub Jelinek <jakub@redhat.com>
5463 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
5464 tp->name tests with tp->name[0] tests.
5466 2001-01-29 Ben Collins <bcollins@debian.org>
5468 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
5469 Fix check for name == NULL.
5471 2001-02-01 Ulrich Drepper <drepper@redhat.com>
5473 * elf/Makefile: Add rules to build and run initfirst test.
5474 * elf/initfirst.c: New file.
5475 * elf/firstobj.c: New file.
5477 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
5478 * configure.in: Test for -z initfirst linker option.
5479 * config.make.in: Add have-z-initfirst.
5480 * elf/dl-init.c (_dl_init): Split out actual initialization code in
5481 new function call_init. If _dl_initfirst is non-NULL initialize first.
5482 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
5483 remember object in _dl_initfirst.
5484 * elf/soinit.c: Remove special support for calling
5485 __pthread_initialize_minimal.
5487 * conform/conformtest.pl: Add missing $prepend in type test.
5489 2001-01-31 Ulrich Drepper <drepper@redhat.com>
5491 * elf/elf.h (SHT_CHECKSUM): New definition.
5493 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
5494 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5495 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
5497 2001-01-31 Mark Kettenis <kettenis@gnu.org>
5499 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
5500 to get definition of `struct timeval'.
5502 2001-01-31 Ulrich Drepper <drepper@redhat.com>
5504 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
5505 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
5507 2001-01-30 Ulrich Drepper <drepper@redhat.com>
5509 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
5512 * nis/nis_findserv.c: Include <time.h>.
5514 2001-01-30 Yong Li <yong.li@asu.edu>
5516 * iconv/iconv_prog.c (main): Correct error handling method name.
5518 2001-01-29 Ben Collins <bcollins@debian.org>
5520 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
5521 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
5522 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
5523 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
5525 2001-01-30 Ulrich Drepper <drepper@redhat.com>
5527 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
5528 Patch by Marko Myllynen <myllynen@lut.fi>.
5530 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
5531 (int instead of char).
5532 (__strpbrk_c3): Likewise.
5533 Reported by GOTO Masanori <gotom@debian.or.jp>.
5535 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
5536 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
5537 * include/sys/socket.h: Add SA_LEN here for internal use.
5538 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
5540 2001-01-29 Ulrich Drepper <drepper@redhat.com>
5542 * malloc/Makefile: Don't build memusagestat if cross-compiling.
5544 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
5546 * math/libm-test.inc (rint_test): Add a few more tests for round
5549 2001-01-28 Ulrich Drepper <drepper@redhat.com>
5551 * conform/data/pthread.h-data: Correct return type of pthread_exit.
5553 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
5555 * conform/data/stdlib.h-data: Add _Exit.
5557 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
5558 if not already happened.
5559 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
5560 Don't include <limits.h> and <bits/sockaddr.h>.
5562 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
5564 * conform/data/spawn.h-data: Allow all of <sched.h>.
5566 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
5569 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
5570 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
5572 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
5574 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
5575 * libio/stdio.h: Define va_list correctly.
5577 * conform/data/pthread.h-data: Make priority protocol related
5578 functions optional. Fix typos.
5580 * posix/sched.h: Define sched_priority as __sched_priority.
5581 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
5582 to __sched_priority.
5583 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5585 2001-01-27 Ulrich Drepper <drepper@redhat.com>
5587 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
5590 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
5591 * sysdeps/unix/time.c: Likewise.
5593 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
5594 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
5595 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
5596 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
5597 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
5598 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
5599 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
5600 * time/time.h: Likewise.
5602 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
5603 * conform/data/complex.h-data: New file.
5604 * conform/data/tgmath.h-data: New file.
5606 * conform/data/wchar.h-data: Add missing functions.
5608 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
5610 * conform/data/termios.h-data: Add missing const in tcsetattr()
5613 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
5614 Don't define pid_t here.
5616 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
5618 * conform/data/sys/time.h-data: Allow sys/select.h.
5619 * conform/data/sys/un.h-data: Fix typo.
5620 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
5621 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
5623 * sysdeps/unix/clock_nanosleep.c: Likewise.
5624 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
5625 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
5626 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
5627 * sysdeps/unix/clock_settime.c: Likewise.
5629 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
5630 * login/getutent.c: Likewise.
5631 * login/getutid.c: Likewise.
5632 * login/getutline.c: Likewise.
5634 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
5636 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
5637 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
5638 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
5639 f_fsid field after change in struct statvfs.
5640 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
5641 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
5642 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
5644 * conform/data/sys/stat.h-data: Remove isfdtype. Use
5647 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
5648 recvfrom, send, and socketpair prototypes. Add allow lines.
5649 * socket/sys/socket.h: Include <sys/uio.h>.
5650 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
5651 Fix type of second parameter of listen.
5652 Don't declare isfdtype unless __USE_MISC.
5653 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
5654 * sysdeps/mach/hurd/listen.c: Likewise.
5655 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
5656 ss_family and __ss_family.
5657 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
5658 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5659 (struct msghdr): Change type of msg_iovlen to int and type of
5660 msg_controllen to socklen_t.
5661 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
5662 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
5663 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
5664 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
5665 (rresvport_af): Likewise.
5667 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
5668 * conform/conformtest.pl: Implement handling of symbol.
5670 * signal/signal.h: Fix handling of __need_* symbols.
5671 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
5672 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
5673 * include/sys/select.h: Use fd_set not __fd_set.
5674 * sysdeps/generic/bits/select.h: Likewise.
5675 * sysdeps/i386/bits/select.h: Likewise.
5676 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
5677 __FDELT, __FDMASK, and __fd_set here.
5678 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
5679 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
5680 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5681 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5682 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
5683 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5684 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5685 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5686 * time/sys/time.h: Define struct timeval before including <time.h>
5689 * conform/data/sys/time.h-data: fd_set is a typedef.
5690 * conform/data/sys/select.h-data: New file.
5691 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
5692 * conform/conformtest.pl (@headers): Add sys/select.h.
5693 (type, optional-type): Unless testing a typedef instantiate object.
5694 Implement optional-function.
5696 * math/test-misc.c: Include <float.h>.
5698 2001-01-27 Andreas Jaeger <aj@suse.de>
5700 * misc/efgcvt_r.c: Include <float.h>.
5702 2001-01-26 Ulrich Drepper <drepper@redhat.com>
5704 * conform/data/stdlib.h-data: Account for XPG6 changes.
5705 * stdlib/stdlib.h (__random): Change return value type to long.
5706 (posix_memalign): Cleanup parameter names.
5707 (setenv, unsetenv): Make available for __USE_XOPEN2K.
5708 Change return type of unsetenv to int.
5709 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
5710 * include/stdlib.h: Change return type of unsetenv to int.
5711 Change return type of random to long int.
5712 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
5713 Return -1 and set errno if parameter is invalid.
5714 * stdlib/random.c (__random): Change return value type to long.
5716 * conform/data/stdio.h-data: Account for changes in XPG6.
5718 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
5721 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
5722 * conform/data/signal.h-data: Fix sigev_notify_function entry.
5723 Fix typo (SIGVALRM -> SIGVTALRM).
5724 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
5726 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
5727 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5728 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5729 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5730 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5732 * conform/conformtest.pl: Implement optional-element. Define
5733 $mustprepend{"sched.h"}.
5734 * conform/data/sched.h-data: Make sporadic scheduler definitions
5737 * pwd/pwd.h: Don't define getpwent_r for XPG.
5739 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
5740 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
5741 * sysdeps/mach/hurd/poll.c: Likewise.
5742 * sysdeps/unix/bsd/poll.c: Likewise.
5743 * sysdeps/unix/sysv/linux/poll.c: Likewise.
5744 * sysdeps/unix/sysv/aix/poll.c: Likewise.
5745 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
5746 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
5747 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
5748 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
5749 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
5750 * conform/data/poll.h-data: Fix typo in poll prototype.
5752 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
5754 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
5756 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
5758 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
5760 * conform/conformtest.pl: Implement optional-type.
5762 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
5763 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
5764 defining uint32_t here. Define IPPORT_RESERVED.
5765 (struct hostent): Type of h_length element is int.
5766 (getnameinfo): Type of flags parameter is unsigned int.
5767 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
5768 * conform/data/netdb.h-data: Add many missing definitions.
5770 * conform/conformtest.pl: Implement optional-macro.
5771 * conform/data/math.h-data: Update for XPG6.
5773 * math/math.h (HUGE): Define as FLT_MAX value but don't use
5774 FLT_MAX. Don't include <float.h>.
5775 (MAXFLOAT): Likewise.
5777 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
5779 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
5781 * conform/data/limits.h-data: Mark constants as optional wherever
5784 * posix/bits/posix2_lim.h: Set correct values for
5785 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
5788 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
5791 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
5793 * conform/data/netinet/in.h-data: Add reserved prefixes.
5795 * conform/data/arpa/inet.h-data: Fix a few typos.
5797 2001-01-26 Andreas Jaeger <aj@suse.de>
5799 * sysdeps/generic/strtol.c: Include <locale.h>
5800 * stdlib/strtod.c: Likewise
5801 * stdlib/strfmon.c: Likewise.
5802 * string/strcoll.c: Likewise.
5803 * string/strxfrm.c: Likewise.
5804 * wctype/wcfuncs_l.c: Likewise.
5805 * wctype/wctype_l.c: Likewise.
5806 * wctype/wctrans_l.c: Likewise.
5808 * include/bits/locale.h: New file.
5810 2001-01-26 Ulrich Drepper <drepper@redhat.com>
5812 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
5815 * locale/Makefile (headers): Add bits/locale.h.
5816 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
5817 and use __LC_ constants instead of LC_.
5818 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
5819 using __LC_ constants.
5820 * locale/bits/locale.h: New file.
5821 * locale/loadlocale.c: Include <locale.h>.
5822 * locale/nl_langinfo.h: Likewise.
5824 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
5826 * io/sys/stat.h: Define S_IFSOCK for XPG6.
5828 * conform/data/fcntl.h-data: posix_madvise is not expected here.
5830 * conform/conformtest.pl: Fix handling of macro-str.
5832 * conform/data/inttypes.h-data: Add missing definition and all of
5835 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
5837 2001-01-25 Ulrich Drepper <drepper@redhat.com>
5839 * conform/conformtest.pl (@headers): Add stdint.h.
5840 * conform/data/stdint.h-data: New file.
5842 * conform/conformtest.pl: Recognize options --headers and
5843 --dialect. Add dialect-specific CFLAGS.
5845 * conform/conformtest.pl: Implement handling of recursive
5848 * conform/data/locale.h-data: Add new struct lconv members.
5850 * posix/wordexp.h: Correct definition of wordexp_t.
5851 * posix/wordexp.c: Moved to ...
5852 * sysdeps/generic/wordexp.c: ...here. New file.
5853 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
5854 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
5855 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
5856 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
5858 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
5859 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
5861 * math/tgmath.h: Pretty printing.
5863 * math/Makefile (tests): Add test-tgmath.
5864 (CFLAGS-test-tgmath.c): New variable.
5865 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
5867 * conform/conformtest.pl: Handle allow-header in secondary headers
5870 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
5873 * conform/data/netinet/in.h-data: Use correct comment character.
5874 * conform/data/sys/stat.h-data: Likewise.
5876 2001-01-25 Jakub Jelinek <jakub@redhat.com>
5878 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
5879 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
5880 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
5881 __builtin_classify_type, add ##f suffixes where appropriate.
5882 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
5883 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
5884 __builtin_classify_type.
5885 (fma): Fix spelling of first argument.
5887 2001-01-25 Ulrich Drepper <drepper@redhat.com>
5889 * conform/data/unistd.h-data: Mark functions removed in XPG6
5892 * posix/unistd.h: Don't make functions removed in XPG6 available if
5895 * conform/conformtest.pl: Implement optional-constant.
5896 * conform/data/unistd.h-data: Use optional-constant wherever
5899 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
5900 constants and add _SC_STREAMS.
5901 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
5903 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
5904 make old name weak alias.
5905 * sysdeps/generic/statvfs64.c: Likewise.
5906 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
5907 make old name weak alias.
5908 * sysdeps/generic/fstatvfs64.c: Likewise.
5909 * include/sys/statvfs.h: New file.
5911 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
5912 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
5914 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
5915 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
5916 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
5917 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
5919 * conform/conformtest.pl: Run Unix tests for XPG6.
5920 Implement handling of known namespace violations.
5921 Improve printing of results.
5923 * posix/unistd.h (usleep): Correct return type.
5924 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
5925 * sysdeps/unix/bsd/usleep.c: Correct return type.
5926 * sysdeps/mach/usleep.c: Correct return type.
5927 * sysdeps/generic/usleep.c: Correct return type.
5929 * posix/unistd.h (sync): Correct return type.
5930 * sysdeps/generic/sync.c: Likewise.
5931 * sysdeps/mach/hurd/sync.c: Likewise.
5933 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
5935 * posix/unistd.h: Make seteuid and setegid available for XPG6.
5937 * wcsmbs/wchar.h: Get FILE definition for XPG5.
5939 * conform/data/ctype.h-data: Use correct comment form.
5940 * conform/data/errno.h-data: Likewise.
5941 * conform/data/math.h-data: Likewise.
5942 * conform/data/mqueue.h-data: Likewise.
5943 * conform/data/netdb.h-data: Likewise.
5944 * conform/data/pthread.h-data: Likewise.
5946 2001-01-24 Ulrich Drepper <drepper@redhat.com>
5948 * conform/data/wordexp.h-data: Fix typo.
5950 * conform/conformtest.pl: Handle allow-header correctly.
5952 * conform/data/time.h-data: Use correct comment form.
5954 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
5956 * configure.in: Comment out binutils version test.
5958 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
5960 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
5962 * stdlib/tst-strtod.c (locale_test): New function.
5963 (main): Call locale_test.
5964 * stdlib/Makefile (tst-strtod-ENV): New variable.
5966 2001-01-24 Mark Kettenis <kettenis@gnu.org>
5968 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
5969 declaration of value such that we actually return the value of the
5970 environment variable.
5972 2001-01-24 Andreas Jaeger <aj@suse.de>
5974 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
5976 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5978 * include/sys/sysctl.h: New file.
5980 2001-01-23 Andreas Jaeger <aj@suse.de>
5982 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
5985 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
5986 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
5987 closes PR libc/2039.
5989 * manual/install.texi (Tools for Compilation): Change required
5992 2001-01-22 Andreas Jaeger <aj@suse.de>
5994 * configure.in: Add test for new enough binutils version, move
5995 compiler/binutils test up.
5997 * Versions.def: Add version GLIBC_2.2.2.
5999 2001-01-21 Ulrich Drepper <drepper@redhat.com>
6001 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
6003 * iconvdata/testdata/IBM932: New file.
6004 * iconvdata/testdata/IBM932..UTF8: New file.
6005 * iconvdata/testdata/IBM943: New file.
6006 * iconvdata/testdata/IBM943..UTF8: New file.
6007 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
6009 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6011 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
6013 2001-01-21 Ulrich Drepper <drepper@redhat.com>
6015 * malloc/malloc.c: Remove a few unnecessary initializers of global
6018 2000-12-09 H.J. Lu <hjl@gnu.org>
6020 * nss/Makefile (routines): Add digits_dots.
6021 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
6022 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
6024 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
6026 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
6027 (TYPE_VAR_P): Likewise.
6028 (FLAGS_VAR): Likewise.
6029 (AF_VAR_P): Likewise.
6030 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6031 instead of including digits_dots.c.
6032 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
6033 (TYPE_VAR_P): Likewise.
6034 (FLAGS_VAR): Likewise.
6035 (AF_VAR_P): Likewise.
6036 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6037 instead of including digits_dots.c.
6039 2001-01-21 Ulrich Drepper <drepper@redhat.com>
6041 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
6043 2001-01-21 Andreas Jaeger <aj@suse.de>
6045 * elf/constload2.c: Add prototype for init.
6047 2001-01-21 Ulrich Drepper <drepper@redhat.com>
6049 * stdlib/stdlib.h (drand48_data): Make available only for
6050 __USE_MISC. Rename elements to protect namespace. Change type
6051 and position of a and init element.
6052 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
6053 differently. Adjust for drand48_data change. Don't compute a here,
6054 it comes from drand48_data.
6055 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
6056 differently. Adjust for drand48_data change. Compute a here.
6057 * stdlib/srand48_r.c: Likewise.
6058 * stdlib/drand48.c: Adjust for drand48_data change.
6059 * stdlib/lrand48.c: Likewise.
6060 * stdlib/mrand48.c: Likewise.
6061 * stdlib/seek48.c: Likewise.
6062 * stdlib/drand48_r.c: Likewise.
6063 * stdlib/lrand48_r.c: Likewise.
6064 * stdlib/mrand48_r.c: Likewise.
6065 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
6067 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
6068 * stdlib/jrand48_r.c: Likewise.
6070 * po/sv.po: Update from translation team.
6072 2001-01-21 Andreas Jaeger <aj@suse.de>
6074 * stdio-common/vfprintf.c (vfprintf): Add casts.
6076 2001-01-20 Ulrich Drepper <drepper@redhat.com>
6078 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
6080 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
6082 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
6083 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
6084 * iconvdata/ibm932.c: New file.
6085 * iconvdata/ibm932.h: New file.
6086 * iconvdata/ibm943.c: New file.
6087 * iconvdata/ibm943.h: New file.
6088 Patches by Masahide Washizawa <washi@jp.ibm.com>.
6090 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
6091 preventing optimization from being done. Set the correct type bit
6092 in seen. Don't define and use _dl_base_addr unless
6093 NEED_DL_BASE_ADDR is defined.
6095 * io/ftw.c (ftw_dir): Add slash after directory name if there
6096 wasn't any. Reported by loris <loris@iol.it>.
6097 * io/Makefile (tests): Add bug-ftw2.
6098 * io/bug-ftw2.c: New file.
6100 2001-01-19 Ulrich Drepper <drepper@redhat.com>
6102 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
6103 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
6104 * stdlib/tst-rand48.c: New file.
6105 * stdlib/Makefile (tests): Add tst-rand48.
6107 * locale/newlocale.c (__newlocale): Fix test for setting all
6110 2001-01-19 Mark Kettenis <kettenis@gnu.org>
6112 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
6113 but change looking up the initial directory port in a similar way
6114 as done by _hurd_change_directory_port_from_name.
6115 * hurd/fchroot.c (fchroot): Likewise.
6117 2001-01-18 Ulrich Drepper <drepper@redhat.com>
6119 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
6120 defined don't look whether the AT_*ID values were set.
6121 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
6122 (_dl_show_auxv): Rewrite to avoid switch statement.
6123 * sysdeps/unix/sysv/linux/kernel-features.h: Define
6124 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
6125 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
6126 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
6128 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
6129 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6130 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6132 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
6134 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
6135 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
6137 * dlfcn/eval.c (__strtol_internal): Define here.
6138 (eval): Use __strtol_internal instead of strtol.
6140 * elf/elf.h: Add a few more EF_MIPS_* constants.
6142 2001-01-17 Ulrich Drepper <drepper@redhat.com>
6144 * manual/Makefile (chapters): Add debug.
6145 * manual/debug.texi: New file.
6146 * manual/examples/execinfo.c: New file.
6147 Patch by suckfish@ihug.co.nz.
6149 2001-01-17 Andreas Schwab <schwab@suse.de>
6151 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
6154 2001-01-17 Andreas Jaeger <aj@suse.de>
6156 * nscd/connections.c (nscd_run): Use proper format specifier.
6158 2001-01-16 Ulrich Drepper <drepper@redhat.com>
6160 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
6161 x86_platforms data into new file after prepending _dl_. Change
6163 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
6164 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
6165 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
6168 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
6170 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
6171 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
6172 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
6173 (_setjmp): Likewise.
6174 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
6175 * sysdeps/i386/bsd-setjmp.S: Real implementation.
6176 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
6177 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
6180 2001-01-16 Andreas Jaeger <aj@suse.de>
6182 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
6183 misapplied last patch.
6185 2001-01-15 Ulrich Drepper <drepper@redhat.com>
6187 * stdlib/random.c (__initstate): Clean up a cast.
6188 (__setstate): Likewise.
6190 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
6191 syscall handling. The generic Linux version should work.
6193 2001-01-15 Andreas Jaeger <aj@suse.de>
6195 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
6197 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
6199 2001-01-14 Jakub Jelinek <jakub@redhat.com>
6201 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
6202 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
6204 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
6205 If number is 0, list all.
6206 (services_keys): Likewise. Lookup aliases as well.
6207 (databases): New table.
6208 (build_doc): Prepare argp doc text with list of supported databases.
6209 (main): Change to table driven processing.
6211 2001-01-14 Thorsten Kukuk <kukuk@suse.de>
6213 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
6216 2001-01-03 Jakub Jelinek <jakub@redhat.com>
6218 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
6219 encode value which does not fit in the 32bit type.
6221 2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
6223 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
6224 Change type of CTX to (struct sigcontext *).
6225 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
6226 (GET_FRAME): Likewise.
6227 (GET_STACK): Likewise.
6228 (SIGCONTEXT): Likewise. Add 2nd arg _code.
6229 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
6231 2001-01-13 Ulrich Drepper <drepper@redhat.com>
6233 * manual/texinfo.tex: Update from upstream version.
6235 2001-01-13 Jakub Jelinek <jakub@redhat.com>
6237 * inet/ether_ntoh.c (lookup_function): Change arguments to match
6238 _nss_*_getntohost_r prototype.
6239 (ether_ntohost): Pass errno pointer to NSS function.
6241 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6243 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
6244 (MAP_LOCKED): New definition.
6245 (MAP_NORESERVE): New definition.
6247 2001-01-12 Ulrich Drepper <drepper@redhat.com>
6249 * assert/assert.h: Use static_cast instead of C-style cast for C++.
6250 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
6252 2001-01-12 Ben Collins <bcollins@debian.org>
6254 * sysdeps/generic/segfault.c (install_handler): Use access, not
6257 2001-01-12 Andreas Jaeger <aj@suse.de>
6259 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
6260 * posix/wordexp.c (do_parse_glob): Likewise.
6261 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
6262 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
6263 * elf/dl-open.c (_dl_open): Likewise.
6264 * elf/dl-close.c (_dl_close): Likewise.
6265 * elf/dl-load.c (_dl_map_object): Likewise.
6266 * iconv/iconv_prog.c (process_fd): Likewise.
6267 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
6269 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
6270 of a zero-length array.
6272 2001-01-11 Jakub Jelinek <jakub@redhat.com>
6274 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
6275 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
6276 * stdlib/cxa_on_exit.c: Remove.
6277 * stdlib/Makefile: Revert last patch.
6278 * stdlib/Versions: Likewise.
6279 * include/stdlib.h: Likewise.
6280 * stdlib/exit.h: Revert last patch.
6281 (struct exit_function): Add second argument to cxa fn.
6282 * stdlib/exit.c: Revert last patch.
6283 (exit): Add hidden second argument.
6285 2001-01-11 H.J. Lu <hjl@gnu.org>
6287 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
6288 * elf/dl-open.c (_dl_open): Here.
6289 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
6291 (_dl_static_init): Initialize the variables every time when possible.
6292 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
6295 2001-01-11 Ulrich Drepper <drepper@redhat.com>
6297 * stdlib/Makefile (routines): Add cxa_on_exit.
6298 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
6299 * stdlib/cxa_on_exit.c: New file.
6300 * include/stdlib.h: Add prototype for __cxa_on_exit.
6301 * stdlib/exit.c: Handle ef_cxa2.
6302 * stdlib/exit.h (enum): Add ef_cxa2.
6303 (struct exit_function): Add cxa2.
6305 * Versions.def [ld]: Add GLIBC_2.2.1.
6307 2001-01-10 H.J. Lu <hjl@gnu.org>
6309 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
6310 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
6312 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
6313 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
6314 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
6315 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
6316 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
6318 2001-01-11 Ulrich Drepper <drepper@redhat.com>
6320 * libio/stdio.h: Remove definition of off_t.
6322 2001-01-11 Andreas Jaeger <aj@suse.de>
6324 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
6327 2001-01-10 Ulrich Drepper <drepper@redhat.com>
6329 * sunrpc/Makefile (distribute): Add errqueue.h.
6331 2001-01-10 H.J. Lu <hjl@gnu.org>
6333 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
6334 r9, r10 and r11 for language specific registers.
6336 2001-01-10 Jakub Jelinek <jakub@redhat.com>
6338 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
6340 (clntudp_call): Handle MSG_ERRQUEUE.
6341 * sysdeps/generic/errqueue.h: New file.
6342 * sysdeps/unix/sysv/linux/errqueue.h: New file.
6344 2001-01-10 H.J. Lu <hjl@gnu.org>
6346 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
6348 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
6350 * CONFORMANCE: Update.
6352 2001-01-09 Ulrich Drepper <drepper@redhat.com>
6354 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
6355 Minimal cleanups. Add assert to ensure memory handling is correct.
6357 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
6358 Reported by Ben Collins <bcollins@debian.org>.
6360 * time/strftime.c (my_strftime): Mark previous GNU extensions
6361 which are now in C99 as such.
6363 2001-01-08 Ulrich Drepper <drepper@redhat.com>
6365 * elf/rtld.c (process_envvars): Place output files for profiling
6366 in SUID binaries in /var/profile.
6368 * elf/dl-load.c (_dl_map_object): Don't look in cache for
6369 preloading in SUID binaries.
6371 * elf/dl-profile.c (_dl_start_profile): Open the output file with
6372 O_NOFOLLOW if possible.
6374 * include/stdlib.h: Add __posix_openpt declaration.
6375 * stdlib/stdlib.h: Add posix_openpt declaration.
6376 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
6377 * sysdeps/generic/getpt.c: Define posix_openpt.
6378 * sysdeps/unix/bsd/getpt.c: Likewise.
6379 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
6381 * time/Makefile (tests): Add tst-mktime.
6382 * time/tst-mktime.c: New file.
6384 * posix/tst-dir.c (main): One more mkdir() test.
6386 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
6387 Remove getpagesize syscall. We assume that the pagesize is always
6388 determined from the auxiliary vector.
6390 * intl/dcigettext.c: Fix a few warnings.
6391 Patch by Bruno Haible <haible@ilog.fr>.
6393 2001-01-08 Andreas Jaeger <aj@suse.de>
6395 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
6396 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
6398 2001-01-08 Ulrich Drepper <drepper@redhat.com>
6400 * sysdeps/generic/segfault.c (install_handler): Check output file
6403 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
6404 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
6406 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
6408 * malloc/memusage.c (me): Use access() to determine whether we
6409 should write the output file or not.
6411 * libio/bits/stdio.h (printf): Define macro to map printf call to
6412 fprintf which gcc can optimize.
6413 * stdio-common/printf.c: Undefine printf.
6415 2001-01-07 Ulrich Drepper <drepper@redhat.com>
6417 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
6418 patch. We must use unsigned int for l member of union.
6420 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
6421 _dl_aux_init for shared libraries.
6423 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
6424 * sysdeps/gnu/glob64.c: ...here. New file.
6426 2001-01-07 Ben Collins <bcollins@debian.org>
6428 * manual/examples/longopt.c: Make the "struct option" a little
6429 more like it should be, adding usage of required_argument,
6430 noargument and such, and also setting the options string right.
6432 * manual/sysinfo.texi (Load Average): New section, documents
6435 2001-01-06 Ulrich Drepper <drepper@redhat.com>
6437 * version.h (VERSION): Bump to 2.2.1.
6439 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
6440 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
6441 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
6442 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
6443 * Makefile (distribute): Add include/libc-internal.h.
6444 * libio/Makefile (distribute): Avoid overwriting.
6446 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
6447 buffer and table handling.
6449 2001-01-05 H.J. Lu <hjl@gnu.org>
6451 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
6452 vector checking to ...
6453 (_dl_aux_init): Here. New function. Defined only if
6454 HAVE_AUX_VECTOR is defined.
6456 * sysdeps/generic/libc-start.c (__libc_start_main): Call
6457 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
6459 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
6462 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
6463 (HAVE_AUX_VECTOR): Defined.
6464 (_dl_aux_init): Declared.
6466 2001-01-05 Ben Collins <bcollins@debian.org>
6468 * manual/string.texi (Finding Tokens in a String): Document XPG
6469 basename() and dirname(), as well as GNU basename().
6471 2001-01-05 Jakub Jelinek <jakub@redhat.com>
6473 * Makeconfig (preprocess-version): Replace -traditional with
6474 -x assembler-with-cpp.
6476 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
6478 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
6479 for GCC 2.97 or later.
6481 2001-01-05 Ben Collins <bcollins@debian.org>
6483 * manual/stdio.texi (getline): Clarify the return value in the
6484 case of EOF being reached before a newline.
6486 2001-01-04 Jakub Jelinek <jakub@redhat.com>
6488 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
6490 (pmap_set, pmap_unset): Check __get_myaddress return value.
6492 2001-01-05 Mark Kettenis <kettenis@gnu.org>
6494 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
6495 (struct ether_addr): Declare ether_addr_octet member as
6496 `u_int8_t'. Add __attribute__ ((__packed__)).
6498 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6500 * sysdeps/mach/hurd/readdir64.c: New file.
6501 * sysdeps/mach/hurd/readdir64_r.c: New file.
6503 2001-01-07 Mark Kettenis <kettenis@gnu.org>
6505 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
6506 `struct statfs' and `struct statvfs' being identical.
6507 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
6509 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6511 * sysdeps/mach/hurd/fstatfs64.c: New file.
6512 * sysdeps/mach/hurd/fstatvfs64.c: New file.
6513 * sysdeps/mach/hurd/statfs64.c: New file.
6514 * sysdeps/mach/hurd/statvfs64.c: New file.
6515 * sysdeps/mach/hurd/statfsconv.c: New file.
6516 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
6518 2001-01-06 Ulrich Drepper <drepper@redhat.com>
6520 * iconv/skeleton.c: Reset outbuf for next round of the loop.
6521 Reported by Owen Taylor <otaylor@redhat.com>.
6522 * iconv/Makefile (tests): Add tst-iconv3.
6523 * iconv/tst-iconv3.c: New file.
6525 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
6526 * iconvdata/ibm933.c: Likewise.
6527 * iconvdata/ibm935.c: Likewise.
6528 * iconvdata/ibm937.c: Likewise.
6529 * iconvdata/ibm939.c: Likewise.
6530 * iconvdata/ibm930.h: Adjust single byte table for optimization.
6531 * iconvdata/ibm933.h: Likewise.
6532 * iconvdata/ibm935.h: Likewise.
6533 * iconvdata/ibm939.h: Likewise.
6535 * iconvdata/testdata/IBM930: Add misssing SI.
6536 * iconvdata/testdata/IBM933: Likewise.
6537 * iconvdata/testdata/IBM935: Likewise.
6538 * iconvdata/testdata/IBM937: Likewise.
6539 * iconvdata/testdata/IBM939: Likewise.
6541 2001-01-06 Andreas Jaeger <aj@suse.de>
6543 * configure.in: Check for old add-ons that shouldn't be used with
6544 current glibc anymore.
6546 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6548 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
6549 instead of -1 on failure. Don't forget to copy file name into
6550 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
6553 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6555 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
6556 copy st_atime member.
6558 2001-01-05 Ulrich Drepper <drepper@redhat.com>
6560 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
6561 for searches from the root directory.
6562 Reported by loris <loris@iol.it> [PR libc/1991].
6563 * io/Makefile (tests): Add bug-ftw1.
6564 * io/bug-ftw1.c: New file.
6566 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
6567 if it is not available. Instead use it only if it is available.
6568 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
6570 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
6571 overflowing output buffer.
6572 (internal_ucs4_loop_unaligned): Likewise.
6573 (ucs4_internal_loop): Likewise.
6574 (ucs4_internal_loop_unaligned): Likewise.
6575 (internal_ucs4le_loop): Likewise.
6576 (internal_ucs4le_loop_unaligned): Likewise.
6577 (ucs4le_internal_loop): Likewise.
6578 (ucs4le_internal_loop_unaligned): Likewise.
6579 Reported by Owen Taylor <otaylor@redhat.com>.
6580 * iconv/Makefile (tests): Add tst-iconv2.
6581 * iconv/tst-iconv2.c: New file.
6583 2001-01-04 H.J. Lu <hjl@gnu.org>
6585 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
6586 (_dl_clktck): Declared.
6587 (non_dynamic_init): Take 3 arguments.
6588 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
6590 2001-01-01 Bruno Haible <haible@clisp.cons.org>
6592 Finish implementation of plural form handling.
6593 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
6594 'domainname'. Remove 'plindex' field. Add 'domain' and
6595 'translation_length' fields.
6596 (transcmp): Don't compare 'plindex' fields.
6597 (plural_lookup): New function.
6598 (DCIGETTEXT): Change cache handing in the plural case. Don't call
6599 plural_eval before the translation and its catalog file have been
6600 found. Remove plindex from cache key. Add 'translation_length' and
6601 'domain' to cache result.
6602 (_nl_find_msg): Remove index argument, return length of translation
6603 to the caller instead. Weaken comparison of string lengths, to account
6604 for plural entries. Call iconv() on the entire result string, not
6605 only on the portion needed so far.
6606 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
6608 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
6610 2001-01-04 Ulrich Drepper <drepper@redhat.com>
6612 * intl/plural.y (yylex): Minimal improvement in number scanner.
6614 2000-07-31 Bruno Haible <haible@clisp.cons.org>
6616 * intl/plural.y: Include config.h. Needed to define 'inline' away for
6617 C compilers that don't support it.
6618 (yylex): Don't use gcc specific case range syntax.
6619 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
6622 2000-10-12 Bruno Haible <haible@clisp.cons.org>
6624 * intl/finddomain.c: Remove unneeded includes.
6626 2000-10-12 Bruno Haible <haible@clisp.cons.org>
6628 * intl/localealias.c (memcpy): Return first argument, just like the
6629 real memcpy function does.
6630 * intl/bindtextdom.c (memcpy): Likewise.
6631 * intl/finddomain.c (memcpy): Likewise.
6632 * intl/l10nflist.c (memcpy): Likewise.
6633 * intl/textdomain.c (memcpy): Likewise.
6634 From Paul Eggert <eggert@twinsun.com>.
6636 2001-01-03 Jakub Jelinek <jakub@redhat.com>
6638 * resolv/resolv.h (struct __res_state): Add nsinit field.
6639 * resolv/res_send.c (res_nsend): Use it instead of nscount.
6640 * resolv/res_init.c (__res_vinit): Initialize it.
6641 (res_nclose): Clear it instead of nscount.
6643 2001-01-04 Ulrich Drepper <drepper@redhat.com>
6645 * malloc/mtrace.pl: Fix matching of addresses.
6646 Patch by Aharon Robbins <arnold@skeeve.com>.
6648 * Versions.def (ld): Add GLIBC_2.2.
6650 * catgets/gencat.c: Copyright 2001.
6651 * csu/version.c: Likewise.
6652 * debug/catchsegv.sh: Likewise.
6653 * debug/xtrace.sh: Likewise.
6654 * elf/ldconfig.c: Likewise.
6655 * elf/sprof.c: Likewise.
6656 * iconv/iconv_prog.c: Likewise.
6657 * locale/locale.c: Likewise.
6658 * locale/localedef.c: Likewise.
6659 * malloc/memusage.sh: Likewise.
6660 * malloc/mtrace.pl: Likewise.
6661 * nscd/nscd.c: Likewise.
6662 * posix/getconf.c: Likewise.
6664 2001-01-04 Mark Kettenis <kettenis@gnu.org>
6666 * include/stdio.h: Only provide __getwc_unlocked prototype if
6667 USE_IN_LIBIO is defined.
6669 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6671 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
6674 2001-01-03 Andreas Schwab <schwab@suse.de>
6676 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
6677 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
6679 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
6680 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
6682 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
6683 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
6686 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
6688 * sysdeps/generic/strtol_l.c: Likewise.
6689 * sysdeps/generic/strtoul_l.c: Likewise.
6690 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
6692 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
6693 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
6694 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
6695 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
6697 2001-01-04 Andreas Jaeger <aj@suse.de>
6699 * nss/nsswitch.c: Include files for missing prototypes, remove
6700 buggy declaration of prototypes.
6702 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6704 * resolv/Versions: Fix bracing.
6705 * sysdeps/powerpc/soft-fp/Versions: Likewise.
6706 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
6708 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6710 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
6712 2001-01-02 Ulrich Drepper <drepper@redhat.com>
6714 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
6715 Suggested by Minko Markov <mmarkov@home.com>.
6717 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6719 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
6720 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
6722 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
6724 2001-01-02 Ben Collins <bcollins@debian.org>
6726 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
6727 if TZ is not set and TZDEFAULT is not present.
6729 2001-01-01 Ben Collins <bcollins@debian.org>
6731 * string/strings.h: Make sure we declare our functions even if
6732 string.h is already included, based on whether or not __USE_BSD is
6735 2001-01-02 Ulrich Drepper <drepper@redhat.com>
6737 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
6738 other dlopen() and dlsym().
6739 Based on a patch by Ben Collins <bcollins@debian.org>.
6741 2001-01-02 Andreas Jaeger <aj@suse.de>
6743 * dlfcn/errmsg1.c (main): Call dlerror initially.
6744 Reported by Ben Collins <bcollins@debian.org>.
6746 2001-01-02 Ulrich Drepper <drepper@redhat.com>
6748 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
6749 value is ignored if the selected locale is the C locale.
6750 * intl/tst-gettext.c: Set locale for above change.
6751 * intl/tst-translit.c: Likewise.
6753 2001-01-02 Andreas Jaeger <aj@suse.de>
6755 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
6756 (_IO_switch_to_wget_mode): Likewise.
6757 (_IO_sputbackwc): Likewise.
6758 (_IO_sungetwc): Use wint_t for result.
6760 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
6762 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
6765 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
6766 to (int) to avoid warnings.
6767 * stdio-common/printf_fp.c (putc): Likewise.
6768 * stdio-common/printf_size.c (putc): Likewise.
6770 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
6773 2001-01-01 Andreas Jaeger <aj@suse.de>
6775 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
6777 2000-12-31 Andreas Jaeger <aj@suse.de>
6779 * include/libc-internal.h: Add prototype for __libc_freeres.
6781 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
6782 for prototypes, remove redundant prototypes.
6783 * gmon/gmon.c: Likewise.
6784 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
6785 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
6786 * malloc/mtrace.c: Likewise.
6788 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
6790 * elf/soinit.c: Likewise.
6791 * sysdeps/generic/prof-freq.c: Likewise.
6792 * sysdeps/mach/hurd/profil.c: Likewise.
6793 * debug/noophooks.c: Likewise.
6794 * debug/pcprofile.c: Likewise.
6795 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
6796 * sysdeps/generic/get_clockfreq.c: Likewise.
6797 * malloc/set-freeres.c: Likewise.
6799 * locale/localeinfo.h: Add internal prototypes.
6801 * elf/rtld.c (dl_main): Fix prototype.
6803 * iconvdata/tst-table-to.c (main): Use return instead of exit to
6806 * nis/rpcsvc/yp_prot.h: Remove __P.
6807 * nis/rpcsvc/ypupd.h: Likewise.
6808 * nis/rpcsvc/yp.h: Likewise.
6810 * sunrpc/rpc_main.c: Add noreturn attributes.
6811 * sunrpc/rpc_scan.h: Likewise.
6813 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
6815 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
6817 * sunrpc/proto.h: Add noreturn attributes to error and crash.
6819 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
6821 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
6823 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
6825 * include/rpc/rpc_msg.h: Add prototypes for some functions.
6826 * include/rpc/auth.h: Likewise.
6827 * include/rpc/auth_des.h: Likewise.
6828 * include/rpc/clnt.h: Likewise.
6829 * include/rpc/rpc.h: Likewise.
6830 * include/rpc/svc.h: Likewise.
6831 * include/rpc/svc_auth.h: Likewise.
6833 * include/rpc/des_crypt.h: New file.
6835 * malloc/memusagestat.c (main): Use return instead of exit to
6837 * io/pwd.c (main): Likewise.
6838 * iconvdata/tst-table-from.c (main): Likewise.
6839 * ctype/test_ctype.c (main): Likewise.
6840 * setjmp/tst-setjmp.c (main): Likewise.
6841 * signal/tst-signal.c (main): Likewise.
6842 * stdlib/tst-strtol.c (main): Likewise.
6843 * stdlib/tst-strtod.c (main): Likewise.
6844 * stdlib/tst-strtoll.c (main): Likewise.
6845 * stdlib/tst-xpg-basename.c (main): Likewise.
6846 * dirent/tst-seekdir.c (main): Likewise.
6847 * grp/testgrp.c (main): Likewise.
6848 * inet/test_ifindex.c (main): Likewise.
6849 * io/test-utime.c (main): Likewise.
6850 * posix/test-vfork.c (main): Likewise.
6851 * posix/testfnm.c (main): Likewise.
6852 * stdio-common/temptest.c (main): Likewise.
6853 * stdio-common/test_rdwr.c (main): Likewise.
6854 * stdio-common/tst-fileno.c (main): Likewise.
6855 * stdio-common/tst-sscanf.c (main): Likewise.
6856 * stdio-common/tstscanf.c (main): Likewise.
6857 * string/bug-strncat1.c (main): Likewise.
6858 * string/bug-strpbrk1.c (main): Likewise.
6859 * string/bug-strspn1.c (main): Likewise.
6860 * string/test-ffs.c (main): Likewise.
6861 * string/tst-inlcall.c (main): Likewise.
6862 * string/tst-svc.c (main): Likewise.
6863 * timezone/test-tz.c (main): Likewise.
6864 * wctype/test_wcfuncs.c (main): Likewise.
6865 * wctype/test_wctype.c (main): Likewise.
6867 * stdlib/tst-random.c: Add attribute noreturn to fail.
6869 2000-12-28 Wolfram Gloger <wg@malloc.de>
6871 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
6872 destination overlap. Assume dest is always below source if
6875 2000-12-30 Ulrich Drepper <drepper@redhat.com>
6877 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
6878 object was not yet initialized.
6880 2000-12-28 H.J. Lu <hjl@gnu.org>
6882 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
6883 is always consistent even if its dependency is failed.
6885 * elf/dl-open.c (_dl_open): Increment the open count before
6886 calling _dl_close () in case of failure.
6888 * elf/neededtest4.c: New file.
6889 * elf/neededobj5.c: New file.
6890 * elf/neededobj6.c: New file.
6892 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
6893 (tests): Add neededtest4.
6894 (modules-names): Add neededobj5 and neededobj6.
6895 ($(objpfx)neededobj6.so): New target.
6896 ($(objpfx)neededtest4): New target.
6897 ($(objpfx)neededtest4.out): New target.
6899 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
6901 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
6902 * stdlib/monetary.h: Add strfmon format attributes.
6904 2000-12-28 Roland McGrath <roland@frob.com>
6906 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
6907 __mempcpy does it for us.
6909 2000-12-28 Andreas Jaeger <aj@suse.de>
6911 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
6913 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
6916 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
6919 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
6922 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
6923 __chown_is_lchown and __real_chown.
6925 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
6928 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
6929 up GCC's warning about "deprecated use of label at end of compound
6931 * sunrpc/rpc_cout.c (emit_inline): Likewise.
6933 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
6935 Remove struct bb and __bb_head since those are declared by
6938 2000-12-22 Ben Collins <bcollins@debian.org>
6940 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
6942 * manual/argp.texi: Document argp_domain as part of struct argp.
6944 2000-12-28 Andreas Jaeger <aj@suse.de>
6946 * catgets/Makefile (generated): Add sample.SJIS.cat.
6948 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
6950 * elf/dl-minimal.c: Add prototypes.
6952 * include/locale.h: Add internal prototypes.
6953 * include/sys/gmon.h: Likewise.
6955 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
6957 2000-12-27 Ben Collins <bcollins@debian.org>
6959 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
6960 when reallocating the error strings.
6961 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
6963 2000-12-27 Ulrich Drepper <drepper@redhat.com>
6965 * dlfcn/Makefile (tests): Add errmsg1.
6966 (modules-names): Add errmsg1mod.
6967 Add rules to run errmsg1.
6968 * dlfcn/errmsg1.c: New file.
6969 * dlfcn/errmsg1mod.c: New file.
6971 * dlfcn/dlerror.c (dlerror): Always create output string which
6972 includes object file name.
6974 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
6975 if we would go through it only once.
6976 Patch by Rick Gorton <rick.gorton@api-networks.com>.
6978 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
6979 Patch by Richard Henderson <rth@redhat.com>.
6981 2000-12-27 Jakub Jelinek <jakub@redhat.com>
6983 * malloc/malloc.c (memmove): Add prototypes.
6984 (MALLOC_MEMMOVE): Define.
6985 (chunk_realloc): Use it instead of MALLOC_COPY if source and
6986 destination might overlap.
6988 2000-12-27 Andreas Jaeger <aj@suse.de>
6990 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
6992 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6993 * locale/programs/locale.c (show_locale_vars): Likewise.
6994 (show_info): Likewise.
6995 * locale/programs/ld-collate.c (collate_output): Likewise.
6996 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
6997 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6998 * stdlib/rpmatch.c (rpmatch): Likewise.
7000 * setjmp/tst-setjmp.c: Make local functions static.
7001 * setjmp/jmpbug.c: Likewise.
7002 * signal/tst-signal.c: Likewise.
7003 * stdio-common/tfformat.c: Likewise.
7004 * string/tst-svc.c: Likewise.
7005 * time/clocktest.c: Likewise.
7006 * time/tst-getdate.c: Likewise.
7007 * dirent/list.c: Likewise.
7008 * dirent/opendir-tst1.c: Likewise.
7009 * posix/runtests.c: Likewise.
7010 * posix/tst-getaddrinfo.c: Likewise.
7011 * posix/tst-chmod.c: Likewise.
7012 * posix/wordexp-test.c: Likewise.
7013 * misc/tst-efgcvt.c: Likewise.
7014 * timezone/tst-timezone.c: Likewise.
7015 * rt/tst-clock.c: Likewise.
7016 * rt/tst-shm.c: Likewise.
7017 * rt/tst-aio2.c: Likewise.
7018 * rt/tst-aio3.c: Likewise.
7019 * rt/tst-aio4.c: Likewise.
7020 * rt/tst-aio5.c: Likewise.
7022 * dlfcn/failtest.c: Add prototype for foo.
7024 * dlfcn/glrefmain.c: Add prototype for do_test.
7026 * dlfcn/tst-dladdr.c: Add prototype for do_test.
7028 * string/test-ffs.c (main): Add prototype for nested function.
7030 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
7032 * nss/XXX-lookup.c: Add prototype to shut up GCC.
7034 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
7035 setetherent prototype.
7036 Add internal interfaces.
7038 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
7039 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
7041 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
7043 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
7045 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
7046 prototypes, remove struct etherent since it's declared in ether.h.
7047 Fix ntohost declaration.
7049 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
7051 * include/getopt.h: Add internal interfaces.
7052 * include/termios.h: Likewise.
7053 * include/resolv.h: Likewise.
7054 * include/netdb.h: Likewise.
7055 * include/grp.h: Likewise.
7056 * include/pwd.h: Likewise.
7057 * include/shadow.h: Likewise.
7058 * include/rpc/netdb.h: Likewise.
7059 * include/setjmp.h: Likewise.
7061 * include/stdio.h: Add prototypes for compatibility functions.
7062 * include/grp.h: Likewise.
7063 * include/pwd.h: Likewise.
7064 * include/shadow.h: Likewise.
7066 * include/fenv.h: Define internal interfaces.
7068 2000-12-27 Ulrich Drepper <drepper@redhat.com>
7070 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
7071 argument case separately.
7072 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
7074 2000-12-27 Andreas Jaeger <aj@suse.de>
7076 * include/sys/wait.h: Add some prototypes.
7077 * Rules (dummy.c): Create also prototype to shut up GCC.
7079 2000-12-27 Andreas Jaeger <aj@suse.de>
7081 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
7082 it's not needed at the moment.
7083 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
7084 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
7086 2000-12-26 Andreas Jaeger <aj@suse.de>
7088 * libio/getc_u.c: Include stdio.h via system path to get internal
7090 * libio/getwc_u.c: Likewise.
7092 * stdlib/strfmon.c: Fix prototype of __printf_fp.
7094 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
7095 __printf_fp prototypes to ...
7096 * include/printf.h: ...here.
7098 * include/stdio.h: Add some internal prototypes to shut up GCC.
7099 * include/stdlib.h: Likewise.
7101 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
7104 * include/signal.h: Add prototypes for internal sigpause
7107 2000-12-26 Ulrich Drepper <drepper@redhat.com>
7109 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
7110 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
7112 * string/Makefile (tests): Add tst-bswap.
7113 * string/tst-bswap.c: New file.
7115 2000-12-11 Bruno Haible <haible@clisp.cons.org>
7117 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
7119 2000-12-26 Ulrich Drepper <drepper@redhat.com>
7121 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
7122 Patch by Ed Connell <Ed.Connell@sas.com>.
7124 2000-12-24 Ulrich Drepper <drepper@redhat.com>
7126 * locale/iso-639.def: Correct one entry. Add two missing entries.
7128 * locale/iso-4217.def: Change entry for Eritrea.
7129 Reported by Daniel Yacob <yacob@geez.org>.
7131 2000-12-23 Ben Collins <bcollins@debian.org>
7133 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
7136 * manual/stdio.texi (Dynamic Output): Document the return value of
7137 asprintf. Also make the asprintf/snprintf examples a little
7138 better (check for some error returns).
7140 2000-12-22 Andreas Jaeger <aj@suse.de>
7142 * include/stdio.h: Add __ftrylockfile prototype.
7144 2000-12-21 H.J. Lu <hjl@gnu.org>
7146 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
7147 Make sign_exponent element signed.
7149 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
7152 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
7154 2000-12-21 Andreas Jaeger <aj@suse.de>
7156 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
7157 * inet/ether_hton.c: Likewise
7158 * inet/ether_ntoh.c: Likewise.
7160 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
7161 declaration to match prototype.
7163 * include/netinet/ether.h (struct etherent): Declare here so that
7164 all implementations use the same struct.
7166 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
7168 (struct ether): Removed.
7169 Use struct etherent instead of ether everywhere.
7171 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
7173 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
7175 * sunrpc/publickey.c: Include auth_des.h for prototypes.
7177 2000-12-20 Ulrich Drepper <drepper@redhat.com>
7179 * math/test-misc.c: Add more tests for nextafter functions.
7181 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
7182 normal correctly. Correct test for sign.
7183 Based on a patch by HJ Lu.
7185 2000-12-19 Ulrich Drepper <drepper@redhat.com>
7187 * Makeconfig (preprocess-version): Add -traditional to gcc call.
7190 2000-12-19 Andreas Jaeger <aj@suse.de>
7192 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
7194 * nis/nis_intern.h: Add prototype for __do_niscall3.
7196 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
7199 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
7201 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7203 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
7205 2000-12-18 Ulrich Drepper <drepper@redhat.com>
7207 * math/test-misc.c: Add more tests for nextafter.
7208 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
7209 * sysdeps/ieee754/ldbl-96/math_ldbl.h
7210 (ieee_long_double_shape_type): Make sign_exponent element signed.
7212 * manual/message.texi: Add Estonian to plural overview list.
7213 Correct rule for Slavic languages.
7214 Patch by Stanislav Brabec <utx@penguin.cz>.
7216 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
7218 2000-12-18 Andreas Jaeger <aj@suse.de>
7220 * test-skeleton.c: Use temp_name_list instead of name_list to
7221 avoid collision with name_list from inet/netgroup.h.
7223 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
7225 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
7226 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
7227 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7228 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
7230 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
7231 declaration to match prototype.
7232 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
7233 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
7234 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
7236 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
7237 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
7238 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
7239 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
7240 (_nss_nis_getservbyport_r): Likewise.
7241 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
7242 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
7243 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
7244 (_nss_nis_setnetent): Likewise
7245 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7246 (_nss_nis_endnetgrent): Likewise.
7247 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
7249 (_nss_nisplus_setnetgrent): Likewise.
7250 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
7251 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
7252 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
7253 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
7255 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
7257 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
7259 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
7261 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
7262 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
7263 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
7264 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7265 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
7266 (_nss_dns_getnetbyaddr_r): Likewise.
7268 2000-12-17 Andreas Jaeger <aj@suse.de>
7270 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
7273 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
7274 unused attribute to shut up gcc warnings.
7276 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
7277 * sysdeps/generic/k_tanl.c: Likewise.
7278 * sysdeps/generic/k_cosl.c: Likewise.
7279 * sysdeps/generic/e_j0l.c: Likewise.
7280 * sysdeps/generic/e_j1l.c: Likewise.
7281 * sysdeps/generic/e_jnl.c: Likewise.
7282 * sysdeps/generic/e_lgammal_r.c: Likewise.
7284 * elf/vismain.c: Move prototypes for functions in vismod*.c to
7286 * elf/vismod.h: New file.
7287 * elf/Makefile (distribute): Add vismod.h.
7288 * elf/vismod1.c: Include vismod.h.
7289 * elf/vismod2.c: Likewise.
7290 * elf/vismod3.c: Likewise.
7292 * elf/constload3.c: Add prototype declarations to shut up gcc.
7293 * elf/failobj.c: Likewise.
7294 * elf/nodelmod3.c: Likewise.
7295 * elf/filtmod1.c: Likewise.
7296 * elf/filtmod2.c: Likewise.
7297 * elf/reldepmod1.c: Likewise.
7298 * elf/reldepmod2.c: Likewise.
7299 * elf/reldepmod3.c: Likewise.
7300 * elf/reldepmod4.c: Likewise.
7301 * elf/unload2dep.c: Likewise.
7302 * elf/unload2mod.c: Likewise.
7303 * elf/ltglobmod1.c: Likewise.
7304 * elf/pathoptobj.c: Likewise.
7305 * elf/neededobj1.c: Likewise.
7306 * elf/neededobj2.c: Likewise.
7307 * elf/neededobj3.c: Likewise.
7308 * elf/neededobj4.c: Likewise.
7309 * elf/nextmod1.c: Likewise.
7310 * elf/nextmod2.c: Likewise.
7312 * locale/programs/ld-collate.c (collate_finish): Don't use labels
7313 at end of compound statement.
7314 * locale/programs/locale.c (show_info): Likewise.
7315 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7317 2000-12-16 Jakub Jelinek <jakub@redhat.com>
7319 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
7320 with a pointer not returned by obstack_ functions.
7322 2000-12-16 Ulrich Drepper <drepper@redhat.com>
7324 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
7326 (struct stat64): Likewise.
7327 Reported by Michael Keezer <mkeezer@redhat.com>.
7329 * timezone/asia: Update from tzdata2000h.
7330 * timezone/australasia: Likewise.
7331 * timezone/backward: Likewise.
7332 * timezone/europe: Likewise.
7333 * timezone/northamerica: Likewise.
7334 * timezone/southamerica: Likewise.
7335 * timezone/zone.tab: Likewise.
7337 2000-12-14 Jakub Jelinek <jakub@redhat.com>
7339 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
7340 and dir.stream is NULL, only free dir.content.
7341 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
7342 * io/ftwtest-sh: Test with --early-exit.
7344 2000-12-13 Jakub Jelinek <jakub@redhat.com>
7346 * misc/efgcvt.c (FCVT_MAXDIG): Define.
7347 (FCVT_BUFPTR): New variable.
7348 (fcvt): If fcvt_r returns -1 on the static short buffer,
7349 try to malloc a sufficiently large one and retry.
7350 (free_mem): New function.
7351 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
7352 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
7354 2000-12-15 Ulrich Drepper <drepper@redhat.com>
7356 * misc/dirname.c (dirname): Fix search for second to last slash.
7358 2000-12-13 Andreas Jaeger <aj@suse.de>
7360 * misc/tst-dirname.c (main): Fix typo in test to really use
7361 the examples from Unix98.
7362 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
7364 2000-12-09 H.J. Lu <hjl@gnu.org>
7366 * sysdeps/ia64/fpu/s_fabs.S: New file.
7367 * sysdeps/ia64/fpu/s_fabsf.S: New file.
7368 * sysdeps/ia64/fpu/s_fabsl.S: New file.
7370 2000-12-15 Andreas Jaeger <aj@suse.de>
7372 * stdio-common/scanf9.c (main): Reformat and change to avoid
7375 * stdio-common/tstdiomisc.c: Make local functions static.
7376 * stdio-common/tst-printf.c: Likewise.
7378 * elf/constload2.c: Add prototype declarations to shut up gcc.
7379 * elf/dep1.c: Likewise.
7380 * elf/dep2.c: Likewise.
7381 * elf/dep3.c: Likewise.
7382 * elf/dep4.c: Likewise.
7383 * elf/ltglobmod2.c: Likewise.
7385 * libio/fmemopen.c: Make local functions static.
7387 * elf/Makefile (distribute): Added testobj.h.
7389 * elf/testobj.h: New file.
7391 * elf/testobj1.c: Include testobj.h and move prototype
7392 declarations to testobj.h.
7393 * elf/testobj2.c: Likewise.
7394 * elf/testobj3.c: Likewise.
7395 * elf/testobj4.c: Likewise.
7396 * elf/testobj5.c: Likewise.
7397 * elf/testobj6.c: Likewise.
7398 * elf/testobj1_1.c: Likewise.
7399 * elf/preloadtest.c: Likewise.
7401 2000-12-15 Ben Collins <bcollins@debian.org>
7403 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
7404 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
7406 2000-12-14 H.J. Lu <hjl@gnu.org>
7408 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
7409 field in a float is 8 bits, not 11 bits.
7411 2000-12-13 Jakub Jelinek <jakub@redhat.com>
7413 * math/test-misc.c (main): Adjust m for IEEE quad long double.
7415 2000-12-13 Andreas Jaeger <aj@suse.de>
7417 * manual/message.texi (Using gettextized software): Fix typo.
7419 * manual/charset.texi (Converting a Character): Fix mbstouwcs
7421 Patch by Martin Buchholz <martin@xemacs.org>.
7423 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
7424 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
7426 2000-12-11 Andreas Jaeger <aj@suse.de>
7428 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
7429 kernel_sigset_t and use it.
7430 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
7432 2000-12-10 Richard Henderson <rth@redhat.com>
7434 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
7435 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
7436 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
7438 2000-12-10 Jakub Jelinek <jakub@redhat.com>
7440 * sysdeps/alpha/htonl.S: Fix a typo.
7442 2000-12-10 Jakub Jelinek <jakub@redhat.com>
7444 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
7446 2000-12-10 Andreas Jaeger <aj@suse.de>
7448 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
7449 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
7450 Drepper <drepper@redhat.com>.
7452 2000-12-09 Andreas Jaeger <aj@suse.de>
7454 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
7456 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
7458 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
7460 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
7463 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
7466 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
7467 * nscd/connections.c (handle_request): Likewise.
7468 * nscd/pwdcache.c (addpwbyname): Likewise.
7469 * nscd/grpcache.c (addgrbyname): Likewise.
7471 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
7473 2000-12-09 Ulrich Drepper <drepper@redhat.com>
7475 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
7477 * Makeconfig (default_cflags): Make -O2 the default for stable
7480 2000-12-08 H.J. Lu <hjl@gnu.org>
7482 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
7483 * sysdeps/ia64/fpu/s_isinf.S: This.
7484 Add a .pred.rel.mutex note to avoid false report.
7486 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
7487 * sysdeps/ia64/fpu/s_isnan.S: This.
7489 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
7490 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
7491 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
7492 * sysdeps/ia64/fpu/s_isinff.S: New file.
7493 * sysdeps/ia64/fpu/s_isinfl.S: New file.
7494 * sysdeps/ia64/fpu/s_isnanf.S: New file.
7495 * sysdeps/ia64/fpu/s_isnanl.S: New file.
7496 * sysdeps/ia64/fpu/s_finite.S: New file.
7497 * sysdeps/ia64/fpu/s_finitef.S: New file.
7498 * sysdeps/ia64/fpu/s_finitel.S: New file.
7499 * sysdeps/ia64/fpu/s_signbit.S: New file.
7500 * sysdeps/ia64/fpu/s_signbitf.S: New file.
7501 * sysdeps/ia64/fpu/s_signbitl.S: New file.
7502 * sysdeps/ia64/fpu/s_copysign.S: New file.
7503 * sysdeps/ia64/fpu/s_copysignf.S: New file.
7504 * sysdeps/ia64/fpu/s_copysignl.S: New file.
7506 2000-12-08 Ulrich Drepper <drepper@redhat.com>
7508 * math/libm-test.inc (main): Fix typos in messages.
7510 * string/stratcliff.c: Add test for rawmemchr.
7512 2000-12-08 Jakub Jelinek <jakub@redhat.com>
7514 * elf/dl-open.c (_dl_open): If objname points right after errstring,
7515 allocate it together with errstring using alloca.
7516 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
7517 to "", because it might point to local stack.
7519 2000-12-05 H.J. Lu <hjl@gnu.org>
7521 * nss/Makefile (routines): Add getnssent and getnssent_r.
7522 * nss/nsswitch.h (__nss_setent): New internal NSS function.
7523 (__nss_endent): Likewise.
7524 (__nss_getent_r): Likewise.
7525 (__nss_getent): Likewise.
7526 * nss/getnssent_r.c: New file.
7527 * nss/getnssent.c: New file.
7528 * nss/getXXent.c (H_ERRNO_VAR): Updated.
7529 (GETFUNC_NAME): Updated to call __nss_getent ().
7530 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
7531 (STAYOPEN_TMPVAR): Updated.
7532 (STAYOPEN_VAR): Updated.
7533 (SETFUNC_NAME): Updated to call __nss_setent ().
7534 (ENDFUNC_NAME): Updated to call __nss_endent ().
7535 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
7537 2000-12-08 Andreas Jaeger <aj@suse.de>
7539 * nscd/dbg_log.h (dbg_log): Correct attribute.
7541 2000-12-08 Jakub Jelinek <jakub@redhat.com>
7543 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
7544 cp + len. Compute where from dirname.
7545 Reported by <jreiser@BitWagon.com>.
7547 2000-12-08 Richard Henderson <rth@twiddle.net>
7549 * sysdeps/alpha/_mcount.S: Fix typo.
7550 * sysdeps/alpha/strncpy.S: Likewise.
7552 * sysdeps/alpha/alphaev6/Implies: New file.
7553 * sysdeps/alpha/alphaev67/Implies: New file.
7554 * sysdeps/alpha/alphaev67/ffs.S: New file.
7555 * sysdeps/alpha/alphaev67/ffsll.S: New file.
7556 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
7557 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
7558 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
7559 * sysdeps/alpha/rawmemchr.S: New file.
7560 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
7561 * sysdeps/alpha/strcpy.S: Likewise.
7564 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
7566 From rick.gorton@alpha-processor.com:
7567 * sysdeps/alpha/alphaev6/memchr.S: New file.
7568 * sysdeps/alpha/alphaev6/memcpy.S: New file.
7569 * sysdeps/alpha/alphaev6/memset.S: New file.
7570 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
7571 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
7572 * sysdeps/alpha/alphaev67/strcat.S: New file.
7573 * sysdeps/alpha/alphaev67/strchr.S: New file.
7574 * sysdeps/alpha/alphaev67/strlen.S: New file.
7575 * sysdeps/alpha/alphaev67/strncat.S: New file.
7576 * sysdeps/alpha/htonl.S: Use a shorter sequence.
7578 2000-12-08 Jakub Jelinek <jakub@redhat.com>
7580 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
7581 Reported by <pspencer@fields.utoronto.ca>.
7583 2000-12-07 Jes Sorensen <jes@linuxcare.com>
7585 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
7586 Pointed out by Hans Boehm.
7588 2000-12-07 H.J. Lu <hjl@gnu.org>
7590 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
7592 2000-12-07 Andreas Jaeger <aj@suse.de>
7594 * misc/error.c: Add format attributes for __error and __error_at_line.
7596 * nscd/dbg_log.h: Add format attribute.
7598 2000-12-08 Ulrich Drepper <drepper@redhat.com>
7600 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
7601 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
7603 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
7605 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
7607 2000-12-06 Ulrich Drepper <drepper@redhat.com>
7609 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7610 (sysdep_routines): Add uitrunc.
7611 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
7612 Patches by Michael Keezer <mkeezer@redhat.com>.
7614 2000-12-06 Roland McGrath <roland@frob.com>
7616 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
7617 argument data, since it will be used to copy out too (for INOUT).
7618 Reported by Marcus Brinkmann <marcus@gnu.org>.
7620 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
7621 (__ioctl): Use uintptr_t instead of unsigned long int.
7623 2000-12-06 Jim Wilson <wilson@redhat.com>
7625 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
7627 2000-12-06 Ulrich Drepper <drepper@redhat.com>
7629 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
7630 x.5 rounding correctly.
7632 2000-12-06 Mark Kettenis <kettenis@gnu.org>
7634 * stdio-common/perror.c (perror): Conditionalize code dealing with
7635 wide-oriented streams on USE_IN_LIBIO.
7637 2000-12-06 Mark Kettenis <kettenis@gnu.org>
7639 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
7640 as internal_function.
7642 2000-12-05 Ulrich Drepper <drepper@redhat.com>
7644 * sysdeps/alpha/elf/start.S (__data_start): Define.
7646 2000-12-05 H.J. Lu <hjl@gnu.org>
7648 * nss/getXXent_r.c (setup): Change the return type to int.
7650 2000-12-05 Ulrich Drepper <drepper@redhat.com>
7652 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7653 (sysdep_routines): Add restf and savef.
7654 * sysdeps/unix/sysv/aix/restf.c: New file.
7655 * sysdeps/unix/sysv/aix/savef.c: New file.
7656 Patches by Michael Keezer <mkeezer@redhat.com>.
7658 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
7659 if O_DIRECTORY is not defined.
7660 Patch by Michael Keezer <mkeezer@redhat.com>.
7662 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
7663 Patch by Michael Keezer <mkeezer@redhat.com>.
7665 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
7666 than 4 bytes in escape sequence.
7667 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7669 2000-12-05 Andreas Jaeger <aj@suse.de>
7671 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
7674 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
7676 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
7678 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
7679 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7681 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
7683 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
7684 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
7686 * sysdeps/generic/dl-cache.c: Remove declaration of
7687 _dl_sysdep_read_whole_file.
7689 * elf/dl-load.c (_dl_map_object): Remove declaration of
7690 _dl_load_cache_lookup.
7692 * sysdeps/generic/ldsodefs.h: Add declarations of
7693 _dl_load_cache_lookup, _dl_unload_cache,
7694 _dl_sysdep_read_whole_file, _dl_sysdep_start and
7695 _dl_sysdep_start_cleanup.
7697 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
7700 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
7701 * sysdeps/generic/dl-environ.c: Likewise.
7703 * stdio-common/printf_fp.c: Include <gmp.h> instead of
7705 * math/atest-exp.c: Likewise.
7706 * math/atest-exp2.c: Likewise.
7707 * math/atest-sincos.c: Likewise.
7708 * stdio-common/_itoa.c: Likewise.
7709 * stdio-common/_itowa.c: Likewise.
7711 * include/gmp.h: New file with internal prototypes.
7713 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
7715 * include/setjmp.h: ...here.
7717 * locale/Makefile (routines): Remove codeset_name since it's not
7720 * locale/codeset_name.c: Removed.
7722 2000-12-05 Ulrich Drepper <drepper@redhat.com>
7724 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
7726 2000-12-05 Andreas Jaeger <aj@suse.de>
7728 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
7730 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
7732 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
7735 2000-12-05 Andreas Jaeger <aj@suse.de>
7737 * nss/test-netdb.c: Mark local functions as static to avoid
7739 (main): Use return to silence warning.
7741 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
7743 * stdio-common/test-popen.c: Mark local functions as static to
7745 (main): Use return to silence warning.
7747 * stdlib/testsort.c (compare): Mark as static to avoid warning.
7749 * assert/test-assert.c: Mark local functions as static to avoid
7751 * assert/test-assert-perr.c: Likewise.
7753 * math/libm-test.inc (main): Use return to silence warnings.
7755 2000-12-04 Ulrich Drepper <drepper@redhat.com>
7757 * math/fenv.h: Fix typo in comment.
7759 * math/test-misc.c (main): Add a few more over and underflow tests
7762 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
7763 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7764 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7765 * math/w_scalb.c: Don't use matherr except in SVID mode.
7766 * math/w_scalbf.c: Likewise.
7767 * math/w_scalbl.c: Likewise.
7768 * math/test-misc.c: Add test for NaN and scalbl.
7769 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7771 2000-12-04 Ulrich Drepper <drepper@redhat.com>
7773 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
7774 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
7775 * include/libc-symbols.h (strong_alias): Define special version
7776 for HAVE_ASM_GLOBAL_DOT_NAME.
7777 (weak_alias): Likewise.
7778 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
7779 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
7780 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
7781 getutxline, pututxline, and utmpxname.
7782 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
7783 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
7784 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
7785 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
7786 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
7787 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
7788 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
7789 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
7790 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
7791 Patches by Michael Keezer <mkeezer@redhat.com>.
7793 2000-12-04 H.J. Lu <hjl@gnu.org>
7795 * configure.in: Change --with-oldest-abi=ABI to
7796 --enable-oldest-abi=ABI.
7798 2000-12-02 Bruno Haible <haible@clisp.cons.org>
7800 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
7801 fwprintf instead of fprintf.
7803 2000-12-04 Ulrich Drepper <drepper@redhat.com>
7805 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
7806 DECIMAL_DIG definitions.
7807 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
7808 * sysdeps/generic/bits/mathdef.h: Likewise
7809 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
7810 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
7811 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
7812 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
7813 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
7814 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
7816 2000-12-03 Ulrich Drepper <drepper@redhat.com>
7818 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
7820 * math/atest-exp.c: Mark local functions as static to avoid warnings.
7821 * math/atest-exp2.c: Likewise.
7822 * math/atest-sincos.c: Likewise.
7824 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
7825 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7827 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
7828 the handling of denormalized numbers.
7830 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
7832 * sysdeps/i386/fpu/fpclassifyl.c: New file.
7834 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
7835 pseudo denormal representation of LDBL_MIN.
7837 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
7838 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
7840 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
7841 * iconvdata/jis0208.c: Likewise.
7842 * iconvdata/jis0212.c: Likewise.
7843 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7845 * math/test-misc.c (main): More tests for frexp and some for
7846 fpclassify and isnormal.
7848 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
7850 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7852 * math/test-misc.c (main): Add tests for frexp.
7853 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7854 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
7856 2000-12-02 H.J. Lu <hjl@gnu.org>
7858 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
7861 2000-12-02 Ulrich Drepper <drepper@redhat.com>
7863 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
7864 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7865 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7867 * sysdeps/generic/glob.c: Adjust types of several variables to
7870 2000-12-01 Ulrich Drepper <drepper@redhat.com>
7872 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
7874 2000-11-30 Roland McGrath <roland@frob.com>
7876 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
7877 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
7878 allow multiple instances using the same function name in one file.
7880 2000-12-01 Ulrich Drepper <drepper@redhat.com>
7882 * configure.in: Correct test for pserver CVS access.
7884 2000-11-28 H.J. Lu <hjl@gnu.org>
7886 * libio/libio.h: Remove extra "#if ... #endif".
7888 2000-11-29 H.J. Lu <hjl@gnu.org>
7890 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
7892 2000-12-01 H.J. Lu <hjl@gnu.org>
7894 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
7895 * nss/getXXent_r.c: Likewise.
7896 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7898 2000-11-30 H.J. Lu <hjl@gnu.org>
7900 * scripts/abi-versions.awk (oldest_abi): New variable.
7901 Handle the oldest ABI supported.
7903 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
7904 for scripts/abi-versions.awk.
7906 * configure.in: Add --with-oldest-abi=ABI.
7907 * configure: Rebuild.
7909 * config.make.in (oldest-abi): New.
7911 * config.h.in (GLIBC_OLDEST_ABI): New.
7913 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
7915 2000-11-30 Jakub Jelinek <jakub@redhat.com>
7917 * locale/setlocale.c (setname): Free for all categories, not just
7919 (setlocale): Store a copy of string passed by user, not the string
7922 2000-11-30 Roland McGrath <roland@frob.com>
7924 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
7925 rather than _hurd_fd_subinit, so it happens after it's safe to use
7926 libc facilities like malloc.
7928 2000-11-28 Andreas Jaeger <aj@suse.de>
7930 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
7931 declaration, adjust declaration of __syscall_getdents to match
7934 2000-11-29 H.J. Lu <hjl@gnu.org>
7936 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
7938 2000-11-29 Andreas Jaeger <aj@suse.de>
7940 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
7942 2000-11-28 Ulrich Drepper <drepper@redhat.com>
7944 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
7945 * dlfcn/defaultmod2.c: Likewise.
7946 * dlfcn/dlopen.c: Likewise.
7947 * dlfcn/dlopenold.c: Likewise.
7948 * dlfcn/failtestmod.c: Likewise.
7949 * dlfcn/glreflib1.c: Likewise.
7950 * dlfcn/glreflib2.c: Likewise.
7951 * dlfcn/eval.c: Likewise. Add attributes.
7953 * ctype/ctype-extn.c: Define isblank and not __isblank.
7955 * time/strftime.c: Add const where necessary to avoid warnings.
7956 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
7958 2000-11-22 Paul Eggert <eggert@twinsun.com>
7960 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
7961 size of (size_t) -1; it's not portable.
7963 2000-11-28 Ulrich Drepper <drepper@redhat.com>
7965 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
7967 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
7969 2000-11-14 Jes Sorensen <jes@linuxcare.com>
7971 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
7973 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
7974 _mcount is required by profiled binaries.
7976 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
7977 * sysdeps/ia64/machine-gmon.h: ...here.
7979 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
7981 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
7982 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
7984 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
7986 * iconvdata/ibm922.c: New file.
7987 * iconvdata/ibm922.h: New file.
7988 * iconvdata/ibm1124.c: New file.
7989 * iconvdata/ibm1124.h: New file.
7990 * iconvdata/ibm1129.c: New file.
7991 * iconvdata/ibm1129.h: New file.
7992 * iconvdata/testdata/IBM922: New file.
7993 * iconvdata/testdata/IBM922..UTF8: New file.
7994 * iconvdata/testdata/IBM1124: New file.
7995 * iconvdata/testdata/IBM1124..UTF8: New file.
7996 * iconvdata/testdata/IBM1129: New file.
7997 * iconvdata/testdata/IBM1129..UTF8: New file.
7999 2000-11-28 Ulrich Drepper <drepper@redhat.com>
8001 * catgets/gencat.c (normalize_line): Take extra parameter with escape
8002 character. Change callers.
8003 (open_conversion): Determine mapping of 0x5c as wchar_t value.
8004 * catgets/Makefile: Add rules to build and run test-gencat.
8005 * catgets/sample.SJIS: New file.
8006 * catgets/test-gencat.c: New file.
8007 * catgets/test-gencat.sh: New file.
8008 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8010 2000-11-28 Andreas Jaeger <aj@suse.de>
8012 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
8015 2000-11-28 Ulrich Drepper <drepper@redhat.com>
8017 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
8019 2000-11-28 Andreas Jaeger <aj@suse.de>
8021 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
8023 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
8026 2000-11-27 Ulrich Drepper <drepper@redhat.com>
8028 * misc/getusershell.c: Make strings in okshells array const.
8029 * misc/regexp.c: Add const to cast to avoid warnings.
8030 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
8031 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
8033 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
8035 * misc/error.c: Add prototypes for __error and __error_at_line.
8036 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
8037 statement to avoid warning.
8038 * test-skeleton.c: Mark timeout_handler with noreturn.
8039 * iconv/skeleton.c (get16u): Add const to cast.
8041 * iconvdata/gb18030.c: Likewise.
8042 * iconvdata/iso-2022-cn-ext.c: Likewise.
8043 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
8044 * iconvdata/big5.c: Likewise.
8045 * iconvdata/big5hkscs.c: Likewise.
8046 * iconvdata/iso_6937.c: Likewise.
8047 * iconvdata/iso_6937-2.c: Likewise.
8048 * iconvdata/t.61.c: Likewise.
8049 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
8050 * iconvdata/unicode.c: Likewise.
8051 * iconvdata/utf-16.c: Likewise.
8052 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
8053 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
8054 with little code shuffling.
8056 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
8057 the problems introduced when the user selects -O3.
8059 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
8060 * misc/sys/cdefs.h: Define __flexarr.
8061 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
8063 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
8064 * iconv/skeleton.c: Likewise.
8065 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
8066 * iconv/loop.c (get16): Add const to cast.
8069 2000-11-27 Andreas Jaeger <aj@suse.de>
8071 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
8073 * login/programs/utmpdump.c (print_entry): Likewise.
8075 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
8077 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
8078 in a single asm as they may be used to access other stored
8080 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8082 2000-11-27 Andreas Jaeger <aj@suse.de>
8084 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
8085 * rt/tst-aio64.c: Likewise.
8087 2000-11-27 Ulrich Drepper <drepper@redhat.com>
8089 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
8091 (libc.cat): Likewise.
8092 * catgets/gencat.c: Implement handling of message catalogs encoded
8093 with stateful character sets.
8094 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8096 2000-11-26 Ulrich Drepper <drepper@redhat.com>
8098 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
8100 * inet/getnameinfo.c: Adjust casts to avoid warnings.
8101 * inet/rcmd.c: Likewise.
8102 * inet/ruserpass.c: Likewise.
8103 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
8104 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8105 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
8106 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
8107 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
8108 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
8109 * include/aliases.h: Add prototypes for internal __getalias* functions.
8110 * include/netdb.h: Add prototypes for __old_gethostent_r,
8111 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
8112 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
8113 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
8114 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
8115 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
8116 __old_getrpcbynumber_r, __old_getrpcent_r.
8118 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
8119 __getrpcent_r prototypes.
8121 2000-11-25 Ulrich Drepper <drepper@redhat.com>
8123 * string/strcoll.c: Add casts to avoid warnings.
8124 * string/strnlen.c: Likewise.
8125 * string/strxfrm.c: Likewise.
8126 * sysdeps/generic/_strerror.c: Likewise.
8127 * sysdeps/generic/memrchr.c: Likewise.
8128 * sysdeps/generic/strcasestr.c: Likewise.
8129 * sysdeps/generic/strstr.c: Likewise.
8131 * locale/weight.h (findidx): Add const to cast to avoid warning.
8133 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
8134 * elf/loadtest.c: Likewise.
8135 * elf/multiload.c: Likewise.
8136 * elf/next.c: Likewise.
8137 * elf/nodelete.c: Likewise.
8138 * elf/noload.c: Likewise.
8139 * elf/order.c: Likewise.
8140 * elf/origtest.c: Likewise.
8141 * elf/preloadtest.c: Likewise.
8142 * elf/restest1.c: Likewise.
8144 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
8145 parameter of asm must be in %ecx.
8147 * string/tester.c: Mark test functions as static to avoid warnings.
8149 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
8150 preserve value over different gconv-modules files.
8152 2000-11-24 Ulrich Drepper <drepper@redhat.com>
8154 * locale/findlocale.c: Add casts to avoid warnings.
8155 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
8156 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
8158 * misc/tsearch.c (const_node): New type.
8159 (trecurse): Correct casts to avoid warnings.
8160 (__twalk): Likewise.
8161 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
8164 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
8166 * test-skeleton.c: Mark local functions as static to avoid warnings.
8168 2000-11-23 H.J. Lu <hjl@gnu.org>
8170 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
8171 support the background job.
8174 2000-11-24 Ulrich Drepper <drepper@redhat.com>
8176 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
8177 has same names but lower cost.
8179 2000-11-23 Jakub Jelinek <jakub@redhat.com>
8181 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
8182 which never occur during bootstrap.
8183 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8185 2000-11-23 Andreas Jaeger <aj@suse.de>
8187 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
8189 * nss/Versions: Remove _nss_files_getipnodebyname_r.
8191 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
8193 2000-11-18 Martin Buchholz <martin@xemacs.org>
8195 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
8198 2000-11-21 Alan Modra <alan@linuxcare.com.au>
8200 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
8202 * csu/abi-note.S: Correct comment for operating system number.
8204 2000-11-22 Ulrich Drepper <drepper@redhat.com>
8206 * Versions.def: Add GLIBC_2.2.1 for glibc.
8208 2000-11-22 Andreas Schwab <schwab@suse.de>
8210 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
8211 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
8213 2000-11-22 Ulrich Drepper <drepper@redhat.com>
8215 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
8216 absolute time for pthread_cond_timedwait call.
8217 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
8219 * rt/Makefile (tests): Add tst-aio6.
8220 * rt/tst-aio6.c: New file.
8222 2000-11-23 Andreas Jaeger <aj@suse.de>
8224 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
8226 2000-11-22 Andreas Jaeger <aj@suse.de>
8228 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
8230 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
8232 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
8234 2000-11-21 Andreas Schwab <schwab@suse.de>
8236 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
8237 * sysdeps/arm/setjmp.S: Likewise.
8238 * sysdeps/arm/fpu/setjmp.S: Likewise.
8239 * sysdeps/i386/setjmp.S: Likewise.
8240 * sysdeps/i386/elf/setjmp.S: Likewise.
8241 * sysdeps/s390/setjmp.S: Likewise.
8242 * sysdeps/s390/elf/setjmp.S: Likewise.
8243 * sysdeps/sh/sh3/setjmp.S: Likewise.
8244 * sysdeps/sh/sh4/setjmp.S: Likewise.
8245 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8246 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8247 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
8248 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
8250 2000-11-21 Andreas Jaeger <aj@suse.de>
8252 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
8253 NORETURN, fix parameter list.
8255 * string/bug-strncat1.c (main): Fix typo.
8256 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
8258 2000-11-20 Ulrich Drepper <drepper@redhat.com>
8260 * configure.in: Add --enable-all-warnings.
8261 * config.make.in (all-warnings): New variable.
8262 * Makeconfig (+gccwarn): Define with many more warnings if
8263 all-warnings is yes.
8265 2000-11-20 Jakub Jelinek <jakub@redhat.com>
8267 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
8268 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
8269 * malloc/tst-valloc.c (main): Cast valloc return value to long.
8270 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
8271 * math/test-fpucw.c (main): Use %lx in format string, cast
8272 control words to long.
8273 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
8274 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
8275 large that it is unsigned warning.
8277 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
8278 it to long on sparc64.
8280 2000-11-20 Andreas Jaeger <aj@suse.de>
8282 * nscd/nscd.h (termination_handler): Add noreturn attribute.
8283 (receiv_print_stats): Likewise.
8285 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
8287 2000-11-20 Ulrich Drepper <drepper@redhat.com>
8289 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
8291 * csu/gmon-start.c: Always have prototype for __gmon_start.
8292 * csu/version.c: Add prototypes for __libc_print_version and
8294 * iconv/gconv.c: Include gconv_int.h and gconv.h.
8295 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
8297 * iconv/gconv_builtin.h: Add ASCII module definitions.
8298 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
8299 (add_module): Add cast to avoid warning. Rework construction of
8300 strings for new module.
8301 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
8302 (derivation_compare): Likewise.
8303 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
8304 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
8305 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
8306 (struct gconv_alias): Remove const from fromname and toname.
8307 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
8309 (internal_ucs4_loop): Use correct const-ness.
8310 (ucs4_internal_loop): Likewise.
8311 (internal_ucs4le_loop): Likewise.
8312 (ucs4le_internal_loop_single): Likewise.
8313 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
8314 to_idx, to_tbl, winbuf, winbufend const. Change casts in
8315 assignments appropriately.
8316 (struct known_trans): Remove const from fname.
8317 (trans_compare): Make s1 and s2 const.
8318 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
8320 * iconv/skeleton.c: Remove cast in calls of loop functions.
8321 * iconvdata/gconv-modules: Remove US-ASCII definitions.
8322 * iconvdata/iso646.c: Remove US_ASCII support.
8323 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
8324 * include/unistd.h: Add __libc_check_standard_fds prototype.
8325 * string/bits/string2.h (__mempcpy_args): Add const to casts.
8326 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
8328 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
8329 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
8330 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
8332 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
8333 __libc_init_first and _dl_start.
8334 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
8335 (DCIGETTEXT): Make domaindata variable const.
8336 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
8339 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
8341 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
8343 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
8344 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
8347 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
8348 value defined in /usr/include/asm-mips/fcntl.h.
8350 2000-11-18 Ulrich Drepper <drepper@redhat.com>
8352 * stdio-common/Makefile (tests): Add test-vfprintf.
8353 (test-vfprintf-ENV): New variable.
8354 * stdio-common/test-vfprintf.c: New file.
8356 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
8358 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
8359 (tst-mbrtowc-ENV): New variable.
8360 (tst-wcrtomb-ENV): New variable.
8361 * wcsmbs/tst-mbrtowc.c: New file.
8362 * wcsmbs/tst-wcrtomb.c: New file.
8364 2000-11-16 Andreas Jaeger <aj@suse.de>
8366 * manual/install.texi (Tools for Compilation): Update
8367 documentation for GCC 2.95.2.
8369 2000-11-18 Ulrich Drepper <drepper@redhat.com>
8371 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
8372 if IPv4 and IPv6 requests timed out.
8374 2000-11-18 Akim Demaille <akim@epita.fr>
8376 * malloc/obstack.h: Formatting changes.
8377 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
8378 prevents type checking.
8379 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
8380 cast the value to (void *): assigning a `foo *' to a `void *'
8382 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
8384 2000-11-17 Ulrich Drepper <drepper@redhat.com>
8386 * scripts/config.guess: Update from upstream maintainer.
8387 * scripts/config.sub: Likewise.
8389 2000-11-16 Ulrich Drepper <drepper@redhat.com>
8391 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
8392 * libio/freopen64.c (freopen64): Likewise.
8393 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8395 * libio/Makefile: Add rules to build and run test-freopen.
8396 * libio/test-freopen.c: New file.
8397 * libio/test-freopen.sh: New file.
8399 2000-11-15 H.J. Lu <hjl@gnu.org>
8401 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
8402 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
8403 (DL_DT_FINI_ADDRESS): Likewise.
8405 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
8406 return type to ElfW(Addr).
8407 (_dl_function_address): New prototype.
8408 (DL_FUNCTION_ADDRESS): Defined.
8409 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
8410 (DL_DT_FINI_ADDRESS): Likewise.
8412 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
8414 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
8415 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
8417 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
8418 (_dl_function_address): This.
8420 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
8421 function pointer for DT_FINI.
8422 * elf/dl-close.c (_dl_close): Likewise.
8424 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
8425 function pointer for DT_INIT.
8427 2000-11-16 Jakub Jelinek <jakub@redhat.com>
8429 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
8430 end of wexpbuf buffer.
8432 2000-11-16 Andreas Jaeger <aj@suse.de>
8434 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
8435 definition of F_GETLK, F_SETLK, F_SETLKW.
8437 2000-11-16 Andreas Jaeger <aj@suse.de>
8439 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
8442 2000-11-15 Jakub Jelinek <jakub@redhat.com>
8444 * dlfcn/default.c (main): Add test for dladdr of main returning
8445 argv[0] in dli_fname field.
8447 2000-11-15 Jakub Jelinek <jakub@redhat.com>
8449 * Makeconfig (run-program-prefix): Move test-static test into the
8452 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
8453 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
8454 schedule instructions.
8455 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
8456 schedule instructions, fix a bug in copying auxiliary data.
8458 2000-11-15 Ulrich Drepper <drepper@redhat.com>
8460 * manual/startup.texi (Program Arguments): Fix type of main's envp
8462 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
8464 * iconvdata/gconv-modules: Add CP950 alias.
8466 2000-11-13 Jakub Jelinek <jakub@redhat.com>
8468 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
8469 syscall-list.h goal.
8470 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
8472 2000-11-15 Ulrich Drepper <drepper@redhat.com>
8474 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
8476 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
8479 * intl/tst-gettext2.c: Set C locale if setting other locale
8480 failed. Use gettext() not _().
8482 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
8483 successfully loaded a new locale.
8485 2000-11-13 Andreas Jaeger <aj@suse.de>
8487 * configure.in: Require gcc 2.95 or newer.
8489 2000-11-15 Ulrich Drepper <drepper@redhat.com>
8491 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
8492 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
8494 2000-11-11 Jim Meyering <meyering@lucent.com>
8496 * string/strndup.c (strndup): Cast return value to `char *'.
8498 2000-11-15 Jim Meyering <meyering@ascend.com>
8500 * sysdeps/generic/memchr.c: Remove some useless parentheses.
8501 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
8502 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
8503 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
8504 Also #undef __memchr.
8505 Use `weak_alias' only if it's defined.
8507 2000-11-10 H.J. Lu <hjl@gnu.org>
8509 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
8511 2000-11-15 Andreas Jaeger <aj@suse.de>
8513 * elf/chroot_canon.c: Include <stdint.h>.
8515 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
8516 (print_entry): Likewise.
8517 (add_to_cache): Likewise.
8519 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
8521 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
8522 (path_hwcap): Likewise.
8523 (search_dir): Likewise.
8525 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
8527 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
8529 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
8530 (_dl_platform_string): New.
8531 (_DL_HWCAP_PLATFORM): New.
8532 (_dl_string_platform): New.
8533 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
8535 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8536 (_dl_string_platform): New.
8537 (_DL_HWCAP_PLATFORM): New.
8538 (_dl_platform_string): New.
8540 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
8542 (_DL_HWCAP_COUNT): New.
8543 (_dl_string_platform): New.
8544 (_DL_HWCAP_PLATFORM): New.
8545 (_dl_platform_string): New.
8547 2000-11-14 Ulrich Drepper <drepper@redhat.com>
8549 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
8551 2000-11-14 Andreas Jaeger <aj@suse.de>
8553 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
8555 2000-11-13 Roland McGrath <roland@frob.com>
8557 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
8559 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
8561 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
8562 underrun and make sure the result is null terminated even if there
8563 is no trailing newline.
8565 2000-11-13 Jakub Jelinek <jakub@redhat.com>
8567 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8569 2000-11-10 H.J. Lu <hjl@gnu.org>
8571 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
8573 2000-11-10 Andreas Jaeger <aj@suse.de>
8575 * elf/ldconfig.c (create_links): Fix alloca calculation.
8576 Patch by Ben Collins <bcollins@debian.org>.
8578 2000-11-09 Ulrich Drepper <drepper@redhat.com>
8580 * inet/getnameinfo.c (getnameinfo): Use correct destination
8581 parameter for if_indextoname.
8582 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
8584 2000-11-09 H.J. Lu <hjl@gnu.org>
8586 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
8587 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
8588 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
8591 * time/Versions (GLIBC_2.1): Move getitimer to...
8592 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
8594 2000-11-03 Bruno Haible <haible@clisp.cons.org>
8596 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
8597 "make install", to work around a binary incompatibility between
8598 glibc 2.1 and glibc 2.2 gconv modules.
8600 2000-11-09 Ulrich Drepper <drepper@redhat.com>
8602 * intl/locale.alias: Add thai.
8603 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
8605 2000-11-07 Akim Demaille <akim@epita.fr>
8607 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
8608 argument `data' for consistency with the prototypes.
8610 (obstack_copy, obstack_copy0): Rename the second argument as
8611 `address' for consistency. Qualify it `const'.
8612 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
8613 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
8614 `const' their input argument (`data' or `address').
8615 Adjust the corresponding macros to include `const' in casts.
8617 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8619 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
8622 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8624 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
8627 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8629 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
8630 ai_protocol by internal table if service was not given.
8632 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8634 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
8635 numerical port was specified with protocol without socktype.
8637 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8639 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
8641 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8643 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
8645 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8647 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
8648 sin6_scope_id field.
8650 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8652 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
8654 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8656 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
8658 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8660 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
8661 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
8663 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
8665 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
8666 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
8668 2000-11-09 H.J. Lu <hjl@gnu.org>
8670 * io/Versions (GLIBC_2.1.1): Remove lockf64.
8673 See ChangeLog.11 for earlier changes.