1 2000-10-24 Andreas Jaeger <aj@suse.de>
3 * elf/dl-lookup.c (add_dependency): Remove unused variable j.
5 2000-10-24 Ulrich Drepper <drepper@redhat.com>
7 * malloc/obstack.c (_obstack_newchunk): Correctly align first returned
9 * malloc/tst-obstack.c: New file.
10 Patch and test case by Alexandre Duret-Lutz <duret_g@epita.fr>.
11 * malloc/Makefile (tests): Add tst-obstack.
13 Complete revamp of the reference counter handling.
14 * include/link.h (struct link_map): Add l_idx field.
15 * elf/dl-close.c: Handle decrementing of reference counters more
16 correctly. If necessary decrement reference counters of dependencies
18 * elf/dl-lookup.c (add_dependency): Only increment reference counter
19 of the object itself and not also its dependencies.
20 * elf/dl-open.c: Increment reference counters here.
21 * elf/dl-deps.c: Remove reference counter handling here.
22 * elf/dl-load.c: Likewise.
23 * elf/rtld.c: Adjust for _dl_map_deps not handling reference counters.
25 * elf/loadtest.c: Print loaded objects at the beginning.
27 2000-10-24 Andreas Jaeger <aj@suse.de>
29 * sysdeps/mips/dl-machine.h: Partly revert patch from 2000-10-18.
31 2000-10-23 Ulrich Drepper <drepper@redhat.com>
33 * include/link.h (struct link_map): New bit field l_faked.
34 * elf/dl-deps.c: Use l_faked field in struct link_map instead of
35 the magic l_opencount==0.
36 * elf/dl-load.c: Likewise.
37 * elf/dl-version.c: Likewise.
38 * elf/rtld.c: Likewise.
40 * elf/dl-close.c (_dl_close): Add a few more __builtin_expect.
42 2000-10-23 Jim Meyering <meyering@ascend.com>
44 Allow this code to be used outside of glibc.
45 * sysdeps/generic/memrchr.c: Undef __memrchr, too.
46 [!weak_alias]: Define __memrchr to memrchr.
47 Guard weak_alias use with `#ifdef weak_alias'.
49 2000-10-23 Ulrich Drepper <drepper@redhat.com>
51 * elf/unload.c: Generate more debugging output.
53 * elf/neededtest.c: Make it more complicated.
54 * elf/neededtest2.c: New file.
55 * elf/Makefile: Add rules to build and run neededtest2.
57 * elf/dl-sym.c (_dl_sym): Use exact check for caller PC in range
61 * elf/dl-sym.c (_dl_sym): For RTLD_DEFAULT, search in objects
62 global scope if we can determine it.
64 2000-10-23 Andreas Schwab <schwab@suse.de>
66 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (RLIMIT_LOCKS): Added.
67 (RLIMIT_NLIMITS): Sync with kernel definition.
68 (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Also define as macros.
70 2000-10-23 Andreas Schwab <schwab@suse.de>
72 * sysdeps/m68k/fpu/libm-test-ulps: Updated.
74 2000-10-23 Ulrich Drepper <drepper@redhat.com>
76 * elf/elf.h (R_IA64_GPREL32MSB, R_IA64_GPREL32LSB): New definitions.
78 2000-10-22 Bruno Haible <haible@clisp.cons.org>
80 * iconvdata/big5hkscs.c (big5hkscs_to_ucs): Add irreversible mappings
81 for 0x8BF8, 0xA27E..0xA2A7.
82 * iconvdata/BIG5HKSCS.irreversible: New file.
84 2000-10-23 Jakub Jelinek <jakub@redhat.com>
86 * timezone/zdump.c (main): setlocale LC_CTYPE as well as LC_MESSAGES.
87 * timezone/zic.c (main): Likewise.
89 2000-10-23 Thorsten Kukuk <kukuk@suse.de>
91 * nscd/connections.c (invalidate_cache): Don't invalidate a cache
94 2000-10-23 Andreas Jaeger <aj@suse.de>
96 * sysdeps/s390/fpu/libm-test-ulps: New ulps.
98 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add fcntl64.
99 Patch by Ralf Baechle <ralf@gnu.org>.
101 2000-10-21 Ulrich Drepper <drepper@redhat.com>
103 * elf/dl-load.c (_dl_map_object_from_fd): Split out ELF file
104 verification in open_verify.
105 (open_verify): New function. Called instead of open. Ignores valid
106 files for other architectures.
107 (open_path): Call open_verify instead of open.
108 (_dl_map_object): Likewise.
109 Somewhat based on a patch by Don Dugger <n0ano@valinux.com>.
111 * io/pwd.c (main): The output was missing a newline.
113 * posix/fnmatch_loop.c: Make FNM_LEADING_DIR behave as GNU tar
114 expects it. Patch by Colin Watson <riva.ucam.org>.
115 * posix/tst-fnmatch.input: Add test cases for FNM_LEADING_DIR.
117 * elf/dl-open.c (add_to_global): New function. Split out from
119 (dl_open_worker): Call add_to_global not only for new objects, also for
120 previously loaded objects when (mode & RTLD_GLOBAL) and the object
121 was not yet in the global scope.
122 * elf/Makefile: Add rules to build and run lateglobal.
123 * elf/lateglobal.c: New file.
124 * elf/ltglobmod1.c: New file.
125 * elf/ltglobmod2.c: New file.
127 2000-10-20 Ulrich Drepper <drepper@redhat.com>
129 * include/link.h (struct link_map): Add l_soname_added bitfield.
130 * elf/dl-load.c (_dl_map_object): Remember when we added the
131 SONAME to the l_libname list and don't try it again.
133 * elf/dl-close.c: Decrement opencount for all dependencies which can
134 be removed even if the object is not yet unloaded.
135 * elf/dl-deps.c (_dl_map_object_deps): If dependency is already in
136 the list decrement opencount of all dependencies.
137 * elf/dl-load.c (_dl_map_object_from_fd): Increment object of object
138 and all dependencies.
139 (_dl_map_object): Likewise.
140 * elf/dl-lookup.c (add_dependency): Likewise.
142 * elf/loadtest.c: Add debug when with more output.
144 * elf/Makefile: Add rules to build and run unload2.
145 * elf/unload2.c: New file.
146 * elf/unload2mod.c: New file.
147 * elf/unload2dep.c: New file.
149 * intl/libintl.h (ngettext macro): Add missing parameter.
150 (dngettext macro): Likewise.
152 2000-10-19 H.J. Lu <hjl@gnu.org>
154 * elf/Makefile (distribute): Add neededtest.c, neededobj1.c,
155 neededobj2.c and neededobj3.c.
156 (tests): Add neededtest.
157 (modules-names): Add neededobj1, neededobj2 and neededobj3.
158 ($(objpfx)neededobj1.so): New target.
159 ($(objpfx)neededobj2.so): Likewise.
160 ($(objpfx)neededobj3.so): Likewise.
161 ($(objpfx)neededtest): Likewise.
162 ($(objpfx)neededtest.out): Likewise.
163 * elf/neededtest.c: New. Based on the bug report from
164 Allen Bauer <kylix_rd@hotmail.com>.
165 * elf/neededobj1.c: Likewise.
166 * elf/neededobj2.c: Likewise.
167 * elf/neededobj3.c: Likewise.
169 2000-10-20 Ulrich Drepper <drepper@redhat.com>
171 * elf/dl-load.c (_dl_map_object_from_fd): Pass pointer to ELF header
172 to elf_machine_matches_host.
173 * sysdeps/alpha/dl-machine.h (elf_machine_matches_host): Parameter
174 is now pointer to ELF header.
175 * sysdeps/arm/dl-machine.h: Likewise.
176 * sysdeps/generic/dl-machine.h: Likewise.
177 * sysdeps/hppa/dl-machine.h: Likewise.
178 * sysdeps/i386/dl-machine.h: Likewise.
179 * sysdeps/ia64/dl-machine.h: Likewise.
180 * sysdeps/m68k/dl-machine.h: Likewise.
181 * sysdeps/mips/dl-machine.h: Likewise.
182 * sysdeps/mips/mips64/dl-machine.h: Likewise.
183 * sysdeps/powerpc/dl-machine.h: Likewise.
184 * sysdeps/s390/dl-machine.h: Likewise.
185 * sysdeps/sh/dl-machine.h: Likewise.
186 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
187 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
188 Patch by Martin Schwidefsksy <schwidefsky@de.ibm.com>.
190 2000-10-20 Jakub Jelinek <jakub@redhat.com>
192 * include/limits.h: Include bits/wordsize.h, use #if __WORDSIZE == 64
193 check instead of #ifdef __alpha__.
194 * include/bits/xopen_lim.h (WORD_BIT, LONG_BIT): Don't count on
195 INT_MAX, __INT_MAX__, LONG_MAX or __LONG_MAX__ being defined when
198 2000-10-20 Ulrich Drepper <drepper@redhat.com>
200 * posix/wordexp-tst.sh (testout): Place output file in build
201 directory. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
203 * sysdeps/powerpc/fpu/bits/mathinline.h: Pretty print.
205 2000-10-19 Ulrich Drepper <drepper@redhat.com>
207 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
208 Correctly handle numeric group member information.
209 Patch by tomasw@cs.huji.ac.il.
211 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
212 Complete test for strtol overflow.
214 2000-10-19 Jakub Jelinek <jakub@redhat.com>
216 * sysdeps/unix/sysv/linux/alpha/semctl.c (__new_semctl): Pass union
217 semun as 4th argument to semctl syscall, not address of it.
219 2000-10-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
221 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl64() syscall.
223 2000-10-17 Andreas Schwab <schwab@suse.de>
225 * string/string.h: Remove declaration of __strcasecmp and __strcasestr.
226 * include/string.h: Declare them here.
228 2000-10-18 Ralf Baechle <ralf@gnu.org>
230 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Include <asm/unistd.h>.
232 2000-10-19 Geoffrey Keating <geoffk@cygnus.com>
234 * sysdeps/powerpc/fpu/bits/mathinline.h: Add versions
235 of the unordered comparison functions that use the GCC builtins.
237 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): New function.
238 (__process_machine_rela): Print the address of an overflowing
241 2000-10-18 Ulrich Drepper <drepper@redhat.com>
243 * sysdeps/unix/sysv/linux/shm_open.c: Correct default mount point
245 (freeit): Remove unnecessary test.
247 2000-10-18 Andreas Jaeger <aj@suse.de>
249 * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_OK): New.
250 (ELF_MACHINE_BEFORE_RTLD_RELOC): Handle newer linkers.
251 (elf_machine_runtime_link_map): Likewise.
252 (elf_machine_runtime_setup): Likewise.
253 Handle dynamic linker's local got entries.
254 Patches by Ralf Baechle <ralf@gnu.org>.
256 2000-10-09 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
258 * sysdeps/mips/dl-machine.h (_dl_runtime_resolve): Define $sp as
259 the frame pointer. Allocate stack space for $a0 for
260 __dl_runtime_resolve(). Do not save $sp in $s0 as it's
263 2000-10-17 Ulrich Drepper <drepper@redhat.com>
265 * sysdeps/powerpc/fpu/libm-test-ulps: Update for changes in
268 2000-10-17 Andreas Schwab <schwab@suse.de>
270 * sysdeps/m68k/fpu/libm-test-ulps: Update for changes in
273 2000-10-17 Jakub Jelinek <jakub@redhat.com>
275 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
276 Add missing backslash.
278 2000-10-16 Ulrich Drepper <drepper@redhat.com>
280 * sysdeps/generic/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): Little cleanup.
282 * sysdeps/i386/fpu/libm-test-ulps: Update for changes in libm-test.inc.
284 2000-10-16 Jakub Jelinek <jakub@redhat.com>
286 * math/libm-test.inc (M_LOG_SQRT_PIl, M_LOG_2_SQRT_PIl): Increase
288 (acos_test, asin_text, cexp_test, cos_test, cproj_test, exp10_test,
289 sin_test, sincos_test, sqrt_test): Likewise. Add L suffixes also
291 (acosh_test, asinh_test, atan2_test, atanh_test, atan_test, cabs_test,
292 cacosh_test, cacos_test, casinh_test, casin_test, catanh_test,
293 catan_test, cbrt_test, ccosh_test, ccos_test, clog10_test, cosh_test,
294 csinh_test, csin_test, csqrt_test, ctanh_test, ctan_test, erfc_test,
295 erf_test, exp2_test, expm1_test, exp_test, fmod_test, hypot_test,
296 j0_test, j1_test, jn_test, lgamma_test, llrint_test, llround_test,
297 log10_test, log1p_test, log2_test, log_test, lrint_test, lround_test,
298 nextafter_test, nexttoward_test, pow_test, round_test, scalb_test,
299 sinh_test, static void, tanh_test, tan_test, tgamma_test, y0_test,
300 y1_test, yn_test): Add L suffixes also to parameters.
301 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Fix mask.
302 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
303 * soft-fp/op-2.h (_FP_FRAC_SRS_2): Fix computation of sticky bit.
305 2000-10-16 Ulrich Drepper <drepper@redhat.com>
307 * timezone/Makefile: Define HAVE_GETTEXT for zdump.c, zic.c,
308 ialloc.c, and scheck.c.
309 * malloc/obstack.c: Always include <libintl.h> for glibc.
310 * posix/getopt.c: Likewise.
311 Reported by Petr Vandrovec <VANDROVE@vc.cvut.cz>.
313 2000-10-15 Pete Wyckoff <pw@osc.edu>
315 * Rules: Define _LIBC during generation of bits/stdio_lim.d.
317 2000-10-15 Pete Wyckoff <pw@osc.edu>
319 * iconvdata/tst-tables.sh: Invoke other shell scripts through ${SHELL}.
320 * iconvdata/tst-table.sh: Likewise.
322 2000-10-15 Ulrich Drepper <drepper@redhat.com>
324 * elf/dl-error.c (_dl_signal_error): Allocate memory for objname
325 as well. Reported by Alexander V. Lukyanov <lav@yars.free.net>.
327 * iconvdata/gconv-modules: Add aliases for Winblowz charsets.
328 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
330 2000-10-13 Andreas Schwab <schwab@suse.de>
332 * elf/elf.h (R_IA64_PCREL60B): Add relocation.
334 2000-10-15 Ulrich Drepper <drepper@redhat.com>
336 * sysdeps/unix/sysv/linux/hppa/brk.c: Cleanups.
337 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
338 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
339 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Likewise.
340 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
342 2000-10-14 Ulrich Drepper <drepper@redhat.com>
344 * math/libm-test.inc (frexp_test): Add L suffix also to parameters.
345 (hypot_test): Likewise.
347 * sysdeps/generic/printf_fphex.c: Compute width of decimal point
348 string correctly. Handle padding correctly.
350 * sysdeps/ia64/fpu/printf_fphex.c: Use sizeof in _itowa parameters
352 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
353 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
355 2000-10-12 Alan Modra <alan@linuxcare.com.au>
357 * FAQ.in: Add --start-group and --end-group.
359 2000-10-12 Alan Modra <alan@linuxcare.com.au>
361 * malloc/memusage.c: Conditionalize stack usage calculation on
364 2000-10-12 Alan Modra <alan@linuxcare.com.au>
366 * config.h.in: Add ASM_LINE_SEP.
367 * configure.in: Add test for comment and line separators.
368 * include/libc-symbols.h: Define and use ASM_LINE_SEP, and add tabs to
369 placate some hppa assemblers.
370 * sysdeps/hppa/sysdep.h: Likewise.
371 * sysdeps/gnu/siglist.c: Insert \n and \t into inline asm.
372 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
374 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
376 * sysdeps/unix/sysv/linux/Makefile: Include <bits/initspin> in
378 * sysdeps/unix/sysv/linux/bits/initspin.h: Dummy version for
379 non-threaded platforms.
381 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
383 * configure.in: Add definitions for hppa.
384 * elf/elf.h: Add PLABEL32 relocation for hppa ELF32, comments
385 for IPLT and EPLT relocations.
386 * shlib-versions: Version symbol definitions for hppa-linux.
387 * sysdeps/unix/sysv/linux/configure.in: Define $arch_minimum_kernel
390 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
392 * sysdeps/hppa/Makefile: New file.
393 * sysdeps/hppa/Versions: New file.
395 * sysdeps/hppa/setjmp.S: New file.
396 * sysdeps/hppa/__longjmp.S: New file.
397 * sysdeps/hppa/bits/setjmp.h: New file.
398 * sysdeps/hppa/frame.h: New file.
400 * sysdeps/hppa/add_n.s: Don't use %r19 (linkage table pointer).
401 * sysdeps/hppa/sub_n.s: Likewise.
402 * sysdeps/hppa/lshift.s: Likewise.
403 * sysdeps/hppa/rshift.s: Likewise.
404 * sysdeps/hppa/udiv_qrnnd.s: Likewise.
405 * sysdeps/hppa/hppa1.1/addmul_1.s: Likewise.
406 * sysdeps/hppa/hppa1.1/submul_1.s: Likewise.
407 * sysdeps/hppa/hppa1.1/mul_1.s: Likewise.
408 * sysdeps/hppa/hppa1.1/udiv_qrnnd.s: Likewise.
410 * sysdeps/hppa/dl-machine.h: New file.
411 * sysdeps/hppa/dl-fptr.c: New file (note that this is almost
412 identical to the IA-64 one).
413 * sysdeps/hppa/dl-lookupcfg.h: Likewise.
414 * sysdeps/hppa/dl-symaddr.c: Likewise.
416 * sysdeps/hppa/elf/initfini.c: New file.
417 * sysdeps/hppa/elf/start.S: New file.
419 * sysdeps/hppa/fpu/bits/fenv.h: New file.
420 * sysdeps/hppa/fpu/fclrexcpt.c: New file.
421 * sysdeps/hppa/fpu/fedisblxcpt.c: New file.
422 * sysdeps/hppa/fpu/feenablxcpt.c: New file.
423 * sysdeps/hppa/fpu/fegetenv.c: New file.
424 * sysdeps/hppa/fpu/fegetexcept.c: New file.
425 * sysdeps/hppa/fpu/fegetround.c: New file.
426 * sysdeps/hppa/fpu/feholdexcpt.c: New file.
427 * sysdeps/hppa/fpu/fesetenv.c: New file.
428 * sysdeps/hppa/fpu/fesetround.c: New file.
429 * sysdeps/hppa/fpu/feupdateenv.c: New file.
430 * sysdeps/hppa/fpu/fegetexcptflg.c: New file.
431 * sysdeps/hppa/fpu/fraiseexcpt.c: New file.
432 * sysdeps/hppa/fpu/fsetexcptflg.c: New file.
433 * sysdeps/hppa/fpu/ftestexcept.c: New file.
435 * sysdeps/unix/sysv/linux/hppa/Makefile: New file.
436 * sysdeps/unix/sysv/linux/hppa/Versions: New file.
437 * sysdeps/unix/sysv/linux/hppa/syscalls.list: New file.
438 * sysdeps/unix/sysv/linux/hppa/sysdep.c: New file.
439 * sysdeps/unix/sysv/linux/hppa/sysdep.h: New file.
442 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: New file.
443 * sysdeps/unix/sysv/linux/hppa/bits/ioctls.h: New file.
444 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: New file.
445 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: New file.
446 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: New file.
447 * sysdeps/unix/sysv/linux/hppa/brk.c: New file.
448 * sysdeps/unix/sysv/linux/hppa/clone.S: New file.
449 * sysdeps/unix/sysv/linux/hppa/socket.S: New file.
450 * sysdeps/unix/sysv/linux/hppa/syscall.S: New file.
451 * sysdeps/unix/sysv/linux/hppa/setrlimit.c: New file.
452 * sysdeps/unix/sysv/linux/hppa/getrlimit.c: New file.
453 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: New file.
454 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: New file.
455 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: New file.
456 * sysdeps/unix/sysv/linux/hppa/mmap.c: New file.
457 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: New file.
458 * sysdeps/unix/sysv/linux/hppa/procfs.h: New file.
459 * sysdeps/unix/sysv/linux/hppa/ucontext.h: New file.
460 * sysdeps/unix/sysv/linux/hppa/umount.c: New file.
462 2000-10-12 Alan Modra <alan@linuxcare.com.au>
464 * sysdeps/hppa/hppa1.1/Implies: New file.
465 * sysdeps/hppa/memusage.h: New file.
467 2000-10-28 Jes Sorensen <jes@linuxcare.com>
469 * sysdeps/unix/sysv/linux/ia64/Versions: Export ioperm, iopl, inb,
470 inw, inl, _inb, _inw, _inl, outb, outw, outl, _outb, _outw,
471 _outl. Reported by Bill Nottingham.
473 2000-04-06 Andreas Schwab <schwab@suse.de>
475 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
476 restore register r8 for functions that return a structure.
478 2000-10-12 Jakub Jelinek <jakub@redhat.com>
480 * math/libm-test.inc (M_PI_6l, M_E2l, M_E3l, M_2_SQRT_PIl,
481 M_SQRT_PIl): Increase precision.
482 (cbrt_test): If cbrt is not implemented, don't test it.
483 Add L suffix to double constants in results which differ from their
484 L suffixed counterparts.
485 (exp10_test, fmod_test, frexp_test, hypot_test, sqrt_test): Likewise.
487 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
489 2000-10-11 Jakub Jelinek <jakub@redhat.com>
491 * inet/rexec.c (rexec_af): Convert rport to host order before
492 passing it to snprintf.
494 2000-10-14 Ulrich Drepper <drepper@redhat.com>
496 * sysdeps/gnu/netinet/tcp.h: Use u_intXX_t types instead of
497 uintXX_t since this is what <sys/types.h> defines and we include
498 this header. Reported by Bernhard Rosenkraenzer <bero@redhat.de>.
500 * intl/localealias.c (read_alias_file): Update string pointers
501 in map[] if realloc() changed the values.
502 Patch by Jakub Jelinek <jakub@redhat.com>.
504 * manual/stdio.texi: Update printf extension documentation after
505 z became a valid modifier.
506 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
508 * timezone/africa: Update from tzcode2000g and tzdata2000g.
509 * timezone/asia: Likewise.
510 * timezone/australasia: Likewise.
511 * timezone/backward: Likewise.
512 * timezone/europe: Likewise.
513 * timezone/iso3166.tab: Likewise.
514 * timezone/northamerica: Likewise.
515 * timezone/southamerica: Likewise.
516 * timezone/zone.tab: Likewise.
518 2000-10-14 Geoffrey Keating <geoffk@cygnus.com>
520 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl()
523 2000-10-13 Michael Fedrowitz <michael@fedrowitz.de>
525 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: New file.
526 * sysdeps/unix/sysv/linux/m68k/fcntl.c: New file.
527 * sysdeps/unix/sysv/linux/m68k/getdents64.c: New file.
528 * sysdeps/unix/sysv/linux/m68k/getrlimit.c: New file.
529 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: New file.
530 * sysdeps/unix/sysv/linux/m68k/glob64.c: New file.
531 * sysdeps/unix/sysv/linux/m68k/lockf64.c: New file.
532 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: New file.
533 * sysdeps/unix/sysv/linux/m68k/readdir64.c: New file.
534 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: New file.
535 * sysdeps/unix/sysv/linux/m68k/scandir64.c: New file.
536 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: New file.
537 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: New file.
538 * sysdeps/unix/sysv/linux/m68k/Dist: Add oldgetrlimit64.c.
539 * sysdeps/unix/sysv/linux/m68k/Makefile: Add oldgetrlimit64.
540 * sysdeps/unix/sysv/linux/m68k/Versions: Export __xstat64,
541 __fxstat64, __lxstat64, alphasort64, glob64, getrlimit, setrlimit,
542 getrlimit64, readdir64, readdir64_r, scandir64, versionsort64 at
544 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add oldgetrlimit,
545 oldsetrlimit for GLIBC_2.0.
547 * sysdeps/m68k/dl-machine.h (_dl_start_user): Pass correct
548 arguments to _dl_init.
550 2000-10-13 Geoffrey Keating <geoffk@cygnus.com>
552 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs for my Pentium III
553 building with the default options.
555 2000-10-11 Andreas Jaeger <aj@suse.de>
557 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set cache.
558 Patch by Denis Zaitsev <zzz@cd-club.ru>.
560 2000-10-09 Jakub Jelinek <jakub@redhat.com>
562 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): If x == y,
564 * manual/arith.texi (nextafter): Document it.
565 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Fix a comment.
567 2000-10-08 Ulrich Drepper <drepper@redhat.com>
569 * version.h (VERSION): Bump to 2.1.95.
571 * configure.in: Remove warning message.
573 * nscd/Makefile (distribute): Add nscd-types.h.
574 * elf/Makefile (distribute): Add gccframe.h.
575 * sysdeps/sparc/sparc32/Dist: Add ieee754.h.
576 * sysdeps/ia64/Dist: Add ieee754.h.
578 2000-10-07 Ulrich Drepper <drepper@redhat.com>
580 * elf/elf.h: Add a few section-related symbols.
582 * include/features.h (__STDC_ISO_10646__): Set to correct date.
583 Patch by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
585 2000-10-06 Jes Sorensen <jes@linuxcare.com>
587 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Implement
588 overflow generation by adding DBL_MAX to DBL_MAX instead of
589 setting the bits manually in the fpsr and generating the exception
590 with kill() if necessary.
591 (feraiseexcept): Implement underflow by dividing DBL_MIN by
592 DBL_MIN - similar to the overflow change described above.
594 2000-08-27 H.J. Lu <hjl@gnu.org>
596 * sysdeps/unix/sysv/linux/ia64/clone.S: Make it a dummy as clone
597 is not supported under Linux/ia64, use clone2.
599 2000-10-06 Jakub Jelinek <jakub@redhat.com>
601 * malloc/malloc.h (__THROW): Define to nothing if not gcc.
602 * misc/sys/cdefs.h (__THROW): Likewise.
604 2000-10-05 Jakub Jelinek <jakub@redhat.com>
606 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: New file.
608 2000-10-02 Jakub Jelinek <jakub@redhat.com>
610 * sunrpc/svc_udp.c (svcudp_recv): Set msg_controllen to all
611 remaining xp_pad space.
613 2000-10-05 Jakub Jelinek <jakub@redhat.com>
615 * elf/dl-close.c (_dl_close): Check imap's l_flags_1 for
616 DF_1_NODELETE, not list[i]'s.
618 2000-10-04 Ulrich Drepper <drepper@redhat.com>
620 * iconvdata/euc-kr.c (euckr_from_ucs4): Handle U20a9.
621 (BODY from direction): Map \x5c to U20a9.
622 * iconvdata/testdata/EUC-KR..UTF8: Adjust to this change.
623 * iconvdata/EUC-KR.irreversible: New file.
624 * iconvdata/Makefile (distribute): Add EUC-KR.irreversible.
626 * argp/argp-parse.c (argp_default_argp): Set libc as message domain.
627 (argp_version_argp): Likewise.
629 2000-10-04 Jakub Jelinek <jakub@redhat.com>
631 * stdio-common/vfscanf.c (_IO_vfscanf): For [ conversion do
632 input_error() if EOF is seen before processing.
633 * stdio-common/tstscanf.c (main): Add testcase.
635 2000-10-04 Ulrich Drepper <drepper@redhat.com>
637 * argp/argp-help.c: Make sure we get the correct gettext and
638 dgettext definitions.
639 * argp/argp-parse.c: Likewise.
641 2000-10-03 Ulrich Drepper <drepper@redhat.com>
643 * locale/programs/linereader.c (get_string): Also clear wide
644 string info if illegal_string.
646 2000-10-03 Andreas Schwab <schwab@suse.de>
648 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: New file.
650 2000-10-02 Jakub Jelinek <jakub@redhat.com>
652 * elf/nextmod1.c (failing_rtld_next_use): Ensure it is not tail call
655 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: New file.
657 2000-10-02 Ralf Baechle <ralf@gnu.org>
659 * sysdeps/unix/sysv/linux/mips/sys/tas.h: Add missing .mips0 at the
660 end of inline assembler code.
662 2000-10-02 Ulrich Drepper <drepper@redhat.com>
664 * include/features.h [__USE_FILE_OFFSET && !__REDIRECT]: Define
665 __USE_LARGEFILE64 and __USE_LARGEFILE to 1 and not nothing.
667 2000-10-02 Andreas Jaeger <aj@suse.de>
669 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Synch with Linux
672 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Add RLIMIT_LOCKS.
674 2000-10-01 Ralf Baechle <ralf@gnu.org>
676 * sysdeps/mips/dl-machine.h (RTLD_START): Fix computation of envp
677 argument passed to _dl_init.
679 2000-09-30 Bruno Haible <haible@clisp.cons.org>
681 * locale/programs/charmap-dir.h: New file.
682 * locale/programs/charmap-dir.c: New file.
683 * locale/programs/linereader.h (lr_create): New declaration.
684 * locale/programs/linereader.c (lr_create): New function, split out
686 (lr_open): Tailcall lr_create.
687 * locale/programs/locale.c: Include "charmap-dir.h". Don't include
689 (xstrdup): New declaration.
690 (more_help): Use xstrdup instead of strdup.
691 (write_locales): Likewise. When encountering a symbolic link, call
693 (write_charmaps): Simplify using the charmap-dir.h functions.
694 Use xstrdup instead of strdup.
695 * locale/programs/charmap.c: Include "charmap-dir.h". Don't include
696 <dirent.h> and <unistd.h>.
697 (cmlr_open): New function.
698 (charmap_read): Use cmlr_open instead of lr_open. Simplify using the
699 charmap-dir.h functions.
700 * locale/Makefile (distribute): Add charmap-dir.h.
701 (lib-modules): Add charmap-dir.
702 (CFLAGS-charmap-dir.c): Set to -Wno-write-strings, because posix_spawn
703 wants a 'char **', not a 'const char **'.
704 * include/spawn.h: New file.
706 2000-09-30 Bruno Haible <haible@clisp.cons.org>
708 * posix/spawn_faction_init.c: Include "spawn_int.h".
709 (__posix_spawn_file_actions_realloc): Fix second realloc argument.
711 2000-09-30 Bruno Haible <haible@clisp.cons.org>
713 * locale/programs/config.h (DEFAULT_CHARMAP): Set to ANSI_X3.4-1968.
715 2000-09-30 Bruno Haible <haible@clisp.cons.org>
717 * wcsmbs/wcwidth.h (__ctype32_wctype): Remove declaration.
718 (internal_wcwidth): Remove the tests for L'\0' and iswprint.
719 * locale/programs/ld-ctype.c (find_idx): If max == NULL, return
720 a pointer to the table entry, without extending the table.
721 (allocate_arrays): Set a width only for characters with 'print'
722 property. Set the width of L'\0' to 0.
723 * locale/C-ctype.c (_nl_C_LC_CTYPE_width): Use default entry 0xff
724 for unprintable characters. Set entry of NUL to 0.
726 2000-09-30 Bruno Haible <haible@clisp.cons.org>
728 * locale/programs/charmap.c (charmap_read): Avoid redundant tests.
729 Don't forget to call closedir when the filename was found as a
732 2000-09-30 Bruno Haible <haible@clisp.cons.org>
734 * iconv/gconv.h (__gconv_trans_context_fct): Change first argument's
737 2000-09-30 Bruno Haible <haible@clisp.cons.org>
739 * locale/programs/ld-ctype.c (wctype_table_init): Initialize level1,
740 level2, and level3 as well.
741 (wctype_table_add): Remove a few unnecessary conditionals.
743 2000-09-30 Ralf Baechle <ralf@gnu.org>
745 * wcsmbs/Versions [libc] (GLIBC_2.0): Add __mbrtowc.
747 2000-09-30 H.J. Lu <hjl@gnu.org>
749 * sysdeps/ieee754/ldbl-96/s_ceill.c (__ceill): Handle overflow.
750 * sysdeps/ieee754/ldbl-96/s_floorl.c (__floorl): Likewise.
752 2000-09-29 H.J. Lu <hjl@gnu.org>
754 * math/libm-test.inc (init_max_error): Clear all exceptions
755 before starting test.
756 (acosh_test): Test for existence of function.
757 (asinh_test): Likewise.
758 (atan2_test): Likewise.
759 (cabs_test): Likewise.
760 (cacos_test): Likewise.
761 (cacosh_test): Likewise.
762 (casin_test): Likewise.
763 (casinh_test): Likewise.
764 (catan_test): Likewise.
765 (catanh_test): Likewise.
766 (ccos_test): Likewise.
767 (ccosh_test): Likewise.
768 (cexp_test): Likewise.
769 (clog_test): Likewise.
770 (clog10_test): Likewise.
771 (cosh_test): Likewise.
772 (cpow_test): Likewise.
773 (csin_test): Likewise.
774 (csinh_test): Likewise.
775 (csqrt_test): Likewise.
776 (ctan_test): Likewise.
777 (ctanh_test): Likewise.
778 (fmod_test): Likewise.
779 (hypot_test): Likewise.
780 (remainder_test): Likewise.
781 (remquo_test): Likewise.
782 (sincos_test): Likewise.
783 (sinh_test): Likewise.
784 (tanh_test): Likewise.
786 2000-09-29 H.J. Lu <hjl@gnu.org>
788 * sysdeps/ia64/ieee754.h: New file.
790 * sysdeps/ia64/fpu/math_ldbl.h: New file.
792 2000-09-30 Jakub Jelinek <jakub@redhat.com>
794 * elf/ldconfig.h (FLAG_X8664_LIB64): Define.
795 * sysdeps/unix/sysv/linux/i386/readelflib.c: New file.
797 2000-09-30 Ulrich Drepper <drepper@redhat.com>
799 * manual/charset.texi: Correct notations, reference to C90 amd 1,
800 and some other details.
801 * manual/ctype.texi: Likewise.
802 Patches by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
804 2000-09-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
806 * sysdeps/ieee754/flt-32/s_frexpf.c: Make it aliasing safe.
808 2000-09-29 Ulrich Drepper <drepper@redhat.com>
810 * elf/cache.c (save_cache): Initialize __unused field in new cache
811 as well to get reproducable results.
813 2000-09-29 H.J. Lu <hjl@gnu.org>
815 * sysdeps/ia64/fpu/libm-test-ulps: Updated for long double.
817 2000-09-29 H.J. Lu <hjl@gnu.org>
819 * sysdeps/ia64/bits/huge_val.h: New file.
821 2000-09-29 Ulrich Drepper <drepper@redhat.com>
823 * elf/chroot_canon.c: Don't report a failure if the last path
824 component is not available.
825 * elf/ldconfig.c (parse_conf): Use canonicalized name when reporting
828 * elf/cache.c (print_cache): Use stat64 instead of stat.
829 * elf/ldconfig.c (chroot_stat): Likewise.
830 (create_links): Likewise.
831 (manual_link): Likewise.
832 (search_dir): Likewise.
833 * elf/readlib.c (process_file): Likewise.
835 * Makefile (install): Set LC_ALL and LANGUAGE to C before running
838 2000-09-29 Jakub Jelinek <jakub@redhat.com>
840 * elf/chroot_canon.c: New file.
841 * elf/Makefile: Build and distribute it.
842 * elf/ldconfig.h (process_file): Add real_file_name argument.
843 (chroot_canon): Add prototype.
844 * elf/ldconfig.c (cache_file): Remove const.
846 (create_links): Add real_path argument.
847 If opt_chroot, maintain both real and given filenames.
848 (manual_link): Likewise.
849 (search_dir): Likewise.
850 (parse_conf): If opt_chroot, use chroot_canon to find the real
852 (main): For -r, try to use chroot, if it fails, leave opt_chroot set
853 and use chroot_canon where appropriate to do the same as if chroot
855 * elf/readlib.c (process_file): Add real_file_name argument, pass it
858 2000-09-29 Ulrich Drepper <drepper@redhat.com>
860 * math/complex.h (_Complex): We can be more specific when _Complex
861 is defined by the compiler.
863 2000-09-29 H.J. Lu <hjl@gnu.org>
865 * sysdeps/unix/sysv/linux/ia64/dl-cache.h: New.
867 * elf/cache.c (print_entry): Replace 64bit with IA-64 in message
868 for x86/IA-64 binary.
870 2000-09-29 Andreas Schwab <schwab@suse.de>
872 * sysdeps/unix/sysv/linux/ia64/readelflib.c: New file.
874 * elf/cache.c (print_entry): Check for FLAG_IA64_LIB64.
876 2000-09-29 Mark Kettenis <kettenis@gnu.org>
878 * sysdeps/mach/hurd/dl-sysdep.c (__access): New function. Dummy
879 implementation for use by the dynamic linker.
881 2000-09-29 Andreas Jaeger <aj@suse.de>
883 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Protect DN_* by
885 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
886 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
887 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
888 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
889 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
890 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
892 2000-09-29 Andreas Jaeger <aj@suse.de>
894 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Synch with Linux
896 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
897 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
898 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
899 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
900 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
901 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
903 2000-09-29 David Mosberger <davidm@hpl.hp.com>
905 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__ia64_syscall): Cleanup.
907 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Implement.
909 2000-06-10 David Mosberger <davidm@hpl.hp.com>
911 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix it so it actually
912 works: call to __sigjmp_save must be done unconditionally to
913 ensure jmp_buf is initialized properly.
915 2000-09-27 Andreas Jaeger <aj@suse.de>
917 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Synch with Linux
920 2000-09-29 Jakub Jelinek <jakub@redhat.com>
922 * nscd/nscd-client.h (NSCD_VERSION): Bump to 3.
923 Use nscd_ssize_t where appropriate.
924 * nscd/nscd_gethst_r.c (nscd_gethst_r): Use nscd_ssize_t instead of
925 ssize_t where appropriate.
926 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
927 * nscd/hstcache.c (cache_addhst): Likewise.
928 * nscd/grpcache.c (cache_addgr): Likewise.
929 * sysdeps/generic/nscd-types.h: New file.
930 * sysdeps/alpha/nscd-types.h: New file.
932 2000-09-29 Ulrich Drepper <drepper@redhat.com>
934 * inet/getnameinfo.c (nrl_domainname): Use symbolic constant
935 INADDR_LOOPBACK instead of numeric value.
937 2000-09-28 H.J. Lu <hjl@gnu.org>
939 * sysdeps/ia64/dl-machine.h (RTLD_START): Adjust _dl_argv by
941 (ELF_MACHINE_FIXED_STACK): Removed.
943 2000-09-29 Andreas Jaeger <aj@suse.de>
945 * sysdeps/unix/sysv/linux/s390/lockf64.c: New file.
947 * sysdeps/unix/sysv/linux/s390/fcntl.c: New file.
949 * sysdeps/unix/sysv/linux/powerpc/lockf64.c: New file.
951 * sysdeps/unix/sysv/linux/powerpc/fcntl.c: New file.
953 2000-09-28 Ulrich Drepper <drepper@redhat.com>
955 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle unaligned
956 relocation also for R_ALPHA_RELATIVE.
957 Reported by Ivan Kokshaysky <ink@jurassic.park.msu.ru>.
959 2000-09-18 Bruno Haible <haible@clisp.cons.org>
961 * intl/dcigettext.c: Outside libc, use local variable names that don't
962 clash with those in libc.
963 * intl/bindtextdom.c: Likewise.
964 * intl/textdomain.c: Likewise.
966 2000-09-28 Ulrich Drepper <drepper@redhat.com>
968 * elf/ldconfig.c (parse_conf): Print full name of config dir
969 including chroot() path.
970 (main): Remove trailing / from opt_chroot string.
972 * include/features.h: Correct description of what happens if no
973 *_SOURCE macro is defined.
975 * sysdeps/posix/getaddrinfo.c (gaih_inet): Handle req->ai_socktype
976 correctly. Reported by Felix von Leitner <leitner@convergence.de>.
978 2000-09-19 H.J. Lu <hjl@gnu.org>
980 * malloc/malloc.h (__memalign_hook): Fix the parameter order.
981 * malloc/malloc.c (__memalign_hook): Likewise.
982 (memalign_hook_ini): Likewise.
984 2000-09-28 Ulrich Drepper <drepper@redhat.com>
986 * stdio-common/tmpnam.c (tmpnam): Optimize a bit.
988 * sysdeps/posix/getaddrinfo.c (gaih_local): Don't use tmpnam, use
989 underlying functions directly.
991 * sysdeps/unix/sysv/linux/bits/resource.h: Add RLIMIT_LOCKS.
992 * sysdeps/unix/sysv/linux/arm/bits/resource.h: Likewise.
993 * sysdeps/unix/sysv/linux/i386/bits/resource.h: Likewise.
994 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
995 * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: Likewise.
996 * sysdeps/unix/sysv/linux/sh/bits/resource.h: Likewise.
997 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
999 2000-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1001 * sysdeps/unix/sysv/linux/kernel-features.h: Add __ASSUME_IPC64, only
1002 define it for powerpc for kernel >= 2.4.0.
1003 * sysdeps/unix/sysv/linux/msgctl.c: Test for __ASSUME_IPC64, not
1005 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1006 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1007 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Sync with kernel.
1008 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: New file.
1009 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: New file.
1010 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: New file.
1012 2000-09-28 Martin Schwidefsksy <schwidefsky@de.ibm.com>
1014 * sysdeps/s390/atomicity.h: Fix compare_and_swap.
1016 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h
1017 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
1019 2000-09-28 Denis Joseph Barrow <djbarrow@de.ibm.com>
1021 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Use definitions from
1023 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Fix ucontext structure.
1025 2000-09-27 Andreas Schwab <schwab@suse.de>
1027 * math/Makefile (distribute): Explicitly add the long double test
1028 sources, to get them included even if long double is not supported.
1030 2000-09-27 Jes Sorensen <jes@linuxcare.com>
1032 * elf/soinit.c (struct object): Move definition to gccframe.h and
1033 include it. Problem identified by HJ Lu.
1035 * sysdeps/ia64/gccframe.h: New file. ia64 specific version of
1036 struct object to be searched for frame unwind info.
1037 * sysdeps/generic/gccframe.h: New file. Generic version of
1038 struct object to be searched for frame unwind info.
1040 2000-09-28 Ulrich Drepper <drepper@redhat.com>
1042 * manual/errno.texi: Correct error text for ENXIO.
1043 Reported by Jörg Schilling <schilling@fokus.gmd.de>.
1045 2000-09-27 Jes Sorensen <jes@linuxcare.com>
1047 * sysdeps/ia64/fpu/fsetexcptflg.c (fesetexceptflag): Set the
1048 exception status bits rather than the exception disable bits.
1049 Don't include math.h.
1051 * sysdeps/ia64/fpu/fgetexcptflg.c (fegetexceptflag): Report the
1052 status of exceptions currently raised rather than which exceptions
1055 * sysdeps/ia64/fpu/fclrexcpt.c (feclearexcept): Typecase to fenv_t
1056 rather than unsigned long int.
1058 * sysdeps/ia64/fpu/fedisblxcpt.c (fedisableexcept): Only disable
1059 the exceptions actually requested by the caller and not just
1060 disable all exceptions.
1062 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Exceptions on
1063 the ia64 are enabled by clearing the respective bits in the fpsr,
1066 * sysdeps/ia64/bits/fenv.h: typedef fexcept_t and fenv_t to
1067 unsigned long int rather than unsigned long to be consistent with
1068 the coding conventions.
1070 2000-09-20 H.J. Lu <hjl@gnu.org>
1072 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Use fenv_t instead of
1074 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1076 2000-09-28 Ulrich Drepper <drepper@redhat.com>
1078 * string/bits/string2.h: Unify #if usage.
1080 2000-09-27 Jakub Jelinek <jakub@redhat.com>
1082 * math/test-fenv.c (feexcp_mask_test): If enabling all exceptions
1083 and disabling underflow or overflow, disable inexact as well.
1085 2000-09-26 Andreas Jaeger <aj@suse.de>
1087 * sysdeps/gnu/netinet/tcp.h: Add tcp_info defines and types.
1089 * sysdeps/unix/sysv/linux/sys/mount.h (enum): New flag MS_BIND.
1091 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETLKW64,
1092 F_GETLK64, F_SETLK64): Update from Linux-2.4.0-test9-pre4.
1094 * elf/ldconfig.c (search_dir): Allow unlimited path length.
1095 (create_links): Likewise.
1097 2000-09-27 Ulrich Drepper <drepper@redhat.com>
1099 * posix/tst-dir.c: Test a few error cases of chdir.
1101 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1103 * math/math_private.h: Don't add long double prototypes if
1104 NO_LONG_DOUBLE is defined.
1106 * sysdeps/unix/i386/i586/clock_nanosleep.c (CLOCK_P): Remove
1108 * sysdeps/unix/i386/i586/clock_gettime.c (EXTRA_CLOCK_CASES): Likewise.
1109 * sysdeps/unix/i386/i586/clock_getres.c (EXTRA_CLOCK_CASES): Likewise.
1111 * sysdeps/unix/sysv/linux/i386/bits/time.h: Remove CLOCK_MONOTONIC.
1113 2000-09-26 Jakub Jelinek <jakub@redhat.com>
1115 * sysdeps/sparc/sparc32/bits/endian.h: Remove.
1116 * sysdeps/sparc/sparc32/ieee754.h: New.
1117 * sysdeps/sparc/sparc64/bits/endian.h: Move...
1118 * sysdeps/sparc/bits/endian.h: ...here.
1119 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Optimize.
1120 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Check
1121 %o1, not %o0 to see if we're parent or child. Optimize.
1123 2000-09-26 Jes Sorensen <jes@linuxcare.com>
1125 * sysdeps/unix/sysv/linux/ia64/fork.S: New file (based on code
1127 * sysdeps/unix/sysv/linux/ia64/vfork.S: New file (based on
1128 code by Hans Boehm).
1129 * sysdeps/unix/sysv/linux/ia64/fork.c: Deleted (obsoleted by fork.S).
1131 2000-09-20 H.J. Lu <hjl@gnu.org>
1133 * sysdeps/ia64/fpu/printf_fphex.c: New file.
1135 * sysdeps/ia64/fpu/libm-test-ulps: New file.
1137 2000-09-17 H.J. Lu <hjl@gnu.org>
1139 * sysdeps/ia64/Makefile (long-double-fcts): New. Defined as yes.
1141 * sysdeps/ia64/fpu/s_isinfl.c: New file. Include
1142 sysdeps/i386/fpu/s_isinfl.c.
1144 * sysdeps/ia64/fpu/s_isnanl.c: New file. Include
1145 sysdeps/i386/fpu/s_isnanl.c.
1147 * sysdeps/ia64/fpu/s_nextafterl.c: New file. Include
1148 sysdeps/i386/fpu/s_nextafterl.c.
1150 * sysdeps/ia64/fpu/bits/mathdef.h: New file. Copied from
1151 sysdeps/i386/fpu/bits/mathdef.h.
1153 2000-09-16 H.J. Lu <hjl@gnu.org>
1155 * sysdeps/generic/ldsodefs.h (DL_UNMAP): New. Defined if
1156 DL_UNMAP_IS_SPECIAL is not defined.
1158 * sysdeps/ia64/dl-lookupcfg.h (DL_UNMAP_IS_SPECIAL): Defined.
1159 (_dl_unmap): New prototype.
1160 (DL_UNMAP): New. Defined as _dl_unmap.
1162 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_unmap.
1164 * elf/dl-close.c (_dl_close): Replace __munmap with DL_UNMAP.
1166 2000-09-16 H.J. Lu <hjl@gnu.org>
1168 * sysdeps/generic/ldsodefs.h (DL_LOOKUP_ADDRESS): New. Defined
1169 if ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
1171 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): New
1173 (DL_LOOKUP_ADDRESS): New. Defined as _dl_lookup_address.
1175 * sysdeps/ia64/dl-fptr.c (_dl_lookup_address): New. Lookup
1176 the memory location of a function from a function descriptor.
1178 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_lookup_address.
1180 * elf/dl-addr.c (_dl_addr): Use DL_LOOKUP_ADDRESS to get the
1183 2000-09-14 Jes Sorensen <jes@linuxcare.com>
1185 * sysdeps/ia64/bits/byteswap.h (__bswap_16): Don't mark output
1186 variable as input argument.
1187 (__bswap_32): Likewise.
1189 * sysdeps/ia64/dl-machine.h: Add missing stop bit in RTLD_START()
1190 - found by Jim Wilson <wilson@cygnus.com>
1192 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1194 * string/strxfrm.c: Only require alignment on __alignof__ (int32_t)
1197 2000-09-26 Andreas Schwab <schwab@suse.de>
1199 * locale/programs/ld-collate.c (collate_output): Only require
1200 alignment on __alignof__ (int32_t) instead of 4.
1201 * locale/loadlocale.c (_nl_load_locale): Likewise.
1202 * string/strcoll.c: Likewise.
1204 2000-09-26 Jes Sorensen <jes@linuxcare.com>
1206 * sysdeps/ieee754/ldbl-96/e_atan2l.c (__ieee754_atan2l): Add
1207 parentheses around arithmetic used in | statement to kill compiler
1210 * math/math_private.h: Add prototype for __finitel.
1211 (__ilogbl): Likewise.
1212 (__isinfl): Likewise.
1213 (__isnanl): Likewise.
1214 (__atanl): Likewise.
1215 (__copysignl): Likewise.
1216 (__expm1l): Likewise.
1217 (__floorl): Likewise.
1218 (__frexpl): Likewise.
1219 (__ldexpl): Likewise.
1220 (__log1pl): Likewise.
1222 (__rintl): Likewise.
1223 (__scalbnl): Likewise.
1224 (__sqrtl): Likewise.
1226 (__sincosl): Likewise.
1228 2000-09-26 Andreas Schwab <schwab@suse.de>
1230 * sysdeps/m68k/fpu/libm-test-ulps: New file
1232 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1234 * locale/langinfo.h (__nl_langinfo_l): Add prototype.
1236 2000-09-26 Andreas Jaeger <aj@suse.de>
1238 * misc/mkstemp64.c: New file.
1239 * misc/Makefile (routines): Add mkstemp64.
1240 * stdlib/stdlib.h: Add prototype and redirection magic.
1241 * misc/Versions: Add mkstemp64.
1243 2000-09-26 Thorsten Kukuk <kukuk@suse.de>
1245 * nscd/dbg_log.c (dbg_log): Add missing format string.
1247 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1249 * catgets/catgets.c (catopen): Use getenv instead of __secure_getenv
1250 since we filter out the variable once.
1251 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
1252 * locale/newlocale.c (__newlocale): Likewise.
1253 * locale/setlocale.c (setlocale): Likewise.
1254 * malloc/malloc.c (ptmalloc_init): Likewise.
1255 * resolv/res_hconf.c (_res_hconf_init): Likewise.
1256 * resolv/res_init.c (__res_vinit): Likewise.
1257 * time/tzfile.c (__tzfile_read): Likewise.
1258 * sysdeps/generic/unsecvars.h: New file.
1259 * elf/dl-support.c (non_dynamic_init): Use it here to remove variables.
1260 * elf/rtld.c (process_envvars): Likewise.
1261 * elf/Makefile (distribute): Add unsecvars.h.
1263 * misc/daemon.c (daemon): Fail if !noclose and we cannot open the
1264 real /dev/null device.
1266 * sysdeps/generic/check_fds.c: Include device-nrs.h.
1267 * sysdeps/generic/device-nrs.h: New file.
1268 * sysdeps/unix/sysv/linux/device-nrs.h: New file.
1269 * misc/Makefile (distribute): Add device-nrs.h.
1271 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Use O_TRUNC to
1272 remove possible garbage at the end of the file.
1274 2000-09-25 Ulrich Drepper <drepper@redhat.com>
1276 * stdio-common/tmpnam_r.c: Warn about insecure tmpnam_r.
1277 * stdio-common/tmpnam.c: Warn about insecure tmpnam.
1278 * stdio-common/tempnam.c: Warn about insecure tempnam.
1279 * misc/mktemp.c: Warn about insecure mktemp.
1281 * sysdeps/generic/check_fds.c: Check that file opened is really
1283 * posix/wordexp.c (exec_comm_child): Likewise.
1285 * elf/rtld.c (process_envvars): Open debug output file with O_NOFOLLOW.
1287 * locale/Makefile (routines): Add nl_langinfo_l.
1288 * locale/Versions [libc] (GLIBC_2.2): Add __nl_langinfo_l.
1289 * locale/nl_langinfo_l.c: New file.
1290 * locale/nl_langinfo.c: Allow use of file for __nl_langinfo_l
1293 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1295 * iconvdata/gbk.c (USE_PRIVATE_AREA): Define to 0.
1296 (__gbk_to_ucs): Conditionalize private area mappings.
1297 (__gbk_from_ucs4_tab9): Likewise.
1298 (BODY for TO_LOOP): Likewise.
1299 * iconvdata/testdata/GBK: Don't use characters not yet in Unicode.
1300 * iconvdata/testdata/GBK..UTF-8: Likewise.
1301 * iconvdata/tst-tables.sh: Enable GBK test.
1303 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1305 * iconvdata/gbk.c (__gbk_to_ucs): Swap U+2014 and U+2015.
1306 (__gbk_from_ucs4_tab4): Swap entries for U+2014 and U+2015.
1307 (BODY for FROM_LOOP): Reject input > 0xFEA0, avoids out-of-bounds
1309 * iconvdata/gbgbk.c (BODY for FROM_LOOP): Map 0xA844 to 0xA1AA.
1310 * iconvdata/testdata/GBK..UTF8: Swap U+2014 and U+2015.
1312 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1314 * iconvdata/johab.c (final_to_ucs): Fix typos.
1315 (jamo_from_ucs_table): Likewise.
1316 (BODY for FROM_LOOP): Map 0x5c to U+20A9. Reject ranges
1317 0xD9E6..0xD9FE and 0xDEF2..0xDEFE.
1318 (BODY for TO_LOOP): Map U+20A9 to 0x5c. Don't produce values in
1319 the range 0xD9E6..0xD9FE.
1320 * iconvdata/tst-tables.sh: Enable JOHAB testing.
1322 2000-09-25 Ulrich Drepper <drepper@redhat.com>
1324 * iconv/gconv_conf.c (__gconv_get_path): Fix problem with relative
1327 2000-09-24 Ulrich Drepper <drepper@redhat.com>
1329 * libio/genops.c (_IO_doallocbuf): Don't use single byte buffer if
1330 stream is in wide mode.
1332 * stdio-common/vfprintf.c (buffered_vfprintf): Orient stream.
1334 2000-09-21 Bruno Haible <haible@clisp.cons.org>
1336 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Shift __count
1338 (INIT_PARAMS, UPDATE_PARAMS): Likewise.
1340 2000-09-21 Bruno Haible <haible@clisp.cons.org>
1342 * stdio-common/vfscanf.c (__vfscanf, _IO_vfscanf): Fix bugs in
1343 reallocation logic for MALLOC (%as, %aS formats).
1345 2000-09-24 Ulrich Drepper <drepper@redhat.com>
1347 * stdio-common/vfprintf.c (process_arg): Handle %hhn.
1348 Add missing case in va_arg handling for numbers.
1349 * stdio-common/tst-printf.c (main): Add tests for %hhu and %hhn
1351 * stdio/tst-printf.sh: Adjust expected results.
1352 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1354 2000-09-20 Bruno Haible <haible@clisp.cons.org>
1356 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Reject 0x80.
1357 (BODY for TO_LOOP): Clear bit 7 when outputting ISO-8859-1 upper half
1359 * iconvdata/gen-8bit-gap-1.sh: Recognize lowercase hexadecimal digits
1360 as equivalent to uppercase hexadecimal digits.
1362 2000-09-20 Bruno Haible <haible@clisp.cons.org>
1364 * iconvdata/testdata/EUC-KR..UTF8: New file.
1365 * iconvdata/testdata/EUC-TW: New file.
1366 * iconvdata/testdata/EUC-TW..UTF8: New file.
1367 * iconvdata/testdata/EUC-JP: New file.
1368 * iconvdata/testdata/EUC-JP..UTF8: New file.
1369 * iconvdata/testdata/ISO-2022-JP: New file.
1370 * iconvdata/testdata/ISO-2022-JP..UTF8: New file.
1371 * iconvdata/testdata/ISO-2022-JP-2: New file.
1372 * iconvdata/testdata/ISO-2022-JP-2..UTF8: New file.
1373 * iconvdata/testdata/ISO-2022-KR: Add a few more lines.
1374 * iconvdata/testdata/ISO-2022-KR..UTF8: New file.
1375 * iconvdata/testdata/ISO-2022-CN: New file.
1376 * iconvdata/testdata/ISO-2022-CN..UTF8: New file.
1377 * iconvdata/testdata/ISO-2022-CN-EXT: New file.
1378 * iconvdata/testdata/ISO-2022-CN-EXT..UTF8: New file.
1379 * iconvdata/TESTS: Enable tests for ISO-2022-JP, ISO-2022-JP-2,
1380 ISO-2022-CN, ISO-2022-CN-EXT, EUC-JP, EUC-TW.
1382 2000-09-24 Andreas Jaeger <aj@suse.de>
1384 * elf/ldconfig.c (add_dir): Move logic to add entry to list to new
1385 function add_single_dir.
1386 (add_single_dir): New function.
1387 (search_dir): Use add_single_dir instead of recursing.
1389 * sysdeps/generic/dl-cache.h: Include stdint.h.
1390 (struct file_entry_new): Use fixed sizes for interoperability
1391 between 32bit and 64bit systems, add __unused to make alignment
1393 (CACHE_VERSION): Increment.
1394 (struct cache_file_new): Use fixed sizes, add one more unused
1395 entry to make alignment explicit.
1397 2000-09-24 Ulrich Drepper <drepper@redhat.com>
1399 * elf/ldconfig.c (search_dir): Make more use of d_type information.
1401 2000-09-23 Ulrich Drepper <drepper@redhat.com>
1403 * stdio-common/printf-parse.h (parse_one_spec): Clear
1404 spec->info.i18n. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1406 2000-09-18 Mark Kettenis <kettenis@gnu.org>
1408 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_SYNCHRONIZED_IO):
1409 #undef since we don't have msync.
1411 * sysdeps/mach/hurd/bits/time.h: (CLOCKS_PER_SEC): Make a long int
1412 constant since that is what clock_t is.
1413 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
1415 2000-09-11 Mark Kettenis <kettenis@gnu.org>
1417 * sysdeps/mach/getloadavg.c (getloadavg): Divide instead of
1418 multiply by LOAD_SCALE.
1420 2000-09-22 Jakub Jelinek <jakub@redhat.com>
1422 * crypt/crypt.h (crypt, setkey, encrypt): Add __THROW.
1423 (crypt_r, setkey_r, encrypt_r): Likewise.
1425 2000-09-22 Andreas Jaeger <aj@suse.de>
1427 * locale/programs/repertoire.c (repertoiremap_hash): Don't specify
1430 * sysdeps/alpha/fpu/libm-test-ulps: New file.
1431 From Christian Iseli <chris@ludwig-alpha.unil.ch>.
1433 2000-09-21 Andreas Jaeger <aj@suse.de>
1435 * math/libm-test.inc (atan_test): Test for existence of function.
1436 (expm1_test): Likewise.
1437 (acos_test): Likewise.
1438 (asin_test): Likewise.
1439 (exp_test): Likewise.
1440 (log10_test): Likewise.
1441 (log_test): Likewise.
1442 (pow_test): Likewise.
1443 (sqrt_test): Likewise.
1444 (cos_test): Likewise.
1445 (sin_test): Likewise.
1446 (tan_test): Likewise.
1447 (log1p_test): Likewise.
1448 (log2_test): Likewise.
1450 * sysdeps/i386/fpu/libm-test-ulps: Tweak some values for K6.
1452 * libio/oldiofsetpos64.c: Fix alias names.
1454 2000-09-21 Martin Buchholz <martin@xemacs.org>
1456 * manual/terminal.texi (Allocation): Sample code correction.
1458 2000-09-20 Andreas Jaeger <aj@suse.de>
1460 * iconvdata/Makefile (generated): Add tst-tables.out.
1462 * intl/Makefile (generated): Add test output.
1464 2000-09-19 Andreas Jaeger <aj@suse.de>
1466 * sunrpc/clnt_simp.c (callrpc): Fix write beyond end of buffer.
1467 Reported by Jens-Uwe Mager <jum@helios.de>.
1469 2000-09-18 Ulrich Drepper <drepper@redhat.com>
1471 * version.h (VERSION): Bump to 2.1.94.
1473 * sysdeps/mips/Dist: Add fpu/fenv_libc.h.
1474 * sysdeps/sparc/sparc32/soft-fp/Dist: Add q_add.c.
1475 * sysdeps/sparc/sparc64/soft-fp/Dist: Add qp_add.c.
1476 * sysdeps/unix/sysv/linux/ia64/Dist: Add net/route.h.
1478 * malloc/mtrace.c (mtrace): Mark stream as close on exec.
1480 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1482 * iconvdata/utf-16.c (BODY for TO_LOOP): Reject UCS-4 input in the
1483 range 0xD800..0xDFFF.
1484 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
1485 (BODY for FROM_LOOP): Likewise.
1486 * iconv/gconv_simple.c (ucs2_internal_loop): Likewise.
1487 (internal_ucs2_loop): Likewise.
1488 (ucs2reverse_internal_loop): Likewise.
1489 (internal_ucs2reverse_loop): Likewise.
1491 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1493 * iconvdata/utf-16.c (gconv_init): Add missing slashes to encoding
1496 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1498 * iconvdata/tst-table-from.c (main): Fix test for error on stdout.
1499 * iconvdata/tst-table-to.c (main): Likewise.
1501 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1503 * iconvdata/iso-ir-165.c (__isoir165_from_tab): Renamed from
1505 * iconvdata/cns11643.h (__cns11643l1_to_ucs4_tab): New declaration.
1506 * iconvdata/iso-2022-cn-ext.c: Include "cns11643.h".
1507 (GB7590_set, GB13132_set, CNS11643_3_set, CNS11643_4_set,
1508 CNS11643_5_set, CNS11643_6_set, CNS11643_7_set): Change enum values.
1509 (BODY for FROM_LOOP): Fix buffer overrun. Treat CNS11643 plane 3.
1510 Return __GCONV_INCOMPLETE_INPUT instead of __GCONV_EMPTY_INPUT.
1511 (BODY for TO_LOOP): Fix usage of `set' vs. `used'. Fix typo that
1512 caused GB2312 to be used instead of ISO-IR-165. Treat CNS11643
1513 plane 3. Fix shift sequences. Output announcement for SS2 and SS3
1514 encodings when needed. When outputting an announcement, don't clear
1515 most other announcements.
1517 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1519 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Fix buffer overrun.
1520 (BODY for TO_LOOP): Fix usage of `set' vs. `used'.
1522 2000-09-14 Bruno Haible <haible@clisp.cons.org>
1524 * intl/Versions: Add bind_textdomain_codeset.
1526 2000-09-16 Ralf Baechle <ralf@gnu.org>
1528 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Reformat. Declare
1530 (_RTLD_EPILOGUE): Reformat. Declare size of entry function.
1531 (ELF_MACHINE_BEFORE_RTLD_RELOC): Relocate the dynamic linker itself so
1532 it will even work when not loaded to the standard address.
1533 (RTLD_START): Reformat. Call _dl_start in a way that is safe even
1534 before the dynamic linker itself is relocated.
1536 2000-09-18 Andreas Jaeger <aj@suse.de>
1538 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
1539 __ASSUME_32BITUIDS for MIPS.
1540 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: New file.
1541 * sysdeps/unix/sysv/linux/mips/Dist: Add ipc_priv.h.
1543 2000-09-17 H.J. Lu <hjl@gnu.org>
1545 * catgets/Makefile ($(objpfx)de/libc.cat): Use
1546 $(make-target-directory) instead of mkdir.
1548 2000-09-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1550 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
1551 __ASSUME_32BITUIDS for __powerpc__.
1552 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file.
1553 * sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h.
1555 2000-09-17 Ulrich Drepper <drepper@redhat.com>
1557 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last
1559 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
1561 2000-09-16 Jakub Jelinek <jakub@redhat.com>
1563 * sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes
1565 * sysdeps/m68k/Implies: Likewise.
1566 * sysdeps/sparc/sparc64/Implies: Likewise.
1568 2000-09-16 Jakub Jelinek <jakub@redhat.com>
1570 * elf/readlib.c (process_file): Don't error for stale .so links either.
1572 2000-09-16 Ulrich Drepper <drepper@redhat.com>
1574 * elf/dl-load.c (_dl_map_object_from_fd): Add one more
1577 * include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX.
1578 Patch by Thorsten Kukuk <kukuk@suse.de>.
1580 * dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c.
1581 (test): Add default.
1582 (modules-names): Add defaultmod1 and defaultmod2.
1583 Add rules to build test objects.
1585 2000-09-15 Ulrich Drepper <drepper@redhat.com>
1587 * wctype/wctype.h: Always include <bits/types.h>.
1588 Reported by Jim Meyering <meyering@ascend.com>.
1590 * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now.
1591 * elf/dl-support.c: Likewise.
1593 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of
1594 st_blocks member in stat and stat64 structs.
1595 Patch by Bill Nottingham <notting@redhat.com>.
1597 * iconvdata/tst-tables.sh: Add warning that GB18030 test might
1600 * math/complex.h: Don't define _Complex macro for gcc 3. Add
1601 __extension__ to _Complex_I definition since gcc warns if -pedantic.
1602 * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~.
1603 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1605 * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if
1606 necessary. Move includes of POSIX and Unix limits files to the end.
1607 * stdlib/Makefile (tests): Add tst-limits.
1608 * stdlib/tst-limits.h: New file.
1610 2000-09-15 Andreas Jaeger <aj@suse.de>
1612 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV.
1614 * sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define.
1616 2000-09-15 Jakub Jelinek <jakub@redhat.com>
1618 * sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory
1620 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
1621 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise.
1623 2000-09-15 Ulrich Drepper <drepper@redhat.com>
1625 * elf/Makefile (distribute): Add nextmod1.c and nextmod2.c.
1627 (modules-names): Add nextmod1 and nextmod2.
1628 Add rules to build and run next.
1629 * elf/next.c: New file.
1630 * elf/nextmod1.c: New file.
1631 * elf/nextmod2.c: New file.
1633 2000-09-14 Jakub Jelinek <jakub@redhat.com>
1635 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo.
1637 2000-09-15 Andreas Jaeger <aj@suse.de>
1639 * sysdeps/mips/fpu/fenv_libc.h: New file.
1640 * sysdeps/mips/fpu/feenablxcpt.c: Use fenv_libc.h
1641 * sysdeps/mips/fpu/fegetexcept.c: Likewise.
1642 * sysdeps/mips/fpu/fedisblxcpt.c: Likewise.
1644 * sysdeps/mips/fpu/feenablxcpt.c: New file.
1645 * sysdeps/mips/fpu/fegetexcept.c: New file.
1646 * sysdeps/mips/fpu/fedisblxcpt.c: New file.
1648 2000-09-14 Ulrich Drepper <drepper@redhat.com>
1650 * intl/Makefile: Avoid unnecessary test reruns.
1652 * stdio-common/tst-printf.sh: Also allow output from 64-bit machines.
1654 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change
1655 to not use sysctl(). Too many architectures have problems with it.
1657 2000-09-14 Andreas Jaeger <aj@suse.de>
1659 * scripts/config.sub: New version from subversions.gnu.org.
1661 * time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now
1664 2000-09-14 Jakub Jelinek <jakub@redhat.com>
1666 * posix/regex.c (compile_range): Cast collseq index to unsigned char
1667 to avoid accessing data before collseq.
1669 * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid
1670 pasting strings together.
1672 2000-09-14 Greg McGary <greg@mcgary.org>
1674 * sysdeps/generic/bp-checks.h: Remove bogus reference to GNU MP in
1676 * sysdeps/generic/bp-semctl.h: Likewise.
1677 * sysdeps/generic/bp-start.h: Likewise.
1678 * sysdeps/generic/bp-sym.h: Likewise.
1679 * sysdeps/generic/bp-thunks.h: Likewise. Include <stdio.h> to get
1682 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1684 * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and
1687 * elf/elf.h: Add missing official relocations.
1689 * libio/stdio.h: Define __FILE if __need___FILE is defined.
1690 * stdio/stdio.h: Likewise.
1691 * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE.
1692 * include/stdio.h: Handle __need___FILE like __need_FILE.
1693 * include/wchar.h: Use __FILE instead of FILE.
1694 * libio/fwprintf.c: Include <stdio.h> for FILE definition.
1695 * libio/fwscanf.c: Likewise.
1696 * libio/getwc.c: Likewise.
1698 * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u.
1699 * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1.
1700 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise.
1702 * assert/assert.h: Update comment header about ISO C section.
1703 * math/complex.h: Likewise.
1704 * ctype/ctype.h: Likewise.
1705 * include/errno.h: Likewise.
1706 * include/limits.h: Likewise.
1707 * locale/locale.h: Likewise.
1708 * math/math.h: Likewise.
1709 * setjmp/setjmp.h: Likewise.
1710 * signal/signal.h: Likewise.
1711 * stdio/stdio.h: Likewise.
1712 * libio/stdio.h: Likewise.
1713 * stdlib/stdlib.h: Likewise.
1714 * string/string.h: Likewise.
1715 * time/time.h: Likewise.
1716 * wcsmbs/wchar.h: Likewise.
1717 * wctype/wctype.h: Likewise.
1718 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1720 2000-09-13 Andreas Jaeger <aj@suse.de>
1722 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test
1723 for no more entries.
1724 * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise.
1725 * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise.
1726 Reported by Eric S. Johnson <esj@cs.fiu.edu>, closes PR libc/1887.
1728 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1730 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
1731 constant since this is what clock_t is.
1732 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
1733 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
1734 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
1735 * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
1737 * time/time.h: Don't defined clockid_t and timer_t unless POSIX
1738 definitions are requested.
1740 2000-09-13 Andreas Jaeger <aj@suse.de>
1742 * shlib-versions: libBrokenLocale needs minimal version for ia64,
1743 sparc64 and sh to synch with libc.
1745 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1747 * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT.
1748 (distribute): Add iso-2022-cn-ext.c.
1749 Add definitions to compile the new module.
1750 * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT.
1751 * iconvdata/iso-2022-cn-ext.c: New file.
1752 * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from
1753 ucs4_from_isoir165. Increment input pointer if successful.
1755 * csu/Makefile: Work around a gcc bug when creating csu-dummies.
1757 * sysdeps/unix/sysv/linux/getdents.c: Pretty print.
1759 2000-09-01 Jes Sorensen <jes@linuxcare.com>
1761 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
1762 __syscall_getdents64 wrapper.
1764 * sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
1766 2000-09-12 Ulrich Drepper <drepper@redhat.com>
1768 * iconvdata/gb18030.c: Many many changes. Make consistent with
1769 charmap and with itself.
1770 * iconvdata/tst-tables.sh: Test GB18030.
1772 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1774 * iconv/skeleton.c: Fix last patch, add missing parameter to
1775 unaligned function call.
1777 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1779 * locale/programs/ld-collate.c (collate_read): Fix typo in handling
1780 of decimal ellipsis.
1782 2000-09-11 Bruno Haible <haible@clisp.cons.org>
1784 * locale/programs/ld-collate.c (collate_read): Always initialize
1787 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1789 * locale/programs/ld-collate.c (collate_finish): Upper bound for
1790 ruleidx is 128, not 256.
1792 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1794 * locale/programs/ld-collate.c (collate_read): Correct check for
1795 already inserted entries.
1797 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1799 * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in
1802 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1804 * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if
1805 MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1.
1807 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1809 * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with
1812 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1814 * iconvdata/utf-7.c: New file.
1815 * iconvdata/gconv-modules (UTF-7): New module entries.
1816 * iconvdata/Makefile (modules): Add UTF-7.
1817 (distribute): Add utf-7.c.
1818 * iconvdata/testdata/UTF-7: New file.
1819 * iconvdata/testdata/UTF-7..UTF8: New file.
1820 * iconvdata/TESTS (UTF-7): New entry.
1821 * iconvdata/run-iconv-test.sh: Fix confusing output.
1823 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1825 * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
1827 2000-09-10 David S. Miller <davem@redhat.com>
1829 * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
1830 frame pointer offset for non-fast path.
1832 2000-09-10 Ulrich Drepper <drepper@redhat.com>
1834 * locale/programs/3level.h (*_init): Initialize level1, level2,
1836 (*_add): Remove a few unnecessary conditionals.
1838 2000-09-05 Wolfram Gloger <wg@malloc.de>
1840 * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread,
1841 ensure usability of mutex as an `in use' flag.
1843 2000-09-10 Ulrich Drepper <drepper@redhat.com>
1845 * shlib-versions: Simplify libm entries. Correct a few Hurd entries.
1847 * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
1848 ugly GMON_WEAK_START hack.
1849 Patch by Philip Blundell <philb@gnu.org>.
1851 * sysdeps/i386/i486/bits/string.h: Pretty printing.
1853 2000-09-09 Ulrich Drepper <drepper@redhat.com>
1855 * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
1856 and PPC_ICBI asm for broken compilers.
1857 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1859 2000-09-09 Andreas Jaeger <aj@suse.de>
1861 * manual/message.texi (Advanced gettext functions): Fix typo.
1863 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
1866 2000-09-09 Ulrich Drepper <drepper@redhat.com>
1868 * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
1870 * sysdeps/ia64/memccpy.S: Likewise.
1871 Patches by Jim Wilson <wilson@redhat.com>.
1873 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname
1874 before trying to read /proc.
1875 Patch by Matt Wilson <msw@redhat.com>.
1876 * include/sys/utsname.h: Declare __uname.
1877 * sysdeps/generic/uname.c: Make uname a weak alias of __uname.
1878 * sysdeps/mach/hurd/uname.c: Likewise.
1879 * sysdeps/unix/syscalls.list: Likewise.
1881 * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
1884 2000-09-08 Ulrich Drepper <drepper@redhat.com>
1886 * posix/getopt.c (_getopt_internal): When long_only is set always
1887 recognize conflicts just like before.
1889 2000-09-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1891 * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
1893 2000-09-08 Greg McGary <greg@mcgary.org>
1895 * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
1896 * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'.
1897 * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
1899 2000-09-08 Andreas Jaeger <aj@suse.de>
1901 * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
1903 * sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
1905 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
1906 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
1907 (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
1909 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1911 * iconvdata/tst-tables.sh: Enable EUC-KR test.
1913 * elf/dl-load.c (lose): Decrement _nl_loaded.
1914 (_dl_map_object_from_fd): Don't try to dlopen executables.
1916 * iconvdata/tst-tables.sh: Actually return with an error if
1917 something goes wrong.
1918 * iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
1919 * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
1921 * iconvdata/tst-tables.sh: Add BIG5HKSCS.
1923 * iconvdata/tst-table-to.c (main): Correct cast in iconv call.
1924 * iconvdata/tst-table-from.c: Include <string.h>.
1925 (try): Correct cast in iconv call.
1927 * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
1929 * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
1930 (sysdep_routines): Remove dl-start.
1931 Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1933 * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
1935 * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
1936 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
1938 2000-09-06 Andreas Schwab <schwab@suse.de>
1940 * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
1942 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1944 * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
1946 * scripts/config.sub: Strip out -unknown for Linux targets.
1947 Patch by Scott Bambrough <scottb@netwinder.org>.
1949 * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
1952 2000-09-07 Andreas Jaeger <aj@suse.de>
1954 * sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
1956 * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
1959 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
1961 * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
1962 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
1964 * sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
1966 * stdlib/tst-bsearch.c (main): Add more test cases.
1968 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
1969 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1970 Reported by GOTO Masanori <gotom@debian.or.jp>.
1972 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1974 * posix/Makefile (tests): Add tst-dir.
1975 (tst-dir-ARGS): New variable.
1976 * posix/tst-dir.c: New file.
1978 2000-09-07 Andreas Jaeger <aj@suse.de>
1980 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
1983 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
1985 2000-09-06 Ulrich Drepper <drepper@redhat.com>
1987 * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
1988 use the hack with tryopen_o_directory to determine at runtime
1990 * sysdeps/unix/sysv/linux/opendir.c: New file.
1991 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1992 __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
1994 * catgets/Depend: New file. Add intl.
1995 * catgets/Makefile (tests): Add tst-catgets.
1996 (generated): Remove de.msg.
1997 (generated-dirs): Add de.
1998 Add dependency if tst-catgets output on de/libc.cat.
1999 * catgets/tst-catgets.c: New file.
2001 * po/ja.po: New file.
2002 * po/el.po: Update from translation team.
2004 * wcsmbs/Depend: New file.
2005 * wcsmbs/Makefile (tests): Add tst-btowc.
2006 (tst-btowc-ENV): Define.
2007 * wcsmbs/tst-btowc.c: New file.
2009 * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
2010 * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
2012 * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
2014 * stdlib/Makefile (tests): Add tst-bsearch.
2015 * stdlib/tst-bsearch.c: New file.
2017 * posix/getopt.c (_getopt_internal): Don't recognize an option
2018 name as ambiguous if it's a prefix for more than one name but the
2019 other struct option values are identical.
2021 * posix/tstgetopt.c: Add test for improved ambiguity recognition.
2022 Don't depend on visual inspection of the output file to recognize
2024 * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
2026 2000-09-06 Andreas Jaeger <aj@suse.de>
2028 * sysdeps/alpha/soft-fp/Dist: New file.
2029 * sysdeps/i386/soft-fp/Dist: New file.
2030 * sysdeps/mips/mips64/soft-fp/Dist: New file.
2031 * sysdeps/mips/soft-fp/Dist: New file.
2032 * sysdeps/powerpc/soft-fp/Dist: New file.
2033 * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
2034 * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
2036 * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
2037 Use sysdep_routines instead of routines to fix make dist failure.
2038 * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
2040 * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
2042 * sysdeps/mips/Makefile [$(subdir) = misc]: Use
2043 sysdep_headers instead of headers for make dist.
2045 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
2048 2000-09-06 Andreas Schwab <schwab@suse.de>
2050 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
2052 2000-09-06 Andreas Jaeger <aj@suse.de>
2054 * soft-fp/Makefile (distribute): Remove ChangeLog.
2056 * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use
2057 sysdep_routines instead of routines for make dist.
2059 2000-09-05 Ulrich Drepper <drepper@redhat.com>
2061 * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
2062 compatibility check for old stream and call _IO_wide in doubt.
2063 (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
2064 * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
2065 needed tst for such an old structure and don't do anything.
2066 * libio/freopen.c: Remove declaration of _IO_stdin_used.
2068 2000-09-06 Andreas Jaeger <aj@suse.de>
2070 * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
2071 sysdep-dl-routines and sysdep_routines instead of rtld-routines
2074 * soft-fp/ChangeLog: Merged with this file.
2076 2000-06-13 Ulrich Drepper <drepper@redhat.com>
2078 * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
2080 * soft-fp/Makefile (distribute): Add the math functions, too.
2082 * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
2084 2000-03-03 Geoff Keating <geoffk@cygnus.com>
2086 * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
2089 * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
2090 * soft-fp/sysdeps/powerpc/q_*: New files.
2092 2000-09-05 Ulrich Drepper <drepper@redhat.com>
2094 * stdio-common/vfprintf.c (process_string_arg): Handle precision
2095 in wide char case correctly. Don't allocate too long temporary
2096 strings with alloca.
2098 * stdio-common/Makefile (tests): Add tst-swprintf.
2099 (tst-swprintf-ENV): New variable.
2100 * stdio-common/tst-swprintf.c: New file.
2102 2000-09-05 Andreas Jaeger <aj@suse.de>
2104 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
2105 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
2106 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2108 2000-09-05 Ulrich Drepper <drepper@redhat.com>
2110 * configure.in: Strip out "unknown" from configuration names.
2112 2000-09-05 Andreas Jaeger <aj@suse.de>
2114 * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
2116 * sysdeps/sparc/sparc64/Implies: Add soft-fp.
2117 * sysdeps/sparc/sparc32/Implies: Likewise.
2118 * sysdeps/powerpc/Implies: Likewise.
2120 * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
2121 * libio/oldiofgetpos64.c: Likewise.
2123 * soft-fp/Makefile (distribute): Remove configure.
2125 * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
2127 * soft-fp/configure: Remove.
2129 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
2130 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
2132 * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
2133 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
2135 * soft-fp/sysdeps/powerpc/Makefile: Move from here...
2136 * sysdeps/powerpc/soft-fp/Makefile: ... to here.
2138 * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
2139 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
2141 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
2142 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
2144 * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
2145 * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
2147 * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
2148 * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
2150 * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
2151 * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
2153 * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
2154 * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
2156 * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
2157 * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
2159 * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
2160 * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
2162 * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
2163 * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
2165 * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
2166 * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
2168 * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
2169 * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
2171 * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
2172 * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
2174 * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
2175 * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
2177 * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
2178 * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
2180 * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
2181 * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
2183 * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
2184 * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
2186 * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
2187 * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
2189 * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
2190 * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
2192 * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
2193 * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
2195 * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
2196 * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
2198 * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
2199 * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
2201 * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
2202 * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
2204 * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
2205 * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
2207 * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
2208 * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
2210 * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
2211 * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
2213 * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
2214 * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
2216 * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
2217 * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
2219 * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
2220 * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
2222 * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
2223 * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
2225 * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
2226 * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
2228 * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
2229 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
2231 * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
2232 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
2234 * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
2235 * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
2237 * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
2238 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
2240 * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
2241 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
2243 * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
2244 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
2246 * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
2247 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
2249 * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
2250 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
2252 * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
2253 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
2255 * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
2256 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
2258 * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
2259 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
2261 * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
2262 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
2264 * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
2265 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
2267 * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
2268 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
2270 * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
2271 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
2273 * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
2274 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
2276 * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
2277 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
2279 * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
2280 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
2282 * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
2283 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
2285 * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
2286 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
2288 * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
2289 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
2291 * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
2292 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
2294 * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
2295 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
2297 * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
2298 * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
2300 * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
2301 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
2303 * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
2304 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
2306 * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
2307 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
2309 * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
2310 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
2312 * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
2313 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
2315 * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
2316 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
2318 * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
2319 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
2321 * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
2322 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
2324 * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
2325 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
2327 * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
2328 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
2330 * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
2331 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
2333 * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
2334 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
2336 * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
2337 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
2339 * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
2340 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
2342 * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
2343 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
2345 * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
2346 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
2348 * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
2349 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
2351 * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
2352 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
2354 * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
2355 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
2357 * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
2358 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
2360 * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
2361 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
2363 * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
2364 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
2366 * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
2367 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
2369 * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
2370 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
2372 * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
2373 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
2375 * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
2376 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
2378 * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
2379 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
2381 * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
2382 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
2384 * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
2385 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
2387 * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
2388 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
2390 * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
2391 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
2393 * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
2394 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
2396 * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
2397 * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
2399 * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
2400 * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
2402 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
2403 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
2405 * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
2406 * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
2408 * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
2409 * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
2411 * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
2412 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
2414 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
2415 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
2417 * soft-fp/sysdeps/powerpc/Versions: Move from here...
2418 * sysdeps/powerpc/soft-fp/Versions: ... to here.
2420 * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
2421 * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
2423 * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
2424 change symbol version.
2425 * libio/oldiofgetpos64.c: Likewise.
2426 Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
2428 * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
2430 Reported by dyky@kondara.org, closes PR libc/1886.
2432 * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
2435 2000-09-04 Ulrich Drepper <drepper@redhat.com>
2437 * iconvdata/run-iconv-test.sh: Add code to immediately stop the
2438 script when ^C is hit.
2440 * locale/programs/localedef.c (construct_output_path): Correct
2441 computation of endp after asprintf.
2442 * locale/programs/locfile.c (write_locale_data): Don't add extra
2445 2000-09-05 Andreas Jaeger <aj@suse.de>
2447 * scripts/config.guess: New upstream version.
2448 * scripts/config.sub: Likewise.
2449 * manual/texinfo.tex: Likewise.
2451 2000-09-04 Andreas Schwab <schwab@suse.de>
2453 * elf/Makefile (all-dl-routines): New variable.
2454 (elide-routines.os): Use it instead of $(dl-routines).
2455 (all-rtld-routines): New variable.
2456 (extra-objs): Use it instead of $(rtld-routines).
2457 ($(objpfx)dl-allobjs.os): Likewise.
2458 * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
2459 sysdep-dl-routines and sysdep_routines instead of rtld-routines
2462 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2464 * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
2465 Set fname to NULL if the module wasn't found.
2467 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2469 * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
2470 true if trans->name already ends in ".so".
2472 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2474 * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
2476 * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
2477 below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
2478 (__gconv_release_shlib): Change return type to void.
2479 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
2480 step->__counter here.
2481 * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
2482 if the reference is zero.
2483 (release_step): New function.
2484 (gen_steps): Always initialize the __counter to 1. Use release_step.
2485 Don't call the destructor on the step whose initializer failed.
2486 (increment_counter): Use release_step. Don't normally run destructors
2488 (__gconv_close_transform): Use release_step.
2490 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2492 * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
2493 (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
2495 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2497 * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
2498 If the first byte is 0x8E, don't ask for 4 bytes until it has been
2499 verified that the second byte is valid. Leave it to cns11643_to_ucs4
2500 to check for incomplete input.
2501 * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
2502 ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
2503 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
2504 (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
2506 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
2507 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
2508 (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
2509 * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
2512 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2514 * iconv/gconv_db.c (find_derivation): Always use the least-cost
2517 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2519 * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
2522 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2524 * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
2525 * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
2528 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2530 * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
2532 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2534 * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
2536 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2538 * iconvdata/tst-tables.sh: New file.
2539 * iconvdata/tst-table.sh: New file.
2540 * iconvdata/tst-table-from.c: New file.
2541 * iconvdata/tst-table-to.c: New file.
2542 * iconvdata/tst-table-charmap.sh: New file.
2543 * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
2544 (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
2545 tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
2546 ISIRI-3342.irreversible, SJIS.irreversible.
2547 (tests): Add dependency on tst-tables.out.
2548 (tst-tables.out, tst-tables-clean): New rules.
2549 (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
2550 * iconvdata/ISIRI-3342.irreversible: New file.
2551 * iconvdata/EUC-JP.irreversible: New file.
2552 * iconvdata/SJIS.irreversible: New file.
2554 2000-09-04 Ulrich Drepper <drepper@redhat.com>
2556 * manual/locale.texi (General Numeric): Update description of
2557 representation of the grouping information in the locale data.
2558 Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
2560 2000-09-04 Andreas Jaeger <aj@suse.de>
2562 * locale/programs/ld-monetary.c (monetary_read): Fix typo.
2563 * iconv/iconv_prog.c (options): Fix typo.
2564 Reported by dyky@kondara.org, closes PR libc/1885.
2566 2000-09-04 Andreas Jaeger <aj@suse.de>
2568 * sysdeps/generic/fegetenv.c: It's __fegetenv.
2569 Reported by Rob Levin <lilo@transvirtual.com>.
2571 2000-09-03 Ulrich Drepper <drepper@redhat.com>
2573 * time/sys/time.h (gettimeofday): Move restrict for tz parameter
2574 to the typedefs of __timezone_ptr_t.
2575 Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
2577 2000-09-02 Jakub Jelinek <jakub@redhat.com>
2579 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
2582 2000-09-01 H.J. Lu <hjl@gnu.org>
2584 * Makeconfig (built-program-cmd): Don't use the dynamic linker
2585 to run a binary if it is in $(tests-static).
2587 * Rules (binaries-static): Add $(tests-static).
2589 2000-09-02 Andreas Jaeger <aj@suse.de>
2591 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
2593 * libio/fmemopen.c (fmemopen_close): Revert one part of last
2596 2000-09-01 Ulrich Drepper <drepper@redhat.com>
2598 * iconvdata/big5hkscs.c: Regenerated from charmap.
2599 * iconvdata/testdata/BIG5HKSCS: Regenerated.
2600 * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
2602 * libio/fmemopen.c (fmemopen_seek): Add default case in switch
2603 statement. General cleanup.
2605 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2607 * wctype/wcfuncs.c (iswblank): New function.
2608 * wctype/wcfuncs_l.c (__iswblank_l): New function.
2609 * wctype/wcextra.c: Remove file.
2610 * wctype/wcextra_l.c: Remove file.
2611 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
2613 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2615 * locale/programs/ld-collate.c (collate_output): Remove redundant
2617 * string/strcoll.c: Likewise.
2618 * string/strxfrm.c: Include assert.h. Add assert calls like in
2621 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2623 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
2624 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
2625 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
2626 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
2627 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
2628 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
2629 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
2630 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
2631 _NL_CTYPE_GAP5/6 respectively.
2633 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
2634 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
2635 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
2636 Don't initialize __ctype_names and __ctype_width.
2637 * wctype/cname-lookup.h: Remove file.
2638 * wctype/Makefile (distribute): Remove cname-lookup.h.
2639 * wctype/wchar-lookup.h: Include stdint.h.
2640 * wctype/wctype.c (__wctype): Assume new locale format.
2641 * wctype/wctype_l.c (__wctype_l): Likewise.
2642 * wctype/iswctype.c: Don't include cname-lookup.h.
2643 (__iswctype): Assume new locale format.
2644 * wctype/iswctype_l.c: Don't include cname-lookup.h.
2645 (__iswctype_l): Assume new locale format.
2646 * wctype/wctrans.c: Don't include ctype.h.
2647 (wctrans): Assume new locale format.
2648 * wctype/wctrans_l.c (__wctrans_l): Likewise.
2649 * wctype/towctrans.c: Don't include cname-lookup.h.
2650 (__towctrans): Assume new locale format.
2651 * wctype/towctrans_l.c: Don't include cname-lookup.h.
2652 (__towctrans_l): Assume new locale format.
2653 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
2654 localeinfo.h instead.
2655 (__NO_WCTYPE): Remove unused macro.
2656 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
2658 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
2659 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
2660 (towlower, towupper): Likewise.
2661 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
2662 localeinfo.h instead.
2663 (__NO_WCTYPE): Remove unused macro.
2664 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
2665 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
2666 __iswxdigit_l): Assume new locale format.
2667 (__towlower_l, __towupper_l): Likewise.
2668 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
2669 (__ctype32_b): Remove declaration.
2670 (internal_wcwidth): Assume new locale format.
2671 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
2672 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
2673 to map32_b, rename width_3level to width.
2674 (ctype_output): Always create new locale format. Don't emit
2675 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
2676 (allocate_arrays): Always create new locale format.
2678 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
2679 * locale/weightwc.h (findidx): Assume new locale format.
2680 * string/strcoll.c (wcscoll): Remove local variables size, layers,
2682 * string/strxfrm.c (wcsxfrm): Likewise.
2683 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
2684 local variable collseq to 'const char *'.
2685 (SUFFIX): Don't use, don't undefine.
2686 * posix/fnmatch.c: Remove SUFFIX definition.
2687 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
2688 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
2689 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
2690 (collate_finish): Always create new locale format. Remove local
2691 variables min_total, act_size.
2692 (collate_output): Always create new locale format. Remove local
2693 variables table_size, names, tablewc. Rename tablewc_3level to
2696 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2698 * locale/programs/ld-collate.c (obstack_int32_grow,
2699 obstack_int32_grow_fast): New inline functions.
2700 (output_weightwc, collate_output): Use them where possible.
2702 2000-09-01 Ulrich Drepper <drepper@redhat.com>
2704 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
2705 patch (_mode -> _flags).
2707 * libio/Makefile (headers): Add stdio_ext.h.
2708 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
2709 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
2710 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
2711 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
2712 __fsetlocking, and _flushlbf.
2713 * libio/__fbufsize.c: New file.
2714 * libio/__flbf.c: New file.
2715 * libio/__fpending.c: New file.
2716 * libio/__fpurge.c: New file.
2717 * libio/__freadable.c: New file.
2718 * libio/__freading.c: New file.
2719 * libio/__fsetlocking.c: New file.
2720 * libio/__fwritable.c: New file.
2721 * libio/__fwriting.c: New file.
2722 * libio/stdio_ext.h: New file.
2723 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
2724 * libio/libio.h (_IO_USER_LOCK): Define.
2725 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
2726 test _IO_USER_LOCK flag first.
2728 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
2731 2000-09-01 Andreas Jaeger <aj@suse.de>
2733 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
2735 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
2737 2000-08-31 Ulrich Drepper <drepper@redhat.com>
2739 * math/Makefile (tests): Add tst-defintions.
2740 * math/tst-definitions.c: New file.
2742 * stdlib/Makefile (headers): Add bits/wchar.h.
2743 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
2744 * sysdeps/generic/bits/wchar.h: New file.
2745 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
2746 file to define WCHAR_MIN and WCHAR_MAX.
2747 Change UINT*8_MAX and UIN*16_MAX value to type int.
2748 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
2749 file to define WCHAR_MIN and WCHAR_MAX.
2750 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
2752 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
2753 * sysdeps/generic/bits/mathdef.h: Likewise.
2754 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
2755 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
2756 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
2757 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
2758 * locale/locale.h (struct lconv): Add __ prefix to the new members
2760 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
2761 imaxdiv optimizations.
2762 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
2763 * sysdeps/wordsize-64/ldiv.c: Likewise.
2764 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
2766 * sysdeps/generic/bits/fenv.h: Likewise.
2767 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2768 * sysdeps/ia64/bits/fenv.h: Likewise.
2769 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
2770 * sysdeps/mips/bits/fenv.h: Likewise.
2771 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2772 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2773 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
2775 * inet/rcmd.c: Use *stat64 instead of *stat internally.
2776 * inet/ruserpass.c: Likewise.
2777 * catgets/open_catalog.c: Likewise.
2778 * intl/loadmsgcat.c: Likewise.
2779 * io/getdirname.c: Likewise.
2780 * locale/loadlocale.c: Likewise.
2781 * misc/getusershell.c: Likewise.
2782 * stdlib/canonicalize.c: Likewise.
2783 * sysdeps/posix/euidaccess.c: Likewise.
2784 * sysdeps/posix/isfdtype.c: Likewise.
2785 * sysdeps/posix/posix_fallocate.c: Likewise.
2786 * sysdeps/posix/tempname.c: Likewise.
2787 * sysdeps/unix/grantpt.c: Likewise.
2788 * sysdeps/unix/opendir.c: Likewise.
2789 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
2790 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
2791 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2792 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
2793 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2794 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2795 * sysvipc/ftok.c: Likewise.
2796 * time/getdate.c: Likewise.
2798 * time/getdate.c: Add extra access test.
2800 2000-08-31 Ulrich Drepper <drepper@redhat.com>
2802 * version.h (VERSION): Bump to 2.1.93.
2804 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
2805 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
2807 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
2808 Make this a new rule depending on tst-gettext.out and run mtrace.
2809 * intl/tst-gettext.c: Call mtrace.
2810 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
2812 * elf/dl-reloc.c: Add a few more __builtin_expect.
2814 * configure.in: Remove --with-gettext option.
2816 * intl/dcigettext.c (free_mem): Correct freeing of
2817 _nl_domain_bindings list.
2819 * sysdeps/generic/setenv.c (free_mem): New function. Free all
2822 * intl/locale.alias: Add aliases for bokmal and nynorsk.
2824 * locale/iso-639.def: Fix 639-1 code for Bokmal.
2826 * stdio-common/itoa-digits.c: Move upper digits to...
2827 * stdio-common/itoa-udigits.c: ...here. New file.
2828 * stdio-common/Makefile (routines): Add itoa-udigits.
2830 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
2831 relocate ld.so don't add supprt for relocations which should not
2834 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
2835 __secure_getenv. Instead test __libc_enable_secure once.
2837 * io/pwd.c (main): Provide a good example, use *_unlocked function.
2839 2000-08-30 Ulrich Drepper <drepper@redhat.com>
2841 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
2842 whether the new record should be freed if it's a duplicate.
2843 (add_module): Adjust insert_module call.
2844 (__gconv_read_conf): Likewise.
2845 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
2847 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
2849 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
2851 * include/link.h (struct r_search_path_struct): New.
2852 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
2853 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
2855 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
2856 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
2857 added at startup time.
2858 * elf/dl-load.c: Fix memory handling. r_search_path_struct
2859 contains element to remember fact that we can free memory.
2860 (all_dirs): Renamed to _dl_all_dirs. Made global.
2861 (_dl_init_all_dirs): New variable.
2862 (fillin_rpath): Save one malloc call.
2863 (decompose_rpath): Change interface. New first parameter points to
2864 r_search_path_struct.
2865 (_dl_init_paths): Adjust for changes. Mark all memory as not
2866 deletable. Set _dl_init_all_paths value.
2867 (open_path): Remove may_free_dirs parameter. r_search_path_elem ***
2868 parameter replaced with r_search_path_struct *. Information about
2869 freeing now contained in r_search_path_struct.
2870 (_dl_map_object): Adjust for above changes.
2872 * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
2874 * elf/dl-load.c (fillin_rpath): Only check for trusted directories
2875 when adding new entries.
2877 * elf/dl-load.c (fillin_rpath): Make local copy of where string
2878 since the object being loaded can be unloaded.
2880 * iconvdata/Makefile (tests): Add tst-loading.
2881 * iconvdata/tst-loading.c: New file.
2883 2000-08-29 Bruno Haible <haible@clisp.cons.org>
2885 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
2886 When comparing a char with an int, always cast the char to
2887 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
2888 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
2890 2000-08-30 Ulrich Drepper <drepper@redhat.com>
2892 * time/strftime.c (my_strftime): Add compatibility code for use
2893 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
2895 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
2896 return 0 for success but always < 0 on failure.
2898 * nss/getXXbyYY_r.c: Define result to *result before including
2901 2000-08-30 Andreas Jaeger <aj@suse.de>
2903 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
2905 2000-08-29 Ulrich Drepper <drepper@redhat.com>
2907 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
2909 * iconvdata/TESTS: Add BIG5HKSCS entry.
2910 * iconvdata/testdata/BIG5HKSCS: New file.
2911 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
2913 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
2916 * libio/iogetline.c: Set mode before the loop in case n==0.
2917 * libio/iogetwline.c: Likewise.
2919 2000-08-29 H.J. Lu <hjl@gnu.org>
2921 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
2923 (_IO_new_file_overflow): Likewise.
2924 * libio/genops.c (_IO_flush_all): Likewise.
2925 * libio/ioftell.c (_IO_ftell): Likewise.
2927 2000-08-29 Akira Higuchi <a@kondara.org>
2929 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
2930 and __end_fct fields of struct __gconv_step.
2931 * iconv/Makefile (tests): Add iconv-bug2.
2932 * iconv/iconv-bug2.c: New file.
2934 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
2935 instead of 'inptr - inend' to ksc5601_to_ucs4.
2937 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
2939 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
2940 character or shift sequence is found at the end of the input
2941 string, return__GCONV_INCOMPLETE_INPUT instead of
2942 __GCONV_EMPTY_INPUT.
2943 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
2944 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
2946 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
2947 __GCONV_ILLEGAL_INPUT for 8bit characters.
2949 2000-08-29 Ulrich Drepper <drepper@redhat.com>
2951 * signal/signal.h (sigpause): Move __THROW before __asm__.
2953 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
2954 names don't match don't return.
2955 Patch by Olaf Kirch <okir@flash.lst.de>.
2957 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2959 * time/strftime.c (my_strftime): Handle # flag for %b as well.
2961 2000-08-27 H.J. Lu <hjl@gnu.org>
2963 * posix/Makefile (otherlibs): Add for building with static-nss
2966 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2968 * libio/stdio.h: Add fmemopen prototype.
2970 2000-08-25 Andreas Jaeger <aj@suse.de>
2972 * libio/Makefile (routines): Add fmemopen.
2973 (tests): Add test-fmemopen.
2974 * libio/Versions: Add fmemopen with version GLIBC_2.2.
2975 * libio/test-fmemopen.c: New file.
2976 * libio/fmemopen.c: New file.
2977 Patches by Hanno Mueller <kontakt@hanno.de>.
2979 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2981 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
2982 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
2984 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
2985 to avoid crashing statically linked applications.
2987 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2989 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
2990 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
2992 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
2993 If the result is fits in the buffer, copy only as many bytes as needed.
2995 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
2996 buffer after copying numbuf into it.
2997 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
2999 2000-08-27 Bruno Haible <haible@clisp.cons.org>
3001 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
3002 the result. When string_len < len, don't clear the rest of the buffer.
3004 2000-08-27 Bruno Haible <haible@clisp.cons.org>
3006 Support for new LC_COLLATE format.
3007 * locale/coll-lookup.h: New file.
3008 * locale/weightwc.h (findidx): When size == 0, call
3009 collidx_table_lookup.
3010 * wcsmbs/wcscoll.c: Include coll-lookup.h.
3011 * wcsmbs/wcsxfrm.c: Likewise.
3012 * posix/fnmatch.c: Likewise.
3013 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
3014 collseq_table_lookup.
3015 * locale/programs/3level.h: New file.
3016 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
3017 by including "3level.h".
3018 * locale/programs/ld-collate.c (wchead_table, collidx_table,
3019 collseq_table): New types, defined by including "3level.h".
3020 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
3021 (encoding_mask, encoding_byte): Remove.
3022 (utf8_encode): Use simple shifts instead.
3023 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
3024 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
3025 (collate_output): New local variable tablewc_3level. When
3026 !oldstyle_tables, set table_size to 0 and names to NULL and fill
3027 tablewc_3level instead of tablewc. Change format of TABLEWC and
3028 COLLSEQWC entries written to the file.
3029 * locale/C-collate.c (collseqwc): Change format.
3030 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
3032 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
3034 2000-08-27 Bruno Haible <haible@clisp.cons.org>
3036 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
3037 (locale_ctype_t): New charnames_idx field.
3038 (ctype_startup): Initialize charnames_idx field.
3039 (find_idx): Speed up dramatically by using charnames_idx inverse table.
3041 2000-08-27 Bruno Haible <haible@clisp.cons.org>
3043 * locale/C-ctype.c: Switch to new locale format.
3044 (_nl_C_LC_CTYPE_names): Remove array.
3045 (STRUCT_CTYPE_CLASS): New macro.
3046 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
3047 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
3048 New three-level tables.
3049 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
3050 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
3051 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
3052 12 class tables and 2 map tables at the end.
3053 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
3054 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
3055 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
3057 (b): Remove trailing semicolon.
3058 (__ctype_names, __ctype_width): Don't initialize.
3059 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
3061 2000-08-27 Bruno Haible <haible@clisp.cons.org>
3063 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
3064 is guaranteed to be allocated with the same malloc() and may be
3066 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
3067 been set to empty by an earlier open_path call, don't pass it again.
3069 2000-08-28 Ulrich Drepper <drepper@redhat.com>
3071 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
3072 we are not optimizing.
3074 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
3077 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
3079 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3081 2000-08-28 Andreas Jaeger <aj@suse.de>
3083 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
3085 2000-08-28 Mark Kettenis <kettenis@gnu.org>
3087 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
3088 getpeername. Use ISO C style function definition.
3089 (getpeername): Provide weak alias.
3090 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
3091 setrlimit. Use ISO C style function definition.
3092 (setrlimit): Provide weak alias.
3094 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
3096 * shlib-versions: Add a rule for S/390 to the libm version list.
3097 * sysdeps/s390/Versions: New file.
3098 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
3099 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
3100 * sysdeps/unix/sysv/linux/s390/Versions: New file.
3101 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
3102 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
3103 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
3104 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
3105 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
3106 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
3107 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
3108 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
3109 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
3110 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
3111 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
3112 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
3113 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
3114 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
3115 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
3117 2000-08-28 Ulrich Drepper <drepper@redhat.com>
3119 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
3120 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
3122 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
3123 * elf/dl-close.c (_dl_close): Print debug message if object is not
3125 * elf/dl-open.c (dl_open_worked): Print message about opencount before
3126 returning to caller.
3128 * po/zh.po: Renamed to...
3129 * po/zh_TW.po: ...this.
3131 2000-08-27 Geoff Keating <geoffk@cygnus.com>
3133 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
3135 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
3136 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
3137 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
3138 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
3140 2000-08-27 Ulrich Drepper <drepper@redhat.com>
3142 * locale/programs/ld-collate.c (insert_weights): Also update
3143 backpointer of next element.
3144 (collate_read): Allow definition of new collation symbols in stage 2.
3145 Symbol after reorder-after can be UCS4 value.
3146 Allow reordering of collation symbols and elements.
3147 Do not only move reorder entry in new position. Instead call
3148 insert_weight to do this and read the weights.
3150 * locale/findlocale.c (free_mem): Add cast to avoid warning.
3152 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
3153 to determine invalid locale name.
3154 * locale/findlocale.c (_nl_find_locale): Likewise.
3156 * posix/annexc.c: Correct test for unavailable feature.
3158 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
3161 2000-08-26 Ulrich Drepper <drepper@redhat.com>
3163 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
3166 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
3167 (sysdep_routines): Add oldgetrlimit64.
3169 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
3170 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
3171 (tests): Add unload, reldep, reldep2, and reldep3.
3172 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
3174 Add rules to build and run unload, reldep, reldep2, and reldep3.
3175 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
3176 Don't create relocation dependency if it is nonzero.
3177 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
3178 can never happen here.
3179 (_dl_lookup_versioned_symbol): Add new parameter explicit.
3180 Don't create relocation dependency if it is nonzero.
3181 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
3182 stuff. This can never happen here.
3183 * sysdeps/generic/ldsodefs.h: Change prototypes.
3184 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
3185 _dl_lookup_up and _dl_lookup_versioned_symbol.
3187 * elf/dl-runtime.c (fixup): Likewise.
3188 (profile_fixup): Likewise.
3189 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
3191 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
3192 * elf/rtld.c (dl_main): Likewise.
3193 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
3194 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
3195 and pass down the caller map.
3196 (_dl_vsym): Likewise.
3197 * elf/reldep.c: New file.
3198 * elf/reldep2.c: New file.
3199 * elf/reldep3.c: New file.
3200 * elf/reldepmod1.c: New file.
3201 * elf/reldepmod2.c: New file.
3202 * elf/reldepmod3.c: New file.
3203 * elf/reldepmod4.c: New file.
3204 * elf/unload.c: New file.
3205 * elf/unloadmod.c: New file.
3207 * elf/do-lookup.h: Remove unused undef_name parameter.
3208 * elf/dl-lookup.c: Adjust callers.
3210 2000-08-25 Ulrich Drepper <drepper@redhat.com>
3212 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
3213 irreversible in recursive call of conversion function to signal that
3214 no error handling is wanted.
3215 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
3216 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
3217 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
3218 recursive error handling call, otherwise to &lirreversible. Use it
3219 for calls to conversion functions.
3220 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
3222 (ucs4_internal_loop_unaligned): Likewise.
3223 (ucs4le_internal_loop): Likewise.
3224 (ucs4le_internal_loop_unaligned): Likewise.
3226 2000-08-25 Greg McGary <greg@mcgary.org>
3228 * sysdeps/i386/memchr.S: Check high bound against chars
3230 * sysdeps/i386/memcmp.S: Likewise.
3231 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
3232 account for pointers that lie one beyond end-of-buffer.
3234 2000-08-25 Ulrich Drepper <drepper@redhat.com>
3236 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
3237 * elf/nodelete.c (fini_ran): New global variable.
3238 (do_test): Before every dlclose call clear fini_ran and test
3239 afterwards that it is not set by the destructors.
3240 * elf/nodelmod1.c: Add destructor which sets fini_ran.
3241 * elf/nodelmod2.c: Likewise.
3242 * elf/nodelmod4.c: Likewise.
3244 2000-08-21 Jes Sorensen <jes@linuxcare.com>
3246 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
3247 getrlimit to the list.
3249 2000-08-18 Jes Sorensen <jes@linuxcare.com>
3251 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
3252 long double format so use ldbl-96 instead of ldbl-128.
3254 2000-08-25 Ulrich Drepper <drepper@redhat.com>
3256 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
3257 even if bits 10 a 11 are non-zero.
3258 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
3260 * Makeconfig: Ensures the soversions.mk part of Makefile gets
3261 included before building gnu/lib-names.h
3262 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3264 * elf/dl-close.c (_dl_close): Don't run destructors of objects
3265 marked DF_1_NODELETE.
3267 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
3268 since we call sigaction in the child.
3270 2000-08-25 Andreas Jaeger <aj@suse.de>
3272 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
3275 2000-08-25 Andreas Jaeger <aj@suse.de>
3277 * manual/arith.texi (Control Functions): Clarify possible
3278 arguments. Closes PR libc/1856.
3280 2000-08-24 H.J. Lu <hjl@gnu.org>
3282 * stdio-common/Makefile (tests): Don't do it for cross compiling.
3283 * malloc/Makefile (tests): Likewise.
3285 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3287 * iconvdata/unicode.c (gconv_init): Correct test for direction.
3289 2000-08-24 Andreas Jaeger <aj@suse.de>
3291 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
3292 only if LIBGD is available.
3294 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3296 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
3297 problems with now restrict parameter types.
3298 (convaddr4to6): Likewise.
3300 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
3302 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
3303 * sysdeps/s390/fpu/feenablxcpt.c: New file.
3304 * sysdeps/s390/fpu/fegetexcept.c: New file.
3305 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
3308 2000-08-24 Andreas Jaeger <aj@suse.de>
3310 * malloc/Makefile (extra-objs): Add memusagestat.o.
3311 (generated): Added memusage and memusagestat for make clean.
3313 * libio/tst_putwc.c (do_test): Delete temporary file.
3314 Move inclusion of test-skeleton to front to have prototype for
3317 * posix/Makefile (generated): Add wordexp-tst.out.
3319 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3321 * resolv/res_hconf.c (free_mem): Remove not needed if.
3323 * time/tzset.c (free_mem): New function.
3324 * string/strsignal.c (free_mem): New function.
3325 * inet/inet_ntoa.c (free_mem): New function.
3326 * sunrpc/clnt_perr.c (free_mem): New function.
3328 2000-08-24 Andreas Jaeger <aj@suse.de>
3330 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
3331 * sysdeps/unix/sysv/syscalls.list: Likewise.
3333 * posix/unistd.h: Move internal prototypes from here ...
3334 * include/unistd.h: ... to here.
3336 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
3338 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3340 * grp/initgroups.c (initgroups): Deallocate groups array.
3341 Reported by jani.raiha@sonera.com [PR libc/1868].
3343 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
3344 * sysdeps/alpha/Dist: Likewise.
3346 2000-08-23 Ulrich Drepper <drepper@redhat.com>
3348 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
3349 destructor). Reported by Solar Designer <solar@false.com>.
3351 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
3352 avoid adding double slashes.
3354 2000-08-23 Jakub Jelinek <jakub@redhat.com>
3356 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
3357 out of the __REDIRECT macro.
3359 2000-08-23 Ulrich Drepper <drepper@redhat.com>
3361 * stdio-common/vfscanf.c: Add %F format support.
3363 * locale/programs/ld-ctype.c (ctype_output): Make sure
3364 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
3365 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
3366 (ctype_read): Enable returning of wide character strings for reading
3367 transliteration information.
3369 2000-08-23 Andreas Jaeger <aj@suse.de>
3371 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
3372 Use static __inline instead of _EXTERN_INLINE.
3374 * misc/sys/select.h: Move prototypes of __select from here ...
3375 * include/sys/select.h: ... to here.
3377 * socket/sys/socket.h: Move prototypes of __send and __connect
3379 * include/sys/socket.h: ... to here.
3381 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
3384 2000-08-23 Jakub Jelinek <jakub@redhat.com>
3386 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
3387 __setrlimit as strong name. Takes only 2 arguments.
3389 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
3390 takes only 2 arguments.
3392 2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
3394 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
3396 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
3398 2000-08-23 Ulrich Drepper <drepper@redhat.com>
3400 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
3401 default_missing character being specified, pick the first
3404 2000-08-23 Andreas Jaeger <aj@suse.de>
3406 * include/wchar.h: Add some pure attributes.
3408 * time/time.h: Add const attribute for dysize.
3410 * include/stdlib.h: Add malloc attribute to __posix memalign.
3412 * stdlib/stdlib.h: Add some pure and malloc attributes.
3413 * wcsmbs/wchar.h: Likewise.
3415 * dirent/dirent.h: Add some pure attributes.
3416 * include/dirent.h: Likewise.
3418 2000-08-23 Jakub Jelinek <jakub@redhat.com>
3420 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
3423 2000-08-22 Ulrich Drepper <drepper@redhat.com>
3425 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
3426 missing buffer size checks.
3428 2000-08-23 Andreas Jaeger <aj@suse.de>
3430 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
3432 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3434 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
3435 otherwise __LINUX_KERNEL_VERSION might not be defined.
3436 (MIN): Define if not already defined.
3438 2000-08-22 Ulrich Drepper <drepper@redhat.com>
3440 * stdio-common/vfprintf.c: Handle %F format.
3441 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
3442 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
3444 * stdio-common/tstdiomisc.c: Add test for %F printf format.
3446 * po/zh.po: New file.
3448 * iconvdata/sjis.c: In conversion from UCS4, correct test for
3449 enough room in target buffer.
3450 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
3451 * iconvdata/bug-iconv1.c: New file.
3452 * iconvdata/Makefile (tests): Add bug-iconv1.
3454 * locale/iso-4217.def: Update entry for Nicaragua.
3456 2000-08-22 Mark Kettenis <kettenis@gnu.org>
3458 * hurd/hurdsig.c: Rearrange headers a bit.
3459 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
3460 when cthreads is being used.
3462 2000-08-22 Ulrich Drepper <drepper@redhat.com>
3464 * elf/Makefile (distribute): Add dl-osinfo.h.
3465 * sysdeps/generic/dl-osinfo.h: New file.
3466 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
3467 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
3469 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
3470 only for !SHARED case. Get the code from dl-osinfo.h.
3472 * stdlib/random_r.c: Cleanups.
3473 * stdlib/tst-random.c: New file.
3474 * stdlib/Makefile (tests): Add tst-random.
3475 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
3477 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
3479 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
3480 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
3481 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
3482 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
3484 2000-08-22 Jakub Jelinek <jakub@redhat.com>
3486 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
3487 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
3488 (__syscall__sysctl): Add.
3490 2000-08-21 Andreas Jaeger <aj@suse.de>
3492 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
3494 * stdlib/tst-strtoll.c: Likewise.
3496 2000-08-21 Ulrich Drepper <drepper@redhat.com>
3498 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
3500 (__initstate_r): Set errno on error.
3501 (__random_r): Likewise.
3502 (__setstate_r): Correct offset when computing
3503 new rptr and fptr. Test for arg_state being NULL.
3504 Reported by Michael Fischer <fischer@cs.yale.edu>.
3506 * posix/regex.h: Add macro definitions to allow compiling outside
3509 * sysdeps/i370/Implies: Removed.
3510 * sysdeps/mvs/Implies: Removed.
3512 * catgets/catgets.c (catopen): Filter out env_var values with / if
3515 * locale/findlocale.c (_nl_find_locale): Move test for unusable
3516 locale name after all getenvs.
3518 * configure.in: Allow sed versions like 3.02.8.
3519 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
3521 2000-08-21 Marko Myllynen <myllynen@lut.fi>
3523 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
3525 2000-08-21 Ulrich Drepper <drepper@redhat.com>
3527 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
3528 of gethostbyname2_r call.
3530 * intl/locale.alias: Add aliases for Korean.
3532 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
3534 * sysdeps/s390/__longjmp.c: Remove unused variable result.
3535 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
3536 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
3537 * sysdeps/s390/fpu/fegetenv.c: New file.
3538 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
3539 * sysdeps/s390/fpu/feholdexcpt.c: New file.
3540 * sysdeps/s390/fpu/fenv_libc.h: New file.
3541 * sysdeps/s390/fpu/fesetenv.c: New file.
3542 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
3543 * sysdeps/s390/fpu/feupdateenv.c: New file.
3544 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
3545 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
3546 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
3547 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
3548 * sysdeps/s390/fpu/ftestexcept.c: New file.
3549 * sysdeps/s390/fpu/libm-test-ulps: New file.
3550 * sysdeps/s390/gmp-mparam.h: Add end of comment.
3551 * sysdeps/s390/initfini.c: New file.
3552 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
3553 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
3554 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
3555 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
3556 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
3557 sys/procfs.h as proposed by Mark Kettenis.
3558 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
3560 2000-08-21 Andreas Jaeger <aj@suse.de>
3562 * include/poll.h: Include include/sys/poll.h to get __poll
3565 * io/sys/poll.h: Move __poll declaration from here...
3566 * include/sys/poll.h: ...to here.
3568 * include/sys/socket.h (__getpeername): Add declaration.
3570 * include/wchar.h (__vswprintf): Add declaration.
3572 * include/stdio.h (__flockfile): Add declaration.
3573 (__funlockfile): Likewise.
3575 2000-08-20 Ulrich Drepper <drepper@redhat.com>
3577 * misc/sys/cdefs.h: Define __restrict_arr.
3578 * include/sys/time.h: Add restrict where required by AGd4.
3579 * inet/arpa/inet.h: Likewise.
3580 * io/sys/stat.h: Likewise.
3581 * io/sys/statvfs.h: Likewise.
3582 * misc/search.h: Likewise.
3583 * misc/sys/select.h: Likewise.
3584 * posix/glob.h: Likewise.
3585 * posix/regex.h: Likewise.
3586 * posix/spawn.h: Likewise.
3587 * posix/unistd.h: Likewise.
3588 * rt/aio.h: Likewise.
3589 * signal/signal.h: Likewise.
3590 * socket/sys/socket.h: Likewise.
3591 * stdlib/ucontext.h: Likewise.
3592 * streams/stropts.h: Likewise.
3593 * string/string.h: Likewise.
3594 * time/time.h: Likewise.
3595 * time/sys/time.h: Likewise.
3597 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
3598 and posix_spawnattr_setscheparam.
3600 * libio/stdio.h: Make cuserid prototype again available for all
3603 * argp/argp-help.c: Unify use of function aliases to make more compact
3605 * include/libintl.h: Likewise.
3606 * inet/rcmd.c: Likewise.
3607 * intl/dcigettext.c: Likewise.
3608 * libio/iofputws.c: Likewise.
3609 * libio/iofputws_u.c: Likewise.
3610 * libio/iogetwline.c: Likewise.
3611 * libio/swprintf.c: Likewise.
3612 * malloc/malloc.c: Likewise.
3613 * nss/digits_dots.c: Likewise.
3614 * posix/fnmatch.c: Likewise.
3615 * posix/spawn_faction_addclose.c: Likewise.
3616 * posix/spawn_faction_adddup2.c: Likewise.
3617 * posix/spawn_faction_addopen.c: Likewise.
3618 * posix/spawni.c: Likewise.
3619 * posix/wordexp.c: Likewise.
3620 * posix/spawni.c: Likewise.
3621 * resolv/res_hconf.c: Likewise.
3622 * resolv/res_init.c: Likewise.
3623 * shadow/lckpwdf.c: Likewise.
3624 * signal/sighold.c: Likewise.
3625 * signal/sigrelse.c: Likewise.
3626 * stdio-common/printf-parse.h: Likewise.
3627 * stdio-common/printf-prs.c: Likewise.
3628 * stdio-common/printf_fp.c: Likewise.
3629 * stdio-common/vfprintf.c: Likewise.
3630 * stdio-common/vfscanf.c: Likewise.
3631 * stdlib/rpmatch.c: Likewise.
3632 * sunrpc/create_xid.c: Likewise.
3633 * sunrpc/key_call.c: Likewise.
3634 * sysdeps/generic/setrlimit64.c: Likewise.
3635 * sysdeps/generic/utmp_file.c: Likewise.
3636 * sysdeps/generic/vlimit.c: Likewise.
3637 * sysdeps/posix/posix_fallocate.c: Likewise.
3638 * sysdeps/posix/posix_fallocate64.c: Likewise.
3639 * sysdeps/posix/sigpause.c: Likewise.
3640 * sysdeps/posix/sigset.c: Likewise.
3641 * sysdeps/unix/grantpt.c: Likewise.
3642 * sysdeps/unix/bsd/ualarm.c: Likewise.
3643 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
3644 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
3645 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3646 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
3647 * time/strftime.c: Likewise.
3648 * wcsmbs/wcscoll.c: Likewise.
3649 * wcsmbs/wcsxfrm.c: Likewise.
3651 * time/tst-getdate.c (main): Make error messages more human readable.
3653 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
3654 postinc/predec instruction.
3655 (_FPU_SETCW): Likewise.
3656 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3658 2000-08-20 Andreas Jaeger <aj@suse.de>
3660 * time/tst-getdate.c (main): Increase error in case of wrong
3662 Fix typo in test case.
3664 2000-08-20 Ulrich Drepper <drepper@redhat.com>
3666 * ctype/ctype.h (isblank): Make available if ISO C99.
3667 * wctype/wctype.h (iswblank): Make available if ISO C99.
3668 * math/math.h (signgam): Don't make available if ISO C99.
3669 * math/tgmath.h (tgamma): Renamed from gamma.
3670 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
3672 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
3674 * intl/plural.y (new_exp): Take number of optional parameters in
3675 second parameter. Test for correct number of parameters and free
3676 correctly in case of failure. Adjust all callers.
3677 (yylex): Allow ';' as terminator character.
3679 2000-08-19 Ulrich Drepper <drepper@redhat.com>
3681 * locale/lc-time.c (free_mem): New function. Free alt_digits and
3684 * locale/findlocale.c (free_mem): Also free here->filename.
3686 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
3688 * math/test-fenv.c (feenv_tests): Clear all exceptions before
3690 (feexcp_nomask_test): Correct printf args.
3691 (feexcp_mask_test): Likewise.
3693 2000-08-19 Andreas Jaeger <aj@suse.de>
3695 * inet/tst-gethnm.c: Include string.h to provide prototype for
3698 * malloc/mtrace.pl (usage): Inform about --help.
3700 2000-08-19 Wolfram Gloger <wg@malloc.de>
3702 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
3705 2000-08-19 Andreas Jaeger <aj@suse.de>
3707 * shlib-versions: Remove libnss_db, libdb and libdb1.
3709 2000-08-19 Jakub Jelinek <jakub@redhat.com>
3711 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
3712 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
3713 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
3714 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
3715 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
3716 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
3717 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
3718 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
3719 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
3720 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
3722 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
3723 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
3725 2000-08-18 Jakub Jelinek <jakub@redhat.com>
3727 * include/glob.h (__glob64): Add prototype.
3728 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
3729 define glob and glob_in_dir.
3730 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
3731 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
3732 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
3733 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
3734 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
3735 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
3736 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
3737 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
3739 2000-08-18 Jakub Jelinek <jakub@redhat.com>
3741 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
3743 2000-08-17 Andreas Jaeger <aj@suse.de>
3745 * math/test-fenv.c (fe_single_test): New function.
3746 (fe_env_tests): Use fe_single_test.
3747 (feenable_test): New tests for feenable/fedisable and
3749 (feexcp_mask_test): New function.
3750 (feexcp_nomask_test): New function.
3752 2000-08-19 Richard Henderson <rth@cygnus.com>
3754 * sysdeps/alpha/fpu/fenv_libc.h: New file.
3755 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
3756 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
3757 * sysdeps/alpha/fpu/fesetround.c: Likewise.
3758 * sysdeps/alpha/fpu/fegetround.c: Likewise.
3759 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
3760 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
3761 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
3762 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
3763 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
3764 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
3765 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
3766 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
3767 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
3768 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
3769 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
3770 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
3772 2000-08-19 Andreas Jaeger <aj@suse.de>
3774 * elf/constload1.c: Include <stdio.h> for puts prototype.
3776 2000-08-19 Ulrich Drepper <drepper@redhat.com>
3778 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
3779 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
3780 a dynamically loaded object remove old l_initfini list.
3781 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
3782 remove some dynamically allocated memory blocks in the dynamic
3783 loading data structures.
3784 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
3785 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
3786 Instead call _dl_check_map_versions only for the dependencies.
3787 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
3788 information of initial objects as not free-able.
3789 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
3792 * elf/filter.c: Call mtrace.
3793 * elf/restest1.c: Likewise. Close the objects.
3794 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
3797 * elf/constload1.c: Add comment explaining not freed memory.
3799 2000-08-18 Andreas Jaeger <aj@suse.de>
3801 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
3802 alignment for structs stat and stat64.
3803 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3805 2000-08-17 Ulrich Drepper <drepper@redhat.com>
3807 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
3808 handling. Patch by Richard Henderson <rth@twiddle.net>.
3810 * nss/Versions: Remove libnss_db information.
3812 2000-08-16 Jakub Jelinek <jakub@redhat.com>
3814 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
3815 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
3816 * sysdeps/sparc/fpu/fegetexcept.c: New file.
3817 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
3819 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
3822 2000-08-17 Ulrich Drepper <drepper@redhat.com>
3824 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
3825 (_FPU_SETCW): Likewise.
3826 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3828 * stdio-common/printf_fp.c: Fix chars_needed computation.
3829 Patch by Greg McGary <greg@mcgary.org>.
3831 2000-08-17 Jakub Jelinek <jakub@redhat.com>
3833 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
3834 _dl_loaded are NULL.
3836 2000-08-17 Jakub Jelinek <jakub@redhat.com>
3838 * manual/arith.texi (feholdexcept): Returns 0 on success.
3840 2000-08-17 Andreas Jaeger <aj@suse.de>
3842 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
3844 Reported by Andi Kleen <ak@suse.de>.
3846 2000-08-17 Jakub Jelinek <jakub@redhat.com>
3848 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
3849 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
3850 * sysdeps/alpha/fpu/fegetexcept.c: New file.
3852 2000-08-16 Jakub Jelinek <jakub@redhat.com>
3854 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
3855 of buf->st_ino and kbuf->st_ino, not __st_ino.
3856 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
3857 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
3858 directive so that only linux/getdents.c is used, not some
3859 architecture specific one.
3861 2000-08-16 Jakub Jelinek <jakub@redhat.com>
3863 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
3864 enabled, not disabled exceptions.
3865 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3866 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
3868 2000-08-17 Greg McGary <greg@mcgary.org>
3870 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
3871 from test program name when constructing suffix for $(LDLIBS-*).
3872 (bounded-thread-library): New variable.
3874 [build-shared, build-static] (libcrypt-dep): Remove variable.
3875 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
3876 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3877 * linuxthreads/Makefile (libpthread, librt): Remove variables.
3878 (librt-tests): Add variable. (tests): Use it.
3879 [build-shared, build-static]
3880 ($(addprefix $(objpfx),$(tests)),
3881 $(addprefix $(objpfx),$(librt-tests))):
3882 Consolidate individual dependencies.
3884 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
3886 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
3887 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3889 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
3891 [build-shared, build-static]
3892 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
3893 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3895 2000-08-17 Greg McGary <greg@mcgary.org>
3897 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
3898 * sysdeps/unix/make-syscalls.sh: Likewise.
3899 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3900 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3901 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3902 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
3903 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
3905 2000-08-17 Greg McGary <greg@mcgary.org>
3907 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
3908 Wrap extern symbols in BP_SYM ().
3909 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3910 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3911 * sysdeps/i386/fpu/s_remquo.S: Likewise.
3912 * sysdeps/i386/fpu/s_remquof.S: Likewise.
3913 * sysdeps/i386/fpu/s_remquol.S: Likewise.
3914 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3915 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3916 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3917 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3918 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3920 2000-08-16 Andreas Schwab <schwab@suse.de>
3922 * sysdeps/m68k/fpu/fegetexcept.c: New file.
3923 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
3924 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
3926 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3928 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
3929 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
3930 * elf/dl-support.c: Define _nl_nloaded.
3931 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
3932 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
3933 object to global list.
3934 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
3935 from _dl_loaded list.
3936 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3937 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
3940 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
3942 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
3944 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
3946 2000-08-16 Andreas Jaeger <aj@suse.de>
3948 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
3950 2000-08-15 Marko Myllynen <myllynen@lut.fi>
3952 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
3954 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3956 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
3957 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
3958 (sysdep_routines): Add oldgetrlimit64.
3959 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
3960 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3962 * include/link.h: Undo last patches. Hurd now has stat64.
3963 * elf/Makefile: Likewise.
3964 * elf/dl-load.c: Likewise.
3965 * elf/dl-misc.c: Likewise.
3966 * elf/dl-profile.c: Likewise.
3967 * sysdeps/generic/sysd-link.h: Removed.
3968 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
3970 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
3971 thread event callback function.
3972 (__aio_notify_only): Use function above.
3973 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
3975 2000-08-16 Mark Kettenis <kettenis@gnu.org>
3977 * sysdeps/mach/hurd/lseek64.c: New file.
3979 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3981 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
3983 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
3985 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
3987 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
3989 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3991 * sysdeps/mach/hurd/xstatconv.c: New file.
3992 * sysdeps/mach/hurd/fxstat64.c: New file.
3993 * sysdeps/mach/hurd/lxstat64.c: New file.
3994 * sysdeps/mach/hurd/xstat64.c: New file.
3995 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
3997 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3999 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
4000 Initialize, needed for change in common symbol handling in newer
4001 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
4003 2000-08-15 Ulrich Drepper <drepper@redhat.com>
4005 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
4006 * elf/constload2.c: Add destructor to unload constload3.
4008 * include/link.h: Include sysd-link.h.
4009 * sysdeps/generic/sysd-link.h: New file.
4010 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
4011 * elf/Makefile (distribute): Add sysd-link.h.
4012 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
4013 types and functions directly.
4014 * elf/dl-misc.c: Likewise.
4015 * elf/dl-profile.c: Likewise.
4017 * elf/loadfail.c (main): Close all successfully loaded objects.
4019 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
4021 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
4022 there is already one.
4024 * elf/dl-close.c: Pretty print.
4026 2000-08-14 Ulrich Drepper <drepper@redhat.com>
4028 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
4029 global (with file scope). Add __libc_subfreeres function to free the
4031 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
4032 in ttyname function.
4034 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
4036 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
4038 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
4039 mapping them to /x5c and /x7e respectively.
4041 * locale/programs/ld-ctype.c: Add support for more definitions after
4044 2000-08-14 Jakub Jelinek <jakub@redhat.com>
4046 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
4047 * sysdeps/unix/sysv/linux/kernel-features.h
4048 (__ASSUME_GETDENTS64_SYSCALL): Define.
4049 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
4050 syscall if available to get d_type fields.
4051 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
4052 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
4053 __lxstat64): Export at GLIBC_2.2.
4054 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
4056 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
4057 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
4058 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
4059 getdirentries64, versionsort64): Remove.
4060 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
4061 getdirentries64, versionsort64): Remove.
4063 2000-08-13 Ulrich Drepper <drepper@redhat.com>
4065 * posix/Makefile: Remove rules to generate glob package.
4067 * posix/Makefile (tests): Add tst-regexloc.
4068 (tst-regexloc-ENV): Add LOCPATH.
4069 * posix/tst-regexloc.c: New file.
4071 2000-08-12 Andreas Jaeger <aj@suse.de>
4073 * include/features.h (__STDC_ISO_10646__): Define.
4074 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
4076 2000-08-13 Ulrich Drepper <drepper@redhat.com>
4078 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
4080 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
4081 for revision 6 and up).
4083 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
4085 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
4086 to get definitions of just these types.
4088 * signal/signal.h: Define thread signal handling functions also for
4091 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
4093 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
4094 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
4095 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4096 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
4098 * sysvipc/sys/shm.h: Define pid_t for XPG.
4100 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
4101 they are not anymore required here.
4103 * wcsmbs/wchar.h: Make the various wide char string and stream
4104 functions available for the respective XPG versions.
4106 * nss/Makefile: Remove rules to build and distribute nss_db.
4108 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
4109 * sysdeps/generic/scandir64.c: Likewise.
4110 * sysdeps/generic/versionsort64.c: Likewise.
4112 2000-08-13 Ulrich Drepper <drepper@redhat.com>
4113 Benjamin Koznik <bkoz@redhat.com>
4115 * libio/fileops.c: Merge with libstdc++-v3.
4116 * libio/genops.c: Likewise.
4117 * libio/iofclose.c: Likewise.
4118 * libio/iofopen.c: Likewise.
4119 * libio/iofwide.c: Likewise.
4120 * libio/libio.h: Likewise.
4121 * libio/libioP.h: Likewise.
4122 * libio/stdfiles.c: Likewise.
4123 * libio/stdio.c: Likewise.
4124 * libio/wfileops.c: Likewise.
4125 * libio/wgenops.c: Likewise.
4127 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
4129 2000-08-12 Ulrich Drepper <drepper@redhat.com>
4131 * locale/programs/localedef.c: Implement --prefix option to allow
4132 writing in standard places of alternative install directories.
4134 * posix/regex.c (compile_range): Implement collation sequence
4135 handling for glibc. Use simple character ordering otherwise and
4138 2000-08-12 Mark Kettenis <kettenis@gnu.org>
4140 * sysdeps/generic/scandir64.c: Include <dirent.h>.
4142 2000-08-12 Andreas Jaeger <aj@suse.de>
4144 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
4145 __USE_FILE_OFFSET64 correctly for locking.
4146 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4148 2000-08-12 Jakub Jelinek <jakub@redhat.com>
4150 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4151 Define for 2.4.1 on sparc as well.
4152 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
4153 for F_GETLK64, F_SETLK64, and F_SETLKW64.
4154 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
4155 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
4157 2000-08-12 Ulrich Drepper <drepper@redhat.com>
4159 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
4162 2000-08-12 Andreas Jaeger <aj@suse.de>
4164 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
4165 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
4167 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
4168 mips2 for assembler.
4170 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
4171 if fnctl64 is not available for F_*LK*64.
4173 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
4175 2000-08-12 Ulrich Drepper <drepper@redhat.com>
4177 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4178 Define for 2.4.1 on x86.
4179 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
4180 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
4181 for F_GETLK64, F_SETLK64, and F_SETLKW64.
4183 * dirent/dirent.h: Define DT_WHT.
4185 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
4186 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
4187 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
4188 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
4189 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
4190 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
4192 2000-08-11 Ulrich Drepper <drepper@redhat.com>
4194 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
4195 lookup, pass pointer to array with NULL pointer [PR libc/1858].
4196 * inet/Makefile (tests): Add tst-gethnm.
4197 * inet/tst-gethnm.c: New file.
4199 * rt/aio_cancel.c: If canceling a specific request which is running
4200 *really* do nothing.
4201 * rt/aio_misc.h: Add `done' to states of a request.
4202 * rt/aio_misc.c: Add several tests for the correct state.
4203 Simplify request table memory handling.
4205 2000-08-10 Jakub Jelinek <jakub@redhat.com>
4207 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
4208 * dirent/scandir64.c: Move...
4209 * sysdeps/generic/scandir64.c: ...here.
4210 * dirent/alphasort64.c: Move...
4211 * sysdeps/generic/alphasort64.c: ...here.
4212 * dirent/versionsort64.c: Move...
4213 * sysdeps/generic/versionsort64.c: ...here.
4214 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
4215 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
4216 Export symbols at GLIBC_2.2.
4217 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
4218 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
4219 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
4220 __versionsort64): Add prototypes.
4221 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
4222 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
4224 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
4226 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
4227 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
4228 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
4229 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
4231 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
4232 Adjust for kernel-2.4.0-test6 layout.
4233 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
4234 GLIBC_2.1 and GLIBC_2.2.
4235 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
4236 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
4237 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
4238 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
4239 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
4240 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
4241 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
4242 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
4243 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
4244 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
4245 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
4246 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
4247 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
4248 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
4250 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
4251 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
4252 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
4253 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
4254 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
4255 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
4256 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
4258 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
4259 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
4261 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
4262 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
4263 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
4264 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
4265 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
4267 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
4269 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
4271 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
4272 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
4273 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
4274 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
4275 st_ino from __st_ino.
4276 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
4277 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
4278 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
4279 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
4280 set __st_ino in addition to st_ino.
4281 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
4282 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
4283 __old_getdents64 as well.
4284 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
4285 getdirentries64 and old_getdirentries64 as well.
4286 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
4287 __GETDENTS): Define.
4288 (GETDENTS64): Remove.
4289 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
4291 (GETDENTS64): Remove.
4292 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
4293 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
4294 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
4296 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
4297 __old_readdir64_r as well.
4298 * sysdeps/unix/sysv/linux/kernel-features.h: Define
4299 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
4301 2000-08-08 Jes Sorensen <jes@linuxcare.com>
4303 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
4304 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
4305 define of the kernel.
4306 Add missing __SEG_PSTKOVF definition.
4307 Adjust the padding of struct siginfo and struct sigevent to
4308 match the fact that sigval_t is 64 bit.
4310 2000-08-10 Ulrich Drepper <drepper@redhat.com>
4312 * timezone/zic.c: Update from tzcode2000f.
4313 * timezone/australasia: Update from tzdata2000f.
4314 * timezone/europe: Likewise.
4315 * timezone/southamerica: Likewise.
4316 * timezone/yearistype: Likewise.
4318 2000-08-10 Andreas Jaeger <aj@suse.de>
4320 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
4321 stat with current MIPS kernel.
4323 2000-08-01 Mark Kettenis <kettenis@gnu.org>
4325 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
4326 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
4327 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
4328 Remove the junk that's only relevant in the Linux kernel itself.
4329 Add a warning saying that this file is now obsolete, and include
4331 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
4332 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
4333 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
4334 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
4335 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
4336 and add the notice that the file is primarily there for GDB.
4337 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
4339 2000-08-09 Jakub Jelinek <jakub@redhat.com>
4341 * time/tzfile.c (__tzfile_compute): __tzstring zones
4344 2000-08-09 Jakub Jelinek <jakub@redhat.com>
4346 * resolv/resolv.h (__res_state): Surround prototype with
4347 __BEGIN_DECLS/__END_DECLS.
4348 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
4350 2000-08-04 Jes Sorensen <jes@linuxcare.com>
4352 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
4353 Make independant of asm/resource.h from the Linux kernel.
4355 2000-08-06 Bruno Haible <haible@clisp.cons.org>
4357 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
4359 2000-08-06 Bruno Haible <haible@clisp.cons.org>
4361 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
4362 * locale/Makefile (locale-CPPFLAGS): Likewise.
4364 2000-08-09 Ulrich Drepper <drepper@redhat.com>
4366 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
4369 2000-08-03 Jakub Jelinek <jakub@redhat.com>
4371 * misc/Versions (mincore): Export at GLIBC_2.2.
4373 2000-08-03 Bruno Haible <haible@clisp.cons.org>
4375 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
4377 2000-08-02 Mark Kettenis <kettenis@gnu.org>
4379 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
4380 socketpair. Made socketpair a weak alias.
4381 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
4382 __socketpair. Use S_IFIFO protocol to make pipes POSIX
4383 conforming, but fall back on the old protocol if the socket server
4385 * include/sys/socket.h: Add prototype for __socketpair.
4387 2000-08-09 Andreas Schwab <schwab@suse.de>
4389 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
4390 long long modifier is seen.
4392 * elf/nodelete.c (do_test): Remove reference to undefined member
4394 * rt/tst-aio4.c (do_test): Likewise.
4396 * configure.in: Add `-lm' when checking for libgd.
4397 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
4400 2000-08-09 Andreas Jaeger <aj@suse.de>
4402 * configure.in: Change required make versions.
4404 * manual/install.texi (Tools for Compilation): Document required
4406 (Supported Configurations): Update list of supported
4409 2000-08-08 Ulrich Drepper <drepper@redhat.com>
4411 * locale/linereader.c (get_string): Don't print an error is a string
4412 contains an unknown character.
4414 2000-08-06 Ulrich Drepper <drepper@redhat.com>
4416 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
4417 (new_symbol): Take new parameters with name of the symbol.
4419 (handle_ellipsis): Don't only allow character symbols.
4420 (collate_read): Allow string of collating elements contain invalid
4421 characters; ignore entry in this case.
4422 Handle ellipsis of collating symbols before first order_start.
4423 Allow ellipsis in state 0.
4425 2000-08-04 Ulrich Drepper <drepper@redhat.com>
4427 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
4429 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
4431 2000-08-04 Greg McGary <greg@mcgary.org>
4433 * posix/regex.c (SET_HIGH_BOUND): New macro.
4434 (MOVE_BUFFER_POINTER): Use it.
4435 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
4436 (EXTEND_BUFFER): Use it.
4438 2000-08-03 Ulrich Drepper <drepper@redhat.com>
4440 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
4441 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
4442 _wide_data but from _IO_FILE directly.
4443 * libio/iofclose.c: Likewise.
4444 * libio/wfileops.c: Likewise.
4446 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
4447 * libio/libioP.h: Change prototypes.
4449 2000-08-03 Greg McGary <greg@mcgary.org>
4451 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
4452 frame pointer early so that we save caller's frame pointer.
4453 * sysdeps/i386/elf/setjmp.S: Likewise.
4455 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
4456 * io/test-utime.c: Test passing NULL as utimbuf* arg.
4458 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
4459 (MOVE_BUFFER_POINTER): Handle high_bound properly.
4460 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
4462 2000-08-03 Ulrich Drepper <drepper@redhat.com>
4464 * iconvdata/big5.c: Updated.
4465 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
4467 2000-08-02 Ulrich Drepper <drepper@redhat.com>
4469 * Makeconfig (all-subdirs): Add conform.
4470 * conform/Makefile: Include ../Rules.
4472 * Makefile (README): Add rules to generate here as well.
4474 2000-08-02 Ulrich Drepper <drepper@redhat.com>
4476 * version.h (VERSION): Bump to 2.1.92.
4478 * sysdeps/ia64/Dist: Add _mcount.S.
4480 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
4482 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
4484 * elf/Makefile (distribute): Add missing modules.
4486 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
4488 * posix/regex.c (compile_range): Translate range start and end
4489 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
4491 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
4494 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
4496 2000-08-02 Andreas Jaeger <aj@suse.de>
4498 * elf/elf.h (EM_S390): Added.
4499 (R_390_*): New relocs for S390.
4501 * sysdeps/unix/sysv/linux/s390/Dist: New file.
4502 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
4503 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
4504 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
4505 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
4506 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4507 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
4508 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
4509 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
4510 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
4511 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
4512 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
4513 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
4514 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
4515 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
4516 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
4517 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
4518 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
4519 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
4520 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
4521 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
4522 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
4523 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
4524 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
4525 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
4526 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
4527 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
4528 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
4529 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
4530 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
4531 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
4532 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
4533 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
4534 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
4535 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
4536 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
4537 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
4538 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
4539 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
4540 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
4541 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
4542 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
4543 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
4544 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
4545 * sysdeps/s390/sysdep.h: New file.
4546 * sysdeps/s390/sys/ucontext.h: New file.
4547 * sysdeps/s390/sub_n.S: New file.
4548 * sysdeps/s390/strncpy.S: New file.
4549 * sysdeps/s390/strcpy.S: New file.
4550 * sysdeps/s390/stackinfo.h: New file.
4551 * sysdeps/s390/setjmp.S: New file.
4552 * sysdeps/s390/s390-mcount.S: New file.
4553 * sysdeps/s390/mul_1.S: New file.
4554 * sysdeps/s390/memusage.h: New file.
4555 * sysdeps/s390/memset.S: New file.
4556 * sysdeps/s390/memcpy.S: New file.
4557 * sysdeps/s390/memchr.S: New file.
4558 * sysdeps/s390/machine-gmon.h: New file.
4559 * sysdeps/s390/ldbl2mpn.c: New file.
4560 * sysdeps/s390/gmp-mparam.h: New file.
4561 * sysdeps/s390/fpu/fpu_control.h: New file.
4562 * sysdeps/s390/fpu/fesetround.c: New file.
4563 * sysdeps/s390/fpu/fegetround.c: New file.
4564 * sysdeps/s390/fpu/fclrexcpt.c: New file.
4565 * sysdeps/s390/fpu/bits/fenv.h: New file.
4566 * sysdeps/s390/ffs.c: New file.
4567 * sysdeps/s390/elf/start.S: New file.
4568 * sysdeps/s390/elf/setjmp.S: New file.
4569 * sysdeps/s390/elf/bsd-setjmp.S: New file.
4570 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
4571 * sysdeps/s390/dl-machine.h: New file.
4572 * sysdeps/s390/bzero.S: New file.
4573 * sysdeps/s390/bsd-setjmp.S: New file.
4574 * sysdeps/s390/bsd-_setjmp.S: New file.
4575 * sysdeps/s390/bits/string.h: New file.
4576 * sysdeps/s390/bits/setjmp.h: New file.
4577 * sysdeps/s390/bits/huge_val.h: New file.
4578 * sysdeps/s390/bits/endian.h: New file.
4579 * sysdeps/s390/bits/byteswap.h: New file.
4580 * sysdeps/s390/bcopy.S: New file.
4581 * sysdeps/s390/backtrace.c: New file.
4582 * sysdeps/s390/atomicity.h: New file.
4583 * sysdeps/s390/asm-syntax.h: New file.
4584 * sysdeps/s390/addmul_1.S: New file.
4585 * sysdeps/s390/add_n.S: New file.
4586 * sysdeps/s390/abort-instr.h: New file.
4587 * sysdeps/s390/__longjmp.c: New file.
4588 * sysdeps/s390/Makefile: New file.
4589 * sysdeps/s390/Implies: New file.
4590 * sysdeps/s390/Dist: New file.
4591 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
4593 2000-08-01 Ulrich Drepper <drepper@redhat.com>
4595 Remove incompatible IPv6 extension of RPC.
4596 * sunrpc/Makefile: Undo changes.
4597 * sunrpc/rpc_main.c: Likewise.
4598 * sunrpc/rpc/clnt.h: Likewise.
4599 * sunrpc/rpc/svc.h: Likewise.
4600 * sunrpc/bindrsvprt6.c: Removed.
4601 * sunrpc/clnt_tcp6.c: Removed.
4602 * sunrpc/clnt_udp6.c: Removed.
4603 * sunrpc/svc_tcp6.c: Removed.
4604 * sunrpc/svc_udp6.c: Removed.
4606 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
4607 dgettext, and dcgettetxt.
4609 * intl/locale.alias: Update japanese aliases.
4611 * sysdeps/ia64/bits/byteswap.h: New file.
4612 Patch by Dan Pop <Dan.Pop@cern.ch>.
4614 * misc/sys/cdefs.h: Define __attribute_format_arg__.
4615 * intl/libintl.h: Use it here instead of using __attribute__ directly.
4617 2000-07-13 H.J. Lu <hjl@gnu.org>
4619 * posix/regex.c (re_max_failures): Set to 4000.
4621 2000-08-01 Ulrich Drepper <drepper@redhat.com>
4623 * gnulib/Makefile (tests): Add tst-gcc.
4624 * gnulib/tst-gcc.c: New file.
4626 * assert/Makefile (routines): Add __assert.
4627 * assert/Versions: Export __assert for glibc 2.2.
4628 * assert/__assert.c: New file.
4629 * assert/assert.h: Declare __assert.
4631 2000-07-27 Bruno Haible <haible@clisp.cons.org>
4633 * locale/localeinfo.h (_ISCTYPE): New macro.
4634 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
4635 LC_CTYPE locale format.
4636 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
4637 (ctype_output): Output class_b[nr] right before class_3level[nr].
4638 (allocate_arrays): Fill class_b, similarly to class_3level.
4640 2000-08-01 Ulrich Drepper <drepper@redhat.com>
4641 Joseph S. Myers <jsm28@cam.ac.uk>
4643 * math/tgmath.h: Make standard compliant. Don't ask how.
4645 2000-07-04 H.J. Lu <hjl@gnu.org>
4647 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
4648 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
4649 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
4651 2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4653 * include/features.h (_XOPEN_SOURCE): Update the explanation.
4654 (__USE_LARGEFILE): Add an explanation.
4655 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
4656 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
4658 2000-08-01 Ulrich Drepper <drepper@redhat.com>
4660 * libio/Makefile: Enable exception handling for genops, wgenops,
4661 fileops, and wfileops.
4663 2000-07-29 Mark Kettenis <kettenis@gnu.org>
4665 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
4666 acount that elf/rtld's main program might remove some varibales
4667 from the environment if we're trying to be secure. Move the Hurd
4668 startup data if necessary, or, if we there is no startup data,
4669 make sure the magical convention that ARGV[0] is stored just after
4670 the environment list.
4672 2000-08-01 Philip Blundell <philb@gnu.org>
4674 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
4675 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
4676 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
4677 oldsetrlimit for GLIBC_2.0.
4679 2000-08-01 Andreas Jaeger <aj@suse.de>
4681 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
4682 (LINE_PARSER): Allow any number of spaces between ip address and
4683 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
4685 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
4687 * include/netdb.h: Remove getipnodebyaddr and friends, leave
4690 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
4691 _nss_nisplus_getipnodebyname_r.
4693 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
4694 now, getipnodebyname is deprecated.
4695 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
4698 * inet/Makefile (routines): Don't build getipnodebyaddr and
4701 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
4703 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
4705 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
4707 * wctype/Makefile (distribute): Add wchar-lookup.h.
4709 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
4711 * iconvdata/Makefile (distribute): Add isiri-3342.h.
4713 2000-08-01 Andreas Schwab <schwab@suse.de>
4715 * Make-dist (dist): Resolve `..' in file names.
4717 2000-08-01 Andreas Jaeger <aj@suse.de>
4719 * stdio-common/Makefile (distribute): Remove removed files, add
4722 * Makefile (distribute): Remove include/db_185.h and db.h.
4724 * include/db_185.h: Remove, it's not needed anymore.
4725 * include/db.h: Likewise.
4727 2000-07-31 Ulrich Drepper <drepper@redhat.com>
4729 * inet/Makefile (tests): Remove tst-ipnode.
4730 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
4733 2000-07-31 Jes Sorensen <jes@linuxcare.com>
4735 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
4736 endp statements have already been added.
4738 2000-04-18 David Mosberger <davidm@hpl.hp.com>
4740 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
4741 <sysdeps/ia64/sysdep.h>.
4743 * sysdeps/ia64/_mcount.S: New file.
4745 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
4746 __gmon_start__. Fix up extraneous whitespace.
4748 2000-01-12 H.J. Lu <hjl@gnu.org>
4750 * sysdeps/ia64/elf/initfini.c: New file.
4752 2000-07-31 Jes Sorensen <jes@linuxcare.com>
4754 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
4755 dependency between branch and ar.pfs write.
4757 2000-07-31 H.J. Lu <hjl@gnu.org>
4759 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
4760 handle the wchar_t array.
4762 2000-07-31 Ulrich Drepper <drepper@redhat.com>
4764 * iconvdata/gb18030.c: Don't map to and from positions in ISO
4765 10646 which are not yet assigned.
4766 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
4768 2000-07-31 Andreas Jaeger <aj@suse.de>
4770 * inet/Versions: Remove getipnodebyaddr and friends from
4773 * resolv/netdb.h: Remove getipnodebyaddr and friends.
4775 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4777 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
4778 ch >= 0x81 && ch2 < 0x40 as invalid.
4780 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4782 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
4783 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
4785 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4787 * iconvdata/johab.c (BODY for TO_LOOP): After calling
4788 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
4790 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4792 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
4794 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
4796 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4798 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
4800 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4802 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
4803 (from_ucs4): Change values of U+00A4 and U+00ED.
4804 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
4806 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4808 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
4809 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
4811 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4813 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
4814 * iconvdata/isiri-3342.h: New file.
4815 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
4816 treat 0x80 as a gap.
4818 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4820 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
4821 (utf8_encode): Use simple shifts instead. Fix return value.
4823 2000-07-31 Ulrich Drepper <drepper@redhat.com>
4825 * timezone/private.h: Update from tzcode2000e.
4826 * timezone/asia: Update from tzdata2000e.
4827 * timezone/australasia: Likewise.
4828 * timezone/europe: Likewise.
4829 * timezone/northamerica: Likewise.
4830 * timezone/zone-tab: Likewise.
4832 2000-07-30 Ralf Baechle <ralf@gnu.org>
4834 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
4835 the order of struct sigaltstack members is different.
4837 2000-07-26 Philip Blundell <philb@gnu.org>
4839 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
4841 2000-07-29 Ulrich Drepper <drepper@redhat.com>
4843 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
4844 * locale/programs/ld-ctype.c: Adjust for this.
4846 * locale/programs/ld-collate.c: Add more alignment checks.
4847 * locale/string/strcoll.c: Likewise.
4849 2000-07-30 Mark Kettenis <kettenis@gnu.org>
4851 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
4852 outside USE_IN_LIBIO block.
4854 2000-07-26 Philip Blundell <philb@gnu.org>
4856 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
4857 (elf_machine_rel): Use it for out-of-range PC24 relocs.
4859 2000-07-28 Philip Blundell <philb@gnu.org>
4861 * math/test-fpucw.c: Ignore reserved bits in control word.
4863 2000-07-28 Philip Blundell <philb@gnu.org>
4865 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
4866 (ret): Redefine to PSEUDO_RET.
4867 (PSEUDO): Remove jump to syscall_error.
4869 2000-07-29 Mark Kettenis <kettenis@gnu.org>
4871 * resolv/README: Add some information about using the resolver in
4872 multi-threaded code and with C++. Spelling fixes.
4874 2000-07-29 Mark Kettenis <kettenis@gnu.org>
4876 * resolv/resolv.h (struct __sockaddr_in): Remove.
4877 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
4879 2000-07-29 Greg McGary <greg@mcgary.org>
4881 * Rules (test-bp-inputs, make-test-out): New variables.
4882 ($(objpfx)%-bp.out): New rule.
4883 ($(objpfx)%.out): Rewrite in terms of new variables.
4885 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
4886 internal function that uses vtable.
4887 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
4888 * libio/vswprintf.c (_IO_vswprintf): Likewise.
4890 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
4891 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
4892 (chunk_align): Likewise.
4894 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
4895 in a way that conforms to decl, and avoids spurious bounds violation.
4897 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
4898 * sysdeps/generic/frame.h: Likewise.
4899 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
4900 around return value.
4901 (__backtrace): Qualify frame-pointer chain and return address
4902 pointers as __unbounded. Wrap bounds around variable `current'.
4903 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
4904 around return value.
4905 (catch_segfault): Qualify frame-pointer chain and return address
4906 pointers as __unbounded. Wrap bounds around variable `current'.
4907 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
4908 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
4909 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
4911 (__backtrace): Qualify frame-pointer chain and return address
4912 pointers as __unbounded. Wrap bounds around variable `current'.
4914 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
4915 * sysdeps/i386/mul_1.S: Likewise.
4916 * sysdeps/i386/submul_1.S: Likewise.
4917 * sysdeps/i386/i586/addmul_1.S: Likewise.
4918 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
4919 * sysdeps/i386/i586/submul_1.S: Likewise.
4921 2000-07-27 Andreas Jaeger <aj@suse.de>
4923 * libio/Depend: New file, libio needs localedata for tests.
4924 * posix/Depend: Likewise.
4926 2000-07-28 Ulrich Drepper <drepper@redhat.com>
4928 * stdio-common/_i18n_itoa.c: Removed.
4929 * stdio-common/_i18n_itoa.h: Removed.
4930 * stdio-common/_i18n_itowa.c: Removed.
4931 * stdio-common/_i18n_itowa.h: Removed.
4932 * stdio-common/_i18n_number.h: New file.
4933 * stdio-common/Depend: New file.
4934 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
4935 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
4936 printing. Change printing of numbers with locale specific digits to
4937 use new code in _i18n_number.h.
4938 * stdio-common/Makefile (routines): Remove _i18n_itoa and
4941 * stdio-common/bug13.c: Improve messages.
4943 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
4944 (set_class_defaults): Always search also for Uxxxx names.
4945 Detect insufficient number of outdigits.
4947 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
4949 2000-07-27 Bruno Haible <haible@clisp.cons.org>
4951 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
4952 _NL_CTYPE_MAP_NAMES.
4953 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
4954 * wctype/wcfuncs.c (towlower, towupper): Use them.
4955 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
4956 * wctype/wctrans.c (wctrans): Likewise.
4957 * wctype/wctrans_l.c (__wctrans_l): Likewise.
4959 2000-07-27 Bruno Haible <haible@clisp.cons.org>
4961 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
4962 Use the optimized version of this function outside glibc as well.
4964 2000-07-27 Jakub Jelinek <jakub@redhat.com>
4966 * locale/indigits.h (indigit_value): Correct.
4967 * locale/indigitswc.h (indigitwc_value): Correct.
4968 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
4969 conversion, add GROUP checking for it, fix GROUP number
4970 conversion with strlen(thousands) > 1.
4971 Honour width correctly in the presence of floating
4972 decimal points and thousands separators.
4973 * stdio-common/tst-sscanf.c: New test.
4974 * stdio-common/Makefile: Add it to tests.
4975 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
4976 thousands separators and group argument is non-zero.
4978 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4980 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
4981 starts at GLIBC_2.2.
4983 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4985 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
4986 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
4988 (headers): Add sys/tas.h.
4989 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
4990 GLIBC_2.2 from libc.
4991 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
4992 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
4995 2000-07-28 Andreas Jaeger <aj@suse.de>
4997 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
4999 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
5000 ($(objpfx)tst-dladdr.out): new.
5001 (tests): Add tst-dladdr.
5002 ($(objpfx)glrefmain): Use libdl.
5004 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
5007 2000-07-27 Jes Sorensen <jes@linuxcare.com>
5009 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
5010 ftruncate(64) calls.
5012 2000-07-27 Jes Sorensen <jes@linuxcare.com>
5014 * intl/tst-translit.c: Include string.h to get prototype for
5017 2000-07-27 Jes Sorensen <jes@linuxcare.com>
5019 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
5020 name and add weak alias for __fork.
5022 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
5023 & pwrite to use __libc_<name> as strong names instead of
5026 * include/sched.h: Add clone2 prototype.
5028 2000-07-26 Jes Sorensen <jes@linuxcare.com>
5030 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
5031 procedure name twice.
5033 2000-07-27 Philip Blundell <philb@gnu.org>
5035 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
5037 2000-07-27 Andreas Jaeger <aj@suse.de>
5039 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
5040 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
5041 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5042 Reported by Andi Kleen <ak@suse.de>.
5044 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
5045 (do_wait): Test requests with aio_return64.
5046 (do_test): Change callers of do_wait.
5048 2000-07-26 Andreas Jaeger <aj@suse.de>
5050 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
5051 (do_wait): Test requests with aio_return.
5052 (do_test): Change callers of do_wait.
5054 2000-07-27 Ulrich Drepper <drepper@redhat.com>
5056 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
5057 from request list. Don't do the list handling here, call
5058 __aio_remove_request.
5059 * rt/aio_misc.h: Add prototype for __aio_remove_request.
5060 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
5061 request might already be processed. Don't do the list handling
5062 here, call __aio_remove_request.
5064 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
5067 * rt/aio_misc.c: Add comment explaining why writer memory barriers
5070 2000-07-27 Greg McGary <greg@mcgary.org>
5072 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
5073 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
5074 in union init. Pass zero for ignored semnum arg to semctl.
5075 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
5077 2000-07-26 Greg McGary <greg@mcgary.org>
5079 * sysdeps/gnu/bits/msq.h: Qualify kernel's
5080 data structure pointers as __unbounded.
5081 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
5082 * sysdeps/generic/bp-semctl.h: New file.
5083 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
5084 pointers as __unbounded. Check bounds of syscall args.
5085 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
5086 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
5087 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5088 * sysdeps/unix/sysv/linux/semop.c: Likewise.
5089 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
5090 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5091 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
5092 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
5093 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
5094 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
5095 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
5096 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
5097 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
5098 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
5099 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
5100 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
5102 2000-07-26 Ulrich Drepper <drepper@redhat.com>
5104 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
5106 * locale/C-ctype.c: Likewise.
5107 * wcsmbs/wcsmbsload.c: Likewise.
5109 2000-07-26 Greg McGary <greg@mcgary.org>
5111 * Makeconfig (+link-bounded, link-libc-bounded,
5112 link-extra-libs-bounded): New variables.
5113 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
5114 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
5115 * Rules (tests-bp.out): New variable.
5116 (tests): Conditionally add BP tests.
5117 (binaries-bounded): Add variable and associated rule.
5118 * csu/Makefile [build-bounded] (extra-objs, install-lib):
5119 Move conditional stuff after place where condition is defined.
5121 * malloc/malloc.c (bp-checks.h): Add #include.
5122 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
5123 (_bin_at): Add unbounded version of bin_at.
5124 (IAV, chunk_alloc): Use unbounded _bin_at.
5125 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
5126 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
5127 Wrap BOUNDED_N around return value.
5128 (chunk_realloc): Adjust oldsize once.
5130 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
5131 (__ubp_memchr): Add correct decl.
5132 (_CHECK_STRING): Use __ubp_memchr.
5133 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
5134 New alias for unbounded-pointer __memchr.
5135 * sysdeps/i386/memchr.S: Likewise.
5136 * sysdeps/ia64/memchr.S: Likewise.
5137 * sysdeps/m68k/memchr.S: Likewise.
5138 * sysdeps/sparc/sparc32/memchr.S: Likewise.
5139 * sysdeps/sparc/sparc64/memchr.S: Likewise.
5140 * sysdeps/vax/memchr.s: Likewise.
5142 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
5143 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
5144 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
5145 * sysdeps/i386/i686/strtok.S: Likewise.
5146 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
5147 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
5149 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
5150 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
5152 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
5153 bounds of copy_result to mount_proc.
5155 2000-07-25 Bruno Haible <haible@clisp.cons.org>
5157 * wctype/wctype.h (__wctrans_l): New declaration.
5158 * wctype/wctrans_l.c: New file.
5159 * wctype/Makefile (routines): Add wctrans_l.
5161 2000-07-26 Ulrich Drepper <drepper@redhat.com>
5163 * posix/fnmatch_loop.c: Fixes for use outside glibc.
5164 Patch by MacGyver <macgyver@tos.net>.
5166 2000-07-26 Andreas Jaeger <aj@suse.de>
5168 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
5169 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
5170 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
5172 * rt/tst-aio.c (test_file): Fix typo.
5173 * rt/tst-aio64.c (test_file): Likewise.
5175 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
5176 * rt/Makefile: Add rules to build and run tst-aio3.
5178 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
5179 it's not needed and confuses only.
5181 2000-07-26 Ulrich Drepper <drepper@redhat.com>
5183 * resolv/res_init.c: Add support for nameserver communication with
5185 * resolv/res_send.c: Likewise.
5186 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
5188 Patch by <venaas@nvg.ntnu.no>.
5190 2000-07-25 Bruno Haible <haible@clisp.cons.org>
5192 * locale/programs/ld-ctype.c (wctype_table_get): New function.
5193 (wcwidth_table_get): New function.
5194 (wcwidth_table_add): Call it.
5195 (wctrans_table_get): New function.
5196 (wctrans_table_add): Call it.
5198 2000-07-25 Ulrich Drepper <drepper@redhat.com>
5200 * rt/lio_listio.c (lio_listio): Always disable individual
5202 * rt/Makefile: Add rules to build and run tst-aio2.
5203 * rt/tst-aio2.c: New file.
5205 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
5206 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
5208 2000-07-25 Mark Kettenis <kettenis@gnu.org>
5210 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
5211 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
5212 leading and trailing spaces from host, user and domain name.
5214 2000-07-25 Jes Sorensen <jes@linuxcare.com>
5216 * csu/defs.awk: Add support for need_endp.
5218 2000-07-25 Mark Kettenis <kettenis@gnu.org>
5220 * resolv/resolv.h: Remove __P from res_send_qhook and
5221 res_send_rhook typedefs.
5223 2000-07-25 Bruno Haible <haible@clisp.cons.org>
5225 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
5227 2000-07-25 Ulrich Drepper <drepper@redhat.com>
5229 * iconv/gconv_builtin.h: Add WCHAR_T alias.
5231 2000-07-25 Mark Kettenis <kettenis@gnu.org>
5233 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
5234 calling thread, set the cancellation flag and return success
5237 2000-07-25 Ulrich Drepper <drepper@redhat.com>
5239 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
5240 * libio/tst-widetext.c: New file.
5241 * libio/tst-widetext.input: New file.
5243 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
5245 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
5246 empty external buffer correctly.
5248 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5250 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
5251 __STRING(entry) and not #entry.
5252 (_RTLD_EPILOGUE): Likewise.
5253 * sysdeps/mips/mips64/dl-machine.h: Likewise.
5255 2000-07-25 Andreas Jaeger <aj@suse.de>
5257 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
5258 according to changes in test program, run also with static only
5260 ($(objpfx)tst-printf.out): Likewise.
5262 * stdio-common/tst-unbputc.sh: Likewise.
5263 * stdio-common/tst-printf.sh: Likewise.
5265 2000-07-25 Ulrich Drepper <drepper@redhat.com>
5267 * libio/wfileops.c (_IO_wdo_write): Correct return value.
5269 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
5272 * libio/fileops.c: Pretty print.
5274 2000-07-23 Bruno Haible <haible@clisp.cons.org>
5276 * wctype/wchar-lookup.h: New file.
5277 * wctype/iswctype.c: Include "wchar-lookup.h".
5278 (__iswctype): Support alternate locale format with 3-level tables.
5279 * wctype/iswctype_l.c (__iswctype_l): Likewise.
5280 * wctype/towctrans.c (__towctrans): Likewise.
5281 * wctype/towctrans_l.c (__towctrans_l): Likewise.
5282 * wctype/wcfuncs.c: Include "wchar-lookup.h".
5283 (__ctype32_wctype, __ctype32_wctrans): Declare external.
5284 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
5285 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
5286 __iswxdigit, towlower, towupper): Support alternate locale format
5287 with 3-level tables.
5288 * wctype/wcextra.c (iswblank): Likewise.
5289 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
5290 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
5291 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
5292 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
5293 format with 3-level tables.
5294 * wctype/wcextra_l.c (__iswblank_l): Likewise.
5295 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
5296 format, return a 3-level table pointer.
5297 * wctype/wctype_l.c (__wctype_l): Likewise.
5298 * wctype/wctrans.c (wctrans): Likewise.
5299 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
5300 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
5301 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
5302 (iswctype): Remove macro definition.
5303 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
5304 (internal_wcwidth): Support alternate locale format with 3-level
5306 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
5308 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
5309 Define them as being type "word".
5310 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
5311 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
5312 __ctype32_width): New exported variables.
5313 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
5314 alternate locale format. Don't initialize __ctype_names and
5315 __ctype_width in the alternate locale format.
5316 * locale/programs/localedef.h (oldstyle_tables): New declaration.
5317 * locale/programs/localedef.c (oldstyle_tables): New variable.
5318 (OPT_OLDSTYLE): New macro.
5319 (options): Add --old-style option.
5320 (parse_opt): Handle --old-style option.
5321 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
5322 map_offset, class_3level, map_3level, width_3level members.
5323 (ctype_output): Support for alternate locale format: Computation of
5324 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
5325 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
5326 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
5327 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
5328 now contain both class and map tables.
5329 (struct wctype_table): New type.
5330 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
5332 (struct wcwidth_table): New type.
5333 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
5335 (struct wctrans_table): New type.
5336 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
5338 (allocate_arrays): Support for alternate locale format: Set
5339 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
5340 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
5341 to the first 256 characters. Compute ctype->map_3level. Set
5342 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
5343 instead of ctype->width.
5345 2000-07-24 Ulrich Drepper <drepper@redhat.com>
5347 * libio/iogetwline.c (_IO_getwline_info): Use wide character
5350 2000-07-24 Jakub Jelinek <jakub@redhat.com>
5352 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
5353 in wide characters, not bytes.
5354 * libio/tst_putwc.c (do_test): Add test for writing lots of data
5357 2000-07-22 Bruno Haible <haible@clisp.cons.org>
5359 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
5360 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
5361 LC_MEASUREMENT, LC_IDENTIFICATION.
5363 * locale/xlocale.h (struct __locale_struct): Increase size of
5365 * locale/duplocale.c (__duplocale): Copy newly added categories as
5367 * locale/freelocale.c (__freelocale): Free newly added categories.
5368 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
5369 If a base is given, use it, don't simply return it.
5371 2000-07-22 Bruno Haible <haible@clisp.cons.org>
5373 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
5374 variables, copied_key and copied_salt, instead of boolean variables.
5376 2000-07-24 Andreas Jaeger <aj@suse.de>
5378 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
5381 * grp/initgroups.c (initgroups_dyn_function): Renamed from
5382 initgroups_function, adopted prototype for change from 2000-07-23.
5383 (initgroups): Follow type change.
5385 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
5386 & PAGE_MASK case, reformat.
5388 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
5389 from stdin and setup environment.
5391 2000-07-24 Andreas Schwab <schwab@suse.de>
5393 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
5395 2000-07-23 Ulrich Drepper <drepper@redhat.com>
5397 * string/endian.h: Explain the _*_ENDIAN constant values a bit
5398 more. Patch by scarlet@mit.edu [PR libc/1799].
5400 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
5403 * argp/argp-parse.c (parser_finalize): Reverse order in which
5404 parsers are run for ARGP_KEY_END. [PR libc/1755].
5406 * grp/initgroups.c (initgroups): Don't limit the possible number
5407 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
5408 the setgroups call while the call fails and descrease the number
5409 of groups each round.
5410 The name of the initgroups function in the NSS modules changed.
5411 (compat_call): Adapt for dynamic resizing.
5412 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5413 Implement dynamic resizing.
5414 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
5416 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
5417 * hesiod/Versions: Change exported interface name.
5418 * nis/Versions: Change exported interface name.
5420 2000-07-23 Ulrich Drepper <drepper@redhat.com>
5422 * locale/iso-639.def: Some errors corrected.
5423 Patch by Keld Simonsen.
5425 * include/limits.h: Update non-gcc portion.
5426 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
5428 2000-07-22 Mark Kettenis <kettenis@gnu.org>
5430 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
5431 program's data space, reallocate only the space that was just
5432 deallocated to release its backing space.
5434 2000-07-23 Ulrich Drepper <drepper@redhat.com>
5436 * stdio-common/vfprintf.c (process_string_arg): For wide character
5437 version, handle precision also correctly.
5439 * nss/nss_files/files-hosts.c: Correct problem with three or more
5440 entries with the same name.
5442 * nss/nss_files/files-hosts.c: Implement multi handling.
5443 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
5445 2000-07-22 Ulrich Drepper <drepper@redhat.com>
5447 * nss/nss_files/files-parse.c: Don't pollute namespace by using
5450 * grp/Makefile: Change Makefiles and tests to run only when necessary.
5451 * malloc/Makefile: Likewise.
5452 * malloc/tst-mtrace.sh: Likewise.
5453 * posix/Makefile: Likewise.
5454 * posix/globtest.sh: Likewise.
5455 * posix/wordexp-tst.sh: Likewise.
5456 * string/Makefile: Likewise.
5458 2000-07-22 Mark Kettenis <kettenis@gnu.org>
5460 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
5461 size instead of LC_ALL to take into account the new locale
5464 2000-07-22 Ulrich Drepper <drepper@redhat.com>
5466 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
5467 remainders of hash table.
5468 * locale/categories.def: Remove remainders of transliteration
5470 * locale/langinfo.h: Likewise.
5471 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
5472 transliteration tables.
5474 * locale/gen-translit.pl: New file.
5475 * locale/C-translit.h.in: New file.
5476 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
5477 data pointers with data from this file.
5478 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
5479 and gen-translit.pl.
5480 Add rule to generate C-translit.h.
5481 * intl/tst-translit.c (main): Update for now performed
5484 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
5485 (it's no input error).
5486 * stdio-common/tstscanf.c: Add test case for format %f with input --.
5487 * stdio-common/scanf12.c: Correct expected result for first scanf.
5489 * stdio-common/vfprintf.c (process_string_arg): Correct handling
5490 of multibyte character strings in %s format with precision.
5492 2000-07-21 Ulrich Drepper <drepper@redhat.com>
5494 * locale/programs/ld-collate.c (collate_read): Allow collating
5495 symbols and elements be named in reorder-after instructions.
5496 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
5498 * locale/programs/ld-collate.c (handle_ellipsis): Test for
5499 duplication with generated name, not the name of the first
5501 Patch by Yong Li <yong.li@asu.edu>.
5503 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
5504 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
5506 2000-07-21 Wolfram Gloger <wg@malloc.de>
5508 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
5509 allocations only if a non-main arena cannot be extended.
5511 2000-07-21 Ulrich Drepper <drepper@redhat.com>
5513 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
5514 in DF_1_NODEFLIB handling.
5516 2000-07-21 Andreas Jaeger <aj@suse.de>
5518 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
5521 * libio/fwide.c: Include <wchar.h> for prototype.
5523 2000-07-21 Greg McGary <greg@mcgary.org>
5525 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
5526 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
5527 Define in terms of chunk_at_offset.
5528 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
5529 (next_bin, prev_bin): offset by size of real array elements.
5530 (chunk_align): Make `m' a scalar, since that's how it's used.
5532 2000-07-21 Greg McGary <greg@mcgary.org>
5534 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
5536 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
5537 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
5538 Wrap bounds around argv & envp and each of their string members.
5539 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
5540 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
5541 symbol in BP_SYM (). Discard bounds of address arg.
5542 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
5543 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
5544 Discard bounds on address arg, add bounds to return value.
5546 2000-07-20 Ulrich Drepper <drepper@redhat.com>
5548 * elf/Makefile (tests): Add filter. Add rules to generate filter.
5549 * elf/filter.c: New file.
5550 * elf/filtmod1.c: New file.
5551 * elf/filtmod2.c: New file.
5553 * elf/rtld.c: Define _dl_bind_not variable.
5554 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
5555 * elf/dl-support.c: Likewise.
5556 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
5557 * elf/dl-runtime.c (fixup): Don't remember looked up value if
5559 (profile_fixup): Likewise.
5561 * libio/Makefile (routines): Add fwide.
5562 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
5563 fwide now. Internal calls to _IO_fwide must do locking themselves
5564 or don't need locking.
5565 * libio/fwide.c: New file.
5567 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
5569 * elf/Makefile: Add no modules for nodelete test.
5570 * elf/nodelmod3.c: New file.
5571 * elf/nodelmod4.c: New file.
5572 * elf/nodelete.c: Also test case where dependency of dlopen() object
5575 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
5576 * elf/nodlopen.c: New file.
5577 * elf/nodlopenmod.c: New file.
5578 * include/dlfcn.h: Define __RTLD_DLOPEN.
5579 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
5580 and this is a dlopen() call, do not load the binary.
5581 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
5582 * dlfcn/dlopenold.c: Likewise.
5583 * configure.in: Add test for -z nodelete option.
5584 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
5586 2000-07-20 Mark Kettenis <kettenis@gnu.org>
5588 Make Hesiod NSS module thread-safe.
5590 * hesiod/README.hesiod: Update.
5592 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
5593 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
5594 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
5595 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
5597 * hesiod/nss_hesiod/hesiod-init.c: New file.
5598 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
5599 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
5600 * hesiod/nss_hesiod/nss_hesiod.h: New file.
5601 * hesiod/nss_hesiod/hesiod-service.c
5602 (_nss_hesiod_getservbyport_r): New function. Provide support for
5603 looking up services by port number.
5604 * hesiod/nss_hesiod/hesiod-proto.c: New file.
5606 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
5607 * hesiod/hesiod.h: Likewise.
5608 * hesiod/hesiod_p.h: Likewise.
5610 2000-07-20 Mark Kettenis <kettenis@gnu.org>
5612 Fix problems with `struct __res_state' getting too big.
5613 * resolv/resolv.h (struct __sockaddr_in): New definition.
5614 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
5615 the private parts of the structure to save some space.
5616 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
5617 (struct sockaddr_in *) in call to sock_eq.
5618 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
5620 2000-07-20 Ulrich Drepper <drepper@redhat.com>
5622 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
5623 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
5625 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
5626 to _dl_map_object. Return immediately if no object loaded.
5627 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
5628 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
5629 if it exists into l_flags_1 word.
5630 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
5631 it to determine whether loading is wanted or not.
5632 (_dl_map_object): Likewise.
5633 Call _dl_map_object_from_fd with new parameter.
5634 * sysdeps/generic/ldsodefs.h: Update prototype.
5635 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
5636 * elf/rtld.c: Likewise.
5637 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5638 * elf/Makefile (tests): Add noload. Add rules to generate noload.
5639 * elf/noload.c: New file.
5640 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
5641 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
5642 * sysdeps/mips/bits/dlfcn.h: Likewise.
5643 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
5644 (tests-nodelete-yes): Define.
5645 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
5646 Add rules to build nodelete and modules.
5647 * elf/nodelete.c: New file.
5648 * elf/nodelmod1.c: New file.
5649 * elf/nodelmod2.c: New file.
5650 * configure.in: Add test for -z nodelete option.
5651 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
5653 * libio/Makefile (tests): Add tst_wprintf2.
5654 (tst_wprintf2-ARGS): Define.
5655 * libio/tst_wprintf2.c: New file.
5656 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
5658 * libio/wfiledoalloc.c: Only allocate external buffer if this
5659 hasn't happened yet.
5661 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
5662 something in the buffer. gconv call can write up to end of the
5663 buffer, not only _IO_write_end.
5664 (_IO_wfile_overflow): Allocate also external buffer.
5666 2000-07-19 Ulrich Drepper <drepper@redhat.com>
5668 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
5669 strings with precision in vfwprintf correctly.
5670 * stdio-common/vfprintf.c: Fix completely broken handling of
5671 unbuffered wide character streams.
5672 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
5674 * resolv/Makefile (distribute): Add README.
5676 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
5678 2000-07-18 Mark Kettenis <kettenis@gnu.org>
5680 Update resolver code to BIND 8.2.3-T5B.
5682 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
5684 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
5685 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
5687 * resolv/Banner: BIND-8.2.3-T5B.
5689 * resolv/base64.c: Update from BIND 8.2.3-T5B.
5690 * resolv/herror.c: Likewise.
5691 * resolv/inet_addr.c: Likewise.
5692 * resolv/inet_net_ntop.c: Likewise.
5693 * resolv/inet_net_pton.c: Likewise.
5694 * resolv/inet_neta.c: Likewise.
5695 * resolv/inet_ntop.c: Likewise.
5696 * resolv/nsap_addr.c: Likewise.
5697 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
5698 IPv6 addresses (ISC bug #520).
5700 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
5701 * resolv/ns_parse.c: Likewise.
5702 * resolv/ns_netint.c: Likewise.
5703 * resolv/ns_samedomain.c: Likewise.
5704 * resolv/ns_ttl.c: Likewise.
5705 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
5706 RCS ID in object file.
5708 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
5709 * resolv/res_mkquery.c: Likewise.
5710 * resolv/res_query.c: Likewise.
5711 * resolv/res_init.c: Likewise.
5712 (res_setoptions): Mark internal.
5713 * resolv/res_send.c: Likewise.
5714 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
5715 by using poll instead.
5716 * resolv/res_comp.c: Likewise.
5717 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
5718 weak alias for __dn_expand.
5719 * resolv/res_data.c: Likewise.
5720 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
5721 in _res.options. Avoids a potential security risk by avoiding a
5723 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
5724 res_mkquery, res_query, res_querydomain adn res_search weak
5725 aliases for __res_mkquery, __res_query, __res_querydomain and
5727 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
5728 instead to avoid close(0).
5729 (res_init): Always use the static resolver context.
5730 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
5731 alias for __res_init.
5733 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
5734 RES_SET_H_ERRNO and accompanying comment to...
5735 * include/resolv.h: ... here.
5737 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
5738 * resolv/arpa/nameser_compat.h: Likewise.
5740 2000-07-18 Ulrich Drepper <drepper@redhat.com>
5742 * nss/makedb.c (main): Compare result of load_db with
5743 NSS_STATUS_SUCCESS and not 0.
5744 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
5746 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
5748 2000-07-18 Greg McGary <greg@mcgary.org>
5750 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
5751 (EXTEND_BUFFER): Use it.
5753 2000-07-18 Ulrich Drepper <drepper@redhat.com>
5755 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
5756 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
5757 __builtin_return_address.
5758 * dlfcn/dlopenold.c: Likewise.
5759 * dlfcn/dlsym.c: Likewise.
5760 * dlfcn/dlvsym.c: Likewise.
5761 * elf/dl-profstub.c: Likewise.
5762 * malloc/malloc.c: Likewise.
5763 * sysdeps/generic/machine-gmon.h: Likewise.
5764 Based on a patch by schwidefsky@de.ibm.com.
5766 2000-07-18 Andreas Jaeger <aj@suse.de>
5768 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
5769 NULL to elf_machine_fixup_plt t argument to silence GCC.
5771 * include/string.h: Add prototype for __memchr.
5773 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
5775 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
5778 2000-07-18 Ulrich Drepper <drepper@redhat.com>
5780 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
5782 * locale/C-ctype.c: Add initializers for gap elements.
5783 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
5786 2000-07-16 Ulrich Drepper <drepper@redhat.com>
5788 * nscd/nscd.c (print_version): Update copyright year.
5790 2000-07-17 Greg McGary <greg@mcgary.org>
5792 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
5793 keyletters F, I, S, W. Remove unused keyletter V. Surround
5794 signature argnames with angle-brackets for use as word delimiters,
5795 and to induce syntax errors for any args not handled. Split
5796 multi-echo echoes and comment each stage.
5797 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
5798 * sysdeps/unix/inet/syscalls.list: Likewise.
5799 * sysdeps/unix/mman/syscalls.list: Likewise.
5800 * sysdeps/unix/syscalls.list: Likewise.
5801 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5802 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5803 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5804 * sysdeps/unix/sysv/syscalls.list: Likewise.
5805 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
5807 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
5808 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
5809 qualifiers. Don't check NULL-terminator of argv & envp.
5810 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
5811 unbounded pointer type in word-size assertion.
5812 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
5813 cases to stifle warnings.
5815 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
5817 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5819 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
5820 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
5823 * Makerules (o-objects): Supplement with $(o-objects$o).
5824 * string/Makefile (o-objects.ob): Add variable to pull
5825 unbounded versions of memcpy, memset and memchr into libc_b.
5827 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
5828 rather than non-existent __ubp_memchr.
5829 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
5830 (_CHECK_STRING, _CHECK_N): New macros.
5831 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
5832 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
5833 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
5834 Add weak alias "memchr".
5835 * sysdeps/generic/memchr.c: Likewise.
5836 * sysdeps/i386/memchr.S: Likewise.
5837 * sysdeps/ia64/memchr.S: Likewise.
5838 * sysdeps/m68k/memchr.S: Likewise.
5839 * sysdeps/sparc/sparc32/memchr.S: Likewise.
5840 * sysdeps/sparc/sparc64/memchr.S: Likewise.
5841 * sysdeps/vax/memchr.s: Likewise.
5843 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
5845 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
5846 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
5847 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
5848 __BOUNDED_POINTERS__.
5849 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
5850 for __BOUNDED_POINTERS__.
5852 2000-07-17 Bruno Haible <haible@clisp.cons.org>
5854 * iconv/gconv_open.c (__gconv_open): Initialize the __data
5855 field of struct __gconv_trans_data differently. Don't pass NULL to
5856 trans_init_fct. Simplify list append operation.
5858 2000-07-14 Bruno Haible <haible@clisp.cons.org>
5860 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
5861 not only those having tsearch.
5863 2000-07-17 Ulrich Drepper <drepper@redhat.com>
5865 * locale/langinfo.h: Add placeholder values in enum for removed
5868 2000-07-17 Jakub Jelinek <jakub@redhat.com>
5870 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
5871 chain if the PHDR check fails.
5873 2000-07-17 Mark Kettenis <kettenis@gnu.org>
5875 * nss/getent.c (print_hosts): Make sure we always print a space
5876 between numeric addresses and hostnames.
5878 2000-07-17 Wolfram Gloger <wg@malloc.de>
5880 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
5881 i.e. if n_mmaps_max>0.
5883 2000-07-16 Mark Kettenis <kettenis@gnu.org>
5885 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
5886 values to remove possible clash with other AI_* constants.
5887 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
5888 hexadecimal constants to stress the fact they're in fact
5891 2000-07-15 Mark Kettenis <kettenis@gnu.org>
5893 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
5894 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
5895 instead of res_init.
5897 2000-07-16 Ulrich Drepper <drepper@redhat.com>
5899 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
5900 parameters of memset calls to avoid warnings.
5902 2000-07-15 Ulrich Drepper <drepper@redhat.com>
5904 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
5907 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
5908 Patch by Greg McGary <greg@mcgary.org>.
5910 * io/Makefile (tests): Add tst-getcwd.
5911 * io/tst-getcwd.c: New file.
5913 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
5915 2000-07-15 Jakub Jelinek <jakub@redhat.com>
5917 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
5920 2000-07-13 Jakub Jelinek <jakub@redhat.com>
5922 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
5923 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
5925 2000-07-12 H.J. Lu <hjl@gnu.org>
5927 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
5929 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
5930 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
5931 (sysdep-routines): Add clone2.
5932 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
5934 2000-07-13 Jes Sorensen <jes@linuxcare.com>
5936 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
5937 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
5939 2000-06-05 David Mosberger <davidm@hpl.hp.com>
5941 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
5942 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
5943 Change type of si_band from "int" to "long".
5944 (si_imm) [USE_GNU]: Define
5945 (si_isr) [USE_GNU]: Likewise.
5946 (ILL_BREAK) [USE_GNU]: Likewise.
5947 (FPE_DECOVF) [USE_GNU]: Likewise.
5948 (FPE_DECDIV) [USE_GNU]: Likewise.
5949 (FPE_DECERR) [USE_GNU]: Likewise.
5950 (FPE_INVASC) [USE_GNU]: Likewise.
5951 (FPE_INVDEC) [USE_GNU]: Likewise.
5952 (TRAP_BRANCH) [USE_GNU]: Likewise.
5953 (TRAP_HWBKPT) [USE_GNU]: Likewise.
5955 2000-07-06 Jes Sorensen <jes@linuxcare.com>
5957 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
5958 bits/sigcontext as struct mcontext does not depend on it.
5960 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
5962 2000-07-04 Jes Sorensen <jes@linuxcare.com>
5964 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
5966 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
5968 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
5970 2000-06-22 Jes Sorensen <jes@linuxcare.com>
5972 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
5974 2000-07-15 Ulrich Drepper <drepper@redhat.com>
5976 * intl/Makefile (test-srcs): Add tst-translit.
5978 Add rules to build and run tst-translit.
5979 * intl/tst-translit.c: New file.
5980 * intl/tst-translit.sh: New file.
5981 * intl/translit.po: New file.
5983 2000-07-14 Ulrich Drepper <drepper@redhat.com>
5985 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
5986 transliteration function did its job, continue, don't stop.
5988 * iconvdata/iso646.c: Little optimizations in body for conversion
5991 2000-07-14 Mark Kettenis <kettenis@gnu.org>
5993 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
5995 2000-07-14 Mark Kettenis <kettenis@gnu.org>
5997 * configure.in: Check for pwd binary.
5998 * config.make.in: Add PWD_P to be subsituted.
5999 * Makerules: Use $(PWD_P) instead of /bin/pwd.
6001 2000-07-14 Ulrich Drepper <drepper@redhat.com>
6003 * iconvdata/Makefile (modules): Add GB18030.
6004 (distribute): Add gb18030.c.
6005 * iconvdata/gconv-modules: Add entries for GB18030 module.
6006 * iconvdata/gb18030.c: New file.
6007 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
6010 2000-07-13 Andreas Jaeger <aj@suse.de>
6012 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
6015 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
6016 * inet/getnetgrent.c (free_mem): Likewise.
6017 * misc/mntent.c (free_mem): Likewise.
6018 * nss/getXXbyYY.c (free_mem): Likewise.
6019 * nss/getXXent.c (free_mem): Likewise.
6020 * pwd/fgetpwent.c (free_mem): Likewise.
6021 * shadow/fgetspent.c (free_mem): Likewise.
6023 2000-07-14 Ulrich Drepper <drepper@redhat.com>
6025 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
6026 64-bit architecture correctly [PR libc/1794].
6028 2000-07-13 Ulrich Drepper <drepper@redhat.com>
6030 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
6031 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
6032 report that we are out of memory.
6033 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6034 * elf/dl-libc.c (dlerror_run): Likewise.
6035 * elf/dl-open.c (_dl_open): Likewise.
6036 * elf/rtld.c (dl_main): Likewise.
6037 * elf/dl-error.c: Define _dl_out_of_memory.
6038 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
6040 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
6043 * dlfcn/dlerror.c (free_key_mem): Also free error string.
6045 * iconv/loop.c: Fix comment.
6047 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
6049 2000-07-13 Andreas Jaeger <aj@suse.de>
6051 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
6052 getcwd (NULL, size) with size > 0.
6053 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
6055 2000-07-13 Andreas Jaeger <aj@suse.de>
6057 * posix/Makefile: Remove build rules for libposix.
6059 2000-07-13 Andreas Schwab <schwab@suse.de>
6061 * sysdeps/generic/glob.c (glob): Fix memory leak.
6062 [SHELL]: Remove reference to undefined variable `files'.
6065 2000-07-13 Andreas Jaeger <aj@suse.de>
6067 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
6070 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
6071 memory if it was allocated.
6073 2000-07-12 Ulrich Drepper <drepper@redhat.com>
6075 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
6078 * iconv/gconv_open.c (__gconv_open): Reapply
6079 2000-07-12 Bruno Haible <haible@clisp.cons.org>
6081 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
6083 * iconv/gconv_open.c: Undo last two changes for now. They break
6086 2000-07-12 Andreas Jaeger <aj@suse.de>
6088 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
6090 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
6091 (CFLAGS-dl-cache.c): Likewise.
6092 (CFLAGS-ldconfig.c): Added, passes directory locations.
6094 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
6096 * elf/ldconfig.c (LD_SO_CONF): Likewise.
6097 (main): Use configured LIBDIR and SLIBDIR.
6099 2000-07-11 Jakub Jelinek <jakub@redhat.com>
6101 * math/bits/cmathcalls.h (cimag): Add __THROW.
6102 (creal, conj): Likewise.
6103 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
6106 2000-07-12 H.J. Lu <hjl@gnu.org>
6108 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
6109 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
6111 2000-07-12 Ulrich Drepper <drepper@redhat.com>
6113 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
6116 2000-07-12 Bruno Haible <haible@clisp.cons.org>
6118 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
6120 2000-07-12 Bruno Haible <haible@clisp.cons.org>
6122 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
6125 2000-07-12 Bruno Haible <haible@clisp.cons.org>
6127 * iconv/gconv_open.c (__gconv_open): Initialize
6128 result->__steps[cnt].__data.
6130 2000-07-12 Mark Kettenis <kettenis@gnu.org>
6132 * nss/getent.c (services_keys): Pass port number in network byte
6133 order in call to getservbyport.
6135 2000-07-11 Andreas Jaeger <aj@suse.de>
6137 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
6139 * intl/Makefile (do-gettext-test): Likewise.
6140 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
6142 2000-07-11 Andreas Schwab <schwab@suse.de>
6144 * Makeconfig (run-program-prefix): New rule.
6145 (built-program-cmd): Use run-program-prefix.
6147 2000-07-12 Ulrich Drepper <drepper@redhat.com>
6149 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
6150 and NOEXPR unconditionally available.
6152 2000-07-12 Greg McGary <greg@mcgary.org>
6154 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
6155 * sysdeps/posix/open64.c: Likewise.
6156 * sysdeps/generic/fegetenv.c: Likewise.
6157 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
6158 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6159 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6160 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
6161 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
6162 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
6164 2000-07-11 Greg McGary <greg@mcgary.org>
6166 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
6167 Add extra level of macro expansion.
6168 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
6169 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
6170 is available at the time `select' prototype is declared.
6171 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
6172 Collect non-versioned weak aliases. Consider only non-versioned
6173 aliases for the user-visible systemcall name. Do checks inline with
6174 call to primitive system call.
6175 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
6176 stand-alone bounds checks to suppress unused value warnings.
6177 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6179 2000-07-10 Mark Kettenis <kettenis@gnu.org>
6181 * sysdeps/mach/hurd/check_fds.c: New file. Implements
6182 file descriptor checking in SUID programs for the Hurd.
6184 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
6185 res_hostalias instead of __hostalias for thread-safety.
6187 2000-07-09 Mark Kettenis <kettenis@gnu.org>
6189 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
6190 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
6192 2000-07-10 Ulrich Drepper <drepper@redhat.com>
6194 * include/features.h: Include ISO C99 features if the compiler used
6195 is an ISO C99 compiler.
6196 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
6198 2000-07-08 Mark Kettenis <kettenis@gnu.org>
6200 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
6202 2000-07-10 Andreas Jaeger <aj@suse.de>
6204 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
6205 it's overridden by libpthreads.
6206 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6207 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6208 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6209 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6210 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6212 * malloc/Makefile: Run tst-mtrace only with shared libs.
6214 * stdio-common/Makefile: Run unbputc and tst-printf tests only
6217 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
6219 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
6220 that gpreg really points to the GOT section of the calling object.
6221 Scan all PT_LOAD segments of objects for stub_pc, instead of only
6222 checking a start address of first one.
6224 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
6227 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
6229 2000-07-10 Andreas Jaeger <aj@suse.de>
6231 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
6232 (string_alias->strong_alias).
6234 2000-07-08 Mark Kettenis <kettenis@gnu.org>
6236 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
6238 2000-07-07 Greg McGary <greg@mcgary.org>
6240 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
6241 have no names without leading underscores.
6243 2000-07-07 Ulrich Drepper <drepper@redhat.com>
6245 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
6248 * stdio-common/Makefile (tests): Remove tst-printf here...
6249 (tests-srcs): ...and add it here.
6250 (distribute): Add tst-unbputc.sh and tst-printf.sh.
6251 Add rules to run tst-printf.sh.
6252 * stdio-common/tst-printf.c: Move code around so that there is really
6253 no further output where it's stated.
6254 * stdio-common/tst-printf.sh: New file.
6256 2000-07-07 Mark Kettenis <kettenis@gnu.org>
6258 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
6259 (do_write): Renamed from pwrite.
6260 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
6261 `struct _IO_cookie_file'.
6263 2000-07-07 Ulrich Drepper <drepper@redhat.com>
6265 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
6267 * malloc/tst-mtrace.sh: Run mtrace script.
6269 2000-07-07 Greg McGary <greg@mcgary.org>
6271 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
6272 Move all three components of a bounded pointer.
6274 2000-07-07 Ulrich Drepper <drepper@redhat.com>
6276 * locale/programs/locale.c (write_locales): Don't simply add all
6277 directories found in the subdir, test whether at least the
6278 LC_CTYPE file is in there.
6280 2000-07-06 Ulrich Drepper <drepper@redhat.com>
6282 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
6283 * iconvdata/euc-kr.c: Likewise.
6285 * stdio-common/vfprintf.c (process_string_arg): Check result of
6286 wcrtomb call and bail out if it failed.
6288 * malloc/Makefile (test-srcs): Add tst-mtrace.
6289 (distribute): Add tst-mtrace.sh.
6290 Add rule to run tst-mtrace.sh.
6291 * malloc/tst-mtrace.c: New file.
6292 * malloc/tst-mtrace.sh: New file.
6294 * include/signal.h: Declare __libc_sigaction.
6295 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
6296 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
6297 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6298 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6299 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6300 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6301 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6303 * configure.in: Fix CFLAGS-memprofstat.c definition after
6305 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
6307 2000-07-06 Jakub Jelinek <jakub@redhat.com>
6309 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
6310 instead of NULL to elf_machine_fixup_plt t argument.
6311 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6312 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
6315 2000-07-06 Andreas Jaeger <aj@suse.de>
6317 * crypt/Makefile (LDLIBS-cert): Removed.
6318 (LDLIBS-md5c-test): Removed.
6319 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
6320 ($(objpfx)md5c-test): Likewise for md5c-test.out.
6322 2000-07-06 Andreas Jaeger <aj@suse.de>
6324 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
6325 of the proc system is "proc".
6327 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
6328 thread library for static programs.
6330 2000-07-06 Greg McGary <greg@mcgary.org>
6332 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
6334 * sysdeps/generic/strcpy.c: Add bounds checks.
6335 * sysdeps/unix/fxstat.c: Likewise.
6336 * sysdeps/unix/xstat.c: Likewise.
6337 * sysdeps/unix/common/lxstat.c: Likewise.
6338 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
6339 * sysdeps/unix/sysv/linux/execve.c: Likewise.
6340 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
6341 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
6342 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6343 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
6344 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
6345 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
6346 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6347 * sysdeps/unix/sysv/linux/poll.c: Likewise.
6348 * sysdeps/unix/sysv/linux/pread.c: Likewise.
6349 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6350 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
6351 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6352 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6353 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6354 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6355 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6356 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6357 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
6358 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6359 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
6360 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6361 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
6362 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
6363 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
6364 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6365 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
6366 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
6367 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6368 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6369 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
6370 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6371 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6372 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6373 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6374 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6375 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
6376 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6377 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6378 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6379 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6380 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6381 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6382 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
6383 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
6384 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6385 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
6386 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
6387 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
6388 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
6389 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
6390 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6391 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6392 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6393 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6394 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
6395 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
6396 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
6397 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
6398 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6399 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
6400 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
6401 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
6403 * string/endian.h (__LONG_LONG_PAIR): New macro.
6404 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
6405 * sysdeps/unix/sysv/linux/pread.c: Likewise.
6406 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6407 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6408 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6409 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
6410 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
6411 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6412 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6413 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6414 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6415 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
6417 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
6419 2000-07-06 Andreas Jaeger <aj@suse.de>
6421 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
6424 * math/test-fpucw.c: Include <stdio.h> for printf.
6426 2000-07-05 Greg McGary <greg@mcgary.org>
6428 * sysdeps/generic/bp-checks.h: New file.
6429 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
6430 with list of #include files.
6431 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
6432 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
6433 Don't generate BP thunk if `V' appears in signature.
6434 Generate thunks with complete bounds checks.
6435 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
6436 * sysdeps/unix/inet/syscalls.list: Likewise.
6437 * sysdeps/unix/mman/syscalls.list: Likewise.
6438 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6439 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6440 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6441 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
6443 2000-07-05 Ulrich Drepper <drepper@redhat.com>
6445 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
6446 result. Search first in /etc/mtab (proc/mounts would be stupid).
6447 If mount not in the file fall back on /proc.
6449 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
6450 string got copied in.
6451 Patch by Solar Designer <solar@false.com>.
6453 2000-07-05 Andreas Jaeger <aj@suse.de>
6455 * manual/install.texi (Installation): Update information about
6457 (Configuring and compiling): Update for glibc 2.2.
6459 2000-07-04 Andreas Jaeger <aj@suse.de>
6461 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
6462 (_FPU_IEEE): Likewise.
6464 * math/Makefile (tests): Add test-fpucw.
6466 * math/test-fpucw.c (main): New file.
6468 2000-07-05 Ulrich Drepper <drepper@redhat.com>
6470 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
6472 * locale/programs/ld-collate.c (collate_output): Also write out the
6473 collation sequence values and the wide character string for the
6474 collation symbol table.
6476 * posix/fnmatch.c: Include "../locale/elem-hash.h".
6477 * posix/fnmatch_loop.c: Implement collating symbol handling.
6478 * posix/tst-fnmatch.input: Add more tests, especially for collating
6481 * posix/regex.c: Fix comment.
6483 2000-07-05 Andreas Jaeger <aj@suse.de>
6485 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
6486 (_FPU_GETCW): Remove extra colon.
6487 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
6489 * posix/fnmatch_loop.c (FCT): Only declare len if
6490 !WIDE_CHAR_VERSION to silence GCC.
6492 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
6494 * sysdeps/generic/strchrnul.c: Likewise.
6495 * sysdeps/generic/strlen.c: Likewise.
6496 * sysdeps/generic/strchr.c: Likewise.
6497 * sysdeps/generic/memchr.c: Likewise.
6499 2000-07-04 Ulrich Drepper <drepper@redhat.com>
6501 * posix/fnmatch_loop.c: Implement equivalence class handling.
6502 * posix/tst-fnmatch.input: Add tests for equivalence class
6505 * posix/fnmatch_loop.c: Improve performance for single-byte
6506 character sets by not using btowc.
6508 * posix/tst-fnmatch.input: Add tests for locale dependent
6510 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
6512 * posix/tst-fnmatch.input: Add more test cases.
6514 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
6515 are not aligned to alignof(md5_uint32) do it before calling
6516 __md5_process_bytes.
6517 * crypt/md5.c: Make sure buffers are aligned.
6518 * crypt/md5.h: Likewise.
6519 Reported by Solar Designer <solar@false.com>.
6521 * crypt/Makefile: Add dependencies for test programs.
6523 * Rules: Define LC_ALL=C in environments of all programs we run.
6525 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
6527 2000-07-03 H.J. Lu <hjl@gnu.org>
6529 * locale/programs/ld-ctype.c (ctype_output): The size of iov
6530 is 2 + elem + offset, not 2 + elem + offset + 2.
6532 2000-07-04 Ulrich Drepper <drepper@redhat.com>
6534 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
6536 * posix/Makefile (tests): Add tst-fnmatch.
6537 (tst-fnmatch-ENV): Define.
6538 * posix/tst-fnmatch.c: New file.
6539 * posix/tst-fnmatch.sh: New file.
6541 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
6543 * locale/programs/charmap.c (charmap_read): Prepend
6544 the condition filename == NULL.
6546 2000-07-03 Greg McGary <greg@mcgary.org>
6548 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
6550 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
6551 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
6553 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
6554 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
6555 (FILEBUF_LITERAL): Add cast for CHAIN init.
6556 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
6557 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
6558 Revert type of `fp' to _IO_FILE*.
6559 (_IO_iter_file): Remove cast.
6560 (_IO_iter_next): Elide intermediate member reference.
6562 * sysdeps/powerpc/strchr.S: Check bounds.
6563 Wrap extern symbols in BP_SYM ().
6565 2000-07-03 Andreas Jaeger <aj@suse.de>
6567 * dlfcn/Makefile (generated): New.
6569 2000-07-03 Ulrich Drepper <drepper@redhat.com>
6571 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
6572 (__uflow): Likewise.
6573 (__underflow): Likewise.
6574 * libio/wgenops.c (__wunderflow): Likewise.
6575 * stdio-common/tst-unbputc.c: New file.
6576 * stdio-common/tst-unbputc.sh: New file.
6577 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
6579 * po/en_GB.po: New file.
6580 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
6582 2000-07-01 Andreas Jaeger <aj@suse.de>
6584 * intl/Makefile (generated-dirs): New.
6586 * elf/Makefile (generated): trusted-dirs.h is always generated,
6587 move out of build-shared condition.
6588 (generated): Merge the two entries for build-shared.
6590 2000-07-01 Ulrich Drepper <drepper@redhat.com>
6592 * debug/Makefile (distribute): Add xtrace.sh.
6594 2000-06-30 Ulrich Drepper <drepper@redhat.com>
6596 * version.h (VERSION): Bump to 2.1.91.
6598 * configure.in: Update warning comment. glibc should not be
6601 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
6602 ioperm.c, sys/procfs.h, and sys/io.h.
6604 * sysdeps/powerpc/Dist: Add bp-asm.h.
6606 * assert/Depend: Add localedata.
6607 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
6608 (test-assert-perr-ENV): New. Define LANGUAGE=C.
6610 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
6611 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
6612 relocation address to prevent unaligned trap.
6613 Suggested by Richard Henderson <rth@cygnus.com>.
6615 2000-06-30 Jakub Jelinek <jakub@redhat.com>
6617 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
6618 if redirecting and either redirection is done using defines or
6621 2000-06-30 Ulrich Drepper <drepper@redhat.com>
6623 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
6624 generated expressions.
6625 Patch by Darren McClelland <dmcclell@zetec.com>.
6627 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
6628 since zic uses setlocale and gettext but we cannot make it use the
6629 new locale data since zic calls a shell which might not use the
6632 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
6633 handling the internation currency symbol. POSIX says that the
6634 fourth character is used to separate the currency symbol from the
6635 value. Therefore it does not have to be printed. But we cannot
6636 remove the space if the currency symbol is printed before the
6637 number since this is what many locales expect.
6639 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
6640 whether this information is available.
6642 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
6643 buffers in case the translation is too large. Remember allocated
6644 memory blocks in a list.
6645 (free_mem): Free memory for translations.
6647 * intl/tst-gettext.c: Use correct locale. Improve error messages.
6649 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
6650 information is available set the string length to zero.
6652 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
6654 2000-06-30 Greg McGary <greg@mcgary.org>
6656 * sysdeps/powerpc/bp-asm.h: New file.
6657 * sysdeps/powerpc/__longjmp.S: Check bounds.
6658 Wrap extern symbols in BP_SYM ().
6659 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
6660 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
6661 * sysdeps/powerpc/setjmp.S: Likewise.
6662 * sysdeps/powerpc/add_n.S: Likewise.
6663 * sysdeps/powerpc/addmul_1.S: Likewise.
6664 * sysdeps/powerpc/lshift.S: Likewise.
6665 * sysdeps/powerpc/rshift.S: Likewise.
6666 * sysdeps/powerpc/mul_1.S: Likewise.
6667 * sysdeps/powerpc/sub_n.S: Likewise.
6668 * sysdeps/powerpc/submul_1.S: Likewise.
6669 * sysdeps/powerpc/strlen.S: Likewise.
6670 * sysdeps/powerpc/memset.S: Likewise.
6671 * sysdeps/powerpc/stpcpy.S: Likewise.
6672 * sysdeps/powerpc/strcmp.S: Likewise.
6673 * sysdeps/powerpc/strcpy.S: Likewise.
6674 * sysdeps/powerpc/elf/bzero.S: Likewise.
6676 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
6677 Line up operands column with tabs.
6679 2000-06-30 Ulrich Drepper <drepper@redhat.com>
6681 * elf/Makefile (LDFLAGS-origtest): Actually add it.
6683 * sysdeps/ia64/htonl.S: New file.
6684 * sysdeps/ia64/htons.S: New file.
6685 * sysdeps/ia64/memcpy.S: Replace with version which does not use
6686 floating point registers.
6687 Patches by Dan Pop <Dan.Pop@cern.ch>.
6689 2000-06-30 Andreas Jaeger <aj@suse.de>
6691 * posix/Makefile (tests): tst-exec and tst-spawn only work with
6694 * io/Makefile (CFLAGS-test-lfs.c): New.
6695 (tests): Add test-lfs.
6697 * io/test-lfs.c: New file.
6699 2000-06-30 Jakub Jelinek <jakub@redhat.com>
6701 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
6704 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
6706 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
6708 2000-06-29 Jes Sorensen <jes@linuxcare.com>
6710 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
6711 alias to the fstatfs call.
6713 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
6714 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
6716 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
6717 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
6719 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
6720 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
6721 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
6722 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
6724 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
6725 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
6727 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
6728 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
6730 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
6731 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
6733 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
6735 2000-06-29 Andreas Jaeger <aj@suse.de>
6737 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
6739 (print_err_message): Likewise.
6740 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
6742 2000-06-29 Ulrich Drepper <drepper@redhat.com>
6744 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
6745 used as words is properly aligned.
6747 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
6750 2000-06-29 Greg McGary <greg@mcgary.org>
6752 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
6753 * sysdeps/unix/make-syscalls.sh: Handle signatures of
6754 length 7..9, just in case...
6755 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
6757 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
6758 (POP_ERRNO_LOCATION_RETURN): Fold insns.
6759 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
6760 (PUSH_SIGNAL_MASK): New macro.
6761 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
6762 LEAVE is unnecessary. Check bounds of jmp_buf.
6763 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
6764 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
6765 immediately before tail-call.
6766 * sysdeps/i386/setjmp.S: Likewise.
6767 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6768 * sysdeps/i386/bsd-setjmp.S: Likewise.
6770 2000-06-29 Jakub Jelinek <jakub@redhat.com>
6772 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
6774 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
6775 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
6776 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
6777 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6778 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
6779 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
6780 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
6781 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
6783 2000-06-29 Ulrich Drepper <drepper@redhat.com>
6785 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
6786 we later need to calling free().
6787 Patch by Matt Wilson <msw@redhat.com>.
6789 * stdio-common/tst-printf.c: Add test for above problem.
6791 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
6793 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
6794 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
6796 2000-06-28 Jes Sorensen <jes@linuxcare.com>
6798 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
6799 prototype for abs().
6800 * sysdeps/ieee754/flt-32/s_exp2f.c: Likewise.
6802 2000-06-23 Andreas Jaeger <aj@suse.de>
6804 * config.h.in: Don't use regparm with bounded pointers.
6806 2000-06-29 Ulrich Drepper <drepper@redhat.com>
6808 * stdlib/grouping.h: Correctly handle multibyte thousands
6809 separator and decimal point.
6810 * stdlib/stdtod.c: Likewise.
6811 * sysdeps/generic/strtol.c: Likewise.
6813 * locale/categories.def: Add entries for wide character decimal point
6814 and thousands separator in numeric and monetary category.
6816 2000-06-28 Ulrich Drepper <drepper@redhat.com>
6818 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
6819 second definition and initialization of decimal.
6821 2000-06-28 Greg McGary <greg@mcgary.org>
6823 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
6825 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
6826 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
6828 (_IO_JUMPS): Don't cast THIS--expect arg to be a
6829 (struct _IO_FILE_plus *).
6830 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
6831 THIS, since _IO_JUMPS no longer does it implicitly.
6832 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
6833 arg type as (struct _IO_FILE_plus *).
6834 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
6835 arg as (_IO_strfile *).
6836 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
6837 Declare 1st arg as (_IO_strfile *).
6838 * libio/fileops.c (_IO_new_file_init): Declare
6839 arg type as (struct _IO_FILE_plus *).
6840 * libio/oldfileops.c (_IO_old_file_init): Likewise.
6841 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
6842 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
6843 Declare iteration pointer as (struct _IO_FILE_plus *).
6844 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
6845 (struct _IO_FILE_plus *).
6846 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
6847 * libio/oldstdfiles.c (_IO_list_all): Likewise.
6848 (_IO_check_libio): Set user-visible handles to
6849 (struct _IO_FILE_plus *).
6850 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
6851 to (struct _IO_FILE_plus *).
6853 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
6854 whose high bound includes vtable to all functions that will use
6855 vtable. For streambufs, pass pointer whose bounds include struct
6857 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
6858 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6859 * libio/iofopen.c (_IO_new_fopen): Likewise.
6860 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6861 * libio/iofopen64.c (_IO_fopen64): Likewise.
6862 * libio/iopopen.c (_IO_new_popen): Likewise.
6863 * libio/oldiopopen.c (_IO_old_popen): Likewise.
6864 * libio/memstream.c (open_memstream): Likewise.
6865 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
6866 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
6867 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
6868 * libio/iofopncook.c (_IO_cookie_init): Likewise.
6869 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
6870 * libio/vasprintf.c (_IO_vasprintf): Likewise.
6871 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
6872 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
6873 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
6874 * stdlib/strfmon.c (__strfmon_l): Likewise.
6875 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
6876 (vfprintf): Qualify computed-goto targets as unbounded.
6878 2000-06-28 Ulrich Drepper <drepper@redhat.com>
6880 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
6881 thousands separator correctly.
6883 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
6884 * stdio-common/vfwscanf.c: Likewise.
6886 2000-06-27 Jes Sorensen <jes@linuxcare.com>
6888 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
6889 count into signatures for most calls.
6891 2000-06-28 Ulrich Drepper <drepper@redhat.com>
6893 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
6894 the generic parser now.
6896 2000-06-28 Jes Sorensen <jes@linuxcare.com>
6898 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
6899 table entries are 32 bit on the ia64 (as specified by the ABI),
6900 not 64 bit as on the Alpha.
6902 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
6903 change of objects to use 32 bit hash table indices (see above).
6905 2000-06-28 Jes Sorensen <jes@linuxcare.com>
6907 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
6908 prototype for abs().
6910 2000-06-28 Wolfram Gloger <wg@malloc.de>
6912 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
6913 fails, try mmap_chunk() as a last resort even though n_mmaps_max
6914 may have been reached.
6916 2000-06-28 Ulrich Drepper <drepper@redhat.com>
6918 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
6919 symbols in multi-character weights correctly.
6921 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
6922 depending on whether the input string is empty or not.
6924 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
6925 given state and not avoiding this by modifying a local object.
6926 * wcsmbs/wcrtomb.c: Likewise.
6928 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
6929 object since some incomplete characters might be in there.
6931 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
6932 sequences with first byte 0x8e correctly.
6934 * iconvdata/jis0208.h: Remove redundant test.
6936 2000-06-27 Ulrich Drepper <drepper@redhat.com>
6938 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
6939 Add it where it is needed now.
6941 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
6942 the input charset into account when generating the hash table.
6943 (allocate_arrays): Correct setting default width. Not all empty slots
6944 in the table are filled, only those not covert explicitly by the
6945 locale description and in the charset.
6947 * wctype/towctrans.c (__towctrans): Be graceful and accept error
6948 return values from the wctrans function.
6950 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
6951 wide character version.
6952 For %C handling, test correct pointer variable for NULL.
6954 * wcsmbs/wctob.c: Handle WEOF special.
6956 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
6958 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
6959 always-true test to avoid warning.
6961 2000-06-27 Greg McGary <greg@mcgary.org>
6963 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
6964 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
6965 (symbol_version, default_symbol_version): Factor redundant
6966 definitions out of conditional.
6968 2000-06-27 Jakub Jelinek <jakub@redhat.com>
6970 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
6973 2000-06-26 Ulrich Drepper <drepper@redhat.com>
6975 * include/libc-symbols.h (symbol_version): Add extra level of
6977 (default_symbol_version): Likewise.
6979 2000-06-26 Greg McGary <greg@mcgary.org>
6981 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
6982 for BP return value & push implicit struct-return pointer to
6984 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6985 (SYSCALL_ERROR_HANDLER): Likewise.
6986 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
6987 (SYSCALL_ERROR_HANDLER): Likewise.
6989 * Makeconfig: Add missing comment.
6990 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
6991 BP-flavored startup object.
6992 ($(objpfx)b$(start-installed-name)): New rule.
6993 * include/libc-symbols.h (symbol_set_declare): Change type
6994 of `__start_##set' and `__stop_##set' to pointer-to-function.
6995 (symbol_set_declare): Change type of `set' to array of
6996 pointer-to-function.
6997 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
6998 pointer-to-function.
7000 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
7002 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
7003 Remove clock_* and timer_* entries.
7004 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
7005 arg-count with signatures.
7007 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
7008 Check bounds of arguments.
7009 * sysdeps/i386/addmul_1.S: Likewise.
7010 * sysdeps/i386/lshift.S: Likewise.
7011 * sysdeps/i386/mul_1.S: Likewise.
7012 * sysdeps/i386/rshift.S: Likewise.
7013 * sysdeps/i386/sub_n.S: Likewise.
7014 * sysdeps/i386/submul_1.S: Likewise.
7015 * sysdeps/i386/i586/add_n.S: Likewise.
7016 * sysdeps/i386/i586/addmul_1.S: Likewise.
7017 * sysdeps/i386/i586/lshift.S: Likewise.
7018 * sysdeps/i386/i586/rshift.S: Likewise.
7019 * sysdeps/i386/i586/sub_n.S: Likewise.
7020 * sysdeps/i386/i686/add_n.S: Likewise.
7022 * sysdeps/i386/memchr.S: Likewise.
7023 * sysdeps/i386/memcmp.S: Likewise.
7024 * sysdeps/i386/rawmemchr.S: Likewise.
7025 * sysdeps/i386/i586/bzero.S: Likewise.
7026 * sysdeps/i386/i586/memcpy.S: Likewise.
7027 * sysdeps/i386/i586/mempcpy.S: Likewise.
7028 * sysdeps/i386/i586/memset.S: Likewise.
7029 * sysdeps/i386/i686/bzero.S: Likewise.
7030 * sysdeps/i386/i686/memcpy.S: Likewise.
7031 * sysdeps/i386/i686/mempcpy.S: Likewise.
7032 * sysdeps/i386/i686/memset.S: Likewise.
7034 * sysdeps/i386/stpcpy.S: Likewise.
7035 * sysdeps/i386/stpncpy.S: Likewise.
7036 * sysdeps/i386/strchr.S: Likewise.
7037 * sysdeps/i386/strchrnul.S: Likewise.
7038 * sysdeps/i386/strcspn.S: Likewise.
7039 * sysdeps/i386/strpbrk.S: Likewise.
7040 * sysdeps/i386/strrchr.S: Likewise.
7041 * sysdeps/i386/strspn.S: Likewise.
7042 * sysdeps/i386/strtok.S: Likewise.
7043 * sysdeps/i386/strtok_r.S: Likewise.
7044 * sysdeps/i386/i486/strcat.S: Likewise.
7045 * sysdeps/i386/i486/strlen.S: Likewise.
7046 * sysdeps/i386/i586/strchr.S: Likewise.
7047 * sysdeps/i386/i586/strcpy.S: Likewise.
7048 * sysdeps/i386/i586/strlen.S: Likewise.
7049 * sysdeps/i386/i686/strcmp.S: Likewise.
7050 * sysdeps/i386/i686/strtok.S: Likewise.
7051 * sysdeps/i386/i686/strtok_r.S: Likewise.
7053 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
7054 * sysdeps/i386/fpu/fesetenv.c: Likewise.
7055 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
7056 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
7057 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
7059 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
7060 * sysdeps/i386/mul_1.S: Likewise.
7061 * sysdeps/i386/submul_1.S: Likewise.
7062 * sysdeps/i386/i586/add_n.S: Likewise.
7063 * sysdeps/i386/i586/addmul_1.S: Likewise.
7064 * sysdeps/i386/i586/lshift.S: Likewise.
7065 * sysdeps/i386/i586/mul_1.S: Likewise.
7066 * sysdeps/i386/i586/rshift.S: Likewise.
7067 * sysdeps/i386/i586/sub_n.S: Likewise.
7068 * sysdeps/i386/i586/submul_1.S: Likewise.
7070 2000-06-26 Ulrich Drepper <drepper@redhat.com>
7072 * rt/Makefile (librt-routines): Add clock_nanosleep.
7073 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
7074 * sysdeps/generic/clock_nanosleep.c: New file.
7075 * sysdeps/unix/clock_nanosleep.c: New file.
7076 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
7077 * time/time.h: Declare clock_nanosleep.
7079 2000-06-26 Greg McGary <greg@mcgary.org>
7081 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
7082 INSN1, INSN2, TEXT, GLOBL): Remove macros.
7083 (ALIGN): Cleanup surrounding conditionals.
7085 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
7086 Call ENTER/LEAVE macros.
7087 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
7088 * sysdeps/i386/submul_1.S: Likewise.
7090 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
7091 syntax. Define & use symbolic argument stack offsets. Call
7093 * sysdeps/i386/i586/mul_1.S: Likewise.
7094 * sysdeps/i386/i586/submul_1.S: Likewise.
7096 2000-06-25 Greg McGary <greg@mcgary.org>
7098 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
7101 2000-06-25 Ulrich Drepper <drepper@redhat.com>
7103 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
7104 * iconvdata/gen-8bit-gap.sh: Likewise.
7105 * iconvdata/gen-8bit.sh: Likewise.
7107 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
7109 * locale/programs/ld-collate.c (collate_read): Don't actually read
7110 the copy locale if we are ignoring the content.
7112 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
7115 * locale/programs/ld-collate.c: Correct handling of different
7117 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
7118 as extra parameter from which to copy category information.
7120 (load_locale): Likewise.
7121 * locale/programs/localedef.h: Update prototypes of add_to_readlist
7123 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
7124 * locale/programs/locfile.h: Likewise.
7125 * locale/programs/locfile-kw.gperf: Add entry for script.
7126 * locale/programs/locfile-token.h: Add tok_script.
7128 * locale/programs/locale.c: Update copyright year.
7129 * locale/programs/localedef.c: Likewise.
7131 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
7133 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
7134 Jens Moeller <jens.moeller@waii.com>.
7136 2000-06-24 Ulrich Drepper <drepper@redhat.com>
7138 * locale/programs/ld-name.c (name_finish): Add missing format
7139 specifier to test for name_fmt.
7141 * locale/programs/ld-address.c (iso639): Correct length of string
7143 (iso3166): Likewise.
7145 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
7147 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
7150 * elf/elf.h (NT_PRFPXREG): Define.
7152 2000-06-23 Ulrich Drepper <drepper@redhat.com>
7154 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
7155 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
7157 2000-06-23 Andreas Schwab <schwab@suse.de>
7159 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
7162 2000-06-23 Andreas Jaeger <aj@suse.de>
7164 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
7166 * io/test-stat.c: Add copyright header, mention Maciej.
7168 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
7169 SYS_mincore, SYS_madvise): Added.
7171 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
7174 2000-06-22 Ulrich Drepper <drepper@redhat.com>
7176 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
7177 (CFLAGS-tst_putwc.c): New definition.
7178 * libio/tst_getwc.c: New file.
7179 * libio/tst_getwc.input: New file.
7180 * libio/tst_putwc.c: New file.
7182 * include/string.h: Add prototype for __strdup.
7184 2000-06-22 Greg McGary <greg@mcgary.org>
7186 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
7187 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
7190 2000-06-23 Jes Sorensen <jes@linuxcare.com>
7192 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
7194 2000-06-22 Jes Sorensen <jes@linuxcare.com>
7196 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
7198 2000-06-22 Jes Sorensen <jes@linuxcare.com>
7200 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
7201 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
7203 2000-06-22 Ulrich Drepper <drepper@redhat.com>
7205 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
7206 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
7208 * sysdeps/mach/hurd/bits/stat.h: Likewise.
7209 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7210 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
7211 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7212 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
7213 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
7214 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
7215 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
7216 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7217 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
7218 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
7219 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
7220 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
7221 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
7224 2000-06-22 Andreas Jaeger <aj@suse.de>
7226 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
7229 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
7231 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
7233 2000-06-21 Ulrich Drepper <drepper@redhat.com>
7235 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
7238 2000-06-21 Greg McGary <greg@mcgary.org>
7240 * Makerules (elide-routines.*, elide-bp-thunks):
7241 Define unconditionally.
7243 2000-06-21 Jes Sorensen <jes@linuxcare.com>
7245 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
7247 2000-06-21 Andreas Jaeger <aj@suse.de>
7249 * io/Makefile (tests): Add test-stat.
7250 (CFLAGS-test-stat.c): New.
7252 * io/test-stat.c: New file from Maciej W. Rozycki
7253 <macro@ds2.pg.gda.pl>.
7255 2000-06-21 Jes Sorensen <jes@linuxcare.com>
7257 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
7258 in __rlimit_resource to make them match the kernel order.
7259 rlim_t is always 64 bit, use __rlim64_t to declare it
7262 2000-05-04 Jes Sorensen <jes@linuxcare.com>
7264 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
7265 RLIM_INFINITY before defining it to avoid clash with kernel header
7267 2000-05-03 Jes Sorensen <jes@linuxcare.com>
7269 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
7271 2000-06-21 Ulrich Drepper <drepper@redhat.com>
7273 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
7275 2000-06-21 Andreas Jaeger <aj@suse.de>
7277 * stdio-common/temptest.c: Include <stdlib.h>.
7278 * stdio-common/tst-fileno.c: Likewise.
7279 * stdio-common/scanf4.c: Likewise.
7280 * stdio-common/scanf5.c: Likewise.
7281 * time/clocktest.c: Likewise.
7282 * posix/test-vfork.c: Likewise.
7283 * posix/globtest.c: Likewise.
7284 * io/test-utime.c: Likewise.
7285 * wctype/test_wcfuncs.c: Likewise.
7286 * crypt/cert.c: Likewise.
7288 * stdio-common/tst-printfsz.c: Include <string.h>.
7289 * libio/tst_swscanf.c: Likewise.
7290 * libio/tst_wscanf.c: Likewise.
7291 * posix/runtests.c: Likewise.
7292 * posix/tst-getaddrinfo.c: Likewise.
7293 * posix/wordexp-test.c: Likewise.
7294 * misc/tst-efgcvt.c: Likewise.
7296 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
7297 * nss/test-netdb.c: Likewise.
7299 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
7300 supported kernel for MIPS.
7302 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
7303 * rt/aio_suspend.c: Likewise.
7305 2000-06-20 Ulrich Drepper <drepper@redhat.com>
7307 * math/libm-test.inc: Include <string.h>.
7309 2000-06-20 Jes Sorensen <jes@linuxcare.com>
7311 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
7313 2000-06-20 Jes Sorensen <jes@linuxcare.com>
7315 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
7316 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
7318 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
7320 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
7322 2000-06-20 Jes Sorensen <jes@linuxcare.com>
7324 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
7326 2000-06-20 Ulrich Drepper <drepper@redhat.com>
7328 * locale/programs/ld-collate.c (insert_value): Now take string and
7329 length instead of struct token* parameter. Adjust use of token.
7330 (handle_ellipsis): Likewise.
7331 (collate_read): Allow <Uxxxx> names and transform them into names
7332 to be passed to insert_value and handle_ellipsis.
7334 * locale/programs/ld-ctype.c (uninames): New array with names of
7335 digits in <Uxxxxxxxx> format.
7336 (ctype_finish): Correct search for space character value. Likewise
7337 for default outdigits values.
7339 2000-06-20 Greg McGary <greg@mcgary.org>
7341 * Makerules (objects): Add BP thunks.
7343 2000-06-20 Ulrich Drepper <drepper@redhat.com>
7345 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
7346 in width definitions.
7348 2000-06-20 Andreas Jaeger <aj@suse.de>
7350 * sysdeps/mips/fpu/libm-test-ulps: New file.
7352 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
7355 * sysdeps/mips/fpu/feholdexcpt.c: New file.
7357 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
7359 2000-06-19 Ulrich Drepper <drepper@redhat.com>
7361 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
7362 change in gconv_builtin.h.
7364 * malloc/Makefile: Change all references to memprof into memusage.
7365 * malloc/memprof.c: Rename to...
7366 * malloc/memusage.c: ...this. New file.
7367 * malloc/memprof.sh: Rename to...
7368 * malloc/memusage.sh: ...this. New file.
7369 * malloc/memprofstat.c: Rename to...
7370 * malloc/memusagestat.c: ...this. New file.
7371 * sysdeps/alpha/memprof.h: Rename to..
7372 * sysdeps/alpha/memusage.h: ...this. New file.
7373 * sysdeps/arm/memprof.h: Rename to..
7374 * sysdeps/arm/memusage.h: ...this. New file.
7375 * sysdeps/generic/memprof.h: Rename to..
7376 * sysdeps/generic/memusage.h: ...this. New file.
7377 * sysdeps/i386/memprof.h: Rename to..
7378 * sysdeps/i386/memusage.h: ...this. New file.
7379 * sysdeps/ia64/memprof.h: Rename to..
7380 * sysdeps/ia64/memusage.h: ...this. New file.
7381 * sysdeps/m68k/memprof.h: Rename to..
7382 * sysdeps/m68k/memusage.h: ...this. New file.
7383 * sysdeps/mips/memprof.h: Rename to..
7384 * sysdeps/mips/memusage.h: ...this. New file.
7385 * sysdeps/powerpc/memprof.h: Rename to..
7386 * sysdeps/powerpc/memusage.h: ...this. New file.
7387 * sysdeps/sparc/memprof.h: Rename to..
7388 * sysdeps/sparc/memusage.h: ...this. New file.
7389 * sysdeps/sh/memprof.h: Rename to..
7390 * sysdeps/sh/memusage.h: ...this. New file.
7392 * elf/sprof.c (print_version): Update year.
7394 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
7395 table entry values. Use D_PTR.
7396 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
7397 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
7399 2000-06-20 Jes Sorensen <jes@linuxcare.com>
7401 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
7402 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
7403 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
7404 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
7406 2000-05-05 Jes Sorensen <jes@linuxcare.com>
7408 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
7410 2000-06-16 Jes Sorensen <jes@linuxcare.com>
7412 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
7413 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
7414 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
7416 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
7418 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
7421 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
7422 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
7424 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
7427 2000-06-15 Jes Sorensen <jes@linuxcare.com>
7429 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
7431 2000-06-08 Jes Sorensen <jes@linuxcare.com>
7433 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
7435 2000-06-19 Ulrich Drepper <drepper@redhat.com>
7437 * iconv/gconv_int.h (strict gconv_module): Remove all members
7438 associated with regular expressions. Use a simple string as the
7440 * iconv/gconv_db.c: Remove code handling regular expressions.
7441 * iconv/gconv_conf.c: Likewise.
7442 * iconv/iconv_prog.c: Likewise.
7443 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
7445 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
7446 General namespace cleanup.
7447 (struct __gconv_trans_data): Add next field.
7448 (struct __gconv_step_data): Make __trans a pointer.
7449 * iconv/gconv_conf.c: Split out code to find gconv directories from
7450 __gconv_read_conf in new functions.
7451 * iconv/gconv_int.h: Define new data structure and declare new
7452 functions for handling of gconv directory list.
7453 * iconv/gconv_open.c: Allow more than one error handling step being
7454 used. Call function to load error handling module if it is none
7455 of the builtin transformations.
7456 * iconv/gconv_close.c: Add code to free transliteration data.
7457 * iconv/gconv_trans.c: Add functions to load and unload modules
7458 implementing transliteration etc.
7459 * iconv/skeleton.c: Call all context functions now that more than
7460 one module is allowed.
7461 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
7462 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
7463 where the full error handling using transliteration is needed.
7464 * iconvdata/8bit-gap.c: Likewise.
7465 * iconvdata/8bit-generic.c: Likewise.
7466 * iconvdata/ansi_x3.110.c: Likewise.
7467 * iconvdata/big5.c: Likewise.
7468 * iconvdata/big5hkscs.c: Likewise.
7469 * iconvdata/euc-cn.c: Likewise.
7470 * iconvdata/euc-jp.c: Likewise.
7471 * iconvdata/euc-kr.c: Likewise.
7472 * iconvdata/euc-tw.c: Likewise.
7473 * iconvdata/gbgbk.c: Likewise.
7474 * iconvdata/gbk.c: Likewise.
7475 * iconvdata/iso-2022-cn.c: Likewise.
7476 * iconvdata/iso-2022-jp.c: Likewise.
7477 * iconvdata/iso-2022-kr.c: Likewise.
7478 * iconvdata/iso646.c: Likewise.
7479 * iconvdata/iso8859-1.c: Likewise.
7480 * iconvdata/iso_6937-2.c: Likewise.
7481 * iconvdata/iso_6937.c: Likewise.
7482 * iconvdata/johab.c: Likewise.
7483 * iconvdata/sjis.c: Likewise.
7484 * iconvdata/t.61.c: Likewise.
7485 * iconvdata/uhc.c: Likewise.
7486 * iconvdata/unicode.c: Likewise.
7487 * iconvdata/utf-16.c: Likewise.
7488 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
7489 structure correctly after last change.
7490 * wcsmbs/btowc.c: Likewise.
7491 * wcsmbs/mbrtowc.c: Likewise.
7492 * wcsmbs/mbsnrtowcs.c: Likewise.
7493 * wcsmbs/mbsrtowcs.c: Likewise.
7494 * wcsmbs/wcrtomb.c: Likewise.
7495 * wcsmbs/wcsnrtombs.c: Likewise.
7496 * wcsmbs/wcsrtombs.c: Likewise.
7497 * wcsmbs/wctob.c: Likewise.
7499 * localedata/Makefile: Set -Wno-format for some files since gcc does
7500 not know all the format specifiers.
7502 2000-06-18 Ulrich Drepper <drepper@redhat.com>
7504 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
7506 * locale/lc-time.c (_nl_init_era_entries): Likewise.
7508 2000-06-18 Andreas Jaeger <aj@suse.de>
7510 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
7511 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
7513 2000-06-17 Ulrich Drepper <drepper@redhat.com>
7515 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
7517 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
7519 * locale/programs/ld-ctype.c (ctype_output): Really write out
7520 mboutdigits information.
7521 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
7522 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
7523 * localedata/tests/trans.def: Add outdigit information.
7525 * localedata/tst-mbswcs3.c: Remove comment.
7527 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
7528 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
7529 * libio/tst_wprintf.c (main): Add test for I flag.
7531 * iconv/gconv_trans.c: Implement handling if translit_ignore.
7532 * locale/langinfo.h: Add entries for translit_ignore information.
7533 * locale/categories.def: Add entries for new LC_CTYPE elements.
7534 * locale/C-ctype.c: Add initializers for new fields. Use NULL
7535 pointer instead of "" where possible.
7536 * locale/programs/ld-ctype.c: Write out translit_ignore information.
7537 * intl/Depend: Add localedata.
7538 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
7539 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
7541 2000-06-16 Ulrich Drepper <drepper@redhat.com>
7543 * locale/langinfo.h: Add entries for default_missing information.
7544 * locale/C-ctype.c: Add initializers for new fields.
7545 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
7547 * locale/categories.h: Add entries for all LC_CTYPE values.
7548 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
7551 * localedata/tst-trans.c: Write out an error message if class is
7554 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
7555 * iconv/gconv_open.c: Remove error handling specification from `from'
7557 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
7558 new parameter to always enable transliteration.
7559 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
7561 (struct locale_data): Add new members use_translit and options.
7562 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
7563 character set name contained modifier TRANSLIT.
7564 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
7566 (_nl_unload_locale): Free options string if necessary.
7567 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
7568 the locale names suggested this.
7569 * locale/C-address.c: Add two new initialilzers to adjust data
7570 structure for new format.
7571 * locale/C-collate.c: Likewise.
7572 * locale/C-ctype.c: Likewise.
7573 * locale/C-identification.c: Likewise.
7574 * locale/C-measurement.c: Likewise.
7575 * locale/C-messages.c: Likewise.
7576 * locale/C-monetary.c: Likewise.
7577 * locale/C-name.c: Likewise.
7578 * locale/C-numeric.c: Likewise.
7579 * locale/C-paper.c: Likewise.
7580 * locale/C-telephone.c: Likewise.
7581 * locale/C-time.c: Likewise.
7583 * locale/setlocale.c: Add some more __builtin_expect.
7585 2000-06-15 Ulrich Drepper <drepper@redhat.com>
7587 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
7589 (__gconv_init_fct): Remove two parameters.
7590 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
7591 gconv_transliterate. Remove two parameters.
7592 Change prototypes of builtin functions according to __gconv_fct change.
7593 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
7594 != NULL only during error handling. Stop in this case after the
7596 * iconv/gconv_trans.c: Replace with real implementation for
7597 __gconv_transliterate.
7598 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
7599 * iconv/gconv.c: Change calls to downstream functions once again.
7600 Use NULL for the fifth parameter instead of pointer to output buffer.
7601 * libio/iofwide.c: Likewise.
7602 * wcsmbs/btowc.c: Likewise.
7603 * wcsmbs/mbrtowc.c: Likewise.
7604 * wcsmbs/mbsnrtowcs.c: Likewise.
7605 * wcsmbs/mbsrtowcs.c: Likewise.
7606 * wcsmbs/wcrtomb.c: Likewise.
7607 * wcsmbs/wcsnrtombs.c: Likewise.
7608 * wcsmbs/wcsrtombs.c: Likewise.
7609 * wcsmbs/wctob.c: Likewise.
7610 * iconv/gconv_simple.c: Remove two parameters from error handling
7612 * iconvdata/8bit-gap.c: Likewise.
7613 * iconvdata/8bit-generic.c: Likewise.
7614 * iconvdata/ansi_x3.110.c: Likewise.
7615 * iconvdata/big5.c: Likewise.
7616 * iconvdata/big5hkscs.c: Likewise.
7617 * iconvdata/euc-cn.c: Likewise.
7618 * iconvdata/euc-jp.c: Likewise.
7619 * iconvdata/euc-kr.c: Likewise.
7620 * iconvdata/euc-tw.c: Likewise.
7621 * iconvdata/gbgbk.c: Likewise.
7622 * iconvdata/gbk.c: Likewise.
7623 * iconvdata/iso-2022-cn.c: Likewise.
7624 * iconvdata/iso-2022-jp.c: Likewise.
7625 * iconvdata/iso-2022-kr.c: Likewise.
7626 * iconvdata/iso646.c: Likewise.
7627 * iconvdata/iso8859-1.c: Likewise.
7628 * iconvdata/iso_6937-2.c: Likewise.
7629 * iconvdata/iso_6937.c: Likewise.
7630 * iconvdata/johab.c: Likewise.
7631 * iconvdata/sjis.c: Likewise.
7632 * iconvdata/t.61.c: Likewise.
7633 * iconvdata/uhc.c: Likewise.
7634 * iconvdata/unicode.c: Likewise.
7635 * iconvdata/utf-16.c: Likewise.
7637 2000-06-15 Greg McGary <greg@mcgary.org>
7639 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
7640 of callnum assignment. Tolerate callnum expressions containing
7643 2000-06-14 Ulrich Drepper <drepper@redhat.com>
7645 * login/Makefile (utmpd): Remove rule to build utmpd.
7647 * csu/Versions: Move libgcc frame handling functions from here...
7648 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
7649 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
7650 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
7651 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
7652 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
7653 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
7655 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
7657 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
7659 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
7661 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
7663 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
7665 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
7666 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
7667 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
7668 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
7670 2000-06-14 Jakub Jelinek <jakub@redhat.com>
7672 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
7673 defined, terminate quotes and read them after the comment char.
7674 * configure.in (HAVE_SECTION_QUOTES): Test whether
7675 __attribute__((section ("x"))) puts quotes around x or not.
7676 * config.h.in (HAVE_SECTION_QUOTES): Add.
7677 * configure: Rebuilt.
7679 2000-06-14 Andreas Jaeger <aj@suse.de>
7681 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
7682 depending on the configure option --sysconfdir.
7683 Closes PR libc/1762.
7684 Patch by Andreas Schwab <schwab@suse.de>.
7686 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
7688 Reported by Jim Pick <jim@jimpick.com>.
7690 2000-06-14 Ulrich Drepper <drepper@redhat.com>
7692 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
7693 crashing the application. Emit some simple error message.
7694 Reported by mju@panasas.com [PR libc/1769].
7696 2000-06-13 Ulrich Drepper <drepper@redhat.com>
7698 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
7700 * crypt/Makefile (distribute): Add md5.h.
7702 * Makefile (distribute): Add include/shlib-compat.h.
7704 * Make-dist: Search for tests also in sysdeps hierachy.
7706 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
7707 ufc.c, speeds.c, README.ufc-crypt, and Banner.
7709 * sysdeps/sparc/Subdirs: New file.
7711 * locale/Makefile (distribute): Add weightwc.h and
7712 programs/localedef.h.
7714 * time/Makefile (distribute): Add datemsk.
7716 * sysdeps/ia64/Dist: Add softpipe.h.
7718 * sysdeps/unix/sysv/aix/Dist: New file.
7720 * posix/setpgrp.c: Moved to...
7721 * sysdeps/generic/setpgrp.c: ...here. New file.
7722 * io/mknod.c: Moved to...
7723 * sysdeps/generic/mknod.c: ...here. New file.
7725 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
7727 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
7729 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
7731 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
7732 gprsave0.S, gprrest1.S, and gprrest0.S.
7734 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
7736 * posix/Makefile (routines): Add spawnattr_getsigmask,
7737 spawnattr_getschedpolicy, spawnattr_getschedparam,
7738 spawnattr_setsigmask, spawnattr_setschedpolicy, and
7739 spawnattr_setschedparam.
7740 * posix/Versions: Add posix_spawnattr_getschedpolicy,
7741 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
7742 posix_spawnattr_setschedparam.
7744 * posix/spawnattr_setschedparam.c: Fix typo.
7746 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
7749 * login/programs/utmpd.c: Removed.
7750 * login/programs/utmpd.h: Removed.
7751 * login/programs/utmpd-private.h: Removed.
7753 * Makefile (distribute): Add include/db_185.h and include/db.h.
7755 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
7758 * elf/Makefile (distribute): Add missing files.
7760 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
7761 * elf/eval.c: Moved to...
7762 * dlfcn/eval.c: ...here. New file.
7764 * Makefile (distribute): Also distribute ChangeLog.1?.
7766 * Make-dist (+tsrcs): Remove .args handling here as well.
7768 * rt/Makefile (tests): Add tst-timer.
7769 * sysdeps/generic/tst-timer.c: New file.
7771 * Makerules (sources): Don't add BP sources here.
7773 * login/Makefile (distribute): Remove xtmp.h.
7775 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
7776 is true. Reported by Bruno Haible <haible@ilog.fr>.
7778 2000-06-13 Andreas Jaeger <aj@suse.de>
7780 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
7781 Patch by Ralf Baechle <ralf@gnu.org>.
7783 2000-06-13 Ulrich Drepper <drepper@redhat.com>
7785 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
7786 for mincore syscall.
7788 * misc/sys/cdefs.h: Define __bounded and __unbounded if
7789 __BOUNDED_POINTERS__ is not defined.
7791 2000-06-07 Greg McGary <greg@mcgary.org>
7793 * sysdeps/generic/bp-sym.h: New file.
7794 * sysdeps/generic/bp-start.h: New file.
7795 * sysdeps/i386/elf/start.S: Designate BP symbols.
7796 * sysdeps/generic/libc-start.c: Wrap bounds around
7797 argv & envp and each of their string members.
7799 2000-06-07 Greg McGary <greg@mcgary.org>
7801 * sysdeps/unix/make-syscalls.sh: Add comments to
7802 output that aid debugging & comprehension.
7803 Map simple syscall signatures to number of args.
7804 Generate BP syscall thunk definitions.
7805 * sysdeps/generic/bp-thunks.h: New file.
7806 * sysdeps/unix/syscalls.list: Replace arg-count with
7807 simple return+arg signature.
7808 * sysdeps/unix/common/syscalls.list: Likewise.
7809 * sysdeps/unix/inet/syscalls.list: Likewise.
7810 * sysdeps/unix/mman/syscalls.list: Likewise.
7811 * sysdeps/unix/sysv/syscalls.list: Likewise.
7812 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7813 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
7815 2000-06-07 Greg McGary <greg@mcgary.org>
7817 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
7818 for all files *.[cS].
7819 (CFLAGS-.ob): Don't optimize sibling calls.
7820 (bppfx): New variable.
7821 * Makerules (elide-bp-thunks): New variable.
7822 (elide-routines.*): Elide BP-* files for all but *.ob.
7823 (sources): Include bp-thunks.
7825 2000-06-12 Ulrich Drepper <drepper@redhat.com>
7827 * iconv/gconv_simple.c: Remove unnecessary prototype.
7829 * iconv/gconv_trans.c: Pretty print.
7831 * elf/elf.h (R_SH_NUM): Got accidently dropped.
7833 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
7834 minimal kernel versions. Add information about IA-64 kernel.
7836 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
7837 specific minimal supported kernel versions to be specified.
7839 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
7840 step data structure.
7841 * wcsmbs/btowc.c: Likewise.
7842 * wcsmbs/mbrtowc.c: Likewise.
7843 * wcsmbs/mbsnrtowcs.c: Likewise.
7844 * wcsmbs/mbsrtowcs.c: Likewise.
7845 * wcsmbs/wcrtomb.c: Likewise.
7846 * wcsmbs/wcsnrtombs.c: Likewise.
7847 * wcsmbs/wcsrtombs.c: Likewise.
7848 * wcsmbs/wctob.c: Likewise.
7850 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
7851 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
7853 * shlib-versions: Earliest backward compatible version for SH is 2.2.
7855 * misc/sys/cdefs.h: Remove one more __P.
7857 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
7860 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
7861 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
7862 * sysdeps/sh/bits/setjmp.h: ...here. New file.
7864 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
7865 Yutaka Niibe <gniibe@chroot.org>
7867 * configure.in: Add machine sh3, sh4.
7868 * elf/elf.h: Add SH specific declarations of relocations.
7869 * shlib-versions: Add sh*-*-linux* cases.
7871 2000-06-12 Ulrich Drepper <drepper@redhat.com>
7873 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
7874 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
7875 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
7876 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
7877 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
7878 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
7880 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
7881 instead of KERNEL_MATH_EMULATION.
7882 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
7883 KERNEL_MATH_EMULATION.
7885 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
7886 * sysdeps/sh/sh3/dl-machine.h: Moved to...
7887 * sysdeps/sh/dl-machine.h: ...here. New file.
7888 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
7889 and include generic SH version.
7890 * sysdeps/sh/sh3/bits/endian.h: Move to...
7891 * sysdeps/sh/bits/endian.h: ...here. New file.
7892 * sysdeps/sh/sh4/bits/endian.h: Removed.
7893 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
7894 * sysdeps/sh/bits/huge_val.h: ...here. New file.
7895 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
7897 * include/libc-symbols.h (link_warning): Work around a change in
7898 GAS which warns about changing section attributes.
7899 Proposed by Nick Clifton <nickc@redhat.com>.
7901 2000-06-12 H.J. Lu <hjl@gnu.org>
7903 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
7905 2000-06-11 H.J. Lu <hjl@gnu.org>
7907 * sysdeps/i386/fpu/Versions: New file.
7909 2000-06-12 Ulrich Drepper <drepper@redhat.com>
7911 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
7913 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
7916 2000-06-12 Jes Sorensen <jes@linuxcare.com>
7918 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
7919 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
7920 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
7922 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
7923 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
7924 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
7926 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
7927 Yutaka Niibe <gniibe@chroot.org>
7929 * sysdeps/sh/Dist: New file.
7930 * sysdeps/sh/Implies: New file.
7931 * sysdeps/sh/elf/initfini.c: New file.
7932 * sysdeps/sh/gmp-mparam.h: New file.
7933 * sysdeps/sh/init-first.c: New file.
7934 * sysdeps/sh/machine-gmon.h: New file.
7935 * sysdeps/sh/memcpy.S: New file.
7936 * sysdeps/sh/memprof.h: New file.
7937 * sysdeps/sh/memset.S: New file.
7938 * sysdeps/sh/sh3/__longjmp.S: New file.
7939 * sysdeps/sh/sh3/bits/endian.h: New file.
7940 * sysdeps/sh/sh3/bits/huge_val.h: New file.
7941 * sysdeps/sh/sh3/bits/setjmp.h: New file.
7942 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
7943 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
7944 * sysdeps/sh/sh3/dl-machine.h: New file.
7945 * sysdeps/sh/sh3/setjmp.S: New file.
7946 * sysdeps/sh/sh4/__longjmp.S: New file.
7947 * sysdeps/sh/sh4/bits/endian.h: New file.
7948 * sysdeps/sh/sh4/bits/huge_val.h: New file.
7949 * sysdeps/sh/sh4/bits/setjmp.h: New file.
7950 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
7951 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
7952 * sysdeps/sh/sh4/dl-machine.h: New file.
7953 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
7954 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
7955 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
7956 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
7957 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
7958 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
7959 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
7960 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
7961 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
7962 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
7963 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
7964 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
7965 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
7966 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
7967 * sysdeps/sh/sh4/setjmp.S: New file.
7968 * sysdeps/sh/elf/start.S: New file.
7969 * sysdeps/sh/sys/ucontext.h: New file.
7970 * sysdeps/sh/strlen.S: New file.
7971 * sysdeps/sh/sysdep.h: New file.
7972 * sysdeps/unix/sh/sysdep.S: New file.
7973 * sysdeps/unix/sh/sysdep.h: New file.
7974 * sysdeps/unix/sysv/linux/sh/Dist: New file.
7975 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
7976 * sysdeps/unix/sysv/linux/sh/Versions: New file.
7977 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
7978 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
7979 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
7980 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
7981 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
7982 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
7983 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
7984 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
7985 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
7986 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
7987 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
7988 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
7989 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
7990 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
7991 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
7992 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
7993 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
7994 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
7995 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
7996 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
7997 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
7998 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
7999 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
8000 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
8001 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
8002 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
8003 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
8004 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
8005 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
8006 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
8007 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
8008 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
8009 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
8010 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
8011 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
8012 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
8013 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
8014 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
8015 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
8016 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
8017 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8018 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
8019 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
8020 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
8021 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
8022 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
8023 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
8025 2000-06-12 Ulrich Drepper <drepper@redhat.com>
8027 * Rules (%.out): Define GCONV_PATH in the environment.
8028 * assert/Depend: New file.
8029 * iconvdata/Depend: New file.
8030 * intl/Depend: New file.
8031 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
8032 * intl/tst-gettext.sh: Likewise.
8033 * iconv/Makefile (routines): Add gconv_trans.
8034 * iconv/gconv_trans.c: New file.
8035 * iconv/gconv.h (struct __gconv_trans_data): New type.
8036 (__gconv_fct): New parameter with starting position in output buffer.
8037 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
8038 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
8039 (struct __gconv_step): Add new member __trans.
8040 * iconv/gconv_int.h: Pretty print prototypes.
8041 (gconv_transliterate): New prototype.
8042 (__BUILTIN_TRANS): Update for new conversion function interface.
8043 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
8044 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
8045 in names, find appropriate function, and install in the conversion
8046 steps it can be used.
8047 * iconv/skeleton.c: Add additional parameter for beginning of output
8048 buffer. Change calls of downstream functions.
8049 * iconv/loop.c: Change loop function interface completely. Pass in
8050 step and step_data structure. Remove optimization for BODY with
8051 NEED_LENGTH_TEST == 0.
8052 * iconv/gconv_simple.c: Update interfaces of functions. Insert
8053 appropriate error handling code to use transliteration steps. Remove
8054 optimization for BODY with NEED_LENGTH_TEST == 0.
8055 * iconvdata/8bit-gap.c: Likewise.
8056 * iconvdata/8bit-generic.c: Likewise.
8057 * iconvdata/ansi_x3.110.c: Likewise.
8058 * iconvdata/big5.c: Likewise.
8059 * iconvdata/big5hkscs.c: Likewise.
8060 * iconvdata/euc-cn.c: Likewise.
8061 * iconvdata/euc-jp.c: Likewise.
8062 * iconvdata/euc-kr.c: Likewise.
8063 * iconvdata/euc-tw.c: Likewise.
8064 * iconvdata/gbgbk.c: Likewise.
8065 * iconvdata/gbk.c: Likewise.
8066 * iconvdata/iso-2022-cn.c: Likewise.
8067 * iconvdata/iso-2022-jp.c: Likewise.
8068 * iconvdata/iso-2022-kr.c: Likewise.
8069 * iconvdata/iso646.c: Likewise.
8070 * iconvdata/iso8859-1.c: Likewise.
8071 * iconvdata/iso_6937-2.c: Likewise.
8072 * iconvdata/iso_6937.c: Likewise.
8073 * iconvdata/johab.c: Likewise.
8074 * iconvdata/sjis.c: Likewise.
8075 * iconvdata/t.61.c: Likewise.
8076 * iconvdata/uhc.c: Likewise.
8077 * iconvdata/unicode.c: Likewise.
8078 * iconvdata/utf-16.c: Likewise.
8079 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
8081 * wcsmbs/btowc.c: Likewise.
8082 * wcsmbs/mbrtowc.c: Likewise.
8083 * wcsmbs/mbsnrtowcs.c: Likewise.
8084 * wcsmbs/mbsrtowcs.c: Likewise.
8085 * wcsmbs/wcrtomb.c: Likewise.
8086 * wcsmbs/wcsnrtombs.c: Likewise.
8087 * wcsmbs/wcsrtombs.c: Likewise.
8088 * wcsmbs/wctob.c: Likewise.
8090 2000-04-11 Geoff Keating <geoffk@cygnus.com>
8092 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
8093 other header files. Mention about 128-byte cache line sizes.
8094 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
8095 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
8096 for current calling sequence.
8097 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
8099 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
8100 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8102 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
8103 and setrlimit syscalls for backwards compatibility.
8105 2000-06-10 Ulrich Drepper <drepper@redhat.com>
8107 * iconv/skeleton.c: Rename converted written to correcter name
8109 * iconv/gconv.c: Rename converted variable to correcter name
8111 * iconv/gconv_int.h: Likewise.
8112 * iconv/gconv_simple.c: Likewise.
8113 * iconv/iconv.c: Likewise.
8114 * iconv/loop.c: Likewise.
8115 * iconvdata/8bit-gap.c: Likewise.
8116 * iconvdata/8bit-generic.c: Likewise.
8117 * iconvdata/ansi_x3.110.c: Likewise.
8118 * iconvdata/big5.c: Likewise.
8119 * iconvdata/big5hkscs.c: Likewise.
8120 * iconvdata/euc-cn.c: Likewise.
8121 * iconvdata/euc-jp.c: Likewise.
8122 * iconvdata/euc-kr.c: Likewise.
8123 * iconvdata/gbgbk.c: Likewise.
8124 * iconvdata/gbk.c: Likewise.
8125 * iconvdata/iso-2022-cn.c: Likewise.
8126 * iconvdata/iso-2022-jp.c: Likewise.
8127 * iconvdata/iso-2022-kr.c: Likewise.
8128 * iconvdata/iso646.c: Likewise.
8129 * iconvdata/iso8859-1.c: Likewise.
8130 * iconvdata/iso_6937-2.c: Likewise.
8131 * iconvdata/iso_6937.c: Likewise.
8132 * iconvdata/johab.c: Likewise.
8133 * iconvdata/sjis.c: Likewise.
8134 * iconvdata/t.61.c: Likewise.
8135 * iconvdata/uhc.c: Likewise.
8136 * iconvdata/unicode.c: Likewise.
8137 * iconvdata/utf-16.c: Likewise.
8139 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
8140 __cmsg_data field with __extension__.
8142 2000-06-10 David Mosberger <davidm@hpl.hp.com>
8144 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
8146 2000-06-10 Ulrich Drepper <drepper@redhat.com>
8148 * iconv/gconv_simple.c: Fix various small bugs in several
8151 * iconv/loop.c: Fix comment.
8153 2000-06-10 Jakub Jelinek <jakub@redhat.com>
8155 * elf/link.h: Remove libc internal declarations.
8156 * include/link.h: Move them here.
8158 2000-06-09 Ulrich Drepper <drepper@redhat.com>
8160 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
8161 Patch by Dan Pop <Dan.Pop@cern.ch>.
8163 Rewrite error message handling.
8164 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
8166 * elf/dl-error (struct catch): Add objname member.
8167 (_dl_signal_error): Take new parameter with object name. When
8168 passing message on simply store object name and duplicate error
8170 (_dl_catch_error): Take new parameter. Store object name in the
8172 * include/dlfcn.h: Adjust _dl_catch_error prototype.
8173 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
8174 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
8175 (dlerror): Add objname to asprintf() parameters.
8176 (_dl_error_run): Pass new parameter to _dl_catch_error.
8177 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
8178 * elf/dl-open.c (_dl_open): Likewise.
8179 * elf/rtld.c (dl_main): Likewise.
8180 * elf/dl-close.c: Mark error messages with N_().
8181 * elf/dl-deps.c: Likewise.
8182 * elf/dl-error.c: Likewise.
8183 * elf/dl-load.c: Likewise.
8184 * elf/dl-open.c: Likewise.
8185 * elf/dl-reloc.c: Likewise.
8186 * elf/dl-support.c: Likewise.
8187 * elf/dl-sym.c: Likewise.
8188 * elf/dl-version.c: Likewise.
8189 * elf/dl-lookup.c: Add comments about problems with error message
8191 * elf/dl-reloc.c: Likewise.
8192 * elf/dl-version.c: Likewise.
8194 2000-06-09 H.J. Lu <hjl@gnu.org>
8196 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
8199 * dlfcn/Makefile (distribute): Add failtestmod.c.
8200 (tests): Add failtest.
8201 Add rules to build and run failtest.
8202 * dlfcn/failtest.c: New file.
8203 * dlfcn/failtestmod.c: New file.
8205 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
8207 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
8208 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
8209 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
8210 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
8211 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
8213 2000-06-09 Jes Sorensen <jes@linuxcare.com>
8215 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
8216 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
8218 2000-06-09 Jes Sorensen <jes@linuxcare.com>
8219 Ulrich Drepper <drepper@redhat.com>
8221 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
8222 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
8223 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
8224 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
8225 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
8226 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
8228 2000-06-09 Ulrich Drepper <drepper@redhat.com>
8230 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
8231 to find correct mount point despite wrong information from the
8234 2000-06-09 Jes Sorensen <jes@linuxcare.com>
8236 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
8237 the address of a symbol so function pointers are handled properly.
8239 2000-06-08 Ulrich Drepper <drepper@redhat.com>
8241 * sysdeps/i386/Dist: Add bp-asm.h.
8243 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
8244 defaultdir variable instead of "/var/shm" everywhere.
8245 (defaultdir): Change to /dev/shm/.
8247 2000-06-08 Greg McGary <greg@mcgary.org>
8249 * sysdeps/i386/bp-asm.h: New file.
8250 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
8251 offsets. Add ENTER/LEAVE macros for optionally maintaining
8252 frame-pointer chain when debugging.
8253 * sysdeps/i386/add_n.S: Likewise.
8254 * sysdeps/i386/addmul_1.S: Likewise.
8255 * sysdeps/i386/lshift.S: Likewise.
8256 * sysdeps/i386/memchr.S: Likewise.
8257 * sysdeps/i386/memcmp.S: Likewise.
8258 * sysdeps/i386/mul_1.S: Likewise.
8259 * sysdeps/i386/rawmemchr.S: Likewise.
8260 * sysdeps/i386/rshift.S: Likewise.
8261 * sysdeps/i386/stpcpy.S: Likewise.
8262 * sysdeps/i386/stpncpy.S: Likewise.
8263 * sysdeps/i386/strchr.S: Likewise.
8264 * sysdeps/i386/strchrnul.S: Likewise.
8265 * sysdeps/i386/strcspn.S: Likewise.
8266 * sysdeps/i386/strpbrk.S: Likewise.
8267 * sysdeps/i386/strrchr.S: Likewise.
8268 * sysdeps/i386/strspn.S: Likewise.
8269 * sysdeps/i386/strtok.S: Likewise.
8270 * sysdeps/i386/sub_n.S: Likewise.
8271 * sysdeps/i386/submul_1.S: Likewise.
8272 * sysdeps/i386/elf/setjmp.S: Likewise.
8273 * sysdeps/i386/i486/strcat.S: Likewise.
8274 * sysdeps/i386/i486/strlen.S: Likewise.
8275 * sysdeps/i386/i586/add_n.S: Likewise.
8276 * sysdeps/i386/i586/lshift.S: Likewise.
8277 * sysdeps/i386/i586/memcpy.S: Likewise.
8278 * sysdeps/i386/i586/memset.S: Likewise.
8279 * sysdeps/i386/i586/rshift.S: Likewise.
8280 * sysdeps/i386/i586/strchr.S: Likewise.
8281 * sysdeps/i386/i586/strcpy.S: Likewise.
8282 * sysdeps/i386/i586/strlen.S: Likewise.
8283 * sysdeps/i386/i586/sub_n.S: Likewise.
8284 * sysdeps/i386/i686/add_n.S: Likewise.
8285 * sysdeps/i386/i686/memcpy.S: Likewise.
8286 * sysdeps/i386/i686/mempcpy.S: Likewise.
8287 * sysdeps/i386/i686/memset.S: Likewise.
8288 * sysdeps/i386/i686/strcmp.S: Likewise.
8290 2000-06-08 Ulrich Drepper <drepper@redhat.com>
8292 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
8294 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
8295 256 and don't use OPEN_MAX.
8297 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
8298 use it instead of LINK_MAX.
8299 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
8301 2000-06-08 Andreas Jaeger <aj@suse.de>
8303 * libio/genops.c (_IO_list_lock): Only compile body if we're
8305 (_IO_list_unlock): Likewise.
8306 (_IO_list_resetlock): Likewise.
8308 2000-06-07 Ulrich Drepper <drepper@redhat.com>
8310 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
8311 unless user defined it.
8313 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
8314 if not defined by the user.
8316 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
8317 * libio/iofwrite.c (_IO_fwrite): Likewise.
8319 * time/time.h: Add missing __THROW for clock_getcpuclockid
8322 * elf/Makefile (distribute): Add dl-dtprocnum.h.
8323 * include/elf.h: Include also <dl-dtprocnum.h>.
8324 * elf/dl-deps.c: Likewise.
8325 * elf/dl-lookup.c: Likewise.
8326 * elf/dl-runtime.c: Likewise.
8327 * elf/dl-version.c: Likewise.
8328 * elf/do-rel.h: Likewise.
8329 * elf/dynamic-link.h: Likewise.
8330 * elf/link.h: Likewise.
8331 * elf/rtld.c: Likewise.
8332 * sysdeps/generic/dl-dtprocnum.h: New file.
8333 * sysdeps/ia64/dl-dtprocnum.h: New file.
8334 * sysdeps/mips/dl-dtprocnum.h: New file.
8335 * sysdeps/sparc/dl-dtprocnum.h: New file.
8337 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
8339 * elf/do-lookup.h: Add some __builtin_expect.
8341 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
8343 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
8344 (_dl_dynamic_weak): New variable.
8345 * elf/dl-support.c: Likewise.
8346 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
8347 * elf/do-lookup.h: If we find a weak definition treat it like a
8348 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
8349 case treat it like before.
8351 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
8353 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
8355 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
8356 using l_map_start and l_map_end.
8358 * elf/dl-version.c: Add __builtin_expect in many places.
8360 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
8363 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
8365 Lock for stdio stream list becomes global, for use in LinuxThreads.
8367 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
8368 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
8369 _IO_list_resetlock): New interface for iterating global list of
8370 streams without accessing the _IO_list_all global variable,
8371 and for manipulating the lock which protects this list.
8372 * libio/libioP.h: Likewise.
8373 * libio/Version: Add entries for the new functions.
8375 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
8376 pointer to _IO_FILE.
8378 2000-06-07 Ulrich Drepper <drepper@redhat.com>
8380 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
8381 BIT() must actually be BITw().
8383 * locale/programs/ld-ctype.c: Handle SP and space consistently.
8385 * locale/programs/charmap.c: Allow string arguments for
8386 code_set_name and repertoiremap.
8388 2000-06-07 Andreas Jaeger <aj@suse.de>
8390 * elf/Makefile: Build ldconfig only when building shared libraries.
8392 2000-06-07 Jakub Jelinek <jakub@redhat.com>
8394 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
8396 (fdimf, __fdim, fdim): Likewise.
8398 2000-06-07 Ulrich Drepper <drepper@redhat.com>
8400 * locale/findlocale.c: Add __builtin_expect in many places.
8401 * locale/loadlocale.c: Likewise.
8403 2000-06-06 Greg McGary <greg@mcgary.org>
8405 * sysdeps/mips/elf/start.S: Trim redundant code.
8407 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
8408 Use C comments throughout. Line up operands column with tabs.
8409 * sysdeps/powerpc/strchr.S: Likewise.
8410 * sysdeps/powerpc/strcmp.S: Likewise.
8411 * sysdeps/powerpc/strcpy.S: Likewise.
8412 * sysdeps/powerpc/strlen.S: Likewise.
8414 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
8415 Get low part of &__curbrk with @l.
8417 2000-06-06 Ulrich Drepper <drepper@redhat.com>
8419 * iconvdata/utf-16.c: Add __builtin_expect in many places.
8420 * iconvdata/unicode.c: Likewise.
8421 * iconvdata/uhc.c: Likewise.
8422 * iconvdata/t.61.c: Likewise.
8423 * iconvdata/sjis.c: Likewise.
8424 * iconvdata/johab.c: Likewise.
8425 * iconvdata/iso_6937.c: Likewise.
8426 * iconvdata/iso_6937-2.c: Likewise.
8427 * iconvdata/iso8859-1.c: Likewise.
8428 * iconvdata/iso646.c: Likewise.
8429 * iconvdata/iso-2022-kr.c: Likewise.
8430 * iconvdata/iso-2022-jp.c: Likewise.
8431 * iconvdata/iso-2022-cn.c: Likewise.
8432 * iconvdata/gbgbk.c: Likewise.
8433 * iconvdata/gbk.c: Likewise.
8434 * iconvdata/euc-kr.c: Likewise.
8435 * iconvdata/euc-jp.c: Likewise.
8436 * iconvdata/euc-cn.c: Likewise.
8438 2000-06-05 Ulrich Drepper <drepper@redhat.com>
8440 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
8441 * iconvdata/big5.c: Likewise.
8442 * iconvdata/ansi_x3.110.c: Likewise.
8443 * iconvdata/8bit-generic.c: Likewise.
8444 * iconvdata/8bit-gap.c: Likewise.
8445 * iconv/loop.c: Likewise.
8446 * iconv/gconv_db.c: Likewise.
8447 * iconv/gconv_dl.c: Likewise.
8448 * iconv/gconv_simple.c: Likewise.
8449 * iconv/skeleton.c: Likewise.
8451 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
8452 (struct __gconv_step_data): Rename __is_last to __flags.
8453 * iconv/gconv_close.c: Change all uses of __is_last.
8454 * iconv/skeleton.c: Likewise.
8455 * iconvdata/iso-2022-cn.c: Likewise.
8456 * iconvdata/iso-2022-jp.c: Likewise.
8457 * iconvdata/iso-2022-kr.c: Likewise.
8458 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
8459 Recognize IGNORE error handling, set flag, and remove from name.
8460 * iconv/loop.c (ignore_errors_p): Define.
8461 Add flags parameter to both functions.
8462 * iconv/skeleton.c: Pass flags to all conversion functions.
8463 * iconv/gconv_simple.c: Add flags parameter to all functions.
8464 Don't return error for invald error if ignore flag is set.
8465 (ucs4_internal_loop_single): Add missing pointer increment.
8466 (internal_ucs4le_loop_single): Likewise.
8467 * iconv/iconv_prog.c: Implement handling of -c parameter.
8468 * iconvdata/8bit-gap.c: Don't return error for invald error if
8470 * iconvdata/8bit-generic.c: Likewise.
8471 * iconvdata/ansi_x3.110.c: Likewise.
8472 * iconvdata/big5.c: Likewise.
8473 * iconvdata/big5hkscs.c: Likewise.
8474 * iconvdata/euc-cn.c: Likewise.
8475 * iconvdata/euc-jp.c: Likewise.
8476 * iconvdata/euc-kr.c: Likewise.
8477 * iconvdata/gbgbk.c: Likewise.
8478 * iconvdata/gbk.c: Likewise.
8479 * iconvdata/iso-2022-cn.c: Likewise.
8480 * iconvdata/iso-2022-jp.c: Likewise.
8481 * iconvdata/iso-2022-kr.c: Likewise.
8482 * iconvdata/iso646.c: Likewise.
8483 * iconvdata/iso8859-1.c: Likewise.
8484 * iconvdata/iso_6937-2.c: Likewise.
8485 * iconvdata/iso_6937.c: Likewise.
8486 * iconvdata/johab.c: Likewise.
8487 * iconvdata/sjis.c: Likewise.
8488 * iconvdata/t.61.c: Likewise.
8489 * iconvdata/uhc.c: Likewise.
8490 * iconvdata/unicode.c: Likewise.
8491 * iconvdata/utf-16.c: Likewise.
8492 * libio/fileops.c: Likewise.
8493 * libio/iofwide.c: Likewise.
8494 * wcsmbs/btowc.c: Likewise.
8495 * wcsmbs/mbrtowc.c: Likewise.
8496 * wcsmbs/mbsnrtowcs.c: Likewise.
8497 * wcsmbs/mbsrtowcs.c: Likewise.
8498 * wcsmbs/wcrtomb.c: Likewise.
8499 * wcsmbs/wcsnrtombs.c: Likewise.
8500 * wcsmbs/wcsrtombs.c: Likewise.
8501 * wcsmbs/wctob.c: Likewise.
8503 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
8506 2000-06-04 Ulrich Drepper <drepper@redhat.com>
8508 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
8509 counter for the object we are releasing, just decrement it.
8510 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
8512 2000-06-04 Jakub Jelinek <jakub@redhat.com>
8514 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
8517 2000-06-04 Ulrich Drepper <drepper@redhat.com>
8519 * iconvdata/big5hkscs.c: New file.
8520 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
8522 * iconvdata/gconv-modules: Add entry for new module.
8523 * iconvdata/Makefile (modules): Add BIG5HKSCS.
8524 (distribute): Add big5hkscs.c.
8526 2000-06-01 Jakub Jelinek <jakub@redhat.com>
8528 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
8529 inlines to match prototypes in mathcalls.h.
8530 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
8531 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
8532 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
8533 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8535 2000-06-03 Ulrich Drepper <drepper@redhat.com>
8537 * elf/elf.h (SHT_SUNW_move): Define.
8539 * elf/elf.h: Add more Solaris compatiblity definitions.
8541 2000-06-03 Andreas Jaeger <aj@suse.de>
8543 * sysdeps/powerpc/dl-start.S: Close open comment.
8545 2000-06-03 Jakub Jelinek <jakub@redhat.com>
8547 * inet/Versions: Fix typo in rresvport_af export.
8549 2000-06-02 Ulrich Drepper <drepper@redhat.com>
8551 * math/tgmath.h: Pretty print.
8553 2000-06-02 Andreas Jaeger <aj@suse.de>
8555 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
8556 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8558 2000-06-02 Ulrich Drepper <drepper@redhat.com>
8560 * elf/rtld.c (process_envvars): Test for = after variable name.
8562 2000-06-01 Ulrich Drepper <drepper@redhat.com>
8564 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
8565 have extra call to __gmon_start__, use the pointer we already have.
8567 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
8570 * sysdeps/i386/elf/setjmp.S: Work around change is recent
8571 binutils. gas now emits a jump through the PLT instead of a
8572 relative jump if the jump target is an exported symbol.
8574 2000-05-31 Ulrich Drepper <drepper@redhat.com>
8576 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
8578 2000-05-31 Andreas Jaeger <aj@suse.de>
8580 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
8583 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
8584 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8586 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
8588 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
8590 2000-05-30 Ulrich Drepper <drepper@redhat.com>
8592 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
8594 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
8595 * locale/localeconv.c: Make function versioned (with same definition).
8597 * elf/Makefile (modules-names): Strip before using it.
8599 2000-05-30 Andreas Jaeger <aj@suse.de>
8601 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
8602 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
8603 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
8604 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
8605 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
8606 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
8608 2000-05-29 Ulrich Drepper <drepper@redhat.com>
8610 * Makefile: Add GNU make magic.
8612 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
8614 * inet/rcmd.c: Remove __P. Remove unused variables.
8615 (iruserfopen): Make first parameter const.
8616 (ruserok_sa): Return result of ruserok2_sa.
8617 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
8618 * inet/rexec.c: Remove unused variables. Other small cleanups.
8619 * inet/ruserpass.c: Remove __P. Remove unused variables.
8620 (ruserpass): Check results of memory allocation.
8621 * include/netdb.h: Add prototype for ruserpass.
8623 2000-05-29 Andreas Jaeger <aj@suse.de>
8625 * elf/readlib.c (interpreters): Use LD_SO since this is supported
8628 2000-05-29 Jakub Jelinek <jakub@redhat.com>
8630 * inet/rcmd.c (rresvport_af): Use correct port number.
8632 2000-05-26 Andreas Schwab <schwab@suse.de>
8634 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
8635 entries in all-sonames.
8636 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
8637 preserving the old name if different for compatibility.
8639 2000-05-29 Ulrich Drepper <drepper@redhat.com>
8641 * posix/Makefile (tests): Add tst-spawn.
8642 (tst-spawn-ARGS): New variable.
8643 * posix/tst-spawn.c: New file.
8645 * posix/spawn_faction_addclose.c: Correctly account for new entry.
8646 * posix/spawn_faction_adddup2.c: Likewise.
8647 * posix/spawn_faction_addopen.c: Likewise.
8648 * posix/spawni.c: Correctly test for success of dup2 calls.
8650 * posix/tst-preadwrite.c: Check success of malloc call.
8652 2000-05-28 Ulrich Drepper <drepper@redhat.com>
8654 * posix/Makefile (tests): Add tst-exec.
8655 (tst-exec-ARGS): New variable.
8656 * posix/tst-exec.c: New file.
8658 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
8660 2000-05-04 Andreas Jaeger <aj@suse.de>
8662 * string/string.h: Remove __strdup prototype, it's not needed in
8665 2000-05-28 Ulrich Drepper <drepper@redhat.com>
8667 * posix/Makefile (tests): Add tst-fork.
8668 * posix/tst-fork.c: New file.
8670 * resolv/inet_pton.c: Loose __P.
8672 2000-05-21 Jakub Jelinek <jakub@redhat.com>
8674 * libio/libioP.h (_IO_CHECK_WIDE): Define.
8675 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
8676 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
8677 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
8678 _IO_CHECK_WIDE fails.
8680 2000-05-28 Ulrich Drepper <drepper@redhat.com>
8682 * po/da.po: New file.
8684 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
8685 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
8687 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
8688 (Other iconv Implementations): Fix typo.
8689 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
8691 2000-05-27 Andreas Jaeger <aj@suse.de>
8693 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
8695 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
8696 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
8697 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8698 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8699 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
8700 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
8702 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
8703 endianness to decide how to pass arguments.
8704 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8706 * elf/vismain.c: Use test-skeleton interface.
8707 (TEST_FUNCTION): New macro.
8708 (do_test): Renamed from main.
8710 2000-05-27 Ulrich Drepper <drepper@redhat.com>
8712 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
8713 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
8715 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
8716 handling of AI_V4MAPPED flag.
8718 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
8719 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
8720 perform lookup for T_A type and tell getanswer_r to convert the
8721 result with new argument.
8722 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
8723 Don't convert addresses from IPv4 to IPv6 here.
8724 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
8725 IPv6 is wanted. Allow qtype and type from reply to disagree if
8726 IPv4 mapping has to be done. Perform mappings if required by the
8727 caller and not if RES_USE_INET6 bit in _res.options is set.
8728 Add several __builtin_expect.
8730 2000-05-26 Ulrich Drepper <drepper@redhat.com>
8732 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
8734 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
8737 * posix/tst-preadwrite.c: Allow parallel execution of
8738 tst-preadwrite and tst-preadwrite64.
8740 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
8741 * posix/tst-truncate.c: New file.
8742 * posix/tst-truncate64.c: New file.
8744 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
8747 * posix/Makefile (tests): Add tst-preadwrite64.
8748 * posix/tst-preadwrite.c: Alloc file being used also for testing
8749 pread64 and pwrite64.
8750 * posix/tst-preadwrite64.c: New file.
8752 2000-05-26 Andreas Jaeger <aj@suse.de>
8754 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
8755 of arguments dependend on endianness.
8756 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
8758 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
8760 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
8761 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
8762 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8763 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8765 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
8766 endianness to check how to pass argument.
8767 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
8769 * elf/ldconfig.h: Update parameter list for process_elf_file.
8771 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
8772 Add parameter file_length and pass it ot process_elf*file.
8774 * sysdeps/generic/readelflib.c (check_ptr): New.
8775 (process_elf_file): Use check_ptr to check all accesses to the
8776 mmapped file. Add parameter file_length.
8778 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
8781 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
8782 Closes PR libc/1573, reported by Bradley White
8783 <bww@laurelnetworks.com>.
8785 2000-05-25 Ulrich Drepper <drepper@redhat.com>
8787 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
8788 __FAST_MATH__ is defined.
8790 2000-05-22 Andreas Jaeger <aj@suse.de>
8792 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
8793 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
8795 * manual/math.texi (FP Function Optimizations): Document gcc
8796 -ffast-math behaviour with mathinlines.
8798 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
8799 functions unless -ffast-math is given to gcc.
8801 2000-05-23 Jakub Jelinek <jakub@redhat.com>
8803 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
8804 __sincosl): Guard with __USE_GNU.
8806 2000-05-24 Ulrich Drepper <drepper@redhat.com>
8808 * csu/Makefile (routines): Add check_fds.
8809 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
8810 binaries. Add various __builtin_expect.
8811 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
8812 * sysdeps/generic/check_fds.c: ...here. New file.
8814 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
8815 binaries if file /etc/suid-debug is available.
8817 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
8818 and wcseqorder members.
8819 (struct locale_collate_t): Likewise.
8820 (collate_finish): Assign collation sequence value to each character.
8821 Create tables for output.
8822 (collate_output): Write out tables with collation sequence information.
8823 * locale/C-collate.c: Provide C locale data for collation sequence
8825 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
8826 _NL_COLLATE_COLLSEQWC.
8827 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
8828 _NL_COLLATE_COLLSEQWC.
8829 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
8830 include fnmatch_loop.c.
8831 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
8832 character is matched by range expression. Use collation sequence
8833 table. Outside glibc fall back on simple character value comparison.
8835 2000-05-24 Andreas Jaeger <aj@suse.de>
8837 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
8840 * intl/Makefile: Run gettext-test only if msgfmt is available.
8842 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
8843 Define it for newer kernels.
8845 2000-05-23 Ulrich Drepper <drepper@redhat.com>
8847 * elf/dl-sym.c: Minor cleanups.
8849 * configure.in: Add test for .protected.
8850 * config.make.in: Add have-protected variable.
8851 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
8852 (tests-vis-yes): Add vismain.
8853 (modules-names): Add $(modules-vis-$(have-protected)).
8854 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
8855 Add rules to generate and run vismain.
8856 * elf/vismain.c: New file.
8857 * elf/vismod1.c: New file.
8858 * elf/vismod2.c: New file.
8859 * elf/vismod3.c: New file.
8861 2000-05-23 Andreas Jaeger <aj@suse.de>
8863 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
8865 * manual/search.texi (Array Sort Function): Document that qsort is
8866 not necessarily in-place.
8868 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
8869 Closes PR libc/1731.
8871 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
8872 * dirent/scandir64.c: Likewise.
8873 * pwd/getpw.c: Likewise.
8874 * stdlib/bsearch.c (bsearch): Likewise.
8875 * stdlib/tst-strtoll.c: Likewise.
8876 * localedata/collate-test.c: Likewise.
8877 * localedata/xfrm-test.c: Likewise.
8878 * posix/bsd-getpgrp.c: Likewise.
8879 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
8880 * sysdeps/generic/bits/siginfo.h: Likewise.
8881 * sysdeps/generic/bits/sockaddr.h: Likewise.
8882 * sysdeps/generic/sys/swap.h: Likewise.
8883 * sysdeps/generic/sys/sysinfo.h: Likewise.
8884 * sysdeps/generic/vfork.c: Likewise.
8885 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
8886 * sysdeps/mach/hurd/fdopen.c: Likewise.
8887 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
8888 * sysdeps/unix/sysv/linux/poll.c: Likewise.
8889 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8890 * sysdeps/unix/sysv/linux/writev.c: Likewise.
8891 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8892 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8893 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
8895 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
8896 * shadow/lckpwdf.c: Likewise.
8897 * stdlib/tst-strtol.c: Likewise.
8898 * sysdeps/generic/tcsetattr.c: Likewise.
8899 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8900 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8902 2000-05-22 Jakub Jelinek <jakub@redhat.com>
8904 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
8905 free it and set to (void *) -1.
8907 2000-05-22 Jakub Jelinek <jakub@redhat.com>
8909 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
8910 not the second character in the range.
8911 * stdio-common/tstscanf.c (main): Add testcase for the above.
8912 Reported by jik@kamens.brookline.ma.us.
8914 2000-05-21 H.J. Lu <hjl@gnu.org>
8916 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
8917 with noexec and noplt parameter.
8918 (do_lookup): Likewise.
8920 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
8921 do_lookup. Support STV_PROTECTED.
8922 (_dl_lookup_symbol_skip): Likewise.
8923 (_dl_lookup_versioned_symbol): Likewise.
8924 (_dl_lookup_versioned_symbol_skip): Likewise.
8926 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
8928 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
8930 2000-05-21 Jakub Jelinek <jakub@redhat.com>
8932 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
8933 * sysdeps/i386/bits/huge_val.h: Likewise.
8934 * sysdeps/ieee754/bits/huge_val.h: Likewise.
8935 * sysdeps/m68k/bits/huge_val.h: Likewise.
8936 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
8937 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
8939 2000-05-22 Andreas Jaeger <aj@suse.de>
8941 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
8944 2000-05-19 Andreas Jaeger <aj@suse.de>
8946 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
8947 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
8948 breaks compilation without linuxthreads.
8950 2000-05-21 Ulrich Drepper <drepper@redhat.com>
8952 * sysdeps/ia64/memccpy.S: New file.
8953 * sysdeps/ia64/memchr.S: New file.
8954 * sysdeps/ia64/memcmp.S: New file.
8955 * sysdeps/ia64/memcpy.S: New file.
8956 * sysdeps/ia64/memmove.S: New file.
8957 * sysdeps/ia64/memset.S: New file.
8958 * sysdeps/ia64/strcat.S: New file.
8959 * sysdeps/ia64/strchr.S: New file.
8960 * sysdeps/ia64/strcmp.S: New file.
8961 * sysdeps/ia64/strcpy.S: New file.
8962 * sysdeps/ia64/strlen.S: New file.
8963 * sysdeps/ia64/strncmp.S: New file.
8964 * sysdeps/ia64/strncpy.S: New file.
8965 * sysdeps/ia64/softpipe.h: New file.
8966 Patches by Dan Pop <Dan.Pop@cern.ch>.
8968 * manual/memory.texi: Document memory handling functions (mlock,
8969 munlock, mlockall, munlockall, brk, and sbrk)
8970 * manual/time.texi: Document timespec and friends.
8971 * manual/conf.texi: Fix references.
8972 * manual/ctype.texi: Likewise.
8973 * manual/errno.texi: Likewise.
8974 * manual/intro.texi: Likewise.
8975 * manual/locale.texi: Likewise.
8976 * manual/sysinfo.texi: Likewise.
8977 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8979 2000-05-09 Jes Sorensen <jes@linuxcare.com>
8981 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
8982 * sysdeps/ia64/dl-lookupcfg.h: ...here.
8984 2000-05-21 Jakub Jelinek <jakub@redhat.com>
8986 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
8989 2000-05-21 Ulrich Drepper <drepper@redhat.com>
8991 * locale/locale.h (struct lconv): Add new elements from ISO C99.
8992 * locale/localeconv.c: Initialize new elements from ISO C99.
8993 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
8994 new standard elements.
8995 * locale/categories.def: Adjust accordingly.
8997 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
8998 * iconv/iconv.c: Likewise.
8999 * conform/data/iconv.h-data: Likewise.
9000 * iconv/iconv_prog.c (process_block): Remove const from second
9002 (main): Remove const from addr definition.
9003 * manual/charset.texi (Generic Conversion Interface): Remove from
9004 inbuf parameter of iconv.
9006 * intl/dcigettext.c: Fix typo in comment.
9008 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
9010 * resolv/res_libc.c (_res): Initialize _sock to -1.
9012 2000-05-18 Jakub Jelinek <jakub@redhat.com>
9014 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
9015 (fopencookie@@GLIBC_2.2): New.
9016 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
9017 (fopencookie@GLIBC_2.0): New.
9018 * libio/Versions: Add fopencookie to GLIBC_2.2.
9020 2000-05-18 Andreas Jaeger <aj@suse.de>
9022 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
9023 Closes PR libc/1731.
9025 * manual/arith.texi (Parsing of Integers): Fix typo.
9026 Closes PR libc/1744, reported by blp@gnu.org.
9028 2000-05-17 Jakub Jelinek <jakub@redhat.com>
9030 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
9031 __extension__ to hexadecimal floating constant notation.
9032 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
9034 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
9035 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
9037 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
9038 HUGE_VALL): Likewise.
9039 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
9040 HUGE_VALL): Likewise.
9041 (HUGE_VALL): Set to HUGE_VAL on sparc32.
9043 2000-05-17 Andreas Jaeger <aj@suse.de>
9045 * string/envz.h: Add pure attributes if possible.
9047 * string/argz.h: argz_count is a pure function.
9049 * string/strings.h: Add pure and const attributes if possible.
9051 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
9052 possibly searching through the whole memory.
9053 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
9055 2000-05-17 Jakub Jelinek <jakub@redhat.com>
9057 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
9059 (_dl_cache_check_flags): Likewise.
9060 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
9063 2000-05-17 Andreas Jaeger <aj@suse.de>
9065 * manual/creature.texi (Feature Test Macros): Remove paragraph
9066 since the description is wrong.
9067 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
9069 * scripts/config.sub: New version.
9070 * scripts/config.guess: Likewise.
9071 * manual/texinfo.tex: Likewise.
9073 * time/test_time.args: Removed.
9074 * time/Makefile (test_time-ARGS): Added contents here instead.
9076 * posix/tstgetopt.args: Removed.
9077 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
9079 * Rules: Allow arguments for test files to be specified in
9080 Makefile with testname-ARGS; remove rules with .args in it.
9082 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
9083 remove old bogus rule for opendir-tst1.args.
9085 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
9087 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
9088 into objdir. This allows a readonly sourcetree.
9089 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
9091 2000-05-16 Andreas Jaeger <aj@suse.de>,
9092 David Huggins-Daines <dhd@linuxcare.com>
9094 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
9095 cache_data in case of only new cache format correctly.
9097 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
9100 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
9101 struct cache_file_new.
9103 * elf/cache.c (save_cache): Fix str_offset if only new cache is
9106 * elf/cache.c (save_cache): Align struct new_file_cache.
9107 (print_cache): Likewise.
9109 2000-05-13 Jakub Jelinek <jakub@redhat.com>
9111 * elf/soinit.c (__libc_global_ctors): Move
9112 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
9113 * resolv/resolv.h (__res_state): Added __attribute__((const)).
9114 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
9115 variable, don't define it to __res_state call.
9117 2000-05-13 Andreas Jaeger <aj@suse.de>
9119 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
9121 (AF_PPPOX): Likewise.
9122 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
9123 (AF_PPPOX): Likewise.
9125 2000-05-12 Andreas Jaeger <aj@suse.de>
9127 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
9128 Reported by tmoestl@gmx.net, closes PR libc/1732.
9130 2000-05-11 Jan Hubicka <jh@suse.cz>
9132 * misc/sys/cdefs.h: Add support for pure attribute.
9134 * include/string.h: Add __attribute_pure__ to various functions.
9135 * string/string.h: Likewise.
9137 2000-05-10 Jakub Jelinek <jakub@redhat.com>
9139 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
9141 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9143 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
9145 2000-05-10 Jakub Jelinek <jakub@redhat.com>
9147 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
9148 at proper place. Compute the high nibble correctly.
9150 2000-05-09 Jakub Jelinek <jakub@redhat.com>
9152 * elf/ldconfig.c: Include elf.h.
9154 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
9155 (_dl_vsym): Likewise.
9156 Reported by Owen Taylor <otaylor@redhat.com>.
9158 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
9161 2000-05-08 Andreas Jaeger <aj@suse.de>
9163 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
9165 * intl/bindtextdom.c (set_binding_values): Add prototype.
9167 2000-05-08 Jakub Jelinek <jakub@redhat.com>
9169 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
9170 call to elf_machine_fixup_plt.
9171 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9172 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9174 2000-05-08 Jakub Jelinek <jakub@redhat.com>
9176 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
9177 they are not dlclose'd from underneath us.
9179 2000-05-08 Andreas Schwab <schwab@suse.de>
9181 * posix/execle.c: Fix size parameter of memcpy.
9183 2000-05-08 Andreas Schwab <schwab@suse.de>
9185 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
9186 getpagesize syscall if available.
9188 2000-05-08 Andreas Jaeger <aj@suse.de>
9190 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
9193 2000-05-08 Jakub Jelinek <jakub@redhat.com>
9195 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
9196 sizeof(struct link_map *) chunks, not in bytes.
9198 2000-05-07 Ulrich Drepper <drepper@redhat.com>
9200 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
9201 only needed for locale.
9202 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
9203 It's only needed for catgets.
9204 Patches by Greg McGary <gkm@eng.ascend.com>.
9206 2000-05-07 Mark Kettenis <kettenis@gnu.org>
9208 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
9209 Remove duplicate <errno.h> include. Remove inclusion of
9210 <libintl.h> and "nsswitch.h".
9211 (set_cloexec_flag): New function, broken out of dbopen.
9212 (dbopen): Changed return type to `enum
9213 nss_status'. Mostly rewritten to make sure that we do not report
9214 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
9215 (internal_setent): Change return type to nss_status.
9216 Document, and make sure that the function
9217 behaves accordingly. Make dynamically loading the database
9218 library really thread-safe and return NSS_STATUS_UNAVAIL if it
9220 (db_cursor): Return ENOMEM is memory allocation failed. Remove
9222 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
9224 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
9225 c_get function member.
9226 * nss/nss_db/nss_db.h: Add and tweak some comments.
9227 (DBT): Move typedef before NSS_DBC typedef.
9228 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
9230 2000-05-07 H.J. Lu <hjl@gnu.org>
9232 * csu/initfini.c: Moved to ....
9233 * sysdeps/generic/initfini.c: ...here.
9235 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
9237 2000-05-07 Ulrich Drepper <drepper@redhat.com>
9239 * manual/resource.texi: Document POSIX scheduling functions.
9240 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9242 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
9243 reading anything. Reported by Andries.Brouwer@cwi.nl.
9245 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
9246 for x since promotion in comparison might leads to unexpected
9247 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
9249 * iconv/Makefile (tests): Add tst-iconv1.
9250 * iconv/tst-iconv1.c: New file.
9251 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
9252 empty input buffer over full output buffer.
9253 (ucs4_internal_loop): Likewise.
9254 (ucs4_internal_loop_unaligned): Likewise.
9255 (internal_ucs4le_loop): Likewise.
9256 (internal_ucs4le_loop_unaligned): Likewise.
9257 (ucs4le_internal_loop): Likewise.
9258 (ucs4le_internal_loop_unaligned): Likewise.
9259 Reported by yaoz@nih.gov.
9261 2000-05-06 Bruno Haible <haible@clisp.cons.org>
9263 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
9264 returned != __GCONV_OK, there is nothing to clean up.
9266 2000-05-06 Bruno Haible <haible@clisp.cons.org>
9268 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
9269 OUTPUT_CHARSET environment variables.
9271 2000-05-06 Andreas Jaeger <aj@suse.de>
9273 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
9274 (struct cache_file_new): New.
9275 (struct file_entry): New (moved from cache.c).
9276 (struct cache_file): New (moved from cache.c).
9278 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
9279 from _dl_load_cache_lookup.
9280 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
9281 the different cache formats.
9282 New variable cache_new for new format.
9284 * elf/ldconfig.h: Change according to changes in cache.c and
9285 ldconfig.c; remove cache_libcmp; add opt_format.
9287 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
9288 stuff that's defined in those headers.
9289 Add hwcap to struct lib_entry.
9290 (opt_format): New variable to select cache format.
9291 (options): Add format parameter.
9292 (is_hwcap): New function.
9293 (path_hwcap): New function.
9294 (parse_opt): Handle new format parameter.
9295 (search_dir): Handle hwcap, search also subdirectories with hwcap.
9297 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
9298 ldconfig is part of glibc.
9299 Include dl-cache.h and remove stuff that's defined there.
9300 (struct cache_entry): Add new member hwcap.
9301 (print_entry): Print hwcap, cleanup a bit.
9302 (print_cache): Print new and old formats.
9303 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
9304 (save_cache): Save new and old formats.
9305 (add_to_cache): Handle hwcap.
9307 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
9308 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
9309 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
9310 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
9311 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
9312 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
9314 2000-05-05 Bruno Haible <haible@clisp.cons.org>
9316 * intl/dcigettext.c (alignof): New macro.
9317 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
9318 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
9321 2000-05-05 Bruno Haible <haible@clisp.cons.org>
9323 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
9326 2000-05-06 Ulrich Drepper <drepper@redhat.com>
9328 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
9329 (mempcpy): Correct typo is parameter list.
9331 2000-05-06 Andreas Jaeger <aj@suse.de>
9333 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
9334 functions unless -ffast-math is given to gcc.
9336 2000-05-06 Ulrich Drepper <drepper@redhat.com>
9338 * po/ko.po: Update from translation team.
9340 2000-05-05 Ulrich Drepper <drepper@redhat.com>
9342 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
9343 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
9344 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
9345 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
9346 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
9347 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
9349 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
9350 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
9351 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
9353 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
9354 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
9355 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
9356 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
9358 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
9359 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
9361 2000-05-05 Jes Sorensen <jes@linuxcare.com>
9363 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
9364 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
9366 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
9367 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
9369 * sysdeps/ia64/Implies: New file.
9370 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
9371 * sysdeps/ia64/Makefile: New file.
9372 * sysdeps/ia64/gmp-mparam.h: New file,
9374 * sysdeps/ia64/elf/start.S: New file.
9376 * sysdeps/ia64/bits/fenv.h: New file.
9378 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
9380 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
9382 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
9384 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
9385 ia64 has 64 bit .hash entries just as the Alpha.
9387 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
9389 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
9391 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
9393 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
9394 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
9395 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
9396 * sysdeps/ia64/fpu/fegetenv.c: New file.
9397 * sysdeps/ia64/fpu/fegetexcept.c: New file.
9398 * sysdeps/ia64/fpu/fegetround.c: New file.
9399 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
9400 * sysdeps/ia64/fpu/fesetenv.c: New file.
9401 * sysdeps/ia64/fpu/fesetround.c: New file.
9402 * sysdeps/ia64/fpu/feupdateenv.c: New file.
9403 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
9404 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
9405 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
9406 * sysdeps/ia64/fpu/ftestexcept.c: New file.
9408 2000-05-05 Andreas Jaeger <aj@suse.de>
9410 * misc/tst-tsearch.c (main): Correct type for initstate argument.
9412 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
9413 (_dl_string_hwcap): New, does nothing.
9415 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
9416 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
9417 (_dl_string_hwcap): New function, converts from string to hwcap
9419 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
9420 (_DL_HWCAP_COUNT): New.
9421 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
9422 (_dl_string_hwcap): New function, converts from string to hwcap
9424 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
9425 (_DL_HWCAP_COUNT): New.
9426 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
9427 (_dl_string_hwcap): New function, converts from string to hwcap
9430 2000-05-05 Ulrich Drepper <drepper@redhat.com>
9432 * elf/Makefile (distribute): Add dl-lookupcfg.h.
9433 * sysdeps/ia64/Dist: New file.
9435 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
9436 parameter to mprotect and for variable assignments.
9438 2000-05-03 Jes Sorensen <jes@linuxcare.com>
9440 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
9441 validity of map before dereferencing it.
9443 * elf/dl-reloc.c (RESOLVE_MAP): Define.
9445 2000-05-02 Jes Sorensen <jes@linuxcare.com>
9447 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
9448 lookup to the arguments to elf_machine_fixup_plt().
9450 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
9451 of the symbol being resolved to input argument list and make the
9452 function return the pointer to the reloc.
9454 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
9455 return valuie to lookup_t and return the value.
9456 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
9457 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
9458 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
9459 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
9460 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
9461 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
9463 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
9464 Make it an inline function returning value after calling
9465 __elf_machine_fixup_plt().
9467 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
9470 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
9471 obtain the symbol address.
9473 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
9474 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
9476 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
9477 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
9480 2000-04-28 Jes Sorensen <jes@linuxcare.com>
9482 * elf/dl-runtime.c (fixup): Use the portable macros to get the
9483 symbol address of an object.
9485 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
9486 the symbol address of an object.
9488 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
9489 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
9490 (_dl_lookup_symbol_skip): Likewise.
9491 (_dl_lookup_versioned_symbol): Likewise.
9492 (_dl_lookup_versioned_symbol_skip): Likewise.
9494 2000-04-27 Jes Sorensen <jes@linuxcare.com>
9496 * elf/rtld.c (_dl_start): Get the function pointer return address
9497 via _dl_start_address for architectures that need a function
9498 pointer descriptor rather than just a pointer (ia64).
9500 * sysdeps/generic/dl-lookupcfg.h: New file.
9501 * sysdeps/ia64/dl-lookupcfg.h: New file.
9502 * sysdeps/ia64/dl-machine.h: New file.
9503 * sysdeps/ia64/dl-symaddr.c: New file.
9504 * sysdeps/ia64/dl-fptr.c: New file.
9506 * elf/elf.h: Add IA-64 specific definitions.
9508 2000-05-04 Jakub Jelinek <jakub@redhat.com>
9510 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
9513 2000-05-04 Jakub Jelinek <jakub@redhat.com>
9515 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
9518 2000-04-11 Geoff Keating <geoffk@cygnus.com>
9520 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
9521 symbol. Call _dl_init rather than the old way.
9523 2000-05-04 Ulrich Drepper <drepper@redhat.com>
9525 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
9526 test for pointer in range of DSO address space.
9528 2000-05-04 Andreas Jaeger <aj@suse.de>
9530 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
9532 2000-05-03 Ulrich Drepper <drepper@redhat.com>
9534 * locale/findlocale.c (_nl_find_locale): Add new parameter to
9535 calls of _nl_make_l10nflist.
9537 * libio/stdio.h: Make fseeko and ftello prototypes available is
9538 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
9540 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
9541 real unsetenv implementation from 1999-07-29 [PR libc/1714].
9543 2000-05-03 Bruno Haible <haible@clisp.cons.org>
9545 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
9546 before calling tfind.
9548 2000-03-05 Jakub Jelinek <jakub@redhat.com>
9550 * resolv/resolv.h (res_querydomain): Remove redefinition to
9551 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
9553 2000-05-03 Ulrich Drepper <drepper@redhat.com>
9555 * po/gl.po: Update from translation team.
9557 * manual/intro.texi (Program Basics): Change section title.
9558 * manual/process.texi: Fix reference.
9559 (Executing a File): Add reference exec in other section.
9560 * manual/signal.texi: Fix reference.
9561 * manual/startup.texi: Document syscall function.
9562 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
9564 2000-04-29 Bruno Haible <haible@clisp.cons.org>
9566 * intl/libintl.h (bind_textdomain_codeset): New declaration.
9567 * intl/bindtextdom.c (set_binding_values): New function.
9568 (bindtextdomain): Call it.
9569 (bind_textdomain_codeset): New function.
9570 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
9571 (free_mem): Free each binding's codeset.
9572 * intl/gettextP.h (struct binding): Add codeset field.
9573 (_nl_find_domain): Add domainbinding argument.
9574 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
9575 Pass it to _nl_make_l10nflist.
9576 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
9577 (_nl_make_l10nflist): Add domainbinding argument.
9578 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
9579 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
9580 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
9582 * manual/message.texi: New node "Charset conversion in gettext".
9584 2000-04-30 Bruno Haible <haible@clisp.cons.org>
9586 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
9587 appropriate. Handle possible __read error.
9589 2000-04-29 Bruno Haible <haible@clisp.cons.org>
9591 * intl/gettextP.h (__builtin_expect): Define as empty if not a
9593 * intl/loadinfo.h (__builtin_expect): Likewise.
9594 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
9595 __builtin_expect where appropriate.
9596 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9597 * intl/localealias.c (extend_alias_table): Return an error indicator.
9598 (read_alias_file): Bail out if extend_alias_table fails.
9600 2000-04-29 Bruno Haible <haible@clisp.cons.org>
9602 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
9603 * intl/localealias.c: Likewise.
9605 2000-05-01 Bruno Haible <haible@clisp.cons.org>
9607 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
9608 Initialize domain->plural and domain->nplurals even if there is no
9611 2000-05-01 Bruno Haible <haible@clisp.cons.org>
9613 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
9614 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
9615 In case of failure, goto converted.
9617 2000-05-01 Bruno Haible <haible@clisp.cons.org>
9619 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
9620 * iconv/gconv_int.h (norm_add_slashes): Move to here.
9621 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
9624 2000-04-29 Bruno Haible <haible@clisp.cons.org>
9626 * intl/dcigettext.c (transcmp): Compare the domains as well.
9627 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
9629 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
9632 2000-05-03 Ulrich Drepper <drepper@redhat.com>
9634 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
9635 Reported by Bruno Haible.
9637 2000-04-29 Bruno Haible <haible@clisp.cons.org>
9639 * manual/arith.texi: Remove @w from @itemize.
9641 2000-05-02 Andreas Jaeger <aj@suse.de>
9643 * conform/data/tar.h-data: Add some checks for specific values.
9645 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
9648 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
9651 * conform/data/netinet/in.h-data: Add exact checks for the values
9652 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
9654 * conform/data/float.h-data: Add some minimal values.
9656 * conform/conformtest.pl: Test for macros with string constants,
9657 check for minimum and maximum values.
9658 Add limits.h to headers.
9660 * conform/data/cpio.h-data: Test for value of MAGIC.
9662 * conform/data/limits.h-data: New file.
9664 2000-04-30 Bruno Haible <haible@clisp.cons.org>
9666 * math/Makefile (headers): Add bits/fenvinline.h.
9668 2000-05-01 Ulrich Drepper <drepper@redhat.com>
9670 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
9671 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
9673 * posix/Versions: Change posix_spawnattr_getdefault and
9674 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
9675 and posix_spawnattr_setsigdefault respectively.
9676 * posix/spawn.h: Likewise.
9677 * posix/spawnattr_getdefault.h: Likewise.
9678 * posix/spawnattr_setdefault.h: Likewise.
9679 * conform/data/spawn.h-data: Likewise.
9681 2000-05-01 Andreas Jaeger <aj@suse.de>
9683 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
9685 2000-04-30 Ulrich Drepper <drepper@redhat.com>
9687 * manual/sysinfo.texi: Document getdomainname, setdomainname
9689 * manual/string.texi: Fix typo.
9690 * manual/terminal.texi: Document gtty and stty.
9691 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9693 2000-04-30 Andreas Jaeger <aj@suse.de>
9695 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
9696 accordance with Austin Draft.
9698 2000-04-30 Ulrich Drepper <drepper@redhat.com>
9700 * catgets/gencat.c (read_input_file): Use isblank and not isspace
9701 to recognize second character in comment line.
9703 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
9704 ENOBUFS if we are out of memory.
9706 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
9707 available if __USE_XOPEN2K.
9708 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
9709 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9710 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
9711 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9712 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
9713 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9714 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
9715 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
9717 2000-04-29 Ulrich Drepper <drepper@redhat.com>
9719 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
9720 Recognize option -s, -c, and -l.
9722 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
9724 * nscd/nscd.c: Start new session for nscd, drop privilegs
9725 to configured user if requested and no -S parameter are used.
9726 * nscd/nscd.conf: Add new option "server-user".
9727 * nscd/nscd_conf.c: Add support for new "server-user" option.
9728 * nscd/nscd.h: Add declaration for server_user variable.
9729 Based on patch by Chris Wing <wingc@engin.umich.edu>
9731 2000-04-29 Mark Kettenis <kettenis@gnu.org>
9733 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
9734 that changing the __restore and __restore_rt signal return code
9737 2000-04-29 Mark Kettenis <kettenis@gnu.org>
9739 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
9742 2000-04-29 Mark Kettenis <kettenis@gnu.org>
9744 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
9746 2000-04-29 Ulrich Drepper <drepper@redhat.com>
9748 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
9749 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
9751 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
9752 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
9753 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
9754 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
9755 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
9756 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
9757 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
9758 posix_fallocate, and posix_madvise.
9759 * conform/data/netdb.h-data: New file.
9760 * conform/data/pthread.h-data: Add pthread_barrier_t,
9761 pthread_barrierattr_t, pthread_barrier_destroy,
9762 pthread_barrier_init, pthread_barrier_wait,
9763 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
9764 pthread_barrierattr_init, pthread_barrierattr_setpshared,
9765 pthread_condattr_getclock, pthread_condattr_setclock,
9766 pthread_getcpuclockid, pthread_mutex_timedlock,
9767 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
9768 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
9769 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
9770 * conform/data/sched.h-data: Add sched_ss_low_priority,
9771 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
9773 * conform/data/semaphore.h-data: Add sem_timedwait.
9774 * conform/data/signal.h-data: Add SIGIO.
9775 * conform/data/spawn.h-data: New file.
9776 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
9777 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
9778 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
9779 Fix typo in gmtime_r definition.
9780 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
9781 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
9782 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
9783 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
9784 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
9785 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
9786 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
9787 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
9788 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
9789 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
9790 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
9791 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
9792 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
9793 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
9794 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
9795 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
9796 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
9797 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
9798 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
9799 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
9800 typo in off_t definition.
9801 * conform/data/net/if.h-data: New file.
9802 * conform/data/netinet/in.h-data: New file.
9803 * conform/data/netinet/tcp.h-data: New file.
9804 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
9805 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
9806 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
9807 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
9808 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
9809 and posix_typed_mem_open.
9810 * conform/data/sys/socket.h-data: New file.
9811 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
9812 * conform/data/sys/types.h-data: Add pthread_barrier_t,
9813 pthread_barrierattr_t, and pthread_spinlock_t.
9814 * conform/data/sys/un.h-data: New file.
9815 * conform/data/sys/utsname.h-data: New file.
9817 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
9819 * inet/gethstbyad.c (gethostbyname): Likewise.
9820 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
9821 * inet/getipnodebyad.c (getipnodebyad): Likewise.
9822 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
9823 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
9825 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
9826 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
9827 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
9828 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
9829 * resolv/gethnamaddr.c (gethostbyname): Likewise.
9830 * resolv/netdb.h (struct hostent): Fix type of h_length member.
9831 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
9832 and second parameter.
9834 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
9837 2000-04-29 Andreas Jaeger <aj@suse.de>
9839 * conform/data/arpa/inet.h-data: New file.
9841 2000-04-28 Geoff Clare <gwc@unisoft.com>
9843 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
9844 path passed to ftw() or nftw() is an empty string.
9845 Closes PR libc/1710.
9847 2000-04-27 Ulrich Drepper <drepper@redhat.com>
9849 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
9850 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
9851 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
9852 * localedata/tst-mbswcs4.c: New file.
9853 * localedata/tst-mbswcs5.c: New file.
9855 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
9856 == NULL. Little optimization.
9858 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
9859 DT_PREINIT_ARRAYSZ).
9860 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
9862 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
9863 overflows in conversion from ASCII.
9865 2000-04-26 Jakub Jelinek <jakub@redhat.com>
9867 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
9868 * Makerules (full_config_sysdirs): Likewise.
9869 * MakeTAGS (full_config_sysdirs): Likewise.
9871 2000-04-26 Jakub Jelinek <jakub@redhat.com>
9873 * .cvsignore: Remove linuxthreads.
9874 * po/.cvsignore: Remove *.pot.
9875 * posix/glob/.cvsignore: Removed.
9876 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
9878 2000-04-25 Andreas Jaeger <aj@suse.de>
9880 * conform/Makefile (distribute): Also distribute contents of
9883 * Makerules (no_deps): Remove abi-versions.h.
9885 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
9887 2000-04-25 Jakub Jelinek <jakub@redhat.com>
9889 * sysdeps/sparc/sparc64/elf/Dist: Remove.
9890 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
9891 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
9892 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
9893 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
9894 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
9897 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
9899 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
9901 2000-04-23 Bruno Haible <haible@clisp.cons.org>
9903 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
9904 * intl/l10nflist.c: Likewise.
9906 2000-04-23 Bruno Haible <haible@clisp.cons.org>
9908 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
9909 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
9910 * intl/textdomain.c [!_LIBC]: Likewise.
9911 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
9912 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
9913 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
9916 2000-04-23 Bruno Haible <haible@clisp.cons.org>
9918 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
9919 character set conversion also in the case the translation was found
9920 after a hash collision or through binary search. Store the maximum
9921 index together with the converted message. Use iconv() when available.
9922 In case of out of memory during conversion, return the unconverted
9923 translated string, not NULL.
9925 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
9927 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
9928 to avoid name clashes with the ia32 linker.
9930 2000-04-25 Jakub Jelinek <jakub@redhat.com>
9932 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
9935 2000-04-27 Ulrich Drepper <drepper@redhat.com>
9937 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
9938 strtoumax, strfry, and memfrob.
9939 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
9940 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9942 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
9943 if this function is available.
9945 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
9948 2000-04-27 Jakub Jelinek <jakub@redhat.com>
9950 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
9952 2000-04-27 Ulrich Drepper <drepper@redhat.com>
9954 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
9955 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
9956 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
9957 * localedata/tst-mbswcs3.c: New file.
9959 2000-04-26 Ulrich Drepper <drepper@redhat.com>
9961 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
9962 characters. Don't handle incomplete characters as errors.
9963 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
9964 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
9965 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
9966 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
9967 * localedata/tst-mbswcs2.c: New file.
9969 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
9970 stored character in state in UNPACK_BYTES macro.
9971 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
9972 test for available characters, handle result of BODY code correctly.
9973 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
9974 (distribute): Add tst-mbswcs.sh.
9975 Add rule to run tst-mbswcs.sh.
9976 * localedata/tst-mbswcs.sh: New file.
9977 * localedata/tst-mbswcs1.c: New file.
9979 2000-04-26 Jakub Jelinek <jakub@redhat.com>
9981 * nis/nis_callback.c (__nis_create_callback): Do failed memory
9982 allocation fixups centrally, fix __builtin_expect call, return NULL
9983 on failure, not NIS_NOMEMORY.
9985 2000-04-27 Bruno Haible <haible@clisp.cons.org>
9987 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
9989 * intl/loadinfo.h (internal_function): Define if not already defined.
9991 2000-04-27 Andreas Jaeger <aj@suse.de>
9993 * intl/libintl.h: Fix typo, reported by Bruno Haible
9994 <haible@clisp.cons.org>.
9996 2000-04-25 Ulrich Drepper <drepper@redhat.com>
9998 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
9999 setting the state to GMON_PROF_BUSY.
10001 2000-04-24 Ulrich Drepper <drepper@redhat.com>
10003 * elf/dl-profile.c (_dl_start_profile): define all variables which
10004 do not have to be global as local variables.
10006 * nis/nis_callback.c (__nis_create_callback): Partially undo last
10007 patch. Keep needed tests for failed memory allocation.
10009 * elf/dl-reloc.c (_dl_relocate_object): Add one more
10010 __builtin_expect saying that we don't normally expect to profile.
10012 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
10013 __builtin_expect where desirable.
10015 2000-04-23 Ulrich Drepper <drepper@redhat.com>
10017 * manual/Makefile (chapters): Add syslog.
10018 * manual/syslog.texi: New file.
10019 * manual/math.texi: Fix references.
10020 * manual/terminal.texi: Likewise.
10021 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
10023 2000-04-18 Jakub Jelinek <jakub@redhat.com>
10025 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
10026 stdlib.h was not included or __USE_XOPEN not defined.
10028 2000-04-23 Ulrich Drepper <drepper@redhat.com>
10030 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
10031 Patch by Zack Weinberg <zack@wolery.cumb.org>.
10033 2000-04-22 Ulrich Drepper <drepper@redhat.com>
10035 * manual/examples/subopt.c (mount_opts): Add missing terminating
10037 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
10039 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
10040 * libio/ftello.c: Likewise.
10041 * libio/ftello64.c: Likewise.
10042 * libio/ioftell.c: Likewise.
10043 * sysdeps/generic/memrchr.c: Likewise.
10044 * sysdeps/posix/libc_fatal.c: Likewise.
10045 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10046 * misc/fstab.c: Include <string.h> for strcmp prototype.
10047 * sysdeps/generic/ldsodefs.h: Likewise.
10048 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10049 Patch by Kurt Roeckx <Q@ping.be>.
10051 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
10052 Remove db-open. Change all uses.
10053 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
10055 2000-04-21 Jakub Jelinek <jakub@redhat.com>
10057 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
10058 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
10059 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
10060 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
10061 with .set noat/at to shut up warnings.
10062 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
10063 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
10064 compilation if __NR_pciconfig_iobase is not defined.
10065 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
10068 2000-04-21 Ulrich Drepper <drepper@redhat.com>
10070 * manual/sysinfo.texi: Fix typo.
10071 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
10072 Replace "high precision time" with "high accuracy clock".
10074 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
10076 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
10077 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
10079 * nis/nis_subr.c: Use __builtin_expect.
10080 * nis/ypclnt.c: Likewise.
10081 * nis/nis_getservlist.c: Likewise.
10082 * nis/nis_creategroup.c: Likewise.
10084 * nis/nis_callback.c (__nis_create_callback): Check result of
10085 memory allocation. Fix memory leaks. Use __builtin_expect.
10086 (__nis_destroy_callback): Fix memory leaks.
10088 2000-04-21 Andreas Jaeger <aj@suse.de>
10090 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
10091 * sysdeps/mips/mips64/add_n.S: Likewise.
10092 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
10093 * sysdeps/mips/mips64/lshift.S: Likewise.
10094 * sysdeps/mips/mips64/mul_1.S: Likewise.
10095 * sysdeps/mips/mips64/rshift.S: Likewise.
10096 * sysdeps/mips/mips64/setjmp.S: Likewise.
10097 * sysdeps/mips/mips64/sub_n.S: Likewise.
10098 * sysdeps/mips/mips64/submul_1.S: Likewise
10099 * sysdeps/unix/mips/sysdep.S: Likewise.
10101 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
10102 and update comment. The strtab from _dl_relocate_object can be
10105 2000-04-21 Ulrich Drepper <drepper@redhat.com>
10107 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
10108 * iconv/iconv_close.c (iconv_close): Likewise.
10109 * iconv/iconv_open.c (iconv_open): Likewise.
10111 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
10112 __builtin_expect where useful.
10114 * grp/initgroups.c (initgroups): Test for result of memory
10115 allocation and punt if it fails.
10117 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
10118 * grp/fgetgrent.c (fgetfrent): Likewise.
10119 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
10121 2000-04-21 Jakub Jelinek <jakub@redhat.com>
10123 * libio/vasprintf.c: Include string.h to get memcpy prototype.
10125 2000-04-20 Ulrich Drepper <drepper@redhat.com>
10127 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
10128 don't search for NUL byte to decrement counter.
10129 Reported by Ulrich.Brink@sap.com.
10131 * iconv/gconv_simple.c: Define separate functions to convert from
10132 UCS4/UCS4-LE to the internal encoding.
10133 * iconv/gconv_builtin.h: Use separate functions to convert from
10134 UCS4/UCS4-LE to the internal encoding.
10135 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
10136 __gconv_transform_ucs4le_internal.
10138 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
10139 output buffer overflow. Reported by Ulrich.Brink@sap.com.
10141 * iconv/skeleton.c: Add some more __builtin_expect.
10142 * iconv/loop.c: Likewise.
10144 2000-03-08 H.J. Lu <hjl@gnu.org>
10146 * posix/regex.c (regex_compile): Correctly handle "\{" when
10147 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
10149 2000-04-20 Ulrich Drepper <drepper@redhat.com>
10151 * manual/stdio.texi: Give advise about handling error when using
10153 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
10155 2000-04-19 Jakub Jelinek <jakub@redhat.com>
10157 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
10158 field to nelems * sizeof (uint32_t).
10159 * locale/programs/ld-address.c (address_output): Align word fields
10161 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10162 Don't restart idx pointers to idx end at the duo_int_curr_symbol
10164 Avoid giving arbitrary garbage in the crncystr field.
10165 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
10166 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
10168 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10169 Don't restart idx pointers to idx end at the decimal_point_wc field.
10170 * locale/programs/ld-time.c (time_output): week_1stday should be
10171 word, not byte. Align it properly.
10173 2000-04-19 H.J. Lu <hjl@gnu.org>
10175 * csu/gmon-start.c (_start): Declared as "extern void".
10178 2000-04-18 Andreas Jaeger <aj@suse.de>
10180 * manual/install.texi (Running make install): Don't mention utmpd
10183 2000-04-18 Andreas Jaeger <aj@suse.de>
10185 * linuxthreads/Versions: Use ld instead of ld.so.
10187 * elf/Makefile (ld-map): Use ld.map.
10189 * Versions.def: Use ld instead of ld.so.
10190 * elf/Versions: Likewise.
10191 * sysdeps/mach/hurd/Versions: Likewise.
10193 2000-04-20 Andreas Jaeger <aj@suse.de>
10195 * elf/rtld.c (print_statistics): Move ifndef further up.
10196 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
10197 (dl_main): Likewise.
10199 2000-04-18 Ulrich Drepper <drepper@redhat.com>
10201 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
10202 * gmon/Versions: Move moncontrol to GLIBC_2.2.
10204 * po/cs.po: Update from translation team.
10206 * sysdeps/generic/updwtmp.c: Remove daemon support.
10208 * login/Makefile (routines): Remove utmp_daemon.
10210 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
10211 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
10212 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
10213 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
10215 * elf/rtld.c: Display statitics option also if hp timing is not
10218 * login/programs/connection.c: Removed.
10219 * login/programs/database.c Removed.
10220 * login/programs/error.c: Removed.
10221 * login/programs/request.c: Removed.
10222 * login/programs/xtmp.c: Removed.
10223 * login/programs/xtmp.h: Removed.
10224 * login/Makefile: Remove rules for utmpd.
10225 * login/README.utmpd: Removed.
10226 * login/utmp_daemon.c: Removed.
10227 * login/getutent_r.c: Remove references to daemon functions.
10228 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
10231 2000-04-18 Andreas Jaeger <aj@suse.de>
10233 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
10234 2.2 for libnsl, libresolv, librt, libnss_*.
10236 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
10238 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
10240 2000-04-18 Ulrich Drepper <drepper@redhat.com>
10242 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
10243 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
10244 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
10245 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
10246 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
10247 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
10248 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
10249 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
10250 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
10251 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
10252 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
10253 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
10254 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
10256 * sysdeps/unix/sysv/aix/msync.c: New file.
10257 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
10258 * sysdeps/unix/sysv/aix/net/if.h: New file.
10259 * sysdeps/unix/sysv/aix/pipe.c: New file.
10260 * sysdeps/unix/sysv/aix/poll.c: New file.
10261 * sysdeps/unix/sysv/aix/rename.c: New file.
10262 * sysdeps/unix/sysv/aix/rmdir.c: New file.
10263 * sysdeps/unix/sysv/aix/select.c: New file.
10264 * sysdeps/unix/sysv/aix/semctl.c: New file.
10265 * sysdeps/unix/sysv/aix/semget.c: New file.
10266 * sysdeps/unix/sysv/aix/semop.c: New file.
10267 * sysdeps/unix/sysv/aix/sendto.c: New file.
10268 * sysdeps/unix/sysv/aix/setgroups.c: New file.
10269 * sysdeps/unix/sysv/aix/setpgid.c: New file.
10270 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
10271 * sysdeps/unix/sysv/aix/setpriority.c: New file.
10272 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
10273 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
10274 * sysdeps/unix/sysv/aix/setsid.c: New file.
10275 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
10276 * sysdeps/unix/sysv/aix/shmat.c: New file.
10277 * sysdeps/unix/sysv/aix/shmctl.c: New file.
10278 * sysdeps/unix/sysv/aix/shmdt.c: New file.
10279 * sysdeps/unix/sysv/aix/shmget.c: New file.
10280 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
10281 * sysdeps/unix/sysv/aix/sigstack.c: New file.
10282 * sysdeps/unix/sysv/aix/socket.c: New file.
10283 * sysdeps/unix/sysv/aix/socketpair.c: New file.
10284 * sysdeps/unix/sysv/aix/speed.c: New file.
10285 * sysdeps/unix/sysv/aix/symlink.c: New file.
10286 * sysdeps/unix/sysv/aix/sync.c: New file.
10287 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
10288 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
10289 * sysdeps/unix/sysv/aix/times.c: New file.
10290 * sysdeps/unix/sysv/aix/ulimit.c: New file.
10291 * sysdeps/unix/sysv/aix/umask.c: New file.
10292 * sysdeps/unix/sysv/aix/unlink.c: New file.
10293 * sysdeps/unix/sysv/aix/ustat.c: New file.
10294 * sysdeps/unix/sysv/aix/utimes.c: New file.
10296 2000-04-18 Andreas Jaeger <aj@suse.de>
10298 * manual/startup.texi (Environment Access): Fix putenv prototype
10299 according to recent changes.
10300 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
10303 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
10306 2000-04-18 Ulrich Drepper <drepper@redhat.com>
10308 * posix/Makefile (tests): Add tst-getaddrinfo.
10309 * posix/tst-getaddrinfo.c: New file.
10311 2000-04-17 Ulrich Drepper <drepper@redhat.com>
10313 * manual/sysinfo.texi: Document that umount2 is not widely available.
10315 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
10316 signal timing is not really implemented.
10318 2000-04-17 Andreas Jaeger <aj@suse.de>
10320 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
10322 2000-04-17 Jakub Jelinek <jakub@redhat.com>
10324 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
10327 2000-04-17 Ulrich Drepper <drepper@redhat.com>
10329 * manual/intro.texi: Change reference from System Information to
10331 * manual/users.texi: Likewise.
10332 * manual/conf.texi: Likewise.
10333 * manual/sysinfo.texi: Document mount, umount, and umount2.
10334 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
10336 2000-04-17 Jakub Jelinek <jakub@redhat.com>
10338 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
10339 Create wnumstr as well as numstr to support wide character output
10342 2000-04-15 Jakub Jelinek <jakub@redhat.com>
10344 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
10345 modification and move it...
10346 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
10347 Add -melf64_sparc switch to $(LD) on sparc64-linux.
10348 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
10349 switch to $(LD) on sparc-linux.
10351 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
10353 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
10354 and setresuid from sysdep_routines.
10356 2000-04-17 Ulrich Drepper <drepper@redhat.com>
10358 * manual/Makefile (chapters): Add resource.
10360 * manual/time.texi: Move section on resources to...
10361 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
10363 * manual/setjmp.texi: Adjust back reference.
10364 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
10366 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
10368 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
10369 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
10370 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
10371 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
10372 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
10373 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
10374 * sysdeps/unix/sysv/aix/close.c: Add copyright.
10375 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
10376 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
10377 * sysdeps/unix/sysv/aix/access.c: Add copyright.
10378 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
10379 * sysdeps/unix/sysv/aix/Implies: New file.
10380 * sysdeps/unix/sysv/aix/Versions: New file.
10381 * sysdeps/unix/sysv/aix/bind.c: New file.
10382 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
10383 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
10384 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
10385 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
10386 * sysdeps/unix/sysv/aix/chdir.c: New file.
10387 * sysdeps/unix/sysv/aix/chmod.c: New file.
10388 * sysdeps/unix/sysv/aix/chroot.c: New file.
10389 * sysdeps/unix/sysv/aix/creat.c: New file.
10390 * sysdeps/unix/sysv/aix/dl-close.c: New file.
10391 * sysdeps/unix/sysv/aix/dl-open.c: New file.
10392 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
10393 * sysdeps/unix/sysv/aix/fchdir.c: New file.
10394 * sysdeps/unix/sysv/aix/fchmod.c: New file.
10395 * sysdeps/unix/sysv/aix/getgroups.c: New file.
10396 * sysdeps/unix/sysv/aix/gethostname.c: New file.
10397 * sysdeps/unix/sysv/aix/getpriority.c: New file.
10398 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
10399 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
10400 * sysdeps/unix/sysv/aix/getrusage.c: New file.
10401 * sysdeps/unix/sysv/aix/link.c: New file.
10402 * sysdeps/unix/sysv/aix/madvise.c: New file.
10403 * sysdeps/unix/sysv/aix/mkdir.c: New file.
10404 * sysdeps/unix/sysv/aix/mknod.c: New file.
10405 * sysdeps/unix/sysv/aix/mprotect.c: New file.
10406 * sysdeps/unix/sysv/aix/msgctl.c: New file.
10407 * sysdeps/unix/sysv/aix/msgget.c: New file.
10408 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
10410 2000-04-17 Andreas Jaeger <aj@suse.de>
10412 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
10413 as suggested by Ulrich Drepper.
10414 (__dl_runtime_resolve): Remove unused variable, initialize sym
10416 (RTLD_START): Document OFFSET_GP_GOT.
10417 (OFFSET_GP_GOT): New magic value.
10418 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
10419 (elf_machine_got_rel): Only declare strtab if needed.
10420 (elf_machine_relplt): Removed, it's not needed.
10421 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
10423 * sysdeps/mips/add_n.S: Add newline at EOF.
10424 * sysdeps/mips/rshift.S: Likewise.
10425 * sysdeps/mips/mul_1.S: Likewise.
10426 * sysdeps/mips/lshift.S: Likewise.
10427 * sysdeps/mips/addmul_1.S: Likewise.
10429 2000-04-17 Ulrich Drepper <drepper@redhat.com>
10431 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
10433 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
10434 * elf/dl-lookup.c: Likewise.
10435 * elf/dl-init.c (_dl_init): Likewise.
10436 * elf/dl-fini.c (_dl_fini): Likewise.
10437 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
10438 * elf/dl-close.c (_dl_close): Likewise.
10439 * elf/rtld.c (_dl_start_final): Likewise.
10441 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
10443 2000-04-15 Ulrich Drepper <drepper@redhat.com>
10445 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
10446 only fall back on using Linux.
10448 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
10449 Before testing versions check that we actually loaded the object
10450 and whether we are in trace mode. If not loaded during tracing don't
10451 test versions in this object.
10452 (_dl_check_all_versions): Take new parameter and pass to
10453 _dl_check_map_versions.
10454 * sysdeps/generic/ldsodefs.h: Update prototypes for
10455 _dl_check_all_versions and _dl_check_map_versions.
10456 * elf/rtld.c (struct version_check_args): Add dotrace.
10457 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
10458 (dl_main): Pass info about trace mode to version_check_doit.
10459 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
10460 _dl_check_all_versions.
10462 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
10464 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
10466 * manual/argp.texi: Document index parameter of argp_parse.
10468 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
10470 2000-04-14 Andreas Jaeger <aj@suse.de>
10472 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
10473 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
10475 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
10477 2000-04-15 Ulrich Drepper <drepper@redhat.com>
10479 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
10480 compat_symbol call for old adjtime.
10482 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
10483 function interface. Patch by Richard Henderson <rth@cygnus.com>.
10485 * posix/Makefile (headers): Add spawn.h.
10486 (distribute): Add spawn_int.h.
10487 (routines): Add spawn_faction_init, spawn_faction_destroy,
10488 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
10489 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
10490 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
10491 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
10492 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
10493 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
10494 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
10495 posix_spawnattr_init, posix_spawnattr_destroy,
10496 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
10497 posix_spawnattr_getflags, posix_spawnattr_setflags,
10498 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
10500 * posix/spawn.c: New file.
10501 * posix/spawn.h: New file.
10502 * posix/spawn_faction_addclose.c: New file.
10503 * posix/spawn_faction_adddup2.c: New file.
10504 * posix/spawn_faction_addopen.c: New file.
10505 * posix/spawn_faction_destroy.c: New file.
10506 * posix/spawn_faction_init.c: New file.
10507 * posix/spawn_int.h: New file.
10508 * posix/spawnattr_destroy.c: New file.
10509 * posix/spawnattr_getdefault.c: New file.
10510 * posix/spawnattr_getflags.c: New file.
10511 * posix/spawnattr_getpgroup.c: New file.
10512 * posix/spawnattr_getschedparam.c: New file.
10513 * posix/spawnattr_getschedpolicy.c: New file.
10514 * posix/spawnattr_getsigmask.c: New file.
10515 * posix/spawnattr_init.c: New file.
10516 * posix/spawnattr_setdefault.c: New file.
10517 * posix/spawnattr_setflags.c: New file.
10518 * posix/spawnattr_setpgroup.c: New file.
10519 * posix/spawnattr_setschedparam.c: New file.
10520 * posix/spawnattr_setschedpolicy.c: New file.
10521 * posix/spawnattr_setsigmask.c: New file.
10522 * posix/spawni.c: New file.
10523 * posix/spawnp.c: New file.
10525 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
10526 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
10528 2000-04-14 Ulrich Drepper <drepper@redhat.com>
10530 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
10531 * malloc/malloc.c: Implement posix_memalign for glibc.
10532 * include/stdlib.h: Add prototype for __posix_memalign.
10533 * stdlib/stdlib.h: Add prototype for posix_memalign.
10535 2000-04-14 Andreas Jaeger <aj@suse.de>
10537 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
10539 (elf_machine_got_rel): Cast sym correctly.
10541 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
10542 * sysdeps/mips/addmul_1.S: Likewise.
10543 * sysdeps/mips/lshift.S: Likewise.
10544 * sysdeps/mips/mul_1.S: Likewise.
10545 * sysdeps/mips/rshift.S: Likewise.
10546 * sysdeps/mips/sub_n.S: Likewise.
10547 * sysdeps/mips/submul_1.S: Likewise.
10549 * stdlib/stdlib.h: Fix typo in comment.
10551 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
10552 2.2 for libdl, ld and libm.
10554 * sysdeps/generic/madvise.c: Fix typos.
10556 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
10558 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
10560 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
10563 2000-04-14 Ulrich Drepper <drepper@redhat.com>
10565 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
10566 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
10567 Make old name weak alias.
10568 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
10569 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
10570 Make old name weak alias.
10571 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
10573 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
10574 posix_fallocate, and posix_fallocate64.
10575 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
10576 posix_fallocate, and posix_fallocate64.
10577 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
10578 posix_fallocate, and posix_fallocate64.
10579 * sysdeps/generic/fadvise.c: New file.
10580 * sysdeps/generic/fadvise64.c: New file.
10581 * sysdeps/generic/fallocate.c: New file.
10582 * sysdeps/generic/fallocate64.c: New file.
10583 * sysdeps/posix/fallocate.c: New file.
10584 * sysdeps/posix/fallocate64.c: New file.
10585 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
10586 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
10587 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
10588 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
10589 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
10590 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
10591 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10592 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
10593 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10595 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
10596 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10598 2000-04-13 Ulrich Drepper <drepper@redhat.com>
10600 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
10601 * misc/sys/mman.h (posix_madvise): Add prototype.
10602 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
10603 old name and posix_madvise weak aliases.
10604 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10605 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
10606 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
10607 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
10608 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
10609 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10610 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10612 2000-04-13 Andreas Jaeger <aj@suse.de>
10614 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
10616 (elf_machine_got_rel): Only add runtime display if needed.
10617 (elf_machine_got_rel): Handle symbol versioning.
10619 2000-04-13 Andreas Jaeger <aj@suse.de>
10621 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
10623 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
10626 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
10627 with some applications.
10628 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
10630 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
10631 * sysdeps/mips/bsd-_setjmp.S: Likewise.
10632 * sysdeps/mips/setjmp.S: Likewise.
10634 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
10636 2000-04-13 Ulrich Drepper <drepper@redhat.com>
10638 * posix/globtest.sh: Work around inconsistency with expanding ~/
10639 in shell (PR libc/1690). Reported by patsmith@pobox.com.
10641 2000-04-12 Ulrich Drepper <drepper@redhat.com>
10643 * posix/getconf.c: Add support for many more POSIX options.
10644 * sysdeps/posix/sysconf.c: Likewise.
10645 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
10646 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
10648 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
10649 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
10650 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
10651 CLOCK_THREAD_CPUTIME_ID.
10652 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
10653 CLOCK_PROCESS_CPUTIME_ID.
10654 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
10655 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
10656 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
10657 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
10659 * malloc/Makefile (tests): Add tst-calloc.
10660 * malloc/tst-calloc.c: New file.
10662 * sysdeps/arm/libm-test-ulps: New file.
10664 * malloc/malloc.c: Undo all of today's changes.
10666 * locale/programs/locale.c (show_info): Don't try to look into
10667 data for LC_ALL (there is none).
10669 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
10670 avoid writing over boundary.
10671 Patch by Greg McGary <gkm@eng.ascend.com>.
10673 * sysdeps/arm/memprof.h: New file.
10675 2000-04-12 Andreas Jaeger <aj@suse.de>
10677 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
10679 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
10680 for memmem declaration.
10682 2000-04-12 Ulrich Drepper <drepper@redhat.com>
10684 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
10686 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
10688 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
10690 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
10691 Patch by Bart Veer <bartv@redhat.com>.
10693 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
10694 function interface.
10696 2000-04-11 Andreas Jaeger <aj@suse.de>
10698 * sysdeps/mips/dl-machine.h: Update some comments.
10699 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
10701 2000-04-11 Ulrich Drepper <drepper@redhat.com>
10703 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
10704 _POSIX_SHARED_MEMORY_OBJECTS.
10706 * rt/Makefile (tests): Add tst-shm.
10707 Add rules to generate tst-shm.
10708 * rt/tst-shm.c: New file.
10710 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
10713 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
10714 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
10715 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
10716 * sysdeps/generic/shm_open.c: New file.
10717 * sysdeps/generic/shm_unlink.c: New file.
10718 * sysdeps/unix/sysv/linux/shm_open.c: New file.
10719 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
10720 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
10721 __endmntent, __getmntent_r, __setmntent, and __statfs.
10723 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
10724 fragmentation by allocating new memory at the end instead of
10727 * posix/globtest.sh: Fix last change.
10729 2000-04-10 Philip Blundell <philb@gnu.org>
10731 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
10732 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
10733 IPV6_DROP_MEMBERSHIP.
10734 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
10737 2000-04-11 Ulrich Drepper <drepper@redhat.com>
10739 * elf/readlib (process_file): Close streams in case of an error.
10741 2000-04-09 Andreas Jaeger <aj@suse.de>
10743 * elf/readlib.c (process_file): Check if file is big enough to
10744 contain aout and ELF headers.
10745 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
10747 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
10749 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
10751 2000-04-11 Ulrich Drepper <drepper@redhat.com>
10753 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
10755 * rt/Makefile (tests): Add tst-clock.
10756 Add rules to build tst-clock.
10757 * rt/tst-clock.c: New file.
10758 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
10759 about initialization of nsec.
10760 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
10761 about initialization of freq. Set retval to zero if successful.
10762 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
10764 2000-04-10 Ulrich Drepper <drepper@redhat.com>
10766 * Versions.def (librt): Add GLIBC_2.2.
10767 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
10768 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
10769 timer_getoverr, timer_gettime, and timer_settime.
10770 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
10771 clock_settime, timer_create, timer_delete, timer_getoverrun,
10772 timer_gettime, and timer_settime.
10773 * sysdeps/generic/clock_getcpuclockid.c: New file.
10774 * sysdeps/generic/get_clockfreq.c: New file.
10775 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
10776 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
10777 * sysdeps/mach/hurd/i386/bits/time.h: New file.
10778 * sysdeps/unix/i386/i586/clock_getres.c: New file.
10779 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
10780 * sysdeps/unix/i386/i686/Implies: New file.
10781 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
10782 * time/Makefile (routines): Move clock_getres, clock_gettime,
10783 clock_settime, timer_create, timer_delete, timer_getoverr,
10784 timer_gettime, and timer_settime to rt/Makefile.
10785 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
10786 clock_settime, timer_create, timer_delete, timer_getoverrun,
10787 timer_gettime, and timer_settime.
10788 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
10790 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
10791 and not const as attribute name.
10793 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
10795 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
10797 2000-04-10 Andreas Schwab <schwab@suse.de>
10799 * posix/globtest.sh: Skip tests that depend on unreadable
10800 directories if run as root.
10802 2000-04-10 Ulrich Drepper <drepper@redhat.com>
10804 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
10805 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
10807 2000-04-09 Ulrich Drepper <drepper@redhat.com>
10809 * sysdeps/unix/clock_gettime.c: New file.
10810 * sysdeps/unix/clock_settime.c: New file.
10811 * sysdeps/posix/clock_getres.c: New file.
10813 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
10815 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
10816 lseek call be passing in a buffer which never allow a successful
10817 first getdents syscall if not at leas the initial entry can be
10818 stored in the user buffer.
10820 * localedata/Makefile: Add rules to clean up directories created by
10823 2000-04-09 Geoff Clare <gwc@unisoft.com>
10825 * localedata/tst-fmon.data: Added new tests for strfmon()
10826 using test locales with all combinations of cs_precedes,
10827 sign_posn and sep_by_space.
10828 * localedata/tst-fmon.sh: Updated to support the new tests.
10829 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
10830 the localedef source for the new strfmon() test locale.
10831 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
10832 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
10833 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
10834 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
10835 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
10836 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
10837 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
10838 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
10839 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
10840 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
10841 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
10842 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
10843 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
10844 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
10846 * stdlib/strfmon.c: Correct problems with missing or extra
10847 spaces for unusual combinations of sign_posn and sep_by_space.
10848 Improved left-precision alignment code.
10850 2000-04-07 Andreas Jaeger <aj@suse.de>
10852 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
10854 2000-04-10 Andreas Jaeger <aj@suse.de>
10856 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
10858 2000-04-09 Ulrich Drepper <drepper@redhat.com>
10860 Implement handling of restartable conversion functions according to
10862 * iconv/gconv.h (__gconv_fct): Add additional parameter.
10863 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
10864 * iconv/gconv.c: Pass additional parameter to conversion function.
10865 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
10866 (internal_ucs4le_loop_single): New function.
10867 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
10868 (__gconv_transform_internal_ascii): Likewise.
10869 (__gconv_transform_internal_utf8): Likewise.
10870 (__gconv_transform_utf8_internal): Likewise.
10871 (__gconv_transform_ucs2_internal): Likewise.
10872 (__gconv_transform_internal_ucs2): Likewise.
10873 (__gconv_transform_ucs2reverse_internal): Likewise.
10874 (__gconv_transform_internal_ucs2reverse): Likewise.
10875 (internal_ucs4le_loop_unaligned): Before return
10876 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
10877 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
10878 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
10879 * iconv/loop.c: Fit in definition of function to convert one character
10880 for processing of left-over bytes from the state object.
10881 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
10882 inend to match names in loop functions.
10883 (RESET_INPUT_BUFFER): Change apprpriately.
10884 (gconv): If needed, call function to process bytes from the state
10885 object. Similar at the end: store left over bytes if input is
10887 Take extra argument and add new argument to all calls of the
10888 conversion function.
10889 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
10890 information in the state object to not conflict with length count.
10891 * iconvdata/iso-2022-jp.c: Likewise.
10892 * iconvdata/iso-2022-kr.c: Likewise.
10893 * iconvdata/unicode.c: Adjust for change change in parameters of
10895 * iconvdata/utf-16.c: Likewise.
10896 * libio/iofwide.c: Add new parameter to all calls of conversion
10898 * wcsmbs/btowc.c: Likewise.
10899 * wcsmbs/mbrtowc.c: Likewise.
10900 * wcsmbs/mbsnrtowcs.c: Likewise.
10901 * wcsmbs/mbsrtowcs.c: Likewise.
10902 * wcsmbs/wcrtomb.c: Likewise.
10903 * wcsmbs/wcsnrtombs.c: Likewise.
10904 * wcsmbs/wcsrtombs.c: Likewise.
10905 * wcsmbs/wctob.c: Likewise.
10907 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
10910 2000-04-07 Andreas Jaeger <aj@suse.de>
10912 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
10915 2000-04-07 Ulrich Drepper <drepper@redhat.com>
10917 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
10918 element a union to allow byte access.
10919 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
10921 * iconvdata/iso-2022-jp.c: Likewise.
10922 * iconvdata/iso-2022-kr.c: Likewise.
10923 * wcsmbs/mbsinit.c: Likewise.
10924 * stdlib/mblen.c: Likewise.
10925 * stdio-common/printf-parse.h: Likewise.
10927 2000-04-06 Ulrich Drepper <drepper@redhat.com>
10929 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
10930 kernel does not allow relative seeks on descriptors associated
10931 with directories. Go back to get the position in the directory
10932 every time we enter the function. Return -1 and set errno if one
10933 entry could be read from the kernel but does not fit into the
10934 buffer passed in by the user.
10936 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
10937 Support ..(2).. ellipsis.
10938 (parse_charmap): Recognize ..(2).. etc and pass step down.
10939 Correctly generate names for UCS4 characters.
10941 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
10942 (ctype_finish): We know the wide character value for <SP>,
10944 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
10945 (charclass_ucs4_ellipsis): Likewise.
10946 (read_translit_ignore_entry): Store ellipsis step.
10947 (ctype_read): Recognize ..(2).. etc and pass step down.
10949 * locale/programs/linereader.c (lr_token): When seeing comment
10950 character ignore only rest of line in sources but stop at escaped
10952 Recognize ..(2).. and ....(2).....
10954 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
10955 and tok_ellipsis4_2.
10957 2000-04-06 Andreas Jaeger <aj@suse.de>
10959 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
10960 removed, remove it here also.
10961 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
10962 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
10963 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
10964 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
10966 2000-04-06 Jakub Jelinek <jakub@redhat.com>
10968 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
10969 include bits/sigcontext.h.
10970 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10972 2000-04-06 Ulrich Drepper <drepper@redhat.com>
10974 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
10975 collation symbol definition. Value in quivalence definition must
10976 be defined, don't check that it is not.
10978 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
10979 values as character names.
10981 * locale/programs/ld-ctype.c (get_character): Handle missing
10982 repertoire map correctly.
10984 2000-04-05 Cristian Gafton <gafton@redhat.com>
10986 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
10987 because it is used in generic code.
10988 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
10989 * wcsmbs/wcwidth.h: Declare __ctype32_b.
10990 * intl/gettext.c: Include <locale.h>.
10991 * intl/ngettext.c: Likewise.
10993 2000-04-05 Jakub Jelinek <jakub@redhat.com>
10995 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
10996 socklen_t type for size.
10997 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
10998 init function interface.
10999 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11000 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
11002 (__jmp_buf): Declare the whole type structure here, don't use
11005 2000-04-05 Ulrich Drepper <drepper@redhat.com>
11007 * iconv/skeleton.c (put16u): Fix typo.
11008 Reported by Bruno Haible <haible@ilog.fr>.
11010 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
11011 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
11012 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
11013 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
11014 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
11015 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
11017 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
11018 * Makefile (distribute): Add abi-versions.awk and
11020 Patches by Torsten Duwe <duwe@caldera.de>.
11022 2000-04-05 Andreas Schwab <schwab@suse.de>
11024 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
11026 2000-04-05 Andreas Schwab <schwab@suse.de>
11028 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
11029 entry point, used on Hurd.
11031 2000-04-04 Andreas Jaeger <aj@suse.de>
11033 * intl/Makefile: Only run the gettext test with shared libraries.
11035 2000-03-16 Mark Kettenis <kettenis@gnu.org>
11037 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
11038 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
11040 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
11042 * Makeconfig: Undo last change.
11043 * configure.in: If --disable-shared was given, don't set VERSIONING,
11044 don't define DO_VERSIONING, and don't give scare warning for no
11046 * configure: Regenerated.
11048 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
11050 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
11052 2000-04-04 Andreas Jaeger <aj@suse.de>
11054 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
11056 2000-04-04 Ulrich Drepper <drepper@redhat.com>
11058 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
11059 STV_HIDDEN and STV_INTERNAL during lookup.
11060 (profile_fixup): Likewise.
11061 * elf/dl-reloc.c (RESOLVE): Likewise.
11063 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
11064 unaligned so that it compiles for system which need unaligned
11067 2000-04-04 Andreas Schwab <schwab@suse.de>
11069 * elf/cache.c (print_entry): Only look at the type field when
11072 2000-04-04 Andreas Schwab <schwab@suse.de>
11074 * iconvdata/big5.c (BODY): Fix typo.
11076 2000-04-04 Andreas Schwab <schwab@suse.de>
11078 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
11079 function interface. Remove unused _dl_start_user entry point.
11081 2000-04-03 Andreas Jaeger <aj@suse.de>
11083 * include/arpa/inet.h (__inet_aton): Add protoype.
11085 2000-04-01 Andreas Jaeger <aj@suse.de>
11087 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
11089 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
11090 * sysdeps/mach/mips/thread_state.h: Likewise.
11092 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
11093 * sysdeps/generic/fegetenv.c: Likewise.
11094 * sysdeps/generic/fesetenv.c: Likewise.
11095 * sysdeps/generic/feupdateenv.c: Likewise.
11096 * sysdeps/generic/fraiseexcpt.c: Likewise.
11097 * sysdeps/generic/fsetexcptflg.c: Likewise.
11098 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
11099 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
11100 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
11101 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11103 2000-04-02 H.J. Lu <hjl@gnu.org>
11105 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
11107 2000-04-03 Ulrich Drepper <drepper@redhat.com>
11109 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
11110 (add_name_to_object): Add cast in malloc call.
11111 (fillin_rpath): Optimize loop to initialize ->status a bit.
11113 * sysdeps/i386/dl-machine.h: Undo last change.
11114 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
11115 Restore %edx register after call here.
11117 * sysdeps/arm/atomicity.h: New file.
11118 Contributed by Jesper Skov <jskov@redhat.com>.
11120 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
11122 * Makeconfig (preprocess-versions): Undo last change.
11123 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
11125 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
11126 here, before we might move the stack.
11127 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
11128 (init1): And not here.
11130 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
11131 change, to restore argc value in call-clobbered register after
11132 RTLD_START_SPECIAL_INIT, which will contain a call.
11134 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
11135 allocating and initializing L->l_initfini.
11137 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
11139 2000-04-03 Ulrich Drepper <drepper@redhat.com>
11141 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
11142 RUNPATH, RPATH, and LD_LIBRARY_PATH.
11143 (open_path): Change type of fourth parameter. Make pointer to array
11144 of pointers. Create variable dirs with original type.
11145 Track whether any directory for the object exists and if not,
11146 change *DIRSP to (void*) -1 to signal there is no such search path.
11147 (_dl_map_object): Change all calls of open_path.
11148 Rewrite decompose_rpath calls.
11150 2000-03-31 Andreas Schwab <schwab@suse.de>
11152 * string/strfry.c: Declare STATE as array of char instead of int
11153 and do not initialize it (done by initstate_r). Pass correct
11156 2000-04-03 Ulrich Drepper <drepper@redhat.com>
11158 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
11160 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
11161 instruction out of the code.
11163 2000-04-02 Ulrich Drepper <drepper@redhat.com>
11165 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
11166 element at this position.
11168 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
11169 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
11170 l_reldeps elements.
11171 * elf/dl-lookup.c (add_dependency): New function.
11172 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
11173 dynamically loaded object.
11174 (_dl_lookup_symbol_skip): Likewise.
11175 (_dl_lookup_versioned_symbol): Likewise.
11176 (_dl_lookup_versioned_symbol_skip): Likewise.
11177 * elf/dl-open.c: Don't define _dl_load_lock here...
11178 * elf/rtld.c: ...but here...
11179 * elf/dl-support.c: ...and here.
11180 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
11181 through relocation.
11182 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
11184 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
11186 * dlfcn/glrefmain.c: Add one more debug message.
11188 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
11190 * Makerules (sysd-versions): Use ( ) instead of { }.
11192 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
11193 optimize for the non-debugging case.
11194 * elf/dl-lookup.c: Likewise.
11195 * sysdeps/generic/libc-start.c: Likewise.
11197 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
11199 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
11200 (init1): Don't initialize __environ here, since init already does it.
11201 (first_init): New function, broken out of _init.
11202 (_hurd_stack_setup): Use it.
11203 [SHARED] (_dl_init_first): New function, renamed from old _init.
11204 (init1) [SHARED]: Don't call posixland_init here.
11205 (posixland_init): Take ENVP arg, so signature is usual for initializer.
11206 [SHARED] (_init): Define as alias for posixland_init.
11207 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
11208 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
11209 RTLD_START_SPECIAL_INIT before calling initializers.
11210 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
11211 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
11212 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
11213 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
11215 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
11216 since we define the function with the name `tmpfile'.
11218 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
11219 * hurd/Versions: Likewise.
11221 2000-04-02 Ulrich Drepper <drepper@redhat.com>
11223 * elf/dl-runtime.c (fixup): Fix typo in comment.
11225 * resolv/netdb.h (getnameinfo): All length parameters are of type
11227 * inet/getnameinfo.c: Likewise.
11229 2000-04-01 Ulrich Drepper <drepper@redhat.com>
11231 * posix/unistd.h (socklen_t): Define if it has not yet happened.
11232 (gethostname): Change type of second parameter to socklen_t.
11233 * include/unistd.h (__gethostname): Change type of second
11234 parameter to socklen_t.
11235 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
11236 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
11237 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
11238 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
11240 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
11241 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
11242 Allow definition elsewhere.
11243 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
11244 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11245 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
11246 * sysdeps/generic/bits/types.h: Define __socklen_t.
11247 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
11248 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
11249 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
11250 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
11251 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
11252 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
11253 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
11255 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
11256 (inet_lnaof): Likewise.
11257 (inet_netof): Likewise.
11258 (inet_network): Likewise.
11259 (inet_aton): Likewise.
11260 (inet_makeaddr): Change parameter types to in_addr_t.
11261 (inet_neta): Likewise.
11262 (inet_ntop): Change type of last parameter to socklen_t.
11263 (inet_aton): Only make available if __USE_MISC.
11264 (inet_neta): Likewise.
11265 (inet_net_ntop): Likewise.
11266 (inet_net_pton): Likewise.
11267 (inet_nsap_ntoa): Likewise.
11269 * inet/in.h: Define in_port_t type.
11270 Define in_addr_t type.
11271 (struct in_addr): Use in_addr_t in definition.
11272 (IN_CLASSA): Use cast to in_addr_t.
11273 (IN_CLASSB): Likewise.
11274 (IN_CLASSC): Likewise.
11275 (IN_CLASSD): Likewise.
11276 (IN_EXPERIMENTAL): Likewise.
11277 (IN_BADCLASS): Likewise.
11278 (INADDR_ANY): Likewise.
11279 (INADDR_BROADCAST): Likewise.
11280 (INADDR_NONE): Likewise.
11281 (INADDR_LOOPBACK): Likewise.
11282 (INADDR_UNSPEC_GROUP): Likewise.
11283 (INADDR_ALLHOSTS_GROUP): Likewise.
11284 (INADDR_ALLRTRS_GROUP): Likewise.
11285 (INADDR_MAX_LOCAL_GROUP): Likewise.
11286 (struct sockaddr_in): Use in_port_t for sin_port element.
11287 (struct sockaddr_in6): Use in_port_t for sin6_port element.
11288 Use uint8_t instead of u_int8_t.
11290 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
11291 Call __inet_aton instead of inet_aton.
11292 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
11294 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
11295 (innetgr): Likewise.
11296 (struct addrinfo): Use socklen_t for ai_addrlen element.
11298 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
11299 IPV6_RECVERR): New defines.
11301 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
11302 * inet/getnetbyad.c: Likewise.
11303 * inet/getnetbyad_r.c: Likewise.
11304 * nis/nss_nis/nis-network.c: Likewise.
11305 * nis/nssplus_nis/nisplus-network.c: Likewise.
11306 * nss/nss_files/files-network.c: Likewise.
11307 * resolv/netdb.h: Define uint32_t if not already happened.
11308 Include bits/netdb.h. Remove definition of struct netent.
11309 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
11310 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
11311 * sysdeps/generic/bits/netdb.h: New file.
11312 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
11314 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
11315 (tests): Add glrefmain.
11316 Add rules to build modules and run tests. Ignore result of glrefmain
11317 for now since it fails.
11318 * dlfcn/glrefmain.c: New file.
11319 * dlfcn/glreflib1.c: New file.
11320 * dlfcn/glreflib2.c: New file.
11322 * test-skeleton.c: Include <string.h> for strsignal prototype.
11324 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
11327 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
11328 former init-first.h. Initialize __libc_multiple_libcs.
11330 2000-03-31 Ulrich Drepper <drepper@redhat.com>
11332 * iconv/skeleton.c: Define access macros with u suffix. Adjust
11333 #if expression for use of unaligned function to the one used in
11334 the definition of these functions.
11335 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
11336 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
11337 (internal_ucs4le_loop_unaligned): New function.
11339 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
11340 (tests): Add order.
11341 (module-names): Add dep1, dep2, dep3, and dep4.
11342 Add dependencies for dep* modules and order.
11343 Define rule for order.out which checks the result.
11344 * elf/dep1.c: New file.
11345 * elf/dep2.c: New file.
11346 * elf/dep3.c: New file.
11347 * elf/dep4.c: New file.
11348 * elf/order.c: New file.
11350 * elf/dl-init.c: Fix typo in comment.
11352 2000-03-31 Andreas Jaeger <aj@suse.de>
11354 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
11355 init function interface.
11356 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
11358 2000-03-31 Andreas Jaeger <aj@suse.de>
11360 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
11361 * sysdeps/mips/fpu/fegetenv.c: Likewise.
11362 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
11363 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
11364 * sysdeps/mips/fpu/fesetenv.c: Likewise.
11366 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
11367 anymore, update comment.
11369 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11371 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
11372 SHLIB_COMPAT - the struct is always needed.
11374 2000-03-31 Ulrich Drepper <drepper@redhat.com>
11376 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
11377 * elf/dl-support.c: Define _dl_starting_up.
11379 2000-03-30 Ulrich Drepper <drepper@redhat.com>
11381 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
11382 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
11384 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
11386 * elf/Makefile (dl-routines): Remove preinit.
11387 * elf/Versions: Remove _dl_preinit.
11388 * elf/dl-preinit.c: Removed. Move content into...
11389 * elf/dl-init.c: ...here.
11390 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
11392 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
11395 2000-03-29 Geoff Clare <gwc@unisoft.com>
11397 * stdlib/strfmon.c: Corrected problems with the code that
11398 sets default values for [np]_sep_by_space and
11399 [np]_sign_posn; also the new positive/negative alignment
11400 code from the previous patch was not quite right for
11401 [np]_sign_posn = 0.
11403 * localedata/tst-fmon.data: Changes corresponding to the
11404 two sets of fixes made to stdlib/strfmon.c.
11406 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
11408 * malloc/malloc.c: Declare bit flags UL so that they will not
11409 default to int size when being inverted.
11411 2000-03-29 Andreas Jaeger <aj@suse.de>
11413 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
11414 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
11416 2000-03-29 Andreas Jaeger <aj@suse.de>,
11417 Ralf Baechle <ralf@uni-koblenz.de>
11419 * Makeconfig: Introduce new variable SHARED to mark code used in
11420 the shared library.
11421 * elf/dl-close.c: Use it instead of PIC.
11422 * elf/dl-load.c: Likewise.
11423 * elf/dl-open.c: Likewise.
11424 * hurd/geteuids.c: Likewise.
11425 * include/libc-symbols.h: Likewise.
11426 * include/shlib-compat.h: Likewise.
11427 * libio/freopen.c: Likewise.
11428 * linuxthreads/cancel.c: Likewise.
11429 * linuxthreads/pthread.c: Likewise.
11430 * linuxthreads/wrapsyscall.c: Likewise.
11431 * nss/nsswitch.c: Likewise.
11432 * stdio-common/vfprintf.c: Likewise.
11433 * sysdeps/arm/init-first.c: Likewise.
11434 * sysdeps/i386/init-first.c: Likewise
11435 * sysdeps/generic/init-first.c: Likewise.
11436 * sysdeps/generic/libc-start.c: Likewise.
11437 * sysdeps/mips/init-first.c: Likewise.
11438 * sysdeps/powerpc/elf/libc-start.c: Likewise.
11439 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11440 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
11441 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
11442 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11444 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
11446 2000-03-29 Andreas Jaeger <aj@suse.de>
11448 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
11449 Use D_PTR to access relocated entries in l_info.
11450 (elf_machine_rela): Likewise.
11452 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
11454 (elf_machine_rela): Likewise.
11456 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
11458 (__elf_machine_fixup_plt): Likewise.
11459 (__process_machine_rela): Likewise.
11461 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
11462 (elf_machine_rela): Likewise.
11464 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
11465 (elf_machine_rel): Likewise.
11467 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
11468 (elf_machine_fixup_plt): Likewise.
11469 (elf_machine_rela): Likewise.
11471 2000-03-29 Andreas Jaeger <aj@suse.de>
11473 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
11474 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11475 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11476 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
11477 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
11478 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
11479 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
11480 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
11481 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
11482 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
11483 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
11484 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
11485 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
11486 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
11487 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11489 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
11490 macros, remove K&R prototypes.
11492 2000-03-30 Ulrich Drepper <drepper@redhat.com>
11494 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
11495 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
11498 2000-03-30 Andreas Jaeger <aj@suse.de>
11500 * misc/sys/cdefs.h: Remove K&R support.
11502 2000-03-30 Ulrich Drepper <drepper@redhat.com>
11504 * iconv/skeleton.c: Avoid compiling unaligned versions in some
11506 * iconv/loop.c: Likewise.
11508 2000-03-29 Bruno Haible <haible@clisp.cons.org>
11510 * iconv/loop.c (put16): Remove __const. Fix access index.
11511 (put32): Remove __const. Use uint32_t instead of uint16_t.
11512 * iconv/skeleton.c: Likewise.
11514 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
11516 * mach/Versions (libc: GLIBC_2.0)
11517 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
11518 __vm_allocate on this.
11519 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
11520 mutex- and spinlock-related symbols on this.
11521 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
11522 New version set. Lock-related symbols go here instead in this case.
11523 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
11524 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
11525 cthread_getspecific, cthread_setspecific, __libc_getspecific.
11527 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
11528 Put them here instead.
11529 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
11530 New version set. Those cthreads symbols go here instead in this case.
11531 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
11533 2000-03-30 Ulrich Drepper <drepper@redhat.com>
11535 * elf/dl-init.c (_dl_init): We don't need to call constructors
11536 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
11538 Implement dynamic determination of constructor/destructor order in
11539 the dynamic linker.
11540 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
11541 (GLIBC_2.2): Add _dl_init.
11542 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
11543 r_duplist is not anymore allocated separately. l_initfini is and
11544 therefore free it if necessary.
11545 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
11546 malloc block. Otherwise allocate l_initfini list only.
11547 Put dependencies for the object in l_initfini list.
11548 Sort dependencies for the object to be loaded topologically.
11549 * elf/dl-fini.c: Before running the destructors sort the topologically.
11550 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
11551 call constructors instead of iterating over the pointers. Get list of
11552 objects for which to run constructors from l_initfini element. Accept
11553 argc, argv, and env as parameters and pass them to the constructors.
11554 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
11555 with size of dynamic section.
11556 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
11557 _dl_init_next and calling constructors ourself.
11558 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
11559 Take argc, argv, and env as parameters and pass them to the
11560 constructors. Rewrite to call all constructors and not iterate over
11562 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
11563 precompute l_initcount and l_preinitcount.
11564 * elf/link.h (struct link_map): Add l_ldnum member.
11565 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
11566 l_initcount, and l_preinitcount. Add l_initfini.
11567 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
11569 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
11570 function interface.
11571 * sysdeps/unix/sysv/linux/init-first.h: Removed.
11572 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
11573 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
11574 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
11575 conventions now match.
11577 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
11578 effect for shared objects. Don't emit message and call only for
11581 2000-03-29 Ulrich Drepper <drepper@redhat.com>
11583 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
11584 CSA_Z243.4-1985-1..UCS2.
11585 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
11588 2000-03-29 Andreas Jaeger <aj@suse.de>
11590 * include/unistd.h: Remove duplicate entry for __rmdir.
11591 Remove declaration of __mkdir since __mkdir is declared in
11594 * manual/creature.texi (Feature Test Macros): Fix typo, reported
11595 by Michael Deutschmann <michael@talamasca.ocis.net>.
11597 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
11598 * sysdeps/mips/fpu/fegetenv.c: Likewise.
11599 * sysdeps/mips/fpu/fesetenv.c: Likewise.
11600 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
11601 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
11603 2000-03-28 Andreas Jaeger <aj@suse.de>
11605 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
11606 declaration, the prototype is defined via bits/mathcalls.h.
11607 (__sincosf): Likewise.
11608 (__sincosl): Likewise.
11610 (ldexpf): Likewise.
11611 (ldexpl): Likewise.
11612 (__finite): Likewise.
11613 (__inline_mathcodeNP): New macro without prototype
11615 (__inline_mathcodeNP2): Likewise.
11616 (__inline_mathcodeNP3): Likewise.
11617 (__inline_mathcodeNP_): Likewise.
11618 (__inline_mathcodeNP2_): Likewise.
11619 (__inline_mathcodeNP3_): Likewise.
11620 (__inline_mathopNP): Likewise.
11621 (__inline_mathop_declNP): Likewise.
11622 (__inline_mathop_declNP_): Likewise.
11623 (__inline_mathcode_): Use __inline_mathcodeNP_.
11624 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
11625 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
11626 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
11627 (__expm1l): Don't define prototype, the prototype is defined via
11630 (__expl): Likewise.
11633 (__atan2l): Likewise.
11638 (__fabsl): Likewise.
11656 (__sqrtl): Likewise.
11666 2000-03-28 Ulrich Drepper <drepper@redhat.com>
11668 * Makerules: If make variable md5 is defined to yes after
11669 generating dependencies generate MD5 sum for the object.
11671 * iconv/gconv_builtin.h: Fix length in transformation definition
11674 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
11676 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
11677 allow as well reading from/writing to unaligned addresses on machines
11678 which don't support this in hardware. Use FCTNAME macro to define
11679 function name. Include the file a second time for platforms which
11680 need special unaligned handling.
11681 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
11682 to access potentially unaligned addresses. These macros are intended
11683 to be used only outside the loops.
11684 (unaligned): New definition. In case the machine can handle unaligned
11685 access define as zero. Otherwise as a variable which is initialized
11686 as nonzero in case the buffer passed in at runtime is unaligned with
11687 respect to the character set encoding involved.
11688 Call aligned or unaligned looop functions according to unaligned
11690 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
11691 of direct casting pointer to potentially handle unaligned memory
11693 * iconvdata/8bit-generic.c: Likewise.
11694 * iconvdata/ansi_x3.110.c: Likewise.
11695 * iconvdata/big5.c: Likewise.
11696 * iconvdata/euc-cn.c: Likewise.
11697 * iconvdata/euc-jp.c: Likewise.
11698 * iconvdata/euc-kr.c: Likewise.
11699 * iconvdata/euc-tw.c: Likewise.
11700 * iconvdata/gbk.c: Likewise.
11701 * iconvdata/iso-2022-cn.c: Likewise.
11702 * iconvdata/iso-2022-jp.c: Likewise.
11703 * iconvdata/iso-2022-kr.c: Likewise.
11704 * iconvdata/iso646.c: Likewise.
11705 * iconvdata/iso_6937-2.c: Likewise.
11706 * iconvdata/iso_6937.c: Likewise.
11707 * iconvdata/johab.c: Likewise.
11708 * iconvdata/sjis.c: Likewise.
11709 * iconvdata/t.61.c: Likewise.
11710 * iconvdata/uhc.c: Likewise.
11711 * iconvdata/unicode.c: Likewise.
11712 * iconvdata/utf-16.c: Likewise.
11714 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
11717 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
11718 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
11720 * malloc/mcheck.h (mcheck_check_all): Declare.
11722 * stdio-common/Makefile (tests): Add tst-obprintf.
11724 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
11726 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
11727 Declare pthread_sigmask.
11729 * csu/version.c: Add 2000 to copyright years.
11730 Remove Emacs local variables section.
11732 2000-03-23 Bruno Haible <haible@clisp.cons.org>
11734 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
11735 __gconv_transform_internal_ucs2little): Remove declarations.
11736 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
11737 __gconv_transform_internal_ucs2): Never need to bswap_16.
11738 (__gconv_transform_ucs2reverse_internal,
11739 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
11741 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
11743 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
11744 obsoleting version not being defined at all, in which case the
11745 result is always true.
11747 * Makeconfig (preprocess-versions): New canned sequence for running
11748 cpp on shlib-versions and the like.
11749 (soversions.i): Use it.
11750 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
11751 Versions.def and Versions files.
11753 2000-03-27 Ulrich Drepper <drepper@redhat.com>
11755 * stdio-common/tst-obprintf.c (main): Add another check to see
11756 obstack_printf handling all possible beginnings of the block
11757 inside an obstack chunk.
11759 * locale/programs/localedef.c: Use __malloc_initialize_hook to
11760 install mcheck handler.
11762 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
11765 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
11767 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
11769 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
11770 on [HAVE_ELF && DO_VERSIONING].
11772 2000-03-27 Ulrich Drepper <drepper@redhat.com>
11774 * stdio-common/tst-obprintf.c: New file.
11776 2000-03-26 Ulrich Drepper <drepper@redhat.com>
11778 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
11779 _IO_OVERFLOW directly instead through __overflow.
11781 * locale/programs/localedef.c (construct_output_path): If path
11782 contains a / compute the end of the directory name correctly.
11784 * include/features.h: Undef and document __USE_XOPEN2K.
11786 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
11787 whenever a function is called. Initiated by calling mcheck_pedantic
11789 * malloc/mcheck.h: Declare mcheck_pedantic.
11790 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
11791 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
11794 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
11796 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
11797 * dlfcn/dlopenold.c: Likewise.
11798 * nss/getXXbyYY_r.c: Likewise.
11799 * nss/getXXent_r.c: Likewise.
11800 * hurd/hurdinit.c: Likewise.
11801 * hurd/compat-20.c: Likewise.
11802 * libio/oldiofopen.c: Likewise.
11803 * libio/oldiofclose.c: Likewise.
11804 * libio/oldiofdopen.c: Likewise.
11805 * libio/oldfileops.c: Likewise.
11806 * libio/oldstdfiles.c: Likewise.
11807 * libio/oldiofsetpos.c: Likewise.
11808 * libio/oldiofgetpos.c: Likewise.
11809 * libio/oldiofgetpos64.c: Likewise.
11810 * libio/oldiofsetpos64.c: Likewise.
11811 * libio/oldiopopen.c: Likewise.
11812 * libio/oldpclose.c: Likewise.
11813 * libio/oldtmpfile.c: Likewise.
11814 * libio/freopen.c (freopen): Likewise.
11815 * libio/iofclose.c (_IO_new_fclose): Likewise.
11817 * sysdeps/mach/sys/reboot.h: Include <features.h>.
11818 (reboot): Declare it.
11820 * libio/Makefile (headers): Add bits/stdio-lock.h here.
11822 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
11824 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
11826 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
11827 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
11828 We need this for the sbrk decl, which can be included without Unix98.
11830 2000-03-20 Richard Henderson <rth@cygnus.com>
11832 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
11833 argument to yperr2nss is an int, not size_t.
11834 * posix/regex.c (print_partial_compiled_pattern): Cast all
11835 ptrdiff_t to long for printing.
11836 (print_compiled_pattern): Use Z for printing size_t.
11837 * posix/testfnm.c (tests): Avoid trigraphs.
11838 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
11839 Use a C comment, not an assembly comment.
11841 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
11842 of __ASSUME_32BITUIDS.
11844 2000-03-26 Ulrich Drepper <drepper@redhat.com>
11846 * libio/iofopncook.c: Remove K&R prototypes.
11848 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
11850 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
11851 an initial value of 1024 instead of RLIM_INFINITY.
11853 * Versions.def (libmachuser, libhurduser): Remove these sections,
11854 since these libraries do not presently use symbol versions.
11856 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
11857 is RLIM_INFINITY, return -1 instead.
11859 2000-03-24 Andreas Jaeger <aj@suse.de>
11861 * Makefile (postclean): Added soversions.i.
11863 2000-03-24 Scott Bambrough <scottb@netwinder.org>
11865 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
11866 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
11867 and _FPU_IEEE. Change _FPU_RESERVED.
11869 2000-03-24 Scott Bambrough <scottb@netwinder.org>
11871 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
11873 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
11875 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
11876 (gaih_inet): Remove unused duplicate variable.
11878 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
11879 Don't use __libc_sa_len, which only exists for Linux. Just handle
11880 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
11881 only flavors supported by this function anyway.
11883 2000-03-24 Geoff Clare <gwc@unisoft.com>
11885 * stdlib/strfmon.c: Corrected problems with missing signs and
11886 missing or extra spaces; allow for sign strings longer than
11887 one character; add padding to ensure positive and negative
11888 formats are aligned when a left precision is used.
11890 2000-03-26 Ulrich Drepper <drepper@redhat.com>
11892 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
11893 Patch by John Mizel <John.Mizel@msdw.com>.
11895 2000-03-25 Ulrich Drepper <drepper@redhat.com>
11897 * manual/install.texi: Remove references to crypt add-on.
11899 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
11901 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
11902 section while taking the _hurd_rlimit_lock.
11903 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
11905 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
11907 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
11910 * sysdeps/mach/hurd/if_index.c: New file.
11912 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
11913 * sysdeps/gnu/net/if.h: here.
11914 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
11915 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
11916 * sysdeps/generic/net/if.h: New file. Declares just the standard
11917 functions and `struct if_nameindex' type.
11918 * socket/Makefile (headers): Add net/if.h here.
11919 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
11920 * sysdeps/mach/hurd/Dist: Remove it here.
11921 * sysdeps/unix/sysv/linux/Dist: And here.
11922 * sysdeps/generic/if_index.c: Include <net/if.h>.
11924 2000-03-24 Andreas Jaeger <aj@suse.de>
11926 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
11927 access relocated entries in l_info.
11928 (elf_machine_got_rel): Likewise.
11929 (elf_machine_runtime_setup): Likewise.
11930 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
11931 (elf_machine_runtime_setup): Likewise.
11932 (__dl_runtime_resolve): Likewise.
11934 2000-03-23 Ulrich Drepper <drepper@redhat.com>
11936 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
11937 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
11938 according to RFC 2553.
11939 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
11940 * inet/getnameinfo.c: Likewise.
11941 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
11943 2000-03-23 Bruno Haible <haible@clisp.cons.org>
11945 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
11946 Remove no-op pointer increment.
11948 2000-03-23 Andreas Jaeger <aj@suse.de>
11950 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
11951 follow change for libio.h from 2000-03-10.
11953 2000-03-23 Andreas Jaeger <aj@suse.de>
11955 * elf/dl-addr.c: Adjust include paths for ldsodefs location
11957 * elf/dl-debug.c: Likewise.
11958 * elf/dl-deps.c: Likewise.
11959 * elf/dl-error.c: Likewise.
11960 * elf/dl-fini.c: Likewise.
11961 * elf/dl-init.c: Likewise.
11962 * elf/dl-load.c: Likewise.
11963 * elf/dl-lookup.c: Likewise.
11964 * elf/dl-minimal.c: Likewise.
11965 * elf/dl-object.c: Likewise.
11966 * elf/dl-open.c: Likewise.
11967 * elf/dl-preinit.c: Likewise.
11968 * elf/dl-profile.c: Likewise.
11969 * elf/dl-profstub.c: Likewise.
11970 * elf/dl-reloc.c: Likewise.
11971 * elf/dl-runtime.c: Likewise.
11972 * elf/dl-support.c: Likewise.
11973 * elf/dl-symbol.c: Likewise.
11974 * elf/dl-version.c: Likewise.
11975 * elf/rtld.c: Likewise.
11976 * elf/sprof.c: Likewise.
11977 * sysdeps/generic/dl-cache.c: Likewise.
11978 * sysdeps/generic/dl-origin.c: Likewise.
11979 * sysdeps/generic/dl-sysdep.c: Likewise.
11980 * sysdeps/generic/elf/backtracesyms.c: Likewise.
11981 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11982 * sysdeps/generic/libc-start.c: Likewise.
11983 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11984 * sysdeps/powerpc/dl-machine.c: Likewise.
11985 * sysdeps/powerpc/elf/libc-start.c: Likewise.
11986 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11987 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11988 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
11990 * elf/ldsodefs.h: Move file to ...
11991 * sysdeps/generic/ldsodefs.h: ... here.
11993 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
11995 * sysdeps/mips/elf/ldsodefs.h: New file.
11997 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
11999 (_dl_check_map_versions): Likewise.
12000 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12001 * elf/dl-load.c (_dl_init_paths): Likewise.
12002 (_dl_map_object): Likewise.
12003 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
12004 (elf_get_dynamic_info): Likewise.
12005 * elf/do-lookup.h (FCT): Likewise.
12006 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
12007 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12008 * elf/dl-addr.c (_dl_addr): Likewise.
12009 * elf/dl-runtime.c (profile_fixup): Likewise.
12011 * elf/dl-init.c (_dl_init_next): Likewise.
12012 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
12013 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
12014 (DISTINGUISH_LIB_VERSIONS): Likewise.
12015 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
12016 (elf_machine_rel): Likewise.
12018 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
12019 for writable dynamic section.
12021 2000-03-22 Ulrich Drepper <drepper@redhat.com>
12023 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
12024 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
12026 2000-03-22 Andreas Jaeger <aj@suse.de>
12028 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
12029 from latest Linux kernel.
12031 2000-03-21 Andreas Jaeger <aj@suse.de>
12033 * Versions.def: Add version 2.1.4.
12035 2000-03-21 Ulrich Drepper <drepper@redhat.com>
12037 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
12038 * libio/oldiofopen.c: Likewise.
12039 * libio/oldiofclose.c: Likewise.
12040 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
12042 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
12044 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
12045 indicating the first version set to obsolete the conditionalized code.
12046 (compat_symbol): New macro.
12047 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
12048 rhs be the ABI_* macro for the subsuming version. Assign increasing
12049 integer values to the ABI_* macros for supported versions.
12050 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
12051 compat_symbol macro.
12053 2000-03-21 Ulrich Drepper <drepper@redhat.com>
12055 * nscd/connections.c (nscd_run): Pretty print.
12056 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
12058 * manual/charset.texi: Fix typos. Rephrase.
12059 * manual/process.texi: Likewise.
12060 * manual/signal.texi: Likewise.
12061 Patches by Mike Coleman <mkc@kc.net>.
12063 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
12065 * libio/iofdopen.c: Likewise.
12066 * libio/iofgetpos.c: Likewise.
12067 * libio/iofgetpos64.c: Likewise.
12068 * libio/iofopen.c: Likewise.
12069 * libio/iofsetpos.c: Likewise.
12070 * libio/iofsetpos64.c: Likewise.
12071 * libio/iopopen.c: Likewise.
12072 * libio/oldiofopen.c: Likewise.
12073 * libio/pclose.c: Likewise.
12074 * sysdeps/gnu/siglist.c: Likewise.
12075 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
12077 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
12078 chance to expand VERSION_##lib##_##version.
12080 * libio/fileops.c: Use new macros from shlib-compat.h to define
12082 * libio/iofclose.c: Likewise.
12083 * libio/oldiofclose.c: Likewise.
12084 Patch by Roland McGrath <roland@frob.com>.
12086 2000-03-21 Jakub Jelinek <jakub@redhat.com>
12088 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
12089 Lay out struct sigcontext according to what really gets passed on
12091 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
12092 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
12093 (prgregset_t, prfpregset_t): Define to elf_* types.
12094 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
12095 Define to correct value.
12096 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
12098 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
12100 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
12102 * scripts/firstversions.awk: Allow multiple version sets in the
12103 "earliest version" specification, meaning that version sets in the
12104 gaps between listed versions should be folded into the earliest later
12105 version that is explicitly listed.
12106 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
12107 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
12109 2000-03-21 Ulrich Drepper <drepper@redhat.com>
12111 * iconv/gconv_builtin.c: Include <endian.h>.
12112 * iconv/gconv_builtin.h: Add UCS-BE aliases.
12113 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
12114 according to current platform.
12115 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
12116 __gconv_transform_internal_ucs2reverse, and
12117 __gconv_transform_internal_ucs4le.
12118 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
12119 __gconv_transform_ucs2reverse_internal and
12120 __gconv_transform_internal_ucs2reverse.
12121 * iconvdata/Makefile (modules): Add UNICODE.
12122 (distribute): Add unicode.c.
12123 * iconvdata/gconv-modules: Add definitions for UNICODE module.
12124 * iconvdata/unicode.c: New file.
12126 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
12127 determine byte order of input and convert accordingly.
12129 * iconvdata/utf-16.c (gconv_init): Fix typo.
12131 2000-03-20 Ulrich Drepper <drepper@redhat.com>
12133 * iconvdata/gconv-modules: Fix typo.
12135 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
12138 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
12140 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
12142 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
12144 2000-03-20 Ulrich Drepper <drepper@redhat.com>
12146 * misc/Makefile (routines): Add mincore.
12148 2000-03-20 Andreas Jaeger <aj@suse.de>
12150 * sysdeps/generic/mincore.c: New stub file.
12152 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
12153 from latest Linux kernel.
12155 2000-03-20 Ulrich Drepper <drepper@redhat.com>
12157 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
12158 _SC_GETPW_R_SIZE_MAX.
12160 2000-03-20 Richard Henderson <rth@cygnus.com>
12162 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
12165 2000-03-20 Richard Henderson <rth@cygnus.com>
12167 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
12168 of arithmetic instructions.
12170 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
12171 with the fpcr. Protect from INV exception.
12172 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
12173 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
12174 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
12176 * sysdeps/alpha/fpu/s_copysign.c: New.
12177 * sysdeps/alpha/fpu/s_copysignf.c: New.
12178 * sysdeps/alpha/fpu/s_fabs.c: New.
12179 * sysdeps/alpha/fpu/s_fabsf.c: New.
12180 * sysdeps/alpha/fpu/s_rint.c: New.
12181 * sysdeps/alpha/fpu/s_rintf.c: New.
12183 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
12185 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
12187 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
12188 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
12189 Use physical addresses not KSEG addresses.
12190 (io_system): Add PYXIS.
12191 (io): Remove hae.reg, sys, hae_shift.
12192 (stb_mb, stw_mb, stl_mb, __sethae): New.
12193 (inline_outb, inline_outw, inline_outl): Don't set hae.
12194 (inline_inb, inline_inw, inline_inl): Likewise.
12195 (dense_sethae): New null function.
12196 (struct cpuinfo_data): New.
12197 (process_cpuinfo): Use local and stack variables, not static.
12198 Move readlink check here from init_iosys.
12199 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
12201 (_hae_shift): Calculate it here.
12202 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
12203 add pciconfig_iobase.
12205 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
12207 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
12208 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
12210 * scripts/versions.awk: Fixed version renaming code to distinguish
12211 libraries properly.
12213 2000-03-19 Ulrich Drepper <drepper@redhat.com>
12215 * include/stdlib.h: Add prototype for __cxa_atexit.
12217 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
12218 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
12220 2000-03-17 Cristian Gafton <gafton@redhat.com>
12222 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
12223 existing rtld-installed-name.
12224 ($(rtld-installed-name)): Request libc-$(version) be installed too.
12225 replace existing rtld-installed-name using $(symbolic-link-prog).
12227 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
12229 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
12230 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
12231 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
12232 but not the former.
12234 2000-03-19 Ulrich Drepper <drepper@redhat.com>
12236 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
12237 glob64. Since there is no glob64 in the LFS proposal applications
12238 can assume that glob handles LFS situations. glob64 is only needed
12239 if alternative filesystem functions are used.
12241 2000-03-19 Geoff Clare <gwc@unisoft.com>
12243 * sysdeps/generic/glob.c: Correct gl_pathc value returned
12244 when GLOB_DOOFFS is set; correct handling of patterns
12245 containing escaped wildcards (and no unescaped ones);
12246 GLOB_ERR flag was being ignored in some situations.
12248 * posix/globtest.c, posix/globtest.sh: Updated to include
12249 tests for the problems fixed by the above changes to glob.c.
12251 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
12253 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
12255 * Makeconfig (soversion.i): Use only first match for each lib.
12257 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
12259 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
12260 rather than $(sysd-dirs-done) to protect these rules.
12262 * Makerules (version-renames.def): Target removed.
12263 (Versions.all): Depend on soversions.i directly and parse it.
12265 * Makeconfig (soversions.i): New target, input-reading parts of
12266 soversions.mk generation moved here; result is a canonicalized
12267 list "LIB VERSION [SET]" for this configuration.
12268 (soversions.mk): Use that as input. Don't emit map-firstversions.
12269 * Makerules (version-renames.def): New target, generated from
12270 soversions.i with contents that was in $(map-firstversions).
12271 (Versions.all): Don't depend on soversions.mk, depend on
12272 version-renames.def instead; just cat it into the input.
12274 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
12275 for $(map-firstversions), which better handles it being empty.
12277 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
12278 supported version for libc 0.2.90.libio to GLIBC_2.2.
12280 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
12281 and use it to emit new variable `map-firstversions'.
12282 * scripts/firstversions.awk: New file.
12283 * Makerules (Versions.all): Use scripts/firstversions.awk and
12284 the $(map-firstversions) value to generate a modified versions list
12285 that includes renames in "A = B" syntax for each version set earlier
12286 than the "earliest symbol version" named in shlib-versions.
12287 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
12288 rename version set A to B in the output to the intermediate file.
12289 * scripts/abi-versions.awk: New file.
12290 * Makerules (abi-versions.h): New target, generated by that script.
12291 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
12292 * include/shlib-compat.h: New file, uses that generated header.
12294 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
12296 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
12297 after stripping # comments, and then run it through cpp.
12298 This allows things like "%ifdef FOO" based on config.h settings.
12299 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
12301 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
12302 and other errors that indicate a pseudo-receive happened, grok through
12303 the message buffer for port rights that need references fixed up.
12305 2000-03-16 Andreas Jaeger <aj@suse.de>
12307 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
12309 * sysdeps/unix/sysv/linux/madvise.c: Remove.
12311 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
12312 from latest Linux kernel.
12313 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
12315 * misc/sys/mman.h: Add prototype for mincore.
12317 2000-03-17 Ulrich Drepper <drepper@redhat.com>
12319 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
12320 entry for GLIBC_2.0 version of setrlimit.
12321 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
12323 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
12325 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
12326 * nis/nss_compat/compat-initgroups.c: Likewise.
12327 * nis/nss_nis/nis-initgroups.c: Likewise.
12328 * nis/nss_nis/nis-netgrp.c: Likewise.
12329 * nis/nss_nis/nis-proto.c: Likewise.
12330 * nis/nss_nis/nis-rpc.c: Likewise.
12331 * nis/nss_nis/nis-service.c: Likewise.
12332 * nis/ypclnt.c: Likewise.
12334 2000-03-16 Andreas Jaeger <aj@suse.de>
12336 * manual/Makefile: MAKEINFO is set to `:' from configure if it
12337 doesn't exist, correct checks. Fixes PR libc/1649.
12339 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
12341 * nscd/hstcache.c: Restore correct UID.
12342 * nscd/pwdcache.c: Likewise.
12343 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
12345 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
12347 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
12348 macros for register names, in line with 2000-03-14 linux change.
12350 * sysdeps/mach/sched_yield.c: New file.
12352 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
12354 * sysdeps/generic/lockfile.c: Include <stdio.h>
12355 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
12356 case <libio.h> defined them.
12357 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
12359 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
12360 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
12362 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
12363 for more pleasing parse error.
12365 2000-03-16 Ulrich Drepper <drepper@redhat.com>
12367 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
12369 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
12371 * elf/Makefile: Add rules to compile and run constload1 test.
12372 * elf/constload1.c: New file.
12373 * elf/constload2.c: New file.
12374 * elf/constload3.c: New file.
12376 2000-03-15 Ulrich Drepper <drepper@redhat.com>
12378 * sysdeps/posix/open64.c: Make __open64 weak alias.
12379 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
12380 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
12381 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
12382 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12383 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
12384 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
12385 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
12386 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
12387 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12388 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
12390 2000-03-14 Ulrich Drepper <drepper@redhat.com>
12392 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
12393 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
12395 2000-03-16 Mark Kettenis <kettenis@gnu.org>
12397 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
12398 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
12400 2000-03-08 Andreas Jaeger <aj@suse.de>
12402 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
12404 2000-03-14 Ulrich Drepper <drepper@redhat.com>
12406 * timezone/africa: Update from tzdata2000d.
12407 * timezone/asia: Likewise.
12408 * timezone/australasia: Likewise.
12409 * timezone/europe: Likewise.
12410 * timezone/northamerica: Likewise.
12411 * timezone/southamerica: Likewise.
12413 * po/fr.po: Update from translation team.
12414 * po/de.po: Likewise.
12416 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
12417 last parameter. Move code to add map to global scope from here...
12418 * elf/dl-open.c (dl_open_worker): ...here.
12419 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
12420 * elf/rtld.c: Adjust call to _dl_map_object_deps.
12422 * locale/programs/ld-collate.c (collate_read): Fix warning.
12424 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
12425 values and macros for register names.
12427 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
12428 returned by seek cookie function is -1.
12430 2000-03-14 Andreas Jaeger <aj@suse.de>
12432 * locale/localeconv.c (localeconv): Fix typo.
12433 Reported by Andre Charbonneau <andrec@corel.com>.
12435 2000-03-14 Ulrich Drepper <drepper@redhat.com>
12437 * iconv/skeleton.c: Increment __invocation_counter in inner loop
12438 since modules depend on it counting the number of times the conversion
12439 function got called.
12441 * iconv/gconv_open.c: Optimize loop to setup step data structure.
12443 * iconv/gconv.h: Pretty print.
12445 2000-03-04 Ulrich Drepper <drepper@redhat.com>
12447 * posix/wordexp-test.c: Correct one of the tests added in the last
12448 change. Really get the root passwd entry to check again ~root.
12450 2000-03-10 Andreas Jaeger <aj@suse.de>
12452 * manual/filesys.texi (Working Directory): Fix last patch.
12453 Patch by Martin Buchholz <martin@xemacs.org>.
12455 2000-03-10 Andreas Jaeger <aj@suse.de>
12457 * manual/creature.texi (Feature Test Macros): Fix language.
12459 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
12461 * mach/devstream.c (devstream_write, devstream_read): New functions.
12462 (input, output): Functions removed.
12463 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
12464 using only the vanilla fopencookie interface.
12466 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
12467 as macro for __io_functions.
12468 (funcsio): Use cookie_io_functions_t type name.
12469 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
12471 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
12473 (fopencookie): Use it.
12474 * libio/libio.h: Declare _IO_cookie_init.
12475 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
12478 * libio/libio.h (__io_seek_fn): Fix second argument type
12479 to be a pointer, in line with the manual and the old stdio.
12480 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
12482 * sysdeps/generic/bits/stdio-lock.h: New file.
12483 This is a stub with #error, but that's better than no file at all.
12485 2000-03-09 Martin Buchholz <martin@xemacs.org>
12487 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
12488 * manual/message.texi (Using gettextized software): Doc Fixes.
12489 * manual/message.texi (Message Translation): Doc Fixes.
12490 * manual/filesys.texi (File Size): Doc Fixes.
12491 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
12492 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
12493 * iconv/gconv_db.c (find_derivation): Doc Fixes.
12494 * manual/install.texi: Doc Fixes.
12495 * manual/search.texi (Hash Search Function): Doc Fixes.
12496 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
12497 * FAQ.in: Doc Fixes.
12498 * config.h.in: Doc Fixes.
12499 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
12500 Doc Fixes. `allows to' is not correct English.
12502 * elf/rtld.c: Doc fixes.
12503 * manual/creature.texi (Feature Test Macros): Doc fixes.
12504 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
12506 * manual/filesys.texi (Working Directory): Check for ERANGE to
12509 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
12511 * string/argz-stringify.c (__argz_stringify): Fix loop termination
12512 conditions so as not to clobber the final '\0' when there is only one
12513 element in the vector.
12515 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
12517 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
12518 broken by 2000-02-27 change.
12520 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
12522 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
12524 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
12525 argument type, for 2000-02-22 change in signal/signal.h declaration.
12527 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
12529 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
12530 to getdirentries64 (no __), since the Linux implementation
12531 has no __ name, and there is no declaration for the __ name.
12533 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
12535 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
12536 sed regexp so as not to break directory names including /../ within.
12538 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
12539 The sysdeps/generic file is right for BSD. This file was in fact the
12540 Hurd file, but the only difference was the WNOREAP flag that was never
12541 actually implemented or used anywhere.
12543 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
12544 since AC_PATH_PROG already does it for us.
12545 (PERL): Rewrite check added in 2000-02-29 change for syntactic
12546 correctness and sh portability. I replaced the broken check
12547 with a more sensible implementation of the apparently intended
12548 semantics, which might still be questionable. Using expr causes
12549 a non-numeric value for `perl -V:apiversion` to be accepted,
12550 refusing to use only a perl that reports a number less than 5;
12551 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
12552 * configure: Regenerated.
12554 2000-03-08 Andreas Jaeger <aj@suse.de>
12556 * manual/crypt.texi: Fix paths.
12558 2000-03-07 Andreas Jaeger <aj@suse.de>
12560 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
12562 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
12565 2000-03-06 Andreas Jaeger <aj@suse.de>
12567 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
12568 in __sgn1l, otherwise g++ fails to parse this.
12569 Reported by Sean Chen <sean.chen@turbolinux.com>.
12571 2000-03-03 Geoff Keating <geoffk@cygnus.com>
12573 * configure.in: Compute sizeof-long-double.
12574 * configure: Regenerated.
12575 * config.make.in: Make sizeof-long-double available to sub-makes.
12577 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
12579 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
12582 2000-03-03 Geoff Keating <geoffk@cygnus.com>
12584 * Makeconfig (rpath-dirs): Add crypt.
12585 (all-subdirs): Remove md5crypt.
12586 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
12587 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
12588 * sysdeps/generic/crypt-entry.c: Delete.
12589 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
12590 * sysdeps/generic/crypt.h: Delete.
12591 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
12592 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
12593 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
12594 * sysdeps/generic/des_impl.c: Delete.
12595 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
12596 * crypt/sysdeps: Delete.
12597 * crypt/crypt_util.c: Don't use `patchlevel.h'.
12598 * md5-crypt/Versions: Move to crypt/.
12599 * md5-crypt/md5-crypt.c: Move to crypt/.
12600 * md5-crypt/md5.c: Move to crypt/.
12601 * md5-crypt/md5c-test.c: Move to crypt/.
12602 * md5-crypt/md5test.c: Move to crypt/.
12603 * md5-crypt: Delete.
12604 * crypt/Makefile: Adjust for new structure.
12606 2000-03-03 Paul Eggert <eggert@twinsun.com>
12608 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
12609 define to 1 if not defined.
12611 2000-03-03 Andreas Jaeger <aj@suse.de>
12613 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
12615 2000-03-03 Andreas Jaeger <aj@suse.de>
12617 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
12619 (xdr_int64_t): Correctly handle lower half.
12620 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
12622 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
12624 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
12627 2000-03-02 Andreas Jaeger <aj@suse.de>
12629 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
12632 2000-03-02 Andreas Jaeger <aj@suse.de>
12634 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
12636 2000-03-01 Andreas Jaeger <aj@suse.de>
12638 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
12639 (tests): Added tst-getdate.
12641 * time/tst-getdate.c: New file.
12643 * time/datemsk: New file, needed for tst-getdate.
12645 2000-02-29 Cristian Gafton <gafton@redhat.com>
12647 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
12649 2000-02-17 H.J. Lu <hjl@gnu.org>
12651 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
12653 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
12655 (svcudp_recv): Set up message with the new "xp_pad" field for
12657 (svcudp_reply): Support IP_PKTINFO if available.
12659 2000-03-01 Andreas Jaeger <aj@suse.de>
12661 * time/getdate.c (check_mday): Fix check for february.
12662 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
12663 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
12665 2000-03-02 Andreas Jaeger <aj@suse.de>
12667 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
12668 g++ fails to parse this.
12669 Reported by Sean Chen <sean.chen@turbolinux.com>.
12671 2000-02-28 Ulrich Drepper <drepper@redhat.com>
12673 * io/creat.c: Moved to...
12674 * sysdeps/generic/creat.c: ...here.
12675 * io/creat64.c: Moved to...
12676 * sysdeps/generic/creat64.c: ...here.
12677 * io/lockf.c: Moved to...
12678 * sysdeps/generic/lockf.c: ...here.
12680 * crypt/crypt.texi: Moved to...
12681 * manual/crypt.texi: ...here.
12682 * crypt/examples/genpass.c: Moved to...
12683 * manual/examples/genpass.c: ...here.
12684 * crypt/examples/mygenpass.c: Moved to...
12685 * manual/examples/mygenpass.c: ...here.
12686 * crypt/examples/testpass.c: Moved to...
12687 * manual/examples/testpass.c: ...here.
12689 * manual/Makefile (chapters): Add crypt.
12690 * manual/conf.texi: Add usual header for not-last chapter.
12691 * manual/crypt.texi: Add special header for last chapter.
12693 2000-02-28 Geoff Keating <geoffk@cygnus.com>
12695 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
12696 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
12697 complain if there is no crypt add-on.
12698 * crypt/configure: Removed.
12700 * crypt/crypt.texi: Update documentation of US export restrictions
12701 to match the 14 Jan 2000 regulations.
12703 2000-02-28 Geoff Keating <geoffk@cygnus.com>
12705 * crypt: New subdirectory, merged in from the crypt add-on.
12707 2000-02-28 Ulrich Drepper <drepper@redhat.com>
12709 * include/unistd.h: Add __rmdir and __mkdir prototypes.
12712 See ChangeLog.10 for earlier changes.