1 2000-09-17 Ulrich Drepper <drepper@redhat.com>
3 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Fix last
6 2000-09-16 Jakub Jelinek <jakub@redhat.com>
8 * sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes
10 * sysdeps/m68k/Implies: Likewise.
11 * sysdeps/sparc/sparc64/Implies: Likewise.
13 2000-09-16 Jakub Jelinek <jakub@redhat.com>
15 * elf/readlib.c (process_file): Don't error for stale .so links either.
17 2000-09-16 Ulrich Drepper <drepper@redhat.com>
19 * elf/dl-load.c (_dl_map_object_from_fd): Add one more
22 * include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX.
23 Patch by Thorsten Kukuk <kukuk@suse.de>.
25 * dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c.
27 (modules-names): Add defaultmod1 and defaultmod2.
28 Add rules to build test objects.
30 2000-09-15 Ulrich Drepper <drepper@redhat.com>
32 * wctype/wctype.h: Always include <bits/types.h>.
33 Reported by Jim Meyering <meyering@ascend.com>.
35 * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now.
36 * elf/dl-support.c: Likewise.
38 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of
39 st_blocks member in stat and stat64 structs.
40 Patch by Bill Nottingham <notting@redhat.com>.
42 * iconvdata/tst-tables.sh: Add warning that GB18030 test might
45 * math/complex.h: Don't define _Complex macro for gcc 3. Add
46 __extension__ to _Complex_I definition since gcc warns if -pedantic.
47 * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~.
48 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
50 * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if
51 necessary. Move includes of POSIX and Unix limits files to the end.
52 * stdlib/Makefile (tests): Add tst-limits.
53 * stdlib/tst-limits.h: New file.
55 2000-09-15 Andreas Jaeger <aj@suse.de>
57 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV.
59 * sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define.
61 2000-09-15 Jakub Jelinek <jakub@redhat.com>
63 * sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory
65 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
66 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise.
68 2000-09-15 Ulrich Drepper <drepper@redhat.com>
70 * elf/Makefile (distribute): Add nextmod1.c and nextmod2.c.
72 (modules-names): Add nextmod1 and nextmod2.
73 Add rules to build and run next.
74 * elf/next.c: New file.
75 * elf/nextmod1.c: New file.
76 * elf/nextmod2.c: New file.
78 2000-09-14 Jakub Jelinek <jakub@redhat.com>
80 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo.
82 2000-09-15 Andreas Jaeger <aj@suse.de>
84 * sysdeps/mips/fpu/fenv_libc.h: New file.
85 * sysdeps/mips/fpu/feenablxcpt.c: Use fenv_libc.h
86 * sysdeps/mips/fpu/fegetexcept.c: Likewise.
87 * sysdeps/mips/fpu/fedisblxcpt.c: Likewise.
89 * sysdeps/mips/fpu/feenablxcpt.c: New file.
90 * sysdeps/mips/fpu/fegetexcept.c: New file.
91 * sysdeps/mips/fpu/fedisblxcpt.c: New file.
93 2000-09-14 Ulrich Drepper <drepper@redhat.com>
95 * intl/Makefile: Avoid unnecessary test reruns.
97 * stdio-common/tst-printf.sh: Also allow output from 64-bit machines.
99 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change
100 to not use sysctl(). Too many architectures have problems with it.
102 2000-09-14 Andreas Jaeger <aj@suse.de>
104 * scripts/config.sub: New version from subversions.gnu.org.
106 * time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now
109 2000-09-14 Jakub Jelinek <jakub@redhat.com>
111 * posix/regex.c (compile_range): Cast collseq index to unsigned char
112 to avoid accessing data before collseq.
114 * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid
115 pasting strings together.
117 2000-09-14 Greg McGary <greg@mcgary.org>
119 * sysdeps/generic/bp-checks.h: Remove bogus reference to GNU MP in
121 * sysdeps/generic/bp-semctl.h: Likewise.
122 * sysdeps/generic/bp-start.h: Likewise.
123 * sysdeps/generic/bp-sym.h: Likewise.
124 * sysdeps/generic/bp-thunks.h: Likewise. Include <stdio.h> to get
127 2000-09-13 Ulrich Drepper <drepper@redhat.com>
129 * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and
132 * elf/elf.h: Add missing official relocations.
134 * libio/stdio.h: Define __FILE if __need___FILE is defined.
135 * stdio/stdio.h: Likewise.
136 * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE.
137 * include/stdio.h: Handle __need___FILE like __need_FILE.
138 * include/wchar.h: Use __FILE instead of FILE.
139 * libio/fwprintf.c: Include <stdio.h> for FILE definition.
140 * libio/fwscanf.c: Likewise.
141 * libio/getwc.c: Likewise.
143 * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u.
144 * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1.
145 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise.
147 * assert/assert.h: Update comment header about ISO C section.
148 * math/complex.h: Likewise.
149 * ctype/ctype.h: Likewise.
150 * include/errno.h: Likewise.
151 * include/limits.h: Likewise.
152 * locale/locale.h: Likewise.
153 * math/math.h: Likewise.
154 * setjmp/setjmp.h: Likewise.
155 * signal/signal.h: Likewise.
156 * stdio/stdio.h: Likewise.
157 * libio/stdio.h: Likewise.
158 * stdlib/stdlib.h: Likewise.
159 * string/string.h: Likewise.
160 * time/time.h: Likewise.
161 * wcsmbs/wchar.h: Likewise.
162 * wctype/wctype.h: Likewise.
163 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
165 2000-09-13 Andreas Jaeger <aj@suse.de>
167 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test
169 * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise.
170 * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise.
171 Reported by Eric S. Johnson <esj@cs.fiu.edu>, closes PR libc/1887.
173 2000-09-13 Ulrich Drepper <drepper@redhat.com>
175 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
176 constant since this is what clock_t is.
177 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
178 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
179 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
180 * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
182 * time/time.h: Don't defined clockid_t and timer_t unless POSIX
183 definitions are requested.
185 2000-09-13 Andreas Jaeger <aj@suse.de>
187 * shlib-versions: libBrokenLocale needs minimal version for ia64,
188 sparc64 and sh to synch with libc.
190 2000-09-13 Ulrich Drepper <drepper@redhat.com>
192 * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT.
193 (distribute): Add iso-2022-cn-ext.c.
194 Add definitions to compile the new module.
195 * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT.
196 * iconvdata/iso-2022-cn-ext.c: New file.
197 * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from
198 ucs4_from_isoir165. Increment input pointer if successful.
200 * csu/Makefile: Work around a gcc bug when creating csu-dummies.
202 * sysdeps/unix/sysv/linux/getdents.c: Pretty print.
204 2000-09-01 Jes Sorensen <jes@linuxcare.com>
206 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
207 __syscall_getdents64 wrapper.
209 * sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
211 2000-09-12 Ulrich Drepper <drepper@redhat.com>
213 * iconvdata/gb18030.c: Many many changes. Make consistent with
214 charmap and with itself.
215 * iconvdata/tst-tables.sh: Test GB18030.
217 2000-09-11 Ulrich Drepper <drepper@redhat.com>
219 * iconv/skeleton.c: Fix last patch, add missing parameter to
220 unaligned function call.
222 2000-09-10 Bruno Haible <haible@clisp.cons.org>
224 * locale/programs/ld-collate.c (collate_read): Fix typo in handling
227 2000-09-11 Bruno Haible <haible@clisp.cons.org>
229 * locale/programs/ld-collate.c (collate_read): Always initialize
232 2000-09-10 Bruno Haible <haible@clisp.cons.org>
234 * locale/programs/ld-collate.c (collate_finish): Upper bound for
235 ruleidx is 128, not 256.
237 2000-09-11 Ulrich Drepper <drepper@redhat.com>
239 * locale/programs/ld-collate.c (collate_read): Correct check for
240 already inserted entries.
242 2000-09-10 Bruno Haible <haible@clisp.cons.org>
244 * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in
247 2000-09-10 Bruno Haible <haible@clisp.cons.org>
249 * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if
250 MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1.
252 2000-09-10 Bruno Haible <haible@clisp.cons.org>
254 * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with
257 2000-09-10 Bruno Haible <haible@clisp.cons.org>
259 * iconvdata/utf-7.c: New file.
260 * iconvdata/gconv-modules (UTF-7): New module entries.
261 * iconvdata/Makefile (modules): Add UTF-7.
262 (distribute): Add utf-7.c.
263 * iconvdata/testdata/UTF-7: New file.
264 * iconvdata/testdata/UTF-7..UTF8: New file.
265 * iconvdata/TESTS (UTF-7): New entry.
266 * iconvdata/run-iconv-test.sh: Fix confusing output.
268 2000-09-11 Ulrich Drepper <drepper@redhat.com>
270 * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
272 2000-09-10 David S. Miller <davem@redhat.com>
274 * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
275 frame pointer offset for non-fast path.
277 2000-09-10 Ulrich Drepper <drepper@redhat.com>
279 * locale/programs/3level.h (*_init): Initialize level1, level2,
281 (*_add): Remove a few unnecessary conditionals.
283 2000-09-05 Wolfram Gloger <wg@malloc.de>
285 * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread,
286 ensure usability of mutex as an `in use' flag.
288 2000-09-10 Ulrich Drepper <drepper@redhat.com>
290 * shlib-versions: Simplify libm entries. Correct a few Hurd entries.
292 * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
293 ugly GMON_WEAK_START hack.
294 Patch by Philip Blundell <philb@gnu.org>.
296 * sysdeps/i386/i486/bits/string.h: Pretty printing.
298 2000-09-09 Ulrich Drepper <drepper@redhat.com>
300 * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
301 and PPC_ICBI asm for broken compilers.
302 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
304 2000-09-09 Andreas Jaeger <aj@suse.de>
306 * manual/message.texi (Advanced gettext functions): Fix typo.
308 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
311 2000-09-09 Ulrich Drepper <drepper@redhat.com>
313 * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
315 * sysdeps/ia64/memccpy.S: Likewise.
316 Patches by Jim Wilson <wilson@redhat.com>.
318 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname
319 before trying to read /proc.
320 Patch by Matt Wilson <msw@redhat.com>.
321 * include/sys/utsname.h: Declare __uname.
322 * sysdeps/generic/uname.c: Make uname a weak alias of __uname.
323 * sysdeps/mach/hurd/uname.c: Likewise.
324 * sysdeps/unix/syscalls.list: Likewise.
326 * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
329 2000-09-08 Ulrich Drepper <drepper@redhat.com>
331 * posix/getopt.c (_getopt_internal): When long_only is set always
332 recognize conflicts just like before.
334 2000-09-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
336 * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
338 2000-09-08 Greg McGary <greg@mcgary.org>
340 * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
341 * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'.
342 * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
344 2000-09-08 Andreas Jaeger <aj@suse.de>
346 * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
348 * sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
350 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
351 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
352 (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
354 2000-09-07 Ulrich Drepper <drepper@redhat.com>
356 * iconvdata/tst-tables.sh: Enable EUC-KR test.
358 * elf/dl-load.c (lose): Decrement _nl_loaded.
359 (_dl_map_object_from_fd): Don't try to dlopen executables.
361 * iconvdata/tst-tables.sh: Actually return with an error if
362 something goes wrong.
363 * iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
364 * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
366 * iconvdata/tst-tables.sh: Add BIG5HKSCS.
368 * iconvdata/tst-table-to.c (main): Correct cast in iconv call.
369 * iconvdata/tst-table-from.c: Include <string.h>.
370 (try): Correct cast in iconv call.
372 * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
374 * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
375 (sysdep_routines): Remove dl-start.
376 Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
378 * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
380 * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
381 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
383 2000-09-06 Andreas Schwab <schwab@suse.de>
385 * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
387 2000-09-07 Ulrich Drepper <drepper@redhat.com>
389 * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
391 * scripts/config.sub: Strip out -unknown for Linux targets.
392 Patch by Scott Bambrough <scottb@netwinder.org>.
394 * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
397 2000-09-07 Andreas Jaeger <aj@suse.de>
399 * sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
401 * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
404 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
406 * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
407 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
409 * sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
411 * stdlib/tst-bsearch.c (main): Add more test cases.
413 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
414 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
415 Reported by GOTO Masanori <gotom@debian.or.jp>.
417 2000-09-07 Ulrich Drepper <drepper@redhat.com>
419 * posix/Makefile (tests): Add tst-dir.
420 (tst-dir-ARGS): New variable.
421 * posix/tst-dir.c: New file.
423 2000-09-07 Andreas Jaeger <aj@suse.de>
425 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
428 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
430 2000-09-06 Ulrich Drepper <drepper@redhat.com>
432 * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
433 use the hack with tryopen_o_directory to determine at runtime
435 * sysdeps/unix/sysv/linux/opendir.c: New file.
436 * sysdeps/unix/sysv/linux/kernel-features.h: Define
437 __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
439 * catgets/Depend: New file. Add intl.
440 * catgets/Makefile (tests): Add tst-catgets.
441 (generated): Remove de.msg.
442 (generated-dirs): Add de.
443 Add dependency if tst-catgets output on de/libc.cat.
444 * catgets/tst-catgets.c: New file.
446 * po/ja.po: New file.
447 * po/el.po: Update from translation team.
449 * wcsmbs/Depend: New file.
450 * wcsmbs/Makefile (tests): Add tst-btowc.
451 (tst-btowc-ENV): Define.
452 * wcsmbs/tst-btowc.c: New file.
454 * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
455 * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
457 * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
459 * stdlib/Makefile (tests): Add tst-bsearch.
460 * stdlib/tst-bsearch.c: New file.
462 * posix/getopt.c (_getopt_internal): Don't recognize an option
463 name as ambiguous if it's a prefix for more than one name but the
464 other struct option values are identical.
466 * posix/tstgetopt.c: Add test for improved ambiguity recognition.
467 Don't depend on visual inspection of the output file to recognize
469 * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
471 2000-09-06 Andreas Jaeger <aj@suse.de>
473 * sysdeps/alpha/soft-fp/Dist: New file.
474 * sysdeps/i386/soft-fp/Dist: New file.
475 * sysdeps/mips/mips64/soft-fp/Dist: New file.
476 * sysdeps/mips/soft-fp/Dist: New file.
477 * sysdeps/powerpc/soft-fp/Dist: New file.
478 * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
479 * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
481 * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
482 Use sysdep_routines instead of routines to fix make dist failure.
483 * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
485 * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
487 * sysdeps/mips/Makefile [$(subdir) = misc]: Use
488 sysdep_headers instead of headers for make dist.
490 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
493 2000-09-06 Andreas Schwab <schwab@suse.de>
495 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
497 2000-09-06 Andreas Jaeger <aj@suse.de>
499 * soft-fp/Makefile (distribute): Remove ChangeLog.
501 * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use
502 sysdep_routines instead of routines for make dist.
504 2000-09-05 Ulrich Drepper <drepper@redhat.com>
506 * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
507 compatibility check for old stream and call _IO_wide in doubt.
508 (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
509 * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
510 needed tst for such an old structure and don't do anything.
511 * libio/freopen.c: Remove declaration of _IO_stdin_used.
513 2000-09-06 Andreas Jaeger <aj@suse.de>
515 * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
516 sysdep-dl-routines and sysdep_routines instead of rtld-routines
519 * soft-fp/ChangeLog: Merged with this file.
521 2000-06-13 Ulrich Drepper <drepper@redhat.com>
523 * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
525 * soft-fp/Makefile (distribute): Add the math functions, too.
527 * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
529 2000-03-03 Geoff Keating <geoffk@cygnus.com>
531 * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
534 * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
535 * soft-fp/sysdeps/powerpc/q_*: New files.
537 2000-09-05 Ulrich Drepper <drepper@redhat.com>
539 * stdio-common/vfprintf.c (process_string_arg): Handle precision
540 in wide char case correctly. Don't allocate too long temporary
543 * stdio-common/Makefile (tests): Add tst-swprintf.
544 (tst-swprintf-ENV): New variable.
545 * stdio-common/tst-swprintf.c: New file.
547 2000-09-05 Andreas Jaeger <aj@suse.de>
549 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
550 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
551 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
553 2000-09-05 Ulrich Drepper <drepper@redhat.com>
555 * configure.in: Strip out "unknown" from configuration names.
557 2000-09-05 Andreas Jaeger <aj@suse.de>
559 * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
561 * sysdeps/sparc/sparc64/Implies: Add soft-fp.
562 * sysdeps/sparc/sparc32/Implies: Likewise.
563 * sysdeps/powerpc/Implies: Likewise.
565 * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
566 * libio/oldiofgetpos64.c: Likewise.
568 * soft-fp/Makefile (distribute): Remove configure.
570 * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
572 * soft-fp/configure: Remove.
574 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
575 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
577 * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
578 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
580 * soft-fp/sysdeps/powerpc/Makefile: Move from here...
581 * sysdeps/powerpc/soft-fp/Makefile: ... to here.
583 * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
584 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
586 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
587 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
589 * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
590 * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
592 * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
593 * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
595 * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
596 * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
598 * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
599 * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
601 * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
602 * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
604 * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
605 * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
607 * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
608 * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
610 * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
611 * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
613 * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
614 * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
616 * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
617 * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
619 * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
620 * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
622 * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
623 * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
625 * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
626 * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
628 * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
629 * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
631 * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
632 * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
634 * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
635 * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
637 * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
638 * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
640 * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
641 * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
643 * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
644 * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
646 * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
647 * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
649 * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
650 * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
652 * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
653 * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
655 * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
656 * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
658 * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
659 * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
661 * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
662 * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
664 * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
665 * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
667 * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
668 * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
670 * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
671 * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
673 * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
674 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
676 * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
677 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
679 * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
680 * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
682 * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
683 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
685 * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
686 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
688 * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
689 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
691 * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
692 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
694 * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
695 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
697 * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
698 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
700 * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
701 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
703 * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
704 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
706 * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
707 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
709 * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
710 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
712 * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
713 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
715 * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
716 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
718 * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
719 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
721 * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
722 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
724 * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
725 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
727 * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
728 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
730 * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
731 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
733 * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
734 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
736 * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
737 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
739 * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
740 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
742 * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
743 * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
745 * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
746 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
748 * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
749 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
751 * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
752 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
754 * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
755 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
757 * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
758 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
760 * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
761 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
763 * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
764 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
766 * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
767 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
769 * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
770 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
772 * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
773 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
775 * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
776 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
778 * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
779 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
781 * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
782 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
784 * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
785 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
787 * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
788 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
790 * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
791 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
793 * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
794 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
796 * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
797 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
799 * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
800 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
802 * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
803 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
805 * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
806 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
808 * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
809 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
811 * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
812 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
814 * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
815 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
817 * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
818 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
820 * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
821 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
823 * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
824 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
826 * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
827 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
829 * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
830 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
832 * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
833 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
835 * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
836 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
838 * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
839 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
841 * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
842 * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
844 * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
845 * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
847 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
848 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
850 * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
851 * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
853 * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
854 * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
856 * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
857 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
859 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
860 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
862 * soft-fp/sysdeps/powerpc/Versions: Move from here...
863 * sysdeps/powerpc/soft-fp/Versions: ... to here.
865 * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
866 * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
868 * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
869 change symbol version.
870 * libio/oldiofgetpos64.c: Likewise.
871 Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
873 * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
875 Reported by dyky@kondara.org, closes PR libc/1886.
877 * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
880 2000-09-04 Ulrich Drepper <drepper@redhat.com>
882 * iconvdata/run-iconv-test.sh: Add code to immediately stop the
883 script when ^C is hit.
885 * locale/programs/localedef.c (construct_output_path): Correct
886 computation of endp after asprintf.
887 * locale/programs/locfile.c (write_locale_data): Don't add extra
890 2000-09-05 Andreas Jaeger <aj@suse.de>
892 * scripts/config.guess: New upstream version.
893 * scripts/config.sub: Likewise.
894 * manual/texinfo.tex: Likewise.
896 2000-09-04 Andreas Schwab <schwab@suse.de>
898 * elf/Makefile (all-dl-routines): New variable.
899 (elide-routines.os): Use it instead of $(dl-routines).
900 (all-rtld-routines): New variable.
901 (extra-objs): Use it instead of $(rtld-routines).
902 ($(objpfx)dl-allobjs.os): Likewise.
903 * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
904 sysdep-dl-routines and sysdep_routines instead of rtld-routines
907 2000-09-03 Bruno Haible <haible@clisp.cons.org>
909 * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
910 Set fname to NULL if the module wasn't found.
912 2000-09-03 Bruno Haible <haible@clisp.cons.org>
914 * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
915 true if trans->name already ends in ".so".
917 2000-09-03 Bruno Haible <haible@clisp.cons.org>
919 * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
921 * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
922 below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
923 (__gconv_release_shlib): Change return type to void.
924 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
925 step->__counter here.
926 * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
927 if the reference is zero.
928 (release_step): New function.
929 (gen_steps): Always initialize the __counter to 1. Use release_step.
930 Don't call the destructor on the step whose initializer failed.
931 (increment_counter): Use release_step. Don't normally run destructors
933 (__gconv_close_transform): Use release_step.
935 2000-09-03 Bruno Haible <haible@clisp.cons.org>
937 * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
938 (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
940 2000-09-03 Bruno Haible <haible@clisp.cons.org>
942 * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
943 If the first byte is 0x8E, don't ask for 4 bytes until it has been
944 verified that the second byte is valid. Leave it to cns11643_to_ucs4
945 to check for incomplete input.
946 * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
947 ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
948 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
949 (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
951 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
952 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
953 (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
954 * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
957 2000-09-03 Bruno Haible <haible@clisp.cons.org>
959 * iconv/gconv_db.c (find_derivation): Always use the least-cost
962 2000-09-03 Bruno Haible <haible@clisp.cons.org>
964 * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
967 2000-09-03 Bruno Haible <haible@clisp.cons.org>
969 * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
970 * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
973 2000-09-03 Bruno Haible <haible@clisp.cons.org>
975 * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
977 2000-09-03 Bruno Haible <haible@clisp.cons.org>
979 * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
981 2000-09-03 Bruno Haible <haible@clisp.cons.org>
983 * iconvdata/tst-tables.sh: New file.
984 * iconvdata/tst-table.sh: New file.
985 * iconvdata/tst-table-from.c: New file.
986 * iconvdata/tst-table-to.c: New file.
987 * iconvdata/tst-table-charmap.sh: New file.
988 * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
989 (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
990 tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
991 ISIRI-3342.irreversible, SJIS.irreversible.
992 (tests): Add dependency on tst-tables.out.
993 (tst-tables.out, tst-tables-clean): New rules.
994 (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
995 * iconvdata/ISIRI-3342.irreversible: New file.
996 * iconvdata/EUC-JP.irreversible: New file.
997 * iconvdata/SJIS.irreversible: New file.
999 2000-09-04 Ulrich Drepper <drepper@redhat.com>
1001 * manual/locale.texi (General Numeric): Update description of
1002 representation of the grouping information in the locale data.
1003 Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
1005 2000-09-04 Andreas Jaeger <aj@suse.de>
1007 * locale/programs/ld-monetary.c (monetary_read): Fix typo.
1008 * iconv/iconv_prog.c (options): Fix typo.
1009 Reported by dyky@kondara.org, closes PR libc/1885.
1011 2000-09-04 Andreas Jaeger <aj@suse.de>
1013 * sysdeps/generic/fegetenv.c: It's __fegetenv.
1014 Reported by Rob Levin <lilo@transvirtual.com>.
1016 2000-09-03 Ulrich Drepper <drepper@redhat.com>
1018 * time/sys/time.h (gettimeofday): Move restrict for tz parameter
1019 to the typedefs of __timezone_ptr_t.
1020 Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
1022 2000-09-02 Jakub Jelinek <jakub@redhat.com>
1024 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
1027 2000-09-01 H.J. Lu <hjl@gnu.org>
1029 * Makeconfig (built-program-cmd): Don't use the dynamic linker
1030 to run a binary if it is in $(tests-static).
1032 * Rules (binaries-static): Add $(tests-static).
1034 2000-09-02 Andreas Jaeger <aj@suse.de>
1036 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
1038 * libio/fmemopen.c (fmemopen_close): Revert one part of last
1041 2000-09-01 Ulrich Drepper <drepper@redhat.com>
1043 * iconvdata/big5hkscs.c: Regenerated from charmap.
1044 * iconvdata/testdata/BIG5HKSCS: Regenerated.
1045 * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
1047 * libio/fmemopen.c (fmemopen_seek): Add default case in switch
1048 statement. General cleanup.
1050 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1052 * wctype/wcfuncs.c (iswblank): New function.
1053 * wctype/wcfuncs_l.c (__iswblank_l): New function.
1054 * wctype/wcextra.c: Remove file.
1055 * wctype/wcextra_l.c: Remove file.
1056 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
1058 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1060 * locale/programs/ld-collate.c (collate_output): Remove redundant
1062 * string/strcoll.c: Likewise.
1063 * string/strxfrm.c: Include assert.h. Add assert calls like in
1066 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1068 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
1069 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
1070 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
1071 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
1072 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
1073 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
1074 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
1075 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
1076 _NL_CTYPE_GAP5/6 respectively.
1078 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
1079 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
1080 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
1081 Don't initialize __ctype_names and __ctype_width.
1082 * wctype/cname-lookup.h: Remove file.
1083 * wctype/Makefile (distribute): Remove cname-lookup.h.
1084 * wctype/wchar-lookup.h: Include stdint.h.
1085 * wctype/wctype.c (__wctype): Assume new locale format.
1086 * wctype/wctype_l.c (__wctype_l): Likewise.
1087 * wctype/iswctype.c: Don't include cname-lookup.h.
1088 (__iswctype): Assume new locale format.
1089 * wctype/iswctype_l.c: Don't include cname-lookup.h.
1090 (__iswctype_l): Assume new locale format.
1091 * wctype/wctrans.c: Don't include ctype.h.
1092 (wctrans): Assume new locale format.
1093 * wctype/wctrans_l.c (__wctrans_l): Likewise.
1094 * wctype/towctrans.c: Don't include cname-lookup.h.
1095 (__towctrans): Assume new locale format.
1096 * wctype/towctrans_l.c: Don't include cname-lookup.h.
1097 (__towctrans_l): Assume new locale format.
1098 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
1099 localeinfo.h instead.
1100 (__NO_WCTYPE): Remove unused macro.
1101 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
1103 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
1104 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
1105 (towlower, towupper): Likewise.
1106 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
1107 localeinfo.h instead.
1108 (__NO_WCTYPE): Remove unused macro.
1109 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
1110 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
1111 __iswxdigit_l): Assume new locale format.
1112 (__towlower_l, __towupper_l): Likewise.
1113 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
1114 (__ctype32_b): Remove declaration.
1115 (internal_wcwidth): Assume new locale format.
1116 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
1117 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
1118 to map32_b, rename width_3level to width.
1119 (ctype_output): Always create new locale format. Don't emit
1120 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
1121 (allocate_arrays): Always create new locale format.
1123 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
1124 * locale/weightwc.h (findidx): Assume new locale format.
1125 * string/strcoll.c (wcscoll): Remove local variables size, layers,
1127 * string/strxfrm.c (wcsxfrm): Likewise.
1128 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
1129 local variable collseq to 'const char *'.
1130 (SUFFIX): Don't use, don't undefine.
1131 * posix/fnmatch.c: Remove SUFFIX definition.
1132 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
1133 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
1134 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
1135 (collate_finish): Always create new locale format. Remove local
1136 variables min_total, act_size.
1137 (collate_output): Always create new locale format. Remove local
1138 variables table_size, names, tablewc. Rename tablewc_3level to
1141 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1143 * locale/programs/ld-collate.c (obstack_int32_grow,
1144 obstack_int32_grow_fast): New inline functions.
1145 (output_weightwc, collate_output): Use them where possible.
1147 2000-09-01 Ulrich Drepper <drepper@redhat.com>
1149 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
1150 patch (_mode -> _flags).
1152 * libio/Makefile (headers): Add stdio_ext.h.
1153 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
1154 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
1155 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
1156 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
1157 __fsetlocking, and _flushlbf.
1158 * libio/__fbufsize.c: New file.
1159 * libio/__flbf.c: New file.
1160 * libio/__fpending.c: New file.
1161 * libio/__fpurge.c: New file.
1162 * libio/__freadable.c: New file.
1163 * libio/__freading.c: New file.
1164 * libio/__fsetlocking.c: New file.
1165 * libio/__fwritable.c: New file.
1166 * libio/__fwriting.c: New file.
1167 * libio/stdio_ext.h: New file.
1168 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
1169 * libio/libio.h (_IO_USER_LOCK): Define.
1170 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
1171 test _IO_USER_LOCK flag first.
1173 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
1176 2000-09-01 Andreas Jaeger <aj@suse.de>
1178 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
1180 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
1182 2000-08-31 Ulrich Drepper <drepper@redhat.com>
1184 * math/Makefile (tests): Add tst-defintions.
1185 * math/tst-definitions.c: New file.
1187 * stdlib/Makefile (headers): Add bits/wchar.h.
1188 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
1189 * sysdeps/generic/bits/wchar.h: New file.
1190 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
1191 file to define WCHAR_MIN and WCHAR_MAX.
1192 Change UINT*8_MAX and UIN*16_MAX value to type int.
1193 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
1194 file to define WCHAR_MIN and WCHAR_MAX.
1195 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
1197 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
1198 * sysdeps/generic/bits/mathdef.h: Likewise.
1199 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
1200 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
1201 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
1202 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
1203 * locale/locale.h (struct lconv): Add __ prefix to the new members
1205 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
1206 imaxdiv optimizations.
1207 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
1208 * sysdeps/wordsize-64/ldiv.c: Likewise.
1209 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
1211 * sysdeps/generic/bits/fenv.h: Likewise.
1212 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
1213 * sysdeps/ia64/bits/fenv.h: Likewise.
1214 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
1215 * sysdeps/mips/bits/fenv.h: Likewise.
1216 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
1217 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
1218 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1220 * inet/rcmd.c: Use *stat64 instead of *stat internally.
1221 * inet/ruserpass.c: Likewise.
1222 * catgets/open_catalog.c: Likewise.
1223 * intl/loadmsgcat.c: Likewise.
1224 * io/getdirname.c: Likewise.
1225 * locale/loadlocale.c: Likewise.
1226 * misc/getusershell.c: Likewise.
1227 * stdlib/canonicalize.c: Likewise.
1228 * sysdeps/posix/euidaccess.c: Likewise.
1229 * sysdeps/posix/isfdtype.c: Likewise.
1230 * sysdeps/posix/posix_fallocate.c: Likewise.
1231 * sysdeps/posix/tempname.c: Likewise.
1232 * sysdeps/unix/grantpt.c: Likewise.
1233 * sysdeps/unix/opendir.c: Likewise.
1234 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
1235 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
1236 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1237 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
1238 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1239 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1240 * sysvipc/ftok.c: Likewise.
1241 * time/getdate.c: Likewise.
1243 * time/getdate.c: Add extra access test.
1245 2000-08-31 Ulrich Drepper <drepper@redhat.com>
1247 * version.h (VERSION): Bump to 2.1.93.
1249 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
1250 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
1252 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
1253 Make this a new rule depending on tst-gettext.out and run mtrace.
1254 * intl/tst-gettext.c: Call mtrace.
1255 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
1257 * elf/dl-reloc.c: Add a few more __builtin_expect.
1259 * configure.in: Remove --with-gettext option.
1261 * intl/dcigettext.c (free_mem): Correct freeing of
1262 _nl_domain_bindings list.
1264 * sysdeps/generic/setenv.c (free_mem): New function. Free all
1267 * intl/locale.alias: Add aliases for bokmal and nynorsk.
1269 * locale/iso-639.def: Fix 639-1 code for Bokmal.
1271 * stdio-common/itoa-digits.c: Move upper digits to...
1272 * stdio-common/itoa-udigits.c: ...here. New file.
1273 * stdio-common/Makefile (routines): Add itoa-udigits.
1275 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
1276 relocate ld.so don't add supprt for relocations which should not
1279 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
1280 __secure_getenv. Instead test __libc_enable_secure once.
1282 * io/pwd.c (main): Provide a good example, use *_unlocked function.
1284 2000-08-30 Ulrich Drepper <drepper@redhat.com>
1286 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
1287 whether the new record should be freed if it's a duplicate.
1288 (add_module): Adjust insert_module call.
1289 (__gconv_read_conf): Likewise.
1290 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
1292 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
1294 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
1296 * include/link.h (struct r_search_path_struct): New.
1297 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
1298 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
1300 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
1301 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
1302 added at startup time.
1303 * elf/dl-load.c: Fix memory handling. r_search_path_struct
1304 contains element to remember fact that we can free memory.
1305 (all_dirs): Renamed to _dl_all_dirs. Made global.
1306 (_dl_init_all_dirs): New variable.
1307 (fillin_rpath): Save one malloc call.
1308 (decompose_rpath): Change interface. New first parameter points to
1309 r_search_path_struct.
1310 (_dl_init_paths): Adjust for changes. Mark all memory as not
1311 deletable. Set _dl_init_all_paths value.
1312 (open_path): Remove may_free_dirs parameter. r_search_path_elem ***
1313 parameter replaced with r_search_path_struct *. Information about
1314 freeing now contained in r_search_path_struct.
1315 (_dl_map_object): Adjust for above changes.
1317 * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
1319 * elf/dl-load.c (fillin_rpath): Only check for trusted directories
1320 when adding new entries.
1322 * elf/dl-load.c (fillin_rpath): Make local copy of where string
1323 since the object being loaded can be unloaded.
1325 * iconvdata/Makefile (tests): Add tst-loading.
1326 * iconvdata/tst-loading.c: New file.
1328 2000-08-29 Bruno Haible <haible@clisp.cons.org>
1330 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
1331 When comparing a char with an int, always cast the char to
1332 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
1333 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
1335 2000-08-30 Ulrich Drepper <drepper@redhat.com>
1337 * time/strftime.c (my_strftime): Add compatibility code for use
1338 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
1340 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
1341 return 0 for success but always < 0 on failure.
1343 * nss/getXXbyYY_r.c: Define result to *result before including
1346 2000-08-30 Andreas Jaeger <aj@suse.de>
1348 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
1350 2000-08-29 Ulrich Drepper <drepper@redhat.com>
1352 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
1354 * iconvdata/TESTS: Add BIG5HKSCS entry.
1355 * iconvdata/testdata/BIG5HKSCS: New file.
1356 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
1358 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
1361 * libio/iogetline.c: Set mode before the loop in case n==0.
1362 * libio/iogetwline.c: Likewise.
1364 2000-08-29 H.J. Lu <hjl@gnu.org>
1366 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
1368 (_IO_new_file_overflow): Likewise.
1369 * libio/genops.c (_IO_flush_all): Likewise.
1370 * libio/ioftell.c (_IO_ftell): Likewise.
1372 2000-08-29 Akira Higuchi <a@kondara.org>
1374 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
1375 and __end_fct fields of struct __gconv_step.
1376 * iconv/Makefile (tests): Add iconv-bug2.
1377 * iconv/iconv-bug2.c: New file.
1379 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
1380 instead of 'inptr - inend' to ksc5601_to_ucs4.
1382 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
1384 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
1385 character or shift sequence is found at the end of the input
1386 string, return__GCONV_INCOMPLETE_INPUT instead of
1387 __GCONV_EMPTY_INPUT.
1388 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
1389 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
1391 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
1392 __GCONV_ILLEGAL_INPUT for 8bit characters.
1394 2000-08-29 Ulrich Drepper <drepper@redhat.com>
1396 * signal/signal.h (sigpause): Move __THROW before __asm__.
1398 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
1399 names don't match don't return.
1400 Patch by Olaf Kirch <okir@flash.lst.de>.
1402 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1404 * time/strftime.c (my_strftime): Handle # flag for %b as well.
1406 2000-08-27 H.J. Lu <hjl@gnu.org>
1408 * posix/Makefile (otherlibs): Add for building with static-nss
1411 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1413 * libio/stdio.h: Add fmemopen prototype.
1415 2000-08-25 Andreas Jaeger <aj@suse.de>
1417 * libio/Makefile (routines): Add fmemopen.
1418 (tests): Add test-fmemopen.
1419 * libio/Versions: Add fmemopen with version GLIBC_2.2.
1420 * libio/test-fmemopen.c: New file.
1421 * libio/fmemopen.c: New file.
1422 Patches by Hanno Mueller <kontakt@hanno.de>.
1424 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1426 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
1427 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
1429 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
1430 to avoid crashing statically linked applications.
1432 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1434 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
1435 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
1437 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
1438 If the result is fits in the buffer, copy only as many bytes as needed.
1440 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
1441 buffer after copying numbuf into it.
1442 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
1444 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1446 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
1447 the result. When string_len < len, don't clear the rest of the buffer.
1449 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1451 Support for new LC_COLLATE format.
1452 * locale/coll-lookup.h: New file.
1453 * locale/weightwc.h (findidx): When size == 0, call
1454 collidx_table_lookup.
1455 * wcsmbs/wcscoll.c: Include coll-lookup.h.
1456 * wcsmbs/wcsxfrm.c: Likewise.
1457 * posix/fnmatch.c: Likewise.
1458 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
1459 collseq_table_lookup.
1460 * locale/programs/3level.h: New file.
1461 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
1462 by including "3level.h".
1463 * locale/programs/ld-collate.c (wchead_table, collidx_table,
1464 collseq_table): New types, defined by including "3level.h".
1465 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
1466 (encoding_mask, encoding_byte): Remove.
1467 (utf8_encode): Use simple shifts instead.
1468 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
1469 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
1470 (collate_output): New local variable tablewc_3level. When
1471 !oldstyle_tables, set table_size to 0 and names to NULL and fill
1472 tablewc_3level instead of tablewc. Change format of TABLEWC and
1473 COLLSEQWC entries written to the file.
1474 * locale/C-collate.c (collseqwc): Change format.
1475 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
1477 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
1479 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1481 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
1482 (locale_ctype_t): New charnames_idx field.
1483 (ctype_startup): Initialize charnames_idx field.
1484 (find_idx): Speed up dramatically by using charnames_idx inverse table.
1486 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1488 * locale/C-ctype.c: Switch to new locale format.
1489 (_nl_C_LC_CTYPE_names): Remove array.
1490 (STRUCT_CTYPE_CLASS): New macro.
1491 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
1492 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
1493 New three-level tables.
1494 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
1495 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
1496 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
1497 12 class tables and 2 map tables at the end.
1498 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
1499 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
1500 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
1502 (b): Remove trailing semicolon.
1503 (__ctype_names, __ctype_width): Don't initialize.
1504 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
1506 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1508 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
1509 is guaranteed to be allocated with the same malloc() and may be
1511 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
1512 been set to empty by an earlier open_path call, don't pass it again.
1514 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1516 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
1517 we are not optimizing.
1519 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
1522 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
1524 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1526 2000-08-28 Andreas Jaeger <aj@suse.de>
1528 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
1530 2000-08-28 Mark Kettenis <kettenis@gnu.org>
1532 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
1533 getpeername. Use ISO C style function definition.
1534 (getpeername): Provide weak alias.
1535 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
1536 setrlimit. Use ISO C style function definition.
1537 (setrlimit): Provide weak alias.
1539 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
1541 * shlib-versions: Add a rule for S/390 to the libm version list.
1542 * sysdeps/s390/Versions: New file.
1543 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
1544 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
1545 * sysdeps/unix/sysv/linux/s390/Versions: New file.
1546 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
1547 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
1548 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
1549 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
1550 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
1551 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
1552 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
1553 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
1554 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
1555 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
1556 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
1557 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
1558 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
1559 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
1560 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
1562 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1564 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
1565 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
1567 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
1568 * elf/dl-close.c (_dl_close): Print debug message if object is not
1570 * elf/dl-open.c (dl_open_worked): Print message about opencount before
1571 returning to caller.
1573 * po/zh.po: Renamed to...
1574 * po/zh_TW.po: ...this.
1576 2000-08-27 Geoff Keating <geoffk@cygnus.com>
1578 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
1580 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
1581 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
1582 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
1583 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
1585 2000-08-27 Ulrich Drepper <drepper@redhat.com>
1587 * locale/programs/ld-collate.c (insert_weights): Also update
1588 backpointer of next element.
1589 (collate_read): Allow definition of new collation symbols in stage 2.
1590 Symbol after reorder-after can be UCS4 value.
1591 Allow reordering of collation symbols and elements.
1592 Do not only move reorder entry in new position. Instead call
1593 insert_weight to do this and read the weights.
1595 * locale/findlocale.c (free_mem): Add cast to avoid warning.
1597 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
1598 to determine invalid locale name.
1599 * locale/findlocale.c (_nl_find_locale): Likewise.
1601 * posix/annexc.c: Correct test for unavailable feature.
1603 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
1606 2000-08-26 Ulrich Drepper <drepper@redhat.com>
1608 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
1611 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
1612 (sysdep_routines): Add oldgetrlimit64.
1614 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
1615 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
1616 (tests): Add unload, reldep, reldep2, and reldep3.
1617 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
1619 Add rules to build and run unload, reldep, reldep2, and reldep3.
1620 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
1621 Don't create relocation dependency if it is nonzero.
1622 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
1623 can never happen here.
1624 (_dl_lookup_versioned_symbol): Add new parameter explicit.
1625 Don't create relocation dependency if it is nonzero.
1626 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
1627 stuff. This can never happen here.
1628 * sysdeps/generic/ldsodefs.h: Change prototypes.
1629 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
1630 _dl_lookup_up and _dl_lookup_versioned_symbol.
1632 * elf/dl-runtime.c (fixup): Likewise.
1633 (profile_fixup): Likewise.
1634 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
1636 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
1637 * elf/rtld.c (dl_main): Likewise.
1638 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
1639 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
1640 and pass down the caller map.
1641 (_dl_vsym): Likewise.
1642 * elf/reldep.c: New file.
1643 * elf/reldep2.c: New file.
1644 * elf/reldep3.c: New file.
1645 * elf/reldepmod1.c: New file.
1646 * elf/reldepmod2.c: New file.
1647 * elf/reldepmod3.c: New file.
1648 * elf/reldepmod4.c: New file.
1649 * elf/unload.c: New file.
1650 * elf/unloadmod.c: New file.
1652 * elf/do-lookup.h: Remove unused undef_name parameter.
1653 * elf/dl-lookup.c: Adjust callers.
1655 2000-08-25 Ulrich Drepper <drepper@redhat.com>
1657 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
1658 irreversible in recursive call of conversion function to signal that
1659 no error handling is wanted.
1660 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
1661 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
1662 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
1663 recursive error handling call, otherwise to &lirreversible. Use it
1664 for calls to conversion functions.
1665 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
1667 (ucs4_internal_loop_unaligned): Likewise.
1668 (ucs4le_internal_loop): Likewise.
1669 (ucs4le_internal_loop_unaligned): Likewise.
1671 2000-08-25 Greg McGary <greg@mcgary.org>
1673 * sysdeps/i386/memchr.S: Check high bound against chars
1675 * sysdeps/i386/memcmp.S: Likewise.
1676 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
1677 account for pointers that lie one beyond end-of-buffer.
1679 2000-08-25 Ulrich Drepper <drepper@redhat.com>
1681 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
1682 * elf/nodelete.c (fini_ran): New global variable.
1683 (do_test): Before every dlclose call clear fini_ran and test
1684 afterwards that it is not set by the destructors.
1685 * elf/nodelmod1.c: Add destructor which sets fini_ran.
1686 * elf/nodelmod2.c: Likewise.
1687 * elf/nodelmod4.c: Likewise.
1689 2000-08-21 Jes Sorensen <jes@linuxcare.com>
1691 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
1692 getrlimit to the list.
1694 2000-08-18 Jes Sorensen <jes@linuxcare.com>
1696 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
1697 long double format so use ldbl-96 instead of ldbl-128.
1699 2000-08-25 Ulrich Drepper <drepper@redhat.com>
1701 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
1702 even if bits 10 a 11 are non-zero.
1703 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
1705 * Makeconfig: Ensures the soversions.mk part of Makefile gets
1706 included before building gnu/lib-names.h
1707 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1709 * elf/dl-close.c (_dl_close): Don't run destructors of objects
1710 marked DF_1_NODELETE.
1712 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
1713 since we call sigaction in the child.
1715 2000-08-25 Andreas Jaeger <aj@suse.de>
1717 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
1720 2000-08-25 Andreas Jaeger <aj@suse.de>
1722 * manual/arith.texi (Control Functions): Clarify possible
1723 arguments. Closes PR libc/1856.
1725 2000-08-24 H.J. Lu <hjl@gnu.org>
1727 * stdio-common/Makefile (tests): Don't do it for cross compiling.
1728 * malloc/Makefile (tests): Likewise.
1730 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1732 * iconvdata/unicode.c (gconv_init): Correct test for direction.
1734 2000-08-24 Andreas Jaeger <aj@suse.de>
1736 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
1737 only if LIBGD is available.
1739 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1741 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
1742 problems with now restrict parameter types.
1743 (convaddr4to6): Likewise.
1745 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
1747 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
1748 * sysdeps/s390/fpu/feenablxcpt.c: New file.
1749 * sysdeps/s390/fpu/fegetexcept.c: New file.
1750 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
1753 2000-08-24 Andreas Jaeger <aj@suse.de>
1755 * malloc/Makefile (extra-objs): Add memusagestat.o.
1756 (generated): Added memusage and memusagestat for make clean.
1758 * libio/tst_putwc.c (do_test): Delete temporary file.
1759 Move inclusion of test-skeleton to front to have prototype for
1762 * posix/Makefile (generated): Add wordexp-tst.out.
1764 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1766 * resolv/res_hconf.c (free_mem): Remove not needed if.
1768 * time/tzset.c (free_mem): New function.
1769 * string/strsignal.c (free_mem): New function.
1770 * inet/inet_ntoa.c (free_mem): New function.
1771 * sunrpc/clnt_perr.c (free_mem): New function.
1773 2000-08-24 Andreas Jaeger <aj@suse.de>
1775 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
1776 * sysdeps/unix/sysv/syscalls.list: Likewise.
1778 * posix/unistd.h: Move internal prototypes from here ...
1779 * include/unistd.h: ... to here.
1781 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
1783 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1785 * grp/initgroups.c (initgroups): Deallocate groups array.
1786 Reported by jani.raiha@sonera.com [PR libc/1868].
1788 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
1789 * sysdeps/alpha/Dist: Likewise.
1791 2000-08-23 Ulrich Drepper <drepper@redhat.com>
1793 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
1794 destructor). Reported by Solar Designer <solar@false.com>.
1796 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
1797 avoid adding double slashes.
1799 2000-08-23 Jakub Jelinek <jakub@redhat.com>
1801 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
1802 out of the __REDIRECT macro.
1804 2000-08-23 Ulrich Drepper <drepper@redhat.com>
1806 * stdio-common/vfscanf.c: Add %F format support.
1808 * locale/programs/ld-ctype.c (ctype_output): Make sure
1809 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
1810 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
1811 (ctype_read): Enable returning of wide character strings for reading
1812 transliteration information.
1814 2000-08-23 Andreas Jaeger <aj@suse.de>
1816 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
1817 Use static __inline instead of _EXTERN_INLINE.
1819 * misc/sys/select.h: Move prototypes of __select from here ...
1820 * include/sys/select.h: ... to here.
1822 * socket/sys/socket.h: Move prototypes of __send and __connect
1824 * include/sys/socket.h: ... to here.
1826 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
1829 2000-08-23 Jakub Jelinek <jakub@redhat.com>
1831 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
1832 __setrlimit as strong name. Takes only 2 arguments.
1834 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
1835 takes only 2 arguments.
1837 2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
1839 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
1841 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
1843 2000-08-23 Ulrich Drepper <drepper@redhat.com>
1845 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
1846 default_missing character being specified, pick the first
1849 2000-08-23 Andreas Jaeger <aj@suse.de>
1851 * include/wchar.h: Add some pure attributes.
1853 * time/time.h: Add const attribute for dysize.
1855 * include/stdlib.h: Add malloc attribute to __posix memalign.
1857 * stdlib/stdlib.h: Add some pure and malloc attributes.
1858 * wcsmbs/wchar.h: Likewise.
1860 * dirent/dirent.h: Add some pure attributes.
1861 * include/dirent.h: Likewise.
1863 2000-08-23 Jakub Jelinek <jakub@redhat.com>
1865 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
1868 2000-08-22 Ulrich Drepper <drepper@redhat.com>
1870 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
1871 missing buffer size checks.
1873 2000-08-23 Andreas Jaeger <aj@suse.de>
1875 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
1877 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1879 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
1880 otherwise __LINUX_KERNEL_VERSION might not be defined.
1881 (MIN): Define if not already defined.
1883 2000-08-22 Ulrich Drepper <drepper@redhat.com>
1885 * stdio-common/vfprintf.c: Handle %F format.
1886 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
1887 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1889 * stdio-common/tstdiomisc.c: Add test for %F printf format.
1891 * po/zh.po: New file.
1893 * iconvdata/sjis.c: In conversion from UCS4, correct test for
1894 enough room in target buffer.
1895 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
1896 * iconvdata/bug-iconv1.c: New file.
1897 * iconvdata/Makefile (tests): Add bug-iconv1.
1899 * locale/iso-4217.def: Update entry for Nicaragua.
1901 2000-08-22 Mark Kettenis <kettenis@gnu.org>
1903 * hurd/hurdsig.c: Rearrange headers a bit.
1904 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
1905 when cthreads is being used.
1907 2000-08-22 Ulrich Drepper <drepper@redhat.com>
1909 * elf/Makefile (distribute): Add dl-osinfo.h.
1910 * sysdeps/generic/dl-osinfo.h: New file.
1911 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
1912 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
1914 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
1915 only for !SHARED case. Get the code from dl-osinfo.h.
1917 * stdlib/random_r.c: Cleanups.
1918 * stdlib/tst-random.c: New file.
1919 * stdlib/Makefile (tests): Add tst-random.
1920 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
1922 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
1924 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
1925 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
1926 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
1927 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
1929 2000-08-22 Jakub Jelinek <jakub@redhat.com>
1931 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
1932 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
1933 (__syscall__sysctl): Add.
1935 2000-08-21 Andreas Jaeger <aj@suse.de>
1937 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
1939 * stdlib/tst-strtoll.c: Likewise.
1941 2000-08-21 Ulrich Drepper <drepper@redhat.com>
1943 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
1945 (__initstate_r): Set errno on error.
1946 (__random_r): Likewise.
1947 (__setstate_r): Correct offset when computing
1948 new rptr and fptr. Test for arg_state being NULL.
1949 Reported by Michael Fischer <fischer@cs.yale.edu>.
1951 * posix/regex.h: Add macro definitions to allow compiling outside
1954 * sysdeps/i370/Implies: Removed.
1955 * sysdeps/mvs/Implies: Removed.
1957 * catgets/catgets.c (catopen): Filter out env_var values with / if
1960 * locale/findlocale.c (_nl_find_locale): Move test for unusable
1961 locale name after all getenvs.
1963 * configure.in: Allow sed versions like 3.02.8.
1964 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
1966 2000-08-21 Marko Myllynen <myllynen@lut.fi>
1968 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
1970 2000-08-21 Ulrich Drepper <drepper@redhat.com>
1972 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
1973 of gethostbyname2_r call.
1975 * intl/locale.alias: Add aliases for Korean.
1977 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
1979 * sysdeps/s390/__longjmp.c: Remove unused variable result.
1980 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
1981 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
1982 * sysdeps/s390/fpu/fegetenv.c: New file.
1983 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
1984 * sysdeps/s390/fpu/feholdexcpt.c: New file.
1985 * sysdeps/s390/fpu/fenv_libc.h: New file.
1986 * sysdeps/s390/fpu/fesetenv.c: New file.
1987 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
1988 * sysdeps/s390/fpu/feupdateenv.c: New file.
1989 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
1990 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
1991 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
1992 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
1993 * sysdeps/s390/fpu/ftestexcept.c: New file.
1994 * sysdeps/s390/fpu/libm-test-ulps: New file.
1995 * sysdeps/s390/gmp-mparam.h: Add end of comment.
1996 * sysdeps/s390/initfini.c: New file.
1997 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
1998 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
1999 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
2000 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
2001 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
2002 sys/procfs.h as proposed by Mark Kettenis.
2003 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
2005 2000-08-21 Andreas Jaeger <aj@suse.de>
2007 * include/poll.h: Include include/sys/poll.h to get __poll
2010 * io/sys/poll.h: Move __poll declaration from here...
2011 * include/sys/poll.h: ...to here.
2013 * include/sys/socket.h (__getpeername): Add declaration.
2015 * include/wchar.h (__vswprintf): Add declaration.
2017 * include/stdio.h (__flockfile): Add declaration.
2018 (__funlockfile): Likewise.
2020 2000-08-20 Ulrich Drepper <drepper@redhat.com>
2022 * misc/sys/cdefs.h: Define __restrict_arr.
2023 * include/sys/time.h: Add restrict where required by AGd4.
2024 * inet/arpa/inet.h: Likewise.
2025 * io/sys/stat.h: Likewise.
2026 * io/sys/statvfs.h: Likewise.
2027 * misc/search.h: Likewise.
2028 * misc/sys/select.h: Likewise.
2029 * posix/glob.h: Likewise.
2030 * posix/regex.h: Likewise.
2031 * posix/spawn.h: Likewise.
2032 * posix/unistd.h: Likewise.
2033 * rt/aio.h: Likewise.
2034 * signal/signal.h: Likewise.
2035 * socket/sys/socket.h: Likewise.
2036 * stdlib/ucontext.h: Likewise.
2037 * streams/stropts.h: Likewise.
2038 * string/string.h: Likewise.
2039 * time/time.h: Likewise.
2040 * time/sys/time.h: Likewise.
2042 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
2043 and posix_spawnattr_setscheparam.
2045 * libio/stdio.h: Make cuserid prototype again available for all
2048 * argp/argp-help.c: Unify use of function aliases to make more compact
2050 * include/libintl.h: Likewise.
2051 * inet/rcmd.c: Likewise.
2052 * intl/dcigettext.c: Likewise.
2053 * libio/iofputws.c: Likewise.
2054 * libio/iofputws_u.c: Likewise.
2055 * libio/iogetwline.c: Likewise.
2056 * libio/swprintf.c: Likewise.
2057 * malloc/malloc.c: Likewise.
2058 * nss/digits_dots.c: Likewise.
2059 * posix/fnmatch.c: Likewise.
2060 * posix/spawn_faction_addclose.c: Likewise.
2061 * posix/spawn_faction_adddup2.c: Likewise.
2062 * posix/spawn_faction_addopen.c: Likewise.
2063 * posix/spawni.c: Likewise.
2064 * posix/wordexp.c: Likewise.
2065 * posix/spawni.c: Likewise.
2066 * resolv/res_hconf.c: Likewise.
2067 * resolv/res_init.c: Likewise.
2068 * shadow/lckpwdf.c: Likewise.
2069 * signal/sighold.c: Likewise.
2070 * signal/sigrelse.c: Likewise.
2071 * stdio-common/printf-parse.h: Likewise.
2072 * stdio-common/printf-prs.c: Likewise.
2073 * stdio-common/printf_fp.c: Likewise.
2074 * stdio-common/vfprintf.c: Likewise.
2075 * stdio-common/vfscanf.c: Likewise.
2076 * stdlib/rpmatch.c: Likewise.
2077 * sunrpc/create_xid.c: Likewise.
2078 * sunrpc/key_call.c: Likewise.
2079 * sysdeps/generic/setrlimit64.c: Likewise.
2080 * sysdeps/generic/utmp_file.c: Likewise.
2081 * sysdeps/generic/vlimit.c: Likewise.
2082 * sysdeps/posix/posix_fallocate.c: Likewise.
2083 * sysdeps/posix/posix_fallocate64.c: Likewise.
2084 * sysdeps/posix/sigpause.c: Likewise.
2085 * sysdeps/posix/sigset.c: Likewise.
2086 * sysdeps/unix/grantpt.c: Likewise.
2087 * sysdeps/unix/bsd/ualarm.c: Likewise.
2088 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
2089 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
2090 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2091 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
2092 * time/strftime.c: Likewise.
2093 * wcsmbs/wcscoll.c: Likewise.
2094 * wcsmbs/wcsxfrm.c: Likewise.
2096 * time/tst-getdate.c (main): Make error messages more human readable.
2098 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
2099 postinc/predec instruction.
2100 (_FPU_SETCW): Likewise.
2101 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2103 2000-08-20 Andreas Jaeger <aj@suse.de>
2105 * time/tst-getdate.c (main): Increase error in case of wrong
2107 Fix typo in test case.
2109 2000-08-20 Ulrich Drepper <drepper@redhat.com>
2111 * ctype/ctype.h (isblank): Make available if ISO C99.
2112 * wctype/wctype.h (iswblank): Make available if ISO C99.
2113 * math/math.h (signgam): Don't make available if ISO C99.
2114 * math/tgmath.h (tgamma): Renamed from gamma.
2115 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
2117 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
2119 * intl/plural.y (new_exp): Take number of optional parameters in
2120 second parameter. Test for correct number of parameters and free
2121 correctly in case of failure. Adjust all callers.
2122 (yylex): Allow ';' as terminator character.
2124 2000-08-19 Ulrich Drepper <drepper@redhat.com>
2126 * locale/lc-time.c (free_mem): New function. Free alt_digits and
2129 * locale/findlocale.c (free_mem): Also free here->filename.
2131 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
2133 * math/test-fenv.c (feenv_tests): Clear all exceptions before
2135 (feexcp_nomask_test): Correct printf args.
2136 (feexcp_mask_test): Likewise.
2138 2000-08-19 Andreas Jaeger <aj@suse.de>
2140 * inet/tst-gethnm.c: Include string.h to provide prototype for
2143 * malloc/mtrace.pl (usage): Inform about --help.
2145 2000-08-19 Wolfram Gloger <wg@malloc.de>
2147 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
2150 2000-08-19 Andreas Jaeger <aj@suse.de>
2152 * shlib-versions: Remove libnss_db, libdb and libdb1.
2154 2000-08-19 Jakub Jelinek <jakub@redhat.com>
2156 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
2157 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
2158 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
2159 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
2160 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
2161 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
2162 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
2163 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
2164 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
2165 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
2167 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
2168 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
2170 2000-08-18 Jakub Jelinek <jakub@redhat.com>
2172 * include/glob.h (__glob64): Add prototype.
2173 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
2174 define glob and glob_in_dir.
2175 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
2176 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
2177 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
2178 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
2179 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
2180 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
2181 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
2182 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
2184 2000-08-18 Jakub Jelinek <jakub@redhat.com>
2186 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
2188 2000-08-17 Andreas Jaeger <aj@suse.de>
2190 * math/test-fenv.c (fe_single_test): New function.
2191 (fe_env_tests): Use fe_single_test.
2192 (feenable_test): New tests for feenable/fedisable and
2194 (feexcp_mask_test): New function.
2195 (feexcp_nomask_test): New function.
2197 2000-08-19 Richard Henderson <rth@cygnus.com>
2199 * sysdeps/alpha/fpu/fenv_libc.h: New file.
2200 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
2201 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
2202 * sysdeps/alpha/fpu/fesetround.c: Likewise.
2203 * sysdeps/alpha/fpu/fegetround.c: Likewise.
2204 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
2205 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
2206 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
2207 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
2208 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
2209 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
2210 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
2211 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
2212 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
2213 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
2214 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
2215 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
2217 2000-08-19 Andreas Jaeger <aj@suse.de>
2219 * elf/constload1.c: Include <stdio.h> for puts prototype.
2221 2000-08-19 Ulrich Drepper <drepper@redhat.com>
2223 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
2224 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
2225 a dynamically loaded object remove old l_initfini list.
2226 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
2227 remove some dynamically allocated memory blocks in the dynamic
2228 loading data structures.
2229 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
2230 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
2231 Instead call _dl_check_map_versions only for the dependencies.
2232 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
2233 information of initial objects as not free-able.
2234 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
2237 * elf/filter.c: Call mtrace.
2238 * elf/restest1.c: Likewise. Close the objects.
2239 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
2242 * elf/constload1.c: Add comment explaining not freed memory.
2244 2000-08-18 Andreas Jaeger <aj@suse.de>
2246 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
2247 alignment for structs stat and stat64.
2248 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2250 2000-08-17 Ulrich Drepper <drepper@redhat.com>
2252 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
2253 handling. Patch by Richard Henderson <rth@twiddle.net>.
2255 * nss/Versions: Remove libnss_db information.
2257 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2259 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
2260 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
2261 * sysdeps/sparc/fpu/fegetexcept.c: New file.
2262 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
2264 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
2267 2000-08-17 Ulrich Drepper <drepper@redhat.com>
2269 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
2270 (_FPU_SETCW): Likewise.
2271 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2273 * stdio-common/printf_fp.c: Fix chars_needed computation.
2274 Patch by Greg McGary <greg@mcgary.org>.
2276 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2278 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
2279 _dl_loaded are NULL.
2281 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2283 * manual/arith.texi (feholdexcept): Returns 0 on success.
2285 2000-08-17 Andreas Jaeger <aj@suse.de>
2287 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
2289 Reported by Andi Kleen <ak@suse.de>.
2291 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2293 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
2294 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
2295 * sysdeps/alpha/fpu/fegetexcept.c: New file.
2297 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2299 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
2300 of buf->st_ino and kbuf->st_ino, not __st_ino.
2301 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
2302 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
2303 directive so that only linux/getdents.c is used, not some
2304 architecture specific one.
2306 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2308 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
2309 enabled, not disabled exceptions.
2310 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2311 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
2313 2000-08-17 Greg McGary <greg@mcgary.org>
2315 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
2316 from test program name when constructing suffix for $(LDLIBS-*).
2317 (bounded-thread-library): New variable.
2319 [build-shared, build-static] (libcrypt-dep): Remove variable.
2320 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
2321 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2322 * linuxthreads/Makefile (libpthread, librt): Remove variables.
2323 (librt-tests): Add variable. (tests): Use it.
2324 [build-shared, build-static]
2325 ($(addprefix $(objpfx),$(tests)),
2326 $(addprefix $(objpfx),$(librt-tests))):
2327 Consolidate individual dependencies.
2329 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
2331 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
2332 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2334 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
2336 [build-shared, build-static]
2337 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
2338 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2340 2000-08-17 Greg McGary <greg@mcgary.org>
2342 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
2343 * sysdeps/unix/make-syscalls.sh: Likewise.
2344 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2345 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2346 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2347 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
2348 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
2350 2000-08-17 Greg McGary <greg@mcgary.org>
2352 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
2353 Wrap extern symbols in BP_SYM ().
2354 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2355 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2356 * sysdeps/i386/fpu/s_remquo.S: Likewise.
2357 * sysdeps/i386/fpu/s_remquof.S: Likewise.
2358 * sysdeps/i386/fpu/s_remquol.S: Likewise.
2359 * sysdeps/i386/fpu/s_sincos.S: Likewise.
2360 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2361 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2362 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2363 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2365 2000-08-16 Andreas Schwab <schwab@suse.de>
2367 * sysdeps/m68k/fpu/fegetexcept.c: New file.
2368 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
2369 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
2371 2000-08-15 Ulrich Drepper <drepper@redhat.com>
2373 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
2374 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
2375 * elf/dl-support.c: Define _nl_nloaded.
2376 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
2377 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
2378 object to global list.
2379 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
2380 from _dl_loaded list.
2381 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2382 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
2385 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
2387 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
2389 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
2391 2000-08-16 Andreas Jaeger <aj@suse.de>
2393 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
2395 2000-08-15 Marko Myllynen <myllynen@lut.fi>
2397 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
2399 2000-08-15 Ulrich Drepper <drepper@redhat.com>
2401 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
2402 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
2403 (sysdep_routines): Add oldgetrlimit64.
2404 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
2405 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2407 * include/link.h: Undo last patches. Hurd now has stat64.
2408 * elf/Makefile: Likewise.
2409 * elf/dl-load.c: Likewise.
2410 * elf/dl-misc.c: Likewise.
2411 * elf/dl-profile.c: Likewise.
2412 * sysdeps/generic/sysd-link.h: Removed.
2413 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
2415 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
2416 thread event callback function.
2417 (__aio_notify_only): Use function above.
2418 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
2420 2000-08-16 Mark Kettenis <kettenis@gnu.org>
2422 * sysdeps/mach/hurd/lseek64.c: New file.
2424 2000-08-15 Mark Kettenis <kettenis@gnu.org>
2426 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
2428 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
2430 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
2432 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
2434 2000-08-15 Mark Kettenis <kettenis@gnu.org>
2436 * sysdeps/mach/hurd/xstatconv.c: New file.
2437 * sysdeps/mach/hurd/fxstat64.c: New file.
2438 * sysdeps/mach/hurd/lxstat64.c: New file.
2439 * sysdeps/mach/hurd/xstat64.c: New file.
2440 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
2442 2000-08-15 Mark Kettenis <kettenis@gnu.org>
2444 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
2445 Initialize, needed for change in common symbol handling in newer
2446 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
2448 2000-08-15 Ulrich Drepper <drepper@redhat.com>
2450 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
2451 * elf/constload2.c: Add destructor to unload constload3.
2453 * include/link.h: Include sysd-link.h.
2454 * sysdeps/generic/sysd-link.h: New file.
2455 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
2456 * elf/Makefile (distribute): Add sysd-link.h.
2457 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
2458 types and functions directly.
2459 * elf/dl-misc.c: Likewise.
2460 * elf/dl-profile.c: Likewise.
2462 * elf/loadfail.c (main): Close all successfully loaded objects.
2464 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
2466 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
2467 there is already one.
2469 * elf/dl-close.c: Pretty print.
2471 2000-08-14 Ulrich Drepper <drepper@redhat.com>
2473 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
2474 global (with file scope). Add __libc_subfreeres function to free the
2476 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
2477 in ttyname function.
2479 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
2481 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
2483 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
2484 mapping them to /x5c and /x7e respectively.
2486 * locale/programs/ld-ctype.c: Add support for more definitions after
2489 2000-08-14 Jakub Jelinek <jakub@redhat.com>
2491 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
2492 * sysdeps/unix/sysv/linux/kernel-features.h
2493 (__ASSUME_GETDENTS64_SYSCALL): Define.
2494 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
2495 syscall if available to get d_type fields.
2496 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
2497 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
2498 __lxstat64): Export at GLIBC_2.2.
2499 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
2501 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
2502 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
2503 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
2504 getdirentries64, versionsort64): Remove.
2505 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
2506 getdirentries64, versionsort64): Remove.
2508 2000-08-13 Ulrich Drepper <drepper@redhat.com>
2510 * posix/Makefile: Remove rules to generate glob package.
2512 * posix/Makefile (tests): Add tst-regexloc.
2513 (tst-regexloc-ENV): Add LOCPATH.
2514 * posix/tst-regexloc.c: New file.
2516 2000-08-12 Andreas Jaeger <aj@suse.de>
2518 * include/features.h (__STDC_ISO_10646__): Define.
2519 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
2521 2000-08-13 Ulrich Drepper <drepper@redhat.com>
2523 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
2525 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
2526 for revision 6 and up).
2528 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
2530 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
2531 to get definitions of just these types.
2533 * signal/signal.h: Define thread signal handling functions also for
2536 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
2538 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2539 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
2540 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2541 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2543 * sysvipc/sys/shm.h: Define pid_t for XPG.
2545 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
2546 they are not anymore required here.
2548 * wcsmbs/wchar.h: Make the various wide char string and stream
2549 functions available for the respective XPG versions.
2551 * nss/Makefile: Remove rules to build and distribute nss_db.
2553 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
2554 * sysdeps/generic/scandir64.c: Likewise.
2555 * sysdeps/generic/versionsort64.c: Likewise.
2557 2000-08-13 Ulrich Drepper <drepper@redhat.com>
2558 Benjamin Koznik <bkoz@redhat.com>
2560 * libio/fileops.c: Merge with libstdc++-v3.
2561 * libio/genops.c: Likewise.
2562 * libio/iofclose.c: Likewise.
2563 * libio/iofopen.c: Likewise.
2564 * libio/iofwide.c: Likewise.
2565 * libio/libio.h: Likewise.
2566 * libio/libioP.h: Likewise.
2567 * libio/stdfiles.c: Likewise.
2568 * libio/stdio.c: Likewise.
2569 * libio/wfileops.c: Likewise.
2570 * libio/wgenops.c: Likewise.
2572 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
2574 2000-08-12 Ulrich Drepper <drepper@redhat.com>
2576 * locale/programs/localedef.c: Implement --prefix option to allow
2577 writing in standard places of alternative install directories.
2579 * posix/regex.c (compile_range): Implement collation sequence
2580 handling for glibc. Use simple character ordering otherwise and
2583 2000-08-12 Mark Kettenis <kettenis@gnu.org>
2585 * sysdeps/generic/scandir64.c: Include <dirent.h>.
2587 2000-08-12 Andreas Jaeger <aj@suse.de>
2589 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
2590 __USE_FILE_OFFSET64 correctly for locking.
2591 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2593 2000-08-12 Jakub Jelinek <jakub@redhat.com>
2595 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2596 Define for 2.4.1 on sparc as well.
2597 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
2598 for F_GETLK64, F_SETLK64, and F_SETLKW64.
2599 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
2600 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
2602 2000-08-12 Ulrich Drepper <drepper@redhat.com>
2604 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
2607 2000-08-12 Andreas Jaeger <aj@suse.de>
2609 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
2610 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
2612 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
2613 mips2 for assembler.
2615 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
2616 if fnctl64 is not available for F_*LK*64.
2618 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
2620 2000-08-12 Ulrich Drepper <drepper@redhat.com>
2622 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2623 Define for 2.4.1 on x86.
2624 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
2625 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
2626 for F_GETLK64, F_SETLK64, and F_SETLKW64.
2628 * dirent/dirent.h: Define DT_WHT.
2630 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
2631 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
2632 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
2633 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
2634 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
2635 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
2637 2000-08-11 Ulrich Drepper <drepper@redhat.com>
2639 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
2640 lookup, pass pointer to array with NULL pointer [PR libc/1858].
2641 * inet/Makefile (tests): Add tst-gethnm.
2642 * inet/tst-gethnm.c: New file.
2644 * rt/aio_cancel.c: If canceling a specific request which is running
2645 *really* do nothing.
2646 * rt/aio_misc.h: Add `done' to states of a request.
2647 * rt/aio_misc.c: Add several tests for the correct state.
2648 Simplify request table memory handling.
2650 2000-08-10 Jakub Jelinek <jakub@redhat.com>
2652 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
2653 * dirent/scandir64.c: Move...
2654 * sysdeps/generic/scandir64.c: ...here.
2655 * dirent/alphasort64.c: Move...
2656 * sysdeps/generic/alphasort64.c: ...here.
2657 * dirent/versionsort64.c: Move...
2658 * sysdeps/generic/versionsort64.c: ...here.
2659 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
2660 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
2661 Export symbols at GLIBC_2.2.
2662 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
2663 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
2664 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
2665 __versionsort64): Add prototypes.
2666 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
2667 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
2669 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
2671 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
2672 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
2673 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
2674 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
2676 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
2677 Adjust for kernel-2.4.0-test6 layout.
2678 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
2679 GLIBC_2.1 and GLIBC_2.2.
2680 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
2681 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
2682 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
2683 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
2684 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
2685 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
2686 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
2687 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
2688 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
2689 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
2690 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
2691 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
2692 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
2693 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
2695 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
2696 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
2697 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
2698 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
2699 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
2700 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
2701 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
2703 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
2704 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
2706 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
2707 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
2708 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
2709 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
2710 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
2712 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
2714 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
2716 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
2717 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
2718 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
2719 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
2720 st_ino from __st_ino.
2721 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
2722 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
2723 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
2724 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
2725 set __st_ino in addition to st_ino.
2726 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
2727 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
2728 __old_getdents64 as well.
2729 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
2730 getdirentries64 and old_getdirentries64 as well.
2731 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
2732 __GETDENTS): Define.
2733 (GETDENTS64): Remove.
2734 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
2736 (GETDENTS64): Remove.
2737 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
2738 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
2739 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
2741 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
2742 __old_readdir64_r as well.
2743 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2744 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
2746 2000-08-08 Jes Sorensen <jes@linuxcare.com>
2748 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
2749 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
2750 define of the kernel.
2751 Add missing __SEG_PSTKOVF definition.
2752 Adjust the padding of struct siginfo and struct sigevent to
2753 match the fact that sigval_t is 64 bit.
2755 2000-08-10 Ulrich Drepper <drepper@redhat.com>
2757 * timezone/zic.c: Update from tzcode2000f.
2758 * timezone/australasia: Update from tzdata2000f.
2759 * timezone/europe: Likewise.
2760 * timezone/southamerica: Likewise.
2761 * timezone/yearistype: Likewise.
2763 2000-08-10 Andreas Jaeger <aj@suse.de>
2765 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
2766 stat with current MIPS kernel.
2768 2000-08-01 Mark Kettenis <kettenis@gnu.org>
2770 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
2771 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
2772 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
2773 Remove the junk that's only relevant in the Linux kernel itself.
2774 Add a warning saying that this file is now obsolete, and include
2776 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
2777 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
2778 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
2779 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
2780 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
2781 and add the notice that the file is primarily there for GDB.
2782 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
2784 2000-08-09 Jakub Jelinek <jakub@redhat.com>
2786 * time/tzfile.c (__tzfile_compute): __tzstring zones
2789 2000-08-09 Jakub Jelinek <jakub@redhat.com>
2791 * resolv/resolv.h (__res_state): Surround prototype with
2792 __BEGIN_DECLS/__END_DECLS.
2793 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
2795 2000-08-04 Jes Sorensen <jes@linuxcare.com>
2797 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
2798 Make independant of asm/resource.h from the Linux kernel.
2800 2000-08-06 Bruno Haible <haible@clisp.cons.org>
2802 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
2804 2000-08-06 Bruno Haible <haible@clisp.cons.org>
2806 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
2807 * locale/Makefile (locale-CPPFLAGS): Likewise.
2809 2000-08-09 Ulrich Drepper <drepper@redhat.com>
2811 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
2814 2000-08-03 Jakub Jelinek <jakub@redhat.com>
2816 * misc/Versions (mincore): Export at GLIBC_2.2.
2818 2000-08-03 Bruno Haible <haible@clisp.cons.org>
2820 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
2822 2000-08-02 Mark Kettenis <kettenis@gnu.org>
2824 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
2825 socketpair. Made socketpair a weak alias.
2826 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
2827 __socketpair. Use S_IFIFO protocol to make pipes POSIX
2828 conforming, but fall back on the old protocol if the socket server
2830 * include/sys/socket.h: Add prototype for __socketpair.
2832 2000-08-09 Andreas Schwab <schwab@suse.de>
2834 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
2835 long long modifier is seen.
2837 * elf/nodelete.c (do_test): Remove reference to undefined member
2839 * rt/tst-aio4.c (do_test): Likewise.
2841 * configure.in: Add `-lm' when checking for libgd.
2842 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
2845 2000-08-09 Andreas Jaeger <aj@suse.de>
2847 * configure.in: Change required make versions.
2849 * manual/install.texi (Tools for Compilation): Document required
2851 (Supported Configurations): Update list of supported
2854 2000-08-08 Ulrich Drepper <drepper@redhat.com>
2856 * locale/linereader.c (get_string): Don't print an error is a string
2857 contains an unknown character.
2859 2000-08-06 Ulrich Drepper <drepper@redhat.com>
2861 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
2862 (new_symbol): Take new parameters with name of the symbol.
2864 (handle_ellipsis): Don't only allow character symbols.
2865 (collate_read): Allow string of collating elements contain invalid
2866 characters; ignore entry in this case.
2867 Handle ellipsis of collating symbols before first order_start.
2868 Allow ellipsis in state 0.
2870 2000-08-04 Ulrich Drepper <drepper@redhat.com>
2872 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
2874 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
2876 2000-08-04 Greg McGary <greg@mcgary.org>
2878 * posix/regex.c (SET_HIGH_BOUND): New macro.
2879 (MOVE_BUFFER_POINTER): Use it.
2880 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
2881 (EXTEND_BUFFER): Use it.
2883 2000-08-03 Ulrich Drepper <drepper@redhat.com>
2885 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
2886 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
2887 _wide_data but from _IO_FILE directly.
2888 * libio/iofclose.c: Likewise.
2889 * libio/wfileops.c: Likewise.
2891 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
2892 * libio/libioP.h: Change prototypes.
2894 2000-08-03 Greg McGary <greg@mcgary.org>
2896 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
2897 frame pointer early so that we save caller's frame pointer.
2898 * sysdeps/i386/elf/setjmp.S: Likewise.
2900 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
2901 * io/test-utime.c: Test passing NULL as utimbuf* arg.
2903 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
2904 (MOVE_BUFFER_POINTER): Handle high_bound properly.
2905 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
2907 2000-08-03 Ulrich Drepper <drepper@redhat.com>
2909 * iconvdata/big5.c: Updated.
2910 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
2912 2000-08-02 Ulrich Drepper <drepper@redhat.com>
2914 * Makeconfig (all-subdirs): Add conform.
2915 * conform/Makefile: Include ../Rules.
2917 * Makefile (README): Add rules to generate here as well.
2919 2000-08-02 Ulrich Drepper <drepper@redhat.com>
2921 * version.h (VERSION): Bump to 2.1.92.
2923 * sysdeps/ia64/Dist: Add _mcount.S.
2925 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
2927 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
2929 * elf/Makefile (distribute): Add missing modules.
2931 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
2933 * posix/regex.c (compile_range): Translate range start and end
2934 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
2936 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
2939 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
2941 2000-08-02 Andreas Jaeger <aj@suse.de>
2943 * elf/elf.h (EM_S390): Added.
2944 (R_390_*): New relocs for S390.
2946 * sysdeps/unix/sysv/linux/s390/Dist: New file.
2947 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
2948 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
2949 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
2950 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
2951 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
2952 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
2953 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
2954 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
2955 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
2956 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
2957 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
2958 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
2959 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
2960 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
2961 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
2962 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
2963 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
2964 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
2965 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
2966 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
2967 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
2968 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
2969 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
2970 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
2971 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
2972 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
2973 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
2974 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
2975 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
2976 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
2977 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
2978 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
2979 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
2980 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
2981 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
2982 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
2983 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
2984 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
2985 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
2986 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
2987 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
2988 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
2989 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
2990 * sysdeps/s390/sysdep.h: New file.
2991 * sysdeps/s390/sys/ucontext.h: New file.
2992 * sysdeps/s390/sub_n.S: New file.
2993 * sysdeps/s390/strncpy.S: New file.
2994 * sysdeps/s390/strcpy.S: New file.
2995 * sysdeps/s390/stackinfo.h: New file.
2996 * sysdeps/s390/setjmp.S: New file.
2997 * sysdeps/s390/s390-mcount.S: New file.
2998 * sysdeps/s390/mul_1.S: New file.
2999 * sysdeps/s390/memusage.h: New file.
3000 * sysdeps/s390/memset.S: New file.
3001 * sysdeps/s390/memcpy.S: New file.
3002 * sysdeps/s390/memchr.S: New file.
3003 * sysdeps/s390/machine-gmon.h: New file.
3004 * sysdeps/s390/ldbl2mpn.c: New file.
3005 * sysdeps/s390/gmp-mparam.h: New file.
3006 * sysdeps/s390/fpu/fpu_control.h: New file.
3007 * sysdeps/s390/fpu/fesetround.c: New file.
3008 * sysdeps/s390/fpu/fegetround.c: New file.
3009 * sysdeps/s390/fpu/fclrexcpt.c: New file.
3010 * sysdeps/s390/fpu/bits/fenv.h: New file.
3011 * sysdeps/s390/ffs.c: New file.
3012 * sysdeps/s390/elf/start.S: New file.
3013 * sysdeps/s390/elf/setjmp.S: New file.
3014 * sysdeps/s390/elf/bsd-setjmp.S: New file.
3015 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
3016 * sysdeps/s390/dl-machine.h: New file.
3017 * sysdeps/s390/bzero.S: New file.
3018 * sysdeps/s390/bsd-setjmp.S: New file.
3019 * sysdeps/s390/bsd-_setjmp.S: New file.
3020 * sysdeps/s390/bits/string.h: New file.
3021 * sysdeps/s390/bits/setjmp.h: New file.
3022 * sysdeps/s390/bits/huge_val.h: New file.
3023 * sysdeps/s390/bits/endian.h: New file.
3024 * sysdeps/s390/bits/byteswap.h: New file.
3025 * sysdeps/s390/bcopy.S: New file.
3026 * sysdeps/s390/backtrace.c: New file.
3027 * sysdeps/s390/atomicity.h: New file.
3028 * sysdeps/s390/asm-syntax.h: New file.
3029 * sysdeps/s390/addmul_1.S: New file.
3030 * sysdeps/s390/add_n.S: New file.
3031 * sysdeps/s390/abort-instr.h: New file.
3032 * sysdeps/s390/__longjmp.c: New file.
3033 * sysdeps/s390/Makefile: New file.
3034 * sysdeps/s390/Implies: New file.
3035 * sysdeps/s390/Dist: New file.
3036 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
3038 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3040 Remove incompatible IPv6 extension of RPC.
3041 * sunrpc/Makefile: Undo changes.
3042 * sunrpc/rpc_main.c: Likewise.
3043 * sunrpc/rpc/clnt.h: Likewise.
3044 * sunrpc/rpc/svc.h: Likewise.
3045 * sunrpc/bindrsvprt6.c: Removed.
3046 * sunrpc/clnt_tcp6.c: Removed.
3047 * sunrpc/clnt_udp6.c: Removed.
3048 * sunrpc/svc_tcp6.c: Removed.
3049 * sunrpc/svc_udp6.c: Removed.
3051 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
3052 dgettext, and dcgettetxt.
3054 * intl/locale.alias: Update japanese aliases.
3056 * sysdeps/ia64/bits/byteswap.h: New file.
3057 Patch by Dan Pop <Dan.Pop@cern.ch>.
3059 * misc/sys/cdefs.h: Define __attribute_format_arg__.
3060 * intl/libintl.h: Use it here instead of using __attribute__ directly.
3062 2000-07-13 H.J. Lu <hjl@gnu.org>
3064 * posix/regex.c (re_max_failures): Set to 4000.
3066 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3068 * gnulib/Makefile (tests): Add tst-gcc.
3069 * gnulib/tst-gcc.c: New file.
3071 * assert/Makefile (routines): Add __assert.
3072 * assert/Versions: Export __assert for glibc 2.2.
3073 * assert/__assert.c: New file.
3074 * assert/assert.h: Declare __assert.
3076 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3078 * locale/localeinfo.h (_ISCTYPE): New macro.
3079 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
3080 LC_CTYPE locale format.
3081 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
3082 (ctype_output): Output class_b[nr] right before class_3level[nr].
3083 (allocate_arrays): Fill class_b, similarly to class_3level.
3085 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3086 Joseph S. Myers <jsm28@cam.ac.uk>
3088 * math/tgmath.h: Make standard compliant. Don't ask how.
3090 2000-07-04 H.J. Lu <hjl@gnu.org>
3092 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
3093 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
3094 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
3096 2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3098 * include/features.h (_XOPEN_SOURCE): Update the explanation.
3099 (__USE_LARGEFILE): Add an explanation.
3100 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
3101 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
3103 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3105 * libio/Makefile: Enable exception handling for genops, wgenops,
3106 fileops, and wfileops.
3108 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3110 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
3111 acount that elf/rtld's main program might remove some varibales
3112 from the environment if we're trying to be secure. Move the Hurd
3113 startup data if necessary, or, if we there is no startup data,
3114 make sure the magical convention that ARGV[0] is stored just after
3115 the environment list.
3117 2000-08-01 Philip Blundell <philb@gnu.org>
3119 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
3120 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
3121 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
3122 oldsetrlimit for GLIBC_2.0.
3124 2000-08-01 Andreas Jaeger <aj@suse.de>
3126 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
3127 (LINE_PARSER): Allow any number of spaces between ip address and
3128 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
3130 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
3132 * include/netdb.h: Remove getipnodebyaddr and friends, leave
3135 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
3136 _nss_nisplus_getipnodebyname_r.
3138 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
3139 now, getipnodebyname is deprecated.
3140 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
3143 * inet/Makefile (routines): Don't build getipnodebyaddr and
3146 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
3148 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
3150 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
3152 * wctype/Makefile (distribute): Add wchar-lookup.h.
3154 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
3156 * iconvdata/Makefile (distribute): Add isiri-3342.h.
3158 2000-08-01 Andreas Schwab <schwab@suse.de>
3160 * Make-dist (dist): Resolve `..' in file names.
3162 2000-08-01 Andreas Jaeger <aj@suse.de>
3164 * stdio-common/Makefile (distribute): Remove removed files, add
3167 * Makefile (distribute): Remove include/db_185.h and db.h.
3169 * include/db_185.h: Remove, it's not needed anymore.
3170 * include/db.h: Likewise.
3172 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3174 * inet/Makefile (tests): Remove tst-ipnode.
3175 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
3178 2000-07-31 Jes Sorensen <jes@linuxcare.com>
3180 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
3181 endp statements have already been added.
3183 2000-04-18 David Mosberger <davidm@hpl.hp.com>
3185 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
3186 <sysdeps/ia64/sysdep.h>.
3188 * sysdeps/ia64/_mcount.S: New file.
3190 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
3191 __gmon_start__. Fix up extraneous whitespace.
3193 2000-01-12 H.J. Lu <hjl@gnu.org>
3195 * sysdeps/ia64/elf/initfini.c: New file.
3197 2000-07-31 Jes Sorensen <jes@linuxcare.com>
3199 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
3200 dependency between branch and ar.pfs write.
3202 2000-07-31 H.J. Lu <hjl@gnu.org>
3204 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
3205 handle the wchar_t array.
3207 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3209 * iconvdata/gb18030.c: Don't map to and from positions in ISO
3210 10646 which are not yet assigned.
3211 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
3213 2000-07-31 Andreas Jaeger <aj@suse.de>
3215 * inet/Versions: Remove getipnodebyaddr and friends from
3218 * resolv/netdb.h: Remove getipnodebyaddr and friends.
3220 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3222 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
3223 ch >= 0x81 && ch2 < 0x40 as invalid.
3225 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3227 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
3228 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
3230 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3232 * iconvdata/johab.c (BODY for TO_LOOP): After calling
3233 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
3235 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3237 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
3239 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
3241 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3243 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
3245 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3247 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
3248 (from_ucs4): Change values of U+00A4 and U+00ED.
3249 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
3251 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3253 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
3254 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
3256 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3258 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
3259 * iconvdata/isiri-3342.h: New file.
3260 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
3261 treat 0x80 as a gap.
3263 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3265 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
3266 (utf8_encode): Use simple shifts instead. Fix return value.
3268 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3270 * timezone/private.h: Update from tzcode2000e.
3271 * timezone/asia: Update from tzdata2000e.
3272 * timezone/australasia: Likewise.
3273 * timezone/europe: Likewise.
3274 * timezone/northamerica: Likewise.
3275 * timezone/zone-tab: Likewise.
3277 2000-07-30 Ralf Baechle <ralf@gnu.org>
3279 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
3280 the order of struct sigaltstack members is different.
3282 2000-07-26 Philip Blundell <philb@gnu.org>
3284 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
3286 2000-07-29 Ulrich Drepper <drepper@redhat.com>
3288 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
3289 * locale/programs/ld-ctype.c: Adjust for this.
3291 * locale/programs/ld-collate.c: Add more alignment checks.
3292 * locale/string/strcoll.c: Likewise.
3294 2000-07-30 Mark Kettenis <kettenis@gnu.org>
3296 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
3297 outside USE_IN_LIBIO block.
3299 2000-07-26 Philip Blundell <philb@gnu.org>
3301 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
3302 (elf_machine_rel): Use it for out-of-range PC24 relocs.
3304 2000-07-28 Philip Blundell <philb@gnu.org>
3306 * math/test-fpucw.c: Ignore reserved bits in control word.
3308 2000-07-28 Philip Blundell <philb@gnu.org>
3310 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
3311 (ret): Redefine to PSEUDO_RET.
3312 (PSEUDO): Remove jump to syscall_error.
3314 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3316 * resolv/README: Add some information about using the resolver in
3317 multi-threaded code and with C++. Spelling fixes.
3319 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3321 * resolv/resolv.h (struct __sockaddr_in): Remove.
3322 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
3324 2000-07-29 Greg McGary <greg@mcgary.org>
3326 * Rules (test-bp-inputs, make-test-out): New variables.
3327 ($(objpfx)%-bp.out): New rule.
3328 ($(objpfx)%.out): Rewrite in terms of new variables.
3330 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
3331 internal function that uses vtable.
3332 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
3333 * libio/vswprintf.c (_IO_vswprintf): Likewise.
3335 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
3336 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
3337 (chunk_align): Likewise.
3339 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
3340 in a way that conforms to decl, and avoids spurious bounds violation.
3342 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
3343 * sysdeps/generic/frame.h: Likewise.
3344 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
3345 around return value.
3346 (__backtrace): Qualify frame-pointer chain and return address
3347 pointers as __unbounded. Wrap bounds around variable `current'.
3348 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
3349 around return value.
3350 (catch_segfault): Qualify frame-pointer chain and return address
3351 pointers as __unbounded. Wrap bounds around variable `current'.
3352 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
3353 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
3354 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
3356 (__backtrace): Qualify frame-pointer chain and return address
3357 pointers as __unbounded. Wrap bounds around variable `current'.
3359 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
3360 * sysdeps/i386/mul_1.S: Likewise.
3361 * sysdeps/i386/submul_1.S: Likewise.
3362 * sysdeps/i386/i586/addmul_1.S: Likewise.
3363 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
3364 * sysdeps/i386/i586/submul_1.S: Likewise.
3366 2000-07-27 Andreas Jaeger <aj@suse.de>
3368 * libio/Depend: New file, libio needs localedata for tests.
3369 * posix/Depend: Likewise.
3371 2000-07-28 Ulrich Drepper <drepper@redhat.com>
3373 * stdio-common/_i18n_itoa.c: Removed.
3374 * stdio-common/_i18n_itoa.h: Removed.
3375 * stdio-common/_i18n_itowa.c: Removed.
3376 * stdio-common/_i18n_itowa.h: Removed.
3377 * stdio-common/_i18n_number.h: New file.
3378 * stdio-common/Depend: New file.
3379 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
3380 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
3381 printing. Change printing of numbers with locale specific digits to
3382 use new code in _i18n_number.h.
3383 * stdio-common/Makefile (routines): Remove _i18n_itoa and
3386 * stdio-common/bug13.c: Improve messages.
3388 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
3389 (set_class_defaults): Always search also for Uxxxx names.
3390 Detect insufficient number of outdigits.
3392 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
3394 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3396 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
3397 _NL_CTYPE_MAP_NAMES.
3398 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
3399 * wctype/wcfuncs.c (towlower, towupper): Use them.
3400 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
3401 * wctype/wctrans.c (wctrans): Likewise.
3402 * wctype/wctrans_l.c (__wctrans_l): Likewise.
3404 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3406 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
3407 Use the optimized version of this function outside glibc as well.
3409 2000-07-27 Jakub Jelinek <jakub@redhat.com>
3411 * locale/indigits.h (indigit_value): Correct.
3412 * locale/indigitswc.h (indigitwc_value): Correct.
3413 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
3414 conversion, add GROUP checking for it, fix GROUP number
3415 conversion with strlen(thousands) > 1.
3416 Honour width correctly in the presence of floating
3417 decimal points and thousands separators.
3418 * stdio-common/tst-sscanf.c: New test.
3419 * stdio-common/Makefile: Add it to tests.
3420 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
3421 thousands separators and group argument is non-zero.
3423 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3425 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
3426 starts at GLIBC_2.2.
3428 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3430 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
3431 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
3433 (headers): Add sys/tas.h.
3434 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
3435 GLIBC_2.2 from libc.
3436 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
3437 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
3440 2000-07-28 Andreas Jaeger <aj@suse.de>
3442 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
3444 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
3445 ($(objpfx)tst-dladdr.out): new.
3446 (tests): Add tst-dladdr.
3447 ($(objpfx)glrefmain): Use libdl.
3449 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
3452 2000-07-27 Jes Sorensen <jes@linuxcare.com>
3454 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
3455 ftruncate(64) calls.
3457 2000-07-27 Jes Sorensen <jes@linuxcare.com>
3459 * intl/tst-translit.c: Include string.h to get prototype for
3462 2000-07-27 Jes Sorensen <jes@linuxcare.com>
3464 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
3465 name and add weak alias for __fork.
3467 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
3468 & pwrite to use __libc_<name> as strong names instead of
3471 * include/sched.h: Add clone2 prototype.
3473 2000-07-26 Jes Sorensen <jes@linuxcare.com>
3475 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
3476 procedure name twice.
3478 2000-07-27 Philip Blundell <philb@gnu.org>
3480 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
3482 2000-07-27 Andreas Jaeger <aj@suse.de>
3484 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
3485 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
3486 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
3487 Reported by Andi Kleen <ak@suse.de>.
3489 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
3490 (do_wait): Test requests with aio_return64.
3491 (do_test): Change callers of do_wait.
3493 2000-07-26 Andreas Jaeger <aj@suse.de>
3495 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
3496 (do_wait): Test requests with aio_return.
3497 (do_test): Change callers of do_wait.
3499 2000-07-27 Ulrich Drepper <drepper@redhat.com>
3501 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
3502 from request list. Don't do the list handling here, call
3503 __aio_remove_request.
3504 * rt/aio_misc.h: Add prototype for __aio_remove_request.
3505 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
3506 request might already be processed. Don't do the list handling
3507 here, call __aio_remove_request.
3509 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
3512 * rt/aio_misc.c: Add comment explaining why writer memory barriers
3515 2000-07-27 Greg McGary <greg@mcgary.org>
3517 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
3518 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
3519 in union init. Pass zero for ignored semnum arg to semctl.
3520 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
3522 2000-07-26 Greg McGary <greg@mcgary.org>
3524 * sysdeps/gnu/bits/msq.h: Qualify kernel's
3525 data structure pointers as __unbounded.
3526 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
3527 * sysdeps/generic/bp-semctl.h: New file.
3528 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
3529 pointers as __unbounded. Check bounds of syscall args.
3530 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3531 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
3532 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3533 * sysdeps/unix/sysv/linux/semop.c: Likewise.
3534 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
3535 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3536 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
3537 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
3538 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
3539 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
3540 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
3541 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
3542 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
3543 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
3544 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
3545 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
3547 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3549 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
3551 * locale/C-ctype.c: Likewise.
3552 * wcsmbs/wcsmbsload.c: Likewise.
3554 2000-07-26 Greg McGary <greg@mcgary.org>
3556 * Makeconfig (+link-bounded, link-libc-bounded,
3557 link-extra-libs-bounded): New variables.
3558 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
3559 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
3560 * Rules (tests-bp.out): New variable.
3561 (tests): Conditionally add BP tests.
3562 (binaries-bounded): Add variable and associated rule.
3563 * csu/Makefile [build-bounded] (extra-objs, install-lib):
3564 Move conditional stuff after place where condition is defined.
3566 * malloc/malloc.c (bp-checks.h): Add #include.
3567 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
3568 (_bin_at): Add unbounded version of bin_at.
3569 (IAV, chunk_alloc): Use unbounded _bin_at.
3570 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
3571 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
3572 Wrap BOUNDED_N around return value.
3573 (chunk_realloc): Adjust oldsize once.
3575 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
3576 (__ubp_memchr): Add correct decl.
3577 (_CHECK_STRING): Use __ubp_memchr.
3578 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3579 New alias for unbounded-pointer __memchr.
3580 * sysdeps/i386/memchr.S: Likewise.
3581 * sysdeps/ia64/memchr.S: Likewise.
3582 * sysdeps/m68k/memchr.S: Likewise.
3583 * sysdeps/sparc/sparc32/memchr.S: Likewise.
3584 * sysdeps/sparc/sparc64/memchr.S: Likewise.
3585 * sysdeps/vax/memchr.s: Likewise.
3587 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
3588 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
3589 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
3590 * sysdeps/i386/i686/strtok.S: Likewise.
3591 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
3592 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
3594 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
3595 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
3597 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
3598 bounds of copy_result to mount_proc.
3600 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3602 * wctype/wctype.h (__wctrans_l): New declaration.
3603 * wctype/wctrans_l.c: New file.
3604 * wctype/Makefile (routines): Add wctrans_l.
3606 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3608 * posix/fnmatch_loop.c: Fixes for use outside glibc.
3609 Patch by MacGyver <macgyver@tos.net>.
3611 2000-07-26 Andreas Jaeger <aj@suse.de>
3613 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
3614 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
3615 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
3617 * rt/tst-aio.c (test_file): Fix typo.
3618 * rt/tst-aio64.c (test_file): Likewise.
3620 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
3621 * rt/Makefile: Add rules to build and run tst-aio3.
3623 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
3624 it's not needed and confuses only.
3626 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3628 * resolv/res_init.c: Add support for nameserver communication with
3630 * resolv/res_send.c: Likewise.
3631 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
3633 Patch by <venaas@nvg.ntnu.no>.
3635 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3637 * locale/programs/ld-ctype.c (wctype_table_get): New function.
3638 (wcwidth_table_get): New function.
3639 (wcwidth_table_add): Call it.
3640 (wctrans_table_get): New function.
3641 (wctrans_table_add): Call it.
3643 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3645 * rt/lio_listio.c (lio_listio): Always disable individual
3647 * rt/Makefile: Add rules to build and run tst-aio2.
3648 * rt/tst-aio2.c: New file.
3650 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
3651 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
3653 2000-07-25 Mark Kettenis <kettenis@gnu.org>
3655 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
3656 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
3657 leading and trailing spaces from host, user and domain name.
3659 2000-07-25 Jes Sorensen <jes@linuxcare.com>
3661 * csu/defs.awk: Add support for need_endp.
3663 2000-07-25 Mark Kettenis <kettenis@gnu.org>
3665 * resolv/resolv.h: Remove __P from res_send_qhook and
3666 res_send_rhook typedefs.
3668 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3670 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
3672 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3674 * iconv/gconv_builtin.h: Add WCHAR_T alias.
3676 2000-07-25 Mark Kettenis <kettenis@gnu.org>
3678 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
3679 calling thread, set the cancellation flag and return success
3682 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3684 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
3685 * libio/tst-widetext.c: New file.
3686 * libio/tst-widetext.input: New file.
3688 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
3690 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
3691 empty external buffer correctly.
3693 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3695 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
3696 __STRING(entry) and not #entry.
3697 (_RTLD_EPILOGUE): Likewise.
3698 * sysdeps/mips/mips64/dl-machine.h: Likewise.
3700 2000-07-25 Andreas Jaeger <aj@suse.de>
3702 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
3703 according to changes in test program, run also with static only
3705 ($(objpfx)tst-printf.out): Likewise.
3707 * stdio-common/tst-unbputc.sh: Likewise.
3708 * stdio-common/tst-printf.sh: Likewise.
3710 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3712 * libio/wfileops.c (_IO_wdo_write): Correct return value.
3714 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
3717 * libio/fileops.c: Pretty print.
3719 2000-07-23 Bruno Haible <haible@clisp.cons.org>
3721 * wctype/wchar-lookup.h: New file.
3722 * wctype/iswctype.c: Include "wchar-lookup.h".
3723 (__iswctype): Support alternate locale format with 3-level tables.
3724 * wctype/iswctype_l.c (__iswctype_l): Likewise.
3725 * wctype/towctrans.c (__towctrans): Likewise.
3726 * wctype/towctrans_l.c (__towctrans_l): Likewise.
3727 * wctype/wcfuncs.c: Include "wchar-lookup.h".
3728 (__ctype32_wctype, __ctype32_wctrans): Declare external.
3729 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
3730 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
3731 __iswxdigit, towlower, towupper): Support alternate locale format
3732 with 3-level tables.
3733 * wctype/wcextra.c (iswblank): Likewise.
3734 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
3735 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
3736 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
3737 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
3738 format with 3-level tables.
3739 * wctype/wcextra_l.c (__iswblank_l): Likewise.
3740 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
3741 format, return a 3-level table pointer.
3742 * wctype/wctype_l.c (__wctype_l): Likewise.
3743 * wctype/wctrans.c (wctrans): Likewise.
3744 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
3745 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
3746 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
3747 (iswctype): Remove macro definition.
3748 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
3749 (internal_wcwidth): Support alternate locale format with 3-level
3751 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
3753 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
3754 Define them as being type "word".
3755 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
3756 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
3757 __ctype32_width): New exported variables.
3758 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
3759 alternate locale format. Don't initialize __ctype_names and
3760 __ctype_width in the alternate locale format.
3761 * locale/programs/localedef.h (oldstyle_tables): New declaration.
3762 * locale/programs/localedef.c (oldstyle_tables): New variable.
3763 (OPT_OLDSTYLE): New macro.
3764 (options): Add --old-style option.
3765 (parse_opt): Handle --old-style option.
3766 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
3767 map_offset, class_3level, map_3level, width_3level members.
3768 (ctype_output): Support for alternate locale format: Computation of
3769 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
3770 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
3771 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
3772 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
3773 now contain both class and map tables.
3774 (struct wctype_table): New type.
3775 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
3777 (struct wcwidth_table): New type.
3778 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
3780 (struct wctrans_table): New type.
3781 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
3783 (allocate_arrays): Support for alternate locale format: Set
3784 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
3785 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
3786 to the first 256 characters. Compute ctype->map_3level. Set
3787 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
3788 instead of ctype->width.
3790 2000-07-24 Ulrich Drepper <drepper@redhat.com>
3792 * libio/iogetwline.c (_IO_getwline_info): Use wide character
3795 2000-07-24 Jakub Jelinek <jakub@redhat.com>
3797 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
3798 in wide characters, not bytes.
3799 * libio/tst_putwc.c (do_test): Add test for writing lots of data
3802 2000-07-22 Bruno Haible <haible@clisp.cons.org>
3804 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
3805 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
3806 LC_MEASUREMENT, LC_IDENTIFICATION.
3808 * locale/xlocale.h (struct __locale_struct): Increase size of
3810 * locale/duplocale.c (__duplocale): Copy newly added categories as
3812 * locale/freelocale.c (__freelocale): Free newly added categories.
3813 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
3814 If a base is given, use it, don't simply return it.
3816 2000-07-22 Bruno Haible <haible@clisp.cons.org>
3818 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
3819 variables, copied_key and copied_salt, instead of boolean variables.
3821 2000-07-24 Andreas Jaeger <aj@suse.de>
3823 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
3826 * grp/initgroups.c (initgroups_dyn_function): Renamed from
3827 initgroups_function, adopted prototype for change from 2000-07-23.
3828 (initgroups): Follow type change.
3830 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
3831 & PAGE_MASK case, reformat.
3833 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
3834 from stdin and setup environment.
3836 2000-07-24 Andreas Schwab <schwab@suse.de>
3838 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
3840 2000-07-23 Ulrich Drepper <drepper@redhat.com>
3842 * string/endian.h: Explain the _*_ENDIAN constant values a bit
3843 more. Patch by scarlet@mit.edu [PR libc/1799].
3845 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
3848 * argp/argp-parse.c (parser_finalize): Reverse order in which
3849 parsers are run for ARGP_KEY_END. [PR libc/1755].
3851 * grp/initgroups.c (initgroups): Don't limit the possible number
3852 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
3853 the setgroups call while the call fails and descrease the number
3854 of groups each round.
3855 The name of the initgroups function in the NSS modules changed.
3856 (compat_call): Adapt for dynamic resizing.
3857 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3858 Implement dynamic resizing.
3859 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3861 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
3862 * hesiod/Versions: Change exported interface name.
3863 * nis/Versions: Change exported interface name.
3865 2000-07-23 Ulrich Drepper <drepper@redhat.com>
3867 * locale/iso-639.def: Some errors corrected.
3868 Patch by Keld Simonsen.
3870 * include/limits.h: Update non-gcc portion.
3871 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
3873 2000-07-22 Mark Kettenis <kettenis@gnu.org>
3875 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
3876 program's data space, reallocate only the space that was just
3877 deallocated to release its backing space.
3879 2000-07-23 Ulrich Drepper <drepper@redhat.com>
3881 * stdio-common/vfprintf.c (process_string_arg): For wide character
3882 version, handle precision also correctly.
3884 * nss/nss_files/files-hosts.c: Correct problem with three or more
3885 entries with the same name.
3887 * nss/nss_files/files-hosts.c: Implement multi handling.
3888 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
3890 2000-07-22 Ulrich Drepper <drepper@redhat.com>
3892 * nss/nss_files/files-parse.c: Don't pollute namespace by using
3895 * grp/Makefile: Change Makefiles and tests to run only when necessary.
3896 * malloc/Makefile: Likewise.
3897 * malloc/tst-mtrace.sh: Likewise.
3898 * posix/Makefile: Likewise.
3899 * posix/globtest.sh: Likewise.
3900 * posix/wordexp-tst.sh: Likewise.
3901 * string/Makefile: Likewise.
3903 2000-07-22 Mark Kettenis <kettenis@gnu.org>
3905 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
3906 size instead of LC_ALL to take into account the new locale
3909 2000-07-22 Ulrich Drepper <drepper@redhat.com>
3911 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
3912 remainders of hash table.
3913 * locale/categories.def: Remove remainders of transliteration
3915 * locale/langinfo.h: Likewise.
3916 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
3917 transliteration tables.
3919 * locale/gen-translit.pl: New file.
3920 * locale/C-translit.h.in: New file.
3921 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
3922 data pointers with data from this file.
3923 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
3924 and gen-translit.pl.
3925 Add rule to generate C-translit.h.
3926 * intl/tst-translit.c (main): Update for now performed
3929 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
3930 (it's no input error).
3931 * stdio-common/tstscanf.c: Add test case for format %f with input --.
3932 * stdio-common/scanf12.c: Correct expected result for first scanf.
3934 * stdio-common/vfprintf.c (process_string_arg): Correct handling
3935 of multibyte character strings in %s format with precision.
3937 2000-07-21 Ulrich Drepper <drepper@redhat.com>
3939 * locale/programs/ld-collate.c (collate_read): Allow collating
3940 symbols and elements be named in reorder-after instructions.
3941 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
3943 * locale/programs/ld-collate.c (handle_ellipsis): Test for
3944 duplication with generated name, not the name of the first
3946 Patch by Yong Li <yong.li@asu.edu>.
3948 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
3949 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3951 2000-07-21 Wolfram Gloger <wg@malloc.de>
3953 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
3954 allocations only if a non-main arena cannot be extended.
3956 2000-07-21 Ulrich Drepper <drepper@redhat.com>
3958 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
3959 in DF_1_NODEFLIB handling.
3961 2000-07-21 Andreas Jaeger <aj@suse.de>
3963 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
3966 * libio/fwide.c: Include <wchar.h> for prototype.
3968 2000-07-21 Greg McGary <greg@mcgary.org>
3970 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
3971 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
3972 Define in terms of chunk_at_offset.
3973 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
3974 (next_bin, prev_bin): offset by size of real array elements.
3975 (chunk_align): Make `m' a scalar, since that's how it's used.
3977 2000-07-21 Greg McGary <greg@mcgary.org>
3979 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
3981 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
3982 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
3983 Wrap bounds around argv & envp and each of their string members.
3984 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
3985 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
3986 symbol in BP_SYM (). Discard bounds of address arg.
3987 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
3988 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
3989 Discard bounds on address arg, add bounds to return value.
3991 2000-07-20 Ulrich Drepper <drepper@redhat.com>
3993 * elf/Makefile (tests): Add filter. Add rules to generate filter.
3994 * elf/filter.c: New file.
3995 * elf/filtmod1.c: New file.
3996 * elf/filtmod2.c: New file.
3998 * elf/rtld.c: Define _dl_bind_not variable.
3999 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
4000 * elf/dl-support.c: Likewise.
4001 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
4002 * elf/dl-runtime.c (fixup): Don't remember looked up value if
4004 (profile_fixup): Likewise.
4006 * libio/Makefile (routines): Add fwide.
4007 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
4008 fwide now. Internal calls to _IO_fwide must do locking themselves
4009 or don't need locking.
4010 * libio/fwide.c: New file.
4012 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
4014 * elf/Makefile: Add no modules for nodelete test.
4015 * elf/nodelmod3.c: New file.
4016 * elf/nodelmod4.c: New file.
4017 * elf/nodelete.c: Also test case where dependency of dlopen() object
4020 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
4021 * elf/nodlopen.c: New file.
4022 * elf/nodlopenmod.c: New file.
4023 * include/dlfcn.h: Define __RTLD_DLOPEN.
4024 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
4025 and this is a dlopen() call, do not load the binary.
4026 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
4027 * dlfcn/dlopenold.c: Likewise.
4028 * configure.in: Add test for -z nodelete option.
4029 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
4031 2000-07-20 Mark Kettenis <kettenis@gnu.org>
4033 Make Hesiod NSS module thread-safe.
4035 * hesiod/README.hesiod: Update.
4037 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
4038 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
4039 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
4040 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
4042 * hesiod/nss_hesiod/hesiod-init.c: New file.
4043 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
4044 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
4045 * hesiod/nss_hesiod/nss_hesiod.h: New file.
4046 * hesiod/nss_hesiod/hesiod-service.c
4047 (_nss_hesiod_getservbyport_r): New function. Provide support for
4048 looking up services by port number.
4049 * hesiod/nss_hesiod/hesiod-proto.c: New file.
4051 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
4052 * hesiod/hesiod.h: Likewise.
4053 * hesiod/hesiod_p.h: Likewise.
4055 2000-07-20 Mark Kettenis <kettenis@gnu.org>
4057 Fix problems with `struct __res_state' getting too big.
4058 * resolv/resolv.h (struct __sockaddr_in): New definition.
4059 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
4060 the private parts of the structure to save some space.
4061 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
4062 (struct sockaddr_in *) in call to sock_eq.
4063 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
4065 2000-07-20 Ulrich Drepper <drepper@redhat.com>
4067 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
4068 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
4070 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
4071 to _dl_map_object. Return immediately if no object loaded.
4072 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
4073 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
4074 if it exists into l_flags_1 word.
4075 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
4076 it to determine whether loading is wanted or not.
4077 (_dl_map_object): Likewise.
4078 Call _dl_map_object_from_fd with new parameter.
4079 * sysdeps/generic/ldsodefs.h: Update prototype.
4080 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
4081 * elf/rtld.c: Likewise.
4082 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4083 * elf/Makefile (tests): Add noload. Add rules to generate noload.
4084 * elf/noload.c: New file.
4085 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
4086 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
4087 * sysdeps/mips/bits/dlfcn.h: Likewise.
4088 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
4089 (tests-nodelete-yes): Define.
4090 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
4091 Add rules to build nodelete and modules.
4092 * elf/nodelete.c: New file.
4093 * elf/nodelmod1.c: New file.
4094 * elf/nodelmod2.c: New file.
4095 * configure.in: Add test for -z nodelete option.
4096 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
4098 * libio/Makefile (tests): Add tst_wprintf2.
4099 (tst_wprintf2-ARGS): Define.
4100 * libio/tst_wprintf2.c: New file.
4101 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
4103 * libio/wfiledoalloc.c: Only allocate external buffer if this
4104 hasn't happened yet.
4106 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
4107 something in the buffer. gconv call can write up to end of the
4108 buffer, not only _IO_write_end.
4109 (_IO_wfile_overflow): Allocate also external buffer.
4111 2000-07-19 Ulrich Drepper <drepper@redhat.com>
4113 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
4114 strings with precision in vfwprintf correctly.
4115 * stdio-common/vfprintf.c: Fix completely broken handling of
4116 unbuffered wide character streams.
4117 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
4119 * resolv/Makefile (distribute): Add README.
4121 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
4123 2000-07-18 Mark Kettenis <kettenis@gnu.org>
4125 Update resolver code to BIND 8.2.3-T5B.
4127 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
4129 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
4130 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
4132 * resolv/Banner: BIND-8.2.3-T5B.
4134 * resolv/base64.c: Update from BIND 8.2.3-T5B.
4135 * resolv/herror.c: Likewise.
4136 * resolv/inet_addr.c: Likewise.
4137 * resolv/inet_net_ntop.c: Likewise.
4138 * resolv/inet_net_pton.c: Likewise.
4139 * resolv/inet_neta.c: Likewise.
4140 * resolv/inet_ntop.c: Likewise.
4141 * resolv/nsap_addr.c: Likewise.
4142 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
4143 IPv6 addresses (ISC bug #520).
4145 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
4146 * resolv/ns_parse.c: Likewise.
4147 * resolv/ns_netint.c: Likewise.
4148 * resolv/ns_samedomain.c: Likewise.
4149 * resolv/ns_ttl.c: Likewise.
4150 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
4151 RCS ID in object file.
4153 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
4154 * resolv/res_mkquery.c: Likewise.
4155 * resolv/res_query.c: Likewise.
4156 * resolv/res_init.c: Likewise.
4157 (res_setoptions): Mark internal.
4158 * resolv/res_send.c: Likewise.
4159 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
4160 by using poll instead.
4161 * resolv/res_comp.c: Likewise.
4162 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
4163 weak alias for __dn_expand.
4164 * resolv/res_data.c: Likewise.
4165 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
4166 in _res.options. Avoids a potential security risk by avoiding a
4168 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
4169 res_mkquery, res_query, res_querydomain adn res_search weak
4170 aliases for __res_mkquery, __res_query, __res_querydomain and
4172 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
4173 instead to avoid close(0).
4174 (res_init): Always use the static resolver context.
4175 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
4176 alias for __res_init.
4178 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
4179 RES_SET_H_ERRNO and accompanying comment to...
4180 * include/resolv.h: ... here.
4182 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
4183 * resolv/arpa/nameser_compat.h: Likewise.
4185 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4187 * nss/makedb.c (main): Compare result of load_db with
4188 NSS_STATUS_SUCCESS and not 0.
4189 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
4191 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
4193 2000-07-18 Greg McGary <greg@mcgary.org>
4195 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
4196 (EXTEND_BUFFER): Use it.
4198 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4200 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
4201 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
4202 __builtin_return_address.
4203 * dlfcn/dlopenold.c: Likewise.
4204 * dlfcn/dlsym.c: Likewise.
4205 * dlfcn/dlvsym.c: Likewise.
4206 * elf/dl-profstub.c: Likewise.
4207 * malloc/malloc.c: Likewise.
4208 * sysdeps/generic/machine-gmon.h: Likewise.
4209 Based on a patch by schwidefsky@de.ibm.com.
4211 2000-07-18 Andreas Jaeger <aj@suse.de>
4213 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
4214 NULL to elf_machine_fixup_plt t argument to silence GCC.
4216 * include/string.h: Add prototype for __memchr.
4218 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
4220 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
4223 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4225 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
4227 * locale/C-ctype.c: Add initializers for gap elements.
4228 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
4231 2000-07-16 Ulrich Drepper <drepper@redhat.com>
4233 * nscd/nscd.c (print_version): Update copyright year.
4235 2000-07-17 Greg McGary <greg@mcgary.org>
4237 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
4238 keyletters F, I, S, W. Remove unused keyletter V. Surround
4239 signature argnames with angle-brackets for use as word delimiters,
4240 and to induce syntax errors for any args not handled. Split
4241 multi-echo echoes and comment each stage.
4242 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
4243 * sysdeps/unix/inet/syscalls.list: Likewise.
4244 * sysdeps/unix/mman/syscalls.list: Likewise.
4245 * sysdeps/unix/syscalls.list: Likewise.
4246 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4247 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4248 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4249 * sysdeps/unix/sysv/syscalls.list: Likewise.
4250 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
4252 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
4253 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
4254 qualifiers. Don't check NULL-terminator of argv & envp.
4255 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
4256 unbounded pointer type in word-size assertion.
4257 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
4258 cases to stifle warnings.
4260 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
4262 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4264 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
4265 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
4268 * Makerules (o-objects): Supplement with $(o-objects$o).
4269 * string/Makefile (o-objects.ob): Add variable to pull
4270 unbounded versions of memcpy, memset and memchr into libc_b.
4272 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
4273 rather than non-existent __ubp_memchr.
4274 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
4275 (_CHECK_STRING, _CHECK_N): New macros.
4276 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
4277 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
4278 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
4279 Add weak alias "memchr".
4280 * sysdeps/generic/memchr.c: Likewise.
4281 * sysdeps/i386/memchr.S: Likewise.
4282 * sysdeps/ia64/memchr.S: Likewise.
4283 * sysdeps/m68k/memchr.S: Likewise.
4284 * sysdeps/sparc/sparc32/memchr.S: Likewise.
4285 * sysdeps/sparc/sparc64/memchr.S: Likewise.
4286 * sysdeps/vax/memchr.s: Likewise.
4288 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
4290 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
4291 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
4292 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
4293 __BOUNDED_POINTERS__.
4294 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
4295 for __BOUNDED_POINTERS__.
4297 2000-07-17 Bruno Haible <haible@clisp.cons.org>
4299 * iconv/gconv_open.c (__gconv_open): Initialize the __data
4300 field of struct __gconv_trans_data differently. Don't pass NULL to
4301 trans_init_fct. Simplify list append operation.
4303 2000-07-14 Bruno Haible <haible@clisp.cons.org>
4305 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
4306 not only those having tsearch.
4308 2000-07-17 Ulrich Drepper <drepper@redhat.com>
4310 * locale/langinfo.h: Add placeholder values in enum for removed
4313 2000-07-17 Jakub Jelinek <jakub@redhat.com>
4315 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
4316 chain if the PHDR check fails.
4318 2000-07-17 Mark Kettenis <kettenis@gnu.org>
4320 * nss/getent.c (print_hosts): Make sure we always print a space
4321 between numeric addresses and hostnames.
4323 2000-07-17 Wolfram Gloger <wg@malloc.de>
4325 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
4326 i.e. if n_mmaps_max>0.
4328 2000-07-16 Mark Kettenis <kettenis@gnu.org>
4330 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
4331 values to remove possible clash with other AI_* constants.
4332 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
4333 hexadecimal constants to stress the fact they're in fact
4336 2000-07-15 Mark Kettenis <kettenis@gnu.org>
4338 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
4339 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
4340 instead of res_init.
4342 2000-07-16 Ulrich Drepper <drepper@redhat.com>
4344 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
4345 parameters of memset calls to avoid warnings.
4347 2000-07-15 Ulrich Drepper <drepper@redhat.com>
4349 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
4352 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
4353 Patch by Greg McGary <greg@mcgary.org>.
4355 * io/Makefile (tests): Add tst-getcwd.
4356 * io/tst-getcwd.c: New file.
4358 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
4360 2000-07-15 Jakub Jelinek <jakub@redhat.com>
4362 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
4365 2000-07-13 Jakub Jelinek <jakub@redhat.com>
4367 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
4368 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
4370 2000-07-12 H.J. Lu <hjl@gnu.org>
4372 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
4374 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
4375 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
4376 (sysdep-routines): Add clone2.
4377 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
4379 2000-07-13 Jes Sorensen <jes@linuxcare.com>
4381 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
4382 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
4384 2000-06-05 David Mosberger <davidm@hpl.hp.com>
4386 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
4387 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
4388 Change type of si_band from "int" to "long".
4389 (si_imm) [USE_GNU]: Define
4390 (si_isr) [USE_GNU]: Ditto.
4391 (ILL_BREAK) [USE_GNU]: Ditto.
4392 (FPE_DECOVF) [USE_GNU]: Ditto.
4393 (FPE_DECDIV) [USE_GNU]: Ditto.
4394 (FPE_DECERR) [USE_GNU]: Ditto.
4395 (FPE_INVASC) [USE_GNU]: Ditto.
4396 (FPE_INVDEC) [USE_GNU]: Ditto.
4397 (TRAP_BRANCH) [USE_GNU]: Ditto.
4398 (TRAP_HWBKPT) [USE_GNU]: Ditto.
4400 2000-07-06 Jes Sorensen <jes@linuxcare.com>
4402 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4403 bits/sigcontext as struct mcontext does not depend on it.
4405 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
4407 2000-07-04 Jes Sorensen <jes@linuxcare.com>
4409 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
4411 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
4413 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
4415 2000-06-22 Jes Sorensen <jes@linuxcare.com>
4417 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
4419 2000-07-15 Ulrich Drepper <drepper@redhat.com>
4421 * intl/Makefile (test-srcs): Add tst-translit.
4423 Add rules to build and run tst-translit.
4424 * intl/tst-translit.c: New file.
4425 * intl/tst-translit.sh: New file.
4426 * intl/translit.po: New file.
4428 2000-07-14 Ulrich Drepper <drepper@redhat.com>
4430 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
4431 transliteration function did its job, continue, don't stop.
4433 * iconvdata/iso646.c: Little optimizations in body for conversion
4436 2000-07-14 Mark Kettenis <kettenis@gnu.org>
4438 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
4440 2000-07-14 Mark Kettenis <kettenis@gnu.org>
4442 * configure.in: Check for pwd binary.
4443 * config.make.in: Add PWD_P to be subsituted.
4444 * Makerules: Use $(PWD_P) instead of /bin/pwd.
4446 2000-07-14 Ulrich Drepper <drepper@redhat.com>
4448 * iconvdata/Makefile (modules): Add GB18030.
4449 (distribute): Add gb18030.c.
4450 * iconvdata/gconv-modules: Add entries for GB18030 module.
4451 * iconvdata/gb18030.c: New file.
4452 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
4455 2000-07-13 Andreas Jaeger <aj@suse.de>
4457 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
4460 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
4461 * inet/getnetgrent.c (free_mem): Likewise.
4462 * misc/mntent.c (free_mem): Likewise.
4463 * nss/getXXbyYY.c (free_mem): Likewise.
4464 * nss/getXXent.c (free_mem): Likewise.
4465 * pwd/fgetpwent.c (free_mem): Likewise.
4466 * shadow/fgetspent.c (free_mem): Likewise.
4468 2000-07-14 Ulrich Drepper <drepper@redhat.com>
4470 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
4471 64-bit architecture correctly [PR libc/1794].
4473 2000-07-13 Ulrich Drepper <drepper@redhat.com>
4475 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
4476 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
4477 report that we are out of memory.
4478 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4479 * elf/dl-libc.c (dlerror_run): Likewise.
4480 * elf/dl-open.c (_dl_open): Likewise.
4481 * elf/rtld.c (dl_main): Likewise.
4482 * elf/dl-error.c: Define _dl_out_of_memory.
4483 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
4485 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
4488 * dlfcn/dlerror.c (free_key_mem): Also free error string.
4490 * iconv/loop.c: Fix comment.
4492 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
4494 2000-07-13 Andreas Jaeger <aj@suse.de>
4496 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
4497 getcwd (NULL, size) with size > 0.
4498 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
4500 2000-07-13 Andreas Jaeger <aj@suse.de>
4502 * posix/Makefile: Remove build rules for libposix.
4504 2000-07-13 Andreas Schwab <schwab@suse.de>
4506 * sysdeps/generic/glob.c (glob): Fix memory leak.
4507 [SHELL]: Remove reference to undefined variable `files'.
4510 2000-07-13 Andreas Jaeger <aj@suse.de>
4512 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
4515 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
4516 memory if it was allocated.
4518 2000-07-12 Ulrich Drepper <drepper@redhat.com>
4520 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
4523 * iconv/gconv_open.c (__gconv_open): Reapply
4524 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4526 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
4528 * iconv/gconv_open.c: Undo last two changes for now. They break
4531 2000-07-12 Andreas Jaeger <aj@suse.de>
4533 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
4535 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
4536 (CFLAGS-dl-cache.c): Likewise.
4537 (CFLAGS-ldconfig.c): Added, passes directory locations.
4539 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
4541 * elf/ldconfig.c (LD_SO_CONF): Likewise.
4542 (main): Use configured LIBDIR and SLIBDIR.
4544 2000-07-11 Jakub Jelinek <jakub@redhat.com>
4546 * math/bits/cmathcalls.h (cimag): Add __THROW.
4547 (creal, conj): Likewise.
4548 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
4551 2000-07-12 H.J. Lu <hjl@gnu.org>
4553 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
4554 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
4556 2000-07-12 Ulrich Drepper <drepper@redhat.com>
4558 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
4561 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4563 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
4565 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4567 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
4570 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4572 * iconv/gconv_open.c (__gconv_open): Initialize
4573 result->__steps[cnt].__data.
4575 2000-07-12 Mark Kettenis <kettenis@gnu.org>
4577 * nss/getent.c (services_keys): Pass port number in network byte
4578 order in call to getservbyport.
4580 2000-07-11 Andreas Jaeger <aj@suse.de>
4582 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
4584 * intl/Makefile (do-gettext-test): Likewise.
4585 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
4587 2000-07-11 Andreas Schwab <schwab@suse.de>
4589 * Makeconfig (run-program-prefix): New rule.
4590 (built-program-cmd): Use run-program-prefix.
4592 2000-07-12 Ulrich Drepper <drepper@redhat.com>
4594 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
4595 and NOEXPR unconditionally available.
4597 2000-07-12 Greg McGary <greg@mcgary.org>
4599 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
4600 * sysdeps/posix/open64.c: Likewise.
4601 * sysdeps/generic/fegetenv.c: Likewise.
4602 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
4603 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4604 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4605 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
4606 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
4607 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
4609 2000-07-11 Greg McGary <greg@mcgary.org>
4611 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
4612 Add extra level of macro expansion.
4613 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
4614 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
4615 is available at the time `select' prototype is declared.
4616 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
4617 Collect non-versioned weak aliases. Consider only non-versioned
4618 aliases for the user-visible systemcall name. Do checks inline with
4619 call to primitive system call.
4620 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
4621 stand-alone bounds checks to suppress unused value warnings.
4622 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
4624 2000-07-10 Mark Kettenis <kettenis@gnu.org>
4626 * sysdeps/mach/hurd/check_fds.c: New file. Implements
4627 file descriptor checking in SUID programs for the Hurd.
4629 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
4630 res_hostalias instead of __hostalias for thread-safety.
4632 2000-07-09 Mark Kettenis <kettenis@gnu.org>
4634 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
4635 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
4637 2000-07-10 Ulrich Drepper <drepper@redhat.com>
4639 * include/features.h: Include ISO C99 features if the compiler used
4640 is an ISO C99 compiler.
4641 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4643 2000-07-08 Mark Kettenis <kettenis@gnu.org>
4645 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
4647 2000-07-10 Andreas Jaeger <aj@suse.de>
4649 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
4650 it's overridden by libpthreads.
4651 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4652 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4653 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4654 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4655 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4657 * malloc/Makefile: Run tst-mtrace only with shared libs.
4659 * stdio-common/Makefile: Run unbputc and tst-printf tests only
4662 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4664 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
4665 that gpreg really points to the GOT section of the calling object.
4666 Scan all PT_LOAD segments of objects for stub_pc, instead of only
4667 checking a start address of first one.
4669 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
4672 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
4674 2000-07-10 Andreas Jaeger <aj@suse.de>
4676 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
4677 (string_alias->strong_alias).
4679 2000-07-08 Mark Kettenis <kettenis@gnu.org>
4681 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
4683 2000-07-07 Greg McGary <greg@mcgary.org>
4685 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
4686 have no names without leading underscores.
4688 2000-07-07 Ulrich Drepper <drepper@redhat.com>
4690 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
4693 * stdio-common/Makefile (tests): Remove tst-printf here...
4694 (tests-srcs): ...and add it here.
4695 (distribute): Add tst-unbputc.sh and tst-printf.sh.
4696 Add rules to run tst-printf.sh.
4697 * stdio-common/tst-printf.c: Move code around so that there is really
4698 no further output where it's stated.
4699 * stdio-common/tst-printf.sh: New file.
4701 2000-07-07 Mark Kettenis <kettenis@gnu.org>
4703 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
4704 (do_write): Renamed from pwrite.
4705 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
4706 `struct _IO_cookie_file'.
4708 2000-07-07 Ulrich Drepper <drepper@redhat.com>
4710 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
4712 * malloc/tst-mtrace.sh: Run mtrace script.
4714 2000-07-07 Greg McGary <greg@mcgary.org>
4716 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
4717 Move all three components of a bounded pointer.
4719 2000-07-07 Ulrich Drepper <drepper@redhat.com>
4721 * locale/programs/locale.c (write_locales): Don't simply add all
4722 directories found in the subdir, test whether at least the
4723 LC_CTYPE file is in there.
4725 2000-07-06 Ulrich Drepper <drepper@redhat.com>
4727 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
4728 * iconvdata/euc-kr.c: Likewise.
4730 * stdio-common/vfprintf.c (process_string_arg): Check result of
4731 wcrtomb call and bail out if it failed.
4733 * malloc/Makefile (test-srcs): Add tst-mtrace.
4734 (distribute): Add tst-mtrace.sh.
4735 Add rule to run tst-mtrace.sh.
4736 * malloc/tst-mtrace.c: New file.
4737 * malloc/tst-mtrace.sh: New file.
4739 * include/signal.h: Declare __libc_sigaction.
4740 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
4741 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
4742 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4743 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4744 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4745 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4746 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4748 * configure.in: Fix CFLAGS-memprofstat.c definition after
4750 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
4752 2000-07-06 Jakub Jelinek <jakub@redhat.com>
4754 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
4755 instead of NULL to elf_machine_fixup_plt t argument.
4756 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4757 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
4760 2000-07-06 Andreas Jaeger <aj@suse.de>
4762 * crypt/Makefile (LDLIBS-cert): Removed.
4763 (LDLIBS-md5c-test): Removed.
4764 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
4765 ($(objpfx)md5c-test): Likewise for md5c-test.out.
4767 2000-07-06 Andreas Jaeger <aj@suse.de>
4769 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
4770 of the proc system is "proc".
4772 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
4773 thread library for static programs.
4775 2000-07-06 Greg McGary <greg@mcgary.org>
4777 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
4779 * sysdeps/generic/strcpy.c: Add bounds checks.
4780 * sysdeps/unix/fxstat.c: Likewise.
4781 * sysdeps/unix/xstat.c: Likewise.
4782 * sysdeps/unix/common/lxstat.c: Likewise.
4783 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4784 * sysdeps/unix/sysv/linux/execve.c: Likewise.
4785 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
4786 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
4787 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4788 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4789 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
4790 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4791 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4792 * sysdeps/unix/sysv/linux/poll.c: Likewise.
4793 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4794 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4795 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
4796 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4797 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4798 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4799 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4800 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4801 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4802 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
4803 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4804 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
4805 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4806 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
4807 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
4808 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
4809 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4810 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
4811 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4812 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4813 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4814 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
4815 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4816 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4817 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4818 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4819 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4820 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
4821 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4822 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4823 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4824 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4825 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4826 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4827 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
4828 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
4829 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4830 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
4831 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
4832 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
4833 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
4834 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
4835 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4836 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4837 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4838 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4839 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
4840 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
4841 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
4842 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
4843 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4844 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
4845 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
4846 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
4848 * string/endian.h (__LONG_LONG_PAIR): New macro.
4849 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
4850 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4851 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4852 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4853 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4854 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
4855 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
4856 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4857 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4858 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4859 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4860 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
4862 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
4864 2000-07-06 Andreas Jaeger <aj@suse.de>
4866 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
4869 * math/test-fpucw.c: Include <stdio.h> for printf.
4871 2000-07-05 Greg McGary <greg@mcgary.org>
4873 * sysdeps/generic/bp-checks.h: New file.
4874 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
4875 with list of #include files.
4876 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
4877 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
4878 Don't generate BP thunk if `V' appears in signature.
4879 Generate thunks with complete bounds checks.
4880 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
4881 * sysdeps/unix/inet/syscalls.list: Likewise.
4882 * sysdeps/unix/mman/syscalls.list: Likewise.
4883 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4884 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4885 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4886 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4888 2000-07-05 Ulrich Drepper <drepper@redhat.com>
4890 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
4891 result. Search first in /etc/mtab (proc/mounts would be stupid).
4892 If mount not in the file fall back on /proc.
4894 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
4895 string got copied in.
4896 Patch by Solar Designer <solar@false.com>.
4898 2000-07-05 Andreas Jaeger <aj@suse.de>
4900 * manual/install.texi (Installation): Update information about
4902 (Configuring and compiling): Update for glibc 2.2.
4904 2000-07-04 Andreas Jaeger <aj@suse.de>
4906 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
4907 (_FPU_IEEE): Likewise.
4909 * math/Makefile (tests): Add test-fpucw.
4911 * math/test-fpucw.c (main): New file.
4913 2000-07-05 Ulrich Drepper <drepper@redhat.com>
4915 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
4917 * locale/programs/ld-collate.c (collate_output): Also write out the
4918 collation sequence values and the wide character string for the
4919 collation symbol table.
4921 * posix/fnmatch.c: Include "../locale/elem-hash.h".
4922 * posix/fnmatch_loop.c: Implement collating symbol handling.
4923 * posix/tst-fnmatch.input: Add more tests, especially for collating
4926 * posix/regex.c: Fix comment.
4928 2000-07-05 Andreas Jaeger <aj@suse.de>
4930 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
4931 (_FPU_GETCW): Remove extra colon.
4932 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
4934 * posix/fnmatch_loop.c (FCT): Only declare len if
4935 !WIDE_CHAR_VERSION to silence GCC.
4937 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
4939 * sysdeps/generic/strchrnul.c: Likewise.
4940 * sysdeps/generic/strlen.c: Likewise.
4941 * sysdeps/generic/strchr.c: Likewise.
4942 * sysdeps/generic/memchr.c: Likewise.
4944 2000-07-04 Ulrich Drepper <drepper@redhat.com>
4946 * posix/fnmatch_loop.c: Implement equivalence class handling.
4947 * posix/tst-fnmatch.input: Add tests for equivalence class
4950 * posix/fnmatch_loop.c: Improve performance for single-byte
4951 character sets by not using btowc.
4953 * posix/tst-fnmatch.input: Add tests for locale dependent
4955 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
4957 * posix/tst-fnmatch.input: Add more test cases.
4959 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
4960 are not aligned to alignof(md5_uint32) do it before calling
4961 __md5_process_bytes.
4962 * crypt/md5.c: Make sure buffers are aligned.
4963 * crypt/md5.h: Likewise.
4964 Reported by Solar Designer <solar@false.com>.
4966 * crypt/Makefile: Add dependencies for test programs.
4968 * Rules: Define LC_ALL=C in environments of all programs we run.
4970 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
4972 2000-07-03 H.J. Lu <hjl@gnu.org>
4974 * locale/programs/ld-ctype.c (ctype_output): The size of iov
4975 is 2 + elem + offset, not 2 + elem + offset + 2.
4977 2000-07-04 Ulrich Drepper <drepper@redhat.com>
4979 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
4981 * posix/Makefile (tests): Add tst-fnmatch.
4982 (tst-fnmatch-ENV): Define.
4983 * posix/tst-fnmatch.c: New file.
4984 * posix/tst-fnmatch.sh: New file.
4986 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
4988 * locale/programs/charmap.c (charmap_read): Prepend
4989 the condition filename == NULL.
4991 2000-07-03 Greg McGary <greg@mcgary.org>
4993 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
4995 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
4996 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
4998 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
4999 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
5000 (FILEBUF_LITERAL): Add cast for CHAIN init.
5001 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
5002 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
5003 Revert type of `fp' to _IO_FILE*.
5004 (_IO_iter_file): Remove cast.
5005 (_IO_iter_next): Elide intermediate member reference.
5007 * sysdeps/powerpc/strchr.S: Check bounds.
5008 Wrap extern symbols in BP_SYM ().
5010 2000-07-03 Andreas Jaeger <aj@suse.de>
5012 * dlfcn/Makefile (generated): New.
5014 2000-07-03 Ulrich Drepper <drepper@redhat.com>
5016 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
5017 (__uflow): Likewise.
5018 (__underflow): Likewise.
5019 * libio/wgenops.c (__wunderflow): Likewise.
5020 * stdio-common/tst-unbputc.c: New file.
5021 * stdio-common/tst-unbputc.sh: New file.
5022 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
5024 * po/en_GB.po: New file.
5025 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
5027 2000-07-01 Andreas Jaeger <aj@suse.de>
5029 * intl/Makefile (generated-dirs): New.
5031 * elf/Makefile (generated): trusted-dirs.h is always generated,
5032 move out of build-shared condition.
5033 (generated): Merge the two entries for build-shared.
5035 2000-07-01 Ulrich Drepper <drepper@redhat.com>
5037 * debug/Makefile (distribute): Add xtrace.sh.
5039 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5041 * version.h (VERSION): Bump to 2.1.91.
5043 * configure.in: Update warning comment. glibc should not be
5046 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
5047 ioperm.c, sys/procfs.h, and sys/io.h.
5049 * sysdeps/powerpc/Dist: Add bp-asm.h.
5051 * assert/Depend: Add localedata.
5052 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
5053 (test-assert-perr-ENV): New. Define LANGUAGE=C.
5055 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
5056 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
5057 relocation address to prevent unaligned trap.
5058 Suggested by Richard Henderson <rth@cygnus.com>.
5060 2000-06-30 Jakub Jelinek <jakub@redhat.com>
5062 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
5063 if redirecting and either redirection is done using defines or
5066 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5068 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
5069 generated expressions.
5070 Patch by Darren McClelland <dmcclell@zetec.com>.
5072 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
5073 since zic uses setlocale and gettext but we cannot make it use the
5074 new locale data since zic calls a shell which might not use the
5077 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
5078 handling the internation currency symbol. POSIX says that the
5079 fourth character is used to separate the currency symbol from the
5080 value. Therefore it does not have to be printed. But we cannot
5081 remove the space if the currency symbol is printed before the
5082 number since this is what many locales expect.
5084 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
5085 whether this information is available.
5087 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
5088 buffers in case the translation is too large. Remember allocated
5089 memory blocks in a list.
5090 (free_mem): Free memory for translations.
5092 * intl/tst-gettext.c: Use correct locale. Improve error messages.
5094 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
5095 information is available set the string length to zero.
5097 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
5099 2000-06-30 Greg McGary <greg@mcgary.org>
5101 * sysdeps/powerpc/bp-asm.h: New file.
5102 * sysdeps/powerpc/__longjmp.S: Check bounds.
5103 Wrap extern symbols in BP_SYM ().
5104 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
5105 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
5106 * sysdeps/powerpc/setjmp.S: Likewise.
5107 * sysdeps/powerpc/add_n.S: Likewise.
5108 * sysdeps/powerpc/addmul_1.S: Likewise.
5109 * sysdeps/powerpc/lshift.S: Likewise.
5110 * sysdeps/powerpc/rshift.S: Likewise.
5111 * sysdeps/powerpc/mul_1.S: Likewise.
5112 * sysdeps/powerpc/sub_n.S: Likewise.
5113 * sysdeps/powerpc/submul_1.S: Likewise.
5114 * sysdeps/powerpc/strlen.S: Likewise.
5115 * sysdeps/powerpc/memset.S: Likewise.
5116 * sysdeps/powerpc/stpcpy.S: Likewise.
5117 * sysdeps/powerpc/strcmp.S: Likewise.
5118 * sysdeps/powerpc/strcpy.S: Likewise.
5119 * sysdeps/powerpc/elf/bzero.S: Likewise.
5121 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
5122 Line up operands column with tabs.
5124 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5126 * elf/Makefile (LDFLAGS-origtest): Actually add it.
5128 * sysdeps/ia64/htonl.S: New file.
5129 * sysdeps/ia64/htons.S: New file.
5130 * sysdeps/ia64/memcpy.S: Replace with version which does not use
5131 floating point registers.
5132 Patches by Dan Pop <Dan.Pop@cern.ch>.
5134 2000-06-30 Andreas Jaeger <aj@suse.de>
5136 * posix/Makefile (tests): tst-exec and tst-spawn only work with
5139 * io/Makefile (CFLAGS-test-lfs.c): New.
5140 (tests): Add test-lfs.
5142 * io/test-lfs.c: New file.
5144 2000-06-30 Jakub Jelinek <jakub@redhat.com>
5146 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
5149 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
5151 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
5153 2000-06-29 Jes Sorensen <jes@linuxcare.com>
5155 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
5156 alias to the fstatfs call.
5158 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
5159 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
5161 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
5162 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
5164 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
5165 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
5166 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
5167 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
5169 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
5170 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
5172 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
5173 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
5175 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
5176 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
5178 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
5180 2000-06-29 Andreas Jaeger <aj@suse.de>
5182 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
5184 (print_err_message): Likewise.
5185 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
5187 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5189 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
5190 used as words is properly aligned.
5192 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
5195 2000-06-29 Greg McGary <greg@mcgary.org>
5197 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
5198 * sysdeps/unix/make-syscalls.sh: Handle signatures of
5199 length 7..9, just in case...
5200 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
5202 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
5203 (POP_ERRNO_LOCATION_RETURN): Fold insns.
5204 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
5205 (PUSH_SIGNAL_MASK): New macro.
5206 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
5207 LEAVE is unnecessary. Check bounds of jmp_buf.
5208 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
5209 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
5210 immediately before tail-call.
5211 * sysdeps/i386/setjmp.S: Likewise.
5212 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5213 * sysdeps/i386/bsd-setjmp.S: Likewise.
5215 2000-06-29 Jakub Jelinek <jakub@redhat.com>
5217 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
5219 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
5220 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
5221 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
5222 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5223 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
5224 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
5225 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
5226 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
5228 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5230 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
5231 we later need to calling free().
5232 Patch by Matt Wilson <msw@redhat.com>.
5234 * stdio-common/tst-printf.c: Add test for above problem.
5236 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
5238 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
5239 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
5241 2000-06-28 Jes Sorensen <jes@linuxcare.com>
5243 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
5244 prototype for abs().
5245 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
5247 2000-06-23 Andreas Jaeger <aj@suse.de>
5249 * config.h.in: Don't use regparm with bounded pointers.
5251 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5253 * stdlib/grouping.h: Correctly handle multibyte thousands
5254 separator and decimal point.
5255 * stdlib/stdtod.c: Likewise.
5256 * sysdeps/generic/strtol.c: Likewise.
5258 * locale/categories.def: Add entries for wide character decimal point
5259 and thousands separator in numeric and monetary category.
5261 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5263 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
5264 second definition and initialization of decimal.
5266 2000-06-28 Greg McGary <greg@mcgary.org>
5268 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
5270 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
5271 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
5273 (_IO_JUMPS): Don't cast THIS--expect arg to be a
5274 (struct _IO_FILE_plus *).
5275 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
5276 THIS, since _IO_JUMPS no longer does it implicitly.
5277 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
5278 arg type as (struct _IO_FILE_plus *).
5279 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
5280 arg as (_IO_strfile *).
5281 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
5282 Declare 1st arg as (_IO_strfile *).
5283 * libio/fileops.c (_IO_new_file_init): Declare
5284 arg type as (struct _IO_FILE_plus *).
5285 * libio/oldfileops.c (_IO_old_file_init): Likewise.
5286 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
5287 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
5288 Declare iteration pointer as (struct _IO_FILE_plus *).
5289 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
5290 (struct _IO_FILE_plus *).
5291 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
5292 * libio/oldstdfiles.c (_IO_list_all): Likewise.
5293 (_IO_check_libio): Set user-visible handles to
5294 (struct _IO_FILE_plus *).
5295 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
5296 to (struct _IO_FILE_plus *).
5298 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
5299 whose high bound includes vtable to all functions that will use
5300 vtable. For streambufs, pass pointer whose bounds include struct
5302 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
5303 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5304 * libio/iofopen.c (_IO_new_fopen): Likewise.
5305 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5306 * libio/iofopen64.c (_IO_fopen64): Likewise.
5307 * libio/iopopen.c (_IO_new_popen): Likewise.
5308 * libio/oldiopopen.c (_IO_old_popen): Likewise.
5309 * libio/memstream.c (open_memstream): Likewise.
5310 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
5311 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
5312 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5313 * libio/iofopncook.c (_IO_cookie_init): Likewise.
5314 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
5315 * libio/vasprintf.c (_IO_vasprintf): Likewise.
5316 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
5317 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
5318 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
5319 * stdlib/strfmon.c (__strfmon_l): Likewise.
5320 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
5321 (vfprintf): Qualify computed-goto targets as unbounded.
5323 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5325 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
5326 thousands separator correctly.
5328 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
5329 * stdio-common/vfwscanf.c: Likewise.
5331 2000-06-27 Jes Sorensen <jes@linuxcare.com>
5333 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
5334 count into signatures for most calls.
5336 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5338 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
5339 the generic parser now.
5341 2000-06-28 Jes Sorensen <jes@linuxcare.com>
5343 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
5344 table entries are 32 bit on the ia64 (as specified by the ABI),
5345 not 64 bit as on the Alpha.
5347 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
5348 change of objects to use 32 bit hash table indices (see above).
5350 2000-06-28 Jes Sorensen <jes@linuxcare.com>
5352 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
5353 prototype for abs().
5355 2000-06-28 Wolfram Gloger <wg@malloc.de>
5357 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
5358 fails, try mmap_chunk() as a last resort even though n_mmaps_max
5359 may have been reached.
5361 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5363 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
5364 symbols in multi-character weights correctly.
5366 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
5367 depending on whether the input string is empty or not.
5369 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
5370 given state and not avoiding this by modifying a local object.
5371 * wcsmbs/wcrtomb.c: Likewise.
5373 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
5374 object since some incomplete characters might be in there.
5376 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
5377 sequences with first byte 0x8e correctly.
5379 * iconvdata/jis0208.h: Remove redundant test.
5381 2000-06-27 Ulrich Drepper <drepper@redhat.com>
5383 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
5384 Add it where it is needed now.
5386 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
5387 the input charset into account when generating the hash table.
5388 (allocate_arrays): Correct setting default width. Not all empty slots
5389 in the table are filled, only those not covert explicitly by the
5390 locale description and in the charset.
5392 * wctype/towctrans.c (__towctrans): Be graceful and accept error
5393 return values from the wctrans function.
5395 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
5396 wide character version.
5397 For %C handling, test correct pointer variable for NULL.
5399 * wcsmbs/wctob.c: Handle WEOF special.
5401 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
5403 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
5404 always-true test to avoid warning.
5406 2000-06-27 Greg McGary <greg@mcgary.org>
5408 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
5409 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
5410 (symbol_version, default_symbol_version): Factor redundant
5411 definitions out of conditional.
5413 2000-06-27 Jakub Jelinek <jakub@redhat.com>
5415 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
5418 2000-06-26 Ulrich Drepper <drepper@redhat.com>
5420 * include/libc-symbols.h (symbol_version): Add extra level of
5422 (default_symbol_version): Likewise.
5424 2000-06-26 Greg McGary <greg@mcgary.org>
5426 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
5427 for BP return value & push implicit struct-return pointer to
5429 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5430 (SYSCALL_ERROR_HANDLER): Likewise.
5431 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
5432 (SYSCALL_ERROR_HANDLER): Likewise.
5434 * Makeconfig: Add missing comment.
5435 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
5436 BP-flavored startup object.
5437 ($(objpfx)b$(start-installed-name)): New rule.
5438 * include/libc-symbols.h (symbol_set_declare): Change type
5439 of `__start_##set' and `__stop_##set' to pointer-to-function.
5440 (symbol_set_declare): Change type of `set' to array of
5441 pointer-to-function.
5442 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
5443 pointer-to-function.
5445 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
5447 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
5448 Remove clock_* and timer_* entries.
5449 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
5450 arg-count with signatures.
5452 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
5453 Check bounds of arguments.
5454 * sysdeps/i386/addmul_1.S: Likewise.
5455 * sysdeps/i386/lshift.S: Likewise.
5456 * sysdeps/i386/mul_1.S: Likewise.
5457 * sysdeps/i386/rshift.S: Likewise.
5458 * sysdeps/i386/sub_n.S: Likewise.
5459 * sysdeps/i386/submul_1.S: Likewise.
5460 * sysdeps/i386/i586/add_n.S: Likewise.
5461 * sysdeps/i386/i586/addmul_1.S: Likewise.
5462 * sysdeps/i386/i586/lshift.S: Likewise.
5463 * sysdeps/i386/i586/rshift.S: Likewise.
5464 * sysdeps/i386/i586/sub_n.S: Likewise.
5465 * sysdeps/i386/i686/add_n.S: Likewise.
5467 * sysdeps/i386/memchr.S: Likewise.
5468 * sysdeps/i386/memcmp.S: Likewise.
5469 * sysdeps/i386/rawmemchr.S: Likewise.
5470 * sysdeps/i386/i586/bzero.S: Likewise.
5471 * sysdeps/i386/i586/memcpy.S: Likewise.
5472 * sysdeps/i386/i586/mempcpy.S: Likewise.
5473 * sysdeps/i386/i586/memset.S: Likewise.
5474 * sysdeps/i386/i686/bzero.S: Likewise.
5475 * sysdeps/i386/i686/memcpy.S: Likewise.
5476 * sysdeps/i386/i686/mempcpy.S: Likewise.
5477 * sysdeps/i386/i686/memset.S: Likewise.
5479 * sysdeps/i386/stpcpy.S: Likewise.
5480 * sysdeps/i386/stpncpy.S: Likewise.
5481 * sysdeps/i386/strchr.S: Likewise.
5482 * sysdeps/i386/strchrnul.S: Likewise.
5483 * sysdeps/i386/strcspn.S: Likewise.
5484 * sysdeps/i386/strpbrk.S: Likewise.
5485 * sysdeps/i386/strrchr.S: Likewise.
5486 * sysdeps/i386/strspn.S: Likewise.
5487 * sysdeps/i386/strtok.S: Likewise.
5488 * sysdeps/i386/strtok_r.S: Likewise.
5489 * sysdeps/i386/i486/strcat.S: Likewise.
5490 * sysdeps/i386/i486/strlen.S: Likewise.
5491 * sysdeps/i386/i586/strchr.S: Likewise.
5492 * sysdeps/i386/i586/strcpy.S: Likewise.
5493 * sysdeps/i386/i586/strlen.S: Likewise.
5494 * sysdeps/i386/i686/strcmp.S: Likewise.
5495 * sysdeps/i386/i686/strtok.S: Likewise.
5496 * sysdeps/i386/i686/strtok_r.S: Likewise.
5498 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
5499 * sysdeps/i386/fpu/fesetenv.c: Likewise.
5500 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
5501 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
5502 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
5504 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
5505 * sysdeps/i386/mul_1.S: Likewise.
5506 * sysdeps/i386/submul_1.S: Likewise.
5507 * sysdeps/i386/i586/add_n.S: Likewise.
5508 * sysdeps/i386/i586/addmul_1.S: Likewise.
5509 * sysdeps/i386/i586/lshift.S: Likewise.
5510 * sysdeps/i386/i586/mul_1.S: Likewise.
5511 * sysdeps/i386/i586/rshift.S: Likewise.
5512 * sysdeps/i386/i586/sub_n.S: Likewise.
5513 * sysdeps/i386/i586/submul_1.S: Likewise.
5515 2000-06-26 Ulrich Drepper <drepper@redhat.com>
5517 * rt/Makefile (librt-routines): Add clock_nanosleep.
5518 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
5519 * sysdeps/generic/clock_nanosleep.c: New file.
5520 * sysdeps/unix/clock_nanosleep.c: New file.
5521 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
5522 * time/time.h: Declare clock_nanosleep.
5524 2000-06-26 Greg McGary <greg@mcgary.org>
5526 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
5527 INSN1, INSN2, TEXT, GLOBL): Remove macros.
5528 (ALIGN): Cleanup surrounding conditionals.
5530 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
5531 Call ENTER/LEAVE macros.
5532 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
5533 * sysdeps/i386/submul_1.S: Likewise.
5535 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
5536 syntax. Define & use symbolic argument stack offsets. Call
5538 * sysdeps/i386/i586/mul_1.S: Likewise.
5539 * sysdeps/i386/i586/submul_1.S: Likewise.
5541 2000-06-25 Greg McGary <greg@mcgary.org>
5543 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
5546 2000-06-25 Ulrich Drepper <drepper@redhat.com>
5548 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
5549 * iconvdata/gen-8bit-gap.sh: Likewise.
5550 * iconvdata/gen-8bit.sh: Likewise.
5552 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
5554 * locale/programs/ld-collate.c (collate_read): Don't actually read
5555 the copy locale if we are ignoring the content.
5557 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
5560 * locale/programs/ld-collate.c: Correct handling of different
5562 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
5563 as extra parameter from which to copy category information.
5565 (load_locale): Likewise.
5566 * locale/programs/localedef.h: Update prototypes of add_to_readlist
5568 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
5569 * locale/programs/locfile.h: Likewise.
5570 * locale/programs/locfile-kw.gperf: Add entry for script.
5571 * locale/programs/locfile-token.h: Add tok_script.
5573 * locale/programs/locale.c: Update copyright year.
5574 * locale/programs/localedef.c: Likewise.
5576 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
5578 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
5579 Jens Moeller <jens.moeller@waii.com>.
5581 2000-06-24 Ulrich Drepper <drepper@redhat.com>
5583 * locale/programs/ld-name.c (name_finish): Add missing format
5584 specifier to test for name_fmt.
5586 * locale/programs/ld-address.c (iso639): Correct length of string
5588 (iso3166): Likewise.
5590 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
5592 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
5595 * elf/elf.h (NT_PRFPXREG): Define.
5597 2000-06-23 Ulrich Drepper <drepper@redhat.com>
5599 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
5600 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
5602 2000-06-23 Andreas Schwab <schwab@suse.de>
5604 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
5607 2000-06-23 Andreas Jaeger <aj@suse.de>
5609 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
5611 * io/test-stat.c: Add copyright header, mention Maciej.
5613 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
5614 SYS_mincore, SYS_madvise): Added.
5616 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
5619 2000-06-22 Ulrich Drepper <drepper@redhat.com>
5621 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
5622 (CFLAGS-tst_putwc.c): New definition.
5623 * libio/tst_getwc.c: New file.
5624 * libio/tst_getwc.input: New file.
5625 * libio/tst_putwc.c: New file.
5627 * include/string.h: Add prototype for __strdup.
5629 2000-06-22 Greg McGary <greg@mcgary.org>
5631 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
5632 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
5635 2000-06-23 Jes Sorensen <jes@linuxcare.com>
5637 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
5639 2000-06-22 Jes Sorensen <jes@linuxcare.com>
5641 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
5643 2000-06-22 Jes Sorensen <jes@linuxcare.com>
5645 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
5646 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
5648 2000-06-22 Ulrich Drepper <drepper@redhat.com>
5650 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
5651 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
5653 * sysdeps/mach/hurd/bits/stat.h: Likewise.
5654 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5655 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
5656 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5657 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
5658 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
5659 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5660 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
5661 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5662 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5663 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
5664 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
5665 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
5666 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
5669 2000-06-22 Andreas Jaeger <aj@suse.de>
5671 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
5674 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
5676 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
5678 2000-06-21 Ulrich Drepper <drepper@redhat.com>
5680 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
5683 2000-06-21 Greg McGary <greg@mcgary.org>
5685 * Makerules (elide-routines.*, elide-bp-thunks):
5686 Define unconditionally.
5688 2000-06-21 Jes Sorensen <jes@linuxcare.com>
5690 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
5692 2000-06-21 Andreas Jaeger <aj@suse.de>
5694 * io/Makefile (tests): Add test-stat.
5695 (CFLAGS-test-stat.c): New.
5697 * io/test-stat.c: New file from Maciej W. Rozycki
5698 <macro@ds2.pg.gda.pl>.
5700 2000-06-21 Jes Sorensen <jes@linuxcare.com>
5702 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
5703 in __rlimit_resource to make them match the kernel order.
5704 rlim_t is always 64 bit, use __rlim64_t to declare it
5707 2000-05-04 Jes Sorensen <jes@linuxcare.com>
5709 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
5710 RLIM_INFINITY before defining it to avoid clash with kernel header
5712 2000-05-03 Jes Sorensen <jes@linuxcare.com>
5714 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
5716 2000-06-21 Ulrich Drepper <drepper@redhat.com>
5718 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
5720 2000-06-21 Andreas Jaeger <aj@suse.de>
5722 * stdio-common/temptest.c: Include <stdlib.h>.
5723 * stdio-common/tst-fileno.c: Likewise.
5724 * stdio-common/scanf4.c: Likewise.
5725 * stdio-common/scanf5.c: Likewise.
5726 * time/clocktest.c: Likewise.
5727 * posix/test-vfork.c: Likewise.
5728 * posix/globtest.c: Likewise.
5729 * io/test-utime.c: Likewise.
5730 * wctype/test_wcfuncs.c: Likewise.
5731 * crypt/cert.c: Likewise.
5733 * stdio-common/tst-printfsz.c: Include <string.h>.
5734 * libio/tst_swscanf.c: Likewise.
5735 * libio/tst_wscanf.c: Likewise.
5736 * posix/runtests.c: Likewise.
5737 * posix/tst-getaddrinfo.c: Likewise.
5738 * posix/wordexp-test.c: Likewise.
5739 * misc/tst-efgcvt.c: Likewise.
5741 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
5742 * nss/test-netdb.c: Likewise.
5744 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
5745 supported kernel for MIPS.
5747 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
5748 * rt/aio_suspend.c: Likewise.
5750 2000-06-20 Ulrich Drepper <drepper@redhat.com>
5752 * math/libm-test.inc: Include <string.h>.
5754 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5756 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
5758 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5760 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
5761 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
5763 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
5765 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
5767 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5769 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
5771 2000-06-20 Ulrich Drepper <drepper@redhat.com>
5773 * locale/programs/ld-collate.c (insert_value): Now take string and
5774 length instead of struct token* parameter. Adjust use of token.
5775 (handle_ellipsis): Likewise.
5776 (collate_read): Allow <Uxxxx> names and transform them into names
5777 to be passed to insert_value and handle_ellipsis.
5779 * locale/programs/ld-ctype.c (uninames): New array with names of
5780 digits in <Uxxxxxxxx> format.
5781 (ctype_finish): Correct search for space character value. Likewise
5782 for default outdigits values.
5784 2000-06-20 Greg McGary <greg@mcgary.org>
5786 * Makerules (objects): Add BP thunks.
5788 2000-06-20 Ulrich Drepper <drepper@redhat.com>
5790 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
5791 in width definitions.
5793 2000-06-20 Andreas Jaeger <aj@suse.de>
5795 * sysdeps/mips/fpu/libm-test-ulps: New file.
5797 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
5800 * sysdeps/mips/fpu/feholdexcpt.c: New file.
5802 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
5804 2000-06-19 Ulrich Drepper <drepper@redhat.com>
5806 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
5807 change in gconv_builtin.h.
5809 * malloc/Makefile: Change all references to memprof into memusage.
5810 * malloc/memprof.c: Rename to...
5811 * malloc/memusage.c: ...this. New file.
5812 * malloc/memprof.sh: Rename to...
5813 * malloc/memusage.sh: ...this. New file.
5814 * malloc/memprofstat.c: Rename to...
5815 * malloc/memusagestat.c: ...this. New file.
5816 * sysdeps/alpha/memprof.h: Rename to..
5817 * sysdeps/alpha/memusage.h: ...this. New file.
5818 * sysdeps/arm/memprof.h: Rename to..
5819 * sysdeps/arm/memusage.h: ...this. New file.
5820 * sysdeps/generic/memprof.h: Rename to..
5821 * sysdeps/generic/memusage.h: ...this. New file.
5822 * sysdeps/i386/memprof.h: Rename to..
5823 * sysdeps/i386/memusage.h: ...this. New file.
5824 * sysdeps/ia64/memprof.h: Rename to..
5825 * sysdeps/ia64/memusage.h: ...this. New file.
5826 * sysdeps/m68k/memprof.h: Rename to..
5827 * sysdeps/m68k/memusage.h: ...this. New file.
5828 * sysdeps/mips/memprof.h: Rename to..
5829 * sysdeps/mips/memusage.h: ...this. New file.
5830 * sysdeps/powerpc/memprof.h: Rename to..
5831 * sysdeps/powerpc/memusage.h: ...this. New file.
5832 * sysdeps/sparc/memprof.h: Rename to..
5833 * sysdeps/sparc/memusage.h: ...this. New file.
5834 * sysdeps/sh/memprof.h: Rename to..
5835 * sysdeps/sh/memusage.h: ...this. New file.
5837 * elf/sprof.c (print_version): Update year.
5839 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
5840 table entry values. Use D_PTR.
5841 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
5842 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
5844 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5846 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
5847 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
5848 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
5849 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
5851 2000-05-05 Jes Sorensen <jes@linuxcare.com>
5853 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
5855 2000-06-16 Jes Sorensen <jes@linuxcare.com>
5857 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
5858 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
5859 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
5861 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
5863 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
5866 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
5867 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
5869 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
5872 2000-06-15 Jes Sorensen <jes@linuxcare.com>
5874 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
5876 2000-06-08 Jes Sorensen <jes@linuxcare.com>
5878 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
5880 2000-06-19 Ulrich Drepper <drepper@redhat.com>
5882 * iconv/gconv_int.h (strict gconv_module): Remove all members
5883 associated with regular expressions. Use a simple string as the
5885 * iconv/gconv_db.c: Remove code handling regular expressions.
5886 * iconv/gconv_conf.c: Likewise.
5887 * iconv/iconv_prog.c: Likewise.
5888 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
5890 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
5891 General namespace cleanup.
5892 (struct __gconv_trans_data): Add next field.
5893 (struct __gconv_step_data): Make __trans a pointer.
5894 * iconv/gconv_conf.c: Split out code to find gconv directories from
5895 __gconv_read_conf in new functions.
5896 * iconv/gconv_int.h: Define new data structure and declare new
5897 functions for handling of gconv directory list.
5898 * iconv/gconv_open.c: Allow more than one error handling step being
5899 used. Call function to load error handling module if it is none
5900 of the builtin transformations.
5901 * iconv/gconv_close.c: Add code to free transliteration data.
5902 * iconv/gconv_trans.c: Add functions to load and unload modules
5903 implementing transliteration etc.
5904 * iconv/skeleton.c: Call all context functions now that more than
5905 one module is allowed.
5906 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
5907 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
5908 where the full error handling using transliteration is needed.
5909 * iconvdata/8bit-gap.c: Likewise.
5910 * iconvdata/8bit-generic.c: Likewise.
5911 * iconvdata/ansi_x3.110.c: Likewise.
5912 * iconvdata/big5.c: Likewise.
5913 * iconvdata/big5hkscs.c: Likewise.
5914 * iconvdata/euc-cn.c: Likewise.
5915 * iconvdata/euc-jp.c: Likewise.
5916 * iconvdata/euc-kr.c: Likewise.
5917 * iconvdata/euc-tw.c: Likewise.
5918 * iconvdata/gbgbk.c: Likewise.
5919 * iconvdata/gbk.c: Likewise.
5920 * iconvdata/iso-2022-cn.c: Likewise.
5921 * iconvdata/iso-2022-jp.c: Likewise.
5922 * iconvdata/iso-2022-kr.c: Likewise.
5923 * iconvdata/iso646.c: Likewise.
5924 * iconvdata/iso8859-1.c: Likewise.
5925 * iconvdata/iso_6937-2.c: Likewise.
5926 * iconvdata/iso_6937.c: Likewise.
5927 * iconvdata/johab.c: Likewise.
5928 * iconvdata/sjis.c: Likewise.
5929 * iconvdata/t.61.c: Likewise.
5930 * iconvdata/uhc.c: Likewise.
5931 * iconvdata/unicode.c: Likewise.
5932 * iconvdata/utf-16.c: Likewise.
5933 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
5934 structure correctly after last change.
5935 * wcsmbs/btowc.c: Likewise.
5936 * wcsmbs/mbrtowc.c: Likewise.
5937 * wcsmbs/mbsnrtowcs.c: Likewise.
5938 * wcsmbs/mbsrtowcs.c: Likewise.
5939 * wcsmbs/wcrtomb.c: Likewise.
5940 * wcsmbs/wcsnrtombs.c: Likewise.
5941 * wcsmbs/wcsrtombs.c: Likewise.
5942 * wcsmbs/wctob.c: Likewise.
5944 * localedata/Makefile: Set -Wno-format for some files since gcc does
5945 not know all the format specifiers.
5947 2000-06-18 Ulrich Drepper <drepper@redhat.com>
5949 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
5951 * locale/lc-time.c (_nl_init_era_entries): Likewise.
5953 2000-06-18 Andreas Jaeger <aj@suse.de>
5955 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
5956 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5958 2000-06-17 Ulrich Drepper <drepper@redhat.com>
5960 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
5962 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
5964 * locale/programs/ld-ctype.c (ctype_output): Really write out
5965 mboutdigits information.
5966 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
5967 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
5968 * localedata/tests/trans.def: Add outdigit information.
5970 * localedata/tst-mbswcs3.c: Remove comment.
5972 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
5973 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
5974 * libio/tst_wprintf.c (main): Add test for I flag.
5976 * iconv/gconv_trans.c: Implement handling if translit_ignore.
5977 * locale/langinfo.h: Add entries for translit_ignore information.
5978 * locale/categories.def: Add entries for new LC_CTYPE elements.
5979 * locale/C-ctype.c: Add initializers for new fields. Use NULL
5980 pointer instead of "" where possible.
5981 * locale/programs/ld-ctype.c: Write out translit_ignore information.
5982 * intl/Depend: Add localedata.
5983 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
5984 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
5986 2000-06-16 Ulrich Drepper <drepper@redhat.com>
5988 * locale/langinfo.h: Add entries for default_missing information.
5989 * locale/C-ctype.c: Add initializers for new fields.
5990 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
5992 * locale/categories.h: Add entries for all LC_CTYPE values.
5993 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
5996 * localedata/tst-trans.c: Write out an error message if class is
5999 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
6000 * iconv/gconv_open.c: Remove error handling specification from `from'
6002 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
6003 new parameter to always enable transliteration.
6004 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
6006 (struct locale_data): Add new members use_translit and options.
6007 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
6008 character set name contained modifier TRANSLIT.
6009 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
6011 (_nl_unload_locale): Free options string if necessary.
6012 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
6013 the locale names suggested this.
6014 * locale/C-address.c: Add two new initialilzers to adjust data
6015 structure for new format.
6016 * locale/C-collate.c: Likewise.
6017 * locale/C-ctype.c: Likewise.
6018 * locale/C-identification.c: Likewise.
6019 * locale/C-measurement.c: Likewise.
6020 * locale/C-messages.c: Likewise.
6021 * locale/C-monetary.c: Likewise.
6022 * locale/C-name.c: Likewise.
6023 * locale/C-numeric.c: Likewise.
6024 * locale/C-paper.c: Likewise.
6025 * locale/C-telephone.c: Likewise.
6026 * locale/C-time.c: Likewise.
6028 * locale/setlocale.c: Add some more __builtin_expect.
6030 2000-06-15 Ulrich Drepper <drepper@redhat.com>
6032 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
6034 (__gconv_init_fct): Remove two parameters.
6035 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
6036 gconv_transliterate. Remove two parameters.
6037 Change prototypes of builtin functions according to __gconv_fct change.
6038 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
6039 != NULL only during error handling. Stop in this case after the
6041 * iconv/gconv_trans.c: Replace with real implementation for
6042 __gconv_transliterate.
6043 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
6044 * iconv/gconv.c: Change calls to downstream functions once again.
6045 Use NULL for the fifth parameter instead of pointer to output buffer.
6046 * libio/iofwide.c: Likewise.
6047 * wcsmbs/btowc.c: Likewise.
6048 * wcsmbs/mbrtowc.c: Likewise.
6049 * wcsmbs/mbsnrtowcs.c: Likewise.
6050 * wcsmbs/mbsrtowcs.c: Likewise.
6051 * wcsmbs/wcrtomb.c: Likewise.
6052 * wcsmbs/wcsnrtombs.c: Likewise.
6053 * wcsmbs/wcsrtombs.c: Likewise.
6054 * wcsmbs/wctob.c: Likewise.
6055 * iconv/gconv_simple.c: Remove two parameters from error handling
6057 * iconvdata/8bit-gap.c: Likewise.
6058 * iconvdata/8bit-generic.c: Likewise.
6059 * iconvdata/ansi_x3.110.c: Likewise.
6060 * iconvdata/big5.c: Likewise.
6061 * iconvdata/big5hkscs.c: Likewise.
6062 * iconvdata/euc-cn.c: Likewise.
6063 * iconvdata/euc-jp.c: Likewise.
6064 * iconvdata/euc-kr.c: Likewise.
6065 * iconvdata/euc-tw.c: Likewise.
6066 * iconvdata/gbgbk.c: Likewise.
6067 * iconvdata/gbk.c: Likewise.
6068 * iconvdata/iso-2022-cn.c: Likewise.
6069 * iconvdata/iso-2022-jp.c: Likewise.
6070 * iconvdata/iso-2022-kr.c: Likewise.
6071 * iconvdata/iso646.c: Likewise.
6072 * iconvdata/iso8859-1.c: Likewise.
6073 * iconvdata/iso_6937-2.c: Likewise.
6074 * iconvdata/iso_6937.c: Likewise.
6075 * iconvdata/johab.c: Likewise.
6076 * iconvdata/sjis.c: Likewise.
6077 * iconvdata/t.61.c: Likewise.
6078 * iconvdata/uhc.c: Likewise.
6079 * iconvdata/unicode.c: Likewise.
6080 * iconvdata/utf-16.c: Likewise.
6082 2000-06-15 Greg McGary <greg@mcgary.org>
6084 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
6085 of callnum assignment. Tolerate callnum expressions containing
6088 2000-06-14 Ulrich Drepper <drepper@redhat.com>
6090 * login/Makefile (utmpd): Remove rule to build utmpd.
6092 * csu/Versions: Move libgcc frame handling functions from here...
6093 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
6094 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
6095 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
6096 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
6097 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
6098 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
6100 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
6102 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
6104 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
6106 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6108 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
6110 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
6111 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
6112 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
6113 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
6115 2000-06-14 Jakub Jelinek <jakub@redhat.com>
6117 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
6118 defined, terminate quotes and read them after the comment char.
6119 * configure.in (HAVE_SECTION_QUOTES): Test whether
6120 __attribute__((section ("x"))) puts quotes around x or not.
6121 * config.h.in (HAVE_SECTION_QUOTES): Add.
6122 * configure: Rebuilt.
6124 2000-06-14 Andreas Jaeger <aj@suse.de>
6126 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
6127 depending on the configure option --sysconfdir.
6128 Closes PR libc/1762.
6129 Patch by Andreas Schwab <schwab@suse.de>.
6131 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
6133 Reported by Jim Pick <jim@jimpick.com>.
6135 2000-06-14 Ulrich Drepper <drepper@redhat.com>
6137 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
6138 crashing the application. Emit some simple error message.
6139 Reported by mju@panasas.com [PR libc/1769].
6141 2000-06-13 Ulrich Drepper <drepper@redhat.com>
6143 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
6145 * crypt/Makefile (distribute): Add md5.h.
6147 * Makefile (distribute): Add include/shlib-compat.h.
6149 * Make-dist: Search for tests also in sysdeps hierachy.
6151 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
6152 ufc.c, speeds.c, README.ufc-crypt, and Banner.
6154 * sysdeps/sparc/Subdirs: New file.
6156 * locale/Makefile (distribute): Add weightwc.h and
6157 programs/localedef.h.
6159 * time/Makefile (distribute): Add datemsk.
6161 * sysdeps/ia64/Dist: Add softpipe.h.
6163 * sysdeps/unix/sysv/aix/Dist: New file.
6165 * posix/setpgrp.c: Moved to...
6166 * sysdeps/generic/setpgrp.c: ...here. New file.
6167 * io/mknod.c: Moved to...
6168 * sysdeps/generic/mknod.c: ...here. New file.
6170 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
6172 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
6174 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
6176 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
6177 gprsave0.S, gprrest1.S, and gprrest0.S.
6179 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
6181 * posix/Makefile (routines): Add spawnattr_getsigmask,
6182 spawnattr_getschedpolicy, spawnattr_getschedparam,
6183 spawnattr_setsigmask, spawnattr_setschedpolicy, and
6184 spawnattr_setschedparam.
6185 * posix/Versions: Add posix_spawnattr_getschedpolicy,
6186 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
6187 posix_spawnattr_setschedparam.
6189 * posix/spawnattr_setschedparam.c: Fix typo.
6191 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
6194 * login/programs/utmpd.c: Removed.
6195 * login/programs/utmpd.h: Removed.
6196 * login/programs/utmpd-private.h: Removed.
6198 * Makefile (distribute): Add include/db_185.h and include/db.h.
6200 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
6203 * elf/Makefile (distribute): Add missing files.
6205 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
6206 * elf/eval.c: Moved to...
6207 * dlfcn/eval.c: ...here. New file.
6209 * Makefile (distribute): Also distribute ChangeLog.1?.
6211 * Make-dist (+tsrcs): Remove .args handling here as well.
6213 * rt/Makefile (tests): Add tst-timer.
6214 * sysdeps/generic/tst-timer.c: New file.
6216 * Makerules (sources): Don't add BP sources here.
6218 * login/Makefile (distribute): Remove xtmp.h.
6220 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
6221 is true. Reported by Bruno Haible <haible@ilog.fr>.
6223 2000-06-13 Andreas Jaeger <aj@suse.de>
6225 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
6226 Patch by Ralf Baechle <ralf@gnu.org>.
6228 2000-06-13 Ulrich Drepper <drepper@redhat.com>
6230 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
6231 for mincore syscall.
6233 * misc/sys/cdefs.h: Define __bounded and __unbounded if
6234 __BOUNDED_POINTERS__ is not defined.
6236 2000-06-07 Greg McGary <greg@mcgary.org>
6238 * sysdeps/generic/bp-sym.h: New file.
6239 * sysdeps/generic/bp-start.h: New file.
6240 * sysdeps/i386/elf/start.S: Designate BP symbols.
6241 * sysdeps/generic/libc-start.c: Wrap bounds around
6242 argv & envp and each of their string members.
6244 2000-06-07 Greg McGary <greg@mcgary.org>
6246 * sysdeps/unix/make-syscalls.sh: Add comments to
6247 output that aid debugging & comprehension.
6248 Map simple syscall signatures to number of args.
6249 Generate BP syscall thunk definitions.
6250 * sysdeps/generic/bp-thunks.h: New file.
6251 * sysdeps/unix/syscalls.list: Replace arg-count with
6252 simple return+arg signature.
6253 * sysdeps/unix/common/syscalls.list: Likewise.
6254 * sysdeps/unix/inet/syscalls.list: Likewise.
6255 * sysdeps/unix/mman/syscalls.list: Likewise.
6256 * sysdeps/unix/sysv/syscalls.list: Likewise.
6257 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6258 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
6260 2000-06-07 Greg McGary <greg@mcgary.org>
6262 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
6263 for all files *.[cS].
6264 (CFLAGS-.ob): Don't optimize sibling calls.
6265 (bppfx): New variable.
6266 * Makerules (elide-bp-thunks): New variable.
6267 (elide-routines.*): Elide BP-* files for all but *.ob.
6268 (sources): Include bp-thunks.
6270 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6272 * iconv/gconv_simple.c: Remove unnecessary prototype.
6274 * iconv/gconv_trans.c: Pretty print.
6276 * elf/elf.h (R_SH_NUM): Got accidently dropped.
6278 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
6279 minimal kernel versions. Add information about IA-64 kernel.
6281 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
6282 specific minimal supported kernel versions to be specified.
6284 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
6285 step data structure.
6286 * wcsmbs/btowc.c: Likewise.
6287 * wcsmbs/mbrtowc.c: Likewise.
6288 * wcsmbs/mbsnrtowcs.c: Likewise.
6289 * wcsmbs/mbsrtowcs.c: Likewise.
6290 * wcsmbs/wcrtomb.c: Likewise.
6291 * wcsmbs/wcsnrtombs.c: Likewise.
6292 * wcsmbs/wcsrtombs.c: Likewise.
6293 * wcsmbs/wctob.c: Likewise.
6295 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
6296 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
6298 * shlib-versions: Earliest backward compatible version for SH is 2.2.
6300 * misc/sys/cdefs.h: Remove one more __P.
6302 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
6305 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
6306 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
6307 * sysdeps/sh/bits/setjmp.h: ...here. New file.
6309 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6310 Yutaka Niibe <gniibe@chroot.org>
6312 * configure.in: Add machine sh3, sh4.
6313 * elf/elf.h: Add SH specific declarations of relocations.
6314 * shlib-versions: Add sh*-*-linux* cases.
6316 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6318 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
6319 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
6320 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
6321 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
6322 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
6323 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
6325 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
6326 instead of KERNEL_MATH_EMULATION.
6327 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
6328 KERNEL_MATH_EMULATION.
6330 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
6331 * sysdeps/sh/sh3/dl-machine.h: Moved to...
6332 * sysdeps/sh/dl-machine.h: ...here. New file.
6333 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
6334 and include generic SH version.
6335 * sysdeps/sh/sh3/bits/endian.h: Move to...
6336 * sysdeps/sh/bits/endian.h: ...here. New file.
6337 * sysdeps/sh/sh4/bits/endian.h: Removed.
6338 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
6339 * sysdeps/sh/bits/huge_val.h: ...here. New file.
6340 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
6342 * include/libc-symbols.h (link_warning): Work around a change in
6343 GAS which warns about changing section attributes.
6344 Proposed by Nick Clifton <nickc@redhat.com>.
6346 2000-06-12 H.J. Lu <hjl@gnu.org>
6348 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
6350 2000-06-11 H.J. Lu <hjl@gnu.org>
6352 * sysdeps/i386/fpu/Versions: New file.
6354 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6356 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
6358 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
6361 2000-06-12 Jes Sorensen <jes@linuxcare.com>
6363 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
6364 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
6365 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
6367 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
6368 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
6369 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
6371 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6372 Yutaka Niibe <gniibe@chroot.org>
6374 * sysdeps/sh/Dist: New file.
6375 * sysdeps/sh/Implies: New file.
6376 * sysdeps/sh/elf/initfini.c: New file.
6377 * sysdeps/sh/gmp-mparam.h: New file.
6378 * sysdeps/sh/init-first.c: New file.
6379 * sysdeps/sh/machine-gmon.h: New file.
6380 * sysdeps/sh/memcpy.S: New file.
6381 * sysdeps/sh/memprof.h: New file.
6382 * sysdeps/sh/memset.S: New file.
6383 * sysdeps/sh/sh3/__longjmp.S: New file.
6384 * sysdeps/sh/sh3/bits/endian.h: New file.
6385 * sysdeps/sh/sh3/bits/huge_val.h: New file.
6386 * sysdeps/sh/sh3/bits/setjmp.h: New file.
6387 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
6388 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
6389 * sysdeps/sh/sh3/dl-machine.h: New file.
6390 * sysdeps/sh/sh3/setjmp.S: New file.
6391 * sysdeps/sh/sh4/__longjmp.S: New file.
6392 * sysdeps/sh/sh4/bits/endian.h: New file.
6393 * sysdeps/sh/sh4/bits/huge_val.h: New file.
6394 * sysdeps/sh/sh4/bits/setjmp.h: New file.
6395 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
6396 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
6397 * sysdeps/sh/sh4/dl-machine.h: New file.
6398 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
6399 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
6400 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
6401 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
6402 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
6403 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
6404 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
6405 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
6406 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
6407 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
6408 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
6409 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
6410 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
6411 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
6412 * sysdeps/sh/sh4/setjmp.S: New file.
6413 * sysdeps/sh/elf/start.S: New file.
6414 * sysdeps/sh/sys/ucontext.h: New file.
6415 * sysdeps/sh/strlen.S: New file.
6416 * sysdeps/sh/sysdep.h: New file.
6417 * sysdeps/unix/sh/sysdep.S: New file.
6418 * sysdeps/unix/sh/sysdep.h: New file.
6419 * sysdeps/unix/sysv/linux/sh/Dist: New file.
6420 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
6421 * sysdeps/unix/sysv/linux/sh/Versions: New file.
6422 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
6423 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
6424 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
6425 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
6426 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
6427 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
6428 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
6429 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
6430 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
6431 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
6432 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
6433 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
6434 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
6435 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
6436 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
6437 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
6438 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
6439 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
6440 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
6441 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
6442 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
6443 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
6444 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
6445 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
6446 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
6447 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
6448 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
6449 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
6450 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
6451 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
6452 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
6453 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
6454 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
6455 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
6456 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
6457 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
6458 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
6459 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
6460 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
6461 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
6462 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6463 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
6464 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
6465 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
6466 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
6467 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
6468 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
6470 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6472 * Rules (%.out): Define GCONV_PATH in the environment.
6473 * assert/Depend: New file.
6474 * iconvdata/Depend: New file.
6475 * intl/Depend: New file.
6476 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
6477 * intl/tst-gettext.sh: Likewise.
6478 * iconv/Makefile (routines): Add gconv_trans.
6479 * iconv/gconv_trans.c: New file.
6480 * iconv/gconv.h (struct __gconv_trans_data): New type.
6481 (__gconv_fct): New parameter with starting position in output buffer.
6482 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
6483 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
6484 (struct __gconv_step): Add new member __trans.
6485 * iconv/gconv_int.h: Pretty print prototypes.
6486 (gconv_transliterate): New prototype.
6487 (__BUILTIN_TRANS): Update for new conversion function interface.
6488 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
6489 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
6490 in names, find appropriate function, and install in the conversion
6491 steps it can be used.
6492 * iconv/skeleton.c: Add additional parameter for beginning of output
6493 buffer. Change calls of downstream functions.
6494 * iconv/loop.c: Change loop function interface completely. Pass in
6495 step and step_data structure. Remove optimization for BODY with
6496 NEED_LENGTH_TEST == 0.
6497 * iconv/gconv_simple.c: Update interfaces of functions. Insert
6498 appropriate error handling code to use transliteration steps. Remove
6499 optimization for BODY with NEED_LENGTH_TEST == 0.
6500 * iconvdata/8bit-gap.c: Likewise.
6501 * iconvdata/8bit-generic.c: Likewise.
6502 * iconvdata/ansi_x3.110.c: Likewise.
6503 * iconvdata/big5.c: Likewise.
6504 * iconvdata/big5hkscs.c: Likewise.
6505 * iconvdata/euc-cn.c: Likewise.
6506 * iconvdata/euc-jp.c: Likewise.
6507 * iconvdata/euc-kr.c: Likewise.
6508 * iconvdata/euc-tw.c: Likewise.
6509 * iconvdata/gbgbk.c: Likewise.
6510 * iconvdata/gbk.c: Likewise.
6511 * iconvdata/iso-2022-cn.c: Likewise.
6512 * iconvdata/iso-2022-jp.c: Likewise.
6513 * iconvdata/iso-2022-kr.c: Likewise.
6514 * iconvdata/iso646.c: Likewise.
6515 * iconvdata/iso8859-1.c: Likewise.
6516 * iconvdata/iso_6937-2.c: Likewise.
6517 * iconvdata/iso_6937.c: Likewise.
6518 * iconvdata/johab.c: Likewise.
6519 * iconvdata/sjis.c: Likewise.
6520 * iconvdata/t.61.c: Likewise.
6521 * iconvdata/uhc.c: Likewise.
6522 * iconvdata/unicode.c: Likewise.
6523 * iconvdata/utf-16.c: Likewise.
6524 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
6526 * wcsmbs/btowc.c: Likewise.
6527 * wcsmbs/mbrtowc.c: Likewise.
6528 * wcsmbs/mbsnrtowcs.c: Likewise.
6529 * wcsmbs/mbsrtowcs.c: Likewise.
6530 * wcsmbs/wcrtomb.c: Likewise.
6531 * wcsmbs/wcsnrtombs.c: Likewise.
6532 * wcsmbs/wcsrtombs.c: Likewise.
6533 * wcsmbs/wctob.c: Likewise.
6535 2000-04-11 Geoff Keating <geoffk@cygnus.com>
6537 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
6538 other header files. Mention about 128-byte cache line sizes.
6539 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
6540 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
6541 for current calling sequence.
6542 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
6544 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
6545 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6547 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
6548 and setrlimit syscalls for backwards compatibility.
6550 2000-06-10 Ulrich Drepper <drepper@redhat.com>
6552 * iconv/skeleton.c: Rename converted written to correcter name
6554 * iconv/gconv.c: Rename converted variable to correcter name
6556 * iconv/gconv_int.h: Likewise.
6557 * iconv/gconv_simple.c: Likewise.
6558 * iconv/iconv.c: Likewise.
6559 * iconv/loop.c: Likewise.
6560 * iconvdata/8bit-gap.c: Likewise.
6561 * iconvdata/8bit-generic.c: Likewise.
6562 * iconvdata/ansi_x3.110.c: Likewise.
6563 * iconvdata/big5.c: Likewise.
6564 * iconvdata/big5hkscs.c: Likewise.
6565 * iconvdata/euc-cn.c: Likewise.
6566 * iconvdata/euc-jp.c: Likewise.
6567 * iconvdata/euc-kr.c: Likewise.
6568 * iconvdata/gbgbk.c: Likewise.
6569 * iconvdata/gbk.c: Likewise.
6570 * iconvdata/iso-2022-cn.c: Likewise.
6571 * iconvdata/iso-2022-jp.c: Likewise.
6572 * iconvdata/iso-2022-kr.c: Likewise.
6573 * iconvdata/iso646.c: Likewise.
6574 * iconvdata/iso8859-1.c: Likewise.
6575 * iconvdata/iso_6937-2.c: Likewise.
6576 * iconvdata/iso_6937.c: Likewise.
6577 * iconvdata/johab.c: Likewise.
6578 * iconvdata/sjis.c: Likewise.
6579 * iconvdata/t.61.c: Likewise.
6580 * iconvdata/uhc.c: Likewise.
6581 * iconvdata/unicode.c: Likewise.
6582 * iconvdata/utf-16.c: Likewise.
6584 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
6585 __cmsg_data field with __extension__.
6587 2000-06-10 David Mosberger <davidm@hpl.hp.com>
6589 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
6591 2000-06-10 Ulrich Drepper <drepper@redhat.com>
6593 * iconv/gconv_simple.c: Fix various small bugs in several
6596 * iconv/loop.c: Fix comment.
6598 2000-06-10 Jakub Jelinek <jakub@redhat.com>
6600 * elf/link.h: Remove libc internal declarations.
6601 * include/link.h: Move them here.
6603 2000-06-09 Ulrich Drepper <drepper@redhat.com>
6605 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
6606 Patch by Dan Pop <Dan.Pop@cern.ch>.
6608 Rewrite error message handling.
6609 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
6611 * elf/dl-error (struct catch): Add objname member.
6612 (_dl_signal_error): Take new parameter with object name. When
6613 passing message on simply store object name and duplicate error
6615 (_dl_catch_error): Take new parameter. Store object name in the
6617 * include/dlfcn.h: Adjust _dl_catch_error prototype.
6618 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
6619 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
6620 (dlerror): Add objname to asprintf() parameters.
6621 (_dl_error_run): Pass new parameter to _dl_catch_error.
6622 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
6623 * elf/dl-open.c (_dl_open): Likewise.
6624 * elf/rtld.c (dl_main): Likewise.
6625 * elf/dl-close.c: Mark error messages with N_().
6626 * elf/dl-deps.c: Likewise.
6627 * elf/dl-error.c: Likewise.
6628 * elf/dl-load.c: Likewise.
6629 * elf/dl-open.c: Likewise.
6630 * elf/dl-reloc.c: Likewise.
6631 * elf/dl-support.c: Likewise.
6632 * elf/dl-sym.c: Likewise.
6633 * elf/dl-version.c: Likewise.
6634 * elf/dl-lookup.c: Add comments about problems with error message
6636 * elf/dl-reloc.c: Likewise.
6637 * elf/dl-version.c: Likewise.
6639 2000-06-09 H.J. Lu <hjl@gnu.org>
6641 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
6644 * dlfcn/Makefile (distribute): Add failtestmod.c.
6645 (tests): Add failtest.
6646 Add rules to build and run failtest.
6647 * dlfcn/failtest.c: New file.
6648 * dlfcn/failtestmod.c: New file.
6650 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
6652 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
6653 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
6654 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
6655 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
6656 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
6658 2000-06-09 Jes Sorensen <jes@linuxcare.com>
6660 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
6661 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
6663 2000-06-09 Jes Sorensen <jes@linuxcare.com>
6664 Ulrich Drepper <drepper@redhat.com>
6666 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
6667 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
6668 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
6669 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
6670 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
6671 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
6673 2000-06-09 Ulrich Drepper <drepper@redhat.com>
6675 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
6676 to find correct mount point despite wrong information from the
6679 2000-06-09 Jes Sorensen <jes@linuxcare.com>
6681 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
6682 the address of a symbol so function pointers are handled properly.
6684 2000-06-08 Ulrich Drepper <drepper@redhat.com>
6686 * sysdeps/i386/Dist: Add bp-asm.h.
6688 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
6689 defaultdir variable instead of "/var/shm" everywhere.
6690 (defaultdir): Change to /dev/shm/.
6692 2000-06-08 Greg McGary <greg@mcgary.org>
6694 * sysdeps/i386/bp-asm.h: New file.
6695 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
6696 offsets. Add ENTER/LEAVE macros for optionally maintaining
6697 frame-pointer chain when debugging.
6698 * sysdeps/i386/add_n.S: Likewise.
6699 * sysdeps/i386/addmul_1.S: Likewise.
6700 * sysdeps/i386/lshift.S: Likewise.
6701 * sysdeps/i386/memchr.S: Likewise.
6702 * sysdeps/i386/memcmp.S: Likewise.
6703 * sysdeps/i386/mul_1.S: Likewise.
6704 * sysdeps/i386/rawmemchr.S: Likewise.
6705 * sysdeps/i386/rshift.S: Likewise.
6706 * sysdeps/i386/stpcpy.S: Likewise.
6707 * sysdeps/i386/stpncpy.S: Likewise.
6708 * sysdeps/i386/strchr.S: Likewise.
6709 * sysdeps/i386/strchrnul.S: Likewise.
6710 * sysdeps/i386/strcspn.S: Likewise.
6711 * sysdeps/i386/strpbrk.S: Likewise.
6712 * sysdeps/i386/strrchr.S: Likewise.
6713 * sysdeps/i386/strspn.S: Likewise.
6714 * sysdeps/i386/strtok.S: Likewise.
6715 * sysdeps/i386/sub_n.S: Likewise.
6716 * sysdeps/i386/submul_1.S: Likewise.
6717 * sysdeps/i386/elf/setjmp.S: Likewise.
6718 * sysdeps/i386/i486/strcat.S: Likewise.
6719 * sysdeps/i386/i486/strlen.S: Likewise.
6720 * sysdeps/i386/i586/add_n.S: Likewise.
6721 * sysdeps/i386/i586/lshift.S: Likewise.
6722 * sysdeps/i386/i586/memcpy.S: Likewise.
6723 * sysdeps/i386/i586/memset.S: Likewise.
6724 * sysdeps/i386/i586/rshift.S: Likewise.
6725 * sysdeps/i386/i586/strchr.S: Likewise.
6726 * sysdeps/i386/i586/strcpy.S: Likewise.
6727 * sysdeps/i386/i586/strlen.S: Likewise.
6728 * sysdeps/i386/i586/sub_n.S: Likewise.
6729 * sysdeps/i386/i686/add_n.S: Likewise.
6730 * sysdeps/i386/i686/memcpy.S: Likewise.
6731 * sysdeps/i386/i686/mempcpy.S: Likewise.
6732 * sysdeps/i386/i686/memset.S: Likewise.
6733 * sysdeps/i386/i686/strcmp.S: Likewise.
6735 2000-06-08 Ulrich Drepper <drepper@redhat.com>
6737 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
6739 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
6740 256 and don't use OPEN_MAX.
6742 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
6743 use it instead of LINK_MAX.
6744 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
6746 2000-06-08 Andreas Jaeger <aj@suse.de>
6748 * libio/genops.c (_IO_list_lock): Only compile body if we're
6750 (_IO_list_unlock): Likewise.
6751 (_IO_list_resetlock): Likewise.
6753 2000-06-07 Ulrich Drepper <drepper@redhat.com>
6755 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
6756 unless user defined it.
6758 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
6759 if not defined by the user.
6761 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
6762 * libio/iofwrite.c (_IO_fwrite): Likewise.
6764 * time/time.h: Add missing __THROW for clock_getcpuclockid
6767 * elf/Makefile (distribute): Add dl-dtprocnum.h.
6768 * include/elf.h: Include also <dl-dtprocnum.h>.
6769 * elf/dl-deps.c: Likewise.
6770 * elf/dl-lookup.c: Likewise.
6771 * elf/dl-runtime.c: Likewise.
6772 * elf/dl-version.c: Likewise.
6773 * elf/do-rel.h: Likewise.
6774 * elf/dynamic-link.h: Likewise.
6775 * elf/link.h: Likewise.
6776 * elf/rtld.c: Likewise.
6777 * sysdeps/generic/dl-dtprocnum.h: New file.
6778 * sysdeps/ia64/dl-dtprocnum.h: New file.
6779 * sysdeps/mips/dl-dtprocnum.h: New file.
6780 * sysdeps/sparc/dl-dtprocnum.h: New file.
6782 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
6784 * elf/do-lookup.h: Add some __builtin_expect.
6786 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
6788 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
6789 (_dl_dynamic_weak): New variable.
6790 * elf/dl-support.c: Likewise.
6791 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
6792 * elf/do-lookup.h: If we find a weak definition treat it like a
6793 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
6794 case treat it like before.
6796 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
6798 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
6800 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
6801 using l_map_start and l_map_end.
6803 * elf/dl-version.c: Add __builtin_expect in many places.
6805 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
6808 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
6810 Lock for stdio stream list becomes global, for use in LinuxThreads.
6812 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
6813 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
6814 _IO_list_resetlock): New interface for iterating global list of
6815 streams without accessing the _IO_list_all global variable,
6816 and for manipulating the lock which protects this list.
6817 * libio/libioP.h: Likewise.
6818 * libio/Version: Add entries for the new functions.
6820 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
6821 pointer to _IO_FILE.
6823 2000-06-07 Ulrich Drepper <drepper@redhat.com>
6825 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
6826 BIT() must actually be BITw().
6828 * locale/programs/ld-ctype.c: Handle SP and space consistently.
6830 * locale/programs/charmap.c: Allow string arguments for
6831 code_set_name and repertoiremap.
6833 2000-06-07 Andreas Jaeger <aj@suse.de>
6835 * elf/Makefile: Build ldconfig only when building shared libraries.
6837 2000-06-07 Jakub Jelinek <jakub@redhat.com>
6839 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
6841 (fdimf, __fdim, fdim): Likewise.
6843 2000-06-07 Ulrich Drepper <drepper@redhat.com>
6845 * locale/findlocale.c: Add __builtin_expect in many places.
6846 * locale/loadlocale.c: Likewise.
6848 2000-06-06 Greg McGary <greg@mcgary.org>
6850 * sysdeps/mips/elf/start.S: Trim redundant code.
6852 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
6853 Use C comments throughout. Line up operands column with tabs.
6854 * sysdeps/powerpc/strchr.S: Likewise.
6855 * sysdeps/powerpc/strcmp.S: Likewise.
6856 * sysdeps/powerpc/strcpy.S: Likewise.
6857 * sysdeps/powerpc/strlen.S: Likewise.
6859 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
6860 Get low part of &__curbrk with @l.
6862 2000-06-06 Ulrich Drepper <drepper@redhat.com>
6864 * iconvdata/utf-16.c: Add __builtin_expect in many places.
6865 * iconvdata/unicode.c: Likewise.
6866 * iconvdata/uhc.c: Likewise.
6867 * iconvdata/t.61.c: Likewise.
6868 * iconvdata/sjis.c: Likewise.
6869 * iconvdata/johab.c: Likewise.
6870 * iconvdata/iso_6937.c: Likewise.
6871 * iconvdata/iso_6937-2.c: Likewise.
6872 * iconvdata/iso8859-1.c: Likewise.
6873 * iconvdata/iso646.c: Likewise.
6874 * iconvdata/iso-2022-kr.c: Likewise.
6875 * iconvdata/iso-2022-jp.c: Likewise.
6876 * iconvdata/iso-2022-cn.c: Likewise.
6877 * iconvdata/gbgbk.c: Likewise.
6878 * iconvdata/gbk.c: Likewise.
6879 * iconvdata/euc-kr.c: Likewise.
6880 * iconvdata/euc-jp.c: Likewise.
6881 * iconvdata/euc-cn.c: Likewise.
6883 2000-06-05 Ulrich Drepper <drepper@redhat.com>
6885 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
6886 * iconvdata/big5.c: Likewise.
6887 * iconvdata/ansi_x3.110.c: Likewise.
6888 * iconvdata/8bit-generic.c: Likewise.
6889 * iconvdata/8bit-gap.c: Likewise.
6890 * iconv/loop.c: Likewise.
6891 * iconv/gconv_db.c: Likewise.
6892 * iconv/gconv_dl.c: Likewise.
6893 * iconv/gconv_simple.c: Likewise.
6894 * iconv/skeleton.c: Likewise.
6896 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
6897 (struct __gconv_step_data): Rename __is_last to __flags.
6898 * iconv/gconv_close.c: Change all uses of __is_last.
6899 * iconv/skeleton.c: Likewise.
6900 * iconvdata/iso-2022-cn.c: Likewise.
6901 * iconvdata/iso-2022-jp.c: Likewise.
6902 * iconvdata/iso-2022-kr.c: Likewise.
6903 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
6904 Recognize IGNORE error handling, set flag, and remove from name.
6905 * iconv/loop.c (ignore_errors_p): Define.
6906 Add flags parameter to both functions.
6907 * iconv/skeleton.c: Pass flags to all conversion functions.
6908 * iconv/gconv_simple.c: Add flags parameter to all functions.
6909 Don't return error for invald error if ignore flag is set.
6910 (ucs4_internal_loop_single): Add missing pointer increment.
6911 (internal_ucs4le_loop_single): Likewise.
6912 * iconv/iconv_prog.c: Implement handling of -c parameter.
6913 * iconvdata/8bit-gap.c: Don't return error for invald error if
6915 * iconvdata/8bit-generic.c: Likewise.
6916 * iconvdata/ansi_x3.110.c: Likewise.
6917 * iconvdata/big5.c: Likewise.
6918 * iconvdata/big5hkscs.c: Likewise.
6919 * iconvdata/euc-cn.c: Likewise.
6920 * iconvdata/euc-jp.c: Likewise.
6921 * iconvdata/euc-kr.c: Likewise.
6922 * iconvdata/gbgbk.c: Likewise.
6923 * iconvdata/gbk.c: Likewise.
6924 * iconvdata/iso-2022-cn.c: Likewise.
6925 * iconvdata/iso-2022-jp.c: Likewise.
6926 * iconvdata/iso-2022-kr.c: Likewise.
6927 * iconvdata/iso646.c: Likewise.
6928 * iconvdata/iso8859-1.c: Likewise.
6929 * iconvdata/iso_6937-2.c: Likewise.
6930 * iconvdata/iso_6937.c: Likewise.
6931 * iconvdata/johab.c: Likewise.
6932 * iconvdata/sjis.c: Likewise.
6933 * iconvdata/t.61.c: Likewise.
6934 * iconvdata/uhc.c: Likewise.
6935 * iconvdata/unicode.c: Likewise.
6936 * iconvdata/utf-16.c: Likewise.
6937 * libio/fileops.c: Likewise.
6938 * libio/iofwide.c: Likewise.
6939 * wcsmbs/btowc.c: Likewise.
6940 * wcsmbs/mbrtowc.c: Likewise.
6941 * wcsmbs/mbsnrtowcs.c: Likewise.
6942 * wcsmbs/mbsrtowcs.c: Likewise.
6943 * wcsmbs/wcrtomb.c: Likewise.
6944 * wcsmbs/wcsnrtombs.c: Likewise.
6945 * wcsmbs/wcsrtombs.c: Likewise.
6946 * wcsmbs/wctob.c: Likewise.
6948 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
6951 2000-06-04 Ulrich Drepper <drepper@redhat.com>
6953 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
6954 counter for the object we are releasing, just decrement it.
6955 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
6957 2000-06-04 Jakub Jelinek <jakub@redhat.com>
6959 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
6962 2000-06-04 Ulrich Drepper <drepper@redhat.com>
6964 * iconvdata/big5hkscs.c: New file.
6965 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
6967 * iconvdata/gconv-modules: Add entry for new module.
6968 * iconvdata/Makefile (modules): Add BIG5HKSCS.
6969 (distribute): Add big5hkscs.c.
6971 2000-06-01 Jakub Jelinek <jakub@redhat.com>
6973 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
6974 inlines to match prototypes in mathcalls.h.
6975 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
6976 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
6977 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
6978 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6980 2000-06-03 Ulrich Drepper <drepper@redhat.com>
6982 * elf/elf.h (SHT_SUNW_move): Define.
6984 * elf/elf.h: Add more Solaris compatiblity definitions.
6986 2000-06-03 Andreas Jaeger <aj@suse.de>
6988 * sysdeps/powerpc/dl-start.S: Close open comment.
6990 2000-06-03 Jakub Jelinek <jakub@redhat.com>
6992 * inet/Versions: Fix typo in rresvport_af export.
6994 2000-06-02 Ulrich Drepper <drepper@redhat.com>
6996 * math/tgmath.h: Pretty print.
6998 2000-06-02 Andreas Jaeger <aj@suse.de>
7000 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
7001 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7003 2000-06-02 Ulrich Drepper <drepper@redhat.com>
7005 * elf/rtld.c (process_envvars): Test for = after variable name.
7007 2000-06-01 Ulrich Drepper <drepper@redhat.com>
7009 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
7010 have extra call to __gmon_start__, use the pointer we already have.
7012 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
7015 * sysdeps/i386/elf/setjmp.S: Work around change is recent
7016 binutils. gas now emits a jump through the PLT instead of a
7017 relative jump if the jump target is an exported symbol.
7019 2000-05-31 Ulrich Drepper <drepper@redhat.com>
7021 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
7023 2000-05-31 Andreas Jaeger <aj@suse.de>
7025 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
7028 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
7029 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7031 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
7033 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
7035 2000-05-30 Ulrich Drepper <drepper@redhat.com>
7037 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
7039 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
7040 * locale/localeconv.c: Make function versioned (with same definition).
7042 * elf/Makefile (modules-names): Strip before using it.
7044 2000-05-30 Andreas Jaeger <aj@suse.de>
7046 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
7047 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
7048 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
7049 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
7050 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
7051 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
7053 2000-05-29 Ulrich Drepper <drepper@redhat.com>
7055 * Makefile: Add GNU make magic.
7057 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
7059 * inet/rcmd.c: Remove __P. Remove unused variables.
7060 (iruserfopen): Make first parameter const.
7061 (ruserok_sa): Return result of ruserok2_sa.
7062 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
7063 * inet/rexec.c: Remove unused variables. Other small cleanups.
7064 * inet/ruserpass.c: Remove __P. Remove unused variables.
7065 (ruserpass): Check results of memory allocation.
7066 * include/netdb.h: Add prototype for ruserpass.
7068 2000-05-29 Andreas Jaeger <aj@suse.de>
7070 * elf/readlib.c (interpreters): Use LD_SO since this is supported
7073 2000-05-29 Jakub Jelinek <jakub@redhat.com>
7075 * inet/rcmd.c (rresvport_af): Use correct port number.
7077 2000-05-26 Andreas Schwab <schwab@suse.de>
7079 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
7080 entries in all-sonames.
7081 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
7082 preserving the old name if different for compatibility.
7084 2000-05-29 Ulrich Drepper <drepper@redhat.com>
7086 * posix/Makefile (tests): Add tst-spawn.
7087 (tst-spawn-ARGS): New variable.
7088 * posix/tst-spawn.c: New file.
7090 * posix/spawn_faction_addclose.c: Correctly account for new entry.
7091 * posix/spawn_faction_adddup2.c: Likewise.
7092 * posix/spawn_faction_addopen.c: Likewise.
7093 * posix/spawni.c: Correctly test for success of dup2 calls.
7095 * posix/tst-preadwrite.c: Check success of malloc call.
7097 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7099 * posix/Makefile (tests): Add tst-exec.
7100 (tst-exec-ARGS): New variable.
7101 * posix/tst-exec.c: New file.
7103 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
7105 2000-05-04 Andreas Jaeger <aj@suse.de>
7107 * string/string.h: Remove __strdup prototype, it's not needed in
7110 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7112 * posix/Makefile (tests): Add tst-fork.
7113 * posix/tst-fork.c: New file.
7115 * resolv/inet_pton.c: Loose __P.
7117 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7119 * libio/libioP.h (_IO_CHECK_WIDE): Define.
7120 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
7121 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
7122 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
7123 _IO_CHECK_WIDE fails.
7125 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7127 * po/da.po: New file.
7129 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
7130 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
7132 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
7133 (Other iconv Implementations): Fix typo.
7134 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
7136 2000-05-27 Andreas Jaeger <aj@suse.de>
7138 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
7140 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
7141 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
7142 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7143 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7144 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
7145 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
7147 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
7148 endianness to decide how to pass arguments.
7149 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7151 * elf/vismain.c: Use test-skeleton interface.
7152 (TEST_FUNCTION): New macro.
7153 (do_test): Renamed from main.
7155 2000-05-27 Ulrich Drepper <drepper@redhat.com>
7157 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
7158 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
7160 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
7161 handling of AI_V4MAPPED flag.
7163 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
7164 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
7165 perform lookup for T_A type and tell getanswer_r to convert the
7166 result with new argument.
7167 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
7168 Don't convert addresses from IPv4 to IPv6 here.
7169 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
7170 IPv6 is wanted. Allow qtype and type from reply to disagree if
7171 IPv4 mapping has to be done. Perform mappings if required by the
7172 caller and not if RES_USE_INET6 bit in _res.options is set.
7173 Add several __builtin_expect.
7175 2000-05-26 Ulrich Drepper <drepper@redhat.com>
7177 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
7179 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
7182 * posix/tst-preadwrite.c: Allow parallel execution of
7183 tst-preadwrite and tst-preadwrite64.
7185 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
7186 * posix/tst-truncate.c: New file.
7187 * posix/tst-truncate64.c: New file.
7189 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
7192 * posix/Makefile (tests): Add tst-preadwrite64.
7193 * posix/tst-preadwrite.c: Alloc file being used also for testing
7194 pread64 and pwrite64.
7195 * posix/tst-preadwrite64.c: New file.
7197 2000-05-26 Andreas Jaeger <aj@suse.de>
7199 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
7200 of arguments dependend on endianness.
7201 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
7203 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
7205 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
7206 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
7207 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7208 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7210 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
7211 endianness to check how to pass argument.
7212 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7214 * elf/ldconfig.h: Update parameter list for process_elf_file.
7216 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
7217 Add parameter file_length and pass it ot process_elf*file.
7219 * sysdeps/generic/readelflib.c (check_ptr): New.
7220 (process_elf_file): Use check_ptr to check all accesses to the
7221 mmapped file. Add parameter file_length.
7223 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
7226 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
7227 Closes PR libc/1573, reported by Bradley White
7228 <bww@laurelnetworks.com>.
7230 2000-05-25 Ulrich Drepper <drepper@redhat.com>
7232 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
7233 __FAST_MATH__ is defined.
7235 2000-05-22 Andreas Jaeger <aj@suse.de>
7237 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
7238 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
7240 * manual/math.texi (FP Function Optimizations): Document gcc
7241 -ffast-math behaviour with mathinlines.
7243 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
7244 functions unless -ffast-math is given to gcc.
7246 2000-05-23 Jakub Jelinek <jakub@redhat.com>
7248 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
7249 __sincosl): Guard with __USE_GNU.
7251 2000-05-24 Ulrich Drepper <drepper@redhat.com>
7253 * csu/Makefile (routines): Add check_fds.
7254 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
7255 binaries. Add various __builtin_expect.
7256 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
7257 * sysdeps/generic/check_fds.c: ...here. New file.
7259 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
7260 binaries if file /etc/suid-debug is available.
7262 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
7263 and wcseqorder members.
7264 (struct locale_collate_t): Likewise.
7265 (collate_finish): Assign collation sequence value to each character.
7266 Create tables for output.
7267 (collate_output): Write out tables with collation sequence information.
7268 * locale/C-collate.c: Provide C locale data for collation sequence
7270 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
7271 _NL_COLLATE_COLLSEQWC.
7272 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
7273 _NL_COLLATE_COLLSEQWC.
7274 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
7275 include fnmatch_loop.c.
7276 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
7277 character is matched by range expression. Use collation sequence
7278 table. Outside glibc fall back on simple character value comparison.
7280 2000-05-24 Andreas Jaeger <aj@suse.de>
7282 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
7285 * intl/Makefile: Run gettext-test only if msgfmt is available.
7287 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
7288 Define it for newer kernels.
7290 2000-05-23 Ulrich Drepper <drepper@redhat.com>
7292 * elf/dl-sym.c: Minor cleanups.
7294 * configure.in: Add test for .protected.
7295 * config.make.in: Add have-protected variable.
7296 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
7297 (tests-vis-yes): Add vismain.
7298 (modules-names): Add $(modules-vis-$(have-protected)).
7299 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
7300 Add rules to generate and run vismain.
7301 * elf/vismain.c: New file.
7302 * elf/vismod1.c: New file.
7303 * elf/vismod2.c: New file.
7304 * elf/vismod3.c: New file.
7306 2000-05-23 Andreas Jaeger <aj@suse.de>
7308 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
7310 * manual/search.texi (Array Sort Function): Document that qsort is
7311 not necessarily in-place.
7313 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
7314 Closes PR libc/1731.
7316 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
7317 * dirent/scandir64.c: Likewise.
7318 * pwd/getpw.c: Likewise.
7319 * stdlib/bsearch.c (bsearch): Likewise.
7320 * stdlib/tst-strtoll.c: Likewise.
7321 * localedata/collate-test.c: Likewise.
7322 * localedata/xfrm-test.c: Likewise.
7323 * posix/bsd-getpgrp.c: Likewise.
7324 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
7325 * sysdeps/generic/bits/siginfo.h: Likewise.
7326 * sysdeps/generic/bits/sockaddr.h: Likewise.
7327 * sysdeps/generic/sys/swap.h: Likewise.
7328 * sysdeps/generic/sys/sysinfo.h: Likewise.
7329 * sysdeps/generic/vfork.c: Likewise.
7330 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
7331 * sysdeps/mach/hurd/fdopen.c: Likewise.
7332 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
7333 * sysdeps/unix/sysv/linux/poll.c: Likewise.
7334 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7335 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7336 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7337 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7338 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
7340 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
7341 * shadow/lckpwdf.c: Likewise.
7342 * stdlib/tst-strtol.c: Likewise.
7343 * sysdeps/generic/tcsetattr.c: Likewise.
7344 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7345 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7347 2000-05-22 Jakub Jelinek <jakub@redhat.com>
7349 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
7350 free it and set to (void *) -1.
7352 2000-05-22 Jakub Jelinek <jakub@redhat.com>
7354 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
7355 not the second character in the range.
7356 * stdio-common/tstscanf.c (main): Add testcase for the above.
7357 Reported by jik@kamens.brookline.ma.us.
7359 2000-05-21 H.J. Lu <hjl@gnu.org>
7361 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
7362 with noexec and noplt parameter.
7363 (do_lookup): Likewise.
7365 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
7366 do_lookup. Support STV_PROTECTED.
7367 (_dl_lookup_symbol_skip): Likewise.
7368 (_dl_lookup_versioned_symbol): Likewise.
7369 (_dl_lookup_versioned_symbol_skip): Likewise.
7371 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
7373 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
7375 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7377 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
7378 * sysdeps/i386/bits/huge_val.h: Likewise.
7379 * sysdeps/ieee754/bits/huge_val.h: Likewise.
7380 * sysdeps/m68k/bits/huge_val.h: Likewise.
7381 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
7382 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
7384 2000-05-22 Andreas Jaeger <aj@suse.de>
7386 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
7389 2000-05-19 Andreas Jaeger <aj@suse.de>
7391 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
7392 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
7393 breaks compilation without linuxthreads.
7395 2000-05-21 Ulrich Drepper <drepper@redhat.com>
7397 * sysdeps/ia64/memccpy.S: New file.
7398 * sysdeps/ia64/memchr.S: New file.
7399 * sysdeps/ia64/memcmp.S: New file.
7400 * sysdeps/ia64/memcpy.S: New file.
7401 * sysdeps/ia64/memmove.S: New file.
7402 * sysdeps/ia64/memset.S: New file.
7403 * sysdeps/ia64/strcat.S: New file.
7404 * sysdeps/ia64/strchr.S: New file.
7405 * sysdeps/ia64/strcmp.S: New file.
7406 * sysdeps/ia64/strcpy.S: New file.
7407 * sysdeps/ia64/strlen.S: New file.
7408 * sysdeps/ia64/strncmp.S: New file.
7409 * sysdeps/ia64/strncpy.S: New file.
7410 * sysdeps/ia64/softpipe.h: New file.
7411 Patches by Dan Pop <Dan.Pop@cern.ch>.
7413 * manual/memory.texi: Document memory handling functions (mlock,
7414 munlock, mlockall, munlockall, brk, and sbrk)
7415 * manual/time.texi: Document timespec and friends.
7416 * manual/conf.texi: Fix references.
7417 * manual/ctype.texi: Likewise.
7418 * manual/errno.texi: Likewise.
7419 * manual/intro.texi: Likewise.
7420 * manual/locale.texi: Likewise.
7421 * manual/sysinfo.texi: Likewise.
7422 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
7424 2000-05-09 Jes Sorensen <jes@linuxcare.com>
7426 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
7427 * sysdeps/ia64/dl-lookupcfg.h: ...here.
7429 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7431 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
7434 2000-05-21 Ulrich Drepper <drepper@redhat.com>
7436 * locale/locale.h (struct lconv): Add new elements from ISO C99.
7437 * locale/localeconv.c: Initialize new elements from ISO C99.
7438 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
7439 new standard elements.
7440 * locale/categories.def: Adjust accordingly.
7442 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
7443 * iconv/iconv.c: Likewise.
7444 * conform/data/iconv.h-data: Likewise.
7445 * iconv/iconv_prog.c (process_block): Remove const from second
7447 (main): Remove const from addr definition.
7448 * manual/charset.texi (Generic Conversion Interface): Remove from
7449 inbuf parameter of iconv.
7451 * intl/dcigettext.c: Fix typo in comment.
7453 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
7455 * resolv/res_libc.c (_res): Initialize _sock to -1.
7457 2000-05-18 Jakub Jelinek <jakub@redhat.com>
7459 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
7460 (fopencookie@@GLIBC_2.2): New.
7461 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
7462 (fopencookie@GLIBC_2.0): New.
7463 * libio/Versions: Add fopencookie to GLIBC_2.2.
7465 2000-05-18 Andreas Jaeger <aj@suse.de>
7467 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
7468 Closes PR libc/1731.
7470 * manual/arith.texi (Parsing of Integers): Fix typo.
7471 Closes PR libc/1744, reported by blp@gnu.org.
7473 2000-05-17 Jakub Jelinek <jakub@redhat.com>
7475 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
7476 __extension__ to hexadecimal floating constant notation.
7477 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
7479 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
7480 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
7482 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
7483 HUGE_VALL): Likewise.
7484 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
7485 HUGE_VALL): Likewise.
7486 (HUGE_VALL): Set to HUGE_VAL on sparc32.
7488 2000-05-17 Andreas Jaeger <aj@suse.de>
7490 * string/envz.h: Add pure attributes if possible.
7492 * string/argz.h: argz_count is a pure function.
7494 * string/strings.h: Add pure and const attributes if possible.
7496 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
7497 possibly searching through the whole memory.
7498 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
7500 2000-05-17 Jakub Jelinek <jakub@redhat.com>
7502 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
7504 (_dl_cache_check_flags): Likewise.
7505 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
7508 2000-05-17 Andreas Jaeger <aj@suse.de>
7510 * manual/creature.texi (Feature Test Macros): Remove paragraph
7511 since the description is wrong.
7512 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
7514 * scripts/config.sub: New version.
7515 * scripts/config.guess: Likewise.
7516 * manual/texinfo.tex: Likewise.
7518 * time/test_time.args: Removed.
7519 * time/Makefile (test_time-ARGS): Added contents here instead.
7521 * posix/tstgetopt.args: Removed.
7522 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
7524 * Rules: Allow arguments for test files to be specified in
7525 Makefile with testname-ARGS; remove rules with .args in it.
7527 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
7528 remove old bogus rule for opendir-tst1.args.
7530 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
7532 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
7533 into objdir. This allows a readonly sourcetree.
7534 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
7536 2000-05-16 Andreas Jaeger <aj@suse.de>,
7537 David Huggins-Daines <dhd@linuxcare.com>
7539 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
7540 cache_data in case of only new cache format correctly.
7542 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
7545 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
7546 struct cache_file_new.
7548 * elf/cache.c (save_cache): Fix str_offset if only new cache is
7551 * elf/cache.c (save_cache): Align struct new_file_cache.
7552 (print_cache): Likewise.
7554 2000-05-13 Jakub Jelinek <jakub@redhat.com>
7556 * elf/soinit.c (__libc_global_ctors): Move
7557 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
7558 * resolv/resolv.h (__res_state): Added __attribute__((const)).
7559 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
7560 variable, don't define it to __res_state call.
7562 2000-05-13 Andreas Jaeger <aj@suse.de>
7564 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
7566 (AF_PPPOX): Likewise.
7567 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
7568 (AF_PPPOX): Likewise.
7570 2000-05-12 Andreas Jaeger <aj@suse.de>
7572 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
7573 Reported by tmoestl@gmx.net, closes PR libc/1732.
7575 2000-05-11 Jan Hubicka <jh@suse.cz>
7577 * misc/sys/cdefs.h: Add support for pure attribute.
7579 * include/string.h: Add __attribute_pure__ to various functions.
7580 * string/string.h: Likewise.
7582 2000-05-10 Jakub Jelinek <jakub@redhat.com>
7584 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
7586 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7588 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
7590 2000-05-10 Jakub Jelinek <jakub@redhat.com>
7592 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
7593 at proper place. Compute the high nibble correctly.
7595 2000-05-09 Jakub Jelinek <jakub@redhat.com>
7597 * elf/ldconfig.c: Include elf.h.
7599 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
7600 (_dl_vsym): Likewise.
7601 Reported by Owen Taylor <otaylor@redhat.com>.
7603 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
7606 2000-05-08 Andreas Jaeger <aj@suse.de>
7608 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
7610 * intl/bindtextdom.c (set_binding_values): Add prototype.
7612 2000-05-08 Jakub Jelinek <jakub@redhat.com>
7614 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
7615 call to elf_machine_fixup_plt.
7616 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7617 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7619 2000-05-08 Jakub Jelinek <jakub@redhat.com>
7621 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
7622 they are not dlclose'd from underneath us.
7624 2000-05-08 Andreas Schwab <schwab@suse.de>
7626 * posix/execle.c: Fix size parameter of memcpy.
7628 2000-05-08 Andreas Schwab <schwab@suse.de>
7630 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
7631 getpagesize syscall if available.
7633 2000-05-08 Andreas Jaeger <aj@suse.de>
7635 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
7638 2000-05-08 Jakub Jelinek <jakub@redhat.com>
7640 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
7641 sizeof(struct link_map *) chunks, not in bytes.
7643 2000-05-07 Ulrich Drepper <drepper@redhat.com>
7645 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
7646 only needed for locale.
7647 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
7648 It's only needed for catgets.
7649 Patches by Greg McGary <gkm@eng.ascend.com>.
7651 2000-05-07 Mark Kettenis <kettenis@gnu.org>
7653 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
7654 Remove duplicate <errno.h> include. Remove inclusion of
7655 <libintl.h> and "nsswitch.h".
7656 (set_cloexec_flag): New function, broken out of dbopen.
7657 (dbopen): Changed return type to `enum
7658 nss_status'. Mostly rewritten to make sure that we do not report
7659 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
7660 (internal_setent): Change return type to nss_status.
7661 Document, and make sure that the function
7662 behaves accordingly. Make dynamically loading the database
7663 library really thread-safe and return NSS_STATUS_UNAVAIL if it
7665 (db_cursor): Return ENOMEM is memory allocation failed. Remove
7667 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
7669 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
7670 c_get function member.
7671 * nss/nss_db/nss_db.h: Add and tweak some comments.
7672 (DBT): Move typedef before NSS_DBC typedef.
7673 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
7675 2000-05-07 H.J. Lu <hjl@gnu.org>
7677 * csu/initfini.c: Moved to ....
7678 * sysdeps/generic/initfini.c: ...here.
7680 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
7682 2000-05-07 Ulrich Drepper <drepper@redhat.com>
7684 * manual/resource.texi: Document POSIX scheduling functions.
7685 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7687 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
7688 reading anything. Reported by Andries.Brouwer@cwi.nl.
7690 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
7691 for x since promotion in comparison might leads to unexpected
7692 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
7694 * iconv/Makefile (tests): Add tst-iconv1.
7695 * iconv/tst-iconv1.c: New file.
7696 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
7697 empty input buffer over full output buffer.
7698 (ucs4_internal_loop): Likewise.
7699 (ucs4_internal_loop_unaligned): Likewise.
7700 (internal_ucs4le_loop): Likewise.
7701 (internal_ucs4le_loop_unaligned): Likewise.
7702 (ucs4le_internal_loop): Likewise.
7703 (ucs4le_internal_loop_unaligned): Likewise.
7704 Reported by yaoz@nih.gov.
7706 2000-05-06 Bruno Haible <haible@clisp.cons.org>
7708 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
7709 returned != __GCONV_OK, there is nothing to clean up.
7711 2000-05-06 Bruno Haible <haible@clisp.cons.org>
7713 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
7714 OUTPUT_CHARSET environment variables.
7716 2000-05-06 Andreas Jaeger <aj@suse.de>
7718 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
7719 (struct cache_file_new): New.
7720 (struct file_entry): New (moved from cache.c).
7721 (struct cache_file): New (moved from cache.c).
7723 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
7724 from _dl_load_cache_lookup.
7725 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
7726 the different cache formats.
7727 New variable cache_new for new format.
7729 * elf/ldconfig.h: Change according to changes in cache.c and
7730 ldconfig.c; remove cache_libcmp; add opt_format.
7732 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
7733 stuff that's defined in those headers.
7734 Add hwcap to struct lib_entry.
7735 (opt_format): New variable to select cache format.
7736 (options): Add format parameter.
7737 (is_hwcap): New function.
7738 (path_hwcap): New function.
7739 (parse_opt): Handle new format parameter.
7740 (search_dir): Handle hwcap, search also subdirectories with hwcap.
7742 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
7743 ldconfig is part of glibc.
7744 Include dl-cache.h and remove stuff that's defined there.
7745 (struct cache_entry): Add new member hwcap.
7746 (print_entry): Print hwcap, cleanup a bit.
7747 (print_cache): Print new and old formats.
7748 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
7749 (save_cache): Save new and old formats.
7750 (add_to_cache): Handle hwcap.
7752 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
7753 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
7754 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
7755 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
7756 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
7757 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
7759 2000-05-05 Bruno Haible <haible@clisp.cons.org>
7761 * intl/dcigettext.c (alignof): New macro.
7762 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
7763 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
7766 2000-05-05 Bruno Haible <haible@clisp.cons.org>
7768 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
7771 2000-05-06 Ulrich Drepper <drepper@redhat.com>
7773 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
7774 (mempcpy): Correct typo is parameter list.
7776 2000-05-06 Andreas Jaeger <aj@suse.de>
7778 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
7779 functions unless -ffast-math is given to gcc.
7781 2000-05-06 Ulrich Drepper <drepper@redhat.com>
7783 * po/ko.po: Update from translation team.
7785 2000-05-05 Ulrich Drepper <drepper@redhat.com>
7787 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
7788 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
7789 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
7790 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
7791 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
7792 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
7794 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
7795 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
7796 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
7798 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
7799 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
7800 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
7801 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
7803 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
7804 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
7806 2000-05-05 Jes Sorensen <jes@linuxcare.com>
7808 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
7809 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
7811 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
7812 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
7814 * sysdeps/ia64/Implies: New file.
7815 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
7816 * sysdeps/ia64/Makefile: New file.
7817 * sysdeps/ia64/gmp-mparam.h: New file,
7819 * sysdeps/ia64/elf/start.S: New file.
7821 * sysdeps/ia64/bits/fenv.h: New file.
7823 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
7825 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
7827 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
7829 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
7830 ia64 has 64 bit .hash entries just as the Alpha.
7832 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
7834 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
7836 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
7838 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
7839 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
7840 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
7841 * sysdeps/ia64/fpu/fegetenv.c: New file.
7842 * sysdeps/ia64/fpu/fegetexcept.c: New file.
7843 * sysdeps/ia64/fpu/fegetround.c: New file.
7844 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
7845 * sysdeps/ia64/fpu/fesetenv.c: New file.
7846 * sysdeps/ia64/fpu/fesetround.c: New file.
7847 * sysdeps/ia64/fpu/feupdateenv.c: New file.
7848 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
7849 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
7850 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
7851 * sysdeps/ia64/fpu/ftestexcept.c: New file.
7853 2000-05-05 Andreas Jaeger <aj@suse.de>
7855 * misc/tst-tsearch.c (main): Correct type for initstate argument.
7857 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
7858 (_dl_string_hwcap): New, does nothing.
7860 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
7861 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7862 (_dl_string_hwcap): New function, converts from string to hwcap
7864 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
7865 (_DL_HWCAP_COUNT): New.
7866 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7867 (_dl_string_hwcap): New function, converts from string to hwcap
7869 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
7870 (_DL_HWCAP_COUNT): New.
7871 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7872 (_dl_string_hwcap): New function, converts from string to hwcap
7875 2000-05-05 Ulrich Drepper <drepper@redhat.com>
7877 * elf/Makefile (distribute): Add dl-lookupcfg.h.
7878 * sysdeps/ia64/Dist: New file.
7880 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
7881 parameter to mprotect and for variable assignments.
7883 2000-05-03 Jes Sorensen <jes@linuxcare.com>
7885 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
7886 validity of map before dereferencing it.
7888 * elf/dl-reloc.c (RESOLVE_MAP): Define.
7890 2000-05-02 Jes Sorensen <jes@linuxcare.com>
7892 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
7893 lookup to the arguments to elf_machine_fixup_plt().
7895 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
7896 of the symbol being resolved to input argument list and make the
7897 function return the pointer to the reloc.
7899 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
7900 return valuie to lookup_t and return the value.
7901 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
7902 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
7903 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
7904 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
7905 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
7906 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
7908 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
7909 Make it an inline function returning value after calling
7910 __elf_machine_fixup_plt().
7912 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
7915 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
7916 obtain the symbol address.
7918 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
7919 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
7921 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
7922 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
7925 2000-04-28 Jes Sorensen <jes@linuxcare.com>
7927 * elf/dl-runtime.c (fixup): Use the portable macros to get the
7928 symbol address of an object.
7930 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
7931 the symbol address of an object.
7933 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
7934 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
7935 (_dl_lookup_symbol_skip): Likewise.
7936 (_dl_lookup_versioned_symbol): Likewise.
7937 (_dl_lookup_versioned_symbol_skip): Likewise.
7939 2000-04-27 Jes Sorensen <jes@linuxcare.com>
7941 * elf/rtld.c (_dl_start): Get the function pointer return address
7942 via _dl_start_address for architectures that need a function
7943 pointer descriptor rather than just a pointer (ia64).
7945 * sysdeps/generic/dl-lookupcfg.h: New file.
7946 * sysdeps/ia64/dl-lookupcfg.h: New file.
7947 * sysdeps/ia64/dl-machine.h: New file.
7948 * sysdeps/ia64/dl-symaddr.c: New file.
7949 * sysdeps/ia64/dl-fptr.c: New file.
7951 * elf/elf.h: Add IA-64 specific definitions.
7953 2000-05-04 Jakub Jelinek <jakub@redhat.com>
7955 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
7958 2000-05-04 Jakub Jelinek <jakub@redhat.com>
7960 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
7963 2000-04-11 Geoff Keating <geoffk@cygnus.com>
7965 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
7966 symbol. Call _dl_init rather than the old way.
7968 2000-05-04 Ulrich Drepper <drepper@redhat.com>
7970 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
7971 test for pointer in range of DSO address space.
7973 2000-05-04 Andreas Jaeger <aj@suse.de>
7975 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
7977 2000-05-03 Ulrich Drepper <drepper@redhat.com>
7979 * locale/findlocale.c (_nl_find_locale): Add new parameter to
7980 calls of _nl_make_l10nflist.
7982 * libio/stdio.h: Make fseeko and ftello prototypes available is
7983 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
7985 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
7986 real unsetenv implementation from 1999-07-29 [PR libc/1714].
7988 2000-05-03 Bruno Haible <haible@clisp.cons.org>
7990 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
7991 before calling tfind.
7993 2000-03-05 Jakub Jelinek <jakub@redhat.com>
7995 * resolv/resolv.h (res_querydomain): Remove redefinition to
7996 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
7998 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8000 * po/gl.po: Update from translation team.
8002 * manual/intro.texi (Program Basics): Change section title.
8003 * manual/process.texi: Fix reference.
8004 (Executing a File): Add reference exec in other section.
8005 * manual/signal.texi: Fix reference.
8006 * manual/startup.texi: Document syscall function.
8007 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8009 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8011 * intl/libintl.h (bind_textdomain_codeset): New declaration.
8012 * intl/bindtextdom.c (set_binding_values): New function.
8013 (bindtextdomain): Call it.
8014 (bind_textdomain_codeset): New function.
8015 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
8016 (free_mem): Free each binding's codeset.
8017 * intl/gettextP.h (struct binding): Add codeset field.
8018 (_nl_find_domain): Add domainbinding argument.
8019 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
8020 Pass it to _nl_make_l10nflist.
8021 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
8022 (_nl_make_l10nflist): Add domainbinding argument.
8023 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
8024 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
8025 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
8027 * manual/message.texi: New node "Charset conversion in gettext".
8029 2000-04-30 Bruno Haible <haible@clisp.cons.org>
8031 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
8032 appropriate. Handle possible __read error.
8034 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8036 * intl/gettextP.h (__builtin_expect): Define as empty if not a
8038 * intl/loadinfo.h (__builtin_expect): Likewise.
8039 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
8040 __builtin_expect where appropriate.
8041 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8042 * intl/localealias.c (extend_alias_table): Return an error indicator.
8043 (read_alias_file): Bail out if extend_alias_table fails.
8045 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8047 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
8048 * intl/localealias.c: Likewise.
8050 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8052 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
8053 Initialize domain->plural and domain->nplurals even if there is no
8056 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8058 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
8059 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
8060 In case of failure, goto converted.
8062 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8064 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
8065 * iconv/gconv_int.h (norm_add_slashes): Move to here.
8066 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
8069 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8071 * intl/dcigettext.c (transcmp): Compare the domains as well.
8072 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
8074 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
8077 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8079 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
8080 Reported by Bruno Haible.
8082 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8084 * manual/arith.texi: Remove @w from @itemize.
8086 2000-05-02 Andreas Jaeger <aj@suse.de>
8088 * conform/data/tar.h-data: Add some checks for specific values.
8090 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
8093 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
8096 * conform/data/netinet/in.h-data: Add exact checks for the values
8097 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
8099 * conform/data/float.h-data: Add some minimal values.
8101 * conform/conformtest.pl: Test for macros with string constants,
8102 check for minimum and maximum values.
8103 Add limits.h to headers.
8105 * conform/data/cpio.h-data: Test for value of MAGIC.
8107 * conform/data/limits.h-data: New file.
8109 2000-04-30 Bruno Haible <haible@clisp.cons.org>
8111 * math/Makefile (headers): Add bits/fenvinline.h.
8113 2000-05-01 Ulrich Drepper <drepper@redhat.com>
8115 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
8116 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
8118 * posix/Versions: Change posix_spawnattr_getdefault and
8119 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
8120 and posix_spawnattr_setsigdefault respectively.
8121 * posix/spawn.h: Likewise.
8122 * posix/spawnattr_getdefault.h: Likewise.
8123 * posix/spawnattr_setdefault.h: Likewise.
8124 * conform/data/spawn.h-data: Likewise.
8126 2000-05-01 Andreas Jaeger <aj@suse.de>
8128 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
8130 2000-04-30 Ulrich Drepper <drepper@redhat.com>
8132 * manual/sysinfo.texi: Document getdomainname, setdomainname
8134 * manual/string.texi: Fix typo.
8135 * manual/terminal.texi: Document gtty and stty.
8136 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8138 2000-04-30 Andreas Jaeger <aj@suse.de>
8140 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
8141 accordance with Austin Draft.
8143 2000-04-30 Ulrich Drepper <drepper@redhat.com>
8145 * catgets/gencat.c (read_input_file): Use isblank and not isspace
8146 to recognize second character in comment line.
8148 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
8149 ENOBUFS if we are out of memory.
8151 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
8152 available if __USE_XOPEN2K.
8153 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
8154 * sysdeps/unix/common/bits/fcntl.h: Likewise.
8155 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
8156 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8157 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
8158 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8159 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
8160 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
8162 2000-04-29 Ulrich Drepper <drepper@redhat.com>
8164 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
8165 Recognize option -s, -c, and -l.
8167 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
8169 * nscd/nscd.c: Start new session for nscd, drop privilegs
8170 to configured user if requested and no -S parameter are used.
8171 * nscd/nscd.conf: Add new option "server-user".
8172 * nscd/nscd_conf.c: Add support for new "server-user" option.
8173 * nscd/nscd.h: Add declaration for server_user variable.
8174 Based on patch by Chris Wing <wingc@engin.umich.edu>
8176 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8178 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
8179 that changing the __restore and __restore_rt signal return code
8182 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8184 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
8187 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8189 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
8191 2000-04-29 Ulrich Drepper <drepper@redhat.com>
8193 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
8194 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
8196 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
8197 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
8198 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
8199 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
8200 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
8201 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
8202 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
8203 posix_fallocate, and posix_madvise.
8204 * conform/data/netdb.h-data: New file.
8205 * conform/data/pthread.h-data: Add pthread_barrier_t,
8206 pthread_barrierattr_t, pthread_barrier_destroy,
8207 pthread_barrier_init, pthread_barrier_wait,
8208 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
8209 pthread_barrierattr_init, pthread_barrierattr_setpshared,
8210 pthread_condattr_getclock, pthread_condattr_setclock,
8211 pthread_getcpuclockid, pthread_mutex_timedlock,
8212 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
8213 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
8214 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
8215 * conform/data/sched.h-data: Add sched_ss_low_priority,
8216 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
8218 * conform/data/semaphore.h-data: Add sem_timedwait.
8219 * conform/data/signal.h-data: Add SIGIO.
8220 * conform/data/spawn.h-data: New file.
8221 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
8222 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
8223 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
8224 Fix typo in gmtime_r definition.
8225 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
8226 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
8227 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
8228 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
8229 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
8230 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
8231 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
8232 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
8233 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
8234 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
8235 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
8236 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
8237 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
8238 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
8239 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
8240 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
8241 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
8242 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
8243 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
8244 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
8245 typo in off_t definition.
8246 * conform/data/net/if.h-data: New file.
8247 * conform/data/netinet/in.h-data: New file.
8248 * conform/data/netinet/tcp.h-data: New file.
8249 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
8250 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
8251 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
8252 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
8253 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
8254 and posix_typed_mem_open.
8255 * conform/data/sys/socket.h-data: New file.
8256 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
8257 * conform/data/sys/types.h-data: Add pthread_barrier_t,
8258 pthread_barrierattr_t, and pthread_spinlock_t.
8259 * conform/data/sys/un.h-data: New file.
8260 * conform/data/sys/utsname.h-data: New file.
8262 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
8264 * inet/gethstbyad.c (gethostbyname): Likewise.
8265 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
8266 * inet/getipnodebyad.c (getipnodebyad): Likewise.
8267 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
8268 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
8270 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
8271 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
8272 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
8273 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
8274 * resolv/gethnamaddr.c (gethostbyname): Likewise.
8275 * resolv/netdb.h (struct hostent): Fix type of h_length member.
8276 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
8277 and second parameter.
8279 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
8282 2000-04-29 Andreas Jaeger <aj@suse.de>
8284 * conform/data/arpa/inet.h-data: New file.
8286 2000-04-28 Geoff Clare <gwc@unisoft.com>
8288 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
8289 path passed to ftw() or nftw() is an empty string.
8290 Closes PR libc/1710.
8292 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8294 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
8295 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
8296 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
8297 * localedata/tst-mbswcs4.c: New file.
8298 * localedata/tst-mbswcs5.c: New file.
8300 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
8301 == NULL. Little optimization.
8303 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
8304 DT_PREINIT_ARRAYSZ).
8305 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
8307 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
8308 overflows in conversion from ASCII.
8310 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8312 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
8313 * Makerules (full_config_sysdirs): Likewise.
8314 * MakeTAGS (full_config_sysdirs): Likewise.
8316 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8318 * .cvsignore: Remove linuxthreads.
8319 * po/.cvsignore: Remove *.pot.
8320 * posix/glob/.cvsignore: Removed.
8321 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
8323 2000-04-25 Andreas Jaeger <aj@suse.de>
8325 * conform/Makefile (distribute): Also distribute contents of
8328 * Makerules (no_deps): Remove abi-versions.h.
8330 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
8332 2000-04-25 Jakub Jelinek <jakub@redhat.com>
8334 * sysdeps/sparc/sparc64/elf/Dist: Remove.
8335 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
8336 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
8337 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
8338 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
8339 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
8342 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
8344 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
8346 2000-04-23 Bruno Haible <haible@clisp.cons.org>
8348 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
8349 * intl/l10nflist.c: Likewise.
8351 2000-04-23 Bruno Haible <haible@clisp.cons.org>
8353 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
8354 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
8355 * intl/textdomain.c [!_LIBC]: Likewise.
8356 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
8357 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
8358 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
8361 2000-04-23 Bruno Haible <haible@clisp.cons.org>
8363 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
8364 character set conversion also in the case the translation was found
8365 after a hash collision or through binary search. Store the maximum
8366 index together with the converted message. Use iconv() when available.
8367 In case of out of memory during conversion, return the unconverted
8368 translated string, not NULL.
8370 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
8372 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
8373 to avoid name clashes with the ia32 linker.
8375 2000-04-25 Jakub Jelinek <jakub@redhat.com>
8377 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
8380 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8382 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
8383 strtoumax, strfry, and memfrob.
8384 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
8385 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8387 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
8388 if this function is available.
8390 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
8393 2000-04-27 Jakub Jelinek <jakub@redhat.com>
8395 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
8397 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8399 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
8400 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
8401 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
8402 * localedata/tst-mbswcs3.c: New file.
8404 2000-04-26 Ulrich Drepper <drepper@redhat.com>
8406 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
8407 characters. Don't handle incomplete characters as errors.
8408 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
8409 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
8410 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
8411 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
8412 * localedata/tst-mbswcs2.c: New file.
8414 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
8415 stored character in state in UNPACK_BYTES macro.
8416 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
8417 test for available characters, handle result of BODY code correctly.
8418 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
8419 (distribute): Add tst-mbswcs.sh.
8420 Add rule to run tst-mbswcs.sh.
8421 * localedata/tst-mbswcs.sh: New file.
8422 * localedata/tst-mbswcs1.c: New file.
8424 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8426 * nis/nis_callback.c (__nis_create_callback): Do failed memory
8427 allocation fixups centrally, fix __builtin_expect call, return NULL
8428 on failure, not NIS_NOMEMORY.
8430 2000-04-27 Bruno Haible <haible@clisp.cons.org>
8432 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
8434 * intl/loadinfo.h (internal_function): Define if not already defined.
8436 2000-04-27 Andreas Jaeger <aj@suse.de>
8438 * intl/libintl.h: Fix typo, reported by Bruno Haible
8439 <haible@clisp.cons.org>.
8441 2000-04-25 Ulrich Drepper <drepper@redhat.com>
8443 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
8444 setting the state to GMON_PROF_BUSY.
8446 2000-04-24 Ulrich Drepper <drepper@redhat.com>
8448 * elf/dl-profile.c (_dl_start_profile): define all variables which
8449 do not have to be global as local variables.
8451 * nis/nis_callback.c (__nis_create_callback): Partially undo last
8452 patch. Keep needed tests for failed memory allocation.
8454 * elf/dl-reloc.c (_dl_relocate_object): Add one more
8455 __builtin_expect saying that we don't normally expect to profile.
8457 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
8458 __builtin_expect where desirable.
8460 2000-04-23 Ulrich Drepper <drepper@redhat.com>
8462 * manual/Makefile (chapters): Add syslog.
8463 * manual/syslog.texi: New file.
8464 * manual/math.texi: Fix references.
8465 * manual/terminal.texi: Likewise.
8466 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8468 2000-04-18 Jakub Jelinek <jakub@redhat.com>
8470 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
8471 stdlib.h was not included or __USE_XOPEN not defined.
8473 2000-04-23 Ulrich Drepper <drepper@redhat.com>
8475 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
8476 Patch by Zack Weinberg <zack@wolery.cumb.org>.
8478 2000-04-22 Ulrich Drepper <drepper@redhat.com>
8480 * manual/examples/subopt.c (mount_opts): Add missing terminating
8482 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8484 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
8485 * libio/ftello.c: Likewise.
8486 * libio/ftello64.c: Likewise.
8487 * libio/ioftell.c: Likewise.
8488 * sysdeps/generic/memrchr.c: Likewise.
8489 * sysdeps/posix/libc_fatal.c: Likewise.
8490 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8491 * misc/fstab.c: Include <string.h> for strcmp prototype.
8492 * sysdeps/generic/ldsodefs.h: Likewise.
8493 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8494 Patch by Kurt Roeckx <Q@ping.be>.
8496 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
8497 Remove db-open. Change all uses.
8498 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
8500 2000-04-21 Jakub Jelinek <jakub@redhat.com>
8502 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
8503 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
8504 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
8505 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
8506 with .set noat/at to shut up warnings.
8507 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
8508 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
8509 compilation if __NR_pciconfig_iobase is not defined.
8510 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
8513 2000-04-21 Ulrich Drepper <drepper@redhat.com>
8515 * manual/sysinfo.texi: Fix typo.
8516 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
8517 Replace "high precision time" with "high accuracy clock".
8519 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8521 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
8522 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
8524 * nis/nis_subr.c: Use __builtin_expect.
8525 * nis/ypclnt.c: Likewise.
8526 * nis/nis_getservlist.c: Likewise.
8527 * nis/nis_creategroup.c: Likewise.
8529 * nis/nis_callback.c (__nis_create_callback): Check result of
8530 memory allocation. Fix memory leaks. Use __builtin_expect.
8531 (__nis_destroy_callback): Fix memory leaks.
8533 2000-04-21 Andreas Jaeger <aj@suse.de>
8535 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
8536 * sysdeps/mips/mips64/add_n.S: Likewise.
8537 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
8538 * sysdeps/mips/mips64/lshift.S: Likewise.
8539 * sysdeps/mips/mips64/mul_1.S: Likewise.
8540 * sysdeps/mips/mips64/rshift.S: Likewise.
8541 * sysdeps/mips/mips64/setjmp.S: Likewise.
8542 * sysdeps/mips/mips64/sub_n.S: Likewise.
8543 * sysdeps/mips/mips64/submul_1.S: Likewise
8544 * sysdeps/unix/mips/sysdep.S: Likewise.
8546 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
8547 and update comment. The strtab from _dl_relocate_object can be
8550 2000-04-21 Ulrich Drepper <drepper@redhat.com>
8552 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
8553 * iconv/iconv_close.c (iconv_close): Likewise.
8554 * iconv/iconv_open.c (iconv_open): Likewise.
8556 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
8557 __builtin_expect where useful.
8559 * grp/initgroups.c (initgroups): Test for result of memory
8560 allocation and punt if it fails.
8562 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
8563 * grp/fgetgrent.c (fgetfrent): Likewise.
8564 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
8566 2000-04-21 Jakub Jelinek <jakub@redhat.com>
8568 * libio/vasprintf.c: Include string.h to get memcpy prototype.
8570 2000-04-20 Ulrich Drepper <drepper@redhat.com>
8572 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
8573 don't search for NUL byte to decrement counter.
8574 Reported by Ulrich.Brink@sap.com.
8576 * iconv/gconv_simple.c: Define separate functions to convert from
8577 UCS4/UCS4-LE to the internal encoding.
8578 * iconv/gconv_builtin.h: Use separate functions to convert from
8579 UCS4/UCS4-LE to the internal encoding.
8580 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
8581 __gconv_transform_ucs4le_internal.
8583 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
8584 output buffer overflow. Reported by Ulrich.Brink@sap.com.
8586 * iconv/skeleton.c: Add some more __builtin_expect.
8587 * iconv/loop.c: Likewise.
8589 2000-03-08 H.J. Lu <hjl@gnu.org>
8591 * posix/regex.c (regex_compile): Correctly handle "\{" when
8592 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
8594 2000-04-20 Ulrich Drepper <drepper@redhat.com>
8596 * manual/stdio.texi: Give advise about handling error when using
8598 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
8600 2000-04-19 Jakub Jelinek <jakub@redhat.com>
8602 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
8603 field to nelems * sizeof (uint32_t).
8604 * locale/programs/ld-address.c (address_output): Align word fields
8606 * locale/programs/ld-monetary.c (monetary_output): Likewise.
8607 Don't restart idx pointers to idx end at the duo_int_curr_symbol
8609 Avoid giving arbitrary garbage in the crncystr field.
8610 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
8611 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
8613 * locale/programs/ld-numeric.c (numeric_output): Likewise.
8614 Don't restart idx pointers to idx end at the decimal_point_wc field.
8615 * locale/programs/ld-time.c (time_output): week_1stday should be
8616 word, not byte. Align it properly.
8618 2000-04-19 H.J. Lu <hjl@gnu.org>
8620 * csu/gmon-start.c (_start): Declared as "extern void".
8623 2000-04-18 Andreas Jaeger <aj@suse.de>
8625 * manual/install.texi (Running make install): Don't mention utmpd
8628 2000-04-18 Andreas Jaeger <aj@suse.de>
8630 * linuxthreads/Versions: Use ld instead of ld.so.
8632 * elf/Makefile (ld-map): Use ld.map.
8634 * Versions.def: Use ld instead of ld.so.
8635 * elf/Versions: Likewise.
8636 * sysdeps/mach/hurd/Versions: Likewise.
8638 2000-04-20 Andreas Jaeger <aj@suse.de>
8640 * elf/rtld.c (print_statistics): Move ifndef further up.
8641 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
8642 (dl_main): Likewise.
8644 2000-04-18 Ulrich Drepper <drepper@redhat.com>
8646 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
8647 * gmon/Versions: Move moncontrol to GLIBC_2.2.
8649 * po/cs.po: Update from translation team.
8651 * sysdeps/generic/updwtmp.c: Remove daemon support.
8653 * login/Makefile (routines): Remove utmp_daemon.
8655 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
8656 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
8657 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
8658 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
8660 * elf/rtld.c: Display statitics option also if hp timing is not
8663 * login/programs/connection.c: Removed.
8664 * login/programs/database.c Removed.
8665 * login/programs/error.c: Removed.
8666 * login/programs/request.c: Removed.
8667 * login/programs/xtmp.c: Removed.
8668 * login/programs/xtmp.h: Removed.
8669 * login/Makefile: Remove rules for utmpd.
8670 * login/README.utmpd: Removed.
8671 * login/utmp_daemon.c: Removed.
8672 * login/getutent_r.c: Remove references to daemon functions.
8673 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
8676 2000-04-18 Andreas Jaeger <aj@suse.de>
8678 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
8679 2.2 for libnsl, libresolv, librt, libnss_*.
8681 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
8683 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
8685 2000-04-18 Ulrich Drepper <drepper@redhat.com>
8687 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
8688 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
8689 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
8690 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
8691 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
8692 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
8693 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
8694 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
8695 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
8696 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
8697 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
8698 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
8699 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
8701 * sysdeps/unix/sysv/aix/msync.c: New file.
8702 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
8703 * sysdeps/unix/sysv/aix/net/if.h: New file.
8704 * sysdeps/unix/sysv/aix/pipe.c: New file.
8705 * sysdeps/unix/sysv/aix/poll.c: New file.
8706 * sysdeps/unix/sysv/aix/rename.c: New file.
8707 * sysdeps/unix/sysv/aix/rmdir.c: New file.
8708 * sysdeps/unix/sysv/aix/select.c: New file.
8709 * sysdeps/unix/sysv/aix/semctl.c: New file.
8710 * sysdeps/unix/sysv/aix/semget.c: New file.
8711 * sysdeps/unix/sysv/aix/semop.c: New file.
8712 * sysdeps/unix/sysv/aix/sendto.c: New file.
8713 * sysdeps/unix/sysv/aix/setgroups.c: New file.
8714 * sysdeps/unix/sysv/aix/setpgid.c: New file.
8715 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
8716 * sysdeps/unix/sysv/aix/setpriority.c: New file.
8717 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
8718 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
8719 * sysdeps/unix/sysv/aix/setsid.c: New file.
8720 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
8721 * sysdeps/unix/sysv/aix/shmat.c: New file.
8722 * sysdeps/unix/sysv/aix/shmctl.c: New file.
8723 * sysdeps/unix/sysv/aix/shmdt.c: New file.
8724 * sysdeps/unix/sysv/aix/shmget.c: New file.
8725 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
8726 * sysdeps/unix/sysv/aix/sigstack.c: New file.
8727 * sysdeps/unix/sysv/aix/socket.c: New file.
8728 * sysdeps/unix/sysv/aix/socketpair.c: New file.
8729 * sysdeps/unix/sysv/aix/speed.c: New file.
8730 * sysdeps/unix/sysv/aix/symlink.c: New file.
8731 * sysdeps/unix/sysv/aix/sync.c: New file.
8732 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
8733 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
8734 * sysdeps/unix/sysv/aix/times.c: New file.
8735 * sysdeps/unix/sysv/aix/ulimit.c: New file.
8736 * sysdeps/unix/sysv/aix/umask.c: New file.
8737 * sysdeps/unix/sysv/aix/unlink.c: New file.
8738 * sysdeps/unix/sysv/aix/ustat.c: New file.
8739 * sysdeps/unix/sysv/aix/utimes.c: New file.
8741 2000-04-18 Andreas Jaeger <aj@suse.de>
8743 * manual/startup.texi (Environment Access): Fix putenv prototype
8744 according to recent changes.
8745 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
8748 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
8751 2000-04-18 Ulrich Drepper <drepper@redhat.com>
8753 * posix/Makefile (tests): Add tst-getaddrinfo.
8754 * posix/tst-getaddrinfo.c: New file.
8756 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8758 * manual/sysinfo.texi: Document that umount2 is not widely available.
8760 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
8761 signal timing is not really implemented.
8763 2000-04-17 Andreas Jaeger <aj@suse.de>
8765 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
8767 2000-04-17 Jakub Jelinek <jakub@redhat.com>
8769 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
8772 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8774 * manual/intro.texi: Change reference from System Information to
8776 * manual/users.texi: Likewise.
8777 * manual/conf.texi: Likewise.
8778 * manual/sysinfo.texi: Document mount, umount, and umount2.
8779 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8781 2000-04-17 Jakub Jelinek <jakub@redhat.com>
8783 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
8784 Create wnumstr as well as numstr to support wide character output
8787 2000-04-15 Jakub Jelinek <jakub@redhat.com>
8789 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
8790 modification and move it...
8791 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
8792 Add -melf64_sparc switch to $(LD) on sparc64-linux.
8793 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
8794 switch to $(LD) on sparc-linux.
8796 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
8798 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
8799 and setresuid from sysdep_routines.
8801 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8803 * manual/Makefile (chapters): Add resource.
8805 * manual/time.texi: Move section on resources to...
8806 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
8808 * manual/setjmp.texi: Adjust back reference.
8809 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8811 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
8813 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
8814 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
8815 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
8816 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
8817 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
8818 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
8819 * sysdeps/unix/sysv/aix/close.c: Add copyright.
8820 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
8821 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
8822 * sysdeps/unix/sysv/aix/access.c: Add copyright.
8823 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
8824 * sysdeps/unix/sysv/aix/Implies: New file.
8825 * sysdeps/unix/sysv/aix/Versions: New file.
8826 * sysdeps/unix/sysv/aix/bind.c: New file.
8827 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
8828 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
8829 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
8830 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
8831 * sysdeps/unix/sysv/aix/chdir.c: New file.
8832 * sysdeps/unix/sysv/aix/chmod.c: New file.
8833 * sysdeps/unix/sysv/aix/chroot.c: New file.
8834 * sysdeps/unix/sysv/aix/creat.c: New file.
8835 * sysdeps/unix/sysv/aix/dl-close.c: New file.
8836 * sysdeps/unix/sysv/aix/dl-open.c: New file.
8837 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
8838 * sysdeps/unix/sysv/aix/fchdir.c: New file.
8839 * sysdeps/unix/sysv/aix/fchmod.c: New file.
8840 * sysdeps/unix/sysv/aix/getgroups.c: New file.
8841 * sysdeps/unix/sysv/aix/gethostname.c: New file.
8842 * sysdeps/unix/sysv/aix/getpriority.c: New file.
8843 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
8844 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
8845 * sysdeps/unix/sysv/aix/getrusage.c: New file.
8846 * sysdeps/unix/sysv/aix/link.c: New file.
8847 * sysdeps/unix/sysv/aix/madvise.c: New file.
8848 * sysdeps/unix/sysv/aix/mkdir.c: New file.
8849 * sysdeps/unix/sysv/aix/mknod.c: New file.
8850 * sysdeps/unix/sysv/aix/mprotect.c: New file.
8851 * sysdeps/unix/sysv/aix/msgctl.c: New file.
8852 * sysdeps/unix/sysv/aix/msgget.c: New file.
8853 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
8855 2000-04-17 Andreas Jaeger <aj@suse.de>
8857 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
8858 as suggested by Ulrich Drepper.
8859 (__dl_runtime_resolve): Remove unused variable, initialize sym
8861 (RTLD_START): Document OFFSET_GP_GOT.
8862 (OFFSET_GP_GOT): New magic value.
8863 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
8864 (elf_machine_got_rel): Only declare strtab if needed.
8865 (elf_machine_relplt): Removed, it's not needed.
8866 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
8868 * sysdeps/mips/add_n.S: Add newline at EOF.
8869 * sysdeps/mips/rshift.S: Likewise.
8870 * sysdeps/mips/mul_1.S: Likewise.
8871 * sysdeps/mips/lshift.S: Likewise.
8872 * sysdeps/mips/addmul_1.S: Likewise.
8874 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8876 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
8878 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
8879 * elf/dl-lookup.c: Likewise.
8880 * elf/dl-init.c (_dl_init): Likewise.
8881 * elf/dl-fini.c (_dl_fini): Likewise.
8882 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8883 * elf/dl-close.c (_dl_close): Likewise.
8884 * elf/rtld.c (_dl_start_final): Likewise.
8886 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
8888 2000-04-15 Ulrich Drepper <drepper@redhat.com>
8890 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
8891 only fall back on using Linux.
8893 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
8894 Before testing versions check that we actually loaded the object
8895 and whether we are in trace mode. If not loaded during tracing don't
8896 test versions in this object.
8897 (_dl_check_all_versions): Take new parameter and pass to
8898 _dl_check_map_versions.
8899 * sysdeps/generic/ldsodefs.h: Update prototypes for
8900 _dl_check_all_versions and _dl_check_map_versions.
8901 * elf/rtld.c (struct version_check_args): Add dotrace.
8902 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
8903 (dl_main): Pass info about trace mode to version_check_doit.
8904 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
8905 _dl_check_all_versions.
8907 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
8909 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8911 * manual/argp.texi: Document index parameter of argp_parse.
8913 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
8915 2000-04-14 Andreas Jaeger <aj@suse.de>
8917 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
8918 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
8920 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
8922 2000-04-15 Ulrich Drepper <drepper@redhat.com>
8924 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
8925 compat_symbol call for old adjtime.
8927 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
8928 function interface. Patch by Richard Henderson <rth@cygnus.com>.
8930 * posix/Makefile (headers): Add spawn.h.
8931 (distribute): Add spawn_int.h.
8932 (routines): Add spawn_faction_init, spawn_faction_destroy,
8933 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
8934 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
8935 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
8936 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
8937 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
8938 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
8939 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
8940 posix_spawnattr_init, posix_spawnattr_destroy,
8941 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
8942 posix_spawnattr_getflags, posix_spawnattr_setflags,
8943 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
8945 * posix/spawn.c: New file.
8946 * posix/spawn.h: New file.
8947 * posix/spawn_faction_addclose.c: New file.
8948 * posix/spawn_faction_adddup2.c: New file.
8949 * posix/spawn_faction_addopen.c: New file.
8950 * posix/spawn_faction_destroy.c: New file.
8951 * posix/spawn_faction_init.c: New file.
8952 * posix/spawn_int.h: New file.
8953 * posix/spawnattr_destroy.c: New file.
8954 * posix/spawnattr_getdefault.c: New file.
8955 * posix/spawnattr_getflags.c: New file.
8956 * posix/spawnattr_getpgroup.c: New file.
8957 * posix/spawnattr_getschedparam.c: New file.
8958 * posix/spawnattr_getschedpolicy.c: New file.
8959 * posix/spawnattr_getsigmask.c: New file.
8960 * posix/spawnattr_init.c: New file.
8961 * posix/spawnattr_setdefault.c: New file.
8962 * posix/spawnattr_setflags.c: New file.
8963 * posix/spawnattr_setpgroup.c: New file.
8964 * posix/spawnattr_setschedparam.c: New file.
8965 * posix/spawnattr_setschedpolicy.c: New file.
8966 * posix/spawnattr_setsigmask.c: New file.
8967 * posix/spawni.c: New file.
8968 * posix/spawnp.c: New file.
8970 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
8971 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
8973 2000-04-14 Ulrich Drepper <drepper@redhat.com>
8975 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
8976 * malloc/malloc.c: Implement posix_memalign for glibc.
8977 * include/stdlib.h: Add prototype for __posix_memalign.
8978 * stdlib/stdlib.h: Add prototype for posix_memalign.
8980 2000-04-14 Andreas Jaeger <aj@suse.de>
8982 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
8984 (elf_machine_got_rel): Cast sym correctly.
8986 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
8987 * sysdeps/mips/addmul_1.S: Likewise.
8988 * sysdeps/mips/lshift.S: Likewise.
8989 * sysdeps/mips/mul_1.S: Likewise.
8990 * sysdeps/mips/rshift.S: Likewise.
8991 * sysdeps/mips/sub_n.S: Likewise.
8992 * sysdeps/mips/submul_1.S: Likewise.
8994 * stdlib/stdlib.h: Fix typo in comment.
8996 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
8997 2.2 for libdl, ld and libm.
8999 * sysdeps/generic/madvise.c: Fix typos.
9001 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
9003 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
9005 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
9008 2000-04-14 Ulrich Drepper <drepper@redhat.com>
9010 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
9011 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
9012 Make old name weak alias.
9013 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
9014 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
9015 Make old name weak alias.
9016 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
9018 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
9019 posix_fallocate, and posix_fallocate64.
9020 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
9021 posix_fallocate, and posix_fallocate64.
9022 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
9023 posix_fallocate, and posix_fallocate64.
9024 * sysdeps/generic/fadvise.c: New file.
9025 * sysdeps/generic/fadvise64.c: New file.
9026 * sysdeps/generic/fallocate.c: New file.
9027 * sysdeps/generic/fallocate64.c: New file.
9028 * sysdeps/posix/fallocate.c: New file.
9029 * sysdeps/posix/fallocate64.c: New file.
9030 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
9031 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
9032 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
9033 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
9034 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
9035 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
9036 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9037 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
9038 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9040 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
9041 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9043 2000-04-13 Ulrich Drepper <drepper@redhat.com>
9045 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
9046 * misc/sys/mman.h (posix_madvise): Add prototype.
9047 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
9048 old name and posix_madvise weak aliases.
9049 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9050 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
9051 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
9052 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9053 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
9054 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9055 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9057 2000-04-13 Andreas Jaeger <aj@suse.de>
9059 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
9061 (elf_machine_got_rel): Only add runtime display if needed.
9062 (elf_machine_got_rel): Handle symbol versioning.
9064 2000-04-13 Andreas Jaeger <aj@suse.de>
9066 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
9068 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
9071 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
9072 with some applications.
9073 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
9075 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
9076 * sysdeps/mips/bsd-_setjmp.S: Likewise.
9077 * sysdeps/mips/setjmp.S: Likewise.
9079 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
9081 2000-04-13 Ulrich Drepper <drepper@redhat.com>
9083 * posix/globtest.sh: Work around inconsistency with expanding ~/
9084 in shell (PR libc/1690). Reported by patsmith@pobox.com.
9086 2000-04-12 Ulrich Drepper <drepper@redhat.com>
9088 * posix/getconf.c: Add support for many more POSIX options.
9089 * sysdeps/posix/sysconf.c: Likewise.
9090 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
9091 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
9093 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
9094 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
9095 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
9096 CLOCK_THREAD_CPUTIME_ID.
9097 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
9098 CLOCK_PROCESS_CPUTIME_ID.
9099 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
9100 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
9101 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
9102 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
9104 * malloc/Makefile (tests): Add tst-calloc.
9105 * malloc/tst-calloc.c: New file.
9107 * sysdeps/arm/libm-test-ulps: New file.
9109 * malloc/malloc.c: Undo all of today's changes.
9111 * locale/programs/locale.c (show_info): Don't try to look into
9112 data for LC_ALL (there is none).
9114 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
9115 avoid writing over boundary.
9116 Patch by Greg McGary <gkm@eng.ascend.com>.
9118 * sysdeps/arm/memprof.h: New file.
9120 2000-04-12 Andreas Jaeger <aj@suse.de>
9122 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
9124 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
9125 for memmem declaration.
9127 2000-04-12 Ulrich Drepper <drepper@redhat.com>
9129 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
9131 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
9133 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
9135 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
9136 Patch by Bart Veer <bartv@redhat.com>.
9138 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
9141 2000-04-11 Andreas Jaeger <aj@suse.de>
9143 * sysdeps/mips/dl-machine.h: Update some comments.
9144 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
9146 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9148 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
9149 _POSIX_SHARED_MEMORY_OBJECTS.
9151 * rt/Makefile (tests): Add tst-shm.
9152 Add rules to generate tst-shm.
9153 * rt/tst-shm.c: New file.
9155 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
9158 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
9159 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
9160 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
9161 * sysdeps/generic/shm_open.c: New file.
9162 * sysdeps/generic/shm_unlink.c: New file.
9163 * sysdeps/unix/sysv/linux/shm_open.c: New file.
9164 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
9165 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
9166 __endmntent, __getmntent_r, __setmntent, and __statfs.
9168 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
9169 fragmentation by allocating new memory at the end instead of
9172 * posix/globtest.sh: Fix last change.
9174 2000-04-10 Philip Blundell <philb@gnu.org>
9176 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
9177 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
9178 IPV6_DROP_MEMBERSHIP.
9179 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
9182 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9184 * elf/readlib (process_file): Close streams in case of an error.
9186 2000-04-09 Andreas Jaeger <aj@suse.de>
9188 * elf/readlib.c (process_file): Check if file is big enough to
9189 contain aout and ELF headers.
9190 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
9192 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
9194 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
9196 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9198 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
9200 * rt/Makefile (tests): Add tst-clock.
9201 Add rules to build tst-clock.
9202 * rt/tst-clock.c: New file.
9203 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
9204 about initialization of nsec.
9205 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
9206 about initialization of freq. Set retval to zero if successful.
9207 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
9209 2000-04-10 Ulrich Drepper <drepper@redhat.com>
9211 * Versions.def (librt): Add GLIBC_2.2.
9212 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
9213 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
9214 timer_getoverr, timer_gettime, and timer_settime.
9215 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
9216 clock_settime, timer_create, timer_delete, timer_getoverrun,
9217 timer_gettime, and timer_settime.
9218 * sysdeps/generic/clock_getcpuclockid.c: New file.
9219 * sysdeps/generic/get_clockfreq.c: New file.
9220 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
9221 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
9222 * sysdeps/mach/hurd/i386/bits/time.h: New file.
9223 * sysdeps/unix/i386/i586/clock_getres.c: New file.
9224 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
9225 * sysdeps/unix/i386/i686/Implies: New file.
9226 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
9227 * time/Makefile (routines): Move clock_getres, clock_gettime,
9228 clock_settime, timer_create, timer_delete, timer_getoverr,
9229 timer_gettime, and timer_settime to rt/Makefile.
9230 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
9231 clock_settime, timer_create, timer_delete, timer_getoverrun,
9232 timer_gettime, and timer_settime.
9233 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
9235 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
9236 and not const as attribute name.
9238 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
9240 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
9242 2000-04-10 Andreas Schwab <schwab@suse.de>
9244 * posix/globtest.sh: Skip tests that depend on unreadable
9245 directories if run as root.
9247 2000-04-10 Ulrich Drepper <drepper@redhat.com>
9249 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
9250 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
9252 2000-04-09 Ulrich Drepper <drepper@redhat.com>
9254 * sysdeps/unix/clock_gettime.c: New file.
9255 * sysdeps/unix/clock_settime.c: New file.
9256 * sysdeps/posix/clock_getres.c: New file.
9258 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
9260 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
9261 lseek call be passing in a buffer which never allow a successful
9262 first getdents syscall if not at leas the initial entry can be
9263 stored in the user buffer.
9265 * localedata/Makefile: Add rules to clean up directories created by
9268 2000-04-09 Geoff Clare <gwc@unisoft.com>
9270 * localedata/tst-fmon.data: Added new tests for strfmon()
9271 using test locales with all combinations of cs_precedes,
9272 sign_posn and sep_by_space.
9273 * localedata/tst-fmon.sh: Updated to support the new tests.
9274 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
9275 the localedef source for the new strfmon() test locale.
9276 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
9277 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
9278 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
9279 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
9280 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
9281 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
9282 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
9283 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
9284 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
9285 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
9286 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
9287 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
9288 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
9289 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
9291 * stdlib/strfmon.c: Correct problems with missing or extra
9292 spaces for unusual combinations of sign_posn and sep_by_space.
9293 Improved left-precision alignment code.
9295 2000-04-07 Andreas Jaeger <aj@suse.de>
9297 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
9299 2000-04-10 Andreas Jaeger <aj@suse.de>
9301 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
9303 2000-04-09 Ulrich Drepper <drepper@redhat.com>
9305 Implement handling of restartable conversion functions according to
9307 * iconv/gconv.h (__gconv_fct): Add additional parameter.
9308 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
9309 * iconv/gconv.c: Pass additional parameter to conversion function.
9310 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
9311 (internal_ucs4le_loop_single): New function.
9312 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
9313 (__gconv_transform_internal_ascii): Likewise.
9314 (__gconv_transform_internal_utf8): Likewise.
9315 (__gconv_transform_utf8_internal): Likewise.
9316 (__gconv_transform_ucs2_internal): Likewise.
9317 (__gconv_transform_internal_ucs2): Likewise.
9318 (__gconv_transform_ucs2reverse_internal): Likewise.
9319 (__gconv_transform_internal_ucs2reverse): Likewise.
9320 (internal_ucs4le_loop_unaligned): Before return
9321 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
9322 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
9323 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
9324 * iconv/loop.c: Fit in definition of function to convert one character
9325 for processing of left-over bytes from the state object.
9326 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
9327 inend to match names in loop functions.
9328 (RESET_INPUT_BUFFER): Change apprpriately.
9329 (gconv): If needed, call function to process bytes from the state
9330 object. Similar at the end: store left over bytes if input is
9332 Take extra argument and add new argument to all calls of the
9333 conversion function.
9334 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
9335 information in the state object to not conflict with length count.
9336 * iconvdata/iso-2022-jp.c: Likewise.
9337 * iconvdata/iso-2022-kr.c: Likewise.
9338 * iconvdata/unicode.c: Adjust for change change in parameters of
9340 * iconvdata/utf-16.c: Likewise.
9341 * libio/iofwide.c: Add new parameter to all calls of conversion
9343 * wcsmbs/btowc.c: Likewise.
9344 * wcsmbs/mbrtowc.c: Likewise.
9345 * wcsmbs/mbsnrtowcs.c: Likewise.
9346 * wcsmbs/mbsrtowcs.c: Likewise.
9347 * wcsmbs/wcrtomb.c: Likewise.
9348 * wcsmbs/wcsnrtombs.c: Likewise.
9349 * wcsmbs/wcsrtombs.c: Likewise.
9350 * wcsmbs/wctob.c: Likewise.
9352 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
9355 2000-04-07 Andreas Jaeger <aj@suse.de>
9357 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
9360 2000-04-07 Ulrich Drepper <drepper@redhat.com>
9362 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
9363 element a union to allow byte access.
9364 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
9366 * iconvdata/iso-2022-jp.c: Likewise.
9367 * iconvdata/iso-2022-kr.c: Likewise.
9368 * wcsmbs/mbsinit.c: Likewise.
9369 * stdlib/mblen.c: Likewise.
9370 * stdio-common/printf-parse.h: Likewise.
9372 2000-04-06 Ulrich Drepper <drepper@redhat.com>
9374 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
9375 kernel does not allow relative seeks on descriptors associated
9376 with directories. Go back to get the position in the directory
9377 every time we enter the function. Return -1 and set errno if one
9378 entry could be read from the kernel but does not fit into the
9379 buffer passed in by the user.
9381 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
9382 Support ..(2).. ellipsis.
9383 (parse_charmap): Recognize ..(2).. etc and pass step down.
9384 Correctly generate names for UCS4 characters.
9386 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
9387 (ctype_finish): We know the wide character value for <SP>,
9389 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
9390 (charclass_ucs4_ellipsis): Likewise.
9391 (read_translit_ignore_entry): Store ellipsis step.
9392 (ctype_read): Recognize ..(2).. etc and pass step down.
9394 * locale/programs/linereader.c (lr_token): When seeing comment
9395 character ignore only rest of line in sources but stop at escaped
9397 Recognize ..(2).. and ....(2).....
9399 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
9400 and tok_ellipsis4_2.
9402 2000-04-06 Andreas Jaeger <aj@suse.de>
9404 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
9405 removed, remove it here also.
9406 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
9407 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
9408 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
9409 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
9411 2000-04-06 Jakub Jelinek <jakub@redhat.com>
9413 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
9414 include bits/sigcontext.h.
9415 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9417 2000-04-06 Ulrich Drepper <drepper@redhat.com>
9419 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
9420 collation symbol definition. Value in quivalence definition must
9421 be defined, don't check that it is not.
9423 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
9424 values as character names.
9426 * locale/programs/ld-ctype.c (get_character): Handle missing
9427 repertoire map correctly.
9429 2000-04-05 Cristian Gafton <gafton@redhat.com>
9431 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
9432 because it is used in generic code.
9433 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
9434 * wcsmbs/wcwidth.h: Declare __ctype32_b.
9435 * intl/gettext.c: Include <locale.h>.
9436 * intl/ngettext.c: Likewise.
9438 2000-04-05 Jakub Jelinek <jakub@redhat.com>
9440 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
9441 socklen_t type for size.
9442 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
9443 init function interface.
9444 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9445 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
9447 (__jmp_buf): Declare the whole type structure here, don't use
9450 2000-04-05 Ulrich Drepper <drepper@redhat.com>
9452 * iconv/skeleton.c (put16u): Fix typo.
9453 Reported by Bruno Haible <haible@ilog.fr>.
9455 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
9456 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
9457 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
9458 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
9459 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
9460 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
9462 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
9463 * Makefile (distribute): Add abi-versions.awk and
9465 Patches by Torsten Duwe <duwe@caldera.de>.
9467 2000-04-05 Andreas Schwab <schwab@suse.de>
9469 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
9471 2000-04-05 Andreas Schwab <schwab@suse.de>
9473 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
9474 entry point, used on Hurd.
9476 2000-04-04 Andreas Jaeger <aj@suse.de>
9478 * intl/Makefile: Only run the gettext test with shared libraries.
9480 2000-03-16 Mark Kettenis <kettenis@gnu.org>
9482 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
9483 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
9485 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
9487 * Makeconfig: Undo last change.
9488 * configure.in: If --disable-shared was given, don't set VERSIONING,
9489 don't define DO_VERSIONING, and don't give scare warning for no
9491 * configure: Regenerated.
9493 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
9495 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
9497 2000-04-04 Andreas Jaeger <aj@suse.de>
9499 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
9501 2000-04-04 Ulrich Drepper <drepper@redhat.com>
9503 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
9504 STV_HIDDEN and STV_INTERNAL during lookup.
9505 (profile_fixup): Likewise.
9506 * elf/dl-reloc.c (RESOLVE): Likewise.
9508 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
9509 unaligned so that it compiles for system which need unaligned
9512 2000-04-04 Andreas Schwab <schwab@suse.de>
9514 * elf/cache.c (print_entry): Only look at the type field when
9517 2000-04-04 Andreas Schwab <schwab@suse.de>
9519 * iconvdata/big5.c (BODY): Fix typo.
9521 2000-04-04 Andreas Schwab <schwab@suse.de>
9523 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
9524 function interface. Remove unused _dl_start_user entry point.
9526 2000-04-03 Andreas Jaeger <aj@suse.de>
9528 * include/arpa/inet.h (__inet_aton): Add protoype.
9530 2000-04-01 Andreas Jaeger <aj@suse.de>
9532 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
9534 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
9535 * sysdeps/mach/mips/thread_state.h: Likewise.
9537 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
9538 * sysdeps/generic/fegetenv.c: Likewise.
9539 * sysdeps/generic/fesetenv.c: Likewise.
9540 * sysdeps/generic/feupdateenv.c: Likewise.
9541 * sysdeps/generic/fraiseexcpt.c: Likewise.
9542 * sysdeps/generic/fsetexcptflg.c: Likewise.
9543 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
9544 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
9545 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
9546 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9548 2000-04-02 H.J. Lu <hjl@gnu.org>
9550 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
9552 2000-04-03 Ulrich Drepper <drepper@redhat.com>
9554 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
9555 (add_name_to_object): Add cast in malloc call.
9556 (fillin_rpath): Optimize loop to initialize ->status a bit.
9558 * sysdeps/i386/dl-machine.h: Undo last change.
9559 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
9560 Restore %edx register after call here.
9562 * sysdeps/arm/atomicity.h: New file.
9563 Contributed by Jesper Skov <jskov@redhat.com>.
9565 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
9567 * Makeconfig (preprocess-versions): Undo last change.
9568 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
9570 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
9571 here, before we might move the stack.
9572 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
9573 (init1): And not here.
9575 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
9576 change, to restore argc value in call-clobbered register after
9577 RTLD_START_SPECIAL_INIT, which will contain a call.
9579 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
9580 allocating and initializing L->l_initfini.
9582 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
9584 2000-04-03 Ulrich Drepper <drepper@redhat.com>
9586 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
9587 RUNPATH, RPATH, and LD_LIBRARY_PATH.
9588 (open_path): Change type of fourth parameter. Make pointer to array
9589 of pointers. Create variable dirs with original type.
9590 Track whether any directory for the object exists and if not,
9591 change *DIRSP to (void*) -1 to signal there is no such search path.
9592 (_dl_map_object): Change all calls of open_path.
9593 Rewrite decompose_rpath calls.
9595 2000-03-31 Andreas Schwab <schwab@suse.de>
9597 * string/strfry.c: Declare STATE as array of char instead of int
9598 and do not initialize it (done by initstate_r). Pass correct
9601 2000-04-03 Ulrich Drepper <drepper@redhat.com>
9603 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
9605 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
9606 instruction out of the code.
9608 2000-04-02 Ulrich Drepper <drepper@redhat.com>
9610 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
9611 element at this position.
9613 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
9614 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
9616 * elf/dl-lookup.c (add_dependency): New function.
9617 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
9618 dynamically loaded object.
9619 (_dl_lookup_symbol_skip): Likewise.
9620 (_dl_lookup_versioned_symbol): Likewise.
9621 (_dl_lookup_versioned_symbol_skip): Likewise.
9622 * elf/dl-open.c: Don't define _dl_load_lock here...
9623 * elf/rtld.c: ...but here...
9624 * elf/dl-support.c: ...and here.
9625 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
9627 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
9629 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
9631 * dlfcn/glrefmain.c: Add one more debug message.
9633 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
9635 * Makerules (sysd-versions): Use ( ) instead of { }.
9637 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
9638 optimize for the non-debugging case.
9639 * elf/dl-lookup.c: Likewise.
9640 * sysdeps/generic/libc-start.c: Likewise.
9642 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
9644 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
9645 (init1): Don't initialize __environ here, since init already does it.
9646 (first_init): New function, broken out of _init.
9647 (_hurd_stack_setup): Use it.
9648 [SHARED] (_dl_init_first): New function, renamed from old _init.
9649 (init1) [SHARED]: Don't call posixland_init here.
9650 (posixland_init): Take ENVP arg, so signature is usual for initializer.
9651 [SHARED] (_init): Define as alias for posixland_init.
9652 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
9653 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
9654 RTLD_START_SPECIAL_INIT before calling initializers.
9655 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
9656 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
9657 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
9658 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
9660 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
9661 since we define the function with the name `tmpfile'.
9663 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
9664 * hurd/Versions: Likewise.
9666 2000-04-02 Ulrich Drepper <drepper@redhat.com>
9668 * elf/dl-runtime.c (fixup): Fix typo in comment.
9670 * resolv/netdb.h (getnameinfo): All length parameters are of type
9672 * inet/getnameinfo.c: Likewise.
9674 2000-04-01 Ulrich Drepper <drepper@redhat.com>
9676 * posix/unistd.h (socklen_t): Define if it has not yet happened.
9677 (gethostname): Change type of second parameter to socklen_t.
9678 * include/unistd.h (__gethostname): Change type of second
9679 parameter to socklen_t.
9680 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
9681 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
9682 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
9683 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
9685 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
9686 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
9687 Allow definition elsewhere.
9688 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
9689 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9690 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
9691 * sysdeps/generic/bits/types.h: Define __socklen_t.
9692 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
9693 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
9694 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9695 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9696 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
9697 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
9698 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
9700 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
9701 (inet_lnaof): Likewise.
9702 (inet_netof): Likewise.
9703 (inet_network): Likewise.
9704 (inet_aton): Likewise.
9705 (inet_makeaddr): Change parameter types to in_addr_t.
9706 (inet_neta): Likewise.
9707 (inet_ntop): Change type of last parameter to socklen_t.
9708 (inet_aton): Only make available if __USE_MISC.
9709 (inet_neta): Likewise.
9710 (inet_net_ntop): Likewise.
9711 (inet_net_pton): Likewise.
9712 (inet_nsap_ntoa): Likewise.
9714 * inet/in.h: Define in_port_t type.
9715 Define in_addr_t type.
9716 (struct in_addr): Use in_addr_t in definition.
9717 (IN_CLASSA): Use cast to in_addr_t.
9718 (IN_CLASSB): Likewise.
9719 (IN_CLASSC): Likewise.
9720 (IN_CLASSD): Likewise.
9721 (IN_EXPERIMENTAL): Likewise.
9722 (IN_BADCLASS): Likewise.
9723 (INADDR_ANY): Likewise.
9724 (INADDR_BROADCAST): Likewise.
9725 (INADDR_NONE): Likewise.
9726 (INADDR_LOOPBACK): Likewise.
9727 (INADDR_UNSPEC_GROUP): Likewise.
9728 (INADDR_ALLHOSTS_GROUP): Likewise.
9729 (INADDR_ALLRTRS_GROUP): Likewise.
9730 (INADDR_MAX_LOCAL_GROUP): Likewise.
9731 (struct sockaddr_in): Use in_port_t for sin_port element.
9732 (struct sockaddr_in6): Use in_port_t for sin6_port element.
9733 Use uint8_t instead of u_int8_t.
9735 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
9736 Call __inet_aton instead of inet_aton.
9737 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
9739 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
9740 (innetgr): Likewise.
9741 (struct addrinfo): Use socklen_t for ai_addrlen element.
9743 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
9744 IPV6_RECVERR): New defines.
9746 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
9747 * inet/getnetbyad.c: Likewise.
9748 * inet/getnetbyad_r.c: Likewise.
9749 * nis/nss_nis/nis-network.c: Likewise.
9750 * nis/nssplus_nis/nisplus-network.c: Likewise.
9751 * nss/nss_files/files-network.c: Likewise.
9752 * resolv/netdb.h: Define uint32_t if not already happened.
9753 Include bits/netdb.h. Remove definition of struct netent.
9754 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
9755 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
9756 * sysdeps/generic/bits/netdb.h: New file.
9757 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
9759 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
9760 (tests): Add glrefmain.
9761 Add rules to build modules and run tests. Ignore result of glrefmain
9762 for now since it fails.
9763 * dlfcn/glrefmain.c: New file.
9764 * dlfcn/glreflib1.c: New file.
9765 * dlfcn/glreflib2.c: New file.
9767 * test-skeleton.c: Include <string.h> for strsignal prototype.
9769 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
9772 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
9773 former init-first.h. Initialize __libc_multiple_libcs.
9775 2000-03-31 Ulrich Drepper <drepper@redhat.com>
9777 * iconv/skeleton.c: Define access macros with u suffix. Adjust
9778 #if expression for use of unaligned function to the one used in
9779 the definition of these functions.
9780 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
9781 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
9782 (internal_ucs4le_loop_unaligned): New function.
9784 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
9786 (module-names): Add dep1, dep2, dep3, and dep4.
9787 Add dependencies for dep* modules and order.
9788 Define rule for order.out which checks the result.
9789 * elf/dep1.c: New file.
9790 * elf/dep2.c: New file.
9791 * elf/dep3.c: New file.
9792 * elf/dep4.c: New file.
9793 * elf/order.c: New file.
9795 * elf/dl-init.c: Fix typo in comment.
9797 2000-03-31 Andreas Jaeger <aj@suse.de>
9799 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
9800 init function interface.
9801 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
9803 2000-03-31 Andreas Jaeger <aj@suse.de>
9805 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
9806 * sysdeps/mips/fpu/fegetenv.c: Likewise.
9807 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
9808 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
9809 * sysdeps/mips/fpu/fesetenv.c: Likewise.
9811 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
9812 anymore, update comment.
9814 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9816 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
9817 SHLIB_COMPAT - the struct is always needed.
9819 2000-03-31 Ulrich Drepper <drepper@redhat.com>
9821 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
9822 * elf/dl-support.c: Define _dl_starting_up.
9824 2000-03-30 Ulrich Drepper <drepper@redhat.com>
9826 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
9827 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
9829 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
9831 * elf/Makefile (dl-routines): Remove preinit.
9832 * elf/Versions: Remove _dl_preinit.
9833 * elf/dl-preinit.c: Removed. Move content into...
9834 * elf/dl-init.c: ...here.
9835 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
9837 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
9840 2000-03-29 Geoff Clare <gwc@unisoft.com>
9842 * stdlib/strfmon.c: Corrected problems with the code that
9843 sets default values for [np]_sep_by_space and
9844 [np]_sign_posn; also the new positive/negative alignment
9845 code from the previous patch was not quite right for
9848 * localedata/tst-fmon.data: Changes corresponding to the
9849 two sets of fixes made to stdlib/strfmon.c.
9851 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
9853 * malloc/malloc.c: Declare bit flags UL so that they will not
9854 default to int size when being inverted.
9856 2000-03-29 Andreas Jaeger <aj@suse.de>
9858 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
9859 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
9861 2000-03-29 Andreas Jaeger <aj@suse.de>,
9862 Ralf Baechle <ralf@uni-koblenz.de>
9864 * Makeconfig: Introduce new variable SHARED to mark code used in
9866 * elf/dl-close.c: Use it instead of PIC.
9867 * elf/dl-load.c: Likewise.
9868 * elf/dl-open.c: Likewise.
9869 * hurd/geteuids.c: Likewise.
9870 * include/libc-symbols.h: Likewise.
9871 * include/shlib-compat.h: Likewise.
9872 * libio/freopen.c: Likewise.
9873 * linuxthreads/cancel.c: Likewise.
9874 * linuxthreads/pthread.c: Likewise.
9875 * linuxthreads/wrapsyscall.c: Likewise.
9876 * nss/nsswitch.c: Likewise.
9877 * stdio-common/vfprintf.c: Likewise.
9878 * sysdeps/arm/init-first.c: Likewise.
9879 * sysdeps/i386/init-first.c: Likewise
9880 * sysdeps/generic/init-first.c: Likewise.
9881 * sysdeps/generic/libc-start.c: Likewise.
9882 * sysdeps/mips/init-first.c: Likewise.
9883 * sysdeps/powerpc/elf/libc-start.c: Likewise.
9884 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9885 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
9886 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
9887 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9889 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
9891 2000-03-29 Andreas Jaeger <aj@suse.de>
9893 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
9894 Use D_PTR to access relocated entries in l_info.
9895 (elf_machine_rela): Likewise.
9897 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
9899 (elf_machine_rela): Likewise.
9901 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
9903 (__elf_machine_fixup_plt): Likewise.
9904 (__process_machine_rela): Likewise.
9906 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
9907 (elf_machine_rela): Likewise.
9909 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
9910 (elf_machine_rel): Likewise.
9912 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
9913 (elf_machine_fixup_plt): Likewise.
9914 (elf_machine_rela): Likewise.
9916 2000-03-29 Andreas Jaeger <aj@suse.de>
9918 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
9919 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9920 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9921 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
9922 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9923 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
9924 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
9925 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
9926 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
9927 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
9928 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
9929 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
9930 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
9931 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
9932 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9934 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
9935 macros, remove K&R prototypes.
9937 2000-03-30 Ulrich Drepper <drepper@redhat.com>
9939 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
9940 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
9943 2000-03-30 Andreas Jaeger <aj@suse.de>
9945 * misc/sys/cdefs.h: Remove K&R support.
9947 2000-03-30 Ulrich Drepper <drepper@redhat.com>
9949 * iconv/skeleton.c: Avoid compiling unaligned versions in some
9951 * iconv/loop.c: Likewise.
9953 2000-03-29 Bruno Haible <haible@clisp.cons.org>
9955 * iconv/loop.c (put16): Remove __const. Fix access index.
9956 (put32): Remove __const. Use uint32_t instead of uint16_t.
9957 * iconv/skeleton.c: Likewise.
9959 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
9961 * mach/Versions (libc: GLIBC_2.0)
9962 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
9963 __vm_allocate on this.
9964 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
9965 mutex- and spinlock-related symbols on this.
9966 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
9967 New version set. Lock-related symbols go here instead in this case.
9968 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
9969 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
9970 cthread_getspecific, cthread_setspecific, __libc_getspecific.
9972 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
9973 Put them here instead.
9974 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
9975 New version set. Those cthreads symbols go here instead in this case.
9976 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
9978 2000-03-30 Ulrich Drepper <drepper@redhat.com>
9980 * elf/dl-init.c (_dl_init): We don't need to call constructors
9981 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
9983 Implement dynamic determination of constructor/destructor order in
9985 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
9986 (GLIBC_2.2): Add _dl_init.
9987 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
9988 r_duplist is not anymore allocated separately. l_initfini is and
9989 therefore free it if necessary.
9990 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
9991 malloc block. Otherwise allocate l_initfini list only.
9992 Put dependencies for the object in l_initfini list.
9993 Sort dependencies for the object to be loaded topologically.
9994 * elf/dl-fini.c: Before running the destructors sort the topologically.
9995 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
9996 call constructors instead of iterating over the pointers. Get list of
9997 objects for which to run constructors from l_initfini element. Accept
9998 argc, argv, and env as parameters and pass them to the constructors.
9999 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
10000 with size of dynamic section.
10001 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
10002 _dl_init_next and calling constructors ourself.
10003 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
10004 Take argc, argv, and env as parameters and pass them to the
10005 constructors. Rewrite to call all constructors and not iterate over
10007 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
10008 precompute l_initcount and l_preinitcount.
10009 * elf/link.h (struct link_map): Add l_ldnum member.
10010 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
10011 l_initcount, and l_preinitcount. Add l_initfini.
10012 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
10014 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
10015 function interface.
10016 * sysdeps/unix/sysv/linux/init-first.h: Removed.
10017 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
10018 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
10019 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
10020 conventions now match.
10022 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
10023 effect for shared objects. Don't emit message and call only for
10026 2000-03-29 Ulrich Drepper <drepper@redhat.com>
10028 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
10029 CSA_Z243.4-1985-1..UCS2.
10030 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
10033 2000-03-29 Andreas Jaeger <aj@suse.de>
10035 * include/unistd.h: Remove duplicate entry for __rmdir.
10036 Remove declaration of __mkdir since __mkdir is declared in
10039 * manual/creature.texi (Feature Test Macros): Fix typo, reported
10040 by Michael Deutschmann <michael@talamasca.ocis.net>.
10042 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
10043 * sysdeps/mips/fpu/fegetenv.c: Likewise.
10044 * sysdeps/mips/fpu/fesetenv.c: Likewise.
10045 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
10046 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
10048 2000-03-28 Andreas Jaeger <aj@suse.de>
10050 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
10051 declaration, the prototype is defined via bits/mathcalls.h.
10052 (__sincosf): Likewise.
10053 (__sincosl): Likewise.
10055 (ldexpf): Likewise.
10056 (ldexpl): Likewise.
10057 (__finite): Likewise.
10058 (__inline_mathcodeNP): New macro without prototype
10060 (__inline_mathcodeNP2): Likewise.
10061 (__inline_mathcodeNP3): Likewise.
10062 (__inline_mathcodeNP_): Likewise.
10063 (__inline_mathcodeNP2_): Likewise.
10064 (__inline_mathcodeNP3_): Likewise.
10065 (__inline_mathopNP): Likewise.
10066 (__inline_mathop_declNP): Likewise.
10067 (__inline_mathop_declNP_): Likewise.
10068 (__inline_mathcode_): Use __inline_mathcodeNP_.
10069 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
10070 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
10071 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
10072 (__expm1l): Don't define prototype, the prototype is defined via
10075 (__expl): Likewise.
10078 (__atan2l): Likewise.
10083 (__fabsl): Likewise.
10101 (__sqrtl): Likewise.
10111 2000-03-28 Ulrich Drepper <drepper@redhat.com>
10113 * Makerules: If make variable md5 is defined to yes after
10114 generating dependencies generate MD5 sum for the object.
10116 * iconv/gconv_builtin.h: Fix length in transformation definition
10119 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
10121 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
10122 allow as well reading from/writing to unaligned addresses on machines
10123 which don't support this in hardware. Use FCTNAME macro to define
10124 function name. Include the file a second time for platforms which
10125 need special unaligned handling.
10126 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
10127 to access potentially unaligned addresses. These macros are intended
10128 to be used only outside the loops.
10129 (unaligned): New definition. In case the machine can handle unaligned
10130 access define as zero. Otherwise as a variable which is initialized
10131 as nonzero in case the buffer passed in at runtime is unaligned with
10132 respect to the character set encoding involved.
10133 Call aligned or unaligned looop functions according to unaligned
10135 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
10136 of direct casting pointer to potentially handle unaligned memory
10138 * iconvdata/8bit-generic.c: Likewise.
10139 * iconvdata/ansi_x3.110.c: Likewise.
10140 * iconvdata/big5.c: Likewise.
10141 * iconvdata/euc-cn.c: Likewise.
10142 * iconvdata/euc-jp.c: Likewise.
10143 * iconvdata/euc-kr.c: Likewise.
10144 * iconvdata/euc-tw.c: Likewise.
10145 * iconvdata/gbk.c: Likewise.
10146 * iconvdata/iso-2022-cn.c: Likewise.
10147 * iconvdata/iso-2022-jp.c: Likewise.
10148 * iconvdata/iso-2022-kr.c: Likewise.
10149 * iconvdata/iso646.c: Likewise.
10150 * iconvdata/iso_6937-2.c: Likewise.
10151 * iconvdata/iso_6937.c: Likewise.
10152 * iconvdata/johab.c: Likewise.
10153 * iconvdata/sjis.c: Likewise.
10154 * iconvdata/t.61.c: Likewise.
10155 * iconvdata/uhc.c: Likewise.
10156 * iconvdata/unicode.c: Likewise.
10157 * iconvdata/utf-16.c: Likewise.
10159 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
10162 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
10163 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
10165 * malloc/mcheck.h (mcheck_check_all): Declare.
10167 * stdio-common/Makefile (tests): Add tst-obprintf.
10169 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
10171 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
10172 Declare pthread_sigmask.
10174 * csu/version.c: Add 2000 to copyright years.
10175 Remove Emacs local variables section.
10177 2000-03-23 Bruno Haible <haible@clisp.cons.org>
10179 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
10180 __gconv_transform_internal_ucs2little): Remove declarations.
10181 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
10182 __gconv_transform_internal_ucs2): Never need to bswap_16.
10183 (__gconv_transform_ucs2reverse_internal,
10184 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
10186 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
10188 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
10189 obsoleting version not being defined at all, in which case the
10190 result is always true.
10192 * Makeconfig (preprocess-versions): New canned sequence for running
10193 cpp on shlib-versions and the like.
10194 (soversions.i): Use it.
10195 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
10196 Versions.def and Versions files.
10198 2000-03-27 Ulrich Drepper <drepper@redhat.com>
10200 * stdio-common/tst-obprintf.c (main): Add another check to see
10201 obstack_printf handling all possible beginnings of the block
10202 inside an obstack chunk.
10204 * locale/programs/localedef.c: Use __malloc_initialize_hook to
10205 install mcheck handler.
10207 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
10210 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
10212 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
10214 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
10215 on [HAVE_ELF && DO_VERSIONING].
10217 2000-03-27 Ulrich Drepper <drepper@redhat.com>
10219 * stdio-common/tst-obprintf.c: New file.
10221 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10223 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
10224 _IO_OVERFLOW directly instead through __overflow.
10226 * locale/programs/localedef.c (construct_output_path): If path
10227 contains a / compute the end of the directory name correctly.
10229 * include/features.h: Undef and document __USE_XOPEN2K.
10231 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
10232 whenever a function is called. Initiated by calling mcheck_pedantic
10234 * malloc/mcheck.h: Declare mcheck_pedantic.
10235 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
10236 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
10239 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
10241 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
10242 * dlfcn/dlopenold.c: Likewise.
10243 * nss/getXXbyYY_r.c: Likewise.
10244 * nss/getXXent_r.c: Likewise.
10245 * hurd/hurdinit.c: Likewise.
10246 * hurd/compat-20.c: Likewise.
10247 * libio/oldiofopen.c: Likewise.
10248 * libio/oldiofclose.c: Likewise.
10249 * libio/oldiofdopen.c: Likewise.
10250 * libio/oldfileops.c: Likewise.
10251 * libio/oldstdfiles.c: Likewise.
10252 * libio/oldiofsetpos.c: Likewise.
10253 * libio/oldiofgetpos.c: Likewise.
10254 * libio/oldiofgetpos64.c: Likewise.
10255 * libio/oldiofsetpos64.c: Likewise.
10256 * libio/oldiopopen.c: Likewise.
10257 * libio/oldpclose.c: Likewise.
10258 * libio/oldtmpfile.c: Likewise.
10259 * libio/freopen.c (freopen): Likewise.
10260 * libio/iofclose.c (_IO_new_fclose): Likewise.
10262 * sysdeps/mach/sys/reboot.h: Include <features.h>.
10263 (reboot): Declare it.
10265 * libio/Makefile (headers): Add bits/stdio-lock.h here.
10267 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
10269 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
10271 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
10272 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
10273 We need this for the sbrk decl, which can be included without Unix98.
10275 2000-03-20 Richard Henderson <rth@cygnus.com>
10277 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
10278 argument to yperr2nss is an int, not size_t.
10279 * posix/regex.c (print_partial_compiled_pattern): Cast all
10280 ptrdiff_t to long for printing.
10281 (print_compiled_pattern): Use Z for printing size_t.
10282 * posix/testfnm.c (tests): Avoid trigraphs.
10283 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
10284 Use a C comment, not an assembly comment.
10286 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
10287 of __ASSUME_32BITUIDS.
10289 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10291 * libio/iofopncook.c: Remove K&R prototypes.
10293 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
10295 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
10296 an initial value of 1024 instead of RLIM_INFINITY.
10298 * Versions.def (libmachuser, libhurduser): Remove these sections,
10299 since these libraries do not presently use symbol versions.
10301 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
10302 is RLIM_INFINITY, return -1 instead.
10304 2000-03-24 Andreas Jaeger <aj@suse.de>
10306 * Makefile (postclean): Added soversions.i.
10308 2000-03-24 Scott Bambrough <scottb@netwinder.org>
10310 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
10311 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
10312 and _FPU_IEEE. Change _FPU_RESERVED.
10314 2000-03-24 Scott Bambrough <scottb@netwinder.org>
10316 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
10318 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
10320 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
10321 (gaih_inet): Remove unused duplicate variable.
10323 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
10324 Don't use __libc_sa_len, which only exists for Linux. Just handle
10325 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
10326 only flavors supported by this function anyway.
10328 2000-03-24 Geoff Clare <gwc@unisoft.com>
10330 * stdlib/strfmon.c: Corrected problems with missing signs and
10331 missing or extra spaces; allow for sign strings longer than
10332 one character; add padding to ensure positive and negative
10333 formats are aligned when a left precision is used.
10335 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10337 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
10338 Patch by John Mizel <John.Mizel@msdw.com>.
10340 2000-03-25 Ulrich Drepper <drepper@redhat.com>
10342 * manual/install.texi: Remove references to crypt add-on.
10344 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
10346 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
10347 section while taking the _hurd_rlimit_lock.
10348 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10350 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
10352 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
10355 * sysdeps/mach/hurd/if_index.c: New file.
10357 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
10358 * sysdeps/gnu/net/if.h: here.
10359 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
10360 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
10361 * sysdeps/generic/net/if.h: New file. Declares just the standard
10362 functions and `struct if_nameindex' type.
10363 * socket/Makefile (headers): Add net/if.h here.
10364 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
10365 * sysdeps/mach/hurd/Dist: Remove it here.
10366 * sysdeps/unix/sysv/linux/Dist: And here.
10367 * sysdeps/generic/if_index.c: Include <net/if.h>.
10369 2000-03-24 Andreas Jaeger <aj@suse.de>
10371 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
10372 access relocated entries in l_info.
10373 (elf_machine_got_rel): Likewise.
10374 (elf_machine_runtime_setup): Likewise.
10375 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
10376 (elf_machine_runtime_setup): Likewise.
10377 (__dl_runtime_resolve): Likewise.
10379 2000-03-23 Ulrich Drepper <drepper@redhat.com>
10381 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
10382 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
10383 according to RFC 2553.
10384 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
10385 * inet/getnameinfo.c: Likewise.
10386 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
10388 2000-03-23 Bruno Haible <haible@clisp.cons.org>
10390 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
10391 Remove no-op pointer increment.
10393 2000-03-23 Andreas Jaeger <aj@suse.de>
10395 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
10396 follow change for libio.h from 2000-03-10.
10398 2000-03-23 Andreas Jaeger <aj@suse.de>
10400 * elf/dl-addr.c: Adjust include paths for ldsodefs location
10402 * elf/dl-debug.c: Likewise.
10403 * elf/dl-deps.c: Likewise.
10404 * elf/dl-error.c: Likewise.
10405 * elf/dl-fini.c: Likewise.
10406 * elf/dl-init.c: Likewise.
10407 * elf/dl-load.c: Likewise.
10408 * elf/dl-lookup.c: Likewise.
10409 * elf/dl-minimal.c: Likewise.
10410 * elf/dl-object.c: Likewise.
10411 * elf/dl-open.c: Likewise.
10412 * elf/dl-preinit.c: Likewise.
10413 * elf/dl-profile.c: Likewise.
10414 * elf/dl-profstub.c: Likewise.
10415 * elf/dl-reloc.c: Likewise.
10416 * elf/dl-runtime.c: Likewise.
10417 * elf/dl-support.c: Likewise.
10418 * elf/dl-symbol.c: Likewise.
10419 * elf/dl-version.c: Likewise.
10420 * elf/rtld.c: Likewise.
10421 * elf/sprof.c: Likewise.
10422 * sysdeps/generic/dl-cache.c: Likewise.
10423 * sysdeps/generic/dl-origin.c: Likewise.
10424 * sysdeps/generic/dl-sysdep.c: Likewise.
10425 * sysdeps/generic/elf/backtracesyms.c: Likewise.
10426 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10427 * sysdeps/generic/libc-start.c: Likewise.
10428 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10429 * sysdeps/powerpc/dl-machine.c: Likewise.
10430 * sysdeps/powerpc/elf/libc-start.c: Likewise.
10431 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10432 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10433 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
10435 * elf/ldsodefs.h: Move file to ...
10436 * sysdeps/generic/ldsodefs.h: ... here.
10438 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
10440 * sysdeps/mips/elf/ldsodefs.h: New file.
10442 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
10444 (_dl_check_map_versions): Likewise.
10445 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10446 * elf/dl-load.c (_dl_init_paths): Likewise.
10447 (_dl_map_object): Likewise.
10448 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
10449 (elf_get_dynamic_info): Likewise.
10450 * elf/do-lookup.h (FCT): Likewise.
10451 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
10452 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
10453 * elf/dl-addr.c (_dl_addr): Likewise.
10454 * elf/dl-runtime.c (profile_fixup): Likewise.
10456 * elf/dl-init.c (_dl_init_next): Likewise.
10457 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
10458 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
10459 (DISTINGUISH_LIB_VERSIONS): Likewise.
10460 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
10461 (elf_machine_rel): Likewise.
10463 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
10464 for writable dynamic section.
10466 2000-03-22 Ulrich Drepper <drepper@redhat.com>
10468 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
10469 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
10471 2000-03-22 Andreas Jaeger <aj@suse.de>
10473 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
10474 from latest Linux kernel.
10476 2000-03-21 Andreas Jaeger <aj@suse.de>
10478 * Versions.def: Add version 2.1.4.
10480 2000-03-21 Ulrich Drepper <drepper@redhat.com>
10482 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
10483 * libio/oldiofopen.c: Likewise.
10484 * libio/oldiofclose.c: Likewise.
10485 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10487 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
10489 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
10490 indicating the first version set to obsolete the conditionalized code.
10491 (compat_symbol): New macro.
10492 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
10493 rhs be the ABI_* macro for the subsuming version. Assign increasing
10494 integer values to the ABI_* macros for supported versions.
10495 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
10496 compat_symbol macro.
10498 2000-03-21 Ulrich Drepper <drepper@redhat.com>
10500 * nscd/connections.c (nscd_run): Pretty print.
10501 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
10503 * manual/charset.texi: Fix typos. Rephrase.
10504 * manual/process.texi: Likewise.
10505 * manual/signal.texi: Likewise.
10506 Patches by Mike Coleman <mkc@kc.net>.
10508 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
10510 * libio/iofdopen.c: Likewise.
10511 * libio/iofgetpos.c: Likewise.
10512 * libio/iofgetpos64.c: Likewise.
10513 * libio/iofopen.c: Likewise.
10514 * libio/iofsetpos.c: Likewise.
10515 * libio/iofsetpos64.c: Likewise.
10516 * libio/iopopen.c: Likewise.
10517 * libio/oldiofopen.c: Likewise.
10518 * libio/pclose.c: Likewise.
10519 * sysdeps/gnu/siglist.c: Likewise.
10520 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10522 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
10523 chance to expand VERSION_##lib##_##version.
10525 * libio/fileops.c: Use new macros from shlib-compat.h to define
10527 * libio/iofclose.c: Likewise.
10528 * libio/oldiofclose.c: Likewise.
10529 Patch by Roland McGrath <roland@frob.com>.
10531 2000-03-21 Jakub Jelinek <jakub@redhat.com>
10533 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
10534 Lay out struct sigcontext according to what really gets passed on
10536 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
10537 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
10538 (prgregset_t, prfpregset_t): Define to elf_* types.
10539 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
10540 Define to correct value.
10541 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
10543 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
10545 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
10547 * scripts/firstversions.awk: Allow multiple version sets in the
10548 "earliest version" specification, meaning that version sets in the
10549 gaps between listed versions should be folded into the earliest later
10550 version that is explicitly listed.
10551 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
10552 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
10554 2000-03-21 Ulrich Drepper <drepper@redhat.com>
10556 * iconv/gconv_builtin.c: Include <endian.h>.
10557 * iconv/gconv_builtin.h: Add UCS-BE aliases.
10558 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
10559 according to current platform.
10560 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
10561 __gconv_transform_internal_ucs2reverse, and
10562 __gconv_transform_internal_ucs4le.
10563 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
10564 __gconv_transform_ucs2reverse_internal and
10565 __gconv_transform_internal_ucs2reverse.
10566 * iconvdata/Makefile (modules): Add UNICODE.
10567 (distribute): Add unicode.c.
10568 * iconvdata/gconv-modules: Add definitions for UNICODE module.
10569 * iconvdata/unicode.c: New file.
10571 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
10572 determine byte order of input and convert accordingly.
10574 * iconvdata/utf-16.c (gconv_init): Fix typo.
10576 2000-03-20 Ulrich Drepper <drepper@redhat.com>
10578 * iconvdata/gconv-modules: Fix typo.
10580 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
10583 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
10585 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
10587 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
10589 2000-03-20 Ulrich Drepper <drepper@redhat.com>
10591 * misc/Makefile (routines): Add mincore.
10593 2000-03-20 Andreas Jaeger <aj@suse.de>
10595 * sysdeps/generic/mincore.c: New stub file.
10597 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
10598 from latest Linux kernel.
10600 2000-03-20 Ulrich Drepper <drepper@redhat.com>
10602 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
10603 _SC_GETPW_R_SIZE_MAX.
10605 2000-03-20 Richard Henderson <rth@cygnus.com>
10607 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
10610 2000-03-20 Richard Henderson <rth@cygnus.com>
10612 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
10613 of arithmetic instructions.
10615 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
10616 with the fpcr. Protect from INV exception.
10617 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
10618 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
10619 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
10621 * sysdeps/alpha/fpu/s_copysign.c: New.
10622 * sysdeps/alpha/fpu/s_copysignf.c: New.
10623 * sysdeps/alpha/fpu/s_fabs.c: New.
10624 * sysdeps/alpha/fpu/s_fabsf.c: New.
10625 * sysdeps/alpha/fpu/s_rint.c: New.
10626 * sysdeps/alpha/fpu/s_rintf.c: New.
10628 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
10630 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
10632 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
10633 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
10634 Use physical addresses not KSEG addresses.
10635 (io_system): Add PYXIS.
10636 (io): Remove hae.reg, sys, hae_shift.
10637 (stb_mb, stw_mb, stl_mb, __sethae): New.
10638 (inline_outb, inline_outw, inline_outl): Don't set hae.
10639 (inline_inb, inline_inw, inline_inl): Likewise.
10640 (dense_sethae): New null function.
10641 (struct cpuinfo_data): New.
10642 (process_cpuinfo): Use local and stack variables, not static.
10643 Move readlink check here from init_iosys.
10644 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
10646 (_hae_shift): Calculate it here.
10647 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
10648 add pciconfig_iobase.
10650 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
10652 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
10653 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
10655 * scripts/versions.awk: Fixed version renaming code to distinguish
10656 libraries properly.
10658 2000-03-19 Ulrich Drepper <drepper@redhat.com>
10660 * include/stdlib.h: Add prototype for __cxa_atexit.
10662 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
10663 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
10665 2000-03-17 Cristian Gafton <gafton@redhat.com>
10667 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
10668 existing rtld-installed-name.
10669 ($(rtld-installed-name)): Request libc-$(version) be installed too.
10670 replace existing rtld-installed-name using $(symbolic-link-prog).
10672 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
10674 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
10675 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
10676 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
10677 but not the former.
10679 2000-03-19 Ulrich Drepper <drepper@redhat.com>
10681 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
10682 glob64. Since there is no glob64 in the LFS proposal applications
10683 can assume that glob handles LFS situations. glob64 is only needed
10684 if alternative filesystem functions are used.
10686 2000-03-19 Geoff Clare <gwc@unisoft.com>
10688 * sysdeps/generic/glob.c: Correct gl_pathc value returned
10689 when GLOB_DOOFFS is set; correct handling of patterns
10690 containing escaped wildcards (and no unescaped ones);
10691 GLOB_ERR flag was being ignored in some situations.
10693 * posix/globtest.c, posix/globtest.sh: Updated to include
10694 tests for the problems fixed by the above changes to glob.c.
10696 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
10698 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
10700 * Makeconfig (soversion.i): Use only first match for each lib.
10702 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
10704 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
10705 rather than $(sysd-dirs-done) to protect these rules.
10707 * Makerules (version-renames.def): Target removed.
10708 (Versions.all): Depend on soversions.i directly and parse it.
10710 * Makeconfig (soversions.i): New target, input-reading parts of
10711 soversions.mk generation moved here; result is a canonicalized
10712 list "LIB VERSION [SET]" for this configuration.
10713 (soversions.mk): Use that as input. Don't emit map-firstversions.
10714 * Makerules (version-renames.def): New target, generated from
10715 soversions.i with contents that was in $(map-firstversions).
10716 (Versions.all): Don't depend on soversions.mk, depend on
10717 version-renames.def instead; just cat it into the input.
10719 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
10720 for $(map-firstversions), which better handles it being empty.
10722 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
10723 supported version for libc 0.2.90.libio to GLIBC_2.2.
10725 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
10726 and use it to emit new variable `map-firstversions'.
10727 * scripts/firstversions.awk: New file.
10728 * Makerules (Versions.all): Use scripts/firstversions.awk and
10729 the $(map-firstversions) value to generate a modified versions list
10730 that includes renames in "A = B" syntax for each version set earlier
10731 than the "earliest symbol version" named in shlib-versions.
10732 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
10733 rename version set A to B in the output to the intermediate file.
10734 * scripts/abi-versions.awk: New file.
10735 * Makerules (abi-versions.h): New target, generated by that script.
10736 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
10737 * include/shlib-compat.h: New file, uses that generated header.
10739 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
10741 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
10742 after stripping # comments, and then run it through cpp.
10743 This allows things like "%ifdef FOO" based on config.h settings.
10744 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
10746 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
10747 and other errors that indicate a pseudo-receive happened, grok through
10748 the message buffer for port rights that need references fixed up.
10750 2000-03-16 Andreas Jaeger <aj@suse.de>
10752 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
10754 * sysdeps/unix/sysv/linux/madvise.c: Remove.
10756 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
10757 from latest Linux kernel.
10758 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
10760 * misc/sys/mman.h: Add prototype for mincore.
10762 2000-03-17 Ulrich Drepper <drepper@redhat.com>
10764 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
10765 entry for GLIBC_2.0 version of setrlimit.
10766 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
10768 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
10770 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
10771 * nis/nss_compat/compat-initgroups.c: Likewise.
10772 * nis/nss_nis/nis-initgroups.c: Likewise.
10773 * nis/nss_nis/nis-netgrp.c: Likewise.
10774 * nis/nss_nis/nis-proto.c: Likewise.
10775 * nis/nss_nis/nis-rpc.c: Likewise.
10776 * nis/nss_nis/nis-service.c: Likewise.
10777 * nis/ypclnt.c: Likewise.
10779 2000-03-16 Andreas Jaeger <aj@suse.de>
10781 * manual/Makefile: MAKEINFO is set to `:' from configure if it
10782 doesn't exist, correct checks. Fixes PR libc/1649.
10784 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
10786 * nscd/hstcache.c: Restore correct UID.
10787 * nscd/pwdcache.c: Likewise.
10788 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
10790 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
10792 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
10793 macros for register names, in line with 2000-03-14 linux change.
10795 * sysdeps/mach/sched_yield.c: New file.
10797 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
10799 * sysdeps/generic/lockfile.c: Include <stdio.h>
10800 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
10801 case <libio.h> defined them.
10802 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
10804 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
10805 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
10807 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
10808 for more pleasing parse error.
10810 2000-03-16 Ulrich Drepper <drepper@redhat.com>
10812 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
10814 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
10816 * elf/Makefile: Add rules to compile and run constload1 test.
10817 * elf/constload1.c: New file.
10818 * elf/constload2.c: New file.
10819 * elf/constload3.c: New file.
10821 2000-03-15 Ulrich Drepper <drepper@redhat.com>
10823 * sysdeps/posix/open64.c: Make __open64 weak alias.
10824 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
10825 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10826 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
10827 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10828 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
10829 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
10830 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10831 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
10832 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10833 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
10835 2000-03-14 Ulrich Drepper <drepper@redhat.com>
10837 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
10838 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
10840 2000-03-16 Mark Kettenis <kettenis@gnu.org>
10842 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
10843 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
10845 2000-03-08 Andreas Jaeger <aj@suse.de>
10847 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
10849 2000-03-14 Ulrich Drepper <drepper@redhat.com>
10851 * timezone/africa: Update from tzdata2000d.
10852 * timezone/asia: Likewise.
10853 * timezone/australasia: Likewise.
10854 * timezone/europe: Likewise.
10855 * timezone/northamerica: Likewise.
10856 * timezone/southamerica: Likewise.
10858 * po/fr.po: Update from translation team.
10859 * po/de.po: Likewise.
10861 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
10862 last parameter. Move code to add map to global scope from here...
10863 * elf/dl-open.c (dl_open_worker): ...here.
10864 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
10865 * elf/rtld.c: Adjust call to _dl_map_object_deps.
10867 * locale/programs/ld-collate.c (collate_read): Fix warning.
10869 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
10870 values and macros for register names.
10872 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
10873 returned by seek cookie function is -1.
10875 2000-03-14 Andreas Jaeger <aj@suse.de>
10877 * locale/localeconv.c (localeconv): Fix typo.
10878 Reported by Andre Charbonneau <andrec@corel.com>.
10880 2000-03-14 Ulrich Drepper <drepper@redhat.com>
10882 * iconv/skeleton.c: Increment __invocation_counter in inner loop
10883 since modules depend on it counting the number of times the conversion
10884 function got called.
10886 * iconv/gconv_open.c: Optimize loop to setup step data structure.
10888 * iconv/gconv.h: Pretty print.
10890 2000-03-04 Ulrich Drepper <drepper@redhat.com>
10892 * posix/wordexp-test.c: Correct one of the tests added in the last
10893 change. Really get the root passwd entry to check again ~root.
10895 2000-03-10 Andreas Jaeger <aj@suse.de>
10897 * manual/filesys.texi (Working Directory): Fix last patch.
10898 Patch by Martin Buchholz <martin@xemacs.org>.
10900 2000-03-10 Andreas Jaeger <aj@suse.de>
10902 * manual/creature.texi (Feature Test Macros): Fix language.
10904 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
10906 * mach/devstream.c (devstream_write, devstream_read): New functions.
10907 (input, output): Functions removed.
10908 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
10909 using only the vanilla fopencookie interface.
10911 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
10912 as macro for __io_functions.
10913 (funcsio): Use cookie_io_functions_t type name.
10914 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
10916 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
10918 (fopencookie): Use it.
10919 * libio/libio.h: Declare _IO_cookie_init.
10920 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
10923 * libio/libio.h (__io_seek_fn): Fix second argument type
10924 to be a pointer, in line with the manual and the old stdio.
10925 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
10927 * sysdeps/generic/bits/stdio-lock.h: New file.
10928 This is a stub with #error, but that's better than no file at all.
10930 2000-03-09 Martin Buchholz <martin@xemacs.org>
10932 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
10933 * manual/message.texi (Using gettextized software): Doc Fixes.
10934 * manual/message.texi (Message Translation): Doc Fixes.
10935 * manual/filesys.texi (File Size): Doc Fixes.
10936 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
10937 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
10938 * iconv/gconv_db.c (find_derivation): Doc Fixes.
10939 * manual/install.texi: Doc Fixes.
10940 * manual/search.texi (Hash Search Function): Doc Fixes.
10941 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
10942 * FAQ.in: Doc Fixes.
10943 * config.h.in: Doc Fixes.
10944 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
10945 Doc Fixes. `allows to' is not correct English.
10947 * elf/rtld.c: Doc fixes.
10948 * manual/creature.texi (Feature Test Macros): Doc fixes.
10949 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
10951 * manual/filesys.texi (Working Directory): Check for ERANGE to
10954 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
10956 * string/argz-stringify.c (__argz_stringify): Fix loop termination
10957 conditions so as not to clobber the final '\0' when there is only one
10958 element in the vector.
10960 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
10962 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
10963 broken by 2000-02-27 change.
10965 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
10967 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
10969 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
10970 argument type, for 2000-02-22 change in signal/signal.h declaration.
10972 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
10974 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
10975 to getdirentries64 (no __), since the Linux implementation
10976 has no __ name, and there is no declaration for the __ name.
10978 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
10980 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
10981 sed regexp so as not to break directory names including /../ within.
10983 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
10984 The sysdeps/generic file is right for BSD. This file was in fact the
10985 Hurd file, but the only difference was the WNOREAP flag that was never
10986 actually implemented or used anywhere.
10988 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
10989 since AC_PATH_PROG already does it for us.
10990 (PERL): Rewrite check added in 2000-02-29 change for syntactic
10991 correctness and sh portability. I replaced the broken check
10992 with a more sensible implementation of the apparently intended
10993 semantics, which might still be questionable. Using expr causes
10994 a non-numeric value for `perl -V:apiversion` to be accepted,
10995 refusing to use only a perl that reports a number less than 5;
10996 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
10997 * configure: Regenerated.
10999 2000-03-08 Andreas Jaeger <aj@suse.de>
11001 * manual/crypt.texi: Fix paths.
11003 2000-03-07 Andreas Jaeger <aj@suse.de>
11005 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
11007 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
11010 2000-03-06 Andreas Jaeger <aj@suse.de>
11012 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
11013 in __sgn1l, otherwise g++ fails to parse this.
11014 Reported by Sean Chen <sean.chen@turbolinux.com>.
11016 2000-03-03 Geoff Keating <geoffk@cygnus.com>
11018 * configure.in: Compute sizeof-long-double.
11019 * configure: Regenerated.
11020 * config.make.in: Make sizeof-long-double available to sub-makes.
11022 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
11024 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
11027 2000-03-03 Geoff Keating <geoffk@cygnus.com>
11029 * Makeconfig (rpath-dirs): Add crypt.
11030 (all-subdirs): Remove md5crypt.
11031 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
11032 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
11033 * sysdeps/generic/crypt-entry.c: Delete.
11034 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
11035 * sysdeps/generic/crypt.h: Delete.
11036 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
11037 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
11038 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
11039 * sysdeps/generic/des_impl.c: Delete.
11040 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
11041 * crypt/sysdeps: Delete.
11042 * crypt/crypt_util.c: Don't use `patchlevel.h'.
11043 * md5-crypt/Versions: Move to crypt/.
11044 * md5-crypt/md5-crypt.c: Move to crypt/.
11045 * md5-crypt/md5.c: Move to crypt/.
11046 * md5-crypt/md5c-test.c: Move to crypt/.
11047 * md5-crypt/md5test.c: Move to crypt/.
11048 * md5-crypt: Delete.
11049 * crypt/Makefile: Adjust for new structure.
11051 2000-03-03 Paul Eggert <eggert@twinsun.com>
11053 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
11054 define to 1 if not defined.
11056 2000-03-03 Andreas Jaeger <aj@suse.de>
11058 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
11060 2000-03-03 Andreas Jaeger <aj@suse.de>
11062 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
11064 (xdr_int64_t): Correctly handle lower half.
11065 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
11067 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
11069 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
11072 2000-03-02 Andreas Jaeger <aj@suse.de>
11074 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
11077 2000-03-02 Andreas Jaeger <aj@suse.de>
11079 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
11081 2000-03-01 Andreas Jaeger <aj@suse.de>
11083 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
11084 (tests): Added tst-getdate.
11086 * time/tst-getdate.c: New file.
11088 * time/datemsk: New file, needed for tst-getdate.
11090 2000-02-29 Cristian Gafton <gafton@redhat.com>
11092 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
11094 2000-02-17 H.J. Lu <hjl@gnu.org>
11096 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
11098 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
11100 (svcudp_recv): Set up message with the new "xp_pad" field for
11102 (svcudp_reply): Support IP_PKTINFO if available.
11104 2000-03-01 Andreas Jaeger <aj@suse.de>
11106 * time/getdate.c (check_mday): Fix check for february.
11107 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
11108 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
11110 2000-03-02 Andreas Jaeger <aj@suse.de>
11112 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
11113 g++ fails to parse this.
11114 Reported by Sean Chen <sean.chen@turbolinux.com>.
11116 2000-02-28 Ulrich Drepper <drepper@redhat.com>
11118 * io/creat.c: Moved to...
11119 * sysdeps/generic/creat.c: ...here.
11120 * io/creat64.c: Moved to...
11121 * sysdeps/generic/creat64.c: ...here.
11122 * io/lockf.c: Moved to...
11123 * sysdeps/generic/lockf.c: ...here.
11125 * crypt/crypt.texi: Moved to...
11126 * manual/crypt.texi: ...here.
11127 * crypt/examples/genpass.c: Moved to...
11128 * manual/examples/genpass.c: ...here.
11129 * crypt/examples/mygenpass.c: Moved to...
11130 * manual/examples/mygenpass.c: ...here.
11131 * crypt/examples/testpass.c: Moved to...
11132 * manual/examples/testpass.c: ...here.
11134 * manual/Makefile (chapters): Add crypt.
11135 * manual/conf.texi: Add usual header for not-last chapter.
11136 * manual/crypt.texi: Add special header for last chapter.
11138 2000-02-28 Geoff Keating <geoffk@cygnus.com>
11140 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
11141 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
11142 complain if there is no crypt add-on.
11143 * crypt/configure: Removed.
11145 * crypt/crypt.texi: Update documentation of US export restrictions
11146 to match the 14 Jan 2000 regulations.
11148 2000-02-28 Geoff Keating <geoffk@cygnus.com>
11150 * crypt: New subdirectory, merged in from the crypt add-on.
11152 2000-02-28 Ulrich Drepper <drepper@redhat.com>
11154 * include/unistd.h: Add __rmdir and __mkdir prototypes.
11157 See ChangeLog.10 for earlier changes.