1 2000-07-06 Andreas Jaeger <aj@suse.de>
3 * math/test-fpucw.c: Include <stdio.h> for printf.
5 2000-07-05 Greg McGary <greg@mcgary.org>
7 * sysdeps/generic/bp-checks.h: New file.
8 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
9 with list of #include files.
10 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
11 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
12 Don't generate BP thunk if `V' appears in signature.
13 Generate thunks with complete bounds checks.
14 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
15 * sysdeps/unix/inet/syscalls.list: Likewise.
16 * sysdeps/unix/mman/syscalls.list: Likewise.
17 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
18 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
19 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
20 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
22 2000-07-05 Ulrich Drepper <drepper@redhat.com>
24 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
25 result. Search first in /etc/mtab (proc/mounts would be stupid).
26 If mount not in the file fall back on /proc.
28 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
30 Patch by Solar Designer <solar@false.com>.
32 2000-07-05 Andreas Jaeger <aj@suse.de>
34 * manual/install.texi (Installation): Update information about
36 (Configuring and compiling): Update for glibc 2.2.
38 2000-07-04 Andreas Jaeger <aj@suse.de>
40 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
41 (_FPU_IEEE): Likewise.
43 * math/Makefile (tests): Add test-fpucw.
45 * math/test-fpucw.c (main): New file.
47 2000-07-05 Ulrich Drepper <drepper@redhat.com>
49 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
51 * locale/programs/ld-collate.c (collate_output): Also write out the
52 collation sequence values and the wide character string for the
53 collation symbol table.
55 * posix/fnmatch.c: Include "../locale/elem-hash.h".
56 * posix/fnmatch_loop.c: Implement collating symbol handling.
57 * posix/tst-fnmatch.input: Add more tests, especially for collating
60 * posix/regex.c: Fix comment.
62 2000-07-05 Andreas Jaeger <aj@suse.de>
64 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
65 (_FPU_GETCW): Remove extra colon.
66 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
68 * posix/fnmatch_loop.c (FCT): Only declare len if
69 !WIDE_CHAR_VERSION to silence GCC.
71 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
73 * sysdeps/generic/strchrnul.c: Likewise.
74 * sysdeps/generic/strlen.c: Likewise.
75 * sysdeps/generic/strchr.c: Likewise.
76 * sysdeps/generic/memchr.c: Likewise.
78 2000-07-04 Ulrich Drepper <drepper@redhat.com>
80 * posix/fnmatch_loop.c: Implement equivalence class handling.
81 * posix/tst-fnmatch.input: Add tests for equivalence class
84 * posix/fnmatch_loop.c: Improve performance for single-byte
85 character sets by not using btowc.
87 * posix/tst-fnmatch.input: Add tests for locale dependent
89 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
91 * posix/tst-fnmatch.input: Add more test cases.
93 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
94 are not aligned to alignof(md5_uint32) do it before calling
96 * crypt/md5.c: Make sure buffers are aligned.
97 * crypt/md5.h: Likewise.
98 Reported by Solar Designer <solar@false.com>.
100 * crypt/Makefile: Add dependencies for test programs.
102 * Rules: Define LC_ALL=C in environments of all programs we run.
104 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
106 2000-07-03 H.J. Lu <hjl@gnu.org>
108 * locale/programs/ld-ctype.c (ctype_output): The size of iov
109 is 2 + elem + offset, not 2 + elem + offset + 2.
111 2000-07-04 Ulrich Drepper <drepper@redhat.com>
113 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
115 * posix/Makefile (tests): Add tst-fnmatch.
116 (tst-fnmatch-ENV): Define.
117 * posix/tst-fnmatch.c: New file.
118 * posix/tst-fnmatch.sh: New file.
120 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
122 * locale/programs/charmap.c (charmap_read): Prepend
123 the condition filename == NULL.
125 2000-07-03 Greg McGary <greg@mcgary.org>
127 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
129 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
130 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
132 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
133 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
134 (FILEBUF_LITERAL): Add cast for CHAIN init.
135 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
136 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
137 Revert type of `fp' to _IO_FILE*.
138 (_IO_iter_file): Remove cast.
139 (_IO_iter_next): Elide intermediate member reference.
141 * sysdeps/powerpc/strchr.S: Check bounds.
142 Wrap extern symbols in BP_SYM ().
144 2000-07-03 Andreas Jaeger <aj@suse.de>
146 * dlfcn/Makefile (generated): New.
148 2000-07-03 Ulrich Drepper <drepper@redhat.com>
150 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
152 (__underflow): Likewise.
153 * libio/wgenops.c (__wunderflow): Likewise.
154 * stdio-common/tst-unbputc.c: New file.
155 * stdio-common/tst-unbputc.sh: New file.
156 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
158 * po/en_GB.po: New file.
159 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
161 2000-07-01 Andreas Jaeger <aj@suse.de>
163 * intl/Makefile (generated-dirs): New.
165 * elf/Makefile (generated): trusted-dirs.h is always generated,
166 move out of build-shared condition.
167 (generated): Merge the two entries for build-shared.
169 2000-07-01 Ulrich Drepper <drepper@redhat.com>
171 * debug/Makefile (distribute): Add xtrace.sh.
173 2000-06-30 Ulrich Drepper <drepper@redhat.com>
175 * version.h (VERSION): Bump to 2.1.91.
177 * configure.in: Update warning comment. glibc should not be
180 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
181 ioperm.c, sys/procfs.h, and sys/io.h.
183 * sysdeps/powerpc/Dist: Add bp-asm.h.
185 * assert/Depend: Add localedata.
186 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
187 (test-assert-perr-ENV): New. Define LANGUAGE=C.
189 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
190 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
191 relocation address to prevent unaligned trap.
192 Suggested by Richard Henderson <rth@cygnus.com>.
194 2000-06-30 Jakub Jelinek <jakub@redhat.com>
196 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
197 if redirecting and either redirection is done using defines or
200 2000-06-30 Ulrich Drepper <drepper@redhat.com>
202 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
203 generated expressions.
204 Patch by Darren McClelland <dmcclell@zetec.com>.
206 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
207 since zic uses setlocale and gettext but we cannot make it use the
208 new locale data since zic calls a shell which might not use the
211 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
212 handling the internation currency symbol. POSIX says that the
213 fourth character is used to separate the currency symbol from the
214 value. Therefore it does not have to be printed. But we cannot
215 remove the space if the currency symbol is printed before the
216 number since this is what many locales expect.
218 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
219 whether this information is available.
221 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
222 buffers in case the translation is too large. Remember allocated
223 memory blocks in a list.
224 (free_mem): Free memory for translations.
226 * intl/tst-gettext.c: Use correct locale. Improve error messages.
228 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
229 information is available set the string length to zero.
231 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
233 2000-06-30 Greg McGary <greg@mcgary.org>
235 * sysdeps/powerpc/bp-asm.h: New file.
236 * sysdeps/powerpc/__longjmp.S: Check bounds.
237 Wrap extern symbols in BP_SYM ().
238 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
239 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
240 * sysdeps/powerpc/setjmp.S: Likewise.
241 * sysdeps/powerpc/add_n.S: Likewise.
242 * sysdeps/powerpc/addmul_1.S: Likewise.
243 * sysdeps/powerpc/lshift.S: Likewise.
244 * sysdeps/powerpc/rshift.S: Likewise.
245 * sysdeps/powerpc/mul_1.S: Likewise.
246 * sysdeps/powerpc/sub_n.S: Likewise.
247 * sysdeps/powerpc/submul_1.S: Likewise.
248 * sysdeps/powerpc/strlen.S: Likewise.
249 * sysdeps/powerpc/memset.S: Likewise.
250 * sysdeps/powerpc/stpcpy.S: Likewise.
251 * sysdeps/powerpc/strcmp.S: Likewise.
252 * sysdeps/powerpc/strcpy.S: Likewise.
253 * sysdeps/powerpc/elf/bzero.S: Likewise.
255 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
256 Line up operands column with tabs.
258 2000-06-30 Ulrich Drepper <drepper@redhat.com>
260 * elf/Makefile (LDFLAGS-origtest): Actually add it.
262 * sysdeps/ia64/htonl.S: New file.
263 * sysdeps/ia64/htons.S: New file.
264 * sysdeps/ia64/memcpy.S: Replace with version which does not use
265 floating point registers.
266 Patches by Dan Pop <Dan.Pop@cern.ch>.
268 2000-06-30 Andreas Jaeger <aj@suse.de>
270 * posix/Makefile (tests): tst-exec and tst-spawn only work with
273 * io/Makefile (CFLAGS-test-lfs.c): New.
274 (tests): Add test-lfs.
276 * io/test-lfs.c: New file.
278 2000-06-30 Jakub Jelinek <jakub@redhat.com>
280 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
283 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
285 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
287 2000-06-29 Jes Sorensen <jes@linuxcare.com>
289 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
290 alias to the fstatfs call.
292 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
293 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
295 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
296 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
298 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
299 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
300 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
301 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
303 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
304 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
306 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
307 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
309 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
310 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
312 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
314 2000-06-29 Andreas Jaeger <aj@suse.de>
316 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
318 (print_err_message): Likewise.
319 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
321 2000-06-29 Ulrich Drepper <drepper@redhat.com>
323 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
324 used as words is properly aligned.
326 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
329 2000-06-29 Greg McGary <greg@mcgary.org>
331 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
332 * sysdeps/unix/make-syscalls.sh: Handle signatures of
333 length 7..9, just in case...
334 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
336 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
337 (POP_ERRNO_LOCATION_RETURN): Fold insns.
338 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
339 (PUSH_SIGNAL_MASK): New macro.
340 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
341 LEAVE is unnecessary. Check bounds of jmp_buf.
342 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
343 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
344 immediately before tail-call.
345 * sysdeps/i386/setjmp.S: Likewise.
346 * sysdeps/i386/bsd-_setjmp.S: Likewise.
347 * sysdeps/i386/bsd-setjmp.S: Likewise.
349 2000-06-29 Jakub Jelinek <jakub@redhat.com>
351 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
353 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
354 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
355 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
356 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
357 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
358 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
359 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
360 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
362 2000-06-29 Ulrich Drepper <drepper@redhat.com>
364 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
365 we later need to calling free().
366 Patch by Matt Wilson <msw@redhat.com>.
368 * stdio-common/tst-printf.c: Add test for above problem.
370 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
372 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
373 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
375 2000-06-28 Jes Sorensen <jes@linuxcare.com>
377 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
379 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
381 2000-06-23 Andreas Jaeger <aj@suse.de>
383 * config.h.in: Don't use regparm with bounded pointers.
385 2000-06-29 Ulrich Drepper <drepper@redhat.com>
387 * stdlib/grouping.h: Correctly handle multibyte thousands
388 separator and decimal point.
389 * stdlib/stdtod.c: Likewise.
390 * sysdeps/generic/strtol.c: Likewise.
392 * locale/categories.def: Add entries for wide character decimal point
393 and thousands separator in numeric and monetary category.
395 2000-06-28 Ulrich Drepper <drepper@redhat.com>
397 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
398 second definition and initialization of decimal.
400 2000-06-28 Greg McGary <greg@mcgary.org>
402 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
404 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
405 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
407 (_IO_JUMPS): Don't cast THIS--expect arg to be a
408 (struct _IO_FILE_plus *).
409 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
410 THIS, since _IO_JUMPS no longer does it implicitly.
411 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
412 arg type as (struct _IO_FILE_plus *).
413 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
414 arg as (_IO_strfile *).
415 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
416 Declare 1st arg as (_IO_strfile *).
417 * libio/fileops.c (_IO_new_file_init): Declare
418 arg type as (struct _IO_FILE_plus *).
419 * libio/oldfileops.c (_IO_old_file_init): Likewise.
420 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
421 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
422 Declare iteration pointer as (struct _IO_FILE_plus *).
423 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
424 (struct _IO_FILE_plus *).
425 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
426 * libio/oldstdfiles.c (_IO_list_all): Likewise.
427 (_IO_check_libio): Set user-visible handles to
428 (struct _IO_FILE_plus *).
429 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
430 to (struct _IO_FILE_plus *).
432 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
433 whose high bound includes vtable to all functions that will use
434 vtable. For streambufs, pass pointer whose bounds include struct
436 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
437 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
438 * libio/iofopen.c (_IO_new_fopen): Likewise.
439 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
440 * libio/iofopen64.c (_IO_fopen64): Likewise.
441 * libio/iopopen.c (_IO_new_popen): Likewise.
442 * libio/oldiopopen.c (_IO_old_popen): Likewise.
443 * libio/memstream.c (open_memstream): Likewise.
444 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
445 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
446 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
447 * libio/iofopncook.c (_IO_cookie_init): Likewise.
448 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
449 * libio/vasprintf.c (_IO_vasprintf): Likewise.
450 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
451 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
452 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
453 * stdlib/strfmon.c (__strfmon_l): Likewise.
454 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
455 (vfprintf): Qualify computed-goto targets as unbounded.
457 2000-06-28 Ulrich Drepper <drepper@redhat.com>
459 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
460 thousands separator correctly.
462 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
463 * stdio-common/vfwscanf.c: Likewise.
465 2000-06-27 Jes Sorensen <jes@linuxcare.com>
467 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
468 count into signatures for most calls.
470 2000-06-28 Ulrich Drepper <drepper@redhat.com>
472 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
473 the generic parser now.
475 2000-06-28 Jes Sorensen <jes@linuxcare.com>
477 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
478 table entries are 32 bit on the ia64 (as specified by the ABI),
479 not 64 bit as on the Alpha.
481 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
482 change of objects to use 32 bit hash table indices (see above).
484 2000-06-28 Jes Sorensen <jes@linuxcare.com>
486 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
489 2000-06-28 Wolfram Gloger <wg@malloc.de>
491 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
492 fails, try mmap_chunk() as a last resort even though n_mmaps_max
493 may have been reached.
495 2000-06-28 Ulrich Drepper <drepper@redhat.com>
497 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
498 symbols in multi-character weights correctly.
500 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
501 depending on whether the input string is empty or not.
503 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
504 given state and not avoiding this by modifying a local object.
505 * wcsmbs/wcrtomb.c: Likewise.
507 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
508 object since some incomplete characters might be in there.
510 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
511 sequences with first byte 0x8e correctly.
513 * iconvdata/jis0208.h: Remove redundant test.
515 2000-06-27 Ulrich Drepper <drepper@redhat.com>
517 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
518 Add it where it is needed now.
520 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
521 the input charset into account when generating the hash table.
522 (allocate_arrays): Correct setting default width. Not all empty slots
523 in the table are filled, only those not covert explicitly by the
524 locale description and in the charset.
526 * wctype/towctrans.c (__towctrans): Be graceful and accept error
527 return values from the wctrans function.
529 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
530 wide character version.
531 For %C handling, test correct pointer variable for NULL.
533 * wcsmbs/wctob.c: Handle WEOF special.
535 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
537 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
538 always-true test to avoid warning.
540 2000-06-27 Greg McGary <greg@mcgary.org>
542 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
543 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
544 (symbol_version, default_symbol_version): Factor redundant
545 definitions out of conditional.
547 2000-06-27 Jakub Jelinek <jakub@redhat.com>
549 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
552 2000-06-26 Ulrich Drepper <drepper@redhat.com>
554 * include/libc-symbols.h (symbol_version): Add extra level of
556 (default_symbol_version): Likewise.
558 2000-06-26 Greg McGary <greg@mcgary.org>
560 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
561 for BP return value & push implicit struct-return pointer to
563 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
564 (SYSCALL_ERROR_HANDLER): Likewise.
565 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
566 (SYSCALL_ERROR_HANDLER): Likewise.
568 * Makeconfig: Add missing comment.
569 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
570 BP-flavored startup object.
571 ($(objpfx)b$(start-installed-name)): New rule.
572 * include/libc-symbols.h (symbol_set_declare): Change type
573 of `__start_##set' and `__stop_##set' to pointer-to-function.
574 (symbol_set_declare): Change type of `set' to array of
576 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
579 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
581 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
582 Remove clock_* and timer_* entries.
583 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
584 arg-count with signatures.
586 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
587 Check bounds of arguments.
588 * sysdeps/i386/addmul_1.S: Likewise.
589 * sysdeps/i386/lshift.S: Likewise.
590 * sysdeps/i386/mul_1.S: Likewise.
591 * sysdeps/i386/rshift.S: Likewise.
592 * sysdeps/i386/sub_n.S: Likewise.
593 * sysdeps/i386/submul_1.S: Likewise.
594 * sysdeps/i386/i586/add_n.S: Likewise.
595 * sysdeps/i386/i586/addmul_1.S: Likewise.
596 * sysdeps/i386/i586/lshift.S: Likewise.
597 * sysdeps/i386/i586/rshift.S: Likewise.
598 * sysdeps/i386/i586/sub_n.S: Likewise.
599 * sysdeps/i386/i686/add_n.S: Likewise.
601 * sysdeps/i386/memchr.S: Likewise.
602 * sysdeps/i386/memcmp.S: Likewise.
603 * sysdeps/i386/rawmemchr.S: Likewise.
604 * sysdeps/i386/i586/bzero.S: Likewise.
605 * sysdeps/i386/i586/memcpy.S: Likewise.
606 * sysdeps/i386/i586/mempcpy.S: Likewise.
607 * sysdeps/i386/i586/memset.S: Likewise.
608 * sysdeps/i386/i686/bzero.S: Likewise.
609 * sysdeps/i386/i686/memcpy.S: Likewise.
610 * sysdeps/i386/i686/mempcpy.S: Likewise.
611 * sysdeps/i386/i686/memset.S: Likewise.
613 * sysdeps/i386/stpcpy.S: Likewise.
614 * sysdeps/i386/stpncpy.S: Likewise.
615 * sysdeps/i386/strchr.S: Likewise.
616 * sysdeps/i386/strchrnul.S: Likewise.
617 * sysdeps/i386/strcspn.S: Likewise.
618 * sysdeps/i386/strpbrk.S: Likewise.
619 * sysdeps/i386/strrchr.S: Likewise.
620 * sysdeps/i386/strspn.S: Likewise.
621 * sysdeps/i386/strtok.S: Likewise.
622 * sysdeps/i386/strtok_r.S: Likewise.
623 * sysdeps/i386/i486/strcat.S: Likewise.
624 * sysdeps/i386/i486/strlen.S: Likewise.
625 * sysdeps/i386/i586/strchr.S: Likewise.
626 * sysdeps/i386/i586/strcpy.S: Likewise.
627 * sysdeps/i386/i586/strlen.S: Likewise.
628 * sysdeps/i386/i686/strcmp.S: Likewise.
629 * sysdeps/i386/i686/strtok.S: Likewise.
630 * sysdeps/i386/i686/strtok_r.S: Likewise.
632 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
633 * sysdeps/i386/fpu/fesetenv.c: Likewise.
634 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
635 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
636 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
638 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
639 * sysdeps/i386/mul_1.S: Likewise.
640 * sysdeps/i386/submul_1.S: Likewise.
641 * sysdeps/i386/i586/add_n.S: Likewise.
642 * sysdeps/i386/i586/addmul_1.S: Likewise.
643 * sysdeps/i386/i586/lshift.S: Likewise.
644 * sysdeps/i386/i586/mul_1.S: Likewise.
645 * sysdeps/i386/i586/rshift.S: Likewise.
646 * sysdeps/i386/i586/sub_n.S: Likewise.
647 * sysdeps/i386/i586/submul_1.S: Likewise.
649 2000-06-26 Ulrich Drepper <drepper@redhat.com>
651 * rt/Makefile (librt-routines): Add clock_nanosleep.
652 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
653 * sysdeps/generic/clock_nanosleep.c: New file.
654 * sysdeps/unix/clock_nanosleep.c: New file.
655 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
656 * time/time.h: Declare clock_nanosleep.
658 2000-06-26 Greg McGary <greg@mcgary.org>
660 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
661 INSN1, INSN2, TEXT, GLOBL): Remove macros.
662 (ALIGN): Cleanup surrounding conditionals.
664 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
665 Call ENTER/LEAVE macros.
666 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
667 * sysdeps/i386/submul_1.S: Likewise.
669 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
670 syntax. Define & use symbolic argument stack offsets. Call
672 * sysdeps/i386/i586/mul_1.S: Likewise.
673 * sysdeps/i386/i586/submul_1.S: Likewise.
675 2000-06-25 Greg McGary <greg@mcgary.org>
677 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
680 2000-06-25 Ulrich Drepper <drepper@redhat.com>
682 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
683 * iconvdata/gen-8bit-gap.sh: Likewise.
684 * iconvdata/gen-8bit.sh: Likewise.
686 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
688 * locale/programs/ld-collate.c (collate_read): Don't actually read
689 the copy locale if we are ignoring the content.
691 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
694 * locale/programs/ld-collate.c: Correct handling of different
696 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
697 as extra parameter from which to copy category information.
699 (load_locale): Likewise.
700 * locale/programs/localedef.h: Update prototypes of add_to_readlist
702 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
703 * locale/programs/locfile.h: Likewise.
704 * locale/programs/locfile-kw.gperf: Add entry for script.
705 * locale/programs/locfile-token.h: Add tok_script.
707 * locale/programs/locale.c: Update copyright year.
708 * locale/programs/localedef.c: Likewise.
710 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
712 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
713 Jens Moeller <jens.moeller@waii.com>.
715 2000-06-24 Ulrich Drepper <drepper@redhat.com>
717 * locale/programs/ld-name.c (name_finish): Add missing format
718 specifier to test for name_fmt.
720 * locale/programs/ld-address.c (iso639): Correct length of string
724 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
726 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
729 * elf/elf.h (NT_PRFPXREG): Define.
731 2000-06-23 Ulrich Drepper <drepper@redhat.com>
733 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
734 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
736 2000-06-23 Andreas Schwab <schwab@suse.de>
738 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
741 2000-06-23 Andreas Jaeger <aj@suse.de>
743 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
745 * io/test-stat.c: Add copyright header, mention Maciej.
747 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
748 SYS_mincore, SYS_madvise): Added.
750 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
753 2000-06-22 Ulrich Drepper <drepper@redhat.com>
755 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
756 (CFLAGS-tst_putwc.c): New definition.
757 * libio/tst_getwc.c: New file.
758 * libio/tst_getwc.input: New file.
759 * libio/tst_putwc.c: New file.
761 * include/string.h: Add prototype for __strdup.
763 2000-06-22 Greg McGary <greg@mcgary.org>
765 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
766 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
769 2000-06-23 Jes Sorensen <jes@linuxcare.com>
771 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
773 2000-06-22 Jes Sorensen <jes@linuxcare.com>
775 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
777 2000-06-22 Jes Sorensen <jes@linuxcare.com>
779 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
780 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
782 2000-06-22 Ulrich Drepper <drepper@redhat.com>
784 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
785 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
787 * sysdeps/mach/hurd/bits/stat.h: Likewise.
788 * sysdeps/unix/bsd/bits/stat.h: Likewise.
789 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
790 * sysdeps/unix/sysv/bits/stat.h: Likewise.
791 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
792 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
793 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
794 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
795 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
796 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
797 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
798 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
799 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
800 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
803 2000-06-22 Andreas Jaeger <aj@suse.de>
805 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
808 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
810 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
812 2000-06-21 Ulrich Drepper <drepper@redhat.com>
814 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
817 2000-06-21 Greg McGary <greg@mcgary.org>
819 * Makerules (elide-routines.*, elide-bp-thunks):
820 Define unconditionally.
822 2000-06-21 Jes Sorensen <jes@linuxcare.com>
824 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
826 2000-06-21 Andreas Jaeger <aj@suse.de>
828 * io/Makefile (tests): Add test-stat.
829 (CFLAGS-test-stat.c): New.
831 * io/test-stat.c: New file from Maciej W. Rozycki
832 <macro@ds2.pg.gda.pl>.
834 2000-06-21 Jes Sorensen <jes@linuxcare.com>
836 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
837 in __rlimit_resource to make them match the kernel order.
838 rlim_t is always 64 bit, use __rlim64_t to declare it
841 2000-05-04 Jes Sorensen <jes@linuxcare.com>
843 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
844 RLIM_INFINITY before defining it to avoid clash with kernel header
846 2000-05-03 Jes Sorensen <jes@linuxcare.com>
848 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
850 2000-06-21 Ulrich Drepper <drepper@redhat.com>
852 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
854 2000-06-21 Andreas Jaeger <aj@suse.de>
856 * stdio-common/temptest.c: Include <stdlib.h>.
857 * stdio-common/tst-fileno.c: Likewise.
858 * stdio-common/scanf4.c: Likewise.
859 * stdio-common/scanf5.c: Likewise.
860 * time/clocktest.c: Likewise.
861 * posix/test-vfork.c: Likewise.
862 * posix/globtest.c: Likewise.
863 * io/test-utime.c: Likewise.
864 * wctype/test_wcfuncs.c: Likewise.
865 * crypt/cert.c: Likewise.
867 * stdio-common/tst-printfsz.c: Include <string.h>.
868 * libio/tst_swscanf.c: Likewise.
869 * libio/tst_wscanf.c: Likewise.
870 * posix/runtests.c: Likewise.
871 * posix/tst-getaddrinfo.c: Likewise.
872 * posix/wordexp-test.c: Likewise.
873 * misc/tst-efgcvt.c: Likewise.
875 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
876 * nss/test-netdb.c: Likewise.
878 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
879 supported kernel for MIPS.
881 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
882 * rt/aio_suspend.c: Likewise.
884 2000-06-20 Ulrich Drepper <drepper@redhat.com>
886 * math/libm-test.inc: Include <string.h>.
888 2000-06-20 Jes Sorensen <jes@linuxcare.com>
890 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
892 2000-06-20 Jes Sorensen <jes@linuxcare.com>
894 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
895 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
897 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
899 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
901 2000-06-20 Jes Sorensen <jes@linuxcare.com>
903 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
905 2000-06-20 Ulrich Drepper <drepper@redhat.com>
907 * locale/programs/ld-collate.c (insert_value): Now take string and
908 length instead of struct token* parameter. Adjust use of token.
909 (handle_ellipsis): Likewise.
910 (collate_read): Allow <Uxxxx> names and transform them into names
911 to be passed to insert_value and handle_ellipsis.
913 * locale/programs/ld-ctype.c (uninames): New array with names of
914 digits in <Uxxxxxxxx> format.
915 (ctype_finish): Correct search for space character value. Likewise
916 for default outdigits values.
918 2000-06-20 Greg McGary <greg@mcgary.org>
920 * Makerules (objects): Add BP thunks.
922 2000-06-20 Ulrich Drepper <drepper@redhat.com>
924 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
925 in width definitions.
927 2000-06-20 Andreas Jaeger <aj@suse.de>
929 * sysdeps/mips/fpu/libm-test-ulps: New file.
931 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
934 * sysdeps/mips/fpu/feholdexcpt.c: New file.
936 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
938 2000-06-19 Ulrich Drepper <drepper@redhat.com>
940 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
941 change in gconv_builtin.h.
943 * malloc/Makefile: Change all references to memprof into memusage.
944 * malloc/memprof.c: Rename to...
945 * malloc/memusage.c: ...this. New file.
946 * malloc/memprof.sh: Rename to...
947 * malloc/memusage.sh: ...this. New file.
948 * malloc/memprofstat.c: Rename to...
949 * malloc/memusagestat.c: ...this. New file.
950 * sysdeps/alpha/memprof.h: Rename to..
951 * sysdeps/alpha/memusage.h: ...this. New file.
952 * sysdeps/arm/memprof.h: Rename to..
953 * sysdeps/arm/memusage.h: ...this. New file.
954 * sysdeps/generic/memprof.h: Rename to..
955 * sysdeps/generic/memusage.h: ...this. New file.
956 * sysdeps/i386/memprof.h: Rename to..
957 * sysdeps/i386/memusage.h: ...this. New file.
958 * sysdeps/ia64/memprof.h: Rename to..
959 * sysdeps/ia64/memusage.h: ...this. New file.
960 * sysdeps/m68k/memprof.h: Rename to..
961 * sysdeps/m68k/memusage.h: ...this. New file.
962 * sysdeps/mips/memprof.h: Rename to..
963 * sysdeps/mips/memusage.h: ...this. New file.
964 * sysdeps/powerpc/memprof.h: Rename to..
965 * sysdeps/powerpc/memusage.h: ...this. New file.
966 * sysdeps/sparc/memprof.h: Rename to..
967 * sysdeps/sparc/memusage.h: ...this. New file.
968 * sysdeps/sh/memprof.h: Rename to..
969 * sysdeps/sh/memusage.h: ...this. New file.
971 * elf/sprof.c (print_version): Update year.
973 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
974 table entry values. Use D_PTR.
975 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
976 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
978 2000-06-20 Jes Sorensen <jes@linuxcare.com>
980 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
981 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
982 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
983 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
985 2000-05-05 Jes Sorensen <jes@linuxcare.com>
987 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
989 2000-06-16 Jes Sorensen <jes@linuxcare.com>
991 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
992 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
993 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
995 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
997 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
1000 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
1001 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
1003 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
1006 2000-06-15 Jes Sorensen <jes@linuxcare.com>
1008 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
1010 2000-06-08 Jes Sorensen <jes@linuxcare.com>
1012 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
1014 2000-06-19 Ulrich Drepper <drepper@redhat.com>
1016 * iconv/gconv_int.h (strict gconv_module): Remove all members
1017 associated with regular expressions. Use a simple string as the
1019 * iconv/gconv_db.c: Remove code handling regular expressions.
1020 * iconv/gconv_conf.c: Likewise.
1021 * iconv/iconv_prog.c: Likewise.
1022 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
1024 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
1025 General namespace cleanup.
1026 (struct __gconv_trans_data): Add next field.
1027 (struct __gconv_step_data): Make __trans a pointer.
1028 * iconv/gconv_conf.c: Split out code to find gconv directories from
1029 __gconv_read_conf in new functions.
1030 * iconv/gconv_int.h: Define new data structure and declare new
1031 functions for handling of gconv directory list.
1032 * iconv/gconv_open.c: Allow more than one error handling step being
1033 used. Call function to load error handling module if it is none
1034 of the builtin transformations.
1035 * iconv/gconv_close.c: Add code to free transliteration data.
1036 * iconv/gconv_trans.c: Add functions to load and unload modules
1037 implementing transliteration etc.
1038 * iconv/skeleton.c: Call all context functions now that more than
1039 one module is allowed.
1040 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
1041 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
1042 where the full error handling using transliteration is needed.
1043 * iconvdata/8bit-gap.c: Likewise.
1044 * iconvdata/8bit-generic.c: Likewise.
1045 * iconvdata/ansi_x3.110.c: Likewise.
1046 * iconvdata/big5.c: Likewise.
1047 * iconvdata/big5hkscs.c: Likewise.
1048 * iconvdata/euc-cn.c: Likewise.
1049 * iconvdata/euc-jp.c: Likewise.
1050 * iconvdata/euc-kr.c: Likewise.
1051 * iconvdata/euc-tw.c: Likewise.
1052 * iconvdata/gbgbk.c: Likewise.
1053 * iconvdata/gbk.c: Likewise.
1054 * iconvdata/iso-2022-cn.c: Likewise.
1055 * iconvdata/iso-2022-jp.c: Likewise.
1056 * iconvdata/iso-2022-kr.c: Likewise.
1057 * iconvdata/iso646.c: Likewise.
1058 * iconvdata/iso8859-1.c: Likewise.
1059 * iconvdata/iso_6937-2.c: Likewise.
1060 * iconvdata/iso_6937.c: Likewise.
1061 * iconvdata/johab.c: Likewise.
1062 * iconvdata/sjis.c: Likewise.
1063 * iconvdata/t.61.c: Likewise.
1064 * iconvdata/uhc.c: Likewise.
1065 * iconvdata/unicode.c: Likewise.
1066 * iconvdata/utf-16.c: Likewise.
1067 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
1068 structure correctly after last change.
1069 * wcsmbs/btowc.c: Likewise.
1070 * wcsmbs/mbrtowc.c: Likewise.
1071 * wcsmbs/mbsnrtowcs.c: Likewise.
1072 * wcsmbs/mbsrtowcs.c: Likewise.
1073 * wcsmbs/wcrtomb.c: Likewise.
1074 * wcsmbs/wcsnrtombs.c: Likewise.
1075 * wcsmbs/wcsrtombs.c: Likewise.
1076 * wcsmbs/wctob.c: Likewise.
1078 * localedata/Makefile: Set -Wno-format for some files since gcc does
1079 not know all the format specifiers.
1081 2000-06-18 Ulrich Drepper <drepper@redhat.com>
1083 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
1085 * locale/lc-time.c (_nl_init_era_entries): Likewise.
1087 2000-06-18 Andreas Jaeger <aj@suse.de>
1089 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
1090 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
1092 2000-06-17 Ulrich Drepper <drepper@redhat.com>
1094 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
1096 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
1098 * locale/programs/ld-ctype.c (ctype_output): Really write out
1099 mboutdigits information.
1100 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
1101 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
1102 * localedata/tests/trans.def: Add outdigit information.
1104 * localedata/tst-mbswcs3.c: Remove comment.
1106 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
1107 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
1108 * libio/tst_wprintf.c (main): Add test for I flag.
1110 * iconv/gconv_trans.c: Implement handling if translit_ignore.
1111 * locale/langinfo.h: Add entries for translit_ignore information.
1112 * locale/categories.def: Add entries for new LC_CTYPE elements.
1113 * locale/C-ctype.c: Add initializers for new fields. Use NULL
1114 pointer instead of "" where possible.
1115 * locale/programs/ld-ctype.c: Write out translit_ignore information.
1116 * intl/Depend: Add localedata.
1117 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
1118 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
1120 2000-06-16 Ulrich Drepper <drepper@redhat.com>
1122 * locale/langinfo.h: Add entries for default_missing information.
1123 * locale/C-ctype.c: Add initializers for new fields.
1124 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
1126 * locale/categories.h: Add entries for all LC_CTYPE values.
1127 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
1130 * localedata/tst-trans.c: Write out an error message if class is
1133 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
1134 * iconv/gconv_open.c: Remove error handling specification from `from'
1136 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
1137 new parameter to always enable transliteration.
1138 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
1140 (struct locale_data): Add new members use_translit and options.
1141 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
1142 character set name contained modifier TRANSLIT.
1143 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
1145 (_nl_unload_locale): Free options string if necessary.
1146 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
1147 the locale names suggested this.
1148 * locale/C-address.c: Add two new initialilzers to adjust data
1149 structure for new format.
1150 * locale/C-collate.c: Likewise.
1151 * locale/C-ctype.c: Likewise.
1152 * locale/C-identification.c: Likewise.
1153 * locale/C-measurement.c: Likewise.
1154 * locale/C-messages.c: Likewise.
1155 * locale/C-monetary.c: Likewise.
1156 * locale/C-name.c: Likewise.
1157 * locale/C-numeric.c: Likewise.
1158 * locale/C-paper.c: Likewise.
1159 * locale/C-telephone.c: Likewise.
1160 * locale/C-time.c: Likewise.
1162 * locale/setlocale.c: Add some more __builtin_expect.
1164 2000-06-15 Ulrich Drepper <drepper@redhat.com>
1166 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
1168 (__gconv_init_fct): Remove two parameters.
1169 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
1170 gconv_transliterate. Remove two parameters.
1171 Change prototypes of builtin functions according to __gconv_fct change.
1172 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
1173 != NULL only during error handling. Stop in this case after the
1175 * iconv/gconv_trans.c: Replace with real implementation for
1176 __gconv_transliterate.
1177 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
1178 * iconv/gconv.c: Change calls to downstream functions once again.
1179 Use NULL for the fifth parameter instead of pointer to output buffer.
1180 * libio/iofwide.c: Likewise.
1181 * wcsmbs/btowc.c: Likewise.
1182 * wcsmbs/mbrtowc.c: Likewise.
1183 * wcsmbs/mbsnrtowcs.c: Likewise.
1184 * wcsmbs/mbsrtowcs.c: Likewise.
1185 * wcsmbs/wcrtomb.c: Likewise.
1186 * wcsmbs/wcsnrtombs.c: Likewise.
1187 * wcsmbs/wcsrtombs.c: Likewise.
1188 * wcsmbs/wctob.c: Likewise.
1189 * iconv/gconv_simple.c: Remove two parameters from error handling
1191 * iconvdata/8bit-gap.c: Likewise.
1192 * iconvdata/8bit-generic.c: Likewise.
1193 * iconvdata/ansi_x3.110.c: Likewise.
1194 * iconvdata/big5.c: Likewise.
1195 * iconvdata/big5hkscs.c: Likewise.
1196 * iconvdata/euc-cn.c: Likewise.
1197 * iconvdata/euc-jp.c: Likewise.
1198 * iconvdata/euc-kr.c: Likewise.
1199 * iconvdata/euc-tw.c: Likewise.
1200 * iconvdata/gbgbk.c: Likewise.
1201 * iconvdata/gbk.c: Likewise.
1202 * iconvdata/iso-2022-cn.c: Likewise.
1203 * iconvdata/iso-2022-jp.c: Likewise.
1204 * iconvdata/iso-2022-kr.c: Likewise.
1205 * iconvdata/iso646.c: Likewise.
1206 * iconvdata/iso8859-1.c: Likewise.
1207 * iconvdata/iso_6937-2.c: Likewise.
1208 * iconvdata/iso_6937.c: Likewise.
1209 * iconvdata/johab.c: Likewise.
1210 * iconvdata/sjis.c: Likewise.
1211 * iconvdata/t.61.c: Likewise.
1212 * iconvdata/uhc.c: Likewise.
1213 * iconvdata/unicode.c: Likewise.
1214 * iconvdata/utf-16.c: Likewise.
1216 2000-06-15 Greg McGary <greg@mcgary.org>
1218 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
1219 of callnum assignment. Tolerate callnum expressions containing
1222 2000-06-14 Ulrich Drepper <drepper@redhat.com>
1224 * login/Makefile (utmpd): Remove rule to build utmpd.
1226 * csu/Versions: Move libgcc frame handling functions from here...
1227 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
1228 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
1229 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
1230 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
1231 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
1232 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
1234 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
1236 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
1238 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
1240 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
1242 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
1244 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
1245 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
1246 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
1247 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
1249 2000-06-14 Jakub Jelinek <jakub@redhat.com>
1251 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
1252 defined, terminate quotes and read them after the comment char.
1253 * configure.in (HAVE_SECTION_QUOTES): Test whether
1254 __attribute__((section ("x"))) puts quotes around x or not.
1255 * config.h.in (HAVE_SECTION_QUOTES): Add.
1256 * configure: Rebuilt.
1258 2000-06-14 Andreas Jaeger <aj@suse.de>
1260 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
1261 depending on the configure option --sysconfdir.
1262 Closes PR libc/1762.
1263 Patch by Andreas Schwab <schwab@suse.de>.
1265 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
1267 Reported by Jim Pick <jim@jimpick.com>.
1269 2000-06-14 Ulrich Drepper <drepper@redhat.com>
1271 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
1272 crashing the application. Emit some simple error message.
1273 Reported by mju@panasas.com [PR libc/1769].
1275 2000-06-13 Ulrich Drepper <drepper@redhat.com>
1277 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
1279 * crypt/Makefile (distribute): Add md5.h.
1281 * Makefile (distribute): Add include/shlib-compat.h.
1283 * Make-dist: Search for tests also in sysdeps hierachy.
1285 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
1286 ufc.c, speeds.c, README.ufc-crypt, and Banner.
1288 * sysdeps/sparc/Subdirs: New file.
1290 * locale/Makefile (distribute): Add weightwc.h and
1291 programs/localedef.h.
1293 * time/Makefile (distribute): Add datemsk.
1295 * sysdeps/ia64/Dist: Add softpipe.h.
1297 * sysdeps/unix/sysv/aix/Dist: New file.
1299 * posix/setpgrp.c: Moved to...
1300 * sysdeps/generic/setpgrp.c: ...here. New file.
1301 * io/mknod.c: Moved to...
1302 * sysdeps/generic/mknod.c: ...here. New file.
1304 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
1306 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
1308 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
1310 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
1311 gprsave0.S, gprrest1.S, and gprrest0.S.
1313 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
1315 * posix/Makefile (routines): Add spawnattr_getsigmask,
1316 spawnattr_getschedpolicy, spawnattr_getschedparam,
1317 spawnattr_setsigmask, spawnattr_setschedpolicy, and
1318 spawnattr_setschedparam.
1319 * posix/Versions: Add posix_spawnattr_getschedpolicy,
1320 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
1321 posix_spawnattr_setschedparam.
1323 * posix/spawnattr_setschedparam.c: Fix typo.
1325 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
1328 * login/programs/utmpd.c: Removed.
1329 * login/programs/utmpd.h: Removed.
1330 * login/programs/utmpd-private.h: Removed.
1332 * Makefile (distribute): Add include/db_185.h and include/db.h.
1334 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
1337 * elf/Makefile (distribute): Add missing files.
1339 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
1340 * elf/eval.c: Moved to...
1341 * dlfcn/eval.c: ...here. New file.
1343 * Makefile (distribute): Also distribute ChangeLog.1?.
1345 * Make-dist (+tsrcs): Remove .args handling here as well.
1347 * rt/Makefile (tests): Add tst-timer.
1348 * sysdeps/generic/tst-timer.c: New file.
1350 * Makerules (sources): Don't add BP sources here.
1352 * login/Makefile (distribute): Remove xtmp.h.
1354 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
1355 is true. Reported by Bruno Haible <haible@ilog.fr>.
1357 2000-06-13 Andreas Jaeger <aj@suse.de>
1359 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
1360 Patch by Ralf Baechle <ralf@gnu.org>.
1362 2000-06-13 Ulrich Drepper <drepper@redhat.com>
1364 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
1365 for mincore syscall.
1367 * misc/sys/cdefs.h: Define __bounded and __unbounded if
1368 __BOUNDED_POINTERS__ is not defined.
1370 2000-06-07 Greg McGary <greg@mcgary.org>
1372 * sysdeps/generic/bp-sym.h: New file.
1373 * sysdeps/generic/bp-start.h: New file.
1374 * sysdeps/i386/elf/start.S: Designate BP symbols.
1375 * sysdeps/generic/libc-start.c: Wrap bounds around
1376 argv & envp and each of their string members.
1378 2000-06-07 Greg McGary <greg@mcgary.org>
1380 * sysdeps/unix/make-syscalls.sh: Add comments to
1381 output that aid debugging & comprehension.
1382 Map simple syscall signatures to number of args.
1383 Generate BP syscall thunk definitions.
1384 * sysdeps/generic/bp-thunks.h: New file.
1385 * sysdeps/unix/syscalls.list: Replace arg-count with
1386 simple return+arg signature.
1387 * sysdeps/unix/common/syscalls.list: Likewise.
1388 * sysdeps/unix/inet/syscalls.list: Likewise.
1389 * sysdeps/unix/mman/syscalls.list: Likewise.
1390 * sysdeps/unix/sysv/syscalls.list: Likewise.
1391 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1392 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1394 2000-06-07 Greg McGary <greg@mcgary.org>
1396 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
1397 for all files *.[cS].
1398 (CFLAGS-.ob): Don't optimize sibling calls.
1399 (bppfx): New variable.
1400 * Makerules (elide-bp-thunks): New variable.
1401 (elide-routines.*): Elide BP-* files for all but *.ob.
1402 (sources): Include bp-thunks.
1404 2000-06-12 Ulrich Drepper <drepper@redhat.com>
1406 * iconv/gconv_simple.c: Remove unnecessary prototype.
1408 * iconv/gconv_trans.c: Pretty print.
1410 * elf/elf.h (R_SH_NUM): Got accidently dropped.
1412 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
1413 minimal kernel versions. Add information about IA-64 kernel.
1415 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
1416 specific minimal supported kernel versions to be specified.
1418 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
1419 step data structure.
1420 * wcsmbs/btowc.c: Likewise.
1421 * wcsmbs/mbrtowc.c: Likewise.
1422 * wcsmbs/mbsnrtowcs.c: Likewise.
1423 * wcsmbs/mbsrtowcs.c: Likewise.
1424 * wcsmbs/wcrtomb.c: Likewise.
1425 * wcsmbs/wcsnrtombs.c: Likewise.
1426 * wcsmbs/wcsrtombs.c: Likewise.
1427 * wcsmbs/wctob.c: Likewise.
1429 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
1430 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
1432 * shlib-versions: Earliest backward compatible version for SH is 2.2.
1434 * misc/sys/cdefs.h: Remove one more __P.
1436 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
1439 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
1440 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
1441 * sysdeps/sh/bits/setjmp.h: ...here. New file.
1443 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
1444 Yutaka Niibe <gniibe@chroot.org>
1446 * configure.in: Add machine sh3, sh4.
1447 * elf/elf.h: Add SH specific declarations of relocations.
1448 * shlib-versions: Add sh*-*-linux* cases.
1450 2000-06-12 Ulrich Drepper <drepper@redhat.com>
1452 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
1453 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
1454 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
1455 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
1456 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
1457 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
1459 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
1460 instead of KERNEL_MATH_EMULATION.
1461 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
1462 KERNEL_MATH_EMULATION.
1464 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
1465 * sysdeps/sh/sh3/dl-machine.h: Moved to...
1466 * sysdeps/sh/dl-machine.h: ...here. New file.
1467 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
1468 and include generic SH version.
1469 * sysdeps/sh/sh3/bits/endian.h: Move to...
1470 * sysdeps/sh/bits/endian.h: ...here. New file.
1471 * sysdeps/sh/sh4/bits/endian.h: Removed.
1472 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
1473 * sysdeps/sh/bits/huge_val.h: ...here. New file.
1474 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
1476 * include/libc-symbols.h (link_warning): Work around a change in
1477 GAS which warns about changing section attributes.
1478 Proposed by Nick Clifton <nickc@redhat.com>.
1480 2000-06-12 H.J. Lu <hjl@gnu.org>
1482 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
1484 2000-06-11 H.J. Lu <hjl@gnu.org>
1486 * sysdeps/i386/fpu/Versions: New file.
1488 2000-06-12 Ulrich Drepper <drepper@redhat.com>
1490 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
1492 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
1495 2000-06-12 Jes Sorensen <jes@linuxcare.com>
1497 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
1498 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
1499 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
1501 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
1502 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
1503 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
1505 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
1506 Yutaka Niibe <gniibe@chroot.org>
1508 * sysdeps/sh/Dist: New file.
1509 * sysdeps/sh/Implies: New file.
1510 * sysdeps/sh/elf/initfini.c: New file.
1511 * sysdeps/sh/gmp-mparam.h: New file.
1512 * sysdeps/sh/init-first.c: New file.
1513 * sysdeps/sh/machine-gmon.h: New file.
1514 * sysdeps/sh/memcpy.S: New file.
1515 * sysdeps/sh/memprof.h: New file.
1516 * sysdeps/sh/memset.S: New file.
1517 * sysdeps/sh/sh3/__longjmp.S: New file.
1518 * sysdeps/sh/sh3/bits/endian.h: New file.
1519 * sysdeps/sh/sh3/bits/huge_val.h: New file.
1520 * sysdeps/sh/sh3/bits/setjmp.h: New file.
1521 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
1522 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
1523 * sysdeps/sh/sh3/dl-machine.h: New file.
1524 * sysdeps/sh/sh3/setjmp.S: New file.
1525 * sysdeps/sh/sh4/__longjmp.S: New file.
1526 * sysdeps/sh/sh4/bits/endian.h: New file.
1527 * sysdeps/sh/sh4/bits/huge_val.h: New file.
1528 * sysdeps/sh/sh4/bits/setjmp.h: New file.
1529 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
1530 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
1531 * sysdeps/sh/sh4/dl-machine.h: New file.
1532 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
1533 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
1534 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
1535 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
1536 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
1537 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
1538 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
1539 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
1540 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
1541 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
1542 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
1543 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
1544 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
1545 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
1546 * sysdeps/sh/sh4/setjmp.S: New file.
1547 * sysdeps/sh/elf/start.S: New file.
1548 * sysdeps/sh/sys/ucontext.h: New file.
1549 * sysdeps/sh/strlen.S: New file.
1550 * sysdeps/sh/sysdep.h: New file.
1551 * sysdeps/unix/sh/sysdep.S: New file.
1552 * sysdeps/unix/sh/sysdep.h: New file.
1553 * sysdeps/unix/sysv/linux/sh/Dist: New file.
1554 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
1555 * sysdeps/unix/sysv/linux/sh/Versions: New file.
1556 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
1557 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
1558 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
1559 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
1560 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
1561 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
1562 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
1563 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
1564 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
1565 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
1566 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
1567 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
1568 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
1569 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
1570 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
1571 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
1572 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
1573 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
1574 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
1575 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
1576 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
1577 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
1578 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
1579 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
1580 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
1581 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
1582 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
1583 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
1584 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
1585 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
1586 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
1587 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
1588 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
1589 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
1590 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
1591 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
1592 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
1593 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
1594 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
1595 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
1596 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
1597 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
1598 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
1599 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
1600 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
1601 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
1602 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
1604 2000-06-12 Ulrich Drepper <drepper@redhat.com>
1606 * Rules (%.out): Define GCONV_PATH in the environment.
1607 * assert/Depend: New file.
1608 * iconvdata/Depend: New file.
1609 * intl/Depend: New file.
1610 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
1611 * intl/tst-gettext.sh: Likewise.
1612 * iconv/Makefile (routines): Add gconv_trans.
1613 * iconv/gconv_trans.c: New file.
1614 * iconv/gconv.h (struct __gconv_trans_data): New type.
1615 (__gconv_fct): New parameter with starting position in output buffer.
1616 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
1617 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
1618 (struct __gconv_step): Add new member __trans.
1619 * iconv/gconv_int.h: Pretty print prototypes.
1620 (gconv_transliterate): New prototype.
1621 (__BUILTIN_TRANS): Update for new conversion function interface.
1622 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
1623 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
1624 in names, find appropriate function, and install in the conversion
1625 steps it can be used.
1626 * iconv/skeleton.c: Add additional parameter for beginning of output
1627 buffer. Change calls of downstream functions.
1628 * iconv/loop.c: Change loop function interface completely. Pass in
1629 step and step_data structure. Remove optimization for BODY with
1630 NEED_LENGTH_TEST == 0.
1631 * iconv/gconv_simple.c: Update interfaces of functions. Insert
1632 appropriate error handling code to use transliteration steps. Remove
1633 optimization for BODY with NEED_LENGTH_TEST == 0.
1634 * iconvdata/8bit-gap.c: Likewise.
1635 * iconvdata/8bit-generic.c: Likewise.
1636 * iconvdata/ansi_x3.110.c: Likewise.
1637 * iconvdata/big5.c: Likewise.
1638 * iconvdata/big5hkscs.c: Likewise.
1639 * iconvdata/euc-cn.c: Likewise.
1640 * iconvdata/euc-jp.c: Likewise.
1641 * iconvdata/euc-kr.c: Likewise.
1642 * iconvdata/euc-tw.c: Likewise.
1643 * iconvdata/gbgbk.c: Likewise.
1644 * iconvdata/gbk.c: Likewise.
1645 * iconvdata/iso-2022-cn.c: Likewise.
1646 * iconvdata/iso-2022-jp.c: Likewise.
1647 * iconvdata/iso-2022-kr.c: Likewise.
1648 * iconvdata/iso646.c: Likewise.
1649 * iconvdata/iso8859-1.c: Likewise.
1650 * iconvdata/iso_6937-2.c: Likewise.
1651 * iconvdata/iso_6937.c: Likewise.
1652 * iconvdata/johab.c: Likewise.
1653 * iconvdata/sjis.c: Likewise.
1654 * iconvdata/t.61.c: Likewise.
1655 * iconvdata/uhc.c: Likewise.
1656 * iconvdata/unicode.c: Likewise.
1657 * iconvdata/utf-16.c: Likewise.
1658 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
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 2000-04-11 Geoff Keating <geoffk@cygnus.com>
1671 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
1672 other header files. Mention about 128-byte cache line sizes.
1673 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
1674 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
1675 for current calling sequence.
1676 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
1678 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
1679 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1681 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
1682 and setrlimit syscalls for backwards compatibility.
1684 2000-06-10 Ulrich Drepper <drepper@redhat.com>
1686 * iconv/skeleton.c: Rename converted written to correcter name
1688 * iconv/gconv.c: Rename converted variable to correcter name
1690 * iconv/gconv_int.h: Likewise.
1691 * iconv/gconv_simple.c: Likewise.
1692 * iconv/iconv.c: Likewise.
1693 * iconv/loop.c: Likewise.
1694 * iconvdata/8bit-gap.c: Likewise.
1695 * iconvdata/8bit-generic.c: Likewise.
1696 * iconvdata/ansi_x3.110.c: Likewise.
1697 * iconvdata/big5.c: Likewise.
1698 * iconvdata/big5hkscs.c: Likewise.
1699 * iconvdata/euc-cn.c: Likewise.
1700 * iconvdata/euc-jp.c: Likewise.
1701 * iconvdata/euc-kr.c: Likewise.
1702 * iconvdata/gbgbk.c: Likewise.
1703 * iconvdata/gbk.c: Likewise.
1704 * iconvdata/iso-2022-cn.c: Likewise.
1705 * iconvdata/iso-2022-jp.c: Likewise.
1706 * iconvdata/iso-2022-kr.c: Likewise.
1707 * iconvdata/iso646.c: Likewise.
1708 * iconvdata/iso8859-1.c: Likewise.
1709 * iconvdata/iso_6937-2.c: Likewise.
1710 * iconvdata/iso_6937.c: Likewise.
1711 * iconvdata/johab.c: Likewise.
1712 * iconvdata/sjis.c: Likewise.
1713 * iconvdata/t.61.c: Likewise.
1714 * iconvdata/uhc.c: Likewise.
1715 * iconvdata/unicode.c: Likewise.
1716 * iconvdata/utf-16.c: Likewise.
1718 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
1719 __cmsg_data field with __extension__.
1721 2000-06-10 David Mosberger <davidm@hpl.hp.com>
1723 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
1725 2000-06-10 Ulrich Drepper <drepper@redhat.com>
1727 * iconv/gconv_simple.c: Fix various small bugs in several
1730 * iconv/loop.c: Fix comment.
1732 2000-06-10 Jakub Jelinek <jakub@redhat.com>
1734 * elf/link.h: Remove libc internal declarations.
1735 * include/link.h: Move them here.
1737 2000-06-09 Ulrich Drepper <drepper@redhat.com>
1739 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
1740 Patch by Dan Pop <Dan.Pop@cern.ch>.
1742 Rewrite error message handling.
1743 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
1745 * elf/dl-error (struct catch): Add objname member.
1746 (_dl_signal_error): Take new parameter with object name. When
1747 passing message on simply store object name and duplicate error
1749 (_dl_catch_error): Take new parameter. Store object name in the
1751 * include/dlfcn.h: Adjust _dl_catch_error prototype.
1752 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
1753 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
1754 (dlerror): Add objname to asprintf() parameters.
1755 (_dl_error_run): Pass new parameter to _dl_catch_error.
1756 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
1757 * elf/dl-open.c (_dl_open): Likewise.
1758 * elf/rtld.c (dl_main): Likewise.
1759 * elf/dl-close.c: Mark error messages with N_().
1760 * elf/dl-deps.c: Likewise.
1761 * elf/dl-error.c: Likewise.
1762 * elf/dl-load.c: Likewise.
1763 * elf/dl-open.c: Likewise.
1764 * elf/dl-reloc.c: Likewise.
1765 * elf/dl-support.c: Likewise.
1766 * elf/dl-sym.c: Likewise.
1767 * elf/dl-version.c: Likewise.
1768 * elf/dl-lookup.c: Add comments about problems with error message
1770 * elf/dl-reloc.c: Likewise.
1771 * elf/dl-version.c: Likewise.
1773 2000-06-09 H.J. Lu <hjl@gnu.org>
1775 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
1778 * dlfcn/Makefile (distribute): Add failtestmod.c.
1779 (tests): Add failtest.
1780 Add rules to build and run failtest.
1781 * dlfcn/failtest.c: New file.
1782 * dlfcn/failtestmod.c: New file.
1784 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
1786 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
1787 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
1788 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
1789 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
1790 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
1792 2000-06-09 Jes Sorensen <jes@linuxcare.com>
1794 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
1795 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
1797 2000-06-09 Jes Sorensen <jes@linuxcare.com>
1798 Ulrich Drepper <drepper@redhat.com>
1800 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
1801 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
1802 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
1803 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
1804 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
1805 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
1807 2000-06-09 Ulrich Drepper <drepper@redhat.com>
1809 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
1810 to find correct mount point despite wrong information from the
1813 2000-06-09 Jes Sorensen <jes@linuxcare.com>
1815 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
1816 the address of a symbol so function pointers are handled properly.
1818 2000-06-08 Ulrich Drepper <drepper@redhat.com>
1820 * sysdeps/i386/Dist: Add bp-asm.h.
1822 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
1823 defaultdir variable instead of "/var/shm" everywhere.
1824 (defaultdir): Change to /dev/shm/.
1826 2000-06-08 Greg McGary <greg@mcgary.org>
1828 * sysdeps/i386/bp-asm.h: New file.
1829 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
1830 offsets. Add ENTER/LEAVE macros for optionally maintaining
1831 frame-pointer chain when debugging.
1832 * sysdeps/i386/add_n.S: Likewise.
1833 * sysdeps/i386/addmul_1.S: Likewise.
1834 * sysdeps/i386/lshift.S: Likewise.
1835 * sysdeps/i386/memchr.S: Likewise.
1836 * sysdeps/i386/memcmp.S: Likewise.
1837 * sysdeps/i386/mul_1.S: Likewise.
1838 * sysdeps/i386/rawmemchr.S: Likewise.
1839 * sysdeps/i386/rshift.S: Likewise.
1840 * sysdeps/i386/stpcpy.S: Likewise.
1841 * sysdeps/i386/stpncpy.S: Likewise.
1842 * sysdeps/i386/strchr.S: Likewise.
1843 * sysdeps/i386/strchrnul.S: Likewise.
1844 * sysdeps/i386/strcspn.S: Likewise.
1845 * sysdeps/i386/strpbrk.S: Likewise.
1846 * sysdeps/i386/strrchr.S: Likewise.
1847 * sysdeps/i386/strspn.S: Likewise.
1848 * sysdeps/i386/strtok.S: Likewise.
1849 * sysdeps/i386/sub_n.S: Likewise.
1850 * sysdeps/i386/submul_1.S: Likewise.
1851 * sysdeps/i386/elf/setjmp.S: Likewise.
1852 * sysdeps/i386/i486/strcat.S: Likewise.
1853 * sysdeps/i386/i486/strlen.S: Likewise.
1854 * sysdeps/i386/i586/add_n.S: Likewise.
1855 * sysdeps/i386/i586/lshift.S: Likewise.
1856 * sysdeps/i386/i586/memcpy.S: Likewise.
1857 * sysdeps/i386/i586/memset.S: Likewise.
1858 * sysdeps/i386/i586/rshift.S: Likewise.
1859 * sysdeps/i386/i586/strchr.S: Likewise.
1860 * sysdeps/i386/i586/strcpy.S: Likewise.
1861 * sysdeps/i386/i586/strlen.S: Likewise.
1862 * sysdeps/i386/i586/sub_n.S: Likewise.
1863 * sysdeps/i386/i686/add_n.S: Likewise.
1864 * sysdeps/i386/i686/memcpy.S: Likewise.
1865 * sysdeps/i386/i686/mempcpy.S: Likewise.
1866 * sysdeps/i386/i686/memset.S: Likewise.
1867 * sysdeps/i386/i686/strcmp.S: Likewise.
1869 2000-06-08 Ulrich Drepper <drepper@redhat.com>
1871 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
1873 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
1874 256 and don't use OPEN_MAX.
1876 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
1877 use it instead of LINK_MAX.
1878 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
1880 2000-06-08 Andreas Jaeger <aj@suse.de>
1882 * libio/genops.c (_IO_list_lock): Only compile body if we're
1884 (_IO_list_unlock): Likewise.
1885 (_IO_list_resetlock): Likewise.
1887 2000-06-07 Ulrich Drepper <drepper@redhat.com>
1889 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
1890 unless user defined it.
1892 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
1893 if not defined by the user.
1895 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
1896 * libio/iofwrite.c (_IO_fwrite): Likewise.
1898 * time/time.h: Add missing __THROW for clock_getcpuclockid
1901 * elf/Makefile (distribute): Add dl-dtprocnum.h.
1902 * include/elf.h: Include also <dl-dtprocnum.h>.
1903 * elf/dl-deps.c: Likewise.
1904 * elf/dl-lookup.c: Likewise.
1905 * elf/dl-runtime.c: Likewise.
1906 * elf/dl-version.c: Likewise.
1907 * elf/do-rel.h: Likewise.
1908 * elf/dynamic-link.h: Likewise.
1909 * elf/link.h: Likewise.
1910 * elf/rtld.c: Likewise.
1911 * sysdeps/generic/dl-dtprocnum.h: New file.
1912 * sysdeps/ia64/dl-dtprocnum.h: New file.
1913 * sysdeps/mips/dl-dtprocnum.h: New file.
1914 * sysdeps/sparc/dl-dtprocnum.h: New file.
1916 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
1918 * elf/do-lookup.h: Add some __builtin_expect.
1920 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
1922 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
1923 (_dl_dynamic_weak): New variable.
1924 * elf/dl-support.c: Likewise.
1925 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
1926 * elf/do-lookup.h: If we find a weak definition treat it like a
1927 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
1928 case treat it like before.
1930 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
1932 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
1934 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
1935 using l_map_start and l_map_end.
1937 * elf/dl-version.c: Add __builtin_expect in many places.
1939 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
1942 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
1944 Lock for stdio stream list becomes global, for use in LinuxThreads.
1946 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
1947 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
1948 _IO_list_resetlock): New interface for iterating global list of
1949 streams without accessing the _IO_list_all global variable,
1950 and for manipulating the lock which protects this list.
1951 * libio/libioP.h: Likewise.
1952 * libio/Version: Add entries for the new functions.
1954 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
1955 pointer to _IO_FILE.
1957 2000-06-07 Ulrich Drepper <drepper@redhat.com>
1959 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
1960 BIT() must actually be BITw().
1962 * locale/programs/ld-ctype.c: Handle SP and space consistently.
1964 * locale/programs/charmap.c: Allow string arguments for
1965 code_set_name and repertoiremap.
1967 2000-06-07 Andreas Jaeger <aj@suse.de>
1969 * elf/Makefile: Build ldconfig only when building shared libraries.
1971 2000-06-07 Jakub Jelinek <jakub@redhat.com>
1973 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
1975 (fdimf, __fdim, fdim): Likewise.
1977 2000-06-07 Ulrich Drepper <drepper@redhat.com>
1979 * locale/findlocale.c: Add __builtin_expect in many places.
1980 * locale/loadlocale.c: Likewise.
1982 2000-06-06 Greg McGary <greg@mcgary.org>
1984 * sysdeps/mips/elf/start.S: Trim redundant code.
1986 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
1987 Use C comments throughout. Line up operands column with tabs.
1988 * sysdeps/powerpc/strchr.S: Likewise.
1989 * sysdeps/powerpc/strcmp.S: Likewise.
1990 * sysdeps/powerpc/strcpy.S: Likewise.
1991 * sysdeps/powerpc/strlen.S: Likewise.
1993 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
1994 Get low part of &__curbrk with @l.
1996 2000-06-06 Ulrich Drepper <drepper@redhat.com>
1998 * iconvdata/utf-16.c: Add __builtin_expect in many places.
1999 * iconvdata/unicode.c: Likewise.
2000 * iconvdata/uhc.c: Likewise.
2001 * iconvdata/t.61.c: Likewise.
2002 * iconvdata/sjis.c: Likewise.
2003 * iconvdata/johab.c: Likewise.
2004 * iconvdata/iso_6937.c: Likewise.
2005 * iconvdata/iso_6937-2.c: Likewise.
2006 * iconvdata/iso8859-1.c: Likewise.
2007 * iconvdata/iso646.c: Likewise.
2008 * iconvdata/iso-2022-kr.c: Likewise.
2009 * iconvdata/iso-2022-jp.c: Likewise.
2010 * iconvdata/iso-2022-cn.c: Likewise.
2011 * iconvdata/gbgbk.c: Likewise.
2012 * iconvdata/gbk.c: Likewise.
2013 * iconvdata/euc-kr.c: Likewise.
2014 * iconvdata/euc-jp.c: Likewise.
2015 * iconvdata/euc-cn.c: Likewise.
2017 2000-06-05 Ulrich Drepper <drepper@redhat.com>
2019 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
2020 * iconvdata/big5.c: Likewise.
2021 * iconvdata/ansi_x3.110.c: Likewise.
2022 * iconvdata/8bit-generic.c: Likewise.
2023 * iconvdata/8bit-gap.c: Likewise.
2024 * iconv/loop.c: Likewise.
2025 * iconv/gconv_db.c: Likewise.
2026 * iconv/gconv_dl.c: Likewise.
2027 * iconv/gconv_simple.c: Likewise.
2028 * iconv/skeleton.c: Likewise.
2030 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
2031 (struct __gconv_step_data): Rename __is_last to __flags.
2032 * iconv/gconv_close.c: Change all uses of __is_last.
2033 * iconv/skeleton.c: Likewise.
2034 * iconvdata/iso-2022-cn.c: Likewise.
2035 * iconvdata/iso-2022-jp.c: Likewise.
2036 * iconvdata/iso-2022-kr.c: Likewise.
2037 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
2038 Recognize IGNORE error handling, set flag, and remove from name.
2039 * iconv/loop.c (ignore_errors_p): Define.
2040 Add flags parameter to both functions.
2041 * iconv/skeleton.c: Pass flags to all conversion functions.
2042 * iconv/gconv_simple.c: Add flags parameter to all functions.
2043 Don't return error for invald error if ignore flag is set.
2044 (ucs4_internal_loop_single): Add missing pointer increment.
2045 (internal_ucs4le_loop_single): Likewise.
2046 * iconv/iconv_prog.c: Implement handling of -c parameter.
2047 * iconvdata/8bit-gap.c: Don't return error for invald error if
2049 * iconvdata/8bit-generic.c: Likewise.
2050 * iconvdata/ansi_x3.110.c: Likewise.
2051 * iconvdata/big5.c: Likewise.
2052 * iconvdata/big5hkscs.c: Likewise.
2053 * iconvdata/euc-cn.c: Likewise.
2054 * iconvdata/euc-jp.c: Likewise.
2055 * iconvdata/euc-kr.c: Likewise.
2056 * iconvdata/gbgbk.c: Likewise.
2057 * iconvdata/gbk.c: Likewise.
2058 * iconvdata/iso-2022-cn.c: Likewise.
2059 * iconvdata/iso-2022-jp.c: Likewise.
2060 * iconvdata/iso-2022-kr.c: Likewise.
2061 * iconvdata/iso646.c: Likewise.
2062 * iconvdata/iso8859-1.c: Likewise.
2063 * iconvdata/iso_6937-2.c: Likewise.
2064 * iconvdata/iso_6937.c: Likewise.
2065 * iconvdata/johab.c: Likewise.
2066 * iconvdata/sjis.c: Likewise.
2067 * iconvdata/t.61.c: Likewise.
2068 * iconvdata/uhc.c: Likewise.
2069 * iconvdata/unicode.c: Likewise.
2070 * iconvdata/utf-16.c: Likewise.
2071 * libio/fileops.c: Likewise.
2072 * libio/iofwide.c: Likewise.
2073 * wcsmbs/btowc.c: Likewise.
2074 * wcsmbs/mbrtowc.c: Likewise.
2075 * wcsmbs/mbsnrtowcs.c: Likewise.
2076 * wcsmbs/mbsrtowcs.c: Likewise.
2077 * wcsmbs/wcrtomb.c: Likewise.
2078 * wcsmbs/wcsnrtombs.c: Likewise.
2079 * wcsmbs/wcsrtombs.c: Likewise.
2080 * wcsmbs/wctob.c: Likewise.
2082 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
2085 2000-06-04 Ulrich Drepper <drepper@redhat.com>
2087 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
2088 counter for the object we are releasing, just decrement it.
2089 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
2091 2000-06-04 Jakub Jelinek <jakub@redhat.com>
2093 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
2096 2000-06-04 Ulrich Drepper <drepper@redhat.com>
2098 * iconvdata/big5hkscs.c: New file.
2099 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
2101 * iconvdata/gconv-modules: Add entry for new module.
2102 * iconvdata/Makefile (modules): Add BIG5HKSCS.
2103 (distribute): Add big5hkscs.c.
2105 2000-06-01 Jakub Jelinek <jakub@redhat.com>
2107 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
2108 inlines to match prototypes in mathcalls.h.
2109 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
2110 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
2111 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
2112 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2114 2000-06-03 Ulrich Drepper <drepper@redhat.com>
2116 * elf/elf.h (SHT_SUNW_move): Define.
2118 * elf/elf.h: Add more Solaris compatiblity definitions.
2120 2000-06-03 Andreas Jaeger <aj@suse.de>
2122 * sysdeps/powerpc/dl-start.S: Close open comment.
2124 2000-06-03 Jakub Jelinek <jakub@redhat.com>
2126 * inet/Versions: Fix typo in rresvport_af export.
2128 2000-06-02 Ulrich Drepper <drepper@redhat.com>
2130 * math/tgmath.h: Pretty print.
2132 2000-06-02 Andreas Jaeger <aj@suse.de>
2134 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
2135 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2137 2000-06-02 Ulrich Drepper <drepper@redhat.com>
2139 * elf/rtld.c (process_envvars): Test for = after variable name.
2141 2000-06-01 Ulrich Drepper <drepper@redhat.com>
2143 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
2144 have extra call to __gmon_start__, use the pointer we already have.
2146 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
2149 * sysdeps/i386/elf/setjmp.S: Work around change is recent
2150 binutils. gas now emits a jump through the PLT instead of a
2151 relative jump if the jump target is an exported symbol.
2153 2000-05-31 Ulrich Drepper <drepper@redhat.com>
2155 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
2157 2000-05-31 Andreas Jaeger <aj@suse.de>
2159 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
2162 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
2163 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2165 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
2167 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
2169 2000-05-30 Ulrich Drepper <drepper@redhat.com>
2171 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
2173 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
2174 * locale/localeconv.c: Make function versioned (with same definition).
2176 * elf/Makefile (modules-names): Strip before using it.
2178 2000-05-30 Andreas Jaeger <aj@suse.de>
2180 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
2181 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
2182 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
2183 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
2184 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
2185 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
2187 2000-05-29 Ulrich Drepper <drepper@redhat.com>
2189 * Makefile: Add GNU make magic.
2191 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
2193 * inet/rcmd.c: Remove __P. Remove unused variables.
2194 (iruserfopen): Make first parameter const.
2195 (ruserok_sa): Return result of ruserok2_sa.
2196 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
2197 * inet/rexec.c: Remove unused variables. Other small cleanups.
2198 * inet/ruserpass.c: Remove __P. Remove unused variables.
2199 (ruserpass): Check results of memory allocation.
2200 * include/netdb.h: Add prototype for ruserpass.
2202 2000-05-29 Andreas Jaeger <aj@suse.de>
2204 * elf/readlib.c (interpreters): Use LD_SO since this is supported
2207 2000-05-29 Jakub Jelinek <jakub@redhat.com>
2209 * inet/rcmd.c (rresvport_af): Use correct port number.
2211 2000-05-26 Andreas Schwab <schwab@suse.de>
2213 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
2214 entries in all-sonames.
2215 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
2216 preserving the old name if different for compatibility.
2218 2000-05-29 Ulrich Drepper <drepper@redhat.com>
2220 * posix/Makefile (tests): Add tst-spawn.
2221 (tst-spawn-ARGS): New variable.
2222 * posix/tst-spawn.c: New file.
2224 * posix/spawn_faction_addclose.c: Correctly account for new entry.
2225 * posix/spawn_faction_adddup2.c: Likewise.
2226 * posix/spawn_faction_addopen.c: Likewise.
2227 * posix/spawni.c: Correctly test for success of dup2 calls.
2229 * posix/tst-preadwrite.c: Check success of malloc call.
2231 2000-05-28 Ulrich Drepper <drepper@redhat.com>
2233 * posix/Makefile (tests): Add tst-exec.
2234 (tst-exec-ARGS): New variable.
2235 * posix/tst-exec.c: New file.
2237 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
2239 2000-05-04 Andreas Jaeger <aj@suse.de>
2241 * string/string.h: Remove __strdup prototype, it's not needed in
2244 2000-05-28 Ulrich Drepper <drepper@redhat.com>
2246 * posix/Makefile (tests): Add tst-fork.
2247 * posix/tst-fork.c: New file.
2249 * resolv/inet_pton.c: Loose __P.
2251 2000-05-21 Jakub Jelinek <jakub@redhat.com>
2253 * libio/libioP.h (_IO_CHECK_WIDE): Define.
2254 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
2255 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
2256 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
2257 _IO_CHECK_WIDE fails.
2259 2000-05-28 Ulrich Drepper <drepper@redhat.com>
2261 * po/da.po: New file.
2263 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
2264 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
2266 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
2267 (Other iconv Implementations): Fix typo.
2268 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
2270 2000-05-27 Andreas Jaeger <aj@suse.de>
2272 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
2274 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
2275 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
2276 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2277 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2278 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
2279 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
2281 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
2282 endianness to decide how to pass arguments.
2283 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2285 * elf/vismain.c: Use test-skeleton interface.
2286 (TEST_FUNCTION): New macro.
2287 (do_test): Renamed from main.
2289 2000-05-27 Ulrich Drepper <drepper@redhat.com>
2291 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
2292 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
2294 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
2295 handling of AI_V4MAPPED flag.
2297 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
2298 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
2299 perform lookup for T_A type and tell getanswer_r to convert the
2300 result with new argument.
2301 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
2302 Don't convert addresses from IPv4 to IPv6 here.
2303 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
2304 IPv6 is wanted. Allow qtype and type from reply to disagree if
2305 IPv4 mapping has to be done. Perform mappings if required by the
2306 caller and not if RES_USE_INET6 bit in _res.options is set.
2307 Add several __builtin_expect.
2309 2000-05-26 Ulrich Drepper <drepper@redhat.com>
2311 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
2313 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
2316 * posix/tst-preadwrite.c: Allow parallel execution of
2317 tst-preadwrite and tst-preadwrite64.
2319 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
2320 * posix/tst-truncate.c: New file.
2321 * posix/tst-truncate64.c: New file.
2323 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
2326 * posix/Makefile (tests): Add tst-preadwrite64.
2327 * posix/tst-preadwrite.c: Alloc file being used also for testing
2328 pread64 and pwrite64.
2329 * posix/tst-preadwrite64.c: New file.
2331 2000-05-26 Andreas Jaeger <aj@suse.de>
2333 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
2334 of arguments dependend on endianness.
2335 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
2337 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
2339 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
2340 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
2341 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2342 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2344 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
2345 endianness to check how to pass argument.
2346 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2348 * elf/ldconfig.h: Update parameter list for process_elf_file.
2350 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
2351 Add parameter file_length and pass it ot process_elf*file.
2353 * sysdeps/generic/readelflib.c (check_ptr): New.
2354 (process_elf_file): Use check_ptr to check all accesses to the
2355 mmapped file. Add parameter file_length.
2357 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
2360 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
2361 Closes PR libc/1573, reported by Bradley White
2362 <bww@laurelnetworks.com>.
2364 2000-05-25 Ulrich Drepper <drepper@redhat.com>
2366 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
2367 __FAST_MATH__ is defined.
2369 2000-05-22 Andreas Jaeger <aj@suse.de>
2371 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
2372 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
2374 * manual/math.texi (FP Function Optimizations): Document gcc
2375 -ffast-math behaviour with mathinlines.
2377 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
2378 functions unless -ffast-math is given to gcc.
2380 2000-05-23 Jakub Jelinek <jakub@redhat.com>
2382 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
2383 __sincosl): Guard with __USE_GNU.
2385 2000-05-24 Ulrich Drepper <drepper@redhat.com>
2387 * csu/Makefile (routines): Add check_fds.
2388 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
2389 binaries. Add various __builtin_expect.
2390 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
2391 * sysdeps/generic/check_fds.c: ...here. New file.
2393 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
2394 binaries if file /etc/suid-debug is available.
2396 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
2397 and wcseqorder members.
2398 (struct locale_collate_t): Likewise.
2399 (collate_finish): Assign collation sequence value to each character.
2400 Create tables for output.
2401 (collate_output): Write out tables with collation sequence information.
2402 * locale/C-collate.c: Provide C locale data for collation sequence
2404 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
2405 _NL_COLLATE_COLLSEQWC.
2406 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
2407 _NL_COLLATE_COLLSEQWC.
2408 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
2409 include fnmatch_loop.c.
2410 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
2411 character is matched by range expression. Use collation sequence
2412 table. Outside glibc fall back on simple character value comparison.
2414 2000-05-24 Andreas Jaeger <aj@suse.de>
2416 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
2419 * intl/Makefile: Run gettext-test only if msgfmt is available.
2421 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
2422 Define it for newer kernels.
2424 2000-05-23 Ulrich Drepper <drepper@redhat.com>
2426 * elf/dl-sym.c: Minor cleanups.
2428 * configure.in: Add test for .protected.
2429 * config.make.in: Add have-protected variable.
2430 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
2431 (tests-vis-yes): Add vismain.
2432 (modules-names): Add $(modules-vis-$(have-protected)).
2433 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
2434 Add rules to generate and run vismain.
2435 * elf/vismain.c: New file.
2436 * elf/vismod1.c: New file.
2437 * elf/vismod2.c: New file.
2438 * elf/vismod3.c: New file.
2440 2000-05-23 Andreas Jaeger <aj@suse.de>
2442 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
2444 * manual/search.texi (Array Sort Function): Document that qsort is
2445 not necessarily in-place.
2447 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
2448 Closes PR libc/1731.
2450 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
2451 * dirent/scandir64.c: Likewise.
2452 * pwd/getpw.c: Likewise.
2453 * stdlib/bsearch.c (bsearch): Likewise.
2454 * stdlib/tst-strtoll.c: Likewise.
2455 * localedata/collate-test.c: Likewise.
2456 * localedata/xfrm-test.c: Likewise.
2457 * posix/bsd-getpgrp.c: Likewise.
2458 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
2459 * sysdeps/generic/bits/siginfo.h: Likewise.
2460 * sysdeps/generic/bits/sockaddr.h: Likewise.
2461 * sysdeps/generic/sys/swap.h: Likewise.
2462 * sysdeps/generic/sys/sysinfo.h: Likewise.
2463 * sysdeps/generic/vfork.c: Likewise.
2464 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
2465 * sysdeps/mach/hurd/fdopen.c: Likewise.
2466 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
2467 * sysdeps/unix/sysv/linux/poll.c: Likewise.
2468 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2469 * sysdeps/unix/sysv/linux/writev.c: Likewise.
2470 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2471 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2472 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
2474 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
2475 * shadow/lckpwdf.c: Likewise.
2476 * stdlib/tst-strtol.c: Likewise.
2477 * sysdeps/generic/tcsetattr.c: Likewise.
2478 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2479 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2481 2000-05-22 Jakub Jelinek <jakub@redhat.com>
2483 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
2484 free it and set to (void *) -1.
2486 2000-05-22 Jakub Jelinek <jakub@redhat.com>
2488 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
2489 not the second character in the range.
2490 * stdio-common/tstscanf.c (main): Add testcase for the above.
2491 Reported by jik@kamens.brookline.ma.us.
2493 2000-05-21 H.J. Lu <hjl@gnu.org>
2495 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
2496 with noexec and noplt parameter.
2497 (do_lookup): Likewise.
2499 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
2500 do_lookup. Support STV_PROTECTED.
2501 (_dl_lookup_symbol_skip): Likewise.
2502 (_dl_lookup_versioned_symbol): Likewise.
2503 (_dl_lookup_versioned_symbol_skip): Likewise.
2505 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
2507 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
2509 2000-05-21 Jakub Jelinek <jakub@redhat.com>
2511 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
2512 * sysdeps/i386/bits/huge_val.h: Likewise.
2513 * sysdeps/ieee754/bits/huge_val.h: Likewise.
2514 * sysdeps/m68k/bits/huge_val.h: Likewise.
2515 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
2516 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
2518 2000-05-22 Andreas Jaeger <aj@suse.de>
2520 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
2523 2000-05-19 Andreas Jaeger <aj@suse.de>
2525 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
2526 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
2527 breaks compilation without linuxthreads.
2529 2000-05-21 Ulrich Drepper <drepper@redhat.com>
2531 * sysdeps/ia64/memccpy.S: New file.
2532 * sysdeps/ia64/memchr.S: New file.
2533 * sysdeps/ia64/memcmp.S: New file.
2534 * sysdeps/ia64/memcpy.S: New file.
2535 * sysdeps/ia64/memmove.S: New file.
2536 * sysdeps/ia64/memset.S: New file.
2537 * sysdeps/ia64/strcat.S: New file.
2538 * sysdeps/ia64/strchr.S: New file.
2539 * sysdeps/ia64/strcmp.S: New file.
2540 * sysdeps/ia64/strcpy.S: New file.
2541 * sysdeps/ia64/strlen.S: New file.
2542 * sysdeps/ia64/strncmp.S: New file.
2543 * sysdeps/ia64/strncpy.S: New file.
2544 * sysdeps/ia64/softpipe.h: New file.
2545 Patches by Dan Pop <Dan.Pop@cern.ch>.
2547 * manual/memory.texi: Document memory handling functions (mlock,
2548 munlock, mlockall, munlockall, brk, and sbrk)
2549 * manual/time.texi: Document timespec and friends.
2550 * manual/conf.texi: Fix references.
2551 * manual/ctype.texi: Likewise.
2552 * manual/errno.texi: Likewise.
2553 * manual/intro.texi: Likewise.
2554 * manual/locale.texi: Likewise.
2555 * manual/sysinfo.texi: Likewise.
2556 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
2558 2000-05-09 Jes Sorensen <jes@linuxcare.com>
2560 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
2561 * sysdeps/ia64/dl-lookupcfg.h: ...here.
2563 2000-05-21 Jakub Jelinek <jakub@redhat.com>
2565 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
2568 2000-05-21 Ulrich Drepper <drepper@redhat.com>
2570 * locale/locale.h (struct lconv): Add new elements from ISO C99.
2571 * locale/localeconv.c: Initialize new elements from ISO C99.
2572 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
2573 new standard elements.
2574 * locale/categories.def: Adjust accordingly.
2576 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
2577 * iconv/iconv.c: Likewise.
2578 * conform/data/iconv.h-data: Likewise.
2579 * iconv/iconv_prog.c (process_block): Remove const from second
2581 (main): Remove const from addr definition.
2582 * manual/charset.texi (Generic Conversion Interface): Remove from
2583 inbuf parameter of iconv.
2585 * intl/dcigettext.c: Fix typo in comment.
2587 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
2589 * resolv/res_libc.c (_res): Initialize _sock to -1.
2591 2000-05-18 Jakub Jelinek <jakub@redhat.com>
2593 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
2594 (fopencookie@@GLIBC_2.2): New.
2595 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
2596 (fopencookie@GLIBC_2.0): New.
2597 * libio/Versions: Add fopencookie to GLIBC_2.2.
2599 2000-05-18 Andreas Jaeger <aj@suse.de>
2601 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
2602 Closes PR libc/1731.
2604 * manual/arith.texi (Parsing of Integers): Fix typo.
2605 Closes PR libc/1744, reported by blp@gnu.org.
2607 2000-05-17 Jakub Jelinek <jakub@redhat.com>
2609 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
2610 __extension__ to hexadecimal floating constant notation.
2611 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
2613 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
2614 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
2616 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
2617 HUGE_VALL): Likewise.
2618 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
2619 HUGE_VALL): Likewise.
2620 (HUGE_VALL): Set to HUGE_VAL on sparc32.
2622 2000-05-17 Andreas Jaeger <aj@suse.de>
2624 * string/envz.h: Add pure attributes if possible.
2626 * string/argz.h: argz_count is a pure function.
2628 * string/strings.h: Add pure and const attributes if possible.
2630 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
2631 possibly searching through the whole memory.
2632 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
2634 2000-05-17 Jakub Jelinek <jakub@redhat.com>
2636 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
2638 (_dl_cache_check_flags): Likewise.
2639 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
2642 2000-05-17 Andreas Jaeger <aj@suse.de>
2644 * manual/creature.texi (Feature Test Macros): Remove paragraph
2645 since the description is wrong.
2646 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
2648 * scripts/config.sub: New version.
2649 * scripts/config.guess: Likewise.
2650 * manual/texinfo.tex: Likewise.
2652 * time/test_time.args: Removed.
2653 * time/Makefile (test_time-ARGS): Added contents here instead.
2655 * posix/tstgetopt.args: Removed.
2656 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
2658 * Rules: Allow arguments for test files to be specified in
2659 Makefile with testname-ARGS; remove rules with .args in it.
2661 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
2662 remove old bogus rule for opendir-tst1.args.
2664 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
2666 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
2667 into objdir. This allows a readonly sourcetree.
2668 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
2670 2000-05-16 Andreas Jaeger <aj@suse.de>,
2671 David Huggins-Daines <dhd@linuxcare.com>
2673 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
2674 cache_data in case of only new cache format correctly.
2676 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
2679 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
2680 struct cache_file_new.
2682 * elf/cache.c (save_cache): Fix str_offset if only new cache is
2685 * elf/cache.c (save_cache): Align struct new_file_cache.
2686 (print_cache): Likewise.
2688 2000-05-13 Jakub Jelinek <jakub@redhat.com>
2690 * elf/soinit.c (__libc_global_ctors): Move
2691 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
2692 * resolv/resolv.h (__res_state): Added __attribute__((const)).
2693 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
2694 variable, don't define it to __res_state call.
2696 2000-05-13 Andreas Jaeger <aj@suse.de>
2698 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
2700 (AF_PPPOX): Likewise.
2701 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
2702 (AF_PPPOX): Likewise.
2704 2000-05-12 Andreas Jaeger <aj@suse.de>
2706 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
2707 Reported by tmoestl@gmx.net, closes PR libc/1732.
2709 2000-05-11 Jan Hubicka <jh@suse.cz>
2711 * misc/sys/cdefs.h: Add support for pure attribute.
2713 * include/string.h: Add __attribute_pure__ to various functions.
2714 * string/string.h: Likewise.
2716 2000-05-10 Jakub Jelinek <jakub@redhat.com>
2718 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
2720 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2722 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
2724 2000-05-10 Jakub Jelinek <jakub@redhat.com>
2726 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
2727 at proper place. Compute the high nibble correctly.
2729 2000-05-09 Jakub Jelinek <jakub@redhat.com>
2731 * elf/ldconfig.c: Include elf.h.
2733 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
2734 (_dl_vsym): Likewise.
2735 Reported by Owen Taylor <otaylor@redhat.com>.
2737 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
2740 2000-05-08 Andreas Jaeger <aj@suse.de>
2742 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
2744 * intl/bindtextdom.c (set_binding_values): Add prototype.
2746 2000-05-08 Jakub Jelinek <jakub@redhat.com>
2748 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
2749 call to elf_machine_fixup_plt.
2750 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2751 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2753 2000-05-08 Jakub Jelinek <jakub@redhat.com>
2755 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
2756 they are not dlclose'd from underneath us.
2758 2000-05-08 Andreas Schwab <schwab@suse.de>
2760 * posix/execle.c: Fix size parameter of memcpy.
2762 2000-05-08 Andreas Schwab <schwab@suse.de>
2764 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
2765 getpagesize syscall if available.
2767 2000-05-08 Andreas Jaeger <aj@suse.de>
2769 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
2772 2000-05-08 Jakub Jelinek <jakub@redhat.com>
2774 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
2775 sizeof(struct link_map *) chunks, not in bytes.
2777 2000-05-07 Ulrich Drepper <drepper@redhat.com>
2779 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
2780 only needed for locale.
2781 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
2782 It's only needed for catgets.
2783 Patches by Greg McGary <gkm@eng.ascend.com>.
2785 2000-05-07 Mark Kettenis <kettenis@gnu.org>
2787 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
2788 Remove duplicate <errno.h> include. Remove inclusion of
2789 <libintl.h> and "nsswitch.h".
2790 (set_cloexec_flag): New function, broken out of dbopen.
2791 (dbopen): Changed return type to `enum
2792 nss_status'. Mostly rewritten to make sure that we do not report
2793 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
2794 (internal_setent): Change return type to nss_status.
2795 Document, and make sure that the function
2796 behaves accordingly. Make dynamically loading the database
2797 library really thread-safe and return NSS_STATUS_UNAVAIL if it
2799 (db_cursor): Return ENOMEM is memory allocation failed. Remove
2801 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
2803 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
2804 c_get function member.
2805 * nss/nss_db/nss_db.h: Add and tweak some comments.
2806 (DBT): Move typedef before NSS_DBC typedef.
2807 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
2809 2000-05-07 H.J. Lu <hjl@gnu.org>
2811 * csu/initfini.c: Moved to ....
2812 * sysdeps/generic/initfini.c: ...here.
2814 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
2816 2000-05-07 Ulrich Drepper <drepper@redhat.com>
2818 * manual/resource.texi: Document POSIX scheduling functions.
2819 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
2821 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
2822 reading anything. Reported by Andries.Brouwer@cwi.nl.
2824 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
2825 for x since promotion in comparison might leads to unexpected
2826 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
2828 * iconv/Makefile (tests): Add tst-iconv1.
2829 * iconv/tst-iconv1.c: New file.
2830 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
2831 empty input buffer over full output buffer.
2832 (ucs4_internal_loop): Likewise.
2833 (ucs4_internal_loop_unaligned): Likewise.
2834 (internal_ucs4le_loop): Likewise.
2835 (internal_ucs4le_loop_unaligned): Likewise.
2836 (ucs4le_internal_loop): Likewise.
2837 (ucs4le_internal_loop_unaligned): Likewise.
2838 Reported by yaoz@nih.gov.
2840 2000-05-06 Bruno Haible <haible@clisp.cons.org>
2842 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
2843 returned != __GCONV_OK, there is nothing to clean up.
2845 2000-05-06 Bruno Haible <haible@clisp.cons.org>
2847 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
2848 OUTPUT_CHARSET environment variables.
2850 2000-05-06 Andreas Jaeger <aj@suse.de>
2852 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
2853 (struct cache_file_new): New.
2854 (struct file_entry): New (moved from cache.c).
2855 (struct cache_file): New (moved from cache.c).
2857 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
2858 from _dl_load_cache_lookup.
2859 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
2860 the different cache formats.
2861 New variable cache_new for new format.
2863 * elf/ldconfig.h: Change according to changes in cache.c and
2864 ldconfig.c; remove cache_libcmp; add opt_format.
2866 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
2867 stuff that's defined in those headers.
2868 Add hwcap to struct lib_entry.
2869 (opt_format): New variable to select cache format.
2870 (options): Add format parameter.
2871 (is_hwcap): New function.
2872 (path_hwcap): New function.
2873 (parse_opt): Handle new format parameter.
2874 (search_dir): Handle hwcap, search also subdirectories with hwcap.
2876 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
2877 ldconfig is part of glibc.
2878 Include dl-cache.h and remove stuff that's defined there.
2879 (struct cache_entry): Add new member hwcap.
2880 (print_entry): Print hwcap, cleanup a bit.
2881 (print_cache): Print new and old formats.
2882 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
2883 (save_cache): Save new and old formats.
2884 (add_to_cache): Handle hwcap.
2886 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
2887 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
2888 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
2889 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
2890 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
2891 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
2893 2000-05-05 Bruno Haible <haible@clisp.cons.org>
2895 * intl/dcigettext.c (alignof): New macro.
2896 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
2897 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
2900 2000-05-05 Bruno Haible <haible@clisp.cons.org>
2902 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
2905 2000-05-06 Ulrich Drepper <drepper@redhat.com>
2907 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
2908 (mempcpy): Correct typo is parameter list.
2910 2000-05-06 Andreas Jaeger <aj@suse.de>
2912 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
2913 functions unless -ffast-math is given to gcc.
2915 2000-05-06 Ulrich Drepper <drepper@redhat.com>
2917 * po/ko.po: Update from translation team.
2919 2000-05-05 Ulrich Drepper <drepper@redhat.com>
2921 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
2922 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
2923 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
2924 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
2925 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
2926 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
2928 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
2929 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
2930 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
2932 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
2933 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
2934 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
2935 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
2937 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
2938 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
2940 2000-05-05 Jes Sorensen <jes@linuxcare.com>
2942 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
2943 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
2945 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
2946 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
2948 * sysdeps/ia64/Implies: New file.
2949 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
2950 * sysdeps/ia64/Makefile: New file.
2951 * sysdeps/ia64/gmp-mparam.h: New file,
2953 * sysdeps/ia64/elf/start.S: New file.
2955 * sysdeps/ia64/bits/fenv.h: New file.
2957 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
2959 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
2961 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
2963 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
2964 ia64 has 64 bit .hash entries just as the Alpha.
2966 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
2968 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
2970 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
2972 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
2973 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
2974 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
2975 * sysdeps/ia64/fpu/fegetenv.c: New file.
2976 * sysdeps/ia64/fpu/fegetexcept.c: New file.
2977 * sysdeps/ia64/fpu/fegetround.c: New file.
2978 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
2979 * sysdeps/ia64/fpu/fesetenv.c: New file.
2980 * sysdeps/ia64/fpu/fesetround.c: New file.
2981 * sysdeps/ia64/fpu/feupdateenv.c: New file.
2982 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
2983 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
2984 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
2985 * sysdeps/ia64/fpu/ftestexcept.c: New file.
2987 2000-05-05 Andreas Jaeger <aj@suse.de>
2989 * misc/tst-tsearch.c (main): Correct type for initstate argument.
2991 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
2992 (_dl_string_hwcap): New, does nothing.
2994 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
2995 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
2996 (_dl_string_hwcap): New function, converts from string to hwcap
2998 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
2999 (_DL_HWCAP_COUNT): New.
3000 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
3001 (_dl_string_hwcap): New function, converts from string to hwcap
3003 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
3004 (_DL_HWCAP_COUNT): New.
3005 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
3006 (_dl_string_hwcap): New function, converts from string to hwcap
3009 2000-05-05 Ulrich Drepper <drepper@redhat.com>
3011 * elf/Makefile (distribute): Add dl-lookupcfg.h.
3012 * sysdeps/ia64/Dist: New file.
3014 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
3015 parameter to mprotect and for variable assignments.
3017 2000-05-03 Jes Sorensen <jes@linuxcare.com>
3019 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
3020 validity of map before dereferencing it.
3022 * elf/dl-reloc.c (RESOLVE_MAP): Define.
3024 2000-05-02 Jes Sorensen <jes@linuxcare.com>
3026 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
3027 lookup to the arguments to elf_machine_fixup_plt().
3029 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
3030 of the symbol being resolved to input argument list and make the
3031 function return the pointer to the reloc.
3033 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
3034 return valuie to lookup_t and return the value.
3035 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
3036 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
3037 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
3038 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
3039 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
3040 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
3042 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
3043 Make it an inline function returning value after calling
3044 __elf_machine_fixup_plt().
3046 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
3049 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
3050 obtain the symbol address.
3052 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
3053 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
3055 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
3056 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
3059 2000-04-28 Jes Sorensen <jes@linuxcare.com>
3061 * elf/dl-runtime.c (fixup): Use the portable macros to get the
3062 symbol address of an object.
3064 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
3065 the symbol address of an object.
3067 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
3068 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
3069 (_dl_lookup_symbol_skip): Likewise.
3070 (_dl_lookup_versioned_symbol): Likewise.
3071 (_dl_lookup_versioned_symbol_skip): Likewise.
3073 2000-04-27 Jes Sorensen <jes@linuxcare.com>
3075 * elf/rtld.c (_dl_start): Get the function pointer return address
3076 via _dl_start_address for architectures that need a function
3077 pointer descriptor rather than just a pointer (ia64).
3079 * sysdeps/generic/dl-lookupcfg.h: New file.
3080 * sysdeps/ia64/dl-lookupcfg.h: New file.
3081 * sysdeps/ia64/dl-machine.h: New file.
3082 * sysdeps/ia64/dl-symaddr.c: New file.
3083 * sysdeps/ia64/dl-fptr.c: New file.
3085 * elf/elf.h: Add IA-64 specific definitions.
3087 2000-05-04 Jakub Jelinek <jakub@redhat.com>
3089 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
3092 2000-05-04 Jakub Jelinek <jakub@redhat.com>
3094 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
3097 2000-04-11 Geoff Keating <geoffk@cygnus.com>
3099 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
3100 symbol. Call _dl_init rather than the old way.
3102 2000-05-04 Ulrich Drepper <drepper@redhat.com>
3104 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
3105 test for pointer in range of DSO address space.
3107 2000-05-04 Andreas Jaeger <aj@suse.de>
3109 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
3111 2000-05-03 Ulrich Drepper <drepper@redhat.com>
3113 * locale/findlocale.c (_nl_find_locale): Add new parameter to
3114 calls of _nl_make_l10nflist.
3116 * libio/stdio.h: Make fseeko and ftello prototypes available is
3117 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
3119 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
3120 real unsetenv implementation from 1999-07-29 [PR libc/1714].
3122 2000-05-03 Bruno Haible <haible@clisp.cons.org>
3124 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
3125 before calling tfind.
3127 2000-03-05 Jakub Jelinek <jakub@redhat.com>
3129 * resolv/resolv.h (res_querydomain): Remove redefinition to
3130 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
3132 2000-05-03 Ulrich Drepper <drepper@redhat.com>
3134 * po/gl.po: Update from translation team.
3136 * manual/intro.texi (Program Basics): Change section title.
3137 * manual/process.texi: Fix reference.
3138 (Executing a File): Add reference exec in other section.
3139 * manual/signal.texi: Fix reference.
3140 * manual/startup.texi: Document syscall function.
3141 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
3143 2000-04-29 Bruno Haible <haible@clisp.cons.org>
3145 * intl/libintl.h (bind_textdomain_codeset): New declaration.
3146 * intl/bindtextdom.c (set_binding_values): New function.
3147 (bindtextdomain): Call it.
3148 (bind_textdomain_codeset): New function.
3149 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
3150 (free_mem): Free each binding's codeset.
3151 * intl/gettextP.h (struct binding): Add codeset field.
3152 (_nl_find_domain): Add domainbinding argument.
3153 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
3154 Pass it to _nl_make_l10nflist.
3155 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
3156 (_nl_make_l10nflist): Add domainbinding argument.
3157 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
3158 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
3159 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
3161 * manual/message.texi: New node "Charset conversion in gettext".
3163 2000-04-30 Bruno Haible <haible@clisp.cons.org>
3165 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
3166 appropriate. Handle possible __read error.
3168 2000-04-29 Bruno Haible <haible@clisp.cons.org>
3170 * intl/gettextP.h (__builtin_expect): Define as empty if not a
3172 * intl/loadinfo.h (__builtin_expect): Likewise.
3173 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
3174 __builtin_expect where appropriate.
3175 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3176 * intl/localealias.c (extend_alias_table): Return an error indicator.
3177 (read_alias_file): Bail out if extend_alias_table fails.
3179 2000-04-29 Bruno Haible <haible@clisp.cons.org>
3181 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
3182 * intl/localealias.c: Likewise.
3184 2000-05-01 Bruno Haible <haible@clisp.cons.org>
3186 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
3187 Initialize domain->plural and domain->nplurals even if there is no
3190 2000-05-01 Bruno Haible <haible@clisp.cons.org>
3192 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
3193 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
3194 In case of failure, goto converted.
3196 2000-05-01 Bruno Haible <haible@clisp.cons.org>
3198 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
3199 * iconv/gconv_int.h (norm_add_slashes): Move to here.
3200 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
3203 2000-04-29 Bruno Haible <haible@clisp.cons.org>
3205 * intl/dcigettext.c (transcmp): Compare the domains as well.
3206 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
3208 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
3211 2000-05-03 Ulrich Drepper <drepper@redhat.com>
3213 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
3214 Reported by Bruno Haible.
3216 2000-04-29 Bruno Haible <haible@clisp.cons.org>
3218 * manual/arith.texi: Remove @w from @itemize.
3220 2000-05-02 Andreas Jaeger <aj@suse.de>
3222 * conform/data/tar.h-data: Add some checks for specific values.
3224 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
3227 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
3230 * conform/data/netinet/in.h-data: Add exact checks for the values
3231 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
3233 * conform/data/float.h-data: Add some minimal values.
3235 * conform/conformtest.pl: Test for macros with string constants,
3236 check for minimum and maximum values.
3237 Add limits.h to headers.
3239 * conform/data/cpio.h-data: Test for value of MAGIC.
3241 * conform/data/limits.h-data: New file.
3243 2000-04-30 Bruno Haible <haible@clisp.cons.org>
3245 * math/Makefile (headers): Add bits/fenvinline.h.
3247 2000-05-01 Ulrich Drepper <drepper@redhat.com>
3249 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
3250 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
3252 * posix/Versions: Change posix_spawnattr_getdefault and
3253 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
3254 and posix_spawnattr_setsigdefault respectively.
3255 * posix/spawn.h: Likewise.
3256 * posix/spawnattr_getdefault.h: Likewise.
3257 * posix/spawnattr_setdefault.h: Likewise.
3258 * conform/data/spawn.h-data: Likewise.
3260 2000-05-01 Andreas Jaeger <aj@suse.de>
3262 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
3264 2000-04-30 Ulrich Drepper <drepper@redhat.com>
3266 * manual/sysinfo.texi: Document getdomainname, setdomainname
3268 * manual/string.texi: Fix typo.
3269 * manual/terminal.texi: Document gtty and stty.
3270 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
3272 2000-04-30 Andreas Jaeger <aj@suse.de>
3274 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
3275 accordance with Austin Draft.
3277 2000-04-30 Ulrich Drepper <drepper@redhat.com>
3279 * catgets/gencat.c (read_input_file): Use isblank and not isspace
3280 to recognize second character in comment line.
3282 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
3283 ENOBUFS if we are out of memory.
3285 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
3286 available if __USE_XOPEN2K.
3287 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
3288 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3289 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
3290 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
3291 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3292 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3293 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
3294 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
3296 2000-04-29 Ulrich Drepper <drepper@redhat.com>
3298 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
3299 Recognize option -s, -c, and -l.
3301 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
3303 * nscd/nscd.c: Start new session for nscd, drop privilegs
3304 to configured user if requested and no -S parameter are used.
3305 * nscd/nscd.conf: Add new option "server-user".
3306 * nscd/nscd_conf.c: Add support for new "server-user" option.
3307 * nscd/nscd.h: Add declaration for server_user variable.
3308 Based on patch by Chris Wing <wingc@engin.umich.edu>
3310 2000-04-29 Mark Kettenis <kettenis@gnu.org>
3312 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
3313 that changing the __restore and __restore_rt signal return code
3316 2000-04-29 Mark Kettenis <kettenis@gnu.org>
3318 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
3321 2000-04-29 Mark Kettenis <kettenis@gnu.org>
3323 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
3325 2000-04-29 Ulrich Drepper <drepper@redhat.com>
3327 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
3328 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
3330 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
3331 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
3332 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
3333 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
3334 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
3335 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
3336 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
3337 posix_fallocate, and posix_madvise.
3338 * conform/data/netdb.h-data: New file.
3339 * conform/data/pthread.h-data: Add pthread_barrier_t,
3340 pthread_barrierattr_t, pthread_barrier_destroy,
3341 pthread_barrier_init, pthread_barrier_wait,
3342 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
3343 pthread_barrierattr_init, pthread_barrierattr_setpshared,
3344 pthread_condattr_getclock, pthread_condattr_setclock,
3345 pthread_getcpuclockid, pthread_mutex_timedlock,
3346 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
3347 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
3348 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
3349 * conform/data/sched.h-data: Add sched_ss_low_priority,
3350 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
3352 * conform/data/semaphore.h-data: Add sem_timedwait.
3353 * conform/data/signal.h-data: Add SIGIO.
3354 * conform/data/spawn.h-data: New file.
3355 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
3356 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
3357 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
3358 Fix typo in gmtime_r definition.
3359 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
3360 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
3361 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
3362 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
3363 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
3364 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
3365 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
3366 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
3367 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
3368 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
3369 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
3370 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
3371 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
3372 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
3373 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
3374 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
3375 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
3376 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
3377 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
3378 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
3379 typo in off_t definition.
3380 * conform/data/net/if.h-data: New file.
3381 * conform/data/netinet/in.h-data: New file.
3382 * conform/data/netinet/tcp.h-data: New file.
3383 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
3384 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
3385 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
3386 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
3387 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
3388 and posix_typed_mem_open.
3389 * conform/data/sys/socket.h-data: New file.
3390 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
3391 * conform/data/sys/types.h-data: Add pthread_barrier_t,
3392 pthread_barrierattr_t, and pthread_spinlock_t.
3393 * conform/data/sys/un.h-data: New file.
3394 * conform/data/sys/utsname.h-data: New file.
3396 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
3398 * inet/gethstbyad.c (gethostbyname): Likewise.
3399 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
3400 * inet/getipnodebyad.c (getipnodebyad): Likewise.
3401 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
3402 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
3404 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
3405 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
3406 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
3407 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
3408 * resolv/gethnamaddr.c (gethostbyname): Likewise.
3409 * resolv/netdb.h (struct hostent): Fix type of h_length member.
3410 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
3411 and second parameter.
3413 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
3416 2000-04-29 Andreas Jaeger <aj@suse.de>
3418 * conform/data/arpa/inet.h-data: New file.
3420 2000-04-28 Geoff Clare <gwc@unisoft.com>
3422 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
3423 path passed to ftw() or nftw() is an empty string.
3424 Closes PR libc/1710.
3426 2000-04-27 Ulrich Drepper <drepper@redhat.com>
3428 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
3429 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
3430 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
3431 * localedata/tst-mbswcs4.c: New file.
3432 * localedata/tst-mbswcs5.c: New file.
3434 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
3435 == NULL. Little optimization.
3437 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
3438 DT_PREINIT_ARRAYSZ).
3439 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
3441 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
3442 overflows in conversion from ASCII.
3444 2000-04-26 Jakub Jelinek <jakub@redhat.com>
3446 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
3447 * Makerules (full_config_sysdirs): Likewise.
3448 * MakeTAGS (full_config_sysdirs): Likewise.
3450 2000-04-26 Jakub Jelinek <jakub@redhat.com>
3452 * .cvsignore: Remove linuxthreads.
3453 * po/.cvsignore: Remove *.pot.
3454 * posix/glob/.cvsignore: Removed.
3455 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
3457 2000-04-25 Andreas Jaeger <aj@suse.de>
3459 * conform/Makefile (distribute): Also distribute contents of
3462 * Makerules (no_deps): Remove abi-versions.h.
3464 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
3466 2000-04-25 Jakub Jelinek <jakub@redhat.com>
3468 * sysdeps/sparc/sparc64/elf/Dist: Remove.
3469 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
3470 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
3471 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
3472 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
3473 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
3476 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
3478 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
3480 2000-04-23 Bruno Haible <haible@clisp.cons.org>
3482 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
3483 * intl/l10nflist.c: Likewise.
3485 2000-04-23 Bruno Haible <haible@clisp.cons.org>
3487 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
3488 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
3489 * intl/textdomain.c [!_LIBC]: Likewise.
3490 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
3491 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
3492 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
3495 2000-04-23 Bruno Haible <haible@clisp.cons.org>
3497 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
3498 character set conversion also in the case the translation was found
3499 after a hash collision or through binary search. Store the maximum
3500 index together with the converted message. Use iconv() when available.
3501 In case of out of memory during conversion, return the unconverted
3502 translated string, not NULL.
3504 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
3506 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
3507 to avoid name clashes with the ia32 linker.
3509 2000-04-25 Jakub Jelinek <jakub@redhat.com>
3511 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
3514 2000-04-27 Ulrich Drepper <drepper@redhat.com>
3516 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
3517 strtoumax, strfry, and memfrob.
3518 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
3519 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
3521 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
3522 if this function is available.
3524 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
3527 2000-04-27 Jakub Jelinek <jakub@redhat.com>
3529 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
3531 2000-04-27 Ulrich Drepper <drepper@redhat.com>
3533 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
3534 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
3535 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
3536 * localedata/tst-mbswcs3.c: New file.
3538 2000-04-26 Ulrich Drepper <drepper@redhat.com>
3540 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
3541 characters. Don't handle incomplete characters as errors.
3542 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
3543 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
3544 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
3545 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
3546 * localedata/tst-mbswcs2.c: New file.
3548 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
3549 stored character in state in UNPACK_BYTES macro.
3550 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
3551 test for available characters, handle result of BODY code correctly.
3552 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
3553 (distribute): Add tst-mbswcs.sh.
3554 Add rule to run tst-mbswcs.sh.
3555 * localedata/tst-mbswcs.sh: New file.
3556 * localedata/tst-mbswcs1.c: New file.
3558 2000-04-26 Jakub Jelinek <jakub@redhat.com>
3560 * nis/nis_callback.c (__nis_create_callback): Do failed memory
3561 allocation fixups centrally, fix __builtin_expect call, return NULL
3562 on failure, not NIS_NOMEMORY.
3564 2000-04-27 Bruno Haible <haible@clisp.cons.org>
3566 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
3568 * intl/loadinfo.h (internal_function): Define if not already defined.
3570 2000-04-27 Andreas Jaeger <aj@suse.de>
3572 * intl/libintl.h: Fix typo, reported by Bruno Haible
3573 <haible@clisp.cons.org>.
3575 2000-04-25 Ulrich Drepper <drepper@redhat.com>
3577 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
3578 setting the state to GMON_PROF_BUSY.
3580 2000-04-24 Ulrich Drepper <drepper@redhat.com>
3582 * elf/dl-profile.c (_dl_start_profile): define all variables which
3583 do not have to be global as local variables.
3585 * nis/nis_callback.c (__nis_create_callback): Partially undo last
3586 patch. Keep needed tests for failed memory allocation.
3588 * elf/dl-reloc.c (_dl_relocate_object): Add one more
3589 __builtin_expect saying that we don't normally expect to profile.
3591 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
3592 __builtin_expect where desirable.
3594 2000-04-23 Ulrich Drepper <drepper@redhat.com>
3596 * manual/Makefile (chapters): Add syslog.
3597 * manual/syslog.texi: New file.
3598 * manual/math.texi: Fix references.
3599 * manual/terminal.texi: Likewise.
3600 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
3602 2000-04-18 Jakub Jelinek <jakub@redhat.com>
3604 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
3605 stdlib.h was not included or __USE_XOPEN not defined.
3607 2000-04-23 Ulrich Drepper <drepper@redhat.com>
3609 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
3610 Patch by Zack Weinberg <zack@wolery.cumb.org>.
3612 2000-04-22 Ulrich Drepper <drepper@redhat.com>
3614 * manual/examples/subopt.c (mount_opts): Add missing terminating
3616 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
3618 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
3619 * libio/ftello.c: Likewise.
3620 * libio/ftello64.c: Likewise.
3621 * libio/ioftell.c: Likewise.
3622 * sysdeps/generic/memrchr.c: Likewise.
3623 * sysdeps/posix/libc_fatal.c: Likewise.
3624 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
3625 * misc/fstab.c: Include <string.h> for strcmp prototype.
3626 * sysdeps/generic/ldsodefs.h: Likewise.
3627 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3628 Patch by Kurt Roeckx <Q@ping.be>.
3630 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
3631 Remove db-open. Change all uses.
3632 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
3634 2000-04-21 Jakub Jelinek <jakub@redhat.com>
3636 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
3637 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
3638 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
3639 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
3640 with .set noat/at to shut up warnings.
3641 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
3642 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
3643 compilation if __NR_pciconfig_iobase is not defined.
3644 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
3647 2000-04-21 Ulrich Drepper <drepper@redhat.com>
3649 * manual/sysinfo.texi: Fix typo.
3650 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
3651 Replace "high precision time" with "high accuracy clock".
3653 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
3655 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
3656 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
3658 * nis/nis_subr.c: Use __builtin_expect.
3659 * nis/ypclnt.c: Likewise.
3660 * nis/nis_getservlist.c: Likewise.
3661 * nis/nis_creategroup.c: Likewise.
3663 * nis/nis_callback.c (__nis_create_callback): Check result of
3664 memory allocation. Fix memory leaks. Use __builtin_expect.
3665 (__nis_destroy_callback): Fix memory leaks.
3667 2000-04-21 Andreas Jaeger <aj@suse.de>
3669 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
3670 * sysdeps/mips/mips64/add_n.S: Likewise.
3671 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
3672 * sysdeps/mips/mips64/lshift.S: Likewise.
3673 * sysdeps/mips/mips64/mul_1.S: Likewise.
3674 * sysdeps/mips/mips64/rshift.S: Likewise.
3675 * sysdeps/mips/mips64/setjmp.S: Likewise.
3676 * sysdeps/mips/mips64/sub_n.S: Likewise.
3677 * sysdeps/mips/mips64/submul_1.S: Likewise
3678 * sysdeps/unix/mips/sysdep.S: Likewise.
3680 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
3681 and update comment. The strtab from _dl_relocate_object can be
3684 2000-04-21 Ulrich Drepper <drepper@redhat.com>
3686 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
3687 * iconv/iconv_close.c (iconv_close): Likewise.
3688 * iconv/iconv_open.c (iconv_open): Likewise.
3690 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
3691 __builtin_expect where useful.
3693 * grp/initgroups.c (initgroups): Test for result of memory
3694 allocation and punt if it fails.
3696 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
3697 * grp/fgetgrent.c (fgetfrent): Likewise.
3698 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
3700 2000-04-21 Jakub Jelinek <jakub@redhat.com>
3702 * libio/vasprintf.c: Include string.h to get memcpy prototype.
3704 2000-04-20 Ulrich Drepper <drepper@redhat.com>
3706 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
3707 don't search for NUL byte to decrement counter.
3708 Reported by Ulrich.Brink@sap.com.
3710 * iconv/gconv_simple.c: Define separate functions to convert from
3711 UCS4/UCS4-LE to the internal encoding.
3712 * iconv/gconv_builtin.h: Use separate functions to convert from
3713 UCS4/UCS4-LE to the internal encoding.
3714 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
3715 __gconv_transform_ucs4le_internal.
3717 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
3718 output buffer overflow. Reported by Ulrich.Brink@sap.com.
3720 * iconv/skeleton.c: Add some more __builtin_expect.
3721 * iconv/loop.c: Likewise.
3723 2000-03-08 H.J. Lu <hjl@gnu.org>
3725 * posix/regex.c (regex_compile): Correctly handle "\{" when
3726 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
3728 2000-04-20 Ulrich Drepper <drepper@redhat.com>
3730 * manual/stdio.texi: Give advise about handling error when using
3732 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
3734 2000-04-19 Jakub Jelinek <jakub@redhat.com>
3736 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
3737 field to nelems * sizeof (uint32_t).
3738 * locale/programs/ld-address.c (address_output): Align word fields
3740 * locale/programs/ld-monetary.c (monetary_output): Likewise.
3741 Don't restart idx pointers to idx end at the duo_int_curr_symbol
3743 Avoid giving arbitrary garbage in the crncystr field.
3744 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
3745 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
3747 * locale/programs/ld-numeric.c (numeric_output): Likewise.
3748 Don't restart idx pointers to idx end at the decimal_point_wc field.
3749 * locale/programs/ld-time.c (time_output): week_1stday should be
3750 word, not byte. Align it properly.
3752 2000-04-19 H.J. Lu <hjl@gnu.org>
3754 * csu/gmon-start.c (_start): Declared as "extern void".
3757 2000-04-18 Andreas Jaeger <aj@suse.de>
3759 * manual/install.texi (Running make install): Don't mention utmpd
3762 2000-04-18 Andreas Jaeger <aj@suse.de>
3764 * linuxthreads/Versions: Use ld instead of ld.so.
3766 * elf/Makefile (ld-map): Use ld.map.
3768 * Versions.def: Use ld instead of ld.so.
3769 * elf/Versions: Likewise.
3770 * sysdeps/mach/hurd/Versions: Likewise.
3772 2000-04-20 Andreas Jaeger <aj@suse.de>
3774 * elf/rtld.c (print_statistics): Move ifndef further up.
3775 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
3776 (dl_main): Likewise.
3778 2000-04-18 Ulrich Drepper <drepper@redhat.com>
3780 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
3781 * gmon/Versions: Move moncontrol to GLIBC_2.2.
3783 * po/cs.po: Update from translation team.
3785 * sysdeps/generic/updwtmp.c: Remove daemon support.
3787 * login/Makefile (routines): Remove utmp_daemon.
3789 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
3790 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
3791 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
3792 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
3794 * elf/rtld.c: Display statitics option also if hp timing is not
3797 * login/programs/connection.c: Removed.
3798 * login/programs/database.c Removed.
3799 * login/programs/error.c: Removed.
3800 * login/programs/request.c: Removed.
3801 * login/programs/xtmp.c: Removed.
3802 * login/programs/xtmp.h: Removed.
3803 * login/Makefile: Remove rules for utmpd.
3804 * login/README.utmpd: Removed.
3805 * login/utmp_daemon.c: Removed.
3806 * login/getutent_r.c: Remove references to daemon functions.
3807 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
3810 2000-04-18 Andreas Jaeger <aj@suse.de>
3812 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
3813 2.2 for libnsl, libresolv, librt, libnss_*.
3815 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
3817 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
3819 2000-04-18 Ulrich Drepper <drepper@redhat.com>
3821 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
3822 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
3823 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
3824 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
3825 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
3826 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
3827 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
3828 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
3829 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
3830 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
3831 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
3832 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
3833 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
3835 * sysdeps/unix/sysv/aix/msync.c: New file.
3836 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
3837 * sysdeps/unix/sysv/aix/net/if.h: New file.
3838 * sysdeps/unix/sysv/aix/pipe.c: New file.
3839 * sysdeps/unix/sysv/aix/poll.c: New file.
3840 * sysdeps/unix/sysv/aix/rename.c: New file.
3841 * sysdeps/unix/sysv/aix/rmdir.c: New file.
3842 * sysdeps/unix/sysv/aix/select.c: New file.
3843 * sysdeps/unix/sysv/aix/semctl.c: New file.
3844 * sysdeps/unix/sysv/aix/semget.c: New file.
3845 * sysdeps/unix/sysv/aix/semop.c: New file.
3846 * sysdeps/unix/sysv/aix/sendto.c: New file.
3847 * sysdeps/unix/sysv/aix/setgroups.c: New file.
3848 * sysdeps/unix/sysv/aix/setpgid.c: New file.
3849 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
3850 * sysdeps/unix/sysv/aix/setpriority.c: New file.
3851 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
3852 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
3853 * sysdeps/unix/sysv/aix/setsid.c: New file.
3854 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
3855 * sysdeps/unix/sysv/aix/shmat.c: New file.
3856 * sysdeps/unix/sysv/aix/shmctl.c: New file.
3857 * sysdeps/unix/sysv/aix/shmdt.c: New file.
3858 * sysdeps/unix/sysv/aix/shmget.c: New file.
3859 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
3860 * sysdeps/unix/sysv/aix/sigstack.c: New file.
3861 * sysdeps/unix/sysv/aix/socket.c: New file.
3862 * sysdeps/unix/sysv/aix/socketpair.c: New file.
3863 * sysdeps/unix/sysv/aix/speed.c: New file.
3864 * sysdeps/unix/sysv/aix/symlink.c: New file.
3865 * sysdeps/unix/sysv/aix/sync.c: New file.
3866 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
3867 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
3868 * sysdeps/unix/sysv/aix/times.c: New file.
3869 * sysdeps/unix/sysv/aix/ulimit.c: New file.
3870 * sysdeps/unix/sysv/aix/umask.c: New file.
3871 * sysdeps/unix/sysv/aix/unlink.c: New file.
3872 * sysdeps/unix/sysv/aix/ustat.c: New file.
3873 * sysdeps/unix/sysv/aix/utimes.c: New file.
3875 2000-04-18 Andreas Jaeger <aj@suse.de>
3877 * manual/startup.texi (Environment Access): Fix putenv prototype
3878 according to recent changes.
3879 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
3882 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
3885 2000-04-18 Ulrich Drepper <drepper@redhat.com>
3887 * posix/Makefile (tests): Add tst-getaddrinfo.
3888 * posix/tst-getaddrinfo.c: New file.
3890 2000-04-17 Ulrich Drepper <drepper@redhat.com>
3892 * manual/sysinfo.texi: Document that umount2 is not widely available.
3894 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
3895 signal timing is not really implemented.
3897 2000-04-17 Andreas Jaeger <aj@suse.de>
3899 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
3901 2000-04-17 Jakub Jelinek <jakub@redhat.com>
3903 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
3906 2000-04-17 Ulrich Drepper <drepper@redhat.com>
3908 * manual/intro.texi: Change reference from System Information to
3910 * manual/users.texi: Likewise.
3911 * manual/conf.texi: Likewise.
3912 * manual/sysinfo.texi: Document mount, umount, and umount2.
3913 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
3915 2000-04-17 Jakub Jelinek <jakub@redhat.com>
3917 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
3918 Create wnumstr as well as numstr to support wide character output
3921 2000-04-15 Jakub Jelinek <jakub@redhat.com>
3923 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
3924 modification and move it...
3925 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
3926 Add -melf64_sparc switch to $(LD) on sparc64-linux.
3927 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
3928 switch to $(LD) on sparc-linux.
3930 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
3932 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
3933 and setresuid from sysdep_routines.
3935 2000-04-17 Ulrich Drepper <drepper@redhat.com>
3937 * manual/Makefile (chapters): Add resource.
3939 * manual/time.texi: Move section on resources to...
3940 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
3942 * manual/setjmp.texi: Adjust back reference.
3943 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
3945 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
3947 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
3948 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
3949 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
3950 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
3951 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
3952 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
3953 * sysdeps/unix/sysv/aix/close.c: Add copyright.
3954 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
3955 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
3956 * sysdeps/unix/sysv/aix/access.c: Add copyright.
3957 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
3958 * sysdeps/unix/sysv/aix/Implies: New file.
3959 * sysdeps/unix/sysv/aix/Versions: New file.
3960 * sysdeps/unix/sysv/aix/bind.c: New file.
3961 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
3962 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
3963 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
3964 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
3965 * sysdeps/unix/sysv/aix/chdir.c: New file.
3966 * sysdeps/unix/sysv/aix/chmod.c: New file.
3967 * sysdeps/unix/sysv/aix/chroot.c: New file.
3968 * sysdeps/unix/sysv/aix/creat.c: New file.
3969 * sysdeps/unix/sysv/aix/dl-close.c: New file.
3970 * sysdeps/unix/sysv/aix/dl-open.c: New file.
3971 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
3972 * sysdeps/unix/sysv/aix/fchdir.c: New file.
3973 * sysdeps/unix/sysv/aix/fchmod.c: New file.
3974 * sysdeps/unix/sysv/aix/getgroups.c: New file.
3975 * sysdeps/unix/sysv/aix/gethostname.c: New file.
3976 * sysdeps/unix/sysv/aix/getpriority.c: New file.
3977 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
3978 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
3979 * sysdeps/unix/sysv/aix/getrusage.c: New file.
3980 * sysdeps/unix/sysv/aix/link.c: New file.
3981 * sysdeps/unix/sysv/aix/madvise.c: New file.
3982 * sysdeps/unix/sysv/aix/mkdir.c: New file.
3983 * sysdeps/unix/sysv/aix/mknod.c: New file.
3984 * sysdeps/unix/sysv/aix/mprotect.c: New file.
3985 * sysdeps/unix/sysv/aix/msgctl.c: New file.
3986 * sysdeps/unix/sysv/aix/msgget.c: New file.
3987 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
3989 2000-04-17 Andreas Jaeger <aj@suse.de>
3991 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
3992 as suggested by Ulrich Drepper.
3993 (__dl_runtime_resolve): Remove unused variable, initialize sym
3995 (RTLD_START): Document OFFSET_GP_GOT.
3996 (OFFSET_GP_GOT): New magic value.
3997 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
3998 (elf_machine_got_rel): Only declare strtab if needed.
3999 (elf_machine_relplt): Removed, it's not needed.
4000 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
4002 * sysdeps/mips/add_n.S: Add newline at EOF.
4003 * sysdeps/mips/rshift.S: Likewise.
4004 * sysdeps/mips/mul_1.S: Likewise.
4005 * sysdeps/mips/lshift.S: Likewise.
4006 * sysdeps/mips/addmul_1.S: Likewise.
4008 2000-04-17 Ulrich Drepper <drepper@redhat.com>
4010 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
4012 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
4013 * elf/dl-lookup.c: Likewise.
4014 * elf/dl-init.c (_dl_init): Likewise.
4015 * elf/dl-fini.c (_dl_fini): Likewise.
4016 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4017 * elf/dl-close.c (_dl_close): Likewise.
4018 * elf/rtld.c (_dl_start_final): Likewise.
4020 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
4022 2000-04-15 Ulrich Drepper <drepper@redhat.com>
4024 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
4025 only fall back on using Linux.
4027 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
4028 Before testing versions check that we actually loaded the object
4029 and whether we are in trace mode. If not loaded during tracing don't
4030 test versions in this object.
4031 (_dl_check_all_versions): Take new parameter and pass to
4032 _dl_check_map_versions.
4033 * sysdeps/generic/ldsodefs.h: Update prototypes for
4034 _dl_check_all_versions and _dl_check_map_versions.
4035 * elf/rtld.c (struct version_check_args): Add dotrace.
4036 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
4037 (dl_main): Pass info about trace mode to version_check_doit.
4038 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
4039 _dl_check_all_versions.
4041 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
4043 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4045 * manual/argp.texi: Document index parameter of argp_parse.
4047 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
4049 2000-04-14 Andreas Jaeger <aj@suse.de>
4051 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
4052 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
4054 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
4056 2000-04-15 Ulrich Drepper <drepper@redhat.com>
4058 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
4059 compat_symbol call for old adjtime.
4061 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
4062 function interface. Patch by Richard Henderson <rth@cygnus.com>.
4064 * posix/Makefile (headers): Add spawn.h.
4065 (distribute): Add spawn_int.h.
4066 (routines): Add spawn_faction_init, spawn_faction_destroy,
4067 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
4068 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
4069 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
4070 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
4071 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
4072 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
4073 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
4074 posix_spawnattr_init, posix_spawnattr_destroy,
4075 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
4076 posix_spawnattr_getflags, posix_spawnattr_setflags,
4077 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
4079 * posix/spawn.c: New file.
4080 * posix/spawn.h: New file.
4081 * posix/spawn_faction_addclose.c: New file.
4082 * posix/spawn_faction_adddup2.c: New file.
4083 * posix/spawn_faction_addopen.c: New file.
4084 * posix/spawn_faction_destroy.c: New file.
4085 * posix/spawn_faction_init.c: New file.
4086 * posix/spawn_int.h: New file.
4087 * posix/spawnattr_destroy.c: New file.
4088 * posix/spawnattr_getdefault.c: New file.
4089 * posix/spawnattr_getflags.c: New file.
4090 * posix/spawnattr_getpgroup.c: New file.
4091 * posix/spawnattr_getschedparam.c: New file.
4092 * posix/spawnattr_getschedpolicy.c: New file.
4093 * posix/spawnattr_getsigmask.c: New file.
4094 * posix/spawnattr_init.c: New file.
4095 * posix/spawnattr_setdefault.c: New file.
4096 * posix/spawnattr_setflags.c: New file.
4097 * posix/spawnattr_setpgroup.c: New file.
4098 * posix/spawnattr_setschedparam.c: New file.
4099 * posix/spawnattr_setschedpolicy.c: New file.
4100 * posix/spawnattr_setsigmask.c: New file.
4101 * posix/spawni.c: New file.
4102 * posix/spawnp.c: New file.
4104 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
4105 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
4107 2000-04-14 Ulrich Drepper <drepper@redhat.com>
4109 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
4110 * malloc/malloc.c: Implement posix_memalign for glibc.
4111 * include/stdlib.h: Add prototype for __posix_memalign.
4112 * stdlib/stdlib.h: Add prototype for posix_memalign.
4114 2000-04-14 Andreas Jaeger <aj@suse.de>
4116 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
4118 (elf_machine_got_rel): Cast sym correctly.
4120 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
4121 * sysdeps/mips/addmul_1.S: Likewise.
4122 * sysdeps/mips/lshift.S: Likewise.
4123 * sysdeps/mips/mul_1.S: Likewise.
4124 * sysdeps/mips/rshift.S: Likewise.
4125 * sysdeps/mips/sub_n.S: Likewise.
4126 * sysdeps/mips/submul_1.S: Likewise.
4128 * stdlib/stdlib.h: Fix typo in comment.
4130 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
4131 2.2 for libdl, ld and libm.
4133 * sysdeps/generic/madvise.c: Fix typos.
4135 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
4137 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
4139 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
4142 2000-04-14 Ulrich Drepper <drepper@redhat.com>
4144 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
4145 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
4146 Make old name weak alias.
4147 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
4148 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
4149 Make old name weak alias.
4150 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
4152 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
4153 posix_fallocate, and posix_fallocate64.
4154 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
4155 posix_fallocate, and posix_fallocate64.
4156 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
4157 posix_fallocate, and posix_fallocate64.
4158 * sysdeps/generic/fadvise.c: New file.
4159 * sysdeps/generic/fadvise64.c: New file.
4160 * sysdeps/generic/fallocate.c: New file.
4161 * sysdeps/generic/fallocate64.c: New file.
4162 * sysdeps/posix/fallocate.c: New file.
4163 * sysdeps/posix/fallocate64.c: New file.
4164 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
4165 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
4166 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
4167 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
4168 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
4169 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
4170 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
4171 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
4172 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4174 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
4175 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4177 2000-04-13 Ulrich Drepper <drepper@redhat.com>
4179 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
4180 * misc/sys/mman.h (posix_madvise): Add prototype.
4181 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
4182 old name and posix_madvise weak aliases.
4183 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4184 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
4185 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
4186 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
4187 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
4188 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
4189 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4191 2000-04-13 Andreas Jaeger <aj@suse.de>
4193 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
4195 (elf_machine_got_rel): Only add runtime display if needed.
4196 (elf_machine_got_rel): Handle symbol versioning.
4198 2000-04-13 Andreas Jaeger <aj@suse.de>
4200 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
4202 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
4205 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
4206 with some applications.
4207 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
4209 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
4210 * sysdeps/mips/bsd-_setjmp.S: Likewise.
4211 * sysdeps/mips/setjmp.S: Likewise.
4213 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
4215 2000-04-13 Ulrich Drepper <drepper@redhat.com>
4217 * posix/globtest.sh: Work around inconsistency with expanding ~/
4218 in shell (PR libc/1690). Reported by patsmith@pobox.com.
4220 2000-04-12 Ulrich Drepper <drepper@redhat.com>
4222 * posix/getconf.c: Add support for many more POSIX options.
4223 * sysdeps/posix/sysconf.c: Likewise.
4224 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
4225 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
4227 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
4228 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
4229 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
4230 CLOCK_THREAD_CPUTIME_ID.
4231 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
4232 CLOCK_PROCESS_CPUTIME_ID.
4233 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
4234 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
4235 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
4236 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
4238 * malloc/Makefile (tests): Add tst-calloc.
4239 * malloc/tst-calloc.c: New file.
4241 * sysdeps/arm/libm-test-ulps: New file.
4243 * malloc/malloc.c: Undo all of today's changes.
4245 * locale/programs/locale.c (show_info): Don't try to look into
4246 data for LC_ALL (there is none).
4248 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
4249 avoid writing over boundary.
4250 Patch by Greg McGary <gkm@eng.ascend.com>.
4252 * sysdeps/arm/memprof.h: New file.
4254 2000-04-12 Andreas Jaeger <aj@suse.de>
4256 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
4258 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
4259 for memmem declaration.
4261 2000-04-12 Ulrich Drepper <drepper@redhat.com>
4263 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
4265 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4267 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
4269 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
4270 Patch by Bart Veer <bartv@redhat.com>.
4272 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
4275 2000-04-11 Andreas Jaeger <aj@suse.de>
4277 * sysdeps/mips/dl-machine.h: Update some comments.
4278 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
4280 2000-04-11 Ulrich Drepper <drepper@redhat.com>
4282 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
4283 _POSIX_SHARED_MEMORY_OBJECTS.
4285 * rt/Makefile (tests): Add tst-shm.
4286 Add rules to generate tst-shm.
4287 * rt/tst-shm.c: New file.
4289 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
4292 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
4293 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
4294 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
4295 * sysdeps/generic/shm_open.c: New file.
4296 * sysdeps/generic/shm_unlink.c: New file.
4297 * sysdeps/unix/sysv/linux/shm_open.c: New file.
4298 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
4299 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
4300 __endmntent, __getmntent_r, __setmntent, and __statfs.
4302 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
4303 fragmentation by allocating new memory at the end instead of
4306 * posix/globtest.sh: Fix last change.
4308 2000-04-10 Philip Blundell <philb@gnu.org>
4310 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
4311 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
4312 IPV6_DROP_MEMBERSHIP.
4313 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
4316 2000-04-11 Ulrich Drepper <drepper@redhat.com>
4318 * elf/readlib (process_file): Close streams in case of an error.
4320 2000-04-09 Andreas Jaeger <aj@suse.de>
4322 * elf/readlib.c (process_file): Check if file is big enough to
4323 contain aout and ELF headers.
4324 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
4326 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
4328 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
4330 2000-04-11 Ulrich Drepper <drepper@redhat.com>
4332 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
4334 * rt/Makefile (tests): Add tst-clock.
4335 Add rules to build tst-clock.
4336 * rt/tst-clock.c: New file.
4337 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
4338 about initialization of nsec.
4339 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
4340 about initialization of freq. Set retval to zero if successful.
4341 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
4343 2000-04-10 Ulrich Drepper <drepper@redhat.com>
4345 * Versions.def (librt): Add GLIBC_2.2.
4346 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
4347 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
4348 timer_getoverr, timer_gettime, and timer_settime.
4349 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
4350 clock_settime, timer_create, timer_delete, timer_getoverrun,
4351 timer_gettime, and timer_settime.
4352 * sysdeps/generic/clock_getcpuclockid.c: New file.
4353 * sysdeps/generic/get_clockfreq.c: New file.
4354 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
4355 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
4356 * sysdeps/mach/hurd/i386/bits/time.h: New file.
4357 * sysdeps/unix/i386/i586/clock_getres.c: New file.
4358 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
4359 * sysdeps/unix/i386/i686/Implies: New file.
4360 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
4361 * time/Makefile (routines): Move clock_getres, clock_gettime,
4362 clock_settime, timer_create, timer_delete, timer_getoverr,
4363 timer_gettime, and timer_settime to rt/Makefile.
4364 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
4365 clock_settime, timer_create, timer_delete, timer_getoverrun,
4366 timer_gettime, and timer_settime.
4367 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
4369 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
4370 and not const as attribute name.
4372 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
4374 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
4376 2000-04-10 Andreas Schwab <schwab@suse.de>
4378 * posix/globtest.sh: Skip tests that depend on unreadable
4379 directories if run as root.
4381 2000-04-10 Ulrich Drepper <drepper@redhat.com>
4383 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
4384 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
4386 2000-04-09 Ulrich Drepper <drepper@redhat.com>
4388 * sysdeps/unix/clock_gettime.c: New file.
4389 * sysdeps/unix/clock_settime.c: New file.
4390 * sysdeps/posix/clock_getres.c: New file.
4392 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
4394 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
4395 lseek call be passing in a buffer which never allow a successful
4396 first getdents syscall if not at leas the initial entry can be
4397 stored in the user buffer.
4399 * localedata/Makefile: Add rules to clean up directories created by
4402 2000-04-09 Geoff Clare <gwc@unisoft.com>
4404 * localedata/tst-fmon.data: Added new tests for strfmon()
4405 using test locales with all combinations of cs_precedes,
4406 sign_posn and sep_by_space.
4407 * localedata/tst-fmon.sh: Updated to support the new tests.
4408 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
4409 the localedef source for the new strfmon() test locale.
4410 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
4411 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
4412 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
4413 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
4414 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
4415 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
4416 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
4417 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
4418 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
4419 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
4420 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
4421 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
4422 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
4423 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
4425 * stdlib/strfmon.c: Correct problems with missing or extra
4426 spaces for unusual combinations of sign_posn and sep_by_space.
4427 Improved left-precision alignment code.
4429 2000-04-07 Andreas Jaeger <aj@suse.de>
4431 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
4433 2000-04-10 Andreas Jaeger <aj@suse.de>
4435 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
4437 2000-04-09 Ulrich Drepper <drepper@redhat.com>
4439 Implement handling of restartable conversion functions according to
4441 * iconv/gconv.h (__gconv_fct): Add additional parameter.
4442 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
4443 * iconv/gconv.c: Pass additional parameter to conversion function.
4444 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
4445 (internal_ucs4le_loop_single): New function.
4446 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
4447 (__gconv_transform_internal_ascii): Likewise.
4448 (__gconv_transform_internal_utf8): Likewise.
4449 (__gconv_transform_utf8_internal): Likewise.
4450 (__gconv_transform_ucs2_internal): Likewise.
4451 (__gconv_transform_internal_ucs2): Likewise.
4452 (__gconv_transform_ucs2reverse_internal): Likewise.
4453 (__gconv_transform_internal_ucs2reverse): Likewise.
4454 (internal_ucs4le_loop_unaligned): Before return
4455 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
4456 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
4457 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
4458 * iconv/loop.c: Fit in definition of function to convert one character
4459 for processing of left-over bytes from the state object.
4460 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
4461 inend to match names in loop functions.
4462 (RESET_INPUT_BUFFER): Change apprpriately.
4463 (gconv): If needed, call function to process bytes from the state
4464 object. Similar at the end: store left over bytes if input is
4466 Take extra argument and add new argument to all calls of the
4467 conversion function.
4468 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
4469 information in the state object to not conflict with length count.
4470 * iconvdata/iso-2022-jp.c: Likewise.
4471 * iconvdata/iso-2022-kr.c: Likewise.
4472 * iconvdata/unicode.c: Adjust for change change in parameters of
4474 * iconvdata/utf-16.c: Likewise.
4475 * libio/iofwide.c: Add new parameter to all calls of conversion
4477 * wcsmbs/btowc.c: Likewise.
4478 * wcsmbs/mbrtowc.c: Likewise.
4479 * wcsmbs/mbsnrtowcs.c: Likewise.
4480 * wcsmbs/mbsrtowcs.c: Likewise.
4481 * wcsmbs/wcrtomb.c: Likewise.
4482 * wcsmbs/wcsnrtombs.c: Likewise.
4483 * wcsmbs/wcsrtombs.c: Likewise.
4484 * wcsmbs/wctob.c: Likewise.
4486 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
4489 2000-04-07 Andreas Jaeger <aj@suse.de>
4491 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
4494 2000-04-07 Ulrich Drepper <drepper@redhat.com>
4496 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
4497 element a union to allow byte access.
4498 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
4500 * iconvdata/iso-2022-jp.c: Likewise.
4501 * iconvdata/iso-2022-kr.c: Likewise.
4502 * wcsmbs/mbsinit.c: Likewise.
4503 * stdlib/mblen.c: Likewise.
4504 * stdio-common/printf-parse.h: Likewise.
4506 2000-04-06 Ulrich Drepper <drepper@redhat.com>
4508 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
4509 kernel does not allow relative seeks on descriptors associated
4510 with directories. Go back to get the position in the directory
4511 every time we enter the function. Return -1 and set errno if one
4512 entry could be read from the kernel but does not fit into the
4513 buffer passed in by the user.
4515 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
4516 Support ..(2).. ellipsis.
4517 (parse_charmap): Recognize ..(2).. etc and pass step down.
4518 Correctly generate names for UCS4 characters.
4520 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
4521 (ctype_finish): We know the wide character value for <SP>,
4523 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
4524 (charclass_ucs4_ellipsis): Likewise.
4525 (read_translit_ignore_entry): Store ellipsis step.
4526 (ctype_read): Recognize ..(2).. etc and pass step down.
4528 * locale/programs/linereader.c (lr_token): When seeing comment
4529 character ignore only rest of line in sources but stop at escaped
4531 Recognize ..(2).. and ....(2).....
4533 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
4534 and tok_ellipsis4_2.
4536 2000-04-06 Andreas Jaeger <aj@suse.de>
4538 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
4539 removed, remove it here also.
4540 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
4541 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
4542 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
4543 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
4545 2000-04-06 Jakub Jelinek <jakub@redhat.com>
4547 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
4548 include bits/sigcontext.h.
4549 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4551 2000-04-06 Ulrich Drepper <drepper@redhat.com>
4553 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
4554 collation symbol definition. Value in quivalence definition must
4555 be defined, don't check that it is not.
4557 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
4558 values as character names.
4560 * locale/programs/ld-ctype.c (get_character): Handle missing
4561 repertoire map correctly.
4563 2000-04-05 Cristian Gafton <gafton@redhat.com>
4565 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
4566 because it is used in generic code.
4567 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
4568 * wcsmbs/wcwidth.h: Declare __ctype32_b.
4569 * intl/gettext.c: Include <locale.h>.
4570 * intl/ngettext.c: Likewise.
4572 2000-04-05 Jakub Jelinek <jakub@redhat.com>
4574 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
4575 socklen_t type for size.
4576 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
4577 init function interface.
4578 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4579 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
4581 (__jmp_buf): Declare the whole type structure here, don't use
4584 2000-04-05 Ulrich Drepper <drepper@redhat.com>
4586 * iconv/skeleton.c (put16u): Fix typo.
4587 Reported by Bruno Haible <haible@ilog.fr>.
4589 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
4590 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
4591 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
4592 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
4593 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
4594 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
4596 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
4597 * Makefile (distribute): Add abi-versions.awk and
4599 Patches by Torsten Duwe <duwe@caldera.de>.
4601 2000-04-05 Andreas Schwab <schwab@suse.de>
4603 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
4605 2000-04-05 Andreas Schwab <schwab@suse.de>
4607 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
4608 entry point, used on Hurd.
4610 2000-04-04 Andreas Jaeger <aj@suse.de>
4612 * intl/Makefile: Only run the gettext test with shared libraries.
4614 2000-03-16 Mark Kettenis <kettenis@gnu.org>
4616 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
4617 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
4619 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
4621 * Makeconfig: Undo last change.
4622 * configure.in: If --disable-shared was given, don't set VERSIONING,
4623 don't define DO_VERSIONING, and don't give scare warning for no
4625 * configure: Regenerated.
4627 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
4629 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
4631 2000-04-04 Andreas Jaeger <aj@suse.de>
4633 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
4635 2000-04-04 Ulrich Drepper <drepper@redhat.com>
4637 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
4638 STV_HIDDEN and STV_INTERNAL during lookup.
4639 (profile_fixup): Likewise.
4640 * elf/dl-reloc.c (RESOLVE): Likewise.
4642 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
4643 unaligned so that it compiles for system which need unaligned
4646 2000-04-04 Andreas Schwab <schwab@suse.de>
4648 * elf/cache.c (print_entry): Only look at the type field when
4651 2000-04-04 Andreas Schwab <schwab@suse.de>
4653 * iconvdata/big5.c (BODY): Fix typo.
4655 2000-04-04 Andreas Schwab <schwab@suse.de>
4657 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
4658 function interface. Remove unused _dl_start_user entry point.
4660 2000-04-03 Andreas Jaeger <aj@suse.de>
4662 * include/arpa/inet.h (__inet_aton): Add protoype.
4664 2000-04-01 Andreas Jaeger <aj@suse.de>
4666 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
4668 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
4669 * sysdeps/mach/mips/thread_state.h: Likewise.
4671 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
4672 * sysdeps/generic/fegetenv.c: Likewise.
4673 * sysdeps/generic/fesetenv.c: Likewise.
4674 * sysdeps/generic/feupdateenv.c: Likewise.
4675 * sysdeps/generic/fraiseexcpt.c: Likewise.
4676 * sysdeps/generic/fsetexcptflg.c: Likewise.
4677 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
4678 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
4679 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
4680 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4682 2000-04-02 H.J. Lu <hjl@gnu.org>
4684 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
4686 2000-04-03 Ulrich Drepper <drepper@redhat.com>
4688 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
4689 (add_name_to_object): Add cast in malloc call.
4690 (fillin_rpath): Optimize loop to initialize ->status a bit.
4692 * sysdeps/i386/dl-machine.h: Undo last change.
4693 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
4694 Restore %edx register after call here.
4696 * sysdeps/arm/atomicity.h: New file.
4697 Contributed by Jesper Skov <jskov@redhat.com>.
4699 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
4701 * Makeconfig (preprocess-versions): Undo last change.
4702 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
4704 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
4705 here, before we might move the stack.
4706 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
4707 (init1): And not here.
4709 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
4710 change, to restore argc value in call-clobbered register after
4711 RTLD_START_SPECIAL_INIT, which will contain a call.
4713 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
4714 allocating and initializing L->l_initfini.
4716 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
4718 2000-04-03 Ulrich Drepper <drepper@redhat.com>
4720 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
4721 RUNPATH, RPATH, and LD_LIBRARY_PATH.
4722 (open_path): Change type of fourth parameter. Make pointer to array
4723 of pointers. Create variable dirs with original type.
4724 Track whether any directory for the object exists and if not,
4725 change *DIRSP to (void*) -1 to signal there is no such search path.
4726 (_dl_map_object): Change all calls of open_path.
4727 Rewrite decompose_rpath calls.
4729 2000-03-31 Andreas Schwab <schwab@suse.de>
4731 * string/strfry.c: Declare STATE as array of char instead of int
4732 and do not initialize it (done by initstate_r). Pass correct
4735 2000-04-03 Ulrich Drepper <drepper@redhat.com>
4737 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
4739 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
4740 instruction out of the code.
4742 2000-04-02 Ulrich Drepper <drepper@redhat.com>
4744 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
4745 element at this position.
4747 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
4748 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
4750 * elf/dl-lookup.c (add_dependency): New function.
4751 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
4752 dynamically loaded object.
4753 (_dl_lookup_symbol_skip): Likewise.
4754 (_dl_lookup_versioned_symbol): Likewise.
4755 (_dl_lookup_versioned_symbol_skip): Likewise.
4756 * elf/dl-open.c: Don't define _dl_load_lock here...
4757 * elf/rtld.c: ...but here...
4758 * elf/dl-support.c: ...and here.
4759 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
4761 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
4763 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
4765 * dlfcn/glrefmain.c: Add one more debug message.
4767 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
4769 * Makerules (sysd-versions): Use ( ) instead of { }.
4771 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
4772 optimize for the non-debugging case.
4773 * elf/dl-lookup.c: Likewise.
4774 * sysdeps/generic/libc-start.c: Likewise.
4776 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
4778 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
4779 (init1): Don't initialize __environ here, since init already does it.
4780 (first_init): New function, broken out of _init.
4781 (_hurd_stack_setup): Use it.
4782 [SHARED] (_dl_init_first): New function, renamed from old _init.
4783 (init1) [SHARED]: Don't call posixland_init here.
4784 (posixland_init): Take ENVP arg, so signature is usual for initializer.
4785 [SHARED] (_init): Define as alias for posixland_init.
4786 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
4787 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
4788 RTLD_START_SPECIAL_INIT before calling initializers.
4789 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
4790 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
4791 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
4792 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
4794 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
4795 since we define the function with the name `tmpfile'.
4797 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
4798 * hurd/Versions: Likewise.
4800 2000-04-02 Ulrich Drepper <drepper@redhat.com>
4802 * elf/dl-runtime.c (fixup): Fix typo in comment.
4804 * resolv/netdb.h (getnameinfo): All length parameters are of type
4806 * inet/getnameinfo.c: Likewise.
4808 2000-04-01 Ulrich Drepper <drepper@redhat.com>
4810 * posix/unistd.h (socklen_t): Define if it has not yet happened.
4811 (gethostname): Change type of second parameter to socklen_t.
4812 * include/unistd.h (__gethostname): Change type of second
4813 parameter to socklen_t.
4814 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
4815 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
4816 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
4817 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
4819 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
4820 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
4821 Allow definition elsewhere.
4822 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
4823 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4824 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4825 * sysdeps/generic/bits/types.h: Define __socklen_t.
4826 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
4827 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
4828 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
4829 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
4830 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4831 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
4832 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
4834 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
4835 (inet_lnaof): Likewise.
4836 (inet_netof): Likewise.
4837 (inet_network): Likewise.
4838 (inet_aton): Likewise.
4839 (inet_makeaddr): Change parameter types to in_addr_t.
4840 (inet_neta): Likewise.
4841 (inet_ntop): Change type of last parameter to socklen_t.
4842 (inet_aton): Only make available if __USE_MISC.
4843 (inet_neta): Likewise.
4844 (inet_net_ntop): Likewise.
4845 (inet_net_pton): Likewise.
4846 (inet_nsap_ntoa): Likewise.
4848 * inet/in.h: Define in_port_t type.
4849 Define in_addr_t type.
4850 (struct in_addr): Use in_addr_t in definition.
4851 (IN_CLASSA): Use cast to in_addr_t.
4852 (IN_CLASSB): Likewise.
4853 (IN_CLASSC): Likewise.
4854 (IN_CLASSD): Likewise.
4855 (IN_EXPERIMENTAL): Likewise.
4856 (IN_BADCLASS): Likewise.
4857 (INADDR_ANY): Likewise.
4858 (INADDR_BROADCAST): Likewise.
4859 (INADDR_NONE): Likewise.
4860 (INADDR_LOOPBACK): Likewise.
4861 (INADDR_UNSPEC_GROUP): Likewise.
4862 (INADDR_ALLHOSTS_GROUP): Likewise.
4863 (INADDR_ALLRTRS_GROUP): Likewise.
4864 (INADDR_MAX_LOCAL_GROUP): Likewise.
4865 (struct sockaddr_in): Use in_port_t for sin_port element.
4866 (struct sockaddr_in6): Use in_port_t for sin6_port element.
4867 Use uint8_t instead of u_int8_t.
4869 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
4870 Call __inet_aton instead of inet_aton.
4871 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
4873 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
4874 (innetgr): Likewise.
4875 (struct addrinfo): Use socklen_t for ai_addrlen element.
4877 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
4878 IPV6_RECVERR): New defines.
4880 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
4881 * inet/getnetbyad.c: Likewise.
4882 * inet/getnetbyad_r.c: Likewise.
4883 * nis/nss_nis/nis-network.c: Likewise.
4884 * nis/nssplus_nis/nisplus-network.c: Likewise.
4885 * nss/nss_files/files-network.c: Likewise.
4886 * resolv/netdb.h: Define uint32_t if not already happened.
4887 Include bits/netdb.h. Remove definition of struct netent.
4888 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
4889 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
4890 * sysdeps/generic/bits/netdb.h: New file.
4891 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
4893 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
4894 (tests): Add glrefmain.
4895 Add rules to build modules and run tests. Ignore result of glrefmain
4896 for now since it fails.
4897 * dlfcn/glrefmain.c: New file.
4898 * dlfcn/glreflib1.c: New file.
4899 * dlfcn/glreflib2.c: New file.
4901 * test-skeleton.c: Include <string.h> for strsignal prototype.
4903 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
4906 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
4907 former init-first.h. Initialize __libc_multiple_libcs.
4909 2000-03-31 Ulrich Drepper <drepper@redhat.com>
4911 * iconv/skeleton.c: Define access macros with u suffix. Adjust
4912 #if expression for use of unaligned function to the one used in
4913 the definition of these functions.
4914 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
4915 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
4916 (internal_ucs4le_loop_unaligned): New function.
4918 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
4920 (module-names): Add dep1, dep2, dep3, and dep4.
4921 Add dependencies for dep* modules and order.
4922 Define rule for order.out which checks the result.
4923 * elf/dep1.c: New file.
4924 * elf/dep2.c: New file.
4925 * elf/dep3.c: New file.
4926 * elf/dep4.c: New file.
4927 * elf/order.c: New file.
4929 * elf/dl-init.c: Fix typo in comment.
4931 2000-03-31 Andreas Jaeger <aj@suse.de>
4933 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
4934 init function interface.
4935 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
4937 2000-03-31 Andreas Jaeger <aj@suse.de>
4939 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
4940 * sysdeps/mips/fpu/fegetenv.c: Likewise.
4941 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
4942 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
4943 * sysdeps/mips/fpu/fesetenv.c: Likewise.
4945 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
4946 anymore, update comment.
4948 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4950 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
4951 SHLIB_COMPAT - the struct is always needed.
4953 2000-03-31 Ulrich Drepper <drepper@redhat.com>
4955 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
4956 * elf/dl-support.c: Define _dl_starting_up.
4958 2000-03-30 Ulrich Drepper <drepper@redhat.com>
4960 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
4961 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
4963 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
4965 * elf/Makefile (dl-routines): Remove preinit.
4966 * elf/Versions: Remove _dl_preinit.
4967 * elf/dl-preinit.c: Removed. Move content into...
4968 * elf/dl-init.c: ...here.
4969 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
4971 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
4974 2000-03-29 Geoff Clare <gwc@unisoft.com>
4976 * stdlib/strfmon.c: Corrected problems with the code that
4977 sets default values for [np]_sep_by_space and
4978 [np]_sign_posn; also the new positive/negative alignment
4979 code from the previous patch was not quite right for
4982 * localedata/tst-fmon.data: Changes corresponding to the
4983 two sets of fixes made to stdlib/strfmon.c.
4985 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
4987 * malloc/malloc.c: Declare bit flags UL so that they will not
4988 default to int size when being inverted.
4990 2000-03-29 Andreas Jaeger <aj@suse.de>
4992 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
4993 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
4995 2000-03-29 Andreas Jaeger <aj@suse.de>,
4996 Ralf Baechle <ralf@uni-koblenz.de>
4998 * Makeconfig: Introduce new variable SHARED to mark code used in
5000 * elf/dl-close.c: Use it instead of PIC.
5001 * elf/dl-load.c: Likewise.
5002 * elf/dl-open.c: Likewise.
5003 * hurd/geteuids.c: Likewise.
5004 * include/libc-symbols.h: Likewise.
5005 * include/shlib-compat.h: Likewise.
5006 * libio/freopen.c: Likewise.
5007 * linuxthreads/cancel.c: Likewise.
5008 * linuxthreads/pthread.c: Likewise.
5009 * linuxthreads/wrapsyscall.c: Likewise.
5010 * nss/nsswitch.c: Likewise.
5011 * stdio-common/vfprintf.c: Likewise.
5012 * sysdeps/arm/init-first.c: Likewise.
5013 * sysdeps/i386/init-first.c: Likewise
5014 * sysdeps/generic/init-first.c: Likewise.
5015 * sysdeps/generic/libc-start.c: Likewise.
5016 * sysdeps/mips/init-first.c: Likewise.
5017 * sysdeps/powerpc/elf/libc-start.c: Likewise.
5018 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
5019 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
5020 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
5021 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5023 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
5025 2000-03-29 Andreas Jaeger <aj@suse.de>
5027 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
5028 Use D_PTR to access relocated entries in l_info.
5029 (elf_machine_rela): Likewise.
5031 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
5033 (elf_machine_rela): Likewise.
5035 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
5037 (__elf_machine_fixup_plt): Likewise.
5038 (__process_machine_rela): Likewise.
5040 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
5041 (elf_machine_rela): Likewise.
5043 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
5044 (elf_machine_rel): Likewise.
5046 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
5047 (elf_machine_fixup_plt): Likewise.
5048 (elf_machine_rela): Likewise.
5050 2000-03-29 Andreas Jaeger <aj@suse.de>
5052 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
5053 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5054 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5055 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
5056 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
5057 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
5058 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
5059 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
5060 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5061 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
5062 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
5063 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
5064 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
5065 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
5066 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5068 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
5069 macros, remove K&R prototypes.
5071 2000-03-30 Ulrich Drepper <drepper@redhat.com>
5073 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
5074 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
5077 2000-03-30 Andreas Jaeger <aj@suse.de>
5079 * misc/sys/cdefs.h: Remove K&R support.
5081 2000-03-30 Ulrich Drepper <drepper@redhat.com>
5083 * iconv/skeleton.c: Avoid compiling unaligned versions in some
5085 * iconv/loop.c: Likewise.
5087 2000-03-29 Bruno Haible <haible@clisp.cons.org>
5089 * iconv/loop.c (put16): Remove __const. Fix access index.
5090 (put32): Remove __const. Use uint32_t instead of uint16_t.
5091 * iconv/skeleton.c: Likewise.
5093 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
5095 * mach/Versions (libc: GLIBC_2.0)
5096 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
5097 __vm_allocate on this.
5098 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
5099 mutex- and spinlock-related symbols on this.
5100 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
5101 New version set. Lock-related symbols go here instead in this case.
5102 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
5103 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
5104 cthread_getspecific, cthread_setspecific, __libc_getspecific.
5106 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
5107 Put them here instead.
5108 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
5109 New version set. Those cthreads symbols go here instead in this case.
5110 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
5112 2000-03-30 Ulrich Drepper <drepper@redhat.com>
5114 * elf/dl-init.c (_dl_init): We don't need to call constructors
5115 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
5117 Implement dynamic determination of constructor/destructor order in
5119 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
5120 (GLIBC_2.2): Add _dl_init.
5121 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
5122 r_duplist is not anymore allocated separately. l_initfini is and
5123 therefore free it if necessary.
5124 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
5125 malloc block. Otherwise allocate l_initfini list only.
5126 Put dependencies for the object in l_initfini list.
5127 Sort dependencies for the object to be loaded topologically.
5128 * elf/dl-fini.c: Before running the destructors sort the topologically.
5129 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
5130 call constructors instead of iterating over the pointers. Get list of
5131 objects for which to run constructors from l_initfini element. Accept
5132 argc, argv, and env as parameters and pass them to the constructors.
5133 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
5134 with size of dynamic section.
5135 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
5136 _dl_init_next and calling constructors ourself.
5137 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
5138 Take argc, argv, and env as parameters and pass them to the
5139 constructors. Rewrite to call all constructors and not iterate over
5141 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
5142 precompute l_initcount and l_preinitcount.
5143 * elf/link.h (struct link_map): Add l_ldnum member.
5144 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
5145 l_initcount, and l_preinitcount. Add l_initfini.
5146 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
5148 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
5150 * sysdeps/unix/sysv/linux/init-first.h: Removed.
5151 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
5152 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
5153 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
5154 conventions now match.
5156 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
5157 effect for shared objects. Don't emit message and call only for
5160 2000-03-29 Ulrich Drepper <drepper@redhat.com>
5162 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
5163 CSA_Z243.4-1985-1..UCS2.
5164 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
5167 2000-03-29 Andreas Jaeger <aj@suse.de>
5169 * include/unistd.h: Remove duplicate entry for __rmdir.
5170 Remove declaration of __mkdir since __mkdir is declared in
5173 * manual/creature.texi (Feature Test Macros): Fix typo, reported
5174 by Michael Deutschmann <michael@talamasca.ocis.net>.
5176 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
5177 * sysdeps/mips/fpu/fegetenv.c: Likewise.
5178 * sysdeps/mips/fpu/fesetenv.c: Likewise.
5179 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
5180 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
5182 2000-03-28 Andreas Jaeger <aj@suse.de>
5184 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
5185 declaration, the prototype is defined via bits/mathcalls.h.
5186 (__sincosf): Likewise.
5187 (__sincosl): Likewise.
5191 (__finite): Likewise.
5192 (__inline_mathcodeNP): New macro without prototype
5194 (__inline_mathcodeNP2): Likewise.
5195 (__inline_mathcodeNP3): Likewise.
5196 (__inline_mathcodeNP_): Likewise.
5197 (__inline_mathcodeNP2_): Likewise.
5198 (__inline_mathcodeNP3_): Likewise.
5199 (__inline_mathopNP): Likewise.
5200 (__inline_mathop_declNP): Likewise.
5201 (__inline_mathop_declNP_): Likewise.
5202 (__inline_mathcode_): Use __inline_mathcodeNP_.
5203 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
5204 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
5205 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
5206 (__expm1l): Don't define prototype, the prototype is defined via
5212 (__atan2l): Likewise.
5217 (__fabsl): Likewise.
5235 (__sqrtl): Likewise.
5245 2000-03-28 Ulrich Drepper <drepper@redhat.com>
5247 * Makerules: If make variable md5 is defined to yes after
5248 generating dependencies generate MD5 sum for the object.
5250 * iconv/gconv_builtin.h: Fix length in transformation definition
5253 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
5255 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
5256 allow as well reading from/writing to unaligned addresses on machines
5257 which don't support this in hardware. Use FCTNAME macro to define
5258 function name. Include the file a second time for platforms which
5259 need special unaligned handling.
5260 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
5261 to access potentially unaligned addresses. These macros are intended
5262 to be used only outside the loops.
5263 (unaligned): New definition. In case the machine can handle unaligned
5264 access define as zero. Otherwise as a variable which is initialized
5265 as nonzero in case the buffer passed in at runtime is unaligned with
5266 respect to the character set encoding involved.
5267 Call aligned or unaligned looop functions according to unaligned
5269 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
5270 of direct casting pointer to potentially handle unaligned memory
5272 * iconvdata/8bit-generic.c: Likewise.
5273 * iconvdata/ansi_x3.110.c: Likewise.
5274 * iconvdata/big5.c: Likewise.
5275 * iconvdata/euc-cn.c: Likewise.
5276 * iconvdata/euc-jp.c: Likewise.
5277 * iconvdata/euc-kr.c: Likewise.
5278 * iconvdata/euc-tw.c: Likewise.
5279 * iconvdata/gbk.c: Likewise.
5280 * iconvdata/iso-2022-cn.c: Likewise.
5281 * iconvdata/iso-2022-jp.c: Likewise.
5282 * iconvdata/iso-2022-kr.c: Likewise.
5283 * iconvdata/iso646.c: Likewise.
5284 * iconvdata/iso_6937-2.c: Likewise.
5285 * iconvdata/iso_6937.c: Likewise.
5286 * iconvdata/johab.c: Likewise.
5287 * iconvdata/sjis.c: Likewise.
5288 * iconvdata/t.61.c: Likewise.
5289 * iconvdata/uhc.c: Likewise.
5290 * iconvdata/unicode.c: Likewise.
5291 * iconvdata/utf-16.c: Likewise.
5293 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
5296 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
5297 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
5299 * malloc/mcheck.h (mcheck_check_all): Declare.
5301 * stdio-common/Makefile (tests): Add tst-obprintf.
5303 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
5305 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
5306 Declare pthread_sigmask.
5308 * csu/version.c: Add 2000 to copyright years.
5309 Remove Emacs local variables section.
5311 2000-03-23 Bruno Haible <haible@clisp.cons.org>
5313 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
5314 __gconv_transform_internal_ucs2little): Remove declarations.
5315 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
5316 __gconv_transform_internal_ucs2): Never need to bswap_16.
5317 (__gconv_transform_ucs2reverse_internal,
5318 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
5320 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
5322 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
5323 obsoleting version not being defined at all, in which case the
5324 result is always true.
5326 * Makeconfig (preprocess-versions): New canned sequence for running
5327 cpp on shlib-versions and the like.
5328 (soversions.i): Use it.
5329 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
5330 Versions.def and Versions files.
5332 2000-03-27 Ulrich Drepper <drepper@redhat.com>
5334 * stdio-common/tst-obprintf.c (main): Add another check to see
5335 obstack_printf handling all possible beginnings of the block
5336 inside an obstack chunk.
5338 * locale/programs/localedef.c: Use __malloc_initialize_hook to
5339 install mcheck handler.
5341 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
5344 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
5346 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
5348 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
5349 on [HAVE_ELF && DO_VERSIONING].
5351 2000-03-27 Ulrich Drepper <drepper@redhat.com>
5353 * stdio-common/tst-obprintf.c: New file.
5355 2000-03-26 Ulrich Drepper <drepper@redhat.com>
5357 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
5358 _IO_OVERFLOW directly instead through __overflow.
5360 * locale/programs/localedef.c (construct_output_path): If path
5361 contains a / compute the end of the directory name correctly.
5363 * include/features.h: Undef and document __USE_XOPEN2K.
5365 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
5366 whenever a function is called. Initiated by calling mcheck_pedantic
5368 * malloc/mcheck.h: Declare mcheck_pedantic.
5369 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
5370 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
5373 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
5375 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
5376 * dlfcn/dlopenold.c: Likewise.
5377 * nss/getXXbyYY_r.c: Likewise.
5378 * nss/getXXent_r.c: Likewise.
5379 * hurd/hurdinit.c: Likewise.
5380 * hurd/compat-20.c: Likewise.
5381 * libio/oldiofopen.c: Likewise.
5382 * libio/oldiofclose.c: Likewise.
5383 * libio/oldiofdopen.c: Likewise.
5384 * libio/oldfileops.c: Likewise.
5385 * libio/oldstdfiles.c: Likewise.
5386 * libio/oldiofsetpos.c: Likewise.
5387 * libio/oldiofgetpos.c: Likewise.
5388 * libio/oldiofgetpos64.c: Likewise.
5389 * libio/oldiofsetpos64.c: Likewise.
5390 * libio/oldiopopen.c: Likewise.
5391 * libio/oldpclose.c: Likewise.
5392 * libio/oldtmpfile.c: Likewise.
5393 * libio/freopen.c (freopen): Likewise.
5394 * libio/iofclose.c (_IO_new_fclose): Likewise.
5396 * sysdeps/mach/sys/reboot.h: Include <features.h>.
5397 (reboot): Declare it.
5399 * libio/Makefile (headers): Add bits/stdio-lock.h here.
5401 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
5403 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
5405 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
5406 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
5407 We need this for the sbrk decl, which can be included without Unix98.
5409 2000-03-20 Richard Henderson <rth@cygnus.com>
5411 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
5412 argument to yperr2nss is an int, not size_t.
5413 * posix/regex.c (print_partial_compiled_pattern): Cast all
5414 ptrdiff_t to long for printing.
5415 (print_compiled_pattern): Use Z for printing size_t.
5416 * posix/testfnm.c (tests): Avoid trigraphs.
5417 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
5418 Use a C comment, not an assembly comment.
5420 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
5421 of __ASSUME_32BITUIDS.
5423 2000-03-26 Ulrich Drepper <drepper@redhat.com>
5425 * libio/iofopncook.c: Remove K&R prototypes.
5427 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
5429 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
5430 an initial value of 1024 instead of RLIM_INFINITY.
5432 * Versions.def (libmachuser, libhurduser): Remove these sections,
5433 since these libraries do not presently use symbol versions.
5435 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
5436 is RLIM_INFINITY, return -1 instead.
5438 2000-03-24 Andreas Jaeger <aj@suse.de>
5440 * Makefile (postclean): Added soversions.i.
5442 2000-03-24 Scott Bambrough <scottb@netwinder.org>
5444 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
5445 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
5446 and _FPU_IEEE. Change _FPU_RESERVED.
5448 2000-03-24 Scott Bambrough <scottb@netwinder.org>
5450 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
5452 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
5454 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
5455 (gaih_inet): Remove unused duplicate variable.
5457 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
5458 Don't use __libc_sa_len, which only exists for Linux. Just handle
5459 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
5460 only flavors supported by this function anyway.
5462 2000-03-24 Geoff Clare <gwc@unisoft.com>
5464 * stdlib/strfmon.c: Corrected problems with missing signs and
5465 missing or extra spaces; allow for sign strings longer than
5466 one character; add padding to ensure positive and negative
5467 formats are aligned when a left precision is used.
5469 2000-03-26 Ulrich Drepper <drepper@redhat.com>
5471 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
5472 Patch by John Mizel <John.Mizel@msdw.com>.
5474 2000-03-25 Ulrich Drepper <drepper@redhat.com>
5476 * manual/install.texi: Remove references to crypt add-on.
5478 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
5480 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
5481 section while taking the _hurd_rlimit_lock.
5482 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
5484 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
5486 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
5489 * sysdeps/mach/hurd/if_index.c: New file.
5491 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
5492 * sysdeps/gnu/net/if.h: here.
5493 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
5494 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
5495 * sysdeps/generic/net/if.h: New file. Declares just the standard
5496 functions and `struct if_nameindex' type.
5497 * socket/Makefile (headers): Add net/if.h here.
5498 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
5499 * sysdeps/mach/hurd/Dist: Remove it here.
5500 * sysdeps/unix/sysv/linux/Dist: And here.
5501 * sysdeps/generic/if_index.c: Include <net/if.h>.
5503 2000-03-24 Andreas Jaeger <aj@suse.de>
5505 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
5506 access relocated entries in l_info.
5507 (elf_machine_got_rel): Likewise.
5508 (elf_machine_runtime_setup): Likewise.
5509 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
5510 (elf_machine_runtime_setup): Likewise.
5511 (__dl_runtime_resolve): Likewise.
5513 2000-03-23 Ulrich Drepper <drepper@redhat.com>
5515 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
5516 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
5517 according to RFC 2553.
5518 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
5519 * inet/getnameinfo.c: Likewise.
5520 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
5522 2000-03-23 Bruno Haible <haible@clisp.cons.org>
5524 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
5525 Remove no-op pointer increment.
5527 2000-03-23 Andreas Jaeger <aj@suse.de>
5529 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
5530 follow change for libio.h from 2000-03-10.
5532 2000-03-23 Andreas Jaeger <aj@suse.de>
5534 * elf/dl-addr.c: Adjust include paths for ldsodefs location
5536 * elf/dl-debug.c: Likewise.
5537 * elf/dl-deps.c: Likewise.
5538 * elf/dl-error.c: Likewise.
5539 * elf/dl-fini.c: Likewise.
5540 * elf/dl-init.c: Likewise.
5541 * elf/dl-load.c: Likewise.
5542 * elf/dl-lookup.c: Likewise.
5543 * elf/dl-minimal.c: Likewise.
5544 * elf/dl-object.c: Likewise.
5545 * elf/dl-open.c: Likewise.
5546 * elf/dl-preinit.c: Likewise.
5547 * elf/dl-profile.c: Likewise.
5548 * elf/dl-profstub.c: Likewise.
5549 * elf/dl-reloc.c: Likewise.
5550 * elf/dl-runtime.c: Likewise.
5551 * elf/dl-support.c: Likewise.
5552 * elf/dl-symbol.c: Likewise.
5553 * elf/dl-version.c: Likewise.
5554 * elf/rtld.c: Likewise.
5555 * elf/sprof.c: Likewise.
5556 * sysdeps/generic/dl-cache.c: Likewise.
5557 * sysdeps/generic/dl-origin.c: Likewise.
5558 * sysdeps/generic/dl-sysdep.c: Likewise.
5559 * sysdeps/generic/elf/backtracesyms.c: Likewise.
5560 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5561 * sysdeps/generic/libc-start.c: Likewise.
5562 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5563 * sysdeps/powerpc/dl-machine.c: Likewise.
5564 * sysdeps/powerpc/elf/libc-start.c: Likewise.
5565 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5566 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5567 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
5569 * elf/ldsodefs.h: Move file to ...
5570 * sysdeps/generic/ldsodefs.h: ... here.
5572 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
5574 * sysdeps/mips/elf/ldsodefs.h: New file.
5576 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
5578 (_dl_check_map_versions): Likewise.
5579 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5580 * elf/dl-load.c (_dl_init_paths): Likewise.
5581 (_dl_map_object): Likewise.
5582 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
5583 (elf_get_dynamic_info): Likewise.
5584 * elf/do-lookup.h (FCT): Likewise.
5585 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
5586 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5587 * elf/dl-addr.c (_dl_addr): Likewise.
5588 * elf/dl-runtime.c (profile_fixup): Likewise.
5590 * elf/dl-init.c (_dl_init_next): Likewise.
5591 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
5592 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
5593 (DISTINGUISH_LIB_VERSIONS): Likewise.
5594 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
5595 (elf_machine_rel): Likewise.
5597 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
5598 for writable dynamic section.
5600 2000-03-22 Ulrich Drepper <drepper@redhat.com>
5602 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
5603 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
5605 2000-03-22 Andreas Jaeger <aj@suse.de>
5607 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
5608 from latest Linux kernel.
5610 2000-03-21 Andreas Jaeger <aj@suse.de>
5612 * Versions.def: Add version 2.1.4.
5614 2000-03-21 Ulrich Drepper <drepper@redhat.com>
5616 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
5617 * libio/oldiofopen.c: Likewise.
5618 * libio/oldiofclose.c: Likewise.
5619 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
5621 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
5623 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
5624 indicating the first version set to obsolete the conditionalized code.
5625 (compat_symbol): New macro.
5626 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
5627 rhs be the ABI_* macro for the subsuming version. Assign increasing
5628 integer values to the ABI_* macros for supported versions.
5629 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
5630 compat_symbol macro.
5632 2000-03-21 Ulrich Drepper <drepper@redhat.com>
5634 * nscd/connections.c (nscd_run): Pretty print.
5635 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
5637 * manual/charset.texi: Fix typos. Rephrase.
5638 * manual/process.texi: Likewise.
5639 * manual/signal.texi: Likewise.
5640 Patches by Mike Coleman <mkc@kc.net>.
5642 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
5644 * libio/iofdopen.c: Likewise.
5645 * libio/iofgetpos.c: Likewise.
5646 * libio/iofgetpos64.c: Likewise.
5647 * libio/iofopen.c: Likewise.
5648 * libio/iofsetpos.c: Likewise.
5649 * libio/iofsetpos64.c: Likewise.
5650 * libio/iopopen.c: Likewise.
5651 * libio/oldiofopen.c: Likewise.
5652 * libio/pclose.c: Likewise.
5653 * sysdeps/gnu/siglist.c: Likewise.
5654 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
5656 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
5657 chance to expand VERSION_##lib##_##version.
5659 * libio/fileops.c: Use new macros from shlib-compat.h to define
5661 * libio/iofclose.c: Likewise.
5662 * libio/oldiofclose.c: Likewise.
5663 Patch by Roland McGrath <roland@frob.com>.
5665 2000-03-21 Jakub Jelinek <jakub@redhat.com>
5667 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
5668 Lay out struct sigcontext according to what really gets passed on
5670 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
5671 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
5672 (prgregset_t, prfpregset_t): Define to elf_* types.
5673 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
5674 Define to correct value.
5675 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
5677 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
5679 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
5681 * scripts/firstversions.awk: Allow multiple version sets in the
5682 "earliest version" specification, meaning that version sets in the
5683 gaps between listed versions should be folded into the earliest later
5684 version that is explicitly listed.
5685 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
5686 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
5688 2000-03-21 Ulrich Drepper <drepper@redhat.com>
5690 * iconv/gconv_builtin.c: Include <endian.h>.
5691 * iconv/gconv_builtin.h: Add UCS-BE aliases.
5692 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
5693 according to current platform.
5694 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
5695 __gconv_transform_internal_ucs2reverse, and
5696 __gconv_transform_internal_ucs4le.
5697 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
5698 __gconv_transform_ucs2reverse_internal and
5699 __gconv_transform_internal_ucs2reverse.
5700 * iconvdata/Makefile (modules): Add UNICODE.
5701 (distribute): Add unicode.c.
5702 * iconvdata/gconv-modules: Add definitions for UNICODE module.
5703 * iconvdata/unicode.c: New file.
5705 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
5706 determine byte order of input and convert accordingly.
5708 * iconvdata/utf-16.c (gconv_init): Fix typo.
5710 2000-03-20 Ulrich Drepper <drepper@redhat.com>
5712 * iconvdata/gconv-modules: Fix typo.
5714 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
5717 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
5719 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
5721 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
5723 2000-03-20 Ulrich Drepper <drepper@redhat.com>
5725 * misc/Makefile (routines): Add mincore.
5727 2000-03-20 Andreas Jaeger <aj@suse.de>
5729 * sysdeps/generic/mincore.c: New stub file.
5731 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
5732 from latest Linux kernel.
5734 2000-03-20 Ulrich Drepper <drepper@redhat.com>
5736 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
5737 _SC_GETPW_R_SIZE_MAX.
5739 2000-03-20 Richard Henderson <rth@cygnus.com>
5741 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
5744 2000-03-20 Richard Henderson <rth@cygnus.com>
5746 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
5747 of arithmetic instructions.
5749 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
5750 with the fpcr. Protect from INV exception.
5751 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
5752 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
5753 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
5755 * sysdeps/alpha/fpu/s_copysign.c: New.
5756 * sysdeps/alpha/fpu/s_copysignf.c: New.
5757 * sysdeps/alpha/fpu/s_fabs.c: New.
5758 * sysdeps/alpha/fpu/s_fabsf.c: New.
5759 * sysdeps/alpha/fpu/s_rint.c: New.
5760 * sysdeps/alpha/fpu/s_rintf.c: New.
5762 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
5764 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
5766 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
5767 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
5768 Use physical addresses not KSEG addresses.
5769 (io_system): Add PYXIS.
5770 (io): Remove hae.reg, sys, hae_shift.
5771 (stb_mb, stw_mb, stl_mb, __sethae): New.
5772 (inline_outb, inline_outw, inline_outl): Don't set hae.
5773 (inline_inb, inline_inw, inline_inl): Likewise.
5774 (dense_sethae): New null function.
5775 (struct cpuinfo_data): New.
5776 (process_cpuinfo): Use local and stack variables, not static.
5777 Move readlink check here from init_iosys.
5778 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
5780 (_hae_shift): Calculate it here.
5781 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
5782 add pciconfig_iobase.
5784 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
5786 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
5787 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
5789 * scripts/versions.awk: Fixed version renaming code to distinguish
5792 2000-03-19 Ulrich Drepper <drepper@redhat.com>
5794 * include/stdlib.h: Add prototype for __cxa_atexit.
5796 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
5797 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
5799 2000-03-17 Cristian Gafton <gafton@redhat.com>
5801 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
5802 existing rtld-installed-name.
5803 ($(rtld-installed-name)): Request libc-$(version) be installed too.
5804 replace existing rtld-installed-name using $(symbolic-link-prog).
5806 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
5808 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
5809 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
5810 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
5813 2000-03-19 Ulrich Drepper <drepper@redhat.com>
5815 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
5816 glob64. Since there is no glob64 in the LFS proposal applications
5817 can assume that glob handles LFS situations. glob64 is only needed
5818 if alternative filesystem functions are used.
5820 2000-03-19 Geoff Clare <gwc@unisoft.com>
5822 * sysdeps/generic/glob.c: Correct gl_pathc value returned
5823 when GLOB_DOOFFS is set; correct handling of patterns
5824 containing escaped wildcards (and no unescaped ones);
5825 GLOB_ERR flag was being ignored in some situations.
5827 * posix/globtest.c, posix/globtest.sh: Updated to include
5828 tests for the problems fixed by the above changes to glob.c.
5830 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
5832 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
5834 * Makeconfig (soversion.i): Use only first match for each lib.
5836 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
5838 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
5839 rather than $(sysd-dirs-done) to protect these rules.
5841 * Makerules (version-renames.def): Target removed.
5842 (Versions.all): Depend on soversions.i directly and parse it.
5844 * Makeconfig (soversions.i): New target, input-reading parts of
5845 soversions.mk generation moved here; result is a canonicalized
5846 list "LIB VERSION [SET]" for this configuration.
5847 (soversions.mk): Use that as input. Don't emit map-firstversions.
5848 * Makerules (version-renames.def): New target, generated from
5849 soversions.i with contents that was in $(map-firstversions).
5850 (Versions.all): Don't depend on soversions.mk, depend on
5851 version-renames.def instead; just cat it into the input.
5853 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
5854 for $(map-firstversions), which better handles it being empty.
5856 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
5857 supported version for libc 0.2.90.libio to GLIBC_2.2.
5859 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
5860 and use it to emit new variable `map-firstversions'.
5861 * scripts/firstversions.awk: New file.
5862 * Makerules (Versions.all): Use scripts/firstversions.awk and
5863 the $(map-firstversions) value to generate a modified versions list
5864 that includes renames in "A = B" syntax for each version set earlier
5865 than the "earliest symbol version" named in shlib-versions.
5866 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
5867 rename version set A to B in the output to the intermediate file.
5868 * scripts/abi-versions.awk: New file.
5869 * Makerules (abi-versions.h): New target, generated by that script.
5870 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
5871 * include/shlib-compat.h: New file, uses that generated header.
5873 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
5875 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
5876 after stripping # comments, and then run it through cpp.
5877 This allows things like "%ifdef FOO" based on config.h settings.
5878 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
5880 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
5881 and other errors that indicate a pseudo-receive happened, grok through
5882 the message buffer for port rights that need references fixed up.
5884 2000-03-16 Andreas Jaeger <aj@suse.de>
5886 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
5888 * sysdeps/unix/sysv/linux/madvise.c: Remove.
5890 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
5891 from latest Linux kernel.
5892 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
5894 * misc/sys/mman.h: Add prototype for mincore.
5896 2000-03-17 Ulrich Drepper <drepper@redhat.com>
5898 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
5899 entry for GLIBC_2.0 version of setrlimit.
5900 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5902 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
5904 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
5905 * nis/nss_compat/compat-initgroups.c: Likewise.
5906 * nis/nss_nis/nis-initgroups.c: Likewise.
5907 * nis/nss_nis/nis-netgrp.c: Likewise.
5908 * nis/nss_nis/nis-proto.c: Likewise.
5909 * nis/nss_nis/nis-rpc.c: Likewise.
5910 * nis/nss_nis/nis-service.c: Likewise.
5911 * nis/ypclnt.c: Likewise.
5913 2000-03-16 Andreas Jaeger <aj@suse.de>
5915 * manual/Makefile: MAKEINFO is set to `:' from configure if it
5916 doesn't exist, correct checks. Fixes PR libc/1649.
5918 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
5920 * nscd/hstcache.c: Restore correct UID.
5921 * nscd/pwdcache.c: Likewise.
5922 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
5924 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
5926 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
5927 macros for register names, in line with 2000-03-14 linux change.
5929 * sysdeps/mach/sched_yield.c: New file.
5931 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
5933 * sysdeps/generic/lockfile.c: Include <stdio.h>
5934 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
5935 case <libio.h> defined them.
5936 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
5938 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
5939 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
5941 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
5942 for more pleasing parse error.
5944 2000-03-16 Ulrich Drepper <drepper@redhat.com>
5946 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
5948 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5950 * elf/Makefile: Add rules to compile and run constload1 test.
5951 * elf/constload1.c: New file.
5952 * elf/constload2.c: New file.
5953 * elf/constload3.c: New file.
5955 2000-03-15 Ulrich Drepper <drepper@redhat.com>
5957 * sysdeps/posix/open64.c: Make __open64 weak alias.
5958 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
5959 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5960 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
5961 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5962 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
5963 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
5964 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5965 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
5966 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5967 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
5969 2000-03-14 Ulrich Drepper <drepper@redhat.com>
5971 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
5972 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
5974 2000-03-16 Mark Kettenis <kettenis@gnu.org>
5976 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
5977 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
5979 2000-03-08 Andreas Jaeger <aj@suse.de>
5981 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
5983 2000-03-14 Ulrich Drepper <drepper@redhat.com>
5985 * timezone/africa: Update from tzdata2000d.
5986 * timezone/asia: Likewise.
5987 * timezone/australasia: Likewise.
5988 * timezone/europe: Likewise.
5989 * timezone/northamerica: Likewise.
5990 * timezone/southamerica: Likewise.
5992 * po/fr.po: Update from translation team.
5993 * po/de.po: Likewise.
5995 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
5996 last parameter. Move code to add map to global scope from here...
5997 * elf/dl-open.c (dl_open_worker): ...here.
5998 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
5999 * elf/rtld.c: Adjust call to _dl_map_object_deps.
6001 * locale/programs/ld-collate.c (collate_read): Fix warning.
6003 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
6004 values and macros for register names.
6006 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
6007 returned by seek cookie function is -1.
6009 2000-03-14 Andreas Jaeger <aj@suse.de>
6011 * locale/localeconv.c (localeconv): Fix typo.
6012 Reported by Andre Charbonneau <andrec@corel.com>.
6014 2000-03-14 Ulrich Drepper <drepper@redhat.com>
6016 * iconv/skeleton.c: Increment __invocation_counter in inner loop
6017 since modules depend on it counting the number of times the conversion
6018 function got called.
6020 * iconv/gconv_open.c: Optimize loop to setup step data structure.
6022 * iconv/gconv.h: Pretty print.
6024 2000-03-04 Ulrich Drepper <drepper@redhat.com>
6026 * posix/wordexp-test.c: Correct one of the tests added in the last
6027 change. Really get the root passwd entry to check again ~root.
6029 2000-03-10 Andreas Jaeger <aj@suse.de>
6031 * manual/filesys.texi (Working Directory): Fix last patch.
6032 Patch by Martin Buchholz <martin@xemacs.org>.
6034 2000-03-10 Andreas Jaeger <aj@suse.de>
6036 * manual/creature.texi (Feature Test Macros): Fix language.
6038 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
6040 * mach/devstream.c (devstream_write, devstream_read): New functions.
6041 (input, output): Functions removed.
6042 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
6043 using only the vanilla fopencookie interface.
6045 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
6046 as macro for __io_functions.
6047 (funcsio): Use cookie_io_functions_t type name.
6048 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
6050 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
6052 (fopencookie): Use it.
6053 * libio/libio.h: Declare _IO_cookie_init.
6054 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
6057 * libio/libio.h (__io_seek_fn): Fix second argument type
6058 to be a pointer, in line with the manual and the old stdio.
6059 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
6061 * sysdeps/generic/bits/stdio-lock.h: New file.
6062 This is a stub with #error, but that's better than no file at all.
6064 2000-03-09 Martin Buchholz <martin@xemacs.org>
6066 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
6067 * manual/message.texi (Using gettextized software): Doc Fixes.
6068 * manual/message.texi (Message Translation): Doc Fixes.
6069 * manual/filesys.texi (File Size): Doc Fixes.
6070 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
6071 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
6072 * iconv/gconv_db.c (find_derivation): Doc Fixes.
6073 * manual/install.texi: Doc Fixes.
6074 * manual/search.texi (Hash Search Function): Doc Fixes.
6075 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
6076 * FAQ.in: Doc Fixes.
6077 * config.h.in: Doc Fixes.
6078 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
6079 Doc Fixes. `allows to' is not correct English.
6081 * elf/rtld.c: Doc fixes.
6082 * manual/creature.texi (Feature Test Macros): Doc fixes.
6083 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
6085 * manual/filesys.texi (Working Directory): Check for ERANGE to
6088 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
6090 * string/argz-stringify.c (__argz_stringify): Fix loop termination
6091 conditions so as not to clobber the final '\0' when there is only one
6092 element in the vector.
6094 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
6096 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
6097 broken by 2000-02-27 change.
6099 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
6101 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
6103 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
6104 argument type, for 2000-02-22 change in signal/signal.h declaration.
6106 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
6108 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
6109 to getdirentries64 (no __), since the Linux implementation
6110 has no __ name, and there is no declaration for the __ name.
6112 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
6114 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
6115 sed regexp so as not to break directory names including /../ within.
6117 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
6118 The sysdeps/generic file is right for BSD. This file was in fact the
6119 Hurd file, but the only difference was the WNOREAP flag that was never
6120 actually implemented or used anywhere.
6122 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
6123 since AC_PATH_PROG already does it for us.
6124 (PERL): Rewrite check added in 2000-02-29 change for syntactic
6125 correctness and sh portability. I replaced the broken check
6126 with a more sensible implementation of the apparently intended
6127 semantics, which might still be questionable. Using expr causes
6128 a non-numeric value for `perl -V:apiversion` to be accepted,
6129 refusing to use only a perl that reports a number less than 5;
6130 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
6131 * configure: Regenerated.
6133 2000-03-08 Andreas Jaeger <aj@suse.de>
6135 * manual/crypt.texi: Fix paths.
6137 2000-03-07 Andreas Jaeger <aj@suse.de>
6139 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
6141 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
6144 2000-03-06 Andreas Jaeger <aj@suse.de>
6146 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
6147 in __sgn1l, otherwise g++ fails to parse this.
6148 Reported by Sean Chen <sean.chen@turbolinux.com>.
6150 2000-03-03 Geoff Keating <geoffk@cygnus.com>
6152 * configure.in: Compute sizeof-long-double.
6153 * configure: Regenerated.
6154 * config.make.in: Make sizeof-long-double available to sub-makes.
6156 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
6158 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
6161 2000-03-03 Geoff Keating <geoffk@cygnus.com>
6163 * Makeconfig (rpath-dirs): Add crypt.
6164 (all-subdirs): Remove md5crypt.
6165 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
6166 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
6167 * sysdeps/generic/crypt-entry.c: Delete.
6168 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
6169 * sysdeps/generic/crypt.h: Delete.
6170 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
6171 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
6172 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
6173 * sysdeps/generic/des_impl.c: Delete.
6174 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
6175 * crypt/sysdeps: Delete.
6176 * crypt/crypt_util.c: Don't use `patchlevel.h'.
6177 * md5-crypt/Versions: Move to crypt/.
6178 * md5-crypt/md5-crypt.c: Move to crypt/.
6179 * md5-crypt/md5.c: Move to crypt/.
6180 * md5-crypt/md5c-test.c: Move to crypt/.
6181 * md5-crypt/md5test.c: Move to crypt/.
6182 * md5-crypt: Delete.
6183 * crypt/Makefile: Adjust for new structure.
6185 2000-03-03 Paul Eggert <eggert@twinsun.com>
6187 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
6188 define to 1 if not defined.
6190 2000-03-03 Andreas Jaeger <aj@suse.de>
6192 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
6194 2000-03-03 Andreas Jaeger <aj@suse.de>
6196 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
6198 (xdr_int64_t): Correctly handle lower half.
6199 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
6201 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
6203 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
6206 2000-03-02 Andreas Jaeger <aj@suse.de>
6208 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
6211 2000-03-02 Andreas Jaeger <aj@suse.de>
6213 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
6215 2000-03-01 Andreas Jaeger <aj@suse.de>
6217 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
6218 (tests): Added tst-getdate.
6220 * time/tst-getdate.c: New file.
6222 * time/datemsk: New file, needed for tst-getdate.
6224 2000-02-29 Cristian Gafton <gafton@redhat.com>
6226 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
6228 2000-02-17 H.J. Lu <hjl@gnu.org>
6230 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
6232 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
6234 (svcudp_recv): Set up message with the new "xp_pad" field for
6236 (svcudp_reply): Support IP_PKTINFO if available.
6238 2000-03-01 Andreas Jaeger <aj@suse.de>
6240 * time/getdate.c (check_mday): Fix check for february.
6241 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
6242 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
6244 2000-03-02 Andreas Jaeger <aj@suse.de>
6246 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
6247 g++ fails to parse this.
6248 Reported by Sean Chen <sean.chen@turbolinux.com>.
6250 2000-02-28 Ulrich Drepper <drepper@redhat.com>
6252 * io/creat.c: Moved to...
6253 * sysdeps/generic/creat.c: ...here.
6254 * io/creat64.c: Moved to...
6255 * sysdeps/generic/creat64.c: ...here.
6256 * io/lockf.c: Moved to...
6257 * sysdeps/generic/lockf.c: ...here.
6259 * crypt/crypt.texi: Moved to...
6260 * manual/crypt.texi: ...here.
6261 * crypt/examples/genpass.c: Moved to...
6262 * manual/examples/genpass.c: ...here.
6263 * crypt/examples/mygenpass.c: Moved to...
6264 * manual/examples/mygenpass.c: ...here.
6265 * crypt/examples/testpass.c: Moved to...
6266 * manual/examples/testpass.c: ...here.
6268 * manual/Makefile (chapters): Add crypt.
6269 * manual/conf.texi: Add usual header for not-last chapter.
6270 * manual/crypt.texi: Add special header for last chapter.
6272 2000-02-28 Geoff Keating <geoffk@cygnus.com>
6274 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
6275 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
6276 complain if there is no crypt add-on.
6277 * crypt/configure: Removed.
6279 * crypt/crypt.texi: Update documentation of US export restrictions
6280 to match the 14 Jan 2000 regulations.
6282 2000-02-28 Geoff Keating <geoffk@cygnus.com>
6284 * crypt: New subdirectory, merged in from the crypt add-on.
6286 2000-02-28 Ulrich Drepper <drepper@redhat.com>
6288 * include/unistd.h: Add __rmdir and __mkdir prototypes.
6291 See ChangeLog.10 for earlier changes.