1 2000-09-20 Bruno Haible <haible@clisp.cons.org>
3 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Reject 0x80.
4 (BODY for TO_LOOP): Clear bit 7 when outputting ISO-8859-1 upper half
6 * iconvdata/gen-8bit-gap-1.sh: Recognize lowercase hexadecimal digits
7 as equivalent to uppercase hexadecimal digits.
9 2000-09-20 Bruno Haible <haible@clisp.cons.org>
11 * iconvdata/testdata/EUC-KR..UTF8: New file.
12 * iconvdata/testdata/EUC-TW: New file.
13 * iconvdata/testdata/EUC-TW..UTF8: New file.
14 * iconvdata/testdata/EUC-JP: New file.
15 * iconvdata/testdata/EUC-JP..UTF8: New file.
16 * iconvdata/testdata/ISO-2022-JP: New file.
17 * iconvdata/testdata/ISO-2022-JP..UTF8: New file.
18 * iconvdata/testdata/ISO-2022-JP-2: New file.
19 * iconvdata/testdata/ISO-2022-JP-2..UTF8: New file.
20 * iconvdata/testdata/ISO-2022-KR: Add a few more lines.
21 * iconvdata/testdata/ISO-2022-KR..UTF8: New file.
22 * iconvdata/testdata/ISO-2022-CN: New file.
23 * iconvdata/testdata/ISO-2022-CN..UTF8: New file.
24 * iconvdata/testdata/ISO-2022-CN-EXT: New file.
25 * iconvdata/testdata/ISO-2022-CN-EXT..UTF8: New file.
26 * iconvdata/TESTS: Enable tests for ISO-2022-JP, ISO-2022-JP-2,
27 ISO-2022-CN, ISO-2022-CN-EXT, EUC-JP, EUC-TW.
29 2000-09-24 Andreas Jaeger <aj@suse.de>
31 * elf/ldconfig.c (add_dir): Move logic to add entry to list to new
32 function add_single_dir.
33 (add_single_dir): New function.
34 (search_dir): Use add_single_dir instead of recursing.
36 * sysdeps/generic/dl-cache.h: Include stdint.h.
37 (struct file_entry_new): Use fixed sizes for interoperability
38 between 32bit and 64bit systems, add __unused to make alignment
40 (CACHE_VERSION): Increment.
41 (struct cache_file_new): Use fixed sizes, add one more unused
42 entry to make alignment explicit.
44 2000-09-24 Ulrich Drepper <drepper@redhat.com>
46 * elf/ldconfig.c (search_dir): Make more use of d_type information.
48 2000-09-23 Ulrich Drepper <drepper@redhat.com>
50 * stdio-common/printf-parse.h (parse_one_spec): Clear
51 spec->info.i18n. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
53 2000-09-18 Mark Kettenis <kettenis@gnu.org>
55 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_SYNCHRONIZED_IO):
56 #undef since we don't have msync.
58 * sysdeps/mach/hurd/bits/time.h: (CLOCKS_PER_SEC): Make a long int
59 constant since that is what clock_t is.
60 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
62 2000-09-11 Mark Kettenis <kettenis@gnu.org>
64 * sysdeps/mach/getloadavg.c (getloadavg): Divide instead of
65 multiply by LOAD_SCALE.
67 2000-09-22 Jakub Jelinek <jakub@redhat.com>
69 * crypt/crypt.h (crypt, setkey, encrypt): Add __THROW.
70 (crypt_r, setkey_r, encrypt_r): Likewise.
72 2000-09-22 Andreas Jaeger <aj@suse.de>
74 * locale/programs/repertoire.c (repertoiremap_hash): Don't specify
77 * sysdeps/alpha/fpu/libm-test-ulps: New file.
78 From Christian Iseli <chris@ludwig-alpha.unil.ch>.
80 2000-09-21 Andreas Jaeger <aj@suse.de>
82 * math/libm-test.inc (atan_test): Test for existence of function.
83 (expm1_test): Likewise.
84 (acos_test): Likewise.
85 (asin_test): Likewise.
87 (log10_test): Likewise.
90 (sqrt_test): Likewise.
94 (log1p_test): Likewise.
95 (log2_test): Likewise.
97 * sysdeps/i386/fpu/libm-test-ulps: Tweak some values for K6.
99 * libio/oldiofsetpos64.c: Fix alias names.
101 2000-09-21 Martin Buchholz <martin@xemacs.org>
103 * manual/terminal.texi (Allocation): Sample code correction.
105 2000-09-20 Andreas Jaeger <aj@suse.de>
107 * iconvdata/Makefile (generated): Add tst-tables.out.
109 * intl/Makefile (generated): Add test output.
111 2000-09-19 Andreas Jaeger <aj@suse.de>
113 * sunrpc/clnt_simp.c (callrpc): Fix write beyond end of buffer.
114 Reported by Jens-Uwe Mager <jum@helios.de>.
116 2000-09-18 Ulrich Drepper <drepper@redhat.com>
118 * version.h (VERSION): Bump to 2.1.94.
120 * sysdeps/mips/Dist: Add fpu/fenv_libc.h.
121 * sysdeps/sparc/sparc32/soft-fp/Dist: Add q_add.c.
122 * sysdeps/sparc/sparc64/soft-fp/Dist: Add qp_add.c.
123 * sysdeps/unix/sysv/linux/ia64/Dist: Add net/route.h.
125 * malloc/mtrace.c (mtrace): Mark stream as close on exec.
127 2000-09-17 Bruno Haible <haible@clisp.cons.org>
129 * iconvdata/utf-16.c (BODY for TO_LOOP): Reject UCS-4 input in the
130 range 0xD800..0xDFFF.
131 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
132 (BODY for FROM_LOOP): Likewise.
133 * iconv/gconv_simple.c (ucs2_internal_loop): Likewise.
134 (internal_ucs2_loop): Likewise.
135 (ucs2reverse_internal_loop): Likewise.
136 (internal_ucs2reverse_loop): Likewise.
138 2000-09-17 Bruno Haible <haible@clisp.cons.org>
140 * iconvdata/utf-16.c (gconv_init): Add missing slashes to encoding
143 2000-09-17 Bruno Haible <haible@clisp.cons.org>
145 * iconvdata/tst-table-from.c (main): Fix test for error on stdout.
146 * iconvdata/tst-table-to.c (main): Likewise.
148 2000-09-17 Bruno Haible <haible@clisp.cons.org>
150 * iconvdata/iso-ir-165.c (__isoir165_from_tab): Renamed from
152 * iconvdata/cns11643.h (__cns11643l1_to_ucs4_tab): New declaration.
153 * iconvdata/iso-2022-cn-ext.c: Include "cns11643.h".
154 (GB7590_set, GB13132_set, CNS11643_3_set, CNS11643_4_set,
155 CNS11643_5_set, CNS11643_6_set, CNS11643_7_set): Change enum values.
156 (BODY for FROM_LOOP): Fix buffer overrun. Treat CNS11643 plane 3.
157 Return __GCONV_INCOMPLETE_INPUT instead of __GCONV_EMPTY_INPUT.
158 (BODY for TO_LOOP): Fix usage of `set' vs. `used'. Fix typo that
159 caused GB2312 to be used instead of ISO-IR-165. Treat CNS11643
160 plane 3. Fix shift sequences. Output announcement for SS2 and SS3
161 encodings when needed. When outputting an announcement, don't clear
162 most other announcements.
164 2000-09-17 Bruno Haible <haible@clisp.cons.org>
166 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Fix buffer overrun.
167 (BODY for TO_LOOP): Fix usage of `set' vs. `used'.
169 2000-09-14 Bruno Haible <haible@clisp.cons.org>
171 * intl/Versions: Add bind_textdomain_codeset.
173 2000-09-16 Ralf Baechle <ralf@gnu.org>
175 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Reformat. Declare
177 (_RTLD_EPILOGUE): Reformat. Declare size of entry function.
178 (ELF_MACHINE_BEFORE_RTLD_RELOC): Relocate the dynamic linker itself so
179 it will even work when not loaded to the standard address.
180 (RTLD_START): Reformat. Call _dl_start in a way that is safe even
181 before the dynamic linker itself is relocated.
183 2000-09-18 Andreas Jaeger <aj@suse.de>
185 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
186 __ASSUME_32BITUIDS for MIPS.
187 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: New file.
188 * sysdeps/unix/sysv/linux/mips/Dist: Add ipc_priv.h.
190 2000-09-17 H.J. Lu <hjl@gnu.org>
192 * catgets/Makefile ($(objpfx)de/libc.cat): Use
193 $(make-target-directory) instead of mkdir.
195 2000-09-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
197 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
198 __ASSUME_32BITUIDS for __powerpc__.
199 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file.
200 * sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h.
202 2000-09-17 Ulrich Drepper <drepper@redhat.com>
204 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last
206 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
208 2000-09-16 Jakub Jelinek <jakub@redhat.com>
210 * sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes
212 * sysdeps/m68k/Implies: Likewise.
213 * sysdeps/sparc/sparc64/Implies: Likewise.
215 2000-09-16 Jakub Jelinek <jakub@redhat.com>
217 * elf/readlib.c (process_file): Don't error for stale .so links either.
219 2000-09-16 Ulrich Drepper <drepper@redhat.com>
221 * elf/dl-load.c (_dl_map_object_from_fd): Add one more
224 * include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX.
225 Patch by Thorsten Kukuk <kukuk@suse.de>.
227 * dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c.
229 (modules-names): Add defaultmod1 and defaultmod2.
230 Add rules to build test objects.
232 2000-09-15 Ulrich Drepper <drepper@redhat.com>
234 * wctype/wctype.h: Always include <bits/types.h>.
235 Reported by Jim Meyering <meyering@ascend.com>.
237 * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now.
238 * elf/dl-support.c: Likewise.
240 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of
241 st_blocks member in stat and stat64 structs.
242 Patch by Bill Nottingham <notting@redhat.com>.
244 * iconvdata/tst-tables.sh: Add warning that GB18030 test might
247 * math/complex.h: Don't define _Complex macro for gcc 3. Add
248 __extension__ to _Complex_I definition since gcc warns if -pedantic.
249 * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~.
250 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
252 * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if
253 necessary. Move includes of POSIX and Unix limits files to the end.
254 * stdlib/Makefile (tests): Add tst-limits.
255 * stdlib/tst-limits.h: New file.
257 2000-09-15 Andreas Jaeger <aj@suse.de>
259 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV.
261 * sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define.
263 2000-09-15 Jakub Jelinek <jakub@redhat.com>
265 * sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory
267 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
268 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise.
270 2000-09-15 Ulrich Drepper <drepper@redhat.com>
272 * elf/Makefile (distribute): Add nextmod1.c and nextmod2.c.
274 (modules-names): Add nextmod1 and nextmod2.
275 Add rules to build and run next.
276 * elf/next.c: New file.
277 * elf/nextmod1.c: New file.
278 * elf/nextmod2.c: New file.
280 2000-09-14 Jakub Jelinek <jakub@redhat.com>
282 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo.
284 2000-09-15 Andreas Jaeger <aj@suse.de>
286 * sysdeps/mips/fpu/fenv_libc.h: New file.
287 * sysdeps/mips/fpu/feenablxcpt.c: Use fenv_libc.h
288 * sysdeps/mips/fpu/fegetexcept.c: Likewise.
289 * sysdeps/mips/fpu/fedisblxcpt.c: Likewise.
291 * sysdeps/mips/fpu/feenablxcpt.c: New file.
292 * sysdeps/mips/fpu/fegetexcept.c: New file.
293 * sysdeps/mips/fpu/fedisblxcpt.c: New file.
295 2000-09-14 Ulrich Drepper <drepper@redhat.com>
297 * intl/Makefile: Avoid unnecessary test reruns.
299 * stdio-common/tst-printf.sh: Also allow output from 64-bit machines.
301 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change
302 to not use sysctl(). Too many architectures have problems with it.
304 2000-09-14 Andreas Jaeger <aj@suse.de>
306 * scripts/config.sub: New version from subversions.gnu.org.
308 * time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now
311 2000-09-14 Jakub Jelinek <jakub@redhat.com>
313 * posix/regex.c (compile_range): Cast collseq index to unsigned char
314 to avoid accessing data before collseq.
316 * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid
317 pasting strings together.
319 2000-09-14 Greg McGary <greg@mcgary.org>
321 * sysdeps/generic/bp-checks.h: Remove bogus reference to GNU MP in
323 * sysdeps/generic/bp-semctl.h: Likewise.
324 * sysdeps/generic/bp-start.h: Likewise.
325 * sysdeps/generic/bp-sym.h: Likewise.
326 * sysdeps/generic/bp-thunks.h: Likewise. Include <stdio.h> to get
329 2000-09-13 Ulrich Drepper <drepper@redhat.com>
331 * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and
334 * elf/elf.h: Add missing official relocations.
336 * libio/stdio.h: Define __FILE if __need___FILE is defined.
337 * stdio/stdio.h: Likewise.
338 * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE.
339 * include/stdio.h: Handle __need___FILE like __need_FILE.
340 * include/wchar.h: Use __FILE instead of FILE.
341 * libio/fwprintf.c: Include <stdio.h> for FILE definition.
342 * libio/fwscanf.c: Likewise.
343 * libio/getwc.c: Likewise.
345 * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u.
346 * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1.
347 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise.
349 * assert/assert.h: Update comment header about ISO C section.
350 * math/complex.h: Likewise.
351 * ctype/ctype.h: Likewise.
352 * include/errno.h: Likewise.
353 * include/limits.h: Likewise.
354 * locale/locale.h: Likewise.
355 * math/math.h: Likewise.
356 * setjmp/setjmp.h: Likewise.
357 * signal/signal.h: Likewise.
358 * stdio/stdio.h: Likewise.
359 * libio/stdio.h: Likewise.
360 * stdlib/stdlib.h: Likewise.
361 * string/string.h: Likewise.
362 * time/time.h: Likewise.
363 * wcsmbs/wchar.h: Likewise.
364 * wctype/wctype.h: Likewise.
365 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
367 2000-09-13 Andreas Jaeger <aj@suse.de>
369 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test
371 * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise.
372 * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise.
373 Reported by Eric S. Johnson <esj@cs.fiu.edu>, closes PR libc/1887.
375 2000-09-13 Ulrich Drepper <drepper@redhat.com>
377 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
378 constant since this is what clock_t is.
379 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
380 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
381 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
382 * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
384 * time/time.h: Don't defined clockid_t and timer_t unless POSIX
385 definitions are requested.
387 2000-09-13 Andreas Jaeger <aj@suse.de>
389 * shlib-versions: libBrokenLocale needs minimal version for ia64,
390 sparc64 and sh to synch with libc.
392 2000-09-13 Ulrich Drepper <drepper@redhat.com>
394 * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT.
395 (distribute): Add iso-2022-cn-ext.c.
396 Add definitions to compile the new module.
397 * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT.
398 * iconvdata/iso-2022-cn-ext.c: New file.
399 * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from
400 ucs4_from_isoir165. Increment input pointer if successful.
402 * csu/Makefile: Work around a gcc bug when creating csu-dummies.
404 * sysdeps/unix/sysv/linux/getdents.c: Pretty print.
406 2000-09-01 Jes Sorensen <jes@linuxcare.com>
408 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
409 __syscall_getdents64 wrapper.
411 * sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
413 2000-09-12 Ulrich Drepper <drepper@redhat.com>
415 * iconvdata/gb18030.c: Many many changes. Make consistent with
416 charmap and with itself.
417 * iconvdata/tst-tables.sh: Test GB18030.
419 2000-09-11 Ulrich Drepper <drepper@redhat.com>
421 * iconv/skeleton.c: Fix last patch, add missing parameter to
422 unaligned function call.
424 2000-09-10 Bruno Haible <haible@clisp.cons.org>
426 * locale/programs/ld-collate.c (collate_read): Fix typo in handling
429 2000-09-11 Bruno Haible <haible@clisp.cons.org>
431 * locale/programs/ld-collate.c (collate_read): Always initialize
434 2000-09-10 Bruno Haible <haible@clisp.cons.org>
436 * locale/programs/ld-collate.c (collate_finish): Upper bound for
437 ruleidx is 128, not 256.
439 2000-09-11 Ulrich Drepper <drepper@redhat.com>
441 * locale/programs/ld-collate.c (collate_read): Correct check for
442 already inserted entries.
444 2000-09-10 Bruno Haible <haible@clisp.cons.org>
446 * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in
449 2000-09-10 Bruno Haible <haible@clisp.cons.org>
451 * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if
452 MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1.
454 2000-09-10 Bruno Haible <haible@clisp.cons.org>
456 * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with
459 2000-09-10 Bruno Haible <haible@clisp.cons.org>
461 * iconvdata/utf-7.c: New file.
462 * iconvdata/gconv-modules (UTF-7): New module entries.
463 * iconvdata/Makefile (modules): Add UTF-7.
464 (distribute): Add utf-7.c.
465 * iconvdata/testdata/UTF-7: New file.
466 * iconvdata/testdata/UTF-7..UTF8: New file.
467 * iconvdata/TESTS (UTF-7): New entry.
468 * iconvdata/run-iconv-test.sh: Fix confusing output.
470 2000-09-11 Ulrich Drepper <drepper@redhat.com>
472 * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
474 2000-09-10 David S. Miller <davem@redhat.com>
476 * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
477 frame pointer offset for non-fast path.
479 2000-09-10 Ulrich Drepper <drepper@redhat.com>
481 * locale/programs/3level.h (*_init): Initialize level1, level2,
483 (*_add): Remove a few unnecessary conditionals.
485 2000-09-05 Wolfram Gloger <wg@malloc.de>
487 * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread,
488 ensure usability of mutex as an `in use' flag.
490 2000-09-10 Ulrich Drepper <drepper@redhat.com>
492 * shlib-versions: Simplify libm entries. Correct a few Hurd entries.
494 * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
495 ugly GMON_WEAK_START hack.
496 Patch by Philip Blundell <philb@gnu.org>.
498 * sysdeps/i386/i486/bits/string.h: Pretty printing.
500 2000-09-09 Ulrich Drepper <drepper@redhat.com>
502 * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
503 and PPC_ICBI asm for broken compilers.
504 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
506 2000-09-09 Andreas Jaeger <aj@suse.de>
508 * manual/message.texi (Advanced gettext functions): Fix typo.
510 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
513 2000-09-09 Ulrich Drepper <drepper@redhat.com>
515 * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
517 * sysdeps/ia64/memccpy.S: Likewise.
518 Patches by Jim Wilson <wilson@redhat.com>.
520 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname
521 before trying to read /proc.
522 Patch by Matt Wilson <msw@redhat.com>.
523 * include/sys/utsname.h: Declare __uname.
524 * sysdeps/generic/uname.c: Make uname a weak alias of __uname.
525 * sysdeps/mach/hurd/uname.c: Likewise.
526 * sysdeps/unix/syscalls.list: Likewise.
528 * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
531 2000-09-08 Ulrich Drepper <drepper@redhat.com>
533 * posix/getopt.c (_getopt_internal): When long_only is set always
534 recognize conflicts just like before.
536 2000-09-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
538 * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
540 2000-09-08 Greg McGary <greg@mcgary.org>
542 * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
543 * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'.
544 * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
546 2000-09-08 Andreas Jaeger <aj@suse.de>
548 * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
550 * sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
552 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
553 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
554 (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
556 2000-09-07 Ulrich Drepper <drepper@redhat.com>
558 * iconvdata/tst-tables.sh: Enable EUC-KR test.
560 * elf/dl-load.c (lose): Decrement _nl_loaded.
561 (_dl_map_object_from_fd): Don't try to dlopen executables.
563 * iconvdata/tst-tables.sh: Actually return with an error if
564 something goes wrong.
565 * iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
566 * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
568 * iconvdata/tst-tables.sh: Add BIG5HKSCS.
570 * iconvdata/tst-table-to.c (main): Correct cast in iconv call.
571 * iconvdata/tst-table-from.c: Include <string.h>.
572 (try): Correct cast in iconv call.
574 * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
576 * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
577 (sysdep_routines): Remove dl-start.
578 Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
580 * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
582 * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
583 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
585 2000-09-06 Andreas Schwab <schwab@suse.de>
587 * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
589 2000-09-07 Ulrich Drepper <drepper@redhat.com>
591 * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
593 * scripts/config.sub: Strip out -unknown for Linux targets.
594 Patch by Scott Bambrough <scottb@netwinder.org>.
596 * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
599 2000-09-07 Andreas Jaeger <aj@suse.de>
601 * sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
603 * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
606 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
608 * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
609 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
611 * sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
613 * stdlib/tst-bsearch.c (main): Add more test cases.
615 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
616 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
617 Reported by GOTO Masanori <gotom@debian.or.jp>.
619 2000-09-07 Ulrich Drepper <drepper@redhat.com>
621 * posix/Makefile (tests): Add tst-dir.
622 (tst-dir-ARGS): New variable.
623 * posix/tst-dir.c: New file.
625 2000-09-07 Andreas Jaeger <aj@suse.de>
627 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
630 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
632 2000-09-06 Ulrich Drepper <drepper@redhat.com>
634 * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
635 use the hack with tryopen_o_directory to determine at runtime
637 * sysdeps/unix/sysv/linux/opendir.c: New file.
638 * sysdeps/unix/sysv/linux/kernel-features.h: Define
639 __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
641 * catgets/Depend: New file. Add intl.
642 * catgets/Makefile (tests): Add tst-catgets.
643 (generated): Remove de.msg.
644 (generated-dirs): Add de.
645 Add dependency if tst-catgets output on de/libc.cat.
646 * catgets/tst-catgets.c: New file.
648 * po/ja.po: New file.
649 * po/el.po: Update from translation team.
651 * wcsmbs/Depend: New file.
652 * wcsmbs/Makefile (tests): Add tst-btowc.
653 (tst-btowc-ENV): Define.
654 * wcsmbs/tst-btowc.c: New file.
656 * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
657 * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
659 * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
661 * stdlib/Makefile (tests): Add tst-bsearch.
662 * stdlib/tst-bsearch.c: New file.
664 * posix/getopt.c (_getopt_internal): Don't recognize an option
665 name as ambiguous if it's a prefix for more than one name but the
666 other struct option values are identical.
668 * posix/tstgetopt.c: Add test for improved ambiguity recognition.
669 Don't depend on visual inspection of the output file to recognize
671 * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
673 2000-09-06 Andreas Jaeger <aj@suse.de>
675 * sysdeps/alpha/soft-fp/Dist: New file.
676 * sysdeps/i386/soft-fp/Dist: New file.
677 * sysdeps/mips/mips64/soft-fp/Dist: New file.
678 * sysdeps/mips/soft-fp/Dist: New file.
679 * sysdeps/powerpc/soft-fp/Dist: New file.
680 * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
681 * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
683 * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
684 Use sysdep_routines instead of routines to fix make dist failure.
685 * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
687 * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
689 * sysdeps/mips/Makefile [$(subdir) = misc]: Use
690 sysdep_headers instead of headers for make dist.
692 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
695 2000-09-06 Andreas Schwab <schwab@suse.de>
697 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
699 2000-09-06 Andreas Jaeger <aj@suse.de>
701 * soft-fp/Makefile (distribute): Remove ChangeLog.
703 * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use
704 sysdep_routines instead of routines for make dist.
706 2000-09-05 Ulrich Drepper <drepper@redhat.com>
708 * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
709 compatibility check for old stream and call _IO_wide in doubt.
710 (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
711 * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
712 needed tst for such an old structure and don't do anything.
713 * libio/freopen.c: Remove declaration of _IO_stdin_used.
715 2000-09-06 Andreas Jaeger <aj@suse.de>
717 * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
718 sysdep-dl-routines and sysdep_routines instead of rtld-routines
721 * soft-fp/ChangeLog: Merged with this file.
723 2000-06-13 Ulrich Drepper <drepper@redhat.com>
725 * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
727 * soft-fp/Makefile (distribute): Add the math functions, too.
729 * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
731 2000-03-03 Geoff Keating <geoffk@cygnus.com>
733 * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
736 * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
737 * soft-fp/sysdeps/powerpc/q_*: New files.
739 2000-09-05 Ulrich Drepper <drepper@redhat.com>
741 * stdio-common/vfprintf.c (process_string_arg): Handle precision
742 in wide char case correctly. Don't allocate too long temporary
745 * stdio-common/Makefile (tests): Add tst-swprintf.
746 (tst-swprintf-ENV): New variable.
747 * stdio-common/tst-swprintf.c: New file.
749 2000-09-05 Andreas Jaeger <aj@suse.de>
751 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
752 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
753 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
755 2000-09-05 Ulrich Drepper <drepper@redhat.com>
757 * configure.in: Strip out "unknown" from configuration names.
759 2000-09-05 Andreas Jaeger <aj@suse.de>
761 * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
763 * sysdeps/sparc/sparc64/Implies: Add soft-fp.
764 * sysdeps/sparc/sparc32/Implies: Likewise.
765 * sysdeps/powerpc/Implies: Likewise.
767 * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
768 * libio/oldiofgetpos64.c: Likewise.
770 * soft-fp/Makefile (distribute): Remove configure.
772 * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
774 * soft-fp/configure: Remove.
776 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
777 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
779 * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
780 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
782 * soft-fp/sysdeps/powerpc/Makefile: Move from here...
783 * sysdeps/powerpc/soft-fp/Makefile: ... to here.
785 * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
786 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
788 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
789 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
791 * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
792 * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
794 * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
795 * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
797 * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
798 * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
800 * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
801 * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
803 * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
804 * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
806 * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
807 * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
809 * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
810 * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
812 * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
813 * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
815 * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
816 * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
818 * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
819 * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
821 * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
822 * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
824 * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
825 * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
827 * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
828 * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
830 * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
831 * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
833 * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
834 * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
836 * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
837 * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
839 * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
840 * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
842 * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
843 * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
845 * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
846 * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
848 * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
849 * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
851 * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
852 * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
854 * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
855 * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
857 * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
858 * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
860 * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
861 * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
863 * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
864 * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
866 * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
867 * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
869 * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
870 * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
872 * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
873 * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
875 * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
876 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
878 * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
879 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
881 * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
882 * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
884 * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
885 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
887 * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
888 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
890 * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
891 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
893 * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
894 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
896 * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
897 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
899 * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
900 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
902 * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
903 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
905 * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
906 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
908 * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
909 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
911 * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
912 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
914 * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
915 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
917 * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
918 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
920 * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
921 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
923 * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
924 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
926 * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
927 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
929 * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
930 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
932 * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
933 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
935 * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
936 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
938 * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
939 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
941 * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
942 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
944 * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
945 * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
947 * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
948 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
950 * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
951 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
953 * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
954 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
956 * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
957 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
959 * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
960 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
962 * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
963 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
965 * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
966 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
968 * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
969 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
971 * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
972 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
974 * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
975 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
977 * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
978 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
980 * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
981 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
983 * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
984 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
986 * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
987 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
989 * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
990 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
992 * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
993 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
995 * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
996 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
998 * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
999 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
1001 * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
1002 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
1004 * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
1005 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
1007 * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
1008 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
1010 * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
1011 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
1013 * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
1014 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
1016 * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
1017 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
1019 * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
1020 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
1022 * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
1023 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
1025 * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
1026 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
1028 * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
1029 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
1031 * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
1032 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
1034 * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
1035 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
1037 * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
1038 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
1040 * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
1041 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
1043 * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
1044 * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
1046 * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
1047 * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
1049 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
1050 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
1052 * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
1053 * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
1055 * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
1056 * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
1058 * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
1059 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
1061 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
1062 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
1064 * soft-fp/sysdeps/powerpc/Versions: Move from here...
1065 * sysdeps/powerpc/soft-fp/Versions: ... to here.
1067 * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
1068 * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
1070 * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
1071 change symbol version.
1072 * libio/oldiofgetpos64.c: Likewise.
1073 Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
1075 * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
1077 Reported by dyky@kondara.org, closes PR libc/1886.
1079 * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
1082 2000-09-04 Ulrich Drepper <drepper@redhat.com>
1084 * iconvdata/run-iconv-test.sh: Add code to immediately stop the
1085 script when ^C is hit.
1087 * locale/programs/localedef.c (construct_output_path): Correct
1088 computation of endp after asprintf.
1089 * locale/programs/locfile.c (write_locale_data): Don't add extra
1092 2000-09-05 Andreas Jaeger <aj@suse.de>
1094 * scripts/config.guess: New upstream version.
1095 * scripts/config.sub: Likewise.
1096 * manual/texinfo.tex: Likewise.
1098 2000-09-04 Andreas Schwab <schwab@suse.de>
1100 * elf/Makefile (all-dl-routines): New variable.
1101 (elide-routines.os): Use it instead of $(dl-routines).
1102 (all-rtld-routines): New variable.
1103 (extra-objs): Use it instead of $(rtld-routines).
1104 ($(objpfx)dl-allobjs.os): Likewise.
1105 * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
1106 sysdep-dl-routines and sysdep_routines instead of rtld-routines
1109 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1111 * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
1112 Set fname to NULL if the module wasn't found.
1114 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1116 * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
1117 true if trans->name already ends in ".so".
1119 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1121 * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
1123 * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
1124 below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
1125 (__gconv_release_shlib): Change return type to void.
1126 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
1127 step->__counter here.
1128 * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
1129 if the reference is zero.
1130 (release_step): New function.
1131 (gen_steps): Always initialize the __counter to 1. Use release_step.
1132 Don't call the destructor on the step whose initializer failed.
1133 (increment_counter): Use release_step. Don't normally run destructors
1135 (__gconv_close_transform): Use release_step.
1137 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1139 * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
1140 (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
1142 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1144 * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
1145 If the first byte is 0x8E, don't ask for 4 bytes until it has been
1146 verified that the second byte is valid. Leave it to cns11643_to_ucs4
1147 to check for incomplete input.
1148 * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
1149 ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
1150 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
1151 (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
1153 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
1154 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
1155 (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
1156 * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
1159 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1161 * iconv/gconv_db.c (find_derivation): Always use the least-cost
1164 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1166 * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
1169 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1171 * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
1172 * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
1175 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1177 * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
1179 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1181 * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
1183 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1185 * iconvdata/tst-tables.sh: New file.
1186 * iconvdata/tst-table.sh: New file.
1187 * iconvdata/tst-table-from.c: New file.
1188 * iconvdata/tst-table-to.c: New file.
1189 * iconvdata/tst-table-charmap.sh: New file.
1190 * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
1191 (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
1192 tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
1193 ISIRI-3342.irreversible, SJIS.irreversible.
1194 (tests): Add dependency on tst-tables.out.
1195 (tst-tables.out, tst-tables-clean): New rules.
1196 (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
1197 * iconvdata/ISIRI-3342.irreversible: New file.
1198 * iconvdata/EUC-JP.irreversible: New file.
1199 * iconvdata/SJIS.irreversible: New file.
1201 2000-09-04 Ulrich Drepper <drepper@redhat.com>
1203 * manual/locale.texi (General Numeric): Update description of
1204 representation of the grouping information in the locale data.
1205 Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
1207 2000-09-04 Andreas Jaeger <aj@suse.de>
1209 * locale/programs/ld-monetary.c (monetary_read): Fix typo.
1210 * iconv/iconv_prog.c (options): Fix typo.
1211 Reported by dyky@kondara.org, closes PR libc/1885.
1213 2000-09-04 Andreas Jaeger <aj@suse.de>
1215 * sysdeps/generic/fegetenv.c: It's __fegetenv.
1216 Reported by Rob Levin <lilo@transvirtual.com>.
1218 2000-09-03 Ulrich Drepper <drepper@redhat.com>
1220 * time/sys/time.h (gettimeofday): Move restrict for tz parameter
1221 to the typedefs of __timezone_ptr_t.
1222 Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
1224 2000-09-02 Jakub Jelinek <jakub@redhat.com>
1226 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
1229 2000-09-01 H.J. Lu <hjl@gnu.org>
1231 * Makeconfig (built-program-cmd): Don't use the dynamic linker
1232 to run a binary if it is in $(tests-static).
1234 * Rules (binaries-static): Add $(tests-static).
1236 2000-09-02 Andreas Jaeger <aj@suse.de>
1238 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
1240 * libio/fmemopen.c (fmemopen_close): Revert one part of last
1243 2000-09-01 Ulrich Drepper <drepper@redhat.com>
1245 * iconvdata/big5hkscs.c: Regenerated from charmap.
1246 * iconvdata/testdata/BIG5HKSCS: Regenerated.
1247 * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
1249 * libio/fmemopen.c (fmemopen_seek): Add default case in switch
1250 statement. General cleanup.
1252 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1254 * wctype/wcfuncs.c (iswblank): New function.
1255 * wctype/wcfuncs_l.c (__iswblank_l): New function.
1256 * wctype/wcextra.c: Remove file.
1257 * wctype/wcextra_l.c: Remove file.
1258 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
1260 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1262 * locale/programs/ld-collate.c (collate_output): Remove redundant
1264 * string/strcoll.c: Likewise.
1265 * string/strxfrm.c: Include assert.h. Add assert calls like in
1268 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1270 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
1271 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
1272 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
1273 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
1274 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
1275 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
1276 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
1277 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
1278 _NL_CTYPE_GAP5/6 respectively.
1280 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
1281 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
1282 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
1283 Don't initialize __ctype_names and __ctype_width.
1284 * wctype/cname-lookup.h: Remove file.
1285 * wctype/Makefile (distribute): Remove cname-lookup.h.
1286 * wctype/wchar-lookup.h: Include stdint.h.
1287 * wctype/wctype.c (__wctype): Assume new locale format.
1288 * wctype/wctype_l.c (__wctype_l): Likewise.
1289 * wctype/iswctype.c: Don't include cname-lookup.h.
1290 (__iswctype): Assume new locale format.
1291 * wctype/iswctype_l.c: Don't include cname-lookup.h.
1292 (__iswctype_l): Assume new locale format.
1293 * wctype/wctrans.c: Don't include ctype.h.
1294 (wctrans): Assume new locale format.
1295 * wctype/wctrans_l.c (__wctrans_l): Likewise.
1296 * wctype/towctrans.c: Don't include cname-lookup.h.
1297 (__towctrans): Assume new locale format.
1298 * wctype/towctrans_l.c: Don't include cname-lookup.h.
1299 (__towctrans_l): Assume new locale format.
1300 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
1301 localeinfo.h instead.
1302 (__NO_WCTYPE): Remove unused macro.
1303 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
1305 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
1306 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
1307 (towlower, towupper): Likewise.
1308 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
1309 localeinfo.h instead.
1310 (__NO_WCTYPE): Remove unused macro.
1311 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
1312 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
1313 __iswxdigit_l): Assume new locale format.
1314 (__towlower_l, __towupper_l): Likewise.
1315 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
1316 (__ctype32_b): Remove declaration.
1317 (internal_wcwidth): Assume new locale format.
1318 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
1319 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
1320 to map32_b, rename width_3level to width.
1321 (ctype_output): Always create new locale format. Don't emit
1322 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
1323 (allocate_arrays): Always create new locale format.
1325 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
1326 * locale/weightwc.h (findidx): Assume new locale format.
1327 * string/strcoll.c (wcscoll): Remove local variables size, layers,
1329 * string/strxfrm.c (wcsxfrm): Likewise.
1330 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
1331 local variable collseq to 'const char *'.
1332 (SUFFIX): Don't use, don't undefine.
1333 * posix/fnmatch.c: Remove SUFFIX definition.
1334 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
1335 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
1336 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
1337 (collate_finish): Always create new locale format. Remove local
1338 variables min_total, act_size.
1339 (collate_output): Always create new locale format. Remove local
1340 variables table_size, names, tablewc. Rename tablewc_3level to
1343 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1345 * locale/programs/ld-collate.c (obstack_int32_grow,
1346 obstack_int32_grow_fast): New inline functions.
1347 (output_weightwc, collate_output): Use them where possible.
1349 2000-09-01 Ulrich Drepper <drepper@redhat.com>
1351 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
1352 patch (_mode -> _flags).
1354 * libio/Makefile (headers): Add stdio_ext.h.
1355 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
1356 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
1357 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
1358 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
1359 __fsetlocking, and _flushlbf.
1360 * libio/__fbufsize.c: New file.
1361 * libio/__flbf.c: New file.
1362 * libio/__fpending.c: New file.
1363 * libio/__fpurge.c: New file.
1364 * libio/__freadable.c: New file.
1365 * libio/__freading.c: New file.
1366 * libio/__fsetlocking.c: New file.
1367 * libio/__fwritable.c: New file.
1368 * libio/__fwriting.c: New file.
1369 * libio/stdio_ext.h: New file.
1370 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
1371 * libio/libio.h (_IO_USER_LOCK): Define.
1372 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
1373 test _IO_USER_LOCK flag first.
1375 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
1378 2000-09-01 Andreas Jaeger <aj@suse.de>
1380 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
1382 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
1384 2000-08-31 Ulrich Drepper <drepper@redhat.com>
1386 * math/Makefile (tests): Add tst-defintions.
1387 * math/tst-definitions.c: New file.
1389 * stdlib/Makefile (headers): Add bits/wchar.h.
1390 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
1391 * sysdeps/generic/bits/wchar.h: New file.
1392 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
1393 file to define WCHAR_MIN and WCHAR_MAX.
1394 Change UINT*8_MAX and UIN*16_MAX value to type int.
1395 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
1396 file to define WCHAR_MIN and WCHAR_MAX.
1397 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
1399 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
1400 * sysdeps/generic/bits/mathdef.h: Likewise.
1401 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
1402 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
1403 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
1404 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
1405 * locale/locale.h (struct lconv): Add __ prefix to the new members
1407 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
1408 imaxdiv optimizations.
1409 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
1410 * sysdeps/wordsize-64/ldiv.c: Likewise.
1411 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
1413 * sysdeps/generic/bits/fenv.h: Likewise.
1414 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
1415 * sysdeps/ia64/bits/fenv.h: Likewise.
1416 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
1417 * sysdeps/mips/bits/fenv.h: Likewise.
1418 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
1419 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
1420 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1422 * inet/rcmd.c: Use *stat64 instead of *stat internally.
1423 * inet/ruserpass.c: Likewise.
1424 * catgets/open_catalog.c: Likewise.
1425 * intl/loadmsgcat.c: Likewise.
1426 * io/getdirname.c: Likewise.
1427 * locale/loadlocale.c: Likewise.
1428 * misc/getusershell.c: Likewise.
1429 * stdlib/canonicalize.c: Likewise.
1430 * sysdeps/posix/euidaccess.c: Likewise.
1431 * sysdeps/posix/isfdtype.c: Likewise.
1432 * sysdeps/posix/posix_fallocate.c: Likewise.
1433 * sysdeps/posix/tempname.c: Likewise.
1434 * sysdeps/unix/grantpt.c: Likewise.
1435 * sysdeps/unix/opendir.c: Likewise.
1436 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
1437 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
1438 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1439 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
1440 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1441 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1442 * sysvipc/ftok.c: Likewise.
1443 * time/getdate.c: Likewise.
1445 * time/getdate.c: Add extra access test.
1447 2000-08-31 Ulrich Drepper <drepper@redhat.com>
1449 * version.h (VERSION): Bump to 2.1.93.
1451 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
1452 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
1454 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
1455 Make this a new rule depending on tst-gettext.out and run mtrace.
1456 * intl/tst-gettext.c: Call mtrace.
1457 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
1459 * elf/dl-reloc.c: Add a few more __builtin_expect.
1461 * configure.in: Remove --with-gettext option.
1463 * intl/dcigettext.c (free_mem): Correct freeing of
1464 _nl_domain_bindings list.
1466 * sysdeps/generic/setenv.c (free_mem): New function. Free all
1469 * intl/locale.alias: Add aliases for bokmal and nynorsk.
1471 * locale/iso-639.def: Fix 639-1 code for Bokmal.
1473 * stdio-common/itoa-digits.c: Move upper digits to...
1474 * stdio-common/itoa-udigits.c: ...here. New file.
1475 * stdio-common/Makefile (routines): Add itoa-udigits.
1477 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
1478 relocate ld.so don't add supprt for relocations which should not
1481 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
1482 __secure_getenv. Instead test __libc_enable_secure once.
1484 * io/pwd.c (main): Provide a good example, use *_unlocked function.
1486 2000-08-30 Ulrich Drepper <drepper@redhat.com>
1488 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
1489 whether the new record should be freed if it's a duplicate.
1490 (add_module): Adjust insert_module call.
1491 (__gconv_read_conf): Likewise.
1492 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
1494 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
1496 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
1498 * include/link.h (struct r_search_path_struct): New.
1499 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
1500 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
1502 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
1503 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
1504 added at startup time.
1505 * elf/dl-load.c: Fix memory handling. r_search_path_struct
1506 contains element to remember fact that we can free memory.
1507 (all_dirs): Renamed to _dl_all_dirs. Made global.
1508 (_dl_init_all_dirs): New variable.
1509 (fillin_rpath): Save one malloc call.
1510 (decompose_rpath): Change interface. New first parameter points to
1511 r_search_path_struct.
1512 (_dl_init_paths): Adjust for changes. Mark all memory as not
1513 deletable. Set _dl_init_all_paths value.
1514 (open_path): Remove may_free_dirs parameter. r_search_path_elem ***
1515 parameter replaced with r_search_path_struct *. Information about
1516 freeing now contained in r_search_path_struct.
1517 (_dl_map_object): Adjust for above changes.
1519 * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
1521 * elf/dl-load.c (fillin_rpath): Only check for trusted directories
1522 when adding new entries.
1524 * elf/dl-load.c (fillin_rpath): Make local copy of where string
1525 since the object being loaded can be unloaded.
1527 * iconvdata/Makefile (tests): Add tst-loading.
1528 * iconvdata/tst-loading.c: New file.
1530 2000-08-29 Bruno Haible <haible@clisp.cons.org>
1532 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
1533 When comparing a char with an int, always cast the char to
1534 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
1535 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
1537 2000-08-30 Ulrich Drepper <drepper@redhat.com>
1539 * time/strftime.c (my_strftime): Add compatibility code for use
1540 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
1542 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
1543 return 0 for success but always < 0 on failure.
1545 * nss/getXXbyYY_r.c: Define result to *result before including
1548 2000-08-30 Andreas Jaeger <aj@suse.de>
1550 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
1552 2000-08-29 Ulrich Drepper <drepper@redhat.com>
1554 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
1556 * iconvdata/TESTS: Add BIG5HKSCS entry.
1557 * iconvdata/testdata/BIG5HKSCS: New file.
1558 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
1560 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
1563 * libio/iogetline.c: Set mode before the loop in case n==0.
1564 * libio/iogetwline.c: Likewise.
1566 2000-08-29 H.J. Lu <hjl@gnu.org>
1568 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
1570 (_IO_new_file_overflow): Likewise.
1571 * libio/genops.c (_IO_flush_all): Likewise.
1572 * libio/ioftell.c (_IO_ftell): Likewise.
1574 2000-08-29 Akira Higuchi <a@kondara.org>
1576 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
1577 and __end_fct fields of struct __gconv_step.
1578 * iconv/Makefile (tests): Add iconv-bug2.
1579 * iconv/iconv-bug2.c: New file.
1581 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
1582 instead of 'inptr - inend' to ksc5601_to_ucs4.
1584 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
1586 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
1587 character or shift sequence is found at the end of the input
1588 string, return__GCONV_INCOMPLETE_INPUT instead of
1589 __GCONV_EMPTY_INPUT.
1590 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
1591 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
1593 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
1594 __GCONV_ILLEGAL_INPUT for 8bit characters.
1596 2000-08-29 Ulrich Drepper <drepper@redhat.com>
1598 * signal/signal.h (sigpause): Move __THROW before __asm__.
1600 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
1601 names don't match don't return.
1602 Patch by Olaf Kirch <okir@flash.lst.de>.
1604 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1606 * time/strftime.c (my_strftime): Handle # flag for %b as well.
1608 2000-08-27 H.J. Lu <hjl@gnu.org>
1610 * posix/Makefile (otherlibs): Add for building with static-nss
1613 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1615 * libio/stdio.h: Add fmemopen prototype.
1617 2000-08-25 Andreas Jaeger <aj@suse.de>
1619 * libio/Makefile (routines): Add fmemopen.
1620 (tests): Add test-fmemopen.
1621 * libio/Versions: Add fmemopen with version GLIBC_2.2.
1622 * libio/test-fmemopen.c: New file.
1623 * libio/fmemopen.c: New file.
1624 Patches by Hanno Mueller <kontakt@hanno.de>.
1626 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1628 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
1629 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
1631 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
1632 to avoid crashing statically linked applications.
1634 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1636 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
1637 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
1639 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
1640 If the result is fits in the buffer, copy only as many bytes as needed.
1642 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
1643 buffer after copying numbuf into it.
1644 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
1646 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1648 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
1649 the result. When string_len < len, don't clear the rest of the buffer.
1651 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1653 Support for new LC_COLLATE format.
1654 * locale/coll-lookup.h: New file.
1655 * locale/weightwc.h (findidx): When size == 0, call
1656 collidx_table_lookup.
1657 * wcsmbs/wcscoll.c: Include coll-lookup.h.
1658 * wcsmbs/wcsxfrm.c: Likewise.
1659 * posix/fnmatch.c: Likewise.
1660 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
1661 collseq_table_lookup.
1662 * locale/programs/3level.h: New file.
1663 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
1664 by including "3level.h".
1665 * locale/programs/ld-collate.c (wchead_table, collidx_table,
1666 collseq_table): New types, defined by including "3level.h".
1667 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
1668 (encoding_mask, encoding_byte): Remove.
1669 (utf8_encode): Use simple shifts instead.
1670 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
1671 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
1672 (collate_output): New local variable tablewc_3level. When
1673 !oldstyle_tables, set table_size to 0 and names to NULL and fill
1674 tablewc_3level instead of tablewc. Change format of TABLEWC and
1675 COLLSEQWC entries written to the file.
1676 * locale/C-collate.c (collseqwc): Change format.
1677 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
1679 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
1681 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1683 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
1684 (locale_ctype_t): New charnames_idx field.
1685 (ctype_startup): Initialize charnames_idx field.
1686 (find_idx): Speed up dramatically by using charnames_idx inverse table.
1688 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1690 * locale/C-ctype.c: Switch to new locale format.
1691 (_nl_C_LC_CTYPE_names): Remove array.
1692 (STRUCT_CTYPE_CLASS): New macro.
1693 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
1694 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
1695 New three-level tables.
1696 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
1697 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
1698 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
1699 12 class tables and 2 map tables at the end.
1700 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
1701 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
1702 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
1704 (b): Remove trailing semicolon.
1705 (__ctype_names, __ctype_width): Don't initialize.
1706 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
1708 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1710 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
1711 is guaranteed to be allocated with the same malloc() and may be
1713 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
1714 been set to empty by an earlier open_path call, don't pass it again.
1716 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1718 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
1719 we are not optimizing.
1721 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
1724 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
1726 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1728 2000-08-28 Andreas Jaeger <aj@suse.de>
1730 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
1732 2000-08-28 Mark Kettenis <kettenis@gnu.org>
1734 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
1735 getpeername. Use ISO C style function definition.
1736 (getpeername): Provide weak alias.
1737 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
1738 setrlimit. Use ISO C style function definition.
1739 (setrlimit): Provide weak alias.
1741 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
1743 * shlib-versions: Add a rule for S/390 to the libm version list.
1744 * sysdeps/s390/Versions: New file.
1745 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
1746 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
1747 * sysdeps/unix/sysv/linux/s390/Versions: New file.
1748 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
1749 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
1750 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
1751 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
1752 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
1753 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
1754 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
1755 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
1756 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
1757 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
1758 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
1759 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
1760 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
1761 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
1762 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
1764 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1766 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
1767 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
1769 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
1770 * elf/dl-close.c (_dl_close): Print debug message if object is not
1772 * elf/dl-open.c (dl_open_worked): Print message about opencount before
1773 returning to caller.
1775 * po/zh.po: Renamed to...
1776 * po/zh_TW.po: ...this.
1778 2000-08-27 Geoff Keating <geoffk@cygnus.com>
1780 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
1782 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
1783 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
1784 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
1785 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
1787 2000-08-27 Ulrich Drepper <drepper@redhat.com>
1789 * locale/programs/ld-collate.c (insert_weights): Also update
1790 backpointer of next element.
1791 (collate_read): Allow definition of new collation symbols in stage 2.
1792 Symbol after reorder-after can be UCS4 value.
1793 Allow reordering of collation symbols and elements.
1794 Do not only move reorder entry in new position. Instead call
1795 insert_weight to do this and read the weights.
1797 * locale/findlocale.c (free_mem): Add cast to avoid warning.
1799 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
1800 to determine invalid locale name.
1801 * locale/findlocale.c (_nl_find_locale): Likewise.
1803 * posix/annexc.c: Correct test for unavailable feature.
1805 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
1808 2000-08-26 Ulrich Drepper <drepper@redhat.com>
1810 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
1813 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
1814 (sysdep_routines): Add oldgetrlimit64.
1816 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
1817 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
1818 (tests): Add unload, reldep, reldep2, and reldep3.
1819 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
1821 Add rules to build and run unload, reldep, reldep2, and reldep3.
1822 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
1823 Don't create relocation dependency if it is nonzero.
1824 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
1825 can never happen here.
1826 (_dl_lookup_versioned_symbol): Add new parameter explicit.
1827 Don't create relocation dependency if it is nonzero.
1828 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
1829 stuff. This can never happen here.
1830 * sysdeps/generic/ldsodefs.h: Change prototypes.
1831 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
1832 _dl_lookup_up and _dl_lookup_versioned_symbol.
1834 * elf/dl-runtime.c (fixup): Likewise.
1835 (profile_fixup): Likewise.
1836 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
1838 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
1839 * elf/rtld.c (dl_main): Likewise.
1840 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
1841 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
1842 and pass down the caller map.
1843 (_dl_vsym): Likewise.
1844 * elf/reldep.c: New file.
1845 * elf/reldep2.c: New file.
1846 * elf/reldep3.c: New file.
1847 * elf/reldepmod1.c: New file.
1848 * elf/reldepmod2.c: New file.
1849 * elf/reldepmod3.c: New file.
1850 * elf/reldepmod4.c: New file.
1851 * elf/unload.c: New file.
1852 * elf/unloadmod.c: New file.
1854 * elf/do-lookup.h: Remove unused undef_name parameter.
1855 * elf/dl-lookup.c: Adjust callers.
1857 2000-08-25 Ulrich Drepper <drepper@redhat.com>
1859 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
1860 irreversible in recursive call of conversion function to signal that
1861 no error handling is wanted.
1862 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
1863 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
1864 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
1865 recursive error handling call, otherwise to &lirreversible. Use it
1866 for calls to conversion functions.
1867 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
1869 (ucs4_internal_loop_unaligned): Likewise.
1870 (ucs4le_internal_loop): Likewise.
1871 (ucs4le_internal_loop_unaligned): Likewise.
1873 2000-08-25 Greg McGary <greg@mcgary.org>
1875 * sysdeps/i386/memchr.S: Check high bound against chars
1877 * sysdeps/i386/memcmp.S: Likewise.
1878 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
1879 account for pointers that lie one beyond end-of-buffer.
1881 2000-08-25 Ulrich Drepper <drepper@redhat.com>
1883 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
1884 * elf/nodelete.c (fini_ran): New global variable.
1885 (do_test): Before every dlclose call clear fini_ran and test
1886 afterwards that it is not set by the destructors.
1887 * elf/nodelmod1.c: Add destructor which sets fini_ran.
1888 * elf/nodelmod2.c: Likewise.
1889 * elf/nodelmod4.c: Likewise.
1891 2000-08-21 Jes Sorensen <jes@linuxcare.com>
1893 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
1894 getrlimit to the list.
1896 2000-08-18 Jes Sorensen <jes@linuxcare.com>
1898 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
1899 long double format so use ldbl-96 instead of ldbl-128.
1901 2000-08-25 Ulrich Drepper <drepper@redhat.com>
1903 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
1904 even if bits 10 a 11 are non-zero.
1905 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
1907 * Makeconfig: Ensures the soversions.mk part of Makefile gets
1908 included before building gnu/lib-names.h
1909 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1911 * elf/dl-close.c (_dl_close): Don't run destructors of objects
1912 marked DF_1_NODELETE.
1914 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
1915 since we call sigaction in the child.
1917 2000-08-25 Andreas Jaeger <aj@suse.de>
1919 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
1922 2000-08-25 Andreas Jaeger <aj@suse.de>
1924 * manual/arith.texi (Control Functions): Clarify possible
1925 arguments. Closes PR libc/1856.
1927 2000-08-24 H.J. Lu <hjl@gnu.org>
1929 * stdio-common/Makefile (tests): Don't do it for cross compiling.
1930 * malloc/Makefile (tests): Likewise.
1932 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1934 * iconvdata/unicode.c (gconv_init): Correct test for direction.
1936 2000-08-24 Andreas Jaeger <aj@suse.de>
1938 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
1939 only if LIBGD is available.
1941 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1943 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
1944 problems with now restrict parameter types.
1945 (convaddr4to6): Likewise.
1947 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
1949 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
1950 * sysdeps/s390/fpu/feenablxcpt.c: New file.
1951 * sysdeps/s390/fpu/fegetexcept.c: New file.
1952 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
1955 2000-08-24 Andreas Jaeger <aj@suse.de>
1957 * malloc/Makefile (extra-objs): Add memusagestat.o.
1958 (generated): Added memusage and memusagestat for make clean.
1960 * libio/tst_putwc.c (do_test): Delete temporary file.
1961 Move inclusion of test-skeleton to front to have prototype for
1964 * posix/Makefile (generated): Add wordexp-tst.out.
1966 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1968 * resolv/res_hconf.c (free_mem): Remove not needed if.
1970 * time/tzset.c (free_mem): New function.
1971 * string/strsignal.c (free_mem): New function.
1972 * inet/inet_ntoa.c (free_mem): New function.
1973 * sunrpc/clnt_perr.c (free_mem): New function.
1975 2000-08-24 Andreas Jaeger <aj@suse.de>
1977 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
1978 * sysdeps/unix/sysv/syscalls.list: Likewise.
1980 * posix/unistd.h: Move internal prototypes from here ...
1981 * include/unistd.h: ... to here.
1983 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
1985 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1987 * grp/initgroups.c (initgroups): Deallocate groups array.
1988 Reported by jani.raiha@sonera.com [PR libc/1868].
1990 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
1991 * sysdeps/alpha/Dist: Likewise.
1993 2000-08-23 Ulrich Drepper <drepper@redhat.com>
1995 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
1996 destructor). Reported by Solar Designer <solar@false.com>.
1998 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
1999 avoid adding double slashes.
2001 2000-08-23 Jakub Jelinek <jakub@redhat.com>
2003 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
2004 out of the __REDIRECT macro.
2006 2000-08-23 Ulrich Drepper <drepper@redhat.com>
2008 * stdio-common/vfscanf.c: Add %F format support.
2010 * locale/programs/ld-ctype.c (ctype_output): Make sure
2011 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
2012 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
2013 (ctype_read): Enable returning of wide character strings for reading
2014 transliteration information.
2016 2000-08-23 Andreas Jaeger <aj@suse.de>
2018 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
2019 Use static __inline instead of _EXTERN_INLINE.
2021 * misc/sys/select.h: Move prototypes of __select from here ...
2022 * include/sys/select.h: ... to here.
2024 * socket/sys/socket.h: Move prototypes of __send and __connect
2026 * include/sys/socket.h: ... to here.
2028 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
2031 2000-08-23 Jakub Jelinek <jakub@redhat.com>
2033 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
2034 __setrlimit as strong name. Takes only 2 arguments.
2036 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
2037 takes only 2 arguments.
2039 2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
2041 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
2043 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
2045 2000-08-23 Ulrich Drepper <drepper@redhat.com>
2047 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
2048 default_missing character being specified, pick the first
2051 2000-08-23 Andreas Jaeger <aj@suse.de>
2053 * include/wchar.h: Add some pure attributes.
2055 * time/time.h: Add const attribute for dysize.
2057 * include/stdlib.h: Add malloc attribute to __posix memalign.
2059 * stdlib/stdlib.h: Add some pure and malloc attributes.
2060 * wcsmbs/wchar.h: Likewise.
2062 * dirent/dirent.h: Add some pure attributes.
2063 * include/dirent.h: Likewise.
2065 2000-08-23 Jakub Jelinek <jakub@redhat.com>
2067 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
2070 2000-08-22 Ulrich Drepper <drepper@redhat.com>
2072 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
2073 missing buffer size checks.
2075 2000-08-23 Andreas Jaeger <aj@suse.de>
2077 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
2079 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2081 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
2082 otherwise __LINUX_KERNEL_VERSION might not be defined.
2083 (MIN): Define if not already defined.
2085 2000-08-22 Ulrich Drepper <drepper@redhat.com>
2087 * stdio-common/vfprintf.c: Handle %F format.
2088 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
2089 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
2091 * stdio-common/tstdiomisc.c: Add test for %F printf format.
2093 * po/zh.po: New file.
2095 * iconvdata/sjis.c: In conversion from UCS4, correct test for
2096 enough room in target buffer.
2097 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
2098 * iconvdata/bug-iconv1.c: New file.
2099 * iconvdata/Makefile (tests): Add bug-iconv1.
2101 * locale/iso-4217.def: Update entry for Nicaragua.
2103 2000-08-22 Mark Kettenis <kettenis@gnu.org>
2105 * hurd/hurdsig.c: Rearrange headers a bit.
2106 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
2107 when cthreads is being used.
2109 2000-08-22 Ulrich Drepper <drepper@redhat.com>
2111 * elf/Makefile (distribute): Add dl-osinfo.h.
2112 * sysdeps/generic/dl-osinfo.h: New file.
2113 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
2114 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
2116 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
2117 only for !SHARED case. Get the code from dl-osinfo.h.
2119 * stdlib/random_r.c: Cleanups.
2120 * stdlib/tst-random.c: New file.
2121 * stdlib/Makefile (tests): Add tst-random.
2122 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
2124 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
2126 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
2127 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
2128 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
2129 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
2131 2000-08-22 Jakub Jelinek <jakub@redhat.com>
2133 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
2134 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
2135 (__syscall__sysctl): Add.
2137 2000-08-21 Andreas Jaeger <aj@suse.de>
2139 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
2141 * stdlib/tst-strtoll.c: Likewise.
2143 2000-08-21 Ulrich Drepper <drepper@redhat.com>
2145 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
2147 (__initstate_r): Set errno on error.
2148 (__random_r): Likewise.
2149 (__setstate_r): Correct offset when computing
2150 new rptr and fptr. Test for arg_state being NULL.
2151 Reported by Michael Fischer <fischer@cs.yale.edu>.
2153 * posix/regex.h: Add macro definitions to allow compiling outside
2156 * sysdeps/i370/Implies: Removed.
2157 * sysdeps/mvs/Implies: Removed.
2159 * catgets/catgets.c (catopen): Filter out env_var values with / if
2162 * locale/findlocale.c (_nl_find_locale): Move test for unusable
2163 locale name after all getenvs.
2165 * configure.in: Allow sed versions like 3.02.8.
2166 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
2168 2000-08-21 Marko Myllynen <myllynen@lut.fi>
2170 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
2172 2000-08-21 Ulrich Drepper <drepper@redhat.com>
2174 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
2175 of gethostbyname2_r call.
2177 * intl/locale.alias: Add aliases for Korean.
2179 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
2181 * sysdeps/s390/__longjmp.c: Remove unused variable result.
2182 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
2183 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
2184 * sysdeps/s390/fpu/fegetenv.c: New file.
2185 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
2186 * sysdeps/s390/fpu/feholdexcpt.c: New file.
2187 * sysdeps/s390/fpu/fenv_libc.h: New file.
2188 * sysdeps/s390/fpu/fesetenv.c: New file.
2189 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
2190 * sysdeps/s390/fpu/feupdateenv.c: New file.
2191 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
2192 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
2193 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
2194 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
2195 * sysdeps/s390/fpu/ftestexcept.c: New file.
2196 * sysdeps/s390/fpu/libm-test-ulps: New file.
2197 * sysdeps/s390/gmp-mparam.h: Add end of comment.
2198 * sysdeps/s390/initfini.c: New file.
2199 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
2200 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
2201 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
2202 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
2203 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
2204 sys/procfs.h as proposed by Mark Kettenis.
2205 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
2207 2000-08-21 Andreas Jaeger <aj@suse.de>
2209 * include/poll.h: Include include/sys/poll.h to get __poll
2212 * io/sys/poll.h: Move __poll declaration from here...
2213 * include/sys/poll.h: ...to here.
2215 * include/sys/socket.h (__getpeername): Add declaration.
2217 * include/wchar.h (__vswprintf): Add declaration.
2219 * include/stdio.h (__flockfile): Add declaration.
2220 (__funlockfile): Likewise.
2222 2000-08-20 Ulrich Drepper <drepper@redhat.com>
2224 * misc/sys/cdefs.h: Define __restrict_arr.
2225 * include/sys/time.h: Add restrict where required by AGd4.
2226 * inet/arpa/inet.h: Likewise.
2227 * io/sys/stat.h: Likewise.
2228 * io/sys/statvfs.h: Likewise.
2229 * misc/search.h: Likewise.
2230 * misc/sys/select.h: Likewise.
2231 * posix/glob.h: Likewise.
2232 * posix/regex.h: Likewise.
2233 * posix/spawn.h: Likewise.
2234 * posix/unistd.h: Likewise.
2235 * rt/aio.h: Likewise.
2236 * signal/signal.h: Likewise.
2237 * socket/sys/socket.h: Likewise.
2238 * stdlib/ucontext.h: Likewise.
2239 * streams/stropts.h: Likewise.
2240 * string/string.h: Likewise.
2241 * time/time.h: Likewise.
2242 * time/sys/time.h: Likewise.
2244 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
2245 and posix_spawnattr_setscheparam.
2247 * libio/stdio.h: Make cuserid prototype again available for all
2250 * argp/argp-help.c: Unify use of function aliases to make more compact
2252 * include/libintl.h: Likewise.
2253 * inet/rcmd.c: Likewise.
2254 * intl/dcigettext.c: Likewise.
2255 * libio/iofputws.c: Likewise.
2256 * libio/iofputws_u.c: Likewise.
2257 * libio/iogetwline.c: Likewise.
2258 * libio/swprintf.c: Likewise.
2259 * malloc/malloc.c: Likewise.
2260 * nss/digits_dots.c: Likewise.
2261 * posix/fnmatch.c: Likewise.
2262 * posix/spawn_faction_addclose.c: Likewise.
2263 * posix/spawn_faction_adddup2.c: Likewise.
2264 * posix/spawn_faction_addopen.c: Likewise.
2265 * posix/spawni.c: Likewise.
2266 * posix/wordexp.c: Likewise.
2267 * posix/spawni.c: Likewise.
2268 * resolv/res_hconf.c: Likewise.
2269 * resolv/res_init.c: Likewise.
2270 * shadow/lckpwdf.c: Likewise.
2271 * signal/sighold.c: Likewise.
2272 * signal/sigrelse.c: Likewise.
2273 * stdio-common/printf-parse.h: Likewise.
2274 * stdio-common/printf-prs.c: Likewise.
2275 * stdio-common/printf_fp.c: Likewise.
2276 * stdio-common/vfprintf.c: Likewise.
2277 * stdio-common/vfscanf.c: Likewise.
2278 * stdlib/rpmatch.c: Likewise.
2279 * sunrpc/create_xid.c: Likewise.
2280 * sunrpc/key_call.c: Likewise.
2281 * sysdeps/generic/setrlimit64.c: Likewise.
2282 * sysdeps/generic/utmp_file.c: Likewise.
2283 * sysdeps/generic/vlimit.c: Likewise.
2284 * sysdeps/posix/posix_fallocate.c: Likewise.
2285 * sysdeps/posix/posix_fallocate64.c: Likewise.
2286 * sysdeps/posix/sigpause.c: Likewise.
2287 * sysdeps/posix/sigset.c: Likewise.
2288 * sysdeps/unix/grantpt.c: Likewise.
2289 * sysdeps/unix/bsd/ualarm.c: Likewise.
2290 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
2291 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
2292 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2293 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
2294 * time/strftime.c: Likewise.
2295 * wcsmbs/wcscoll.c: Likewise.
2296 * wcsmbs/wcsxfrm.c: Likewise.
2298 * time/tst-getdate.c (main): Make error messages more human readable.
2300 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
2301 postinc/predec instruction.
2302 (_FPU_SETCW): Likewise.
2303 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2305 2000-08-20 Andreas Jaeger <aj@suse.de>
2307 * time/tst-getdate.c (main): Increase error in case of wrong
2309 Fix typo in test case.
2311 2000-08-20 Ulrich Drepper <drepper@redhat.com>
2313 * ctype/ctype.h (isblank): Make available if ISO C99.
2314 * wctype/wctype.h (iswblank): Make available if ISO C99.
2315 * math/math.h (signgam): Don't make available if ISO C99.
2316 * math/tgmath.h (tgamma): Renamed from gamma.
2317 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
2319 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
2321 * intl/plural.y (new_exp): Take number of optional parameters in
2322 second parameter. Test for correct number of parameters and free
2323 correctly in case of failure. Adjust all callers.
2324 (yylex): Allow ';' as terminator character.
2326 2000-08-19 Ulrich Drepper <drepper@redhat.com>
2328 * locale/lc-time.c (free_mem): New function. Free alt_digits and
2331 * locale/findlocale.c (free_mem): Also free here->filename.
2333 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
2335 * math/test-fenv.c (feenv_tests): Clear all exceptions before
2337 (feexcp_nomask_test): Correct printf args.
2338 (feexcp_mask_test): Likewise.
2340 2000-08-19 Andreas Jaeger <aj@suse.de>
2342 * inet/tst-gethnm.c: Include string.h to provide prototype for
2345 * malloc/mtrace.pl (usage): Inform about --help.
2347 2000-08-19 Wolfram Gloger <wg@malloc.de>
2349 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
2352 2000-08-19 Andreas Jaeger <aj@suse.de>
2354 * shlib-versions: Remove libnss_db, libdb and libdb1.
2356 2000-08-19 Jakub Jelinek <jakub@redhat.com>
2358 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
2359 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
2360 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
2361 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
2362 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
2363 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
2364 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
2365 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
2366 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
2367 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
2369 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
2370 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
2372 2000-08-18 Jakub Jelinek <jakub@redhat.com>
2374 * include/glob.h (__glob64): Add prototype.
2375 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
2376 define glob and glob_in_dir.
2377 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
2378 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
2379 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
2380 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
2381 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
2382 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
2383 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
2384 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
2386 2000-08-18 Jakub Jelinek <jakub@redhat.com>
2388 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
2390 2000-08-17 Andreas Jaeger <aj@suse.de>
2392 * math/test-fenv.c (fe_single_test): New function.
2393 (fe_env_tests): Use fe_single_test.
2394 (feenable_test): New tests for feenable/fedisable and
2396 (feexcp_mask_test): New function.
2397 (feexcp_nomask_test): New function.
2399 2000-08-19 Richard Henderson <rth@cygnus.com>
2401 * sysdeps/alpha/fpu/fenv_libc.h: New file.
2402 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
2403 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
2404 * sysdeps/alpha/fpu/fesetround.c: Likewise.
2405 * sysdeps/alpha/fpu/fegetround.c: Likewise.
2406 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
2407 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
2408 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
2409 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
2410 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
2411 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
2412 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
2413 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
2414 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
2415 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
2416 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
2417 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
2419 2000-08-19 Andreas Jaeger <aj@suse.de>
2421 * elf/constload1.c: Include <stdio.h> for puts prototype.
2423 2000-08-19 Ulrich Drepper <drepper@redhat.com>
2425 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
2426 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
2427 a dynamically loaded object remove old l_initfini list.
2428 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
2429 remove some dynamically allocated memory blocks in the dynamic
2430 loading data structures.
2431 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
2432 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
2433 Instead call _dl_check_map_versions only for the dependencies.
2434 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
2435 information of initial objects as not free-able.
2436 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
2439 * elf/filter.c: Call mtrace.
2440 * elf/restest1.c: Likewise. Close the objects.
2441 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
2444 * elf/constload1.c: Add comment explaining not freed memory.
2446 2000-08-18 Andreas Jaeger <aj@suse.de>
2448 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
2449 alignment for structs stat and stat64.
2450 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2452 2000-08-17 Ulrich Drepper <drepper@redhat.com>
2454 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
2455 handling. Patch by Richard Henderson <rth@twiddle.net>.
2457 * nss/Versions: Remove libnss_db information.
2459 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2461 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
2462 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
2463 * sysdeps/sparc/fpu/fegetexcept.c: New file.
2464 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
2466 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
2469 2000-08-17 Ulrich Drepper <drepper@redhat.com>
2471 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
2472 (_FPU_SETCW): Likewise.
2473 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2475 * stdio-common/printf_fp.c: Fix chars_needed computation.
2476 Patch by Greg McGary <greg@mcgary.org>.
2478 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2480 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
2481 _dl_loaded are NULL.
2483 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2485 * manual/arith.texi (feholdexcept): Returns 0 on success.
2487 2000-08-17 Andreas Jaeger <aj@suse.de>
2489 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
2491 Reported by Andi Kleen <ak@suse.de>.
2493 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2495 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
2496 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
2497 * sysdeps/alpha/fpu/fegetexcept.c: New file.
2499 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2501 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
2502 of buf->st_ino and kbuf->st_ino, not __st_ino.
2503 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
2504 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
2505 directive so that only linux/getdents.c is used, not some
2506 architecture specific one.
2508 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2510 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
2511 enabled, not disabled exceptions.
2512 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2513 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
2515 2000-08-17 Greg McGary <greg@mcgary.org>
2517 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
2518 from test program name when constructing suffix for $(LDLIBS-*).
2519 (bounded-thread-library): New variable.
2521 [build-shared, build-static] (libcrypt-dep): Remove variable.
2522 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
2523 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2524 * linuxthreads/Makefile (libpthread, librt): Remove variables.
2525 (librt-tests): Add variable. (tests): Use it.
2526 [build-shared, build-static]
2527 ($(addprefix $(objpfx),$(tests)),
2528 $(addprefix $(objpfx),$(librt-tests))):
2529 Consolidate individual dependencies.
2531 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
2533 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
2534 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2536 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
2538 [build-shared, build-static]
2539 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
2540 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2542 2000-08-17 Greg McGary <greg@mcgary.org>
2544 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
2545 * sysdeps/unix/make-syscalls.sh: Likewise.
2546 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2547 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2548 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2549 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
2550 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
2552 2000-08-17 Greg McGary <greg@mcgary.org>
2554 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
2555 Wrap extern symbols in BP_SYM ().
2556 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2557 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2558 * sysdeps/i386/fpu/s_remquo.S: Likewise.
2559 * sysdeps/i386/fpu/s_remquof.S: Likewise.
2560 * sysdeps/i386/fpu/s_remquol.S: Likewise.
2561 * sysdeps/i386/fpu/s_sincos.S: Likewise.
2562 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2563 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2564 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2565 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2567 2000-08-16 Andreas Schwab <schwab@suse.de>
2569 * sysdeps/m68k/fpu/fegetexcept.c: New file.
2570 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
2571 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
2573 2000-08-15 Ulrich Drepper <drepper@redhat.com>
2575 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
2576 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
2577 * elf/dl-support.c: Define _nl_nloaded.
2578 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
2579 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
2580 object to global list.
2581 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
2582 from _dl_loaded list.
2583 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2584 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
2587 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
2589 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
2591 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
2593 2000-08-16 Andreas Jaeger <aj@suse.de>
2595 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
2597 2000-08-15 Marko Myllynen <myllynen@lut.fi>
2599 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
2601 2000-08-15 Ulrich Drepper <drepper@redhat.com>
2603 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
2604 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
2605 (sysdep_routines): Add oldgetrlimit64.
2606 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
2607 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2609 * include/link.h: Undo last patches. Hurd now has stat64.
2610 * elf/Makefile: Likewise.
2611 * elf/dl-load.c: Likewise.
2612 * elf/dl-misc.c: Likewise.
2613 * elf/dl-profile.c: Likewise.
2614 * sysdeps/generic/sysd-link.h: Removed.
2615 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
2617 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
2618 thread event callback function.
2619 (__aio_notify_only): Use function above.
2620 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
2622 2000-08-16 Mark Kettenis <kettenis@gnu.org>
2624 * sysdeps/mach/hurd/lseek64.c: New file.
2626 2000-08-15 Mark Kettenis <kettenis@gnu.org>
2628 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
2630 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
2632 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
2634 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
2636 2000-08-15 Mark Kettenis <kettenis@gnu.org>
2638 * sysdeps/mach/hurd/xstatconv.c: New file.
2639 * sysdeps/mach/hurd/fxstat64.c: New file.
2640 * sysdeps/mach/hurd/lxstat64.c: New file.
2641 * sysdeps/mach/hurd/xstat64.c: New file.
2642 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
2644 2000-08-15 Mark Kettenis <kettenis@gnu.org>
2646 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
2647 Initialize, needed for change in common symbol handling in newer
2648 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
2650 2000-08-15 Ulrich Drepper <drepper@redhat.com>
2652 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
2653 * elf/constload2.c: Add destructor to unload constload3.
2655 * include/link.h: Include sysd-link.h.
2656 * sysdeps/generic/sysd-link.h: New file.
2657 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
2658 * elf/Makefile (distribute): Add sysd-link.h.
2659 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
2660 types and functions directly.
2661 * elf/dl-misc.c: Likewise.
2662 * elf/dl-profile.c: Likewise.
2664 * elf/loadfail.c (main): Close all successfully loaded objects.
2666 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
2668 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
2669 there is already one.
2671 * elf/dl-close.c: Pretty print.
2673 2000-08-14 Ulrich Drepper <drepper@redhat.com>
2675 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
2676 global (with file scope). Add __libc_subfreeres function to free the
2678 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
2679 in ttyname function.
2681 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
2683 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
2685 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
2686 mapping them to /x5c and /x7e respectively.
2688 * locale/programs/ld-ctype.c: Add support for more definitions after
2691 2000-08-14 Jakub Jelinek <jakub@redhat.com>
2693 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
2694 * sysdeps/unix/sysv/linux/kernel-features.h
2695 (__ASSUME_GETDENTS64_SYSCALL): Define.
2696 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
2697 syscall if available to get d_type fields.
2698 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
2699 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
2700 __lxstat64): Export at GLIBC_2.2.
2701 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
2703 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
2704 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
2705 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
2706 getdirentries64, versionsort64): Remove.
2707 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
2708 getdirentries64, versionsort64): Remove.
2710 2000-08-13 Ulrich Drepper <drepper@redhat.com>
2712 * posix/Makefile: Remove rules to generate glob package.
2714 * posix/Makefile (tests): Add tst-regexloc.
2715 (tst-regexloc-ENV): Add LOCPATH.
2716 * posix/tst-regexloc.c: New file.
2718 2000-08-12 Andreas Jaeger <aj@suse.de>
2720 * include/features.h (__STDC_ISO_10646__): Define.
2721 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
2723 2000-08-13 Ulrich Drepper <drepper@redhat.com>
2725 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
2727 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
2728 for revision 6 and up).
2730 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
2732 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
2733 to get definitions of just these types.
2735 * signal/signal.h: Define thread signal handling functions also for
2738 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
2740 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2741 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
2742 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2743 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2745 * sysvipc/sys/shm.h: Define pid_t for XPG.
2747 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
2748 they are not anymore required here.
2750 * wcsmbs/wchar.h: Make the various wide char string and stream
2751 functions available for the respective XPG versions.
2753 * nss/Makefile: Remove rules to build and distribute nss_db.
2755 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
2756 * sysdeps/generic/scandir64.c: Likewise.
2757 * sysdeps/generic/versionsort64.c: Likewise.
2759 2000-08-13 Ulrich Drepper <drepper@redhat.com>
2760 Benjamin Koznik <bkoz@redhat.com>
2762 * libio/fileops.c: Merge with libstdc++-v3.
2763 * libio/genops.c: Likewise.
2764 * libio/iofclose.c: Likewise.
2765 * libio/iofopen.c: Likewise.
2766 * libio/iofwide.c: Likewise.
2767 * libio/libio.h: Likewise.
2768 * libio/libioP.h: Likewise.
2769 * libio/stdfiles.c: Likewise.
2770 * libio/stdio.c: Likewise.
2771 * libio/wfileops.c: Likewise.
2772 * libio/wgenops.c: Likewise.
2774 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
2776 2000-08-12 Ulrich Drepper <drepper@redhat.com>
2778 * locale/programs/localedef.c: Implement --prefix option to allow
2779 writing in standard places of alternative install directories.
2781 * posix/regex.c (compile_range): Implement collation sequence
2782 handling for glibc. Use simple character ordering otherwise and
2785 2000-08-12 Mark Kettenis <kettenis@gnu.org>
2787 * sysdeps/generic/scandir64.c: Include <dirent.h>.
2789 2000-08-12 Andreas Jaeger <aj@suse.de>
2791 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
2792 __USE_FILE_OFFSET64 correctly for locking.
2793 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2795 2000-08-12 Jakub Jelinek <jakub@redhat.com>
2797 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2798 Define for 2.4.1 on sparc as well.
2799 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
2800 for F_GETLK64, F_SETLK64, and F_SETLKW64.
2801 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
2802 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
2804 2000-08-12 Ulrich Drepper <drepper@redhat.com>
2806 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
2809 2000-08-12 Andreas Jaeger <aj@suse.de>
2811 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
2812 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
2814 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
2815 mips2 for assembler.
2817 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
2818 if fnctl64 is not available for F_*LK*64.
2820 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
2822 2000-08-12 Ulrich Drepper <drepper@redhat.com>
2824 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2825 Define for 2.4.1 on x86.
2826 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
2827 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
2828 for F_GETLK64, F_SETLK64, and F_SETLKW64.
2830 * dirent/dirent.h: Define DT_WHT.
2832 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
2833 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
2834 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
2835 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
2836 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
2837 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
2839 2000-08-11 Ulrich Drepper <drepper@redhat.com>
2841 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
2842 lookup, pass pointer to array with NULL pointer [PR libc/1858].
2843 * inet/Makefile (tests): Add tst-gethnm.
2844 * inet/tst-gethnm.c: New file.
2846 * rt/aio_cancel.c: If canceling a specific request which is running
2847 *really* do nothing.
2848 * rt/aio_misc.h: Add `done' to states of a request.
2849 * rt/aio_misc.c: Add several tests for the correct state.
2850 Simplify request table memory handling.
2852 2000-08-10 Jakub Jelinek <jakub@redhat.com>
2854 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
2855 * dirent/scandir64.c: Move...
2856 * sysdeps/generic/scandir64.c: ...here.
2857 * dirent/alphasort64.c: Move...
2858 * sysdeps/generic/alphasort64.c: ...here.
2859 * dirent/versionsort64.c: Move...
2860 * sysdeps/generic/versionsort64.c: ...here.
2861 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
2862 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
2863 Export symbols at GLIBC_2.2.
2864 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
2865 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
2866 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
2867 __versionsort64): Add prototypes.
2868 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
2869 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
2871 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
2873 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
2874 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
2875 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
2876 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
2878 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
2879 Adjust for kernel-2.4.0-test6 layout.
2880 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
2881 GLIBC_2.1 and GLIBC_2.2.
2882 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
2883 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
2884 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
2885 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
2886 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
2887 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
2888 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
2889 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
2890 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
2891 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
2892 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
2893 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
2894 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
2895 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
2897 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
2898 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
2899 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
2900 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
2901 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
2902 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
2903 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
2905 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
2906 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
2908 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
2909 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
2910 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
2911 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
2912 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
2914 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
2916 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
2918 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
2919 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
2920 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
2921 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
2922 st_ino from __st_ino.
2923 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
2924 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
2925 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
2926 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
2927 set __st_ino in addition to st_ino.
2928 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
2929 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
2930 __old_getdents64 as well.
2931 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
2932 getdirentries64 and old_getdirentries64 as well.
2933 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
2934 __GETDENTS): Define.
2935 (GETDENTS64): Remove.
2936 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
2938 (GETDENTS64): Remove.
2939 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
2940 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
2941 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
2943 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
2944 __old_readdir64_r as well.
2945 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2946 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
2948 2000-08-08 Jes Sorensen <jes@linuxcare.com>
2950 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
2951 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
2952 define of the kernel.
2953 Add missing __SEG_PSTKOVF definition.
2954 Adjust the padding of struct siginfo and struct sigevent to
2955 match the fact that sigval_t is 64 bit.
2957 2000-08-10 Ulrich Drepper <drepper@redhat.com>
2959 * timezone/zic.c: Update from tzcode2000f.
2960 * timezone/australasia: Update from tzdata2000f.
2961 * timezone/europe: Likewise.
2962 * timezone/southamerica: Likewise.
2963 * timezone/yearistype: Likewise.
2965 2000-08-10 Andreas Jaeger <aj@suse.de>
2967 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
2968 stat with current MIPS kernel.
2970 2000-08-01 Mark Kettenis <kettenis@gnu.org>
2972 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
2973 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
2974 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
2975 Remove the junk that's only relevant in the Linux kernel itself.
2976 Add a warning saying that this file is now obsolete, and include
2978 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
2979 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
2980 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
2981 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
2982 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
2983 and add the notice that the file is primarily there for GDB.
2984 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
2986 2000-08-09 Jakub Jelinek <jakub@redhat.com>
2988 * time/tzfile.c (__tzfile_compute): __tzstring zones
2991 2000-08-09 Jakub Jelinek <jakub@redhat.com>
2993 * resolv/resolv.h (__res_state): Surround prototype with
2994 __BEGIN_DECLS/__END_DECLS.
2995 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
2997 2000-08-04 Jes Sorensen <jes@linuxcare.com>
2999 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
3000 Make independant of asm/resource.h from the Linux kernel.
3002 2000-08-06 Bruno Haible <haible@clisp.cons.org>
3004 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
3006 2000-08-06 Bruno Haible <haible@clisp.cons.org>
3008 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
3009 * locale/Makefile (locale-CPPFLAGS): Likewise.
3011 2000-08-09 Ulrich Drepper <drepper@redhat.com>
3013 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
3016 2000-08-03 Jakub Jelinek <jakub@redhat.com>
3018 * misc/Versions (mincore): Export at GLIBC_2.2.
3020 2000-08-03 Bruno Haible <haible@clisp.cons.org>
3022 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
3024 2000-08-02 Mark Kettenis <kettenis@gnu.org>
3026 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
3027 socketpair. Made socketpair a weak alias.
3028 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
3029 __socketpair. Use S_IFIFO protocol to make pipes POSIX
3030 conforming, but fall back on the old protocol if the socket server
3032 * include/sys/socket.h: Add prototype for __socketpair.
3034 2000-08-09 Andreas Schwab <schwab@suse.de>
3036 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
3037 long long modifier is seen.
3039 * elf/nodelete.c (do_test): Remove reference to undefined member
3041 * rt/tst-aio4.c (do_test): Likewise.
3043 * configure.in: Add `-lm' when checking for libgd.
3044 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
3047 2000-08-09 Andreas Jaeger <aj@suse.de>
3049 * configure.in: Change required make versions.
3051 * manual/install.texi (Tools for Compilation): Document required
3053 (Supported Configurations): Update list of supported
3056 2000-08-08 Ulrich Drepper <drepper@redhat.com>
3058 * locale/linereader.c (get_string): Don't print an error is a string
3059 contains an unknown character.
3061 2000-08-06 Ulrich Drepper <drepper@redhat.com>
3063 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
3064 (new_symbol): Take new parameters with name of the symbol.
3066 (handle_ellipsis): Don't only allow character symbols.
3067 (collate_read): Allow string of collating elements contain invalid
3068 characters; ignore entry in this case.
3069 Handle ellipsis of collating symbols before first order_start.
3070 Allow ellipsis in state 0.
3072 2000-08-04 Ulrich Drepper <drepper@redhat.com>
3074 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
3076 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
3078 2000-08-04 Greg McGary <greg@mcgary.org>
3080 * posix/regex.c (SET_HIGH_BOUND): New macro.
3081 (MOVE_BUFFER_POINTER): Use it.
3082 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
3083 (EXTEND_BUFFER): Use it.
3085 2000-08-03 Ulrich Drepper <drepper@redhat.com>
3087 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
3088 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
3089 _wide_data but from _IO_FILE directly.
3090 * libio/iofclose.c: Likewise.
3091 * libio/wfileops.c: Likewise.
3093 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
3094 * libio/libioP.h: Change prototypes.
3096 2000-08-03 Greg McGary <greg@mcgary.org>
3098 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
3099 frame pointer early so that we save caller's frame pointer.
3100 * sysdeps/i386/elf/setjmp.S: Likewise.
3102 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
3103 * io/test-utime.c: Test passing NULL as utimbuf* arg.
3105 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
3106 (MOVE_BUFFER_POINTER): Handle high_bound properly.
3107 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
3109 2000-08-03 Ulrich Drepper <drepper@redhat.com>
3111 * iconvdata/big5.c: Updated.
3112 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
3114 2000-08-02 Ulrich Drepper <drepper@redhat.com>
3116 * Makeconfig (all-subdirs): Add conform.
3117 * conform/Makefile: Include ../Rules.
3119 * Makefile (README): Add rules to generate here as well.
3121 2000-08-02 Ulrich Drepper <drepper@redhat.com>
3123 * version.h (VERSION): Bump to 2.1.92.
3125 * sysdeps/ia64/Dist: Add _mcount.S.
3127 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
3129 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
3131 * elf/Makefile (distribute): Add missing modules.
3133 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
3135 * posix/regex.c (compile_range): Translate range start and end
3136 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
3138 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
3141 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
3143 2000-08-02 Andreas Jaeger <aj@suse.de>
3145 * elf/elf.h (EM_S390): Added.
3146 (R_390_*): New relocs for S390.
3148 * sysdeps/unix/sysv/linux/s390/Dist: New file.
3149 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
3150 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
3151 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
3152 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
3153 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
3154 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
3155 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
3156 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
3157 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
3158 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
3159 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
3160 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
3161 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
3162 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
3163 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
3164 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
3165 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
3166 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
3167 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
3168 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
3169 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
3170 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
3171 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
3172 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
3173 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
3174 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
3175 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
3176 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
3177 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
3178 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
3179 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
3180 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
3181 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
3182 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
3183 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
3184 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
3185 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
3186 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
3187 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
3188 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
3189 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
3190 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
3191 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
3192 * sysdeps/s390/sysdep.h: New file.
3193 * sysdeps/s390/sys/ucontext.h: New file.
3194 * sysdeps/s390/sub_n.S: New file.
3195 * sysdeps/s390/strncpy.S: New file.
3196 * sysdeps/s390/strcpy.S: New file.
3197 * sysdeps/s390/stackinfo.h: New file.
3198 * sysdeps/s390/setjmp.S: New file.
3199 * sysdeps/s390/s390-mcount.S: New file.
3200 * sysdeps/s390/mul_1.S: New file.
3201 * sysdeps/s390/memusage.h: New file.
3202 * sysdeps/s390/memset.S: New file.
3203 * sysdeps/s390/memcpy.S: New file.
3204 * sysdeps/s390/memchr.S: New file.
3205 * sysdeps/s390/machine-gmon.h: New file.
3206 * sysdeps/s390/ldbl2mpn.c: New file.
3207 * sysdeps/s390/gmp-mparam.h: New file.
3208 * sysdeps/s390/fpu/fpu_control.h: New file.
3209 * sysdeps/s390/fpu/fesetround.c: New file.
3210 * sysdeps/s390/fpu/fegetround.c: New file.
3211 * sysdeps/s390/fpu/fclrexcpt.c: New file.
3212 * sysdeps/s390/fpu/bits/fenv.h: New file.
3213 * sysdeps/s390/ffs.c: New file.
3214 * sysdeps/s390/elf/start.S: New file.
3215 * sysdeps/s390/elf/setjmp.S: New file.
3216 * sysdeps/s390/elf/bsd-setjmp.S: New file.
3217 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
3218 * sysdeps/s390/dl-machine.h: New file.
3219 * sysdeps/s390/bzero.S: New file.
3220 * sysdeps/s390/bsd-setjmp.S: New file.
3221 * sysdeps/s390/bsd-_setjmp.S: New file.
3222 * sysdeps/s390/bits/string.h: New file.
3223 * sysdeps/s390/bits/setjmp.h: New file.
3224 * sysdeps/s390/bits/huge_val.h: New file.
3225 * sysdeps/s390/bits/endian.h: New file.
3226 * sysdeps/s390/bits/byteswap.h: New file.
3227 * sysdeps/s390/bcopy.S: New file.
3228 * sysdeps/s390/backtrace.c: New file.
3229 * sysdeps/s390/atomicity.h: New file.
3230 * sysdeps/s390/asm-syntax.h: New file.
3231 * sysdeps/s390/addmul_1.S: New file.
3232 * sysdeps/s390/add_n.S: New file.
3233 * sysdeps/s390/abort-instr.h: New file.
3234 * sysdeps/s390/__longjmp.c: New file.
3235 * sysdeps/s390/Makefile: New file.
3236 * sysdeps/s390/Implies: New file.
3237 * sysdeps/s390/Dist: New file.
3238 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
3240 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3242 Remove incompatible IPv6 extension of RPC.
3243 * sunrpc/Makefile: Undo changes.
3244 * sunrpc/rpc_main.c: Likewise.
3245 * sunrpc/rpc/clnt.h: Likewise.
3246 * sunrpc/rpc/svc.h: Likewise.
3247 * sunrpc/bindrsvprt6.c: Removed.
3248 * sunrpc/clnt_tcp6.c: Removed.
3249 * sunrpc/clnt_udp6.c: Removed.
3250 * sunrpc/svc_tcp6.c: Removed.
3251 * sunrpc/svc_udp6.c: Removed.
3253 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
3254 dgettext, and dcgettetxt.
3256 * intl/locale.alias: Update japanese aliases.
3258 * sysdeps/ia64/bits/byteswap.h: New file.
3259 Patch by Dan Pop <Dan.Pop@cern.ch>.
3261 * misc/sys/cdefs.h: Define __attribute_format_arg__.
3262 * intl/libintl.h: Use it here instead of using __attribute__ directly.
3264 2000-07-13 H.J. Lu <hjl@gnu.org>
3266 * posix/regex.c (re_max_failures): Set to 4000.
3268 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3270 * gnulib/Makefile (tests): Add tst-gcc.
3271 * gnulib/tst-gcc.c: New file.
3273 * assert/Makefile (routines): Add __assert.
3274 * assert/Versions: Export __assert for glibc 2.2.
3275 * assert/__assert.c: New file.
3276 * assert/assert.h: Declare __assert.
3278 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3280 * locale/localeinfo.h (_ISCTYPE): New macro.
3281 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
3282 LC_CTYPE locale format.
3283 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
3284 (ctype_output): Output class_b[nr] right before class_3level[nr].
3285 (allocate_arrays): Fill class_b, similarly to class_3level.
3287 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3288 Joseph S. Myers <jsm28@cam.ac.uk>
3290 * math/tgmath.h: Make standard compliant. Don't ask how.
3292 2000-07-04 H.J. Lu <hjl@gnu.org>
3294 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
3295 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
3296 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
3298 2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3300 * include/features.h (_XOPEN_SOURCE): Update the explanation.
3301 (__USE_LARGEFILE): Add an explanation.
3302 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
3303 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
3305 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3307 * libio/Makefile: Enable exception handling for genops, wgenops,
3308 fileops, and wfileops.
3310 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3312 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
3313 acount that elf/rtld's main program might remove some varibales
3314 from the environment if we're trying to be secure. Move the Hurd
3315 startup data if necessary, or, if we there is no startup data,
3316 make sure the magical convention that ARGV[0] is stored just after
3317 the environment list.
3319 2000-08-01 Philip Blundell <philb@gnu.org>
3321 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
3322 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
3323 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
3324 oldsetrlimit for GLIBC_2.0.
3326 2000-08-01 Andreas Jaeger <aj@suse.de>
3328 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
3329 (LINE_PARSER): Allow any number of spaces between ip address and
3330 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
3332 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
3334 * include/netdb.h: Remove getipnodebyaddr and friends, leave
3337 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
3338 _nss_nisplus_getipnodebyname_r.
3340 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
3341 now, getipnodebyname is deprecated.
3342 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
3345 * inet/Makefile (routines): Don't build getipnodebyaddr and
3348 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
3350 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
3352 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
3354 * wctype/Makefile (distribute): Add wchar-lookup.h.
3356 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
3358 * iconvdata/Makefile (distribute): Add isiri-3342.h.
3360 2000-08-01 Andreas Schwab <schwab@suse.de>
3362 * Make-dist (dist): Resolve `..' in file names.
3364 2000-08-01 Andreas Jaeger <aj@suse.de>
3366 * stdio-common/Makefile (distribute): Remove removed files, add
3369 * Makefile (distribute): Remove include/db_185.h and db.h.
3371 * include/db_185.h: Remove, it's not needed anymore.
3372 * include/db.h: Likewise.
3374 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3376 * inet/Makefile (tests): Remove tst-ipnode.
3377 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
3380 2000-07-31 Jes Sorensen <jes@linuxcare.com>
3382 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
3383 endp statements have already been added.
3385 2000-04-18 David Mosberger <davidm@hpl.hp.com>
3387 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
3388 <sysdeps/ia64/sysdep.h>.
3390 * sysdeps/ia64/_mcount.S: New file.
3392 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
3393 __gmon_start__. Fix up extraneous whitespace.
3395 2000-01-12 H.J. Lu <hjl@gnu.org>
3397 * sysdeps/ia64/elf/initfini.c: New file.
3399 2000-07-31 Jes Sorensen <jes@linuxcare.com>
3401 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
3402 dependency between branch and ar.pfs write.
3404 2000-07-31 H.J. Lu <hjl@gnu.org>
3406 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
3407 handle the wchar_t array.
3409 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3411 * iconvdata/gb18030.c: Don't map to and from positions in ISO
3412 10646 which are not yet assigned.
3413 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
3415 2000-07-31 Andreas Jaeger <aj@suse.de>
3417 * inet/Versions: Remove getipnodebyaddr and friends from
3420 * resolv/netdb.h: Remove getipnodebyaddr and friends.
3422 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3424 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
3425 ch >= 0x81 && ch2 < 0x40 as invalid.
3427 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3429 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
3430 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
3432 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3434 * iconvdata/johab.c (BODY for TO_LOOP): After calling
3435 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
3437 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3439 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
3441 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
3443 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3445 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
3447 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3449 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
3450 (from_ucs4): Change values of U+00A4 and U+00ED.
3451 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
3453 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3455 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
3456 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
3458 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3460 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
3461 * iconvdata/isiri-3342.h: New file.
3462 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
3463 treat 0x80 as a gap.
3465 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3467 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
3468 (utf8_encode): Use simple shifts instead. Fix return value.
3470 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3472 * timezone/private.h: Update from tzcode2000e.
3473 * timezone/asia: Update from tzdata2000e.
3474 * timezone/australasia: Likewise.
3475 * timezone/europe: Likewise.
3476 * timezone/northamerica: Likewise.
3477 * timezone/zone-tab: Likewise.
3479 2000-07-30 Ralf Baechle <ralf@gnu.org>
3481 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
3482 the order of struct sigaltstack members is different.
3484 2000-07-26 Philip Blundell <philb@gnu.org>
3486 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
3488 2000-07-29 Ulrich Drepper <drepper@redhat.com>
3490 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
3491 * locale/programs/ld-ctype.c: Adjust for this.
3493 * locale/programs/ld-collate.c: Add more alignment checks.
3494 * locale/string/strcoll.c: Likewise.
3496 2000-07-30 Mark Kettenis <kettenis@gnu.org>
3498 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
3499 outside USE_IN_LIBIO block.
3501 2000-07-26 Philip Blundell <philb@gnu.org>
3503 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
3504 (elf_machine_rel): Use it for out-of-range PC24 relocs.
3506 2000-07-28 Philip Blundell <philb@gnu.org>
3508 * math/test-fpucw.c: Ignore reserved bits in control word.
3510 2000-07-28 Philip Blundell <philb@gnu.org>
3512 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
3513 (ret): Redefine to PSEUDO_RET.
3514 (PSEUDO): Remove jump to syscall_error.
3516 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3518 * resolv/README: Add some information about using the resolver in
3519 multi-threaded code and with C++. Spelling fixes.
3521 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3523 * resolv/resolv.h (struct __sockaddr_in): Remove.
3524 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
3526 2000-07-29 Greg McGary <greg@mcgary.org>
3528 * Rules (test-bp-inputs, make-test-out): New variables.
3529 ($(objpfx)%-bp.out): New rule.
3530 ($(objpfx)%.out): Rewrite in terms of new variables.
3532 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
3533 internal function that uses vtable.
3534 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
3535 * libio/vswprintf.c (_IO_vswprintf): Likewise.
3537 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
3538 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
3539 (chunk_align): Likewise.
3541 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
3542 in a way that conforms to decl, and avoids spurious bounds violation.
3544 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
3545 * sysdeps/generic/frame.h: Likewise.
3546 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
3547 around return value.
3548 (__backtrace): Qualify frame-pointer chain and return address
3549 pointers as __unbounded. Wrap bounds around variable `current'.
3550 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
3551 around return value.
3552 (catch_segfault): Qualify frame-pointer chain and return address
3553 pointers as __unbounded. Wrap bounds around variable `current'.
3554 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
3555 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
3556 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
3558 (__backtrace): Qualify frame-pointer chain and return address
3559 pointers as __unbounded. Wrap bounds around variable `current'.
3561 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
3562 * sysdeps/i386/mul_1.S: Likewise.
3563 * sysdeps/i386/submul_1.S: Likewise.
3564 * sysdeps/i386/i586/addmul_1.S: Likewise.
3565 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
3566 * sysdeps/i386/i586/submul_1.S: Likewise.
3568 2000-07-27 Andreas Jaeger <aj@suse.de>
3570 * libio/Depend: New file, libio needs localedata for tests.
3571 * posix/Depend: Likewise.
3573 2000-07-28 Ulrich Drepper <drepper@redhat.com>
3575 * stdio-common/_i18n_itoa.c: Removed.
3576 * stdio-common/_i18n_itoa.h: Removed.
3577 * stdio-common/_i18n_itowa.c: Removed.
3578 * stdio-common/_i18n_itowa.h: Removed.
3579 * stdio-common/_i18n_number.h: New file.
3580 * stdio-common/Depend: New file.
3581 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
3582 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
3583 printing. Change printing of numbers with locale specific digits to
3584 use new code in _i18n_number.h.
3585 * stdio-common/Makefile (routines): Remove _i18n_itoa and
3588 * stdio-common/bug13.c: Improve messages.
3590 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
3591 (set_class_defaults): Always search also for Uxxxx names.
3592 Detect insufficient number of outdigits.
3594 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
3596 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3598 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
3599 _NL_CTYPE_MAP_NAMES.
3600 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
3601 * wctype/wcfuncs.c (towlower, towupper): Use them.
3602 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
3603 * wctype/wctrans.c (wctrans): Likewise.
3604 * wctype/wctrans_l.c (__wctrans_l): Likewise.
3606 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3608 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
3609 Use the optimized version of this function outside glibc as well.
3611 2000-07-27 Jakub Jelinek <jakub@redhat.com>
3613 * locale/indigits.h (indigit_value): Correct.
3614 * locale/indigitswc.h (indigitwc_value): Correct.
3615 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
3616 conversion, add GROUP checking for it, fix GROUP number
3617 conversion with strlen(thousands) > 1.
3618 Honour width correctly in the presence of floating
3619 decimal points and thousands separators.
3620 * stdio-common/tst-sscanf.c: New test.
3621 * stdio-common/Makefile: Add it to tests.
3622 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
3623 thousands separators and group argument is non-zero.
3625 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3627 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
3628 starts at GLIBC_2.2.
3630 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3632 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
3633 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
3635 (headers): Add sys/tas.h.
3636 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
3637 GLIBC_2.2 from libc.
3638 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
3639 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
3642 2000-07-28 Andreas Jaeger <aj@suse.de>
3644 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
3646 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
3647 ($(objpfx)tst-dladdr.out): new.
3648 (tests): Add tst-dladdr.
3649 ($(objpfx)glrefmain): Use libdl.
3651 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
3654 2000-07-27 Jes Sorensen <jes@linuxcare.com>
3656 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
3657 ftruncate(64) calls.
3659 2000-07-27 Jes Sorensen <jes@linuxcare.com>
3661 * intl/tst-translit.c: Include string.h to get prototype for
3664 2000-07-27 Jes Sorensen <jes@linuxcare.com>
3666 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
3667 name and add weak alias for __fork.
3669 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
3670 & pwrite to use __libc_<name> as strong names instead of
3673 * include/sched.h: Add clone2 prototype.
3675 2000-07-26 Jes Sorensen <jes@linuxcare.com>
3677 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
3678 procedure name twice.
3680 2000-07-27 Philip Blundell <philb@gnu.org>
3682 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
3684 2000-07-27 Andreas Jaeger <aj@suse.de>
3686 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
3687 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
3688 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
3689 Reported by Andi Kleen <ak@suse.de>.
3691 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
3692 (do_wait): Test requests with aio_return64.
3693 (do_test): Change callers of do_wait.
3695 2000-07-26 Andreas Jaeger <aj@suse.de>
3697 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
3698 (do_wait): Test requests with aio_return.
3699 (do_test): Change callers of do_wait.
3701 2000-07-27 Ulrich Drepper <drepper@redhat.com>
3703 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
3704 from request list. Don't do the list handling here, call
3705 __aio_remove_request.
3706 * rt/aio_misc.h: Add prototype for __aio_remove_request.
3707 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
3708 request might already be processed. Don't do the list handling
3709 here, call __aio_remove_request.
3711 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
3714 * rt/aio_misc.c: Add comment explaining why writer memory barriers
3717 2000-07-27 Greg McGary <greg@mcgary.org>
3719 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
3720 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
3721 in union init. Pass zero for ignored semnum arg to semctl.
3722 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
3724 2000-07-26 Greg McGary <greg@mcgary.org>
3726 * sysdeps/gnu/bits/msq.h: Qualify kernel's
3727 data structure pointers as __unbounded.
3728 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
3729 * sysdeps/generic/bp-semctl.h: New file.
3730 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
3731 pointers as __unbounded. Check bounds of syscall args.
3732 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3733 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
3734 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3735 * sysdeps/unix/sysv/linux/semop.c: Likewise.
3736 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
3737 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3738 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
3739 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
3740 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
3741 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
3742 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
3743 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
3744 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
3745 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
3746 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
3747 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
3749 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3751 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
3753 * locale/C-ctype.c: Likewise.
3754 * wcsmbs/wcsmbsload.c: Likewise.
3756 2000-07-26 Greg McGary <greg@mcgary.org>
3758 * Makeconfig (+link-bounded, link-libc-bounded,
3759 link-extra-libs-bounded): New variables.
3760 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
3761 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
3762 * Rules (tests-bp.out): New variable.
3763 (tests): Conditionally add BP tests.
3764 (binaries-bounded): Add variable and associated rule.
3765 * csu/Makefile [build-bounded] (extra-objs, install-lib):
3766 Move conditional stuff after place where condition is defined.
3768 * malloc/malloc.c (bp-checks.h): Add #include.
3769 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
3770 (_bin_at): Add unbounded version of bin_at.
3771 (IAV, chunk_alloc): Use unbounded _bin_at.
3772 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
3773 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
3774 Wrap BOUNDED_N around return value.
3775 (chunk_realloc): Adjust oldsize once.
3777 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
3778 (__ubp_memchr): Add correct decl.
3779 (_CHECK_STRING): Use __ubp_memchr.
3780 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3781 New alias for unbounded-pointer __memchr.
3782 * sysdeps/i386/memchr.S: Likewise.
3783 * sysdeps/ia64/memchr.S: Likewise.
3784 * sysdeps/m68k/memchr.S: Likewise.
3785 * sysdeps/sparc/sparc32/memchr.S: Likewise.
3786 * sysdeps/sparc/sparc64/memchr.S: Likewise.
3787 * sysdeps/vax/memchr.s: Likewise.
3789 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
3790 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
3791 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
3792 * sysdeps/i386/i686/strtok.S: Likewise.
3793 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
3794 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
3796 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
3797 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
3799 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
3800 bounds of copy_result to mount_proc.
3802 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3804 * wctype/wctype.h (__wctrans_l): New declaration.
3805 * wctype/wctrans_l.c: New file.
3806 * wctype/Makefile (routines): Add wctrans_l.
3808 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3810 * posix/fnmatch_loop.c: Fixes for use outside glibc.
3811 Patch by MacGyver <macgyver@tos.net>.
3813 2000-07-26 Andreas Jaeger <aj@suse.de>
3815 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
3816 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
3817 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
3819 * rt/tst-aio.c (test_file): Fix typo.
3820 * rt/tst-aio64.c (test_file): Likewise.
3822 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
3823 * rt/Makefile: Add rules to build and run tst-aio3.
3825 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
3826 it's not needed and confuses only.
3828 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3830 * resolv/res_init.c: Add support for nameserver communication with
3832 * resolv/res_send.c: Likewise.
3833 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
3835 Patch by <venaas@nvg.ntnu.no>.
3837 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3839 * locale/programs/ld-ctype.c (wctype_table_get): New function.
3840 (wcwidth_table_get): New function.
3841 (wcwidth_table_add): Call it.
3842 (wctrans_table_get): New function.
3843 (wctrans_table_add): Call it.
3845 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3847 * rt/lio_listio.c (lio_listio): Always disable individual
3849 * rt/Makefile: Add rules to build and run tst-aio2.
3850 * rt/tst-aio2.c: New file.
3852 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
3853 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
3855 2000-07-25 Mark Kettenis <kettenis@gnu.org>
3857 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
3858 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
3859 leading and trailing spaces from host, user and domain name.
3861 2000-07-25 Jes Sorensen <jes@linuxcare.com>
3863 * csu/defs.awk: Add support for need_endp.
3865 2000-07-25 Mark Kettenis <kettenis@gnu.org>
3867 * resolv/resolv.h: Remove __P from res_send_qhook and
3868 res_send_rhook typedefs.
3870 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3872 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
3874 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3876 * iconv/gconv_builtin.h: Add WCHAR_T alias.
3878 2000-07-25 Mark Kettenis <kettenis@gnu.org>
3880 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
3881 calling thread, set the cancellation flag and return success
3884 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3886 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
3887 * libio/tst-widetext.c: New file.
3888 * libio/tst-widetext.input: New file.
3890 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
3892 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
3893 empty external buffer correctly.
3895 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3897 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
3898 __STRING(entry) and not #entry.
3899 (_RTLD_EPILOGUE): Likewise.
3900 * sysdeps/mips/mips64/dl-machine.h: Likewise.
3902 2000-07-25 Andreas Jaeger <aj@suse.de>
3904 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
3905 according to changes in test program, run also with static only
3907 ($(objpfx)tst-printf.out): Likewise.
3909 * stdio-common/tst-unbputc.sh: Likewise.
3910 * stdio-common/tst-printf.sh: Likewise.
3912 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3914 * libio/wfileops.c (_IO_wdo_write): Correct return value.
3916 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
3919 * libio/fileops.c: Pretty print.
3921 2000-07-23 Bruno Haible <haible@clisp.cons.org>
3923 * wctype/wchar-lookup.h: New file.
3924 * wctype/iswctype.c: Include "wchar-lookup.h".
3925 (__iswctype): Support alternate locale format with 3-level tables.
3926 * wctype/iswctype_l.c (__iswctype_l): Likewise.
3927 * wctype/towctrans.c (__towctrans): Likewise.
3928 * wctype/towctrans_l.c (__towctrans_l): Likewise.
3929 * wctype/wcfuncs.c: Include "wchar-lookup.h".
3930 (__ctype32_wctype, __ctype32_wctrans): Declare external.
3931 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
3932 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
3933 __iswxdigit, towlower, towupper): Support alternate locale format
3934 with 3-level tables.
3935 * wctype/wcextra.c (iswblank): Likewise.
3936 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
3937 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
3938 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
3939 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
3940 format with 3-level tables.
3941 * wctype/wcextra_l.c (__iswblank_l): Likewise.
3942 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
3943 format, return a 3-level table pointer.
3944 * wctype/wctype_l.c (__wctype_l): Likewise.
3945 * wctype/wctrans.c (wctrans): Likewise.
3946 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
3947 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
3948 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
3949 (iswctype): Remove macro definition.
3950 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
3951 (internal_wcwidth): Support alternate locale format with 3-level
3953 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
3955 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
3956 Define them as being type "word".
3957 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
3958 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
3959 __ctype32_width): New exported variables.
3960 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
3961 alternate locale format. Don't initialize __ctype_names and
3962 __ctype_width in the alternate locale format.
3963 * locale/programs/localedef.h (oldstyle_tables): New declaration.
3964 * locale/programs/localedef.c (oldstyle_tables): New variable.
3965 (OPT_OLDSTYLE): New macro.
3966 (options): Add --old-style option.
3967 (parse_opt): Handle --old-style option.
3968 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
3969 map_offset, class_3level, map_3level, width_3level members.
3970 (ctype_output): Support for alternate locale format: Computation of
3971 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
3972 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
3973 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
3974 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
3975 now contain both class and map tables.
3976 (struct wctype_table): New type.
3977 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
3979 (struct wcwidth_table): New type.
3980 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
3982 (struct wctrans_table): New type.
3983 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
3985 (allocate_arrays): Support for alternate locale format: Set
3986 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
3987 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
3988 to the first 256 characters. Compute ctype->map_3level. Set
3989 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
3990 instead of ctype->width.
3992 2000-07-24 Ulrich Drepper <drepper@redhat.com>
3994 * libio/iogetwline.c (_IO_getwline_info): Use wide character
3997 2000-07-24 Jakub Jelinek <jakub@redhat.com>
3999 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
4000 in wide characters, not bytes.
4001 * libio/tst_putwc.c (do_test): Add test for writing lots of data
4004 2000-07-22 Bruno Haible <haible@clisp.cons.org>
4006 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
4007 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
4008 LC_MEASUREMENT, LC_IDENTIFICATION.
4010 * locale/xlocale.h (struct __locale_struct): Increase size of
4012 * locale/duplocale.c (__duplocale): Copy newly added categories as
4014 * locale/freelocale.c (__freelocale): Free newly added categories.
4015 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
4016 If a base is given, use it, don't simply return it.
4018 2000-07-22 Bruno Haible <haible@clisp.cons.org>
4020 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
4021 variables, copied_key and copied_salt, instead of boolean variables.
4023 2000-07-24 Andreas Jaeger <aj@suse.de>
4025 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
4028 * grp/initgroups.c (initgroups_dyn_function): Renamed from
4029 initgroups_function, adopted prototype for change from 2000-07-23.
4030 (initgroups): Follow type change.
4032 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
4033 & PAGE_MASK case, reformat.
4035 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
4036 from stdin and setup environment.
4038 2000-07-24 Andreas Schwab <schwab@suse.de>
4040 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
4042 2000-07-23 Ulrich Drepper <drepper@redhat.com>
4044 * string/endian.h: Explain the _*_ENDIAN constant values a bit
4045 more. Patch by scarlet@mit.edu [PR libc/1799].
4047 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
4050 * argp/argp-parse.c (parser_finalize): Reverse order in which
4051 parsers are run for ARGP_KEY_END. [PR libc/1755].
4053 * grp/initgroups.c (initgroups): Don't limit the possible number
4054 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
4055 the setgroups call while the call fails and descrease the number
4056 of groups each round.
4057 The name of the initgroups function in the NSS modules changed.
4058 (compat_call): Adapt for dynamic resizing.
4059 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4060 Implement dynamic resizing.
4061 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4063 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
4064 * hesiod/Versions: Change exported interface name.
4065 * nis/Versions: Change exported interface name.
4067 2000-07-23 Ulrich Drepper <drepper@redhat.com>
4069 * locale/iso-639.def: Some errors corrected.
4070 Patch by Keld Simonsen.
4072 * include/limits.h: Update non-gcc portion.
4073 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4075 2000-07-22 Mark Kettenis <kettenis@gnu.org>
4077 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
4078 program's data space, reallocate only the space that was just
4079 deallocated to release its backing space.
4081 2000-07-23 Ulrich Drepper <drepper@redhat.com>
4083 * stdio-common/vfprintf.c (process_string_arg): For wide character
4084 version, handle precision also correctly.
4086 * nss/nss_files/files-hosts.c: Correct problem with three or more
4087 entries with the same name.
4089 * nss/nss_files/files-hosts.c: Implement multi handling.
4090 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
4092 2000-07-22 Ulrich Drepper <drepper@redhat.com>
4094 * nss/nss_files/files-parse.c: Don't pollute namespace by using
4097 * grp/Makefile: Change Makefiles and tests to run only when necessary.
4098 * malloc/Makefile: Likewise.
4099 * malloc/tst-mtrace.sh: Likewise.
4100 * posix/Makefile: Likewise.
4101 * posix/globtest.sh: Likewise.
4102 * posix/wordexp-tst.sh: Likewise.
4103 * string/Makefile: Likewise.
4105 2000-07-22 Mark Kettenis <kettenis@gnu.org>
4107 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
4108 size instead of LC_ALL to take into account the new locale
4111 2000-07-22 Ulrich Drepper <drepper@redhat.com>
4113 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
4114 remainders of hash table.
4115 * locale/categories.def: Remove remainders of transliteration
4117 * locale/langinfo.h: Likewise.
4118 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
4119 transliteration tables.
4121 * locale/gen-translit.pl: New file.
4122 * locale/C-translit.h.in: New file.
4123 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
4124 data pointers with data from this file.
4125 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
4126 and gen-translit.pl.
4127 Add rule to generate C-translit.h.
4128 * intl/tst-translit.c (main): Update for now performed
4131 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
4132 (it's no input error).
4133 * stdio-common/tstscanf.c: Add test case for format %f with input --.
4134 * stdio-common/scanf12.c: Correct expected result for first scanf.
4136 * stdio-common/vfprintf.c (process_string_arg): Correct handling
4137 of multibyte character strings in %s format with precision.
4139 2000-07-21 Ulrich Drepper <drepper@redhat.com>
4141 * locale/programs/ld-collate.c (collate_read): Allow collating
4142 symbols and elements be named in reorder-after instructions.
4143 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
4145 * locale/programs/ld-collate.c (handle_ellipsis): Test for
4146 duplication with generated name, not the name of the first
4148 Patch by Yong Li <yong.li@asu.edu>.
4150 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
4151 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4153 2000-07-21 Wolfram Gloger <wg@malloc.de>
4155 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
4156 allocations only if a non-main arena cannot be extended.
4158 2000-07-21 Ulrich Drepper <drepper@redhat.com>
4160 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
4161 in DF_1_NODEFLIB handling.
4163 2000-07-21 Andreas Jaeger <aj@suse.de>
4165 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
4168 * libio/fwide.c: Include <wchar.h> for prototype.
4170 2000-07-21 Greg McGary <greg@mcgary.org>
4172 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
4173 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
4174 Define in terms of chunk_at_offset.
4175 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
4176 (next_bin, prev_bin): offset by size of real array elements.
4177 (chunk_align): Make `m' a scalar, since that's how it's used.
4179 2000-07-21 Greg McGary <greg@mcgary.org>
4181 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
4183 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
4184 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
4185 Wrap bounds around argv & envp and each of their string members.
4186 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
4187 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
4188 symbol in BP_SYM (). Discard bounds of address arg.
4189 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
4190 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
4191 Discard bounds on address arg, add bounds to return value.
4193 2000-07-20 Ulrich Drepper <drepper@redhat.com>
4195 * elf/Makefile (tests): Add filter. Add rules to generate filter.
4196 * elf/filter.c: New file.
4197 * elf/filtmod1.c: New file.
4198 * elf/filtmod2.c: New file.
4200 * elf/rtld.c: Define _dl_bind_not variable.
4201 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
4202 * elf/dl-support.c: Likewise.
4203 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
4204 * elf/dl-runtime.c (fixup): Don't remember looked up value if
4206 (profile_fixup): Likewise.
4208 * libio/Makefile (routines): Add fwide.
4209 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
4210 fwide now. Internal calls to _IO_fwide must do locking themselves
4211 or don't need locking.
4212 * libio/fwide.c: New file.
4214 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
4216 * elf/Makefile: Add no modules for nodelete test.
4217 * elf/nodelmod3.c: New file.
4218 * elf/nodelmod4.c: New file.
4219 * elf/nodelete.c: Also test case where dependency of dlopen() object
4222 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
4223 * elf/nodlopen.c: New file.
4224 * elf/nodlopenmod.c: New file.
4225 * include/dlfcn.h: Define __RTLD_DLOPEN.
4226 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
4227 and this is a dlopen() call, do not load the binary.
4228 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
4229 * dlfcn/dlopenold.c: Likewise.
4230 * configure.in: Add test for -z nodelete option.
4231 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
4233 2000-07-20 Mark Kettenis <kettenis@gnu.org>
4235 Make Hesiod NSS module thread-safe.
4237 * hesiod/README.hesiod: Update.
4239 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
4240 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
4241 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
4242 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
4244 * hesiod/nss_hesiod/hesiod-init.c: New file.
4245 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
4246 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
4247 * hesiod/nss_hesiod/nss_hesiod.h: New file.
4248 * hesiod/nss_hesiod/hesiod-service.c
4249 (_nss_hesiod_getservbyport_r): New function. Provide support for
4250 looking up services by port number.
4251 * hesiod/nss_hesiod/hesiod-proto.c: New file.
4253 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
4254 * hesiod/hesiod.h: Likewise.
4255 * hesiod/hesiod_p.h: Likewise.
4257 2000-07-20 Mark Kettenis <kettenis@gnu.org>
4259 Fix problems with `struct __res_state' getting too big.
4260 * resolv/resolv.h (struct __sockaddr_in): New definition.
4261 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
4262 the private parts of the structure to save some space.
4263 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
4264 (struct sockaddr_in *) in call to sock_eq.
4265 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
4267 2000-07-20 Ulrich Drepper <drepper@redhat.com>
4269 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
4270 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
4272 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
4273 to _dl_map_object. Return immediately if no object loaded.
4274 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
4275 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
4276 if it exists into l_flags_1 word.
4277 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
4278 it to determine whether loading is wanted or not.
4279 (_dl_map_object): Likewise.
4280 Call _dl_map_object_from_fd with new parameter.
4281 * sysdeps/generic/ldsodefs.h: Update prototype.
4282 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
4283 * elf/rtld.c: Likewise.
4284 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4285 * elf/Makefile (tests): Add noload. Add rules to generate noload.
4286 * elf/noload.c: New file.
4287 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
4288 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
4289 * sysdeps/mips/bits/dlfcn.h: Likewise.
4290 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
4291 (tests-nodelete-yes): Define.
4292 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
4293 Add rules to build nodelete and modules.
4294 * elf/nodelete.c: New file.
4295 * elf/nodelmod1.c: New file.
4296 * elf/nodelmod2.c: New file.
4297 * configure.in: Add test for -z nodelete option.
4298 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
4300 * libio/Makefile (tests): Add tst_wprintf2.
4301 (tst_wprintf2-ARGS): Define.
4302 * libio/tst_wprintf2.c: New file.
4303 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
4305 * libio/wfiledoalloc.c: Only allocate external buffer if this
4306 hasn't happened yet.
4308 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
4309 something in the buffer. gconv call can write up to end of the
4310 buffer, not only _IO_write_end.
4311 (_IO_wfile_overflow): Allocate also external buffer.
4313 2000-07-19 Ulrich Drepper <drepper@redhat.com>
4315 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
4316 strings with precision in vfwprintf correctly.
4317 * stdio-common/vfprintf.c: Fix completely broken handling of
4318 unbuffered wide character streams.
4319 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
4321 * resolv/Makefile (distribute): Add README.
4323 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
4325 2000-07-18 Mark Kettenis <kettenis@gnu.org>
4327 Update resolver code to BIND 8.2.3-T5B.
4329 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
4331 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
4332 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
4334 * resolv/Banner: BIND-8.2.3-T5B.
4336 * resolv/base64.c: Update from BIND 8.2.3-T5B.
4337 * resolv/herror.c: Likewise.
4338 * resolv/inet_addr.c: Likewise.
4339 * resolv/inet_net_ntop.c: Likewise.
4340 * resolv/inet_net_pton.c: Likewise.
4341 * resolv/inet_neta.c: Likewise.
4342 * resolv/inet_ntop.c: Likewise.
4343 * resolv/nsap_addr.c: Likewise.
4344 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
4345 IPv6 addresses (ISC bug #520).
4347 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
4348 * resolv/ns_parse.c: Likewise.
4349 * resolv/ns_netint.c: Likewise.
4350 * resolv/ns_samedomain.c: Likewise.
4351 * resolv/ns_ttl.c: Likewise.
4352 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
4353 RCS ID in object file.
4355 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
4356 * resolv/res_mkquery.c: Likewise.
4357 * resolv/res_query.c: Likewise.
4358 * resolv/res_init.c: Likewise.
4359 (res_setoptions): Mark internal.
4360 * resolv/res_send.c: Likewise.
4361 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
4362 by using poll instead.
4363 * resolv/res_comp.c: Likewise.
4364 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
4365 weak alias for __dn_expand.
4366 * resolv/res_data.c: Likewise.
4367 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
4368 in _res.options. Avoids a potential security risk by avoiding a
4370 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
4371 res_mkquery, res_query, res_querydomain adn res_search weak
4372 aliases for __res_mkquery, __res_query, __res_querydomain and
4374 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
4375 instead to avoid close(0).
4376 (res_init): Always use the static resolver context.
4377 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
4378 alias for __res_init.
4380 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
4381 RES_SET_H_ERRNO and accompanying comment to...
4382 * include/resolv.h: ... here.
4384 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
4385 * resolv/arpa/nameser_compat.h: Likewise.
4387 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4389 * nss/makedb.c (main): Compare result of load_db with
4390 NSS_STATUS_SUCCESS and not 0.
4391 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
4393 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
4395 2000-07-18 Greg McGary <greg@mcgary.org>
4397 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
4398 (EXTEND_BUFFER): Use it.
4400 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4402 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
4403 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
4404 __builtin_return_address.
4405 * dlfcn/dlopenold.c: Likewise.
4406 * dlfcn/dlsym.c: Likewise.
4407 * dlfcn/dlvsym.c: Likewise.
4408 * elf/dl-profstub.c: Likewise.
4409 * malloc/malloc.c: Likewise.
4410 * sysdeps/generic/machine-gmon.h: Likewise.
4411 Based on a patch by schwidefsky@de.ibm.com.
4413 2000-07-18 Andreas Jaeger <aj@suse.de>
4415 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
4416 NULL to elf_machine_fixup_plt t argument to silence GCC.
4418 * include/string.h: Add prototype for __memchr.
4420 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
4422 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
4425 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4427 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
4429 * locale/C-ctype.c: Add initializers for gap elements.
4430 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
4433 2000-07-16 Ulrich Drepper <drepper@redhat.com>
4435 * nscd/nscd.c (print_version): Update copyright year.
4437 2000-07-17 Greg McGary <greg@mcgary.org>
4439 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
4440 keyletters F, I, S, W. Remove unused keyletter V. Surround
4441 signature argnames with angle-brackets for use as word delimiters,
4442 and to induce syntax errors for any args not handled. Split
4443 multi-echo echoes and comment each stage.
4444 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
4445 * sysdeps/unix/inet/syscalls.list: Likewise.
4446 * sysdeps/unix/mman/syscalls.list: Likewise.
4447 * sysdeps/unix/syscalls.list: Likewise.
4448 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4449 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4450 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4451 * sysdeps/unix/sysv/syscalls.list: Likewise.
4452 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
4454 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
4455 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
4456 qualifiers. Don't check NULL-terminator of argv & envp.
4457 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
4458 unbounded pointer type in word-size assertion.
4459 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
4460 cases to stifle warnings.
4462 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
4464 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4466 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
4467 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
4470 * Makerules (o-objects): Supplement with $(o-objects$o).
4471 * string/Makefile (o-objects.ob): Add variable to pull
4472 unbounded versions of memcpy, memset and memchr into libc_b.
4474 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
4475 rather than non-existent __ubp_memchr.
4476 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
4477 (_CHECK_STRING, _CHECK_N): New macros.
4478 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
4479 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
4480 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
4481 Add weak alias "memchr".
4482 * sysdeps/generic/memchr.c: Likewise.
4483 * sysdeps/i386/memchr.S: Likewise.
4484 * sysdeps/ia64/memchr.S: Likewise.
4485 * sysdeps/m68k/memchr.S: Likewise.
4486 * sysdeps/sparc/sparc32/memchr.S: Likewise.
4487 * sysdeps/sparc/sparc64/memchr.S: Likewise.
4488 * sysdeps/vax/memchr.s: Likewise.
4490 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
4492 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
4493 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
4494 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
4495 __BOUNDED_POINTERS__.
4496 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
4497 for __BOUNDED_POINTERS__.
4499 2000-07-17 Bruno Haible <haible@clisp.cons.org>
4501 * iconv/gconv_open.c (__gconv_open): Initialize the __data
4502 field of struct __gconv_trans_data differently. Don't pass NULL to
4503 trans_init_fct. Simplify list append operation.
4505 2000-07-14 Bruno Haible <haible@clisp.cons.org>
4507 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
4508 not only those having tsearch.
4510 2000-07-17 Ulrich Drepper <drepper@redhat.com>
4512 * locale/langinfo.h: Add placeholder values in enum for removed
4515 2000-07-17 Jakub Jelinek <jakub@redhat.com>
4517 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
4518 chain if the PHDR check fails.
4520 2000-07-17 Mark Kettenis <kettenis@gnu.org>
4522 * nss/getent.c (print_hosts): Make sure we always print a space
4523 between numeric addresses and hostnames.
4525 2000-07-17 Wolfram Gloger <wg@malloc.de>
4527 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
4528 i.e. if n_mmaps_max>0.
4530 2000-07-16 Mark Kettenis <kettenis@gnu.org>
4532 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
4533 values to remove possible clash with other AI_* constants.
4534 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
4535 hexadecimal constants to stress the fact they're in fact
4538 2000-07-15 Mark Kettenis <kettenis@gnu.org>
4540 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
4541 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
4542 instead of res_init.
4544 2000-07-16 Ulrich Drepper <drepper@redhat.com>
4546 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
4547 parameters of memset calls to avoid warnings.
4549 2000-07-15 Ulrich Drepper <drepper@redhat.com>
4551 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
4554 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
4555 Patch by Greg McGary <greg@mcgary.org>.
4557 * io/Makefile (tests): Add tst-getcwd.
4558 * io/tst-getcwd.c: New file.
4560 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
4562 2000-07-15 Jakub Jelinek <jakub@redhat.com>
4564 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
4567 2000-07-13 Jakub Jelinek <jakub@redhat.com>
4569 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
4570 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
4572 2000-07-12 H.J. Lu <hjl@gnu.org>
4574 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
4576 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
4577 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
4578 (sysdep-routines): Add clone2.
4579 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
4581 2000-07-13 Jes Sorensen <jes@linuxcare.com>
4583 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
4584 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
4586 2000-06-05 David Mosberger <davidm@hpl.hp.com>
4588 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
4589 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
4590 Change type of si_band from "int" to "long".
4591 (si_imm) [USE_GNU]: Define
4592 (si_isr) [USE_GNU]: Ditto.
4593 (ILL_BREAK) [USE_GNU]: Ditto.
4594 (FPE_DECOVF) [USE_GNU]: Ditto.
4595 (FPE_DECDIV) [USE_GNU]: Ditto.
4596 (FPE_DECERR) [USE_GNU]: Ditto.
4597 (FPE_INVASC) [USE_GNU]: Ditto.
4598 (FPE_INVDEC) [USE_GNU]: Ditto.
4599 (TRAP_BRANCH) [USE_GNU]: Ditto.
4600 (TRAP_HWBKPT) [USE_GNU]: Ditto.
4602 2000-07-06 Jes Sorensen <jes@linuxcare.com>
4604 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4605 bits/sigcontext as struct mcontext does not depend on it.
4607 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
4609 2000-07-04 Jes Sorensen <jes@linuxcare.com>
4611 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
4613 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
4615 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
4617 2000-06-22 Jes Sorensen <jes@linuxcare.com>
4619 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
4621 2000-07-15 Ulrich Drepper <drepper@redhat.com>
4623 * intl/Makefile (test-srcs): Add tst-translit.
4625 Add rules to build and run tst-translit.
4626 * intl/tst-translit.c: New file.
4627 * intl/tst-translit.sh: New file.
4628 * intl/translit.po: New file.
4630 2000-07-14 Ulrich Drepper <drepper@redhat.com>
4632 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
4633 transliteration function did its job, continue, don't stop.
4635 * iconvdata/iso646.c: Little optimizations in body for conversion
4638 2000-07-14 Mark Kettenis <kettenis@gnu.org>
4640 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
4642 2000-07-14 Mark Kettenis <kettenis@gnu.org>
4644 * configure.in: Check for pwd binary.
4645 * config.make.in: Add PWD_P to be subsituted.
4646 * Makerules: Use $(PWD_P) instead of /bin/pwd.
4648 2000-07-14 Ulrich Drepper <drepper@redhat.com>
4650 * iconvdata/Makefile (modules): Add GB18030.
4651 (distribute): Add gb18030.c.
4652 * iconvdata/gconv-modules: Add entries for GB18030 module.
4653 * iconvdata/gb18030.c: New file.
4654 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
4657 2000-07-13 Andreas Jaeger <aj@suse.de>
4659 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
4662 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
4663 * inet/getnetgrent.c (free_mem): Likewise.
4664 * misc/mntent.c (free_mem): Likewise.
4665 * nss/getXXbyYY.c (free_mem): Likewise.
4666 * nss/getXXent.c (free_mem): Likewise.
4667 * pwd/fgetpwent.c (free_mem): Likewise.
4668 * shadow/fgetspent.c (free_mem): Likewise.
4670 2000-07-14 Ulrich Drepper <drepper@redhat.com>
4672 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
4673 64-bit architecture correctly [PR libc/1794].
4675 2000-07-13 Ulrich Drepper <drepper@redhat.com>
4677 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
4678 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
4679 report that we are out of memory.
4680 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4681 * elf/dl-libc.c (dlerror_run): Likewise.
4682 * elf/dl-open.c (_dl_open): Likewise.
4683 * elf/rtld.c (dl_main): Likewise.
4684 * elf/dl-error.c: Define _dl_out_of_memory.
4685 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
4687 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
4690 * dlfcn/dlerror.c (free_key_mem): Also free error string.
4692 * iconv/loop.c: Fix comment.
4694 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
4696 2000-07-13 Andreas Jaeger <aj@suse.de>
4698 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
4699 getcwd (NULL, size) with size > 0.
4700 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
4702 2000-07-13 Andreas Jaeger <aj@suse.de>
4704 * posix/Makefile: Remove build rules for libposix.
4706 2000-07-13 Andreas Schwab <schwab@suse.de>
4708 * sysdeps/generic/glob.c (glob): Fix memory leak.
4709 [SHELL]: Remove reference to undefined variable `files'.
4712 2000-07-13 Andreas Jaeger <aj@suse.de>
4714 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
4717 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
4718 memory if it was allocated.
4720 2000-07-12 Ulrich Drepper <drepper@redhat.com>
4722 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
4725 * iconv/gconv_open.c (__gconv_open): Reapply
4726 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4728 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
4730 * iconv/gconv_open.c: Undo last two changes for now. They break
4733 2000-07-12 Andreas Jaeger <aj@suse.de>
4735 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
4737 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
4738 (CFLAGS-dl-cache.c): Likewise.
4739 (CFLAGS-ldconfig.c): Added, passes directory locations.
4741 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
4743 * elf/ldconfig.c (LD_SO_CONF): Likewise.
4744 (main): Use configured LIBDIR and SLIBDIR.
4746 2000-07-11 Jakub Jelinek <jakub@redhat.com>
4748 * math/bits/cmathcalls.h (cimag): Add __THROW.
4749 (creal, conj): Likewise.
4750 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
4753 2000-07-12 H.J. Lu <hjl@gnu.org>
4755 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
4756 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
4758 2000-07-12 Ulrich Drepper <drepper@redhat.com>
4760 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
4763 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4765 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
4767 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4769 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
4772 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4774 * iconv/gconv_open.c (__gconv_open): Initialize
4775 result->__steps[cnt].__data.
4777 2000-07-12 Mark Kettenis <kettenis@gnu.org>
4779 * nss/getent.c (services_keys): Pass port number in network byte
4780 order in call to getservbyport.
4782 2000-07-11 Andreas Jaeger <aj@suse.de>
4784 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
4786 * intl/Makefile (do-gettext-test): Likewise.
4787 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
4789 2000-07-11 Andreas Schwab <schwab@suse.de>
4791 * Makeconfig (run-program-prefix): New rule.
4792 (built-program-cmd): Use run-program-prefix.
4794 2000-07-12 Ulrich Drepper <drepper@redhat.com>
4796 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
4797 and NOEXPR unconditionally available.
4799 2000-07-12 Greg McGary <greg@mcgary.org>
4801 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
4802 * sysdeps/posix/open64.c: Likewise.
4803 * sysdeps/generic/fegetenv.c: Likewise.
4804 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
4805 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4806 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4807 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
4808 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
4809 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
4811 2000-07-11 Greg McGary <greg@mcgary.org>
4813 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
4814 Add extra level of macro expansion.
4815 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
4816 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
4817 is available at the time `select' prototype is declared.
4818 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
4819 Collect non-versioned weak aliases. Consider only non-versioned
4820 aliases for the user-visible systemcall name. Do checks inline with
4821 call to primitive system call.
4822 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
4823 stand-alone bounds checks to suppress unused value warnings.
4824 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
4826 2000-07-10 Mark Kettenis <kettenis@gnu.org>
4828 * sysdeps/mach/hurd/check_fds.c: New file. Implements
4829 file descriptor checking in SUID programs for the Hurd.
4831 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
4832 res_hostalias instead of __hostalias for thread-safety.
4834 2000-07-09 Mark Kettenis <kettenis@gnu.org>
4836 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
4837 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
4839 2000-07-10 Ulrich Drepper <drepper@redhat.com>
4841 * include/features.h: Include ISO C99 features if the compiler used
4842 is an ISO C99 compiler.
4843 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4845 2000-07-08 Mark Kettenis <kettenis@gnu.org>
4847 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
4849 2000-07-10 Andreas Jaeger <aj@suse.de>
4851 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
4852 it's overridden by libpthreads.
4853 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4854 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4855 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4856 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4857 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4859 * malloc/Makefile: Run tst-mtrace only with shared libs.
4861 * stdio-common/Makefile: Run unbputc and tst-printf tests only
4864 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4866 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
4867 that gpreg really points to the GOT section of the calling object.
4868 Scan all PT_LOAD segments of objects for stub_pc, instead of only
4869 checking a start address of first one.
4871 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
4874 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
4876 2000-07-10 Andreas Jaeger <aj@suse.de>
4878 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
4879 (string_alias->strong_alias).
4881 2000-07-08 Mark Kettenis <kettenis@gnu.org>
4883 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
4885 2000-07-07 Greg McGary <greg@mcgary.org>
4887 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
4888 have no names without leading underscores.
4890 2000-07-07 Ulrich Drepper <drepper@redhat.com>
4892 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
4895 * stdio-common/Makefile (tests): Remove tst-printf here...
4896 (tests-srcs): ...and add it here.
4897 (distribute): Add tst-unbputc.sh and tst-printf.sh.
4898 Add rules to run tst-printf.sh.
4899 * stdio-common/tst-printf.c: Move code around so that there is really
4900 no further output where it's stated.
4901 * stdio-common/tst-printf.sh: New file.
4903 2000-07-07 Mark Kettenis <kettenis@gnu.org>
4905 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
4906 (do_write): Renamed from pwrite.
4907 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
4908 `struct _IO_cookie_file'.
4910 2000-07-07 Ulrich Drepper <drepper@redhat.com>
4912 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
4914 * malloc/tst-mtrace.sh: Run mtrace script.
4916 2000-07-07 Greg McGary <greg@mcgary.org>
4918 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
4919 Move all three components of a bounded pointer.
4921 2000-07-07 Ulrich Drepper <drepper@redhat.com>
4923 * locale/programs/locale.c (write_locales): Don't simply add all
4924 directories found in the subdir, test whether at least the
4925 LC_CTYPE file is in there.
4927 2000-07-06 Ulrich Drepper <drepper@redhat.com>
4929 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
4930 * iconvdata/euc-kr.c: Likewise.
4932 * stdio-common/vfprintf.c (process_string_arg): Check result of
4933 wcrtomb call and bail out if it failed.
4935 * malloc/Makefile (test-srcs): Add tst-mtrace.
4936 (distribute): Add tst-mtrace.sh.
4937 Add rule to run tst-mtrace.sh.
4938 * malloc/tst-mtrace.c: New file.
4939 * malloc/tst-mtrace.sh: New file.
4941 * include/signal.h: Declare __libc_sigaction.
4942 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
4943 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
4944 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4945 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4946 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4947 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4948 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4950 * configure.in: Fix CFLAGS-memprofstat.c definition after
4952 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
4954 2000-07-06 Jakub Jelinek <jakub@redhat.com>
4956 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
4957 instead of NULL to elf_machine_fixup_plt t argument.
4958 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4959 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
4962 2000-07-06 Andreas Jaeger <aj@suse.de>
4964 * crypt/Makefile (LDLIBS-cert): Removed.
4965 (LDLIBS-md5c-test): Removed.
4966 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
4967 ($(objpfx)md5c-test): Likewise for md5c-test.out.
4969 2000-07-06 Andreas Jaeger <aj@suse.de>
4971 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
4972 of the proc system is "proc".
4974 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
4975 thread library for static programs.
4977 2000-07-06 Greg McGary <greg@mcgary.org>
4979 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
4981 * sysdeps/generic/strcpy.c: Add bounds checks.
4982 * sysdeps/unix/fxstat.c: Likewise.
4983 * sysdeps/unix/xstat.c: Likewise.
4984 * sysdeps/unix/common/lxstat.c: Likewise.
4985 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4986 * sysdeps/unix/sysv/linux/execve.c: Likewise.
4987 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
4988 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
4989 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4990 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4991 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
4992 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4993 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4994 * sysdeps/unix/sysv/linux/poll.c: Likewise.
4995 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4996 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4997 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
4998 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4999 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5000 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5001 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5002 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5003 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5004 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
5005 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5006 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
5007 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5008 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
5009 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
5010 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
5011 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5012 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
5013 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
5014 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
5015 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5016 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
5017 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5018 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5019 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5020 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5021 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5022 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
5023 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5024 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5025 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5026 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5027 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5028 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5029 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
5030 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
5031 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5032 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
5033 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
5034 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
5035 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
5036 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
5037 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5038 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5039 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5040 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5041 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
5042 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
5043 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
5044 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
5045 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5046 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
5047 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
5048 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
5050 * string/endian.h (__LONG_LONG_PAIR): New macro.
5051 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
5052 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5053 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5054 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5055 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5056 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
5057 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5058 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5059 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5060 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5061 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5062 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
5064 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
5066 2000-07-06 Andreas Jaeger <aj@suse.de>
5068 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
5071 * math/test-fpucw.c: Include <stdio.h> for printf.
5073 2000-07-05 Greg McGary <greg@mcgary.org>
5075 * sysdeps/generic/bp-checks.h: New file.
5076 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
5077 with list of #include files.
5078 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
5079 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
5080 Don't generate BP thunk if `V' appears in signature.
5081 Generate thunks with complete bounds checks.
5082 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
5083 * sysdeps/unix/inet/syscalls.list: Likewise.
5084 * sysdeps/unix/mman/syscalls.list: Likewise.
5085 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5086 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5087 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5088 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
5090 2000-07-05 Ulrich Drepper <drepper@redhat.com>
5092 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
5093 result. Search first in /etc/mtab (proc/mounts would be stupid).
5094 If mount not in the file fall back on /proc.
5096 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
5097 string got copied in.
5098 Patch by Solar Designer <solar@false.com>.
5100 2000-07-05 Andreas Jaeger <aj@suse.de>
5102 * manual/install.texi (Installation): Update information about
5104 (Configuring and compiling): Update for glibc 2.2.
5106 2000-07-04 Andreas Jaeger <aj@suse.de>
5108 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
5109 (_FPU_IEEE): Likewise.
5111 * math/Makefile (tests): Add test-fpucw.
5113 * math/test-fpucw.c (main): New file.
5115 2000-07-05 Ulrich Drepper <drepper@redhat.com>
5117 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
5119 * locale/programs/ld-collate.c (collate_output): Also write out the
5120 collation sequence values and the wide character string for the
5121 collation symbol table.
5123 * posix/fnmatch.c: Include "../locale/elem-hash.h".
5124 * posix/fnmatch_loop.c: Implement collating symbol handling.
5125 * posix/tst-fnmatch.input: Add more tests, especially for collating
5128 * posix/regex.c: Fix comment.
5130 2000-07-05 Andreas Jaeger <aj@suse.de>
5132 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
5133 (_FPU_GETCW): Remove extra colon.
5134 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5136 * posix/fnmatch_loop.c (FCT): Only declare len if
5137 !WIDE_CHAR_VERSION to silence GCC.
5139 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
5141 * sysdeps/generic/strchrnul.c: Likewise.
5142 * sysdeps/generic/strlen.c: Likewise.
5143 * sysdeps/generic/strchr.c: Likewise.
5144 * sysdeps/generic/memchr.c: Likewise.
5146 2000-07-04 Ulrich Drepper <drepper@redhat.com>
5148 * posix/fnmatch_loop.c: Implement equivalence class handling.
5149 * posix/tst-fnmatch.input: Add tests for equivalence class
5152 * posix/fnmatch_loop.c: Improve performance for single-byte
5153 character sets by not using btowc.
5155 * posix/tst-fnmatch.input: Add tests for locale dependent
5157 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
5159 * posix/tst-fnmatch.input: Add more test cases.
5161 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
5162 are not aligned to alignof(md5_uint32) do it before calling
5163 __md5_process_bytes.
5164 * crypt/md5.c: Make sure buffers are aligned.
5165 * crypt/md5.h: Likewise.
5166 Reported by Solar Designer <solar@false.com>.
5168 * crypt/Makefile: Add dependencies for test programs.
5170 * Rules: Define LC_ALL=C in environments of all programs we run.
5172 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
5174 2000-07-03 H.J. Lu <hjl@gnu.org>
5176 * locale/programs/ld-ctype.c (ctype_output): The size of iov
5177 is 2 + elem + offset, not 2 + elem + offset + 2.
5179 2000-07-04 Ulrich Drepper <drepper@redhat.com>
5181 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
5183 * posix/Makefile (tests): Add tst-fnmatch.
5184 (tst-fnmatch-ENV): Define.
5185 * posix/tst-fnmatch.c: New file.
5186 * posix/tst-fnmatch.sh: New file.
5188 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
5190 * locale/programs/charmap.c (charmap_read): Prepend
5191 the condition filename == NULL.
5193 2000-07-03 Greg McGary <greg@mcgary.org>
5195 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
5197 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
5198 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
5200 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
5201 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
5202 (FILEBUF_LITERAL): Add cast for CHAIN init.
5203 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
5204 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
5205 Revert type of `fp' to _IO_FILE*.
5206 (_IO_iter_file): Remove cast.
5207 (_IO_iter_next): Elide intermediate member reference.
5209 * sysdeps/powerpc/strchr.S: Check bounds.
5210 Wrap extern symbols in BP_SYM ().
5212 2000-07-03 Andreas Jaeger <aj@suse.de>
5214 * dlfcn/Makefile (generated): New.
5216 2000-07-03 Ulrich Drepper <drepper@redhat.com>
5218 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
5219 (__uflow): Likewise.
5220 (__underflow): Likewise.
5221 * libio/wgenops.c (__wunderflow): Likewise.
5222 * stdio-common/tst-unbputc.c: New file.
5223 * stdio-common/tst-unbputc.sh: New file.
5224 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
5226 * po/en_GB.po: New file.
5227 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
5229 2000-07-01 Andreas Jaeger <aj@suse.de>
5231 * intl/Makefile (generated-dirs): New.
5233 * elf/Makefile (generated): trusted-dirs.h is always generated,
5234 move out of build-shared condition.
5235 (generated): Merge the two entries for build-shared.
5237 2000-07-01 Ulrich Drepper <drepper@redhat.com>
5239 * debug/Makefile (distribute): Add xtrace.sh.
5241 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5243 * version.h (VERSION): Bump to 2.1.91.
5245 * configure.in: Update warning comment. glibc should not be
5248 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
5249 ioperm.c, sys/procfs.h, and sys/io.h.
5251 * sysdeps/powerpc/Dist: Add bp-asm.h.
5253 * assert/Depend: Add localedata.
5254 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
5255 (test-assert-perr-ENV): New. Define LANGUAGE=C.
5257 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
5258 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
5259 relocation address to prevent unaligned trap.
5260 Suggested by Richard Henderson <rth@cygnus.com>.
5262 2000-06-30 Jakub Jelinek <jakub@redhat.com>
5264 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
5265 if redirecting and either redirection is done using defines or
5268 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5270 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
5271 generated expressions.
5272 Patch by Darren McClelland <dmcclell@zetec.com>.
5274 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
5275 since zic uses setlocale and gettext but we cannot make it use the
5276 new locale data since zic calls a shell which might not use the
5279 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
5280 handling the internation currency symbol. POSIX says that the
5281 fourth character is used to separate the currency symbol from the
5282 value. Therefore it does not have to be printed. But we cannot
5283 remove the space if the currency symbol is printed before the
5284 number since this is what many locales expect.
5286 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
5287 whether this information is available.
5289 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
5290 buffers in case the translation is too large. Remember allocated
5291 memory blocks in a list.
5292 (free_mem): Free memory for translations.
5294 * intl/tst-gettext.c: Use correct locale. Improve error messages.
5296 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
5297 information is available set the string length to zero.
5299 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
5301 2000-06-30 Greg McGary <greg@mcgary.org>
5303 * sysdeps/powerpc/bp-asm.h: New file.
5304 * sysdeps/powerpc/__longjmp.S: Check bounds.
5305 Wrap extern symbols in BP_SYM ().
5306 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
5307 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
5308 * sysdeps/powerpc/setjmp.S: Likewise.
5309 * sysdeps/powerpc/add_n.S: Likewise.
5310 * sysdeps/powerpc/addmul_1.S: Likewise.
5311 * sysdeps/powerpc/lshift.S: Likewise.
5312 * sysdeps/powerpc/rshift.S: Likewise.
5313 * sysdeps/powerpc/mul_1.S: Likewise.
5314 * sysdeps/powerpc/sub_n.S: Likewise.
5315 * sysdeps/powerpc/submul_1.S: Likewise.
5316 * sysdeps/powerpc/strlen.S: Likewise.
5317 * sysdeps/powerpc/memset.S: Likewise.
5318 * sysdeps/powerpc/stpcpy.S: Likewise.
5319 * sysdeps/powerpc/strcmp.S: Likewise.
5320 * sysdeps/powerpc/strcpy.S: Likewise.
5321 * sysdeps/powerpc/elf/bzero.S: Likewise.
5323 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
5324 Line up operands column with tabs.
5326 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5328 * elf/Makefile (LDFLAGS-origtest): Actually add it.
5330 * sysdeps/ia64/htonl.S: New file.
5331 * sysdeps/ia64/htons.S: New file.
5332 * sysdeps/ia64/memcpy.S: Replace with version which does not use
5333 floating point registers.
5334 Patches by Dan Pop <Dan.Pop@cern.ch>.
5336 2000-06-30 Andreas Jaeger <aj@suse.de>
5338 * posix/Makefile (tests): tst-exec and tst-spawn only work with
5341 * io/Makefile (CFLAGS-test-lfs.c): New.
5342 (tests): Add test-lfs.
5344 * io/test-lfs.c: New file.
5346 2000-06-30 Jakub Jelinek <jakub@redhat.com>
5348 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
5351 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
5353 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
5355 2000-06-29 Jes Sorensen <jes@linuxcare.com>
5357 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
5358 alias to the fstatfs call.
5360 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
5361 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
5363 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
5364 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
5366 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
5367 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
5368 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
5369 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
5371 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
5372 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
5374 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
5375 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
5377 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
5378 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
5380 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
5382 2000-06-29 Andreas Jaeger <aj@suse.de>
5384 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
5386 (print_err_message): Likewise.
5387 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
5389 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5391 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
5392 used as words is properly aligned.
5394 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
5397 2000-06-29 Greg McGary <greg@mcgary.org>
5399 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
5400 * sysdeps/unix/make-syscalls.sh: Handle signatures of
5401 length 7..9, just in case...
5402 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
5404 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
5405 (POP_ERRNO_LOCATION_RETURN): Fold insns.
5406 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
5407 (PUSH_SIGNAL_MASK): New macro.
5408 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
5409 LEAVE is unnecessary. Check bounds of jmp_buf.
5410 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
5411 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
5412 immediately before tail-call.
5413 * sysdeps/i386/setjmp.S: Likewise.
5414 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5415 * sysdeps/i386/bsd-setjmp.S: Likewise.
5417 2000-06-29 Jakub Jelinek <jakub@redhat.com>
5419 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
5421 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
5422 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
5423 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
5424 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5425 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
5426 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
5427 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
5428 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
5430 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5432 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
5433 we later need to calling free().
5434 Patch by Matt Wilson <msw@redhat.com>.
5436 * stdio-common/tst-printf.c: Add test for above problem.
5438 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
5440 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
5441 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
5443 2000-06-28 Jes Sorensen <jes@linuxcare.com>
5445 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
5446 prototype for abs().
5447 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
5449 2000-06-23 Andreas Jaeger <aj@suse.de>
5451 * config.h.in: Don't use regparm with bounded pointers.
5453 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5455 * stdlib/grouping.h: Correctly handle multibyte thousands
5456 separator and decimal point.
5457 * stdlib/stdtod.c: Likewise.
5458 * sysdeps/generic/strtol.c: Likewise.
5460 * locale/categories.def: Add entries for wide character decimal point
5461 and thousands separator in numeric and monetary category.
5463 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5465 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
5466 second definition and initialization of decimal.
5468 2000-06-28 Greg McGary <greg@mcgary.org>
5470 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
5472 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
5473 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
5475 (_IO_JUMPS): Don't cast THIS--expect arg to be a
5476 (struct _IO_FILE_plus *).
5477 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
5478 THIS, since _IO_JUMPS no longer does it implicitly.
5479 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
5480 arg type as (struct _IO_FILE_plus *).
5481 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
5482 arg as (_IO_strfile *).
5483 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
5484 Declare 1st arg as (_IO_strfile *).
5485 * libio/fileops.c (_IO_new_file_init): Declare
5486 arg type as (struct _IO_FILE_plus *).
5487 * libio/oldfileops.c (_IO_old_file_init): Likewise.
5488 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
5489 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
5490 Declare iteration pointer as (struct _IO_FILE_plus *).
5491 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
5492 (struct _IO_FILE_plus *).
5493 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
5494 * libio/oldstdfiles.c (_IO_list_all): Likewise.
5495 (_IO_check_libio): Set user-visible handles to
5496 (struct _IO_FILE_plus *).
5497 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
5498 to (struct _IO_FILE_plus *).
5500 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
5501 whose high bound includes vtable to all functions that will use
5502 vtable. For streambufs, pass pointer whose bounds include struct
5504 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
5505 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5506 * libio/iofopen.c (_IO_new_fopen): Likewise.
5507 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5508 * libio/iofopen64.c (_IO_fopen64): Likewise.
5509 * libio/iopopen.c (_IO_new_popen): Likewise.
5510 * libio/oldiopopen.c (_IO_old_popen): Likewise.
5511 * libio/memstream.c (open_memstream): Likewise.
5512 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
5513 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
5514 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5515 * libio/iofopncook.c (_IO_cookie_init): Likewise.
5516 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
5517 * libio/vasprintf.c (_IO_vasprintf): Likewise.
5518 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
5519 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
5520 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
5521 * stdlib/strfmon.c (__strfmon_l): Likewise.
5522 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
5523 (vfprintf): Qualify computed-goto targets as unbounded.
5525 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5527 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
5528 thousands separator correctly.
5530 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
5531 * stdio-common/vfwscanf.c: Likewise.
5533 2000-06-27 Jes Sorensen <jes@linuxcare.com>
5535 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
5536 count into signatures for most calls.
5538 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5540 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
5541 the generic parser now.
5543 2000-06-28 Jes Sorensen <jes@linuxcare.com>
5545 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
5546 table entries are 32 bit on the ia64 (as specified by the ABI),
5547 not 64 bit as on the Alpha.
5549 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
5550 change of objects to use 32 bit hash table indices (see above).
5552 2000-06-28 Jes Sorensen <jes@linuxcare.com>
5554 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
5555 prototype for abs().
5557 2000-06-28 Wolfram Gloger <wg@malloc.de>
5559 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
5560 fails, try mmap_chunk() as a last resort even though n_mmaps_max
5561 may have been reached.
5563 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5565 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
5566 symbols in multi-character weights correctly.
5568 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
5569 depending on whether the input string is empty or not.
5571 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
5572 given state and not avoiding this by modifying a local object.
5573 * wcsmbs/wcrtomb.c: Likewise.
5575 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
5576 object since some incomplete characters might be in there.
5578 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
5579 sequences with first byte 0x8e correctly.
5581 * iconvdata/jis0208.h: Remove redundant test.
5583 2000-06-27 Ulrich Drepper <drepper@redhat.com>
5585 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
5586 Add it where it is needed now.
5588 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
5589 the input charset into account when generating the hash table.
5590 (allocate_arrays): Correct setting default width. Not all empty slots
5591 in the table are filled, only those not covert explicitly by the
5592 locale description and in the charset.
5594 * wctype/towctrans.c (__towctrans): Be graceful and accept error
5595 return values from the wctrans function.
5597 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
5598 wide character version.
5599 For %C handling, test correct pointer variable for NULL.
5601 * wcsmbs/wctob.c: Handle WEOF special.
5603 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
5605 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
5606 always-true test to avoid warning.
5608 2000-06-27 Greg McGary <greg@mcgary.org>
5610 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
5611 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
5612 (symbol_version, default_symbol_version): Factor redundant
5613 definitions out of conditional.
5615 2000-06-27 Jakub Jelinek <jakub@redhat.com>
5617 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
5620 2000-06-26 Ulrich Drepper <drepper@redhat.com>
5622 * include/libc-symbols.h (symbol_version): Add extra level of
5624 (default_symbol_version): Likewise.
5626 2000-06-26 Greg McGary <greg@mcgary.org>
5628 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
5629 for BP return value & push implicit struct-return pointer to
5631 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5632 (SYSCALL_ERROR_HANDLER): Likewise.
5633 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
5634 (SYSCALL_ERROR_HANDLER): Likewise.
5636 * Makeconfig: Add missing comment.
5637 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
5638 BP-flavored startup object.
5639 ($(objpfx)b$(start-installed-name)): New rule.
5640 * include/libc-symbols.h (symbol_set_declare): Change type
5641 of `__start_##set' and `__stop_##set' to pointer-to-function.
5642 (symbol_set_declare): Change type of `set' to array of
5643 pointer-to-function.
5644 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
5645 pointer-to-function.
5647 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
5649 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
5650 Remove clock_* and timer_* entries.
5651 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
5652 arg-count with signatures.
5654 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
5655 Check bounds of arguments.
5656 * sysdeps/i386/addmul_1.S: Likewise.
5657 * sysdeps/i386/lshift.S: Likewise.
5658 * sysdeps/i386/mul_1.S: Likewise.
5659 * sysdeps/i386/rshift.S: Likewise.
5660 * sysdeps/i386/sub_n.S: Likewise.
5661 * sysdeps/i386/submul_1.S: Likewise.
5662 * sysdeps/i386/i586/add_n.S: Likewise.
5663 * sysdeps/i386/i586/addmul_1.S: Likewise.
5664 * sysdeps/i386/i586/lshift.S: Likewise.
5665 * sysdeps/i386/i586/rshift.S: Likewise.
5666 * sysdeps/i386/i586/sub_n.S: Likewise.
5667 * sysdeps/i386/i686/add_n.S: Likewise.
5669 * sysdeps/i386/memchr.S: Likewise.
5670 * sysdeps/i386/memcmp.S: Likewise.
5671 * sysdeps/i386/rawmemchr.S: Likewise.
5672 * sysdeps/i386/i586/bzero.S: Likewise.
5673 * sysdeps/i386/i586/memcpy.S: Likewise.
5674 * sysdeps/i386/i586/mempcpy.S: Likewise.
5675 * sysdeps/i386/i586/memset.S: Likewise.
5676 * sysdeps/i386/i686/bzero.S: Likewise.
5677 * sysdeps/i386/i686/memcpy.S: Likewise.
5678 * sysdeps/i386/i686/mempcpy.S: Likewise.
5679 * sysdeps/i386/i686/memset.S: Likewise.
5681 * sysdeps/i386/stpcpy.S: Likewise.
5682 * sysdeps/i386/stpncpy.S: Likewise.
5683 * sysdeps/i386/strchr.S: Likewise.
5684 * sysdeps/i386/strchrnul.S: Likewise.
5685 * sysdeps/i386/strcspn.S: Likewise.
5686 * sysdeps/i386/strpbrk.S: Likewise.
5687 * sysdeps/i386/strrchr.S: Likewise.
5688 * sysdeps/i386/strspn.S: Likewise.
5689 * sysdeps/i386/strtok.S: Likewise.
5690 * sysdeps/i386/strtok_r.S: Likewise.
5691 * sysdeps/i386/i486/strcat.S: Likewise.
5692 * sysdeps/i386/i486/strlen.S: Likewise.
5693 * sysdeps/i386/i586/strchr.S: Likewise.
5694 * sysdeps/i386/i586/strcpy.S: Likewise.
5695 * sysdeps/i386/i586/strlen.S: Likewise.
5696 * sysdeps/i386/i686/strcmp.S: Likewise.
5697 * sysdeps/i386/i686/strtok.S: Likewise.
5698 * sysdeps/i386/i686/strtok_r.S: Likewise.
5700 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
5701 * sysdeps/i386/fpu/fesetenv.c: Likewise.
5702 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
5703 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
5704 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
5706 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
5707 * sysdeps/i386/mul_1.S: Likewise.
5708 * sysdeps/i386/submul_1.S: Likewise.
5709 * sysdeps/i386/i586/add_n.S: Likewise.
5710 * sysdeps/i386/i586/addmul_1.S: Likewise.
5711 * sysdeps/i386/i586/lshift.S: Likewise.
5712 * sysdeps/i386/i586/mul_1.S: Likewise.
5713 * sysdeps/i386/i586/rshift.S: Likewise.
5714 * sysdeps/i386/i586/sub_n.S: Likewise.
5715 * sysdeps/i386/i586/submul_1.S: Likewise.
5717 2000-06-26 Ulrich Drepper <drepper@redhat.com>
5719 * rt/Makefile (librt-routines): Add clock_nanosleep.
5720 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
5721 * sysdeps/generic/clock_nanosleep.c: New file.
5722 * sysdeps/unix/clock_nanosleep.c: New file.
5723 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
5724 * time/time.h: Declare clock_nanosleep.
5726 2000-06-26 Greg McGary <greg@mcgary.org>
5728 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
5729 INSN1, INSN2, TEXT, GLOBL): Remove macros.
5730 (ALIGN): Cleanup surrounding conditionals.
5732 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
5733 Call ENTER/LEAVE macros.
5734 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
5735 * sysdeps/i386/submul_1.S: Likewise.
5737 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
5738 syntax. Define & use symbolic argument stack offsets. Call
5740 * sysdeps/i386/i586/mul_1.S: Likewise.
5741 * sysdeps/i386/i586/submul_1.S: Likewise.
5743 2000-06-25 Greg McGary <greg@mcgary.org>
5745 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
5748 2000-06-25 Ulrich Drepper <drepper@redhat.com>
5750 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
5751 * iconvdata/gen-8bit-gap.sh: Likewise.
5752 * iconvdata/gen-8bit.sh: Likewise.
5754 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
5756 * locale/programs/ld-collate.c (collate_read): Don't actually read
5757 the copy locale if we are ignoring the content.
5759 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
5762 * locale/programs/ld-collate.c: Correct handling of different
5764 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
5765 as extra parameter from which to copy category information.
5767 (load_locale): Likewise.
5768 * locale/programs/localedef.h: Update prototypes of add_to_readlist
5770 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
5771 * locale/programs/locfile.h: Likewise.
5772 * locale/programs/locfile-kw.gperf: Add entry for script.
5773 * locale/programs/locfile-token.h: Add tok_script.
5775 * locale/programs/locale.c: Update copyright year.
5776 * locale/programs/localedef.c: Likewise.
5778 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
5780 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
5781 Jens Moeller <jens.moeller@waii.com>.
5783 2000-06-24 Ulrich Drepper <drepper@redhat.com>
5785 * locale/programs/ld-name.c (name_finish): Add missing format
5786 specifier to test for name_fmt.
5788 * locale/programs/ld-address.c (iso639): Correct length of string
5790 (iso3166): Likewise.
5792 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
5794 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
5797 * elf/elf.h (NT_PRFPXREG): Define.
5799 2000-06-23 Ulrich Drepper <drepper@redhat.com>
5801 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
5802 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
5804 2000-06-23 Andreas Schwab <schwab@suse.de>
5806 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
5809 2000-06-23 Andreas Jaeger <aj@suse.de>
5811 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
5813 * io/test-stat.c: Add copyright header, mention Maciej.
5815 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
5816 SYS_mincore, SYS_madvise): Added.
5818 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
5821 2000-06-22 Ulrich Drepper <drepper@redhat.com>
5823 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
5824 (CFLAGS-tst_putwc.c): New definition.
5825 * libio/tst_getwc.c: New file.
5826 * libio/tst_getwc.input: New file.
5827 * libio/tst_putwc.c: New file.
5829 * include/string.h: Add prototype for __strdup.
5831 2000-06-22 Greg McGary <greg@mcgary.org>
5833 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
5834 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
5837 2000-06-23 Jes Sorensen <jes@linuxcare.com>
5839 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
5841 2000-06-22 Jes Sorensen <jes@linuxcare.com>
5843 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
5845 2000-06-22 Jes Sorensen <jes@linuxcare.com>
5847 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
5848 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
5850 2000-06-22 Ulrich Drepper <drepper@redhat.com>
5852 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
5853 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
5855 * sysdeps/mach/hurd/bits/stat.h: Likewise.
5856 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5857 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
5858 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5859 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
5860 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
5861 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5862 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
5863 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5864 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5865 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
5866 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
5867 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
5868 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
5871 2000-06-22 Andreas Jaeger <aj@suse.de>
5873 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
5876 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
5878 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
5880 2000-06-21 Ulrich Drepper <drepper@redhat.com>
5882 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
5885 2000-06-21 Greg McGary <greg@mcgary.org>
5887 * Makerules (elide-routines.*, elide-bp-thunks):
5888 Define unconditionally.
5890 2000-06-21 Jes Sorensen <jes@linuxcare.com>
5892 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
5894 2000-06-21 Andreas Jaeger <aj@suse.de>
5896 * io/Makefile (tests): Add test-stat.
5897 (CFLAGS-test-stat.c): New.
5899 * io/test-stat.c: New file from Maciej W. Rozycki
5900 <macro@ds2.pg.gda.pl>.
5902 2000-06-21 Jes Sorensen <jes@linuxcare.com>
5904 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
5905 in __rlimit_resource to make them match the kernel order.
5906 rlim_t is always 64 bit, use __rlim64_t to declare it
5909 2000-05-04 Jes Sorensen <jes@linuxcare.com>
5911 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
5912 RLIM_INFINITY before defining it to avoid clash with kernel header
5914 2000-05-03 Jes Sorensen <jes@linuxcare.com>
5916 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
5918 2000-06-21 Ulrich Drepper <drepper@redhat.com>
5920 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
5922 2000-06-21 Andreas Jaeger <aj@suse.de>
5924 * stdio-common/temptest.c: Include <stdlib.h>.
5925 * stdio-common/tst-fileno.c: Likewise.
5926 * stdio-common/scanf4.c: Likewise.
5927 * stdio-common/scanf5.c: Likewise.
5928 * time/clocktest.c: Likewise.
5929 * posix/test-vfork.c: Likewise.
5930 * posix/globtest.c: Likewise.
5931 * io/test-utime.c: Likewise.
5932 * wctype/test_wcfuncs.c: Likewise.
5933 * crypt/cert.c: Likewise.
5935 * stdio-common/tst-printfsz.c: Include <string.h>.
5936 * libio/tst_swscanf.c: Likewise.
5937 * libio/tst_wscanf.c: Likewise.
5938 * posix/runtests.c: Likewise.
5939 * posix/tst-getaddrinfo.c: Likewise.
5940 * posix/wordexp-test.c: Likewise.
5941 * misc/tst-efgcvt.c: Likewise.
5943 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
5944 * nss/test-netdb.c: Likewise.
5946 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
5947 supported kernel for MIPS.
5949 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
5950 * rt/aio_suspend.c: Likewise.
5952 2000-06-20 Ulrich Drepper <drepper@redhat.com>
5954 * math/libm-test.inc: Include <string.h>.
5956 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5958 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
5960 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5962 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
5963 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
5965 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
5967 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
5969 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5971 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
5973 2000-06-20 Ulrich Drepper <drepper@redhat.com>
5975 * locale/programs/ld-collate.c (insert_value): Now take string and
5976 length instead of struct token* parameter. Adjust use of token.
5977 (handle_ellipsis): Likewise.
5978 (collate_read): Allow <Uxxxx> names and transform them into names
5979 to be passed to insert_value and handle_ellipsis.
5981 * locale/programs/ld-ctype.c (uninames): New array with names of
5982 digits in <Uxxxxxxxx> format.
5983 (ctype_finish): Correct search for space character value. Likewise
5984 for default outdigits values.
5986 2000-06-20 Greg McGary <greg@mcgary.org>
5988 * Makerules (objects): Add BP thunks.
5990 2000-06-20 Ulrich Drepper <drepper@redhat.com>
5992 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
5993 in width definitions.
5995 2000-06-20 Andreas Jaeger <aj@suse.de>
5997 * sysdeps/mips/fpu/libm-test-ulps: New file.
5999 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
6002 * sysdeps/mips/fpu/feholdexcpt.c: New file.
6004 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
6006 2000-06-19 Ulrich Drepper <drepper@redhat.com>
6008 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
6009 change in gconv_builtin.h.
6011 * malloc/Makefile: Change all references to memprof into memusage.
6012 * malloc/memprof.c: Rename to...
6013 * malloc/memusage.c: ...this. New file.
6014 * malloc/memprof.sh: Rename to...
6015 * malloc/memusage.sh: ...this. New file.
6016 * malloc/memprofstat.c: Rename to...
6017 * malloc/memusagestat.c: ...this. New file.
6018 * sysdeps/alpha/memprof.h: Rename to..
6019 * sysdeps/alpha/memusage.h: ...this. New file.
6020 * sysdeps/arm/memprof.h: Rename to..
6021 * sysdeps/arm/memusage.h: ...this. New file.
6022 * sysdeps/generic/memprof.h: Rename to..
6023 * sysdeps/generic/memusage.h: ...this. New file.
6024 * sysdeps/i386/memprof.h: Rename to..
6025 * sysdeps/i386/memusage.h: ...this. New file.
6026 * sysdeps/ia64/memprof.h: Rename to..
6027 * sysdeps/ia64/memusage.h: ...this. New file.
6028 * sysdeps/m68k/memprof.h: Rename to..
6029 * sysdeps/m68k/memusage.h: ...this. New file.
6030 * sysdeps/mips/memprof.h: Rename to..
6031 * sysdeps/mips/memusage.h: ...this. New file.
6032 * sysdeps/powerpc/memprof.h: Rename to..
6033 * sysdeps/powerpc/memusage.h: ...this. New file.
6034 * sysdeps/sparc/memprof.h: Rename to..
6035 * sysdeps/sparc/memusage.h: ...this. New file.
6036 * sysdeps/sh/memprof.h: Rename to..
6037 * sysdeps/sh/memusage.h: ...this. New file.
6039 * elf/sprof.c (print_version): Update year.
6041 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
6042 table entry values. Use D_PTR.
6043 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
6044 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
6046 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6048 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
6049 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
6050 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
6051 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
6053 2000-05-05 Jes Sorensen <jes@linuxcare.com>
6055 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
6057 2000-06-16 Jes Sorensen <jes@linuxcare.com>
6059 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
6060 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
6061 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
6063 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
6065 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
6068 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
6069 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
6071 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
6074 2000-06-15 Jes Sorensen <jes@linuxcare.com>
6076 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
6078 2000-06-08 Jes Sorensen <jes@linuxcare.com>
6080 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
6082 2000-06-19 Ulrich Drepper <drepper@redhat.com>
6084 * iconv/gconv_int.h (strict gconv_module): Remove all members
6085 associated with regular expressions. Use a simple string as the
6087 * iconv/gconv_db.c: Remove code handling regular expressions.
6088 * iconv/gconv_conf.c: Likewise.
6089 * iconv/iconv_prog.c: Likewise.
6090 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
6092 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
6093 General namespace cleanup.
6094 (struct __gconv_trans_data): Add next field.
6095 (struct __gconv_step_data): Make __trans a pointer.
6096 * iconv/gconv_conf.c: Split out code to find gconv directories from
6097 __gconv_read_conf in new functions.
6098 * iconv/gconv_int.h: Define new data structure and declare new
6099 functions for handling of gconv directory list.
6100 * iconv/gconv_open.c: Allow more than one error handling step being
6101 used. Call function to load error handling module if it is none
6102 of the builtin transformations.
6103 * iconv/gconv_close.c: Add code to free transliteration data.
6104 * iconv/gconv_trans.c: Add functions to load and unload modules
6105 implementing transliteration etc.
6106 * iconv/skeleton.c: Call all context functions now that more than
6107 one module is allowed.
6108 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
6109 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
6110 where the full error handling using transliteration is needed.
6111 * iconvdata/8bit-gap.c: Likewise.
6112 * iconvdata/8bit-generic.c: Likewise.
6113 * iconvdata/ansi_x3.110.c: Likewise.
6114 * iconvdata/big5.c: Likewise.
6115 * iconvdata/big5hkscs.c: Likewise.
6116 * iconvdata/euc-cn.c: Likewise.
6117 * iconvdata/euc-jp.c: Likewise.
6118 * iconvdata/euc-kr.c: Likewise.
6119 * iconvdata/euc-tw.c: Likewise.
6120 * iconvdata/gbgbk.c: Likewise.
6121 * iconvdata/gbk.c: Likewise.
6122 * iconvdata/iso-2022-cn.c: Likewise.
6123 * iconvdata/iso-2022-jp.c: Likewise.
6124 * iconvdata/iso-2022-kr.c: Likewise.
6125 * iconvdata/iso646.c: Likewise.
6126 * iconvdata/iso8859-1.c: Likewise.
6127 * iconvdata/iso_6937-2.c: Likewise.
6128 * iconvdata/iso_6937.c: Likewise.
6129 * iconvdata/johab.c: Likewise.
6130 * iconvdata/sjis.c: Likewise.
6131 * iconvdata/t.61.c: Likewise.
6132 * iconvdata/uhc.c: Likewise.
6133 * iconvdata/unicode.c: Likewise.
6134 * iconvdata/utf-16.c: Likewise.
6135 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
6136 structure correctly after last change.
6137 * wcsmbs/btowc.c: Likewise.
6138 * wcsmbs/mbrtowc.c: Likewise.
6139 * wcsmbs/mbsnrtowcs.c: Likewise.
6140 * wcsmbs/mbsrtowcs.c: Likewise.
6141 * wcsmbs/wcrtomb.c: Likewise.
6142 * wcsmbs/wcsnrtombs.c: Likewise.
6143 * wcsmbs/wcsrtombs.c: Likewise.
6144 * wcsmbs/wctob.c: Likewise.
6146 * localedata/Makefile: Set -Wno-format for some files since gcc does
6147 not know all the format specifiers.
6149 2000-06-18 Ulrich Drepper <drepper@redhat.com>
6151 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
6153 * locale/lc-time.c (_nl_init_era_entries): Likewise.
6155 2000-06-18 Andreas Jaeger <aj@suse.de>
6157 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
6158 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
6160 2000-06-17 Ulrich Drepper <drepper@redhat.com>
6162 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
6164 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
6166 * locale/programs/ld-ctype.c (ctype_output): Really write out
6167 mboutdigits information.
6168 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
6169 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
6170 * localedata/tests/trans.def: Add outdigit information.
6172 * localedata/tst-mbswcs3.c: Remove comment.
6174 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
6175 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
6176 * libio/tst_wprintf.c (main): Add test for I flag.
6178 * iconv/gconv_trans.c: Implement handling if translit_ignore.
6179 * locale/langinfo.h: Add entries for translit_ignore information.
6180 * locale/categories.def: Add entries for new LC_CTYPE elements.
6181 * locale/C-ctype.c: Add initializers for new fields. Use NULL
6182 pointer instead of "" where possible.
6183 * locale/programs/ld-ctype.c: Write out translit_ignore information.
6184 * intl/Depend: Add localedata.
6185 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
6186 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
6188 2000-06-16 Ulrich Drepper <drepper@redhat.com>
6190 * locale/langinfo.h: Add entries for default_missing information.
6191 * locale/C-ctype.c: Add initializers for new fields.
6192 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
6194 * locale/categories.h: Add entries for all LC_CTYPE values.
6195 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
6198 * localedata/tst-trans.c: Write out an error message if class is
6201 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
6202 * iconv/gconv_open.c: Remove error handling specification from `from'
6204 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
6205 new parameter to always enable transliteration.
6206 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
6208 (struct locale_data): Add new members use_translit and options.
6209 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
6210 character set name contained modifier TRANSLIT.
6211 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
6213 (_nl_unload_locale): Free options string if necessary.
6214 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
6215 the locale names suggested this.
6216 * locale/C-address.c: Add two new initialilzers to adjust data
6217 structure for new format.
6218 * locale/C-collate.c: Likewise.
6219 * locale/C-ctype.c: Likewise.
6220 * locale/C-identification.c: Likewise.
6221 * locale/C-measurement.c: Likewise.
6222 * locale/C-messages.c: Likewise.
6223 * locale/C-monetary.c: Likewise.
6224 * locale/C-name.c: Likewise.
6225 * locale/C-numeric.c: Likewise.
6226 * locale/C-paper.c: Likewise.
6227 * locale/C-telephone.c: Likewise.
6228 * locale/C-time.c: Likewise.
6230 * locale/setlocale.c: Add some more __builtin_expect.
6232 2000-06-15 Ulrich Drepper <drepper@redhat.com>
6234 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
6236 (__gconv_init_fct): Remove two parameters.
6237 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
6238 gconv_transliterate. Remove two parameters.
6239 Change prototypes of builtin functions according to __gconv_fct change.
6240 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
6241 != NULL only during error handling. Stop in this case after the
6243 * iconv/gconv_trans.c: Replace with real implementation for
6244 __gconv_transliterate.
6245 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
6246 * iconv/gconv.c: Change calls to downstream functions once again.
6247 Use NULL for the fifth parameter instead of pointer to output buffer.
6248 * libio/iofwide.c: Likewise.
6249 * wcsmbs/btowc.c: Likewise.
6250 * wcsmbs/mbrtowc.c: Likewise.
6251 * wcsmbs/mbsnrtowcs.c: Likewise.
6252 * wcsmbs/mbsrtowcs.c: Likewise.
6253 * wcsmbs/wcrtomb.c: Likewise.
6254 * wcsmbs/wcsnrtombs.c: Likewise.
6255 * wcsmbs/wcsrtombs.c: Likewise.
6256 * wcsmbs/wctob.c: Likewise.
6257 * iconv/gconv_simple.c: Remove two parameters from error handling
6259 * iconvdata/8bit-gap.c: Likewise.
6260 * iconvdata/8bit-generic.c: Likewise.
6261 * iconvdata/ansi_x3.110.c: Likewise.
6262 * iconvdata/big5.c: Likewise.
6263 * iconvdata/big5hkscs.c: Likewise.
6264 * iconvdata/euc-cn.c: Likewise.
6265 * iconvdata/euc-jp.c: Likewise.
6266 * iconvdata/euc-kr.c: Likewise.
6267 * iconvdata/euc-tw.c: Likewise.
6268 * iconvdata/gbgbk.c: Likewise.
6269 * iconvdata/gbk.c: Likewise.
6270 * iconvdata/iso-2022-cn.c: Likewise.
6271 * iconvdata/iso-2022-jp.c: Likewise.
6272 * iconvdata/iso-2022-kr.c: Likewise.
6273 * iconvdata/iso646.c: Likewise.
6274 * iconvdata/iso8859-1.c: Likewise.
6275 * iconvdata/iso_6937-2.c: Likewise.
6276 * iconvdata/iso_6937.c: Likewise.
6277 * iconvdata/johab.c: Likewise.
6278 * iconvdata/sjis.c: Likewise.
6279 * iconvdata/t.61.c: Likewise.
6280 * iconvdata/uhc.c: Likewise.
6281 * iconvdata/unicode.c: Likewise.
6282 * iconvdata/utf-16.c: Likewise.
6284 2000-06-15 Greg McGary <greg@mcgary.org>
6286 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
6287 of callnum assignment. Tolerate callnum expressions containing
6290 2000-06-14 Ulrich Drepper <drepper@redhat.com>
6292 * login/Makefile (utmpd): Remove rule to build utmpd.
6294 * csu/Versions: Move libgcc frame handling functions from here...
6295 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
6296 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
6297 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
6298 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
6299 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
6300 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
6302 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
6304 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
6306 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
6308 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6310 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
6312 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
6313 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
6314 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
6315 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
6317 2000-06-14 Jakub Jelinek <jakub@redhat.com>
6319 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
6320 defined, terminate quotes and read them after the comment char.
6321 * configure.in (HAVE_SECTION_QUOTES): Test whether
6322 __attribute__((section ("x"))) puts quotes around x or not.
6323 * config.h.in (HAVE_SECTION_QUOTES): Add.
6324 * configure: Rebuilt.
6326 2000-06-14 Andreas Jaeger <aj@suse.de>
6328 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
6329 depending on the configure option --sysconfdir.
6330 Closes PR libc/1762.
6331 Patch by Andreas Schwab <schwab@suse.de>.
6333 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
6335 Reported by Jim Pick <jim@jimpick.com>.
6337 2000-06-14 Ulrich Drepper <drepper@redhat.com>
6339 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
6340 crashing the application. Emit some simple error message.
6341 Reported by mju@panasas.com [PR libc/1769].
6343 2000-06-13 Ulrich Drepper <drepper@redhat.com>
6345 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
6347 * crypt/Makefile (distribute): Add md5.h.
6349 * Makefile (distribute): Add include/shlib-compat.h.
6351 * Make-dist: Search for tests also in sysdeps hierachy.
6353 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
6354 ufc.c, speeds.c, README.ufc-crypt, and Banner.
6356 * sysdeps/sparc/Subdirs: New file.
6358 * locale/Makefile (distribute): Add weightwc.h and
6359 programs/localedef.h.
6361 * time/Makefile (distribute): Add datemsk.
6363 * sysdeps/ia64/Dist: Add softpipe.h.
6365 * sysdeps/unix/sysv/aix/Dist: New file.
6367 * posix/setpgrp.c: Moved to...
6368 * sysdeps/generic/setpgrp.c: ...here. New file.
6369 * io/mknod.c: Moved to...
6370 * sysdeps/generic/mknod.c: ...here. New file.
6372 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
6374 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
6376 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
6378 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
6379 gprsave0.S, gprrest1.S, and gprrest0.S.
6381 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
6383 * posix/Makefile (routines): Add spawnattr_getsigmask,
6384 spawnattr_getschedpolicy, spawnattr_getschedparam,
6385 spawnattr_setsigmask, spawnattr_setschedpolicy, and
6386 spawnattr_setschedparam.
6387 * posix/Versions: Add posix_spawnattr_getschedpolicy,
6388 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
6389 posix_spawnattr_setschedparam.
6391 * posix/spawnattr_setschedparam.c: Fix typo.
6393 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
6396 * login/programs/utmpd.c: Removed.
6397 * login/programs/utmpd.h: Removed.
6398 * login/programs/utmpd-private.h: Removed.
6400 * Makefile (distribute): Add include/db_185.h and include/db.h.
6402 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
6405 * elf/Makefile (distribute): Add missing files.
6407 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
6408 * elf/eval.c: Moved to...
6409 * dlfcn/eval.c: ...here. New file.
6411 * Makefile (distribute): Also distribute ChangeLog.1?.
6413 * Make-dist (+tsrcs): Remove .args handling here as well.
6415 * rt/Makefile (tests): Add tst-timer.
6416 * sysdeps/generic/tst-timer.c: New file.
6418 * Makerules (sources): Don't add BP sources here.
6420 * login/Makefile (distribute): Remove xtmp.h.
6422 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
6423 is true. Reported by Bruno Haible <haible@ilog.fr>.
6425 2000-06-13 Andreas Jaeger <aj@suse.de>
6427 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
6428 Patch by Ralf Baechle <ralf@gnu.org>.
6430 2000-06-13 Ulrich Drepper <drepper@redhat.com>
6432 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
6433 for mincore syscall.
6435 * misc/sys/cdefs.h: Define __bounded and __unbounded if
6436 __BOUNDED_POINTERS__ is not defined.
6438 2000-06-07 Greg McGary <greg@mcgary.org>
6440 * sysdeps/generic/bp-sym.h: New file.
6441 * sysdeps/generic/bp-start.h: New file.
6442 * sysdeps/i386/elf/start.S: Designate BP symbols.
6443 * sysdeps/generic/libc-start.c: Wrap bounds around
6444 argv & envp and each of their string members.
6446 2000-06-07 Greg McGary <greg@mcgary.org>
6448 * sysdeps/unix/make-syscalls.sh: Add comments to
6449 output that aid debugging & comprehension.
6450 Map simple syscall signatures to number of args.
6451 Generate BP syscall thunk definitions.
6452 * sysdeps/generic/bp-thunks.h: New file.
6453 * sysdeps/unix/syscalls.list: Replace arg-count with
6454 simple return+arg signature.
6455 * sysdeps/unix/common/syscalls.list: Likewise.
6456 * sysdeps/unix/inet/syscalls.list: Likewise.
6457 * sysdeps/unix/mman/syscalls.list: Likewise.
6458 * sysdeps/unix/sysv/syscalls.list: Likewise.
6459 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6460 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
6462 2000-06-07 Greg McGary <greg@mcgary.org>
6464 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
6465 for all files *.[cS].
6466 (CFLAGS-.ob): Don't optimize sibling calls.
6467 (bppfx): New variable.
6468 * Makerules (elide-bp-thunks): New variable.
6469 (elide-routines.*): Elide BP-* files for all but *.ob.
6470 (sources): Include bp-thunks.
6472 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6474 * iconv/gconv_simple.c: Remove unnecessary prototype.
6476 * iconv/gconv_trans.c: Pretty print.
6478 * elf/elf.h (R_SH_NUM): Got accidently dropped.
6480 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
6481 minimal kernel versions. Add information about IA-64 kernel.
6483 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
6484 specific minimal supported kernel versions to be specified.
6486 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
6487 step data structure.
6488 * wcsmbs/btowc.c: Likewise.
6489 * wcsmbs/mbrtowc.c: Likewise.
6490 * wcsmbs/mbsnrtowcs.c: Likewise.
6491 * wcsmbs/mbsrtowcs.c: Likewise.
6492 * wcsmbs/wcrtomb.c: Likewise.
6493 * wcsmbs/wcsnrtombs.c: Likewise.
6494 * wcsmbs/wcsrtombs.c: Likewise.
6495 * wcsmbs/wctob.c: Likewise.
6497 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
6498 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
6500 * shlib-versions: Earliest backward compatible version for SH is 2.2.
6502 * misc/sys/cdefs.h: Remove one more __P.
6504 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
6507 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
6508 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
6509 * sysdeps/sh/bits/setjmp.h: ...here. New file.
6511 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6512 Yutaka Niibe <gniibe@chroot.org>
6514 * configure.in: Add machine sh3, sh4.
6515 * elf/elf.h: Add SH specific declarations of relocations.
6516 * shlib-versions: Add sh*-*-linux* cases.
6518 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6520 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
6521 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
6522 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
6523 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
6524 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
6525 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
6527 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
6528 instead of KERNEL_MATH_EMULATION.
6529 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
6530 KERNEL_MATH_EMULATION.
6532 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
6533 * sysdeps/sh/sh3/dl-machine.h: Moved to...
6534 * sysdeps/sh/dl-machine.h: ...here. New file.
6535 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
6536 and include generic SH version.
6537 * sysdeps/sh/sh3/bits/endian.h: Move to...
6538 * sysdeps/sh/bits/endian.h: ...here. New file.
6539 * sysdeps/sh/sh4/bits/endian.h: Removed.
6540 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
6541 * sysdeps/sh/bits/huge_val.h: ...here. New file.
6542 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
6544 * include/libc-symbols.h (link_warning): Work around a change in
6545 GAS which warns about changing section attributes.
6546 Proposed by Nick Clifton <nickc@redhat.com>.
6548 2000-06-12 H.J. Lu <hjl@gnu.org>
6550 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
6552 2000-06-11 H.J. Lu <hjl@gnu.org>
6554 * sysdeps/i386/fpu/Versions: New file.
6556 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6558 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
6560 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
6563 2000-06-12 Jes Sorensen <jes@linuxcare.com>
6565 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
6566 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
6567 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
6569 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
6570 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
6571 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
6573 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6574 Yutaka Niibe <gniibe@chroot.org>
6576 * sysdeps/sh/Dist: New file.
6577 * sysdeps/sh/Implies: New file.
6578 * sysdeps/sh/elf/initfini.c: New file.
6579 * sysdeps/sh/gmp-mparam.h: New file.
6580 * sysdeps/sh/init-first.c: New file.
6581 * sysdeps/sh/machine-gmon.h: New file.
6582 * sysdeps/sh/memcpy.S: New file.
6583 * sysdeps/sh/memprof.h: New file.
6584 * sysdeps/sh/memset.S: New file.
6585 * sysdeps/sh/sh3/__longjmp.S: New file.
6586 * sysdeps/sh/sh3/bits/endian.h: New file.
6587 * sysdeps/sh/sh3/bits/huge_val.h: New file.
6588 * sysdeps/sh/sh3/bits/setjmp.h: New file.
6589 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
6590 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
6591 * sysdeps/sh/sh3/dl-machine.h: New file.
6592 * sysdeps/sh/sh3/setjmp.S: New file.
6593 * sysdeps/sh/sh4/__longjmp.S: New file.
6594 * sysdeps/sh/sh4/bits/endian.h: New file.
6595 * sysdeps/sh/sh4/bits/huge_val.h: New file.
6596 * sysdeps/sh/sh4/bits/setjmp.h: New file.
6597 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
6598 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
6599 * sysdeps/sh/sh4/dl-machine.h: New file.
6600 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
6601 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
6602 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
6603 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
6604 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
6605 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
6606 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
6607 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
6608 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
6609 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
6610 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
6611 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
6612 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
6613 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
6614 * sysdeps/sh/sh4/setjmp.S: New file.
6615 * sysdeps/sh/elf/start.S: New file.
6616 * sysdeps/sh/sys/ucontext.h: New file.
6617 * sysdeps/sh/strlen.S: New file.
6618 * sysdeps/sh/sysdep.h: New file.
6619 * sysdeps/unix/sh/sysdep.S: New file.
6620 * sysdeps/unix/sh/sysdep.h: New file.
6621 * sysdeps/unix/sysv/linux/sh/Dist: New file.
6622 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
6623 * sysdeps/unix/sysv/linux/sh/Versions: New file.
6624 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
6625 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
6626 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
6627 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
6628 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
6629 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
6630 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
6631 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
6632 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
6633 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
6634 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
6635 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
6636 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
6637 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
6638 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
6639 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
6640 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
6641 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
6642 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
6643 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
6644 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
6645 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
6646 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
6647 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
6648 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
6649 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
6650 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
6651 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
6652 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
6653 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
6654 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
6655 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
6656 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
6657 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
6658 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
6659 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
6660 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
6661 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
6662 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
6663 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
6664 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6665 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
6666 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
6667 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
6668 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
6669 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
6670 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
6672 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6674 * Rules (%.out): Define GCONV_PATH in the environment.
6675 * assert/Depend: New file.
6676 * iconvdata/Depend: New file.
6677 * intl/Depend: New file.
6678 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
6679 * intl/tst-gettext.sh: Likewise.
6680 * iconv/Makefile (routines): Add gconv_trans.
6681 * iconv/gconv_trans.c: New file.
6682 * iconv/gconv.h (struct __gconv_trans_data): New type.
6683 (__gconv_fct): New parameter with starting position in output buffer.
6684 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
6685 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
6686 (struct __gconv_step): Add new member __trans.
6687 * iconv/gconv_int.h: Pretty print prototypes.
6688 (gconv_transliterate): New prototype.
6689 (__BUILTIN_TRANS): Update for new conversion function interface.
6690 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
6691 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
6692 in names, find appropriate function, and install in the conversion
6693 steps it can be used.
6694 * iconv/skeleton.c: Add additional parameter for beginning of output
6695 buffer. Change calls of downstream functions.
6696 * iconv/loop.c: Change loop function interface completely. Pass in
6697 step and step_data structure. Remove optimization for BODY with
6698 NEED_LENGTH_TEST == 0.
6699 * iconv/gconv_simple.c: Update interfaces of functions. Insert
6700 appropriate error handling code to use transliteration steps. Remove
6701 optimization for BODY with NEED_LENGTH_TEST == 0.
6702 * iconvdata/8bit-gap.c: Likewise.
6703 * iconvdata/8bit-generic.c: Likewise.
6704 * iconvdata/ansi_x3.110.c: Likewise.
6705 * iconvdata/big5.c: Likewise.
6706 * iconvdata/big5hkscs.c: Likewise.
6707 * iconvdata/euc-cn.c: Likewise.
6708 * iconvdata/euc-jp.c: Likewise.
6709 * iconvdata/euc-kr.c: Likewise.
6710 * iconvdata/euc-tw.c: Likewise.
6711 * iconvdata/gbgbk.c: Likewise.
6712 * iconvdata/gbk.c: Likewise.
6713 * iconvdata/iso-2022-cn.c: Likewise.
6714 * iconvdata/iso-2022-jp.c: Likewise.
6715 * iconvdata/iso-2022-kr.c: Likewise.
6716 * iconvdata/iso646.c: Likewise.
6717 * iconvdata/iso8859-1.c: Likewise.
6718 * iconvdata/iso_6937-2.c: Likewise.
6719 * iconvdata/iso_6937.c: Likewise.
6720 * iconvdata/johab.c: Likewise.
6721 * iconvdata/sjis.c: Likewise.
6722 * iconvdata/t.61.c: Likewise.
6723 * iconvdata/uhc.c: Likewise.
6724 * iconvdata/unicode.c: Likewise.
6725 * iconvdata/utf-16.c: Likewise.
6726 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
6728 * wcsmbs/btowc.c: Likewise.
6729 * wcsmbs/mbrtowc.c: Likewise.
6730 * wcsmbs/mbsnrtowcs.c: Likewise.
6731 * wcsmbs/mbsrtowcs.c: Likewise.
6732 * wcsmbs/wcrtomb.c: Likewise.
6733 * wcsmbs/wcsnrtombs.c: Likewise.
6734 * wcsmbs/wcsrtombs.c: Likewise.
6735 * wcsmbs/wctob.c: Likewise.
6737 2000-04-11 Geoff Keating <geoffk@cygnus.com>
6739 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
6740 other header files. Mention about 128-byte cache line sizes.
6741 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
6742 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
6743 for current calling sequence.
6744 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
6746 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
6747 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6749 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
6750 and setrlimit syscalls for backwards compatibility.
6752 2000-06-10 Ulrich Drepper <drepper@redhat.com>
6754 * iconv/skeleton.c: Rename converted written to correcter name
6756 * iconv/gconv.c: Rename converted variable to correcter name
6758 * iconv/gconv_int.h: Likewise.
6759 * iconv/gconv_simple.c: Likewise.
6760 * iconv/iconv.c: Likewise.
6761 * iconv/loop.c: Likewise.
6762 * iconvdata/8bit-gap.c: Likewise.
6763 * iconvdata/8bit-generic.c: Likewise.
6764 * iconvdata/ansi_x3.110.c: Likewise.
6765 * iconvdata/big5.c: Likewise.
6766 * iconvdata/big5hkscs.c: Likewise.
6767 * iconvdata/euc-cn.c: Likewise.
6768 * iconvdata/euc-jp.c: Likewise.
6769 * iconvdata/euc-kr.c: Likewise.
6770 * iconvdata/gbgbk.c: Likewise.
6771 * iconvdata/gbk.c: Likewise.
6772 * iconvdata/iso-2022-cn.c: Likewise.
6773 * iconvdata/iso-2022-jp.c: Likewise.
6774 * iconvdata/iso-2022-kr.c: Likewise.
6775 * iconvdata/iso646.c: Likewise.
6776 * iconvdata/iso8859-1.c: Likewise.
6777 * iconvdata/iso_6937-2.c: Likewise.
6778 * iconvdata/iso_6937.c: Likewise.
6779 * iconvdata/johab.c: Likewise.
6780 * iconvdata/sjis.c: Likewise.
6781 * iconvdata/t.61.c: Likewise.
6782 * iconvdata/uhc.c: Likewise.
6783 * iconvdata/unicode.c: Likewise.
6784 * iconvdata/utf-16.c: Likewise.
6786 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
6787 __cmsg_data field with __extension__.
6789 2000-06-10 David Mosberger <davidm@hpl.hp.com>
6791 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
6793 2000-06-10 Ulrich Drepper <drepper@redhat.com>
6795 * iconv/gconv_simple.c: Fix various small bugs in several
6798 * iconv/loop.c: Fix comment.
6800 2000-06-10 Jakub Jelinek <jakub@redhat.com>
6802 * elf/link.h: Remove libc internal declarations.
6803 * include/link.h: Move them here.
6805 2000-06-09 Ulrich Drepper <drepper@redhat.com>
6807 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
6808 Patch by Dan Pop <Dan.Pop@cern.ch>.
6810 Rewrite error message handling.
6811 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
6813 * elf/dl-error (struct catch): Add objname member.
6814 (_dl_signal_error): Take new parameter with object name. When
6815 passing message on simply store object name and duplicate error
6817 (_dl_catch_error): Take new parameter. Store object name in the
6819 * include/dlfcn.h: Adjust _dl_catch_error prototype.
6820 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
6821 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
6822 (dlerror): Add objname to asprintf() parameters.
6823 (_dl_error_run): Pass new parameter to _dl_catch_error.
6824 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
6825 * elf/dl-open.c (_dl_open): Likewise.
6826 * elf/rtld.c (dl_main): Likewise.
6827 * elf/dl-close.c: Mark error messages with N_().
6828 * elf/dl-deps.c: Likewise.
6829 * elf/dl-error.c: Likewise.
6830 * elf/dl-load.c: Likewise.
6831 * elf/dl-open.c: Likewise.
6832 * elf/dl-reloc.c: Likewise.
6833 * elf/dl-support.c: Likewise.
6834 * elf/dl-sym.c: Likewise.
6835 * elf/dl-version.c: Likewise.
6836 * elf/dl-lookup.c: Add comments about problems with error message
6838 * elf/dl-reloc.c: Likewise.
6839 * elf/dl-version.c: Likewise.
6841 2000-06-09 H.J. Lu <hjl@gnu.org>
6843 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
6846 * dlfcn/Makefile (distribute): Add failtestmod.c.
6847 (tests): Add failtest.
6848 Add rules to build and run failtest.
6849 * dlfcn/failtest.c: New file.
6850 * dlfcn/failtestmod.c: New file.
6852 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
6854 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
6855 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
6856 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
6857 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
6858 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
6860 2000-06-09 Jes Sorensen <jes@linuxcare.com>
6862 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
6863 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
6865 2000-06-09 Jes Sorensen <jes@linuxcare.com>
6866 Ulrich Drepper <drepper@redhat.com>
6868 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
6869 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
6870 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
6871 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
6872 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
6873 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
6875 2000-06-09 Ulrich Drepper <drepper@redhat.com>
6877 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
6878 to find correct mount point despite wrong information from the
6881 2000-06-09 Jes Sorensen <jes@linuxcare.com>
6883 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
6884 the address of a symbol so function pointers are handled properly.
6886 2000-06-08 Ulrich Drepper <drepper@redhat.com>
6888 * sysdeps/i386/Dist: Add bp-asm.h.
6890 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
6891 defaultdir variable instead of "/var/shm" everywhere.
6892 (defaultdir): Change to /dev/shm/.
6894 2000-06-08 Greg McGary <greg@mcgary.org>
6896 * sysdeps/i386/bp-asm.h: New file.
6897 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
6898 offsets. Add ENTER/LEAVE macros for optionally maintaining
6899 frame-pointer chain when debugging.
6900 * sysdeps/i386/add_n.S: Likewise.
6901 * sysdeps/i386/addmul_1.S: Likewise.
6902 * sysdeps/i386/lshift.S: Likewise.
6903 * sysdeps/i386/memchr.S: Likewise.
6904 * sysdeps/i386/memcmp.S: Likewise.
6905 * sysdeps/i386/mul_1.S: Likewise.
6906 * sysdeps/i386/rawmemchr.S: Likewise.
6907 * sysdeps/i386/rshift.S: Likewise.
6908 * sysdeps/i386/stpcpy.S: Likewise.
6909 * sysdeps/i386/stpncpy.S: Likewise.
6910 * sysdeps/i386/strchr.S: Likewise.
6911 * sysdeps/i386/strchrnul.S: Likewise.
6912 * sysdeps/i386/strcspn.S: Likewise.
6913 * sysdeps/i386/strpbrk.S: Likewise.
6914 * sysdeps/i386/strrchr.S: Likewise.
6915 * sysdeps/i386/strspn.S: Likewise.
6916 * sysdeps/i386/strtok.S: Likewise.
6917 * sysdeps/i386/sub_n.S: Likewise.
6918 * sysdeps/i386/submul_1.S: Likewise.
6919 * sysdeps/i386/elf/setjmp.S: Likewise.
6920 * sysdeps/i386/i486/strcat.S: Likewise.
6921 * sysdeps/i386/i486/strlen.S: Likewise.
6922 * sysdeps/i386/i586/add_n.S: Likewise.
6923 * sysdeps/i386/i586/lshift.S: Likewise.
6924 * sysdeps/i386/i586/memcpy.S: Likewise.
6925 * sysdeps/i386/i586/memset.S: Likewise.
6926 * sysdeps/i386/i586/rshift.S: Likewise.
6927 * sysdeps/i386/i586/strchr.S: Likewise.
6928 * sysdeps/i386/i586/strcpy.S: Likewise.
6929 * sysdeps/i386/i586/strlen.S: Likewise.
6930 * sysdeps/i386/i586/sub_n.S: Likewise.
6931 * sysdeps/i386/i686/add_n.S: Likewise.
6932 * sysdeps/i386/i686/memcpy.S: Likewise.
6933 * sysdeps/i386/i686/mempcpy.S: Likewise.
6934 * sysdeps/i386/i686/memset.S: Likewise.
6935 * sysdeps/i386/i686/strcmp.S: Likewise.
6937 2000-06-08 Ulrich Drepper <drepper@redhat.com>
6939 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
6941 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
6942 256 and don't use OPEN_MAX.
6944 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
6945 use it instead of LINK_MAX.
6946 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
6948 2000-06-08 Andreas Jaeger <aj@suse.de>
6950 * libio/genops.c (_IO_list_lock): Only compile body if we're
6952 (_IO_list_unlock): Likewise.
6953 (_IO_list_resetlock): Likewise.
6955 2000-06-07 Ulrich Drepper <drepper@redhat.com>
6957 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
6958 unless user defined it.
6960 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
6961 if not defined by the user.
6963 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
6964 * libio/iofwrite.c (_IO_fwrite): Likewise.
6966 * time/time.h: Add missing __THROW for clock_getcpuclockid
6969 * elf/Makefile (distribute): Add dl-dtprocnum.h.
6970 * include/elf.h: Include also <dl-dtprocnum.h>.
6971 * elf/dl-deps.c: Likewise.
6972 * elf/dl-lookup.c: Likewise.
6973 * elf/dl-runtime.c: Likewise.
6974 * elf/dl-version.c: Likewise.
6975 * elf/do-rel.h: Likewise.
6976 * elf/dynamic-link.h: Likewise.
6977 * elf/link.h: Likewise.
6978 * elf/rtld.c: Likewise.
6979 * sysdeps/generic/dl-dtprocnum.h: New file.
6980 * sysdeps/ia64/dl-dtprocnum.h: New file.
6981 * sysdeps/mips/dl-dtprocnum.h: New file.
6982 * sysdeps/sparc/dl-dtprocnum.h: New file.
6984 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
6986 * elf/do-lookup.h: Add some __builtin_expect.
6988 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
6990 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
6991 (_dl_dynamic_weak): New variable.
6992 * elf/dl-support.c: Likewise.
6993 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
6994 * elf/do-lookup.h: If we find a weak definition treat it like a
6995 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
6996 case treat it like before.
6998 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
7000 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
7002 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
7003 using l_map_start and l_map_end.
7005 * elf/dl-version.c: Add __builtin_expect in many places.
7007 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
7010 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
7012 Lock for stdio stream list becomes global, for use in LinuxThreads.
7014 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
7015 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
7016 _IO_list_resetlock): New interface for iterating global list of
7017 streams without accessing the _IO_list_all global variable,
7018 and for manipulating the lock which protects this list.
7019 * libio/libioP.h: Likewise.
7020 * libio/Version: Add entries for the new functions.
7022 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
7023 pointer to _IO_FILE.
7025 2000-06-07 Ulrich Drepper <drepper@redhat.com>
7027 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
7028 BIT() must actually be BITw().
7030 * locale/programs/ld-ctype.c: Handle SP and space consistently.
7032 * locale/programs/charmap.c: Allow string arguments for
7033 code_set_name and repertoiremap.
7035 2000-06-07 Andreas Jaeger <aj@suse.de>
7037 * elf/Makefile: Build ldconfig only when building shared libraries.
7039 2000-06-07 Jakub Jelinek <jakub@redhat.com>
7041 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
7043 (fdimf, __fdim, fdim): Likewise.
7045 2000-06-07 Ulrich Drepper <drepper@redhat.com>
7047 * locale/findlocale.c: Add __builtin_expect in many places.
7048 * locale/loadlocale.c: Likewise.
7050 2000-06-06 Greg McGary <greg@mcgary.org>
7052 * sysdeps/mips/elf/start.S: Trim redundant code.
7054 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
7055 Use C comments throughout. Line up operands column with tabs.
7056 * sysdeps/powerpc/strchr.S: Likewise.
7057 * sysdeps/powerpc/strcmp.S: Likewise.
7058 * sysdeps/powerpc/strcpy.S: Likewise.
7059 * sysdeps/powerpc/strlen.S: Likewise.
7061 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
7062 Get low part of &__curbrk with @l.
7064 2000-06-06 Ulrich Drepper <drepper@redhat.com>
7066 * iconvdata/utf-16.c: Add __builtin_expect in many places.
7067 * iconvdata/unicode.c: Likewise.
7068 * iconvdata/uhc.c: Likewise.
7069 * iconvdata/t.61.c: Likewise.
7070 * iconvdata/sjis.c: Likewise.
7071 * iconvdata/johab.c: Likewise.
7072 * iconvdata/iso_6937.c: Likewise.
7073 * iconvdata/iso_6937-2.c: Likewise.
7074 * iconvdata/iso8859-1.c: Likewise.
7075 * iconvdata/iso646.c: Likewise.
7076 * iconvdata/iso-2022-kr.c: Likewise.
7077 * iconvdata/iso-2022-jp.c: Likewise.
7078 * iconvdata/iso-2022-cn.c: Likewise.
7079 * iconvdata/gbgbk.c: Likewise.
7080 * iconvdata/gbk.c: Likewise.
7081 * iconvdata/euc-kr.c: Likewise.
7082 * iconvdata/euc-jp.c: Likewise.
7083 * iconvdata/euc-cn.c: Likewise.
7085 2000-06-05 Ulrich Drepper <drepper@redhat.com>
7087 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
7088 * iconvdata/big5.c: Likewise.
7089 * iconvdata/ansi_x3.110.c: Likewise.
7090 * iconvdata/8bit-generic.c: Likewise.
7091 * iconvdata/8bit-gap.c: Likewise.
7092 * iconv/loop.c: Likewise.
7093 * iconv/gconv_db.c: Likewise.
7094 * iconv/gconv_dl.c: Likewise.
7095 * iconv/gconv_simple.c: Likewise.
7096 * iconv/skeleton.c: Likewise.
7098 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
7099 (struct __gconv_step_data): Rename __is_last to __flags.
7100 * iconv/gconv_close.c: Change all uses of __is_last.
7101 * iconv/skeleton.c: Likewise.
7102 * iconvdata/iso-2022-cn.c: Likewise.
7103 * iconvdata/iso-2022-jp.c: Likewise.
7104 * iconvdata/iso-2022-kr.c: Likewise.
7105 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
7106 Recognize IGNORE error handling, set flag, and remove from name.
7107 * iconv/loop.c (ignore_errors_p): Define.
7108 Add flags parameter to both functions.
7109 * iconv/skeleton.c: Pass flags to all conversion functions.
7110 * iconv/gconv_simple.c: Add flags parameter to all functions.
7111 Don't return error for invald error if ignore flag is set.
7112 (ucs4_internal_loop_single): Add missing pointer increment.
7113 (internal_ucs4le_loop_single): Likewise.
7114 * iconv/iconv_prog.c: Implement handling of -c parameter.
7115 * iconvdata/8bit-gap.c: Don't return error for invald error if
7117 * iconvdata/8bit-generic.c: Likewise.
7118 * iconvdata/ansi_x3.110.c: Likewise.
7119 * iconvdata/big5.c: Likewise.
7120 * iconvdata/big5hkscs.c: Likewise.
7121 * iconvdata/euc-cn.c: Likewise.
7122 * iconvdata/euc-jp.c: Likewise.
7123 * iconvdata/euc-kr.c: Likewise.
7124 * iconvdata/gbgbk.c: Likewise.
7125 * iconvdata/gbk.c: Likewise.
7126 * iconvdata/iso-2022-cn.c: Likewise.
7127 * iconvdata/iso-2022-jp.c: Likewise.
7128 * iconvdata/iso-2022-kr.c: Likewise.
7129 * iconvdata/iso646.c: Likewise.
7130 * iconvdata/iso8859-1.c: Likewise.
7131 * iconvdata/iso_6937-2.c: Likewise.
7132 * iconvdata/iso_6937.c: Likewise.
7133 * iconvdata/johab.c: Likewise.
7134 * iconvdata/sjis.c: Likewise.
7135 * iconvdata/t.61.c: Likewise.
7136 * iconvdata/uhc.c: Likewise.
7137 * iconvdata/unicode.c: Likewise.
7138 * iconvdata/utf-16.c: Likewise.
7139 * libio/fileops.c: Likewise.
7140 * libio/iofwide.c: Likewise.
7141 * wcsmbs/btowc.c: Likewise.
7142 * wcsmbs/mbrtowc.c: Likewise.
7143 * wcsmbs/mbsnrtowcs.c: Likewise.
7144 * wcsmbs/mbsrtowcs.c: Likewise.
7145 * wcsmbs/wcrtomb.c: Likewise.
7146 * wcsmbs/wcsnrtombs.c: Likewise.
7147 * wcsmbs/wcsrtombs.c: Likewise.
7148 * wcsmbs/wctob.c: Likewise.
7150 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
7153 2000-06-04 Ulrich Drepper <drepper@redhat.com>
7155 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
7156 counter for the object we are releasing, just decrement it.
7157 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
7159 2000-06-04 Jakub Jelinek <jakub@redhat.com>
7161 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
7164 2000-06-04 Ulrich Drepper <drepper@redhat.com>
7166 * iconvdata/big5hkscs.c: New file.
7167 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
7169 * iconvdata/gconv-modules: Add entry for new module.
7170 * iconvdata/Makefile (modules): Add BIG5HKSCS.
7171 (distribute): Add big5hkscs.c.
7173 2000-06-01 Jakub Jelinek <jakub@redhat.com>
7175 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
7176 inlines to match prototypes in mathcalls.h.
7177 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
7178 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
7179 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
7180 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7182 2000-06-03 Ulrich Drepper <drepper@redhat.com>
7184 * elf/elf.h (SHT_SUNW_move): Define.
7186 * elf/elf.h: Add more Solaris compatiblity definitions.
7188 2000-06-03 Andreas Jaeger <aj@suse.de>
7190 * sysdeps/powerpc/dl-start.S: Close open comment.
7192 2000-06-03 Jakub Jelinek <jakub@redhat.com>
7194 * inet/Versions: Fix typo in rresvport_af export.
7196 2000-06-02 Ulrich Drepper <drepper@redhat.com>
7198 * math/tgmath.h: Pretty print.
7200 2000-06-02 Andreas Jaeger <aj@suse.de>
7202 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
7203 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7205 2000-06-02 Ulrich Drepper <drepper@redhat.com>
7207 * elf/rtld.c (process_envvars): Test for = after variable name.
7209 2000-06-01 Ulrich Drepper <drepper@redhat.com>
7211 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
7212 have extra call to __gmon_start__, use the pointer we already have.
7214 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
7217 * sysdeps/i386/elf/setjmp.S: Work around change is recent
7218 binutils. gas now emits a jump through the PLT instead of a
7219 relative jump if the jump target is an exported symbol.
7221 2000-05-31 Ulrich Drepper <drepper@redhat.com>
7223 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
7225 2000-05-31 Andreas Jaeger <aj@suse.de>
7227 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
7230 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
7231 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7233 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
7235 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
7237 2000-05-30 Ulrich Drepper <drepper@redhat.com>
7239 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
7241 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
7242 * locale/localeconv.c: Make function versioned (with same definition).
7244 * elf/Makefile (modules-names): Strip before using it.
7246 2000-05-30 Andreas Jaeger <aj@suse.de>
7248 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
7249 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
7250 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
7251 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
7252 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
7253 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
7255 2000-05-29 Ulrich Drepper <drepper@redhat.com>
7257 * Makefile: Add GNU make magic.
7259 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
7261 * inet/rcmd.c: Remove __P. Remove unused variables.
7262 (iruserfopen): Make first parameter const.
7263 (ruserok_sa): Return result of ruserok2_sa.
7264 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
7265 * inet/rexec.c: Remove unused variables. Other small cleanups.
7266 * inet/ruserpass.c: Remove __P. Remove unused variables.
7267 (ruserpass): Check results of memory allocation.
7268 * include/netdb.h: Add prototype for ruserpass.
7270 2000-05-29 Andreas Jaeger <aj@suse.de>
7272 * elf/readlib.c (interpreters): Use LD_SO since this is supported
7275 2000-05-29 Jakub Jelinek <jakub@redhat.com>
7277 * inet/rcmd.c (rresvport_af): Use correct port number.
7279 2000-05-26 Andreas Schwab <schwab@suse.de>
7281 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
7282 entries in all-sonames.
7283 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
7284 preserving the old name if different for compatibility.
7286 2000-05-29 Ulrich Drepper <drepper@redhat.com>
7288 * posix/Makefile (tests): Add tst-spawn.
7289 (tst-spawn-ARGS): New variable.
7290 * posix/tst-spawn.c: New file.
7292 * posix/spawn_faction_addclose.c: Correctly account for new entry.
7293 * posix/spawn_faction_adddup2.c: Likewise.
7294 * posix/spawn_faction_addopen.c: Likewise.
7295 * posix/spawni.c: Correctly test for success of dup2 calls.
7297 * posix/tst-preadwrite.c: Check success of malloc call.
7299 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7301 * posix/Makefile (tests): Add tst-exec.
7302 (tst-exec-ARGS): New variable.
7303 * posix/tst-exec.c: New file.
7305 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
7307 2000-05-04 Andreas Jaeger <aj@suse.de>
7309 * string/string.h: Remove __strdup prototype, it's not needed in
7312 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7314 * posix/Makefile (tests): Add tst-fork.
7315 * posix/tst-fork.c: New file.
7317 * resolv/inet_pton.c: Loose __P.
7319 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7321 * libio/libioP.h (_IO_CHECK_WIDE): Define.
7322 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
7323 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
7324 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
7325 _IO_CHECK_WIDE fails.
7327 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7329 * po/da.po: New file.
7331 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
7332 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
7334 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
7335 (Other iconv Implementations): Fix typo.
7336 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
7338 2000-05-27 Andreas Jaeger <aj@suse.de>
7340 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
7342 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
7343 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
7344 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7345 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7346 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
7347 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
7349 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
7350 endianness to decide how to pass arguments.
7351 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7353 * elf/vismain.c: Use test-skeleton interface.
7354 (TEST_FUNCTION): New macro.
7355 (do_test): Renamed from main.
7357 2000-05-27 Ulrich Drepper <drepper@redhat.com>
7359 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
7360 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
7362 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
7363 handling of AI_V4MAPPED flag.
7365 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
7366 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
7367 perform lookup for T_A type and tell getanswer_r to convert the
7368 result with new argument.
7369 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
7370 Don't convert addresses from IPv4 to IPv6 here.
7371 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
7372 IPv6 is wanted. Allow qtype and type from reply to disagree if
7373 IPv4 mapping has to be done. Perform mappings if required by the
7374 caller and not if RES_USE_INET6 bit in _res.options is set.
7375 Add several __builtin_expect.
7377 2000-05-26 Ulrich Drepper <drepper@redhat.com>
7379 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
7381 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
7384 * posix/tst-preadwrite.c: Allow parallel execution of
7385 tst-preadwrite and tst-preadwrite64.
7387 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
7388 * posix/tst-truncate.c: New file.
7389 * posix/tst-truncate64.c: New file.
7391 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
7394 * posix/Makefile (tests): Add tst-preadwrite64.
7395 * posix/tst-preadwrite.c: Alloc file being used also for testing
7396 pread64 and pwrite64.
7397 * posix/tst-preadwrite64.c: New file.
7399 2000-05-26 Andreas Jaeger <aj@suse.de>
7401 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
7402 of arguments dependend on endianness.
7403 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
7405 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
7407 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
7408 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
7409 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7410 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7412 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
7413 endianness to check how to pass argument.
7414 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7416 * elf/ldconfig.h: Update parameter list for process_elf_file.
7418 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
7419 Add parameter file_length and pass it ot process_elf*file.
7421 * sysdeps/generic/readelflib.c (check_ptr): New.
7422 (process_elf_file): Use check_ptr to check all accesses to the
7423 mmapped file. Add parameter file_length.
7425 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
7428 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
7429 Closes PR libc/1573, reported by Bradley White
7430 <bww@laurelnetworks.com>.
7432 2000-05-25 Ulrich Drepper <drepper@redhat.com>
7434 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
7435 __FAST_MATH__ is defined.
7437 2000-05-22 Andreas Jaeger <aj@suse.de>
7439 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
7440 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
7442 * manual/math.texi (FP Function Optimizations): Document gcc
7443 -ffast-math behaviour with mathinlines.
7445 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
7446 functions unless -ffast-math is given to gcc.
7448 2000-05-23 Jakub Jelinek <jakub@redhat.com>
7450 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
7451 __sincosl): Guard with __USE_GNU.
7453 2000-05-24 Ulrich Drepper <drepper@redhat.com>
7455 * csu/Makefile (routines): Add check_fds.
7456 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
7457 binaries. Add various __builtin_expect.
7458 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
7459 * sysdeps/generic/check_fds.c: ...here. New file.
7461 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
7462 binaries if file /etc/suid-debug is available.
7464 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
7465 and wcseqorder members.
7466 (struct locale_collate_t): Likewise.
7467 (collate_finish): Assign collation sequence value to each character.
7468 Create tables for output.
7469 (collate_output): Write out tables with collation sequence information.
7470 * locale/C-collate.c: Provide C locale data for collation sequence
7472 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
7473 _NL_COLLATE_COLLSEQWC.
7474 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
7475 _NL_COLLATE_COLLSEQWC.
7476 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
7477 include fnmatch_loop.c.
7478 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
7479 character is matched by range expression. Use collation sequence
7480 table. Outside glibc fall back on simple character value comparison.
7482 2000-05-24 Andreas Jaeger <aj@suse.de>
7484 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
7487 * intl/Makefile: Run gettext-test only if msgfmt is available.
7489 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
7490 Define it for newer kernels.
7492 2000-05-23 Ulrich Drepper <drepper@redhat.com>
7494 * elf/dl-sym.c: Minor cleanups.
7496 * configure.in: Add test for .protected.
7497 * config.make.in: Add have-protected variable.
7498 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
7499 (tests-vis-yes): Add vismain.
7500 (modules-names): Add $(modules-vis-$(have-protected)).
7501 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
7502 Add rules to generate and run vismain.
7503 * elf/vismain.c: New file.
7504 * elf/vismod1.c: New file.
7505 * elf/vismod2.c: New file.
7506 * elf/vismod3.c: New file.
7508 2000-05-23 Andreas Jaeger <aj@suse.de>
7510 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
7512 * manual/search.texi (Array Sort Function): Document that qsort is
7513 not necessarily in-place.
7515 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
7516 Closes PR libc/1731.
7518 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
7519 * dirent/scandir64.c: Likewise.
7520 * pwd/getpw.c: Likewise.
7521 * stdlib/bsearch.c (bsearch): Likewise.
7522 * stdlib/tst-strtoll.c: Likewise.
7523 * localedata/collate-test.c: Likewise.
7524 * localedata/xfrm-test.c: Likewise.
7525 * posix/bsd-getpgrp.c: Likewise.
7526 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
7527 * sysdeps/generic/bits/siginfo.h: Likewise.
7528 * sysdeps/generic/bits/sockaddr.h: Likewise.
7529 * sysdeps/generic/sys/swap.h: Likewise.
7530 * sysdeps/generic/sys/sysinfo.h: Likewise.
7531 * sysdeps/generic/vfork.c: Likewise.
7532 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
7533 * sysdeps/mach/hurd/fdopen.c: Likewise.
7534 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
7535 * sysdeps/unix/sysv/linux/poll.c: Likewise.
7536 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7537 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7538 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7539 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7540 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
7542 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
7543 * shadow/lckpwdf.c: Likewise.
7544 * stdlib/tst-strtol.c: Likewise.
7545 * sysdeps/generic/tcsetattr.c: Likewise.
7546 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7547 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7549 2000-05-22 Jakub Jelinek <jakub@redhat.com>
7551 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
7552 free it and set to (void *) -1.
7554 2000-05-22 Jakub Jelinek <jakub@redhat.com>
7556 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
7557 not the second character in the range.
7558 * stdio-common/tstscanf.c (main): Add testcase for the above.
7559 Reported by jik@kamens.brookline.ma.us.
7561 2000-05-21 H.J. Lu <hjl@gnu.org>
7563 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
7564 with noexec and noplt parameter.
7565 (do_lookup): Likewise.
7567 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
7568 do_lookup. Support STV_PROTECTED.
7569 (_dl_lookup_symbol_skip): Likewise.
7570 (_dl_lookup_versioned_symbol): Likewise.
7571 (_dl_lookup_versioned_symbol_skip): Likewise.
7573 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
7575 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
7577 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7579 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
7580 * sysdeps/i386/bits/huge_val.h: Likewise.
7581 * sysdeps/ieee754/bits/huge_val.h: Likewise.
7582 * sysdeps/m68k/bits/huge_val.h: Likewise.
7583 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
7584 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
7586 2000-05-22 Andreas Jaeger <aj@suse.de>
7588 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
7591 2000-05-19 Andreas Jaeger <aj@suse.de>
7593 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
7594 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
7595 breaks compilation without linuxthreads.
7597 2000-05-21 Ulrich Drepper <drepper@redhat.com>
7599 * sysdeps/ia64/memccpy.S: New file.
7600 * sysdeps/ia64/memchr.S: New file.
7601 * sysdeps/ia64/memcmp.S: New file.
7602 * sysdeps/ia64/memcpy.S: New file.
7603 * sysdeps/ia64/memmove.S: New file.
7604 * sysdeps/ia64/memset.S: New file.
7605 * sysdeps/ia64/strcat.S: New file.
7606 * sysdeps/ia64/strchr.S: New file.
7607 * sysdeps/ia64/strcmp.S: New file.
7608 * sysdeps/ia64/strcpy.S: New file.
7609 * sysdeps/ia64/strlen.S: New file.
7610 * sysdeps/ia64/strncmp.S: New file.
7611 * sysdeps/ia64/strncpy.S: New file.
7612 * sysdeps/ia64/softpipe.h: New file.
7613 Patches by Dan Pop <Dan.Pop@cern.ch>.
7615 * manual/memory.texi: Document memory handling functions (mlock,
7616 munlock, mlockall, munlockall, brk, and sbrk)
7617 * manual/time.texi: Document timespec and friends.
7618 * manual/conf.texi: Fix references.
7619 * manual/ctype.texi: Likewise.
7620 * manual/errno.texi: Likewise.
7621 * manual/intro.texi: Likewise.
7622 * manual/locale.texi: Likewise.
7623 * manual/sysinfo.texi: Likewise.
7624 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
7626 2000-05-09 Jes Sorensen <jes@linuxcare.com>
7628 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
7629 * sysdeps/ia64/dl-lookupcfg.h: ...here.
7631 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7633 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
7636 2000-05-21 Ulrich Drepper <drepper@redhat.com>
7638 * locale/locale.h (struct lconv): Add new elements from ISO C99.
7639 * locale/localeconv.c: Initialize new elements from ISO C99.
7640 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
7641 new standard elements.
7642 * locale/categories.def: Adjust accordingly.
7644 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
7645 * iconv/iconv.c: Likewise.
7646 * conform/data/iconv.h-data: Likewise.
7647 * iconv/iconv_prog.c (process_block): Remove const from second
7649 (main): Remove const from addr definition.
7650 * manual/charset.texi (Generic Conversion Interface): Remove from
7651 inbuf parameter of iconv.
7653 * intl/dcigettext.c: Fix typo in comment.
7655 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
7657 * resolv/res_libc.c (_res): Initialize _sock to -1.
7659 2000-05-18 Jakub Jelinek <jakub@redhat.com>
7661 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
7662 (fopencookie@@GLIBC_2.2): New.
7663 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
7664 (fopencookie@GLIBC_2.0): New.
7665 * libio/Versions: Add fopencookie to GLIBC_2.2.
7667 2000-05-18 Andreas Jaeger <aj@suse.de>
7669 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
7670 Closes PR libc/1731.
7672 * manual/arith.texi (Parsing of Integers): Fix typo.
7673 Closes PR libc/1744, reported by blp@gnu.org.
7675 2000-05-17 Jakub Jelinek <jakub@redhat.com>
7677 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
7678 __extension__ to hexadecimal floating constant notation.
7679 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
7681 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
7682 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
7684 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
7685 HUGE_VALL): Likewise.
7686 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
7687 HUGE_VALL): Likewise.
7688 (HUGE_VALL): Set to HUGE_VAL on sparc32.
7690 2000-05-17 Andreas Jaeger <aj@suse.de>
7692 * string/envz.h: Add pure attributes if possible.
7694 * string/argz.h: argz_count is a pure function.
7696 * string/strings.h: Add pure and const attributes if possible.
7698 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
7699 possibly searching through the whole memory.
7700 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
7702 2000-05-17 Jakub Jelinek <jakub@redhat.com>
7704 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
7706 (_dl_cache_check_flags): Likewise.
7707 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
7710 2000-05-17 Andreas Jaeger <aj@suse.de>
7712 * manual/creature.texi (Feature Test Macros): Remove paragraph
7713 since the description is wrong.
7714 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
7716 * scripts/config.sub: New version.
7717 * scripts/config.guess: Likewise.
7718 * manual/texinfo.tex: Likewise.
7720 * time/test_time.args: Removed.
7721 * time/Makefile (test_time-ARGS): Added contents here instead.
7723 * posix/tstgetopt.args: Removed.
7724 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
7726 * Rules: Allow arguments for test files to be specified in
7727 Makefile with testname-ARGS; remove rules with .args in it.
7729 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
7730 remove old bogus rule for opendir-tst1.args.
7732 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
7734 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
7735 into objdir. This allows a readonly sourcetree.
7736 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
7738 2000-05-16 Andreas Jaeger <aj@suse.de>,
7739 David Huggins-Daines <dhd@linuxcare.com>
7741 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
7742 cache_data in case of only new cache format correctly.
7744 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
7747 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
7748 struct cache_file_new.
7750 * elf/cache.c (save_cache): Fix str_offset if only new cache is
7753 * elf/cache.c (save_cache): Align struct new_file_cache.
7754 (print_cache): Likewise.
7756 2000-05-13 Jakub Jelinek <jakub@redhat.com>
7758 * elf/soinit.c (__libc_global_ctors): Move
7759 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
7760 * resolv/resolv.h (__res_state): Added __attribute__((const)).
7761 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
7762 variable, don't define it to __res_state call.
7764 2000-05-13 Andreas Jaeger <aj@suse.de>
7766 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
7768 (AF_PPPOX): Likewise.
7769 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
7770 (AF_PPPOX): Likewise.
7772 2000-05-12 Andreas Jaeger <aj@suse.de>
7774 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
7775 Reported by tmoestl@gmx.net, closes PR libc/1732.
7777 2000-05-11 Jan Hubicka <jh@suse.cz>
7779 * misc/sys/cdefs.h: Add support for pure attribute.
7781 * include/string.h: Add __attribute_pure__ to various functions.
7782 * string/string.h: Likewise.
7784 2000-05-10 Jakub Jelinek <jakub@redhat.com>
7786 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
7788 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7790 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
7792 2000-05-10 Jakub Jelinek <jakub@redhat.com>
7794 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
7795 at proper place. Compute the high nibble correctly.
7797 2000-05-09 Jakub Jelinek <jakub@redhat.com>
7799 * elf/ldconfig.c: Include elf.h.
7801 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
7802 (_dl_vsym): Likewise.
7803 Reported by Owen Taylor <otaylor@redhat.com>.
7805 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
7808 2000-05-08 Andreas Jaeger <aj@suse.de>
7810 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
7812 * intl/bindtextdom.c (set_binding_values): Add prototype.
7814 2000-05-08 Jakub Jelinek <jakub@redhat.com>
7816 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
7817 call to elf_machine_fixup_plt.
7818 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7819 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7821 2000-05-08 Jakub Jelinek <jakub@redhat.com>
7823 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
7824 they are not dlclose'd from underneath us.
7826 2000-05-08 Andreas Schwab <schwab@suse.de>
7828 * posix/execle.c: Fix size parameter of memcpy.
7830 2000-05-08 Andreas Schwab <schwab@suse.de>
7832 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
7833 getpagesize syscall if available.
7835 2000-05-08 Andreas Jaeger <aj@suse.de>
7837 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
7840 2000-05-08 Jakub Jelinek <jakub@redhat.com>
7842 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
7843 sizeof(struct link_map *) chunks, not in bytes.
7845 2000-05-07 Ulrich Drepper <drepper@redhat.com>
7847 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
7848 only needed for locale.
7849 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
7850 It's only needed for catgets.
7851 Patches by Greg McGary <gkm@eng.ascend.com>.
7853 2000-05-07 Mark Kettenis <kettenis@gnu.org>
7855 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
7856 Remove duplicate <errno.h> include. Remove inclusion of
7857 <libintl.h> and "nsswitch.h".
7858 (set_cloexec_flag): New function, broken out of dbopen.
7859 (dbopen): Changed return type to `enum
7860 nss_status'. Mostly rewritten to make sure that we do not report
7861 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
7862 (internal_setent): Change return type to nss_status.
7863 Document, and make sure that the function
7864 behaves accordingly. Make dynamically loading the database
7865 library really thread-safe and return NSS_STATUS_UNAVAIL if it
7867 (db_cursor): Return ENOMEM is memory allocation failed. Remove
7869 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
7871 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
7872 c_get function member.
7873 * nss/nss_db/nss_db.h: Add and tweak some comments.
7874 (DBT): Move typedef before NSS_DBC typedef.
7875 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
7877 2000-05-07 H.J. Lu <hjl@gnu.org>
7879 * csu/initfini.c: Moved to ....
7880 * sysdeps/generic/initfini.c: ...here.
7882 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
7884 2000-05-07 Ulrich Drepper <drepper@redhat.com>
7886 * manual/resource.texi: Document POSIX scheduling functions.
7887 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7889 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
7890 reading anything. Reported by Andries.Brouwer@cwi.nl.
7892 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
7893 for x since promotion in comparison might leads to unexpected
7894 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
7896 * iconv/Makefile (tests): Add tst-iconv1.
7897 * iconv/tst-iconv1.c: New file.
7898 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
7899 empty input buffer over full output buffer.
7900 (ucs4_internal_loop): Likewise.
7901 (ucs4_internal_loop_unaligned): Likewise.
7902 (internal_ucs4le_loop): Likewise.
7903 (internal_ucs4le_loop_unaligned): Likewise.
7904 (ucs4le_internal_loop): Likewise.
7905 (ucs4le_internal_loop_unaligned): Likewise.
7906 Reported by yaoz@nih.gov.
7908 2000-05-06 Bruno Haible <haible@clisp.cons.org>
7910 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
7911 returned != __GCONV_OK, there is nothing to clean up.
7913 2000-05-06 Bruno Haible <haible@clisp.cons.org>
7915 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
7916 OUTPUT_CHARSET environment variables.
7918 2000-05-06 Andreas Jaeger <aj@suse.de>
7920 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
7921 (struct cache_file_new): New.
7922 (struct file_entry): New (moved from cache.c).
7923 (struct cache_file): New (moved from cache.c).
7925 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
7926 from _dl_load_cache_lookup.
7927 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
7928 the different cache formats.
7929 New variable cache_new for new format.
7931 * elf/ldconfig.h: Change according to changes in cache.c and
7932 ldconfig.c; remove cache_libcmp; add opt_format.
7934 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
7935 stuff that's defined in those headers.
7936 Add hwcap to struct lib_entry.
7937 (opt_format): New variable to select cache format.
7938 (options): Add format parameter.
7939 (is_hwcap): New function.
7940 (path_hwcap): New function.
7941 (parse_opt): Handle new format parameter.
7942 (search_dir): Handle hwcap, search also subdirectories with hwcap.
7944 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
7945 ldconfig is part of glibc.
7946 Include dl-cache.h and remove stuff that's defined there.
7947 (struct cache_entry): Add new member hwcap.
7948 (print_entry): Print hwcap, cleanup a bit.
7949 (print_cache): Print new and old formats.
7950 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
7951 (save_cache): Save new and old formats.
7952 (add_to_cache): Handle hwcap.
7954 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
7955 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
7956 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
7957 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
7958 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
7959 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
7961 2000-05-05 Bruno Haible <haible@clisp.cons.org>
7963 * intl/dcigettext.c (alignof): New macro.
7964 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
7965 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
7968 2000-05-05 Bruno Haible <haible@clisp.cons.org>
7970 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
7973 2000-05-06 Ulrich Drepper <drepper@redhat.com>
7975 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
7976 (mempcpy): Correct typo is parameter list.
7978 2000-05-06 Andreas Jaeger <aj@suse.de>
7980 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
7981 functions unless -ffast-math is given to gcc.
7983 2000-05-06 Ulrich Drepper <drepper@redhat.com>
7985 * po/ko.po: Update from translation team.
7987 2000-05-05 Ulrich Drepper <drepper@redhat.com>
7989 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
7990 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
7991 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
7992 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
7993 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
7994 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
7996 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
7997 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
7998 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
8000 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
8001 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
8002 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
8003 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
8005 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
8006 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
8008 2000-05-05 Jes Sorensen <jes@linuxcare.com>
8010 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
8011 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
8013 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
8014 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
8016 * sysdeps/ia64/Implies: New file.
8017 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
8018 * sysdeps/ia64/Makefile: New file.
8019 * sysdeps/ia64/gmp-mparam.h: New file,
8021 * sysdeps/ia64/elf/start.S: New file.
8023 * sysdeps/ia64/bits/fenv.h: New file.
8025 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
8027 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
8029 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
8031 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
8032 ia64 has 64 bit .hash entries just as the Alpha.
8034 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
8036 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
8038 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
8040 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
8041 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
8042 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
8043 * sysdeps/ia64/fpu/fegetenv.c: New file.
8044 * sysdeps/ia64/fpu/fegetexcept.c: New file.
8045 * sysdeps/ia64/fpu/fegetround.c: New file.
8046 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
8047 * sysdeps/ia64/fpu/fesetenv.c: New file.
8048 * sysdeps/ia64/fpu/fesetround.c: New file.
8049 * sysdeps/ia64/fpu/feupdateenv.c: New file.
8050 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
8051 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
8052 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
8053 * sysdeps/ia64/fpu/ftestexcept.c: New file.
8055 2000-05-05 Andreas Jaeger <aj@suse.de>
8057 * misc/tst-tsearch.c (main): Correct type for initstate argument.
8059 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8060 (_dl_string_hwcap): New, does nothing.
8062 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8063 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8064 (_dl_string_hwcap): New function, converts from string to hwcap
8066 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
8067 (_DL_HWCAP_COUNT): New.
8068 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8069 (_dl_string_hwcap): New function, converts from string to hwcap
8071 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
8072 (_DL_HWCAP_COUNT): New.
8073 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8074 (_dl_string_hwcap): New function, converts from string to hwcap
8077 2000-05-05 Ulrich Drepper <drepper@redhat.com>
8079 * elf/Makefile (distribute): Add dl-lookupcfg.h.
8080 * sysdeps/ia64/Dist: New file.
8082 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
8083 parameter to mprotect and for variable assignments.
8085 2000-05-03 Jes Sorensen <jes@linuxcare.com>
8087 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
8088 validity of map before dereferencing it.
8090 * elf/dl-reloc.c (RESOLVE_MAP): Define.
8092 2000-05-02 Jes Sorensen <jes@linuxcare.com>
8094 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
8095 lookup to the arguments to elf_machine_fixup_plt().
8097 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
8098 of the symbol being resolved to input argument list and make the
8099 function return the pointer to the reloc.
8101 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
8102 return valuie to lookup_t and return the value.
8103 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
8104 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
8105 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
8106 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
8107 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
8108 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
8110 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
8111 Make it an inline function returning value after calling
8112 __elf_machine_fixup_plt().
8114 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
8117 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
8118 obtain the symbol address.
8120 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
8121 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
8123 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
8124 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
8127 2000-04-28 Jes Sorensen <jes@linuxcare.com>
8129 * elf/dl-runtime.c (fixup): Use the portable macros to get the
8130 symbol address of an object.
8132 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
8133 the symbol address of an object.
8135 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
8136 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
8137 (_dl_lookup_symbol_skip): Likewise.
8138 (_dl_lookup_versioned_symbol): Likewise.
8139 (_dl_lookup_versioned_symbol_skip): Likewise.
8141 2000-04-27 Jes Sorensen <jes@linuxcare.com>
8143 * elf/rtld.c (_dl_start): Get the function pointer return address
8144 via _dl_start_address for architectures that need a function
8145 pointer descriptor rather than just a pointer (ia64).
8147 * sysdeps/generic/dl-lookupcfg.h: New file.
8148 * sysdeps/ia64/dl-lookupcfg.h: New file.
8149 * sysdeps/ia64/dl-machine.h: New file.
8150 * sysdeps/ia64/dl-symaddr.c: New file.
8151 * sysdeps/ia64/dl-fptr.c: New file.
8153 * elf/elf.h: Add IA-64 specific definitions.
8155 2000-05-04 Jakub Jelinek <jakub@redhat.com>
8157 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
8160 2000-05-04 Jakub Jelinek <jakub@redhat.com>
8162 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
8165 2000-04-11 Geoff Keating <geoffk@cygnus.com>
8167 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
8168 symbol. Call _dl_init rather than the old way.
8170 2000-05-04 Ulrich Drepper <drepper@redhat.com>
8172 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
8173 test for pointer in range of DSO address space.
8175 2000-05-04 Andreas Jaeger <aj@suse.de>
8177 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
8179 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8181 * locale/findlocale.c (_nl_find_locale): Add new parameter to
8182 calls of _nl_make_l10nflist.
8184 * libio/stdio.h: Make fseeko and ftello prototypes available is
8185 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
8187 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
8188 real unsetenv implementation from 1999-07-29 [PR libc/1714].
8190 2000-05-03 Bruno Haible <haible@clisp.cons.org>
8192 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
8193 before calling tfind.
8195 2000-03-05 Jakub Jelinek <jakub@redhat.com>
8197 * resolv/resolv.h (res_querydomain): Remove redefinition to
8198 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
8200 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8202 * po/gl.po: Update from translation team.
8204 * manual/intro.texi (Program Basics): Change section title.
8205 * manual/process.texi: Fix reference.
8206 (Executing a File): Add reference exec in other section.
8207 * manual/signal.texi: Fix reference.
8208 * manual/startup.texi: Document syscall function.
8209 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8211 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8213 * intl/libintl.h (bind_textdomain_codeset): New declaration.
8214 * intl/bindtextdom.c (set_binding_values): New function.
8215 (bindtextdomain): Call it.
8216 (bind_textdomain_codeset): New function.
8217 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
8218 (free_mem): Free each binding's codeset.
8219 * intl/gettextP.h (struct binding): Add codeset field.
8220 (_nl_find_domain): Add domainbinding argument.
8221 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
8222 Pass it to _nl_make_l10nflist.
8223 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
8224 (_nl_make_l10nflist): Add domainbinding argument.
8225 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
8226 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
8227 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
8229 * manual/message.texi: New node "Charset conversion in gettext".
8231 2000-04-30 Bruno Haible <haible@clisp.cons.org>
8233 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
8234 appropriate. Handle possible __read error.
8236 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8238 * intl/gettextP.h (__builtin_expect): Define as empty if not a
8240 * intl/loadinfo.h (__builtin_expect): Likewise.
8241 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
8242 __builtin_expect where appropriate.
8243 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8244 * intl/localealias.c (extend_alias_table): Return an error indicator.
8245 (read_alias_file): Bail out if extend_alias_table fails.
8247 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8249 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
8250 * intl/localealias.c: Likewise.
8252 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8254 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
8255 Initialize domain->plural and domain->nplurals even if there is no
8258 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8260 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
8261 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
8262 In case of failure, goto converted.
8264 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8266 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
8267 * iconv/gconv_int.h (norm_add_slashes): Move to here.
8268 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
8271 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8273 * intl/dcigettext.c (transcmp): Compare the domains as well.
8274 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
8276 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
8279 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8281 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
8282 Reported by Bruno Haible.
8284 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8286 * manual/arith.texi: Remove @w from @itemize.
8288 2000-05-02 Andreas Jaeger <aj@suse.de>
8290 * conform/data/tar.h-data: Add some checks for specific values.
8292 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
8295 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
8298 * conform/data/netinet/in.h-data: Add exact checks for the values
8299 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
8301 * conform/data/float.h-data: Add some minimal values.
8303 * conform/conformtest.pl: Test for macros with string constants,
8304 check for minimum and maximum values.
8305 Add limits.h to headers.
8307 * conform/data/cpio.h-data: Test for value of MAGIC.
8309 * conform/data/limits.h-data: New file.
8311 2000-04-30 Bruno Haible <haible@clisp.cons.org>
8313 * math/Makefile (headers): Add bits/fenvinline.h.
8315 2000-05-01 Ulrich Drepper <drepper@redhat.com>
8317 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
8318 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
8320 * posix/Versions: Change posix_spawnattr_getdefault and
8321 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
8322 and posix_spawnattr_setsigdefault respectively.
8323 * posix/spawn.h: Likewise.
8324 * posix/spawnattr_getdefault.h: Likewise.
8325 * posix/spawnattr_setdefault.h: Likewise.
8326 * conform/data/spawn.h-data: Likewise.
8328 2000-05-01 Andreas Jaeger <aj@suse.de>
8330 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
8332 2000-04-30 Ulrich Drepper <drepper@redhat.com>
8334 * manual/sysinfo.texi: Document getdomainname, setdomainname
8336 * manual/string.texi: Fix typo.
8337 * manual/terminal.texi: Document gtty and stty.
8338 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8340 2000-04-30 Andreas Jaeger <aj@suse.de>
8342 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
8343 accordance with Austin Draft.
8345 2000-04-30 Ulrich Drepper <drepper@redhat.com>
8347 * catgets/gencat.c (read_input_file): Use isblank and not isspace
8348 to recognize second character in comment line.
8350 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
8351 ENOBUFS if we are out of memory.
8353 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
8354 available if __USE_XOPEN2K.
8355 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
8356 * sysdeps/unix/common/bits/fcntl.h: Likewise.
8357 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
8358 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8359 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
8360 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8361 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
8362 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
8364 2000-04-29 Ulrich Drepper <drepper@redhat.com>
8366 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
8367 Recognize option -s, -c, and -l.
8369 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
8371 * nscd/nscd.c: Start new session for nscd, drop privilegs
8372 to configured user if requested and no -S parameter are used.
8373 * nscd/nscd.conf: Add new option "server-user".
8374 * nscd/nscd_conf.c: Add support for new "server-user" option.
8375 * nscd/nscd.h: Add declaration for server_user variable.
8376 Based on patch by Chris Wing <wingc@engin.umich.edu>
8378 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8380 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
8381 that changing the __restore and __restore_rt signal return code
8384 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8386 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
8389 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8391 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
8393 2000-04-29 Ulrich Drepper <drepper@redhat.com>
8395 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
8396 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
8398 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
8399 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
8400 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
8401 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
8402 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
8403 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
8404 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
8405 posix_fallocate, and posix_madvise.
8406 * conform/data/netdb.h-data: New file.
8407 * conform/data/pthread.h-data: Add pthread_barrier_t,
8408 pthread_barrierattr_t, pthread_barrier_destroy,
8409 pthread_barrier_init, pthread_barrier_wait,
8410 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
8411 pthread_barrierattr_init, pthread_barrierattr_setpshared,
8412 pthread_condattr_getclock, pthread_condattr_setclock,
8413 pthread_getcpuclockid, pthread_mutex_timedlock,
8414 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
8415 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
8416 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
8417 * conform/data/sched.h-data: Add sched_ss_low_priority,
8418 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
8420 * conform/data/semaphore.h-data: Add sem_timedwait.
8421 * conform/data/signal.h-data: Add SIGIO.
8422 * conform/data/spawn.h-data: New file.
8423 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
8424 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
8425 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
8426 Fix typo in gmtime_r definition.
8427 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
8428 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
8429 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
8430 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
8431 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
8432 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
8433 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
8434 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
8435 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
8436 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
8437 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
8438 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
8439 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
8440 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
8441 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
8442 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
8443 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
8444 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
8445 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
8446 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
8447 typo in off_t definition.
8448 * conform/data/net/if.h-data: New file.
8449 * conform/data/netinet/in.h-data: New file.
8450 * conform/data/netinet/tcp.h-data: New file.
8451 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
8452 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
8453 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
8454 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
8455 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
8456 and posix_typed_mem_open.
8457 * conform/data/sys/socket.h-data: New file.
8458 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
8459 * conform/data/sys/types.h-data: Add pthread_barrier_t,
8460 pthread_barrierattr_t, and pthread_spinlock_t.
8461 * conform/data/sys/un.h-data: New file.
8462 * conform/data/sys/utsname.h-data: New file.
8464 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
8466 * inet/gethstbyad.c (gethostbyname): Likewise.
8467 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
8468 * inet/getipnodebyad.c (getipnodebyad): Likewise.
8469 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
8470 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
8472 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
8473 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
8474 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
8475 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
8476 * resolv/gethnamaddr.c (gethostbyname): Likewise.
8477 * resolv/netdb.h (struct hostent): Fix type of h_length member.
8478 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
8479 and second parameter.
8481 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
8484 2000-04-29 Andreas Jaeger <aj@suse.de>
8486 * conform/data/arpa/inet.h-data: New file.
8488 2000-04-28 Geoff Clare <gwc@unisoft.com>
8490 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
8491 path passed to ftw() or nftw() is an empty string.
8492 Closes PR libc/1710.
8494 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8496 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
8497 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
8498 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
8499 * localedata/tst-mbswcs4.c: New file.
8500 * localedata/tst-mbswcs5.c: New file.
8502 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
8503 == NULL. Little optimization.
8505 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
8506 DT_PREINIT_ARRAYSZ).
8507 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
8509 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
8510 overflows in conversion from ASCII.
8512 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8514 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
8515 * Makerules (full_config_sysdirs): Likewise.
8516 * MakeTAGS (full_config_sysdirs): Likewise.
8518 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8520 * .cvsignore: Remove linuxthreads.
8521 * po/.cvsignore: Remove *.pot.
8522 * posix/glob/.cvsignore: Removed.
8523 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
8525 2000-04-25 Andreas Jaeger <aj@suse.de>
8527 * conform/Makefile (distribute): Also distribute contents of
8530 * Makerules (no_deps): Remove abi-versions.h.
8532 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
8534 2000-04-25 Jakub Jelinek <jakub@redhat.com>
8536 * sysdeps/sparc/sparc64/elf/Dist: Remove.
8537 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
8538 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
8539 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
8540 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
8541 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
8544 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
8546 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
8548 2000-04-23 Bruno Haible <haible@clisp.cons.org>
8550 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
8551 * intl/l10nflist.c: Likewise.
8553 2000-04-23 Bruno Haible <haible@clisp.cons.org>
8555 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
8556 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
8557 * intl/textdomain.c [!_LIBC]: Likewise.
8558 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
8559 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
8560 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
8563 2000-04-23 Bruno Haible <haible@clisp.cons.org>
8565 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
8566 character set conversion also in the case the translation was found
8567 after a hash collision or through binary search. Store the maximum
8568 index together with the converted message. Use iconv() when available.
8569 In case of out of memory during conversion, return the unconverted
8570 translated string, not NULL.
8572 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
8574 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
8575 to avoid name clashes with the ia32 linker.
8577 2000-04-25 Jakub Jelinek <jakub@redhat.com>
8579 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
8582 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8584 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
8585 strtoumax, strfry, and memfrob.
8586 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
8587 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8589 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
8590 if this function is available.
8592 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
8595 2000-04-27 Jakub Jelinek <jakub@redhat.com>
8597 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
8599 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8601 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
8602 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
8603 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
8604 * localedata/tst-mbswcs3.c: New file.
8606 2000-04-26 Ulrich Drepper <drepper@redhat.com>
8608 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
8609 characters. Don't handle incomplete characters as errors.
8610 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
8611 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
8612 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
8613 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
8614 * localedata/tst-mbswcs2.c: New file.
8616 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
8617 stored character in state in UNPACK_BYTES macro.
8618 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
8619 test for available characters, handle result of BODY code correctly.
8620 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
8621 (distribute): Add tst-mbswcs.sh.
8622 Add rule to run tst-mbswcs.sh.
8623 * localedata/tst-mbswcs.sh: New file.
8624 * localedata/tst-mbswcs1.c: New file.
8626 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8628 * nis/nis_callback.c (__nis_create_callback): Do failed memory
8629 allocation fixups centrally, fix __builtin_expect call, return NULL
8630 on failure, not NIS_NOMEMORY.
8632 2000-04-27 Bruno Haible <haible@clisp.cons.org>
8634 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
8636 * intl/loadinfo.h (internal_function): Define if not already defined.
8638 2000-04-27 Andreas Jaeger <aj@suse.de>
8640 * intl/libintl.h: Fix typo, reported by Bruno Haible
8641 <haible@clisp.cons.org>.
8643 2000-04-25 Ulrich Drepper <drepper@redhat.com>
8645 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
8646 setting the state to GMON_PROF_BUSY.
8648 2000-04-24 Ulrich Drepper <drepper@redhat.com>
8650 * elf/dl-profile.c (_dl_start_profile): define all variables which
8651 do not have to be global as local variables.
8653 * nis/nis_callback.c (__nis_create_callback): Partially undo last
8654 patch. Keep needed tests for failed memory allocation.
8656 * elf/dl-reloc.c (_dl_relocate_object): Add one more
8657 __builtin_expect saying that we don't normally expect to profile.
8659 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
8660 __builtin_expect where desirable.
8662 2000-04-23 Ulrich Drepper <drepper@redhat.com>
8664 * manual/Makefile (chapters): Add syslog.
8665 * manual/syslog.texi: New file.
8666 * manual/math.texi: Fix references.
8667 * manual/terminal.texi: Likewise.
8668 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8670 2000-04-18 Jakub Jelinek <jakub@redhat.com>
8672 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
8673 stdlib.h was not included or __USE_XOPEN not defined.
8675 2000-04-23 Ulrich Drepper <drepper@redhat.com>
8677 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
8678 Patch by Zack Weinberg <zack@wolery.cumb.org>.
8680 2000-04-22 Ulrich Drepper <drepper@redhat.com>
8682 * manual/examples/subopt.c (mount_opts): Add missing terminating
8684 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8686 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
8687 * libio/ftello.c: Likewise.
8688 * libio/ftello64.c: Likewise.
8689 * libio/ioftell.c: Likewise.
8690 * sysdeps/generic/memrchr.c: Likewise.
8691 * sysdeps/posix/libc_fatal.c: Likewise.
8692 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8693 * misc/fstab.c: Include <string.h> for strcmp prototype.
8694 * sysdeps/generic/ldsodefs.h: Likewise.
8695 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8696 Patch by Kurt Roeckx <Q@ping.be>.
8698 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
8699 Remove db-open. Change all uses.
8700 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
8702 2000-04-21 Jakub Jelinek <jakub@redhat.com>
8704 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
8705 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
8706 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
8707 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
8708 with .set noat/at to shut up warnings.
8709 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
8710 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
8711 compilation if __NR_pciconfig_iobase is not defined.
8712 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
8715 2000-04-21 Ulrich Drepper <drepper@redhat.com>
8717 * manual/sysinfo.texi: Fix typo.
8718 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
8719 Replace "high precision time" with "high accuracy clock".
8721 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8723 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
8724 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
8726 * nis/nis_subr.c: Use __builtin_expect.
8727 * nis/ypclnt.c: Likewise.
8728 * nis/nis_getservlist.c: Likewise.
8729 * nis/nis_creategroup.c: Likewise.
8731 * nis/nis_callback.c (__nis_create_callback): Check result of
8732 memory allocation. Fix memory leaks. Use __builtin_expect.
8733 (__nis_destroy_callback): Fix memory leaks.
8735 2000-04-21 Andreas Jaeger <aj@suse.de>
8737 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
8738 * sysdeps/mips/mips64/add_n.S: Likewise.
8739 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
8740 * sysdeps/mips/mips64/lshift.S: Likewise.
8741 * sysdeps/mips/mips64/mul_1.S: Likewise.
8742 * sysdeps/mips/mips64/rshift.S: Likewise.
8743 * sysdeps/mips/mips64/setjmp.S: Likewise.
8744 * sysdeps/mips/mips64/sub_n.S: Likewise.
8745 * sysdeps/mips/mips64/submul_1.S: Likewise
8746 * sysdeps/unix/mips/sysdep.S: Likewise.
8748 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
8749 and update comment. The strtab from _dl_relocate_object can be
8752 2000-04-21 Ulrich Drepper <drepper@redhat.com>
8754 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
8755 * iconv/iconv_close.c (iconv_close): Likewise.
8756 * iconv/iconv_open.c (iconv_open): Likewise.
8758 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
8759 __builtin_expect where useful.
8761 * grp/initgroups.c (initgroups): Test for result of memory
8762 allocation and punt if it fails.
8764 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
8765 * grp/fgetgrent.c (fgetfrent): Likewise.
8766 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
8768 2000-04-21 Jakub Jelinek <jakub@redhat.com>
8770 * libio/vasprintf.c: Include string.h to get memcpy prototype.
8772 2000-04-20 Ulrich Drepper <drepper@redhat.com>
8774 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
8775 don't search for NUL byte to decrement counter.
8776 Reported by Ulrich.Brink@sap.com.
8778 * iconv/gconv_simple.c: Define separate functions to convert from
8779 UCS4/UCS4-LE to the internal encoding.
8780 * iconv/gconv_builtin.h: Use separate functions to convert from
8781 UCS4/UCS4-LE to the internal encoding.
8782 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
8783 __gconv_transform_ucs4le_internal.
8785 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
8786 output buffer overflow. Reported by Ulrich.Brink@sap.com.
8788 * iconv/skeleton.c: Add some more __builtin_expect.
8789 * iconv/loop.c: Likewise.
8791 2000-03-08 H.J. Lu <hjl@gnu.org>
8793 * posix/regex.c (regex_compile): Correctly handle "\{" when
8794 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
8796 2000-04-20 Ulrich Drepper <drepper@redhat.com>
8798 * manual/stdio.texi: Give advise about handling error when using
8800 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
8802 2000-04-19 Jakub Jelinek <jakub@redhat.com>
8804 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
8805 field to nelems * sizeof (uint32_t).
8806 * locale/programs/ld-address.c (address_output): Align word fields
8808 * locale/programs/ld-monetary.c (monetary_output): Likewise.
8809 Don't restart idx pointers to idx end at the duo_int_curr_symbol
8811 Avoid giving arbitrary garbage in the crncystr field.
8812 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
8813 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
8815 * locale/programs/ld-numeric.c (numeric_output): Likewise.
8816 Don't restart idx pointers to idx end at the decimal_point_wc field.
8817 * locale/programs/ld-time.c (time_output): week_1stday should be
8818 word, not byte. Align it properly.
8820 2000-04-19 H.J. Lu <hjl@gnu.org>
8822 * csu/gmon-start.c (_start): Declared as "extern void".
8825 2000-04-18 Andreas Jaeger <aj@suse.de>
8827 * manual/install.texi (Running make install): Don't mention utmpd
8830 2000-04-18 Andreas Jaeger <aj@suse.de>
8832 * linuxthreads/Versions: Use ld instead of ld.so.
8834 * elf/Makefile (ld-map): Use ld.map.
8836 * Versions.def: Use ld instead of ld.so.
8837 * elf/Versions: Likewise.
8838 * sysdeps/mach/hurd/Versions: Likewise.
8840 2000-04-20 Andreas Jaeger <aj@suse.de>
8842 * elf/rtld.c (print_statistics): Move ifndef further up.
8843 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
8844 (dl_main): Likewise.
8846 2000-04-18 Ulrich Drepper <drepper@redhat.com>
8848 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
8849 * gmon/Versions: Move moncontrol to GLIBC_2.2.
8851 * po/cs.po: Update from translation team.
8853 * sysdeps/generic/updwtmp.c: Remove daemon support.
8855 * login/Makefile (routines): Remove utmp_daemon.
8857 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
8858 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
8859 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
8860 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
8862 * elf/rtld.c: Display statitics option also if hp timing is not
8865 * login/programs/connection.c: Removed.
8866 * login/programs/database.c Removed.
8867 * login/programs/error.c: Removed.
8868 * login/programs/request.c: Removed.
8869 * login/programs/xtmp.c: Removed.
8870 * login/programs/xtmp.h: Removed.
8871 * login/Makefile: Remove rules for utmpd.
8872 * login/README.utmpd: Removed.
8873 * login/utmp_daemon.c: Removed.
8874 * login/getutent_r.c: Remove references to daemon functions.
8875 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
8878 2000-04-18 Andreas Jaeger <aj@suse.de>
8880 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
8881 2.2 for libnsl, libresolv, librt, libnss_*.
8883 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
8885 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
8887 2000-04-18 Ulrich Drepper <drepper@redhat.com>
8889 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
8890 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
8891 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
8892 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
8893 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
8894 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
8895 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
8896 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
8897 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
8898 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
8899 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
8900 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
8901 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
8903 * sysdeps/unix/sysv/aix/msync.c: New file.
8904 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
8905 * sysdeps/unix/sysv/aix/net/if.h: New file.
8906 * sysdeps/unix/sysv/aix/pipe.c: New file.
8907 * sysdeps/unix/sysv/aix/poll.c: New file.
8908 * sysdeps/unix/sysv/aix/rename.c: New file.
8909 * sysdeps/unix/sysv/aix/rmdir.c: New file.
8910 * sysdeps/unix/sysv/aix/select.c: New file.
8911 * sysdeps/unix/sysv/aix/semctl.c: New file.
8912 * sysdeps/unix/sysv/aix/semget.c: New file.
8913 * sysdeps/unix/sysv/aix/semop.c: New file.
8914 * sysdeps/unix/sysv/aix/sendto.c: New file.
8915 * sysdeps/unix/sysv/aix/setgroups.c: New file.
8916 * sysdeps/unix/sysv/aix/setpgid.c: New file.
8917 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
8918 * sysdeps/unix/sysv/aix/setpriority.c: New file.
8919 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
8920 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
8921 * sysdeps/unix/sysv/aix/setsid.c: New file.
8922 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
8923 * sysdeps/unix/sysv/aix/shmat.c: New file.
8924 * sysdeps/unix/sysv/aix/shmctl.c: New file.
8925 * sysdeps/unix/sysv/aix/shmdt.c: New file.
8926 * sysdeps/unix/sysv/aix/shmget.c: New file.
8927 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
8928 * sysdeps/unix/sysv/aix/sigstack.c: New file.
8929 * sysdeps/unix/sysv/aix/socket.c: New file.
8930 * sysdeps/unix/sysv/aix/socketpair.c: New file.
8931 * sysdeps/unix/sysv/aix/speed.c: New file.
8932 * sysdeps/unix/sysv/aix/symlink.c: New file.
8933 * sysdeps/unix/sysv/aix/sync.c: New file.
8934 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
8935 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
8936 * sysdeps/unix/sysv/aix/times.c: New file.
8937 * sysdeps/unix/sysv/aix/ulimit.c: New file.
8938 * sysdeps/unix/sysv/aix/umask.c: New file.
8939 * sysdeps/unix/sysv/aix/unlink.c: New file.
8940 * sysdeps/unix/sysv/aix/ustat.c: New file.
8941 * sysdeps/unix/sysv/aix/utimes.c: New file.
8943 2000-04-18 Andreas Jaeger <aj@suse.de>
8945 * manual/startup.texi (Environment Access): Fix putenv prototype
8946 according to recent changes.
8947 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
8950 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
8953 2000-04-18 Ulrich Drepper <drepper@redhat.com>
8955 * posix/Makefile (tests): Add tst-getaddrinfo.
8956 * posix/tst-getaddrinfo.c: New file.
8958 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8960 * manual/sysinfo.texi: Document that umount2 is not widely available.
8962 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
8963 signal timing is not really implemented.
8965 2000-04-17 Andreas Jaeger <aj@suse.de>
8967 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
8969 2000-04-17 Jakub Jelinek <jakub@redhat.com>
8971 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
8974 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8976 * manual/intro.texi: Change reference from System Information to
8978 * manual/users.texi: Likewise.
8979 * manual/conf.texi: Likewise.
8980 * manual/sysinfo.texi: Document mount, umount, and umount2.
8981 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8983 2000-04-17 Jakub Jelinek <jakub@redhat.com>
8985 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
8986 Create wnumstr as well as numstr to support wide character output
8989 2000-04-15 Jakub Jelinek <jakub@redhat.com>
8991 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
8992 modification and move it...
8993 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
8994 Add -melf64_sparc switch to $(LD) on sparc64-linux.
8995 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
8996 switch to $(LD) on sparc-linux.
8998 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
9000 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
9001 and setresuid from sysdep_routines.
9003 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9005 * manual/Makefile (chapters): Add resource.
9007 * manual/time.texi: Move section on resources to...
9008 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
9010 * manual/setjmp.texi: Adjust back reference.
9011 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9013 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
9015 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
9016 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
9017 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
9018 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
9019 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
9020 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
9021 * sysdeps/unix/sysv/aix/close.c: Add copyright.
9022 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
9023 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
9024 * sysdeps/unix/sysv/aix/access.c: Add copyright.
9025 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
9026 * sysdeps/unix/sysv/aix/Implies: New file.
9027 * sysdeps/unix/sysv/aix/Versions: New file.
9028 * sysdeps/unix/sysv/aix/bind.c: New file.
9029 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
9030 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
9031 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
9032 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
9033 * sysdeps/unix/sysv/aix/chdir.c: New file.
9034 * sysdeps/unix/sysv/aix/chmod.c: New file.
9035 * sysdeps/unix/sysv/aix/chroot.c: New file.
9036 * sysdeps/unix/sysv/aix/creat.c: New file.
9037 * sysdeps/unix/sysv/aix/dl-close.c: New file.
9038 * sysdeps/unix/sysv/aix/dl-open.c: New file.
9039 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
9040 * sysdeps/unix/sysv/aix/fchdir.c: New file.
9041 * sysdeps/unix/sysv/aix/fchmod.c: New file.
9042 * sysdeps/unix/sysv/aix/getgroups.c: New file.
9043 * sysdeps/unix/sysv/aix/gethostname.c: New file.
9044 * sysdeps/unix/sysv/aix/getpriority.c: New file.
9045 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
9046 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
9047 * sysdeps/unix/sysv/aix/getrusage.c: New file.
9048 * sysdeps/unix/sysv/aix/link.c: New file.
9049 * sysdeps/unix/sysv/aix/madvise.c: New file.
9050 * sysdeps/unix/sysv/aix/mkdir.c: New file.
9051 * sysdeps/unix/sysv/aix/mknod.c: New file.
9052 * sysdeps/unix/sysv/aix/mprotect.c: New file.
9053 * sysdeps/unix/sysv/aix/msgctl.c: New file.
9054 * sysdeps/unix/sysv/aix/msgget.c: New file.
9055 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
9057 2000-04-17 Andreas Jaeger <aj@suse.de>
9059 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
9060 as suggested by Ulrich Drepper.
9061 (__dl_runtime_resolve): Remove unused variable, initialize sym
9063 (RTLD_START): Document OFFSET_GP_GOT.
9064 (OFFSET_GP_GOT): New magic value.
9065 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
9066 (elf_machine_got_rel): Only declare strtab if needed.
9067 (elf_machine_relplt): Removed, it's not needed.
9068 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
9070 * sysdeps/mips/add_n.S: Add newline at EOF.
9071 * sysdeps/mips/rshift.S: Likewise.
9072 * sysdeps/mips/mul_1.S: Likewise.
9073 * sysdeps/mips/lshift.S: Likewise.
9074 * sysdeps/mips/addmul_1.S: Likewise.
9076 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9078 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
9080 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
9081 * elf/dl-lookup.c: Likewise.
9082 * elf/dl-init.c (_dl_init): Likewise.
9083 * elf/dl-fini.c (_dl_fini): Likewise.
9084 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9085 * elf/dl-close.c (_dl_close): Likewise.
9086 * elf/rtld.c (_dl_start_final): Likewise.
9088 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
9090 2000-04-15 Ulrich Drepper <drepper@redhat.com>
9092 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
9093 only fall back on using Linux.
9095 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
9096 Before testing versions check that we actually loaded the object
9097 and whether we are in trace mode. If not loaded during tracing don't
9098 test versions in this object.
9099 (_dl_check_all_versions): Take new parameter and pass to
9100 _dl_check_map_versions.
9101 * sysdeps/generic/ldsodefs.h: Update prototypes for
9102 _dl_check_all_versions and _dl_check_map_versions.
9103 * elf/rtld.c (struct version_check_args): Add dotrace.
9104 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
9105 (dl_main): Pass info about trace mode to version_check_doit.
9106 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
9107 _dl_check_all_versions.
9109 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
9111 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9113 * manual/argp.texi: Document index parameter of argp_parse.
9115 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
9117 2000-04-14 Andreas Jaeger <aj@suse.de>
9119 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
9120 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
9122 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
9124 2000-04-15 Ulrich Drepper <drepper@redhat.com>
9126 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
9127 compat_symbol call for old adjtime.
9129 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
9130 function interface. Patch by Richard Henderson <rth@cygnus.com>.
9132 * posix/Makefile (headers): Add spawn.h.
9133 (distribute): Add spawn_int.h.
9134 (routines): Add spawn_faction_init, spawn_faction_destroy,
9135 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
9136 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
9137 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
9138 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
9139 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
9140 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
9141 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
9142 posix_spawnattr_init, posix_spawnattr_destroy,
9143 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
9144 posix_spawnattr_getflags, posix_spawnattr_setflags,
9145 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
9147 * posix/spawn.c: New file.
9148 * posix/spawn.h: New file.
9149 * posix/spawn_faction_addclose.c: New file.
9150 * posix/spawn_faction_adddup2.c: New file.
9151 * posix/spawn_faction_addopen.c: New file.
9152 * posix/spawn_faction_destroy.c: New file.
9153 * posix/spawn_faction_init.c: New file.
9154 * posix/spawn_int.h: New file.
9155 * posix/spawnattr_destroy.c: New file.
9156 * posix/spawnattr_getdefault.c: New file.
9157 * posix/spawnattr_getflags.c: New file.
9158 * posix/spawnattr_getpgroup.c: New file.
9159 * posix/spawnattr_getschedparam.c: New file.
9160 * posix/spawnattr_getschedpolicy.c: New file.
9161 * posix/spawnattr_getsigmask.c: New file.
9162 * posix/spawnattr_init.c: New file.
9163 * posix/spawnattr_setdefault.c: New file.
9164 * posix/spawnattr_setflags.c: New file.
9165 * posix/spawnattr_setpgroup.c: New file.
9166 * posix/spawnattr_setschedparam.c: New file.
9167 * posix/spawnattr_setschedpolicy.c: New file.
9168 * posix/spawnattr_setsigmask.c: New file.
9169 * posix/spawni.c: New file.
9170 * posix/spawnp.c: New file.
9172 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
9173 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
9175 2000-04-14 Ulrich Drepper <drepper@redhat.com>
9177 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
9178 * malloc/malloc.c: Implement posix_memalign for glibc.
9179 * include/stdlib.h: Add prototype for __posix_memalign.
9180 * stdlib/stdlib.h: Add prototype for posix_memalign.
9182 2000-04-14 Andreas Jaeger <aj@suse.de>
9184 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
9186 (elf_machine_got_rel): Cast sym correctly.
9188 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
9189 * sysdeps/mips/addmul_1.S: Likewise.
9190 * sysdeps/mips/lshift.S: Likewise.
9191 * sysdeps/mips/mul_1.S: Likewise.
9192 * sysdeps/mips/rshift.S: Likewise.
9193 * sysdeps/mips/sub_n.S: Likewise.
9194 * sysdeps/mips/submul_1.S: Likewise.
9196 * stdlib/stdlib.h: Fix typo in comment.
9198 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
9199 2.2 for libdl, ld and libm.
9201 * sysdeps/generic/madvise.c: Fix typos.
9203 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
9205 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
9207 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
9210 2000-04-14 Ulrich Drepper <drepper@redhat.com>
9212 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
9213 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
9214 Make old name weak alias.
9215 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
9216 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
9217 Make old name weak alias.
9218 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
9220 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
9221 posix_fallocate, and posix_fallocate64.
9222 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
9223 posix_fallocate, and posix_fallocate64.
9224 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
9225 posix_fallocate, and posix_fallocate64.
9226 * sysdeps/generic/fadvise.c: New file.
9227 * sysdeps/generic/fadvise64.c: New file.
9228 * sysdeps/generic/fallocate.c: New file.
9229 * sysdeps/generic/fallocate64.c: New file.
9230 * sysdeps/posix/fallocate.c: New file.
9231 * sysdeps/posix/fallocate64.c: New file.
9232 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
9233 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
9234 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
9235 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
9236 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
9237 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
9238 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9239 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
9240 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9242 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
9243 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9245 2000-04-13 Ulrich Drepper <drepper@redhat.com>
9247 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
9248 * misc/sys/mman.h (posix_madvise): Add prototype.
9249 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
9250 old name and posix_madvise weak aliases.
9251 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9252 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
9253 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
9254 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9255 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
9256 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9257 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9259 2000-04-13 Andreas Jaeger <aj@suse.de>
9261 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
9263 (elf_machine_got_rel): Only add runtime display if needed.
9264 (elf_machine_got_rel): Handle symbol versioning.
9266 2000-04-13 Andreas Jaeger <aj@suse.de>
9268 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
9270 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
9273 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
9274 with some applications.
9275 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
9277 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
9278 * sysdeps/mips/bsd-_setjmp.S: Likewise.
9279 * sysdeps/mips/setjmp.S: Likewise.
9281 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
9283 2000-04-13 Ulrich Drepper <drepper@redhat.com>
9285 * posix/globtest.sh: Work around inconsistency with expanding ~/
9286 in shell (PR libc/1690). Reported by patsmith@pobox.com.
9288 2000-04-12 Ulrich Drepper <drepper@redhat.com>
9290 * posix/getconf.c: Add support for many more POSIX options.
9291 * sysdeps/posix/sysconf.c: Likewise.
9292 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
9293 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
9295 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
9296 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
9297 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
9298 CLOCK_THREAD_CPUTIME_ID.
9299 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
9300 CLOCK_PROCESS_CPUTIME_ID.
9301 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
9302 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
9303 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
9304 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
9306 * malloc/Makefile (tests): Add tst-calloc.
9307 * malloc/tst-calloc.c: New file.
9309 * sysdeps/arm/libm-test-ulps: New file.
9311 * malloc/malloc.c: Undo all of today's changes.
9313 * locale/programs/locale.c (show_info): Don't try to look into
9314 data for LC_ALL (there is none).
9316 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
9317 avoid writing over boundary.
9318 Patch by Greg McGary <gkm@eng.ascend.com>.
9320 * sysdeps/arm/memprof.h: New file.
9322 2000-04-12 Andreas Jaeger <aj@suse.de>
9324 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
9326 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
9327 for memmem declaration.
9329 2000-04-12 Ulrich Drepper <drepper@redhat.com>
9331 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
9333 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
9335 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
9337 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
9338 Patch by Bart Veer <bartv@redhat.com>.
9340 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
9343 2000-04-11 Andreas Jaeger <aj@suse.de>
9345 * sysdeps/mips/dl-machine.h: Update some comments.
9346 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
9348 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9350 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
9351 _POSIX_SHARED_MEMORY_OBJECTS.
9353 * rt/Makefile (tests): Add tst-shm.
9354 Add rules to generate tst-shm.
9355 * rt/tst-shm.c: New file.
9357 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
9360 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
9361 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
9362 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
9363 * sysdeps/generic/shm_open.c: New file.
9364 * sysdeps/generic/shm_unlink.c: New file.
9365 * sysdeps/unix/sysv/linux/shm_open.c: New file.
9366 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
9367 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
9368 __endmntent, __getmntent_r, __setmntent, and __statfs.
9370 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
9371 fragmentation by allocating new memory at the end instead of
9374 * posix/globtest.sh: Fix last change.
9376 2000-04-10 Philip Blundell <philb@gnu.org>
9378 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
9379 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
9380 IPV6_DROP_MEMBERSHIP.
9381 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
9384 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9386 * elf/readlib (process_file): Close streams in case of an error.
9388 2000-04-09 Andreas Jaeger <aj@suse.de>
9390 * elf/readlib.c (process_file): Check if file is big enough to
9391 contain aout and ELF headers.
9392 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
9394 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
9396 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
9398 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9400 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
9402 * rt/Makefile (tests): Add tst-clock.
9403 Add rules to build tst-clock.
9404 * rt/tst-clock.c: New file.
9405 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
9406 about initialization of nsec.
9407 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
9408 about initialization of freq. Set retval to zero if successful.
9409 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
9411 2000-04-10 Ulrich Drepper <drepper@redhat.com>
9413 * Versions.def (librt): Add GLIBC_2.2.
9414 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
9415 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
9416 timer_getoverr, timer_gettime, and timer_settime.
9417 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
9418 clock_settime, timer_create, timer_delete, timer_getoverrun,
9419 timer_gettime, and timer_settime.
9420 * sysdeps/generic/clock_getcpuclockid.c: New file.
9421 * sysdeps/generic/get_clockfreq.c: New file.
9422 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
9423 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
9424 * sysdeps/mach/hurd/i386/bits/time.h: New file.
9425 * sysdeps/unix/i386/i586/clock_getres.c: New file.
9426 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
9427 * sysdeps/unix/i386/i686/Implies: New file.
9428 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
9429 * time/Makefile (routines): Move clock_getres, clock_gettime,
9430 clock_settime, timer_create, timer_delete, timer_getoverr,
9431 timer_gettime, and timer_settime to rt/Makefile.
9432 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
9433 clock_settime, timer_create, timer_delete, timer_getoverrun,
9434 timer_gettime, and timer_settime.
9435 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
9437 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
9438 and not const as attribute name.
9440 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
9442 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
9444 2000-04-10 Andreas Schwab <schwab@suse.de>
9446 * posix/globtest.sh: Skip tests that depend on unreadable
9447 directories if run as root.
9449 2000-04-10 Ulrich Drepper <drepper@redhat.com>
9451 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
9452 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
9454 2000-04-09 Ulrich Drepper <drepper@redhat.com>
9456 * sysdeps/unix/clock_gettime.c: New file.
9457 * sysdeps/unix/clock_settime.c: New file.
9458 * sysdeps/posix/clock_getres.c: New file.
9460 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
9462 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
9463 lseek call be passing in a buffer which never allow a successful
9464 first getdents syscall if not at leas the initial entry can be
9465 stored in the user buffer.
9467 * localedata/Makefile: Add rules to clean up directories created by
9470 2000-04-09 Geoff Clare <gwc@unisoft.com>
9472 * localedata/tst-fmon.data: Added new tests for strfmon()
9473 using test locales with all combinations of cs_precedes,
9474 sign_posn and sep_by_space.
9475 * localedata/tst-fmon.sh: Updated to support the new tests.
9476 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
9477 the localedef source for the new strfmon() test locale.
9478 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
9479 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
9480 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
9481 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
9482 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
9483 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
9484 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
9485 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
9486 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
9487 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
9488 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
9489 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
9490 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
9491 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
9493 * stdlib/strfmon.c: Correct problems with missing or extra
9494 spaces for unusual combinations of sign_posn and sep_by_space.
9495 Improved left-precision alignment code.
9497 2000-04-07 Andreas Jaeger <aj@suse.de>
9499 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
9501 2000-04-10 Andreas Jaeger <aj@suse.de>
9503 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
9505 2000-04-09 Ulrich Drepper <drepper@redhat.com>
9507 Implement handling of restartable conversion functions according to
9509 * iconv/gconv.h (__gconv_fct): Add additional parameter.
9510 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
9511 * iconv/gconv.c: Pass additional parameter to conversion function.
9512 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
9513 (internal_ucs4le_loop_single): New function.
9514 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
9515 (__gconv_transform_internal_ascii): Likewise.
9516 (__gconv_transform_internal_utf8): Likewise.
9517 (__gconv_transform_utf8_internal): Likewise.
9518 (__gconv_transform_ucs2_internal): Likewise.
9519 (__gconv_transform_internal_ucs2): Likewise.
9520 (__gconv_transform_ucs2reverse_internal): Likewise.
9521 (__gconv_transform_internal_ucs2reverse): Likewise.
9522 (internal_ucs4le_loop_unaligned): Before return
9523 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
9524 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
9525 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
9526 * iconv/loop.c: Fit in definition of function to convert one character
9527 for processing of left-over bytes from the state object.
9528 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
9529 inend to match names in loop functions.
9530 (RESET_INPUT_BUFFER): Change apprpriately.
9531 (gconv): If needed, call function to process bytes from the state
9532 object. Similar at the end: store left over bytes if input is
9534 Take extra argument and add new argument to all calls of the
9535 conversion function.
9536 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
9537 information in the state object to not conflict with length count.
9538 * iconvdata/iso-2022-jp.c: Likewise.
9539 * iconvdata/iso-2022-kr.c: Likewise.
9540 * iconvdata/unicode.c: Adjust for change change in parameters of
9542 * iconvdata/utf-16.c: Likewise.
9543 * libio/iofwide.c: Add new parameter to all calls of conversion
9545 * wcsmbs/btowc.c: Likewise.
9546 * wcsmbs/mbrtowc.c: Likewise.
9547 * wcsmbs/mbsnrtowcs.c: Likewise.
9548 * wcsmbs/mbsrtowcs.c: Likewise.
9549 * wcsmbs/wcrtomb.c: Likewise.
9550 * wcsmbs/wcsnrtombs.c: Likewise.
9551 * wcsmbs/wcsrtombs.c: Likewise.
9552 * wcsmbs/wctob.c: Likewise.
9554 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
9557 2000-04-07 Andreas Jaeger <aj@suse.de>
9559 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
9562 2000-04-07 Ulrich Drepper <drepper@redhat.com>
9564 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
9565 element a union to allow byte access.
9566 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
9568 * iconvdata/iso-2022-jp.c: Likewise.
9569 * iconvdata/iso-2022-kr.c: Likewise.
9570 * wcsmbs/mbsinit.c: Likewise.
9571 * stdlib/mblen.c: Likewise.
9572 * stdio-common/printf-parse.h: Likewise.
9574 2000-04-06 Ulrich Drepper <drepper@redhat.com>
9576 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
9577 kernel does not allow relative seeks on descriptors associated
9578 with directories. Go back to get the position in the directory
9579 every time we enter the function. Return -1 and set errno if one
9580 entry could be read from the kernel but does not fit into the
9581 buffer passed in by the user.
9583 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
9584 Support ..(2).. ellipsis.
9585 (parse_charmap): Recognize ..(2).. etc and pass step down.
9586 Correctly generate names for UCS4 characters.
9588 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
9589 (ctype_finish): We know the wide character value for <SP>,
9591 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
9592 (charclass_ucs4_ellipsis): Likewise.
9593 (read_translit_ignore_entry): Store ellipsis step.
9594 (ctype_read): Recognize ..(2).. etc and pass step down.
9596 * locale/programs/linereader.c (lr_token): When seeing comment
9597 character ignore only rest of line in sources but stop at escaped
9599 Recognize ..(2).. and ....(2).....
9601 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
9602 and tok_ellipsis4_2.
9604 2000-04-06 Andreas Jaeger <aj@suse.de>
9606 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
9607 removed, remove it here also.
9608 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
9609 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
9610 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
9611 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
9613 2000-04-06 Jakub Jelinek <jakub@redhat.com>
9615 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
9616 include bits/sigcontext.h.
9617 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9619 2000-04-06 Ulrich Drepper <drepper@redhat.com>
9621 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
9622 collation symbol definition. Value in quivalence definition must
9623 be defined, don't check that it is not.
9625 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
9626 values as character names.
9628 * locale/programs/ld-ctype.c (get_character): Handle missing
9629 repertoire map correctly.
9631 2000-04-05 Cristian Gafton <gafton@redhat.com>
9633 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
9634 because it is used in generic code.
9635 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
9636 * wcsmbs/wcwidth.h: Declare __ctype32_b.
9637 * intl/gettext.c: Include <locale.h>.
9638 * intl/ngettext.c: Likewise.
9640 2000-04-05 Jakub Jelinek <jakub@redhat.com>
9642 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
9643 socklen_t type for size.
9644 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
9645 init function interface.
9646 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9647 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
9649 (__jmp_buf): Declare the whole type structure here, don't use
9652 2000-04-05 Ulrich Drepper <drepper@redhat.com>
9654 * iconv/skeleton.c (put16u): Fix typo.
9655 Reported by Bruno Haible <haible@ilog.fr>.
9657 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
9658 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
9659 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
9660 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
9661 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
9662 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
9664 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
9665 * Makefile (distribute): Add abi-versions.awk and
9667 Patches by Torsten Duwe <duwe@caldera.de>.
9669 2000-04-05 Andreas Schwab <schwab@suse.de>
9671 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
9673 2000-04-05 Andreas Schwab <schwab@suse.de>
9675 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
9676 entry point, used on Hurd.
9678 2000-04-04 Andreas Jaeger <aj@suse.de>
9680 * intl/Makefile: Only run the gettext test with shared libraries.
9682 2000-03-16 Mark Kettenis <kettenis@gnu.org>
9684 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
9685 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
9687 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
9689 * Makeconfig: Undo last change.
9690 * configure.in: If --disable-shared was given, don't set VERSIONING,
9691 don't define DO_VERSIONING, and don't give scare warning for no
9693 * configure: Regenerated.
9695 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
9697 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
9699 2000-04-04 Andreas Jaeger <aj@suse.de>
9701 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
9703 2000-04-04 Ulrich Drepper <drepper@redhat.com>
9705 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
9706 STV_HIDDEN and STV_INTERNAL during lookup.
9707 (profile_fixup): Likewise.
9708 * elf/dl-reloc.c (RESOLVE): Likewise.
9710 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
9711 unaligned so that it compiles for system which need unaligned
9714 2000-04-04 Andreas Schwab <schwab@suse.de>
9716 * elf/cache.c (print_entry): Only look at the type field when
9719 2000-04-04 Andreas Schwab <schwab@suse.de>
9721 * iconvdata/big5.c (BODY): Fix typo.
9723 2000-04-04 Andreas Schwab <schwab@suse.de>
9725 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
9726 function interface. Remove unused _dl_start_user entry point.
9728 2000-04-03 Andreas Jaeger <aj@suse.de>
9730 * include/arpa/inet.h (__inet_aton): Add protoype.
9732 2000-04-01 Andreas Jaeger <aj@suse.de>
9734 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
9736 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
9737 * sysdeps/mach/mips/thread_state.h: Likewise.
9739 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
9740 * sysdeps/generic/fegetenv.c: Likewise.
9741 * sysdeps/generic/fesetenv.c: Likewise.
9742 * sysdeps/generic/feupdateenv.c: Likewise.
9743 * sysdeps/generic/fraiseexcpt.c: Likewise.
9744 * sysdeps/generic/fsetexcptflg.c: Likewise.
9745 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
9746 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
9747 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
9748 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9750 2000-04-02 H.J. Lu <hjl@gnu.org>
9752 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
9754 2000-04-03 Ulrich Drepper <drepper@redhat.com>
9756 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
9757 (add_name_to_object): Add cast in malloc call.
9758 (fillin_rpath): Optimize loop to initialize ->status a bit.
9760 * sysdeps/i386/dl-machine.h: Undo last change.
9761 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
9762 Restore %edx register after call here.
9764 * sysdeps/arm/atomicity.h: New file.
9765 Contributed by Jesper Skov <jskov@redhat.com>.
9767 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
9769 * Makeconfig (preprocess-versions): Undo last change.
9770 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
9772 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
9773 here, before we might move the stack.
9774 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
9775 (init1): And not here.
9777 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
9778 change, to restore argc value in call-clobbered register after
9779 RTLD_START_SPECIAL_INIT, which will contain a call.
9781 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
9782 allocating and initializing L->l_initfini.
9784 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
9786 2000-04-03 Ulrich Drepper <drepper@redhat.com>
9788 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
9789 RUNPATH, RPATH, and LD_LIBRARY_PATH.
9790 (open_path): Change type of fourth parameter. Make pointer to array
9791 of pointers. Create variable dirs with original type.
9792 Track whether any directory for the object exists and if not,
9793 change *DIRSP to (void*) -1 to signal there is no such search path.
9794 (_dl_map_object): Change all calls of open_path.
9795 Rewrite decompose_rpath calls.
9797 2000-03-31 Andreas Schwab <schwab@suse.de>
9799 * string/strfry.c: Declare STATE as array of char instead of int
9800 and do not initialize it (done by initstate_r). Pass correct
9803 2000-04-03 Ulrich Drepper <drepper@redhat.com>
9805 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
9807 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
9808 instruction out of the code.
9810 2000-04-02 Ulrich Drepper <drepper@redhat.com>
9812 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
9813 element at this position.
9815 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
9816 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
9818 * elf/dl-lookup.c (add_dependency): New function.
9819 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
9820 dynamically loaded object.
9821 (_dl_lookup_symbol_skip): Likewise.
9822 (_dl_lookup_versioned_symbol): Likewise.
9823 (_dl_lookup_versioned_symbol_skip): Likewise.
9824 * elf/dl-open.c: Don't define _dl_load_lock here...
9825 * elf/rtld.c: ...but here...
9826 * elf/dl-support.c: ...and here.
9827 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
9829 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
9831 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
9833 * dlfcn/glrefmain.c: Add one more debug message.
9835 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
9837 * Makerules (sysd-versions): Use ( ) instead of { }.
9839 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
9840 optimize for the non-debugging case.
9841 * elf/dl-lookup.c: Likewise.
9842 * sysdeps/generic/libc-start.c: Likewise.
9844 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
9846 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
9847 (init1): Don't initialize __environ here, since init already does it.
9848 (first_init): New function, broken out of _init.
9849 (_hurd_stack_setup): Use it.
9850 [SHARED] (_dl_init_first): New function, renamed from old _init.
9851 (init1) [SHARED]: Don't call posixland_init here.
9852 (posixland_init): Take ENVP arg, so signature is usual for initializer.
9853 [SHARED] (_init): Define as alias for posixland_init.
9854 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
9855 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
9856 RTLD_START_SPECIAL_INIT before calling initializers.
9857 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
9858 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
9859 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
9860 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
9862 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
9863 since we define the function with the name `tmpfile'.
9865 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
9866 * hurd/Versions: Likewise.
9868 2000-04-02 Ulrich Drepper <drepper@redhat.com>
9870 * elf/dl-runtime.c (fixup): Fix typo in comment.
9872 * resolv/netdb.h (getnameinfo): All length parameters are of type
9874 * inet/getnameinfo.c: Likewise.
9876 2000-04-01 Ulrich Drepper <drepper@redhat.com>
9878 * posix/unistd.h (socklen_t): Define if it has not yet happened.
9879 (gethostname): Change type of second parameter to socklen_t.
9880 * include/unistd.h (__gethostname): Change type of second
9881 parameter to socklen_t.
9882 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
9883 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
9884 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
9885 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
9887 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
9888 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
9889 Allow definition elsewhere.
9890 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
9891 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9892 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
9893 * sysdeps/generic/bits/types.h: Define __socklen_t.
9894 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
9895 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
9896 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9897 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9898 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
9899 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
9900 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
9902 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
9903 (inet_lnaof): Likewise.
9904 (inet_netof): Likewise.
9905 (inet_network): Likewise.
9906 (inet_aton): Likewise.
9907 (inet_makeaddr): Change parameter types to in_addr_t.
9908 (inet_neta): Likewise.
9909 (inet_ntop): Change type of last parameter to socklen_t.
9910 (inet_aton): Only make available if __USE_MISC.
9911 (inet_neta): Likewise.
9912 (inet_net_ntop): Likewise.
9913 (inet_net_pton): Likewise.
9914 (inet_nsap_ntoa): Likewise.
9916 * inet/in.h: Define in_port_t type.
9917 Define in_addr_t type.
9918 (struct in_addr): Use in_addr_t in definition.
9919 (IN_CLASSA): Use cast to in_addr_t.
9920 (IN_CLASSB): Likewise.
9921 (IN_CLASSC): Likewise.
9922 (IN_CLASSD): Likewise.
9923 (IN_EXPERIMENTAL): Likewise.
9924 (IN_BADCLASS): Likewise.
9925 (INADDR_ANY): Likewise.
9926 (INADDR_BROADCAST): Likewise.
9927 (INADDR_NONE): Likewise.
9928 (INADDR_LOOPBACK): Likewise.
9929 (INADDR_UNSPEC_GROUP): Likewise.
9930 (INADDR_ALLHOSTS_GROUP): Likewise.
9931 (INADDR_ALLRTRS_GROUP): Likewise.
9932 (INADDR_MAX_LOCAL_GROUP): Likewise.
9933 (struct sockaddr_in): Use in_port_t for sin_port element.
9934 (struct sockaddr_in6): Use in_port_t for sin6_port element.
9935 Use uint8_t instead of u_int8_t.
9937 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
9938 Call __inet_aton instead of inet_aton.
9939 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
9941 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
9942 (innetgr): Likewise.
9943 (struct addrinfo): Use socklen_t for ai_addrlen element.
9945 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
9946 IPV6_RECVERR): New defines.
9948 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
9949 * inet/getnetbyad.c: Likewise.
9950 * inet/getnetbyad_r.c: Likewise.
9951 * nis/nss_nis/nis-network.c: Likewise.
9952 * nis/nssplus_nis/nisplus-network.c: Likewise.
9953 * nss/nss_files/files-network.c: Likewise.
9954 * resolv/netdb.h: Define uint32_t if not already happened.
9955 Include bits/netdb.h. Remove definition of struct netent.
9956 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
9957 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
9958 * sysdeps/generic/bits/netdb.h: New file.
9959 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
9961 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
9962 (tests): Add glrefmain.
9963 Add rules to build modules and run tests. Ignore result of glrefmain
9964 for now since it fails.
9965 * dlfcn/glrefmain.c: New file.
9966 * dlfcn/glreflib1.c: New file.
9967 * dlfcn/glreflib2.c: New file.
9969 * test-skeleton.c: Include <string.h> for strsignal prototype.
9971 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
9974 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
9975 former init-first.h. Initialize __libc_multiple_libcs.
9977 2000-03-31 Ulrich Drepper <drepper@redhat.com>
9979 * iconv/skeleton.c: Define access macros with u suffix. Adjust
9980 #if expression for use of unaligned function to the one used in
9981 the definition of these functions.
9982 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
9983 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
9984 (internal_ucs4le_loop_unaligned): New function.
9986 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
9988 (module-names): Add dep1, dep2, dep3, and dep4.
9989 Add dependencies for dep* modules and order.
9990 Define rule for order.out which checks the result.
9991 * elf/dep1.c: New file.
9992 * elf/dep2.c: New file.
9993 * elf/dep3.c: New file.
9994 * elf/dep4.c: New file.
9995 * elf/order.c: New file.
9997 * elf/dl-init.c: Fix typo in comment.
9999 2000-03-31 Andreas Jaeger <aj@suse.de>
10001 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
10002 init function interface.
10003 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
10005 2000-03-31 Andreas Jaeger <aj@suse.de>
10007 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
10008 * sysdeps/mips/fpu/fegetenv.c: Likewise.
10009 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
10010 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
10011 * sysdeps/mips/fpu/fesetenv.c: Likewise.
10013 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
10014 anymore, update comment.
10016 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10018 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
10019 SHLIB_COMPAT - the struct is always needed.
10021 2000-03-31 Ulrich Drepper <drepper@redhat.com>
10023 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
10024 * elf/dl-support.c: Define _dl_starting_up.
10026 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10028 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
10029 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
10031 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
10033 * elf/Makefile (dl-routines): Remove preinit.
10034 * elf/Versions: Remove _dl_preinit.
10035 * elf/dl-preinit.c: Removed. Move content into...
10036 * elf/dl-init.c: ...here.
10037 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
10039 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
10042 2000-03-29 Geoff Clare <gwc@unisoft.com>
10044 * stdlib/strfmon.c: Corrected problems with the code that
10045 sets default values for [np]_sep_by_space and
10046 [np]_sign_posn; also the new positive/negative alignment
10047 code from the previous patch was not quite right for
10048 [np]_sign_posn = 0.
10050 * localedata/tst-fmon.data: Changes corresponding to the
10051 two sets of fixes made to stdlib/strfmon.c.
10053 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
10055 * malloc/malloc.c: Declare bit flags UL so that they will not
10056 default to int size when being inverted.
10058 2000-03-29 Andreas Jaeger <aj@suse.de>
10060 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
10061 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
10063 2000-03-29 Andreas Jaeger <aj@suse.de>,
10064 Ralf Baechle <ralf@uni-koblenz.de>
10066 * Makeconfig: Introduce new variable SHARED to mark code used in
10067 the shared library.
10068 * elf/dl-close.c: Use it instead of PIC.
10069 * elf/dl-load.c: Likewise.
10070 * elf/dl-open.c: Likewise.
10071 * hurd/geteuids.c: Likewise.
10072 * include/libc-symbols.h: Likewise.
10073 * include/shlib-compat.h: Likewise.
10074 * libio/freopen.c: Likewise.
10075 * linuxthreads/cancel.c: Likewise.
10076 * linuxthreads/pthread.c: Likewise.
10077 * linuxthreads/wrapsyscall.c: Likewise.
10078 * nss/nsswitch.c: Likewise.
10079 * stdio-common/vfprintf.c: Likewise.
10080 * sysdeps/arm/init-first.c: Likewise.
10081 * sysdeps/i386/init-first.c: Likewise
10082 * sysdeps/generic/init-first.c: Likewise.
10083 * sysdeps/generic/libc-start.c: Likewise.
10084 * sysdeps/mips/init-first.c: Likewise.
10085 * sysdeps/powerpc/elf/libc-start.c: Likewise.
10086 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10087 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
10088 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
10089 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10091 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
10093 2000-03-29 Andreas Jaeger <aj@suse.de>
10095 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
10096 Use D_PTR to access relocated entries in l_info.
10097 (elf_machine_rela): Likewise.
10099 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
10101 (elf_machine_rela): Likewise.
10103 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
10105 (__elf_machine_fixup_plt): Likewise.
10106 (__process_machine_rela): Likewise.
10108 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
10109 (elf_machine_rela): Likewise.
10111 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
10112 (elf_machine_rel): Likewise.
10114 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
10115 (elf_machine_fixup_plt): Likewise.
10116 (elf_machine_rela): Likewise.
10118 2000-03-29 Andreas Jaeger <aj@suse.de>
10120 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
10121 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10122 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10123 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
10124 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10125 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
10126 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
10127 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
10128 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
10129 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
10130 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
10131 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
10132 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
10133 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
10134 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10136 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
10137 macros, remove K&R prototypes.
10139 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10141 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
10142 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
10145 2000-03-30 Andreas Jaeger <aj@suse.de>
10147 * misc/sys/cdefs.h: Remove K&R support.
10149 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10151 * iconv/skeleton.c: Avoid compiling unaligned versions in some
10153 * iconv/loop.c: Likewise.
10155 2000-03-29 Bruno Haible <haible@clisp.cons.org>
10157 * iconv/loop.c (put16): Remove __const. Fix access index.
10158 (put32): Remove __const. Use uint32_t instead of uint16_t.
10159 * iconv/skeleton.c: Likewise.
10161 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
10163 * mach/Versions (libc: GLIBC_2.0)
10164 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
10165 __vm_allocate on this.
10166 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
10167 mutex- and spinlock-related symbols on this.
10168 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
10169 New version set. Lock-related symbols go here instead in this case.
10170 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
10171 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
10172 cthread_getspecific, cthread_setspecific, __libc_getspecific.
10174 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
10175 Put them here instead.
10176 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
10177 New version set. Those cthreads symbols go here instead in this case.
10178 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
10180 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10182 * elf/dl-init.c (_dl_init): We don't need to call constructors
10183 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
10185 Implement dynamic determination of constructor/destructor order in
10186 the dynamic linker.
10187 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
10188 (GLIBC_2.2): Add _dl_init.
10189 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
10190 r_duplist is not anymore allocated separately. l_initfini is and
10191 therefore free it if necessary.
10192 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
10193 malloc block. Otherwise allocate l_initfini list only.
10194 Put dependencies for the object in l_initfini list.
10195 Sort dependencies for the object to be loaded topologically.
10196 * elf/dl-fini.c: Before running the destructors sort the topologically.
10197 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
10198 call constructors instead of iterating over the pointers. Get list of
10199 objects for which to run constructors from l_initfini element. Accept
10200 argc, argv, and env as parameters and pass them to the constructors.
10201 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
10202 with size of dynamic section.
10203 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
10204 _dl_init_next and calling constructors ourself.
10205 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
10206 Take argc, argv, and env as parameters and pass them to the
10207 constructors. Rewrite to call all constructors and not iterate over
10209 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
10210 precompute l_initcount and l_preinitcount.
10211 * elf/link.h (struct link_map): Add l_ldnum member.
10212 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
10213 l_initcount, and l_preinitcount. Add l_initfini.
10214 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
10216 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
10217 function interface.
10218 * sysdeps/unix/sysv/linux/init-first.h: Removed.
10219 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
10220 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
10221 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
10222 conventions now match.
10224 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
10225 effect for shared objects. Don't emit message and call only for
10228 2000-03-29 Ulrich Drepper <drepper@redhat.com>
10230 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
10231 CSA_Z243.4-1985-1..UCS2.
10232 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
10235 2000-03-29 Andreas Jaeger <aj@suse.de>
10237 * include/unistd.h: Remove duplicate entry for __rmdir.
10238 Remove declaration of __mkdir since __mkdir is declared in
10241 * manual/creature.texi (Feature Test Macros): Fix typo, reported
10242 by Michael Deutschmann <michael@talamasca.ocis.net>.
10244 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
10245 * sysdeps/mips/fpu/fegetenv.c: Likewise.
10246 * sysdeps/mips/fpu/fesetenv.c: Likewise.
10247 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
10248 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
10250 2000-03-28 Andreas Jaeger <aj@suse.de>
10252 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
10253 declaration, the prototype is defined via bits/mathcalls.h.
10254 (__sincosf): Likewise.
10255 (__sincosl): Likewise.
10257 (ldexpf): Likewise.
10258 (ldexpl): Likewise.
10259 (__finite): Likewise.
10260 (__inline_mathcodeNP): New macro without prototype
10262 (__inline_mathcodeNP2): Likewise.
10263 (__inline_mathcodeNP3): Likewise.
10264 (__inline_mathcodeNP_): Likewise.
10265 (__inline_mathcodeNP2_): Likewise.
10266 (__inline_mathcodeNP3_): Likewise.
10267 (__inline_mathopNP): Likewise.
10268 (__inline_mathop_declNP): Likewise.
10269 (__inline_mathop_declNP_): Likewise.
10270 (__inline_mathcode_): Use __inline_mathcodeNP_.
10271 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
10272 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
10273 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
10274 (__expm1l): Don't define prototype, the prototype is defined via
10277 (__expl): Likewise.
10280 (__atan2l): Likewise.
10285 (__fabsl): Likewise.
10303 (__sqrtl): Likewise.
10313 2000-03-28 Ulrich Drepper <drepper@redhat.com>
10315 * Makerules: If make variable md5 is defined to yes after
10316 generating dependencies generate MD5 sum for the object.
10318 * iconv/gconv_builtin.h: Fix length in transformation definition
10321 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
10323 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
10324 allow as well reading from/writing to unaligned addresses on machines
10325 which don't support this in hardware. Use FCTNAME macro to define
10326 function name. Include the file a second time for platforms which
10327 need special unaligned handling.
10328 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
10329 to access potentially unaligned addresses. These macros are intended
10330 to be used only outside the loops.
10331 (unaligned): New definition. In case the machine can handle unaligned
10332 access define as zero. Otherwise as a variable which is initialized
10333 as nonzero in case the buffer passed in at runtime is unaligned with
10334 respect to the character set encoding involved.
10335 Call aligned or unaligned looop functions according to unaligned
10337 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
10338 of direct casting pointer to potentially handle unaligned memory
10340 * iconvdata/8bit-generic.c: Likewise.
10341 * iconvdata/ansi_x3.110.c: Likewise.
10342 * iconvdata/big5.c: Likewise.
10343 * iconvdata/euc-cn.c: Likewise.
10344 * iconvdata/euc-jp.c: Likewise.
10345 * iconvdata/euc-kr.c: Likewise.
10346 * iconvdata/euc-tw.c: Likewise.
10347 * iconvdata/gbk.c: Likewise.
10348 * iconvdata/iso-2022-cn.c: Likewise.
10349 * iconvdata/iso-2022-jp.c: Likewise.
10350 * iconvdata/iso-2022-kr.c: Likewise.
10351 * iconvdata/iso646.c: Likewise.
10352 * iconvdata/iso_6937-2.c: Likewise.
10353 * iconvdata/iso_6937.c: Likewise.
10354 * iconvdata/johab.c: Likewise.
10355 * iconvdata/sjis.c: Likewise.
10356 * iconvdata/t.61.c: Likewise.
10357 * iconvdata/uhc.c: Likewise.
10358 * iconvdata/unicode.c: Likewise.
10359 * iconvdata/utf-16.c: Likewise.
10361 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
10364 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
10365 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
10367 * malloc/mcheck.h (mcheck_check_all): Declare.
10369 * stdio-common/Makefile (tests): Add tst-obprintf.
10371 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
10373 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
10374 Declare pthread_sigmask.
10376 * csu/version.c: Add 2000 to copyright years.
10377 Remove Emacs local variables section.
10379 2000-03-23 Bruno Haible <haible@clisp.cons.org>
10381 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
10382 __gconv_transform_internal_ucs2little): Remove declarations.
10383 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
10384 __gconv_transform_internal_ucs2): Never need to bswap_16.
10385 (__gconv_transform_ucs2reverse_internal,
10386 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
10388 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
10390 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
10391 obsoleting version not being defined at all, in which case the
10392 result is always true.
10394 * Makeconfig (preprocess-versions): New canned sequence for running
10395 cpp on shlib-versions and the like.
10396 (soversions.i): Use it.
10397 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
10398 Versions.def and Versions files.
10400 2000-03-27 Ulrich Drepper <drepper@redhat.com>
10402 * stdio-common/tst-obprintf.c (main): Add another check to see
10403 obstack_printf handling all possible beginnings of the block
10404 inside an obstack chunk.
10406 * locale/programs/localedef.c: Use __malloc_initialize_hook to
10407 install mcheck handler.
10409 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
10412 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
10414 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
10416 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
10417 on [HAVE_ELF && DO_VERSIONING].
10419 2000-03-27 Ulrich Drepper <drepper@redhat.com>
10421 * stdio-common/tst-obprintf.c: New file.
10423 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10425 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
10426 _IO_OVERFLOW directly instead through __overflow.
10428 * locale/programs/localedef.c (construct_output_path): If path
10429 contains a / compute the end of the directory name correctly.
10431 * include/features.h: Undef and document __USE_XOPEN2K.
10433 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
10434 whenever a function is called. Initiated by calling mcheck_pedantic
10436 * malloc/mcheck.h: Declare mcheck_pedantic.
10437 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
10438 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
10441 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
10443 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
10444 * dlfcn/dlopenold.c: Likewise.
10445 * nss/getXXbyYY_r.c: Likewise.
10446 * nss/getXXent_r.c: Likewise.
10447 * hurd/hurdinit.c: Likewise.
10448 * hurd/compat-20.c: Likewise.
10449 * libio/oldiofopen.c: Likewise.
10450 * libio/oldiofclose.c: Likewise.
10451 * libio/oldiofdopen.c: Likewise.
10452 * libio/oldfileops.c: Likewise.
10453 * libio/oldstdfiles.c: Likewise.
10454 * libio/oldiofsetpos.c: Likewise.
10455 * libio/oldiofgetpos.c: Likewise.
10456 * libio/oldiofgetpos64.c: Likewise.
10457 * libio/oldiofsetpos64.c: Likewise.
10458 * libio/oldiopopen.c: Likewise.
10459 * libio/oldpclose.c: Likewise.
10460 * libio/oldtmpfile.c: Likewise.
10461 * libio/freopen.c (freopen): Likewise.
10462 * libio/iofclose.c (_IO_new_fclose): Likewise.
10464 * sysdeps/mach/sys/reboot.h: Include <features.h>.
10465 (reboot): Declare it.
10467 * libio/Makefile (headers): Add bits/stdio-lock.h here.
10469 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
10471 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
10473 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
10474 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
10475 We need this for the sbrk decl, which can be included without Unix98.
10477 2000-03-20 Richard Henderson <rth@cygnus.com>
10479 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
10480 argument to yperr2nss is an int, not size_t.
10481 * posix/regex.c (print_partial_compiled_pattern): Cast all
10482 ptrdiff_t to long for printing.
10483 (print_compiled_pattern): Use Z for printing size_t.
10484 * posix/testfnm.c (tests): Avoid trigraphs.
10485 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
10486 Use a C comment, not an assembly comment.
10488 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
10489 of __ASSUME_32BITUIDS.
10491 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10493 * libio/iofopncook.c: Remove K&R prototypes.
10495 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
10497 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
10498 an initial value of 1024 instead of RLIM_INFINITY.
10500 * Versions.def (libmachuser, libhurduser): Remove these sections,
10501 since these libraries do not presently use symbol versions.
10503 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
10504 is RLIM_INFINITY, return -1 instead.
10506 2000-03-24 Andreas Jaeger <aj@suse.de>
10508 * Makefile (postclean): Added soversions.i.
10510 2000-03-24 Scott Bambrough <scottb@netwinder.org>
10512 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
10513 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
10514 and _FPU_IEEE. Change _FPU_RESERVED.
10516 2000-03-24 Scott Bambrough <scottb@netwinder.org>
10518 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
10520 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
10522 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
10523 (gaih_inet): Remove unused duplicate variable.
10525 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
10526 Don't use __libc_sa_len, which only exists for Linux. Just handle
10527 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
10528 only flavors supported by this function anyway.
10530 2000-03-24 Geoff Clare <gwc@unisoft.com>
10532 * stdlib/strfmon.c: Corrected problems with missing signs and
10533 missing or extra spaces; allow for sign strings longer than
10534 one character; add padding to ensure positive and negative
10535 formats are aligned when a left precision is used.
10537 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10539 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
10540 Patch by John Mizel <John.Mizel@msdw.com>.
10542 2000-03-25 Ulrich Drepper <drepper@redhat.com>
10544 * manual/install.texi: Remove references to crypt add-on.
10546 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
10548 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
10549 section while taking the _hurd_rlimit_lock.
10550 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10552 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
10554 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
10557 * sysdeps/mach/hurd/if_index.c: New file.
10559 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
10560 * sysdeps/gnu/net/if.h: here.
10561 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
10562 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
10563 * sysdeps/generic/net/if.h: New file. Declares just the standard
10564 functions and `struct if_nameindex' type.
10565 * socket/Makefile (headers): Add net/if.h here.
10566 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
10567 * sysdeps/mach/hurd/Dist: Remove it here.
10568 * sysdeps/unix/sysv/linux/Dist: And here.
10569 * sysdeps/generic/if_index.c: Include <net/if.h>.
10571 2000-03-24 Andreas Jaeger <aj@suse.de>
10573 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
10574 access relocated entries in l_info.
10575 (elf_machine_got_rel): Likewise.
10576 (elf_machine_runtime_setup): Likewise.
10577 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
10578 (elf_machine_runtime_setup): Likewise.
10579 (__dl_runtime_resolve): Likewise.
10581 2000-03-23 Ulrich Drepper <drepper@redhat.com>
10583 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
10584 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
10585 according to RFC 2553.
10586 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
10587 * inet/getnameinfo.c: Likewise.
10588 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
10590 2000-03-23 Bruno Haible <haible@clisp.cons.org>
10592 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
10593 Remove no-op pointer increment.
10595 2000-03-23 Andreas Jaeger <aj@suse.de>
10597 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
10598 follow change for libio.h from 2000-03-10.
10600 2000-03-23 Andreas Jaeger <aj@suse.de>
10602 * elf/dl-addr.c: Adjust include paths for ldsodefs location
10604 * elf/dl-debug.c: Likewise.
10605 * elf/dl-deps.c: Likewise.
10606 * elf/dl-error.c: Likewise.
10607 * elf/dl-fini.c: Likewise.
10608 * elf/dl-init.c: Likewise.
10609 * elf/dl-load.c: Likewise.
10610 * elf/dl-lookup.c: Likewise.
10611 * elf/dl-minimal.c: Likewise.
10612 * elf/dl-object.c: Likewise.
10613 * elf/dl-open.c: Likewise.
10614 * elf/dl-preinit.c: Likewise.
10615 * elf/dl-profile.c: Likewise.
10616 * elf/dl-profstub.c: Likewise.
10617 * elf/dl-reloc.c: Likewise.
10618 * elf/dl-runtime.c: Likewise.
10619 * elf/dl-support.c: Likewise.
10620 * elf/dl-symbol.c: Likewise.
10621 * elf/dl-version.c: Likewise.
10622 * elf/rtld.c: Likewise.
10623 * elf/sprof.c: Likewise.
10624 * sysdeps/generic/dl-cache.c: Likewise.
10625 * sysdeps/generic/dl-origin.c: Likewise.
10626 * sysdeps/generic/dl-sysdep.c: Likewise.
10627 * sysdeps/generic/elf/backtracesyms.c: Likewise.
10628 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10629 * sysdeps/generic/libc-start.c: Likewise.
10630 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10631 * sysdeps/powerpc/dl-machine.c: Likewise.
10632 * sysdeps/powerpc/elf/libc-start.c: Likewise.
10633 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10634 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10635 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
10637 * elf/ldsodefs.h: Move file to ...
10638 * sysdeps/generic/ldsodefs.h: ... here.
10640 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
10642 * sysdeps/mips/elf/ldsodefs.h: New file.
10644 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
10646 (_dl_check_map_versions): Likewise.
10647 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10648 * elf/dl-load.c (_dl_init_paths): Likewise.
10649 (_dl_map_object): Likewise.
10650 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
10651 (elf_get_dynamic_info): Likewise.
10652 * elf/do-lookup.h (FCT): Likewise.
10653 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
10654 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
10655 * elf/dl-addr.c (_dl_addr): Likewise.
10656 * elf/dl-runtime.c (profile_fixup): Likewise.
10658 * elf/dl-init.c (_dl_init_next): Likewise.
10659 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
10660 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
10661 (DISTINGUISH_LIB_VERSIONS): Likewise.
10662 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
10663 (elf_machine_rel): Likewise.
10665 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
10666 for writable dynamic section.
10668 2000-03-22 Ulrich Drepper <drepper@redhat.com>
10670 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
10671 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
10673 2000-03-22 Andreas Jaeger <aj@suse.de>
10675 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
10676 from latest Linux kernel.
10678 2000-03-21 Andreas Jaeger <aj@suse.de>
10680 * Versions.def: Add version 2.1.4.
10682 2000-03-21 Ulrich Drepper <drepper@redhat.com>
10684 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
10685 * libio/oldiofopen.c: Likewise.
10686 * libio/oldiofclose.c: Likewise.
10687 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10689 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
10691 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
10692 indicating the first version set to obsolete the conditionalized code.
10693 (compat_symbol): New macro.
10694 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
10695 rhs be the ABI_* macro for the subsuming version. Assign increasing
10696 integer values to the ABI_* macros for supported versions.
10697 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
10698 compat_symbol macro.
10700 2000-03-21 Ulrich Drepper <drepper@redhat.com>
10702 * nscd/connections.c (nscd_run): Pretty print.
10703 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
10705 * manual/charset.texi: Fix typos. Rephrase.
10706 * manual/process.texi: Likewise.
10707 * manual/signal.texi: Likewise.
10708 Patches by Mike Coleman <mkc@kc.net>.
10710 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
10712 * libio/iofdopen.c: Likewise.
10713 * libio/iofgetpos.c: Likewise.
10714 * libio/iofgetpos64.c: Likewise.
10715 * libio/iofopen.c: Likewise.
10716 * libio/iofsetpos.c: Likewise.
10717 * libio/iofsetpos64.c: Likewise.
10718 * libio/iopopen.c: Likewise.
10719 * libio/oldiofopen.c: Likewise.
10720 * libio/pclose.c: Likewise.
10721 * sysdeps/gnu/siglist.c: Likewise.
10722 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10724 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
10725 chance to expand VERSION_##lib##_##version.
10727 * libio/fileops.c: Use new macros from shlib-compat.h to define
10729 * libio/iofclose.c: Likewise.
10730 * libio/oldiofclose.c: Likewise.
10731 Patch by Roland McGrath <roland@frob.com>.
10733 2000-03-21 Jakub Jelinek <jakub@redhat.com>
10735 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
10736 Lay out struct sigcontext according to what really gets passed on
10738 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
10739 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
10740 (prgregset_t, prfpregset_t): Define to elf_* types.
10741 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
10742 Define to correct value.
10743 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
10745 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
10747 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
10749 * scripts/firstversions.awk: Allow multiple version sets in the
10750 "earliest version" specification, meaning that version sets in the
10751 gaps between listed versions should be folded into the earliest later
10752 version that is explicitly listed.
10753 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
10754 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
10756 2000-03-21 Ulrich Drepper <drepper@redhat.com>
10758 * iconv/gconv_builtin.c: Include <endian.h>.
10759 * iconv/gconv_builtin.h: Add UCS-BE aliases.
10760 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
10761 according to current platform.
10762 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
10763 __gconv_transform_internal_ucs2reverse, and
10764 __gconv_transform_internal_ucs4le.
10765 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
10766 __gconv_transform_ucs2reverse_internal and
10767 __gconv_transform_internal_ucs2reverse.
10768 * iconvdata/Makefile (modules): Add UNICODE.
10769 (distribute): Add unicode.c.
10770 * iconvdata/gconv-modules: Add definitions for UNICODE module.
10771 * iconvdata/unicode.c: New file.
10773 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
10774 determine byte order of input and convert accordingly.
10776 * iconvdata/utf-16.c (gconv_init): Fix typo.
10778 2000-03-20 Ulrich Drepper <drepper@redhat.com>
10780 * iconvdata/gconv-modules: Fix typo.
10782 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
10785 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
10787 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
10789 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
10791 2000-03-20 Ulrich Drepper <drepper@redhat.com>
10793 * misc/Makefile (routines): Add mincore.
10795 2000-03-20 Andreas Jaeger <aj@suse.de>
10797 * sysdeps/generic/mincore.c: New stub file.
10799 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
10800 from latest Linux kernel.
10802 2000-03-20 Ulrich Drepper <drepper@redhat.com>
10804 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
10805 _SC_GETPW_R_SIZE_MAX.
10807 2000-03-20 Richard Henderson <rth@cygnus.com>
10809 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
10812 2000-03-20 Richard Henderson <rth@cygnus.com>
10814 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
10815 of arithmetic instructions.
10817 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
10818 with the fpcr. Protect from INV exception.
10819 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
10820 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
10821 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
10823 * sysdeps/alpha/fpu/s_copysign.c: New.
10824 * sysdeps/alpha/fpu/s_copysignf.c: New.
10825 * sysdeps/alpha/fpu/s_fabs.c: New.
10826 * sysdeps/alpha/fpu/s_fabsf.c: New.
10827 * sysdeps/alpha/fpu/s_rint.c: New.
10828 * sysdeps/alpha/fpu/s_rintf.c: New.
10830 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
10832 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
10834 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
10835 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
10836 Use physical addresses not KSEG addresses.
10837 (io_system): Add PYXIS.
10838 (io): Remove hae.reg, sys, hae_shift.
10839 (stb_mb, stw_mb, stl_mb, __sethae): New.
10840 (inline_outb, inline_outw, inline_outl): Don't set hae.
10841 (inline_inb, inline_inw, inline_inl): Likewise.
10842 (dense_sethae): New null function.
10843 (struct cpuinfo_data): New.
10844 (process_cpuinfo): Use local and stack variables, not static.
10845 Move readlink check here from init_iosys.
10846 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
10848 (_hae_shift): Calculate it here.
10849 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
10850 add pciconfig_iobase.
10852 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
10854 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
10855 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
10857 * scripts/versions.awk: Fixed version renaming code to distinguish
10858 libraries properly.
10860 2000-03-19 Ulrich Drepper <drepper@redhat.com>
10862 * include/stdlib.h: Add prototype for __cxa_atexit.
10864 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
10865 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
10867 2000-03-17 Cristian Gafton <gafton@redhat.com>
10869 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
10870 existing rtld-installed-name.
10871 ($(rtld-installed-name)): Request libc-$(version) be installed too.
10872 replace existing rtld-installed-name using $(symbolic-link-prog).
10874 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
10876 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
10877 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
10878 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
10879 but not the former.
10881 2000-03-19 Ulrich Drepper <drepper@redhat.com>
10883 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
10884 glob64. Since there is no glob64 in the LFS proposal applications
10885 can assume that glob handles LFS situations. glob64 is only needed
10886 if alternative filesystem functions are used.
10888 2000-03-19 Geoff Clare <gwc@unisoft.com>
10890 * sysdeps/generic/glob.c: Correct gl_pathc value returned
10891 when GLOB_DOOFFS is set; correct handling of patterns
10892 containing escaped wildcards (and no unescaped ones);
10893 GLOB_ERR flag was being ignored in some situations.
10895 * posix/globtest.c, posix/globtest.sh: Updated to include
10896 tests for the problems fixed by the above changes to glob.c.
10898 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
10900 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
10902 * Makeconfig (soversion.i): Use only first match for each lib.
10904 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
10906 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
10907 rather than $(sysd-dirs-done) to protect these rules.
10909 * Makerules (version-renames.def): Target removed.
10910 (Versions.all): Depend on soversions.i directly and parse it.
10912 * Makeconfig (soversions.i): New target, input-reading parts of
10913 soversions.mk generation moved here; result is a canonicalized
10914 list "LIB VERSION [SET]" for this configuration.
10915 (soversions.mk): Use that as input. Don't emit map-firstversions.
10916 * Makerules (version-renames.def): New target, generated from
10917 soversions.i with contents that was in $(map-firstversions).
10918 (Versions.all): Don't depend on soversions.mk, depend on
10919 version-renames.def instead; just cat it into the input.
10921 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
10922 for $(map-firstversions), which better handles it being empty.
10924 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
10925 supported version for libc 0.2.90.libio to GLIBC_2.2.
10927 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
10928 and use it to emit new variable `map-firstversions'.
10929 * scripts/firstversions.awk: New file.
10930 * Makerules (Versions.all): Use scripts/firstversions.awk and
10931 the $(map-firstversions) value to generate a modified versions list
10932 that includes renames in "A = B" syntax for each version set earlier
10933 than the "earliest symbol version" named in shlib-versions.
10934 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
10935 rename version set A to B in the output to the intermediate file.
10936 * scripts/abi-versions.awk: New file.
10937 * Makerules (abi-versions.h): New target, generated by that script.
10938 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
10939 * include/shlib-compat.h: New file, uses that generated header.
10941 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
10943 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
10944 after stripping # comments, and then run it through cpp.
10945 This allows things like "%ifdef FOO" based on config.h settings.
10946 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
10948 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
10949 and other errors that indicate a pseudo-receive happened, grok through
10950 the message buffer for port rights that need references fixed up.
10952 2000-03-16 Andreas Jaeger <aj@suse.de>
10954 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
10956 * sysdeps/unix/sysv/linux/madvise.c: Remove.
10958 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
10959 from latest Linux kernel.
10960 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
10962 * misc/sys/mman.h: Add prototype for mincore.
10964 2000-03-17 Ulrich Drepper <drepper@redhat.com>
10966 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
10967 entry for GLIBC_2.0 version of setrlimit.
10968 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
10970 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
10972 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
10973 * nis/nss_compat/compat-initgroups.c: Likewise.
10974 * nis/nss_nis/nis-initgroups.c: Likewise.
10975 * nis/nss_nis/nis-netgrp.c: Likewise.
10976 * nis/nss_nis/nis-proto.c: Likewise.
10977 * nis/nss_nis/nis-rpc.c: Likewise.
10978 * nis/nss_nis/nis-service.c: Likewise.
10979 * nis/ypclnt.c: Likewise.
10981 2000-03-16 Andreas Jaeger <aj@suse.de>
10983 * manual/Makefile: MAKEINFO is set to `:' from configure if it
10984 doesn't exist, correct checks. Fixes PR libc/1649.
10986 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
10988 * nscd/hstcache.c: Restore correct UID.
10989 * nscd/pwdcache.c: Likewise.
10990 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
10992 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
10994 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
10995 macros for register names, in line with 2000-03-14 linux change.
10997 * sysdeps/mach/sched_yield.c: New file.
10999 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
11001 * sysdeps/generic/lockfile.c: Include <stdio.h>
11002 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
11003 case <libio.h> defined them.
11004 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
11006 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
11007 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
11009 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
11010 for more pleasing parse error.
11012 2000-03-16 Ulrich Drepper <drepper@redhat.com>
11014 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
11016 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
11018 * elf/Makefile: Add rules to compile and run constload1 test.
11019 * elf/constload1.c: New file.
11020 * elf/constload2.c: New file.
11021 * elf/constload3.c: New file.
11023 2000-03-15 Ulrich Drepper <drepper@redhat.com>
11025 * sysdeps/posix/open64.c: Make __open64 weak alias.
11026 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
11027 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
11028 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
11029 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11030 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
11031 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
11032 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
11033 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
11034 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11035 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
11037 2000-03-14 Ulrich Drepper <drepper@redhat.com>
11039 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
11040 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
11042 2000-03-16 Mark Kettenis <kettenis@gnu.org>
11044 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
11045 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
11047 2000-03-08 Andreas Jaeger <aj@suse.de>
11049 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
11051 2000-03-14 Ulrich Drepper <drepper@redhat.com>
11053 * timezone/africa: Update from tzdata2000d.
11054 * timezone/asia: Likewise.
11055 * timezone/australasia: Likewise.
11056 * timezone/europe: Likewise.
11057 * timezone/northamerica: Likewise.
11058 * timezone/southamerica: Likewise.
11060 * po/fr.po: Update from translation team.
11061 * po/de.po: Likewise.
11063 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
11064 last parameter. Move code to add map to global scope from here...
11065 * elf/dl-open.c (dl_open_worker): ...here.
11066 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
11067 * elf/rtld.c: Adjust call to _dl_map_object_deps.
11069 * locale/programs/ld-collate.c (collate_read): Fix warning.
11071 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
11072 values and macros for register names.
11074 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
11075 returned by seek cookie function is -1.
11077 2000-03-14 Andreas Jaeger <aj@suse.de>
11079 * locale/localeconv.c (localeconv): Fix typo.
11080 Reported by Andre Charbonneau <andrec@corel.com>.
11082 2000-03-14 Ulrich Drepper <drepper@redhat.com>
11084 * iconv/skeleton.c: Increment __invocation_counter in inner loop
11085 since modules depend on it counting the number of times the conversion
11086 function got called.
11088 * iconv/gconv_open.c: Optimize loop to setup step data structure.
11090 * iconv/gconv.h: Pretty print.
11092 2000-03-04 Ulrich Drepper <drepper@redhat.com>
11094 * posix/wordexp-test.c: Correct one of the tests added in the last
11095 change. Really get the root passwd entry to check again ~root.
11097 2000-03-10 Andreas Jaeger <aj@suse.de>
11099 * manual/filesys.texi (Working Directory): Fix last patch.
11100 Patch by Martin Buchholz <martin@xemacs.org>.
11102 2000-03-10 Andreas Jaeger <aj@suse.de>
11104 * manual/creature.texi (Feature Test Macros): Fix language.
11106 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
11108 * mach/devstream.c (devstream_write, devstream_read): New functions.
11109 (input, output): Functions removed.
11110 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
11111 using only the vanilla fopencookie interface.
11113 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
11114 as macro for __io_functions.
11115 (funcsio): Use cookie_io_functions_t type name.
11116 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
11118 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
11120 (fopencookie): Use it.
11121 * libio/libio.h: Declare _IO_cookie_init.
11122 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
11125 * libio/libio.h (__io_seek_fn): Fix second argument type
11126 to be a pointer, in line with the manual and the old stdio.
11127 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
11129 * sysdeps/generic/bits/stdio-lock.h: New file.
11130 This is a stub with #error, but that's better than no file at all.
11132 2000-03-09 Martin Buchholz <martin@xemacs.org>
11134 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
11135 * manual/message.texi (Using gettextized software): Doc Fixes.
11136 * manual/message.texi (Message Translation): Doc Fixes.
11137 * manual/filesys.texi (File Size): Doc Fixes.
11138 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
11139 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
11140 * iconv/gconv_db.c (find_derivation): Doc Fixes.
11141 * manual/install.texi: Doc Fixes.
11142 * manual/search.texi (Hash Search Function): Doc Fixes.
11143 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
11144 * FAQ.in: Doc Fixes.
11145 * config.h.in: Doc Fixes.
11146 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
11147 Doc Fixes. `allows to' is not correct English.
11149 * elf/rtld.c: Doc fixes.
11150 * manual/creature.texi (Feature Test Macros): Doc fixes.
11151 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
11153 * manual/filesys.texi (Working Directory): Check for ERANGE to
11156 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
11158 * string/argz-stringify.c (__argz_stringify): Fix loop termination
11159 conditions so as not to clobber the final '\0' when there is only one
11160 element in the vector.
11162 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
11164 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
11165 broken by 2000-02-27 change.
11167 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
11169 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
11171 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
11172 argument type, for 2000-02-22 change in signal/signal.h declaration.
11174 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
11176 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
11177 to getdirentries64 (no __), since the Linux implementation
11178 has no __ name, and there is no declaration for the __ name.
11180 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
11182 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
11183 sed regexp so as not to break directory names including /../ within.
11185 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
11186 The sysdeps/generic file is right for BSD. This file was in fact the
11187 Hurd file, but the only difference was the WNOREAP flag that was never
11188 actually implemented or used anywhere.
11190 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
11191 since AC_PATH_PROG already does it for us.
11192 (PERL): Rewrite check added in 2000-02-29 change for syntactic
11193 correctness and sh portability. I replaced the broken check
11194 with a more sensible implementation of the apparently intended
11195 semantics, which might still be questionable. Using expr causes
11196 a non-numeric value for `perl -V:apiversion` to be accepted,
11197 refusing to use only a perl that reports a number less than 5;
11198 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
11199 * configure: Regenerated.
11201 2000-03-08 Andreas Jaeger <aj@suse.de>
11203 * manual/crypt.texi: Fix paths.
11205 2000-03-07 Andreas Jaeger <aj@suse.de>
11207 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
11209 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
11212 2000-03-06 Andreas Jaeger <aj@suse.de>
11214 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
11215 in __sgn1l, otherwise g++ fails to parse this.
11216 Reported by Sean Chen <sean.chen@turbolinux.com>.
11218 2000-03-03 Geoff Keating <geoffk@cygnus.com>
11220 * configure.in: Compute sizeof-long-double.
11221 * configure: Regenerated.
11222 * config.make.in: Make sizeof-long-double available to sub-makes.
11224 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
11226 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
11229 2000-03-03 Geoff Keating <geoffk@cygnus.com>
11231 * Makeconfig (rpath-dirs): Add crypt.
11232 (all-subdirs): Remove md5crypt.
11233 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
11234 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
11235 * sysdeps/generic/crypt-entry.c: Delete.
11236 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
11237 * sysdeps/generic/crypt.h: Delete.
11238 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
11239 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
11240 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
11241 * sysdeps/generic/des_impl.c: Delete.
11242 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
11243 * crypt/sysdeps: Delete.
11244 * crypt/crypt_util.c: Don't use `patchlevel.h'.
11245 * md5-crypt/Versions: Move to crypt/.
11246 * md5-crypt/md5-crypt.c: Move to crypt/.
11247 * md5-crypt/md5.c: Move to crypt/.
11248 * md5-crypt/md5c-test.c: Move to crypt/.
11249 * md5-crypt/md5test.c: Move to crypt/.
11250 * md5-crypt: Delete.
11251 * crypt/Makefile: Adjust for new structure.
11253 2000-03-03 Paul Eggert <eggert@twinsun.com>
11255 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
11256 define to 1 if not defined.
11258 2000-03-03 Andreas Jaeger <aj@suse.de>
11260 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
11262 2000-03-03 Andreas Jaeger <aj@suse.de>
11264 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
11266 (xdr_int64_t): Correctly handle lower half.
11267 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
11269 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
11271 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
11274 2000-03-02 Andreas Jaeger <aj@suse.de>
11276 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
11279 2000-03-02 Andreas Jaeger <aj@suse.de>
11281 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
11283 2000-03-01 Andreas Jaeger <aj@suse.de>
11285 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
11286 (tests): Added tst-getdate.
11288 * time/tst-getdate.c: New file.
11290 * time/datemsk: New file, needed for tst-getdate.
11292 2000-02-29 Cristian Gafton <gafton@redhat.com>
11294 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
11296 2000-02-17 H.J. Lu <hjl@gnu.org>
11298 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
11300 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
11302 (svcudp_recv): Set up message with the new "xp_pad" field for
11304 (svcudp_reply): Support IP_PKTINFO if available.
11306 2000-03-01 Andreas Jaeger <aj@suse.de>
11308 * time/getdate.c (check_mday): Fix check for february.
11309 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
11310 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
11312 2000-03-02 Andreas Jaeger <aj@suse.de>
11314 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
11315 g++ fails to parse this.
11316 Reported by Sean Chen <sean.chen@turbolinux.com>.
11318 2000-02-28 Ulrich Drepper <drepper@redhat.com>
11320 * io/creat.c: Moved to...
11321 * sysdeps/generic/creat.c: ...here.
11322 * io/creat64.c: Moved to...
11323 * sysdeps/generic/creat64.c: ...here.
11324 * io/lockf.c: Moved to...
11325 * sysdeps/generic/lockf.c: ...here.
11327 * crypt/crypt.texi: Moved to...
11328 * manual/crypt.texi: ...here.
11329 * crypt/examples/genpass.c: Moved to...
11330 * manual/examples/genpass.c: ...here.
11331 * crypt/examples/mygenpass.c: Moved to...
11332 * manual/examples/mygenpass.c: ...here.
11333 * crypt/examples/testpass.c: Moved to...
11334 * manual/examples/testpass.c: ...here.
11336 * manual/Makefile (chapters): Add crypt.
11337 * manual/conf.texi: Add usual header for not-last chapter.
11338 * manual/crypt.texi: Add special header for last chapter.
11340 2000-02-28 Geoff Keating <geoffk@cygnus.com>
11342 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
11343 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
11344 complain if there is no crypt add-on.
11345 * crypt/configure: Removed.
11347 * crypt/crypt.texi: Update documentation of US export restrictions
11348 to match the 14 Jan 2000 regulations.
11350 2000-02-28 Geoff Keating <geoffk@cygnus.com>
11352 * crypt: New subdirectory, merged in from the crypt add-on.
11354 2000-02-28 Ulrich Drepper <drepper@redhat.com>
11356 * include/unistd.h: Add __rmdir and __mkdir prototypes.
11359 See ChangeLog.10 for earlier changes.