1 2000-07-10 Mark Kettenis <kettenis@gnu.org>
3 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
4 res_hostalias instead of __hostalias for thread-safety.
6 2000-07-09 Mark Kettenis <kettenis@gnu.org>
8 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
9 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
11 2000-07-10 Ulrich Drepper <drepper@redhat.com>
13 * include/features.h: Include ISO C99 features if the compiler used
14 is an ISO C99 compiler.
15 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
17 2000-07-08 Mark Kettenis <kettenis@gnu.org>
19 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
21 2000-07-10 Andreas Jaeger <aj@suse.de>
23 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
24 it's overridden by libpthreads.
25 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
26 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
27 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
28 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31 * malloc/Makefile: Run tst-mtrace only with shared libs.
33 * stdio-common/Makefile: Run unbputc and tst-printf tests only
36 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
38 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
39 that gpreg really points to the GOT section of the calling object.
40 Scan all PT_LOAD segments of objects for stub_pc, instead of only
41 checking a start address of first one.
43 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
46 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
48 2000-07-10 Andreas Jaeger <aj@suse.de>
50 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
51 (string_alias->strong_alias).
53 2000-07-08 Mark Kettenis <kettenis@gnu.org>
55 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
57 2000-07-07 Greg McGary <greg@mcgary.org>
59 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
60 have no names without leading underscores.
62 2000-07-07 Ulrich Drepper <drepper@redhat.com>
64 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
67 * stdio-common/Makefile (tests): Remove tst-printf here...
68 (tests-srcs): ...and add it here.
69 (distribute): Add tst-unbputc.sh and tst-printf.sh.
70 Add rules to run tst-printf.sh.
71 * stdio-common/tst-printf.c: Move code around so that there is really
72 no further output where it's stated.
73 * stdio-common/tst-printf.sh: New file.
75 2000-07-07 Mark Kettenis <kettenis@gnu.org>
77 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
78 (do_write): Renamed from pwrite.
79 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
80 `struct _IO_cookie_file'.
82 2000-07-07 Ulrich Drepper <drepper@redhat.com>
84 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
86 * malloc/tst-mtrace.sh: Run mtrace script.
88 2000-07-07 Greg McGary <greg@mcgary.org>
90 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
91 Move all three components of a bounded pointer.
93 2000-07-07 Ulrich Drepper <drepper@redhat.com>
95 * locale/programs/locale.c (write_locales): Don't simply add all
96 directories found in the subdir, test whether at least the
97 LC_CTYPE file is in there.
99 2000-07-06 Ulrich Drepper <drepper@redhat.com>
101 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
102 * iconvdata/euc-kr.c: Likewise.
104 * stdio-common/vfprintf.c (process_string_arg): Check result of
105 wcrtomb call and bail out if it failed.
107 * malloc/Makefile (test-srcs): Add tst-mtrace.
108 (distribute): Add tst-mtrace.sh.
109 Add rule to run tst-mtrace.sh.
110 * malloc/tst-mtrace.c: New file.
111 * malloc/tst-mtrace.sh: New file.
113 * include/signal.h: Declare __libc_sigaction.
114 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
115 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
116 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
117 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
118 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
119 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
120 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
122 * configure.in: Fix CFLAGS-memprofstat.c definition after
124 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
126 2000-07-06 Jakub Jelinek <jakub@redhat.com>
128 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
129 instead of NULL to elf_machine_fixup_plt t argument.
130 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
131 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
134 2000-07-06 Andreas Jaeger <aj@suse.de>
136 * crypt/Makefile (LDLIBS-cert): Removed.
137 (LDLIBS-md5c-test): Removed.
138 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
139 ($(objpfx)md5c-test): Likewise for md5c-test.out.
141 2000-07-06 Andreas Jaeger <aj@suse.de>
143 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
144 of the proc system is "proc".
146 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
147 thread library for static programs.
149 2000-07-06 Greg McGary <greg@mcgary.org>
151 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
153 * sysdeps/generic/strcpy.c: Add bounds checks.
154 * sysdeps/unix/fxstat.c: Likewise.
155 * sysdeps/unix/xstat.c: Likewise.
156 * sysdeps/unix/common/lxstat.c: Likewise.
157 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
158 * sysdeps/unix/sysv/linux/execve.c: Likewise.
159 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
160 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
161 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
162 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
163 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
164 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
165 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
166 * sysdeps/unix/sysv/linux/poll.c: Likewise.
167 * sysdeps/unix/sysv/linux/pread.c: Likewise.
168 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
169 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
170 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
171 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
172 * sysdeps/unix/sysv/linux/readv.c: Likewise.
173 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
174 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
175 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
176 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
177 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
178 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
179 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
180 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
181 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
182 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
183 * sysdeps/unix/sysv/linux/writev.c: Likewise.
184 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
185 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
186 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
187 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
188 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
189 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
190 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
191 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
192 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
193 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
194 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
195 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
196 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
197 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
198 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
199 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
200 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
201 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
202 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
203 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
204 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
205 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
206 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
207 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
208 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
209 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
210 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
211 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
212 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
213 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
214 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
215 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
216 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
217 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
218 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
219 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
220 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
222 * string/endian.h (__LONG_LONG_PAIR): New macro.
223 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
224 * sysdeps/unix/sysv/linux/pread.c: Likewise.
225 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
226 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
227 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
228 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
229 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
230 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
231 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
232 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
233 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
234 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
236 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
238 2000-07-06 Andreas Jaeger <aj@suse.de>
240 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
243 * math/test-fpucw.c: Include <stdio.h> for printf.
245 2000-07-05 Greg McGary <greg@mcgary.org>
247 * sysdeps/generic/bp-checks.h: New file.
248 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
249 with list of #include files.
250 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
251 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
252 Don't generate BP thunk if `V' appears in signature.
253 Generate thunks with complete bounds checks.
254 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
255 * sysdeps/unix/inet/syscalls.list: Likewise.
256 * sysdeps/unix/mman/syscalls.list: Likewise.
257 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
258 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
259 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
260 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
262 2000-07-05 Ulrich Drepper <drepper@redhat.com>
264 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
265 result. Search first in /etc/mtab (proc/mounts would be stupid).
266 If mount not in the file fall back on /proc.
268 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
269 string got copied in.
270 Patch by Solar Designer <solar@false.com>.
272 2000-07-05 Andreas Jaeger <aj@suse.de>
274 * manual/install.texi (Installation): Update information about
276 (Configuring and compiling): Update for glibc 2.2.
278 2000-07-04 Andreas Jaeger <aj@suse.de>
280 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
281 (_FPU_IEEE): Likewise.
283 * math/Makefile (tests): Add test-fpucw.
285 * math/test-fpucw.c (main): New file.
287 2000-07-05 Ulrich Drepper <drepper@redhat.com>
289 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
291 * locale/programs/ld-collate.c (collate_output): Also write out the
292 collation sequence values and the wide character string for the
293 collation symbol table.
295 * posix/fnmatch.c: Include "../locale/elem-hash.h".
296 * posix/fnmatch_loop.c: Implement collating symbol handling.
297 * posix/tst-fnmatch.input: Add more tests, especially for collating
300 * posix/regex.c: Fix comment.
302 2000-07-05 Andreas Jaeger <aj@suse.de>
304 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
305 (_FPU_GETCW): Remove extra colon.
306 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
308 * posix/fnmatch_loop.c (FCT): Only declare len if
309 !WIDE_CHAR_VERSION to silence GCC.
311 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
313 * sysdeps/generic/strchrnul.c: Likewise.
314 * sysdeps/generic/strlen.c: Likewise.
315 * sysdeps/generic/strchr.c: Likewise.
316 * sysdeps/generic/memchr.c: Likewise.
318 2000-07-04 Ulrich Drepper <drepper@redhat.com>
320 * posix/fnmatch_loop.c: Implement equivalence class handling.
321 * posix/tst-fnmatch.input: Add tests for equivalence class
324 * posix/fnmatch_loop.c: Improve performance for single-byte
325 character sets by not using btowc.
327 * posix/tst-fnmatch.input: Add tests for locale dependent
329 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
331 * posix/tst-fnmatch.input: Add more test cases.
333 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
334 are not aligned to alignof(md5_uint32) do it before calling
336 * crypt/md5.c: Make sure buffers are aligned.
337 * crypt/md5.h: Likewise.
338 Reported by Solar Designer <solar@false.com>.
340 * crypt/Makefile: Add dependencies for test programs.
342 * Rules: Define LC_ALL=C in environments of all programs we run.
344 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
346 2000-07-03 H.J. Lu <hjl@gnu.org>
348 * locale/programs/ld-ctype.c (ctype_output): The size of iov
349 is 2 + elem + offset, not 2 + elem + offset + 2.
351 2000-07-04 Ulrich Drepper <drepper@redhat.com>
353 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
355 * posix/Makefile (tests): Add tst-fnmatch.
356 (tst-fnmatch-ENV): Define.
357 * posix/tst-fnmatch.c: New file.
358 * posix/tst-fnmatch.sh: New file.
360 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
362 * locale/programs/charmap.c (charmap_read): Prepend
363 the condition filename == NULL.
365 2000-07-03 Greg McGary <greg@mcgary.org>
367 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
369 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
370 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
372 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
373 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
374 (FILEBUF_LITERAL): Add cast for CHAIN init.
375 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
376 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
377 Revert type of `fp' to _IO_FILE*.
378 (_IO_iter_file): Remove cast.
379 (_IO_iter_next): Elide intermediate member reference.
381 * sysdeps/powerpc/strchr.S: Check bounds.
382 Wrap extern symbols in BP_SYM ().
384 2000-07-03 Andreas Jaeger <aj@suse.de>
386 * dlfcn/Makefile (generated): New.
388 2000-07-03 Ulrich Drepper <drepper@redhat.com>
390 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
392 (__underflow): Likewise.
393 * libio/wgenops.c (__wunderflow): Likewise.
394 * stdio-common/tst-unbputc.c: New file.
395 * stdio-common/tst-unbputc.sh: New file.
396 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
398 * po/en_GB.po: New file.
399 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
401 2000-07-01 Andreas Jaeger <aj@suse.de>
403 * intl/Makefile (generated-dirs): New.
405 * elf/Makefile (generated): trusted-dirs.h is always generated,
406 move out of build-shared condition.
407 (generated): Merge the two entries for build-shared.
409 2000-07-01 Ulrich Drepper <drepper@redhat.com>
411 * debug/Makefile (distribute): Add xtrace.sh.
413 2000-06-30 Ulrich Drepper <drepper@redhat.com>
415 * version.h (VERSION): Bump to 2.1.91.
417 * configure.in: Update warning comment. glibc should not be
420 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
421 ioperm.c, sys/procfs.h, and sys/io.h.
423 * sysdeps/powerpc/Dist: Add bp-asm.h.
425 * assert/Depend: Add localedata.
426 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
427 (test-assert-perr-ENV): New. Define LANGUAGE=C.
429 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
430 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
431 relocation address to prevent unaligned trap.
432 Suggested by Richard Henderson <rth@cygnus.com>.
434 2000-06-30 Jakub Jelinek <jakub@redhat.com>
436 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
437 if redirecting and either redirection is done using defines or
440 2000-06-30 Ulrich Drepper <drepper@redhat.com>
442 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
443 generated expressions.
444 Patch by Darren McClelland <dmcclell@zetec.com>.
446 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
447 since zic uses setlocale and gettext but we cannot make it use the
448 new locale data since zic calls a shell which might not use the
451 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
452 handling the internation currency symbol. POSIX says that the
453 fourth character is used to separate the currency symbol from the
454 value. Therefore it does not have to be printed. But we cannot
455 remove the space if the currency symbol is printed before the
456 number since this is what many locales expect.
458 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
459 whether this information is available.
461 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
462 buffers in case the translation is too large. Remember allocated
463 memory blocks in a list.
464 (free_mem): Free memory for translations.
466 * intl/tst-gettext.c: Use correct locale. Improve error messages.
468 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
469 information is available set the string length to zero.
471 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
473 2000-06-30 Greg McGary <greg@mcgary.org>
475 * sysdeps/powerpc/bp-asm.h: New file.
476 * sysdeps/powerpc/__longjmp.S: Check bounds.
477 Wrap extern symbols in BP_SYM ().
478 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
479 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
480 * sysdeps/powerpc/setjmp.S: Likewise.
481 * sysdeps/powerpc/add_n.S: Likewise.
482 * sysdeps/powerpc/addmul_1.S: Likewise.
483 * sysdeps/powerpc/lshift.S: Likewise.
484 * sysdeps/powerpc/rshift.S: Likewise.
485 * sysdeps/powerpc/mul_1.S: Likewise.
486 * sysdeps/powerpc/sub_n.S: Likewise.
487 * sysdeps/powerpc/submul_1.S: Likewise.
488 * sysdeps/powerpc/strlen.S: Likewise.
489 * sysdeps/powerpc/memset.S: Likewise.
490 * sysdeps/powerpc/stpcpy.S: Likewise.
491 * sysdeps/powerpc/strcmp.S: Likewise.
492 * sysdeps/powerpc/strcpy.S: Likewise.
493 * sysdeps/powerpc/elf/bzero.S: Likewise.
495 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
496 Line up operands column with tabs.
498 2000-06-30 Ulrich Drepper <drepper@redhat.com>
500 * elf/Makefile (LDFLAGS-origtest): Actually add it.
502 * sysdeps/ia64/htonl.S: New file.
503 * sysdeps/ia64/htons.S: New file.
504 * sysdeps/ia64/memcpy.S: Replace with version which does not use
505 floating point registers.
506 Patches by Dan Pop <Dan.Pop@cern.ch>.
508 2000-06-30 Andreas Jaeger <aj@suse.de>
510 * posix/Makefile (tests): tst-exec and tst-spawn only work with
513 * io/Makefile (CFLAGS-test-lfs.c): New.
514 (tests): Add test-lfs.
516 * io/test-lfs.c: New file.
518 2000-06-30 Jakub Jelinek <jakub@redhat.com>
520 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
523 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
525 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
527 2000-06-29 Jes Sorensen <jes@linuxcare.com>
529 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
530 alias to the fstatfs call.
532 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
533 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
535 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
536 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
538 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
539 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
540 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
541 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
543 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
544 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
546 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
547 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
549 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
550 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
552 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
554 2000-06-29 Andreas Jaeger <aj@suse.de>
556 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
558 (print_err_message): Likewise.
559 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
561 2000-06-29 Ulrich Drepper <drepper@redhat.com>
563 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
564 used as words is properly aligned.
566 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
569 2000-06-29 Greg McGary <greg@mcgary.org>
571 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
572 * sysdeps/unix/make-syscalls.sh: Handle signatures of
573 length 7..9, just in case...
574 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
576 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
577 (POP_ERRNO_LOCATION_RETURN): Fold insns.
578 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
579 (PUSH_SIGNAL_MASK): New macro.
580 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
581 LEAVE is unnecessary. Check bounds of jmp_buf.
582 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
583 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
584 immediately before tail-call.
585 * sysdeps/i386/setjmp.S: Likewise.
586 * sysdeps/i386/bsd-_setjmp.S: Likewise.
587 * sysdeps/i386/bsd-setjmp.S: Likewise.
589 2000-06-29 Jakub Jelinek <jakub@redhat.com>
591 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
593 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
594 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
595 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
596 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
597 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
598 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
599 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
600 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
602 2000-06-29 Ulrich Drepper <drepper@redhat.com>
604 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
605 we later need to calling free().
606 Patch by Matt Wilson <msw@redhat.com>.
608 * stdio-common/tst-printf.c: Add test for above problem.
610 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
612 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
613 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
615 2000-06-28 Jes Sorensen <jes@linuxcare.com>
617 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
619 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
621 2000-06-23 Andreas Jaeger <aj@suse.de>
623 * config.h.in: Don't use regparm with bounded pointers.
625 2000-06-29 Ulrich Drepper <drepper@redhat.com>
627 * stdlib/grouping.h: Correctly handle multibyte thousands
628 separator and decimal point.
629 * stdlib/stdtod.c: Likewise.
630 * sysdeps/generic/strtol.c: Likewise.
632 * locale/categories.def: Add entries for wide character decimal point
633 and thousands separator in numeric and monetary category.
635 2000-06-28 Ulrich Drepper <drepper@redhat.com>
637 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
638 second definition and initialization of decimal.
640 2000-06-28 Greg McGary <greg@mcgary.org>
642 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
644 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
645 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
647 (_IO_JUMPS): Don't cast THIS--expect arg to be a
648 (struct _IO_FILE_plus *).
649 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
650 THIS, since _IO_JUMPS no longer does it implicitly.
651 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
652 arg type as (struct _IO_FILE_plus *).
653 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
654 arg as (_IO_strfile *).
655 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
656 Declare 1st arg as (_IO_strfile *).
657 * libio/fileops.c (_IO_new_file_init): Declare
658 arg type as (struct _IO_FILE_plus *).
659 * libio/oldfileops.c (_IO_old_file_init): Likewise.
660 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
661 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
662 Declare iteration pointer as (struct _IO_FILE_plus *).
663 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
664 (struct _IO_FILE_plus *).
665 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
666 * libio/oldstdfiles.c (_IO_list_all): Likewise.
667 (_IO_check_libio): Set user-visible handles to
668 (struct _IO_FILE_plus *).
669 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
670 to (struct _IO_FILE_plus *).
672 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
673 whose high bound includes vtable to all functions that will use
674 vtable. For streambufs, pass pointer whose bounds include struct
676 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
677 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
678 * libio/iofopen.c (_IO_new_fopen): Likewise.
679 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
680 * libio/iofopen64.c (_IO_fopen64): Likewise.
681 * libio/iopopen.c (_IO_new_popen): Likewise.
682 * libio/oldiopopen.c (_IO_old_popen): Likewise.
683 * libio/memstream.c (open_memstream): Likewise.
684 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
685 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
686 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
687 * libio/iofopncook.c (_IO_cookie_init): Likewise.
688 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
689 * libio/vasprintf.c (_IO_vasprintf): Likewise.
690 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
691 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
692 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
693 * stdlib/strfmon.c (__strfmon_l): Likewise.
694 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
695 (vfprintf): Qualify computed-goto targets as unbounded.
697 2000-06-28 Ulrich Drepper <drepper@redhat.com>
699 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
700 thousands separator correctly.
702 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
703 * stdio-common/vfwscanf.c: Likewise.
705 2000-06-27 Jes Sorensen <jes@linuxcare.com>
707 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
708 count into signatures for most calls.
710 2000-06-28 Ulrich Drepper <drepper@redhat.com>
712 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
713 the generic parser now.
715 2000-06-28 Jes Sorensen <jes@linuxcare.com>
717 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
718 table entries are 32 bit on the ia64 (as specified by the ABI),
719 not 64 bit as on the Alpha.
721 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
722 change of objects to use 32 bit hash table indices (see above).
724 2000-06-28 Jes Sorensen <jes@linuxcare.com>
726 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
729 2000-06-28 Wolfram Gloger <wg@malloc.de>
731 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
732 fails, try mmap_chunk() as a last resort even though n_mmaps_max
733 may have been reached.
735 2000-06-28 Ulrich Drepper <drepper@redhat.com>
737 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
738 symbols in multi-character weights correctly.
740 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
741 depending on whether the input string is empty or not.
743 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
744 given state and not avoiding this by modifying a local object.
745 * wcsmbs/wcrtomb.c: Likewise.
747 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
748 object since some incomplete characters might be in there.
750 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
751 sequences with first byte 0x8e correctly.
753 * iconvdata/jis0208.h: Remove redundant test.
755 2000-06-27 Ulrich Drepper <drepper@redhat.com>
757 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
758 Add it where it is needed now.
760 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
761 the input charset into account when generating the hash table.
762 (allocate_arrays): Correct setting default width. Not all empty slots
763 in the table are filled, only those not covert explicitly by the
764 locale description and in the charset.
766 * wctype/towctrans.c (__towctrans): Be graceful and accept error
767 return values from the wctrans function.
769 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
770 wide character version.
771 For %C handling, test correct pointer variable for NULL.
773 * wcsmbs/wctob.c: Handle WEOF special.
775 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
777 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
778 always-true test to avoid warning.
780 2000-06-27 Greg McGary <greg@mcgary.org>
782 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
783 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
784 (symbol_version, default_symbol_version): Factor redundant
785 definitions out of conditional.
787 2000-06-27 Jakub Jelinek <jakub@redhat.com>
789 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
792 2000-06-26 Ulrich Drepper <drepper@redhat.com>
794 * include/libc-symbols.h (symbol_version): Add extra level of
796 (default_symbol_version): Likewise.
798 2000-06-26 Greg McGary <greg@mcgary.org>
800 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
801 for BP return value & push implicit struct-return pointer to
803 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
804 (SYSCALL_ERROR_HANDLER): Likewise.
805 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
806 (SYSCALL_ERROR_HANDLER): Likewise.
808 * Makeconfig: Add missing comment.
809 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
810 BP-flavored startup object.
811 ($(objpfx)b$(start-installed-name)): New rule.
812 * include/libc-symbols.h (symbol_set_declare): Change type
813 of `__start_##set' and `__stop_##set' to pointer-to-function.
814 (symbol_set_declare): Change type of `set' to array of
816 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
819 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
821 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
822 Remove clock_* and timer_* entries.
823 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
824 arg-count with signatures.
826 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
827 Check bounds of arguments.
828 * sysdeps/i386/addmul_1.S: Likewise.
829 * sysdeps/i386/lshift.S: Likewise.
830 * sysdeps/i386/mul_1.S: Likewise.
831 * sysdeps/i386/rshift.S: Likewise.
832 * sysdeps/i386/sub_n.S: Likewise.
833 * sysdeps/i386/submul_1.S: Likewise.
834 * sysdeps/i386/i586/add_n.S: Likewise.
835 * sysdeps/i386/i586/addmul_1.S: Likewise.
836 * sysdeps/i386/i586/lshift.S: Likewise.
837 * sysdeps/i386/i586/rshift.S: Likewise.
838 * sysdeps/i386/i586/sub_n.S: Likewise.
839 * sysdeps/i386/i686/add_n.S: Likewise.
841 * sysdeps/i386/memchr.S: Likewise.
842 * sysdeps/i386/memcmp.S: Likewise.
843 * sysdeps/i386/rawmemchr.S: Likewise.
844 * sysdeps/i386/i586/bzero.S: Likewise.
845 * sysdeps/i386/i586/memcpy.S: Likewise.
846 * sysdeps/i386/i586/mempcpy.S: Likewise.
847 * sysdeps/i386/i586/memset.S: Likewise.
848 * sysdeps/i386/i686/bzero.S: Likewise.
849 * sysdeps/i386/i686/memcpy.S: Likewise.
850 * sysdeps/i386/i686/mempcpy.S: Likewise.
851 * sysdeps/i386/i686/memset.S: Likewise.
853 * sysdeps/i386/stpcpy.S: Likewise.
854 * sysdeps/i386/stpncpy.S: Likewise.
855 * sysdeps/i386/strchr.S: Likewise.
856 * sysdeps/i386/strchrnul.S: Likewise.
857 * sysdeps/i386/strcspn.S: Likewise.
858 * sysdeps/i386/strpbrk.S: Likewise.
859 * sysdeps/i386/strrchr.S: Likewise.
860 * sysdeps/i386/strspn.S: Likewise.
861 * sysdeps/i386/strtok.S: Likewise.
862 * sysdeps/i386/strtok_r.S: Likewise.
863 * sysdeps/i386/i486/strcat.S: Likewise.
864 * sysdeps/i386/i486/strlen.S: Likewise.
865 * sysdeps/i386/i586/strchr.S: Likewise.
866 * sysdeps/i386/i586/strcpy.S: Likewise.
867 * sysdeps/i386/i586/strlen.S: Likewise.
868 * sysdeps/i386/i686/strcmp.S: Likewise.
869 * sysdeps/i386/i686/strtok.S: Likewise.
870 * sysdeps/i386/i686/strtok_r.S: Likewise.
872 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
873 * sysdeps/i386/fpu/fesetenv.c: Likewise.
874 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
875 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
876 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
878 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
879 * sysdeps/i386/mul_1.S: Likewise.
880 * sysdeps/i386/submul_1.S: Likewise.
881 * sysdeps/i386/i586/add_n.S: Likewise.
882 * sysdeps/i386/i586/addmul_1.S: Likewise.
883 * sysdeps/i386/i586/lshift.S: Likewise.
884 * sysdeps/i386/i586/mul_1.S: Likewise.
885 * sysdeps/i386/i586/rshift.S: Likewise.
886 * sysdeps/i386/i586/sub_n.S: Likewise.
887 * sysdeps/i386/i586/submul_1.S: Likewise.
889 2000-06-26 Ulrich Drepper <drepper@redhat.com>
891 * rt/Makefile (librt-routines): Add clock_nanosleep.
892 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
893 * sysdeps/generic/clock_nanosleep.c: New file.
894 * sysdeps/unix/clock_nanosleep.c: New file.
895 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
896 * time/time.h: Declare clock_nanosleep.
898 2000-06-26 Greg McGary <greg@mcgary.org>
900 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
901 INSN1, INSN2, TEXT, GLOBL): Remove macros.
902 (ALIGN): Cleanup surrounding conditionals.
904 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
905 Call ENTER/LEAVE macros.
906 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
907 * sysdeps/i386/submul_1.S: Likewise.
909 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
910 syntax. Define & use symbolic argument stack offsets. Call
912 * sysdeps/i386/i586/mul_1.S: Likewise.
913 * sysdeps/i386/i586/submul_1.S: Likewise.
915 2000-06-25 Greg McGary <greg@mcgary.org>
917 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
920 2000-06-25 Ulrich Drepper <drepper@redhat.com>
922 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
923 * iconvdata/gen-8bit-gap.sh: Likewise.
924 * iconvdata/gen-8bit.sh: Likewise.
926 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
928 * locale/programs/ld-collate.c (collate_read): Don't actually read
929 the copy locale if we are ignoring the content.
931 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
934 * locale/programs/ld-collate.c: Correct handling of different
936 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
937 as extra parameter from which to copy category information.
939 (load_locale): Likewise.
940 * locale/programs/localedef.h: Update prototypes of add_to_readlist
942 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
943 * locale/programs/locfile.h: Likewise.
944 * locale/programs/locfile-kw.gperf: Add entry for script.
945 * locale/programs/locfile-token.h: Add tok_script.
947 * locale/programs/locale.c: Update copyright year.
948 * locale/programs/localedef.c: Likewise.
950 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
952 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
953 Jens Moeller <jens.moeller@waii.com>.
955 2000-06-24 Ulrich Drepper <drepper@redhat.com>
957 * locale/programs/ld-name.c (name_finish): Add missing format
958 specifier to test for name_fmt.
960 * locale/programs/ld-address.c (iso639): Correct length of string
964 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
966 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
969 * elf/elf.h (NT_PRFPXREG): Define.
971 2000-06-23 Ulrich Drepper <drepper@redhat.com>
973 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
974 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
976 2000-06-23 Andreas Schwab <schwab@suse.de>
978 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
981 2000-06-23 Andreas Jaeger <aj@suse.de>
983 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
985 * io/test-stat.c: Add copyright header, mention Maciej.
987 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
988 SYS_mincore, SYS_madvise): Added.
990 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
993 2000-06-22 Ulrich Drepper <drepper@redhat.com>
995 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
996 (CFLAGS-tst_putwc.c): New definition.
997 * libio/tst_getwc.c: New file.
998 * libio/tst_getwc.input: New file.
999 * libio/tst_putwc.c: New file.
1001 * include/string.h: Add prototype for __strdup.
1003 2000-06-22 Greg McGary <greg@mcgary.org>
1005 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
1006 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
1009 2000-06-23 Jes Sorensen <jes@linuxcare.com>
1011 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
1013 2000-06-22 Jes Sorensen <jes@linuxcare.com>
1015 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
1017 2000-06-22 Jes Sorensen <jes@linuxcare.com>
1019 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
1020 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
1022 2000-06-22 Ulrich Drepper <drepper@redhat.com>
1024 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
1025 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
1027 * sysdeps/mach/hurd/bits/stat.h: Likewise.
1028 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1029 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
1030 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1031 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
1032 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
1033 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
1034 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
1035 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1036 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
1037 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
1038 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
1039 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
1040 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
1043 2000-06-22 Andreas Jaeger <aj@suse.de>
1045 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
1048 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
1050 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
1052 2000-06-21 Ulrich Drepper <drepper@redhat.com>
1054 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
1057 2000-06-21 Greg McGary <greg@mcgary.org>
1059 * Makerules (elide-routines.*, elide-bp-thunks):
1060 Define unconditionally.
1062 2000-06-21 Jes Sorensen <jes@linuxcare.com>
1064 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
1066 2000-06-21 Andreas Jaeger <aj@suse.de>
1068 * io/Makefile (tests): Add test-stat.
1069 (CFLAGS-test-stat.c): New.
1071 * io/test-stat.c: New file from Maciej W. Rozycki
1072 <macro@ds2.pg.gda.pl>.
1074 2000-06-21 Jes Sorensen <jes@linuxcare.com>
1076 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
1077 in __rlimit_resource to make them match the kernel order.
1078 rlim_t is always 64 bit, use __rlim64_t to declare it
1081 2000-05-04 Jes Sorensen <jes@linuxcare.com>
1083 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
1084 RLIM_INFINITY before defining it to avoid clash with kernel header
1086 2000-05-03 Jes Sorensen <jes@linuxcare.com>
1088 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
1090 2000-06-21 Ulrich Drepper <drepper@redhat.com>
1092 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
1094 2000-06-21 Andreas Jaeger <aj@suse.de>
1096 * stdio-common/temptest.c: Include <stdlib.h>.
1097 * stdio-common/tst-fileno.c: Likewise.
1098 * stdio-common/scanf4.c: Likewise.
1099 * stdio-common/scanf5.c: Likewise.
1100 * time/clocktest.c: Likewise.
1101 * posix/test-vfork.c: Likewise.
1102 * posix/globtest.c: Likewise.
1103 * io/test-utime.c: Likewise.
1104 * wctype/test_wcfuncs.c: Likewise.
1105 * crypt/cert.c: Likewise.
1107 * stdio-common/tst-printfsz.c: Include <string.h>.
1108 * libio/tst_swscanf.c: Likewise.
1109 * libio/tst_wscanf.c: Likewise.
1110 * posix/runtests.c: Likewise.
1111 * posix/tst-getaddrinfo.c: Likewise.
1112 * posix/wordexp-test.c: Likewise.
1113 * misc/tst-efgcvt.c: Likewise.
1115 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
1116 * nss/test-netdb.c: Likewise.
1118 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
1119 supported kernel for MIPS.
1121 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
1122 * rt/aio_suspend.c: Likewise.
1124 2000-06-20 Ulrich Drepper <drepper@redhat.com>
1126 * math/libm-test.inc: Include <string.h>.
1128 2000-06-20 Jes Sorensen <jes@linuxcare.com>
1130 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
1132 2000-06-20 Jes Sorensen <jes@linuxcare.com>
1134 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
1135 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
1137 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
1139 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
1141 2000-06-20 Jes Sorensen <jes@linuxcare.com>
1143 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
1145 2000-06-20 Ulrich Drepper <drepper@redhat.com>
1147 * locale/programs/ld-collate.c (insert_value): Now take string and
1148 length instead of struct token* parameter. Adjust use of token.
1149 (handle_ellipsis): Likewise.
1150 (collate_read): Allow <Uxxxx> names and transform them into names
1151 to be passed to insert_value and handle_ellipsis.
1153 * locale/programs/ld-ctype.c (uninames): New array with names of
1154 digits in <Uxxxxxxxx> format.
1155 (ctype_finish): Correct search for space character value. Likewise
1156 for default outdigits values.
1158 2000-06-20 Greg McGary <greg@mcgary.org>
1160 * Makerules (objects): Add BP thunks.
1162 2000-06-20 Ulrich Drepper <drepper@redhat.com>
1164 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
1165 in width definitions.
1167 2000-06-20 Andreas Jaeger <aj@suse.de>
1169 * sysdeps/mips/fpu/libm-test-ulps: New file.
1171 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
1174 * sysdeps/mips/fpu/feholdexcpt.c: New file.
1176 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
1178 2000-06-19 Ulrich Drepper <drepper@redhat.com>
1180 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
1181 change in gconv_builtin.h.
1183 * malloc/Makefile: Change all references to memprof into memusage.
1184 * malloc/memprof.c: Rename to...
1185 * malloc/memusage.c: ...this. New file.
1186 * malloc/memprof.sh: Rename to...
1187 * malloc/memusage.sh: ...this. New file.
1188 * malloc/memprofstat.c: Rename to...
1189 * malloc/memusagestat.c: ...this. New file.
1190 * sysdeps/alpha/memprof.h: Rename to..
1191 * sysdeps/alpha/memusage.h: ...this. New file.
1192 * sysdeps/arm/memprof.h: Rename to..
1193 * sysdeps/arm/memusage.h: ...this. New file.
1194 * sysdeps/generic/memprof.h: Rename to..
1195 * sysdeps/generic/memusage.h: ...this. New file.
1196 * sysdeps/i386/memprof.h: Rename to..
1197 * sysdeps/i386/memusage.h: ...this. New file.
1198 * sysdeps/ia64/memprof.h: Rename to..
1199 * sysdeps/ia64/memusage.h: ...this. New file.
1200 * sysdeps/m68k/memprof.h: Rename to..
1201 * sysdeps/m68k/memusage.h: ...this. New file.
1202 * sysdeps/mips/memprof.h: Rename to..
1203 * sysdeps/mips/memusage.h: ...this. New file.
1204 * sysdeps/powerpc/memprof.h: Rename to..
1205 * sysdeps/powerpc/memusage.h: ...this. New file.
1206 * sysdeps/sparc/memprof.h: Rename to..
1207 * sysdeps/sparc/memusage.h: ...this. New file.
1208 * sysdeps/sh/memprof.h: Rename to..
1209 * sysdeps/sh/memusage.h: ...this. New file.
1211 * elf/sprof.c (print_version): Update year.
1213 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
1214 table entry values. Use D_PTR.
1215 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
1216 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
1218 2000-06-20 Jes Sorensen <jes@linuxcare.com>
1220 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
1221 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
1222 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
1223 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
1225 2000-05-05 Jes Sorensen <jes@linuxcare.com>
1227 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
1229 2000-06-16 Jes Sorensen <jes@linuxcare.com>
1231 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
1232 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
1233 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
1235 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
1237 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
1240 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
1241 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
1243 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
1246 2000-06-15 Jes Sorensen <jes@linuxcare.com>
1248 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
1250 2000-06-08 Jes Sorensen <jes@linuxcare.com>
1252 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
1254 2000-06-19 Ulrich Drepper <drepper@redhat.com>
1256 * iconv/gconv_int.h (strict gconv_module): Remove all members
1257 associated with regular expressions. Use a simple string as the
1259 * iconv/gconv_db.c: Remove code handling regular expressions.
1260 * iconv/gconv_conf.c: Likewise.
1261 * iconv/iconv_prog.c: Likewise.
1262 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
1264 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
1265 General namespace cleanup.
1266 (struct __gconv_trans_data): Add next field.
1267 (struct __gconv_step_data): Make __trans a pointer.
1268 * iconv/gconv_conf.c: Split out code to find gconv directories from
1269 __gconv_read_conf in new functions.
1270 * iconv/gconv_int.h: Define new data structure and declare new
1271 functions for handling of gconv directory list.
1272 * iconv/gconv_open.c: Allow more than one error handling step being
1273 used. Call function to load error handling module if it is none
1274 of the builtin transformations.
1275 * iconv/gconv_close.c: Add code to free transliteration data.
1276 * iconv/gconv_trans.c: Add functions to load and unload modules
1277 implementing transliteration etc.
1278 * iconv/skeleton.c: Call all context functions now that more than
1279 one module is allowed.
1280 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
1281 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
1282 where the full error handling using transliteration is needed.
1283 * iconvdata/8bit-gap.c: Likewise.
1284 * iconvdata/8bit-generic.c: Likewise.
1285 * iconvdata/ansi_x3.110.c: Likewise.
1286 * iconvdata/big5.c: Likewise.
1287 * iconvdata/big5hkscs.c: Likewise.
1288 * iconvdata/euc-cn.c: Likewise.
1289 * iconvdata/euc-jp.c: Likewise.
1290 * iconvdata/euc-kr.c: Likewise.
1291 * iconvdata/euc-tw.c: Likewise.
1292 * iconvdata/gbgbk.c: Likewise.
1293 * iconvdata/gbk.c: Likewise.
1294 * iconvdata/iso-2022-cn.c: Likewise.
1295 * iconvdata/iso-2022-jp.c: Likewise.
1296 * iconvdata/iso-2022-kr.c: Likewise.
1297 * iconvdata/iso646.c: Likewise.
1298 * iconvdata/iso8859-1.c: Likewise.
1299 * iconvdata/iso_6937-2.c: Likewise.
1300 * iconvdata/iso_6937.c: Likewise.
1301 * iconvdata/johab.c: Likewise.
1302 * iconvdata/sjis.c: Likewise.
1303 * iconvdata/t.61.c: Likewise.
1304 * iconvdata/uhc.c: Likewise.
1305 * iconvdata/unicode.c: Likewise.
1306 * iconvdata/utf-16.c: Likewise.
1307 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
1308 structure correctly after last change.
1309 * wcsmbs/btowc.c: Likewise.
1310 * wcsmbs/mbrtowc.c: Likewise.
1311 * wcsmbs/mbsnrtowcs.c: Likewise.
1312 * wcsmbs/mbsrtowcs.c: Likewise.
1313 * wcsmbs/wcrtomb.c: Likewise.
1314 * wcsmbs/wcsnrtombs.c: Likewise.
1315 * wcsmbs/wcsrtombs.c: Likewise.
1316 * wcsmbs/wctob.c: Likewise.
1318 * localedata/Makefile: Set -Wno-format for some files since gcc does
1319 not know all the format specifiers.
1321 2000-06-18 Ulrich Drepper <drepper@redhat.com>
1323 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
1325 * locale/lc-time.c (_nl_init_era_entries): Likewise.
1327 2000-06-18 Andreas Jaeger <aj@suse.de>
1329 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
1330 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
1332 2000-06-17 Ulrich Drepper <drepper@redhat.com>
1334 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
1336 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
1338 * locale/programs/ld-ctype.c (ctype_output): Really write out
1339 mboutdigits information.
1340 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
1341 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
1342 * localedata/tests/trans.def: Add outdigit information.
1344 * localedata/tst-mbswcs3.c: Remove comment.
1346 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
1347 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
1348 * libio/tst_wprintf.c (main): Add test for I flag.
1350 * iconv/gconv_trans.c: Implement handling if translit_ignore.
1351 * locale/langinfo.h: Add entries for translit_ignore information.
1352 * locale/categories.def: Add entries for new LC_CTYPE elements.
1353 * locale/C-ctype.c: Add initializers for new fields. Use NULL
1354 pointer instead of "" where possible.
1355 * locale/programs/ld-ctype.c: Write out translit_ignore information.
1356 * intl/Depend: Add localedata.
1357 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
1358 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
1360 2000-06-16 Ulrich Drepper <drepper@redhat.com>
1362 * locale/langinfo.h: Add entries for default_missing information.
1363 * locale/C-ctype.c: Add initializers for new fields.
1364 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
1366 * locale/categories.h: Add entries for all LC_CTYPE values.
1367 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
1370 * localedata/tst-trans.c: Write out an error message if class is
1373 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
1374 * iconv/gconv_open.c: Remove error handling specification from `from'
1376 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
1377 new parameter to always enable transliteration.
1378 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
1380 (struct locale_data): Add new members use_translit and options.
1381 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
1382 character set name contained modifier TRANSLIT.
1383 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
1385 (_nl_unload_locale): Free options string if necessary.
1386 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
1387 the locale names suggested this.
1388 * locale/C-address.c: Add two new initialilzers to adjust data
1389 structure for new format.
1390 * locale/C-collate.c: Likewise.
1391 * locale/C-ctype.c: Likewise.
1392 * locale/C-identification.c: Likewise.
1393 * locale/C-measurement.c: Likewise.
1394 * locale/C-messages.c: Likewise.
1395 * locale/C-monetary.c: Likewise.
1396 * locale/C-name.c: Likewise.
1397 * locale/C-numeric.c: Likewise.
1398 * locale/C-paper.c: Likewise.
1399 * locale/C-telephone.c: Likewise.
1400 * locale/C-time.c: Likewise.
1402 * locale/setlocale.c: Add some more __builtin_expect.
1404 2000-06-15 Ulrich Drepper <drepper@redhat.com>
1406 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
1408 (__gconv_init_fct): Remove two parameters.
1409 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
1410 gconv_transliterate. Remove two parameters.
1411 Change prototypes of builtin functions according to __gconv_fct change.
1412 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
1413 != NULL only during error handling. Stop in this case after the
1415 * iconv/gconv_trans.c: Replace with real implementation for
1416 __gconv_transliterate.
1417 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
1418 * iconv/gconv.c: Change calls to downstream functions once again.
1419 Use NULL for the fifth parameter instead of pointer to output buffer.
1420 * libio/iofwide.c: Likewise.
1421 * wcsmbs/btowc.c: Likewise.
1422 * wcsmbs/mbrtowc.c: Likewise.
1423 * wcsmbs/mbsnrtowcs.c: Likewise.
1424 * wcsmbs/mbsrtowcs.c: Likewise.
1425 * wcsmbs/wcrtomb.c: Likewise.
1426 * wcsmbs/wcsnrtombs.c: Likewise.
1427 * wcsmbs/wcsrtombs.c: Likewise.
1428 * wcsmbs/wctob.c: Likewise.
1429 * iconv/gconv_simple.c: Remove two parameters from error handling
1431 * iconvdata/8bit-gap.c: Likewise.
1432 * iconvdata/8bit-generic.c: Likewise.
1433 * iconvdata/ansi_x3.110.c: Likewise.
1434 * iconvdata/big5.c: Likewise.
1435 * iconvdata/big5hkscs.c: Likewise.
1436 * iconvdata/euc-cn.c: Likewise.
1437 * iconvdata/euc-jp.c: Likewise.
1438 * iconvdata/euc-kr.c: Likewise.
1439 * iconvdata/euc-tw.c: Likewise.
1440 * iconvdata/gbgbk.c: Likewise.
1441 * iconvdata/gbk.c: Likewise.
1442 * iconvdata/iso-2022-cn.c: Likewise.
1443 * iconvdata/iso-2022-jp.c: Likewise.
1444 * iconvdata/iso-2022-kr.c: Likewise.
1445 * iconvdata/iso646.c: Likewise.
1446 * iconvdata/iso8859-1.c: Likewise.
1447 * iconvdata/iso_6937-2.c: Likewise.
1448 * iconvdata/iso_6937.c: Likewise.
1449 * iconvdata/johab.c: Likewise.
1450 * iconvdata/sjis.c: Likewise.
1451 * iconvdata/t.61.c: Likewise.
1452 * iconvdata/uhc.c: Likewise.
1453 * iconvdata/unicode.c: Likewise.
1454 * iconvdata/utf-16.c: Likewise.
1456 2000-06-15 Greg McGary <greg@mcgary.org>
1458 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
1459 of callnum assignment. Tolerate callnum expressions containing
1462 2000-06-14 Ulrich Drepper <drepper@redhat.com>
1464 * login/Makefile (utmpd): Remove rule to build utmpd.
1466 * csu/Versions: Move libgcc frame handling functions from here...
1467 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
1468 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
1469 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
1470 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
1471 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
1472 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
1474 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
1476 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
1478 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
1480 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
1482 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
1484 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
1485 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
1486 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
1487 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
1489 2000-06-14 Jakub Jelinek <jakub@redhat.com>
1491 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
1492 defined, terminate quotes and read them after the comment char.
1493 * configure.in (HAVE_SECTION_QUOTES): Test whether
1494 __attribute__((section ("x"))) puts quotes around x or not.
1495 * config.h.in (HAVE_SECTION_QUOTES): Add.
1496 * configure: Rebuilt.
1498 2000-06-14 Andreas Jaeger <aj@suse.de>
1500 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
1501 depending on the configure option --sysconfdir.
1502 Closes PR libc/1762.
1503 Patch by Andreas Schwab <schwab@suse.de>.
1505 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
1507 Reported by Jim Pick <jim@jimpick.com>.
1509 2000-06-14 Ulrich Drepper <drepper@redhat.com>
1511 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
1512 crashing the application. Emit some simple error message.
1513 Reported by mju@panasas.com [PR libc/1769].
1515 2000-06-13 Ulrich Drepper <drepper@redhat.com>
1517 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
1519 * crypt/Makefile (distribute): Add md5.h.
1521 * Makefile (distribute): Add include/shlib-compat.h.
1523 * Make-dist: Search for tests also in sysdeps hierachy.
1525 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
1526 ufc.c, speeds.c, README.ufc-crypt, and Banner.
1528 * sysdeps/sparc/Subdirs: New file.
1530 * locale/Makefile (distribute): Add weightwc.h and
1531 programs/localedef.h.
1533 * time/Makefile (distribute): Add datemsk.
1535 * sysdeps/ia64/Dist: Add softpipe.h.
1537 * sysdeps/unix/sysv/aix/Dist: New file.
1539 * posix/setpgrp.c: Moved to...
1540 * sysdeps/generic/setpgrp.c: ...here. New file.
1541 * io/mknod.c: Moved to...
1542 * sysdeps/generic/mknod.c: ...here. New file.
1544 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
1546 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
1548 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
1550 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
1551 gprsave0.S, gprrest1.S, and gprrest0.S.
1553 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
1555 * posix/Makefile (routines): Add spawnattr_getsigmask,
1556 spawnattr_getschedpolicy, spawnattr_getschedparam,
1557 spawnattr_setsigmask, spawnattr_setschedpolicy, and
1558 spawnattr_setschedparam.
1559 * posix/Versions: Add posix_spawnattr_getschedpolicy,
1560 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
1561 posix_spawnattr_setschedparam.
1563 * posix/spawnattr_setschedparam.c: Fix typo.
1565 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
1568 * login/programs/utmpd.c: Removed.
1569 * login/programs/utmpd.h: Removed.
1570 * login/programs/utmpd-private.h: Removed.
1572 * Makefile (distribute): Add include/db_185.h and include/db.h.
1574 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
1577 * elf/Makefile (distribute): Add missing files.
1579 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
1580 * elf/eval.c: Moved to...
1581 * dlfcn/eval.c: ...here. New file.
1583 * Makefile (distribute): Also distribute ChangeLog.1?.
1585 * Make-dist (+tsrcs): Remove .args handling here as well.
1587 * rt/Makefile (tests): Add tst-timer.
1588 * sysdeps/generic/tst-timer.c: New file.
1590 * Makerules (sources): Don't add BP sources here.
1592 * login/Makefile (distribute): Remove xtmp.h.
1594 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
1595 is true. Reported by Bruno Haible <haible@ilog.fr>.
1597 2000-06-13 Andreas Jaeger <aj@suse.de>
1599 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
1600 Patch by Ralf Baechle <ralf@gnu.org>.
1602 2000-06-13 Ulrich Drepper <drepper@redhat.com>
1604 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
1605 for mincore syscall.
1607 * misc/sys/cdefs.h: Define __bounded and __unbounded if
1608 __BOUNDED_POINTERS__ is not defined.
1610 2000-06-07 Greg McGary <greg@mcgary.org>
1612 * sysdeps/generic/bp-sym.h: New file.
1613 * sysdeps/generic/bp-start.h: New file.
1614 * sysdeps/i386/elf/start.S: Designate BP symbols.
1615 * sysdeps/generic/libc-start.c: Wrap bounds around
1616 argv & envp and each of their string members.
1618 2000-06-07 Greg McGary <greg@mcgary.org>
1620 * sysdeps/unix/make-syscalls.sh: Add comments to
1621 output that aid debugging & comprehension.
1622 Map simple syscall signatures to number of args.
1623 Generate BP syscall thunk definitions.
1624 * sysdeps/generic/bp-thunks.h: New file.
1625 * sysdeps/unix/syscalls.list: Replace arg-count with
1626 simple return+arg signature.
1627 * sysdeps/unix/common/syscalls.list: Likewise.
1628 * sysdeps/unix/inet/syscalls.list: Likewise.
1629 * sysdeps/unix/mman/syscalls.list: Likewise.
1630 * sysdeps/unix/sysv/syscalls.list: Likewise.
1631 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1632 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1634 2000-06-07 Greg McGary <greg@mcgary.org>
1636 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
1637 for all files *.[cS].
1638 (CFLAGS-.ob): Don't optimize sibling calls.
1639 (bppfx): New variable.
1640 * Makerules (elide-bp-thunks): New variable.
1641 (elide-routines.*): Elide BP-* files for all but *.ob.
1642 (sources): Include bp-thunks.
1644 2000-06-12 Ulrich Drepper <drepper@redhat.com>
1646 * iconv/gconv_simple.c: Remove unnecessary prototype.
1648 * iconv/gconv_trans.c: Pretty print.
1650 * elf/elf.h (R_SH_NUM): Got accidently dropped.
1652 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
1653 minimal kernel versions. Add information about IA-64 kernel.
1655 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
1656 specific minimal supported kernel versions to be specified.
1658 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
1659 step data structure.
1660 * wcsmbs/btowc.c: Likewise.
1661 * wcsmbs/mbrtowc.c: Likewise.
1662 * wcsmbs/mbsnrtowcs.c: Likewise.
1663 * wcsmbs/mbsrtowcs.c: Likewise.
1664 * wcsmbs/wcrtomb.c: Likewise.
1665 * wcsmbs/wcsnrtombs.c: Likewise.
1666 * wcsmbs/wcsrtombs.c: Likewise.
1667 * wcsmbs/wctob.c: Likewise.
1669 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
1670 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
1672 * shlib-versions: Earliest backward compatible version for SH is 2.2.
1674 * misc/sys/cdefs.h: Remove one more __P.
1676 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
1679 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
1680 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
1681 * sysdeps/sh/bits/setjmp.h: ...here. New file.
1683 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
1684 Yutaka Niibe <gniibe@chroot.org>
1686 * configure.in: Add machine sh3, sh4.
1687 * elf/elf.h: Add SH specific declarations of relocations.
1688 * shlib-versions: Add sh*-*-linux* cases.
1690 2000-06-12 Ulrich Drepper <drepper@redhat.com>
1692 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
1693 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
1694 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
1695 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
1696 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
1697 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
1699 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
1700 instead of KERNEL_MATH_EMULATION.
1701 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
1702 KERNEL_MATH_EMULATION.
1704 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
1705 * sysdeps/sh/sh3/dl-machine.h: Moved to...
1706 * sysdeps/sh/dl-machine.h: ...here. New file.
1707 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
1708 and include generic SH version.
1709 * sysdeps/sh/sh3/bits/endian.h: Move to...
1710 * sysdeps/sh/bits/endian.h: ...here. New file.
1711 * sysdeps/sh/sh4/bits/endian.h: Removed.
1712 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
1713 * sysdeps/sh/bits/huge_val.h: ...here. New file.
1714 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
1716 * include/libc-symbols.h (link_warning): Work around a change in
1717 GAS which warns about changing section attributes.
1718 Proposed by Nick Clifton <nickc@redhat.com>.
1720 2000-06-12 H.J. Lu <hjl@gnu.org>
1722 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
1724 2000-06-11 H.J. Lu <hjl@gnu.org>
1726 * sysdeps/i386/fpu/Versions: New file.
1728 2000-06-12 Ulrich Drepper <drepper@redhat.com>
1730 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
1732 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
1735 2000-06-12 Jes Sorensen <jes@linuxcare.com>
1737 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
1738 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
1739 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
1741 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
1742 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
1743 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
1745 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
1746 Yutaka Niibe <gniibe@chroot.org>
1748 * sysdeps/sh/Dist: New file.
1749 * sysdeps/sh/Implies: New file.
1750 * sysdeps/sh/elf/initfini.c: New file.
1751 * sysdeps/sh/gmp-mparam.h: New file.
1752 * sysdeps/sh/init-first.c: New file.
1753 * sysdeps/sh/machine-gmon.h: New file.
1754 * sysdeps/sh/memcpy.S: New file.
1755 * sysdeps/sh/memprof.h: New file.
1756 * sysdeps/sh/memset.S: New file.
1757 * sysdeps/sh/sh3/__longjmp.S: New file.
1758 * sysdeps/sh/sh3/bits/endian.h: New file.
1759 * sysdeps/sh/sh3/bits/huge_val.h: New file.
1760 * sysdeps/sh/sh3/bits/setjmp.h: New file.
1761 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
1762 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
1763 * sysdeps/sh/sh3/dl-machine.h: New file.
1764 * sysdeps/sh/sh3/setjmp.S: New file.
1765 * sysdeps/sh/sh4/__longjmp.S: New file.
1766 * sysdeps/sh/sh4/bits/endian.h: New file.
1767 * sysdeps/sh/sh4/bits/huge_val.h: New file.
1768 * sysdeps/sh/sh4/bits/setjmp.h: New file.
1769 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
1770 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
1771 * sysdeps/sh/sh4/dl-machine.h: New file.
1772 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
1773 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
1774 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
1775 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
1776 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
1777 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
1778 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
1779 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
1780 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
1781 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
1782 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
1783 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
1784 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
1785 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
1786 * sysdeps/sh/sh4/setjmp.S: New file.
1787 * sysdeps/sh/elf/start.S: New file.
1788 * sysdeps/sh/sys/ucontext.h: New file.
1789 * sysdeps/sh/strlen.S: New file.
1790 * sysdeps/sh/sysdep.h: New file.
1791 * sysdeps/unix/sh/sysdep.S: New file.
1792 * sysdeps/unix/sh/sysdep.h: New file.
1793 * sysdeps/unix/sysv/linux/sh/Dist: New file.
1794 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
1795 * sysdeps/unix/sysv/linux/sh/Versions: New file.
1796 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
1797 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
1798 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
1799 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
1800 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
1801 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
1802 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
1803 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
1804 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
1805 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
1806 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
1807 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
1808 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
1809 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
1810 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
1811 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
1812 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
1813 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
1814 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
1815 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
1816 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
1817 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
1818 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
1819 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
1820 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
1821 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
1822 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
1823 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
1824 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
1825 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
1826 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
1827 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
1828 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
1829 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
1830 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
1831 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
1832 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
1833 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
1834 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
1835 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
1836 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
1837 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
1838 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
1839 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
1840 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
1841 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
1842 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
1844 2000-06-12 Ulrich Drepper <drepper@redhat.com>
1846 * Rules (%.out): Define GCONV_PATH in the environment.
1847 * assert/Depend: New file.
1848 * iconvdata/Depend: New file.
1849 * intl/Depend: New file.
1850 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
1851 * intl/tst-gettext.sh: Likewise.
1852 * iconv/Makefile (routines): Add gconv_trans.
1853 * iconv/gconv_trans.c: New file.
1854 * iconv/gconv.h (struct __gconv_trans_data): New type.
1855 (__gconv_fct): New parameter with starting position in output buffer.
1856 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
1857 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
1858 (struct __gconv_step): Add new member __trans.
1859 * iconv/gconv_int.h: Pretty print prototypes.
1860 (gconv_transliterate): New prototype.
1861 (__BUILTIN_TRANS): Update for new conversion function interface.
1862 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
1863 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
1864 in names, find appropriate function, and install in the conversion
1865 steps it can be used.
1866 * iconv/skeleton.c: Add additional parameter for beginning of output
1867 buffer. Change calls of downstream functions.
1868 * iconv/loop.c: Change loop function interface completely. Pass in
1869 step and step_data structure. Remove optimization for BODY with
1870 NEED_LENGTH_TEST == 0.
1871 * iconv/gconv_simple.c: Update interfaces of functions. Insert
1872 appropriate error handling code to use transliteration steps. Remove
1873 optimization for BODY with NEED_LENGTH_TEST == 0.
1874 * iconvdata/8bit-gap.c: Likewise.
1875 * iconvdata/8bit-generic.c: Likewise.
1876 * iconvdata/ansi_x3.110.c: Likewise.
1877 * iconvdata/big5.c: Likewise.
1878 * iconvdata/big5hkscs.c: Likewise.
1879 * iconvdata/euc-cn.c: Likewise.
1880 * iconvdata/euc-jp.c: Likewise.
1881 * iconvdata/euc-kr.c: Likewise.
1882 * iconvdata/euc-tw.c: Likewise.
1883 * iconvdata/gbgbk.c: Likewise.
1884 * iconvdata/gbk.c: Likewise.
1885 * iconvdata/iso-2022-cn.c: Likewise.
1886 * iconvdata/iso-2022-jp.c: Likewise.
1887 * iconvdata/iso-2022-kr.c: Likewise.
1888 * iconvdata/iso646.c: Likewise.
1889 * iconvdata/iso8859-1.c: Likewise.
1890 * iconvdata/iso_6937-2.c: Likewise.
1891 * iconvdata/iso_6937.c: Likewise.
1892 * iconvdata/johab.c: Likewise.
1893 * iconvdata/sjis.c: Likewise.
1894 * iconvdata/t.61.c: Likewise.
1895 * iconvdata/uhc.c: Likewise.
1896 * iconvdata/unicode.c: Likewise.
1897 * iconvdata/utf-16.c: Likewise.
1898 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
1900 * wcsmbs/btowc.c: Likewise.
1901 * wcsmbs/mbrtowc.c: Likewise.
1902 * wcsmbs/mbsnrtowcs.c: Likewise.
1903 * wcsmbs/mbsrtowcs.c: Likewise.
1904 * wcsmbs/wcrtomb.c: Likewise.
1905 * wcsmbs/wcsnrtombs.c: Likewise.
1906 * wcsmbs/wcsrtombs.c: Likewise.
1907 * wcsmbs/wctob.c: Likewise.
1909 2000-04-11 Geoff Keating <geoffk@cygnus.com>
1911 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
1912 other header files. Mention about 128-byte cache line sizes.
1913 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
1914 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
1915 for current calling sequence.
1916 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
1918 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
1919 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1921 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
1922 and setrlimit syscalls for backwards compatibility.
1924 2000-06-10 Ulrich Drepper <drepper@redhat.com>
1926 * iconv/skeleton.c: Rename converted written to correcter name
1928 * iconv/gconv.c: Rename converted variable to correcter name
1930 * iconv/gconv_int.h: Likewise.
1931 * iconv/gconv_simple.c: Likewise.
1932 * iconv/iconv.c: Likewise.
1933 * iconv/loop.c: Likewise.
1934 * iconvdata/8bit-gap.c: Likewise.
1935 * iconvdata/8bit-generic.c: Likewise.
1936 * iconvdata/ansi_x3.110.c: Likewise.
1937 * iconvdata/big5.c: Likewise.
1938 * iconvdata/big5hkscs.c: Likewise.
1939 * iconvdata/euc-cn.c: Likewise.
1940 * iconvdata/euc-jp.c: Likewise.
1941 * iconvdata/euc-kr.c: Likewise.
1942 * iconvdata/gbgbk.c: Likewise.
1943 * iconvdata/gbk.c: Likewise.
1944 * iconvdata/iso-2022-cn.c: Likewise.
1945 * iconvdata/iso-2022-jp.c: Likewise.
1946 * iconvdata/iso-2022-kr.c: Likewise.
1947 * iconvdata/iso646.c: Likewise.
1948 * iconvdata/iso8859-1.c: Likewise.
1949 * iconvdata/iso_6937-2.c: Likewise.
1950 * iconvdata/iso_6937.c: Likewise.
1951 * iconvdata/johab.c: Likewise.
1952 * iconvdata/sjis.c: Likewise.
1953 * iconvdata/t.61.c: Likewise.
1954 * iconvdata/uhc.c: Likewise.
1955 * iconvdata/unicode.c: Likewise.
1956 * iconvdata/utf-16.c: Likewise.
1958 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
1959 __cmsg_data field with __extension__.
1961 2000-06-10 David Mosberger <davidm@hpl.hp.com>
1963 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
1965 2000-06-10 Ulrich Drepper <drepper@redhat.com>
1967 * iconv/gconv_simple.c: Fix various small bugs in several
1970 * iconv/loop.c: Fix comment.
1972 2000-06-10 Jakub Jelinek <jakub@redhat.com>
1974 * elf/link.h: Remove libc internal declarations.
1975 * include/link.h: Move them here.
1977 2000-06-09 Ulrich Drepper <drepper@redhat.com>
1979 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
1980 Patch by Dan Pop <Dan.Pop@cern.ch>.
1982 Rewrite error message handling.
1983 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
1985 * elf/dl-error (struct catch): Add objname member.
1986 (_dl_signal_error): Take new parameter with object name. When
1987 passing message on simply store object name and duplicate error
1989 (_dl_catch_error): Take new parameter. Store object name in the
1991 * include/dlfcn.h: Adjust _dl_catch_error prototype.
1992 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
1993 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
1994 (dlerror): Add objname to asprintf() parameters.
1995 (_dl_error_run): Pass new parameter to _dl_catch_error.
1996 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
1997 * elf/dl-open.c (_dl_open): Likewise.
1998 * elf/rtld.c (dl_main): Likewise.
1999 * elf/dl-close.c: Mark error messages with N_().
2000 * elf/dl-deps.c: Likewise.
2001 * elf/dl-error.c: Likewise.
2002 * elf/dl-load.c: Likewise.
2003 * elf/dl-open.c: Likewise.
2004 * elf/dl-reloc.c: Likewise.
2005 * elf/dl-support.c: Likewise.
2006 * elf/dl-sym.c: Likewise.
2007 * elf/dl-version.c: Likewise.
2008 * elf/dl-lookup.c: Add comments about problems with error message
2010 * elf/dl-reloc.c: Likewise.
2011 * elf/dl-version.c: Likewise.
2013 2000-06-09 H.J. Lu <hjl@gnu.org>
2015 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
2018 * dlfcn/Makefile (distribute): Add failtestmod.c.
2019 (tests): Add failtest.
2020 Add rules to build and run failtest.
2021 * dlfcn/failtest.c: New file.
2022 * dlfcn/failtestmod.c: New file.
2024 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
2026 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
2027 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
2028 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
2029 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
2030 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
2032 2000-06-09 Jes Sorensen <jes@linuxcare.com>
2034 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
2035 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
2037 2000-06-09 Jes Sorensen <jes@linuxcare.com>
2038 Ulrich Drepper <drepper@redhat.com>
2040 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
2041 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
2042 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
2043 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
2044 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
2045 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
2047 2000-06-09 Ulrich Drepper <drepper@redhat.com>
2049 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
2050 to find correct mount point despite wrong information from the
2053 2000-06-09 Jes Sorensen <jes@linuxcare.com>
2055 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
2056 the address of a symbol so function pointers are handled properly.
2058 2000-06-08 Ulrich Drepper <drepper@redhat.com>
2060 * sysdeps/i386/Dist: Add bp-asm.h.
2062 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
2063 defaultdir variable instead of "/var/shm" everywhere.
2064 (defaultdir): Change to /dev/shm/.
2066 2000-06-08 Greg McGary <greg@mcgary.org>
2068 * sysdeps/i386/bp-asm.h: New file.
2069 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
2070 offsets. Add ENTER/LEAVE macros for optionally maintaining
2071 frame-pointer chain when debugging.
2072 * sysdeps/i386/add_n.S: Likewise.
2073 * sysdeps/i386/addmul_1.S: Likewise.
2074 * sysdeps/i386/lshift.S: Likewise.
2075 * sysdeps/i386/memchr.S: Likewise.
2076 * sysdeps/i386/memcmp.S: Likewise.
2077 * sysdeps/i386/mul_1.S: Likewise.
2078 * sysdeps/i386/rawmemchr.S: Likewise.
2079 * sysdeps/i386/rshift.S: Likewise.
2080 * sysdeps/i386/stpcpy.S: Likewise.
2081 * sysdeps/i386/stpncpy.S: Likewise.
2082 * sysdeps/i386/strchr.S: Likewise.
2083 * sysdeps/i386/strchrnul.S: Likewise.
2084 * sysdeps/i386/strcspn.S: Likewise.
2085 * sysdeps/i386/strpbrk.S: Likewise.
2086 * sysdeps/i386/strrchr.S: Likewise.
2087 * sysdeps/i386/strspn.S: Likewise.
2088 * sysdeps/i386/strtok.S: Likewise.
2089 * sysdeps/i386/sub_n.S: Likewise.
2090 * sysdeps/i386/submul_1.S: Likewise.
2091 * sysdeps/i386/elf/setjmp.S: Likewise.
2092 * sysdeps/i386/i486/strcat.S: Likewise.
2093 * sysdeps/i386/i486/strlen.S: Likewise.
2094 * sysdeps/i386/i586/add_n.S: Likewise.
2095 * sysdeps/i386/i586/lshift.S: Likewise.
2096 * sysdeps/i386/i586/memcpy.S: Likewise.
2097 * sysdeps/i386/i586/memset.S: Likewise.
2098 * sysdeps/i386/i586/rshift.S: Likewise.
2099 * sysdeps/i386/i586/strchr.S: Likewise.
2100 * sysdeps/i386/i586/strcpy.S: Likewise.
2101 * sysdeps/i386/i586/strlen.S: Likewise.
2102 * sysdeps/i386/i586/sub_n.S: Likewise.
2103 * sysdeps/i386/i686/add_n.S: Likewise.
2104 * sysdeps/i386/i686/memcpy.S: Likewise.
2105 * sysdeps/i386/i686/mempcpy.S: Likewise.
2106 * sysdeps/i386/i686/memset.S: Likewise.
2107 * sysdeps/i386/i686/strcmp.S: Likewise.
2109 2000-06-08 Ulrich Drepper <drepper@redhat.com>
2111 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
2113 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
2114 256 and don't use OPEN_MAX.
2116 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
2117 use it instead of LINK_MAX.
2118 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
2120 2000-06-08 Andreas Jaeger <aj@suse.de>
2122 * libio/genops.c (_IO_list_lock): Only compile body if we're
2124 (_IO_list_unlock): Likewise.
2125 (_IO_list_resetlock): Likewise.
2127 2000-06-07 Ulrich Drepper <drepper@redhat.com>
2129 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
2130 unless user defined it.
2132 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
2133 if not defined by the user.
2135 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
2136 * libio/iofwrite.c (_IO_fwrite): Likewise.
2138 * time/time.h: Add missing __THROW for clock_getcpuclockid
2141 * elf/Makefile (distribute): Add dl-dtprocnum.h.
2142 * include/elf.h: Include also <dl-dtprocnum.h>.
2143 * elf/dl-deps.c: Likewise.
2144 * elf/dl-lookup.c: Likewise.
2145 * elf/dl-runtime.c: Likewise.
2146 * elf/dl-version.c: Likewise.
2147 * elf/do-rel.h: Likewise.
2148 * elf/dynamic-link.h: Likewise.
2149 * elf/link.h: Likewise.
2150 * elf/rtld.c: Likewise.
2151 * sysdeps/generic/dl-dtprocnum.h: New file.
2152 * sysdeps/ia64/dl-dtprocnum.h: New file.
2153 * sysdeps/mips/dl-dtprocnum.h: New file.
2154 * sysdeps/sparc/dl-dtprocnum.h: New file.
2156 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
2158 * elf/do-lookup.h: Add some __builtin_expect.
2160 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
2162 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
2163 (_dl_dynamic_weak): New variable.
2164 * elf/dl-support.c: Likewise.
2165 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
2166 * elf/do-lookup.h: If we find a weak definition treat it like a
2167 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
2168 case treat it like before.
2170 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
2172 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
2174 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
2175 using l_map_start and l_map_end.
2177 * elf/dl-version.c: Add __builtin_expect in many places.
2179 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
2182 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
2184 Lock for stdio stream list becomes global, for use in LinuxThreads.
2186 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
2187 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
2188 _IO_list_resetlock): New interface for iterating global list of
2189 streams without accessing the _IO_list_all global variable,
2190 and for manipulating the lock which protects this list.
2191 * libio/libioP.h: Likewise.
2192 * libio/Version: Add entries for the new functions.
2194 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
2195 pointer to _IO_FILE.
2197 2000-06-07 Ulrich Drepper <drepper@redhat.com>
2199 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
2200 BIT() must actually be BITw().
2202 * locale/programs/ld-ctype.c: Handle SP and space consistently.
2204 * locale/programs/charmap.c: Allow string arguments for
2205 code_set_name and repertoiremap.
2207 2000-06-07 Andreas Jaeger <aj@suse.de>
2209 * elf/Makefile: Build ldconfig only when building shared libraries.
2211 2000-06-07 Jakub Jelinek <jakub@redhat.com>
2213 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
2215 (fdimf, __fdim, fdim): Likewise.
2217 2000-06-07 Ulrich Drepper <drepper@redhat.com>
2219 * locale/findlocale.c: Add __builtin_expect in many places.
2220 * locale/loadlocale.c: Likewise.
2222 2000-06-06 Greg McGary <greg@mcgary.org>
2224 * sysdeps/mips/elf/start.S: Trim redundant code.
2226 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
2227 Use C comments throughout. Line up operands column with tabs.
2228 * sysdeps/powerpc/strchr.S: Likewise.
2229 * sysdeps/powerpc/strcmp.S: Likewise.
2230 * sysdeps/powerpc/strcpy.S: Likewise.
2231 * sysdeps/powerpc/strlen.S: Likewise.
2233 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
2234 Get low part of &__curbrk with @l.
2236 2000-06-06 Ulrich Drepper <drepper@redhat.com>
2238 * iconvdata/utf-16.c: Add __builtin_expect in many places.
2239 * iconvdata/unicode.c: Likewise.
2240 * iconvdata/uhc.c: Likewise.
2241 * iconvdata/t.61.c: Likewise.
2242 * iconvdata/sjis.c: Likewise.
2243 * iconvdata/johab.c: Likewise.
2244 * iconvdata/iso_6937.c: Likewise.
2245 * iconvdata/iso_6937-2.c: Likewise.
2246 * iconvdata/iso8859-1.c: Likewise.
2247 * iconvdata/iso646.c: Likewise.
2248 * iconvdata/iso-2022-kr.c: Likewise.
2249 * iconvdata/iso-2022-jp.c: Likewise.
2250 * iconvdata/iso-2022-cn.c: Likewise.
2251 * iconvdata/gbgbk.c: Likewise.
2252 * iconvdata/gbk.c: Likewise.
2253 * iconvdata/euc-kr.c: Likewise.
2254 * iconvdata/euc-jp.c: Likewise.
2255 * iconvdata/euc-cn.c: Likewise.
2257 2000-06-05 Ulrich Drepper <drepper@redhat.com>
2259 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
2260 * iconvdata/big5.c: Likewise.
2261 * iconvdata/ansi_x3.110.c: Likewise.
2262 * iconvdata/8bit-generic.c: Likewise.
2263 * iconvdata/8bit-gap.c: Likewise.
2264 * iconv/loop.c: Likewise.
2265 * iconv/gconv_db.c: Likewise.
2266 * iconv/gconv_dl.c: Likewise.
2267 * iconv/gconv_simple.c: Likewise.
2268 * iconv/skeleton.c: Likewise.
2270 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
2271 (struct __gconv_step_data): Rename __is_last to __flags.
2272 * iconv/gconv_close.c: Change all uses of __is_last.
2273 * iconv/skeleton.c: Likewise.
2274 * iconvdata/iso-2022-cn.c: Likewise.
2275 * iconvdata/iso-2022-jp.c: Likewise.
2276 * iconvdata/iso-2022-kr.c: Likewise.
2277 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
2278 Recognize IGNORE error handling, set flag, and remove from name.
2279 * iconv/loop.c (ignore_errors_p): Define.
2280 Add flags parameter to both functions.
2281 * iconv/skeleton.c: Pass flags to all conversion functions.
2282 * iconv/gconv_simple.c: Add flags parameter to all functions.
2283 Don't return error for invald error if ignore flag is set.
2284 (ucs4_internal_loop_single): Add missing pointer increment.
2285 (internal_ucs4le_loop_single): Likewise.
2286 * iconv/iconv_prog.c: Implement handling of -c parameter.
2287 * iconvdata/8bit-gap.c: Don't return error for invald error if
2289 * iconvdata/8bit-generic.c: Likewise.
2290 * iconvdata/ansi_x3.110.c: Likewise.
2291 * iconvdata/big5.c: Likewise.
2292 * iconvdata/big5hkscs.c: Likewise.
2293 * iconvdata/euc-cn.c: Likewise.
2294 * iconvdata/euc-jp.c: Likewise.
2295 * iconvdata/euc-kr.c: Likewise.
2296 * iconvdata/gbgbk.c: Likewise.
2297 * iconvdata/gbk.c: Likewise.
2298 * iconvdata/iso-2022-cn.c: Likewise.
2299 * iconvdata/iso-2022-jp.c: Likewise.
2300 * iconvdata/iso-2022-kr.c: Likewise.
2301 * iconvdata/iso646.c: Likewise.
2302 * iconvdata/iso8859-1.c: Likewise.
2303 * iconvdata/iso_6937-2.c: Likewise.
2304 * iconvdata/iso_6937.c: Likewise.
2305 * iconvdata/johab.c: Likewise.
2306 * iconvdata/sjis.c: Likewise.
2307 * iconvdata/t.61.c: Likewise.
2308 * iconvdata/uhc.c: Likewise.
2309 * iconvdata/unicode.c: Likewise.
2310 * iconvdata/utf-16.c: Likewise.
2311 * libio/fileops.c: Likewise.
2312 * libio/iofwide.c: Likewise.
2313 * wcsmbs/btowc.c: Likewise.
2314 * wcsmbs/mbrtowc.c: Likewise.
2315 * wcsmbs/mbsnrtowcs.c: Likewise.
2316 * wcsmbs/mbsrtowcs.c: Likewise.
2317 * wcsmbs/wcrtomb.c: Likewise.
2318 * wcsmbs/wcsnrtombs.c: Likewise.
2319 * wcsmbs/wcsrtombs.c: Likewise.
2320 * wcsmbs/wctob.c: Likewise.
2322 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
2325 2000-06-04 Ulrich Drepper <drepper@redhat.com>
2327 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
2328 counter for the object we are releasing, just decrement it.
2329 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
2331 2000-06-04 Jakub Jelinek <jakub@redhat.com>
2333 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
2336 2000-06-04 Ulrich Drepper <drepper@redhat.com>
2338 * iconvdata/big5hkscs.c: New file.
2339 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
2341 * iconvdata/gconv-modules: Add entry for new module.
2342 * iconvdata/Makefile (modules): Add BIG5HKSCS.
2343 (distribute): Add big5hkscs.c.
2345 2000-06-01 Jakub Jelinek <jakub@redhat.com>
2347 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
2348 inlines to match prototypes in mathcalls.h.
2349 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
2350 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
2351 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
2352 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2354 2000-06-03 Ulrich Drepper <drepper@redhat.com>
2356 * elf/elf.h (SHT_SUNW_move): Define.
2358 * elf/elf.h: Add more Solaris compatiblity definitions.
2360 2000-06-03 Andreas Jaeger <aj@suse.de>
2362 * sysdeps/powerpc/dl-start.S: Close open comment.
2364 2000-06-03 Jakub Jelinek <jakub@redhat.com>
2366 * inet/Versions: Fix typo in rresvport_af export.
2368 2000-06-02 Ulrich Drepper <drepper@redhat.com>
2370 * math/tgmath.h: Pretty print.
2372 2000-06-02 Andreas Jaeger <aj@suse.de>
2374 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
2375 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2377 2000-06-02 Ulrich Drepper <drepper@redhat.com>
2379 * elf/rtld.c (process_envvars): Test for = after variable name.
2381 2000-06-01 Ulrich Drepper <drepper@redhat.com>
2383 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
2384 have extra call to __gmon_start__, use the pointer we already have.
2386 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
2389 * sysdeps/i386/elf/setjmp.S: Work around change is recent
2390 binutils. gas now emits a jump through the PLT instead of a
2391 relative jump if the jump target is an exported symbol.
2393 2000-05-31 Ulrich Drepper <drepper@redhat.com>
2395 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
2397 2000-05-31 Andreas Jaeger <aj@suse.de>
2399 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
2402 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
2403 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2405 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
2407 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
2409 2000-05-30 Ulrich Drepper <drepper@redhat.com>
2411 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
2413 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
2414 * locale/localeconv.c: Make function versioned (with same definition).
2416 * elf/Makefile (modules-names): Strip before using it.
2418 2000-05-30 Andreas Jaeger <aj@suse.de>
2420 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
2421 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
2422 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
2423 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
2424 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
2425 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
2427 2000-05-29 Ulrich Drepper <drepper@redhat.com>
2429 * Makefile: Add GNU make magic.
2431 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
2433 * inet/rcmd.c: Remove __P. Remove unused variables.
2434 (iruserfopen): Make first parameter const.
2435 (ruserok_sa): Return result of ruserok2_sa.
2436 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
2437 * inet/rexec.c: Remove unused variables. Other small cleanups.
2438 * inet/ruserpass.c: Remove __P. Remove unused variables.
2439 (ruserpass): Check results of memory allocation.
2440 * include/netdb.h: Add prototype for ruserpass.
2442 2000-05-29 Andreas Jaeger <aj@suse.de>
2444 * elf/readlib.c (interpreters): Use LD_SO since this is supported
2447 2000-05-29 Jakub Jelinek <jakub@redhat.com>
2449 * inet/rcmd.c (rresvport_af): Use correct port number.
2451 2000-05-26 Andreas Schwab <schwab@suse.de>
2453 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
2454 entries in all-sonames.
2455 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
2456 preserving the old name if different for compatibility.
2458 2000-05-29 Ulrich Drepper <drepper@redhat.com>
2460 * posix/Makefile (tests): Add tst-spawn.
2461 (tst-spawn-ARGS): New variable.
2462 * posix/tst-spawn.c: New file.
2464 * posix/spawn_faction_addclose.c: Correctly account for new entry.
2465 * posix/spawn_faction_adddup2.c: Likewise.
2466 * posix/spawn_faction_addopen.c: Likewise.
2467 * posix/spawni.c: Correctly test for success of dup2 calls.
2469 * posix/tst-preadwrite.c: Check success of malloc call.
2471 2000-05-28 Ulrich Drepper <drepper@redhat.com>
2473 * posix/Makefile (tests): Add tst-exec.
2474 (tst-exec-ARGS): New variable.
2475 * posix/tst-exec.c: New file.
2477 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
2479 2000-05-04 Andreas Jaeger <aj@suse.de>
2481 * string/string.h: Remove __strdup prototype, it's not needed in
2484 2000-05-28 Ulrich Drepper <drepper@redhat.com>
2486 * posix/Makefile (tests): Add tst-fork.
2487 * posix/tst-fork.c: New file.
2489 * resolv/inet_pton.c: Loose __P.
2491 2000-05-21 Jakub Jelinek <jakub@redhat.com>
2493 * libio/libioP.h (_IO_CHECK_WIDE): Define.
2494 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
2495 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
2496 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
2497 _IO_CHECK_WIDE fails.
2499 2000-05-28 Ulrich Drepper <drepper@redhat.com>
2501 * po/da.po: New file.
2503 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
2504 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
2506 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
2507 (Other iconv Implementations): Fix typo.
2508 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
2510 2000-05-27 Andreas Jaeger <aj@suse.de>
2512 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
2514 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
2515 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
2516 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2517 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2518 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
2519 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
2521 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
2522 endianness to decide how to pass arguments.
2523 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2525 * elf/vismain.c: Use test-skeleton interface.
2526 (TEST_FUNCTION): New macro.
2527 (do_test): Renamed from main.
2529 2000-05-27 Ulrich Drepper <drepper@redhat.com>
2531 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
2532 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
2534 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
2535 handling of AI_V4MAPPED flag.
2537 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
2538 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
2539 perform lookup for T_A type and tell getanswer_r to convert the
2540 result with new argument.
2541 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
2542 Don't convert addresses from IPv4 to IPv6 here.
2543 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
2544 IPv6 is wanted. Allow qtype and type from reply to disagree if
2545 IPv4 mapping has to be done. Perform mappings if required by the
2546 caller and not if RES_USE_INET6 bit in _res.options is set.
2547 Add several __builtin_expect.
2549 2000-05-26 Ulrich Drepper <drepper@redhat.com>
2551 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
2553 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
2556 * posix/tst-preadwrite.c: Allow parallel execution of
2557 tst-preadwrite and tst-preadwrite64.
2559 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
2560 * posix/tst-truncate.c: New file.
2561 * posix/tst-truncate64.c: New file.
2563 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
2566 * posix/Makefile (tests): Add tst-preadwrite64.
2567 * posix/tst-preadwrite.c: Alloc file being used also for testing
2568 pread64 and pwrite64.
2569 * posix/tst-preadwrite64.c: New file.
2571 2000-05-26 Andreas Jaeger <aj@suse.de>
2573 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
2574 of arguments dependend on endianness.
2575 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
2577 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
2579 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
2580 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
2581 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2582 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2584 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
2585 endianness to check how to pass argument.
2586 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2588 * elf/ldconfig.h: Update parameter list for process_elf_file.
2590 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
2591 Add parameter file_length and pass it ot process_elf*file.
2593 * sysdeps/generic/readelflib.c (check_ptr): New.
2594 (process_elf_file): Use check_ptr to check all accesses to the
2595 mmapped file. Add parameter file_length.
2597 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
2600 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
2601 Closes PR libc/1573, reported by Bradley White
2602 <bww@laurelnetworks.com>.
2604 2000-05-25 Ulrich Drepper <drepper@redhat.com>
2606 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
2607 __FAST_MATH__ is defined.
2609 2000-05-22 Andreas Jaeger <aj@suse.de>
2611 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
2612 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
2614 * manual/math.texi (FP Function Optimizations): Document gcc
2615 -ffast-math behaviour with mathinlines.
2617 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
2618 functions unless -ffast-math is given to gcc.
2620 2000-05-23 Jakub Jelinek <jakub@redhat.com>
2622 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
2623 __sincosl): Guard with __USE_GNU.
2625 2000-05-24 Ulrich Drepper <drepper@redhat.com>
2627 * csu/Makefile (routines): Add check_fds.
2628 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
2629 binaries. Add various __builtin_expect.
2630 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
2631 * sysdeps/generic/check_fds.c: ...here. New file.
2633 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
2634 binaries if file /etc/suid-debug is available.
2636 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
2637 and wcseqorder members.
2638 (struct locale_collate_t): Likewise.
2639 (collate_finish): Assign collation sequence value to each character.
2640 Create tables for output.
2641 (collate_output): Write out tables with collation sequence information.
2642 * locale/C-collate.c: Provide C locale data for collation sequence
2644 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
2645 _NL_COLLATE_COLLSEQWC.
2646 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
2647 _NL_COLLATE_COLLSEQWC.
2648 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
2649 include fnmatch_loop.c.
2650 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
2651 character is matched by range expression. Use collation sequence
2652 table. Outside glibc fall back on simple character value comparison.
2654 2000-05-24 Andreas Jaeger <aj@suse.de>
2656 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
2659 * intl/Makefile: Run gettext-test only if msgfmt is available.
2661 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
2662 Define it for newer kernels.
2664 2000-05-23 Ulrich Drepper <drepper@redhat.com>
2666 * elf/dl-sym.c: Minor cleanups.
2668 * configure.in: Add test for .protected.
2669 * config.make.in: Add have-protected variable.
2670 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
2671 (tests-vis-yes): Add vismain.
2672 (modules-names): Add $(modules-vis-$(have-protected)).
2673 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
2674 Add rules to generate and run vismain.
2675 * elf/vismain.c: New file.
2676 * elf/vismod1.c: New file.
2677 * elf/vismod2.c: New file.
2678 * elf/vismod3.c: New file.
2680 2000-05-23 Andreas Jaeger <aj@suse.de>
2682 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
2684 * manual/search.texi (Array Sort Function): Document that qsort is
2685 not necessarily in-place.
2687 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
2688 Closes PR libc/1731.
2690 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
2691 * dirent/scandir64.c: Likewise.
2692 * pwd/getpw.c: Likewise.
2693 * stdlib/bsearch.c (bsearch): Likewise.
2694 * stdlib/tst-strtoll.c: Likewise.
2695 * localedata/collate-test.c: Likewise.
2696 * localedata/xfrm-test.c: Likewise.
2697 * posix/bsd-getpgrp.c: Likewise.
2698 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
2699 * sysdeps/generic/bits/siginfo.h: Likewise.
2700 * sysdeps/generic/bits/sockaddr.h: Likewise.
2701 * sysdeps/generic/sys/swap.h: Likewise.
2702 * sysdeps/generic/sys/sysinfo.h: Likewise.
2703 * sysdeps/generic/vfork.c: Likewise.
2704 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
2705 * sysdeps/mach/hurd/fdopen.c: Likewise.
2706 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
2707 * sysdeps/unix/sysv/linux/poll.c: Likewise.
2708 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2709 * sysdeps/unix/sysv/linux/writev.c: Likewise.
2710 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2711 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2712 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
2714 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
2715 * shadow/lckpwdf.c: Likewise.
2716 * stdlib/tst-strtol.c: Likewise.
2717 * sysdeps/generic/tcsetattr.c: Likewise.
2718 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2719 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2721 2000-05-22 Jakub Jelinek <jakub@redhat.com>
2723 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
2724 free it and set to (void *) -1.
2726 2000-05-22 Jakub Jelinek <jakub@redhat.com>
2728 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
2729 not the second character in the range.
2730 * stdio-common/tstscanf.c (main): Add testcase for the above.
2731 Reported by jik@kamens.brookline.ma.us.
2733 2000-05-21 H.J. Lu <hjl@gnu.org>
2735 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
2736 with noexec and noplt parameter.
2737 (do_lookup): Likewise.
2739 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
2740 do_lookup. Support STV_PROTECTED.
2741 (_dl_lookup_symbol_skip): Likewise.
2742 (_dl_lookup_versioned_symbol): Likewise.
2743 (_dl_lookup_versioned_symbol_skip): Likewise.
2745 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
2747 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
2749 2000-05-21 Jakub Jelinek <jakub@redhat.com>
2751 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
2752 * sysdeps/i386/bits/huge_val.h: Likewise.
2753 * sysdeps/ieee754/bits/huge_val.h: Likewise.
2754 * sysdeps/m68k/bits/huge_val.h: Likewise.
2755 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
2756 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
2758 2000-05-22 Andreas Jaeger <aj@suse.de>
2760 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
2763 2000-05-19 Andreas Jaeger <aj@suse.de>
2765 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
2766 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
2767 breaks compilation without linuxthreads.
2769 2000-05-21 Ulrich Drepper <drepper@redhat.com>
2771 * sysdeps/ia64/memccpy.S: New file.
2772 * sysdeps/ia64/memchr.S: New file.
2773 * sysdeps/ia64/memcmp.S: New file.
2774 * sysdeps/ia64/memcpy.S: New file.
2775 * sysdeps/ia64/memmove.S: New file.
2776 * sysdeps/ia64/memset.S: New file.
2777 * sysdeps/ia64/strcat.S: New file.
2778 * sysdeps/ia64/strchr.S: New file.
2779 * sysdeps/ia64/strcmp.S: New file.
2780 * sysdeps/ia64/strcpy.S: New file.
2781 * sysdeps/ia64/strlen.S: New file.
2782 * sysdeps/ia64/strncmp.S: New file.
2783 * sysdeps/ia64/strncpy.S: New file.
2784 * sysdeps/ia64/softpipe.h: New file.
2785 Patches by Dan Pop <Dan.Pop@cern.ch>.
2787 * manual/memory.texi: Document memory handling functions (mlock,
2788 munlock, mlockall, munlockall, brk, and sbrk)
2789 * manual/time.texi: Document timespec and friends.
2790 * manual/conf.texi: Fix references.
2791 * manual/ctype.texi: Likewise.
2792 * manual/errno.texi: Likewise.
2793 * manual/intro.texi: Likewise.
2794 * manual/locale.texi: Likewise.
2795 * manual/sysinfo.texi: Likewise.
2796 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
2798 2000-05-09 Jes Sorensen <jes@linuxcare.com>
2800 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
2801 * sysdeps/ia64/dl-lookupcfg.h: ...here.
2803 2000-05-21 Jakub Jelinek <jakub@redhat.com>
2805 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
2808 2000-05-21 Ulrich Drepper <drepper@redhat.com>
2810 * locale/locale.h (struct lconv): Add new elements from ISO C99.
2811 * locale/localeconv.c: Initialize new elements from ISO C99.
2812 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
2813 new standard elements.
2814 * locale/categories.def: Adjust accordingly.
2816 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
2817 * iconv/iconv.c: Likewise.
2818 * conform/data/iconv.h-data: Likewise.
2819 * iconv/iconv_prog.c (process_block): Remove const from second
2821 (main): Remove const from addr definition.
2822 * manual/charset.texi (Generic Conversion Interface): Remove from
2823 inbuf parameter of iconv.
2825 * intl/dcigettext.c: Fix typo in comment.
2827 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
2829 * resolv/res_libc.c (_res): Initialize _sock to -1.
2831 2000-05-18 Jakub Jelinek <jakub@redhat.com>
2833 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
2834 (fopencookie@@GLIBC_2.2): New.
2835 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
2836 (fopencookie@GLIBC_2.0): New.
2837 * libio/Versions: Add fopencookie to GLIBC_2.2.
2839 2000-05-18 Andreas Jaeger <aj@suse.de>
2841 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
2842 Closes PR libc/1731.
2844 * manual/arith.texi (Parsing of Integers): Fix typo.
2845 Closes PR libc/1744, reported by blp@gnu.org.
2847 2000-05-17 Jakub Jelinek <jakub@redhat.com>
2849 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
2850 __extension__ to hexadecimal floating constant notation.
2851 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
2853 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
2854 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
2856 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
2857 HUGE_VALL): Likewise.
2858 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
2859 HUGE_VALL): Likewise.
2860 (HUGE_VALL): Set to HUGE_VAL on sparc32.
2862 2000-05-17 Andreas Jaeger <aj@suse.de>
2864 * string/envz.h: Add pure attributes if possible.
2866 * string/argz.h: argz_count is a pure function.
2868 * string/strings.h: Add pure and const attributes if possible.
2870 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
2871 possibly searching through the whole memory.
2872 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
2874 2000-05-17 Jakub Jelinek <jakub@redhat.com>
2876 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
2878 (_dl_cache_check_flags): Likewise.
2879 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
2882 2000-05-17 Andreas Jaeger <aj@suse.de>
2884 * manual/creature.texi (Feature Test Macros): Remove paragraph
2885 since the description is wrong.
2886 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
2888 * scripts/config.sub: New version.
2889 * scripts/config.guess: Likewise.
2890 * manual/texinfo.tex: Likewise.
2892 * time/test_time.args: Removed.
2893 * time/Makefile (test_time-ARGS): Added contents here instead.
2895 * posix/tstgetopt.args: Removed.
2896 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
2898 * Rules: Allow arguments for test files to be specified in
2899 Makefile with testname-ARGS; remove rules with .args in it.
2901 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
2902 remove old bogus rule for opendir-tst1.args.
2904 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
2906 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
2907 into objdir. This allows a readonly sourcetree.
2908 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
2910 2000-05-16 Andreas Jaeger <aj@suse.de>,
2911 David Huggins-Daines <dhd@linuxcare.com>
2913 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
2914 cache_data in case of only new cache format correctly.
2916 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
2919 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
2920 struct cache_file_new.
2922 * elf/cache.c (save_cache): Fix str_offset if only new cache is
2925 * elf/cache.c (save_cache): Align struct new_file_cache.
2926 (print_cache): Likewise.
2928 2000-05-13 Jakub Jelinek <jakub@redhat.com>
2930 * elf/soinit.c (__libc_global_ctors): Move
2931 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
2932 * resolv/resolv.h (__res_state): Added __attribute__((const)).
2933 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
2934 variable, don't define it to __res_state call.
2936 2000-05-13 Andreas Jaeger <aj@suse.de>
2938 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
2940 (AF_PPPOX): Likewise.
2941 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
2942 (AF_PPPOX): Likewise.
2944 2000-05-12 Andreas Jaeger <aj@suse.de>
2946 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
2947 Reported by tmoestl@gmx.net, closes PR libc/1732.
2949 2000-05-11 Jan Hubicka <jh@suse.cz>
2951 * misc/sys/cdefs.h: Add support for pure attribute.
2953 * include/string.h: Add __attribute_pure__ to various functions.
2954 * string/string.h: Likewise.
2956 2000-05-10 Jakub Jelinek <jakub@redhat.com>
2958 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
2960 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2962 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
2964 2000-05-10 Jakub Jelinek <jakub@redhat.com>
2966 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
2967 at proper place. Compute the high nibble correctly.
2969 2000-05-09 Jakub Jelinek <jakub@redhat.com>
2971 * elf/ldconfig.c: Include elf.h.
2973 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
2974 (_dl_vsym): Likewise.
2975 Reported by Owen Taylor <otaylor@redhat.com>.
2977 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
2980 2000-05-08 Andreas Jaeger <aj@suse.de>
2982 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
2984 * intl/bindtextdom.c (set_binding_values): Add prototype.
2986 2000-05-08 Jakub Jelinek <jakub@redhat.com>
2988 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
2989 call to elf_machine_fixup_plt.
2990 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2991 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2993 2000-05-08 Jakub Jelinek <jakub@redhat.com>
2995 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
2996 they are not dlclose'd from underneath us.
2998 2000-05-08 Andreas Schwab <schwab@suse.de>
3000 * posix/execle.c: Fix size parameter of memcpy.
3002 2000-05-08 Andreas Schwab <schwab@suse.de>
3004 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
3005 getpagesize syscall if available.
3007 2000-05-08 Andreas Jaeger <aj@suse.de>
3009 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
3012 2000-05-08 Jakub Jelinek <jakub@redhat.com>
3014 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
3015 sizeof(struct link_map *) chunks, not in bytes.
3017 2000-05-07 Ulrich Drepper <drepper@redhat.com>
3019 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
3020 only needed for locale.
3021 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
3022 It's only needed for catgets.
3023 Patches by Greg McGary <gkm@eng.ascend.com>.
3025 2000-05-07 Mark Kettenis <kettenis@gnu.org>
3027 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
3028 Remove duplicate <errno.h> include. Remove inclusion of
3029 <libintl.h> and "nsswitch.h".
3030 (set_cloexec_flag): New function, broken out of dbopen.
3031 (dbopen): Changed return type to `enum
3032 nss_status'. Mostly rewritten to make sure that we do not report
3033 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
3034 (internal_setent): Change return type to nss_status.
3035 Document, and make sure that the function
3036 behaves accordingly. Make dynamically loading the database
3037 library really thread-safe and return NSS_STATUS_UNAVAIL if it
3039 (db_cursor): Return ENOMEM is memory allocation failed. Remove
3041 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
3043 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
3044 c_get function member.
3045 * nss/nss_db/nss_db.h: Add and tweak some comments.
3046 (DBT): Move typedef before NSS_DBC typedef.
3047 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
3049 2000-05-07 H.J. Lu <hjl@gnu.org>
3051 * csu/initfini.c: Moved to ....
3052 * sysdeps/generic/initfini.c: ...here.
3054 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
3056 2000-05-07 Ulrich Drepper <drepper@redhat.com>
3058 * manual/resource.texi: Document POSIX scheduling functions.
3059 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
3061 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
3062 reading anything. Reported by Andries.Brouwer@cwi.nl.
3064 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
3065 for x since promotion in comparison might leads to unexpected
3066 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
3068 * iconv/Makefile (tests): Add tst-iconv1.
3069 * iconv/tst-iconv1.c: New file.
3070 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
3071 empty input buffer over full output buffer.
3072 (ucs4_internal_loop): Likewise.
3073 (ucs4_internal_loop_unaligned): Likewise.
3074 (internal_ucs4le_loop): Likewise.
3075 (internal_ucs4le_loop_unaligned): Likewise.
3076 (ucs4le_internal_loop): Likewise.
3077 (ucs4le_internal_loop_unaligned): Likewise.
3078 Reported by yaoz@nih.gov.
3080 2000-05-06 Bruno Haible <haible@clisp.cons.org>
3082 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
3083 returned != __GCONV_OK, there is nothing to clean up.
3085 2000-05-06 Bruno Haible <haible@clisp.cons.org>
3087 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
3088 OUTPUT_CHARSET environment variables.
3090 2000-05-06 Andreas Jaeger <aj@suse.de>
3092 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
3093 (struct cache_file_new): New.
3094 (struct file_entry): New (moved from cache.c).
3095 (struct cache_file): New (moved from cache.c).
3097 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
3098 from _dl_load_cache_lookup.
3099 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
3100 the different cache formats.
3101 New variable cache_new for new format.
3103 * elf/ldconfig.h: Change according to changes in cache.c and
3104 ldconfig.c; remove cache_libcmp; add opt_format.
3106 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
3107 stuff that's defined in those headers.
3108 Add hwcap to struct lib_entry.
3109 (opt_format): New variable to select cache format.
3110 (options): Add format parameter.
3111 (is_hwcap): New function.
3112 (path_hwcap): New function.
3113 (parse_opt): Handle new format parameter.
3114 (search_dir): Handle hwcap, search also subdirectories with hwcap.
3116 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
3117 ldconfig is part of glibc.
3118 Include dl-cache.h and remove stuff that's defined there.
3119 (struct cache_entry): Add new member hwcap.
3120 (print_entry): Print hwcap, cleanup a bit.
3121 (print_cache): Print new and old formats.
3122 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
3123 (save_cache): Save new and old formats.
3124 (add_to_cache): Handle hwcap.
3126 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
3127 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
3128 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
3129 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
3130 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
3131 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
3133 2000-05-05 Bruno Haible <haible@clisp.cons.org>
3135 * intl/dcigettext.c (alignof): New macro.
3136 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
3137 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
3140 2000-05-05 Bruno Haible <haible@clisp.cons.org>
3142 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
3145 2000-05-06 Ulrich Drepper <drepper@redhat.com>
3147 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
3148 (mempcpy): Correct typo is parameter list.
3150 2000-05-06 Andreas Jaeger <aj@suse.de>
3152 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
3153 functions unless -ffast-math is given to gcc.
3155 2000-05-06 Ulrich Drepper <drepper@redhat.com>
3157 * po/ko.po: Update from translation team.
3159 2000-05-05 Ulrich Drepper <drepper@redhat.com>
3161 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
3162 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
3163 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
3164 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
3165 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
3166 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
3168 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
3169 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
3170 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
3172 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
3173 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
3174 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
3175 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
3177 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
3178 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
3180 2000-05-05 Jes Sorensen <jes@linuxcare.com>
3182 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
3183 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
3185 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
3186 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
3188 * sysdeps/ia64/Implies: New file.
3189 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
3190 * sysdeps/ia64/Makefile: New file.
3191 * sysdeps/ia64/gmp-mparam.h: New file,
3193 * sysdeps/ia64/elf/start.S: New file.
3195 * sysdeps/ia64/bits/fenv.h: New file.
3197 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
3199 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
3201 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
3203 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
3204 ia64 has 64 bit .hash entries just as the Alpha.
3206 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
3208 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
3210 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
3212 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
3213 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
3214 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
3215 * sysdeps/ia64/fpu/fegetenv.c: New file.
3216 * sysdeps/ia64/fpu/fegetexcept.c: New file.
3217 * sysdeps/ia64/fpu/fegetround.c: New file.
3218 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
3219 * sysdeps/ia64/fpu/fesetenv.c: New file.
3220 * sysdeps/ia64/fpu/fesetround.c: New file.
3221 * sysdeps/ia64/fpu/feupdateenv.c: New file.
3222 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
3223 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
3224 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
3225 * sysdeps/ia64/fpu/ftestexcept.c: New file.
3227 2000-05-05 Andreas Jaeger <aj@suse.de>
3229 * misc/tst-tsearch.c (main): Correct type for initstate argument.
3231 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
3232 (_dl_string_hwcap): New, does nothing.
3234 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
3235 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
3236 (_dl_string_hwcap): New function, converts from string to hwcap
3238 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
3239 (_DL_HWCAP_COUNT): New.
3240 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
3241 (_dl_string_hwcap): New function, converts from string to hwcap
3243 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
3244 (_DL_HWCAP_COUNT): New.
3245 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
3246 (_dl_string_hwcap): New function, converts from string to hwcap
3249 2000-05-05 Ulrich Drepper <drepper@redhat.com>
3251 * elf/Makefile (distribute): Add dl-lookupcfg.h.
3252 * sysdeps/ia64/Dist: New file.
3254 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
3255 parameter to mprotect and for variable assignments.
3257 2000-05-03 Jes Sorensen <jes@linuxcare.com>
3259 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
3260 validity of map before dereferencing it.
3262 * elf/dl-reloc.c (RESOLVE_MAP): Define.
3264 2000-05-02 Jes Sorensen <jes@linuxcare.com>
3266 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
3267 lookup to the arguments to elf_machine_fixup_plt().
3269 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
3270 of the symbol being resolved to input argument list and make the
3271 function return the pointer to the reloc.
3273 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
3274 return valuie to lookup_t and return the value.
3275 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
3276 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
3277 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
3278 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
3279 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
3280 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
3282 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
3283 Make it an inline function returning value after calling
3284 __elf_machine_fixup_plt().
3286 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
3289 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
3290 obtain the symbol address.
3292 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
3293 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
3295 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
3296 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
3299 2000-04-28 Jes Sorensen <jes@linuxcare.com>
3301 * elf/dl-runtime.c (fixup): Use the portable macros to get the
3302 symbol address of an object.
3304 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
3305 the symbol address of an object.
3307 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
3308 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
3309 (_dl_lookup_symbol_skip): Likewise.
3310 (_dl_lookup_versioned_symbol): Likewise.
3311 (_dl_lookup_versioned_symbol_skip): Likewise.
3313 2000-04-27 Jes Sorensen <jes@linuxcare.com>
3315 * elf/rtld.c (_dl_start): Get the function pointer return address
3316 via _dl_start_address for architectures that need a function
3317 pointer descriptor rather than just a pointer (ia64).
3319 * sysdeps/generic/dl-lookupcfg.h: New file.
3320 * sysdeps/ia64/dl-lookupcfg.h: New file.
3321 * sysdeps/ia64/dl-machine.h: New file.
3322 * sysdeps/ia64/dl-symaddr.c: New file.
3323 * sysdeps/ia64/dl-fptr.c: New file.
3325 * elf/elf.h: Add IA-64 specific definitions.
3327 2000-05-04 Jakub Jelinek <jakub@redhat.com>
3329 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
3332 2000-05-04 Jakub Jelinek <jakub@redhat.com>
3334 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
3337 2000-04-11 Geoff Keating <geoffk@cygnus.com>
3339 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
3340 symbol. Call _dl_init rather than the old way.
3342 2000-05-04 Ulrich Drepper <drepper@redhat.com>
3344 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
3345 test for pointer in range of DSO address space.
3347 2000-05-04 Andreas Jaeger <aj@suse.de>
3349 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
3351 2000-05-03 Ulrich Drepper <drepper@redhat.com>
3353 * locale/findlocale.c (_nl_find_locale): Add new parameter to
3354 calls of _nl_make_l10nflist.
3356 * libio/stdio.h: Make fseeko and ftello prototypes available is
3357 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
3359 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
3360 real unsetenv implementation from 1999-07-29 [PR libc/1714].
3362 2000-05-03 Bruno Haible <haible@clisp.cons.org>
3364 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
3365 before calling tfind.
3367 2000-03-05 Jakub Jelinek <jakub@redhat.com>
3369 * resolv/resolv.h (res_querydomain): Remove redefinition to
3370 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
3372 2000-05-03 Ulrich Drepper <drepper@redhat.com>
3374 * po/gl.po: Update from translation team.
3376 * manual/intro.texi (Program Basics): Change section title.
3377 * manual/process.texi: Fix reference.
3378 (Executing a File): Add reference exec in other section.
3379 * manual/signal.texi: Fix reference.
3380 * manual/startup.texi: Document syscall function.
3381 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
3383 2000-04-29 Bruno Haible <haible@clisp.cons.org>
3385 * intl/libintl.h (bind_textdomain_codeset): New declaration.
3386 * intl/bindtextdom.c (set_binding_values): New function.
3387 (bindtextdomain): Call it.
3388 (bind_textdomain_codeset): New function.
3389 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
3390 (free_mem): Free each binding's codeset.
3391 * intl/gettextP.h (struct binding): Add codeset field.
3392 (_nl_find_domain): Add domainbinding argument.
3393 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
3394 Pass it to _nl_make_l10nflist.
3395 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
3396 (_nl_make_l10nflist): Add domainbinding argument.
3397 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
3398 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
3399 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
3401 * manual/message.texi: New node "Charset conversion in gettext".
3403 2000-04-30 Bruno Haible <haible@clisp.cons.org>
3405 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
3406 appropriate. Handle possible __read error.
3408 2000-04-29 Bruno Haible <haible@clisp.cons.org>
3410 * intl/gettextP.h (__builtin_expect): Define as empty if not a
3412 * intl/loadinfo.h (__builtin_expect): Likewise.
3413 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
3414 __builtin_expect where appropriate.
3415 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3416 * intl/localealias.c (extend_alias_table): Return an error indicator.
3417 (read_alias_file): Bail out if extend_alias_table fails.
3419 2000-04-29 Bruno Haible <haible@clisp.cons.org>
3421 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
3422 * intl/localealias.c: Likewise.
3424 2000-05-01 Bruno Haible <haible@clisp.cons.org>
3426 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
3427 Initialize domain->plural and domain->nplurals even if there is no
3430 2000-05-01 Bruno Haible <haible@clisp.cons.org>
3432 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
3433 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
3434 In case of failure, goto converted.
3436 2000-05-01 Bruno Haible <haible@clisp.cons.org>
3438 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
3439 * iconv/gconv_int.h (norm_add_slashes): Move to here.
3440 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
3443 2000-04-29 Bruno Haible <haible@clisp.cons.org>
3445 * intl/dcigettext.c (transcmp): Compare the domains as well.
3446 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
3448 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
3451 2000-05-03 Ulrich Drepper <drepper@redhat.com>
3453 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
3454 Reported by Bruno Haible.
3456 2000-04-29 Bruno Haible <haible@clisp.cons.org>
3458 * manual/arith.texi: Remove @w from @itemize.
3460 2000-05-02 Andreas Jaeger <aj@suse.de>
3462 * conform/data/tar.h-data: Add some checks for specific values.
3464 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
3467 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
3470 * conform/data/netinet/in.h-data: Add exact checks for the values
3471 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
3473 * conform/data/float.h-data: Add some minimal values.
3475 * conform/conformtest.pl: Test for macros with string constants,
3476 check for minimum and maximum values.
3477 Add limits.h to headers.
3479 * conform/data/cpio.h-data: Test for value of MAGIC.
3481 * conform/data/limits.h-data: New file.
3483 2000-04-30 Bruno Haible <haible@clisp.cons.org>
3485 * math/Makefile (headers): Add bits/fenvinline.h.
3487 2000-05-01 Ulrich Drepper <drepper@redhat.com>
3489 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
3490 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
3492 * posix/Versions: Change posix_spawnattr_getdefault and
3493 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
3494 and posix_spawnattr_setsigdefault respectively.
3495 * posix/spawn.h: Likewise.
3496 * posix/spawnattr_getdefault.h: Likewise.
3497 * posix/spawnattr_setdefault.h: Likewise.
3498 * conform/data/spawn.h-data: Likewise.
3500 2000-05-01 Andreas Jaeger <aj@suse.de>
3502 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
3504 2000-04-30 Ulrich Drepper <drepper@redhat.com>
3506 * manual/sysinfo.texi: Document getdomainname, setdomainname
3508 * manual/string.texi: Fix typo.
3509 * manual/terminal.texi: Document gtty and stty.
3510 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
3512 2000-04-30 Andreas Jaeger <aj@suse.de>
3514 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
3515 accordance with Austin Draft.
3517 2000-04-30 Ulrich Drepper <drepper@redhat.com>
3519 * catgets/gencat.c (read_input_file): Use isblank and not isspace
3520 to recognize second character in comment line.
3522 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
3523 ENOBUFS if we are out of memory.
3525 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
3526 available if __USE_XOPEN2K.
3527 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
3528 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3529 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
3530 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
3531 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3532 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3533 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
3534 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
3536 2000-04-29 Ulrich Drepper <drepper@redhat.com>
3538 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
3539 Recognize option -s, -c, and -l.
3541 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
3543 * nscd/nscd.c: Start new session for nscd, drop privilegs
3544 to configured user if requested and no -S parameter are used.
3545 * nscd/nscd.conf: Add new option "server-user".
3546 * nscd/nscd_conf.c: Add support for new "server-user" option.
3547 * nscd/nscd.h: Add declaration for server_user variable.
3548 Based on patch by Chris Wing <wingc@engin.umich.edu>
3550 2000-04-29 Mark Kettenis <kettenis@gnu.org>
3552 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
3553 that changing the __restore and __restore_rt signal return code
3556 2000-04-29 Mark Kettenis <kettenis@gnu.org>
3558 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
3561 2000-04-29 Mark Kettenis <kettenis@gnu.org>
3563 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
3565 2000-04-29 Ulrich Drepper <drepper@redhat.com>
3567 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
3568 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
3570 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
3571 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
3572 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
3573 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
3574 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
3575 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
3576 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
3577 posix_fallocate, and posix_madvise.
3578 * conform/data/netdb.h-data: New file.
3579 * conform/data/pthread.h-data: Add pthread_barrier_t,
3580 pthread_barrierattr_t, pthread_barrier_destroy,
3581 pthread_barrier_init, pthread_barrier_wait,
3582 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
3583 pthread_barrierattr_init, pthread_barrierattr_setpshared,
3584 pthread_condattr_getclock, pthread_condattr_setclock,
3585 pthread_getcpuclockid, pthread_mutex_timedlock,
3586 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
3587 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
3588 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
3589 * conform/data/sched.h-data: Add sched_ss_low_priority,
3590 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
3592 * conform/data/semaphore.h-data: Add sem_timedwait.
3593 * conform/data/signal.h-data: Add SIGIO.
3594 * conform/data/spawn.h-data: New file.
3595 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
3596 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
3597 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
3598 Fix typo in gmtime_r definition.
3599 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
3600 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
3601 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
3602 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
3603 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
3604 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
3605 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
3606 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
3607 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
3608 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
3609 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
3610 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
3611 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
3612 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
3613 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
3614 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
3615 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
3616 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
3617 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
3618 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
3619 typo in off_t definition.
3620 * conform/data/net/if.h-data: New file.
3621 * conform/data/netinet/in.h-data: New file.
3622 * conform/data/netinet/tcp.h-data: New file.
3623 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
3624 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
3625 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
3626 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
3627 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
3628 and posix_typed_mem_open.
3629 * conform/data/sys/socket.h-data: New file.
3630 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
3631 * conform/data/sys/types.h-data: Add pthread_barrier_t,
3632 pthread_barrierattr_t, and pthread_spinlock_t.
3633 * conform/data/sys/un.h-data: New file.
3634 * conform/data/sys/utsname.h-data: New file.
3636 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
3638 * inet/gethstbyad.c (gethostbyname): Likewise.
3639 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
3640 * inet/getipnodebyad.c (getipnodebyad): Likewise.
3641 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
3642 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
3644 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
3645 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
3646 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
3647 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
3648 * resolv/gethnamaddr.c (gethostbyname): Likewise.
3649 * resolv/netdb.h (struct hostent): Fix type of h_length member.
3650 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
3651 and second parameter.
3653 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
3656 2000-04-29 Andreas Jaeger <aj@suse.de>
3658 * conform/data/arpa/inet.h-data: New file.
3660 2000-04-28 Geoff Clare <gwc@unisoft.com>
3662 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
3663 path passed to ftw() or nftw() is an empty string.
3664 Closes PR libc/1710.
3666 2000-04-27 Ulrich Drepper <drepper@redhat.com>
3668 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
3669 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
3670 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
3671 * localedata/tst-mbswcs4.c: New file.
3672 * localedata/tst-mbswcs5.c: New file.
3674 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
3675 == NULL. Little optimization.
3677 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
3678 DT_PREINIT_ARRAYSZ).
3679 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
3681 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
3682 overflows in conversion from ASCII.
3684 2000-04-26 Jakub Jelinek <jakub@redhat.com>
3686 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
3687 * Makerules (full_config_sysdirs): Likewise.
3688 * MakeTAGS (full_config_sysdirs): Likewise.
3690 2000-04-26 Jakub Jelinek <jakub@redhat.com>
3692 * .cvsignore: Remove linuxthreads.
3693 * po/.cvsignore: Remove *.pot.
3694 * posix/glob/.cvsignore: Removed.
3695 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
3697 2000-04-25 Andreas Jaeger <aj@suse.de>
3699 * conform/Makefile (distribute): Also distribute contents of
3702 * Makerules (no_deps): Remove abi-versions.h.
3704 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
3706 2000-04-25 Jakub Jelinek <jakub@redhat.com>
3708 * sysdeps/sparc/sparc64/elf/Dist: Remove.
3709 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
3710 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
3711 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
3712 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
3713 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
3716 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
3718 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
3720 2000-04-23 Bruno Haible <haible@clisp.cons.org>
3722 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
3723 * intl/l10nflist.c: Likewise.
3725 2000-04-23 Bruno Haible <haible@clisp.cons.org>
3727 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
3728 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
3729 * intl/textdomain.c [!_LIBC]: Likewise.
3730 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
3731 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
3732 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
3735 2000-04-23 Bruno Haible <haible@clisp.cons.org>
3737 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
3738 character set conversion also in the case the translation was found
3739 after a hash collision or through binary search. Store the maximum
3740 index together with the converted message. Use iconv() when available.
3741 In case of out of memory during conversion, return the unconverted
3742 translated string, not NULL.
3744 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
3746 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
3747 to avoid name clashes with the ia32 linker.
3749 2000-04-25 Jakub Jelinek <jakub@redhat.com>
3751 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
3754 2000-04-27 Ulrich Drepper <drepper@redhat.com>
3756 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
3757 strtoumax, strfry, and memfrob.
3758 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
3759 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
3761 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
3762 if this function is available.
3764 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
3767 2000-04-27 Jakub Jelinek <jakub@redhat.com>
3769 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
3771 2000-04-27 Ulrich Drepper <drepper@redhat.com>
3773 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
3774 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
3775 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
3776 * localedata/tst-mbswcs3.c: New file.
3778 2000-04-26 Ulrich Drepper <drepper@redhat.com>
3780 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
3781 characters. Don't handle incomplete characters as errors.
3782 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
3783 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
3784 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
3785 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
3786 * localedata/tst-mbswcs2.c: New file.
3788 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
3789 stored character in state in UNPACK_BYTES macro.
3790 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
3791 test for available characters, handle result of BODY code correctly.
3792 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
3793 (distribute): Add tst-mbswcs.sh.
3794 Add rule to run tst-mbswcs.sh.
3795 * localedata/tst-mbswcs.sh: New file.
3796 * localedata/tst-mbswcs1.c: New file.
3798 2000-04-26 Jakub Jelinek <jakub@redhat.com>
3800 * nis/nis_callback.c (__nis_create_callback): Do failed memory
3801 allocation fixups centrally, fix __builtin_expect call, return NULL
3802 on failure, not NIS_NOMEMORY.
3804 2000-04-27 Bruno Haible <haible@clisp.cons.org>
3806 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
3808 * intl/loadinfo.h (internal_function): Define if not already defined.
3810 2000-04-27 Andreas Jaeger <aj@suse.de>
3812 * intl/libintl.h: Fix typo, reported by Bruno Haible
3813 <haible@clisp.cons.org>.
3815 2000-04-25 Ulrich Drepper <drepper@redhat.com>
3817 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
3818 setting the state to GMON_PROF_BUSY.
3820 2000-04-24 Ulrich Drepper <drepper@redhat.com>
3822 * elf/dl-profile.c (_dl_start_profile): define all variables which
3823 do not have to be global as local variables.
3825 * nis/nis_callback.c (__nis_create_callback): Partially undo last
3826 patch. Keep needed tests for failed memory allocation.
3828 * elf/dl-reloc.c (_dl_relocate_object): Add one more
3829 __builtin_expect saying that we don't normally expect to profile.
3831 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
3832 __builtin_expect where desirable.
3834 2000-04-23 Ulrich Drepper <drepper@redhat.com>
3836 * manual/Makefile (chapters): Add syslog.
3837 * manual/syslog.texi: New file.
3838 * manual/math.texi: Fix references.
3839 * manual/terminal.texi: Likewise.
3840 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
3842 2000-04-18 Jakub Jelinek <jakub@redhat.com>
3844 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
3845 stdlib.h was not included or __USE_XOPEN not defined.
3847 2000-04-23 Ulrich Drepper <drepper@redhat.com>
3849 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
3850 Patch by Zack Weinberg <zack@wolery.cumb.org>.
3852 2000-04-22 Ulrich Drepper <drepper@redhat.com>
3854 * manual/examples/subopt.c (mount_opts): Add missing terminating
3856 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
3858 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
3859 * libio/ftello.c: Likewise.
3860 * libio/ftello64.c: Likewise.
3861 * libio/ioftell.c: Likewise.
3862 * sysdeps/generic/memrchr.c: Likewise.
3863 * sysdeps/posix/libc_fatal.c: Likewise.
3864 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
3865 * misc/fstab.c: Include <string.h> for strcmp prototype.
3866 * sysdeps/generic/ldsodefs.h: Likewise.
3867 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3868 Patch by Kurt Roeckx <Q@ping.be>.
3870 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
3871 Remove db-open. Change all uses.
3872 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
3874 2000-04-21 Jakub Jelinek <jakub@redhat.com>
3876 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
3877 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
3878 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
3879 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
3880 with .set noat/at to shut up warnings.
3881 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
3882 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
3883 compilation if __NR_pciconfig_iobase is not defined.
3884 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
3887 2000-04-21 Ulrich Drepper <drepper@redhat.com>
3889 * manual/sysinfo.texi: Fix typo.
3890 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
3891 Replace "high precision time" with "high accuracy clock".
3893 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
3895 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
3896 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
3898 * nis/nis_subr.c: Use __builtin_expect.
3899 * nis/ypclnt.c: Likewise.
3900 * nis/nis_getservlist.c: Likewise.
3901 * nis/nis_creategroup.c: Likewise.
3903 * nis/nis_callback.c (__nis_create_callback): Check result of
3904 memory allocation. Fix memory leaks. Use __builtin_expect.
3905 (__nis_destroy_callback): Fix memory leaks.
3907 2000-04-21 Andreas Jaeger <aj@suse.de>
3909 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
3910 * sysdeps/mips/mips64/add_n.S: Likewise.
3911 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
3912 * sysdeps/mips/mips64/lshift.S: Likewise.
3913 * sysdeps/mips/mips64/mul_1.S: Likewise.
3914 * sysdeps/mips/mips64/rshift.S: Likewise.
3915 * sysdeps/mips/mips64/setjmp.S: Likewise.
3916 * sysdeps/mips/mips64/sub_n.S: Likewise.
3917 * sysdeps/mips/mips64/submul_1.S: Likewise
3918 * sysdeps/unix/mips/sysdep.S: Likewise.
3920 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
3921 and update comment. The strtab from _dl_relocate_object can be
3924 2000-04-21 Ulrich Drepper <drepper@redhat.com>
3926 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
3927 * iconv/iconv_close.c (iconv_close): Likewise.
3928 * iconv/iconv_open.c (iconv_open): Likewise.
3930 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
3931 __builtin_expect where useful.
3933 * grp/initgroups.c (initgroups): Test for result of memory
3934 allocation and punt if it fails.
3936 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
3937 * grp/fgetgrent.c (fgetfrent): Likewise.
3938 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
3940 2000-04-21 Jakub Jelinek <jakub@redhat.com>
3942 * libio/vasprintf.c: Include string.h to get memcpy prototype.
3944 2000-04-20 Ulrich Drepper <drepper@redhat.com>
3946 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
3947 don't search for NUL byte to decrement counter.
3948 Reported by Ulrich.Brink@sap.com.
3950 * iconv/gconv_simple.c: Define separate functions to convert from
3951 UCS4/UCS4-LE to the internal encoding.
3952 * iconv/gconv_builtin.h: Use separate functions to convert from
3953 UCS4/UCS4-LE to the internal encoding.
3954 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
3955 __gconv_transform_ucs4le_internal.
3957 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
3958 output buffer overflow. Reported by Ulrich.Brink@sap.com.
3960 * iconv/skeleton.c: Add some more __builtin_expect.
3961 * iconv/loop.c: Likewise.
3963 2000-03-08 H.J. Lu <hjl@gnu.org>
3965 * posix/regex.c (regex_compile): Correctly handle "\{" when
3966 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
3968 2000-04-20 Ulrich Drepper <drepper@redhat.com>
3970 * manual/stdio.texi: Give advise about handling error when using
3972 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
3974 2000-04-19 Jakub Jelinek <jakub@redhat.com>
3976 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
3977 field to nelems * sizeof (uint32_t).
3978 * locale/programs/ld-address.c (address_output): Align word fields
3980 * locale/programs/ld-monetary.c (monetary_output): Likewise.
3981 Don't restart idx pointers to idx end at the duo_int_curr_symbol
3983 Avoid giving arbitrary garbage in the crncystr field.
3984 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
3985 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
3987 * locale/programs/ld-numeric.c (numeric_output): Likewise.
3988 Don't restart idx pointers to idx end at the decimal_point_wc field.
3989 * locale/programs/ld-time.c (time_output): week_1stday should be
3990 word, not byte. Align it properly.
3992 2000-04-19 H.J. Lu <hjl@gnu.org>
3994 * csu/gmon-start.c (_start): Declared as "extern void".
3997 2000-04-18 Andreas Jaeger <aj@suse.de>
3999 * manual/install.texi (Running make install): Don't mention utmpd
4002 2000-04-18 Andreas Jaeger <aj@suse.de>
4004 * linuxthreads/Versions: Use ld instead of ld.so.
4006 * elf/Makefile (ld-map): Use ld.map.
4008 * Versions.def: Use ld instead of ld.so.
4009 * elf/Versions: Likewise.
4010 * sysdeps/mach/hurd/Versions: Likewise.
4012 2000-04-20 Andreas Jaeger <aj@suse.de>
4014 * elf/rtld.c (print_statistics): Move ifndef further up.
4015 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
4016 (dl_main): Likewise.
4018 2000-04-18 Ulrich Drepper <drepper@redhat.com>
4020 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
4021 * gmon/Versions: Move moncontrol to GLIBC_2.2.
4023 * po/cs.po: Update from translation team.
4025 * sysdeps/generic/updwtmp.c: Remove daemon support.
4027 * login/Makefile (routines): Remove utmp_daemon.
4029 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
4030 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
4031 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
4032 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
4034 * elf/rtld.c: Display statitics option also if hp timing is not
4037 * login/programs/connection.c: Removed.
4038 * login/programs/database.c Removed.
4039 * login/programs/error.c: Removed.
4040 * login/programs/request.c: Removed.
4041 * login/programs/xtmp.c: Removed.
4042 * login/programs/xtmp.h: Removed.
4043 * login/Makefile: Remove rules for utmpd.
4044 * login/README.utmpd: Removed.
4045 * login/utmp_daemon.c: Removed.
4046 * login/getutent_r.c: Remove references to daemon functions.
4047 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
4050 2000-04-18 Andreas Jaeger <aj@suse.de>
4052 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
4053 2.2 for libnsl, libresolv, librt, libnss_*.
4055 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
4057 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
4059 2000-04-18 Ulrich Drepper <drepper@redhat.com>
4061 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
4062 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
4063 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
4064 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
4065 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
4066 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
4067 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
4068 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
4069 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
4070 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
4071 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
4072 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
4073 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
4075 * sysdeps/unix/sysv/aix/msync.c: New file.
4076 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
4077 * sysdeps/unix/sysv/aix/net/if.h: New file.
4078 * sysdeps/unix/sysv/aix/pipe.c: New file.
4079 * sysdeps/unix/sysv/aix/poll.c: New file.
4080 * sysdeps/unix/sysv/aix/rename.c: New file.
4081 * sysdeps/unix/sysv/aix/rmdir.c: New file.
4082 * sysdeps/unix/sysv/aix/select.c: New file.
4083 * sysdeps/unix/sysv/aix/semctl.c: New file.
4084 * sysdeps/unix/sysv/aix/semget.c: New file.
4085 * sysdeps/unix/sysv/aix/semop.c: New file.
4086 * sysdeps/unix/sysv/aix/sendto.c: New file.
4087 * sysdeps/unix/sysv/aix/setgroups.c: New file.
4088 * sysdeps/unix/sysv/aix/setpgid.c: New file.
4089 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
4090 * sysdeps/unix/sysv/aix/setpriority.c: New file.
4091 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
4092 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
4093 * sysdeps/unix/sysv/aix/setsid.c: New file.
4094 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
4095 * sysdeps/unix/sysv/aix/shmat.c: New file.
4096 * sysdeps/unix/sysv/aix/shmctl.c: New file.
4097 * sysdeps/unix/sysv/aix/shmdt.c: New file.
4098 * sysdeps/unix/sysv/aix/shmget.c: New file.
4099 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
4100 * sysdeps/unix/sysv/aix/sigstack.c: New file.
4101 * sysdeps/unix/sysv/aix/socket.c: New file.
4102 * sysdeps/unix/sysv/aix/socketpair.c: New file.
4103 * sysdeps/unix/sysv/aix/speed.c: New file.
4104 * sysdeps/unix/sysv/aix/symlink.c: New file.
4105 * sysdeps/unix/sysv/aix/sync.c: New file.
4106 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
4107 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
4108 * sysdeps/unix/sysv/aix/times.c: New file.
4109 * sysdeps/unix/sysv/aix/ulimit.c: New file.
4110 * sysdeps/unix/sysv/aix/umask.c: New file.
4111 * sysdeps/unix/sysv/aix/unlink.c: New file.
4112 * sysdeps/unix/sysv/aix/ustat.c: New file.
4113 * sysdeps/unix/sysv/aix/utimes.c: New file.
4115 2000-04-18 Andreas Jaeger <aj@suse.de>
4117 * manual/startup.texi (Environment Access): Fix putenv prototype
4118 according to recent changes.
4119 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
4122 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
4125 2000-04-18 Ulrich Drepper <drepper@redhat.com>
4127 * posix/Makefile (tests): Add tst-getaddrinfo.
4128 * posix/tst-getaddrinfo.c: New file.
4130 2000-04-17 Ulrich Drepper <drepper@redhat.com>
4132 * manual/sysinfo.texi: Document that umount2 is not widely available.
4134 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
4135 signal timing is not really implemented.
4137 2000-04-17 Andreas Jaeger <aj@suse.de>
4139 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
4141 2000-04-17 Jakub Jelinek <jakub@redhat.com>
4143 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
4146 2000-04-17 Ulrich Drepper <drepper@redhat.com>
4148 * manual/intro.texi: Change reference from System Information to
4150 * manual/users.texi: Likewise.
4151 * manual/conf.texi: Likewise.
4152 * manual/sysinfo.texi: Document mount, umount, and umount2.
4153 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4155 2000-04-17 Jakub Jelinek <jakub@redhat.com>
4157 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
4158 Create wnumstr as well as numstr to support wide character output
4161 2000-04-15 Jakub Jelinek <jakub@redhat.com>
4163 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
4164 modification and move it...
4165 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
4166 Add -melf64_sparc switch to $(LD) on sparc64-linux.
4167 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
4168 switch to $(LD) on sparc-linux.
4170 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
4172 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
4173 and setresuid from sysdep_routines.
4175 2000-04-17 Ulrich Drepper <drepper@redhat.com>
4177 * manual/Makefile (chapters): Add resource.
4179 * manual/time.texi: Move section on resources to...
4180 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
4182 * manual/setjmp.texi: Adjust back reference.
4183 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4185 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
4187 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
4188 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
4189 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
4190 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
4191 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
4192 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
4193 * sysdeps/unix/sysv/aix/close.c: Add copyright.
4194 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
4195 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
4196 * sysdeps/unix/sysv/aix/access.c: Add copyright.
4197 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
4198 * sysdeps/unix/sysv/aix/Implies: New file.
4199 * sysdeps/unix/sysv/aix/Versions: New file.
4200 * sysdeps/unix/sysv/aix/bind.c: New file.
4201 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
4202 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
4203 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
4204 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
4205 * sysdeps/unix/sysv/aix/chdir.c: New file.
4206 * sysdeps/unix/sysv/aix/chmod.c: New file.
4207 * sysdeps/unix/sysv/aix/chroot.c: New file.
4208 * sysdeps/unix/sysv/aix/creat.c: New file.
4209 * sysdeps/unix/sysv/aix/dl-close.c: New file.
4210 * sysdeps/unix/sysv/aix/dl-open.c: New file.
4211 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
4212 * sysdeps/unix/sysv/aix/fchdir.c: New file.
4213 * sysdeps/unix/sysv/aix/fchmod.c: New file.
4214 * sysdeps/unix/sysv/aix/getgroups.c: New file.
4215 * sysdeps/unix/sysv/aix/gethostname.c: New file.
4216 * sysdeps/unix/sysv/aix/getpriority.c: New file.
4217 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
4218 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
4219 * sysdeps/unix/sysv/aix/getrusage.c: New file.
4220 * sysdeps/unix/sysv/aix/link.c: New file.
4221 * sysdeps/unix/sysv/aix/madvise.c: New file.
4222 * sysdeps/unix/sysv/aix/mkdir.c: New file.
4223 * sysdeps/unix/sysv/aix/mknod.c: New file.
4224 * sysdeps/unix/sysv/aix/mprotect.c: New file.
4225 * sysdeps/unix/sysv/aix/msgctl.c: New file.
4226 * sysdeps/unix/sysv/aix/msgget.c: New file.
4227 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
4229 2000-04-17 Andreas Jaeger <aj@suse.de>
4231 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
4232 as suggested by Ulrich Drepper.
4233 (__dl_runtime_resolve): Remove unused variable, initialize sym
4235 (RTLD_START): Document OFFSET_GP_GOT.
4236 (OFFSET_GP_GOT): New magic value.
4237 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
4238 (elf_machine_got_rel): Only declare strtab if needed.
4239 (elf_machine_relplt): Removed, it's not needed.
4240 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
4242 * sysdeps/mips/add_n.S: Add newline at EOF.
4243 * sysdeps/mips/rshift.S: Likewise.
4244 * sysdeps/mips/mul_1.S: Likewise.
4245 * sysdeps/mips/lshift.S: Likewise.
4246 * sysdeps/mips/addmul_1.S: Likewise.
4248 2000-04-17 Ulrich Drepper <drepper@redhat.com>
4250 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
4252 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
4253 * elf/dl-lookup.c: Likewise.
4254 * elf/dl-init.c (_dl_init): Likewise.
4255 * elf/dl-fini.c (_dl_fini): Likewise.
4256 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4257 * elf/dl-close.c (_dl_close): Likewise.
4258 * elf/rtld.c (_dl_start_final): Likewise.
4260 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
4262 2000-04-15 Ulrich Drepper <drepper@redhat.com>
4264 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
4265 only fall back on using Linux.
4267 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
4268 Before testing versions check that we actually loaded the object
4269 and whether we are in trace mode. If not loaded during tracing don't
4270 test versions in this object.
4271 (_dl_check_all_versions): Take new parameter and pass to
4272 _dl_check_map_versions.
4273 * sysdeps/generic/ldsodefs.h: Update prototypes for
4274 _dl_check_all_versions and _dl_check_map_versions.
4275 * elf/rtld.c (struct version_check_args): Add dotrace.
4276 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
4277 (dl_main): Pass info about trace mode to version_check_doit.
4278 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
4279 _dl_check_all_versions.
4281 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
4283 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4285 * manual/argp.texi: Document index parameter of argp_parse.
4287 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
4289 2000-04-14 Andreas Jaeger <aj@suse.de>
4291 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
4292 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
4294 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
4296 2000-04-15 Ulrich Drepper <drepper@redhat.com>
4298 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
4299 compat_symbol call for old adjtime.
4301 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
4302 function interface. Patch by Richard Henderson <rth@cygnus.com>.
4304 * posix/Makefile (headers): Add spawn.h.
4305 (distribute): Add spawn_int.h.
4306 (routines): Add spawn_faction_init, spawn_faction_destroy,
4307 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
4308 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
4309 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
4310 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
4311 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
4312 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
4313 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
4314 posix_spawnattr_init, posix_spawnattr_destroy,
4315 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
4316 posix_spawnattr_getflags, posix_spawnattr_setflags,
4317 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
4319 * posix/spawn.c: New file.
4320 * posix/spawn.h: New file.
4321 * posix/spawn_faction_addclose.c: New file.
4322 * posix/spawn_faction_adddup2.c: New file.
4323 * posix/spawn_faction_addopen.c: New file.
4324 * posix/spawn_faction_destroy.c: New file.
4325 * posix/spawn_faction_init.c: New file.
4326 * posix/spawn_int.h: New file.
4327 * posix/spawnattr_destroy.c: New file.
4328 * posix/spawnattr_getdefault.c: New file.
4329 * posix/spawnattr_getflags.c: New file.
4330 * posix/spawnattr_getpgroup.c: New file.
4331 * posix/spawnattr_getschedparam.c: New file.
4332 * posix/spawnattr_getschedpolicy.c: New file.
4333 * posix/spawnattr_getsigmask.c: New file.
4334 * posix/spawnattr_init.c: New file.
4335 * posix/spawnattr_setdefault.c: New file.
4336 * posix/spawnattr_setflags.c: New file.
4337 * posix/spawnattr_setpgroup.c: New file.
4338 * posix/spawnattr_setschedparam.c: New file.
4339 * posix/spawnattr_setschedpolicy.c: New file.
4340 * posix/spawnattr_setsigmask.c: New file.
4341 * posix/spawni.c: New file.
4342 * posix/spawnp.c: New file.
4344 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
4345 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
4347 2000-04-14 Ulrich Drepper <drepper@redhat.com>
4349 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
4350 * malloc/malloc.c: Implement posix_memalign for glibc.
4351 * include/stdlib.h: Add prototype for __posix_memalign.
4352 * stdlib/stdlib.h: Add prototype for posix_memalign.
4354 2000-04-14 Andreas Jaeger <aj@suse.de>
4356 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
4358 (elf_machine_got_rel): Cast sym correctly.
4360 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
4361 * sysdeps/mips/addmul_1.S: Likewise.
4362 * sysdeps/mips/lshift.S: Likewise.
4363 * sysdeps/mips/mul_1.S: Likewise.
4364 * sysdeps/mips/rshift.S: Likewise.
4365 * sysdeps/mips/sub_n.S: Likewise.
4366 * sysdeps/mips/submul_1.S: Likewise.
4368 * stdlib/stdlib.h: Fix typo in comment.
4370 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
4371 2.2 for libdl, ld and libm.
4373 * sysdeps/generic/madvise.c: Fix typos.
4375 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
4377 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
4379 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
4382 2000-04-14 Ulrich Drepper <drepper@redhat.com>
4384 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
4385 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
4386 Make old name weak alias.
4387 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
4388 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
4389 Make old name weak alias.
4390 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
4392 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
4393 posix_fallocate, and posix_fallocate64.
4394 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
4395 posix_fallocate, and posix_fallocate64.
4396 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
4397 posix_fallocate, and posix_fallocate64.
4398 * sysdeps/generic/fadvise.c: New file.
4399 * sysdeps/generic/fadvise64.c: New file.
4400 * sysdeps/generic/fallocate.c: New file.
4401 * sysdeps/generic/fallocate64.c: New file.
4402 * sysdeps/posix/fallocate.c: New file.
4403 * sysdeps/posix/fallocate64.c: New file.
4404 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
4405 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
4406 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
4407 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
4408 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
4409 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
4410 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
4411 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
4412 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4414 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
4415 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4417 2000-04-13 Ulrich Drepper <drepper@redhat.com>
4419 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
4420 * misc/sys/mman.h (posix_madvise): Add prototype.
4421 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
4422 old name and posix_madvise weak aliases.
4423 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4424 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
4425 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
4426 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
4427 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
4428 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
4429 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4431 2000-04-13 Andreas Jaeger <aj@suse.de>
4433 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
4435 (elf_machine_got_rel): Only add runtime display if needed.
4436 (elf_machine_got_rel): Handle symbol versioning.
4438 2000-04-13 Andreas Jaeger <aj@suse.de>
4440 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
4442 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
4445 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
4446 with some applications.
4447 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
4449 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
4450 * sysdeps/mips/bsd-_setjmp.S: Likewise.
4451 * sysdeps/mips/setjmp.S: Likewise.
4453 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
4455 2000-04-13 Ulrich Drepper <drepper@redhat.com>
4457 * posix/globtest.sh: Work around inconsistency with expanding ~/
4458 in shell (PR libc/1690). Reported by patsmith@pobox.com.
4460 2000-04-12 Ulrich Drepper <drepper@redhat.com>
4462 * posix/getconf.c: Add support for many more POSIX options.
4463 * sysdeps/posix/sysconf.c: Likewise.
4464 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
4465 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
4467 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
4468 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
4469 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
4470 CLOCK_THREAD_CPUTIME_ID.
4471 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
4472 CLOCK_PROCESS_CPUTIME_ID.
4473 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
4474 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
4475 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
4476 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
4478 * malloc/Makefile (tests): Add tst-calloc.
4479 * malloc/tst-calloc.c: New file.
4481 * sysdeps/arm/libm-test-ulps: New file.
4483 * malloc/malloc.c: Undo all of today's changes.
4485 * locale/programs/locale.c (show_info): Don't try to look into
4486 data for LC_ALL (there is none).
4488 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
4489 avoid writing over boundary.
4490 Patch by Greg McGary <gkm@eng.ascend.com>.
4492 * sysdeps/arm/memprof.h: New file.
4494 2000-04-12 Andreas Jaeger <aj@suse.de>
4496 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
4498 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
4499 for memmem declaration.
4501 2000-04-12 Ulrich Drepper <drepper@redhat.com>
4503 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
4505 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4507 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
4509 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
4510 Patch by Bart Veer <bartv@redhat.com>.
4512 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
4515 2000-04-11 Andreas Jaeger <aj@suse.de>
4517 * sysdeps/mips/dl-machine.h: Update some comments.
4518 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
4520 2000-04-11 Ulrich Drepper <drepper@redhat.com>
4522 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
4523 _POSIX_SHARED_MEMORY_OBJECTS.
4525 * rt/Makefile (tests): Add tst-shm.
4526 Add rules to generate tst-shm.
4527 * rt/tst-shm.c: New file.
4529 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
4532 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
4533 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
4534 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
4535 * sysdeps/generic/shm_open.c: New file.
4536 * sysdeps/generic/shm_unlink.c: New file.
4537 * sysdeps/unix/sysv/linux/shm_open.c: New file.
4538 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
4539 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
4540 __endmntent, __getmntent_r, __setmntent, and __statfs.
4542 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
4543 fragmentation by allocating new memory at the end instead of
4546 * posix/globtest.sh: Fix last change.
4548 2000-04-10 Philip Blundell <philb@gnu.org>
4550 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
4551 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
4552 IPV6_DROP_MEMBERSHIP.
4553 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
4556 2000-04-11 Ulrich Drepper <drepper@redhat.com>
4558 * elf/readlib (process_file): Close streams in case of an error.
4560 2000-04-09 Andreas Jaeger <aj@suse.de>
4562 * elf/readlib.c (process_file): Check if file is big enough to
4563 contain aout and ELF headers.
4564 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
4566 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
4568 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
4570 2000-04-11 Ulrich Drepper <drepper@redhat.com>
4572 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
4574 * rt/Makefile (tests): Add tst-clock.
4575 Add rules to build tst-clock.
4576 * rt/tst-clock.c: New file.
4577 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
4578 about initialization of nsec.
4579 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
4580 about initialization of freq. Set retval to zero if successful.
4581 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
4583 2000-04-10 Ulrich Drepper <drepper@redhat.com>
4585 * Versions.def (librt): Add GLIBC_2.2.
4586 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
4587 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
4588 timer_getoverr, timer_gettime, and timer_settime.
4589 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
4590 clock_settime, timer_create, timer_delete, timer_getoverrun,
4591 timer_gettime, and timer_settime.
4592 * sysdeps/generic/clock_getcpuclockid.c: New file.
4593 * sysdeps/generic/get_clockfreq.c: New file.
4594 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
4595 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
4596 * sysdeps/mach/hurd/i386/bits/time.h: New file.
4597 * sysdeps/unix/i386/i586/clock_getres.c: New file.
4598 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
4599 * sysdeps/unix/i386/i686/Implies: New file.
4600 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
4601 * time/Makefile (routines): Move clock_getres, clock_gettime,
4602 clock_settime, timer_create, timer_delete, timer_getoverr,
4603 timer_gettime, and timer_settime to rt/Makefile.
4604 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
4605 clock_settime, timer_create, timer_delete, timer_getoverrun,
4606 timer_gettime, and timer_settime.
4607 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
4609 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
4610 and not const as attribute name.
4612 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
4614 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
4616 2000-04-10 Andreas Schwab <schwab@suse.de>
4618 * posix/globtest.sh: Skip tests that depend on unreadable
4619 directories if run as root.
4621 2000-04-10 Ulrich Drepper <drepper@redhat.com>
4623 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
4624 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
4626 2000-04-09 Ulrich Drepper <drepper@redhat.com>
4628 * sysdeps/unix/clock_gettime.c: New file.
4629 * sysdeps/unix/clock_settime.c: New file.
4630 * sysdeps/posix/clock_getres.c: New file.
4632 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
4634 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
4635 lseek call be passing in a buffer which never allow a successful
4636 first getdents syscall if not at leas the initial entry can be
4637 stored in the user buffer.
4639 * localedata/Makefile: Add rules to clean up directories created by
4642 2000-04-09 Geoff Clare <gwc@unisoft.com>
4644 * localedata/tst-fmon.data: Added new tests for strfmon()
4645 using test locales with all combinations of cs_precedes,
4646 sign_posn and sep_by_space.
4647 * localedata/tst-fmon.sh: Updated to support the new tests.
4648 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
4649 the localedef source for the new strfmon() test locale.
4650 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
4651 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
4652 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
4653 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
4654 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
4655 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
4656 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
4657 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
4658 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
4659 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
4660 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
4661 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
4662 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
4663 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
4665 * stdlib/strfmon.c: Correct problems with missing or extra
4666 spaces for unusual combinations of sign_posn and sep_by_space.
4667 Improved left-precision alignment code.
4669 2000-04-07 Andreas Jaeger <aj@suse.de>
4671 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
4673 2000-04-10 Andreas Jaeger <aj@suse.de>
4675 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
4677 2000-04-09 Ulrich Drepper <drepper@redhat.com>
4679 Implement handling of restartable conversion functions according to
4681 * iconv/gconv.h (__gconv_fct): Add additional parameter.
4682 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
4683 * iconv/gconv.c: Pass additional parameter to conversion function.
4684 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
4685 (internal_ucs4le_loop_single): New function.
4686 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
4687 (__gconv_transform_internal_ascii): Likewise.
4688 (__gconv_transform_internal_utf8): Likewise.
4689 (__gconv_transform_utf8_internal): Likewise.
4690 (__gconv_transform_ucs2_internal): Likewise.
4691 (__gconv_transform_internal_ucs2): Likewise.
4692 (__gconv_transform_ucs2reverse_internal): Likewise.
4693 (__gconv_transform_internal_ucs2reverse): Likewise.
4694 (internal_ucs4le_loop_unaligned): Before return
4695 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
4696 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
4697 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
4698 * iconv/loop.c: Fit in definition of function to convert one character
4699 for processing of left-over bytes from the state object.
4700 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
4701 inend to match names in loop functions.
4702 (RESET_INPUT_BUFFER): Change apprpriately.
4703 (gconv): If needed, call function to process bytes from the state
4704 object. Similar at the end: store left over bytes if input is
4706 Take extra argument and add new argument to all calls of the
4707 conversion function.
4708 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
4709 information in the state object to not conflict with length count.
4710 * iconvdata/iso-2022-jp.c: Likewise.
4711 * iconvdata/iso-2022-kr.c: Likewise.
4712 * iconvdata/unicode.c: Adjust for change change in parameters of
4714 * iconvdata/utf-16.c: Likewise.
4715 * libio/iofwide.c: Add new parameter to all calls of conversion
4717 * wcsmbs/btowc.c: Likewise.
4718 * wcsmbs/mbrtowc.c: Likewise.
4719 * wcsmbs/mbsnrtowcs.c: Likewise.
4720 * wcsmbs/mbsrtowcs.c: Likewise.
4721 * wcsmbs/wcrtomb.c: Likewise.
4722 * wcsmbs/wcsnrtombs.c: Likewise.
4723 * wcsmbs/wcsrtombs.c: Likewise.
4724 * wcsmbs/wctob.c: Likewise.
4726 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
4729 2000-04-07 Andreas Jaeger <aj@suse.de>
4731 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
4734 2000-04-07 Ulrich Drepper <drepper@redhat.com>
4736 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
4737 element a union to allow byte access.
4738 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
4740 * iconvdata/iso-2022-jp.c: Likewise.
4741 * iconvdata/iso-2022-kr.c: Likewise.
4742 * wcsmbs/mbsinit.c: Likewise.
4743 * stdlib/mblen.c: Likewise.
4744 * stdio-common/printf-parse.h: Likewise.
4746 2000-04-06 Ulrich Drepper <drepper@redhat.com>
4748 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
4749 kernel does not allow relative seeks on descriptors associated
4750 with directories. Go back to get the position in the directory
4751 every time we enter the function. Return -1 and set errno if one
4752 entry could be read from the kernel but does not fit into the
4753 buffer passed in by the user.
4755 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
4756 Support ..(2).. ellipsis.
4757 (parse_charmap): Recognize ..(2).. etc and pass step down.
4758 Correctly generate names for UCS4 characters.
4760 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
4761 (ctype_finish): We know the wide character value for <SP>,
4763 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
4764 (charclass_ucs4_ellipsis): Likewise.
4765 (read_translit_ignore_entry): Store ellipsis step.
4766 (ctype_read): Recognize ..(2).. etc and pass step down.
4768 * locale/programs/linereader.c (lr_token): When seeing comment
4769 character ignore only rest of line in sources but stop at escaped
4771 Recognize ..(2).. and ....(2).....
4773 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
4774 and tok_ellipsis4_2.
4776 2000-04-06 Andreas Jaeger <aj@suse.de>
4778 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
4779 removed, remove it here also.
4780 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
4781 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
4782 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
4783 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
4785 2000-04-06 Jakub Jelinek <jakub@redhat.com>
4787 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
4788 include bits/sigcontext.h.
4789 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4791 2000-04-06 Ulrich Drepper <drepper@redhat.com>
4793 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
4794 collation symbol definition. Value in quivalence definition must
4795 be defined, don't check that it is not.
4797 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
4798 values as character names.
4800 * locale/programs/ld-ctype.c (get_character): Handle missing
4801 repertoire map correctly.
4803 2000-04-05 Cristian Gafton <gafton@redhat.com>
4805 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
4806 because it is used in generic code.
4807 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
4808 * wcsmbs/wcwidth.h: Declare __ctype32_b.
4809 * intl/gettext.c: Include <locale.h>.
4810 * intl/ngettext.c: Likewise.
4812 2000-04-05 Jakub Jelinek <jakub@redhat.com>
4814 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
4815 socklen_t type for size.
4816 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
4817 init function interface.
4818 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4819 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
4821 (__jmp_buf): Declare the whole type structure here, don't use
4824 2000-04-05 Ulrich Drepper <drepper@redhat.com>
4826 * iconv/skeleton.c (put16u): Fix typo.
4827 Reported by Bruno Haible <haible@ilog.fr>.
4829 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
4830 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
4831 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
4832 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
4833 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
4834 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
4836 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
4837 * Makefile (distribute): Add abi-versions.awk and
4839 Patches by Torsten Duwe <duwe@caldera.de>.
4841 2000-04-05 Andreas Schwab <schwab@suse.de>
4843 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
4845 2000-04-05 Andreas Schwab <schwab@suse.de>
4847 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
4848 entry point, used on Hurd.
4850 2000-04-04 Andreas Jaeger <aj@suse.de>
4852 * intl/Makefile: Only run the gettext test with shared libraries.
4854 2000-03-16 Mark Kettenis <kettenis@gnu.org>
4856 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
4857 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
4859 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
4861 * Makeconfig: Undo last change.
4862 * configure.in: If --disable-shared was given, don't set VERSIONING,
4863 don't define DO_VERSIONING, and don't give scare warning for no
4865 * configure: Regenerated.
4867 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
4869 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
4871 2000-04-04 Andreas Jaeger <aj@suse.de>
4873 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
4875 2000-04-04 Ulrich Drepper <drepper@redhat.com>
4877 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
4878 STV_HIDDEN and STV_INTERNAL during lookup.
4879 (profile_fixup): Likewise.
4880 * elf/dl-reloc.c (RESOLVE): Likewise.
4882 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
4883 unaligned so that it compiles for system which need unaligned
4886 2000-04-04 Andreas Schwab <schwab@suse.de>
4888 * elf/cache.c (print_entry): Only look at the type field when
4891 2000-04-04 Andreas Schwab <schwab@suse.de>
4893 * iconvdata/big5.c (BODY): Fix typo.
4895 2000-04-04 Andreas Schwab <schwab@suse.de>
4897 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
4898 function interface. Remove unused _dl_start_user entry point.
4900 2000-04-03 Andreas Jaeger <aj@suse.de>
4902 * include/arpa/inet.h (__inet_aton): Add protoype.
4904 2000-04-01 Andreas Jaeger <aj@suse.de>
4906 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
4908 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
4909 * sysdeps/mach/mips/thread_state.h: Likewise.
4911 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
4912 * sysdeps/generic/fegetenv.c: Likewise.
4913 * sysdeps/generic/fesetenv.c: Likewise.
4914 * sysdeps/generic/feupdateenv.c: Likewise.
4915 * sysdeps/generic/fraiseexcpt.c: Likewise.
4916 * sysdeps/generic/fsetexcptflg.c: Likewise.
4917 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
4918 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
4919 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
4920 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4922 2000-04-02 H.J. Lu <hjl@gnu.org>
4924 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
4926 2000-04-03 Ulrich Drepper <drepper@redhat.com>
4928 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
4929 (add_name_to_object): Add cast in malloc call.
4930 (fillin_rpath): Optimize loop to initialize ->status a bit.
4932 * sysdeps/i386/dl-machine.h: Undo last change.
4933 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
4934 Restore %edx register after call here.
4936 * sysdeps/arm/atomicity.h: New file.
4937 Contributed by Jesper Skov <jskov@redhat.com>.
4939 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
4941 * Makeconfig (preprocess-versions): Undo last change.
4942 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
4944 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
4945 here, before we might move the stack.
4946 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
4947 (init1): And not here.
4949 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
4950 change, to restore argc value in call-clobbered register after
4951 RTLD_START_SPECIAL_INIT, which will contain a call.
4953 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
4954 allocating and initializing L->l_initfini.
4956 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
4958 2000-04-03 Ulrich Drepper <drepper@redhat.com>
4960 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
4961 RUNPATH, RPATH, and LD_LIBRARY_PATH.
4962 (open_path): Change type of fourth parameter. Make pointer to array
4963 of pointers. Create variable dirs with original type.
4964 Track whether any directory for the object exists and if not,
4965 change *DIRSP to (void*) -1 to signal there is no such search path.
4966 (_dl_map_object): Change all calls of open_path.
4967 Rewrite decompose_rpath calls.
4969 2000-03-31 Andreas Schwab <schwab@suse.de>
4971 * string/strfry.c: Declare STATE as array of char instead of int
4972 and do not initialize it (done by initstate_r). Pass correct
4975 2000-04-03 Ulrich Drepper <drepper@redhat.com>
4977 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
4979 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
4980 instruction out of the code.
4982 2000-04-02 Ulrich Drepper <drepper@redhat.com>
4984 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
4985 element at this position.
4987 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
4988 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
4990 * elf/dl-lookup.c (add_dependency): New function.
4991 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
4992 dynamically loaded object.
4993 (_dl_lookup_symbol_skip): Likewise.
4994 (_dl_lookup_versioned_symbol): Likewise.
4995 (_dl_lookup_versioned_symbol_skip): Likewise.
4996 * elf/dl-open.c: Don't define _dl_load_lock here...
4997 * elf/rtld.c: ...but here...
4998 * elf/dl-support.c: ...and here.
4999 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
5001 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
5003 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
5005 * dlfcn/glrefmain.c: Add one more debug message.
5007 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
5009 * Makerules (sysd-versions): Use ( ) instead of { }.
5011 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
5012 optimize for the non-debugging case.
5013 * elf/dl-lookup.c: Likewise.
5014 * sysdeps/generic/libc-start.c: Likewise.
5016 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
5018 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
5019 (init1): Don't initialize __environ here, since init already does it.
5020 (first_init): New function, broken out of _init.
5021 (_hurd_stack_setup): Use it.
5022 [SHARED] (_dl_init_first): New function, renamed from old _init.
5023 (init1) [SHARED]: Don't call posixland_init here.
5024 (posixland_init): Take ENVP arg, so signature is usual for initializer.
5025 [SHARED] (_init): Define as alias for posixland_init.
5026 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
5027 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
5028 RTLD_START_SPECIAL_INIT before calling initializers.
5029 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
5030 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
5031 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
5032 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
5034 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
5035 since we define the function with the name `tmpfile'.
5037 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
5038 * hurd/Versions: Likewise.
5040 2000-04-02 Ulrich Drepper <drepper@redhat.com>
5042 * elf/dl-runtime.c (fixup): Fix typo in comment.
5044 * resolv/netdb.h (getnameinfo): All length parameters are of type
5046 * inet/getnameinfo.c: Likewise.
5048 2000-04-01 Ulrich Drepper <drepper@redhat.com>
5050 * posix/unistd.h (socklen_t): Define if it has not yet happened.
5051 (gethostname): Change type of second parameter to socklen_t.
5052 * include/unistd.h (__gethostname): Change type of second
5053 parameter to socklen_t.
5054 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
5055 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
5056 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
5057 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
5059 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
5060 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
5061 Allow definition elsewhere.
5062 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
5063 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5064 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5065 * sysdeps/generic/bits/types.h: Define __socklen_t.
5066 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
5067 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
5068 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5069 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5070 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5071 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5072 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5074 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
5075 (inet_lnaof): Likewise.
5076 (inet_netof): Likewise.
5077 (inet_network): Likewise.
5078 (inet_aton): Likewise.
5079 (inet_makeaddr): Change parameter types to in_addr_t.
5080 (inet_neta): Likewise.
5081 (inet_ntop): Change type of last parameter to socklen_t.
5082 (inet_aton): Only make available if __USE_MISC.
5083 (inet_neta): Likewise.
5084 (inet_net_ntop): Likewise.
5085 (inet_net_pton): Likewise.
5086 (inet_nsap_ntoa): Likewise.
5088 * inet/in.h: Define in_port_t type.
5089 Define in_addr_t type.
5090 (struct in_addr): Use in_addr_t in definition.
5091 (IN_CLASSA): Use cast to in_addr_t.
5092 (IN_CLASSB): Likewise.
5093 (IN_CLASSC): Likewise.
5094 (IN_CLASSD): Likewise.
5095 (IN_EXPERIMENTAL): Likewise.
5096 (IN_BADCLASS): Likewise.
5097 (INADDR_ANY): Likewise.
5098 (INADDR_BROADCAST): Likewise.
5099 (INADDR_NONE): Likewise.
5100 (INADDR_LOOPBACK): Likewise.
5101 (INADDR_UNSPEC_GROUP): Likewise.
5102 (INADDR_ALLHOSTS_GROUP): Likewise.
5103 (INADDR_ALLRTRS_GROUP): Likewise.
5104 (INADDR_MAX_LOCAL_GROUP): Likewise.
5105 (struct sockaddr_in): Use in_port_t for sin_port element.
5106 (struct sockaddr_in6): Use in_port_t for sin6_port element.
5107 Use uint8_t instead of u_int8_t.
5109 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
5110 Call __inet_aton instead of inet_aton.
5111 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
5113 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
5114 (innetgr): Likewise.
5115 (struct addrinfo): Use socklen_t for ai_addrlen element.
5117 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
5118 IPV6_RECVERR): New defines.
5120 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
5121 * inet/getnetbyad.c: Likewise.
5122 * inet/getnetbyad_r.c: Likewise.
5123 * nis/nss_nis/nis-network.c: Likewise.
5124 * nis/nssplus_nis/nisplus-network.c: Likewise.
5125 * nss/nss_files/files-network.c: Likewise.
5126 * resolv/netdb.h: Define uint32_t if not already happened.
5127 Include bits/netdb.h. Remove definition of struct netent.
5128 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
5129 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
5130 * sysdeps/generic/bits/netdb.h: New file.
5131 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
5133 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
5134 (tests): Add glrefmain.
5135 Add rules to build modules and run tests. Ignore result of glrefmain
5136 for now since it fails.
5137 * dlfcn/glrefmain.c: New file.
5138 * dlfcn/glreflib1.c: New file.
5139 * dlfcn/glreflib2.c: New file.
5141 * test-skeleton.c: Include <string.h> for strsignal prototype.
5143 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
5146 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
5147 former init-first.h. Initialize __libc_multiple_libcs.
5149 2000-03-31 Ulrich Drepper <drepper@redhat.com>
5151 * iconv/skeleton.c: Define access macros with u suffix. Adjust
5152 #if expression for use of unaligned function to the one used in
5153 the definition of these functions.
5154 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
5155 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
5156 (internal_ucs4le_loop_unaligned): New function.
5158 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
5160 (module-names): Add dep1, dep2, dep3, and dep4.
5161 Add dependencies for dep* modules and order.
5162 Define rule for order.out which checks the result.
5163 * elf/dep1.c: New file.
5164 * elf/dep2.c: New file.
5165 * elf/dep3.c: New file.
5166 * elf/dep4.c: New file.
5167 * elf/order.c: New file.
5169 * elf/dl-init.c: Fix typo in comment.
5171 2000-03-31 Andreas Jaeger <aj@suse.de>
5173 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
5174 init function interface.
5175 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
5177 2000-03-31 Andreas Jaeger <aj@suse.de>
5179 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
5180 * sysdeps/mips/fpu/fegetenv.c: Likewise.
5181 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
5182 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
5183 * sysdeps/mips/fpu/fesetenv.c: Likewise.
5185 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
5186 anymore, update comment.
5188 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5190 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
5191 SHLIB_COMPAT - the struct is always needed.
5193 2000-03-31 Ulrich Drepper <drepper@redhat.com>
5195 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
5196 * elf/dl-support.c: Define _dl_starting_up.
5198 2000-03-30 Ulrich Drepper <drepper@redhat.com>
5200 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
5201 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
5203 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
5205 * elf/Makefile (dl-routines): Remove preinit.
5206 * elf/Versions: Remove _dl_preinit.
5207 * elf/dl-preinit.c: Removed. Move content into...
5208 * elf/dl-init.c: ...here.
5209 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
5211 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
5214 2000-03-29 Geoff Clare <gwc@unisoft.com>
5216 * stdlib/strfmon.c: Corrected problems with the code that
5217 sets default values for [np]_sep_by_space and
5218 [np]_sign_posn; also the new positive/negative alignment
5219 code from the previous patch was not quite right for
5222 * localedata/tst-fmon.data: Changes corresponding to the
5223 two sets of fixes made to stdlib/strfmon.c.
5225 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
5227 * malloc/malloc.c: Declare bit flags UL so that they will not
5228 default to int size when being inverted.
5230 2000-03-29 Andreas Jaeger <aj@suse.de>
5232 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
5233 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
5235 2000-03-29 Andreas Jaeger <aj@suse.de>,
5236 Ralf Baechle <ralf@uni-koblenz.de>
5238 * Makeconfig: Introduce new variable SHARED to mark code used in
5240 * elf/dl-close.c: Use it instead of PIC.
5241 * elf/dl-load.c: Likewise.
5242 * elf/dl-open.c: Likewise.
5243 * hurd/geteuids.c: Likewise.
5244 * include/libc-symbols.h: Likewise.
5245 * include/shlib-compat.h: Likewise.
5246 * libio/freopen.c: Likewise.
5247 * linuxthreads/cancel.c: Likewise.
5248 * linuxthreads/pthread.c: Likewise.
5249 * linuxthreads/wrapsyscall.c: Likewise.
5250 * nss/nsswitch.c: Likewise.
5251 * stdio-common/vfprintf.c: Likewise.
5252 * sysdeps/arm/init-first.c: Likewise.
5253 * sysdeps/i386/init-first.c: Likewise
5254 * sysdeps/generic/init-first.c: Likewise.
5255 * sysdeps/generic/libc-start.c: Likewise.
5256 * sysdeps/mips/init-first.c: Likewise.
5257 * sysdeps/powerpc/elf/libc-start.c: Likewise.
5258 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
5259 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
5260 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
5261 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5263 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
5265 2000-03-29 Andreas Jaeger <aj@suse.de>
5267 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
5268 Use D_PTR to access relocated entries in l_info.
5269 (elf_machine_rela): Likewise.
5271 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
5273 (elf_machine_rela): Likewise.
5275 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
5277 (__elf_machine_fixup_plt): Likewise.
5278 (__process_machine_rela): Likewise.
5280 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
5281 (elf_machine_rela): Likewise.
5283 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
5284 (elf_machine_rel): Likewise.
5286 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
5287 (elf_machine_fixup_plt): Likewise.
5288 (elf_machine_rela): Likewise.
5290 2000-03-29 Andreas Jaeger <aj@suse.de>
5292 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
5293 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5294 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5295 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
5296 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
5297 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
5298 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
5299 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
5300 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5301 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
5302 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
5303 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
5304 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
5305 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
5306 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5308 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
5309 macros, remove K&R prototypes.
5311 2000-03-30 Ulrich Drepper <drepper@redhat.com>
5313 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
5314 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
5317 2000-03-30 Andreas Jaeger <aj@suse.de>
5319 * misc/sys/cdefs.h: Remove K&R support.
5321 2000-03-30 Ulrich Drepper <drepper@redhat.com>
5323 * iconv/skeleton.c: Avoid compiling unaligned versions in some
5325 * iconv/loop.c: Likewise.
5327 2000-03-29 Bruno Haible <haible@clisp.cons.org>
5329 * iconv/loop.c (put16): Remove __const. Fix access index.
5330 (put32): Remove __const. Use uint32_t instead of uint16_t.
5331 * iconv/skeleton.c: Likewise.
5333 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
5335 * mach/Versions (libc: GLIBC_2.0)
5336 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
5337 __vm_allocate on this.
5338 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
5339 mutex- and spinlock-related symbols on this.
5340 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
5341 New version set. Lock-related symbols go here instead in this case.
5342 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
5343 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
5344 cthread_getspecific, cthread_setspecific, __libc_getspecific.
5346 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
5347 Put them here instead.
5348 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
5349 New version set. Those cthreads symbols go here instead in this case.
5350 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
5352 2000-03-30 Ulrich Drepper <drepper@redhat.com>
5354 * elf/dl-init.c (_dl_init): We don't need to call constructors
5355 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
5357 Implement dynamic determination of constructor/destructor order in
5359 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
5360 (GLIBC_2.2): Add _dl_init.
5361 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
5362 r_duplist is not anymore allocated separately. l_initfini is and
5363 therefore free it if necessary.
5364 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
5365 malloc block. Otherwise allocate l_initfini list only.
5366 Put dependencies for the object in l_initfini list.
5367 Sort dependencies for the object to be loaded topologically.
5368 * elf/dl-fini.c: Before running the destructors sort the topologically.
5369 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
5370 call constructors instead of iterating over the pointers. Get list of
5371 objects for which to run constructors from l_initfini element. Accept
5372 argc, argv, and env as parameters and pass them to the constructors.
5373 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
5374 with size of dynamic section.
5375 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
5376 _dl_init_next and calling constructors ourself.
5377 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
5378 Take argc, argv, and env as parameters and pass them to the
5379 constructors. Rewrite to call all constructors and not iterate over
5381 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
5382 precompute l_initcount and l_preinitcount.
5383 * elf/link.h (struct link_map): Add l_ldnum member.
5384 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
5385 l_initcount, and l_preinitcount. Add l_initfini.
5386 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
5388 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
5390 * sysdeps/unix/sysv/linux/init-first.h: Removed.
5391 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
5392 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
5393 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
5394 conventions now match.
5396 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
5397 effect for shared objects. Don't emit message and call only for
5400 2000-03-29 Ulrich Drepper <drepper@redhat.com>
5402 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
5403 CSA_Z243.4-1985-1..UCS2.
5404 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
5407 2000-03-29 Andreas Jaeger <aj@suse.de>
5409 * include/unistd.h: Remove duplicate entry for __rmdir.
5410 Remove declaration of __mkdir since __mkdir is declared in
5413 * manual/creature.texi (Feature Test Macros): Fix typo, reported
5414 by Michael Deutschmann <michael@talamasca.ocis.net>.
5416 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
5417 * sysdeps/mips/fpu/fegetenv.c: Likewise.
5418 * sysdeps/mips/fpu/fesetenv.c: Likewise.
5419 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
5420 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
5422 2000-03-28 Andreas Jaeger <aj@suse.de>
5424 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
5425 declaration, the prototype is defined via bits/mathcalls.h.
5426 (__sincosf): Likewise.
5427 (__sincosl): Likewise.
5431 (__finite): Likewise.
5432 (__inline_mathcodeNP): New macro without prototype
5434 (__inline_mathcodeNP2): Likewise.
5435 (__inline_mathcodeNP3): Likewise.
5436 (__inline_mathcodeNP_): Likewise.
5437 (__inline_mathcodeNP2_): Likewise.
5438 (__inline_mathcodeNP3_): Likewise.
5439 (__inline_mathopNP): Likewise.
5440 (__inline_mathop_declNP): Likewise.
5441 (__inline_mathop_declNP_): Likewise.
5442 (__inline_mathcode_): Use __inline_mathcodeNP_.
5443 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
5444 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
5445 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
5446 (__expm1l): Don't define prototype, the prototype is defined via
5452 (__atan2l): Likewise.
5457 (__fabsl): Likewise.
5475 (__sqrtl): Likewise.
5485 2000-03-28 Ulrich Drepper <drepper@redhat.com>
5487 * Makerules: If make variable md5 is defined to yes after
5488 generating dependencies generate MD5 sum for the object.
5490 * iconv/gconv_builtin.h: Fix length in transformation definition
5493 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
5495 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
5496 allow as well reading from/writing to unaligned addresses on machines
5497 which don't support this in hardware. Use FCTNAME macro to define
5498 function name. Include the file a second time for platforms which
5499 need special unaligned handling.
5500 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
5501 to access potentially unaligned addresses. These macros are intended
5502 to be used only outside the loops.
5503 (unaligned): New definition. In case the machine can handle unaligned
5504 access define as zero. Otherwise as a variable which is initialized
5505 as nonzero in case the buffer passed in at runtime is unaligned with
5506 respect to the character set encoding involved.
5507 Call aligned or unaligned looop functions according to unaligned
5509 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
5510 of direct casting pointer to potentially handle unaligned memory
5512 * iconvdata/8bit-generic.c: Likewise.
5513 * iconvdata/ansi_x3.110.c: Likewise.
5514 * iconvdata/big5.c: Likewise.
5515 * iconvdata/euc-cn.c: Likewise.
5516 * iconvdata/euc-jp.c: Likewise.
5517 * iconvdata/euc-kr.c: Likewise.
5518 * iconvdata/euc-tw.c: Likewise.
5519 * iconvdata/gbk.c: Likewise.
5520 * iconvdata/iso-2022-cn.c: Likewise.
5521 * iconvdata/iso-2022-jp.c: Likewise.
5522 * iconvdata/iso-2022-kr.c: Likewise.
5523 * iconvdata/iso646.c: Likewise.
5524 * iconvdata/iso_6937-2.c: Likewise.
5525 * iconvdata/iso_6937.c: Likewise.
5526 * iconvdata/johab.c: Likewise.
5527 * iconvdata/sjis.c: Likewise.
5528 * iconvdata/t.61.c: Likewise.
5529 * iconvdata/uhc.c: Likewise.
5530 * iconvdata/unicode.c: Likewise.
5531 * iconvdata/utf-16.c: Likewise.
5533 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
5536 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
5537 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
5539 * malloc/mcheck.h (mcheck_check_all): Declare.
5541 * stdio-common/Makefile (tests): Add tst-obprintf.
5543 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
5545 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
5546 Declare pthread_sigmask.
5548 * csu/version.c: Add 2000 to copyright years.
5549 Remove Emacs local variables section.
5551 2000-03-23 Bruno Haible <haible@clisp.cons.org>
5553 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
5554 __gconv_transform_internal_ucs2little): Remove declarations.
5555 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
5556 __gconv_transform_internal_ucs2): Never need to bswap_16.
5557 (__gconv_transform_ucs2reverse_internal,
5558 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
5560 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
5562 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
5563 obsoleting version not being defined at all, in which case the
5564 result is always true.
5566 * Makeconfig (preprocess-versions): New canned sequence for running
5567 cpp on shlib-versions and the like.
5568 (soversions.i): Use it.
5569 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
5570 Versions.def and Versions files.
5572 2000-03-27 Ulrich Drepper <drepper@redhat.com>
5574 * stdio-common/tst-obprintf.c (main): Add another check to see
5575 obstack_printf handling all possible beginnings of the block
5576 inside an obstack chunk.
5578 * locale/programs/localedef.c: Use __malloc_initialize_hook to
5579 install mcheck handler.
5581 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
5584 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
5586 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
5588 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
5589 on [HAVE_ELF && DO_VERSIONING].
5591 2000-03-27 Ulrich Drepper <drepper@redhat.com>
5593 * stdio-common/tst-obprintf.c: New file.
5595 2000-03-26 Ulrich Drepper <drepper@redhat.com>
5597 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
5598 _IO_OVERFLOW directly instead through __overflow.
5600 * locale/programs/localedef.c (construct_output_path): If path
5601 contains a / compute the end of the directory name correctly.
5603 * include/features.h: Undef and document __USE_XOPEN2K.
5605 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
5606 whenever a function is called. Initiated by calling mcheck_pedantic
5608 * malloc/mcheck.h: Declare mcheck_pedantic.
5609 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
5610 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
5613 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
5615 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
5616 * dlfcn/dlopenold.c: Likewise.
5617 * nss/getXXbyYY_r.c: Likewise.
5618 * nss/getXXent_r.c: Likewise.
5619 * hurd/hurdinit.c: Likewise.
5620 * hurd/compat-20.c: Likewise.
5621 * libio/oldiofopen.c: Likewise.
5622 * libio/oldiofclose.c: Likewise.
5623 * libio/oldiofdopen.c: Likewise.
5624 * libio/oldfileops.c: Likewise.
5625 * libio/oldstdfiles.c: Likewise.
5626 * libio/oldiofsetpos.c: Likewise.
5627 * libio/oldiofgetpos.c: Likewise.
5628 * libio/oldiofgetpos64.c: Likewise.
5629 * libio/oldiofsetpos64.c: Likewise.
5630 * libio/oldiopopen.c: Likewise.
5631 * libio/oldpclose.c: Likewise.
5632 * libio/oldtmpfile.c: Likewise.
5633 * libio/freopen.c (freopen): Likewise.
5634 * libio/iofclose.c (_IO_new_fclose): Likewise.
5636 * sysdeps/mach/sys/reboot.h: Include <features.h>.
5637 (reboot): Declare it.
5639 * libio/Makefile (headers): Add bits/stdio-lock.h here.
5641 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
5643 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
5645 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
5646 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
5647 We need this for the sbrk decl, which can be included without Unix98.
5649 2000-03-20 Richard Henderson <rth@cygnus.com>
5651 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
5652 argument to yperr2nss is an int, not size_t.
5653 * posix/regex.c (print_partial_compiled_pattern): Cast all
5654 ptrdiff_t to long for printing.
5655 (print_compiled_pattern): Use Z for printing size_t.
5656 * posix/testfnm.c (tests): Avoid trigraphs.
5657 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
5658 Use a C comment, not an assembly comment.
5660 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
5661 of __ASSUME_32BITUIDS.
5663 2000-03-26 Ulrich Drepper <drepper@redhat.com>
5665 * libio/iofopncook.c: Remove K&R prototypes.
5667 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
5669 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
5670 an initial value of 1024 instead of RLIM_INFINITY.
5672 * Versions.def (libmachuser, libhurduser): Remove these sections,
5673 since these libraries do not presently use symbol versions.
5675 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
5676 is RLIM_INFINITY, return -1 instead.
5678 2000-03-24 Andreas Jaeger <aj@suse.de>
5680 * Makefile (postclean): Added soversions.i.
5682 2000-03-24 Scott Bambrough <scottb@netwinder.org>
5684 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
5685 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
5686 and _FPU_IEEE. Change _FPU_RESERVED.
5688 2000-03-24 Scott Bambrough <scottb@netwinder.org>
5690 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
5692 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
5694 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
5695 (gaih_inet): Remove unused duplicate variable.
5697 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
5698 Don't use __libc_sa_len, which only exists for Linux. Just handle
5699 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
5700 only flavors supported by this function anyway.
5702 2000-03-24 Geoff Clare <gwc@unisoft.com>
5704 * stdlib/strfmon.c: Corrected problems with missing signs and
5705 missing or extra spaces; allow for sign strings longer than
5706 one character; add padding to ensure positive and negative
5707 formats are aligned when a left precision is used.
5709 2000-03-26 Ulrich Drepper <drepper@redhat.com>
5711 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
5712 Patch by John Mizel <John.Mizel@msdw.com>.
5714 2000-03-25 Ulrich Drepper <drepper@redhat.com>
5716 * manual/install.texi: Remove references to crypt add-on.
5718 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
5720 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
5721 section while taking the _hurd_rlimit_lock.
5722 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
5724 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
5726 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
5729 * sysdeps/mach/hurd/if_index.c: New file.
5731 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
5732 * sysdeps/gnu/net/if.h: here.
5733 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
5734 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
5735 * sysdeps/generic/net/if.h: New file. Declares just the standard
5736 functions and `struct if_nameindex' type.
5737 * socket/Makefile (headers): Add net/if.h here.
5738 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
5739 * sysdeps/mach/hurd/Dist: Remove it here.
5740 * sysdeps/unix/sysv/linux/Dist: And here.
5741 * sysdeps/generic/if_index.c: Include <net/if.h>.
5743 2000-03-24 Andreas Jaeger <aj@suse.de>
5745 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
5746 access relocated entries in l_info.
5747 (elf_machine_got_rel): Likewise.
5748 (elf_machine_runtime_setup): Likewise.
5749 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
5750 (elf_machine_runtime_setup): Likewise.
5751 (__dl_runtime_resolve): Likewise.
5753 2000-03-23 Ulrich Drepper <drepper@redhat.com>
5755 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
5756 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
5757 according to RFC 2553.
5758 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
5759 * inet/getnameinfo.c: Likewise.
5760 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
5762 2000-03-23 Bruno Haible <haible@clisp.cons.org>
5764 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
5765 Remove no-op pointer increment.
5767 2000-03-23 Andreas Jaeger <aj@suse.de>
5769 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
5770 follow change for libio.h from 2000-03-10.
5772 2000-03-23 Andreas Jaeger <aj@suse.de>
5774 * elf/dl-addr.c: Adjust include paths for ldsodefs location
5776 * elf/dl-debug.c: Likewise.
5777 * elf/dl-deps.c: Likewise.
5778 * elf/dl-error.c: Likewise.
5779 * elf/dl-fini.c: Likewise.
5780 * elf/dl-init.c: Likewise.
5781 * elf/dl-load.c: Likewise.
5782 * elf/dl-lookup.c: Likewise.
5783 * elf/dl-minimal.c: Likewise.
5784 * elf/dl-object.c: Likewise.
5785 * elf/dl-open.c: Likewise.
5786 * elf/dl-preinit.c: Likewise.
5787 * elf/dl-profile.c: Likewise.
5788 * elf/dl-profstub.c: Likewise.
5789 * elf/dl-reloc.c: Likewise.
5790 * elf/dl-runtime.c: Likewise.
5791 * elf/dl-support.c: Likewise.
5792 * elf/dl-symbol.c: Likewise.
5793 * elf/dl-version.c: Likewise.
5794 * elf/rtld.c: Likewise.
5795 * elf/sprof.c: Likewise.
5796 * sysdeps/generic/dl-cache.c: Likewise.
5797 * sysdeps/generic/dl-origin.c: Likewise.
5798 * sysdeps/generic/dl-sysdep.c: Likewise.
5799 * sysdeps/generic/elf/backtracesyms.c: Likewise.
5800 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5801 * sysdeps/generic/libc-start.c: Likewise.
5802 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5803 * sysdeps/powerpc/dl-machine.c: Likewise.
5804 * sysdeps/powerpc/elf/libc-start.c: Likewise.
5805 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5806 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5807 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
5809 * elf/ldsodefs.h: Move file to ...
5810 * sysdeps/generic/ldsodefs.h: ... here.
5812 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
5814 * sysdeps/mips/elf/ldsodefs.h: New file.
5816 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
5818 (_dl_check_map_versions): Likewise.
5819 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5820 * elf/dl-load.c (_dl_init_paths): Likewise.
5821 (_dl_map_object): Likewise.
5822 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
5823 (elf_get_dynamic_info): Likewise.
5824 * elf/do-lookup.h (FCT): Likewise.
5825 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
5826 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5827 * elf/dl-addr.c (_dl_addr): Likewise.
5828 * elf/dl-runtime.c (profile_fixup): Likewise.
5830 * elf/dl-init.c (_dl_init_next): Likewise.
5831 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
5832 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
5833 (DISTINGUISH_LIB_VERSIONS): Likewise.
5834 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
5835 (elf_machine_rel): Likewise.
5837 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
5838 for writable dynamic section.
5840 2000-03-22 Ulrich Drepper <drepper@redhat.com>
5842 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
5843 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
5845 2000-03-22 Andreas Jaeger <aj@suse.de>
5847 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
5848 from latest Linux kernel.
5850 2000-03-21 Andreas Jaeger <aj@suse.de>
5852 * Versions.def: Add version 2.1.4.
5854 2000-03-21 Ulrich Drepper <drepper@redhat.com>
5856 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
5857 * libio/oldiofopen.c: Likewise.
5858 * libio/oldiofclose.c: Likewise.
5859 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
5861 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
5863 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
5864 indicating the first version set to obsolete the conditionalized code.
5865 (compat_symbol): New macro.
5866 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
5867 rhs be the ABI_* macro for the subsuming version. Assign increasing
5868 integer values to the ABI_* macros for supported versions.
5869 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
5870 compat_symbol macro.
5872 2000-03-21 Ulrich Drepper <drepper@redhat.com>
5874 * nscd/connections.c (nscd_run): Pretty print.
5875 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
5877 * manual/charset.texi: Fix typos. Rephrase.
5878 * manual/process.texi: Likewise.
5879 * manual/signal.texi: Likewise.
5880 Patches by Mike Coleman <mkc@kc.net>.
5882 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
5884 * libio/iofdopen.c: Likewise.
5885 * libio/iofgetpos.c: Likewise.
5886 * libio/iofgetpos64.c: Likewise.
5887 * libio/iofopen.c: Likewise.
5888 * libio/iofsetpos.c: Likewise.
5889 * libio/iofsetpos64.c: Likewise.
5890 * libio/iopopen.c: Likewise.
5891 * libio/oldiofopen.c: Likewise.
5892 * libio/pclose.c: Likewise.
5893 * sysdeps/gnu/siglist.c: Likewise.
5894 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
5896 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
5897 chance to expand VERSION_##lib##_##version.
5899 * libio/fileops.c: Use new macros from shlib-compat.h to define
5901 * libio/iofclose.c: Likewise.
5902 * libio/oldiofclose.c: Likewise.
5903 Patch by Roland McGrath <roland@frob.com>.
5905 2000-03-21 Jakub Jelinek <jakub@redhat.com>
5907 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
5908 Lay out struct sigcontext according to what really gets passed on
5910 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
5911 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
5912 (prgregset_t, prfpregset_t): Define to elf_* types.
5913 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
5914 Define to correct value.
5915 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
5917 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
5919 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
5921 * scripts/firstversions.awk: Allow multiple version sets in the
5922 "earliest version" specification, meaning that version sets in the
5923 gaps between listed versions should be folded into the earliest later
5924 version that is explicitly listed.
5925 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
5926 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
5928 2000-03-21 Ulrich Drepper <drepper@redhat.com>
5930 * iconv/gconv_builtin.c: Include <endian.h>.
5931 * iconv/gconv_builtin.h: Add UCS-BE aliases.
5932 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
5933 according to current platform.
5934 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
5935 __gconv_transform_internal_ucs2reverse, and
5936 __gconv_transform_internal_ucs4le.
5937 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
5938 __gconv_transform_ucs2reverse_internal and
5939 __gconv_transform_internal_ucs2reverse.
5940 * iconvdata/Makefile (modules): Add UNICODE.
5941 (distribute): Add unicode.c.
5942 * iconvdata/gconv-modules: Add definitions for UNICODE module.
5943 * iconvdata/unicode.c: New file.
5945 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
5946 determine byte order of input and convert accordingly.
5948 * iconvdata/utf-16.c (gconv_init): Fix typo.
5950 2000-03-20 Ulrich Drepper <drepper@redhat.com>
5952 * iconvdata/gconv-modules: Fix typo.
5954 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
5957 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
5959 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
5961 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
5963 2000-03-20 Ulrich Drepper <drepper@redhat.com>
5965 * misc/Makefile (routines): Add mincore.
5967 2000-03-20 Andreas Jaeger <aj@suse.de>
5969 * sysdeps/generic/mincore.c: New stub file.
5971 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
5972 from latest Linux kernel.
5974 2000-03-20 Ulrich Drepper <drepper@redhat.com>
5976 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
5977 _SC_GETPW_R_SIZE_MAX.
5979 2000-03-20 Richard Henderson <rth@cygnus.com>
5981 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
5984 2000-03-20 Richard Henderson <rth@cygnus.com>
5986 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
5987 of arithmetic instructions.
5989 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
5990 with the fpcr. Protect from INV exception.
5991 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
5992 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
5993 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
5995 * sysdeps/alpha/fpu/s_copysign.c: New.
5996 * sysdeps/alpha/fpu/s_copysignf.c: New.
5997 * sysdeps/alpha/fpu/s_fabs.c: New.
5998 * sysdeps/alpha/fpu/s_fabsf.c: New.
5999 * sysdeps/alpha/fpu/s_rint.c: New.
6000 * sysdeps/alpha/fpu/s_rintf.c: New.
6002 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
6004 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
6006 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
6007 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
6008 Use physical addresses not KSEG addresses.
6009 (io_system): Add PYXIS.
6010 (io): Remove hae.reg, sys, hae_shift.
6011 (stb_mb, stw_mb, stl_mb, __sethae): New.
6012 (inline_outb, inline_outw, inline_outl): Don't set hae.
6013 (inline_inb, inline_inw, inline_inl): Likewise.
6014 (dense_sethae): New null function.
6015 (struct cpuinfo_data): New.
6016 (process_cpuinfo): Use local and stack variables, not static.
6017 Move readlink check here from init_iosys.
6018 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
6020 (_hae_shift): Calculate it here.
6021 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
6022 add pciconfig_iobase.
6024 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
6026 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
6027 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
6029 * scripts/versions.awk: Fixed version renaming code to distinguish
6032 2000-03-19 Ulrich Drepper <drepper@redhat.com>
6034 * include/stdlib.h: Add prototype for __cxa_atexit.
6036 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
6037 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
6039 2000-03-17 Cristian Gafton <gafton@redhat.com>
6041 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
6042 existing rtld-installed-name.
6043 ($(rtld-installed-name)): Request libc-$(version) be installed too.
6044 replace existing rtld-installed-name using $(symbolic-link-prog).
6046 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
6048 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
6049 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
6050 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
6053 2000-03-19 Ulrich Drepper <drepper@redhat.com>
6055 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
6056 glob64. Since there is no glob64 in the LFS proposal applications
6057 can assume that glob handles LFS situations. glob64 is only needed
6058 if alternative filesystem functions are used.
6060 2000-03-19 Geoff Clare <gwc@unisoft.com>
6062 * sysdeps/generic/glob.c: Correct gl_pathc value returned
6063 when GLOB_DOOFFS is set; correct handling of patterns
6064 containing escaped wildcards (and no unescaped ones);
6065 GLOB_ERR flag was being ignored in some situations.
6067 * posix/globtest.c, posix/globtest.sh: Updated to include
6068 tests for the problems fixed by the above changes to glob.c.
6070 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
6072 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
6074 * Makeconfig (soversion.i): Use only first match for each lib.
6076 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
6078 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
6079 rather than $(sysd-dirs-done) to protect these rules.
6081 * Makerules (version-renames.def): Target removed.
6082 (Versions.all): Depend on soversions.i directly and parse it.
6084 * Makeconfig (soversions.i): New target, input-reading parts of
6085 soversions.mk generation moved here; result is a canonicalized
6086 list "LIB VERSION [SET]" for this configuration.
6087 (soversions.mk): Use that as input. Don't emit map-firstversions.
6088 * Makerules (version-renames.def): New target, generated from
6089 soversions.i with contents that was in $(map-firstversions).
6090 (Versions.all): Don't depend on soversions.mk, depend on
6091 version-renames.def instead; just cat it into the input.
6093 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
6094 for $(map-firstversions), which better handles it being empty.
6096 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
6097 supported version for libc 0.2.90.libio to GLIBC_2.2.
6099 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
6100 and use it to emit new variable `map-firstversions'.
6101 * scripts/firstversions.awk: New file.
6102 * Makerules (Versions.all): Use scripts/firstversions.awk and
6103 the $(map-firstversions) value to generate a modified versions list
6104 that includes renames in "A = B" syntax for each version set earlier
6105 than the "earliest symbol version" named in shlib-versions.
6106 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
6107 rename version set A to B in the output to the intermediate file.
6108 * scripts/abi-versions.awk: New file.
6109 * Makerules (abi-versions.h): New target, generated by that script.
6110 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
6111 * include/shlib-compat.h: New file, uses that generated header.
6113 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
6115 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
6116 after stripping # comments, and then run it through cpp.
6117 This allows things like "%ifdef FOO" based on config.h settings.
6118 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
6120 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
6121 and other errors that indicate a pseudo-receive happened, grok through
6122 the message buffer for port rights that need references fixed up.
6124 2000-03-16 Andreas Jaeger <aj@suse.de>
6126 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
6128 * sysdeps/unix/sysv/linux/madvise.c: Remove.
6130 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
6131 from latest Linux kernel.
6132 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
6134 * misc/sys/mman.h: Add prototype for mincore.
6136 2000-03-17 Ulrich Drepper <drepper@redhat.com>
6138 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
6139 entry for GLIBC_2.0 version of setrlimit.
6140 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6142 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
6144 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
6145 * nis/nss_compat/compat-initgroups.c: Likewise.
6146 * nis/nss_nis/nis-initgroups.c: Likewise.
6147 * nis/nss_nis/nis-netgrp.c: Likewise.
6148 * nis/nss_nis/nis-proto.c: Likewise.
6149 * nis/nss_nis/nis-rpc.c: Likewise.
6150 * nis/nss_nis/nis-service.c: Likewise.
6151 * nis/ypclnt.c: Likewise.
6153 2000-03-16 Andreas Jaeger <aj@suse.de>
6155 * manual/Makefile: MAKEINFO is set to `:' from configure if it
6156 doesn't exist, correct checks. Fixes PR libc/1649.
6158 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
6160 * nscd/hstcache.c: Restore correct UID.
6161 * nscd/pwdcache.c: Likewise.
6162 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
6164 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
6166 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
6167 macros for register names, in line with 2000-03-14 linux change.
6169 * sysdeps/mach/sched_yield.c: New file.
6171 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
6173 * sysdeps/generic/lockfile.c: Include <stdio.h>
6174 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
6175 case <libio.h> defined them.
6176 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
6178 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
6179 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
6181 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
6182 for more pleasing parse error.
6184 2000-03-16 Ulrich Drepper <drepper@redhat.com>
6186 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
6188 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6190 * elf/Makefile: Add rules to compile and run constload1 test.
6191 * elf/constload1.c: New file.
6192 * elf/constload2.c: New file.
6193 * elf/constload3.c: New file.
6195 2000-03-15 Ulrich Drepper <drepper@redhat.com>
6197 * sysdeps/posix/open64.c: Make __open64 weak alias.
6198 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
6199 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6200 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
6201 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6202 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
6203 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
6204 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6205 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
6206 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6207 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
6209 2000-03-14 Ulrich Drepper <drepper@redhat.com>
6211 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
6212 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
6214 2000-03-16 Mark Kettenis <kettenis@gnu.org>
6216 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
6217 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
6219 2000-03-08 Andreas Jaeger <aj@suse.de>
6221 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
6223 2000-03-14 Ulrich Drepper <drepper@redhat.com>
6225 * timezone/africa: Update from tzdata2000d.
6226 * timezone/asia: Likewise.
6227 * timezone/australasia: Likewise.
6228 * timezone/europe: Likewise.
6229 * timezone/northamerica: Likewise.
6230 * timezone/southamerica: Likewise.
6232 * po/fr.po: Update from translation team.
6233 * po/de.po: Likewise.
6235 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
6236 last parameter. Move code to add map to global scope from here...
6237 * elf/dl-open.c (dl_open_worker): ...here.
6238 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
6239 * elf/rtld.c: Adjust call to _dl_map_object_deps.
6241 * locale/programs/ld-collate.c (collate_read): Fix warning.
6243 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
6244 values and macros for register names.
6246 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
6247 returned by seek cookie function is -1.
6249 2000-03-14 Andreas Jaeger <aj@suse.de>
6251 * locale/localeconv.c (localeconv): Fix typo.
6252 Reported by Andre Charbonneau <andrec@corel.com>.
6254 2000-03-14 Ulrich Drepper <drepper@redhat.com>
6256 * iconv/skeleton.c: Increment __invocation_counter in inner loop
6257 since modules depend on it counting the number of times the conversion
6258 function got called.
6260 * iconv/gconv_open.c: Optimize loop to setup step data structure.
6262 * iconv/gconv.h: Pretty print.
6264 2000-03-04 Ulrich Drepper <drepper@redhat.com>
6266 * posix/wordexp-test.c: Correct one of the tests added in the last
6267 change. Really get the root passwd entry to check again ~root.
6269 2000-03-10 Andreas Jaeger <aj@suse.de>
6271 * manual/filesys.texi (Working Directory): Fix last patch.
6272 Patch by Martin Buchholz <martin@xemacs.org>.
6274 2000-03-10 Andreas Jaeger <aj@suse.de>
6276 * manual/creature.texi (Feature Test Macros): Fix language.
6278 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
6280 * mach/devstream.c (devstream_write, devstream_read): New functions.
6281 (input, output): Functions removed.
6282 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
6283 using only the vanilla fopencookie interface.
6285 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
6286 as macro for __io_functions.
6287 (funcsio): Use cookie_io_functions_t type name.
6288 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
6290 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
6292 (fopencookie): Use it.
6293 * libio/libio.h: Declare _IO_cookie_init.
6294 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
6297 * libio/libio.h (__io_seek_fn): Fix second argument type
6298 to be a pointer, in line with the manual and the old stdio.
6299 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
6301 * sysdeps/generic/bits/stdio-lock.h: New file.
6302 This is a stub with #error, but that's better than no file at all.
6304 2000-03-09 Martin Buchholz <martin@xemacs.org>
6306 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
6307 * manual/message.texi (Using gettextized software): Doc Fixes.
6308 * manual/message.texi (Message Translation): Doc Fixes.
6309 * manual/filesys.texi (File Size): Doc Fixes.
6310 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
6311 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
6312 * iconv/gconv_db.c (find_derivation): Doc Fixes.
6313 * manual/install.texi: Doc Fixes.
6314 * manual/search.texi (Hash Search Function): Doc Fixes.
6315 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
6316 * FAQ.in: Doc Fixes.
6317 * config.h.in: Doc Fixes.
6318 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
6319 Doc Fixes. `allows to' is not correct English.
6321 * elf/rtld.c: Doc fixes.
6322 * manual/creature.texi (Feature Test Macros): Doc fixes.
6323 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
6325 * manual/filesys.texi (Working Directory): Check for ERANGE to
6328 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
6330 * string/argz-stringify.c (__argz_stringify): Fix loop termination
6331 conditions so as not to clobber the final '\0' when there is only one
6332 element in the vector.
6334 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
6336 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
6337 broken by 2000-02-27 change.
6339 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
6341 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
6343 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
6344 argument type, for 2000-02-22 change in signal/signal.h declaration.
6346 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
6348 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
6349 to getdirentries64 (no __), since the Linux implementation
6350 has no __ name, and there is no declaration for the __ name.
6352 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
6354 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
6355 sed regexp so as not to break directory names including /../ within.
6357 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
6358 The sysdeps/generic file is right for BSD. This file was in fact the
6359 Hurd file, but the only difference was the WNOREAP flag that was never
6360 actually implemented or used anywhere.
6362 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
6363 since AC_PATH_PROG already does it for us.
6364 (PERL): Rewrite check added in 2000-02-29 change for syntactic
6365 correctness and sh portability. I replaced the broken check
6366 with a more sensible implementation of the apparently intended
6367 semantics, which might still be questionable. Using expr causes
6368 a non-numeric value for `perl -V:apiversion` to be accepted,
6369 refusing to use only a perl that reports a number less than 5;
6370 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
6371 * configure: Regenerated.
6373 2000-03-08 Andreas Jaeger <aj@suse.de>
6375 * manual/crypt.texi: Fix paths.
6377 2000-03-07 Andreas Jaeger <aj@suse.de>
6379 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
6381 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
6384 2000-03-06 Andreas Jaeger <aj@suse.de>
6386 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
6387 in __sgn1l, otherwise g++ fails to parse this.
6388 Reported by Sean Chen <sean.chen@turbolinux.com>.
6390 2000-03-03 Geoff Keating <geoffk@cygnus.com>
6392 * configure.in: Compute sizeof-long-double.
6393 * configure: Regenerated.
6394 * config.make.in: Make sizeof-long-double available to sub-makes.
6396 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
6398 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
6401 2000-03-03 Geoff Keating <geoffk@cygnus.com>
6403 * Makeconfig (rpath-dirs): Add crypt.
6404 (all-subdirs): Remove md5crypt.
6405 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
6406 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
6407 * sysdeps/generic/crypt-entry.c: Delete.
6408 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
6409 * sysdeps/generic/crypt.h: Delete.
6410 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
6411 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
6412 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
6413 * sysdeps/generic/des_impl.c: Delete.
6414 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
6415 * crypt/sysdeps: Delete.
6416 * crypt/crypt_util.c: Don't use `patchlevel.h'.
6417 * md5-crypt/Versions: Move to crypt/.
6418 * md5-crypt/md5-crypt.c: Move to crypt/.
6419 * md5-crypt/md5.c: Move to crypt/.
6420 * md5-crypt/md5c-test.c: Move to crypt/.
6421 * md5-crypt/md5test.c: Move to crypt/.
6422 * md5-crypt: Delete.
6423 * crypt/Makefile: Adjust for new structure.
6425 2000-03-03 Paul Eggert <eggert@twinsun.com>
6427 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
6428 define to 1 if not defined.
6430 2000-03-03 Andreas Jaeger <aj@suse.de>
6432 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
6434 2000-03-03 Andreas Jaeger <aj@suse.de>
6436 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
6438 (xdr_int64_t): Correctly handle lower half.
6439 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
6441 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
6443 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
6446 2000-03-02 Andreas Jaeger <aj@suse.de>
6448 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
6451 2000-03-02 Andreas Jaeger <aj@suse.de>
6453 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
6455 2000-03-01 Andreas Jaeger <aj@suse.de>
6457 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
6458 (tests): Added tst-getdate.
6460 * time/tst-getdate.c: New file.
6462 * time/datemsk: New file, needed for tst-getdate.
6464 2000-02-29 Cristian Gafton <gafton@redhat.com>
6466 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
6468 2000-02-17 H.J. Lu <hjl@gnu.org>
6470 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
6472 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
6474 (svcudp_recv): Set up message with the new "xp_pad" field for
6476 (svcudp_reply): Support IP_PKTINFO if available.
6478 2000-03-01 Andreas Jaeger <aj@suse.de>
6480 * time/getdate.c (check_mday): Fix check for february.
6481 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
6482 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
6484 2000-03-02 Andreas Jaeger <aj@suse.de>
6486 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
6487 g++ fails to parse this.
6488 Reported by Sean Chen <sean.chen@turbolinux.com>.
6490 2000-02-28 Ulrich Drepper <drepper@redhat.com>
6492 * io/creat.c: Moved to...
6493 * sysdeps/generic/creat.c: ...here.
6494 * io/creat64.c: Moved to...
6495 * sysdeps/generic/creat64.c: ...here.
6496 * io/lockf.c: Moved to...
6497 * sysdeps/generic/lockf.c: ...here.
6499 * crypt/crypt.texi: Moved to...
6500 * manual/crypt.texi: ...here.
6501 * crypt/examples/genpass.c: Moved to...
6502 * manual/examples/genpass.c: ...here.
6503 * crypt/examples/mygenpass.c: Moved to...
6504 * manual/examples/mygenpass.c: ...here.
6505 * crypt/examples/testpass.c: Moved to...
6506 * manual/examples/testpass.c: ...here.
6508 * manual/Makefile (chapters): Add crypt.
6509 * manual/conf.texi: Add usual header for not-last chapter.
6510 * manual/crypt.texi: Add special header for last chapter.
6512 2000-02-28 Geoff Keating <geoffk@cygnus.com>
6514 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
6515 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
6516 complain if there is no crypt add-on.
6517 * crypt/configure: Removed.
6519 * crypt/crypt.texi: Update documentation of US export restrictions
6520 to match the 14 Jan 2000 regulations.
6522 2000-02-28 Geoff Keating <geoffk@cygnus.com>
6524 * crypt: New subdirectory, merged in from the crypt add-on.
6526 2000-02-28 Ulrich Drepper <drepper@redhat.com>
6528 * include/unistd.h: Add __rmdir and __mkdir prototypes.
6531 See ChangeLog.10 for earlier changes.