1 2000-09-29 Mark Kettenis <kettenis@gnu.org>
3 * sysdeps/mach/hurd/dl-sysdep.c (__access): New function. Dummy
4 implementation for use by the dynamic linker.
6 2000-09-29 Andreas Jaeger <aj@suse.de>
8 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Protect DN_* by
10 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
12 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
13 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17 2000-09-29 Andreas Jaeger <aj@suse.de>
19 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Synch with Linux
21 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
23 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
24 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28 2000-09-29 David Mosberger <davidm@hpl.hp.com>
30 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__ia64_syscall): Cleanup.
32 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Implement.
34 2000-06-10 David Mosberger <davidm@hpl.hp.com>
36 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix it so it actually
37 works: call to __sigjmp_save must be done unconditionally to
38 ensure jmp_buf is initialized properly.
40 2000-09-27 Andreas Jaeger <aj@suse.de>
42 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Synch with Linux
45 2000-09-29 Jakub Jelinek <jakub@redhat.com>
47 * nscd/nscd-client.h (NSCD_VERSION): Bump to 3.
48 Use nscd_ssize_t where appropriate.
49 * nscd/nscd_gethst_r.c (nscd_gethst_r): Use nscd_ssize_t instead of
50 ssize_t where appropriate.
51 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
52 * nscd/hstcache.c (cache_addhst): Likewise.
53 * nscd/grpcache.c (cache_addgr): Likewise.
54 * sysdeps/generic/nscd-types.h: New file.
55 * sysdeps/alpha/nscd-types.h: New file.
57 2000-09-29 Ulrich Drepper <drepper@redhat.com>
59 * inet/getnameinfo.c (nrl_domainname): Use symbolic constant
60 INADDR_LOOPBACK instead of numeric value.
62 2000-09-28 H.J. Lu <hjl@gnu.org>
64 * sysdeps/ia64/dl-machine.h (RTLD_START): Adjust _dl_argv by
66 (ELF_MACHINE_FIXED_STACK): Removed.
68 2000-09-29 Andreas Jaeger <aj@suse.de>
70 * sysdeps/unix/sysv/linux/s390/lockf64.c: New file.
72 * sysdeps/unix/sysv/linux/s390/fcntl.c: New file.
74 * sysdeps/unix/sysv/linux/powerpc/lockf64.c: New file.
76 * sysdeps/unix/sysv/linux/powerpc/fcntl.c: New file.
78 2000-09-28 Ulrich Drepper <drepper@redhat.com>
80 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle unaligned
81 relocation also for R_ALPHA_RELATIVE.
82 Reported by Ivan Kokshaysky <ink@jurassic.park.msu.ru>.
84 2000-09-18 Bruno Haible <haible@clisp.cons.org>
86 * intl/dcigettext.c: Outside libc, use local variable names that don't
87 clash with those in libc.
88 * intl/bindtextdom.c: Likewise.
89 * intl/textdomain.c: Likewise.
91 2000-09-28 Ulrich Drepper <drepper@redhat.com>
93 * elf/ldconfig.c (parse_conf): Print full name of config dir
94 including chroot() path.
95 (main): Remove trailing / from opt_chroot string.
97 * include/features.h: Correct description of what happens if no
98 *_SOURCE macro is defined.
100 * sysdeps/posix/getaddrinfo.c (gaih_inet): Handle req->ai_socktype
101 correctly. Reported by Felix von Leitner <leitner@convergence.de>.
103 2000-09-19 H.J. Lu <hjl@gnu.org>
105 * malloc/malloc.h (__memalign_hook): Fix the parameter order.
106 * malloc/malloc.c (__memalign_hook): Likewise.
107 (memalign_hook_ini): Likewise.
109 2000-09-28 Ulrich Drepper <drepper@redhat.com>
111 * stdio-common/tmpnam.c (tmpnam): Optimize a bit.
113 * sysdeps/posix/getaddrinfo.c (gaih_local): Don't use tmpnam, use
114 underlying functions directly.
116 * sysdeps/unix/sysv/linux/bits/resource.h: Add RLIMIT_LOCKS.
117 * sysdeps/unix/sysv/linux/arm/bits/resource.h: Likewise.
118 * sysdeps/unix/sysv/linux/i386/bits/resource.h: Likewise.
119 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
120 * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: Likewise.
121 * sysdeps/unix/sysv/linux/sh/bits/resource.h: Likewise.
122 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
124 2000-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
126 * sysdeps/unix/sysv/linux/kernel-features.h: Add __ASSUME_IPC64, only
127 define it for powerpc for kernel >= 2.4.0.
128 * sysdeps/unix/sysv/linux/msgctl.c: Test for __ASSUME_IPC64, not
130 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
131 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
132 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Sync with kernel.
133 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: New file.
134 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: New file.
135 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: New file.
137 2000-09-28 Martin Schwidefsksy <schwidefsky@de.ibm.com>
139 * sysdeps/s390/atomicity.h: Fix compare_and_swap.
141 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h
142 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
144 2000-09-28 Denis Joseph Barrow <djbarrow@de.ibm.com>
146 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Use definitions from
148 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Fix ucontext structure.
150 2000-09-27 Andreas Schwab <schwab@suse.de>
152 * math/Makefile (distribute): Explicitly add the long double test
153 sources, to get them included even if long double is not supported.
155 2000-09-27 Jes Sorensen <jes@linuxcare.com>
157 * elf/soinit.c (struct object): Move definition to gccframe.h and
158 include it. Problem identified by HJ Lu.
160 * sysdeps/ia64/gccframe.h: New file. ia64 specific version of
161 struct object to be searched for frame unwind info.
162 * sysdeps/generic/gccframe.h: New file. Generic version of
163 struct object to be searched for frame unwind info.
165 2000-09-28 Ulrich Drepper <drepper@redhat.com>
167 * manual/errno.texi: Correct error text for ENXIO.
168 Reported by Jörg Schilling <schilling@fokus.gmd.de>.
170 2000-09-27 Jes Sorensen <jes@linuxcare.com>
172 * sysdeps/ia64/fpu/fsetexcptflg.c (fesetexceptflag): Set the
173 exception status bits rather than the exception disable bits.
174 Don't include math.h.
176 * sysdeps/ia64/fpu/fgetexcptflg.c (fegetexceptflag): Report the
177 status of exceptions currently raised rather than which exceptions
180 * sysdeps/ia64/fpu/fclrexcpt.c (feclearexcept): Typecase to fenv_t
181 rather than unsigned long int.
183 * sysdeps/ia64/fpu/fedisblxcpt.c (fedisableexcept): Only disable
184 the exceptions actually requested by the caller and not just
185 disable all exceptions.
187 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Exceptions on
188 the ia64 are enabled by clearing the respective bits in the fpsr,
191 * sysdeps/ia64/bits/fenv.h: typedef fexcept_t and fenv_t to
192 unsigned long int rather than unsigned long to be consistent with
193 the coding conventions.
195 2000-09-20 H.J. Lu <hjl@gnu.org>
197 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Use fenv_t instead of
199 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
201 2000-09-28 Ulrich Drepper <drepper@redhat.com>
203 * string/bits/string2.h: Unify #if usage.
205 2000-09-27 Jakub Jelinek <jakub@redhat.com>
207 * math/test-fenv.c (feexcp_mask_test): If enabling all exceptions
208 and disabling underflow or overflow, disable inexact as well.
210 2000-09-26 Andreas Jaeger <aj@suse.de>
212 * sysdeps/gnu/netinet/tcp.h: Add tcp_info defines and types.
214 * sysdeps/unix/sysv/linux/sys/mount.h (enum): New flag MS_BIND.
216 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETLKW64,
217 F_GETLK64, F_SETLK64): Update from Linux-2.4.0-test9-pre4.
219 * elf/ldconfig.c (search_dir): Allow unlimited path length.
220 (create_links): Likewise.
222 2000-09-27 Ulrich Drepper <drepper@redhat.com>
224 * posix/tst-dir.c: Test a few error cases of chdir.
226 2000-09-26 Ulrich Drepper <drepper@redhat.com>
228 * math/math_private.h: Don't add long double prototypes if
229 NO_LONG_DOUBLE is defined.
231 * sysdeps/unix/i386/i586/clock_nanosleep.c (CLOCK_P): Remove
233 * sysdeps/unix/i386/i586/clock_gettime.c (EXTRA_CLOCK_CASES): Likewise.
234 * sysdeps/unix/i386/i586/clock_getres.c (EXTRA_CLOCK_CASES): Likewise.
236 * sysdeps/unix/sysv/linux/i386/bits/time.h: Remove CLOCK_MONOTONIC.
238 2000-09-26 Jakub Jelinek <jakub@redhat.com>
240 * sysdeps/sparc/sparc32/bits/endian.h: Remove.
241 * sysdeps/sparc/sparc32/ieee754.h: New.
242 * sysdeps/sparc/sparc64/bits/endian.h: Move...
243 * sysdeps/sparc/bits/endian.h: ...here.
244 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Optimize.
245 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Check
246 %o1, not %o0 to see if we're parent or child. Optimize.
248 2000-09-26 Jes Sorensen <jes@linuxcare.com>
250 * sysdeps/unix/sysv/linux/ia64/fork.S: New file (based on code
252 * sysdeps/unix/sysv/linux/ia64/vfork.S: New file (based on
254 * sysdeps/unix/sysv/linux/ia64/fork.c: Deleted (obsoleted by fork.S).
256 2000-09-20 H.J. Lu <hjl@gnu.org>
258 * sysdeps/ia64/fpu/printf_fphex.c: New file.
260 * sysdeps/ia64/fpu/libm-test-ulps: New file.
262 2000-09-17 H.J. Lu <hjl@gnu.org>
264 * sysdeps/ia64/Makefile (long-double-fcts): New. Defined as yes.
266 * sysdeps/ia64/fpu/s_isinfl.c: New file. Include
267 sysdeps/i386/fpu/s_isinfl.c.
269 * sysdeps/ia64/fpu/s_isnanl.c: New file. Include
270 sysdeps/i386/fpu/s_isnanl.c.
272 * sysdeps/ia64/fpu/s_nextafterl.c: New file. Include
273 sysdeps/i386/fpu/s_nextafterl.c.
275 * sysdeps/ia64/fpu/bits/mathdef.h: New file. Copied from
276 sysdeps/i386/fpu/bits/mathdef.h.
278 2000-09-16 H.J. Lu <hjl@gnu.org>
280 * sysdeps/generic/ldsodefs.h (DL_UNMAP): New. Defined if
281 DL_UNMAP_IS_SPECIAL is not defined.
283 * sysdeps/ia64/dl-lookupcfg.h (DL_UNMAP_IS_SPECIAL): Defined.
284 (_dl_unmap): New prototype.
285 (DL_UNMAP): New. Defined as _dl_unmap.
287 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_unmap.
289 * elf/dl-close.c (_dl_close): Replace __munmap with DL_UNMAP.
291 2000-09-16 H.J. Lu <hjl@gnu.org>
293 * sysdeps/generic/ldsodefs.h (DL_LOOKUP_ADDRESS): New. Defined
294 if ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
296 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): New
298 (DL_LOOKUP_ADDRESS): New. Defined as _dl_lookup_address.
300 * sysdeps/ia64/dl-fptr.c (_dl_lookup_address): New. Lookup
301 the memory location of a function from a function descriptor.
303 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_lookup_address.
305 * elf/dl-addr.c (_dl_addr): Use DL_LOOKUP_ADDRESS to get the
308 2000-09-14 Jes Sorensen <jes@linuxcare.com>
310 * sysdeps/ia64/bits/byteswap.h (__bswap_16): Don't mark output
311 variable as input argument.
312 (__bswap_32): Likewise.
314 * sysdeps/ia64/dl-machine.h: Add missing stop bit in RTLD_START()
315 - found by Jim Wilson <wilson@cygnus.com>
317 2000-09-26 Ulrich Drepper <drepper@redhat.com>
319 * string/strxfrm.c: Only require alignment on __alignof__ (int32_t)
322 2000-09-26 Andreas Schwab <schwab@suse.de>
324 * locale/programs/ld-collate.c (collate_output): Only require
325 alignment on __alignof__ (int32_t) instead of 4.
326 * locale/loadlocale.c (_nl_load_locale): Likewise.
327 * string/strcoll.c: Likewise.
329 2000-09-26 Jes Sorensen <jes@linuxcare.com>
331 * sysdeps/ieee754/ldbl-96/e_atan2l.c (__ieee754_atan2l): Add
332 parentheses around arithmetic used in | statement to kill compiler
335 * math/math_private.h: Add prototype for __finitel.
336 (__ilogbl): Likewise.
337 (__isinfl): Likewise.
338 (__isnanl): Likewise.
340 (__copysignl): Likewise.
341 (__expm1l): Likewise.
342 (__floorl): Likewise.
343 (__frexpl): Likewise.
344 (__ldexpl): Likewise.
345 (__log1pl): Likewise.
348 (__scalbnl): Likewise.
351 (__sincosl): Likewise.
353 2000-09-26 Andreas Schwab <schwab@suse.de>
355 * sysdeps/m68k/fpu/libm-test-ulps: New file
357 2000-09-26 Ulrich Drepper <drepper@redhat.com>
359 * locale/langinfo.h (__nl_langinfo_l): Add prototype.
361 2000-09-26 Andreas Jaeger <aj@suse.de>
363 * misc/mkstemp64.c: New file.
364 * misc/Makefile (routines): Add mkstemp64.
365 * stdlib/stdlib.h: Add prototype and redirection magic.
366 * misc/Versions: Add mkstemp64.
368 2000-09-26 Thorsten Kukuk <kukuk@suse.de>
370 * nscd/dbg_log.c (dbg_log): Add missing format string.
372 2000-09-26 Ulrich Drepper <drepper@redhat.com>
374 * catgets/catgets.c (catopen): Use getenv instead of __secure_getenv
375 since we filter out the variable once.
376 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
377 * locale/newlocale.c (__newlocale): Likewise.
378 * locale/setlocale.c (setlocale): Likewise.
379 * malloc/malloc.c (ptmalloc_init): Likewise.
380 * resolv/res_hconf.c (_res_hconf_init): Likewise.
381 * resolv/res_init.c (__res_vinit): Likewise.
382 * time/tzfile.c (__tzfile_read): Likewise.
383 * sysdeps/generic/unsecvars.h: New file.
384 * elf/dl-support.c (non_dynamic_init): Use it here to remove variables.
385 * elf/rtld.c (process_envvars): Likewise.
386 * elf/Makefile (distribute): Add unsecvars.h.
388 * misc/daemon.c (daemon): Fail if !noclose and we cannot open the
389 real /dev/null device.
391 * sysdeps/generic/check_fds.c: Include device-nrs.h.
392 * sysdeps/generic/device-nrs.h: New file.
393 * sysdeps/unix/sysv/linux/device-nrs.h: New file.
394 * misc/Makefile (distribute): Add device-nrs.h.
396 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Use O_TRUNC to
397 remove possible garbage at the end of the file.
399 2000-09-25 Ulrich Drepper <drepper@redhat.com>
401 * stdio-common/tmpnam_r.c: Warn about insecure tmpnam_r.
402 * stdio-common/tmpnam.c: Warn about insecure tmpnam.
403 * stdio-common/tempnam.c: Warn about insecure tempnam.
404 * misc/mktemp.c: Warn about insecure mktemp.
406 * sysdeps/generic/check_fds.c: Check that file opened is really
408 * posix/wordexp.c (exec_comm_child): Likewise.
410 * elf/rtld.c (process_envvars): Open debug output file with O_NOFOLLOW.
412 * locale/Makefile (routines): Add nl_langinfo_l.
413 * locale/Versions [libc] (GLIBC_2.2): Add __nl_langinfo_l.
414 * locale/nl_langinfo_l.c: New file.
415 * locale/nl_langinfo.c: Allow use of file for __nl_langinfo_l
418 2000-09-23 Bruno Haible <haible@clisp.cons.org>
420 * iconvdata/gbk.c (USE_PRIVATE_AREA): Define to 0.
421 (__gbk_to_ucs): Conditionalize private area mappings.
422 (__gbk_from_ucs4_tab9): Likewise.
423 (BODY for TO_LOOP): Likewise.
424 * iconvdata/testdata/GBK: Don't use characters not yet in Unicode.
425 * iconvdata/testdata/GBK..UTF-8: Likewise.
426 * iconvdata/tst-tables.sh: Enable GBK test.
428 2000-09-23 Bruno Haible <haible@clisp.cons.org>
430 * iconvdata/gbk.c (__gbk_to_ucs): Swap U+2014 and U+2015.
431 (__gbk_from_ucs4_tab4): Swap entries for U+2014 and U+2015.
432 (BODY for FROM_LOOP): Reject input > 0xFEA0, avoids out-of-bounds
434 * iconvdata/gbgbk.c (BODY for FROM_LOOP): Map 0xA844 to 0xA1AA.
435 * iconvdata/testdata/GBK..UTF8: Swap U+2014 and U+2015.
437 2000-09-23 Bruno Haible <haible@clisp.cons.org>
439 * iconvdata/johab.c (final_to_ucs): Fix typos.
440 (jamo_from_ucs_table): Likewise.
441 (BODY for FROM_LOOP): Map 0x5c to U+20A9. Reject ranges
442 0xD9E6..0xD9FE and 0xDEF2..0xDEFE.
443 (BODY for TO_LOOP): Map U+20A9 to 0x5c. Don't produce values in
444 the range 0xD9E6..0xD9FE.
445 * iconvdata/tst-tables.sh: Enable JOHAB testing.
447 2000-09-25 Ulrich Drepper <drepper@redhat.com>
449 * iconv/gconv_conf.c (__gconv_get_path): Fix problem with relative
452 2000-09-24 Ulrich Drepper <drepper@redhat.com>
454 * libio/genops.c (_IO_doallocbuf): Don't use single byte buffer if
455 stream is in wide mode.
457 * stdio-common/vfprintf.c (buffered_vfprintf): Orient stream.
459 2000-09-21 Bruno Haible <haible@clisp.cons.org>
461 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Shift __count
463 (INIT_PARAMS, UPDATE_PARAMS): Likewise.
465 2000-09-21 Bruno Haible <haible@clisp.cons.org>
467 * stdio-common/vfscanf.c (__vfscanf, _IO_vfscanf): Fix bugs in
468 reallocation logic for MALLOC (%as, %aS formats).
470 2000-09-24 Ulrich Drepper <drepper@redhat.com>
472 * stdio-common/vfprintf.c (process_arg): Handle %hhn.
473 Add missing case in va_arg handling for numbers.
474 * stdio-common/tst-printf.c (main): Add tests for %hhu and %hhn
476 * stdio/tst-printf.sh: Adjust expected results.
477 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
479 2000-09-20 Bruno Haible <haible@clisp.cons.org>
481 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Reject 0x80.
482 (BODY for TO_LOOP): Clear bit 7 when outputting ISO-8859-1 upper half
484 * iconvdata/gen-8bit-gap-1.sh: Recognize lowercase hexadecimal digits
485 as equivalent to uppercase hexadecimal digits.
487 2000-09-20 Bruno Haible <haible@clisp.cons.org>
489 * iconvdata/testdata/EUC-KR..UTF8: New file.
490 * iconvdata/testdata/EUC-TW: New file.
491 * iconvdata/testdata/EUC-TW..UTF8: New file.
492 * iconvdata/testdata/EUC-JP: New file.
493 * iconvdata/testdata/EUC-JP..UTF8: New file.
494 * iconvdata/testdata/ISO-2022-JP: New file.
495 * iconvdata/testdata/ISO-2022-JP..UTF8: New file.
496 * iconvdata/testdata/ISO-2022-JP-2: New file.
497 * iconvdata/testdata/ISO-2022-JP-2..UTF8: New file.
498 * iconvdata/testdata/ISO-2022-KR: Add a few more lines.
499 * iconvdata/testdata/ISO-2022-KR..UTF8: New file.
500 * iconvdata/testdata/ISO-2022-CN: New file.
501 * iconvdata/testdata/ISO-2022-CN..UTF8: New file.
502 * iconvdata/testdata/ISO-2022-CN-EXT: New file.
503 * iconvdata/testdata/ISO-2022-CN-EXT..UTF8: New file.
504 * iconvdata/TESTS: Enable tests for ISO-2022-JP, ISO-2022-JP-2,
505 ISO-2022-CN, ISO-2022-CN-EXT, EUC-JP, EUC-TW.
507 2000-09-24 Andreas Jaeger <aj@suse.de>
509 * elf/ldconfig.c (add_dir): Move logic to add entry to list to new
510 function add_single_dir.
511 (add_single_dir): New function.
512 (search_dir): Use add_single_dir instead of recursing.
514 * sysdeps/generic/dl-cache.h: Include stdint.h.
515 (struct file_entry_new): Use fixed sizes for interoperability
516 between 32bit and 64bit systems, add __unused to make alignment
518 (CACHE_VERSION): Increment.
519 (struct cache_file_new): Use fixed sizes, add one more unused
520 entry to make alignment explicit.
522 2000-09-24 Ulrich Drepper <drepper@redhat.com>
524 * elf/ldconfig.c (search_dir): Make more use of d_type information.
526 2000-09-23 Ulrich Drepper <drepper@redhat.com>
528 * stdio-common/printf-parse.h (parse_one_spec): Clear
529 spec->info.i18n. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
531 2000-09-18 Mark Kettenis <kettenis@gnu.org>
533 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_SYNCHRONIZED_IO):
534 #undef since we don't have msync.
536 * sysdeps/mach/hurd/bits/time.h: (CLOCKS_PER_SEC): Make a long int
537 constant since that is what clock_t is.
538 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
540 2000-09-11 Mark Kettenis <kettenis@gnu.org>
542 * sysdeps/mach/getloadavg.c (getloadavg): Divide instead of
543 multiply by LOAD_SCALE.
545 2000-09-22 Jakub Jelinek <jakub@redhat.com>
547 * crypt/crypt.h (crypt, setkey, encrypt): Add __THROW.
548 (crypt_r, setkey_r, encrypt_r): Likewise.
550 2000-09-22 Andreas Jaeger <aj@suse.de>
552 * locale/programs/repertoire.c (repertoiremap_hash): Don't specify
555 * sysdeps/alpha/fpu/libm-test-ulps: New file.
556 From Christian Iseli <chris@ludwig-alpha.unil.ch>.
558 2000-09-21 Andreas Jaeger <aj@suse.de>
560 * math/libm-test.inc (atan_test): Test for existence of function.
561 (expm1_test): Likewise.
562 (acos_test): Likewise.
563 (asin_test): Likewise.
564 (exp_test): Likewise.
565 (log10_test): Likewise.
566 (log_test): Likewise.
567 (pow_test): Likewise.
568 (sqrt_test): Likewise.
569 (cos_test): Likewise.
570 (sin_test): Likewise.
571 (tan_test): Likewise.
572 (log1p_test): Likewise.
573 (log2_test): Likewise.
575 * sysdeps/i386/fpu/libm-test-ulps: Tweak some values for K6.
577 * libio/oldiofsetpos64.c: Fix alias names.
579 2000-09-21 Martin Buchholz <martin@xemacs.org>
581 * manual/terminal.texi (Allocation): Sample code correction.
583 2000-09-20 Andreas Jaeger <aj@suse.de>
585 * iconvdata/Makefile (generated): Add tst-tables.out.
587 * intl/Makefile (generated): Add test output.
589 2000-09-19 Andreas Jaeger <aj@suse.de>
591 * sunrpc/clnt_simp.c (callrpc): Fix write beyond end of buffer.
592 Reported by Jens-Uwe Mager <jum@helios.de>.
594 2000-09-18 Ulrich Drepper <drepper@redhat.com>
596 * version.h (VERSION): Bump to 2.1.94.
598 * sysdeps/mips/Dist: Add fpu/fenv_libc.h.
599 * sysdeps/sparc/sparc32/soft-fp/Dist: Add q_add.c.
600 * sysdeps/sparc/sparc64/soft-fp/Dist: Add qp_add.c.
601 * sysdeps/unix/sysv/linux/ia64/Dist: Add net/route.h.
603 * malloc/mtrace.c (mtrace): Mark stream as close on exec.
605 2000-09-17 Bruno Haible <haible@clisp.cons.org>
607 * iconvdata/utf-16.c (BODY for TO_LOOP): Reject UCS-4 input in the
608 range 0xD800..0xDFFF.
609 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
610 (BODY for FROM_LOOP): Likewise.
611 * iconv/gconv_simple.c (ucs2_internal_loop): Likewise.
612 (internal_ucs2_loop): Likewise.
613 (ucs2reverse_internal_loop): Likewise.
614 (internal_ucs2reverse_loop): Likewise.
616 2000-09-17 Bruno Haible <haible@clisp.cons.org>
618 * iconvdata/utf-16.c (gconv_init): Add missing slashes to encoding
621 2000-09-17 Bruno Haible <haible@clisp.cons.org>
623 * iconvdata/tst-table-from.c (main): Fix test for error on stdout.
624 * iconvdata/tst-table-to.c (main): Likewise.
626 2000-09-17 Bruno Haible <haible@clisp.cons.org>
628 * iconvdata/iso-ir-165.c (__isoir165_from_tab): Renamed from
630 * iconvdata/cns11643.h (__cns11643l1_to_ucs4_tab): New declaration.
631 * iconvdata/iso-2022-cn-ext.c: Include "cns11643.h".
632 (GB7590_set, GB13132_set, CNS11643_3_set, CNS11643_4_set,
633 CNS11643_5_set, CNS11643_6_set, CNS11643_7_set): Change enum values.
634 (BODY for FROM_LOOP): Fix buffer overrun. Treat CNS11643 plane 3.
635 Return __GCONV_INCOMPLETE_INPUT instead of __GCONV_EMPTY_INPUT.
636 (BODY for TO_LOOP): Fix usage of `set' vs. `used'. Fix typo that
637 caused GB2312 to be used instead of ISO-IR-165. Treat CNS11643
638 plane 3. Fix shift sequences. Output announcement for SS2 and SS3
639 encodings when needed. When outputting an announcement, don't clear
640 most other announcements.
642 2000-09-17 Bruno Haible <haible@clisp.cons.org>
644 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Fix buffer overrun.
645 (BODY for TO_LOOP): Fix usage of `set' vs. `used'.
647 2000-09-14 Bruno Haible <haible@clisp.cons.org>
649 * intl/Versions: Add bind_textdomain_codeset.
651 2000-09-16 Ralf Baechle <ralf@gnu.org>
653 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Reformat. Declare
655 (_RTLD_EPILOGUE): Reformat. Declare size of entry function.
656 (ELF_MACHINE_BEFORE_RTLD_RELOC): Relocate the dynamic linker itself so
657 it will even work when not loaded to the standard address.
658 (RTLD_START): Reformat. Call _dl_start in a way that is safe even
659 before the dynamic linker itself is relocated.
661 2000-09-18 Andreas Jaeger <aj@suse.de>
663 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
664 __ASSUME_32BITUIDS for MIPS.
665 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: New file.
666 * sysdeps/unix/sysv/linux/mips/Dist: Add ipc_priv.h.
668 2000-09-17 H.J. Lu <hjl@gnu.org>
670 * catgets/Makefile ($(objpfx)de/libc.cat): Use
671 $(make-target-directory) instead of mkdir.
673 2000-09-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
675 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
676 __ASSUME_32BITUIDS for __powerpc__.
677 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file.
678 * sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h.
680 2000-09-17 Ulrich Drepper <drepper@redhat.com>
682 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last
684 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
686 2000-09-16 Jakub Jelinek <jakub@redhat.com>
688 * sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes
690 * sysdeps/m68k/Implies: Likewise.
691 * sysdeps/sparc/sparc64/Implies: Likewise.
693 2000-09-16 Jakub Jelinek <jakub@redhat.com>
695 * elf/readlib.c (process_file): Don't error for stale .so links either.
697 2000-09-16 Ulrich Drepper <drepper@redhat.com>
699 * elf/dl-load.c (_dl_map_object_from_fd): Add one more
702 * include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX.
703 Patch by Thorsten Kukuk <kukuk@suse.de>.
705 * dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c.
707 (modules-names): Add defaultmod1 and defaultmod2.
708 Add rules to build test objects.
710 2000-09-15 Ulrich Drepper <drepper@redhat.com>
712 * wctype/wctype.h: Always include <bits/types.h>.
713 Reported by Jim Meyering <meyering@ascend.com>.
715 * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now.
716 * elf/dl-support.c: Likewise.
718 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of
719 st_blocks member in stat and stat64 structs.
720 Patch by Bill Nottingham <notting@redhat.com>.
722 * iconvdata/tst-tables.sh: Add warning that GB18030 test might
725 * math/complex.h: Don't define _Complex macro for gcc 3. Add
726 __extension__ to _Complex_I definition since gcc warns if -pedantic.
727 * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~.
728 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
730 * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if
731 necessary. Move includes of POSIX and Unix limits files to the end.
732 * stdlib/Makefile (tests): Add tst-limits.
733 * stdlib/tst-limits.h: New file.
735 2000-09-15 Andreas Jaeger <aj@suse.de>
737 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV.
739 * sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define.
741 2000-09-15 Jakub Jelinek <jakub@redhat.com>
743 * sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory
745 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
746 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise.
748 2000-09-15 Ulrich Drepper <drepper@redhat.com>
750 * elf/Makefile (distribute): Add nextmod1.c and nextmod2.c.
752 (modules-names): Add nextmod1 and nextmod2.
753 Add rules to build and run next.
754 * elf/next.c: New file.
755 * elf/nextmod1.c: New file.
756 * elf/nextmod2.c: New file.
758 2000-09-14 Jakub Jelinek <jakub@redhat.com>
760 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo.
762 2000-09-15 Andreas Jaeger <aj@suse.de>
764 * sysdeps/mips/fpu/fenv_libc.h: New file.
765 * sysdeps/mips/fpu/feenablxcpt.c: Use fenv_libc.h
766 * sysdeps/mips/fpu/fegetexcept.c: Likewise.
767 * sysdeps/mips/fpu/fedisblxcpt.c: Likewise.
769 * sysdeps/mips/fpu/feenablxcpt.c: New file.
770 * sysdeps/mips/fpu/fegetexcept.c: New file.
771 * sysdeps/mips/fpu/fedisblxcpt.c: New file.
773 2000-09-14 Ulrich Drepper <drepper@redhat.com>
775 * intl/Makefile: Avoid unnecessary test reruns.
777 * stdio-common/tst-printf.sh: Also allow output from 64-bit machines.
779 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change
780 to not use sysctl(). Too many architectures have problems with it.
782 2000-09-14 Andreas Jaeger <aj@suse.de>
784 * scripts/config.sub: New version from subversions.gnu.org.
786 * time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now
789 2000-09-14 Jakub Jelinek <jakub@redhat.com>
791 * posix/regex.c (compile_range): Cast collseq index to unsigned char
792 to avoid accessing data before collseq.
794 * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid
795 pasting strings together.
797 2000-09-14 Greg McGary <greg@mcgary.org>
799 * sysdeps/generic/bp-checks.h: Remove bogus reference to GNU MP in
801 * sysdeps/generic/bp-semctl.h: Likewise.
802 * sysdeps/generic/bp-start.h: Likewise.
803 * sysdeps/generic/bp-sym.h: Likewise.
804 * sysdeps/generic/bp-thunks.h: Likewise. Include <stdio.h> to get
807 2000-09-13 Ulrich Drepper <drepper@redhat.com>
809 * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and
812 * elf/elf.h: Add missing official relocations.
814 * libio/stdio.h: Define __FILE if __need___FILE is defined.
815 * stdio/stdio.h: Likewise.
816 * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE.
817 * include/stdio.h: Handle __need___FILE like __need_FILE.
818 * include/wchar.h: Use __FILE instead of FILE.
819 * libio/fwprintf.c: Include <stdio.h> for FILE definition.
820 * libio/fwscanf.c: Likewise.
821 * libio/getwc.c: Likewise.
823 * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u.
824 * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1.
825 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise.
827 * assert/assert.h: Update comment header about ISO C section.
828 * math/complex.h: Likewise.
829 * ctype/ctype.h: Likewise.
830 * include/errno.h: Likewise.
831 * include/limits.h: Likewise.
832 * locale/locale.h: Likewise.
833 * math/math.h: Likewise.
834 * setjmp/setjmp.h: Likewise.
835 * signal/signal.h: Likewise.
836 * stdio/stdio.h: Likewise.
837 * libio/stdio.h: Likewise.
838 * stdlib/stdlib.h: Likewise.
839 * string/string.h: Likewise.
840 * time/time.h: Likewise.
841 * wcsmbs/wchar.h: Likewise.
842 * wctype/wctype.h: Likewise.
843 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
845 2000-09-13 Andreas Jaeger <aj@suse.de>
847 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test
849 * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise.
850 * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise.
851 Reported by Eric S. Johnson <esj@cs.fiu.edu>, closes PR libc/1887.
853 2000-09-13 Ulrich Drepper <drepper@redhat.com>
855 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
856 constant since this is what clock_t is.
857 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
858 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
859 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
860 * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
862 * time/time.h: Don't defined clockid_t and timer_t unless POSIX
863 definitions are requested.
865 2000-09-13 Andreas Jaeger <aj@suse.de>
867 * shlib-versions: libBrokenLocale needs minimal version for ia64,
868 sparc64 and sh to synch with libc.
870 2000-09-13 Ulrich Drepper <drepper@redhat.com>
872 * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT.
873 (distribute): Add iso-2022-cn-ext.c.
874 Add definitions to compile the new module.
875 * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT.
876 * iconvdata/iso-2022-cn-ext.c: New file.
877 * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from
878 ucs4_from_isoir165. Increment input pointer if successful.
880 * csu/Makefile: Work around a gcc bug when creating csu-dummies.
882 * sysdeps/unix/sysv/linux/getdents.c: Pretty print.
884 2000-09-01 Jes Sorensen <jes@linuxcare.com>
886 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
887 __syscall_getdents64 wrapper.
889 * sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
891 2000-09-12 Ulrich Drepper <drepper@redhat.com>
893 * iconvdata/gb18030.c: Many many changes. Make consistent with
894 charmap and with itself.
895 * iconvdata/tst-tables.sh: Test GB18030.
897 2000-09-11 Ulrich Drepper <drepper@redhat.com>
899 * iconv/skeleton.c: Fix last patch, add missing parameter to
900 unaligned function call.
902 2000-09-10 Bruno Haible <haible@clisp.cons.org>
904 * locale/programs/ld-collate.c (collate_read): Fix typo in handling
907 2000-09-11 Bruno Haible <haible@clisp.cons.org>
909 * locale/programs/ld-collate.c (collate_read): Always initialize
912 2000-09-10 Bruno Haible <haible@clisp.cons.org>
914 * locale/programs/ld-collate.c (collate_finish): Upper bound for
915 ruleidx is 128, not 256.
917 2000-09-11 Ulrich Drepper <drepper@redhat.com>
919 * locale/programs/ld-collate.c (collate_read): Correct check for
920 already inserted entries.
922 2000-09-10 Bruno Haible <haible@clisp.cons.org>
924 * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in
927 2000-09-10 Bruno Haible <haible@clisp.cons.org>
929 * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if
930 MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1.
932 2000-09-10 Bruno Haible <haible@clisp.cons.org>
934 * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with
937 2000-09-10 Bruno Haible <haible@clisp.cons.org>
939 * iconvdata/utf-7.c: New file.
940 * iconvdata/gconv-modules (UTF-7): New module entries.
941 * iconvdata/Makefile (modules): Add UTF-7.
942 (distribute): Add utf-7.c.
943 * iconvdata/testdata/UTF-7: New file.
944 * iconvdata/testdata/UTF-7..UTF8: New file.
945 * iconvdata/TESTS (UTF-7): New entry.
946 * iconvdata/run-iconv-test.sh: Fix confusing output.
948 2000-09-11 Ulrich Drepper <drepper@redhat.com>
950 * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
952 2000-09-10 David S. Miller <davem@redhat.com>
954 * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
955 frame pointer offset for non-fast path.
957 2000-09-10 Ulrich Drepper <drepper@redhat.com>
959 * locale/programs/3level.h (*_init): Initialize level1, level2,
961 (*_add): Remove a few unnecessary conditionals.
963 2000-09-05 Wolfram Gloger <wg@malloc.de>
965 * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread,
966 ensure usability of mutex as an `in use' flag.
968 2000-09-10 Ulrich Drepper <drepper@redhat.com>
970 * shlib-versions: Simplify libm entries. Correct a few Hurd entries.
972 * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
973 ugly GMON_WEAK_START hack.
974 Patch by Philip Blundell <philb@gnu.org>.
976 * sysdeps/i386/i486/bits/string.h: Pretty printing.
978 2000-09-09 Ulrich Drepper <drepper@redhat.com>
980 * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
981 and PPC_ICBI asm for broken compilers.
982 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
984 2000-09-09 Andreas Jaeger <aj@suse.de>
986 * manual/message.texi (Advanced gettext functions): Fix typo.
988 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
991 2000-09-09 Ulrich Drepper <drepper@redhat.com>
993 * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
995 * sysdeps/ia64/memccpy.S: Likewise.
996 Patches by Jim Wilson <wilson@redhat.com>.
998 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname
999 before trying to read /proc.
1000 Patch by Matt Wilson <msw@redhat.com>.
1001 * include/sys/utsname.h: Declare __uname.
1002 * sysdeps/generic/uname.c: Make uname a weak alias of __uname.
1003 * sysdeps/mach/hurd/uname.c: Likewise.
1004 * sysdeps/unix/syscalls.list: Likewise.
1006 * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
1009 2000-09-08 Ulrich Drepper <drepper@redhat.com>
1011 * posix/getopt.c (_getopt_internal): When long_only is set always
1012 recognize conflicts just like before.
1014 2000-09-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1016 * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
1018 2000-09-08 Greg McGary <greg@mcgary.org>
1020 * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
1021 * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'.
1022 * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
1024 2000-09-08 Andreas Jaeger <aj@suse.de>
1026 * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
1028 * sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
1030 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
1031 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
1032 (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
1034 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1036 * iconvdata/tst-tables.sh: Enable EUC-KR test.
1038 * elf/dl-load.c (lose): Decrement _nl_loaded.
1039 (_dl_map_object_from_fd): Don't try to dlopen executables.
1041 * iconvdata/tst-tables.sh: Actually return with an error if
1042 something goes wrong.
1043 * iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
1044 * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
1046 * iconvdata/tst-tables.sh: Add BIG5HKSCS.
1048 * iconvdata/tst-table-to.c (main): Correct cast in iconv call.
1049 * iconvdata/tst-table-from.c: Include <string.h>.
1050 (try): Correct cast in iconv call.
1052 * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
1054 * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
1055 (sysdep_routines): Remove dl-start.
1056 Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1058 * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
1060 * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
1061 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
1063 2000-09-06 Andreas Schwab <schwab@suse.de>
1065 * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
1067 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1069 * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
1071 * scripts/config.sub: Strip out -unknown for Linux targets.
1072 Patch by Scott Bambrough <scottb@netwinder.org>.
1074 * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
1077 2000-09-07 Andreas Jaeger <aj@suse.de>
1079 * sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
1081 * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
1084 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
1086 * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
1087 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
1089 * sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
1091 * stdlib/tst-bsearch.c (main): Add more test cases.
1093 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
1094 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1095 Reported by GOTO Masanori <gotom@debian.or.jp>.
1097 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1099 * posix/Makefile (tests): Add tst-dir.
1100 (tst-dir-ARGS): New variable.
1101 * posix/tst-dir.c: New file.
1103 2000-09-07 Andreas Jaeger <aj@suse.de>
1105 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
1108 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
1110 2000-09-06 Ulrich Drepper <drepper@redhat.com>
1112 * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
1113 use the hack with tryopen_o_directory to determine at runtime
1115 * sysdeps/unix/sysv/linux/opendir.c: New file.
1116 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1117 __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
1119 * catgets/Depend: New file. Add intl.
1120 * catgets/Makefile (tests): Add tst-catgets.
1121 (generated): Remove de.msg.
1122 (generated-dirs): Add de.
1123 Add dependency if tst-catgets output on de/libc.cat.
1124 * catgets/tst-catgets.c: New file.
1126 * po/ja.po: New file.
1127 * po/el.po: Update from translation team.
1129 * wcsmbs/Depend: New file.
1130 * wcsmbs/Makefile (tests): Add tst-btowc.
1131 (tst-btowc-ENV): Define.
1132 * wcsmbs/tst-btowc.c: New file.
1134 * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
1135 * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
1137 * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
1139 * stdlib/Makefile (tests): Add tst-bsearch.
1140 * stdlib/tst-bsearch.c: New file.
1142 * posix/getopt.c (_getopt_internal): Don't recognize an option
1143 name as ambiguous if it's a prefix for more than one name but the
1144 other struct option values are identical.
1146 * posix/tstgetopt.c: Add test for improved ambiguity recognition.
1147 Don't depend on visual inspection of the output file to recognize
1149 * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
1151 2000-09-06 Andreas Jaeger <aj@suse.de>
1153 * sysdeps/alpha/soft-fp/Dist: New file.
1154 * sysdeps/i386/soft-fp/Dist: New file.
1155 * sysdeps/mips/mips64/soft-fp/Dist: New file.
1156 * sysdeps/mips/soft-fp/Dist: New file.
1157 * sysdeps/powerpc/soft-fp/Dist: New file.
1158 * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
1159 * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
1161 * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
1162 Use sysdep_routines instead of routines to fix make dist failure.
1163 * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
1165 * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
1167 * sysdeps/mips/Makefile [$(subdir) = misc]: Use
1168 sysdep_headers instead of headers for make dist.
1170 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
1173 2000-09-06 Andreas Schwab <schwab@suse.de>
1175 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
1177 2000-09-06 Andreas Jaeger <aj@suse.de>
1179 * soft-fp/Makefile (distribute): Remove ChangeLog.
1181 * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use
1182 sysdep_routines instead of routines for make dist.
1184 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1186 * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
1187 compatibility check for old stream and call _IO_wide in doubt.
1188 (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
1189 * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
1190 needed tst for such an old structure and don't do anything.
1191 * libio/freopen.c: Remove declaration of _IO_stdin_used.
1193 2000-09-06 Andreas Jaeger <aj@suse.de>
1195 * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
1196 sysdep-dl-routines and sysdep_routines instead of rtld-routines
1199 * soft-fp/ChangeLog: Merged with this file.
1201 2000-06-13 Ulrich Drepper <drepper@redhat.com>
1203 * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
1205 * soft-fp/Makefile (distribute): Add the math functions, too.
1207 * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
1209 2000-03-03 Geoff Keating <geoffk@cygnus.com>
1211 * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
1214 * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
1215 * soft-fp/sysdeps/powerpc/q_*: New files.
1217 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1219 * stdio-common/vfprintf.c (process_string_arg): Handle precision
1220 in wide char case correctly. Don't allocate too long temporary
1221 strings with alloca.
1223 * stdio-common/Makefile (tests): Add tst-swprintf.
1224 (tst-swprintf-ENV): New variable.
1225 * stdio-common/tst-swprintf.c: New file.
1227 2000-09-05 Andreas Jaeger <aj@suse.de>
1229 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
1230 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
1231 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1233 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1235 * configure.in: Strip out "unknown" from configuration names.
1237 2000-09-05 Andreas Jaeger <aj@suse.de>
1239 * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
1241 * sysdeps/sparc/sparc64/Implies: Add soft-fp.
1242 * sysdeps/sparc/sparc32/Implies: Likewise.
1243 * sysdeps/powerpc/Implies: Likewise.
1245 * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
1246 * libio/oldiofgetpos64.c: Likewise.
1248 * soft-fp/Makefile (distribute): Remove configure.
1250 * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
1252 * soft-fp/configure: Remove.
1254 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
1255 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
1257 * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
1258 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
1260 * soft-fp/sysdeps/powerpc/Makefile: Move from here...
1261 * sysdeps/powerpc/soft-fp/Makefile: ... to here.
1263 * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
1264 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
1266 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
1267 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
1269 * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
1270 * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
1272 * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
1273 * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
1275 * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
1276 * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
1278 * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
1279 * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
1281 * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
1282 * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
1284 * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
1285 * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
1287 * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
1288 * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
1290 * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
1291 * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
1293 * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
1294 * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
1296 * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
1297 * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
1299 * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
1300 * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
1302 * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
1303 * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
1305 * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
1306 * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
1308 * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
1309 * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
1311 * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
1312 * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
1314 * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
1315 * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
1317 * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
1318 * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
1320 * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
1321 * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
1323 * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
1324 * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
1326 * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
1327 * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
1329 * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
1330 * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
1332 * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
1333 * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
1335 * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
1336 * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
1338 * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
1339 * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
1341 * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
1342 * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
1344 * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
1345 * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
1347 * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
1348 * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
1350 * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
1351 * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
1353 * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
1354 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
1356 * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
1357 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
1359 * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
1360 * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
1362 * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
1363 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
1365 * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
1366 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
1368 * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
1369 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
1371 * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
1372 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
1374 * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
1375 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
1377 * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
1378 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
1380 * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
1381 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
1383 * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
1384 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
1386 * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
1387 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
1389 * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
1390 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
1392 * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
1393 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
1395 * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
1396 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
1398 * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
1399 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
1401 * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
1402 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
1404 * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
1405 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
1407 * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
1408 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
1410 * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
1411 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
1413 * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
1414 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
1416 * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
1417 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
1419 * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
1420 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
1422 * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
1423 * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
1425 * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
1426 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
1428 * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
1429 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
1431 * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
1432 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
1434 * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
1435 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
1437 * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
1438 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
1440 * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
1441 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
1443 * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
1444 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
1446 * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
1447 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
1449 * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
1450 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
1452 * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
1453 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
1455 * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
1456 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
1458 * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
1459 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
1461 * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
1462 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
1464 * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
1465 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
1467 * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
1468 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
1470 * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
1471 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
1473 * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
1474 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
1476 * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
1477 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
1479 * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
1480 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
1482 * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
1483 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
1485 * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
1486 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
1488 * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
1489 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
1491 * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
1492 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
1494 * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
1495 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
1497 * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
1498 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
1500 * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
1501 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
1503 * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
1504 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
1506 * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
1507 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
1509 * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
1510 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
1512 * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
1513 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
1515 * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
1516 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
1518 * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
1519 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
1521 * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
1522 * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
1524 * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
1525 * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
1527 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
1528 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
1530 * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
1531 * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
1533 * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
1534 * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
1536 * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
1537 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
1539 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
1540 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
1542 * soft-fp/sysdeps/powerpc/Versions: Move from here...
1543 * sysdeps/powerpc/soft-fp/Versions: ... to here.
1545 * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
1546 * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
1548 * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
1549 change symbol version.
1550 * libio/oldiofgetpos64.c: Likewise.
1551 Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
1553 * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
1555 Reported by dyky@kondara.org, closes PR libc/1886.
1557 * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
1560 2000-09-04 Ulrich Drepper <drepper@redhat.com>
1562 * iconvdata/run-iconv-test.sh: Add code to immediately stop the
1563 script when ^C is hit.
1565 * locale/programs/localedef.c (construct_output_path): Correct
1566 computation of endp after asprintf.
1567 * locale/programs/locfile.c (write_locale_data): Don't add extra
1570 2000-09-05 Andreas Jaeger <aj@suse.de>
1572 * scripts/config.guess: New upstream version.
1573 * scripts/config.sub: Likewise.
1574 * manual/texinfo.tex: Likewise.
1576 2000-09-04 Andreas Schwab <schwab@suse.de>
1578 * elf/Makefile (all-dl-routines): New variable.
1579 (elide-routines.os): Use it instead of $(dl-routines).
1580 (all-rtld-routines): New variable.
1581 (extra-objs): Use it instead of $(rtld-routines).
1582 ($(objpfx)dl-allobjs.os): Likewise.
1583 * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
1584 sysdep-dl-routines and sysdep_routines instead of rtld-routines
1587 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1589 * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
1590 Set fname to NULL if the module wasn't found.
1592 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1594 * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
1595 true if trans->name already ends in ".so".
1597 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1599 * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
1601 * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
1602 below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
1603 (__gconv_release_shlib): Change return type to void.
1604 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
1605 step->__counter here.
1606 * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
1607 if the reference is zero.
1608 (release_step): New function.
1609 (gen_steps): Always initialize the __counter to 1. Use release_step.
1610 Don't call the destructor on the step whose initializer failed.
1611 (increment_counter): Use release_step. Don't normally run destructors
1613 (__gconv_close_transform): Use release_step.
1615 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1617 * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
1618 (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
1620 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1622 * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
1623 If the first byte is 0x8E, don't ask for 4 bytes until it has been
1624 verified that the second byte is valid. Leave it to cns11643_to_ucs4
1625 to check for incomplete input.
1626 * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
1627 ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
1628 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
1629 (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
1631 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
1632 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
1633 (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
1634 * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
1637 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1639 * iconv/gconv_db.c (find_derivation): Always use the least-cost
1642 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1644 * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
1647 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1649 * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
1650 * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
1653 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1655 * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
1657 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1659 * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
1661 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1663 * iconvdata/tst-tables.sh: New file.
1664 * iconvdata/tst-table.sh: New file.
1665 * iconvdata/tst-table-from.c: New file.
1666 * iconvdata/tst-table-to.c: New file.
1667 * iconvdata/tst-table-charmap.sh: New file.
1668 * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
1669 (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
1670 tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
1671 ISIRI-3342.irreversible, SJIS.irreversible.
1672 (tests): Add dependency on tst-tables.out.
1673 (tst-tables.out, tst-tables-clean): New rules.
1674 (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
1675 * iconvdata/ISIRI-3342.irreversible: New file.
1676 * iconvdata/EUC-JP.irreversible: New file.
1677 * iconvdata/SJIS.irreversible: New file.
1679 2000-09-04 Ulrich Drepper <drepper@redhat.com>
1681 * manual/locale.texi (General Numeric): Update description of
1682 representation of the grouping information in the locale data.
1683 Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
1685 2000-09-04 Andreas Jaeger <aj@suse.de>
1687 * locale/programs/ld-monetary.c (monetary_read): Fix typo.
1688 * iconv/iconv_prog.c (options): Fix typo.
1689 Reported by dyky@kondara.org, closes PR libc/1885.
1691 2000-09-04 Andreas Jaeger <aj@suse.de>
1693 * sysdeps/generic/fegetenv.c: It's __fegetenv.
1694 Reported by Rob Levin <lilo@transvirtual.com>.
1696 2000-09-03 Ulrich Drepper <drepper@redhat.com>
1698 * time/sys/time.h (gettimeofday): Move restrict for tz parameter
1699 to the typedefs of __timezone_ptr_t.
1700 Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
1702 2000-09-02 Jakub Jelinek <jakub@redhat.com>
1704 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
1707 2000-09-01 H.J. Lu <hjl@gnu.org>
1709 * Makeconfig (built-program-cmd): Don't use the dynamic linker
1710 to run a binary if it is in $(tests-static).
1712 * Rules (binaries-static): Add $(tests-static).
1714 2000-09-02 Andreas Jaeger <aj@suse.de>
1716 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
1718 * libio/fmemopen.c (fmemopen_close): Revert one part of last
1721 2000-09-01 Ulrich Drepper <drepper@redhat.com>
1723 * iconvdata/big5hkscs.c: Regenerated from charmap.
1724 * iconvdata/testdata/BIG5HKSCS: Regenerated.
1725 * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
1727 * libio/fmemopen.c (fmemopen_seek): Add default case in switch
1728 statement. General cleanup.
1730 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1732 * wctype/wcfuncs.c (iswblank): New function.
1733 * wctype/wcfuncs_l.c (__iswblank_l): New function.
1734 * wctype/wcextra.c: Remove file.
1735 * wctype/wcextra_l.c: Remove file.
1736 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
1738 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1740 * locale/programs/ld-collate.c (collate_output): Remove redundant
1742 * string/strcoll.c: Likewise.
1743 * string/strxfrm.c: Include assert.h. Add assert calls like in
1746 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1748 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
1749 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
1750 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
1751 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
1752 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
1753 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
1754 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
1755 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
1756 _NL_CTYPE_GAP5/6 respectively.
1758 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
1759 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
1760 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
1761 Don't initialize __ctype_names and __ctype_width.
1762 * wctype/cname-lookup.h: Remove file.
1763 * wctype/Makefile (distribute): Remove cname-lookup.h.
1764 * wctype/wchar-lookup.h: Include stdint.h.
1765 * wctype/wctype.c (__wctype): Assume new locale format.
1766 * wctype/wctype_l.c (__wctype_l): Likewise.
1767 * wctype/iswctype.c: Don't include cname-lookup.h.
1768 (__iswctype): Assume new locale format.
1769 * wctype/iswctype_l.c: Don't include cname-lookup.h.
1770 (__iswctype_l): Assume new locale format.
1771 * wctype/wctrans.c: Don't include ctype.h.
1772 (wctrans): Assume new locale format.
1773 * wctype/wctrans_l.c (__wctrans_l): Likewise.
1774 * wctype/towctrans.c: Don't include cname-lookup.h.
1775 (__towctrans): Assume new locale format.
1776 * wctype/towctrans_l.c: Don't include cname-lookup.h.
1777 (__towctrans_l): Assume new locale format.
1778 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
1779 localeinfo.h instead.
1780 (__NO_WCTYPE): Remove unused macro.
1781 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
1783 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
1784 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
1785 (towlower, towupper): Likewise.
1786 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
1787 localeinfo.h instead.
1788 (__NO_WCTYPE): Remove unused macro.
1789 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
1790 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
1791 __iswxdigit_l): Assume new locale format.
1792 (__towlower_l, __towupper_l): Likewise.
1793 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
1794 (__ctype32_b): Remove declaration.
1795 (internal_wcwidth): Assume new locale format.
1796 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
1797 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
1798 to map32_b, rename width_3level to width.
1799 (ctype_output): Always create new locale format. Don't emit
1800 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
1801 (allocate_arrays): Always create new locale format.
1803 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
1804 * locale/weightwc.h (findidx): Assume new locale format.
1805 * string/strcoll.c (wcscoll): Remove local variables size, layers,
1807 * string/strxfrm.c (wcsxfrm): Likewise.
1808 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
1809 local variable collseq to 'const char *'.
1810 (SUFFIX): Don't use, don't undefine.
1811 * posix/fnmatch.c: Remove SUFFIX definition.
1812 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
1813 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
1814 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
1815 (collate_finish): Always create new locale format. Remove local
1816 variables min_total, act_size.
1817 (collate_output): Always create new locale format. Remove local
1818 variables table_size, names, tablewc. Rename tablewc_3level to
1821 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1823 * locale/programs/ld-collate.c (obstack_int32_grow,
1824 obstack_int32_grow_fast): New inline functions.
1825 (output_weightwc, collate_output): Use them where possible.
1827 2000-09-01 Ulrich Drepper <drepper@redhat.com>
1829 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
1830 patch (_mode -> _flags).
1832 * libio/Makefile (headers): Add stdio_ext.h.
1833 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
1834 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
1835 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
1836 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
1837 __fsetlocking, and _flushlbf.
1838 * libio/__fbufsize.c: New file.
1839 * libio/__flbf.c: New file.
1840 * libio/__fpending.c: New file.
1841 * libio/__fpurge.c: New file.
1842 * libio/__freadable.c: New file.
1843 * libio/__freading.c: New file.
1844 * libio/__fsetlocking.c: New file.
1845 * libio/__fwritable.c: New file.
1846 * libio/__fwriting.c: New file.
1847 * libio/stdio_ext.h: New file.
1848 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
1849 * libio/libio.h (_IO_USER_LOCK): Define.
1850 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
1851 test _IO_USER_LOCK flag first.
1853 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
1856 2000-09-01 Andreas Jaeger <aj@suse.de>
1858 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
1860 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
1862 2000-08-31 Ulrich Drepper <drepper@redhat.com>
1864 * math/Makefile (tests): Add tst-defintions.
1865 * math/tst-definitions.c: New file.
1867 * stdlib/Makefile (headers): Add bits/wchar.h.
1868 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
1869 * sysdeps/generic/bits/wchar.h: New file.
1870 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
1871 file to define WCHAR_MIN and WCHAR_MAX.
1872 Change UINT*8_MAX and UIN*16_MAX value to type int.
1873 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
1874 file to define WCHAR_MIN and WCHAR_MAX.
1875 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
1877 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
1878 * sysdeps/generic/bits/mathdef.h: Likewise.
1879 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
1880 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
1881 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
1882 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
1883 * locale/locale.h (struct lconv): Add __ prefix to the new members
1885 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
1886 imaxdiv optimizations.
1887 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
1888 * sysdeps/wordsize-64/ldiv.c: Likewise.
1889 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
1891 * sysdeps/generic/bits/fenv.h: Likewise.
1892 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
1893 * sysdeps/ia64/bits/fenv.h: Likewise.
1894 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
1895 * sysdeps/mips/bits/fenv.h: Likewise.
1896 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
1897 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
1898 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1900 * inet/rcmd.c: Use *stat64 instead of *stat internally.
1901 * inet/ruserpass.c: Likewise.
1902 * catgets/open_catalog.c: Likewise.
1903 * intl/loadmsgcat.c: Likewise.
1904 * io/getdirname.c: Likewise.
1905 * locale/loadlocale.c: Likewise.
1906 * misc/getusershell.c: Likewise.
1907 * stdlib/canonicalize.c: Likewise.
1908 * sysdeps/posix/euidaccess.c: Likewise.
1909 * sysdeps/posix/isfdtype.c: Likewise.
1910 * sysdeps/posix/posix_fallocate.c: Likewise.
1911 * sysdeps/posix/tempname.c: Likewise.
1912 * sysdeps/unix/grantpt.c: Likewise.
1913 * sysdeps/unix/opendir.c: Likewise.
1914 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
1915 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
1916 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1917 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
1918 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1919 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1920 * sysvipc/ftok.c: Likewise.
1921 * time/getdate.c: Likewise.
1923 * time/getdate.c: Add extra access test.
1925 2000-08-31 Ulrich Drepper <drepper@redhat.com>
1927 * version.h (VERSION): Bump to 2.1.93.
1929 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
1930 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
1932 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
1933 Make this a new rule depending on tst-gettext.out and run mtrace.
1934 * intl/tst-gettext.c: Call mtrace.
1935 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
1937 * elf/dl-reloc.c: Add a few more __builtin_expect.
1939 * configure.in: Remove --with-gettext option.
1941 * intl/dcigettext.c (free_mem): Correct freeing of
1942 _nl_domain_bindings list.
1944 * sysdeps/generic/setenv.c (free_mem): New function. Free all
1947 * intl/locale.alias: Add aliases for bokmal and nynorsk.
1949 * locale/iso-639.def: Fix 639-1 code for Bokmal.
1951 * stdio-common/itoa-digits.c: Move upper digits to...
1952 * stdio-common/itoa-udigits.c: ...here. New file.
1953 * stdio-common/Makefile (routines): Add itoa-udigits.
1955 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
1956 relocate ld.so don't add supprt for relocations which should not
1959 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
1960 __secure_getenv. Instead test __libc_enable_secure once.
1962 * io/pwd.c (main): Provide a good example, use *_unlocked function.
1964 2000-08-30 Ulrich Drepper <drepper@redhat.com>
1966 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
1967 whether the new record should be freed if it's a duplicate.
1968 (add_module): Adjust insert_module call.
1969 (__gconv_read_conf): Likewise.
1970 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
1972 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
1974 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
1976 * include/link.h (struct r_search_path_struct): New.
1977 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
1978 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
1980 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
1981 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
1982 added at startup time.
1983 * elf/dl-load.c: Fix memory handling. r_search_path_struct
1984 contains element to remember fact that we can free memory.
1985 (all_dirs): Renamed to _dl_all_dirs. Made global.
1986 (_dl_init_all_dirs): New variable.
1987 (fillin_rpath): Save one malloc call.
1988 (decompose_rpath): Change interface. New first parameter points to
1989 r_search_path_struct.
1990 (_dl_init_paths): Adjust for changes. Mark all memory as not
1991 deletable. Set _dl_init_all_paths value.
1992 (open_path): Remove may_free_dirs parameter. r_search_path_elem ***
1993 parameter replaced with r_search_path_struct *. Information about
1994 freeing now contained in r_search_path_struct.
1995 (_dl_map_object): Adjust for above changes.
1997 * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
1999 * elf/dl-load.c (fillin_rpath): Only check for trusted directories
2000 when adding new entries.
2002 * elf/dl-load.c (fillin_rpath): Make local copy of where string
2003 since the object being loaded can be unloaded.
2005 * iconvdata/Makefile (tests): Add tst-loading.
2006 * iconvdata/tst-loading.c: New file.
2008 2000-08-29 Bruno Haible <haible@clisp.cons.org>
2010 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
2011 When comparing a char with an int, always cast the char to
2012 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
2013 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
2015 2000-08-30 Ulrich Drepper <drepper@redhat.com>
2017 * time/strftime.c (my_strftime): Add compatibility code for use
2018 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
2020 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
2021 return 0 for success but always < 0 on failure.
2023 * nss/getXXbyYY_r.c: Define result to *result before including
2026 2000-08-30 Andreas Jaeger <aj@suse.de>
2028 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
2030 2000-08-29 Ulrich Drepper <drepper@redhat.com>
2032 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
2034 * iconvdata/TESTS: Add BIG5HKSCS entry.
2035 * iconvdata/testdata/BIG5HKSCS: New file.
2036 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
2038 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
2041 * libio/iogetline.c: Set mode before the loop in case n==0.
2042 * libio/iogetwline.c: Likewise.
2044 2000-08-29 H.J. Lu <hjl@gnu.org>
2046 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
2048 (_IO_new_file_overflow): Likewise.
2049 * libio/genops.c (_IO_flush_all): Likewise.
2050 * libio/ioftell.c (_IO_ftell): Likewise.
2052 2000-08-29 Akira Higuchi <a@kondara.org>
2054 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
2055 and __end_fct fields of struct __gconv_step.
2056 * iconv/Makefile (tests): Add iconv-bug2.
2057 * iconv/iconv-bug2.c: New file.
2059 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
2060 instead of 'inptr - inend' to ksc5601_to_ucs4.
2062 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
2064 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
2065 character or shift sequence is found at the end of the input
2066 string, return__GCONV_INCOMPLETE_INPUT instead of
2067 __GCONV_EMPTY_INPUT.
2068 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
2069 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
2071 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
2072 __GCONV_ILLEGAL_INPUT for 8bit characters.
2074 2000-08-29 Ulrich Drepper <drepper@redhat.com>
2076 * signal/signal.h (sigpause): Move __THROW before __asm__.
2078 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
2079 names don't match don't return.
2080 Patch by Olaf Kirch <okir@flash.lst.de>.
2082 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2084 * time/strftime.c (my_strftime): Handle # flag for %b as well.
2086 2000-08-27 H.J. Lu <hjl@gnu.org>
2088 * posix/Makefile (otherlibs): Add for building with static-nss
2091 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2093 * libio/stdio.h: Add fmemopen prototype.
2095 2000-08-25 Andreas Jaeger <aj@suse.de>
2097 * libio/Makefile (routines): Add fmemopen.
2098 (tests): Add test-fmemopen.
2099 * libio/Versions: Add fmemopen with version GLIBC_2.2.
2100 * libio/test-fmemopen.c: New file.
2101 * libio/fmemopen.c: New file.
2102 Patches by Hanno Mueller <kontakt@hanno.de>.
2104 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2106 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
2107 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
2109 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
2110 to avoid crashing statically linked applications.
2112 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2114 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
2115 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
2117 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
2118 If the result is fits in the buffer, copy only as many bytes as needed.
2120 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
2121 buffer after copying numbuf into it.
2122 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
2124 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2126 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
2127 the result. When string_len < len, don't clear the rest of the buffer.
2129 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2131 Support for new LC_COLLATE format.
2132 * locale/coll-lookup.h: New file.
2133 * locale/weightwc.h (findidx): When size == 0, call
2134 collidx_table_lookup.
2135 * wcsmbs/wcscoll.c: Include coll-lookup.h.
2136 * wcsmbs/wcsxfrm.c: Likewise.
2137 * posix/fnmatch.c: Likewise.
2138 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
2139 collseq_table_lookup.
2140 * locale/programs/3level.h: New file.
2141 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
2142 by including "3level.h".
2143 * locale/programs/ld-collate.c (wchead_table, collidx_table,
2144 collseq_table): New types, defined by including "3level.h".
2145 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
2146 (encoding_mask, encoding_byte): Remove.
2147 (utf8_encode): Use simple shifts instead.
2148 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
2149 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
2150 (collate_output): New local variable tablewc_3level. When
2151 !oldstyle_tables, set table_size to 0 and names to NULL and fill
2152 tablewc_3level instead of tablewc. Change format of TABLEWC and
2153 COLLSEQWC entries written to the file.
2154 * locale/C-collate.c (collseqwc): Change format.
2155 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
2157 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
2159 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2161 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
2162 (locale_ctype_t): New charnames_idx field.
2163 (ctype_startup): Initialize charnames_idx field.
2164 (find_idx): Speed up dramatically by using charnames_idx inverse table.
2166 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2168 * locale/C-ctype.c: Switch to new locale format.
2169 (_nl_C_LC_CTYPE_names): Remove array.
2170 (STRUCT_CTYPE_CLASS): New macro.
2171 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
2172 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
2173 New three-level tables.
2174 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
2175 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
2176 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
2177 12 class tables and 2 map tables at the end.
2178 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
2179 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
2180 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
2182 (b): Remove trailing semicolon.
2183 (__ctype_names, __ctype_width): Don't initialize.
2184 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
2186 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2188 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
2189 is guaranteed to be allocated with the same malloc() and may be
2191 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
2192 been set to empty by an earlier open_path call, don't pass it again.
2194 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2196 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
2197 we are not optimizing.
2199 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
2202 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
2204 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2206 2000-08-28 Andreas Jaeger <aj@suse.de>
2208 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
2210 2000-08-28 Mark Kettenis <kettenis@gnu.org>
2212 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
2213 getpeername. Use ISO C style function definition.
2214 (getpeername): Provide weak alias.
2215 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
2216 setrlimit. Use ISO C style function definition.
2217 (setrlimit): Provide weak alias.
2219 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
2221 * shlib-versions: Add a rule for S/390 to the libm version list.
2222 * sysdeps/s390/Versions: New file.
2223 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
2224 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
2225 * sysdeps/unix/sysv/linux/s390/Versions: New file.
2226 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
2227 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
2228 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
2229 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
2230 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
2231 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
2232 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
2233 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
2234 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
2235 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
2236 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
2237 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
2238 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
2239 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
2240 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
2242 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2244 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
2245 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
2247 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
2248 * elf/dl-close.c (_dl_close): Print debug message if object is not
2250 * elf/dl-open.c (dl_open_worked): Print message about opencount before
2251 returning to caller.
2253 * po/zh.po: Renamed to...
2254 * po/zh_TW.po: ...this.
2256 2000-08-27 Geoff Keating <geoffk@cygnus.com>
2258 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
2260 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
2261 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
2262 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
2263 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
2265 2000-08-27 Ulrich Drepper <drepper@redhat.com>
2267 * locale/programs/ld-collate.c (insert_weights): Also update
2268 backpointer of next element.
2269 (collate_read): Allow definition of new collation symbols in stage 2.
2270 Symbol after reorder-after can be UCS4 value.
2271 Allow reordering of collation symbols and elements.
2272 Do not only move reorder entry in new position. Instead call
2273 insert_weight to do this and read the weights.
2275 * locale/findlocale.c (free_mem): Add cast to avoid warning.
2277 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
2278 to determine invalid locale name.
2279 * locale/findlocale.c (_nl_find_locale): Likewise.
2281 * posix/annexc.c: Correct test for unavailable feature.
2283 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
2286 2000-08-26 Ulrich Drepper <drepper@redhat.com>
2288 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
2291 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
2292 (sysdep_routines): Add oldgetrlimit64.
2294 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
2295 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
2296 (tests): Add unload, reldep, reldep2, and reldep3.
2297 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
2299 Add rules to build and run unload, reldep, reldep2, and reldep3.
2300 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
2301 Don't create relocation dependency if it is nonzero.
2302 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
2303 can never happen here.
2304 (_dl_lookup_versioned_symbol): Add new parameter explicit.
2305 Don't create relocation dependency if it is nonzero.
2306 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
2307 stuff. This can never happen here.
2308 * sysdeps/generic/ldsodefs.h: Change prototypes.
2309 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
2310 _dl_lookup_up and _dl_lookup_versioned_symbol.
2312 * elf/dl-runtime.c (fixup): Likewise.
2313 (profile_fixup): Likewise.
2314 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
2316 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
2317 * elf/rtld.c (dl_main): Likewise.
2318 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
2319 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
2320 and pass down the caller map.
2321 (_dl_vsym): Likewise.
2322 * elf/reldep.c: New file.
2323 * elf/reldep2.c: New file.
2324 * elf/reldep3.c: New file.
2325 * elf/reldepmod1.c: New file.
2326 * elf/reldepmod2.c: New file.
2327 * elf/reldepmod3.c: New file.
2328 * elf/reldepmod4.c: New file.
2329 * elf/unload.c: New file.
2330 * elf/unloadmod.c: New file.
2332 * elf/do-lookup.h: Remove unused undef_name parameter.
2333 * elf/dl-lookup.c: Adjust callers.
2335 2000-08-25 Ulrich Drepper <drepper@redhat.com>
2337 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
2338 irreversible in recursive call of conversion function to signal that
2339 no error handling is wanted.
2340 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
2341 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
2342 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
2343 recursive error handling call, otherwise to &lirreversible. Use it
2344 for calls to conversion functions.
2345 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
2347 (ucs4_internal_loop_unaligned): Likewise.
2348 (ucs4le_internal_loop): Likewise.
2349 (ucs4le_internal_loop_unaligned): Likewise.
2351 2000-08-25 Greg McGary <greg@mcgary.org>
2353 * sysdeps/i386/memchr.S: Check high bound against chars
2355 * sysdeps/i386/memcmp.S: Likewise.
2356 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
2357 account for pointers that lie one beyond end-of-buffer.
2359 2000-08-25 Ulrich Drepper <drepper@redhat.com>
2361 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
2362 * elf/nodelete.c (fini_ran): New global variable.
2363 (do_test): Before every dlclose call clear fini_ran and test
2364 afterwards that it is not set by the destructors.
2365 * elf/nodelmod1.c: Add destructor which sets fini_ran.
2366 * elf/nodelmod2.c: Likewise.
2367 * elf/nodelmod4.c: Likewise.
2369 2000-08-21 Jes Sorensen <jes@linuxcare.com>
2371 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
2372 getrlimit to the list.
2374 2000-08-18 Jes Sorensen <jes@linuxcare.com>
2376 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
2377 long double format so use ldbl-96 instead of ldbl-128.
2379 2000-08-25 Ulrich Drepper <drepper@redhat.com>
2381 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
2382 even if bits 10 a 11 are non-zero.
2383 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
2385 * Makeconfig: Ensures the soversions.mk part of Makefile gets
2386 included before building gnu/lib-names.h
2387 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2389 * elf/dl-close.c (_dl_close): Don't run destructors of objects
2390 marked DF_1_NODELETE.
2392 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
2393 since we call sigaction in the child.
2395 2000-08-25 Andreas Jaeger <aj@suse.de>
2397 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
2400 2000-08-25 Andreas Jaeger <aj@suse.de>
2402 * manual/arith.texi (Control Functions): Clarify possible
2403 arguments. Closes PR libc/1856.
2405 2000-08-24 H.J. Lu <hjl@gnu.org>
2407 * stdio-common/Makefile (tests): Don't do it for cross compiling.
2408 * malloc/Makefile (tests): Likewise.
2410 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2412 * iconvdata/unicode.c (gconv_init): Correct test for direction.
2414 2000-08-24 Andreas Jaeger <aj@suse.de>
2416 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
2417 only if LIBGD is available.
2419 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2421 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
2422 problems with now restrict parameter types.
2423 (convaddr4to6): Likewise.
2425 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
2427 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
2428 * sysdeps/s390/fpu/feenablxcpt.c: New file.
2429 * sysdeps/s390/fpu/fegetexcept.c: New file.
2430 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
2433 2000-08-24 Andreas Jaeger <aj@suse.de>
2435 * malloc/Makefile (extra-objs): Add memusagestat.o.
2436 (generated): Added memusage and memusagestat for make clean.
2438 * libio/tst_putwc.c (do_test): Delete temporary file.
2439 Move inclusion of test-skeleton to front to have prototype for
2442 * posix/Makefile (generated): Add wordexp-tst.out.
2444 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2446 * resolv/res_hconf.c (free_mem): Remove not needed if.
2448 * time/tzset.c (free_mem): New function.
2449 * string/strsignal.c (free_mem): New function.
2450 * inet/inet_ntoa.c (free_mem): New function.
2451 * sunrpc/clnt_perr.c (free_mem): New function.
2453 2000-08-24 Andreas Jaeger <aj@suse.de>
2455 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
2456 * sysdeps/unix/sysv/syscalls.list: Likewise.
2458 * posix/unistd.h: Move internal prototypes from here ...
2459 * include/unistd.h: ... to here.
2461 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
2463 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2465 * grp/initgroups.c (initgroups): Deallocate groups array.
2466 Reported by jani.raiha@sonera.com [PR libc/1868].
2468 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
2469 * sysdeps/alpha/Dist: Likewise.
2471 2000-08-23 Ulrich Drepper <drepper@redhat.com>
2473 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
2474 destructor). Reported by Solar Designer <solar@false.com>.
2476 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
2477 avoid adding double slashes.
2479 2000-08-23 Jakub Jelinek <jakub@redhat.com>
2481 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
2482 out of the __REDIRECT macro.
2484 2000-08-23 Ulrich Drepper <drepper@redhat.com>
2486 * stdio-common/vfscanf.c: Add %F format support.
2488 * locale/programs/ld-ctype.c (ctype_output): Make sure
2489 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
2490 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
2491 (ctype_read): Enable returning of wide character strings for reading
2492 transliteration information.
2494 2000-08-23 Andreas Jaeger <aj@suse.de>
2496 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
2497 Use static __inline instead of _EXTERN_INLINE.
2499 * misc/sys/select.h: Move prototypes of __select from here ...
2500 * include/sys/select.h: ... to here.
2502 * socket/sys/socket.h: Move prototypes of __send and __connect
2504 * include/sys/socket.h: ... to here.
2506 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
2509 2000-08-23 Jakub Jelinek <jakub@redhat.com>
2511 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
2512 __setrlimit as strong name. Takes only 2 arguments.
2514 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
2515 takes only 2 arguments.
2517 2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
2519 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
2521 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
2523 2000-08-23 Ulrich Drepper <drepper@redhat.com>
2525 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
2526 default_missing character being specified, pick the first
2529 2000-08-23 Andreas Jaeger <aj@suse.de>
2531 * include/wchar.h: Add some pure attributes.
2533 * time/time.h: Add const attribute for dysize.
2535 * include/stdlib.h: Add malloc attribute to __posix memalign.
2537 * stdlib/stdlib.h: Add some pure and malloc attributes.
2538 * wcsmbs/wchar.h: Likewise.
2540 * dirent/dirent.h: Add some pure attributes.
2541 * include/dirent.h: Likewise.
2543 2000-08-23 Jakub Jelinek <jakub@redhat.com>
2545 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
2548 2000-08-22 Ulrich Drepper <drepper@redhat.com>
2550 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
2551 missing buffer size checks.
2553 2000-08-23 Andreas Jaeger <aj@suse.de>
2555 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
2557 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2559 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
2560 otherwise __LINUX_KERNEL_VERSION might not be defined.
2561 (MIN): Define if not already defined.
2563 2000-08-22 Ulrich Drepper <drepper@redhat.com>
2565 * stdio-common/vfprintf.c: Handle %F format.
2566 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
2567 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
2569 * stdio-common/tstdiomisc.c: Add test for %F printf format.
2571 * po/zh.po: New file.
2573 * iconvdata/sjis.c: In conversion from UCS4, correct test for
2574 enough room in target buffer.
2575 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
2576 * iconvdata/bug-iconv1.c: New file.
2577 * iconvdata/Makefile (tests): Add bug-iconv1.
2579 * locale/iso-4217.def: Update entry for Nicaragua.
2581 2000-08-22 Mark Kettenis <kettenis@gnu.org>
2583 * hurd/hurdsig.c: Rearrange headers a bit.
2584 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
2585 when cthreads is being used.
2587 2000-08-22 Ulrich Drepper <drepper@redhat.com>
2589 * elf/Makefile (distribute): Add dl-osinfo.h.
2590 * sysdeps/generic/dl-osinfo.h: New file.
2591 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
2592 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
2594 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
2595 only for !SHARED case. Get the code from dl-osinfo.h.
2597 * stdlib/random_r.c: Cleanups.
2598 * stdlib/tst-random.c: New file.
2599 * stdlib/Makefile (tests): Add tst-random.
2600 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
2602 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
2604 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
2605 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
2606 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
2607 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
2609 2000-08-22 Jakub Jelinek <jakub@redhat.com>
2611 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
2612 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
2613 (__syscall__sysctl): Add.
2615 2000-08-21 Andreas Jaeger <aj@suse.de>
2617 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
2619 * stdlib/tst-strtoll.c: Likewise.
2621 2000-08-21 Ulrich Drepper <drepper@redhat.com>
2623 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
2625 (__initstate_r): Set errno on error.
2626 (__random_r): Likewise.
2627 (__setstate_r): Correct offset when computing
2628 new rptr and fptr. Test for arg_state being NULL.
2629 Reported by Michael Fischer <fischer@cs.yale.edu>.
2631 * posix/regex.h: Add macro definitions to allow compiling outside
2634 * sysdeps/i370/Implies: Removed.
2635 * sysdeps/mvs/Implies: Removed.
2637 * catgets/catgets.c (catopen): Filter out env_var values with / if
2640 * locale/findlocale.c (_nl_find_locale): Move test for unusable
2641 locale name after all getenvs.
2643 * configure.in: Allow sed versions like 3.02.8.
2644 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
2646 2000-08-21 Marko Myllynen <myllynen@lut.fi>
2648 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
2650 2000-08-21 Ulrich Drepper <drepper@redhat.com>
2652 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
2653 of gethostbyname2_r call.
2655 * intl/locale.alias: Add aliases for Korean.
2657 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
2659 * sysdeps/s390/__longjmp.c: Remove unused variable result.
2660 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
2661 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
2662 * sysdeps/s390/fpu/fegetenv.c: New file.
2663 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
2664 * sysdeps/s390/fpu/feholdexcpt.c: New file.
2665 * sysdeps/s390/fpu/fenv_libc.h: New file.
2666 * sysdeps/s390/fpu/fesetenv.c: New file.
2667 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
2668 * sysdeps/s390/fpu/feupdateenv.c: New file.
2669 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
2670 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
2671 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
2672 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
2673 * sysdeps/s390/fpu/ftestexcept.c: New file.
2674 * sysdeps/s390/fpu/libm-test-ulps: New file.
2675 * sysdeps/s390/gmp-mparam.h: Add end of comment.
2676 * sysdeps/s390/initfini.c: New file.
2677 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
2678 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
2679 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
2680 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
2681 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
2682 sys/procfs.h as proposed by Mark Kettenis.
2683 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
2685 2000-08-21 Andreas Jaeger <aj@suse.de>
2687 * include/poll.h: Include include/sys/poll.h to get __poll
2690 * io/sys/poll.h: Move __poll declaration from here...
2691 * include/sys/poll.h: ...to here.
2693 * include/sys/socket.h (__getpeername): Add declaration.
2695 * include/wchar.h (__vswprintf): Add declaration.
2697 * include/stdio.h (__flockfile): Add declaration.
2698 (__funlockfile): Likewise.
2700 2000-08-20 Ulrich Drepper <drepper@redhat.com>
2702 * misc/sys/cdefs.h: Define __restrict_arr.
2703 * include/sys/time.h: Add restrict where required by AGd4.
2704 * inet/arpa/inet.h: Likewise.
2705 * io/sys/stat.h: Likewise.
2706 * io/sys/statvfs.h: Likewise.
2707 * misc/search.h: Likewise.
2708 * misc/sys/select.h: Likewise.
2709 * posix/glob.h: Likewise.
2710 * posix/regex.h: Likewise.
2711 * posix/spawn.h: Likewise.
2712 * posix/unistd.h: Likewise.
2713 * rt/aio.h: Likewise.
2714 * signal/signal.h: Likewise.
2715 * socket/sys/socket.h: Likewise.
2716 * stdlib/ucontext.h: Likewise.
2717 * streams/stropts.h: Likewise.
2718 * string/string.h: Likewise.
2719 * time/time.h: Likewise.
2720 * time/sys/time.h: Likewise.
2722 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
2723 and posix_spawnattr_setscheparam.
2725 * libio/stdio.h: Make cuserid prototype again available for all
2728 * argp/argp-help.c: Unify use of function aliases to make more compact
2730 * include/libintl.h: Likewise.
2731 * inet/rcmd.c: Likewise.
2732 * intl/dcigettext.c: Likewise.
2733 * libio/iofputws.c: Likewise.
2734 * libio/iofputws_u.c: Likewise.
2735 * libio/iogetwline.c: Likewise.
2736 * libio/swprintf.c: Likewise.
2737 * malloc/malloc.c: Likewise.
2738 * nss/digits_dots.c: Likewise.
2739 * posix/fnmatch.c: Likewise.
2740 * posix/spawn_faction_addclose.c: Likewise.
2741 * posix/spawn_faction_adddup2.c: Likewise.
2742 * posix/spawn_faction_addopen.c: Likewise.
2743 * posix/spawni.c: Likewise.
2744 * posix/wordexp.c: Likewise.
2745 * posix/spawni.c: Likewise.
2746 * resolv/res_hconf.c: Likewise.
2747 * resolv/res_init.c: Likewise.
2748 * shadow/lckpwdf.c: Likewise.
2749 * signal/sighold.c: Likewise.
2750 * signal/sigrelse.c: Likewise.
2751 * stdio-common/printf-parse.h: Likewise.
2752 * stdio-common/printf-prs.c: Likewise.
2753 * stdio-common/printf_fp.c: Likewise.
2754 * stdio-common/vfprintf.c: Likewise.
2755 * stdio-common/vfscanf.c: Likewise.
2756 * stdlib/rpmatch.c: Likewise.
2757 * sunrpc/create_xid.c: Likewise.
2758 * sunrpc/key_call.c: Likewise.
2759 * sysdeps/generic/setrlimit64.c: Likewise.
2760 * sysdeps/generic/utmp_file.c: Likewise.
2761 * sysdeps/generic/vlimit.c: Likewise.
2762 * sysdeps/posix/posix_fallocate.c: Likewise.
2763 * sysdeps/posix/posix_fallocate64.c: Likewise.
2764 * sysdeps/posix/sigpause.c: Likewise.
2765 * sysdeps/posix/sigset.c: Likewise.
2766 * sysdeps/unix/grantpt.c: Likewise.
2767 * sysdeps/unix/bsd/ualarm.c: Likewise.
2768 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
2769 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
2770 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2771 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
2772 * time/strftime.c: Likewise.
2773 * wcsmbs/wcscoll.c: Likewise.
2774 * wcsmbs/wcsxfrm.c: Likewise.
2776 * time/tst-getdate.c (main): Make error messages more human readable.
2778 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
2779 postinc/predec instruction.
2780 (_FPU_SETCW): Likewise.
2781 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2783 2000-08-20 Andreas Jaeger <aj@suse.de>
2785 * time/tst-getdate.c (main): Increase error in case of wrong
2787 Fix typo in test case.
2789 2000-08-20 Ulrich Drepper <drepper@redhat.com>
2791 * ctype/ctype.h (isblank): Make available if ISO C99.
2792 * wctype/wctype.h (iswblank): Make available if ISO C99.
2793 * math/math.h (signgam): Don't make available if ISO C99.
2794 * math/tgmath.h (tgamma): Renamed from gamma.
2795 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
2797 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
2799 * intl/plural.y (new_exp): Take number of optional parameters in
2800 second parameter. Test for correct number of parameters and free
2801 correctly in case of failure. Adjust all callers.
2802 (yylex): Allow ';' as terminator character.
2804 2000-08-19 Ulrich Drepper <drepper@redhat.com>
2806 * locale/lc-time.c (free_mem): New function. Free alt_digits and
2809 * locale/findlocale.c (free_mem): Also free here->filename.
2811 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
2813 * math/test-fenv.c (feenv_tests): Clear all exceptions before
2815 (feexcp_nomask_test): Correct printf args.
2816 (feexcp_mask_test): Likewise.
2818 2000-08-19 Andreas Jaeger <aj@suse.de>
2820 * inet/tst-gethnm.c: Include string.h to provide prototype for
2823 * malloc/mtrace.pl (usage): Inform about --help.
2825 2000-08-19 Wolfram Gloger <wg@malloc.de>
2827 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
2830 2000-08-19 Andreas Jaeger <aj@suse.de>
2832 * shlib-versions: Remove libnss_db, libdb and libdb1.
2834 2000-08-19 Jakub Jelinek <jakub@redhat.com>
2836 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
2837 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
2838 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
2839 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
2840 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
2841 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
2842 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
2843 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
2844 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
2845 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
2847 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
2848 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
2850 2000-08-18 Jakub Jelinek <jakub@redhat.com>
2852 * include/glob.h (__glob64): Add prototype.
2853 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
2854 define glob and glob_in_dir.
2855 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
2856 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
2857 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
2858 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
2859 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
2860 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
2861 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
2862 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
2864 2000-08-18 Jakub Jelinek <jakub@redhat.com>
2866 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
2868 2000-08-17 Andreas Jaeger <aj@suse.de>
2870 * math/test-fenv.c (fe_single_test): New function.
2871 (fe_env_tests): Use fe_single_test.
2872 (feenable_test): New tests for feenable/fedisable and
2874 (feexcp_mask_test): New function.
2875 (feexcp_nomask_test): New function.
2877 2000-08-19 Richard Henderson <rth@cygnus.com>
2879 * sysdeps/alpha/fpu/fenv_libc.h: New file.
2880 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
2881 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
2882 * sysdeps/alpha/fpu/fesetround.c: Likewise.
2883 * sysdeps/alpha/fpu/fegetround.c: Likewise.
2884 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
2885 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
2886 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
2887 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
2888 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
2889 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
2890 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
2891 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
2892 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
2893 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
2894 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
2895 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
2897 2000-08-19 Andreas Jaeger <aj@suse.de>
2899 * elf/constload1.c: Include <stdio.h> for puts prototype.
2901 2000-08-19 Ulrich Drepper <drepper@redhat.com>
2903 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
2904 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
2905 a dynamically loaded object remove old l_initfini list.
2906 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
2907 remove some dynamically allocated memory blocks in the dynamic
2908 loading data structures.
2909 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
2910 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
2911 Instead call _dl_check_map_versions only for the dependencies.
2912 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
2913 information of initial objects as not free-able.
2914 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
2917 * elf/filter.c: Call mtrace.
2918 * elf/restest1.c: Likewise. Close the objects.
2919 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
2922 * elf/constload1.c: Add comment explaining not freed memory.
2924 2000-08-18 Andreas Jaeger <aj@suse.de>
2926 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
2927 alignment for structs stat and stat64.
2928 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2930 2000-08-17 Ulrich Drepper <drepper@redhat.com>
2932 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
2933 handling. Patch by Richard Henderson <rth@twiddle.net>.
2935 * nss/Versions: Remove libnss_db information.
2937 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2939 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
2940 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
2941 * sysdeps/sparc/fpu/fegetexcept.c: New file.
2942 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
2944 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
2947 2000-08-17 Ulrich Drepper <drepper@redhat.com>
2949 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
2950 (_FPU_SETCW): Likewise.
2951 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2953 * stdio-common/printf_fp.c: Fix chars_needed computation.
2954 Patch by Greg McGary <greg@mcgary.org>.
2956 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2958 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
2959 _dl_loaded are NULL.
2961 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2963 * manual/arith.texi (feholdexcept): Returns 0 on success.
2965 2000-08-17 Andreas Jaeger <aj@suse.de>
2967 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
2969 Reported by Andi Kleen <ak@suse.de>.
2971 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2973 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
2974 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
2975 * sysdeps/alpha/fpu/fegetexcept.c: New file.
2977 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2979 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
2980 of buf->st_ino and kbuf->st_ino, not __st_ino.
2981 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
2982 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
2983 directive so that only linux/getdents.c is used, not some
2984 architecture specific one.
2986 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2988 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
2989 enabled, not disabled exceptions.
2990 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2991 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
2993 2000-08-17 Greg McGary <greg@mcgary.org>
2995 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
2996 from test program name when constructing suffix for $(LDLIBS-*).
2997 (bounded-thread-library): New variable.
2999 [build-shared, build-static] (libcrypt-dep): Remove variable.
3000 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
3001 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3002 * linuxthreads/Makefile (libpthread, librt): Remove variables.
3003 (librt-tests): Add variable. (tests): Use it.
3004 [build-shared, build-static]
3005 ($(addprefix $(objpfx),$(tests)),
3006 $(addprefix $(objpfx),$(librt-tests))):
3007 Consolidate individual dependencies.
3009 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
3011 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
3012 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3014 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
3016 [build-shared, build-static]
3017 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
3018 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3020 2000-08-17 Greg McGary <greg@mcgary.org>
3022 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
3023 * sysdeps/unix/make-syscalls.sh: Likewise.
3024 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3025 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3026 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3027 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
3028 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
3030 2000-08-17 Greg McGary <greg@mcgary.org>
3032 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
3033 Wrap extern symbols in BP_SYM ().
3034 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3035 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3036 * sysdeps/i386/fpu/s_remquo.S: Likewise.
3037 * sysdeps/i386/fpu/s_remquof.S: Likewise.
3038 * sysdeps/i386/fpu/s_remquol.S: Likewise.
3039 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3040 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3041 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3042 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3043 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3045 2000-08-16 Andreas Schwab <schwab@suse.de>
3047 * sysdeps/m68k/fpu/fegetexcept.c: New file.
3048 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
3049 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
3051 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3053 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
3054 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
3055 * elf/dl-support.c: Define _nl_nloaded.
3056 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
3057 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
3058 object to global list.
3059 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
3060 from _dl_loaded list.
3061 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3062 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
3065 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
3067 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
3069 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
3071 2000-08-16 Andreas Jaeger <aj@suse.de>
3073 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
3075 2000-08-15 Marko Myllynen <myllynen@lut.fi>
3077 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
3079 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3081 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
3082 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
3083 (sysdep_routines): Add oldgetrlimit64.
3084 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
3085 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3087 * include/link.h: Undo last patches. Hurd now has stat64.
3088 * elf/Makefile: Likewise.
3089 * elf/dl-load.c: Likewise.
3090 * elf/dl-misc.c: Likewise.
3091 * elf/dl-profile.c: Likewise.
3092 * sysdeps/generic/sysd-link.h: Removed.
3093 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
3095 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
3096 thread event callback function.
3097 (__aio_notify_only): Use function above.
3098 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
3100 2000-08-16 Mark Kettenis <kettenis@gnu.org>
3102 * sysdeps/mach/hurd/lseek64.c: New file.
3104 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3106 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
3108 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
3110 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
3112 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
3114 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3116 * sysdeps/mach/hurd/xstatconv.c: New file.
3117 * sysdeps/mach/hurd/fxstat64.c: New file.
3118 * sysdeps/mach/hurd/lxstat64.c: New file.
3119 * sysdeps/mach/hurd/xstat64.c: New file.
3120 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
3122 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3124 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
3125 Initialize, needed for change in common symbol handling in newer
3126 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
3128 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3130 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
3131 * elf/constload2.c: Add destructor to unload constload3.
3133 * include/link.h: Include sysd-link.h.
3134 * sysdeps/generic/sysd-link.h: New file.
3135 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
3136 * elf/Makefile (distribute): Add sysd-link.h.
3137 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
3138 types and functions directly.
3139 * elf/dl-misc.c: Likewise.
3140 * elf/dl-profile.c: Likewise.
3142 * elf/loadfail.c (main): Close all successfully loaded objects.
3144 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
3146 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
3147 there is already one.
3149 * elf/dl-close.c: Pretty print.
3151 2000-08-14 Ulrich Drepper <drepper@redhat.com>
3153 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
3154 global (with file scope). Add __libc_subfreeres function to free the
3156 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
3157 in ttyname function.
3159 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
3161 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
3163 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
3164 mapping them to /x5c and /x7e respectively.
3166 * locale/programs/ld-ctype.c: Add support for more definitions after
3169 2000-08-14 Jakub Jelinek <jakub@redhat.com>
3171 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
3172 * sysdeps/unix/sysv/linux/kernel-features.h
3173 (__ASSUME_GETDENTS64_SYSCALL): Define.
3174 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
3175 syscall if available to get d_type fields.
3176 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
3177 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
3178 __lxstat64): Export at GLIBC_2.2.
3179 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
3181 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
3182 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
3183 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
3184 getdirentries64, versionsort64): Remove.
3185 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
3186 getdirentries64, versionsort64): Remove.
3188 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3190 * posix/Makefile: Remove rules to generate glob package.
3192 * posix/Makefile (tests): Add tst-regexloc.
3193 (tst-regexloc-ENV): Add LOCPATH.
3194 * posix/tst-regexloc.c: New file.
3196 2000-08-12 Andreas Jaeger <aj@suse.de>
3198 * include/features.h (__STDC_ISO_10646__): Define.
3199 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
3201 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3203 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
3205 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
3206 for revision 6 and up).
3208 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
3210 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
3211 to get definitions of just these types.
3213 * signal/signal.h: Define thread signal handling functions also for
3216 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
3218 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3219 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
3220 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3221 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3223 * sysvipc/sys/shm.h: Define pid_t for XPG.
3225 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
3226 they are not anymore required here.
3228 * wcsmbs/wchar.h: Make the various wide char string and stream
3229 functions available for the respective XPG versions.
3231 * nss/Makefile: Remove rules to build and distribute nss_db.
3233 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
3234 * sysdeps/generic/scandir64.c: Likewise.
3235 * sysdeps/generic/versionsort64.c: Likewise.
3237 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3238 Benjamin Koznik <bkoz@redhat.com>
3240 * libio/fileops.c: Merge with libstdc++-v3.
3241 * libio/genops.c: Likewise.
3242 * libio/iofclose.c: Likewise.
3243 * libio/iofopen.c: Likewise.
3244 * libio/iofwide.c: Likewise.
3245 * libio/libio.h: Likewise.
3246 * libio/libioP.h: Likewise.
3247 * libio/stdfiles.c: Likewise.
3248 * libio/stdio.c: Likewise.
3249 * libio/wfileops.c: Likewise.
3250 * libio/wgenops.c: Likewise.
3252 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
3254 2000-08-12 Ulrich Drepper <drepper@redhat.com>
3256 * locale/programs/localedef.c: Implement --prefix option to allow
3257 writing in standard places of alternative install directories.
3259 * posix/regex.c (compile_range): Implement collation sequence
3260 handling for glibc. Use simple character ordering otherwise and
3263 2000-08-12 Mark Kettenis <kettenis@gnu.org>
3265 * sysdeps/generic/scandir64.c: Include <dirent.h>.
3267 2000-08-12 Andreas Jaeger <aj@suse.de>
3269 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
3270 __USE_FILE_OFFSET64 correctly for locking.
3271 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3273 2000-08-12 Jakub Jelinek <jakub@redhat.com>
3275 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3276 Define for 2.4.1 on sparc as well.
3277 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
3278 for F_GETLK64, F_SETLK64, and F_SETLKW64.
3279 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
3280 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
3282 2000-08-12 Ulrich Drepper <drepper@redhat.com>
3284 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
3287 2000-08-12 Andreas Jaeger <aj@suse.de>
3289 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
3290 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
3292 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
3293 mips2 for assembler.
3295 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
3296 if fnctl64 is not available for F_*LK*64.
3298 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
3300 2000-08-12 Ulrich Drepper <drepper@redhat.com>
3302 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3303 Define for 2.4.1 on x86.
3304 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
3305 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
3306 for F_GETLK64, F_SETLK64, and F_SETLKW64.
3308 * dirent/dirent.h: Define DT_WHT.
3310 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
3311 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
3312 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
3313 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
3314 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
3315 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
3317 2000-08-11 Ulrich Drepper <drepper@redhat.com>
3319 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
3320 lookup, pass pointer to array with NULL pointer [PR libc/1858].
3321 * inet/Makefile (tests): Add tst-gethnm.
3322 * inet/tst-gethnm.c: New file.
3324 * rt/aio_cancel.c: If canceling a specific request which is running
3325 *really* do nothing.
3326 * rt/aio_misc.h: Add `done' to states of a request.
3327 * rt/aio_misc.c: Add several tests for the correct state.
3328 Simplify request table memory handling.
3330 2000-08-10 Jakub Jelinek <jakub@redhat.com>
3332 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
3333 * dirent/scandir64.c: Move...
3334 * sysdeps/generic/scandir64.c: ...here.
3335 * dirent/alphasort64.c: Move...
3336 * sysdeps/generic/alphasort64.c: ...here.
3337 * dirent/versionsort64.c: Move...
3338 * sysdeps/generic/versionsort64.c: ...here.
3339 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
3340 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
3341 Export symbols at GLIBC_2.2.
3342 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
3343 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
3344 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
3345 __versionsort64): Add prototypes.
3346 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
3347 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
3349 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
3351 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
3352 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
3353 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
3354 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
3356 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
3357 Adjust for kernel-2.4.0-test6 layout.
3358 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
3359 GLIBC_2.1 and GLIBC_2.2.
3360 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
3361 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
3362 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
3363 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
3364 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
3365 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
3366 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
3367 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
3368 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
3369 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
3370 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
3371 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
3372 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
3373 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
3375 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
3376 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
3377 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
3378 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
3379 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
3380 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
3381 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
3383 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
3384 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
3386 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
3387 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
3388 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
3389 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
3390 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
3392 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
3394 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
3396 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
3397 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
3398 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
3399 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
3400 st_ino from __st_ino.
3401 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
3402 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
3403 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
3404 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
3405 set __st_ino in addition to st_ino.
3406 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
3407 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
3408 __old_getdents64 as well.
3409 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
3410 getdirentries64 and old_getdirentries64 as well.
3411 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
3412 __GETDENTS): Define.
3413 (GETDENTS64): Remove.
3414 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
3416 (GETDENTS64): Remove.
3417 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
3418 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
3419 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
3421 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
3422 __old_readdir64_r as well.
3423 * sysdeps/unix/sysv/linux/kernel-features.h: Define
3424 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
3426 2000-08-08 Jes Sorensen <jes@linuxcare.com>
3428 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
3429 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
3430 define of the kernel.
3431 Add missing __SEG_PSTKOVF definition.
3432 Adjust the padding of struct siginfo and struct sigevent to
3433 match the fact that sigval_t is 64 bit.
3435 2000-08-10 Ulrich Drepper <drepper@redhat.com>
3437 * timezone/zic.c: Update from tzcode2000f.
3438 * timezone/australasia: Update from tzdata2000f.
3439 * timezone/europe: Likewise.
3440 * timezone/southamerica: Likewise.
3441 * timezone/yearistype: Likewise.
3443 2000-08-10 Andreas Jaeger <aj@suse.de>
3445 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
3446 stat with current MIPS kernel.
3448 2000-08-01 Mark Kettenis <kettenis@gnu.org>
3450 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
3451 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
3452 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
3453 Remove the junk that's only relevant in the Linux kernel itself.
3454 Add a warning saying that this file is now obsolete, and include
3456 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
3457 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
3458 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
3459 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
3460 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
3461 and add the notice that the file is primarily there for GDB.
3462 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
3464 2000-08-09 Jakub Jelinek <jakub@redhat.com>
3466 * time/tzfile.c (__tzfile_compute): __tzstring zones
3469 2000-08-09 Jakub Jelinek <jakub@redhat.com>
3471 * resolv/resolv.h (__res_state): Surround prototype with
3472 __BEGIN_DECLS/__END_DECLS.
3473 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
3475 2000-08-04 Jes Sorensen <jes@linuxcare.com>
3477 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
3478 Make independant of asm/resource.h from the Linux kernel.
3480 2000-08-06 Bruno Haible <haible@clisp.cons.org>
3482 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
3484 2000-08-06 Bruno Haible <haible@clisp.cons.org>
3486 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
3487 * locale/Makefile (locale-CPPFLAGS): Likewise.
3489 2000-08-09 Ulrich Drepper <drepper@redhat.com>
3491 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
3494 2000-08-03 Jakub Jelinek <jakub@redhat.com>
3496 * misc/Versions (mincore): Export at GLIBC_2.2.
3498 2000-08-03 Bruno Haible <haible@clisp.cons.org>
3500 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
3502 2000-08-02 Mark Kettenis <kettenis@gnu.org>
3504 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
3505 socketpair. Made socketpair a weak alias.
3506 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
3507 __socketpair. Use S_IFIFO protocol to make pipes POSIX
3508 conforming, but fall back on the old protocol if the socket server
3510 * include/sys/socket.h: Add prototype for __socketpair.
3512 2000-08-09 Andreas Schwab <schwab@suse.de>
3514 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
3515 long long modifier is seen.
3517 * elf/nodelete.c (do_test): Remove reference to undefined member
3519 * rt/tst-aio4.c (do_test): Likewise.
3521 * configure.in: Add `-lm' when checking for libgd.
3522 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
3525 2000-08-09 Andreas Jaeger <aj@suse.de>
3527 * configure.in: Change required make versions.
3529 * manual/install.texi (Tools for Compilation): Document required
3531 (Supported Configurations): Update list of supported
3534 2000-08-08 Ulrich Drepper <drepper@redhat.com>
3536 * locale/linereader.c (get_string): Don't print an error is a string
3537 contains an unknown character.
3539 2000-08-06 Ulrich Drepper <drepper@redhat.com>
3541 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
3542 (new_symbol): Take new parameters with name of the symbol.
3544 (handle_ellipsis): Don't only allow character symbols.
3545 (collate_read): Allow string of collating elements contain invalid
3546 characters; ignore entry in this case.
3547 Handle ellipsis of collating symbols before first order_start.
3548 Allow ellipsis in state 0.
3550 2000-08-04 Ulrich Drepper <drepper@redhat.com>
3552 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
3554 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
3556 2000-08-04 Greg McGary <greg@mcgary.org>
3558 * posix/regex.c (SET_HIGH_BOUND): New macro.
3559 (MOVE_BUFFER_POINTER): Use it.
3560 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
3561 (EXTEND_BUFFER): Use it.
3563 2000-08-03 Ulrich Drepper <drepper@redhat.com>
3565 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
3566 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
3567 _wide_data but from _IO_FILE directly.
3568 * libio/iofclose.c: Likewise.
3569 * libio/wfileops.c: Likewise.
3571 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
3572 * libio/libioP.h: Change prototypes.
3574 2000-08-03 Greg McGary <greg@mcgary.org>
3576 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
3577 frame pointer early so that we save caller's frame pointer.
3578 * sysdeps/i386/elf/setjmp.S: Likewise.
3580 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
3581 * io/test-utime.c: Test passing NULL as utimbuf* arg.
3583 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
3584 (MOVE_BUFFER_POINTER): Handle high_bound properly.
3585 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
3587 2000-08-03 Ulrich Drepper <drepper@redhat.com>
3589 * iconvdata/big5.c: Updated.
3590 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
3592 2000-08-02 Ulrich Drepper <drepper@redhat.com>
3594 * Makeconfig (all-subdirs): Add conform.
3595 * conform/Makefile: Include ../Rules.
3597 * Makefile (README): Add rules to generate here as well.
3599 2000-08-02 Ulrich Drepper <drepper@redhat.com>
3601 * version.h (VERSION): Bump to 2.1.92.
3603 * sysdeps/ia64/Dist: Add _mcount.S.
3605 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
3607 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
3609 * elf/Makefile (distribute): Add missing modules.
3611 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
3613 * posix/regex.c (compile_range): Translate range start and end
3614 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
3616 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
3619 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
3621 2000-08-02 Andreas Jaeger <aj@suse.de>
3623 * elf/elf.h (EM_S390): Added.
3624 (R_390_*): New relocs for S390.
3626 * sysdeps/unix/sysv/linux/s390/Dist: New file.
3627 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
3628 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
3629 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
3630 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
3631 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
3632 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
3633 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
3634 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
3635 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
3636 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
3637 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
3638 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
3639 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
3640 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
3641 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
3642 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
3643 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
3644 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
3645 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
3646 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
3647 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
3648 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
3649 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
3650 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
3651 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
3652 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
3653 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
3654 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
3655 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
3656 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
3657 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
3658 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
3659 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
3660 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
3661 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
3662 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
3663 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
3664 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
3665 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
3666 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
3667 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
3668 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
3669 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
3670 * sysdeps/s390/sysdep.h: New file.
3671 * sysdeps/s390/sys/ucontext.h: New file.
3672 * sysdeps/s390/sub_n.S: New file.
3673 * sysdeps/s390/strncpy.S: New file.
3674 * sysdeps/s390/strcpy.S: New file.
3675 * sysdeps/s390/stackinfo.h: New file.
3676 * sysdeps/s390/setjmp.S: New file.
3677 * sysdeps/s390/s390-mcount.S: New file.
3678 * sysdeps/s390/mul_1.S: New file.
3679 * sysdeps/s390/memusage.h: New file.
3680 * sysdeps/s390/memset.S: New file.
3681 * sysdeps/s390/memcpy.S: New file.
3682 * sysdeps/s390/memchr.S: New file.
3683 * sysdeps/s390/machine-gmon.h: New file.
3684 * sysdeps/s390/ldbl2mpn.c: New file.
3685 * sysdeps/s390/gmp-mparam.h: New file.
3686 * sysdeps/s390/fpu/fpu_control.h: New file.
3687 * sysdeps/s390/fpu/fesetround.c: New file.
3688 * sysdeps/s390/fpu/fegetround.c: New file.
3689 * sysdeps/s390/fpu/fclrexcpt.c: New file.
3690 * sysdeps/s390/fpu/bits/fenv.h: New file.
3691 * sysdeps/s390/ffs.c: New file.
3692 * sysdeps/s390/elf/start.S: New file.
3693 * sysdeps/s390/elf/setjmp.S: New file.
3694 * sysdeps/s390/elf/bsd-setjmp.S: New file.
3695 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
3696 * sysdeps/s390/dl-machine.h: New file.
3697 * sysdeps/s390/bzero.S: New file.
3698 * sysdeps/s390/bsd-setjmp.S: New file.
3699 * sysdeps/s390/bsd-_setjmp.S: New file.
3700 * sysdeps/s390/bits/string.h: New file.
3701 * sysdeps/s390/bits/setjmp.h: New file.
3702 * sysdeps/s390/bits/huge_val.h: New file.
3703 * sysdeps/s390/bits/endian.h: New file.
3704 * sysdeps/s390/bits/byteswap.h: New file.
3705 * sysdeps/s390/bcopy.S: New file.
3706 * sysdeps/s390/backtrace.c: New file.
3707 * sysdeps/s390/atomicity.h: New file.
3708 * sysdeps/s390/asm-syntax.h: New file.
3709 * sysdeps/s390/addmul_1.S: New file.
3710 * sysdeps/s390/add_n.S: New file.
3711 * sysdeps/s390/abort-instr.h: New file.
3712 * sysdeps/s390/__longjmp.c: New file.
3713 * sysdeps/s390/Makefile: New file.
3714 * sysdeps/s390/Implies: New file.
3715 * sysdeps/s390/Dist: New file.
3716 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
3718 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3720 Remove incompatible IPv6 extension of RPC.
3721 * sunrpc/Makefile: Undo changes.
3722 * sunrpc/rpc_main.c: Likewise.
3723 * sunrpc/rpc/clnt.h: Likewise.
3724 * sunrpc/rpc/svc.h: Likewise.
3725 * sunrpc/bindrsvprt6.c: Removed.
3726 * sunrpc/clnt_tcp6.c: Removed.
3727 * sunrpc/clnt_udp6.c: Removed.
3728 * sunrpc/svc_tcp6.c: Removed.
3729 * sunrpc/svc_udp6.c: Removed.
3731 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
3732 dgettext, and dcgettetxt.
3734 * intl/locale.alias: Update japanese aliases.
3736 * sysdeps/ia64/bits/byteswap.h: New file.
3737 Patch by Dan Pop <Dan.Pop@cern.ch>.
3739 * misc/sys/cdefs.h: Define __attribute_format_arg__.
3740 * intl/libintl.h: Use it here instead of using __attribute__ directly.
3742 2000-07-13 H.J. Lu <hjl@gnu.org>
3744 * posix/regex.c (re_max_failures): Set to 4000.
3746 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3748 * gnulib/Makefile (tests): Add tst-gcc.
3749 * gnulib/tst-gcc.c: New file.
3751 * assert/Makefile (routines): Add __assert.
3752 * assert/Versions: Export __assert for glibc 2.2.
3753 * assert/__assert.c: New file.
3754 * assert/assert.h: Declare __assert.
3756 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3758 * locale/localeinfo.h (_ISCTYPE): New macro.
3759 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
3760 LC_CTYPE locale format.
3761 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
3762 (ctype_output): Output class_b[nr] right before class_3level[nr].
3763 (allocate_arrays): Fill class_b, similarly to class_3level.
3765 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3766 Joseph S. Myers <jsm28@cam.ac.uk>
3768 * math/tgmath.h: Make standard compliant. Don't ask how.
3770 2000-07-04 H.J. Lu <hjl@gnu.org>
3772 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
3773 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
3774 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
3776 2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3778 * include/features.h (_XOPEN_SOURCE): Update the explanation.
3779 (__USE_LARGEFILE): Add an explanation.
3780 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
3781 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
3783 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3785 * libio/Makefile: Enable exception handling for genops, wgenops,
3786 fileops, and wfileops.
3788 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3790 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
3791 acount that elf/rtld's main program might remove some varibales
3792 from the environment if we're trying to be secure. Move the Hurd
3793 startup data if necessary, or, if we there is no startup data,
3794 make sure the magical convention that ARGV[0] is stored just after
3795 the environment list.
3797 2000-08-01 Philip Blundell <philb@gnu.org>
3799 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
3800 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
3801 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
3802 oldsetrlimit for GLIBC_2.0.
3804 2000-08-01 Andreas Jaeger <aj@suse.de>
3806 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
3807 (LINE_PARSER): Allow any number of spaces between ip address and
3808 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
3810 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
3812 * include/netdb.h: Remove getipnodebyaddr and friends, leave
3815 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
3816 _nss_nisplus_getipnodebyname_r.
3818 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
3819 now, getipnodebyname is deprecated.
3820 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
3823 * inet/Makefile (routines): Don't build getipnodebyaddr and
3826 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
3828 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
3830 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
3832 * wctype/Makefile (distribute): Add wchar-lookup.h.
3834 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
3836 * iconvdata/Makefile (distribute): Add isiri-3342.h.
3838 2000-08-01 Andreas Schwab <schwab@suse.de>
3840 * Make-dist (dist): Resolve `..' in file names.
3842 2000-08-01 Andreas Jaeger <aj@suse.de>
3844 * stdio-common/Makefile (distribute): Remove removed files, add
3847 * Makefile (distribute): Remove include/db_185.h and db.h.
3849 * include/db_185.h: Remove, it's not needed anymore.
3850 * include/db.h: Likewise.
3852 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3854 * inet/Makefile (tests): Remove tst-ipnode.
3855 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
3858 2000-07-31 Jes Sorensen <jes@linuxcare.com>
3860 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
3861 endp statements have already been added.
3863 2000-04-18 David Mosberger <davidm@hpl.hp.com>
3865 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
3866 <sysdeps/ia64/sysdep.h>.
3868 * sysdeps/ia64/_mcount.S: New file.
3870 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
3871 __gmon_start__. Fix up extraneous whitespace.
3873 2000-01-12 H.J. Lu <hjl@gnu.org>
3875 * sysdeps/ia64/elf/initfini.c: New file.
3877 2000-07-31 Jes Sorensen <jes@linuxcare.com>
3879 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
3880 dependency between branch and ar.pfs write.
3882 2000-07-31 H.J. Lu <hjl@gnu.org>
3884 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
3885 handle the wchar_t array.
3887 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3889 * iconvdata/gb18030.c: Don't map to and from positions in ISO
3890 10646 which are not yet assigned.
3891 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
3893 2000-07-31 Andreas Jaeger <aj@suse.de>
3895 * inet/Versions: Remove getipnodebyaddr and friends from
3898 * resolv/netdb.h: Remove getipnodebyaddr and friends.
3900 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3902 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
3903 ch >= 0x81 && ch2 < 0x40 as invalid.
3905 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3907 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
3908 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
3910 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3912 * iconvdata/johab.c (BODY for TO_LOOP): After calling
3913 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
3915 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3917 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
3919 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
3921 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3923 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
3925 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3927 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
3928 (from_ucs4): Change values of U+00A4 and U+00ED.
3929 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
3931 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3933 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
3934 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
3936 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3938 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
3939 * iconvdata/isiri-3342.h: New file.
3940 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
3941 treat 0x80 as a gap.
3943 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3945 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
3946 (utf8_encode): Use simple shifts instead. Fix return value.
3948 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3950 * timezone/private.h: Update from tzcode2000e.
3951 * timezone/asia: Update from tzdata2000e.
3952 * timezone/australasia: Likewise.
3953 * timezone/europe: Likewise.
3954 * timezone/northamerica: Likewise.
3955 * timezone/zone-tab: Likewise.
3957 2000-07-30 Ralf Baechle <ralf@gnu.org>
3959 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
3960 the order of struct sigaltstack members is different.
3962 2000-07-26 Philip Blundell <philb@gnu.org>
3964 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
3966 2000-07-29 Ulrich Drepper <drepper@redhat.com>
3968 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
3969 * locale/programs/ld-ctype.c: Adjust for this.
3971 * locale/programs/ld-collate.c: Add more alignment checks.
3972 * locale/string/strcoll.c: Likewise.
3974 2000-07-30 Mark Kettenis <kettenis@gnu.org>
3976 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
3977 outside USE_IN_LIBIO block.
3979 2000-07-26 Philip Blundell <philb@gnu.org>
3981 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
3982 (elf_machine_rel): Use it for out-of-range PC24 relocs.
3984 2000-07-28 Philip Blundell <philb@gnu.org>
3986 * math/test-fpucw.c: Ignore reserved bits in control word.
3988 2000-07-28 Philip Blundell <philb@gnu.org>
3990 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
3991 (ret): Redefine to PSEUDO_RET.
3992 (PSEUDO): Remove jump to syscall_error.
3994 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3996 * resolv/README: Add some information about using the resolver in
3997 multi-threaded code and with C++. Spelling fixes.
3999 2000-07-29 Mark Kettenis <kettenis@gnu.org>
4001 * resolv/resolv.h (struct __sockaddr_in): Remove.
4002 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
4004 2000-07-29 Greg McGary <greg@mcgary.org>
4006 * Rules (test-bp-inputs, make-test-out): New variables.
4007 ($(objpfx)%-bp.out): New rule.
4008 ($(objpfx)%.out): Rewrite in terms of new variables.
4010 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
4011 internal function that uses vtable.
4012 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
4013 * libio/vswprintf.c (_IO_vswprintf): Likewise.
4015 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
4016 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
4017 (chunk_align): Likewise.
4019 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
4020 in a way that conforms to decl, and avoids spurious bounds violation.
4022 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
4023 * sysdeps/generic/frame.h: Likewise.
4024 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
4025 around return value.
4026 (__backtrace): Qualify frame-pointer chain and return address
4027 pointers as __unbounded. Wrap bounds around variable `current'.
4028 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
4029 around return value.
4030 (catch_segfault): Qualify frame-pointer chain and return address
4031 pointers as __unbounded. Wrap bounds around variable `current'.
4032 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
4033 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
4034 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
4036 (__backtrace): Qualify frame-pointer chain and return address
4037 pointers as __unbounded. Wrap bounds around variable `current'.
4039 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
4040 * sysdeps/i386/mul_1.S: Likewise.
4041 * sysdeps/i386/submul_1.S: Likewise.
4042 * sysdeps/i386/i586/addmul_1.S: Likewise.
4043 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
4044 * sysdeps/i386/i586/submul_1.S: Likewise.
4046 2000-07-27 Andreas Jaeger <aj@suse.de>
4048 * libio/Depend: New file, libio needs localedata for tests.
4049 * posix/Depend: Likewise.
4051 2000-07-28 Ulrich Drepper <drepper@redhat.com>
4053 * stdio-common/_i18n_itoa.c: Removed.
4054 * stdio-common/_i18n_itoa.h: Removed.
4055 * stdio-common/_i18n_itowa.c: Removed.
4056 * stdio-common/_i18n_itowa.h: Removed.
4057 * stdio-common/_i18n_number.h: New file.
4058 * stdio-common/Depend: New file.
4059 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
4060 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
4061 printing. Change printing of numbers with locale specific digits to
4062 use new code in _i18n_number.h.
4063 * stdio-common/Makefile (routines): Remove _i18n_itoa and
4066 * stdio-common/bug13.c: Improve messages.
4068 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
4069 (set_class_defaults): Always search also for Uxxxx names.
4070 Detect insufficient number of outdigits.
4072 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
4074 2000-07-27 Bruno Haible <haible@clisp.cons.org>
4076 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
4077 _NL_CTYPE_MAP_NAMES.
4078 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
4079 * wctype/wcfuncs.c (towlower, towupper): Use them.
4080 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
4081 * wctype/wctrans.c (wctrans): Likewise.
4082 * wctype/wctrans_l.c (__wctrans_l): Likewise.
4084 2000-07-27 Bruno Haible <haible@clisp.cons.org>
4086 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
4087 Use the optimized version of this function outside glibc as well.
4089 2000-07-27 Jakub Jelinek <jakub@redhat.com>
4091 * locale/indigits.h (indigit_value): Correct.
4092 * locale/indigitswc.h (indigitwc_value): Correct.
4093 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
4094 conversion, add GROUP checking for it, fix GROUP number
4095 conversion with strlen(thousands) > 1.
4096 Honour width correctly in the presence of floating
4097 decimal points and thousands separators.
4098 * stdio-common/tst-sscanf.c: New test.
4099 * stdio-common/Makefile: Add it to tests.
4100 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
4101 thousands separators and group argument is non-zero.
4103 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4105 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
4106 starts at GLIBC_2.2.
4108 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4110 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
4111 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
4113 (headers): Add sys/tas.h.
4114 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
4115 GLIBC_2.2 from libc.
4116 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
4117 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
4120 2000-07-28 Andreas Jaeger <aj@suse.de>
4122 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
4124 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
4125 ($(objpfx)tst-dladdr.out): new.
4126 (tests): Add tst-dladdr.
4127 ($(objpfx)glrefmain): Use libdl.
4129 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
4132 2000-07-27 Jes Sorensen <jes@linuxcare.com>
4134 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
4135 ftruncate(64) calls.
4137 2000-07-27 Jes Sorensen <jes@linuxcare.com>
4139 * intl/tst-translit.c: Include string.h to get prototype for
4142 2000-07-27 Jes Sorensen <jes@linuxcare.com>
4144 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
4145 name and add weak alias for __fork.
4147 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
4148 & pwrite to use __libc_<name> as strong names instead of
4151 * include/sched.h: Add clone2 prototype.
4153 2000-07-26 Jes Sorensen <jes@linuxcare.com>
4155 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
4156 procedure name twice.
4158 2000-07-27 Philip Blundell <philb@gnu.org>
4160 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
4162 2000-07-27 Andreas Jaeger <aj@suse.de>
4164 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
4165 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
4166 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4167 Reported by Andi Kleen <ak@suse.de>.
4169 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
4170 (do_wait): Test requests with aio_return64.
4171 (do_test): Change callers of do_wait.
4173 2000-07-26 Andreas Jaeger <aj@suse.de>
4175 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
4176 (do_wait): Test requests with aio_return.
4177 (do_test): Change callers of do_wait.
4179 2000-07-27 Ulrich Drepper <drepper@redhat.com>
4181 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
4182 from request list. Don't do the list handling here, call
4183 __aio_remove_request.
4184 * rt/aio_misc.h: Add prototype for __aio_remove_request.
4185 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
4186 request might already be processed. Don't do the list handling
4187 here, call __aio_remove_request.
4189 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
4192 * rt/aio_misc.c: Add comment explaining why writer memory barriers
4195 2000-07-27 Greg McGary <greg@mcgary.org>
4197 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
4198 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
4199 in union init. Pass zero for ignored semnum arg to semctl.
4200 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
4202 2000-07-26 Greg McGary <greg@mcgary.org>
4204 * sysdeps/gnu/bits/msq.h: Qualify kernel's
4205 data structure pointers as __unbounded.
4206 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
4207 * sysdeps/generic/bp-semctl.h: New file.
4208 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
4209 pointers as __unbounded. Check bounds of syscall args.
4210 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
4211 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
4212 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4213 * sysdeps/unix/sysv/linux/semop.c: Likewise.
4214 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
4215 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4216 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
4217 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
4218 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
4219 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
4220 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
4221 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
4222 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
4223 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
4224 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
4225 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
4227 2000-07-26 Ulrich Drepper <drepper@redhat.com>
4229 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
4231 * locale/C-ctype.c: Likewise.
4232 * wcsmbs/wcsmbsload.c: Likewise.
4234 2000-07-26 Greg McGary <greg@mcgary.org>
4236 * Makeconfig (+link-bounded, link-libc-bounded,
4237 link-extra-libs-bounded): New variables.
4238 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
4239 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
4240 * Rules (tests-bp.out): New variable.
4241 (tests): Conditionally add BP tests.
4242 (binaries-bounded): Add variable and associated rule.
4243 * csu/Makefile [build-bounded] (extra-objs, install-lib):
4244 Move conditional stuff after place where condition is defined.
4246 * malloc/malloc.c (bp-checks.h): Add #include.
4247 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
4248 (_bin_at): Add unbounded version of bin_at.
4249 (IAV, chunk_alloc): Use unbounded _bin_at.
4250 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
4251 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
4252 Wrap BOUNDED_N around return value.
4253 (chunk_realloc): Adjust oldsize once.
4255 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
4256 (__ubp_memchr): Add correct decl.
4257 (_CHECK_STRING): Use __ubp_memchr.
4258 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
4259 New alias for unbounded-pointer __memchr.
4260 * sysdeps/i386/memchr.S: Likewise.
4261 * sysdeps/ia64/memchr.S: Likewise.
4262 * sysdeps/m68k/memchr.S: Likewise.
4263 * sysdeps/sparc/sparc32/memchr.S: Likewise.
4264 * sysdeps/sparc/sparc64/memchr.S: Likewise.
4265 * sysdeps/vax/memchr.s: Likewise.
4267 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
4268 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
4269 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
4270 * sysdeps/i386/i686/strtok.S: Likewise.
4271 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
4272 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
4274 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
4275 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
4277 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
4278 bounds of copy_result to mount_proc.
4280 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4282 * wctype/wctype.h (__wctrans_l): New declaration.
4283 * wctype/wctrans_l.c: New file.
4284 * wctype/Makefile (routines): Add wctrans_l.
4286 2000-07-26 Ulrich Drepper <drepper@redhat.com>
4288 * posix/fnmatch_loop.c: Fixes for use outside glibc.
4289 Patch by MacGyver <macgyver@tos.net>.
4291 2000-07-26 Andreas Jaeger <aj@suse.de>
4293 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
4294 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
4295 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
4297 * rt/tst-aio.c (test_file): Fix typo.
4298 * rt/tst-aio64.c (test_file): Likewise.
4300 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
4301 * rt/Makefile: Add rules to build and run tst-aio3.
4303 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
4304 it's not needed and confuses only.
4306 2000-07-26 Ulrich Drepper <drepper@redhat.com>
4308 * resolv/res_init.c: Add support for nameserver communication with
4310 * resolv/res_send.c: Likewise.
4311 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
4313 Patch by <venaas@nvg.ntnu.no>.
4315 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4317 * locale/programs/ld-ctype.c (wctype_table_get): New function.
4318 (wcwidth_table_get): New function.
4319 (wcwidth_table_add): Call it.
4320 (wctrans_table_get): New function.
4321 (wctrans_table_add): Call it.
4323 2000-07-25 Ulrich Drepper <drepper@redhat.com>
4325 * rt/lio_listio.c (lio_listio): Always disable individual
4327 * rt/Makefile: Add rules to build and run tst-aio2.
4328 * rt/tst-aio2.c: New file.
4330 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
4331 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
4333 2000-07-25 Mark Kettenis <kettenis@gnu.org>
4335 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
4336 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
4337 leading and trailing spaces from host, user and domain name.
4339 2000-07-25 Jes Sorensen <jes@linuxcare.com>
4341 * csu/defs.awk: Add support for need_endp.
4343 2000-07-25 Mark Kettenis <kettenis@gnu.org>
4345 * resolv/resolv.h: Remove __P from res_send_qhook and
4346 res_send_rhook typedefs.
4348 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4350 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
4352 2000-07-25 Ulrich Drepper <drepper@redhat.com>
4354 * iconv/gconv_builtin.h: Add WCHAR_T alias.
4356 2000-07-25 Mark Kettenis <kettenis@gnu.org>
4358 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
4359 calling thread, set the cancellation flag and return success
4362 2000-07-25 Ulrich Drepper <drepper@redhat.com>
4364 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
4365 * libio/tst-widetext.c: New file.
4366 * libio/tst-widetext.input: New file.
4368 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
4370 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
4371 empty external buffer correctly.
4373 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4375 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
4376 __STRING(entry) and not #entry.
4377 (_RTLD_EPILOGUE): Likewise.
4378 * sysdeps/mips/mips64/dl-machine.h: Likewise.
4380 2000-07-25 Andreas Jaeger <aj@suse.de>
4382 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
4383 according to changes in test program, run also with static only
4385 ($(objpfx)tst-printf.out): Likewise.
4387 * stdio-common/tst-unbputc.sh: Likewise.
4388 * stdio-common/tst-printf.sh: Likewise.
4390 2000-07-25 Ulrich Drepper <drepper@redhat.com>
4392 * libio/wfileops.c (_IO_wdo_write): Correct return value.
4394 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
4397 * libio/fileops.c: Pretty print.
4399 2000-07-23 Bruno Haible <haible@clisp.cons.org>
4401 * wctype/wchar-lookup.h: New file.
4402 * wctype/iswctype.c: Include "wchar-lookup.h".
4403 (__iswctype): Support alternate locale format with 3-level tables.
4404 * wctype/iswctype_l.c (__iswctype_l): Likewise.
4405 * wctype/towctrans.c (__towctrans): Likewise.
4406 * wctype/towctrans_l.c (__towctrans_l): Likewise.
4407 * wctype/wcfuncs.c: Include "wchar-lookup.h".
4408 (__ctype32_wctype, __ctype32_wctrans): Declare external.
4409 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
4410 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
4411 __iswxdigit, towlower, towupper): Support alternate locale format
4412 with 3-level tables.
4413 * wctype/wcextra.c (iswblank): Likewise.
4414 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
4415 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
4416 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
4417 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
4418 format with 3-level tables.
4419 * wctype/wcextra_l.c (__iswblank_l): Likewise.
4420 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
4421 format, return a 3-level table pointer.
4422 * wctype/wctype_l.c (__wctype_l): Likewise.
4423 * wctype/wctrans.c (wctrans): Likewise.
4424 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
4425 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
4426 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
4427 (iswctype): Remove macro definition.
4428 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
4429 (internal_wcwidth): Support alternate locale format with 3-level
4431 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
4433 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
4434 Define them as being type "word".
4435 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
4436 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
4437 __ctype32_width): New exported variables.
4438 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
4439 alternate locale format. Don't initialize __ctype_names and
4440 __ctype_width in the alternate locale format.
4441 * locale/programs/localedef.h (oldstyle_tables): New declaration.
4442 * locale/programs/localedef.c (oldstyle_tables): New variable.
4443 (OPT_OLDSTYLE): New macro.
4444 (options): Add --old-style option.
4445 (parse_opt): Handle --old-style option.
4446 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
4447 map_offset, class_3level, map_3level, width_3level members.
4448 (ctype_output): Support for alternate locale format: Computation of
4449 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
4450 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
4451 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
4452 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
4453 now contain both class and map tables.
4454 (struct wctype_table): New type.
4455 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
4457 (struct wcwidth_table): New type.
4458 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
4460 (struct wctrans_table): New type.
4461 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
4463 (allocate_arrays): Support for alternate locale format: Set
4464 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
4465 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
4466 to the first 256 characters. Compute ctype->map_3level. Set
4467 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
4468 instead of ctype->width.
4470 2000-07-24 Ulrich Drepper <drepper@redhat.com>
4472 * libio/iogetwline.c (_IO_getwline_info): Use wide character
4475 2000-07-24 Jakub Jelinek <jakub@redhat.com>
4477 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
4478 in wide characters, not bytes.
4479 * libio/tst_putwc.c (do_test): Add test for writing lots of data
4482 2000-07-22 Bruno Haible <haible@clisp.cons.org>
4484 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
4485 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
4486 LC_MEASUREMENT, LC_IDENTIFICATION.
4488 * locale/xlocale.h (struct __locale_struct): Increase size of
4490 * locale/duplocale.c (__duplocale): Copy newly added categories as
4492 * locale/freelocale.c (__freelocale): Free newly added categories.
4493 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
4494 If a base is given, use it, don't simply return it.
4496 2000-07-22 Bruno Haible <haible@clisp.cons.org>
4498 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
4499 variables, copied_key and copied_salt, instead of boolean variables.
4501 2000-07-24 Andreas Jaeger <aj@suse.de>
4503 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
4506 * grp/initgroups.c (initgroups_dyn_function): Renamed from
4507 initgroups_function, adopted prototype for change from 2000-07-23.
4508 (initgroups): Follow type change.
4510 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
4511 & PAGE_MASK case, reformat.
4513 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
4514 from stdin and setup environment.
4516 2000-07-24 Andreas Schwab <schwab@suse.de>
4518 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
4520 2000-07-23 Ulrich Drepper <drepper@redhat.com>
4522 * string/endian.h: Explain the _*_ENDIAN constant values a bit
4523 more. Patch by scarlet@mit.edu [PR libc/1799].
4525 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
4528 * argp/argp-parse.c (parser_finalize): Reverse order in which
4529 parsers are run for ARGP_KEY_END. [PR libc/1755].
4531 * grp/initgroups.c (initgroups): Don't limit the possible number
4532 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
4533 the setgroups call while the call fails and descrease the number
4534 of groups each round.
4535 The name of the initgroups function in the NSS modules changed.
4536 (compat_call): Adapt for dynamic resizing.
4537 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4538 Implement dynamic resizing.
4539 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4541 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
4542 * hesiod/Versions: Change exported interface name.
4543 * nis/Versions: Change exported interface name.
4545 2000-07-23 Ulrich Drepper <drepper@redhat.com>
4547 * locale/iso-639.def: Some errors corrected.
4548 Patch by Keld Simonsen.
4550 * include/limits.h: Update non-gcc portion.
4551 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4553 2000-07-22 Mark Kettenis <kettenis@gnu.org>
4555 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
4556 program's data space, reallocate only the space that was just
4557 deallocated to release its backing space.
4559 2000-07-23 Ulrich Drepper <drepper@redhat.com>
4561 * stdio-common/vfprintf.c (process_string_arg): For wide character
4562 version, handle precision also correctly.
4564 * nss/nss_files/files-hosts.c: Correct problem with three or more
4565 entries with the same name.
4567 * nss/nss_files/files-hosts.c: Implement multi handling.
4568 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
4570 2000-07-22 Ulrich Drepper <drepper@redhat.com>
4572 * nss/nss_files/files-parse.c: Don't pollute namespace by using
4575 * grp/Makefile: Change Makefiles and tests to run only when necessary.
4576 * malloc/Makefile: Likewise.
4577 * malloc/tst-mtrace.sh: Likewise.
4578 * posix/Makefile: Likewise.
4579 * posix/globtest.sh: Likewise.
4580 * posix/wordexp-tst.sh: Likewise.
4581 * string/Makefile: Likewise.
4583 2000-07-22 Mark Kettenis <kettenis@gnu.org>
4585 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
4586 size instead of LC_ALL to take into account the new locale
4589 2000-07-22 Ulrich Drepper <drepper@redhat.com>
4591 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
4592 remainders of hash table.
4593 * locale/categories.def: Remove remainders of transliteration
4595 * locale/langinfo.h: Likewise.
4596 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
4597 transliteration tables.
4599 * locale/gen-translit.pl: New file.
4600 * locale/C-translit.h.in: New file.
4601 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
4602 data pointers with data from this file.
4603 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
4604 and gen-translit.pl.
4605 Add rule to generate C-translit.h.
4606 * intl/tst-translit.c (main): Update for now performed
4609 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
4610 (it's no input error).
4611 * stdio-common/tstscanf.c: Add test case for format %f with input --.
4612 * stdio-common/scanf12.c: Correct expected result for first scanf.
4614 * stdio-common/vfprintf.c (process_string_arg): Correct handling
4615 of multibyte character strings in %s format with precision.
4617 2000-07-21 Ulrich Drepper <drepper@redhat.com>
4619 * locale/programs/ld-collate.c (collate_read): Allow collating
4620 symbols and elements be named in reorder-after instructions.
4621 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
4623 * locale/programs/ld-collate.c (handle_ellipsis): Test for
4624 duplication with generated name, not the name of the first
4626 Patch by Yong Li <yong.li@asu.edu>.
4628 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
4629 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4631 2000-07-21 Wolfram Gloger <wg@malloc.de>
4633 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
4634 allocations only if a non-main arena cannot be extended.
4636 2000-07-21 Ulrich Drepper <drepper@redhat.com>
4638 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
4639 in DF_1_NODEFLIB handling.
4641 2000-07-21 Andreas Jaeger <aj@suse.de>
4643 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
4646 * libio/fwide.c: Include <wchar.h> for prototype.
4648 2000-07-21 Greg McGary <greg@mcgary.org>
4650 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
4651 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
4652 Define in terms of chunk_at_offset.
4653 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
4654 (next_bin, prev_bin): offset by size of real array elements.
4655 (chunk_align): Make `m' a scalar, since that's how it's used.
4657 2000-07-21 Greg McGary <greg@mcgary.org>
4659 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
4661 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
4662 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
4663 Wrap bounds around argv & envp and each of their string members.
4664 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
4665 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
4666 symbol in BP_SYM (). Discard bounds of address arg.
4667 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
4668 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
4669 Discard bounds on address arg, add bounds to return value.
4671 2000-07-20 Ulrich Drepper <drepper@redhat.com>
4673 * elf/Makefile (tests): Add filter. Add rules to generate filter.
4674 * elf/filter.c: New file.
4675 * elf/filtmod1.c: New file.
4676 * elf/filtmod2.c: New file.
4678 * elf/rtld.c: Define _dl_bind_not variable.
4679 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
4680 * elf/dl-support.c: Likewise.
4681 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
4682 * elf/dl-runtime.c (fixup): Don't remember looked up value if
4684 (profile_fixup): Likewise.
4686 * libio/Makefile (routines): Add fwide.
4687 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
4688 fwide now. Internal calls to _IO_fwide must do locking themselves
4689 or don't need locking.
4690 * libio/fwide.c: New file.
4692 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
4694 * elf/Makefile: Add no modules for nodelete test.
4695 * elf/nodelmod3.c: New file.
4696 * elf/nodelmod4.c: New file.
4697 * elf/nodelete.c: Also test case where dependency of dlopen() object
4700 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
4701 * elf/nodlopen.c: New file.
4702 * elf/nodlopenmod.c: New file.
4703 * include/dlfcn.h: Define __RTLD_DLOPEN.
4704 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
4705 and this is a dlopen() call, do not load the binary.
4706 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
4707 * dlfcn/dlopenold.c: Likewise.
4708 * configure.in: Add test for -z nodelete option.
4709 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
4711 2000-07-20 Mark Kettenis <kettenis@gnu.org>
4713 Make Hesiod NSS module thread-safe.
4715 * hesiod/README.hesiod: Update.
4717 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
4718 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
4719 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
4720 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
4722 * hesiod/nss_hesiod/hesiod-init.c: New file.
4723 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
4724 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
4725 * hesiod/nss_hesiod/nss_hesiod.h: New file.
4726 * hesiod/nss_hesiod/hesiod-service.c
4727 (_nss_hesiod_getservbyport_r): New function. Provide support for
4728 looking up services by port number.
4729 * hesiod/nss_hesiod/hesiod-proto.c: New file.
4731 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
4732 * hesiod/hesiod.h: Likewise.
4733 * hesiod/hesiod_p.h: Likewise.
4735 2000-07-20 Mark Kettenis <kettenis@gnu.org>
4737 Fix problems with `struct __res_state' getting too big.
4738 * resolv/resolv.h (struct __sockaddr_in): New definition.
4739 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
4740 the private parts of the structure to save some space.
4741 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
4742 (struct sockaddr_in *) in call to sock_eq.
4743 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
4745 2000-07-20 Ulrich Drepper <drepper@redhat.com>
4747 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
4748 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
4750 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
4751 to _dl_map_object. Return immediately if no object loaded.
4752 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
4753 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
4754 if it exists into l_flags_1 word.
4755 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
4756 it to determine whether loading is wanted or not.
4757 (_dl_map_object): Likewise.
4758 Call _dl_map_object_from_fd with new parameter.
4759 * sysdeps/generic/ldsodefs.h: Update prototype.
4760 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
4761 * elf/rtld.c: Likewise.
4762 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4763 * elf/Makefile (tests): Add noload. Add rules to generate noload.
4764 * elf/noload.c: New file.
4765 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
4766 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
4767 * sysdeps/mips/bits/dlfcn.h: Likewise.
4768 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
4769 (tests-nodelete-yes): Define.
4770 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
4771 Add rules to build nodelete and modules.
4772 * elf/nodelete.c: New file.
4773 * elf/nodelmod1.c: New file.
4774 * elf/nodelmod2.c: New file.
4775 * configure.in: Add test for -z nodelete option.
4776 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
4778 * libio/Makefile (tests): Add tst_wprintf2.
4779 (tst_wprintf2-ARGS): Define.
4780 * libio/tst_wprintf2.c: New file.
4781 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
4783 * libio/wfiledoalloc.c: Only allocate external buffer if this
4784 hasn't happened yet.
4786 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
4787 something in the buffer. gconv call can write up to end of the
4788 buffer, not only _IO_write_end.
4789 (_IO_wfile_overflow): Allocate also external buffer.
4791 2000-07-19 Ulrich Drepper <drepper@redhat.com>
4793 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
4794 strings with precision in vfwprintf correctly.
4795 * stdio-common/vfprintf.c: Fix completely broken handling of
4796 unbuffered wide character streams.
4797 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
4799 * resolv/Makefile (distribute): Add README.
4801 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
4803 2000-07-18 Mark Kettenis <kettenis@gnu.org>
4805 Update resolver code to BIND 8.2.3-T5B.
4807 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
4809 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
4810 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
4812 * resolv/Banner: BIND-8.2.3-T5B.
4814 * resolv/base64.c: Update from BIND 8.2.3-T5B.
4815 * resolv/herror.c: Likewise.
4816 * resolv/inet_addr.c: Likewise.
4817 * resolv/inet_net_ntop.c: Likewise.
4818 * resolv/inet_net_pton.c: Likewise.
4819 * resolv/inet_neta.c: Likewise.
4820 * resolv/inet_ntop.c: Likewise.
4821 * resolv/nsap_addr.c: Likewise.
4822 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
4823 IPv6 addresses (ISC bug #520).
4825 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
4826 * resolv/ns_parse.c: Likewise.
4827 * resolv/ns_netint.c: Likewise.
4828 * resolv/ns_samedomain.c: Likewise.
4829 * resolv/ns_ttl.c: Likewise.
4830 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
4831 RCS ID in object file.
4833 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
4834 * resolv/res_mkquery.c: Likewise.
4835 * resolv/res_query.c: Likewise.
4836 * resolv/res_init.c: Likewise.
4837 (res_setoptions): Mark internal.
4838 * resolv/res_send.c: Likewise.
4839 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
4840 by using poll instead.
4841 * resolv/res_comp.c: Likewise.
4842 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
4843 weak alias for __dn_expand.
4844 * resolv/res_data.c: Likewise.
4845 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
4846 in _res.options. Avoids a potential security risk by avoiding a
4848 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
4849 res_mkquery, res_query, res_querydomain adn res_search weak
4850 aliases for __res_mkquery, __res_query, __res_querydomain and
4852 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
4853 instead to avoid close(0).
4854 (res_init): Always use the static resolver context.
4855 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
4856 alias for __res_init.
4858 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
4859 RES_SET_H_ERRNO and accompanying comment to...
4860 * include/resolv.h: ... here.
4862 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
4863 * resolv/arpa/nameser_compat.h: Likewise.
4865 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4867 * nss/makedb.c (main): Compare result of load_db with
4868 NSS_STATUS_SUCCESS and not 0.
4869 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
4871 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
4873 2000-07-18 Greg McGary <greg@mcgary.org>
4875 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
4876 (EXTEND_BUFFER): Use it.
4878 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4880 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
4881 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
4882 __builtin_return_address.
4883 * dlfcn/dlopenold.c: Likewise.
4884 * dlfcn/dlsym.c: Likewise.
4885 * dlfcn/dlvsym.c: Likewise.
4886 * elf/dl-profstub.c: Likewise.
4887 * malloc/malloc.c: Likewise.
4888 * sysdeps/generic/machine-gmon.h: Likewise.
4889 Based on a patch by schwidefsky@de.ibm.com.
4891 2000-07-18 Andreas Jaeger <aj@suse.de>
4893 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
4894 NULL to elf_machine_fixup_plt t argument to silence GCC.
4896 * include/string.h: Add prototype for __memchr.
4898 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
4900 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
4903 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4905 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
4907 * locale/C-ctype.c: Add initializers for gap elements.
4908 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
4911 2000-07-16 Ulrich Drepper <drepper@redhat.com>
4913 * nscd/nscd.c (print_version): Update copyright year.
4915 2000-07-17 Greg McGary <greg@mcgary.org>
4917 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
4918 keyletters F, I, S, W. Remove unused keyletter V. Surround
4919 signature argnames with angle-brackets for use as word delimiters,
4920 and to induce syntax errors for any args not handled. Split
4921 multi-echo echoes and comment each stage.
4922 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
4923 * sysdeps/unix/inet/syscalls.list: Likewise.
4924 * sysdeps/unix/mman/syscalls.list: Likewise.
4925 * sysdeps/unix/syscalls.list: Likewise.
4926 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4927 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4928 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4929 * sysdeps/unix/sysv/syscalls.list: Likewise.
4930 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
4932 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
4933 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
4934 qualifiers. Don't check NULL-terminator of argv & envp.
4935 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
4936 unbounded pointer type in word-size assertion.
4937 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
4938 cases to stifle warnings.
4940 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
4942 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4944 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
4945 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
4948 * Makerules (o-objects): Supplement with $(o-objects$o).
4949 * string/Makefile (o-objects.ob): Add variable to pull
4950 unbounded versions of memcpy, memset and memchr into libc_b.
4952 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
4953 rather than non-existent __ubp_memchr.
4954 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
4955 (_CHECK_STRING, _CHECK_N): New macros.
4956 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
4957 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
4958 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
4959 Add weak alias "memchr".
4960 * sysdeps/generic/memchr.c: Likewise.
4961 * sysdeps/i386/memchr.S: Likewise.
4962 * sysdeps/ia64/memchr.S: Likewise.
4963 * sysdeps/m68k/memchr.S: Likewise.
4964 * sysdeps/sparc/sparc32/memchr.S: Likewise.
4965 * sysdeps/sparc/sparc64/memchr.S: Likewise.
4966 * sysdeps/vax/memchr.s: Likewise.
4968 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
4970 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
4971 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
4972 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
4973 __BOUNDED_POINTERS__.
4974 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
4975 for __BOUNDED_POINTERS__.
4977 2000-07-17 Bruno Haible <haible@clisp.cons.org>
4979 * iconv/gconv_open.c (__gconv_open): Initialize the __data
4980 field of struct __gconv_trans_data differently. Don't pass NULL to
4981 trans_init_fct. Simplify list append operation.
4983 2000-07-14 Bruno Haible <haible@clisp.cons.org>
4985 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
4986 not only those having tsearch.
4988 2000-07-17 Ulrich Drepper <drepper@redhat.com>
4990 * locale/langinfo.h: Add placeholder values in enum for removed
4993 2000-07-17 Jakub Jelinek <jakub@redhat.com>
4995 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
4996 chain if the PHDR check fails.
4998 2000-07-17 Mark Kettenis <kettenis@gnu.org>
5000 * nss/getent.c (print_hosts): Make sure we always print a space
5001 between numeric addresses and hostnames.
5003 2000-07-17 Wolfram Gloger <wg@malloc.de>
5005 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
5006 i.e. if n_mmaps_max>0.
5008 2000-07-16 Mark Kettenis <kettenis@gnu.org>
5010 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
5011 values to remove possible clash with other AI_* constants.
5012 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
5013 hexadecimal constants to stress the fact they're in fact
5016 2000-07-15 Mark Kettenis <kettenis@gnu.org>
5018 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
5019 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
5020 instead of res_init.
5022 2000-07-16 Ulrich Drepper <drepper@redhat.com>
5024 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
5025 parameters of memset calls to avoid warnings.
5027 2000-07-15 Ulrich Drepper <drepper@redhat.com>
5029 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
5032 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
5033 Patch by Greg McGary <greg@mcgary.org>.
5035 * io/Makefile (tests): Add tst-getcwd.
5036 * io/tst-getcwd.c: New file.
5038 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
5040 2000-07-15 Jakub Jelinek <jakub@redhat.com>
5042 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
5045 2000-07-13 Jakub Jelinek <jakub@redhat.com>
5047 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
5048 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
5050 2000-07-12 H.J. Lu <hjl@gnu.org>
5052 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
5054 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
5055 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
5056 (sysdep-routines): Add clone2.
5057 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
5059 2000-07-13 Jes Sorensen <jes@linuxcare.com>
5061 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
5062 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
5064 2000-06-05 David Mosberger <davidm@hpl.hp.com>
5066 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
5067 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
5068 Change type of si_band from "int" to "long".
5069 (si_imm) [USE_GNU]: Define
5070 (si_isr) [USE_GNU]: Likewise.
5071 (ILL_BREAK) [USE_GNU]: Likewise.
5072 (FPE_DECOVF) [USE_GNU]: Likewise.
5073 (FPE_DECDIV) [USE_GNU]: Likewise.
5074 (FPE_DECERR) [USE_GNU]: Likewise.
5075 (FPE_INVASC) [USE_GNU]: Likewise.
5076 (FPE_INVDEC) [USE_GNU]: Likewise.
5077 (TRAP_BRANCH) [USE_GNU]: Likewise.
5078 (TRAP_HWBKPT) [USE_GNU]: Likewise.
5080 2000-07-06 Jes Sorensen <jes@linuxcare.com>
5082 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
5083 bits/sigcontext as struct mcontext does not depend on it.
5085 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
5087 2000-07-04 Jes Sorensen <jes@linuxcare.com>
5089 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
5091 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
5093 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
5095 2000-06-22 Jes Sorensen <jes@linuxcare.com>
5097 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
5099 2000-07-15 Ulrich Drepper <drepper@redhat.com>
5101 * intl/Makefile (test-srcs): Add tst-translit.
5103 Add rules to build and run tst-translit.
5104 * intl/tst-translit.c: New file.
5105 * intl/tst-translit.sh: New file.
5106 * intl/translit.po: New file.
5108 2000-07-14 Ulrich Drepper <drepper@redhat.com>
5110 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
5111 transliteration function did its job, continue, don't stop.
5113 * iconvdata/iso646.c: Little optimizations in body for conversion
5116 2000-07-14 Mark Kettenis <kettenis@gnu.org>
5118 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
5120 2000-07-14 Mark Kettenis <kettenis@gnu.org>
5122 * configure.in: Check for pwd binary.
5123 * config.make.in: Add PWD_P to be subsituted.
5124 * Makerules: Use $(PWD_P) instead of /bin/pwd.
5126 2000-07-14 Ulrich Drepper <drepper@redhat.com>
5128 * iconvdata/Makefile (modules): Add GB18030.
5129 (distribute): Add gb18030.c.
5130 * iconvdata/gconv-modules: Add entries for GB18030 module.
5131 * iconvdata/gb18030.c: New file.
5132 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
5135 2000-07-13 Andreas Jaeger <aj@suse.de>
5137 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
5140 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
5141 * inet/getnetgrent.c (free_mem): Likewise.
5142 * misc/mntent.c (free_mem): Likewise.
5143 * nss/getXXbyYY.c (free_mem): Likewise.
5144 * nss/getXXent.c (free_mem): Likewise.
5145 * pwd/fgetpwent.c (free_mem): Likewise.
5146 * shadow/fgetspent.c (free_mem): Likewise.
5148 2000-07-14 Ulrich Drepper <drepper@redhat.com>
5150 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
5151 64-bit architecture correctly [PR libc/1794].
5153 2000-07-13 Ulrich Drepper <drepper@redhat.com>
5155 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
5156 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
5157 report that we are out of memory.
5158 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5159 * elf/dl-libc.c (dlerror_run): Likewise.
5160 * elf/dl-open.c (_dl_open): Likewise.
5161 * elf/rtld.c (dl_main): Likewise.
5162 * elf/dl-error.c: Define _dl_out_of_memory.
5163 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
5165 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
5168 * dlfcn/dlerror.c (free_key_mem): Also free error string.
5170 * iconv/loop.c: Fix comment.
5172 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
5174 2000-07-13 Andreas Jaeger <aj@suse.de>
5176 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
5177 getcwd (NULL, size) with size > 0.
5178 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
5180 2000-07-13 Andreas Jaeger <aj@suse.de>
5182 * posix/Makefile: Remove build rules for libposix.
5184 2000-07-13 Andreas Schwab <schwab@suse.de>
5186 * sysdeps/generic/glob.c (glob): Fix memory leak.
5187 [SHELL]: Remove reference to undefined variable `files'.
5190 2000-07-13 Andreas Jaeger <aj@suse.de>
5192 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
5195 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
5196 memory if it was allocated.
5198 2000-07-12 Ulrich Drepper <drepper@redhat.com>
5200 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
5203 * iconv/gconv_open.c (__gconv_open): Reapply
5204 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5206 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
5208 * iconv/gconv_open.c: Undo last two changes for now. They break
5211 2000-07-12 Andreas Jaeger <aj@suse.de>
5213 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
5215 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
5216 (CFLAGS-dl-cache.c): Likewise.
5217 (CFLAGS-ldconfig.c): Added, passes directory locations.
5219 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
5221 * elf/ldconfig.c (LD_SO_CONF): Likewise.
5222 (main): Use configured LIBDIR and SLIBDIR.
5224 2000-07-11 Jakub Jelinek <jakub@redhat.com>
5226 * math/bits/cmathcalls.h (cimag): Add __THROW.
5227 (creal, conj): Likewise.
5228 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
5231 2000-07-12 H.J. Lu <hjl@gnu.org>
5233 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
5234 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
5236 2000-07-12 Ulrich Drepper <drepper@redhat.com>
5238 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
5241 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5243 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
5245 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5247 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
5250 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5252 * iconv/gconv_open.c (__gconv_open): Initialize
5253 result->__steps[cnt].__data.
5255 2000-07-12 Mark Kettenis <kettenis@gnu.org>
5257 * nss/getent.c (services_keys): Pass port number in network byte
5258 order in call to getservbyport.
5260 2000-07-11 Andreas Jaeger <aj@suse.de>
5262 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
5264 * intl/Makefile (do-gettext-test): Likewise.
5265 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
5267 2000-07-11 Andreas Schwab <schwab@suse.de>
5269 * Makeconfig (run-program-prefix): New rule.
5270 (built-program-cmd): Use run-program-prefix.
5272 2000-07-12 Ulrich Drepper <drepper@redhat.com>
5274 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
5275 and NOEXPR unconditionally available.
5277 2000-07-12 Greg McGary <greg@mcgary.org>
5279 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
5280 * sysdeps/posix/open64.c: Likewise.
5281 * sysdeps/generic/fegetenv.c: Likewise.
5282 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
5283 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5284 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5285 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
5286 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
5287 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
5289 2000-07-11 Greg McGary <greg@mcgary.org>
5291 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
5292 Add extra level of macro expansion.
5293 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
5294 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
5295 is available at the time `select' prototype is declared.
5296 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
5297 Collect non-versioned weak aliases. Consider only non-versioned
5298 aliases for the user-visible systemcall name. Do checks inline with
5299 call to primitive system call.
5300 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
5301 stand-alone bounds checks to suppress unused value warnings.
5302 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
5304 2000-07-10 Mark Kettenis <kettenis@gnu.org>
5306 * sysdeps/mach/hurd/check_fds.c: New file. Implements
5307 file descriptor checking in SUID programs for the Hurd.
5309 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
5310 res_hostalias instead of __hostalias for thread-safety.
5312 2000-07-09 Mark Kettenis <kettenis@gnu.org>
5314 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
5315 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
5317 2000-07-10 Ulrich Drepper <drepper@redhat.com>
5319 * include/features.h: Include ISO C99 features if the compiler used
5320 is an ISO C99 compiler.
5321 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
5323 2000-07-08 Mark Kettenis <kettenis@gnu.org>
5325 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
5327 2000-07-10 Andreas Jaeger <aj@suse.de>
5329 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
5330 it's overridden by libpthreads.
5331 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5332 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5333 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5334 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5335 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5337 * malloc/Makefile: Run tst-mtrace only with shared libs.
5339 * stdio-common/Makefile: Run unbputc and tst-printf tests only
5342 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5344 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
5345 that gpreg really points to the GOT section of the calling object.
5346 Scan all PT_LOAD segments of objects for stub_pc, instead of only
5347 checking a start address of first one.
5349 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
5352 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
5354 2000-07-10 Andreas Jaeger <aj@suse.de>
5356 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
5357 (string_alias->strong_alias).
5359 2000-07-08 Mark Kettenis <kettenis@gnu.org>
5361 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
5363 2000-07-07 Greg McGary <greg@mcgary.org>
5365 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
5366 have no names without leading underscores.
5368 2000-07-07 Ulrich Drepper <drepper@redhat.com>
5370 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
5373 * stdio-common/Makefile (tests): Remove tst-printf here...
5374 (tests-srcs): ...and add it here.
5375 (distribute): Add tst-unbputc.sh and tst-printf.sh.
5376 Add rules to run tst-printf.sh.
5377 * stdio-common/tst-printf.c: Move code around so that there is really
5378 no further output where it's stated.
5379 * stdio-common/tst-printf.sh: New file.
5381 2000-07-07 Mark Kettenis <kettenis@gnu.org>
5383 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
5384 (do_write): Renamed from pwrite.
5385 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
5386 `struct _IO_cookie_file'.
5388 2000-07-07 Ulrich Drepper <drepper@redhat.com>
5390 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
5392 * malloc/tst-mtrace.sh: Run mtrace script.
5394 2000-07-07 Greg McGary <greg@mcgary.org>
5396 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
5397 Move all three components of a bounded pointer.
5399 2000-07-07 Ulrich Drepper <drepper@redhat.com>
5401 * locale/programs/locale.c (write_locales): Don't simply add all
5402 directories found in the subdir, test whether at least the
5403 LC_CTYPE file is in there.
5405 2000-07-06 Ulrich Drepper <drepper@redhat.com>
5407 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
5408 * iconvdata/euc-kr.c: Likewise.
5410 * stdio-common/vfprintf.c (process_string_arg): Check result of
5411 wcrtomb call and bail out if it failed.
5413 * malloc/Makefile (test-srcs): Add tst-mtrace.
5414 (distribute): Add tst-mtrace.sh.
5415 Add rule to run tst-mtrace.sh.
5416 * malloc/tst-mtrace.c: New file.
5417 * malloc/tst-mtrace.sh: New file.
5419 * include/signal.h: Declare __libc_sigaction.
5420 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
5421 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
5422 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5423 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5424 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5425 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5426 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5428 * configure.in: Fix CFLAGS-memprofstat.c definition after
5430 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
5432 2000-07-06 Jakub Jelinek <jakub@redhat.com>
5434 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
5435 instead of NULL to elf_machine_fixup_plt t argument.
5436 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5437 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
5440 2000-07-06 Andreas Jaeger <aj@suse.de>
5442 * crypt/Makefile (LDLIBS-cert): Removed.
5443 (LDLIBS-md5c-test): Removed.
5444 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
5445 ($(objpfx)md5c-test): Likewise for md5c-test.out.
5447 2000-07-06 Andreas Jaeger <aj@suse.de>
5449 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
5450 of the proc system is "proc".
5452 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
5453 thread library for static programs.
5455 2000-07-06 Greg McGary <greg@mcgary.org>
5457 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
5459 * sysdeps/generic/strcpy.c: Add bounds checks.
5460 * sysdeps/unix/fxstat.c: Likewise.
5461 * sysdeps/unix/xstat.c: Likewise.
5462 * sysdeps/unix/common/lxstat.c: Likewise.
5463 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5464 * sysdeps/unix/sysv/linux/execve.c: Likewise.
5465 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
5466 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
5467 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5468 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5469 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
5470 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
5471 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
5472 * sysdeps/unix/sysv/linux/poll.c: Likewise.
5473 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5474 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5475 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
5476 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5477 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5478 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5479 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5480 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5481 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5482 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
5483 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5484 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
5485 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5486 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
5487 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
5488 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
5489 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5490 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
5491 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
5492 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
5493 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5494 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
5495 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5496 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5497 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5498 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5499 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5500 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
5501 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5502 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5503 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5504 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5505 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5506 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5507 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
5508 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
5509 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5510 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
5511 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
5512 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
5513 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
5514 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
5515 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5516 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5517 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5518 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5519 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
5520 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
5521 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
5522 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
5523 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5524 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
5525 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
5526 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
5528 * string/endian.h (__LONG_LONG_PAIR): New macro.
5529 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
5530 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5531 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5532 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5533 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5534 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
5535 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5536 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5537 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5538 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5539 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5540 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
5542 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
5544 2000-07-06 Andreas Jaeger <aj@suse.de>
5546 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
5549 * math/test-fpucw.c: Include <stdio.h> for printf.
5551 2000-07-05 Greg McGary <greg@mcgary.org>
5553 * sysdeps/generic/bp-checks.h: New file.
5554 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
5555 with list of #include files.
5556 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
5557 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
5558 Don't generate BP thunk if `V' appears in signature.
5559 Generate thunks with complete bounds checks.
5560 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
5561 * sysdeps/unix/inet/syscalls.list: Likewise.
5562 * sysdeps/unix/mman/syscalls.list: Likewise.
5563 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5564 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5565 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5566 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
5568 2000-07-05 Ulrich Drepper <drepper@redhat.com>
5570 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
5571 result. Search first in /etc/mtab (proc/mounts would be stupid).
5572 If mount not in the file fall back on /proc.
5574 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
5575 string got copied in.
5576 Patch by Solar Designer <solar@false.com>.
5578 2000-07-05 Andreas Jaeger <aj@suse.de>
5580 * manual/install.texi (Installation): Update information about
5582 (Configuring and compiling): Update for glibc 2.2.
5584 2000-07-04 Andreas Jaeger <aj@suse.de>
5586 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
5587 (_FPU_IEEE): Likewise.
5589 * math/Makefile (tests): Add test-fpucw.
5591 * math/test-fpucw.c (main): New file.
5593 2000-07-05 Ulrich Drepper <drepper@redhat.com>
5595 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
5597 * locale/programs/ld-collate.c (collate_output): Also write out the
5598 collation sequence values and the wide character string for the
5599 collation symbol table.
5601 * posix/fnmatch.c: Include "../locale/elem-hash.h".
5602 * posix/fnmatch_loop.c: Implement collating symbol handling.
5603 * posix/tst-fnmatch.input: Add more tests, especially for collating
5606 * posix/regex.c: Fix comment.
5608 2000-07-05 Andreas Jaeger <aj@suse.de>
5610 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
5611 (_FPU_GETCW): Remove extra colon.
5612 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5614 * posix/fnmatch_loop.c (FCT): Only declare len if
5615 !WIDE_CHAR_VERSION to silence GCC.
5617 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
5619 * sysdeps/generic/strchrnul.c: Likewise.
5620 * sysdeps/generic/strlen.c: Likewise.
5621 * sysdeps/generic/strchr.c: Likewise.
5622 * sysdeps/generic/memchr.c: Likewise.
5624 2000-07-04 Ulrich Drepper <drepper@redhat.com>
5626 * posix/fnmatch_loop.c: Implement equivalence class handling.
5627 * posix/tst-fnmatch.input: Add tests for equivalence class
5630 * posix/fnmatch_loop.c: Improve performance for single-byte
5631 character sets by not using btowc.
5633 * posix/tst-fnmatch.input: Add tests for locale dependent
5635 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
5637 * posix/tst-fnmatch.input: Add more test cases.
5639 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
5640 are not aligned to alignof(md5_uint32) do it before calling
5641 __md5_process_bytes.
5642 * crypt/md5.c: Make sure buffers are aligned.
5643 * crypt/md5.h: Likewise.
5644 Reported by Solar Designer <solar@false.com>.
5646 * crypt/Makefile: Add dependencies for test programs.
5648 * Rules: Define LC_ALL=C in environments of all programs we run.
5650 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
5652 2000-07-03 H.J. Lu <hjl@gnu.org>
5654 * locale/programs/ld-ctype.c (ctype_output): The size of iov
5655 is 2 + elem + offset, not 2 + elem + offset + 2.
5657 2000-07-04 Ulrich Drepper <drepper@redhat.com>
5659 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
5661 * posix/Makefile (tests): Add tst-fnmatch.
5662 (tst-fnmatch-ENV): Define.
5663 * posix/tst-fnmatch.c: New file.
5664 * posix/tst-fnmatch.sh: New file.
5666 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
5668 * locale/programs/charmap.c (charmap_read): Prepend
5669 the condition filename == NULL.
5671 2000-07-03 Greg McGary <greg@mcgary.org>
5673 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
5675 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
5676 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
5678 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
5679 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
5680 (FILEBUF_LITERAL): Add cast for CHAIN init.
5681 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
5682 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
5683 Revert type of `fp' to _IO_FILE*.
5684 (_IO_iter_file): Remove cast.
5685 (_IO_iter_next): Elide intermediate member reference.
5687 * sysdeps/powerpc/strchr.S: Check bounds.
5688 Wrap extern symbols in BP_SYM ().
5690 2000-07-03 Andreas Jaeger <aj@suse.de>
5692 * dlfcn/Makefile (generated): New.
5694 2000-07-03 Ulrich Drepper <drepper@redhat.com>
5696 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
5697 (__uflow): Likewise.
5698 (__underflow): Likewise.
5699 * libio/wgenops.c (__wunderflow): Likewise.
5700 * stdio-common/tst-unbputc.c: New file.
5701 * stdio-common/tst-unbputc.sh: New file.
5702 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
5704 * po/en_GB.po: New file.
5705 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
5707 2000-07-01 Andreas Jaeger <aj@suse.de>
5709 * intl/Makefile (generated-dirs): New.
5711 * elf/Makefile (generated): trusted-dirs.h is always generated,
5712 move out of build-shared condition.
5713 (generated): Merge the two entries for build-shared.
5715 2000-07-01 Ulrich Drepper <drepper@redhat.com>
5717 * debug/Makefile (distribute): Add xtrace.sh.
5719 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5721 * version.h (VERSION): Bump to 2.1.91.
5723 * configure.in: Update warning comment. glibc should not be
5726 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
5727 ioperm.c, sys/procfs.h, and sys/io.h.
5729 * sysdeps/powerpc/Dist: Add bp-asm.h.
5731 * assert/Depend: Add localedata.
5732 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
5733 (test-assert-perr-ENV): New. Define LANGUAGE=C.
5735 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
5736 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
5737 relocation address to prevent unaligned trap.
5738 Suggested by Richard Henderson <rth@cygnus.com>.
5740 2000-06-30 Jakub Jelinek <jakub@redhat.com>
5742 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
5743 if redirecting and either redirection is done using defines or
5746 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5748 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
5749 generated expressions.
5750 Patch by Darren McClelland <dmcclell@zetec.com>.
5752 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
5753 since zic uses setlocale and gettext but we cannot make it use the
5754 new locale data since zic calls a shell which might not use the
5757 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
5758 handling the internation currency symbol. POSIX says that the
5759 fourth character is used to separate the currency symbol from the
5760 value. Therefore it does not have to be printed. But we cannot
5761 remove the space if the currency symbol is printed before the
5762 number since this is what many locales expect.
5764 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
5765 whether this information is available.
5767 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
5768 buffers in case the translation is too large. Remember allocated
5769 memory blocks in a list.
5770 (free_mem): Free memory for translations.
5772 * intl/tst-gettext.c: Use correct locale. Improve error messages.
5774 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
5775 information is available set the string length to zero.
5777 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
5779 2000-06-30 Greg McGary <greg@mcgary.org>
5781 * sysdeps/powerpc/bp-asm.h: New file.
5782 * sysdeps/powerpc/__longjmp.S: Check bounds.
5783 Wrap extern symbols in BP_SYM ().
5784 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
5785 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
5786 * sysdeps/powerpc/setjmp.S: Likewise.
5787 * sysdeps/powerpc/add_n.S: Likewise.
5788 * sysdeps/powerpc/addmul_1.S: Likewise.
5789 * sysdeps/powerpc/lshift.S: Likewise.
5790 * sysdeps/powerpc/rshift.S: Likewise.
5791 * sysdeps/powerpc/mul_1.S: Likewise.
5792 * sysdeps/powerpc/sub_n.S: Likewise.
5793 * sysdeps/powerpc/submul_1.S: Likewise.
5794 * sysdeps/powerpc/strlen.S: Likewise.
5795 * sysdeps/powerpc/memset.S: Likewise.
5796 * sysdeps/powerpc/stpcpy.S: Likewise.
5797 * sysdeps/powerpc/strcmp.S: Likewise.
5798 * sysdeps/powerpc/strcpy.S: Likewise.
5799 * sysdeps/powerpc/elf/bzero.S: Likewise.
5801 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
5802 Line up operands column with tabs.
5804 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5806 * elf/Makefile (LDFLAGS-origtest): Actually add it.
5808 * sysdeps/ia64/htonl.S: New file.
5809 * sysdeps/ia64/htons.S: New file.
5810 * sysdeps/ia64/memcpy.S: Replace with version which does not use
5811 floating point registers.
5812 Patches by Dan Pop <Dan.Pop@cern.ch>.
5814 2000-06-30 Andreas Jaeger <aj@suse.de>
5816 * posix/Makefile (tests): tst-exec and tst-spawn only work with
5819 * io/Makefile (CFLAGS-test-lfs.c): New.
5820 (tests): Add test-lfs.
5822 * io/test-lfs.c: New file.
5824 2000-06-30 Jakub Jelinek <jakub@redhat.com>
5826 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
5829 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
5831 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
5833 2000-06-29 Jes Sorensen <jes@linuxcare.com>
5835 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
5836 alias to the fstatfs call.
5838 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
5839 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
5841 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
5842 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
5844 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
5845 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
5846 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
5847 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
5849 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
5850 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
5852 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
5853 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
5855 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
5856 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
5858 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
5860 2000-06-29 Andreas Jaeger <aj@suse.de>
5862 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
5864 (print_err_message): Likewise.
5865 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
5867 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5869 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
5870 used as words is properly aligned.
5872 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
5875 2000-06-29 Greg McGary <greg@mcgary.org>
5877 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
5878 * sysdeps/unix/make-syscalls.sh: Handle signatures of
5879 length 7..9, just in case...
5880 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
5882 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
5883 (POP_ERRNO_LOCATION_RETURN): Fold insns.
5884 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
5885 (PUSH_SIGNAL_MASK): New macro.
5886 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
5887 LEAVE is unnecessary. Check bounds of jmp_buf.
5888 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
5889 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
5890 immediately before tail-call.
5891 * sysdeps/i386/setjmp.S: Likewise.
5892 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5893 * sysdeps/i386/bsd-setjmp.S: Likewise.
5895 2000-06-29 Jakub Jelinek <jakub@redhat.com>
5897 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
5899 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
5900 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
5901 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
5902 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5903 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
5904 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
5905 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
5906 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
5908 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5910 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
5911 we later need to calling free().
5912 Patch by Matt Wilson <msw@redhat.com>.
5914 * stdio-common/tst-printf.c: Add test for above problem.
5916 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
5918 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
5919 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
5921 2000-06-28 Jes Sorensen <jes@linuxcare.com>
5923 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
5924 prototype for abs().
5925 * sysdeps/ieee754/flt-32/s_exp2f.c: Likewise.
5927 2000-06-23 Andreas Jaeger <aj@suse.de>
5929 * config.h.in: Don't use regparm with bounded pointers.
5931 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5933 * stdlib/grouping.h: Correctly handle multibyte thousands
5934 separator and decimal point.
5935 * stdlib/stdtod.c: Likewise.
5936 * sysdeps/generic/strtol.c: Likewise.
5938 * locale/categories.def: Add entries for wide character decimal point
5939 and thousands separator in numeric and monetary category.
5941 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5943 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
5944 second definition and initialization of decimal.
5946 2000-06-28 Greg McGary <greg@mcgary.org>
5948 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
5950 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
5951 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
5953 (_IO_JUMPS): Don't cast THIS--expect arg to be a
5954 (struct _IO_FILE_plus *).
5955 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
5956 THIS, since _IO_JUMPS no longer does it implicitly.
5957 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
5958 arg type as (struct _IO_FILE_plus *).
5959 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
5960 arg as (_IO_strfile *).
5961 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
5962 Declare 1st arg as (_IO_strfile *).
5963 * libio/fileops.c (_IO_new_file_init): Declare
5964 arg type as (struct _IO_FILE_plus *).
5965 * libio/oldfileops.c (_IO_old_file_init): Likewise.
5966 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
5967 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
5968 Declare iteration pointer as (struct _IO_FILE_plus *).
5969 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
5970 (struct _IO_FILE_plus *).
5971 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
5972 * libio/oldstdfiles.c (_IO_list_all): Likewise.
5973 (_IO_check_libio): Set user-visible handles to
5974 (struct _IO_FILE_plus *).
5975 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
5976 to (struct _IO_FILE_plus *).
5978 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
5979 whose high bound includes vtable to all functions that will use
5980 vtable. For streambufs, pass pointer whose bounds include struct
5982 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
5983 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5984 * libio/iofopen.c (_IO_new_fopen): Likewise.
5985 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5986 * libio/iofopen64.c (_IO_fopen64): Likewise.
5987 * libio/iopopen.c (_IO_new_popen): Likewise.
5988 * libio/oldiopopen.c (_IO_old_popen): Likewise.
5989 * libio/memstream.c (open_memstream): Likewise.
5990 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
5991 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
5992 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5993 * libio/iofopncook.c (_IO_cookie_init): Likewise.
5994 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
5995 * libio/vasprintf.c (_IO_vasprintf): Likewise.
5996 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
5997 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
5998 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
5999 * stdlib/strfmon.c (__strfmon_l): Likewise.
6000 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
6001 (vfprintf): Qualify computed-goto targets as unbounded.
6003 2000-06-28 Ulrich Drepper <drepper@redhat.com>
6005 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
6006 thousands separator correctly.
6008 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
6009 * stdio-common/vfwscanf.c: Likewise.
6011 2000-06-27 Jes Sorensen <jes@linuxcare.com>
6013 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
6014 count into signatures for most calls.
6016 2000-06-28 Ulrich Drepper <drepper@redhat.com>
6018 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
6019 the generic parser now.
6021 2000-06-28 Jes Sorensen <jes@linuxcare.com>
6023 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
6024 table entries are 32 bit on the ia64 (as specified by the ABI),
6025 not 64 bit as on the Alpha.
6027 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
6028 change of objects to use 32 bit hash table indices (see above).
6030 2000-06-28 Jes Sorensen <jes@linuxcare.com>
6032 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
6033 prototype for abs().
6035 2000-06-28 Wolfram Gloger <wg@malloc.de>
6037 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
6038 fails, try mmap_chunk() as a last resort even though n_mmaps_max
6039 may have been reached.
6041 2000-06-28 Ulrich Drepper <drepper@redhat.com>
6043 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
6044 symbols in multi-character weights correctly.
6046 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
6047 depending on whether the input string is empty or not.
6049 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
6050 given state and not avoiding this by modifying a local object.
6051 * wcsmbs/wcrtomb.c: Likewise.
6053 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
6054 object since some incomplete characters might be in there.
6056 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
6057 sequences with first byte 0x8e correctly.
6059 * iconvdata/jis0208.h: Remove redundant test.
6061 2000-06-27 Ulrich Drepper <drepper@redhat.com>
6063 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
6064 Add it where it is needed now.
6066 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
6067 the input charset into account when generating the hash table.
6068 (allocate_arrays): Correct setting default width. Not all empty slots
6069 in the table are filled, only those not covert explicitly by the
6070 locale description and in the charset.
6072 * wctype/towctrans.c (__towctrans): Be graceful and accept error
6073 return values from the wctrans function.
6075 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
6076 wide character version.
6077 For %C handling, test correct pointer variable for NULL.
6079 * wcsmbs/wctob.c: Handle WEOF special.
6081 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
6083 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
6084 always-true test to avoid warning.
6086 2000-06-27 Greg McGary <greg@mcgary.org>
6088 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
6089 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
6090 (symbol_version, default_symbol_version): Factor redundant
6091 definitions out of conditional.
6093 2000-06-27 Jakub Jelinek <jakub@redhat.com>
6095 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
6098 2000-06-26 Ulrich Drepper <drepper@redhat.com>
6100 * include/libc-symbols.h (symbol_version): Add extra level of
6102 (default_symbol_version): Likewise.
6104 2000-06-26 Greg McGary <greg@mcgary.org>
6106 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
6107 for BP return value & push implicit struct-return pointer to
6109 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6110 (SYSCALL_ERROR_HANDLER): Likewise.
6111 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
6112 (SYSCALL_ERROR_HANDLER): Likewise.
6114 * Makeconfig: Add missing comment.
6115 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
6116 BP-flavored startup object.
6117 ($(objpfx)b$(start-installed-name)): New rule.
6118 * include/libc-symbols.h (symbol_set_declare): Change type
6119 of `__start_##set' and `__stop_##set' to pointer-to-function.
6120 (symbol_set_declare): Change type of `set' to array of
6121 pointer-to-function.
6122 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
6123 pointer-to-function.
6125 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
6127 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
6128 Remove clock_* and timer_* entries.
6129 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
6130 arg-count with signatures.
6132 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
6133 Check bounds of arguments.
6134 * sysdeps/i386/addmul_1.S: Likewise.
6135 * sysdeps/i386/lshift.S: Likewise.
6136 * sysdeps/i386/mul_1.S: Likewise.
6137 * sysdeps/i386/rshift.S: Likewise.
6138 * sysdeps/i386/sub_n.S: Likewise.
6139 * sysdeps/i386/submul_1.S: Likewise.
6140 * sysdeps/i386/i586/add_n.S: Likewise.
6141 * sysdeps/i386/i586/addmul_1.S: Likewise.
6142 * sysdeps/i386/i586/lshift.S: Likewise.
6143 * sysdeps/i386/i586/rshift.S: Likewise.
6144 * sysdeps/i386/i586/sub_n.S: Likewise.
6145 * sysdeps/i386/i686/add_n.S: Likewise.
6147 * sysdeps/i386/memchr.S: Likewise.
6148 * sysdeps/i386/memcmp.S: Likewise.
6149 * sysdeps/i386/rawmemchr.S: Likewise.
6150 * sysdeps/i386/i586/bzero.S: Likewise.
6151 * sysdeps/i386/i586/memcpy.S: Likewise.
6152 * sysdeps/i386/i586/mempcpy.S: Likewise.
6153 * sysdeps/i386/i586/memset.S: Likewise.
6154 * sysdeps/i386/i686/bzero.S: Likewise.
6155 * sysdeps/i386/i686/memcpy.S: Likewise.
6156 * sysdeps/i386/i686/mempcpy.S: Likewise.
6157 * sysdeps/i386/i686/memset.S: Likewise.
6159 * sysdeps/i386/stpcpy.S: Likewise.
6160 * sysdeps/i386/stpncpy.S: Likewise.
6161 * sysdeps/i386/strchr.S: Likewise.
6162 * sysdeps/i386/strchrnul.S: Likewise.
6163 * sysdeps/i386/strcspn.S: Likewise.
6164 * sysdeps/i386/strpbrk.S: Likewise.
6165 * sysdeps/i386/strrchr.S: Likewise.
6166 * sysdeps/i386/strspn.S: Likewise.
6167 * sysdeps/i386/strtok.S: Likewise.
6168 * sysdeps/i386/strtok_r.S: Likewise.
6169 * sysdeps/i386/i486/strcat.S: Likewise.
6170 * sysdeps/i386/i486/strlen.S: Likewise.
6171 * sysdeps/i386/i586/strchr.S: Likewise.
6172 * sysdeps/i386/i586/strcpy.S: Likewise.
6173 * sysdeps/i386/i586/strlen.S: Likewise.
6174 * sysdeps/i386/i686/strcmp.S: Likewise.
6175 * sysdeps/i386/i686/strtok.S: Likewise.
6176 * sysdeps/i386/i686/strtok_r.S: Likewise.
6178 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
6179 * sysdeps/i386/fpu/fesetenv.c: Likewise.
6180 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
6181 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
6182 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
6184 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
6185 * sysdeps/i386/mul_1.S: Likewise.
6186 * sysdeps/i386/submul_1.S: Likewise.
6187 * sysdeps/i386/i586/add_n.S: Likewise.
6188 * sysdeps/i386/i586/addmul_1.S: Likewise.
6189 * sysdeps/i386/i586/lshift.S: Likewise.
6190 * sysdeps/i386/i586/mul_1.S: Likewise.
6191 * sysdeps/i386/i586/rshift.S: Likewise.
6192 * sysdeps/i386/i586/sub_n.S: Likewise.
6193 * sysdeps/i386/i586/submul_1.S: Likewise.
6195 2000-06-26 Ulrich Drepper <drepper@redhat.com>
6197 * rt/Makefile (librt-routines): Add clock_nanosleep.
6198 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
6199 * sysdeps/generic/clock_nanosleep.c: New file.
6200 * sysdeps/unix/clock_nanosleep.c: New file.
6201 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
6202 * time/time.h: Declare clock_nanosleep.
6204 2000-06-26 Greg McGary <greg@mcgary.org>
6206 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
6207 INSN1, INSN2, TEXT, GLOBL): Remove macros.
6208 (ALIGN): Cleanup surrounding conditionals.
6210 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
6211 Call ENTER/LEAVE macros.
6212 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
6213 * sysdeps/i386/submul_1.S: Likewise.
6215 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
6216 syntax. Define & use symbolic argument stack offsets. Call
6218 * sysdeps/i386/i586/mul_1.S: Likewise.
6219 * sysdeps/i386/i586/submul_1.S: Likewise.
6221 2000-06-25 Greg McGary <greg@mcgary.org>
6223 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
6226 2000-06-25 Ulrich Drepper <drepper@redhat.com>
6228 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
6229 * iconvdata/gen-8bit-gap.sh: Likewise.
6230 * iconvdata/gen-8bit.sh: Likewise.
6232 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
6234 * locale/programs/ld-collate.c (collate_read): Don't actually read
6235 the copy locale if we are ignoring the content.
6237 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
6240 * locale/programs/ld-collate.c: Correct handling of different
6242 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
6243 as extra parameter from which to copy category information.
6245 (load_locale): Likewise.
6246 * locale/programs/localedef.h: Update prototypes of add_to_readlist
6248 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
6249 * locale/programs/locfile.h: Likewise.
6250 * locale/programs/locfile-kw.gperf: Add entry for script.
6251 * locale/programs/locfile-token.h: Add tok_script.
6253 * locale/programs/locale.c: Update copyright year.
6254 * locale/programs/localedef.c: Likewise.
6256 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
6258 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
6259 Jens Moeller <jens.moeller@waii.com>.
6261 2000-06-24 Ulrich Drepper <drepper@redhat.com>
6263 * locale/programs/ld-name.c (name_finish): Add missing format
6264 specifier to test for name_fmt.
6266 * locale/programs/ld-address.c (iso639): Correct length of string
6268 (iso3166): Likewise.
6270 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
6272 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
6275 * elf/elf.h (NT_PRFPXREG): Define.
6277 2000-06-23 Ulrich Drepper <drepper@redhat.com>
6279 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
6280 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
6282 2000-06-23 Andreas Schwab <schwab@suse.de>
6284 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
6287 2000-06-23 Andreas Jaeger <aj@suse.de>
6289 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
6291 * io/test-stat.c: Add copyright header, mention Maciej.
6293 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
6294 SYS_mincore, SYS_madvise): Added.
6296 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
6299 2000-06-22 Ulrich Drepper <drepper@redhat.com>
6301 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
6302 (CFLAGS-tst_putwc.c): New definition.
6303 * libio/tst_getwc.c: New file.
6304 * libio/tst_getwc.input: New file.
6305 * libio/tst_putwc.c: New file.
6307 * include/string.h: Add prototype for __strdup.
6309 2000-06-22 Greg McGary <greg@mcgary.org>
6311 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
6312 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
6315 2000-06-23 Jes Sorensen <jes@linuxcare.com>
6317 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
6319 2000-06-22 Jes Sorensen <jes@linuxcare.com>
6321 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
6323 2000-06-22 Jes Sorensen <jes@linuxcare.com>
6325 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
6326 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
6328 2000-06-22 Ulrich Drepper <drepper@redhat.com>
6330 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
6331 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
6333 * sysdeps/mach/hurd/bits/stat.h: Likewise.
6334 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6335 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
6336 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6337 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
6338 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
6339 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
6340 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
6341 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6342 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
6343 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
6344 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
6345 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
6346 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
6349 2000-06-22 Andreas Jaeger <aj@suse.de>
6351 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
6354 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
6356 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
6358 2000-06-21 Ulrich Drepper <drepper@redhat.com>
6360 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
6363 2000-06-21 Greg McGary <greg@mcgary.org>
6365 * Makerules (elide-routines.*, elide-bp-thunks):
6366 Define unconditionally.
6368 2000-06-21 Jes Sorensen <jes@linuxcare.com>
6370 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
6372 2000-06-21 Andreas Jaeger <aj@suse.de>
6374 * io/Makefile (tests): Add test-stat.
6375 (CFLAGS-test-stat.c): New.
6377 * io/test-stat.c: New file from Maciej W. Rozycki
6378 <macro@ds2.pg.gda.pl>.
6380 2000-06-21 Jes Sorensen <jes@linuxcare.com>
6382 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
6383 in __rlimit_resource to make them match the kernel order.
6384 rlim_t is always 64 bit, use __rlim64_t to declare it
6387 2000-05-04 Jes Sorensen <jes@linuxcare.com>
6389 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
6390 RLIM_INFINITY before defining it to avoid clash with kernel header
6392 2000-05-03 Jes Sorensen <jes@linuxcare.com>
6394 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
6396 2000-06-21 Ulrich Drepper <drepper@redhat.com>
6398 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
6400 2000-06-21 Andreas Jaeger <aj@suse.de>
6402 * stdio-common/temptest.c: Include <stdlib.h>.
6403 * stdio-common/tst-fileno.c: Likewise.
6404 * stdio-common/scanf4.c: Likewise.
6405 * stdio-common/scanf5.c: Likewise.
6406 * time/clocktest.c: Likewise.
6407 * posix/test-vfork.c: Likewise.
6408 * posix/globtest.c: Likewise.
6409 * io/test-utime.c: Likewise.
6410 * wctype/test_wcfuncs.c: Likewise.
6411 * crypt/cert.c: Likewise.
6413 * stdio-common/tst-printfsz.c: Include <string.h>.
6414 * libio/tst_swscanf.c: Likewise.
6415 * libio/tst_wscanf.c: Likewise.
6416 * posix/runtests.c: Likewise.
6417 * posix/tst-getaddrinfo.c: Likewise.
6418 * posix/wordexp-test.c: Likewise.
6419 * misc/tst-efgcvt.c: Likewise.
6421 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
6422 * nss/test-netdb.c: Likewise.
6424 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
6425 supported kernel for MIPS.
6427 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
6428 * rt/aio_suspend.c: Likewise.
6430 2000-06-20 Ulrich Drepper <drepper@redhat.com>
6432 * math/libm-test.inc: Include <string.h>.
6434 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6436 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
6438 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6440 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
6441 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
6443 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
6445 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
6447 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6449 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
6451 2000-06-20 Ulrich Drepper <drepper@redhat.com>
6453 * locale/programs/ld-collate.c (insert_value): Now take string and
6454 length instead of struct token* parameter. Adjust use of token.
6455 (handle_ellipsis): Likewise.
6456 (collate_read): Allow <Uxxxx> names and transform them into names
6457 to be passed to insert_value and handle_ellipsis.
6459 * locale/programs/ld-ctype.c (uninames): New array with names of
6460 digits in <Uxxxxxxxx> format.
6461 (ctype_finish): Correct search for space character value. Likewise
6462 for default outdigits values.
6464 2000-06-20 Greg McGary <greg@mcgary.org>
6466 * Makerules (objects): Add BP thunks.
6468 2000-06-20 Ulrich Drepper <drepper@redhat.com>
6470 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
6471 in width definitions.
6473 2000-06-20 Andreas Jaeger <aj@suse.de>
6475 * sysdeps/mips/fpu/libm-test-ulps: New file.
6477 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
6480 * sysdeps/mips/fpu/feholdexcpt.c: New file.
6482 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
6484 2000-06-19 Ulrich Drepper <drepper@redhat.com>
6486 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
6487 change in gconv_builtin.h.
6489 * malloc/Makefile: Change all references to memprof into memusage.
6490 * malloc/memprof.c: Rename to...
6491 * malloc/memusage.c: ...this. New file.
6492 * malloc/memprof.sh: Rename to...
6493 * malloc/memusage.sh: ...this. New file.
6494 * malloc/memprofstat.c: Rename to...
6495 * malloc/memusagestat.c: ...this. New file.
6496 * sysdeps/alpha/memprof.h: Rename to..
6497 * sysdeps/alpha/memusage.h: ...this. New file.
6498 * sysdeps/arm/memprof.h: Rename to..
6499 * sysdeps/arm/memusage.h: ...this. New file.
6500 * sysdeps/generic/memprof.h: Rename to..
6501 * sysdeps/generic/memusage.h: ...this. New file.
6502 * sysdeps/i386/memprof.h: Rename to..
6503 * sysdeps/i386/memusage.h: ...this. New file.
6504 * sysdeps/ia64/memprof.h: Rename to..
6505 * sysdeps/ia64/memusage.h: ...this. New file.
6506 * sysdeps/m68k/memprof.h: Rename to..
6507 * sysdeps/m68k/memusage.h: ...this. New file.
6508 * sysdeps/mips/memprof.h: Rename to..
6509 * sysdeps/mips/memusage.h: ...this. New file.
6510 * sysdeps/powerpc/memprof.h: Rename to..
6511 * sysdeps/powerpc/memusage.h: ...this. New file.
6512 * sysdeps/sparc/memprof.h: Rename to..
6513 * sysdeps/sparc/memusage.h: ...this. New file.
6514 * sysdeps/sh/memprof.h: Rename to..
6515 * sysdeps/sh/memusage.h: ...this. New file.
6517 * elf/sprof.c (print_version): Update year.
6519 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
6520 table entry values. Use D_PTR.
6521 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
6522 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
6524 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6526 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
6527 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
6528 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
6529 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
6531 2000-05-05 Jes Sorensen <jes@linuxcare.com>
6533 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
6535 2000-06-16 Jes Sorensen <jes@linuxcare.com>
6537 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
6538 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
6539 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
6541 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
6543 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
6546 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
6547 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
6549 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
6552 2000-06-15 Jes Sorensen <jes@linuxcare.com>
6554 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
6556 2000-06-08 Jes Sorensen <jes@linuxcare.com>
6558 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
6560 2000-06-19 Ulrich Drepper <drepper@redhat.com>
6562 * iconv/gconv_int.h (strict gconv_module): Remove all members
6563 associated with regular expressions. Use a simple string as the
6565 * iconv/gconv_db.c: Remove code handling regular expressions.
6566 * iconv/gconv_conf.c: Likewise.
6567 * iconv/iconv_prog.c: Likewise.
6568 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
6570 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
6571 General namespace cleanup.
6572 (struct __gconv_trans_data): Add next field.
6573 (struct __gconv_step_data): Make __trans a pointer.
6574 * iconv/gconv_conf.c: Split out code to find gconv directories from
6575 __gconv_read_conf in new functions.
6576 * iconv/gconv_int.h: Define new data structure and declare new
6577 functions for handling of gconv directory list.
6578 * iconv/gconv_open.c: Allow more than one error handling step being
6579 used. Call function to load error handling module if it is none
6580 of the builtin transformations.
6581 * iconv/gconv_close.c: Add code to free transliteration data.
6582 * iconv/gconv_trans.c: Add functions to load and unload modules
6583 implementing transliteration etc.
6584 * iconv/skeleton.c: Call all context functions now that more than
6585 one module is allowed.
6586 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
6587 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
6588 where the full error handling using transliteration is needed.
6589 * iconvdata/8bit-gap.c: Likewise.
6590 * iconvdata/8bit-generic.c: Likewise.
6591 * iconvdata/ansi_x3.110.c: Likewise.
6592 * iconvdata/big5.c: Likewise.
6593 * iconvdata/big5hkscs.c: Likewise.
6594 * iconvdata/euc-cn.c: Likewise.
6595 * iconvdata/euc-jp.c: Likewise.
6596 * iconvdata/euc-kr.c: Likewise.
6597 * iconvdata/euc-tw.c: Likewise.
6598 * iconvdata/gbgbk.c: Likewise.
6599 * iconvdata/gbk.c: Likewise.
6600 * iconvdata/iso-2022-cn.c: Likewise.
6601 * iconvdata/iso-2022-jp.c: Likewise.
6602 * iconvdata/iso-2022-kr.c: Likewise.
6603 * iconvdata/iso646.c: Likewise.
6604 * iconvdata/iso8859-1.c: Likewise.
6605 * iconvdata/iso_6937-2.c: Likewise.
6606 * iconvdata/iso_6937.c: Likewise.
6607 * iconvdata/johab.c: Likewise.
6608 * iconvdata/sjis.c: Likewise.
6609 * iconvdata/t.61.c: Likewise.
6610 * iconvdata/uhc.c: Likewise.
6611 * iconvdata/unicode.c: Likewise.
6612 * iconvdata/utf-16.c: Likewise.
6613 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
6614 structure correctly after last change.
6615 * wcsmbs/btowc.c: Likewise.
6616 * wcsmbs/mbrtowc.c: Likewise.
6617 * wcsmbs/mbsnrtowcs.c: Likewise.
6618 * wcsmbs/mbsrtowcs.c: Likewise.
6619 * wcsmbs/wcrtomb.c: Likewise.
6620 * wcsmbs/wcsnrtombs.c: Likewise.
6621 * wcsmbs/wcsrtombs.c: Likewise.
6622 * wcsmbs/wctob.c: Likewise.
6624 * localedata/Makefile: Set -Wno-format for some files since gcc does
6625 not know all the format specifiers.
6627 2000-06-18 Ulrich Drepper <drepper@redhat.com>
6629 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
6631 * locale/lc-time.c (_nl_init_era_entries): Likewise.
6633 2000-06-18 Andreas Jaeger <aj@suse.de>
6635 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
6636 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
6638 2000-06-17 Ulrich Drepper <drepper@redhat.com>
6640 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
6642 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
6644 * locale/programs/ld-ctype.c (ctype_output): Really write out
6645 mboutdigits information.
6646 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
6647 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
6648 * localedata/tests/trans.def: Add outdigit information.
6650 * localedata/tst-mbswcs3.c: Remove comment.
6652 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
6653 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
6654 * libio/tst_wprintf.c (main): Add test for I flag.
6656 * iconv/gconv_trans.c: Implement handling if translit_ignore.
6657 * locale/langinfo.h: Add entries for translit_ignore information.
6658 * locale/categories.def: Add entries for new LC_CTYPE elements.
6659 * locale/C-ctype.c: Add initializers for new fields. Use NULL
6660 pointer instead of "" where possible.
6661 * locale/programs/ld-ctype.c: Write out translit_ignore information.
6662 * intl/Depend: Add localedata.
6663 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
6664 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
6666 2000-06-16 Ulrich Drepper <drepper@redhat.com>
6668 * locale/langinfo.h: Add entries for default_missing information.
6669 * locale/C-ctype.c: Add initializers for new fields.
6670 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
6672 * locale/categories.h: Add entries for all LC_CTYPE values.
6673 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
6676 * localedata/tst-trans.c: Write out an error message if class is
6679 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
6680 * iconv/gconv_open.c: Remove error handling specification from `from'
6682 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
6683 new parameter to always enable transliteration.
6684 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
6686 (struct locale_data): Add new members use_translit and options.
6687 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
6688 character set name contained modifier TRANSLIT.
6689 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
6691 (_nl_unload_locale): Free options string if necessary.
6692 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
6693 the locale names suggested this.
6694 * locale/C-address.c: Add two new initialilzers to adjust data
6695 structure for new format.
6696 * locale/C-collate.c: Likewise.
6697 * locale/C-ctype.c: Likewise.
6698 * locale/C-identification.c: Likewise.
6699 * locale/C-measurement.c: Likewise.
6700 * locale/C-messages.c: Likewise.
6701 * locale/C-monetary.c: Likewise.
6702 * locale/C-name.c: Likewise.
6703 * locale/C-numeric.c: Likewise.
6704 * locale/C-paper.c: Likewise.
6705 * locale/C-telephone.c: Likewise.
6706 * locale/C-time.c: Likewise.
6708 * locale/setlocale.c: Add some more __builtin_expect.
6710 2000-06-15 Ulrich Drepper <drepper@redhat.com>
6712 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
6714 (__gconv_init_fct): Remove two parameters.
6715 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
6716 gconv_transliterate. Remove two parameters.
6717 Change prototypes of builtin functions according to __gconv_fct change.
6718 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
6719 != NULL only during error handling. Stop in this case after the
6721 * iconv/gconv_trans.c: Replace with real implementation for
6722 __gconv_transliterate.
6723 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
6724 * iconv/gconv.c: Change calls to downstream functions once again.
6725 Use NULL for the fifth parameter instead of pointer to output buffer.
6726 * libio/iofwide.c: Likewise.
6727 * wcsmbs/btowc.c: Likewise.
6728 * wcsmbs/mbrtowc.c: Likewise.
6729 * wcsmbs/mbsnrtowcs.c: Likewise.
6730 * wcsmbs/mbsrtowcs.c: Likewise.
6731 * wcsmbs/wcrtomb.c: Likewise.
6732 * wcsmbs/wcsnrtombs.c: Likewise.
6733 * wcsmbs/wcsrtombs.c: Likewise.
6734 * wcsmbs/wctob.c: Likewise.
6735 * iconv/gconv_simple.c: Remove two parameters from error handling
6737 * iconvdata/8bit-gap.c: Likewise.
6738 * iconvdata/8bit-generic.c: Likewise.
6739 * iconvdata/ansi_x3.110.c: Likewise.
6740 * iconvdata/big5.c: Likewise.
6741 * iconvdata/big5hkscs.c: Likewise.
6742 * iconvdata/euc-cn.c: Likewise.
6743 * iconvdata/euc-jp.c: Likewise.
6744 * iconvdata/euc-kr.c: Likewise.
6745 * iconvdata/euc-tw.c: Likewise.
6746 * iconvdata/gbgbk.c: Likewise.
6747 * iconvdata/gbk.c: Likewise.
6748 * iconvdata/iso-2022-cn.c: Likewise.
6749 * iconvdata/iso-2022-jp.c: Likewise.
6750 * iconvdata/iso-2022-kr.c: Likewise.
6751 * iconvdata/iso646.c: Likewise.
6752 * iconvdata/iso8859-1.c: Likewise.
6753 * iconvdata/iso_6937-2.c: Likewise.
6754 * iconvdata/iso_6937.c: Likewise.
6755 * iconvdata/johab.c: Likewise.
6756 * iconvdata/sjis.c: Likewise.
6757 * iconvdata/t.61.c: Likewise.
6758 * iconvdata/uhc.c: Likewise.
6759 * iconvdata/unicode.c: Likewise.
6760 * iconvdata/utf-16.c: Likewise.
6762 2000-06-15 Greg McGary <greg@mcgary.org>
6764 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
6765 of callnum assignment. Tolerate callnum expressions containing
6768 2000-06-14 Ulrich Drepper <drepper@redhat.com>
6770 * login/Makefile (utmpd): Remove rule to build utmpd.
6772 * csu/Versions: Move libgcc frame handling functions from here...
6773 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
6774 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
6775 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
6776 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
6777 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
6778 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
6780 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
6782 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
6784 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
6786 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6788 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
6790 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
6791 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
6792 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
6793 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
6795 2000-06-14 Jakub Jelinek <jakub@redhat.com>
6797 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
6798 defined, terminate quotes and read them after the comment char.
6799 * configure.in (HAVE_SECTION_QUOTES): Test whether
6800 __attribute__((section ("x"))) puts quotes around x or not.
6801 * config.h.in (HAVE_SECTION_QUOTES): Add.
6802 * configure: Rebuilt.
6804 2000-06-14 Andreas Jaeger <aj@suse.de>
6806 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
6807 depending on the configure option --sysconfdir.
6808 Closes PR libc/1762.
6809 Patch by Andreas Schwab <schwab@suse.de>.
6811 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
6813 Reported by Jim Pick <jim@jimpick.com>.
6815 2000-06-14 Ulrich Drepper <drepper@redhat.com>
6817 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
6818 crashing the application. Emit some simple error message.
6819 Reported by mju@panasas.com [PR libc/1769].
6821 2000-06-13 Ulrich Drepper <drepper@redhat.com>
6823 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
6825 * crypt/Makefile (distribute): Add md5.h.
6827 * Makefile (distribute): Add include/shlib-compat.h.
6829 * Make-dist: Search for tests also in sysdeps hierachy.
6831 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
6832 ufc.c, speeds.c, README.ufc-crypt, and Banner.
6834 * sysdeps/sparc/Subdirs: New file.
6836 * locale/Makefile (distribute): Add weightwc.h and
6837 programs/localedef.h.
6839 * time/Makefile (distribute): Add datemsk.
6841 * sysdeps/ia64/Dist: Add softpipe.h.
6843 * sysdeps/unix/sysv/aix/Dist: New file.
6845 * posix/setpgrp.c: Moved to...
6846 * sysdeps/generic/setpgrp.c: ...here. New file.
6847 * io/mknod.c: Moved to...
6848 * sysdeps/generic/mknod.c: ...here. New file.
6850 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
6852 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
6854 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
6856 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
6857 gprsave0.S, gprrest1.S, and gprrest0.S.
6859 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
6861 * posix/Makefile (routines): Add spawnattr_getsigmask,
6862 spawnattr_getschedpolicy, spawnattr_getschedparam,
6863 spawnattr_setsigmask, spawnattr_setschedpolicy, and
6864 spawnattr_setschedparam.
6865 * posix/Versions: Add posix_spawnattr_getschedpolicy,
6866 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
6867 posix_spawnattr_setschedparam.
6869 * posix/spawnattr_setschedparam.c: Fix typo.
6871 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
6874 * login/programs/utmpd.c: Removed.
6875 * login/programs/utmpd.h: Removed.
6876 * login/programs/utmpd-private.h: Removed.
6878 * Makefile (distribute): Add include/db_185.h and include/db.h.
6880 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
6883 * elf/Makefile (distribute): Add missing files.
6885 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
6886 * elf/eval.c: Moved to...
6887 * dlfcn/eval.c: ...here. New file.
6889 * Makefile (distribute): Also distribute ChangeLog.1?.
6891 * Make-dist (+tsrcs): Remove .args handling here as well.
6893 * rt/Makefile (tests): Add tst-timer.
6894 * sysdeps/generic/tst-timer.c: New file.
6896 * Makerules (sources): Don't add BP sources here.
6898 * login/Makefile (distribute): Remove xtmp.h.
6900 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
6901 is true. Reported by Bruno Haible <haible@ilog.fr>.
6903 2000-06-13 Andreas Jaeger <aj@suse.de>
6905 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
6906 Patch by Ralf Baechle <ralf@gnu.org>.
6908 2000-06-13 Ulrich Drepper <drepper@redhat.com>
6910 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
6911 for mincore syscall.
6913 * misc/sys/cdefs.h: Define __bounded and __unbounded if
6914 __BOUNDED_POINTERS__ is not defined.
6916 2000-06-07 Greg McGary <greg@mcgary.org>
6918 * sysdeps/generic/bp-sym.h: New file.
6919 * sysdeps/generic/bp-start.h: New file.
6920 * sysdeps/i386/elf/start.S: Designate BP symbols.
6921 * sysdeps/generic/libc-start.c: Wrap bounds around
6922 argv & envp and each of their string members.
6924 2000-06-07 Greg McGary <greg@mcgary.org>
6926 * sysdeps/unix/make-syscalls.sh: Add comments to
6927 output that aid debugging & comprehension.
6928 Map simple syscall signatures to number of args.
6929 Generate BP syscall thunk definitions.
6930 * sysdeps/generic/bp-thunks.h: New file.
6931 * sysdeps/unix/syscalls.list: Replace arg-count with
6932 simple return+arg signature.
6933 * sysdeps/unix/common/syscalls.list: Likewise.
6934 * sysdeps/unix/inet/syscalls.list: Likewise.
6935 * sysdeps/unix/mman/syscalls.list: Likewise.
6936 * sysdeps/unix/sysv/syscalls.list: Likewise.
6937 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6938 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
6940 2000-06-07 Greg McGary <greg@mcgary.org>
6942 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
6943 for all files *.[cS].
6944 (CFLAGS-.ob): Don't optimize sibling calls.
6945 (bppfx): New variable.
6946 * Makerules (elide-bp-thunks): New variable.
6947 (elide-routines.*): Elide BP-* files for all but *.ob.
6948 (sources): Include bp-thunks.
6950 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6952 * iconv/gconv_simple.c: Remove unnecessary prototype.
6954 * iconv/gconv_trans.c: Pretty print.
6956 * elf/elf.h (R_SH_NUM): Got accidently dropped.
6958 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
6959 minimal kernel versions. Add information about IA-64 kernel.
6961 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
6962 specific minimal supported kernel versions to be specified.
6964 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
6965 step data structure.
6966 * wcsmbs/btowc.c: Likewise.
6967 * wcsmbs/mbrtowc.c: Likewise.
6968 * wcsmbs/mbsnrtowcs.c: Likewise.
6969 * wcsmbs/mbsrtowcs.c: Likewise.
6970 * wcsmbs/wcrtomb.c: Likewise.
6971 * wcsmbs/wcsnrtombs.c: Likewise.
6972 * wcsmbs/wcsrtombs.c: Likewise.
6973 * wcsmbs/wctob.c: Likewise.
6975 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
6976 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
6978 * shlib-versions: Earliest backward compatible version for SH is 2.2.
6980 * misc/sys/cdefs.h: Remove one more __P.
6982 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
6985 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
6986 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
6987 * sysdeps/sh/bits/setjmp.h: ...here. New file.
6989 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6990 Yutaka Niibe <gniibe@chroot.org>
6992 * configure.in: Add machine sh3, sh4.
6993 * elf/elf.h: Add SH specific declarations of relocations.
6994 * shlib-versions: Add sh*-*-linux* cases.
6996 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6998 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
6999 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
7000 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
7001 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
7002 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
7003 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
7005 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
7006 instead of KERNEL_MATH_EMULATION.
7007 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
7008 KERNEL_MATH_EMULATION.
7010 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
7011 * sysdeps/sh/sh3/dl-machine.h: Moved to...
7012 * sysdeps/sh/dl-machine.h: ...here. New file.
7013 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
7014 and include generic SH version.
7015 * sysdeps/sh/sh3/bits/endian.h: Move to...
7016 * sysdeps/sh/bits/endian.h: ...here. New file.
7017 * sysdeps/sh/sh4/bits/endian.h: Removed.
7018 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
7019 * sysdeps/sh/bits/huge_val.h: ...here. New file.
7020 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
7022 * include/libc-symbols.h (link_warning): Work around a change in
7023 GAS which warns about changing section attributes.
7024 Proposed by Nick Clifton <nickc@redhat.com>.
7026 2000-06-12 H.J. Lu <hjl@gnu.org>
7028 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
7030 2000-06-11 H.J. Lu <hjl@gnu.org>
7032 * sysdeps/i386/fpu/Versions: New file.
7034 2000-06-12 Ulrich Drepper <drepper@redhat.com>
7036 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
7038 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
7041 2000-06-12 Jes Sorensen <jes@linuxcare.com>
7043 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
7044 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
7045 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
7047 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
7048 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
7049 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
7051 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
7052 Yutaka Niibe <gniibe@chroot.org>
7054 * sysdeps/sh/Dist: New file.
7055 * sysdeps/sh/Implies: New file.
7056 * sysdeps/sh/elf/initfini.c: New file.
7057 * sysdeps/sh/gmp-mparam.h: New file.
7058 * sysdeps/sh/init-first.c: New file.
7059 * sysdeps/sh/machine-gmon.h: New file.
7060 * sysdeps/sh/memcpy.S: New file.
7061 * sysdeps/sh/memprof.h: New file.
7062 * sysdeps/sh/memset.S: New file.
7063 * sysdeps/sh/sh3/__longjmp.S: New file.
7064 * sysdeps/sh/sh3/bits/endian.h: New file.
7065 * sysdeps/sh/sh3/bits/huge_val.h: New file.
7066 * sysdeps/sh/sh3/bits/setjmp.h: New file.
7067 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
7068 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
7069 * sysdeps/sh/sh3/dl-machine.h: New file.
7070 * sysdeps/sh/sh3/setjmp.S: New file.
7071 * sysdeps/sh/sh4/__longjmp.S: New file.
7072 * sysdeps/sh/sh4/bits/endian.h: New file.
7073 * sysdeps/sh/sh4/bits/huge_val.h: New file.
7074 * sysdeps/sh/sh4/bits/setjmp.h: New file.
7075 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
7076 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
7077 * sysdeps/sh/sh4/dl-machine.h: New file.
7078 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
7079 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
7080 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
7081 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
7082 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
7083 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
7084 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
7085 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
7086 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
7087 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
7088 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
7089 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
7090 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
7091 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
7092 * sysdeps/sh/sh4/setjmp.S: New file.
7093 * sysdeps/sh/elf/start.S: New file.
7094 * sysdeps/sh/sys/ucontext.h: New file.
7095 * sysdeps/sh/strlen.S: New file.
7096 * sysdeps/sh/sysdep.h: New file.
7097 * sysdeps/unix/sh/sysdep.S: New file.
7098 * sysdeps/unix/sh/sysdep.h: New file.
7099 * sysdeps/unix/sysv/linux/sh/Dist: New file.
7100 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
7101 * sysdeps/unix/sysv/linux/sh/Versions: New file.
7102 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
7103 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
7104 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
7105 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
7106 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
7107 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
7108 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
7109 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
7110 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
7111 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
7112 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
7113 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
7114 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
7115 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
7116 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
7117 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
7118 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
7119 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
7120 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
7121 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
7122 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
7123 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
7124 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
7125 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
7126 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
7127 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
7128 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
7129 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
7130 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
7131 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
7132 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
7133 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
7134 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
7135 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
7136 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
7137 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
7138 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
7139 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
7140 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
7141 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
7142 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7143 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
7144 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
7145 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
7146 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
7147 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
7148 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
7150 2000-06-12 Ulrich Drepper <drepper@redhat.com>
7152 * Rules (%.out): Define GCONV_PATH in the environment.
7153 * assert/Depend: New file.
7154 * iconvdata/Depend: New file.
7155 * intl/Depend: New file.
7156 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
7157 * intl/tst-gettext.sh: Likewise.
7158 * iconv/Makefile (routines): Add gconv_trans.
7159 * iconv/gconv_trans.c: New file.
7160 * iconv/gconv.h (struct __gconv_trans_data): New type.
7161 (__gconv_fct): New parameter with starting position in output buffer.
7162 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
7163 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
7164 (struct __gconv_step): Add new member __trans.
7165 * iconv/gconv_int.h: Pretty print prototypes.
7166 (gconv_transliterate): New prototype.
7167 (__BUILTIN_TRANS): Update for new conversion function interface.
7168 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
7169 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
7170 in names, find appropriate function, and install in the conversion
7171 steps it can be used.
7172 * iconv/skeleton.c: Add additional parameter for beginning of output
7173 buffer. Change calls of downstream functions.
7174 * iconv/loop.c: Change loop function interface completely. Pass in
7175 step and step_data structure. Remove optimization for BODY with
7176 NEED_LENGTH_TEST == 0.
7177 * iconv/gconv_simple.c: Update interfaces of functions. Insert
7178 appropriate error handling code to use transliteration steps. Remove
7179 optimization for BODY with NEED_LENGTH_TEST == 0.
7180 * iconvdata/8bit-gap.c: Likewise.
7181 * iconvdata/8bit-generic.c: Likewise.
7182 * iconvdata/ansi_x3.110.c: Likewise.
7183 * iconvdata/big5.c: Likewise.
7184 * iconvdata/big5hkscs.c: Likewise.
7185 * iconvdata/euc-cn.c: Likewise.
7186 * iconvdata/euc-jp.c: Likewise.
7187 * iconvdata/euc-kr.c: Likewise.
7188 * iconvdata/euc-tw.c: Likewise.
7189 * iconvdata/gbgbk.c: Likewise.
7190 * iconvdata/gbk.c: Likewise.
7191 * iconvdata/iso-2022-cn.c: Likewise.
7192 * iconvdata/iso-2022-jp.c: Likewise.
7193 * iconvdata/iso-2022-kr.c: Likewise.
7194 * iconvdata/iso646.c: Likewise.
7195 * iconvdata/iso8859-1.c: Likewise.
7196 * iconvdata/iso_6937-2.c: Likewise.
7197 * iconvdata/iso_6937.c: Likewise.
7198 * iconvdata/johab.c: Likewise.
7199 * iconvdata/sjis.c: Likewise.
7200 * iconvdata/t.61.c: Likewise.
7201 * iconvdata/uhc.c: Likewise.
7202 * iconvdata/unicode.c: Likewise.
7203 * iconvdata/utf-16.c: Likewise.
7204 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
7206 * wcsmbs/btowc.c: Likewise.
7207 * wcsmbs/mbrtowc.c: Likewise.
7208 * wcsmbs/mbsnrtowcs.c: Likewise.
7209 * wcsmbs/mbsrtowcs.c: Likewise.
7210 * wcsmbs/wcrtomb.c: Likewise.
7211 * wcsmbs/wcsnrtombs.c: Likewise.
7212 * wcsmbs/wcsrtombs.c: Likewise.
7213 * wcsmbs/wctob.c: Likewise.
7215 2000-04-11 Geoff Keating <geoffk@cygnus.com>
7217 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
7218 other header files. Mention about 128-byte cache line sizes.
7219 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
7220 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
7221 for current calling sequence.
7222 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
7224 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
7225 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7227 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
7228 and setrlimit syscalls for backwards compatibility.
7230 2000-06-10 Ulrich Drepper <drepper@redhat.com>
7232 * iconv/skeleton.c: Rename converted written to correcter name
7234 * iconv/gconv.c: Rename converted variable to correcter name
7236 * iconv/gconv_int.h: Likewise.
7237 * iconv/gconv_simple.c: Likewise.
7238 * iconv/iconv.c: Likewise.
7239 * iconv/loop.c: Likewise.
7240 * iconvdata/8bit-gap.c: Likewise.
7241 * iconvdata/8bit-generic.c: Likewise.
7242 * iconvdata/ansi_x3.110.c: Likewise.
7243 * iconvdata/big5.c: Likewise.
7244 * iconvdata/big5hkscs.c: Likewise.
7245 * iconvdata/euc-cn.c: Likewise.
7246 * iconvdata/euc-jp.c: Likewise.
7247 * iconvdata/euc-kr.c: Likewise.
7248 * iconvdata/gbgbk.c: Likewise.
7249 * iconvdata/gbk.c: Likewise.
7250 * iconvdata/iso-2022-cn.c: Likewise.
7251 * iconvdata/iso-2022-jp.c: Likewise.
7252 * iconvdata/iso-2022-kr.c: Likewise.
7253 * iconvdata/iso646.c: Likewise.
7254 * iconvdata/iso8859-1.c: Likewise.
7255 * iconvdata/iso_6937-2.c: Likewise.
7256 * iconvdata/iso_6937.c: Likewise.
7257 * iconvdata/johab.c: Likewise.
7258 * iconvdata/sjis.c: Likewise.
7259 * iconvdata/t.61.c: Likewise.
7260 * iconvdata/uhc.c: Likewise.
7261 * iconvdata/unicode.c: Likewise.
7262 * iconvdata/utf-16.c: Likewise.
7264 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
7265 __cmsg_data field with __extension__.
7267 2000-06-10 David Mosberger <davidm@hpl.hp.com>
7269 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
7271 2000-06-10 Ulrich Drepper <drepper@redhat.com>
7273 * iconv/gconv_simple.c: Fix various small bugs in several
7276 * iconv/loop.c: Fix comment.
7278 2000-06-10 Jakub Jelinek <jakub@redhat.com>
7280 * elf/link.h: Remove libc internal declarations.
7281 * include/link.h: Move them here.
7283 2000-06-09 Ulrich Drepper <drepper@redhat.com>
7285 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
7286 Patch by Dan Pop <Dan.Pop@cern.ch>.
7288 Rewrite error message handling.
7289 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
7291 * elf/dl-error (struct catch): Add objname member.
7292 (_dl_signal_error): Take new parameter with object name. When
7293 passing message on simply store object name and duplicate error
7295 (_dl_catch_error): Take new parameter. Store object name in the
7297 * include/dlfcn.h: Adjust _dl_catch_error prototype.
7298 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
7299 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
7300 (dlerror): Add objname to asprintf() parameters.
7301 (_dl_error_run): Pass new parameter to _dl_catch_error.
7302 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
7303 * elf/dl-open.c (_dl_open): Likewise.
7304 * elf/rtld.c (dl_main): Likewise.
7305 * elf/dl-close.c: Mark error messages with N_().
7306 * elf/dl-deps.c: Likewise.
7307 * elf/dl-error.c: Likewise.
7308 * elf/dl-load.c: Likewise.
7309 * elf/dl-open.c: Likewise.
7310 * elf/dl-reloc.c: Likewise.
7311 * elf/dl-support.c: Likewise.
7312 * elf/dl-sym.c: Likewise.
7313 * elf/dl-version.c: Likewise.
7314 * elf/dl-lookup.c: Add comments about problems with error message
7316 * elf/dl-reloc.c: Likewise.
7317 * elf/dl-version.c: Likewise.
7319 2000-06-09 H.J. Lu <hjl@gnu.org>
7321 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
7324 * dlfcn/Makefile (distribute): Add failtestmod.c.
7325 (tests): Add failtest.
7326 Add rules to build and run failtest.
7327 * dlfcn/failtest.c: New file.
7328 * dlfcn/failtestmod.c: New file.
7330 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
7332 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
7333 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
7334 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
7335 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
7336 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
7338 2000-06-09 Jes Sorensen <jes@linuxcare.com>
7340 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
7341 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
7343 2000-06-09 Jes Sorensen <jes@linuxcare.com>
7344 Ulrich Drepper <drepper@redhat.com>
7346 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
7347 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
7348 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
7349 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
7350 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
7351 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
7353 2000-06-09 Ulrich Drepper <drepper@redhat.com>
7355 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
7356 to find correct mount point despite wrong information from the
7359 2000-06-09 Jes Sorensen <jes@linuxcare.com>
7361 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
7362 the address of a symbol so function pointers are handled properly.
7364 2000-06-08 Ulrich Drepper <drepper@redhat.com>
7366 * sysdeps/i386/Dist: Add bp-asm.h.
7368 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
7369 defaultdir variable instead of "/var/shm" everywhere.
7370 (defaultdir): Change to /dev/shm/.
7372 2000-06-08 Greg McGary <greg@mcgary.org>
7374 * sysdeps/i386/bp-asm.h: New file.
7375 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
7376 offsets. Add ENTER/LEAVE macros for optionally maintaining
7377 frame-pointer chain when debugging.
7378 * sysdeps/i386/add_n.S: Likewise.
7379 * sysdeps/i386/addmul_1.S: Likewise.
7380 * sysdeps/i386/lshift.S: Likewise.
7381 * sysdeps/i386/memchr.S: Likewise.
7382 * sysdeps/i386/memcmp.S: Likewise.
7383 * sysdeps/i386/mul_1.S: Likewise.
7384 * sysdeps/i386/rawmemchr.S: Likewise.
7385 * sysdeps/i386/rshift.S: Likewise.
7386 * sysdeps/i386/stpcpy.S: Likewise.
7387 * sysdeps/i386/stpncpy.S: Likewise.
7388 * sysdeps/i386/strchr.S: Likewise.
7389 * sysdeps/i386/strchrnul.S: Likewise.
7390 * sysdeps/i386/strcspn.S: Likewise.
7391 * sysdeps/i386/strpbrk.S: Likewise.
7392 * sysdeps/i386/strrchr.S: Likewise.
7393 * sysdeps/i386/strspn.S: Likewise.
7394 * sysdeps/i386/strtok.S: Likewise.
7395 * sysdeps/i386/sub_n.S: Likewise.
7396 * sysdeps/i386/submul_1.S: Likewise.
7397 * sysdeps/i386/elf/setjmp.S: Likewise.
7398 * sysdeps/i386/i486/strcat.S: Likewise.
7399 * sysdeps/i386/i486/strlen.S: Likewise.
7400 * sysdeps/i386/i586/add_n.S: Likewise.
7401 * sysdeps/i386/i586/lshift.S: Likewise.
7402 * sysdeps/i386/i586/memcpy.S: Likewise.
7403 * sysdeps/i386/i586/memset.S: Likewise.
7404 * sysdeps/i386/i586/rshift.S: Likewise.
7405 * sysdeps/i386/i586/strchr.S: Likewise.
7406 * sysdeps/i386/i586/strcpy.S: Likewise.
7407 * sysdeps/i386/i586/strlen.S: Likewise.
7408 * sysdeps/i386/i586/sub_n.S: Likewise.
7409 * sysdeps/i386/i686/add_n.S: Likewise.
7410 * sysdeps/i386/i686/memcpy.S: Likewise.
7411 * sysdeps/i386/i686/mempcpy.S: Likewise.
7412 * sysdeps/i386/i686/memset.S: Likewise.
7413 * sysdeps/i386/i686/strcmp.S: Likewise.
7415 2000-06-08 Ulrich Drepper <drepper@redhat.com>
7417 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
7419 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
7420 256 and don't use OPEN_MAX.
7422 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
7423 use it instead of LINK_MAX.
7424 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
7426 2000-06-08 Andreas Jaeger <aj@suse.de>
7428 * libio/genops.c (_IO_list_lock): Only compile body if we're
7430 (_IO_list_unlock): Likewise.
7431 (_IO_list_resetlock): Likewise.
7433 2000-06-07 Ulrich Drepper <drepper@redhat.com>
7435 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
7436 unless user defined it.
7438 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
7439 if not defined by the user.
7441 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
7442 * libio/iofwrite.c (_IO_fwrite): Likewise.
7444 * time/time.h: Add missing __THROW for clock_getcpuclockid
7447 * elf/Makefile (distribute): Add dl-dtprocnum.h.
7448 * include/elf.h: Include also <dl-dtprocnum.h>.
7449 * elf/dl-deps.c: Likewise.
7450 * elf/dl-lookup.c: Likewise.
7451 * elf/dl-runtime.c: Likewise.
7452 * elf/dl-version.c: Likewise.
7453 * elf/do-rel.h: Likewise.
7454 * elf/dynamic-link.h: Likewise.
7455 * elf/link.h: Likewise.
7456 * elf/rtld.c: Likewise.
7457 * sysdeps/generic/dl-dtprocnum.h: New file.
7458 * sysdeps/ia64/dl-dtprocnum.h: New file.
7459 * sysdeps/mips/dl-dtprocnum.h: New file.
7460 * sysdeps/sparc/dl-dtprocnum.h: New file.
7462 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
7464 * elf/do-lookup.h: Add some __builtin_expect.
7466 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
7468 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
7469 (_dl_dynamic_weak): New variable.
7470 * elf/dl-support.c: Likewise.
7471 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
7472 * elf/do-lookup.h: If we find a weak definition treat it like a
7473 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
7474 case treat it like before.
7476 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
7478 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
7480 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
7481 using l_map_start and l_map_end.
7483 * elf/dl-version.c: Add __builtin_expect in many places.
7485 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
7488 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
7490 Lock for stdio stream list becomes global, for use in LinuxThreads.
7492 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
7493 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
7494 _IO_list_resetlock): New interface for iterating global list of
7495 streams without accessing the _IO_list_all global variable,
7496 and for manipulating the lock which protects this list.
7497 * libio/libioP.h: Likewise.
7498 * libio/Version: Add entries for the new functions.
7500 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
7501 pointer to _IO_FILE.
7503 2000-06-07 Ulrich Drepper <drepper@redhat.com>
7505 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
7506 BIT() must actually be BITw().
7508 * locale/programs/ld-ctype.c: Handle SP and space consistently.
7510 * locale/programs/charmap.c: Allow string arguments for
7511 code_set_name and repertoiremap.
7513 2000-06-07 Andreas Jaeger <aj@suse.de>
7515 * elf/Makefile: Build ldconfig only when building shared libraries.
7517 2000-06-07 Jakub Jelinek <jakub@redhat.com>
7519 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
7521 (fdimf, __fdim, fdim): Likewise.
7523 2000-06-07 Ulrich Drepper <drepper@redhat.com>
7525 * locale/findlocale.c: Add __builtin_expect in many places.
7526 * locale/loadlocale.c: Likewise.
7528 2000-06-06 Greg McGary <greg@mcgary.org>
7530 * sysdeps/mips/elf/start.S: Trim redundant code.
7532 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
7533 Use C comments throughout. Line up operands column with tabs.
7534 * sysdeps/powerpc/strchr.S: Likewise.
7535 * sysdeps/powerpc/strcmp.S: Likewise.
7536 * sysdeps/powerpc/strcpy.S: Likewise.
7537 * sysdeps/powerpc/strlen.S: Likewise.
7539 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
7540 Get low part of &__curbrk with @l.
7542 2000-06-06 Ulrich Drepper <drepper@redhat.com>
7544 * iconvdata/utf-16.c: Add __builtin_expect in many places.
7545 * iconvdata/unicode.c: Likewise.
7546 * iconvdata/uhc.c: Likewise.
7547 * iconvdata/t.61.c: Likewise.
7548 * iconvdata/sjis.c: Likewise.
7549 * iconvdata/johab.c: Likewise.
7550 * iconvdata/iso_6937.c: Likewise.
7551 * iconvdata/iso_6937-2.c: Likewise.
7552 * iconvdata/iso8859-1.c: Likewise.
7553 * iconvdata/iso646.c: Likewise.
7554 * iconvdata/iso-2022-kr.c: Likewise.
7555 * iconvdata/iso-2022-jp.c: Likewise.
7556 * iconvdata/iso-2022-cn.c: Likewise.
7557 * iconvdata/gbgbk.c: Likewise.
7558 * iconvdata/gbk.c: Likewise.
7559 * iconvdata/euc-kr.c: Likewise.
7560 * iconvdata/euc-jp.c: Likewise.
7561 * iconvdata/euc-cn.c: Likewise.
7563 2000-06-05 Ulrich Drepper <drepper@redhat.com>
7565 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
7566 * iconvdata/big5.c: Likewise.
7567 * iconvdata/ansi_x3.110.c: Likewise.
7568 * iconvdata/8bit-generic.c: Likewise.
7569 * iconvdata/8bit-gap.c: Likewise.
7570 * iconv/loop.c: Likewise.
7571 * iconv/gconv_db.c: Likewise.
7572 * iconv/gconv_dl.c: Likewise.
7573 * iconv/gconv_simple.c: Likewise.
7574 * iconv/skeleton.c: Likewise.
7576 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
7577 (struct __gconv_step_data): Rename __is_last to __flags.
7578 * iconv/gconv_close.c: Change all uses of __is_last.
7579 * iconv/skeleton.c: Likewise.
7580 * iconvdata/iso-2022-cn.c: Likewise.
7581 * iconvdata/iso-2022-jp.c: Likewise.
7582 * iconvdata/iso-2022-kr.c: Likewise.
7583 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
7584 Recognize IGNORE error handling, set flag, and remove from name.
7585 * iconv/loop.c (ignore_errors_p): Define.
7586 Add flags parameter to both functions.
7587 * iconv/skeleton.c: Pass flags to all conversion functions.
7588 * iconv/gconv_simple.c: Add flags parameter to all functions.
7589 Don't return error for invald error if ignore flag is set.
7590 (ucs4_internal_loop_single): Add missing pointer increment.
7591 (internal_ucs4le_loop_single): Likewise.
7592 * iconv/iconv_prog.c: Implement handling of -c parameter.
7593 * iconvdata/8bit-gap.c: Don't return error for invald error if
7595 * iconvdata/8bit-generic.c: Likewise.
7596 * iconvdata/ansi_x3.110.c: Likewise.
7597 * iconvdata/big5.c: Likewise.
7598 * iconvdata/big5hkscs.c: Likewise.
7599 * iconvdata/euc-cn.c: Likewise.
7600 * iconvdata/euc-jp.c: Likewise.
7601 * iconvdata/euc-kr.c: Likewise.
7602 * iconvdata/gbgbk.c: Likewise.
7603 * iconvdata/gbk.c: Likewise.
7604 * iconvdata/iso-2022-cn.c: Likewise.
7605 * iconvdata/iso-2022-jp.c: Likewise.
7606 * iconvdata/iso-2022-kr.c: Likewise.
7607 * iconvdata/iso646.c: Likewise.
7608 * iconvdata/iso8859-1.c: Likewise.
7609 * iconvdata/iso_6937-2.c: Likewise.
7610 * iconvdata/iso_6937.c: Likewise.
7611 * iconvdata/johab.c: Likewise.
7612 * iconvdata/sjis.c: Likewise.
7613 * iconvdata/t.61.c: Likewise.
7614 * iconvdata/uhc.c: Likewise.
7615 * iconvdata/unicode.c: Likewise.
7616 * iconvdata/utf-16.c: Likewise.
7617 * libio/fileops.c: Likewise.
7618 * libio/iofwide.c: Likewise.
7619 * wcsmbs/btowc.c: Likewise.
7620 * wcsmbs/mbrtowc.c: Likewise.
7621 * wcsmbs/mbsnrtowcs.c: Likewise.
7622 * wcsmbs/mbsrtowcs.c: Likewise.
7623 * wcsmbs/wcrtomb.c: Likewise.
7624 * wcsmbs/wcsnrtombs.c: Likewise.
7625 * wcsmbs/wcsrtombs.c: Likewise.
7626 * wcsmbs/wctob.c: Likewise.
7628 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
7631 2000-06-04 Ulrich Drepper <drepper@redhat.com>
7633 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
7634 counter for the object we are releasing, just decrement it.
7635 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
7637 2000-06-04 Jakub Jelinek <jakub@redhat.com>
7639 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
7642 2000-06-04 Ulrich Drepper <drepper@redhat.com>
7644 * iconvdata/big5hkscs.c: New file.
7645 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
7647 * iconvdata/gconv-modules: Add entry for new module.
7648 * iconvdata/Makefile (modules): Add BIG5HKSCS.
7649 (distribute): Add big5hkscs.c.
7651 2000-06-01 Jakub Jelinek <jakub@redhat.com>
7653 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
7654 inlines to match prototypes in mathcalls.h.
7655 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
7656 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
7657 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
7658 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7660 2000-06-03 Ulrich Drepper <drepper@redhat.com>
7662 * elf/elf.h (SHT_SUNW_move): Define.
7664 * elf/elf.h: Add more Solaris compatiblity definitions.
7666 2000-06-03 Andreas Jaeger <aj@suse.de>
7668 * sysdeps/powerpc/dl-start.S: Close open comment.
7670 2000-06-03 Jakub Jelinek <jakub@redhat.com>
7672 * inet/Versions: Fix typo in rresvport_af export.
7674 2000-06-02 Ulrich Drepper <drepper@redhat.com>
7676 * math/tgmath.h: Pretty print.
7678 2000-06-02 Andreas Jaeger <aj@suse.de>
7680 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
7681 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7683 2000-06-02 Ulrich Drepper <drepper@redhat.com>
7685 * elf/rtld.c (process_envvars): Test for = after variable name.
7687 2000-06-01 Ulrich Drepper <drepper@redhat.com>
7689 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
7690 have extra call to __gmon_start__, use the pointer we already have.
7692 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
7695 * sysdeps/i386/elf/setjmp.S: Work around change is recent
7696 binutils. gas now emits a jump through the PLT instead of a
7697 relative jump if the jump target is an exported symbol.
7699 2000-05-31 Ulrich Drepper <drepper@redhat.com>
7701 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
7703 2000-05-31 Andreas Jaeger <aj@suse.de>
7705 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
7708 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
7709 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7711 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
7713 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
7715 2000-05-30 Ulrich Drepper <drepper@redhat.com>
7717 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
7719 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
7720 * locale/localeconv.c: Make function versioned (with same definition).
7722 * elf/Makefile (modules-names): Strip before using it.
7724 2000-05-30 Andreas Jaeger <aj@suse.de>
7726 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
7727 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
7728 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
7729 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
7730 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
7731 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
7733 2000-05-29 Ulrich Drepper <drepper@redhat.com>
7735 * Makefile: Add GNU make magic.
7737 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
7739 * inet/rcmd.c: Remove __P. Remove unused variables.
7740 (iruserfopen): Make first parameter const.
7741 (ruserok_sa): Return result of ruserok2_sa.
7742 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
7743 * inet/rexec.c: Remove unused variables. Other small cleanups.
7744 * inet/ruserpass.c: Remove __P. Remove unused variables.
7745 (ruserpass): Check results of memory allocation.
7746 * include/netdb.h: Add prototype for ruserpass.
7748 2000-05-29 Andreas Jaeger <aj@suse.de>
7750 * elf/readlib.c (interpreters): Use LD_SO since this is supported
7753 2000-05-29 Jakub Jelinek <jakub@redhat.com>
7755 * inet/rcmd.c (rresvport_af): Use correct port number.
7757 2000-05-26 Andreas Schwab <schwab@suse.de>
7759 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
7760 entries in all-sonames.
7761 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
7762 preserving the old name if different for compatibility.
7764 2000-05-29 Ulrich Drepper <drepper@redhat.com>
7766 * posix/Makefile (tests): Add tst-spawn.
7767 (tst-spawn-ARGS): New variable.
7768 * posix/tst-spawn.c: New file.
7770 * posix/spawn_faction_addclose.c: Correctly account for new entry.
7771 * posix/spawn_faction_adddup2.c: Likewise.
7772 * posix/spawn_faction_addopen.c: Likewise.
7773 * posix/spawni.c: Correctly test for success of dup2 calls.
7775 * posix/tst-preadwrite.c: Check success of malloc call.
7777 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7779 * posix/Makefile (tests): Add tst-exec.
7780 (tst-exec-ARGS): New variable.
7781 * posix/tst-exec.c: New file.
7783 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
7785 2000-05-04 Andreas Jaeger <aj@suse.de>
7787 * string/string.h: Remove __strdup prototype, it's not needed in
7790 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7792 * posix/Makefile (tests): Add tst-fork.
7793 * posix/tst-fork.c: New file.
7795 * resolv/inet_pton.c: Loose __P.
7797 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7799 * libio/libioP.h (_IO_CHECK_WIDE): Define.
7800 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
7801 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
7802 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
7803 _IO_CHECK_WIDE fails.
7805 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7807 * po/da.po: New file.
7809 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
7810 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
7812 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
7813 (Other iconv Implementations): Fix typo.
7814 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
7816 2000-05-27 Andreas Jaeger <aj@suse.de>
7818 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
7820 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
7821 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
7822 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7823 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7824 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
7825 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
7827 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
7828 endianness to decide how to pass arguments.
7829 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7831 * elf/vismain.c: Use test-skeleton interface.
7832 (TEST_FUNCTION): New macro.
7833 (do_test): Renamed from main.
7835 2000-05-27 Ulrich Drepper <drepper@redhat.com>
7837 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
7838 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
7840 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
7841 handling of AI_V4MAPPED flag.
7843 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
7844 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
7845 perform lookup for T_A type and tell getanswer_r to convert the
7846 result with new argument.
7847 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
7848 Don't convert addresses from IPv4 to IPv6 here.
7849 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
7850 IPv6 is wanted. Allow qtype and type from reply to disagree if
7851 IPv4 mapping has to be done. Perform mappings if required by the
7852 caller and not if RES_USE_INET6 bit in _res.options is set.
7853 Add several __builtin_expect.
7855 2000-05-26 Ulrich Drepper <drepper@redhat.com>
7857 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
7859 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
7862 * posix/tst-preadwrite.c: Allow parallel execution of
7863 tst-preadwrite and tst-preadwrite64.
7865 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
7866 * posix/tst-truncate.c: New file.
7867 * posix/tst-truncate64.c: New file.
7869 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
7872 * posix/Makefile (tests): Add tst-preadwrite64.
7873 * posix/tst-preadwrite.c: Alloc file being used also for testing
7874 pread64 and pwrite64.
7875 * posix/tst-preadwrite64.c: New file.
7877 2000-05-26 Andreas Jaeger <aj@suse.de>
7879 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
7880 of arguments dependend on endianness.
7881 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
7883 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
7885 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
7886 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
7887 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7888 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7890 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
7891 endianness to check how to pass argument.
7892 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7894 * elf/ldconfig.h: Update parameter list for process_elf_file.
7896 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
7897 Add parameter file_length and pass it ot process_elf*file.
7899 * sysdeps/generic/readelflib.c (check_ptr): New.
7900 (process_elf_file): Use check_ptr to check all accesses to the
7901 mmapped file. Add parameter file_length.
7903 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
7906 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
7907 Closes PR libc/1573, reported by Bradley White
7908 <bww@laurelnetworks.com>.
7910 2000-05-25 Ulrich Drepper <drepper@redhat.com>
7912 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
7913 __FAST_MATH__ is defined.
7915 2000-05-22 Andreas Jaeger <aj@suse.de>
7917 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
7918 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
7920 * manual/math.texi (FP Function Optimizations): Document gcc
7921 -ffast-math behaviour with mathinlines.
7923 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
7924 functions unless -ffast-math is given to gcc.
7926 2000-05-23 Jakub Jelinek <jakub@redhat.com>
7928 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
7929 __sincosl): Guard with __USE_GNU.
7931 2000-05-24 Ulrich Drepper <drepper@redhat.com>
7933 * csu/Makefile (routines): Add check_fds.
7934 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
7935 binaries. Add various __builtin_expect.
7936 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
7937 * sysdeps/generic/check_fds.c: ...here. New file.
7939 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
7940 binaries if file /etc/suid-debug is available.
7942 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
7943 and wcseqorder members.
7944 (struct locale_collate_t): Likewise.
7945 (collate_finish): Assign collation sequence value to each character.
7946 Create tables for output.
7947 (collate_output): Write out tables with collation sequence information.
7948 * locale/C-collate.c: Provide C locale data for collation sequence
7950 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
7951 _NL_COLLATE_COLLSEQWC.
7952 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
7953 _NL_COLLATE_COLLSEQWC.
7954 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
7955 include fnmatch_loop.c.
7956 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
7957 character is matched by range expression. Use collation sequence
7958 table. Outside glibc fall back on simple character value comparison.
7960 2000-05-24 Andreas Jaeger <aj@suse.de>
7962 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
7965 * intl/Makefile: Run gettext-test only if msgfmt is available.
7967 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
7968 Define it for newer kernels.
7970 2000-05-23 Ulrich Drepper <drepper@redhat.com>
7972 * elf/dl-sym.c: Minor cleanups.
7974 * configure.in: Add test for .protected.
7975 * config.make.in: Add have-protected variable.
7976 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
7977 (tests-vis-yes): Add vismain.
7978 (modules-names): Add $(modules-vis-$(have-protected)).
7979 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
7980 Add rules to generate and run vismain.
7981 * elf/vismain.c: New file.
7982 * elf/vismod1.c: New file.
7983 * elf/vismod2.c: New file.
7984 * elf/vismod3.c: New file.
7986 2000-05-23 Andreas Jaeger <aj@suse.de>
7988 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
7990 * manual/search.texi (Array Sort Function): Document that qsort is
7991 not necessarily in-place.
7993 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
7994 Closes PR libc/1731.
7996 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
7997 * dirent/scandir64.c: Likewise.
7998 * pwd/getpw.c: Likewise.
7999 * stdlib/bsearch.c (bsearch): Likewise.
8000 * stdlib/tst-strtoll.c: Likewise.
8001 * localedata/collate-test.c: Likewise.
8002 * localedata/xfrm-test.c: Likewise.
8003 * posix/bsd-getpgrp.c: Likewise.
8004 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
8005 * sysdeps/generic/bits/siginfo.h: Likewise.
8006 * sysdeps/generic/bits/sockaddr.h: Likewise.
8007 * sysdeps/generic/sys/swap.h: Likewise.
8008 * sysdeps/generic/sys/sysinfo.h: Likewise.
8009 * sysdeps/generic/vfork.c: Likewise.
8010 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
8011 * sysdeps/mach/hurd/fdopen.c: Likewise.
8012 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
8013 * sysdeps/unix/sysv/linux/poll.c: Likewise.
8014 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8015 * sysdeps/unix/sysv/linux/writev.c: Likewise.
8016 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8017 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8018 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
8020 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
8021 * shadow/lckpwdf.c: Likewise.
8022 * stdlib/tst-strtol.c: Likewise.
8023 * sysdeps/generic/tcsetattr.c: Likewise.
8024 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8025 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8027 2000-05-22 Jakub Jelinek <jakub@redhat.com>
8029 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
8030 free it and set to (void *) -1.
8032 2000-05-22 Jakub Jelinek <jakub@redhat.com>
8034 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
8035 not the second character in the range.
8036 * stdio-common/tstscanf.c (main): Add testcase for the above.
8037 Reported by jik@kamens.brookline.ma.us.
8039 2000-05-21 H.J. Lu <hjl@gnu.org>
8041 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
8042 with noexec and noplt parameter.
8043 (do_lookup): Likewise.
8045 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
8046 do_lookup. Support STV_PROTECTED.
8047 (_dl_lookup_symbol_skip): Likewise.
8048 (_dl_lookup_versioned_symbol): Likewise.
8049 (_dl_lookup_versioned_symbol_skip): Likewise.
8051 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
8053 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
8055 2000-05-21 Jakub Jelinek <jakub@redhat.com>
8057 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
8058 * sysdeps/i386/bits/huge_val.h: Likewise.
8059 * sysdeps/ieee754/bits/huge_val.h: Likewise.
8060 * sysdeps/m68k/bits/huge_val.h: Likewise.
8061 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
8062 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
8064 2000-05-22 Andreas Jaeger <aj@suse.de>
8066 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
8069 2000-05-19 Andreas Jaeger <aj@suse.de>
8071 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
8072 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
8073 breaks compilation without linuxthreads.
8075 2000-05-21 Ulrich Drepper <drepper@redhat.com>
8077 * sysdeps/ia64/memccpy.S: New file.
8078 * sysdeps/ia64/memchr.S: New file.
8079 * sysdeps/ia64/memcmp.S: New file.
8080 * sysdeps/ia64/memcpy.S: New file.
8081 * sysdeps/ia64/memmove.S: New file.
8082 * sysdeps/ia64/memset.S: New file.
8083 * sysdeps/ia64/strcat.S: New file.
8084 * sysdeps/ia64/strchr.S: New file.
8085 * sysdeps/ia64/strcmp.S: New file.
8086 * sysdeps/ia64/strcpy.S: New file.
8087 * sysdeps/ia64/strlen.S: New file.
8088 * sysdeps/ia64/strncmp.S: New file.
8089 * sysdeps/ia64/strncpy.S: New file.
8090 * sysdeps/ia64/softpipe.h: New file.
8091 Patches by Dan Pop <Dan.Pop@cern.ch>.
8093 * manual/memory.texi: Document memory handling functions (mlock,
8094 munlock, mlockall, munlockall, brk, and sbrk)
8095 * manual/time.texi: Document timespec and friends.
8096 * manual/conf.texi: Fix references.
8097 * manual/ctype.texi: Likewise.
8098 * manual/errno.texi: Likewise.
8099 * manual/intro.texi: Likewise.
8100 * manual/locale.texi: Likewise.
8101 * manual/sysinfo.texi: Likewise.
8102 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8104 2000-05-09 Jes Sorensen <jes@linuxcare.com>
8106 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
8107 * sysdeps/ia64/dl-lookupcfg.h: ...here.
8109 2000-05-21 Jakub Jelinek <jakub@redhat.com>
8111 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
8114 2000-05-21 Ulrich Drepper <drepper@redhat.com>
8116 * locale/locale.h (struct lconv): Add new elements from ISO C99.
8117 * locale/localeconv.c: Initialize new elements from ISO C99.
8118 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
8119 new standard elements.
8120 * locale/categories.def: Adjust accordingly.
8122 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
8123 * iconv/iconv.c: Likewise.
8124 * conform/data/iconv.h-data: Likewise.
8125 * iconv/iconv_prog.c (process_block): Remove const from second
8127 (main): Remove const from addr definition.
8128 * manual/charset.texi (Generic Conversion Interface): Remove from
8129 inbuf parameter of iconv.
8131 * intl/dcigettext.c: Fix typo in comment.
8133 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
8135 * resolv/res_libc.c (_res): Initialize _sock to -1.
8137 2000-05-18 Jakub Jelinek <jakub@redhat.com>
8139 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
8140 (fopencookie@@GLIBC_2.2): New.
8141 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
8142 (fopencookie@GLIBC_2.0): New.
8143 * libio/Versions: Add fopencookie to GLIBC_2.2.
8145 2000-05-18 Andreas Jaeger <aj@suse.de>
8147 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
8148 Closes PR libc/1731.
8150 * manual/arith.texi (Parsing of Integers): Fix typo.
8151 Closes PR libc/1744, reported by blp@gnu.org.
8153 2000-05-17 Jakub Jelinek <jakub@redhat.com>
8155 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
8156 __extension__ to hexadecimal floating constant notation.
8157 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
8159 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
8160 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
8162 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
8163 HUGE_VALL): Likewise.
8164 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
8165 HUGE_VALL): Likewise.
8166 (HUGE_VALL): Set to HUGE_VAL on sparc32.
8168 2000-05-17 Andreas Jaeger <aj@suse.de>
8170 * string/envz.h: Add pure attributes if possible.
8172 * string/argz.h: argz_count is a pure function.
8174 * string/strings.h: Add pure and const attributes if possible.
8176 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
8177 possibly searching through the whole memory.
8178 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
8180 2000-05-17 Jakub Jelinek <jakub@redhat.com>
8182 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
8184 (_dl_cache_check_flags): Likewise.
8185 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
8188 2000-05-17 Andreas Jaeger <aj@suse.de>
8190 * manual/creature.texi (Feature Test Macros): Remove paragraph
8191 since the description is wrong.
8192 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
8194 * scripts/config.sub: New version.
8195 * scripts/config.guess: Likewise.
8196 * manual/texinfo.tex: Likewise.
8198 * time/test_time.args: Removed.
8199 * time/Makefile (test_time-ARGS): Added contents here instead.
8201 * posix/tstgetopt.args: Removed.
8202 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
8204 * Rules: Allow arguments for test files to be specified in
8205 Makefile with testname-ARGS; remove rules with .args in it.
8207 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
8208 remove old bogus rule for opendir-tst1.args.
8210 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
8212 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
8213 into objdir. This allows a readonly sourcetree.
8214 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
8216 2000-05-16 Andreas Jaeger <aj@suse.de>,
8217 David Huggins-Daines <dhd@linuxcare.com>
8219 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
8220 cache_data in case of only new cache format correctly.
8222 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
8225 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
8226 struct cache_file_new.
8228 * elf/cache.c (save_cache): Fix str_offset if only new cache is
8231 * elf/cache.c (save_cache): Align struct new_file_cache.
8232 (print_cache): Likewise.
8234 2000-05-13 Jakub Jelinek <jakub@redhat.com>
8236 * elf/soinit.c (__libc_global_ctors): Move
8237 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
8238 * resolv/resolv.h (__res_state): Added __attribute__((const)).
8239 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
8240 variable, don't define it to __res_state call.
8242 2000-05-13 Andreas Jaeger <aj@suse.de>
8244 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
8246 (AF_PPPOX): Likewise.
8247 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
8248 (AF_PPPOX): Likewise.
8250 2000-05-12 Andreas Jaeger <aj@suse.de>
8252 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
8253 Reported by tmoestl@gmx.net, closes PR libc/1732.
8255 2000-05-11 Jan Hubicka <jh@suse.cz>
8257 * misc/sys/cdefs.h: Add support for pure attribute.
8259 * include/string.h: Add __attribute_pure__ to various functions.
8260 * string/string.h: Likewise.
8262 2000-05-10 Jakub Jelinek <jakub@redhat.com>
8264 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
8266 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8268 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
8270 2000-05-10 Jakub Jelinek <jakub@redhat.com>
8272 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
8273 at proper place. Compute the high nibble correctly.
8275 2000-05-09 Jakub Jelinek <jakub@redhat.com>
8277 * elf/ldconfig.c: Include elf.h.
8279 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
8280 (_dl_vsym): Likewise.
8281 Reported by Owen Taylor <otaylor@redhat.com>.
8283 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
8286 2000-05-08 Andreas Jaeger <aj@suse.de>
8288 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
8290 * intl/bindtextdom.c (set_binding_values): Add prototype.
8292 2000-05-08 Jakub Jelinek <jakub@redhat.com>
8294 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
8295 call to elf_machine_fixup_plt.
8296 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8297 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8299 2000-05-08 Jakub Jelinek <jakub@redhat.com>
8301 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
8302 they are not dlclose'd from underneath us.
8304 2000-05-08 Andreas Schwab <schwab@suse.de>
8306 * posix/execle.c: Fix size parameter of memcpy.
8308 2000-05-08 Andreas Schwab <schwab@suse.de>
8310 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
8311 getpagesize syscall if available.
8313 2000-05-08 Andreas Jaeger <aj@suse.de>
8315 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
8318 2000-05-08 Jakub Jelinek <jakub@redhat.com>
8320 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
8321 sizeof(struct link_map *) chunks, not in bytes.
8323 2000-05-07 Ulrich Drepper <drepper@redhat.com>
8325 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
8326 only needed for locale.
8327 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
8328 It's only needed for catgets.
8329 Patches by Greg McGary <gkm@eng.ascend.com>.
8331 2000-05-07 Mark Kettenis <kettenis@gnu.org>
8333 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
8334 Remove duplicate <errno.h> include. Remove inclusion of
8335 <libintl.h> and "nsswitch.h".
8336 (set_cloexec_flag): New function, broken out of dbopen.
8337 (dbopen): Changed return type to `enum
8338 nss_status'. Mostly rewritten to make sure that we do not report
8339 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
8340 (internal_setent): Change return type to nss_status.
8341 Document, and make sure that the function
8342 behaves accordingly. Make dynamically loading the database
8343 library really thread-safe and return NSS_STATUS_UNAVAIL if it
8345 (db_cursor): Return ENOMEM is memory allocation failed. Remove
8347 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
8349 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
8350 c_get function member.
8351 * nss/nss_db/nss_db.h: Add and tweak some comments.
8352 (DBT): Move typedef before NSS_DBC typedef.
8353 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
8355 2000-05-07 H.J. Lu <hjl@gnu.org>
8357 * csu/initfini.c: Moved to ....
8358 * sysdeps/generic/initfini.c: ...here.
8360 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
8362 2000-05-07 Ulrich Drepper <drepper@redhat.com>
8364 * manual/resource.texi: Document POSIX scheduling functions.
8365 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8367 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
8368 reading anything. Reported by Andries.Brouwer@cwi.nl.
8370 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
8371 for x since promotion in comparison might leads to unexpected
8372 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
8374 * iconv/Makefile (tests): Add tst-iconv1.
8375 * iconv/tst-iconv1.c: New file.
8376 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
8377 empty input buffer over full output buffer.
8378 (ucs4_internal_loop): Likewise.
8379 (ucs4_internal_loop_unaligned): Likewise.
8380 (internal_ucs4le_loop): Likewise.
8381 (internal_ucs4le_loop_unaligned): Likewise.
8382 (ucs4le_internal_loop): Likewise.
8383 (ucs4le_internal_loop_unaligned): Likewise.
8384 Reported by yaoz@nih.gov.
8386 2000-05-06 Bruno Haible <haible@clisp.cons.org>
8388 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
8389 returned != __GCONV_OK, there is nothing to clean up.
8391 2000-05-06 Bruno Haible <haible@clisp.cons.org>
8393 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
8394 OUTPUT_CHARSET environment variables.
8396 2000-05-06 Andreas Jaeger <aj@suse.de>
8398 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
8399 (struct cache_file_new): New.
8400 (struct file_entry): New (moved from cache.c).
8401 (struct cache_file): New (moved from cache.c).
8403 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
8404 from _dl_load_cache_lookup.
8405 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
8406 the different cache formats.
8407 New variable cache_new for new format.
8409 * elf/ldconfig.h: Change according to changes in cache.c and
8410 ldconfig.c; remove cache_libcmp; add opt_format.
8412 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
8413 stuff that's defined in those headers.
8414 Add hwcap to struct lib_entry.
8415 (opt_format): New variable to select cache format.
8416 (options): Add format parameter.
8417 (is_hwcap): New function.
8418 (path_hwcap): New function.
8419 (parse_opt): Handle new format parameter.
8420 (search_dir): Handle hwcap, search also subdirectories with hwcap.
8422 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
8423 ldconfig is part of glibc.
8424 Include dl-cache.h and remove stuff that's defined there.
8425 (struct cache_entry): Add new member hwcap.
8426 (print_entry): Print hwcap, cleanup a bit.
8427 (print_cache): Print new and old formats.
8428 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
8429 (save_cache): Save new and old formats.
8430 (add_to_cache): Handle hwcap.
8432 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
8433 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
8434 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
8435 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
8436 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
8437 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
8439 2000-05-05 Bruno Haible <haible@clisp.cons.org>
8441 * intl/dcigettext.c (alignof): New macro.
8442 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
8443 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
8446 2000-05-05 Bruno Haible <haible@clisp.cons.org>
8448 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
8451 2000-05-06 Ulrich Drepper <drepper@redhat.com>
8453 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
8454 (mempcpy): Correct typo is parameter list.
8456 2000-05-06 Andreas Jaeger <aj@suse.de>
8458 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
8459 functions unless -ffast-math is given to gcc.
8461 2000-05-06 Ulrich Drepper <drepper@redhat.com>
8463 * po/ko.po: Update from translation team.
8465 2000-05-05 Ulrich Drepper <drepper@redhat.com>
8467 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
8468 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
8469 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
8470 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
8471 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
8472 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
8474 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
8475 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
8476 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
8478 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
8479 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
8480 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
8481 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
8483 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
8484 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
8486 2000-05-05 Jes Sorensen <jes@linuxcare.com>
8488 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
8489 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
8491 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
8492 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
8494 * sysdeps/ia64/Implies: New file.
8495 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
8496 * sysdeps/ia64/Makefile: New file.
8497 * sysdeps/ia64/gmp-mparam.h: New file,
8499 * sysdeps/ia64/elf/start.S: New file.
8501 * sysdeps/ia64/bits/fenv.h: New file.
8503 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
8505 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
8507 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
8509 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
8510 ia64 has 64 bit .hash entries just as the Alpha.
8512 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
8514 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
8516 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
8518 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
8519 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
8520 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
8521 * sysdeps/ia64/fpu/fegetenv.c: New file.
8522 * sysdeps/ia64/fpu/fegetexcept.c: New file.
8523 * sysdeps/ia64/fpu/fegetround.c: New file.
8524 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
8525 * sysdeps/ia64/fpu/fesetenv.c: New file.
8526 * sysdeps/ia64/fpu/fesetround.c: New file.
8527 * sysdeps/ia64/fpu/feupdateenv.c: New file.
8528 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
8529 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
8530 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
8531 * sysdeps/ia64/fpu/ftestexcept.c: New file.
8533 2000-05-05 Andreas Jaeger <aj@suse.de>
8535 * misc/tst-tsearch.c (main): Correct type for initstate argument.
8537 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8538 (_dl_string_hwcap): New, does nothing.
8540 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8541 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8542 (_dl_string_hwcap): New function, converts from string to hwcap
8544 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
8545 (_DL_HWCAP_COUNT): New.
8546 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8547 (_dl_string_hwcap): New function, converts from string to hwcap
8549 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
8550 (_DL_HWCAP_COUNT): New.
8551 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8552 (_dl_string_hwcap): New function, converts from string to hwcap
8555 2000-05-05 Ulrich Drepper <drepper@redhat.com>
8557 * elf/Makefile (distribute): Add dl-lookupcfg.h.
8558 * sysdeps/ia64/Dist: New file.
8560 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
8561 parameter to mprotect and for variable assignments.
8563 2000-05-03 Jes Sorensen <jes@linuxcare.com>
8565 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
8566 validity of map before dereferencing it.
8568 * elf/dl-reloc.c (RESOLVE_MAP): Define.
8570 2000-05-02 Jes Sorensen <jes@linuxcare.com>
8572 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
8573 lookup to the arguments to elf_machine_fixup_plt().
8575 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
8576 of the symbol being resolved to input argument list and make the
8577 function return the pointer to the reloc.
8579 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
8580 return valuie to lookup_t and return the value.
8581 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
8582 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
8583 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
8584 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
8585 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
8586 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
8588 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
8589 Make it an inline function returning value after calling
8590 __elf_machine_fixup_plt().
8592 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
8595 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
8596 obtain the symbol address.
8598 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
8599 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
8601 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
8602 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
8605 2000-04-28 Jes Sorensen <jes@linuxcare.com>
8607 * elf/dl-runtime.c (fixup): Use the portable macros to get the
8608 symbol address of an object.
8610 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
8611 the symbol address of an object.
8613 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
8614 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
8615 (_dl_lookup_symbol_skip): Likewise.
8616 (_dl_lookup_versioned_symbol): Likewise.
8617 (_dl_lookup_versioned_symbol_skip): Likewise.
8619 2000-04-27 Jes Sorensen <jes@linuxcare.com>
8621 * elf/rtld.c (_dl_start): Get the function pointer return address
8622 via _dl_start_address for architectures that need a function
8623 pointer descriptor rather than just a pointer (ia64).
8625 * sysdeps/generic/dl-lookupcfg.h: New file.
8626 * sysdeps/ia64/dl-lookupcfg.h: New file.
8627 * sysdeps/ia64/dl-machine.h: New file.
8628 * sysdeps/ia64/dl-symaddr.c: New file.
8629 * sysdeps/ia64/dl-fptr.c: New file.
8631 * elf/elf.h: Add IA-64 specific definitions.
8633 2000-05-04 Jakub Jelinek <jakub@redhat.com>
8635 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
8638 2000-05-04 Jakub Jelinek <jakub@redhat.com>
8640 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
8643 2000-04-11 Geoff Keating <geoffk@cygnus.com>
8645 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
8646 symbol. Call _dl_init rather than the old way.
8648 2000-05-04 Ulrich Drepper <drepper@redhat.com>
8650 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
8651 test for pointer in range of DSO address space.
8653 2000-05-04 Andreas Jaeger <aj@suse.de>
8655 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
8657 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8659 * locale/findlocale.c (_nl_find_locale): Add new parameter to
8660 calls of _nl_make_l10nflist.
8662 * libio/stdio.h: Make fseeko and ftello prototypes available is
8663 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
8665 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
8666 real unsetenv implementation from 1999-07-29 [PR libc/1714].
8668 2000-05-03 Bruno Haible <haible@clisp.cons.org>
8670 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
8671 before calling tfind.
8673 2000-03-05 Jakub Jelinek <jakub@redhat.com>
8675 * resolv/resolv.h (res_querydomain): Remove redefinition to
8676 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
8678 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8680 * po/gl.po: Update from translation team.
8682 * manual/intro.texi (Program Basics): Change section title.
8683 * manual/process.texi: Fix reference.
8684 (Executing a File): Add reference exec in other section.
8685 * manual/signal.texi: Fix reference.
8686 * manual/startup.texi: Document syscall function.
8687 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8689 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8691 * intl/libintl.h (bind_textdomain_codeset): New declaration.
8692 * intl/bindtextdom.c (set_binding_values): New function.
8693 (bindtextdomain): Call it.
8694 (bind_textdomain_codeset): New function.
8695 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
8696 (free_mem): Free each binding's codeset.
8697 * intl/gettextP.h (struct binding): Add codeset field.
8698 (_nl_find_domain): Add domainbinding argument.
8699 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
8700 Pass it to _nl_make_l10nflist.
8701 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
8702 (_nl_make_l10nflist): Add domainbinding argument.
8703 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
8704 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
8705 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
8707 * manual/message.texi: New node "Charset conversion in gettext".
8709 2000-04-30 Bruno Haible <haible@clisp.cons.org>
8711 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
8712 appropriate. Handle possible __read error.
8714 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8716 * intl/gettextP.h (__builtin_expect): Define as empty if not a
8718 * intl/loadinfo.h (__builtin_expect): Likewise.
8719 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
8720 __builtin_expect where appropriate.
8721 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8722 * intl/localealias.c (extend_alias_table): Return an error indicator.
8723 (read_alias_file): Bail out if extend_alias_table fails.
8725 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8727 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
8728 * intl/localealias.c: Likewise.
8730 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8732 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
8733 Initialize domain->plural and domain->nplurals even if there is no
8736 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8738 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
8739 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
8740 In case of failure, goto converted.
8742 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8744 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
8745 * iconv/gconv_int.h (norm_add_slashes): Move to here.
8746 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
8749 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8751 * intl/dcigettext.c (transcmp): Compare the domains as well.
8752 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
8754 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
8757 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8759 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
8760 Reported by Bruno Haible.
8762 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8764 * manual/arith.texi: Remove @w from @itemize.
8766 2000-05-02 Andreas Jaeger <aj@suse.de>
8768 * conform/data/tar.h-data: Add some checks for specific values.
8770 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
8773 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
8776 * conform/data/netinet/in.h-data: Add exact checks for the values
8777 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
8779 * conform/data/float.h-data: Add some minimal values.
8781 * conform/conformtest.pl: Test for macros with string constants,
8782 check for minimum and maximum values.
8783 Add limits.h to headers.
8785 * conform/data/cpio.h-data: Test for value of MAGIC.
8787 * conform/data/limits.h-data: New file.
8789 2000-04-30 Bruno Haible <haible@clisp.cons.org>
8791 * math/Makefile (headers): Add bits/fenvinline.h.
8793 2000-05-01 Ulrich Drepper <drepper@redhat.com>
8795 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
8796 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
8798 * posix/Versions: Change posix_spawnattr_getdefault and
8799 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
8800 and posix_spawnattr_setsigdefault respectively.
8801 * posix/spawn.h: Likewise.
8802 * posix/spawnattr_getdefault.h: Likewise.
8803 * posix/spawnattr_setdefault.h: Likewise.
8804 * conform/data/spawn.h-data: Likewise.
8806 2000-05-01 Andreas Jaeger <aj@suse.de>
8808 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
8810 2000-04-30 Ulrich Drepper <drepper@redhat.com>
8812 * manual/sysinfo.texi: Document getdomainname, setdomainname
8814 * manual/string.texi: Fix typo.
8815 * manual/terminal.texi: Document gtty and stty.
8816 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8818 2000-04-30 Andreas Jaeger <aj@suse.de>
8820 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
8821 accordance with Austin Draft.
8823 2000-04-30 Ulrich Drepper <drepper@redhat.com>
8825 * catgets/gencat.c (read_input_file): Use isblank and not isspace
8826 to recognize second character in comment line.
8828 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
8829 ENOBUFS if we are out of memory.
8831 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
8832 available if __USE_XOPEN2K.
8833 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
8834 * sysdeps/unix/common/bits/fcntl.h: Likewise.
8835 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
8836 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8837 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
8838 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8839 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
8840 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
8842 2000-04-29 Ulrich Drepper <drepper@redhat.com>
8844 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
8845 Recognize option -s, -c, and -l.
8847 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
8849 * nscd/nscd.c: Start new session for nscd, drop privilegs
8850 to configured user if requested and no -S parameter are used.
8851 * nscd/nscd.conf: Add new option "server-user".
8852 * nscd/nscd_conf.c: Add support for new "server-user" option.
8853 * nscd/nscd.h: Add declaration for server_user variable.
8854 Based on patch by Chris Wing <wingc@engin.umich.edu>
8856 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8858 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
8859 that changing the __restore and __restore_rt signal return code
8862 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8864 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
8867 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8869 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
8871 2000-04-29 Ulrich Drepper <drepper@redhat.com>
8873 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
8874 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
8876 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
8877 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
8878 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
8879 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
8880 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
8881 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
8882 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
8883 posix_fallocate, and posix_madvise.
8884 * conform/data/netdb.h-data: New file.
8885 * conform/data/pthread.h-data: Add pthread_barrier_t,
8886 pthread_barrierattr_t, pthread_barrier_destroy,
8887 pthread_barrier_init, pthread_barrier_wait,
8888 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
8889 pthread_barrierattr_init, pthread_barrierattr_setpshared,
8890 pthread_condattr_getclock, pthread_condattr_setclock,
8891 pthread_getcpuclockid, pthread_mutex_timedlock,
8892 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
8893 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
8894 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
8895 * conform/data/sched.h-data: Add sched_ss_low_priority,
8896 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
8898 * conform/data/semaphore.h-data: Add sem_timedwait.
8899 * conform/data/signal.h-data: Add SIGIO.
8900 * conform/data/spawn.h-data: New file.
8901 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
8902 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
8903 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
8904 Fix typo in gmtime_r definition.
8905 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
8906 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
8907 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
8908 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
8909 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
8910 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
8911 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
8912 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
8913 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
8914 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
8915 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
8916 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
8917 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
8918 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
8919 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
8920 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
8921 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
8922 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
8923 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
8924 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
8925 typo in off_t definition.
8926 * conform/data/net/if.h-data: New file.
8927 * conform/data/netinet/in.h-data: New file.
8928 * conform/data/netinet/tcp.h-data: New file.
8929 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
8930 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
8931 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
8932 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
8933 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
8934 and posix_typed_mem_open.
8935 * conform/data/sys/socket.h-data: New file.
8936 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
8937 * conform/data/sys/types.h-data: Add pthread_barrier_t,
8938 pthread_barrierattr_t, and pthread_spinlock_t.
8939 * conform/data/sys/un.h-data: New file.
8940 * conform/data/sys/utsname.h-data: New file.
8942 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
8944 * inet/gethstbyad.c (gethostbyname): Likewise.
8945 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
8946 * inet/getipnodebyad.c (getipnodebyad): Likewise.
8947 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
8948 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
8950 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
8951 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
8952 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
8953 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
8954 * resolv/gethnamaddr.c (gethostbyname): Likewise.
8955 * resolv/netdb.h (struct hostent): Fix type of h_length member.
8956 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
8957 and second parameter.
8959 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
8962 2000-04-29 Andreas Jaeger <aj@suse.de>
8964 * conform/data/arpa/inet.h-data: New file.
8966 2000-04-28 Geoff Clare <gwc@unisoft.com>
8968 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
8969 path passed to ftw() or nftw() is an empty string.
8970 Closes PR libc/1710.
8972 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8974 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
8975 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
8976 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
8977 * localedata/tst-mbswcs4.c: New file.
8978 * localedata/tst-mbswcs5.c: New file.
8980 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
8981 == NULL. Little optimization.
8983 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
8984 DT_PREINIT_ARRAYSZ).
8985 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
8987 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
8988 overflows in conversion from ASCII.
8990 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8992 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
8993 * Makerules (full_config_sysdirs): Likewise.
8994 * MakeTAGS (full_config_sysdirs): Likewise.
8996 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8998 * .cvsignore: Remove linuxthreads.
8999 * po/.cvsignore: Remove *.pot.
9000 * posix/glob/.cvsignore: Removed.
9001 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
9003 2000-04-25 Andreas Jaeger <aj@suse.de>
9005 * conform/Makefile (distribute): Also distribute contents of
9008 * Makerules (no_deps): Remove abi-versions.h.
9010 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
9012 2000-04-25 Jakub Jelinek <jakub@redhat.com>
9014 * sysdeps/sparc/sparc64/elf/Dist: Remove.
9015 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
9016 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
9017 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
9018 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
9019 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
9022 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
9024 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
9026 2000-04-23 Bruno Haible <haible@clisp.cons.org>
9028 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
9029 * intl/l10nflist.c: Likewise.
9031 2000-04-23 Bruno Haible <haible@clisp.cons.org>
9033 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
9034 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
9035 * intl/textdomain.c [!_LIBC]: Likewise.
9036 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
9037 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
9038 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
9041 2000-04-23 Bruno Haible <haible@clisp.cons.org>
9043 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
9044 character set conversion also in the case the translation was found
9045 after a hash collision or through binary search. Store the maximum
9046 index together with the converted message. Use iconv() when available.
9047 In case of out of memory during conversion, return the unconverted
9048 translated string, not NULL.
9050 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
9052 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
9053 to avoid name clashes with the ia32 linker.
9055 2000-04-25 Jakub Jelinek <jakub@redhat.com>
9057 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
9060 2000-04-27 Ulrich Drepper <drepper@redhat.com>
9062 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
9063 strtoumax, strfry, and memfrob.
9064 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
9065 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9067 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
9068 if this function is available.
9070 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
9073 2000-04-27 Jakub Jelinek <jakub@redhat.com>
9075 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
9077 2000-04-27 Ulrich Drepper <drepper@redhat.com>
9079 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
9080 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
9081 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
9082 * localedata/tst-mbswcs3.c: New file.
9084 2000-04-26 Ulrich Drepper <drepper@redhat.com>
9086 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
9087 characters. Don't handle incomplete characters as errors.
9088 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
9089 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
9090 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
9091 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
9092 * localedata/tst-mbswcs2.c: New file.
9094 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
9095 stored character in state in UNPACK_BYTES macro.
9096 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
9097 test for available characters, handle result of BODY code correctly.
9098 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
9099 (distribute): Add tst-mbswcs.sh.
9100 Add rule to run tst-mbswcs.sh.
9101 * localedata/tst-mbswcs.sh: New file.
9102 * localedata/tst-mbswcs1.c: New file.
9104 2000-04-26 Jakub Jelinek <jakub@redhat.com>
9106 * nis/nis_callback.c (__nis_create_callback): Do failed memory
9107 allocation fixups centrally, fix __builtin_expect call, return NULL
9108 on failure, not NIS_NOMEMORY.
9110 2000-04-27 Bruno Haible <haible@clisp.cons.org>
9112 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
9114 * intl/loadinfo.h (internal_function): Define if not already defined.
9116 2000-04-27 Andreas Jaeger <aj@suse.de>
9118 * intl/libintl.h: Fix typo, reported by Bruno Haible
9119 <haible@clisp.cons.org>.
9121 2000-04-25 Ulrich Drepper <drepper@redhat.com>
9123 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
9124 setting the state to GMON_PROF_BUSY.
9126 2000-04-24 Ulrich Drepper <drepper@redhat.com>
9128 * elf/dl-profile.c (_dl_start_profile): define all variables which
9129 do not have to be global as local variables.
9131 * nis/nis_callback.c (__nis_create_callback): Partially undo last
9132 patch. Keep needed tests for failed memory allocation.
9134 * elf/dl-reloc.c (_dl_relocate_object): Add one more
9135 __builtin_expect saying that we don't normally expect to profile.
9137 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
9138 __builtin_expect where desirable.
9140 2000-04-23 Ulrich Drepper <drepper@redhat.com>
9142 * manual/Makefile (chapters): Add syslog.
9143 * manual/syslog.texi: New file.
9144 * manual/math.texi: Fix references.
9145 * manual/terminal.texi: Likewise.
9146 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9148 2000-04-18 Jakub Jelinek <jakub@redhat.com>
9150 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
9151 stdlib.h was not included or __USE_XOPEN not defined.
9153 2000-04-23 Ulrich Drepper <drepper@redhat.com>
9155 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
9156 Patch by Zack Weinberg <zack@wolery.cumb.org>.
9158 2000-04-22 Ulrich Drepper <drepper@redhat.com>
9160 * manual/examples/subopt.c (mount_opts): Add missing terminating
9162 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
9164 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
9165 * libio/ftello.c: Likewise.
9166 * libio/ftello64.c: Likewise.
9167 * libio/ioftell.c: Likewise.
9168 * sysdeps/generic/memrchr.c: Likewise.
9169 * sysdeps/posix/libc_fatal.c: Likewise.
9170 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9171 * misc/fstab.c: Include <string.h> for strcmp prototype.
9172 * sysdeps/generic/ldsodefs.h: Likewise.
9173 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9174 Patch by Kurt Roeckx <Q@ping.be>.
9176 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
9177 Remove db-open. Change all uses.
9178 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
9180 2000-04-21 Jakub Jelinek <jakub@redhat.com>
9182 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
9183 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
9184 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
9185 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
9186 with .set noat/at to shut up warnings.
9187 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
9188 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
9189 compilation if __NR_pciconfig_iobase is not defined.
9190 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
9193 2000-04-21 Ulrich Drepper <drepper@redhat.com>
9195 * manual/sysinfo.texi: Fix typo.
9196 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
9197 Replace "high precision time" with "high accuracy clock".
9199 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
9201 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
9202 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
9204 * nis/nis_subr.c: Use __builtin_expect.
9205 * nis/ypclnt.c: Likewise.
9206 * nis/nis_getservlist.c: Likewise.
9207 * nis/nis_creategroup.c: Likewise.
9209 * nis/nis_callback.c (__nis_create_callback): Check result of
9210 memory allocation. Fix memory leaks. Use __builtin_expect.
9211 (__nis_destroy_callback): Fix memory leaks.
9213 2000-04-21 Andreas Jaeger <aj@suse.de>
9215 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
9216 * sysdeps/mips/mips64/add_n.S: Likewise.
9217 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
9218 * sysdeps/mips/mips64/lshift.S: Likewise.
9219 * sysdeps/mips/mips64/mul_1.S: Likewise.
9220 * sysdeps/mips/mips64/rshift.S: Likewise.
9221 * sysdeps/mips/mips64/setjmp.S: Likewise.
9222 * sysdeps/mips/mips64/sub_n.S: Likewise.
9223 * sysdeps/mips/mips64/submul_1.S: Likewise
9224 * sysdeps/unix/mips/sysdep.S: Likewise.
9226 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
9227 and update comment. The strtab from _dl_relocate_object can be
9230 2000-04-21 Ulrich Drepper <drepper@redhat.com>
9232 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
9233 * iconv/iconv_close.c (iconv_close): Likewise.
9234 * iconv/iconv_open.c (iconv_open): Likewise.
9236 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
9237 __builtin_expect where useful.
9239 * grp/initgroups.c (initgroups): Test for result of memory
9240 allocation and punt if it fails.
9242 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
9243 * grp/fgetgrent.c (fgetfrent): Likewise.
9244 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
9246 2000-04-21 Jakub Jelinek <jakub@redhat.com>
9248 * libio/vasprintf.c: Include string.h to get memcpy prototype.
9250 2000-04-20 Ulrich Drepper <drepper@redhat.com>
9252 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
9253 don't search for NUL byte to decrement counter.
9254 Reported by Ulrich.Brink@sap.com.
9256 * iconv/gconv_simple.c: Define separate functions to convert from
9257 UCS4/UCS4-LE to the internal encoding.
9258 * iconv/gconv_builtin.h: Use separate functions to convert from
9259 UCS4/UCS4-LE to the internal encoding.
9260 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
9261 __gconv_transform_ucs4le_internal.
9263 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
9264 output buffer overflow. Reported by Ulrich.Brink@sap.com.
9266 * iconv/skeleton.c: Add some more __builtin_expect.
9267 * iconv/loop.c: Likewise.
9269 2000-03-08 H.J. Lu <hjl@gnu.org>
9271 * posix/regex.c (regex_compile): Correctly handle "\{" when
9272 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
9274 2000-04-20 Ulrich Drepper <drepper@redhat.com>
9276 * manual/stdio.texi: Give advise about handling error when using
9278 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
9280 2000-04-19 Jakub Jelinek <jakub@redhat.com>
9282 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
9283 field to nelems * sizeof (uint32_t).
9284 * locale/programs/ld-address.c (address_output): Align word fields
9286 * locale/programs/ld-monetary.c (monetary_output): Likewise.
9287 Don't restart idx pointers to idx end at the duo_int_curr_symbol
9289 Avoid giving arbitrary garbage in the crncystr field.
9290 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
9291 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
9293 * locale/programs/ld-numeric.c (numeric_output): Likewise.
9294 Don't restart idx pointers to idx end at the decimal_point_wc field.
9295 * locale/programs/ld-time.c (time_output): week_1stday should be
9296 word, not byte. Align it properly.
9298 2000-04-19 H.J. Lu <hjl@gnu.org>
9300 * csu/gmon-start.c (_start): Declared as "extern void".
9303 2000-04-18 Andreas Jaeger <aj@suse.de>
9305 * manual/install.texi (Running make install): Don't mention utmpd
9308 2000-04-18 Andreas Jaeger <aj@suse.de>
9310 * linuxthreads/Versions: Use ld instead of ld.so.
9312 * elf/Makefile (ld-map): Use ld.map.
9314 * Versions.def: Use ld instead of ld.so.
9315 * elf/Versions: Likewise.
9316 * sysdeps/mach/hurd/Versions: Likewise.
9318 2000-04-20 Andreas Jaeger <aj@suse.de>
9320 * elf/rtld.c (print_statistics): Move ifndef further up.
9321 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
9322 (dl_main): Likewise.
9324 2000-04-18 Ulrich Drepper <drepper@redhat.com>
9326 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
9327 * gmon/Versions: Move moncontrol to GLIBC_2.2.
9329 * po/cs.po: Update from translation team.
9331 * sysdeps/generic/updwtmp.c: Remove daemon support.
9333 * login/Makefile (routines): Remove utmp_daemon.
9335 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
9336 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
9337 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
9338 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
9340 * elf/rtld.c: Display statitics option also if hp timing is not
9343 * login/programs/connection.c: Removed.
9344 * login/programs/database.c Removed.
9345 * login/programs/error.c: Removed.
9346 * login/programs/request.c: Removed.
9347 * login/programs/xtmp.c: Removed.
9348 * login/programs/xtmp.h: Removed.
9349 * login/Makefile: Remove rules for utmpd.
9350 * login/README.utmpd: Removed.
9351 * login/utmp_daemon.c: Removed.
9352 * login/getutent_r.c: Remove references to daemon functions.
9353 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
9356 2000-04-18 Andreas Jaeger <aj@suse.de>
9358 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
9359 2.2 for libnsl, libresolv, librt, libnss_*.
9361 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
9363 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
9365 2000-04-18 Ulrich Drepper <drepper@redhat.com>
9367 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
9368 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
9369 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
9370 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
9371 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
9372 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
9373 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
9374 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
9375 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
9376 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
9377 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
9378 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
9379 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
9381 * sysdeps/unix/sysv/aix/msync.c: New file.
9382 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
9383 * sysdeps/unix/sysv/aix/net/if.h: New file.
9384 * sysdeps/unix/sysv/aix/pipe.c: New file.
9385 * sysdeps/unix/sysv/aix/poll.c: New file.
9386 * sysdeps/unix/sysv/aix/rename.c: New file.
9387 * sysdeps/unix/sysv/aix/rmdir.c: New file.
9388 * sysdeps/unix/sysv/aix/select.c: New file.
9389 * sysdeps/unix/sysv/aix/semctl.c: New file.
9390 * sysdeps/unix/sysv/aix/semget.c: New file.
9391 * sysdeps/unix/sysv/aix/semop.c: New file.
9392 * sysdeps/unix/sysv/aix/sendto.c: New file.
9393 * sysdeps/unix/sysv/aix/setgroups.c: New file.
9394 * sysdeps/unix/sysv/aix/setpgid.c: New file.
9395 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
9396 * sysdeps/unix/sysv/aix/setpriority.c: New file.
9397 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
9398 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
9399 * sysdeps/unix/sysv/aix/setsid.c: New file.
9400 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
9401 * sysdeps/unix/sysv/aix/shmat.c: New file.
9402 * sysdeps/unix/sysv/aix/shmctl.c: New file.
9403 * sysdeps/unix/sysv/aix/shmdt.c: New file.
9404 * sysdeps/unix/sysv/aix/shmget.c: New file.
9405 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
9406 * sysdeps/unix/sysv/aix/sigstack.c: New file.
9407 * sysdeps/unix/sysv/aix/socket.c: New file.
9408 * sysdeps/unix/sysv/aix/socketpair.c: New file.
9409 * sysdeps/unix/sysv/aix/speed.c: New file.
9410 * sysdeps/unix/sysv/aix/symlink.c: New file.
9411 * sysdeps/unix/sysv/aix/sync.c: New file.
9412 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
9413 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
9414 * sysdeps/unix/sysv/aix/times.c: New file.
9415 * sysdeps/unix/sysv/aix/ulimit.c: New file.
9416 * sysdeps/unix/sysv/aix/umask.c: New file.
9417 * sysdeps/unix/sysv/aix/unlink.c: New file.
9418 * sysdeps/unix/sysv/aix/ustat.c: New file.
9419 * sysdeps/unix/sysv/aix/utimes.c: New file.
9421 2000-04-18 Andreas Jaeger <aj@suse.de>
9423 * manual/startup.texi (Environment Access): Fix putenv prototype
9424 according to recent changes.
9425 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
9428 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
9431 2000-04-18 Ulrich Drepper <drepper@redhat.com>
9433 * posix/Makefile (tests): Add tst-getaddrinfo.
9434 * posix/tst-getaddrinfo.c: New file.
9436 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9438 * manual/sysinfo.texi: Document that umount2 is not widely available.
9440 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
9441 signal timing is not really implemented.
9443 2000-04-17 Andreas Jaeger <aj@suse.de>
9445 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
9447 2000-04-17 Jakub Jelinek <jakub@redhat.com>
9449 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
9452 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9454 * manual/intro.texi: Change reference from System Information to
9456 * manual/users.texi: Likewise.
9457 * manual/conf.texi: Likewise.
9458 * manual/sysinfo.texi: Document mount, umount, and umount2.
9459 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9461 2000-04-17 Jakub Jelinek <jakub@redhat.com>
9463 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
9464 Create wnumstr as well as numstr to support wide character output
9467 2000-04-15 Jakub Jelinek <jakub@redhat.com>
9469 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
9470 modification and move it...
9471 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
9472 Add -melf64_sparc switch to $(LD) on sparc64-linux.
9473 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
9474 switch to $(LD) on sparc-linux.
9476 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
9478 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
9479 and setresuid from sysdep_routines.
9481 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9483 * manual/Makefile (chapters): Add resource.
9485 * manual/time.texi: Move section on resources to...
9486 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
9488 * manual/setjmp.texi: Adjust back reference.
9489 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9491 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
9493 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
9494 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
9495 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
9496 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
9497 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
9498 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
9499 * sysdeps/unix/sysv/aix/close.c: Add copyright.
9500 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
9501 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
9502 * sysdeps/unix/sysv/aix/access.c: Add copyright.
9503 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
9504 * sysdeps/unix/sysv/aix/Implies: New file.
9505 * sysdeps/unix/sysv/aix/Versions: New file.
9506 * sysdeps/unix/sysv/aix/bind.c: New file.
9507 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
9508 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
9509 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
9510 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
9511 * sysdeps/unix/sysv/aix/chdir.c: New file.
9512 * sysdeps/unix/sysv/aix/chmod.c: New file.
9513 * sysdeps/unix/sysv/aix/chroot.c: New file.
9514 * sysdeps/unix/sysv/aix/creat.c: New file.
9515 * sysdeps/unix/sysv/aix/dl-close.c: New file.
9516 * sysdeps/unix/sysv/aix/dl-open.c: New file.
9517 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
9518 * sysdeps/unix/sysv/aix/fchdir.c: New file.
9519 * sysdeps/unix/sysv/aix/fchmod.c: New file.
9520 * sysdeps/unix/sysv/aix/getgroups.c: New file.
9521 * sysdeps/unix/sysv/aix/gethostname.c: New file.
9522 * sysdeps/unix/sysv/aix/getpriority.c: New file.
9523 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
9524 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
9525 * sysdeps/unix/sysv/aix/getrusage.c: New file.
9526 * sysdeps/unix/sysv/aix/link.c: New file.
9527 * sysdeps/unix/sysv/aix/madvise.c: New file.
9528 * sysdeps/unix/sysv/aix/mkdir.c: New file.
9529 * sysdeps/unix/sysv/aix/mknod.c: New file.
9530 * sysdeps/unix/sysv/aix/mprotect.c: New file.
9531 * sysdeps/unix/sysv/aix/msgctl.c: New file.
9532 * sysdeps/unix/sysv/aix/msgget.c: New file.
9533 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
9535 2000-04-17 Andreas Jaeger <aj@suse.de>
9537 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
9538 as suggested by Ulrich Drepper.
9539 (__dl_runtime_resolve): Remove unused variable, initialize sym
9541 (RTLD_START): Document OFFSET_GP_GOT.
9542 (OFFSET_GP_GOT): New magic value.
9543 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
9544 (elf_machine_got_rel): Only declare strtab if needed.
9545 (elf_machine_relplt): Removed, it's not needed.
9546 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
9548 * sysdeps/mips/add_n.S: Add newline at EOF.
9549 * sysdeps/mips/rshift.S: Likewise.
9550 * sysdeps/mips/mul_1.S: Likewise.
9551 * sysdeps/mips/lshift.S: Likewise.
9552 * sysdeps/mips/addmul_1.S: Likewise.
9554 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9556 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
9558 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
9559 * elf/dl-lookup.c: Likewise.
9560 * elf/dl-init.c (_dl_init): Likewise.
9561 * elf/dl-fini.c (_dl_fini): Likewise.
9562 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9563 * elf/dl-close.c (_dl_close): Likewise.
9564 * elf/rtld.c (_dl_start_final): Likewise.
9566 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
9568 2000-04-15 Ulrich Drepper <drepper@redhat.com>
9570 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
9571 only fall back on using Linux.
9573 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
9574 Before testing versions check that we actually loaded the object
9575 and whether we are in trace mode. If not loaded during tracing don't
9576 test versions in this object.
9577 (_dl_check_all_versions): Take new parameter and pass to
9578 _dl_check_map_versions.
9579 * sysdeps/generic/ldsodefs.h: Update prototypes for
9580 _dl_check_all_versions and _dl_check_map_versions.
9581 * elf/rtld.c (struct version_check_args): Add dotrace.
9582 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
9583 (dl_main): Pass info about trace mode to version_check_doit.
9584 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
9585 _dl_check_all_versions.
9587 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
9589 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9591 * manual/argp.texi: Document index parameter of argp_parse.
9593 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
9595 2000-04-14 Andreas Jaeger <aj@suse.de>
9597 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
9598 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
9600 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
9602 2000-04-15 Ulrich Drepper <drepper@redhat.com>
9604 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
9605 compat_symbol call for old adjtime.
9607 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
9608 function interface. Patch by Richard Henderson <rth@cygnus.com>.
9610 * posix/Makefile (headers): Add spawn.h.
9611 (distribute): Add spawn_int.h.
9612 (routines): Add spawn_faction_init, spawn_faction_destroy,
9613 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
9614 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
9615 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
9616 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
9617 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
9618 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
9619 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
9620 posix_spawnattr_init, posix_spawnattr_destroy,
9621 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
9622 posix_spawnattr_getflags, posix_spawnattr_setflags,
9623 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
9625 * posix/spawn.c: New file.
9626 * posix/spawn.h: New file.
9627 * posix/spawn_faction_addclose.c: New file.
9628 * posix/spawn_faction_adddup2.c: New file.
9629 * posix/spawn_faction_addopen.c: New file.
9630 * posix/spawn_faction_destroy.c: New file.
9631 * posix/spawn_faction_init.c: New file.
9632 * posix/spawn_int.h: New file.
9633 * posix/spawnattr_destroy.c: New file.
9634 * posix/spawnattr_getdefault.c: New file.
9635 * posix/spawnattr_getflags.c: New file.
9636 * posix/spawnattr_getpgroup.c: New file.
9637 * posix/spawnattr_getschedparam.c: New file.
9638 * posix/spawnattr_getschedpolicy.c: New file.
9639 * posix/spawnattr_getsigmask.c: New file.
9640 * posix/spawnattr_init.c: New file.
9641 * posix/spawnattr_setdefault.c: New file.
9642 * posix/spawnattr_setflags.c: New file.
9643 * posix/spawnattr_setpgroup.c: New file.
9644 * posix/spawnattr_setschedparam.c: New file.
9645 * posix/spawnattr_setschedpolicy.c: New file.
9646 * posix/spawnattr_setsigmask.c: New file.
9647 * posix/spawni.c: New file.
9648 * posix/spawnp.c: New file.
9650 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
9651 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
9653 2000-04-14 Ulrich Drepper <drepper@redhat.com>
9655 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
9656 * malloc/malloc.c: Implement posix_memalign for glibc.
9657 * include/stdlib.h: Add prototype for __posix_memalign.
9658 * stdlib/stdlib.h: Add prototype for posix_memalign.
9660 2000-04-14 Andreas Jaeger <aj@suse.de>
9662 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
9664 (elf_machine_got_rel): Cast sym correctly.
9666 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
9667 * sysdeps/mips/addmul_1.S: Likewise.
9668 * sysdeps/mips/lshift.S: Likewise.
9669 * sysdeps/mips/mul_1.S: Likewise.
9670 * sysdeps/mips/rshift.S: Likewise.
9671 * sysdeps/mips/sub_n.S: Likewise.
9672 * sysdeps/mips/submul_1.S: Likewise.
9674 * stdlib/stdlib.h: Fix typo in comment.
9676 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
9677 2.2 for libdl, ld and libm.
9679 * sysdeps/generic/madvise.c: Fix typos.
9681 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
9683 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
9685 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
9688 2000-04-14 Ulrich Drepper <drepper@redhat.com>
9690 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
9691 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
9692 Make old name weak alias.
9693 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
9694 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
9695 Make old name weak alias.
9696 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
9698 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
9699 posix_fallocate, and posix_fallocate64.
9700 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
9701 posix_fallocate, and posix_fallocate64.
9702 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
9703 posix_fallocate, and posix_fallocate64.
9704 * sysdeps/generic/fadvise.c: New file.
9705 * sysdeps/generic/fadvise64.c: New file.
9706 * sysdeps/generic/fallocate.c: New file.
9707 * sysdeps/generic/fallocate64.c: New file.
9708 * sysdeps/posix/fallocate.c: New file.
9709 * sysdeps/posix/fallocate64.c: New file.
9710 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
9711 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
9712 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
9713 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
9714 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
9715 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
9716 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9717 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
9718 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9720 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
9721 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9723 2000-04-13 Ulrich Drepper <drepper@redhat.com>
9725 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
9726 * misc/sys/mman.h (posix_madvise): Add prototype.
9727 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
9728 old name and posix_madvise weak aliases.
9729 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9730 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
9731 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
9732 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9733 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
9734 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9735 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9737 2000-04-13 Andreas Jaeger <aj@suse.de>
9739 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
9741 (elf_machine_got_rel): Only add runtime display if needed.
9742 (elf_machine_got_rel): Handle symbol versioning.
9744 2000-04-13 Andreas Jaeger <aj@suse.de>
9746 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
9748 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
9751 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
9752 with some applications.
9753 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
9755 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
9756 * sysdeps/mips/bsd-_setjmp.S: Likewise.
9757 * sysdeps/mips/setjmp.S: Likewise.
9759 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
9761 2000-04-13 Ulrich Drepper <drepper@redhat.com>
9763 * posix/globtest.sh: Work around inconsistency with expanding ~/
9764 in shell (PR libc/1690). Reported by patsmith@pobox.com.
9766 2000-04-12 Ulrich Drepper <drepper@redhat.com>
9768 * posix/getconf.c: Add support for many more POSIX options.
9769 * sysdeps/posix/sysconf.c: Likewise.
9770 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
9771 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
9773 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
9774 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
9775 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
9776 CLOCK_THREAD_CPUTIME_ID.
9777 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
9778 CLOCK_PROCESS_CPUTIME_ID.
9779 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
9780 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
9781 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
9782 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
9784 * malloc/Makefile (tests): Add tst-calloc.
9785 * malloc/tst-calloc.c: New file.
9787 * sysdeps/arm/libm-test-ulps: New file.
9789 * malloc/malloc.c: Undo all of today's changes.
9791 * locale/programs/locale.c (show_info): Don't try to look into
9792 data for LC_ALL (there is none).
9794 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
9795 avoid writing over boundary.
9796 Patch by Greg McGary <gkm@eng.ascend.com>.
9798 * sysdeps/arm/memprof.h: New file.
9800 2000-04-12 Andreas Jaeger <aj@suse.de>
9802 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
9804 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
9805 for memmem declaration.
9807 2000-04-12 Ulrich Drepper <drepper@redhat.com>
9809 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
9811 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
9813 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
9815 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
9816 Patch by Bart Veer <bartv@redhat.com>.
9818 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
9821 2000-04-11 Andreas Jaeger <aj@suse.de>
9823 * sysdeps/mips/dl-machine.h: Update some comments.
9824 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
9826 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9828 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
9829 _POSIX_SHARED_MEMORY_OBJECTS.
9831 * rt/Makefile (tests): Add tst-shm.
9832 Add rules to generate tst-shm.
9833 * rt/tst-shm.c: New file.
9835 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
9838 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
9839 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
9840 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
9841 * sysdeps/generic/shm_open.c: New file.
9842 * sysdeps/generic/shm_unlink.c: New file.
9843 * sysdeps/unix/sysv/linux/shm_open.c: New file.
9844 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
9845 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
9846 __endmntent, __getmntent_r, __setmntent, and __statfs.
9848 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
9849 fragmentation by allocating new memory at the end instead of
9852 * posix/globtest.sh: Fix last change.
9854 2000-04-10 Philip Blundell <philb@gnu.org>
9856 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
9857 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
9858 IPV6_DROP_MEMBERSHIP.
9859 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
9862 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9864 * elf/readlib (process_file): Close streams in case of an error.
9866 2000-04-09 Andreas Jaeger <aj@suse.de>
9868 * elf/readlib.c (process_file): Check if file is big enough to
9869 contain aout and ELF headers.
9870 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
9872 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
9874 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
9876 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9878 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
9880 * rt/Makefile (tests): Add tst-clock.
9881 Add rules to build tst-clock.
9882 * rt/tst-clock.c: New file.
9883 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
9884 about initialization of nsec.
9885 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
9886 about initialization of freq. Set retval to zero if successful.
9887 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
9889 2000-04-10 Ulrich Drepper <drepper@redhat.com>
9891 * Versions.def (librt): Add GLIBC_2.2.
9892 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
9893 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
9894 timer_getoverr, timer_gettime, and timer_settime.
9895 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
9896 clock_settime, timer_create, timer_delete, timer_getoverrun,
9897 timer_gettime, and timer_settime.
9898 * sysdeps/generic/clock_getcpuclockid.c: New file.
9899 * sysdeps/generic/get_clockfreq.c: New file.
9900 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
9901 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
9902 * sysdeps/mach/hurd/i386/bits/time.h: New file.
9903 * sysdeps/unix/i386/i586/clock_getres.c: New file.
9904 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
9905 * sysdeps/unix/i386/i686/Implies: New file.
9906 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
9907 * time/Makefile (routines): Move clock_getres, clock_gettime,
9908 clock_settime, timer_create, timer_delete, timer_getoverr,
9909 timer_gettime, and timer_settime to rt/Makefile.
9910 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
9911 clock_settime, timer_create, timer_delete, timer_getoverrun,
9912 timer_gettime, and timer_settime.
9913 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
9915 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
9916 and not const as attribute name.
9918 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
9920 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
9922 2000-04-10 Andreas Schwab <schwab@suse.de>
9924 * posix/globtest.sh: Skip tests that depend on unreadable
9925 directories if run as root.
9927 2000-04-10 Ulrich Drepper <drepper@redhat.com>
9929 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
9930 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
9932 2000-04-09 Ulrich Drepper <drepper@redhat.com>
9934 * sysdeps/unix/clock_gettime.c: New file.
9935 * sysdeps/unix/clock_settime.c: New file.
9936 * sysdeps/posix/clock_getres.c: New file.
9938 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
9940 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
9941 lseek call be passing in a buffer which never allow a successful
9942 first getdents syscall if not at leas the initial entry can be
9943 stored in the user buffer.
9945 * localedata/Makefile: Add rules to clean up directories created by
9948 2000-04-09 Geoff Clare <gwc@unisoft.com>
9950 * localedata/tst-fmon.data: Added new tests for strfmon()
9951 using test locales with all combinations of cs_precedes,
9952 sign_posn and sep_by_space.
9953 * localedata/tst-fmon.sh: Updated to support the new tests.
9954 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
9955 the localedef source for the new strfmon() test locale.
9956 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
9957 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
9958 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
9959 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
9960 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
9961 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
9962 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
9963 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
9964 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
9965 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
9966 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
9967 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
9968 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
9969 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
9971 * stdlib/strfmon.c: Correct problems with missing or extra
9972 spaces for unusual combinations of sign_posn and sep_by_space.
9973 Improved left-precision alignment code.
9975 2000-04-07 Andreas Jaeger <aj@suse.de>
9977 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
9979 2000-04-10 Andreas Jaeger <aj@suse.de>
9981 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
9983 2000-04-09 Ulrich Drepper <drepper@redhat.com>
9985 Implement handling of restartable conversion functions according to
9987 * iconv/gconv.h (__gconv_fct): Add additional parameter.
9988 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
9989 * iconv/gconv.c: Pass additional parameter to conversion function.
9990 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
9991 (internal_ucs4le_loop_single): New function.
9992 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
9993 (__gconv_transform_internal_ascii): Likewise.
9994 (__gconv_transform_internal_utf8): Likewise.
9995 (__gconv_transform_utf8_internal): Likewise.
9996 (__gconv_transform_ucs2_internal): Likewise.
9997 (__gconv_transform_internal_ucs2): Likewise.
9998 (__gconv_transform_ucs2reverse_internal): Likewise.
9999 (__gconv_transform_internal_ucs2reverse): Likewise.
10000 (internal_ucs4le_loop_unaligned): Before return
10001 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
10002 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
10003 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
10004 * iconv/loop.c: Fit in definition of function to convert one character
10005 for processing of left-over bytes from the state object.
10006 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
10007 inend to match names in loop functions.
10008 (RESET_INPUT_BUFFER): Change apprpriately.
10009 (gconv): If needed, call function to process bytes from the state
10010 object. Similar at the end: store left over bytes if input is
10012 Take extra argument and add new argument to all calls of the
10013 conversion function.
10014 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
10015 information in the state object to not conflict with length count.
10016 * iconvdata/iso-2022-jp.c: Likewise.
10017 * iconvdata/iso-2022-kr.c: Likewise.
10018 * iconvdata/unicode.c: Adjust for change change in parameters of
10020 * iconvdata/utf-16.c: Likewise.
10021 * libio/iofwide.c: Add new parameter to all calls of conversion
10023 * wcsmbs/btowc.c: Likewise.
10024 * wcsmbs/mbrtowc.c: Likewise.
10025 * wcsmbs/mbsnrtowcs.c: Likewise.
10026 * wcsmbs/mbsrtowcs.c: Likewise.
10027 * wcsmbs/wcrtomb.c: Likewise.
10028 * wcsmbs/wcsnrtombs.c: Likewise.
10029 * wcsmbs/wcsrtombs.c: Likewise.
10030 * wcsmbs/wctob.c: Likewise.
10032 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
10035 2000-04-07 Andreas Jaeger <aj@suse.de>
10037 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
10040 2000-04-07 Ulrich Drepper <drepper@redhat.com>
10042 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
10043 element a union to allow byte access.
10044 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
10046 * iconvdata/iso-2022-jp.c: Likewise.
10047 * iconvdata/iso-2022-kr.c: Likewise.
10048 * wcsmbs/mbsinit.c: Likewise.
10049 * stdlib/mblen.c: Likewise.
10050 * stdio-common/printf-parse.h: Likewise.
10052 2000-04-06 Ulrich Drepper <drepper@redhat.com>
10054 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
10055 kernel does not allow relative seeks on descriptors associated
10056 with directories. Go back to get the position in the directory
10057 every time we enter the function. Return -1 and set errno if one
10058 entry could be read from the kernel but does not fit into the
10059 buffer passed in by the user.
10061 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
10062 Support ..(2).. ellipsis.
10063 (parse_charmap): Recognize ..(2).. etc and pass step down.
10064 Correctly generate names for UCS4 characters.
10066 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
10067 (ctype_finish): We know the wide character value for <SP>,
10069 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
10070 (charclass_ucs4_ellipsis): Likewise.
10071 (read_translit_ignore_entry): Store ellipsis step.
10072 (ctype_read): Recognize ..(2).. etc and pass step down.
10074 * locale/programs/linereader.c (lr_token): When seeing comment
10075 character ignore only rest of line in sources but stop at escaped
10077 Recognize ..(2).. and ....(2).....
10079 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
10080 and tok_ellipsis4_2.
10082 2000-04-06 Andreas Jaeger <aj@suse.de>
10084 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
10085 removed, remove it here also.
10086 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
10087 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
10088 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
10089 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
10091 2000-04-06 Jakub Jelinek <jakub@redhat.com>
10093 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
10094 include bits/sigcontext.h.
10095 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10097 2000-04-06 Ulrich Drepper <drepper@redhat.com>
10099 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
10100 collation symbol definition. Value in quivalence definition must
10101 be defined, don't check that it is not.
10103 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
10104 values as character names.
10106 * locale/programs/ld-ctype.c (get_character): Handle missing
10107 repertoire map correctly.
10109 2000-04-05 Cristian Gafton <gafton@redhat.com>
10111 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
10112 because it is used in generic code.
10113 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
10114 * wcsmbs/wcwidth.h: Declare __ctype32_b.
10115 * intl/gettext.c: Include <locale.h>.
10116 * intl/ngettext.c: Likewise.
10118 2000-04-05 Jakub Jelinek <jakub@redhat.com>
10120 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
10121 socklen_t type for size.
10122 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
10123 init function interface.
10124 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10125 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
10127 (__jmp_buf): Declare the whole type structure here, don't use
10130 2000-04-05 Ulrich Drepper <drepper@redhat.com>
10132 * iconv/skeleton.c (put16u): Fix typo.
10133 Reported by Bruno Haible <haible@ilog.fr>.
10135 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
10136 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
10137 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
10138 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
10139 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
10140 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
10142 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
10143 * Makefile (distribute): Add abi-versions.awk and
10145 Patches by Torsten Duwe <duwe@caldera.de>.
10147 2000-04-05 Andreas Schwab <schwab@suse.de>
10149 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
10151 2000-04-05 Andreas Schwab <schwab@suse.de>
10153 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
10154 entry point, used on Hurd.
10156 2000-04-04 Andreas Jaeger <aj@suse.de>
10158 * intl/Makefile: Only run the gettext test with shared libraries.
10160 2000-03-16 Mark Kettenis <kettenis@gnu.org>
10162 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
10163 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
10165 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
10167 * Makeconfig: Undo last change.
10168 * configure.in: If --disable-shared was given, don't set VERSIONING,
10169 don't define DO_VERSIONING, and don't give scare warning for no
10171 * configure: Regenerated.
10173 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
10175 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
10177 2000-04-04 Andreas Jaeger <aj@suse.de>
10179 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
10181 2000-04-04 Ulrich Drepper <drepper@redhat.com>
10183 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
10184 STV_HIDDEN and STV_INTERNAL during lookup.
10185 (profile_fixup): Likewise.
10186 * elf/dl-reloc.c (RESOLVE): Likewise.
10188 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
10189 unaligned so that it compiles for system which need unaligned
10192 2000-04-04 Andreas Schwab <schwab@suse.de>
10194 * elf/cache.c (print_entry): Only look at the type field when
10197 2000-04-04 Andreas Schwab <schwab@suse.de>
10199 * iconvdata/big5.c (BODY): Fix typo.
10201 2000-04-04 Andreas Schwab <schwab@suse.de>
10203 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
10204 function interface. Remove unused _dl_start_user entry point.
10206 2000-04-03 Andreas Jaeger <aj@suse.de>
10208 * include/arpa/inet.h (__inet_aton): Add protoype.
10210 2000-04-01 Andreas Jaeger <aj@suse.de>
10212 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
10214 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
10215 * sysdeps/mach/mips/thread_state.h: Likewise.
10217 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
10218 * sysdeps/generic/fegetenv.c: Likewise.
10219 * sysdeps/generic/fesetenv.c: Likewise.
10220 * sysdeps/generic/feupdateenv.c: Likewise.
10221 * sysdeps/generic/fraiseexcpt.c: Likewise.
10222 * sysdeps/generic/fsetexcptflg.c: Likewise.
10223 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
10224 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
10225 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10226 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10228 2000-04-02 H.J. Lu <hjl@gnu.org>
10230 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
10232 2000-04-03 Ulrich Drepper <drepper@redhat.com>
10234 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
10235 (add_name_to_object): Add cast in malloc call.
10236 (fillin_rpath): Optimize loop to initialize ->status a bit.
10238 * sysdeps/i386/dl-machine.h: Undo last change.
10239 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
10240 Restore %edx register after call here.
10242 * sysdeps/arm/atomicity.h: New file.
10243 Contributed by Jesper Skov <jskov@redhat.com>.
10245 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
10247 * Makeconfig (preprocess-versions): Undo last change.
10248 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
10250 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
10251 here, before we might move the stack.
10252 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
10253 (init1): And not here.
10255 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
10256 change, to restore argc value in call-clobbered register after
10257 RTLD_START_SPECIAL_INIT, which will contain a call.
10259 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
10260 allocating and initializing L->l_initfini.
10262 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
10264 2000-04-03 Ulrich Drepper <drepper@redhat.com>
10266 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
10267 RUNPATH, RPATH, and LD_LIBRARY_PATH.
10268 (open_path): Change type of fourth parameter. Make pointer to array
10269 of pointers. Create variable dirs with original type.
10270 Track whether any directory for the object exists and if not,
10271 change *DIRSP to (void*) -1 to signal there is no such search path.
10272 (_dl_map_object): Change all calls of open_path.
10273 Rewrite decompose_rpath calls.
10275 2000-03-31 Andreas Schwab <schwab@suse.de>
10277 * string/strfry.c: Declare STATE as array of char instead of int
10278 and do not initialize it (done by initstate_r). Pass correct
10281 2000-04-03 Ulrich Drepper <drepper@redhat.com>
10283 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
10285 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
10286 instruction out of the code.
10288 2000-04-02 Ulrich Drepper <drepper@redhat.com>
10290 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
10291 element at this position.
10293 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
10294 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
10295 l_reldeps elements.
10296 * elf/dl-lookup.c (add_dependency): New function.
10297 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
10298 dynamically loaded object.
10299 (_dl_lookup_symbol_skip): Likewise.
10300 (_dl_lookup_versioned_symbol): Likewise.
10301 (_dl_lookup_versioned_symbol_skip): Likewise.
10302 * elf/dl-open.c: Don't define _dl_load_lock here...
10303 * elf/rtld.c: ...but here...
10304 * elf/dl-support.c: ...and here.
10305 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
10306 through relocation.
10307 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
10309 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
10311 * dlfcn/glrefmain.c: Add one more debug message.
10313 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
10315 * Makerules (sysd-versions): Use ( ) instead of { }.
10317 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
10318 optimize for the non-debugging case.
10319 * elf/dl-lookup.c: Likewise.
10320 * sysdeps/generic/libc-start.c: Likewise.
10322 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
10324 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
10325 (init1): Don't initialize __environ here, since init already does it.
10326 (first_init): New function, broken out of _init.
10327 (_hurd_stack_setup): Use it.
10328 [SHARED] (_dl_init_first): New function, renamed from old _init.
10329 (init1) [SHARED]: Don't call posixland_init here.
10330 (posixland_init): Take ENVP arg, so signature is usual for initializer.
10331 [SHARED] (_init): Define as alias for posixland_init.
10332 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
10333 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
10334 RTLD_START_SPECIAL_INIT before calling initializers.
10335 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
10336 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
10337 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
10338 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
10340 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
10341 since we define the function with the name `tmpfile'.
10343 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
10344 * hurd/Versions: Likewise.
10346 2000-04-02 Ulrich Drepper <drepper@redhat.com>
10348 * elf/dl-runtime.c (fixup): Fix typo in comment.
10350 * resolv/netdb.h (getnameinfo): All length parameters are of type
10352 * inet/getnameinfo.c: Likewise.
10354 2000-04-01 Ulrich Drepper <drepper@redhat.com>
10356 * posix/unistd.h (socklen_t): Define if it has not yet happened.
10357 (gethostname): Change type of second parameter to socklen_t.
10358 * include/unistd.h (__gethostname): Change type of second
10359 parameter to socklen_t.
10360 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
10361 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
10362 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
10363 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
10365 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
10366 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
10367 Allow definition elsewhere.
10368 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
10369 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10370 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
10371 * sysdeps/generic/bits/types.h: Define __socklen_t.
10372 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
10373 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
10374 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
10375 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
10376 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
10377 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
10378 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
10380 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
10381 (inet_lnaof): Likewise.
10382 (inet_netof): Likewise.
10383 (inet_network): Likewise.
10384 (inet_aton): Likewise.
10385 (inet_makeaddr): Change parameter types to in_addr_t.
10386 (inet_neta): Likewise.
10387 (inet_ntop): Change type of last parameter to socklen_t.
10388 (inet_aton): Only make available if __USE_MISC.
10389 (inet_neta): Likewise.
10390 (inet_net_ntop): Likewise.
10391 (inet_net_pton): Likewise.
10392 (inet_nsap_ntoa): Likewise.
10394 * inet/in.h: Define in_port_t type.
10395 Define in_addr_t type.
10396 (struct in_addr): Use in_addr_t in definition.
10397 (IN_CLASSA): Use cast to in_addr_t.
10398 (IN_CLASSB): Likewise.
10399 (IN_CLASSC): Likewise.
10400 (IN_CLASSD): Likewise.
10401 (IN_EXPERIMENTAL): Likewise.
10402 (IN_BADCLASS): Likewise.
10403 (INADDR_ANY): Likewise.
10404 (INADDR_BROADCAST): Likewise.
10405 (INADDR_NONE): Likewise.
10406 (INADDR_LOOPBACK): Likewise.
10407 (INADDR_UNSPEC_GROUP): Likewise.
10408 (INADDR_ALLHOSTS_GROUP): Likewise.
10409 (INADDR_ALLRTRS_GROUP): Likewise.
10410 (INADDR_MAX_LOCAL_GROUP): Likewise.
10411 (struct sockaddr_in): Use in_port_t for sin_port element.
10412 (struct sockaddr_in6): Use in_port_t for sin6_port element.
10413 Use uint8_t instead of u_int8_t.
10415 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
10416 Call __inet_aton instead of inet_aton.
10417 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
10419 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
10420 (innetgr): Likewise.
10421 (struct addrinfo): Use socklen_t for ai_addrlen element.
10423 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
10424 IPV6_RECVERR): New defines.
10426 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
10427 * inet/getnetbyad.c: Likewise.
10428 * inet/getnetbyad_r.c: Likewise.
10429 * nis/nss_nis/nis-network.c: Likewise.
10430 * nis/nssplus_nis/nisplus-network.c: Likewise.
10431 * nss/nss_files/files-network.c: Likewise.
10432 * resolv/netdb.h: Define uint32_t if not already happened.
10433 Include bits/netdb.h. Remove definition of struct netent.
10434 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
10435 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
10436 * sysdeps/generic/bits/netdb.h: New file.
10437 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
10439 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
10440 (tests): Add glrefmain.
10441 Add rules to build modules and run tests. Ignore result of glrefmain
10442 for now since it fails.
10443 * dlfcn/glrefmain.c: New file.
10444 * dlfcn/glreflib1.c: New file.
10445 * dlfcn/glreflib2.c: New file.
10447 * test-skeleton.c: Include <string.h> for strsignal prototype.
10449 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
10452 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
10453 former init-first.h. Initialize __libc_multiple_libcs.
10455 2000-03-31 Ulrich Drepper <drepper@redhat.com>
10457 * iconv/skeleton.c: Define access macros with u suffix. Adjust
10458 #if expression for use of unaligned function to the one used in
10459 the definition of these functions.
10460 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
10461 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
10462 (internal_ucs4le_loop_unaligned): New function.
10464 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
10465 (tests): Add order.
10466 (module-names): Add dep1, dep2, dep3, and dep4.
10467 Add dependencies for dep* modules and order.
10468 Define rule for order.out which checks the result.
10469 * elf/dep1.c: New file.
10470 * elf/dep2.c: New file.
10471 * elf/dep3.c: New file.
10472 * elf/dep4.c: New file.
10473 * elf/order.c: New file.
10475 * elf/dl-init.c: Fix typo in comment.
10477 2000-03-31 Andreas Jaeger <aj@suse.de>
10479 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
10480 init function interface.
10481 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
10483 2000-03-31 Andreas Jaeger <aj@suse.de>
10485 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
10486 * sysdeps/mips/fpu/fegetenv.c: Likewise.
10487 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
10488 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
10489 * sysdeps/mips/fpu/fesetenv.c: Likewise.
10491 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
10492 anymore, update comment.
10494 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10496 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
10497 SHLIB_COMPAT - the struct is always needed.
10499 2000-03-31 Ulrich Drepper <drepper@redhat.com>
10501 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
10502 * elf/dl-support.c: Define _dl_starting_up.
10504 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10506 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
10507 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
10509 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
10511 * elf/Makefile (dl-routines): Remove preinit.
10512 * elf/Versions: Remove _dl_preinit.
10513 * elf/dl-preinit.c: Removed. Move content into...
10514 * elf/dl-init.c: ...here.
10515 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
10517 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
10520 2000-03-29 Geoff Clare <gwc@unisoft.com>
10522 * stdlib/strfmon.c: Corrected problems with the code that
10523 sets default values for [np]_sep_by_space and
10524 [np]_sign_posn; also the new positive/negative alignment
10525 code from the previous patch was not quite right for
10526 [np]_sign_posn = 0.
10528 * localedata/tst-fmon.data: Changes corresponding to the
10529 two sets of fixes made to stdlib/strfmon.c.
10531 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
10533 * malloc/malloc.c: Declare bit flags UL so that they will not
10534 default to int size when being inverted.
10536 2000-03-29 Andreas Jaeger <aj@suse.de>
10538 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
10539 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
10541 2000-03-29 Andreas Jaeger <aj@suse.de>,
10542 Ralf Baechle <ralf@uni-koblenz.de>
10544 * Makeconfig: Introduce new variable SHARED to mark code used in
10545 the shared library.
10546 * elf/dl-close.c: Use it instead of PIC.
10547 * elf/dl-load.c: Likewise.
10548 * elf/dl-open.c: Likewise.
10549 * hurd/geteuids.c: Likewise.
10550 * include/libc-symbols.h: Likewise.
10551 * include/shlib-compat.h: Likewise.
10552 * libio/freopen.c: Likewise.
10553 * linuxthreads/cancel.c: Likewise.
10554 * linuxthreads/pthread.c: Likewise.
10555 * linuxthreads/wrapsyscall.c: Likewise.
10556 * nss/nsswitch.c: Likewise.
10557 * stdio-common/vfprintf.c: Likewise.
10558 * sysdeps/arm/init-first.c: Likewise.
10559 * sysdeps/i386/init-first.c: Likewise
10560 * sysdeps/generic/init-first.c: Likewise.
10561 * sysdeps/generic/libc-start.c: Likewise.
10562 * sysdeps/mips/init-first.c: Likewise.
10563 * sysdeps/powerpc/elf/libc-start.c: Likewise.
10564 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10565 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
10566 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
10567 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10569 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
10571 2000-03-29 Andreas Jaeger <aj@suse.de>
10573 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
10574 Use D_PTR to access relocated entries in l_info.
10575 (elf_machine_rela): Likewise.
10577 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
10579 (elf_machine_rela): Likewise.
10581 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
10583 (__elf_machine_fixup_plt): Likewise.
10584 (__process_machine_rela): Likewise.
10586 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
10587 (elf_machine_rela): Likewise.
10589 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
10590 (elf_machine_rel): Likewise.
10592 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
10593 (elf_machine_fixup_plt): Likewise.
10594 (elf_machine_rela): Likewise.
10596 2000-03-29 Andreas Jaeger <aj@suse.de>
10598 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
10599 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10600 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10601 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
10602 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10603 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
10604 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
10605 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
10606 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
10607 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
10608 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
10609 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
10610 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
10611 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
10612 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10614 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
10615 macros, remove K&R prototypes.
10617 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10619 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
10620 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
10623 2000-03-30 Andreas Jaeger <aj@suse.de>
10625 * misc/sys/cdefs.h: Remove K&R support.
10627 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10629 * iconv/skeleton.c: Avoid compiling unaligned versions in some
10631 * iconv/loop.c: Likewise.
10633 2000-03-29 Bruno Haible <haible@clisp.cons.org>
10635 * iconv/loop.c (put16): Remove __const. Fix access index.
10636 (put32): Remove __const. Use uint32_t instead of uint16_t.
10637 * iconv/skeleton.c: Likewise.
10639 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
10641 * mach/Versions (libc: GLIBC_2.0)
10642 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
10643 __vm_allocate on this.
10644 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
10645 mutex- and spinlock-related symbols on this.
10646 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
10647 New version set. Lock-related symbols go here instead in this case.
10648 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
10649 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
10650 cthread_getspecific, cthread_setspecific, __libc_getspecific.
10652 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
10653 Put them here instead.
10654 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
10655 New version set. Those cthreads symbols go here instead in this case.
10656 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
10658 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10660 * elf/dl-init.c (_dl_init): We don't need to call constructors
10661 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
10663 Implement dynamic determination of constructor/destructor order in
10664 the dynamic linker.
10665 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
10666 (GLIBC_2.2): Add _dl_init.
10667 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
10668 r_duplist is not anymore allocated separately. l_initfini is and
10669 therefore free it if necessary.
10670 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
10671 malloc block. Otherwise allocate l_initfini list only.
10672 Put dependencies for the object in l_initfini list.
10673 Sort dependencies for the object to be loaded topologically.
10674 * elf/dl-fini.c: Before running the destructors sort the topologically.
10675 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
10676 call constructors instead of iterating over the pointers. Get list of
10677 objects for which to run constructors from l_initfini element. Accept
10678 argc, argv, and env as parameters and pass them to the constructors.
10679 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
10680 with size of dynamic section.
10681 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
10682 _dl_init_next and calling constructors ourself.
10683 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
10684 Take argc, argv, and env as parameters and pass them to the
10685 constructors. Rewrite to call all constructors and not iterate over
10687 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
10688 precompute l_initcount and l_preinitcount.
10689 * elf/link.h (struct link_map): Add l_ldnum member.
10690 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
10691 l_initcount, and l_preinitcount. Add l_initfini.
10692 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
10694 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
10695 function interface.
10696 * sysdeps/unix/sysv/linux/init-first.h: Removed.
10697 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
10698 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
10699 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
10700 conventions now match.
10702 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
10703 effect for shared objects. Don't emit message and call only for
10706 2000-03-29 Ulrich Drepper <drepper@redhat.com>
10708 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
10709 CSA_Z243.4-1985-1..UCS2.
10710 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
10713 2000-03-29 Andreas Jaeger <aj@suse.de>
10715 * include/unistd.h: Remove duplicate entry for __rmdir.
10716 Remove declaration of __mkdir since __mkdir is declared in
10719 * manual/creature.texi (Feature Test Macros): Fix typo, reported
10720 by Michael Deutschmann <michael@talamasca.ocis.net>.
10722 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
10723 * sysdeps/mips/fpu/fegetenv.c: Likewise.
10724 * sysdeps/mips/fpu/fesetenv.c: Likewise.
10725 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
10726 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
10728 2000-03-28 Andreas Jaeger <aj@suse.de>
10730 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
10731 declaration, the prototype is defined via bits/mathcalls.h.
10732 (__sincosf): Likewise.
10733 (__sincosl): Likewise.
10735 (ldexpf): Likewise.
10736 (ldexpl): Likewise.
10737 (__finite): Likewise.
10738 (__inline_mathcodeNP): New macro without prototype
10740 (__inline_mathcodeNP2): Likewise.
10741 (__inline_mathcodeNP3): Likewise.
10742 (__inline_mathcodeNP_): Likewise.
10743 (__inline_mathcodeNP2_): Likewise.
10744 (__inline_mathcodeNP3_): Likewise.
10745 (__inline_mathopNP): Likewise.
10746 (__inline_mathop_declNP): Likewise.
10747 (__inline_mathop_declNP_): Likewise.
10748 (__inline_mathcode_): Use __inline_mathcodeNP_.
10749 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
10750 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
10751 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
10752 (__expm1l): Don't define prototype, the prototype is defined via
10755 (__expl): Likewise.
10758 (__atan2l): Likewise.
10763 (__fabsl): Likewise.
10781 (__sqrtl): Likewise.
10791 2000-03-28 Ulrich Drepper <drepper@redhat.com>
10793 * Makerules: If make variable md5 is defined to yes after
10794 generating dependencies generate MD5 sum for the object.
10796 * iconv/gconv_builtin.h: Fix length in transformation definition
10799 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
10801 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
10802 allow as well reading from/writing to unaligned addresses on machines
10803 which don't support this in hardware. Use FCTNAME macro to define
10804 function name. Include the file a second time for platforms which
10805 need special unaligned handling.
10806 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
10807 to access potentially unaligned addresses. These macros are intended
10808 to be used only outside the loops.
10809 (unaligned): New definition. In case the machine can handle unaligned
10810 access define as zero. Otherwise as a variable which is initialized
10811 as nonzero in case the buffer passed in at runtime is unaligned with
10812 respect to the character set encoding involved.
10813 Call aligned or unaligned looop functions according to unaligned
10815 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
10816 of direct casting pointer to potentially handle unaligned memory
10818 * iconvdata/8bit-generic.c: Likewise.
10819 * iconvdata/ansi_x3.110.c: Likewise.
10820 * iconvdata/big5.c: Likewise.
10821 * iconvdata/euc-cn.c: Likewise.
10822 * iconvdata/euc-jp.c: Likewise.
10823 * iconvdata/euc-kr.c: Likewise.
10824 * iconvdata/euc-tw.c: Likewise.
10825 * iconvdata/gbk.c: Likewise.
10826 * iconvdata/iso-2022-cn.c: Likewise.
10827 * iconvdata/iso-2022-jp.c: Likewise.
10828 * iconvdata/iso-2022-kr.c: Likewise.
10829 * iconvdata/iso646.c: Likewise.
10830 * iconvdata/iso_6937-2.c: Likewise.
10831 * iconvdata/iso_6937.c: Likewise.
10832 * iconvdata/johab.c: Likewise.
10833 * iconvdata/sjis.c: Likewise.
10834 * iconvdata/t.61.c: Likewise.
10835 * iconvdata/uhc.c: Likewise.
10836 * iconvdata/unicode.c: Likewise.
10837 * iconvdata/utf-16.c: Likewise.
10839 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
10842 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
10843 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
10845 * malloc/mcheck.h (mcheck_check_all): Declare.
10847 * stdio-common/Makefile (tests): Add tst-obprintf.
10849 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
10851 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
10852 Declare pthread_sigmask.
10854 * csu/version.c: Add 2000 to copyright years.
10855 Remove Emacs local variables section.
10857 2000-03-23 Bruno Haible <haible@clisp.cons.org>
10859 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
10860 __gconv_transform_internal_ucs2little): Remove declarations.
10861 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
10862 __gconv_transform_internal_ucs2): Never need to bswap_16.
10863 (__gconv_transform_ucs2reverse_internal,
10864 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
10866 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
10868 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
10869 obsoleting version not being defined at all, in which case the
10870 result is always true.
10872 * Makeconfig (preprocess-versions): New canned sequence for running
10873 cpp on shlib-versions and the like.
10874 (soversions.i): Use it.
10875 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
10876 Versions.def and Versions files.
10878 2000-03-27 Ulrich Drepper <drepper@redhat.com>
10880 * stdio-common/tst-obprintf.c (main): Add another check to see
10881 obstack_printf handling all possible beginnings of the block
10882 inside an obstack chunk.
10884 * locale/programs/localedef.c: Use __malloc_initialize_hook to
10885 install mcheck handler.
10887 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
10890 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
10892 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
10894 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
10895 on [HAVE_ELF && DO_VERSIONING].
10897 2000-03-27 Ulrich Drepper <drepper@redhat.com>
10899 * stdio-common/tst-obprintf.c: New file.
10901 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10903 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
10904 _IO_OVERFLOW directly instead through __overflow.
10906 * locale/programs/localedef.c (construct_output_path): If path
10907 contains a / compute the end of the directory name correctly.
10909 * include/features.h: Undef and document __USE_XOPEN2K.
10911 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
10912 whenever a function is called. Initiated by calling mcheck_pedantic
10914 * malloc/mcheck.h: Declare mcheck_pedantic.
10915 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
10916 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
10919 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
10921 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
10922 * dlfcn/dlopenold.c: Likewise.
10923 * nss/getXXbyYY_r.c: Likewise.
10924 * nss/getXXent_r.c: Likewise.
10925 * hurd/hurdinit.c: Likewise.
10926 * hurd/compat-20.c: Likewise.
10927 * libio/oldiofopen.c: Likewise.
10928 * libio/oldiofclose.c: Likewise.
10929 * libio/oldiofdopen.c: Likewise.
10930 * libio/oldfileops.c: Likewise.
10931 * libio/oldstdfiles.c: Likewise.
10932 * libio/oldiofsetpos.c: Likewise.
10933 * libio/oldiofgetpos.c: Likewise.
10934 * libio/oldiofgetpos64.c: Likewise.
10935 * libio/oldiofsetpos64.c: Likewise.
10936 * libio/oldiopopen.c: Likewise.
10937 * libio/oldpclose.c: Likewise.
10938 * libio/oldtmpfile.c: Likewise.
10939 * libio/freopen.c (freopen): Likewise.
10940 * libio/iofclose.c (_IO_new_fclose): Likewise.
10942 * sysdeps/mach/sys/reboot.h: Include <features.h>.
10943 (reboot): Declare it.
10945 * libio/Makefile (headers): Add bits/stdio-lock.h here.
10947 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
10949 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
10951 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
10952 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
10953 We need this for the sbrk decl, which can be included without Unix98.
10955 2000-03-20 Richard Henderson <rth@cygnus.com>
10957 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
10958 argument to yperr2nss is an int, not size_t.
10959 * posix/regex.c (print_partial_compiled_pattern): Cast all
10960 ptrdiff_t to long for printing.
10961 (print_compiled_pattern): Use Z for printing size_t.
10962 * posix/testfnm.c (tests): Avoid trigraphs.
10963 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
10964 Use a C comment, not an assembly comment.
10966 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
10967 of __ASSUME_32BITUIDS.
10969 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10971 * libio/iofopncook.c: Remove K&R prototypes.
10973 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
10975 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
10976 an initial value of 1024 instead of RLIM_INFINITY.
10978 * Versions.def (libmachuser, libhurduser): Remove these sections,
10979 since these libraries do not presently use symbol versions.
10981 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
10982 is RLIM_INFINITY, return -1 instead.
10984 2000-03-24 Andreas Jaeger <aj@suse.de>
10986 * Makefile (postclean): Added soversions.i.
10988 2000-03-24 Scott Bambrough <scottb@netwinder.org>
10990 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
10991 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
10992 and _FPU_IEEE. Change _FPU_RESERVED.
10994 2000-03-24 Scott Bambrough <scottb@netwinder.org>
10996 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
10998 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
11000 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
11001 (gaih_inet): Remove unused duplicate variable.
11003 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
11004 Don't use __libc_sa_len, which only exists for Linux. Just handle
11005 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
11006 only flavors supported by this function anyway.
11008 2000-03-24 Geoff Clare <gwc@unisoft.com>
11010 * stdlib/strfmon.c: Corrected problems with missing signs and
11011 missing or extra spaces; allow for sign strings longer than
11012 one character; add padding to ensure positive and negative
11013 formats are aligned when a left precision is used.
11015 2000-03-26 Ulrich Drepper <drepper@redhat.com>
11017 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
11018 Patch by John Mizel <John.Mizel@msdw.com>.
11020 2000-03-25 Ulrich Drepper <drepper@redhat.com>
11022 * manual/install.texi: Remove references to crypt add-on.
11024 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
11026 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
11027 section while taking the _hurd_rlimit_lock.
11028 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
11030 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
11032 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
11035 * sysdeps/mach/hurd/if_index.c: New file.
11037 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
11038 * sysdeps/gnu/net/if.h: here.
11039 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
11040 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
11041 * sysdeps/generic/net/if.h: New file. Declares just the standard
11042 functions and `struct if_nameindex' type.
11043 * socket/Makefile (headers): Add net/if.h here.
11044 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
11045 * sysdeps/mach/hurd/Dist: Remove it here.
11046 * sysdeps/unix/sysv/linux/Dist: And here.
11047 * sysdeps/generic/if_index.c: Include <net/if.h>.
11049 2000-03-24 Andreas Jaeger <aj@suse.de>
11051 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
11052 access relocated entries in l_info.
11053 (elf_machine_got_rel): Likewise.
11054 (elf_machine_runtime_setup): Likewise.
11055 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
11056 (elf_machine_runtime_setup): Likewise.
11057 (__dl_runtime_resolve): Likewise.
11059 2000-03-23 Ulrich Drepper <drepper@redhat.com>
11061 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
11062 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
11063 according to RFC 2553.
11064 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
11065 * inet/getnameinfo.c: Likewise.
11066 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
11068 2000-03-23 Bruno Haible <haible@clisp.cons.org>
11070 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
11071 Remove no-op pointer increment.
11073 2000-03-23 Andreas Jaeger <aj@suse.de>
11075 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
11076 follow change for libio.h from 2000-03-10.
11078 2000-03-23 Andreas Jaeger <aj@suse.de>
11080 * elf/dl-addr.c: Adjust include paths for ldsodefs location
11082 * elf/dl-debug.c: Likewise.
11083 * elf/dl-deps.c: Likewise.
11084 * elf/dl-error.c: Likewise.
11085 * elf/dl-fini.c: Likewise.
11086 * elf/dl-init.c: Likewise.
11087 * elf/dl-load.c: Likewise.
11088 * elf/dl-lookup.c: Likewise.
11089 * elf/dl-minimal.c: Likewise.
11090 * elf/dl-object.c: Likewise.
11091 * elf/dl-open.c: Likewise.
11092 * elf/dl-preinit.c: Likewise.
11093 * elf/dl-profile.c: Likewise.
11094 * elf/dl-profstub.c: Likewise.
11095 * elf/dl-reloc.c: Likewise.
11096 * elf/dl-runtime.c: Likewise.
11097 * elf/dl-support.c: Likewise.
11098 * elf/dl-symbol.c: Likewise.
11099 * elf/dl-version.c: Likewise.
11100 * elf/rtld.c: Likewise.
11101 * elf/sprof.c: Likewise.
11102 * sysdeps/generic/dl-cache.c: Likewise.
11103 * sysdeps/generic/dl-origin.c: Likewise.
11104 * sysdeps/generic/dl-sysdep.c: Likewise.
11105 * sysdeps/generic/elf/backtracesyms.c: Likewise.
11106 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11107 * sysdeps/generic/libc-start.c: Likewise.
11108 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11109 * sysdeps/powerpc/dl-machine.c: Likewise.
11110 * sysdeps/powerpc/elf/libc-start.c: Likewise.
11111 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11112 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11113 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
11115 * elf/ldsodefs.h: Move file to ...
11116 * sysdeps/generic/ldsodefs.h: ... here.
11118 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
11120 * sysdeps/mips/elf/ldsodefs.h: New file.
11122 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
11124 (_dl_check_map_versions): Likewise.
11125 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11126 * elf/dl-load.c (_dl_init_paths): Likewise.
11127 (_dl_map_object): Likewise.
11128 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
11129 (elf_get_dynamic_info): Likewise.
11130 * elf/do-lookup.h (FCT): Likewise.
11131 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
11132 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
11133 * elf/dl-addr.c (_dl_addr): Likewise.
11134 * elf/dl-runtime.c (profile_fixup): Likewise.
11136 * elf/dl-init.c (_dl_init_next): Likewise.
11137 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
11138 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
11139 (DISTINGUISH_LIB_VERSIONS): Likewise.
11140 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
11141 (elf_machine_rel): Likewise.
11143 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
11144 for writable dynamic section.
11146 2000-03-22 Ulrich Drepper <drepper@redhat.com>
11148 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
11149 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
11151 2000-03-22 Andreas Jaeger <aj@suse.de>
11153 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
11154 from latest Linux kernel.
11156 2000-03-21 Andreas Jaeger <aj@suse.de>
11158 * Versions.def: Add version 2.1.4.
11160 2000-03-21 Ulrich Drepper <drepper@redhat.com>
11162 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
11163 * libio/oldiofopen.c: Likewise.
11164 * libio/oldiofclose.c: Likewise.
11165 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
11167 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
11169 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
11170 indicating the first version set to obsolete the conditionalized code.
11171 (compat_symbol): New macro.
11172 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
11173 rhs be the ABI_* macro for the subsuming version. Assign increasing
11174 integer values to the ABI_* macros for supported versions.
11175 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
11176 compat_symbol macro.
11178 2000-03-21 Ulrich Drepper <drepper@redhat.com>
11180 * nscd/connections.c (nscd_run): Pretty print.
11181 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
11183 * manual/charset.texi: Fix typos. Rephrase.
11184 * manual/process.texi: Likewise.
11185 * manual/signal.texi: Likewise.
11186 Patches by Mike Coleman <mkc@kc.net>.
11188 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
11190 * libio/iofdopen.c: Likewise.
11191 * libio/iofgetpos.c: Likewise.
11192 * libio/iofgetpos64.c: Likewise.
11193 * libio/iofopen.c: Likewise.
11194 * libio/iofsetpos.c: Likewise.
11195 * libio/iofsetpos64.c: Likewise.
11196 * libio/iopopen.c: Likewise.
11197 * libio/oldiofopen.c: Likewise.
11198 * libio/pclose.c: Likewise.
11199 * sysdeps/gnu/siglist.c: Likewise.
11200 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
11202 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
11203 chance to expand VERSION_##lib##_##version.
11205 * libio/fileops.c: Use new macros from shlib-compat.h to define
11207 * libio/iofclose.c: Likewise.
11208 * libio/oldiofclose.c: Likewise.
11209 Patch by Roland McGrath <roland@frob.com>.
11211 2000-03-21 Jakub Jelinek <jakub@redhat.com>
11213 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
11214 Lay out struct sigcontext according to what really gets passed on
11216 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
11217 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
11218 (prgregset_t, prfpregset_t): Define to elf_* types.
11219 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
11220 Define to correct value.
11221 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
11223 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
11225 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
11227 * scripts/firstversions.awk: Allow multiple version sets in the
11228 "earliest version" specification, meaning that version sets in the
11229 gaps between listed versions should be folded into the earliest later
11230 version that is explicitly listed.
11231 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
11232 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
11234 2000-03-21 Ulrich Drepper <drepper@redhat.com>
11236 * iconv/gconv_builtin.c: Include <endian.h>.
11237 * iconv/gconv_builtin.h: Add UCS-BE aliases.
11238 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
11239 according to current platform.
11240 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
11241 __gconv_transform_internal_ucs2reverse, and
11242 __gconv_transform_internal_ucs4le.
11243 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
11244 __gconv_transform_ucs2reverse_internal and
11245 __gconv_transform_internal_ucs2reverse.
11246 * iconvdata/Makefile (modules): Add UNICODE.
11247 (distribute): Add unicode.c.
11248 * iconvdata/gconv-modules: Add definitions for UNICODE module.
11249 * iconvdata/unicode.c: New file.
11251 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
11252 determine byte order of input and convert accordingly.
11254 * iconvdata/utf-16.c (gconv_init): Fix typo.
11256 2000-03-20 Ulrich Drepper <drepper@redhat.com>
11258 * iconvdata/gconv-modules: Fix typo.
11260 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
11263 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
11265 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
11267 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
11269 2000-03-20 Ulrich Drepper <drepper@redhat.com>
11271 * misc/Makefile (routines): Add mincore.
11273 2000-03-20 Andreas Jaeger <aj@suse.de>
11275 * sysdeps/generic/mincore.c: New stub file.
11277 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
11278 from latest Linux kernel.
11280 2000-03-20 Ulrich Drepper <drepper@redhat.com>
11282 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
11283 _SC_GETPW_R_SIZE_MAX.
11285 2000-03-20 Richard Henderson <rth@cygnus.com>
11287 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
11290 2000-03-20 Richard Henderson <rth@cygnus.com>
11292 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
11293 of arithmetic instructions.
11295 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
11296 with the fpcr. Protect from INV exception.
11297 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
11298 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
11299 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
11301 * sysdeps/alpha/fpu/s_copysign.c: New.
11302 * sysdeps/alpha/fpu/s_copysignf.c: New.
11303 * sysdeps/alpha/fpu/s_fabs.c: New.
11304 * sysdeps/alpha/fpu/s_fabsf.c: New.
11305 * sysdeps/alpha/fpu/s_rint.c: New.
11306 * sysdeps/alpha/fpu/s_rintf.c: New.
11308 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
11310 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
11312 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
11313 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
11314 Use physical addresses not KSEG addresses.
11315 (io_system): Add PYXIS.
11316 (io): Remove hae.reg, sys, hae_shift.
11317 (stb_mb, stw_mb, stl_mb, __sethae): New.
11318 (inline_outb, inline_outw, inline_outl): Don't set hae.
11319 (inline_inb, inline_inw, inline_inl): Likewise.
11320 (dense_sethae): New null function.
11321 (struct cpuinfo_data): New.
11322 (process_cpuinfo): Use local and stack variables, not static.
11323 Move readlink check here from init_iosys.
11324 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
11326 (_hae_shift): Calculate it here.
11327 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
11328 add pciconfig_iobase.
11330 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
11332 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
11333 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
11335 * scripts/versions.awk: Fixed version renaming code to distinguish
11336 libraries properly.
11338 2000-03-19 Ulrich Drepper <drepper@redhat.com>
11340 * include/stdlib.h: Add prototype for __cxa_atexit.
11342 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
11343 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
11345 2000-03-17 Cristian Gafton <gafton@redhat.com>
11347 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
11348 existing rtld-installed-name.
11349 ($(rtld-installed-name)): Request libc-$(version) be installed too.
11350 replace existing rtld-installed-name using $(symbolic-link-prog).
11352 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
11354 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
11355 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
11356 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
11357 but not the former.
11359 2000-03-19 Ulrich Drepper <drepper@redhat.com>
11361 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
11362 glob64. Since there is no glob64 in the LFS proposal applications
11363 can assume that glob handles LFS situations. glob64 is only needed
11364 if alternative filesystem functions are used.
11366 2000-03-19 Geoff Clare <gwc@unisoft.com>
11368 * sysdeps/generic/glob.c: Correct gl_pathc value returned
11369 when GLOB_DOOFFS is set; correct handling of patterns
11370 containing escaped wildcards (and no unescaped ones);
11371 GLOB_ERR flag was being ignored in some situations.
11373 * posix/globtest.c, posix/globtest.sh: Updated to include
11374 tests for the problems fixed by the above changes to glob.c.
11376 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
11378 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
11380 * Makeconfig (soversion.i): Use only first match for each lib.
11382 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
11384 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
11385 rather than $(sysd-dirs-done) to protect these rules.
11387 * Makerules (version-renames.def): Target removed.
11388 (Versions.all): Depend on soversions.i directly and parse it.
11390 * Makeconfig (soversions.i): New target, input-reading parts of
11391 soversions.mk generation moved here; result is a canonicalized
11392 list "LIB VERSION [SET]" for this configuration.
11393 (soversions.mk): Use that as input. Don't emit map-firstversions.
11394 * Makerules (version-renames.def): New target, generated from
11395 soversions.i with contents that was in $(map-firstversions).
11396 (Versions.all): Don't depend on soversions.mk, depend on
11397 version-renames.def instead; just cat it into the input.
11399 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
11400 for $(map-firstversions), which better handles it being empty.
11402 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
11403 supported version for libc 0.2.90.libio to GLIBC_2.2.
11405 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
11406 and use it to emit new variable `map-firstversions'.
11407 * scripts/firstversions.awk: New file.
11408 * Makerules (Versions.all): Use scripts/firstversions.awk and
11409 the $(map-firstversions) value to generate a modified versions list
11410 that includes renames in "A = B" syntax for each version set earlier
11411 than the "earliest symbol version" named in shlib-versions.
11412 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
11413 rename version set A to B in the output to the intermediate file.
11414 * scripts/abi-versions.awk: New file.
11415 * Makerules (abi-versions.h): New target, generated by that script.
11416 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
11417 * include/shlib-compat.h: New file, uses that generated header.
11419 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
11421 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
11422 after stripping # comments, and then run it through cpp.
11423 This allows things like "%ifdef FOO" based on config.h settings.
11424 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
11426 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
11427 and other errors that indicate a pseudo-receive happened, grok through
11428 the message buffer for port rights that need references fixed up.
11430 2000-03-16 Andreas Jaeger <aj@suse.de>
11432 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
11434 * sysdeps/unix/sysv/linux/madvise.c: Remove.
11436 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
11437 from latest Linux kernel.
11438 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
11440 * misc/sys/mman.h: Add prototype for mincore.
11442 2000-03-17 Ulrich Drepper <drepper@redhat.com>
11444 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
11445 entry for GLIBC_2.0 version of setrlimit.
11446 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
11448 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
11450 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
11451 * nis/nss_compat/compat-initgroups.c: Likewise.
11452 * nis/nss_nis/nis-initgroups.c: Likewise.
11453 * nis/nss_nis/nis-netgrp.c: Likewise.
11454 * nis/nss_nis/nis-proto.c: Likewise.
11455 * nis/nss_nis/nis-rpc.c: Likewise.
11456 * nis/nss_nis/nis-service.c: Likewise.
11457 * nis/ypclnt.c: Likewise.
11459 2000-03-16 Andreas Jaeger <aj@suse.de>
11461 * manual/Makefile: MAKEINFO is set to `:' from configure if it
11462 doesn't exist, correct checks. Fixes PR libc/1649.
11464 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
11466 * nscd/hstcache.c: Restore correct UID.
11467 * nscd/pwdcache.c: Likewise.
11468 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
11470 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
11472 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
11473 macros for register names, in line with 2000-03-14 linux change.
11475 * sysdeps/mach/sched_yield.c: New file.
11477 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
11479 * sysdeps/generic/lockfile.c: Include <stdio.h>
11480 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
11481 case <libio.h> defined them.
11482 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
11484 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
11485 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
11487 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
11488 for more pleasing parse error.
11490 2000-03-16 Ulrich Drepper <drepper@redhat.com>
11492 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
11494 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
11496 * elf/Makefile: Add rules to compile and run constload1 test.
11497 * elf/constload1.c: New file.
11498 * elf/constload2.c: New file.
11499 * elf/constload3.c: New file.
11501 2000-03-15 Ulrich Drepper <drepper@redhat.com>
11503 * sysdeps/posix/open64.c: Make __open64 weak alias.
11504 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
11505 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
11506 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
11507 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11508 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
11509 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
11510 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
11511 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
11512 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11513 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
11515 2000-03-14 Ulrich Drepper <drepper@redhat.com>
11517 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
11518 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
11520 2000-03-16 Mark Kettenis <kettenis@gnu.org>
11522 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
11523 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
11525 2000-03-08 Andreas Jaeger <aj@suse.de>
11527 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
11529 2000-03-14 Ulrich Drepper <drepper@redhat.com>
11531 * timezone/africa: Update from tzdata2000d.
11532 * timezone/asia: Likewise.
11533 * timezone/australasia: Likewise.
11534 * timezone/europe: Likewise.
11535 * timezone/northamerica: Likewise.
11536 * timezone/southamerica: Likewise.
11538 * po/fr.po: Update from translation team.
11539 * po/de.po: Likewise.
11541 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
11542 last parameter. Move code to add map to global scope from here...
11543 * elf/dl-open.c (dl_open_worker): ...here.
11544 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
11545 * elf/rtld.c: Adjust call to _dl_map_object_deps.
11547 * locale/programs/ld-collate.c (collate_read): Fix warning.
11549 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
11550 values and macros for register names.
11552 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
11553 returned by seek cookie function is -1.
11555 2000-03-14 Andreas Jaeger <aj@suse.de>
11557 * locale/localeconv.c (localeconv): Fix typo.
11558 Reported by Andre Charbonneau <andrec@corel.com>.
11560 2000-03-14 Ulrich Drepper <drepper@redhat.com>
11562 * iconv/skeleton.c: Increment __invocation_counter in inner loop
11563 since modules depend on it counting the number of times the conversion
11564 function got called.
11566 * iconv/gconv_open.c: Optimize loop to setup step data structure.
11568 * iconv/gconv.h: Pretty print.
11570 2000-03-04 Ulrich Drepper <drepper@redhat.com>
11572 * posix/wordexp-test.c: Correct one of the tests added in the last
11573 change. Really get the root passwd entry to check again ~root.
11575 2000-03-10 Andreas Jaeger <aj@suse.de>
11577 * manual/filesys.texi (Working Directory): Fix last patch.
11578 Patch by Martin Buchholz <martin@xemacs.org>.
11580 2000-03-10 Andreas Jaeger <aj@suse.de>
11582 * manual/creature.texi (Feature Test Macros): Fix language.
11584 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
11586 * mach/devstream.c (devstream_write, devstream_read): New functions.
11587 (input, output): Functions removed.
11588 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
11589 using only the vanilla fopencookie interface.
11591 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
11592 as macro for __io_functions.
11593 (funcsio): Use cookie_io_functions_t type name.
11594 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
11596 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
11598 (fopencookie): Use it.
11599 * libio/libio.h: Declare _IO_cookie_init.
11600 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
11603 * libio/libio.h (__io_seek_fn): Fix second argument type
11604 to be a pointer, in line with the manual and the old stdio.
11605 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
11607 * sysdeps/generic/bits/stdio-lock.h: New file.
11608 This is a stub with #error, but that's better than no file at all.
11610 2000-03-09 Martin Buchholz <martin@xemacs.org>
11612 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
11613 * manual/message.texi (Using gettextized software): Doc Fixes.
11614 * manual/message.texi (Message Translation): Doc Fixes.
11615 * manual/filesys.texi (File Size): Doc Fixes.
11616 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
11617 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
11618 * iconv/gconv_db.c (find_derivation): Doc Fixes.
11619 * manual/install.texi: Doc Fixes.
11620 * manual/search.texi (Hash Search Function): Doc Fixes.
11621 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
11622 * FAQ.in: Doc Fixes.
11623 * config.h.in: Doc Fixes.
11624 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
11625 Doc Fixes. `allows to' is not correct English.
11627 * elf/rtld.c: Doc fixes.
11628 * manual/creature.texi (Feature Test Macros): Doc fixes.
11629 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
11631 * manual/filesys.texi (Working Directory): Check for ERANGE to
11634 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
11636 * string/argz-stringify.c (__argz_stringify): Fix loop termination
11637 conditions so as not to clobber the final '\0' when there is only one
11638 element in the vector.
11640 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
11642 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
11643 broken by 2000-02-27 change.
11645 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
11647 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
11649 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
11650 argument type, for 2000-02-22 change in signal/signal.h declaration.
11652 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
11654 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
11655 to getdirentries64 (no __), since the Linux implementation
11656 has no __ name, and there is no declaration for the __ name.
11658 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
11660 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
11661 sed regexp so as not to break directory names including /../ within.
11663 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
11664 The sysdeps/generic file is right for BSD. This file was in fact the
11665 Hurd file, but the only difference was the WNOREAP flag that was never
11666 actually implemented or used anywhere.
11668 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
11669 since AC_PATH_PROG already does it for us.
11670 (PERL): Rewrite check added in 2000-02-29 change for syntactic
11671 correctness and sh portability. I replaced the broken check
11672 with a more sensible implementation of the apparently intended
11673 semantics, which might still be questionable. Using expr causes
11674 a non-numeric value for `perl -V:apiversion` to be accepted,
11675 refusing to use only a perl that reports a number less than 5;
11676 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
11677 * configure: Regenerated.
11679 2000-03-08 Andreas Jaeger <aj@suse.de>
11681 * manual/crypt.texi: Fix paths.
11683 2000-03-07 Andreas Jaeger <aj@suse.de>
11685 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
11687 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
11690 2000-03-06 Andreas Jaeger <aj@suse.de>
11692 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
11693 in __sgn1l, otherwise g++ fails to parse this.
11694 Reported by Sean Chen <sean.chen@turbolinux.com>.
11696 2000-03-03 Geoff Keating <geoffk@cygnus.com>
11698 * configure.in: Compute sizeof-long-double.
11699 * configure: Regenerated.
11700 * config.make.in: Make sizeof-long-double available to sub-makes.
11702 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
11704 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
11707 2000-03-03 Geoff Keating <geoffk@cygnus.com>
11709 * Makeconfig (rpath-dirs): Add crypt.
11710 (all-subdirs): Remove md5crypt.
11711 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
11712 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
11713 * sysdeps/generic/crypt-entry.c: Delete.
11714 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
11715 * sysdeps/generic/crypt.h: Delete.
11716 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
11717 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
11718 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
11719 * sysdeps/generic/des_impl.c: Delete.
11720 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
11721 * crypt/sysdeps: Delete.
11722 * crypt/crypt_util.c: Don't use `patchlevel.h'.
11723 * md5-crypt/Versions: Move to crypt/.
11724 * md5-crypt/md5-crypt.c: Move to crypt/.
11725 * md5-crypt/md5.c: Move to crypt/.
11726 * md5-crypt/md5c-test.c: Move to crypt/.
11727 * md5-crypt/md5test.c: Move to crypt/.
11728 * md5-crypt: Delete.
11729 * crypt/Makefile: Adjust for new structure.
11731 2000-03-03 Paul Eggert <eggert@twinsun.com>
11733 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
11734 define to 1 if not defined.
11736 2000-03-03 Andreas Jaeger <aj@suse.de>
11738 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
11740 2000-03-03 Andreas Jaeger <aj@suse.de>
11742 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
11744 (xdr_int64_t): Correctly handle lower half.
11745 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
11747 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
11749 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
11752 2000-03-02 Andreas Jaeger <aj@suse.de>
11754 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
11757 2000-03-02 Andreas Jaeger <aj@suse.de>
11759 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
11761 2000-03-01 Andreas Jaeger <aj@suse.de>
11763 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
11764 (tests): Added tst-getdate.
11766 * time/tst-getdate.c: New file.
11768 * time/datemsk: New file, needed for tst-getdate.
11770 2000-02-29 Cristian Gafton <gafton@redhat.com>
11772 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
11774 2000-02-17 H.J. Lu <hjl@gnu.org>
11776 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
11778 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
11780 (svcudp_recv): Set up message with the new "xp_pad" field for
11782 (svcudp_reply): Support IP_PKTINFO if available.
11784 2000-03-01 Andreas Jaeger <aj@suse.de>
11786 * time/getdate.c (check_mday): Fix check for february.
11787 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
11788 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
11790 2000-03-02 Andreas Jaeger <aj@suse.de>
11792 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
11793 g++ fails to parse this.
11794 Reported by Sean Chen <sean.chen@turbolinux.com>.
11796 2000-02-28 Ulrich Drepper <drepper@redhat.com>
11798 * io/creat.c: Moved to...
11799 * sysdeps/generic/creat.c: ...here.
11800 * io/creat64.c: Moved to...
11801 * sysdeps/generic/creat64.c: ...here.
11802 * io/lockf.c: Moved to...
11803 * sysdeps/generic/lockf.c: ...here.
11805 * crypt/crypt.texi: Moved to...
11806 * manual/crypt.texi: ...here.
11807 * crypt/examples/genpass.c: Moved to...
11808 * manual/examples/genpass.c: ...here.
11809 * crypt/examples/mygenpass.c: Moved to...
11810 * manual/examples/mygenpass.c: ...here.
11811 * crypt/examples/testpass.c: Moved to...
11812 * manual/examples/testpass.c: ...here.
11814 * manual/Makefile (chapters): Add crypt.
11815 * manual/conf.texi: Add usual header for not-last chapter.
11816 * manual/crypt.texi: Add special header for last chapter.
11818 2000-02-28 Geoff Keating <geoffk@cygnus.com>
11820 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
11821 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
11822 complain if there is no crypt add-on.
11823 * crypt/configure: Removed.
11825 * crypt/crypt.texi: Update documentation of US export restrictions
11826 to match the 14 Jan 2000 regulations.
11828 2000-02-28 Geoff Keating <geoffk@cygnus.com>
11830 * crypt: New subdirectory, merged in from the crypt add-on.
11832 2000-02-28 Ulrich Drepper <drepper@redhat.com>
11834 * include/unistd.h: Add __rmdir and __mkdir prototypes.
11837 See ChangeLog.10 for earlier changes.