1 2000-09-18 Mark Kettenis <kettenis@gnu.org>
3 * sysdeps/mach/hurd/bits/time.h: (CLOCKS_PER_SEC): Make a long int
4 constant since that is what clock_t is.
5 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
7 2000-09-11 Mark Kettenis <kettenis@gnu.org>
9 * sysdeps/mach/getloadavg.c (getloadavg): Divide instead of
10 multiply by LOAD_SCALE.
12 2000-09-22 Jakub Jelinek <jakub@redhat.com>
14 * crypt/crypt.h (crypt, setkey, encrypt): Add __THROW.
15 (crypt_r, setkey_r, encrypt_r): Likewise.
17 2000-09-22 Andreas Jaeger <aj@suse.de>
19 * locale/programs/repertoire.c (repertoiremap_hash): Don't specify
22 * sysdeps/alpha/fpu/libm-test-ulps: New file.
23 From Christian Iseli <chris@ludwig-alpha.unil.ch>.
25 2000-09-21 Andreas Jaeger <aj@suse.de>
27 * math/libm-test.inc (atan_test): Test for existence of function.
28 (expm1_test): Likewise.
29 (acos_test): Likewise.
30 (asin_test): Likewise.
32 (log10_test): Likewise.
35 (sqrt_test): Likewise.
39 (log1p_test): Likewise.
40 (log2_test): Likewise.
42 * sysdeps/i386/fpu/libm-test-ulps: Tweak some values for K6.
44 * libio/oldiofsetpos64.c: Fix alias names.
46 2000-09-21 Martin Buchholz <martin@xemacs.org>
48 * manual/terminal.texi (Allocation): Sample code correction.
50 2000-09-20 Andreas Jaeger <aj@suse.de>
52 * iconvdata/Makefile (generated): Add tst-tables.out.
54 * intl/Makefile (generated): Add test output.
56 2000-09-19 Andreas Jaeger <aj@suse.de>
58 * sunrpc/clnt_simp.c (callrpc): Fix write beyond end of buffer.
59 Reported by Jens-Uwe Mager <jum@helios.de>.
61 2000-09-18 Ulrich Drepper <drepper@redhat.com>
63 * version.h (VERSION): Bump to 2.1.94.
65 * sysdeps/mips/Dist: Add fpu/fenv_libc.h.
66 * sysdeps/sparc/sparc32/soft-fp/Dist: Add q_add.c.
67 * sysdeps/sparc/sparc64/soft-fp/Dist: Add qp_add.c.
68 * sysdeps/unix/sysv/linux/ia64/Dist: Add net/route.h.
70 * malloc/mtrace.c (mtrace): Mark stream as close on exec.
72 2000-09-17 Bruno Haible <haible@clisp.cons.org>
74 * iconvdata/utf-16.c (BODY for TO_LOOP): Reject UCS-4 input in the
76 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
77 (BODY for FROM_LOOP): Likewise.
78 * iconv/gconv_simple.c (ucs2_internal_loop): Likewise.
79 (internal_ucs2_loop): Likewise.
80 (ucs2reverse_internal_loop): Likewise.
81 (internal_ucs2reverse_loop): Likewise.
83 2000-09-17 Bruno Haible <haible@clisp.cons.org>
85 * iconvdata/utf-16.c (gconv_init): Add missing slashes to encoding
88 2000-09-17 Bruno Haible <haible@clisp.cons.org>
90 * iconvdata/tst-table-from.c (main): Fix test for error on stdout.
91 * iconvdata/tst-table-to.c (main): Likewise.
93 2000-09-17 Bruno Haible <haible@clisp.cons.org>
95 * iconvdata/iso-ir-165.c (__isoir165_from_tab): Renamed from
97 * iconvdata/cns11643.h (__cns11643l1_to_ucs4_tab): New declaration.
98 * iconvdata/iso-2022-cn-ext.c: Include "cns11643.h".
99 (GB7590_set, GB13132_set, CNS11643_3_set, CNS11643_4_set,
100 CNS11643_5_set, CNS11643_6_set, CNS11643_7_set): Change enum values.
101 (BODY for FROM_LOOP): Fix buffer overrun. Treat CNS11643 plane 3.
102 Return __GCONV_INCOMPLETE_INPUT instead of __GCONV_EMPTY_INPUT.
103 (BODY for TO_LOOP): Fix usage of `set' vs. `used'. Fix typo that
104 caused GB2312 to be used instead of ISO-IR-165. Treat CNS11643
105 plane 3. Fix shift sequences. Output announcement for SS2 and SS3
106 encodings when needed. When outputting an announcement, don't clear
107 most other announcements.
109 2000-09-17 Bruno Haible <haible@clisp.cons.org>
111 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Fix buffer overrun.
112 (BODY for TO_LOOP): Fix usage of `set' vs. `used'.
114 2000-09-14 Bruno Haible <haible@clisp.cons.org>
116 * intl/Versions: Add bind_textdomain_codeset.
118 2000-09-16 Ralf Baechle <ralf@gnu.org>
120 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Reformat. Declare
122 (_RTLD_EPILOGUE): Reformat. Declare size of entry function.
123 (ELF_MACHINE_BEFORE_RTLD_RELOC): Relocate the dynamic linker itself so
124 it will even work when not loaded to the standard address.
125 (RTLD_START): Reformat. Call _dl_start in a way that is safe even
126 before the dynamic linker itself is relocated.
128 2000-09-18 Andreas Jaeger <aj@suse.de>
130 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
131 __ASSUME_32BITUIDS for MIPS.
132 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: New file.
133 * sysdeps/unix/sysv/linux/mips/Dist: Add ipc_priv.h.
135 2000-09-17 H.J. Lu <hjl@gnu.org>
137 * catgets/Makefile ($(objpfx)de/libc.cat): Use
138 $(make-target-directory) instead of mkdir.
140 2000-09-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
142 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
143 __ASSUME_32BITUIDS for __powerpc__.
144 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file.
145 * sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h.
147 2000-09-17 Ulrich Drepper <drepper@redhat.com>
149 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last
151 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
153 2000-09-16 Jakub Jelinek <jakub@redhat.com>
155 * sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes
157 * sysdeps/m68k/Implies: Likewise.
158 * sysdeps/sparc/sparc64/Implies: Likewise.
160 2000-09-16 Jakub Jelinek <jakub@redhat.com>
162 * elf/readlib.c (process_file): Don't error for stale .so links either.
164 2000-09-16 Ulrich Drepper <drepper@redhat.com>
166 * elf/dl-load.c (_dl_map_object_from_fd): Add one more
169 * include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX.
170 Patch by Thorsten Kukuk <kukuk@suse.de>.
172 * dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c.
174 (modules-names): Add defaultmod1 and defaultmod2.
175 Add rules to build test objects.
177 2000-09-15 Ulrich Drepper <drepper@redhat.com>
179 * wctype/wctype.h: Always include <bits/types.h>.
180 Reported by Jim Meyering <meyering@ascend.com>.
182 * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now.
183 * elf/dl-support.c: Likewise.
185 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of
186 st_blocks member in stat and stat64 structs.
187 Patch by Bill Nottingham <notting@redhat.com>.
189 * iconvdata/tst-tables.sh: Add warning that GB18030 test might
192 * math/complex.h: Don't define _Complex macro for gcc 3. Add
193 __extension__ to _Complex_I definition since gcc warns if -pedantic.
194 * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~.
195 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
197 * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if
198 necessary. Move includes of POSIX and Unix limits files to the end.
199 * stdlib/Makefile (tests): Add tst-limits.
200 * stdlib/tst-limits.h: New file.
202 2000-09-15 Andreas Jaeger <aj@suse.de>
204 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV.
206 * sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define.
208 2000-09-15 Jakub Jelinek <jakub@redhat.com>
210 * sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory
212 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
213 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise.
215 2000-09-15 Ulrich Drepper <drepper@redhat.com>
217 * elf/Makefile (distribute): Add nextmod1.c and nextmod2.c.
219 (modules-names): Add nextmod1 and nextmod2.
220 Add rules to build and run next.
221 * elf/next.c: New file.
222 * elf/nextmod1.c: New file.
223 * elf/nextmod2.c: New file.
225 2000-09-14 Jakub Jelinek <jakub@redhat.com>
227 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo.
229 2000-09-15 Andreas Jaeger <aj@suse.de>
231 * sysdeps/mips/fpu/fenv_libc.h: New file.
232 * sysdeps/mips/fpu/feenablxcpt.c: Use fenv_libc.h
233 * sysdeps/mips/fpu/fegetexcept.c: Likewise.
234 * sysdeps/mips/fpu/fedisblxcpt.c: Likewise.
236 * sysdeps/mips/fpu/feenablxcpt.c: New file.
237 * sysdeps/mips/fpu/fegetexcept.c: New file.
238 * sysdeps/mips/fpu/fedisblxcpt.c: New file.
240 2000-09-14 Ulrich Drepper <drepper@redhat.com>
242 * intl/Makefile: Avoid unnecessary test reruns.
244 * stdio-common/tst-printf.sh: Also allow output from 64-bit machines.
246 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change
247 to not use sysctl(). Too many architectures have problems with it.
249 2000-09-14 Andreas Jaeger <aj@suse.de>
251 * scripts/config.sub: New version from subversions.gnu.org.
253 * time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now
256 2000-09-14 Jakub Jelinek <jakub@redhat.com>
258 * posix/regex.c (compile_range): Cast collseq index to unsigned char
259 to avoid accessing data before collseq.
261 * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid
262 pasting strings together.
264 2000-09-14 Greg McGary <greg@mcgary.org>
266 * sysdeps/generic/bp-checks.h: Remove bogus reference to GNU MP in
268 * sysdeps/generic/bp-semctl.h: Likewise.
269 * sysdeps/generic/bp-start.h: Likewise.
270 * sysdeps/generic/bp-sym.h: Likewise.
271 * sysdeps/generic/bp-thunks.h: Likewise. Include <stdio.h> to get
274 2000-09-13 Ulrich Drepper <drepper@redhat.com>
276 * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and
279 * elf/elf.h: Add missing official relocations.
281 * libio/stdio.h: Define __FILE if __need___FILE is defined.
282 * stdio/stdio.h: Likewise.
283 * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE.
284 * include/stdio.h: Handle __need___FILE like __need_FILE.
285 * include/wchar.h: Use __FILE instead of FILE.
286 * libio/fwprintf.c: Include <stdio.h> for FILE definition.
287 * libio/fwscanf.c: Likewise.
288 * libio/getwc.c: Likewise.
290 * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u.
291 * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1.
292 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise.
294 * assert/assert.h: Update comment header about ISO C section.
295 * math/complex.h: Likewise.
296 * ctype/ctype.h: Likewise.
297 * include/errno.h: Likewise.
298 * include/limits.h: Likewise.
299 * locale/locale.h: Likewise.
300 * math/math.h: Likewise.
301 * setjmp/setjmp.h: Likewise.
302 * signal/signal.h: Likewise.
303 * stdio/stdio.h: Likewise.
304 * libio/stdio.h: Likewise.
305 * stdlib/stdlib.h: Likewise.
306 * string/string.h: Likewise.
307 * time/time.h: Likewise.
308 * wcsmbs/wchar.h: Likewise.
309 * wctype/wctype.h: Likewise.
310 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
312 2000-09-13 Andreas Jaeger <aj@suse.de>
314 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test
316 * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise.
317 * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise.
318 Reported by Eric S. Johnson <esj@cs.fiu.edu>, closes PR libc/1887.
320 2000-09-13 Ulrich Drepper <drepper@redhat.com>
322 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
323 constant since this is what clock_t is.
324 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
325 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
326 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
327 * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
329 * time/time.h: Don't defined clockid_t and timer_t unless POSIX
330 definitions are requested.
332 2000-09-13 Andreas Jaeger <aj@suse.de>
334 * shlib-versions: libBrokenLocale needs minimal version for ia64,
335 sparc64 and sh to synch with libc.
337 2000-09-13 Ulrich Drepper <drepper@redhat.com>
339 * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT.
340 (distribute): Add iso-2022-cn-ext.c.
341 Add definitions to compile the new module.
342 * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT.
343 * iconvdata/iso-2022-cn-ext.c: New file.
344 * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from
345 ucs4_from_isoir165. Increment input pointer if successful.
347 * csu/Makefile: Work around a gcc bug when creating csu-dummies.
349 * sysdeps/unix/sysv/linux/getdents.c: Pretty print.
351 2000-09-01 Jes Sorensen <jes@linuxcare.com>
353 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
354 __syscall_getdents64 wrapper.
356 * sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
358 2000-09-12 Ulrich Drepper <drepper@redhat.com>
360 * iconvdata/gb18030.c: Many many changes. Make consistent with
361 charmap and with itself.
362 * iconvdata/tst-tables.sh: Test GB18030.
364 2000-09-11 Ulrich Drepper <drepper@redhat.com>
366 * iconv/skeleton.c: Fix last patch, add missing parameter to
367 unaligned function call.
369 2000-09-10 Bruno Haible <haible@clisp.cons.org>
371 * locale/programs/ld-collate.c (collate_read): Fix typo in handling
374 2000-09-11 Bruno Haible <haible@clisp.cons.org>
376 * locale/programs/ld-collate.c (collate_read): Always initialize
379 2000-09-10 Bruno Haible <haible@clisp.cons.org>
381 * locale/programs/ld-collate.c (collate_finish): Upper bound for
382 ruleidx is 128, not 256.
384 2000-09-11 Ulrich Drepper <drepper@redhat.com>
386 * locale/programs/ld-collate.c (collate_read): Correct check for
387 already inserted entries.
389 2000-09-10 Bruno Haible <haible@clisp.cons.org>
391 * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in
394 2000-09-10 Bruno Haible <haible@clisp.cons.org>
396 * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if
397 MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1.
399 2000-09-10 Bruno Haible <haible@clisp.cons.org>
401 * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with
404 2000-09-10 Bruno Haible <haible@clisp.cons.org>
406 * iconvdata/utf-7.c: New file.
407 * iconvdata/gconv-modules (UTF-7): New module entries.
408 * iconvdata/Makefile (modules): Add UTF-7.
409 (distribute): Add utf-7.c.
410 * iconvdata/testdata/UTF-7: New file.
411 * iconvdata/testdata/UTF-7..UTF8: New file.
412 * iconvdata/TESTS (UTF-7): New entry.
413 * iconvdata/run-iconv-test.sh: Fix confusing output.
415 2000-09-11 Ulrich Drepper <drepper@redhat.com>
417 * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
419 2000-09-10 David S. Miller <davem@redhat.com>
421 * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
422 frame pointer offset for non-fast path.
424 2000-09-10 Ulrich Drepper <drepper@redhat.com>
426 * locale/programs/3level.h (*_init): Initialize level1, level2,
428 (*_add): Remove a few unnecessary conditionals.
430 2000-09-05 Wolfram Gloger <wg@malloc.de>
432 * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread,
433 ensure usability of mutex as an `in use' flag.
435 2000-09-10 Ulrich Drepper <drepper@redhat.com>
437 * shlib-versions: Simplify libm entries. Correct a few Hurd entries.
439 * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
440 ugly GMON_WEAK_START hack.
441 Patch by Philip Blundell <philb@gnu.org>.
443 * sysdeps/i386/i486/bits/string.h: Pretty printing.
445 2000-09-09 Ulrich Drepper <drepper@redhat.com>
447 * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
448 and PPC_ICBI asm for broken compilers.
449 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
451 2000-09-09 Andreas Jaeger <aj@suse.de>
453 * manual/message.texi (Advanced gettext functions): Fix typo.
455 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
458 2000-09-09 Ulrich Drepper <drepper@redhat.com>
460 * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
462 * sysdeps/ia64/memccpy.S: Likewise.
463 Patches by Jim Wilson <wilson@redhat.com>.
465 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname
466 before trying to read /proc.
467 Patch by Matt Wilson <msw@redhat.com>.
468 * include/sys/utsname.h: Declare __uname.
469 * sysdeps/generic/uname.c: Make uname a weak alias of __uname.
470 * sysdeps/mach/hurd/uname.c: Likewise.
471 * sysdeps/unix/syscalls.list: Likewise.
473 * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
476 2000-09-08 Ulrich Drepper <drepper@redhat.com>
478 * posix/getopt.c (_getopt_internal): When long_only is set always
479 recognize conflicts just like before.
481 2000-09-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
483 * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
485 2000-09-08 Greg McGary <greg@mcgary.org>
487 * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
488 * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'.
489 * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
491 2000-09-08 Andreas Jaeger <aj@suse.de>
493 * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
495 * sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
497 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
498 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
499 (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
501 2000-09-07 Ulrich Drepper <drepper@redhat.com>
503 * iconvdata/tst-tables.sh: Enable EUC-KR test.
505 * elf/dl-load.c (lose): Decrement _nl_loaded.
506 (_dl_map_object_from_fd): Don't try to dlopen executables.
508 * iconvdata/tst-tables.sh: Actually return with an error if
509 something goes wrong.
510 * iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
511 * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
513 * iconvdata/tst-tables.sh: Add BIG5HKSCS.
515 * iconvdata/tst-table-to.c (main): Correct cast in iconv call.
516 * iconvdata/tst-table-from.c: Include <string.h>.
517 (try): Correct cast in iconv call.
519 * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
521 * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
522 (sysdep_routines): Remove dl-start.
523 Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
525 * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
527 * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
528 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
530 2000-09-06 Andreas Schwab <schwab@suse.de>
532 * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
534 2000-09-07 Ulrich Drepper <drepper@redhat.com>
536 * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
538 * scripts/config.sub: Strip out -unknown for Linux targets.
539 Patch by Scott Bambrough <scottb@netwinder.org>.
541 * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
544 2000-09-07 Andreas Jaeger <aj@suse.de>
546 * sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
548 * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
551 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
553 * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
554 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
556 * sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
558 * stdlib/tst-bsearch.c (main): Add more test cases.
560 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
561 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
562 Reported by GOTO Masanori <gotom@debian.or.jp>.
564 2000-09-07 Ulrich Drepper <drepper@redhat.com>
566 * posix/Makefile (tests): Add tst-dir.
567 (tst-dir-ARGS): New variable.
568 * posix/tst-dir.c: New file.
570 2000-09-07 Andreas Jaeger <aj@suse.de>
572 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
575 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
577 2000-09-06 Ulrich Drepper <drepper@redhat.com>
579 * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
580 use the hack with tryopen_o_directory to determine at runtime
582 * sysdeps/unix/sysv/linux/opendir.c: New file.
583 * sysdeps/unix/sysv/linux/kernel-features.h: Define
584 __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
586 * catgets/Depend: New file. Add intl.
587 * catgets/Makefile (tests): Add tst-catgets.
588 (generated): Remove de.msg.
589 (generated-dirs): Add de.
590 Add dependency if tst-catgets output on de/libc.cat.
591 * catgets/tst-catgets.c: New file.
593 * po/ja.po: New file.
594 * po/el.po: Update from translation team.
596 * wcsmbs/Depend: New file.
597 * wcsmbs/Makefile (tests): Add tst-btowc.
598 (tst-btowc-ENV): Define.
599 * wcsmbs/tst-btowc.c: New file.
601 * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
602 * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
604 * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
606 * stdlib/Makefile (tests): Add tst-bsearch.
607 * stdlib/tst-bsearch.c: New file.
609 * posix/getopt.c (_getopt_internal): Don't recognize an option
610 name as ambiguous if it's a prefix for more than one name but the
611 other struct option values are identical.
613 * posix/tstgetopt.c: Add test for improved ambiguity recognition.
614 Don't depend on visual inspection of the output file to recognize
616 * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
618 2000-09-06 Andreas Jaeger <aj@suse.de>
620 * sysdeps/alpha/soft-fp/Dist: New file.
621 * sysdeps/i386/soft-fp/Dist: New file.
622 * sysdeps/mips/mips64/soft-fp/Dist: New file.
623 * sysdeps/mips/soft-fp/Dist: New file.
624 * sysdeps/powerpc/soft-fp/Dist: New file.
625 * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
626 * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
628 * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
629 Use sysdep_routines instead of routines to fix make dist failure.
630 * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
632 * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
634 * sysdeps/mips/Makefile [$(subdir) = misc]: Use
635 sysdep_headers instead of headers for make dist.
637 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
640 2000-09-06 Andreas Schwab <schwab@suse.de>
642 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
644 2000-09-06 Andreas Jaeger <aj@suse.de>
646 * soft-fp/Makefile (distribute): Remove ChangeLog.
648 * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use
649 sysdep_routines instead of routines for make dist.
651 2000-09-05 Ulrich Drepper <drepper@redhat.com>
653 * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
654 compatibility check for old stream and call _IO_wide in doubt.
655 (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
656 * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
657 needed tst for such an old structure and don't do anything.
658 * libio/freopen.c: Remove declaration of _IO_stdin_used.
660 2000-09-06 Andreas Jaeger <aj@suse.de>
662 * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
663 sysdep-dl-routines and sysdep_routines instead of rtld-routines
666 * soft-fp/ChangeLog: Merged with this file.
668 2000-06-13 Ulrich Drepper <drepper@redhat.com>
670 * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
672 * soft-fp/Makefile (distribute): Add the math functions, too.
674 * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
676 2000-03-03 Geoff Keating <geoffk@cygnus.com>
678 * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
681 * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
682 * soft-fp/sysdeps/powerpc/q_*: New files.
684 2000-09-05 Ulrich Drepper <drepper@redhat.com>
686 * stdio-common/vfprintf.c (process_string_arg): Handle precision
687 in wide char case correctly. Don't allocate too long temporary
690 * stdio-common/Makefile (tests): Add tst-swprintf.
691 (tst-swprintf-ENV): New variable.
692 * stdio-common/tst-swprintf.c: New file.
694 2000-09-05 Andreas Jaeger <aj@suse.de>
696 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
697 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
698 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
700 2000-09-05 Ulrich Drepper <drepper@redhat.com>
702 * configure.in: Strip out "unknown" from configuration names.
704 2000-09-05 Andreas Jaeger <aj@suse.de>
706 * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
708 * sysdeps/sparc/sparc64/Implies: Add soft-fp.
709 * sysdeps/sparc/sparc32/Implies: Likewise.
710 * sysdeps/powerpc/Implies: Likewise.
712 * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
713 * libio/oldiofgetpos64.c: Likewise.
715 * soft-fp/Makefile (distribute): Remove configure.
717 * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
719 * soft-fp/configure: Remove.
721 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
722 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
724 * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
725 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
727 * soft-fp/sysdeps/powerpc/Makefile: Move from here...
728 * sysdeps/powerpc/soft-fp/Makefile: ... to here.
730 * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
731 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
733 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
734 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
736 * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
737 * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
739 * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
740 * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
742 * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
743 * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
745 * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
746 * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
748 * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
749 * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
751 * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
752 * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
754 * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
755 * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
757 * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
758 * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
760 * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
761 * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
763 * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
764 * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
766 * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
767 * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
769 * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
770 * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
772 * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
773 * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
775 * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
776 * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
778 * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
779 * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
781 * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
782 * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
784 * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
785 * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
787 * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
788 * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
790 * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
791 * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
793 * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
794 * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
796 * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
797 * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
799 * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
800 * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
802 * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
803 * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
805 * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
806 * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
808 * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
809 * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
811 * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
812 * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
814 * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
815 * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
817 * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
818 * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
820 * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
821 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
823 * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
824 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
826 * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
827 * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
829 * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
830 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
832 * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
833 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
835 * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
836 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
838 * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
839 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
841 * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
842 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
844 * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
845 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
847 * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
848 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
850 * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
851 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
853 * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
854 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
856 * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
857 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
859 * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
860 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
862 * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
863 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
865 * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
866 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
868 * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
869 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
871 * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
872 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
874 * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
875 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
877 * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
878 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
880 * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
881 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
883 * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
884 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
886 * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
887 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
889 * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
890 * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
892 * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
893 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
895 * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
896 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
898 * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
899 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
901 * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
902 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
904 * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
905 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
907 * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
908 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
910 * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
911 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
913 * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
914 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
916 * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
917 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
919 * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
920 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
922 * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
923 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
925 * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
926 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
928 * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
929 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
931 * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
932 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
934 * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
935 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
937 * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
938 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
940 * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
941 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
943 * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
944 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
946 * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
947 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
949 * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
950 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
952 * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
953 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
955 * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
956 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
958 * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
959 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
961 * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
962 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
964 * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
965 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
967 * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
968 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
970 * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
971 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
973 * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
974 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
976 * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
977 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
979 * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
980 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
982 * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
983 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
985 * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
986 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
988 * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
989 * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
991 * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
992 * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
994 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
995 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
997 * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
998 * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
1000 * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
1001 * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
1003 * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
1004 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
1006 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
1007 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
1009 * soft-fp/sysdeps/powerpc/Versions: Move from here...
1010 * sysdeps/powerpc/soft-fp/Versions: ... to here.
1012 * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
1013 * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
1015 * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
1016 change symbol version.
1017 * libio/oldiofgetpos64.c: Likewise.
1018 Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
1020 * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
1022 Reported by dyky@kondara.org, closes PR libc/1886.
1024 * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
1027 2000-09-04 Ulrich Drepper <drepper@redhat.com>
1029 * iconvdata/run-iconv-test.sh: Add code to immediately stop the
1030 script when ^C is hit.
1032 * locale/programs/localedef.c (construct_output_path): Correct
1033 computation of endp after asprintf.
1034 * locale/programs/locfile.c (write_locale_data): Don't add extra
1037 2000-09-05 Andreas Jaeger <aj@suse.de>
1039 * scripts/config.guess: New upstream version.
1040 * scripts/config.sub: Likewise.
1041 * manual/texinfo.tex: Likewise.
1043 2000-09-04 Andreas Schwab <schwab@suse.de>
1045 * elf/Makefile (all-dl-routines): New variable.
1046 (elide-routines.os): Use it instead of $(dl-routines).
1047 (all-rtld-routines): New variable.
1048 (extra-objs): Use it instead of $(rtld-routines).
1049 ($(objpfx)dl-allobjs.os): Likewise.
1050 * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
1051 sysdep-dl-routines and sysdep_routines instead of rtld-routines
1054 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1056 * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
1057 Set fname to NULL if the module wasn't found.
1059 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1061 * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
1062 true if trans->name already ends in ".so".
1064 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1066 * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
1068 * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
1069 below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
1070 (__gconv_release_shlib): Change return type to void.
1071 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
1072 step->__counter here.
1073 * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
1074 if the reference is zero.
1075 (release_step): New function.
1076 (gen_steps): Always initialize the __counter to 1. Use release_step.
1077 Don't call the destructor on the step whose initializer failed.
1078 (increment_counter): Use release_step. Don't normally run destructors
1080 (__gconv_close_transform): Use release_step.
1082 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1084 * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
1085 (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
1087 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1089 * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
1090 If the first byte is 0x8E, don't ask for 4 bytes until it has been
1091 verified that the second byte is valid. Leave it to cns11643_to_ucs4
1092 to check for incomplete input.
1093 * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
1094 ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
1095 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
1096 (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
1098 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
1099 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
1100 (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
1101 * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
1104 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1106 * iconv/gconv_db.c (find_derivation): Always use the least-cost
1109 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1111 * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
1114 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1116 * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
1117 * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
1120 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1122 * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
1124 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1126 * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
1128 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1130 * iconvdata/tst-tables.sh: New file.
1131 * iconvdata/tst-table.sh: New file.
1132 * iconvdata/tst-table-from.c: New file.
1133 * iconvdata/tst-table-to.c: New file.
1134 * iconvdata/tst-table-charmap.sh: New file.
1135 * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
1136 (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
1137 tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
1138 ISIRI-3342.irreversible, SJIS.irreversible.
1139 (tests): Add dependency on tst-tables.out.
1140 (tst-tables.out, tst-tables-clean): New rules.
1141 (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
1142 * iconvdata/ISIRI-3342.irreversible: New file.
1143 * iconvdata/EUC-JP.irreversible: New file.
1144 * iconvdata/SJIS.irreversible: New file.
1146 2000-09-04 Ulrich Drepper <drepper@redhat.com>
1148 * manual/locale.texi (General Numeric): Update description of
1149 representation of the grouping information in the locale data.
1150 Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
1152 2000-09-04 Andreas Jaeger <aj@suse.de>
1154 * locale/programs/ld-monetary.c (monetary_read): Fix typo.
1155 * iconv/iconv_prog.c (options): Fix typo.
1156 Reported by dyky@kondara.org, closes PR libc/1885.
1158 2000-09-04 Andreas Jaeger <aj@suse.de>
1160 * sysdeps/generic/fegetenv.c: It's __fegetenv.
1161 Reported by Rob Levin <lilo@transvirtual.com>.
1163 2000-09-03 Ulrich Drepper <drepper@redhat.com>
1165 * time/sys/time.h (gettimeofday): Move restrict for tz parameter
1166 to the typedefs of __timezone_ptr_t.
1167 Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
1169 2000-09-02 Jakub Jelinek <jakub@redhat.com>
1171 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
1174 2000-09-01 H.J. Lu <hjl@gnu.org>
1176 * Makeconfig (built-program-cmd): Don't use the dynamic linker
1177 to run a binary if it is in $(tests-static).
1179 * Rules (binaries-static): Add $(tests-static).
1181 2000-09-02 Andreas Jaeger <aj@suse.de>
1183 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
1185 * libio/fmemopen.c (fmemopen_close): Revert one part of last
1188 2000-09-01 Ulrich Drepper <drepper@redhat.com>
1190 * iconvdata/big5hkscs.c: Regenerated from charmap.
1191 * iconvdata/testdata/BIG5HKSCS: Regenerated.
1192 * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
1194 * libio/fmemopen.c (fmemopen_seek): Add default case in switch
1195 statement. General cleanup.
1197 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1199 * wctype/wcfuncs.c (iswblank): New function.
1200 * wctype/wcfuncs_l.c (__iswblank_l): New function.
1201 * wctype/wcextra.c: Remove file.
1202 * wctype/wcextra_l.c: Remove file.
1203 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
1205 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1207 * locale/programs/ld-collate.c (collate_output): Remove redundant
1209 * string/strcoll.c: Likewise.
1210 * string/strxfrm.c: Include assert.h. Add assert calls like in
1213 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1215 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
1216 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
1217 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
1218 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
1219 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
1220 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
1221 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
1222 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
1223 _NL_CTYPE_GAP5/6 respectively.
1225 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
1226 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
1227 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
1228 Don't initialize __ctype_names and __ctype_width.
1229 * wctype/cname-lookup.h: Remove file.
1230 * wctype/Makefile (distribute): Remove cname-lookup.h.
1231 * wctype/wchar-lookup.h: Include stdint.h.
1232 * wctype/wctype.c (__wctype): Assume new locale format.
1233 * wctype/wctype_l.c (__wctype_l): Likewise.
1234 * wctype/iswctype.c: Don't include cname-lookup.h.
1235 (__iswctype): Assume new locale format.
1236 * wctype/iswctype_l.c: Don't include cname-lookup.h.
1237 (__iswctype_l): Assume new locale format.
1238 * wctype/wctrans.c: Don't include ctype.h.
1239 (wctrans): Assume new locale format.
1240 * wctype/wctrans_l.c (__wctrans_l): Likewise.
1241 * wctype/towctrans.c: Don't include cname-lookup.h.
1242 (__towctrans): Assume new locale format.
1243 * wctype/towctrans_l.c: Don't include cname-lookup.h.
1244 (__towctrans_l): Assume new locale format.
1245 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
1246 localeinfo.h instead.
1247 (__NO_WCTYPE): Remove unused macro.
1248 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
1250 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
1251 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
1252 (towlower, towupper): Likewise.
1253 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
1254 localeinfo.h instead.
1255 (__NO_WCTYPE): Remove unused macro.
1256 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
1257 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
1258 __iswxdigit_l): Assume new locale format.
1259 (__towlower_l, __towupper_l): Likewise.
1260 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
1261 (__ctype32_b): Remove declaration.
1262 (internal_wcwidth): Assume new locale format.
1263 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
1264 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
1265 to map32_b, rename width_3level to width.
1266 (ctype_output): Always create new locale format. Don't emit
1267 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
1268 (allocate_arrays): Always create new locale format.
1270 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
1271 * locale/weightwc.h (findidx): Assume new locale format.
1272 * string/strcoll.c (wcscoll): Remove local variables size, layers,
1274 * string/strxfrm.c (wcsxfrm): Likewise.
1275 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
1276 local variable collseq to 'const char *'.
1277 (SUFFIX): Don't use, don't undefine.
1278 * posix/fnmatch.c: Remove SUFFIX definition.
1279 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
1280 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
1281 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
1282 (collate_finish): Always create new locale format. Remove local
1283 variables min_total, act_size.
1284 (collate_output): Always create new locale format. Remove local
1285 variables table_size, names, tablewc. Rename tablewc_3level to
1288 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1290 * locale/programs/ld-collate.c (obstack_int32_grow,
1291 obstack_int32_grow_fast): New inline functions.
1292 (output_weightwc, collate_output): Use them where possible.
1294 2000-09-01 Ulrich Drepper <drepper@redhat.com>
1296 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
1297 patch (_mode -> _flags).
1299 * libio/Makefile (headers): Add stdio_ext.h.
1300 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
1301 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
1302 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
1303 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
1304 __fsetlocking, and _flushlbf.
1305 * libio/__fbufsize.c: New file.
1306 * libio/__flbf.c: New file.
1307 * libio/__fpending.c: New file.
1308 * libio/__fpurge.c: New file.
1309 * libio/__freadable.c: New file.
1310 * libio/__freading.c: New file.
1311 * libio/__fsetlocking.c: New file.
1312 * libio/__fwritable.c: New file.
1313 * libio/__fwriting.c: New file.
1314 * libio/stdio_ext.h: New file.
1315 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
1316 * libio/libio.h (_IO_USER_LOCK): Define.
1317 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
1318 test _IO_USER_LOCK flag first.
1320 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
1323 2000-09-01 Andreas Jaeger <aj@suse.de>
1325 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
1327 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
1329 2000-08-31 Ulrich Drepper <drepper@redhat.com>
1331 * math/Makefile (tests): Add tst-defintions.
1332 * math/tst-definitions.c: New file.
1334 * stdlib/Makefile (headers): Add bits/wchar.h.
1335 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
1336 * sysdeps/generic/bits/wchar.h: New file.
1337 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
1338 file to define WCHAR_MIN and WCHAR_MAX.
1339 Change UINT*8_MAX and UIN*16_MAX value to type int.
1340 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
1341 file to define WCHAR_MIN and WCHAR_MAX.
1342 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
1344 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
1345 * sysdeps/generic/bits/mathdef.h: Likewise.
1346 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
1347 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
1348 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
1349 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
1350 * locale/locale.h (struct lconv): Add __ prefix to the new members
1352 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
1353 imaxdiv optimizations.
1354 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
1355 * sysdeps/wordsize-64/ldiv.c: Likewise.
1356 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
1358 * sysdeps/generic/bits/fenv.h: Likewise.
1359 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
1360 * sysdeps/ia64/bits/fenv.h: Likewise.
1361 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
1362 * sysdeps/mips/bits/fenv.h: Likewise.
1363 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
1364 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
1365 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1367 * inet/rcmd.c: Use *stat64 instead of *stat internally.
1368 * inet/ruserpass.c: Likewise.
1369 * catgets/open_catalog.c: Likewise.
1370 * intl/loadmsgcat.c: Likewise.
1371 * io/getdirname.c: Likewise.
1372 * locale/loadlocale.c: Likewise.
1373 * misc/getusershell.c: Likewise.
1374 * stdlib/canonicalize.c: Likewise.
1375 * sysdeps/posix/euidaccess.c: Likewise.
1376 * sysdeps/posix/isfdtype.c: Likewise.
1377 * sysdeps/posix/posix_fallocate.c: Likewise.
1378 * sysdeps/posix/tempname.c: Likewise.
1379 * sysdeps/unix/grantpt.c: Likewise.
1380 * sysdeps/unix/opendir.c: Likewise.
1381 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
1382 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
1383 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1384 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
1385 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1386 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1387 * sysvipc/ftok.c: Likewise.
1388 * time/getdate.c: Likewise.
1390 * time/getdate.c: Add extra access test.
1392 2000-08-31 Ulrich Drepper <drepper@redhat.com>
1394 * version.h (VERSION): Bump to 2.1.93.
1396 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
1397 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
1399 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
1400 Make this a new rule depending on tst-gettext.out and run mtrace.
1401 * intl/tst-gettext.c: Call mtrace.
1402 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
1404 * elf/dl-reloc.c: Add a few more __builtin_expect.
1406 * configure.in: Remove --with-gettext option.
1408 * intl/dcigettext.c (free_mem): Correct freeing of
1409 _nl_domain_bindings list.
1411 * sysdeps/generic/setenv.c (free_mem): New function. Free all
1414 * intl/locale.alias: Add aliases for bokmal and nynorsk.
1416 * locale/iso-639.def: Fix 639-1 code for Bokmal.
1418 * stdio-common/itoa-digits.c: Move upper digits to...
1419 * stdio-common/itoa-udigits.c: ...here. New file.
1420 * stdio-common/Makefile (routines): Add itoa-udigits.
1422 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
1423 relocate ld.so don't add supprt for relocations which should not
1426 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
1427 __secure_getenv. Instead test __libc_enable_secure once.
1429 * io/pwd.c (main): Provide a good example, use *_unlocked function.
1431 2000-08-30 Ulrich Drepper <drepper@redhat.com>
1433 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
1434 whether the new record should be freed if it's a duplicate.
1435 (add_module): Adjust insert_module call.
1436 (__gconv_read_conf): Likewise.
1437 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
1439 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
1441 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
1443 * include/link.h (struct r_search_path_struct): New.
1444 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
1445 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
1447 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
1448 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
1449 added at startup time.
1450 * elf/dl-load.c: Fix memory handling. r_search_path_struct
1451 contains element to remember fact that we can free memory.
1452 (all_dirs): Renamed to _dl_all_dirs. Made global.
1453 (_dl_init_all_dirs): New variable.
1454 (fillin_rpath): Save one malloc call.
1455 (decompose_rpath): Change interface. New first parameter points to
1456 r_search_path_struct.
1457 (_dl_init_paths): Adjust for changes. Mark all memory as not
1458 deletable. Set _dl_init_all_paths value.
1459 (open_path): Remove may_free_dirs parameter. r_search_path_elem ***
1460 parameter replaced with r_search_path_struct *. Information about
1461 freeing now contained in r_search_path_struct.
1462 (_dl_map_object): Adjust for above changes.
1464 * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
1466 * elf/dl-load.c (fillin_rpath): Only check for trusted directories
1467 when adding new entries.
1469 * elf/dl-load.c (fillin_rpath): Make local copy of where string
1470 since the object being loaded can be unloaded.
1472 * iconvdata/Makefile (tests): Add tst-loading.
1473 * iconvdata/tst-loading.c: New file.
1475 2000-08-29 Bruno Haible <haible@clisp.cons.org>
1477 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
1478 When comparing a char with an int, always cast the char to
1479 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
1480 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
1482 2000-08-30 Ulrich Drepper <drepper@redhat.com>
1484 * time/strftime.c (my_strftime): Add compatibility code for use
1485 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
1487 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
1488 return 0 for success but always < 0 on failure.
1490 * nss/getXXbyYY_r.c: Define result to *result before including
1493 2000-08-30 Andreas Jaeger <aj@suse.de>
1495 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
1497 2000-08-29 Ulrich Drepper <drepper@redhat.com>
1499 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
1501 * iconvdata/TESTS: Add BIG5HKSCS entry.
1502 * iconvdata/testdata/BIG5HKSCS: New file.
1503 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
1505 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
1508 * libio/iogetline.c: Set mode before the loop in case n==0.
1509 * libio/iogetwline.c: Likewise.
1511 2000-08-29 H.J. Lu <hjl@gnu.org>
1513 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
1515 (_IO_new_file_overflow): Likewise.
1516 * libio/genops.c (_IO_flush_all): Likewise.
1517 * libio/ioftell.c (_IO_ftell): Likewise.
1519 2000-08-29 Akira Higuchi <a@kondara.org>
1521 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
1522 and __end_fct fields of struct __gconv_step.
1523 * iconv/Makefile (tests): Add iconv-bug2.
1524 * iconv/iconv-bug2.c: New file.
1526 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
1527 instead of 'inptr - inend' to ksc5601_to_ucs4.
1529 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
1531 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
1532 character or shift sequence is found at the end of the input
1533 string, return__GCONV_INCOMPLETE_INPUT instead of
1534 __GCONV_EMPTY_INPUT.
1535 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
1536 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
1538 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
1539 __GCONV_ILLEGAL_INPUT for 8bit characters.
1541 2000-08-29 Ulrich Drepper <drepper@redhat.com>
1543 * signal/signal.h (sigpause): Move __THROW before __asm__.
1545 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
1546 names don't match don't return.
1547 Patch by Olaf Kirch <okir@flash.lst.de>.
1549 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1551 * time/strftime.c (my_strftime): Handle # flag for %b as well.
1553 2000-08-27 H.J. Lu <hjl@gnu.org>
1555 * posix/Makefile (otherlibs): Add for building with static-nss
1558 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1560 * libio/stdio.h: Add fmemopen prototype.
1562 2000-08-25 Andreas Jaeger <aj@suse.de>
1564 * libio/Makefile (routines): Add fmemopen.
1565 (tests): Add test-fmemopen.
1566 * libio/Versions: Add fmemopen with version GLIBC_2.2.
1567 * libio/test-fmemopen.c: New file.
1568 * libio/fmemopen.c: New file.
1569 Patches by Hanno Mueller <kontakt@hanno.de>.
1571 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1573 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
1574 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
1576 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
1577 to avoid crashing statically linked applications.
1579 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1581 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
1582 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
1584 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
1585 If the result is fits in the buffer, copy only as many bytes as needed.
1587 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
1588 buffer after copying numbuf into it.
1589 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
1591 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1593 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
1594 the result. When string_len < len, don't clear the rest of the buffer.
1596 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1598 Support for new LC_COLLATE format.
1599 * locale/coll-lookup.h: New file.
1600 * locale/weightwc.h (findidx): When size == 0, call
1601 collidx_table_lookup.
1602 * wcsmbs/wcscoll.c: Include coll-lookup.h.
1603 * wcsmbs/wcsxfrm.c: Likewise.
1604 * posix/fnmatch.c: Likewise.
1605 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
1606 collseq_table_lookup.
1607 * locale/programs/3level.h: New file.
1608 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
1609 by including "3level.h".
1610 * locale/programs/ld-collate.c (wchead_table, collidx_table,
1611 collseq_table): New types, defined by including "3level.h".
1612 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
1613 (encoding_mask, encoding_byte): Remove.
1614 (utf8_encode): Use simple shifts instead.
1615 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
1616 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
1617 (collate_output): New local variable tablewc_3level. When
1618 !oldstyle_tables, set table_size to 0 and names to NULL and fill
1619 tablewc_3level instead of tablewc. Change format of TABLEWC and
1620 COLLSEQWC entries written to the file.
1621 * locale/C-collate.c (collseqwc): Change format.
1622 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
1624 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
1626 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1628 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
1629 (locale_ctype_t): New charnames_idx field.
1630 (ctype_startup): Initialize charnames_idx field.
1631 (find_idx): Speed up dramatically by using charnames_idx inverse table.
1633 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1635 * locale/C-ctype.c: Switch to new locale format.
1636 (_nl_C_LC_CTYPE_names): Remove array.
1637 (STRUCT_CTYPE_CLASS): New macro.
1638 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
1639 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
1640 New three-level tables.
1641 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
1642 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
1643 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
1644 12 class tables and 2 map tables at the end.
1645 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
1646 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
1647 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
1649 (b): Remove trailing semicolon.
1650 (__ctype_names, __ctype_width): Don't initialize.
1651 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
1653 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1655 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
1656 is guaranteed to be allocated with the same malloc() and may be
1658 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
1659 been set to empty by an earlier open_path call, don't pass it again.
1661 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1663 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
1664 we are not optimizing.
1666 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
1669 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
1671 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1673 2000-08-28 Andreas Jaeger <aj@suse.de>
1675 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
1677 2000-08-28 Mark Kettenis <kettenis@gnu.org>
1679 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
1680 getpeername. Use ISO C style function definition.
1681 (getpeername): Provide weak alias.
1682 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
1683 setrlimit. Use ISO C style function definition.
1684 (setrlimit): Provide weak alias.
1686 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
1688 * shlib-versions: Add a rule for S/390 to the libm version list.
1689 * sysdeps/s390/Versions: New file.
1690 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
1691 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
1692 * sysdeps/unix/sysv/linux/s390/Versions: New file.
1693 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
1694 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
1695 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
1696 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
1697 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
1698 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
1699 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
1700 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
1701 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
1702 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
1703 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
1704 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
1705 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
1706 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
1707 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
1709 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1711 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
1712 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
1714 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
1715 * elf/dl-close.c (_dl_close): Print debug message if object is not
1717 * elf/dl-open.c (dl_open_worked): Print message about opencount before
1718 returning to caller.
1720 * po/zh.po: Renamed to...
1721 * po/zh_TW.po: ...this.
1723 2000-08-27 Geoff Keating <geoffk@cygnus.com>
1725 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
1727 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
1728 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
1729 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
1730 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
1732 2000-08-27 Ulrich Drepper <drepper@redhat.com>
1734 * locale/programs/ld-collate.c (insert_weights): Also update
1735 backpointer of next element.
1736 (collate_read): Allow definition of new collation symbols in stage 2.
1737 Symbol after reorder-after can be UCS4 value.
1738 Allow reordering of collation symbols and elements.
1739 Do not only move reorder entry in new position. Instead call
1740 insert_weight to do this and read the weights.
1742 * locale/findlocale.c (free_mem): Add cast to avoid warning.
1744 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
1745 to determine invalid locale name.
1746 * locale/findlocale.c (_nl_find_locale): Likewise.
1748 * posix/annexc.c: Correct test for unavailable feature.
1750 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
1753 2000-08-26 Ulrich Drepper <drepper@redhat.com>
1755 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
1758 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
1759 (sysdep_routines): Add oldgetrlimit64.
1761 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
1762 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
1763 (tests): Add unload, reldep, reldep2, and reldep3.
1764 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
1766 Add rules to build and run unload, reldep, reldep2, and reldep3.
1767 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
1768 Don't create relocation dependency if it is nonzero.
1769 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
1770 can never happen here.
1771 (_dl_lookup_versioned_symbol): Add new parameter explicit.
1772 Don't create relocation dependency if it is nonzero.
1773 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
1774 stuff. This can never happen here.
1775 * sysdeps/generic/ldsodefs.h: Change prototypes.
1776 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
1777 _dl_lookup_up and _dl_lookup_versioned_symbol.
1779 * elf/dl-runtime.c (fixup): Likewise.
1780 (profile_fixup): Likewise.
1781 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
1783 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
1784 * elf/rtld.c (dl_main): Likewise.
1785 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
1786 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
1787 and pass down the caller map.
1788 (_dl_vsym): Likewise.
1789 * elf/reldep.c: New file.
1790 * elf/reldep2.c: New file.
1791 * elf/reldep3.c: New file.
1792 * elf/reldepmod1.c: New file.
1793 * elf/reldepmod2.c: New file.
1794 * elf/reldepmod3.c: New file.
1795 * elf/reldepmod4.c: New file.
1796 * elf/unload.c: New file.
1797 * elf/unloadmod.c: New file.
1799 * elf/do-lookup.h: Remove unused undef_name parameter.
1800 * elf/dl-lookup.c: Adjust callers.
1802 2000-08-25 Ulrich Drepper <drepper@redhat.com>
1804 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
1805 irreversible in recursive call of conversion function to signal that
1806 no error handling is wanted.
1807 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
1808 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
1809 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
1810 recursive error handling call, otherwise to &lirreversible. Use it
1811 for calls to conversion functions.
1812 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
1814 (ucs4_internal_loop_unaligned): Likewise.
1815 (ucs4le_internal_loop): Likewise.
1816 (ucs4le_internal_loop_unaligned): Likewise.
1818 2000-08-25 Greg McGary <greg@mcgary.org>
1820 * sysdeps/i386/memchr.S: Check high bound against chars
1822 * sysdeps/i386/memcmp.S: Likewise.
1823 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
1824 account for pointers that lie one beyond end-of-buffer.
1826 2000-08-25 Ulrich Drepper <drepper@redhat.com>
1828 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
1829 * elf/nodelete.c (fini_ran): New global variable.
1830 (do_test): Before every dlclose call clear fini_ran and test
1831 afterwards that it is not set by the destructors.
1832 * elf/nodelmod1.c: Add destructor which sets fini_ran.
1833 * elf/nodelmod2.c: Likewise.
1834 * elf/nodelmod4.c: Likewise.
1836 2000-08-21 Jes Sorensen <jes@linuxcare.com>
1838 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
1839 getrlimit to the list.
1841 2000-08-18 Jes Sorensen <jes@linuxcare.com>
1843 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
1844 long double format so use ldbl-96 instead of ldbl-128.
1846 2000-08-25 Ulrich Drepper <drepper@redhat.com>
1848 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
1849 even if bits 10 a 11 are non-zero.
1850 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
1852 * Makeconfig: Ensures the soversions.mk part of Makefile gets
1853 included before building gnu/lib-names.h
1854 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1856 * elf/dl-close.c (_dl_close): Don't run destructors of objects
1857 marked DF_1_NODELETE.
1859 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
1860 since we call sigaction in the child.
1862 2000-08-25 Andreas Jaeger <aj@suse.de>
1864 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
1867 2000-08-25 Andreas Jaeger <aj@suse.de>
1869 * manual/arith.texi (Control Functions): Clarify possible
1870 arguments. Closes PR libc/1856.
1872 2000-08-24 H.J. Lu <hjl@gnu.org>
1874 * stdio-common/Makefile (tests): Don't do it for cross compiling.
1875 * malloc/Makefile (tests): Likewise.
1877 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1879 * iconvdata/unicode.c (gconv_init): Correct test for direction.
1881 2000-08-24 Andreas Jaeger <aj@suse.de>
1883 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
1884 only if LIBGD is available.
1886 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1888 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
1889 problems with now restrict parameter types.
1890 (convaddr4to6): Likewise.
1892 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
1894 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
1895 * sysdeps/s390/fpu/feenablxcpt.c: New file.
1896 * sysdeps/s390/fpu/fegetexcept.c: New file.
1897 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
1900 2000-08-24 Andreas Jaeger <aj@suse.de>
1902 * malloc/Makefile (extra-objs): Add memusagestat.o.
1903 (generated): Added memusage and memusagestat for make clean.
1905 * libio/tst_putwc.c (do_test): Delete temporary file.
1906 Move inclusion of test-skeleton to front to have prototype for
1909 * posix/Makefile (generated): Add wordexp-tst.out.
1911 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1913 * resolv/res_hconf.c (free_mem): Remove not needed if.
1915 * time/tzset.c (free_mem): New function.
1916 * string/strsignal.c (free_mem): New function.
1917 * inet/inet_ntoa.c (free_mem): New function.
1918 * sunrpc/clnt_perr.c (free_mem): New function.
1920 2000-08-24 Andreas Jaeger <aj@suse.de>
1922 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
1923 * sysdeps/unix/sysv/syscalls.list: Likewise.
1925 * posix/unistd.h: Move internal prototypes from here ...
1926 * include/unistd.h: ... to here.
1928 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
1930 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1932 * grp/initgroups.c (initgroups): Deallocate groups array.
1933 Reported by jani.raiha@sonera.com [PR libc/1868].
1935 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
1936 * sysdeps/alpha/Dist: Likewise.
1938 2000-08-23 Ulrich Drepper <drepper@redhat.com>
1940 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
1941 destructor). Reported by Solar Designer <solar@false.com>.
1943 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
1944 avoid adding double slashes.
1946 2000-08-23 Jakub Jelinek <jakub@redhat.com>
1948 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
1949 out of the __REDIRECT macro.
1951 2000-08-23 Ulrich Drepper <drepper@redhat.com>
1953 * stdio-common/vfscanf.c: Add %F format support.
1955 * locale/programs/ld-ctype.c (ctype_output): Make sure
1956 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
1957 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
1958 (ctype_read): Enable returning of wide character strings for reading
1959 transliteration information.
1961 2000-08-23 Andreas Jaeger <aj@suse.de>
1963 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
1964 Use static __inline instead of _EXTERN_INLINE.
1966 * misc/sys/select.h: Move prototypes of __select from here ...
1967 * include/sys/select.h: ... to here.
1969 * socket/sys/socket.h: Move prototypes of __send and __connect
1971 * include/sys/socket.h: ... to here.
1973 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
1976 2000-08-23 Jakub Jelinek <jakub@redhat.com>
1978 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
1979 __setrlimit as strong name. Takes only 2 arguments.
1981 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
1982 takes only 2 arguments.
1984 2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
1986 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
1988 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
1990 2000-08-23 Ulrich Drepper <drepper@redhat.com>
1992 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
1993 default_missing character being specified, pick the first
1996 2000-08-23 Andreas Jaeger <aj@suse.de>
1998 * include/wchar.h: Add some pure attributes.
2000 * time/time.h: Add const attribute for dysize.
2002 * include/stdlib.h: Add malloc attribute to __posix memalign.
2004 * stdlib/stdlib.h: Add some pure and malloc attributes.
2005 * wcsmbs/wchar.h: Likewise.
2007 * dirent/dirent.h: Add some pure attributes.
2008 * include/dirent.h: Likewise.
2010 2000-08-23 Jakub Jelinek <jakub@redhat.com>
2012 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
2015 2000-08-22 Ulrich Drepper <drepper@redhat.com>
2017 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
2018 missing buffer size checks.
2020 2000-08-23 Andreas Jaeger <aj@suse.de>
2022 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
2024 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2026 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
2027 otherwise __LINUX_KERNEL_VERSION might not be defined.
2028 (MIN): Define if not already defined.
2030 2000-08-22 Ulrich Drepper <drepper@redhat.com>
2032 * stdio-common/vfprintf.c: Handle %F format.
2033 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
2034 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
2036 * stdio-common/tstdiomisc.c: Add test for %F printf format.
2038 * po/zh.po: New file.
2040 * iconvdata/sjis.c: In conversion from UCS4, correct test for
2041 enough room in target buffer.
2042 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
2043 * iconvdata/bug-iconv1.c: New file.
2044 * iconvdata/Makefile (tests): Add bug-iconv1.
2046 * locale/iso-4217.def: Update entry for Nicaragua.
2048 2000-08-22 Mark Kettenis <kettenis@gnu.org>
2050 * hurd/hurdsig.c: Rearrange headers a bit.
2051 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
2052 when cthreads is being used.
2054 2000-08-22 Ulrich Drepper <drepper@redhat.com>
2056 * elf/Makefile (distribute): Add dl-osinfo.h.
2057 * sysdeps/generic/dl-osinfo.h: New file.
2058 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
2059 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
2061 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
2062 only for !SHARED case. Get the code from dl-osinfo.h.
2064 * stdlib/random_r.c: Cleanups.
2065 * stdlib/tst-random.c: New file.
2066 * stdlib/Makefile (tests): Add tst-random.
2067 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
2069 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
2071 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
2072 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
2073 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
2074 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
2076 2000-08-22 Jakub Jelinek <jakub@redhat.com>
2078 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
2079 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
2080 (__syscall__sysctl): Add.
2082 2000-08-21 Andreas Jaeger <aj@suse.de>
2084 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
2086 * stdlib/tst-strtoll.c: Likewise.
2088 2000-08-21 Ulrich Drepper <drepper@redhat.com>
2090 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
2092 (__initstate_r): Set errno on error.
2093 (__random_r): Likewise.
2094 (__setstate_r): Correct offset when computing
2095 new rptr and fptr. Test for arg_state being NULL.
2096 Reported by Michael Fischer <fischer@cs.yale.edu>.
2098 * posix/regex.h: Add macro definitions to allow compiling outside
2101 * sysdeps/i370/Implies: Removed.
2102 * sysdeps/mvs/Implies: Removed.
2104 * catgets/catgets.c (catopen): Filter out env_var values with / if
2107 * locale/findlocale.c (_nl_find_locale): Move test for unusable
2108 locale name after all getenvs.
2110 * configure.in: Allow sed versions like 3.02.8.
2111 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
2113 2000-08-21 Marko Myllynen <myllynen@lut.fi>
2115 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
2117 2000-08-21 Ulrich Drepper <drepper@redhat.com>
2119 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
2120 of gethostbyname2_r call.
2122 * intl/locale.alias: Add aliases for Korean.
2124 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
2126 * sysdeps/s390/__longjmp.c: Remove unused variable result.
2127 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
2128 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
2129 * sysdeps/s390/fpu/fegetenv.c: New file.
2130 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
2131 * sysdeps/s390/fpu/feholdexcpt.c: New file.
2132 * sysdeps/s390/fpu/fenv_libc.h: New file.
2133 * sysdeps/s390/fpu/fesetenv.c: New file.
2134 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
2135 * sysdeps/s390/fpu/feupdateenv.c: New file.
2136 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
2137 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
2138 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
2139 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
2140 * sysdeps/s390/fpu/ftestexcept.c: New file.
2141 * sysdeps/s390/fpu/libm-test-ulps: New file.
2142 * sysdeps/s390/gmp-mparam.h: Add end of comment.
2143 * sysdeps/s390/initfini.c: New file.
2144 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
2145 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
2146 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
2147 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
2148 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
2149 sys/procfs.h as proposed by Mark Kettenis.
2150 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
2152 2000-08-21 Andreas Jaeger <aj@suse.de>
2154 * include/poll.h: Include include/sys/poll.h to get __poll
2157 * io/sys/poll.h: Move __poll declaration from here...
2158 * include/sys/poll.h: ...to here.
2160 * include/sys/socket.h (__getpeername): Add declaration.
2162 * include/wchar.h (__vswprintf): Add declaration.
2164 * include/stdio.h (__flockfile): Add declaration.
2165 (__funlockfile): Likewise.
2167 2000-08-20 Ulrich Drepper <drepper@redhat.com>
2169 * misc/sys/cdefs.h: Define __restrict_arr.
2170 * include/sys/time.h: Add restrict where required by AGd4.
2171 * inet/arpa/inet.h: Likewise.
2172 * io/sys/stat.h: Likewise.
2173 * io/sys/statvfs.h: Likewise.
2174 * misc/search.h: Likewise.
2175 * misc/sys/select.h: Likewise.
2176 * posix/glob.h: Likewise.
2177 * posix/regex.h: Likewise.
2178 * posix/spawn.h: Likewise.
2179 * posix/unistd.h: Likewise.
2180 * rt/aio.h: Likewise.
2181 * signal/signal.h: Likewise.
2182 * socket/sys/socket.h: Likewise.
2183 * stdlib/ucontext.h: Likewise.
2184 * streams/stropts.h: Likewise.
2185 * string/string.h: Likewise.
2186 * time/time.h: Likewise.
2187 * time/sys/time.h: Likewise.
2189 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
2190 and posix_spawnattr_setscheparam.
2192 * libio/stdio.h: Make cuserid prototype again available for all
2195 * argp/argp-help.c: Unify use of function aliases to make more compact
2197 * include/libintl.h: Likewise.
2198 * inet/rcmd.c: Likewise.
2199 * intl/dcigettext.c: Likewise.
2200 * libio/iofputws.c: Likewise.
2201 * libio/iofputws_u.c: Likewise.
2202 * libio/iogetwline.c: Likewise.
2203 * libio/swprintf.c: Likewise.
2204 * malloc/malloc.c: Likewise.
2205 * nss/digits_dots.c: Likewise.
2206 * posix/fnmatch.c: Likewise.
2207 * posix/spawn_faction_addclose.c: Likewise.
2208 * posix/spawn_faction_adddup2.c: Likewise.
2209 * posix/spawn_faction_addopen.c: Likewise.
2210 * posix/spawni.c: Likewise.
2211 * posix/wordexp.c: Likewise.
2212 * posix/spawni.c: Likewise.
2213 * resolv/res_hconf.c: Likewise.
2214 * resolv/res_init.c: Likewise.
2215 * shadow/lckpwdf.c: Likewise.
2216 * signal/sighold.c: Likewise.
2217 * signal/sigrelse.c: Likewise.
2218 * stdio-common/printf-parse.h: Likewise.
2219 * stdio-common/printf-prs.c: Likewise.
2220 * stdio-common/printf_fp.c: Likewise.
2221 * stdio-common/vfprintf.c: Likewise.
2222 * stdio-common/vfscanf.c: Likewise.
2223 * stdlib/rpmatch.c: Likewise.
2224 * sunrpc/create_xid.c: Likewise.
2225 * sunrpc/key_call.c: Likewise.
2226 * sysdeps/generic/setrlimit64.c: Likewise.
2227 * sysdeps/generic/utmp_file.c: Likewise.
2228 * sysdeps/generic/vlimit.c: Likewise.
2229 * sysdeps/posix/posix_fallocate.c: Likewise.
2230 * sysdeps/posix/posix_fallocate64.c: Likewise.
2231 * sysdeps/posix/sigpause.c: Likewise.
2232 * sysdeps/posix/sigset.c: Likewise.
2233 * sysdeps/unix/grantpt.c: Likewise.
2234 * sysdeps/unix/bsd/ualarm.c: Likewise.
2235 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
2236 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
2237 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2238 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
2239 * time/strftime.c: Likewise.
2240 * wcsmbs/wcscoll.c: Likewise.
2241 * wcsmbs/wcsxfrm.c: Likewise.
2243 * time/tst-getdate.c (main): Make error messages more human readable.
2245 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
2246 postinc/predec instruction.
2247 (_FPU_SETCW): Likewise.
2248 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2250 2000-08-20 Andreas Jaeger <aj@suse.de>
2252 * time/tst-getdate.c (main): Increase error in case of wrong
2254 Fix typo in test case.
2256 2000-08-20 Ulrich Drepper <drepper@redhat.com>
2258 * ctype/ctype.h (isblank): Make available if ISO C99.
2259 * wctype/wctype.h (iswblank): Make available if ISO C99.
2260 * math/math.h (signgam): Don't make available if ISO C99.
2261 * math/tgmath.h (tgamma): Renamed from gamma.
2262 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
2264 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
2266 * intl/plural.y (new_exp): Take number of optional parameters in
2267 second parameter. Test for correct number of parameters and free
2268 correctly in case of failure. Adjust all callers.
2269 (yylex): Allow ';' as terminator character.
2271 2000-08-19 Ulrich Drepper <drepper@redhat.com>
2273 * locale/lc-time.c (free_mem): New function. Free alt_digits and
2276 * locale/findlocale.c (free_mem): Also free here->filename.
2278 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
2280 * math/test-fenv.c (feenv_tests): Clear all exceptions before
2282 (feexcp_nomask_test): Correct printf args.
2283 (feexcp_mask_test): Likewise.
2285 2000-08-19 Andreas Jaeger <aj@suse.de>
2287 * inet/tst-gethnm.c: Include string.h to provide prototype for
2290 * malloc/mtrace.pl (usage): Inform about --help.
2292 2000-08-19 Wolfram Gloger <wg@malloc.de>
2294 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
2297 2000-08-19 Andreas Jaeger <aj@suse.de>
2299 * shlib-versions: Remove libnss_db, libdb and libdb1.
2301 2000-08-19 Jakub Jelinek <jakub@redhat.com>
2303 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
2304 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
2305 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
2306 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
2307 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
2308 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
2309 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
2310 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
2311 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
2312 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
2314 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
2315 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
2317 2000-08-18 Jakub Jelinek <jakub@redhat.com>
2319 * include/glob.h (__glob64): Add prototype.
2320 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
2321 define glob and glob_in_dir.
2322 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
2323 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
2324 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
2325 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
2326 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
2327 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
2328 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
2329 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
2331 2000-08-18 Jakub Jelinek <jakub@redhat.com>
2333 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
2335 2000-08-17 Andreas Jaeger <aj@suse.de>
2337 * math/test-fenv.c (fe_single_test): New function.
2338 (fe_env_tests): Use fe_single_test.
2339 (feenable_test): New tests for feenable/fedisable and
2341 (feexcp_mask_test): New function.
2342 (feexcp_nomask_test): New function.
2344 2000-08-19 Richard Henderson <rth@cygnus.com>
2346 * sysdeps/alpha/fpu/fenv_libc.h: New file.
2347 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
2348 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
2349 * sysdeps/alpha/fpu/fesetround.c: Likewise.
2350 * sysdeps/alpha/fpu/fegetround.c: Likewise.
2351 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
2352 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
2353 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
2354 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
2355 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
2356 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
2357 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
2358 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
2359 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
2360 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
2361 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
2362 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
2364 2000-08-19 Andreas Jaeger <aj@suse.de>
2366 * elf/constload1.c: Include <stdio.h> for puts prototype.
2368 2000-08-19 Ulrich Drepper <drepper@redhat.com>
2370 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
2371 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
2372 a dynamically loaded object remove old l_initfini list.
2373 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
2374 remove some dynamically allocated memory blocks in the dynamic
2375 loading data structures.
2376 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
2377 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
2378 Instead call _dl_check_map_versions only for the dependencies.
2379 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
2380 information of initial objects as not free-able.
2381 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
2384 * elf/filter.c: Call mtrace.
2385 * elf/restest1.c: Likewise. Close the objects.
2386 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
2389 * elf/constload1.c: Add comment explaining not freed memory.
2391 2000-08-18 Andreas Jaeger <aj@suse.de>
2393 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
2394 alignment for structs stat and stat64.
2395 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2397 2000-08-17 Ulrich Drepper <drepper@redhat.com>
2399 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
2400 handling. Patch by Richard Henderson <rth@twiddle.net>.
2402 * nss/Versions: Remove libnss_db information.
2404 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2406 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
2407 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
2408 * sysdeps/sparc/fpu/fegetexcept.c: New file.
2409 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
2411 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
2414 2000-08-17 Ulrich Drepper <drepper@redhat.com>
2416 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
2417 (_FPU_SETCW): Likewise.
2418 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2420 * stdio-common/printf_fp.c: Fix chars_needed computation.
2421 Patch by Greg McGary <greg@mcgary.org>.
2423 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2425 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
2426 _dl_loaded are NULL.
2428 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2430 * manual/arith.texi (feholdexcept): Returns 0 on success.
2432 2000-08-17 Andreas Jaeger <aj@suse.de>
2434 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
2436 Reported by Andi Kleen <ak@suse.de>.
2438 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2440 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
2441 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
2442 * sysdeps/alpha/fpu/fegetexcept.c: New file.
2444 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2446 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
2447 of buf->st_ino and kbuf->st_ino, not __st_ino.
2448 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
2449 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
2450 directive so that only linux/getdents.c is used, not some
2451 architecture specific one.
2453 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2455 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
2456 enabled, not disabled exceptions.
2457 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2458 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
2460 2000-08-17 Greg McGary <greg@mcgary.org>
2462 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
2463 from test program name when constructing suffix for $(LDLIBS-*).
2464 (bounded-thread-library): New variable.
2466 [build-shared, build-static] (libcrypt-dep): Remove variable.
2467 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
2468 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2469 * linuxthreads/Makefile (libpthread, librt): Remove variables.
2470 (librt-tests): Add variable. (tests): Use it.
2471 [build-shared, build-static]
2472 ($(addprefix $(objpfx),$(tests)),
2473 $(addprefix $(objpfx),$(librt-tests))):
2474 Consolidate individual dependencies.
2476 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
2478 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
2479 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2481 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
2483 [build-shared, build-static]
2484 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
2485 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2487 2000-08-17 Greg McGary <greg@mcgary.org>
2489 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
2490 * sysdeps/unix/make-syscalls.sh: Likewise.
2491 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2492 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2493 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2494 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
2495 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
2497 2000-08-17 Greg McGary <greg@mcgary.org>
2499 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
2500 Wrap extern symbols in BP_SYM ().
2501 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2502 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2503 * sysdeps/i386/fpu/s_remquo.S: Likewise.
2504 * sysdeps/i386/fpu/s_remquof.S: Likewise.
2505 * sysdeps/i386/fpu/s_remquol.S: Likewise.
2506 * sysdeps/i386/fpu/s_sincos.S: Likewise.
2507 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2508 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2509 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2510 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2512 2000-08-16 Andreas Schwab <schwab@suse.de>
2514 * sysdeps/m68k/fpu/fegetexcept.c: New file.
2515 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
2516 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
2518 2000-08-15 Ulrich Drepper <drepper@redhat.com>
2520 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
2521 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
2522 * elf/dl-support.c: Define _nl_nloaded.
2523 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
2524 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
2525 object to global list.
2526 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
2527 from _dl_loaded list.
2528 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2529 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
2532 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
2534 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
2536 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
2538 2000-08-16 Andreas Jaeger <aj@suse.de>
2540 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
2542 2000-08-15 Marko Myllynen <myllynen@lut.fi>
2544 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
2546 2000-08-15 Ulrich Drepper <drepper@redhat.com>
2548 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
2549 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
2550 (sysdep_routines): Add oldgetrlimit64.
2551 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
2552 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2554 * include/link.h: Undo last patches. Hurd now has stat64.
2555 * elf/Makefile: Likewise.
2556 * elf/dl-load.c: Likewise.
2557 * elf/dl-misc.c: Likewise.
2558 * elf/dl-profile.c: Likewise.
2559 * sysdeps/generic/sysd-link.h: Removed.
2560 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
2562 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
2563 thread event callback function.
2564 (__aio_notify_only): Use function above.
2565 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
2567 2000-08-16 Mark Kettenis <kettenis@gnu.org>
2569 * sysdeps/mach/hurd/lseek64.c: New file.
2571 2000-08-15 Mark Kettenis <kettenis@gnu.org>
2573 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
2575 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
2577 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
2579 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
2581 2000-08-15 Mark Kettenis <kettenis@gnu.org>
2583 * sysdeps/mach/hurd/xstatconv.c: New file.
2584 * sysdeps/mach/hurd/fxstat64.c: New file.
2585 * sysdeps/mach/hurd/lxstat64.c: New file.
2586 * sysdeps/mach/hurd/xstat64.c: New file.
2587 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
2589 2000-08-15 Mark Kettenis <kettenis@gnu.org>
2591 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
2592 Initialize, needed for change in common symbol handling in newer
2593 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
2595 2000-08-15 Ulrich Drepper <drepper@redhat.com>
2597 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
2598 * elf/constload2.c: Add destructor to unload constload3.
2600 * include/link.h: Include sysd-link.h.
2601 * sysdeps/generic/sysd-link.h: New file.
2602 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
2603 * elf/Makefile (distribute): Add sysd-link.h.
2604 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
2605 types and functions directly.
2606 * elf/dl-misc.c: Likewise.
2607 * elf/dl-profile.c: Likewise.
2609 * elf/loadfail.c (main): Close all successfully loaded objects.
2611 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
2613 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
2614 there is already one.
2616 * elf/dl-close.c: Pretty print.
2618 2000-08-14 Ulrich Drepper <drepper@redhat.com>
2620 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
2621 global (with file scope). Add __libc_subfreeres function to free the
2623 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
2624 in ttyname function.
2626 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
2628 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
2630 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
2631 mapping them to /x5c and /x7e respectively.
2633 * locale/programs/ld-ctype.c: Add support for more definitions after
2636 2000-08-14 Jakub Jelinek <jakub@redhat.com>
2638 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
2639 * sysdeps/unix/sysv/linux/kernel-features.h
2640 (__ASSUME_GETDENTS64_SYSCALL): Define.
2641 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
2642 syscall if available to get d_type fields.
2643 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
2644 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
2645 __lxstat64): Export at GLIBC_2.2.
2646 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
2648 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
2649 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
2650 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
2651 getdirentries64, versionsort64): Remove.
2652 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
2653 getdirentries64, versionsort64): Remove.
2655 2000-08-13 Ulrich Drepper <drepper@redhat.com>
2657 * posix/Makefile: Remove rules to generate glob package.
2659 * posix/Makefile (tests): Add tst-regexloc.
2660 (tst-regexloc-ENV): Add LOCPATH.
2661 * posix/tst-regexloc.c: New file.
2663 2000-08-12 Andreas Jaeger <aj@suse.de>
2665 * include/features.h (__STDC_ISO_10646__): Define.
2666 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
2668 2000-08-13 Ulrich Drepper <drepper@redhat.com>
2670 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
2672 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
2673 for revision 6 and up).
2675 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
2677 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
2678 to get definitions of just these types.
2680 * signal/signal.h: Define thread signal handling functions also for
2683 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
2685 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2686 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
2687 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2688 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2690 * sysvipc/sys/shm.h: Define pid_t for XPG.
2692 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
2693 they are not anymore required here.
2695 * wcsmbs/wchar.h: Make the various wide char string and stream
2696 functions available for the respective XPG versions.
2698 * nss/Makefile: Remove rules to build and distribute nss_db.
2700 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
2701 * sysdeps/generic/scandir64.c: Likewise.
2702 * sysdeps/generic/versionsort64.c: Likewise.
2704 2000-08-13 Ulrich Drepper <drepper@redhat.com>
2705 Benjamin Koznik <bkoz@redhat.com>
2707 * libio/fileops.c: Merge with libstdc++-v3.
2708 * libio/genops.c: Likewise.
2709 * libio/iofclose.c: Likewise.
2710 * libio/iofopen.c: Likewise.
2711 * libio/iofwide.c: Likewise.
2712 * libio/libio.h: Likewise.
2713 * libio/libioP.h: Likewise.
2714 * libio/stdfiles.c: Likewise.
2715 * libio/stdio.c: Likewise.
2716 * libio/wfileops.c: Likewise.
2717 * libio/wgenops.c: Likewise.
2719 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
2721 2000-08-12 Ulrich Drepper <drepper@redhat.com>
2723 * locale/programs/localedef.c: Implement --prefix option to allow
2724 writing in standard places of alternative install directories.
2726 * posix/regex.c (compile_range): Implement collation sequence
2727 handling for glibc. Use simple character ordering otherwise and
2730 2000-08-12 Mark Kettenis <kettenis@gnu.org>
2732 * sysdeps/generic/scandir64.c: Include <dirent.h>.
2734 2000-08-12 Andreas Jaeger <aj@suse.de>
2736 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
2737 __USE_FILE_OFFSET64 correctly for locking.
2738 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2740 2000-08-12 Jakub Jelinek <jakub@redhat.com>
2742 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2743 Define for 2.4.1 on sparc as well.
2744 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
2745 for F_GETLK64, F_SETLK64, and F_SETLKW64.
2746 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
2747 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
2749 2000-08-12 Ulrich Drepper <drepper@redhat.com>
2751 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
2754 2000-08-12 Andreas Jaeger <aj@suse.de>
2756 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
2757 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
2759 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
2760 mips2 for assembler.
2762 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
2763 if fnctl64 is not available for F_*LK*64.
2765 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
2767 2000-08-12 Ulrich Drepper <drepper@redhat.com>
2769 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2770 Define for 2.4.1 on x86.
2771 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
2772 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
2773 for F_GETLK64, F_SETLK64, and F_SETLKW64.
2775 * dirent/dirent.h: Define DT_WHT.
2777 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
2778 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
2779 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
2780 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
2781 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
2782 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
2784 2000-08-11 Ulrich Drepper <drepper@redhat.com>
2786 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
2787 lookup, pass pointer to array with NULL pointer [PR libc/1858].
2788 * inet/Makefile (tests): Add tst-gethnm.
2789 * inet/tst-gethnm.c: New file.
2791 * rt/aio_cancel.c: If canceling a specific request which is running
2792 *really* do nothing.
2793 * rt/aio_misc.h: Add `done' to states of a request.
2794 * rt/aio_misc.c: Add several tests for the correct state.
2795 Simplify request table memory handling.
2797 2000-08-10 Jakub Jelinek <jakub@redhat.com>
2799 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
2800 * dirent/scandir64.c: Move...
2801 * sysdeps/generic/scandir64.c: ...here.
2802 * dirent/alphasort64.c: Move...
2803 * sysdeps/generic/alphasort64.c: ...here.
2804 * dirent/versionsort64.c: Move...
2805 * sysdeps/generic/versionsort64.c: ...here.
2806 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
2807 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
2808 Export symbols at GLIBC_2.2.
2809 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
2810 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
2811 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
2812 __versionsort64): Add prototypes.
2813 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
2814 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
2816 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
2818 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
2819 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
2820 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
2821 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
2823 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
2824 Adjust for kernel-2.4.0-test6 layout.
2825 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
2826 GLIBC_2.1 and GLIBC_2.2.
2827 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
2828 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
2829 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
2830 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
2831 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
2832 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
2833 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
2834 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
2835 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
2836 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
2837 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
2838 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
2839 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
2840 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
2842 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
2843 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
2844 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
2845 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
2846 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
2847 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
2848 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
2850 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
2851 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
2853 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
2854 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
2855 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
2856 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
2857 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
2859 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
2861 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
2863 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
2864 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
2865 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
2866 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
2867 st_ino from __st_ino.
2868 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
2869 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
2870 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
2871 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
2872 set __st_ino in addition to st_ino.
2873 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
2874 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
2875 __old_getdents64 as well.
2876 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
2877 getdirentries64 and old_getdirentries64 as well.
2878 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
2879 __GETDENTS): Define.
2880 (GETDENTS64): Remove.
2881 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
2883 (GETDENTS64): Remove.
2884 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
2885 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
2886 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
2888 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
2889 __old_readdir64_r as well.
2890 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2891 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
2893 2000-08-08 Jes Sorensen <jes@linuxcare.com>
2895 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
2896 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
2897 define of the kernel.
2898 Add missing __SEG_PSTKOVF definition.
2899 Adjust the padding of struct siginfo and struct sigevent to
2900 match the fact that sigval_t is 64 bit.
2902 2000-08-10 Ulrich Drepper <drepper@redhat.com>
2904 * timezone/zic.c: Update from tzcode2000f.
2905 * timezone/australasia: Update from tzdata2000f.
2906 * timezone/europe: Likewise.
2907 * timezone/southamerica: Likewise.
2908 * timezone/yearistype: Likewise.
2910 2000-08-10 Andreas Jaeger <aj@suse.de>
2912 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
2913 stat with current MIPS kernel.
2915 2000-08-01 Mark Kettenis <kettenis@gnu.org>
2917 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
2918 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
2919 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
2920 Remove the junk that's only relevant in the Linux kernel itself.
2921 Add a warning saying that this file is now obsolete, and include
2923 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
2924 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
2925 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
2926 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
2927 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
2928 and add the notice that the file is primarily there for GDB.
2929 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
2931 2000-08-09 Jakub Jelinek <jakub@redhat.com>
2933 * time/tzfile.c (__tzfile_compute): __tzstring zones
2936 2000-08-09 Jakub Jelinek <jakub@redhat.com>
2938 * resolv/resolv.h (__res_state): Surround prototype with
2939 __BEGIN_DECLS/__END_DECLS.
2940 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
2942 2000-08-04 Jes Sorensen <jes@linuxcare.com>
2944 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
2945 Make independant of asm/resource.h from the Linux kernel.
2947 2000-08-06 Bruno Haible <haible@clisp.cons.org>
2949 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
2951 2000-08-06 Bruno Haible <haible@clisp.cons.org>
2953 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
2954 * locale/Makefile (locale-CPPFLAGS): Likewise.
2956 2000-08-09 Ulrich Drepper <drepper@redhat.com>
2958 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
2961 2000-08-03 Jakub Jelinek <jakub@redhat.com>
2963 * misc/Versions (mincore): Export at GLIBC_2.2.
2965 2000-08-03 Bruno Haible <haible@clisp.cons.org>
2967 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
2969 2000-08-02 Mark Kettenis <kettenis@gnu.org>
2971 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
2972 socketpair. Made socketpair a weak alias.
2973 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
2974 __socketpair. Use S_IFIFO protocol to make pipes POSIX
2975 conforming, but fall back on the old protocol if the socket server
2977 * include/sys/socket.h: Add prototype for __socketpair.
2979 2000-08-09 Andreas Schwab <schwab@suse.de>
2981 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
2982 long long modifier is seen.
2984 * elf/nodelete.c (do_test): Remove reference to undefined member
2986 * rt/tst-aio4.c (do_test): Likewise.
2988 * configure.in: Add `-lm' when checking for libgd.
2989 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
2992 2000-08-09 Andreas Jaeger <aj@suse.de>
2994 * configure.in: Change required make versions.
2996 * manual/install.texi (Tools for Compilation): Document required
2998 (Supported Configurations): Update list of supported
3001 2000-08-08 Ulrich Drepper <drepper@redhat.com>
3003 * locale/linereader.c (get_string): Don't print an error is a string
3004 contains an unknown character.
3006 2000-08-06 Ulrich Drepper <drepper@redhat.com>
3008 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
3009 (new_symbol): Take new parameters with name of the symbol.
3011 (handle_ellipsis): Don't only allow character symbols.
3012 (collate_read): Allow string of collating elements contain invalid
3013 characters; ignore entry in this case.
3014 Handle ellipsis of collating symbols before first order_start.
3015 Allow ellipsis in state 0.
3017 2000-08-04 Ulrich Drepper <drepper@redhat.com>
3019 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
3021 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
3023 2000-08-04 Greg McGary <greg@mcgary.org>
3025 * posix/regex.c (SET_HIGH_BOUND): New macro.
3026 (MOVE_BUFFER_POINTER): Use it.
3027 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
3028 (EXTEND_BUFFER): Use it.
3030 2000-08-03 Ulrich Drepper <drepper@redhat.com>
3032 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
3033 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
3034 _wide_data but from _IO_FILE directly.
3035 * libio/iofclose.c: Likewise.
3036 * libio/wfileops.c: Likewise.
3038 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
3039 * libio/libioP.h: Change prototypes.
3041 2000-08-03 Greg McGary <greg@mcgary.org>
3043 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
3044 frame pointer early so that we save caller's frame pointer.
3045 * sysdeps/i386/elf/setjmp.S: Likewise.
3047 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
3048 * io/test-utime.c: Test passing NULL as utimbuf* arg.
3050 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
3051 (MOVE_BUFFER_POINTER): Handle high_bound properly.
3052 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
3054 2000-08-03 Ulrich Drepper <drepper@redhat.com>
3056 * iconvdata/big5.c: Updated.
3057 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
3059 2000-08-02 Ulrich Drepper <drepper@redhat.com>
3061 * Makeconfig (all-subdirs): Add conform.
3062 * conform/Makefile: Include ../Rules.
3064 * Makefile (README): Add rules to generate here as well.
3066 2000-08-02 Ulrich Drepper <drepper@redhat.com>
3068 * version.h (VERSION): Bump to 2.1.92.
3070 * sysdeps/ia64/Dist: Add _mcount.S.
3072 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
3074 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
3076 * elf/Makefile (distribute): Add missing modules.
3078 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
3080 * posix/regex.c (compile_range): Translate range start and end
3081 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
3083 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
3086 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
3088 2000-08-02 Andreas Jaeger <aj@suse.de>
3090 * elf/elf.h (EM_S390): Added.
3091 (R_390_*): New relocs for S390.
3093 * sysdeps/unix/sysv/linux/s390/Dist: New file.
3094 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
3095 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
3096 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
3097 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
3098 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
3099 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
3100 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
3101 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
3102 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
3103 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
3104 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
3105 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
3106 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
3107 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
3108 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
3109 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
3110 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
3111 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
3112 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
3113 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
3114 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
3115 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
3116 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
3117 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
3118 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
3119 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
3120 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
3121 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
3122 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
3123 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
3124 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
3125 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
3126 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
3127 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
3128 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
3129 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
3130 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
3131 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
3132 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
3133 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
3134 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
3135 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
3136 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
3137 * sysdeps/s390/sysdep.h: New file.
3138 * sysdeps/s390/sys/ucontext.h: New file.
3139 * sysdeps/s390/sub_n.S: New file.
3140 * sysdeps/s390/strncpy.S: New file.
3141 * sysdeps/s390/strcpy.S: New file.
3142 * sysdeps/s390/stackinfo.h: New file.
3143 * sysdeps/s390/setjmp.S: New file.
3144 * sysdeps/s390/s390-mcount.S: New file.
3145 * sysdeps/s390/mul_1.S: New file.
3146 * sysdeps/s390/memusage.h: New file.
3147 * sysdeps/s390/memset.S: New file.
3148 * sysdeps/s390/memcpy.S: New file.
3149 * sysdeps/s390/memchr.S: New file.
3150 * sysdeps/s390/machine-gmon.h: New file.
3151 * sysdeps/s390/ldbl2mpn.c: New file.
3152 * sysdeps/s390/gmp-mparam.h: New file.
3153 * sysdeps/s390/fpu/fpu_control.h: New file.
3154 * sysdeps/s390/fpu/fesetround.c: New file.
3155 * sysdeps/s390/fpu/fegetround.c: New file.
3156 * sysdeps/s390/fpu/fclrexcpt.c: New file.
3157 * sysdeps/s390/fpu/bits/fenv.h: New file.
3158 * sysdeps/s390/ffs.c: New file.
3159 * sysdeps/s390/elf/start.S: New file.
3160 * sysdeps/s390/elf/setjmp.S: New file.
3161 * sysdeps/s390/elf/bsd-setjmp.S: New file.
3162 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
3163 * sysdeps/s390/dl-machine.h: New file.
3164 * sysdeps/s390/bzero.S: New file.
3165 * sysdeps/s390/bsd-setjmp.S: New file.
3166 * sysdeps/s390/bsd-_setjmp.S: New file.
3167 * sysdeps/s390/bits/string.h: New file.
3168 * sysdeps/s390/bits/setjmp.h: New file.
3169 * sysdeps/s390/bits/huge_val.h: New file.
3170 * sysdeps/s390/bits/endian.h: New file.
3171 * sysdeps/s390/bits/byteswap.h: New file.
3172 * sysdeps/s390/bcopy.S: New file.
3173 * sysdeps/s390/backtrace.c: New file.
3174 * sysdeps/s390/atomicity.h: New file.
3175 * sysdeps/s390/asm-syntax.h: New file.
3176 * sysdeps/s390/addmul_1.S: New file.
3177 * sysdeps/s390/add_n.S: New file.
3178 * sysdeps/s390/abort-instr.h: New file.
3179 * sysdeps/s390/__longjmp.c: New file.
3180 * sysdeps/s390/Makefile: New file.
3181 * sysdeps/s390/Implies: New file.
3182 * sysdeps/s390/Dist: New file.
3183 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
3185 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3187 Remove incompatible IPv6 extension of RPC.
3188 * sunrpc/Makefile: Undo changes.
3189 * sunrpc/rpc_main.c: Likewise.
3190 * sunrpc/rpc/clnt.h: Likewise.
3191 * sunrpc/rpc/svc.h: Likewise.
3192 * sunrpc/bindrsvprt6.c: Removed.
3193 * sunrpc/clnt_tcp6.c: Removed.
3194 * sunrpc/clnt_udp6.c: Removed.
3195 * sunrpc/svc_tcp6.c: Removed.
3196 * sunrpc/svc_udp6.c: Removed.
3198 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
3199 dgettext, and dcgettetxt.
3201 * intl/locale.alias: Update japanese aliases.
3203 * sysdeps/ia64/bits/byteswap.h: New file.
3204 Patch by Dan Pop <Dan.Pop@cern.ch>.
3206 * misc/sys/cdefs.h: Define __attribute_format_arg__.
3207 * intl/libintl.h: Use it here instead of using __attribute__ directly.
3209 2000-07-13 H.J. Lu <hjl@gnu.org>
3211 * posix/regex.c (re_max_failures): Set to 4000.
3213 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3215 * gnulib/Makefile (tests): Add tst-gcc.
3216 * gnulib/tst-gcc.c: New file.
3218 * assert/Makefile (routines): Add __assert.
3219 * assert/Versions: Export __assert for glibc 2.2.
3220 * assert/__assert.c: New file.
3221 * assert/assert.h: Declare __assert.
3223 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3225 * locale/localeinfo.h (_ISCTYPE): New macro.
3226 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
3227 LC_CTYPE locale format.
3228 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
3229 (ctype_output): Output class_b[nr] right before class_3level[nr].
3230 (allocate_arrays): Fill class_b, similarly to class_3level.
3232 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3233 Joseph S. Myers <jsm28@cam.ac.uk>
3235 * math/tgmath.h: Make standard compliant. Don't ask how.
3237 2000-07-04 H.J. Lu <hjl@gnu.org>
3239 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
3240 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
3241 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
3243 2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3245 * include/features.h (_XOPEN_SOURCE): Update the explanation.
3246 (__USE_LARGEFILE): Add an explanation.
3247 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
3248 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
3250 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3252 * libio/Makefile: Enable exception handling for genops, wgenops,
3253 fileops, and wfileops.
3255 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3257 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
3258 acount that elf/rtld's main program might remove some varibales
3259 from the environment if we're trying to be secure. Move the Hurd
3260 startup data if necessary, or, if we there is no startup data,
3261 make sure the magical convention that ARGV[0] is stored just after
3262 the environment list.
3264 2000-08-01 Philip Blundell <philb@gnu.org>
3266 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
3267 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
3268 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
3269 oldsetrlimit for GLIBC_2.0.
3271 2000-08-01 Andreas Jaeger <aj@suse.de>
3273 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
3274 (LINE_PARSER): Allow any number of spaces between ip address and
3275 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
3277 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
3279 * include/netdb.h: Remove getipnodebyaddr and friends, leave
3282 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
3283 _nss_nisplus_getipnodebyname_r.
3285 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
3286 now, getipnodebyname is deprecated.
3287 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
3290 * inet/Makefile (routines): Don't build getipnodebyaddr and
3293 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
3295 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
3297 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
3299 * wctype/Makefile (distribute): Add wchar-lookup.h.
3301 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
3303 * iconvdata/Makefile (distribute): Add isiri-3342.h.
3305 2000-08-01 Andreas Schwab <schwab@suse.de>
3307 * Make-dist (dist): Resolve `..' in file names.
3309 2000-08-01 Andreas Jaeger <aj@suse.de>
3311 * stdio-common/Makefile (distribute): Remove removed files, add
3314 * Makefile (distribute): Remove include/db_185.h and db.h.
3316 * include/db_185.h: Remove, it's not needed anymore.
3317 * include/db.h: Likewise.
3319 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3321 * inet/Makefile (tests): Remove tst-ipnode.
3322 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
3325 2000-07-31 Jes Sorensen <jes@linuxcare.com>
3327 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
3328 endp statements have already been added.
3330 2000-04-18 David Mosberger <davidm@hpl.hp.com>
3332 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
3333 <sysdeps/ia64/sysdep.h>.
3335 * sysdeps/ia64/_mcount.S: New file.
3337 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
3338 __gmon_start__. Fix up extraneous whitespace.
3340 2000-01-12 H.J. Lu <hjl@gnu.org>
3342 * sysdeps/ia64/elf/initfini.c: New file.
3344 2000-07-31 Jes Sorensen <jes@linuxcare.com>
3346 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
3347 dependency between branch and ar.pfs write.
3349 2000-07-31 H.J. Lu <hjl@gnu.org>
3351 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
3352 handle the wchar_t array.
3354 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3356 * iconvdata/gb18030.c: Don't map to and from positions in ISO
3357 10646 which are not yet assigned.
3358 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
3360 2000-07-31 Andreas Jaeger <aj@suse.de>
3362 * inet/Versions: Remove getipnodebyaddr and friends from
3365 * resolv/netdb.h: Remove getipnodebyaddr and friends.
3367 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3369 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
3370 ch >= 0x81 && ch2 < 0x40 as invalid.
3372 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3374 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
3375 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
3377 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3379 * iconvdata/johab.c (BODY for TO_LOOP): After calling
3380 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
3382 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3384 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
3386 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
3388 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3390 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
3392 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3394 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
3395 (from_ucs4): Change values of U+00A4 and U+00ED.
3396 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
3398 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3400 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
3401 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
3403 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3405 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
3406 * iconvdata/isiri-3342.h: New file.
3407 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
3408 treat 0x80 as a gap.
3410 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3412 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
3413 (utf8_encode): Use simple shifts instead. Fix return value.
3415 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3417 * timezone/private.h: Update from tzcode2000e.
3418 * timezone/asia: Update from tzdata2000e.
3419 * timezone/australasia: Likewise.
3420 * timezone/europe: Likewise.
3421 * timezone/northamerica: Likewise.
3422 * timezone/zone-tab: Likewise.
3424 2000-07-30 Ralf Baechle <ralf@gnu.org>
3426 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
3427 the order of struct sigaltstack members is different.
3429 2000-07-26 Philip Blundell <philb@gnu.org>
3431 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
3433 2000-07-29 Ulrich Drepper <drepper@redhat.com>
3435 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
3436 * locale/programs/ld-ctype.c: Adjust for this.
3438 * locale/programs/ld-collate.c: Add more alignment checks.
3439 * locale/string/strcoll.c: Likewise.
3441 2000-07-30 Mark Kettenis <kettenis@gnu.org>
3443 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
3444 outside USE_IN_LIBIO block.
3446 2000-07-26 Philip Blundell <philb@gnu.org>
3448 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
3449 (elf_machine_rel): Use it for out-of-range PC24 relocs.
3451 2000-07-28 Philip Blundell <philb@gnu.org>
3453 * math/test-fpucw.c: Ignore reserved bits in control word.
3455 2000-07-28 Philip Blundell <philb@gnu.org>
3457 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
3458 (ret): Redefine to PSEUDO_RET.
3459 (PSEUDO): Remove jump to syscall_error.
3461 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3463 * resolv/README: Add some information about using the resolver in
3464 multi-threaded code and with C++. Spelling fixes.
3466 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3468 * resolv/resolv.h (struct __sockaddr_in): Remove.
3469 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
3471 2000-07-29 Greg McGary <greg@mcgary.org>
3473 * Rules (test-bp-inputs, make-test-out): New variables.
3474 ($(objpfx)%-bp.out): New rule.
3475 ($(objpfx)%.out): Rewrite in terms of new variables.
3477 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
3478 internal function that uses vtable.
3479 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
3480 * libio/vswprintf.c (_IO_vswprintf): Likewise.
3482 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
3483 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
3484 (chunk_align): Likewise.
3486 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
3487 in a way that conforms to decl, and avoids spurious bounds violation.
3489 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
3490 * sysdeps/generic/frame.h: Likewise.
3491 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
3492 around return value.
3493 (__backtrace): Qualify frame-pointer chain and return address
3494 pointers as __unbounded. Wrap bounds around variable `current'.
3495 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
3496 around return value.
3497 (catch_segfault): Qualify frame-pointer chain and return address
3498 pointers as __unbounded. Wrap bounds around variable `current'.
3499 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
3500 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
3501 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
3503 (__backtrace): Qualify frame-pointer chain and return address
3504 pointers as __unbounded. Wrap bounds around variable `current'.
3506 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
3507 * sysdeps/i386/mul_1.S: Likewise.
3508 * sysdeps/i386/submul_1.S: Likewise.
3509 * sysdeps/i386/i586/addmul_1.S: Likewise.
3510 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
3511 * sysdeps/i386/i586/submul_1.S: Likewise.
3513 2000-07-27 Andreas Jaeger <aj@suse.de>
3515 * libio/Depend: New file, libio needs localedata for tests.
3516 * posix/Depend: Likewise.
3518 2000-07-28 Ulrich Drepper <drepper@redhat.com>
3520 * stdio-common/_i18n_itoa.c: Removed.
3521 * stdio-common/_i18n_itoa.h: Removed.
3522 * stdio-common/_i18n_itowa.c: Removed.
3523 * stdio-common/_i18n_itowa.h: Removed.
3524 * stdio-common/_i18n_number.h: New file.
3525 * stdio-common/Depend: New file.
3526 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
3527 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
3528 printing. Change printing of numbers with locale specific digits to
3529 use new code in _i18n_number.h.
3530 * stdio-common/Makefile (routines): Remove _i18n_itoa and
3533 * stdio-common/bug13.c: Improve messages.
3535 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
3536 (set_class_defaults): Always search also for Uxxxx names.
3537 Detect insufficient number of outdigits.
3539 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
3541 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3543 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
3544 _NL_CTYPE_MAP_NAMES.
3545 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
3546 * wctype/wcfuncs.c (towlower, towupper): Use them.
3547 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
3548 * wctype/wctrans.c (wctrans): Likewise.
3549 * wctype/wctrans_l.c (__wctrans_l): Likewise.
3551 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3553 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
3554 Use the optimized version of this function outside glibc as well.
3556 2000-07-27 Jakub Jelinek <jakub@redhat.com>
3558 * locale/indigits.h (indigit_value): Correct.
3559 * locale/indigitswc.h (indigitwc_value): Correct.
3560 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
3561 conversion, add GROUP checking for it, fix GROUP number
3562 conversion with strlen(thousands) > 1.
3563 Honour width correctly in the presence of floating
3564 decimal points and thousands separators.
3565 * stdio-common/tst-sscanf.c: New test.
3566 * stdio-common/Makefile: Add it to tests.
3567 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
3568 thousands separators and group argument is non-zero.
3570 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3572 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
3573 starts at GLIBC_2.2.
3575 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3577 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
3578 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
3580 (headers): Add sys/tas.h.
3581 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
3582 GLIBC_2.2 from libc.
3583 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
3584 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
3587 2000-07-28 Andreas Jaeger <aj@suse.de>
3589 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
3591 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
3592 ($(objpfx)tst-dladdr.out): new.
3593 (tests): Add tst-dladdr.
3594 ($(objpfx)glrefmain): Use libdl.
3596 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
3599 2000-07-27 Jes Sorensen <jes@linuxcare.com>
3601 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
3602 ftruncate(64) calls.
3604 2000-07-27 Jes Sorensen <jes@linuxcare.com>
3606 * intl/tst-translit.c: Include string.h to get prototype for
3609 2000-07-27 Jes Sorensen <jes@linuxcare.com>
3611 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
3612 name and add weak alias for __fork.
3614 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
3615 & pwrite to use __libc_<name> as strong names instead of
3618 * include/sched.h: Add clone2 prototype.
3620 2000-07-26 Jes Sorensen <jes@linuxcare.com>
3622 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
3623 procedure name twice.
3625 2000-07-27 Philip Blundell <philb@gnu.org>
3627 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
3629 2000-07-27 Andreas Jaeger <aj@suse.de>
3631 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
3632 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
3633 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
3634 Reported by Andi Kleen <ak@suse.de>.
3636 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
3637 (do_wait): Test requests with aio_return64.
3638 (do_test): Change callers of do_wait.
3640 2000-07-26 Andreas Jaeger <aj@suse.de>
3642 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
3643 (do_wait): Test requests with aio_return.
3644 (do_test): Change callers of do_wait.
3646 2000-07-27 Ulrich Drepper <drepper@redhat.com>
3648 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
3649 from request list. Don't do the list handling here, call
3650 __aio_remove_request.
3651 * rt/aio_misc.h: Add prototype for __aio_remove_request.
3652 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
3653 request might already be processed. Don't do the list handling
3654 here, call __aio_remove_request.
3656 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
3659 * rt/aio_misc.c: Add comment explaining why writer memory barriers
3662 2000-07-27 Greg McGary <greg@mcgary.org>
3664 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
3665 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
3666 in union init. Pass zero for ignored semnum arg to semctl.
3667 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
3669 2000-07-26 Greg McGary <greg@mcgary.org>
3671 * sysdeps/gnu/bits/msq.h: Qualify kernel's
3672 data structure pointers as __unbounded.
3673 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
3674 * sysdeps/generic/bp-semctl.h: New file.
3675 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
3676 pointers as __unbounded. Check bounds of syscall args.
3677 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3678 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
3679 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3680 * sysdeps/unix/sysv/linux/semop.c: Likewise.
3681 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
3682 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3683 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
3684 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
3685 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
3686 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
3687 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
3688 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
3689 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
3690 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
3691 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
3692 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
3694 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3696 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
3698 * locale/C-ctype.c: Likewise.
3699 * wcsmbs/wcsmbsload.c: Likewise.
3701 2000-07-26 Greg McGary <greg@mcgary.org>
3703 * Makeconfig (+link-bounded, link-libc-bounded,
3704 link-extra-libs-bounded): New variables.
3705 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
3706 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
3707 * Rules (tests-bp.out): New variable.
3708 (tests): Conditionally add BP tests.
3709 (binaries-bounded): Add variable and associated rule.
3710 * csu/Makefile [build-bounded] (extra-objs, install-lib):
3711 Move conditional stuff after place where condition is defined.
3713 * malloc/malloc.c (bp-checks.h): Add #include.
3714 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
3715 (_bin_at): Add unbounded version of bin_at.
3716 (IAV, chunk_alloc): Use unbounded _bin_at.
3717 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
3718 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
3719 Wrap BOUNDED_N around return value.
3720 (chunk_realloc): Adjust oldsize once.
3722 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
3723 (__ubp_memchr): Add correct decl.
3724 (_CHECK_STRING): Use __ubp_memchr.
3725 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3726 New alias for unbounded-pointer __memchr.
3727 * sysdeps/i386/memchr.S: Likewise.
3728 * sysdeps/ia64/memchr.S: Likewise.
3729 * sysdeps/m68k/memchr.S: Likewise.
3730 * sysdeps/sparc/sparc32/memchr.S: Likewise.
3731 * sysdeps/sparc/sparc64/memchr.S: Likewise.
3732 * sysdeps/vax/memchr.s: Likewise.
3734 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
3735 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
3736 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
3737 * sysdeps/i386/i686/strtok.S: Likewise.
3738 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
3739 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
3741 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
3742 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
3744 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
3745 bounds of copy_result to mount_proc.
3747 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3749 * wctype/wctype.h (__wctrans_l): New declaration.
3750 * wctype/wctrans_l.c: New file.
3751 * wctype/Makefile (routines): Add wctrans_l.
3753 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3755 * posix/fnmatch_loop.c: Fixes for use outside glibc.
3756 Patch by MacGyver <macgyver@tos.net>.
3758 2000-07-26 Andreas Jaeger <aj@suse.de>
3760 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
3761 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
3762 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
3764 * rt/tst-aio.c (test_file): Fix typo.
3765 * rt/tst-aio64.c (test_file): Likewise.
3767 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
3768 * rt/Makefile: Add rules to build and run tst-aio3.
3770 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
3771 it's not needed and confuses only.
3773 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3775 * resolv/res_init.c: Add support for nameserver communication with
3777 * resolv/res_send.c: Likewise.
3778 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
3780 Patch by <venaas@nvg.ntnu.no>.
3782 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3784 * locale/programs/ld-ctype.c (wctype_table_get): New function.
3785 (wcwidth_table_get): New function.
3786 (wcwidth_table_add): Call it.
3787 (wctrans_table_get): New function.
3788 (wctrans_table_add): Call it.
3790 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3792 * rt/lio_listio.c (lio_listio): Always disable individual
3794 * rt/Makefile: Add rules to build and run tst-aio2.
3795 * rt/tst-aio2.c: New file.
3797 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
3798 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
3800 2000-07-25 Mark Kettenis <kettenis@gnu.org>
3802 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
3803 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
3804 leading and trailing spaces from host, user and domain name.
3806 2000-07-25 Jes Sorensen <jes@linuxcare.com>
3808 * csu/defs.awk: Add support for need_endp.
3810 2000-07-25 Mark Kettenis <kettenis@gnu.org>
3812 * resolv/resolv.h: Remove __P from res_send_qhook and
3813 res_send_rhook typedefs.
3815 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3817 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
3819 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3821 * iconv/gconv_builtin.h: Add WCHAR_T alias.
3823 2000-07-25 Mark Kettenis <kettenis@gnu.org>
3825 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
3826 calling thread, set the cancellation flag and return success
3829 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3831 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
3832 * libio/tst-widetext.c: New file.
3833 * libio/tst-widetext.input: New file.
3835 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
3837 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
3838 empty external buffer correctly.
3840 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3842 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
3843 __STRING(entry) and not #entry.
3844 (_RTLD_EPILOGUE): Likewise.
3845 * sysdeps/mips/mips64/dl-machine.h: Likewise.
3847 2000-07-25 Andreas Jaeger <aj@suse.de>
3849 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
3850 according to changes in test program, run also with static only
3852 ($(objpfx)tst-printf.out): Likewise.
3854 * stdio-common/tst-unbputc.sh: Likewise.
3855 * stdio-common/tst-printf.sh: Likewise.
3857 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3859 * libio/wfileops.c (_IO_wdo_write): Correct return value.
3861 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
3864 * libio/fileops.c: Pretty print.
3866 2000-07-23 Bruno Haible <haible@clisp.cons.org>
3868 * wctype/wchar-lookup.h: New file.
3869 * wctype/iswctype.c: Include "wchar-lookup.h".
3870 (__iswctype): Support alternate locale format with 3-level tables.
3871 * wctype/iswctype_l.c (__iswctype_l): Likewise.
3872 * wctype/towctrans.c (__towctrans): Likewise.
3873 * wctype/towctrans_l.c (__towctrans_l): Likewise.
3874 * wctype/wcfuncs.c: Include "wchar-lookup.h".
3875 (__ctype32_wctype, __ctype32_wctrans): Declare external.
3876 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
3877 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
3878 __iswxdigit, towlower, towupper): Support alternate locale format
3879 with 3-level tables.
3880 * wctype/wcextra.c (iswblank): Likewise.
3881 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
3882 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
3883 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
3884 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
3885 format with 3-level tables.
3886 * wctype/wcextra_l.c (__iswblank_l): Likewise.
3887 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
3888 format, return a 3-level table pointer.
3889 * wctype/wctype_l.c (__wctype_l): Likewise.
3890 * wctype/wctrans.c (wctrans): Likewise.
3891 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
3892 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
3893 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
3894 (iswctype): Remove macro definition.
3895 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
3896 (internal_wcwidth): Support alternate locale format with 3-level
3898 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
3900 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
3901 Define them as being type "word".
3902 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
3903 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
3904 __ctype32_width): New exported variables.
3905 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
3906 alternate locale format. Don't initialize __ctype_names and
3907 __ctype_width in the alternate locale format.
3908 * locale/programs/localedef.h (oldstyle_tables): New declaration.
3909 * locale/programs/localedef.c (oldstyle_tables): New variable.
3910 (OPT_OLDSTYLE): New macro.
3911 (options): Add --old-style option.
3912 (parse_opt): Handle --old-style option.
3913 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
3914 map_offset, class_3level, map_3level, width_3level members.
3915 (ctype_output): Support for alternate locale format: Computation of
3916 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
3917 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
3918 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
3919 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
3920 now contain both class and map tables.
3921 (struct wctype_table): New type.
3922 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
3924 (struct wcwidth_table): New type.
3925 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
3927 (struct wctrans_table): New type.
3928 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
3930 (allocate_arrays): Support for alternate locale format: Set
3931 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
3932 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
3933 to the first 256 characters. Compute ctype->map_3level. Set
3934 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
3935 instead of ctype->width.
3937 2000-07-24 Ulrich Drepper <drepper@redhat.com>
3939 * libio/iogetwline.c (_IO_getwline_info): Use wide character
3942 2000-07-24 Jakub Jelinek <jakub@redhat.com>
3944 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
3945 in wide characters, not bytes.
3946 * libio/tst_putwc.c (do_test): Add test for writing lots of data
3949 2000-07-22 Bruno Haible <haible@clisp.cons.org>
3951 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
3952 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
3953 LC_MEASUREMENT, LC_IDENTIFICATION.
3955 * locale/xlocale.h (struct __locale_struct): Increase size of
3957 * locale/duplocale.c (__duplocale): Copy newly added categories as
3959 * locale/freelocale.c (__freelocale): Free newly added categories.
3960 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
3961 If a base is given, use it, don't simply return it.
3963 2000-07-22 Bruno Haible <haible@clisp.cons.org>
3965 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
3966 variables, copied_key and copied_salt, instead of boolean variables.
3968 2000-07-24 Andreas Jaeger <aj@suse.de>
3970 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
3973 * grp/initgroups.c (initgroups_dyn_function): Renamed from
3974 initgroups_function, adopted prototype for change from 2000-07-23.
3975 (initgroups): Follow type change.
3977 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
3978 & PAGE_MASK case, reformat.
3980 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
3981 from stdin and setup environment.
3983 2000-07-24 Andreas Schwab <schwab@suse.de>
3985 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
3987 2000-07-23 Ulrich Drepper <drepper@redhat.com>
3989 * string/endian.h: Explain the _*_ENDIAN constant values a bit
3990 more. Patch by scarlet@mit.edu [PR libc/1799].
3992 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
3995 * argp/argp-parse.c (parser_finalize): Reverse order in which
3996 parsers are run for ARGP_KEY_END. [PR libc/1755].
3998 * grp/initgroups.c (initgroups): Don't limit the possible number
3999 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
4000 the setgroups call while the call fails and descrease the number
4001 of groups each round.
4002 The name of the initgroups function in the NSS modules changed.
4003 (compat_call): Adapt for dynamic resizing.
4004 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4005 Implement dynamic resizing.
4006 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4008 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
4009 * hesiod/Versions: Change exported interface name.
4010 * nis/Versions: Change exported interface name.
4012 2000-07-23 Ulrich Drepper <drepper@redhat.com>
4014 * locale/iso-639.def: Some errors corrected.
4015 Patch by Keld Simonsen.
4017 * include/limits.h: Update non-gcc portion.
4018 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4020 2000-07-22 Mark Kettenis <kettenis@gnu.org>
4022 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
4023 program's data space, reallocate only the space that was just
4024 deallocated to release its backing space.
4026 2000-07-23 Ulrich Drepper <drepper@redhat.com>
4028 * stdio-common/vfprintf.c (process_string_arg): For wide character
4029 version, handle precision also correctly.
4031 * nss/nss_files/files-hosts.c: Correct problem with three or more
4032 entries with the same name.
4034 * nss/nss_files/files-hosts.c: Implement multi handling.
4035 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
4037 2000-07-22 Ulrich Drepper <drepper@redhat.com>
4039 * nss/nss_files/files-parse.c: Don't pollute namespace by using
4042 * grp/Makefile: Change Makefiles and tests to run only when necessary.
4043 * malloc/Makefile: Likewise.
4044 * malloc/tst-mtrace.sh: Likewise.
4045 * posix/Makefile: Likewise.
4046 * posix/globtest.sh: Likewise.
4047 * posix/wordexp-tst.sh: Likewise.
4048 * string/Makefile: Likewise.
4050 2000-07-22 Mark Kettenis <kettenis@gnu.org>
4052 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
4053 size instead of LC_ALL to take into account the new locale
4056 2000-07-22 Ulrich Drepper <drepper@redhat.com>
4058 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
4059 remainders of hash table.
4060 * locale/categories.def: Remove remainders of transliteration
4062 * locale/langinfo.h: Likewise.
4063 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
4064 transliteration tables.
4066 * locale/gen-translit.pl: New file.
4067 * locale/C-translit.h.in: New file.
4068 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
4069 data pointers with data from this file.
4070 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
4071 and gen-translit.pl.
4072 Add rule to generate C-translit.h.
4073 * intl/tst-translit.c (main): Update for now performed
4076 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
4077 (it's no input error).
4078 * stdio-common/tstscanf.c: Add test case for format %f with input --.
4079 * stdio-common/scanf12.c: Correct expected result for first scanf.
4081 * stdio-common/vfprintf.c (process_string_arg): Correct handling
4082 of multibyte character strings in %s format with precision.
4084 2000-07-21 Ulrich Drepper <drepper@redhat.com>
4086 * locale/programs/ld-collate.c (collate_read): Allow collating
4087 symbols and elements be named in reorder-after instructions.
4088 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
4090 * locale/programs/ld-collate.c (handle_ellipsis): Test for
4091 duplication with generated name, not the name of the first
4093 Patch by Yong Li <yong.li@asu.edu>.
4095 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
4096 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4098 2000-07-21 Wolfram Gloger <wg@malloc.de>
4100 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
4101 allocations only if a non-main arena cannot be extended.
4103 2000-07-21 Ulrich Drepper <drepper@redhat.com>
4105 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
4106 in DF_1_NODEFLIB handling.
4108 2000-07-21 Andreas Jaeger <aj@suse.de>
4110 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
4113 * libio/fwide.c: Include <wchar.h> for prototype.
4115 2000-07-21 Greg McGary <greg@mcgary.org>
4117 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
4118 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
4119 Define in terms of chunk_at_offset.
4120 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
4121 (next_bin, prev_bin): offset by size of real array elements.
4122 (chunk_align): Make `m' a scalar, since that's how it's used.
4124 2000-07-21 Greg McGary <greg@mcgary.org>
4126 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
4128 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
4129 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
4130 Wrap bounds around argv & envp and each of their string members.
4131 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
4132 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
4133 symbol in BP_SYM (). Discard bounds of address arg.
4134 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
4135 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
4136 Discard bounds on address arg, add bounds to return value.
4138 2000-07-20 Ulrich Drepper <drepper@redhat.com>
4140 * elf/Makefile (tests): Add filter. Add rules to generate filter.
4141 * elf/filter.c: New file.
4142 * elf/filtmod1.c: New file.
4143 * elf/filtmod2.c: New file.
4145 * elf/rtld.c: Define _dl_bind_not variable.
4146 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
4147 * elf/dl-support.c: Likewise.
4148 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
4149 * elf/dl-runtime.c (fixup): Don't remember looked up value if
4151 (profile_fixup): Likewise.
4153 * libio/Makefile (routines): Add fwide.
4154 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
4155 fwide now. Internal calls to _IO_fwide must do locking themselves
4156 or don't need locking.
4157 * libio/fwide.c: New file.
4159 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
4161 * elf/Makefile: Add no modules for nodelete test.
4162 * elf/nodelmod3.c: New file.
4163 * elf/nodelmod4.c: New file.
4164 * elf/nodelete.c: Also test case where dependency of dlopen() object
4167 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
4168 * elf/nodlopen.c: New file.
4169 * elf/nodlopenmod.c: New file.
4170 * include/dlfcn.h: Define __RTLD_DLOPEN.
4171 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
4172 and this is a dlopen() call, do not load the binary.
4173 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
4174 * dlfcn/dlopenold.c: Likewise.
4175 * configure.in: Add test for -z nodelete option.
4176 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
4178 2000-07-20 Mark Kettenis <kettenis@gnu.org>
4180 Make Hesiod NSS module thread-safe.
4182 * hesiod/README.hesiod: Update.
4184 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
4185 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
4186 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
4187 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
4189 * hesiod/nss_hesiod/hesiod-init.c: New file.
4190 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
4191 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
4192 * hesiod/nss_hesiod/nss_hesiod.h: New file.
4193 * hesiod/nss_hesiod/hesiod-service.c
4194 (_nss_hesiod_getservbyport_r): New function. Provide support for
4195 looking up services by port number.
4196 * hesiod/nss_hesiod/hesiod-proto.c: New file.
4198 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
4199 * hesiod/hesiod.h: Likewise.
4200 * hesiod/hesiod_p.h: Likewise.
4202 2000-07-20 Mark Kettenis <kettenis@gnu.org>
4204 Fix problems with `struct __res_state' getting too big.
4205 * resolv/resolv.h (struct __sockaddr_in): New definition.
4206 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
4207 the private parts of the structure to save some space.
4208 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
4209 (struct sockaddr_in *) in call to sock_eq.
4210 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
4212 2000-07-20 Ulrich Drepper <drepper@redhat.com>
4214 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
4215 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
4217 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
4218 to _dl_map_object. Return immediately if no object loaded.
4219 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
4220 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
4221 if it exists into l_flags_1 word.
4222 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
4223 it to determine whether loading is wanted or not.
4224 (_dl_map_object): Likewise.
4225 Call _dl_map_object_from_fd with new parameter.
4226 * sysdeps/generic/ldsodefs.h: Update prototype.
4227 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
4228 * elf/rtld.c: Likewise.
4229 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4230 * elf/Makefile (tests): Add noload. Add rules to generate noload.
4231 * elf/noload.c: New file.
4232 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
4233 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
4234 * sysdeps/mips/bits/dlfcn.h: Likewise.
4235 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
4236 (tests-nodelete-yes): Define.
4237 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
4238 Add rules to build nodelete and modules.
4239 * elf/nodelete.c: New file.
4240 * elf/nodelmod1.c: New file.
4241 * elf/nodelmod2.c: New file.
4242 * configure.in: Add test for -z nodelete option.
4243 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
4245 * libio/Makefile (tests): Add tst_wprintf2.
4246 (tst_wprintf2-ARGS): Define.
4247 * libio/tst_wprintf2.c: New file.
4248 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
4250 * libio/wfiledoalloc.c: Only allocate external buffer if this
4251 hasn't happened yet.
4253 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
4254 something in the buffer. gconv call can write up to end of the
4255 buffer, not only _IO_write_end.
4256 (_IO_wfile_overflow): Allocate also external buffer.
4258 2000-07-19 Ulrich Drepper <drepper@redhat.com>
4260 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
4261 strings with precision in vfwprintf correctly.
4262 * stdio-common/vfprintf.c: Fix completely broken handling of
4263 unbuffered wide character streams.
4264 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
4266 * resolv/Makefile (distribute): Add README.
4268 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
4270 2000-07-18 Mark Kettenis <kettenis@gnu.org>
4272 Update resolver code to BIND 8.2.3-T5B.
4274 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
4276 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
4277 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
4279 * resolv/Banner: BIND-8.2.3-T5B.
4281 * resolv/base64.c: Update from BIND 8.2.3-T5B.
4282 * resolv/herror.c: Likewise.
4283 * resolv/inet_addr.c: Likewise.
4284 * resolv/inet_net_ntop.c: Likewise.
4285 * resolv/inet_net_pton.c: Likewise.
4286 * resolv/inet_neta.c: Likewise.
4287 * resolv/inet_ntop.c: Likewise.
4288 * resolv/nsap_addr.c: Likewise.
4289 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
4290 IPv6 addresses (ISC bug #520).
4292 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
4293 * resolv/ns_parse.c: Likewise.
4294 * resolv/ns_netint.c: Likewise.
4295 * resolv/ns_samedomain.c: Likewise.
4296 * resolv/ns_ttl.c: Likewise.
4297 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
4298 RCS ID in object file.
4300 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
4301 * resolv/res_mkquery.c: Likewise.
4302 * resolv/res_query.c: Likewise.
4303 * resolv/res_init.c: Likewise.
4304 (res_setoptions): Mark internal.
4305 * resolv/res_send.c: Likewise.
4306 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
4307 by using poll instead.
4308 * resolv/res_comp.c: Likewise.
4309 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
4310 weak alias for __dn_expand.
4311 * resolv/res_data.c: Likewise.
4312 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
4313 in _res.options. Avoids a potential security risk by avoiding a
4315 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
4316 res_mkquery, res_query, res_querydomain adn res_search weak
4317 aliases for __res_mkquery, __res_query, __res_querydomain and
4319 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
4320 instead to avoid close(0).
4321 (res_init): Always use the static resolver context.
4322 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
4323 alias for __res_init.
4325 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
4326 RES_SET_H_ERRNO and accompanying comment to...
4327 * include/resolv.h: ... here.
4329 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
4330 * resolv/arpa/nameser_compat.h: Likewise.
4332 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4334 * nss/makedb.c (main): Compare result of load_db with
4335 NSS_STATUS_SUCCESS and not 0.
4336 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
4338 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
4340 2000-07-18 Greg McGary <greg@mcgary.org>
4342 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
4343 (EXTEND_BUFFER): Use it.
4345 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4347 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
4348 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
4349 __builtin_return_address.
4350 * dlfcn/dlopenold.c: Likewise.
4351 * dlfcn/dlsym.c: Likewise.
4352 * dlfcn/dlvsym.c: Likewise.
4353 * elf/dl-profstub.c: Likewise.
4354 * malloc/malloc.c: Likewise.
4355 * sysdeps/generic/machine-gmon.h: Likewise.
4356 Based on a patch by schwidefsky@de.ibm.com.
4358 2000-07-18 Andreas Jaeger <aj@suse.de>
4360 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
4361 NULL to elf_machine_fixup_plt t argument to silence GCC.
4363 * include/string.h: Add prototype for __memchr.
4365 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
4367 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
4370 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4372 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
4374 * locale/C-ctype.c: Add initializers for gap elements.
4375 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
4378 2000-07-16 Ulrich Drepper <drepper@redhat.com>
4380 * nscd/nscd.c (print_version): Update copyright year.
4382 2000-07-17 Greg McGary <greg@mcgary.org>
4384 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
4385 keyletters F, I, S, W. Remove unused keyletter V. Surround
4386 signature argnames with angle-brackets for use as word delimiters,
4387 and to induce syntax errors for any args not handled. Split
4388 multi-echo echoes and comment each stage.
4389 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
4390 * sysdeps/unix/inet/syscalls.list: Likewise.
4391 * sysdeps/unix/mman/syscalls.list: Likewise.
4392 * sysdeps/unix/syscalls.list: Likewise.
4393 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4394 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4395 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4396 * sysdeps/unix/sysv/syscalls.list: Likewise.
4397 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
4399 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
4400 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
4401 qualifiers. Don't check NULL-terminator of argv & envp.
4402 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
4403 unbounded pointer type in word-size assertion.
4404 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
4405 cases to stifle warnings.
4407 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
4409 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4411 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
4412 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
4415 * Makerules (o-objects): Supplement with $(o-objects$o).
4416 * string/Makefile (o-objects.ob): Add variable to pull
4417 unbounded versions of memcpy, memset and memchr into libc_b.
4419 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
4420 rather than non-existent __ubp_memchr.
4421 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
4422 (_CHECK_STRING, _CHECK_N): New macros.
4423 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
4424 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
4425 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
4426 Add weak alias "memchr".
4427 * sysdeps/generic/memchr.c: Likewise.
4428 * sysdeps/i386/memchr.S: Likewise.
4429 * sysdeps/ia64/memchr.S: Likewise.
4430 * sysdeps/m68k/memchr.S: Likewise.
4431 * sysdeps/sparc/sparc32/memchr.S: Likewise.
4432 * sysdeps/sparc/sparc64/memchr.S: Likewise.
4433 * sysdeps/vax/memchr.s: Likewise.
4435 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
4437 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
4438 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
4439 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
4440 __BOUNDED_POINTERS__.
4441 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
4442 for __BOUNDED_POINTERS__.
4444 2000-07-17 Bruno Haible <haible@clisp.cons.org>
4446 * iconv/gconv_open.c (__gconv_open): Initialize the __data
4447 field of struct __gconv_trans_data differently. Don't pass NULL to
4448 trans_init_fct. Simplify list append operation.
4450 2000-07-14 Bruno Haible <haible@clisp.cons.org>
4452 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
4453 not only those having tsearch.
4455 2000-07-17 Ulrich Drepper <drepper@redhat.com>
4457 * locale/langinfo.h: Add placeholder values in enum for removed
4460 2000-07-17 Jakub Jelinek <jakub@redhat.com>
4462 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
4463 chain if the PHDR check fails.
4465 2000-07-17 Mark Kettenis <kettenis@gnu.org>
4467 * nss/getent.c (print_hosts): Make sure we always print a space
4468 between numeric addresses and hostnames.
4470 2000-07-17 Wolfram Gloger <wg@malloc.de>
4472 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
4473 i.e. if n_mmaps_max>0.
4475 2000-07-16 Mark Kettenis <kettenis@gnu.org>
4477 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
4478 values to remove possible clash with other AI_* constants.
4479 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
4480 hexadecimal constants to stress the fact they're in fact
4483 2000-07-15 Mark Kettenis <kettenis@gnu.org>
4485 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
4486 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
4487 instead of res_init.
4489 2000-07-16 Ulrich Drepper <drepper@redhat.com>
4491 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
4492 parameters of memset calls to avoid warnings.
4494 2000-07-15 Ulrich Drepper <drepper@redhat.com>
4496 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
4499 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
4500 Patch by Greg McGary <greg@mcgary.org>.
4502 * io/Makefile (tests): Add tst-getcwd.
4503 * io/tst-getcwd.c: New file.
4505 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
4507 2000-07-15 Jakub Jelinek <jakub@redhat.com>
4509 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
4512 2000-07-13 Jakub Jelinek <jakub@redhat.com>
4514 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
4515 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
4517 2000-07-12 H.J. Lu <hjl@gnu.org>
4519 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
4521 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
4522 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
4523 (sysdep-routines): Add clone2.
4524 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
4526 2000-07-13 Jes Sorensen <jes@linuxcare.com>
4528 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
4529 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
4531 2000-06-05 David Mosberger <davidm@hpl.hp.com>
4533 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
4534 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
4535 Change type of si_band from "int" to "long".
4536 (si_imm) [USE_GNU]: Define
4537 (si_isr) [USE_GNU]: Ditto.
4538 (ILL_BREAK) [USE_GNU]: Ditto.
4539 (FPE_DECOVF) [USE_GNU]: Ditto.
4540 (FPE_DECDIV) [USE_GNU]: Ditto.
4541 (FPE_DECERR) [USE_GNU]: Ditto.
4542 (FPE_INVASC) [USE_GNU]: Ditto.
4543 (FPE_INVDEC) [USE_GNU]: Ditto.
4544 (TRAP_BRANCH) [USE_GNU]: Ditto.
4545 (TRAP_HWBKPT) [USE_GNU]: Ditto.
4547 2000-07-06 Jes Sorensen <jes@linuxcare.com>
4549 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4550 bits/sigcontext as struct mcontext does not depend on it.
4552 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
4554 2000-07-04 Jes Sorensen <jes@linuxcare.com>
4556 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
4558 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
4560 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
4562 2000-06-22 Jes Sorensen <jes@linuxcare.com>
4564 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
4566 2000-07-15 Ulrich Drepper <drepper@redhat.com>
4568 * intl/Makefile (test-srcs): Add tst-translit.
4570 Add rules to build and run tst-translit.
4571 * intl/tst-translit.c: New file.
4572 * intl/tst-translit.sh: New file.
4573 * intl/translit.po: New file.
4575 2000-07-14 Ulrich Drepper <drepper@redhat.com>
4577 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
4578 transliteration function did its job, continue, don't stop.
4580 * iconvdata/iso646.c: Little optimizations in body for conversion
4583 2000-07-14 Mark Kettenis <kettenis@gnu.org>
4585 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
4587 2000-07-14 Mark Kettenis <kettenis@gnu.org>
4589 * configure.in: Check for pwd binary.
4590 * config.make.in: Add PWD_P to be subsituted.
4591 * Makerules: Use $(PWD_P) instead of /bin/pwd.
4593 2000-07-14 Ulrich Drepper <drepper@redhat.com>
4595 * iconvdata/Makefile (modules): Add GB18030.
4596 (distribute): Add gb18030.c.
4597 * iconvdata/gconv-modules: Add entries for GB18030 module.
4598 * iconvdata/gb18030.c: New file.
4599 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
4602 2000-07-13 Andreas Jaeger <aj@suse.de>
4604 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
4607 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
4608 * inet/getnetgrent.c (free_mem): Likewise.
4609 * misc/mntent.c (free_mem): Likewise.
4610 * nss/getXXbyYY.c (free_mem): Likewise.
4611 * nss/getXXent.c (free_mem): Likewise.
4612 * pwd/fgetpwent.c (free_mem): Likewise.
4613 * shadow/fgetspent.c (free_mem): Likewise.
4615 2000-07-14 Ulrich Drepper <drepper@redhat.com>
4617 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
4618 64-bit architecture correctly [PR libc/1794].
4620 2000-07-13 Ulrich Drepper <drepper@redhat.com>
4622 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
4623 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
4624 report that we are out of memory.
4625 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4626 * elf/dl-libc.c (dlerror_run): Likewise.
4627 * elf/dl-open.c (_dl_open): Likewise.
4628 * elf/rtld.c (dl_main): Likewise.
4629 * elf/dl-error.c: Define _dl_out_of_memory.
4630 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
4632 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
4635 * dlfcn/dlerror.c (free_key_mem): Also free error string.
4637 * iconv/loop.c: Fix comment.
4639 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
4641 2000-07-13 Andreas Jaeger <aj@suse.de>
4643 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
4644 getcwd (NULL, size) with size > 0.
4645 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
4647 2000-07-13 Andreas Jaeger <aj@suse.de>
4649 * posix/Makefile: Remove build rules for libposix.
4651 2000-07-13 Andreas Schwab <schwab@suse.de>
4653 * sysdeps/generic/glob.c (glob): Fix memory leak.
4654 [SHELL]: Remove reference to undefined variable `files'.
4657 2000-07-13 Andreas Jaeger <aj@suse.de>
4659 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
4662 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
4663 memory if it was allocated.
4665 2000-07-12 Ulrich Drepper <drepper@redhat.com>
4667 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
4670 * iconv/gconv_open.c (__gconv_open): Reapply
4671 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4673 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
4675 * iconv/gconv_open.c: Undo last two changes for now. They break
4678 2000-07-12 Andreas Jaeger <aj@suse.de>
4680 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
4682 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
4683 (CFLAGS-dl-cache.c): Likewise.
4684 (CFLAGS-ldconfig.c): Added, passes directory locations.
4686 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
4688 * elf/ldconfig.c (LD_SO_CONF): Likewise.
4689 (main): Use configured LIBDIR and SLIBDIR.
4691 2000-07-11 Jakub Jelinek <jakub@redhat.com>
4693 * math/bits/cmathcalls.h (cimag): Add __THROW.
4694 (creal, conj): Likewise.
4695 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
4698 2000-07-12 H.J. Lu <hjl@gnu.org>
4700 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
4701 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
4703 2000-07-12 Ulrich Drepper <drepper@redhat.com>
4705 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
4708 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4710 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
4712 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4714 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
4717 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4719 * iconv/gconv_open.c (__gconv_open): Initialize
4720 result->__steps[cnt].__data.
4722 2000-07-12 Mark Kettenis <kettenis@gnu.org>
4724 * nss/getent.c (services_keys): Pass port number in network byte
4725 order in call to getservbyport.
4727 2000-07-11 Andreas Jaeger <aj@suse.de>
4729 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
4731 * intl/Makefile (do-gettext-test): Likewise.
4732 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
4734 2000-07-11 Andreas Schwab <schwab@suse.de>
4736 * Makeconfig (run-program-prefix): New rule.
4737 (built-program-cmd): Use run-program-prefix.
4739 2000-07-12 Ulrich Drepper <drepper@redhat.com>
4741 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
4742 and NOEXPR unconditionally available.
4744 2000-07-12 Greg McGary <greg@mcgary.org>
4746 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
4747 * sysdeps/posix/open64.c: Likewise.
4748 * sysdeps/generic/fegetenv.c: Likewise.
4749 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
4750 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4751 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4752 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
4753 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
4754 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
4756 2000-07-11 Greg McGary <greg@mcgary.org>
4758 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
4759 Add extra level of macro expansion.
4760 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
4761 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
4762 is available at the time `select' prototype is declared.
4763 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
4764 Collect non-versioned weak aliases. Consider only non-versioned
4765 aliases for the user-visible systemcall name. Do checks inline with
4766 call to primitive system call.
4767 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
4768 stand-alone bounds checks to suppress unused value warnings.
4769 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
4771 2000-07-10 Mark Kettenis <kettenis@gnu.org>
4773 * sysdeps/mach/hurd/check_fds.c: New file. Implements
4774 file descriptor checking in SUID programs for the Hurd.
4776 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
4777 res_hostalias instead of __hostalias for thread-safety.
4779 2000-07-09 Mark Kettenis <kettenis@gnu.org>
4781 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
4782 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
4784 2000-07-10 Ulrich Drepper <drepper@redhat.com>
4786 * include/features.h: Include ISO C99 features if the compiler used
4787 is an ISO C99 compiler.
4788 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4790 2000-07-08 Mark Kettenis <kettenis@gnu.org>
4792 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
4794 2000-07-10 Andreas Jaeger <aj@suse.de>
4796 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
4797 it's overridden by libpthreads.
4798 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4799 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4800 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4801 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4802 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4804 * malloc/Makefile: Run tst-mtrace only with shared libs.
4806 * stdio-common/Makefile: Run unbputc and tst-printf tests only
4809 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4811 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
4812 that gpreg really points to the GOT section of the calling object.
4813 Scan all PT_LOAD segments of objects for stub_pc, instead of only
4814 checking a start address of first one.
4816 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
4819 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
4821 2000-07-10 Andreas Jaeger <aj@suse.de>
4823 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
4824 (string_alias->strong_alias).
4826 2000-07-08 Mark Kettenis <kettenis@gnu.org>
4828 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
4830 2000-07-07 Greg McGary <greg@mcgary.org>
4832 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
4833 have no names without leading underscores.
4835 2000-07-07 Ulrich Drepper <drepper@redhat.com>
4837 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
4840 * stdio-common/Makefile (tests): Remove tst-printf here...
4841 (tests-srcs): ...and add it here.
4842 (distribute): Add tst-unbputc.sh and tst-printf.sh.
4843 Add rules to run tst-printf.sh.
4844 * stdio-common/tst-printf.c: Move code around so that there is really
4845 no further output where it's stated.
4846 * stdio-common/tst-printf.sh: New file.
4848 2000-07-07 Mark Kettenis <kettenis@gnu.org>
4850 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
4851 (do_write): Renamed from pwrite.
4852 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
4853 `struct _IO_cookie_file'.
4855 2000-07-07 Ulrich Drepper <drepper@redhat.com>
4857 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
4859 * malloc/tst-mtrace.sh: Run mtrace script.
4861 2000-07-07 Greg McGary <greg@mcgary.org>
4863 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
4864 Move all three components of a bounded pointer.
4866 2000-07-07 Ulrich Drepper <drepper@redhat.com>
4868 * locale/programs/locale.c (write_locales): Don't simply add all
4869 directories found in the subdir, test whether at least the
4870 LC_CTYPE file is in there.
4872 2000-07-06 Ulrich Drepper <drepper@redhat.com>
4874 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
4875 * iconvdata/euc-kr.c: Likewise.
4877 * stdio-common/vfprintf.c (process_string_arg): Check result of
4878 wcrtomb call and bail out if it failed.
4880 * malloc/Makefile (test-srcs): Add tst-mtrace.
4881 (distribute): Add tst-mtrace.sh.
4882 Add rule to run tst-mtrace.sh.
4883 * malloc/tst-mtrace.c: New file.
4884 * malloc/tst-mtrace.sh: New file.
4886 * include/signal.h: Declare __libc_sigaction.
4887 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
4888 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
4889 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4890 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4891 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4892 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4893 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4895 * configure.in: Fix CFLAGS-memprofstat.c definition after
4897 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
4899 2000-07-06 Jakub Jelinek <jakub@redhat.com>
4901 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
4902 instead of NULL to elf_machine_fixup_plt t argument.
4903 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4904 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
4907 2000-07-06 Andreas Jaeger <aj@suse.de>
4909 * crypt/Makefile (LDLIBS-cert): Removed.
4910 (LDLIBS-md5c-test): Removed.
4911 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
4912 ($(objpfx)md5c-test): Likewise for md5c-test.out.
4914 2000-07-06 Andreas Jaeger <aj@suse.de>
4916 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
4917 of the proc system is "proc".
4919 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
4920 thread library for static programs.
4922 2000-07-06 Greg McGary <greg@mcgary.org>
4924 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
4926 * sysdeps/generic/strcpy.c: Add bounds checks.
4927 * sysdeps/unix/fxstat.c: Likewise.
4928 * sysdeps/unix/xstat.c: Likewise.
4929 * sysdeps/unix/common/lxstat.c: Likewise.
4930 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4931 * sysdeps/unix/sysv/linux/execve.c: Likewise.
4932 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
4933 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
4934 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4935 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4936 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
4937 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4938 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4939 * sysdeps/unix/sysv/linux/poll.c: Likewise.
4940 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4941 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4942 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
4943 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4944 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4945 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4946 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4947 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4948 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4949 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
4950 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4951 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
4952 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4953 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
4954 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
4955 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
4956 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4957 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
4958 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4959 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4960 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4961 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
4962 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4963 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4964 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4965 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4966 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4967 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
4968 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4969 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4970 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4971 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4972 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4973 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4974 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
4975 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
4976 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4977 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
4978 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
4979 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
4980 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
4981 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
4982 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4983 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4984 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4985 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4986 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
4987 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
4988 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
4989 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
4990 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4991 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
4992 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
4993 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
4995 * string/endian.h (__LONG_LONG_PAIR): New macro.
4996 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
4997 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4998 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4999 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5000 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5001 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
5002 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5003 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5004 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5005 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5006 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5007 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
5009 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
5011 2000-07-06 Andreas Jaeger <aj@suse.de>
5013 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
5016 * math/test-fpucw.c: Include <stdio.h> for printf.
5018 2000-07-05 Greg McGary <greg@mcgary.org>
5020 * sysdeps/generic/bp-checks.h: New file.
5021 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
5022 with list of #include files.
5023 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
5024 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
5025 Don't generate BP thunk if `V' appears in signature.
5026 Generate thunks with complete bounds checks.
5027 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
5028 * sysdeps/unix/inet/syscalls.list: Likewise.
5029 * sysdeps/unix/mman/syscalls.list: Likewise.
5030 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5031 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5032 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5033 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
5035 2000-07-05 Ulrich Drepper <drepper@redhat.com>
5037 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
5038 result. Search first in /etc/mtab (proc/mounts would be stupid).
5039 If mount not in the file fall back on /proc.
5041 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
5042 string got copied in.
5043 Patch by Solar Designer <solar@false.com>.
5045 2000-07-05 Andreas Jaeger <aj@suse.de>
5047 * manual/install.texi (Installation): Update information about
5049 (Configuring and compiling): Update for glibc 2.2.
5051 2000-07-04 Andreas Jaeger <aj@suse.de>
5053 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
5054 (_FPU_IEEE): Likewise.
5056 * math/Makefile (tests): Add test-fpucw.
5058 * math/test-fpucw.c (main): New file.
5060 2000-07-05 Ulrich Drepper <drepper@redhat.com>
5062 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
5064 * locale/programs/ld-collate.c (collate_output): Also write out the
5065 collation sequence values and the wide character string for the
5066 collation symbol table.
5068 * posix/fnmatch.c: Include "../locale/elem-hash.h".
5069 * posix/fnmatch_loop.c: Implement collating symbol handling.
5070 * posix/tst-fnmatch.input: Add more tests, especially for collating
5073 * posix/regex.c: Fix comment.
5075 2000-07-05 Andreas Jaeger <aj@suse.de>
5077 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
5078 (_FPU_GETCW): Remove extra colon.
5079 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5081 * posix/fnmatch_loop.c (FCT): Only declare len if
5082 !WIDE_CHAR_VERSION to silence GCC.
5084 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
5086 * sysdeps/generic/strchrnul.c: Likewise.
5087 * sysdeps/generic/strlen.c: Likewise.
5088 * sysdeps/generic/strchr.c: Likewise.
5089 * sysdeps/generic/memchr.c: Likewise.
5091 2000-07-04 Ulrich Drepper <drepper@redhat.com>
5093 * posix/fnmatch_loop.c: Implement equivalence class handling.
5094 * posix/tst-fnmatch.input: Add tests for equivalence class
5097 * posix/fnmatch_loop.c: Improve performance for single-byte
5098 character sets by not using btowc.
5100 * posix/tst-fnmatch.input: Add tests for locale dependent
5102 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
5104 * posix/tst-fnmatch.input: Add more test cases.
5106 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
5107 are not aligned to alignof(md5_uint32) do it before calling
5108 __md5_process_bytes.
5109 * crypt/md5.c: Make sure buffers are aligned.
5110 * crypt/md5.h: Likewise.
5111 Reported by Solar Designer <solar@false.com>.
5113 * crypt/Makefile: Add dependencies for test programs.
5115 * Rules: Define LC_ALL=C in environments of all programs we run.
5117 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
5119 2000-07-03 H.J. Lu <hjl@gnu.org>
5121 * locale/programs/ld-ctype.c (ctype_output): The size of iov
5122 is 2 + elem + offset, not 2 + elem + offset + 2.
5124 2000-07-04 Ulrich Drepper <drepper@redhat.com>
5126 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
5128 * posix/Makefile (tests): Add tst-fnmatch.
5129 (tst-fnmatch-ENV): Define.
5130 * posix/tst-fnmatch.c: New file.
5131 * posix/tst-fnmatch.sh: New file.
5133 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
5135 * locale/programs/charmap.c (charmap_read): Prepend
5136 the condition filename == NULL.
5138 2000-07-03 Greg McGary <greg@mcgary.org>
5140 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
5142 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
5143 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
5145 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
5146 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
5147 (FILEBUF_LITERAL): Add cast for CHAIN init.
5148 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
5149 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
5150 Revert type of `fp' to _IO_FILE*.
5151 (_IO_iter_file): Remove cast.
5152 (_IO_iter_next): Elide intermediate member reference.
5154 * sysdeps/powerpc/strchr.S: Check bounds.
5155 Wrap extern symbols in BP_SYM ().
5157 2000-07-03 Andreas Jaeger <aj@suse.de>
5159 * dlfcn/Makefile (generated): New.
5161 2000-07-03 Ulrich Drepper <drepper@redhat.com>
5163 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
5164 (__uflow): Likewise.
5165 (__underflow): Likewise.
5166 * libio/wgenops.c (__wunderflow): Likewise.
5167 * stdio-common/tst-unbputc.c: New file.
5168 * stdio-common/tst-unbputc.sh: New file.
5169 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
5171 * po/en_GB.po: New file.
5172 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
5174 2000-07-01 Andreas Jaeger <aj@suse.de>
5176 * intl/Makefile (generated-dirs): New.
5178 * elf/Makefile (generated): trusted-dirs.h is always generated,
5179 move out of build-shared condition.
5180 (generated): Merge the two entries for build-shared.
5182 2000-07-01 Ulrich Drepper <drepper@redhat.com>
5184 * debug/Makefile (distribute): Add xtrace.sh.
5186 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5188 * version.h (VERSION): Bump to 2.1.91.
5190 * configure.in: Update warning comment. glibc should not be
5193 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
5194 ioperm.c, sys/procfs.h, and sys/io.h.
5196 * sysdeps/powerpc/Dist: Add bp-asm.h.
5198 * assert/Depend: Add localedata.
5199 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
5200 (test-assert-perr-ENV): New. Define LANGUAGE=C.
5202 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
5203 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
5204 relocation address to prevent unaligned trap.
5205 Suggested by Richard Henderson <rth@cygnus.com>.
5207 2000-06-30 Jakub Jelinek <jakub@redhat.com>
5209 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
5210 if redirecting and either redirection is done using defines or
5213 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5215 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
5216 generated expressions.
5217 Patch by Darren McClelland <dmcclell@zetec.com>.
5219 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
5220 since zic uses setlocale and gettext but we cannot make it use the
5221 new locale data since zic calls a shell which might not use the
5224 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
5225 handling the internation currency symbol. POSIX says that the
5226 fourth character is used to separate the currency symbol from the
5227 value. Therefore it does not have to be printed. But we cannot
5228 remove the space if the currency symbol is printed before the
5229 number since this is what many locales expect.
5231 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
5232 whether this information is available.
5234 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
5235 buffers in case the translation is too large. Remember allocated
5236 memory blocks in a list.
5237 (free_mem): Free memory for translations.
5239 * intl/tst-gettext.c: Use correct locale. Improve error messages.
5241 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
5242 information is available set the string length to zero.
5244 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
5246 2000-06-30 Greg McGary <greg@mcgary.org>
5248 * sysdeps/powerpc/bp-asm.h: New file.
5249 * sysdeps/powerpc/__longjmp.S: Check bounds.
5250 Wrap extern symbols in BP_SYM ().
5251 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
5252 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
5253 * sysdeps/powerpc/setjmp.S: Likewise.
5254 * sysdeps/powerpc/add_n.S: Likewise.
5255 * sysdeps/powerpc/addmul_1.S: Likewise.
5256 * sysdeps/powerpc/lshift.S: Likewise.
5257 * sysdeps/powerpc/rshift.S: Likewise.
5258 * sysdeps/powerpc/mul_1.S: Likewise.
5259 * sysdeps/powerpc/sub_n.S: Likewise.
5260 * sysdeps/powerpc/submul_1.S: Likewise.
5261 * sysdeps/powerpc/strlen.S: Likewise.
5262 * sysdeps/powerpc/memset.S: Likewise.
5263 * sysdeps/powerpc/stpcpy.S: Likewise.
5264 * sysdeps/powerpc/strcmp.S: Likewise.
5265 * sysdeps/powerpc/strcpy.S: Likewise.
5266 * sysdeps/powerpc/elf/bzero.S: Likewise.
5268 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
5269 Line up operands column with tabs.
5271 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5273 * elf/Makefile (LDFLAGS-origtest): Actually add it.
5275 * sysdeps/ia64/htonl.S: New file.
5276 * sysdeps/ia64/htons.S: New file.
5277 * sysdeps/ia64/memcpy.S: Replace with version which does not use
5278 floating point registers.
5279 Patches by Dan Pop <Dan.Pop@cern.ch>.
5281 2000-06-30 Andreas Jaeger <aj@suse.de>
5283 * posix/Makefile (tests): tst-exec and tst-spawn only work with
5286 * io/Makefile (CFLAGS-test-lfs.c): New.
5287 (tests): Add test-lfs.
5289 * io/test-lfs.c: New file.
5291 2000-06-30 Jakub Jelinek <jakub@redhat.com>
5293 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
5296 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
5298 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
5300 2000-06-29 Jes Sorensen <jes@linuxcare.com>
5302 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
5303 alias to the fstatfs call.
5305 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
5306 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
5308 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
5309 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
5311 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
5312 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
5313 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
5314 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
5316 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
5317 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
5319 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
5320 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
5322 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
5323 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
5325 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
5327 2000-06-29 Andreas Jaeger <aj@suse.de>
5329 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
5331 (print_err_message): Likewise.
5332 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
5334 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5336 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
5337 used as words is properly aligned.
5339 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
5342 2000-06-29 Greg McGary <greg@mcgary.org>
5344 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
5345 * sysdeps/unix/make-syscalls.sh: Handle signatures of
5346 length 7..9, just in case...
5347 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
5349 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
5350 (POP_ERRNO_LOCATION_RETURN): Fold insns.
5351 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
5352 (PUSH_SIGNAL_MASK): New macro.
5353 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
5354 LEAVE is unnecessary. Check bounds of jmp_buf.
5355 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
5356 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
5357 immediately before tail-call.
5358 * sysdeps/i386/setjmp.S: Likewise.
5359 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5360 * sysdeps/i386/bsd-setjmp.S: Likewise.
5362 2000-06-29 Jakub Jelinek <jakub@redhat.com>
5364 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
5366 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
5367 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
5368 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
5369 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5370 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
5371 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
5372 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
5373 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
5375 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5377 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
5378 we later need to calling free().
5379 Patch by Matt Wilson <msw@redhat.com>.
5381 * stdio-common/tst-printf.c: Add test for above problem.
5383 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
5385 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
5386 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
5388 2000-06-28 Jes Sorensen <jes@linuxcare.com>
5390 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
5391 prototype for abs().
5392 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
5394 2000-06-23 Andreas Jaeger <aj@suse.de>
5396 * config.h.in: Don't use regparm with bounded pointers.
5398 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5400 * stdlib/grouping.h: Correctly handle multibyte thousands
5401 separator and decimal point.
5402 * stdlib/stdtod.c: Likewise.
5403 * sysdeps/generic/strtol.c: Likewise.
5405 * locale/categories.def: Add entries for wide character decimal point
5406 and thousands separator in numeric and monetary category.
5408 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5410 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
5411 second definition and initialization of decimal.
5413 2000-06-28 Greg McGary <greg@mcgary.org>
5415 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
5417 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
5418 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
5420 (_IO_JUMPS): Don't cast THIS--expect arg to be a
5421 (struct _IO_FILE_plus *).
5422 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
5423 THIS, since _IO_JUMPS no longer does it implicitly.
5424 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
5425 arg type as (struct _IO_FILE_plus *).
5426 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
5427 arg as (_IO_strfile *).
5428 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
5429 Declare 1st arg as (_IO_strfile *).
5430 * libio/fileops.c (_IO_new_file_init): Declare
5431 arg type as (struct _IO_FILE_plus *).
5432 * libio/oldfileops.c (_IO_old_file_init): Likewise.
5433 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
5434 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
5435 Declare iteration pointer as (struct _IO_FILE_plus *).
5436 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
5437 (struct _IO_FILE_plus *).
5438 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
5439 * libio/oldstdfiles.c (_IO_list_all): Likewise.
5440 (_IO_check_libio): Set user-visible handles to
5441 (struct _IO_FILE_plus *).
5442 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
5443 to (struct _IO_FILE_plus *).
5445 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
5446 whose high bound includes vtable to all functions that will use
5447 vtable. For streambufs, pass pointer whose bounds include struct
5449 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
5450 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5451 * libio/iofopen.c (_IO_new_fopen): Likewise.
5452 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5453 * libio/iofopen64.c (_IO_fopen64): Likewise.
5454 * libio/iopopen.c (_IO_new_popen): Likewise.
5455 * libio/oldiopopen.c (_IO_old_popen): Likewise.
5456 * libio/memstream.c (open_memstream): Likewise.
5457 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
5458 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
5459 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5460 * libio/iofopncook.c (_IO_cookie_init): Likewise.
5461 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
5462 * libio/vasprintf.c (_IO_vasprintf): Likewise.
5463 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
5464 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
5465 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
5466 * stdlib/strfmon.c (__strfmon_l): Likewise.
5467 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
5468 (vfprintf): Qualify computed-goto targets as unbounded.
5470 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5472 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
5473 thousands separator correctly.
5475 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
5476 * stdio-common/vfwscanf.c: Likewise.
5478 2000-06-27 Jes Sorensen <jes@linuxcare.com>
5480 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
5481 count into signatures for most calls.
5483 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5485 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
5486 the generic parser now.
5488 2000-06-28 Jes Sorensen <jes@linuxcare.com>
5490 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
5491 table entries are 32 bit on the ia64 (as specified by the ABI),
5492 not 64 bit as on the Alpha.
5494 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
5495 change of objects to use 32 bit hash table indices (see above).
5497 2000-06-28 Jes Sorensen <jes@linuxcare.com>
5499 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
5500 prototype for abs().
5502 2000-06-28 Wolfram Gloger <wg@malloc.de>
5504 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
5505 fails, try mmap_chunk() as a last resort even though n_mmaps_max
5506 may have been reached.
5508 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5510 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
5511 symbols in multi-character weights correctly.
5513 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
5514 depending on whether the input string is empty or not.
5516 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
5517 given state and not avoiding this by modifying a local object.
5518 * wcsmbs/wcrtomb.c: Likewise.
5520 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
5521 object since some incomplete characters might be in there.
5523 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
5524 sequences with first byte 0x8e correctly.
5526 * iconvdata/jis0208.h: Remove redundant test.
5528 2000-06-27 Ulrich Drepper <drepper@redhat.com>
5530 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
5531 Add it where it is needed now.
5533 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
5534 the input charset into account when generating the hash table.
5535 (allocate_arrays): Correct setting default width. Not all empty slots
5536 in the table are filled, only those not covert explicitly by the
5537 locale description and in the charset.
5539 * wctype/towctrans.c (__towctrans): Be graceful and accept error
5540 return values from the wctrans function.
5542 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
5543 wide character version.
5544 For %C handling, test correct pointer variable for NULL.
5546 * wcsmbs/wctob.c: Handle WEOF special.
5548 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
5550 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
5551 always-true test to avoid warning.
5553 2000-06-27 Greg McGary <greg@mcgary.org>
5555 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
5556 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
5557 (symbol_version, default_symbol_version): Factor redundant
5558 definitions out of conditional.
5560 2000-06-27 Jakub Jelinek <jakub@redhat.com>
5562 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
5565 2000-06-26 Ulrich Drepper <drepper@redhat.com>
5567 * include/libc-symbols.h (symbol_version): Add extra level of
5569 (default_symbol_version): Likewise.
5571 2000-06-26 Greg McGary <greg@mcgary.org>
5573 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
5574 for BP return value & push implicit struct-return pointer to
5576 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5577 (SYSCALL_ERROR_HANDLER): Likewise.
5578 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
5579 (SYSCALL_ERROR_HANDLER): Likewise.
5581 * Makeconfig: Add missing comment.
5582 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
5583 BP-flavored startup object.
5584 ($(objpfx)b$(start-installed-name)): New rule.
5585 * include/libc-symbols.h (symbol_set_declare): Change type
5586 of `__start_##set' and `__stop_##set' to pointer-to-function.
5587 (symbol_set_declare): Change type of `set' to array of
5588 pointer-to-function.
5589 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
5590 pointer-to-function.
5592 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
5594 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
5595 Remove clock_* and timer_* entries.
5596 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
5597 arg-count with signatures.
5599 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
5600 Check bounds of arguments.
5601 * sysdeps/i386/addmul_1.S: Likewise.
5602 * sysdeps/i386/lshift.S: Likewise.
5603 * sysdeps/i386/mul_1.S: Likewise.
5604 * sysdeps/i386/rshift.S: Likewise.
5605 * sysdeps/i386/sub_n.S: Likewise.
5606 * sysdeps/i386/submul_1.S: Likewise.
5607 * sysdeps/i386/i586/add_n.S: Likewise.
5608 * sysdeps/i386/i586/addmul_1.S: Likewise.
5609 * sysdeps/i386/i586/lshift.S: Likewise.
5610 * sysdeps/i386/i586/rshift.S: Likewise.
5611 * sysdeps/i386/i586/sub_n.S: Likewise.
5612 * sysdeps/i386/i686/add_n.S: Likewise.
5614 * sysdeps/i386/memchr.S: Likewise.
5615 * sysdeps/i386/memcmp.S: Likewise.
5616 * sysdeps/i386/rawmemchr.S: Likewise.
5617 * sysdeps/i386/i586/bzero.S: Likewise.
5618 * sysdeps/i386/i586/memcpy.S: Likewise.
5619 * sysdeps/i386/i586/mempcpy.S: Likewise.
5620 * sysdeps/i386/i586/memset.S: Likewise.
5621 * sysdeps/i386/i686/bzero.S: Likewise.
5622 * sysdeps/i386/i686/memcpy.S: Likewise.
5623 * sysdeps/i386/i686/mempcpy.S: Likewise.
5624 * sysdeps/i386/i686/memset.S: Likewise.
5626 * sysdeps/i386/stpcpy.S: Likewise.
5627 * sysdeps/i386/stpncpy.S: Likewise.
5628 * sysdeps/i386/strchr.S: Likewise.
5629 * sysdeps/i386/strchrnul.S: Likewise.
5630 * sysdeps/i386/strcspn.S: Likewise.
5631 * sysdeps/i386/strpbrk.S: Likewise.
5632 * sysdeps/i386/strrchr.S: Likewise.
5633 * sysdeps/i386/strspn.S: Likewise.
5634 * sysdeps/i386/strtok.S: Likewise.
5635 * sysdeps/i386/strtok_r.S: Likewise.
5636 * sysdeps/i386/i486/strcat.S: Likewise.
5637 * sysdeps/i386/i486/strlen.S: Likewise.
5638 * sysdeps/i386/i586/strchr.S: Likewise.
5639 * sysdeps/i386/i586/strcpy.S: Likewise.
5640 * sysdeps/i386/i586/strlen.S: Likewise.
5641 * sysdeps/i386/i686/strcmp.S: Likewise.
5642 * sysdeps/i386/i686/strtok.S: Likewise.
5643 * sysdeps/i386/i686/strtok_r.S: Likewise.
5645 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
5646 * sysdeps/i386/fpu/fesetenv.c: Likewise.
5647 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
5648 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
5649 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
5651 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
5652 * sysdeps/i386/mul_1.S: Likewise.
5653 * sysdeps/i386/submul_1.S: Likewise.
5654 * sysdeps/i386/i586/add_n.S: Likewise.
5655 * sysdeps/i386/i586/addmul_1.S: Likewise.
5656 * sysdeps/i386/i586/lshift.S: Likewise.
5657 * sysdeps/i386/i586/mul_1.S: Likewise.
5658 * sysdeps/i386/i586/rshift.S: Likewise.
5659 * sysdeps/i386/i586/sub_n.S: Likewise.
5660 * sysdeps/i386/i586/submul_1.S: Likewise.
5662 2000-06-26 Ulrich Drepper <drepper@redhat.com>
5664 * rt/Makefile (librt-routines): Add clock_nanosleep.
5665 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
5666 * sysdeps/generic/clock_nanosleep.c: New file.
5667 * sysdeps/unix/clock_nanosleep.c: New file.
5668 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
5669 * time/time.h: Declare clock_nanosleep.
5671 2000-06-26 Greg McGary <greg@mcgary.org>
5673 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
5674 INSN1, INSN2, TEXT, GLOBL): Remove macros.
5675 (ALIGN): Cleanup surrounding conditionals.
5677 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
5678 Call ENTER/LEAVE macros.
5679 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
5680 * sysdeps/i386/submul_1.S: Likewise.
5682 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
5683 syntax. Define & use symbolic argument stack offsets. Call
5685 * sysdeps/i386/i586/mul_1.S: Likewise.
5686 * sysdeps/i386/i586/submul_1.S: Likewise.
5688 2000-06-25 Greg McGary <greg@mcgary.org>
5690 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
5693 2000-06-25 Ulrich Drepper <drepper@redhat.com>
5695 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
5696 * iconvdata/gen-8bit-gap.sh: Likewise.
5697 * iconvdata/gen-8bit.sh: Likewise.
5699 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
5701 * locale/programs/ld-collate.c (collate_read): Don't actually read
5702 the copy locale if we are ignoring the content.
5704 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
5707 * locale/programs/ld-collate.c: Correct handling of different
5709 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
5710 as extra parameter from which to copy category information.
5712 (load_locale): Likewise.
5713 * locale/programs/localedef.h: Update prototypes of add_to_readlist
5715 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
5716 * locale/programs/locfile.h: Likewise.
5717 * locale/programs/locfile-kw.gperf: Add entry for script.
5718 * locale/programs/locfile-token.h: Add tok_script.
5720 * locale/programs/locale.c: Update copyright year.
5721 * locale/programs/localedef.c: Likewise.
5723 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
5725 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
5726 Jens Moeller <jens.moeller@waii.com>.
5728 2000-06-24 Ulrich Drepper <drepper@redhat.com>
5730 * locale/programs/ld-name.c (name_finish): Add missing format
5731 specifier to test for name_fmt.
5733 * locale/programs/ld-address.c (iso639): Correct length of string
5735 (iso3166): Likewise.
5737 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
5739 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
5742 * elf/elf.h (NT_PRFPXREG): Define.
5744 2000-06-23 Ulrich Drepper <drepper@redhat.com>
5746 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
5747 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
5749 2000-06-23 Andreas Schwab <schwab@suse.de>
5751 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
5754 2000-06-23 Andreas Jaeger <aj@suse.de>
5756 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
5758 * io/test-stat.c: Add copyright header, mention Maciej.
5760 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
5761 SYS_mincore, SYS_madvise): Added.
5763 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
5766 2000-06-22 Ulrich Drepper <drepper@redhat.com>
5768 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
5769 (CFLAGS-tst_putwc.c): New definition.
5770 * libio/tst_getwc.c: New file.
5771 * libio/tst_getwc.input: New file.
5772 * libio/tst_putwc.c: New file.
5774 * include/string.h: Add prototype for __strdup.
5776 2000-06-22 Greg McGary <greg@mcgary.org>
5778 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
5779 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
5782 2000-06-23 Jes Sorensen <jes@linuxcare.com>
5784 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
5786 2000-06-22 Jes Sorensen <jes@linuxcare.com>
5788 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
5790 2000-06-22 Jes Sorensen <jes@linuxcare.com>
5792 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
5793 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
5795 2000-06-22 Ulrich Drepper <drepper@redhat.com>
5797 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
5798 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
5800 * sysdeps/mach/hurd/bits/stat.h: Likewise.
5801 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5802 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
5803 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5804 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
5805 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
5806 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5807 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
5808 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5809 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5810 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
5811 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
5812 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
5813 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
5816 2000-06-22 Andreas Jaeger <aj@suse.de>
5818 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
5821 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
5823 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
5825 2000-06-21 Ulrich Drepper <drepper@redhat.com>
5827 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
5830 2000-06-21 Greg McGary <greg@mcgary.org>
5832 * Makerules (elide-routines.*, elide-bp-thunks):
5833 Define unconditionally.
5835 2000-06-21 Jes Sorensen <jes@linuxcare.com>
5837 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
5839 2000-06-21 Andreas Jaeger <aj@suse.de>
5841 * io/Makefile (tests): Add test-stat.
5842 (CFLAGS-test-stat.c): New.
5844 * io/test-stat.c: New file from Maciej W. Rozycki
5845 <macro@ds2.pg.gda.pl>.
5847 2000-06-21 Jes Sorensen <jes@linuxcare.com>
5849 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
5850 in __rlimit_resource to make them match the kernel order.
5851 rlim_t is always 64 bit, use __rlim64_t to declare it
5854 2000-05-04 Jes Sorensen <jes@linuxcare.com>
5856 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
5857 RLIM_INFINITY before defining it to avoid clash with kernel header
5859 2000-05-03 Jes Sorensen <jes@linuxcare.com>
5861 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
5863 2000-06-21 Ulrich Drepper <drepper@redhat.com>
5865 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
5867 2000-06-21 Andreas Jaeger <aj@suse.de>
5869 * stdio-common/temptest.c: Include <stdlib.h>.
5870 * stdio-common/tst-fileno.c: Likewise.
5871 * stdio-common/scanf4.c: Likewise.
5872 * stdio-common/scanf5.c: Likewise.
5873 * time/clocktest.c: Likewise.
5874 * posix/test-vfork.c: Likewise.
5875 * posix/globtest.c: Likewise.
5876 * io/test-utime.c: Likewise.
5877 * wctype/test_wcfuncs.c: Likewise.
5878 * crypt/cert.c: Likewise.
5880 * stdio-common/tst-printfsz.c: Include <string.h>.
5881 * libio/tst_swscanf.c: Likewise.
5882 * libio/tst_wscanf.c: Likewise.
5883 * posix/runtests.c: Likewise.
5884 * posix/tst-getaddrinfo.c: Likewise.
5885 * posix/wordexp-test.c: Likewise.
5886 * misc/tst-efgcvt.c: Likewise.
5888 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
5889 * nss/test-netdb.c: Likewise.
5891 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
5892 supported kernel for MIPS.
5894 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
5895 * rt/aio_suspend.c: Likewise.
5897 2000-06-20 Ulrich Drepper <drepper@redhat.com>
5899 * math/libm-test.inc: Include <string.h>.
5901 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5903 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
5905 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5907 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
5908 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
5910 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
5912 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
5914 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5916 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
5918 2000-06-20 Ulrich Drepper <drepper@redhat.com>
5920 * locale/programs/ld-collate.c (insert_value): Now take string and
5921 length instead of struct token* parameter. Adjust use of token.
5922 (handle_ellipsis): Likewise.
5923 (collate_read): Allow <Uxxxx> names and transform them into names
5924 to be passed to insert_value and handle_ellipsis.
5926 * locale/programs/ld-ctype.c (uninames): New array with names of
5927 digits in <Uxxxxxxxx> format.
5928 (ctype_finish): Correct search for space character value. Likewise
5929 for default outdigits values.
5931 2000-06-20 Greg McGary <greg@mcgary.org>
5933 * Makerules (objects): Add BP thunks.
5935 2000-06-20 Ulrich Drepper <drepper@redhat.com>
5937 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
5938 in width definitions.
5940 2000-06-20 Andreas Jaeger <aj@suse.de>
5942 * sysdeps/mips/fpu/libm-test-ulps: New file.
5944 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
5947 * sysdeps/mips/fpu/feholdexcpt.c: New file.
5949 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
5951 2000-06-19 Ulrich Drepper <drepper@redhat.com>
5953 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
5954 change in gconv_builtin.h.
5956 * malloc/Makefile: Change all references to memprof into memusage.
5957 * malloc/memprof.c: Rename to...
5958 * malloc/memusage.c: ...this. New file.
5959 * malloc/memprof.sh: Rename to...
5960 * malloc/memusage.sh: ...this. New file.
5961 * malloc/memprofstat.c: Rename to...
5962 * malloc/memusagestat.c: ...this. New file.
5963 * sysdeps/alpha/memprof.h: Rename to..
5964 * sysdeps/alpha/memusage.h: ...this. New file.
5965 * sysdeps/arm/memprof.h: Rename to..
5966 * sysdeps/arm/memusage.h: ...this. New file.
5967 * sysdeps/generic/memprof.h: Rename to..
5968 * sysdeps/generic/memusage.h: ...this. New file.
5969 * sysdeps/i386/memprof.h: Rename to..
5970 * sysdeps/i386/memusage.h: ...this. New file.
5971 * sysdeps/ia64/memprof.h: Rename to..
5972 * sysdeps/ia64/memusage.h: ...this. New file.
5973 * sysdeps/m68k/memprof.h: Rename to..
5974 * sysdeps/m68k/memusage.h: ...this. New file.
5975 * sysdeps/mips/memprof.h: Rename to..
5976 * sysdeps/mips/memusage.h: ...this. New file.
5977 * sysdeps/powerpc/memprof.h: Rename to..
5978 * sysdeps/powerpc/memusage.h: ...this. New file.
5979 * sysdeps/sparc/memprof.h: Rename to..
5980 * sysdeps/sparc/memusage.h: ...this. New file.
5981 * sysdeps/sh/memprof.h: Rename to..
5982 * sysdeps/sh/memusage.h: ...this. New file.
5984 * elf/sprof.c (print_version): Update year.
5986 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
5987 table entry values. Use D_PTR.
5988 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
5989 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
5991 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5993 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
5994 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
5995 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
5996 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
5998 2000-05-05 Jes Sorensen <jes@linuxcare.com>
6000 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
6002 2000-06-16 Jes Sorensen <jes@linuxcare.com>
6004 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
6005 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
6006 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
6008 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
6010 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
6013 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
6014 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
6016 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
6019 2000-06-15 Jes Sorensen <jes@linuxcare.com>
6021 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
6023 2000-06-08 Jes Sorensen <jes@linuxcare.com>
6025 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
6027 2000-06-19 Ulrich Drepper <drepper@redhat.com>
6029 * iconv/gconv_int.h (strict gconv_module): Remove all members
6030 associated with regular expressions. Use a simple string as the
6032 * iconv/gconv_db.c: Remove code handling regular expressions.
6033 * iconv/gconv_conf.c: Likewise.
6034 * iconv/iconv_prog.c: Likewise.
6035 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
6037 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
6038 General namespace cleanup.
6039 (struct __gconv_trans_data): Add next field.
6040 (struct __gconv_step_data): Make __trans a pointer.
6041 * iconv/gconv_conf.c: Split out code to find gconv directories from
6042 __gconv_read_conf in new functions.
6043 * iconv/gconv_int.h: Define new data structure and declare new
6044 functions for handling of gconv directory list.
6045 * iconv/gconv_open.c: Allow more than one error handling step being
6046 used. Call function to load error handling module if it is none
6047 of the builtin transformations.
6048 * iconv/gconv_close.c: Add code to free transliteration data.
6049 * iconv/gconv_trans.c: Add functions to load and unload modules
6050 implementing transliteration etc.
6051 * iconv/skeleton.c: Call all context functions now that more than
6052 one module is allowed.
6053 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
6054 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
6055 where the full error handling using transliteration is needed.
6056 * iconvdata/8bit-gap.c: Likewise.
6057 * iconvdata/8bit-generic.c: Likewise.
6058 * iconvdata/ansi_x3.110.c: Likewise.
6059 * iconvdata/big5.c: Likewise.
6060 * iconvdata/big5hkscs.c: Likewise.
6061 * iconvdata/euc-cn.c: Likewise.
6062 * iconvdata/euc-jp.c: Likewise.
6063 * iconvdata/euc-kr.c: Likewise.
6064 * iconvdata/euc-tw.c: Likewise.
6065 * iconvdata/gbgbk.c: Likewise.
6066 * iconvdata/gbk.c: Likewise.
6067 * iconvdata/iso-2022-cn.c: Likewise.
6068 * iconvdata/iso-2022-jp.c: Likewise.
6069 * iconvdata/iso-2022-kr.c: Likewise.
6070 * iconvdata/iso646.c: Likewise.
6071 * iconvdata/iso8859-1.c: Likewise.
6072 * iconvdata/iso_6937-2.c: Likewise.
6073 * iconvdata/iso_6937.c: Likewise.
6074 * iconvdata/johab.c: Likewise.
6075 * iconvdata/sjis.c: Likewise.
6076 * iconvdata/t.61.c: Likewise.
6077 * iconvdata/uhc.c: Likewise.
6078 * iconvdata/unicode.c: Likewise.
6079 * iconvdata/utf-16.c: Likewise.
6080 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
6081 structure correctly after last change.
6082 * wcsmbs/btowc.c: Likewise.
6083 * wcsmbs/mbrtowc.c: Likewise.
6084 * wcsmbs/mbsnrtowcs.c: Likewise.
6085 * wcsmbs/mbsrtowcs.c: Likewise.
6086 * wcsmbs/wcrtomb.c: Likewise.
6087 * wcsmbs/wcsnrtombs.c: Likewise.
6088 * wcsmbs/wcsrtombs.c: Likewise.
6089 * wcsmbs/wctob.c: Likewise.
6091 * localedata/Makefile: Set -Wno-format for some files since gcc does
6092 not know all the format specifiers.
6094 2000-06-18 Ulrich Drepper <drepper@redhat.com>
6096 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
6098 * locale/lc-time.c (_nl_init_era_entries): Likewise.
6100 2000-06-18 Andreas Jaeger <aj@suse.de>
6102 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
6103 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
6105 2000-06-17 Ulrich Drepper <drepper@redhat.com>
6107 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
6109 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
6111 * locale/programs/ld-ctype.c (ctype_output): Really write out
6112 mboutdigits information.
6113 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
6114 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
6115 * localedata/tests/trans.def: Add outdigit information.
6117 * localedata/tst-mbswcs3.c: Remove comment.
6119 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
6120 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
6121 * libio/tst_wprintf.c (main): Add test for I flag.
6123 * iconv/gconv_trans.c: Implement handling if translit_ignore.
6124 * locale/langinfo.h: Add entries for translit_ignore information.
6125 * locale/categories.def: Add entries for new LC_CTYPE elements.
6126 * locale/C-ctype.c: Add initializers for new fields. Use NULL
6127 pointer instead of "" where possible.
6128 * locale/programs/ld-ctype.c: Write out translit_ignore information.
6129 * intl/Depend: Add localedata.
6130 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
6131 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
6133 2000-06-16 Ulrich Drepper <drepper@redhat.com>
6135 * locale/langinfo.h: Add entries for default_missing information.
6136 * locale/C-ctype.c: Add initializers for new fields.
6137 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
6139 * locale/categories.h: Add entries for all LC_CTYPE values.
6140 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
6143 * localedata/tst-trans.c: Write out an error message if class is
6146 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
6147 * iconv/gconv_open.c: Remove error handling specification from `from'
6149 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
6150 new parameter to always enable transliteration.
6151 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
6153 (struct locale_data): Add new members use_translit and options.
6154 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
6155 character set name contained modifier TRANSLIT.
6156 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
6158 (_nl_unload_locale): Free options string if necessary.
6159 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
6160 the locale names suggested this.
6161 * locale/C-address.c: Add two new initialilzers to adjust data
6162 structure for new format.
6163 * locale/C-collate.c: Likewise.
6164 * locale/C-ctype.c: Likewise.
6165 * locale/C-identification.c: Likewise.
6166 * locale/C-measurement.c: Likewise.
6167 * locale/C-messages.c: Likewise.
6168 * locale/C-monetary.c: Likewise.
6169 * locale/C-name.c: Likewise.
6170 * locale/C-numeric.c: Likewise.
6171 * locale/C-paper.c: Likewise.
6172 * locale/C-telephone.c: Likewise.
6173 * locale/C-time.c: Likewise.
6175 * locale/setlocale.c: Add some more __builtin_expect.
6177 2000-06-15 Ulrich Drepper <drepper@redhat.com>
6179 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
6181 (__gconv_init_fct): Remove two parameters.
6182 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
6183 gconv_transliterate. Remove two parameters.
6184 Change prototypes of builtin functions according to __gconv_fct change.
6185 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
6186 != NULL only during error handling. Stop in this case after the
6188 * iconv/gconv_trans.c: Replace with real implementation for
6189 __gconv_transliterate.
6190 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
6191 * iconv/gconv.c: Change calls to downstream functions once again.
6192 Use NULL for the fifth parameter instead of pointer to output buffer.
6193 * libio/iofwide.c: Likewise.
6194 * wcsmbs/btowc.c: Likewise.
6195 * wcsmbs/mbrtowc.c: Likewise.
6196 * wcsmbs/mbsnrtowcs.c: Likewise.
6197 * wcsmbs/mbsrtowcs.c: Likewise.
6198 * wcsmbs/wcrtomb.c: Likewise.
6199 * wcsmbs/wcsnrtombs.c: Likewise.
6200 * wcsmbs/wcsrtombs.c: Likewise.
6201 * wcsmbs/wctob.c: Likewise.
6202 * iconv/gconv_simple.c: Remove two parameters from error handling
6204 * iconvdata/8bit-gap.c: Likewise.
6205 * iconvdata/8bit-generic.c: Likewise.
6206 * iconvdata/ansi_x3.110.c: Likewise.
6207 * iconvdata/big5.c: Likewise.
6208 * iconvdata/big5hkscs.c: Likewise.
6209 * iconvdata/euc-cn.c: Likewise.
6210 * iconvdata/euc-jp.c: Likewise.
6211 * iconvdata/euc-kr.c: Likewise.
6212 * iconvdata/euc-tw.c: Likewise.
6213 * iconvdata/gbgbk.c: Likewise.
6214 * iconvdata/gbk.c: Likewise.
6215 * iconvdata/iso-2022-cn.c: Likewise.
6216 * iconvdata/iso-2022-jp.c: Likewise.
6217 * iconvdata/iso-2022-kr.c: Likewise.
6218 * iconvdata/iso646.c: Likewise.
6219 * iconvdata/iso8859-1.c: Likewise.
6220 * iconvdata/iso_6937-2.c: Likewise.
6221 * iconvdata/iso_6937.c: Likewise.
6222 * iconvdata/johab.c: Likewise.
6223 * iconvdata/sjis.c: Likewise.
6224 * iconvdata/t.61.c: Likewise.
6225 * iconvdata/uhc.c: Likewise.
6226 * iconvdata/unicode.c: Likewise.
6227 * iconvdata/utf-16.c: Likewise.
6229 2000-06-15 Greg McGary <greg@mcgary.org>
6231 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
6232 of callnum assignment. Tolerate callnum expressions containing
6235 2000-06-14 Ulrich Drepper <drepper@redhat.com>
6237 * login/Makefile (utmpd): Remove rule to build utmpd.
6239 * csu/Versions: Move libgcc frame handling functions from here...
6240 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
6241 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
6242 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
6243 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
6244 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
6245 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
6247 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
6249 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
6251 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
6253 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6255 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
6257 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
6258 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
6259 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
6260 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
6262 2000-06-14 Jakub Jelinek <jakub@redhat.com>
6264 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
6265 defined, terminate quotes and read them after the comment char.
6266 * configure.in (HAVE_SECTION_QUOTES): Test whether
6267 __attribute__((section ("x"))) puts quotes around x or not.
6268 * config.h.in (HAVE_SECTION_QUOTES): Add.
6269 * configure: Rebuilt.
6271 2000-06-14 Andreas Jaeger <aj@suse.de>
6273 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
6274 depending on the configure option --sysconfdir.
6275 Closes PR libc/1762.
6276 Patch by Andreas Schwab <schwab@suse.de>.
6278 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
6280 Reported by Jim Pick <jim@jimpick.com>.
6282 2000-06-14 Ulrich Drepper <drepper@redhat.com>
6284 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
6285 crashing the application. Emit some simple error message.
6286 Reported by mju@panasas.com [PR libc/1769].
6288 2000-06-13 Ulrich Drepper <drepper@redhat.com>
6290 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
6292 * crypt/Makefile (distribute): Add md5.h.
6294 * Makefile (distribute): Add include/shlib-compat.h.
6296 * Make-dist: Search for tests also in sysdeps hierachy.
6298 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
6299 ufc.c, speeds.c, README.ufc-crypt, and Banner.
6301 * sysdeps/sparc/Subdirs: New file.
6303 * locale/Makefile (distribute): Add weightwc.h and
6304 programs/localedef.h.
6306 * time/Makefile (distribute): Add datemsk.
6308 * sysdeps/ia64/Dist: Add softpipe.h.
6310 * sysdeps/unix/sysv/aix/Dist: New file.
6312 * posix/setpgrp.c: Moved to...
6313 * sysdeps/generic/setpgrp.c: ...here. New file.
6314 * io/mknod.c: Moved to...
6315 * sysdeps/generic/mknod.c: ...here. New file.
6317 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
6319 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
6321 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
6323 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
6324 gprsave0.S, gprrest1.S, and gprrest0.S.
6326 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
6328 * posix/Makefile (routines): Add spawnattr_getsigmask,
6329 spawnattr_getschedpolicy, spawnattr_getschedparam,
6330 spawnattr_setsigmask, spawnattr_setschedpolicy, and
6331 spawnattr_setschedparam.
6332 * posix/Versions: Add posix_spawnattr_getschedpolicy,
6333 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
6334 posix_spawnattr_setschedparam.
6336 * posix/spawnattr_setschedparam.c: Fix typo.
6338 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
6341 * login/programs/utmpd.c: Removed.
6342 * login/programs/utmpd.h: Removed.
6343 * login/programs/utmpd-private.h: Removed.
6345 * Makefile (distribute): Add include/db_185.h and include/db.h.
6347 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
6350 * elf/Makefile (distribute): Add missing files.
6352 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
6353 * elf/eval.c: Moved to...
6354 * dlfcn/eval.c: ...here. New file.
6356 * Makefile (distribute): Also distribute ChangeLog.1?.
6358 * Make-dist (+tsrcs): Remove .args handling here as well.
6360 * rt/Makefile (tests): Add tst-timer.
6361 * sysdeps/generic/tst-timer.c: New file.
6363 * Makerules (sources): Don't add BP sources here.
6365 * login/Makefile (distribute): Remove xtmp.h.
6367 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
6368 is true. Reported by Bruno Haible <haible@ilog.fr>.
6370 2000-06-13 Andreas Jaeger <aj@suse.de>
6372 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
6373 Patch by Ralf Baechle <ralf@gnu.org>.
6375 2000-06-13 Ulrich Drepper <drepper@redhat.com>
6377 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
6378 for mincore syscall.
6380 * misc/sys/cdefs.h: Define __bounded and __unbounded if
6381 __BOUNDED_POINTERS__ is not defined.
6383 2000-06-07 Greg McGary <greg@mcgary.org>
6385 * sysdeps/generic/bp-sym.h: New file.
6386 * sysdeps/generic/bp-start.h: New file.
6387 * sysdeps/i386/elf/start.S: Designate BP symbols.
6388 * sysdeps/generic/libc-start.c: Wrap bounds around
6389 argv & envp and each of their string members.
6391 2000-06-07 Greg McGary <greg@mcgary.org>
6393 * sysdeps/unix/make-syscalls.sh: Add comments to
6394 output that aid debugging & comprehension.
6395 Map simple syscall signatures to number of args.
6396 Generate BP syscall thunk definitions.
6397 * sysdeps/generic/bp-thunks.h: New file.
6398 * sysdeps/unix/syscalls.list: Replace arg-count with
6399 simple return+arg signature.
6400 * sysdeps/unix/common/syscalls.list: Likewise.
6401 * sysdeps/unix/inet/syscalls.list: Likewise.
6402 * sysdeps/unix/mman/syscalls.list: Likewise.
6403 * sysdeps/unix/sysv/syscalls.list: Likewise.
6404 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6405 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
6407 2000-06-07 Greg McGary <greg@mcgary.org>
6409 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
6410 for all files *.[cS].
6411 (CFLAGS-.ob): Don't optimize sibling calls.
6412 (bppfx): New variable.
6413 * Makerules (elide-bp-thunks): New variable.
6414 (elide-routines.*): Elide BP-* files for all but *.ob.
6415 (sources): Include bp-thunks.
6417 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6419 * iconv/gconv_simple.c: Remove unnecessary prototype.
6421 * iconv/gconv_trans.c: Pretty print.
6423 * elf/elf.h (R_SH_NUM): Got accidently dropped.
6425 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
6426 minimal kernel versions. Add information about IA-64 kernel.
6428 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
6429 specific minimal supported kernel versions to be specified.
6431 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
6432 step data structure.
6433 * wcsmbs/btowc.c: Likewise.
6434 * wcsmbs/mbrtowc.c: Likewise.
6435 * wcsmbs/mbsnrtowcs.c: Likewise.
6436 * wcsmbs/mbsrtowcs.c: Likewise.
6437 * wcsmbs/wcrtomb.c: Likewise.
6438 * wcsmbs/wcsnrtombs.c: Likewise.
6439 * wcsmbs/wcsrtombs.c: Likewise.
6440 * wcsmbs/wctob.c: Likewise.
6442 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
6443 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
6445 * shlib-versions: Earliest backward compatible version for SH is 2.2.
6447 * misc/sys/cdefs.h: Remove one more __P.
6449 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
6452 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
6453 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
6454 * sysdeps/sh/bits/setjmp.h: ...here. New file.
6456 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6457 Yutaka Niibe <gniibe@chroot.org>
6459 * configure.in: Add machine sh3, sh4.
6460 * elf/elf.h: Add SH specific declarations of relocations.
6461 * shlib-versions: Add sh*-*-linux* cases.
6463 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6465 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
6466 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
6467 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
6468 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
6469 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
6470 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
6472 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
6473 instead of KERNEL_MATH_EMULATION.
6474 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
6475 KERNEL_MATH_EMULATION.
6477 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
6478 * sysdeps/sh/sh3/dl-machine.h: Moved to...
6479 * sysdeps/sh/dl-machine.h: ...here. New file.
6480 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
6481 and include generic SH version.
6482 * sysdeps/sh/sh3/bits/endian.h: Move to...
6483 * sysdeps/sh/bits/endian.h: ...here. New file.
6484 * sysdeps/sh/sh4/bits/endian.h: Removed.
6485 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
6486 * sysdeps/sh/bits/huge_val.h: ...here. New file.
6487 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
6489 * include/libc-symbols.h (link_warning): Work around a change in
6490 GAS which warns about changing section attributes.
6491 Proposed by Nick Clifton <nickc@redhat.com>.
6493 2000-06-12 H.J. Lu <hjl@gnu.org>
6495 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
6497 2000-06-11 H.J. Lu <hjl@gnu.org>
6499 * sysdeps/i386/fpu/Versions: New file.
6501 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6503 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
6505 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
6508 2000-06-12 Jes Sorensen <jes@linuxcare.com>
6510 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
6511 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
6512 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
6514 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
6515 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
6516 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
6518 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6519 Yutaka Niibe <gniibe@chroot.org>
6521 * sysdeps/sh/Dist: New file.
6522 * sysdeps/sh/Implies: New file.
6523 * sysdeps/sh/elf/initfini.c: New file.
6524 * sysdeps/sh/gmp-mparam.h: New file.
6525 * sysdeps/sh/init-first.c: New file.
6526 * sysdeps/sh/machine-gmon.h: New file.
6527 * sysdeps/sh/memcpy.S: New file.
6528 * sysdeps/sh/memprof.h: New file.
6529 * sysdeps/sh/memset.S: New file.
6530 * sysdeps/sh/sh3/__longjmp.S: New file.
6531 * sysdeps/sh/sh3/bits/endian.h: New file.
6532 * sysdeps/sh/sh3/bits/huge_val.h: New file.
6533 * sysdeps/sh/sh3/bits/setjmp.h: New file.
6534 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
6535 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
6536 * sysdeps/sh/sh3/dl-machine.h: New file.
6537 * sysdeps/sh/sh3/setjmp.S: New file.
6538 * sysdeps/sh/sh4/__longjmp.S: New file.
6539 * sysdeps/sh/sh4/bits/endian.h: New file.
6540 * sysdeps/sh/sh4/bits/huge_val.h: New file.
6541 * sysdeps/sh/sh4/bits/setjmp.h: New file.
6542 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
6543 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
6544 * sysdeps/sh/sh4/dl-machine.h: New file.
6545 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
6546 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
6547 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
6548 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
6549 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
6550 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
6551 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
6552 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
6553 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
6554 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
6555 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
6556 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
6557 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
6558 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
6559 * sysdeps/sh/sh4/setjmp.S: New file.
6560 * sysdeps/sh/elf/start.S: New file.
6561 * sysdeps/sh/sys/ucontext.h: New file.
6562 * sysdeps/sh/strlen.S: New file.
6563 * sysdeps/sh/sysdep.h: New file.
6564 * sysdeps/unix/sh/sysdep.S: New file.
6565 * sysdeps/unix/sh/sysdep.h: New file.
6566 * sysdeps/unix/sysv/linux/sh/Dist: New file.
6567 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
6568 * sysdeps/unix/sysv/linux/sh/Versions: New file.
6569 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
6570 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
6571 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
6572 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
6573 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
6574 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
6575 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
6576 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
6577 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
6578 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
6579 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
6580 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
6581 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
6582 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
6583 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
6584 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
6585 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
6586 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
6587 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
6588 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
6589 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
6590 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
6591 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
6592 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
6593 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
6594 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
6595 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
6596 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
6597 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
6598 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
6599 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
6600 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
6601 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
6602 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
6603 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
6604 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
6605 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
6606 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
6607 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
6608 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
6609 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6610 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
6611 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
6612 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
6613 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
6614 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
6615 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
6617 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6619 * Rules (%.out): Define GCONV_PATH in the environment.
6620 * assert/Depend: New file.
6621 * iconvdata/Depend: New file.
6622 * intl/Depend: New file.
6623 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
6624 * intl/tst-gettext.sh: Likewise.
6625 * iconv/Makefile (routines): Add gconv_trans.
6626 * iconv/gconv_trans.c: New file.
6627 * iconv/gconv.h (struct __gconv_trans_data): New type.
6628 (__gconv_fct): New parameter with starting position in output buffer.
6629 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
6630 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
6631 (struct __gconv_step): Add new member __trans.
6632 * iconv/gconv_int.h: Pretty print prototypes.
6633 (gconv_transliterate): New prototype.
6634 (__BUILTIN_TRANS): Update for new conversion function interface.
6635 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
6636 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
6637 in names, find appropriate function, and install in the conversion
6638 steps it can be used.
6639 * iconv/skeleton.c: Add additional parameter for beginning of output
6640 buffer. Change calls of downstream functions.
6641 * iconv/loop.c: Change loop function interface completely. Pass in
6642 step and step_data structure. Remove optimization for BODY with
6643 NEED_LENGTH_TEST == 0.
6644 * iconv/gconv_simple.c: Update interfaces of functions. Insert
6645 appropriate error handling code to use transliteration steps. Remove
6646 optimization for BODY with NEED_LENGTH_TEST == 0.
6647 * iconvdata/8bit-gap.c: Likewise.
6648 * iconvdata/8bit-generic.c: Likewise.
6649 * iconvdata/ansi_x3.110.c: Likewise.
6650 * iconvdata/big5.c: Likewise.
6651 * iconvdata/big5hkscs.c: Likewise.
6652 * iconvdata/euc-cn.c: Likewise.
6653 * iconvdata/euc-jp.c: Likewise.
6654 * iconvdata/euc-kr.c: Likewise.
6655 * iconvdata/euc-tw.c: Likewise.
6656 * iconvdata/gbgbk.c: Likewise.
6657 * iconvdata/gbk.c: Likewise.
6658 * iconvdata/iso-2022-cn.c: Likewise.
6659 * iconvdata/iso-2022-jp.c: Likewise.
6660 * iconvdata/iso-2022-kr.c: Likewise.
6661 * iconvdata/iso646.c: Likewise.
6662 * iconvdata/iso8859-1.c: Likewise.
6663 * iconvdata/iso_6937-2.c: Likewise.
6664 * iconvdata/iso_6937.c: Likewise.
6665 * iconvdata/johab.c: Likewise.
6666 * iconvdata/sjis.c: Likewise.
6667 * iconvdata/t.61.c: Likewise.
6668 * iconvdata/uhc.c: Likewise.
6669 * iconvdata/unicode.c: Likewise.
6670 * iconvdata/utf-16.c: Likewise.
6671 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
6673 * wcsmbs/btowc.c: Likewise.
6674 * wcsmbs/mbrtowc.c: Likewise.
6675 * wcsmbs/mbsnrtowcs.c: Likewise.
6676 * wcsmbs/mbsrtowcs.c: Likewise.
6677 * wcsmbs/wcrtomb.c: Likewise.
6678 * wcsmbs/wcsnrtombs.c: Likewise.
6679 * wcsmbs/wcsrtombs.c: Likewise.
6680 * wcsmbs/wctob.c: Likewise.
6682 2000-04-11 Geoff Keating <geoffk@cygnus.com>
6684 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
6685 other header files. Mention about 128-byte cache line sizes.
6686 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
6687 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
6688 for current calling sequence.
6689 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
6691 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
6692 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6694 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
6695 and setrlimit syscalls for backwards compatibility.
6697 2000-06-10 Ulrich Drepper <drepper@redhat.com>
6699 * iconv/skeleton.c: Rename converted written to correcter name
6701 * iconv/gconv.c: Rename converted variable to correcter name
6703 * iconv/gconv_int.h: Likewise.
6704 * iconv/gconv_simple.c: Likewise.
6705 * iconv/iconv.c: Likewise.
6706 * iconv/loop.c: Likewise.
6707 * iconvdata/8bit-gap.c: Likewise.
6708 * iconvdata/8bit-generic.c: Likewise.
6709 * iconvdata/ansi_x3.110.c: Likewise.
6710 * iconvdata/big5.c: Likewise.
6711 * iconvdata/big5hkscs.c: Likewise.
6712 * iconvdata/euc-cn.c: Likewise.
6713 * iconvdata/euc-jp.c: Likewise.
6714 * iconvdata/euc-kr.c: Likewise.
6715 * iconvdata/gbgbk.c: Likewise.
6716 * iconvdata/gbk.c: Likewise.
6717 * iconvdata/iso-2022-cn.c: Likewise.
6718 * iconvdata/iso-2022-jp.c: Likewise.
6719 * iconvdata/iso-2022-kr.c: Likewise.
6720 * iconvdata/iso646.c: Likewise.
6721 * iconvdata/iso8859-1.c: Likewise.
6722 * iconvdata/iso_6937-2.c: Likewise.
6723 * iconvdata/iso_6937.c: Likewise.
6724 * iconvdata/johab.c: Likewise.
6725 * iconvdata/sjis.c: Likewise.
6726 * iconvdata/t.61.c: Likewise.
6727 * iconvdata/uhc.c: Likewise.
6728 * iconvdata/unicode.c: Likewise.
6729 * iconvdata/utf-16.c: Likewise.
6731 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
6732 __cmsg_data field with __extension__.
6734 2000-06-10 David Mosberger <davidm@hpl.hp.com>
6736 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
6738 2000-06-10 Ulrich Drepper <drepper@redhat.com>
6740 * iconv/gconv_simple.c: Fix various small bugs in several
6743 * iconv/loop.c: Fix comment.
6745 2000-06-10 Jakub Jelinek <jakub@redhat.com>
6747 * elf/link.h: Remove libc internal declarations.
6748 * include/link.h: Move them here.
6750 2000-06-09 Ulrich Drepper <drepper@redhat.com>
6752 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
6753 Patch by Dan Pop <Dan.Pop@cern.ch>.
6755 Rewrite error message handling.
6756 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
6758 * elf/dl-error (struct catch): Add objname member.
6759 (_dl_signal_error): Take new parameter with object name. When
6760 passing message on simply store object name and duplicate error
6762 (_dl_catch_error): Take new parameter. Store object name in the
6764 * include/dlfcn.h: Adjust _dl_catch_error prototype.
6765 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
6766 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
6767 (dlerror): Add objname to asprintf() parameters.
6768 (_dl_error_run): Pass new parameter to _dl_catch_error.
6769 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
6770 * elf/dl-open.c (_dl_open): Likewise.
6771 * elf/rtld.c (dl_main): Likewise.
6772 * elf/dl-close.c: Mark error messages with N_().
6773 * elf/dl-deps.c: Likewise.
6774 * elf/dl-error.c: Likewise.
6775 * elf/dl-load.c: Likewise.
6776 * elf/dl-open.c: Likewise.
6777 * elf/dl-reloc.c: Likewise.
6778 * elf/dl-support.c: Likewise.
6779 * elf/dl-sym.c: Likewise.
6780 * elf/dl-version.c: Likewise.
6781 * elf/dl-lookup.c: Add comments about problems with error message
6783 * elf/dl-reloc.c: Likewise.
6784 * elf/dl-version.c: Likewise.
6786 2000-06-09 H.J. Lu <hjl@gnu.org>
6788 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
6791 * dlfcn/Makefile (distribute): Add failtestmod.c.
6792 (tests): Add failtest.
6793 Add rules to build and run failtest.
6794 * dlfcn/failtest.c: New file.
6795 * dlfcn/failtestmod.c: New file.
6797 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
6799 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
6800 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
6801 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
6802 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
6803 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
6805 2000-06-09 Jes Sorensen <jes@linuxcare.com>
6807 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
6808 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
6810 2000-06-09 Jes Sorensen <jes@linuxcare.com>
6811 Ulrich Drepper <drepper@redhat.com>
6813 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
6814 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
6815 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
6816 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
6817 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
6818 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
6820 2000-06-09 Ulrich Drepper <drepper@redhat.com>
6822 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
6823 to find correct mount point despite wrong information from the
6826 2000-06-09 Jes Sorensen <jes@linuxcare.com>
6828 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
6829 the address of a symbol so function pointers are handled properly.
6831 2000-06-08 Ulrich Drepper <drepper@redhat.com>
6833 * sysdeps/i386/Dist: Add bp-asm.h.
6835 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
6836 defaultdir variable instead of "/var/shm" everywhere.
6837 (defaultdir): Change to /dev/shm/.
6839 2000-06-08 Greg McGary <greg@mcgary.org>
6841 * sysdeps/i386/bp-asm.h: New file.
6842 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
6843 offsets. Add ENTER/LEAVE macros for optionally maintaining
6844 frame-pointer chain when debugging.
6845 * sysdeps/i386/add_n.S: Likewise.
6846 * sysdeps/i386/addmul_1.S: Likewise.
6847 * sysdeps/i386/lshift.S: Likewise.
6848 * sysdeps/i386/memchr.S: Likewise.
6849 * sysdeps/i386/memcmp.S: Likewise.
6850 * sysdeps/i386/mul_1.S: Likewise.
6851 * sysdeps/i386/rawmemchr.S: Likewise.
6852 * sysdeps/i386/rshift.S: Likewise.
6853 * sysdeps/i386/stpcpy.S: Likewise.
6854 * sysdeps/i386/stpncpy.S: Likewise.
6855 * sysdeps/i386/strchr.S: Likewise.
6856 * sysdeps/i386/strchrnul.S: Likewise.
6857 * sysdeps/i386/strcspn.S: Likewise.
6858 * sysdeps/i386/strpbrk.S: Likewise.
6859 * sysdeps/i386/strrchr.S: Likewise.
6860 * sysdeps/i386/strspn.S: Likewise.
6861 * sysdeps/i386/strtok.S: Likewise.
6862 * sysdeps/i386/sub_n.S: Likewise.
6863 * sysdeps/i386/submul_1.S: Likewise.
6864 * sysdeps/i386/elf/setjmp.S: Likewise.
6865 * sysdeps/i386/i486/strcat.S: Likewise.
6866 * sysdeps/i386/i486/strlen.S: Likewise.
6867 * sysdeps/i386/i586/add_n.S: Likewise.
6868 * sysdeps/i386/i586/lshift.S: Likewise.
6869 * sysdeps/i386/i586/memcpy.S: Likewise.
6870 * sysdeps/i386/i586/memset.S: Likewise.
6871 * sysdeps/i386/i586/rshift.S: Likewise.
6872 * sysdeps/i386/i586/strchr.S: Likewise.
6873 * sysdeps/i386/i586/strcpy.S: Likewise.
6874 * sysdeps/i386/i586/strlen.S: Likewise.
6875 * sysdeps/i386/i586/sub_n.S: Likewise.
6876 * sysdeps/i386/i686/add_n.S: Likewise.
6877 * sysdeps/i386/i686/memcpy.S: Likewise.
6878 * sysdeps/i386/i686/mempcpy.S: Likewise.
6879 * sysdeps/i386/i686/memset.S: Likewise.
6880 * sysdeps/i386/i686/strcmp.S: Likewise.
6882 2000-06-08 Ulrich Drepper <drepper@redhat.com>
6884 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
6886 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
6887 256 and don't use OPEN_MAX.
6889 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
6890 use it instead of LINK_MAX.
6891 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
6893 2000-06-08 Andreas Jaeger <aj@suse.de>
6895 * libio/genops.c (_IO_list_lock): Only compile body if we're
6897 (_IO_list_unlock): Likewise.
6898 (_IO_list_resetlock): Likewise.
6900 2000-06-07 Ulrich Drepper <drepper@redhat.com>
6902 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
6903 unless user defined it.
6905 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
6906 if not defined by the user.
6908 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
6909 * libio/iofwrite.c (_IO_fwrite): Likewise.
6911 * time/time.h: Add missing __THROW for clock_getcpuclockid
6914 * elf/Makefile (distribute): Add dl-dtprocnum.h.
6915 * include/elf.h: Include also <dl-dtprocnum.h>.
6916 * elf/dl-deps.c: Likewise.
6917 * elf/dl-lookup.c: Likewise.
6918 * elf/dl-runtime.c: Likewise.
6919 * elf/dl-version.c: Likewise.
6920 * elf/do-rel.h: Likewise.
6921 * elf/dynamic-link.h: Likewise.
6922 * elf/link.h: Likewise.
6923 * elf/rtld.c: Likewise.
6924 * sysdeps/generic/dl-dtprocnum.h: New file.
6925 * sysdeps/ia64/dl-dtprocnum.h: New file.
6926 * sysdeps/mips/dl-dtprocnum.h: New file.
6927 * sysdeps/sparc/dl-dtprocnum.h: New file.
6929 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
6931 * elf/do-lookup.h: Add some __builtin_expect.
6933 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
6935 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
6936 (_dl_dynamic_weak): New variable.
6937 * elf/dl-support.c: Likewise.
6938 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
6939 * elf/do-lookup.h: If we find a weak definition treat it like a
6940 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
6941 case treat it like before.
6943 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
6945 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
6947 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
6948 using l_map_start and l_map_end.
6950 * elf/dl-version.c: Add __builtin_expect in many places.
6952 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
6955 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
6957 Lock for stdio stream list becomes global, for use in LinuxThreads.
6959 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
6960 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
6961 _IO_list_resetlock): New interface for iterating global list of
6962 streams without accessing the _IO_list_all global variable,
6963 and for manipulating the lock which protects this list.
6964 * libio/libioP.h: Likewise.
6965 * libio/Version: Add entries for the new functions.
6967 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
6968 pointer to _IO_FILE.
6970 2000-06-07 Ulrich Drepper <drepper@redhat.com>
6972 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
6973 BIT() must actually be BITw().
6975 * locale/programs/ld-ctype.c: Handle SP and space consistently.
6977 * locale/programs/charmap.c: Allow string arguments for
6978 code_set_name and repertoiremap.
6980 2000-06-07 Andreas Jaeger <aj@suse.de>
6982 * elf/Makefile: Build ldconfig only when building shared libraries.
6984 2000-06-07 Jakub Jelinek <jakub@redhat.com>
6986 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
6988 (fdimf, __fdim, fdim): Likewise.
6990 2000-06-07 Ulrich Drepper <drepper@redhat.com>
6992 * locale/findlocale.c: Add __builtin_expect in many places.
6993 * locale/loadlocale.c: Likewise.
6995 2000-06-06 Greg McGary <greg@mcgary.org>
6997 * sysdeps/mips/elf/start.S: Trim redundant code.
6999 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
7000 Use C comments throughout. Line up operands column with tabs.
7001 * sysdeps/powerpc/strchr.S: Likewise.
7002 * sysdeps/powerpc/strcmp.S: Likewise.
7003 * sysdeps/powerpc/strcpy.S: Likewise.
7004 * sysdeps/powerpc/strlen.S: Likewise.
7006 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
7007 Get low part of &__curbrk with @l.
7009 2000-06-06 Ulrich Drepper <drepper@redhat.com>
7011 * iconvdata/utf-16.c: Add __builtin_expect in many places.
7012 * iconvdata/unicode.c: Likewise.
7013 * iconvdata/uhc.c: Likewise.
7014 * iconvdata/t.61.c: Likewise.
7015 * iconvdata/sjis.c: Likewise.
7016 * iconvdata/johab.c: Likewise.
7017 * iconvdata/iso_6937.c: Likewise.
7018 * iconvdata/iso_6937-2.c: Likewise.
7019 * iconvdata/iso8859-1.c: Likewise.
7020 * iconvdata/iso646.c: Likewise.
7021 * iconvdata/iso-2022-kr.c: Likewise.
7022 * iconvdata/iso-2022-jp.c: Likewise.
7023 * iconvdata/iso-2022-cn.c: Likewise.
7024 * iconvdata/gbgbk.c: Likewise.
7025 * iconvdata/gbk.c: Likewise.
7026 * iconvdata/euc-kr.c: Likewise.
7027 * iconvdata/euc-jp.c: Likewise.
7028 * iconvdata/euc-cn.c: Likewise.
7030 2000-06-05 Ulrich Drepper <drepper@redhat.com>
7032 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
7033 * iconvdata/big5.c: Likewise.
7034 * iconvdata/ansi_x3.110.c: Likewise.
7035 * iconvdata/8bit-generic.c: Likewise.
7036 * iconvdata/8bit-gap.c: Likewise.
7037 * iconv/loop.c: Likewise.
7038 * iconv/gconv_db.c: Likewise.
7039 * iconv/gconv_dl.c: Likewise.
7040 * iconv/gconv_simple.c: Likewise.
7041 * iconv/skeleton.c: Likewise.
7043 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
7044 (struct __gconv_step_data): Rename __is_last to __flags.
7045 * iconv/gconv_close.c: Change all uses of __is_last.
7046 * iconv/skeleton.c: Likewise.
7047 * iconvdata/iso-2022-cn.c: Likewise.
7048 * iconvdata/iso-2022-jp.c: Likewise.
7049 * iconvdata/iso-2022-kr.c: Likewise.
7050 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
7051 Recognize IGNORE error handling, set flag, and remove from name.
7052 * iconv/loop.c (ignore_errors_p): Define.
7053 Add flags parameter to both functions.
7054 * iconv/skeleton.c: Pass flags to all conversion functions.
7055 * iconv/gconv_simple.c: Add flags parameter to all functions.
7056 Don't return error for invald error if ignore flag is set.
7057 (ucs4_internal_loop_single): Add missing pointer increment.
7058 (internal_ucs4le_loop_single): Likewise.
7059 * iconv/iconv_prog.c: Implement handling of -c parameter.
7060 * iconvdata/8bit-gap.c: Don't return error for invald error if
7062 * iconvdata/8bit-generic.c: Likewise.
7063 * iconvdata/ansi_x3.110.c: Likewise.
7064 * iconvdata/big5.c: Likewise.
7065 * iconvdata/big5hkscs.c: Likewise.
7066 * iconvdata/euc-cn.c: Likewise.
7067 * iconvdata/euc-jp.c: Likewise.
7068 * iconvdata/euc-kr.c: Likewise.
7069 * iconvdata/gbgbk.c: Likewise.
7070 * iconvdata/gbk.c: Likewise.
7071 * iconvdata/iso-2022-cn.c: Likewise.
7072 * iconvdata/iso-2022-jp.c: Likewise.
7073 * iconvdata/iso-2022-kr.c: Likewise.
7074 * iconvdata/iso646.c: Likewise.
7075 * iconvdata/iso8859-1.c: Likewise.
7076 * iconvdata/iso_6937-2.c: Likewise.
7077 * iconvdata/iso_6937.c: Likewise.
7078 * iconvdata/johab.c: Likewise.
7079 * iconvdata/sjis.c: Likewise.
7080 * iconvdata/t.61.c: Likewise.
7081 * iconvdata/uhc.c: Likewise.
7082 * iconvdata/unicode.c: Likewise.
7083 * iconvdata/utf-16.c: Likewise.
7084 * libio/fileops.c: Likewise.
7085 * libio/iofwide.c: Likewise.
7086 * wcsmbs/btowc.c: Likewise.
7087 * wcsmbs/mbrtowc.c: Likewise.
7088 * wcsmbs/mbsnrtowcs.c: Likewise.
7089 * wcsmbs/mbsrtowcs.c: Likewise.
7090 * wcsmbs/wcrtomb.c: Likewise.
7091 * wcsmbs/wcsnrtombs.c: Likewise.
7092 * wcsmbs/wcsrtombs.c: Likewise.
7093 * wcsmbs/wctob.c: Likewise.
7095 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
7098 2000-06-04 Ulrich Drepper <drepper@redhat.com>
7100 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
7101 counter for the object we are releasing, just decrement it.
7102 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
7104 2000-06-04 Jakub Jelinek <jakub@redhat.com>
7106 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
7109 2000-06-04 Ulrich Drepper <drepper@redhat.com>
7111 * iconvdata/big5hkscs.c: New file.
7112 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
7114 * iconvdata/gconv-modules: Add entry for new module.
7115 * iconvdata/Makefile (modules): Add BIG5HKSCS.
7116 (distribute): Add big5hkscs.c.
7118 2000-06-01 Jakub Jelinek <jakub@redhat.com>
7120 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
7121 inlines to match prototypes in mathcalls.h.
7122 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
7123 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
7124 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
7125 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7127 2000-06-03 Ulrich Drepper <drepper@redhat.com>
7129 * elf/elf.h (SHT_SUNW_move): Define.
7131 * elf/elf.h: Add more Solaris compatiblity definitions.
7133 2000-06-03 Andreas Jaeger <aj@suse.de>
7135 * sysdeps/powerpc/dl-start.S: Close open comment.
7137 2000-06-03 Jakub Jelinek <jakub@redhat.com>
7139 * inet/Versions: Fix typo in rresvport_af export.
7141 2000-06-02 Ulrich Drepper <drepper@redhat.com>
7143 * math/tgmath.h: Pretty print.
7145 2000-06-02 Andreas Jaeger <aj@suse.de>
7147 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
7148 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7150 2000-06-02 Ulrich Drepper <drepper@redhat.com>
7152 * elf/rtld.c (process_envvars): Test for = after variable name.
7154 2000-06-01 Ulrich Drepper <drepper@redhat.com>
7156 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
7157 have extra call to __gmon_start__, use the pointer we already have.
7159 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
7162 * sysdeps/i386/elf/setjmp.S: Work around change is recent
7163 binutils. gas now emits a jump through the PLT instead of a
7164 relative jump if the jump target is an exported symbol.
7166 2000-05-31 Ulrich Drepper <drepper@redhat.com>
7168 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
7170 2000-05-31 Andreas Jaeger <aj@suse.de>
7172 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
7175 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
7176 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7178 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
7180 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
7182 2000-05-30 Ulrich Drepper <drepper@redhat.com>
7184 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
7186 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
7187 * locale/localeconv.c: Make function versioned (with same definition).
7189 * elf/Makefile (modules-names): Strip before using it.
7191 2000-05-30 Andreas Jaeger <aj@suse.de>
7193 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
7194 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
7195 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
7196 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
7197 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
7198 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
7200 2000-05-29 Ulrich Drepper <drepper@redhat.com>
7202 * Makefile: Add GNU make magic.
7204 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
7206 * inet/rcmd.c: Remove __P. Remove unused variables.
7207 (iruserfopen): Make first parameter const.
7208 (ruserok_sa): Return result of ruserok2_sa.
7209 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
7210 * inet/rexec.c: Remove unused variables. Other small cleanups.
7211 * inet/ruserpass.c: Remove __P. Remove unused variables.
7212 (ruserpass): Check results of memory allocation.
7213 * include/netdb.h: Add prototype for ruserpass.
7215 2000-05-29 Andreas Jaeger <aj@suse.de>
7217 * elf/readlib.c (interpreters): Use LD_SO since this is supported
7220 2000-05-29 Jakub Jelinek <jakub@redhat.com>
7222 * inet/rcmd.c (rresvport_af): Use correct port number.
7224 2000-05-26 Andreas Schwab <schwab@suse.de>
7226 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
7227 entries in all-sonames.
7228 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
7229 preserving the old name if different for compatibility.
7231 2000-05-29 Ulrich Drepper <drepper@redhat.com>
7233 * posix/Makefile (tests): Add tst-spawn.
7234 (tst-spawn-ARGS): New variable.
7235 * posix/tst-spawn.c: New file.
7237 * posix/spawn_faction_addclose.c: Correctly account for new entry.
7238 * posix/spawn_faction_adddup2.c: Likewise.
7239 * posix/spawn_faction_addopen.c: Likewise.
7240 * posix/spawni.c: Correctly test for success of dup2 calls.
7242 * posix/tst-preadwrite.c: Check success of malloc call.
7244 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7246 * posix/Makefile (tests): Add tst-exec.
7247 (tst-exec-ARGS): New variable.
7248 * posix/tst-exec.c: New file.
7250 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
7252 2000-05-04 Andreas Jaeger <aj@suse.de>
7254 * string/string.h: Remove __strdup prototype, it's not needed in
7257 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7259 * posix/Makefile (tests): Add tst-fork.
7260 * posix/tst-fork.c: New file.
7262 * resolv/inet_pton.c: Loose __P.
7264 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7266 * libio/libioP.h (_IO_CHECK_WIDE): Define.
7267 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
7268 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
7269 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
7270 _IO_CHECK_WIDE fails.
7272 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7274 * po/da.po: New file.
7276 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
7277 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
7279 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
7280 (Other iconv Implementations): Fix typo.
7281 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
7283 2000-05-27 Andreas Jaeger <aj@suse.de>
7285 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
7287 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
7288 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
7289 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7290 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7291 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
7292 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
7294 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
7295 endianness to decide how to pass arguments.
7296 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7298 * elf/vismain.c: Use test-skeleton interface.
7299 (TEST_FUNCTION): New macro.
7300 (do_test): Renamed from main.
7302 2000-05-27 Ulrich Drepper <drepper@redhat.com>
7304 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
7305 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
7307 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
7308 handling of AI_V4MAPPED flag.
7310 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
7311 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
7312 perform lookup for T_A type and tell getanswer_r to convert the
7313 result with new argument.
7314 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
7315 Don't convert addresses from IPv4 to IPv6 here.
7316 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
7317 IPv6 is wanted. Allow qtype and type from reply to disagree if
7318 IPv4 mapping has to be done. Perform mappings if required by the
7319 caller and not if RES_USE_INET6 bit in _res.options is set.
7320 Add several __builtin_expect.
7322 2000-05-26 Ulrich Drepper <drepper@redhat.com>
7324 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
7326 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
7329 * posix/tst-preadwrite.c: Allow parallel execution of
7330 tst-preadwrite and tst-preadwrite64.
7332 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
7333 * posix/tst-truncate.c: New file.
7334 * posix/tst-truncate64.c: New file.
7336 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
7339 * posix/Makefile (tests): Add tst-preadwrite64.
7340 * posix/tst-preadwrite.c: Alloc file being used also for testing
7341 pread64 and pwrite64.
7342 * posix/tst-preadwrite64.c: New file.
7344 2000-05-26 Andreas Jaeger <aj@suse.de>
7346 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
7347 of arguments dependend on endianness.
7348 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
7350 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
7352 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
7353 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
7354 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7355 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7357 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
7358 endianness to check how to pass argument.
7359 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7361 * elf/ldconfig.h: Update parameter list for process_elf_file.
7363 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
7364 Add parameter file_length and pass it ot process_elf*file.
7366 * sysdeps/generic/readelflib.c (check_ptr): New.
7367 (process_elf_file): Use check_ptr to check all accesses to the
7368 mmapped file. Add parameter file_length.
7370 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
7373 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
7374 Closes PR libc/1573, reported by Bradley White
7375 <bww@laurelnetworks.com>.
7377 2000-05-25 Ulrich Drepper <drepper@redhat.com>
7379 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
7380 __FAST_MATH__ is defined.
7382 2000-05-22 Andreas Jaeger <aj@suse.de>
7384 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
7385 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
7387 * manual/math.texi (FP Function Optimizations): Document gcc
7388 -ffast-math behaviour with mathinlines.
7390 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
7391 functions unless -ffast-math is given to gcc.
7393 2000-05-23 Jakub Jelinek <jakub@redhat.com>
7395 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
7396 __sincosl): Guard with __USE_GNU.
7398 2000-05-24 Ulrich Drepper <drepper@redhat.com>
7400 * csu/Makefile (routines): Add check_fds.
7401 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
7402 binaries. Add various __builtin_expect.
7403 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
7404 * sysdeps/generic/check_fds.c: ...here. New file.
7406 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
7407 binaries if file /etc/suid-debug is available.
7409 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
7410 and wcseqorder members.
7411 (struct locale_collate_t): Likewise.
7412 (collate_finish): Assign collation sequence value to each character.
7413 Create tables for output.
7414 (collate_output): Write out tables with collation sequence information.
7415 * locale/C-collate.c: Provide C locale data for collation sequence
7417 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
7418 _NL_COLLATE_COLLSEQWC.
7419 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
7420 _NL_COLLATE_COLLSEQWC.
7421 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
7422 include fnmatch_loop.c.
7423 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
7424 character is matched by range expression. Use collation sequence
7425 table. Outside glibc fall back on simple character value comparison.
7427 2000-05-24 Andreas Jaeger <aj@suse.de>
7429 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
7432 * intl/Makefile: Run gettext-test only if msgfmt is available.
7434 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
7435 Define it for newer kernels.
7437 2000-05-23 Ulrich Drepper <drepper@redhat.com>
7439 * elf/dl-sym.c: Minor cleanups.
7441 * configure.in: Add test for .protected.
7442 * config.make.in: Add have-protected variable.
7443 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
7444 (tests-vis-yes): Add vismain.
7445 (modules-names): Add $(modules-vis-$(have-protected)).
7446 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
7447 Add rules to generate and run vismain.
7448 * elf/vismain.c: New file.
7449 * elf/vismod1.c: New file.
7450 * elf/vismod2.c: New file.
7451 * elf/vismod3.c: New file.
7453 2000-05-23 Andreas Jaeger <aj@suse.de>
7455 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
7457 * manual/search.texi (Array Sort Function): Document that qsort is
7458 not necessarily in-place.
7460 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
7461 Closes PR libc/1731.
7463 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
7464 * dirent/scandir64.c: Likewise.
7465 * pwd/getpw.c: Likewise.
7466 * stdlib/bsearch.c (bsearch): Likewise.
7467 * stdlib/tst-strtoll.c: Likewise.
7468 * localedata/collate-test.c: Likewise.
7469 * localedata/xfrm-test.c: Likewise.
7470 * posix/bsd-getpgrp.c: Likewise.
7471 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
7472 * sysdeps/generic/bits/siginfo.h: Likewise.
7473 * sysdeps/generic/bits/sockaddr.h: Likewise.
7474 * sysdeps/generic/sys/swap.h: Likewise.
7475 * sysdeps/generic/sys/sysinfo.h: Likewise.
7476 * sysdeps/generic/vfork.c: Likewise.
7477 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
7478 * sysdeps/mach/hurd/fdopen.c: Likewise.
7479 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
7480 * sysdeps/unix/sysv/linux/poll.c: Likewise.
7481 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7482 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7483 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7484 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7485 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
7487 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
7488 * shadow/lckpwdf.c: Likewise.
7489 * stdlib/tst-strtol.c: Likewise.
7490 * sysdeps/generic/tcsetattr.c: Likewise.
7491 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7492 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7494 2000-05-22 Jakub Jelinek <jakub@redhat.com>
7496 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
7497 free it and set to (void *) -1.
7499 2000-05-22 Jakub Jelinek <jakub@redhat.com>
7501 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
7502 not the second character in the range.
7503 * stdio-common/tstscanf.c (main): Add testcase for the above.
7504 Reported by jik@kamens.brookline.ma.us.
7506 2000-05-21 H.J. Lu <hjl@gnu.org>
7508 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
7509 with noexec and noplt parameter.
7510 (do_lookup): Likewise.
7512 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
7513 do_lookup. Support STV_PROTECTED.
7514 (_dl_lookup_symbol_skip): Likewise.
7515 (_dl_lookup_versioned_symbol): Likewise.
7516 (_dl_lookup_versioned_symbol_skip): Likewise.
7518 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
7520 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
7522 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7524 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
7525 * sysdeps/i386/bits/huge_val.h: Likewise.
7526 * sysdeps/ieee754/bits/huge_val.h: Likewise.
7527 * sysdeps/m68k/bits/huge_val.h: Likewise.
7528 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
7529 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
7531 2000-05-22 Andreas Jaeger <aj@suse.de>
7533 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
7536 2000-05-19 Andreas Jaeger <aj@suse.de>
7538 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
7539 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
7540 breaks compilation without linuxthreads.
7542 2000-05-21 Ulrich Drepper <drepper@redhat.com>
7544 * sysdeps/ia64/memccpy.S: New file.
7545 * sysdeps/ia64/memchr.S: New file.
7546 * sysdeps/ia64/memcmp.S: New file.
7547 * sysdeps/ia64/memcpy.S: New file.
7548 * sysdeps/ia64/memmove.S: New file.
7549 * sysdeps/ia64/memset.S: New file.
7550 * sysdeps/ia64/strcat.S: New file.
7551 * sysdeps/ia64/strchr.S: New file.
7552 * sysdeps/ia64/strcmp.S: New file.
7553 * sysdeps/ia64/strcpy.S: New file.
7554 * sysdeps/ia64/strlen.S: New file.
7555 * sysdeps/ia64/strncmp.S: New file.
7556 * sysdeps/ia64/strncpy.S: New file.
7557 * sysdeps/ia64/softpipe.h: New file.
7558 Patches by Dan Pop <Dan.Pop@cern.ch>.
7560 * manual/memory.texi: Document memory handling functions (mlock,
7561 munlock, mlockall, munlockall, brk, and sbrk)
7562 * manual/time.texi: Document timespec and friends.
7563 * manual/conf.texi: Fix references.
7564 * manual/ctype.texi: Likewise.
7565 * manual/errno.texi: Likewise.
7566 * manual/intro.texi: Likewise.
7567 * manual/locale.texi: Likewise.
7568 * manual/sysinfo.texi: Likewise.
7569 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
7571 2000-05-09 Jes Sorensen <jes@linuxcare.com>
7573 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
7574 * sysdeps/ia64/dl-lookupcfg.h: ...here.
7576 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7578 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
7581 2000-05-21 Ulrich Drepper <drepper@redhat.com>
7583 * locale/locale.h (struct lconv): Add new elements from ISO C99.
7584 * locale/localeconv.c: Initialize new elements from ISO C99.
7585 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
7586 new standard elements.
7587 * locale/categories.def: Adjust accordingly.
7589 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
7590 * iconv/iconv.c: Likewise.
7591 * conform/data/iconv.h-data: Likewise.
7592 * iconv/iconv_prog.c (process_block): Remove const from second
7594 (main): Remove const from addr definition.
7595 * manual/charset.texi (Generic Conversion Interface): Remove from
7596 inbuf parameter of iconv.
7598 * intl/dcigettext.c: Fix typo in comment.
7600 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
7602 * resolv/res_libc.c (_res): Initialize _sock to -1.
7604 2000-05-18 Jakub Jelinek <jakub@redhat.com>
7606 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
7607 (fopencookie@@GLIBC_2.2): New.
7608 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
7609 (fopencookie@GLIBC_2.0): New.
7610 * libio/Versions: Add fopencookie to GLIBC_2.2.
7612 2000-05-18 Andreas Jaeger <aj@suse.de>
7614 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
7615 Closes PR libc/1731.
7617 * manual/arith.texi (Parsing of Integers): Fix typo.
7618 Closes PR libc/1744, reported by blp@gnu.org.
7620 2000-05-17 Jakub Jelinek <jakub@redhat.com>
7622 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
7623 __extension__ to hexadecimal floating constant notation.
7624 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
7626 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
7627 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
7629 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
7630 HUGE_VALL): Likewise.
7631 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
7632 HUGE_VALL): Likewise.
7633 (HUGE_VALL): Set to HUGE_VAL on sparc32.
7635 2000-05-17 Andreas Jaeger <aj@suse.de>
7637 * string/envz.h: Add pure attributes if possible.
7639 * string/argz.h: argz_count is a pure function.
7641 * string/strings.h: Add pure and const attributes if possible.
7643 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
7644 possibly searching through the whole memory.
7645 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
7647 2000-05-17 Jakub Jelinek <jakub@redhat.com>
7649 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
7651 (_dl_cache_check_flags): Likewise.
7652 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
7655 2000-05-17 Andreas Jaeger <aj@suse.de>
7657 * manual/creature.texi (Feature Test Macros): Remove paragraph
7658 since the description is wrong.
7659 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
7661 * scripts/config.sub: New version.
7662 * scripts/config.guess: Likewise.
7663 * manual/texinfo.tex: Likewise.
7665 * time/test_time.args: Removed.
7666 * time/Makefile (test_time-ARGS): Added contents here instead.
7668 * posix/tstgetopt.args: Removed.
7669 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
7671 * Rules: Allow arguments for test files to be specified in
7672 Makefile with testname-ARGS; remove rules with .args in it.
7674 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
7675 remove old bogus rule for opendir-tst1.args.
7677 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
7679 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
7680 into objdir. This allows a readonly sourcetree.
7681 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
7683 2000-05-16 Andreas Jaeger <aj@suse.de>,
7684 David Huggins-Daines <dhd@linuxcare.com>
7686 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
7687 cache_data in case of only new cache format correctly.
7689 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
7692 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
7693 struct cache_file_new.
7695 * elf/cache.c (save_cache): Fix str_offset if only new cache is
7698 * elf/cache.c (save_cache): Align struct new_file_cache.
7699 (print_cache): Likewise.
7701 2000-05-13 Jakub Jelinek <jakub@redhat.com>
7703 * elf/soinit.c (__libc_global_ctors): Move
7704 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
7705 * resolv/resolv.h (__res_state): Added __attribute__((const)).
7706 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
7707 variable, don't define it to __res_state call.
7709 2000-05-13 Andreas Jaeger <aj@suse.de>
7711 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
7713 (AF_PPPOX): Likewise.
7714 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
7715 (AF_PPPOX): Likewise.
7717 2000-05-12 Andreas Jaeger <aj@suse.de>
7719 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
7720 Reported by tmoestl@gmx.net, closes PR libc/1732.
7722 2000-05-11 Jan Hubicka <jh@suse.cz>
7724 * misc/sys/cdefs.h: Add support for pure attribute.
7726 * include/string.h: Add __attribute_pure__ to various functions.
7727 * string/string.h: Likewise.
7729 2000-05-10 Jakub Jelinek <jakub@redhat.com>
7731 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
7733 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7735 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
7737 2000-05-10 Jakub Jelinek <jakub@redhat.com>
7739 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
7740 at proper place. Compute the high nibble correctly.
7742 2000-05-09 Jakub Jelinek <jakub@redhat.com>
7744 * elf/ldconfig.c: Include elf.h.
7746 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
7747 (_dl_vsym): Likewise.
7748 Reported by Owen Taylor <otaylor@redhat.com>.
7750 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
7753 2000-05-08 Andreas Jaeger <aj@suse.de>
7755 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
7757 * intl/bindtextdom.c (set_binding_values): Add prototype.
7759 2000-05-08 Jakub Jelinek <jakub@redhat.com>
7761 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
7762 call to elf_machine_fixup_plt.
7763 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7764 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7766 2000-05-08 Jakub Jelinek <jakub@redhat.com>
7768 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
7769 they are not dlclose'd from underneath us.
7771 2000-05-08 Andreas Schwab <schwab@suse.de>
7773 * posix/execle.c: Fix size parameter of memcpy.
7775 2000-05-08 Andreas Schwab <schwab@suse.de>
7777 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
7778 getpagesize syscall if available.
7780 2000-05-08 Andreas Jaeger <aj@suse.de>
7782 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
7785 2000-05-08 Jakub Jelinek <jakub@redhat.com>
7787 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
7788 sizeof(struct link_map *) chunks, not in bytes.
7790 2000-05-07 Ulrich Drepper <drepper@redhat.com>
7792 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
7793 only needed for locale.
7794 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
7795 It's only needed for catgets.
7796 Patches by Greg McGary <gkm@eng.ascend.com>.
7798 2000-05-07 Mark Kettenis <kettenis@gnu.org>
7800 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
7801 Remove duplicate <errno.h> include. Remove inclusion of
7802 <libintl.h> and "nsswitch.h".
7803 (set_cloexec_flag): New function, broken out of dbopen.
7804 (dbopen): Changed return type to `enum
7805 nss_status'. Mostly rewritten to make sure that we do not report
7806 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
7807 (internal_setent): Change return type to nss_status.
7808 Document, and make sure that the function
7809 behaves accordingly. Make dynamically loading the database
7810 library really thread-safe and return NSS_STATUS_UNAVAIL if it
7812 (db_cursor): Return ENOMEM is memory allocation failed. Remove
7814 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
7816 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
7817 c_get function member.
7818 * nss/nss_db/nss_db.h: Add and tweak some comments.
7819 (DBT): Move typedef before NSS_DBC typedef.
7820 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
7822 2000-05-07 H.J. Lu <hjl@gnu.org>
7824 * csu/initfini.c: Moved to ....
7825 * sysdeps/generic/initfini.c: ...here.
7827 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
7829 2000-05-07 Ulrich Drepper <drepper@redhat.com>
7831 * manual/resource.texi: Document POSIX scheduling functions.
7832 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7834 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
7835 reading anything. Reported by Andries.Brouwer@cwi.nl.
7837 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
7838 for x since promotion in comparison might leads to unexpected
7839 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
7841 * iconv/Makefile (tests): Add tst-iconv1.
7842 * iconv/tst-iconv1.c: New file.
7843 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
7844 empty input buffer over full output buffer.
7845 (ucs4_internal_loop): Likewise.
7846 (ucs4_internal_loop_unaligned): Likewise.
7847 (internal_ucs4le_loop): Likewise.
7848 (internal_ucs4le_loop_unaligned): Likewise.
7849 (ucs4le_internal_loop): Likewise.
7850 (ucs4le_internal_loop_unaligned): Likewise.
7851 Reported by yaoz@nih.gov.
7853 2000-05-06 Bruno Haible <haible@clisp.cons.org>
7855 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
7856 returned != __GCONV_OK, there is nothing to clean up.
7858 2000-05-06 Bruno Haible <haible@clisp.cons.org>
7860 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
7861 OUTPUT_CHARSET environment variables.
7863 2000-05-06 Andreas Jaeger <aj@suse.de>
7865 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
7866 (struct cache_file_new): New.
7867 (struct file_entry): New (moved from cache.c).
7868 (struct cache_file): New (moved from cache.c).
7870 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
7871 from _dl_load_cache_lookup.
7872 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
7873 the different cache formats.
7874 New variable cache_new for new format.
7876 * elf/ldconfig.h: Change according to changes in cache.c and
7877 ldconfig.c; remove cache_libcmp; add opt_format.
7879 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
7880 stuff that's defined in those headers.
7881 Add hwcap to struct lib_entry.
7882 (opt_format): New variable to select cache format.
7883 (options): Add format parameter.
7884 (is_hwcap): New function.
7885 (path_hwcap): New function.
7886 (parse_opt): Handle new format parameter.
7887 (search_dir): Handle hwcap, search also subdirectories with hwcap.
7889 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
7890 ldconfig is part of glibc.
7891 Include dl-cache.h and remove stuff that's defined there.
7892 (struct cache_entry): Add new member hwcap.
7893 (print_entry): Print hwcap, cleanup a bit.
7894 (print_cache): Print new and old formats.
7895 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
7896 (save_cache): Save new and old formats.
7897 (add_to_cache): Handle hwcap.
7899 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
7900 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
7901 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
7902 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
7903 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
7904 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
7906 2000-05-05 Bruno Haible <haible@clisp.cons.org>
7908 * intl/dcigettext.c (alignof): New macro.
7909 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
7910 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
7913 2000-05-05 Bruno Haible <haible@clisp.cons.org>
7915 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
7918 2000-05-06 Ulrich Drepper <drepper@redhat.com>
7920 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
7921 (mempcpy): Correct typo is parameter list.
7923 2000-05-06 Andreas Jaeger <aj@suse.de>
7925 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
7926 functions unless -ffast-math is given to gcc.
7928 2000-05-06 Ulrich Drepper <drepper@redhat.com>
7930 * po/ko.po: Update from translation team.
7932 2000-05-05 Ulrich Drepper <drepper@redhat.com>
7934 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
7935 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
7936 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
7937 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
7938 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
7939 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
7941 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
7942 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
7943 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
7945 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
7946 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
7947 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
7948 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
7950 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
7951 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
7953 2000-05-05 Jes Sorensen <jes@linuxcare.com>
7955 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
7956 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
7958 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
7959 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
7961 * sysdeps/ia64/Implies: New file.
7962 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
7963 * sysdeps/ia64/Makefile: New file.
7964 * sysdeps/ia64/gmp-mparam.h: New file,
7966 * sysdeps/ia64/elf/start.S: New file.
7968 * sysdeps/ia64/bits/fenv.h: New file.
7970 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
7972 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
7974 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
7976 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
7977 ia64 has 64 bit .hash entries just as the Alpha.
7979 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
7981 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
7983 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
7985 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
7986 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
7987 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
7988 * sysdeps/ia64/fpu/fegetenv.c: New file.
7989 * sysdeps/ia64/fpu/fegetexcept.c: New file.
7990 * sysdeps/ia64/fpu/fegetround.c: New file.
7991 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
7992 * sysdeps/ia64/fpu/fesetenv.c: New file.
7993 * sysdeps/ia64/fpu/fesetround.c: New file.
7994 * sysdeps/ia64/fpu/feupdateenv.c: New file.
7995 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
7996 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
7997 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
7998 * sysdeps/ia64/fpu/ftestexcept.c: New file.
8000 2000-05-05 Andreas Jaeger <aj@suse.de>
8002 * misc/tst-tsearch.c (main): Correct type for initstate argument.
8004 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8005 (_dl_string_hwcap): New, does nothing.
8007 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8008 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8009 (_dl_string_hwcap): New function, converts from string to hwcap
8011 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
8012 (_DL_HWCAP_COUNT): New.
8013 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8014 (_dl_string_hwcap): New function, converts from string to hwcap
8016 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
8017 (_DL_HWCAP_COUNT): New.
8018 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8019 (_dl_string_hwcap): New function, converts from string to hwcap
8022 2000-05-05 Ulrich Drepper <drepper@redhat.com>
8024 * elf/Makefile (distribute): Add dl-lookupcfg.h.
8025 * sysdeps/ia64/Dist: New file.
8027 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
8028 parameter to mprotect and for variable assignments.
8030 2000-05-03 Jes Sorensen <jes@linuxcare.com>
8032 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
8033 validity of map before dereferencing it.
8035 * elf/dl-reloc.c (RESOLVE_MAP): Define.
8037 2000-05-02 Jes Sorensen <jes@linuxcare.com>
8039 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
8040 lookup to the arguments to elf_machine_fixup_plt().
8042 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
8043 of the symbol being resolved to input argument list and make the
8044 function return the pointer to the reloc.
8046 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
8047 return valuie to lookup_t and return the value.
8048 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
8049 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
8050 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
8051 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
8052 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
8053 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
8055 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
8056 Make it an inline function returning value after calling
8057 __elf_machine_fixup_plt().
8059 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
8062 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
8063 obtain the symbol address.
8065 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
8066 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
8068 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
8069 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
8072 2000-04-28 Jes Sorensen <jes@linuxcare.com>
8074 * elf/dl-runtime.c (fixup): Use the portable macros to get the
8075 symbol address of an object.
8077 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
8078 the symbol address of an object.
8080 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
8081 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
8082 (_dl_lookup_symbol_skip): Likewise.
8083 (_dl_lookup_versioned_symbol): Likewise.
8084 (_dl_lookup_versioned_symbol_skip): Likewise.
8086 2000-04-27 Jes Sorensen <jes@linuxcare.com>
8088 * elf/rtld.c (_dl_start): Get the function pointer return address
8089 via _dl_start_address for architectures that need a function
8090 pointer descriptor rather than just a pointer (ia64).
8092 * sysdeps/generic/dl-lookupcfg.h: New file.
8093 * sysdeps/ia64/dl-lookupcfg.h: New file.
8094 * sysdeps/ia64/dl-machine.h: New file.
8095 * sysdeps/ia64/dl-symaddr.c: New file.
8096 * sysdeps/ia64/dl-fptr.c: New file.
8098 * elf/elf.h: Add IA-64 specific definitions.
8100 2000-05-04 Jakub Jelinek <jakub@redhat.com>
8102 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
8105 2000-05-04 Jakub Jelinek <jakub@redhat.com>
8107 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
8110 2000-04-11 Geoff Keating <geoffk@cygnus.com>
8112 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
8113 symbol. Call _dl_init rather than the old way.
8115 2000-05-04 Ulrich Drepper <drepper@redhat.com>
8117 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
8118 test for pointer in range of DSO address space.
8120 2000-05-04 Andreas Jaeger <aj@suse.de>
8122 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
8124 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8126 * locale/findlocale.c (_nl_find_locale): Add new parameter to
8127 calls of _nl_make_l10nflist.
8129 * libio/stdio.h: Make fseeko and ftello prototypes available is
8130 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
8132 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
8133 real unsetenv implementation from 1999-07-29 [PR libc/1714].
8135 2000-05-03 Bruno Haible <haible@clisp.cons.org>
8137 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
8138 before calling tfind.
8140 2000-03-05 Jakub Jelinek <jakub@redhat.com>
8142 * resolv/resolv.h (res_querydomain): Remove redefinition to
8143 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
8145 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8147 * po/gl.po: Update from translation team.
8149 * manual/intro.texi (Program Basics): Change section title.
8150 * manual/process.texi: Fix reference.
8151 (Executing a File): Add reference exec in other section.
8152 * manual/signal.texi: Fix reference.
8153 * manual/startup.texi: Document syscall function.
8154 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8156 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8158 * intl/libintl.h (bind_textdomain_codeset): New declaration.
8159 * intl/bindtextdom.c (set_binding_values): New function.
8160 (bindtextdomain): Call it.
8161 (bind_textdomain_codeset): New function.
8162 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
8163 (free_mem): Free each binding's codeset.
8164 * intl/gettextP.h (struct binding): Add codeset field.
8165 (_nl_find_domain): Add domainbinding argument.
8166 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
8167 Pass it to _nl_make_l10nflist.
8168 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
8169 (_nl_make_l10nflist): Add domainbinding argument.
8170 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
8171 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
8172 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
8174 * manual/message.texi: New node "Charset conversion in gettext".
8176 2000-04-30 Bruno Haible <haible@clisp.cons.org>
8178 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
8179 appropriate. Handle possible __read error.
8181 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8183 * intl/gettextP.h (__builtin_expect): Define as empty if not a
8185 * intl/loadinfo.h (__builtin_expect): Likewise.
8186 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
8187 __builtin_expect where appropriate.
8188 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8189 * intl/localealias.c (extend_alias_table): Return an error indicator.
8190 (read_alias_file): Bail out if extend_alias_table fails.
8192 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8194 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
8195 * intl/localealias.c: Likewise.
8197 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8199 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
8200 Initialize domain->plural and domain->nplurals even if there is no
8203 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8205 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
8206 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
8207 In case of failure, goto converted.
8209 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8211 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
8212 * iconv/gconv_int.h (norm_add_slashes): Move to here.
8213 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
8216 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8218 * intl/dcigettext.c (transcmp): Compare the domains as well.
8219 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
8221 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
8224 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8226 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
8227 Reported by Bruno Haible.
8229 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8231 * manual/arith.texi: Remove @w from @itemize.
8233 2000-05-02 Andreas Jaeger <aj@suse.de>
8235 * conform/data/tar.h-data: Add some checks for specific values.
8237 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
8240 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
8243 * conform/data/netinet/in.h-data: Add exact checks for the values
8244 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
8246 * conform/data/float.h-data: Add some minimal values.
8248 * conform/conformtest.pl: Test for macros with string constants,
8249 check for minimum and maximum values.
8250 Add limits.h to headers.
8252 * conform/data/cpio.h-data: Test for value of MAGIC.
8254 * conform/data/limits.h-data: New file.
8256 2000-04-30 Bruno Haible <haible@clisp.cons.org>
8258 * math/Makefile (headers): Add bits/fenvinline.h.
8260 2000-05-01 Ulrich Drepper <drepper@redhat.com>
8262 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
8263 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
8265 * posix/Versions: Change posix_spawnattr_getdefault and
8266 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
8267 and posix_spawnattr_setsigdefault respectively.
8268 * posix/spawn.h: Likewise.
8269 * posix/spawnattr_getdefault.h: Likewise.
8270 * posix/spawnattr_setdefault.h: Likewise.
8271 * conform/data/spawn.h-data: Likewise.
8273 2000-05-01 Andreas Jaeger <aj@suse.de>
8275 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
8277 2000-04-30 Ulrich Drepper <drepper@redhat.com>
8279 * manual/sysinfo.texi: Document getdomainname, setdomainname
8281 * manual/string.texi: Fix typo.
8282 * manual/terminal.texi: Document gtty and stty.
8283 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8285 2000-04-30 Andreas Jaeger <aj@suse.de>
8287 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
8288 accordance with Austin Draft.
8290 2000-04-30 Ulrich Drepper <drepper@redhat.com>
8292 * catgets/gencat.c (read_input_file): Use isblank and not isspace
8293 to recognize second character in comment line.
8295 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
8296 ENOBUFS if we are out of memory.
8298 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
8299 available if __USE_XOPEN2K.
8300 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
8301 * sysdeps/unix/common/bits/fcntl.h: Likewise.
8302 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
8303 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8304 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
8305 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8306 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
8307 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
8309 2000-04-29 Ulrich Drepper <drepper@redhat.com>
8311 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
8312 Recognize option -s, -c, and -l.
8314 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
8316 * nscd/nscd.c: Start new session for nscd, drop privilegs
8317 to configured user if requested and no -S parameter are used.
8318 * nscd/nscd.conf: Add new option "server-user".
8319 * nscd/nscd_conf.c: Add support for new "server-user" option.
8320 * nscd/nscd.h: Add declaration for server_user variable.
8321 Based on patch by Chris Wing <wingc@engin.umich.edu>
8323 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8325 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
8326 that changing the __restore and __restore_rt signal return code
8329 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8331 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
8334 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8336 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
8338 2000-04-29 Ulrich Drepper <drepper@redhat.com>
8340 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
8341 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
8343 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
8344 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
8345 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
8346 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
8347 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
8348 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
8349 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
8350 posix_fallocate, and posix_madvise.
8351 * conform/data/netdb.h-data: New file.
8352 * conform/data/pthread.h-data: Add pthread_barrier_t,
8353 pthread_barrierattr_t, pthread_barrier_destroy,
8354 pthread_barrier_init, pthread_barrier_wait,
8355 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
8356 pthread_barrierattr_init, pthread_barrierattr_setpshared,
8357 pthread_condattr_getclock, pthread_condattr_setclock,
8358 pthread_getcpuclockid, pthread_mutex_timedlock,
8359 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
8360 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
8361 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
8362 * conform/data/sched.h-data: Add sched_ss_low_priority,
8363 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
8365 * conform/data/semaphore.h-data: Add sem_timedwait.
8366 * conform/data/signal.h-data: Add SIGIO.
8367 * conform/data/spawn.h-data: New file.
8368 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
8369 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
8370 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
8371 Fix typo in gmtime_r definition.
8372 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
8373 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
8374 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
8375 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
8376 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
8377 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
8378 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
8379 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
8380 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
8381 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
8382 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
8383 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
8384 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
8385 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
8386 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
8387 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
8388 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
8389 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
8390 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
8391 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
8392 typo in off_t definition.
8393 * conform/data/net/if.h-data: New file.
8394 * conform/data/netinet/in.h-data: New file.
8395 * conform/data/netinet/tcp.h-data: New file.
8396 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
8397 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
8398 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
8399 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
8400 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
8401 and posix_typed_mem_open.
8402 * conform/data/sys/socket.h-data: New file.
8403 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
8404 * conform/data/sys/types.h-data: Add pthread_barrier_t,
8405 pthread_barrierattr_t, and pthread_spinlock_t.
8406 * conform/data/sys/un.h-data: New file.
8407 * conform/data/sys/utsname.h-data: New file.
8409 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
8411 * inet/gethstbyad.c (gethostbyname): Likewise.
8412 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
8413 * inet/getipnodebyad.c (getipnodebyad): Likewise.
8414 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
8415 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
8417 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
8418 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
8419 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
8420 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
8421 * resolv/gethnamaddr.c (gethostbyname): Likewise.
8422 * resolv/netdb.h (struct hostent): Fix type of h_length member.
8423 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
8424 and second parameter.
8426 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
8429 2000-04-29 Andreas Jaeger <aj@suse.de>
8431 * conform/data/arpa/inet.h-data: New file.
8433 2000-04-28 Geoff Clare <gwc@unisoft.com>
8435 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
8436 path passed to ftw() or nftw() is an empty string.
8437 Closes PR libc/1710.
8439 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8441 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
8442 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
8443 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
8444 * localedata/tst-mbswcs4.c: New file.
8445 * localedata/tst-mbswcs5.c: New file.
8447 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
8448 == NULL. Little optimization.
8450 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
8451 DT_PREINIT_ARRAYSZ).
8452 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
8454 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
8455 overflows in conversion from ASCII.
8457 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8459 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
8460 * Makerules (full_config_sysdirs): Likewise.
8461 * MakeTAGS (full_config_sysdirs): Likewise.
8463 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8465 * .cvsignore: Remove linuxthreads.
8466 * po/.cvsignore: Remove *.pot.
8467 * posix/glob/.cvsignore: Removed.
8468 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
8470 2000-04-25 Andreas Jaeger <aj@suse.de>
8472 * conform/Makefile (distribute): Also distribute contents of
8475 * Makerules (no_deps): Remove abi-versions.h.
8477 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
8479 2000-04-25 Jakub Jelinek <jakub@redhat.com>
8481 * sysdeps/sparc/sparc64/elf/Dist: Remove.
8482 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
8483 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
8484 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
8485 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
8486 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
8489 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
8491 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
8493 2000-04-23 Bruno Haible <haible@clisp.cons.org>
8495 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
8496 * intl/l10nflist.c: Likewise.
8498 2000-04-23 Bruno Haible <haible@clisp.cons.org>
8500 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
8501 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
8502 * intl/textdomain.c [!_LIBC]: Likewise.
8503 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
8504 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
8505 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
8508 2000-04-23 Bruno Haible <haible@clisp.cons.org>
8510 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
8511 character set conversion also in the case the translation was found
8512 after a hash collision or through binary search. Store the maximum
8513 index together with the converted message. Use iconv() when available.
8514 In case of out of memory during conversion, return the unconverted
8515 translated string, not NULL.
8517 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
8519 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
8520 to avoid name clashes with the ia32 linker.
8522 2000-04-25 Jakub Jelinek <jakub@redhat.com>
8524 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
8527 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8529 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
8530 strtoumax, strfry, and memfrob.
8531 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
8532 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8534 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
8535 if this function is available.
8537 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
8540 2000-04-27 Jakub Jelinek <jakub@redhat.com>
8542 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
8544 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8546 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
8547 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
8548 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
8549 * localedata/tst-mbswcs3.c: New file.
8551 2000-04-26 Ulrich Drepper <drepper@redhat.com>
8553 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
8554 characters. Don't handle incomplete characters as errors.
8555 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
8556 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
8557 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
8558 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
8559 * localedata/tst-mbswcs2.c: New file.
8561 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
8562 stored character in state in UNPACK_BYTES macro.
8563 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
8564 test for available characters, handle result of BODY code correctly.
8565 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
8566 (distribute): Add tst-mbswcs.sh.
8567 Add rule to run tst-mbswcs.sh.
8568 * localedata/tst-mbswcs.sh: New file.
8569 * localedata/tst-mbswcs1.c: New file.
8571 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8573 * nis/nis_callback.c (__nis_create_callback): Do failed memory
8574 allocation fixups centrally, fix __builtin_expect call, return NULL
8575 on failure, not NIS_NOMEMORY.
8577 2000-04-27 Bruno Haible <haible@clisp.cons.org>
8579 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
8581 * intl/loadinfo.h (internal_function): Define if not already defined.
8583 2000-04-27 Andreas Jaeger <aj@suse.de>
8585 * intl/libintl.h: Fix typo, reported by Bruno Haible
8586 <haible@clisp.cons.org>.
8588 2000-04-25 Ulrich Drepper <drepper@redhat.com>
8590 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
8591 setting the state to GMON_PROF_BUSY.
8593 2000-04-24 Ulrich Drepper <drepper@redhat.com>
8595 * elf/dl-profile.c (_dl_start_profile): define all variables which
8596 do not have to be global as local variables.
8598 * nis/nis_callback.c (__nis_create_callback): Partially undo last
8599 patch. Keep needed tests for failed memory allocation.
8601 * elf/dl-reloc.c (_dl_relocate_object): Add one more
8602 __builtin_expect saying that we don't normally expect to profile.
8604 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
8605 __builtin_expect where desirable.
8607 2000-04-23 Ulrich Drepper <drepper@redhat.com>
8609 * manual/Makefile (chapters): Add syslog.
8610 * manual/syslog.texi: New file.
8611 * manual/math.texi: Fix references.
8612 * manual/terminal.texi: Likewise.
8613 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8615 2000-04-18 Jakub Jelinek <jakub@redhat.com>
8617 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
8618 stdlib.h was not included or __USE_XOPEN not defined.
8620 2000-04-23 Ulrich Drepper <drepper@redhat.com>
8622 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
8623 Patch by Zack Weinberg <zack@wolery.cumb.org>.
8625 2000-04-22 Ulrich Drepper <drepper@redhat.com>
8627 * manual/examples/subopt.c (mount_opts): Add missing terminating
8629 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8631 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
8632 * libio/ftello.c: Likewise.
8633 * libio/ftello64.c: Likewise.
8634 * libio/ioftell.c: Likewise.
8635 * sysdeps/generic/memrchr.c: Likewise.
8636 * sysdeps/posix/libc_fatal.c: Likewise.
8637 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8638 * misc/fstab.c: Include <string.h> for strcmp prototype.
8639 * sysdeps/generic/ldsodefs.h: Likewise.
8640 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8641 Patch by Kurt Roeckx <Q@ping.be>.
8643 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
8644 Remove db-open. Change all uses.
8645 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
8647 2000-04-21 Jakub Jelinek <jakub@redhat.com>
8649 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
8650 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
8651 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
8652 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
8653 with .set noat/at to shut up warnings.
8654 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
8655 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
8656 compilation if __NR_pciconfig_iobase is not defined.
8657 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
8660 2000-04-21 Ulrich Drepper <drepper@redhat.com>
8662 * manual/sysinfo.texi: Fix typo.
8663 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
8664 Replace "high precision time" with "high accuracy clock".
8666 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8668 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
8669 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
8671 * nis/nis_subr.c: Use __builtin_expect.
8672 * nis/ypclnt.c: Likewise.
8673 * nis/nis_getservlist.c: Likewise.
8674 * nis/nis_creategroup.c: Likewise.
8676 * nis/nis_callback.c (__nis_create_callback): Check result of
8677 memory allocation. Fix memory leaks. Use __builtin_expect.
8678 (__nis_destroy_callback): Fix memory leaks.
8680 2000-04-21 Andreas Jaeger <aj@suse.de>
8682 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
8683 * sysdeps/mips/mips64/add_n.S: Likewise.
8684 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
8685 * sysdeps/mips/mips64/lshift.S: Likewise.
8686 * sysdeps/mips/mips64/mul_1.S: Likewise.
8687 * sysdeps/mips/mips64/rshift.S: Likewise.
8688 * sysdeps/mips/mips64/setjmp.S: Likewise.
8689 * sysdeps/mips/mips64/sub_n.S: Likewise.
8690 * sysdeps/mips/mips64/submul_1.S: Likewise
8691 * sysdeps/unix/mips/sysdep.S: Likewise.
8693 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
8694 and update comment. The strtab from _dl_relocate_object can be
8697 2000-04-21 Ulrich Drepper <drepper@redhat.com>
8699 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
8700 * iconv/iconv_close.c (iconv_close): Likewise.
8701 * iconv/iconv_open.c (iconv_open): Likewise.
8703 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
8704 __builtin_expect where useful.
8706 * grp/initgroups.c (initgroups): Test for result of memory
8707 allocation and punt if it fails.
8709 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
8710 * grp/fgetgrent.c (fgetfrent): Likewise.
8711 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
8713 2000-04-21 Jakub Jelinek <jakub@redhat.com>
8715 * libio/vasprintf.c: Include string.h to get memcpy prototype.
8717 2000-04-20 Ulrich Drepper <drepper@redhat.com>
8719 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
8720 don't search for NUL byte to decrement counter.
8721 Reported by Ulrich.Brink@sap.com.
8723 * iconv/gconv_simple.c: Define separate functions to convert from
8724 UCS4/UCS4-LE to the internal encoding.
8725 * iconv/gconv_builtin.h: Use separate functions to convert from
8726 UCS4/UCS4-LE to the internal encoding.
8727 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
8728 __gconv_transform_ucs4le_internal.
8730 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
8731 output buffer overflow. Reported by Ulrich.Brink@sap.com.
8733 * iconv/skeleton.c: Add some more __builtin_expect.
8734 * iconv/loop.c: Likewise.
8736 2000-03-08 H.J. Lu <hjl@gnu.org>
8738 * posix/regex.c (regex_compile): Correctly handle "\{" when
8739 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
8741 2000-04-20 Ulrich Drepper <drepper@redhat.com>
8743 * manual/stdio.texi: Give advise about handling error when using
8745 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
8747 2000-04-19 Jakub Jelinek <jakub@redhat.com>
8749 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
8750 field to nelems * sizeof (uint32_t).
8751 * locale/programs/ld-address.c (address_output): Align word fields
8753 * locale/programs/ld-monetary.c (monetary_output): Likewise.
8754 Don't restart idx pointers to idx end at the duo_int_curr_symbol
8756 Avoid giving arbitrary garbage in the crncystr field.
8757 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
8758 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
8760 * locale/programs/ld-numeric.c (numeric_output): Likewise.
8761 Don't restart idx pointers to idx end at the decimal_point_wc field.
8762 * locale/programs/ld-time.c (time_output): week_1stday should be
8763 word, not byte. Align it properly.
8765 2000-04-19 H.J. Lu <hjl@gnu.org>
8767 * csu/gmon-start.c (_start): Declared as "extern void".
8770 2000-04-18 Andreas Jaeger <aj@suse.de>
8772 * manual/install.texi (Running make install): Don't mention utmpd
8775 2000-04-18 Andreas Jaeger <aj@suse.de>
8777 * linuxthreads/Versions: Use ld instead of ld.so.
8779 * elf/Makefile (ld-map): Use ld.map.
8781 * Versions.def: Use ld instead of ld.so.
8782 * elf/Versions: Likewise.
8783 * sysdeps/mach/hurd/Versions: Likewise.
8785 2000-04-20 Andreas Jaeger <aj@suse.de>
8787 * elf/rtld.c (print_statistics): Move ifndef further up.
8788 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
8789 (dl_main): Likewise.
8791 2000-04-18 Ulrich Drepper <drepper@redhat.com>
8793 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
8794 * gmon/Versions: Move moncontrol to GLIBC_2.2.
8796 * po/cs.po: Update from translation team.
8798 * sysdeps/generic/updwtmp.c: Remove daemon support.
8800 * login/Makefile (routines): Remove utmp_daemon.
8802 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
8803 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
8804 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
8805 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
8807 * elf/rtld.c: Display statitics option also if hp timing is not
8810 * login/programs/connection.c: Removed.
8811 * login/programs/database.c Removed.
8812 * login/programs/error.c: Removed.
8813 * login/programs/request.c: Removed.
8814 * login/programs/xtmp.c: Removed.
8815 * login/programs/xtmp.h: Removed.
8816 * login/Makefile: Remove rules for utmpd.
8817 * login/README.utmpd: Removed.
8818 * login/utmp_daemon.c: Removed.
8819 * login/getutent_r.c: Remove references to daemon functions.
8820 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
8823 2000-04-18 Andreas Jaeger <aj@suse.de>
8825 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
8826 2.2 for libnsl, libresolv, librt, libnss_*.
8828 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
8830 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
8832 2000-04-18 Ulrich Drepper <drepper@redhat.com>
8834 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
8835 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
8836 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
8837 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
8838 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
8839 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
8840 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
8841 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
8842 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
8843 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
8844 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
8845 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
8846 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
8848 * sysdeps/unix/sysv/aix/msync.c: New file.
8849 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
8850 * sysdeps/unix/sysv/aix/net/if.h: New file.
8851 * sysdeps/unix/sysv/aix/pipe.c: New file.
8852 * sysdeps/unix/sysv/aix/poll.c: New file.
8853 * sysdeps/unix/sysv/aix/rename.c: New file.
8854 * sysdeps/unix/sysv/aix/rmdir.c: New file.
8855 * sysdeps/unix/sysv/aix/select.c: New file.
8856 * sysdeps/unix/sysv/aix/semctl.c: New file.
8857 * sysdeps/unix/sysv/aix/semget.c: New file.
8858 * sysdeps/unix/sysv/aix/semop.c: New file.
8859 * sysdeps/unix/sysv/aix/sendto.c: New file.
8860 * sysdeps/unix/sysv/aix/setgroups.c: New file.
8861 * sysdeps/unix/sysv/aix/setpgid.c: New file.
8862 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
8863 * sysdeps/unix/sysv/aix/setpriority.c: New file.
8864 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
8865 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
8866 * sysdeps/unix/sysv/aix/setsid.c: New file.
8867 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
8868 * sysdeps/unix/sysv/aix/shmat.c: New file.
8869 * sysdeps/unix/sysv/aix/shmctl.c: New file.
8870 * sysdeps/unix/sysv/aix/shmdt.c: New file.
8871 * sysdeps/unix/sysv/aix/shmget.c: New file.
8872 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
8873 * sysdeps/unix/sysv/aix/sigstack.c: New file.
8874 * sysdeps/unix/sysv/aix/socket.c: New file.
8875 * sysdeps/unix/sysv/aix/socketpair.c: New file.
8876 * sysdeps/unix/sysv/aix/speed.c: New file.
8877 * sysdeps/unix/sysv/aix/symlink.c: New file.
8878 * sysdeps/unix/sysv/aix/sync.c: New file.
8879 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
8880 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
8881 * sysdeps/unix/sysv/aix/times.c: New file.
8882 * sysdeps/unix/sysv/aix/ulimit.c: New file.
8883 * sysdeps/unix/sysv/aix/umask.c: New file.
8884 * sysdeps/unix/sysv/aix/unlink.c: New file.
8885 * sysdeps/unix/sysv/aix/ustat.c: New file.
8886 * sysdeps/unix/sysv/aix/utimes.c: New file.
8888 2000-04-18 Andreas Jaeger <aj@suse.de>
8890 * manual/startup.texi (Environment Access): Fix putenv prototype
8891 according to recent changes.
8892 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
8895 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
8898 2000-04-18 Ulrich Drepper <drepper@redhat.com>
8900 * posix/Makefile (tests): Add tst-getaddrinfo.
8901 * posix/tst-getaddrinfo.c: New file.
8903 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8905 * manual/sysinfo.texi: Document that umount2 is not widely available.
8907 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
8908 signal timing is not really implemented.
8910 2000-04-17 Andreas Jaeger <aj@suse.de>
8912 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
8914 2000-04-17 Jakub Jelinek <jakub@redhat.com>
8916 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
8919 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8921 * manual/intro.texi: Change reference from System Information to
8923 * manual/users.texi: Likewise.
8924 * manual/conf.texi: Likewise.
8925 * manual/sysinfo.texi: Document mount, umount, and umount2.
8926 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8928 2000-04-17 Jakub Jelinek <jakub@redhat.com>
8930 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
8931 Create wnumstr as well as numstr to support wide character output
8934 2000-04-15 Jakub Jelinek <jakub@redhat.com>
8936 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
8937 modification and move it...
8938 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
8939 Add -melf64_sparc switch to $(LD) on sparc64-linux.
8940 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
8941 switch to $(LD) on sparc-linux.
8943 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
8945 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
8946 and setresuid from sysdep_routines.
8948 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8950 * manual/Makefile (chapters): Add resource.
8952 * manual/time.texi: Move section on resources to...
8953 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
8955 * manual/setjmp.texi: Adjust back reference.
8956 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8958 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
8960 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
8961 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
8962 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
8963 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
8964 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
8965 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
8966 * sysdeps/unix/sysv/aix/close.c: Add copyright.
8967 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
8968 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
8969 * sysdeps/unix/sysv/aix/access.c: Add copyright.
8970 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
8971 * sysdeps/unix/sysv/aix/Implies: New file.
8972 * sysdeps/unix/sysv/aix/Versions: New file.
8973 * sysdeps/unix/sysv/aix/bind.c: New file.
8974 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
8975 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
8976 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
8977 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
8978 * sysdeps/unix/sysv/aix/chdir.c: New file.
8979 * sysdeps/unix/sysv/aix/chmod.c: New file.
8980 * sysdeps/unix/sysv/aix/chroot.c: New file.
8981 * sysdeps/unix/sysv/aix/creat.c: New file.
8982 * sysdeps/unix/sysv/aix/dl-close.c: New file.
8983 * sysdeps/unix/sysv/aix/dl-open.c: New file.
8984 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
8985 * sysdeps/unix/sysv/aix/fchdir.c: New file.
8986 * sysdeps/unix/sysv/aix/fchmod.c: New file.
8987 * sysdeps/unix/sysv/aix/getgroups.c: New file.
8988 * sysdeps/unix/sysv/aix/gethostname.c: New file.
8989 * sysdeps/unix/sysv/aix/getpriority.c: New file.
8990 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
8991 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
8992 * sysdeps/unix/sysv/aix/getrusage.c: New file.
8993 * sysdeps/unix/sysv/aix/link.c: New file.
8994 * sysdeps/unix/sysv/aix/madvise.c: New file.
8995 * sysdeps/unix/sysv/aix/mkdir.c: New file.
8996 * sysdeps/unix/sysv/aix/mknod.c: New file.
8997 * sysdeps/unix/sysv/aix/mprotect.c: New file.
8998 * sysdeps/unix/sysv/aix/msgctl.c: New file.
8999 * sysdeps/unix/sysv/aix/msgget.c: New file.
9000 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
9002 2000-04-17 Andreas Jaeger <aj@suse.de>
9004 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
9005 as suggested by Ulrich Drepper.
9006 (__dl_runtime_resolve): Remove unused variable, initialize sym
9008 (RTLD_START): Document OFFSET_GP_GOT.
9009 (OFFSET_GP_GOT): New magic value.
9010 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
9011 (elf_machine_got_rel): Only declare strtab if needed.
9012 (elf_machine_relplt): Removed, it's not needed.
9013 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
9015 * sysdeps/mips/add_n.S: Add newline at EOF.
9016 * sysdeps/mips/rshift.S: Likewise.
9017 * sysdeps/mips/mul_1.S: Likewise.
9018 * sysdeps/mips/lshift.S: Likewise.
9019 * sysdeps/mips/addmul_1.S: Likewise.
9021 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9023 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
9025 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
9026 * elf/dl-lookup.c: Likewise.
9027 * elf/dl-init.c (_dl_init): Likewise.
9028 * elf/dl-fini.c (_dl_fini): Likewise.
9029 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9030 * elf/dl-close.c (_dl_close): Likewise.
9031 * elf/rtld.c (_dl_start_final): Likewise.
9033 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
9035 2000-04-15 Ulrich Drepper <drepper@redhat.com>
9037 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
9038 only fall back on using Linux.
9040 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
9041 Before testing versions check that we actually loaded the object
9042 and whether we are in trace mode. If not loaded during tracing don't
9043 test versions in this object.
9044 (_dl_check_all_versions): Take new parameter and pass to
9045 _dl_check_map_versions.
9046 * sysdeps/generic/ldsodefs.h: Update prototypes for
9047 _dl_check_all_versions and _dl_check_map_versions.
9048 * elf/rtld.c (struct version_check_args): Add dotrace.
9049 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
9050 (dl_main): Pass info about trace mode to version_check_doit.
9051 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
9052 _dl_check_all_versions.
9054 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
9056 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9058 * manual/argp.texi: Document index parameter of argp_parse.
9060 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
9062 2000-04-14 Andreas Jaeger <aj@suse.de>
9064 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
9065 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
9067 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
9069 2000-04-15 Ulrich Drepper <drepper@redhat.com>
9071 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
9072 compat_symbol call for old adjtime.
9074 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
9075 function interface. Patch by Richard Henderson <rth@cygnus.com>.
9077 * posix/Makefile (headers): Add spawn.h.
9078 (distribute): Add spawn_int.h.
9079 (routines): Add spawn_faction_init, spawn_faction_destroy,
9080 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
9081 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
9082 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
9083 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
9084 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
9085 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
9086 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
9087 posix_spawnattr_init, posix_spawnattr_destroy,
9088 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
9089 posix_spawnattr_getflags, posix_spawnattr_setflags,
9090 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
9092 * posix/spawn.c: New file.
9093 * posix/spawn.h: New file.
9094 * posix/spawn_faction_addclose.c: New file.
9095 * posix/spawn_faction_adddup2.c: New file.
9096 * posix/spawn_faction_addopen.c: New file.
9097 * posix/spawn_faction_destroy.c: New file.
9098 * posix/spawn_faction_init.c: New file.
9099 * posix/spawn_int.h: New file.
9100 * posix/spawnattr_destroy.c: New file.
9101 * posix/spawnattr_getdefault.c: New file.
9102 * posix/spawnattr_getflags.c: New file.
9103 * posix/spawnattr_getpgroup.c: New file.
9104 * posix/spawnattr_getschedparam.c: New file.
9105 * posix/spawnattr_getschedpolicy.c: New file.
9106 * posix/spawnattr_getsigmask.c: New file.
9107 * posix/spawnattr_init.c: New file.
9108 * posix/spawnattr_setdefault.c: New file.
9109 * posix/spawnattr_setflags.c: New file.
9110 * posix/spawnattr_setpgroup.c: New file.
9111 * posix/spawnattr_setschedparam.c: New file.
9112 * posix/spawnattr_setschedpolicy.c: New file.
9113 * posix/spawnattr_setsigmask.c: New file.
9114 * posix/spawni.c: New file.
9115 * posix/spawnp.c: New file.
9117 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
9118 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
9120 2000-04-14 Ulrich Drepper <drepper@redhat.com>
9122 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
9123 * malloc/malloc.c: Implement posix_memalign for glibc.
9124 * include/stdlib.h: Add prototype for __posix_memalign.
9125 * stdlib/stdlib.h: Add prototype for posix_memalign.
9127 2000-04-14 Andreas Jaeger <aj@suse.de>
9129 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
9131 (elf_machine_got_rel): Cast sym correctly.
9133 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
9134 * sysdeps/mips/addmul_1.S: Likewise.
9135 * sysdeps/mips/lshift.S: Likewise.
9136 * sysdeps/mips/mul_1.S: Likewise.
9137 * sysdeps/mips/rshift.S: Likewise.
9138 * sysdeps/mips/sub_n.S: Likewise.
9139 * sysdeps/mips/submul_1.S: Likewise.
9141 * stdlib/stdlib.h: Fix typo in comment.
9143 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
9144 2.2 for libdl, ld and libm.
9146 * sysdeps/generic/madvise.c: Fix typos.
9148 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
9150 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
9152 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
9155 2000-04-14 Ulrich Drepper <drepper@redhat.com>
9157 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
9158 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
9159 Make old name weak alias.
9160 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
9161 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
9162 Make old name weak alias.
9163 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
9165 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
9166 posix_fallocate, and posix_fallocate64.
9167 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
9168 posix_fallocate, and posix_fallocate64.
9169 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
9170 posix_fallocate, and posix_fallocate64.
9171 * sysdeps/generic/fadvise.c: New file.
9172 * sysdeps/generic/fadvise64.c: New file.
9173 * sysdeps/generic/fallocate.c: New file.
9174 * sysdeps/generic/fallocate64.c: New file.
9175 * sysdeps/posix/fallocate.c: New file.
9176 * sysdeps/posix/fallocate64.c: New file.
9177 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
9178 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
9179 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
9180 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
9181 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
9182 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
9183 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9184 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
9185 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9187 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
9188 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9190 2000-04-13 Ulrich Drepper <drepper@redhat.com>
9192 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
9193 * misc/sys/mman.h (posix_madvise): Add prototype.
9194 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
9195 old name and posix_madvise weak aliases.
9196 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9197 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
9198 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
9199 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9200 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
9201 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9202 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9204 2000-04-13 Andreas Jaeger <aj@suse.de>
9206 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
9208 (elf_machine_got_rel): Only add runtime display if needed.
9209 (elf_machine_got_rel): Handle symbol versioning.
9211 2000-04-13 Andreas Jaeger <aj@suse.de>
9213 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
9215 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
9218 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
9219 with some applications.
9220 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
9222 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
9223 * sysdeps/mips/bsd-_setjmp.S: Likewise.
9224 * sysdeps/mips/setjmp.S: Likewise.
9226 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
9228 2000-04-13 Ulrich Drepper <drepper@redhat.com>
9230 * posix/globtest.sh: Work around inconsistency with expanding ~/
9231 in shell (PR libc/1690). Reported by patsmith@pobox.com.
9233 2000-04-12 Ulrich Drepper <drepper@redhat.com>
9235 * posix/getconf.c: Add support for many more POSIX options.
9236 * sysdeps/posix/sysconf.c: Likewise.
9237 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
9238 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
9240 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
9241 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
9242 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
9243 CLOCK_THREAD_CPUTIME_ID.
9244 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
9245 CLOCK_PROCESS_CPUTIME_ID.
9246 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
9247 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
9248 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
9249 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
9251 * malloc/Makefile (tests): Add tst-calloc.
9252 * malloc/tst-calloc.c: New file.
9254 * sysdeps/arm/libm-test-ulps: New file.
9256 * malloc/malloc.c: Undo all of today's changes.
9258 * locale/programs/locale.c (show_info): Don't try to look into
9259 data for LC_ALL (there is none).
9261 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
9262 avoid writing over boundary.
9263 Patch by Greg McGary <gkm@eng.ascend.com>.
9265 * sysdeps/arm/memprof.h: New file.
9267 2000-04-12 Andreas Jaeger <aj@suse.de>
9269 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
9271 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
9272 for memmem declaration.
9274 2000-04-12 Ulrich Drepper <drepper@redhat.com>
9276 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
9278 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
9280 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
9282 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
9283 Patch by Bart Veer <bartv@redhat.com>.
9285 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
9288 2000-04-11 Andreas Jaeger <aj@suse.de>
9290 * sysdeps/mips/dl-machine.h: Update some comments.
9291 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
9293 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9295 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
9296 _POSIX_SHARED_MEMORY_OBJECTS.
9298 * rt/Makefile (tests): Add tst-shm.
9299 Add rules to generate tst-shm.
9300 * rt/tst-shm.c: New file.
9302 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
9305 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
9306 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
9307 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
9308 * sysdeps/generic/shm_open.c: New file.
9309 * sysdeps/generic/shm_unlink.c: New file.
9310 * sysdeps/unix/sysv/linux/shm_open.c: New file.
9311 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
9312 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
9313 __endmntent, __getmntent_r, __setmntent, and __statfs.
9315 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
9316 fragmentation by allocating new memory at the end instead of
9319 * posix/globtest.sh: Fix last change.
9321 2000-04-10 Philip Blundell <philb@gnu.org>
9323 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
9324 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
9325 IPV6_DROP_MEMBERSHIP.
9326 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
9329 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9331 * elf/readlib (process_file): Close streams in case of an error.
9333 2000-04-09 Andreas Jaeger <aj@suse.de>
9335 * elf/readlib.c (process_file): Check if file is big enough to
9336 contain aout and ELF headers.
9337 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
9339 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
9341 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
9343 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9345 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
9347 * rt/Makefile (tests): Add tst-clock.
9348 Add rules to build tst-clock.
9349 * rt/tst-clock.c: New file.
9350 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
9351 about initialization of nsec.
9352 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
9353 about initialization of freq. Set retval to zero if successful.
9354 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
9356 2000-04-10 Ulrich Drepper <drepper@redhat.com>
9358 * Versions.def (librt): Add GLIBC_2.2.
9359 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
9360 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
9361 timer_getoverr, timer_gettime, and timer_settime.
9362 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
9363 clock_settime, timer_create, timer_delete, timer_getoverrun,
9364 timer_gettime, and timer_settime.
9365 * sysdeps/generic/clock_getcpuclockid.c: New file.
9366 * sysdeps/generic/get_clockfreq.c: New file.
9367 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
9368 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
9369 * sysdeps/mach/hurd/i386/bits/time.h: New file.
9370 * sysdeps/unix/i386/i586/clock_getres.c: New file.
9371 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
9372 * sysdeps/unix/i386/i686/Implies: New file.
9373 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
9374 * time/Makefile (routines): Move clock_getres, clock_gettime,
9375 clock_settime, timer_create, timer_delete, timer_getoverr,
9376 timer_gettime, and timer_settime to rt/Makefile.
9377 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
9378 clock_settime, timer_create, timer_delete, timer_getoverrun,
9379 timer_gettime, and timer_settime.
9380 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
9382 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
9383 and not const as attribute name.
9385 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
9387 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
9389 2000-04-10 Andreas Schwab <schwab@suse.de>
9391 * posix/globtest.sh: Skip tests that depend on unreadable
9392 directories if run as root.
9394 2000-04-10 Ulrich Drepper <drepper@redhat.com>
9396 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
9397 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
9399 2000-04-09 Ulrich Drepper <drepper@redhat.com>
9401 * sysdeps/unix/clock_gettime.c: New file.
9402 * sysdeps/unix/clock_settime.c: New file.
9403 * sysdeps/posix/clock_getres.c: New file.
9405 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
9407 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
9408 lseek call be passing in a buffer which never allow a successful
9409 first getdents syscall if not at leas the initial entry can be
9410 stored in the user buffer.
9412 * localedata/Makefile: Add rules to clean up directories created by
9415 2000-04-09 Geoff Clare <gwc@unisoft.com>
9417 * localedata/tst-fmon.data: Added new tests for strfmon()
9418 using test locales with all combinations of cs_precedes,
9419 sign_posn and sep_by_space.
9420 * localedata/tst-fmon.sh: Updated to support the new tests.
9421 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
9422 the localedef source for the new strfmon() test locale.
9423 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
9424 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
9425 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
9426 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
9427 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
9428 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
9429 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
9430 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
9431 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
9432 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
9433 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
9434 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
9435 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
9436 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
9438 * stdlib/strfmon.c: Correct problems with missing or extra
9439 spaces for unusual combinations of sign_posn and sep_by_space.
9440 Improved left-precision alignment code.
9442 2000-04-07 Andreas Jaeger <aj@suse.de>
9444 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
9446 2000-04-10 Andreas Jaeger <aj@suse.de>
9448 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
9450 2000-04-09 Ulrich Drepper <drepper@redhat.com>
9452 Implement handling of restartable conversion functions according to
9454 * iconv/gconv.h (__gconv_fct): Add additional parameter.
9455 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
9456 * iconv/gconv.c: Pass additional parameter to conversion function.
9457 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
9458 (internal_ucs4le_loop_single): New function.
9459 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
9460 (__gconv_transform_internal_ascii): Likewise.
9461 (__gconv_transform_internal_utf8): Likewise.
9462 (__gconv_transform_utf8_internal): Likewise.
9463 (__gconv_transform_ucs2_internal): Likewise.
9464 (__gconv_transform_internal_ucs2): Likewise.
9465 (__gconv_transform_ucs2reverse_internal): Likewise.
9466 (__gconv_transform_internal_ucs2reverse): Likewise.
9467 (internal_ucs4le_loop_unaligned): Before return
9468 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
9469 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
9470 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
9471 * iconv/loop.c: Fit in definition of function to convert one character
9472 for processing of left-over bytes from the state object.
9473 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
9474 inend to match names in loop functions.
9475 (RESET_INPUT_BUFFER): Change apprpriately.
9476 (gconv): If needed, call function to process bytes from the state
9477 object. Similar at the end: store left over bytes if input is
9479 Take extra argument and add new argument to all calls of the
9480 conversion function.
9481 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
9482 information in the state object to not conflict with length count.
9483 * iconvdata/iso-2022-jp.c: Likewise.
9484 * iconvdata/iso-2022-kr.c: Likewise.
9485 * iconvdata/unicode.c: Adjust for change change in parameters of
9487 * iconvdata/utf-16.c: Likewise.
9488 * libio/iofwide.c: Add new parameter to all calls of conversion
9490 * wcsmbs/btowc.c: Likewise.
9491 * wcsmbs/mbrtowc.c: Likewise.
9492 * wcsmbs/mbsnrtowcs.c: Likewise.
9493 * wcsmbs/mbsrtowcs.c: Likewise.
9494 * wcsmbs/wcrtomb.c: Likewise.
9495 * wcsmbs/wcsnrtombs.c: Likewise.
9496 * wcsmbs/wcsrtombs.c: Likewise.
9497 * wcsmbs/wctob.c: Likewise.
9499 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
9502 2000-04-07 Andreas Jaeger <aj@suse.de>
9504 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
9507 2000-04-07 Ulrich Drepper <drepper@redhat.com>
9509 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
9510 element a union to allow byte access.
9511 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
9513 * iconvdata/iso-2022-jp.c: Likewise.
9514 * iconvdata/iso-2022-kr.c: Likewise.
9515 * wcsmbs/mbsinit.c: Likewise.
9516 * stdlib/mblen.c: Likewise.
9517 * stdio-common/printf-parse.h: Likewise.
9519 2000-04-06 Ulrich Drepper <drepper@redhat.com>
9521 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
9522 kernel does not allow relative seeks on descriptors associated
9523 with directories. Go back to get the position in the directory
9524 every time we enter the function. Return -1 and set errno if one
9525 entry could be read from the kernel but does not fit into the
9526 buffer passed in by the user.
9528 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
9529 Support ..(2).. ellipsis.
9530 (parse_charmap): Recognize ..(2).. etc and pass step down.
9531 Correctly generate names for UCS4 characters.
9533 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
9534 (ctype_finish): We know the wide character value for <SP>,
9536 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
9537 (charclass_ucs4_ellipsis): Likewise.
9538 (read_translit_ignore_entry): Store ellipsis step.
9539 (ctype_read): Recognize ..(2).. etc and pass step down.
9541 * locale/programs/linereader.c (lr_token): When seeing comment
9542 character ignore only rest of line in sources but stop at escaped
9544 Recognize ..(2).. and ....(2).....
9546 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
9547 and tok_ellipsis4_2.
9549 2000-04-06 Andreas Jaeger <aj@suse.de>
9551 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
9552 removed, remove it here also.
9553 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
9554 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
9555 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
9556 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
9558 2000-04-06 Jakub Jelinek <jakub@redhat.com>
9560 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
9561 include bits/sigcontext.h.
9562 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9564 2000-04-06 Ulrich Drepper <drepper@redhat.com>
9566 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
9567 collation symbol definition. Value in quivalence definition must
9568 be defined, don't check that it is not.
9570 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
9571 values as character names.
9573 * locale/programs/ld-ctype.c (get_character): Handle missing
9574 repertoire map correctly.
9576 2000-04-05 Cristian Gafton <gafton@redhat.com>
9578 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
9579 because it is used in generic code.
9580 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
9581 * wcsmbs/wcwidth.h: Declare __ctype32_b.
9582 * intl/gettext.c: Include <locale.h>.
9583 * intl/ngettext.c: Likewise.
9585 2000-04-05 Jakub Jelinek <jakub@redhat.com>
9587 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
9588 socklen_t type for size.
9589 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
9590 init function interface.
9591 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9592 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
9594 (__jmp_buf): Declare the whole type structure here, don't use
9597 2000-04-05 Ulrich Drepper <drepper@redhat.com>
9599 * iconv/skeleton.c (put16u): Fix typo.
9600 Reported by Bruno Haible <haible@ilog.fr>.
9602 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
9603 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
9604 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
9605 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
9606 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
9607 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
9609 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
9610 * Makefile (distribute): Add abi-versions.awk and
9612 Patches by Torsten Duwe <duwe@caldera.de>.
9614 2000-04-05 Andreas Schwab <schwab@suse.de>
9616 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
9618 2000-04-05 Andreas Schwab <schwab@suse.de>
9620 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
9621 entry point, used on Hurd.
9623 2000-04-04 Andreas Jaeger <aj@suse.de>
9625 * intl/Makefile: Only run the gettext test with shared libraries.
9627 2000-03-16 Mark Kettenis <kettenis@gnu.org>
9629 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
9630 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
9632 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
9634 * Makeconfig: Undo last change.
9635 * configure.in: If --disable-shared was given, don't set VERSIONING,
9636 don't define DO_VERSIONING, and don't give scare warning for no
9638 * configure: Regenerated.
9640 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
9642 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
9644 2000-04-04 Andreas Jaeger <aj@suse.de>
9646 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
9648 2000-04-04 Ulrich Drepper <drepper@redhat.com>
9650 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
9651 STV_HIDDEN and STV_INTERNAL during lookup.
9652 (profile_fixup): Likewise.
9653 * elf/dl-reloc.c (RESOLVE): Likewise.
9655 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
9656 unaligned so that it compiles for system which need unaligned
9659 2000-04-04 Andreas Schwab <schwab@suse.de>
9661 * elf/cache.c (print_entry): Only look at the type field when
9664 2000-04-04 Andreas Schwab <schwab@suse.de>
9666 * iconvdata/big5.c (BODY): Fix typo.
9668 2000-04-04 Andreas Schwab <schwab@suse.de>
9670 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
9671 function interface. Remove unused _dl_start_user entry point.
9673 2000-04-03 Andreas Jaeger <aj@suse.de>
9675 * include/arpa/inet.h (__inet_aton): Add protoype.
9677 2000-04-01 Andreas Jaeger <aj@suse.de>
9679 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
9681 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
9682 * sysdeps/mach/mips/thread_state.h: Likewise.
9684 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
9685 * sysdeps/generic/fegetenv.c: Likewise.
9686 * sysdeps/generic/fesetenv.c: Likewise.
9687 * sysdeps/generic/feupdateenv.c: Likewise.
9688 * sysdeps/generic/fraiseexcpt.c: Likewise.
9689 * sysdeps/generic/fsetexcptflg.c: Likewise.
9690 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
9691 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
9692 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
9693 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9695 2000-04-02 H.J. Lu <hjl@gnu.org>
9697 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
9699 2000-04-03 Ulrich Drepper <drepper@redhat.com>
9701 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
9702 (add_name_to_object): Add cast in malloc call.
9703 (fillin_rpath): Optimize loop to initialize ->status a bit.
9705 * sysdeps/i386/dl-machine.h: Undo last change.
9706 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
9707 Restore %edx register after call here.
9709 * sysdeps/arm/atomicity.h: New file.
9710 Contributed by Jesper Skov <jskov@redhat.com>.
9712 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
9714 * Makeconfig (preprocess-versions): Undo last change.
9715 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
9717 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
9718 here, before we might move the stack.
9719 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
9720 (init1): And not here.
9722 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
9723 change, to restore argc value in call-clobbered register after
9724 RTLD_START_SPECIAL_INIT, which will contain a call.
9726 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
9727 allocating and initializing L->l_initfini.
9729 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
9731 2000-04-03 Ulrich Drepper <drepper@redhat.com>
9733 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
9734 RUNPATH, RPATH, and LD_LIBRARY_PATH.
9735 (open_path): Change type of fourth parameter. Make pointer to array
9736 of pointers. Create variable dirs with original type.
9737 Track whether any directory for the object exists and if not,
9738 change *DIRSP to (void*) -1 to signal there is no such search path.
9739 (_dl_map_object): Change all calls of open_path.
9740 Rewrite decompose_rpath calls.
9742 2000-03-31 Andreas Schwab <schwab@suse.de>
9744 * string/strfry.c: Declare STATE as array of char instead of int
9745 and do not initialize it (done by initstate_r). Pass correct
9748 2000-04-03 Ulrich Drepper <drepper@redhat.com>
9750 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
9752 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
9753 instruction out of the code.
9755 2000-04-02 Ulrich Drepper <drepper@redhat.com>
9757 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
9758 element at this position.
9760 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
9761 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
9763 * elf/dl-lookup.c (add_dependency): New function.
9764 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
9765 dynamically loaded object.
9766 (_dl_lookup_symbol_skip): Likewise.
9767 (_dl_lookup_versioned_symbol): Likewise.
9768 (_dl_lookup_versioned_symbol_skip): Likewise.
9769 * elf/dl-open.c: Don't define _dl_load_lock here...
9770 * elf/rtld.c: ...but here...
9771 * elf/dl-support.c: ...and here.
9772 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
9774 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
9776 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
9778 * dlfcn/glrefmain.c: Add one more debug message.
9780 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
9782 * Makerules (sysd-versions): Use ( ) instead of { }.
9784 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
9785 optimize for the non-debugging case.
9786 * elf/dl-lookup.c: Likewise.
9787 * sysdeps/generic/libc-start.c: Likewise.
9789 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
9791 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
9792 (init1): Don't initialize __environ here, since init already does it.
9793 (first_init): New function, broken out of _init.
9794 (_hurd_stack_setup): Use it.
9795 [SHARED] (_dl_init_first): New function, renamed from old _init.
9796 (init1) [SHARED]: Don't call posixland_init here.
9797 (posixland_init): Take ENVP arg, so signature is usual for initializer.
9798 [SHARED] (_init): Define as alias for posixland_init.
9799 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
9800 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
9801 RTLD_START_SPECIAL_INIT before calling initializers.
9802 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
9803 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
9804 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
9805 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
9807 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
9808 since we define the function with the name `tmpfile'.
9810 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
9811 * hurd/Versions: Likewise.
9813 2000-04-02 Ulrich Drepper <drepper@redhat.com>
9815 * elf/dl-runtime.c (fixup): Fix typo in comment.
9817 * resolv/netdb.h (getnameinfo): All length parameters are of type
9819 * inet/getnameinfo.c: Likewise.
9821 2000-04-01 Ulrich Drepper <drepper@redhat.com>
9823 * posix/unistd.h (socklen_t): Define if it has not yet happened.
9824 (gethostname): Change type of second parameter to socklen_t.
9825 * include/unistd.h (__gethostname): Change type of second
9826 parameter to socklen_t.
9827 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
9828 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
9829 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
9830 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
9832 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
9833 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
9834 Allow definition elsewhere.
9835 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
9836 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9837 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
9838 * sysdeps/generic/bits/types.h: Define __socklen_t.
9839 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
9840 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
9841 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9842 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9843 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
9844 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
9845 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
9847 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
9848 (inet_lnaof): Likewise.
9849 (inet_netof): Likewise.
9850 (inet_network): Likewise.
9851 (inet_aton): Likewise.
9852 (inet_makeaddr): Change parameter types to in_addr_t.
9853 (inet_neta): Likewise.
9854 (inet_ntop): Change type of last parameter to socklen_t.
9855 (inet_aton): Only make available if __USE_MISC.
9856 (inet_neta): Likewise.
9857 (inet_net_ntop): Likewise.
9858 (inet_net_pton): Likewise.
9859 (inet_nsap_ntoa): Likewise.
9861 * inet/in.h: Define in_port_t type.
9862 Define in_addr_t type.
9863 (struct in_addr): Use in_addr_t in definition.
9864 (IN_CLASSA): Use cast to in_addr_t.
9865 (IN_CLASSB): Likewise.
9866 (IN_CLASSC): Likewise.
9867 (IN_CLASSD): Likewise.
9868 (IN_EXPERIMENTAL): Likewise.
9869 (IN_BADCLASS): Likewise.
9870 (INADDR_ANY): Likewise.
9871 (INADDR_BROADCAST): Likewise.
9872 (INADDR_NONE): Likewise.
9873 (INADDR_LOOPBACK): Likewise.
9874 (INADDR_UNSPEC_GROUP): Likewise.
9875 (INADDR_ALLHOSTS_GROUP): Likewise.
9876 (INADDR_ALLRTRS_GROUP): Likewise.
9877 (INADDR_MAX_LOCAL_GROUP): Likewise.
9878 (struct sockaddr_in): Use in_port_t for sin_port element.
9879 (struct sockaddr_in6): Use in_port_t for sin6_port element.
9880 Use uint8_t instead of u_int8_t.
9882 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
9883 Call __inet_aton instead of inet_aton.
9884 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
9886 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
9887 (innetgr): Likewise.
9888 (struct addrinfo): Use socklen_t for ai_addrlen element.
9890 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
9891 IPV6_RECVERR): New defines.
9893 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
9894 * inet/getnetbyad.c: Likewise.
9895 * inet/getnetbyad_r.c: Likewise.
9896 * nis/nss_nis/nis-network.c: Likewise.
9897 * nis/nssplus_nis/nisplus-network.c: Likewise.
9898 * nss/nss_files/files-network.c: Likewise.
9899 * resolv/netdb.h: Define uint32_t if not already happened.
9900 Include bits/netdb.h. Remove definition of struct netent.
9901 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
9902 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
9903 * sysdeps/generic/bits/netdb.h: New file.
9904 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
9906 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
9907 (tests): Add glrefmain.
9908 Add rules to build modules and run tests. Ignore result of glrefmain
9909 for now since it fails.
9910 * dlfcn/glrefmain.c: New file.
9911 * dlfcn/glreflib1.c: New file.
9912 * dlfcn/glreflib2.c: New file.
9914 * test-skeleton.c: Include <string.h> for strsignal prototype.
9916 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
9919 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
9920 former init-first.h. Initialize __libc_multiple_libcs.
9922 2000-03-31 Ulrich Drepper <drepper@redhat.com>
9924 * iconv/skeleton.c: Define access macros with u suffix. Adjust
9925 #if expression for use of unaligned function to the one used in
9926 the definition of these functions.
9927 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
9928 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
9929 (internal_ucs4le_loop_unaligned): New function.
9931 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
9933 (module-names): Add dep1, dep2, dep3, and dep4.
9934 Add dependencies for dep* modules and order.
9935 Define rule for order.out which checks the result.
9936 * elf/dep1.c: New file.
9937 * elf/dep2.c: New file.
9938 * elf/dep3.c: New file.
9939 * elf/dep4.c: New file.
9940 * elf/order.c: New file.
9942 * elf/dl-init.c: Fix typo in comment.
9944 2000-03-31 Andreas Jaeger <aj@suse.de>
9946 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
9947 init function interface.
9948 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
9950 2000-03-31 Andreas Jaeger <aj@suse.de>
9952 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
9953 * sysdeps/mips/fpu/fegetenv.c: Likewise.
9954 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
9955 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
9956 * sysdeps/mips/fpu/fesetenv.c: Likewise.
9958 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
9959 anymore, update comment.
9961 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9963 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
9964 SHLIB_COMPAT - the struct is always needed.
9966 2000-03-31 Ulrich Drepper <drepper@redhat.com>
9968 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
9969 * elf/dl-support.c: Define _dl_starting_up.
9971 2000-03-30 Ulrich Drepper <drepper@redhat.com>
9973 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
9974 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
9976 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
9978 * elf/Makefile (dl-routines): Remove preinit.
9979 * elf/Versions: Remove _dl_preinit.
9980 * elf/dl-preinit.c: Removed. Move content into...
9981 * elf/dl-init.c: ...here.
9982 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
9984 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
9987 2000-03-29 Geoff Clare <gwc@unisoft.com>
9989 * stdlib/strfmon.c: Corrected problems with the code that
9990 sets default values for [np]_sep_by_space and
9991 [np]_sign_posn; also the new positive/negative alignment
9992 code from the previous patch was not quite right for
9995 * localedata/tst-fmon.data: Changes corresponding to the
9996 two sets of fixes made to stdlib/strfmon.c.
9998 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
10000 * malloc/malloc.c: Declare bit flags UL so that they will not
10001 default to int size when being inverted.
10003 2000-03-29 Andreas Jaeger <aj@suse.de>
10005 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
10006 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
10008 2000-03-29 Andreas Jaeger <aj@suse.de>,
10009 Ralf Baechle <ralf@uni-koblenz.de>
10011 * Makeconfig: Introduce new variable SHARED to mark code used in
10012 the shared library.
10013 * elf/dl-close.c: Use it instead of PIC.
10014 * elf/dl-load.c: Likewise.
10015 * elf/dl-open.c: Likewise.
10016 * hurd/geteuids.c: Likewise.
10017 * include/libc-symbols.h: Likewise.
10018 * include/shlib-compat.h: Likewise.
10019 * libio/freopen.c: Likewise.
10020 * linuxthreads/cancel.c: Likewise.
10021 * linuxthreads/pthread.c: Likewise.
10022 * linuxthreads/wrapsyscall.c: Likewise.
10023 * nss/nsswitch.c: Likewise.
10024 * stdio-common/vfprintf.c: Likewise.
10025 * sysdeps/arm/init-first.c: Likewise.
10026 * sysdeps/i386/init-first.c: Likewise
10027 * sysdeps/generic/init-first.c: Likewise.
10028 * sysdeps/generic/libc-start.c: Likewise.
10029 * sysdeps/mips/init-first.c: Likewise.
10030 * sysdeps/powerpc/elf/libc-start.c: Likewise.
10031 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10032 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
10033 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
10034 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10036 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
10038 2000-03-29 Andreas Jaeger <aj@suse.de>
10040 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
10041 Use D_PTR to access relocated entries in l_info.
10042 (elf_machine_rela): Likewise.
10044 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
10046 (elf_machine_rela): Likewise.
10048 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
10050 (__elf_machine_fixup_plt): Likewise.
10051 (__process_machine_rela): Likewise.
10053 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
10054 (elf_machine_rela): Likewise.
10056 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
10057 (elf_machine_rel): Likewise.
10059 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
10060 (elf_machine_fixup_plt): Likewise.
10061 (elf_machine_rela): Likewise.
10063 2000-03-29 Andreas Jaeger <aj@suse.de>
10065 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
10066 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10067 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10068 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
10069 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10070 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
10071 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
10072 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
10073 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
10074 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
10075 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
10076 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
10077 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
10078 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
10079 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10081 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
10082 macros, remove K&R prototypes.
10084 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10086 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
10087 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
10090 2000-03-30 Andreas Jaeger <aj@suse.de>
10092 * misc/sys/cdefs.h: Remove K&R support.
10094 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10096 * iconv/skeleton.c: Avoid compiling unaligned versions in some
10098 * iconv/loop.c: Likewise.
10100 2000-03-29 Bruno Haible <haible@clisp.cons.org>
10102 * iconv/loop.c (put16): Remove __const. Fix access index.
10103 (put32): Remove __const. Use uint32_t instead of uint16_t.
10104 * iconv/skeleton.c: Likewise.
10106 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
10108 * mach/Versions (libc: GLIBC_2.0)
10109 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
10110 __vm_allocate on this.
10111 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
10112 mutex- and spinlock-related symbols on this.
10113 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
10114 New version set. Lock-related symbols go here instead in this case.
10115 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
10116 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
10117 cthread_getspecific, cthread_setspecific, __libc_getspecific.
10119 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
10120 Put them here instead.
10121 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
10122 New version set. Those cthreads symbols go here instead in this case.
10123 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
10125 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10127 * elf/dl-init.c (_dl_init): We don't need to call constructors
10128 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
10130 Implement dynamic determination of constructor/destructor order in
10131 the dynamic linker.
10132 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
10133 (GLIBC_2.2): Add _dl_init.
10134 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
10135 r_duplist is not anymore allocated separately. l_initfini is and
10136 therefore free it if necessary.
10137 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
10138 malloc block. Otherwise allocate l_initfini list only.
10139 Put dependencies for the object in l_initfini list.
10140 Sort dependencies for the object to be loaded topologically.
10141 * elf/dl-fini.c: Before running the destructors sort the topologically.
10142 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
10143 call constructors instead of iterating over the pointers. Get list of
10144 objects for which to run constructors from l_initfini element. Accept
10145 argc, argv, and env as parameters and pass them to the constructors.
10146 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
10147 with size of dynamic section.
10148 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
10149 _dl_init_next and calling constructors ourself.
10150 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
10151 Take argc, argv, and env as parameters and pass them to the
10152 constructors. Rewrite to call all constructors and not iterate over
10154 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
10155 precompute l_initcount and l_preinitcount.
10156 * elf/link.h (struct link_map): Add l_ldnum member.
10157 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
10158 l_initcount, and l_preinitcount. Add l_initfini.
10159 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
10161 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
10162 function interface.
10163 * sysdeps/unix/sysv/linux/init-first.h: Removed.
10164 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
10165 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
10166 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
10167 conventions now match.
10169 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
10170 effect for shared objects. Don't emit message and call only for
10173 2000-03-29 Ulrich Drepper <drepper@redhat.com>
10175 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
10176 CSA_Z243.4-1985-1..UCS2.
10177 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
10180 2000-03-29 Andreas Jaeger <aj@suse.de>
10182 * include/unistd.h: Remove duplicate entry for __rmdir.
10183 Remove declaration of __mkdir since __mkdir is declared in
10186 * manual/creature.texi (Feature Test Macros): Fix typo, reported
10187 by Michael Deutschmann <michael@talamasca.ocis.net>.
10189 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
10190 * sysdeps/mips/fpu/fegetenv.c: Likewise.
10191 * sysdeps/mips/fpu/fesetenv.c: Likewise.
10192 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
10193 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
10195 2000-03-28 Andreas Jaeger <aj@suse.de>
10197 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
10198 declaration, the prototype is defined via bits/mathcalls.h.
10199 (__sincosf): Likewise.
10200 (__sincosl): Likewise.
10202 (ldexpf): Likewise.
10203 (ldexpl): Likewise.
10204 (__finite): Likewise.
10205 (__inline_mathcodeNP): New macro without prototype
10207 (__inline_mathcodeNP2): Likewise.
10208 (__inline_mathcodeNP3): Likewise.
10209 (__inline_mathcodeNP_): Likewise.
10210 (__inline_mathcodeNP2_): Likewise.
10211 (__inline_mathcodeNP3_): Likewise.
10212 (__inline_mathopNP): Likewise.
10213 (__inline_mathop_declNP): Likewise.
10214 (__inline_mathop_declNP_): Likewise.
10215 (__inline_mathcode_): Use __inline_mathcodeNP_.
10216 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
10217 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
10218 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
10219 (__expm1l): Don't define prototype, the prototype is defined via
10222 (__expl): Likewise.
10225 (__atan2l): Likewise.
10230 (__fabsl): Likewise.
10248 (__sqrtl): Likewise.
10258 2000-03-28 Ulrich Drepper <drepper@redhat.com>
10260 * Makerules: If make variable md5 is defined to yes after
10261 generating dependencies generate MD5 sum for the object.
10263 * iconv/gconv_builtin.h: Fix length in transformation definition
10266 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
10268 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
10269 allow as well reading from/writing to unaligned addresses on machines
10270 which don't support this in hardware. Use FCTNAME macro to define
10271 function name. Include the file a second time for platforms which
10272 need special unaligned handling.
10273 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
10274 to access potentially unaligned addresses. These macros are intended
10275 to be used only outside the loops.
10276 (unaligned): New definition. In case the machine can handle unaligned
10277 access define as zero. Otherwise as a variable which is initialized
10278 as nonzero in case the buffer passed in at runtime is unaligned with
10279 respect to the character set encoding involved.
10280 Call aligned or unaligned looop functions according to unaligned
10282 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
10283 of direct casting pointer to potentially handle unaligned memory
10285 * iconvdata/8bit-generic.c: Likewise.
10286 * iconvdata/ansi_x3.110.c: Likewise.
10287 * iconvdata/big5.c: Likewise.
10288 * iconvdata/euc-cn.c: Likewise.
10289 * iconvdata/euc-jp.c: Likewise.
10290 * iconvdata/euc-kr.c: Likewise.
10291 * iconvdata/euc-tw.c: Likewise.
10292 * iconvdata/gbk.c: Likewise.
10293 * iconvdata/iso-2022-cn.c: Likewise.
10294 * iconvdata/iso-2022-jp.c: Likewise.
10295 * iconvdata/iso-2022-kr.c: Likewise.
10296 * iconvdata/iso646.c: Likewise.
10297 * iconvdata/iso_6937-2.c: Likewise.
10298 * iconvdata/iso_6937.c: Likewise.
10299 * iconvdata/johab.c: Likewise.
10300 * iconvdata/sjis.c: Likewise.
10301 * iconvdata/t.61.c: Likewise.
10302 * iconvdata/uhc.c: Likewise.
10303 * iconvdata/unicode.c: Likewise.
10304 * iconvdata/utf-16.c: Likewise.
10306 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
10309 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
10310 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
10312 * malloc/mcheck.h (mcheck_check_all): Declare.
10314 * stdio-common/Makefile (tests): Add tst-obprintf.
10316 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
10318 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
10319 Declare pthread_sigmask.
10321 * csu/version.c: Add 2000 to copyright years.
10322 Remove Emacs local variables section.
10324 2000-03-23 Bruno Haible <haible@clisp.cons.org>
10326 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
10327 __gconv_transform_internal_ucs2little): Remove declarations.
10328 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
10329 __gconv_transform_internal_ucs2): Never need to bswap_16.
10330 (__gconv_transform_ucs2reverse_internal,
10331 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
10333 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
10335 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
10336 obsoleting version not being defined at all, in which case the
10337 result is always true.
10339 * Makeconfig (preprocess-versions): New canned sequence for running
10340 cpp on shlib-versions and the like.
10341 (soversions.i): Use it.
10342 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
10343 Versions.def and Versions files.
10345 2000-03-27 Ulrich Drepper <drepper@redhat.com>
10347 * stdio-common/tst-obprintf.c (main): Add another check to see
10348 obstack_printf handling all possible beginnings of the block
10349 inside an obstack chunk.
10351 * locale/programs/localedef.c: Use __malloc_initialize_hook to
10352 install mcheck handler.
10354 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
10357 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
10359 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
10361 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
10362 on [HAVE_ELF && DO_VERSIONING].
10364 2000-03-27 Ulrich Drepper <drepper@redhat.com>
10366 * stdio-common/tst-obprintf.c: New file.
10368 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10370 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
10371 _IO_OVERFLOW directly instead through __overflow.
10373 * locale/programs/localedef.c (construct_output_path): If path
10374 contains a / compute the end of the directory name correctly.
10376 * include/features.h: Undef and document __USE_XOPEN2K.
10378 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
10379 whenever a function is called. Initiated by calling mcheck_pedantic
10381 * malloc/mcheck.h: Declare mcheck_pedantic.
10382 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
10383 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
10386 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
10388 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
10389 * dlfcn/dlopenold.c: Likewise.
10390 * nss/getXXbyYY_r.c: Likewise.
10391 * nss/getXXent_r.c: Likewise.
10392 * hurd/hurdinit.c: Likewise.
10393 * hurd/compat-20.c: Likewise.
10394 * libio/oldiofopen.c: Likewise.
10395 * libio/oldiofclose.c: Likewise.
10396 * libio/oldiofdopen.c: Likewise.
10397 * libio/oldfileops.c: Likewise.
10398 * libio/oldstdfiles.c: Likewise.
10399 * libio/oldiofsetpos.c: Likewise.
10400 * libio/oldiofgetpos.c: Likewise.
10401 * libio/oldiofgetpos64.c: Likewise.
10402 * libio/oldiofsetpos64.c: Likewise.
10403 * libio/oldiopopen.c: Likewise.
10404 * libio/oldpclose.c: Likewise.
10405 * libio/oldtmpfile.c: Likewise.
10406 * libio/freopen.c (freopen): Likewise.
10407 * libio/iofclose.c (_IO_new_fclose): Likewise.
10409 * sysdeps/mach/sys/reboot.h: Include <features.h>.
10410 (reboot): Declare it.
10412 * libio/Makefile (headers): Add bits/stdio-lock.h here.
10414 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
10416 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
10418 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
10419 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
10420 We need this for the sbrk decl, which can be included without Unix98.
10422 2000-03-20 Richard Henderson <rth@cygnus.com>
10424 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
10425 argument to yperr2nss is an int, not size_t.
10426 * posix/regex.c (print_partial_compiled_pattern): Cast all
10427 ptrdiff_t to long for printing.
10428 (print_compiled_pattern): Use Z for printing size_t.
10429 * posix/testfnm.c (tests): Avoid trigraphs.
10430 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
10431 Use a C comment, not an assembly comment.
10433 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
10434 of __ASSUME_32BITUIDS.
10436 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10438 * libio/iofopncook.c: Remove K&R prototypes.
10440 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
10442 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
10443 an initial value of 1024 instead of RLIM_INFINITY.
10445 * Versions.def (libmachuser, libhurduser): Remove these sections,
10446 since these libraries do not presently use symbol versions.
10448 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
10449 is RLIM_INFINITY, return -1 instead.
10451 2000-03-24 Andreas Jaeger <aj@suse.de>
10453 * Makefile (postclean): Added soversions.i.
10455 2000-03-24 Scott Bambrough <scottb@netwinder.org>
10457 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
10458 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
10459 and _FPU_IEEE. Change _FPU_RESERVED.
10461 2000-03-24 Scott Bambrough <scottb@netwinder.org>
10463 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
10465 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
10467 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
10468 (gaih_inet): Remove unused duplicate variable.
10470 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
10471 Don't use __libc_sa_len, which only exists for Linux. Just handle
10472 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
10473 only flavors supported by this function anyway.
10475 2000-03-24 Geoff Clare <gwc@unisoft.com>
10477 * stdlib/strfmon.c: Corrected problems with missing signs and
10478 missing or extra spaces; allow for sign strings longer than
10479 one character; add padding to ensure positive and negative
10480 formats are aligned when a left precision is used.
10482 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10484 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
10485 Patch by John Mizel <John.Mizel@msdw.com>.
10487 2000-03-25 Ulrich Drepper <drepper@redhat.com>
10489 * manual/install.texi: Remove references to crypt add-on.
10491 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
10493 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
10494 section while taking the _hurd_rlimit_lock.
10495 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10497 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
10499 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
10502 * sysdeps/mach/hurd/if_index.c: New file.
10504 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
10505 * sysdeps/gnu/net/if.h: here.
10506 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
10507 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
10508 * sysdeps/generic/net/if.h: New file. Declares just the standard
10509 functions and `struct if_nameindex' type.
10510 * socket/Makefile (headers): Add net/if.h here.
10511 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
10512 * sysdeps/mach/hurd/Dist: Remove it here.
10513 * sysdeps/unix/sysv/linux/Dist: And here.
10514 * sysdeps/generic/if_index.c: Include <net/if.h>.
10516 2000-03-24 Andreas Jaeger <aj@suse.de>
10518 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
10519 access relocated entries in l_info.
10520 (elf_machine_got_rel): Likewise.
10521 (elf_machine_runtime_setup): Likewise.
10522 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
10523 (elf_machine_runtime_setup): Likewise.
10524 (__dl_runtime_resolve): Likewise.
10526 2000-03-23 Ulrich Drepper <drepper@redhat.com>
10528 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
10529 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
10530 according to RFC 2553.
10531 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
10532 * inet/getnameinfo.c: Likewise.
10533 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
10535 2000-03-23 Bruno Haible <haible@clisp.cons.org>
10537 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
10538 Remove no-op pointer increment.
10540 2000-03-23 Andreas Jaeger <aj@suse.de>
10542 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
10543 follow change for libio.h from 2000-03-10.
10545 2000-03-23 Andreas Jaeger <aj@suse.de>
10547 * elf/dl-addr.c: Adjust include paths for ldsodefs location
10549 * elf/dl-debug.c: Likewise.
10550 * elf/dl-deps.c: Likewise.
10551 * elf/dl-error.c: Likewise.
10552 * elf/dl-fini.c: Likewise.
10553 * elf/dl-init.c: Likewise.
10554 * elf/dl-load.c: Likewise.
10555 * elf/dl-lookup.c: Likewise.
10556 * elf/dl-minimal.c: Likewise.
10557 * elf/dl-object.c: Likewise.
10558 * elf/dl-open.c: Likewise.
10559 * elf/dl-preinit.c: Likewise.
10560 * elf/dl-profile.c: Likewise.
10561 * elf/dl-profstub.c: Likewise.
10562 * elf/dl-reloc.c: Likewise.
10563 * elf/dl-runtime.c: Likewise.
10564 * elf/dl-support.c: Likewise.
10565 * elf/dl-symbol.c: Likewise.
10566 * elf/dl-version.c: Likewise.
10567 * elf/rtld.c: Likewise.
10568 * elf/sprof.c: Likewise.
10569 * sysdeps/generic/dl-cache.c: Likewise.
10570 * sysdeps/generic/dl-origin.c: Likewise.
10571 * sysdeps/generic/dl-sysdep.c: Likewise.
10572 * sysdeps/generic/elf/backtracesyms.c: Likewise.
10573 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10574 * sysdeps/generic/libc-start.c: Likewise.
10575 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10576 * sysdeps/powerpc/dl-machine.c: Likewise.
10577 * sysdeps/powerpc/elf/libc-start.c: Likewise.
10578 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10579 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10580 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
10582 * elf/ldsodefs.h: Move file to ...
10583 * sysdeps/generic/ldsodefs.h: ... here.
10585 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
10587 * sysdeps/mips/elf/ldsodefs.h: New file.
10589 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
10591 (_dl_check_map_versions): Likewise.
10592 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10593 * elf/dl-load.c (_dl_init_paths): Likewise.
10594 (_dl_map_object): Likewise.
10595 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
10596 (elf_get_dynamic_info): Likewise.
10597 * elf/do-lookup.h (FCT): Likewise.
10598 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
10599 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
10600 * elf/dl-addr.c (_dl_addr): Likewise.
10601 * elf/dl-runtime.c (profile_fixup): Likewise.
10603 * elf/dl-init.c (_dl_init_next): Likewise.
10604 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
10605 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
10606 (DISTINGUISH_LIB_VERSIONS): Likewise.
10607 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
10608 (elf_machine_rel): Likewise.
10610 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
10611 for writable dynamic section.
10613 2000-03-22 Ulrich Drepper <drepper@redhat.com>
10615 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
10616 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
10618 2000-03-22 Andreas Jaeger <aj@suse.de>
10620 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
10621 from latest Linux kernel.
10623 2000-03-21 Andreas Jaeger <aj@suse.de>
10625 * Versions.def: Add version 2.1.4.
10627 2000-03-21 Ulrich Drepper <drepper@redhat.com>
10629 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
10630 * libio/oldiofopen.c: Likewise.
10631 * libio/oldiofclose.c: Likewise.
10632 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10634 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
10636 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
10637 indicating the first version set to obsolete the conditionalized code.
10638 (compat_symbol): New macro.
10639 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
10640 rhs be the ABI_* macro for the subsuming version. Assign increasing
10641 integer values to the ABI_* macros for supported versions.
10642 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
10643 compat_symbol macro.
10645 2000-03-21 Ulrich Drepper <drepper@redhat.com>
10647 * nscd/connections.c (nscd_run): Pretty print.
10648 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
10650 * manual/charset.texi: Fix typos. Rephrase.
10651 * manual/process.texi: Likewise.
10652 * manual/signal.texi: Likewise.
10653 Patches by Mike Coleman <mkc@kc.net>.
10655 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
10657 * libio/iofdopen.c: Likewise.
10658 * libio/iofgetpos.c: Likewise.
10659 * libio/iofgetpos64.c: Likewise.
10660 * libio/iofopen.c: Likewise.
10661 * libio/iofsetpos.c: Likewise.
10662 * libio/iofsetpos64.c: Likewise.
10663 * libio/iopopen.c: Likewise.
10664 * libio/oldiofopen.c: Likewise.
10665 * libio/pclose.c: Likewise.
10666 * sysdeps/gnu/siglist.c: Likewise.
10667 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10669 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
10670 chance to expand VERSION_##lib##_##version.
10672 * libio/fileops.c: Use new macros from shlib-compat.h to define
10674 * libio/iofclose.c: Likewise.
10675 * libio/oldiofclose.c: Likewise.
10676 Patch by Roland McGrath <roland@frob.com>.
10678 2000-03-21 Jakub Jelinek <jakub@redhat.com>
10680 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
10681 Lay out struct sigcontext according to what really gets passed on
10683 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
10684 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
10685 (prgregset_t, prfpregset_t): Define to elf_* types.
10686 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
10687 Define to correct value.
10688 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
10690 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
10692 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
10694 * scripts/firstversions.awk: Allow multiple version sets in the
10695 "earliest version" specification, meaning that version sets in the
10696 gaps between listed versions should be folded into the earliest later
10697 version that is explicitly listed.
10698 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
10699 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
10701 2000-03-21 Ulrich Drepper <drepper@redhat.com>
10703 * iconv/gconv_builtin.c: Include <endian.h>.
10704 * iconv/gconv_builtin.h: Add UCS-BE aliases.
10705 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
10706 according to current platform.
10707 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
10708 __gconv_transform_internal_ucs2reverse, and
10709 __gconv_transform_internal_ucs4le.
10710 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
10711 __gconv_transform_ucs2reverse_internal and
10712 __gconv_transform_internal_ucs2reverse.
10713 * iconvdata/Makefile (modules): Add UNICODE.
10714 (distribute): Add unicode.c.
10715 * iconvdata/gconv-modules: Add definitions for UNICODE module.
10716 * iconvdata/unicode.c: New file.
10718 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
10719 determine byte order of input and convert accordingly.
10721 * iconvdata/utf-16.c (gconv_init): Fix typo.
10723 2000-03-20 Ulrich Drepper <drepper@redhat.com>
10725 * iconvdata/gconv-modules: Fix typo.
10727 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
10730 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
10732 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
10734 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
10736 2000-03-20 Ulrich Drepper <drepper@redhat.com>
10738 * misc/Makefile (routines): Add mincore.
10740 2000-03-20 Andreas Jaeger <aj@suse.de>
10742 * sysdeps/generic/mincore.c: New stub file.
10744 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
10745 from latest Linux kernel.
10747 2000-03-20 Ulrich Drepper <drepper@redhat.com>
10749 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
10750 _SC_GETPW_R_SIZE_MAX.
10752 2000-03-20 Richard Henderson <rth@cygnus.com>
10754 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
10757 2000-03-20 Richard Henderson <rth@cygnus.com>
10759 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
10760 of arithmetic instructions.
10762 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
10763 with the fpcr. Protect from INV exception.
10764 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
10765 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
10766 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
10768 * sysdeps/alpha/fpu/s_copysign.c: New.
10769 * sysdeps/alpha/fpu/s_copysignf.c: New.
10770 * sysdeps/alpha/fpu/s_fabs.c: New.
10771 * sysdeps/alpha/fpu/s_fabsf.c: New.
10772 * sysdeps/alpha/fpu/s_rint.c: New.
10773 * sysdeps/alpha/fpu/s_rintf.c: New.
10775 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
10777 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
10779 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
10780 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
10781 Use physical addresses not KSEG addresses.
10782 (io_system): Add PYXIS.
10783 (io): Remove hae.reg, sys, hae_shift.
10784 (stb_mb, stw_mb, stl_mb, __sethae): New.
10785 (inline_outb, inline_outw, inline_outl): Don't set hae.
10786 (inline_inb, inline_inw, inline_inl): Likewise.
10787 (dense_sethae): New null function.
10788 (struct cpuinfo_data): New.
10789 (process_cpuinfo): Use local and stack variables, not static.
10790 Move readlink check here from init_iosys.
10791 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
10793 (_hae_shift): Calculate it here.
10794 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
10795 add pciconfig_iobase.
10797 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
10799 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
10800 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
10802 * scripts/versions.awk: Fixed version renaming code to distinguish
10803 libraries properly.
10805 2000-03-19 Ulrich Drepper <drepper@redhat.com>
10807 * include/stdlib.h: Add prototype for __cxa_atexit.
10809 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
10810 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
10812 2000-03-17 Cristian Gafton <gafton@redhat.com>
10814 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
10815 existing rtld-installed-name.
10816 ($(rtld-installed-name)): Request libc-$(version) be installed too.
10817 replace existing rtld-installed-name using $(symbolic-link-prog).
10819 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
10821 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
10822 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
10823 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
10824 but not the former.
10826 2000-03-19 Ulrich Drepper <drepper@redhat.com>
10828 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
10829 glob64. Since there is no glob64 in the LFS proposal applications
10830 can assume that glob handles LFS situations. glob64 is only needed
10831 if alternative filesystem functions are used.
10833 2000-03-19 Geoff Clare <gwc@unisoft.com>
10835 * sysdeps/generic/glob.c: Correct gl_pathc value returned
10836 when GLOB_DOOFFS is set; correct handling of patterns
10837 containing escaped wildcards (and no unescaped ones);
10838 GLOB_ERR flag was being ignored in some situations.
10840 * posix/globtest.c, posix/globtest.sh: Updated to include
10841 tests for the problems fixed by the above changes to glob.c.
10843 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
10845 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
10847 * Makeconfig (soversion.i): Use only first match for each lib.
10849 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
10851 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
10852 rather than $(sysd-dirs-done) to protect these rules.
10854 * Makerules (version-renames.def): Target removed.
10855 (Versions.all): Depend on soversions.i directly and parse it.
10857 * Makeconfig (soversions.i): New target, input-reading parts of
10858 soversions.mk generation moved here; result is a canonicalized
10859 list "LIB VERSION [SET]" for this configuration.
10860 (soversions.mk): Use that as input. Don't emit map-firstversions.
10861 * Makerules (version-renames.def): New target, generated from
10862 soversions.i with contents that was in $(map-firstversions).
10863 (Versions.all): Don't depend on soversions.mk, depend on
10864 version-renames.def instead; just cat it into the input.
10866 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
10867 for $(map-firstversions), which better handles it being empty.
10869 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
10870 supported version for libc 0.2.90.libio to GLIBC_2.2.
10872 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
10873 and use it to emit new variable `map-firstversions'.
10874 * scripts/firstversions.awk: New file.
10875 * Makerules (Versions.all): Use scripts/firstversions.awk and
10876 the $(map-firstversions) value to generate a modified versions list
10877 that includes renames in "A = B" syntax for each version set earlier
10878 than the "earliest symbol version" named in shlib-versions.
10879 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
10880 rename version set A to B in the output to the intermediate file.
10881 * scripts/abi-versions.awk: New file.
10882 * Makerules (abi-versions.h): New target, generated by that script.
10883 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
10884 * include/shlib-compat.h: New file, uses that generated header.
10886 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
10888 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
10889 after stripping # comments, and then run it through cpp.
10890 This allows things like "%ifdef FOO" based on config.h settings.
10891 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
10893 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
10894 and other errors that indicate a pseudo-receive happened, grok through
10895 the message buffer for port rights that need references fixed up.
10897 2000-03-16 Andreas Jaeger <aj@suse.de>
10899 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
10901 * sysdeps/unix/sysv/linux/madvise.c: Remove.
10903 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
10904 from latest Linux kernel.
10905 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
10907 * misc/sys/mman.h: Add prototype for mincore.
10909 2000-03-17 Ulrich Drepper <drepper@redhat.com>
10911 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
10912 entry for GLIBC_2.0 version of setrlimit.
10913 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
10915 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
10917 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
10918 * nis/nss_compat/compat-initgroups.c: Likewise.
10919 * nis/nss_nis/nis-initgroups.c: Likewise.
10920 * nis/nss_nis/nis-netgrp.c: Likewise.
10921 * nis/nss_nis/nis-proto.c: Likewise.
10922 * nis/nss_nis/nis-rpc.c: Likewise.
10923 * nis/nss_nis/nis-service.c: Likewise.
10924 * nis/ypclnt.c: Likewise.
10926 2000-03-16 Andreas Jaeger <aj@suse.de>
10928 * manual/Makefile: MAKEINFO is set to `:' from configure if it
10929 doesn't exist, correct checks. Fixes PR libc/1649.
10931 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
10933 * nscd/hstcache.c: Restore correct UID.
10934 * nscd/pwdcache.c: Likewise.
10935 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
10937 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
10939 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
10940 macros for register names, in line with 2000-03-14 linux change.
10942 * sysdeps/mach/sched_yield.c: New file.
10944 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
10946 * sysdeps/generic/lockfile.c: Include <stdio.h>
10947 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
10948 case <libio.h> defined them.
10949 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
10951 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
10952 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
10954 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
10955 for more pleasing parse error.
10957 2000-03-16 Ulrich Drepper <drepper@redhat.com>
10959 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
10961 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
10963 * elf/Makefile: Add rules to compile and run constload1 test.
10964 * elf/constload1.c: New file.
10965 * elf/constload2.c: New file.
10966 * elf/constload3.c: New file.
10968 2000-03-15 Ulrich Drepper <drepper@redhat.com>
10970 * sysdeps/posix/open64.c: Make __open64 weak alias.
10971 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
10972 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10973 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
10974 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10975 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
10976 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
10977 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10978 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
10979 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10980 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
10982 2000-03-14 Ulrich Drepper <drepper@redhat.com>
10984 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
10985 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
10987 2000-03-16 Mark Kettenis <kettenis@gnu.org>
10989 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
10990 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
10992 2000-03-08 Andreas Jaeger <aj@suse.de>
10994 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
10996 2000-03-14 Ulrich Drepper <drepper@redhat.com>
10998 * timezone/africa: Update from tzdata2000d.
10999 * timezone/asia: Likewise.
11000 * timezone/australasia: Likewise.
11001 * timezone/europe: Likewise.
11002 * timezone/northamerica: Likewise.
11003 * timezone/southamerica: Likewise.
11005 * po/fr.po: Update from translation team.
11006 * po/de.po: Likewise.
11008 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
11009 last parameter. Move code to add map to global scope from here...
11010 * elf/dl-open.c (dl_open_worker): ...here.
11011 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
11012 * elf/rtld.c: Adjust call to _dl_map_object_deps.
11014 * locale/programs/ld-collate.c (collate_read): Fix warning.
11016 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
11017 values and macros for register names.
11019 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
11020 returned by seek cookie function is -1.
11022 2000-03-14 Andreas Jaeger <aj@suse.de>
11024 * locale/localeconv.c (localeconv): Fix typo.
11025 Reported by Andre Charbonneau <andrec@corel.com>.
11027 2000-03-14 Ulrich Drepper <drepper@redhat.com>
11029 * iconv/skeleton.c: Increment __invocation_counter in inner loop
11030 since modules depend on it counting the number of times the conversion
11031 function got called.
11033 * iconv/gconv_open.c: Optimize loop to setup step data structure.
11035 * iconv/gconv.h: Pretty print.
11037 2000-03-04 Ulrich Drepper <drepper@redhat.com>
11039 * posix/wordexp-test.c: Correct one of the tests added in the last
11040 change. Really get the root passwd entry to check again ~root.
11042 2000-03-10 Andreas Jaeger <aj@suse.de>
11044 * manual/filesys.texi (Working Directory): Fix last patch.
11045 Patch by Martin Buchholz <martin@xemacs.org>.
11047 2000-03-10 Andreas Jaeger <aj@suse.de>
11049 * manual/creature.texi (Feature Test Macros): Fix language.
11051 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
11053 * mach/devstream.c (devstream_write, devstream_read): New functions.
11054 (input, output): Functions removed.
11055 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
11056 using only the vanilla fopencookie interface.
11058 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
11059 as macro for __io_functions.
11060 (funcsio): Use cookie_io_functions_t type name.
11061 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
11063 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
11065 (fopencookie): Use it.
11066 * libio/libio.h: Declare _IO_cookie_init.
11067 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
11070 * libio/libio.h (__io_seek_fn): Fix second argument type
11071 to be a pointer, in line with the manual and the old stdio.
11072 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
11074 * sysdeps/generic/bits/stdio-lock.h: New file.
11075 This is a stub with #error, but that's better than no file at all.
11077 2000-03-09 Martin Buchholz <martin@xemacs.org>
11079 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
11080 * manual/message.texi (Using gettextized software): Doc Fixes.
11081 * manual/message.texi (Message Translation): Doc Fixes.
11082 * manual/filesys.texi (File Size): Doc Fixes.
11083 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
11084 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
11085 * iconv/gconv_db.c (find_derivation): Doc Fixes.
11086 * manual/install.texi: Doc Fixes.
11087 * manual/search.texi (Hash Search Function): Doc Fixes.
11088 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
11089 * FAQ.in: Doc Fixes.
11090 * config.h.in: Doc Fixes.
11091 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
11092 Doc Fixes. `allows to' is not correct English.
11094 * elf/rtld.c: Doc fixes.
11095 * manual/creature.texi (Feature Test Macros): Doc fixes.
11096 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
11098 * manual/filesys.texi (Working Directory): Check for ERANGE to
11101 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
11103 * string/argz-stringify.c (__argz_stringify): Fix loop termination
11104 conditions so as not to clobber the final '\0' when there is only one
11105 element in the vector.
11107 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
11109 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
11110 broken by 2000-02-27 change.
11112 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
11114 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
11116 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
11117 argument type, for 2000-02-22 change in signal/signal.h declaration.
11119 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
11121 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
11122 to getdirentries64 (no __), since the Linux implementation
11123 has no __ name, and there is no declaration for the __ name.
11125 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
11127 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
11128 sed regexp so as not to break directory names including /../ within.
11130 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
11131 The sysdeps/generic file is right for BSD. This file was in fact the
11132 Hurd file, but the only difference was the WNOREAP flag that was never
11133 actually implemented or used anywhere.
11135 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
11136 since AC_PATH_PROG already does it for us.
11137 (PERL): Rewrite check added in 2000-02-29 change for syntactic
11138 correctness and sh portability. I replaced the broken check
11139 with a more sensible implementation of the apparently intended
11140 semantics, which might still be questionable. Using expr causes
11141 a non-numeric value for `perl -V:apiversion` to be accepted,
11142 refusing to use only a perl that reports a number less than 5;
11143 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
11144 * configure: Regenerated.
11146 2000-03-08 Andreas Jaeger <aj@suse.de>
11148 * manual/crypt.texi: Fix paths.
11150 2000-03-07 Andreas Jaeger <aj@suse.de>
11152 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
11154 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
11157 2000-03-06 Andreas Jaeger <aj@suse.de>
11159 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
11160 in __sgn1l, otherwise g++ fails to parse this.
11161 Reported by Sean Chen <sean.chen@turbolinux.com>.
11163 2000-03-03 Geoff Keating <geoffk@cygnus.com>
11165 * configure.in: Compute sizeof-long-double.
11166 * configure: Regenerated.
11167 * config.make.in: Make sizeof-long-double available to sub-makes.
11169 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
11171 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
11174 2000-03-03 Geoff Keating <geoffk@cygnus.com>
11176 * Makeconfig (rpath-dirs): Add crypt.
11177 (all-subdirs): Remove md5crypt.
11178 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
11179 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
11180 * sysdeps/generic/crypt-entry.c: Delete.
11181 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
11182 * sysdeps/generic/crypt.h: Delete.
11183 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
11184 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
11185 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
11186 * sysdeps/generic/des_impl.c: Delete.
11187 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
11188 * crypt/sysdeps: Delete.
11189 * crypt/crypt_util.c: Don't use `patchlevel.h'.
11190 * md5-crypt/Versions: Move to crypt/.
11191 * md5-crypt/md5-crypt.c: Move to crypt/.
11192 * md5-crypt/md5.c: Move to crypt/.
11193 * md5-crypt/md5c-test.c: Move to crypt/.
11194 * md5-crypt/md5test.c: Move to crypt/.
11195 * md5-crypt: Delete.
11196 * crypt/Makefile: Adjust for new structure.
11198 2000-03-03 Paul Eggert <eggert@twinsun.com>
11200 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
11201 define to 1 if not defined.
11203 2000-03-03 Andreas Jaeger <aj@suse.de>
11205 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
11207 2000-03-03 Andreas Jaeger <aj@suse.de>
11209 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
11211 (xdr_int64_t): Correctly handle lower half.
11212 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
11214 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
11216 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
11219 2000-03-02 Andreas Jaeger <aj@suse.de>
11221 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
11224 2000-03-02 Andreas Jaeger <aj@suse.de>
11226 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
11228 2000-03-01 Andreas Jaeger <aj@suse.de>
11230 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
11231 (tests): Added tst-getdate.
11233 * time/tst-getdate.c: New file.
11235 * time/datemsk: New file, needed for tst-getdate.
11237 2000-02-29 Cristian Gafton <gafton@redhat.com>
11239 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
11241 2000-02-17 H.J. Lu <hjl@gnu.org>
11243 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
11245 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
11247 (svcudp_recv): Set up message with the new "xp_pad" field for
11249 (svcudp_reply): Support IP_PKTINFO if available.
11251 2000-03-01 Andreas Jaeger <aj@suse.de>
11253 * time/getdate.c (check_mday): Fix check for february.
11254 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
11255 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
11257 2000-03-02 Andreas Jaeger <aj@suse.de>
11259 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
11260 g++ fails to parse this.
11261 Reported by Sean Chen <sean.chen@turbolinux.com>.
11263 2000-02-28 Ulrich Drepper <drepper@redhat.com>
11265 * io/creat.c: Moved to...
11266 * sysdeps/generic/creat.c: ...here.
11267 * io/creat64.c: Moved to...
11268 * sysdeps/generic/creat64.c: ...here.
11269 * io/lockf.c: Moved to...
11270 * sysdeps/generic/lockf.c: ...here.
11272 * crypt/crypt.texi: Moved to...
11273 * manual/crypt.texi: ...here.
11274 * crypt/examples/genpass.c: Moved to...
11275 * manual/examples/genpass.c: ...here.
11276 * crypt/examples/mygenpass.c: Moved to...
11277 * manual/examples/mygenpass.c: ...here.
11278 * crypt/examples/testpass.c: Moved to...
11279 * manual/examples/testpass.c: ...here.
11281 * manual/Makefile (chapters): Add crypt.
11282 * manual/conf.texi: Add usual header for not-last chapter.
11283 * manual/crypt.texi: Add special header for last chapter.
11285 2000-02-28 Geoff Keating <geoffk@cygnus.com>
11287 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
11288 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
11289 complain if there is no crypt add-on.
11290 * crypt/configure: Removed.
11292 * crypt/crypt.texi: Update documentation of US export restrictions
11293 to match the 14 Jan 2000 regulations.
11295 2000-02-28 Geoff Keating <geoffk@cygnus.com>
11297 * crypt: New subdirectory, merged in from the crypt add-on.
11299 2000-02-28 Ulrich Drepper <drepper@redhat.com>
11301 * include/unistd.h: Add __rmdir and __mkdir prototypes.
11304 See ChangeLog.10 for earlier changes.