1 2000-09-15 Ulrich Drepper <drepper@redhat.com>
3 * math/complex.h: Don't define _Complex macro for gcc 3. Add
4 __extension__ to _Complex_I definition since gcc warns if -pedantic.
5 * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~.
7 * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if
8 necessary. Move includes of POSIX and Unix limits files to the
10 * stdlib/Makefile (tests): Add tst-limits.
11 * stdlib/tst-limits.h: New file.
13 2000-09-15 Andreas Jaeger <aj@suse.de>
15 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV.
17 * sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define.
19 2000-09-15 Jakub Jelinek <jakub@redhat.com>
21 * sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory
23 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
24 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise.
26 2000-09-15 Ulrich Drepper <drepper@redhat.com>
28 * elf/Makefile (distribute): Add nextmod1.c and nextmod2.c.
30 (modules-names): Add nextmod1 and nextmod2.
31 Add rules to build and run next.
32 * elf/next.c: New file.
33 * elf/nextmod1.c: New file.
34 * elf/nextmod2.c: New file.
36 2000-09-14 Jakub Jelinek <jakub@redhat.com>
38 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo.
40 2000-09-15 Andreas Jaeger <aj@suse.de>
42 * sysdeps/mips/fpu/fenv_libc.h: New file.
43 * sysdeps/mips/fpu/feenablxcpt.c: Use fenv_libc.h
44 * sysdeps/mips/fpu/fegetexcept.c: Likewise.
45 * sysdeps/mips/fpu/fedisblxcpt.c: Likewise.
47 * sysdeps/mips/fpu/feenablxcpt.c: New file.
48 * sysdeps/mips/fpu/fegetexcept.c: New file.
49 * sysdeps/mips/fpu/fedisblxcpt.c: New file.
51 2000-09-14 Ulrich Drepper <drepper@redhat.com>
53 * intl/Makefile: Avoid unnecessary test reruns.
55 * stdio-common/tst-printf.sh: Also allow output from 64-bit machines.
57 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change
58 to not use sysctl(). Too many architectures have problems with it.
60 2000-09-14 Andreas Jaeger <aj@suse.de>
62 * scripts/config.sub: New version from subversions.gnu.org.
64 * time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now
67 2000-09-14 Jakub Jelinek <jakub@redhat.com>
69 * posix/regex.c (compile_range): Cast collseq index to unsigned char
70 to avoid accessing data before collseq.
72 * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid
73 pasting strings together.
75 2000-09-14 Greg McGary <greg@mcgary.org>
77 * sysdeps/generic/bp-checks.h: Remove bogus reference to GNU MP in
79 * sysdeps/generic/bp-semctl.h: Likewise.
80 * sysdeps/generic/bp-start.h: Likewise.
81 * sysdeps/generic/bp-sym.h: Likewise.
82 * sysdeps/generic/bp-thunks.h: Likewise. Include <stdio.h> to get
85 2000-09-13 Ulrich Drepper <drepper@redhat.com>
87 * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and
90 * elf/elf.h: Add missing official relocations.
92 * libio/stdio.h: Define __FILE if __need___FILE is defined.
93 * stdio/stdio.h: Likewise.
94 * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE.
95 * include/stdio.h: Handle __need___FILE like __need_FILE.
96 * include/wchar.h: Use __FILE instead of FILE.
97 * libio/fwprintf.c: Include <stdio.h> for FILE definition.
98 * libio/fwscanf.c: Likewise.
99 * libio/getwc.c: Likewise.
101 * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u.
102 * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1.
103 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise.
105 * assert/assert.h: Update comment header about ISO C section.
106 * math/complex.h: Likewise.
107 * ctype/ctype.h: Likewise.
108 * include/errno.h: Likewise.
109 * include/limits.h: Likewise.
110 * locale/locale.h: Likewise.
111 * math/math.h: Likewise.
112 * setjmp/setjmp.h: Likewise.
113 * signal/signal.h: Likewise.
114 * stdio/stdio.h: Likewise.
115 * libio/stdio.h: Likewise.
116 * stdlib/stdlib.h: Likewise.
117 * string/string.h: Likewise.
118 * time/time.h: Likewise.
119 * wcsmbs/wchar.h: Likewise.
120 * wctype/wctype.h: Likewise.
121 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
123 2000-09-13 Andreas Jaeger <aj@suse.de>
125 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test
127 * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise.
128 * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise.
129 Reported by Eric S. Johnson <esj@cs.fiu.edu>, closes PR libc/1887.
131 2000-09-13 Ulrich Drepper <drepper@redhat.com>
133 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
134 constant since this is what clock_t is.
135 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
136 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
137 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
138 * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
140 * time/time.h: Don't defined clockid_t and timer_t unless POSIX
141 definitions are requested.
143 2000-09-13 Andreas Jaeger <aj@suse.de>
145 * shlib-versions: libBrokenLocale needs minimal version for ia64,
146 sparc64 and sh to synch with libc.
148 2000-09-13 Ulrich Drepper <drepper@redhat.com>
150 * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT.
151 (distribute): Add iso-2022-cn-ext.c.
152 Add definitions to compile the new module.
153 * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT.
154 * iconvdata/iso-2022-cn-ext.c: New file.
155 * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from
156 ucs4_from_isoir165. Increment input pointer if successful.
158 * csu/Makefile: Work around a gcc bug when creating csu-dummies.
160 * sysdeps/unix/sysv/linux/getdents.c: Pretty print.
162 2000-09-01 Jes Sorensen <jes@linuxcare.com>
164 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
165 __syscall_getdents64 wrapper.
167 * sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
169 2000-09-12 Ulrich Drepper <drepper@redhat.com>
171 * iconvdata/gb18030.c: Many many changes. Make consistent with
172 charmap and with itself.
173 * iconvdata/tst-tables.sh: Test GB18030.
175 2000-09-11 Ulrich Drepper <drepper@redhat.com>
177 * iconv/skeleton.c: Fix last patch, add missing parameter to
178 unaligned function call.
180 2000-09-10 Bruno Haible <haible@clisp.cons.org>
182 * locale/programs/ld-collate.c (collate_read): Fix typo in handling
185 2000-09-11 Bruno Haible <haible@clisp.cons.org>
187 * locale/programs/ld-collate.c (collate_read): Always initialize
190 2000-09-10 Bruno Haible <haible@clisp.cons.org>
192 * locale/programs/ld-collate.c (collate_finish): Upper bound for
193 ruleidx is 128, not 256.
195 2000-09-11 Ulrich Drepper <drepper@redhat.com>
197 * locale/programs/ld-collate.c (collate_read): Correct check for
198 already inserted entries.
200 2000-09-10 Bruno Haible <haible@clisp.cons.org>
202 * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in
205 2000-09-10 Bruno Haible <haible@clisp.cons.org>
207 * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if
208 MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1.
210 2000-09-10 Bruno Haible <haible@clisp.cons.org>
212 * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with
215 2000-09-10 Bruno Haible <haible@clisp.cons.org>
217 * iconvdata/utf-7.c: New file.
218 * iconvdata/gconv-modules (UTF-7): New module entries.
219 * iconvdata/Makefile (modules): Add UTF-7.
220 (distribute): Add utf-7.c.
221 * iconvdata/testdata/UTF-7: New file.
222 * iconvdata/testdata/UTF-7..UTF8: New file.
223 * iconvdata/TESTS (UTF-7): New entry.
224 * iconvdata/run-iconv-test.sh: Fix confusing output.
226 2000-09-11 Ulrich Drepper <drepper@redhat.com>
228 * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
230 2000-09-10 David S. Miller <davem@redhat.com>
232 * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
233 frame pointer offset for non-fast path.
235 2000-09-10 Ulrich Drepper <drepper@redhat.com>
237 * locale/programs/3level.h (*_init): Initialize level1, level2,
239 (*_add): Remove a few unnecessary conditionals.
241 2000-09-05 Wolfram Gloger <wg@malloc.de>
243 * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread,
244 ensure usability of mutex as an `in use' flag.
246 2000-09-10 Ulrich Drepper <drepper@redhat.com>
248 * shlib-versions: Simplify libm entries. Correct a few Hurd entries.
250 * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
251 ugly GMON_WEAK_START hack.
252 Patch by Philip Blundell <philb@gnu.org>.
254 * sysdeps/i386/i486/bits/string.h: Pretty printing.
256 2000-09-09 Ulrich Drepper <drepper@redhat.com>
258 * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
259 and PPC_ICBI asm for broken compilers.
260 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
262 2000-09-09 Andreas Jaeger <aj@suse.de>
264 * manual/message.texi (Advanced gettext functions): Fix typo.
266 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
269 2000-09-09 Ulrich Drepper <drepper@redhat.com>
271 * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
273 * sysdeps/ia64/memccpy.S: Likewise.
274 Patches by Jim Wilson <wilson@redhat.com>.
276 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname
277 before trying to read /proc.
278 Patch by Matt Wilson <msw@redhat.com>.
279 * include/sys/utsname.h: Declare __uname.
280 * sysdeps/generic/uname.c: Make uname a weak alias of __uname.
281 * sysdeps/mach/hurd/uname.c: Likewise.
282 * sysdeps/unix/syscalls.list: Likewise.
284 * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
287 2000-09-08 Ulrich Drepper <drepper@redhat.com>
289 * posix/getopt.c (_getopt_internal): When long_only is set always
290 recognize conflicts just like before.
292 2000-09-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
294 * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
296 2000-09-08 Greg McGary <greg@mcgary.org>
298 * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
299 * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'.
300 * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
302 2000-09-08 Andreas Jaeger <aj@suse.de>
304 * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
306 * sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
308 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
309 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
310 (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
312 2000-09-07 Ulrich Drepper <drepper@redhat.com>
314 * iconvdata/tst-tables.sh: Enable EUC-KR test.
316 * elf/dl-load.c (lose): Decrement _nl_loaded.
317 (_dl_map_object_from_fd): Don't try to dlopen executables.
319 * iconvdata/tst-tables.sh: Actually return with an error if
320 something goes wrong.
321 * iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
322 * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
324 * iconvdata/tst-tables.sh: Add BIG5HKSCS.
326 * iconvdata/tst-table-to.c (main): Correct cast in iconv call.
327 * iconvdata/tst-table-from.c: Include <string.h>.
328 (try): Correct cast in iconv call.
330 * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
332 * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
333 (sysdep_routines): Remove dl-start.
334 Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
336 * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
338 * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
339 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
341 2000-09-06 Andreas Schwab <schwab@suse.de>
343 * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
345 2000-09-07 Ulrich Drepper <drepper@redhat.com>
347 * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
349 * scripts/config.sub: Strip out -unknown for Linux targets.
350 Patch by Scott Bambrough <scottb@netwinder.org>.
352 * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
355 2000-09-07 Andreas Jaeger <aj@suse.de>
357 * sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
359 * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
362 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
364 * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
365 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
367 * sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
369 * stdlib/tst-bsearch.c (main): Add more test cases.
371 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
372 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
373 Reported by GOTO Masanori <gotom@debian.or.jp>.
375 2000-09-07 Ulrich Drepper <drepper@redhat.com>
377 * posix/Makefile (tests): Add tst-dir.
378 (tst-dir-ARGS): New variable.
379 * posix/tst-dir.c: New file.
381 2000-09-07 Andreas Jaeger <aj@suse.de>
383 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
386 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
388 2000-09-06 Ulrich Drepper <drepper@redhat.com>
390 * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
391 use the hack with tryopen_o_directory to determine at runtime
393 * sysdeps/unix/sysv/linux/opendir.c: New file.
394 * sysdeps/unix/sysv/linux/kernel-features.h: Define
395 __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
397 * catgets/Depend: New file. Add intl.
398 * catgets/Makefile (tests): Add tst-catgets.
399 (generated): Remove de.msg.
400 (generated-dirs): Add de.
401 Add dependency if tst-catgets output on de/libc.cat.
402 * catgets/tst-catgets.c: New file.
404 * po/ja.po: New file.
405 * po/el.po: Update from translation team.
407 * wcsmbs/Depend: New file.
408 * wcsmbs/Makefile (tests): Add tst-btowc.
409 (tst-btowc-ENV): Define.
410 * wcsmbs/tst-btowc.c: New file.
412 * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
413 * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
415 * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
417 * stdlib/Makefile (tests): Add tst-bsearch.
418 * stdlib/tst-bsearch.c: New file.
420 * posix/getopt.c (_getopt_internal): Don't recognize an option
421 name as ambiguous if it's a prefix for more than one name but the
422 other struct option values are identical.
424 * posix/tstgetopt.c: Add test for improved ambiguity recognition.
425 Don't depend on visual inspection of the output file to recognize
427 * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
429 2000-09-06 Andreas Jaeger <aj@suse.de>
431 * sysdeps/alpha/soft-fp/Dist: New file.
432 * sysdeps/i386/soft-fp/Dist: New file.
433 * sysdeps/mips/mips64/soft-fp/Dist: New file.
434 * sysdeps/mips/soft-fp/Dist: New file.
435 * sysdeps/powerpc/soft-fp/Dist: New file.
436 * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
437 * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
439 * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
440 Use sysdep_routines instead of routines to fix make dist failure.
441 * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
443 * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
445 * sysdeps/mips/Makefile [$(subdir) = misc]: Use
446 sysdep_headers instead of headers for make dist.
448 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
451 2000-09-06 Andreas Schwab <schwab@suse.de>
453 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
455 2000-09-06 Andreas Jaeger <aj@suse.de>
457 * soft-fp/Makefile (distribute): Remove ChangeLog.
459 * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use
460 sysdep_routines instead of routines for make dist.
462 2000-09-05 Ulrich Drepper <drepper@redhat.com>
464 * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
465 compatibility check for old stream and call _IO_wide in doubt.
466 (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
467 * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
468 needed tst for such an old structure and don't do anything.
469 * libio/freopen.c: Remove declaration of _IO_stdin_used.
471 2000-09-06 Andreas Jaeger <aj@suse.de>
473 * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
474 sysdep-dl-routines and sysdep_routines instead of rtld-routines
477 * soft-fp/ChangeLog: Merged with this file.
479 2000-06-13 Ulrich Drepper <drepper@redhat.com>
481 * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
483 * soft-fp/Makefile (distribute): Add the math functions, too.
485 * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
487 2000-03-03 Geoff Keating <geoffk@cygnus.com>
489 * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
492 * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
493 * soft-fp/sysdeps/powerpc/q_*: New files.
495 2000-09-05 Ulrich Drepper <drepper@redhat.com>
497 * stdio-common/vfprintf.c (process_string_arg): Handle precision
498 in wide char case correctly. Don't allocate too long temporary
501 * stdio-common/Makefile (tests): Add tst-swprintf.
502 (tst-swprintf-ENV): New variable.
503 * stdio-common/tst-swprintf.c: New file.
505 2000-09-05 Andreas Jaeger <aj@suse.de>
507 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
508 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
509 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
511 2000-09-05 Ulrich Drepper <drepper@redhat.com>
513 * configure.in: Strip out "unknown" from configuration names.
515 2000-09-05 Andreas Jaeger <aj@suse.de>
517 * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
519 * sysdeps/sparc/sparc64/Implies: Add soft-fp.
520 * sysdeps/sparc/sparc32/Implies: Likewise.
521 * sysdeps/powerpc/Implies: Likewise.
523 * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
524 * libio/oldiofgetpos64.c: Likewise.
526 * soft-fp/Makefile (distribute): Remove configure.
528 * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
530 * soft-fp/configure: Remove.
532 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
533 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
535 * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
536 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
538 * soft-fp/sysdeps/powerpc/Makefile: Move from here...
539 * sysdeps/powerpc/soft-fp/Makefile: ... to here.
541 * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
542 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
544 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
545 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
547 * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
548 * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
550 * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
551 * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
553 * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
554 * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
556 * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
557 * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
559 * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
560 * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
562 * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
563 * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
565 * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
566 * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
568 * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
569 * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
571 * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
572 * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
574 * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
575 * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
577 * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
578 * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
580 * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
581 * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
583 * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
584 * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
586 * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
587 * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
589 * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
590 * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
592 * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
593 * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
595 * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
596 * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
598 * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
599 * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
601 * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
602 * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
604 * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
605 * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
607 * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
608 * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
610 * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
611 * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
613 * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
614 * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
616 * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
617 * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
619 * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
620 * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
622 * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
623 * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
625 * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
626 * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
628 * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
629 * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
631 * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
632 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
634 * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
635 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
637 * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
638 * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
640 * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
641 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
643 * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
644 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
646 * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
647 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
649 * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
650 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
652 * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
653 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
655 * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
656 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
658 * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
659 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
661 * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
662 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
664 * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
665 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
667 * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
668 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
670 * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
671 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
673 * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
674 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
676 * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
677 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
679 * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
680 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
682 * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
683 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
685 * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
686 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
688 * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
689 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
691 * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
692 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
694 * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
695 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
697 * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
698 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
700 * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
701 * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
703 * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
704 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
706 * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
707 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
709 * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
710 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
712 * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
713 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
715 * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
716 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
718 * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
719 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
721 * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
722 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
724 * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
725 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
727 * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
728 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
730 * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
731 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
733 * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
734 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
736 * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
737 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
739 * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
740 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
742 * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
743 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
745 * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
746 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
748 * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
749 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
751 * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
752 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
754 * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
755 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
757 * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
758 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
760 * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
761 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
763 * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
764 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
766 * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
767 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
769 * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
770 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
772 * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
773 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
775 * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
776 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
778 * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
779 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
781 * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
782 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
784 * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
785 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
787 * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
788 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
790 * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
791 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
793 * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
794 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
796 * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
797 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
799 * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
800 * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
802 * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
803 * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
805 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
806 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
808 * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
809 * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
811 * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
812 * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
814 * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
815 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
817 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
818 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
820 * soft-fp/sysdeps/powerpc/Versions: Move from here...
821 * sysdeps/powerpc/soft-fp/Versions: ... to here.
823 * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
824 * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
826 * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
827 change symbol version.
828 * libio/oldiofgetpos64.c: Likewise.
829 Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
831 * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
833 Reported by dyky@kondara.org, closes PR libc/1886.
835 * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
838 2000-09-04 Ulrich Drepper <drepper@redhat.com>
840 * iconvdata/run-iconv-test.sh: Add code to immediately stop the
841 script when ^C is hit.
843 * locale/programs/localedef.c (construct_output_path): Correct
844 computation of endp after asprintf.
845 * locale/programs/locfile.c (write_locale_data): Don't add extra
848 2000-09-05 Andreas Jaeger <aj@suse.de>
850 * scripts/config.guess: New upstream version.
851 * scripts/config.sub: Likewise.
852 * manual/texinfo.tex: Likewise.
854 2000-09-04 Andreas Schwab <schwab@suse.de>
856 * elf/Makefile (all-dl-routines): New variable.
857 (elide-routines.os): Use it instead of $(dl-routines).
858 (all-rtld-routines): New variable.
859 (extra-objs): Use it instead of $(rtld-routines).
860 ($(objpfx)dl-allobjs.os): Likewise.
861 * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
862 sysdep-dl-routines and sysdep_routines instead of rtld-routines
865 2000-09-03 Bruno Haible <haible@clisp.cons.org>
867 * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
868 Set fname to NULL if the module wasn't found.
870 2000-09-03 Bruno Haible <haible@clisp.cons.org>
872 * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
873 true if trans->name already ends in ".so".
875 2000-09-03 Bruno Haible <haible@clisp.cons.org>
877 * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
879 * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
880 below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
881 (__gconv_release_shlib): Change return type to void.
882 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
883 step->__counter here.
884 * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
885 if the reference is zero.
886 (release_step): New function.
887 (gen_steps): Always initialize the __counter to 1. Use release_step.
888 Don't call the destructor on the step whose initializer failed.
889 (increment_counter): Use release_step. Don't normally run destructors
891 (__gconv_close_transform): Use release_step.
893 2000-09-03 Bruno Haible <haible@clisp.cons.org>
895 * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
896 (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
898 2000-09-03 Bruno Haible <haible@clisp.cons.org>
900 * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
901 If the first byte is 0x8E, don't ask for 4 bytes until it has been
902 verified that the second byte is valid. Leave it to cns11643_to_ucs4
903 to check for incomplete input.
904 * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
905 ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
906 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
907 (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
909 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
910 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
911 (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
912 * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
915 2000-09-03 Bruno Haible <haible@clisp.cons.org>
917 * iconv/gconv_db.c (find_derivation): Always use the least-cost
920 2000-09-03 Bruno Haible <haible@clisp.cons.org>
922 * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
925 2000-09-03 Bruno Haible <haible@clisp.cons.org>
927 * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
928 * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
931 2000-09-03 Bruno Haible <haible@clisp.cons.org>
933 * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
935 2000-09-03 Bruno Haible <haible@clisp.cons.org>
937 * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
939 2000-09-03 Bruno Haible <haible@clisp.cons.org>
941 * iconvdata/tst-tables.sh: New file.
942 * iconvdata/tst-table.sh: New file.
943 * iconvdata/tst-table-from.c: New file.
944 * iconvdata/tst-table-to.c: New file.
945 * iconvdata/tst-table-charmap.sh: New file.
946 * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
947 (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
948 tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
949 ISIRI-3342.irreversible, SJIS.irreversible.
950 (tests): Add dependency on tst-tables.out.
951 (tst-tables.out, tst-tables-clean): New rules.
952 (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
953 * iconvdata/ISIRI-3342.irreversible: New file.
954 * iconvdata/EUC-JP.irreversible: New file.
955 * iconvdata/SJIS.irreversible: New file.
957 2000-09-04 Ulrich Drepper <drepper@redhat.com>
959 * manual/locale.texi (General Numeric): Update description of
960 representation of the grouping information in the locale data.
961 Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
963 2000-09-04 Andreas Jaeger <aj@suse.de>
965 * locale/programs/ld-monetary.c (monetary_read): Fix typo.
966 * iconv/iconv_prog.c (options): Fix typo.
967 Reported by dyky@kondara.org, closes PR libc/1885.
969 2000-09-04 Andreas Jaeger <aj@suse.de>
971 * sysdeps/generic/fegetenv.c: It's __fegetenv.
972 Reported by Rob Levin <lilo@transvirtual.com>.
974 2000-09-03 Ulrich Drepper <drepper@redhat.com>
976 * time/sys/time.h (gettimeofday): Move restrict for tz parameter
977 to the typedefs of __timezone_ptr_t.
978 Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
980 2000-09-02 Jakub Jelinek <jakub@redhat.com>
982 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
985 2000-09-01 H.J. Lu <hjl@gnu.org>
987 * Makeconfig (built-program-cmd): Don't use the dynamic linker
988 to run a binary if it is in $(tests-static).
990 * Rules (binaries-static): Add $(tests-static).
992 2000-09-02 Andreas Jaeger <aj@suse.de>
994 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
996 * libio/fmemopen.c (fmemopen_close): Revert one part of last
999 2000-09-01 Ulrich Drepper <drepper@redhat.com>
1001 * iconvdata/big5hkscs.c: Regenerated from charmap.
1002 * iconvdata/testdata/BIG5HKSCS: Regenerated.
1003 * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
1005 * libio/fmemopen.c (fmemopen_seek): Add default case in switch
1006 statement. General cleanup.
1008 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1010 * wctype/wcfuncs.c (iswblank): New function.
1011 * wctype/wcfuncs_l.c (__iswblank_l): New function.
1012 * wctype/wcextra.c: Remove file.
1013 * wctype/wcextra_l.c: Remove file.
1014 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
1016 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1018 * locale/programs/ld-collate.c (collate_output): Remove redundant
1020 * string/strcoll.c: Likewise.
1021 * string/strxfrm.c: Include assert.h. Add assert calls like in
1024 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1026 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
1027 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
1028 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
1029 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
1030 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
1031 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
1032 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
1033 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
1034 _NL_CTYPE_GAP5/6 respectively.
1036 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
1037 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
1038 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
1039 Don't initialize __ctype_names and __ctype_width.
1040 * wctype/cname-lookup.h: Remove file.
1041 * wctype/Makefile (distribute): Remove cname-lookup.h.
1042 * wctype/wchar-lookup.h: Include stdint.h.
1043 * wctype/wctype.c (__wctype): Assume new locale format.
1044 * wctype/wctype_l.c (__wctype_l): Likewise.
1045 * wctype/iswctype.c: Don't include cname-lookup.h.
1046 (__iswctype): Assume new locale format.
1047 * wctype/iswctype_l.c: Don't include cname-lookup.h.
1048 (__iswctype_l): Assume new locale format.
1049 * wctype/wctrans.c: Don't include ctype.h.
1050 (wctrans): Assume new locale format.
1051 * wctype/wctrans_l.c (__wctrans_l): Likewise.
1052 * wctype/towctrans.c: Don't include cname-lookup.h.
1053 (__towctrans): Assume new locale format.
1054 * wctype/towctrans_l.c: Don't include cname-lookup.h.
1055 (__towctrans_l): Assume new locale format.
1056 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
1057 localeinfo.h instead.
1058 (__NO_WCTYPE): Remove unused macro.
1059 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
1061 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
1062 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
1063 (towlower, towupper): Likewise.
1064 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
1065 localeinfo.h instead.
1066 (__NO_WCTYPE): Remove unused macro.
1067 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
1068 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
1069 __iswxdigit_l): Assume new locale format.
1070 (__towlower_l, __towupper_l): Likewise.
1071 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
1072 (__ctype32_b): Remove declaration.
1073 (internal_wcwidth): Assume new locale format.
1074 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
1075 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
1076 to map32_b, rename width_3level to width.
1077 (ctype_output): Always create new locale format. Don't emit
1078 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
1079 (allocate_arrays): Always create new locale format.
1081 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
1082 * locale/weightwc.h (findidx): Assume new locale format.
1083 * string/strcoll.c (wcscoll): Remove local variables size, layers,
1085 * string/strxfrm.c (wcsxfrm): Likewise.
1086 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
1087 local variable collseq to 'const char *'.
1088 (SUFFIX): Don't use, don't undefine.
1089 * posix/fnmatch.c: Remove SUFFIX definition.
1090 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
1091 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
1092 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
1093 (collate_finish): Always create new locale format. Remove local
1094 variables min_total, act_size.
1095 (collate_output): Always create new locale format. Remove local
1096 variables table_size, names, tablewc. Rename tablewc_3level to
1099 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1101 * locale/programs/ld-collate.c (obstack_int32_grow,
1102 obstack_int32_grow_fast): New inline functions.
1103 (output_weightwc, collate_output): Use them where possible.
1105 2000-09-01 Ulrich Drepper <drepper@redhat.com>
1107 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
1108 patch (_mode -> _flags).
1110 * libio/Makefile (headers): Add stdio_ext.h.
1111 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
1112 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
1113 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
1114 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
1115 __fsetlocking, and _flushlbf.
1116 * libio/__fbufsize.c: New file.
1117 * libio/__flbf.c: New file.
1118 * libio/__fpending.c: New file.
1119 * libio/__fpurge.c: New file.
1120 * libio/__freadable.c: New file.
1121 * libio/__freading.c: New file.
1122 * libio/__fsetlocking.c: New file.
1123 * libio/__fwritable.c: New file.
1124 * libio/__fwriting.c: New file.
1125 * libio/stdio_ext.h: New file.
1126 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
1127 * libio/libio.h (_IO_USER_LOCK): Define.
1128 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
1129 test _IO_USER_LOCK flag first.
1131 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
1134 2000-09-01 Andreas Jaeger <aj@suse.de>
1136 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
1138 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
1140 2000-08-31 Ulrich Drepper <drepper@redhat.com>
1142 * math/Makefile (tests): Add tst-defintions.
1143 * math/tst-definitions.c: New file.
1145 * stdlib/Makefile (headers): Add bits/wchar.h.
1146 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
1147 * sysdeps/generic/bits/wchar.h: New file.
1148 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
1149 file to define WCHAR_MIN and WCHAR_MAX.
1150 Change UINT*8_MAX and UIN*16_MAX value to type int.
1151 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
1152 file to define WCHAR_MIN and WCHAR_MAX.
1153 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
1155 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
1156 * sysdeps/generic/bits/mathdef.h: Likewise.
1157 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
1158 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
1159 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
1160 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
1161 * locale/locale.h (struct lconv): Add __ prefix to the new members
1163 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
1164 imaxdiv optimizations.
1165 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
1166 * sysdeps/wordsize-64/ldiv.c: Likewise.
1167 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
1169 * sysdeps/generic/bits/fenv.h: Likewise.
1170 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
1171 * sysdeps/ia64/bits/fenv.h: Likewise.
1172 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
1173 * sysdeps/mips/bits/fenv.h: Likewise.
1174 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
1175 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
1176 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1178 * inet/rcmd.c: Use *stat64 instead of *stat internally.
1179 * inet/ruserpass.c: Likewise.
1180 * catgets/open_catalog.c: Likewise.
1181 * intl/loadmsgcat.c: Likewise.
1182 * io/getdirname.c: Likewise.
1183 * locale/loadlocale.c: Likewise.
1184 * misc/getusershell.c: Likewise.
1185 * stdlib/canonicalize.c: Likewise.
1186 * sysdeps/posix/euidaccess.c: Likewise.
1187 * sysdeps/posix/isfdtype.c: Likewise.
1188 * sysdeps/posix/posix_fallocate.c: Likewise.
1189 * sysdeps/posix/tempname.c: Likewise.
1190 * sysdeps/unix/grantpt.c: Likewise.
1191 * sysdeps/unix/opendir.c: Likewise.
1192 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
1193 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
1194 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1195 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
1196 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1197 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1198 * sysvipc/ftok.c: Likewise.
1199 * time/getdate.c: Likewise.
1201 * time/getdate.c: Add extra access test.
1203 2000-08-31 Ulrich Drepper <drepper@redhat.com>
1205 * version.h (VERSION): Bump to 2.1.93.
1207 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
1208 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
1210 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
1211 Make this a new rule depending on tst-gettext.out and run mtrace.
1212 * intl/tst-gettext.c: Call mtrace.
1213 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
1215 * elf/dl-reloc.c: Add a few more __builtin_expect.
1217 * configure.in: Remove --with-gettext option.
1219 * intl/dcigettext.c (free_mem): Correct freeing of
1220 _nl_domain_bindings list.
1222 * sysdeps/generic/setenv.c (free_mem): New function. Free all
1225 * intl/locale.alias: Add aliases for bokmal and nynorsk.
1227 * locale/iso-639.def: Fix 639-1 code for Bokmal.
1229 * stdio-common/itoa-digits.c: Move upper digits to...
1230 * stdio-common/itoa-udigits.c: ...here. New file.
1231 * stdio-common/Makefile (routines): Add itoa-udigits.
1233 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
1234 relocate ld.so don't add supprt for relocations which should not
1237 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
1238 __secure_getenv. Instead test __libc_enable_secure once.
1240 * io/pwd.c (main): Provide a good example, use *_unlocked function.
1242 2000-08-30 Ulrich Drepper <drepper@redhat.com>
1244 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
1245 whether the new record should be freed if it's a duplicate.
1246 (add_module): Adjust insert_module call.
1247 (__gconv_read_conf): Likewise.
1248 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
1250 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
1252 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
1254 * include/link.h (struct r_search_path_struct): New.
1255 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
1256 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
1258 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
1259 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
1260 added at startup time.
1261 * elf/dl-load.c: Fix memory handling. r_search_path_struct
1262 contains element to remember fact that we can free memory.
1263 (all_dirs): Renamed to _dl_all_dirs. Made global.
1264 (_dl_init_all_dirs): New variable.
1265 (fillin_rpath): Save one malloc call.
1266 (decompose_rpath): Change interface. New first parameter points to
1267 r_search_path_struct.
1268 (_dl_init_paths): Adjust for changes. Mark all memory as not
1269 deletable. Set _dl_init_all_paths value.
1270 (open_path): Remove may_free_dirs parameter. r_search_path_elem ***
1271 parameter replaced with r_search_path_struct *. Information about
1272 freeing now contained in r_search_path_struct.
1273 (_dl_map_object): Adjust for above changes.
1275 * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
1277 * elf/dl-load.c (fillin_rpath): Only check for trusted directories
1278 when adding new entries.
1280 * elf/dl-load.c (fillin_rpath): Make local copy of where string
1281 since the object being loaded can be unloaded.
1283 * iconvdata/Makefile (tests): Add tst-loading.
1284 * iconvdata/tst-loading.c: New file.
1286 2000-08-29 Bruno Haible <haible@clisp.cons.org>
1288 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
1289 When comparing a char with an int, always cast the char to
1290 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
1291 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
1293 2000-08-30 Ulrich Drepper <drepper@redhat.com>
1295 * time/strftime.c (my_strftime): Add compatibility code for use
1296 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
1298 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
1299 return 0 for success but always < 0 on failure.
1301 * nss/getXXbyYY_r.c: Define result to *result before including
1304 2000-08-30 Andreas Jaeger <aj@suse.de>
1306 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
1308 2000-08-29 Ulrich Drepper <drepper@redhat.com>
1310 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
1312 * iconvdata/TESTS: Add BIG5HKSCS entry.
1313 * iconvdata/testdata/BIG5HKSCS: New file.
1314 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
1316 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
1319 * libio/iogetline.c: Set mode before the loop in case n==0.
1320 * libio/iogetwline.c: Likewise.
1322 2000-08-29 H.J. Lu <hjl@gnu.org>
1324 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
1326 (_IO_new_file_overflow): Likewise.
1327 * libio/genops.c (_IO_flush_all): Likewise.
1328 * libio/ioftell.c (_IO_ftell): Likewise.
1330 2000-08-29 Akira Higuchi <a@kondara.org>
1332 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
1333 and __end_fct fields of struct __gconv_step.
1334 * iconv/Makefile (tests): Add iconv-bug2.
1335 * iconv/iconv-bug2.c: New file.
1337 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
1338 instead of 'inptr - inend' to ksc5601_to_ucs4.
1340 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
1342 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
1343 character or shift sequence is found at the end of the input
1344 string, return__GCONV_INCOMPLETE_INPUT instead of
1345 __GCONV_EMPTY_INPUT.
1346 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
1347 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
1349 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
1350 __GCONV_ILLEGAL_INPUT for 8bit characters.
1352 2000-08-29 Ulrich Drepper <drepper@redhat.com>
1354 * signal/signal.h (sigpause): Move __THROW before __asm__.
1356 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
1357 names don't match don't return.
1358 Patch by Olaf Kirch <okir@flash.lst.de>.
1360 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1362 * time/strftime.c (my_strftime): Handle # flag for %b as well.
1364 2000-08-27 H.J. Lu <hjl@gnu.org>
1366 * posix/Makefile (otherlibs): Add for building with static-nss
1369 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1371 * libio/stdio.h: Add fmemopen prototype.
1373 2000-08-25 Andreas Jaeger <aj@suse.de>
1375 * libio/Makefile (routines): Add fmemopen.
1376 (tests): Add test-fmemopen.
1377 * libio/Versions: Add fmemopen with version GLIBC_2.2.
1378 * libio/test-fmemopen.c: New file.
1379 * libio/fmemopen.c: New file.
1380 Patches by Hanno Mueller <kontakt@hanno.de>.
1382 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1384 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
1385 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
1387 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
1388 to avoid crashing statically linked applications.
1390 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1392 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
1393 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
1395 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
1396 If the result is fits in the buffer, copy only as many bytes as needed.
1398 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
1399 buffer after copying numbuf into it.
1400 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
1402 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1404 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
1405 the result. When string_len < len, don't clear the rest of the buffer.
1407 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1409 Support for new LC_COLLATE format.
1410 * locale/coll-lookup.h: New file.
1411 * locale/weightwc.h (findidx): When size == 0, call
1412 collidx_table_lookup.
1413 * wcsmbs/wcscoll.c: Include coll-lookup.h.
1414 * wcsmbs/wcsxfrm.c: Likewise.
1415 * posix/fnmatch.c: Likewise.
1416 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
1417 collseq_table_lookup.
1418 * locale/programs/3level.h: New file.
1419 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
1420 by including "3level.h".
1421 * locale/programs/ld-collate.c (wchead_table, collidx_table,
1422 collseq_table): New types, defined by including "3level.h".
1423 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
1424 (encoding_mask, encoding_byte): Remove.
1425 (utf8_encode): Use simple shifts instead.
1426 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
1427 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
1428 (collate_output): New local variable tablewc_3level. When
1429 !oldstyle_tables, set table_size to 0 and names to NULL and fill
1430 tablewc_3level instead of tablewc. Change format of TABLEWC and
1431 COLLSEQWC entries written to the file.
1432 * locale/C-collate.c (collseqwc): Change format.
1433 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
1435 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
1437 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1439 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
1440 (locale_ctype_t): New charnames_idx field.
1441 (ctype_startup): Initialize charnames_idx field.
1442 (find_idx): Speed up dramatically by using charnames_idx inverse table.
1444 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1446 * locale/C-ctype.c: Switch to new locale format.
1447 (_nl_C_LC_CTYPE_names): Remove array.
1448 (STRUCT_CTYPE_CLASS): New macro.
1449 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
1450 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
1451 New three-level tables.
1452 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
1453 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
1454 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
1455 12 class tables and 2 map tables at the end.
1456 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
1457 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
1458 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
1460 (b): Remove trailing semicolon.
1461 (__ctype_names, __ctype_width): Don't initialize.
1462 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
1464 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1466 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
1467 is guaranteed to be allocated with the same malloc() and may be
1469 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
1470 been set to empty by an earlier open_path call, don't pass it again.
1472 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1474 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
1475 we are not optimizing.
1477 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
1480 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
1482 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1484 2000-08-28 Andreas Jaeger <aj@suse.de>
1486 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
1488 2000-08-28 Mark Kettenis <kettenis@gnu.org>
1490 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
1491 getpeername. Use ISO C style function definition.
1492 (getpeername): Provide weak alias.
1493 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
1494 setrlimit. Use ISO C style function definition.
1495 (setrlimit): Provide weak alias.
1497 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
1499 * shlib-versions: Add a rule for S/390 to the libm version list.
1500 * sysdeps/s390/Versions: New file.
1501 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
1502 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
1503 * sysdeps/unix/sysv/linux/s390/Versions: New file.
1504 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
1505 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
1506 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
1507 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
1508 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
1509 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
1510 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
1511 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
1512 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
1513 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
1514 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
1515 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
1516 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
1517 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
1518 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
1520 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1522 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
1523 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
1525 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
1526 * elf/dl-close.c (_dl_close): Print debug message if object is not
1528 * elf/dl-open.c (dl_open_worked): Print message about opencount before
1529 returning to caller.
1531 * po/zh.po: Renamed to...
1532 * po/zh_TW.po: ...this.
1534 2000-08-27 Geoff Keating <geoffk@cygnus.com>
1536 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
1538 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
1539 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
1540 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
1541 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
1543 2000-08-27 Ulrich Drepper <drepper@redhat.com>
1545 * locale/programs/ld-collate.c (insert_weights): Also update
1546 backpointer of next element.
1547 (collate_read): Allow definition of new collation symbols in stage 2.
1548 Symbol after reorder-after can be UCS4 value.
1549 Allow reordering of collation symbols and elements.
1550 Do not only move reorder entry in new position. Instead call
1551 insert_weight to do this and read the weights.
1553 * locale/findlocale.c (free_mem): Add cast to avoid warning.
1555 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
1556 to determine invalid locale name.
1557 * locale/findlocale.c (_nl_find_locale): Likewise.
1559 * posix/annexc.c: Correct test for unavailable feature.
1561 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
1564 2000-08-26 Ulrich Drepper <drepper@redhat.com>
1566 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
1569 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
1570 (sysdep_routines): Add oldgetrlimit64.
1572 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
1573 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
1574 (tests): Add unload, reldep, reldep2, and reldep3.
1575 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
1577 Add rules to build and run unload, reldep, reldep2, and reldep3.
1578 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
1579 Don't create relocation dependency if it is nonzero.
1580 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
1581 can never happen here.
1582 (_dl_lookup_versioned_symbol): Add new parameter explicit.
1583 Don't create relocation dependency if it is nonzero.
1584 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
1585 stuff. This can never happen here.
1586 * sysdeps/generic/ldsodefs.h: Change prototypes.
1587 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
1588 _dl_lookup_up and _dl_lookup_versioned_symbol.
1590 * elf/dl-runtime.c (fixup): Likewise.
1591 (profile_fixup): Likewise.
1592 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
1594 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
1595 * elf/rtld.c (dl_main): Likewise.
1596 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
1597 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
1598 and pass down the caller map.
1599 (_dl_vsym): Likewise.
1600 * elf/reldep.c: New file.
1601 * elf/reldep2.c: New file.
1602 * elf/reldep3.c: New file.
1603 * elf/reldepmod1.c: New file.
1604 * elf/reldepmod2.c: New file.
1605 * elf/reldepmod3.c: New file.
1606 * elf/reldepmod4.c: New file.
1607 * elf/unload.c: New file.
1608 * elf/unloadmod.c: New file.
1610 * elf/do-lookup.h: Remove unused undef_name parameter.
1611 * elf/dl-lookup.c: Adjust callers.
1613 2000-08-25 Ulrich Drepper <drepper@redhat.com>
1615 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
1616 irreversible in recursive call of conversion function to signal that
1617 no error handling is wanted.
1618 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
1619 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
1620 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
1621 recursive error handling call, otherwise to &lirreversible. Use it
1622 for calls to conversion functions.
1623 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
1625 (ucs4_internal_loop_unaligned): Likewise.
1626 (ucs4le_internal_loop): Likewise.
1627 (ucs4le_internal_loop_unaligned): Likewise.
1629 2000-08-25 Greg McGary <greg@mcgary.org>
1631 * sysdeps/i386/memchr.S: Check high bound against chars
1633 * sysdeps/i386/memcmp.S: Likewise.
1634 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
1635 account for pointers that lie one beyond end-of-buffer.
1637 2000-08-25 Ulrich Drepper <drepper@redhat.com>
1639 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
1640 * elf/nodelete.c (fini_ran): New global variable.
1641 (do_test): Before every dlclose call clear fini_ran and test
1642 afterwards that it is not set by the destructors.
1643 * elf/nodelmod1.c: Add destructor which sets fini_ran.
1644 * elf/nodelmod2.c: Likewise.
1645 * elf/nodelmod4.c: Likewise.
1647 2000-08-21 Jes Sorensen <jes@linuxcare.com>
1649 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
1650 getrlimit to the list.
1652 2000-08-18 Jes Sorensen <jes@linuxcare.com>
1654 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
1655 long double format so use ldbl-96 instead of ldbl-128.
1657 2000-08-25 Ulrich Drepper <drepper@redhat.com>
1659 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
1660 even if bits 10 a 11 are non-zero.
1661 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
1663 * Makeconfig: Ensures the soversions.mk part of Makefile gets
1664 included before building gnu/lib-names.h
1665 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1667 * elf/dl-close.c (_dl_close): Don't run destructors of objects
1668 marked DF_1_NODELETE.
1670 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
1671 since we call sigaction in the child.
1673 2000-08-25 Andreas Jaeger <aj@suse.de>
1675 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
1678 2000-08-25 Andreas Jaeger <aj@suse.de>
1680 * manual/arith.texi (Control Functions): Clarify possible
1681 arguments. Closes PR libc/1856.
1683 2000-08-24 H.J. Lu <hjl@gnu.org>
1685 * stdio-common/Makefile (tests): Don't do it for cross compiling.
1686 * malloc/Makefile (tests): Likewise.
1688 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1690 * iconvdata/unicode.c (gconv_init): Correct test for direction.
1692 2000-08-24 Andreas Jaeger <aj@suse.de>
1694 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
1695 only if LIBGD is available.
1697 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1699 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
1700 problems with now restrict parameter types.
1701 (convaddr4to6): Likewise.
1703 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
1705 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
1706 * sysdeps/s390/fpu/feenablxcpt.c: New file.
1707 * sysdeps/s390/fpu/fegetexcept.c: New file.
1708 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
1711 2000-08-24 Andreas Jaeger <aj@suse.de>
1713 * malloc/Makefile (extra-objs): Add memusagestat.o.
1714 (generated): Added memusage and memusagestat for make clean.
1716 * libio/tst_putwc.c (do_test): Delete temporary file.
1717 Move inclusion of test-skeleton to front to have prototype for
1720 * posix/Makefile (generated): Add wordexp-tst.out.
1722 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1724 * resolv/res_hconf.c (free_mem): Remove not needed if.
1726 * time/tzset.c (free_mem): New function.
1727 * string/strsignal.c (free_mem): New function.
1728 * inet/inet_ntoa.c (free_mem): New function.
1729 * sunrpc/clnt_perr.c (free_mem): New function.
1731 2000-08-24 Andreas Jaeger <aj@suse.de>
1733 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
1734 * sysdeps/unix/sysv/syscalls.list: Likewise.
1736 * posix/unistd.h: Move internal prototypes from here ...
1737 * include/unistd.h: ... to here.
1739 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
1741 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1743 * grp/initgroups.c (initgroups): Deallocate groups array.
1744 Reported by jani.raiha@sonera.com [PR libc/1868].
1746 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
1747 * sysdeps/alpha/Dist: Likewise.
1749 2000-08-23 Ulrich Drepper <drepper@redhat.com>
1751 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
1752 destructor). Reported by Solar Designer <solar@false.com>.
1754 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
1755 avoid adding double slashes.
1757 2000-08-23 Jakub Jelinek <jakub@redhat.com>
1759 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
1760 out of the __REDIRECT macro.
1762 2000-08-23 Ulrich Drepper <drepper@redhat.com>
1764 * stdio-common/vfscanf.c: Add %F format support.
1766 * locale/programs/ld-ctype.c (ctype_output): Make sure
1767 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
1768 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
1769 (ctype_read): Enable returning of wide character strings for reading
1770 transliteration information.
1772 2000-08-23 Andreas Jaeger <aj@suse.de>
1774 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
1775 Use static __inline instead of _EXTERN_INLINE.
1777 * misc/sys/select.h: Move prototypes of __select from here ...
1778 * include/sys/select.h: ... to here.
1780 * socket/sys/socket.h: Move prototypes of __send and __connect
1782 * include/sys/socket.h: ... to here.
1784 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
1787 2000-08-23 Jakub Jelinek <jakub@redhat.com>
1789 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
1790 __setrlimit as strong name. Takes only 2 arguments.
1792 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
1793 takes only 2 arguments.
1795 2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
1797 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
1799 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
1801 2000-08-23 Ulrich Drepper <drepper@redhat.com>
1803 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
1804 default_missing character being specified, pick the first
1807 2000-08-23 Andreas Jaeger <aj@suse.de>
1809 * include/wchar.h: Add some pure attributes.
1811 * time/time.h: Add const attribute for dysize.
1813 * include/stdlib.h: Add malloc attribute to __posix memalign.
1815 * stdlib/stdlib.h: Add some pure and malloc attributes.
1816 * wcsmbs/wchar.h: Likewise.
1818 * dirent/dirent.h: Add some pure attributes.
1819 * include/dirent.h: Likewise.
1821 2000-08-23 Jakub Jelinek <jakub@redhat.com>
1823 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
1826 2000-08-22 Ulrich Drepper <drepper@redhat.com>
1828 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
1829 missing buffer size checks.
1831 2000-08-23 Andreas Jaeger <aj@suse.de>
1833 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
1835 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1837 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
1838 otherwise __LINUX_KERNEL_VERSION might not be defined.
1839 (MIN): Define if not already defined.
1841 2000-08-22 Ulrich Drepper <drepper@redhat.com>
1843 * stdio-common/vfprintf.c: Handle %F format.
1844 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
1845 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1847 * stdio-common/tstdiomisc.c: Add test for %F printf format.
1849 * po/zh.po: New file.
1851 * iconvdata/sjis.c: In conversion from UCS4, correct test for
1852 enough room in target buffer.
1853 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
1854 * iconvdata/bug-iconv1.c: New file.
1855 * iconvdata/Makefile (tests): Add bug-iconv1.
1857 * locale/iso-4217.def: Update entry for Nicaragua.
1859 2000-08-22 Mark Kettenis <kettenis@gnu.org>
1861 * hurd/hurdsig.c: Rearrange headers a bit.
1862 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
1863 when cthreads is being used.
1865 2000-08-22 Ulrich Drepper <drepper@redhat.com>
1867 * elf/Makefile (distribute): Add dl-osinfo.h.
1868 * sysdeps/generic/dl-osinfo.h: New file.
1869 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
1870 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
1872 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
1873 only for !SHARED case. Get the code from dl-osinfo.h.
1875 * stdlib/random_r.c: Cleanups.
1876 * stdlib/tst-random.c: New file.
1877 * stdlib/Makefile (tests): Add tst-random.
1878 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
1880 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
1882 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
1883 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
1884 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
1885 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
1887 2000-08-22 Jakub Jelinek <jakub@redhat.com>
1889 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
1890 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
1891 (__syscall__sysctl): Add.
1893 2000-08-21 Andreas Jaeger <aj@suse.de>
1895 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
1897 * stdlib/tst-strtoll.c: Likewise.
1899 2000-08-21 Ulrich Drepper <drepper@redhat.com>
1901 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
1903 (__initstate_r): Set errno on error.
1904 (__random_r): Likewise.
1905 (__setstate_r): Correct offset when computing
1906 new rptr and fptr. Test for arg_state being NULL.
1907 Reported by Michael Fischer <fischer@cs.yale.edu>.
1909 * posix/regex.h: Add macro definitions to allow compiling outside
1912 * sysdeps/i370/Implies: Removed.
1913 * sysdeps/mvs/Implies: Removed.
1915 * catgets/catgets.c (catopen): Filter out env_var values with / if
1918 * locale/findlocale.c (_nl_find_locale): Move test for unusable
1919 locale name after all getenvs.
1921 * configure.in: Allow sed versions like 3.02.8.
1922 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
1924 2000-08-21 Marko Myllynen <myllynen@lut.fi>
1926 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
1928 2000-08-21 Ulrich Drepper <drepper@redhat.com>
1930 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
1931 of gethostbyname2_r call.
1933 * intl/locale.alias: Add aliases for Korean.
1935 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
1937 * sysdeps/s390/__longjmp.c: Remove unused variable result.
1938 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
1939 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
1940 * sysdeps/s390/fpu/fegetenv.c: New file.
1941 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
1942 * sysdeps/s390/fpu/feholdexcpt.c: New file.
1943 * sysdeps/s390/fpu/fenv_libc.h: New file.
1944 * sysdeps/s390/fpu/fesetenv.c: New file.
1945 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
1946 * sysdeps/s390/fpu/feupdateenv.c: New file.
1947 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
1948 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
1949 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
1950 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
1951 * sysdeps/s390/fpu/ftestexcept.c: New file.
1952 * sysdeps/s390/fpu/libm-test-ulps: New file.
1953 * sysdeps/s390/gmp-mparam.h: Add end of comment.
1954 * sysdeps/s390/initfini.c: New file.
1955 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
1956 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
1957 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
1958 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
1959 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
1960 sys/procfs.h as proposed by Mark Kettenis.
1961 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
1963 2000-08-21 Andreas Jaeger <aj@suse.de>
1965 * include/poll.h: Include include/sys/poll.h to get __poll
1968 * io/sys/poll.h: Move __poll declaration from here...
1969 * include/sys/poll.h: ...to here.
1971 * include/sys/socket.h (__getpeername): Add declaration.
1973 * include/wchar.h (__vswprintf): Add declaration.
1975 * include/stdio.h (__flockfile): Add declaration.
1976 (__funlockfile): Likewise.
1978 2000-08-20 Ulrich Drepper <drepper@redhat.com>
1980 * misc/sys/cdefs.h: Define __restrict_arr.
1981 * include/sys/time.h: Add restrict where required by AGd4.
1982 * inet/arpa/inet.h: Likewise.
1983 * io/sys/stat.h: Likewise.
1984 * io/sys/statvfs.h: Likewise.
1985 * misc/search.h: Likewise.
1986 * misc/sys/select.h: Likewise.
1987 * posix/glob.h: Likewise.
1988 * posix/regex.h: Likewise.
1989 * posix/spawn.h: Likewise.
1990 * posix/unistd.h: Likewise.
1991 * rt/aio.h: Likewise.
1992 * signal/signal.h: Likewise.
1993 * socket/sys/socket.h: Likewise.
1994 * stdlib/ucontext.h: Likewise.
1995 * streams/stropts.h: Likewise.
1996 * string/string.h: Likewise.
1997 * time/time.h: Likewise.
1998 * time/sys/time.h: Likewise.
2000 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
2001 and posix_spawnattr_setscheparam.
2003 * libio/stdio.h: Make cuserid prototype again available for all
2006 * argp/argp-help.c: Unify use of function aliases to make more compact
2008 * include/libintl.h: Likewise.
2009 * inet/rcmd.c: Likewise.
2010 * intl/dcigettext.c: Likewise.
2011 * libio/iofputws.c: Likewise.
2012 * libio/iofputws_u.c: Likewise.
2013 * libio/iogetwline.c: Likewise.
2014 * libio/swprintf.c: Likewise.
2015 * malloc/malloc.c: Likewise.
2016 * nss/digits_dots.c: Likewise.
2017 * posix/fnmatch.c: Likewise.
2018 * posix/spawn_faction_addclose.c: Likewise.
2019 * posix/spawn_faction_adddup2.c: Likewise.
2020 * posix/spawn_faction_addopen.c: Likewise.
2021 * posix/spawni.c: Likewise.
2022 * posix/wordexp.c: Likewise.
2023 * posix/spawni.c: Likewise.
2024 * resolv/res_hconf.c: Likewise.
2025 * resolv/res_init.c: Likewise.
2026 * shadow/lckpwdf.c: Likewise.
2027 * signal/sighold.c: Likewise.
2028 * signal/sigrelse.c: Likewise.
2029 * stdio-common/printf-parse.h: Likewise.
2030 * stdio-common/printf-prs.c: Likewise.
2031 * stdio-common/printf_fp.c: Likewise.
2032 * stdio-common/vfprintf.c: Likewise.
2033 * stdio-common/vfscanf.c: Likewise.
2034 * stdlib/rpmatch.c: Likewise.
2035 * sunrpc/create_xid.c: Likewise.
2036 * sunrpc/key_call.c: Likewise.
2037 * sysdeps/generic/setrlimit64.c: Likewise.
2038 * sysdeps/generic/utmp_file.c: Likewise.
2039 * sysdeps/generic/vlimit.c: Likewise.
2040 * sysdeps/posix/posix_fallocate.c: Likewise.
2041 * sysdeps/posix/posix_fallocate64.c: Likewise.
2042 * sysdeps/posix/sigpause.c: Likewise.
2043 * sysdeps/posix/sigset.c: Likewise.
2044 * sysdeps/unix/grantpt.c: Likewise.
2045 * sysdeps/unix/bsd/ualarm.c: Likewise.
2046 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
2047 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
2048 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2049 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
2050 * time/strftime.c: Likewise.
2051 * wcsmbs/wcscoll.c: Likewise.
2052 * wcsmbs/wcsxfrm.c: Likewise.
2054 * time/tst-getdate.c (main): Make error messages more human readable.
2056 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
2057 postinc/predec instruction.
2058 (_FPU_SETCW): Likewise.
2059 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2061 2000-08-20 Andreas Jaeger <aj@suse.de>
2063 * time/tst-getdate.c (main): Increase error in case of wrong
2065 Fix typo in test case.
2067 2000-08-20 Ulrich Drepper <drepper@redhat.com>
2069 * ctype/ctype.h (isblank): Make available if ISO C99.
2070 * wctype/wctype.h (iswblank): Make available if ISO C99.
2071 * math/math.h (signgam): Don't make available if ISO C99.
2072 * math/tgmath.h (tgamma): Renamed from gamma.
2073 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
2075 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
2077 * intl/plural.y (new_exp): Take number of optional parameters in
2078 second parameter. Test for correct number of parameters and free
2079 correctly in case of failure. Adjust all callers.
2080 (yylex): Allow ';' as terminator character.
2082 2000-08-19 Ulrich Drepper <drepper@redhat.com>
2084 * locale/lc-time.c (free_mem): New function. Free alt_digits and
2087 * locale/findlocale.c (free_mem): Also free here->filename.
2089 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
2091 * math/test-fenv.c (feenv_tests): Clear all exceptions before
2093 (feexcp_nomask_test): Correct printf args.
2094 (feexcp_mask_test): Likewise.
2096 2000-08-19 Andreas Jaeger <aj@suse.de>
2098 * inet/tst-gethnm.c: Include string.h to provide prototype for
2101 * malloc/mtrace.pl (usage): Inform about --help.
2103 2000-08-19 Wolfram Gloger <wg@malloc.de>
2105 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
2108 2000-08-19 Andreas Jaeger <aj@suse.de>
2110 * shlib-versions: Remove libnss_db, libdb and libdb1.
2112 2000-08-19 Jakub Jelinek <jakub@redhat.com>
2114 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
2115 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
2116 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
2117 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
2118 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
2119 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
2120 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
2121 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
2122 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
2123 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
2125 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
2126 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
2128 2000-08-18 Jakub Jelinek <jakub@redhat.com>
2130 * include/glob.h (__glob64): Add prototype.
2131 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
2132 define glob and glob_in_dir.
2133 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
2134 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
2135 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
2136 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
2137 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
2138 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
2139 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
2140 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
2142 2000-08-18 Jakub Jelinek <jakub@redhat.com>
2144 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
2146 2000-08-17 Andreas Jaeger <aj@suse.de>
2148 * math/test-fenv.c (fe_single_test): New function.
2149 (fe_env_tests): Use fe_single_test.
2150 (feenable_test): New tests for feenable/fedisable and
2152 (feexcp_mask_test): New function.
2153 (feexcp_nomask_test): New function.
2155 2000-08-19 Richard Henderson <rth@cygnus.com>
2157 * sysdeps/alpha/fpu/fenv_libc.h: New file.
2158 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
2159 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
2160 * sysdeps/alpha/fpu/fesetround.c: Likewise.
2161 * sysdeps/alpha/fpu/fegetround.c: Likewise.
2162 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
2163 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
2164 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
2165 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
2166 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
2167 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
2168 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
2169 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
2170 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
2171 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
2172 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
2173 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
2175 2000-08-19 Andreas Jaeger <aj@suse.de>
2177 * elf/constload1.c: Include <stdio.h> for puts prototype.
2179 2000-08-19 Ulrich Drepper <drepper@redhat.com>
2181 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
2182 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
2183 a dynamically loaded object remove old l_initfini list.
2184 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
2185 remove some dynamically allocated memory blocks in the dynamic
2186 loading data structures.
2187 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
2188 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
2189 Instead call _dl_check_map_versions only for the dependencies.
2190 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
2191 information of initial objects as not free-able.
2192 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
2195 * elf/filter.c: Call mtrace.
2196 * elf/restest1.c: Likewise. Close the objects.
2197 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
2200 * elf/constload1.c: Add comment explaining not freed memory.
2202 2000-08-18 Andreas Jaeger <aj@suse.de>
2204 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
2205 alignment for structs stat and stat64.
2206 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2208 2000-08-17 Ulrich Drepper <drepper@redhat.com>
2210 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
2211 handling. Patch by Richard Henderson <rth@twiddle.net>.
2213 * nss/Versions: Remove libnss_db information.
2215 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2217 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
2218 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
2219 * sysdeps/sparc/fpu/fegetexcept.c: New file.
2220 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
2222 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
2225 2000-08-17 Ulrich Drepper <drepper@redhat.com>
2227 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
2228 (_FPU_SETCW): Likewise.
2229 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2231 * stdio-common/printf_fp.c: Fix chars_needed computation.
2232 Patch by Greg McGary <greg@mcgary.org>.
2234 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2236 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
2237 _dl_loaded are NULL.
2239 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2241 * manual/arith.texi (feholdexcept): Returns 0 on success.
2243 2000-08-17 Andreas Jaeger <aj@suse.de>
2245 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
2247 Reported by Andi Kleen <ak@suse.de>.
2249 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2251 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
2252 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
2253 * sysdeps/alpha/fpu/fegetexcept.c: New file.
2255 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2257 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
2258 of buf->st_ino and kbuf->st_ino, not __st_ino.
2259 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
2260 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
2261 directive so that only linux/getdents.c is used, not some
2262 architecture specific one.
2264 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2266 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
2267 enabled, not disabled exceptions.
2268 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2269 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
2271 2000-08-17 Greg McGary <greg@mcgary.org>
2273 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
2274 from test program name when constructing suffix for $(LDLIBS-*).
2275 (bounded-thread-library): New variable.
2277 [build-shared, build-static] (libcrypt-dep): Remove variable.
2278 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
2279 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2280 * linuxthreads/Makefile (libpthread, librt): Remove variables.
2281 (librt-tests): Add variable. (tests): Use it.
2282 [build-shared, build-static]
2283 ($(addprefix $(objpfx),$(tests)),
2284 $(addprefix $(objpfx),$(librt-tests))):
2285 Consolidate individual dependencies.
2287 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
2289 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
2290 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2292 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
2294 [build-shared, build-static]
2295 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
2296 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2298 2000-08-17 Greg McGary <greg@mcgary.org>
2300 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
2301 * sysdeps/unix/make-syscalls.sh: Likewise.
2302 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2303 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2304 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2305 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
2306 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
2308 2000-08-17 Greg McGary <greg@mcgary.org>
2310 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
2311 Wrap extern symbols in BP_SYM ().
2312 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2313 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2314 * sysdeps/i386/fpu/s_remquo.S: Likewise.
2315 * sysdeps/i386/fpu/s_remquof.S: Likewise.
2316 * sysdeps/i386/fpu/s_remquol.S: Likewise.
2317 * sysdeps/i386/fpu/s_sincos.S: Likewise.
2318 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2319 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2320 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2321 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2323 2000-08-16 Andreas Schwab <schwab@suse.de>
2325 * sysdeps/m68k/fpu/fegetexcept.c: New file.
2326 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
2327 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
2329 2000-08-15 Ulrich Drepper <drepper@redhat.com>
2331 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
2332 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
2333 * elf/dl-support.c: Define _nl_nloaded.
2334 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
2335 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
2336 object to global list.
2337 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
2338 from _dl_loaded list.
2339 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2340 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
2343 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
2345 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
2347 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
2349 2000-08-16 Andreas Jaeger <aj@suse.de>
2351 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
2353 2000-08-15 Marko Myllynen <myllynen@lut.fi>
2355 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
2357 2000-08-15 Ulrich Drepper <drepper@redhat.com>
2359 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
2360 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
2361 (sysdep_routines): Add oldgetrlimit64.
2362 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
2363 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2365 * include/link.h: Undo last patches. Hurd now has stat64.
2366 * elf/Makefile: Likewise.
2367 * elf/dl-load.c: Likewise.
2368 * elf/dl-misc.c: Likewise.
2369 * elf/dl-profile.c: Likewise.
2370 * sysdeps/generic/sysd-link.h: Removed.
2371 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
2373 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
2374 thread event callback function.
2375 (__aio_notify_only): Use function above.
2376 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
2378 2000-08-16 Mark Kettenis <kettenis@gnu.org>
2380 * sysdeps/mach/hurd/lseek64.c: New file.
2382 2000-08-15 Mark Kettenis <kettenis@gnu.org>
2384 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
2386 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
2388 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
2390 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
2392 2000-08-15 Mark Kettenis <kettenis@gnu.org>
2394 * sysdeps/mach/hurd/xstatconv.c: New file.
2395 * sysdeps/mach/hurd/fxstat64.c: New file.
2396 * sysdeps/mach/hurd/lxstat64.c: New file.
2397 * sysdeps/mach/hurd/xstat64.c: New file.
2398 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
2400 2000-08-15 Mark Kettenis <kettenis@gnu.org>
2402 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
2403 Initialize, needed for change in common symbol handling in newer
2404 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
2406 2000-08-15 Ulrich Drepper <drepper@redhat.com>
2408 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
2409 * elf/constload2.c: Add destructor to unload constload3.
2411 * include/link.h: Include sysd-link.h.
2412 * sysdeps/generic/sysd-link.h: New file.
2413 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
2414 * elf/Makefile (distribute): Add sysd-link.h.
2415 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
2416 types and functions directly.
2417 * elf/dl-misc.c: Likewise.
2418 * elf/dl-profile.c: Likewise.
2420 * elf/loadfail.c (main): Close all successfully loaded objects.
2422 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
2424 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
2425 there is already one.
2427 * elf/dl-close.c: Pretty print.
2429 2000-08-14 Ulrich Drepper <drepper@redhat.com>
2431 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
2432 global (with file scope). Add __libc_subfreeres function to free the
2434 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
2435 in ttyname function.
2437 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
2439 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
2441 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
2442 mapping them to /x5c and /x7e respectively.
2444 * locale/programs/ld-ctype.c: Add support for more definitions after
2447 2000-08-14 Jakub Jelinek <jakub@redhat.com>
2449 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
2450 * sysdeps/unix/sysv/linux/kernel-features.h
2451 (__ASSUME_GETDENTS64_SYSCALL): Define.
2452 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
2453 syscall if available to get d_type fields.
2454 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
2455 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
2456 __lxstat64): Export at GLIBC_2.2.
2457 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
2459 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
2460 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
2461 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
2462 getdirentries64, versionsort64): Remove.
2463 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
2464 getdirentries64, versionsort64): Remove.
2466 2000-08-13 Ulrich Drepper <drepper@redhat.com>
2468 * posix/Makefile: Remove rules to generate glob package.
2470 * posix/Makefile (tests): Add tst-regexloc.
2471 (tst-regexloc-ENV): Add LOCPATH.
2472 * posix/tst-regexloc.c: New file.
2474 2000-08-12 Andreas Jaeger <aj@suse.de>
2476 * include/features.h (__STDC_ISO_10646__): Define.
2477 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
2479 2000-08-13 Ulrich Drepper <drepper@redhat.com>
2481 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
2483 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
2484 for revision 6 and up).
2486 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
2488 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
2489 to get definitions of just these types.
2491 * signal/signal.h: Define thread signal handling functions also for
2494 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
2496 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2497 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
2498 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2499 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2501 * sysvipc/sys/shm.h: Define pid_t for XPG.
2503 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
2504 they are not anymore required here.
2506 * wcsmbs/wchar.h: Make the various wide char string and stream
2507 functions available for the respective XPG versions.
2509 * nss/Makefile: Remove rules to build and distribute nss_db.
2511 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
2512 * sysdeps/generic/scandir64.c: Likewise.
2513 * sysdeps/generic/versionsort64.c: Likewise.
2515 2000-08-13 Ulrich Drepper <drepper@redhat.com>
2516 Benjamin Koznik <bkoz@redhat.com>
2518 * libio/fileops.c: Merge with libstdc++-v3.
2519 * libio/genops.c: Likewise.
2520 * libio/iofclose.c: Likewise.
2521 * libio/iofopen.c: Likewise.
2522 * libio/iofwide.c: Likewise.
2523 * libio/libio.h: Likewise.
2524 * libio/libioP.h: Likewise.
2525 * libio/stdfiles.c: Likewise.
2526 * libio/stdio.c: Likewise.
2527 * libio/wfileops.c: Likewise.
2528 * libio/wgenops.c: Likewise.
2530 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
2532 2000-08-12 Ulrich Drepper <drepper@redhat.com>
2534 * locale/programs/localedef.c: Implement --prefix option to allow
2535 writing in standard places of alternative install directories.
2537 * posix/regex.c (compile_range): Implement collation sequence
2538 handling for glibc. Use simple character ordering otherwise and
2541 2000-08-12 Mark Kettenis <kettenis@gnu.org>
2543 * sysdeps/generic/scandir64.c: Include <dirent.h>.
2545 2000-08-12 Andreas Jaeger <aj@suse.de>
2547 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
2548 __USE_FILE_OFFSET64 correctly for locking.
2549 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2551 2000-08-12 Jakub Jelinek <jakub@redhat.com>
2553 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2554 Define for 2.4.1 on sparc as well.
2555 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
2556 for F_GETLK64, F_SETLK64, and F_SETLKW64.
2557 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
2558 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
2560 2000-08-12 Ulrich Drepper <drepper@redhat.com>
2562 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
2565 2000-08-12 Andreas Jaeger <aj@suse.de>
2567 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
2568 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
2570 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
2571 mips2 for assembler.
2573 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
2574 if fnctl64 is not available for F_*LK*64.
2576 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
2578 2000-08-12 Ulrich Drepper <drepper@redhat.com>
2580 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2581 Define for 2.4.1 on x86.
2582 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
2583 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
2584 for F_GETLK64, F_SETLK64, and F_SETLKW64.
2586 * dirent/dirent.h: Define DT_WHT.
2588 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
2589 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
2590 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
2591 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
2592 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
2593 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
2595 2000-08-11 Ulrich Drepper <drepper@redhat.com>
2597 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
2598 lookup, pass pointer to array with NULL pointer [PR libc/1858].
2599 * inet/Makefile (tests): Add tst-gethnm.
2600 * inet/tst-gethnm.c: New file.
2602 * rt/aio_cancel.c: If canceling a specific request which is running
2603 *really* do nothing.
2604 * rt/aio_misc.h: Add `done' to states of a request.
2605 * rt/aio_misc.c: Add several tests for the correct state.
2606 Simplify request table memory handling.
2608 2000-08-10 Jakub Jelinek <jakub@redhat.com>
2610 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
2611 * dirent/scandir64.c: Move...
2612 * sysdeps/generic/scandir64.c: ...here.
2613 * dirent/alphasort64.c: Move...
2614 * sysdeps/generic/alphasort64.c: ...here.
2615 * dirent/versionsort64.c: Move...
2616 * sysdeps/generic/versionsort64.c: ...here.
2617 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
2618 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
2619 Export symbols at GLIBC_2.2.
2620 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
2621 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
2622 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
2623 __versionsort64): Add prototypes.
2624 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
2625 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
2627 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
2629 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
2630 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
2631 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
2632 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
2634 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
2635 Adjust for kernel-2.4.0-test6 layout.
2636 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
2637 GLIBC_2.1 and GLIBC_2.2.
2638 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
2639 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
2640 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
2641 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
2642 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
2643 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
2644 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
2645 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
2646 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
2647 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
2648 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
2649 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
2650 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
2651 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
2653 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
2654 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
2655 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
2656 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
2657 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
2658 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
2659 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
2661 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
2662 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
2664 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
2665 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
2666 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
2667 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
2668 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
2670 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
2672 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
2674 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
2675 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
2676 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
2677 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
2678 st_ino from __st_ino.
2679 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
2680 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
2681 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
2682 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
2683 set __st_ino in addition to st_ino.
2684 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
2685 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
2686 __old_getdents64 as well.
2687 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
2688 getdirentries64 and old_getdirentries64 as well.
2689 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
2690 __GETDENTS): Define.
2691 (GETDENTS64): Remove.
2692 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
2694 (GETDENTS64): Remove.
2695 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
2696 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
2697 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
2699 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
2700 __old_readdir64_r as well.
2701 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2702 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
2704 2000-08-08 Jes Sorensen <jes@linuxcare.com>
2706 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
2707 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
2708 define of the kernel.
2709 Add missing __SEG_PSTKOVF definition.
2710 Adjust the padding of struct siginfo and struct sigevent to
2711 match the fact that sigval_t is 64 bit.
2713 2000-08-10 Ulrich Drepper <drepper@redhat.com>
2715 * timezone/zic.c: Update from tzcode2000f.
2716 * timezone/australasia: Update from tzdata2000f.
2717 * timezone/europe: Likewise.
2718 * timezone/southamerica: Likewise.
2719 * timezone/yearistype: Likewise.
2721 2000-08-10 Andreas Jaeger <aj@suse.de>
2723 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
2724 stat with current MIPS kernel.
2726 2000-08-01 Mark Kettenis <kettenis@gnu.org>
2728 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
2729 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
2730 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
2731 Remove the junk that's only relevant in the Linux kernel itself.
2732 Add a warning saying that this file is now obsolete, and include
2734 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
2735 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
2736 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
2737 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
2738 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
2739 and add the notice that the file is primarily there for GDB.
2740 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
2742 2000-08-09 Jakub Jelinek <jakub@redhat.com>
2744 * time/tzfile.c (__tzfile_compute): __tzstring zones
2747 2000-08-09 Jakub Jelinek <jakub@redhat.com>
2749 * resolv/resolv.h (__res_state): Surround prototype with
2750 __BEGIN_DECLS/__END_DECLS.
2751 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
2753 2000-08-04 Jes Sorensen <jes@linuxcare.com>
2755 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
2756 Make independant of asm/resource.h from the Linux kernel.
2758 2000-08-06 Bruno Haible <haible@clisp.cons.org>
2760 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
2762 2000-08-06 Bruno Haible <haible@clisp.cons.org>
2764 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
2765 * locale/Makefile (locale-CPPFLAGS): Likewise.
2767 2000-08-09 Ulrich Drepper <drepper@redhat.com>
2769 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
2772 2000-08-03 Jakub Jelinek <jakub@redhat.com>
2774 * misc/Versions (mincore): Export at GLIBC_2.2.
2776 2000-08-03 Bruno Haible <haible@clisp.cons.org>
2778 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
2780 2000-08-02 Mark Kettenis <kettenis@gnu.org>
2782 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
2783 socketpair. Made socketpair a weak alias.
2784 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
2785 __socketpair. Use S_IFIFO protocol to make pipes POSIX
2786 conforming, but fall back on the old protocol if the socket server
2788 * include/sys/socket.h: Add prototype for __socketpair.
2790 2000-08-09 Andreas Schwab <schwab@suse.de>
2792 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
2793 long long modifier is seen.
2795 * elf/nodelete.c (do_test): Remove reference to undefined member
2797 * rt/tst-aio4.c (do_test): Likewise.
2799 * configure.in: Add `-lm' when checking for libgd.
2800 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
2803 2000-08-09 Andreas Jaeger <aj@suse.de>
2805 * configure.in: Change required make versions.
2807 * manual/install.texi (Tools for Compilation): Document required
2809 (Supported Configurations): Update list of supported
2812 2000-08-08 Ulrich Drepper <drepper@redhat.com>
2814 * locale/linereader.c (get_string): Don't print an error is a string
2815 contains an unknown character.
2817 2000-08-06 Ulrich Drepper <drepper@redhat.com>
2819 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
2820 (new_symbol): Take new parameters with name of the symbol.
2822 (handle_ellipsis): Don't only allow character symbols.
2823 (collate_read): Allow string of collating elements contain invalid
2824 characters; ignore entry in this case.
2825 Handle ellipsis of collating symbols before first order_start.
2826 Allow ellipsis in state 0.
2828 2000-08-04 Ulrich Drepper <drepper@redhat.com>
2830 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
2832 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
2834 2000-08-04 Greg McGary <greg@mcgary.org>
2836 * posix/regex.c (SET_HIGH_BOUND): New macro.
2837 (MOVE_BUFFER_POINTER): Use it.
2838 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
2839 (EXTEND_BUFFER): Use it.
2841 2000-08-03 Ulrich Drepper <drepper@redhat.com>
2843 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
2844 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
2845 _wide_data but from _IO_FILE directly.
2846 * libio/iofclose.c: Likewise.
2847 * libio/wfileops.c: Likewise.
2849 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
2850 * libio/libioP.h: Change prototypes.
2852 2000-08-03 Greg McGary <greg@mcgary.org>
2854 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
2855 frame pointer early so that we save caller's frame pointer.
2856 * sysdeps/i386/elf/setjmp.S: Likewise.
2858 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
2859 * io/test-utime.c: Test passing NULL as utimbuf* arg.
2861 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
2862 (MOVE_BUFFER_POINTER): Handle high_bound properly.
2863 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
2865 2000-08-03 Ulrich Drepper <drepper@redhat.com>
2867 * iconvdata/big5.c: Updated.
2868 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
2870 2000-08-02 Ulrich Drepper <drepper@redhat.com>
2872 * Makeconfig (all-subdirs): Add conform.
2873 * conform/Makefile: Include ../Rules.
2875 * Makefile (README): Add rules to generate here as well.
2877 2000-08-02 Ulrich Drepper <drepper@redhat.com>
2879 * version.h (VERSION): Bump to 2.1.92.
2881 * sysdeps/ia64/Dist: Add _mcount.S.
2883 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
2885 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
2887 * elf/Makefile (distribute): Add missing modules.
2889 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
2891 * posix/regex.c (compile_range): Translate range start and end
2892 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
2894 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
2897 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
2899 2000-08-02 Andreas Jaeger <aj@suse.de>
2901 * elf/elf.h (EM_S390): Added.
2902 (R_390_*): New relocs for S390.
2904 * sysdeps/unix/sysv/linux/s390/Dist: New file.
2905 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
2906 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
2907 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
2908 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
2909 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
2910 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
2911 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
2912 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
2913 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
2914 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
2915 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
2916 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
2917 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
2918 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
2919 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
2920 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
2921 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
2922 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
2923 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
2924 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
2925 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
2926 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
2927 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
2928 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
2929 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
2930 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
2931 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
2932 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
2933 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
2934 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
2935 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
2936 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
2937 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
2938 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
2939 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
2940 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
2941 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
2942 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
2943 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
2944 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
2945 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
2946 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
2947 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
2948 * sysdeps/s390/sysdep.h: New file.
2949 * sysdeps/s390/sys/ucontext.h: New file.
2950 * sysdeps/s390/sub_n.S: New file.
2951 * sysdeps/s390/strncpy.S: New file.
2952 * sysdeps/s390/strcpy.S: New file.
2953 * sysdeps/s390/stackinfo.h: New file.
2954 * sysdeps/s390/setjmp.S: New file.
2955 * sysdeps/s390/s390-mcount.S: New file.
2956 * sysdeps/s390/mul_1.S: New file.
2957 * sysdeps/s390/memusage.h: New file.
2958 * sysdeps/s390/memset.S: New file.
2959 * sysdeps/s390/memcpy.S: New file.
2960 * sysdeps/s390/memchr.S: New file.
2961 * sysdeps/s390/machine-gmon.h: New file.
2962 * sysdeps/s390/ldbl2mpn.c: New file.
2963 * sysdeps/s390/gmp-mparam.h: New file.
2964 * sysdeps/s390/fpu/fpu_control.h: New file.
2965 * sysdeps/s390/fpu/fesetround.c: New file.
2966 * sysdeps/s390/fpu/fegetround.c: New file.
2967 * sysdeps/s390/fpu/fclrexcpt.c: New file.
2968 * sysdeps/s390/fpu/bits/fenv.h: New file.
2969 * sysdeps/s390/ffs.c: New file.
2970 * sysdeps/s390/elf/start.S: New file.
2971 * sysdeps/s390/elf/setjmp.S: New file.
2972 * sysdeps/s390/elf/bsd-setjmp.S: New file.
2973 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
2974 * sysdeps/s390/dl-machine.h: New file.
2975 * sysdeps/s390/bzero.S: New file.
2976 * sysdeps/s390/bsd-setjmp.S: New file.
2977 * sysdeps/s390/bsd-_setjmp.S: New file.
2978 * sysdeps/s390/bits/string.h: New file.
2979 * sysdeps/s390/bits/setjmp.h: New file.
2980 * sysdeps/s390/bits/huge_val.h: New file.
2981 * sysdeps/s390/bits/endian.h: New file.
2982 * sysdeps/s390/bits/byteswap.h: New file.
2983 * sysdeps/s390/bcopy.S: New file.
2984 * sysdeps/s390/backtrace.c: New file.
2985 * sysdeps/s390/atomicity.h: New file.
2986 * sysdeps/s390/asm-syntax.h: New file.
2987 * sysdeps/s390/addmul_1.S: New file.
2988 * sysdeps/s390/add_n.S: New file.
2989 * sysdeps/s390/abort-instr.h: New file.
2990 * sysdeps/s390/__longjmp.c: New file.
2991 * sysdeps/s390/Makefile: New file.
2992 * sysdeps/s390/Implies: New file.
2993 * sysdeps/s390/Dist: New file.
2994 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
2996 2000-08-01 Ulrich Drepper <drepper@redhat.com>
2998 Remove incompatible IPv6 extension of RPC.
2999 * sunrpc/Makefile: Undo changes.
3000 * sunrpc/rpc_main.c: Likewise.
3001 * sunrpc/rpc/clnt.h: Likewise.
3002 * sunrpc/rpc/svc.h: Likewise.
3003 * sunrpc/bindrsvprt6.c: Removed.
3004 * sunrpc/clnt_tcp6.c: Removed.
3005 * sunrpc/clnt_udp6.c: Removed.
3006 * sunrpc/svc_tcp6.c: Removed.
3007 * sunrpc/svc_udp6.c: Removed.
3009 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
3010 dgettext, and dcgettetxt.
3012 * intl/locale.alias: Update japanese aliases.
3014 * sysdeps/ia64/bits/byteswap.h: New file.
3015 Patch by Dan Pop <Dan.Pop@cern.ch>.
3017 * misc/sys/cdefs.h: Define __attribute_format_arg__.
3018 * intl/libintl.h: Use it here instead of using __attribute__ directly.
3020 2000-07-13 H.J. Lu <hjl@gnu.org>
3022 * posix/regex.c (re_max_failures): Set to 4000.
3024 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3026 * gnulib/Makefile (tests): Add tst-gcc.
3027 * gnulib/tst-gcc.c: New file.
3029 * assert/Makefile (routines): Add __assert.
3030 * assert/Versions: Export __assert for glibc 2.2.
3031 * assert/__assert.c: New file.
3032 * assert/assert.h: Declare __assert.
3034 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3036 * locale/localeinfo.h (_ISCTYPE): New macro.
3037 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
3038 LC_CTYPE locale format.
3039 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
3040 (ctype_output): Output class_b[nr] right before class_3level[nr].
3041 (allocate_arrays): Fill class_b, similarly to class_3level.
3043 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3044 Joseph S. Myers <jsm28@cam.ac.uk>
3046 * math/tgmath.h: Make standard compliant. Don't ask how.
3048 2000-07-04 H.J. Lu <hjl@gnu.org>
3050 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
3051 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
3052 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
3054 2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3056 * include/features.h (_XOPEN_SOURCE): Update the explanation.
3057 (__USE_LARGEFILE): Add an explanation.
3058 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
3059 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
3061 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3063 * libio/Makefile: Enable exception handling for genops, wgenops,
3064 fileops, and wfileops.
3066 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3068 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
3069 acount that elf/rtld's main program might remove some varibales
3070 from the environment if we're trying to be secure. Move the Hurd
3071 startup data if necessary, or, if we there is no startup data,
3072 make sure the magical convention that ARGV[0] is stored just after
3073 the environment list.
3075 2000-08-01 Philip Blundell <philb@gnu.org>
3077 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
3078 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
3079 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
3080 oldsetrlimit for GLIBC_2.0.
3082 2000-08-01 Andreas Jaeger <aj@suse.de>
3084 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
3085 (LINE_PARSER): Allow any number of spaces between ip address and
3086 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
3088 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
3090 * include/netdb.h: Remove getipnodebyaddr and friends, leave
3093 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
3094 _nss_nisplus_getipnodebyname_r.
3096 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
3097 now, getipnodebyname is deprecated.
3098 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
3101 * inet/Makefile (routines): Don't build getipnodebyaddr and
3104 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
3106 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
3108 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
3110 * wctype/Makefile (distribute): Add wchar-lookup.h.
3112 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
3114 * iconvdata/Makefile (distribute): Add isiri-3342.h.
3116 2000-08-01 Andreas Schwab <schwab@suse.de>
3118 * Make-dist (dist): Resolve `..' in file names.
3120 2000-08-01 Andreas Jaeger <aj@suse.de>
3122 * stdio-common/Makefile (distribute): Remove removed files, add
3125 * Makefile (distribute): Remove include/db_185.h and db.h.
3127 * include/db_185.h: Remove, it's not needed anymore.
3128 * include/db.h: Likewise.
3130 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3132 * inet/Makefile (tests): Remove tst-ipnode.
3133 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
3136 2000-07-31 Jes Sorensen <jes@linuxcare.com>
3138 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
3139 endp statements have already been added.
3141 2000-04-18 David Mosberger <davidm@hpl.hp.com>
3143 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
3144 <sysdeps/ia64/sysdep.h>.
3146 * sysdeps/ia64/_mcount.S: New file.
3148 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
3149 __gmon_start__. Fix up extraneous whitespace.
3151 2000-01-12 H.J. Lu <hjl@gnu.org>
3153 * sysdeps/ia64/elf/initfini.c: New file.
3155 2000-07-31 Jes Sorensen <jes@linuxcare.com>
3157 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
3158 dependency between branch and ar.pfs write.
3160 2000-07-31 H.J. Lu <hjl@gnu.org>
3162 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
3163 handle the wchar_t array.
3165 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3167 * iconvdata/gb18030.c: Don't map to and from positions in ISO
3168 10646 which are not yet assigned.
3169 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
3171 2000-07-31 Andreas Jaeger <aj@suse.de>
3173 * inet/Versions: Remove getipnodebyaddr and friends from
3176 * resolv/netdb.h: Remove getipnodebyaddr and friends.
3178 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3180 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
3181 ch >= 0x81 && ch2 < 0x40 as invalid.
3183 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3185 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
3186 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
3188 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3190 * iconvdata/johab.c (BODY for TO_LOOP): After calling
3191 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
3193 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3195 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
3197 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
3199 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3201 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
3203 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3205 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
3206 (from_ucs4): Change values of U+00A4 and U+00ED.
3207 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
3209 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3211 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
3212 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
3214 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3216 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
3217 * iconvdata/isiri-3342.h: New file.
3218 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
3219 treat 0x80 as a gap.
3221 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3223 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
3224 (utf8_encode): Use simple shifts instead. Fix return value.
3226 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3228 * timezone/private.h: Update from tzcode2000e.
3229 * timezone/asia: Update from tzdata2000e.
3230 * timezone/australasia: Likewise.
3231 * timezone/europe: Likewise.
3232 * timezone/northamerica: Likewise.
3233 * timezone/zone-tab: Likewise.
3235 2000-07-30 Ralf Baechle <ralf@gnu.org>
3237 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
3238 the order of struct sigaltstack members is different.
3240 2000-07-26 Philip Blundell <philb@gnu.org>
3242 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
3244 2000-07-29 Ulrich Drepper <drepper@redhat.com>
3246 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
3247 * locale/programs/ld-ctype.c: Adjust for this.
3249 * locale/programs/ld-collate.c: Add more alignment checks.
3250 * locale/string/strcoll.c: Likewise.
3252 2000-07-30 Mark Kettenis <kettenis@gnu.org>
3254 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
3255 outside USE_IN_LIBIO block.
3257 2000-07-26 Philip Blundell <philb@gnu.org>
3259 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
3260 (elf_machine_rel): Use it for out-of-range PC24 relocs.
3262 2000-07-28 Philip Blundell <philb@gnu.org>
3264 * math/test-fpucw.c: Ignore reserved bits in control word.
3266 2000-07-28 Philip Blundell <philb@gnu.org>
3268 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
3269 (ret): Redefine to PSEUDO_RET.
3270 (PSEUDO): Remove jump to syscall_error.
3272 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3274 * resolv/README: Add some information about using the resolver in
3275 multi-threaded code and with C++. Spelling fixes.
3277 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3279 * resolv/resolv.h (struct __sockaddr_in): Remove.
3280 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
3282 2000-07-29 Greg McGary <greg@mcgary.org>
3284 * Rules (test-bp-inputs, make-test-out): New variables.
3285 ($(objpfx)%-bp.out): New rule.
3286 ($(objpfx)%.out): Rewrite in terms of new variables.
3288 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
3289 internal function that uses vtable.
3290 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
3291 * libio/vswprintf.c (_IO_vswprintf): Likewise.
3293 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
3294 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
3295 (chunk_align): Likewise.
3297 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
3298 in a way that conforms to decl, and avoids spurious bounds violation.
3300 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
3301 * sysdeps/generic/frame.h: Likewise.
3302 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
3303 around return value.
3304 (__backtrace): Qualify frame-pointer chain and return address
3305 pointers as __unbounded. Wrap bounds around variable `current'.
3306 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
3307 around return value.
3308 (catch_segfault): Qualify frame-pointer chain and return address
3309 pointers as __unbounded. Wrap bounds around variable `current'.
3310 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
3311 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
3312 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
3314 (__backtrace): Qualify frame-pointer chain and return address
3315 pointers as __unbounded. Wrap bounds around variable `current'.
3317 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
3318 * sysdeps/i386/mul_1.S: Likewise.
3319 * sysdeps/i386/submul_1.S: Likewise.
3320 * sysdeps/i386/i586/addmul_1.S: Likewise.
3321 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
3322 * sysdeps/i386/i586/submul_1.S: Likewise.
3324 2000-07-27 Andreas Jaeger <aj@suse.de>
3326 * libio/Depend: New file, libio needs localedata for tests.
3327 * posix/Depend: Likewise.
3329 2000-07-28 Ulrich Drepper <drepper@redhat.com>
3331 * stdio-common/_i18n_itoa.c: Removed.
3332 * stdio-common/_i18n_itoa.h: Removed.
3333 * stdio-common/_i18n_itowa.c: Removed.
3334 * stdio-common/_i18n_itowa.h: Removed.
3335 * stdio-common/_i18n_number.h: New file.
3336 * stdio-common/Depend: New file.
3337 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
3338 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
3339 printing. Change printing of numbers with locale specific digits to
3340 use new code in _i18n_number.h.
3341 * stdio-common/Makefile (routines): Remove _i18n_itoa and
3344 * stdio-common/bug13.c: Improve messages.
3346 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
3347 (set_class_defaults): Always search also for Uxxxx names.
3348 Detect insufficient number of outdigits.
3350 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
3352 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3354 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
3355 _NL_CTYPE_MAP_NAMES.
3356 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
3357 * wctype/wcfuncs.c (towlower, towupper): Use them.
3358 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
3359 * wctype/wctrans.c (wctrans): Likewise.
3360 * wctype/wctrans_l.c (__wctrans_l): Likewise.
3362 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3364 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
3365 Use the optimized version of this function outside glibc as well.
3367 2000-07-27 Jakub Jelinek <jakub@redhat.com>
3369 * locale/indigits.h (indigit_value): Correct.
3370 * locale/indigitswc.h (indigitwc_value): Correct.
3371 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
3372 conversion, add GROUP checking for it, fix GROUP number
3373 conversion with strlen(thousands) > 1.
3374 Honour width correctly in the presence of floating
3375 decimal points and thousands separators.
3376 * stdio-common/tst-sscanf.c: New test.
3377 * stdio-common/Makefile: Add it to tests.
3378 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
3379 thousands separators and group argument is non-zero.
3381 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3383 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
3384 starts at GLIBC_2.2.
3386 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3388 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
3389 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
3391 (headers): Add sys/tas.h.
3392 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
3393 GLIBC_2.2 from libc.
3394 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
3395 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
3398 2000-07-28 Andreas Jaeger <aj@suse.de>
3400 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
3402 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
3403 ($(objpfx)tst-dladdr.out): new.
3404 (tests): Add tst-dladdr.
3405 ($(objpfx)glrefmain): Use libdl.
3407 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
3410 2000-07-27 Jes Sorensen <jes@linuxcare.com>
3412 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
3413 ftruncate(64) calls.
3415 2000-07-27 Jes Sorensen <jes@linuxcare.com>
3417 * intl/tst-translit.c: Include string.h to get prototype for
3420 2000-07-27 Jes Sorensen <jes@linuxcare.com>
3422 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
3423 name and add weak alias for __fork.
3425 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
3426 & pwrite to use __libc_<name> as strong names instead of
3429 * include/sched.h: Add clone2 prototype.
3431 2000-07-26 Jes Sorensen <jes@linuxcare.com>
3433 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
3434 procedure name twice.
3436 2000-07-27 Philip Blundell <philb@gnu.org>
3438 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
3440 2000-07-27 Andreas Jaeger <aj@suse.de>
3442 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
3443 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
3444 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
3445 Reported by Andi Kleen <ak@suse.de>.
3447 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
3448 (do_wait): Test requests with aio_return64.
3449 (do_test): Change callers of do_wait.
3451 2000-07-26 Andreas Jaeger <aj@suse.de>
3453 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
3454 (do_wait): Test requests with aio_return.
3455 (do_test): Change callers of do_wait.
3457 2000-07-27 Ulrich Drepper <drepper@redhat.com>
3459 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
3460 from request list. Don't do the list handling here, call
3461 __aio_remove_request.
3462 * rt/aio_misc.h: Add prototype for __aio_remove_request.
3463 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
3464 request might already be processed. Don't do the list handling
3465 here, call __aio_remove_request.
3467 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
3470 * rt/aio_misc.c: Add comment explaining why writer memory barriers
3473 2000-07-27 Greg McGary <greg@mcgary.org>
3475 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
3476 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
3477 in union init. Pass zero for ignored semnum arg to semctl.
3478 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
3480 2000-07-26 Greg McGary <greg@mcgary.org>
3482 * sysdeps/gnu/bits/msq.h: Qualify kernel's
3483 data structure pointers as __unbounded.
3484 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
3485 * sysdeps/generic/bp-semctl.h: New file.
3486 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
3487 pointers as __unbounded. Check bounds of syscall args.
3488 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3489 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
3490 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3491 * sysdeps/unix/sysv/linux/semop.c: Likewise.
3492 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
3493 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3494 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
3495 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
3496 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
3497 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
3498 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
3499 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
3500 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
3501 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
3502 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
3503 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
3505 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3507 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
3509 * locale/C-ctype.c: Likewise.
3510 * wcsmbs/wcsmbsload.c: Likewise.
3512 2000-07-26 Greg McGary <greg@mcgary.org>
3514 * Makeconfig (+link-bounded, link-libc-bounded,
3515 link-extra-libs-bounded): New variables.
3516 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
3517 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
3518 * Rules (tests-bp.out): New variable.
3519 (tests): Conditionally add BP tests.
3520 (binaries-bounded): Add variable and associated rule.
3521 * csu/Makefile [build-bounded] (extra-objs, install-lib):
3522 Move conditional stuff after place where condition is defined.
3524 * malloc/malloc.c (bp-checks.h): Add #include.
3525 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
3526 (_bin_at): Add unbounded version of bin_at.
3527 (IAV, chunk_alloc): Use unbounded _bin_at.
3528 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
3529 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
3530 Wrap BOUNDED_N around return value.
3531 (chunk_realloc): Adjust oldsize once.
3533 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
3534 (__ubp_memchr): Add correct decl.
3535 (_CHECK_STRING): Use __ubp_memchr.
3536 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3537 New alias for unbounded-pointer __memchr.
3538 * sysdeps/i386/memchr.S: Likewise.
3539 * sysdeps/ia64/memchr.S: Likewise.
3540 * sysdeps/m68k/memchr.S: Likewise.
3541 * sysdeps/sparc/sparc32/memchr.S: Likewise.
3542 * sysdeps/sparc/sparc64/memchr.S: Likewise.
3543 * sysdeps/vax/memchr.s: Likewise.
3545 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
3546 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
3547 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
3548 * sysdeps/i386/i686/strtok.S: Likewise.
3549 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
3550 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
3552 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
3553 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
3555 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
3556 bounds of copy_result to mount_proc.
3558 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3560 * wctype/wctype.h (__wctrans_l): New declaration.
3561 * wctype/wctrans_l.c: New file.
3562 * wctype/Makefile (routines): Add wctrans_l.
3564 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3566 * posix/fnmatch_loop.c: Fixes for use outside glibc.
3567 Patch by MacGyver <macgyver@tos.net>.
3569 2000-07-26 Andreas Jaeger <aj@suse.de>
3571 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
3572 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
3573 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
3575 * rt/tst-aio.c (test_file): Fix typo.
3576 * rt/tst-aio64.c (test_file): Likewise.
3578 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
3579 * rt/Makefile: Add rules to build and run tst-aio3.
3581 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
3582 it's not needed and confuses only.
3584 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3586 * resolv/res_init.c: Add support for nameserver communication with
3588 * resolv/res_send.c: Likewise.
3589 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
3591 Patch by <venaas@nvg.ntnu.no>.
3593 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3595 * locale/programs/ld-ctype.c (wctype_table_get): New function.
3596 (wcwidth_table_get): New function.
3597 (wcwidth_table_add): Call it.
3598 (wctrans_table_get): New function.
3599 (wctrans_table_add): Call it.
3601 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3603 * rt/lio_listio.c (lio_listio): Always disable individual
3605 * rt/Makefile: Add rules to build and run tst-aio2.
3606 * rt/tst-aio2.c: New file.
3608 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
3609 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
3611 2000-07-25 Mark Kettenis <kettenis@gnu.org>
3613 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
3614 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
3615 leading and trailing spaces from host, user and domain name.
3617 2000-07-25 Jes Sorensen <jes@linuxcare.com>
3619 * csu/defs.awk: Add support for need_endp.
3621 2000-07-25 Mark Kettenis <kettenis@gnu.org>
3623 * resolv/resolv.h: Remove __P from res_send_qhook and
3624 res_send_rhook typedefs.
3626 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3628 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
3630 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3632 * iconv/gconv_builtin.h: Add WCHAR_T alias.
3634 2000-07-25 Mark Kettenis <kettenis@gnu.org>
3636 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
3637 calling thread, set the cancellation flag and return success
3640 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3642 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
3643 * libio/tst-widetext.c: New file.
3644 * libio/tst-widetext.input: New file.
3646 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
3648 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
3649 empty external buffer correctly.
3651 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3653 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
3654 __STRING(entry) and not #entry.
3655 (_RTLD_EPILOGUE): Likewise.
3656 * sysdeps/mips/mips64/dl-machine.h: Likewise.
3658 2000-07-25 Andreas Jaeger <aj@suse.de>
3660 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
3661 according to changes in test program, run also with static only
3663 ($(objpfx)tst-printf.out): Likewise.
3665 * stdio-common/tst-unbputc.sh: Likewise.
3666 * stdio-common/tst-printf.sh: Likewise.
3668 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3670 * libio/wfileops.c (_IO_wdo_write): Correct return value.
3672 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
3675 * libio/fileops.c: Pretty print.
3677 2000-07-23 Bruno Haible <haible@clisp.cons.org>
3679 * wctype/wchar-lookup.h: New file.
3680 * wctype/iswctype.c: Include "wchar-lookup.h".
3681 (__iswctype): Support alternate locale format with 3-level tables.
3682 * wctype/iswctype_l.c (__iswctype_l): Likewise.
3683 * wctype/towctrans.c (__towctrans): Likewise.
3684 * wctype/towctrans_l.c (__towctrans_l): Likewise.
3685 * wctype/wcfuncs.c: Include "wchar-lookup.h".
3686 (__ctype32_wctype, __ctype32_wctrans): Declare external.
3687 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
3688 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
3689 __iswxdigit, towlower, towupper): Support alternate locale format
3690 with 3-level tables.
3691 * wctype/wcextra.c (iswblank): Likewise.
3692 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
3693 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
3694 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
3695 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
3696 format with 3-level tables.
3697 * wctype/wcextra_l.c (__iswblank_l): Likewise.
3698 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
3699 format, return a 3-level table pointer.
3700 * wctype/wctype_l.c (__wctype_l): Likewise.
3701 * wctype/wctrans.c (wctrans): Likewise.
3702 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
3703 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
3704 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
3705 (iswctype): Remove macro definition.
3706 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
3707 (internal_wcwidth): Support alternate locale format with 3-level
3709 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
3711 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
3712 Define them as being type "word".
3713 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
3714 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
3715 __ctype32_width): New exported variables.
3716 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
3717 alternate locale format. Don't initialize __ctype_names and
3718 __ctype_width in the alternate locale format.
3719 * locale/programs/localedef.h (oldstyle_tables): New declaration.
3720 * locale/programs/localedef.c (oldstyle_tables): New variable.
3721 (OPT_OLDSTYLE): New macro.
3722 (options): Add --old-style option.
3723 (parse_opt): Handle --old-style option.
3724 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
3725 map_offset, class_3level, map_3level, width_3level members.
3726 (ctype_output): Support for alternate locale format: Computation of
3727 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
3728 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
3729 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
3730 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
3731 now contain both class and map tables.
3732 (struct wctype_table): New type.
3733 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
3735 (struct wcwidth_table): New type.
3736 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
3738 (struct wctrans_table): New type.
3739 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
3741 (allocate_arrays): Support for alternate locale format: Set
3742 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
3743 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
3744 to the first 256 characters. Compute ctype->map_3level. Set
3745 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
3746 instead of ctype->width.
3748 2000-07-24 Ulrich Drepper <drepper@redhat.com>
3750 * libio/iogetwline.c (_IO_getwline_info): Use wide character
3753 2000-07-24 Jakub Jelinek <jakub@redhat.com>
3755 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
3756 in wide characters, not bytes.
3757 * libio/tst_putwc.c (do_test): Add test for writing lots of data
3760 2000-07-22 Bruno Haible <haible@clisp.cons.org>
3762 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
3763 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
3764 LC_MEASUREMENT, LC_IDENTIFICATION.
3766 * locale/xlocale.h (struct __locale_struct): Increase size of
3768 * locale/duplocale.c (__duplocale): Copy newly added categories as
3770 * locale/freelocale.c (__freelocale): Free newly added categories.
3771 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
3772 If a base is given, use it, don't simply return it.
3774 2000-07-22 Bruno Haible <haible@clisp.cons.org>
3776 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
3777 variables, copied_key and copied_salt, instead of boolean variables.
3779 2000-07-24 Andreas Jaeger <aj@suse.de>
3781 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
3784 * grp/initgroups.c (initgroups_dyn_function): Renamed from
3785 initgroups_function, adopted prototype for change from 2000-07-23.
3786 (initgroups): Follow type change.
3788 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
3789 & PAGE_MASK case, reformat.
3791 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
3792 from stdin and setup environment.
3794 2000-07-24 Andreas Schwab <schwab@suse.de>
3796 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
3798 2000-07-23 Ulrich Drepper <drepper@redhat.com>
3800 * string/endian.h: Explain the _*_ENDIAN constant values a bit
3801 more. Patch by scarlet@mit.edu [PR libc/1799].
3803 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
3806 * argp/argp-parse.c (parser_finalize): Reverse order in which
3807 parsers are run for ARGP_KEY_END. [PR libc/1755].
3809 * grp/initgroups.c (initgroups): Don't limit the possible number
3810 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
3811 the setgroups call while the call fails and descrease the number
3812 of groups each round.
3813 The name of the initgroups function in the NSS modules changed.
3814 (compat_call): Adapt for dynamic resizing.
3815 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3816 Implement dynamic resizing.
3817 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3819 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
3820 * hesiod/Versions: Change exported interface name.
3821 * nis/Versions: Change exported interface name.
3823 2000-07-23 Ulrich Drepper <drepper@redhat.com>
3825 * locale/iso-639.def: Some errors corrected.
3826 Patch by Keld Simonsen.
3828 * include/limits.h: Update non-gcc portion.
3829 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
3831 2000-07-22 Mark Kettenis <kettenis@gnu.org>
3833 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
3834 program's data space, reallocate only the space that was just
3835 deallocated to release its backing space.
3837 2000-07-23 Ulrich Drepper <drepper@redhat.com>
3839 * stdio-common/vfprintf.c (process_string_arg): For wide character
3840 version, handle precision also correctly.
3842 * nss/nss_files/files-hosts.c: Correct problem with three or more
3843 entries with the same name.
3845 * nss/nss_files/files-hosts.c: Implement multi handling.
3846 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
3848 2000-07-22 Ulrich Drepper <drepper@redhat.com>
3850 * nss/nss_files/files-parse.c: Don't pollute namespace by using
3853 * grp/Makefile: Change Makefiles and tests to run only when necessary.
3854 * malloc/Makefile: Likewise.
3855 * malloc/tst-mtrace.sh: Likewise.
3856 * posix/Makefile: Likewise.
3857 * posix/globtest.sh: Likewise.
3858 * posix/wordexp-tst.sh: Likewise.
3859 * string/Makefile: Likewise.
3861 2000-07-22 Mark Kettenis <kettenis@gnu.org>
3863 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
3864 size instead of LC_ALL to take into account the new locale
3867 2000-07-22 Ulrich Drepper <drepper@redhat.com>
3869 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
3870 remainders of hash table.
3871 * locale/categories.def: Remove remainders of transliteration
3873 * locale/langinfo.h: Likewise.
3874 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
3875 transliteration tables.
3877 * locale/gen-translit.pl: New file.
3878 * locale/C-translit.h.in: New file.
3879 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
3880 data pointers with data from this file.
3881 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
3882 and gen-translit.pl.
3883 Add rule to generate C-translit.h.
3884 * intl/tst-translit.c (main): Update for now performed
3887 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
3888 (it's no input error).
3889 * stdio-common/tstscanf.c: Add test case for format %f with input --.
3890 * stdio-common/scanf12.c: Correct expected result for first scanf.
3892 * stdio-common/vfprintf.c (process_string_arg): Correct handling
3893 of multibyte character strings in %s format with precision.
3895 2000-07-21 Ulrich Drepper <drepper@redhat.com>
3897 * locale/programs/ld-collate.c (collate_read): Allow collating
3898 symbols and elements be named in reorder-after instructions.
3899 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
3901 * locale/programs/ld-collate.c (handle_ellipsis): Test for
3902 duplication with generated name, not the name of the first
3904 Patch by Yong Li <yong.li@asu.edu>.
3906 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
3907 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3909 2000-07-21 Wolfram Gloger <wg@malloc.de>
3911 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
3912 allocations only if a non-main arena cannot be extended.
3914 2000-07-21 Ulrich Drepper <drepper@redhat.com>
3916 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
3917 in DF_1_NODEFLIB handling.
3919 2000-07-21 Andreas Jaeger <aj@suse.de>
3921 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
3924 * libio/fwide.c: Include <wchar.h> for prototype.
3926 2000-07-21 Greg McGary <greg@mcgary.org>
3928 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
3929 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
3930 Define in terms of chunk_at_offset.
3931 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
3932 (next_bin, prev_bin): offset by size of real array elements.
3933 (chunk_align): Make `m' a scalar, since that's how it's used.
3935 2000-07-21 Greg McGary <greg@mcgary.org>
3937 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
3939 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
3940 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
3941 Wrap bounds around argv & envp and each of their string members.
3942 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
3943 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
3944 symbol in BP_SYM (). Discard bounds of address arg.
3945 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
3946 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
3947 Discard bounds on address arg, add bounds to return value.
3949 2000-07-20 Ulrich Drepper <drepper@redhat.com>
3951 * elf/Makefile (tests): Add filter. Add rules to generate filter.
3952 * elf/filter.c: New file.
3953 * elf/filtmod1.c: New file.
3954 * elf/filtmod2.c: New file.
3956 * elf/rtld.c: Define _dl_bind_not variable.
3957 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
3958 * elf/dl-support.c: Likewise.
3959 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
3960 * elf/dl-runtime.c (fixup): Don't remember looked up value if
3962 (profile_fixup): Likewise.
3964 * libio/Makefile (routines): Add fwide.
3965 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
3966 fwide now. Internal calls to _IO_fwide must do locking themselves
3967 or don't need locking.
3968 * libio/fwide.c: New file.
3970 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
3972 * elf/Makefile: Add no modules for nodelete test.
3973 * elf/nodelmod3.c: New file.
3974 * elf/nodelmod4.c: New file.
3975 * elf/nodelete.c: Also test case where dependency of dlopen() object
3978 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
3979 * elf/nodlopen.c: New file.
3980 * elf/nodlopenmod.c: New file.
3981 * include/dlfcn.h: Define __RTLD_DLOPEN.
3982 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
3983 and this is a dlopen() call, do not load the binary.
3984 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
3985 * dlfcn/dlopenold.c: Likewise.
3986 * configure.in: Add test for -z nodelete option.
3987 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
3989 2000-07-20 Mark Kettenis <kettenis@gnu.org>
3991 Make Hesiod NSS module thread-safe.
3993 * hesiod/README.hesiod: Update.
3995 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
3996 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
3997 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
3998 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
4000 * hesiod/nss_hesiod/hesiod-init.c: New file.
4001 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
4002 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
4003 * hesiod/nss_hesiod/nss_hesiod.h: New file.
4004 * hesiod/nss_hesiod/hesiod-service.c
4005 (_nss_hesiod_getservbyport_r): New function. Provide support for
4006 looking up services by port number.
4007 * hesiod/nss_hesiod/hesiod-proto.c: New file.
4009 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
4010 * hesiod/hesiod.h: Likewise.
4011 * hesiod/hesiod_p.h: Likewise.
4013 2000-07-20 Mark Kettenis <kettenis@gnu.org>
4015 Fix problems with `struct __res_state' getting too big.
4016 * resolv/resolv.h (struct __sockaddr_in): New definition.
4017 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
4018 the private parts of the structure to save some space.
4019 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
4020 (struct sockaddr_in *) in call to sock_eq.
4021 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
4023 2000-07-20 Ulrich Drepper <drepper@redhat.com>
4025 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
4026 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
4028 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
4029 to _dl_map_object. Return immediately if no object loaded.
4030 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
4031 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
4032 if it exists into l_flags_1 word.
4033 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
4034 it to determine whether loading is wanted or not.
4035 (_dl_map_object): Likewise.
4036 Call _dl_map_object_from_fd with new parameter.
4037 * sysdeps/generic/ldsodefs.h: Update prototype.
4038 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
4039 * elf/rtld.c: Likewise.
4040 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4041 * elf/Makefile (tests): Add noload. Add rules to generate noload.
4042 * elf/noload.c: New file.
4043 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
4044 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
4045 * sysdeps/mips/bits/dlfcn.h: Likewise.
4046 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
4047 (tests-nodelete-yes): Define.
4048 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
4049 Add rules to build nodelete and modules.
4050 * elf/nodelete.c: New file.
4051 * elf/nodelmod1.c: New file.
4052 * elf/nodelmod2.c: New file.
4053 * configure.in: Add test for -z nodelete option.
4054 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
4056 * libio/Makefile (tests): Add tst_wprintf2.
4057 (tst_wprintf2-ARGS): Define.
4058 * libio/tst_wprintf2.c: New file.
4059 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
4061 * libio/wfiledoalloc.c: Only allocate external buffer if this
4062 hasn't happened yet.
4064 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
4065 something in the buffer. gconv call can write up to end of the
4066 buffer, not only _IO_write_end.
4067 (_IO_wfile_overflow): Allocate also external buffer.
4069 2000-07-19 Ulrich Drepper <drepper@redhat.com>
4071 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
4072 strings with precision in vfwprintf correctly.
4073 * stdio-common/vfprintf.c: Fix completely broken handling of
4074 unbuffered wide character streams.
4075 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
4077 * resolv/Makefile (distribute): Add README.
4079 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
4081 2000-07-18 Mark Kettenis <kettenis@gnu.org>
4083 Update resolver code to BIND 8.2.3-T5B.
4085 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
4087 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
4088 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
4090 * resolv/Banner: BIND-8.2.3-T5B.
4092 * resolv/base64.c: Update from BIND 8.2.3-T5B.
4093 * resolv/herror.c: Likewise.
4094 * resolv/inet_addr.c: Likewise.
4095 * resolv/inet_net_ntop.c: Likewise.
4096 * resolv/inet_net_pton.c: Likewise.
4097 * resolv/inet_neta.c: Likewise.
4098 * resolv/inet_ntop.c: Likewise.
4099 * resolv/nsap_addr.c: Likewise.
4100 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
4101 IPv6 addresses (ISC bug #520).
4103 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
4104 * resolv/ns_parse.c: Likewise.
4105 * resolv/ns_netint.c: Likewise.
4106 * resolv/ns_samedomain.c: Likewise.
4107 * resolv/ns_ttl.c: Likewise.
4108 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
4109 RCS ID in object file.
4111 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
4112 * resolv/res_mkquery.c: Likewise.
4113 * resolv/res_query.c: Likewise.
4114 * resolv/res_init.c: Likewise.
4115 (res_setoptions): Mark internal.
4116 * resolv/res_send.c: Likewise.
4117 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
4118 by using poll instead.
4119 * resolv/res_comp.c: Likewise.
4120 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
4121 weak alias for __dn_expand.
4122 * resolv/res_data.c: Likewise.
4123 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
4124 in _res.options. Avoids a potential security risk by avoiding a
4126 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
4127 res_mkquery, res_query, res_querydomain adn res_search weak
4128 aliases for __res_mkquery, __res_query, __res_querydomain and
4130 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
4131 instead to avoid close(0).
4132 (res_init): Always use the static resolver context.
4133 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
4134 alias for __res_init.
4136 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
4137 RES_SET_H_ERRNO and accompanying comment to...
4138 * include/resolv.h: ... here.
4140 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
4141 * resolv/arpa/nameser_compat.h: Likewise.
4143 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4145 * nss/makedb.c (main): Compare result of load_db with
4146 NSS_STATUS_SUCCESS and not 0.
4147 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
4149 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
4151 2000-07-18 Greg McGary <greg@mcgary.org>
4153 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
4154 (EXTEND_BUFFER): Use it.
4156 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4158 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
4159 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
4160 __builtin_return_address.
4161 * dlfcn/dlopenold.c: Likewise.
4162 * dlfcn/dlsym.c: Likewise.
4163 * dlfcn/dlvsym.c: Likewise.
4164 * elf/dl-profstub.c: Likewise.
4165 * malloc/malloc.c: Likewise.
4166 * sysdeps/generic/machine-gmon.h: Likewise.
4167 Based on a patch by schwidefsky@de.ibm.com.
4169 2000-07-18 Andreas Jaeger <aj@suse.de>
4171 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
4172 NULL to elf_machine_fixup_plt t argument to silence GCC.
4174 * include/string.h: Add prototype for __memchr.
4176 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
4178 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
4181 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4183 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
4185 * locale/C-ctype.c: Add initializers for gap elements.
4186 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
4189 2000-07-16 Ulrich Drepper <drepper@redhat.com>
4191 * nscd/nscd.c (print_version): Update copyright year.
4193 2000-07-17 Greg McGary <greg@mcgary.org>
4195 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
4196 keyletters F, I, S, W. Remove unused keyletter V. Surround
4197 signature argnames with angle-brackets for use as word delimiters,
4198 and to induce syntax errors for any args not handled. Split
4199 multi-echo echoes and comment each stage.
4200 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
4201 * sysdeps/unix/inet/syscalls.list: Likewise.
4202 * sysdeps/unix/mman/syscalls.list: Likewise.
4203 * sysdeps/unix/syscalls.list: Likewise.
4204 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4205 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4206 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4207 * sysdeps/unix/sysv/syscalls.list: Likewise.
4208 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
4210 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
4211 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
4212 qualifiers. Don't check NULL-terminator of argv & envp.
4213 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
4214 unbounded pointer type in word-size assertion.
4215 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
4216 cases to stifle warnings.
4218 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
4220 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4222 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
4223 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
4226 * Makerules (o-objects): Supplement with $(o-objects$o).
4227 * string/Makefile (o-objects.ob): Add variable to pull
4228 unbounded versions of memcpy, memset and memchr into libc_b.
4230 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
4231 rather than non-existent __ubp_memchr.
4232 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
4233 (_CHECK_STRING, _CHECK_N): New macros.
4234 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
4235 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
4236 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
4237 Add weak alias "memchr".
4238 * sysdeps/generic/memchr.c: Likewise.
4239 * sysdeps/i386/memchr.S: Likewise.
4240 * sysdeps/ia64/memchr.S: Likewise.
4241 * sysdeps/m68k/memchr.S: Likewise.
4242 * sysdeps/sparc/sparc32/memchr.S: Likewise.
4243 * sysdeps/sparc/sparc64/memchr.S: Likewise.
4244 * sysdeps/vax/memchr.s: Likewise.
4246 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
4248 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
4249 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
4250 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
4251 __BOUNDED_POINTERS__.
4252 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
4253 for __BOUNDED_POINTERS__.
4255 2000-07-17 Bruno Haible <haible@clisp.cons.org>
4257 * iconv/gconv_open.c (__gconv_open): Initialize the __data
4258 field of struct __gconv_trans_data differently. Don't pass NULL to
4259 trans_init_fct. Simplify list append operation.
4261 2000-07-14 Bruno Haible <haible@clisp.cons.org>
4263 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
4264 not only those having tsearch.
4266 2000-07-17 Ulrich Drepper <drepper@redhat.com>
4268 * locale/langinfo.h: Add placeholder values in enum for removed
4271 2000-07-17 Jakub Jelinek <jakub@redhat.com>
4273 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
4274 chain if the PHDR check fails.
4276 2000-07-17 Mark Kettenis <kettenis@gnu.org>
4278 * nss/getent.c (print_hosts): Make sure we always print a space
4279 between numeric addresses and hostnames.
4281 2000-07-17 Wolfram Gloger <wg@malloc.de>
4283 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
4284 i.e. if n_mmaps_max>0.
4286 2000-07-16 Mark Kettenis <kettenis@gnu.org>
4288 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
4289 values to remove possible clash with other AI_* constants.
4290 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
4291 hexadecimal constants to stress the fact they're in fact
4294 2000-07-15 Mark Kettenis <kettenis@gnu.org>
4296 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
4297 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
4298 instead of res_init.
4300 2000-07-16 Ulrich Drepper <drepper@redhat.com>
4302 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
4303 parameters of memset calls to avoid warnings.
4305 2000-07-15 Ulrich Drepper <drepper@redhat.com>
4307 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
4310 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
4311 Patch by Greg McGary <greg@mcgary.org>.
4313 * io/Makefile (tests): Add tst-getcwd.
4314 * io/tst-getcwd.c: New file.
4316 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
4318 2000-07-15 Jakub Jelinek <jakub@redhat.com>
4320 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
4323 2000-07-13 Jakub Jelinek <jakub@redhat.com>
4325 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
4326 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
4328 2000-07-12 H.J. Lu <hjl@gnu.org>
4330 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
4332 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
4333 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
4334 (sysdep-routines): Add clone2.
4335 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
4337 2000-07-13 Jes Sorensen <jes@linuxcare.com>
4339 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
4340 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
4342 2000-06-05 David Mosberger <davidm@hpl.hp.com>
4344 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
4345 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
4346 Change type of si_band from "int" to "long".
4347 (si_imm) [USE_GNU]: Define
4348 (si_isr) [USE_GNU]: Ditto.
4349 (ILL_BREAK) [USE_GNU]: Ditto.
4350 (FPE_DECOVF) [USE_GNU]: Ditto.
4351 (FPE_DECDIV) [USE_GNU]: Ditto.
4352 (FPE_DECERR) [USE_GNU]: Ditto.
4353 (FPE_INVASC) [USE_GNU]: Ditto.
4354 (FPE_INVDEC) [USE_GNU]: Ditto.
4355 (TRAP_BRANCH) [USE_GNU]: Ditto.
4356 (TRAP_HWBKPT) [USE_GNU]: Ditto.
4358 2000-07-06 Jes Sorensen <jes@linuxcare.com>
4360 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4361 bits/sigcontext as struct mcontext does not depend on it.
4363 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
4365 2000-07-04 Jes Sorensen <jes@linuxcare.com>
4367 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
4369 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
4371 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
4373 2000-06-22 Jes Sorensen <jes@linuxcare.com>
4375 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
4377 2000-07-15 Ulrich Drepper <drepper@redhat.com>
4379 * intl/Makefile (test-srcs): Add tst-translit.
4381 Add rules to build and run tst-translit.
4382 * intl/tst-translit.c: New file.
4383 * intl/tst-translit.sh: New file.
4384 * intl/translit.po: New file.
4386 2000-07-14 Ulrich Drepper <drepper@redhat.com>
4388 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
4389 transliteration function did its job, continue, don't stop.
4391 * iconvdata/iso646.c: Little optimizations in body for conversion
4394 2000-07-14 Mark Kettenis <kettenis@gnu.org>
4396 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
4398 2000-07-14 Mark Kettenis <kettenis@gnu.org>
4400 * configure.in: Check for pwd binary.
4401 * config.make.in: Add PWD_P to be subsituted.
4402 * Makerules: Use $(PWD_P) instead of /bin/pwd.
4404 2000-07-14 Ulrich Drepper <drepper@redhat.com>
4406 * iconvdata/Makefile (modules): Add GB18030.
4407 (distribute): Add gb18030.c.
4408 * iconvdata/gconv-modules: Add entries for GB18030 module.
4409 * iconvdata/gb18030.c: New file.
4410 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
4413 2000-07-13 Andreas Jaeger <aj@suse.de>
4415 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
4418 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
4419 * inet/getnetgrent.c (free_mem): Likewise.
4420 * misc/mntent.c (free_mem): Likewise.
4421 * nss/getXXbyYY.c (free_mem): Likewise.
4422 * nss/getXXent.c (free_mem): Likewise.
4423 * pwd/fgetpwent.c (free_mem): Likewise.
4424 * shadow/fgetspent.c (free_mem): Likewise.
4426 2000-07-14 Ulrich Drepper <drepper@redhat.com>
4428 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
4429 64-bit architecture correctly [PR libc/1794].
4431 2000-07-13 Ulrich Drepper <drepper@redhat.com>
4433 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
4434 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
4435 report that we are out of memory.
4436 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4437 * elf/dl-libc.c (dlerror_run): Likewise.
4438 * elf/dl-open.c (_dl_open): Likewise.
4439 * elf/rtld.c (dl_main): Likewise.
4440 * elf/dl-error.c: Define _dl_out_of_memory.
4441 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
4443 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
4446 * dlfcn/dlerror.c (free_key_mem): Also free error string.
4448 * iconv/loop.c: Fix comment.
4450 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
4452 2000-07-13 Andreas Jaeger <aj@suse.de>
4454 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
4455 getcwd (NULL, size) with size > 0.
4456 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
4458 2000-07-13 Andreas Jaeger <aj@suse.de>
4460 * posix/Makefile: Remove build rules for libposix.
4462 2000-07-13 Andreas Schwab <schwab@suse.de>
4464 * sysdeps/generic/glob.c (glob): Fix memory leak.
4465 [SHELL]: Remove reference to undefined variable `files'.
4468 2000-07-13 Andreas Jaeger <aj@suse.de>
4470 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
4473 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
4474 memory if it was allocated.
4476 2000-07-12 Ulrich Drepper <drepper@redhat.com>
4478 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
4481 * iconv/gconv_open.c (__gconv_open): Reapply
4482 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4484 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
4486 * iconv/gconv_open.c: Undo last two changes for now. They break
4489 2000-07-12 Andreas Jaeger <aj@suse.de>
4491 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
4493 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
4494 (CFLAGS-dl-cache.c): Likewise.
4495 (CFLAGS-ldconfig.c): Added, passes directory locations.
4497 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
4499 * elf/ldconfig.c (LD_SO_CONF): Likewise.
4500 (main): Use configured LIBDIR and SLIBDIR.
4502 2000-07-11 Jakub Jelinek <jakub@redhat.com>
4504 * math/bits/cmathcalls.h (cimag): Add __THROW.
4505 (creal, conj): Likewise.
4506 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
4509 2000-07-12 H.J. Lu <hjl@gnu.org>
4511 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
4512 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
4514 2000-07-12 Ulrich Drepper <drepper@redhat.com>
4516 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
4519 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4521 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
4523 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4525 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
4528 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4530 * iconv/gconv_open.c (__gconv_open): Initialize
4531 result->__steps[cnt].__data.
4533 2000-07-12 Mark Kettenis <kettenis@gnu.org>
4535 * nss/getent.c (services_keys): Pass port number in network byte
4536 order in call to getservbyport.
4538 2000-07-11 Andreas Jaeger <aj@suse.de>
4540 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
4542 * intl/Makefile (do-gettext-test): Likewise.
4543 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
4545 2000-07-11 Andreas Schwab <schwab@suse.de>
4547 * Makeconfig (run-program-prefix): New rule.
4548 (built-program-cmd): Use run-program-prefix.
4550 2000-07-12 Ulrich Drepper <drepper@redhat.com>
4552 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
4553 and NOEXPR unconditionally available.
4555 2000-07-12 Greg McGary <greg@mcgary.org>
4557 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
4558 * sysdeps/posix/open64.c: Likewise.
4559 * sysdeps/generic/fegetenv.c: Likewise.
4560 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
4561 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4562 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4563 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
4564 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
4565 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
4567 2000-07-11 Greg McGary <greg@mcgary.org>
4569 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
4570 Add extra level of macro expansion.
4571 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
4572 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
4573 is available at the time `select' prototype is declared.
4574 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
4575 Collect non-versioned weak aliases. Consider only non-versioned
4576 aliases for the user-visible systemcall name. Do checks inline with
4577 call to primitive system call.
4578 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
4579 stand-alone bounds checks to suppress unused value warnings.
4580 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
4582 2000-07-10 Mark Kettenis <kettenis@gnu.org>
4584 * sysdeps/mach/hurd/check_fds.c: New file. Implements
4585 file descriptor checking in SUID programs for the Hurd.
4587 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
4588 res_hostalias instead of __hostalias for thread-safety.
4590 2000-07-09 Mark Kettenis <kettenis@gnu.org>
4592 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
4593 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
4595 2000-07-10 Ulrich Drepper <drepper@redhat.com>
4597 * include/features.h: Include ISO C99 features if the compiler used
4598 is an ISO C99 compiler.
4599 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4601 2000-07-08 Mark Kettenis <kettenis@gnu.org>
4603 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
4605 2000-07-10 Andreas Jaeger <aj@suse.de>
4607 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
4608 it's overridden by libpthreads.
4609 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4610 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4611 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4612 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4613 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4615 * malloc/Makefile: Run tst-mtrace only with shared libs.
4617 * stdio-common/Makefile: Run unbputc and tst-printf tests only
4620 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4622 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
4623 that gpreg really points to the GOT section of the calling object.
4624 Scan all PT_LOAD segments of objects for stub_pc, instead of only
4625 checking a start address of first one.
4627 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
4630 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
4632 2000-07-10 Andreas Jaeger <aj@suse.de>
4634 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
4635 (string_alias->strong_alias).
4637 2000-07-08 Mark Kettenis <kettenis@gnu.org>
4639 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
4641 2000-07-07 Greg McGary <greg@mcgary.org>
4643 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
4644 have no names without leading underscores.
4646 2000-07-07 Ulrich Drepper <drepper@redhat.com>
4648 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
4651 * stdio-common/Makefile (tests): Remove tst-printf here...
4652 (tests-srcs): ...and add it here.
4653 (distribute): Add tst-unbputc.sh and tst-printf.sh.
4654 Add rules to run tst-printf.sh.
4655 * stdio-common/tst-printf.c: Move code around so that there is really
4656 no further output where it's stated.
4657 * stdio-common/tst-printf.sh: New file.
4659 2000-07-07 Mark Kettenis <kettenis@gnu.org>
4661 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
4662 (do_write): Renamed from pwrite.
4663 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
4664 `struct _IO_cookie_file'.
4666 2000-07-07 Ulrich Drepper <drepper@redhat.com>
4668 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
4670 * malloc/tst-mtrace.sh: Run mtrace script.
4672 2000-07-07 Greg McGary <greg@mcgary.org>
4674 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
4675 Move all three components of a bounded pointer.
4677 2000-07-07 Ulrich Drepper <drepper@redhat.com>
4679 * locale/programs/locale.c (write_locales): Don't simply add all
4680 directories found in the subdir, test whether at least the
4681 LC_CTYPE file is in there.
4683 2000-07-06 Ulrich Drepper <drepper@redhat.com>
4685 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
4686 * iconvdata/euc-kr.c: Likewise.
4688 * stdio-common/vfprintf.c (process_string_arg): Check result of
4689 wcrtomb call and bail out if it failed.
4691 * malloc/Makefile (test-srcs): Add tst-mtrace.
4692 (distribute): Add tst-mtrace.sh.
4693 Add rule to run tst-mtrace.sh.
4694 * malloc/tst-mtrace.c: New file.
4695 * malloc/tst-mtrace.sh: New file.
4697 * include/signal.h: Declare __libc_sigaction.
4698 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
4699 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
4700 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4701 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4702 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4703 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4704 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4706 * configure.in: Fix CFLAGS-memprofstat.c definition after
4708 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
4710 2000-07-06 Jakub Jelinek <jakub@redhat.com>
4712 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
4713 instead of NULL to elf_machine_fixup_plt t argument.
4714 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4715 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
4718 2000-07-06 Andreas Jaeger <aj@suse.de>
4720 * crypt/Makefile (LDLIBS-cert): Removed.
4721 (LDLIBS-md5c-test): Removed.
4722 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
4723 ($(objpfx)md5c-test): Likewise for md5c-test.out.
4725 2000-07-06 Andreas Jaeger <aj@suse.de>
4727 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
4728 of the proc system is "proc".
4730 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
4731 thread library for static programs.
4733 2000-07-06 Greg McGary <greg@mcgary.org>
4735 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
4737 * sysdeps/generic/strcpy.c: Add bounds checks.
4738 * sysdeps/unix/fxstat.c: Likewise.
4739 * sysdeps/unix/xstat.c: Likewise.
4740 * sysdeps/unix/common/lxstat.c: Likewise.
4741 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4742 * sysdeps/unix/sysv/linux/execve.c: Likewise.
4743 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
4744 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
4745 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4746 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4747 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
4748 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4749 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4750 * sysdeps/unix/sysv/linux/poll.c: Likewise.
4751 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4752 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4753 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
4754 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4755 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4756 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4757 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4758 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4759 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4760 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
4761 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4762 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
4763 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4764 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
4765 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
4766 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
4767 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4768 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
4769 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4770 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4771 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4772 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
4773 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4774 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4775 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4776 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4777 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4778 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
4779 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4780 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4781 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4782 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4783 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4784 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4785 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
4786 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
4787 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4788 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
4789 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
4790 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
4791 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
4792 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
4793 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4794 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4795 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4796 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4797 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
4798 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
4799 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
4800 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
4801 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4802 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
4803 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
4804 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
4806 * string/endian.h (__LONG_LONG_PAIR): New macro.
4807 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
4808 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4809 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4810 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4811 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4812 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
4813 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
4814 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4815 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4816 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4817 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4818 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
4820 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
4822 2000-07-06 Andreas Jaeger <aj@suse.de>
4824 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
4827 * math/test-fpucw.c: Include <stdio.h> for printf.
4829 2000-07-05 Greg McGary <greg@mcgary.org>
4831 * sysdeps/generic/bp-checks.h: New file.
4832 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
4833 with list of #include files.
4834 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
4835 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
4836 Don't generate BP thunk if `V' appears in signature.
4837 Generate thunks with complete bounds checks.
4838 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
4839 * sysdeps/unix/inet/syscalls.list: Likewise.
4840 * sysdeps/unix/mman/syscalls.list: Likewise.
4841 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4842 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4843 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4844 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4846 2000-07-05 Ulrich Drepper <drepper@redhat.com>
4848 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
4849 result. Search first in /etc/mtab (proc/mounts would be stupid).
4850 If mount not in the file fall back on /proc.
4852 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
4853 string got copied in.
4854 Patch by Solar Designer <solar@false.com>.
4856 2000-07-05 Andreas Jaeger <aj@suse.de>
4858 * manual/install.texi (Installation): Update information about
4860 (Configuring and compiling): Update for glibc 2.2.
4862 2000-07-04 Andreas Jaeger <aj@suse.de>
4864 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
4865 (_FPU_IEEE): Likewise.
4867 * math/Makefile (tests): Add test-fpucw.
4869 * math/test-fpucw.c (main): New file.
4871 2000-07-05 Ulrich Drepper <drepper@redhat.com>
4873 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
4875 * locale/programs/ld-collate.c (collate_output): Also write out the
4876 collation sequence values and the wide character string for the
4877 collation symbol table.
4879 * posix/fnmatch.c: Include "../locale/elem-hash.h".
4880 * posix/fnmatch_loop.c: Implement collating symbol handling.
4881 * posix/tst-fnmatch.input: Add more tests, especially for collating
4884 * posix/regex.c: Fix comment.
4886 2000-07-05 Andreas Jaeger <aj@suse.de>
4888 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
4889 (_FPU_GETCW): Remove extra colon.
4890 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
4892 * posix/fnmatch_loop.c (FCT): Only declare len if
4893 !WIDE_CHAR_VERSION to silence GCC.
4895 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
4897 * sysdeps/generic/strchrnul.c: Likewise.
4898 * sysdeps/generic/strlen.c: Likewise.
4899 * sysdeps/generic/strchr.c: Likewise.
4900 * sysdeps/generic/memchr.c: Likewise.
4902 2000-07-04 Ulrich Drepper <drepper@redhat.com>
4904 * posix/fnmatch_loop.c: Implement equivalence class handling.
4905 * posix/tst-fnmatch.input: Add tests for equivalence class
4908 * posix/fnmatch_loop.c: Improve performance for single-byte
4909 character sets by not using btowc.
4911 * posix/tst-fnmatch.input: Add tests for locale dependent
4913 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
4915 * posix/tst-fnmatch.input: Add more test cases.
4917 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
4918 are not aligned to alignof(md5_uint32) do it before calling
4919 __md5_process_bytes.
4920 * crypt/md5.c: Make sure buffers are aligned.
4921 * crypt/md5.h: Likewise.
4922 Reported by Solar Designer <solar@false.com>.
4924 * crypt/Makefile: Add dependencies for test programs.
4926 * Rules: Define LC_ALL=C in environments of all programs we run.
4928 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
4930 2000-07-03 H.J. Lu <hjl@gnu.org>
4932 * locale/programs/ld-ctype.c (ctype_output): The size of iov
4933 is 2 + elem + offset, not 2 + elem + offset + 2.
4935 2000-07-04 Ulrich Drepper <drepper@redhat.com>
4937 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
4939 * posix/Makefile (tests): Add tst-fnmatch.
4940 (tst-fnmatch-ENV): Define.
4941 * posix/tst-fnmatch.c: New file.
4942 * posix/tst-fnmatch.sh: New file.
4944 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
4946 * locale/programs/charmap.c (charmap_read): Prepend
4947 the condition filename == NULL.
4949 2000-07-03 Greg McGary <greg@mcgary.org>
4951 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
4953 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
4954 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
4956 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
4957 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
4958 (FILEBUF_LITERAL): Add cast for CHAIN init.
4959 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
4960 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
4961 Revert type of `fp' to _IO_FILE*.
4962 (_IO_iter_file): Remove cast.
4963 (_IO_iter_next): Elide intermediate member reference.
4965 * sysdeps/powerpc/strchr.S: Check bounds.
4966 Wrap extern symbols in BP_SYM ().
4968 2000-07-03 Andreas Jaeger <aj@suse.de>
4970 * dlfcn/Makefile (generated): New.
4972 2000-07-03 Ulrich Drepper <drepper@redhat.com>
4974 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
4975 (__uflow): Likewise.
4976 (__underflow): Likewise.
4977 * libio/wgenops.c (__wunderflow): Likewise.
4978 * stdio-common/tst-unbputc.c: New file.
4979 * stdio-common/tst-unbputc.sh: New file.
4980 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
4982 * po/en_GB.po: New file.
4983 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
4985 2000-07-01 Andreas Jaeger <aj@suse.de>
4987 * intl/Makefile (generated-dirs): New.
4989 * elf/Makefile (generated): trusted-dirs.h is always generated,
4990 move out of build-shared condition.
4991 (generated): Merge the two entries for build-shared.
4993 2000-07-01 Ulrich Drepper <drepper@redhat.com>
4995 * debug/Makefile (distribute): Add xtrace.sh.
4997 2000-06-30 Ulrich Drepper <drepper@redhat.com>
4999 * version.h (VERSION): Bump to 2.1.91.
5001 * configure.in: Update warning comment. glibc should not be
5004 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
5005 ioperm.c, sys/procfs.h, and sys/io.h.
5007 * sysdeps/powerpc/Dist: Add bp-asm.h.
5009 * assert/Depend: Add localedata.
5010 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
5011 (test-assert-perr-ENV): New. Define LANGUAGE=C.
5013 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
5014 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
5015 relocation address to prevent unaligned trap.
5016 Suggested by Richard Henderson <rth@cygnus.com>.
5018 2000-06-30 Jakub Jelinek <jakub@redhat.com>
5020 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
5021 if redirecting and either redirection is done using defines or
5024 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5026 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
5027 generated expressions.
5028 Patch by Darren McClelland <dmcclell@zetec.com>.
5030 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
5031 since zic uses setlocale and gettext but we cannot make it use the
5032 new locale data since zic calls a shell which might not use the
5035 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
5036 handling the internation currency symbol. POSIX says that the
5037 fourth character is used to separate the currency symbol from the
5038 value. Therefore it does not have to be printed. But we cannot
5039 remove the space if the currency symbol is printed before the
5040 number since this is what many locales expect.
5042 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
5043 whether this information is available.
5045 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
5046 buffers in case the translation is too large. Remember allocated
5047 memory blocks in a list.
5048 (free_mem): Free memory for translations.
5050 * intl/tst-gettext.c: Use correct locale. Improve error messages.
5052 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
5053 information is available set the string length to zero.
5055 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
5057 2000-06-30 Greg McGary <greg@mcgary.org>
5059 * sysdeps/powerpc/bp-asm.h: New file.
5060 * sysdeps/powerpc/__longjmp.S: Check bounds.
5061 Wrap extern symbols in BP_SYM ().
5062 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
5063 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
5064 * sysdeps/powerpc/setjmp.S: Likewise.
5065 * sysdeps/powerpc/add_n.S: Likewise.
5066 * sysdeps/powerpc/addmul_1.S: Likewise.
5067 * sysdeps/powerpc/lshift.S: Likewise.
5068 * sysdeps/powerpc/rshift.S: Likewise.
5069 * sysdeps/powerpc/mul_1.S: Likewise.
5070 * sysdeps/powerpc/sub_n.S: Likewise.
5071 * sysdeps/powerpc/submul_1.S: Likewise.
5072 * sysdeps/powerpc/strlen.S: Likewise.
5073 * sysdeps/powerpc/memset.S: Likewise.
5074 * sysdeps/powerpc/stpcpy.S: Likewise.
5075 * sysdeps/powerpc/strcmp.S: Likewise.
5076 * sysdeps/powerpc/strcpy.S: Likewise.
5077 * sysdeps/powerpc/elf/bzero.S: Likewise.
5079 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
5080 Line up operands column with tabs.
5082 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5084 * elf/Makefile (LDFLAGS-origtest): Actually add it.
5086 * sysdeps/ia64/htonl.S: New file.
5087 * sysdeps/ia64/htons.S: New file.
5088 * sysdeps/ia64/memcpy.S: Replace with version which does not use
5089 floating point registers.
5090 Patches by Dan Pop <Dan.Pop@cern.ch>.
5092 2000-06-30 Andreas Jaeger <aj@suse.de>
5094 * posix/Makefile (tests): tst-exec and tst-spawn only work with
5097 * io/Makefile (CFLAGS-test-lfs.c): New.
5098 (tests): Add test-lfs.
5100 * io/test-lfs.c: New file.
5102 2000-06-30 Jakub Jelinek <jakub@redhat.com>
5104 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
5107 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
5109 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
5111 2000-06-29 Jes Sorensen <jes@linuxcare.com>
5113 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
5114 alias to the fstatfs call.
5116 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
5117 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
5119 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
5120 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
5122 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
5123 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
5124 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
5125 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
5127 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
5128 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
5130 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
5131 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
5133 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
5134 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
5136 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
5138 2000-06-29 Andreas Jaeger <aj@suse.de>
5140 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
5142 (print_err_message): Likewise.
5143 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
5145 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5147 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
5148 used as words is properly aligned.
5150 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
5153 2000-06-29 Greg McGary <greg@mcgary.org>
5155 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
5156 * sysdeps/unix/make-syscalls.sh: Handle signatures of
5157 length 7..9, just in case...
5158 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
5160 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
5161 (POP_ERRNO_LOCATION_RETURN): Fold insns.
5162 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
5163 (PUSH_SIGNAL_MASK): New macro.
5164 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
5165 LEAVE is unnecessary. Check bounds of jmp_buf.
5166 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
5167 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
5168 immediately before tail-call.
5169 * sysdeps/i386/setjmp.S: Likewise.
5170 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5171 * sysdeps/i386/bsd-setjmp.S: Likewise.
5173 2000-06-29 Jakub Jelinek <jakub@redhat.com>
5175 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
5177 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
5178 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
5179 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
5180 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5181 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
5182 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
5183 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
5184 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
5186 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5188 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
5189 we later need to calling free().
5190 Patch by Matt Wilson <msw@redhat.com>.
5192 * stdio-common/tst-printf.c: Add test for above problem.
5194 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
5196 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
5197 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
5199 2000-06-28 Jes Sorensen <jes@linuxcare.com>
5201 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
5202 prototype for abs().
5203 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
5205 2000-06-23 Andreas Jaeger <aj@suse.de>
5207 * config.h.in: Don't use regparm with bounded pointers.
5209 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5211 * stdlib/grouping.h: Correctly handle multibyte thousands
5212 separator and decimal point.
5213 * stdlib/stdtod.c: Likewise.
5214 * sysdeps/generic/strtol.c: Likewise.
5216 * locale/categories.def: Add entries for wide character decimal point
5217 and thousands separator in numeric and monetary category.
5219 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5221 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
5222 second definition and initialization of decimal.
5224 2000-06-28 Greg McGary <greg@mcgary.org>
5226 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
5228 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
5229 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
5231 (_IO_JUMPS): Don't cast THIS--expect arg to be a
5232 (struct _IO_FILE_plus *).
5233 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
5234 THIS, since _IO_JUMPS no longer does it implicitly.
5235 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
5236 arg type as (struct _IO_FILE_plus *).
5237 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
5238 arg as (_IO_strfile *).
5239 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
5240 Declare 1st arg as (_IO_strfile *).
5241 * libio/fileops.c (_IO_new_file_init): Declare
5242 arg type as (struct _IO_FILE_plus *).
5243 * libio/oldfileops.c (_IO_old_file_init): Likewise.
5244 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
5245 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
5246 Declare iteration pointer as (struct _IO_FILE_plus *).
5247 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
5248 (struct _IO_FILE_plus *).
5249 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
5250 * libio/oldstdfiles.c (_IO_list_all): Likewise.
5251 (_IO_check_libio): Set user-visible handles to
5252 (struct _IO_FILE_plus *).
5253 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
5254 to (struct _IO_FILE_plus *).
5256 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
5257 whose high bound includes vtable to all functions that will use
5258 vtable. For streambufs, pass pointer whose bounds include struct
5260 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
5261 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5262 * libio/iofopen.c (_IO_new_fopen): Likewise.
5263 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5264 * libio/iofopen64.c (_IO_fopen64): Likewise.
5265 * libio/iopopen.c (_IO_new_popen): Likewise.
5266 * libio/oldiopopen.c (_IO_old_popen): Likewise.
5267 * libio/memstream.c (open_memstream): Likewise.
5268 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
5269 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
5270 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5271 * libio/iofopncook.c (_IO_cookie_init): Likewise.
5272 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
5273 * libio/vasprintf.c (_IO_vasprintf): Likewise.
5274 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
5275 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
5276 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
5277 * stdlib/strfmon.c (__strfmon_l): Likewise.
5278 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
5279 (vfprintf): Qualify computed-goto targets as unbounded.
5281 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5283 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
5284 thousands separator correctly.
5286 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
5287 * stdio-common/vfwscanf.c: Likewise.
5289 2000-06-27 Jes Sorensen <jes@linuxcare.com>
5291 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
5292 count into signatures for most calls.
5294 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5296 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
5297 the generic parser now.
5299 2000-06-28 Jes Sorensen <jes@linuxcare.com>
5301 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
5302 table entries are 32 bit on the ia64 (as specified by the ABI),
5303 not 64 bit as on the Alpha.
5305 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
5306 change of objects to use 32 bit hash table indices (see above).
5308 2000-06-28 Jes Sorensen <jes@linuxcare.com>
5310 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
5311 prototype for abs().
5313 2000-06-28 Wolfram Gloger <wg@malloc.de>
5315 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
5316 fails, try mmap_chunk() as a last resort even though n_mmaps_max
5317 may have been reached.
5319 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5321 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
5322 symbols in multi-character weights correctly.
5324 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
5325 depending on whether the input string is empty or not.
5327 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
5328 given state and not avoiding this by modifying a local object.
5329 * wcsmbs/wcrtomb.c: Likewise.
5331 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
5332 object since some incomplete characters might be in there.
5334 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
5335 sequences with first byte 0x8e correctly.
5337 * iconvdata/jis0208.h: Remove redundant test.
5339 2000-06-27 Ulrich Drepper <drepper@redhat.com>
5341 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
5342 Add it where it is needed now.
5344 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
5345 the input charset into account when generating the hash table.
5346 (allocate_arrays): Correct setting default width. Not all empty slots
5347 in the table are filled, only those not covert explicitly by the
5348 locale description and in the charset.
5350 * wctype/towctrans.c (__towctrans): Be graceful and accept error
5351 return values from the wctrans function.
5353 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
5354 wide character version.
5355 For %C handling, test correct pointer variable for NULL.
5357 * wcsmbs/wctob.c: Handle WEOF special.
5359 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
5361 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
5362 always-true test to avoid warning.
5364 2000-06-27 Greg McGary <greg@mcgary.org>
5366 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
5367 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
5368 (symbol_version, default_symbol_version): Factor redundant
5369 definitions out of conditional.
5371 2000-06-27 Jakub Jelinek <jakub@redhat.com>
5373 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
5376 2000-06-26 Ulrich Drepper <drepper@redhat.com>
5378 * include/libc-symbols.h (symbol_version): Add extra level of
5380 (default_symbol_version): Likewise.
5382 2000-06-26 Greg McGary <greg@mcgary.org>
5384 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
5385 for BP return value & push implicit struct-return pointer to
5387 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5388 (SYSCALL_ERROR_HANDLER): Likewise.
5389 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
5390 (SYSCALL_ERROR_HANDLER): Likewise.
5392 * Makeconfig: Add missing comment.
5393 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
5394 BP-flavored startup object.
5395 ($(objpfx)b$(start-installed-name)): New rule.
5396 * include/libc-symbols.h (symbol_set_declare): Change type
5397 of `__start_##set' and `__stop_##set' to pointer-to-function.
5398 (symbol_set_declare): Change type of `set' to array of
5399 pointer-to-function.
5400 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
5401 pointer-to-function.
5403 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
5405 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
5406 Remove clock_* and timer_* entries.
5407 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
5408 arg-count with signatures.
5410 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
5411 Check bounds of arguments.
5412 * sysdeps/i386/addmul_1.S: Likewise.
5413 * sysdeps/i386/lshift.S: Likewise.
5414 * sysdeps/i386/mul_1.S: Likewise.
5415 * sysdeps/i386/rshift.S: Likewise.
5416 * sysdeps/i386/sub_n.S: Likewise.
5417 * sysdeps/i386/submul_1.S: Likewise.
5418 * sysdeps/i386/i586/add_n.S: Likewise.
5419 * sysdeps/i386/i586/addmul_1.S: Likewise.
5420 * sysdeps/i386/i586/lshift.S: Likewise.
5421 * sysdeps/i386/i586/rshift.S: Likewise.
5422 * sysdeps/i386/i586/sub_n.S: Likewise.
5423 * sysdeps/i386/i686/add_n.S: Likewise.
5425 * sysdeps/i386/memchr.S: Likewise.
5426 * sysdeps/i386/memcmp.S: Likewise.
5427 * sysdeps/i386/rawmemchr.S: Likewise.
5428 * sysdeps/i386/i586/bzero.S: Likewise.
5429 * sysdeps/i386/i586/memcpy.S: Likewise.
5430 * sysdeps/i386/i586/mempcpy.S: Likewise.
5431 * sysdeps/i386/i586/memset.S: Likewise.
5432 * sysdeps/i386/i686/bzero.S: Likewise.
5433 * sysdeps/i386/i686/memcpy.S: Likewise.
5434 * sysdeps/i386/i686/mempcpy.S: Likewise.
5435 * sysdeps/i386/i686/memset.S: Likewise.
5437 * sysdeps/i386/stpcpy.S: Likewise.
5438 * sysdeps/i386/stpncpy.S: Likewise.
5439 * sysdeps/i386/strchr.S: Likewise.
5440 * sysdeps/i386/strchrnul.S: Likewise.
5441 * sysdeps/i386/strcspn.S: Likewise.
5442 * sysdeps/i386/strpbrk.S: Likewise.
5443 * sysdeps/i386/strrchr.S: Likewise.
5444 * sysdeps/i386/strspn.S: Likewise.
5445 * sysdeps/i386/strtok.S: Likewise.
5446 * sysdeps/i386/strtok_r.S: Likewise.
5447 * sysdeps/i386/i486/strcat.S: Likewise.
5448 * sysdeps/i386/i486/strlen.S: Likewise.
5449 * sysdeps/i386/i586/strchr.S: Likewise.
5450 * sysdeps/i386/i586/strcpy.S: Likewise.
5451 * sysdeps/i386/i586/strlen.S: Likewise.
5452 * sysdeps/i386/i686/strcmp.S: Likewise.
5453 * sysdeps/i386/i686/strtok.S: Likewise.
5454 * sysdeps/i386/i686/strtok_r.S: Likewise.
5456 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
5457 * sysdeps/i386/fpu/fesetenv.c: Likewise.
5458 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
5459 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
5460 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
5462 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
5463 * sysdeps/i386/mul_1.S: Likewise.
5464 * sysdeps/i386/submul_1.S: Likewise.
5465 * sysdeps/i386/i586/add_n.S: Likewise.
5466 * sysdeps/i386/i586/addmul_1.S: Likewise.
5467 * sysdeps/i386/i586/lshift.S: Likewise.
5468 * sysdeps/i386/i586/mul_1.S: Likewise.
5469 * sysdeps/i386/i586/rshift.S: Likewise.
5470 * sysdeps/i386/i586/sub_n.S: Likewise.
5471 * sysdeps/i386/i586/submul_1.S: Likewise.
5473 2000-06-26 Ulrich Drepper <drepper@redhat.com>
5475 * rt/Makefile (librt-routines): Add clock_nanosleep.
5476 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
5477 * sysdeps/generic/clock_nanosleep.c: New file.
5478 * sysdeps/unix/clock_nanosleep.c: New file.
5479 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
5480 * time/time.h: Declare clock_nanosleep.
5482 2000-06-26 Greg McGary <greg@mcgary.org>
5484 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
5485 INSN1, INSN2, TEXT, GLOBL): Remove macros.
5486 (ALIGN): Cleanup surrounding conditionals.
5488 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
5489 Call ENTER/LEAVE macros.
5490 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
5491 * sysdeps/i386/submul_1.S: Likewise.
5493 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
5494 syntax. Define & use symbolic argument stack offsets. Call
5496 * sysdeps/i386/i586/mul_1.S: Likewise.
5497 * sysdeps/i386/i586/submul_1.S: Likewise.
5499 2000-06-25 Greg McGary <greg@mcgary.org>
5501 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
5504 2000-06-25 Ulrich Drepper <drepper@redhat.com>
5506 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
5507 * iconvdata/gen-8bit-gap.sh: Likewise.
5508 * iconvdata/gen-8bit.sh: Likewise.
5510 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
5512 * locale/programs/ld-collate.c (collate_read): Don't actually read
5513 the copy locale if we are ignoring the content.
5515 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
5518 * locale/programs/ld-collate.c: Correct handling of different
5520 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
5521 as extra parameter from which to copy category information.
5523 (load_locale): Likewise.
5524 * locale/programs/localedef.h: Update prototypes of add_to_readlist
5526 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
5527 * locale/programs/locfile.h: Likewise.
5528 * locale/programs/locfile-kw.gperf: Add entry for script.
5529 * locale/programs/locfile-token.h: Add tok_script.
5531 * locale/programs/locale.c: Update copyright year.
5532 * locale/programs/localedef.c: Likewise.
5534 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
5536 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
5537 Jens Moeller <jens.moeller@waii.com>.
5539 2000-06-24 Ulrich Drepper <drepper@redhat.com>
5541 * locale/programs/ld-name.c (name_finish): Add missing format
5542 specifier to test for name_fmt.
5544 * locale/programs/ld-address.c (iso639): Correct length of string
5546 (iso3166): Likewise.
5548 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
5550 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
5553 * elf/elf.h (NT_PRFPXREG): Define.
5555 2000-06-23 Ulrich Drepper <drepper@redhat.com>
5557 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
5558 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
5560 2000-06-23 Andreas Schwab <schwab@suse.de>
5562 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
5565 2000-06-23 Andreas Jaeger <aj@suse.de>
5567 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
5569 * io/test-stat.c: Add copyright header, mention Maciej.
5571 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
5572 SYS_mincore, SYS_madvise): Added.
5574 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
5577 2000-06-22 Ulrich Drepper <drepper@redhat.com>
5579 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
5580 (CFLAGS-tst_putwc.c): New definition.
5581 * libio/tst_getwc.c: New file.
5582 * libio/tst_getwc.input: New file.
5583 * libio/tst_putwc.c: New file.
5585 * include/string.h: Add prototype for __strdup.
5587 2000-06-22 Greg McGary <greg@mcgary.org>
5589 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
5590 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
5593 2000-06-23 Jes Sorensen <jes@linuxcare.com>
5595 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
5597 2000-06-22 Jes Sorensen <jes@linuxcare.com>
5599 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
5601 2000-06-22 Jes Sorensen <jes@linuxcare.com>
5603 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
5604 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
5606 2000-06-22 Ulrich Drepper <drepper@redhat.com>
5608 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
5609 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
5611 * sysdeps/mach/hurd/bits/stat.h: Likewise.
5612 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5613 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
5614 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5615 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
5616 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
5617 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5618 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
5619 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5620 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5621 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
5622 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
5623 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
5624 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
5627 2000-06-22 Andreas Jaeger <aj@suse.de>
5629 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
5632 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
5634 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
5636 2000-06-21 Ulrich Drepper <drepper@redhat.com>
5638 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
5641 2000-06-21 Greg McGary <greg@mcgary.org>
5643 * Makerules (elide-routines.*, elide-bp-thunks):
5644 Define unconditionally.
5646 2000-06-21 Jes Sorensen <jes@linuxcare.com>
5648 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
5650 2000-06-21 Andreas Jaeger <aj@suse.de>
5652 * io/Makefile (tests): Add test-stat.
5653 (CFLAGS-test-stat.c): New.
5655 * io/test-stat.c: New file from Maciej W. Rozycki
5656 <macro@ds2.pg.gda.pl>.
5658 2000-06-21 Jes Sorensen <jes@linuxcare.com>
5660 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
5661 in __rlimit_resource to make them match the kernel order.
5662 rlim_t is always 64 bit, use __rlim64_t to declare it
5665 2000-05-04 Jes Sorensen <jes@linuxcare.com>
5667 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
5668 RLIM_INFINITY before defining it to avoid clash with kernel header
5670 2000-05-03 Jes Sorensen <jes@linuxcare.com>
5672 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
5674 2000-06-21 Ulrich Drepper <drepper@redhat.com>
5676 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
5678 2000-06-21 Andreas Jaeger <aj@suse.de>
5680 * stdio-common/temptest.c: Include <stdlib.h>.
5681 * stdio-common/tst-fileno.c: Likewise.
5682 * stdio-common/scanf4.c: Likewise.
5683 * stdio-common/scanf5.c: Likewise.
5684 * time/clocktest.c: Likewise.
5685 * posix/test-vfork.c: Likewise.
5686 * posix/globtest.c: Likewise.
5687 * io/test-utime.c: Likewise.
5688 * wctype/test_wcfuncs.c: Likewise.
5689 * crypt/cert.c: Likewise.
5691 * stdio-common/tst-printfsz.c: Include <string.h>.
5692 * libio/tst_swscanf.c: Likewise.
5693 * libio/tst_wscanf.c: Likewise.
5694 * posix/runtests.c: Likewise.
5695 * posix/tst-getaddrinfo.c: Likewise.
5696 * posix/wordexp-test.c: Likewise.
5697 * misc/tst-efgcvt.c: Likewise.
5699 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
5700 * nss/test-netdb.c: Likewise.
5702 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
5703 supported kernel for MIPS.
5705 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
5706 * rt/aio_suspend.c: Likewise.
5708 2000-06-20 Ulrich Drepper <drepper@redhat.com>
5710 * math/libm-test.inc: Include <string.h>.
5712 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5714 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
5716 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5718 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
5719 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
5721 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
5723 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
5725 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5727 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
5729 2000-06-20 Ulrich Drepper <drepper@redhat.com>
5731 * locale/programs/ld-collate.c (insert_value): Now take string and
5732 length instead of struct token* parameter. Adjust use of token.
5733 (handle_ellipsis): Likewise.
5734 (collate_read): Allow <Uxxxx> names and transform them into names
5735 to be passed to insert_value and handle_ellipsis.
5737 * locale/programs/ld-ctype.c (uninames): New array with names of
5738 digits in <Uxxxxxxxx> format.
5739 (ctype_finish): Correct search for space character value. Likewise
5740 for default outdigits values.
5742 2000-06-20 Greg McGary <greg@mcgary.org>
5744 * Makerules (objects): Add BP thunks.
5746 2000-06-20 Ulrich Drepper <drepper@redhat.com>
5748 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
5749 in width definitions.
5751 2000-06-20 Andreas Jaeger <aj@suse.de>
5753 * sysdeps/mips/fpu/libm-test-ulps: New file.
5755 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
5758 * sysdeps/mips/fpu/feholdexcpt.c: New file.
5760 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
5762 2000-06-19 Ulrich Drepper <drepper@redhat.com>
5764 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
5765 change in gconv_builtin.h.
5767 * malloc/Makefile: Change all references to memprof into memusage.
5768 * malloc/memprof.c: Rename to...
5769 * malloc/memusage.c: ...this. New file.
5770 * malloc/memprof.sh: Rename to...
5771 * malloc/memusage.sh: ...this. New file.
5772 * malloc/memprofstat.c: Rename to...
5773 * malloc/memusagestat.c: ...this. New file.
5774 * sysdeps/alpha/memprof.h: Rename to..
5775 * sysdeps/alpha/memusage.h: ...this. New file.
5776 * sysdeps/arm/memprof.h: Rename to..
5777 * sysdeps/arm/memusage.h: ...this. New file.
5778 * sysdeps/generic/memprof.h: Rename to..
5779 * sysdeps/generic/memusage.h: ...this. New file.
5780 * sysdeps/i386/memprof.h: Rename to..
5781 * sysdeps/i386/memusage.h: ...this. New file.
5782 * sysdeps/ia64/memprof.h: Rename to..
5783 * sysdeps/ia64/memusage.h: ...this. New file.
5784 * sysdeps/m68k/memprof.h: Rename to..
5785 * sysdeps/m68k/memusage.h: ...this. New file.
5786 * sysdeps/mips/memprof.h: Rename to..
5787 * sysdeps/mips/memusage.h: ...this. New file.
5788 * sysdeps/powerpc/memprof.h: Rename to..
5789 * sysdeps/powerpc/memusage.h: ...this. New file.
5790 * sysdeps/sparc/memprof.h: Rename to..
5791 * sysdeps/sparc/memusage.h: ...this. New file.
5792 * sysdeps/sh/memprof.h: Rename to..
5793 * sysdeps/sh/memusage.h: ...this. New file.
5795 * elf/sprof.c (print_version): Update year.
5797 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
5798 table entry values. Use D_PTR.
5799 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
5800 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
5802 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5804 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
5805 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
5806 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
5807 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
5809 2000-05-05 Jes Sorensen <jes@linuxcare.com>
5811 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
5813 2000-06-16 Jes Sorensen <jes@linuxcare.com>
5815 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
5816 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
5817 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
5819 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
5821 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
5824 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
5825 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
5827 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
5830 2000-06-15 Jes Sorensen <jes@linuxcare.com>
5832 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
5834 2000-06-08 Jes Sorensen <jes@linuxcare.com>
5836 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
5838 2000-06-19 Ulrich Drepper <drepper@redhat.com>
5840 * iconv/gconv_int.h (strict gconv_module): Remove all members
5841 associated with regular expressions. Use a simple string as the
5843 * iconv/gconv_db.c: Remove code handling regular expressions.
5844 * iconv/gconv_conf.c: Likewise.
5845 * iconv/iconv_prog.c: Likewise.
5846 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
5848 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
5849 General namespace cleanup.
5850 (struct __gconv_trans_data): Add next field.
5851 (struct __gconv_step_data): Make __trans a pointer.
5852 * iconv/gconv_conf.c: Split out code to find gconv directories from
5853 __gconv_read_conf in new functions.
5854 * iconv/gconv_int.h: Define new data structure and declare new
5855 functions for handling of gconv directory list.
5856 * iconv/gconv_open.c: Allow more than one error handling step being
5857 used. Call function to load error handling module if it is none
5858 of the builtin transformations.
5859 * iconv/gconv_close.c: Add code to free transliteration data.
5860 * iconv/gconv_trans.c: Add functions to load and unload modules
5861 implementing transliteration etc.
5862 * iconv/skeleton.c: Call all context functions now that more than
5863 one module is allowed.
5864 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
5865 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
5866 where the full error handling using transliteration is needed.
5867 * iconvdata/8bit-gap.c: Likewise.
5868 * iconvdata/8bit-generic.c: Likewise.
5869 * iconvdata/ansi_x3.110.c: Likewise.
5870 * iconvdata/big5.c: Likewise.
5871 * iconvdata/big5hkscs.c: Likewise.
5872 * iconvdata/euc-cn.c: Likewise.
5873 * iconvdata/euc-jp.c: Likewise.
5874 * iconvdata/euc-kr.c: Likewise.
5875 * iconvdata/euc-tw.c: Likewise.
5876 * iconvdata/gbgbk.c: Likewise.
5877 * iconvdata/gbk.c: Likewise.
5878 * iconvdata/iso-2022-cn.c: Likewise.
5879 * iconvdata/iso-2022-jp.c: Likewise.
5880 * iconvdata/iso-2022-kr.c: Likewise.
5881 * iconvdata/iso646.c: Likewise.
5882 * iconvdata/iso8859-1.c: Likewise.
5883 * iconvdata/iso_6937-2.c: Likewise.
5884 * iconvdata/iso_6937.c: Likewise.
5885 * iconvdata/johab.c: Likewise.
5886 * iconvdata/sjis.c: Likewise.
5887 * iconvdata/t.61.c: Likewise.
5888 * iconvdata/uhc.c: Likewise.
5889 * iconvdata/unicode.c: Likewise.
5890 * iconvdata/utf-16.c: Likewise.
5891 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
5892 structure correctly after last change.
5893 * wcsmbs/btowc.c: Likewise.
5894 * wcsmbs/mbrtowc.c: Likewise.
5895 * wcsmbs/mbsnrtowcs.c: Likewise.
5896 * wcsmbs/mbsrtowcs.c: Likewise.
5897 * wcsmbs/wcrtomb.c: Likewise.
5898 * wcsmbs/wcsnrtombs.c: Likewise.
5899 * wcsmbs/wcsrtombs.c: Likewise.
5900 * wcsmbs/wctob.c: Likewise.
5902 * localedata/Makefile: Set -Wno-format for some files since gcc does
5903 not know all the format specifiers.
5905 2000-06-18 Ulrich Drepper <drepper@redhat.com>
5907 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
5909 * locale/lc-time.c (_nl_init_era_entries): Likewise.
5911 2000-06-18 Andreas Jaeger <aj@suse.de>
5913 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
5914 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5916 2000-06-17 Ulrich Drepper <drepper@redhat.com>
5918 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
5920 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
5922 * locale/programs/ld-ctype.c (ctype_output): Really write out
5923 mboutdigits information.
5924 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
5925 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
5926 * localedata/tests/trans.def: Add outdigit information.
5928 * localedata/tst-mbswcs3.c: Remove comment.
5930 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
5931 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
5932 * libio/tst_wprintf.c (main): Add test for I flag.
5934 * iconv/gconv_trans.c: Implement handling if translit_ignore.
5935 * locale/langinfo.h: Add entries for translit_ignore information.
5936 * locale/categories.def: Add entries for new LC_CTYPE elements.
5937 * locale/C-ctype.c: Add initializers for new fields. Use NULL
5938 pointer instead of "" where possible.
5939 * locale/programs/ld-ctype.c: Write out translit_ignore information.
5940 * intl/Depend: Add localedata.
5941 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
5942 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
5944 2000-06-16 Ulrich Drepper <drepper@redhat.com>
5946 * locale/langinfo.h: Add entries for default_missing information.
5947 * locale/C-ctype.c: Add initializers for new fields.
5948 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
5950 * locale/categories.h: Add entries for all LC_CTYPE values.
5951 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
5954 * localedata/tst-trans.c: Write out an error message if class is
5957 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
5958 * iconv/gconv_open.c: Remove error handling specification from `from'
5960 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
5961 new parameter to always enable transliteration.
5962 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
5964 (struct locale_data): Add new members use_translit and options.
5965 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
5966 character set name contained modifier TRANSLIT.
5967 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
5969 (_nl_unload_locale): Free options string if necessary.
5970 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
5971 the locale names suggested this.
5972 * locale/C-address.c: Add two new initialilzers to adjust data
5973 structure for new format.
5974 * locale/C-collate.c: Likewise.
5975 * locale/C-ctype.c: Likewise.
5976 * locale/C-identification.c: Likewise.
5977 * locale/C-measurement.c: Likewise.
5978 * locale/C-messages.c: Likewise.
5979 * locale/C-monetary.c: Likewise.
5980 * locale/C-name.c: Likewise.
5981 * locale/C-numeric.c: Likewise.
5982 * locale/C-paper.c: Likewise.
5983 * locale/C-telephone.c: Likewise.
5984 * locale/C-time.c: Likewise.
5986 * locale/setlocale.c: Add some more __builtin_expect.
5988 2000-06-15 Ulrich Drepper <drepper@redhat.com>
5990 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
5992 (__gconv_init_fct): Remove two parameters.
5993 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
5994 gconv_transliterate. Remove two parameters.
5995 Change prototypes of builtin functions according to __gconv_fct change.
5996 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
5997 != NULL only during error handling. Stop in this case after the
5999 * iconv/gconv_trans.c: Replace with real implementation for
6000 __gconv_transliterate.
6001 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
6002 * iconv/gconv.c: Change calls to downstream functions once again.
6003 Use NULL for the fifth parameter instead of pointer to output buffer.
6004 * libio/iofwide.c: Likewise.
6005 * wcsmbs/btowc.c: Likewise.
6006 * wcsmbs/mbrtowc.c: Likewise.
6007 * wcsmbs/mbsnrtowcs.c: Likewise.
6008 * wcsmbs/mbsrtowcs.c: Likewise.
6009 * wcsmbs/wcrtomb.c: Likewise.
6010 * wcsmbs/wcsnrtombs.c: Likewise.
6011 * wcsmbs/wcsrtombs.c: Likewise.
6012 * wcsmbs/wctob.c: Likewise.
6013 * iconv/gconv_simple.c: Remove two parameters from error handling
6015 * iconvdata/8bit-gap.c: Likewise.
6016 * iconvdata/8bit-generic.c: Likewise.
6017 * iconvdata/ansi_x3.110.c: Likewise.
6018 * iconvdata/big5.c: Likewise.
6019 * iconvdata/big5hkscs.c: Likewise.
6020 * iconvdata/euc-cn.c: Likewise.
6021 * iconvdata/euc-jp.c: Likewise.
6022 * iconvdata/euc-kr.c: Likewise.
6023 * iconvdata/euc-tw.c: Likewise.
6024 * iconvdata/gbgbk.c: Likewise.
6025 * iconvdata/gbk.c: Likewise.
6026 * iconvdata/iso-2022-cn.c: Likewise.
6027 * iconvdata/iso-2022-jp.c: Likewise.
6028 * iconvdata/iso-2022-kr.c: Likewise.
6029 * iconvdata/iso646.c: Likewise.
6030 * iconvdata/iso8859-1.c: Likewise.
6031 * iconvdata/iso_6937-2.c: Likewise.
6032 * iconvdata/iso_6937.c: Likewise.
6033 * iconvdata/johab.c: Likewise.
6034 * iconvdata/sjis.c: Likewise.
6035 * iconvdata/t.61.c: Likewise.
6036 * iconvdata/uhc.c: Likewise.
6037 * iconvdata/unicode.c: Likewise.
6038 * iconvdata/utf-16.c: Likewise.
6040 2000-06-15 Greg McGary <greg@mcgary.org>
6042 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
6043 of callnum assignment. Tolerate callnum expressions containing
6046 2000-06-14 Ulrich Drepper <drepper@redhat.com>
6048 * login/Makefile (utmpd): Remove rule to build utmpd.
6050 * csu/Versions: Move libgcc frame handling functions from here...
6051 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
6052 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
6053 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
6054 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
6055 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
6056 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
6058 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
6060 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
6062 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
6064 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6066 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
6068 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
6069 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
6070 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
6071 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
6073 2000-06-14 Jakub Jelinek <jakub@redhat.com>
6075 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
6076 defined, terminate quotes and read them after the comment char.
6077 * configure.in (HAVE_SECTION_QUOTES): Test whether
6078 __attribute__((section ("x"))) puts quotes around x or not.
6079 * config.h.in (HAVE_SECTION_QUOTES): Add.
6080 * configure: Rebuilt.
6082 2000-06-14 Andreas Jaeger <aj@suse.de>
6084 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
6085 depending on the configure option --sysconfdir.
6086 Closes PR libc/1762.
6087 Patch by Andreas Schwab <schwab@suse.de>.
6089 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
6091 Reported by Jim Pick <jim@jimpick.com>.
6093 2000-06-14 Ulrich Drepper <drepper@redhat.com>
6095 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
6096 crashing the application. Emit some simple error message.
6097 Reported by mju@panasas.com [PR libc/1769].
6099 2000-06-13 Ulrich Drepper <drepper@redhat.com>
6101 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
6103 * crypt/Makefile (distribute): Add md5.h.
6105 * Makefile (distribute): Add include/shlib-compat.h.
6107 * Make-dist: Search for tests also in sysdeps hierachy.
6109 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
6110 ufc.c, speeds.c, README.ufc-crypt, and Banner.
6112 * sysdeps/sparc/Subdirs: New file.
6114 * locale/Makefile (distribute): Add weightwc.h and
6115 programs/localedef.h.
6117 * time/Makefile (distribute): Add datemsk.
6119 * sysdeps/ia64/Dist: Add softpipe.h.
6121 * sysdeps/unix/sysv/aix/Dist: New file.
6123 * posix/setpgrp.c: Moved to...
6124 * sysdeps/generic/setpgrp.c: ...here. New file.
6125 * io/mknod.c: Moved to...
6126 * sysdeps/generic/mknod.c: ...here. New file.
6128 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
6130 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
6132 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
6134 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
6135 gprsave0.S, gprrest1.S, and gprrest0.S.
6137 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
6139 * posix/Makefile (routines): Add spawnattr_getsigmask,
6140 spawnattr_getschedpolicy, spawnattr_getschedparam,
6141 spawnattr_setsigmask, spawnattr_setschedpolicy, and
6142 spawnattr_setschedparam.
6143 * posix/Versions: Add posix_spawnattr_getschedpolicy,
6144 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
6145 posix_spawnattr_setschedparam.
6147 * posix/spawnattr_setschedparam.c: Fix typo.
6149 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
6152 * login/programs/utmpd.c: Removed.
6153 * login/programs/utmpd.h: Removed.
6154 * login/programs/utmpd-private.h: Removed.
6156 * Makefile (distribute): Add include/db_185.h and include/db.h.
6158 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
6161 * elf/Makefile (distribute): Add missing files.
6163 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
6164 * elf/eval.c: Moved to...
6165 * dlfcn/eval.c: ...here. New file.
6167 * Makefile (distribute): Also distribute ChangeLog.1?.
6169 * Make-dist (+tsrcs): Remove .args handling here as well.
6171 * rt/Makefile (tests): Add tst-timer.
6172 * sysdeps/generic/tst-timer.c: New file.
6174 * Makerules (sources): Don't add BP sources here.
6176 * login/Makefile (distribute): Remove xtmp.h.
6178 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
6179 is true. Reported by Bruno Haible <haible@ilog.fr>.
6181 2000-06-13 Andreas Jaeger <aj@suse.de>
6183 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
6184 Patch by Ralf Baechle <ralf@gnu.org>.
6186 2000-06-13 Ulrich Drepper <drepper@redhat.com>
6188 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
6189 for mincore syscall.
6191 * misc/sys/cdefs.h: Define __bounded and __unbounded if
6192 __BOUNDED_POINTERS__ is not defined.
6194 2000-06-07 Greg McGary <greg@mcgary.org>
6196 * sysdeps/generic/bp-sym.h: New file.
6197 * sysdeps/generic/bp-start.h: New file.
6198 * sysdeps/i386/elf/start.S: Designate BP symbols.
6199 * sysdeps/generic/libc-start.c: Wrap bounds around
6200 argv & envp and each of their string members.
6202 2000-06-07 Greg McGary <greg@mcgary.org>
6204 * sysdeps/unix/make-syscalls.sh: Add comments to
6205 output that aid debugging & comprehension.
6206 Map simple syscall signatures to number of args.
6207 Generate BP syscall thunk definitions.
6208 * sysdeps/generic/bp-thunks.h: New file.
6209 * sysdeps/unix/syscalls.list: Replace arg-count with
6210 simple return+arg signature.
6211 * sysdeps/unix/common/syscalls.list: Likewise.
6212 * sysdeps/unix/inet/syscalls.list: Likewise.
6213 * sysdeps/unix/mman/syscalls.list: Likewise.
6214 * sysdeps/unix/sysv/syscalls.list: Likewise.
6215 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6216 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
6218 2000-06-07 Greg McGary <greg@mcgary.org>
6220 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
6221 for all files *.[cS].
6222 (CFLAGS-.ob): Don't optimize sibling calls.
6223 (bppfx): New variable.
6224 * Makerules (elide-bp-thunks): New variable.
6225 (elide-routines.*): Elide BP-* files for all but *.ob.
6226 (sources): Include bp-thunks.
6228 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6230 * iconv/gconv_simple.c: Remove unnecessary prototype.
6232 * iconv/gconv_trans.c: Pretty print.
6234 * elf/elf.h (R_SH_NUM): Got accidently dropped.
6236 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
6237 minimal kernel versions. Add information about IA-64 kernel.
6239 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
6240 specific minimal supported kernel versions to be specified.
6242 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
6243 step data structure.
6244 * wcsmbs/btowc.c: Likewise.
6245 * wcsmbs/mbrtowc.c: Likewise.
6246 * wcsmbs/mbsnrtowcs.c: Likewise.
6247 * wcsmbs/mbsrtowcs.c: Likewise.
6248 * wcsmbs/wcrtomb.c: Likewise.
6249 * wcsmbs/wcsnrtombs.c: Likewise.
6250 * wcsmbs/wcsrtombs.c: Likewise.
6251 * wcsmbs/wctob.c: Likewise.
6253 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
6254 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
6256 * shlib-versions: Earliest backward compatible version for SH is 2.2.
6258 * misc/sys/cdefs.h: Remove one more __P.
6260 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
6263 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
6264 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
6265 * sysdeps/sh/bits/setjmp.h: ...here. New file.
6267 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6268 Yutaka Niibe <gniibe@chroot.org>
6270 * configure.in: Add machine sh3, sh4.
6271 * elf/elf.h: Add SH specific declarations of relocations.
6272 * shlib-versions: Add sh*-*-linux* cases.
6274 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6276 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
6277 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
6278 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
6279 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
6280 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
6281 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
6283 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
6284 instead of KERNEL_MATH_EMULATION.
6285 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
6286 KERNEL_MATH_EMULATION.
6288 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
6289 * sysdeps/sh/sh3/dl-machine.h: Moved to...
6290 * sysdeps/sh/dl-machine.h: ...here. New file.
6291 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
6292 and include generic SH version.
6293 * sysdeps/sh/sh3/bits/endian.h: Move to...
6294 * sysdeps/sh/bits/endian.h: ...here. New file.
6295 * sysdeps/sh/sh4/bits/endian.h: Removed.
6296 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
6297 * sysdeps/sh/bits/huge_val.h: ...here. New file.
6298 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
6300 * include/libc-symbols.h (link_warning): Work around a change in
6301 GAS which warns about changing section attributes.
6302 Proposed by Nick Clifton <nickc@redhat.com>.
6304 2000-06-12 H.J. Lu <hjl@gnu.org>
6306 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
6308 2000-06-11 H.J. Lu <hjl@gnu.org>
6310 * sysdeps/i386/fpu/Versions: New file.
6312 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6314 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
6316 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
6319 2000-06-12 Jes Sorensen <jes@linuxcare.com>
6321 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
6322 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
6323 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
6325 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
6326 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
6327 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
6329 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6330 Yutaka Niibe <gniibe@chroot.org>
6332 * sysdeps/sh/Dist: New file.
6333 * sysdeps/sh/Implies: New file.
6334 * sysdeps/sh/elf/initfini.c: New file.
6335 * sysdeps/sh/gmp-mparam.h: New file.
6336 * sysdeps/sh/init-first.c: New file.
6337 * sysdeps/sh/machine-gmon.h: New file.
6338 * sysdeps/sh/memcpy.S: New file.
6339 * sysdeps/sh/memprof.h: New file.
6340 * sysdeps/sh/memset.S: New file.
6341 * sysdeps/sh/sh3/__longjmp.S: New file.
6342 * sysdeps/sh/sh3/bits/endian.h: New file.
6343 * sysdeps/sh/sh3/bits/huge_val.h: New file.
6344 * sysdeps/sh/sh3/bits/setjmp.h: New file.
6345 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
6346 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
6347 * sysdeps/sh/sh3/dl-machine.h: New file.
6348 * sysdeps/sh/sh3/setjmp.S: New file.
6349 * sysdeps/sh/sh4/__longjmp.S: New file.
6350 * sysdeps/sh/sh4/bits/endian.h: New file.
6351 * sysdeps/sh/sh4/bits/huge_val.h: New file.
6352 * sysdeps/sh/sh4/bits/setjmp.h: New file.
6353 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
6354 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
6355 * sysdeps/sh/sh4/dl-machine.h: New file.
6356 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
6357 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
6358 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
6359 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
6360 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
6361 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
6362 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
6363 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
6364 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
6365 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
6366 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
6367 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
6368 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
6369 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
6370 * sysdeps/sh/sh4/setjmp.S: New file.
6371 * sysdeps/sh/elf/start.S: New file.
6372 * sysdeps/sh/sys/ucontext.h: New file.
6373 * sysdeps/sh/strlen.S: New file.
6374 * sysdeps/sh/sysdep.h: New file.
6375 * sysdeps/unix/sh/sysdep.S: New file.
6376 * sysdeps/unix/sh/sysdep.h: New file.
6377 * sysdeps/unix/sysv/linux/sh/Dist: New file.
6378 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
6379 * sysdeps/unix/sysv/linux/sh/Versions: New file.
6380 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
6381 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
6382 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
6383 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
6384 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
6385 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
6386 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
6387 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
6388 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
6389 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
6390 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
6391 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
6392 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
6393 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
6394 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
6395 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
6396 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
6397 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
6398 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
6399 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
6400 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
6401 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
6402 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
6403 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
6404 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
6405 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
6406 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
6407 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
6408 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
6409 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
6410 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
6411 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
6412 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
6413 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
6414 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
6415 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
6416 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
6417 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
6418 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
6419 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
6420 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6421 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
6422 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
6423 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
6424 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
6425 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
6426 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
6428 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6430 * Rules (%.out): Define GCONV_PATH in the environment.
6431 * assert/Depend: New file.
6432 * iconvdata/Depend: New file.
6433 * intl/Depend: New file.
6434 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
6435 * intl/tst-gettext.sh: Likewise.
6436 * iconv/Makefile (routines): Add gconv_trans.
6437 * iconv/gconv_trans.c: New file.
6438 * iconv/gconv.h (struct __gconv_trans_data): New type.
6439 (__gconv_fct): New parameter with starting position in output buffer.
6440 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
6441 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
6442 (struct __gconv_step): Add new member __trans.
6443 * iconv/gconv_int.h: Pretty print prototypes.
6444 (gconv_transliterate): New prototype.
6445 (__BUILTIN_TRANS): Update for new conversion function interface.
6446 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
6447 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
6448 in names, find appropriate function, and install in the conversion
6449 steps it can be used.
6450 * iconv/skeleton.c: Add additional parameter for beginning of output
6451 buffer. Change calls of downstream functions.
6452 * iconv/loop.c: Change loop function interface completely. Pass in
6453 step and step_data structure. Remove optimization for BODY with
6454 NEED_LENGTH_TEST == 0.
6455 * iconv/gconv_simple.c: Update interfaces of functions. Insert
6456 appropriate error handling code to use transliteration steps. Remove
6457 optimization for BODY with NEED_LENGTH_TEST == 0.
6458 * iconvdata/8bit-gap.c: Likewise.
6459 * iconvdata/8bit-generic.c: Likewise.
6460 * iconvdata/ansi_x3.110.c: Likewise.
6461 * iconvdata/big5.c: Likewise.
6462 * iconvdata/big5hkscs.c: Likewise.
6463 * iconvdata/euc-cn.c: Likewise.
6464 * iconvdata/euc-jp.c: Likewise.
6465 * iconvdata/euc-kr.c: Likewise.
6466 * iconvdata/euc-tw.c: Likewise.
6467 * iconvdata/gbgbk.c: Likewise.
6468 * iconvdata/gbk.c: Likewise.
6469 * iconvdata/iso-2022-cn.c: Likewise.
6470 * iconvdata/iso-2022-jp.c: Likewise.
6471 * iconvdata/iso-2022-kr.c: Likewise.
6472 * iconvdata/iso646.c: Likewise.
6473 * iconvdata/iso8859-1.c: Likewise.
6474 * iconvdata/iso_6937-2.c: Likewise.
6475 * iconvdata/iso_6937.c: Likewise.
6476 * iconvdata/johab.c: Likewise.
6477 * iconvdata/sjis.c: Likewise.
6478 * iconvdata/t.61.c: Likewise.
6479 * iconvdata/uhc.c: Likewise.
6480 * iconvdata/unicode.c: Likewise.
6481 * iconvdata/utf-16.c: Likewise.
6482 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
6484 * wcsmbs/btowc.c: Likewise.
6485 * wcsmbs/mbrtowc.c: Likewise.
6486 * wcsmbs/mbsnrtowcs.c: Likewise.
6487 * wcsmbs/mbsrtowcs.c: Likewise.
6488 * wcsmbs/wcrtomb.c: Likewise.
6489 * wcsmbs/wcsnrtombs.c: Likewise.
6490 * wcsmbs/wcsrtombs.c: Likewise.
6491 * wcsmbs/wctob.c: Likewise.
6493 2000-04-11 Geoff Keating <geoffk@cygnus.com>
6495 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
6496 other header files. Mention about 128-byte cache line sizes.
6497 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
6498 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
6499 for current calling sequence.
6500 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
6502 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
6503 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6505 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
6506 and setrlimit syscalls for backwards compatibility.
6508 2000-06-10 Ulrich Drepper <drepper@redhat.com>
6510 * iconv/skeleton.c: Rename converted written to correcter name
6512 * iconv/gconv.c: Rename converted variable to correcter name
6514 * iconv/gconv_int.h: Likewise.
6515 * iconv/gconv_simple.c: Likewise.
6516 * iconv/iconv.c: Likewise.
6517 * iconv/loop.c: Likewise.
6518 * iconvdata/8bit-gap.c: Likewise.
6519 * iconvdata/8bit-generic.c: Likewise.
6520 * iconvdata/ansi_x3.110.c: Likewise.
6521 * iconvdata/big5.c: Likewise.
6522 * iconvdata/big5hkscs.c: Likewise.
6523 * iconvdata/euc-cn.c: Likewise.
6524 * iconvdata/euc-jp.c: Likewise.
6525 * iconvdata/euc-kr.c: Likewise.
6526 * iconvdata/gbgbk.c: Likewise.
6527 * iconvdata/gbk.c: Likewise.
6528 * iconvdata/iso-2022-cn.c: Likewise.
6529 * iconvdata/iso-2022-jp.c: Likewise.
6530 * iconvdata/iso-2022-kr.c: Likewise.
6531 * iconvdata/iso646.c: Likewise.
6532 * iconvdata/iso8859-1.c: Likewise.
6533 * iconvdata/iso_6937-2.c: Likewise.
6534 * iconvdata/iso_6937.c: Likewise.
6535 * iconvdata/johab.c: Likewise.
6536 * iconvdata/sjis.c: Likewise.
6537 * iconvdata/t.61.c: Likewise.
6538 * iconvdata/uhc.c: Likewise.
6539 * iconvdata/unicode.c: Likewise.
6540 * iconvdata/utf-16.c: Likewise.
6542 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
6543 __cmsg_data field with __extension__.
6545 2000-06-10 David Mosberger <davidm@hpl.hp.com>
6547 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
6549 2000-06-10 Ulrich Drepper <drepper@redhat.com>
6551 * iconv/gconv_simple.c: Fix various small bugs in several
6554 * iconv/loop.c: Fix comment.
6556 2000-06-10 Jakub Jelinek <jakub@redhat.com>
6558 * elf/link.h: Remove libc internal declarations.
6559 * include/link.h: Move them here.
6561 2000-06-09 Ulrich Drepper <drepper@redhat.com>
6563 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
6564 Patch by Dan Pop <Dan.Pop@cern.ch>.
6566 Rewrite error message handling.
6567 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
6569 * elf/dl-error (struct catch): Add objname member.
6570 (_dl_signal_error): Take new parameter with object name. When
6571 passing message on simply store object name and duplicate error
6573 (_dl_catch_error): Take new parameter. Store object name in the
6575 * include/dlfcn.h: Adjust _dl_catch_error prototype.
6576 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
6577 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
6578 (dlerror): Add objname to asprintf() parameters.
6579 (_dl_error_run): Pass new parameter to _dl_catch_error.
6580 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
6581 * elf/dl-open.c (_dl_open): Likewise.
6582 * elf/rtld.c (dl_main): Likewise.
6583 * elf/dl-close.c: Mark error messages with N_().
6584 * elf/dl-deps.c: Likewise.
6585 * elf/dl-error.c: Likewise.
6586 * elf/dl-load.c: Likewise.
6587 * elf/dl-open.c: Likewise.
6588 * elf/dl-reloc.c: Likewise.
6589 * elf/dl-support.c: Likewise.
6590 * elf/dl-sym.c: Likewise.
6591 * elf/dl-version.c: Likewise.
6592 * elf/dl-lookup.c: Add comments about problems with error message
6594 * elf/dl-reloc.c: Likewise.
6595 * elf/dl-version.c: Likewise.
6597 2000-06-09 H.J. Lu <hjl@gnu.org>
6599 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
6602 * dlfcn/Makefile (distribute): Add failtestmod.c.
6603 (tests): Add failtest.
6604 Add rules to build and run failtest.
6605 * dlfcn/failtest.c: New file.
6606 * dlfcn/failtestmod.c: New file.
6608 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
6610 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
6611 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
6612 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
6613 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
6614 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
6616 2000-06-09 Jes Sorensen <jes@linuxcare.com>
6618 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
6619 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
6621 2000-06-09 Jes Sorensen <jes@linuxcare.com>
6622 Ulrich Drepper <drepper@redhat.com>
6624 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
6625 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
6626 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
6627 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
6628 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
6629 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
6631 2000-06-09 Ulrich Drepper <drepper@redhat.com>
6633 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
6634 to find correct mount point despite wrong information from the
6637 2000-06-09 Jes Sorensen <jes@linuxcare.com>
6639 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
6640 the address of a symbol so function pointers are handled properly.
6642 2000-06-08 Ulrich Drepper <drepper@redhat.com>
6644 * sysdeps/i386/Dist: Add bp-asm.h.
6646 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
6647 defaultdir variable instead of "/var/shm" everywhere.
6648 (defaultdir): Change to /dev/shm/.
6650 2000-06-08 Greg McGary <greg@mcgary.org>
6652 * sysdeps/i386/bp-asm.h: New file.
6653 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
6654 offsets. Add ENTER/LEAVE macros for optionally maintaining
6655 frame-pointer chain when debugging.
6656 * sysdeps/i386/add_n.S: Likewise.
6657 * sysdeps/i386/addmul_1.S: Likewise.
6658 * sysdeps/i386/lshift.S: Likewise.
6659 * sysdeps/i386/memchr.S: Likewise.
6660 * sysdeps/i386/memcmp.S: Likewise.
6661 * sysdeps/i386/mul_1.S: Likewise.
6662 * sysdeps/i386/rawmemchr.S: Likewise.
6663 * sysdeps/i386/rshift.S: Likewise.
6664 * sysdeps/i386/stpcpy.S: Likewise.
6665 * sysdeps/i386/stpncpy.S: Likewise.
6666 * sysdeps/i386/strchr.S: Likewise.
6667 * sysdeps/i386/strchrnul.S: Likewise.
6668 * sysdeps/i386/strcspn.S: Likewise.
6669 * sysdeps/i386/strpbrk.S: Likewise.
6670 * sysdeps/i386/strrchr.S: Likewise.
6671 * sysdeps/i386/strspn.S: Likewise.
6672 * sysdeps/i386/strtok.S: Likewise.
6673 * sysdeps/i386/sub_n.S: Likewise.
6674 * sysdeps/i386/submul_1.S: Likewise.
6675 * sysdeps/i386/elf/setjmp.S: Likewise.
6676 * sysdeps/i386/i486/strcat.S: Likewise.
6677 * sysdeps/i386/i486/strlen.S: Likewise.
6678 * sysdeps/i386/i586/add_n.S: Likewise.
6679 * sysdeps/i386/i586/lshift.S: Likewise.
6680 * sysdeps/i386/i586/memcpy.S: Likewise.
6681 * sysdeps/i386/i586/memset.S: Likewise.
6682 * sysdeps/i386/i586/rshift.S: Likewise.
6683 * sysdeps/i386/i586/strchr.S: Likewise.
6684 * sysdeps/i386/i586/strcpy.S: Likewise.
6685 * sysdeps/i386/i586/strlen.S: Likewise.
6686 * sysdeps/i386/i586/sub_n.S: Likewise.
6687 * sysdeps/i386/i686/add_n.S: Likewise.
6688 * sysdeps/i386/i686/memcpy.S: Likewise.
6689 * sysdeps/i386/i686/mempcpy.S: Likewise.
6690 * sysdeps/i386/i686/memset.S: Likewise.
6691 * sysdeps/i386/i686/strcmp.S: Likewise.
6693 2000-06-08 Ulrich Drepper <drepper@redhat.com>
6695 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
6697 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
6698 256 and don't use OPEN_MAX.
6700 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
6701 use it instead of LINK_MAX.
6702 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
6704 2000-06-08 Andreas Jaeger <aj@suse.de>
6706 * libio/genops.c (_IO_list_lock): Only compile body if we're
6708 (_IO_list_unlock): Likewise.
6709 (_IO_list_resetlock): Likewise.
6711 2000-06-07 Ulrich Drepper <drepper@redhat.com>
6713 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
6714 unless user defined it.
6716 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
6717 if not defined by the user.
6719 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
6720 * libio/iofwrite.c (_IO_fwrite): Likewise.
6722 * time/time.h: Add missing __THROW for clock_getcpuclockid
6725 * elf/Makefile (distribute): Add dl-dtprocnum.h.
6726 * include/elf.h: Include also <dl-dtprocnum.h>.
6727 * elf/dl-deps.c: Likewise.
6728 * elf/dl-lookup.c: Likewise.
6729 * elf/dl-runtime.c: Likewise.
6730 * elf/dl-version.c: Likewise.
6731 * elf/do-rel.h: Likewise.
6732 * elf/dynamic-link.h: Likewise.
6733 * elf/link.h: Likewise.
6734 * elf/rtld.c: Likewise.
6735 * sysdeps/generic/dl-dtprocnum.h: New file.
6736 * sysdeps/ia64/dl-dtprocnum.h: New file.
6737 * sysdeps/mips/dl-dtprocnum.h: New file.
6738 * sysdeps/sparc/dl-dtprocnum.h: New file.
6740 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
6742 * elf/do-lookup.h: Add some __builtin_expect.
6744 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
6746 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
6747 (_dl_dynamic_weak): New variable.
6748 * elf/dl-support.c: Likewise.
6749 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
6750 * elf/do-lookup.h: If we find a weak definition treat it like a
6751 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
6752 case treat it like before.
6754 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
6756 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
6758 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
6759 using l_map_start and l_map_end.
6761 * elf/dl-version.c: Add __builtin_expect in many places.
6763 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
6766 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
6768 Lock for stdio stream list becomes global, for use in LinuxThreads.
6770 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
6771 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
6772 _IO_list_resetlock): New interface for iterating global list of
6773 streams without accessing the _IO_list_all global variable,
6774 and for manipulating the lock which protects this list.
6775 * libio/libioP.h: Likewise.
6776 * libio/Version: Add entries for the new functions.
6778 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
6779 pointer to _IO_FILE.
6781 2000-06-07 Ulrich Drepper <drepper@redhat.com>
6783 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
6784 BIT() must actually be BITw().
6786 * locale/programs/ld-ctype.c: Handle SP and space consistently.
6788 * locale/programs/charmap.c: Allow string arguments for
6789 code_set_name and repertoiremap.
6791 2000-06-07 Andreas Jaeger <aj@suse.de>
6793 * elf/Makefile: Build ldconfig only when building shared libraries.
6795 2000-06-07 Jakub Jelinek <jakub@redhat.com>
6797 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
6799 (fdimf, __fdim, fdim): Likewise.
6801 2000-06-07 Ulrich Drepper <drepper@redhat.com>
6803 * locale/findlocale.c: Add __builtin_expect in many places.
6804 * locale/loadlocale.c: Likewise.
6806 2000-06-06 Greg McGary <greg@mcgary.org>
6808 * sysdeps/mips/elf/start.S: Trim redundant code.
6810 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
6811 Use C comments throughout. Line up operands column with tabs.
6812 * sysdeps/powerpc/strchr.S: Likewise.
6813 * sysdeps/powerpc/strcmp.S: Likewise.
6814 * sysdeps/powerpc/strcpy.S: Likewise.
6815 * sysdeps/powerpc/strlen.S: Likewise.
6817 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
6818 Get low part of &__curbrk with @l.
6820 2000-06-06 Ulrich Drepper <drepper@redhat.com>
6822 * iconvdata/utf-16.c: Add __builtin_expect in many places.
6823 * iconvdata/unicode.c: Likewise.
6824 * iconvdata/uhc.c: Likewise.
6825 * iconvdata/t.61.c: Likewise.
6826 * iconvdata/sjis.c: Likewise.
6827 * iconvdata/johab.c: Likewise.
6828 * iconvdata/iso_6937.c: Likewise.
6829 * iconvdata/iso_6937-2.c: Likewise.
6830 * iconvdata/iso8859-1.c: Likewise.
6831 * iconvdata/iso646.c: Likewise.
6832 * iconvdata/iso-2022-kr.c: Likewise.
6833 * iconvdata/iso-2022-jp.c: Likewise.
6834 * iconvdata/iso-2022-cn.c: Likewise.
6835 * iconvdata/gbgbk.c: Likewise.
6836 * iconvdata/gbk.c: Likewise.
6837 * iconvdata/euc-kr.c: Likewise.
6838 * iconvdata/euc-jp.c: Likewise.
6839 * iconvdata/euc-cn.c: Likewise.
6841 2000-06-05 Ulrich Drepper <drepper@redhat.com>
6843 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
6844 * iconvdata/big5.c: Likewise.
6845 * iconvdata/ansi_x3.110.c: Likewise.
6846 * iconvdata/8bit-generic.c: Likewise.
6847 * iconvdata/8bit-gap.c: Likewise.
6848 * iconv/loop.c: Likewise.
6849 * iconv/gconv_db.c: Likewise.
6850 * iconv/gconv_dl.c: Likewise.
6851 * iconv/gconv_simple.c: Likewise.
6852 * iconv/skeleton.c: Likewise.
6854 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
6855 (struct __gconv_step_data): Rename __is_last to __flags.
6856 * iconv/gconv_close.c: Change all uses of __is_last.
6857 * iconv/skeleton.c: Likewise.
6858 * iconvdata/iso-2022-cn.c: Likewise.
6859 * iconvdata/iso-2022-jp.c: Likewise.
6860 * iconvdata/iso-2022-kr.c: Likewise.
6861 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
6862 Recognize IGNORE error handling, set flag, and remove from name.
6863 * iconv/loop.c (ignore_errors_p): Define.
6864 Add flags parameter to both functions.
6865 * iconv/skeleton.c: Pass flags to all conversion functions.
6866 * iconv/gconv_simple.c: Add flags parameter to all functions.
6867 Don't return error for invald error if ignore flag is set.
6868 (ucs4_internal_loop_single): Add missing pointer increment.
6869 (internal_ucs4le_loop_single): Likewise.
6870 * iconv/iconv_prog.c: Implement handling of -c parameter.
6871 * iconvdata/8bit-gap.c: Don't return error for invald error if
6873 * iconvdata/8bit-generic.c: Likewise.
6874 * iconvdata/ansi_x3.110.c: Likewise.
6875 * iconvdata/big5.c: Likewise.
6876 * iconvdata/big5hkscs.c: Likewise.
6877 * iconvdata/euc-cn.c: Likewise.
6878 * iconvdata/euc-jp.c: Likewise.
6879 * iconvdata/euc-kr.c: Likewise.
6880 * iconvdata/gbgbk.c: Likewise.
6881 * iconvdata/gbk.c: Likewise.
6882 * iconvdata/iso-2022-cn.c: Likewise.
6883 * iconvdata/iso-2022-jp.c: Likewise.
6884 * iconvdata/iso-2022-kr.c: Likewise.
6885 * iconvdata/iso646.c: Likewise.
6886 * iconvdata/iso8859-1.c: Likewise.
6887 * iconvdata/iso_6937-2.c: Likewise.
6888 * iconvdata/iso_6937.c: Likewise.
6889 * iconvdata/johab.c: Likewise.
6890 * iconvdata/sjis.c: Likewise.
6891 * iconvdata/t.61.c: Likewise.
6892 * iconvdata/uhc.c: Likewise.
6893 * iconvdata/unicode.c: Likewise.
6894 * iconvdata/utf-16.c: Likewise.
6895 * libio/fileops.c: Likewise.
6896 * libio/iofwide.c: Likewise.
6897 * wcsmbs/btowc.c: Likewise.
6898 * wcsmbs/mbrtowc.c: Likewise.
6899 * wcsmbs/mbsnrtowcs.c: Likewise.
6900 * wcsmbs/mbsrtowcs.c: Likewise.
6901 * wcsmbs/wcrtomb.c: Likewise.
6902 * wcsmbs/wcsnrtombs.c: Likewise.
6903 * wcsmbs/wcsrtombs.c: Likewise.
6904 * wcsmbs/wctob.c: Likewise.
6906 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
6909 2000-06-04 Ulrich Drepper <drepper@redhat.com>
6911 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
6912 counter for the object we are releasing, just decrement it.
6913 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
6915 2000-06-04 Jakub Jelinek <jakub@redhat.com>
6917 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
6920 2000-06-04 Ulrich Drepper <drepper@redhat.com>
6922 * iconvdata/big5hkscs.c: New file.
6923 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
6925 * iconvdata/gconv-modules: Add entry for new module.
6926 * iconvdata/Makefile (modules): Add BIG5HKSCS.
6927 (distribute): Add big5hkscs.c.
6929 2000-06-01 Jakub Jelinek <jakub@redhat.com>
6931 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
6932 inlines to match prototypes in mathcalls.h.
6933 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
6934 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
6935 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
6936 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6938 2000-06-03 Ulrich Drepper <drepper@redhat.com>
6940 * elf/elf.h (SHT_SUNW_move): Define.
6942 * elf/elf.h: Add more Solaris compatiblity definitions.
6944 2000-06-03 Andreas Jaeger <aj@suse.de>
6946 * sysdeps/powerpc/dl-start.S: Close open comment.
6948 2000-06-03 Jakub Jelinek <jakub@redhat.com>
6950 * inet/Versions: Fix typo in rresvport_af export.
6952 2000-06-02 Ulrich Drepper <drepper@redhat.com>
6954 * math/tgmath.h: Pretty print.
6956 2000-06-02 Andreas Jaeger <aj@suse.de>
6958 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
6959 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
6961 2000-06-02 Ulrich Drepper <drepper@redhat.com>
6963 * elf/rtld.c (process_envvars): Test for = after variable name.
6965 2000-06-01 Ulrich Drepper <drepper@redhat.com>
6967 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
6968 have extra call to __gmon_start__, use the pointer we already have.
6970 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
6973 * sysdeps/i386/elf/setjmp.S: Work around change is recent
6974 binutils. gas now emits a jump through the PLT instead of a
6975 relative jump if the jump target is an exported symbol.
6977 2000-05-31 Ulrich Drepper <drepper@redhat.com>
6979 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
6981 2000-05-31 Andreas Jaeger <aj@suse.de>
6983 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
6986 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
6987 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
6989 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
6991 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
6993 2000-05-30 Ulrich Drepper <drepper@redhat.com>
6995 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
6997 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
6998 * locale/localeconv.c: Make function versioned (with same definition).
7000 * elf/Makefile (modules-names): Strip before using it.
7002 2000-05-30 Andreas Jaeger <aj@suse.de>
7004 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
7005 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
7006 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
7007 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
7008 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
7009 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
7011 2000-05-29 Ulrich Drepper <drepper@redhat.com>
7013 * Makefile: Add GNU make magic.
7015 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
7017 * inet/rcmd.c: Remove __P. Remove unused variables.
7018 (iruserfopen): Make first parameter const.
7019 (ruserok_sa): Return result of ruserok2_sa.
7020 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
7021 * inet/rexec.c: Remove unused variables. Other small cleanups.
7022 * inet/ruserpass.c: Remove __P. Remove unused variables.
7023 (ruserpass): Check results of memory allocation.
7024 * include/netdb.h: Add prototype for ruserpass.
7026 2000-05-29 Andreas Jaeger <aj@suse.de>
7028 * elf/readlib.c (interpreters): Use LD_SO since this is supported
7031 2000-05-29 Jakub Jelinek <jakub@redhat.com>
7033 * inet/rcmd.c (rresvport_af): Use correct port number.
7035 2000-05-26 Andreas Schwab <schwab@suse.de>
7037 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
7038 entries in all-sonames.
7039 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
7040 preserving the old name if different for compatibility.
7042 2000-05-29 Ulrich Drepper <drepper@redhat.com>
7044 * posix/Makefile (tests): Add tst-spawn.
7045 (tst-spawn-ARGS): New variable.
7046 * posix/tst-spawn.c: New file.
7048 * posix/spawn_faction_addclose.c: Correctly account for new entry.
7049 * posix/spawn_faction_adddup2.c: Likewise.
7050 * posix/spawn_faction_addopen.c: Likewise.
7051 * posix/spawni.c: Correctly test for success of dup2 calls.
7053 * posix/tst-preadwrite.c: Check success of malloc call.
7055 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7057 * posix/Makefile (tests): Add tst-exec.
7058 (tst-exec-ARGS): New variable.
7059 * posix/tst-exec.c: New file.
7061 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
7063 2000-05-04 Andreas Jaeger <aj@suse.de>
7065 * string/string.h: Remove __strdup prototype, it's not needed in
7068 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7070 * posix/Makefile (tests): Add tst-fork.
7071 * posix/tst-fork.c: New file.
7073 * resolv/inet_pton.c: Loose __P.
7075 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7077 * libio/libioP.h (_IO_CHECK_WIDE): Define.
7078 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
7079 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
7080 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
7081 _IO_CHECK_WIDE fails.
7083 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7085 * po/da.po: New file.
7087 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
7088 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
7090 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
7091 (Other iconv Implementations): Fix typo.
7092 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
7094 2000-05-27 Andreas Jaeger <aj@suse.de>
7096 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
7098 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
7099 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
7100 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7101 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7102 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
7103 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
7105 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
7106 endianness to decide how to pass arguments.
7107 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7109 * elf/vismain.c: Use test-skeleton interface.
7110 (TEST_FUNCTION): New macro.
7111 (do_test): Renamed from main.
7113 2000-05-27 Ulrich Drepper <drepper@redhat.com>
7115 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
7116 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
7118 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
7119 handling of AI_V4MAPPED flag.
7121 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
7122 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
7123 perform lookup for T_A type and tell getanswer_r to convert the
7124 result with new argument.
7125 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
7126 Don't convert addresses from IPv4 to IPv6 here.
7127 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
7128 IPv6 is wanted. Allow qtype and type from reply to disagree if
7129 IPv4 mapping has to be done. Perform mappings if required by the
7130 caller and not if RES_USE_INET6 bit in _res.options is set.
7131 Add several __builtin_expect.
7133 2000-05-26 Ulrich Drepper <drepper@redhat.com>
7135 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
7137 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
7140 * posix/tst-preadwrite.c: Allow parallel execution of
7141 tst-preadwrite and tst-preadwrite64.
7143 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
7144 * posix/tst-truncate.c: New file.
7145 * posix/tst-truncate64.c: New file.
7147 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
7150 * posix/Makefile (tests): Add tst-preadwrite64.
7151 * posix/tst-preadwrite.c: Alloc file being used also for testing
7152 pread64 and pwrite64.
7153 * posix/tst-preadwrite64.c: New file.
7155 2000-05-26 Andreas Jaeger <aj@suse.de>
7157 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
7158 of arguments dependend on endianness.
7159 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
7161 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
7163 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
7164 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
7165 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7166 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7168 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
7169 endianness to check how to pass argument.
7170 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7172 * elf/ldconfig.h: Update parameter list for process_elf_file.
7174 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
7175 Add parameter file_length and pass it ot process_elf*file.
7177 * sysdeps/generic/readelflib.c (check_ptr): New.
7178 (process_elf_file): Use check_ptr to check all accesses to the
7179 mmapped file. Add parameter file_length.
7181 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
7184 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
7185 Closes PR libc/1573, reported by Bradley White
7186 <bww@laurelnetworks.com>.
7188 2000-05-25 Ulrich Drepper <drepper@redhat.com>
7190 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
7191 __FAST_MATH__ is defined.
7193 2000-05-22 Andreas Jaeger <aj@suse.de>
7195 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
7196 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
7198 * manual/math.texi (FP Function Optimizations): Document gcc
7199 -ffast-math behaviour with mathinlines.
7201 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
7202 functions unless -ffast-math is given to gcc.
7204 2000-05-23 Jakub Jelinek <jakub@redhat.com>
7206 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
7207 __sincosl): Guard with __USE_GNU.
7209 2000-05-24 Ulrich Drepper <drepper@redhat.com>
7211 * csu/Makefile (routines): Add check_fds.
7212 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
7213 binaries. Add various __builtin_expect.
7214 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
7215 * sysdeps/generic/check_fds.c: ...here. New file.
7217 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
7218 binaries if file /etc/suid-debug is available.
7220 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
7221 and wcseqorder members.
7222 (struct locale_collate_t): Likewise.
7223 (collate_finish): Assign collation sequence value to each character.
7224 Create tables for output.
7225 (collate_output): Write out tables with collation sequence information.
7226 * locale/C-collate.c: Provide C locale data for collation sequence
7228 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
7229 _NL_COLLATE_COLLSEQWC.
7230 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
7231 _NL_COLLATE_COLLSEQWC.
7232 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
7233 include fnmatch_loop.c.
7234 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
7235 character is matched by range expression. Use collation sequence
7236 table. Outside glibc fall back on simple character value comparison.
7238 2000-05-24 Andreas Jaeger <aj@suse.de>
7240 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
7243 * intl/Makefile: Run gettext-test only if msgfmt is available.
7245 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
7246 Define it for newer kernels.
7248 2000-05-23 Ulrich Drepper <drepper@redhat.com>
7250 * elf/dl-sym.c: Minor cleanups.
7252 * configure.in: Add test for .protected.
7253 * config.make.in: Add have-protected variable.
7254 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
7255 (tests-vis-yes): Add vismain.
7256 (modules-names): Add $(modules-vis-$(have-protected)).
7257 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
7258 Add rules to generate and run vismain.
7259 * elf/vismain.c: New file.
7260 * elf/vismod1.c: New file.
7261 * elf/vismod2.c: New file.
7262 * elf/vismod3.c: New file.
7264 2000-05-23 Andreas Jaeger <aj@suse.de>
7266 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
7268 * manual/search.texi (Array Sort Function): Document that qsort is
7269 not necessarily in-place.
7271 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
7272 Closes PR libc/1731.
7274 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
7275 * dirent/scandir64.c: Likewise.
7276 * pwd/getpw.c: Likewise.
7277 * stdlib/bsearch.c (bsearch): Likewise.
7278 * stdlib/tst-strtoll.c: Likewise.
7279 * localedata/collate-test.c: Likewise.
7280 * localedata/xfrm-test.c: Likewise.
7281 * posix/bsd-getpgrp.c: Likewise.
7282 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
7283 * sysdeps/generic/bits/siginfo.h: Likewise.
7284 * sysdeps/generic/bits/sockaddr.h: Likewise.
7285 * sysdeps/generic/sys/swap.h: Likewise.
7286 * sysdeps/generic/sys/sysinfo.h: Likewise.
7287 * sysdeps/generic/vfork.c: Likewise.
7288 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
7289 * sysdeps/mach/hurd/fdopen.c: Likewise.
7290 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
7291 * sysdeps/unix/sysv/linux/poll.c: Likewise.
7292 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7293 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7294 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7295 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7296 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
7298 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
7299 * shadow/lckpwdf.c: Likewise.
7300 * stdlib/tst-strtol.c: Likewise.
7301 * sysdeps/generic/tcsetattr.c: Likewise.
7302 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7303 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7305 2000-05-22 Jakub Jelinek <jakub@redhat.com>
7307 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
7308 free it and set to (void *) -1.
7310 2000-05-22 Jakub Jelinek <jakub@redhat.com>
7312 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
7313 not the second character in the range.
7314 * stdio-common/tstscanf.c (main): Add testcase for the above.
7315 Reported by jik@kamens.brookline.ma.us.
7317 2000-05-21 H.J. Lu <hjl@gnu.org>
7319 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
7320 with noexec and noplt parameter.
7321 (do_lookup): Likewise.
7323 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
7324 do_lookup. Support STV_PROTECTED.
7325 (_dl_lookup_symbol_skip): Likewise.
7326 (_dl_lookup_versioned_symbol): Likewise.
7327 (_dl_lookup_versioned_symbol_skip): Likewise.
7329 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
7331 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
7333 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7335 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
7336 * sysdeps/i386/bits/huge_val.h: Likewise.
7337 * sysdeps/ieee754/bits/huge_val.h: Likewise.
7338 * sysdeps/m68k/bits/huge_val.h: Likewise.
7339 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
7340 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
7342 2000-05-22 Andreas Jaeger <aj@suse.de>
7344 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
7347 2000-05-19 Andreas Jaeger <aj@suse.de>
7349 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
7350 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
7351 breaks compilation without linuxthreads.
7353 2000-05-21 Ulrich Drepper <drepper@redhat.com>
7355 * sysdeps/ia64/memccpy.S: New file.
7356 * sysdeps/ia64/memchr.S: New file.
7357 * sysdeps/ia64/memcmp.S: New file.
7358 * sysdeps/ia64/memcpy.S: New file.
7359 * sysdeps/ia64/memmove.S: New file.
7360 * sysdeps/ia64/memset.S: New file.
7361 * sysdeps/ia64/strcat.S: New file.
7362 * sysdeps/ia64/strchr.S: New file.
7363 * sysdeps/ia64/strcmp.S: New file.
7364 * sysdeps/ia64/strcpy.S: New file.
7365 * sysdeps/ia64/strlen.S: New file.
7366 * sysdeps/ia64/strncmp.S: New file.
7367 * sysdeps/ia64/strncpy.S: New file.
7368 * sysdeps/ia64/softpipe.h: New file.
7369 Patches by Dan Pop <Dan.Pop@cern.ch>.
7371 * manual/memory.texi: Document memory handling functions (mlock,
7372 munlock, mlockall, munlockall, brk, and sbrk)
7373 * manual/time.texi: Document timespec and friends.
7374 * manual/conf.texi: Fix references.
7375 * manual/ctype.texi: Likewise.
7376 * manual/errno.texi: Likewise.
7377 * manual/intro.texi: Likewise.
7378 * manual/locale.texi: Likewise.
7379 * manual/sysinfo.texi: Likewise.
7380 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
7382 2000-05-09 Jes Sorensen <jes@linuxcare.com>
7384 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
7385 * sysdeps/ia64/dl-lookupcfg.h: ...here.
7387 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7389 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
7392 2000-05-21 Ulrich Drepper <drepper@redhat.com>
7394 * locale/locale.h (struct lconv): Add new elements from ISO C99.
7395 * locale/localeconv.c: Initialize new elements from ISO C99.
7396 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
7397 new standard elements.
7398 * locale/categories.def: Adjust accordingly.
7400 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
7401 * iconv/iconv.c: Likewise.
7402 * conform/data/iconv.h-data: Likewise.
7403 * iconv/iconv_prog.c (process_block): Remove const from second
7405 (main): Remove const from addr definition.
7406 * manual/charset.texi (Generic Conversion Interface): Remove from
7407 inbuf parameter of iconv.
7409 * intl/dcigettext.c: Fix typo in comment.
7411 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
7413 * resolv/res_libc.c (_res): Initialize _sock to -1.
7415 2000-05-18 Jakub Jelinek <jakub@redhat.com>
7417 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
7418 (fopencookie@@GLIBC_2.2): New.
7419 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
7420 (fopencookie@GLIBC_2.0): New.
7421 * libio/Versions: Add fopencookie to GLIBC_2.2.
7423 2000-05-18 Andreas Jaeger <aj@suse.de>
7425 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
7426 Closes PR libc/1731.
7428 * manual/arith.texi (Parsing of Integers): Fix typo.
7429 Closes PR libc/1744, reported by blp@gnu.org.
7431 2000-05-17 Jakub Jelinek <jakub@redhat.com>
7433 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
7434 __extension__ to hexadecimal floating constant notation.
7435 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
7437 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
7438 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
7440 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
7441 HUGE_VALL): Likewise.
7442 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
7443 HUGE_VALL): Likewise.
7444 (HUGE_VALL): Set to HUGE_VAL on sparc32.
7446 2000-05-17 Andreas Jaeger <aj@suse.de>
7448 * string/envz.h: Add pure attributes if possible.
7450 * string/argz.h: argz_count is a pure function.
7452 * string/strings.h: Add pure and const attributes if possible.
7454 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
7455 possibly searching through the whole memory.
7456 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
7458 2000-05-17 Jakub Jelinek <jakub@redhat.com>
7460 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
7462 (_dl_cache_check_flags): Likewise.
7463 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
7466 2000-05-17 Andreas Jaeger <aj@suse.de>
7468 * manual/creature.texi (Feature Test Macros): Remove paragraph
7469 since the description is wrong.
7470 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
7472 * scripts/config.sub: New version.
7473 * scripts/config.guess: Likewise.
7474 * manual/texinfo.tex: Likewise.
7476 * time/test_time.args: Removed.
7477 * time/Makefile (test_time-ARGS): Added contents here instead.
7479 * posix/tstgetopt.args: Removed.
7480 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
7482 * Rules: Allow arguments for test files to be specified in
7483 Makefile with testname-ARGS; remove rules with .args in it.
7485 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
7486 remove old bogus rule for opendir-tst1.args.
7488 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
7490 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
7491 into objdir. This allows a readonly sourcetree.
7492 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
7494 2000-05-16 Andreas Jaeger <aj@suse.de>,
7495 David Huggins-Daines <dhd@linuxcare.com>
7497 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
7498 cache_data in case of only new cache format correctly.
7500 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
7503 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
7504 struct cache_file_new.
7506 * elf/cache.c (save_cache): Fix str_offset if only new cache is
7509 * elf/cache.c (save_cache): Align struct new_file_cache.
7510 (print_cache): Likewise.
7512 2000-05-13 Jakub Jelinek <jakub@redhat.com>
7514 * elf/soinit.c (__libc_global_ctors): Move
7515 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
7516 * resolv/resolv.h (__res_state): Added __attribute__((const)).
7517 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
7518 variable, don't define it to __res_state call.
7520 2000-05-13 Andreas Jaeger <aj@suse.de>
7522 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
7524 (AF_PPPOX): Likewise.
7525 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
7526 (AF_PPPOX): Likewise.
7528 2000-05-12 Andreas Jaeger <aj@suse.de>
7530 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
7531 Reported by tmoestl@gmx.net, closes PR libc/1732.
7533 2000-05-11 Jan Hubicka <jh@suse.cz>
7535 * misc/sys/cdefs.h: Add support for pure attribute.
7537 * include/string.h: Add __attribute_pure__ to various functions.
7538 * string/string.h: Likewise.
7540 2000-05-10 Jakub Jelinek <jakub@redhat.com>
7542 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
7544 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7546 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
7548 2000-05-10 Jakub Jelinek <jakub@redhat.com>
7550 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
7551 at proper place. Compute the high nibble correctly.
7553 2000-05-09 Jakub Jelinek <jakub@redhat.com>
7555 * elf/ldconfig.c: Include elf.h.
7557 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
7558 (_dl_vsym): Likewise.
7559 Reported by Owen Taylor <otaylor@redhat.com>.
7561 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
7564 2000-05-08 Andreas Jaeger <aj@suse.de>
7566 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
7568 * intl/bindtextdom.c (set_binding_values): Add prototype.
7570 2000-05-08 Jakub Jelinek <jakub@redhat.com>
7572 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
7573 call to elf_machine_fixup_plt.
7574 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7575 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7577 2000-05-08 Jakub Jelinek <jakub@redhat.com>
7579 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
7580 they are not dlclose'd from underneath us.
7582 2000-05-08 Andreas Schwab <schwab@suse.de>
7584 * posix/execle.c: Fix size parameter of memcpy.
7586 2000-05-08 Andreas Schwab <schwab@suse.de>
7588 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
7589 getpagesize syscall if available.
7591 2000-05-08 Andreas Jaeger <aj@suse.de>
7593 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
7596 2000-05-08 Jakub Jelinek <jakub@redhat.com>
7598 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
7599 sizeof(struct link_map *) chunks, not in bytes.
7601 2000-05-07 Ulrich Drepper <drepper@redhat.com>
7603 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
7604 only needed for locale.
7605 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
7606 It's only needed for catgets.
7607 Patches by Greg McGary <gkm@eng.ascend.com>.
7609 2000-05-07 Mark Kettenis <kettenis@gnu.org>
7611 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
7612 Remove duplicate <errno.h> include. Remove inclusion of
7613 <libintl.h> and "nsswitch.h".
7614 (set_cloexec_flag): New function, broken out of dbopen.
7615 (dbopen): Changed return type to `enum
7616 nss_status'. Mostly rewritten to make sure that we do not report
7617 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
7618 (internal_setent): Change return type to nss_status.
7619 Document, and make sure that the function
7620 behaves accordingly. Make dynamically loading the database
7621 library really thread-safe and return NSS_STATUS_UNAVAIL if it
7623 (db_cursor): Return ENOMEM is memory allocation failed. Remove
7625 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
7627 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
7628 c_get function member.
7629 * nss/nss_db/nss_db.h: Add and tweak some comments.
7630 (DBT): Move typedef before NSS_DBC typedef.
7631 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
7633 2000-05-07 H.J. Lu <hjl@gnu.org>
7635 * csu/initfini.c: Moved to ....
7636 * sysdeps/generic/initfini.c: ...here.
7638 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
7640 2000-05-07 Ulrich Drepper <drepper@redhat.com>
7642 * manual/resource.texi: Document POSIX scheduling functions.
7643 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7645 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
7646 reading anything. Reported by Andries.Brouwer@cwi.nl.
7648 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
7649 for x since promotion in comparison might leads to unexpected
7650 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
7652 * iconv/Makefile (tests): Add tst-iconv1.
7653 * iconv/tst-iconv1.c: New file.
7654 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
7655 empty input buffer over full output buffer.
7656 (ucs4_internal_loop): Likewise.
7657 (ucs4_internal_loop_unaligned): Likewise.
7658 (internal_ucs4le_loop): Likewise.
7659 (internal_ucs4le_loop_unaligned): Likewise.
7660 (ucs4le_internal_loop): Likewise.
7661 (ucs4le_internal_loop_unaligned): Likewise.
7662 Reported by yaoz@nih.gov.
7664 2000-05-06 Bruno Haible <haible@clisp.cons.org>
7666 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
7667 returned != __GCONV_OK, there is nothing to clean up.
7669 2000-05-06 Bruno Haible <haible@clisp.cons.org>
7671 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
7672 OUTPUT_CHARSET environment variables.
7674 2000-05-06 Andreas Jaeger <aj@suse.de>
7676 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
7677 (struct cache_file_new): New.
7678 (struct file_entry): New (moved from cache.c).
7679 (struct cache_file): New (moved from cache.c).
7681 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
7682 from _dl_load_cache_lookup.
7683 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
7684 the different cache formats.
7685 New variable cache_new for new format.
7687 * elf/ldconfig.h: Change according to changes in cache.c and
7688 ldconfig.c; remove cache_libcmp; add opt_format.
7690 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
7691 stuff that's defined in those headers.
7692 Add hwcap to struct lib_entry.
7693 (opt_format): New variable to select cache format.
7694 (options): Add format parameter.
7695 (is_hwcap): New function.
7696 (path_hwcap): New function.
7697 (parse_opt): Handle new format parameter.
7698 (search_dir): Handle hwcap, search also subdirectories with hwcap.
7700 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
7701 ldconfig is part of glibc.
7702 Include dl-cache.h and remove stuff that's defined there.
7703 (struct cache_entry): Add new member hwcap.
7704 (print_entry): Print hwcap, cleanup a bit.
7705 (print_cache): Print new and old formats.
7706 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
7707 (save_cache): Save new and old formats.
7708 (add_to_cache): Handle hwcap.
7710 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
7711 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
7712 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
7713 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
7714 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
7715 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
7717 2000-05-05 Bruno Haible <haible@clisp.cons.org>
7719 * intl/dcigettext.c (alignof): New macro.
7720 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
7721 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
7724 2000-05-05 Bruno Haible <haible@clisp.cons.org>
7726 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
7729 2000-05-06 Ulrich Drepper <drepper@redhat.com>
7731 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
7732 (mempcpy): Correct typo is parameter list.
7734 2000-05-06 Andreas Jaeger <aj@suse.de>
7736 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
7737 functions unless -ffast-math is given to gcc.
7739 2000-05-06 Ulrich Drepper <drepper@redhat.com>
7741 * po/ko.po: Update from translation team.
7743 2000-05-05 Ulrich Drepper <drepper@redhat.com>
7745 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
7746 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
7747 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
7748 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
7749 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
7750 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
7752 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
7753 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
7754 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
7756 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
7757 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
7758 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
7759 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
7761 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
7762 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
7764 2000-05-05 Jes Sorensen <jes@linuxcare.com>
7766 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
7767 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
7769 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
7770 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
7772 * sysdeps/ia64/Implies: New file.
7773 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
7774 * sysdeps/ia64/Makefile: New file.
7775 * sysdeps/ia64/gmp-mparam.h: New file,
7777 * sysdeps/ia64/elf/start.S: New file.
7779 * sysdeps/ia64/bits/fenv.h: New file.
7781 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
7783 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
7785 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
7787 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
7788 ia64 has 64 bit .hash entries just as the Alpha.
7790 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
7792 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
7794 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
7796 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
7797 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
7798 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
7799 * sysdeps/ia64/fpu/fegetenv.c: New file.
7800 * sysdeps/ia64/fpu/fegetexcept.c: New file.
7801 * sysdeps/ia64/fpu/fegetround.c: New file.
7802 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
7803 * sysdeps/ia64/fpu/fesetenv.c: New file.
7804 * sysdeps/ia64/fpu/fesetround.c: New file.
7805 * sysdeps/ia64/fpu/feupdateenv.c: New file.
7806 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
7807 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
7808 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
7809 * sysdeps/ia64/fpu/ftestexcept.c: New file.
7811 2000-05-05 Andreas Jaeger <aj@suse.de>
7813 * misc/tst-tsearch.c (main): Correct type for initstate argument.
7815 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
7816 (_dl_string_hwcap): New, does nothing.
7818 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
7819 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7820 (_dl_string_hwcap): New function, converts from string to hwcap
7822 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
7823 (_DL_HWCAP_COUNT): New.
7824 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7825 (_dl_string_hwcap): New function, converts from string to hwcap
7827 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
7828 (_DL_HWCAP_COUNT): New.
7829 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7830 (_dl_string_hwcap): New function, converts from string to hwcap
7833 2000-05-05 Ulrich Drepper <drepper@redhat.com>
7835 * elf/Makefile (distribute): Add dl-lookupcfg.h.
7836 * sysdeps/ia64/Dist: New file.
7838 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
7839 parameter to mprotect and for variable assignments.
7841 2000-05-03 Jes Sorensen <jes@linuxcare.com>
7843 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
7844 validity of map before dereferencing it.
7846 * elf/dl-reloc.c (RESOLVE_MAP): Define.
7848 2000-05-02 Jes Sorensen <jes@linuxcare.com>
7850 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
7851 lookup to the arguments to elf_machine_fixup_plt().
7853 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
7854 of the symbol being resolved to input argument list and make the
7855 function return the pointer to the reloc.
7857 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
7858 return valuie to lookup_t and return the value.
7859 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
7860 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
7861 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
7862 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
7863 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
7864 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
7866 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
7867 Make it an inline function returning value after calling
7868 __elf_machine_fixup_plt().
7870 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
7873 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
7874 obtain the symbol address.
7876 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
7877 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
7879 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
7880 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
7883 2000-04-28 Jes Sorensen <jes@linuxcare.com>
7885 * elf/dl-runtime.c (fixup): Use the portable macros to get the
7886 symbol address of an object.
7888 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
7889 the symbol address of an object.
7891 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
7892 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
7893 (_dl_lookup_symbol_skip): Likewise.
7894 (_dl_lookup_versioned_symbol): Likewise.
7895 (_dl_lookup_versioned_symbol_skip): Likewise.
7897 2000-04-27 Jes Sorensen <jes@linuxcare.com>
7899 * elf/rtld.c (_dl_start): Get the function pointer return address
7900 via _dl_start_address for architectures that need a function
7901 pointer descriptor rather than just a pointer (ia64).
7903 * sysdeps/generic/dl-lookupcfg.h: New file.
7904 * sysdeps/ia64/dl-lookupcfg.h: New file.
7905 * sysdeps/ia64/dl-machine.h: New file.
7906 * sysdeps/ia64/dl-symaddr.c: New file.
7907 * sysdeps/ia64/dl-fptr.c: New file.
7909 * elf/elf.h: Add IA-64 specific definitions.
7911 2000-05-04 Jakub Jelinek <jakub@redhat.com>
7913 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
7916 2000-05-04 Jakub Jelinek <jakub@redhat.com>
7918 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
7921 2000-04-11 Geoff Keating <geoffk@cygnus.com>
7923 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
7924 symbol. Call _dl_init rather than the old way.
7926 2000-05-04 Ulrich Drepper <drepper@redhat.com>
7928 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
7929 test for pointer in range of DSO address space.
7931 2000-05-04 Andreas Jaeger <aj@suse.de>
7933 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
7935 2000-05-03 Ulrich Drepper <drepper@redhat.com>
7937 * locale/findlocale.c (_nl_find_locale): Add new parameter to
7938 calls of _nl_make_l10nflist.
7940 * libio/stdio.h: Make fseeko and ftello prototypes available is
7941 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
7943 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
7944 real unsetenv implementation from 1999-07-29 [PR libc/1714].
7946 2000-05-03 Bruno Haible <haible@clisp.cons.org>
7948 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
7949 before calling tfind.
7951 2000-03-05 Jakub Jelinek <jakub@redhat.com>
7953 * resolv/resolv.h (res_querydomain): Remove redefinition to
7954 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
7956 2000-05-03 Ulrich Drepper <drepper@redhat.com>
7958 * po/gl.po: Update from translation team.
7960 * manual/intro.texi (Program Basics): Change section title.
7961 * manual/process.texi: Fix reference.
7962 (Executing a File): Add reference exec in other section.
7963 * manual/signal.texi: Fix reference.
7964 * manual/startup.texi: Document syscall function.
7965 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
7967 2000-04-29 Bruno Haible <haible@clisp.cons.org>
7969 * intl/libintl.h (bind_textdomain_codeset): New declaration.
7970 * intl/bindtextdom.c (set_binding_values): New function.
7971 (bindtextdomain): Call it.
7972 (bind_textdomain_codeset): New function.
7973 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
7974 (free_mem): Free each binding's codeset.
7975 * intl/gettextP.h (struct binding): Add codeset field.
7976 (_nl_find_domain): Add domainbinding argument.
7977 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
7978 Pass it to _nl_make_l10nflist.
7979 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
7980 (_nl_make_l10nflist): Add domainbinding argument.
7981 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
7982 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
7983 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
7985 * manual/message.texi: New node "Charset conversion in gettext".
7987 2000-04-30 Bruno Haible <haible@clisp.cons.org>
7989 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
7990 appropriate. Handle possible __read error.
7992 2000-04-29 Bruno Haible <haible@clisp.cons.org>
7994 * intl/gettextP.h (__builtin_expect): Define as empty if not a
7996 * intl/loadinfo.h (__builtin_expect): Likewise.
7997 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
7998 __builtin_expect where appropriate.
7999 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8000 * intl/localealias.c (extend_alias_table): Return an error indicator.
8001 (read_alias_file): Bail out if extend_alias_table fails.
8003 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8005 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
8006 * intl/localealias.c: Likewise.
8008 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8010 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
8011 Initialize domain->plural and domain->nplurals even if there is no
8014 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8016 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
8017 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
8018 In case of failure, goto converted.
8020 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8022 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
8023 * iconv/gconv_int.h (norm_add_slashes): Move to here.
8024 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
8027 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8029 * intl/dcigettext.c (transcmp): Compare the domains as well.
8030 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
8032 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
8035 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8037 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
8038 Reported by Bruno Haible.
8040 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8042 * manual/arith.texi: Remove @w from @itemize.
8044 2000-05-02 Andreas Jaeger <aj@suse.de>
8046 * conform/data/tar.h-data: Add some checks for specific values.
8048 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
8051 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
8054 * conform/data/netinet/in.h-data: Add exact checks for the values
8055 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
8057 * conform/data/float.h-data: Add some minimal values.
8059 * conform/conformtest.pl: Test for macros with string constants,
8060 check for minimum and maximum values.
8061 Add limits.h to headers.
8063 * conform/data/cpio.h-data: Test for value of MAGIC.
8065 * conform/data/limits.h-data: New file.
8067 2000-04-30 Bruno Haible <haible@clisp.cons.org>
8069 * math/Makefile (headers): Add bits/fenvinline.h.
8071 2000-05-01 Ulrich Drepper <drepper@redhat.com>
8073 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
8074 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
8076 * posix/Versions: Change posix_spawnattr_getdefault and
8077 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
8078 and posix_spawnattr_setsigdefault respectively.
8079 * posix/spawn.h: Likewise.
8080 * posix/spawnattr_getdefault.h: Likewise.
8081 * posix/spawnattr_setdefault.h: Likewise.
8082 * conform/data/spawn.h-data: Likewise.
8084 2000-05-01 Andreas Jaeger <aj@suse.de>
8086 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
8088 2000-04-30 Ulrich Drepper <drepper@redhat.com>
8090 * manual/sysinfo.texi: Document getdomainname, setdomainname
8092 * manual/string.texi: Fix typo.
8093 * manual/terminal.texi: Document gtty and stty.
8094 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8096 2000-04-30 Andreas Jaeger <aj@suse.de>
8098 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
8099 accordance with Austin Draft.
8101 2000-04-30 Ulrich Drepper <drepper@redhat.com>
8103 * catgets/gencat.c (read_input_file): Use isblank and not isspace
8104 to recognize second character in comment line.
8106 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
8107 ENOBUFS if we are out of memory.
8109 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
8110 available if __USE_XOPEN2K.
8111 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
8112 * sysdeps/unix/common/bits/fcntl.h: Likewise.
8113 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
8114 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8115 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
8116 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8117 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
8118 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
8120 2000-04-29 Ulrich Drepper <drepper@redhat.com>
8122 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
8123 Recognize option -s, -c, and -l.
8125 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
8127 * nscd/nscd.c: Start new session for nscd, drop privilegs
8128 to configured user if requested and no -S parameter are used.
8129 * nscd/nscd.conf: Add new option "server-user".
8130 * nscd/nscd_conf.c: Add support for new "server-user" option.
8131 * nscd/nscd.h: Add declaration for server_user variable.
8132 Based on patch by Chris Wing <wingc@engin.umich.edu>
8134 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8136 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
8137 that changing the __restore and __restore_rt signal return code
8140 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8142 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
8145 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8147 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
8149 2000-04-29 Ulrich Drepper <drepper@redhat.com>
8151 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
8152 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
8154 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
8155 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
8156 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
8157 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
8158 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
8159 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
8160 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
8161 posix_fallocate, and posix_madvise.
8162 * conform/data/netdb.h-data: New file.
8163 * conform/data/pthread.h-data: Add pthread_barrier_t,
8164 pthread_barrierattr_t, pthread_barrier_destroy,
8165 pthread_barrier_init, pthread_barrier_wait,
8166 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
8167 pthread_barrierattr_init, pthread_barrierattr_setpshared,
8168 pthread_condattr_getclock, pthread_condattr_setclock,
8169 pthread_getcpuclockid, pthread_mutex_timedlock,
8170 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
8171 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
8172 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
8173 * conform/data/sched.h-data: Add sched_ss_low_priority,
8174 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
8176 * conform/data/semaphore.h-data: Add sem_timedwait.
8177 * conform/data/signal.h-data: Add SIGIO.
8178 * conform/data/spawn.h-data: New file.
8179 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
8180 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
8181 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
8182 Fix typo in gmtime_r definition.
8183 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
8184 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
8185 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
8186 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
8187 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
8188 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
8189 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
8190 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
8191 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
8192 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
8193 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
8194 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
8195 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
8196 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
8197 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
8198 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
8199 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
8200 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
8201 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
8202 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
8203 typo in off_t definition.
8204 * conform/data/net/if.h-data: New file.
8205 * conform/data/netinet/in.h-data: New file.
8206 * conform/data/netinet/tcp.h-data: New file.
8207 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
8208 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
8209 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
8210 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
8211 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
8212 and posix_typed_mem_open.
8213 * conform/data/sys/socket.h-data: New file.
8214 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
8215 * conform/data/sys/types.h-data: Add pthread_barrier_t,
8216 pthread_barrierattr_t, and pthread_spinlock_t.
8217 * conform/data/sys/un.h-data: New file.
8218 * conform/data/sys/utsname.h-data: New file.
8220 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
8222 * inet/gethstbyad.c (gethostbyname): Likewise.
8223 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
8224 * inet/getipnodebyad.c (getipnodebyad): Likewise.
8225 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
8226 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
8228 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
8229 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
8230 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
8231 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
8232 * resolv/gethnamaddr.c (gethostbyname): Likewise.
8233 * resolv/netdb.h (struct hostent): Fix type of h_length member.
8234 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
8235 and second parameter.
8237 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
8240 2000-04-29 Andreas Jaeger <aj@suse.de>
8242 * conform/data/arpa/inet.h-data: New file.
8244 2000-04-28 Geoff Clare <gwc@unisoft.com>
8246 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
8247 path passed to ftw() or nftw() is an empty string.
8248 Closes PR libc/1710.
8250 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8252 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
8253 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
8254 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
8255 * localedata/tst-mbswcs4.c: New file.
8256 * localedata/tst-mbswcs5.c: New file.
8258 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
8259 == NULL. Little optimization.
8261 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
8262 DT_PREINIT_ARRAYSZ).
8263 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
8265 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
8266 overflows in conversion from ASCII.
8268 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8270 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
8271 * Makerules (full_config_sysdirs): Likewise.
8272 * MakeTAGS (full_config_sysdirs): Likewise.
8274 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8276 * .cvsignore: Remove linuxthreads.
8277 * po/.cvsignore: Remove *.pot.
8278 * posix/glob/.cvsignore: Removed.
8279 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
8281 2000-04-25 Andreas Jaeger <aj@suse.de>
8283 * conform/Makefile (distribute): Also distribute contents of
8286 * Makerules (no_deps): Remove abi-versions.h.
8288 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
8290 2000-04-25 Jakub Jelinek <jakub@redhat.com>
8292 * sysdeps/sparc/sparc64/elf/Dist: Remove.
8293 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
8294 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
8295 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
8296 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
8297 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
8300 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
8302 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
8304 2000-04-23 Bruno Haible <haible@clisp.cons.org>
8306 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
8307 * intl/l10nflist.c: Likewise.
8309 2000-04-23 Bruno Haible <haible@clisp.cons.org>
8311 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
8312 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
8313 * intl/textdomain.c [!_LIBC]: Likewise.
8314 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
8315 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
8316 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
8319 2000-04-23 Bruno Haible <haible@clisp.cons.org>
8321 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
8322 character set conversion also in the case the translation was found
8323 after a hash collision or through binary search. Store the maximum
8324 index together with the converted message. Use iconv() when available.
8325 In case of out of memory during conversion, return the unconverted
8326 translated string, not NULL.
8328 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
8330 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
8331 to avoid name clashes with the ia32 linker.
8333 2000-04-25 Jakub Jelinek <jakub@redhat.com>
8335 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
8338 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8340 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
8341 strtoumax, strfry, and memfrob.
8342 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
8343 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8345 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
8346 if this function is available.
8348 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
8351 2000-04-27 Jakub Jelinek <jakub@redhat.com>
8353 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
8355 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8357 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
8358 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
8359 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
8360 * localedata/tst-mbswcs3.c: New file.
8362 2000-04-26 Ulrich Drepper <drepper@redhat.com>
8364 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
8365 characters. Don't handle incomplete characters as errors.
8366 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
8367 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
8368 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
8369 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
8370 * localedata/tst-mbswcs2.c: New file.
8372 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
8373 stored character in state in UNPACK_BYTES macro.
8374 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
8375 test for available characters, handle result of BODY code correctly.
8376 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
8377 (distribute): Add tst-mbswcs.sh.
8378 Add rule to run tst-mbswcs.sh.
8379 * localedata/tst-mbswcs.sh: New file.
8380 * localedata/tst-mbswcs1.c: New file.
8382 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8384 * nis/nis_callback.c (__nis_create_callback): Do failed memory
8385 allocation fixups centrally, fix __builtin_expect call, return NULL
8386 on failure, not NIS_NOMEMORY.
8388 2000-04-27 Bruno Haible <haible@clisp.cons.org>
8390 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
8392 * intl/loadinfo.h (internal_function): Define if not already defined.
8394 2000-04-27 Andreas Jaeger <aj@suse.de>
8396 * intl/libintl.h: Fix typo, reported by Bruno Haible
8397 <haible@clisp.cons.org>.
8399 2000-04-25 Ulrich Drepper <drepper@redhat.com>
8401 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
8402 setting the state to GMON_PROF_BUSY.
8404 2000-04-24 Ulrich Drepper <drepper@redhat.com>
8406 * elf/dl-profile.c (_dl_start_profile): define all variables which
8407 do not have to be global as local variables.
8409 * nis/nis_callback.c (__nis_create_callback): Partially undo last
8410 patch. Keep needed tests for failed memory allocation.
8412 * elf/dl-reloc.c (_dl_relocate_object): Add one more
8413 __builtin_expect saying that we don't normally expect to profile.
8415 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
8416 __builtin_expect where desirable.
8418 2000-04-23 Ulrich Drepper <drepper@redhat.com>
8420 * manual/Makefile (chapters): Add syslog.
8421 * manual/syslog.texi: New file.
8422 * manual/math.texi: Fix references.
8423 * manual/terminal.texi: Likewise.
8424 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8426 2000-04-18 Jakub Jelinek <jakub@redhat.com>
8428 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
8429 stdlib.h was not included or __USE_XOPEN not defined.
8431 2000-04-23 Ulrich Drepper <drepper@redhat.com>
8433 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
8434 Patch by Zack Weinberg <zack@wolery.cumb.org>.
8436 2000-04-22 Ulrich Drepper <drepper@redhat.com>
8438 * manual/examples/subopt.c (mount_opts): Add missing terminating
8440 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8442 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
8443 * libio/ftello.c: Likewise.
8444 * libio/ftello64.c: Likewise.
8445 * libio/ioftell.c: Likewise.
8446 * sysdeps/generic/memrchr.c: Likewise.
8447 * sysdeps/posix/libc_fatal.c: Likewise.
8448 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8449 * misc/fstab.c: Include <string.h> for strcmp prototype.
8450 * sysdeps/generic/ldsodefs.h: Likewise.
8451 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8452 Patch by Kurt Roeckx <Q@ping.be>.
8454 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
8455 Remove db-open. Change all uses.
8456 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
8458 2000-04-21 Jakub Jelinek <jakub@redhat.com>
8460 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
8461 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
8462 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
8463 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
8464 with .set noat/at to shut up warnings.
8465 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
8466 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
8467 compilation if __NR_pciconfig_iobase is not defined.
8468 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
8471 2000-04-21 Ulrich Drepper <drepper@redhat.com>
8473 * manual/sysinfo.texi: Fix typo.
8474 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
8475 Replace "high precision time" with "high accuracy clock".
8477 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8479 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
8480 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
8482 * nis/nis_subr.c: Use __builtin_expect.
8483 * nis/ypclnt.c: Likewise.
8484 * nis/nis_getservlist.c: Likewise.
8485 * nis/nis_creategroup.c: Likewise.
8487 * nis/nis_callback.c (__nis_create_callback): Check result of
8488 memory allocation. Fix memory leaks. Use __builtin_expect.
8489 (__nis_destroy_callback): Fix memory leaks.
8491 2000-04-21 Andreas Jaeger <aj@suse.de>
8493 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
8494 * sysdeps/mips/mips64/add_n.S: Likewise.
8495 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
8496 * sysdeps/mips/mips64/lshift.S: Likewise.
8497 * sysdeps/mips/mips64/mul_1.S: Likewise.
8498 * sysdeps/mips/mips64/rshift.S: Likewise.
8499 * sysdeps/mips/mips64/setjmp.S: Likewise.
8500 * sysdeps/mips/mips64/sub_n.S: Likewise.
8501 * sysdeps/mips/mips64/submul_1.S: Likewise
8502 * sysdeps/unix/mips/sysdep.S: Likewise.
8504 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
8505 and update comment. The strtab from _dl_relocate_object can be
8508 2000-04-21 Ulrich Drepper <drepper@redhat.com>
8510 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
8511 * iconv/iconv_close.c (iconv_close): Likewise.
8512 * iconv/iconv_open.c (iconv_open): Likewise.
8514 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
8515 __builtin_expect where useful.
8517 * grp/initgroups.c (initgroups): Test for result of memory
8518 allocation and punt if it fails.
8520 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
8521 * grp/fgetgrent.c (fgetfrent): Likewise.
8522 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
8524 2000-04-21 Jakub Jelinek <jakub@redhat.com>
8526 * libio/vasprintf.c: Include string.h to get memcpy prototype.
8528 2000-04-20 Ulrich Drepper <drepper@redhat.com>
8530 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
8531 don't search for NUL byte to decrement counter.
8532 Reported by Ulrich.Brink@sap.com.
8534 * iconv/gconv_simple.c: Define separate functions to convert from
8535 UCS4/UCS4-LE to the internal encoding.
8536 * iconv/gconv_builtin.h: Use separate functions to convert from
8537 UCS4/UCS4-LE to the internal encoding.
8538 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
8539 __gconv_transform_ucs4le_internal.
8541 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
8542 output buffer overflow. Reported by Ulrich.Brink@sap.com.
8544 * iconv/skeleton.c: Add some more __builtin_expect.
8545 * iconv/loop.c: Likewise.
8547 2000-03-08 H.J. Lu <hjl@gnu.org>
8549 * posix/regex.c (regex_compile): Correctly handle "\{" when
8550 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
8552 2000-04-20 Ulrich Drepper <drepper@redhat.com>
8554 * manual/stdio.texi: Give advise about handling error when using
8556 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
8558 2000-04-19 Jakub Jelinek <jakub@redhat.com>
8560 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
8561 field to nelems * sizeof (uint32_t).
8562 * locale/programs/ld-address.c (address_output): Align word fields
8564 * locale/programs/ld-monetary.c (monetary_output): Likewise.
8565 Don't restart idx pointers to idx end at the duo_int_curr_symbol
8567 Avoid giving arbitrary garbage in the crncystr field.
8568 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
8569 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
8571 * locale/programs/ld-numeric.c (numeric_output): Likewise.
8572 Don't restart idx pointers to idx end at the decimal_point_wc field.
8573 * locale/programs/ld-time.c (time_output): week_1stday should be
8574 word, not byte. Align it properly.
8576 2000-04-19 H.J. Lu <hjl@gnu.org>
8578 * csu/gmon-start.c (_start): Declared as "extern void".
8581 2000-04-18 Andreas Jaeger <aj@suse.de>
8583 * manual/install.texi (Running make install): Don't mention utmpd
8586 2000-04-18 Andreas Jaeger <aj@suse.de>
8588 * linuxthreads/Versions: Use ld instead of ld.so.
8590 * elf/Makefile (ld-map): Use ld.map.
8592 * Versions.def: Use ld instead of ld.so.
8593 * elf/Versions: Likewise.
8594 * sysdeps/mach/hurd/Versions: Likewise.
8596 2000-04-20 Andreas Jaeger <aj@suse.de>
8598 * elf/rtld.c (print_statistics): Move ifndef further up.
8599 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
8600 (dl_main): Likewise.
8602 2000-04-18 Ulrich Drepper <drepper@redhat.com>
8604 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
8605 * gmon/Versions: Move moncontrol to GLIBC_2.2.
8607 * po/cs.po: Update from translation team.
8609 * sysdeps/generic/updwtmp.c: Remove daemon support.
8611 * login/Makefile (routines): Remove utmp_daemon.
8613 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
8614 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
8615 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
8616 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
8618 * elf/rtld.c: Display statitics option also if hp timing is not
8621 * login/programs/connection.c: Removed.
8622 * login/programs/database.c Removed.
8623 * login/programs/error.c: Removed.
8624 * login/programs/request.c: Removed.
8625 * login/programs/xtmp.c: Removed.
8626 * login/programs/xtmp.h: Removed.
8627 * login/Makefile: Remove rules for utmpd.
8628 * login/README.utmpd: Removed.
8629 * login/utmp_daemon.c: Removed.
8630 * login/getutent_r.c: Remove references to daemon functions.
8631 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
8634 2000-04-18 Andreas Jaeger <aj@suse.de>
8636 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
8637 2.2 for libnsl, libresolv, librt, libnss_*.
8639 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
8641 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
8643 2000-04-18 Ulrich Drepper <drepper@redhat.com>
8645 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
8646 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
8647 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
8648 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
8649 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
8650 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
8651 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
8652 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
8653 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
8654 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
8655 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
8656 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
8657 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
8659 * sysdeps/unix/sysv/aix/msync.c: New file.
8660 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
8661 * sysdeps/unix/sysv/aix/net/if.h: New file.
8662 * sysdeps/unix/sysv/aix/pipe.c: New file.
8663 * sysdeps/unix/sysv/aix/poll.c: New file.
8664 * sysdeps/unix/sysv/aix/rename.c: New file.
8665 * sysdeps/unix/sysv/aix/rmdir.c: New file.
8666 * sysdeps/unix/sysv/aix/select.c: New file.
8667 * sysdeps/unix/sysv/aix/semctl.c: New file.
8668 * sysdeps/unix/sysv/aix/semget.c: New file.
8669 * sysdeps/unix/sysv/aix/semop.c: New file.
8670 * sysdeps/unix/sysv/aix/sendto.c: New file.
8671 * sysdeps/unix/sysv/aix/setgroups.c: New file.
8672 * sysdeps/unix/sysv/aix/setpgid.c: New file.
8673 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
8674 * sysdeps/unix/sysv/aix/setpriority.c: New file.
8675 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
8676 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
8677 * sysdeps/unix/sysv/aix/setsid.c: New file.
8678 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
8679 * sysdeps/unix/sysv/aix/shmat.c: New file.
8680 * sysdeps/unix/sysv/aix/shmctl.c: New file.
8681 * sysdeps/unix/sysv/aix/shmdt.c: New file.
8682 * sysdeps/unix/sysv/aix/shmget.c: New file.
8683 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
8684 * sysdeps/unix/sysv/aix/sigstack.c: New file.
8685 * sysdeps/unix/sysv/aix/socket.c: New file.
8686 * sysdeps/unix/sysv/aix/socketpair.c: New file.
8687 * sysdeps/unix/sysv/aix/speed.c: New file.
8688 * sysdeps/unix/sysv/aix/symlink.c: New file.
8689 * sysdeps/unix/sysv/aix/sync.c: New file.
8690 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
8691 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
8692 * sysdeps/unix/sysv/aix/times.c: New file.
8693 * sysdeps/unix/sysv/aix/ulimit.c: New file.
8694 * sysdeps/unix/sysv/aix/umask.c: New file.
8695 * sysdeps/unix/sysv/aix/unlink.c: New file.
8696 * sysdeps/unix/sysv/aix/ustat.c: New file.
8697 * sysdeps/unix/sysv/aix/utimes.c: New file.
8699 2000-04-18 Andreas Jaeger <aj@suse.de>
8701 * manual/startup.texi (Environment Access): Fix putenv prototype
8702 according to recent changes.
8703 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
8706 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
8709 2000-04-18 Ulrich Drepper <drepper@redhat.com>
8711 * posix/Makefile (tests): Add tst-getaddrinfo.
8712 * posix/tst-getaddrinfo.c: New file.
8714 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8716 * manual/sysinfo.texi: Document that umount2 is not widely available.
8718 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
8719 signal timing is not really implemented.
8721 2000-04-17 Andreas Jaeger <aj@suse.de>
8723 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
8725 2000-04-17 Jakub Jelinek <jakub@redhat.com>
8727 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
8730 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8732 * manual/intro.texi: Change reference from System Information to
8734 * manual/users.texi: Likewise.
8735 * manual/conf.texi: Likewise.
8736 * manual/sysinfo.texi: Document mount, umount, and umount2.
8737 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8739 2000-04-17 Jakub Jelinek <jakub@redhat.com>
8741 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
8742 Create wnumstr as well as numstr to support wide character output
8745 2000-04-15 Jakub Jelinek <jakub@redhat.com>
8747 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
8748 modification and move it...
8749 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
8750 Add -melf64_sparc switch to $(LD) on sparc64-linux.
8751 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
8752 switch to $(LD) on sparc-linux.
8754 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
8756 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
8757 and setresuid from sysdep_routines.
8759 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8761 * manual/Makefile (chapters): Add resource.
8763 * manual/time.texi: Move section on resources to...
8764 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
8766 * manual/setjmp.texi: Adjust back reference.
8767 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8769 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
8771 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
8772 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
8773 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
8774 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
8775 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
8776 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
8777 * sysdeps/unix/sysv/aix/close.c: Add copyright.
8778 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
8779 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
8780 * sysdeps/unix/sysv/aix/access.c: Add copyright.
8781 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
8782 * sysdeps/unix/sysv/aix/Implies: New file.
8783 * sysdeps/unix/sysv/aix/Versions: New file.
8784 * sysdeps/unix/sysv/aix/bind.c: New file.
8785 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
8786 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
8787 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
8788 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
8789 * sysdeps/unix/sysv/aix/chdir.c: New file.
8790 * sysdeps/unix/sysv/aix/chmod.c: New file.
8791 * sysdeps/unix/sysv/aix/chroot.c: New file.
8792 * sysdeps/unix/sysv/aix/creat.c: New file.
8793 * sysdeps/unix/sysv/aix/dl-close.c: New file.
8794 * sysdeps/unix/sysv/aix/dl-open.c: New file.
8795 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
8796 * sysdeps/unix/sysv/aix/fchdir.c: New file.
8797 * sysdeps/unix/sysv/aix/fchmod.c: New file.
8798 * sysdeps/unix/sysv/aix/getgroups.c: New file.
8799 * sysdeps/unix/sysv/aix/gethostname.c: New file.
8800 * sysdeps/unix/sysv/aix/getpriority.c: New file.
8801 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
8802 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
8803 * sysdeps/unix/sysv/aix/getrusage.c: New file.
8804 * sysdeps/unix/sysv/aix/link.c: New file.
8805 * sysdeps/unix/sysv/aix/madvise.c: New file.
8806 * sysdeps/unix/sysv/aix/mkdir.c: New file.
8807 * sysdeps/unix/sysv/aix/mknod.c: New file.
8808 * sysdeps/unix/sysv/aix/mprotect.c: New file.
8809 * sysdeps/unix/sysv/aix/msgctl.c: New file.
8810 * sysdeps/unix/sysv/aix/msgget.c: New file.
8811 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
8813 2000-04-17 Andreas Jaeger <aj@suse.de>
8815 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
8816 as suggested by Ulrich Drepper.
8817 (__dl_runtime_resolve): Remove unused variable, initialize sym
8819 (RTLD_START): Document OFFSET_GP_GOT.
8820 (OFFSET_GP_GOT): New magic value.
8821 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
8822 (elf_machine_got_rel): Only declare strtab if needed.
8823 (elf_machine_relplt): Removed, it's not needed.
8824 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
8826 * sysdeps/mips/add_n.S: Add newline at EOF.
8827 * sysdeps/mips/rshift.S: Likewise.
8828 * sysdeps/mips/mul_1.S: Likewise.
8829 * sysdeps/mips/lshift.S: Likewise.
8830 * sysdeps/mips/addmul_1.S: Likewise.
8832 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8834 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
8836 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
8837 * elf/dl-lookup.c: Likewise.
8838 * elf/dl-init.c (_dl_init): Likewise.
8839 * elf/dl-fini.c (_dl_fini): Likewise.
8840 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8841 * elf/dl-close.c (_dl_close): Likewise.
8842 * elf/rtld.c (_dl_start_final): Likewise.
8844 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
8846 2000-04-15 Ulrich Drepper <drepper@redhat.com>
8848 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
8849 only fall back on using Linux.
8851 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
8852 Before testing versions check that we actually loaded the object
8853 and whether we are in trace mode. If not loaded during tracing don't
8854 test versions in this object.
8855 (_dl_check_all_versions): Take new parameter and pass to
8856 _dl_check_map_versions.
8857 * sysdeps/generic/ldsodefs.h: Update prototypes for
8858 _dl_check_all_versions and _dl_check_map_versions.
8859 * elf/rtld.c (struct version_check_args): Add dotrace.
8860 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
8861 (dl_main): Pass info about trace mode to version_check_doit.
8862 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
8863 _dl_check_all_versions.
8865 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
8867 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8869 * manual/argp.texi: Document index parameter of argp_parse.
8871 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
8873 2000-04-14 Andreas Jaeger <aj@suse.de>
8875 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
8876 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
8878 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
8880 2000-04-15 Ulrich Drepper <drepper@redhat.com>
8882 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
8883 compat_symbol call for old adjtime.
8885 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
8886 function interface. Patch by Richard Henderson <rth@cygnus.com>.
8888 * posix/Makefile (headers): Add spawn.h.
8889 (distribute): Add spawn_int.h.
8890 (routines): Add spawn_faction_init, spawn_faction_destroy,
8891 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
8892 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
8893 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
8894 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
8895 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
8896 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
8897 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
8898 posix_spawnattr_init, posix_spawnattr_destroy,
8899 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
8900 posix_spawnattr_getflags, posix_spawnattr_setflags,
8901 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
8903 * posix/spawn.c: New file.
8904 * posix/spawn.h: New file.
8905 * posix/spawn_faction_addclose.c: New file.
8906 * posix/spawn_faction_adddup2.c: New file.
8907 * posix/spawn_faction_addopen.c: New file.
8908 * posix/spawn_faction_destroy.c: New file.
8909 * posix/spawn_faction_init.c: New file.
8910 * posix/spawn_int.h: New file.
8911 * posix/spawnattr_destroy.c: New file.
8912 * posix/spawnattr_getdefault.c: New file.
8913 * posix/spawnattr_getflags.c: New file.
8914 * posix/spawnattr_getpgroup.c: New file.
8915 * posix/spawnattr_getschedparam.c: New file.
8916 * posix/spawnattr_getschedpolicy.c: New file.
8917 * posix/spawnattr_getsigmask.c: New file.
8918 * posix/spawnattr_init.c: New file.
8919 * posix/spawnattr_setdefault.c: New file.
8920 * posix/spawnattr_setflags.c: New file.
8921 * posix/spawnattr_setpgroup.c: New file.
8922 * posix/spawnattr_setschedparam.c: New file.
8923 * posix/spawnattr_setschedpolicy.c: New file.
8924 * posix/spawnattr_setsigmask.c: New file.
8925 * posix/spawni.c: New file.
8926 * posix/spawnp.c: New file.
8928 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
8929 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
8931 2000-04-14 Ulrich Drepper <drepper@redhat.com>
8933 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
8934 * malloc/malloc.c: Implement posix_memalign for glibc.
8935 * include/stdlib.h: Add prototype for __posix_memalign.
8936 * stdlib/stdlib.h: Add prototype for posix_memalign.
8938 2000-04-14 Andreas Jaeger <aj@suse.de>
8940 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
8942 (elf_machine_got_rel): Cast sym correctly.
8944 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
8945 * sysdeps/mips/addmul_1.S: Likewise.
8946 * sysdeps/mips/lshift.S: Likewise.
8947 * sysdeps/mips/mul_1.S: Likewise.
8948 * sysdeps/mips/rshift.S: Likewise.
8949 * sysdeps/mips/sub_n.S: Likewise.
8950 * sysdeps/mips/submul_1.S: Likewise.
8952 * stdlib/stdlib.h: Fix typo in comment.
8954 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
8955 2.2 for libdl, ld and libm.
8957 * sysdeps/generic/madvise.c: Fix typos.
8959 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
8961 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
8963 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
8966 2000-04-14 Ulrich Drepper <drepper@redhat.com>
8968 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
8969 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
8970 Make old name weak alias.
8971 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
8972 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
8973 Make old name weak alias.
8974 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
8976 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
8977 posix_fallocate, and posix_fallocate64.
8978 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
8979 posix_fallocate, and posix_fallocate64.
8980 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
8981 posix_fallocate, and posix_fallocate64.
8982 * sysdeps/generic/fadvise.c: New file.
8983 * sysdeps/generic/fadvise64.c: New file.
8984 * sysdeps/generic/fallocate.c: New file.
8985 * sysdeps/generic/fallocate64.c: New file.
8986 * sysdeps/posix/fallocate.c: New file.
8987 * sysdeps/posix/fallocate64.c: New file.
8988 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
8989 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
8990 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
8991 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
8992 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
8993 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
8994 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8995 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
8996 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8998 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
8999 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9001 2000-04-13 Ulrich Drepper <drepper@redhat.com>
9003 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
9004 * misc/sys/mman.h (posix_madvise): Add prototype.
9005 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
9006 old name and posix_madvise weak aliases.
9007 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9008 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
9009 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
9010 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9011 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
9012 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9013 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9015 2000-04-13 Andreas Jaeger <aj@suse.de>
9017 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
9019 (elf_machine_got_rel): Only add runtime display if needed.
9020 (elf_machine_got_rel): Handle symbol versioning.
9022 2000-04-13 Andreas Jaeger <aj@suse.de>
9024 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
9026 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
9029 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
9030 with some applications.
9031 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
9033 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
9034 * sysdeps/mips/bsd-_setjmp.S: Likewise.
9035 * sysdeps/mips/setjmp.S: Likewise.
9037 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
9039 2000-04-13 Ulrich Drepper <drepper@redhat.com>
9041 * posix/globtest.sh: Work around inconsistency with expanding ~/
9042 in shell (PR libc/1690). Reported by patsmith@pobox.com.
9044 2000-04-12 Ulrich Drepper <drepper@redhat.com>
9046 * posix/getconf.c: Add support for many more POSIX options.
9047 * sysdeps/posix/sysconf.c: Likewise.
9048 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
9049 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
9051 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
9052 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
9053 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
9054 CLOCK_THREAD_CPUTIME_ID.
9055 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
9056 CLOCK_PROCESS_CPUTIME_ID.
9057 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
9058 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
9059 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
9060 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
9062 * malloc/Makefile (tests): Add tst-calloc.
9063 * malloc/tst-calloc.c: New file.
9065 * sysdeps/arm/libm-test-ulps: New file.
9067 * malloc/malloc.c: Undo all of today's changes.
9069 * locale/programs/locale.c (show_info): Don't try to look into
9070 data for LC_ALL (there is none).
9072 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
9073 avoid writing over boundary.
9074 Patch by Greg McGary <gkm@eng.ascend.com>.
9076 * sysdeps/arm/memprof.h: New file.
9078 2000-04-12 Andreas Jaeger <aj@suse.de>
9080 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
9082 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
9083 for memmem declaration.
9085 2000-04-12 Ulrich Drepper <drepper@redhat.com>
9087 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
9089 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
9091 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
9093 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
9094 Patch by Bart Veer <bartv@redhat.com>.
9096 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
9099 2000-04-11 Andreas Jaeger <aj@suse.de>
9101 * sysdeps/mips/dl-machine.h: Update some comments.
9102 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
9104 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9106 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
9107 _POSIX_SHARED_MEMORY_OBJECTS.
9109 * rt/Makefile (tests): Add tst-shm.
9110 Add rules to generate tst-shm.
9111 * rt/tst-shm.c: New file.
9113 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
9116 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
9117 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
9118 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
9119 * sysdeps/generic/shm_open.c: New file.
9120 * sysdeps/generic/shm_unlink.c: New file.
9121 * sysdeps/unix/sysv/linux/shm_open.c: New file.
9122 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
9123 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
9124 __endmntent, __getmntent_r, __setmntent, and __statfs.
9126 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
9127 fragmentation by allocating new memory at the end instead of
9130 * posix/globtest.sh: Fix last change.
9132 2000-04-10 Philip Blundell <philb@gnu.org>
9134 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
9135 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
9136 IPV6_DROP_MEMBERSHIP.
9137 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
9140 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9142 * elf/readlib (process_file): Close streams in case of an error.
9144 2000-04-09 Andreas Jaeger <aj@suse.de>
9146 * elf/readlib.c (process_file): Check if file is big enough to
9147 contain aout and ELF headers.
9148 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
9150 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
9152 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
9154 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9156 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
9158 * rt/Makefile (tests): Add tst-clock.
9159 Add rules to build tst-clock.
9160 * rt/tst-clock.c: New file.
9161 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
9162 about initialization of nsec.
9163 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
9164 about initialization of freq. Set retval to zero if successful.
9165 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
9167 2000-04-10 Ulrich Drepper <drepper@redhat.com>
9169 * Versions.def (librt): Add GLIBC_2.2.
9170 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
9171 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
9172 timer_getoverr, timer_gettime, and timer_settime.
9173 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
9174 clock_settime, timer_create, timer_delete, timer_getoverrun,
9175 timer_gettime, and timer_settime.
9176 * sysdeps/generic/clock_getcpuclockid.c: New file.
9177 * sysdeps/generic/get_clockfreq.c: New file.
9178 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
9179 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
9180 * sysdeps/mach/hurd/i386/bits/time.h: New file.
9181 * sysdeps/unix/i386/i586/clock_getres.c: New file.
9182 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
9183 * sysdeps/unix/i386/i686/Implies: New file.
9184 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
9185 * time/Makefile (routines): Move clock_getres, clock_gettime,
9186 clock_settime, timer_create, timer_delete, timer_getoverr,
9187 timer_gettime, and timer_settime to rt/Makefile.
9188 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
9189 clock_settime, timer_create, timer_delete, timer_getoverrun,
9190 timer_gettime, and timer_settime.
9191 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
9193 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
9194 and not const as attribute name.
9196 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
9198 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
9200 2000-04-10 Andreas Schwab <schwab@suse.de>
9202 * posix/globtest.sh: Skip tests that depend on unreadable
9203 directories if run as root.
9205 2000-04-10 Ulrich Drepper <drepper@redhat.com>
9207 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
9208 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
9210 2000-04-09 Ulrich Drepper <drepper@redhat.com>
9212 * sysdeps/unix/clock_gettime.c: New file.
9213 * sysdeps/unix/clock_settime.c: New file.
9214 * sysdeps/posix/clock_getres.c: New file.
9216 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
9218 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
9219 lseek call be passing in a buffer which never allow a successful
9220 first getdents syscall if not at leas the initial entry can be
9221 stored in the user buffer.
9223 * localedata/Makefile: Add rules to clean up directories created by
9226 2000-04-09 Geoff Clare <gwc@unisoft.com>
9228 * localedata/tst-fmon.data: Added new tests for strfmon()
9229 using test locales with all combinations of cs_precedes,
9230 sign_posn and sep_by_space.
9231 * localedata/tst-fmon.sh: Updated to support the new tests.
9232 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
9233 the localedef source for the new strfmon() test locale.
9234 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
9235 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
9236 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
9237 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
9238 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
9239 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
9240 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
9241 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
9242 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
9243 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
9244 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
9245 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
9246 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
9247 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
9249 * stdlib/strfmon.c: Correct problems with missing or extra
9250 spaces for unusual combinations of sign_posn and sep_by_space.
9251 Improved left-precision alignment code.
9253 2000-04-07 Andreas Jaeger <aj@suse.de>
9255 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
9257 2000-04-10 Andreas Jaeger <aj@suse.de>
9259 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
9261 2000-04-09 Ulrich Drepper <drepper@redhat.com>
9263 Implement handling of restartable conversion functions according to
9265 * iconv/gconv.h (__gconv_fct): Add additional parameter.
9266 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
9267 * iconv/gconv.c: Pass additional parameter to conversion function.
9268 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
9269 (internal_ucs4le_loop_single): New function.
9270 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
9271 (__gconv_transform_internal_ascii): Likewise.
9272 (__gconv_transform_internal_utf8): Likewise.
9273 (__gconv_transform_utf8_internal): Likewise.
9274 (__gconv_transform_ucs2_internal): Likewise.
9275 (__gconv_transform_internal_ucs2): Likewise.
9276 (__gconv_transform_ucs2reverse_internal): Likewise.
9277 (__gconv_transform_internal_ucs2reverse): Likewise.
9278 (internal_ucs4le_loop_unaligned): Before return
9279 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
9280 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
9281 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
9282 * iconv/loop.c: Fit in definition of function to convert one character
9283 for processing of left-over bytes from the state object.
9284 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
9285 inend to match names in loop functions.
9286 (RESET_INPUT_BUFFER): Change apprpriately.
9287 (gconv): If needed, call function to process bytes from the state
9288 object. Similar at the end: store left over bytes if input is
9290 Take extra argument and add new argument to all calls of the
9291 conversion function.
9292 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
9293 information in the state object to not conflict with length count.
9294 * iconvdata/iso-2022-jp.c: Likewise.
9295 * iconvdata/iso-2022-kr.c: Likewise.
9296 * iconvdata/unicode.c: Adjust for change change in parameters of
9298 * iconvdata/utf-16.c: Likewise.
9299 * libio/iofwide.c: Add new parameter to all calls of conversion
9301 * wcsmbs/btowc.c: Likewise.
9302 * wcsmbs/mbrtowc.c: Likewise.
9303 * wcsmbs/mbsnrtowcs.c: Likewise.
9304 * wcsmbs/mbsrtowcs.c: Likewise.
9305 * wcsmbs/wcrtomb.c: Likewise.
9306 * wcsmbs/wcsnrtombs.c: Likewise.
9307 * wcsmbs/wcsrtombs.c: Likewise.
9308 * wcsmbs/wctob.c: Likewise.
9310 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
9313 2000-04-07 Andreas Jaeger <aj@suse.de>
9315 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
9318 2000-04-07 Ulrich Drepper <drepper@redhat.com>
9320 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
9321 element a union to allow byte access.
9322 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
9324 * iconvdata/iso-2022-jp.c: Likewise.
9325 * iconvdata/iso-2022-kr.c: Likewise.
9326 * wcsmbs/mbsinit.c: Likewise.
9327 * stdlib/mblen.c: Likewise.
9328 * stdio-common/printf-parse.h: Likewise.
9330 2000-04-06 Ulrich Drepper <drepper@redhat.com>
9332 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
9333 kernel does not allow relative seeks on descriptors associated
9334 with directories. Go back to get the position in the directory
9335 every time we enter the function. Return -1 and set errno if one
9336 entry could be read from the kernel but does not fit into the
9337 buffer passed in by the user.
9339 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
9340 Support ..(2).. ellipsis.
9341 (parse_charmap): Recognize ..(2).. etc and pass step down.
9342 Correctly generate names for UCS4 characters.
9344 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
9345 (ctype_finish): We know the wide character value for <SP>,
9347 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
9348 (charclass_ucs4_ellipsis): Likewise.
9349 (read_translit_ignore_entry): Store ellipsis step.
9350 (ctype_read): Recognize ..(2).. etc and pass step down.
9352 * locale/programs/linereader.c (lr_token): When seeing comment
9353 character ignore only rest of line in sources but stop at escaped
9355 Recognize ..(2).. and ....(2).....
9357 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
9358 and tok_ellipsis4_2.
9360 2000-04-06 Andreas Jaeger <aj@suse.de>
9362 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
9363 removed, remove it here also.
9364 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
9365 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
9366 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
9367 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
9369 2000-04-06 Jakub Jelinek <jakub@redhat.com>
9371 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
9372 include bits/sigcontext.h.
9373 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9375 2000-04-06 Ulrich Drepper <drepper@redhat.com>
9377 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
9378 collation symbol definition. Value in quivalence definition must
9379 be defined, don't check that it is not.
9381 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
9382 values as character names.
9384 * locale/programs/ld-ctype.c (get_character): Handle missing
9385 repertoire map correctly.
9387 2000-04-05 Cristian Gafton <gafton@redhat.com>
9389 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
9390 because it is used in generic code.
9391 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
9392 * wcsmbs/wcwidth.h: Declare __ctype32_b.
9393 * intl/gettext.c: Include <locale.h>.
9394 * intl/ngettext.c: Likewise.
9396 2000-04-05 Jakub Jelinek <jakub@redhat.com>
9398 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
9399 socklen_t type for size.
9400 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
9401 init function interface.
9402 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9403 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
9405 (__jmp_buf): Declare the whole type structure here, don't use
9408 2000-04-05 Ulrich Drepper <drepper@redhat.com>
9410 * iconv/skeleton.c (put16u): Fix typo.
9411 Reported by Bruno Haible <haible@ilog.fr>.
9413 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
9414 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
9415 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
9416 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
9417 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
9418 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
9420 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
9421 * Makefile (distribute): Add abi-versions.awk and
9423 Patches by Torsten Duwe <duwe@caldera.de>.
9425 2000-04-05 Andreas Schwab <schwab@suse.de>
9427 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
9429 2000-04-05 Andreas Schwab <schwab@suse.de>
9431 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
9432 entry point, used on Hurd.
9434 2000-04-04 Andreas Jaeger <aj@suse.de>
9436 * intl/Makefile: Only run the gettext test with shared libraries.
9438 2000-03-16 Mark Kettenis <kettenis@gnu.org>
9440 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
9441 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
9443 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
9445 * Makeconfig: Undo last change.
9446 * configure.in: If --disable-shared was given, don't set VERSIONING,
9447 don't define DO_VERSIONING, and don't give scare warning for no
9449 * configure: Regenerated.
9451 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
9453 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
9455 2000-04-04 Andreas Jaeger <aj@suse.de>
9457 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
9459 2000-04-04 Ulrich Drepper <drepper@redhat.com>
9461 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
9462 STV_HIDDEN and STV_INTERNAL during lookup.
9463 (profile_fixup): Likewise.
9464 * elf/dl-reloc.c (RESOLVE): Likewise.
9466 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
9467 unaligned so that it compiles for system which need unaligned
9470 2000-04-04 Andreas Schwab <schwab@suse.de>
9472 * elf/cache.c (print_entry): Only look at the type field when
9475 2000-04-04 Andreas Schwab <schwab@suse.de>
9477 * iconvdata/big5.c (BODY): Fix typo.
9479 2000-04-04 Andreas Schwab <schwab@suse.de>
9481 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
9482 function interface. Remove unused _dl_start_user entry point.
9484 2000-04-03 Andreas Jaeger <aj@suse.de>
9486 * include/arpa/inet.h (__inet_aton): Add protoype.
9488 2000-04-01 Andreas Jaeger <aj@suse.de>
9490 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
9492 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
9493 * sysdeps/mach/mips/thread_state.h: Likewise.
9495 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
9496 * sysdeps/generic/fegetenv.c: Likewise.
9497 * sysdeps/generic/fesetenv.c: Likewise.
9498 * sysdeps/generic/feupdateenv.c: Likewise.
9499 * sysdeps/generic/fraiseexcpt.c: Likewise.
9500 * sysdeps/generic/fsetexcptflg.c: Likewise.
9501 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
9502 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
9503 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
9504 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9506 2000-04-02 H.J. Lu <hjl@gnu.org>
9508 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
9510 2000-04-03 Ulrich Drepper <drepper@redhat.com>
9512 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
9513 (add_name_to_object): Add cast in malloc call.
9514 (fillin_rpath): Optimize loop to initialize ->status a bit.
9516 * sysdeps/i386/dl-machine.h: Undo last change.
9517 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
9518 Restore %edx register after call here.
9520 * sysdeps/arm/atomicity.h: New file.
9521 Contributed by Jesper Skov <jskov@redhat.com>.
9523 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
9525 * Makeconfig (preprocess-versions): Undo last change.
9526 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
9528 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
9529 here, before we might move the stack.
9530 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
9531 (init1): And not here.
9533 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
9534 change, to restore argc value in call-clobbered register after
9535 RTLD_START_SPECIAL_INIT, which will contain a call.
9537 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
9538 allocating and initializing L->l_initfini.
9540 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
9542 2000-04-03 Ulrich Drepper <drepper@redhat.com>
9544 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
9545 RUNPATH, RPATH, and LD_LIBRARY_PATH.
9546 (open_path): Change type of fourth parameter. Make pointer to array
9547 of pointers. Create variable dirs with original type.
9548 Track whether any directory for the object exists and if not,
9549 change *DIRSP to (void*) -1 to signal there is no such search path.
9550 (_dl_map_object): Change all calls of open_path.
9551 Rewrite decompose_rpath calls.
9553 2000-03-31 Andreas Schwab <schwab@suse.de>
9555 * string/strfry.c: Declare STATE as array of char instead of int
9556 and do not initialize it (done by initstate_r). Pass correct
9559 2000-04-03 Ulrich Drepper <drepper@redhat.com>
9561 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
9563 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
9564 instruction out of the code.
9566 2000-04-02 Ulrich Drepper <drepper@redhat.com>
9568 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
9569 element at this position.
9571 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
9572 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
9574 * elf/dl-lookup.c (add_dependency): New function.
9575 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
9576 dynamically loaded object.
9577 (_dl_lookup_symbol_skip): Likewise.
9578 (_dl_lookup_versioned_symbol): Likewise.
9579 (_dl_lookup_versioned_symbol_skip): Likewise.
9580 * elf/dl-open.c: Don't define _dl_load_lock here...
9581 * elf/rtld.c: ...but here...
9582 * elf/dl-support.c: ...and here.
9583 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
9585 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
9587 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
9589 * dlfcn/glrefmain.c: Add one more debug message.
9591 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
9593 * Makerules (sysd-versions): Use ( ) instead of { }.
9595 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
9596 optimize for the non-debugging case.
9597 * elf/dl-lookup.c: Likewise.
9598 * sysdeps/generic/libc-start.c: Likewise.
9600 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
9602 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
9603 (init1): Don't initialize __environ here, since init already does it.
9604 (first_init): New function, broken out of _init.
9605 (_hurd_stack_setup): Use it.
9606 [SHARED] (_dl_init_first): New function, renamed from old _init.
9607 (init1) [SHARED]: Don't call posixland_init here.
9608 (posixland_init): Take ENVP arg, so signature is usual for initializer.
9609 [SHARED] (_init): Define as alias for posixland_init.
9610 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
9611 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
9612 RTLD_START_SPECIAL_INIT before calling initializers.
9613 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
9614 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
9615 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
9616 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
9618 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
9619 since we define the function with the name `tmpfile'.
9621 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
9622 * hurd/Versions: Likewise.
9624 2000-04-02 Ulrich Drepper <drepper@redhat.com>
9626 * elf/dl-runtime.c (fixup): Fix typo in comment.
9628 * resolv/netdb.h (getnameinfo): All length parameters are of type
9630 * inet/getnameinfo.c: Likewise.
9632 2000-04-01 Ulrich Drepper <drepper@redhat.com>
9634 * posix/unistd.h (socklen_t): Define if it has not yet happened.
9635 (gethostname): Change type of second parameter to socklen_t.
9636 * include/unistd.h (__gethostname): Change type of second
9637 parameter to socklen_t.
9638 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
9639 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
9640 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
9641 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
9643 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
9644 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
9645 Allow definition elsewhere.
9646 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
9647 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9648 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
9649 * sysdeps/generic/bits/types.h: Define __socklen_t.
9650 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
9651 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
9652 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9653 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9654 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
9655 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
9656 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
9658 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
9659 (inet_lnaof): Likewise.
9660 (inet_netof): Likewise.
9661 (inet_network): Likewise.
9662 (inet_aton): Likewise.
9663 (inet_makeaddr): Change parameter types to in_addr_t.
9664 (inet_neta): Likewise.
9665 (inet_ntop): Change type of last parameter to socklen_t.
9666 (inet_aton): Only make available if __USE_MISC.
9667 (inet_neta): Likewise.
9668 (inet_net_ntop): Likewise.
9669 (inet_net_pton): Likewise.
9670 (inet_nsap_ntoa): Likewise.
9672 * inet/in.h: Define in_port_t type.
9673 Define in_addr_t type.
9674 (struct in_addr): Use in_addr_t in definition.
9675 (IN_CLASSA): Use cast to in_addr_t.
9676 (IN_CLASSB): Likewise.
9677 (IN_CLASSC): Likewise.
9678 (IN_CLASSD): Likewise.
9679 (IN_EXPERIMENTAL): Likewise.
9680 (IN_BADCLASS): Likewise.
9681 (INADDR_ANY): Likewise.
9682 (INADDR_BROADCAST): Likewise.
9683 (INADDR_NONE): Likewise.
9684 (INADDR_LOOPBACK): Likewise.
9685 (INADDR_UNSPEC_GROUP): Likewise.
9686 (INADDR_ALLHOSTS_GROUP): Likewise.
9687 (INADDR_ALLRTRS_GROUP): Likewise.
9688 (INADDR_MAX_LOCAL_GROUP): Likewise.
9689 (struct sockaddr_in): Use in_port_t for sin_port element.
9690 (struct sockaddr_in6): Use in_port_t for sin6_port element.
9691 Use uint8_t instead of u_int8_t.
9693 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
9694 Call __inet_aton instead of inet_aton.
9695 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
9697 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
9698 (innetgr): Likewise.
9699 (struct addrinfo): Use socklen_t for ai_addrlen element.
9701 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
9702 IPV6_RECVERR): New defines.
9704 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
9705 * inet/getnetbyad.c: Likewise.
9706 * inet/getnetbyad_r.c: Likewise.
9707 * nis/nss_nis/nis-network.c: Likewise.
9708 * nis/nssplus_nis/nisplus-network.c: Likewise.
9709 * nss/nss_files/files-network.c: Likewise.
9710 * resolv/netdb.h: Define uint32_t if not already happened.
9711 Include bits/netdb.h. Remove definition of struct netent.
9712 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
9713 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
9714 * sysdeps/generic/bits/netdb.h: New file.
9715 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
9717 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
9718 (tests): Add glrefmain.
9719 Add rules to build modules and run tests. Ignore result of glrefmain
9720 for now since it fails.
9721 * dlfcn/glrefmain.c: New file.
9722 * dlfcn/glreflib1.c: New file.
9723 * dlfcn/glreflib2.c: New file.
9725 * test-skeleton.c: Include <string.h> for strsignal prototype.
9727 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
9730 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
9731 former init-first.h. Initialize __libc_multiple_libcs.
9733 2000-03-31 Ulrich Drepper <drepper@redhat.com>
9735 * iconv/skeleton.c: Define access macros with u suffix. Adjust
9736 #if expression for use of unaligned function to the one used in
9737 the definition of these functions.
9738 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
9739 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
9740 (internal_ucs4le_loop_unaligned): New function.
9742 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
9744 (module-names): Add dep1, dep2, dep3, and dep4.
9745 Add dependencies for dep* modules and order.
9746 Define rule for order.out which checks the result.
9747 * elf/dep1.c: New file.
9748 * elf/dep2.c: New file.
9749 * elf/dep3.c: New file.
9750 * elf/dep4.c: New file.
9751 * elf/order.c: New file.
9753 * elf/dl-init.c: Fix typo in comment.
9755 2000-03-31 Andreas Jaeger <aj@suse.de>
9757 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
9758 init function interface.
9759 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
9761 2000-03-31 Andreas Jaeger <aj@suse.de>
9763 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
9764 * sysdeps/mips/fpu/fegetenv.c: Likewise.
9765 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
9766 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
9767 * sysdeps/mips/fpu/fesetenv.c: Likewise.
9769 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
9770 anymore, update comment.
9772 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9774 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
9775 SHLIB_COMPAT - the struct is always needed.
9777 2000-03-31 Ulrich Drepper <drepper@redhat.com>
9779 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
9780 * elf/dl-support.c: Define _dl_starting_up.
9782 2000-03-30 Ulrich Drepper <drepper@redhat.com>
9784 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
9785 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
9787 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
9789 * elf/Makefile (dl-routines): Remove preinit.
9790 * elf/Versions: Remove _dl_preinit.
9791 * elf/dl-preinit.c: Removed. Move content into...
9792 * elf/dl-init.c: ...here.
9793 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
9795 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
9798 2000-03-29 Geoff Clare <gwc@unisoft.com>
9800 * stdlib/strfmon.c: Corrected problems with the code that
9801 sets default values for [np]_sep_by_space and
9802 [np]_sign_posn; also the new positive/negative alignment
9803 code from the previous patch was not quite right for
9806 * localedata/tst-fmon.data: Changes corresponding to the
9807 two sets of fixes made to stdlib/strfmon.c.
9809 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
9811 * malloc/malloc.c: Declare bit flags UL so that they will not
9812 default to int size when being inverted.
9814 2000-03-29 Andreas Jaeger <aj@suse.de>
9816 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
9817 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
9819 2000-03-29 Andreas Jaeger <aj@suse.de>,
9820 Ralf Baechle <ralf@uni-koblenz.de>
9822 * Makeconfig: Introduce new variable SHARED to mark code used in
9824 * elf/dl-close.c: Use it instead of PIC.
9825 * elf/dl-load.c: Likewise.
9826 * elf/dl-open.c: Likewise.
9827 * hurd/geteuids.c: Likewise.
9828 * include/libc-symbols.h: Likewise.
9829 * include/shlib-compat.h: Likewise.
9830 * libio/freopen.c: Likewise.
9831 * linuxthreads/cancel.c: Likewise.
9832 * linuxthreads/pthread.c: Likewise.
9833 * linuxthreads/wrapsyscall.c: Likewise.
9834 * nss/nsswitch.c: Likewise.
9835 * stdio-common/vfprintf.c: Likewise.
9836 * sysdeps/arm/init-first.c: Likewise.
9837 * sysdeps/i386/init-first.c: Likewise
9838 * sysdeps/generic/init-first.c: Likewise.
9839 * sysdeps/generic/libc-start.c: Likewise.
9840 * sysdeps/mips/init-first.c: Likewise.
9841 * sysdeps/powerpc/elf/libc-start.c: Likewise.
9842 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9843 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
9844 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
9845 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9847 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
9849 2000-03-29 Andreas Jaeger <aj@suse.de>
9851 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
9852 Use D_PTR to access relocated entries in l_info.
9853 (elf_machine_rela): Likewise.
9855 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
9857 (elf_machine_rela): Likewise.
9859 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
9861 (__elf_machine_fixup_plt): Likewise.
9862 (__process_machine_rela): Likewise.
9864 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
9865 (elf_machine_rela): Likewise.
9867 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
9868 (elf_machine_rel): Likewise.
9870 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
9871 (elf_machine_fixup_plt): Likewise.
9872 (elf_machine_rela): Likewise.
9874 2000-03-29 Andreas Jaeger <aj@suse.de>
9876 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
9877 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9878 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9879 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
9880 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9881 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
9882 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
9883 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
9884 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
9885 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
9886 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
9887 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
9888 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
9889 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
9890 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9892 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
9893 macros, remove K&R prototypes.
9895 2000-03-30 Ulrich Drepper <drepper@redhat.com>
9897 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
9898 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
9901 2000-03-30 Andreas Jaeger <aj@suse.de>
9903 * misc/sys/cdefs.h: Remove K&R support.
9905 2000-03-30 Ulrich Drepper <drepper@redhat.com>
9907 * iconv/skeleton.c: Avoid compiling unaligned versions in some
9909 * iconv/loop.c: Likewise.
9911 2000-03-29 Bruno Haible <haible@clisp.cons.org>
9913 * iconv/loop.c (put16): Remove __const. Fix access index.
9914 (put32): Remove __const. Use uint32_t instead of uint16_t.
9915 * iconv/skeleton.c: Likewise.
9917 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
9919 * mach/Versions (libc: GLIBC_2.0)
9920 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
9921 __vm_allocate on this.
9922 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
9923 mutex- and spinlock-related symbols on this.
9924 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
9925 New version set. Lock-related symbols go here instead in this case.
9926 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
9927 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
9928 cthread_getspecific, cthread_setspecific, __libc_getspecific.
9930 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
9931 Put them here instead.
9932 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
9933 New version set. Those cthreads symbols go here instead in this case.
9934 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
9936 2000-03-30 Ulrich Drepper <drepper@redhat.com>
9938 * elf/dl-init.c (_dl_init): We don't need to call constructors
9939 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
9941 Implement dynamic determination of constructor/destructor order in
9943 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
9944 (GLIBC_2.2): Add _dl_init.
9945 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
9946 r_duplist is not anymore allocated separately. l_initfini is and
9947 therefore free it if necessary.
9948 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
9949 malloc block. Otherwise allocate l_initfini list only.
9950 Put dependencies for the object in l_initfini list.
9951 Sort dependencies for the object to be loaded topologically.
9952 * elf/dl-fini.c: Before running the destructors sort the topologically.
9953 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
9954 call constructors instead of iterating over the pointers. Get list of
9955 objects for which to run constructors from l_initfini element. Accept
9956 argc, argv, and env as parameters and pass them to the constructors.
9957 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
9958 with size of dynamic section.
9959 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
9960 _dl_init_next and calling constructors ourself.
9961 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
9962 Take argc, argv, and env as parameters and pass them to the
9963 constructors. Rewrite to call all constructors and not iterate over
9965 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
9966 precompute l_initcount and l_preinitcount.
9967 * elf/link.h (struct link_map): Add l_ldnum member.
9968 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
9969 l_initcount, and l_preinitcount. Add l_initfini.
9970 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
9972 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
9974 * sysdeps/unix/sysv/linux/init-first.h: Removed.
9975 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
9976 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
9977 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
9978 conventions now match.
9980 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
9981 effect for shared objects. Don't emit message and call only for
9984 2000-03-29 Ulrich Drepper <drepper@redhat.com>
9986 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
9987 CSA_Z243.4-1985-1..UCS2.
9988 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
9991 2000-03-29 Andreas Jaeger <aj@suse.de>
9993 * include/unistd.h: Remove duplicate entry for __rmdir.
9994 Remove declaration of __mkdir since __mkdir is declared in
9997 * manual/creature.texi (Feature Test Macros): Fix typo, reported
9998 by Michael Deutschmann <michael@talamasca.ocis.net>.
10000 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
10001 * sysdeps/mips/fpu/fegetenv.c: Likewise.
10002 * sysdeps/mips/fpu/fesetenv.c: Likewise.
10003 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
10004 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
10006 2000-03-28 Andreas Jaeger <aj@suse.de>
10008 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
10009 declaration, the prototype is defined via bits/mathcalls.h.
10010 (__sincosf): Likewise.
10011 (__sincosl): Likewise.
10013 (ldexpf): Likewise.
10014 (ldexpl): Likewise.
10015 (__finite): Likewise.
10016 (__inline_mathcodeNP): New macro without prototype
10018 (__inline_mathcodeNP2): Likewise.
10019 (__inline_mathcodeNP3): Likewise.
10020 (__inline_mathcodeNP_): Likewise.
10021 (__inline_mathcodeNP2_): Likewise.
10022 (__inline_mathcodeNP3_): Likewise.
10023 (__inline_mathopNP): Likewise.
10024 (__inline_mathop_declNP): Likewise.
10025 (__inline_mathop_declNP_): Likewise.
10026 (__inline_mathcode_): Use __inline_mathcodeNP_.
10027 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
10028 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
10029 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
10030 (__expm1l): Don't define prototype, the prototype is defined via
10033 (__expl): Likewise.
10036 (__atan2l): Likewise.
10041 (__fabsl): Likewise.
10059 (__sqrtl): Likewise.
10069 2000-03-28 Ulrich Drepper <drepper@redhat.com>
10071 * Makerules: If make variable md5 is defined to yes after
10072 generating dependencies generate MD5 sum for the object.
10074 * iconv/gconv_builtin.h: Fix length in transformation definition
10077 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
10079 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
10080 allow as well reading from/writing to unaligned addresses on machines
10081 which don't support this in hardware. Use FCTNAME macro to define
10082 function name. Include the file a second time for platforms which
10083 need special unaligned handling.
10084 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
10085 to access potentially unaligned addresses. These macros are intended
10086 to be used only outside the loops.
10087 (unaligned): New definition. In case the machine can handle unaligned
10088 access define as zero. Otherwise as a variable which is initialized
10089 as nonzero in case the buffer passed in at runtime is unaligned with
10090 respect to the character set encoding involved.
10091 Call aligned or unaligned looop functions according to unaligned
10093 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
10094 of direct casting pointer to potentially handle unaligned memory
10096 * iconvdata/8bit-generic.c: Likewise.
10097 * iconvdata/ansi_x3.110.c: Likewise.
10098 * iconvdata/big5.c: Likewise.
10099 * iconvdata/euc-cn.c: Likewise.
10100 * iconvdata/euc-jp.c: Likewise.
10101 * iconvdata/euc-kr.c: Likewise.
10102 * iconvdata/euc-tw.c: Likewise.
10103 * iconvdata/gbk.c: Likewise.
10104 * iconvdata/iso-2022-cn.c: Likewise.
10105 * iconvdata/iso-2022-jp.c: Likewise.
10106 * iconvdata/iso-2022-kr.c: Likewise.
10107 * iconvdata/iso646.c: Likewise.
10108 * iconvdata/iso_6937-2.c: Likewise.
10109 * iconvdata/iso_6937.c: Likewise.
10110 * iconvdata/johab.c: Likewise.
10111 * iconvdata/sjis.c: Likewise.
10112 * iconvdata/t.61.c: Likewise.
10113 * iconvdata/uhc.c: Likewise.
10114 * iconvdata/unicode.c: Likewise.
10115 * iconvdata/utf-16.c: Likewise.
10117 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
10120 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
10121 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
10123 * malloc/mcheck.h (mcheck_check_all): Declare.
10125 * stdio-common/Makefile (tests): Add tst-obprintf.
10127 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
10129 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
10130 Declare pthread_sigmask.
10132 * csu/version.c: Add 2000 to copyright years.
10133 Remove Emacs local variables section.
10135 2000-03-23 Bruno Haible <haible@clisp.cons.org>
10137 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
10138 __gconv_transform_internal_ucs2little): Remove declarations.
10139 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
10140 __gconv_transform_internal_ucs2): Never need to bswap_16.
10141 (__gconv_transform_ucs2reverse_internal,
10142 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
10144 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
10146 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
10147 obsoleting version not being defined at all, in which case the
10148 result is always true.
10150 * Makeconfig (preprocess-versions): New canned sequence for running
10151 cpp on shlib-versions and the like.
10152 (soversions.i): Use it.
10153 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
10154 Versions.def and Versions files.
10156 2000-03-27 Ulrich Drepper <drepper@redhat.com>
10158 * stdio-common/tst-obprintf.c (main): Add another check to see
10159 obstack_printf handling all possible beginnings of the block
10160 inside an obstack chunk.
10162 * locale/programs/localedef.c: Use __malloc_initialize_hook to
10163 install mcheck handler.
10165 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
10168 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
10170 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
10172 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
10173 on [HAVE_ELF && DO_VERSIONING].
10175 2000-03-27 Ulrich Drepper <drepper@redhat.com>
10177 * stdio-common/tst-obprintf.c: New file.
10179 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10181 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
10182 _IO_OVERFLOW directly instead through __overflow.
10184 * locale/programs/localedef.c (construct_output_path): If path
10185 contains a / compute the end of the directory name correctly.
10187 * include/features.h: Undef and document __USE_XOPEN2K.
10189 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
10190 whenever a function is called. Initiated by calling mcheck_pedantic
10192 * malloc/mcheck.h: Declare mcheck_pedantic.
10193 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
10194 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
10197 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
10199 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
10200 * dlfcn/dlopenold.c: Likewise.
10201 * nss/getXXbyYY_r.c: Likewise.
10202 * nss/getXXent_r.c: Likewise.
10203 * hurd/hurdinit.c: Likewise.
10204 * hurd/compat-20.c: Likewise.
10205 * libio/oldiofopen.c: Likewise.
10206 * libio/oldiofclose.c: Likewise.
10207 * libio/oldiofdopen.c: Likewise.
10208 * libio/oldfileops.c: Likewise.
10209 * libio/oldstdfiles.c: Likewise.
10210 * libio/oldiofsetpos.c: Likewise.
10211 * libio/oldiofgetpos.c: Likewise.
10212 * libio/oldiofgetpos64.c: Likewise.
10213 * libio/oldiofsetpos64.c: Likewise.
10214 * libio/oldiopopen.c: Likewise.
10215 * libio/oldpclose.c: Likewise.
10216 * libio/oldtmpfile.c: Likewise.
10217 * libio/freopen.c (freopen): Likewise.
10218 * libio/iofclose.c (_IO_new_fclose): Likewise.
10220 * sysdeps/mach/sys/reboot.h: Include <features.h>.
10221 (reboot): Declare it.
10223 * libio/Makefile (headers): Add bits/stdio-lock.h here.
10225 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
10227 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
10229 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
10230 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
10231 We need this for the sbrk decl, which can be included without Unix98.
10233 2000-03-20 Richard Henderson <rth@cygnus.com>
10235 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
10236 argument to yperr2nss is an int, not size_t.
10237 * posix/regex.c (print_partial_compiled_pattern): Cast all
10238 ptrdiff_t to long for printing.
10239 (print_compiled_pattern): Use Z for printing size_t.
10240 * posix/testfnm.c (tests): Avoid trigraphs.
10241 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
10242 Use a C comment, not an assembly comment.
10244 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
10245 of __ASSUME_32BITUIDS.
10247 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10249 * libio/iofopncook.c: Remove K&R prototypes.
10251 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
10253 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
10254 an initial value of 1024 instead of RLIM_INFINITY.
10256 * Versions.def (libmachuser, libhurduser): Remove these sections,
10257 since these libraries do not presently use symbol versions.
10259 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
10260 is RLIM_INFINITY, return -1 instead.
10262 2000-03-24 Andreas Jaeger <aj@suse.de>
10264 * Makefile (postclean): Added soversions.i.
10266 2000-03-24 Scott Bambrough <scottb@netwinder.org>
10268 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
10269 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
10270 and _FPU_IEEE. Change _FPU_RESERVED.
10272 2000-03-24 Scott Bambrough <scottb@netwinder.org>
10274 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
10276 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
10278 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
10279 (gaih_inet): Remove unused duplicate variable.
10281 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
10282 Don't use __libc_sa_len, which only exists for Linux. Just handle
10283 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
10284 only flavors supported by this function anyway.
10286 2000-03-24 Geoff Clare <gwc@unisoft.com>
10288 * stdlib/strfmon.c: Corrected problems with missing signs and
10289 missing or extra spaces; allow for sign strings longer than
10290 one character; add padding to ensure positive and negative
10291 formats are aligned when a left precision is used.
10293 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10295 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
10296 Patch by John Mizel <John.Mizel@msdw.com>.
10298 2000-03-25 Ulrich Drepper <drepper@redhat.com>
10300 * manual/install.texi: Remove references to crypt add-on.
10302 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
10304 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
10305 section while taking the _hurd_rlimit_lock.
10306 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10308 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
10310 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
10313 * sysdeps/mach/hurd/if_index.c: New file.
10315 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
10316 * sysdeps/gnu/net/if.h: here.
10317 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
10318 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
10319 * sysdeps/generic/net/if.h: New file. Declares just the standard
10320 functions and `struct if_nameindex' type.
10321 * socket/Makefile (headers): Add net/if.h here.
10322 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
10323 * sysdeps/mach/hurd/Dist: Remove it here.
10324 * sysdeps/unix/sysv/linux/Dist: And here.
10325 * sysdeps/generic/if_index.c: Include <net/if.h>.
10327 2000-03-24 Andreas Jaeger <aj@suse.de>
10329 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
10330 access relocated entries in l_info.
10331 (elf_machine_got_rel): Likewise.
10332 (elf_machine_runtime_setup): Likewise.
10333 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
10334 (elf_machine_runtime_setup): Likewise.
10335 (__dl_runtime_resolve): Likewise.
10337 2000-03-23 Ulrich Drepper <drepper@redhat.com>
10339 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
10340 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
10341 according to RFC 2553.
10342 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
10343 * inet/getnameinfo.c: Likewise.
10344 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
10346 2000-03-23 Bruno Haible <haible@clisp.cons.org>
10348 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
10349 Remove no-op pointer increment.
10351 2000-03-23 Andreas Jaeger <aj@suse.de>
10353 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
10354 follow change for libio.h from 2000-03-10.
10356 2000-03-23 Andreas Jaeger <aj@suse.de>
10358 * elf/dl-addr.c: Adjust include paths for ldsodefs location
10360 * elf/dl-debug.c: Likewise.
10361 * elf/dl-deps.c: Likewise.
10362 * elf/dl-error.c: Likewise.
10363 * elf/dl-fini.c: Likewise.
10364 * elf/dl-init.c: Likewise.
10365 * elf/dl-load.c: Likewise.
10366 * elf/dl-lookup.c: Likewise.
10367 * elf/dl-minimal.c: Likewise.
10368 * elf/dl-object.c: Likewise.
10369 * elf/dl-open.c: Likewise.
10370 * elf/dl-preinit.c: Likewise.
10371 * elf/dl-profile.c: Likewise.
10372 * elf/dl-profstub.c: Likewise.
10373 * elf/dl-reloc.c: Likewise.
10374 * elf/dl-runtime.c: Likewise.
10375 * elf/dl-support.c: Likewise.
10376 * elf/dl-symbol.c: Likewise.
10377 * elf/dl-version.c: Likewise.
10378 * elf/rtld.c: Likewise.
10379 * elf/sprof.c: Likewise.
10380 * sysdeps/generic/dl-cache.c: Likewise.
10381 * sysdeps/generic/dl-origin.c: Likewise.
10382 * sysdeps/generic/dl-sysdep.c: Likewise.
10383 * sysdeps/generic/elf/backtracesyms.c: Likewise.
10384 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10385 * sysdeps/generic/libc-start.c: Likewise.
10386 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10387 * sysdeps/powerpc/dl-machine.c: Likewise.
10388 * sysdeps/powerpc/elf/libc-start.c: Likewise.
10389 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10390 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10391 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
10393 * elf/ldsodefs.h: Move file to ...
10394 * sysdeps/generic/ldsodefs.h: ... here.
10396 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
10398 * sysdeps/mips/elf/ldsodefs.h: New file.
10400 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
10402 (_dl_check_map_versions): Likewise.
10403 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10404 * elf/dl-load.c (_dl_init_paths): Likewise.
10405 (_dl_map_object): Likewise.
10406 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
10407 (elf_get_dynamic_info): Likewise.
10408 * elf/do-lookup.h (FCT): Likewise.
10409 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
10410 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
10411 * elf/dl-addr.c (_dl_addr): Likewise.
10412 * elf/dl-runtime.c (profile_fixup): Likewise.
10414 * elf/dl-init.c (_dl_init_next): Likewise.
10415 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
10416 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
10417 (DISTINGUISH_LIB_VERSIONS): Likewise.
10418 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
10419 (elf_machine_rel): Likewise.
10421 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
10422 for writable dynamic section.
10424 2000-03-22 Ulrich Drepper <drepper@redhat.com>
10426 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
10427 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
10429 2000-03-22 Andreas Jaeger <aj@suse.de>
10431 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
10432 from latest Linux kernel.
10434 2000-03-21 Andreas Jaeger <aj@suse.de>
10436 * Versions.def: Add version 2.1.4.
10438 2000-03-21 Ulrich Drepper <drepper@redhat.com>
10440 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
10441 * libio/oldiofopen.c: Likewise.
10442 * libio/oldiofclose.c: Likewise.
10443 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10445 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
10447 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
10448 indicating the first version set to obsolete the conditionalized code.
10449 (compat_symbol): New macro.
10450 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
10451 rhs be the ABI_* macro for the subsuming version. Assign increasing
10452 integer values to the ABI_* macros for supported versions.
10453 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
10454 compat_symbol macro.
10456 2000-03-21 Ulrich Drepper <drepper@redhat.com>
10458 * nscd/connections.c (nscd_run): Pretty print.
10459 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
10461 * manual/charset.texi: Fix typos. Rephrase.
10462 * manual/process.texi: Likewise.
10463 * manual/signal.texi: Likewise.
10464 Patches by Mike Coleman <mkc@kc.net>.
10466 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
10468 * libio/iofdopen.c: Likewise.
10469 * libio/iofgetpos.c: Likewise.
10470 * libio/iofgetpos64.c: Likewise.
10471 * libio/iofopen.c: Likewise.
10472 * libio/iofsetpos.c: Likewise.
10473 * libio/iofsetpos64.c: Likewise.
10474 * libio/iopopen.c: Likewise.
10475 * libio/oldiofopen.c: Likewise.
10476 * libio/pclose.c: Likewise.
10477 * sysdeps/gnu/siglist.c: Likewise.
10478 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10480 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
10481 chance to expand VERSION_##lib##_##version.
10483 * libio/fileops.c: Use new macros from shlib-compat.h to define
10485 * libio/iofclose.c: Likewise.
10486 * libio/oldiofclose.c: Likewise.
10487 Patch by Roland McGrath <roland@frob.com>.
10489 2000-03-21 Jakub Jelinek <jakub@redhat.com>
10491 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
10492 Lay out struct sigcontext according to what really gets passed on
10494 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
10495 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
10496 (prgregset_t, prfpregset_t): Define to elf_* types.
10497 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
10498 Define to correct value.
10499 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
10501 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
10503 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
10505 * scripts/firstversions.awk: Allow multiple version sets in the
10506 "earliest version" specification, meaning that version sets in the
10507 gaps between listed versions should be folded into the earliest later
10508 version that is explicitly listed.
10509 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
10510 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
10512 2000-03-21 Ulrich Drepper <drepper@redhat.com>
10514 * iconv/gconv_builtin.c: Include <endian.h>.
10515 * iconv/gconv_builtin.h: Add UCS-BE aliases.
10516 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
10517 according to current platform.
10518 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
10519 __gconv_transform_internal_ucs2reverse, and
10520 __gconv_transform_internal_ucs4le.
10521 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
10522 __gconv_transform_ucs2reverse_internal and
10523 __gconv_transform_internal_ucs2reverse.
10524 * iconvdata/Makefile (modules): Add UNICODE.
10525 (distribute): Add unicode.c.
10526 * iconvdata/gconv-modules: Add definitions for UNICODE module.
10527 * iconvdata/unicode.c: New file.
10529 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
10530 determine byte order of input and convert accordingly.
10532 * iconvdata/utf-16.c (gconv_init): Fix typo.
10534 2000-03-20 Ulrich Drepper <drepper@redhat.com>
10536 * iconvdata/gconv-modules: Fix typo.
10538 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
10541 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
10543 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
10545 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
10547 2000-03-20 Ulrich Drepper <drepper@redhat.com>
10549 * misc/Makefile (routines): Add mincore.
10551 2000-03-20 Andreas Jaeger <aj@suse.de>
10553 * sysdeps/generic/mincore.c: New stub file.
10555 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
10556 from latest Linux kernel.
10558 2000-03-20 Ulrich Drepper <drepper@redhat.com>
10560 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
10561 _SC_GETPW_R_SIZE_MAX.
10563 2000-03-20 Richard Henderson <rth@cygnus.com>
10565 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
10568 2000-03-20 Richard Henderson <rth@cygnus.com>
10570 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
10571 of arithmetic instructions.
10573 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
10574 with the fpcr. Protect from INV exception.
10575 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
10576 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
10577 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
10579 * sysdeps/alpha/fpu/s_copysign.c: New.
10580 * sysdeps/alpha/fpu/s_copysignf.c: New.
10581 * sysdeps/alpha/fpu/s_fabs.c: New.
10582 * sysdeps/alpha/fpu/s_fabsf.c: New.
10583 * sysdeps/alpha/fpu/s_rint.c: New.
10584 * sysdeps/alpha/fpu/s_rintf.c: New.
10586 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
10588 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
10590 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
10591 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
10592 Use physical addresses not KSEG addresses.
10593 (io_system): Add PYXIS.
10594 (io): Remove hae.reg, sys, hae_shift.
10595 (stb_mb, stw_mb, stl_mb, __sethae): New.
10596 (inline_outb, inline_outw, inline_outl): Don't set hae.
10597 (inline_inb, inline_inw, inline_inl): Likewise.
10598 (dense_sethae): New null function.
10599 (struct cpuinfo_data): New.
10600 (process_cpuinfo): Use local and stack variables, not static.
10601 Move readlink check here from init_iosys.
10602 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
10604 (_hae_shift): Calculate it here.
10605 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
10606 add pciconfig_iobase.
10608 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
10610 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
10611 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
10613 * scripts/versions.awk: Fixed version renaming code to distinguish
10614 libraries properly.
10616 2000-03-19 Ulrich Drepper <drepper@redhat.com>
10618 * include/stdlib.h: Add prototype for __cxa_atexit.
10620 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
10621 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
10623 2000-03-17 Cristian Gafton <gafton@redhat.com>
10625 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
10626 existing rtld-installed-name.
10627 ($(rtld-installed-name)): Request libc-$(version) be installed too.
10628 replace existing rtld-installed-name using $(symbolic-link-prog).
10630 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
10632 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
10633 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
10634 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
10635 but not the former.
10637 2000-03-19 Ulrich Drepper <drepper@redhat.com>
10639 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
10640 glob64. Since there is no glob64 in the LFS proposal applications
10641 can assume that glob handles LFS situations. glob64 is only needed
10642 if alternative filesystem functions are used.
10644 2000-03-19 Geoff Clare <gwc@unisoft.com>
10646 * sysdeps/generic/glob.c: Correct gl_pathc value returned
10647 when GLOB_DOOFFS is set; correct handling of patterns
10648 containing escaped wildcards (and no unescaped ones);
10649 GLOB_ERR flag was being ignored in some situations.
10651 * posix/globtest.c, posix/globtest.sh: Updated to include
10652 tests for the problems fixed by the above changes to glob.c.
10654 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
10656 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
10658 * Makeconfig (soversion.i): Use only first match for each lib.
10660 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
10662 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
10663 rather than $(sysd-dirs-done) to protect these rules.
10665 * Makerules (version-renames.def): Target removed.
10666 (Versions.all): Depend on soversions.i directly and parse it.
10668 * Makeconfig (soversions.i): New target, input-reading parts of
10669 soversions.mk generation moved here; result is a canonicalized
10670 list "LIB VERSION [SET]" for this configuration.
10671 (soversions.mk): Use that as input. Don't emit map-firstversions.
10672 * Makerules (version-renames.def): New target, generated from
10673 soversions.i with contents that was in $(map-firstversions).
10674 (Versions.all): Don't depend on soversions.mk, depend on
10675 version-renames.def instead; just cat it into the input.
10677 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
10678 for $(map-firstversions), which better handles it being empty.
10680 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
10681 supported version for libc 0.2.90.libio to GLIBC_2.2.
10683 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
10684 and use it to emit new variable `map-firstversions'.
10685 * scripts/firstversions.awk: New file.
10686 * Makerules (Versions.all): Use scripts/firstversions.awk and
10687 the $(map-firstversions) value to generate a modified versions list
10688 that includes renames in "A = B" syntax for each version set earlier
10689 than the "earliest symbol version" named in shlib-versions.
10690 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
10691 rename version set A to B in the output to the intermediate file.
10692 * scripts/abi-versions.awk: New file.
10693 * Makerules (abi-versions.h): New target, generated by that script.
10694 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
10695 * include/shlib-compat.h: New file, uses that generated header.
10697 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
10699 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
10700 after stripping # comments, and then run it through cpp.
10701 This allows things like "%ifdef FOO" based on config.h settings.
10702 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
10704 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
10705 and other errors that indicate a pseudo-receive happened, grok through
10706 the message buffer for port rights that need references fixed up.
10708 2000-03-16 Andreas Jaeger <aj@suse.de>
10710 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
10712 * sysdeps/unix/sysv/linux/madvise.c: Remove.
10714 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
10715 from latest Linux kernel.
10716 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
10718 * misc/sys/mman.h: Add prototype for mincore.
10720 2000-03-17 Ulrich Drepper <drepper@redhat.com>
10722 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
10723 entry for GLIBC_2.0 version of setrlimit.
10724 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
10726 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
10728 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
10729 * nis/nss_compat/compat-initgroups.c: Likewise.
10730 * nis/nss_nis/nis-initgroups.c: Likewise.
10731 * nis/nss_nis/nis-netgrp.c: Likewise.
10732 * nis/nss_nis/nis-proto.c: Likewise.
10733 * nis/nss_nis/nis-rpc.c: Likewise.
10734 * nis/nss_nis/nis-service.c: Likewise.
10735 * nis/ypclnt.c: Likewise.
10737 2000-03-16 Andreas Jaeger <aj@suse.de>
10739 * manual/Makefile: MAKEINFO is set to `:' from configure if it
10740 doesn't exist, correct checks. Fixes PR libc/1649.
10742 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
10744 * nscd/hstcache.c: Restore correct UID.
10745 * nscd/pwdcache.c: Likewise.
10746 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
10748 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
10750 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
10751 macros for register names, in line with 2000-03-14 linux change.
10753 * sysdeps/mach/sched_yield.c: New file.
10755 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
10757 * sysdeps/generic/lockfile.c: Include <stdio.h>
10758 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
10759 case <libio.h> defined them.
10760 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
10762 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
10763 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
10765 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
10766 for more pleasing parse error.
10768 2000-03-16 Ulrich Drepper <drepper@redhat.com>
10770 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
10772 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
10774 * elf/Makefile: Add rules to compile and run constload1 test.
10775 * elf/constload1.c: New file.
10776 * elf/constload2.c: New file.
10777 * elf/constload3.c: New file.
10779 2000-03-15 Ulrich Drepper <drepper@redhat.com>
10781 * sysdeps/posix/open64.c: Make __open64 weak alias.
10782 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
10783 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10784 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
10785 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10786 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
10787 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
10788 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10789 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
10790 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10791 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
10793 2000-03-14 Ulrich Drepper <drepper@redhat.com>
10795 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
10796 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
10798 2000-03-16 Mark Kettenis <kettenis@gnu.org>
10800 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
10801 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
10803 2000-03-08 Andreas Jaeger <aj@suse.de>
10805 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
10807 2000-03-14 Ulrich Drepper <drepper@redhat.com>
10809 * timezone/africa: Update from tzdata2000d.
10810 * timezone/asia: Likewise.
10811 * timezone/australasia: Likewise.
10812 * timezone/europe: Likewise.
10813 * timezone/northamerica: Likewise.
10814 * timezone/southamerica: Likewise.
10816 * po/fr.po: Update from translation team.
10817 * po/de.po: Likewise.
10819 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
10820 last parameter. Move code to add map to global scope from here...
10821 * elf/dl-open.c (dl_open_worker): ...here.
10822 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
10823 * elf/rtld.c: Adjust call to _dl_map_object_deps.
10825 * locale/programs/ld-collate.c (collate_read): Fix warning.
10827 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
10828 values and macros for register names.
10830 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
10831 returned by seek cookie function is -1.
10833 2000-03-14 Andreas Jaeger <aj@suse.de>
10835 * locale/localeconv.c (localeconv): Fix typo.
10836 Reported by Andre Charbonneau <andrec@corel.com>.
10838 2000-03-14 Ulrich Drepper <drepper@redhat.com>
10840 * iconv/skeleton.c: Increment __invocation_counter in inner loop
10841 since modules depend on it counting the number of times the conversion
10842 function got called.
10844 * iconv/gconv_open.c: Optimize loop to setup step data structure.
10846 * iconv/gconv.h: Pretty print.
10848 2000-03-04 Ulrich Drepper <drepper@redhat.com>
10850 * posix/wordexp-test.c: Correct one of the tests added in the last
10851 change. Really get the root passwd entry to check again ~root.
10853 2000-03-10 Andreas Jaeger <aj@suse.de>
10855 * manual/filesys.texi (Working Directory): Fix last patch.
10856 Patch by Martin Buchholz <martin@xemacs.org>.
10858 2000-03-10 Andreas Jaeger <aj@suse.de>
10860 * manual/creature.texi (Feature Test Macros): Fix language.
10862 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
10864 * mach/devstream.c (devstream_write, devstream_read): New functions.
10865 (input, output): Functions removed.
10866 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
10867 using only the vanilla fopencookie interface.
10869 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
10870 as macro for __io_functions.
10871 (funcsio): Use cookie_io_functions_t type name.
10872 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
10874 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
10876 (fopencookie): Use it.
10877 * libio/libio.h: Declare _IO_cookie_init.
10878 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
10881 * libio/libio.h (__io_seek_fn): Fix second argument type
10882 to be a pointer, in line with the manual and the old stdio.
10883 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
10885 * sysdeps/generic/bits/stdio-lock.h: New file.
10886 This is a stub with #error, but that's better than no file at all.
10888 2000-03-09 Martin Buchholz <martin@xemacs.org>
10890 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
10891 * manual/message.texi (Using gettextized software): Doc Fixes.
10892 * manual/message.texi (Message Translation): Doc Fixes.
10893 * manual/filesys.texi (File Size): Doc Fixes.
10894 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
10895 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
10896 * iconv/gconv_db.c (find_derivation): Doc Fixes.
10897 * manual/install.texi: Doc Fixes.
10898 * manual/search.texi (Hash Search Function): Doc Fixes.
10899 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
10900 * FAQ.in: Doc Fixes.
10901 * config.h.in: Doc Fixes.
10902 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
10903 Doc Fixes. `allows to' is not correct English.
10905 * elf/rtld.c: Doc fixes.
10906 * manual/creature.texi (Feature Test Macros): Doc fixes.
10907 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
10909 * manual/filesys.texi (Working Directory): Check for ERANGE to
10912 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
10914 * string/argz-stringify.c (__argz_stringify): Fix loop termination
10915 conditions so as not to clobber the final '\0' when there is only one
10916 element in the vector.
10918 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
10920 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
10921 broken by 2000-02-27 change.
10923 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
10925 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
10927 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
10928 argument type, for 2000-02-22 change in signal/signal.h declaration.
10930 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
10932 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
10933 to getdirentries64 (no __), since the Linux implementation
10934 has no __ name, and there is no declaration for the __ name.
10936 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
10938 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
10939 sed regexp so as not to break directory names including /../ within.
10941 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
10942 The sysdeps/generic file is right for BSD. This file was in fact the
10943 Hurd file, but the only difference was the WNOREAP flag that was never
10944 actually implemented or used anywhere.
10946 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
10947 since AC_PATH_PROG already does it for us.
10948 (PERL): Rewrite check added in 2000-02-29 change for syntactic
10949 correctness and sh portability. I replaced the broken check
10950 with a more sensible implementation of the apparently intended
10951 semantics, which might still be questionable. Using expr causes
10952 a non-numeric value for `perl -V:apiversion` to be accepted,
10953 refusing to use only a perl that reports a number less than 5;
10954 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
10955 * configure: Regenerated.
10957 2000-03-08 Andreas Jaeger <aj@suse.de>
10959 * manual/crypt.texi: Fix paths.
10961 2000-03-07 Andreas Jaeger <aj@suse.de>
10963 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
10965 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
10968 2000-03-06 Andreas Jaeger <aj@suse.de>
10970 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
10971 in __sgn1l, otherwise g++ fails to parse this.
10972 Reported by Sean Chen <sean.chen@turbolinux.com>.
10974 2000-03-03 Geoff Keating <geoffk@cygnus.com>
10976 * configure.in: Compute sizeof-long-double.
10977 * configure: Regenerated.
10978 * config.make.in: Make sizeof-long-double available to sub-makes.
10980 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
10982 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
10985 2000-03-03 Geoff Keating <geoffk@cygnus.com>
10987 * Makeconfig (rpath-dirs): Add crypt.
10988 (all-subdirs): Remove md5crypt.
10989 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
10990 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
10991 * sysdeps/generic/crypt-entry.c: Delete.
10992 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
10993 * sysdeps/generic/crypt.h: Delete.
10994 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
10995 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
10996 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
10997 * sysdeps/generic/des_impl.c: Delete.
10998 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
10999 * crypt/sysdeps: Delete.
11000 * crypt/crypt_util.c: Don't use `patchlevel.h'.
11001 * md5-crypt/Versions: Move to crypt/.
11002 * md5-crypt/md5-crypt.c: Move to crypt/.
11003 * md5-crypt/md5.c: Move to crypt/.
11004 * md5-crypt/md5c-test.c: Move to crypt/.
11005 * md5-crypt/md5test.c: Move to crypt/.
11006 * md5-crypt: Delete.
11007 * crypt/Makefile: Adjust for new structure.
11009 2000-03-03 Paul Eggert <eggert@twinsun.com>
11011 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
11012 define to 1 if not defined.
11014 2000-03-03 Andreas Jaeger <aj@suse.de>
11016 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
11018 2000-03-03 Andreas Jaeger <aj@suse.de>
11020 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
11022 (xdr_int64_t): Correctly handle lower half.
11023 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
11025 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
11027 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
11030 2000-03-02 Andreas Jaeger <aj@suse.de>
11032 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
11035 2000-03-02 Andreas Jaeger <aj@suse.de>
11037 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
11039 2000-03-01 Andreas Jaeger <aj@suse.de>
11041 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
11042 (tests): Added tst-getdate.
11044 * time/tst-getdate.c: New file.
11046 * time/datemsk: New file, needed for tst-getdate.
11048 2000-02-29 Cristian Gafton <gafton@redhat.com>
11050 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
11052 2000-02-17 H.J. Lu <hjl@gnu.org>
11054 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
11056 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
11058 (svcudp_recv): Set up message with the new "xp_pad" field for
11060 (svcudp_reply): Support IP_PKTINFO if available.
11062 2000-03-01 Andreas Jaeger <aj@suse.de>
11064 * time/getdate.c (check_mday): Fix check for february.
11065 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
11066 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
11068 2000-03-02 Andreas Jaeger <aj@suse.de>
11070 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
11071 g++ fails to parse this.
11072 Reported by Sean Chen <sean.chen@turbolinux.com>.
11074 2000-02-28 Ulrich Drepper <drepper@redhat.com>
11076 * io/creat.c: Moved to...
11077 * sysdeps/generic/creat.c: ...here.
11078 * io/creat64.c: Moved to...
11079 * sysdeps/generic/creat64.c: ...here.
11080 * io/lockf.c: Moved to...
11081 * sysdeps/generic/lockf.c: ...here.
11083 * crypt/crypt.texi: Moved to...
11084 * manual/crypt.texi: ...here.
11085 * crypt/examples/genpass.c: Moved to...
11086 * manual/examples/genpass.c: ...here.
11087 * crypt/examples/mygenpass.c: Moved to...
11088 * manual/examples/mygenpass.c: ...here.
11089 * crypt/examples/testpass.c: Moved to...
11090 * manual/examples/testpass.c: ...here.
11092 * manual/Makefile (chapters): Add crypt.
11093 * manual/conf.texi: Add usual header for not-last chapter.
11094 * manual/crypt.texi: Add special header for last chapter.
11096 2000-02-28 Geoff Keating <geoffk@cygnus.com>
11098 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
11099 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
11100 complain if there is no crypt add-on.
11101 * crypt/configure: Removed.
11103 * crypt/crypt.texi: Update documentation of US export restrictions
11104 to match the 14 Jan 2000 regulations.
11106 2000-02-28 Geoff Keating <geoffk@cygnus.com>
11108 * crypt: New subdirectory, merged in from the crypt add-on.
11110 2000-02-28 Ulrich Drepper <drepper@redhat.com>
11112 * include/unistd.h: Add __rmdir and __mkdir prototypes.
11115 See ChangeLog.10 for earlier changes.