1 2000-07-17 Greg McGary <greg@mcgary.org>
3 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
4 keyletters F, I, S, W. Remove unused keyletter V. Surround
5 signature argnames with angle-brackets for use as word delimiters,
6 and to induce syntax errors for any args not handled. Split
7 multi-echo echoes and comment each stage.
8 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
9 * sysdeps/unix/inet/syscalls.list: Likewise.
10 * sysdeps/unix/mman/syscalls.list: Likewise.
11 * sysdeps/unix/syscalls.list: Likewise.
12 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
13 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
14 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15 * sysdeps/unix/sysv/syscalls.list: Likewise.
16 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
18 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
19 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
20 qualifiers. Don't check NULL-terminator of argv & envp.
21 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
22 unbounded pointer type in word-size assertion.
23 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
24 cases to stifle warnings.
26 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
28 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
31 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
34 * Makerules (o-objects): Supplement with $(o-objects$o).
35 * string/Makefile (o-objects.ob): Add variable to pull
36 unbounded versions of memcpy, memset and memchr into libc_b.
38 2000-07-17 Bruno Haible <haible@clisp.cons.org>
40 * iconv/gconv_open.c (__gconv_open): Initialize the __data
41 field of struct __gconv_trans_data differently. Don't pass NULL to
42 trans_init_fct. Simplify list append operation.
44 2000-07-14 Bruno Haible <haible@clisp.cons.org>
46 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
47 not only those having tsearch.
49 2000-07-17 Ulrich Drepper <drepper@redhat.com>
51 * locale/langinfo.h: Add placeholder values in enum for removed
54 2000-07-17 Jakub Jelinek <jakub@redhat.com>
56 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
57 chain if the PHDR check fails.
59 2000-07-17 Mark Kettenis <kettenis@gnu.org>
61 * nss/getent.c (print_hosts): Make sure we always print a space
62 between numeric addresses and hostnames.
64 2000-07-17 Wolfram Gloger <wg@malloc.de>
66 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
67 i.e. if n_mmaps_max>0.
69 2000-07-16 Mark Kettenis <kettenis@gnu.org>
71 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
72 values to remove possible clash with other AI_* constants.
73 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
74 hexadecimal constants to stress the fact they're in fact
77 2000-07-15 Mark Kettenis <kettenis@gnu.org>
79 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
80 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
83 2000-07-16 Ulrich Drepper <drepper@redhat.com>
85 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
86 parameters of memset calls to avoid warnings.
88 2000-07-15 Ulrich Drepper <drepper@redhat.com>
90 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
93 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
94 Patch by Greg McGary <greg@mcgary.org>.
96 * io/Makefile (tests): Add tst-getcwd.
97 * io/tst-getcwd.c: New file.
99 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
101 2000-07-15 Jakub Jelinek <jakub@redhat.com>
103 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
106 2000-07-13 Jakub Jelinek <jakub@redhat.com>
108 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
109 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
111 2000-07-12 H.J. Lu <hjl@gnu.org>
113 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
115 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
116 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
117 (sysdep-routines): Add clone2.
118 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
120 2000-07-13 Jes Sorensen <jes@linuxcare.com>
122 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
123 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
125 2000-06-05 David Mosberger <davidm@hpl.hp.com>
127 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
128 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
129 Change type of si_band from "int" to "long".
130 (si_imm) [USE_GNU]: Define
131 (si_isr) [USE_GNU]: Ditto.
132 (ILL_BREAK) [USE_GNU]: Ditto.
133 (FPE_DECOVF) [USE_GNU]: Ditto.
134 (FPE_DECDIV) [USE_GNU]: Ditto.
135 (FPE_DECERR) [USE_GNU]: Ditto.
136 (FPE_INVASC) [USE_GNU]: Ditto.
137 (FPE_INVDEC) [USE_GNU]: Ditto.
138 (TRAP_BRANCH) [USE_GNU]: Ditto.
139 (TRAP_HWBKPT) [USE_GNU]: Ditto.
141 2000-07-06 Jes Sorensen <jes@linuxcare.com>
143 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
144 bits/sigcontext as struct mcontext does not depend on it.
146 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
148 2000-07-04 Jes Sorensen <jes@linuxcare.com>
150 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
152 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
154 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
156 2000-06-22 Jes Sorensen <jes@linuxcare.com>
158 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
160 2000-07-15 Ulrich Drepper <drepper@redhat.com>
162 * intl/Makefile (test-srcs): Add tst-translit.
164 Add rules to build and run tst-translit.
165 * intl/tst-translit.c: New file.
166 * intl/tst-translit.sh: New file.
167 * intl/translit.po: New file.
169 2000-07-14 Ulrich Drepper <drepper@redhat.com>
171 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
172 transliteration function did its job, continue, don't stop.
174 * iconvdata/iso646.c: Little optimizations in body for conversion
177 2000-07-14 Mark Kettenis <kettenis@gnu.org>
179 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
181 2000-07-14 Mark Kettenis <kettenis@gnu.org>
183 * configure.in: Check for pwd binary.
184 * config.make.in: Add PWD_P to be subsituted.
185 * Makerules: Use $(PWD_P) instead of /bin/pwd.
187 2000-07-14 Ulrich Drepper <drepper@redhat.com>
189 * iconvdata/Makefile (modules): Add GB18030.
190 (distribute): Add gb18030.c.
191 * iconvdata/gconv-modules: Add entries for GB18030 module.
192 * iconvdata/gb18030.c: New file.
193 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
196 2000-07-13 Andreas Jaeger <aj@suse.de>
198 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
201 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
202 * inet/getnetgrent.c (free_mem): Likewise.
203 * misc/mntent.c (free_mem): Likewise.
204 * nss/getXXbyYY.c (free_mem): Likewise.
205 * nss/getXXent.c (free_mem): Likewise.
206 * pwd/fgetpwent.c (free_mem): Likewise.
207 * shadow/fgetspent.c (free_mem): Likewise.
209 2000-07-14 Ulrich Drepper <drepper@redhat.com>
211 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
212 64-bit architecture correctly [PR libc/1794].
214 2000-07-13 Ulrich Drepper <drepper@redhat.com>
216 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
217 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
218 report that we are out of memory.
219 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
220 * elf/dl-libc.c (dlerror_run): Likewise.
221 * elf/dl-open.c (_dl_open): Likewise.
222 * elf/rtld.c (dl_main): Likewise.
223 * elf/dl-error.c: Define _dl_out_of_memory.
224 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
226 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
229 * dlfcn/dlerror.c (free_key_mem): Also free error string.
231 * iconv/loop.c: Fix comment.
233 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
235 2000-07-13 Andreas Jaeger <aj@suse.de>
237 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
238 getcwd (NULL, size) with size > 0.
239 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
241 2000-07-13 Andreas Jaeger <aj@suse.de>
243 * posix/Makefile: Remove build rules for libposix.
245 2000-07-13 Andreas Schwab <schwab@suse.de>
247 * sysdeps/generic/glob.c (glob): Fix memory leak.
248 [SHELL]: Remove reference to undefined variable `files'.
251 2000-07-13 Andreas Jaeger <aj@suse.de>
253 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
256 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
257 memory if it was allocated.
259 2000-07-12 Ulrich Drepper <drepper@redhat.com>
261 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
264 * iconv/gconv_open.c (__gconv_open): Reapply
265 2000-07-12 Bruno Haible <haible@clisp.cons.org>
267 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
269 * iconv/gconv_open.c: Undo last two changes for now. They break
272 2000-07-12 Andreas Jaeger <aj@suse.de>
274 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
276 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
277 (CFLAGS-dl-cache.c): Likewise.
278 (CFLAGS-ldconfig.c): Added, passes directory locations.
280 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
282 * elf/ldconfig.c (LD_SO_CONF): Likewise.
283 (main): Use configured LIBDIR and SLIBDIR.
285 2000-07-11 Jakub Jelinek <jakub@redhat.com>
287 * math/bits/cmathcalls.h (cimag): Add __THROW.
288 (creal, conj): Likewise.
289 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
292 2000-07-12 H.J. Lu <hjl@gnu.org>
294 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
295 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
297 2000-07-12 Ulrich Drepper <drepper@redhat.com>
299 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
302 2000-07-12 Bruno Haible <haible@clisp.cons.org>
304 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
306 2000-07-12 Bruno Haible <haible@clisp.cons.org>
308 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
311 2000-07-12 Bruno Haible <haible@clisp.cons.org>
313 * iconv/gconv_open.c (__gconv_open): Initialize
314 result->__steps[cnt].__data.
316 2000-07-12 Mark Kettenis <kettenis@gnu.org>
318 * nss/getent.c (services_keys): Pass port number in network byte
319 order in call to getservbyport.
321 2000-07-11 Andreas Jaeger <aj@suse.de>
323 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
325 * intl/Makefile (do-gettext-test): Likewise.
326 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
328 2000-07-11 Andreas Schwab <schwab@suse.de>
330 * Makeconfig (run-program-prefix): New rule.
331 (built-program-cmd): Use run-program-prefix.
333 2000-07-12 Ulrich Drepper <drepper@redhat.com>
335 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
336 and NOEXPR unconditionally available.
338 2000-07-12 Greg McGary <greg@mcgary.org>
340 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
341 * sysdeps/posix/open64.c: Likewise.
342 * sysdeps/generic/fegetenv.c: Likewise.
343 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
344 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
345 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
346 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
347 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
348 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
350 2000-07-11 Greg McGary <greg@mcgary.org>
352 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
353 Add extra level of macro expansion.
354 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
355 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
356 is available at the time `select' prototype is declared.
357 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
358 Collect non-versioned weak aliases. Consider only non-versioned
359 aliases for the user-visible systemcall name. Do checks inline with
360 call to primitive system call.
361 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
362 stand-alone bounds checks to suppress unused value warnings.
363 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
365 2000-07-10 Mark Kettenis <kettenis@gnu.org>
367 * sysdeps/mach/hurd/check_fds.c: New file. Implements
368 file descriptor checking in SUID programs for the Hurd.
370 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
371 res_hostalias instead of __hostalias for thread-safety.
373 2000-07-09 Mark Kettenis <kettenis@gnu.org>
375 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
376 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
378 2000-07-10 Ulrich Drepper <drepper@redhat.com>
380 * include/features.h: Include ISO C99 features if the compiler used
381 is an ISO C99 compiler.
382 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
384 2000-07-08 Mark Kettenis <kettenis@gnu.org>
386 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
388 2000-07-10 Andreas Jaeger <aj@suse.de>
390 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
391 it's overridden by libpthreads.
392 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
393 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
394 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
395 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
396 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
398 * malloc/Makefile: Run tst-mtrace only with shared libs.
400 * stdio-common/Makefile: Run unbputc and tst-printf tests only
403 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
405 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
406 that gpreg really points to the GOT section of the calling object.
407 Scan all PT_LOAD segments of objects for stub_pc, instead of only
408 checking a start address of first one.
410 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
413 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
415 2000-07-10 Andreas Jaeger <aj@suse.de>
417 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
418 (string_alias->strong_alias).
420 2000-07-08 Mark Kettenis <kettenis@gnu.org>
422 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
424 2000-07-07 Greg McGary <greg@mcgary.org>
426 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
427 have no names without leading underscores.
429 2000-07-07 Ulrich Drepper <drepper@redhat.com>
431 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
434 * stdio-common/Makefile (tests): Remove tst-printf here...
435 (tests-srcs): ...and add it here.
436 (distribute): Add tst-unbputc.sh and tst-printf.sh.
437 Add rules to run tst-printf.sh.
438 * stdio-common/tst-printf.c: Move code around so that there is really
439 no further output where it's stated.
440 * stdio-common/tst-printf.sh: New file.
442 2000-07-07 Mark Kettenis <kettenis@gnu.org>
444 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
445 (do_write): Renamed from pwrite.
446 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
447 `struct _IO_cookie_file'.
449 2000-07-07 Ulrich Drepper <drepper@redhat.com>
451 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
453 * malloc/tst-mtrace.sh: Run mtrace script.
455 2000-07-07 Greg McGary <greg@mcgary.org>
457 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
458 Move all three components of a bounded pointer.
460 2000-07-07 Ulrich Drepper <drepper@redhat.com>
462 * locale/programs/locale.c (write_locales): Don't simply add all
463 directories found in the subdir, test whether at least the
464 LC_CTYPE file is in there.
466 2000-07-06 Ulrich Drepper <drepper@redhat.com>
468 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
469 * iconvdata/euc-kr.c: Likewise.
471 * stdio-common/vfprintf.c (process_string_arg): Check result of
472 wcrtomb call and bail out if it failed.
474 * malloc/Makefile (test-srcs): Add tst-mtrace.
475 (distribute): Add tst-mtrace.sh.
476 Add rule to run tst-mtrace.sh.
477 * malloc/tst-mtrace.c: New file.
478 * malloc/tst-mtrace.sh: New file.
480 * include/signal.h: Declare __libc_sigaction.
481 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
482 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
483 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
484 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
485 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
486 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
487 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
489 * configure.in: Fix CFLAGS-memprofstat.c definition after
491 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
493 2000-07-06 Jakub Jelinek <jakub@redhat.com>
495 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
496 instead of NULL to elf_machine_fixup_plt t argument.
497 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
498 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
501 2000-07-06 Andreas Jaeger <aj@suse.de>
503 * crypt/Makefile (LDLIBS-cert): Removed.
504 (LDLIBS-md5c-test): Removed.
505 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
506 ($(objpfx)md5c-test): Likewise for md5c-test.out.
508 2000-07-06 Andreas Jaeger <aj@suse.de>
510 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
511 of the proc system is "proc".
513 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
514 thread library for static programs.
516 2000-07-06 Greg McGary <greg@mcgary.org>
518 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
520 * sysdeps/generic/strcpy.c: Add bounds checks.
521 * sysdeps/unix/fxstat.c: Likewise.
522 * sysdeps/unix/xstat.c: Likewise.
523 * sysdeps/unix/common/lxstat.c: Likewise.
524 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
525 * sysdeps/unix/sysv/linux/execve.c: Likewise.
526 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
527 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
528 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
529 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
530 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
531 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
532 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
533 * sysdeps/unix/sysv/linux/poll.c: Likewise.
534 * sysdeps/unix/sysv/linux/pread.c: Likewise.
535 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
536 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
537 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
538 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
539 * sysdeps/unix/sysv/linux/readv.c: Likewise.
540 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
541 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
542 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
543 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
544 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
545 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
546 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
547 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
548 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
549 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
550 * sysdeps/unix/sysv/linux/writev.c: Likewise.
551 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
552 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
553 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
554 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
555 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
556 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
557 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
558 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
559 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
560 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
561 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
562 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
563 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
564 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
565 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
566 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
567 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
568 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
569 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
570 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
571 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
572 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
573 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
574 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
575 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
576 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
577 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
578 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
579 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
580 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
581 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
582 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
583 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
584 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
585 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
586 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
587 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
589 * string/endian.h (__LONG_LONG_PAIR): New macro.
590 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
591 * sysdeps/unix/sysv/linux/pread.c: Likewise.
592 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
593 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
594 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
595 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
596 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
597 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
598 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
599 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
600 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
601 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
603 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
605 2000-07-06 Andreas Jaeger <aj@suse.de>
607 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
610 * math/test-fpucw.c: Include <stdio.h> for printf.
612 2000-07-05 Greg McGary <greg@mcgary.org>
614 * sysdeps/generic/bp-checks.h: New file.
615 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
616 with list of #include files.
617 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
618 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
619 Don't generate BP thunk if `V' appears in signature.
620 Generate thunks with complete bounds checks.
621 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
622 * sysdeps/unix/inet/syscalls.list: Likewise.
623 * sysdeps/unix/mman/syscalls.list: Likewise.
624 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
625 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
626 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
627 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
629 2000-07-05 Ulrich Drepper <drepper@redhat.com>
631 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
632 result. Search first in /etc/mtab (proc/mounts would be stupid).
633 If mount not in the file fall back on /proc.
635 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
636 string got copied in.
637 Patch by Solar Designer <solar@false.com>.
639 2000-07-05 Andreas Jaeger <aj@suse.de>
641 * manual/install.texi (Installation): Update information about
643 (Configuring and compiling): Update for glibc 2.2.
645 2000-07-04 Andreas Jaeger <aj@suse.de>
647 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
648 (_FPU_IEEE): Likewise.
650 * math/Makefile (tests): Add test-fpucw.
652 * math/test-fpucw.c (main): New file.
654 2000-07-05 Ulrich Drepper <drepper@redhat.com>
656 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
658 * locale/programs/ld-collate.c (collate_output): Also write out the
659 collation sequence values and the wide character string for the
660 collation symbol table.
662 * posix/fnmatch.c: Include "../locale/elem-hash.h".
663 * posix/fnmatch_loop.c: Implement collating symbol handling.
664 * posix/tst-fnmatch.input: Add more tests, especially for collating
667 * posix/regex.c: Fix comment.
669 2000-07-05 Andreas Jaeger <aj@suse.de>
671 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
672 (_FPU_GETCW): Remove extra colon.
673 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
675 * posix/fnmatch_loop.c (FCT): Only declare len if
676 !WIDE_CHAR_VERSION to silence GCC.
678 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
680 * sysdeps/generic/strchrnul.c: Likewise.
681 * sysdeps/generic/strlen.c: Likewise.
682 * sysdeps/generic/strchr.c: Likewise.
683 * sysdeps/generic/memchr.c: Likewise.
685 2000-07-04 Ulrich Drepper <drepper@redhat.com>
687 * posix/fnmatch_loop.c: Implement equivalence class handling.
688 * posix/tst-fnmatch.input: Add tests for equivalence class
691 * posix/fnmatch_loop.c: Improve performance for single-byte
692 character sets by not using btowc.
694 * posix/tst-fnmatch.input: Add tests for locale dependent
696 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
698 * posix/tst-fnmatch.input: Add more test cases.
700 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
701 are not aligned to alignof(md5_uint32) do it before calling
703 * crypt/md5.c: Make sure buffers are aligned.
704 * crypt/md5.h: Likewise.
705 Reported by Solar Designer <solar@false.com>.
707 * crypt/Makefile: Add dependencies for test programs.
709 * Rules: Define LC_ALL=C in environments of all programs we run.
711 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
713 2000-07-03 H.J. Lu <hjl@gnu.org>
715 * locale/programs/ld-ctype.c (ctype_output): The size of iov
716 is 2 + elem + offset, not 2 + elem + offset + 2.
718 2000-07-04 Ulrich Drepper <drepper@redhat.com>
720 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
722 * posix/Makefile (tests): Add tst-fnmatch.
723 (tst-fnmatch-ENV): Define.
724 * posix/tst-fnmatch.c: New file.
725 * posix/tst-fnmatch.sh: New file.
727 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
729 * locale/programs/charmap.c (charmap_read): Prepend
730 the condition filename == NULL.
732 2000-07-03 Greg McGary <greg@mcgary.org>
734 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
736 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
737 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
739 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
740 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
741 (FILEBUF_LITERAL): Add cast for CHAIN init.
742 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
743 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
744 Revert type of `fp' to _IO_FILE*.
745 (_IO_iter_file): Remove cast.
746 (_IO_iter_next): Elide intermediate member reference.
748 * sysdeps/powerpc/strchr.S: Check bounds.
749 Wrap extern symbols in BP_SYM ().
751 2000-07-03 Andreas Jaeger <aj@suse.de>
753 * dlfcn/Makefile (generated): New.
755 2000-07-03 Ulrich Drepper <drepper@redhat.com>
757 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
759 (__underflow): Likewise.
760 * libio/wgenops.c (__wunderflow): Likewise.
761 * stdio-common/tst-unbputc.c: New file.
762 * stdio-common/tst-unbputc.sh: New file.
763 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
765 * po/en_GB.po: New file.
766 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
768 2000-07-01 Andreas Jaeger <aj@suse.de>
770 * intl/Makefile (generated-dirs): New.
772 * elf/Makefile (generated): trusted-dirs.h is always generated,
773 move out of build-shared condition.
774 (generated): Merge the two entries for build-shared.
776 2000-07-01 Ulrich Drepper <drepper@redhat.com>
778 * debug/Makefile (distribute): Add xtrace.sh.
780 2000-06-30 Ulrich Drepper <drepper@redhat.com>
782 * version.h (VERSION): Bump to 2.1.91.
784 * configure.in: Update warning comment. glibc should not be
787 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
788 ioperm.c, sys/procfs.h, and sys/io.h.
790 * sysdeps/powerpc/Dist: Add bp-asm.h.
792 * assert/Depend: Add localedata.
793 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
794 (test-assert-perr-ENV): New. Define LANGUAGE=C.
796 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
797 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
798 relocation address to prevent unaligned trap.
799 Suggested by Richard Henderson <rth@cygnus.com>.
801 2000-06-30 Jakub Jelinek <jakub@redhat.com>
803 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
804 if redirecting and either redirection is done using defines or
807 2000-06-30 Ulrich Drepper <drepper@redhat.com>
809 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
810 generated expressions.
811 Patch by Darren McClelland <dmcclell@zetec.com>.
813 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
814 since zic uses setlocale and gettext but we cannot make it use the
815 new locale data since zic calls a shell which might not use the
818 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
819 handling the internation currency symbol. POSIX says that the
820 fourth character is used to separate the currency symbol from the
821 value. Therefore it does not have to be printed. But we cannot
822 remove the space if the currency symbol is printed before the
823 number since this is what many locales expect.
825 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
826 whether this information is available.
828 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
829 buffers in case the translation is too large. Remember allocated
830 memory blocks in a list.
831 (free_mem): Free memory for translations.
833 * intl/tst-gettext.c: Use correct locale. Improve error messages.
835 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
836 information is available set the string length to zero.
838 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
840 2000-06-30 Greg McGary <greg@mcgary.org>
842 * sysdeps/powerpc/bp-asm.h: New file.
843 * sysdeps/powerpc/__longjmp.S: Check bounds.
844 Wrap extern symbols in BP_SYM ().
845 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
846 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
847 * sysdeps/powerpc/setjmp.S: Likewise.
848 * sysdeps/powerpc/add_n.S: Likewise.
849 * sysdeps/powerpc/addmul_1.S: Likewise.
850 * sysdeps/powerpc/lshift.S: Likewise.
851 * sysdeps/powerpc/rshift.S: Likewise.
852 * sysdeps/powerpc/mul_1.S: Likewise.
853 * sysdeps/powerpc/sub_n.S: Likewise.
854 * sysdeps/powerpc/submul_1.S: Likewise.
855 * sysdeps/powerpc/strlen.S: Likewise.
856 * sysdeps/powerpc/memset.S: Likewise.
857 * sysdeps/powerpc/stpcpy.S: Likewise.
858 * sysdeps/powerpc/strcmp.S: Likewise.
859 * sysdeps/powerpc/strcpy.S: Likewise.
860 * sysdeps/powerpc/elf/bzero.S: Likewise.
862 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
863 Line up operands column with tabs.
865 2000-06-30 Ulrich Drepper <drepper@redhat.com>
867 * elf/Makefile (LDFLAGS-origtest): Actually add it.
869 * sysdeps/ia64/htonl.S: New file.
870 * sysdeps/ia64/htons.S: New file.
871 * sysdeps/ia64/memcpy.S: Replace with version which does not use
872 floating point registers.
873 Patches by Dan Pop <Dan.Pop@cern.ch>.
875 2000-06-30 Andreas Jaeger <aj@suse.de>
877 * posix/Makefile (tests): tst-exec and tst-spawn only work with
880 * io/Makefile (CFLAGS-test-lfs.c): New.
881 (tests): Add test-lfs.
883 * io/test-lfs.c: New file.
885 2000-06-30 Jakub Jelinek <jakub@redhat.com>
887 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
890 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
892 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
894 2000-06-29 Jes Sorensen <jes@linuxcare.com>
896 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
897 alias to the fstatfs call.
899 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
900 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
902 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
903 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
905 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
906 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
907 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
908 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
910 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
911 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
913 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
914 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
916 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
917 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
919 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
921 2000-06-29 Andreas Jaeger <aj@suse.de>
923 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
925 (print_err_message): Likewise.
926 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
928 2000-06-29 Ulrich Drepper <drepper@redhat.com>
930 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
931 used as words is properly aligned.
933 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
936 2000-06-29 Greg McGary <greg@mcgary.org>
938 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
939 * sysdeps/unix/make-syscalls.sh: Handle signatures of
940 length 7..9, just in case...
941 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
943 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
944 (POP_ERRNO_LOCATION_RETURN): Fold insns.
945 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
946 (PUSH_SIGNAL_MASK): New macro.
947 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
948 LEAVE is unnecessary. Check bounds of jmp_buf.
949 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
950 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
951 immediately before tail-call.
952 * sysdeps/i386/setjmp.S: Likewise.
953 * sysdeps/i386/bsd-_setjmp.S: Likewise.
954 * sysdeps/i386/bsd-setjmp.S: Likewise.
956 2000-06-29 Jakub Jelinek <jakub@redhat.com>
958 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
960 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
961 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
962 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
963 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
964 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
965 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
966 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
967 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
969 2000-06-29 Ulrich Drepper <drepper@redhat.com>
971 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
972 we later need to calling free().
973 Patch by Matt Wilson <msw@redhat.com>.
975 * stdio-common/tst-printf.c: Add test for above problem.
977 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
979 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
980 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
982 2000-06-28 Jes Sorensen <jes@linuxcare.com>
984 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
986 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
988 2000-06-23 Andreas Jaeger <aj@suse.de>
990 * config.h.in: Don't use regparm with bounded pointers.
992 2000-06-29 Ulrich Drepper <drepper@redhat.com>
994 * stdlib/grouping.h: Correctly handle multibyte thousands
995 separator and decimal point.
996 * stdlib/stdtod.c: Likewise.
997 * sysdeps/generic/strtol.c: Likewise.
999 * locale/categories.def: Add entries for wide character decimal point
1000 and thousands separator in numeric and monetary category.
1002 2000-06-28 Ulrich Drepper <drepper@redhat.com>
1004 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
1005 second definition and initialization of decimal.
1007 2000-06-28 Greg McGary <greg@mcgary.org>
1009 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
1011 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
1012 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
1014 (_IO_JUMPS): Don't cast THIS--expect arg to be a
1015 (struct _IO_FILE_plus *).
1016 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
1017 THIS, since _IO_JUMPS no longer does it implicitly.
1018 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
1019 arg type as (struct _IO_FILE_plus *).
1020 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
1021 arg as (_IO_strfile *).
1022 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
1023 Declare 1st arg as (_IO_strfile *).
1024 * libio/fileops.c (_IO_new_file_init): Declare
1025 arg type as (struct _IO_FILE_plus *).
1026 * libio/oldfileops.c (_IO_old_file_init): Likewise.
1027 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
1028 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
1029 Declare iteration pointer as (struct _IO_FILE_plus *).
1030 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
1031 (struct _IO_FILE_plus *).
1032 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
1033 * libio/oldstdfiles.c (_IO_list_all): Likewise.
1034 (_IO_check_libio): Set user-visible handles to
1035 (struct _IO_FILE_plus *).
1036 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
1037 to (struct _IO_FILE_plus *).
1039 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
1040 whose high bound includes vtable to all functions that will use
1041 vtable. For streambufs, pass pointer whose bounds include struct
1043 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
1044 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1045 * libio/iofopen.c (_IO_new_fopen): Likewise.
1046 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1047 * libio/iofopen64.c (_IO_fopen64): Likewise.
1048 * libio/iopopen.c (_IO_new_popen): Likewise.
1049 * libio/oldiopopen.c (_IO_old_popen): Likewise.
1050 * libio/memstream.c (open_memstream): Likewise.
1051 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
1052 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
1053 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
1054 * libio/iofopncook.c (_IO_cookie_init): Likewise.
1055 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
1056 * libio/vasprintf.c (_IO_vasprintf): Likewise.
1057 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
1058 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
1059 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
1060 * stdlib/strfmon.c (__strfmon_l): Likewise.
1061 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
1062 (vfprintf): Qualify computed-goto targets as unbounded.
1064 2000-06-28 Ulrich Drepper <drepper@redhat.com>
1066 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
1067 thousands separator correctly.
1069 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
1070 * stdio-common/vfwscanf.c: Likewise.
1072 2000-06-27 Jes Sorensen <jes@linuxcare.com>
1074 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
1075 count into signatures for most calls.
1077 2000-06-28 Ulrich Drepper <drepper@redhat.com>
1079 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
1080 the generic parser now.
1082 2000-06-28 Jes Sorensen <jes@linuxcare.com>
1084 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
1085 table entries are 32 bit on the ia64 (as specified by the ABI),
1086 not 64 bit as on the Alpha.
1088 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
1089 change of objects to use 32 bit hash table indices (see above).
1091 2000-06-28 Jes Sorensen <jes@linuxcare.com>
1093 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
1094 prototype for abs().
1096 2000-06-28 Wolfram Gloger <wg@malloc.de>
1098 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
1099 fails, try mmap_chunk() as a last resort even though n_mmaps_max
1100 may have been reached.
1102 2000-06-28 Ulrich Drepper <drepper@redhat.com>
1104 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
1105 symbols in multi-character weights correctly.
1107 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
1108 depending on whether the input string is empty or not.
1110 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
1111 given state and not avoiding this by modifying a local object.
1112 * wcsmbs/wcrtomb.c: Likewise.
1114 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
1115 object since some incomplete characters might be in there.
1117 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
1118 sequences with first byte 0x8e correctly.
1120 * iconvdata/jis0208.h: Remove redundant test.
1122 2000-06-27 Ulrich Drepper <drepper@redhat.com>
1124 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
1125 Add it where it is needed now.
1127 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
1128 the input charset into account when generating the hash table.
1129 (allocate_arrays): Correct setting default width. Not all empty slots
1130 in the table are filled, only those not covert explicitly by the
1131 locale description and in the charset.
1133 * wctype/towctrans.c (__towctrans): Be graceful and accept error
1134 return values from the wctrans function.
1136 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
1137 wide character version.
1138 For %C handling, test correct pointer variable for NULL.
1140 * wcsmbs/wctob.c: Handle WEOF special.
1142 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
1144 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
1145 always-true test to avoid warning.
1147 2000-06-27 Greg McGary <greg@mcgary.org>
1149 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
1150 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
1151 (symbol_version, default_symbol_version): Factor redundant
1152 definitions out of conditional.
1154 2000-06-27 Jakub Jelinek <jakub@redhat.com>
1156 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
1159 2000-06-26 Ulrich Drepper <drepper@redhat.com>
1161 * include/libc-symbols.h (symbol_version): Add extra level of
1163 (default_symbol_version): Likewise.
1165 2000-06-26 Greg McGary <greg@mcgary.org>
1167 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
1168 for BP return value & push implicit struct-return pointer to
1170 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1171 (SYSCALL_ERROR_HANDLER): Likewise.
1172 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
1173 (SYSCALL_ERROR_HANDLER): Likewise.
1175 * Makeconfig: Add missing comment.
1176 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
1177 BP-flavored startup object.
1178 ($(objpfx)b$(start-installed-name)): New rule.
1179 * include/libc-symbols.h (symbol_set_declare): Change type
1180 of `__start_##set' and `__stop_##set' to pointer-to-function.
1181 (symbol_set_declare): Change type of `set' to array of
1182 pointer-to-function.
1183 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
1184 pointer-to-function.
1186 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
1188 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
1189 Remove clock_* and timer_* entries.
1190 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
1191 arg-count with signatures.
1193 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
1194 Check bounds of arguments.
1195 * sysdeps/i386/addmul_1.S: Likewise.
1196 * sysdeps/i386/lshift.S: Likewise.
1197 * sysdeps/i386/mul_1.S: Likewise.
1198 * sysdeps/i386/rshift.S: Likewise.
1199 * sysdeps/i386/sub_n.S: Likewise.
1200 * sysdeps/i386/submul_1.S: Likewise.
1201 * sysdeps/i386/i586/add_n.S: Likewise.
1202 * sysdeps/i386/i586/addmul_1.S: Likewise.
1203 * sysdeps/i386/i586/lshift.S: Likewise.
1204 * sysdeps/i386/i586/rshift.S: Likewise.
1205 * sysdeps/i386/i586/sub_n.S: Likewise.
1206 * sysdeps/i386/i686/add_n.S: Likewise.
1208 * sysdeps/i386/memchr.S: Likewise.
1209 * sysdeps/i386/memcmp.S: Likewise.
1210 * sysdeps/i386/rawmemchr.S: Likewise.
1211 * sysdeps/i386/i586/bzero.S: Likewise.
1212 * sysdeps/i386/i586/memcpy.S: Likewise.
1213 * sysdeps/i386/i586/mempcpy.S: Likewise.
1214 * sysdeps/i386/i586/memset.S: Likewise.
1215 * sysdeps/i386/i686/bzero.S: Likewise.
1216 * sysdeps/i386/i686/memcpy.S: Likewise.
1217 * sysdeps/i386/i686/mempcpy.S: Likewise.
1218 * sysdeps/i386/i686/memset.S: Likewise.
1220 * sysdeps/i386/stpcpy.S: Likewise.
1221 * sysdeps/i386/stpncpy.S: Likewise.
1222 * sysdeps/i386/strchr.S: Likewise.
1223 * sysdeps/i386/strchrnul.S: Likewise.
1224 * sysdeps/i386/strcspn.S: Likewise.
1225 * sysdeps/i386/strpbrk.S: Likewise.
1226 * sysdeps/i386/strrchr.S: Likewise.
1227 * sysdeps/i386/strspn.S: Likewise.
1228 * sysdeps/i386/strtok.S: Likewise.
1229 * sysdeps/i386/strtok_r.S: Likewise.
1230 * sysdeps/i386/i486/strcat.S: Likewise.
1231 * sysdeps/i386/i486/strlen.S: Likewise.
1232 * sysdeps/i386/i586/strchr.S: Likewise.
1233 * sysdeps/i386/i586/strcpy.S: Likewise.
1234 * sysdeps/i386/i586/strlen.S: Likewise.
1235 * sysdeps/i386/i686/strcmp.S: Likewise.
1236 * sysdeps/i386/i686/strtok.S: Likewise.
1237 * sysdeps/i386/i686/strtok_r.S: Likewise.
1239 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
1240 * sysdeps/i386/fpu/fesetenv.c: Likewise.
1241 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
1242 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
1243 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
1245 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
1246 * sysdeps/i386/mul_1.S: Likewise.
1247 * sysdeps/i386/submul_1.S: Likewise.
1248 * sysdeps/i386/i586/add_n.S: Likewise.
1249 * sysdeps/i386/i586/addmul_1.S: Likewise.
1250 * sysdeps/i386/i586/lshift.S: Likewise.
1251 * sysdeps/i386/i586/mul_1.S: Likewise.
1252 * sysdeps/i386/i586/rshift.S: Likewise.
1253 * sysdeps/i386/i586/sub_n.S: Likewise.
1254 * sysdeps/i386/i586/submul_1.S: Likewise.
1256 2000-06-26 Ulrich Drepper <drepper@redhat.com>
1258 * rt/Makefile (librt-routines): Add clock_nanosleep.
1259 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
1260 * sysdeps/generic/clock_nanosleep.c: New file.
1261 * sysdeps/unix/clock_nanosleep.c: New file.
1262 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
1263 * time/time.h: Declare clock_nanosleep.
1265 2000-06-26 Greg McGary <greg@mcgary.org>
1267 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
1268 INSN1, INSN2, TEXT, GLOBL): Remove macros.
1269 (ALIGN): Cleanup surrounding conditionals.
1271 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
1272 Call ENTER/LEAVE macros.
1273 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
1274 * sysdeps/i386/submul_1.S: Likewise.
1276 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
1277 syntax. Define & use symbolic argument stack offsets. Call
1279 * sysdeps/i386/i586/mul_1.S: Likewise.
1280 * sysdeps/i386/i586/submul_1.S: Likewise.
1282 2000-06-25 Greg McGary <greg@mcgary.org>
1284 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
1287 2000-06-25 Ulrich Drepper <drepper@redhat.com>
1289 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
1290 * iconvdata/gen-8bit-gap.sh: Likewise.
1291 * iconvdata/gen-8bit.sh: Likewise.
1293 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
1295 * locale/programs/ld-collate.c (collate_read): Don't actually read
1296 the copy locale if we are ignoring the content.
1298 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
1301 * locale/programs/ld-collate.c: Correct handling of different
1303 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
1304 as extra parameter from which to copy category information.
1306 (load_locale): Likewise.
1307 * locale/programs/localedef.h: Update prototypes of add_to_readlist
1309 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
1310 * locale/programs/locfile.h: Likewise.
1311 * locale/programs/locfile-kw.gperf: Add entry for script.
1312 * locale/programs/locfile-token.h: Add tok_script.
1314 * locale/programs/locale.c: Update copyright year.
1315 * locale/programs/localedef.c: Likewise.
1317 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
1319 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
1320 Jens Moeller <jens.moeller@waii.com>.
1322 2000-06-24 Ulrich Drepper <drepper@redhat.com>
1324 * locale/programs/ld-name.c (name_finish): Add missing format
1325 specifier to test for name_fmt.
1327 * locale/programs/ld-address.c (iso639): Correct length of string
1329 (iso3166): Likewise.
1331 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
1333 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
1336 * elf/elf.h (NT_PRFPXREG): Define.
1338 2000-06-23 Ulrich Drepper <drepper@redhat.com>
1340 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
1341 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
1343 2000-06-23 Andreas Schwab <schwab@suse.de>
1345 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
1348 2000-06-23 Andreas Jaeger <aj@suse.de>
1350 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
1352 * io/test-stat.c: Add copyright header, mention Maciej.
1354 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
1355 SYS_mincore, SYS_madvise): Added.
1357 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
1360 2000-06-22 Ulrich Drepper <drepper@redhat.com>
1362 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
1363 (CFLAGS-tst_putwc.c): New definition.
1364 * libio/tst_getwc.c: New file.
1365 * libio/tst_getwc.input: New file.
1366 * libio/tst_putwc.c: New file.
1368 * include/string.h: Add prototype for __strdup.
1370 2000-06-22 Greg McGary <greg@mcgary.org>
1372 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
1373 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
1376 2000-06-23 Jes Sorensen <jes@linuxcare.com>
1378 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
1380 2000-06-22 Jes Sorensen <jes@linuxcare.com>
1382 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
1384 2000-06-22 Jes Sorensen <jes@linuxcare.com>
1386 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
1387 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
1389 2000-06-22 Ulrich Drepper <drepper@redhat.com>
1391 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
1392 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
1394 * sysdeps/mach/hurd/bits/stat.h: Likewise.
1395 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1396 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
1397 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1398 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
1399 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
1400 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
1401 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
1402 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1403 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
1404 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
1405 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
1406 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
1407 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
1410 2000-06-22 Andreas Jaeger <aj@suse.de>
1412 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
1415 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
1417 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
1419 2000-06-21 Ulrich Drepper <drepper@redhat.com>
1421 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
1424 2000-06-21 Greg McGary <greg@mcgary.org>
1426 * Makerules (elide-routines.*, elide-bp-thunks):
1427 Define unconditionally.
1429 2000-06-21 Jes Sorensen <jes@linuxcare.com>
1431 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
1433 2000-06-21 Andreas Jaeger <aj@suse.de>
1435 * io/Makefile (tests): Add test-stat.
1436 (CFLAGS-test-stat.c): New.
1438 * io/test-stat.c: New file from Maciej W. Rozycki
1439 <macro@ds2.pg.gda.pl>.
1441 2000-06-21 Jes Sorensen <jes@linuxcare.com>
1443 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
1444 in __rlimit_resource to make them match the kernel order.
1445 rlim_t is always 64 bit, use __rlim64_t to declare it
1448 2000-05-04 Jes Sorensen <jes@linuxcare.com>
1450 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
1451 RLIM_INFINITY before defining it to avoid clash with kernel header
1453 2000-05-03 Jes Sorensen <jes@linuxcare.com>
1455 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
1457 2000-06-21 Ulrich Drepper <drepper@redhat.com>
1459 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
1461 2000-06-21 Andreas Jaeger <aj@suse.de>
1463 * stdio-common/temptest.c: Include <stdlib.h>.
1464 * stdio-common/tst-fileno.c: Likewise.
1465 * stdio-common/scanf4.c: Likewise.
1466 * stdio-common/scanf5.c: Likewise.
1467 * time/clocktest.c: Likewise.
1468 * posix/test-vfork.c: Likewise.
1469 * posix/globtest.c: Likewise.
1470 * io/test-utime.c: Likewise.
1471 * wctype/test_wcfuncs.c: Likewise.
1472 * crypt/cert.c: Likewise.
1474 * stdio-common/tst-printfsz.c: Include <string.h>.
1475 * libio/tst_swscanf.c: Likewise.
1476 * libio/tst_wscanf.c: Likewise.
1477 * posix/runtests.c: Likewise.
1478 * posix/tst-getaddrinfo.c: Likewise.
1479 * posix/wordexp-test.c: Likewise.
1480 * misc/tst-efgcvt.c: Likewise.
1482 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
1483 * nss/test-netdb.c: Likewise.
1485 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
1486 supported kernel for MIPS.
1488 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
1489 * rt/aio_suspend.c: Likewise.
1491 2000-06-20 Ulrich Drepper <drepper@redhat.com>
1493 * math/libm-test.inc: Include <string.h>.
1495 2000-06-20 Jes Sorensen <jes@linuxcare.com>
1497 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
1499 2000-06-20 Jes Sorensen <jes@linuxcare.com>
1501 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
1502 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
1504 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
1506 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
1508 2000-06-20 Jes Sorensen <jes@linuxcare.com>
1510 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
1512 2000-06-20 Ulrich Drepper <drepper@redhat.com>
1514 * locale/programs/ld-collate.c (insert_value): Now take string and
1515 length instead of struct token* parameter. Adjust use of token.
1516 (handle_ellipsis): Likewise.
1517 (collate_read): Allow <Uxxxx> names and transform them into names
1518 to be passed to insert_value and handle_ellipsis.
1520 * locale/programs/ld-ctype.c (uninames): New array with names of
1521 digits in <Uxxxxxxxx> format.
1522 (ctype_finish): Correct search for space character value. Likewise
1523 for default outdigits values.
1525 2000-06-20 Greg McGary <greg@mcgary.org>
1527 * Makerules (objects): Add BP thunks.
1529 2000-06-20 Ulrich Drepper <drepper@redhat.com>
1531 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
1532 in width definitions.
1534 2000-06-20 Andreas Jaeger <aj@suse.de>
1536 * sysdeps/mips/fpu/libm-test-ulps: New file.
1538 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
1541 * sysdeps/mips/fpu/feholdexcpt.c: New file.
1543 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
1545 2000-06-19 Ulrich Drepper <drepper@redhat.com>
1547 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
1548 change in gconv_builtin.h.
1550 * malloc/Makefile: Change all references to memprof into memusage.
1551 * malloc/memprof.c: Rename to...
1552 * malloc/memusage.c: ...this. New file.
1553 * malloc/memprof.sh: Rename to...
1554 * malloc/memusage.sh: ...this. New file.
1555 * malloc/memprofstat.c: Rename to...
1556 * malloc/memusagestat.c: ...this. New file.
1557 * sysdeps/alpha/memprof.h: Rename to..
1558 * sysdeps/alpha/memusage.h: ...this. New file.
1559 * sysdeps/arm/memprof.h: Rename to..
1560 * sysdeps/arm/memusage.h: ...this. New file.
1561 * sysdeps/generic/memprof.h: Rename to..
1562 * sysdeps/generic/memusage.h: ...this. New file.
1563 * sysdeps/i386/memprof.h: Rename to..
1564 * sysdeps/i386/memusage.h: ...this. New file.
1565 * sysdeps/ia64/memprof.h: Rename to..
1566 * sysdeps/ia64/memusage.h: ...this. New file.
1567 * sysdeps/m68k/memprof.h: Rename to..
1568 * sysdeps/m68k/memusage.h: ...this. New file.
1569 * sysdeps/mips/memprof.h: Rename to..
1570 * sysdeps/mips/memusage.h: ...this. New file.
1571 * sysdeps/powerpc/memprof.h: Rename to..
1572 * sysdeps/powerpc/memusage.h: ...this. New file.
1573 * sysdeps/sparc/memprof.h: Rename to..
1574 * sysdeps/sparc/memusage.h: ...this. New file.
1575 * sysdeps/sh/memprof.h: Rename to..
1576 * sysdeps/sh/memusage.h: ...this. New file.
1578 * elf/sprof.c (print_version): Update year.
1580 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
1581 table entry values. Use D_PTR.
1582 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
1583 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
1585 2000-06-20 Jes Sorensen <jes@linuxcare.com>
1587 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
1588 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
1589 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
1590 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
1592 2000-05-05 Jes Sorensen <jes@linuxcare.com>
1594 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
1596 2000-06-16 Jes Sorensen <jes@linuxcare.com>
1598 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
1599 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
1600 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
1602 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
1604 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
1607 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
1608 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
1610 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
1613 2000-06-15 Jes Sorensen <jes@linuxcare.com>
1615 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
1617 2000-06-08 Jes Sorensen <jes@linuxcare.com>
1619 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
1621 2000-06-19 Ulrich Drepper <drepper@redhat.com>
1623 * iconv/gconv_int.h (strict gconv_module): Remove all members
1624 associated with regular expressions. Use a simple string as the
1626 * iconv/gconv_db.c: Remove code handling regular expressions.
1627 * iconv/gconv_conf.c: Likewise.
1628 * iconv/iconv_prog.c: Likewise.
1629 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
1631 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
1632 General namespace cleanup.
1633 (struct __gconv_trans_data): Add next field.
1634 (struct __gconv_step_data): Make __trans a pointer.
1635 * iconv/gconv_conf.c: Split out code to find gconv directories from
1636 __gconv_read_conf in new functions.
1637 * iconv/gconv_int.h: Define new data structure and declare new
1638 functions for handling of gconv directory list.
1639 * iconv/gconv_open.c: Allow more than one error handling step being
1640 used. Call function to load error handling module if it is none
1641 of the builtin transformations.
1642 * iconv/gconv_close.c: Add code to free transliteration data.
1643 * iconv/gconv_trans.c: Add functions to load and unload modules
1644 implementing transliteration etc.
1645 * iconv/skeleton.c: Call all context functions now that more than
1646 one module is allowed.
1647 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
1648 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
1649 where the full error handling using transliteration is needed.
1650 * iconvdata/8bit-gap.c: Likewise.
1651 * iconvdata/8bit-generic.c: Likewise.
1652 * iconvdata/ansi_x3.110.c: Likewise.
1653 * iconvdata/big5.c: Likewise.
1654 * iconvdata/big5hkscs.c: Likewise.
1655 * iconvdata/euc-cn.c: Likewise.
1656 * iconvdata/euc-jp.c: Likewise.
1657 * iconvdata/euc-kr.c: Likewise.
1658 * iconvdata/euc-tw.c: Likewise.
1659 * iconvdata/gbgbk.c: Likewise.
1660 * iconvdata/gbk.c: Likewise.
1661 * iconvdata/iso-2022-cn.c: Likewise.
1662 * iconvdata/iso-2022-jp.c: Likewise.
1663 * iconvdata/iso-2022-kr.c: Likewise.
1664 * iconvdata/iso646.c: Likewise.
1665 * iconvdata/iso8859-1.c: Likewise.
1666 * iconvdata/iso_6937-2.c: Likewise.
1667 * iconvdata/iso_6937.c: Likewise.
1668 * iconvdata/johab.c: Likewise.
1669 * iconvdata/sjis.c: Likewise.
1670 * iconvdata/t.61.c: Likewise.
1671 * iconvdata/uhc.c: Likewise.
1672 * iconvdata/unicode.c: Likewise.
1673 * iconvdata/utf-16.c: Likewise.
1674 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
1675 structure correctly after last change.
1676 * wcsmbs/btowc.c: Likewise.
1677 * wcsmbs/mbrtowc.c: Likewise.
1678 * wcsmbs/mbsnrtowcs.c: Likewise.
1679 * wcsmbs/mbsrtowcs.c: Likewise.
1680 * wcsmbs/wcrtomb.c: Likewise.
1681 * wcsmbs/wcsnrtombs.c: Likewise.
1682 * wcsmbs/wcsrtombs.c: Likewise.
1683 * wcsmbs/wctob.c: Likewise.
1685 * localedata/Makefile: Set -Wno-format for some files since gcc does
1686 not know all the format specifiers.
1688 2000-06-18 Ulrich Drepper <drepper@redhat.com>
1690 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
1692 * locale/lc-time.c (_nl_init_era_entries): Likewise.
1694 2000-06-18 Andreas Jaeger <aj@suse.de>
1696 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
1697 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
1699 2000-06-17 Ulrich Drepper <drepper@redhat.com>
1701 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
1703 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
1705 * locale/programs/ld-ctype.c (ctype_output): Really write out
1706 mboutdigits information.
1707 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
1708 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
1709 * localedata/tests/trans.def: Add outdigit information.
1711 * localedata/tst-mbswcs3.c: Remove comment.
1713 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
1714 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
1715 * libio/tst_wprintf.c (main): Add test for I flag.
1717 * iconv/gconv_trans.c: Implement handling if translit_ignore.
1718 * locale/langinfo.h: Add entries for translit_ignore information.
1719 * locale/categories.def: Add entries for new LC_CTYPE elements.
1720 * locale/C-ctype.c: Add initializers for new fields. Use NULL
1721 pointer instead of "" where possible.
1722 * locale/programs/ld-ctype.c: Write out translit_ignore information.
1723 * intl/Depend: Add localedata.
1724 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
1725 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
1727 2000-06-16 Ulrich Drepper <drepper@redhat.com>
1729 * locale/langinfo.h: Add entries for default_missing information.
1730 * locale/C-ctype.c: Add initializers for new fields.
1731 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
1733 * locale/categories.h: Add entries for all LC_CTYPE values.
1734 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
1737 * localedata/tst-trans.c: Write out an error message if class is
1740 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
1741 * iconv/gconv_open.c: Remove error handling specification from `from'
1743 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
1744 new parameter to always enable transliteration.
1745 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
1747 (struct locale_data): Add new members use_translit and options.
1748 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
1749 character set name contained modifier TRANSLIT.
1750 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
1752 (_nl_unload_locale): Free options string if necessary.
1753 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
1754 the locale names suggested this.
1755 * locale/C-address.c: Add two new initialilzers to adjust data
1756 structure for new format.
1757 * locale/C-collate.c: Likewise.
1758 * locale/C-ctype.c: Likewise.
1759 * locale/C-identification.c: Likewise.
1760 * locale/C-measurement.c: Likewise.
1761 * locale/C-messages.c: Likewise.
1762 * locale/C-monetary.c: Likewise.
1763 * locale/C-name.c: Likewise.
1764 * locale/C-numeric.c: Likewise.
1765 * locale/C-paper.c: Likewise.
1766 * locale/C-telephone.c: Likewise.
1767 * locale/C-time.c: Likewise.
1769 * locale/setlocale.c: Add some more __builtin_expect.
1771 2000-06-15 Ulrich Drepper <drepper@redhat.com>
1773 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
1775 (__gconv_init_fct): Remove two parameters.
1776 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
1777 gconv_transliterate. Remove two parameters.
1778 Change prototypes of builtin functions according to __gconv_fct change.
1779 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
1780 != NULL only during error handling. Stop in this case after the
1782 * iconv/gconv_trans.c: Replace with real implementation for
1783 __gconv_transliterate.
1784 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
1785 * iconv/gconv.c: Change calls to downstream functions once again.
1786 Use NULL for the fifth parameter instead of pointer to output buffer.
1787 * libio/iofwide.c: Likewise.
1788 * wcsmbs/btowc.c: Likewise.
1789 * wcsmbs/mbrtowc.c: Likewise.
1790 * wcsmbs/mbsnrtowcs.c: Likewise.
1791 * wcsmbs/mbsrtowcs.c: Likewise.
1792 * wcsmbs/wcrtomb.c: Likewise.
1793 * wcsmbs/wcsnrtombs.c: Likewise.
1794 * wcsmbs/wcsrtombs.c: Likewise.
1795 * wcsmbs/wctob.c: Likewise.
1796 * iconv/gconv_simple.c: Remove two parameters from error handling
1798 * iconvdata/8bit-gap.c: Likewise.
1799 * iconvdata/8bit-generic.c: Likewise.
1800 * iconvdata/ansi_x3.110.c: Likewise.
1801 * iconvdata/big5.c: Likewise.
1802 * iconvdata/big5hkscs.c: Likewise.
1803 * iconvdata/euc-cn.c: Likewise.
1804 * iconvdata/euc-jp.c: Likewise.
1805 * iconvdata/euc-kr.c: Likewise.
1806 * iconvdata/euc-tw.c: Likewise.
1807 * iconvdata/gbgbk.c: Likewise.
1808 * iconvdata/gbk.c: Likewise.
1809 * iconvdata/iso-2022-cn.c: Likewise.
1810 * iconvdata/iso-2022-jp.c: Likewise.
1811 * iconvdata/iso-2022-kr.c: Likewise.
1812 * iconvdata/iso646.c: Likewise.
1813 * iconvdata/iso8859-1.c: Likewise.
1814 * iconvdata/iso_6937-2.c: Likewise.
1815 * iconvdata/iso_6937.c: Likewise.
1816 * iconvdata/johab.c: Likewise.
1817 * iconvdata/sjis.c: Likewise.
1818 * iconvdata/t.61.c: Likewise.
1819 * iconvdata/uhc.c: Likewise.
1820 * iconvdata/unicode.c: Likewise.
1821 * iconvdata/utf-16.c: Likewise.
1823 2000-06-15 Greg McGary <greg@mcgary.org>
1825 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
1826 of callnum assignment. Tolerate callnum expressions containing
1829 2000-06-14 Ulrich Drepper <drepper@redhat.com>
1831 * login/Makefile (utmpd): Remove rule to build utmpd.
1833 * csu/Versions: Move libgcc frame handling functions from here...
1834 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
1835 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
1836 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
1837 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
1838 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
1839 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
1841 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
1843 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
1845 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
1847 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
1849 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
1851 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
1852 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
1853 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
1854 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
1856 2000-06-14 Jakub Jelinek <jakub@redhat.com>
1858 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
1859 defined, terminate quotes and read them after the comment char.
1860 * configure.in (HAVE_SECTION_QUOTES): Test whether
1861 __attribute__((section ("x"))) puts quotes around x or not.
1862 * config.h.in (HAVE_SECTION_QUOTES): Add.
1863 * configure: Rebuilt.
1865 2000-06-14 Andreas Jaeger <aj@suse.de>
1867 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
1868 depending on the configure option --sysconfdir.
1869 Closes PR libc/1762.
1870 Patch by Andreas Schwab <schwab@suse.de>.
1872 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
1874 Reported by Jim Pick <jim@jimpick.com>.
1876 2000-06-14 Ulrich Drepper <drepper@redhat.com>
1878 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
1879 crashing the application. Emit some simple error message.
1880 Reported by mju@panasas.com [PR libc/1769].
1882 2000-06-13 Ulrich Drepper <drepper@redhat.com>
1884 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
1886 * crypt/Makefile (distribute): Add md5.h.
1888 * Makefile (distribute): Add include/shlib-compat.h.
1890 * Make-dist: Search for tests also in sysdeps hierachy.
1892 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
1893 ufc.c, speeds.c, README.ufc-crypt, and Banner.
1895 * sysdeps/sparc/Subdirs: New file.
1897 * locale/Makefile (distribute): Add weightwc.h and
1898 programs/localedef.h.
1900 * time/Makefile (distribute): Add datemsk.
1902 * sysdeps/ia64/Dist: Add softpipe.h.
1904 * sysdeps/unix/sysv/aix/Dist: New file.
1906 * posix/setpgrp.c: Moved to...
1907 * sysdeps/generic/setpgrp.c: ...here. New file.
1908 * io/mknod.c: Moved to...
1909 * sysdeps/generic/mknod.c: ...here. New file.
1911 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
1913 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
1915 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
1917 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
1918 gprsave0.S, gprrest1.S, and gprrest0.S.
1920 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
1922 * posix/Makefile (routines): Add spawnattr_getsigmask,
1923 spawnattr_getschedpolicy, spawnattr_getschedparam,
1924 spawnattr_setsigmask, spawnattr_setschedpolicy, and
1925 spawnattr_setschedparam.
1926 * posix/Versions: Add posix_spawnattr_getschedpolicy,
1927 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
1928 posix_spawnattr_setschedparam.
1930 * posix/spawnattr_setschedparam.c: Fix typo.
1932 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
1935 * login/programs/utmpd.c: Removed.
1936 * login/programs/utmpd.h: Removed.
1937 * login/programs/utmpd-private.h: Removed.
1939 * Makefile (distribute): Add include/db_185.h and include/db.h.
1941 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
1944 * elf/Makefile (distribute): Add missing files.
1946 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
1947 * elf/eval.c: Moved to...
1948 * dlfcn/eval.c: ...here. New file.
1950 * Makefile (distribute): Also distribute ChangeLog.1?.
1952 * Make-dist (+tsrcs): Remove .args handling here as well.
1954 * rt/Makefile (tests): Add tst-timer.
1955 * sysdeps/generic/tst-timer.c: New file.
1957 * Makerules (sources): Don't add BP sources here.
1959 * login/Makefile (distribute): Remove xtmp.h.
1961 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
1962 is true. Reported by Bruno Haible <haible@ilog.fr>.
1964 2000-06-13 Andreas Jaeger <aj@suse.de>
1966 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
1967 Patch by Ralf Baechle <ralf@gnu.org>.
1969 2000-06-13 Ulrich Drepper <drepper@redhat.com>
1971 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
1972 for mincore syscall.
1974 * misc/sys/cdefs.h: Define __bounded and __unbounded if
1975 __BOUNDED_POINTERS__ is not defined.
1977 2000-06-07 Greg McGary <greg@mcgary.org>
1979 * sysdeps/generic/bp-sym.h: New file.
1980 * sysdeps/generic/bp-start.h: New file.
1981 * sysdeps/i386/elf/start.S: Designate BP symbols.
1982 * sysdeps/generic/libc-start.c: Wrap bounds around
1983 argv & envp and each of their string members.
1985 2000-06-07 Greg McGary <greg@mcgary.org>
1987 * sysdeps/unix/make-syscalls.sh: Add comments to
1988 output that aid debugging & comprehension.
1989 Map simple syscall signatures to number of args.
1990 Generate BP syscall thunk definitions.
1991 * sysdeps/generic/bp-thunks.h: New file.
1992 * sysdeps/unix/syscalls.list: Replace arg-count with
1993 simple return+arg signature.
1994 * sysdeps/unix/common/syscalls.list: Likewise.
1995 * sysdeps/unix/inet/syscalls.list: Likewise.
1996 * sysdeps/unix/mman/syscalls.list: Likewise.
1997 * sysdeps/unix/sysv/syscalls.list: Likewise.
1998 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1999 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
2001 2000-06-07 Greg McGary <greg@mcgary.org>
2003 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
2004 for all files *.[cS].
2005 (CFLAGS-.ob): Don't optimize sibling calls.
2006 (bppfx): New variable.
2007 * Makerules (elide-bp-thunks): New variable.
2008 (elide-routines.*): Elide BP-* files for all but *.ob.
2009 (sources): Include bp-thunks.
2011 2000-06-12 Ulrich Drepper <drepper@redhat.com>
2013 * iconv/gconv_simple.c: Remove unnecessary prototype.
2015 * iconv/gconv_trans.c: Pretty print.
2017 * elf/elf.h (R_SH_NUM): Got accidently dropped.
2019 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
2020 minimal kernel versions. Add information about IA-64 kernel.
2022 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
2023 specific minimal supported kernel versions to be specified.
2025 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
2026 step data structure.
2027 * wcsmbs/btowc.c: Likewise.
2028 * wcsmbs/mbrtowc.c: Likewise.
2029 * wcsmbs/mbsnrtowcs.c: Likewise.
2030 * wcsmbs/mbsrtowcs.c: Likewise.
2031 * wcsmbs/wcrtomb.c: Likewise.
2032 * wcsmbs/wcsnrtombs.c: Likewise.
2033 * wcsmbs/wcsrtombs.c: Likewise.
2034 * wcsmbs/wctob.c: Likewise.
2036 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
2037 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
2039 * shlib-versions: Earliest backward compatible version for SH is 2.2.
2041 * misc/sys/cdefs.h: Remove one more __P.
2043 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
2046 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
2047 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
2048 * sysdeps/sh/bits/setjmp.h: ...here. New file.
2050 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
2051 Yutaka Niibe <gniibe@chroot.org>
2053 * configure.in: Add machine sh3, sh4.
2054 * elf/elf.h: Add SH specific declarations of relocations.
2055 * shlib-versions: Add sh*-*-linux* cases.
2057 2000-06-12 Ulrich Drepper <drepper@redhat.com>
2059 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
2060 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
2061 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
2062 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
2063 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
2064 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
2066 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
2067 instead of KERNEL_MATH_EMULATION.
2068 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
2069 KERNEL_MATH_EMULATION.
2071 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
2072 * sysdeps/sh/sh3/dl-machine.h: Moved to...
2073 * sysdeps/sh/dl-machine.h: ...here. New file.
2074 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
2075 and include generic SH version.
2076 * sysdeps/sh/sh3/bits/endian.h: Move to...
2077 * sysdeps/sh/bits/endian.h: ...here. New file.
2078 * sysdeps/sh/sh4/bits/endian.h: Removed.
2079 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
2080 * sysdeps/sh/bits/huge_val.h: ...here. New file.
2081 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
2083 * include/libc-symbols.h (link_warning): Work around a change in
2084 GAS which warns about changing section attributes.
2085 Proposed by Nick Clifton <nickc@redhat.com>.
2087 2000-06-12 H.J. Lu <hjl@gnu.org>
2089 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
2091 2000-06-11 H.J. Lu <hjl@gnu.org>
2093 * sysdeps/i386/fpu/Versions: New file.
2095 2000-06-12 Ulrich Drepper <drepper@redhat.com>
2097 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
2099 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
2102 2000-06-12 Jes Sorensen <jes@linuxcare.com>
2104 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
2105 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
2106 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
2108 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
2109 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
2110 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
2112 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
2113 Yutaka Niibe <gniibe@chroot.org>
2115 * sysdeps/sh/Dist: New file.
2116 * sysdeps/sh/Implies: New file.
2117 * sysdeps/sh/elf/initfini.c: New file.
2118 * sysdeps/sh/gmp-mparam.h: New file.
2119 * sysdeps/sh/init-first.c: New file.
2120 * sysdeps/sh/machine-gmon.h: New file.
2121 * sysdeps/sh/memcpy.S: New file.
2122 * sysdeps/sh/memprof.h: New file.
2123 * sysdeps/sh/memset.S: New file.
2124 * sysdeps/sh/sh3/__longjmp.S: New file.
2125 * sysdeps/sh/sh3/bits/endian.h: New file.
2126 * sysdeps/sh/sh3/bits/huge_val.h: New file.
2127 * sysdeps/sh/sh3/bits/setjmp.h: New file.
2128 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
2129 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
2130 * sysdeps/sh/sh3/dl-machine.h: New file.
2131 * sysdeps/sh/sh3/setjmp.S: New file.
2132 * sysdeps/sh/sh4/__longjmp.S: New file.
2133 * sysdeps/sh/sh4/bits/endian.h: New file.
2134 * sysdeps/sh/sh4/bits/huge_val.h: New file.
2135 * sysdeps/sh/sh4/bits/setjmp.h: New file.
2136 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
2137 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
2138 * sysdeps/sh/sh4/dl-machine.h: New file.
2139 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
2140 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
2141 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
2142 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
2143 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
2144 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
2145 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
2146 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
2147 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
2148 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
2149 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
2150 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
2151 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
2152 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
2153 * sysdeps/sh/sh4/setjmp.S: New file.
2154 * sysdeps/sh/elf/start.S: New file.
2155 * sysdeps/sh/sys/ucontext.h: New file.
2156 * sysdeps/sh/strlen.S: New file.
2157 * sysdeps/sh/sysdep.h: New file.
2158 * sysdeps/unix/sh/sysdep.S: New file.
2159 * sysdeps/unix/sh/sysdep.h: New file.
2160 * sysdeps/unix/sysv/linux/sh/Dist: New file.
2161 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
2162 * sysdeps/unix/sysv/linux/sh/Versions: New file.
2163 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
2164 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
2165 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
2166 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
2167 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
2168 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
2169 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
2170 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
2171 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
2172 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
2173 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
2174 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
2175 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
2176 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
2177 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
2178 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
2179 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
2180 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
2181 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
2182 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
2183 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
2184 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
2185 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
2186 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
2187 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
2188 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
2189 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
2190 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
2191 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
2192 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
2193 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
2194 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
2195 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
2196 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
2197 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
2198 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
2199 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
2200 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
2201 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
2202 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
2203 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
2204 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
2205 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
2206 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
2207 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
2208 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
2209 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
2211 2000-06-12 Ulrich Drepper <drepper@redhat.com>
2213 * Rules (%.out): Define GCONV_PATH in the environment.
2214 * assert/Depend: New file.
2215 * iconvdata/Depend: New file.
2216 * intl/Depend: New file.
2217 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
2218 * intl/tst-gettext.sh: Likewise.
2219 * iconv/Makefile (routines): Add gconv_trans.
2220 * iconv/gconv_trans.c: New file.
2221 * iconv/gconv.h (struct __gconv_trans_data): New type.
2222 (__gconv_fct): New parameter with starting position in output buffer.
2223 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
2224 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
2225 (struct __gconv_step): Add new member __trans.
2226 * iconv/gconv_int.h: Pretty print prototypes.
2227 (gconv_transliterate): New prototype.
2228 (__BUILTIN_TRANS): Update for new conversion function interface.
2229 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
2230 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
2231 in names, find appropriate function, and install in the conversion
2232 steps it can be used.
2233 * iconv/skeleton.c: Add additional parameter for beginning of output
2234 buffer. Change calls of downstream functions.
2235 * iconv/loop.c: Change loop function interface completely. Pass in
2236 step and step_data structure. Remove optimization for BODY with
2237 NEED_LENGTH_TEST == 0.
2238 * iconv/gconv_simple.c: Update interfaces of functions. Insert
2239 appropriate error handling code to use transliteration steps. Remove
2240 optimization for BODY with NEED_LENGTH_TEST == 0.
2241 * iconvdata/8bit-gap.c: Likewise.
2242 * iconvdata/8bit-generic.c: Likewise.
2243 * iconvdata/ansi_x3.110.c: Likewise.
2244 * iconvdata/big5.c: Likewise.
2245 * iconvdata/big5hkscs.c: Likewise.
2246 * iconvdata/euc-cn.c: Likewise.
2247 * iconvdata/euc-jp.c: Likewise.
2248 * iconvdata/euc-kr.c: Likewise.
2249 * iconvdata/euc-tw.c: Likewise.
2250 * iconvdata/gbgbk.c: Likewise.
2251 * iconvdata/gbk.c: Likewise.
2252 * iconvdata/iso-2022-cn.c: Likewise.
2253 * iconvdata/iso-2022-jp.c: Likewise.
2254 * iconvdata/iso-2022-kr.c: Likewise.
2255 * iconvdata/iso646.c: Likewise.
2256 * iconvdata/iso8859-1.c: Likewise.
2257 * iconvdata/iso_6937-2.c: Likewise.
2258 * iconvdata/iso_6937.c: Likewise.
2259 * iconvdata/johab.c: Likewise.
2260 * iconvdata/sjis.c: Likewise.
2261 * iconvdata/t.61.c: Likewise.
2262 * iconvdata/uhc.c: Likewise.
2263 * iconvdata/unicode.c: Likewise.
2264 * iconvdata/utf-16.c: Likewise.
2265 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
2267 * wcsmbs/btowc.c: Likewise.
2268 * wcsmbs/mbrtowc.c: Likewise.
2269 * wcsmbs/mbsnrtowcs.c: Likewise.
2270 * wcsmbs/mbsrtowcs.c: Likewise.
2271 * wcsmbs/wcrtomb.c: Likewise.
2272 * wcsmbs/wcsnrtombs.c: Likewise.
2273 * wcsmbs/wcsrtombs.c: Likewise.
2274 * wcsmbs/wctob.c: Likewise.
2276 2000-04-11 Geoff Keating <geoffk@cygnus.com>
2278 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
2279 other header files. Mention about 128-byte cache line sizes.
2280 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
2281 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
2282 for current calling sequence.
2283 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
2285 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
2286 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2288 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
2289 and setrlimit syscalls for backwards compatibility.
2291 2000-06-10 Ulrich Drepper <drepper@redhat.com>
2293 * iconv/skeleton.c: Rename converted written to correcter name
2295 * iconv/gconv.c: Rename converted variable to correcter name
2297 * iconv/gconv_int.h: Likewise.
2298 * iconv/gconv_simple.c: Likewise.
2299 * iconv/iconv.c: Likewise.
2300 * iconv/loop.c: Likewise.
2301 * iconvdata/8bit-gap.c: Likewise.
2302 * iconvdata/8bit-generic.c: Likewise.
2303 * iconvdata/ansi_x3.110.c: Likewise.
2304 * iconvdata/big5.c: Likewise.
2305 * iconvdata/big5hkscs.c: Likewise.
2306 * iconvdata/euc-cn.c: Likewise.
2307 * iconvdata/euc-jp.c: Likewise.
2308 * iconvdata/euc-kr.c: Likewise.
2309 * iconvdata/gbgbk.c: Likewise.
2310 * iconvdata/gbk.c: Likewise.
2311 * iconvdata/iso-2022-cn.c: Likewise.
2312 * iconvdata/iso-2022-jp.c: Likewise.
2313 * iconvdata/iso-2022-kr.c: Likewise.
2314 * iconvdata/iso646.c: Likewise.
2315 * iconvdata/iso8859-1.c: Likewise.
2316 * iconvdata/iso_6937-2.c: Likewise.
2317 * iconvdata/iso_6937.c: Likewise.
2318 * iconvdata/johab.c: Likewise.
2319 * iconvdata/sjis.c: Likewise.
2320 * iconvdata/t.61.c: Likewise.
2321 * iconvdata/uhc.c: Likewise.
2322 * iconvdata/unicode.c: Likewise.
2323 * iconvdata/utf-16.c: Likewise.
2325 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
2326 __cmsg_data field with __extension__.
2328 2000-06-10 David Mosberger <davidm@hpl.hp.com>
2330 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
2332 2000-06-10 Ulrich Drepper <drepper@redhat.com>
2334 * iconv/gconv_simple.c: Fix various small bugs in several
2337 * iconv/loop.c: Fix comment.
2339 2000-06-10 Jakub Jelinek <jakub@redhat.com>
2341 * elf/link.h: Remove libc internal declarations.
2342 * include/link.h: Move them here.
2344 2000-06-09 Ulrich Drepper <drepper@redhat.com>
2346 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
2347 Patch by Dan Pop <Dan.Pop@cern.ch>.
2349 Rewrite error message handling.
2350 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
2352 * elf/dl-error (struct catch): Add objname member.
2353 (_dl_signal_error): Take new parameter with object name. When
2354 passing message on simply store object name and duplicate error
2356 (_dl_catch_error): Take new parameter. Store object name in the
2358 * include/dlfcn.h: Adjust _dl_catch_error prototype.
2359 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
2360 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
2361 (dlerror): Add objname to asprintf() parameters.
2362 (_dl_error_run): Pass new parameter to _dl_catch_error.
2363 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
2364 * elf/dl-open.c (_dl_open): Likewise.
2365 * elf/rtld.c (dl_main): Likewise.
2366 * elf/dl-close.c: Mark error messages with N_().
2367 * elf/dl-deps.c: Likewise.
2368 * elf/dl-error.c: Likewise.
2369 * elf/dl-load.c: Likewise.
2370 * elf/dl-open.c: Likewise.
2371 * elf/dl-reloc.c: Likewise.
2372 * elf/dl-support.c: Likewise.
2373 * elf/dl-sym.c: Likewise.
2374 * elf/dl-version.c: Likewise.
2375 * elf/dl-lookup.c: Add comments about problems with error message
2377 * elf/dl-reloc.c: Likewise.
2378 * elf/dl-version.c: Likewise.
2380 2000-06-09 H.J. Lu <hjl@gnu.org>
2382 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
2385 * dlfcn/Makefile (distribute): Add failtestmod.c.
2386 (tests): Add failtest.
2387 Add rules to build and run failtest.
2388 * dlfcn/failtest.c: New file.
2389 * dlfcn/failtestmod.c: New file.
2391 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
2393 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
2394 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
2395 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
2396 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
2397 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
2399 2000-06-09 Jes Sorensen <jes@linuxcare.com>
2401 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
2402 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
2404 2000-06-09 Jes Sorensen <jes@linuxcare.com>
2405 Ulrich Drepper <drepper@redhat.com>
2407 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
2408 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
2409 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
2410 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
2411 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
2412 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
2414 2000-06-09 Ulrich Drepper <drepper@redhat.com>
2416 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
2417 to find correct mount point despite wrong information from the
2420 2000-06-09 Jes Sorensen <jes@linuxcare.com>
2422 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
2423 the address of a symbol so function pointers are handled properly.
2425 2000-06-08 Ulrich Drepper <drepper@redhat.com>
2427 * sysdeps/i386/Dist: Add bp-asm.h.
2429 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
2430 defaultdir variable instead of "/var/shm" everywhere.
2431 (defaultdir): Change to /dev/shm/.
2433 2000-06-08 Greg McGary <greg@mcgary.org>
2435 * sysdeps/i386/bp-asm.h: New file.
2436 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
2437 offsets. Add ENTER/LEAVE macros for optionally maintaining
2438 frame-pointer chain when debugging.
2439 * sysdeps/i386/add_n.S: Likewise.
2440 * sysdeps/i386/addmul_1.S: Likewise.
2441 * sysdeps/i386/lshift.S: Likewise.
2442 * sysdeps/i386/memchr.S: Likewise.
2443 * sysdeps/i386/memcmp.S: Likewise.
2444 * sysdeps/i386/mul_1.S: Likewise.
2445 * sysdeps/i386/rawmemchr.S: Likewise.
2446 * sysdeps/i386/rshift.S: Likewise.
2447 * sysdeps/i386/stpcpy.S: Likewise.
2448 * sysdeps/i386/stpncpy.S: Likewise.
2449 * sysdeps/i386/strchr.S: Likewise.
2450 * sysdeps/i386/strchrnul.S: Likewise.
2451 * sysdeps/i386/strcspn.S: Likewise.
2452 * sysdeps/i386/strpbrk.S: Likewise.
2453 * sysdeps/i386/strrchr.S: Likewise.
2454 * sysdeps/i386/strspn.S: Likewise.
2455 * sysdeps/i386/strtok.S: Likewise.
2456 * sysdeps/i386/sub_n.S: Likewise.
2457 * sysdeps/i386/submul_1.S: Likewise.
2458 * sysdeps/i386/elf/setjmp.S: Likewise.
2459 * sysdeps/i386/i486/strcat.S: Likewise.
2460 * sysdeps/i386/i486/strlen.S: Likewise.
2461 * sysdeps/i386/i586/add_n.S: Likewise.
2462 * sysdeps/i386/i586/lshift.S: Likewise.
2463 * sysdeps/i386/i586/memcpy.S: Likewise.
2464 * sysdeps/i386/i586/memset.S: Likewise.
2465 * sysdeps/i386/i586/rshift.S: Likewise.
2466 * sysdeps/i386/i586/strchr.S: Likewise.
2467 * sysdeps/i386/i586/strcpy.S: Likewise.
2468 * sysdeps/i386/i586/strlen.S: Likewise.
2469 * sysdeps/i386/i586/sub_n.S: Likewise.
2470 * sysdeps/i386/i686/add_n.S: Likewise.
2471 * sysdeps/i386/i686/memcpy.S: Likewise.
2472 * sysdeps/i386/i686/mempcpy.S: Likewise.
2473 * sysdeps/i386/i686/memset.S: Likewise.
2474 * sysdeps/i386/i686/strcmp.S: Likewise.
2476 2000-06-08 Ulrich Drepper <drepper@redhat.com>
2478 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
2480 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
2481 256 and don't use OPEN_MAX.
2483 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
2484 use it instead of LINK_MAX.
2485 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
2487 2000-06-08 Andreas Jaeger <aj@suse.de>
2489 * libio/genops.c (_IO_list_lock): Only compile body if we're
2491 (_IO_list_unlock): Likewise.
2492 (_IO_list_resetlock): Likewise.
2494 2000-06-07 Ulrich Drepper <drepper@redhat.com>
2496 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
2497 unless user defined it.
2499 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
2500 if not defined by the user.
2502 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
2503 * libio/iofwrite.c (_IO_fwrite): Likewise.
2505 * time/time.h: Add missing __THROW for clock_getcpuclockid
2508 * elf/Makefile (distribute): Add dl-dtprocnum.h.
2509 * include/elf.h: Include also <dl-dtprocnum.h>.
2510 * elf/dl-deps.c: Likewise.
2511 * elf/dl-lookup.c: Likewise.
2512 * elf/dl-runtime.c: Likewise.
2513 * elf/dl-version.c: Likewise.
2514 * elf/do-rel.h: Likewise.
2515 * elf/dynamic-link.h: Likewise.
2516 * elf/link.h: Likewise.
2517 * elf/rtld.c: Likewise.
2518 * sysdeps/generic/dl-dtprocnum.h: New file.
2519 * sysdeps/ia64/dl-dtprocnum.h: New file.
2520 * sysdeps/mips/dl-dtprocnum.h: New file.
2521 * sysdeps/sparc/dl-dtprocnum.h: New file.
2523 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
2525 * elf/do-lookup.h: Add some __builtin_expect.
2527 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
2529 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
2530 (_dl_dynamic_weak): New variable.
2531 * elf/dl-support.c: Likewise.
2532 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
2533 * elf/do-lookup.h: If we find a weak definition treat it like a
2534 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
2535 case treat it like before.
2537 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
2539 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
2541 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
2542 using l_map_start and l_map_end.
2544 * elf/dl-version.c: Add __builtin_expect in many places.
2546 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
2549 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
2551 Lock for stdio stream list becomes global, for use in LinuxThreads.
2553 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
2554 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
2555 _IO_list_resetlock): New interface for iterating global list of
2556 streams without accessing the _IO_list_all global variable,
2557 and for manipulating the lock which protects this list.
2558 * libio/libioP.h: Likewise.
2559 * libio/Version: Add entries for the new functions.
2561 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
2562 pointer to _IO_FILE.
2564 2000-06-07 Ulrich Drepper <drepper@redhat.com>
2566 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
2567 BIT() must actually be BITw().
2569 * locale/programs/ld-ctype.c: Handle SP and space consistently.
2571 * locale/programs/charmap.c: Allow string arguments for
2572 code_set_name and repertoiremap.
2574 2000-06-07 Andreas Jaeger <aj@suse.de>
2576 * elf/Makefile: Build ldconfig only when building shared libraries.
2578 2000-06-07 Jakub Jelinek <jakub@redhat.com>
2580 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
2582 (fdimf, __fdim, fdim): Likewise.
2584 2000-06-07 Ulrich Drepper <drepper@redhat.com>
2586 * locale/findlocale.c: Add __builtin_expect in many places.
2587 * locale/loadlocale.c: Likewise.
2589 2000-06-06 Greg McGary <greg@mcgary.org>
2591 * sysdeps/mips/elf/start.S: Trim redundant code.
2593 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
2594 Use C comments throughout. Line up operands column with tabs.
2595 * sysdeps/powerpc/strchr.S: Likewise.
2596 * sysdeps/powerpc/strcmp.S: Likewise.
2597 * sysdeps/powerpc/strcpy.S: Likewise.
2598 * sysdeps/powerpc/strlen.S: Likewise.
2600 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
2601 Get low part of &__curbrk with @l.
2603 2000-06-06 Ulrich Drepper <drepper@redhat.com>
2605 * iconvdata/utf-16.c: Add __builtin_expect in many places.
2606 * iconvdata/unicode.c: Likewise.
2607 * iconvdata/uhc.c: Likewise.
2608 * iconvdata/t.61.c: Likewise.
2609 * iconvdata/sjis.c: Likewise.
2610 * iconvdata/johab.c: Likewise.
2611 * iconvdata/iso_6937.c: Likewise.
2612 * iconvdata/iso_6937-2.c: Likewise.
2613 * iconvdata/iso8859-1.c: Likewise.
2614 * iconvdata/iso646.c: Likewise.
2615 * iconvdata/iso-2022-kr.c: Likewise.
2616 * iconvdata/iso-2022-jp.c: Likewise.
2617 * iconvdata/iso-2022-cn.c: Likewise.
2618 * iconvdata/gbgbk.c: Likewise.
2619 * iconvdata/gbk.c: Likewise.
2620 * iconvdata/euc-kr.c: Likewise.
2621 * iconvdata/euc-jp.c: Likewise.
2622 * iconvdata/euc-cn.c: Likewise.
2624 2000-06-05 Ulrich Drepper <drepper@redhat.com>
2626 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
2627 * iconvdata/big5.c: Likewise.
2628 * iconvdata/ansi_x3.110.c: Likewise.
2629 * iconvdata/8bit-generic.c: Likewise.
2630 * iconvdata/8bit-gap.c: Likewise.
2631 * iconv/loop.c: Likewise.
2632 * iconv/gconv_db.c: Likewise.
2633 * iconv/gconv_dl.c: Likewise.
2634 * iconv/gconv_simple.c: Likewise.
2635 * iconv/skeleton.c: Likewise.
2637 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
2638 (struct __gconv_step_data): Rename __is_last to __flags.
2639 * iconv/gconv_close.c: Change all uses of __is_last.
2640 * iconv/skeleton.c: Likewise.
2641 * iconvdata/iso-2022-cn.c: Likewise.
2642 * iconvdata/iso-2022-jp.c: Likewise.
2643 * iconvdata/iso-2022-kr.c: Likewise.
2644 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
2645 Recognize IGNORE error handling, set flag, and remove from name.
2646 * iconv/loop.c (ignore_errors_p): Define.
2647 Add flags parameter to both functions.
2648 * iconv/skeleton.c: Pass flags to all conversion functions.
2649 * iconv/gconv_simple.c: Add flags parameter to all functions.
2650 Don't return error for invald error if ignore flag is set.
2651 (ucs4_internal_loop_single): Add missing pointer increment.
2652 (internal_ucs4le_loop_single): Likewise.
2653 * iconv/iconv_prog.c: Implement handling of -c parameter.
2654 * iconvdata/8bit-gap.c: Don't return error for invald error if
2656 * iconvdata/8bit-generic.c: Likewise.
2657 * iconvdata/ansi_x3.110.c: Likewise.
2658 * iconvdata/big5.c: Likewise.
2659 * iconvdata/big5hkscs.c: Likewise.
2660 * iconvdata/euc-cn.c: Likewise.
2661 * iconvdata/euc-jp.c: Likewise.
2662 * iconvdata/euc-kr.c: Likewise.
2663 * iconvdata/gbgbk.c: Likewise.
2664 * iconvdata/gbk.c: Likewise.
2665 * iconvdata/iso-2022-cn.c: Likewise.
2666 * iconvdata/iso-2022-jp.c: Likewise.
2667 * iconvdata/iso-2022-kr.c: Likewise.
2668 * iconvdata/iso646.c: Likewise.
2669 * iconvdata/iso8859-1.c: Likewise.
2670 * iconvdata/iso_6937-2.c: Likewise.
2671 * iconvdata/iso_6937.c: Likewise.
2672 * iconvdata/johab.c: Likewise.
2673 * iconvdata/sjis.c: Likewise.
2674 * iconvdata/t.61.c: Likewise.
2675 * iconvdata/uhc.c: Likewise.
2676 * iconvdata/unicode.c: Likewise.
2677 * iconvdata/utf-16.c: Likewise.
2678 * libio/fileops.c: Likewise.
2679 * libio/iofwide.c: Likewise.
2680 * wcsmbs/btowc.c: Likewise.
2681 * wcsmbs/mbrtowc.c: Likewise.
2682 * wcsmbs/mbsnrtowcs.c: Likewise.
2683 * wcsmbs/mbsrtowcs.c: Likewise.
2684 * wcsmbs/wcrtomb.c: Likewise.
2685 * wcsmbs/wcsnrtombs.c: Likewise.
2686 * wcsmbs/wcsrtombs.c: Likewise.
2687 * wcsmbs/wctob.c: Likewise.
2689 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
2692 2000-06-04 Ulrich Drepper <drepper@redhat.com>
2694 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
2695 counter for the object we are releasing, just decrement it.
2696 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
2698 2000-06-04 Jakub Jelinek <jakub@redhat.com>
2700 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
2703 2000-06-04 Ulrich Drepper <drepper@redhat.com>
2705 * iconvdata/big5hkscs.c: New file.
2706 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
2708 * iconvdata/gconv-modules: Add entry for new module.
2709 * iconvdata/Makefile (modules): Add BIG5HKSCS.
2710 (distribute): Add big5hkscs.c.
2712 2000-06-01 Jakub Jelinek <jakub@redhat.com>
2714 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
2715 inlines to match prototypes in mathcalls.h.
2716 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
2717 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
2718 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
2719 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2721 2000-06-03 Ulrich Drepper <drepper@redhat.com>
2723 * elf/elf.h (SHT_SUNW_move): Define.
2725 * elf/elf.h: Add more Solaris compatiblity definitions.
2727 2000-06-03 Andreas Jaeger <aj@suse.de>
2729 * sysdeps/powerpc/dl-start.S: Close open comment.
2731 2000-06-03 Jakub Jelinek <jakub@redhat.com>
2733 * inet/Versions: Fix typo in rresvport_af export.
2735 2000-06-02 Ulrich Drepper <drepper@redhat.com>
2737 * math/tgmath.h: Pretty print.
2739 2000-06-02 Andreas Jaeger <aj@suse.de>
2741 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
2742 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2744 2000-06-02 Ulrich Drepper <drepper@redhat.com>
2746 * elf/rtld.c (process_envvars): Test for = after variable name.
2748 2000-06-01 Ulrich Drepper <drepper@redhat.com>
2750 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
2751 have extra call to __gmon_start__, use the pointer we already have.
2753 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
2756 * sysdeps/i386/elf/setjmp.S: Work around change is recent
2757 binutils. gas now emits a jump through the PLT instead of a
2758 relative jump if the jump target is an exported symbol.
2760 2000-05-31 Ulrich Drepper <drepper@redhat.com>
2762 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
2764 2000-05-31 Andreas Jaeger <aj@suse.de>
2766 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
2769 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
2770 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2772 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
2774 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
2776 2000-05-30 Ulrich Drepper <drepper@redhat.com>
2778 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
2780 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
2781 * locale/localeconv.c: Make function versioned (with same definition).
2783 * elf/Makefile (modules-names): Strip before using it.
2785 2000-05-30 Andreas Jaeger <aj@suse.de>
2787 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
2788 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
2789 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
2790 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
2791 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
2792 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
2794 2000-05-29 Ulrich Drepper <drepper@redhat.com>
2796 * Makefile: Add GNU make magic.
2798 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
2800 * inet/rcmd.c: Remove __P. Remove unused variables.
2801 (iruserfopen): Make first parameter const.
2802 (ruserok_sa): Return result of ruserok2_sa.
2803 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
2804 * inet/rexec.c: Remove unused variables. Other small cleanups.
2805 * inet/ruserpass.c: Remove __P. Remove unused variables.
2806 (ruserpass): Check results of memory allocation.
2807 * include/netdb.h: Add prototype for ruserpass.
2809 2000-05-29 Andreas Jaeger <aj@suse.de>
2811 * elf/readlib.c (interpreters): Use LD_SO since this is supported
2814 2000-05-29 Jakub Jelinek <jakub@redhat.com>
2816 * inet/rcmd.c (rresvport_af): Use correct port number.
2818 2000-05-26 Andreas Schwab <schwab@suse.de>
2820 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
2821 entries in all-sonames.
2822 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
2823 preserving the old name if different for compatibility.
2825 2000-05-29 Ulrich Drepper <drepper@redhat.com>
2827 * posix/Makefile (tests): Add tst-spawn.
2828 (tst-spawn-ARGS): New variable.
2829 * posix/tst-spawn.c: New file.
2831 * posix/spawn_faction_addclose.c: Correctly account for new entry.
2832 * posix/spawn_faction_adddup2.c: Likewise.
2833 * posix/spawn_faction_addopen.c: Likewise.
2834 * posix/spawni.c: Correctly test for success of dup2 calls.
2836 * posix/tst-preadwrite.c: Check success of malloc call.
2838 2000-05-28 Ulrich Drepper <drepper@redhat.com>
2840 * posix/Makefile (tests): Add tst-exec.
2841 (tst-exec-ARGS): New variable.
2842 * posix/tst-exec.c: New file.
2844 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
2846 2000-05-04 Andreas Jaeger <aj@suse.de>
2848 * string/string.h: Remove __strdup prototype, it's not needed in
2851 2000-05-28 Ulrich Drepper <drepper@redhat.com>
2853 * posix/Makefile (tests): Add tst-fork.
2854 * posix/tst-fork.c: New file.
2856 * resolv/inet_pton.c: Loose __P.
2858 2000-05-21 Jakub Jelinek <jakub@redhat.com>
2860 * libio/libioP.h (_IO_CHECK_WIDE): Define.
2861 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
2862 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
2863 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
2864 _IO_CHECK_WIDE fails.
2866 2000-05-28 Ulrich Drepper <drepper@redhat.com>
2868 * po/da.po: New file.
2870 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
2871 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
2873 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
2874 (Other iconv Implementations): Fix typo.
2875 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
2877 2000-05-27 Andreas Jaeger <aj@suse.de>
2879 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
2881 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
2882 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
2883 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2884 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2885 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
2886 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
2888 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
2889 endianness to decide how to pass arguments.
2890 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2892 * elf/vismain.c: Use test-skeleton interface.
2893 (TEST_FUNCTION): New macro.
2894 (do_test): Renamed from main.
2896 2000-05-27 Ulrich Drepper <drepper@redhat.com>
2898 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
2899 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
2901 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
2902 handling of AI_V4MAPPED flag.
2904 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
2905 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
2906 perform lookup for T_A type and tell getanswer_r to convert the
2907 result with new argument.
2908 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
2909 Don't convert addresses from IPv4 to IPv6 here.
2910 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
2911 IPv6 is wanted. Allow qtype and type from reply to disagree if
2912 IPv4 mapping has to be done. Perform mappings if required by the
2913 caller and not if RES_USE_INET6 bit in _res.options is set.
2914 Add several __builtin_expect.
2916 2000-05-26 Ulrich Drepper <drepper@redhat.com>
2918 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
2920 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
2923 * posix/tst-preadwrite.c: Allow parallel execution of
2924 tst-preadwrite and tst-preadwrite64.
2926 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
2927 * posix/tst-truncate.c: New file.
2928 * posix/tst-truncate64.c: New file.
2930 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
2933 * posix/Makefile (tests): Add tst-preadwrite64.
2934 * posix/tst-preadwrite.c: Alloc file being used also for testing
2935 pread64 and pwrite64.
2936 * posix/tst-preadwrite64.c: New file.
2938 2000-05-26 Andreas Jaeger <aj@suse.de>
2940 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
2941 of arguments dependend on endianness.
2942 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
2944 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
2946 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
2947 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
2948 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2949 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2951 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
2952 endianness to check how to pass argument.
2953 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2955 * elf/ldconfig.h: Update parameter list for process_elf_file.
2957 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
2958 Add parameter file_length and pass it ot process_elf*file.
2960 * sysdeps/generic/readelflib.c (check_ptr): New.
2961 (process_elf_file): Use check_ptr to check all accesses to the
2962 mmapped file. Add parameter file_length.
2964 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
2967 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
2968 Closes PR libc/1573, reported by Bradley White
2969 <bww@laurelnetworks.com>.
2971 2000-05-25 Ulrich Drepper <drepper@redhat.com>
2973 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
2974 __FAST_MATH__ is defined.
2976 2000-05-22 Andreas Jaeger <aj@suse.de>
2978 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
2979 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
2981 * manual/math.texi (FP Function Optimizations): Document gcc
2982 -ffast-math behaviour with mathinlines.
2984 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
2985 functions unless -ffast-math is given to gcc.
2987 2000-05-23 Jakub Jelinek <jakub@redhat.com>
2989 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
2990 __sincosl): Guard with __USE_GNU.
2992 2000-05-24 Ulrich Drepper <drepper@redhat.com>
2994 * csu/Makefile (routines): Add check_fds.
2995 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
2996 binaries. Add various __builtin_expect.
2997 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
2998 * sysdeps/generic/check_fds.c: ...here. New file.
3000 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
3001 binaries if file /etc/suid-debug is available.
3003 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
3004 and wcseqorder members.
3005 (struct locale_collate_t): Likewise.
3006 (collate_finish): Assign collation sequence value to each character.
3007 Create tables for output.
3008 (collate_output): Write out tables with collation sequence information.
3009 * locale/C-collate.c: Provide C locale data for collation sequence
3011 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
3012 _NL_COLLATE_COLLSEQWC.
3013 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
3014 _NL_COLLATE_COLLSEQWC.
3015 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
3016 include fnmatch_loop.c.
3017 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
3018 character is matched by range expression. Use collation sequence
3019 table. Outside glibc fall back on simple character value comparison.
3021 2000-05-24 Andreas Jaeger <aj@suse.de>
3023 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
3026 * intl/Makefile: Run gettext-test only if msgfmt is available.
3028 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
3029 Define it for newer kernels.
3031 2000-05-23 Ulrich Drepper <drepper@redhat.com>
3033 * elf/dl-sym.c: Minor cleanups.
3035 * configure.in: Add test for .protected.
3036 * config.make.in: Add have-protected variable.
3037 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
3038 (tests-vis-yes): Add vismain.
3039 (modules-names): Add $(modules-vis-$(have-protected)).
3040 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
3041 Add rules to generate and run vismain.
3042 * elf/vismain.c: New file.
3043 * elf/vismod1.c: New file.
3044 * elf/vismod2.c: New file.
3045 * elf/vismod3.c: New file.
3047 2000-05-23 Andreas Jaeger <aj@suse.de>
3049 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
3051 * manual/search.texi (Array Sort Function): Document that qsort is
3052 not necessarily in-place.
3054 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
3055 Closes PR libc/1731.
3057 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
3058 * dirent/scandir64.c: Likewise.
3059 * pwd/getpw.c: Likewise.
3060 * stdlib/bsearch.c (bsearch): Likewise.
3061 * stdlib/tst-strtoll.c: Likewise.
3062 * localedata/collate-test.c: Likewise.
3063 * localedata/xfrm-test.c: Likewise.
3064 * posix/bsd-getpgrp.c: Likewise.
3065 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
3066 * sysdeps/generic/bits/siginfo.h: Likewise.
3067 * sysdeps/generic/bits/sockaddr.h: Likewise.
3068 * sysdeps/generic/sys/swap.h: Likewise.
3069 * sysdeps/generic/sys/sysinfo.h: Likewise.
3070 * sysdeps/generic/vfork.c: Likewise.
3071 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
3072 * sysdeps/mach/hurd/fdopen.c: Likewise.
3073 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
3074 * sysdeps/unix/sysv/linux/poll.c: Likewise.
3075 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3076 * sysdeps/unix/sysv/linux/writev.c: Likewise.
3077 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3078 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3079 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
3081 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
3082 * shadow/lckpwdf.c: Likewise.
3083 * stdlib/tst-strtol.c: Likewise.
3084 * sysdeps/generic/tcsetattr.c: Likewise.
3085 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3086 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3088 2000-05-22 Jakub Jelinek <jakub@redhat.com>
3090 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
3091 free it and set to (void *) -1.
3093 2000-05-22 Jakub Jelinek <jakub@redhat.com>
3095 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
3096 not the second character in the range.
3097 * stdio-common/tstscanf.c (main): Add testcase for the above.
3098 Reported by jik@kamens.brookline.ma.us.
3100 2000-05-21 H.J. Lu <hjl@gnu.org>
3102 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
3103 with noexec and noplt parameter.
3104 (do_lookup): Likewise.
3106 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
3107 do_lookup. Support STV_PROTECTED.
3108 (_dl_lookup_symbol_skip): Likewise.
3109 (_dl_lookup_versioned_symbol): Likewise.
3110 (_dl_lookup_versioned_symbol_skip): Likewise.
3112 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
3114 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
3116 2000-05-21 Jakub Jelinek <jakub@redhat.com>
3118 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
3119 * sysdeps/i386/bits/huge_val.h: Likewise.
3120 * sysdeps/ieee754/bits/huge_val.h: Likewise.
3121 * sysdeps/m68k/bits/huge_val.h: Likewise.
3122 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
3123 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
3125 2000-05-22 Andreas Jaeger <aj@suse.de>
3127 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
3130 2000-05-19 Andreas Jaeger <aj@suse.de>
3132 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
3133 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
3134 breaks compilation without linuxthreads.
3136 2000-05-21 Ulrich Drepper <drepper@redhat.com>
3138 * sysdeps/ia64/memccpy.S: New file.
3139 * sysdeps/ia64/memchr.S: New file.
3140 * sysdeps/ia64/memcmp.S: New file.
3141 * sysdeps/ia64/memcpy.S: New file.
3142 * sysdeps/ia64/memmove.S: New file.
3143 * sysdeps/ia64/memset.S: New file.
3144 * sysdeps/ia64/strcat.S: New file.
3145 * sysdeps/ia64/strchr.S: New file.
3146 * sysdeps/ia64/strcmp.S: New file.
3147 * sysdeps/ia64/strcpy.S: New file.
3148 * sysdeps/ia64/strlen.S: New file.
3149 * sysdeps/ia64/strncmp.S: New file.
3150 * sysdeps/ia64/strncpy.S: New file.
3151 * sysdeps/ia64/softpipe.h: New file.
3152 Patches by Dan Pop <Dan.Pop@cern.ch>.
3154 * manual/memory.texi: Document memory handling functions (mlock,
3155 munlock, mlockall, munlockall, brk, and sbrk)
3156 * manual/time.texi: Document timespec and friends.
3157 * manual/conf.texi: Fix references.
3158 * manual/ctype.texi: Likewise.
3159 * manual/errno.texi: Likewise.
3160 * manual/intro.texi: Likewise.
3161 * manual/locale.texi: Likewise.
3162 * manual/sysinfo.texi: Likewise.
3163 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
3165 2000-05-09 Jes Sorensen <jes@linuxcare.com>
3167 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
3168 * sysdeps/ia64/dl-lookupcfg.h: ...here.
3170 2000-05-21 Jakub Jelinek <jakub@redhat.com>
3172 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
3175 2000-05-21 Ulrich Drepper <drepper@redhat.com>
3177 * locale/locale.h (struct lconv): Add new elements from ISO C99.
3178 * locale/localeconv.c: Initialize new elements from ISO C99.
3179 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
3180 new standard elements.
3181 * locale/categories.def: Adjust accordingly.
3183 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
3184 * iconv/iconv.c: Likewise.
3185 * conform/data/iconv.h-data: Likewise.
3186 * iconv/iconv_prog.c (process_block): Remove const from second
3188 (main): Remove const from addr definition.
3189 * manual/charset.texi (Generic Conversion Interface): Remove from
3190 inbuf parameter of iconv.
3192 * intl/dcigettext.c: Fix typo in comment.
3194 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
3196 * resolv/res_libc.c (_res): Initialize _sock to -1.
3198 2000-05-18 Jakub Jelinek <jakub@redhat.com>
3200 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
3201 (fopencookie@@GLIBC_2.2): New.
3202 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
3203 (fopencookie@GLIBC_2.0): New.
3204 * libio/Versions: Add fopencookie to GLIBC_2.2.
3206 2000-05-18 Andreas Jaeger <aj@suse.de>
3208 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
3209 Closes PR libc/1731.
3211 * manual/arith.texi (Parsing of Integers): Fix typo.
3212 Closes PR libc/1744, reported by blp@gnu.org.
3214 2000-05-17 Jakub Jelinek <jakub@redhat.com>
3216 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
3217 __extension__ to hexadecimal floating constant notation.
3218 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
3220 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
3221 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
3223 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
3224 HUGE_VALL): Likewise.
3225 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
3226 HUGE_VALL): Likewise.
3227 (HUGE_VALL): Set to HUGE_VAL on sparc32.
3229 2000-05-17 Andreas Jaeger <aj@suse.de>
3231 * string/envz.h: Add pure attributes if possible.
3233 * string/argz.h: argz_count is a pure function.
3235 * string/strings.h: Add pure and const attributes if possible.
3237 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
3238 possibly searching through the whole memory.
3239 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
3241 2000-05-17 Jakub Jelinek <jakub@redhat.com>
3243 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
3245 (_dl_cache_check_flags): Likewise.
3246 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
3249 2000-05-17 Andreas Jaeger <aj@suse.de>
3251 * manual/creature.texi (Feature Test Macros): Remove paragraph
3252 since the description is wrong.
3253 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
3255 * scripts/config.sub: New version.
3256 * scripts/config.guess: Likewise.
3257 * manual/texinfo.tex: Likewise.
3259 * time/test_time.args: Removed.
3260 * time/Makefile (test_time-ARGS): Added contents here instead.
3262 * posix/tstgetopt.args: Removed.
3263 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
3265 * Rules: Allow arguments for test files to be specified in
3266 Makefile with testname-ARGS; remove rules with .args in it.
3268 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
3269 remove old bogus rule for opendir-tst1.args.
3271 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
3273 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
3274 into objdir. This allows a readonly sourcetree.
3275 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
3277 2000-05-16 Andreas Jaeger <aj@suse.de>,
3278 David Huggins-Daines <dhd@linuxcare.com>
3280 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
3281 cache_data in case of only new cache format correctly.
3283 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
3286 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
3287 struct cache_file_new.
3289 * elf/cache.c (save_cache): Fix str_offset if only new cache is
3292 * elf/cache.c (save_cache): Align struct new_file_cache.
3293 (print_cache): Likewise.
3295 2000-05-13 Jakub Jelinek <jakub@redhat.com>
3297 * elf/soinit.c (__libc_global_ctors): Move
3298 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
3299 * resolv/resolv.h (__res_state): Added __attribute__((const)).
3300 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
3301 variable, don't define it to __res_state call.
3303 2000-05-13 Andreas Jaeger <aj@suse.de>
3305 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
3307 (AF_PPPOX): Likewise.
3308 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
3309 (AF_PPPOX): Likewise.
3311 2000-05-12 Andreas Jaeger <aj@suse.de>
3313 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
3314 Reported by tmoestl@gmx.net, closes PR libc/1732.
3316 2000-05-11 Jan Hubicka <jh@suse.cz>
3318 * misc/sys/cdefs.h: Add support for pure attribute.
3320 * include/string.h: Add __attribute_pure__ to various functions.
3321 * string/string.h: Likewise.
3323 2000-05-10 Jakub Jelinek <jakub@redhat.com>
3325 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
3327 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3329 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
3331 2000-05-10 Jakub Jelinek <jakub@redhat.com>
3333 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
3334 at proper place. Compute the high nibble correctly.
3336 2000-05-09 Jakub Jelinek <jakub@redhat.com>
3338 * elf/ldconfig.c: Include elf.h.
3340 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
3341 (_dl_vsym): Likewise.
3342 Reported by Owen Taylor <otaylor@redhat.com>.
3344 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
3347 2000-05-08 Andreas Jaeger <aj@suse.de>
3349 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
3351 * intl/bindtextdom.c (set_binding_values): Add prototype.
3353 2000-05-08 Jakub Jelinek <jakub@redhat.com>
3355 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
3356 call to elf_machine_fixup_plt.
3357 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
3358 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3360 2000-05-08 Jakub Jelinek <jakub@redhat.com>
3362 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
3363 they are not dlclose'd from underneath us.
3365 2000-05-08 Andreas Schwab <schwab@suse.de>
3367 * posix/execle.c: Fix size parameter of memcpy.
3369 2000-05-08 Andreas Schwab <schwab@suse.de>
3371 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
3372 getpagesize syscall if available.
3374 2000-05-08 Andreas Jaeger <aj@suse.de>
3376 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
3379 2000-05-08 Jakub Jelinek <jakub@redhat.com>
3381 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
3382 sizeof(struct link_map *) chunks, not in bytes.
3384 2000-05-07 Ulrich Drepper <drepper@redhat.com>
3386 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
3387 only needed for locale.
3388 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
3389 It's only needed for catgets.
3390 Patches by Greg McGary <gkm@eng.ascend.com>.
3392 2000-05-07 Mark Kettenis <kettenis@gnu.org>
3394 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
3395 Remove duplicate <errno.h> include. Remove inclusion of
3396 <libintl.h> and "nsswitch.h".
3397 (set_cloexec_flag): New function, broken out of dbopen.
3398 (dbopen): Changed return type to `enum
3399 nss_status'. Mostly rewritten to make sure that we do not report
3400 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
3401 (internal_setent): Change return type to nss_status.
3402 Document, and make sure that the function
3403 behaves accordingly. Make dynamically loading the database
3404 library really thread-safe and return NSS_STATUS_UNAVAIL if it
3406 (db_cursor): Return ENOMEM is memory allocation failed. Remove
3408 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
3410 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
3411 c_get function member.
3412 * nss/nss_db/nss_db.h: Add and tweak some comments.
3413 (DBT): Move typedef before NSS_DBC typedef.
3414 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
3416 2000-05-07 H.J. Lu <hjl@gnu.org>
3418 * csu/initfini.c: Moved to ....
3419 * sysdeps/generic/initfini.c: ...here.
3421 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
3423 2000-05-07 Ulrich Drepper <drepper@redhat.com>
3425 * manual/resource.texi: Document POSIX scheduling functions.
3426 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
3428 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
3429 reading anything. Reported by Andries.Brouwer@cwi.nl.
3431 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
3432 for x since promotion in comparison might leads to unexpected
3433 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
3435 * iconv/Makefile (tests): Add tst-iconv1.
3436 * iconv/tst-iconv1.c: New file.
3437 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
3438 empty input buffer over full output buffer.
3439 (ucs4_internal_loop): Likewise.
3440 (ucs4_internal_loop_unaligned): Likewise.
3441 (internal_ucs4le_loop): Likewise.
3442 (internal_ucs4le_loop_unaligned): Likewise.
3443 (ucs4le_internal_loop): Likewise.
3444 (ucs4le_internal_loop_unaligned): Likewise.
3445 Reported by yaoz@nih.gov.
3447 2000-05-06 Bruno Haible <haible@clisp.cons.org>
3449 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
3450 returned != __GCONV_OK, there is nothing to clean up.
3452 2000-05-06 Bruno Haible <haible@clisp.cons.org>
3454 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
3455 OUTPUT_CHARSET environment variables.
3457 2000-05-06 Andreas Jaeger <aj@suse.de>
3459 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
3460 (struct cache_file_new): New.
3461 (struct file_entry): New (moved from cache.c).
3462 (struct cache_file): New (moved from cache.c).
3464 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
3465 from _dl_load_cache_lookup.
3466 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
3467 the different cache formats.
3468 New variable cache_new for new format.
3470 * elf/ldconfig.h: Change according to changes in cache.c and
3471 ldconfig.c; remove cache_libcmp; add opt_format.
3473 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
3474 stuff that's defined in those headers.
3475 Add hwcap to struct lib_entry.
3476 (opt_format): New variable to select cache format.
3477 (options): Add format parameter.
3478 (is_hwcap): New function.
3479 (path_hwcap): New function.
3480 (parse_opt): Handle new format parameter.
3481 (search_dir): Handle hwcap, search also subdirectories with hwcap.
3483 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
3484 ldconfig is part of glibc.
3485 Include dl-cache.h and remove stuff that's defined there.
3486 (struct cache_entry): Add new member hwcap.
3487 (print_entry): Print hwcap, cleanup a bit.
3488 (print_cache): Print new and old formats.
3489 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
3490 (save_cache): Save new and old formats.
3491 (add_to_cache): Handle hwcap.
3493 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
3494 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
3495 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
3496 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
3497 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
3498 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
3500 2000-05-05 Bruno Haible <haible@clisp.cons.org>
3502 * intl/dcigettext.c (alignof): New macro.
3503 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
3504 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
3507 2000-05-05 Bruno Haible <haible@clisp.cons.org>
3509 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
3512 2000-05-06 Ulrich Drepper <drepper@redhat.com>
3514 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
3515 (mempcpy): Correct typo is parameter list.
3517 2000-05-06 Andreas Jaeger <aj@suse.de>
3519 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
3520 functions unless -ffast-math is given to gcc.
3522 2000-05-06 Ulrich Drepper <drepper@redhat.com>
3524 * po/ko.po: Update from translation team.
3526 2000-05-05 Ulrich Drepper <drepper@redhat.com>
3528 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
3529 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
3530 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
3531 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
3532 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
3533 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
3535 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
3536 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
3537 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
3539 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
3540 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
3541 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
3542 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
3544 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
3545 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
3547 2000-05-05 Jes Sorensen <jes@linuxcare.com>
3549 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
3550 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
3552 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
3553 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
3555 * sysdeps/ia64/Implies: New file.
3556 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
3557 * sysdeps/ia64/Makefile: New file.
3558 * sysdeps/ia64/gmp-mparam.h: New file,
3560 * sysdeps/ia64/elf/start.S: New file.
3562 * sysdeps/ia64/bits/fenv.h: New file.
3564 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
3566 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
3568 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
3570 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
3571 ia64 has 64 bit .hash entries just as the Alpha.
3573 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
3575 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
3577 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
3579 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
3580 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
3581 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
3582 * sysdeps/ia64/fpu/fegetenv.c: New file.
3583 * sysdeps/ia64/fpu/fegetexcept.c: New file.
3584 * sysdeps/ia64/fpu/fegetround.c: New file.
3585 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
3586 * sysdeps/ia64/fpu/fesetenv.c: New file.
3587 * sysdeps/ia64/fpu/fesetround.c: New file.
3588 * sysdeps/ia64/fpu/feupdateenv.c: New file.
3589 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
3590 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
3591 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
3592 * sysdeps/ia64/fpu/ftestexcept.c: New file.
3594 2000-05-05 Andreas Jaeger <aj@suse.de>
3596 * misc/tst-tsearch.c (main): Correct type for initstate argument.
3598 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
3599 (_dl_string_hwcap): New, does nothing.
3601 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
3602 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
3603 (_dl_string_hwcap): New function, converts from string to hwcap
3605 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
3606 (_DL_HWCAP_COUNT): New.
3607 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
3608 (_dl_string_hwcap): New function, converts from string to hwcap
3610 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
3611 (_DL_HWCAP_COUNT): New.
3612 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
3613 (_dl_string_hwcap): New function, converts from string to hwcap
3616 2000-05-05 Ulrich Drepper <drepper@redhat.com>
3618 * elf/Makefile (distribute): Add dl-lookupcfg.h.
3619 * sysdeps/ia64/Dist: New file.
3621 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
3622 parameter to mprotect and for variable assignments.
3624 2000-05-03 Jes Sorensen <jes@linuxcare.com>
3626 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
3627 validity of map before dereferencing it.
3629 * elf/dl-reloc.c (RESOLVE_MAP): Define.
3631 2000-05-02 Jes Sorensen <jes@linuxcare.com>
3633 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
3634 lookup to the arguments to elf_machine_fixup_plt().
3636 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
3637 of the symbol being resolved to input argument list and make the
3638 function return the pointer to the reloc.
3640 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
3641 return valuie to lookup_t and return the value.
3642 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
3643 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
3644 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
3645 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
3646 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
3647 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
3649 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
3650 Make it an inline function returning value after calling
3651 __elf_machine_fixup_plt().
3653 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
3656 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
3657 obtain the symbol address.
3659 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
3660 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
3662 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
3663 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
3666 2000-04-28 Jes Sorensen <jes@linuxcare.com>
3668 * elf/dl-runtime.c (fixup): Use the portable macros to get the
3669 symbol address of an object.
3671 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
3672 the symbol address of an object.
3674 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
3675 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
3676 (_dl_lookup_symbol_skip): Likewise.
3677 (_dl_lookup_versioned_symbol): Likewise.
3678 (_dl_lookup_versioned_symbol_skip): Likewise.
3680 2000-04-27 Jes Sorensen <jes@linuxcare.com>
3682 * elf/rtld.c (_dl_start): Get the function pointer return address
3683 via _dl_start_address for architectures that need a function
3684 pointer descriptor rather than just a pointer (ia64).
3686 * sysdeps/generic/dl-lookupcfg.h: New file.
3687 * sysdeps/ia64/dl-lookupcfg.h: New file.
3688 * sysdeps/ia64/dl-machine.h: New file.
3689 * sysdeps/ia64/dl-symaddr.c: New file.
3690 * sysdeps/ia64/dl-fptr.c: New file.
3692 * elf/elf.h: Add IA-64 specific definitions.
3694 2000-05-04 Jakub Jelinek <jakub@redhat.com>
3696 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
3699 2000-05-04 Jakub Jelinek <jakub@redhat.com>
3701 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
3704 2000-04-11 Geoff Keating <geoffk@cygnus.com>
3706 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
3707 symbol. Call _dl_init rather than the old way.
3709 2000-05-04 Ulrich Drepper <drepper@redhat.com>
3711 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
3712 test for pointer in range of DSO address space.
3714 2000-05-04 Andreas Jaeger <aj@suse.de>
3716 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
3718 2000-05-03 Ulrich Drepper <drepper@redhat.com>
3720 * locale/findlocale.c (_nl_find_locale): Add new parameter to
3721 calls of _nl_make_l10nflist.
3723 * libio/stdio.h: Make fseeko and ftello prototypes available is
3724 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
3726 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
3727 real unsetenv implementation from 1999-07-29 [PR libc/1714].
3729 2000-05-03 Bruno Haible <haible@clisp.cons.org>
3731 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
3732 before calling tfind.
3734 2000-03-05 Jakub Jelinek <jakub@redhat.com>
3736 * resolv/resolv.h (res_querydomain): Remove redefinition to
3737 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
3739 2000-05-03 Ulrich Drepper <drepper@redhat.com>
3741 * po/gl.po: Update from translation team.
3743 * manual/intro.texi (Program Basics): Change section title.
3744 * manual/process.texi: Fix reference.
3745 (Executing a File): Add reference exec in other section.
3746 * manual/signal.texi: Fix reference.
3747 * manual/startup.texi: Document syscall function.
3748 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
3750 2000-04-29 Bruno Haible <haible@clisp.cons.org>
3752 * intl/libintl.h (bind_textdomain_codeset): New declaration.
3753 * intl/bindtextdom.c (set_binding_values): New function.
3754 (bindtextdomain): Call it.
3755 (bind_textdomain_codeset): New function.
3756 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
3757 (free_mem): Free each binding's codeset.
3758 * intl/gettextP.h (struct binding): Add codeset field.
3759 (_nl_find_domain): Add domainbinding argument.
3760 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
3761 Pass it to _nl_make_l10nflist.
3762 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
3763 (_nl_make_l10nflist): Add domainbinding argument.
3764 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
3765 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
3766 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
3768 * manual/message.texi: New node "Charset conversion in gettext".
3770 2000-04-30 Bruno Haible <haible@clisp.cons.org>
3772 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
3773 appropriate. Handle possible __read error.
3775 2000-04-29 Bruno Haible <haible@clisp.cons.org>
3777 * intl/gettextP.h (__builtin_expect): Define as empty if not a
3779 * intl/loadinfo.h (__builtin_expect): Likewise.
3780 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
3781 __builtin_expect where appropriate.
3782 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3783 * intl/localealias.c (extend_alias_table): Return an error indicator.
3784 (read_alias_file): Bail out if extend_alias_table fails.
3786 2000-04-29 Bruno Haible <haible@clisp.cons.org>
3788 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
3789 * intl/localealias.c: Likewise.
3791 2000-05-01 Bruno Haible <haible@clisp.cons.org>
3793 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
3794 Initialize domain->plural and domain->nplurals even if there is no
3797 2000-05-01 Bruno Haible <haible@clisp.cons.org>
3799 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
3800 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
3801 In case of failure, goto converted.
3803 2000-05-01 Bruno Haible <haible@clisp.cons.org>
3805 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
3806 * iconv/gconv_int.h (norm_add_slashes): Move to here.
3807 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
3810 2000-04-29 Bruno Haible <haible@clisp.cons.org>
3812 * intl/dcigettext.c (transcmp): Compare the domains as well.
3813 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
3815 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
3818 2000-05-03 Ulrich Drepper <drepper@redhat.com>
3820 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
3821 Reported by Bruno Haible.
3823 2000-04-29 Bruno Haible <haible@clisp.cons.org>
3825 * manual/arith.texi: Remove @w from @itemize.
3827 2000-05-02 Andreas Jaeger <aj@suse.de>
3829 * conform/data/tar.h-data: Add some checks for specific values.
3831 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
3834 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
3837 * conform/data/netinet/in.h-data: Add exact checks for the values
3838 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
3840 * conform/data/float.h-data: Add some minimal values.
3842 * conform/conformtest.pl: Test for macros with string constants,
3843 check for minimum and maximum values.
3844 Add limits.h to headers.
3846 * conform/data/cpio.h-data: Test for value of MAGIC.
3848 * conform/data/limits.h-data: New file.
3850 2000-04-30 Bruno Haible <haible@clisp.cons.org>
3852 * math/Makefile (headers): Add bits/fenvinline.h.
3854 2000-05-01 Ulrich Drepper <drepper@redhat.com>
3856 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
3857 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
3859 * posix/Versions: Change posix_spawnattr_getdefault and
3860 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
3861 and posix_spawnattr_setsigdefault respectively.
3862 * posix/spawn.h: Likewise.
3863 * posix/spawnattr_getdefault.h: Likewise.
3864 * posix/spawnattr_setdefault.h: Likewise.
3865 * conform/data/spawn.h-data: Likewise.
3867 2000-05-01 Andreas Jaeger <aj@suse.de>
3869 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
3871 2000-04-30 Ulrich Drepper <drepper@redhat.com>
3873 * manual/sysinfo.texi: Document getdomainname, setdomainname
3875 * manual/string.texi: Fix typo.
3876 * manual/terminal.texi: Document gtty and stty.
3877 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
3879 2000-04-30 Andreas Jaeger <aj@suse.de>
3881 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
3882 accordance with Austin Draft.
3884 2000-04-30 Ulrich Drepper <drepper@redhat.com>
3886 * catgets/gencat.c (read_input_file): Use isblank and not isspace
3887 to recognize second character in comment line.
3889 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
3890 ENOBUFS if we are out of memory.
3892 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
3893 available if __USE_XOPEN2K.
3894 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
3895 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3896 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
3897 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
3898 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3899 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3900 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
3901 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
3903 2000-04-29 Ulrich Drepper <drepper@redhat.com>
3905 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
3906 Recognize option -s, -c, and -l.
3908 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
3910 * nscd/nscd.c: Start new session for nscd, drop privilegs
3911 to configured user if requested and no -S parameter are used.
3912 * nscd/nscd.conf: Add new option "server-user".
3913 * nscd/nscd_conf.c: Add support for new "server-user" option.
3914 * nscd/nscd.h: Add declaration for server_user variable.
3915 Based on patch by Chris Wing <wingc@engin.umich.edu>
3917 2000-04-29 Mark Kettenis <kettenis@gnu.org>
3919 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
3920 that changing the __restore and __restore_rt signal return code
3923 2000-04-29 Mark Kettenis <kettenis@gnu.org>
3925 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
3928 2000-04-29 Mark Kettenis <kettenis@gnu.org>
3930 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
3932 2000-04-29 Ulrich Drepper <drepper@redhat.com>
3934 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
3935 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
3937 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
3938 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
3939 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
3940 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
3941 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
3942 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
3943 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
3944 posix_fallocate, and posix_madvise.
3945 * conform/data/netdb.h-data: New file.
3946 * conform/data/pthread.h-data: Add pthread_barrier_t,
3947 pthread_barrierattr_t, pthread_barrier_destroy,
3948 pthread_barrier_init, pthread_barrier_wait,
3949 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
3950 pthread_barrierattr_init, pthread_barrierattr_setpshared,
3951 pthread_condattr_getclock, pthread_condattr_setclock,
3952 pthread_getcpuclockid, pthread_mutex_timedlock,
3953 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
3954 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
3955 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
3956 * conform/data/sched.h-data: Add sched_ss_low_priority,
3957 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
3959 * conform/data/semaphore.h-data: Add sem_timedwait.
3960 * conform/data/signal.h-data: Add SIGIO.
3961 * conform/data/spawn.h-data: New file.
3962 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
3963 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
3964 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
3965 Fix typo in gmtime_r definition.
3966 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
3967 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
3968 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
3969 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
3970 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
3971 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
3972 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
3973 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
3974 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
3975 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
3976 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
3977 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
3978 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
3979 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
3980 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
3981 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
3982 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
3983 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
3984 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
3985 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
3986 typo in off_t definition.
3987 * conform/data/net/if.h-data: New file.
3988 * conform/data/netinet/in.h-data: New file.
3989 * conform/data/netinet/tcp.h-data: New file.
3990 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
3991 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
3992 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
3993 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
3994 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
3995 and posix_typed_mem_open.
3996 * conform/data/sys/socket.h-data: New file.
3997 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
3998 * conform/data/sys/types.h-data: Add pthread_barrier_t,
3999 pthread_barrierattr_t, and pthread_spinlock_t.
4000 * conform/data/sys/un.h-data: New file.
4001 * conform/data/sys/utsname.h-data: New file.
4003 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
4005 * inet/gethstbyad.c (gethostbyname): Likewise.
4006 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
4007 * inet/getipnodebyad.c (getipnodebyad): Likewise.
4008 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
4009 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
4011 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
4012 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
4013 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
4014 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
4015 * resolv/gethnamaddr.c (gethostbyname): Likewise.
4016 * resolv/netdb.h (struct hostent): Fix type of h_length member.
4017 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
4018 and second parameter.
4020 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
4023 2000-04-29 Andreas Jaeger <aj@suse.de>
4025 * conform/data/arpa/inet.h-data: New file.
4027 2000-04-28 Geoff Clare <gwc@unisoft.com>
4029 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
4030 path passed to ftw() or nftw() is an empty string.
4031 Closes PR libc/1710.
4033 2000-04-27 Ulrich Drepper <drepper@redhat.com>
4035 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
4036 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
4037 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
4038 * localedata/tst-mbswcs4.c: New file.
4039 * localedata/tst-mbswcs5.c: New file.
4041 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
4042 == NULL. Little optimization.
4044 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
4045 DT_PREINIT_ARRAYSZ).
4046 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
4048 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
4049 overflows in conversion from ASCII.
4051 2000-04-26 Jakub Jelinek <jakub@redhat.com>
4053 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
4054 * Makerules (full_config_sysdirs): Likewise.
4055 * MakeTAGS (full_config_sysdirs): Likewise.
4057 2000-04-26 Jakub Jelinek <jakub@redhat.com>
4059 * .cvsignore: Remove linuxthreads.
4060 * po/.cvsignore: Remove *.pot.
4061 * posix/glob/.cvsignore: Removed.
4062 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
4064 2000-04-25 Andreas Jaeger <aj@suse.de>
4066 * conform/Makefile (distribute): Also distribute contents of
4069 * Makerules (no_deps): Remove abi-versions.h.
4071 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
4073 2000-04-25 Jakub Jelinek <jakub@redhat.com>
4075 * sysdeps/sparc/sparc64/elf/Dist: Remove.
4076 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
4077 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
4078 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
4079 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
4080 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
4083 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
4085 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
4087 2000-04-23 Bruno Haible <haible@clisp.cons.org>
4089 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
4090 * intl/l10nflist.c: Likewise.
4092 2000-04-23 Bruno Haible <haible@clisp.cons.org>
4094 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
4095 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
4096 * intl/textdomain.c [!_LIBC]: Likewise.
4097 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
4098 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
4099 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
4102 2000-04-23 Bruno Haible <haible@clisp.cons.org>
4104 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
4105 character set conversion also in the case the translation was found
4106 after a hash collision or through binary search. Store the maximum
4107 index together with the converted message. Use iconv() when available.
4108 In case of out of memory during conversion, return the unconverted
4109 translated string, not NULL.
4111 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
4113 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
4114 to avoid name clashes with the ia32 linker.
4116 2000-04-25 Jakub Jelinek <jakub@redhat.com>
4118 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
4121 2000-04-27 Ulrich Drepper <drepper@redhat.com>
4123 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
4124 strtoumax, strfry, and memfrob.
4125 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
4126 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4128 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
4129 if this function is available.
4131 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
4134 2000-04-27 Jakub Jelinek <jakub@redhat.com>
4136 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
4138 2000-04-27 Ulrich Drepper <drepper@redhat.com>
4140 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
4141 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
4142 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
4143 * localedata/tst-mbswcs3.c: New file.
4145 2000-04-26 Ulrich Drepper <drepper@redhat.com>
4147 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
4148 characters. Don't handle incomplete characters as errors.
4149 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
4150 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
4151 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
4152 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
4153 * localedata/tst-mbswcs2.c: New file.
4155 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
4156 stored character in state in UNPACK_BYTES macro.
4157 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
4158 test for available characters, handle result of BODY code correctly.
4159 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
4160 (distribute): Add tst-mbswcs.sh.
4161 Add rule to run tst-mbswcs.sh.
4162 * localedata/tst-mbswcs.sh: New file.
4163 * localedata/tst-mbswcs1.c: New file.
4165 2000-04-26 Jakub Jelinek <jakub@redhat.com>
4167 * nis/nis_callback.c (__nis_create_callback): Do failed memory
4168 allocation fixups centrally, fix __builtin_expect call, return NULL
4169 on failure, not NIS_NOMEMORY.
4171 2000-04-27 Bruno Haible <haible@clisp.cons.org>
4173 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
4175 * intl/loadinfo.h (internal_function): Define if not already defined.
4177 2000-04-27 Andreas Jaeger <aj@suse.de>
4179 * intl/libintl.h: Fix typo, reported by Bruno Haible
4180 <haible@clisp.cons.org>.
4182 2000-04-25 Ulrich Drepper <drepper@redhat.com>
4184 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
4185 setting the state to GMON_PROF_BUSY.
4187 2000-04-24 Ulrich Drepper <drepper@redhat.com>
4189 * elf/dl-profile.c (_dl_start_profile): define all variables which
4190 do not have to be global as local variables.
4192 * nis/nis_callback.c (__nis_create_callback): Partially undo last
4193 patch. Keep needed tests for failed memory allocation.
4195 * elf/dl-reloc.c (_dl_relocate_object): Add one more
4196 __builtin_expect saying that we don't normally expect to profile.
4198 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
4199 __builtin_expect where desirable.
4201 2000-04-23 Ulrich Drepper <drepper@redhat.com>
4203 * manual/Makefile (chapters): Add syslog.
4204 * manual/syslog.texi: New file.
4205 * manual/math.texi: Fix references.
4206 * manual/terminal.texi: Likewise.
4207 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4209 2000-04-18 Jakub Jelinek <jakub@redhat.com>
4211 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
4212 stdlib.h was not included or __USE_XOPEN not defined.
4214 2000-04-23 Ulrich Drepper <drepper@redhat.com>
4216 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
4217 Patch by Zack Weinberg <zack@wolery.cumb.org>.
4219 2000-04-22 Ulrich Drepper <drepper@redhat.com>
4221 * manual/examples/subopt.c (mount_opts): Add missing terminating
4223 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
4225 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
4226 * libio/ftello.c: Likewise.
4227 * libio/ftello64.c: Likewise.
4228 * libio/ioftell.c: Likewise.
4229 * sysdeps/generic/memrchr.c: Likewise.
4230 * sysdeps/posix/libc_fatal.c: Likewise.
4231 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
4232 * misc/fstab.c: Include <string.h> for strcmp prototype.
4233 * sysdeps/generic/ldsodefs.h: Likewise.
4234 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4235 Patch by Kurt Roeckx <Q@ping.be>.
4237 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
4238 Remove db-open. Change all uses.
4239 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
4241 2000-04-21 Jakub Jelinek <jakub@redhat.com>
4243 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
4244 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
4245 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
4246 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
4247 with .set noat/at to shut up warnings.
4248 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
4249 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
4250 compilation if __NR_pciconfig_iobase is not defined.
4251 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
4254 2000-04-21 Ulrich Drepper <drepper@redhat.com>
4256 * manual/sysinfo.texi: Fix typo.
4257 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
4258 Replace "high precision time" with "high accuracy clock".
4260 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
4262 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
4263 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
4265 * nis/nis_subr.c: Use __builtin_expect.
4266 * nis/ypclnt.c: Likewise.
4267 * nis/nis_getservlist.c: Likewise.
4268 * nis/nis_creategroup.c: Likewise.
4270 * nis/nis_callback.c (__nis_create_callback): Check result of
4271 memory allocation. Fix memory leaks. Use __builtin_expect.
4272 (__nis_destroy_callback): Fix memory leaks.
4274 2000-04-21 Andreas Jaeger <aj@suse.de>
4276 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
4277 * sysdeps/mips/mips64/add_n.S: Likewise.
4278 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
4279 * sysdeps/mips/mips64/lshift.S: Likewise.
4280 * sysdeps/mips/mips64/mul_1.S: Likewise.
4281 * sysdeps/mips/mips64/rshift.S: Likewise.
4282 * sysdeps/mips/mips64/setjmp.S: Likewise.
4283 * sysdeps/mips/mips64/sub_n.S: Likewise.
4284 * sysdeps/mips/mips64/submul_1.S: Likewise
4285 * sysdeps/unix/mips/sysdep.S: Likewise.
4287 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
4288 and update comment. The strtab from _dl_relocate_object can be
4291 2000-04-21 Ulrich Drepper <drepper@redhat.com>
4293 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
4294 * iconv/iconv_close.c (iconv_close): Likewise.
4295 * iconv/iconv_open.c (iconv_open): Likewise.
4297 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
4298 __builtin_expect where useful.
4300 * grp/initgroups.c (initgroups): Test for result of memory
4301 allocation and punt if it fails.
4303 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
4304 * grp/fgetgrent.c (fgetfrent): Likewise.
4305 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
4307 2000-04-21 Jakub Jelinek <jakub@redhat.com>
4309 * libio/vasprintf.c: Include string.h to get memcpy prototype.
4311 2000-04-20 Ulrich Drepper <drepper@redhat.com>
4313 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
4314 don't search for NUL byte to decrement counter.
4315 Reported by Ulrich.Brink@sap.com.
4317 * iconv/gconv_simple.c: Define separate functions to convert from
4318 UCS4/UCS4-LE to the internal encoding.
4319 * iconv/gconv_builtin.h: Use separate functions to convert from
4320 UCS4/UCS4-LE to the internal encoding.
4321 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
4322 __gconv_transform_ucs4le_internal.
4324 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
4325 output buffer overflow. Reported by Ulrich.Brink@sap.com.
4327 * iconv/skeleton.c: Add some more __builtin_expect.
4328 * iconv/loop.c: Likewise.
4330 2000-03-08 H.J. Lu <hjl@gnu.org>
4332 * posix/regex.c (regex_compile): Correctly handle "\{" when
4333 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
4335 2000-04-20 Ulrich Drepper <drepper@redhat.com>
4337 * manual/stdio.texi: Give advise about handling error when using
4339 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
4341 2000-04-19 Jakub Jelinek <jakub@redhat.com>
4343 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
4344 field to nelems * sizeof (uint32_t).
4345 * locale/programs/ld-address.c (address_output): Align word fields
4347 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4348 Don't restart idx pointers to idx end at the duo_int_curr_symbol
4350 Avoid giving arbitrary garbage in the crncystr field.
4351 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
4352 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
4354 * locale/programs/ld-numeric.c (numeric_output): Likewise.
4355 Don't restart idx pointers to idx end at the decimal_point_wc field.
4356 * locale/programs/ld-time.c (time_output): week_1stday should be
4357 word, not byte. Align it properly.
4359 2000-04-19 H.J. Lu <hjl@gnu.org>
4361 * csu/gmon-start.c (_start): Declared as "extern void".
4364 2000-04-18 Andreas Jaeger <aj@suse.de>
4366 * manual/install.texi (Running make install): Don't mention utmpd
4369 2000-04-18 Andreas Jaeger <aj@suse.de>
4371 * linuxthreads/Versions: Use ld instead of ld.so.
4373 * elf/Makefile (ld-map): Use ld.map.
4375 * Versions.def: Use ld instead of ld.so.
4376 * elf/Versions: Likewise.
4377 * sysdeps/mach/hurd/Versions: Likewise.
4379 2000-04-20 Andreas Jaeger <aj@suse.de>
4381 * elf/rtld.c (print_statistics): Move ifndef further up.
4382 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
4383 (dl_main): Likewise.
4385 2000-04-18 Ulrich Drepper <drepper@redhat.com>
4387 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
4388 * gmon/Versions: Move moncontrol to GLIBC_2.2.
4390 * po/cs.po: Update from translation team.
4392 * sysdeps/generic/updwtmp.c: Remove daemon support.
4394 * login/Makefile (routines): Remove utmp_daemon.
4396 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
4397 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
4398 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
4399 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
4401 * elf/rtld.c: Display statitics option also if hp timing is not
4404 * login/programs/connection.c: Removed.
4405 * login/programs/database.c Removed.
4406 * login/programs/error.c: Removed.
4407 * login/programs/request.c: Removed.
4408 * login/programs/xtmp.c: Removed.
4409 * login/programs/xtmp.h: Removed.
4410 * login/Makefile: Remove rules for utmpd.
4411 * login/README.utmpd: Removed.
4412 * login/utmp_daemon.c: Removed.
4413 * login/getutent_r.c: Remove references to daemon functions.
4414 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
4417 2000-04-18 Andreas Jaeger <aj@suse.de>
4419 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
4420 2.2 for libnsl, libresolv, librt, libnss_*.
4422 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
4424 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
4426 2000-04-18 Ulrich Drepper <drepper@redhat.com>
4428 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
4429 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
4430 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
4431 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
4432 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
4433 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
4434 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
4435 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
4436 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
4437 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
4438 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
4439 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
4440 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
4442 * sysdeps/unix/sysv/aix/msync.c: New file.
4443 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
4444 * sysdeps/unix/sysv/aix/net/if.h: New file.
4445 * sysdeps/unix/sysv/aix/pipe.c: New file.
4446 * sysdeps/unix/sysv/aix/poll.c: New file.
4447 * sysdeps/unix/sysv/aix/rename.c: New file.
4448 * sysdeps/unix/sysv/aix/rmdir.c: New file.
4449 * sysdeps/unix/sysv/aix/select.c: New file.
4450 * sysdeps/unix/sysv/aix/semctl.c: New file.
4451 * sysdeps/unix/sysv/aix/semget.c: New file.
4452 * sysdeps/unix/sysv/aix/semop.c: New file.
4453 * sysdeps/unix/sysv/aix/sendto.c: New file.
4454 * sysdeps/unix/sysv/aix/setgroups.c: New file.
4455 * sysdeps/unix/sysv/aix/setpgid.c: New file.
4456 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
4457 * sysdeps/unix/sysv/aix/setpriority.c: New file.
4458 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
4459 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
4460 * sysdeps/unix/sysv/aix/setsid.c: New file.
4461 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
4462 * sysdeps/unix/sysv/aix/shmat.c: New file.
4463 * sysdeps/unix/sysv/aix/shmctl.c: New file.
4464 * sysdeps/unix/sysv/aix/shmdt.c: New file.
4465 * sysdeps/unix/sysv/aix/shmget.c: New file.
4466 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
4467 * sysdeps/unix/sysv/aix/sigstack.c: New file.
4468 * sysdeps/unix/sysv/aix/socket.c: New file.
4469 * sysdeps/unix/sysv/aix/socketpair.c: New file.
4470 * sysdeps/unix/sysv/aix/speed.c: New file.
4471 * sysdeps/unix/sysv/aix/symlink.c: New file.
4472 * sysdeps/unix/sysv/aix/sync.c: New file.
4473 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
4474 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
4475 * sysdeps/unix/sysv/aix/times.c: New file.
4476 * sysdeps/unix/sysv/aix/ulimit.c: New file.
4477 * sysdeps/unix/sysv/aix/umask.c: New file.
4478 * sysdeps/unix/sysv/aix/unlink.c: New file.
4479 * sysdeps/unix/sysv/aix/ustat.c: New file.
4480 * sysdeps/unix/sysv/aix/utimes.c: New file.
4482 2000-04-18 Andreas Jaeger <aj@suse.de>
4484 * manual/startup.texi (Environment Access): Fix putenv prototype
4485 according to recent changes.
4486 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
4489 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
4492 2000-04-18 Ulrich Drepper <drepper@redhat.com>
4494 * posix/Makefile (tests): Add tst-getaddrinfo.
4495 * posix/tst-getaddrinfo.c: New file.
4497 2000-04-17 Ulrich Drepper <drepper@redhat.com>
4499 * manual/sysinfo.texi: Document that umount2 is not widely available.
4501 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
4502 signal timing is not really implemented.
4504 2000-04-17 Andreas Jaeger <aj@suse.de>
4506 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
4508 2000-04-17 Jakub Jelinek <jakub@redhat.com>
4510 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
4513 2000-04-17 Ulrich Drepper <drepper@redhat.com>
4515 * manual/intro.texi: Change reference from System Information to
4517 * manual/users.texi: Likewise.
4518 * manual/conf.texi: Likewise.
4519 * manual/sysinfo.texi: Document mount, umount, and umount2.
4520 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4522 2000-04-17 Jakub Jelinek <jakub@redhat.com>
4524 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
4525 Create wnumstr as well as numstr to support wide character output
4528 2000-04-15 Jakub Jelinek <jakub@redhat.com>
4530 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
4531 modification and move it...
4532 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
4533 Add -melf64_sparc switch to $(LD) on sparc64-linux.
4534 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
4535 switch to $(LD) on sparc-linux.
4537 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
4539 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
4540 and setresuid from sysdep_routines.
4542 2000-04-17 Ulrich Drepper <drepper@redhat.com>
4544 * manual/Makefile (chapters): Add resource.
4546 * manual/time.texi: Move section on resources to...
4547 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
4549 * manual/setjmp.texi: Adjust back reference.
4550 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4552 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
4554 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
4555 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
4556 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
4557 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
4558 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
4559 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
4560 * sysdeps/unix/sysv/aix/close.c: Add copyright.
4561 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
4562 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
4563 * sysdeps/unix/sysv/aix/access.c: Add copyright.
4564 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
4565 * sysdeps/unix/sysv/aix/Implies: New file.
4566 * sysdeps/unix/sysv/aix/Versions: New file.
4567 * sysdeps/unix/sysv/aix/bind.c: New file.
4568 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
4569 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
4570 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
4571 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
4572 * sysdeps/unix/sysv/aix/chdir.c: New file.
4573 * sysdeps/unix/sysv/aix/chmod.c: New file.
4574 * sysdeps/unix/sysv/aix/chroot.c: New file.
4575 * sysdeps/unix/sysv/aix/creat.c: New file.
4576 * sysdeps/unix/sysv/aix/dl-close.c: New file.
4577 * sysdeps/unix/sysv/aix/dl-open.c: New file.
4578 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
4579 * sysdeps/unix/sysv/aix/fchdir.c: New file.
4580 * sysdeps/unix/sysv/aix/fchmod.c: New file.
4581 * sysdeps/unix/sysv/aix/getgroups.c: New file.
4582 * sysdeps/unix/sysv/aix/gethostname.c: New file.
4583 * sysdeps/unix/sysv/aix/getpriority.c: New file.
4584 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
4585 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
4586 * sysdeps/unix/sysv/aix/getrusage.c: New file.
4587 * sysdeps/unix/sysv/aix/link.c: New file.
4588 * sysdeps/unix/sysv/aix/madvise.c: New file.
4589 * sysdeps/unix/sysv/aix/mkdir.c: New file.
4590 * sysdeps/unix/sysv/aix/mknod.c: New file.
4591 * sysdeps/unix/sysv/aix/mprotect.c: New file.
4592 * sysdeps/unix/sysv/aix/msgctl.c: New file.
4593 * sysdeps/unix/sysv/aix/msgget.c: New file.
4594 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
4596 2000-04-17 Andreas Jaeger <aj@suse.de>
4598 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
4599 as suggested by Ulrich Drepper.
4600 (__dl_runtime_resolve): Remove unused variable, initialize sym
4602 (RTLD_START): Document OFFSET_GP_GOT.
4603 (OFFSET_GP_GOT): New magic value.
4604 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
4605 (elf_machine_got_rel): Only declare strtab if needed.
4606 (elf_machine_relplt): Removed, it's not needed.
4607 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
4609 * sysdeps/mips/add_n.S: Add newline at EOF.
4610 * sysdeps/mips/rshift.S: Likewise.
4611 * sysdeps/mips/mul_1.S: Likewise.
4612 * sysdeps/mips/lshift.S: Likewise.
4613 * sysdeps/mips/addmul_1.S: Likewise.
4615 2000-04-17 Ulrich Drepper <drepper@redhat.com>
4617 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
4619 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
4620 * elf/dl-lookup.c: Likewise.
4621 * elf/dl-init.c (_dl_init): Likewise.
4622 * elf/dl-fini.c (_dl_fini): Likewise.
4623 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4624 * elf/dl-close.c (_dl_close): Likewise.
4625 * elf/rtld.c (_dl_start_final): Likewise.
4627 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
4629 2000-04-15 Ulrich Drepper <drepper@redhat.com>
4631 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
4632 only fall back on using Linux.
4634 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
4635 Before testing versions check that we actually loaded the object
4636 and whether we are in trace mode. If not loaded during tracing don't
4637 test versions in this object.
4638 (_dl_check_all_versions): Take new parameter and pass to
4639 _dl_check_map_versions.
4640 * sysdeps/generic/ldsodefs.h: Update prototypes for
4641 _dl_check_all_versions and _dl_check_map_versions.
4642 * elf/rtld.c (struct version_check_args): Add dotrace.
4643 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
4644 (dl_main): Pass info about trace mode to version_check_doit.
4645 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
4646 _dl_check_all_versions.
4648 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
4650 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4652 * manual/argp.texi: Document index parameter of argp_parse.
4654 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
4656 2000-04-14 Andreas Jaeger <aj@suse.de>
4658 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
4659 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
4661 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
4663 2000-04-15 Ulrich Drepper <drepper@redhat.com>
4665 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
4666 compat_symbol call for old adjtime.
4668 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
4669 function interface. Patch by Richard Henderson <rth@cygnus.com>.
4671 * posix/Makefile (headers): Add spawn.h.
4672 (distribute): Add spawn_int.h.
4673 (routines): Add spawn_faction_init, spawn_faction_destroy,
4674 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
4675 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
4676 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
4677 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
4678 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
4679 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
4680 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
4681 posix_spawnattr_init, posix_spawnattr_destroy,
4682 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
4683 posix_spawnattr_getflags, posix_spawnattr_setflags,
4684 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
4686 * posix/spawn.c: New file.
4687 * posix/spawn.h: New file.
4688 * posix/spawn_faction_addclose.c: New file.
4689 * posix/spawn_faction_adddup2.c: New file.
4690 * posix/spawn_faction_addopen.c: New file.
4691 * posix/spawn_faction_destroy.c: New file.
4692 * posix/spawn_faction_init.c: New file.
4693 * posix/spawn_int.h: New file.
4694 * posix/spawnattr_destroy.c: New file.
4695 * posix/spawnattr_getdefault.c: New file.
4696 * posix/spawnattr_getflags.c: New file.
4697 * posix/spawnattr_getpgroup.c: New file.
4698 * posix/spawnattr_getschedparam.c: New file.
4699 * posix/spawnattr_getschedpolicy.c: New file.
4700 * posix/spawnattr_getsigmask.c: New file.
4701 * posix/spawnattr_init.c: New file.
4702 * posix/spawnattr_setdefault.c: New file.
4703 * posix/spawnattr_setflags.c: New file.
4704 * posix/spawnattr_setpgroup.c: New file.
4705 * posix/spawnattr_setschedparam.c: New file.
4706 * posix/spawnattr_setschedpolicy.c: New file.
4707 * posix/spawnattr_setsigmask.c: New file.
4708 * posix/spawni.c: New file.
4709 * posix/spawnp.c: New file.
4711 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
4712 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
4714 2000-04-14 Ulrich Drepper <drepper@redhat.com>
4716 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
4717 * malloc/malloc.c: Implement posix_memalign for glibc.
4718 * include/stdlib.h: Add prototype for __posix_memalign.
4719 * stdlib/stdlib.h: Add prototype for posix_memalign.
4721 2000-04-14 Andreas Jaeger <aj@suse.de>
4723 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
4725 (elf_machine_got_rel): Cast sym correctly.
4727 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
4728 * sysdeps/mips/addmul_1.S: Likewise.
4729 * sysdeps/mips/lshift.S: Likewise.
4730 * sysdeps/mips/mul_1.S: Likewise.
4731 * sysdeps/mips/rshift.S: Likewise.
4732 * sysdeps/mips/sub_n.S: Likewise.
4733 * sysdeps/mips/submul_1.S: Likewise.
4735 * stdlib/stdlib.h: Fix typo in comment.
4737 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
4738 2.2 for libdl, ld and libm.
4740 * sysdeps/generic/madvise.c: Fix typos.
4742 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
4744 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
4746 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
4749 2000-04-14 Ulrich Drepper <drepper@redhat.com>
4751 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
4752 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
4753 Make old name weak alias.
4754 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
4755 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
4756 Make old name weak alias.
4757 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
4759 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
4760 posix_fallocate, and posix_fallocate64.
4761 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
4762 posix_fallocate, and posix_fallocate64.
4763 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
4764 posix_fallocate, and posix_fallocate64.
4765 * sysdeps/generic/fadvise.c: New file.
4766 * sysdeps/generic/fadvise64.c: New file.
4767 * sysdeps/generic/fallocate.c: New file.
4768 * sysdeps/generic/fallocate64.c: New file.
4769 * sysdeps/posix/fallocate.c: New file.
4770 * sysdeps/posix/fallocate64.c: New file.
4771 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
4772 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
4773 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
4774 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
4775 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
4776 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
4777 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
4778 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
4779 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4781 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
4782 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4784 2000-04-13 Ulrich Drepper <drepper@redhat.com>
4786 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
4787 * misc/sys/mman.h (posix_madvise): Add prototype.
4788 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
4789 old name and posix_madvise weak aliases.
4790 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4791 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
4792 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
4793 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
4794 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
4795 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
4796 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4798 2000-04-13 Andreas Jaeger <aj@suse.de>
4800 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
4802 (elf_machine_got_rel): Only add runtime display if needed.
4803 (elf_machine_got_rel): Handle symbol versioning.
4805 2000-04-13 Andreas Jaeger <aj@suse.de>
4807 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
4809 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
4812 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
4813 with some applications.
4814 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
4816 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
4817 * sysdeps/mips/bsd-_setjmp.S: Likewise.
4818 * sysdeps/mips/setjmp.S: Likewise.
4820 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
4822 2000-04-13 Ulrich Drepper <drepper@redhat.com>
4824 * posix/globtest.sh: Work around inconsistency with expanding ~/
4825 in shell (PR libc/1690). Reported by patsmith@pobox.com.
4827 2000-04-12 Ulrich Drepper <drepper@redhat.com>
4829 * posix/getconf.c: Add support for many more POSIX options.
4830 * sysdeps/posix/sysconf.c: Likewise.
4831 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
4832 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
4834 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
4835 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
4836 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
4837 CLOCK_THREAD_CPUTIME_ID.
4838 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
4839 CLOCK_PROCESS_CPUTIME_ID.
4840 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
4841 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
4842 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
4843 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
4845 * malloc/Makefile (tests): Add tst-calloc.
4846 * malloc/tst-calloc.c: New file.
4848 * sysdeps/arm/libm-test-ulps: New file.
4850 * malloc/malloc.c: Undo all of today's changes.
4852 * locale/programs/locale.c (show_info): Don't try to look into
4853 data for LC_ALL (there is none).
4855 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
4856 avoid writing over boundary.
4857 Patch by Greg McGary <gkm@eng.ascend.com>.
4859 * sysdeps/arm/memprof.h: New file.
4861 2000-04-12 Andreas Jaeger <aj@suse.de>
4863 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
4865 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
4866 for memmem declaration.
4868 2000-04-12 Ulrich Drepper <drepper@redhat.com>
4870 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
4872 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4874 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
4876 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
4877 Patch by Bart Veer <bartv@redhat.com>.
4879 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
4882 2000-04-11 Andreas Jaeger <aj@suse.de>
4884 * sysdeps/mips/dl-machine.h: Update some comments.
4885 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
4887 2000-04-11 Ulrich Drepper <drepper@redhat.com>
4889 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
4890 _POSIX_SHARED_MEMORY_OBJECTS.
4892 * rt/Makefile (tests): Add tst-shm.
4893 Add rules to generate tst-shm.
4894 * rt/tst-shm.c: New file.
4896 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
4899 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
4900 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
4901 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
4902 * sysdeps/generic/shm_open.c: New file.
4903 * sysdeps/generic/shm_unlink.c: New file.
4904 * sysdeps/unix/sysv/linux/shm_open.c: New file.
4905 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
4906 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
4907 __endmntent, __getmntent_r, __setmntent, and __statfs.
4909 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
4910 fragmentation by allocating new memory at the end instead of
4913 * posix/globtest.sh: Fix last change.
4915 2000-04-10 Philip Blundell <philb@gnu.org>
4917 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
4918 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
4919 IPV6_DROP_MEMBERSHIP.
4920 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
4923 2000-04-11 Ulrich Drepper <drepper@redhat.com>
4925 * elf/readlib (process_file): Close streams in case of an error.
4927 2000-04-09 Andreas Jaeger <aj@suse.de>
4929 * elf/readlib.c (process_file): Check if file is big enough to
4930 contain aout and ELF headers.
4931 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
4933 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
4935 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
4937 2000-04-11 Ulrich Drepper <drepper@redhat.com>
4939 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
4941 * rt/Makefile (tests): Add tst-clock.
4942 Add rules to build tst-clock.
4943 * rt/tst-clock.c: New file.
4944 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
4945 about initialization of nsec.
4946 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
4947 about initialization of freq. Set retval to zero if successful.
4948 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
4950 2000-04-10 Ulrich Drepper <drepper@redhat.com>
4952 * Versions.def (librt): Add GLIBC_2.2.
4953 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
4954 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
4955 timer_getoverr, timer_gettime, and timer_settime.
4956 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
4957 clock_settime, timer_create, timer_delete, timer_getoverrun,
4958 timer_gettime, and timer_settime.
4959 * sysdeps/generic/clock_getcpuclockid.c: New file.
4960 * sysdeps/generic/get_clockfreq.c: New file.
4961 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
4962 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
4963 * sysdeps/mach/hurd/i386/bits/time.h: New file.
4964 * sysdeps/unix/i386/i586/clock_getres.c: New file.
4965 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
4966 * sysdeps/unix/i386/i686/Implies: New file.
4967 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
4968 * time/Makefile (routines): Move clock_getres, clock_gettime,
4969 clock_settime, timer_create, timer_delete, timer_getoverr,
4970 timer_gettime, and timer_settime to rt/Makefile.
4971 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
4972 clock_settime, timer_create, timer_delete, timer_getoverrun,
4973 timer_gettime, and timer_settime.
4974 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
4976 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
4977 and not const as attribute name.
4979 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
4981 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
4983 2000-04-10 Andreas Schwab <schwab@suse.de>
4985 * posix/globtest.sh: Skip tests that depend on unreadable
4986 directories if run as root.
4988 2000-04-10 Ulrich Drepper <drepper@redhat.com>
4990 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
4991 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
4993 2000-04-09 Ulrich Drepper <drepper@redhat.com>
4995 * sysdeps/unix/clock_gettime.c: New file.
4996 * sysdeps/unix/clock_settime.c: New file.
4997 * sysdeps/posix/clock_getres.c: New file.
4999 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
5001 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
5002 lseek call be passing in a buffer which never allow a successful
5003 first getdents syscall if not at leas the initial entry can be
5004 stored in the user buffer.
5006 * localedata/Makefile: Add rules to clean up directories created by
5009 2000-04-09 Geoff Clare <gwc@unisoft.com>
5011 * localedata/tst-fmon.data: Added new tests for strfmon()
5012 using test locales with all combinations of cs_precedes,
5013 sign_posn and sep_by_space.
5014 * localedata/tst-fmon.sh: Updated to support the new tests.
5015 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
5016 the localedef source for the new strfmon() test locale.
5017 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
5018 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
5019 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
5020 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
5021 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
5022 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
5023 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
5024 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
5025 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
5026 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
5027 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
5028 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
5029 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
5030 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
5032 * stdlib/strfmon.c: Correct problems with missing or extra
5033 spaces for unusual combinations of sign_posn and sep_by_space.
5034 Improved left-precision alignment code.
5036 2000-04-07 Andreas Jaeger <aj@suse.de>
5038 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
5040 2000-04-10 Andreas Jaeger <aj@suse.de>
5042 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
5044 2000-04-09 Ulrich Drepper <drepper@redhat.com>
5046 Implement handling of restartable conversion functions according to
5048 * iconv/gconv.h (__gconv_fct): Add additional parameter.
5049 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
5050 * iconv/gconv.c: Pass additional parameter to conversion function.
5051 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
5052 (internal_ucs4le_loop_single): New function.
5053 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
5054 (__gconv_transform_internal_ascii): Likewise.
5055 (__gconv_transform_internal_utf8): Likewise.
5056 (__gconv_transform_utf8_internal): Likewise.
5057 (__gconv_transform_ucs2_internal): Likewise.
5058 (__gconv_transform_internal_ucs2): Likewise.
5059 (__gconv_transform_ucs2reverse_internal): Likewise.
5060 (__gconv_transform_internal_ucs2reverse): Likewise.
5061 (internal_ucs4le_loop_unaligned): Before return
5062 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
5063 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
5064 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
5065 * iconv/loop.c: Fit in definition of function to convert one character
5066 for processing of left-over bytes from the state object.
5067 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
5068 inend to match names in loop functions.
5069 (RESET_INPUT_BUFFER): Change apprpriately.
5070 (gconv): If needed, call function to process bytes from the state
5071 object. Similar at the end: store left over bytes if input is
5073 Take extra argument and add new argument to all calls of the
5074 conversion function.
5075 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
5076 information in the state object to not conflict with length count.
5077 * iconvdata/iso-2022-jp.c: Likewise.
5078 * iconvdata/iso-2022-kr.c: Likewise.
5079 * iconvdata/unicode.c: Adjust for change change in parameters of
5081 * iconvdata/utf-16.c: Likewise.
5082 * libio/iofwide.c: Add new parameter to all calls of conversion
5084 * wcsmbs/btowc.c: Likewise.
5085 * wcsmbs/mbrtowc.c: Likewise.
5086 * wcsmbs/mbsnrtowcs.c: Likewise.
5087 * wcsmbs/mbsrtowcs.c: Likewise.
5088 * wcsmbs/wcrtomb.c: Likewise.
5089 * wcsmbs/wcsnrtombs.c: Likewise.
5090 * wcsmbs/wcsrtombs.c: Likewise.
5091 * wcsmbs/wctob.c: Likewise.
5093 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
5096 2000-04-07 Andreas Jaeger <aj@suse.de>
5098 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
5101 2000-04-07 Ulrich Drepper <drepper@redhat.com>
5103 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
5104 element a union to allow byte access.
5105 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
5107 * iconvdata/iso-2022-jp.c: Likewise.
5108 * iconvdata/iso-2022-kr.c: Likewise.
5109 * wcsmbs/mbsinit.c: Likewise.
5110 * stdlib/mblen.c: Likewise.
5111 * stdio-common/printf-parse.h: Likewise.
5113 2000-04-06 Ulrich Drepper <drepper@redhat.com>
5115 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
5116 kernel does not allow relative seeks on descriptors associated
5117 with directories. Go back to get the position in the directory
5118 every time we enter the function. Return -1 and set errno if one
5119 entry could be read from the kernel but does not fit into the
5120 buffer passed in by the user.
5122 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
5123 Support ..(2).. ellipsis.
5124 (parse_charmap): Recognize ..(2).. etc and pass step down.
5125 Correctly generate names for UCS4 characters.
5127 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
5128 (ctype_finish): We know the wide character value for <SP>,
5130 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
5131 (charclass_ucs4_ellipsis): Likewise.
5132 (read_translit_ignore_entry): Store ellipsis step.
5133 (ctype_read): Recognize ..(2).. etc and pass step down.
5135 * locale/programs/linereader.c (lr_token): When seeing comment
5136 character ignore only rest of line in sources but stop at escaped
5138 Recognize ..(2).. and ....(2).....
5140 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
5141 and tok_ellipsis4_2.
5143 2000-04-06 Andreas Jaeger <aj@suse.de>
5145 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
5146 removed, remove it here also.
5147 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
5148 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
5149 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
5150 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
5152 2000-04-06 Jakub Jelinek <jakub@redhat.com>
5154 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
5155 include bits/sigcontext.h.
5156 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5158 2000-04-06 Ulrich Drepper <drepper@redhat.com>
5160 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
5161 collation symbol definition. Value in quivalence definition must
5162 be defined, don't check that it is not.
5164 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
5165 values as character names.
5167 * locale/programs/ld-ctype.c (get_character): Handle missing
5168 repertoire map correctly.
5170 2000-04-05 Cristian Gafton <gafton@redhat.com>
5172 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
5173 because it is used in generic code.
5174 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
5175 * wcsmbs/wcwidth.h: Declare __ctype32_b.
5176 * intl/gettext.c: Include <locale.h>.
5177 * intl/ngettext.c: Likewise.
5179 2000-04-05 Jakub Jelinek <jakub@redhat.com>
5181 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
5182 socklen_t type for size.
5183 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
5184 init function interface.
5185 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5186 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
5188 (__jmp_buf): Declare the whole type structure here, don't use
5191 2000-04-05 Ulrich Drepper <drepper@redhat.com>
5193 * iconv/skeleton.c (put16u): Fix typo.
5194 Reported by Bruno Haible <haible@ilog.fr>.
5196 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
5197 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
5198 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
5199 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
5200 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
5201 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
5203 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
5204 * Makefile (distribute): Add abi-versions.awk and
5206 Patches by Torsten Duwe <duwe@caldera.de>.
5208 2000-04-05 Andreas Schwab <schwab@suse.de>
5210 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
5212 2000-04-05 Andreas Schwab <schwab@suse.de>
5214 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
5215 entry point, used on Hurd.
5217 2000-04-04 Andreas Jaeger <aj@suse.de>
5219 * intl/Makefile: Only run the gettext test with shared libraries.
5221 2000-03-16 Mark Kettenis <kettenis@gnu.org>
5223 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
5224 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
5226 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
5228 * Makeconfig: Undo last change.
5229 * configure.in: If --disable-shared was given, don't set VERSIONING,
5230 don't define DO_VERSIONING, and don't give scare warning for no
5232 * configure: Regenerated.
5234 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
5236 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
5238 2000-04-04 Andreas Jaeger <aj@suse.de>
5240 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
5242 2000-04-04 Ulrich Drepper <drepper@redhat.com>
5244 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
5245 STV_HIDDEN and STV_INTERNAL during lookup.
5246 (profile_fixup): Likewise.
5247 * elf/dl-reloc.c (RESOLVE): Likewise.
5249 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
5250 unaligned so that it compiles for system which need unaligned
5253 2000-04-04 Andreas Schwab <schwab@suse.de>
5255 * elf/cache.c (print_entry): Only look at the type field when
5258 2000-04-04 Andreas Schwab <schwab@suse.de>
5260 * iconvdata/big5.c (BODY): Fix typo.
5262 2000-04-04 Andreas Schwab <schwab@suse.de>
5264 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
5265 function interface. Remove unused _dl_start_user entry point.
5267 2000-04-03 Andreas Jaeger <aj@suse.de>
5269 * include/arpa/inet.h (__inet_aton): Add protoype.
5271 2000-04-01 Andreas Jaeger <aj@suse.de>
5273 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
5275 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
5276 * sysdeps/mach/mips/thread_state.h: Likewise.
5278 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
5279 * sysdeps/generic/fegetenv.c: Likewise.
5280 * sysdeps/generic/fesetenv.c: Likewise.
5281 * sysdeps/generic/feupdateenv.c: Likewise.
5282 * sysdeps/generic/fraiseexcpt.c: Likewise.
5283 * sysdeps/generic/fsetexcptflg.c: Likewise.
5284 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
5285 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
5286 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
5287 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5289 2000-04-02 H.J. Lu <hjl@gnu.org>
5291 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
5293 2000-04-03 Ulrich Drepper <drepper@redhat.com>
5295 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
5296 (add_name_to_object): Add cast in malloc call.
5297 (fillin_rpath): Optimize loop to initialize ->status a bit.
5299 * sysdeps/i386/dl-machine.h: Undo last change.
5300 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
5301 Restore %edx register after call here.
5303 * sysdeps/arm/atomicity.h: New file.
5304 Contributed by Jesper Skov <jskov@redhat.com>.
5306 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
5308 * Makeconfig (preprocess-versions): Undo last change.
5309 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
5311 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
5312 here, before we might move the stack.
5313 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
5314 (init1): And not here.
5316 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
5317 change, to restore argc value in call-clobbered register after
5318 RTLD_START_SPECIAL_INIT, which will contain a call.
5320 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
5321 allocating and initializing L->l_initfini.
5323 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
5325 2000-04-03 Ulrich Drepper <drepper@redhat.com>
5327 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
5328 RUNPATH, RPATH, and LD_LIBRARY_PATH.
5329 (open_path): Change type of fourth parameter. Make pointer to array
5330 of pointers. Create variable dirs with original type.
5331 Track whether any directory for the object exists and if not,
5332 change *DIRSP to (void*) -1 to signal there is no such search path.
5333 (_dl_map_object): Change all calls of open_path.
5334 Rewrite decompose_rpath calls.
5336 2000-03-31 Andreas Schwab <schwab@suse.de>
5338 * string/strfry.c: Declare STATE as array of char instead of int
5339 and do not initialize it (done by initstate_r). Pass correct
5342 2000-04-03 Ulrich Drepper <drepper@redhat.com>
5344 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
5346 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
5347 instruction out of the code.
5349 2000-04-02 Ulrich Drepper <drepper@redhat.com>
5351 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
5352 element at this position.
5354 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
5355 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
5357 * elf/dl-lookup.c (add_dependency): New function.
5358 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
5359 dynamically loaded object.
5360 (_dl_lookup_symbol_skip): Likewise.
5361 (_dl_lookup_versioned_symbol): Likewise.
5362 (_dl_lookup_versioned_symbol_skip): Likewise.
5363 * elf/dl-open.c: Don't define _dl_load_lock here...
5364 * elf/rtld.c: ...but here...
5365 * elf/dl-support.c: ...and here.
5366 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
5368 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
5370 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
5372 * dlfcn/glrefmain.c: Add one more debug message.
5374 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
5376 * Makerules (sysd-versions): Use ( ) instead of { }.
5378 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
5379 optimize for the non-debugging case.
5380 * elf/dl-lookup.c: Likewise.
5381 * sysdeps/generic/libc-start.c: Likewise.
5383 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
5385 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
5386 (init1): Don't initialize __environ here, since init already does it.
5387 (first_init): New function, broken out of _init.
5388 (_hurd_stack_setup): Use it.
5389 [SHARED] (_dl_init_first): New function, renamed from old _init.
5390 (init1) [SHARED]: Don't call posixland_init here.
5391 (posixland_init): Take ENVP arg, so signature is usual for initializer.
5392 [SHARED] (_init): Define as alias for posixland_init.
5393 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
5394 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
5395 RTLD_START_SPECIAL_INIT before calling initializers.
5396 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
5397 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
5398 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
5399 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
5401 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
5402 since we define the function with the name `tmpfile'.
5404 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
5405 * hurd/Versions: Likewise.
5407 2000-04-02 Ulrich Drepper <drepper@redhat.com>
5409 * elf/dl-runtime.c (fixup): Fix typo in comment.
5411 * resolv/netdb.h (getnameinfo): All length parameters are of type
5413 * inet/getnameinfo.c: Likewise.
5415 2000-04-01 Ulrich Drepper <drepper@redhat.com>
5417 * posix/unistd.h (socklen_t): Define if it has not yet happened.
5418 (gethostname): Change type of second parameter to socklen_t.
5419 * include/unistd.h (__gethostname): Change type of second
5420 parameter to socklen_t.
5421 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
5422 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
5423 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
5424 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
5426 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
5427 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
5428 Allow definition elsewhere.
5429 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
5430 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5431 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5432 * sysdeps/generic/bits/types.h: Define __socklen_t.
5433 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
5434 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
5435 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5436 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5437 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5438 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5439 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5441 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
5442 (inet_lnaof): Likewise.
5443 (inet_netof): Likewise.
5444 (inet_network): Likewise.
5445 (inet_aton): Likewise.
5446 (inet_makeaddr): Change parameter types to in_addr_t.
5447 (inet_neta): Likewise.
5448 (inet_ntop): Change type of last parameter to socklen_t.
5449 (inet_aton): Only make available if __USE_MISC.
5450 (inet_neta): Likewise.
5451 (inet_net_ntop): Likewise.
5452 (inet_net_pton): Likewise.
5453 (inet_nsap_ntoa): Likewise.
5455 * inet/in.h: Define in_port_t type.
5456 Define in_addr_t type.
5457 (struct in_addr): Use in_addr_t in definition.
5458 (IN_CLASSA): Use cast to in_addr_t.
5459 (IN_CLASSB): Likewise.
5460 (IN_CLASSC): Likewise.
5461 (IN_CLASSD): Likewise.
5462 (IN_EXPERIMENTAL): Likewise.
5463 (IN_BADCLASS): Likewise.
5464 (INADDR_ANY): Likewise.
5465 (INADDR_BROADCAST): Likewise.
5466 (INADDR_NONE): Likewise.
5467 (INADDR_LOOPBACK): Likewise.
5468 (INADDR_UNSPEC_GROUP): Likewise.
5469 (INADDR_ALLHOSTS_GROUP): Likewise.
5470 (INADDR_ALLRTRS_GROUP): Likewise.
5471 (INADDR_MAX_LOCAL_GROUP): Likewise.
5472 (struct sockaddr_in): Use in_port_t for sin_port element.
5473 (struct sockaddr_in6): Use in_port_t for sin6_port element.
5474 Use uint8_t instead of u_int8_t.
5476 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
5477 Call __inet_aton instead of inet_aton.
5478 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
5480 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
5481 (innetgr): Likewise.
5482 (struct addrinfo): Use socklen_t for ai_addrlen element.
5484 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
5485 IPV6_RECVERR): New defines.
5487 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
5488 * inet/getnetbyad.c: Likewise.
5489 * inet/getnetbyad_r.c: Likewise.
5490 * nis/nss_nis/nis-network.c: Likewise.
5491 * nis/nssplus_nis/nisplus-network.c: Likewise.
5492 * nss/nss_files/files-network.c: Likewise.
5493 * resolv/netdb.h: Define uint32_t if not already happened.
5494 Include bits/netdb.h. Remove definition of struct netent.
5495 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
5496 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
5497 * sysdeps/generic/bits/netdb.h: New file.
5498 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
5500 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
5501 (tests): Add glrefmain.
5502 Add rules to build modules and run tests. Ignore result of glrefmain
5503 for now since it fails.
5504 * dlfcn/glrefmain.c: New file.
5505 * dlfcn/glreflib1.c: New file.
5506 * dlfcn/glreflib2.c: New file.
5508 * test-skeleton.c: Include <string.h> for strsignal prototype.
5510 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
5513 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
5514 former init-first.h. Initialize __libc_multiple_libcs.
5516 2000-03-31 Ulrich Drepper <drepper@redhat.com>
5518 * iconv/skeleton.c: Define access macros with u suffix. Adjust
5519 #if expression for use of unaligned function to the one used in
5520 the definition of these functions.
5521 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
5522 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
5523 (internal_ucs4le_loop_unaligned): New function.
5525 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
5527 (module-names): Add dep1, dep2, dep3, and dep4.
5528 Add dependencies for dep* modules and order.
5529 Define rule for order.out which checks the result.
5530 * elf/dep1.c: New file.
5531 * elf/dep2.c: New file.
5532 * elf/dep3.c: New file.
5533 * elf/dep4.c: New file.
5534 * elf/order.c: New file.
5536 * elf/dl-init.c: Fix typo in comment.
5538 2000-03-31 Andreas Jaeger <aj@suse.de>
5540 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
5541 init function interface.
5542 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
5544 2000-03-31 Andreas Jaeger <aj@suse.de>
5546 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
5547 * sysdeps/mips/fpu/fegetenv.c: Likewise.
5548 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
5549 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
5550 * sysdeps/mips/fpu/fesetenv.c: Likewise.
5552 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
5553 anymore, update comment.
5555 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5557 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
5558 SHLIB_COMPAT - the struct is always needed.
5560 2000-03-31 Ulrich Drepper <drepper@redhat.com>
5562 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
5563 * elf/dl-support.c: Define _dl_starting_up.
5565 2000-03-30 Ulrich Drepper <drepper@redhat.com>
5567 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
5568 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
5570 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
5572 * elf/Makefile (dl-routines): Remove preinit.
5573 * elf/Versions: Remove _dl_preinit.
5574 * elf/dl-preinit.c: Removed. Move content into...
5575 * elf/dl-init.c: ...here.
5576 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
5578 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
5581 2000-03-29 Geoff Clare <gwc@unisoft.com>
5583 * stdlib/strfmon.c: Corrected problems with the code that
5584 sets default values for [np]_sep_by_space and
5585 [np]_sign_posn; also the new positive/negative alignment
5586 code from the previous patch was not quite right for
5589 * localedata/tst-fmon.data: Changes corresponding to the
5590 two sets of fixes made to stdlib/strfmon.c.
5592 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
5594 * malloc/malloc.c: Declare bit flags UL so that they will not
5595 default to int size when being inverted.
5597 2000-03-29 Andreas Jaeger <aj@suse.de>
5599 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
5600 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
5602 2000-03-29 Andreas Jaeger <aj@suse.de>,
5603 Ralf Baechle <ralf@uni-koblenz.de>
5605 * Makeconfig: Introduce new variable SHARED to mark code used in
5607 * elf/dl-close.c: Use it instead of PIC.
5608 * elf/dl-load.c: Likewise.
5609 * elf/dl-open.c: Likewise.
5610 * hurd/geteuids.c: Likewise.
5611 * include/libc-symbols.h: Likewise.
5612 * include/shlib-compat.h: Likewise.
5613 * libio/freopen.c: Likewise.
5614 * linuxthreads/cancel.c: Likewise.
5615 * linuxthreads/pthread.c: Likewise.
5616 * linuxthreads/wrapsyscall.c: Likewise.
5617 * nss/nsswitch.c: Likewise.
5618 * stdio-common/vfprintf.c: Likewise.
5619 * sysdeps/arm/init-first.c: Likewise.
5620 * sysdeps/i386/init-first.c: Likewise
5621 * sysdeps/generic/init-first.c: Likewise.
5622 * sysdeps/generic/libc-start.c: Likewise.
5623 * sysdeps/mips/init-first.c: Likewise.
5624 * sysdeps/powerpc/elf/libc-start.c: Likewise.
5625 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
5626 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
5627 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
5628 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5630 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
5632 2000-03-29 Andreas Jaeger <aj@suse.de>
5634 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
5635 Use D_PTR to access relocated entries in l_info.
5636 (elf_machine_rela): Likewise.
5638 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
5640 (elf_machine_rela): Likewise.
5642 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
5644 (__elf_machine_fixup_plt): Likewise.
5645 (__process_machine_rela): Likewise.
5647 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
5648 (elf_machine_rela): Likewise.
5650 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
5651 (elf_machine_rel): Likewise.
5653 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
5654 (elf_machine_fixup_plt): Likewise.
5655 (elf_machine_rela): Likewise.
5657 2000-03-29 Andreas Jaeger <aj@suse.de>
5659 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
5660 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5661 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5662 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
5663 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
5664 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
5665 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
5666 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
5667 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5668 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
5669 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
5670 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
5671 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
5672 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
5673 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5675 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
5676 macros, remove K&R prototypes.
5678 2000-03-30 Ulrich Drepper <drepper@redhat.com>
5680 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
5681 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
5684 2000-03-30 Andreas Jaeger <aj@suse.de>
5686 * misc/sys/cdefs.h: Remove K&R support.
5688 2000-03-30 Ulrich Drepper <drepper@redhat.com>
5690 * iconv/skeleton.c: Avoid compiling unaligned versions in some
5692 * iconv/loop.c: Likewise.
5694 2000-03-29 Bruno Haible <haible@clisp.cons.org>
5696 * iconv/loop.c (put16): Remove __const. Fix access index.
5697 (put32): Remove __const. Use uint32_t instead of uint16_t.
5698 * iconv/skeleton.c: Likewise.
5700 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
5702 * mach/Versions (libc: GLIBC_2.0)
5703 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
5704 __vm_allocate on this.
5705 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
5706 mutex- and spinlock-related symbols on this.
5707 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
5708 New version set. Lock-related symbols go here instead in this case.
5709 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
5710 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
5711 cthread_getspecific, cthread_setspecific, __libc_getspecific.
5713 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
5714 Put them here instead.
5715 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
5716 New version set. Those cthreads symbols go here instead in this case.
5717 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
5719 2000-03-30 Ulrich Drepper <drepper@redhat.com>
5721 * elf/dl-init.c (_dl_init): We don't need to call constructors
5722 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
5724 Implement dynamic determination of constructor/destructor order in
5726 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
5727 (GLIBC_2.2): Add _dl_init.
5728 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
5729 r_duplist is not anymore allocated separately. l_initfini is and
5730 therefore free it if necessary.
5731 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
5732 malloc block. Otherwise allocate l_initfini list only.
5733 Put dependencies for the object in l_initfini list.
5734 Sort dependencies for the object to be loaded topologically.
5735 * elf/dl-fini.c: Before running the destructors sort the topologically.
5736 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
5737 call constructors instead of iterating over the pointers. Get list of
5738 objects for which to run constructors from l_initfini element. Accept
5739 argc, argv, and env as parameters and pass them to the constructors.
5740 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
5741 with size of dynamic section.
5742 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
5743 _dl_init_next and calling constructors ourself.
5744 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
5745 Take argc, argv, and env as parameters and pass them to the
5746 constructors. Rewrite to call all constructors and not iterate over
5748 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
5749 precompute l_initcount and l_preinitcount.
5750 * elf/link.h (struct link_map): Add l_ldnum member.
5751 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
5752 l_initcount, and l_preinitcount. Add l_initfini.
5753 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
5755 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
5757 * sysdeps/unix/sysv/linux/init-first.h: Removed.
5758 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
5759 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
5760 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
5761 conventions now match.
5763 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
5764 effect for shared objects. Don't emit message and call only for
5767 2000-03-29 Ulrich Drepper <drepper@redhat.com>
5769 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
5770 CSA_Z243.4-1985-1..UCS2.
5771 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
5774 2000-03-29 Andreas Jaeger <aj@suse.de>
5776 * include/unistd.h: Remove duplicate entry for __rmdir.
5777 Remove declaration of __mkdir since __mkdir is declared in
5780 * manual/creature.texi (Feature Test Macros): Fix typo, reported
5781 by Michael Deutschmann <michael@talamasca.ocis.net>.
5783 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
5784 * sysdeps/mips/fpu/fegetenv.c: Likewise.
5785 * sysdeps/mips/fpu/fesetenv.c: Likewise.
5786 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
5787 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
5789 2000-03-28 Andreas Jaeger <aj@suse.de>
5791 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
5792 declaration, the prototype is defined via bits/mathcalls.h.
5793 (__sincosf): Likewise.
5794 (__sincosl): Likewise.
5798 (__finite): Likewise.
5799 (__inline_mathcodeNP): New macro without prototype
5801 (__inline_mathcodeNP2): Likewise.
5802 (__inline_mathcodeNP3): Likewise.
5803 (__inline_mathcodeNP_): Likewise.
5804 (__inline_mathcodeNP2_): Likewise.
5805 (__inline_mathcodeNP3_): Likewise.
5806 (__inline_mathopNP): Likewise.
5807 (__inline_mathop_declNP): Likewise.
5808 (__inline_mathop_declNP_): Likewise.
5809 (__inline_mathcode_): Use __inline_mathcodeNP_.
5810 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
5811 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
5812 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
5813 (__expm1l): Don't define prototype, the prototype is defined via
5819 (__atan2l): Likewise.
5824 (__fabsl): Likewise.
5842 (__sqrtl): Likewise.
5852 2000-03-28 Ulrich Drepper <drepper@redhat.com>
5854 * Makerules: If make variable md5 is defined to yes after
5855 generating dependencies generate MD5 sum for the object.
5857 * iconv/gconv_builtin.h: Fix length in transformation definition
5860 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
5862 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
5863 allow as well reading from/writing to unaligned addresses on machines
5864 which don't support this in hardware. Use FCTNAME macro to define
5865 function name. Include the file a second time for platforms which
5866 need special unaligned handling.
5867 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
5868 to access potentially unaligned addresses. These macros are intended
5869 to be used only outside the loops.
5870 (unaligned): New definition. In case the machine can handle unaligned
5871 access define as zero. Otherwise as a variable which is initialized
5872 as nonzero in case the buffer passed in at runtime is unaligned with
5873 respect to the character set encoding involved.
5874 Call aligned or unaligned looop functions according to unaligned
5876 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
5877 of direct casting pointer to potentially handle unaligned memory
5879 * iconvdata/8bit-generic.c: Likewise.
5880 * iconvdata/ansi_x3.110.c: Likewise.
5881 * iconvdata/big5.c: Likewise.
5882 * iconvdata/euc-cn.c: Likewise.
5883 * iconvdata/euc-jp.c: Likewise.
5884 * iconvdata/euc-kr.c: Likewise.
5885 * iconvdata/euc-tw.c: Likewise.
5886 * iconvdata/gbk.c: Likewise.
5887 * iconvdata/iso-2022-cn.c: Likewise.
5888 * iconvdata/iso-2022-jp.c: Likewise.
5889 * iconvdata/iso-2022-kr.c: Likewise.
5890 * iconvdata/iso646.c: Likewise.
5891 * iconvdata/iso_6937-2.c: Likewise.
5892 * iconvdata/iso_6937.c: Likewise.
5893 * iconvdata/johab.c: Likewise.
5894 * iconvdata/sjis.c: Likewise.
5895 * iconvdata/t.61.c: Likewise.
5896 * iconvdata/uhc.c: Likewise.
5897 * iconvdata/unicode.c: Likewise.
5898 * iconvdata/utf-16.c: Likewise.
5900 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
5903 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
5904 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
5906 * malloc/mcheck.h (mcheck_check_all): Declare.
5908 * stdio-common/Makefile (tests): Add tst-obprintf.
5910 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
5912 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
5913 Declare pthread_sigmask.
5915 * csu/version.c: Add 2000 to copyright years.
5916 Remove Emacs local variables section.
5918 2000-03-23 Bruno Haible <haible@clisp.cons.org>
5920 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
5921 __gconv_transform_internal_ucs2little): Remove declarations.
5922 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
5923 __gconv_transform_internal_ucs2): Never need to bswap_16.
5924 (__gconv_transform_ucs2reverse_internal,
5925 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
5927 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
5929 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
5930 obsoleting version not being defined at all, in which case the
5931 result is always true.
5933 * Makeconfig (preprocess-versions): New canned sequence for running
5934 cpp on shlib-versions and the like.
5935 (soversions.i): Use it.
5936 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
5937 Versions.def and Versions files.
5939 2000-03-27 Ulrich Drepper <drepper@redhat.com>
5941 * stdio-common/tst-obprintf.c (main): Add another check to see
5942 obstack_printf handling all possible beginnings of the block
5943 inside an obstack chunk.
5945 * locale/programs/localedef.c: Use __malloc_initialize_hook to
5946 install mcheck handler.
5948 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
5951 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
5953 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
5955 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
5956 on [HAVE_ELF && DO_VERSIONING].
5958 2000-03-27 Ulrich Drepper <drepper@redhat.com>
5960 * stdio-common/tst-obprintf.c: New file.
5962 2000-03-26 Ulrich Drepper <drepper@redhat.com>
5964 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
5965 _IO_OVERFLOW directly instead through __overflow.
5967 * locale/programs/localedef.c (construct_output_path): If path
5968 contains a / compute the end of the directory name correctly.
5970 * include/features.h: Undef and document __USE_XOPEN2K.
5972 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
5973 whenever a function is called. Initiated by calling mcheck_pedantic
5975 * malloc/mcheck.h: Declare mcheck_pedantic.
5976 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
5977 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
5980 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
5982 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
5983 * dlfcn/dlopenold.c: Likewise.
5984 * nss/getXXbyYY_r.c: Likewise.
5985 * nss/getXXent_r.c: Likewise.
5986 * hurd/hurdinit.c: Likewise.
5987 * hurd/compat-20.c: Likewise.
5988 * libio/oldiofopen.c: Likewise.
5989 * libio/oldiofclose.c: Likewise.
5990 * libio/oldiofdopen.c: Likewise.
5991 * libio/oldfileops.c: Likewise.
5992 * libio/oldstdfiles.c: Likewise.
5993 * libio/oldiofsetpos.c: Likewise.
5994 * libio/oldiofgetpos.c: Likewise.
5995 * libio/oldiofgetpos64.c: Likewise.
5996 * libio/oldiofsetpos64.c: Likewise.
5997 * libio/oldiopopen.c: Likewise.
5998 * libio/oldpclose.c: Likewise.
5999 * libio/oldtmpfile.c: Likewise.
6000 * libio/freopen.c (freopen): Likewise.
6001 * libio/iofclose.c (_IO_new_fclose): Likewise.
6003 * sysdeps/mach/sys/reboot.h: Include <features.h>.
6004 (reboot): Declare it.
6006 * libio/Makefile (headers): Add bits/stdio-lock.h here.
6008 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
6010 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
6012 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
6013 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
6014 We need this for the sbrk decl, which can be included without Unix98.
6016 2000-03-20 Richard Henderson <rth@cygnus.com>
6018 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
6019 argument to yperr2nss is an int, not size_t.
6020 * posix/regex.c (print_partial_compiled_pattern): Cast all
6021 ptrdiff_t to long for printing.
6022 (print_compiled_pattern): Use Z for printing size_t.
6023 * posix/testfnm.c (tests): Avoid trigraphs.
6024 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
6025 Use a C comment, not an assembly comment.
6027 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
6028 of __ASSUME_32BITUIDS.
6030 2000-03-26 Ulrich Drepper <drepper@redhat.com>
6032 * libio/iofopncook.c: Remove K&R prototypes.
6034 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
6036 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
6037 an initial value of 1024 instead of RLIM_INFINITY.
6039 * Versions.def (libmachuser, libhurduser): Remove these sections,
6040 since these libraries do not presently use symbol versions.
6042 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
6043 is RLIM_INFINITY, return -1 instead.
6045 2000-03-24 Andreas Jaeger <aj@suse.de>
6047 * Makefile (postclean): Added soversions.i.
6049 2000-03-24 Scott Bambrough <scottb@netwinder.org>
6051 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
6052 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
6053 and _FPU_IEEE. Change _FPU_RESERVED.
6055 2000-03-24 Scott Bambrough <scottb@netwinder.org>
6057 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
6059 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
6061 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
6062 (gaih_inet): Remove unused duplicate variable.
6064 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
6065 Don't use __libc_sa_len, which only exists for Linux. Just handle
6066 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
6067 only flavors supported by this function anyway.
6069 2000-03-24 Geoff Clare <gwc@unisoft.com>
6071 * stdlib/strfmon.c: Corrected problems with missing signs and
6072 missing or extra spaces; allow for sign strings longer than
6073 one character; add padding to ensure positive and negative
6074 formats are aligned when a left precision is used.
6076 2000-03-26 Ulrich Drepper <drepper@redhat.com>
6078 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
6079 Patch by John Mizel <John.Mizel@msdw.com>.
6081 2000-03-25 Ulrich Drepper <drepper@redhat.com>
6083 * manual/install.texi: Remove references to crypt add-on.
6085 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
6087 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
6088 section while taking the _hurd_rlimit_lock.
6089 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
6091 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
6093 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
6096 * sysdeps/mach/hurd/if_index.c: New file.
6098 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
6099 * sysdeps/gnu/net/if.h: here.
6100 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
6101 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
6102 * sysdeps/generic/net/if.h: New file. Declares just the standard
6103 functions and `struct if_nameindex' type.
6104 * socket/Makefile (headers): Add net/if.h here.
6105 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
6106 * sysdeps/mach/hurd/Dist: Remove it here.
6107 * sysdeps/unix/sysv/linux/Dist: And here.
6108 * sysdeps/generic/if_index.c: Include <net/if.h>.
6110 2000-03-24 Andreas Jaeger <aj@suse.de>
6112 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
6113 access relocated entries in l_info.
6114 (elf_machine_got_rel): Likewise.
6115 (elf_machine_runtime_setup): Likewise.
6116 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
6117 (elf_machine_runtime_setup): Likewise.
6118 (__dl_runtime_resolve): Likewise.
6120 2000-03-23 Ulrich Drepper <drepper@redhat.com>
6122 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
6123 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
6124 according to RFC 2553.
6125 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
6126 * inet/getnameinfo.c: Likewise.
6127 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
6129 2000-03-23 Bruno Haible <haible@clisp.cons.org>
6131 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
6132 Remove no-op pointer increment.
6134 2000-03-23 Andreas Jaeger <aj@suse.de>
6136 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
6137 follow change for libio.h from 2000-03-10.
6139 2000-03-23 Andreas Jaeger <aj@suse.de>
6141 * elf/dl-addr.c: Adjust include paths for ldsodefs location
6143 * elf/dl-debug.c: Likewise.
6144 * elf/dl-deps.c: Likewise.
6145 * elf/dl-error.c: Likewise.
6146 * elf/dl-fini.c: Likewise.
6147 * elf/dl-init.c: Likewise.
6148 * elf/dl-load.c: Likewise.
6149 * elf/dl-lookup.c: Likewise.
6150 * elf/dl-minimal.c: Likewise.
6151 * elf/dl-object.c: Likewise.
6152 * elf/dl-open.c: Likewise.
6153 * elf/dl-preinit.c: Likewise.
6154 * elf/dl-profile.c: Likewise.
6155 * elf/dl-profstub.c: Likewise.
6156 * elf/dl-reloc.c: Likewise.
6157 * elf/dl-runtime.c: Likewise.
6158 * elf/dl-support.c: Likewise.
6159 * elf/dl-symbol.c: Likewise.
6160 * elf/dl-version.c: Likewise.
6161 * elf/rtld.c: Likewise.
6162 * elf/sprof.c: Likewise.
6163 * sysdeps/generic/dl-cache.c: Likewise.
6164 * sysdeps/generic/dl-origin.c: Likewise.
6165 * sysdeps/generic/dl-sysdep.c: Likewise.
6166 * sysdeps/generic/elf/backtracesyms.c: Likewise.
6167 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6168 * sysdeps/generic/libc-start.c: Likewise.
6169 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6170 * sysdeps/powerpc/dl-machine.c: Likewise.
6171 * sysdeps/powerpc/elf/libc-start.c: Likewise.
6172 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6173 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6174 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
6176 * elf/ldsodefs.h: Move file to ...
6177 * sysdeps/generic/ldsodefs.h: ... here.
6179 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
6181 * sysdeps/mips/elf/ldsodefs.h: New file.
6183 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
6185 (_dl_check_map_versions): Likewise.
6186 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6187 * elf/dl-load.c (_dl_init_paths): Likewise.
6188 (_dl_map_object): Likewise.
6189 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
6190 (elf_get_dynamic_info): Likewise.
6191 * elf/do-lookup.h (FCT): Likewise.
6192 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
6193 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6194 * elf/dl-addr.c (_dl_addr): Likewise.
6195 * elf/dl-runtime.c (profile_fixup): Likewise.
6197 * elf/dl-init.c (_dl_init_next): Likewise.
6198 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
6199 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
6200 (DISTINGUISH_LIB_VERSIONS): Likewise.
6201 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
6202 (elf_machine_rel): Likewise.
6204 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
6205 for writable dynamic section.
6207 2000-03-22 Ulrich Drepper <drepper@redhat.com>
6209 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
6210 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
6212 2000-03-22 Andreas Jaeger <aj@suse.de>
6214 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
6215 from latest Linux kernel.
6217 2000-03-21 Andreas Jaeger <aj@suse.de>
6219 * Versions.def: Add version 2.1.4.
6221 2000-03-21 Ulrich Drepper <drepper@redhat.com>
6223 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
6224 * libio/oldiofopen.c: Likewise.
6225 * libio/oldiofclose.c: Likewise.
6226 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
6228 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
6230 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
6231 indicating the first version set to obsolete the conditionalized code.
6232 (compat_symbol): New macro.
6233 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
6234 rhs be the ABI_* macro for the subsuming version. Assign increasing
6235 integer values to the ABI_* macros for supported versions.
6236 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
6237 compat_symbol macro.
6239 2000-03-21 Ulrich Drepper <drepper@redhat.com>
6241 * nscd/connections.c (nscd_run): Pretty print.
6242 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
6244 * manual/charset.texi: Fix typos. Rephrase.
6245 * manual/process.texi: Likewise.
6246 * manual/signal.texi: Likewise.
6247 Patches by Mike Coleman <mkc@kc.net>.
6249 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
6251 * libio/iofdopen.c: Likewise.
6252 * libio/iofgetpos.c: Likewise.
6253 * libio/iofgetpos64.c: Likewise.
6254 * libio/iofopen.c: Likewise.
6255 * libio/iofsetpos.c: Likewise.
6256 * libio/iofsetpos64.c: Likewise.
6257 * libio/iopopen.c: Likewise.
6258 * libio/oldiofopen.c: Likewise.
6259 * libio/pclose.c: Likewise.
6260 * sysdeps/gnu/siglist.c: Likewise.
6261 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
6263 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
6264 chance to expand VERSION_##lib##_##version.
6266 * libio/fileops.c: Use new macros from shlib-compat.h to define
6268 * libio/iofclose.c: Likewise.
6269 * libio/oldiofclose.c: Likewise.
6270 Patch by Roland McGrath <roland@frob.com>.
6272 2000-03-21 Jakub Jelinek <jakub@redhat.com>
6274 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
6275 Lay out struct sigcontext according to what really gets passed on
6277 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
6278 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
6279 (prgregset_t, prfpregset_t): Define to elf_* types.
6280 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
6281 Define to correct value.
6282 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
6284 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
6286 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
6288 * scripts/firstversions.awk: Allow multiple version sets in the
6289 "earliest version" specification, meaning that version sets in the
6290 gaps between listed versions should be folded into the earliest later
6291 version that is explicitly listed.
6292 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
6293 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
6295 2000-03-21 Ulrich Drepper <drepper@redhat.com>
6297 * iconv/gconv_builtin.c: Include <endian.h>.
6298 * iconv/gconv_builtin.h: Add UCS-BE aliases.
6299 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
6300 according to current platform.
6301 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
6302 __gconv_transform_internal_ucs2reverse, and
6303 __gconv_transform_internal_ucs4le.
6304 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
6305 __gconv_transform_ucs2reverse_internal and
6306 __gconv_transform_internal_ucs2reverse.
6307 * iconvdata/Makefile (modules): Add UNICODE.
6308 (distribute): Add unicode.c.
6309 * iconvdata/gconv-modules: Add definitions for UNICODE module.
6310 * iconvdata/unicode.c: New file.
6312 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
6313 determine byte order of input and convert accordingly.
6315 * iconvdata/utf-16.c (gconv_init): Fix typo.
6317 2000-03-20 Ulrich Drepper <drepper@redhat.com>
6319 * iconvdata/gconv-modules: Fix typo.
6321 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
6324 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
6326 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
6328 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
6330 2000-03-20 Ulrich Drepper <drepper@redhat.com>
6332 * misc/Makefile (routines): Add mincore.
6334 2000-03-20 Andreas Jaeger <aj@suse.de>
6336 * sysdeps/generic/mincore.c: New stub file.
6338 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
6339 from latest Linux kernel.
6341 2000-03-20 Ulrich Drepper <drepper@redhat.com>
6343 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
6344 _SC_GETPW_R_SIZE_MAX.
6346 2000-03-20 Richard Henderson <rth@cygnus.com>
6348 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
6351 2000-03-20 Richard Henderson <rth@cygnus.com>
6353 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
6354 of arithmetic instructions.
6356 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
6357 with the fpcr. Protect from INV exception.
6358 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
6359 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
6360 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
6362 * sysdeps/alpha/fpu/s_copysign.c: New.
6363 * sysdeps/alpha/fpu/s_copysignf.c: New.
6364 * sysdeps/alpha/fpu/s_fabs.c: New.
6365 * sysdeps/alpha/fpu/s_fabsf.c: New.
6366 * sysdeps/alpha/fpu/s_rint.c: New.
6367 * sysdeps/alpha/fpu/s_rintf.c: New.
6369 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
6371 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
6373 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
6374 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
6375 Use physical addresses not KSEG addresses.
6376 (io_system): Add PYXIS.
6377 (io): Remove hae.reg, sys, hae_shift.
6378 (stb_mb, stw_mb, stl_mb, __sethae): New.
6379 (inline_outb, inline_outw, inline_outl): Don't set hae.
6380 (inline_inb, inline_inw, inline_inl): Likewise.
6381 (dense_sethae): New null function.
6382 (struct cpuinfo_data): New.
6383 (process_cpuinfo): Use local and stack variables, not static.
6384 Move readlink check here from init_iosys.
6385 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
6387 (_hae_shift): Calculate it here.
6388 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
6389 add pciconfig_iobase.
6391 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
6393 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
6394 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
6396 * scripts/versions.awk: Fixed version renaming code to distinguish
6399 2000-03-19 Ulrich Drepper <drepper@redhat.com>
6401 * include/stdlib.h: Add prototype for __cxa_atexit.
6403 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
6404 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
6406 2000-03-17 Cristian Gafton <gafton@redhat.com>
6408 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
6409 existing rtld-installed-name.
6410 ($(rtld-installed-name)): Request libc-$(version) be installed too.
6411 replace existing rtld-installed-name using $(symbolic-link-prog).
6413 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
6415 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
6416 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
6417 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
6420 2000-03-19 Ulrich Drepper <drepper@redhat.com>
6422 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
6423 glob64. Since there is no glob64 in the LFS proposal applications
6424 can assume that glob handles LFS situations. glob64 is only needed
6425 if alternative filesystem functions are used.
6427 2000-03-19 Geoff Clare <gwc@unisoft.com>
6429 * sysdeps/generic/glob.c: Correct gl_pathc value returned
6430 when GLOB_DOOFFS is set; correct handling of patterns
6431 containing escaped wildcards (and no unescaped ones);
6432 GLOB_ERR flag was being ignored in some situations.
6434 * posix/globtest.c, posix/globtest.sh: Updated to include
6435 tests for the problems fixed by the above changes to glob.c.
6437 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
6439 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
6441 * Makeconfig (soversion.i): Use only first match for each lib.
6443 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
6445 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
6446 rather than $(sysd-dirs-done) to protect these rules.
6448 * Makerules (version-renames.def): Target removed.
6449 (Versions.all): Depend on soversions.i directly and parse it.
6451 * Makeconfig (soversions.i): New target, input-reading parts of
6452 soversions.mk generation moved here; result is a canonicalized
6453 list "LIB VERSION [SET]" for this configuration.
6454 (soversions.mk): Use that as input. Don't emit map-firstversions.
6455 * Makerules (version-renames.def): New target, generated from
6456 soversions.i with contents that was in $(map-firstversions).
6457 (Versions.all): Don't depend on soversions.mk, depend on
6458 version-renames.def instead; just cat it into the input.
6460 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
6461 for $(map-firstversions), which better handles it being empty.
6463 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
6464 supported version for libc 0.2.90.libio to GLIBC_2.2.
6466 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
6467 and use it to emit new variable `map-firstversions'.
6468 * scripts/firstversions.awk: New file.
6469 * Makerules (Versions.all): Use scripts/firstversions.awk and
6470 the $(map-firstversions) value to generate a modified versions list
6471 that includes renames in "A = B" syntax for each version set earlier
6472 than the "earliest symbol version" named in shlib-versions.
6473 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
6474 rename version set A to B in the output to the intermediate file.
6475 * scripts/abi-versions.awk: New file.
6476 * Makerules (abi-versions.h): New target, generated by that script.
6477 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
6478 * include/shlib-compat.h: New file, uses that generated header.
6480 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
6482 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
6483 after stripping # comments, and then run it through cpp.
6484 This allows things like "%ifdef FOO" based on config.h settings.
6485 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
6487 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
6488 and other errors that indicate a pseudo-receive happened, grok through
6489 the message buffer for port rights that need references fixed up.
6491 2000-03-16 Andreas Jaeger <aj@suse.de>
6493 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
6495 * sysdeps/unix/sysv/linux/madvise.c: Remove.
6497 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
6498 from latest Linux kernel.
6499 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
6501 * misc/sys/mman.h: Add prototype for mincore.
6503 2000-03-17 Ulrich Drepper <drepper@redhat.com>
6505 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
6506 entry for GLIBC_2.0 version of setrlimit.
6507 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6509 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
6511 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
6512 * nis/nss_compat/compat-initgroups.c: Likewise.
6513 * nis/nss_nis/nis-initgroups.c: Likewise.
6514 * nis/nss_nis/nis-netgrp.c: Likewise.
6515 * nis/nss_nis/nis-proto.c: Likewise.
6516 * nis/nss_nis/nis-rpc.c: Likewise.
6517 * nis/nss_nis/nis-service.c: Likewise.
6518 * nis/ypclnt.c: Likewise.
6520 2000-03-16 Andreas Jaeger <aj@suse.de>
6522 * manual/Makefile: MAKEINFO is set to `:' from configure if it
6523 doesn't exist, correct checks. Fixes PR libc/1649.
6525 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
6527 * nscd/hstcache.c: Restore correct UID.
6528 * nscd/pwdcache.c: Likewise.
6529 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
6531 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
6533 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
6534 macros for register names, in line with 2000-03-14 linux change.
6536 * sysdeps/mach/sched_yield.c: New file.
6538 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
6540 * sysdeps/generic/lockfile.c: Include <stdio.h>
6541 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
6542 case <libio.h> defined them.
6543 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
6545 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
6546 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
6548 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
6549 for more pleasing parse error.
6551 2000-03-16 Ulrich Drepper <drepper@redhat.com>
6553 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
6555 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6557 * elf/Makefile: Add rules to compile and run constload1 test.
6558 * elf/constload1.c: New file.
6559 * elf/constload2.c: New file.
6560 * elf/constload3.c: New file.
6562 2000-03-15 Ulrich Drepper <drepper@redhat.com>
6564 * sysdeps/posix/open64.c: Make __open64 weak alias.
6565 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
6566 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6567 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
6568 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6569 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
6570 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
6571 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6572 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
6573 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6574 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
6576 2000-03-14 Ulrich Drepper <drepper@redhat.com>
6578 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
6579 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
6581 2000-03-16 Mark Kettenis <kettenis@gnu.org>
6583 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
6584 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
6586 2000-03-08 Andreas Jaeger <aj@suse.de>
6588 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
6590 2000-03-14 Ulrich Drepper <drepper@redhat.com>
6592 * timezone/africa: Update from tzdata2000d.
6593 * timezone/asia: Likewise.
6594 * timezone/australasia: Likewise.
6595 * timezone/europe: Likewise.
6596 * timezone/northamerica: Likewise.
6597 * timezone/southamerica: Likewise.
6599 * po/fr.po: Update from translation team.
6600 * po/de.po: Likewise.
6602 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
6603 last parameter. Move code to add map to global scope from here...
6604 * elf/dl-open.c (dl_open_worker): ...here.
6605 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
6606 * elf/rtld.c: Adjust call to _dl_map_object_deps.
6608 * locale/programs/ld-collate.c (collate_read): Fix warning.
6610 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
6611 values and macros for register names.
6613 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
6614 returned by seek cookie function is -1.
6616 2000-03-14 Andreas Jaeger <aj@suse.de>
6618 * locale/localeconv.c (localeconv): Fix typo.
6619 Reported by Andre Charbonneau <andrec@corel.com>.
6621 2000-03-14 Ulrich Drepper <drepper@redhat.com>
6623 * iconv/skeleton.c: Increment __invocation_counter in inner loop
6624 since modules depend on it counting the number of times the conversion
6625 function got called.
6627 * iconv/gconv_open.c: Optimize loop to setup step data structure.
6629 * iconv/gconv.h: Pretty print.
6631 2000-03-04 Ulrich Drepper <drepper@redhat.com>
6633 * posix/wordexp-test.c: Correct one of the tests added in the last
6634 change. Really get the root passwd entry to check again ~root.
6636 2000-03-10 Andreas Jaeger <aj@suse.de>
6638 * manual/filesys.texi (Working Directory): Fix last patch.
6639 Patch by Martin Buchholz <martin@xemacs.org>.
6641 2000-03-10 Andreas Jaeger <aj@suse.de>
6643 * manual/creature.texi (Feature Test Macros): Fix language.
6645 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
6647 * mach/devstream.c (devstream_write, devstream_read): New functions.
6648 (input, output): Functions removed.
6649 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
6650 using only the vanilla fopencookie interface.
6652 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
6653 as macro for __io_functions.
6654 (funcsio): Use cookie_io_functions_t type name.
6655 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
6657 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
6659 (fopencookie): Use it.
6660 * libio/libio.h: Declare _IO_cookie_init.
6661 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
6664 * libio/libio.h (__io_seek_fn): Fix second argument type
6665 to be a pointer, in line with the manual and the old stdio.
6666 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
6668 * sysdeps/generic/bits/stdio-lock.h: New file.
6669 This is a stub with #error, but that's better than no file at all.
6671 2000-03-09 Martin Buchholz <martin@xemacs.org>
6673 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
6674 * manual/message.texi (Using gettextized software): Doc Fixes.
6675 * manual/message.texi (Message Translation): Doc Fixes.
6676 * manual/filesys.texi (File Size): Doc Fixes.
6677 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
6678 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
6679 * iconv/gconv_db.c (find_derivation): Doc Fixes.
6680 * manual/install.texi: Doc Fixes.
6681 * manual/search.texi (Hash Search Function): Doc Fixes.
6682 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
6683 * FAQ.in: Doc Fixes.
6684 * config.h.in: Doc Fixes.
6685 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
6686 Doc Fixes. `allows to' is not correct English.
6688 * elf/rtld.c: Doc fixes.
6689 * manual/creature.texi (Feature Test Macros): Doc fixes.
6690 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
6692 * manual/filesys.texi (Working Directory): Check for ERANGE to
6695 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
6697 * string/argz-stringify.c (__argz_stringify): Fix loop termination
6698 conditions so as not to clobber the final '\0' when there is only one
6699 element in the vector.
6701 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
6703 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
6704 broken by 2000-02-27 change.
6706 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
6708 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
6710 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
6711 argument type, for 2000-02-22 change in signal/signal.h declaration.
6713 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
6715 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
6716 to getdirentries64 (no __), since the Linux implementation
6717 has no __ name, and there is no declaration for the __ name.
6719 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
6721 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
6722 sed regexp so as not to break directory names including /../ within.
6724 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
6725 The sysdeps/generic file is right for BSD. This file was in fact the
6726 Hurd file, but the only difference was the WNOREAP flag that was never
6727 actually implemented or used anywhere.
6729 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
6730 since AC_PATH_PROG already does it for us.
6731 (PERL): Rewrite check added in 2000-02-29 change for syntactic
6732 correctness and sh portability. I replaced the broken check
6733 with a more sensible implementation of the apparently intended
6734 semantics, which might still be questionable. Using expr causes
6735 a non-numeric value for `perl -V:apiversion` to be accepted,
6736 refusing to use only a perl that reports a number less than 5;
6737 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
6738 * configure: Regenerated.
6740 2000-03-08 Andreas Jaeger <aj@suse.de>
6742 * manual/crypt.texi: Fix paths.
6744 2000-03-07 Andreas Jaeger <aj@suse.de>
6746 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
6748 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
6751 2000-03-06 Andreas Jaeger <aj@suse.de>
6753 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
6754 in __sgn1l, otherwise g++ fails to parse this.
6755 Reported by Sean Chen <sean.chen@turbolinux.com>.
6757 2000-03-03 Geoff Keating <geoffk@cygnus.com>
6759 * configure.in: Compute sizeof-long-double.
6760 * configure: Regenerated.
6761 * config.make.in: Make sizeof-long-double available to sub-makes.
6763 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
6765 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
6768 2000-03-03 Geoff Keating <geoffk@cygnus.com>
6770 * Makeconfig (rpath-dirs): Add crypt.
6771 (all-subdirs): Remove md5crypt.
6772 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
6773 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
6774 * sysdeps/generic/crypt-entry.c: Delete.
6775 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
6776 * sysdeps/generic/crypt.h: Delete.
6777 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
6778 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
6779 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
6780 * sysdeps/generic/des_impl.c: Delete.
6781 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
6782 * crypt/sysdeps: Delete.
6783 * crypt/crypt_util.c: Don't use `patchlevel.h'.
6784 * md5-crypt/Versions: Move to crypt/.
6785 * md5-crypt/md5-crypt.c: Move to crypt/.
6786 * md5-crypt/md5.c: Move to crypt/.
6787 * md5-crypt/md5c-test.c: Move to crypt/.
6788 * md5-crypt/md5test.c: Move to crypt/.
6789 * md5-crypt: Delete.
6790 * crypt/Makefile: Adjust for new structure.
6792 2000-03-03 Paul Eggert <eggert@twinsun.com>
6794 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
6795 define to 1 if not defined.
6797 2000-03-03 Andreas Jaeger <aj@suse.de>
6799 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
6801 2000-03-03 Andreas Jaeger <aj@suse.de>
6803 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
6805 (xdr_int64_t): Correctly handle lower half.
6806 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
6808 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
6810 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
6813 2000-03-02 Andreas Jaeger <aj@suse.de>
6815 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
6818 2000-03-02 Andreas Jaeger <aj@suse.de>
6820 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
6822 2000-03-01 Andreas Jaeger <aj@suse.de>
6824 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
6825 (tests): Added tst-getdate.
6827 * time/tst-getdate.c: New file.
6829 * time/datemsk: New file, needed for tst-getdate.
6831 2000-02-29 Cristian Gafton <gafton@redhat.com>
6833 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
6835 2000-02-17 H.J. Lu <hjl@gnu.org>
6837 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
6839 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
6841 (svcudp_recv): Set up message with the new "xp_pad" field for
6843 (svcudp_reply): Support IP_PKTINFO if available.
6845 2000-03-01 Andreas Jaeger <aj@suse.de>
6847 * time/getdate.c (check_mday): Fix check for february.
6848 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
6849 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
6851 2000-03-02 Andreas Jaeger <aj@suse.de>
6853 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
6854 g++ fails to parse this.
6855 Reported by Sean Chen <sean.chen@turbolinux.com>.
6857 2000-02-28 Ulrich Drepper <drepper@redhat.com>
6859 * io/creat.c: Moved to...
6860 * sysdeps/generic/creat.c: ...here.
6861 * io/creat64.c: Moved to...
6862 * sysdeps/generic/creat64.c: ...here.
6863 * io/lockf.c: Moved to...
6864 * sysdeps/generic/lockf.c: ...here.
6866 * crypt/crypt.texi: Moved to...
6867 * manual/crypt.texi: ...here.
6868 * crypt/examples/genpass.c: Moved to...
6869 * manual/examples/genpass.c: ...here.
6870 * crypt/examples/mygenpass.c: Moved to...
6871 * manual/examples/mygenpass.c: ...here.
6872 * crypt/examples/testpass.c: Moved to...
6873 * manual/examples/testpass.c: ...here.
6875 * manual/Makefile (chapters): Add crypt.
6876 * manual/conf.texi: Add usual header for not-last chapter.
6877 * manual/crypt.texi: Add special header for last chapter.
6879 2000-02-28 Geoff Keating <geoffk@cygnus.com>
6881 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
6882 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
6883 complain if there is no crypt add-on.
6884 * crypt/configure: Removed.
6886 * crypt/crypt.texi: Update documentation of US export restrictions
6887 to match the 14 Jan 2000 regulations.
6889 2000-02-28 Geoff Keating <geoffk@cygnus.com>
6891 * crypt: New subdirectory, merged in from the crypt add-on.
6893 2000-02-28 Ulrich Drepper <drepper@redhat.com>
6895 * include/unistd.h: Add __rmdir and __mkdir prototypes.
6898 See ChangeLog.10 for earlier changes.