1 2000-09-16 Ulrich Drepper <drepper@redhat.com>
3 * include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX.
4 Patch by Thorsten Kukuk <kukuk@suse.de>.
6 * dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c.
8 (modules-names): Add defaultmod1 and defaultmod2.
9 Add rules to build test objects.
11 2000-09-15 Ulrich Drepper <drepper@redhat.com>
13 * wctype/wctype.h: Always include <bits/types.h>.
14 Reported by Jim Meyering <meyering@ascend.com>.
16 * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now.
17 * elf/dl-support.c: Likewise.
19 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of
20 st_blocks member in stat and stat64 structs.
21 Patch by Bill Nottingham <notting@redhat.com>.
23 * iconvdata/tst-tables.sh: Add warning that GB18030 test might
26 * math/complex.h: Don't define _Complex macro for gcc 3. Add
27 __extension__ to _Complex_I definition since gcc warns if -pedantic.
28 * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~.
29 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
31 * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if
32 necessary. Move includes of POSIX and Unix limits files to the end.
33 * stdlib/Makefile (tests): Add tst-limits.
34 * stdlib/tst-limits.h: New file.
36 2000-09-15 Andreas Jaeger <aj@suse.de>
38 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV.
40 * sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define.
42 2000-09-15 Jakub Jelinek <jakub@redhat.com>
44 * sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory
46 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
47 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise.
49 2000-09-15 Ulrich Drepper <drepper@redhat.com>
51 * elf/Makefile (distribute): Add nextmod1.c and nextmod2.c.
53 (modules-names): Add nextmod1 and nextmod2.
54 Add rules to build and run next.
55 * elf/next.c: New file.
56 * elf/nextmod1.c: New file.
57 * elf/nextmod2.c: New file.
59 2000-09-14 Jakub Jelinek <jakub@redhat.com>
61 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo.
63 2000-09-15 Andreas Jaeger <aj@suse.de>
65 * sysdeps/mips/fpu/fenv_libc.h: New file.
66 * sysdeps/mips/fpu/feenablxcpt.c: Use fenv_libc.h
67 * sysdeps/mips/fpu/fegetexcept.c: Likewise.
68 * sysdeps/mips/fpu/fedisblxcpt.c: Likewise.
70 * sysdeps/mips/fpu/feenablxcpt.c: New file.
71 * sysdeps/mips/fpu/fegetexcept.c: New file.
72 * sysdeps/mips/fpu/fedisblxcpt.c: New file.
74 2000-09-14 Ulrich Drepper <drepper@redhat.com>
76 * intl/Makefile: Avoid unnecessary test reruns.
78 * stdio-common/tst-printf.sh: Also allow output from 64-bit machines.
80 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change
81 to not use sysctl(). Too many architectures have problems with it.
83 2000-09-14 Andreas Jaeger <aj@suse.de>
85 * scripts/config.sub: New version from subversions.gnu.org.
87 * time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now
90 2000-09-14 Jakub Jelinek <jakub@redhat.com>
92 * posix/regex.c (compile_range): Cast collseq index to unsigned char
93 to avoid accessing data before collseq.
95 * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid
96 pasting strings together.
98 2000-09-14 Greg McGary <greg@mcgary.org>
100 * sysdeps/generic/bp-checks.h: Remove bogus reference to GNU MP in
102 * sysdeps/generic/bp-semctl.h: Likewise.
103 * sysdeps/generic/bp-start.h: Likewise.
104 * sysdeps/generic/bp-sym.h: Likewise.
105 * sysdeps/generic/bp-thunks.h: Likewise. Include <stdio.h> to get
108 2000-09-13 Ulrich Drepper <drepper@redhat.com>
110 * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and
113 * elf/elf.h: Add missing official relocations.
115 * libio/stdio.h: Define __FILE if __need___FILE is defined.
116 * stdio/stdio.h: Likewise.
117 * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE.
118 * include/stdio.h: Handle __need___FILE like __need_FILE.
119 * include/wchar.h: Use __FILE instead of FILE.
120 * libio/fwprintf.c: Include <stdio.h> for FILE definition.
121 * libio/fwscanf.c: Likewise.
122 * libio/getwc.c: Likewise.
124 * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u.
125 * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1.
126 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise.
128 * assert/assert.h: Update comment header about ISO C section.
129 * math/complex.h: Likewise.
130 * ctype/ctype.h: Likewise.
131 * include/errno.h: Likewise.
132 * include/limits.h: Likewise.
133 * locale/locale.h: Likewise.
134 * math/math.h: Likewise.
135 * setjmp/setjmp.h: Likewise.
136 * signal/signal.h: Likewise.
137 * stdio/stdio.h: Likewise.
138 * libio/stdio.h: Likewise.
139 * stdlib/stdlib.h: Likewise.
140 * string/string.h: Likewise.
141 * time/time.h: Likewise.
142 * wcsmbs/wchar.h: Likewise.
143 * wctype/wctype.h: Likewise.
144 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
146 2000-09-13 Andreas Jaeger <aj@suse.de>
148 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test
150 * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise.
151 * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise.
152 Reported by Eric S. Johnson <esj@cs.fiu.edu>, closes PR libc/1887.
154 2000-09-13 Ulrich Drepper <drepper@redhat.com>
156 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
157 constant since this is what clock_t is.
158 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
159 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
160 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
161 * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
163 * time/time.h: Don't defined clockid_t and timer_t unless POSIX
164 definitions are requested.
166 2000-09-13 Andreas Jaeger <aj@suse.de>
168 * shlib-versions: libBrokenLocale needs minimal version for ia64,
169 sparc64 and sh to synch with libc.
171 2000-09-13 Ulrich Drepper <drepper@redhat.com>
173 * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT.
174 (distribute): Add iso-2022-cn-ext.c.
175 Add definitions to compile the new module.
176 * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT.
177 * iconvdata/iso-2022-cn-ext.c: New file.
178 * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from
179 ucs4_from_isoir165. Increment input pointer if successful.
181 * csu/Makefile: Work around a gcc bug when creating csu-dummies.
183 * sysdeps/unix/sysv/linux/getdents.c: Pretty print.
185 2000-09-01 Jes Sorensen <jes@linuxcare.com>
187 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
188 __syscall_getdents64 wrapper.
190 * sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
192 2000-09-12 Ulrich Drepper <drepper@redhat.com>
194 * iconvdata/gb18030.c: Many many changes. Make consistent with
195 charmap and with itself.
196 * iconvdata/tst-tables.sh: Test GB18030.
198 2000-09-11 Ulrich Drepper <drepper@redhat.com>
200 * iconv/skeleton.c: Fix last patch, add missing parameter to
201 unaligned function call.
203 2000-09-10 Bruno Haible <haible@clisp.cons.org>
205 * locale/programs/ld-collate.c (collate_read): Fix typo in handling
208 2000-09-11 Bruno Haible <haible@clisp.cons.org>
210 * locale/programs/ld-collate.c (collate_read): Always initialize
213 2000-09-10 Bruno Haible <haible@clisp.cons.org>
215 * locale/programs/ld-collate.c (collate_finish): Upper bound for
216 ruleidx is 128, not 256.
218 2000-09-11 Ulrich Drepper <drepper@redhat.com>
220 * locale/programs/ld-collate.c (collate_read): Correct check for
221 already inserted entries.
223 2000-09-10 Bruno Haible <haible@clisp.cons.org>
225 * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in
228 2000-09-10 Bruno Haible <haible@clisp.cons.org>
230 * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if
231 MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1.
233 2000-09-10 Bruno Haible <haible@clisp.cons.org>
235 * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with
238 2000-09-10 Bruno Haible <haible@clisp.cons.org>
240 * iconvdata/utf-7.c: New file.
241 * iconvdata/gconv-modules (UTF-7): New module entries.
242 * iconvdata/Makefile (modules): Add UTF-7.
243 (distribute): Add utf-7.c.
244 * iconvdata/testdata/UTF-7: New file.
245 * iconvdata/testdata/UTF-7..UTF8: New file.
246 * iconvdata/TESTS (UTF-7): New entry.
247 * iconvdata/run-iconv-test.sh: Fix confusing output.
249 2000-09-11 Ulrich Drepper <drepper@redhat.com>
251 * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
253 2000-09-10 David S. Miller <davem@redhat.com>
255 * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
256 frame pointer offset for non-fast path.
258 2000-09-10 Ulrich Drepper <drepper@redhat.com>
260 * locale/programs/3level.h (*_init): Initialize level1, level2,
262 (*_add): Remove a few unnecessary conditionals.
264 2000-09-05 Wolfram Gloger <wg@malloc.de>
266 * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread,
267 ensure usability of mutex as an `in use' flag.
269 2000-09-10 Ulrich Drepper <drepper@redhat.com>
271 * shlib-versions: Simplify libm entries. Correct a few Hurd entries.
273 * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
274 ugly GMON_WEAK_START hack.
275 Patch by Philip Blundell <philb@gnu.org>.
277 * sysdeps/i386/i486/bits/string.h: Pretty printing.
279 2000-09-09 Ulrich Drepper <drepper@redhat.com>
281 * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
282 and PPC_ICBI asm for broken compilers.
283 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
285 2000-09-09 Andreas Jaeger <aj@suse.de>
287 * manual/message.texi (Advanced gettext functions): Fix typo.
289 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
292 2000-09-09 Ulrich Drepper <drepper@redhat.com>
294 * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
296 * sysdeps/ia64/memccpy.S: Likewise.
297 Patches by Jim Wilson <wilson@redhat.com>.
299 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname
300 before trying to read /proc.
301 Patch by Matt Wilson <msw@redhat.com>.
302 * include/sys/utsname.h: Declare __uname.
303 * sysdeps/generic/uname.c: Make uname a weak alias of __uname.
304 * sysdeps/mach/hurd/uname.c: Likewise.
305 * sysdeps/unix/syscalls.list: Likewise.
307 * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
310 2000-09-08 Ulrich Drepper <drepper@redhat.com>
312 * posix/getopt.c (_getopt_internal): When long_only is set always
313 recognize conflicts just like before.
315 2000-09-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
317 * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
319 2000-09-08 Greg McGary <greg@mcgary.org>
321 * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
322 * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'.
323 * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
325 2000-09-08 Andreas Jaeger <aj@suse.de>
327 * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
329 * sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
331 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
332 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
333 (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
335 2000-09-07 Ulrich Drepper <drepper@redhat.com>
337 * iconvdata/tst-tables.sh: Enable EUC-KR test.
339 * elf/dl-load.c (lose): Decrement _nl_loaded.
340 (_dl_map_object_from_fd): Don't try to dlopen executables.
342 * iconvdata/tst-tables.sh: Actually return with an error if
343 something goes wrong.
344 * iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
345 * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
347 * iconvdata/tst-tables.sh: Add BIG5HKSCS.
349 * iconvdata/tst-table-to.c (main): Correct cast in iconv call.
350 * iconvdata/tst-table-from.c: Include <string.h>.
351 (try): Correct cast in iconv call.
353 * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
355 * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
356 (sysdep_routines): Remove dl-start.
357 Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
359 * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
361 * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
362 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
364 2000-09-06 Andreas Schwab <schwab@suse.de>
366 * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
368 2000-09-07 Ulrich Drepper <drepper@redhat.com>
370 * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
372 * scripts/config.sub: Strip out -unknown for Linux targets.
373 Patch by Scott Bambrough <scottb@netwinder.org>.
375 * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
378 2000-09-07 Andreas Jaeger <aj@suse.de>
380 * sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
382 * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
385 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
387 * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
388 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
390 * sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
392 * stdlib/tst-bsearch.c (main): Add more test cases.
394 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
395 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
396 Reported by GOTO Masanori <gotom@debian.or.jp>.
398 2000-09-07 Ulrich Drepper <drepper@redhat.com>
400 * posix/Makefile (tests): Add tst-dir.
401 (tst-dir-ARGS): New variable.
402 * posix/tst-dir.c: New file.
404 2000-09-07 Andreas Jaeger <aj@suse.de>
406 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
409 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
411 2000-09-06 Ulrich Drepper <drepper@redhat.com>
413 * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
414 use the hack with tryopen_o_directory to determine at runtime
416 * sysdeps/unix/sysv/linux/opendir.c: New file.
417 * sysdeps/unix/sysv/linux/kernel-features.h: Define
418 __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
420 * catgets/Depend: New file. Add intl.
421 * catgets/Makefile (tests): Add tst-catgets.
422 (generated): Remove de.msg.
423 (generated-dirs): Add de.
424 Add dependency if tst-catgets output on de/libc.cat.
425 * catgets/tst-catgets.c: New file.
427 * po/ja.po: New file.
428 * po/el.po: Update from translation team.
430 * wcsmbs/Depend: New file.
431 * wcsmbs/Makefile (tests): Add tst-btowc.
432 (tst-btowc-ENV): Define.
433 * wcsmbs/tst-btowc.c: New file.
435 * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
436 * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
438 * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
440 * stdlib/Makefile (tests): Add tst-bsearch.
441 * stdlib/tst-bsearch.c: New file.
443 * posix/getopt.c (_getopt_internal): Don't recognize an option
444 name as ambiguous if it's a prefix for more than one name but the
445 other struct option values are identical.
447 * posix/tstgetopt.c: Add test for improved ambiguity recognition.
448 Don't depend on visual inspection of the output file to recognize
450 * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
452 2000-09-06 Andreas Jaeger <aj@suse.de>
454 * sysdeps/alpha/soft-fp/Dist: New file.
455 * sysdeps/i386/soft-fp/Dist: New file.
456 * sysdeps/mips/mips64/soft-fp/Dist: New file.
457 * sysdeps/mips/soft-fp/Dist: New file.
458 * sysdeps/powerpc/soft-fp/Dist: New file.
459 * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
460 * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
462 * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
463 Use sysdep_routines instead of routines to fix make dist failure.
464 * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
466 * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
468 * sysdeps/mips/Makefile [$(subdir) = misc]: Use
469 sysdep_headers instead of headers for make dist.
471 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
474 2000-09-06 Andreas Schwab <schwab@suse.de>
476 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
478 2000-09-06 Andreas Jaeger <aj@suse.de>
480 * soft-fp/Makefile (distribute): Remove ChangeLog.
482 * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use
483 sysdep_routines instead of routines for make dist.
485 2000-09-05 Ulrich Drepper <drepper@redhat.com>
487 * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
488 compatibility check for old stream and call _IO_wide in doubt.
489 (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
490 * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
491 needed tst for such an old structure and don't do anything.
492 * libio/freopen.c: Remove declaration of _IO_stdin_used.
494 2000-09-06 Andreas Jaeger <aj@suse.de>
496 * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
497 sysdep-dl-routines and sysdep_routines instead of rtld-routines
500 * soft-fp/ChangeLog: Merged with this file.
502 2000-06-13 Ulrich Drepper <drepper@redhat.com>
504 * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
506 * soft-fp/Makefile (distribute): Add the math functions, too.
508 * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
510 2000-03-03 Geoff Keating <geoffk@cygnus.com>
512 * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
515 * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
516 * soft-fp/sysdeps/powerpc/q_*: New files.
518 2000-09-05 Ulrich Drepper <drepper@redhat.com>
520 * stdio-common/vfprintf.c (process_string_arg): Handle precision
521 in wide char case correctly. Don't allocate too long temporary
524 * stdio-common/Makefile (tests): Add tst-swprintf.
525 (tst-swprintf-ENV): New variable.
526 * stdio-common/tst-swprintf.c: New file.
528 2000-09-05 Andreas Jaeger <aj@suse.de>
530 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
531 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
532 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
534 2000-09-05 Ulrich Drepper <drepper@redhat.com>
536 * configure.in: Strip out "unknown" from configuration names.
538 2000-09-05 Andreas Jaeger <aj@suse.de>
540 * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
542 * sysdeps/sparc/sparc64/Implies: Add soft-fp.
543 * sysdeps/sparc/sparc32/Implies: Likewise.
544 * sysdeps/powerpc/Implies: Likewise.
546 * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
547 * libio/oldiofgetpos64.c: Likewise.
549 * soft-fp/Makefile (distribute): Remove configure.
551 * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
553 * soft-fp/configure: Remove.
555 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
556 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
558 * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
559 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
561 * soft-fp/sysdeps/powerpc/Makefile: Move from here...
562 * sysdeps/powerpc/soft-fp/Makefile: ... to here.
564 * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
565 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
567 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
568 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
570 * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
571 * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
573 * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
574 * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
576 * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
577 * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
579 * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
580 * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
582 * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
583 * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
585 * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
586 * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
588 * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
589 * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
591 * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
592 * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
594 * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
595 * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
597 * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
598 * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
600 * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
601 * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
603 * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
604 * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
606 * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
607 * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
609 * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
610 * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
612 * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
613 * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
615 * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
616 * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
618 * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
619 * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
621 * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
622 * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
624 * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
625 * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
627 * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
628 * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
630 * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
631 * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
633 * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
634 * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
636 * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
637 * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
639 * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
640 * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
642 * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
643 * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
645 * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
646 * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
648 * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
649 * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
651 * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
652 * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
654 * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
655 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
657 * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
658 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
660 * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
661 * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
663 * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
664 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
666 * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
667 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
669 * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
670 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
672 * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
673 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
675 * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
676 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
678 * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
679 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
681 * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
682 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
684 * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
685 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
687 * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
688 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
690 * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
691 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
693 * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
694 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
696 * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
697 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
699 * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
700 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
702 * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
703 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
705 * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
706 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
708 * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
709 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
711 * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
712 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
714 * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
715 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
717 * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
718 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
720 * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
721 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
723 * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
724 * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
726 * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
727 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
729 * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
730 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
732 * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
733 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
735 * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
736 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
738 * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
739 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
741 * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
742 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
744 * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
745 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
747 * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
748 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
750 * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
751 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
753 * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
754 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
756 * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
757 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
759 * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
760 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
762 * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
763 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
765 * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
766 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
768 * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
769 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
771 * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
772 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
774 * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
775 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
777 * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
778 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
780 * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
781 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
783 * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
784 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
786 * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
787 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
789 * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
790 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
792 * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
793 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
795 * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
796 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
798 * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
799 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
801 * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
802 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
804 * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
805 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
807 * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
808 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
810 * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
811 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
813 * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
814 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
816 * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
817 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
819 * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
820 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
822 * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
823 * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
825 * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
826 * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
828 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
829 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
831 * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
832 * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
834 * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
835 * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
837 * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
838 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
840 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
841 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
843 * soft-fp/sysdeps/powerpc/Versions: Move from here...
844 * sysdeps/powerpc/soft-fp/Versions: ... to here.
846 * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
847 * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
849 * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
850 change symbol version.
851 * libio/oldiofgetpos64.c: Likewise.
852 Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
854 * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
856 Reported by dyky@kondara.org, closes PR libc/1886.
858 * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
861 2000-09-04 Ulrich Drepper <drepper@redhat.com>
863 * iconvdata/run-iconv-test.sh: Add code to immediately stop the
864 script when ^C is hit.
866 * locale/programs/localedef.c (construct_output_path): Correct
867 computation of endp after asprintf.
868 * locale/programs/locfile.c (write_locale_data): Don't add extra
871 2000-09-05 Andreas Jaeger <aj@suse.de>
873 * scripts/config.guess: New upstream version.
874 * scripts/config.sub: Likewise.
875 * manual/texinfo.tex: Likewise.
877 2000-09-04 Andreas Schwab <schwab@suse.de>
879 * elf/Makefile (all-dl-routines): New variable.
880 (elide-routines.os): Use it instead of $(dl-routines).
881 (all-rtld-routines): New variable.
882 (extra-objs): Use it instead of $(rtld-routines).
883 ($(objpfx)dl-allobjs.os): Likewise.
884 * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
885 sysdep-dl-routines and sysdep_routines instead of rtld-routines
888 2000-09-03 Bruno Haible <haible@clisp.cons.org>
890 * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
891 Set fname to NULL if the module wasn't found.
893 2000-09-03 Bruno Haible <haible@clisp.cons.org>
895 * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
896 true if trans->name already ends in ".so".
898 2000-09-03 Bruno Haible <haible@clisp.cons.org>
900 * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
902 * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
903 below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
904 (__gconv_release_shlib): Change return type to void.
905 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
906 step->__counter here.
907 * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
908 if the reference is zero.
909 (release_step): New function.
910 (gen_steps): Always initialize the __counter to 1. Use release_step.
911 Don't call the destructor on the step whose initializer failed.
912 (increment_counter): Use release_step. Don't normally run destructors
914 (__gconv_close_transform): Use release_step.
916 2000-09-03 Bruno Haible <haible@clisp.cons.org>
918 * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
919 (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
921 2000-09-03 Bruno Haible <haible@clisp.cons.org>
923 * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
924 If the first byte is 0x8E, don't ask for 4 bytes until it has been
925 verified that the second byte is valid. Leave it to cns11643_to_ucs4
926 to check for incomplete input.
927 * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
928 ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
929 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
930 (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
932 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
933 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
934 (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
935 * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
938 2000-09-03 Bruno Haible <haible@clisp.cons.org>
940 * iconv/gconv_db.c (find_derivation): Always use the least-cost
943 2000-09-03 Bruno Haible <haible@clisp.cons.org>
945 * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
948 2000-09-03 Bruno Haible <haible@clisp.cons.org>
950 * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
951 * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
954 2000-09-03 Bruno Haible <haible@clisp.cons.org>
956 * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
958 2000-09-03 Bruno Haible <haible@clisp.cons.org>
960 * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
962 2000-09-03 Bruno Haible <haible@clisp.cons.org>
964 * iconvdata/tst-tables.sh: New file.
965 * iconvdata/tst-table.sh: New file.
966 * iconvdata/tst-table-from.c: New file.
967 * iconvdata/tst-table-to.c: New file.
968 * iconvdata/tst-table-charmap.sh: New file.
969 * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
970 (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
971 tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
972 ISIRI-3342.irreversible, SJIS.irreversible.
973 (tests): Add dependency on tst-tables.out.
974 (tst-tables.out, tst-tables-clean): New rules.
975 (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
976 * iconvdata/ISIRI-3342.irreversible: New file.
977 * iconvdata/EUC-JP.irreversible: New file.
978 * iconvdata/SJIS.irreversible: New file.
980 2000-09-04 Ulrich Drepper <drepper@redhat.com>
982 * manual/locale.texi (General Numeric): Update description of
983 representation of the grouping information in the locale data.
984 Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
986 2000-09-04 Andreas Jaeger <aj@suse.de>
988 * locale/programs/ld-monetary.c (monetary_read): Fix typo.
989 * iconv/iconv_prog.c (options): Fix typo.
990 Reported by dyky@kondara.org, closes PR libc/1885.
992 2000-09-04 Andreas Jaeger <aj@suse.de>
994 * sysdeps/generic/fegetenv.c: It's __fegetenv.
995 Reported by Rob Levin <lilo@transvirtual.com>.
997 2000-09-03 Ulrich Drepper <drepper@redhat.com>
999 * time/sys/time.h (gettimeofday): Move restrict for tz parameter
1000 to the typedefs of __timezone_ptr_t.
1001 Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
1003 2000-09-02 Jakub Jelinek <jakub@redhat.com>
1005 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
1008 2000-09-01 H.J. Lu <hjl@gnu.org>
1010 * Makeconfig (built-program-cmd): Don't use the dynamic linker
1011 to run a binary if it is in $(tests-static).
1013 * Rules (binaries-static): Add $(tests-static).
1015 2000-09-02 Andreas Jaeger <aj@suse.de>
1017 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
1019 * libio/fmemopen.c (fmemopen_close): Revert one part of last
1022 2000-09-01 Ulrich Drepper <drepper@redhat.com>
1024 * iconvdata/big5hkscs.c: Regenerated from charmap.
1025 * iconvdata/testdata/BIG5HKSCS: Regenerated.
1026 * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
1028 * libio/fmemopen.c (fmemopen_seek): Add default case in switch
1029 statement. General cleanup.
1031 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1033 * wctype/wcfuncs.c (iswblank): New function.
1034 * wctype/wcfuncs_l.c (__iswblank_l): New function.
1035 * wctype/wcextra.c: Remove file.
1036 * wctype/wcextra_l.c: Remove file.
1037 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
1039 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1041 * locale/programs/ld-collate.c (collate_output): Remove redundant
1043 * string/strcoll.c: Likewise.
1044 * string/strxfrm.c: Include assert.h. Add assert calls like in
1047 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1049 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
1050 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
1051 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
1052 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
1053 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
1054 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
1055 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
1056 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
1057 _NL_CTYPE_GAP5/6 respectively.
1059 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
1060 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
1061 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
1062 Don't initialize __ctype_names and __ctype_width.
1063 * wctype/cname-lookup.h: Remove file.
1064 * wctype/Makefile (distribute): Remove cname-lookup.h.
1065 * wctype/wchar-lookup.h: Include stdint.h.
1066 * wctype/wctype.c (__wctype): Assume new locale format.
1067 * wctype/wctype_l.c (__wctype_l): Likewise.
1068 * wctype/iswctype.c: Don't include cname-lookup.h.
1069 (__iswctype): Assume new locale format.
1070 * wctype/iswctype_l.c: Don't include cname-lookup.h.
1071 (__iswctype_l): Assume new locale format.
1072 * wctype/wctrans.c: Don't include ctype.h.
1073 (wctrans): Assume new locale format.
1074 * wctype/wctrans_l.c (__wctrans_l): Likewise.
1075 * wctype/towctrans.c: Don't include cname-lookup.h.
1076 (__towctrans): Assume new locale format.
1077 * wctype/towctrans_l.c: Don't include cname-lookup.h.
1078 (__towctrans_l): Assume new locale format.
1079 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
1080 localeinfo.h instead.
1081 (__NO_WCTYPE): Remove unused macro.
1082 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
1084 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
1085 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
1086 (towlower, towupper): Likewise.
1087 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
1088 localeinfo.h instead.
1089 (__NO_WCTYPE): Remove unused macro.
1090 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
1091 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
1092 __iswxdigit_l): Assume new locale format.
1093 (__towlower_l, __towupper_l): Likewise.
1094 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
1095 (__ctype32_b): Remove declaration.
1096 (internal_wcwidth): Assume new locale format.
1097 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
1098 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
1099 to map32_b, rename width_3level to width.
1100 (ctype_output): Always create new locale format. Don't emit
1101 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
1102 (allocate_arrays): Always create new locale format.
1104 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
1105 * locale/weightwc.h (findidx): Assume new locale format.
1106 * string/strcoll.c (wcscoll): Remove local variables size, layers,
1108 * string/strxfrm.c (wcsxfrm): Likewise.
1109 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
1110 local variable collseq to 'const char *'.
1111 (SUFFIX): Don't use, don't undefine.
1112 * posix/fnmatch.c: Remove SUFFIX definition.
1113 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
1114 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
1115 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
1116 (collate_finish): Always create new locale format. Remove local
1117 variables min_total, act_size.
1118 (collate_output): Always create new locale format. Remove local
1119 variables table_size, names, tablewc. Rename tablewc_3level to
1122 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1124 * locale/programs/ld-collate.c (obstack_int32_grow,
1125 obstack_int32_grow_fast): New inline functions.
1126 (output_weightwc, collate_output): Use them where possible.
1128 2000-09-01 Ulrich Drepper <drepper@redhat.com>
1130 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
1131 patch (_mode -> _flags).
1133 * libio/Makefile (headers): Add stdio_ext.h.
1134 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
1135 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
1136 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
1137 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
1138 __fsetlocking, and _flushlbf.
1139 * libio/__fbufsize.c: New file.
1140 * libio/__flbf.c: New file.
1141 * libio/__fpending.c: New file.
1142 * libio/__fpurge.c: New file.
1143 * libio/__freadable.c: New file.
1144 * libio/__freading.c: New file.
1145 * libio/__fsetlocking.c: New file.
1146 * libio/__fwritable.c: New file.
1147 * libio/__fwriting.c: New file.
1148 * libio/stdio_ext.h: New file.
1149 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
1150 * libio/libio.h (_IO_USER_LOCK): Define.
1151 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
1152 test _IO_USER_LOCK flag first.
1154 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
1157 2000-09-01 Andreas Jaeger <aj@suse.de>
1159 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
1161 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
1163 2000-08-31 Ulrich Drepper <drepper@redhat.com>
1165 * math/Makefile (tests): Add tst-defintions.
1166 * math/tst-definitions.c: New file.
1168 * stdlib/Makefile (headers): Add bits/wchar.h.
1169 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
1170 * sysdeps/generic/bits/wchar.h: New file.
1171 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
1172 file to define WCHAR_MIN and WCHAR_MAX.
1173 Change UINT*8_MAX and UIN*16_MAX value to type int.
1174 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
1175 file to define WCHAR_MIN and WCHAR_MAX.
1176 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
1178 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
1179 * sysdeps/generic/bits/mathdef.h: Likewise.
1180 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
1181 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
1182 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
1183 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
1184 * locale/locale.h (struct lconv): Add __ prefix to the new members
1186 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
1187 imaxdiv optimizations.
1188 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
1189 * sysdeps/wordsize-64/ldiv.c: Likewise.
1190 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
1192 * sysdeps/generic/bits/fenv.h: Likewise.
1193 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
1194 * sysdeps/ia64/bits/fenv.h: Likewise.
1195 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
1196 * sysdeps/mips/bits/fenv.h: Likewise.
1197 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
1198 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
1199 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1201 * inet/rcmd.c: Use *stat64 instead of *stat internally.
1202 * inet/ruserpass.c: Likewise.
1203 * catgets/open_catalog.c: Likewise.
1204 * intl/loadmsgcat.c: Likewise.
1205 * io/getdirname.c: Likewise.
1206 * locale/loadlocale.c: Likewise.
1207 * misc/getusershell.c: Likewise.
1208 * stdlib/canonicalize.c: Likewise.
1209 * sysdeps/posix/euidaccess.c: Likewise.
1210 * sysdeps/posix/isfdtype.c: Likewise.
1211 * sysdeps/posix/posix_fallocate.c: Likewise.
1212 * sysdeps/posix/tempname.c: Likewise.
1213 * sysdeps/unix/grantpt.c: Likewise.
1214 * sysdeps/unix/opendir.c: Likewise.
1215 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
1216 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
1217 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1218 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
1219 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1220 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1221 * sysvipc/ftok.c: Likewise.
1222 * time/getdate.c: Likewise.
1224 * time/getdate.c: Add extra access test.
1226 2000-08-31 Ulrich Drepper <drepper@redhat.com>
1228 * version.h (VERSION): Bump to 2.1.93.
1230 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
1231 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
1233 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
1234 Make this a new rule depending on tst-gettext.out and run mtrace.
1235 * intl/tst-gettext.c: Call mtrace.
1236 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
1238 * elf/dl-reloc.c: Add a few more __builtin_expect.
1240 * configure.in: Remove --with-gettext option.
1242 * intl/dcigettext.c (free_mem): Correct freeing of
1243 _nl_domain_bindings list.
1245 * sysdeps/generic/setenv.c (free_mem): New function. Free all
1248 * intl/locale.alias: Add aliases for bokmal and nynorsk.
1250 * locale/iso-639.def: Fix 639-1 code for Bokmal.
1252 * stdio-common/itoa-digits.c: Move upper digits to...
1253 * stdio-common/itoa-udigits.c: ...here. New file.
1254 * stdio-common/Makefile (routines): Add itoa-udigits.
1256 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
1257 relocate ld.so don't add supprt for relocations which should not
1260 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
1261 __secure_getenv. Instead test __libc_enable_secure once.
1263 * io/pwd.c (main): Provide a good example, use *_unlocked function.
1265 2000-08-30 Ulrich Drepper <drepper@redhat.com>
1267 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
1268 whether the new record should be freed if it's a duplicate.
1269 (add_module): Adjust insert_module call.
1270 (__gconv_read_conf): Likewise.
1271 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
1273 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
1275 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
1277 * include/link.h (struct r_search_path_struct): New.
1278 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
1279 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
1281 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
1282 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
1283 added at startup time.
1284 * elf/dl-load.c: Fix memory handling. r_search_path_struct
1285 contains element to remember fact that we can free memory.
1286 (all_dirs): Renamed to _dl_all_dirs. Made global.
1287 (_dl_init_all_dirs): New variable.
1288 (fillin_rpath): Save one malloc call.
1289 (decompose_rpath): Change interface. New first parameter points to
1290 r_search_path_struct.
1291 (_dl_init_paths): Adjust for changes. Mark all memory as not
1292 deletable. Set _dl_init_all_paths value.
1293 (open_path): Remove may_free_dirs parameter. r_search_path_elem ***
1294 parameter replaced with r_search_path_struct *. Information about
1295 freeing now contained in r_search_path_struct.
1296 (_dl_map_object): Adjust for above changes.
1298 * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
1300 * elf/dl-load.c (fillin_rpath): Only check for trusted directories
1301 when adding new entries.
1303 * elf/dl-load.c (fillin_rpath): Make local copy of where string
1304 since the object being loaded can be unloaded.
1306 * iconvdata/Makefile (tests): Add tst-loading.
1307 * iconvdata/tst-loading.c: New file.
1309 2000-08-29 Bruno Haible <haible@clisp.cons.org>
1311 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
1312 When comparing a char with an int, always cast the char to
1313 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
1314 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
1316 2000-08-30 Ulrich Drepper <drepper@redhat.com>
1318 * time/strftime.c (my_strftime): Add compatibility code for use
1319 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
1321 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
1322 return 0 for success but always < 0 on failure.
1324 * nss/getXXbyYY_r.c: Define result to *result before including
1327 2000-08-30 Andreas Jaeger <aj@suse.de>
1329 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
1331 2000-08-29 Ulrich Drepper <drepper@redhat.com>
1333 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
1335 * iconvdata/TESTS: Add BIG5HKSCS entry.
1336 * iconvdata/testdata/BIG5HKSCS: New file.
1337 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
1339 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
1342 * libio/iogetline.c: Set mode before the loop in case n==0.
1343 * libio/iogetwline.c: Likewise.
1345 2000-08-29 H.J. Lu <hjl@gnu.org>
1347 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
1349 (_IO_new_file_overflow): Likewise.
1350 * libio/genops.c (_IO_flush_all): Likewise.
1351 * libio/ioftell.c (_IO_ftell): Likewise.
1353 2000-08-29 Akira Higuchi <a@kondara.org>
1355 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
1356 and __end_fct fields of struct __gconv_step.
1357 * iconv/Makefile (tests): Add iconv-bug2.
1358 * iconv/iconv-bug2.c: New file.
1360 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
1361 instead of 'inptr - inend' to ksc5601_to_ucs4.
1363 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
1365 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
1366 character or shift sequence is found at the end of the input
1367 string, return__GCONV_INCOMPLETE_INPUT instead of
1368 __GCONV_EMPTY_INPUT.
1369 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
1370 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
1372 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
1373 __GCONV_ILLEGAL_INPUT for 8bit characters.
1375 2000-08-29 Ulrich Drepper <drepper@redhat.com>
1377 * signal/signal.h (sigpause): Move __THROW before __asm__.
1379 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
1380 names don't match don't return.
1381 Patch by Olaf Kirch <okir@flash.lst.de>.
1383 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1385 * time/strftime.c (my_strftime): Handle # flag for %b as well.
1387 2000-08-27 H.J. Lu <hjl@gnu.org>
1389 * posix/Makefile (otherlibs): Add for building with static-nss
1392 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1394 * libio/stdio.h: Add fmemopen prototype.
1396 2000-08-25 Andreas Jaeger <aj@suse.de>
1398 * libio/Makefile (routines): Add fmemopen.
1399 (tests): Add test-fmemopen.
1400 * libio/Versions: Add fmemopen with version GLIBC_2.2.
1401 * libio/test-fmemopen.c: New file.
1402 * libio/fmemopen.c: New file.
1403 Patches by Hanno Mueller <kontakt@hanno.de>.
1405 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1407 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
1408 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
1410 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
1411 to avoid crashing statically linked applications.
1413 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1415 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
1416 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
1418 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
1419 If the result is fits in the buffer, copy only as many bytes as needed.
1421 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
1422 buffer after copying numbuf into it.
1423 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
1425 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1427 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
1428 the result. When string_len < len, don't clear the rest of the buffer.
1430 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1432 Support for new LC_COLLATE format.
1433 * locale/coll-lookup.h: New file.
1434 * locale/weightwc.h (findidx): When size == 0, call
1435 collidx_table_lookup.
1436 * wcsmbs/wcscoll.c: Include coll-lookup.h.
1437 * wcsmbs/wcsxfrm.c: Likewise.
1438 * posix/fnmatch.c: Likewise.
1439 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
1440 collseq_table_lookup.
1441 * locale/programs/3level.h: New file.
1442 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
1443 by including "3level.h".
1444 * locale/programs/ld-collate.c (wchead_table, collidx_table,
1445 collseq_table): New types, defined by including "3level.h".
1446 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
1447 (encoding_mask, encoding_byte): Remove.
1448 (utf8_encode): Use simple shifts instead.
1449 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
1450 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
1451 (collate_output): New local variable tablewc_3level. When
1452 !oldstyle_tables, set table_size to 0 and names to NULL and fill
1453 tablewc_3level instead of tablewc. Change format of TABLEWC and
1454 COLLSEQWC entries written to the file.
1455 * locale/C-collate.c (collseqwc): Change format.
1456 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
1458 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
1460 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1462 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
1463 (locale_ctype_t): New charnames_idx field.
1464 (ctype_startup): Initialize charnames_idx field.
1465 (find_idx): Speed up dramatically by using charnames_idx inverse table.
1467 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1469 * locale/C-ctype.c: Switch to new locale format.
1470 (_nl_C_LC_CTYPE_names): Remove array.
1471 (STRUCT_CTYPE_CLASS): New macro.
1472 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
1473 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
1474 New three-level tables.
1475 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
1476 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
1477 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
1478 12 class tables and 2 map tables at the end.
1479 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
1480 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
1481 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
1483 (b): Remove trailing semicolon.
1484 (__ctype_names, __ctype_width): Don't initialize.
1485 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
1487 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1489 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
1490 is guaranteed to be allocated with the same malloc() and may be
1492 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
1493 been set to empty by an earlier open_path call, don't pass it again.
1495 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1497 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
1498 we are not optimizing.
1500 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
1503 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
1505 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1507 2000-08-28 Andreas Jaeger <aj@suse.de>
1509 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
1511 2000-08-28 Mark Kettenis <kettenis@gnu.org>
1513 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
1514 getpeername. Use ISO C style function definition.
1515 (getpeername): Provide weak alias.
1516 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
1517 setrlimit. Use ISO C style function definition.
1518 (setrlimit): Provide weak alias.
1520 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
1522 * shlib-versions: Add a rule for S/390 to the libm version list.
1523 * sysdeps/s390/Versions: New file.
1524 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
1525 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
1526 * sysdeps/unix/sysv/linux/s390/Versions: New file.
1527 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
1528 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
1529 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
1530 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
1531 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
1532 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
1533 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
1534 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
1535 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
1536 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
1537 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
1538 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
1539 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
1540 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
1541 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
1543 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1545 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
1546 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
1548 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
1549 * elf/dl-close.c (_dl_close): Print debug message if object is not
1551 * elf/dl-open.c (dl_open_worked): Print message about opencount before
1552 returning to caller.
1554 * po/zh.po: Renamed to...
1555 * po/zh_TW.po: ...this.
1557 2000-08-27 Geoff Keating <geoffk@cygnus.com>
1559 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
1561 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
1562 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
1563 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
1564 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
1566 2000-08-27 Ulrich Drepper <drepper@redhat.com>
1568 * locale/programs/ld-collate.c (insert_weights): Also update
1569 backpointer of next element.
1570 (collate_read): Allow definition of new collation symbols in stage 2.
1571 Symbol after reorder-after can be UCS4 value.
1572 Allow reordering of collation symbols and elements.
1573 Do not only move reorder entry in new position. Instead call
1574 insert_weight to do this and read the weights.
1576 * locale/findlocale.c (free_mem): Add cast to avoid warning.
1578 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
1579 to determine invalid locale name.
1580 * locale/findlocale.c (_nl_find_locale): Likewise.
1582 * posix/annexc.c: Correct test for unavailable feature.
1584 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
1587 2000-08-26 Ulrich Drepper <drepper@redhat.com>
1589 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
1592 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
1593 (sysdep_routines): Add oldgetrlimit64.
1595 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
1596 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
1597 (tests): Add unload, reldep, reldep2, and reldep3.
1598 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
1600 Add rules to build and run unload, reldep, reldep2, and reldep3.
1601 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
1602 Don't create relocation dependency if it is nonzero.
1603 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
1604 can never happen here.
1605 (_dl_lookup_versioned_symbol): Add new parameter explicit.
1606 Don't create relocation dependency if it is nonzero.
1607 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
1608 stuff. This can never happen here.
1609 * sysdeps/generic/ldsodefs.h: Change prototypes.
1610 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
1611 _dl_lookup_up and _dl_lookup_versioned_symbol.
1613 * elf/dl-runtime.c (fixup): Likewise.
1614 (profile_fixup): Likewise.
1615 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
1617 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
1618 * elf/rtld.c (dl_main): Likewise.
1619 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
1620 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
1621 and pass down the caller map.
1622 (_dl_vsym): Likewise.
1623 * elf/reldep.c: New file.
1624 * elf/reldep2.c: New file.
1625 * elf/reldep3.c: New file.
1626 * elf/reldepmod1.c: New file.
1627 * elf/reldepmod2.c: New file.
1628 * elf/reldepmod3.c: New file.
1629 * elf/reldepmod4.c: New file.
1630 * elf/unload.c: New file.
1631 * elf/unloadmod.c: New file.
1633 * elf/do-lookup.h: Remove unused undef_name parameter.
1634 * elf/dl-lookup.c: Adjust callers.
1636 2000-08-25 Ulrich Drepper <drepper@redhat.com>
1638 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
1639 irreversible in recursive call of conversion function to signal that
1640 no error handling is wanted.
1641 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
1642 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
1643 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
1644 recursive error handling call, otherwise to &lirreversible. Use it
1645 for calls to conversion functions.
1646 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
1648 (ucs4_internal_loop_unaligned): Likewise.
1649 (ucs4le_internal_loop): Likewise.
1650 (ucs4le_internal_loop_unaligned): Likewise.
1652 2000-08-25 Greg McGary <greg@mcgary.org>
1654 * sysdeps/i386/memchr.S: Check high bound against chars
1656 * sysdeps/i386/memcmp.S: Likewise.
1657 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
1658 account for pointers that lie one beyond end-of-buffer.
1660 2000-08-25 Ulrich Drepper <drepper@redhat.com>
1662 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
1663 * elf/nodelete.c (fini_ran): New global variable.
1664 (do_test): Before every dlclose call clear fini_ran and test
1665 afterwards that it is not set by the destructors.
1666 * elf/nodelmod1.c: Add destructor which sets fini_ran.
1667 * elf/nodelmod2.c: Likewise.
1668 * elf/nodelmod4.c: Likewise.
1670 2000-08-21 Jes Sorensen <jes@linuxcare.com>
1672 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
1673 getrlimit to the list.
1675 2000-08-18 Jes Sorensen <jes@linuxcare.com>
1677 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
1678 long double format so use ldbl-96 instead of ldbl-128.
1680 2000-08-25 Ulrich Drepper <drepper@redhat.com>
1682 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
1683 even if bits 10 a 11 are non-zero.
1684 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
1686 * Makeconfig: Ensures the soversions.mk part of Makefile gets
1687 included before building gnu/lib-names.h
1688 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1690 * elf/dl-close.c (_dl_close): Don't run destructors of objects
1691 marked DF_1_NODELETE.
1693 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
1694 since we call sigaction in the child.
1696 2000-08-25 Andreas Jaeger <aj@suse.de>
1698 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
1701 2000-08-25 Andreas Jaeger <aj@suse.de>
1703 * manual/arith.texi (Control Functions): Clarify possible
1704 arguments. Closes PR libc/1856.
1706 2000-08-24 H.J. Lu <hjl@gnu.org>
1708 * stdio-common/Makefile (tests): Don't do it for cross compiling.
1709 * malloc/Makefile (tests): Likewise.
1711 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1713 * iconvdata/unicode.c (gconv_init): Correct test for direction.
1715 2000-08-24 Andreas Jaeger <aj@suse.de>
1717 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
1718 only if LIBGD is available.
1720 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1722 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
1723 problems with now restrict parameter types.
1724 (convaddr4to6): Likewise.
1726 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
1728 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
1729 * sysdeps/s390/fpu/feenablxcpt.c: New file.
1730 * sysdeps/s390/fpu/fegetexcept.c: New file.
1731 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
1734 2000-08-24 Andreas Jaeger <aj@suse.de>
1736 * malloc/Makefile (extra-objs): Add memusagestat.o.
1737 (generated): Added memusage and memusagestat for make clean.
1739 * libio/tst_putwc.c (do_test): Delete temporary file.
1740 Move inclusion of test-skeleton to front to have prototype for
1743 * posix/Makefile (generated): Add wordexp-tst.out.
1745 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1747 * resolv/res_hconf.c (free_mem): Remove not needed if.
1749 * time/tzset.c (free_mem): New function.
1750 * string/strsignal.c (free_mem): New function.
1751 * inet/inet_ntoa.c (free_mem): New function.
1752 * sunrpc/clnt_perr.c (free_mem): New function.
1754 2000-08-24 Andreas Jaeger <aj@suse.de>
1756 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
1757 * sysdeps/unix/sysv/syscalls.list: Likewise.
1759 * posix/unistd.h: Move internal prototypes from here ...
1760 * include/unistd.h: ... to here.
1762 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
1764 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1766 * grp/initgroups.c (initgroups): Deallocate groups array.
1767 Reported by jani.raiha@sonera.com [PR libc/1868].
1769 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
1770 * sysdeps/alpha/Dist: Likewise.
1772 2000-08-23 Ulrich Drepper <drepper@redhat.com>
1774 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
1775 destructor). Reported by Solar Designer <solar@false.com>.
1777 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
1778 avoid adding double slashes.
1780 2000-08-23 Jakub Jelinek <jakub@redhat.com>
1782 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
1783 out of the __REDIRECT macro.
1785 2000-08-23 Ulrich Drepper <drepper@redhat.com>
1787 * stdio-common/vfscanf.c: Add %F format support.
1789 * locale/programs/ld-ctype.c (ctype_output): Make sure
1790 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
1791 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
1792 (ctype_read): Enable returning of wide character strings for reading
1793 transliteration information.
1795 2000-08-23 Andreas Jaeger <aj@suse.de>
1797 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
1798 Use static __inline instead of _EXTERN_INLINE.
1800 * misc/sys/select.h: Move prototypes of __select from here ...
1801 * include/sys/select.h: ... to here.
1803 * socket/sys/socket.h: Move prototypes of __send and __connect
1805 * include/sys/socket.h: ... to here.
1807 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
1810 2000-08-23 Jakub Jelinek <jakub@redhat.com>
1812 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
1813 __setrlimit as strong name. Takes only 2 arguments.
1815 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
1816 takes only 2 arguments.
1818 2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
1820 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
1822 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
1824 2000-08-23 Ulrich Drepper <drepper@redhat.com>
1826 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
1827 default_missing character being specified, pick the first
1830 2000-08-23 Andreas Jaeger <aj@suse.de>
1832 * include/wchar.h: Add some pure attributes.
1834 * time/time.h: Add const attribute for dysize.
1836 * include/stdlib.h: Add malloc attribute to __posix memalign.
1838 * stdlib/stdlib.h: Add some pure and malloc attributes.
1839 * wcsmbs/wchar.h: Likewise.
1841 * dirent/dirent.h: Add some pure attributes.
1842 * include/dirent.h: Likewise.
1844 2000-08-23 Jakub Jelinek <jakub@redhat.com>
1846 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
1849 2000-08-22 Ulrich Drepper <drepper@redhat.com>
1851 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
1852 missing buffer size checks.
1854 2000-08-23 Andreas Jaeger <aj@suse.de>
1856 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
1858 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1860 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
1861 otherwise __LINUX_KERNEL_VERSION might not be defined.
1862 (MIN): Define if not already defined.
1864 2000-08-22 Ulrich Drepper <drepper@redhat.com>
1866 * stdio-common/vfprintf.c: Handle %F format.
1867 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
1868 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1870 * stdio-common/tstdiomisc.c: Add test for %F printf format.
1872 * po/zh.po: New file.
1874 * iconvdata/sjis.c: In conversion from UCS4, correct test for
1875 enough room in target buffer.
1876 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
1877 * iconvdata/bug-iconv1.c: New file.
1878 * iconvdata/Makefile (tests): Add bug-iconv1.
1880 * locale/iso-4217.def: Update entry for Nicaragua.
1882 2000-08-22 Mark Kettenis <kettenis@gnu.org>
1884 * hurd/hurdsig.c: Rearrange headers a bit.
1885 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
1886 when cthreads is being used.
1888 2000-08-22 Ulrich Drepper <drepper@redhat.com>
1890 * elf/Makefile (distribute): Add dl-osinfo.h.
1891 * sysdeps/generic/dl-osinfo.h: New file.
1892 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
1893 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
1895 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
1896 only for !SHARED case. Get the code from dl-osinfo.h.
1898 * stdlib/random_r.c: Cleanups.
1899 * stdlib/tst-random.c: New file.
1900 * stdlib/Makefile (tests): Add tst-random.
1901 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
1903 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
1905 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
1906 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
1907 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
1908 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
1910 2000-08-22 Jakub Jelinek <jakub@redhat.com>
1912 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
1913 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
1914 (__syscall__sysctl): Add.
1916 2000-08-21 Andreas Jaeger <aj@suse.de>
1918 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
1920 * stdlib/tst-strtoll.c: Likewise.
1922 2000-08-21 Ulrich Drepper <drepper@redhat.com>
1924 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
1926 (__initstate_r): Set errno on error.
1927 (__random_r): Likewise.
1928 (__setstate_r): Correct offset when computing
1929 new rptr and fptr. Test for arg_state being NULL.
1930 Reported by Michael Fischer <fischer@cs.yale.edu>.
1932 * posix/regex.h: Add macro definitions to allow compiling outside
1935 * sysdeps/i370/Implies: Removed.
1936 * sysdeps/mvs/Implies: Removed.
1938 * catgets/catgets.c (catopen): Filter out env_var values with / if
1941 * locale/findlocale.c (_nl_find_locale): Move test for unusable
1942 locale name after all getenvs.
1944 * configure.in: Allow sed versions like 3.02.8.
1945 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
1947 2000-08-21 Marko Myllynen <myllynen@lut.fi>
1949 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
1951 2000-08-21 Ulrich Drepper <drepper@redhat.com>
1953 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
1954 of gethostbyname2_r call.
1956 * intl/locale.alias: Add aliases for Korean.
1958 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
1960 * sysdeps/s390/__longjmp.c: Remove unused variable result.
1961 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
1962 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
1963 * sysdeps/s390/fpu/fegetenv.c: New file.
1964 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
1965 * sysdeps/s390/fpu/feholdexcpt.c: New file.
1966 * sysdeps/s390/fpu/fenv_libc.h: New file.
1967 * sysdeps/s390/fpu/fesetenv.c: New file.
1968 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
1969 * sysdeps/s390/fpu/feupdateenv.c: New file.
1970 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
1971 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
1972 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
1973 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
1974 * sysdeps/s390/fpu/ftestexcept.c: New file.
1975 * sysdeps/s390/fpu/libm-test-ulps: New file.
1976 * sysdeps/s390/gmp-mparam.h: Add end of comment.
1977 * sysdeps/s390/initfini.c: New file.
1978 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
1979 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
1980 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
1981 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
1982 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
1983 sys/procfs.h as proposed by Mark Kettenis.
1984 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
1986 2000-08-21 Andreas Jaeger <aj@suse.de>
1988 * include/poll.h: Include include/sys/poll.h to get __poll
1991 * io/sys/poll.h: Move __poll declaration from here...
1992 * include/sys/poll.h: ...to here.
1994 * include/sys/socket.h (__getpeername): Add declaration.
1996 * include/wchar.h (__vswprintf): Add declaration.
1998 * include/stdio.h (__flockfile): Add declaration.
1999 (__funlockfile): Likewise.
2001 2000-08-20 Ulrich Drepper <drepper@redhat.com>
2003 * misc/sys/cdefs.h: Define __restrict_arr.
2004 * include/sys/time.h: Add restrict where required by AGd4.
2005 * inet/arpa/inet.h: Likewise.
2006 * io/sys/stat.h: Likewise.
2007 * io/sys/statvfs.h: Likewise.
2008 * misc/search.h: Likewise.
2009 * misc/sys/select.h: Likewise.
2010 * posix/glob.h: Likewise.
2011 * posix/regex.h: Likewise.
2012 * posix/spawn.h: Likewise.
2013 * posix/unistd.h: Likewise.
2014 * rt/aio.h: Likewise.
2015 * signal/signal.h: Likewise.
2016 * socket/sys/socket.h: Likewise.
2017 * stdlib/ucontext.h: Likewise.
2018 * streams/stropts.h: Likewise.
2019 * string/string.h: Likewise.
2020 * time/time.h: Likewise.
2021 * time/sys/time.h: Likewise.
2023 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
2024 and posix_spawnattr_setscheparam.
2026 * libio/stdio.h: Make cuserid prototype again available for all
2029 * argp/argp-help.c: Unify use of function aliases to make more compact
2031 * include/libintl.h: Likewise.
2032 * inet/rcmd.c: Likewise.
2033 * intl/dcigettext.c: Likewise.
2034 * libio/iofputws.c: Likewise.
2035 * libio/iofputws_u.c: Likewise.
2036 * libio/iogetwline.c: Likewise.
2037 * libio/swprintf.c: Likewise.
2038 * malloc/malloc.c: Likewise.
2039 * nss/digits_dots.c: Likewise.
2040 * posix/fnmatch.c: Likewise.
2041 * posix/spawn_faction_addclose.c: Likewise.
2042 * posix/spawn_faction_adddup2.c: Likewise.
2043 * posix/spawn_faction_addopen.c: Likewise.
2044 * posix/spawni.c: Likewise.
2045 * posix/wordexp.c: Likewise.
2046 * posix/spawni.c: Likewise.
2047 * resolv/res_hconf.c: Likewise.
2048 * resolv/res_init.c: Likewise.
2049 * shadow/lckpwdf.c: Likewise.
2050 * signal/sighold.c: Likewise.
2051 * signal/sigrelse.c: Likewise.
2052 * stdio-common/printf-parse.h: Likewise.
2053 * stdio-common/printf-prs.c: Likewise.
2054 * stdio-common/printf_fp.c: Likewise.
2055 * stdio-common/vfprintf.c: Likewise.
2056 * stdio-common/vfscanf.c: Likewise.
2057 * stdlib/rpmatch.c: Likewise.
2058 * sunrpc/create_xid.c: Likewise.
2059 * sunrpc/key_call.c: Likewise.
2060 * sysdeps/generic/setrlimit64.c: Likewise.
2061 * sysdeps/generic/utmp_file.c: Likewise.
2062 * sysdeps/generic/vlimit.c: Likewise.
2063 * sysdeps/posix/posix_fallocate.c: Likewise.
2064 * sysdeps/posix/posix_fallocate64.c: Likewise.
2065 * sysdeps/posix/sigpause.c: Likewise.
2066 * sysdeps/posix/sigset.c: Likewise.
2067 * sysdeps/unix/grantpt.c: Likewise.
2068 * sysdeps/unix/bsd/ualarm.c: Likewise.
2069 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
2070 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
2071 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2072 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
2073 * time/strftime.c: Likewise.
2074 * wcsmbs/wcscoll.c: Likewise.
2075 * wcsmbs/wcsxfrm.c: Likewise.
2077 * time/tst-getdate.c (main): Make error messages more human readable.
2079 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
2080 postinc/predec instruction.
2081 (_FPU_SETCW): Likewise.
2082 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2084 2000-08-20 Andreas Jaeger <aj@suse.de>
2086 * time/tst-getdate.c (main): Increase error in case of wrong
2088 Fix typo in test case.
2090 2000-08-20 Ulrich Drepper <drepper@redhat.com>
2092 * ctype/ctype.h (isblank): Make available if ISO C99.
2093 * wctype/wctype.h (iswblank): Make available if ISO C99.
2094 * math/math.h (signgam): Don't make available if ISO C99.
2095 * math/tgmath.h (tgamma): Renamed from gamma.
2096 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
2098 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
2100 * intl/plural.y (new_exp): Take number of optional parameters in
2101 second parameter. Test for correct number of parameters and free
2102 correctly in case of failure. Adjust all callers.
2103 (yylex): Allow ';' as terminator character.
2105 2000-08-19 Ulrich Drepper <drepper@redhat.com>
2107 * locale/lc-time.c (free_mem): New function. Free alt_digits and
2110 * locale/findlocale.c (free_mem): Also free here->filename.
2112 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
2114 * math/test-fenv.c (feenv_tests): Clear all exceptions before
2116 (feexcp_nomask_test): Correct printf args.
2117 (feexcp_mask_test): Likewise.
2119 2000-08-19 Andreas Jaeger <aj@suse.de>
2121 * inet/tst-gethnm.c: Include string.h to provide prototype for
2124 * malloc/mtrace.pl (usage): Inform about --help.
2126 2000-08-19 Wolfram Gloger <wg@malloc.de>
2128 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
2131 2000-08-19 Andreas Jaeger <aj@suse.de>
2133 * shlib-versions: Remove libnss_db, libdb and libdb1.
2135 2000-08-19 Jakub Jelinek <jakub@redhat.com>
2137 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
2138 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
2139 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
2140 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
2141 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
2142 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
2143 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
2144 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
2145 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
2146 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
2148 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
2149 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
2151 2000-08-18 Jakub Jelinek <jakub@redhat.com>
2153 * include/glob.h (__glob64): Add prototype.
2154 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
2155 define glob and glob_in_dir.
2156 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
2157 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
2158 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
2159 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
2160 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
2161 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
2162 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
2163 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
2165 2000-08-18 Jakub Jelinek <jakub@redhat.com>
2167 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
2169 2000-08-17 Andreas Jaeger <aj@suse.de>
2171 * math/test-fenv.c (fe_single_test): New function.
2172 (fe_env_tests): Use fe_single_test.
2173 (feenable_test): New tests for feenable/fedisable and
2175 (feexcp_mask_test): New function.
2176 (feexcp_nomask_test): New function.
2178 2000-08-19 Richard Henderson <rth@cygnus.com>
2180 * sysdeps/alpha/fpu/fenv_libc.h: New file.
2181 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
2182 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
2183 * sysdeps/alpha/fpu/fesetround.c: Likewise.
2184 * sysdeps/alpha/fpu/fegetround.c: Likewise.
2185 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
2186 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
2187 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
2188 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
2189 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
2190 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
2191 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
2192 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
2193 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
2194 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
2195 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
2196 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
2198 2000-08-19 Andreas Jaeger <aj@suse.de>
2200 * elf/constload1.c: Include <stdio.h> for puts prototype.
2202 2000-08-19 Ulrich Drepper <drepper@redhat.com>
2204 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
2205 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
2206 a dynamically loaded object remove old l_initfini list.
2207 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
2208 remove some dynamically allocated memory blocks in the dynamic
2209 loading data structures.
2210 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
2211 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
2212 Instead call _dl_check_map_versions only for the dependencies.
2213 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
2214 information of initial objects as not free-able.
2215 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
2218 * elf/filter.c: Call mtrace.
2219 * elf/restest1.c: Likewise. Close the objects.
2220 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
2223 * elf/constload1.c: Add comment explaining not freed memory.
2225 2000-08-18 Andreas Jaeger <aj@suse.de>
2227 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
2228 alignment for structs stat and stat64.
2229 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2231 2000-08-17 Ulrich Drepper <drepper@redhat.com>
2233 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
2234 handling. Patch by Richard Henderson <rth@twiddle.net>.
2236 * nss/Versions: Remove libnss_db information.
2238 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2240 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
2241 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
2242 * sysdeps/sparc/fpu/fegetexcept.c: New file.
2243 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
2245 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
2248 2000-08-17 Ulrich Drepper <drepper@redhat.com>
2250 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
2251 (_FPU_SETCW): Likewise.
2252 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2254 * stdio-common/printf_fp.c: Fix chars_needed computation.
2255 Patch by Greg McGary <greg@mcgary.org>.
2257 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2259 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
2260 _dl_loaded are NULL.
2262 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2264 * manual/arith.texi (feholdexcept): Returns 0 on success.
2266 2000-08-17 Andreas Jaeger <aj@suse.de>
2268 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
2270 Reported by Andi Kleen <ak@suse.de>.
2272 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2274 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
2275 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
2276 * sysdeps/alpha/fpu/fegetexcept.c: New file.
2278 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2280 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
2281 of buf->st_ino and kbuf->st_ino, not __st_ino.
2282 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
2283 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
2284 directive so that only linux/getdents.c is used, not some
2285 architecture specific one.
2287 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2289 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
2290 enabled, not disabled exceptions.
2291 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2292 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
2294 2000-08-17 Greg McGary <greg@mcgary.org>
2296 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
2297 from test program name when constructing suffix for $(LDLIBS-*).
2298 (bounded-thread-library): New variable.
2300 [build-shared, build-static] (libcrypt-dep): Remove variable.
2301 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
2302 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2303 * linuxthreads/Makefile (libpthread, librt): Remove variables.
2304 (librt-tests): Add variable. (tests): Use it.
2305 [build-shared, build-static]
2306 ($(addprefix $(objpfx),$(tests)),
2307 $(addprefix $(objpfx),$(librt-tests))):
2308 Consolidate individual dependencies.
2310 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
2312 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
2313 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2315 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
2317 [build-shared, build-static]
2318 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
2319 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2321 2000-08-17 Greg McGary <greg@mcgary.org>
2323 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
2324 * sysdeps/unix/make-syscalls.sh: Likewise.
2325 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2326 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2327 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2328 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
2329 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
2331 2000-08-17 Greg McGary <greg@mcgary.org>
2333 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
2334 Wrap extern symbols in BP_SYM ().
2335 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2336 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2337 * sysdeps/i386/fpu/s_remquo.S: Likewise.
2338 * sysdeps/i386/fpu/s_remquof.S: Likewise.
2339 * sysdeps/i386/fpu/s_remquol.S: Likewise.
2340 * sysdeps/i386/fpu/s_sincos.S: Likewise.
2341 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2342 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2343 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2344 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2346 2000-08-16 Andreas Schwab <schwab@suse.de>
2348 * sysdeps/m68k/fpu/fegetexcept.c: New file.
2349 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
2350 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
2352 2000-08-15 Ulrich Drepper <drepper@redhat.com>
2354 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
2355 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
2356 * elf/dl-support.c: Define _nl_nloaded.
2357 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
2358 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
2359 object to global list.
2360 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
2361 from _dl_loaded list.
2362 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2363 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
2366 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
2368 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
2370 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
2372 2000-08-16 Andreas Jaeger <aj@suse.de>
2374 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
2376 2000-08-15 Marko Myllynen <myllynen@lut.fi>
2378 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
2380 2000-08-15 Ulrich Drepper <drepper@redhat.com>
2382 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
2383 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
2384 (sysdep_routines): Add oldgetrlimit64.
2385 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
2386 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2388 * include/link.h: Undo last patches. Hurd now has stat64.
2389 * elf/Makefile: Likewise.
2390 * elf/dl-load.c: Likewise.
2391 * elf/dl-misc.c: Likewise.
2392 * elf/dl-profile.c: Likewise.
2393 * sysdeps/generic/sysd-link.h: Removed.
2394 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
2396 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
2397 thread event callback function.
2398 (__aio_notify_only): Use function above.
2399 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
2401 2000-08-16 Mark Kettenis <kettenis@gnu.org>
2403 * sysdeps/mach/hurd/lseek64.c: New file.
2405 2000-08-15 Mark Kettenis <kettenis@gnu.org>
2407 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
2409 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
2411 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
2413 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
2415 2000-08-15 Mark Kettenis <kettenis@gnu.org>
2417 * sysdeps/mach/hurd/xstatconv.c: New file.
2418 * sysdeps/mach/hurd/fxstat64.c: New file.
2419 * sysdeps/mach/hurd/lxstat64.c: New file.
2420 * sysdeps/mach/hurd/xstat64.c: New file.
2421 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
2423 2000-08-15 Mark Kettenis <kettenis@gnu.org>
2425 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
2426 Initialize, needed for change in common symbol handling in newer
2427 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
2429 2000-08-15 Ulrich Drepper <drepper@redhat.com>
2431 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
2432 * elf/constload2.c: Add destructor to unload constload3.
2434 * include/link.h: Include sysd-link.h.
2435 * sysdeps/generic/sysd-link.h: New file.
2436 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
2437 * elf/Makefile (distribute): Add sysd-link.h.
2438 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
2439 types and functions directly.
2440 * elf/dl-misc.c: Likewise.
2441 * elf/dl-profile.c: Likewise.
2443 * elf/loadfail.c (main): Close all successfully loaded objects.
2445 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
2447 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
2448 there is already one.
2450 * elf/dl-close.c: Pretty print.
2452 2000-08-14 Ulrich Drepper <drepper@redhat.com>
2454 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
2455 global (with file scope). Add __libc_subfreeres function to free the
2457 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
2458 in ttyname function.
2460 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
2462 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
2464 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
2465 mapping them to /x5c and /x7e respectively.
2467 * locale/programs/ld-ctype.c: Add support for more definitions after
2470 2000-08-14 Jakub Jelinek <jakub@redhat.com>
2472 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
2473 * sysdeps/unix/sysv/linux/kernel-features.h
2474 (__ASSUME_GETDENTS64_SYSCALL): Define.
2475 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
2476 syscall if available to get d_type fields.
2477 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
2478 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
2479 __lxstat64): Export at GLIBC_2.2.
2480 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
2482 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
2483 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
2484 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
2485 getdirentries64, versionsort64): Remove.
2486 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
2487 getdirentries64, versionsort64): Remove.
2489 2000-08-13 Ulrich Drepper <drepper@redhat.com>
2491 * posix/Makefile: Remove rules to generate glob package.
2493 * posix/Makefile (tests): Add tst-regexloc.
2494 (tst-regexloc-ENV): Add LOCPATH.
2495 * posix/tst-regexloc.c: New file.
2497 2000-08-12 Andreas Jaeger <aj@suse.de>
2499 * include/features.h (__STDC_ISO_10646__): Define.
2500 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
2502 2000-08-13 Ulrich Drepper <drepper@redhat.com>
2504 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
2506 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
2507 for revision 6 and up).
2509 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
2511 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
2512 to get definitions of just these types.
2514 * signal/signal.h: Define thread signal handling functions also for
2517 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
2519 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2520 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
2521 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2522 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2524 * sysvipc/sys/shm.h: Define pid_t for XPG.
2526 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
2527 they are not anymore required here.
2529 * wcsmbs/wchar.h: Make the various wide char string and stream
2530 functions available for the respective XPG versions.
2532 * nss/Makefile: Remove rules to build and distribute nss_db.
2534 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
2535 * sysdeps/generic/scandir64.c: Likewise.
2536 * sysdeps/generic/versionsort64.c: Likewise.
2538 2000-08-13 Ulrich Drepper <drepper@redhat.com>
2539 Benjamin Koznik <bkoz@redhat.com>
2541 * libio/fileops.c: Merge with libstdc++-v3.
2542 * libio/genops.c: Likewise.
2543 * libio/iofclose.c: Likewise.
2544 * libio/iofopen.c: Likewise.
2545 * libio/iofwide.c: Likewise.
2546 * libio/libio.h: Likewise.
2547 * libio/libioP.h: Likewise.
2548 * libio/stdfiles.c: Likewise.
2549 * libio/stdio.c: Likewise.
2550 * libio/wfileops.c: Likewise.
2551 * libio/wgenops.c: Likewise.
2553 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
2555 2000-08-12 Ulrich Drepper <drepper@redhat.com>
2557 * locale/programs/localedef.c: Implement --prefix option to allow
2558 writing in standard places of alternative install directories.
2560 * posix/regex.c (compile_range): Implement collation sequence
2561 handling for glibc. Use simple character ordering otherwise and
2564 2000-08-12 Mark Kettenis <kettenis@gnu.org>
2566 * sysdeps/generic/scandir64.c: Include <dirent.h>.
2568 2000-08-12 Andreas Jaeger <aj@suse.de>
2570 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
2571 __USE_FILE_OFFSET64 correctly for locking.
2572 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2574 2000-08-12 Jakub Jelinek <jakub@redhat.com>
2576 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2577 Define for 2.4.1 on sparc as well.
2578 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
2579 for F_GETLK64, F_SETLK64, and F_SETLKW64.
2580 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
2581 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
2583 2000-08-12 Ulrich Drepper <drepper@redhat.com>
2585 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
2588 2000-08-12 Andreas Jaeger <aj@suse.de>
2590 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
2591 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
2593 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
2594 mips2 for assembler.
2596 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
2597 if fnctl64 is not available for F_*LK*64.
2599 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
2601 2000-08-12 Ulrich Drepper <drepper@redhat.com>
2603 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2604 Define for 2.4.1 on x86.
2605 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
2606 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
2607 for F_GETLK64, F_SETLK64, and F_SETLKW64.
2609 * dirent/dirent.h: Define DT_WHT.
2611 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
2612 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
2613 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
2614 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
2615 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
2616 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
2618 2000-08-11 Ulrich Drepper <drepper@redhat.com>
2620 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
2621 lookup, pass pointer to array with NULL pointer [PR libc/1858].
2622 * inet/Makefile (tests): Add tst-gethnm.
2623 * inet/tst-gethnm.c: New file.
2625 * rt/aio_cancel.c: If canceling a specific request which is running
2626 *really* do nothing.
2627 * rt/aio_misc.h: Add `done' to states of a request.
2628 * rt/aio_misc.c: Add several tests for the correct state.
2629 Simplify request table memory handling.
2631 2000-08-10 Jakub Jelinek <jakub@redhat.com>
2633 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
2634 * dirent/scandir64.c: Move...
2635 * sysdeps/generic/scandir64.c: ...here.
2636 * dirent/alphasort64.c: Move...
2637 * sysdeps/generic/alphasort64.c: ...here.
2638 * dirent/versionsort64.c: Move...
2639 * sysdeps/generic/versionsort64.c: ...here.
2640 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
2641 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
2642 Export symbols at GLIBC_2.2.
2643 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
2644 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
2645 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
2646 __versionsort64): Add prototypes.
2647 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
2648 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
2650 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
2652 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
2653 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
2654 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
2655 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
2657 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
2658 Adjust for kernel-2.4.0-test6 layout.
2659 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
2660 GLIBC_2.1 and GLIBC_2.2.
2661 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
2662 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
2663 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
2664 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
2665 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
2666 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
2667 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
2668 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
2669 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
2670 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
2671 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
2672 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
2673 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
2674 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
2676 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
2677 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
2678 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
2679 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
2680 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
2681 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
2682 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
2684 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
2685 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
2687 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
2688 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
2689 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
2690 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
2691 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
2693 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
2695 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
2697 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
2698 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
2699 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
2700 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
2701 st_ino from __st_ino.
2702 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
2703 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
2704 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
2705 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
2706 set __st_ino in addition to st_ino.
2707 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
2708 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
2709 __old_getdents64 as well.
2710 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
2711 getdirentries64 and old_getdirentries64 as well.
2712 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
2713 __GETDENTS): Define.
2714 (GETDENTS64): Remove.
2715 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
2717 (GETDENTS64): Remove.
2718 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
2719 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
2720 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
2722 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
2723 __old_readdir64_r as well.
2724 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2725 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
2727 2000-08-08 Jes Sorensen <jes@linuxcare.com>
2729 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
2730 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
2731 define of the kernel.
2732 Add missing __SEG_PSTKOVF definition.
2733 Adjust the padding of struct siginfo and struct sigevent to
2734 match the fact that sigval_t is 64 bit.
2736 2000-08-10 Ulrich Drepper <drepper@redhat.com>
2738 * timezone/zic.c: Update from tzcode2000f.
2739 * timezone/australasia: Update from tzdata2000f.
2740 * timezone/europe: Likewise.
2741 * timezone/southamerica: Likewise.
2742 * timezone/yearistype: Likewise.
2744 2000-08-10 Andreas Jaeger <aj@suse.de>
2746 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
2747 stat with current MIPS kernel.
2749 2000-08-01 Mark Kettenis <kettenis@gnu.org>
2751 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
2752 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
2753 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
2754 Remove the junk that's only relevant in the Linux kernel itself.
2755 Add a warning saying that this file is now obsolete, and include
2757 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
2758 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
2759 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
2760 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
2761 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
2762 and add the notice that the file is primarily there for GDB.
2763 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
2765 2000-08-09 Jakub Jelinek <jakub@redhat.com>
2767 * time/tzfile.c (__tzfile_compute): __tzstring zones
2770 2000-08-09 Jakub Jelinek <jakub@redhat.com>
2772 * resolv/resolv.h (__res_state): Surround prototype with
2773 __BEGIN_DECLS/__END_DECLS.
2774 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
2776 2000-08-04 Jes Sorensen <jes@linuxcare.com>
2778 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
2779 Make independant of asm/resource.h from the Linux kernel.
2781 2000-08-06 Bruno Haible <haible@clisp.cons.org>
2783 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
2785 2000-08-06 Bruno Haible <haible@clisp.cons.org>
2787 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
2788 * locale/Makefile (locale-CPPFLAGS): Likewise.
2790 2000-08-09 Ulrich Drepper <drepper@redhat.com>
2792 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
2795 2000-08-03 Jakub Jelinek <jakub@redhat.com>
2797 * misc/Versions (mincore): Export at GLIBC_2.2.
2799 2000-08-03 Bruno Haible <haible@clisp.cons.org>
2801 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
2803 2000-08-02 Mark Kettenis <kettenis@gnu.org>
2805 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
2806 socketpair. Made socketpair a weak alias.
2807 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
2808 __socketpair. Use S_IFIFO protocol to make pipes POSIX
2809 conforming, but fall back on the old protocol if the socket server
2811 * include/sys/socket.h: Add prototype for __socketpair.
2813 2000-08-09 Andreas Schwab <schwab@suse.de>
2815 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
2816 long long modifier is seen.
2818 * elf/nodelete.c (do_test): Remove reference to undefined member
2820 * rt/tst-aio4.c (do_test): Likewise.
2822 * configure.in: Add `-lm' when checking for libgd.
2823 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
2826 2000-08-09 Andreas Jaeger <aj@suse.de>
2828 * configure.in: Change required make versions.
2830 * manual/install.texi (Tools for Compilation): Document required
2832 (Supported Configurations): Update list of supported
2835 2000-08-08 Ulrich Drepper <drepper@redhat.com>
2837 * locale/linereader.c (get_string): Don't print an error is a string
2838 contains an unknown character.
2840 2000-08-06 Ulrich Drepper <drepper@redhat.com>
2842 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
2843 (new_symbol): Take new parameters with name of the symbol.
2845 (handle_ellipsis): Don't only allow character symbols.
2846 (collate_read): Allow string of collating elements contain invalid
2847 characters; ignore entry in this case.
2848 Handle ellipsis of collating symbols before first order_start.
2849 Allow ellipsis in state 0.
2851 2000-08-04 Ulrich Drepper <drepper@redhat.com>
2853 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
2855 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
2857 2000-08-04 Greg McGary <greg@mcgary.org>
2859 * posix/regex.c (SET_HIGH_BOUND): New macro.
2860 (MOVE_BUFFER_POINTER): Use it.
2861 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
2862 (EXTEND_BUFFER): Use it.
2864 2000-08-03 Ulrich Drepper <drepper@redhat.com>
2866 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
2867 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
2868 _wide_data but from _IO_FILE directly.
2869 * libio/iofclose.c: Likewise.
2870 * libio/wfileops.c: Likewise.
2872 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
2873 * libio/libioP.h: Change prototypes.
2875 2000-08-03 Greg McGary <greg@mcgary.org>
2877 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
2878 frame pointer early so that we save caller's frame pointer.
2879 * sysdeps/i386/elf/setjmp.S: Likewise.
2881 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
2882 * io/test-utime.c: Test passing NULL as utimbuf* arg.
2884 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
2885 (MOVE_BUFFER_POINTER): Handle high_bound properly.
2886 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
2888 2000-08-03 Ulrich Drepper <drepper@redhat.com>
2890 * iconvdata/big5.c: Updated.
2891 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
2893 2000-08-02 Ulrich Drepper <drepper@redhat.com>
2895 * Makeconfig (all-subdirs): Add conform.
2896 * conform/Makefile: Include ../Rules.
2898 * Makefile (README): Add rules to generate here as well.
2900 2000-08-02 Ulrich Drepper <drepper@redhat.com>
2902 * version.h (VERSION): Bump to 2.1.92.
2904 * sysdeps/ia64/Dist: Add _mcount.S.
2906 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
2908 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
2910 * elf/Makefile (distribute): Add missing modules.
2912 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
2914 * posix/regex.c (compile_range): Translate range start and end
2915 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
2917 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
2920 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
2922 2000-08-02 Andreas Jaeger <aj@suse.de>
2924 * elf/elf.h (EM_S390): Added.
2925 (R_390_*): New relocs for S390.
2927 * sysdeps/unix/sysv/linux/s390/Dist: New file.
2928 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
2929 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
2930 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
2931 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
2932 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
2933 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
2934 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
2935 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
2936 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
2937 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
2938 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
2939 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
2940 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
2941 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
2942 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
2943 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
2944 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
2945 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
2946 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
2947 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
2948 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
2949 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
2950 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
2951 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
2952 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
2953 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
2954 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
2955 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
2956 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
2957 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
2958 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
2959 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
2960 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
2961 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
2962 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
2963 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
2964 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
2965 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
2966 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
2967 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
2968 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
2969 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
2970 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
2971 * sysdeps/s390/sysdep.h: New file.
2972 * sysdeps/s390/sys/ucontext.h: New file.
2973 * sysdeps/s390/sub_n.S: New file.
2974 * sysdeps/s390/strncpy.S: New file.
2975 * sysdeps/s390/strcpy.S: New file.
2976 * sysdeps/s390/stackinfo.h: New file.
2977 * sysdeps/s390/setjmp.S: New file.
2978 * sysdeps/s390/s390-mcount.S: New file.
2979 * sysdeps/s390/mul_1.S: New file.
2980 * sysdeps/s390/memusage.h: New file.
2981 * sysdeps/s390/memset.S: New file.
2982 * sysdeps/s390/memcpy.S: New file.
2983 * sysdeps/s390/memchr.S: New file.
2984 * sysdeps/s390/machine-gmon.h: New file.
2985 * sysdeps/s390/ldbl2mpn.c: New file.
2986 * sysdeps/s390/gmp-mparam.h: New file.
2987 * sysdeps/s390/fpu/fpu_control.h: New file.
2988 * sysdeps/s390/fpu/fesetround.c: New file.
2989 * sysdeps/s390/fpu/fegetround.c: New file.
2990 * sysdeps/s390/fpu/fclrexcpt.c: New file.
2991 * sysdeps/s390/fpu/bits/fenv.h: New file.
2992 * sysdeps/s390/ffs.c: New file.
2993 * sysdeps/s390/elf/start.S: New file.
2994 * sysdeps/s390/elf/setjmp.S: New file.
2995 * sysdeps/s390/elf/bsd-setjmp.S: New file.
2996 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
2997 * sysdeps/s390/dl-machine.h: New file.
2998 * sysdeps/s390/bzero.S: New file.
2999 * sysdeps/s390/bsd-setjmp.S: New file.
3000 * sysdeps/s390/bsd-_setjmp.S: New file.
3001 * sysdeps/s390/bits/string.h: New file.
3002 * sysdeps/s390/bits/setjmp.h: New file.
3003 * sysdeps/s390/bits/huge_val.h: New file.
3004 * sysdeps/s390/bits/endian.h: New file.
3005 * sysdeps/s390/bits/byteswap.h: New file.
3006 * sysdeps/s390/bcopy.S: New file.
3007 * sysdeps/s390/backtrace.c: New file.
3008 * sysdeps/s390/atomicity.h: New file.
3009 * sysdeps/s390/asm-syntax.h: New file.
3010 * sysdeps/s390/addmul_1.S: New file.
3011 * sysdeps/s390/add_n.S: New file.
3012 * sysdeps/s390/abort-instr.h: New file.
3013 * sysdeps/s390/__longjmp.c: New file.
3014 * sysdeps/s390/Makefile: New file.
3015 * sysdeps/s390/Implies: New file.
3016 * sysdeps/s390/Dist: New file.
3017 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
3019 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3021 Remove incompatible IPv6 extension of RPC.
3022 * sunrpc/Makefile: Undo changes.
3023 * sunrpc/rpc_main.c: Likewise.
3024 * sunrpc/rpc/clnt.h: Likewise.
3025 * sunrpc/rpc/svc.h: Likewise.
3026 * sunrpc/bindrsvprt6.c: Removed.
3027 * sunrpc/clnt_tcp6.c: Removed.
3028 * sunrpc/clnt_udp6.c: Removed.
3029 * sunrpc/svc_tcp6.c: Removed.
3030 * sunrpc/svc_udp6.c: Removed.
3032 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
3033 dgettext, and dcgettetxt.
3035 * intl/locale.alias: Update japanese aliases.
3037 * sysdeps/ia64/bits/byteswap.h: New file.
3038 Patch by Dan Pop <Dan.Pop@cern.ch>.
3040 * misc/sys/cdefs.h: Define __attribute_format_arg__.
3041 * intl/libintl.h: Use it here instead of using __attribute__ directly.
3043 2000-07-13 H.J. Lu <hjl@gnu.org>
3045 * posix/regex.c (re_max_failures): Set to 4000.
3047 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3049 * gnulib/Makefile (tests): Add tst-gcc.
3050 * gnulib/tst-gcc.c: New file.
3052 * assert/Makefile (routines): Add __assert.
3053 * assert/Versions: Export __assert for glibc 2.2.
3054 * assert/__assert.c: New file.
3055 * assert/assert.h: Declare __assert.
3057 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3059 * locale/localeinfo.h (_ISCTYPE): New macro.
3060 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
3061 LC_CTYPE locale format.
3062 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
3063 (ctype_output): Output class_b[nr] right before class_3level[nr].
3064 (allocate_arrays): Fill class_b, similarly to class_3level.
3066 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3067 Joseph S. Myers <jsm28@cam.ac.uk>
3069 * math/tgmath.h: Make standard compliant. Don't ask how.
3071 2000-07-04 H.J. Lu <hjl@gnu.org>
3073 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
3074 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
3075 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
3077 2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3079 * include/features.h (_XOPEN_SOURCE): Update the explanation.
3080 (__USE_LARGEFILE): Add an explanation.
3081 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
3082 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
3084 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3086 * libio/Makefile: Enable exception handling for genops, wgenops,
3087 fileops, and wfileops.
3089 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3091 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
3092 acount that elf/rtld's main program might remove some varibales
3093 from the environment if we're trying to be secure. Move the Hurd
3094 startup data if necessary, or, if we there is no startup data,
3095 make sure the magical convention that ARGV[0] is stored just after
3096 the environment list.
3098 2000-08-01 Philip Blundell <philb@gnu.org>
3100 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
3101 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
3102 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
3103 oldsetrlimit for GLIBC_2.0.
3105 2000-08-01 Andreas Jaeger <aj@suse.de>
3107 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
3108 (LINE_PARSER): Allow any number of spaces between ip address and
3109 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
3111 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
3113 * include/netdb.h: Remove getipnodebyaddr and friends, leave
3116 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
3117 _nss_nisplus_getipnodebyname_r.
3119 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
3120 now, getipnodebyname is deprecated.
3121 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
3124 * inet/Makefile (routines): Don't build getipnodebyaddr and
3127 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
3129 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
3131 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
3133 * wctype/Makefile (distribute): Add wchar-lookup.h.
3135 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
3137 * iconvdata/Makefile (distribute): Add isiri-3342.h.
3139 2000-08-01 Andreas Schwab <schwab@suse.de>
3141 * Make-dist (dist): Resolve `..' in file names.
3143 2000-08-01 Andreas Jaeger <aj@suse.de>
3145 * stdio-common/Makefile (distribute): Remove removed files, add
3148 * Makefile (distribute): Remove include/db_185.h and db.h.
3150 * include/db_185.h: Remove, it's not needed anymore.
3151 * include/db.h: Likewise.
3153 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3155 * inet/Makefile (tests): Remove tst-ipnode.
3156 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
3159 2000-07-31 Jes Sorensen <jes@linuxcare.com>
3161 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
3162 endp statements have already been added.
3164 2000-04-18 David Mosberger <davidm@hpl.hp.com>
3166 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
3167 <sysdeps/ia64/sysdep.h>.
3169 * sysdeps/ia64/_mcount.S: New file.
3171 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
3172 __gmon_start__. Fix up extraneous whitespace.
3174 2000-01-12 H.J. Lu <hjl@gnu.org>
3176 * sysdeps/ia64/elf/initfini.c: New file.
3178 2000-07-31 Jes Sorensen <jes@linuxcare.com>
3180 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
3181 dependency between branch and ar.pfs write.
3183 2000-07-31 H.J. Lu <hjl@gnu.org>
3185 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
3186 handle the wchar_t array.
3188 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3190 * iconvdata/gb18030.c: Don't map to and from positions in ISO
3191 10646 which are not yet assigned.
3192 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
3194 2000-07-31 Andreas Jaeger <aj@suse.de>
3196 * inet/Versions: Remove getipnodebyaddr and friends from
3199 * resolv/netdb.h: Remove getipnodebyaddr and friends.
3201 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3203 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
3204 ch >= 0x81 && ch2 < 0x40 as invalid.
3206 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3208 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
3209 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
3211 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3213 * iconvdata/johab.c (BODY for TO_LOOP): After calling
3214 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
3216 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3218 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
3220 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
3222 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3224 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
3226 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3228 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
3229 (from_ucs4): Change values of U+00A4 and U+00ED.
3230 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
3232 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3234 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
3235 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
3237 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3239 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
3240 * iconvdata/isiri-3342.h: New file.
3241 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
3242 treat 0x80 as a gap.
3244 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3246 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
3247 (utf8_encode): Use simple shifts instead. Fix return value.
3249 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3251 * timezone/private.h: Update from tzcode2000e.
3252 * timezone/asia: Update from tzdata2000e.
3253 * timezone/australasia: Likewise.
3254 * timezone/europe: Likewise.
3255 * timezone/northamerica: Likewise.
3256 * timezone/zone-tab: Likewise.
3258 2000-07-30 Ralf Baechle <ralf@gnu.org>
3260 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
3261 the order of struct sigaltstack members is different.
3263 2000-07-26 Philip Blundell <philb@gnu.org>
3265 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
3267 2000-07-29 Ulrich Drepper <drepper@redhat.com>
3269 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
3270 * locale/programs/ld-ctype.c: Adjust for this.
3272 * locale/programs/ld-collate.c: Add more alignment checks.
3273 * locale/string/strcoll.c: Likewise.
3275 2000-07-30 Mark Kettenis <kettenis@gnu.org>
3277 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
3278 outside USE_IN_LIBIO block.
3280 2000-07-26 Philip Blundell <philb@gnu.org>
3282 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
3283 (elf_machine_rel): Use it for out-of-range PC24 relocs.
3285 2000-07-28 Philip Blundell <philb@gnu.org>
3287 * math/test-fpucw.c: Ignore reserved bits in control word.
3289 2000-07-28 Philip Blundell <philb@gnu.org>
3291 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
3292 (ret): Redefine to PSEUDO_RET.
3293 (PSEUDO): Remove jump to syscall_error.
3295 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3297 * resolv/README: Add some information about using the resolver in
3298 multi-threaded code and with C++. Spelling fixes.
3300 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3302 * resolv/resolv.h (struct __sockaddr_in): Remove.
3303 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
3305 2000-07-29 Greg McGary <greg@mcgary.org>
3307 * Rules (test-bp-inputs, make-test-out): New variables.
3308 ($(objpfx)%-bp.out): New rule.
3309 ($(objpfx)%.out): Rewrite in terms of new variables.
3311 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
3312 internal function that uses vtable.
3313 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
3314 * libio/vswprintf.c (_IO_vswprintf): Likewise.
3316 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
3317 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
3318 (chunk_align): Likewise.
3320 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
3321 in a way that conforms to decl, and avoids spurious bounds violation.
3323 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
3324 * sysdeps/generic/frame.h: Likewise.
3325 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
3326 around return value.
3327 (__backtrace): Qualify frame-pointer chain and return address
3328 pointers as __unbounded. Wrap bounds around variable `current'.
3329 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
3330 around return value.
3331 (catch_segfault): Qualify frame-pointer chain and return address
3332 pointers as __unbounded. Wrap bounds around variable `current'.
3333 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
3334 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
3335 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
3337 (__backtrace): Qualify frame-pointer chain and return address
3338 pointers as __unbounded. Wrap bounds around variable `current'.
3340 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
3341 * sysdeps/i386/mul_1.S: Likewise.
3342 * sysdeps/i386/submul_1.S: Likewise.
3343 * sysdeps/i386/i586/addmul_1.S: Likewise.
3344 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
3345 * sysdeps/i386/i586/submul_1.S: Likewise.
3347 2000-07-27 Andreas Jaeger <aj@suse.de>
3349 * libio/Depend: New file, libio needs localedata for tests.
3350 * posix/Depend: Likewise.
3352 2000-07-28 Ulrich Drepper <drepper@redhat.com>
3354 * stdio-common/_i18n_itoa.c: Removed.
3355 * stdio-common/_i18n_itoa.h: Removed.
3356 * stdio-common/_i18n_itowa.c: Removed.
3357 * stdio-common/_i18n_itowa.h: Removed.
3358 * stdio-common/_i18n_number.h: New file.
3359 * stdio-common/Depend: New file.
3360 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
3361 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
3362 printing. Change printing of numbers with locale specific digits to
3363 use new code in _i18n_number.h.
3364 * stdio-common/Makefile (routines): Remove _i18n_itoa and
3367 * stdio-common/bug13.c: Improve messages.
3369 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
3370 (set_class_defaults): Always search also for Uxxxx names.
3371 Detect insufficient number of outdigits.
3373 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
3375 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3377 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
3378 _NL_CTYPE_MAP_NAMES.
3379 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
3380 * wctype/wcfuncs.c (towlower, towupper): Use them.
3381 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
3382 * wctype/wctrans.c (wctrans): Likewise.
3383 * wctype/wctrans_l.c (__wctrans_l): Likewise.
3385 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3387 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
3388 Use the optimized version of this function outside glibc as well.
3390 2000-07-27 Jakub Jelinek <jakub@redhat.com>
3392 * locale/indigits.h (indigit_value): Correct.
3393 * locale/indigitswc.h (indigitwc_value): Correct.
3394 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
3395 conversion, add GROUP checking for it, fix GROUP number
3396 conversion with strlen(thousands) > 1.
3397 Honour width correctly in the presence of floating
3398 decimal points and thousands separators.
3399 * stdio-common/tst-sscanf.c: New test.
3400 * stdio-common/Makefile: Add it to tests.
3401 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
3402 thousands separators and group argument is non-zero.
3404 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3406 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
3407 starts at GLIBC_2.2.
3409 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3411 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
3412 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
3414 (headers): Add sys/tas.h.
3415 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
3416 GLIBC_2.2 from libc.
3417 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
3418 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
3421 2000-07-28 Andreas Jaeger <aj@suse.de>
3423 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
3425 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
3426 ($(objpfx)tst-dladdr.out): new.
3427 (tests): Add tst-dladdr.
3428 ($(objpfx)glrefmain): Use libdl.
3430 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
3433 2000-07-27 Jes Sorensen <jes@linuxcare.com>
3435 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
3436 ftruncate(64) calls.
3438 2000-07-27 Jes Sorensen <jes@linuxcare.com>
3440 * intl/tst-translit.c: Include string.h to get prototype for
3443 2000-07-27 Jes Sorensen <jes@linuxcare.com>
3445 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
3446 name and add weak alias for __fork.
3448 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
3449 & pwrite to use __libc_<name> as strong names instead of
3452 * include/sched.h: Add clone2 prototype.
3454 2000-07-26 Jes Sorensen <jes@linuxcare.com>
3456 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
3457 procedure name twice.
3459 2000-07-27 Philip Blundell <philb@gnu.org>
3461 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
3463 2000-07-27 Andreas Jaeger <aj@suse.de>
3465 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
3466 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
3467 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
3468 Reported by Andi Kleen <ak@suse.de>.
3470 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
3471 (do_wait): Test requests with aio_return64.
3472 (do_test): Change callers of do_wait.
3474 2000-07-26 Andreas Jaeger <aj@suse.de>
3476 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
3477 (do_wait): Test requests with aio_return.
3478 (do_test): Change callers of do_wait.
3480 2000-07-27 Ulrich Drepper <drepper@redhat.com>
3482 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
3483 from request list. Don't do the list handling here, call
3484 __aio_remove_request.
3485 * rt/aio_misc.h: Add prototype for __aio_remove_request.
3486 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
3487 request might already be processed. Don't do the list handling
3488 here, call __aio_remove_request.
3490 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
3493 * rt/aio_misc.c: Add comment explaining why writer memory barriers
3496 2000-07-27 Greg McGary <greg@mcgary.org>
3498 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
3499 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
3500 in union init. Pass zero for ignored semnum arg to semctl.
3501 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
3503 2000-07-26 Greg McGary <greg@mcgary.org>
3505 * sysdeps/gnu/bits/msq.h: Qualify kernel's
3506 data structure pointers as __unbounded.
3507 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
3508 * sysdeps/generic/bp-semctl.h: New file.
3509 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
3510 pointers as __unbounded. Check bounds of syscall args.
3511 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3512 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
3513 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3514 * sysdeps/unix/sysv/linux/semop.c: Likewise.
3515 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
3516 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3517 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
3518 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
3519 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
3520 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
3521 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
3522 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
3523 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
3524 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
3525 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
3526 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
3528 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3530 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
3532 * locale/C-ctype.c: Likewise.
3533 * wcsmbs/wcsmbsload.c: Likewise.
3535 2000-07-26 Greg McGary <greg@mcgary.org>
3537 * Makeconfig (+link-bounded, link-libc-bounded,
3538 link-extra-libs-bounded): New variables.
3539 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
3540 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
3541 * Rules (tests-bp.out): New variable.
3542 (tests): Conditionally add BP tests.
3543 (binaries-bounded): Add variable and associated rule.
3544 * csu/Makefile [build-bounded] (extra-objs, install-lib):
3545 Move conditional stuff after place where condition is defined.
3547 * malloc/malloc.c (bp-checks.h): Add #include.
3548 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
3549 (_bin_at): Add unbounded version of bin_at.
3550 (IAV, chunk_alloc): Use unbounded _bin_at.
3551 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
3552 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
3553 Wrap BOUNDED_N around return value.
3554 (chunk_realloc): Adjust oldsize once.
3556 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
3557 (__ubp_memchr): Add correct decl.
3558 (_CHECK_STRING): Use __ubp_memchr.
3559 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3560 New alias for unbounded-pointer __memchr.
3561 * sysdeps/i386/memchr.S: Likewise.
3562 * sysdeps/ia64/memchr.S: Likewise.
3563 * sysdeps/m68k/memchr.S: Likewise.
3564 * sysdeps/sparc/sparc32/memchr.S: Likewise.
3565 * sysdeps/sparc/sparc64/memchr.S: Likewise.
3566 * sysdeps/vax/memchr.s: Likewise.
3568 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
3569 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
3570 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
3571 * sysdeps/i386/i686/strtok.S: Likewise.
3572 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
3573 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
3575 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
3576 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
3578 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
3579 bounds of copy_result to mount_proc.
3581 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3583 * wctype/wctype.h (__wctrans_l): New declaration.
3584 * wctype/wctrans_l.c: New file.
3585 * wctype/Makefile (routines): Add wctrans_l.
3587 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3589 * posix/fnmatch_loop.c: Fixes for use outside glibc.
3590 Patch by MacGyver <macgyver@tos.net>.
3592 2000-07-26 Andreas Jaeger <aj@suse.de>
3594 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
3595 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
3596 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
3598 * rt/tst-aio.c (test_file): Fix typo.
3599 * rt/tst-aio64.c (test_file): Likewise.
3601 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
3602 * rt/Makefile: Add rules to build and run tst-aio3.
3604 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
3605 it's not needed and confuses only.
3607 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3609 * resolv/res_init.c: Add support for nameserver communication with
3611 * resolv/res_send.c: Likewise.
3612 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
3614 Patch by <venaas@nvg.ntnu.no>.
3616 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3618 * locale/programs/ld-ctype.c (wctype_table_get): New function.
3619 (wcwidth_table_get): New function.
3620 (wcwidth_table_add): Call it.
3621 (wctrans_table_get): New function.
3622 (wctrans_table_add): Call it.
3624 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3626 * rt/lio_listio.c (lio_listio): Always disable individual
3628 * rt/Makefile: Add rules to build and run tst-aio2.
3629 * rt/tst-aio2.c: New file.
3631 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
3632 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
3634 2000-07-25 Mark Kettenis <kettenis@gnu.org>
3636 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
3637 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
3638 leading and trailing spaces from host, user and domain name.
3640 2000-07-25 Jes Sorensen <jes@linuxcare.com>
3642 * csu/defs.awk: Add support for need_endp.
3644 2000-07-25 Mark Kettenis <kettenis@gnu.org>
3646 * resolv/resolv.h: Remove __P from res_send_qhook and
3647 res_send_rhook typedefs.
3649 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3651 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
3653 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3655 * iconv/gconv_builtin.h: Add WCHAR_T alias.
3657 2000-07-25 Mark Kettenis <kettenis@gnu.org>
3659 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
3660 calling thread, set the cancellation flag and return success
3663 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3665 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
3666 * libio/tst-widetext.c: New file.
3667 * libio/tst-widetext.input: New file.
3669 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
3671 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
3672 empty external buffer correctly.
3674 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3676 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
3677 __STRING(entry) and not #entry.
3678 (_RTLD_EPILOGUE): Likewise.
3679 * sysdeps/mips/mips64/dl-machine.h: Likewise.
3681 2000-07-25 Andreas Jaeger <aj@suse.de>
3683 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
3684 according to changes in test program, run also with static only
3686 ($(objpfx)tst-printf.out): Likewise.
3688 * stdio-common/tst-unbputc.sh: Likewise.
3689 * stdio-common/tst-printf.sh: Likewise.
3691 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3693 * libio/wfileops.c (_IO_wdo_write): Correct return value.
3695 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
3698 * libio/fileops.c: Pretty print.
3700 2000-07-23 Bruno Haible <haible@clisp.cons.org>
3702 * wctype/wchar-lookup.h: New file.
3703 * wctype/iswctype.c: Include "wchar-lookup.h".
3704 (__iswctype): Support alternate locale format with 3-level tables.
3705 * wctype/iswctype_l.c (__iswctype_l): Likewise.
3706 * wctype/towctrans.c (__towctrans): Likewise.
3707 * wctype/towctrans_l.c (__towctrans_l): Likewise.
3708 * wctype/wcfuncs.c: Include "wchar-lookup.h".
3709 (__ctype32_wctype, __ctype32_wctrans): Declare external.
3710 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
3711 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
3712 __iswxdigit, towlower, towupper): Support alternate locale format
3713 with 3-level tables.
3714 * wctype/wcextra.c (iswblank): Likewise.
3715 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
3716 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
3717 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
3718 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
3719 format with 3-level tables.
3720 * wctype/wcextra_l.c (__iswblank_l): Likewise.
3721 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
3722 format, return a 3-level table pointer.
3723 * wctype/wctype_l.c (__wctype_l): Likewise.
3724 * wctype/wctrans.c (wctrans): Likewise.
3725 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
3726 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
3727 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
3728 (iswctype): Remove macro definition.
3729 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
3730 (internal_wcwidth): Support alternate locale format with 3-level
3732 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
3734 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
3735 Define them as being type "word".
3736 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
3737 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
3738 __ctype32_width): New exported variables.
3739 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
3740 alternate locale format. Don't initialize __ctype_names and
3741 __ctype_width in the alternate locale format.
3742 * locale/programs/localedef.h (oldstyle_tables): New declaration.
3743 * locale/programs/localedef.c (oldstyle_tables): New variable.
3744 (OPT_OLDSTYLE): New macro.
3745 (options): Add --old-style option.
3746 (parse_opt): Handle --old-style option.
3747 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
3748 map_offset, class_3level, map_3level, width_3level members.
3749 (ctype_output): Support for alternate locale format: Computation of
3750 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
3751 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
3752 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
3753 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
3754 now contain both class and map tables.
3755 (struct wctype_table): New type.
3756 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
3758 (struct wcwidth_table): New type.
3759 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
3761 (struct wctrans_table): New type.
3762 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
3764 (allocate_arrays): Support for alternate locale format: Set
3765 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
3766 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
3767 to the first 256 characters. Compute ctype->map_3level. Set
3768 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
3769 instead of ctype->width.
3771 2000-07-24 Ulrich Drepper <drepper@redhat.com>
3773 * libio/iogetwline.c (_IO_getwline_info): Use wide character
3776 2000-07-24 Jakub Jelinek <jakub@redhat.com>
3778 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
3779 in wide characters, not bytes.
3780 * libio/tst_putwc.c (do_test): Add test for writing lots of data
3783 2000-07-22 Bruno Haible <haible@clisp.cons.org>
3785 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
3786 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
3787 LC_MEASUREMENT, LC_IDENTIFICATION.
3789 * locale/xlocale.h (struct __locale_struct): Increase size of
3791 * locale/duplocale.c (__duplocale): Copy newly added categories as
3793 * locale/freelocale.c (__freelocale): Free newly added categories.
3794 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
3795 If a base is given, use it, don't simply return it.
3797 2000-07-22 Bruno Haible <haible@clisp.cons.org>
3799 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
3800 variables, copied_key and copied_salt, instead of boolean variables.
3802 2000-07-24 Andreas Jaeger <aj@suse.de>
3804 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
3807 * grp/initgroups.c (initgroups_dyn_function): Renamed from
3808 initgroups_function, adopted prototype for change from 2000-07-23.
3809 (initgroups): Follow type change.
3811 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
3812 & PAGE_MASK case, reformat.
3814 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
3815 from stdin and setup environment.
3817 2000-07-24 Andreas Schwab <schwab@suse.de>
3819 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
3821 2000-07-23 Ulrich Drepper <drepper@redhat.com>
3823 * string/endian.h: Explain the _*_ENDIAN constant values a bit
3824 more. Patch by scarlet@mit.edu [PR libc/1799].
3826 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
3829 * argp/argp-parse.c (parser_finalize): Reverse order in which
3830 parsers are run for ARGP_KEY_END. [PR libc/1755].
3832 * grp/initgroups.c (initgroups): Don't limit the possible number
3833 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
3834 the setgroups call while the call fails and descrease the number
3835 of groups each round.
3836 The name of the initgroups function in the NSS modules changed.
3837 (compat_call): Adapt for dynamic resizing.
3838 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3839 Implement dynamic resizing.
3840 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3842 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
3843 * hesiod/Versions: Change exported interface name.
3844 * nis/Versions: Change exported interface name.
3846 2000-07-23 Ulrich Drepper <drepper@redhat.com>
3848 * locale/iso-639.def: Some errors corrected.
3849 Patch by Keld Simonsen.
3851 * include/limits.h: Update non-gcc portion.
3852 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
3854 2000-07-22 Mark Kettenis <kettenis@gnu.org>
3856 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
3857 program's data space, reallocate only the space that was just
3858 deallocated to release its backing space.
3860 2000-07-23 Ulrich Drepper <drepper@redhat.com>
3862 * stdio-common/vfprintf.c (process_string_arg): For wide character
3863 version, handle precision also correctly.
3865 * nss/nss_files/files-hosts.c: Correct problem with three or more
3866 entries with the same name.
3868 * nss/nss_files/files-hosts.c: Implement multi handling.
3869 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
3871 2000-07-22 Ulrich Drepper <drepper@redhat.com>
3873 * nss/nss_files/files-parse.c: Don't pollute namespace by using
3876 * grp/Makefile: Change Makefiles and tests to run only when necessary.
3877 * malloc/Makefile: Likewise.
3878 * malloc/tst-mtrace.sh: Likewise.
3879 * posix/Makefile: Likewise.
3880 * posix/globtest.sh: Likewise.
3881 * posix/wordexp-tst.sh: Likewise.
3882 * string/Makefile: Likewise.
3884 2000-07-22 Mark Kettenis <kettenis@gnu.org>
3886 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
3887 size instead of LC_ALL to take into account the new locale
3890 2000-07-22 Ulrich Drepper <drepper@redhat.com>
3892 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
3893 remainders of hash table.
3894 * locale/categories.def: Remove remainders of transliteration
3896 * locale/langinfo.h: Likewise.
3897 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
3898 transliteration tables.
3900 * locale/gen-translit.pl: New file.
3901 * locale/C-translit.h.in: New file.
3902 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
3903 data pointers with data from this file.
3904 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
3905 and gen-translit.pl.
3906 Add rule to generate C-translit.h.
3907 * intl/tst-translit.c (main): Update for now performed
3910 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
3911 (it's no input error).
3912 * stdio-common/tstscanf.c: Add test case for format %f with input --.
3913 * stdio-common/scanf12.c: Correct expected result for first scanf.
3915 * stdio-common/vfprintf.c (process_string_arg): Correct handling
3916 of multibyte character strings in %s format with precision.
3918 2000-07-21 Ulrich Drepper <drepper@redhat.com>
3920 * locale/programs/ld-collate.c (collate_read): Allow collating
3921 symbols and elements be named in reorder-after instructions.
3922 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
3924 * locale/programs/ld-collate.c (handle_ellipsis): Test for
3925 duplication with generated name, not the name of the first
3927 Patch by Yong Li <yong.li@asu.edu>.
3929 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
3930 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3932 2000-07-21 Wolfram Gloger <wg@malloc.de>
3934 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
3935 allocations only if a non-main arena cannot be extended.
3937 2000-07-21 Ulrich Drepper <drepper@redhat.com>
3939 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
3940 in DF_1_NODEFLIB handling.
3942 2000-07-21 Andreas Jaeger <aj@suse.de>
3944 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
3947 * libio/fwide.c: Include <wchar.h> for prototype.
3949 2000-07-21 Greg McGary <greg@mcgary.org>
3951 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
3952 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
3953 Define in terms of chunk_at_offset.
3954 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
3955 (next_bin, prev_bin): offset by size of real array elements.
3956 (chunk_align): Make `m' a scalar, since that's how it's used.
3958 2000-07-21 Greg McGary <greg@mcgary.org>
3960 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
3962 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
3963 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
3964 Wrap bounds around argv & envp and each of their string members.
3965 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
3966 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
3967 symbol in BP_SYM (). Discard bounds of address arg.
3968 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
3969 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
3970 Discard bounds on address arg, add bounds to return value.
3972 2000-07-20 Ulrich Drepper <drepper@redhat.com>
3974 * elf/Makefile (tests): Add filter. Add rules to generate filter.
3975 * elf/filter.c: New file.
3976 * elf/filtmod1.c: New file.
3977 * elf/filtmod2.c: New file.
3979 * elf/rtld.c: Define _dl_bind_not variable.
3980 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
3981 * elf/dl-support.c: Likewise.
3982 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
3983 * elf/dl-runtime.c (fixup): Don't remember looked up value if
3985 (profile_fixup): Likewise.
3987 * libio/Makefile (routines): Add fwide.
3988 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
3989 fwide now. Internal calls to _IO_fwide must do locking themselves
3990 or don't need locking.
3991 * libio/fwide.c: New file.
3993 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
3995 * elf/Makefile: Add no modules for nodelete test.
3996 * elf/nodelmod3.c: New file.
3997 * elf/nodelmod4.c: New file.
3998 * elf/nodelete.c: Also test case where dependency of dlopen() object
4001 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
4002 * elf/nodlopen.c: New file.
4003 * elf/nodlopenmod.c: New file.
4004 * include/dlfcn.h: Define __RTLD_DLOPEN.
4005 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
4006 and this is a dlopen() call, do not load the binary.
4007 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
4008 * dlfcn/dlopenold.c: Likewise.
4009 * configure.in: Add test for -z nodelete option.
4010 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
4012 2000-07-20 Mark Kettenis <kettenis@gnu.org>
4014 Make Hesiod NSS module thread-safe.
4016 * hesiod/README.hesiod: Update.
4018 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
4019 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
4020 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
4021 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
4023 * hesiod/nss_hesiod/hesiod-init.c: New file.
4024 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
4025 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
4026 * hesiod/nss_hesiod/nss_hesiod.h: New file.
4027 * hesiod/nss_hesiod/hesiod-service.c
4028 (_nss_hesiod_getservbyport_r): New function. Provide support for
4029 looking up services by port number.
4030 * hesiod/nss_hesiod/hesiod-proto.c: New file.
4032 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
4033 * hesiod/hesiod.h: Likewise.
4034 * hesiod/hesiod_p.h: Likewise.
4036 2000-07-20 Mark Kettenis <kettenis@gnu.org>
4038 Fix problems with `struct __res_state' getting too big.
4039 * resolv/resolv.h (struct __sockaddr_in): New definition.
4040 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
4041 the private parts of the structure to save some space.
4042 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
4043 (struct sockaddr_in *) in call to sock_eq.
4044 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
4046 2000-07-20 Ulrich Drepper <drepper@redhat.com>
4048 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
4049 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
4051 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
4052 to _dl_map_object. Return immediately if no object loaded.
4053 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
4054 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
4055 if it exists into l_flags_1 word.
4056 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
4057 it to determine whether loading is wanted or not.
4058 (_dl_map_object): Likewise.
4059 Call _dl_map_object_from_fd with new parameter.
4060 * sysdeps/generic/ldsodefs.h: Update prototype.
4061 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
4062 * elf/rtld.c: Likewise.
4063 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4064 * elf/Makefile (tests): Add noload. Add rules to generate noload.
4065 * elf/noload.c: New file.
4066 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
4067 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
4068 * sysdeps/mips/bits/dlfcn.h: Likewise.
4069 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
4070 (tests-nodelete-yes): Define.
4071 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
4072 Add rules to build nodelete and modules.
4073 * elf/nodelete.c: New file.
4074 * elf/nodelmod1.c: New file.
4075 * elf/nodelmod2.c: New file.
4076 * configure.in: Add test for -z nodelete option.
4077 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
4079 * libio/Makefile (tests): Add tst_wprintf2.
4080 (tst_wprintf2-ARGS): Define.
4081 * libio/tst_wprintf2.c: New file.
4082 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
4084 * libio/wfiledoalloc.c: Only allocate external buffer if this
4085 hasn't happened yet.
4087 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
4088 something in the buffer. gconv call can write up to end of the
4089 buffer, not only _IO_write_end.
4090 (_IO_wfile_overflow): Allocate also external buffer.
4092 2000-07-19 Ulrich Drepper <drepper@redhat.com>
4094 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
4095 strings with precision in vfwprintf correctly.
4096 * stdio-common/vfprintf.c: Fix completely broken handling of
4097 unbuffered wide character streams.
4098 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
4100 * resolv/Makefile (distribute): Add README.
4102 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
4104 2000-07-18 Mark Kettenis <kettenis@gnu.org>
4106 Update resolver code to BIND 8.2.3-T5B.
4108 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
4110 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
4111 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
4113 * resolv/Banner: BIND-8.2.3-T5B.
4115 * resolv/base64.c: Update from BIND 8.2.3-T5B.
4116 * resolv/herror.c: Likewise.
4117 * resolv/inet_addr.c: Likewise.
4118 * resolv/inet_net_ntop.c: Likewise.
4119 * resolv/inet_net_pton.c: Likewise.
4120 * resolv/inet_neta.c: Likewise.
4121 * resolv/inet_ntop.c: Likewise.
4122 * resolv/nsap_addr.c: Likewise.
4123 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
4124 IPv6 addresses (ISC bug #520).
4126 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
4127 * resolv/ns_parse.c: Likewise.
4128 * resolv/ns_netint.c: Likewise.
4129 * resolv/ns_samedomain.c: Likewise.
4130 * resolv/ns_ttl.c: Likewise.
4131 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
4132 RCS ID in object file.
4134 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
4135 * resolv/res_mkquery.c: Likewise.
4136 * resolv/res_query.c: Likewise.
4137 * resolv/res_init.c: Likewise.
4138 (res_setoptions): Mark internal.
4139 * resolv/res_send.c: Likewise.
4140 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
4141 by using poll instead.
4142 * resolv/res_comp.c: Likewise.
4143 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
4144 weak alias for __dn_expand.
4145 * resolv/res_data.c: Likewise.
4146 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
4147 in _res.options. Avoids a potential security risk by avoiding a
4149 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
4150 res_mkquery, res_query, res_querydomain adn res_search weak
4151 aliases for __res_mkquery, __res_query, __res_querydomain and
4153 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
4154 instead to avoid close(0).
4155 (res_init): Always use the static resolver context.
4156 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
4157 alias for __res_init.
4159 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
4160 RES_SET_H_ERRNO and accompanying comment to...
4161 * include/resolv.h: ... here.
4163 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
4164 * resolv/arpa/nameser_compat.h: Likewise.
4166 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4168 * nss/makedb.c (main): Compare result of load_db with
4169 NSS_STATUS_SUCCESS and not 0.
4170 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
4172 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
4174 2000-07-18 Greg McGary <greg@mcgary.org>
4176 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
4177 (EXTEND_BUFFER): Use it.
4179 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4181 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
4182 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
4183 __builtin_return_address.
4184 * dlfcn/dlopenold.c: Likewise.
4185 * dlfcn/dlsym.c: Likewise.
4186 * dlfcn/dlvsym.c: Likewise.
4187 * elf/dl-profstub.c: Likewise.
4188 * malloc/malloc.c: Likewise.
4189 * sysdeps/generic/machine-gmon.h: Likewise.
4190 Based on a patch by schwidefsky@de.ibm.com.
4192 2000-07-18 Andreas Jaeger <aj@suse.de>
4194 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
4195 NULL to elf_machine_fixup_plt t argument to silence GCC.
4197 * include/string.h: Add prototype for __memchr.
4199 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
4201 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
4204 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4206 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
4208 * locale/C-ctype.c: Add initializers for gap elements.
4209 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
4212 2000-07-16 Ulrich Drepper <drepper@redhat.com>
4214 * nscd/nscd.c (print_version): Update copyright year.
4216 2000-07-17 Greg McGary <greg@mcgary.org>
4218 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
4219 keyletters F, I, S, W. Remove unused keyletter V. Surround
4220 signature argnames with angle-brackets for use as word delimiters,
4221 and to induce syntax errors for any args not handled. Split
4222 multi-echo echoes and comment each stage.
4223 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
4224 * sysdeps/unix/inet/syscalls.list: Likewise.
4225 * sysdeps/unix/mman/syscalls.list: Likewise.
4226 * sysdeps/unix/syscalls.list: Likewise.
4227 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4228 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4229 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4230 * sysdeps/unix/sysv/syscalls.list: Likewise.
4231 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
4233 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
4234 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
4235 qualifiers. Don't check NULL-terminator of argv & envp.
4236 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
4237 unbounded pointer type in word-size assertion.
4238 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
4239 cases to stifle warnings.
4241 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
4243 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4245 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
4246 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
4249 * Makerules (o-objects): Supplement with $(o-objects$o).
4250 * string/Makefile (o-objects.ob): Add variable to pull
4251 unbounded versions of memcpy, memset and memchr into libc_b.
4253 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
4254 rather than non-existent __ubp_memchr.
4255 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
4256 (_CHECK_STRING, _CHECK_N): New macros.
4257 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
4258 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
4259 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
4260 Add weak alias "memchr".
4261 * sysdeps/generic/memchr.c: Likewise.
4262 * sysdeps/i386/memchr.S: Likewise.
4263 * sysdeps/ia64/memchr.S: Likewise.
4264 * sysdeps/m68k/memchr.S: Likewise.
4265 * sysdeps/sparc/sparc32/memchr.S: Likewise.
4266 * sysdeps/sparc/sparc64/memchr.S: Likewise.
4267 * sysdeps/vax/memchr.s: Likewise.
4269 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
4271 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
4272 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
4273 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
4274 __BOUNDED_POINTERS__.
4275 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
4276 for __BOUNDED_POINTERS__.
4278 2000-07-17 Bruno Haible <haible@clisp.cons.org>
4280 * iconv/gconv_open.c (__gconv_open): Initialize the __data
4281 field of struct __gconv_trans_data differently. Don't pass NULL to
4282 trans_init_fct. Simplify list append operation.
4284 2000-07-14 Bruno Haible <haible@clisp.cons.org>
4286 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
4287 not only those having tsearch.
4289 2000-07-17 Ulrich Drepper <drepper@redhat.com>
4291 * locale/langinfo.h: Add placeholder values in enum for removed
4294 2000-07-17 Jakub Jelinek <jakub@redhat.com>
4296 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
4297 chain if the PHDR check fails.
4299 2000-07-17 Mark Kettenis <kettenis@gnu.org>
4301 * nss/getent.c (print_hosts): Make sure we always print a space
4302 between numeric addresses and hostnames.
4304 2000-07-17 Wolfram Gloger <wg@malloc.de>
4306 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
4307 i.e. if n_mmaps_max>0.
4309 2000-07-16 Mark Kettenis <kettenis@gnu.org>
4311 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
4312 values to remove possible clash with other AI_* constants.
4313 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
4314 hexadecimal constants to stress the fact they're in fact
4317 2000-07-15 Mark Kettenis <kettenis@gnu.org>
4319 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
4320 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
4321 instead of res_init.
4323 2000-07-16 Ulrich Drepper <drepper@redhat.com>
4325 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
4326 parameters of memset calls to avoid warnings.
4328 2000-07-15 Ulrich Drepper <drepper@redhat.com>
4330 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
4333 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
4334 Patch by Greg McGary <greg@mcgary.org>.
4336 * io/Makefile (tests): Add tst-getcwd.
4337 * io/tst-getcwd.c: New file.
4339 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
4341 2000-07-15 Jakub Jelinek <jakub@redhat.com>
4343 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
4346 2000-07-13 Jakub Jelinek <jakub@redhat.com>
4348 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
4349 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
4351 2000-07-12 H.J. Lu <hjl@gnu.org>
4353 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
4355 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
4356 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
4357 (sysdep-routines): Add clone2.
4358 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
4360 2000-07-13 Jes Sorensen <jes@linuxcare.com>
4362 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
4363 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
4365 2000-06-05 David Mosberger <davidm@hpl.hp.com>
4367 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
4368 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
4369 Change type of si_band from "int" to "long".
4370 (si_imm) [USE_GNU]: Define
4371 (si_isr) [USE_GNU]: Ditto.
4372 (ILL_BREAK) [USE_GNU]: Ditto.
4373 (FPE_DECOVF) [USE_GNU]: Ditto.
4374 (FPE_DECDIV) [USE_GNU]: Ditto.
4375 (FPE_DECERR) [USE_GNU]: Ditto.
4376 (FPE_INVASC) [USE_GNU]: Ditto.
4377 (FPE_INVDEC) [USE_GNU]: Ditto.
4378 (TRAP_BRANCH) [USE_GNU]: Ditto.
4379 (TRAP_HWBKPT) [USE_GNU]: Ditto.
4381 2000-07-06 Jes Sorensen <jes@linuxcare.com>
4383 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4384 bits/sigcontext as struct mcontext does not depend on it.
4386 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
4388 2000-07-04 Jes Sorensen <jes@linuxcare.com>
4390 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
4392 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
4394 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
4396 2000-06-22 Jes Sorensen <jes@linuxcare.com>
4398 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
4400 2000-07-15 Ulrich Drepper <drepper@redhat.com>
4402 * intl/Makefile (test-srcs): Add tst-translit.
4404 Add rules to build and run tst-translit.
4405 * intl/tst-translit.c: New file.
4406 * intl/tst-translit.sh: New file.
4407 * intl/translit.po: New file.
4409 2000-07-14 Ulrich Drepper <drepper@redhat.com>
4411 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
4412 transliteration function did its job, continue, don't stop.
4414 * iconvdata/iso646.c: Little optimizations in body for conversion
4417 2000-07-14 Mark Kettenis <kettenis@gnu.org>
4419 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
4421 2000-07-14 Mark Kettenis <kettenis@gnu.org>
4423 * configure.in: Check for pwd binary.
4424 * config.make.in: Add PWD_P to be subsituted.
4425 * Makerules: Use $(PWD_P) instead of /bin/pwd.
4427 2000-07-14 Ulrich Drepper <drepper@redhat.com>
4429 * iconvdata/Makefile (modules): Add GB18030.
4430 (distribute): Add gb18030.c.
4431 * iconvdata/gconv-modules: Add entries for GB18030 module.
4432 * iconvdata/gb18030.c: New file.
4433 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
4436 2000-07-13 Andreas Jaeger <aj@suse.de>
4438 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
4441 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
4442 * inet/getnetgrent.c (free_mem): Likewise.
4443 * misc/mntent.c (free_mem): Likewise.
4444 * nss/getXXbyYY.c (free_mem): Likewise.
4445 * nss/getXXent.c (free_mem): Likewise.
4446 * pwd/fgetpwent.c (free_mem): Likewise.
4447 * shadow/fgetspent.c (free_mem): Likewise.
4449 2000-07-14 Ulrich Drepper <drepper@redhat.com>
4451 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
4452 64-bit architecture correctly [PR libc/1794].
4454 2000-07-13 Ulrich Drepper <drepper@redhat.com>
4456 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
4457 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
4458 report that we are out of memory.
4459 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4460 * elf/dl-libc.c (dlerror_run): Likewise.
4461 * elf/dl-open.c (_dl_open): Likewise.
4462 * elf/rtld.c (dl_main): Likewise.
4463 * elf/dl-error.c: Define _dl_out_of_memory.
4464 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
4466 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
4469 * dlfcn/dlerror.c (free_key_mem): Also free error string.
4471 * iconv/loop.c: Fix comment.
4473 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
4475 2000-07-13 Andreas Jaeger <aj@suse.de>
4477 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
4478 getcwd (NULL, size) with size > 0.
4479 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
4481 2000-07-13 Andreas Jaeger <aj@suse.de>
4483 * posix/Makefile: Remove build rules for libposix.
4485 2000-07-13 Andreas Schwab <schwab@suse.de>
4487 * sysdeps/generic/glob.c (glob): Fix memory leak.
4488 [SHELL]: Remove reference to undefined variable `files'.
4491 2000-07-13 Andreas Jaeger <aj@suse.de>
4493 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
4496 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
4497 memory if it was allocated.
4499 2000-07-12 Ulrich Drepper <drepper@redhat.com>
4501 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
4504 * iconv/gconv_open.c (__gconv_open): Reapply
4505 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4507 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
4509 * iconv/gconv_open.c: Undo last two changes for now. They break
4512 2000-07-12 Andreas Jaeger <aj@suse.de>
4514 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
4516 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
4517 (CFLAGS-dl-cache.c): Likewise.
4518 (CFLAGS-ldconfig.c): Added, passes directory locations.
4520 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
4522 * elf/ldconfig.c (LD_SO_CONF): Likewise.
4523 (main): Use configured LIBDIR and SLIBDIR.
4525 2000-07-11 Jakub Jelinek <jakub@redhat.com>
4527 * math/bits/cmathcalls.h (cimag): Add __THROW.
4528 (creal, conj): Likewise.
4529 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
4532 2000-07-12 H.J. Lu <hjl@gnu.org>
4534 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
4535 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
4537 2000-07-12 Ulrich Drepper <drepper@redhat.com>
4539 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
4542 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4544 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
4546 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4548 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
4551 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4553 * iconv/gconv_open.c (__gconv_open): Initialize
4554 result->__steps[cnt].__data.
4556 2000-07-12 Mark Kettenis <kettenis@gnu.org>
4558 * nss/getent.c (services_keys): Pass port number in network byte
4559 order in call to getservbyport.
4561 2000-07-11 Andreas Jaeger <aj@suse.de>
4563 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
4565 * intl/Makefile (do-gettext-test): Likewise.
4566 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
4568 2000-07-11 Andreas Schwab <schwab@suse.de>
4570 * Makeconfig (run-program-prefix): New rule.
4571 (built-program-cmd): Use run-program-prefix.
4573 2000-07-12 Ulrich Drepper <drepper@redhat.com>
4575 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
4576 and NOEXPR unconditionally available.
4578 2000-07-12 Greg McGary <greg@mcgary.org>
4580 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
4581 * sysdeps/posix/open64.c: Likewise.
4582 * sysdeps/generic/fegetenv.c: Likewise.
4583 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
4584 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4585 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4586 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
4587 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
4588 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
4590 2000-07-11 Greg McGary <greg@mcgary.org>
4592 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
4593 Add extra level of macro expansion.
4594 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
4595 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
4596 is available at the time `select' prototype is declared.
4597 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
4598 Collect non-versioned weak aliases. Consider only non-versioned
4599 aliases for the user-visible systemcall name. Do checks inline with
4600 call to primitive system call.
4601 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
4602 stand-alone bounds checks to suppress unused value warnings.
4603 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
4605 2000-07-10 Mark Kettenis <kettenis@gnu.org>
4607 * sysdeps/mach/hurd/check_fds.c: New file. Implements
4608 file descriptor checking in SUID programs for the Hurd.
4610 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
4611 res_hostalias instead of __hostalias for thread-safety.
4613 2000-07-09 Mark Kettenis <kettenis@gnu.org>
4615 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
4616 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
4618 2000-07-10 Ulrich Drepper <drepper@redhat.com>
4620 * include/features.h: Include ISO C99 features if the compiler used
4621 is an ISO C99 compiler.
4622 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4624 2000-07-08 Mark Kettenis <kettenis@gnu.org>
4626 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
4628 2000-07-10 Andreas Jaeger <aj@suse.de>
4630 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
4631 it's overridden by libpthreads.
4632 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4633 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4634 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4635 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4636 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4638 * malloc/Makefile: Run tst-mtrace only with shared libs.
4640 * stdio-common/Makefile: Run unbputc and tst-printf tests only
4643 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4645 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
4646 that gpreg really points to the GOT section of the calling object.
4647 Scan all PT_LOAD segments of objects for stub_pc, instead of only
4648 checking a start address of first one.
4650 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
4653 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
4655 2000-07-10 Andreas Jaeger <aj@suse.de>
4657 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
4658 (string_alias->strong_alias).
4660 2000-07-08 Mark Kettenis <kettenis@gnu.org>
4662 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
4664 2000-07-07 Greg McGary <greg@mcgary.org>
4666 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
4667 have no names without leading underscores.
4669 2000-07-07 Ulrich Drepper <drepper@redhat.com>
4671 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
4674 * stdio-common/Makefile (tests): Remove tst-printf here...
4675 (tests-srcs): ...and add it here.
4676 (distribute): Add tst-unbputc.sh and tst-printf.sh.
4677 Add rules to run tst-printf.sh.
4678 * stdio-common/tst-printf.c: Move code around so that there is really
4679 no further output where it's stated.
4680 * stdio-common/tst-printf.sh: New file.
4682 2000-07-07 Mark Kettenis <kettenis@gnu.org>
4684 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
4685 (do_write): Renamed from pwrite.
4686 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
4687 `struct _IO_cookie_file'.
4689 2000-07-07 Ulrich Drepper <drepper@redhat.com>
4691 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
4693 * malloc/tst-mtrace.sh: Run mtrace script.
4695 2000-07-07 Greg McGary <greg@mcgary.org>
4697 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
4698 Move all three components of a bounded pointer.
4700 2000-07-07 Ulrich Drepper <drepper@redhat.com>
4702 * locale/programs/locale.c (write_locales): Don't simply add all
4703 directories found in the subdir, test whether at least the
4704 LC_CTYPE file is in there.
4706 2000-07-06 Ulrich Drepper <drepper@redhat.com>
4708 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
4709 * iconvdata/euc-kr.c: Likewise.
4711 * stdio-common/vfprintf.c (process_string_arg): Check result of
4712 wcrtomb call and bail out if it failed.
4714 * malloc/Makefile (test-srcs): Add tst-mtrace.
4715 (distribute): Add tst-mtrace.sh.
4716 Add rule to run tst-mtrace.sh.
4717 * malloc/tst-mtrace.c: New file.
4718 * malloc/tst-mtrace.sh: New file.
4720 * include/signal.h: Declare __libc_sigaction.
4721 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
4722 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
4723 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4724 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4725 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4726 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4727 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4729 * configure.in: Fix CFLAGS-memprofstat.c definition after
4731 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
4733 2000-07-06 Jakub Jelinek <jakub@redhat.com>
4735 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
4736 instead of NULL to elf_machine_fixup_plt t argument.
4737 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4738 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
4741 2000-07-06 Andreas Jaeger <aj@suse.de>
4743 * crypt/Makefile (LDLIBS-cert): Removed.
4744 (LDLIBS-md5c-test): Removed.
4745 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
4746 ($(objpfx)md5c-test): Likewise for md5c-test.out.
4748 2000-07-06 Andreas Jaeger <aj@suse.de>
4750 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
4751 of the proc system is "proc".
4753 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
4754 thread library for static programs.
4756 2000-07-06 Greg McGary <greg@mcgary.org>
4758 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
4760 * sysdeps/generic/strcpy.c: Add bounds checks.
4761 * sysdeps/unix/fxstat.c: Likewise.
4762 * sysdeps/unix/xstat.c: Likewise.
4763 * sysdeps/unix/common/lxstat.c: Likewise.
4764 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4765 * sysdeps/unix/sysv/linux/execve.c: Likewise.
4766 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
4767 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
4768 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4769 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4770 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
4771 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4772 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4773 * sysdeps/unix/sysv/linux/poll.c: Likewise.
4774 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4775 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4776 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
4777 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4778 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4779 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4780 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4781 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4782 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4783 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
4784 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4785 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
4786 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4787 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
4788 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
4789 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
4790 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4791 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
4792 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4793 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4794 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4795 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
4796 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4797 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4798 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4799 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4800 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4801 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
4802 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4803 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4804 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4805 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4806 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4807 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4808 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
4809 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
4810 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4811 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
4812 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
4813 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
4814 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
4815 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
4816 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4817 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4818 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4819 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4820 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
4821 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
4822 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
4823 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
4824 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4825 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
4826 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
4827 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
4829 * string/endian.h (__LONG_LONG_PAIR): New macro.
4830 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
4831 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4832 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4833 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4834 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4835 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
4836 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
4837 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4838 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4839 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4840 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4841 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
4843 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
4845 2000-07-06 Andreas Jaeger <aj@suse.de>
4847 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
4850 * math/test-fpucw.c: Include <stdio.h> for printf.
4852 2000-07-05 Greg McGary <greg@mcgary.org>
4854 * sysdeps/generic/bp-checks.h: New file.
4855 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
4856 with list of #include files.
4857 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
4858 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
4859 Don't generate BP thunk if `V' appears in signature.
4860 Generate thunks with complete bounds checks.
4861 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
4862 * sysdeps/unix/inet/syscalls.list: Likewise.
4863 * sysdeps/unix/mman/syscalls.list: Likewise.
4864 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4865 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4866 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4867 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4869 2000-07-05 Ulrich Drepper <drepper@redhat.com>
4871 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
4872 result. Search first in /etc/mtab (proc/mounts would be stupid).
4873 If mount not in the file fall back on /proc.
4875 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
4876 string got copied in.
4877 Patch by Solar Designer <solar@false.com>.
4879 2000-07-05 Andreas Jaeger <aj@suse.de>
4881 * manual/install.texi (Installation): Update information about
4883 (Configuring and compiling): Update for glibc 2.2.
4885 2000-07-04 Andreas Jaeger <aj@suse.de>
4887 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
4888 (_FPU_IEEE): Likewise.
4890 * math/Makefile (tests): Add test-fpucw.
4892 * math/test-fpucw.c (main): New file.
4894 2000-07-05 Ulrich Drepper <drepper@redhat.com>
4896 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
4898 * locale/programs/ld-collate.c (collate_output): Also write out the
4899 collation sequence values and the wide character string for the
4900 collation symbol table.
4902 * posix/fnmatch.c: Include "../locale/elem-hash.h".
4903 * posix/fnmatch_loop.c: Implement collating symbol handling.
4904 * posix/tst-fnmatch.input: Add more tests, especially for collating
4907 * posix/regex.c: Fix comment.
4909 2000-07-05 Andreas Jaeger <aj@suse.de>
4911 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
4912 (_FPU_GETCW): Remove extra colon.
4913 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
4915 * posix/fnmatch_loop.c (FCT): Only declare len if
4916 !WIDE_CHAR_VERSION to silence GCC.
4918 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
4920 * sysdeps/generic/strchrnul.c: Likewise.
4921 * sysdeps/generic/strlen.c: Likewise.
4922 * sysdeps/generic/strchr.c: Likewise.
4923 * sysdeps/generic/memchr.c: Likewise.
4925 2000-07-04 Ulrich Drepper <drepper@redhat.com>
4927 * posix/fnmatch_loop.c: Implement equivalence class handling.
4928 * posix/tst-fnmatch.input: Add tests for equivalence class
4931 * posix/fnmatch_loop.c: Improve performance for single-byte
4932 character sets by not using btowc.
4934 * posix/tst-fnmatch.input: Add tests for locale dependent
4936 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
4938 * posix/tst-fnmatch.input: Add more test cases.
4940 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
4941 are not aligned to alignof(md5_uint32) do it before calling
4942 __md5_process_bytes.
4943 * crypt/md5.c: Make sure buffers are aligned.
4944 * crypt/md5.h: Likewise.
4945 Reported by Solar Designer <solar@false.com>.
4947 * crypt/Makefile: Add dependencies for test programs.
4949 * Rules: Define LC_ALL=C in environments of all programs we run.
4951 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
4953 2000-07-03 H.J. Lu <hjl@gnu.org>
4955 * locale/programs/ld-ctype.c (ctype_output): The size of iov
4956 is 2 + elem + offset, not 2 + elem + offset + 2.
4958 2000-07-04 Ulrich Drepper <drepper@redhat.com>
4960 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
4962 * posix/Makefile (tests): Add tst-fnmatch.
4963 (tst-fnmatch-ENV): Define.
4964 * posix/tst-fnmatch.c: New file.
4965 * posix/tst-fnmatch.sh: New file.
4967 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
4969 * locale/programs/charmap.c (charmap_read): Prepend
4970 the condition filename == NULL.
4972 2000-07-03 Greg McGary <greg@mcgary.org>
4974 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
4976 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
4977 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
4979 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
4980 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
4981 (FILEBUF_LITERAL): Add cast for CHAIN init.
4982 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
4983 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
4984 Revert type of `fp' to _IO_FILE*.
4985 (_IO_iter_file): Remove cast.
4986 (_IO_iter_next): Elide intermediate member reference.
4988 * sysdeps/powerpc/strchr.S: Check bounds.
4989 Wrap extern symbols in BP_SYM ().
4991 2000-07-03 Andreas Jaeger <aj@suse.de>
4993 * dlfcn/Makefile (generated): New.
4995 2000-07-03 Ulrich Drepper <drepper@redhat.com>
4997 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
4998 (__uflow): Likewise.
4999 (__underflow): Likewise.
5000 * libio/wgenops.c (__wunderflow): Likewise.
5001 * stdio-common/tst-unbputc.c: New file.
5002 * stdio-common/tst-unbputc.sh: New file.
5003 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
5005 * po/en_GB.po: New file.
5006 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
5008 2000-07-01 Andreas Jaeger <aj@suse.de>
5010 * intl/Makefile (generated-dirs): New.
5012 * elf/Makefile (generated): trusted-dirs.h is always generated,
5013 move out of build-shared condition.
5014 (generated): Merge the two entries for build-shared.
5016 2000-07-01 Ulrich Drepper <drepper@redhat.com>
5018 * debug/Makefile (distribute): Add xtrace.sh.
5020 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5022 * version.h (VERSION): Bump to 2.1.91.
5024 * configure.in: Update warning comment. glibc should not be
5027 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
5028 ioperm.c, sys/procfs.h, and sys/io.h.
5030 * sysdeps/powerpc/Dist: Add bp-asm.h.
5032 * assert/Depend: Add localedata.
5033 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
5034 (test-assert-perr-ENV): New. Define LANGUAGE=C.
5036 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
5037 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
5038 relocation address to prevent unaligned trap.
5039 Suggested by Richard Henderson <rth@cygnus.com>.
5041 2000-06-30 Jakub Jelinek <jakub@redhat.com>
5043 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
5044 if redirecting and either redirection is done using defines or
5047 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5049 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
5050 generated expressions.
5051 Patch by Darren McClelland <dmcclell@zetec.com>.
5053 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
5054 since zic uses setlocale and gettext but we cannot make it use the
5055 new locale data since zic calls a shell which might not use the
5058 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
5059 handling the internation currency symbol. POSIX says that the
5060 fourth character is used to separate the currency symbol from the
5061 value. Therefore it does not have to be printed. But we cannot
5062 remove the space if the currency symbol is printed before the
5063 number since this is what many locales expect.
5065 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
5066 whether this information is available.
5068 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
5069 buffers in case the translation is too large. Remember allocated
5070 memory blocks in a list.
5071 (free_mem): Free memory for translations.
5073 * intl/tst-gettext.c: Use correct locale. Improve error messages.
5075 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
5076 information is available set the string length to zero.
5078 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
5080 2000-06-30 Greg McGary <greg@mcgary.org>
5082 * sysdeps/powerpc/bp-asm.h: New file.
5083 * sysdeps/powerpc/__longjmp.S: Check bounds.
5084 Wrap extern symbols in BP_SYM ().
5085 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
5086 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
5087 * sysdeps/powerpc/setjmp.S: Likewise.
5088 * sysdeps/powerpc/add_n.S: Likewise.
5089 * sysdeps/powerpc/addmul_1.S: Likewise.
5090 * sysdeps/powerpc/lshift.S: Likewise.
5091 * sysdeps/powerpc/rshift.S: Likewise.
5092 * sysdeps/powerpc/mul_1.S: Likewise.
5093 * sysdeps/powerpc/sub_n.S: Likewise.
5094 * sysdeps/powerpc/submul_1.S: Likewise.
5095 * sysdeps/powerpc/strlen.S: Likewise.
5096 * sysdeps/powerpc/memset.S: Likewise.
5097 * sysdeps/powerpc/stpcpy.S: Likewise.
5098 * sysdeps/powerpc/strcmp.S: Likewise.
5099 * sysdeps/powerpc/strcpy.S: Likewise.
5100 * sysdeps/powerpc/elf/bzero.S: Likewise.
5102 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
5103 Line up operands column with tabs.
5105 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5107 * elf/Makefile (LDFLAGS-origtest): Actually add it.
5109 * sysdeps/ia64/htonl.S: New file.
5110 * sysdeps/ia64/htons.S: New file.
5111 * sysdeps/ia64/memcpy.S: Replace with version which does not use
5112 floating point registers.
5113 Patches by Dan Pop <Dan.Pop@cern.ch>.
5115 2000-06-30 Andreas Jaeger <aj@suse.de>
5117 * posix/Makefile (tests): tst-exec and tst-spawn only work with
5120 * io/Makefile (CFLAGS-test-lfs.c): New.
5121 (tests): Add test-lfs.
5123 * io/test-lfs.c: New file.
5125 2000-06-30 Jakub Jelinek <jakub@redhat.com>
5127 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
5130 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
5132 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
5134 2000-06-29 Jes Sorensen <jes@linuxcare.com>
5136 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
5137 alias to the fstatfs call.
5139 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
5140 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
5142 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
5143 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
5145 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
5146 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
5147 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
5148 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
5150 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
5151 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
5153 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
5154 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
5156 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
5157 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
5159 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
5161 2000-06-29 Andreas Jaeger <aj@suse.de>
5163 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
5165 (print_err_message): Likewise.
5166 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
5168 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5170 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
5171 used as words is properly aligned.
5173 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
5176 2000-06-29 Greg McGary <greg@mcgary.org>
5178 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
5179 * sysdeps/unix/make-syscalls.sh: Handle signatures of
5180 length 7..9, just in case...
5181 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
5183 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
5184 (POP_ERRNO_LOCATION_RETURN): Fold insns.
5185 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
5186 (PUSH_SIGNAL_MASK): New macro.
5187 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
5188 LEAVE is unnecessary. Check bounds of jmp_buf.
5189 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
5190 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
5191 immediately before tail-call.
5192 * sysdeps/i386/setjmp.S: Likewise.
5193 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5194 * sysdeps/i386/bsd-setjmp.S: Likewise.
5196 2000-06-29 Jakub Jelinek <jakub@redhat.com>
5198 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
5200 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
5201 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
5202 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
5203 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5204 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
5205 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
5206 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
5207 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
5209 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5211 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
5212 we later need to calling free().
5213 Patch by Matt Wilson <msw@redhat.com>.
5215 * stdio-common/tst-printf.c: Add test for above problem.
5217 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
5219 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
5220 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
5222 2000-06-28 Jes Sorensen <jes@linuxcare.com>
5224 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
5225 prototype for abs().
5226 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
5228 2000-06-23 Andreas Jaeger <aj@suse.de>
5230 * config.h.in: Don't use regparm with bounded pointers.
5232 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5234 * stdlib/grouping.h: Correctly handle multibyte thousands
5235 separator and decimal point.
5236 * stdlib/stdtod.c: Likewise.
5237 * sysdeps/generic/strtol.c: Likewise.
5239 * locale/categories.def: Add entries for wide character decimal point
5240 and thousands separator in numeric and monetary category.
5242 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5244 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
5245 second definition and initialization of decimal.
5247 2000-06-28 Greg McGary <greg@mcgary.org>
5249 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
5251 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
5252 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
5254 (_IO_JUMPS): Don't cast THIS--expect arg to be a
5255 (struct _IO_FILE_plus *).
5256 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
5257 THIS, since _IO_JUMPS no longer does it implicitly.
5258 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
5259 arg type as (struct _IO_FILE_plus *).
5260 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
5261 arg as (_IO_strfile *).
5262 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
5263 Declare 1st arg as (_IO_strfile *).
5264 * libio/fileops.c (_IO_new_file_init): Declare
5265 arg type as (struct _IO_FILE_plus *).
5266 * libio/oldfileops.c (_IO_old_file_init): Likewise.
5267 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
5268 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
5269 Declare iteration pointer as (struct _IO_FILE_plus *).
5270 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
5271 (struct _IO_FILE_plus *).
5272 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
5273 * libio/oldstdfiles.c (_IO_list_all): Likewise.
5274 (_IO_check_libio): Set user-visible handles to
5275 (struct _IO_FILE_plus *).
5276 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
5277 to (struct _IO_FILE_plus *).
5279 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
5280 whose high bound includes vtable to all functions that will use
5281 vtable. For streambufs, pass pointer whose bounds include struct
5283 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
5284 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5285 * libio/iofopen.c (_IO_new_fopen): Likewise.
5286 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5287 * libio/iofopen64.c (_IO_fopen64): Likewise.
5288 * libio/iopopen.c (_IO_new_popen): Likewise.
5289 * libio/oldiopopen.c (_IO_old_popen): Likewise.
5290 * libio/memstream.c (open_memstream): Likewise.
5291 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
5292 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
5293 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5294 * libio/iofopncook.c (_IO_cookie_init): Likewise.
5295 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
5296 * libio/vasprintf.c (_IO_vasprintf): Likewise.
5297 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
5298 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
5299 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
5300 * stdlib/strfmon.c (__strfmon_l): Likewise.
5301 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
5302 (vfprintf): Qualify computed-goto targets as unbounded.
5304 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5306 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
5307 thousands separator correctly.
5309 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
5310 * stdio-common/vfwscanf.c: Likewise.
5312 2000-06-27 Jes Sorensen <jes@linuxcare.com>
5314 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
5315 count into signatures for most calls.
5317 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5319 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
5320 the generic parser now.
5322 2000-06-28 Jes Sorensen <jes@linuxcare.com>
5324 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
5325 table entries are 32 bit on the ia64 (as specified by the ABI),
5326 not 64 bit as on the Alpha.
5328 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
5329 change of objects to use 32 bit hash table indices (see above).
5331 2000-06-28 Jes Sorensen <jes@linuxcare.com>
5333 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
5334 prototype for abs().
5336 2000-06-28 Wolfram Gloger <wg@malloc.de>
5338 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
5339 fails, try mmap_chunk() as a last resort even though n_mmaps_max
5340 may have been reached.
5342 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5344 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
5345 symbols in multi-character weights correctly.
5347 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
5348 depending on whether the input string is empty or not.
5350 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
5351 given state and not avoiding this by modifying a local object.
5352 * wcsmbs/wcrtomb.c: Likewise.
5354 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
5355 object since some incomplete characters might be in there.
5357 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
5358 sequences with first byte 0x8e correctly.
5360 * iconvdata/jis0208.h: Remove redundant test.
5362 2000-06-27 Ulrich Drepper <drepper@redhat.com>
5364 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
5365 Add it where it is needed now.
5367 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
5368 the input charset into account when generating the hash table.
5369 (allocate_arrays): Correct setting default width. Not all empty slots
5370 in the table are filled, only those not covert explicitly by the
5371 locale description and in the charset.
5373 * wctype/towctrans.c (__towctrans): Be graceful and accept error
5374 return values from the wctrans function.
5376 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
5377 wide character version.
5378 For %C handling, test correct pointer variable for NULL.
5380 * wcsmbs/wctob.c: Handle WEOF special.
5382 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
5384 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
5385 always-true test to avoid warning.
5387 2000-06-27 Greg McGary <greg@mcgary.org>
5389 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
5390 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
5391 (symbol_version, default_symbol_version): Factor redundant
5392 definitions out of conditional.
5394 2000-06-27 Jakub Jelinek <jakub@redhat.com>
5396 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
5399 2000-06-26 Ulrich Drepper <drepper@redhat.com>
5401 * include/libc-symbols.h (symbol_version): Add extra level of
5403 (default_symbol_version): Likewise.
5405 2000-06-26 Greg McGary <greg@mcgary.org>
5407 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
5408 for BP return value & push implicit struct-return pointer to
5410 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5411 (SYSCALL_ERROR_HANDLER): Likewise.
5412 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
5413 (SYSCALL_ERROR_HANDLER): Likewise.
5415 * Makeconfig: Add missing comment.
5416 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
5417 BP-flavored startup object.
5418 ($(objpfx)b$(start-installed-name)): New rule.
5419 * include/libc-symbols.h (symbol_set_declare): Change type
5420 of `__start_##set' and `__stop_##set' to pointer-to-function.
5421 (symbol_set_declare): Change type of `set' to array of
5422 pointer-to-function.
5423 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
5424 pointer-to-function.
5426 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
5428 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
5429 Remove clock_* and timer_* entries.
5430 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
5431 arg-count with signatures.
5433 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
5434 Check bounds of arguments.
5435 * sysdeps/i386/addmul_1.S: Likewise.
5436 * sysdeps/i386/lshift.S: Likewise.
5437 * sysdeps/i386/mul_1.S: Likewise.
5438 * sysdeps/i386/rshift.S: Likewise.
5439 * sysdeps/i386/sub_n.S: Likewise.
5440 * sysdeps/i386/submul_1.S: Likewise.
5441 * sysdeps/i386/i586/add_n.S: Likewise.
5442 * sysdeps/i386/i586/addmul_1.S: Likewise.
5443 * sysdeps/i386/i586/lshift.S: Likewise.
5444 * sysdeps/i386/i586/rshift.S: Likewise.
5445 * sysdeps/i386/i586/sub_n.S: Likewise.
5446 * sysdeps/i386/i686/add_n.S: Likewise.
5448 * sysdeps/i386/memchr.S: Likewise.
5449 * sysdeps/i386/memcmp.S: Likewise.
5450 * sysdeps/i386/rawmemchr.S: Likewise.
5451 * sysdeps/i386/i586/bzero.S: Likewise.
5452 * sysdeps/i386/i586/memcpy.S: Likewise.
5453 * sysdeps/i386/i586/mempcpy.S: Likewise.
5454 * sysdeps/i386/i586/memset.S: Likewise.
5455 * sysdeps/i386/i686/bzero.S: Likewise.
5456 * sysdeps/i386/i686/memcpy.S: Likewise.
5457 * sysdeps/i386/i686/mempcpy.S: Likewise.
5458 * sysdeps/i386/i686/memset.S: Likewise.
5460 * sysdeps/i386/stpcpy.S: Likewise.
5461 * sysdeps/i386/stpncpy.S: Likewise.
5462 * sysdeps/i386/strchr.S: Likewise.
5463 * sysdeps/i386/strchrnul.S: Likewise.
5464 * sysdeps/i386/strcspn.S: Likewise.
5465 * sysdeps/i386/strpbrk.S: Likewise.
5466 * sysdeps/i386/strrchr.S: Likewise.
5467 * sysdeps/i386/strspn.S: Likewise.
5468 * sysdeps/i386/strtok.S: Likewise.
5469 * sysdeps/i386/strtok_r.S: Likewise.
5470 * sysdeps/i386/i486/strcat.S: Likewise.
5471 * sysdeps/i386/i486/strlen.S: Likewise.
5472 * sysdeps/i386/i586/strchr.S: Likewise.
5473 * sysdeps/i386/i586/strcpy.S: Likewise.
5474 * sysdeps/i386/i586/strlen.S: Likewise.
5475 * sysdeps/i386/i686/strcmp.S: Likewise.
5476 * sysdeps/i386/i686/strtok.S: Likewise.
5477 * sysdeps/i386/i686/strtok_r.S: Likewise.
5479 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
5480 * sysdeps/i386/fpu/fesetenv.c: Likewise.
5481 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
5482 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
5483 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
5485 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
5486 * sysdeps/i386/mul_1.S: Likewise.
5487 * sysdeps/i386/submul_1.S: Likewise.
5488 * sysdeps/i386/i586/add_n.S: Likewise.
5489 * sysdeps/i386/i586/addmul_1.S: Likewise.
5490 * sysdeps/i386/i586/lshift.S: Likewise.
5491 * sysdeps/i386/i586/mul_1.S: Likewise.
5492 * sysdeps/i386/i586/rshift.S: Likewise.
5493 * sysdeps/i386/i586/sub_n.S: Likewise.
5494 * sysdeps/i386/i586/submul_1.S: Likewise.
5496 2000-06-26 Ulrich Drepper <drepper@redhat.com>
5498 * rt/Makefile (librt-routines): Add clock_nanosleep.
5499 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
5500 * sysdeps/generic/clock_nanosleep.c: New file.
5501 * sysdeps/unix/clock_nanosleep.c: New file.
5502 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
5503 * time/time.h: Declare clock_nanosleep.
5505 2000-06-26 Greg McGary <greg@mcgary.org>
5507 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
5508 INSN1, INSN2, TEXT, GLOBL): Remove macros.
5509 (ALIGN): Cleanup surrounding conditionals.
5511 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
5512 Call ENTER/LEAVE macros.
5513 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
5514 * sysdeps/i386/submul_1.S: Likewise.
5516 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
5517 syntax. Define & use symbolic argument stack offsets. Call
5519 * sysdeps/i386/i586/mul_1.S: Likewise.
5520 * sysdeps/i386/i586/submul_1.S: Likewise.
5522 2000-06-25 Greg McGary <greg@mcgary.org>
5524 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
5527 2000-06-25 Ulrich Drepper <drepper@redhat.com>
5529 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
5530 * iconvdata/gen-8bit-gap.sh: Likewise.
5531 * iconvdata/gen-8bit.sh: Likewise.
5533 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
5535 * locale/programs/ld-collate.c (collate_read): Don't actually read
5536 the copy locale if we are ignoring the content.
5538 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
5541 * locale/programs/ld-collate.c: Correct handling of different
5543 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
5544 as extra parameter from which to copy category information.
5546 (load_locale): Likewise.
5547 * locale/programs/localedef.h: Update prototypes of add_to_readlist
5549 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
5550 * locale/programs/locfile.h: Likewise.
5551 * locale/programs/locfile-kw.gperf: Add entry for script.
5552 * locale/programs/locfile-token.h: Add tok_script.
5554 * locale/programs/locale.c: Update copyright year.
5555 * locale/programs/localedef.c: Likewise.
5557 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
5559 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
5560 Jens Moeller <jens.moeller@waii.com>.
5562 2000-06-24 Ulrich Drepper <drepper@redhat.com>
5564 * locale/programs/ld-name.c (name_finish): Add missing format
5565 specifier to test for name_fmt.
5567 * locale/programs/ld-address.c (iso639): Correct length of string
5569 (iso3166): Likewise.
5571 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
5573 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
5576 * elf/elf.h (NT_PRFPXREG): Define.
5578 2000-06-23 Ulrich Drepper <drepper@redhat.com>
5580 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
5581 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
5583 2000-06-23 Andreas Schwab <schwab@suse.de>
5585 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
5588 2000-06-23 Andreas Jaeger <aj@suse.de>
5590 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
5592 * io/test-stat.c: Add copyright header, mention Maciej.
5594 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
5595 SYS_mincore, SYS_madvise): Added.
5597 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
5600 2000-06-22 Ulrich Drepper <drepper@redhat.com>
5602 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
5603 (CFLAGS-tst_putwc.c): New definition.
5604 * libio/tst_getwc.c: New file.
5605 * libio/tst_getwc.input: New file.
5606 * libio/tst_putwc.c: New file.
5608 * include/string.h: Add prototype for __strdup.
5610 2000-06-22 Greg McGary <greg@mcgary.org>
5612 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
5613 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
5616 2000-06-23 Jes Sorensen <jes@linuxcare.com>
5618 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
5620 2000-06-22 Jes Sorensen <jes@linuxcare.com>
5622 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
5624 2000-06-22 Jes Sorensen <jes@linuxcare.com>
5626 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
5627 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
5629 2000-06-22 Ulrich Drepper <drepper@redhat.com>
5631 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
5632 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
5634 * sysdeps/mach/hurd/bits/stat.h: Likewise.
5635 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5636 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
5637 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5638 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
5639 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
5640 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5641 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
5642 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5643 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5644 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
5645 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
5646 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
5647 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
5650 2000-06-22 Andreas Jaeger <aj@suse.de>
5652 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
5655 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
5657 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
5659 2000-06-21 Ulrich Drepper <drepper@redhat.com>
5661 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
5664 2000-06-21 Greg McGary <greg@mcgary.org>
5666 * Makerules (elide-routines.*, elide-bp-thunks):
5667 Define unconditionally.
5669 2000-06-21 Jes Sorensen <jes@linuxcare.com>
5671 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
5673 2000-06-21 Andreas Jaeger <aj@suse.de>
5675 * io/Makefile (tests): Add test-stat.
5676 (CFLAGS-test-stat.c): New.
5678 * io/test-stat.c: New file from Maciej W. Rozycki
5679 <macro@ds2.pg.gda.pl>.
5681 2000-06-21 Jes Sorensen <jes@linuxcare.com>
5683 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
5684 in __rlimit_resource to make them match the kernel order.
5685 rlim_t is always 64 bit, use __rlim64_t to declare it
5688 2000-05-04 Jes Sorensen <jes@linuxcare.com>
5690 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
5691 RLIM_INFINITY before defining it to avoid clash with kernel header
5693 2000-05-03 Jes Sorensen <jes@linuxcare.com>
5695 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
5697 2000-06-21 Ulrich Drepper <drepper@redhat.com>
5699 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
5701 2000-06-21 Andreas Jaeger <aj@suse.de>
5703 * stdio-common/temptest.c: Include <stdlib.h>.
5704 * stdio-common/tst-fileno.c: Likewise.
5705 * stdio-common/scanf4.c: Likewise.
5706 * stdio-common/scanf5.c: Likewise.
5707 * time/clocktest.c: Likewise.
5708 * posix/test-vfork.c: Likewise.
5709 * posix/globtest.c: Likewise.
5710 * io/test-utime.c: Likewise.
5711 * wctype/test_wcfuncs.c: Likewise.
5712 * crypt/cert.c: Likewise.
5714 * stdio-common/tst-printfsz.c: Include <string.h>.
5715 * libio/tst_swscanf.c: Likewise.
5716 * libio/tst_wscanf.c: Likewise.
5717 * posix/runtests.c: Likewise.
5718 * posix/tst-getaddrinfo.c: Likewise.
5719 * posix/wordexp-test.c: Likewise.
5720 * misc/tst-efgcvt.c: Likewise.
5722 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
5723 * nss/test-netdb.c: Likewise.
5725 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
5726 supported kernel for MIPS.
5728 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
5729 * rt/aio_suspend.c: Likewise.
5731 2000-06-20 Ulrich Drepper <drepper@redhat.com>
5733 * math/libm-test.inc: Include <string.h>.
5735 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5737 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
5739 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5741 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
5742 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
5744 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
5746 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
5748 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5750 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
5752 2000-06-20 Ulrich Drepper <drepper@redhat.com>
5754 * locale/programs/ld-collate.c (insert_value): Now take string and
5755 length instead of struct token* parameter. Adjust use of token.
5756 (handle_ellipsis): Likewise.
5757 (collate_read): Allow <Uxxxx> names and transform them into names
5758 to be passed to insert_value and handle_ellipsis.
5760 * locale/programs/ld-ctype.c (uninames): New array with names of
5761 digits in <Uxxxxxxxx> format.
5762 (ctype_finish): Correct search for space character value. Likewise
5763 for default outdigits values.
5765 2000-06-20 Greg McGary <greg@mcgary.org>
5767 * Makerules (objects): Add BP thunks.
5769 2000-06-20 Ulrich Drepper <drepper@redhat.com>
5771 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
5772 in width definitions.
5774 2000-06-20 Andreas Jaeger <aj@suse.de>
5776 * sysdeps/mips/fpu/libm-test-ulps: New file.
5778 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
5781 * sysdeps/mips/fpu/feholdexcpt.c: New file.
5783 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
5785 2000-06-19 Ulrich Drepper <drepper@redhat.com>
5787 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
5788 change in gconv_builtin.h.
5790 * malloc/Makefile: Change all references to memprof into memusage.
5791 * malloc/memprof.c: Rename to...
5792 * malloc/memusage.c: ...this. New file.
5793 * malloc/memprof.sh: Rename to...
5794 * malloc/memusage.sh: ...this. New file.
5795 * malloc/memprofstat.c: Rename to...
5796 * malloc/memusagestat.c: ...this. New file.
5797 * sysdeps/alpha/memprof.h: Rename to..
5798 * sysdeps/alpha/memusage.h: ...this. New file.
5799 * sysdeps/arm/memprof.h: Rename to..
5800 * sysdeps/arm/memusage.h: ...this. New file.
5801 * sysdeps/generic/memprof.h: Rename to..
5802 * sysdeps/generic/memusage.h: ...this. New file.
5803 * sysdeps/i386/memprof.h: Rename to..
5804 * sysdeps/i386/memusage.h: ...this. New file.
5805 * sysdeps/ia64/memprof.h: Rename to..
5806 * sysdeps/ia64/memusage.h: ...this. New file.
5807 * sysdeps/m68k/memprof.h: Rename to..
5808 * sysdeps/m68k/memusage.h: ...this. New file.
5809 * sysdeps/mips/memprof.h: Rename to..
5810 * sysdeps/mips/memusage.h: ...this. New file.
5811 * sysdeps/powerpc/memprof.h: Rename to..
5812 * sysdeps/powerpc/memusage.h: ...this. New file.
5813 * sysdeps/sparc/memprof.h: Rename to..
5814 * sysdeps/sparc/memusage.h: ...this. New file.
5815 * sysdeps/sh/memprof.h: Rename to..
5816 * sysdeps/sh/memusage.h: ...this. New file.
5818 * elf/sprof.c (print_version): Update year.
5820 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
5821 table entry values. Use D_PTR.
5822 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
5823 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
5825 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5827 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
5828 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
5829 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
5830 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
5832 2000-05-05 Jes Sorensen <jes@linuxcare.com>
5834 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
5836 2000-06-16 Jes Sorensen <jes@linuxcare.com>
5838 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
5839 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
5840 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
5842 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
5844 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
5847 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
5848 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
5850 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
5853 2000-06-15 Jes Sorensen <jes@linuxcare.com>
5855 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
5857 2000-06-08 Jes Sorensen <jes@linuxcare.com>
5859 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
5861 2000-06-19 Ulrich Drepper <drepper@redhat.com>
5863 * iconv/gconv_int.h (strict gconv_module): Remove all members
5864 associated with regular expressions. Use a simple string as the
5866 * iconv/gconv_db.c: Remove code handling regular expressions.
5867 * iconv/gconv_conf.c: Likewise.
5868 * iconv/iconv_prog.c: Likewise.
5869 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
5871 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
5872 General namespace cleanup.
5873 (struct __gconv_trans_data): Add next field.
5874 (struct __gconv_step_data): Make __trans a pointer.
5875 * iconv/gconv_conf.c: Split out code to find gconv directories from
5876 __gconv_read_conf in new functions.
5877 * iconv/gconv_int.h: Define new data structure and declare new
5878 functions for handling of gconv directory list.
5879 * iconv/gconv_open.c: Allow more than one error handling step being
5880 used. Call function to load error handling module if it is none
5881 of the builtin transformations.
5882 * iconv/gconv_close.c: Add code to free transliteration data.
5883 * iconv/gconv_trans.c: Add functions to load and unload modules
5884 implementing transliteration etc.
5885 * iconv/skeleton.c: Call all context functions now that more than
5886 one module is allowed.
5887 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
5888 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
5889 where the full error handling using transliteration is needed.
5890 * iconvdata/8bit-gap.c: Likewise.
5891 * iconvdata/8bit-generic.c: Likewise.
5892 * iconvdata/ansi_x3.110.c: Likewise.
5893 * iconvdata/big5.c: Likewise.
5894 * iconvdata/big5hkscs.c: Likewise.
5895 * iconvdata/euc-cn.c: Likewise.
5896 * iconvdata/euc-jp.c: Likewise.
5897 * iconvdata/euc-kr.c: Likewise.
5898 * iconvdata/euc-tw.c: Likewise.
5899 * iconvdata/gbgbk.c: Likewise.
5900 * iconvdata/gbk.c: Likewise.
5901 * iconvdata/iso-2022-cn.c: Likewise.
5902 * iconvdata/iso-2022-jp.c: Likewise.
5903 * iconvdata/iso-2022-kr.c: Likewise.
5904 * iconvdata/iso646.c: Likewise.
5905 * iconvdata/iso8859-1.c: Likewise.
5906 * iconvdata/iso_6937-2.c: Likewise.
5907 * iconvdata/iso_6937.c: Likewise.
5908 * iconvdata/johab.c: Likewise.
5909 * iconvdata/sjis.c: Likewise.
5910 * iconvdata/t.61.c: Likewise.
5911 * iconvdata/uhc.c: Likewise.
5912 * iconvdata/unicode.c: Likewise.
5913 * iconvdata/utf-16.c: Likewise.
5914 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
5915 structure correctly after last change.
5916 * wcsmbs/btowc.c: Likewise.
5917 * wcsmbs/mbrtowc.c: Likewise.
5918 * wcsmbs/mbsnrtowcs.c: Likewise.
5919 * wcsmbs/mbsrtowcs.c: Likewise.
5920 * wcsmbs/wcrtomb.c: Likewise.
5921 * wcsmbs/wcsnrtombs.c: Likewise.
5922 * wcsmbs/wcsrtombs.c: Likewise.
5923 * wcsmbs/wctob.c: Likewise.
5925 * localedata/Makefile: Set -Wno-format for some files since gcc does
5926 not know all the format specifiers.
5928 2000-06-18 Ulrich Drepper <drepper@redhat.com>
5930 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
5932 * locale/lc-time.c (_nl_init_era_entries): Likewise.
5934 2000-06-18 Andreas Jaeger <aj@suse.de>
5936 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
5937 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5939 2000-06-17 Ulrich Drepper <drepper@redhat.com>
5941 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
5943 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
5945 * locale/programs/ld-ctype.c (ctype_output): Really write out
5946 mboutdigits information.
5947 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
5948 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
5949 * localedata/tests/trans.def: Add outdigit information.
5951 * localedata/tst-mbswcs3.c: Remove comment.
5953 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
5954 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
5955 * libio/tst_wprintf.c (main): Add test for I flag.
5957 * iconv/gconv_trans.c: Implement handling if translit_ignore.
5958 * locale/langinfo.h: Add entries for translit_ignore information.
5959 * locale/categories.def: Add entries for new LC_CTYPE elements.
5960 * locale/C-ctype.c: Add initializers for new fields. Use NULL
5961 pointer instead of "" where possible.
5962 * locale/programs/ld-ctype.c: Write out translit_ignore information.
5963 * intl/Depend: Add localedata.
5964 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
5965 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
5967 2000-06-16 Ulrich Drepper <drepper@redhat.com>
5969 * locale/langinfo.h: Add entries for default_missing information.
5970 * locale/C-ctype.c: Add initializers for new fields.
5971 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
5973 * locale/categories.h: Add entries for all LC_CTYPE values.
5974 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
5977 * localedata/tst-trans.c: Write out an error message if class is
5980 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
5981 * iconv/gconv_open.c: Remove error handling specification from `from'
5983 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
5984 new parameter to always enable transliteration.
5985 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
5987 (struct locale_data): Add new members use_translit and options.
5988 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
5989 character set name contained modifier TRANSLIT.
5990 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
5992 (_nl_unload_locale): Free options string if necessary.
5993 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
5994 the locale names suggested this.
5995 * locale/C-address.c: Add two new initialilzers to adjust data
5996 structure for new format.
5997 * locale/C-collate.c: Likewise.
5998 * locale/C-ctype.c: Likewise.
5999 * locale/C-identification.c: Likewise.
6000 * locale/C-measurement.c: Likewise.
6001 * locale/C-messages.c: Likewise.
6002 * locale/C-monetary.c: Likewise.
6003 * locale/C-name.c: Likewise.
6004 * locale/C-numeric.c: Likewise.
6005 * locale/C-paper.c: Likewise.
6006 * locale/C-telephone.c: Likewise.
6007 * locale/C-time.c: Likewise.
6009 * locale/setlocale.c: Add some more __builtin_expect.
6011 2000-06-15 Ulrich Drepper <drepper@redhat.com>
6013 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
6015 (__gconv_init_fct): Remove two parameters.
6016 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
6017 gconv_transliterate. Remove two parameters.
6018 Change prototypes of builtin functions according to __gconv_fct change.
6019 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
6020 != NULL only during error handling. Stop in this case after the
6022 * iconv/gconv_trans.c: Replace with real implementation for
6023 __gconv_transliterate.
6024 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
6025 * iconv/gconv.c: Change calls to downstream functions once again.
6026 Use NULL for the fifth parameter instead of pointer to output buffer.
6027 * libio/iofwide.c: Likewise.
6028 * wcsmbs/btowc.c: Likewise.
6029 * wcsmbs/mbrtowc.c: Likewise.
6030 * wcsmbs/mbsnrtowcs.c: Likewise.
6031 * wcsmbs/mbsrtowcs.c: Likewise.
6032 * wcsmbs/wcrtomb.c: Likewise.
6033 * wcsmbs/wcsnrtombs.c: Likewise.
6034 * wcsmbs/wcsrtombs.c: Likewise.
6035 * wcsmbs/wctob.c: Likewise.
6036 * iconv/gconv_simple.c: Remove two parameters from error handling
6038 * iconvdata/8bit-gap.c: Likewise.
6039 * iconvdata/8bit-generic.c: Likewise.
6040 * iconvdata/ansi_x3.110.c: Likewise.
6041 * iconvdata/big5.c: Likewise.
6042 * iconvdata/big5hkscs.c: Likewise.
6043 * iconvdata/euc-cn.c: Likewise.
6044 * iconvdata/euc-jp.c: Likewise.
6045 * iconvdata/euc-kr.c: Likewise.
6046 * iconvdata/euc-tw.c: Likewise.
6047 * iconvdata/gbgbk.c: Likewise.
6048 * iconvdata/gbk.c: Likewise.
6049 * iconvdata/iso-2022-cn.c: Likewise.
6050 * iconvdata/iso-2022-jp.c: Likewise.
6051 * iconvdata/iso-2022-kr.c: Likewise.
6052 * iconvdata/iso646.c: Likewise.
6053 * iconvdata/iso8859-1.c: Likewise.
6054 * iconvdata/iso_6937-2.c: Likewise.
6055 * iconvdata/iso_6937.c: Likewise.
6056 * iconvdata/johab.c: Likewise.
6057 * iconvdata/sjis.c: Likewise.
6058 * iconvdata/t.61.c: Likewise.
6059 * iconvdata/uhc.c: Likewise.
6060 * iconvdata/unicode.c: Likewise.
6061 * iconvdata/utf-16.c: Likewise.
6063 2000-06-15 Greg McGary <greg@mcgary.org>
6065 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
6066 of callnum assignment. Tolerate callnum expressions containing
6069 2000-06-14 Ulrich Drepper <drepper@redhat.com>
6071 * login/Makefile (utmpd): Remove rule to build utmpd.
6073 * csu/Versions: Move libgcc frame handling functions from here...
6074 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
6075 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
6076 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
6077 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
6078 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
6079 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
6081 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
6083 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
6085 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
6087 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6089 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
6091 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
6092 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
6093 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
6094 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
6096 2000-06-14 Jakub Jelinek <jakub@redhat.com>
6098 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
6099 defined, terminate quotes and read them after the comment char.
6100 * configure.in (HAVE_SECTION_QUOTES): Test whether
6101 __attribute__((section ("x"))) puts quotes around x or not.
6102 * config.h.in (HAVE_SECTION_QUOTES): Add.
6103 * configure: Rebuilt.
6105 2000-06-14 Andreas Jaeger <aj@suse.de>
6107 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
6108 depending on the configure option --sysconfdir.
6109 Closes PR libc/1762.
6110 Patch by Andreas Schwab <schwab@suse.de>.
6112 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
6114 Reported by Jim Pick <jim@jimpick.com>.
6116 2000-06-14 Ulrich Drepper <drepper@redhat.com>
6118 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
6119 crashing the application. Emit some simple error message.
6120 Reported by mju@panasas.com [PR libc/1769].
6122 2000-06-13 Ulrich Drepper <drepper@redhat.com>
6124 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
6126 * crypt/Makefile (distribute): Add md5.h.
6128 * Makefile (distribute): Add include/shlib-compat.h.
6130 * Make-dist: Search for tests also in sysdeps hierachy.
6132 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
6133 ufc.c, speeds.c, README.ufc-crypt, and Banner.
6135 * sysdeps/sparc/Subdirs: New file.
6137 * locale/Makefile (distribute): Add weightwc.h and
6138 programs/localedef.h.
6140 * time/Makefile (distribute): Add datemsk.
6142 * sysdeps/ia64/Dist: Add softpipe.h.
6144 * sysdeps/unix/sysv/aix/Dist: New file.
6146 * posix/setpgrp.c: Moved to...
6147 * sysdeps/generic/setpgrp.c: ...here. New file.
6148 * io/mknod.c: Moved to...
6149 * sysdeps/generic/mknod.c: ...here. New file.
6151 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
6153 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
6155 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
6157 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
6158 gprsave0.S, gprrest1.S, and gprrest0.S.
6160 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
6162 * posix/Makefile (routines): Add spawnattr_getsigmask,
6163 spawnattr_getschedpolicy, spawnattr_getschedparam,
6164 spawnattr_setsigmask, spawnattr_setschedpolicy, and
6165 spawnattr_setschedparam.
6166 * posix/Versions: Add posix_spawnattr_getschedpolicy,
6167 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
6168 posix_spawnattr_setschedparam.
6170 * posix/spawnattr_setschedparam.c: Fix typo.
6172 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
6175 * login/programs/utmpd.c: Removed.
6176 * login/programs/utmpd.h: Removed.
6177 * login/programs/utmpd-private.h: Removed.
6179 * Makefile (distribute): Add include/db_185.h and include/db.h.
6181 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
6184 * elf/Makefile (distribute): Add missing files.
6186 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
6187 * elf/eval.c: Moved to...
6188 * dlfcn/eval.c: ...here. New file.
6190 * Makefile (distribute): Also distribute ChangeLog.1?.
6192 * Make-dist (+tsrcs): Remove .args handling here as well.
6194 * rt/Makefile (tests): Add tst-timer.
6195 * sysdeps/generic/tst-timer.c: New file.
6197 * Makerules (sources): Don't add BP sources here.
6199 * login/Makefile (distribute): Remove xtmp.h.
6201 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
6202 is true. Reported by Bruno Haible <haible@ilog.fr>.
6204 2000-06-13 Andreas Jaeger <aj@suse.de>
6206 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
6207 Patch by Ralf Baechle <ralf@gnu.org>.
6209 2000-06-13 Ulrich Drepper <drepper@redhat.com>
6211 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
6212 for mincore syscall.
6214 * misc/sys/cdefs.h: Define __bounded and __unbounded if
6215 __BOUNDED_POINTERS__ is not defined.
6217 2000-06-07 Greg McGary <greg@mcgary.org>
6219 * sysdeps/generic/bp-sym.h: New file.
6220 * sysdeps/generic/bp-start.h: New file.
6221 * sysdeps/i386/elf/start.S: Designate BP symbols.
6222 * sysdeps/generic/libc-start.c: Wrap bounds around
6223 argv & envp and each of their string members.
6225 2000-06-07 Greg McGary <greg@mcgary.org>
6227 * sysdeps/unix/make-syscalls.sh: Add comments to
6228 output that aid debugging & comprehension.
6229 Map simple syscall signatures to number of args.
6230 Generate BP syscall thunk definitions.
6231 * sysdeps/generic/bp-thunks.h: New file.
6232 * sysdeps/unix/syscalls.list: Replace arg-count with
6233 simple return+arg signature.
6234 * sysdeps/unix/common/syscalls.list: Likewise.
6235 * sysdeps/unix/inet/syscalls.list: Likewise.
6236 * sysdeps/unix/mman/syscalls.list: Likewise.
6237 * sysdeps/unix/sysv/syscalls.list: Likewise.
6238 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6239 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
6241 2000-06-07 Greg McGary <greg@mcgary.org>
6243 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
6244 for all files *.[cS].
6245 (CFLAGS-.ob): Don't optimize sibling calls.
6246 (bppfx): New variable.
6247 * Makerules (elide-bp-thunks): New variable.
6248 (elide-routines.*): Elide BP-* files for all but *.ob.
6249 (sources): Include bp-thunks.
6251 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6253 * iconv/gconv_simple.c: Remove unnecessary prototype.
6255 * iconv/gconv_trans.c: Pretty print.
6257 * elf/elf.h (R_SH_NUM): Got accidently dropped.
6259 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
6260 minimal kernel versions. Add information about IA-64 kernel.
6262 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
6263 specific minimal supported kernel versions to be specified.
6265 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
6266 step data structure.
6267 * wcsmbs/btowc.c: Likewise.
6268 * wcsmbs/mbrtowc.c: Likewise.
6269 * wcsmbs/mbsnrtowcs.c: Likewise.
6270 * wcsmbs/mbsrtowcs.c: Likewise.
6271 * wcsmbs/wcrtomb.c: Likewise.
6272 * wcsmbs/wcsnrtombs.c: Likewise.
6273 * wcsmbs/wcsrtombs.c: Likewise.
6274 * wcsmbs/wctob.c: Likewise.
6276 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
6277 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
6279 * shlib-versions: Earliest backward compatible version for SH is 2.2.
6281 * misc/sys/cdefs.h: Remove one more __P.
6283 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
6286 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
6287 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
6288 * sysdeps/sh/bits/setjmp.h: ...here. New file.
6290 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6291 Yutaka Niibe <gniibe@chroot.org>
6293 * configure.in: Add machine sh3, sh4.
6294 * elf/elf.h: Add SH specific declarations of relocations.
6295 * shlib-versions: Add sh*-*-linux* cases.
6297 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6299 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
6300 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
6301 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
6302 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
6303 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
6304 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
6306 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
6307 instead of KERNEL_MATH_EMULATION.
6308 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
6309 KERNEL_MATH_EMULATION.
6311 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
6312 * sysdeps/sh/sh3/dl-machine.h: Moved to...
6313 * sysdeps/sh/dl-machine.h: ...here. New file.
6314 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
6315 and include generic SH version.
6316 * sysdeps/sh/sh3/bits/endian.h: Move to...
6317 * sysdeps/sh/bits/endian.h: ...here. New file.
6318 * sysdeps/sh/sh4/bits/endian.h: Removed.
6319 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
6320 * sysdeps/sh/bits/huge_val.h: ...here. New file.
6321 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
6323 * include/libc-symbols.h (link_warning): Work around a change in
6324 GAS which warns about changing section attributes.
6325 Proposed by Nick Clifton <nickc@redhat.com>.
6327 2000-06-12 H.J. Lu <hjl@gnu.org>
6329 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
6331 2000-06-11 H.J. Lu <hjl@gnu.org>
6333 * sysdeps/i386/fpu/Versions: New file.
6335 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6337 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
6339 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
6342 2000-06-12 Jes Sorensen <jes@linuxcare.com>
6344 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
6345 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
6346 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
6348 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
6349 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
6350 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
6352 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6353 Yutaka Niibe <gniibe@chroot.org>
6355 * sysdeps/sh/Dist: New file.
6356 * sysdeps/sh/Implies: New file.
6357 * sysdeps/sh/elf/initfini.c: New file.
6358 * sysdeps/sh/gmp-mparam.h: New file.
6359 * sysdeps/sh/init-first.c: New file.
6360 * sysdeps/sh/machine-gmon.h: New file.
6361 * sysdeps/sh/memcpy.S: New file.
6362 * sysdeps/sh/memprof.h: New file.
6363 * sysdeps/sh/memset.S: New file.
6364 * sysdeps/sh/sh3/__longjmp.S: New file.
6365 * sysdeps/sh/sh3/bits/endian.h: New file.
6366 * sysdeps/sh/sh3/bits/huge_val.h: New file.
6367 * sysdeps/sh/sh3/bits/setjmp.h: New file.
6368 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
6369 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
6370 * sysdeps/sh/sh3/dl-machine.h: New file.
6371 * sysdeps/sh/sh3/setjmp.S: New file.
6372 * sysdeps/sh/sh4/__longjmp.S: New file.
6373 * sysdeps/sh/sh4/bits/endian.h: New file.
6374 * sysdeps/sh/sh4/bits/huge_val.h: New file.
6375 * sysdeps/sh/sh4/bits/setjmp.h: New file.
6376 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
6377 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
6378 * sysdeps/sh/sh4/dl-machine.h: New file.
6379 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
6380 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
6381 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
6382 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
6383 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
6384 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
6385 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
6386 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
6387 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
6388 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
6389 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
6390 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
6391 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
6392 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
6393 * sysdeps/sh/sh4/setjmp.S: New file.
6394 * sysdeps/sh/elf/start.S: New file.
6395 * sysdeps/sh/sys/ucontext.h: New file.
6396 * sysdeps/sh/strlen.S: New file.
6397 * sysdeps/sh/sysdep.h: New file.
6398 * sysdeps/unix/sh/sysdep.S: New file.
6399 * sysdeps/unix/sh/sysdep.h: New file.
6400 * sysdeps/unix/sysv/linux/sh/Dist: New file.
6401 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
6402 * sysdeps/unix/sysv/linux/sh/Versions: New file.
6403 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
6404 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
6405 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
6406 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
6407 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
6408 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
6409 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
6410 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
6411 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
6412 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
6413 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
6414 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
6415 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
6416 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
6417 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
6418 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
6419 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
6420 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
6421 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
6422 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
6423 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
6424 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
6425 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
6426 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
6427 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
6428 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
6429 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
6430 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
6431 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
6432 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
6433 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
6434 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
6435 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
6436 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
6437 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
6438 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
6439 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
6440 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
6441 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
6442 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
6443 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6444 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
6445 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
6446 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
6447 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
6448 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
6449 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
6451 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6453 * Rules (%.out): Define GCONV_PATH in the environment.
6454 * assert/Depend: New file.
6455 * iconvdata/Depend: New file.
6456 * intl/Depend: New file.
6457 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
6458 * intl/tst-gettext.sh: Likewise.
6459 * iconv/Makefile (routines): Add gconv_trans.
6460 * iconv/gconv_trans.c: New file.
6461 * iconv/gconv.h (struct __gconv_trans_data): New type.
6462 (__gconv_fct): New parameter with starting position in output buffer.
6463 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
6464 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
6465 (struct __gconv_step): Add new member __trans.
6466 * iconv/gconv_int.h: Pretty print prototypes.
6467 (gconv_transliterate): New prototype.
6468 (__BUILTIN_TRANS): Update for new conversion function interface.
6469 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
6470 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
6471 in names, find appropriate function, and install in the conversion
6472 steps it can be used.
6473 * iconv/skeleton.c: Add additional parameter for beginning of output
6474 buffer. Change calls of downstream functions.
6475 * iconv/loop.c: Change loop function interface completely. Pass in
6476 step and step_data structure. Remove optimization for BODY with
6477 NEED_LENGTH_TEST == 0.
6478 * iconv/gconv_simple.c: Update interfaces of functions. Insert
6479 appropriate error handling code to use transliteration steps. Remove
6480 optimization for BODY with NEED_LENGTH_TEST == 0.
6481 * iconvdata/8bit-gap.c: Likewise.
6482 * iconvdata/8bit-generic.c: Likewise.
6483 * iconvdata/ansi_x3.110.c: Likewise.
6484 * iconvdata/big5.c: Likewise.
6485 * iconvdata/big5hkscs.c: Likewise.
6486 * iconvdata/euc-cn.c: Likewise.
6487 * iconvdata/euc-jp.c: Likewise.
6488 * iconvdata/euc-kr.c: Likewise.
6489 * iconvdata/euc-tw.c: Likewise.
6490 * iconvdata/gbgbk.c: Likewise.
6491 * iconvdata/gbk.c: Likewise.
6492 * iconvdata/iso-2022-cn.c: Likewise.
6493 * iconvdata/iso-2022-jp.c: Likewise.
6494 * iconvdata/iso-2022-kr.c: Likewise.
6495 * iconvdata/iso646.c: Likewise.
6496 * iconvdata/iso8859-1.c: Likewise.
6497 * iconvdata/iso_6937-2.c: Likewise.
6498 * iconvdata/iso_6937.c: Likewise.
6499 * iconvdata/johab.c: Likewise.
6500 * iconvdata/sjis.c: Likewise.
6501 * iconvdata/t.61.c: Likewise.
6502 * iconvdata/uhc.c: Likewise.
6503 * iconvdata/unicode.c: Likewise.
6504 * iconvdata/utf-16.c: Likewise.
6505 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
6507 * wcsmbs/btowc.c: Likewise.
6508 * wcsmbs/mbrtowc.c: Likewise.
6509 * wcsmbs/mbsnrtowcs.c: Likewise.
6510 * wcsmbs/mbsrtowcs.c: Likewise.
6511 * wcsmbs/wcrtomb.c: Likewise.
6512 * wcsmbs/wcsnrtombs.c: Likewise.
6513 * wcsmbs/wcsrtombs.c: Likewise.
6514 * wcsmbs/wctob.c: Likewise.
6516 2000-04-11 Geoff Keating <geoffk@cygnus.com>
6518 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
6519 other header files. Mention about 128-byte cache line sizes.
6520 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
6521 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
6522 for current calling sequence.
6523 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
6525 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
6526 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6528 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
6529 and setrlimit syscalls for backwards compatibility.
6531 2000-06-10 Ulrich Drepper <drepper@redhat.com>
6533 * iconv/skeleton.c: Rename converted written to correcter name
6535 * iconv/gconv.c: Rename converted variable to correcter name
6537 * iconv/gconv_int.h: Likewise.
6538 * iconv/gconv_simple.c: Likewise.
6539 * iconv/iconv.c: Likewise.
6540 * iconv/loop.c: Likewise.
6541 * iconvdata/8bit-gap.c: Likewise.
6542 * iconvdata/8bit-generic.c: Likewise.
6543 * iconvdata/ansi_x3.110.c: Likewise.
6544 * iconvdata/big5.c: Likewise.
6545 * iconvdata/big5hkscs.c: Likewise.
6546 * iconvdata/euc-cn.c: Likewise.
6547 * iconvdata/euc-jp.c: Likewise.
6548 * iconvdata/euc-kr.c: Likewise.
6549 * iconvdata/gbgbk.c: Likewise.
6550 * iconvdata/gbk.c: Likewise.
6551 * iconvdata/iso-2022-cn.c: Likewise.
6552 * iconvdata/iso-2022-jp.c: Likewise.
6553 * iconvdata/iso-2022-kr.c: Likewise.
6554 * iconvdata/iso646.c: Likewise.
6555 * iconvdata/iso8859-1.c: Likewise.
6556 * iconvdata/iso_6937-2.c: Likewise.
6557 * iconvdata/iso_6937.c: Likewise.
6558 * iconvdata/johab.c: Likewise.
6559 * iconvdata/sjis.c: Likewise.
6560 * iconvdata/t.61.c: Likewise.
6561 * iconvdata/uhc.c: Likewise.
6562 * iconvdata/unicode.c: Likewise.
6563 * iconvdata/utf-16.c: Likewise.
6565 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
6566 __cmsg_data field with __extension__.
6568 2000-06-10 David Mosberger <davidm@hpl.hp.com>
6570 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
6572 2000-06-10 Ulrich Drepper <drepper@redhat.com>
6574 * iconv/gconv_simple.c: Fix various small bugs in several
6577 * iconv/loop.c: Fix comment.
6579 2000-06-10 Jakub Jelinek <jakub@redhat.com>
6581 * elf/link.h: Remove libc internal declarations.
6582 * include/link.h: Move them here.
6584 2000-06-09 Ulrich Drepper <drepper@redhat.com>
6586 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
6587 Patch by Dan Pop <Dan.Pop@cern.ch>.
6589 Rewrite error message handling.
6590 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
6592 * elf/dl-error (struct catch): Add objname member.
6593 (_dl_signal_error): Take new parameter with object name. When
6594 passing message on simply store object name and duplicate error
6596 (_dl_catch_error): Take new parameter. Store object name in the
6598 * include/dlfcn.h: Adjust _dl_catch_error prototype.
6599 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
6600 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
6601 (dlerror): Add objname to asprintf() parameters.
6602 (_dl_error_run): Pass new parameter to _dl_catch_error.
6603 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
6604 * elf/dl-open.c (_dl_open): Likewise.
6605 * elf/rtld.c (dl_main): Likewise.
6606 * elf/dl-close.c: Mark error messages with N_().
6607 * elf/dl-deps.c: Likewise.
6608 * elf/dl-error.c: Likewise.
6609 * elf/dl-load.c: Likewise.
6610 * elf/dl-open.c: Likewise.
6611 * elf/dl-reloc.c: Likewise.
6612 * elf/dl-support.c: Likewise.
6613 * elf/dl-sym.c: Likewise.
6614 * elf/dl-version.c: Likewise.
6615 * elf/dl-lookup.c: Add comments about problems with error message
6617 * elf/dl-reloc.c: Likewise.
6618 * elf/dl-version.c: Likewise.
6620 2000-06-09 H.J. Lu <hjl@gnu.org>
6622 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
6625 * dlfcn/Makefile (distribute): Add failtestmod.c.
6626 (tests): Add failtest.
6627 Add rules to build and run failtest.
6628 * dlfcn/failtest.c: New file.
6629 * dlfcn/failtestmod.c: New file.
6631 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
6633 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
6634 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
6635 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
6636 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
6637 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
6639 2000-06-09 Jes Sorensen <jes@linuxcare.com>
6641 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
6642 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
6644 2000-06-09 Jes Sorensen <jes@linuxcare.com>
6645 Ulrich Drepper <drepper@redhat.com>
6647 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
6648 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
6649 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
6650 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
6651 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
6652 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
6654 2000-06-09 Ulrich Drepper <drepper@redhat.com>
6656 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
6657 to find correct mount point despite wrong information from the
6660 2000-06-09 Jes Sorensen <jes@linuxcare.com>
6662 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
6663 the address of a symbol so function pointers are handled properly.
6665 2000-06-08 Ulrich Drepper <drepper@redhat.com>
6667 * sysdeps/i386/Dist: Add bp-asm.h.
6669 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
6670 defaultdir variable instead of "/var/shm" everywhere.
6671 (defaultdir): Change to /dev/shm/.
6673 2000-06-08 Greg McGary <greg@mcgary.org>
6675 * sysdeps/i386/bp-asm.h: New file.
6676 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
6677 offsets. Add ENTER/LEAVE macros for optionally maintaining
6678 frame-pointer chain when debugging.
6679 * sysdeps/i386/add_n.S: Likewise.
6680 * sysdeps/i386/addmul_1.S: Likewise.
6681 * sysdeps/i386/lshift.S: Likewise.
6682 * sysdeps/i386/memchr.S: Likewise.
6683 * sysdeps/i386/memcmp.S: Likewise.
6684 * sysdeps/i386/mul_1.S: Likewise.
6685 * sysdeps/i386/rawmemchr.S: Likewise.
6686 * sysdeps/i386/rshift.S: Likewise.
6687 * sysdeps/i386/stpcpy.S: Likewise.
6688 * sysdeps/i386/stpncpy.S: Likewise.
6689 * sysdeps/i386/strchr.S: Likewise.
6690 * sysdeps/i386/strchrnul.S: Likewise.
6691 * sysdeps/i386/strcspn.S: Likewise.
6692 * sysdeps/i386/strpbrk.S: Likewise.
6693 * sysdeps/i386/strrchr.S: Likewise.
6694 * sysdeps/i386/strspn.S: Likewise.
6695 * sysdeps/i386/strtok.S: Likewise.
6696 * sysdeps/i386/sub_n.S: Likewise.
6697 * sysdeps/i386/submul_1.S: Likewise.
6698 * sysdeps/i386/elf/setjmp.S: Likewise.
6699 * sysdeps/i386/i486/strcat.S: Likewise.
6700 * sysdeps/i386/i486/strlen.S: Likewise.
6701 * sysdeps/i386/i586/add_n.S: Likewise.
6702 * sysdeps/i386/i586/lshift.S: Likewise.
6703 * sysdeps/i386/i586/memcpy.S: Likewise.
6704 * sysdeps/i386/i586/memset.S: Likewise.
6705 * sysdeps/i386/i586/rshift.S: Likewise.
6706 * sysdeps/i386/i586/strchr.S: Likewise.
6707 * sysdeps/i386/i586/strcpy.S: Likewise.
6708 * sysdeps/i386/i586/strlen.S: Likewise.
6709 * sysdeps/i386/i586/sub_n.S: Likewise.
6710 * sysdeps/i386/i686/add_n.S: Likewise.
6711 * sysdeps/i386/i686/memcpy.S: Likewise.
6712 * sysdeps/i386/i686/mempcpy.S: Likewise.
6713 * sysdeps/i386/i686/memset.S: Likewise.
6714 * sysdeps/i386/i686/strcmp.S: Likewise.
6716 2000-06-08 Ulrich Drepper <drepper@redhat.com>
6718 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
6720 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
6721 256 and don't use OPEN_MAX.
6723 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
6724 use it instead of LINK_MAX.
6725 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
6727 2000-06-08 Andreas Jaeger <aj@suse.de>
6729 * libio/genops.c (_IO_list_lock): Only compile body if we're
6731 (_IO_list_unlock): Likewise.
6732 (_IO_list_resetlock): Likewise.
6734 2000-06-07 Ulrich Drepper <drepper@redhat.com>
6736 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
6737 unless user defined it.
6739 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
6740 if not defined by the user.
6742 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
6743 * libio/iofwrite.c (_IO_fwrite): Likewise.
6745 * time/time.h: Add missing __THROW for clock_getcpuclockid
6748 * elf/Makefile (distribute): Add dl-dtprocnum.h.
6749 * include/elf.h: Include also <dl-dtprocnum.h>.
6750 * elf/dl-deps.c: Likewise.
6751 * elf/dl-lookup.c: Likewise.
6752 * elf/dl-runtime.c: Likewise.
6753 * elf/dl-version.c: Likewise.
6754 * elf/do-rel.h: Likewise.
6755 * elf/dynamic-link.h: Likewise.
6756 * elf/link.h: Likewise.
6757 * elf/rtld.c: Likewise.
6758 * sysdeps/generic/dl-dtprocnum.h: New file.
6759 * sysdeps/ia64/dl-dtprocnum.h: New file.
6760 * sysdeps/mips/dl-dtprocnum.h: New file.
6761 * sysdeps/sparc/dl-dtprocnum.h: New file.
6763 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
6765 * elf/do-lookup.h: Add some __builtin_expect.
6767 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
6769 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
6770 (_dl_dynamic_weak): New variable.
6771 * elf/dl-support.c: Likewise.
6772 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
6773 * elf/do-lookup.h: If we find a weak definition treat it like a
6774 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
6775 case treat it like before.
6777 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
6779 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
6781 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
6782 using l_map_start and l_map_end.
6784 * elf/dl-version.c: Add __builtin_expect in many places.
6786 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
6789 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
6791 Lock for stdio stream list becomes global, for use in LinuxThreads.
6793 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
6794 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
6795 _IO_list_resetlock): New interface for iterating global list of
6796 streams without accessing the _IO_list_all global variable,
6797 and for manipulating the lock which protects this list.
6798 * libio/libioP.h: Likewise.
6799 * libio/Version: Add entries for the new functions.
6801 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
6802 pointer to _IO_FILE.
6804 2000-06-07 Ulrich Drepper <drepper@redhat.com>
6806 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
6807 BIT() must actually be BITw().
6809 * locale/programs/ld-ctype.c: Handle SP and space consistently.
6811 * locale/programs/charmap.c: Allow string arguments for
6812 code_set_name and repertoiremap.
6814 2000-06-07 Andreas Jaeger <aj@suse.de>
6816 * elf/Makefile: Build ldconfig only when building shared libraries.
6818 2000-06-07 Jakub Jelinek <jakub@redhat.com>
6820 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
6822 (fdimf, __fdim, fdim): Likewise.
6824 2000-06-07 Ulrich Drepper <drepper@redhat.com>
6826 * locale/findlocale.c: Add __builtin_expect in many places.
6827 * locale/loadlocale.c: Likewise.
6829 2000-06-06 Greg McGary <greg@mcgary.org>
6831 * sysdeps/mips/elf/start.S: Trim redundant code.
6833 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
6834 Use C comments throughout. Line up operands column with tabs.
6835 * sysdeps/powerpc/strchr.S: Likewise.
6836 * sysdeps/powerpc/strcmp.S: Likewise.
6837 * sysdeps/powerpc/strcpy.S: Likewise.
6838 * sysdeps/powerpc/strlen.S: Likewise.
6840 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
6841 Get low part of &__curbrk with @l.
6843 2000-06-06 Ulrich Drepper <drepper@redhat.com>
6845 * iconvdata/utf-16.c: Add __builtin_expect in many places.
6846 * iconvdata/unicode.c: Likewise.
6847 * iconvdata/uhc.c: Likewise.
6848 * iconvdata/t.61.c: Likewise.
6849 * iconvdata/sjis.c: Likewise.
6850 * iconvdata/johab.c: Likewise.
6851 * iconvdata/iso_6937.c: Likewise.
6852 * iconvdata/iso_6937-2.c: Likewise.
6853 * iconvdata/iso8859-1.c: Likewise.
6854 * iconvdata/iso646.c: Likewise.
6855 * iconvdata/iso-2022-kr.c: Likewise.
6856 * iconvdata/iso-2022-jp.c: Likewise.
6857 * iconvdata/iso-2022-cn.c: Likewise.
6858 * iconvdata/gbgbk.c: Likewise.
6859 * iconvdata/gbk.c: Likewise.
6860 * iconvdata/euc-kr.c: Likewise.
6861 * iconvdata/euc-jp.c: Likewise.
6862 * iconvdata/euc-cn.c: Likewise.
6864 2000-06-05 Ulrich Drepper <drepper@redhat.com>
6866 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
6867 * iconvdata/big5.c: Likewise.
6868 * iconvdata/ansi_x3.110.c: Likewise.
6869 * iconvdata/8bit-generic.c: Likewise.
6870 * iconvdata/8bit-gap.c: Likewise.
6871 * iconv/loop.c: Likewise.
6872 * iconv/gconv_db.c: Likewise.
6873 * iconv/gconv_dl.c: Likewise.
6874 * iconv/gconv_simple.c: Likewise.
6875 * iconv/skeleton.c: Likewise.
6877 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
6878 (struct __gconv_step_data): Rename __is_last to __flags.
6879 * iconv/gconv_close.c: Change all uses of __is_last.
6880 * iconv/skeleton.c: Likewise.
6881 * iconvdata/iso-2022-cn.c: Likewise.
6882 * iconvdata/iso-2022-jp.c: Likewise.
6883 * iconvdata/iso-2022-kr.c: Likewise.
6884 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
6885 Recognize IGNORE error handling, set flag, and remove from name.
6886 * iconv/loop.c (ignore_errors_p): Define.
6887 Add flags parameter to both functions.
6888 * iconv/skeleton.c: Pass flags to all conversion functions.
6889 * iconv/gconv_simple.c: Add flags parameter to all functions.
6890 Don't return error for invald error if ignore flag is set.
6891 (ucs4_internal_loop_single): Add missing pointer increment.
6892 (internal_ucs4le_loop_single): Likewise.
6893 * iconv/iconv_prog.c: Implement handling of -c parameter.
6894 * iconvdata/8bit-gap.c: Don't return error for invald error if
6896 * iconvdata/8bit-generic.c: Likewise.
6897 * iconvdata/ansi_x3.110.c: Likewise.
6898 * iconvdata/big5.c: Likewise.
6899 * iconvdata/big5hkscs.c: Likewise.
6900 * iconvdata/euc-cn.c: Likewise.
6901 * iconvdata/euc-jp.c: Likewise.
6902 * iconvdata/euc-kr.c: Likewise.
6903 * iconvdata/gbgbk.c: Likewise.
6904 * iconvdata/gbk.c: Likewise.
6905 * iconvdata/iso-2022-cn.c: Likewise.
6906 * iconvdata/iso-2022-jp.c: Likewise.
6907 * iconvdata/iso-2022-kr.c: Likewise.
6908 * iconvdata/iso646.c: Likewise.
6909 * iconvdata/iso8859-1.c: Likewise.
6910 * iconvdata/iso_6937-2.c: Likewise.
6911 * iconvdata/iso_6937.c: Likewise.
6912 * iconvdata/johab.c: Likewise.
6913 * iconvdata/sjis.c: Likewise.
6914 * iconvdata/t.61.c: Likewise.
6915 * iconvdata/uhc.c: Likewise.
6916 * iconvdata/unicode.c: Likewise.
6917 * iconvdata/utf-16.c: Likewise.
6918 * libio/fileops.c: Likewise.
6919 * libio/iofwide.c: Likewise.
6920 * wcsmbs/btowc.c: Likewise.
6921 * wcsmbs/mbrtowc.c: Likewise.
6922 * wcsmbs/mbsnrtowcs.c: Likewise.
6923 * wcsmbs/mbsrtowcs.c: Likewise.
6924 * wcsmbs/wcrtomb.c: Likewise.
6925 * wcsmbs/wcsnrtombs.c: Likewise.
6926 * wcsmbs/wcsrtombs.c: Likewise.
6927 * wcsmbs/wctob.c: Likewise.
6929 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
6932 2000-06-04 Ulrich Drepper <drepper@redhat.com>
6934 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
6935 counter for the object we are releasing, just decrement it.
6936 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
6938 2000-06-04 Jakub Jelinek <jakub@redhat.com>
6940 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
6943 2000-06-04 Ulrich Drepper <drepper@redhat.com>
6945 * iconvdata/big5hkscs.c: New file.
6946 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
6948 * iconvdata/gconv-modules: Add entry for new module.
6949 * iconvdata/Makefile (modules): Add BIG5HKSCS.
6950 (distribute): Add big5hkscs.c.
6952 2000-06-01 Jakub Jelinek <jakub@redhat.com>
6954 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
6955 inlines to match prototypes in mathcalls.h.
6956 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
6957 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
6958 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
6959 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6961 2000-06-03 Ulrich Drepper <drepper@redhat.com>
6963 * elf/elf.h (SHT_SUNW_move): Define.
6965 * elf/elf.h: Add more Solaris compatiblity definitions.
6967 2000-06-03 Andreas Jaeger <aj@suse.de>
6969 * sysdeps/powerpc/dl-start.S: Close open comment.
6971 2000-06-03 Jakub Jelinek <jakub@redhat.com>
6973 * inet/Versions: Fix typo in rresvport_af export.
6975 2000-06-02 Ulrich Drepper <drepper@redhat.com>
6977 * math/tgmath.h: Pretty print.
6979 2000-06-02 Andreas Jaeger <aj@suse.de>
6981 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
6982 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
6984 2000-06-02 Ulrich Drepper <drepper@redhat.com>
6986 * elf/rtld.c (process_envvars): Test for = after variable name.
6988 2000-06-01 Ulrich Drepper <drepper@redhat.com>
6990 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
6991 have extra call to __gmon_start__, use the pointer we already have.
6993 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
6996 * sysdeps/i386/elf/setjmp.S: Work around change is recent
6997 binutils. gas now emits a jump through the PLT instead of a
6998 relative jump if the jump target is an exported symbol.
7000 2000-05-31 Ulrich Drepper <drepper@redhat.com>
7002 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
7004 2000-05-31 Andreas Jaeger <aj@suse.de>
7006 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
7009 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
7010 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7012 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
7014 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
7016 2000-05-30 Ulrich Drepper <drepper@redhat.com>
7018 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
7020 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
7021 * locale/localeconv.c: Make function versioned (with same definition).
7023 * elf/Makefile (modules-names): Strip before using it.
7025 2000-05-30 Andreas Jaeger <aj@suse.de>
7027 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
7028 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
7029 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
7030 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
7031 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
7032 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
7034 2000-05-29 Ulrich Drepper <drepper@redhat.com>
7036 * Makefile: Add GNU make magic.
7038 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
7040 * inet/rcmd.c: Remove __P. Remove unused variables.
7041 (iruserfopen): Make first parameter const.
7042 (ruserok_sa): Return result of ruserok2_sa.
7043 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
7044 * inet/rexec.c: Remove unused variables. Other small cleanups.
7045 * inet/ruserpass.c: Remove __P. Remove unused variables.
7046 (ruserpass): Check results of memory allocation.
7047 * include/netdb.h: Add prototype for ruserpass.
7049 2000-05-29 Andreas Jaeger <aj@suse.de>
7051 * elf/readlib.c (interpreters): Use LD_SO since this is supported
7054 2000-05-29 Jakub Jelinek <jakub@redhat.com>
7056 * inet/rcmd.c (rresvport_af): Use correct port number.
7058 2000-05-26 Andreas Schwab <schwab@suse.de>
7060 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
7061 entries in all-sonames.
7062 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
7063 preserving the old name if different for compatibility.
7065 2000-05-29 Ulrich Drepper <drepper@redhat.com>
7067 * posix/Makefile (tests): Add tst-spawn.
7068 (tst-spawn-ARGS): New variable.
7069 * posix/tst-spawn.c: New file.
7071 * posix/spawn_faction_addclose.c: Correctly account for new entry.
7072 * posix/spawn_faction_adddup2.c: Likewise.
7073 * posix/spawn_faction_addopen.c: Likewise.
7074 * posix/spawni.c: Correctly test for success of dup2 calls.
7076 * posix/tst-preadwrite.c: Check success of malloc call.
7078 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7080 * posix/Makefile (tests): Add tst-exec.
7081 (tst-exec-ARGS): New variable.
7082 * posix/tst-exec.c: New file.
7084 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
7086 2000-05-04 Andreas Jaeger <aj@suse.de>
7088 * string/string.h: Remove __strdup prototype, it's not needed in
7091 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7093 * posix/Makefile (tests): Add tst-fork.
7094 * posix/tst-fork.c: New file.
7096 * resolv/inet_pton.c: Loose __P.
7098 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7100 * libio/libioP.h (_IO_CHECK_WIDE): Define.
7101 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
7102 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
7103 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
7104 _IO_CHECK_WIDE fails.
7106 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7108 * po/da.po: New file.
7110 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
7111 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
7113 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
7114 (Other iconv Implementations): Fix typo.
7115 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
7117 2000-05-27 Andreas Jaeger <aj@suse.de>
7119 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
7121 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
7122 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
7123 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7124 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7125 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
7126 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
7128 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
7129 endianness to decide how to pass arguments.
7130 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7132 * elf/vismain.c: Use test-skeleton interface.
7133 (TEST_FUNCTION): New macro.
7134 (do_test): Renamed from main.
7136 2000-05-27 Ulrich Drepper <drepper@redhat.com>
7138 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
7139 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
7141 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
7142 handling of AI_V4MAPPED flag.
7144 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
7145 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
7146 perform lookup for T_A type and tell getanswer_r to convert the
7147 result with new argument.
7148 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
7149 Don't convert addresses from IPv4 to IPv6 here.
7150 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
7151 IPv6 is wanted. Allow qtype and type from reply to disagree if
7152 IPv4 mapping has to be done. Perform mappings if required by the
7153 caller and not if RES_USE_INET6 bit in _res.options is set.
7154 Add several __builtin_expect.
7156 2000-05-26 Ulrich Drepper <drepper@redhat.com>
7158 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
7160 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
7163 * posix/tst-preadwrite.c: Allow parallel execution of
7164 tst-preadwrite and tst-preadwrite64.
7166 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
7167 * posix/tst-truncate.c: New file.
7168 * posix/tst-truncate64.c: New file.
7170 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
7173 * posix/Makefile (tests): Add tst-preadwrite64.
7174 * posix/tst-preadwrite.c: Alloc file being used also for testing
7175 pread64 and pwrite64.
7176 * posix/tst-preadwrite64.c: New file.
7178 2000-05-26 Andreas Jaeger <aj@suse.de>
7180 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
7181 of arguments dependend on endianness.
7182 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
7184 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
7186 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
7187 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
7188 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7189 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7191 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
7192 endianness to check how to pass argument.
7193 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7195 * elf/ldconfig.h: Update parameter list for process_elf_file.
7197 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
7198 Add parameter file_length and pass it ot process_elf*file.
7200 * sysdeps/generic/readelflib.c (check_ptr): New.
7201 (process_elf_file): Use check_ptr to check all accesses to the
7202 mmapped file. Add parameter file_length.
7204 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
7207 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
7208 Closes PR libc/1573, reported by Bradley White
7209 <bww@laurelnetworks.com>.
7211 2000-05-25 Ulrich Drepper <drepper@redhat.com>
7213 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
7214 __FAST_MATH__ is defined.
7216 2000-05-22 Andreas Jaeger <aj@suse.de>
7218 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
7219 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
7221 * manual/math.texi (FP Function Optimizations): Document gcc
7222 -ffast-math behaviour with mathinlines.
7224 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
7225 functions unless -ffast-math is given to gcc.
7227 2000-05-23 Jakub Jelinek <jakub@redhat.com>
7229 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
7230 __sincosl): Guard with __USE_GNU.
7232 2000-05-24 Ulrich Drepper <drepper@redhat.com>
7234 * csu/Makefile (routines): Add check_fds.
7235 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
7236 binaries. Add various __builtin_expect.
7237 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
7238 * sysdeps/generic/check_fds.c: ...here. New file.
7240 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
7241 binaries if file /etc/suid-debug is available.
7243 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
7244 and wcseqorder members.
7245 (struct locale_collate_t): Likewise.
7246 (collate_finish): Assign collation sequence value to each character.
7247 Create tables for output.
7248 (collate_output): Write out tables with collation sequence information.
7249 * locale/C-collate.c: Provide C locale data for collation sequence
7251 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
7252 _NL_COLLATE_COLLSEQWC.
7253 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
7254 _NL_COLLATE_COLLSEQWC.
7255 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
7256 include fnmatch_loop.c.
7257 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
7258 character is matched by range expression. Use collation sequence
7259 table. Outside glibc fall back on simple character value comparison.
7261 2000-05-24 Andreas Jaeger <aj@suse.de>
7263 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
7266 * intl/Makefile: Run gettext-test only if msgfmt is available.
7268 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
7269 Define it for newer kernels.
7271 2000-05-23 Ulrich Drepper <drepper@redhat.com>
7273 * elf/dl-sym.c: Minor cleanups.
7275 * configure.in: Add test for .protected.
7276 * config.make.in: Add have-protected variable.
7277 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
7278 (tests-vis-yes): Add vismain.
7279 (modules-names): Add $(modules-vis-$(have-protected)).
7280 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
7281 Add rules to generate and run vismain.
7282 * elf/vismain.c: New file.
7283 * elf/vismod1.c: New file.
7284 * elf/vismod2.c: New file.
7285 * elf/vismod3.c: New file.
7287 2000-05-23 Andreas Jaeger <aj@suse.de>
7289 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
7291 * manual/search.texi (Array Sort Function): Document that qsort is
7292 not necessarily in-place.
7294 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
7295 Closes PR libc/1731.
7297 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
7298 * dirent/scandir64.c: Likewise.
7299 * pwd/getpw.c: Likewise.
7300 * stdlib/bsearch.c (bsearch): Likewise.
7301 * stdlib/tst-strtoll.c: Likewise.
7302 * localedata/collate-test.c: Likewise.
7303 * localedata/xfrm-test.c: Likewise.
7304 * posix/bsd-getpgrp.c: Likewise.
7305 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
7306 * sysdeps/generic/bits/siginfo.h: Likewise.
7307 * sysdeps/generic/bits/sockaddr.h: Likewise.
7308 * sysdeps/generic/sys/swap.h: Likewise.
7309 * sysdeps/generic/sys/sysinfo.h: Likewise.
7310 * sysdeps/generic/vfork.c: Likewise.
7311 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
7312 * sysdeps/mach/hurd/fdopen.c: Likewise.
7313 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
7314 * sysdeps/unix/sysv/linux/poll.c: Likewise.
7315 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7316 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7317 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7318 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7319 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
7321 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
7322 * shadow/lckpwdf.c: Likewise.
7323 * stdlib/tst-strtol.c: Likewise.
7324 * sysdeps/generic/tcsetattr.c: Likewise.
7325 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7326 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7328 2000-05-22 Jakub Jelinek <jakub@redhat.com>
7330 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
7331 free it and set to (void *) -1.
7333 2000-05-22 Jakub Jelinek <jakub@redhat.com>
7335 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
7336 not the second character in the range.
7337 * stdio-common/tstscanf.c (main): Add testcase for the above.
7338 Reported by jik@kamens.brookline.ma.us.
7340 2000-05-21 H.J. Lu <hjl@gnu.org>
7342 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
7343 with noexec and noplt parameter.
7344 (do_lookup): Likewise.
7346 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
7347 do_lookup. Support STV_PROTECTED.
7348 (_dl_lookup_symbol_skip): Likewise.
7349 (_dl_lookup_versioned_symbol): Likewise.
7350 (_dl_lookup_versioned_symbol_skip): Likewise.
7352 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
7354 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
7356 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7358 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
7359 * sysdeps/i386/bits/huge_val.h: Likewise.
7360 * sysdeps/ieee754/bits/huge_val.h: Likewise.
7361 * sysdeps/m68k/bits/huge_val.h: Likewise.
7362 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
7363 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
7365 2000-05-22 Andreas Jaeger <aj@suse.de>
7367 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
7370 2000-05-19 Andreas Jaeger <aj@suse.de>
7372 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
7373 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
7374 breaks compilation without linuxthreads.
7376 2000-05-21 Ulrich Drepper <drepper@redhat.com>
7378 * sysdeps/ia64/memccpy.S: New file.
7379 * sysdeps/ia64/memchr.S: New file.
7380 * sysdeps/ia64/memcmp.S: New file.
7381 * sysdeps/ia64/memcpy.S: New file.
7382 * sysdeps/ia64/memmove.S: New file.
7383 * sysdeps/ia64/memset.S: New file.
7384 * sysdeps/ia64/strcat.S: New file.
7385 * sysdeps/ia64/strchr.S: New file.
7386 * sysdeps/ia64/strcmp.S: New file.
7387 * sysdeps/ia64/strcpy.S: New file.
7388 * sysdeps/ia64/strlen.S: New file.
7389 * sysdeps/ia64/strncmp.S: New file.
7390 * sysdeps/ia64/strncpy.S: New file.
7391 * sysdeps/ia64/softpipe.h: New file.
7392 Patches by Dan Pop <Dan.Pop@cern.ch>.
7394 * manual/memory.texi: Document memory handling functions (mlock,
7395 munlock, mlockall, munlockall, brk, and sbrk)
7396 * manual/time.texi: Document timespec and friends.
7397 * manual/conf.texi: Fix references.
7398 * manual/ctype.texi: Likewise.
7399 * manual/errno.texi: Likewise.
7400 * manual/intro.texi: Likewise.
7401 * manual/locale.texi: Likewise.
7402 * manual/sysinfo.texi: Likewise.
7403 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
7405 2000-05-09 Jes Sorensen <jes@linuxcare.com>
7407 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
7408 * sysdeps/ia64/dl-lookupcfg.h: ...here.
7410 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7412 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
7415 2000-05-21 Ulrich Drepper <drepper@redhat.com>
7417 * locale/locale.h (struct lconv): Add new elements from ISO C99.
7418 * locale/localeconv.c: Initialize new elements from ISO C99.
7419 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
7420 new standard elements.
7421 * locale/categories.def: Adjust accordingly.
7423 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
7424 * iconv/iconv.c: Likewise.
7425 * conform/data/iconv.h-data: Likewise.
7426 * iconv/iconv_prog.c (process_block): Remove const from second
7428 (main): Remove const from addr definition.
7429 * manual/charset.texi (Generic Conversion Interface): Remove from
7430 inbuf parameter of iconv.
7432 * intl/dcigettext.c: Fix typo in comment.
7434 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
7436 * resolv/res_libc.c (_res): Initialize _sock to -1.
7438 2000-05-18 Jakub Jelinek <jakub@redhat.com>
7440 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
7441 (fopencookie@@GLIBC_2.2): New.
7442 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
7443 (fopencookie@GLIBC_2.0): New.
7444 * libio/Versions: Add fopencookie to GLIBC_2.2.
7446 2000-05-18 Andreas Jaeger <aj@suse.de>
7448 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
7449 Closes PR libc/1731.
7451 * manual/arith.texi (Parsing of Integers): Fix typo.
7452 Closes PR libc/1744, reported by blp@gnu.org.
7454 2000-05-17 Jakub Jelinek <jakub@redhat.com>
7456 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
7457 __extension__ to hexadecimal floating constant notation.
7458 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
7460 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
7461 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
7463 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
7464 HUGE_VALL): Likewise.
7465 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
7466 HUGE_VALL): Likewise.
7467 (HUGE_VALL): Set to HUGE_VAL on sparc32.
7469 2000-05-17 Andreas Jaeger <aj@suse.de>
7471 * string/envz.h: Add pure attributes if possible.
7473 * string/argz.h: argz_count is a pure function.
7475 * string/strings.h: Add pure and const attributes if possible.
7477 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
7478 possibly searching through the whole memory.
7479 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
7481 2000-05-17 Jakub Jelinek <jakub@redhat.com>
7483 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
7485 (_dl_cache_check_flags): Likewise.
7486 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
7489 2000-05-17 Andreas Jaeger <aj@suse.de>
7491 * manual/creature.texi (Feature Test Macros): Remove paragraph
7492 since the description is wrong.
7493 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
7495 * scripts/config.sub: New version.
7496 * scripts/config.guess: Likewise.
7497 * manual/texinfo.tex: Likewise.
7499 * time/test_time.args: Removed.
7500 * time/Makefile (test_time-ARGS): Added contents here instead.
7502 * posix/tstgetopt.args: Removed.
7503 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
7505 * Rules: Allow arguments for test files to be specified in
7506 Makefile with testname-ARGS; remove rules with .args in it.
7508 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
7509 remove old bogus rule for opendir-tst1.args.
7511 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
7513 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
7514 into objdir. This allows a readonly sourcetree.
7515 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
7517 2000-05-16 Andreas Jaeger <aj@suse.de>,
7518 David Huggins-Daines <dhd@linuxcare.com>
7520 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
7521 cache_data in case of only new cache format correctly.
7523 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
7526 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
7527 struct cache_file_new.
7529 * elf/cache.c (save_cache): Fix str_offset if only new cache is
7532 * elf/cache.c (save_cache): Align struct new_file_cache.
7533 (print_cache): Likewise.
7535 2000-05-13 Jakub Jelinek <jakub@redhat.com>
7537 * elf/soinit.c (__libc_global_ctors): Move
7538 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
7539 * resolv/resolv.h (__res_state): Added __attribute__((const)).
7540 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
7541 variable, don't define it to __res_state call.
7543 2000-05-13 Andreas Jaeger <aj@suse.de>
7545 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
7547 (AF_PPPOX): Likewise.
7548 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
7549 (AF_PPPOX): Likewise.
7551 2000-05-12 Andreas Jaeger <aj@suse.de>
7553 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
7554 Reported by tmoestl@gmx.net, closes PR libc/1732.
7556 2000-05-11 Jan Hubicka <jh@suse.cz>
7558 * misc/sys/cdefs.h: Add support for pure attribute.
7560 * include/string.h: Add __attribute_pure__ to various functions.
7561 * string/string.h: Likewise.
7563 2000-05-10 Jakub Jelinek <jakub@redhat.com>
7565 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
7567 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7569 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
7571 2000-05-10 Jakub Jelinek <jakub@redhat.com>
7573 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
7574 at proper place. Compute the high nibble correctly.
7576 2000-05-09 Jakub Jelinek <jakub@redhat.com>
7578 * elf/ldconfig.c: Include elf.h.
7580 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
7581 (_dl_vsym): Likewise.
7582 Reported by Owen Taylor <otaylor@redhat.com>.
7584 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
7587 2000-05-08 Andreas Jaeger <aj@suse.de>
7589 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
7591 * intl/bindtextdom.c (set_binding_values): Add prototype.
7593 2000-05-08 Jakub Jelinek <jakub@redhat.com>
7595 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
7596 call to elf_machine_fixup_plt.
7597 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7598 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7600 2000-05-08 Jakub Jelinek <jakub@redhat.com>
7602 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
7603 they are not dlclose'd from underneath us.
7605 2000-05-08 Andreas Schwab <schwab@suse.de>
7607 * posix/execle.c: Fix size parameter of memcpy.
7609 2000-05-08 Andreas Schwab <schwab@suse.de>
7611 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
7612 getpagesize syscall if available.
7614 2000-05-08 Andreas Jaeger <aj@suse.de>
7616 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
7619 2000-05-08 Jakub Jelinek <jakub@redhat.com>
7621 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
7622 sizeof(struct link_map *) chunks, not in bytes.
7624 2000-05-07 Ulrich Drepper <drepper@redhat.com>
7626 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
7627 only needed for locale.
7628 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
7629 It's only needed for catgets.
7630 Patches by Greg McGary <gkm@eng.ascend.com>.
7632 2000-05-07 Mark Kettenis <kettenis@gnu.org>
7634 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
7635 Remove duplicate <errno.h> include. Remove inclusion of
7636 <libintl.h> and "nsswitch.h".
7637 (set_cloexec_flag): New function, broken out of dbopen.
7638 (dbopen): Changed return type to `enum
7639 nss_status'. Mostly rewritten to make sure that we do not report
7640 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
7641 (internal_setent): Change return type to nss_status.
7642 Document, and make sure that the function
7643 behaves accordingly. Make dynamically loading the database
7644 library really thread-safe and return NSS_STATUS_UNAVAIL if it
7646 (db_cursor): Return ENOMEM is memory allocation failed. Remove
7648 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
7650 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
7651 c_get function member.
7652 * nss/nss_db/nss_db.h: Add and tweak some comments.
7653 (DBT): Move typedef before NSS_DBC typedef.
7654 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
7656 2000-05-07 H.J. Lu <hjl@gnu.org>
7658 * csu/initfini.c: Moved to ....
7659 * sysdeps/generic/initfini.c: ...here.
7661 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
7663 2000-05-07 Ulrich Drepper <drepper@redhat.com>
7665 * manual/resource.texi: Document POSIX scheduling functions.
7666 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7668 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
7669 reading anything. Reported by Andries.Brouwer@cwi.nl.
7671 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
7672 for x since promotion in comparison might leads to unexpected
7673 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
7675 * iconv/Makefile (tests): Add tst-iconv1.
7676 * iconv/tst-iconv1.c: New file.
7677 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
7678 empty input buffer over full output buffer.
7679 (ucs4_internal_loop): Likewise.
7680 (ucs4_internal_loop_unaligned): Likewise.
7681 (internal_ucs4le_loop): Likewise.
7682 (internal_ucs4le_loop_unaligned): Likewise.
7683 (ucs4le_internal_loop): Likewise.
7684 (ucs4le_internal_loop_unaligned): Likewise.
7685 Reported by yaoz@nih.gov.
7687 2000-05-06 Bruno Haible <haible@clisp.cons.org>
7689 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
7690 returned != __GCONV_OK, there is nothing to clean up.
7692 2000-05-06 Bruno Haible <haible@clisp.cons.org>
7694 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
7695 OUTPUT_CHARSET environment variables.
7697 2000-05-06 Andreas Jaeger <aj@suse.de>
7699 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
7700 (struct cache_file_new): New.
7701 (struct file_entry): New (moved from cache.c).
7702 (struct cache_file): New (moved from cache.c).
7704 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
7705 from _dl_load_cache_lookup.
7706 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
7707 the different cache formats.
7708 New variable cache_new for new format.
7710 * elf/ldconfig.h: Change according to changes in cache.c and
7711 ldconfig.c; remove cache_libcmp; add opt_format.
7713 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
7714 stuff that's defined in those headers.
7715 Add hwcap to struct lib_entry.
7716 (opt_format): New variable to select cache format.
7717 (options): Add format parameter.
7718 (is_hwcap): New function.
7719 (path_hwcap): New function.
7720 (parse_opt): Handle new format parameter.
7721 (search_dir): Handle hwcap, search also subdirectories with hwcap.
7723 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
7724 ldconfig is part of glibc.
7725 Include dl-cache.h and remove stuff that's defined there.
7726 (struct cache_entry): Add new member hwcap.
7727 (print_entry): Print hwcap, cleanup a bit.
7728 (print_cache): Print new and old formats.
7729 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
7730 (save_cache): Save new and old formats.
7731 (add_to_cache): Handle hwcap.
7733 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
7734 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
7735 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
7736 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
7737 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
7738 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
7740 2000-05-05 Bruno Haible <haible@clisp.cons.org>
7742 * intl/dcigettext.c (alignof): New macro.
7743 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
7744 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
7747 2000-05-05 Bruno Haible <haible@clisp.cons.org>
7749 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
7752 2000-05-06 Ulrich Drepper <drepper@redhat.com>
7754 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
7755 (mempcpy): Correct typo is parameter list.
7757 2000-05-06 Andreas Jaeger <aj@suse.de>
7759 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
7760 functions unless -ffast-math is given to gcc.
7762 2000-05-06 Ulrich Drepper <drepper@redhat.com>
7764 * po/ko.po: Update from translation team.
7766 2000-05-05 Ulrich Drepper <drepper@redhat.com>
7768 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
7769 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
7770 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
7771 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
7772 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
7773 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
7775 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
7776 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
7777 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
7779 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
7780 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
7781 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
7782 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
7784 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
7785 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
7787 2000-05-05 Jes Sorensen <jes@linuxcare.com>
7789 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
7790 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
7792 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
7793 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
7795 * sysdeps/ia64/Implies: New file.
7796 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
7797 * sysdeps/ia64/Makefile: New file.
7798 * sysdeps/ia64/gmp-mparam.h: New file,
7800 * sysdeps/ia64/elf/start.S: New file.
7802 * sysdeps/ia64/bits/fenv.h: New file.
7804 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
7806 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
7808 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
7810 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
7811 ia64 has 64 bit .hash entries just as the Alpha.
7813 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
7815 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
7817 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
7819 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
7820 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
7821 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
7822 * sysdeps/ia64/fpu/fegetenv.c: New file.
7823 * sysdeps/ia64/fpu/fegetexcept.c: New file.
7824 * sysdeps/ia64/fpu/fegetround.c: New file.
7825 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
7826 * sysdeps/ia64/fpu/fesetenv.c: New file.
7827 * sysdeps/ia64/fpu/fesetround.c: New file.
7828 * sysdeps/ia64/fpu/feupdateenv.c: New file.
7829 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
7830 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
7831 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
7832 * sysdeps/ia64/fpu/ftestexcept.c: New file.
7834 2000-05-05 Andreas Jaeger <aj@suse.de>
7836 * misc/tst-tsearch.c (main): Correct type for initstate argument.
7838 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
7839 (_dl_string_hwcap): New, does nothing.
7841 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
7842 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7843 (_dl_string_hwcap): New function, converts from string to hwcap
7845 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
7846 (_DL_HWCAP_COUNT): New.
7847 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7848 (_dl_string_hwcap): New function, converts from string to hwcap
7850 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
7851 (_DL_HWCAP_COUNT): New.
7852 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7853 (_dl_string_hwcap): New function, converts from string to hwcap
7856 2000-05-05 Ulrich Drepper <drepper@redhat.com>
7858 * elf/Makefile (distribute): Add dl-lookupcfg.h.
7859 * sysdeps/ia64/Dist: New file.
7861 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
7862 parameter to mprotect and for variable assignments.
7864 2000-05-03 Jes Sorensen <jes@linuxcare.com>
7866 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
7867 validity of map before dereferencing it.
7869 * elf/dl-reloc.c (RESOLVE_MAP): Define.
7871 2000-05-02 Jes Sorensen <jes@linuxcare.com>
7873 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
7874 lookup to the arguments to elf_machine_fixup_plt().
7876 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
7877 of the symbol being resolved to input argument list and make the
7878 function return the pointer to the reloc.
7880 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
7881 return valuie to lookup_t and return the value.
7882 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
7883 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
7884 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
7885 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
7886 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
7887 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
7889 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
7890 Make it an inline function returning value after calling
7891 __elf_machine_fixup_plt().
7893 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
7896 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
7897 obtain the symbol address.
7899 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
7900 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
7902 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
7903 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
7906 2000-04-28 Jes Sorensen <jes@linuxcare.com>
7908 * elf/dl-runtime.c (fixup): Use the portable macros to get the
7909 symbol address of an object.
7911 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
7912 the symbol address of an object.
7914 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
7915 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
7916 (_dl_lookup_symbol_skip): Likewise.
7917 (_dl_lookup_versioned_symbol): Likewise.
7918 (_dl_lookup_versioned_symbol_skip): Likewise.
7920 2000-04-27 Jes Sorensen <jes@linuxcare.com>
7922 * elf/rtld.c (_dl_start): Get the function pointer return address
7923 via _dl_start_address for architectures that need a function
7924 pointer descriptor rather than just a pointer (ia64).
7926 * sysdeps/generic/dl-lookupcfg.h: New file.
7927 * sysdeps/ia64/dl-lookupcfg.h: New file.
7928 * sysdeps/ia64/dl-machine.h: New file.
7929 * sysdeps/ia64/dl-symaddr.c: New file.
7930 * sysdeps/ia64/dl-fptr.c: New file.
7932 * elf/elf.h: Add IA-64 specific definitions.
7934 2000-05-04 Jakub Jelinek <jakub@redhat.com>
7936 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
7939 2000-05-04 Jakub Jelinek <jakub@redhat.com>
7941 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
7944 2000-04-11 Geoff Keating <geoffk@cygnus.com>
7946 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
7947 symbol. Call _dl_init rather than the old way.
7949 2000-05-04 Ulrich Drepper <drepper@redhat.com>
7951 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
7952 test for pointer in range of DSO address space.
7954 2000-05-04 Andreas Jaeger <aj@suse.de>
7956 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
7958 2000-05-03 Ulrich Drepper <drepper@redhat.com>
7960 * locale/findlocale.c (_nl_find_locale): Add new parameter to
7961 calls of _nl_make_l10nflist.
7963 * libio/stdio.h: Make fseeko and ftello prototypes available is
7964 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
7966 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
7967 real unsetenv implementation from 1999-07-29 [PR libc/1714].
7969 2000-05-03 Bruno Haible <haible@clisp.cons.org>
7971 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
7972 before calling tfind.
7974 2000-03-05 Jakub Jelinek <jakub@redhat.com>
7976 * resolv/resolv.h (res_querydomain): Remove redefinition to
7977 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
7979 2000-05-03 Ulrich Drepper <drepper@redhat.com>
7981 * po/gl.po: Update from translation team.
7983 * manual/intro.texi (Program Basics): Change section title.
7984 * manual/process.texi: Fix reference.
7985 (Executing a File): Add reference exec in other section.
7986 * manual/signal.texi: Fix reference.
7987 * manual/startup.texi: Document syscall function.
7988 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
7990 2000-04-29 Bruno Haible <haible@clisp.cons.org>
7992 * intl/libintl.h (bind_textdomain_codeset): New declaration.
7993 * intl/bindtextdom.c (set_binding_values): New function.
7994 (bindtextdomain): Call it.
7995 (bind_textdomain_codeset): New function.
7996 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
7997 (free_mem): Free each binding's codeset.
7998 * intl/gettextP.h (struct binding): Add codeset field.
7999 (_nl_find_domain): Add domainbinding argument.
8000 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
8001 Pass it to _nl_make_l10nflist.
8002 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
8003 (_nl_make_l10nflist): Add domainbinding argument.
8004 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
8005 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
8006 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
8008 * manual/message.texi: New node "Charset conversion in gettext".
8010 2000-04-30 Bruno Haible <haible@clisp.cons.org>
8012 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
8013 appropriate. Handle possible __read error.
8015 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8017 * intl/gettextP.h (__builtin_expect): Define as empty if not a
8019 * intl/loadinfo.h (__builtin_expect): Likewise.
8020 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
8021 __builtin_expect where appropriate.
8022 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8023 * intl/localealias.c (extend_alias_table): Return an error indicator.
8024 (read_alias_file): Bail out if extend_alias_table fails.
8026 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8028 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
8029 * intl/localealias.c: Likewise.
8031 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8033 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
8034 Initialize domain->plural and domain->nplurals even if there is no
8037 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8039 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
8040 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
8041 In case of failure, goto converted.
8043 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8045 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
8046 * iconv/gconv_int.h (norm_add_slashes): Move to here.
8047 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
8050 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8052 * intl/dcigettext.c (transcmp): Compare the domains as well.
8053 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
8055 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
8058 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8060 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
8061 Reported by Bruno Haible.
8063 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8065 * manual/arith.texi: Remove @w from @itemize.
8067 2000-05-02 Andreas Jaeger <aj@suse.de>
8069 * conform/data/tar.h-data: Add some checks for specific values.
8071 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
8074 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
8077 * conform/data/netinet/in.h-data: Add exact checks for the values
8078 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
8080 * conform/data/float.h-data: Add some minimal values.
8082 * conform/conformtest.pl: Test for macros with string constants,
8083 check for minimum and maximum values.
8084 Add limits.h to headers.
8086 * conform/data/cpio.h-data: Test for value of MAGIC.
8088 * conform/data/limits.h-data: New file.
8090 2000-04-30 Bruno Haible <haible@clisp.cons.org>
8092 * math/Makefile (headers): Add bits/fenvinline.h.
8094 2000-05-01 Ulrich Drepper <drepper@redhat.com>
8096 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
8097 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
8099 * posix/Versions: Change posix_spawnattr_getdefault and
8100 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
8101 and posix_spawnattr_setsigdefault respectively.
8102 * posix/spawn.h: Likewise.
8103 * posix/spawnattr_getdefault.h: Likewise.
8104 * posix/spawnattr_setdefault.h: Likewise.
8105 * conform/data/spawn.h-data: Likewise.
8107 2000-05-01 Andreas Jaeger <aj@suse.de>
8109 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
8111 2000-04-30 Ulrich Drepper <drepper@redhat.com>
8113 * manual/sysinfo.texi: Document getdomainname, setdomainname
8115 * manual/string.texi: Fix typo.
8116 * manual/terminal.texi: Document gtty and stty.
8117 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8119 2000-04-30 Andreas Jaeger <aj@suse.de>
8121 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
8122 accordance with Austin Draft.
8124 2000-04-30 Ulrich Drepper <drepper@redhat.com>
8126 * catgets/gencat.c (read_input_file): Use isblank and not isspace
8127 to recognize second character in comment line.
8129 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
8130 ENOBUFS if we are out of memory.
8132 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
8133 available if __USE_XOPEN2K.
8134 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
8135 * sysdeps/unix/common/bits/fcntl.h: Likewise.
8136 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
8137 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8138 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
8139 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8140 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
8141 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
8143 2000-04-29 Ulrich Drepper <drepper@redhat.com>
8145 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
8146 Recognize option -s, -c, and -l.
8148 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
8150 * nscd/nscd.c: Start new session for nscd, drop privilegs
8151 to configured user if requested and no -S parameter are used.
8152 * nscd/nscd.conf: Add new option "server-user".
8153 * nscd/nscd_conf.c: Add support for new "server-user" option.
8154 * nscd/nscd.h: Add declaration for server_user variable.
8155 Based on patch by Chris Wing <wingc@engin.umich.edu>
8157 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8159 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
8160 that changing the __restore and __restore_rt signal return code
8163 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8165 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
8168 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8170 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
8172 2000-04-29 Ulrich Drepper <drepper@redhat.com>
8174 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
8175 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
8177 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
8178 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
8179 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
8180 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
8181 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
8182 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
8183 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
8184 posix_fallocate, and posix_madvise.
8185 * conform/data/netdb.h-data: New file.
8186 * conform/data/pthread.h-data: Add pthread_barrier_t,
8187 pthread_barrierattr_t, pthread_barrier_destroy,
8188 pthread_barrier_init, pthread_barrier_wait,
8189 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
8190 pthread_barrierattr_init, pthread_barrierattr_setpshared,
8191 pthread_condattr_getclock, pthread_condattr_setclock,
8192 pthread_getcpuclockid, pthread_mutex_timedlock,
8193 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
8194 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
8195 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
8196 * conform/data/sched.h-data: Add sched_ss_low_priority,
8197 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
8199 * conform/data/semaphore.h-data: Add sem_timedwait.
8200 * conform/data/signal.h-data: Add SIGIO.
8201 * conform/data/spawn.h-data: New file.
8202 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
8203 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
8204 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
8205 Fix typo in gmtime_r definition.
8206 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
8207 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
8208 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
8209 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
8210 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
8211 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
8212 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
8213 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
8214 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
8215 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
8216 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
8217 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
8218 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
8219 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
8220 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
8221 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
8222 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
8223 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
8224 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
8225 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
8226 typo in off_t definition.
8227 * conform/data/net/if.h-data: New file.
8228 * conform/data/netinet/in.h-data: New file.
8229 * conform/data/netinet/tcp.h-data: New file.
8230 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
8231 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
8232 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
8233 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
8234 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
8235 and posix_typed_mem_open.
8236 * conform/data/sys/socket.h-data: New file.
8237 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
8238 * conform/data/sys/types.h-data: Add pthread_barrier_t,
8239 pthread_barrierattr_t, and pthread_spinlock_t.
8240 * conform/data/sys/un.h-data: New file.
8241 * conform/data/sys/utsname.h-data: New file.
8243 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
8245 * inet/gethstbyad.c (gethostbyname): Likewise.
8246 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
8247 * inet/getipnodebyad.c (getipnodebyad): Likewise.
8248 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
8249 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
8251 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
8252 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
8253 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
8254 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
8255 * resolv/gethnamaddr.c (gethostbyname): Likewise.
8256 * resolv/netdb.h (struct hostent): Fix type of h_length member.
8257 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
8258 and second parameter.
8260 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
8263 2000-04-29 Andreas Jaeger <aj@suse.de>
8265 * conform/data/arpa/inet.h-data: New file.
8267 2000-04-28 Geoff Clare <gwc@unisoft.com>
8269 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
8270 path passed to ftw() or nftw() is an empty string.
8271 Closes PR libc/1710.
8273 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8275 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
8276 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
8277 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
8278 * localedata/tst-mbswcs4.c: New file.
8279 * localedata/tst-mbswcs5.c: New file.
8281 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
8282 == NULL. Little optimization.
8284 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
8285 DT_PREINIT_ARRAYSZ).
8286 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
8288 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
8289 overflows in conversion from ASCII.
8291 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8293 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
8294 * Makerules (full_config_sysdirs): Likewise.
8295 * MakeTAGS (full_config_sysdirs): Likewise.
8297 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8299 * .cvsignore: Remove linuxthreads.
8300 * po/.cvsignore: Remove *.pot.
8301 * posix/glob/.cvsignore: Removed.
8302 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
8304 2000-04-25 Andreas Jaeger <aj@suse.de>
8306 * conform/Makefile (distribute): Also distribute contents of
8309 * Makerules (no_deps): Remove abi-versions.h.
8311 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
8313 2000-04-25 Jakub Jelinek <jakub@redhat.com>
8315 * sysdeps/sparc/sparc64/elf/Dist: Remove.
8316 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
8317 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
8318 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
8319 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
8320 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
8323 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
8325 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
8327 2000-04-23 Bruno Haible <haible@clisp.cons.org>
8329 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
8330 * intl/l10nflist.c: Likewise.
8332 2000-04-23 Bruno Haible <haible@clisp.cons.org>
8334 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
8335 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
8336 * intl/textdomain.c [!_LIBC]: Likewise.
8337 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
8338 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
8339 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
8342 2000-04-23 Bruno Haible <haible@clisp.cons.org>
8344 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
8345 character set conversion also in the case the translation was found
8346 after a hash collision or through binary search. Store the maximum
8347 index together with the converted message. Use iconv() when available.
8348 In case of out of memory during conversion, return the unconverted
8349 translated string, not NULL.
8351 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
8353 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
8354 to avoid name clashes with the ia32 linker.
8356 2000-04-25 Jakub Jelinek <jakub@redhat.com>
8358 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
8361 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8363 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
8364 strtoumax, strfry, and memfrob.
8365 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
8366 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8368 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
8369 if this function is available.
8371 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
8374 2000-04-27 Jakub Jelinek <jakub@redhat.com>
8376 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
8378 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8380 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
8381 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
8382 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
8383 * localedata/tst-mbswcs3.c: New file.
8385 2000-04-26 Ulrich Drepper <drepper@redhat.com>
8387 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
8388 characters. Don't handle incomplete characters as errors.
8389 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
8390 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
8391 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
8392 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
8393 * localedata/tst-mbswcs2.c: New file.
8395 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
8396 stored character in state in UNPACK_BYTES macro.
8397 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
8398 test for available characters, handle result of BODY code correctly.
8399 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
8400 (distribute): Add tst-mbswcs.sh.
8401 Add rule to run tst-mbswcs.sh.
8402 * localedata/tst-mbswcs.sh: New file.
8403 * localedata/tst-mbswcs1.c: New file.
8405 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8407 * nis/nis_callback.c (__nis_create_callback): Do failed memory
8408 allocation fixups centrally, fix __builtin_expect call, return NULL
8409 on failure, not NIS_NOMEMORY.
8411 2000-04-27 Bruno Haible <haible@clisp.cons.org>
8413 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
8415 * intl/loadinfo.h (internal_function): Define if not already defined.
8417 2000-04-27 Andreas Jaeger <aj@suse.de>
8419 * intl/libintl.h: Fix typo, reported by Bruno Haible
8420 <haible@clisp.cons.org>.
8422 2000-04-25 Ulrich Drepper <drepper@redhat.com>
8424 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
8425 setting the state to GMON_PROF_BUSY.
8427 2000-04-24 Ulrich Drepper <drepper@redhat.com>
8429 * elf/dl-profile.c (_dl_start_profile): define all variables which
8430 do not have to be global as local variables.
8432 * nis/nis_callback.c (__nis_create_callback): Partially undo last
8433 patch. Keep needed tests for failed memory allocation.
8435 * elf/dl-reloc.c (_dl_relocate_object): Add one more
8436 __builtin_expect saying that we don't normally expect to profile.
8438 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
8439 __builtin_expect where desirable.
8441 2000-04-23 Ulrich Drepper <drepper@redhat.com>
8443 * manual/Makefile (chapters): Add syslog.
8444 * manual/syslog.texi: New file.
8445 * manual/math.texi: Fix references.
8446 * manual/terminal.texi: Likewise.
8447 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8449 2000-04-18 Jakub Jelinek <jakub@redhat.com>
8451 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
8452 stdlib.h was not included or __USE_XOPEN not defined.
8454 2000-04-23 Ulrich Drepper <drepper@redhat.com>
8456 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
8457 Patch by Zack Weinberg <zack@wolery.cumb.org>.
8459 2000-04-22 Ulrich Drepper <drepper@redhat.com>
8461 * manual/examples/subopt.c (mount_opts): Add missing terminating
8463 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8465 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
8466 * libio/ftello.c: Likewise.
8467 * libio/ftello64.c: Likewise.
8468 * libio/ioftell.c: Likewise.
8469 * sysdeps/generic/memrchr.c: Likewise.
8470 * sysdeps/posix/libc_fatal.c: Likewise.
8471 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8472 * misc/fstab.c: Include <string.h> for strcmp prototype.
8473 * sysdeps/generic/ldsodefs.h: Likewise.
8474 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8475 Patch by Kurt Roeckx <Q@ping.be>.
8477 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
8478 Remove db-open. Change all uses.
8479 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
8481 2000-04-21 Jakub Jelinek <jakub@redhat.com>
8483 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
8484 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
8485 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
8486 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
8487 with .set noat/at to shut up warnings.
8488 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
8489 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
8490 compilation if __NR_pciconfig_iobase is not defined.
8491 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
8494 2000-04-21 Ulrich Drepper <drepper@redhat.com>
8496 * manual/sysinfo.texi: Fix typo.
8497 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
8498 Replace "high precision time" with "high accuracy clock".
8500 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8502 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
8503 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
8505 * nis/nis_subr.c: Use __builtin_expect.
8506 * nis/ypclnt.c: Likewise.
8507 * nis/nis_getservlist.c: Likewise.
8508 * nis/nis_creategroup.c: Likewise.
8510 * nis/nis_callback.c (__nis_create_callback): Check result of
8511 memory allocation. Fix memory leaks. Use __builtin_expect.
8512 (__nis_destroy_callback): Fix memory leaks.
8514 2000-04-21 Andreas Jaeger <aj@suse.de>
8516 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
8517 * sysdeps/mips/mips64/add_n.S: Likewise.
8518 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
8519 * sysdeps/mips/mips64/lshift.S: Likewise.
8520 * sysdeps/mips/mips64/mul_1.S: Likewise.
8521 * sysdeps/mips/mips64/rshift.S: Likewise.
8522 * sysdeps/mips/mips64/setjmp.S: Likewise.
8523 * sysdeps/mips/mips64/sub_n.S: Likewise.
8524 * sysdeps/mips/mips64/submul_1.S: Likewise
8525 * sysdeps/unix/mips/sysdep.S: Likewise.
8527 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
8528 and update comment. The strtab from _dl_relocate_object can be
8531 2000-04-21 Ulrich Drepper <drepper@redhat.com>
8533 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
8534 * iconv/iconv_close.c (iconv_close): Likewise.
8535 * iconv/iconv_open.c (iconv_open): Likewise.
8537 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
8538 __builtin_expect where useful.
8540 * grp/initgroups.c (initgroups): Test for result of memory
8541 allocation and punt if it fails.
8543 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
8544 * grp/fgetgrent.c (fgetfrent): Likewise.
8545 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
8547 2000-04-21 Jakub Jelinek <jakub@redhat.com>
8549 * libio/vasprintf.c: Include string.h to get memcpy prototype.
8551 2000-04-20 Ulrich Drepper <drepper@redhat.com>
8553 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
8554 don't search for NUL byte to decrement counter.
8555 Reported by Ulrich.Brink@sap.com.
8557 * iconv/gconv_simple.c: Define separate functions to convert from
8558 UCS4/UCS4-LE to the internal encoding.
8559 * iconv/gconv_builtin.h: Use separate functions to convert from
8560 UCS4/UCS4-LE to the internal encoding.
8561 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
8562 __gconv_transform_ucs4le_internal.
8564 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
8565 output buffer overflow. Reported by Ulrich.Brink@sap.com.
8567 * iconv/skeleton.c: Add some more __builtin_expect.
8568 * iconv/loop.c: Likewise.
8570 2000-03-08 H.J. Lu <hjl@gnu.org>
8572 * posix/regex.c (regex_compile): Correctly handle "\{" when
8573 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
8575 2000-04-20 Ulrich Drepper <drepper@redhat.com>
8577 * manual/stdio.texi: Give advise about handling error when using
8579 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
8581 2000-04-19 Jakub Jelinek <jakub@redhat.com>
8583 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
8584 field to nelems * sizeof (uint32_t).
8585 * locale/programs/ld-address.c (address_output): Align word fields
8587 * locale/programs/ld-monetary.c (monetary_output): Likewise.
8588 Don't restart idx pointers to idx end at the duo_int_curr_symbol
8590 Avoid giving arbitrary garbage in the crncystr field.
8591 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
8592 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
8594 * locale/programs/ld-numeric.c (numeric_output): Likewise.
8595 Don't restart idx pointers to idx end at the decimal_point_wc field.
8596 * locale/programs/ld-time.c (time_output): week_1stday should be
8597 word, not byte. Align it properly.
8599 2000-04-19 H.J. Lu <hjl@gnu.org>
8601 * csu/gmon-start.c (_start): Declared as "extern void".
8604 2000-04-18 Andreas Jaeger <aj@suse.de>
8606 * manual/install.texi (Running make install): Don't mention utmpd
8609 2000-04-18 Andreas Jaeger <aj@suse.de>
8611 * linuxthreads/Versions: Use ld instead of ld.so.
8613 * elf/Makefile (ld-map): Use ld.map.
8615 * Versions.def: Use ld instead of ld.so.
8616 * elf/Versions: Likewise.
8617 * sysdeps/mach/hurd/Versions: Likewise.
8619 2000-04-20 Andreas Jaeger <aj@suse.de>
8621 * elf/rtld.c (print_statistics): Move ifndef further up.
8622 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
8623 (dl_main): Likewise.
8625 2000-04-18 Ulrich Drepper <drepper@redhat.com>
8627 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
8628 * gmon/Versions: Move moncontrol to GLIBC_2.2.
8630 * po/cs.po: Update from translation team.
8632 * sysdeps/generic/updwtmp.c: Remove daemon support.
8634 * login/Makefile (routines): Remove utmp_daemon.
8636 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
8637 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
8638 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
8639 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
8641 * elf/rtld.c: Display statitics option also if hp timing is not
8644 * login/programs/connection.c: Removed.
8645 * login/programs/database.c Removed.
8646 * login/programs/error.c: Removed.
8647 * login/programs/request.c: Removed.
8648 * login/programs/xtmp.c: Removed.
8649 * login/programs/xtmp.h: Removed.
8650 * login/Makefile: Remove rules for utmpd.
8651 * login/README.utmpd: Removed.
8652 * login/utmp_daemon.c: Removed.
8653 * login/getutent_r.c: Remove references to daemon functions.
8654 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
8657 2000-04-18 Andreas Jaeger <aj@suse.de>
8659 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
8660 2.2 for libnsl, libresolv, librt, libnss_*.
8662 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
8664 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
8666 2000-04-18 Ulrich Drepper <drepper@redhat.com>
8668 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
8669 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
8670 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
8671 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
8672 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
8673 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
8674 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
8675 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
8676 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
8677 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
8678 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
8679 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
8680 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
8682 * sysdeps/unix/sysv/aix/msync.c: New file.
8683 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
8684 * sysdeps/unix/sysv/aix/net/if.h: New file.
8685 * sysdeps/unix/sysv/aix/pipe.c: New file.
8686 * sysdeps/unix/sysv/aix/poll.c: New file.
8687 * sysdeps/unix/sysv/aix/rename.c: New file.
8688 * sysdeps/unix/sysv/aix/rmdir.c: New file.
8689 * sysdeps/unix/sysv/aix/select.c: New file.
8690 * sysdeps/unix/sysv/aix/semctl.c: New file.
8691 * sysdeps/unix/sysv/aix/semget.c: New file.
8692 * sysdeps/unix/sysv/aix/semop.c: New file.
8693 * sysdeps/unix/sysv/aix/sendto.c: New file.
8694 * sysdeps/unix/sysv/aix/setgroups.c: New file.
8695 * sysdeps/unix/sysv/aix/setpgid.c: New file.
8696 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
8697 * sysdeps/unix/sysv/aix/setpriority.c: New file.
8698 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
8699 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
8700 * sysdeps/unix/sysv/aix/setsid.c: New file.
8701 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
8702 * sysdeps/unix/sysv/aix/shmat.c: New file.
8703 * sysdeps/unix/sysv/aix/shmctl.c: New file.
8704 * sysdeps/unix/sysv/aix/shmdt.c: New file.
8705 * sysdeps/unix/sysv/aix/shmget.c: New file.
8706 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
8707 * sysdeps/unix/sysv/aix/sigstack.c: New file.
8708 * sysdeps/unix/sysv/aix/socket.c: New file.
8709 * sysdeps/unix/sysv/aix/socketpair.c: New file.
8710 * sysdeps/unix/sysv/aix/speed.c: New file.
8711 * sysdeps/unix/sysv/aix/symlink.c: New file.
8712 * sysdeps/unix/sysv/aix/sync.c: New file.
8713 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
8714 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
8715 * sysdeps/unix/sysv/aix/times.c: New file.
8716 * sysdeps/unix/sysv/aix/ulimit.c: New file.
8717 * sysdeps/unix/sysv/aix/umask.c: New file.
8718 * sysdeps/unix/sysv/aix/unlink.c: New file.
8719 * sysdeps/unix/sysv/aix/ustat.c: New file.
8720 * sysdeps/unix/sysv/aix/utimes.c: New file.
8722 2000-04-18 Andreas Jaeger <aj@suse.de>
8724 * manual/startup.texi (Environment Access): Fix putenv prototype
8725 according to recent changes.
8726 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
8729 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
8732 2000-04-18 Ulrich Drepper <drepper@redhat.com>
8734 * posix/Makefile (tests): Add tst-getaddrinfo.
8735 * posix/tst-getaddrinfo.c: New file.
8737 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8739 * manual/sysinfo.texi: Document that umount2 is not widely available.
8741 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
8742 signal timing is not really implemented.
8744 2000-04-17 Andreas Jaeger <aj@suse.de>
8746 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
8748 2000-04-17 Jakub Jelinek <jakub@redhat.com>
8750 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
8753 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8755 * manual/intro.texi: Change reference from System Information to
8757 * manual/users.texi: Likewise.
8758 * manual/conf.texi: Likewise.
8759 * manual/sysinfo.texi: Document mount, umount, and umount2.
8760 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8762 2000-04-17 Jakub Jelinek <jakub@redhat.com>
8764 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
8765 Create wnumstr as well as numstr to support wide character output
8768 2000-04-15 Jakub Jelinek <jakub@redhat.com>
8770 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
8771 modification and move it...
8772 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
8773 Add -melf64_sparc switch to $(LD) on sparc64-linux.
8774 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
8775 switch to $(LD) on sparc-linux.
8777 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
8779 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
8780 and setresuid from sysdep_routines.
8782 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8784 * manual/Makefile (chapters): Add resource.
8786 * manual/time.texi: Move section on resources to...
8787 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
8789 * manual/setjmp.texi: Adjust back reference.
8790 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8792 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
8794 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
8795 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
8796 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
8797 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
8798 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
8799 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
8800 * sysdeps/unix/sysv/aix/close.c: Add copyright.
8801 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
8802 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
8803 * sysdeps/unix/sysv/aix/access.c: Add copyright.
8804 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
8805 * sysdeps/unix/sysv/aix/Implies: New file.
8806 * sysdeps/unix/sysv/aix/Versions: New file.
8807 * sysdeps/unix/sysv/aix/bind.c: New file.
8808 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
8809 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
8810 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
8811 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
8812 * sysdeps/unix/sysv/aix/chdir.c: New file.
8813 * sysdeps/unix/sysv/aix/chmod.c: New file.
8814 * sysdeps/unix/sysv/aix/chroot.c: New file.
8815 * sysdeps/unix/sysv/aix/creat.c: New file.
8816 * sysdeps/unix/sysv/aix/dl-close.c: New file.
8817 * sysdeps/unix/sysv/aix/dl-open.c: New file.
8818 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
8819 * sysdeps/unix/sysv/aix/fchdir.c: New file.
8820 * sysdeps/unix/sysv/aix/fchmod.c: New file.
8821 * sysdeps/unix/sysv/aix/getgroups.c: New file.
8822 * sysdeps/unix/sysv/aix/gethostname.c: New file.
8823 * sysdeps/unix/sysv/aix/getpriority.c: New file.
8824 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
8825 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
8826 * sysdeps/unix/sysv/aix/getrusage.c: New file.
8827 * sysdeps/unix/sysv/aix/link.c: New file.
8828 * sysdeps/unix/sysv/aix/madvise.c: New file.
8829 * sysdeps/unix/sysv/aix/mkdir.c: New file.
8830 * sysdeps/unix/sysv/aix/mknod.c: New file.
8831 * sysdeps/unix/sysv/aix/mprotect.c: New file.
8832 * sysdeps/unix/sysv/aix/msgctl.c: New file.
8833 * sysdeps/unix/sysv/aix/msgget.c: New file.
8834 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
8836 2000-04-17 Andreas Jaeger <aj@suse.de>
8838 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
8839 as suggested by Ulrich Drepper.
8840 (__dl_runtime_resolve): Remove unused variable, initialize sym
8842 (RTLD_START): Document OFFSET_GP_GOT.
8843 (OFFSET_GP_GOT): New magic value.
8844 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
8845 (elf_machine_got_rel): Only declare strtab if needed.
8846 (elf_machine_relplt): Removed, it's not needed.
8847 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
8849 * sysdeps/mips/add_n.S: Add newline at EOF.
8850 * sysdeps/mips/rshift.S: Likewise.
8851 * sysdeps/mips/mul_1.S: Likewise.
8852 * sysdeps/mips/lshift.S: Likewise.
8853 * sysdeps/mips/addmul_1.S: Likewise.
8855 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8857 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
8859 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
8860 * elf/dl-lookup.c: Likewise.
8861 * elf/dl-init.c (_dl_init): Likewise.
8862 * elf/dl-fini.c (_dl_fini): Likewise.
8863 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8864 * elf/dl-close.c (_dl_close): Likewise.
8865 * elf/rtld.c (_dl_start_final): Likewise.
8867 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
8869 2000-04-15 Ulrich Drepper <drepper@redhat.com>
8871 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
8872 only fall back on using Linux.
8874 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
8875 Before testing versions check that we actually loaded the object
8876 and whether we are in trace mode. If not loaded during tracing don't
8877 test versions in this object.
8878 (_dl_check_all_versions): Take new parameter and pass to
8879 _dl_check_map_versions.
8880 * sysdeps/generic/ldsodefs.h: Update prototypes for
8881 _dl_check_all_versions and _dl_check_map_versions.
8882 * elf/rtld.c (struct version_check_args): Add dotrace.
8883 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
8884 (dl_main): Pass info about trace mode to version_check_doit.
8885 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
8886 _dl_check_all_versions.
8888 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
8890 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8892 * manual/argp.texi: Document index parameter of argp_parse.
8894 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
8896 2000-04-14 Andreas Jaeger <aj@suse.de>
8898 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
8899 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
8901 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
8903 2000-04-15 Ulrich Drepper <drepper@redhat.com>
8905 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
8906 compat_symbol call for old adjtime.
8908 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
8909 function interface. Patch by Richard Henderson <rth@cygnus.com>.
8911 * posix/Makefile (headers): Add spawn.h.
8912 (distribute): Add spawn_int.h.
8913 (routines): Add spawn_faction_init, spawn_faction_destroy,
8914 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
8915 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
8916 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
8917 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
8918 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
8919 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
8920 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
8921 posix_spawnattr_init, posix_spawnattr_destroy,
8922 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
8923 posix_spawnattr_getflags, posix_spawnattr_setflags,
8924 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
8926 * posix/spawn.c: New file.
8927 * posix/spawn.h: New file.
8928 * posix/spawn_faction_addclose.c: New file.
8929 * posix/spawn_faction_adddup2.c: New file.
8930 * posix/spawn_faction_addopen.c: New file.
8931 * posix/spawn_faction_destroy.c: New file.
8932 * posix/spawn_faction_init.c: New file.
8933 * posix/spawn_int.h: New file.
8934 * posix/spawnattr_destroy.c: New file.
8935 * posix/spawnattr_getdefault.c: New file.
8936 * posix/spawnattr_getflags.c: New file.
8937 * posix/spawnattr_getpgroup.c: New file.
8938 * posix/spawnattr_getschedparam.c: New file.
8939 * posix/spawnattr_getschedpolicy.c: New file.
8940 * posix/spawnattr_getsigmask.c: New file.
8941 * posix/spawnattr_init.c: New file.
8942 * posix/spawnattr_setdefault.c: New file.
8943 * posix/spawnattr_setflags.c: New file.
8944 * posix/spawnattr_setpgroup.c: New file.
8945 * posix/spawnattr_setschedparam.c: New file.
8946 * posix/spawnattr_setschedpolicy.c: New file.
8947 * posix/spawnattr_setsigmask.c: New file.
8948 * posix/spawni.c: New file.
8949 * posix/spawnp.c: New file.
8951 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
8952 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
8954 2000-04-14 Ulrich Drepper <drepper@redhat.com>
8956 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
8957 * malloc/malloc.c: Implement posix_memalign for glibc.
8958 * include/stdlib.h: Add prototype for __posix_memalign.
8959 * stdlib/stdlib.h: Add prototype for posix_memalign.
8961 2000-04-14 Andreas Jaeger <aj@suse.de>
8963 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
8965 (elf_machine_got_rel): Cast sym correctly.
8967 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
8968 * sysdeps/mips/addmul_1.S: Likewise.
8969 * sysdeps/mips/lshift.S: Likewise.
8970 * sysdeps/mips/mul_1.S: Likewise.
8971 * sysdeps/mips/rshift.S: Likewise.
8972 * sysdeps/mips/sub_n.S: Likewise.
8973 * sysdeps/mips/submul_1.S: Likewise.
8975 * stdlib/stdlib.h: Fix typo in comment.
8977 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
8978 2.2 for libdl, ld and libm.
8980 * sysdeps/generic/madvise.c: Fix typos.
8982 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
8984 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
8986 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
8989 2000-04-14 Ulrich Drepper <drepper@redhat.com>
8991 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
8992 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
8993 Make old name weak alias.
8994 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
8995 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
8996 Make old name weak alias.
8997 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
8999 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
9000 posix_fallocate, and posix_fallocate64.
9001 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
9002 posix_fallocate, and posix_fallocate64.
9003 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
9004 posix_fallocate, and posix_fallocate64.
9005 * sysdeps/generic/fadvise.c: New file.
9006 * sysdeps/generic/fadvise64.c: New file.
9007 * sysdeps/generic/fallocate.c: New file.
9008 * sysdeps/generic/fallocate64.c: New file.
9009 * sysdeps/posix/fallocate.c: New file.
9010 * sysdeps/posix/fallocate64.c: New file.
9011 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
9012 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
9013 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
9014 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
9015 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
9016 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
9017 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9018 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
9019 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9021 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
9022 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9024 2000-04-13 Ulrich Drepper <drepper@redhat.com>
9026 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
9027 * misc/sys/mman.h (posix_madvise): Add prototype.
9028 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
9029 old name and posix_madvise weak aliases.
9030 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9031 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
9032 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
9033 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9034 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
9035 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9036 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9038 2000-04-13 Andreas Jaeger <aj@suse.de>
9040 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
9042 (elf_machine_got_rel): Only add runtime display if needed.
9043 (elf_machine_got_rel): Handle symbol versioning.
9045 2000-04-13 Andreas Jaeger <aj@suse.de>
9047 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
9049 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
9052 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
9053 with some applications.
9054 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
9056 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
9057 * sysdeps/mips/bsd-_setjmp.S: Likewise.
9058 * sysdeps/mips/setjmp.S: Likewise.
9060 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
9062 2000-04-13 Ulrich Drepper <drepper@redhat.com>
9064 * posix/globtest.sh: Work around inconsistency with expanding ~/
9065 in shell (PR libc/1690). Reported by patsmith@pobox.com.
9067 2000-04-12 Ulrich Drepper <drepper@redhat.com>
9069 * posix/getconf.c: Add support for many more POSIX options.
9070 * sysdeps/posix/sysconf.c: Likewise.
9071 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
9072 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
9074 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
9075 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
9076 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
9077 CLOCK_THREAD_CPUTIME_ID.
9078 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
9079 CLOCK_PROCESS_CPUTIME_ID.
9080 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
9081 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
9082 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
9083 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
9085 * malloc/Makefile (tests): Add tst-calloc.
9086 * malloc/tst-calloc.c: New file.
9088 * sysdeps/arm/libm-test-ulps: New file.
9090 * malloc/malloc.c: Undo all of today's changes.
9092 * locale/programs/locale.c (show_info): Don't try to look into
9093 data for LC_ALL (there is none).
9095 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
9096 avoid writing over boundary.
9097 Patch by Greg McGary <gkm@eng.ascend.com>.
9099 * sysdeps/arm/memprof.h: New file.
9101 2000-04-12 Andreas Jaeger <aj@suse.de>
9103 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
9105 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
9106 for memmem declaration.
9108 2000-04-12 Ulrich Drepper <drepper@redhat.com>
9110 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
9112 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
9114 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
9116 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
9117 Patch by Bart Veer <bartv@redhat.com>.
9119 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
9122 2000-04-11 Andreas Jaeger <aj@suse.de>
9124 * sysdeps/mips/dl-machine.h: Update some comments.
9125 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
9127 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9129 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
9130 _POSIX_SHARED_MEMORY_OBJECTS.
9132 * rt/Makefile (tests): Add tst-shm.
9133 Add rules to generate tst-shm.
9134 * rt/tst-shm.c: New file.
9136 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
9139 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
9140 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
9141 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
9142 * sysdeps/generic/shm_open.c: New file.
9143 * sysdeps/generic/shm_unlink.c: New file.
9144 * sysdeps/unix/sysv/linux/shm_open.c: New file.
9145 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
9146 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
9147 __endmntent, __getmntent_r, __setmntent, and __statfs.
9149 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
9150 fragmentation by allocating new memory at the end instead of
9153 * posix/globtest.sh: Fix last change.
9155 2000-04-10 Philip Blundell <philb@gnu.org>
9157 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
9158 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
9159 IPV6_DROP_MEMBERSHIP.
9160 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
9163 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9165 * elf/readlib (process_file): Close streams in case of an error.
9167 2000-04-09 Andreas Jaeger <aj@suse.de>
9169 * elf/readlib.c (process_file): Check if file is big enough to
9170 contain aout and ELF headers.
9171 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
9173 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
9175 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
9177 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9179 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
9181 * rt/Makefile (tests): Add tst-clock.
9182 Add rules to build tst-clock.
9183 * rt/tst-clock.c: New file.
9184 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
9185 about initialization of nsec.
9186 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
9187 about initialization of freq. Set retval to zero if successful.
9188 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
9190 2000-04-10 Ulrich Drepper <drepper@redhat.com>
9192 * Versions.def (librt): Add GLIBC_2.2.
9193 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
9194 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
9195 timer_getoverr, timer_gettime, and timer_settime.
9196 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
9197 clock_settime, timer_create, timer_delete, timer_getoverrun,
9198 timer_gettime, and timer_settime.
9199 * sysdeps/generic/clock_getcpuclockid.c: New file.
9200 * sysdeps/generic/get_clockfreq.c: New file.
9201 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
9202 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
9203 * sysdeps/mach/hurd/i386/bits/time.h: New file.
9204 * sysdeps/unix/i386/i586/clock_getres.c: New file.
9205 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
9206 * sysdeps/unix/i386/i686/Implies: New file.
9207 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
9208 * time/Makefile (routines): Move clock_getres, clock_gettime,
9209 clock_settime, timer_create, timer_delete, timer_getoverr,
9210 timer_gettime, and timer_settime to rt/Makefile.
9211 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
9212 clock_settime, timer_create, timer_delete, timer_getoverrun,
9213 timer_gettime, and timer_settime.
9214 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
9216 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
9217 and not const as attribute name.
9219 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
9221 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
9223 2000-04-10 Andreas Schwab <schwab@suse.de>
9225 * posix/globtest.sh: Skip tests that depend on unreadable
9226 directories if run as root.
9228 2000-04-10 Ulrich Drepper <drepper@redhat.com>
9230 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
9231 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
9233 2000-04-09 Ulrich Drepper <drepper@redhat.com>
9235 * sysdeps/unix/clock_gettime.c: New file.
9236 * sysdeps/unix/clock_settime.c: New file.
9237 * sysdeps/posix/clock_getres.c: New file.
9239 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
9241 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
9242 lseek call be passing in a buffer which never allow a successful
9243 first getdents syscall if not at leas the initial entry can be
9244 stored in the user buffer.
9246 * localedata/Makefile: Add rules to clean up directories created by
9249 2000-04-09 Geoff Clare <gwc@unisoft.com>
9251 * localedata/tst-fmon.data: Added new tests for strfmon()
9252 using test locales with all combinations of cs_precedes,
9253 sign_posn and sep_by_space.
9254 * localedata/tst-fmon.sh: Updated to support the new tests.
9255 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
9256 the localedef source for the new strfmon() test locale.
9257 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
9258 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
9259 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
9260 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
9261 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
9262 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
9263 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
9264 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
9265 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
9266 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
9267 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
9268 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
9269 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
9270 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
9272 * stdlib/strfmon.c: Correct problems with missing or extra
9273 spaces for unusual combinations of sign_posn and sep_by_space.
9274 Improved left-precision alignment code.
9276 2000-04-07 Andreas Jaeger <aj@suse.de>
9278 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
9280 2000-04-10 Andreas Jaeger <aj@suse.de>
9282 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
9284 2000-04-09 Ulrich Drepper <drepper@redhat.com>
9286 Implement handling of restartable conversion functions according to
9288 * iconv/gconv.h (__gconv_fct): Add additional parameter.
9289 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
9290 * iconv/gconv.c: Pass additional parameter to conversion function.
9291 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
9292 (internal_ucs4le_loop_single): New function.
9293 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
9294 (__gconv_transform_internal_ascii): Likewise.
9295 (__gconv_transform_internal_utf8): Likewise.
9296 (__gconv_transform_utf8_internal): Likewise.
9297 (__gconv_transform_ucs2_internal): Likewise.
9298 (__gconv_transform_internal_ucs2): Likewise.
9299 (__gconv_transform_ucs2reverse_internal): Likewise.
9300 (__gconv_transform_internal_ucs2reverse): Likewise.
9301 (internal_ucs4le_loop_unaligned): Before return
9302 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
9303 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
9304 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
9305 * iconv/loop.c: Fit in definition of function to convert one character
9306 for processing of left-over bytes from the state object.
9307 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
9308 inend to match names in loop functions.
9309 (RESET_INPUT_BUFFER): Change apprpriately.
9310 (gconv): If needed, call function to process bytes from the state
9311 object. Similar at the end: store left over bytes if input is
9313 Take extra argument and add new argument to all calls of the
9314 conversion function.
9315 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
9316 information in the state object to not conflict with length count.
9317 * iconvdata/iso-2022-jp.c: Likewise.
9318 * iconvdata/iso-2022-kr.c: Likewise.
9319 * iconvdata/unicode.c: Adjust for change change in parameters of
9321 * iconvdata/utf-16.c: Likewise.
9322 * libio/iofwide.c: Add new parameter to all calls of conversion
9324 * wcsmbs/btowc.c: Likewise.
9325 * wcsmbs/mbrtowc.c: Likewise.
9326 * wcsmbs/mbsnrtowcs.c: Likewise.
9327 * wcsmbs/mbsrtowcs.c: Likewise.
9328 * wcsmbs/wcrtomb.c: Likewise.
9329 * wcsmbs/wcsnrtombs.c: Likewise.
9330 * wcsmbs/wcsrtombs.c: Likewise.
9331 * wcsmbs/wctob.c: Likewise.
9333 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
9336 2000-04-07 Andreas Jaeger <aj@suse.de>
9338 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
9341 2000-04-07 Ulrich Drepper <drepper@redhat.com>
9343 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
9344 element a union to allow byte access.
9345 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
9347 * iconvdata/iso-2022-jp.c: Likewise.
9348 * iconvdata/iso-2022-kr.c: Likewise.
9349 * wcsmbs/mbsinit.c: Likewise.
9350 * stdlib/mblen.c: Likewise.
9351 * stdio-common/printf-parse.h: Likewise.
9353 2000-04-06 Ulrich Drepper <drepper@redhat.com>
9355 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
9356 kernel does not allow relative seeks on descriptors associated
9357 with directories. Go back to get the position in the directory
9358 every time we enter the function. Return -1 and set errno if one
9359 entry could be read from the kernel but does not fit into the
9360 buffer passed in by the user.
9362 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
9363 Support ..(2).. ellipsis.
9364 (parse_charmap): Recognize ..(2).. etc and pass step down.
9365 Correctly generate names for UCS4 characters.
9367 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
9368 (ctype_finish): We know the wide character value for <SP>,
9370 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
9371 (charclass_ucs4_ellipsis): Likewise.
9372 (read_translit_ignore_entry): Store ellipsis step.
9373 (ctype_read): Recognize ..(2).. etc and pass step down.
9375 * locale/programs/linereader.c (lr_token): When seeing comment
9376 character ignore only rest of line in sources but stop at escaped
9378 Recognize ..(2).. and ....(2).....
9380 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
9381 and tok_ellipsis4_2.
9383 2000-04-06 Andreas Jaeger <aj@suse.de>
9385 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
9386 removed, remove it here also.
9387 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
9388 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
9389 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
9390 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
9392 2000-04-06 Jakub Jelinek <jakub@redhat.com>
9394 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
9395 include bits/sigcontext.h.
9396 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9398 2000-04-06 Ulrich Drepper <drepper@redhat.com>
9400 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
9401 collation symbol definition. Value in quivalence definition must
9402 be defined, don't check that it is not.
9404 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
9405 values as character names.
9407 * locale/programs/ld-ctype.c (get_character): Handle missing
9408 repertoire map correctly.
9410 2000-04-05 Cristian Gafton <gafton@redhat.com>
9412 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
9413 because it is used in generic code.
9414 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
9415 * wcsmbs/wcwidth.h: Declare __ctype32_b.
9416 * intl/gettext.c: Include <locale.h>.
9417 * intl/ngettext.c: Likewise.
9419 2000-04-05 Jakub Jelinek <jakub@redhat.com>
9421 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
9422 socklen_t type for size.
9423 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
9424 init function interface.
9425 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9426 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
9428 (__jmp_buf): Declare the whole type structure here, don't use
9431 2000-04-05 Ulrich Drepper <drepper@redhat.com>
9433 * iconv/skeleton.c (put16u): Fix typo.
9434 Reported by Bruno Haible <haible@ilog.fr>.
9436 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
9437 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
9438 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
9439 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
9440 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
9441 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
9443 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
9444 * Makefile (distribute): Add abi-versions.awk and
9446 Patches by Torsten Duwe <duwe@caldera.de>.
9448 2000-04-05 Andreas Schwab <schwab@suse.de>
9450 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
9452 2000-04-05 Andreas Schwab <schwab@suse.de>
9454 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
9455 entry point, used on Hurd.
9457 2000-04-04 Andreas Jaeger <aj@suse.de>
9459 * intl/Makefile: Only run the gettext test with shared libraries.
9461 2000-03-16 Mark Kettenis <kettenis@gnu.org>
9463 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
9464 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
9466 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
9468 * Makeconfig: Undo last change.
9469 * configure.in: If --disable-shared was given, don't set VERSIONING,
9470 don't define DO_VERSIONING, and don't give scare warning for no
9472 * configure: Regenerated.
9474 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
9476 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
9478 2000-04-04 Andreas Jaeger <aj@suse.de>
9480 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
9482 2000-04-04 Ulrich Drepper <drepper@redhat.com>
9484 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
9485 STV_HIDDEN and STV_INTERNAL during lookup.
9486 (profile_fixup): Likewise.
9487 * elf/dl-reloc.c (RESOLVE): Likewise.
9489 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
9490 unaligned so that it compiles for system which need unaligned
9493 2000-04-04 Andreas Schwab <schwab@suse.de>
9495 * elf/cache.c (print_entry): Only look at the type field when
9498 2000-04-04 Andreas Schwab <schwab@suse.de>
9500 * iconvdata/big5.c (BODY): Fix typo.
9502 2000-04-04 Andreas Schwab <schwab@suse.de>
9504 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
9505 function interface. Remove unused _dl_start_user entry point.
9507 2000-04-03 Andreas Jaeger <aj@suse.de>
9509 * include/arpa/inet.h (__inet_aton): Add protoype.
9511 2000-04-01 Andreas Jaeger <aj@suse.de>
9513 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
9515 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
9516 * sysdeps/mach/mips/thread_state.h: Likewise.
9518 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
9519 * sysdeps/generic/fegetenv.c: Likewise.
9520 * sysdeps/generic/fesetenv.c: Likewise.
9521 * sysdeps/generic/feupdateenv.c: Likewise.
9522 * sysdeps/generic/fraiseexcpt.c: Likewise.
9523 * sysdeps/generic/fsetexcptflg.c: Likewise.
9524 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
9525 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
9526 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
9527 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9529 2000-04-02 H.J. Lu <hjl@gnu.org>
9531 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
9533 2000-04-03 Ulrich Drepper <drepper@redhat.com>
9535 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
9536 (add_name_to_object): Add cast in malloc call.
9537 (fillin_rpath): Optimize loop to initialize ->status a bit.
9539 * sysdeps/i386/dl-machine.h: Undo last change.
9540 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
9541 Restore %edx register after call here.
9543 * sysdeps/arm/atomicity.h: New file.
9544 Contributed by Jesper Skov <jskov@redhat.com>.
9546 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
9548 * Makeconfig (preprocess-versions): Undo last change.
9549 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
9551 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
9552 here, before we might move the stack.
9553 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
9554 (init1): And not here.
9556 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
9557 change, to restore argc value in call-clobbered register after
9558 RTLD_START_SPECIAL_INIT, which will contain a call.
9560 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
9561 allocating and initializing L->l_initfini.
9563 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
9565 2000-04-03 Ulrich Drepper <drepper@redhat.com>
9567 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
9568 RUNPATH, RPATH, and LD_LIBRARY_PATH.
9569 (open_path): Change type of fourth parameter. Make pointer to array
9570 of pointers. Create variable dirs with original type.
9571 Track whether any directory for the object exists and if not,
9572 change *DIRSP to (void*) -1 to signal there is no such search path.
9573 (_dl_map_object): Change all calls of open_path.
9574 Rewrite decompose_rpath calls.
9576 2000-03-31 Andreas Schwab <schwab@suse.de>
9578 * string/strfry.c: Declare STATE as array of char instead of int
9579 and do not initialize it (done by initstate_r). Pass correct
9582 2000-04-03 Ulrich Drepper <drepper@redhat.com>
9584 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
9586 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
9587 instruction out of the code.
9589 2000-04-02 Ulrich Drepper <drepper@redhat.com>
9591 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
9592 element at this position.
9594 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
9595 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
9597 * elf/dl-lookup.c (add_dependency): New function.
9598 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
9599 dynamically loaded object.
9600 (_dl_lookup_symbol_skip): Likewise.
9601 (_dl_lookup_versioned_symbol): Likewise.
9602 (_dl_lookup_versioned_symbol_skip): Likewise.
9603 * elf/dl-open.c: Don't define _dl_load_lock here...
9604 * elf/rtld.c: ...but here...
9605 * elf/dl-support.c: ...and here.
9606 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
9608 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
9610 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
9612 * dlfcn/glrefmain.c: Add one more debug message.
9614 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
9616 * Makerules (sysd-versions): Use ( ) instead of { }.
9618 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
9619 optimize for the non-debugging case.
9620 * elf/dl-lookup.c: Likewise.
9621 * sysdeps/generic/libc-start.c: Likewise.
9623 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
9625 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
9626 (init1): Don't initialize __environ here, since init already does it.
9627 (first_init): New function, broken out of _init.
9628 (_hurd_stack_setup): Use it.
9629 [SHARED] (_dl_init_first): New function, renamed from old _init.
9630 (init1) [SHARED]: Don't call posixland_init here.
9631 (posixland_init): Take ENVP arg, so signature is usual for initializer.
9632 [SHARED] (_init): Define as alias for posixland_init.
9633 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
9634 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
9635 RTLD_START_SPECIAL_INIT before calling initializers.
9636 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
9637 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
9638 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
9639 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
9641 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
9642 since we define the function with the name `tmpfile'.
9644 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
9645 * hurd/Versions: Likewise.
9647 2000-04-02 Ulrich Drepper <drepper@redhat.com>
9649 * elf/dl-runtime.c (fixup): Fix typo in comment.
9651 * resolv/netdb.h (getnameinfo): All length parameters are of type
9653 * inet/getnameinfo.c: Likewise.
9655 2000-04-01 Ulrich Drepper <drepper@redhat.com>
9657 * posix/unistd.h (socklen_t): Define if it has not yet happened.
9658 (gethostname): Change type of second parameter to socklen_t.
9659 * include/unistd.h (__gethostname): Change type of second
9660 parameter to socklen_t.
9661 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
9662 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
9663 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
9664 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
9666 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
9667 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
9668 Allow definition elsewhere.
9669 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
9670 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9671 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
9672 * sysdeps/generic/bits/types.h: Define __socklen_t.
9673 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
9674 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
9675 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9676 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9677 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
9678 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
9679 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
9681 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
9682 (inet_lnaof): Likewise.
9683 (inet_netof): Likewise.
9684 (inet_network): Likewise.
9685 (inet_aton): Likewise.
9686 (inet_makeaddr): Change parameter types to in_addr_t.
9687 (inet_neta): Likewise.
9688 (inet_ntop): Change type of last parameter to socklen_t.
9689 (inet_aton): Only make available if __USE_MISC.
9690 (inet_neta): Likewise.
9691 (inet_net_ntop): Likewise.
9692 (inet_net_pton): Likewise.
9693 (inet_nsap_ntoa): Likewise.
9695 * inet/in.h: Define in_port_t type.
9696 Define in_addr_t type.
9697 (struct in_addr): Use in_addr_t in definition.
9698 (IN_CLASSA): Use cast to in_addr_t.
9699 (IN_CLASSB): Likewise.
9700 (IN_CLASSC): Likewise.
9701 (IN_CLASSD): Likewise.
9702 (IN_EXPERIMENTAL): Likewise.
9703 (IN_BADCLASS): Likewise.
9704 (INADDR_ANY): Likewise.
9705 (INADDR_BROADCAST): Likewise.
9706 (INADDR_NONE): Likewise.
9707 (INADDR_LOOPBACK): Likewise.
9708 (INADDR_UNSPEC_GROUP): Likewise.
9709 (INADDR_ALLHOSTS_GROUP): Likewise.
9710 (INADDR_ALLRTRS_GROUP): Likewise.
9711 (INADDR_MAX_LOCAL_GROUP): Likewise.
9712 (struct sockaddr_in): Use in_port_t for sin_port element.
9713 (struct sockaddr_in6): Use in_port_t for sin6_port element.
9714 Use uint8_t instead of u_int8_t.
9716 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
9717 Call __inet_aton instead of inet_aton.
9718 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
9720 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
9721 (innetgr): Likewise.
9722 (struct addrinfo): Use socklen_t for ai_addrlen element.
9724 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
9725 IPV6_RECVERR): New defines.
9727 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
9728 * inet/getnetbyad.c: Likewise.
9729 * inet/getnetbyad_r.c: Likewise.
9730 * nis/nss_nis/nis-network.c: Likewise.
9731 * nis/nssplus_nis/nisplus-network.c: Likewise.
9732 * nss/nss_files/files-network.c: Likewise.
9733 * resolv/netdb.h: Define uint32_t if not already happened.
9734 Include bits/netdb.h. Remove definition of struct netent.
9735 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
9736 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
9737 * sysdeps/generic/bits/netdb.h: New file.
9738 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
9740 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
9741 (tests): Add glrefmain.
9742 Add rules to build modules and run tests. Ignore result of glrefmain
9743 for now since it fails.
9744 * dlfcn/glrefmain.c: New file.
9745 * dlfcn/glreflib1.c: New file.
9746 * dlfcn/glreflib2.c: New file.
9748 * test-skeleton.c: Include <string.h> for strsignal prototype.
9750 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
9753 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
9754 former init-first.h. Initialize __libc_multiple_libcs.
9756 2000-03-31 Ulrich Drepper <drepper@redhat.com>
9758 * iconv/skeleton.c: Define access macros with u suffix. Adjust
9759 #if expression for use of unaligned function to the one used in
9760 the definition of these functions.
9761 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
9762 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
9763 (internal_ucs4le_loop_unaligned): New function.
9765 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
9767 (module-names): Add dep1, dep2, dep3, and dep4.
9768 Add dependencies for dep* modules and order.
9769 Define rule for order.out which checks the result.
9770 * elf/dep1.c: New file.
9771 * elf/dep2.c: New file.
9772 * elf/dep3.c: New file.
9773 * elf/dep4.c: New file.
9774 * elf/order.c: New file.
9776 * elf/dl-init.c: Fix typo in comment.
9778 2000-03-31 Andreas Jaeger <aj@suse.de>
9780 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
9781 init function interface.
9782 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
9784 2000-03-31 Andreas Jaeger <aj@suse.de>
9786 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
9787 * sysdeps/mips/fpu/fegetenv.c: Likewise.
9788 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
9789 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
9790 * sysdeps/mips/fpu/fesetenv.c: Likewise.
9792 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
9793 anymore, update comment.
9795 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9797 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
9798 SHLIB_COMPAT - the struct is always needed.
9800 2000-03-31 Ulrich Drepper <drepper@redhat.com>
9802 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
9803 * elf/dl-support.c: Define _dl_starting_up.
9805 2000-03-30 Ulrich Drepper <drepper@redhat.com>
9807 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
9808 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
9810 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
9812 * elf/Makefile (dl-routines): Remove preinit.
9813 * elf/Versions: Remove _dl_preinit.
9814 * elf/dl-preinit.c: Removed. Move content into...
9815 * elf/dl-init.c: ...here.
9816 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
9818 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
9821 2000-03-29 Geoff Clare <gwc@unisoft.com>
9823 * stdlib/strfmon.c: Corrected problems with the code that
9824 sets default values for [np]_sep_by_space and
9825 [np]_sign_posn; also the new positive/negative alignment
9826 code from the previous patch was not quite right for
9829 * localedata/tst-fmon.data: Changes corresponding to the
9830 two sets of fixes made to stdlib/strfmon.c.
9832 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
9834 * malloc/malloc.c: Declare bit flags UL so that they will not
9835 default to int size when being inverted.
9837 2000-03-29 Andreas Jaeger <aj@suse.de>
9839 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
9840 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
9842 2000-03-29 Andreas Jaeger <aj@suse.de>,
9843 Ralf Baechle <ralf@uni-koblenz.de>
9845 * Makeconfig: Introduce new variable SHARED to mark code used in
9847 * elf/dl-close.c: Use it instead of PIC.
9848 * elf/dl-load.c: Likewise.
9849 * elf/dl-open.c: Likewise.
9850 * hurd/geteuids.c: Likewise.
9851 * include/libc-symbols.h: Likewise.
9852 * include/shlib-compat.h: Likewise.
9853 * libio/freopen.c: Likewise.
9854 * linuxthreads/cancel.c: Likewise.
9855 * linuxthreads/pthread.c: Likewise.
9856 * linuxthreads/wrapsyscall.c: Likewise.
9857 * nss/nsswitch.c: Likewise.
9858 * stdio-common/vfprintf.c: Likewise.
9859 * sysdeps/arm/init-first.c: Likewise.
9860 * sysdeps/i386/init-first.c: Likewise
9861 * sysdeps/generic/init-first.c: Likewise.
9862 * sysdeps/generic/libc-start.c: Likewise.
9863 * sysdeps/mips/init-first.c: Likewise.
9864 * sysdeps/powerpc/elf/libc-start.c: Likewise.
9865 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9866 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
9867 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
9868 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9870 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
9872 2000-03-29 Andreas Jaeger <aj@suse.de>
9874 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
9875 Use D_PTR to access relocated entries in l_info.
9876 (elf_machine_rela): Likewise.
9878 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
9880 (elf_machine_rela): Likewise.
9882 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
9884 (__elf_machine_fixup_plt): Likewise.
9885 (__process_machine_rela): Likewise.
9887 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
9888 (elf_machine_rela): Likewise.
9890 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
9891 (elf_machine_rel): Likewise.
9893 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
9894 (elf_machine_fixup_plt): Likewise.
9895 (elf_machine_rela): Likewise.
9897 2000-03-29 Andreas Jaeger <aj@suse.de>
9899 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
9900 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9901 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9902 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
9903 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9904 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
9905 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
9906 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
9907 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
9908 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
9909 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
9910 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
9911 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
9912 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
9913 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9915 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
9916 macros, remove K&R prototypes.
9918 2000-03-30 Ulrich Drepper <drepper@redhat.com>
9920 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
9921 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
9924 2000-03-30 Andreas Jaeger <aj@suse.de>
9926 * misc/sys/cdefs.h: Remove K&R support.
9928 2000-03-30 Ulrich Drepper <drepper@redhat.com>
9930 * iconv/skeleton.c: Avoid compiling unaligned versions in some
9932 * iconv/loop.c: Likewise.
9934 2000-03-29 Bruno Haible <haible@clisp.cons.org>
9936 * iconv/loop.c (put16): Remove __const. Fix access index.
9937 (put32): Remove __const. Use uint32_t instead of uint16_t.
9938 * iconv/skeleton.c: Likewise.
9940 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
9942 * mach/Versions (libc: GLIBC_2.0)
9943 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
9944 __vm_allocate on this.
9945 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
9946 mutex- and spinlock-related symbols on this.
9947 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
9948 New version set. Lock-related symbols go here instead in this case.
9949 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
9950 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
9951 cthread_getspecific, cthread_setspecific, __libc_getspecific.
9953 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
9954 Put them here instead.
9955 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
9956 New version set. Those cthreads symbols go here instead in this case.
9957 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
9959 2000-03-30 Ulrich Drepper <drepper@redhat.com>
9961 * elf/dl-init.c (_dl_init): We don't need to call constructors
9962 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
9964 Implement dynamic determination of constructor/destructor order in
9966 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
9967 (GLIBC_2.2): Add _dl_init.
9968 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
9969 r_duplist is not anymore allocated separately. l_initfini is and
9970 therefore free it if necessary.
9971 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
9972 malloc block. Otherwise allocate l_initfini list only.
9973 Put dependencies for the object in l_initfini list.
9974 Sort dependencies for the object to be loaded topologically.
9975 * elf/dl-fini.c: Before running the destructors sort the topologically.
9976 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
9977 call constructors instead of iterating over the pointers. Get list of
9978 objects for which to run constructors from l_initfini element. Accept
9979 argc, argv, and env as parameters and pass them to the constructors.
9980 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
9981 with size of dynamic section.
9982 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
9983 _dl_init_next and calling constructors ourself.
9984 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
9985 Take argc, argv, and env as parameters and pass them to the
9986 constructors. Rewrite to call all constructors and not iterate over
9988 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
9989 precompute l_initcount and l_preinitcount.
9990 * elf/link.h (struct link_map): Add l_ldnum member.
9991 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
9992 l_initcount, and l_preinitcount. Add l_initfini.
9993 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
9995 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
9997 * sysdeps/unix/sysv/linux/init-first.h: Removed.
9998 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
9999 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
10000 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
10001 conventions now match.
10003 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
10004 effect for shared objects. Don't emit message and call only for
10007 2000-03-29 Ulrich Drepper <drepper@redhat.com>
10009 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
10010 CSA_Z243.4-1985-1..UCS2.
10011 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
10014 2000-03-29 Andreas Jaeger <aj@suse.de>
10016 * include/unistd.h: Remove duplicate entry for __rmdir.
10017 Remove declaration of __mkdir since __mkdir is declared in
10020 * manual/creature.texi (Feature Test Macros): Fix typo, reported
10021 by Michael Deutschmann <michael@talamasca.ocis.net>.
10023 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
10024 * sysdeps/mips/fpu/fegetenv.c: Likewise.
10025 * sysdeps/mips/fpu/fesetenv.c: Likewise.
10026 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
10027 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
10029 2000-03-28 Andreas Jaeger <aj@suse.de>
10031 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
10032 declaration, the prototype is defined via bits/mathcalls.h.
10033 (__sincosf): Likewise.
10034 (__sincosl): Likewise.
10036 (ldexpf): Likewise.
10037 (ldexpl): Likewise.
10038 (__finite): Likewise.
10039 (__inline_mathcodeNP): New macro without prototype
10041 (__inline_mathcodeNP2): Likewise.
10042 (__inline_mathcodeNP3): Likewise.
10043 (__inline_mathcodeNP_): Likewise.
10044 (__inline_mathcodeNP2_): Likewise.
10045 (__inline_mathcodeNP3_): Likewise.
10046 (__inline_mathopNP): Likewise.
10047 (__inline_mathop_declNP): Likewise.
10048 (__inline_mathop_declNP_): Likewise.
10049 (__inline_mathcode_): Use __inline_mathcodeNP_.
10050 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
10051 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
10052 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
10053 (__expm1l): Don't define prototype, the prototype is defined via
10056 (__expl): Likewise.
10059 (__atan2l): Likewise.
10064 (__fabsl): Likewise.
10082 (__sqrtl): Likewise.
10092 2000-03-28 Ulrich Drepper <drepper@redhat.com>
10094 * Makerules: If make variable md5 is defined to yes after
10095 generating dependencies generate MD5 sum for the object.
10097 * iconv/gconv_builtin.h: Fix length in transformation definition
10100 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
10102 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
10103 allow as well reading from/writing to unaligned addresses on machines
10104 which don't support this in hardware. Use FCTNAME macro to define
10105 function name. Include the file a second time for platforms which
10106 need special unaligned handling.
10107 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
10108 to access potentially unaligned addresses. These macros are intended
10109 to be used only outside the loops.
10110 (unaligned): New definition. In case the machine can handle unaligned
10111 access define as zero. Otherwise as a variable which is initialized
10112 as nonzero in case the buffer passed in at runtime is unaligned with
10113 respect to the character set encoding involved.
10114 Call aligned or unaligned looop functions according to unaligned
10116 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
10117 of direct casting pointer to potentially handle unaligned memory
10119 * iconvdata/8bit-generic.c: Likewise.
10120 * iconvdata/ansi_x3.110.c: Likewise.
10121 * iconvdata/big5.c: Likewise.
10122 * iconvdata/euc-cn.c: Likewise.
10123 * iconvdata/euc-jp.c: Likewise.
10124 * iconvdata/euc-kr.c: Likewise.
10125 * iconvdata/euc-tw.c: Likewise.
10126 * iconvdata/gbk.c: Likewise.
10127 * iconvdata/iso-2022-cn.c: Likewise.
10128 * iconvdata/iso-2022-jp.c: Likewise.
10129 * iconvdata/iso-2022-kr.c: Likewise.
10130 * iconvdata/iso646.c: Likewise.
10131 * iconvdata/iso_6937-2.c: Likewise.
10132 * iconvdata/iso_6937.c: Likewise.
10133 * iconvdata/johab.c: Likewise.
10134 * iconvdata/sjis.c: Likewise.
10135 * iconvdata/t.61.c: Likewise.
10136 * iconvdata/uhc.c: Likewise.
10137 * iconvdata/unicode.c: Likewise.
10138 * iconvdata/utf-16.c: Likewise.
10140 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
10143 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
10144 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
10146 * malloc/mcheck.h (mcheck_check_all): Declare.
10148 * stdio-common/Makefile (tests): Add tst-obprintf.
10150 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
10152 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
10153 Declare pthread_sigmask.
10155 * csu/version.c: Add 2000 to copyright years.
10156 Remove Emacs local variables section.
10158 2000-03-23 Bruno Haible <haible@clisp.cons.org>
10160 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
10161 __gconv_transform_internal_ucs2little): Remove declarations.
10162 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
10163 __gconv_transform_internal_ucs2): Never need to bswap_16.
10164 (__gconv_transform_ucs2reverse_internal,
10165 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
10167 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
10169 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
10170 obsoleting version not being defined at all, in which case the
10171 result is always true.
10173 * Makeconfig (preprocess-versions): New canned sequence for running
10174 cpp on shlib-versions and the like.
10175 (soversions.i): Use it.
10176 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
10177 Versions.def and Versions files.
10179 2000-03-27 Ulrich Drepper <drepper@redhat.com>
10181 * stdio-common/tst-obprintf.c (main): Add another check to see
10182 obstack_printf handling all possible beginnings of the block
10183 inside an obstack chunk.
10185 * locale/programs/localedef.c: Use __malloc_initialize_hook to
10186 install mcheck handler.
10188 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
10191 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
10193 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
10195 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
10196 on [HAVE_ELF && DO_VERSIONING].
10198 2000-03-27 Ulrich Drepper <drepper@redhat.com>
10200 * stdio-common/tst-obprintf.c: New file.
10202 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10204 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
10205 _IO_OVERFLOW directly instead through __overflow.
10207 * locale/programs/localedef.c (construct_output_path): If path
10208 contains a / compute the end of the directory name correctly.
10210 * include/features.h: Undef and document __USE_XOPEN2K.
10212 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
10213 whenever a function is called. Initiated by calling mcheck_pedantic
10215 * malloc/mcheck.h: Declare mcheck_pedantic.
10216 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
10217 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
10220 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
10222 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
10223 * dlfcn/dlopenold.c: Likewise.
10224 * nss/getXXbyYY_r.c: Likewise.
10225 * nss/getXXent_r.c: Likewise.
10226 * hurd/hurdinit.c: Likewise.
10227 * hurd/compat-20.c: Likewise.
10228 * libio/oldiofopen.c: Likewise.
10229 * libio/oldiofclose.c: Likewise.
10230 * libio/oldiofdopen.c: Likewise.
10231 * libio/oldfileops.c: Likewise.
10232 * libio/oldstdfiles.c: Likewise.
10233 * libio/oldiofsetpos.c: Likewise.
10234 * libio/oldiofgetpos.c: Likewise.
10235 * libio/oldiofgetpos64.c: Likewise.
10236 * libio/oldiofsetpos64.c: Likewise.
10237 * libio/oldiopopen.c: Likewise.
10238 * libio/oldpclose.c: Likewise.
10239 * libio/oldtmpfile.c: Likewise.
10240 * libio/freopen.c (freopen): Likewise.
10241 * libio/iofclose.c (_IO_new_fclose): Likewise.
10243 * sysdeps/mach/sys/reboot.h: Include <features.h>.
10244 (reboot): Declare it.
10246 * libio/Makefile (headers): Add bits/stdio-lock.h here.
10248 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
10250 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
10252 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
10253 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
10254 We need this for the sbrk decl, which can be included without Unix98.
10256 2000-03-20 Richard Henderson <rth@cygnus.com>
10258 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
10259 argument to yperr2nss is an int, not size_t.
10260 * posix/regex.c (print_partial_compiled_pattern): Cast all
10261 ptrdiff_t to long for printing.
10262 (print_compiled_pattern): Use Z for printing size_t.
10263 * posix/testfnm.c (tests): Avoid trigraphs.
10264 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
10265 Use a C comment, not an assembly comment.
10267 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
10268 of __ASSUME_32BITUIDS.
10270 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10272 * libio/iofopncook.c: Remove K&R prototypes.
10274 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
10276 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
10277 an initial value of 1024 instead of RLIM_INFINITY.
10279 * Versions.def (libmachuser, libhurduser): Remove these sections,
10280 since these libraries do not presently use symbol versions.
10282 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
10283 is RLIM_INFINITY, return -1 instead.
10285 2000-03-24 Andreas Jaeger <aj@suse.de>
10287 * Makefile (postclean): Added soversions.i.
10289 2000-03-24 Scott Bambrough <scottb@netwinder.org>
10291 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
10292 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
10293 and _FPU_IEEE. Change _FPU_RESERVED.
10295 2000-03-24 Scott Bambrough <scottb@netwinder.org>
10297 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
10299 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
10301 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
10302 (gaih_inet): Remove unused duplicate variable.
10304 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
10305 Don't use __libc_sa_len, which only exists for Linux. Just handle
10306 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
10307 only flavors supported by this function anyway.
10309 2000-03-24 Geoff Clare <gwc@unisoft.com>
10311 * stdlib/strfmon.c: Corrected problems with missing signs and
10312 missing or extra spaces; allow for sign strings longer than
10313 one character; add padding to ensure positive and negative
10314 formats are aligned when a left precision is used.
10316 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10318 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
10319 Patch by John Mizel <John.Mizel@msdw.com>.
10321 2000-03-25 Ulrich Drepper <drepper@redhat.com>
10323 * manual/install.texi: Remove references to crypt add-on.
10325 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
10327 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
10328 section while taking the _hurd_rlimit_lock.
10329 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10331 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
10333 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
10336 * sysdeps/mach/hurd/if_index.c: New file.
10338 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
10339 * sysdeps/gnu/net/if.h: here.
10340 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
10341 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
10342 * sysdeps/generic/net/if.h: New file. Declares just the standard
10343 functions and `struct if_nameindex' type.
10344 * socket/Makefile (headers): Add net/if.h here.
10345 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
10346 * sysdeps/mach/hurd/Dist: Remove it here.
10347 * sysdeps/unix/sysv/linux/Dist: And here.
10348 * sysdeps/generic/if_index.c: Include <net/if.h>.
10350 2000-03-24 Andreas Jaeger <aj@suse.de>
10352 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
10353 access relocated entries in l_info.
10354 (elf_machine_got_rel): Likewise.
10355 (elf_machine_runtime_setup): Likewise.
10356 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
10357 (elf_machine_runtime_setup): Likewise.
10358 (__dl_runtime_resolve): Likewise.
10360 2000-03-23 Ulrich Drepper <drepper@redhat.com>
10362 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
10363 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
10364 according to RFC 2553.
10365 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
10366 * inet/getnameinfo.c: Likewise.
10367 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
10369 2000-03-23 Bruno Haible <haible@clisp.cons.org>
10371 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
10372 Remove no-op pointer increment.
10374 2000-03-23 Andreas Jaeger <aj@suse.de>
10376 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
10377 follow change for libio.h from 2000-03-10.
10379 2000-03-23 Andreas Jaeger <aj@suse.de>
10381 * elf/dl-addr.c: Adjust include paths for ldsodefs location
10383 * elf/dl-debug.c: Likewise.
10384 * elf/dl-deps.c: Likewise.
10385 * elf/dl-error.c: Likewise.
10386 * elf/dl-fini.c: Likewise.
10387 * elf/dl-init.c: Likewise.
10388 * elf/dl-load.c: Likewise.
10389 * elf/dl-lookup.c: Likewise.
10390 * elf/dl-minimal.c: Likewise.
10391 * elf/dl-object.c: Likewise.
10392 * elf/dl-open.c: Likewise.
10393 * elf/dl-preinit.c: Likewise.
10394 * elf/dl-profile.c: Likewise.
10395 * elf/dl-profstub.c: Likewise.
10396 * elf/dl-reloc.c: Likewise.
10397 * elf/dl-runtime.c: Likewise.
10398 * elf/dl-support.c: Likewise.
10399 * elf/dl-symbol.c: Likewise.
10400 * elf/dl-version.c: Likewise.
10401 * elf/rtld.c: Likewise.
10402 * elf/sprof.c: Likewise.
10403 * sysdeps/generic/dl-cache.c: Likewise.
10404 * sysdeps/generic/dl-origin.c: Likewise.
10405 * sysdeps/generic/dl-sysdep.c: Likewise.
10406 * sysdeps/generic/elf/backtracesyms.c: Likewise.
10407 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10408 * sysdeps/generic/libc-start.c: Likewise.
10409 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10410 * sysdeps/powerpc/dl-machine.c: Likewise.
10411 * sysdeps/powerpc/elf/libc-start.c: Likewise.
10412 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10413 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10414 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
10416 * elf/ldsodefs.h: Move file to ...
10417 * sysdeps/generic/ldsodefs.h: ... here.
10419 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
10421 * sysdeps/mips/elf/ldsodefs.h: New file.
10423 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
10425 (_dl_check_map_versions): Likewise.
10426 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10427 * elf/dl-load.c (_dl_init_paths): Likewise.
10428 (_dl_map_object): Likewise.
10429 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
10430 (elf_get_dynamic_info): Likewise.
10431 * elf/do-lookup.h (FCT): Likewise.
10432 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
10433 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
10434 * elf/dl-addr.c (_dl_addr): Likewise.
10435 * elf/dl-runtime.c (profile_fixup): Likewise.
10437 * elf/dl-init.c (_dl_init_next): Likewise.
10438 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
10439 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
10440 (DISTINGUISH_LIB_VERSIONS): Likewise.
10441 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
10442 (elf_machine_rel): Likewise.
10444 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
10445 for writable dynamic section.
10447 2000-03-22 Ulrich Drepper <drepper@redhat.com>
10449 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
10450 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
10452 2000-03-22 Andreas Jaeger <aj@suse.de>
10454 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
10455 from latest Linux kernel.
10457 2000-03-21 Andreas Jaeger <aj@suse.de>
10459 * Versions.def: Add version 2.1.4.
10461 2000-03-21 Ulrich Drepper <drepper@redhat.com>
10463 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
10464 * libio/oldiofopen.c: Likewise.
10465 * libio/oldiofclose.c: Likewise.
10466 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10468 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
10470 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
10471 indicating the first version set to obsolete the conditionalized code.
10472 (compat_symbol): New macro.
10473 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
10474 rhs be the ABI_* macro for the subsuming version. Assign increasing
10475 integer values to the ABI_* macros for supported versions.
10476 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
10477 compat_symbol macro.
10479 2000-03-21 Ulrich Drepper <drepper@redhat.com>
10481 * nscd/connections.c (nscd_run): Pretty print.
10482 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
10484 * manual/charset.texi: Fix typos. Rephrase.
10485 * manual/process.texi: Likewise.
10486 * manual/signal.texi: Likewise.
10487 Patches by Mike Coleman <mkc@kc.net>.
10489 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
10491 * libio/iofdopen.c: Likewise.
10492 * libio/iofgetpos.c: Likewise.
10493 * libio/iofgetpos64.c: Likewise.
10494 * libio/iofopen.c: Likewise.
10495 * libio/iofsetpos.c: Likewise.
10496 * libio/iofsetpos64.c: Likewise.
10497 * libio/iopopen.c: Likewise.
10498 * libio/oldiofopen.c: Likewise.
10499 * libio/pclose.c: Likewise.
10500 * sysdeps/gnu/siglist.c: Likewise.
10501 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10503 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
10504 chance to expand VERSION_##lib##_##version.
10506 * libio/fileops.c: Use new macros from shlib-compat.h to define
10508 * libio/iofclose.c: Likewise.
10509 * libio/oldiofclose.c: Likewise.
10510 Patch by Roland McGrath <roland@frob.com>.
10512 2000-03-21 Jakub Jelinek <jakub@redhat.com>
10514 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
10515 Lay out struct sigcontext according to what really gets passed on
10517 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
10518 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
10519 (prgregset_t, prfpregset_t): Define to elf_* types.
10520 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
10521 Define to correct value.
10522 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
10524 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
10526 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
10528 * scripts/firstversions.awk: Allow multiple version sets in the
10529 "earliest version" specification, meaning that version sets in the
10530 gaps between listed versions should be folded into the earliest later
10531 version that is explicitly listed.
10532 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
10533 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
10535 2000-03-21 Ulrich Drepper <drepper@redhat.com>
10537 * iconv/gconv_builtin.c: Include <endian.h>.
10538 * iconv/gconv_builtin.h: Add UCS-BE aliases.
10539 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
10540 according to current platform.
10541 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
10542 __gconv_transform_internal_ucs2reverse, and
10543 __gconv_transform_internal_ucs4le.
10544 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
10545 __gconv_transform_ucs2reverse_internal and
10546 __gconv_transform_internal_ucs2reverse.
10547 * iconvdata/Makefile (modules): Add UNICODE.
10548 (distribute): Add unicode.c.
10549 * iconvdata/gconv-modules: Add definitions for UNICODE module.
10550 * iconvdata/unicode.c: New file.
10552 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
10553 determine byte order of input and convert accordingly.
10555 * iconvdata/utf-16.c (gconv_init): Fix typo.
10557 2000-03-20 Ulrich Drepper <drepper@redhat.com>
10559 * iconvdata/gconv-modules: Fix typo.
10561 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
10564 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
10566 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
10568 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
10570 2000-03-20 Ulrich Drepper <drepper@redhat.com>
10572 * misc/Makefile (routines): Add mincore.
10574 2000-03-20 Andreas Jaeger <aj@suse.de>
10576 * sysdeps/generic/mincore.c: New stub file.
10578 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
10579 from latest Linux kernel.
10581 2000-03-20 Ulrich Drepper <drepper@redhat.com>
10583 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
10584 _SC_GETPW_R_SIZE_MAX.
10586 2000-03-20 Richard Henderson <rth@cygnus.com>
10588 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
10591 2000-03-20 Richard Henderson <rth@cygnus.com>
10593 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
10594 of arithmetic instructions.
10596 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
10597 with the fpcr. Protect from INV exception.
10598 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
10599 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
10600 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
10602 * sysdeps/alpha/fpu/s_copysign.c: New.
10603 * sysdeps/alpha/fpu/s_copysignf.c: New.
10604 * sysdeps/alpha/fpu/s_fabs.c: New.
10605 * sysdeps/alpha/fpu/s_fabsf.c: New.
10606 * sysdeps/alpha/fpu/s_rint.c: New.
10607 * sysdeps/alpha/fpu/s_rintf.c: New.
10609 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
10611 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
10613 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
10614 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
10615 Use physical addresses not KSEG addresses.
10616 (io_system): Add PYXIS.
10617 (io): Remove hae.reg, sys, hae_shift.
10618 (stb_mb, stw_mb, stl_mb, __sethae): New.
10619 (inline_outb, inline_outw, inline_outl): Don't set hae.
10620 (inline_inb, inline_inw, inline_inl): Likewise.
10621 (dense_sethae): New null function.
10622 (struct cpuinfo_data): New.
10623 (process_cpuinfo): Use local and stack variables, not static.
10624 Move readlink check here from init_iosys.
10625 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
10627 (_hae_shift): Calculate it here.
10628 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
10629 add pciconfig_iobase.
10631 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
10633 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
10634 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
10636 * scripts/versions.awk: Fixed version renaming code to distinguish
10637 libraries properly.
10639 2000-03-19 Ulrich Drepper <drepper@redhat.com>
10641 * include/stdlib.h: Add prototype for __cxa_atexit.
10643 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
10644 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
10646 2000-03-17 Cristian Gafton <gafton@redhat.com>
10648 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
10649 existing rtld-installed-name.
10650 ($(rtld-installed-name)): Request libc-$(version) be installed too.
10651 replace existing rtld-installed-name using $(symbolic-link-prog).
10653 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
10655 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
10656 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
10657 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
10658 but not the former.
10660 2000-03-19 Ulrich Drepper <drepper@redhat.com>
10662 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
10663 glob64. Since there is no glob64 in the LFS proposal applications
10664 can assume that glob handles LFS situations. glob64 is only needed
10665 if alternative filesystem functions are used.
10667 2000-03-19 Geoff Clare <gwc@unisoft.com>
10669 * sysdeps/generic/glob.c: Correct gl_pathc value returned
10670 when GLOB_DOOFFS is set; correct handling of patterns
10671 containing escaped wildcards (and no unescaped ones);
10672 GLOB_ERR flag was being ignored in some situations.
10674 * posix/globtest.c, posix/globtest.sh: Updated to include
10675 tests for the problems fixed by the above changes to glob.c.
10677 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
10679 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
10681 * Makeconfig (soversion.i): Use only first match for each lib.
10683 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
10685 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
10686 rather than $(sysd-dirs-done) to protect these rules.
10688 * Makerules (version-renames.def): Target removed.
10689 (Versions.all): Depend on soversions.i directly and parse it.
10691 * Makeconfig (soversions.i): New target, input-reading parts of
10692 soversions.mk generation moved here; result is a canonicalized
10693 list "LIB VERSION [SET]" for this configuration.
10694 (soversions.mk): Use that as input. Don't emit map-firstversions.
10695 * Makerules (version-renames.def): New target, generated from
10696 soversions.i with contents that was in $(map-firstversions).
10697 (Versions.all): Don't depend on soversions.mk, depend on
10698 version-renames.def instead; just cat it into the input.
10700 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
10701 for $(map-firstversions), which better handles it being empty.
10703 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
10704 supported version for libc 0.2.90.libio to GLIBC_2.2.
10706 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
10707 and use it to emit new variable `map-firstversions'.
10708 * scripts/firstversions.awk: New file.
10709 * Makerules (Versions.all): Use scripts/firstversions.awk and
10710 the $(map-firstversions) value to generate a modified versions list
10711 that includes renames in "A = B" syntax for each version set earlier
10712 than the "earliest symbol version" named in shlib-versions.
10713 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
10714 rename version set A to B in the output to the intermediate file.
10715 * scripts/abi-versions.awk: New file.
10716 * Makerules (abi-versions.h): New target, generated by that script.
10717 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
10718 * include/shlib-compat.h: New file, uses that generated header.
10720 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
10722 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
10723 after stripping # comments, and then run it through cpp.
10724 This allows things like "%ifdef FOO" based on config.h settings.
10725 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
10727 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
10728 and other errors that indicate a pseudo-receive happened, grok through
10729 the message buffer for port rights that need references fixed up.
10731 2000-03-16 Andreas Jaeger <aj@suse.de>
10733 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
10735 * sysdeps/unix/sysv/linux/madvise.c: Remove.
10737 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
10738 from latest Linux kernel.
10739 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
10741 * misc/sys/mman.h: Add prototype for mincore.
10743 2000-03-17 Ulrich Drepper <drepper@redhat.com>
10745 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
10746 entry for GLIBC_2.0 version of setrlimit.
10747 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
10749 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
10751 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
10752 * nis/nss_compat/compat-initgroups.c: Likewise.
10753 * nis/nss_nis/nis-initgroups.c: Likewise.
10754 * nis/nss_nis/nis-netgrp.c: Likewise.
10755 * nis/nss_nis/nis-proto.c: Likewise.
10756 * nis/nss_nis/nis-rpc.c: Likewise.
10757 * nis/nss_nis/nis-service.c: Likewise.
10758 * nis/ypclnt.c: Likewise.
10760 2000-03-16 Andreas Jaeger <aj@suse.de>
10762 * manual/Makefile: MAKEINFO is set to `:' from configure if it
10763 doesn't exist, correct checks. Fixes PR libc/1649.
10765 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
10767 * nscd/hstcache.c: Restore correct UID.
10768 * nscd/pwdcache.c: Likewise.
10769 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
10771 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
10773 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
10774 macros for register names, in line with 2000-03-14 linux change.
10776 * sysdeps/mach/sched_yield.c: New file.
10778 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
10780 * sysdeps/generic/lockfile.c: Include <stdio.h>
10781 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
10782 case <libio.h> defined them.
10783 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
10785 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
10786 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
10788 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
10789 for more pleasing parse error.
10791 2000-03-16 Ulrich Drepper <drepper@redhat.com>
10793 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
10795 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
10797 * elf/Makefile: Add rules to compile and run constload1 test.
10798 * elf/constload1.c: New file.
10799 * elf/constload2.c: New file.
10800 * elf/constload3.c: New file.
10802 2000-03-15 Ulrich Drepper <drepper@redhat.com>
10804 * sysdeps/posix/open64.c: Make __open64 weak alias.
10805 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
10806 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10807 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
10808 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10809 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
10810 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
10811 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10812 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
10813 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10814 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
10816 2000-03-14 Ulrich Drepper <drepper@redhat.com>
10818 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
10819 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
10821 2000-03-16 Mark Kettenis <kettenis@gnu.org>
10823 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
10824 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
10826 2000-03-08 Andreas Jaeger <aj@suse.de>
10828 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
10830 2000-03-14 Ulrich Drepper <drepper@redhat.com>
10832 * timezone/africa: Update from tzdata2000d.
10833 * timezone/asia: Likewise.
10834 * timezone/australasia: Likewise.
10835 * timezone/europe: Likewise.
10836 * timezone/northamerica: Likewise.
10837 * timezone/southamerica: Likewise.
10839 * po/fr.po: Update from translation team.
10840 * po/de.po: Likewise.
10842 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
10843 last parameter. Move code to add map to global scope from here...
10844 * elf/dl-open.c (dl_open_worker): ...here.
10845 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
10846 * elf/rtld.c: Adjust call to _dl_map_object_deps.
10848 * locale/programs/ld-collate.c (collate_read): Fix warning.
10850 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
10851 values and macros for register names.
10853 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
10854 returned by seek cookie function is -1.
10856 2000-03-14 Andreas Jaeger <aj@suse.de>
10858 * locale/localeconv.c (localeconv): Fix typo.
10859 Reported by Andre Charbonneau <andrec@corel.com>.
10861 2000-03-14 Ulrich Drepper <drepper@redhat.com>
10863 * iconv/skeleton.c: Increment __invocation_counter in inner loop
10864 since modules depend on it counting the number of times the conversion
10865 function got called.
10867 * iconv/gconv_open.c: Optimize loop to setup step data structure.
10869 * iconv/gconv.h: Pretty print.
10871 2000-03-04 Ulrich Drepper <drepper@redhat.com>
10873 * posix/wordexp-test.c: Correct one of the tests added in the last
10874 change. Really get the root passwd entry to check again ~root.
10876 2000-03-10 Andreas Jaeger <aj@suse.de>
10878 * manual/filesys.texi (Working Directory): Fix last patch.
10879 Patch by Martin Buchholz <martin@xemacs.org>.
10881 2000-03-10 Andreas Jaeger <aj@suse.de>
10883 * manual/creature.texi (Feature Test Macros): Fix language.
10885 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
10887 * mach/devstream.c (devstream_write, devstream_read): New functions.
10888 (input, output): Functions removed.
10889 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
10890 using only the vanilla fopencookie interface.
10892 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
10893 as macro for __io_functions.
10894 (funcsio): Use cookie_io_functions_t type name.
10895 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
10897 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
10899 (fopencookie): Use it.
10900 * libio/libio.h: Declare _IO_cookie_init.
10901 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
10904 * libio/libio.h (__io_seek_fn): Fix second argument type
10905 to be a pointer, in line with the manual and the old stdio.
10906 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
10908 * sysdeps/generic/bits/stdio-lock.h: New file.
10909 This is a stub with #error, but that's better than no file at all.
10911 2000-03-09 Martin Buchholz <martin@xemacs.org>
10913 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
10914 * manual/message.texi (Using gettextized software): Doc Fixes.
10915 * manual/message.texi (Message Translation): Doc Fixes.
10916 * manual/filesys.texi (File Size): Doc Fixes.
10917 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
10918 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
10919 * iconv/gconv_db.c (find_derivation): Doc Fixes.
10920 * manual/install.texi: Doc Fixes.
10921 * manual/search.texi (Hash Search Function): Doc Fixes.
10922 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
10923 * FAQ.in: Doc Fixes.
10924 * config.h.in: Doc Fixes.
10925 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
10926 Doc Fixes. `allows to' is not correct English.
10928 * elf/rtld.c: Doc fixes.
10929 * manual/creature.texi (Feature Test Macros): Doc fixes.
10930 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
10932 * manual/filesys.texi (Working Directory): Check for ERANGE to
10935 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
10937 * string/argz-stringify.c (__argz_stringify): Fix loop termination
10938 conditions so as not to clobber the final '\0' when there is only one
10939 element in the vector.
10941 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
10943 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
10944 broken by 2000-02-27 change.
10946 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
10948 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
10950 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
10951 argument type, for 2000-02-22 change in signal/signal.h declaration.
10953 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
10955 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
10956 to getdirentries64 (no __), since the Linux implementation
10957 has no __ name, and there is no declaration for the __ name.
10959 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
10961 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
10962 sed regexp so as not to break directory names including /../ within.
10964 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
10965 The sysdeps/generic file is right for BSD. This file was in fact the
10966 Hurd file, but the only difference was the WNOREAP flag that was never
10967 actually implemented or used anywhere.
10969 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
10970 since AC_PATH_PROG already does it for us.
10971 (PERL): Rewrite check added in 2000-02-29 change for syntactic
10972 correctness and sh portability. I replaced the broken check
10973 with a more sensible implementation of the apparently intended
10974 semantics, which might still be questionable. Using expr causes
10975 a non-numeric value for `perl -V:apiversion` to be accepted,
10976 refusing to use only a perl that reports a number less than 5;
10977 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
10978 * configure: Regenerated.
10980 2000-03-08 Andreas Jaeger <aj@suse.de>
10982 * manual/crypt.texi: Fix paths.
10984 2000-03-07 Andreas Jaeger <aj@suse.de>
10986 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
10988 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
10991 2000-03-06 Andreas Jaeger <aj@suse.de>
10993 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
10994 in __sgn1l, otherwise g++ fails to parse this.
10995 Reported by Sean Chen <sean.chen@turbolinux.com>.
10997 2000-03-03 Geoff Keating <geoffk@cygnus.com>
10999 * configure.in: Compute sizeof-long-double.
11000 * configure: Regenerated.
11001 * config.make.in: Make sizeof-long-double available to sub-makes.
11003 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
11005 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
11008 2000-03-03 Geoff Keating <geoffk@cygnus.com>
11010 * Makeconfig (rpath-dirs): Add crypt.
11011 (all-subdirs): Remove md5crypt.
11012 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
11013 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
11014 * sysdeps/generic/crypt-entry.c: Delete.
11015 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
11016 * sysdeps/generic/crypt.h: Delete.
11017 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
11018 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
11019 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
11020 * sysdeps/generic/des_impl.c: Delete.
11021 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
11022 * crypt/sysdeps: Delete.
11023 * crypt/crypt_util.c: Don't use `patchlevel.h'.
11024 * md5-crypt/Versions: Move to crypt/.
11025 * md5-crypt/md5-crypt.c: Move to crypt/.
11026 * md5-crypt/md5.c: Move to crypt/.
11027 * md5-crypt/md5c-test.c: Move to crypt/.
11028 * md5-crypt/md5test.c: Move to crypt/.
11029 * md5-crypt: Delete.
11030 * crypt/Makefile: Adjust for new structure.
11032 2000-03-03 Paul Eggert <eggert@twinsun.com>
11034 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
11035 define to 1 if not defined.
11037 2000-03-03 Andreas Jaeger <aj@suse.de>
11039 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
11041 2000-03-03 Andreas Jaeger <aj@suse.de>
11043 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
11045 (xdr_int64_t): Correctly handle lower half.
11046 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
11048 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
11050 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
11053 2000-03-02 Andreas Jaeger <aj@suse.de>
11055 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
11058 2000-03-02 Andreas Jaeger <aj@suse.de>
11060 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
11062 2000-03-01 Andreas Jaeger <aj@suse.de>
11064 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
11065 (tests): Added tst-getdate.
11067 * time/tst-getdate.c: New file.
11069 * time/datemsk: New file, needed for tst-getdate.
11071 2000-02-29 Cristian Gafton <gafton@redhat.com>
11073 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
11075 2000-02-17 H.J. Lu <hjl@gnu.org>
11077 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
11079 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
11081 (svcudp_recv): Set up message with the new "xp_pad" field for
11083 (svcudp_reply): Support IP_PKTINFO if available.
11085 2000-03-01 Andreas Jaeger <aj@suse.de>
11087 * time/getdate.c (check_mday): Fix check for february.
11088 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
11089 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
11091 2000-03-02 Andreas Jaeger <aj@suse.de>
11093 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
11094 g++ fails to parse this.
11095 Reported by Sean Chen <sean.chen@turbolinux.com>.
11097 2000-02-28 Ulrich Drepper <drepper@redhat.com>
11099 * io/creat.c: Moved to...
11100 * sysdeps/generic/creat.c: ...here.
11101 * io/creat64.c: Moved to...
11102 * sysdeps/generic/creat64.c: ...here.
11103 * io/lockf.c: Moved to...
11104 * sysdeps/generic/lockf.c: ...here.
11106 * crypt/crypt.texi: Moved to...
11107 * manual/crypt.texi: ...here.
11108 * crypt/examples/genpass.c: Moved to...
11109 * manual/examples/genpass.c: ...here.
11110 * crypt/examples/mygenpass.c: Moved to...
11111 * manual/examples/mygenpass.c: ...here.
11112 * crypt/examples/testpass.c: Moved to...
11113 * manual/examples/testpass.c: ...here.
11115 * manual/Makefile (chapters): Add crypt.
11116 * manual/conf.texi: Add usual header for not-last chapter.
11117 * manual/crypt.texi: Add special header for last chapter.
11119 2000-02-28 Geoff Keating <geoffk@cygnus.com>
11121 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
11122 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
11123 complain if there is no crypt add-on.
11124 * crypt/configure: Removed.
11126 * crypt/crypt.texi: Update documentation of US export restrictions
11127 to match the 14 Jan 2000 regulations.
11129 2000-02-28 Geoff Keating <geoffk@cygnus.com>
11131 * crypt: New subdirectory, merged in from the crypt add-on.
11133 2000-02-28 Ulrich Drepper <drepper@redhat.com>
11135 * include/unistd.h: Add __rmdir and __mkdir prototypes.
11138 See ChangeLog.10 for earlier changes.